@@ -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 = {
@@ -114,7 +114,7 @@ export type Agent = ResourceBase & {
114
114
export type AgentAccessToken = ResourceBase & {
115
115
id : string ;
116
116
active : boolean ;
117
- }
117
+ } ;
118
118
119
119
export type Prompt = ResourceBase & {
120
120
object_id : string ;
@@ -565,49 +565,49 @@ export function convertToAppConfigKeyVault(baseConfig: AppConfigUnion): AppConfi
565
565
} ;
566
566
}
567
567
568
- export type APIEndpointConfiguration = ResourceBase & {
569
- type : string ;
570
- category : APIEndpointCategory ;
571
- subcategory ?: APIEndpointSubcategory ;
572
- authenticationType : AuthenticationTypes ;
573
- url : string ;
574
- statusUrl ?: string ;
575
- urlExceptions : UrlException [ ] ;
576
- authenticationParameters : { [ key : string ] : any } ;
577
- timeoutSeconds : number ;
578
- retryStrategyName : string ;
579
- provider ?: string ;
580
- apiVersion ?: string ;
581
- operationType ?: string ;
582
- }
583
-
584
- export type UrlException = {
585
- userPrincipalName : string ;
586
- url : string ;
587
- enabled : boolean ;
588
- }
589
-
590
568
export enum APIEndpointCategory {
591
- Orchestration ,
592
- ExternalOrchestration ,
593
- LLM ,
594
- Gatekeeper ,
595
- AzureAIDirect ,
596
- AzureOpenAIDirect ,
597
- FileStoreConnector ,
598
- General
569
+ Orchestration = ' Orchestration' ,
570
+ ExternalOrchestration = ' ExternalOrchestration' ,
571
+ LLM = ' LLM' ,
572
+ Gatekeeper = ' Gatekeeper' ,
573
+ AzureAIDirect = ' AzureAIDirect' ,
574
+ AzureOpenAIDirect = ' AzureOpenAIDirect' ,
575
+ FileStoreConnector = ' FileStoreConnector' ,
576
+ General = ' General' ,
599
577
}
600
578
601
579
export enum APIEndpointSubcategory {
602
- OneDriveWorkSchool ,
603
- Indexing ,
604
- AIModel
580
+ OneDriveWorkSchool = ' OneDriveWorkSchool' ,
581
+ Indexing = ' Indexing' ,
582
+ AIModel = ' AIModel' ,
605
583
}
606
584
607
585
export enum AuthenticationTypes {
608
- Unknown = - 1 ,
609
- AzureIdentity ,
610
- APIKey ,
611
- ConnectionString ,
612
- AccountKey
586
+ Unknown = - 1 ,
587
+ AzureIdentity = ' AzureIdentity' ,
588
+ APIKey = ' APIKey' ,
589
+ ConnectionString = ' ConnectionString' ,
590
+ AccountKey = ' AccountKey' ,
613
591
}
592
+
593
+ export type UrlException = {
594
+ userPrincipalName : string ;
595
+ url : string ;
596
+ enabled : boolean ;
597
+ } ;
598
+
599
+ export type APIEndpointConfiguration = ResourceBase & {
600
+ type : string ;
601
+ category : APIEndpointCategory ;
602
+ subcategory ?: APIEndpointSubcategory ;
603
+ authenticationType : AuthenticationTypes ;
604
+ url : string ;
605
+ statusUrl ?: string ;
606
+ urlExceptions : UrlException [ ] ;
607
+ authenticationParameters : { [ key : string ] : any } ;
608
+ timeoutSeconds : number ;
609
+ retryStrategyName : string ;
610
+ provider ?: string ;
611
+ apiVersion ?: string ;
612
+ operationType ?: string ;
613
+ } ;
0 commit comments