@integrahub/vergefy-client 0.3.0 → 0.3.2

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 (89) hide show
  1. package/README.md +2 -2
  2. package/dist/apis/AIIAGEAgentCapabilitiesApi.d.ts +38 -0
  3. package/dist/apis/AIIAGEAgentCapabilitiesApi.js +92 -0
  4. package/dist/apis/AIIAGPAgentPoolApi.d.ts +1 -1
  5. package/dist/apis/AIIAGPAgentPoolApi.js +1 -1
  6. package/dist/apis/AIIUCPPUCPProfileApi.d.ts +18 -6
  7. package/dist/apis/AIIUCPPUCPProfileApi.js +42 -12
  8. package/dist/apis/APIARQRequirementApi.d.ts +2 -2
  9. package/dist/apis/APIARQRequirementApi.js +2 -2
  10. package/dist/apis/AUTHUAUIdentityAuthenticationApi.d.ts +1 -1
  11. package/dist/apis/AUTHUAUIdentityAuthenticationApi.js +0 -3
  12. package/dist/apis/PLATFORMLPRPlatformRequirementsApi.d.ts +1 -1
  13. package/dist/apis/PLATFORMLPRPlatformRequirementsApi.js +1 -1
  14. package/dist/apis/index.d.ts +1 -0
  15. package/dist/apis/index.js +1 -0
  16. package/dist/esm/apis/AIIAGEAgentCapabilitiesApi.js +88 -0
  17. package/dist/esm/apis/AIIAGPAgentPoolApi.js +1 -1
  18. package/dist/esm/apis/AIIUCPPUCPProfileApi.js +42 -12
  19. package/dist/esm/apis/APIARQRequirementApi.js +2 -2
  20. package/dist/esm/apis/AUTHUAUIdentityAuthenticationApi.js +0 -3
  21. package/dist/esm/apis/PLATFORMLPRPlatformRequirementsApi.js +1 -1
  22. package/dist/esm/apis/index.js +1 -0
  23. package/dist/esm/ext/telemetry.js +1 -1
  24. package/dist/esm/models/AIFileProcessingJobCreateApiDTO.js +2 -1
  25. package/dist/esm/models/AIFileProcessingJobDTO.js +2 -1
  26. package/dist/esm/models/AccountDTO.js +2 -1
  27. package/dist/esm/models/AgentPoolCreateDTO.js +1 -1
  28. package/dist/esm/models/AgentPoolDTO.js +1 -1
  29. package/dist/esm/models/AgentPoolUpdateDTO.js +1 -1
  30. package/dist/esm/models/AiAvailabilityStatusDTO.js +51 -0
  31. package/dist/esm/models/CreateAccountRequestDTO.js +2 -1
  32. package/dist/esm/models/CustomFieldValidationDTO.js +1 -1
  33. package/dist/esm/models/DataResponseDTOAiAvailabilityStatusDTO.js +42 -0
  34. package/dist/esm/models/HrResumeParseRequestDTO.js +3 -1
  35. package/dist/esm/models/HumanInterventionRequestApiDTO.js +2 -2
  36. package/dist/esm/models/HumanInterventionRequestCreateApiDTO.js +2 -2
  37. package/dist/esm/models/ImportJobErrorDTO.js +1 -1
  38. package/dist/esm/models/PaymentMethodDTO.js +1 -1
  39. package/dist/esm/models/RequirementAssignmentDTO.js +1 -1
  40. package/dist/esm/models/RequirementDTO.js +1 -1
  41. package/dist/esm/models/SubscriptionPauseCollectionDTO.js +1 -1
  42. package/dist/esm/models/WorkflowHumanGateApiDTO.js +2 -2
  43. package/dist/esm/models/WorkflowHumanGateCreateApiDTO.js +2 -2
  44. package/dist/esm/models/index.js +2 -0
  45. package/dist/ext/telemetry.d.ts +1 -1
  46. package/dist/ext/telemetry.js +1 -1
  47. package/dist/models/AIFileProcessingJobCreateApiDTO.d.ts +1 -0
  48. package/dist/models/AIFileProcessingJobCreateApiDTO.js +2 -1
  49. package/dist/models/AIFileProcessingJobDTO.d.ts +1 -0
  50. package/dist/models/AIFileProcessingJobDTO.js +2 -1
  51. package/dist/models/AccountDTO.d.ts +1 -0
  52. package/dist/models/AccountDTO.js +2 -1
  53. package/dist/models/AgentPoolCreateDTO.d.ts +1 -1
  54. package/dist/models/AgentPoolCreateDTO.js +1 -1
  55. package/dist/models/AgentPoolDTO.d.ts +1 -1
  56. package/dist/models/AgentPoolDTO.js +1 -1
  57. package/dist/models/AgentPoolUpdateDTO.d.ts +1 -1
  58. package/dist/models/AgentPoolUpdateDTO.js +1 -1
  59. package/dist/models/AiAvailabilityStatusDTO.d.ts +47 -0
  60. package/dist/models/AiAvailabilityStatusDTO.js +59 -0
  61. package/dist/models/CreateAccountRequestDTO.d.ts +1 -0
  62. package/dist/models/CreateAccountRequestDTO.js +2 -1
  63. package/dist/models/CustomFieldValidationDTO.d.ts +1 -1
  64. package/dist/models/CustomFieldValidationDTO.js +1 -1
  65. package/dist/models/DataResponseDTOAiAvailabilityStatusDTO.d.ts +33 -0
  66. package/dist/models/DataResponseDTOAiAvailabilityStatusDTO.js +49 -0
  67. package/dist/models/HrResumeParseRequestDTO.d.ts +1 -1
  68. package/dist/models/HrResumeParseRequestDTO.js +3 -1
  69. package/dist/models/HumanInterventionRequestApiDTO.d.ts +2 -2
  70. package/dist/models/HumanInterventionRequestApiDTO.js +2 -2
  71. package/dist/models/HumanInterventionRequestCreateApiDTO.d.ts +2 -2
  72. package/dist/models/HumanInterventionRequestCreateApiDTO.js +2 -2
  73. package/dist/models/ImportJobErrorDTO.d.ts +1 -1
  74. package/dist/models/ImportJobErrorDTO.js +1 -1
  75. package/dist/models/PaymentMethodDTO.d.ts +1 -1
  76. package/dist/models/PaymentMethodDTO.js +1 -1
  77. package/dist/models/RequirementAssignmentDTO.d.ts +1 -1
  78. package/dist/models/RequirementAssignmentDTO.js +1 -1
  79. package/dist/models/RequirementDTO.d.ts +1 -1
  80. package/dist/models/RequirementDTO.js +1 -1
  81. package/dist/models/SubscriptionPauseCollectionDTO.d.ts +1 -1
  82. package/dist/models/SubscriptionPauseCollectionDTO.js +1 -1
  83. package/dist/models/WorkflowHumanGateApiDTO.d.ts +2 -2
  84. package/dist/models/WorkflowHumanGateApiDTO.js +2 -2
  85. package/dist/models/WorkflowHumanGateCreateApiDTO.d.ts +2 -2
  86. package/dist/models/WorkflowHumanGateCreateApiDTO.js +2 -2
  87. package/dist/models/index.d.ts +2 -0
  88. package/dist/models/index.js +2 -0
  89. package/package.json +1 -1
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @integrahub/vergefy-client@0.3.0
1
+ # @integrahub/vergefy-client@0.3.2
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.3.0`
93
+ - Package version: `0.3.2`
94
94
  - Generator version: `7.22.0`
95
95
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
96
96
 
@@ -0,0 +1,38 @@
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 DataResponseDTOAiAvailabilityStatusDTO } from '../models/DataResponseDTOAiAvailabilityStatusDTO';
14
+ export interface IAGE030Request {
15
+ xAppAccountId: string;
16
+ acceptLanguage?: string;
17
+ vergefyVersion?: string;
18
+ acceptTimezone?: string;
19
+ }
20
+ /**
21
+ *
22
+ */
23
+ export declare class AIIAGEAgentCapabilitiesApi extends runtime.BaseAPI {
24
+ /**
25
+ * Creates request options for iAGE030 without sending the request
26
+ */
27
+ iAGE030RequestOpts(requestParameters: IAGE030Request): Promise<runtime.RequestOpts>;
28
+ /**
29
+ * Reports whether AI features can be dispatched in this deployment. Returns mode=AI_READY | AI_DISABLED | AI_CONSUMER_DOWN. Clients should branch on `mode`, which is a stable untranslated token, and use it to disable AI controls and to stop polling for AI replies that cannot arrive.
30
+ * IAGE030 - Get AI availability
31
+ */
32
+ iAGE030Raw(requestParameters: IAGE030Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DataResponseDTOAiAvailabilityStatusDTO>>;
33
+ /**
34
+ * Reports whether AI features can be dispatched in this deployment. Returns mode=AI_READY | AI_DISABLED | AI_CONSUMER_DOWN. Clients should branch on `mode`, which is a stable untranslated token, and use it to disable AI controls and to stop polling for AI replies that cannot arrive.
35
+ * IAGE030 - Get AI availability
36
+ */
37
+ iAGE030(requestParameters: IAGE030Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DataResponseDTOAiAvailabilityStatusDTO>;
38
+ }
@@ -0,0 +1,92 @@
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.AIIAGEAgentCapabilitiesApi = void 0;
26
+ const runtime = require("../runtime");
27
+ const DataResponseDTOAiAvailabilityStatusDTO_1 = require("../models/DataResponseDTOAiAvailabilityStatusDTO");
28
+ /**
29
+ *
30
+ */
31
+ class AIIAGEAgentCapabilitiesApi extends runtime.BaseAPI {
32
+ /**
33
+ * Creates request options for iAGE030 without sending the request
34
+ */
35
+ iAGE030RequestOpts(requestParameters) {
36
+ return __awaiter(this, void 0, void 0, function* () {
37
+ if (requestParameters['xAppAccountId'] == null) {
38
+ throw new runtime.RequiredError('xAppAccountId', 'Required parameter "xAppAccountId" was null or undefined when calling iAGE030().');
39
+ }
40
+ const queryParameters = {};
41
+ const headerParameters = {};
42
+ if (requestParameters['acceptLanguage'] != null) {
43
+ headerParameters['Accept-Language'] = String(requestParameters['acceptLanguage']);
44
+ }
45
+ if (requestParameters['xAppAccountId'] != null) {
46
+ headerParameters['X-App-Account-Id'] = String(requestParameters['xAppAccountId']);
47
+ }
48
+ if (requestParameters['vergefyVersion'] != null) {
49
+ headerParameters['Vergefy-Version'] = String(requestParameters['vergefyVersion']);
50
+ }
51
+ if (requestParameters['acceptTimezone'] != null) {
52
+ headerParameters['Accept-Timezone'] = String(requestParameters['acceptTimezone']);
53
+ }
54
+ if (this.configuration && this.configuration.accessToken) {
55
+ const token = this.configuration.accessToken;
56
+ const tokenString = yield token("BearerAuth", []);
57
+ if (tokenString) {
58
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
59
+ }
60
+ }
61
+ let urlPath = `/ai/availability`;
62
+ return {
63
+ path: urlPath,
64
+ method: 'GET',
65
+ headers: headerParameters,
66
+ query: queryParameters,
67
+ };
68
+ });
69
+ }
70
+ /**
71
+ * Reports whether AI features can be dispatched in this deployment. Returns mode=AI_READY | AI_DISABLED | AI_CONSUMER_DOWN. Clients should branch on `mode`, which is a stable untranslated token, and use it to disable AI controls and to stop polling for AI replies that cannot arrive.
72
+ * IAGE030 - Get AI availability
73
+ */
74
+ iAGE030Raw(requestParameters, initOverrides) {
75
+ return __awaiter(this, void 0, void 0, function* () {
76
+ const requestOptions = yield this.iAGE030RequestOpts(requestParameters);
77
+ const response = yield this.request(requestOptions, initOverrides);
78
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, DataResponseDTOAiAvailabilityStatusDTO_1.DataResponseDTOAiAvailabilityStatusDTOFromJSON)(jsonValue));
79
+ });
80
+ }
81
+ /**
82
+ * Reports whether AI features can be dispatched in this deployment. Returns mode=AI_READY | AI_DISABLED | AI_CONSUMER_DOWN. Clients should branch on `mode`, which is a stable untranslated token, and use it to disable AI controls and to stop polling for AI replies that cannot arrive.
83
+ * IAGE030 - Get AI availability
84
+ */
85
+ iAGE030(requestParameters, initOverrides) {
86
+ return __awaiter(this, void 0, void 0, function* () {
87
+ const response = yield this.iAGE030Raw(requestParameters, initOverrides);
88
+ return yield response.value();
89
+ });
90
+ }
91
+ }
92
+ exports.AIIAGEAgentCapabilitiesApi = AIIAGEAgentCapabilitiesApi;
@@ -738,7 +738,7 @@ export declare const IAGP003ScalingPolicyEnum: {
738
738
  readonly ScheduleBased: "SCHEDULE_BASED";
739
739
  readonly MetricBased: "METRIC_BASED";
740
740
  readonly Predictive: "PREDICTIVE";
741
- readonly Hybrid: "HYBRId";
741
+ readonly Hybrid: "HYBRID";
742
742
  };
743
743
  export type IAGP003ScalingPolicyEnum = typeof IAGP003ScalingPolicyEnum[keyof typeof IAGP003ScalingPolicyEnum];
744
744
  /**
@@ -2140,7 +2140,7 @@ exports.IAGP003ScalingPolicyEnum = {
2140
2140
  ScheduleBased: 'SCHEDULE_BASED',
2141
2141
  MetricBased: 'METRIC_BASED',
2142
2142
  Predictive: 'PREDICTIVE',
2143
- Hybrid: 'HYBRId'
2143
+ Hybrid: 'HYBRID'
2144
2144
  };
2145
2145
  /**
2146
2146
  * @export
@@ -11,6 +11,18 @@
11
11
  */
12
12
  import * as runtime from '../runtime';
13
13
  import { type UcpProfileDTO } from '../models/UcpProfileDTO';
14
+ export interface IUCPP010Request {
15
+ xAppAccountId: string;
16
+ acceptLanguage?: string;
17
+ vergefyVersion?: string;
18
+ acceptTimezone?: string;
19
+ }
20
+ export interface IUCPP011Request {
21
+ xAppAccountId: string;
22
+ acceptLanguage?: string;
23
+ vergefyVersion?: string;
24
+ acceptTimezone?: string;
25
+ }
14
26
  /**
15
27
  *
16
28
  */
@@ -18,29 +30,29 @@ export declare class AIIUCPPUCPProfileApi extends runtime.BaseAPI {
18
30
  /**
19
31
  * Creates request options for iUCPP010 without sending the request
20
32
  */
21
- iUCPP010RequestOpts(): Promise<runtime.RequestOpts>;
33
+ iUCPP010RequestOpts(requestParameters: IUCPP010Request): Promise<runtime.RequestOpts>;
22
34
  /**
23
35
  * Returns the tenant UCP business profile. External AI agents use this to discover merchant capabilities and available transports (REST, MCP). Publicly accessible per UCP spec.
24
36
  * IUCPP010 - Get UCP Business Profile
25
37
  */
26
- iUCPP010Raw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<UcpProfileDTO>>;
38
+ iUCPP010Raw(requestParameters: IUCPP010Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<UcpProfileDTO>>;
27
39
  /**
28
40
  * Returns the tenant UCP business profile. External AI agents use this to discover merchant capabilities and available transports (REST, MCP). Publicly accessible per UCP spec.
29
41
  * IUCPP010 - Get UCP Business Profile
30
42
  */
31
- iUCPP010(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<UcpProfileDTO>;
43
+ iUCPP010(requestParameters: IUCPP010Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<UcpProfileDTO>;
32
44
  /**
33
45
  * Creates request options for iUCPP011 without sending the request
34
46
  */
35
- iUCPP011RequestOpts(): Promise<runtime.RequestOpts>;
47
+ iUCPP011RequestOpts(requestParameters: IUCPP011Request): Promise<runtime.RequestOpts>;
36
48
  /**
37
49
  * Returns OAuth 2.0 authorization server metadata for UCP identity linking. Publicly accessible per RFC 8414.
38
50
  * IUCPP011 - Get OAuth Authorization Server Metadata
39
51
  */
40
- iUCPP011Raw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<UcpProfileDTO>>;
52
+ iUCPP011Raw(requestParameters: IUCPP011Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<UcpProfileDTO>>;
41
53
  /**
42
54
  * Returns OAuth 2.0 authorization server metadata for UCP identity linking. Publicly accessible per RFC 8414.
43
55
  * IUCPP011 - Get OAuth Authorization Server Metadata
44
56
  */
45
- iUCPP011(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<UcpProfileDTO>;
57
+ iUCPP011(requestParameters: IUCPP011Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<UcpProfileDTO>;
46
58
  }
@@ -32,10 +32,25 @@ class AIIUCPPUCPProfileApi extends runtime.BaseAPI {
32
32
  /**
33
33
  * Creates request options for iUCPP010 without sending the request
34
34
  */
35
- iUCPP010RequestOpts() {
35
+ iUCPP010RequestOpts(requestParameters) {
36
36
  return __awaiter(this, void 0, void 0, function* () {
37
+ if (requestParameters['xAppAccountId'] == null) {
38
+ throw new runtime.RequiredError('xAppAccountId', 'Required parameter "xAppAccountId" was null or undefined when calling iUCPP010().');
39
+ }
37
40
  const queryParameters = {};
38
41
  const headerParameters = {};
42
+ if (requestParameters['acceptLanguage'] != null) {
43
+ headerParameters['Accept-Language'] = String(requestParameters['acceptLanguage']);
44
+ }
45
+ if (requestParameters['xAppAccountId'] != null) {
46
+ headerParameters['X-App-Account-Id'] = String(requestParameters['xAppAccountId']);
47
+ }
48
+ if (requestParameters['vergefyVersion'] != null) {
49
+ headerParameters['Vergefy-Version'] = String(requestParameters['vergefyVersion']);
50
+ }
51
+ if (requestParameters['acceptTimezone'] != null) {
52
+ headerParameters['Accept-Timezone'] = String(requestParameters['acceptTimezone']);
53
+ }
39
54
  if (this.configuration && this.configuration.accessToken) {
40
55
  const token = this.configuration.accessToken;
41
56
  const tokenString = yield token("BearerAuth", []);
@@ -43,7 +58,7 @@ class AIIUCPPUCPProfileApi extends runtime.BaseAPI {
43
58
  headerParameters["Authorization"] = `Bearer ${tokenString}`;
44
59
  }
45
60
  }
46
- let urlPath = `/auth/protocols/ucp/profile`;
61
+ let urlPath = `/ai/protocols/ucp/profile`;
47
62
  return {
48
63
  path: urlPath,
49
64
  method: 'GET',
@@ -56,9 +71,9 @@ class AIIUCPPUCPProfileApi extends runtime.BaseAPI {
56
71
  * Returns the tenant UCP business profile. External AI agents use this to discover merchant capabilities and available transports (REST, MCP). Publicly accessible per UCP spec.
57
72
  * IUCPP010 - Get UCP Business Profile
58
73
  */
59
- iUCPP010Raw(initOverrides) {
74
+ iUCPP010Raw(requestParameters, initOverrides) {
60
75
  return __awaiter(this, void 0, void 0, function* () {
61
- const requestOptions = yield this.iUCPP010RequestOpts();
76
+ const requestOptions = yield this.iUCPP010RequestOpts(requestParameters);
62
77
  const response = yield this.request(requestOptions, initOverrides);
63
78
  return new runtime.JSONApiResponse(response, (jsonValue) => (0, UcpProfileDTO_1.UcpProfileDTOFromJSON)(jsonValue));
64
79
  });
@@ -67,19 +82,34 @@ class AIIUCPPUCPProfileApi extends runtime.BaseAPI {
67
82
  * Returns the tenant UCP business profile. External AI agents use this to discover merchant capabilities and available transports (REST, MCP). Publicly accessible per UCP spec.
68
83
  * IUCPP010 - Get UCP Business Profile
69
84
  */
70
- iUCPP010(initOverrides) {
85
+ iUCPP010(requestParameters, initOverrides) {
71
86
  return __awaiter(this, void 0, void 0, function* () {
72
- const response = yield this.iUCPP010Raw(initOverrides);
87
+ const response = yield this.iUCPP010Raw(requestParameters, initOverrides);
73
88
  return yield response.value();
74
89
  });
75
90
  }
76
91
  /**
77
92
  * Creates request options for iUCPP011 without sending the request
78
93
  */
79
- iUCPP011RequestOpts() {
94
+ iUCPP011RequestOpts(requestParameters) {
80
95
  return __awaiter(this, void 0, void 0, function* () {
96
+ if (requestParameters['xAppAccountId'] == null) {
97
+ throw new runtime.RequiredError('xAppAccountId', 'Required parameter "xAppAccountId" was null or undefined when calling iUCPP011().');
98
+ }
81
99
  const queryParameters = {};
82
100
  const headerParameters = {};
101
+ if (requestParameters['acceptLanguage'] != null) {
102
+ headerParameters['Accept-Language'] = String(requestParameters['acceptLanguage']);
103
+ }
104
+ if (requestParameters['xAppAccountId'] != null) {
105
+ headerParameters['X-App-Account-Id'] = String(requestParameters['xAppAccountId']);
106
+ }
107
+ if (requestParameters['vergefyVersion'] != null) {
108
+ headerParameters['Vergefy-Version'] = String(requestParameters['vergefyVersion']);
109
+ }
110
+ if (requestParameters['acceptTimezone'] != null) {
111
+ headerParameters['Accept-Timezone'] = String(requestParameters['acceptTimezone']);
112
+ }
83
113
  if (this.configuration && this.configuration.accessToken) {
84
114
  const token = this.configuration.accessToken;
85
115
  const tokenString = yield token("BearerAuth", []);
@@ -87,7 +117,7 @@ class AIIUCPPUCPProfileApi extends runtime.BaseAPI {
87
117
  headerParameters["Authorization"] = `Bearer ${tokenString}`;
88
118
  }
89
119
  }
90
- let urlPath = `/auth/protocols/ucp/oauth-discovery`;
120
+ let urlPath = `/ai/protocols/ucp/oauth-discovery`;
91
121
  return {
92
122
  path: urlPath,
93
123
  method: 'GET',
@@ -100,9 +130,9 @@ class AIIUCPPUCPProfileApi extends runtime.BaseAPI {
100
130
  * Returns OAuth 2.0 authorization server metadata for UCP identity linking. Publicly accessible per RFC 8414.
101
131
  * IUCPP011 - Get OAuth Authorization Server Metadata
102
132
  */
103
- iUCPP011Raw(initOverrides) {
133
+ iUCPP011Raw(requestParameters, initOverrides) {
104
134
  return __awaiter(this, void 0, void 0, function* () {
105
- const requestOptions = yield this.iUCPP011RequestOpts();
135
+ const requestOptions = yield this.iUCPP011RequestOpts(requestParameters);
106
136
  const response = yield this.request(requestOptions, initOverrides);
107
137
  return new runtime.JSONApiResponse(response, (jsonValue) => (0, UcpProfileDTO_1.UcpProfileDTOFromJSON)(jsonValue));
108
138
  });
@@ -111,9 +141,9 @@ class AIIUCPPUCPProfileApi extends runtime.BaseAPI {
111
141
  * Returns OAuth 2.0 authorization server metadata for UCP identity linking. Publicly accessible per RFC 8414.
112
142
  * IUCPP011 - Get OAuth Authorization Server Metadata
113
143
  */
114
- iUCPP011(initOverrides) {
144
+ iUCPP011(requestParameters, initOverrides) {
115
145
  return __awaiter(this, void 0, void 0, function* () {
116
- const response = yield this.iUCPP011Raw(initOverrides);
146
+ const response = yield this.iUCPP011Raw(requestParameters, initOverrides);
117
147
  return yield response.value();
118
148
  });
119
149
  }
@@ -761,7 +761,7 @@ export declare const ARQ004AppliesTosEnum: {
761
761
  readonly Client: "CLIENT";
762
762
  readonly Tenant: "TENANT";
763
763
  readonly Account: "ACCOUNT";
764
- readonly IdEntity: "IdENTITY";
764
+ readonly Identity: "IDENTITY";
765
765
  readonly External: "EXTERNAL";
766
766
  };
767
767
  export type ARQ004AppliesTosEnum = typeof ARQ004AppliesTosEnum[keyof typeof ARQ004AppliesTosEnum];
@@ -794,7 +794,7 @@ export declare const ARQ014EntityTypesEnum: {
794
794
  readonly Client: "CLIENT";
795
795
  readonly Tenant: "TENANT";
796
796
  readonly Account: "ACCOUNT";
797
- readonly IdEntity: "IdENTITY";
797
+ readonly Identity: "IDENTITY";
798
798
  readonly External: "EXTERNAL";
799
799
  };
800
800
  export type ARQ014EntityTypesEnum = typeof ARQ014EntityTypesEnum[keyof typeof ARQ014EntityTypesEnum];
@@ -2201,7 +2201,7 @@ exports.ARQ004AppliesTosEnum = {
2201
2201
  Client: 'CLIENT',
2202
2202
  Tenant: 'TENANT',
2203
2203
  Account: 'ACCOUNT',
2204
- IdEntity: 'IdENTITY',
2204
+ Identity: 'IDENTITY',
2205
2205
  External: 'EXTERNAL'
2206
2206
  };
2207
2207
  /**
@@ -2231,7 +2231,7 @@ exports.ARQ014EntityTypesEnum = {
2231
2231
  Client: 'CLIENT',
2232
2232
  Tenant: 'TENANT',
2233
2233
  Account: 'ACCOUNT',
2234
- IdEntity: 'IdENTITY',
2234
+ Identity: 'IDENTITY',
2235
2235
  External: 'EXTERNAL'
2236
2236
  };
2237
2237
  /**
@@ -89,8 +89,8 @@ export interface UAU009Request {
89
89
  acceptTimezone?: string;
90
90
  }
91
91
  export interface UAU010Request {
92
- token: string;
93
92
  xAppAccountId: string;
93
+ token?: string;
94
94
  search?: string;
95
95
  includes?: Array<string>;
96
96
  page?: number;
@@ -620,9 +620,6 @@ class AUTHUAUIdentityAuthenticationApi extends runtime.BaseAPI {
620
620
  */
621
621
  uAU010RequestOpts(requestParameters) {
622
622
  return __awaiter(this, void 0, void 0, function* () {
623
- if (requestParameters['token'] == null) {
624
- throw new runtime.RequiredError('token', 'Required parameter "token" was null or undefined when calling uAU010().');
625
- }
626
623
  if (requestParameters['xAppAccountId'] == null) {
627
624
  throw new runtime.RequiredError('xAppAccountId', 'Required parameter "xAppAccountId" was null or undefined when calling uAU010().');
628
625
  }
@@ -60,7 +60,7 @@ export declare const LPR001EntityTypesEnum: {
60
60
  readonly Client: "CLIENT";
61
61
  readonly Tenant: "TENANT";
62
62
  readonly Account: "ACCOUNT";
63
- readonly IdEntity: "IdENTITY";
63
+ readonly Identity: "IDENTITY";
64
64
  readonly External: "EXTERNAL";
65
65
  };
66
66
  export type LPR001EntityTypesEnum = typeof LPR001EntityTypesEnum[keyof typeof LPR001EntityTypesEnum];
@@ -148,7 +148,7 @@ exports.LPR001EntityTypesEnum = {
148
148
  Client: 'CLIENT',
149
149
  Tenant: 'TENANT',
150
150
  Account: 'ACCOUNT',
151
- IdEntity: 'IdENTITY',
151
+ Identity: 'IDENTITY',
152
152
  External: 'EXTERNAL'
153
153
  };
154
154
  /**
@@ -12,6 +12,7 @@ export * from './AIIACPPACPProfileApi';
12
12
  export * from './AIIAGAgentApi';
13
13
  export * from './AIIAGCAgentCommunicationApi';
14
14
  export * from './AIIAGDAgentHandoffApi';
15
+ export * from './AIIAGEAgentCapabilitiesApi';
15
16
  export * from './AIIAGEAgentExecutionApi';
16
17
  export * from './AIIAGGAgentGoalApi';
17
18
  export * from './AIIAGHAgentHealthApi';
@@ -30,6 +30,7 @@ __exportStar(require("./AIIACPPACPProfileApi"), exports);
30
30
  __exportStar(require("./AIIAGAgentApi"), exports);
31
31
  __exportStar(require("./AIIAGCAgentCommunicationApi"), exports);
32
32
  __exportStar(require("./AIIAGDAgentHandoffApi"), exports);
33
+ __exportStar(require("./AIIAGEAgentCapabilitiesApi"), exports);
33
34
  __exportStar(require("./AIIAGEAgentExecutionApi"), exports);
34
35
  __exportStar(require("./AIIAGGAgentGoalApi"), exports);
35
36
  __exportStar(require("./AIIAGHAgentHealthApi"), exports);
@@ -0,0 +1,88 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Vergefy API
5
+ * <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>
6
+ *
7
+ * The version of the OpenAPI document: 2026-05-30
8
+ * Contact: support@integrahub.co
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
15
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
16
+ return new (P || (P = Promise))(function (resolve, reject) {
17
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
18
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
19
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
20
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
21
+ });
22
+ };
23
+ import * as runtime from '../runtime';
24
+ import { DataResponseDTOAiAvailabilityStatusDTOFromJSON, } from '../models/DataResponseDTOAiAvailabilityStatusDTO';
25
+ /**
26
+ *
27
+ */
28
+ export class AIIAGEAgentCapabilitiesApi extends runtime.BaseAPI {
29
+ /**
30
+ * Creates request options for iAGE030 without sending the request
31
+ */
32
+ iAGE030RequestOpts(requestParameters) {
33
+ return __awaiter(this, void 0, void 0, function* () {
34
+ if (requestParameters['xAppAccountId'] == null) {
35
+ throw new runtime.RequiredError('xAppAccountId', 'Required parameter "xAppAccountId" was null or undefined when calling iAGE030().');
36
+ }
37
+ const queryParameters = {};
38
+ const headerParameters = {};
39
+ if (requestParameters['acceptLanguage'] != null) {
40
+ headerParameters['Accept-Language'] = String(requestParameters['acceptLanguage']);
41
+ }
42
+ if (requestParameters['xAppAccountId'] != null) {
43
+ headerParameters['X-App-Account-Id'] = String(requestParameters['xAppAccountId']);
44
+ }
45
+ if (requestParameters['vergefyVersion'] != null) {
46
+ headerParameters['Vergefy-Version'] = String(requestParameters['vergefyVersion']);
47
+ }
48
+ if (requestParameters['acceptTimezone'] != null) {
49
+ headerParameters['Accept-Timezone'] = String(requestParameters['acceptTimezone']);
50
+ }
51
+ if (this.configuration && this.configuration.accessToken) {
52
+ const token = this.configuration.accessToken;
53
+ const tokenString = yield token("BearerAuth", []);
54
+ if (tokenString) {
55
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
56
+ }
57
+ }
58
+ let urlPath = `/ai/availability`;
59
+ return {
60
+ path: urlPath,
61
+ method: 'GET',
62
+ headers: headerParameters,
63
+ query: queryParameters,
64
+ };
65
+ });
66
+ }
67
+ /**
68
+ * Reports whether AI features can be dispatched in this deployment. Returns mode=AI_READY | AI_DISABLED | AI_CONSUMER_DOWN. Clients should branch on `mode`, which is a stable untranslated token, and use it to disable AI controls and to stop polling for AI replies that cannot arrive.
69
+ * IAGE030 - Get AI availability
70
+ */
71
+ iAGE030Raw(requestParameters, initOverrides) {
72
+ return __awaiter(this, void 0, void 0, function* () {
73
+ const requestOptions = yield this.iAGE030RequestOpts(requestParameters);
74
+ const response = yield this.request(requestOptions, initOverrides);
75
+ return new runtime.JSONApiResponse(response, (jsonValue) => DataResponseDTOAiAvailabilityStatusDTOFromJSON(jsonValue));
76
+ });
77
+ }
78
+ /**
79
+ * Reports whether AI features can be dispatched in this deployment. Returns mode=AI_READY | AI_DISABLED | AI_CONSUMER_DOWN. Clients should branch on `mode`, which is a stable untranslated token, and use it to disable AI controls and to stop polling for AI replies that cannot arrive.
80
+ * IAGE030 - Get AI availability
81
+ */
82
+ iAGE030(requestParameters, initOverrides) {
83
+ return __awaiter(this, void 0, void 0, function* () {
84
+ const response = yield this.iAGE030Raw(requestParameters, initOverrides);
85
+ return yield response.value();
86
+ });
87
+ }
88
+ }
@@ -2136,7 +2136,7 @@ export const IAGP003ScalingPolicyEnum = {
2136
2136
  ScheduleBased: 'SCHEDULE_BASED',
2137
2137
  MetricBased: 'METRIC_BASED',
2138
2138
  Predictive: 'PREDICTIVE',
2139
- Hybrid: 'HYBRId'
2139
+ Hybrid: 'HYBRID'
2140
2140
  };
2141
2141
  /**
2142
2142
  * @export