@integrahub/vergefy-client 0.3.2 → 0.3.4
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.
- package/README.md +2 -2
- package/dist/apis/AIIAMPPMPPPaymentApi.d.ts +43 -0
- package/dist/apis/AIIAMPPMPPPaymentApi.js +98 -0
- package/dist/esm/apis/AIIAMPPMPPPaymentApi.js +98 -0
- package/dist/esm/ext/telemetry.js +1 -1
- package/dist/esm/models/MppPaymentSessionCreateApiDTO.js +45 -0
- package/dist/esm/models/index.js +1 -0
- package/dist/ext/telemetry.d.ts +1 -1
- package/dist/ext/telemetry.js +1 -1
- package/dist/models/MppPaymentSessionCreateApiDTO.d.ts +38 -0
- package/dist/models/MppPaymentSessionCreateApiDTO.js +52 -0
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @integrahub/vergefy-client@0.3.
|
|
1
|
+
# @integrahub/vergefy-client@0.3.4
|
|
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.
|
|
93
|
+
- Package version: `0.3.4`
|
|
94
94
|
- Generator version: `7.22.0`
|
|
95
95
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
96
96
|
|
|
@@ -10,9 +10,16 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
+
import { type MppPaymentSessionCreateApiDTO } from '../models/MppPaymentSessionCreateApiDTO';
|
|
13
14
|
export interface IAMPP001Request {
|
|
14
15
|
token: string;
|
|
15
16
|
}
|
|
17
|
+
export interface IAMPP002Request {
|
|
18
|
+
mppPaymentSessionCreateApiDTO: MppPaymentSessionCreateApiDTO;
|
|
19
|
+
}
|
|
20
|
+
export interface IAMPP003Request {
|
|
21
|
+
receiptId: string;
|
|
22
|
+
}
|
|
16
23
|
/**
|
|
17
24
|
*
|
|
18
25
|
*/
|
|
@@ -35,4 +42,40 @@ export declare class AIIAMPPMPPPaymentApi extends runtime.BaseAPI {
|
|
|
35
42
|
iAMPP001(requestParameters: IAMPP001Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<{
|
|
36
43
|
[key: string]: object;
|
|
37
44
|
}>;
|
|
45
|
+
/**
|
|
46
|
+
* Creates request options for iAMPP002 without sending the request
|
|
47
|
+
*/
|
|
48
|
+
iAMPP002RequestOpts(requestParameters: IAMPP002Request): Promise<runtime.RequestOpts>;
|
|
49
|
+
/**
|
|
50
|
+
* Creates a Stripe SetupIntent (Shared Payment Token) pre-authorizing the given amount for this tenant, and records the authorization. The returned token is presented as _meta.org.paymentauth/credential on a priced MCP tool call.
|
|
51
|
+
* IAMPP002 - Create MPP payment session
|
|
52
|
+
*/
|
|
53
|
+
iAMPP002Raw(requestParameters: IAMPP002Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<{
|
|
54
|
+
[key: string]: object;
|
|
55
|
+
}>>;
|
|
56
|
+
/**
|
|
57
|
+
* Creates a Stripe SetupIntent (Shared Payment Token) pre-authorizing the given amount for this tenant, and records the authorization. The returned token is presented as _meta.org.paymentauth/credential on a priced MCP tool call.
|
|
58
|
+
* IAMPP002 - Create MPP payment session
|
|
59
|
+
*/
|
|
60
|
+
iAMPP002(requestParameters: IAMPP002Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<{
|
|
61
|
+
[key: string]: object;
|
|
62
|
+
}>;
|
|
63
|
+
/**
|
|
64
|
+
* Creates request options for iAMPP003 without sending the request
|
|
65
|
+
*/
|
|
66
|
+
iAMPP003RequestOpts(requestParameters: IAMPP003Request): Promise<runtime.RequestOpts>;
|
|
67
|
+
/**
|
|
68
|
+
* Retrieves an MPP payment receipt by its UUID. Receipts are issued when a Shared Payment Token is spent, and are also returned inline on the tool result as _meta.org.paymentauth/receipt.
|
|
69
|
+
* IAMPP003 - Get MPP payment receipt
|
|
70
|
+
*/
|
|
71
|
+
iAMPP003Raw(requestParameters: IAMPP003Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<{
|
|
72
|
+
[key: string]: object;
|
|
73
|
+
}>>;
|
|
74
|
+
/**
|
|
75
|
+
* Retrieves an MPP payment receipt by its UUID. Receipts are issued when a Shared Payment Token is spent, and are also returned inline on the tool result as _meta.org.paymentauth/receipt.
|
|
76
|
+
* IAMPP003 - Get MPP payment receipt
|
|
77
|
+
*/
|
|
78
|
+
iAMPP003(requestParameters: IAMPP003Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<{
|
|
79
|
+
[key: string]: object;
|
|
80
|
+
}>;
|
|
38
81
|
}
|
|
@@ -24,6 +24,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
25
|
exports.AIIAMPPMPPPaymentApi = void 0;
|
|
26
26
|
const runtime = require("../runtime");
|
|
27
|
+
const MppPaymentSessionCreateApiDTO_1 = require("../models/MppPaymentSessionCreateApiDTO");
|
|
27
28
|
/**
|
|
28
29
|
*
|
|
29
30
|
*/
|
|
@@ -78,5 +79,102 @@ class AIIAMPPMPPPaymentApi extends runtime.BaseAPI {
|
|
|
78
79
|
return yield response.value();
|
|
79
80
|
});
|
|
80
81
|
}
|
|
82
|
+
/**
|
|
83
|
+
* Creates request options for iAMPP002 without sending the request
|
|
84
|
+
*/
|
|
85
|
+
iAMPP002RequestOpts(requestParameters) {
|
|
86
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
87
|
+
if (requestParameters['mppPaymentSessionCreateApiDTO'] == null) {
|
|
88
|
+
throw new runtime.RequiredError('mppPaymentSessionCreateApiDTO', 'Required parameter "mppPaymentSessionCreateApiDTO" was null or undefined when calling iAMPP002().');
|
|
89
|
+
}
|
|
90
|
+
const queryParameters = {};
|
|
91
|
+
const headerParameters = {};
|
|
92
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
93
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
94
|
+
const token = this.configuration.accessToken;
|
|
95
|
+
const tokenString = yield token("BearerAuth", []);
|
|
96
|
+
if (tokenString) {
|
|
97
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
let urlPath = `/pb/ai/protocols/acp/mpp/payment-session`;
|
|
101
|
+
return {
|
|
102
|
+
path: urlPath,
|
|
103
|
+
method: 'POST',
|
|
104
|
+
headers: headerParameters,
|
|
105
|
+
query: queryParameters,
|
|
106
|
+
body: (0, MppPaymentSessionCreateApiDTO_1.MppPaymentSessionCreateApiDTOToJSON)(requestParameters['mppPaymentSessionCreateApiDTO']),
|
|
107
|
+
};
|
|
108
|
+
});
|
|
109
|
+
}
|
|
110
|
+
/**
|
|
111
|
+
* Creates a Stripe SetupIntent (Shared Payment Token) pre-authorizing the given amount for this tenant, and records the authorization. The returned token is presented as _meta.org.paymentauth/credential on a priced MCP tool call.
|
|
112
|
+
* IAMPP002 - Create MPP payment session
|
|
113
|
+
*/
|
|
114
|
+
iAMPP002Raw(requestParameters, initOverrides) {
|
|
115
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
116
|
+
const requestOptions = yield this.iAMPP002RequestOpts(requestParameters);
|
|
117
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
118
|
+
return new runtime.JSONApiResponse(response);
|
|
119
|
+
});
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* Creates a Stripe SetupIntent (Shared Payment Token) pre-authorizing the given amount for this tenant, and records the authorization. The returned token is presented as _meta.org.paymentauth/credential on a priced MCP tool call.
|
|
123
|
+
* IAMPP002 - Create MPP payment session
|
|
124
|
+
*/
|
|
125
|
+
iAMPP002(requestParameters, initOverrides) {
|
|
126
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
127
|
+
const response = yield this.iAMPP002Raw(requestParameters, initOverrides);
|
|
128
|
+
return yield response.value();
|
|
129
|
+
});
|
|
130
|
+
}
|
|
131
|
+
/**
|
|
132
|
+
* Creates request options for iAMPP003 without sending the request
|
|
133
|
+
*/
|
|
134
|
+
iAMPP003RequestOpts(requestParameters) {
|
|
135
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
136
|
+
if (requestParameters['receiptId'] == null) {
|
|
137
|
+
throw new runtime.RequiredError('receiptId', 'Required parameter "receiptId" was null or undefined when calling iAMPP003().');
|
|
138
|
+
}
|
|
139
|
+
const queryParameters = {};
|
|
140
|
+
const headerParameters = {};
|
|
141
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
142
|
+
const token = this.configuration.accessToken;
|
|
143
|
+
const tokenString = yield token("BearerAuth", []);
|
|
144
|
+
if (tokenString) {
|
|
145
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
let urlPath = `/pb/ai/protocols/acp/mpp/receipts/{receiptId}`;
|
|
149
|
+
urlPath = urlPath.replace('{receiptId}', encodeURIComponent(String(requestParameters['receiptId'])));
|
|
150
|
+
return {
|
|
151
|
+
path: urlPath,
|
|
152
|
+
method: 'GET',
|
|
153
|
+
headers: headerParameters,
|
|
154
|
+
query: queryParameters,
|
|
155
|
+
};
|
|
156
|
+
});
|
|
157
|
+
}
|
|
158
|
+
/**
|
|
159
|
+
* Retrieves an MPP payment receipt by its UUID. Receipts are issued when a Shared Payment Token is spent, and are also returned inline on the tool result as _meta.org.paymentauth/receipt.
|
|
160
|
+
* IAMPP003 - Get MPP payment receipt
|
|
161
|
+
*/
|
|
162
|
+
iAMPP003Raw(requestParameters, initOverrides) {
|
|
163
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
164
|
+
const requestOptions = yield this.iAMPP003RequestOpts(requestParameters);
|
|
165
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
166
|
+
return new runtime.JSONApiResponse(response);
|
|
167
|
+
});
|
|
168
|
+
}
|
|
169
|
+
/**
|
|
170
|
+
* Retrieves an MPP payment receipt by its UUID. Receipts are issued when a Shared Payment Token is spent, and are also returned inline on the tool result as _meta.org.paymentauth/receipt.
|
|
171
|
+
* IAMPP003 - Get MPP payment receipt
|
|
172
|
+
*/
|
|
173
|
+
iAMPP003(requestParameters, initOverrides) {
|
|
174
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
175
|
+
const response = yield this.iAMPP003Raw(requestParameters, initOverrides);
|
|
176
|
+
return yield response.value();
|
|
177
|
+
});
|
|
178
|
+
}
|
|
81
179
|
}
|
|
82
180
|
exports.AIIAMPPMPPPaymentApi = AIIAMPPMPPPaymentApi;
|
|
@@ -21,6 +21,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
21
21
|
});
|
|
22
22
|
};
|
|
23
23
|
import * as runtime from '../runtime';
|
|
24
|
+
import { MppPaymentSessionCreateApiDTOToJSON, } from '../models/MppPaymentSessionCreateApiDTO';
|
|
24
25
|
/**
|
|
25
26
|
*
|
|
26
27
|
*/
|
|
@@ -75,4 +76,101 @@ export class AIIAMPPMPPPaymentApi extends runtime.BaseAPI {
|
|
|
75
76
|
return yield response.value();
|
|
76
77
|
});
|
|
77
78
|
}
|
|
79
|
+
/**
|
|
80
|
+
* Creates request options for iAMPP002 without sending the request
|
|
81
|
+
*/
|
|
82
|
+
iAMPP002RequestOpts(requestParameters) {
|
|
83
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
84
|
+
if (requestParameters['mppPaymentSessionCreateApiDTO'] == null) {
|
|
85
|
+
throw new runtime.RequiredError('mppPaymentSessionCreateApiDTO', 'Required parameter "mppPaymentSessionCreateApiDTO" was null or undefined when calling iAMPP002().');
|
|
86
|
+
}
|
|
87
|
+
const queryParameters = {};
|
|
88
|
+
const headerParameters = {};
|
|
89
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
90
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
91
|
+
const token = this.configuration.accessToken;
|
|
92
|
+
const tokenString = yield token("BearerAuth", []);
|
|
93
|
+
if (tokenString) {
|
|
94
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
let urlPath = `/pb/ai/protocols/acp/mpp/payment-session`;
|
|
98
|
+
return {
|
|
99
|
+
path: urlPath,
|
|
100
|
+
method: 'POST',
|
|
101
|
+
headers: headerParameters,
|
|
102
|
+
query: queryParameters,
|
|
103
|
+
body: MppPaymentSessionCreateApiDTOToJSON(requestParameters['mppPaymentSessionCreateApiDTO']),
|
|
104
|
+
};
|
|
105
|
+
});
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* Creates a Stripe SetupIntent (Shared Payment Token) pre-authorizing the given amount for this tenant, and records the authorization. The returned token is presented as _meta.org.paymentauth/credential on a priced MCP tool call.
|
|
109
|
+
* IAMPP002 - Create MPP payment session
|
|
110
|
+
*/
|
|
111
|
+
iAMPP002Raw(requestParameters, initOverrides) {
|
|
112
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
113
|
+
const requestOptions = yield this.iAMPP002RequestOpts(requestParameters);
|
|
114
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
115
|
+
return new runtime.JSONApiResponse(response);
|
|
116
|
+
});
|
|
117
|
+
}
|
|
118
|
+
/**
|
|
119
|
+
* Creates a Stripe SetupIntent (Shared Payment Token) pre-authorizing the given amount for this tenant, and records the authorization. The returned token is presented as _meta.org.paymentauth/credential on a priced MCP tool call.
|
|
120
|
+
* IAMPP002 - Create MPP payment session
|
|
121
|
+
*/
|
|
122
|
+
iAMPP002(requestParameters, initOverrides) {
|
|
123
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
124
|
+
const response = yield this.iAMPP002Raw(requestParameters, initOverrides);
|
|
125
|
+
return yield response.value();
|
|
126
|
+
});
|
|
127
|
+
}
|
|
128
|
+
/**
|
|
129
|
+
* Creates request options for iAMPP003 without sending the request
|
|
130
|
+
*/
|
|
131
|
+
iAMPP003RequestOpts(requestParameters) {
|
|
132
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
133
|
+
if (requestParameters['receiptId'] == null) {
|
|
134
|
+
throw new runtime.RequiredError('receiptId', 'Required parameter "receiptId" was null or undefined when calling iAMPP003().');
|
|
135
|
+
}
|
|
136
|
+
const queryParameters = {};
|
|
137
|
+
const headerParameters = {};
|
|
138
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
139
|
+
const token = this.configuration.accessToken;
|
|
140
|
+
const tokenString = yield token("BearerAuth", []);
|
|
141
|
+
if (tokenString) {
|
|
142
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
let urlPath = `/pb/ai/protocols/acp/mpp/receipts/{receiptId}`;
|
|
146
|
+
urlPath = urlPath.replace('{receiptId}', encodeURIComponent(String(requestParameters['receiptId'])));
|
|
147
|
+
return {
|
|
148
|
+
path: urlPath,
|
|
149
|
+
method: 'GET',
|
|
150
|
+
headers: headerParameters,
|
|
151
|
+
query: queryParameters,
|
|
152
|
+
};
|
|
153
|
+
});
|
|
154
|
+
}
|
|
155
|
+
/**
|
|
156
|
+
* Retrieves an MPP payment receipt by its UUID. Receipts are issued when a Shared Payment Token is spent, and are also returned inline on the tool result as _meta.org.paymentauth/receipt.
|
|
157
|
+
* IAMPP003 - Get MPP payment receipt
|
|
158
|
+
*/
|
|
159
|
+
iAMPP003Raw(requestParameters, initOverrides) {
|
|
160
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
161
|
+
const requestOptions = yield this.iAMPP003RequestOpts(requestParameters);
|
|
162
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
163
|
+
return new runtime.JSONApiResponse(response);
|
|
164
|
+
});
|
|
165
|
+
}
|
|
166
|
+
/**
|
|
167
|
+
* Retrieves an MPP payment receipt by its UUID. Receipts are issued when a Shared Payment Token is spent, and are also returned inline on the tool result as _meta.org.paymentauth/receipt.
|
|
168
|
+
* IAMPP003 - Get MPP payment receipt
|
|
169
|
+
*/
|
|
170
|
+
iAMPP003(requestParameters, initOverrides) {
|
|
171
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
172
|
+
const response = yield this.iAMPP003Raw(requestParameters, initOverrides);
|
|
173
|
+
return yield response.value();
|
|
174
|
+
});
|
|
175
|
+
}
|
|
78
176
|
}
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* Mirrors the canonical Java `ext/Telemetry`.
|
|
9
9
|
*/
|
|
10
10
|
/** Kept in sync with `vergefySdkVersion` (the published artifact version). */
|
|
11
|
-
export const VERSION = '0.3.
|
|
11
|
+
export const VERSION = '0.3.4';
|
|
12
12
|
const NAME = 'vergefy-typescript-client';
|
|
13
13
|
/** The `User-Agent` value, e.g. `vergefy-typescript-client/0.1.0`. */
|
|
14
14
|
export function userAgent() {
|
|
@@ -0,0 +1,45 @@
|
|
|
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
|
+
/**
|
|
15
|
+
* Check if a given object implements the MppPaymentSessionCreateApiDTO interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfMppPaymentSessionCreateApiDTO(value) {
|
|
18
|
+
if (!('amount' in value) || value['amount'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
return true;
|
|
21
|
+
}
|
|
22
|
+
export function MppPaymentSessionCreateApiDTOFromJSON(json) {
|
|
23
|
+
return MppPaymentSessionCreateApiDTOFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
export function MppPaymentSessionCreateApiDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if (json == null) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'amount': json['amount'],
|
|
31
|
+
'currencyCode': json['currencyCode'] == null ? undefined : json['currencyCode'],
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
export function MppPaymentSessionCreateApiDTOToJSON(json) {
|
|
35
|
+
return MppPaymentSessionCreateApiDTOToJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
export function MppPaymentSessionCreateApiDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
38
|
+
if (value == null) {
|
|
39
|
+
return value;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'amount': value['amount'],
|
|
43
|
+
'currencyCode': value['currencyCode'],
|
|
44
|
+
};
|
|
45
|
+
}
|
package/dist/esm/models/index.js
CHANGED
|
@@ -1119,6 +1119,7 @@ export * from './MessageCreateDTO';
|
|
|
1119
1119
|
export * from './MessageDTO';
|
|
1120
1120
|
export * from './MetricDataDTO';
|
|
1121
1121
|
export * from './MetricDefinitionDTO';
|
|
1122
|
+
export * from './MppPaymentSessionCreateApiDTO';
|
|
1122
1123
|
export * from './MultiAgentChatSessionCreateDTO';
|
|
1123
1124
|
export * from './MultiAgentChatSessionDTO';
|
|
1124
1125
|
export * from './MultiAgentChatSessionUpdateDTO';
|
package/dist/ext/telemetry.d.ts
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* Mirrors the canonical Java `ext/Telemetry`.
|
|
7
7
|
*/
|
|
8
8
|
/** Kept in sync with `vergefySdkVersion` (the published artifact version). */
|
|
9
|
-
export declare const VERSION = "0.3.
|
|
9
|
+
export declare const VERSION = "0.3.4";
|
|
10
10
|
/** The `User-Agent` value, e.g. `vergefy-typescript-client/0.1.0`. */
|
|
11
11
|
export declare function userAgent(): string;
|
|
12
12
|
/** The structured `X-Vergefy-Client-User-Agent` JSON header value. */
|
package/dist/ext/telemetry.js
CHANGED
|
@@ -14,7 +14,7 @@ exports.userAgent = userAgent;
|
|
|
14
14
|
exports.clientInfo = clientInfo;
|
|
15
15
|
exports.telemetryHeaders = telemetryHeaders;
|
|
16
16
|
/** Kept in sync with `vergefySdkVersion` (the published artifact version). */
|
|
17
|
-
exports.VERSION = '0.3.
|
|
17
|
+
exports.VERSION = '0.3.4';
|
|
18
18
|
const NAME = 'vergefy-typescript-client';
|
|
19
19
|
/** The `User-Agent` value, e.g. `vergefy-typescript-client/0.1.0`. */
|
|
20
20
|
function userAgent() {
|
|
@@ -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
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface MppPaymentSessionCreateApiDTO
|
|
16
|
+
*/
|
|
17
|
+
export interface MppPaymentSessionCreateApiDTO {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof MppPaymentSessionCreateApiDTO
|
|
22
|
+
*/
|
|
23
|
+
amount: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof MppPaymentSessionCreateApiDTO
|
|
28
|
+
*/
|
|
29
|
+
currencyCode?: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the MppPaymentSessionCreateApiDTO interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfMppPaymentSessionCreateApiDTO(value: object): value is MppPaymentSessionCreateApiDTO;
|
|
35
|
+
export declare function MppPaymentSessionCreateApiDTOFromJSON(json: any): MppPaymentSessionCreateApiDTO;
|
|
36
|
+
export declare function MppPaymentSessionCreateApiDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): MppPaymentSessionCreateApiDTO;
|
|
37
|
+
export declare function MppPaymentSessionCreateApiDTOToJSON(json: any): MppPaymentSessionCreateApiDTO;
|
|
38
|
+
export declare function MppPaymentSessionCreateApiDTOToJSONTyped(value?: MppPaymentSessionCreateApiDTO | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,52 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfMppPaymentSessionCreateApiDTO = instanceOfMppPaymentSessionCreateApiDTO;
|
|
17
|
+
exports.MppPaymentSessionCreateApiDTOFromJSON = MppPaymentSessionCreateApiDTOFromJSON;
|
|
18
|
+
exports.MppPaymentSessionCreateApiDTOFromJSONTyped = MppPaymentSessionCreateApiDTOFromJSONTyped;
|
|
19
|
+
exports.MppPaymentSessionCreateApiDTOToJSON = MppPaymentSessionCreateApiDTOToJSON;
|
|
20
|
+
exports.MppPaymentSessionCreateApiDTOToJSONTyped = MppPaymentSessionCreateApiDTOToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the MppPaymentSessionCreateApiDTO interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfMppPaymentSessionCreateApiDTO(value) {
|
|
25
|
+
if (!('amount' in value) || value['amount'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function MppPaymentSessionCreateApiDTOFromJSON(json) {
|
|
30
|
+
return MppPaymentSessionCreateApiDTOFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function MppPaymentSessionCreateApiDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'amount': json['amount'],
|
|
38
|
+
'currencyCode': json['currencyCode'] == null ? undefined : json['currencyCode'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function MppPaymentSessionCreateApiDTOToJSON(json) {
|
|
42
|
+
return MppPaymentSessionCreateApiDTOToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function MppPaymentSessionCreateApiDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'amount': value['amount'],
|
|
50
|
+
'currencyCode': value['currencyCode'],
|
|
51
|
+
};
|
|
52
|
+
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -1117,6 +1117,7 @@ export * from './MessageCreateDTO';
|
|
|
1117
1117
|
export * from './MessageDTO';
|
|
1118
1118
|
export * from './MetricDataDTO';
|
|
1119
1119
|
export * from './MetricDefinitionDTO';
|
|
1120
|
+
export * from './MppPaymentSessionCreateApiDTO';
|
|
1120
1121
|
export * from './MultiAgentChatSessionCreateDTO';
|
|
1121
1122
|
export * from './MultiAgentChatSessionDTO';
|
|
1122
1123
|
export * from './MultiAgentChatSessionUpdateDTO';
|
package/dist/models/index.js
CHANGED
|
@@ -1135,6 +1135,7 @@ __exportStar(require("./MessageCreateDTO"), exports);
|
|
|
1135
1135
|
__exportStar(require("./MessageDTO"), exports);
|
|
1136
1136
|
__exportStar(require("./MetricDataDTO"), exports);
|
|
1137
1137
|
__exportStar(require("./MetricDefinitionDTO"), exports);
|
|
1138
|
+
__exportStar(require("./MppPaymentSessionCreateApiDTO"), exports);
|
|
1138
1139
|
__exportStar(require("./MultiAgentChatSessionCreateDTO"), exports);
|
|
1139
1140
|
__exportStar(require("./MultiAgentChatSessionDTO"), exports);
|
|
1140
1141
|
__exportStar(require("./MultiAgentChatSessionUpdateDTO"), exports);
|
package/package.json
CHANGED