@@ -29,21 +29,21 @@ export type ResourceProviderGetResult<T> = {
29
29
} ;
30
30
31
31
export type ResourceProviderUpsertResult = {
32
- /**
33
- * The id of the object that was created or updated.
34
- */
35
- objectId : string ;
36
-
37
- /**
38
- * A flag denoting whether the upserted resource already exists.
39
- */
40
- resourceExists : boolean ;
41
-
42
- /**
43
- * Gets or sets the resource resulting from the upsert operation.
44
- * Each resource provider will decide whether to return the resource in the upsert result or not.
45
- */
46
- resource ?: any ;
32
+ /**
33
+ * The id of the object that was created or updated.
34
+ */
35
+ objectId : string ;
36
+
37
+ /**
38
+ * A flag denoting whether the upserted resource already exists.
39
+ */
40
+ resourceExists : boolean ;
41
+
42
+ /**
43
+ * Gets or sets the resource resulting from the upsert operation.
44
+ * Each resource provider will decide whether to return the resource in the upsert result or not.
45
+ */
46
+ resource ?: any ;
47
47
} ;
48
48
49
49
export type ResourceProviderActionResult = {
@@ -115,7 +115,7 @@ export type Agent = ResourceBase & {
115
115
export type AgentAccessToken = ResourceBase & {
116
116
id : string ;
117
117
active : boolean ;
118
- }
118
+ } ;
119
119
120
120
export type Prompt = ResourceBase & {
121
121
object_id : string ;
@@ -567,49 +567,49 @@ export function convertToAppConfigKeyVault(baseConfig: AppConfigUnion): AppConfi
567
567
} ;
568
568
}
569
569
570
- export type APIEndpointConfiguration = ResourceBase & {
571
- type : string ;
572
- category : APIEndpointCategory ;
573
- subcategory ?: APIEndpointSubcategory ;
574
- authenticationType : AuthenticationTypes ;
575
- url : string ;
576
- statusUrl ?: string ;
577
- urlExceptions : UrlException [ ] ;
578
- authenticationParameters : { [ key : string ] : any } ;
579
- timeoutSeconds : number ;
580
- retryStrategyName : string ;
581
- provider ?: string ;
582
- apiVersion ?: string ;
583
- operationType ?: string ;
584
- }
585
-
586
- export type UrlException = {
587
- userPrincipalName : string ;
588
- url : string ;
589
- enabled : boolean ;
590
- }
591
-
592
570
export enum APIEndpointCategory {
593
- Orchestration ,
594
- ExternalOrchestration ,
595
- LLM ,
596
- Gatekeeper ,
597
- AzureAIDirect ,
598
- AzureOpenAIDirect ,
599
- FileStoreConnector ,
600
- General
571
+ Orchestration = ' Orchestration' ,
572
+ ExternalOrchestration = ' ExternalOrchestration' ,
573
+ LLM = ' LLM' ,
574
+ Gatekeeper = ' Gatekeeper' ,
575
+ AzureAIDirect = ' AzureAIDirect' ,
576
+ AzureOpenAIDirect = ' AzureOpenAIDirect' ,
577
+ FileStoreConnector = ' FileStoreConnector' ,
578
+ General = ' General' ,
601
579
}
602
580
603
581
export enum APIEndpointSubcategory {
604
- OneDriveWorkSchool ,
605
- Indexing ,
606
- AIModel
582
+ OneDriveWorkSchool = ' OneDriveWorkSchool' ,
583
+ Indexing = ' Indexing' ,
584
+ AIModel = ' AIModel' ,
607
585
}
608
586
609
587
export enum AuthenticationTypes {
610
- Unknown = - 1 ,
611
- AzureIdentity ,
612
- APIKey ,
613
- ConnectionString ,
614
- AccountKey
588
+ Unknown = - 1 ,
589
+ AzureIdentity = ' AzureIdentity' ,
590
+ APIKey = ' APIKey' ,
591
+ ConnectionString = ' ConnectionString' ,
592
+ AccountKey = ' AccountKey' ,
615
593
}
594
+
595
+ export type UrlException = {
596
+ userPrincipalName : string ;
597
+ url : string ;
598
+ enabled : boolean ;
599
+ } ;
600
+
601
+ export type APIEndpointConfiguration = ResourceBase & {
602
+ type : string ;
603
+ category : APIEndpointCategory ;
604
+ subcategory ?: APIEndpointSubcategory ;
605
+ authenticationType : AuthenticationTypes ;
606
+ url : string ;
607
+ statusUrl ?: string ;
608
+ urlExceptions : UrlException [ ] ;
609
+ authenticationParameters : { [ key : string ] : any } ;
610
+ timeoutSeconds : number ;
611
+ retryStrategyName : string ;
612
+ provider ?: string ;
613
+ apiVersion ?: string ;
614
+ operationType ?: string ;
615
+ } ;
0 commit comments