@integrahub/vergefy-client 0.16.0 → 0.18.0

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.
Files changed (50) hide show
  1. package/README.md +2 -2
  2. package/dist/apis/APPPFMFormResponsesApi.d.ts +42 -0
  3. package/dist/apis/APPPFMFormResponsesApi.js +105 -0
  4. package/dist/apis/APPPFMIFormInstanceApi.d.ts +8 -8
  5. package/dist/apis/APPPFMIFormInstanceApi.js +8 -8
  6. package/dist/apis/PLATFORMLTNATenantManagementAccountApi.d.ts +22 -0
  7. package/dist/apis/PLATFORMLTNATenantManagementAccountApi.js +66 -0
  8. package/dist/apis/PLATFORMMCPOAuthQueryApi.d.ts +40 -0
  9. package/dist/apis/PLATFORMMCPOAuthQueryApi.js +96 -0
  10. package/dist/apis/PLATFORMPTCPlatformTenantConfigurationApi.d.ts +42 -0
  11. package/dist/apis/PLATFORMPTCPlatformTenantConfigurationApi.js +123 -0
  12. package/dist/apis/index.d.ts +1 -0
  13. package/dist/apis/index.js +1 -0
  14. package/dist/esm/apis/APPPFMFormResponsesApi.js +101 -0
  15. package/dist/esm/apis/APPPFMIFormInstanceApi.js +8 -8
  16. package/dist/esm/apis/PLATFORMLTNATenantManagementAccountApi.js +66 -0
  17. package/dist/esm/apis/PLATFORMMCPOAuthQueryApi.js +96 -0
  18. package/dist/esm/apis/PLATFORMPTCPlatformTenantConfigurationApi.js +123 -0
  19. package/dist/esm/apis/index.js +1 -0
  20. package/dist/esm/ext/telemetry.js +1 -1
  21. package/dist/esm/models/DataResponseDTOListTenantConfigurationSchemaDTO.js +42 -0
  22. package/dist/esm/models/EmailAddressAliasDTO.js +82 -0
  23. package/dist/esm/models/EmailAddressDTO.js +3 -0
  24. package/dist/esm/models/EmailConfigurationDTO.js +3 -0
  25. package/dist/esm/models/EmailConfigurationSignatureSnippetDTO.js +80 -0
  26. package/dist/esm/models/EntitledAppDTO.js +2 -0
  27. package/dist/esm/models/InvoiceSearchApiDTO.js +2 -0
  28. package/dist/esm/models/TenantConfigurationSchemaDTO.js +110 -0
  29. package/dist/esm/models/index.js +4 -0
  30. package/dist/ext/telemetry.d.ts +1 -1
  31. package/dist/ext/telemetry.js +1 -1
  32. package/dist/models/DataResponseDTOListTenantConfigurationSchemaDTO.d.ts +33 -0
  33. package/dist/models/DataResponseDTOListTenantConfigurationSchemaDTO.js +49 -0
  34. package/dist/models/EmailAddressAliasDTO.d.ts +134 -0
  35. package/dist/models/EmailAddressAliasDTO.js +90 -0
  36. package/dist/models/EmailAddressDTO.d.ts +7 -0
  37. package/dist/models/EmailAddressDTO.js +3 -0
  38. package/dist/models/EmailConfigurationDTO.d.ts +7 -0
  39. package/dist/models/EmailConfigurationDTO.js +3 -0
  40. package/dist/models/EmailConfigurationSignatureSnippetDTO.d.ts +128 -0
  41. package/dist/models/EmailConfigurationSignatureSnippetDTO.js +88 -0
  42. package/dist/models/EntitledAppDTO.d.ts +6 -0
  43. package/dist/models/EntitledAppDTO.js +2 -0
  44. package/dist/models/InvoiceSearchApiDTO.d.ts +6 -0
  45. package/dist/models/InvoiceSearchApiDTO.js +2 -0
  46. package/dist/models/TenantConfigurationSchemaDTO.d.ts +218 -0
  47. package/dist/models/TenantConfigurationSchemaDTO.js +118 -0
  48. package/dist/models/index.d.ts +4 -0
  49. package/dist/models/index.js +4 -0
  50. package/package.json +1 -1
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @integrahub/vergefy-client@0.16.0
1
+ # @integrahub/vergefy-client@0.18.0
2
2
 
3
3
  A TypeScript SDK client for the your-vergefy-host.invalid API.
4
4
 
@@ -90,7 +90,7 @@ and is automatically generated by the
90
90
  [OpenAPI Generator](https://openapi-generator.tech) project:
91
91
 
92
92
  - API version: `2026-05-30`
93
- - Package version: `0.16.0`
93
+ - Package version: `0.18.0`
94
94
  - Generator version: `7.22.0`
95
95
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
96
96
 
@@ -0,0 +1,42 @@
1
+ /**
2
+ * Vergefy API
3
+ * <h1>AI Agent Management</h1><p>Create, configure, and orchestrate AI agents with multi-provider support.</p><h2>Modules</h2><ul><li><b>Agent (IAG):</b> Agent creation, configuration, lifecycle, insight and analytics (IAG001-057, IAG500-505, IAG700-701)</li><li><b>Template (IAT):</b> Agent template management — /ai/agents-templates</li><li><b>Template Advanced (IATEMP):</b> Versions, analytics, recommendations, diffs — /ai/agents-templates (IATEMP001-008)</li><li><b>Agent Upgrade (IAGENT):</b> Upgrade, rollback, version management — /ai/agents/{id}/upgrade|rollback (IAGENT001-005)</li><li><b>Hierarchy (IAH):</b> Supervisor-worker relationships, delegation — /ai/agents/hierarchies</li><li><b>Goal (IAGG):</b> Autonomous goals, success criteria — /ai/agents/goals</li><li><b>Pool (IAGP):</b> Agent pool management, allocation, coordination (queries IAGP001-023, commands IAGP101-109) — /ai/agents/pools</li><li><b>Execution (IAGE):</b> Execution tracking, history — /ai/agents/executions</li><li><b>Health (IAGH):</b> Health checks, recovery — /ai/agents/health</li><li><b>Communication (IAGC):</b> Channels (IAGC001-019) and inter-agent messages (IAGC020-052) — /ai/agents/channels, /ai/agents/messages</li><li><b>Handoff (IAGD):</b> Agent handoff and transfer — /ai/agents/handoffs</li><li><b>Orchestration (IAGO):</b> Orchestration sessions — /ai/agents/orchestration/sessions</li><li><b>Workflow (IAGW):</b> Workflow assignment and execution — /ai/agents-workflows</li><li><b>Capability (IACAP):</b> Capability definitions, permissions (queries IACAP001-011, commands IACAP101-105) — /ai/capabilities</li><li><b>Capability Mapping (IACF):</b> Capability to feature mapping — /ai/agents/capability-feature-mappings</li></ul><p><b>Providers:</b> OpenAI GPT-4, Anthropic Claude, Google Gemini</p>
4
+ *
5
+ * The version of the OpenAPI document: 2026-05-30
6
+ * Contact: support@integrahub.co
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import * as runtime from '../runtime';
13
+ import { type PageFormInstanceDTO } from '../models/PageFormInstanceDTO';
14
+ export interface PFM116Request {
15
+ formExternalId: string;
16
+ xAppAccountId: string;
17
+ page?: number;
18
+ size?: number;
19
+ sort?: Array<string>;
20
+ acceptLanguage?: string;
21
+ vergefyVersion?: string;
22
+ acceptTimezone?: string;
23
+ }
24
+ /**
25
+ *
26
+ */
27
+ export declare class APPPFMFormResponsesApi extends runtime.BaseAPI {
28
+ /**
29
+ * Creates request options for pFM116 without sending the request
30
+ */
31
+ pFM116RequestOpts(requestParameters: PFM116Request): Promise<runtime.RequestOpts>;
32
+ /**
33
+ * Lists the form instances (responses) submitted to one form, newest-first by default. Forward-only: responses submitted before form-identity stamping shipped carry no form reference and are not returned — the schema records no way to recover which form they belonged to.
34
+ * PFM116 - Search Form Responses
35
+ */
36
+ pFM116Raw(requestParameters: PFM116Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PageFormInstanceDTO>>;
37
+ /**
38
+ * Lists the form instances (responses) submitted to one form, newest-first by default. Forward-only: responses submitted before form-identity stamping shipped carry no form reference and are not returned — the schema records no way to recover which form they belonged to.
39
+ * PFM116 - Search Form Responses
40
+ */
41
+ pFM116(requestParameters: PFM116Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PageFormInstanceDTO>;
42
+ }
@@ -0,0 +1,105 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Vergefy API
6
+ * <h1>AI Agent Management</h1><p>Create, configure, and orchestrate AI agents with multi-provider support.</p><h2>Modules</h2><ul><li><b>Agent (IAG):</b> Agent creation, configuration, lifecycle, insight and analytics (IAG001-057, IAG500-505, IAG700-701)</li><li><b>Template (IAT):</b> Agent template management — /ai/agents-templates</li><li><b>Template Advanced (IATEMP):</b> Versions, analytics, recommendations, diffs — /ai/agents-templates (IATEMP001-008)</li><li><b>Agent Upgrade (IAGENT):</b> Upgrade, rollback, version management — /ai/agents/{id}/upgrade|rollback (IAGENT001-005)</li><li><b>Hierarchy (IAH):</b> Supervisor-worker relationships, delegation — /ai/agents/hierarchies</li><li><b>Goal (IAGG):</b> Autonomous goals, success criteria — /ai/agents/goals</li><li><b>Pool (IAGP):</b> Agent pool management, allocation, coordination (queries IAGP001-023, commands IAGP101-109) — /ai/agents/pools</li><li><b>Execution (IAGE):</b> Execution tracking, history — /ai/agents/executions</li><li><b>Health (IAGH):</b> Health checks, recovery — /ai/agents/health</li><li><b>Communication (IAGC):</b> Channels (IAGC001-019) and inter-agent messages (IAGC020-052) — /ai/agents/channels, /ai/agents/messages</li><li><b>Handoff (IAGD):</b> Agent handoff and transfer — /ai/agents/handoffs</li><li><b>Orchestration (IAGO):</b> Orchestration sessions — /ai/agents/orchestration/sessions</li><li><b>Workflow (IAGW):</b> Workflow assignment and execution — /ai/agents-workflows</li><li><b>Capability (IACAP):</b> Capability definitions, permissions (queries IACAP001-011, commands IACAP101-105) — /ai/capabilities</li><li><b>Capability Mapping (IACF):</b> Capability to feature mapping — /ai/agents/capability-feature-mappings</li></ul><p><b>Providers:</b> OpenAI GPT-4, Anthropic Claude, Google Gemini</p>
7
+ *
8
+ * The version of the OpenAPI document: 2026-05-30
9
+ * Contact: support@integrahub.co
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
16
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
17
+ return new (P || (P = Promise))(function (resolve, reject) {
18
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
19
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
20
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
21
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
22
+ });
23
+ };
24
+ Object.defineProperty(exports, "__esModule", { value: true });
25
+ exports.APPPFMFormResponsesApi = void 0;
26
+ const runtime = require("../runtime");
27
+ const PageFormInstanceDTO_1 = require("../models/PageFormInstanceDTO");
28
+ /**
29
+ *
30
+ */
31
+ class APPPFMFormResponsesApi extends runtime.BaseAPI {
32
+ /**
33
+ * Creates request options for pFM116 without sending the request
34
+ */
35
+ pFM116RequestOpts(requestParameters) {
36
+ return __awaiter(this, void 0, void 0, function* () {
37
+ if (requestParameters['formExternalId'] == null) {
38
+ throw new runtime.RequiredError('formExternalId', 'Required parameter "formExternalId" was null or undefined when calling pFM116().');
39
+ }
40
+ if (requestParameters['xAppAccountId'] == null) {
41
+ throw new runtime.RequiredError('xAppAccountId', 'Required parameter "xAppAccountId" was null or undefined when calling pFM116().');
42
+ }
43
+ const queryParameters = {};
44
+ if (requestParameters['page'] != null) {
45
+ queryParameters['page'] = requestParameters['page'];
46
+ }
47
+ if (requestParameters['size'] != null) {
48
+ queryParameters['size'] = requestParameters['size'];
49
+ }
50
+ if (requestParameters['sort'] != null) {
51
+ queryParameters['sort'] = requestParameters['sort'];
52
+ }
53
+ const headerParameters = {};
54
+ if (requestParameters['acceptLanguage'] != null) {
55
+ headerParameters['Accept-Language'] = String(requestParameters['acceptLanguage']);
56
+ }
57
+ if (requestParameters['xAppAccountId'] != null) {
58
+ headerParameters['X-App-Account-Id'] = String(requestParameters['xAppAccountId']);
59
+ }
60
+ if (requestParameters['vergefyVersion'] != null) {
61
+ headerParameters['Vergefy-Version'] = String(requestParameters['vergefyVersion']);
62
+ }
63
+ if (requestParameters['acceptTimezone'] != null) {
64
+ headerParameters['Accept-Timezone'] = String(requestParameters['acceptTimezone']);
65
+ }
66
+ if (this.configuration && this.configuration.accessToken) {
67
+ const token = this.configuration.accessToken;
68
+ const tokenString = yield token("BearerAuth", []);
69
+ if (tokenString) {
70
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
71
+ }
72
+ }
73
+ let urlPath = `/app/forms/{formExternalId}/instances`;
74
+ urlPath = urlPath.replace('{formExternalId}', encodeURIComponent(String(requestParameters['formExternalId'])));
75
+ return {
76
+ path: urlPath,
77
+ method: 'GET',
78
+ headers: headerParameters,
79
+ query: queryParameters,
80
+ };
81
+ });
82
+ }
83
+ /**
84
+ * Lists the form instances (responses) submitted to one form, newest-first by default. Forward-only: responses submitted before form-identity stamping shipped carry no form reference and are not returned — the schema records no way to recover which form they belonged to.
85
+ * PFM116 - Search Form Responses
86
+ */
87
+ pFM116Raw(requestParameters, initOverrides) {
88
+ return __awaiter(this, void 0, void 0, function* () {
89
+ const requestOptions = yield this.pFM116RequestOpts(requestParameters);
90
+ const response = yield this.request(requestOptions, initOverrides);
91
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, PageFormInstanceDTO_1.PageFormInstanceDTOFromJSON)(jsonValue));
92
+ });
93
+ }
94
+ /**
95
+ * Lists the form instances (responses) submitted to one form, newest-first by default. Forward-only: responses submitted before form-identity stamping shipped carry no form reference and are not returned — the schema records no way to recover which form they belonged to.
96
+ * PFM116 - Search Form Responses
97
+ */
98
+ pFM116(requestParameters, initOverrides) {
99
+ return __awaiter(this, void 0, void 0, function* () {
100
+ const response = yield this.pFM116Raw(requestParameters, initOverrides);
101
+ return yield response.value();
102
+ });
103
+ }
104
+ }
105
+ exports.APPPFMFormResponsesApi = APPPFMFormResponsesApi;
@@ -103,13 +103,13 @@ export declare class APPPFMIFormInstanceApi extends runtime.BaseAPI {
103
103
  */
104
104
  pFM024RequestOpts(requestParameters: PFM024Request): Promise<runtime.RequestOpts>;
105
105
  /**
106
- * Retrieves a form instance by its Id
107
- * PFM024 - Get Form Instance By Id
106
+ * Searches form instances for the tenant, paginated
107
+ * PFM024 - Search Form Instances
108
108
  */
109
109
  pFM024Raw(requestParameters: PFM024Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PageFormInstanceDTO>>;
110
110
  /**
111
- * Retrieves a form instance by its Id
112
- * PFM024 - Get Form Instance By Id
111
+ * Searches form instances for the tenant, paginated
112
+ * PFM024 - Search Form Instances
113
113
  */
114
114
  pFM024(requestParameters: PFM024Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PageFormInstanceDTO>;
115
115
  /**
@@ -117,13 +117,13 @@ export declare class APPPFMIFormInstanceApi extends runtime.BaseAPI {
117
117
  */
118
118
  pFM025RequestOpts(requestParameters: PFM025Request): Promise<runtime.RequestOpts>;
119
119
  /**
120
- * Searches form instances with filters
121
- * PFM025 - Search Form Instances
120
+ * Retrieves one form instance by its Id
121
+ * PFM025 - Get Form Instance By Id
122
122
  */
123
123
  pFM025Raw(requestParameters: PFM025Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DataResponseDTOFormInstanceDTO>>;
124
124
  /**
125
- * Searches form instances with filters
126
- * PFM025 - Search Form Instances
125
+ * Retrieves one form instance by its Id
126
+ * PFM025 - Get Form Instance By Id
127
127
  */
128
128
  pFM025(requestParameters: PFM025Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DataResponseDTOFormInstanceDTO>;
129
129
  }
@@ -273,8 +273,8 @@ class APPPFMIFormInstanceApi extends runtime.BaseAPI {
273
273
  });
274
274
  }
275
275
  /**
276
- * Retrieves a form instance by its Id
277
- * PFM024 - Get Form Instance By Id
276
+ * Searches form instances for the tenant, paginated
277
+ * PFM024 - Search Form Instances
278
278
  */
279
279
  pFM024Raw(requestParameters, initOverrides) {
280
280
  return __awaiter(this, void 0, void 0, function* () {
@@ -284,8 +284,8 @@ class APPPFMIFormInstanceApi extends runtime.BaseAPI {
284
284
  });
285
285
  }
286
286
  /**
287
- * Retrieves a form instance by its Id
288
- * PFM024 - Get Form Instance By Id
287
+ * Searches form instances for the tenant, paginated
288
+ * PFM024 - Search Form Instances
289
289
  */
290
290
  pFM024(requestParameters, initOverrides) {
291
291
  return __awaiter(this, void 0, void 0, function* () {
@@ -336,8 +336,8 @@ class APPPFMIFormInstanceApi extends runtime.BaseAPI {
336
336
  });
337
337
  }
338
338
  /**
339
- * Searches form instances with filters
340
- * PFM025 - Search Form Instances
339
+ * Retrieves one form instance by its Id
340
+ * PFM025 - Get Form Instance By Id
341
341
  */
342
342
  pFM025Raw(requestParameters, initOverrides) {
343
343
  return __awaiter(this, void 0, void 0, function* () {
@@ -347,8 +347,8 @@ class APPPFMIFormInstanceApi extends runtime.BaseAPI {
347
347
  });
348
348
  }
349
349
  /**
350
- * Searches form instances with filters
351
- * PFM025 - Search Form Instances
350
+ * Retrieves one form instance by its Id
351
+ * PFM025 - Get Form Instance By Id
352
352
  */
353
353
  pFM025(requestParameters, initOverrides) {
354
354
  return __awaiter(this, void 0, void 0, function* () {
@@ -72,6 +72,14 @@ export interface LTN034Request {
72
72
  vergefyVersion?: string;
73
73
  acceptTimezone?: string;
74
74
  }
75
+ export interface LTN066Request {
76
+ accountId: string;
77
+ xAppAccountId: string;
78
+ includes?: Array<string>;
79
+ acceptLanguage?: string;
80
+ vergefyVersion?: string;
81
+ acceptTimezone?: string;
82
+ }
75
83
  export interface LTN110Request {
76
84
  accountId: string;
77
85
  xAppAccountId: string;
@@ -193,6 +201,20 @@ export declare class PLATFORMLTNATenantManagementAccountApi extends runtime.Base
193
201
  * LTN034 - Update Account Photo
194
202
  */
195
203
  lTN034(requestParameters: LTN034Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
204
+ /**
205
+ * Creates request options for lTN066 without sending the request
206
+ */
207
+ lTN066RequestOpts(requestParameters: LTN066Request): Promise<runtime.RequestOpts>;
208
+ /**
209
+ * Reads one account in the CALLER\'S OWN tenant. Takes no tenantId parameter, so it cannot address another tenant at all — LTN024 is the cross-tenant admin search.
210
+ * LTN066 - Get Account By Id
211
+ */
212
+ lTN066Raw(requestParameters: LTN066Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DataResponseDTOAccountDTO>>;
213
+ /**
214
+ * Reads one account in the CALLER\'S OWN tenant. Takes no tenantId parameter, so it cannot address another tenant at all — LTN024 is the cross-tenant admin search.
215
+ * LTN066 - Get Account By Id
216
+ */
217
+ lTN066(requestParameters: LTN066Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DataResponseDTOAccountDTO>;
196
218
  /**
197
219
  * Creates request options for lTN110 without sending the request
198
220
  */
@@ -497,6 +497,72 @@ class PLATFORMLTNATenantManagementAccountApi extends runtime.BaseAPI {
497
497
  yield this.lTN034Raw(requestParameters, initOverrides);
498
498
  });
499
499
  }
500
+ /**
501
+ * Creates request options for lTN066 without sending the request
502
+ */
503
+ lTN066RequestOpts(requestParameters) {
504
+ return __awaiter(this, void 0, void 0, function* () {
505
+ if (requestParameters['accountId'] == null) {
506
+ throw new runtime.RequiredError('accountId', 'Required parameter "accountId" was null or undefined when calling lTN066().');
507
+ }
508
+ if (requestParameters['xAppAccountId'] == null) {
509
+ throw new runtime.RequiredError('xAppAccountId', 'Required parameter "xAppAccountId" was null or undefined when calling lTN066().');
510
+ }
511
+ const queryParameters = {};
512
+ if (requestParameters['includes'] != null) {
513
+ queryParameters['includes'] = requestParameters['includes'];
514
+ }
515
+ const headerParameters = {};
516
+ if (requestParameters['acceptLanguage'] != null) {
517
+ headerParameters['Accept-Language'] = String(requestParameters['acceptLanguage']);
518
+ }
519
+ if (requestParameters['xAppAccountId'] != null) {
520
+ headerParameters['X-App-Account-Id'] = String(requestParameters['xAppAccountId']);
521
+ }
522
+ if (requestParameters['vergefyVersion'] != null) {
523
+ headerParameters['Vergefy-Version'] = String(requestParameters['vergefyVersion']);
524
+ }
525
+ if (requestParameters['acceptTimezone'] != null) {
526
+ headerParameters['Accept-Timezone'] = String(requestParameters['acceptTimezone']);
527
+ }
528
+ if (this.configuration && this.configuration.accessToken) {
529
+ const token = this.configuration.accessToken;
530
+ const tokenString = yield token("BearerAuth", []);
531
+ if (tokenString) {
532
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
533
+ }
534
+ }
535
+ let urlPath = `/platform/accounts/{accountId}`;
536
+ urlPath = urlPath.replace('{accountId}', encodeURIComponent(String(requestParameters['accountId'])));
537
+ return {
538
+ path: urlPath,
539
+ method: 'GET',
540
+ headers: headerParameters,
541
+ query: queryParameters,
542
+ };
543
+ });
544
+ }
545
+ /**
546
+ * Reads one account in the CALLER\'S OWN tenant. Takes no tenantId parameter, so it cannot address another tenant at all — LTN024 is the cross-tenant admin search.
547
+ * LTN066 - Get Account By Id
548
+ */
549
+ lTN066Raw(requestParameters, initOverrides) {
550
+ return __awaiter(this, void 0, void 0, function* () {
551
+ const requestOptions = yield this.lTN066RequestOpts(requestParameters);
552
+ const response = yield this.request(requestOptions, initOverrides);
553
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, DataResponseDTOAccountDTO_1.DataResponseDTOAccountDTOFromJSON)(jsonValue));
554
+ });
555
+ }
556
+ /**
557
+ * Reads one account in the CALLER\'S OWN tenant. Takes no tenantId parameter, so it cannot address another tenant at all — LTN024 is the cross-tenant admin search.
558
+ * LTN066 - Get Account By Id
559
+ */
560
+ lTN066(requestParameters, initOverrides) {
561
+ return __awaiter(this, void 0, void 0, function* () {
562
+ const response = yield this.lTN066Raw(requestParameters, initOverrides);
563
+ return yield response.value();
564
+ });
565
+ }
500
566
  /**
501
567
  * Creates request options for lTN110 without sending the request
502
568
  */
@@ -19,6 +19,10 @@ export interface LMCP005Request {
19
19
  export interface LMCP007Request {
20
20
  mcpIntrospectRequestDTO: McpIntrospectRequestDTO;
21
21
  }
22
+ export interface LMCP009Request {
23
+ mcpIntrospectRequestDTO: McpIntrospectRequestDTO;
24
+ xAmznMtlsClientcertSubject?: string;
25
+ }
22
26
  /**
23
27
  *
24
28
  */
@@ -51,4 +55,40 @@ export declare class PLATFORMMCPOAuthQueryApi extends runtime.BaseAPI {
51
55
  * LMCP007 - Introspect an MCP access token
52
56
  */
53
57
  lMCP007(requestParameters: LMCP007Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<McpTokenIntrospectionDTO>;
58
+ /**
59
+ * Creates request options for lMCP008 without sending the request
60
+ */
61
+ lMCP008RequestOpts(): Promise<runtime.RequestOpts>;
62
+ /**
63
+ * Public JSON Web Key Set for the key the MCP authorization server signs its own resource-bound access tokens with. Returns an empty key set while minting is disabled. Public — a verifier must be able to fetch it without a credential.
64
+ * LMCP008 - JWKS for the MCP authorization server signing key
65
+ */
66
+ lMCP008Raw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<{
67
+ [key: string]: object;
68
+ }>>;
69
+ /**
70
+ * Public JSON Web Key Set for the key the MCP authorization server signs its own resource-bound access tokens with. Returns an empty key set while minting is disabled. Public — a verifier must be able to fetch it without a credential.
71
+ * LMCP008 - JWKS for the MCP authorization server signing key
72
+ */
73
+ lMCP008(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<{
74
+ [key: string]: object;
75
+ }>;
76
+ /**
77
+ * Creates request options for lMCP009 without sending the request
78
+ */
79
+ lMCP009RequestOpts(requestParameters: LMCP009Request): Promise<runtime.RequestOpts>;
80
+ /**
81
+ * Returns a short-lived Vergefy API access token for the user behind a live MCP connection, so the gateway never replays the token it was given. Requires a verified client certificate; reachable only via the mTLS listener.
82
+ * LMCP009 - Exchange an MCP token for an upstream credential
83
+ */
84
+ lMCP009Raw(requestParameters: LMCP009Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<{
85
+ [key: string]: object;
86
+ }>>;
87
+ /**
88
+ * Returns a short-lived Vergefy API access token for the user behind a live MCP connection, so the gateway never replays the token it was given. Requires a verified client certificate; reachable only via the mTLS listener.
89
+ * LMCP009 - Exchange an MCP token for an upstream credential
90
+ */
91
+ lMCP009(requestParameters: LMCP009Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<{
92
+ [key: string]: object;
93
+ }>;
54
94
  }
@@ -130,5 +130,101 @@ class PLATFORMMCPOAuthQueryApi extends runtime.BaseAPI {
130
130
  return yield response.value();
131
131
  });
132
132
  }
133
+ /**
134
+ * Creates request options for lMCP008 without sending the request
135
+ */
136
+ lMCP008RequestOpts() {
137
+ return __awaiter(this, void 0, void 0, function* () {
138
+ const queryParameters = {};
139
+ const headerParameters = {};
140
+ if (this.configuration && this.configuration.accessToken) {
141
+ const token = this.configuration.accessToken;
142
+ const tokenString = yield token("BearerAuth", []);
143
+ if (tokenString) {
144
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
145
+ }
146
+ }
147
+ let urlPath = `/pb/platform/mcp/.well-known/jwks.json`;
148
+ return {
149
+ path: urlPath,
150
+ method: 'GET',
151
+ headers: headerParameters,
152
+ query: queryParameters,
153
+ };
154
+ });
155
+ }
156
+ /**
157
+ * Public JSON Web Key Set for the key the MCP authorization server signs its own resource-bound access tokens with. Returns an empty key set while minting is disabled. Public — a verifier must be able to fetch it without a credential.
158
+ * LMCP008 - JWKS for the MCP authorization server signing key
159
+ */
160
+ lMCP008Raw(initOverrides) {
161
+ return __awaiter(this, void 0, void 0, function* () {
162
+ const requestOptions = yield this.lMCP008RequestOpts();
163
+ const response = yield this.request(requestOptions, initOverrides);
164
+ return new runtime.JSONApiResponse(response);
165
+ });
166
+ }
167
+ /**
168
+ * Public JSON Web Key Set for the key the MCP authorization server signs its own resource-bound access tokens with. Returns an empty key set while minting is disabled. Public — a verifier must be able to fetch it without a credential.
169
+ * LMCP008 - JWKS for the MCP authorization server signing key
170
+ */
171
+ lMCP008(initOverrides) {
172
+ return __awaiter(this, void 0, void 0, function* () {
173
+ const response = yield this.lMCP008Raw(initOverrides);
174
+ return yield response.value();
175
+ });
176
+ }
177
+ /**
178
+ * Creates request options for lMCP009 without sending the request
179
+ */
180
+ lMCP009RequestOpts(requestParameters) {
181
+ return __awaiter(this, void 0, void 0, function* () {
182
+ if (requestParameters['mcpIntrospectRequestDTO'] == null) {
183
+ throw new runtime.RequiredError('mcpIntrospectRequestDTO', 'Required parameter "mcpIntrospectRequestDTO" was null or undefined when calling lMCP009().');
184
+ }
185
+ const queryParameters = {};
186
+ const headerParameters = {};
187
+ headerParameters['Content-Type'] = 'application/json';
188
+ if (requestParameters['xAmznMtlsClientcertSubject'] != null) {
189
+ headerParameters['X-Amzn-Mtls-Clientcert-Subject'] = String(requestParameters['xAmznMtlsClientcertSubject']);
190
+ }
191
+ if (this.configuration && this.configuration.accessToken) {
192
+ const token = this.configuration.accessToken;
193
+ const tokenString = yield token("BearerAuth", []);
194
+ if (tokenString) {
195
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
196
+ }
197
+ }
198
+ let urlPath = `/pb/platform/mcp/token/exchange`;
199
+ return {
200
+ path: urlPath,
201
+ method: 'POST',
202
+ headers: headerParameters,
203
+ query: queryParameters,
204
+ body: (0, McpIntrospectRequestDTO_1.McpIntrospectRequestDTOToJSON)(requestParameters['mcpIntrospectRequestDTO']),
205
+ };
206
+ });
207
+ }
208
+ /**
209
+ * Returns a short-lived Vergefy API access token for the user behind a live MCP connection, so the gateway never replays the token it was given. Requires a verified client certificate; reachable only via the mTLS listener.
210
+ * LMCP009 - Exchange an MCP token for an upstream credential
211
+ */
212
+ lMCP009Raw(requestParameters, initOverrides) {
213
+ return __awaiter(this, void 0, void 0, function* () {
214
+ const requestOptions = yield this.lMCP009RequestOpts(requestParameters);
215
+ const response = yield this.request(requestOptions, initOverrides);
216
+ return new runtime.JSONApiResponse(response);
217
+ });
218
+ }
219
+ /**
220
+ * Returns a short-lived Vergefy API access token for the user behind a live MCP connection, so the gateway never replays the token it was given. Requires a verified client certificate; reachable only via the mTLS listener.
221
+ * LMCP009 - Exchange an MCP token for an upstream credential
222
+ */
223
+ lMCP009(requestParameters, initOverrides) {
224
+ return __awaiter(this, void 0, void 0, function* () {
225
+ const response = yield this.lMCP009Raw(requestParameters, initOverrides);
226
+ return yield response.value();
227
+ });
228
+ }
133
229
  }
134
230
  exports.PLATFORMMCPOAuthQueryApi = PLATFORMMCPOAuthQueryApi;
@@ -10,6 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
+ import { type DataResponseDTOListTenantConfigurationSchemaDTO } from '../models/DataResponseDTOListTenantConfigurationSchemaDTO';
13
14
  import { type DataResponseDTOTenantConfigurationDTO } from '../models/DataResponseDTOTenantConfigurationDTO';
14
15
  import { type DataResponseDTOTenantConfigurationSchemaEntity } from '../models/DataResponseDTOTenantConfigurationSchemaEntity';
15
16
  import { type PageTenantConfigurationDTO } from '../models/PageTenantConfigurationDTO';
@@ -70,6 +71,19 @@ export interface PTC007Request {
70
71
  vergefyVersion?: string;
71
72
  acceptTimezone?: string;
72
73
  }
74
+ export interface PTC008Request {
75
+ namespace: string;
76
+ xAppAccountId: string;
77
+ acceptLanguage?: string;
78
+ vergefyVersion?: string;
79
+ acceptTimezone?: string;
80
+ }
81
+ export interface PTC009Request {
82
+ xAppAccountId: string;
83
+ acceptLanguage?: string;
84
+ vergefyVersion?: string;
85
+ acceptTimezone?: string;
86
+ }
73
87
  /**
74
88
  *
75
89
  */
@@ -172,4 +186,32 @@ export declare class PLATFORMPTCPlatformTenantConfigurationApi extends runtime.B
172
186
  * PTC007 - Get a tenant\'s configuration by key (cross-tenant, service-only)
173
187
  */
174
188
  pTC007(requestParameters: PTC007Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DataResponseDTOTenantConfigurationDTO>;
189
+ /**
190
+ * Creates request options for pTC008 without sending the request
191
+ */
192
+ pTC008RequestOpts(requestParameters: PTC008Request): Promise<runtime.RequestOpts>;
193
+ /**
194
+ * Lists every active schema definition within a configuration namespace, with the render metadata a settings UI needs (label key, layout group and order, input widget, value type, required permissions). Results are filtered to the entries whose own readPermission the caller holds, so an empty array means \'nothing here you may read\', NOT \'this namespace is unregistered\'.
195
+ * PTC008 - List Schema Registry Entries by Namespace
196
+ */
197
+ pTC008Raw(requestParameters: PTC008Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DataResponseDTOListTenantConfigurationSchemaDTO>>;
198
+ /**
199
+ * Lists every active schema definition within a configuration namespace, with the render metadata a settings UI needs (label key, layout group and order, input widget, value type, required permissions). Results are filtered to the entries whose own readPermission the caller holds, so an empty array means \'nothing here you may read\', NOT \'this namespace is unregistered\'.
200
+ * PTC008 - List Schema Registry Entries by Namespace
201
+ */
202
+ pTC008(requestParameters: PTC008Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DataResponseDTOListTenantConfigurationSchemaDTO>;
203
+ /**
204
+ * Creates request options for pTC009 without sending the request
205
+ */
206
+ pTC009RequestOpts(requestParameters: PTC009Request): Promise<runtime.RequestOpts>;
207
+ /**
208
+ * Lists every active schema definition across every namespace, ordered by namespace then layout order. This is the discovery read: a client cannot enumerate what is configurable from its entitled apps: measured against the registry, only 5 of 48 registered namespaces correspond to an app (INT-2796). Results are filtered to the entries whose own readPermission the caller holds; an empty array means \'nothing you may read\', not an empty registry.
209
+ * PTC009 - List All Schema Registry Entries
210
+ */
211
+ pTC009Raw(requestParameters: PTC009Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DataResponseDTOListTenantConfigurationSchemaDTO>>;
212
+ /**
213
+ * Lists every active schema definition across every namespace, ordered by namespace then layout order. This is the discovery read: a client cannot enumerate what is configurable from its entitled apps: measured against the registry, only 5 of 48 registered namespaces correspond to an app (INT-2796). Results are filtered to the entries whose own readPermission the caller holds; an empty array means \'nothing you may read\', not an empty registry.
214
+ * PTC009 - List All Schema Registry Entries
215
+ */
216
+ pTC009(requestParameters: PTC009Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DataResponseDTOListTenantConfigurationSchemaDTO>;
175
217
  }