@epam/ai-dial-chat-api-client 1.3.0-dev.16 → 1.3.0-dev.161

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -29,12 +29,12 @@ export interface UpdateApplicationRequest {
29
29
  */
30
30
  export declare class ApplicationsApi extends runtime.BaseAPI {
31
31
  /**
32
- * Creates a new application for the authenticated session user by proxying DIAL Core. With createOnly, atomically rejects an existing name/version with 409. With preserveApplicationProperties, stores schema settings verbatim. Invalidates the applications list and deployments list caches on success.
32
+ * Creates a new application for the authenticated session user by proxying DIAL Core. With createOnly, never overwrites an existing application and creates at the next free path instead (409 when none is free). With preserveApplicationProperties, stores schema settings verbatim. Invalidates the applications list and deployments list caches on success.
33
33
  * Create a new application
34
34
  */
35
35
  createApplicationRaw(requestParameters: CreateApplicationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CreatedApplicationDto>>;
36
36
  /**
37
- * Creates a new application for the authenticated session user by proxying DIAL Core. With createOnly, atomically rejects an existing name/version with 409. With preserveApplicationProperties, stores schema settings verbatim. Invalidates the applications list and deployments list caches on success.
37
+ * Creates a new application for the authenticated session user by proxying DIAL Core. With createOnly, never overwrites an existing application and creates at the next free path instead (409 when none is free). With preserveApplicationProperties, stores schema settings verbatim. Invalidates the applications list and deployments list caches on success.
38
38
  * Create a new application
39
39
  */
40
40
  createApplication(requestParameters: CreateApplicationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreatedApplicationDto>;
@@ -20,7 +20,7 @@ const runtime = require("../runtime");
20
20
  */
21
21
  class ApplicationsApi extends runtime.BaseAPI {
22
22
  /**
23
- * Creates a new application for the authenticated session user by proxying DIAL Core. With createOnly, atomically rejects an existing name/version with 409. With preserveApplicationProperties, stores schema settings verbatim. Invalidates the applications list and deployments list caches on success.
23
+ * Creates a new application for the authenticated session user by proxying DIAL Core. With createOnly, never overwrites an existing application and creates at the next free path instead (409 when none is free). With preserveApplicationProperties, stores schema settings verbatim. Invalidates the applications list and deployments list caches on success.
24
24
  * Create a new application
25
25
  */
26
26
  async createApplicationRaw(requestParameters, initOverrides) {
@@ -48,7 +48,7 @@ class ApplicationsApi extends runtime.BaseAPI {
48
48
  return new runtime.JSONApiResponse(response);
49
49
  }
50
50
  /**
51
- * Creates a new application for the authenticated session user by proxying DIAL Core. With createOnly, atomically rejects an existing name/version with 409. With preserveApplicationProperties, stores schema settings verbatim. Invalidates the applications list and deployments list caches on success.
51
+ * Creates a new application for the authenticated session user by proxying DIAL Core. With createOnly, never overwrites an existing application and creates at the next free path instead (409 when none is free). With preserveApplicationProperties, stores schema settings verbatim. Invalidates the applications list and deployments list caches on success.
52
52
  * Create a new application
53
53
  */
54
54
  async createApplication(requestParameters, initOverrides) {
@@ -80,12 +80,12 @@ export interface WatchConversationRequest {
80
80
  */
81
81
  export declare class ConversationsApi extends runtime.BaseAPI {
82
82
  /**
83
- * Opens an SSE stream for the active generation on this conversation path: one `snapshot` event carrying the assistant message as assembled so far, then a `chunk` event for every subsequent delta, then exactly one terminal event (`done`/`error`/`stopped`). Used by the frontend to show progressive content when reopening a conversation mid-generation instead of only a typing indicator. Principal-scoped — only the principal that could stop the generation can attach to it.
83
+ * Opens an SSE stream for the active generation on this conversation path: one `snapshot` event carrying the assistant message as assembled so far and, when the generation runs on this instance outside DIAL Core background mode, its `generationId` — the id `completions/stop` accepts for this path, so a client that attached after a refresh can stop it — then a `chunk` event for every subsequent delta, then exactly one terminal event (`done`/`error`/`stopped`). Used by the frontend to show progressive content when reopening a conversation mid-generation instead of only a typing indicator. Principal-scoped — only the principal that could stop the generation can attach to it.
84
84
  * Attach to an active generation and replay it live
85
85
  */
86
86
  attachToGenerationRaw(requestParameters: AttachToGenerationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
87
87
  /**
88
- * Opens an SSE stream for the active generation on this conversation path: one `snapshot` event carrying the assistant message as assembled so far, then a `chunk` event for every subsequent delta, then exactly one terminal event (`done`/`error`/`stopped`). Used by the frontend to show progressive content when reopening a conversation mid-generation instead of only a typing indicator. Principal-scoped — only the principal that could stop the generation can attach to it.
88
+ * Opens an SSE stream for the active generation on this conversation path: one `snapshot` event carrying the assistant message as assembled so far and, when the generation runs on this instance outside DIAL Core background mode, its `generationId` — the id `completions/stop` accepts for this path, so a client that attached after a refresh can stop it — then a `chunk` event for every subsequent delta, then exactly one terminal event (`done`/`error`/`stopped`). Used by the frontend to show progressive content when reopening a conversation mid-generation instead of only a typing indicator. Principal-scoped — only the principal that could stop the generation can attach to it.
89
89
  * Attach to an active generation and replay it live
90
90
  */
91
91
  attachToGeneration(requestParameters: AttachToGenerationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
@@ -1 +1 @@
1
- {"version":3,"file":"ConversationsApi.d.ts","sourceRoot":"","sources":["../../../../src/generated/src/apis/ConversationsApi.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,OAAO,MAAM,YAAY,CAAC;AACtC,OAAO,KAAK,EACV,mBAAmB,EACnB,6BAA6B,EAC7B,2BAA2B,EAC3B,uBAAuB,EACvB,uBAAuB,EACvB,qBAAqB,EACrB,6BAA6B,EAC7B,0BAA0B,EAE1B,gCAAgC,EAChC,wBAAwB,EACxB,sBAAsB,EACtB,4BAA4B,EAC5B,yBAAyB,EACzB,6BAA6B,EAC7B,uBAAuB,EACvB,iBAAiB,EACjB,iBAAiB,EACjB,wBAAwB,EACxB,8BAA8B,EAC9B,wBAAwB,EACzB,MAAM,iBAAiB,CAAC;AAEzB,MAAM,WAAW,yBAAyB;IACxC,mBAAmB,EAAE,mBAAmB,CAAC;CAC1C;AAED,MAAM,WAAW,yBAAyB;IACxC,qBAAqB,EAAE,qBAAqB,CAAC;CAC9C;AAED,MAAM,WAAW,6BAA6B;IAC5C,6BAA6B,EAAE,6BAA6B,CAAC;CAC9D;AAED,MAAM,WAAW,yBAAyB;IACxC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C,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,IAAI,CAAC;CAGjB"}
1
+ {"version":3,"file":"ConversationsApi.d.ts","sourceRoot":"","sources":["../../../../src/generated/src/apis/ConversationsApi.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,OAAO,MAAM,YAAY,CAAC;AACtC,OAAO,KAAK,EACV,mBAAmB,EAEnB,6BAA6B,EAC7B,2BAA2B,EAC3B,uBAAuB,EAEvB,uBAAuB,EACvB,qBAAqB,EACrB,6BAA6B,EAC7B,0BAA0B,EAE1B,gCAAgC,EAChC,wBAAwB,EACxB,sBAAsB,EACtB,4BAA4B,EAC5B,yBAAyB,EACzB,6BAA6B,EAC7B,uBAAuB,EACvB,iBAAiB,EACjB,iBAAiB,EACjB,wBAAwB,EACxB,8BAA8B,EAC9B,wBAAwB,EACzB,MAAM,iBAAiB,CAAC;AAEzB,MAAM,WAAW,yBAAyB;IACxC,mBAAmB,EAAE,mBAAmB,CAAC;CAC1C;AAED,MAAM,WAAW,yBAAyB;IACxC,qBAAqB,EAAE,qBAAqB,CAAC;CAC9C;AAED,MAAM,WAAW,6BAA6B;IAC5C,6BAA6B,EAAE,6BAA6B,CAAC;CAC9D;AAED,MAAM,WAAW,yBAAyB;IACxC,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,0BAA0B;IACzC,0BAA0B,EAAE,0BAA0B,CAAC;CACxD;AAED,MAAM,WAAW,4BAA4B;IAC3C,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,gCAAgC;IAC/C,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,sBAAsB;IACrC,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,8BAA8B;IAC7C,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,MAAM,WAAW,oCAAoC;I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C,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;IA2CrC;;;OAGG;IACG,gBAAgB,CACpB,iBAAiB,EAAE,uBAAuB,EAC1C,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,IAAI,CAAC;IAIhB;;;OAGG;IACG,wBAAwB,CAC5B,iBAAiB,EAAE,4BAA4B,EAC/C,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,8BAA8B,CAAC,CAAC;IAoD/D;;;OAGG;IACG,qBAAqB,CACzB,iBAAiB,EAAE,4BAA4B,EAC/C,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,8BAA8B,CAAC;IAQ1C;;;OAGG;IACG,oBAAoB,CACxB,iBAAiB,EAAE,wBAAwB,EAC3C,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;IAuCrC;;;OAGG;IACG,iBAAiB,CACrB,iBAAiB,EAAE,wBAAwB,EAC3C,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,IAAI,CAAC;CAGjB"}
@@ -20,7 +20,7 @@ const runtime = require("../runtime");
20
20
  */
21
21
  class ConversationsApi extends runtime.BaseAPI {
22
22
  /**
23
- * Opens an SSE stream for the active generation on this conversation path: one `snapshot` event carrying the assistant message as assembled so far, then a `chunk` event for every subsequent delta, then exactly one terminal event (`done`/`error`/`stopped`). Used by the frontend to show progressive content when reopening a conversation mid-generation instead of only a typing indicator. Principal-scoped — only the principal that could stop the generation can attach to it.
23
+ * Opens an SSE stream for the active generation on this conversation path: one `snapshot` event carrying the assistant message as assembled so far and, when the generation runs on this instance outside DIAL Core background mode, its `generationId` — the id `completions/stop` accepts for this path, so a client that attached after a refresh can stop it — then a `chunk` event for every subsequent delta, then exactly one terminal event (`done`/`error`/`stopped`). Used by the frontend to show progressive content when reopening a conversation mid-generation instead of only a typing indicator. Principal-scoped — only the principal that could stop the generation can attach to it.
24
24
  * Attach to an active generation and replay it live
25
25
  */
26
26
  async attachToGenerationRaw(requestParameters, initOverrides) {
@@ -48,7 +48,7 @@ class ConversationsApi extends runtime.BaseAPI {
48
48
  return new runtime.VoidApiResponse(response);
49
49
  }
50
50
  /**
51
- * Opens an SSE stream for the active generation on this conversation path: one `snapshot` event carrying the assistant message as assembled so far, then a `chunk` event for every subsequent delta, then exactly one terminal event (`done`/`error`/`stopped`). Used by the frontend to show progressive content when reopening a conversation mid-generation instead of only a typing indicator. Principal-scoped — only the principal that could stop the generation can attach to it.
51
+ * Opens an SSE stream for the active generation on this conversation path: one `snapshot` event carrying the assistant message as assembled so far and, when the generation runs on this instance outside DIAL Core background mode, its `generationId` — the id `completions/stop` accepts for this path, so a client that attached after a refresh can stop it — then a `chunk` event for every subsequent delta, then exactly one terminal event (`done`/`error`/`stopped`). Used by the frontend to show progressive content when reopening a conversation mid-generation instead of only a typing indicator. Principal-scoped — only the principal that could stop the generation can attach to it.
52
52
  * Attach to an active generation and replay it live
53
53
  */
54
54
  async attachToGeneration(requestParameters, initOverrides) {
@@ -11,22 +11,67 @@
11
11
  */
12
12
  import * as runtime from '../runtime';
13
13
  import type { CustomApiResponseDto } from '../models/index';
14
+ export interface DeleteCustomApiOperationRequest {
15
+ id: string;
16
+ }
14
17
  export interface GetCustomApiOperationRequest {
15
18
  id: string;
16
19
  }
20
+ export interface PostCustomApiOperationRequest {
21
+ id: string;
22
+ requestBody?: {
23
+ [key: string]: unknown;
24
+ };
25
+ }
26
+ export interface PutCustomApiOperationRequest {
27
+ id: string;
28
+ requestBody?: {
29
+ [key: string]: unknown;
30
+ };
31
+ }
17
32
  /**
18
33
  *
19
34
  */
20
35
  export declare class CustomApiApi extends runtime.BaseAPI {
21
36
  /**
22
- * Dispatches an authenticated GET request to the exact Core path configured for this operation ID under CUSTOM_CORE_API_CONFIG, using the caller\'s own session access token. Accepts no query parameters and no request body. Core remains the authority for route role authorization and business rate limits; this endpoint adds no BFF business schema or field filtering, so the response is an opaque JSON value the calling application must validate for its own domain.
23
- * Call a deployment-configured custom Core API operation
37
+ * Dispatches an authenticated request to the exact Core path configured for this operation ID under CUSTOM_CORE_API_CONFIG, using the caller\'s own session access token and the operation\'s configured method; a different method returns 405. Core remains the authority for route role authorization and business rate limits; this endpoint adds no BFF business schema or field filtering, so the response is an opaque JSON value the calling application must validate for its own domain. Query parameters are accepted only by the names the operation allowlists (each at most once); they are not declared here because each deployment configures its own. A caller passing them builds the request URL itself on the generated client\'s Configuration.fetchApi — a documented generator gap.
38
+ * Call a deployment-configured custom Core API DELETE operation
39
+ */
40
+ deleteCustomApiOperationRaw(requestParameters: DeleteCustomApiOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CustomApiResponseDto>>;
41
+ /**
42
+ * Dispatches an authenticated request to the exact Core path configured for this operation ID under CUSTOM_CORE_API_CONFIG, using the caller\'s own session access token and the operation\'s configured method; a different method returns 405. Core remains the authority for route role authorization and business rate limits; this endpoint adds no BFF business schema or field filtering, so the response is an opaque JSON value the calling application must validate for its own domain. Query parameters are accepted only by the names the operation allowlists (each at most once); they are not declared here because each deployment configures its own. A caller passing them builds the request URL itself on the generated client\'s Configuration.fetchApi — a documented generator gap.
43
+ * Call a deployment-configured custom Core API DELETE operation
44
+ */
45
+ deleteCustomApiOperation(requestParameters: DeleteCustomApiOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CustomApiResponseDto>;
46
+ /**
47
+ * Dispatches an authenticated request to the exact Core path configured for this operation ID under CUSTOM_CORE_API_CONFIG, using the caller\'s own session access token and the operation\'s configured method; a different method returns 405. Core remains the authority for route role authorization and business rate limits; this endpoint adds no BFF business schema or field filtering, so the response is an opaque JSON value the calling application must validate for its own domain. Query parameters are accepted only by the names the operation allowlists (each at most once); they are not declared here because each deployment configures its own. A caller passing them builds the request URL itself on the generated client\'s Configuration.fetchApi — a documented generator gap.
48
+ * Call a deployment-configured custom Core API GET operation
24
49
  */
25
50
  getCustomApiOperationRaw(requestParameters: GetCustomApiOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CustomApiResponseDto>>;
26
51
  /**
27
- * Dispatches an authenticated GET request to the exact Core path configured for this operation ID under CUSTOM_CORE_API_CONFIG, using the caller\'s own session access token. Accepts no query parameters and no request body. Core remains the authority for route role authorization and business rate limits; this endpoint adds no BFF business schema or field filtering, so the response is an opaque JSON value the calling application must validate for its own domain.
28
- * Call a deployment-configured custom Core API operation
52
+ * Dispatches an authenticated request to the exact Core path configured for this operation ID under CUSTOM_CORE_API_CONFIG, using the caller\'s own session access token and the operation\'s configured method; a different method returns 405. Core remains the authority for route role authorization and business rate limits; this endpoint adds no BFF business schema or field filtering, so the response is an opaque JSON value the calling application must validate for its own domain. Query parameters are accepted only by the names the operation allowlists (each at most once); they are not declared here because each deployment configures its own. A caller passing them builds the request URL itself on the generated client\'s Configuration.fetchApi — a documented generator gap.
53
+ * Call a deployment-configured custom Core API GET operation
29
54
  */
30
55
  getCustomApiOperation(requestParameters: GetCustomApiOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CustomApiResponseDto>;
56
+ /**
57
+ * Dispatches an authenticated request to the exact Core path configured for this operation ID under CUSTOM_CORE_API_CONFIG, using the caller\'s own session access token and the operation\'s configured method; a different method returns 405. Core remains the authority for route role authorization and business rate limits; this endpoint adds no BFF business schema or field filtering, so the response is an opaque JSON value the calling application must validate for its own domain. Query parameters are accepted only by the names the operation allowlists (each at most once); they are not declared here because each deployment configures its own. A caller passing them builds the request URL itself on the generated client\'s Configuration.fetchApi — a documented generator gap.
58
+ * Call a deployment-configured custom Core API POST operation
59
+ */
60
+ postCustomApiOperationRaw(requestParameters: PostCustomApiOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CustomApiResponseDto>>;
61
+ /**
62
+ * Dispatches an authenticated request to the exact Core path configured for this operation ID under CUSTOM_CORE_API_CONFIG, using the caller\'s own session access token and the operation\'s configured method; a different method returns 405. Core remains the authority for route role authorization and business rate limits; this endpoint adds no BFF business schema or field filtering, so the response is an opaque JSON value the calling application must validate for its own domain. Query parameters are accepted only by the names the operation allowlists (each at most once); they are not declared here because each deployment configures its own. A caller passing them builds the request URL itself on the generated client\'s Configuration.fetchApi — a documented generator gap.
63
+ * Call a deployment-configured custom Core API POST operation
64
+ */
65
+ postCustomApiOperation(requestParameters: PostCustomApiOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CustomApiResponseDto>;
66
+ /**
67
+ * Dispatches an authenticated request to the exact Core path configured for this operation ID under CUSTOM_CORE_API_CONFIG, using the caller\'s own session access token and the operation\'s configured method; a different method returns 405. Core remains the authority for route role authorization and business rate limits; this endpoint adds no BFF business schema or field filtering, so the response is an opaque JSON value the calling application must validate for its own domain. Query parameters are accepted only by the names the operation allowlists (each at most once); they are not declared here because each deployment configures its own. A caller passing them builds the request URL itself on the generated client\'s Configuration.fetchApi — a documented generator gap.
68
+ * Call a deployment-configured custom Core API PUT operation
69
+ */
70
+ putCustomApiOperationRaw(requestParameters: PutCustomApiOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CustomApiResponseDto>>;
71
+ /**
72
+ * Dispatches an authenticated request to the exact Core path configured for this operation ID under CUSTOM_CORE_API_CONFIG, using the caller\'s own session access token and the operation\'s configured method; a different method returns 405. Core remains the authority for route role authorization and business rate limits; this endpoint adds no BFF business schema or field filtering, so the response is an opaque JSON value the calling application must validate for its own domain. Query parameters are accepted only by the names the operation allowlists (each at most once); they are not declared here because each deployment configures its own. A caller passing them builds the request URL itself on the generated client\'s Configuration.fetchApi — a documented generator gap.
73
+ * Call a deployment-configured custom Core API PUT operation
74
+ */
75
+ putCustomApiOperation(requestParameters: PutCustomApiOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CustomApiResponseDto>;
31
76
  }
32
77
  //# sourceMappingURL=CustomApiApi.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CustomApiApi.d.ts","sourceRoot":"","sources":["../../../../src/generated/src/apis/CustomApiApi.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,OAAO,MAAM,YAAY,CAAC;AACtC,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAE5D,MAAM,WAAW,4BAA4B;IAC3C,EAAE,EAAE,MAAM,CAAC;CACZ;AAED;;GAEG;AACH,qBAAa,YAAa,SAAQ,OAAO,CAAC,OAAO;IAC/C;;;OAGG;IACG,wBAAwB,CAC5B,iBAAiB,EAAE,4BAA4B,EAC/C,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,oBAAoB,CAAC,CAAC;IAwCrD;;;OAGG;IACG,qBAAqB,CACzB,iBAAiB,EAAE,4BAA4B,EAC/C,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,oBAAoB,CAAC;CAOjC"}
1
+ {"version":3,"file":"CustomApiApi.d.ts","sourceRoot":"","sources":["../../../../src/generated/src/apis/CustomApiApi.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,OAAO,MAAM,YAAY,CAAC;AACtC,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAE5D,MAAM,WAAW,+BAA+B;IAC9C,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,WAAW,4BAA4B;IAC3C,EAA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BAAsB,CAC1B,iBAAiB,EAAE,6BAA6B,EAChD,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,oBAAoB,CAAC;IAQhC;;;OAGG;IACG,wBAAwB,CAC5B,iBAAiB,EAAE,4BAA4B,EAC/C,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,oBAAoB,CAAC,CAAC;IA2CrD;;;OAGG;IACG,qBAAqB,CACzB,iBAAiB,EAAE,4BAA4B,EAC/C,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,oBAAoB,CAAC;CAOjC"}
@@ -20,8 +20,43 @@ const runtime = require("../runtime");
20
20
  */
21
21
  class CustomApiApi extends runtime.BaseAPI {
22
22
  /**
23
- * Dispatches an authenticated GET request to the exact Core path configured for this operation ID under CUSTOM_CORE_API_CONFIG, using the caller\'s own session access token. Accepts no query parameters and no request body. Core remains the authority for route role authorization and business rate limits; this endpoint adds no BFF business schema or field filtering, so the response is an opaque JSON value the calling application must validate for its own domain.
24
- * Call a deployment-configured custom Core API operation
23
+ * Dispatches an authenticated request to the exact Core path configured for this operation ID under CUSTOM_CORE_API_CONFIG, using the caller\'s own session access token and the operation\'s configured method; a different method returns 405. Core remains the authority for route role authorization and business rate limits; this endpoint adds no BFF business schema or field filtering, so the response is an opaque JSON value the calling application must validate for its own domain. Query parameters are accepted only by the names the operation allowlists (each at most once); they are not declared here because each deployment configures its own. A caller passing them builds the request URL itself on the generated client\'s Configuration.fetchApi — a documented generator gap.
24
+ * Call a deployment-configured custom Core API DELETE operation
25
+ */
26
+ async deleteCustomApiOperationRaw(requestParameters, initOverrides) {
27
+ if (requestParameters['id'] == null) {
28
+ throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling deleteCustomApiOperation().');
29
+ }
30
+ const queryParameters = {};
31
+ const headerParameters = {};
32
+ if (this.configuration && this.configuration.accessToken) {
33
+ const token = this.configuration.accessToken;
34
+ const tokenString = await token('bearer', []);
35
+ if (tokenString) {
36
+ headerParameters['Authorization'] = `Bearer ${tokenString}`;
37
+ }
38
+ }
39
+ let urlPath = `/api/v1/custom-api/{id}`;
40
+ urlPath = urlPath.replace(`{${'id'}}`, encodeURIComponent(String(requestParameters['id'])));
41
+ const response = await this.request({
42
+ path: urlPath,
43
+ method: 'DELETE',
44
+ headers: headerParameters,
45
+ query: queryParameters,
46
+ }, initOverrides);
47
+ return new runtime.JSONApiResponse(response);
48
+ }
49
+ /**
50
+ * Dispatches an authenticated request to the exact Core path configured for this operation ID under CUSTOM_CORE_API_CONFIG, using the caller\'s own session access token and the operation\'s configured method; a different method returns 405. Core remains the authority for route role authorization and business rate limits; this endpoint adds no BFF business schema or field filtering, so the response is an opaque JSON value the calling application must validate for its own domain. Query parameters are accepted only by the names the operation allowlists (each at most once); they are not declared here because each deployment configures its own. A caller passing them builds the request URL itself on the generated client\'s Configuration.fetchApi — a documented generator gap.
51
+ * Call a deployment-configured custom Core API DELETE operation
52
+ */
53
+ async deleteCustomApiOperation(requestParameters, initOverrides) {
54
+ const response = await this.deleteCustomApiOperationRaw(requestParameters, initOverrides);
55
+ return await response.value();
56
+ }
57
+ /**
58
+ * Dispatches an authenticated request to the exact Core path configured for this operation ID under CUSTOM_CORE_API_CONFIG, using the caller\'s own session access token and the operation\'s configured method; a different method returns 405. Core remains the authority for route role authorization and business rate limits; this endpoint adds no BFF business schema or field filtering, so the response is an opaque JSON value the calling application must validate for its own domain. Query parameters are accepted only by the names the operation allowlists (each at most once); they are not declared here because each deployment configures its own. A caller passing them builds the request URL itself on the generated client\'s Configuration.fetchApi — a documented generator gap.
59
+ * Call a deployment-configured custom Core API GET operation
25
60
  */
26
61
  async getCustomApiOperationRaw(requestParameters, initOverrides) {
27
62
  if (requestParameters['id'] == null) {
@@ -47,12 +82,86 @@ class CustomApiApi extends runtime.BaseAPI {
47
82
  return new runtime.JSONApiResponse(response);
48
83
  }
49
84
  /**
50
- * Dispatches an authenticated GET request to the exact Core path configured for this operation ID under CUSTOM_CORE_API_CONFIG, using the caller\'s own session access token. Accepts no query parameters and no request body. Core remains the authority for route role authorization and business rate limits; this endpoint adds no BFF business schema or field filtering, so the response is an opaque JSON value the calling application must validate for its own domain.
51
- * Call a deployment-configured custom Core API operation
85
+ * Dispatches an authenticated request to the exact Core path configured for this operation ID under CUSTOM_CORE_API_CONFIG, using the caller\'s own session access token and the operation\'s configured method; a different method returns 405. Core remains the authority for route role authorization and business rate limits; this endpoint adds no BFF business schema or field filtering, so the response is an opaque JSON value the calling application must validate for its own domain. Query parameters are accepted only by the names the operation allowlists (each at most once); they are not declared here because each deployment configures its own. A caller passing them builds the request URL itself on the generated client\'s Configuration.fetchApi — a documented generator gap.
86
+ * Call a deployment-configured custom Core API GET operation
52
87
  */
53
88
  async getCustomApiOperation(requestParameters, initOverrides) {
54
89
  const response = await this.getCustomApiOperationRaw(requestParameters, initOverrides);
55
90
  return await response.value();
56
91
  }
92
+ /**
93
+ * Dispatches an authenticated request to the exact Core path configured for this operation ID under CUSTOM_CORE_API_CONFIG, using the caller\'s own session access token and the operation\'s configured method; a different method returns 405. Core remains the authority for route role authorization and business rate limits; this endpoint adds no BFF business schema or field filtering, so the response is an opaque JSON value the calling application must validate for its own domain. Query parameters are accepted only by the names the operation allowlists (each at most once); they are not declared here because each deployment configures its own. A caller passing them builds the request URL itself on the generated client\'s Configuration.fetchApi — a documented generator gap.
94
+ * Call a deployment-configured custom Core API POST operation
95
+ */
96
+ async postCustomApiOperationRaw(requestParameters, initOverrides) {
97
+ if (requestParameters['id'] == null) {
98
+ throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling postCustomApiOperation().');
99
+ }
100
+ const queryParameters = {};
101
+ const headerParameters = {};
102
+ headerParameters['Content-Type'] = 'application/json';
103
+ if (this.configuration && this.configuration.accessToken) {
104
+ const token = this.configuration.accessToken;
105
+ const tokenString = await token('bearer', []);
106
+ if (tokenString) {
107
+ headerParameters['Authorization'] = `Bearer ${tokenString}`;
108
+ }
109
+ }
110
+ let urlPath = `/api/v1/custom-api/{id}`;
111
+ urlPath = urlPath.replace(`{${'id'}}`, encodeURIComponent(String(requestParameters['id'])));
112
+ const response = await this.request({
113
+ path: urlPath,
114
+ method: 'POST',
115
+ headers: headerParameters,
116
+ query: queryParameters,
117
+ body: requestParameters['requestBody'],
118
+ }, initOverrides);
119
+ return new runtime.JSONApiResponse(response);
120
+ }
121
+ /**
122
+ * Dispatches an authenticated request to the exact Core path configured for this operation ID under CUSTOM_CORE_API_CONFIG, using the caller\'s own session access token and the operation\'s configured method; a different method returns 405. Core remains the authority for route role authorization and business rate limits; this endpoint adds no BFF business schema or field filtering, so the response is an opaque JSON value the calling application must validate for its own domain. Query parameters are accepted only by the names the operation allowlists (each at most once); they are not declared here because each deployment configures its own. A caller passing them builds the request URL itself on the generated client\'s Configuration.fetchApi — a documented generator gap.
123
+ * Call a deployment-configured custom Core API POST operation
124
+ */
125
+ async postCustomApiOperation(requestParameters, initOverrides) {
126
+ const response = await this.postCustomApiOperationRaw(requestParameters, initOverrides);
127
+ return await response.value();
128
+ }
129
+ /**
130
+ * Dispatches an authenticated request to the exact Core path configured for this operation ID under CUSTOM_CORE_API_CONFIG, using the caller\'s own session access token and the operation\'s configured method; a different method returns 405. Core remains the authority for route role authorization and business rate limits; this endpoint adds no BFF business schema or field filtering, so the response is an opaque JSON value the calling application must validate for its own domain. Query parameters are accepted only by the names the operation allowlists (each at most once); they are not declared here because each deployment configures its own. A caller passing them builds the request URL itself on the generated client\'s Configuration.fetchApi — a documented generator gap.
131
+ * Call a deployment-configured custom Core API PUT operation
132
+ */
133
+ async putCustomApiOperationRaw(requestParameters, initOverrides) {
134
+ if (requestParameters['id'] == null) {
135
+ throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling putCustomApiOperation().');
136
+ }
137
+ const queryParameters = {};
138
+ const headerParameters = {};
139
+ headerParameters['Content-Type'] = 'application/json';
140
+ if (this.configuration && this.configuration.accessToken) {
141
+ const token = this.configuration.accessToken;
142
+ const tokenString = await token('bearer', []);
143
+ if (tokenString) {
144
+ headerParameters['Authorization'] = `Bearer ${tokenString}`;
145
+ }
146
+ }
147
+ let urlPath = `/api/v1/custom-api/{id}`;
148
+ urlPath = urlPath.replace(`{${'id'}}`, encodeURIComponent(String(requestParameters['id'])));
149
+ const response = await this.request({
150
+ path: urlPath,
151
+ method: 'PUT',
152
+ headers: headerParameters,
153
+ query: queryParameters,
154
+ body: requestParameters['requestBody'],
155
+ }, initOverrides);
156
+ return new runtime.JSONApiResponse(response);
157
+ }
158
+ /**
159
+ * Dispatches an authenticated request to the exact Core path configured for this operation ID under CUSTOM_CORE_API_CONFIG, using the caller\'s own session access token and the operation\'s configured method; a different method returns 405. Core remains the authority for route role authorization and business rate limits; this endpoint adds no BFF business schema or field filtering, so the response is an opaque JSON value the calling application must validate for its own domain. Query parameters are accepted only by the names the operation allowlists (each at most once); they are not declared here because each deployment configures its own. A caller passing them builds the request URL itself on the generated client\'s Configuration.fetchApi — a documented generator gap.
160
+ * Call a deployment-configured custom Core API PUT operation
161
+ */
162
+ async putCustomApiOperation(requestParameters, initOverrides) {
163
+ const response = await this.putCustomApiOperationRaw(requestParameters, initOverrides);
164
+ return await response.value();
165
+ }
57
166
  }
58
167
  exports.CustomApiApi = CustomApiApi;
@@ -20,6 +20,9 @@ export interface GetDeploymentDetailsRequest {
20
20
  export interface GetDeploymentLimitsRequest {
21
21
  deployment: string;
22
22
  }
23
+ export interface GetDeploymentUsageRequest {
24
+ deployment: string;
25
+ }
23
26
  export interface ListDeploymentsRequest {
24
27
  refresh?: boolean;
25
28
  interfaceType?: Array<ListDeploymentsInterfaceTypeEnum>;
@@ -58,6 +61,16 @@ export declare class DeploymentsApi extends runtime.BaseAPI {
58
61
  * Get deployment usage limits
59
62
  */
60
63
  getDeploymentLimits(requestParameters: GetDeploymentLimitsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DeploymentLimitsResponseDto>;
64
+ /**
65
+ * Returns a single deployment\'s own usage. Token and request stats are the same as on /limits, but cost stats are this deployment\'s own direct plus aggregated spend against DIAL Core\'s unlimited sentinel, not the caller\'s account-wide budget. Proxies GET /v1/deployments/{deployment_name}/usage using the caller\'s session access token. Not cached — every request hits DIAL Core for real-time usage data.
66
+ * Get deployment attributed usage
67
+ */
68
+ getDeploymentUsageRaw(requestParameters: GetDeploymentUsageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DeploymentLimitsResponseDto>>;
69
+ /**
70
+ * Returns a single deployment\'s own usage. Token and request stats are the same as on /limits, but cost stats are this deployment\'s own direct plus aggregated spend against DIAL Core\'s unlimited sentinel, not the caller\'s account-wide budget. Proxies GET /v1/deployments/{deployment_name}/usage using the caller\'s session access token. Not cached — every request hits DIAL Core for real-time usage data.
71
+ * Get deployment attributed usage
72
+ */
73
+ getDeploymentUsage(requestParameters: GetDeploymentUsageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DeploymentLimitsResponseDto>;
61
74
  /**
62
75
  * List deployments by interface type
63
76
  */
@@ -1 +1 @@
1
- {"version":3,"file":"DeploymentsApi.d.ts","sourceRoot":"","sources":["../../../../src/generated/src/apis/DeploymentsApi.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,OAAO,MAAM,YAAY,CAAC;AACtC,OAAO,KAAK,EACV,0BAA0B,EAC1B,oBAAoB,EACpB,2BAA2B,EAC3B,sBAAsB,EACvB,MAAM,iBAAiB,CAAC;AAEzB,MAAM,WAAW,iCAAiC;IAChD,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,2BAA2B;IAC1C,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,0BAA0B;IACzC,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,sBAAsB;IAC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CAAC,oBAAoB,GACzD,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,sBAAsB,CAAC,CAAC;IAqCvD;;OAEG;IACG,eAAe,CACnB,iBAAiB,GAAE,sBAA2B,EAC9C,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,sBAAsB,CAAC;CAOnC;AAED;;GAEG;AACH,eAAO,MAAM,gCAAgC;;;;;;CAMnC,CAAC;AACX,MAAM,MAAM,gCAAgC,GAC1C,CAAC,OAAO,gCAAgC,CAAC,CAAC,MAAM,OAAO,gCAAgC,CAAC,CAAC"}
1
+ {"version":3,"file":"DeploymentsApi.d.ts","sourceRoot":"","sources":["../../../../src/generated/src/apis/DeploymentsApi.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,OAAO,MAAM,YAAY,CAAC;AACtC,OAAO,KAAK,EACV,0BAA0B,EAC1B,oBAAoB,EACpB,2BAA2B,EAC3B,sBAAsB,EACvB,MAAM,iBAAiB,CAAC;AAEzB,MAAM,WAAW,iCAAiC;IAChD,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,2BAA2B;IAC1C,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,0BAA0B;IACzC,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,yBAAyB;IACxC,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,sBAAsB;IACrC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,aAAa,CAAC,EAAE,KAAK,CAAC,gCAAgC,CAAC,CAAC;CACzD;AAED;;GAEG;AACH,qBAAa,cAAe,SAAQ,OAAO,CAAC,OAAO;IACjD;;;OAGG;IACG,6BAA6B,CACjC,iBAAiB,EAAE,iCAAiC,EACpD,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC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AE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,sBAAsB,CAAC,CAAC;IAqCvD;;OAEG;IACG,eAAe,CACnB,iBAAiB,GAAE,sBAA2B,EAC9C,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,sBAAsB,CAAC;CAOnC;AAED;;GAEG;AACH,eAAO,MAAM,gCAAgC;;;;;;CAMnC,CAAC;AACX,MAAM,MAAM,gCAAgC,GAC1C,CAAC,OAAO,gCAAgC,CAAC,CAAC,MAAM,OAAO,gCAAgC,CAAC,CAAC"}
@@ -124,6 +124,41 @@ class DeploymentsApi extends runtime.BaseAPI {
124
124
  const response = await this.getDeploymentLimitsRaw(requestParameters, initOverrides);
125
125
  return await response.value();
126
126
  }
127
+ /**
128
+ * Returns a single deployment\'s own usage. Token and request stats are the same as on /limits, but cost stats are this deployment\'s own direct plus aggregated spend against DIAL Core\'s unlimited sentinel, not the caller\'s account-wide budget. Proxies GET /v1/deployments/{deployment_name}/usage using the caller\'s session access token. Not cached — every request hits DIAL Core for real-time usage data.
129
+ * Get deployment attributed usage
130
+ */
131
+ async getDeploymentUsageRaw(requestParameters, initOverrides) {
132
+ if (requestParameters['deployment'] == null) {
133
+ throw new runtime.RequiredError('deployment', 'Required parameter "deployment" was null or undefined when calling getDeploymentUsage().');
134
+ }
135
+ const queryParameters = {};
136
+ const headerParameters = {};
137
+ if (this.configuration && this.configuration.accessToken) {
138
+ const token = this.configuration.accessToken;
139
+ const tokenString = await token('bearer', []);
140
+ if (tokenString) {
141
+ headerParameters['Authorization'] = `Bearer ${tokenString}`;
142
+ }
143
+ }
144
+ let urlPath = `/api/v1/deployments/{deployment}/usage`;
145
+ urlPath = urlPath.replace(`{${'deployment'}}`, encodeURIComponent(String(requestParameters['deployment'])));
146
+ const response = await this.request({
147
+ path: urlPath,
148
+ method: 'GET',
149
+ headers: headerParameters,
150
+ query: queryParameters,
151
+ }, initOverrides);
152
+ return new runtime.JSONApiResponse(response);
153
+ }
154
+ /**
155
+ * Returns a single deployment\'s own usage. Token and request stats are the same as on /limits, but cost stats are this deployment\'s own direct plus aggregated spend against DIAL Core\'s unlimited sentinel, not the caller\'s account-wide budget. Proxies GET /v1/deployments/{deployment_name}/usage using the caller\'s session access token. Not cached — every request hits DIAL Core for real-time usage data.
156
+ * Get deployment attributed usage
157
+ */
158
+ async getDeploymentUsage(requestParameters, initOverrides) {
159
+ const response = await this.getDeploymentUsageRaw(requestParameters, initOverrides);
160
+ return await response.value();
161
+ }
127
162
  /**
128
163
  * List deployments by interface type
129
164
  */
@@ -10,7 +10,11 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import type { ApplicationExternalServiceDto, ExternalServiceAuthResultDto, ExternalServiceLogoutBodyDto, ExternalServiceSigninBodyDto, GetExternalServiceResponseDto } from '../models/index';
13
+ import type { ApplicationExternalServiceDto, ExternalServiceAuthResultDto, ExternalServiceDefinitionBodyDto, ExternalServiceLogoutBodyDto, ExternalServiceSigninBodyDto, GetExternalServiceResponseDto } from '../models/index';
14
+ export interface DeleteExternalServiceRequest {
15
+ appId: string;
16
+ serviceId: string;
17
+ }
14
18
  export interface GetExternalServiceRequest {
15
19
  appId: string;
16
20
  serviceId: string;
@@ -18,6 +22,11 @@ export interface GetExternalServiceRequest {
18
22
  export interface ListExternalServicesRequest {
19
23
  appId: string;
20
24
  }
25
+ export interface PutExternalServiceRequest {
26
+ appId: string;
27
+ serviceId: string;
28
+ externalServiceDefinitionBodyDto: ExternalServiceDefinitionBodyDto;
29
+ }
21
30
  export interface SignInExternalServiceRequest {
22
31
  appId: string;
23
32
  serviceId: string;
@@ -32,6 +41,16 @@ export interface SignOutExternalServiceRequest {
32
41
  *
33
42
  */
34
43
  export declare class ExternalServicesApi extends runtime.BaseAPI {
44
+ /**
45
+ * Removes one external service from an application the caller may edit, by proxying DIAL Core (DELETE /v1/applications/{appId}/external-services/{id}); Core purges its application-level credentials with it. Removing a service that is already gone succeeds.
46
+ * Remove an application external service
47
+ */
48
+ deleteExternalServiceRaw(requestParameters: DeleteExternalServiceRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
49
+ /**
50
+ * Removes one external service from an application the caller may edit, by proxying DIAL Core (DELETE /v1/applications/{appId}/external-services/{id}); Core purges its application-level credentials with it. Removing a service that is already gone succeeds.
51
+ * Remove an application external service
52
+ */
53
+ deleteExternalService(requestParameters: DeleteExternalServiceRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
35
54
  /**
36
55
  * Returns an application external service\'s display metadata and authentication type by proxying DIAL Core (GET /v1/applications/{appId}/external-services/{id}) using the caller\'s session access token.
37
56
  * Get application external-service metadata
@@ -52,6 +71,16 @@ export declare class ExternalServicesApi extends runtime.BaseAPI {
52
71
  * List application external-service authentication metadata
53
72
  */
54
73
  listExternalServices(requestParameters: ListExternalServicesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<ApplicationExternalServiceDto>>;
74
+ /**
75
+ * Declares or replaces one external service on an application the caller may edit, by proxying DIAL Core (PUT /v1/applications/{appId}/external-services/{id}). An API_KEY service carries only the header name — each person\'s key is signed in separately; an OAUTH service carries its client settings. The client secret is never logged or returned.
76
+ * Declare an application external service
77
+ */
78
+ putExternalServiceRaw(requestParameters: PutExternalServiceRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetExternalServiceResponseDto>>;
79
+ /**
80
+ * Declares or replaces one external service on an application the caller may edit, by proxying DIAL Core (PUT /v1/applications/{appId}/external-services/{id}). An API_KEY service carries only the header name — each person\'s key is signed in separately; an OAUTH service carries its client settings. The client secret is never logged or returned.
81
+ * Declare an application external service
82
+ */
83
+ putExternalService(requestParameters: PutExternalServiceRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetExternalServiceResponseDto>;
55
84
  /**
56
85
  * Submits API key or OAuth authorization-code credentials for an application external service by proxying DIAL Core (POST /v1/ops/external-service/signin). Credential payloads are never logged.
57
86
  * Submit external-service credentials
@@ -1 +1 @@
1
- {"version":3,"file":"ExternalServicesApi.d.ts","sourceRoot":"","sources":["../../../../src/generated/src/apis/ExternalServicesApi.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,OAAO,MAAM,YAAY,CAAC;AACtC,OAAO,KAAK,EACV,6BAA6B,EAC7B,4BAA4B,EAC5B,4BAA4B,EAC5B,4BAA4B,EAC5B,6BAA6B,EAC9B,MAAM,iBAAiB,CAAC;AAEzB,MAAM,WAAW,yBAAyB;IACxC,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,2BAA2B;IAC1C,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,4BAA4B;IAC3C,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,4BAA4B,EAAE,4BAA4B,CAAC;CAC5D;AAED,MAAM,WAAW,6BAA6B;IAC5C,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,4BAA4B,EAAE,4BAA4B,CAAC;CAC5D;AAED;;GAEG;AACH,qBAAa,mBAAoB,SAAQ,OAAO,CAAC,OAAO;IACtD;;;OAGG;IACG,qBAAqB,CACzB,iBAAiB,EAAE,yBAAyB,EAC5C,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,6BAA6B,CAAC,CAAC;IAmD9D;;;OAGG;IACG,kBAAkB,CACtB,iBAAiB,EAAE,yBAAyB,EAC5C,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,6BAA6B,CAAC;IAQzC;;;OAGG;IACG,uBAAuB,CAC3B,iBAAiB,E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AChD,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,4BAA4B,CAAC,CAAC;IA6D7D;;;OAGG;IACG,sBAAsB,CAC1B,iBAAiB,EAAE,6BAA6B,EAChD,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,4BAA4B,CAAC;CAOzC"}
@@ -19,6 +19,44 @@ const runtime = require("../runtime");
19
19
  *
20
20
  */
21
21
  class ExternalServicesApi extends runtime.BaseAPI {
22
+ /**
23
+ * Removes one external service from an application the caller may edit, by proxying DIAL Core (DELETE /v1/applications/{appId}/external-services/{id}); Core purges its application-level credentials with it. Removing a service that is already gone succeeds.
24
+ * Remove an application external service
25
+ */
26
+ async deleteExternalServiceRaw(requestParameters, initOverrides) {
27
+ if (requestParameters['appId'] == null) {
28
+ throw new runtime.RequiredError('appId', 'Required parameter "appId" was null or undefined when calling deleteExternalService().');
29
+ }
30
+ if (requestParameters['serviceId'] == null) {
31
+ throw new runtime.RequiredError('serviceId', 'Required parameter "serviceId" was null or undefined when calling deleteExternalService().');
32
+ }
33
+ const queryParameters = {};
34
+ const headerParameters = {};
35
+ if (this.configuration && this.configuration.accessToken) {
36
+ const token = this.configuration.accessToken;
37
+ const tokenString = await token('bearer', []);
38
+ if (tokenString) {
39
+ headerParameters['Authorization'] = `Bearer ${tokenString}`;
40
+ }
41
+ }
42
+ let urlPath = `/api/v1/external-services/{appId}/{serviceId}`;
43
+ urlPath = urlPath.replace(`{${'appId'}}`, encodeURIComponent(String(requestParameters['appId'])));
44
+ urlPath = urlPath.replace(`{${'serviceId'}}`, encodeURIComponent(String(requestParameters['serviceId'])));
45
+ const response = await this.request({
46
+ path: urlPath,
47
+ method: 'DELETE',
48
+ headers: headerParameters,
49
+ query: queryParameters,
50
+ }, initOverrides);
51
+ return new runtime.VoidApiResponse(response);
52
+ }
53
+ /**
54
+ * Removes one external service from an application the caller may edit, by proxying DIAL Core (DELETE /v1/applications/{appId}/external-services/{id}); Core purges its application-level credentials with it. Removing a service that is already gone succeeds.
55
+ * Remove an application external service
56
+ */
57
+ async deleteExternalService(requestParameters, initOverrides) {
58
+ await this.deleteExternalServiceRaw(requestParameters, initOverrides);
59
+ }
22
60
  /**
23
61
  * Returns an application external service\'s display metadata and authentication type by proxying DIAL Core (GET /v1/applications/{appId}/external-services/{id}) using the caller\'s session access token.
24
62
  * Get application external-service metadata
@@ -93,6 +131,50 @@ class ExternalServicesApi extends runtime.BaseAPI {
93
131
  const response = await this.listExternalServicesRaw(requestParameters, initOverrides);
94
132
  return await response.value();
95
133
  }
134
+ /**
135
+ * Declares or replaces one external service on an application the caller may edit, by proxying DIAL Core (PUT /v1/applications/{appId}/external-services/{id}). An API_KEY service carries only the header name — each person\'s key is signed in separately; an OAUTH service carries its client settings. The client secret is never logged or returned.
136
+ * Declare an application external service
137
+ */
138
+ async putExternalServiceRaw(requestParameters, initOverrides) {
139
+ if (requestParameters['appId'] == null) {
140
+ throw new runtime.RequiredError('appId', 'Required parameter "appId" was null or undefined when calling putExternalService().');
141
+ }
142
+ if (requestParameters['serviceId'] == null) {
143
+ throw new runtime.RequiredError('serviceId', 'Required parameter "serviceId" was null or undefined when calling putExternalService().');
144
+ }
145
+ if (requestParameters['externalServiceDefinitionBodyDto'] == null) {
146
+ throw new runtime.RequiredError('externalServiceDefinitionBodyDto', 'Required parameter "externalServiceDefinitionBodyDto" was null or undefined when calling putExternalService().');
147
+ }
148
+ const queryParameters = {};
149
+ const headerParameters = {};
150
+ headerParameters['Content-Type'] = 'application/json';
151
+ if (this.configuration && this.configuration.accessToken) {
152
+ const token = this.configuration.accessToken;
153
+ const tokenString = await token('bearer', []);
154
+ if (tokenString) {
155
+ headerParameters['Authorization'] = `Bearer ${tokenString}`;
156
+ }
157
+ }
158
+ let urlPath = `/api/v1/external-services/{appId}/{serviceId}`;
159
+ urlPath = urlPath.replace(`{${'appId'}}`, encodeURIComponent(String(requestParameters['appId'])));
160
+ urlPath = urlPath.replace(`{${'serviceId'}}`, encodeURIComponent(String(requestParameters['serviceId'])));
161
+ const response = await this.request({
162
+ path: urlPath,
163
+ method: 'PUT',
164
+ headers: headerParameters,
165
+ query: queryParameters,
166
+ body: requestParameters['externalServiceDefinitionBodyDto'],
167
+ }, initOverrides);
168
+ return new runtime.JSONApiResponse(response);
169
+ }
170
+ /**
171
+ * Declares or replaces one external service on an application the caller may edit, by proxying DIAL Core (PUT /v1/applications/{appId}/external-services/{id}). An API_KEY service carries only the header name — each person\'s key is signed in separately; an OAUTH service carries its client settings. The client secret is never logged or returned.
172
+ * Declare an application external service
173
+ */
174
+ async putExternalService(requestParameters, initOverrides) {
175
+ const response = await this.putExternalServiceRaw(requestParameters, initOverrides);
176
+ return await response.value();
177
+ }
96
178
  /**
97
179
  * Submits API key or OAuth authorization-code credentials for an application external service by proxying DIAL Core (POST /v1/ops/external-service/signin). Credential payloads are never logged.
98
180
  * Submit external-service credentials