@integrahub/vergefy-client 0.4.0 → 0.5.1

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 (53) hide show
  1. package/README.md +2 -2
  2. package/dist/apis/APPPACAccountingApi.d.ts +21 -0
  3. package/dist/apis/APPPACAccountingApi.js +60 -0
  4. package/dist/apis/APPPBKABookingAvailabilityRequestApi.d.ts +153 -0
  5. package/dist/apis/APPPBKABookingAvailabilityRequestApi.js +432 -0
  6. package/dist/apis/PUBLICPBKABookingAvailabilityApi.d.ts +54 -0
  7. package/dist/apis/PUBLICPBKABookingAvailabilityApi.js +135 -0
  8. package/dist/apis/index.d.ts +2 -0
  9. package/dist/apis/index.js +2 -0
  10. package/dist/esm/apis/APPPACAccountingApi.js +60 -0
  11. package/dist/esm/apis/APPPBKABookingAvailabilityRequestApi.js +428 -0
  12. package/dist/esm/apis/PUBLICPBKABookingAvailabilityApi.js +131 -0
  13. package/dist/esm/apis/index.js +2 -0
  14. package/dist/esm/ext/telemetry.js +1 -1
  15. package/dist/esm/models/BookingAvailabilityConfirmDTO.js +47 -0
  16. package/dist/esm/models/BookingAvailabilityRequestCreateDTO.js +55 -0
  17. package/dist/esm/models/BookingAvailabilityRequestDTO.js +115 -0
  18. package/dist/esm/models/BookingAvailabilityRequestSearchDTO.js +63 -0
  19. package/dist/esm/models/BookingAvailabilitySubmitDTO.js +48 -0
  20. package/dist/esm/models/BookingAvailabilityWindowDTO.js +84 -0
  21. package/dist/esm/models/ConsolidationEntityDTO.js +45 -0
  22. package/dist/esm/models/DataResponseDTOListConsolidationEntityDTO.js +42 -0
  23. package/dist/esm/models/PageBookingAvailabilityRequestDTO.js +64 -0
  24. package/dist/esm/models/PublicBookingAvailabilityDTO.js +66 -0
  25. package/dist/esm/models/Window.js +51 -0
  26. package/dist/esm/models/index.js +11 -0
  27. package/dist/ext/telemetry.d.ts +1 -1
  28. package/dist/ext/telemetry.js +1 -1
  29. package/dist/models/BookingAvailabilityConfirmDTO.d.ts +44 -0
  30. package/dist/models/BookingAvailabilityConfirmDTO.js +54 -0
  31. package/dist/models/BookingAvailabilityRequestCreateDTO.d.ts +62 -0
  32. package/dist/models/BookingAvailabilityRequestCreateDTO.js +62 -0
  33. package/dist/models/BookingAvailabilityRequestDTO.d.ts +212 -0
  34. package/dist/models/BookingAvailabilityRequestDTO.js +123 -0
  35. package/dist/models/BookingAvailabilityRequestSearchDTO.d.ts +79 -0
  36. package/dist/models/BookingAvailabilityRequestSearchDTO.js +71 -0
  37. package/dist/models/BookingAvailabilitySubmitDTO.d.ts +39 -0
  38. package/dist/models/BookingAvailabilitySubmitDTO.js +55 -0
  39. package/dist/models/BookingAvailabilityWindowDTO.d.ts +140 -0
  40. package/dist/models/BookingAvailabilityWindowDTO.js +92 -0
  41. package/dist/models/ConsolidationEntityDTO.d.ts +44 -0
  42. package/dist/models/ConsolidationEntityDTO.js +52 -0
  43. package/dist/models/DataResponseDTOListConsolidationEntityDTO.d.ts +33 -0
  44. package/dist/models/DataResponseDTOListConsolidationEntityDTO.js +49 -0
  45. package/dist/models/PageBookingAvailabilityRequestDTO.d.ts +95 -0
  46. package/dist/models/PageBookingAvailabilityRequestDTO.js +71 -0
  47. package/dist/models/PublicBookingAvailabilityDTO.d.ts +86 -0
  48. package/dist/models/PublicBookingAvailabilityDTO.js +74 -0
  49. package/dist/models/Window.d.ts +44 -0
  50. package/dist/models/Window.js +58 -0
  51. package/dist/models/index.d.ts +11 -0
  52. package/dist/models/index.js +11 -0
  53. package/package.json +1 -1
@@ -0,0 +1,432 @@
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.APPPBKABookingAvailabilityRequestApi = void 0;
26
+ const runtime = require("../runtime");
27
+ const BookingAvailabilityConfirmDTO_1 = require("../models/BookingAvailabilityConfirmDTO");
28
+ const BookingAvailabilityRequestCreateDTO_1 = require("../models/BookingAvailabilityRequestCreateDTO");
29
+ const BookingAvailabilityRequestDTO_1 = require("../models/BookingAvailabilityRequestDTO");
30
+ const BookingAvailabilityRequestSearchDTO_1 = require("../models/BookingAvailabilityRequestSearchDTO");
31
+ const BookingDTO_1 = require("../models/BookingDTO");
32
+ const PageBookingAvailabilityRequestDTO_1 = require("../models/PageBookingAvailabilityRequestDTO");
33
+ /**
34
+ *
35
+ */
36
+ class APPPBKABookingAvailabilityRequestApi extends runtime.BaseAPI {
37
+ /**
38
+ * Creates request options for pBKA001 without sending the request
39
+ */
40
+ pBKA001RequestOpts(requestParameters) {
41
+ return __awaiter(this, void 0, void 0, function* () {
42
+ if (requestParameters['id'] == null) {
43
+ throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling pBKA001().');
44
+ }
45
+ if (requestParameters['xAppAccountId'] == null) {
46
+ throw new runtime.RequiredError('xAppAccountId', 'Required parameter "xAppAccountId" was null or undefined when calling pBKA001().');
47
+ }
48
+ const queryParameters = {};
49
+ const headerParameters = {};
50
+ if (requestParameters['acceptLanguage'] != null) {
51
+ headerParameters['Accept-Language'] = String(requestParameters['acceptLanguage']);
52
+ }
53
+ if (requestParameters['xAppAccountId'] != null) {
54
+ headerParameters['X-App-Account-Id'] = String(requestParameters['xAppAccountId']);
55
+ }
56
+ if (requestParameters['vergefyVersion'] != null) {
57
+ headerParameters['Vergefy-Version'] = String(requestParameters['vergefyVersion']);
58
+ }
59
+ if (requestParameters['acceptTimezone'] != null) {
60
+ headerParameters['Accept-Timezone'] = String(requestParameters['acceptTimezone']);
61
+ }
62
+ if (this.configuration && this.configuration.accessToken) {
63
+ const token = this.configuration.accessToken;
64
+ const tokenString = yield token("BearerAuth", []);
65
+ if (tokenString) {
66
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
67
+ }
68
+ }
69
+ let urlPath = `/app/booking/availability-requests/{id}`;
70
+ urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
71
+ return {
72
+ path: urlPath,
73
+ method: 'GET',
74
+ headers: headerParameters,
75
+ query: queryParameters,
76
+ };
77
+ });
78
+ }
79
+ /**
80
+ * Retrieves an invitee availability request by its Id
81
+ * PBKA001 - Get Availability Request By Id
82
+ */
83
+ pBKA001Raw(requestParameters, initOverrides) {
84
+ return __awaiter(this, void 0, void 0, function* () {
85
+ const requestOptions = yield this.pBKA001RequestOpts(requestParameters);
86
+ const response = yield this.request(requestOptions, initOverrides);
87
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, BookingAvailabilityRequestDTO_1.BookingAvailabilityRequestDTOFromJSON)(jsonValue));
88
+ });
89
+ }
90
+ /**
91
+ * Retrieves an invitee availability request by its Id
92
+ * PBKA001 - Get Availability Request By Id
93
+ */
94
+ pBKA001(requestParameters, initOverrides) {
95
+ return __awaiter(this, void 0, void 0, function* () {
96
+ const response = yield this.pBKA001Raw(requestParameters, initOverrides);
97
+ return yield response.value();
98
+ });
99
+ }
100
+ /**
101
+ * Creates request options for pBKA002 without sending the request
102
+ */
103
+ pBKA002RequestOpts(requestParameters) {
104
+ return __awaiter(this, void 0, void 0, function* () {
105
+ if (requestParameters['xAppAccountId'] == null) {
106
+ throw new runtime.RequiredError('xAppAccountId', 'Required parameter "xAppAccountId" was null or undefined when calling pBKA002().');
107
+ }
108
+ if (requestParameters['bookingAvailabilityRequestSearchDTO'] == null) {
109
+ throw new runtime.RequiredError('bookingAvailabilityRequestSearchDTO', 'Required parameter "bookingAvailabilityRequestSearchDTO" was null or undefined when calling pBKA002().');
110
+ }
111
+ const queryParameters = {};
112
+ if (requestParameters['page'] != null) {
113
+ queryParameters['page'] = requestParameters['page'];
114
+ }
115
+ if (requestParameters['size'] != null) {
116
+ queryParameters['size'] = requestParameters['size'];
117
+ }
118
+ if (requestParameters['sort'] != null) {
119
+ queryParameters['sort'] = requestParameters['sort'];
120
+ }
121
+ const headerParameters = {};
122
+ headerParameters['Content-Type'] = 'application/json';
123
+ if (requestParameters['acceptLanguage'] != null) {
124
+ headerParameters['Accept-Language'] = String(requestParameters['acceptLanguage']);
125
+ }
126
+ if (requestParameters['xAppAccountId'] != null) {
127
+ headerParameters['X-App-Account-Id'] = String(requestParameters['xAppAccountId']);
128
+ }
129
+ if (requestParameters['vergefyVersion'] != null) {
130
+ headerParameters['Vergefy-Version'] = String(requestParameters['vergefyVersion']);
131
+ }
132
+ if (requestParameters['acceptTimezone'] != null) {
133
+ headerParameters['Accept-Timezone'] = String(requestParameters['acceptTimezone']);
134
+ }
135
+ if (this.configuration && this.configuration.accessToken) {
136
+ const token = this.configuration.accessToken;
137
+ const tokenString = yield token("BearerAuth", []);
138
+ if (tokenString) {
139
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
140
+ }
141
+ }
142
+ let urlPath = `/app/booking/availability-requests/search`;
143
+ return {
144
+ path: urlPath,
145
+ method: 'POST',
146
+ headers: headerParameters,
147
+ query: queryParameters,
148
+ body: (0, BookingAvailabilityRequestSearchDTO_1.BookingAvailabilityRequestSearchDTOToJSON)(requestParameters['bookingAvailabilityRequestSearchDTO']),
149
+ };
150
+ });
151
+ }
152
+ /**
153
+ * Searches invitee availability requests with filtering and pagination
154
+ * PBKA002 - Search Availability Requests
155
+ */
156
+ pBKA002Raw(requestParameters, initOverrides) {
157
+ return __awaiter(this, void 0, void 0, function* () {
158
+ const requestOptions = yield this.pBKA002RequestOpts(requestParameters);
159
+ const response = yield this.request(requestOptions, initOverrides);
160
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, PageBookingAvailabilityRequestDTO_1.PageBookingAvailabilityRequestDTOFromJSON)(jsonValue));
161
+ });
162
+ }
163
+ /**
164
+ * Searches invitee availability requests with filtering and pagination
165
+ * PBKA002 - Search Availability Requests
166
+ */
167
+ pBKA002(requestParameters, initOverrides) {
168
+ return __awaiter(this, void 0, void 0, function* () {
169
+ const response = yield this.pBKA002Raw(requestParameters, initOverrides);
170
+ return yield response.value();
171
+ });
172
+ }
173
+ /**
174
+ * Creates request options for pBKA100 without sending the request
175
+ */
176
+ pBKA100RequestOpts(requestParameters) {
177
+ return __awaiter(this, void 0, void 0, function* () {
178
+ if (requestParameters['xAppAccountId'] == null) {
179
+ throw new runtime.RequiredError('xAppAccountId', 'Required parameter "xAppAccountId" was null or undefined when calling pBKA100().');
180
+ }
181
+ if (requestParameters['bookingAvailabilityRequestCreateDTO'] == null) {
182
+ throw new runtime.RequiredError('bookingAvailabilityRequestCreateDTO', 'Required parameter "bookingAvailabilityRequestCreateDTO" was null or undefined when calling pBKA100().');
183
+ }
184
+ const queryParameters = {};
185
+ const headerParameters = {};
186
+ headerParameters['Content-Type'] = 'application/json';
187
+ if (requestParameters['acceptLanguage'] != null) {
188
+ headerParameters['Accept-Language'] = String(requestParameters['acceptLanguage']);
189
+ }
190
+ if (requestParameters['xAppAccountId'] != null) {
191
+ headerParameters['X-App-Account-Id'] = String(requestParameters['xAppAccountId']);
192
+ }
193
+ if (requestParameters['vergefyVersion'] != null) {
194
+ headerParameters['Vergefy-Version'] = String(requestParameters['vergefyVersion']);
195
+ }
196
+ if (requestParameters['acceptTimezone'] != null) {
197
+ headerParameters['Accept-Timezone'] = String(requestParameters['acceptTimezone']);
198
+ }
199
+ if (this.configuration && this.configuration.accessToken) {
200
+ const token = this.configuration.accessToken;
201
+ const tokenString = yield token("BearerAuth", []);
202
+ if (tokenString) {
203
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
204
+ }
205
+ }
206
+ let urlPath = `/app/booking/availability-requests`;
207
+ return {
208
+ path: urlPath,
209
+ method: 'POST',
210
+ headers: headerParameters,
211
+ query: queryParameters,
212
+ body: (0, BookingAvailabilityRequestCreateDTO_1.BookingAvailabilityRequestCreateDTOToJSON)(requestParameters['bookingAvailabilityRequestCreateDTO']),
213
+ };
214
+ });
215
+ }
216
+ /**
217
+ * Creates an invitee availability request for a host to ask when they are free
218
+ * PBKA100 - Create Availability Request
219
+ */
220
+ pBKA100Raw(requestParameters, initOverrides) {
221
+ return __awaiter(this, void 0, void 0, function* () {
222
+ const requestOptions = yield this.pBKA100RequestOpts(requestParameters);
223
+ const response = yield this.request(requestOptions, initOverrides);
224
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, BookingAvailabilityRequestDTO_1.BookingAvailabilityRequestDTOFromJSON)(jsonValue));
225
+ });
226
+ }
227
+ /**
228
+ * Creates an invitee availability request for a host to ask when they are free
229
+ * PBKA100 - Create Availability Request
230
+ */
231
+ pBKA100(requestParameters, initOverrides) {
232
+ return __awaiter(this, void 0, void 0, function* () {
233
+ const response = yield this.pBKA100Raw(requestParameters, initOverrides);
234
+ return yield response.value();
235
+ });
236
+ }
237
+ /**
238
+ * Creates request options for pBKA101 without sending the request
239
+ */
240
+ pBKA101RequestOpts(requestParameters) {
241
+ return __awaiter(this, void 0, void 0, function* () {
242
+ if (requestParameters['id'] == null) {
243
+ throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling pBKA101().');
244
+ }
245
+ if (requestParameters['xAppAccountId'] == null) {
246
+ throw new runtime.RequiredError('xAppAccountId', 'Required parameter "xAppAccountId" was null or undefined when calling pBKA101().');
247
+ }
248
+ const queryParameters = {};
249
+ const headerParameters = {};
250
+ if (requestParameters['acceptLanguage'] != null) {
251
+ headerParameters['Accept-Language'] = String(requestParameters['acceptLanguage']);
252
+ }
253
+ if (requestParameters['xAppAccountId'] != null) {
254
+ headerParameters['X-App-Account-Id'] = String(requestParameters['xAppAccountId']);
255
+ }
256
+ if (requestParameters['vergefyVersion'] != null) {
257
+ headerParameters['Vergefy-Version'] = String(requestParameters['vergefyVersion']);
258
+ }
259
+ if (requestParameters['acceptTimezone'] != null) {
260
+ headerParameters['Accept-Timezone'] = String(requestParameters['acceptTimezone']);
261
+ }
262
+ if (this.configuration && this.configuration.accessToken) {
263
+ const token = this.configuration.accessToken;
264
+ const tokenString = yield token("BearerAuth", []);
265
+ if (tokenString) {
266
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
267
+ }
268
+ }
269
+ let urlPath = `/app/booking/availability-requests/{id}/cancel`;
270
+ urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
271
+ return {
272
+ path: urlPath,
273
+ method: 'POST',
274
+ headers: headerParameters,
275
+ query: queryParameters,
276
+ };
277
+ });
278
+ }
279
+ /**
280
+ * Withdraws an availability request before it is confirmed
281
+ * PBKA101 - Cancel Availability Request
282
+ */
283
+ pBKA101Raw(requestParameters, initOverrides) {
284
+ return __awaiter(this, void 0, void 0, function* () {
285
+ const requestOptions = yield this.pBKA101RequestOpts(requestParameters);
286
+ const response = yield this.request(requestOptions, initOverrides);
287
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, BookingAvailabilityRequestDTO_1.BookingAvailabilityRequestDTOFromJSON)(jsonValue));
288
+ });
289
+ }
290
+ /**
291
+ * Withdraws an availability request before it is confirmed
292
+ * PBKA101 - Cancel Availability Request
293
+ */
294
+ pBKA101(requestParameters, initOverrides) {
295
+ return __awaiter(this, void 0, void 0, function* () {
296
+ const response = yield this.pBKA101Raw(requestParameters, initOverrides);
297
+ return yield response.value();
298
+ });
299
+ }
300
+ /**
301
+ * Creates request options for pBKA102 without sending the request
302
+ */
303
+ pBKA102RequestOpts(requestParameters) {
304
+ return __awaiter(this, void 0, void 0, function* () {
305
+ if (requestParameters['id'] == null) {
306
+ throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling pBKA102().');
307
+ }
308
+ if (requestParameters['xAppAccountId'] == null) {
309
+ throw new runtime.RequiredError('xAppAccountId', 'Required parameter "xAppAccountId" was null or undefined when calling pBKA102().');
310
+ }
311
+ if (requestParameters['bookingAvailabilityConfirmDTO'] == null) {
312
+ throw new runtime.RequiredError('bookingAvailabilityConfirmDTO', 'Required parameter "bookingAvailabilityConfirmDTO" was null or undefined when calling pBKA102().');
313
+ }
314
+ const queryParameters = {};
315
+ const headerParameters = {};
316
+ headerParameters['Content-Type'] = 'application/json';
317
+ if (requestParameters['acceptLanguage'] != null) {
318
+ headerParameters['Accept-Language'] = String(requestParameters['acceptLanguage']);
319
+ }
320
+ if (requestParameters['xAppAccountId'] != null) {
321
+ headerParameters['X-App-Account-Id'] = String(requestParameters['xAppAccountId']);
322
+ }
323
+ if (requestParameters['vergefyVersion'] != null) {
324
+ headerParameters['Vergefy-Version'] = String(requestParameters['vergefyVersion']);
325
+ }
326
+ if (requestParameters['acceptTimezone'] != null) {
327
+ headerParameters['Accept-Timezone'] = String(requestParameters['acceptTimezone']);
328
+ }
329
+ if (this.configuration && this.configuration.accessToken) {
330
+ const token = this.configuration.accessToken;
331
+ const tokenString = yield token("BearerAuth", []);
332
+ if (tokenString) {
333
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
334
+ }
335
+ }
336
+ let urlPath = `/app/booking/availability-requests/{id}/confirm`;
337
+ urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
338
+ return {
339
+ path: urlPath,
340
+ method: 'POST',
341
+ headers: headerParameters,
342
+ query: queryParameters,
343
+ body: (0, BookingAvailabilityConfirmDTO_1.BookingAvailabilityConfirmDTOToJSON)(requestParameters['bookingAvailabilityConfirmDTO']),
344
+ };
345
+ });
346
+ }
347
+ /**
348
+ * Confirms one of the invitee\'s submitted windows and creates a booking
349
+ * PBKA102 - Confirm Availability Request
350
+ */
351
+ pBKA102Raw(requestParameters, initOverrides) {
352
+ return __awaiter(this, void 0, void 0, function* () {
353
+ const requestOptions = yield this.pBKA102RequestOpts(requestParameters);
354
+ const response = yield this.request(requestOptions, initOverrides);
355
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, BookingDTO_1.BookingDTOFromJSON)(jsonValue));
356
+ });
357
+ }
358
+ /**
359
+ * Confirms one of the invitee\'s submitted windows and creates a booking
360
+ * PBKA102 - Confirm Availability Request
361
+ */
362
+ pBKA102(requestParameters, initOverrides) {
363
+ return __awaiter(this, void 0, void 0, function* () {
364
+ const response = yield this.pBKA102Raw(requestParameters, initOverrides);
365
+ return yield response.value();
366
+ });
367
+ }
368
+ /**
369
+ * Creates request options for pBKA103 without sending the request
370
+ */
371
+ pBKA103RequestOpts(requestParameters) {
372
+ return __awaiter(this, void 0, void 0, function* () {
373
+ if (requestParameters['id'] == null) {
374
+ throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling pBKA103().');
375
+ }
376
+ if (requestParameters['xAppAccountId'] == null) {
377
+ throw new runtime.RequiredError('xAppAccountId', 'Required parameter "xAppAccountId" was null or undefined when calling pBKA103().');
378
+ }
379
+ const queryParameters = {};
380
+ const headerParameters = {};
381
+ if (requestParameters['acceptLanguage'] != null) {
382
+ headerParameters['Accept-Language'] = String(requestParameters['acceptLanguage']);
383
+ }
384
+ if (requestParameters['xAppAccountId'] != null) {
385
+ headerParameters['X-App-Account-Id'] = String(requestParameters['xAppAccountId']);
386
+ }
387
+ if (requestParameters['vergefyVersion'] != null) {
388
+ headerParameters['Vergefy-Version'] = String(requestParameters['vergefyVersion']);
389
+ }
390
+ if (requestParameters['acceptTimezone'] != null) {
391
+ headerParameters['Accept-Timezone'] = String(requestParameters['acceptTimezone']);
392
+ }
393
+ if (this.configuration && this.configuration.accessToken) {
394
+ const token = this.configuration.accessToken;
395
+ const tokenString = yield token("BearerAuth", []);
396
+ if (tokenString) {
397
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
398
+ }
399
+ }
400
+ let urlPath = `/app/booking/availability-requests/{id}/resend`;
401
+ urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
402
+ return {
403
+ path: urlPath,
404
+ method: 'POST',
405
+ headers: headerParameters,
406
+ query: queryParameters,
407
+ };
408
+ });
409
+ }
410
+ /**
411
+ * Resends the invitee link for an availability request
412
+ * PBKA103 - Resend Availability Request Invite
413
+ */
414
+ pBKA103Raw(requestParameters, initOverrides) {
415
+ return __awaiter(this, void 0, void 0, function* () {
416
+ const requestOptions = yield this.pBKA103RequestOpts(requestParameters);
417
+ const response = yield this.request(requestOptions, initOverrides);
418
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, BookingAvailabilityRequestDTO_1.BookingAvailabilityRequestDTOFromJSON)(jsonValue));
419
+ });
420
+ }
421
+ /**
422
+ * Resends the invitee link for an availability request
423
+ * PBKA103 - Resend Availability Request Invite
424
+ */
425
+ pBKA103(requestParameters, initOverrides) {
426
+ return __awaiter(this, void 0, void 0, function* () {
427
+ const response = yield this.pBKA103Raw(requestParameters, initOverrides);
428
+ return yield response.value();
429
+ });
430
+ }
431
+ }
432
+ exports.APPPBKABookingAvailabilityRequestApi = APPPBKABookingAvailabilityRequestApi;
@@ -0,0 +1,54 @@
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 BookingAvailabilitySubmitDTO } from '../models/BookingAvailabilitySubmitDTO';
14
+ import { type PublicBookingAvailabilityDTO } from '../models/PublicBookingAvailabilityDTO';
15
+ export interface PBKA850Request {
16
+ token: string;
17
+ }
18
+ export interface PBKA851Request {
19
+ token: string;
20
+ bookingAvailabilitySubmitDTO: BookingAvailabilitySubmitDTO;
21
+ }
22
+ /**
23
+ *
24
+ */
25
+ export declare class PUBLICPBKABookingAvailabilityApi extends runtime.BaseAPI {
26
+ /**
27
+ * Creates request options for pBKA850 without sending the request
28
+ */
29
+ pBKA850RequestOpts(requestParameters: PBKA850Request): Promise<runtime.RequestOpts>;
30
+ /**
31
+ * Anonymous: resolves an availability request by its invitee token
32
+ * PBKA850 - Get Public Availability Request
33
+ */
34
+ pBKA850Raw(requestParameters: PBKA850Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PublicBookingAvailabilityDTO>>;
35
+ /**
36
+ * Anonymous: resolves an availability request by its invitee token
37
+ * PBKA850 - Get Public Availability Request
38
+ */
39
+ pBKA850(requestParameters: PBKA850Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PublicBookingAvailabilityDTO>;
40
+ /**
41
+ * Creates request options for pBKA851 without sending the request
42
+ */
43
+ pBKA851RequestOpts(requestParameters: PBKA851Request): Promise<runtime.RequestOpts>;
44
+ /**
45
+ * Anonymous: invitee submits the full replacement set of availability windows
46
+ * PBKA851 - Submit Public Availability
47
+ */
48
+ pBKA851Raw(requestParameters: PBKA851Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PublicBookingAvailabilityDTO>>;
49
+ /**
50
+ * Anonymous: invitee submits the full replacement set of availability windows
51
+ * PBKA851 - Submit Public Availability
52
+ */
53
+ pBKA851(requestParameters: PBKA851Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PublicBookingAvailabilityDTO>;
54
+ }
@@ -0,0 +1,135 @@
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.PUBLICPBKABookingAvailabilityApi = void 0;
26
+ const runtime = require("../runtime");
27
+ const BookingAvailabilitySubmitDTO_1 = require("../models/BookingAvailabilitySubmitDTO");
28
+ const PublicBookingAvailabilityDTO_1 = require("../models/PublicBookingAvailabilityDTO");
29
+ /**
30
+ *
31
+ */
32
+ class PUBLICPBKABookingAvailabilityApi extends runtime.BaseAPI {
33
+ /**
34
+ * Creates request options for pBKA850 without sending the request
35
+ */
36
+ pBKA850RequestOpts(requestParameters) {
37
+ return __awaiter(this, void 0, void 0, function* () {
38
+ if (requestParameters['token'] == null) {
39
+ throw new runtime.RequiredError('token', 'Required parameter "token" was null or undefined when calling pBKA850().');
40
+ }
41
+ const queryParameters = {};
42
+ const headerParameters = {};
43
+ if (this.configuration && this.configuration.accessToken) {
44
+ const token = this.configuration.accessToken;
45
+ const tokenString = yield token("BearerAuth", []);
46
+ if (tokenString) {
47
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
48
+ }
49
+ }
50
+ let urlPath = `/pb/app/booking/availability/{token}`;
51
+ urlPath = urlPath.replace('{token}', encodeURIComponent(String(requestParameters['token'])));
52
+ return {
53
+ path: urlPath,
54
+ method: 'GET',
55
+ headers: headerParameters,
56
+ query: queryParameters,
57
+ };
58
+ });
59
+ }
60
+ /**
61
+ * Anonymous: resolves an availability request by its invitee token
62
+ * PBKA850 - Get Public Availability Request
63
+ */
64
+ pBKA850Raw(requestParameters, initOverrides) {
65
+ return __awaiter(this, void 0, void 0, function* () {
66
+ const requestOptions = yield this.pBKA850RequestOpts(requestParameters);
67
+ const response = yield this.request(requestOptions, initOverrides);
68
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, PublicBookingAvailabilityDTO_1.PublicBookingAvailabilityDTOFromJSON)(jsonValue));
69
+ });
70
+ }
71
+ /**
72
+ * Anonymous: resolves an availability request by its invitee token
73
+ * PBKA850 - Get Public Availability Request
74
+ */
75
+ pBKA850(requestParameters, initOverrides) {
76
+ return __awaiter(this, void 0, void 0, function* () {
77
+ const response = yield this.pBKA850Raw(requestParameters, initOverrides);
78
+ return yield response.value();
79
+ });
80
+ }
81
+ /**
82
+ * Creates request options for pBKA851 without sending the request
83
+ */
84
+ pBKA851RequestOpts(requestParameters) {
85
+ return __awaiter(this, void 0, void 0, function* () {
86
+ if (requestParameters['token'] == null) {
87
+ throw new runtime.RequiredError('token', 'Required parameter "token" was null or undefined when calling pBKA851().');
88
+ }
89
+ if (requestParameters['bookingAvailabilitySubmitDTO'] == null) {
90
+ throw new runtime.RequiredError('bookingAvailabilitySubmitDTO', 'Required parameter "bookingAvailabilitySubmitDTO" was null or undefined when calling pBKA851().');
91
+ }
92
+ const queryParameters = {};
93
+ const headerParameters = {};
94
+ headerParameters['Content-Type'] = 'application/json';
95
+ if (this.configuration && this.configuration.accessToken) {
96
+ const token = this.configuration.accessToken;
97
+ const tokenString = yield token("BearerAuth", []);
98
+ if (tokenString) {
99
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
100
+ }
101
+ }
102
+ let urlPath = `/pb/app/booking/availability/{token}`;
103
+ urlPath = urlPath.replace('{token}', encodeURIComponent(String(requestParameters['token'])));
104
+ return {
105
+ path: urlPath,
106
+ method: 'PUT',
107
+ headers: headerParameters,
108
+ query: queryParameters,
109
+ body: (0, BookingAvailabilitySubmitDTO_1.BookingAvailabilitySubmitDTOToJSON)(requestParameters['bookingAvailabilitySubmitDTO']),
110
+ };
111
+ });
112
+ }
113
+ /**
114
+ * Anonymous: invitee submits the full replacement set of availability windows
115
+ * PBKA851 - Submit Public Availability
116
+ */
117
+ pBKA851Raw(requestParameters, initOverrides) {
118
+ return __awaiter(this, void 0, void 0, function* () {
119
+ const requestOptions = yield this.pBKA851RequestOpts(requestParameters);
120
+ const response = yield this.request(requestOptions, initOverrides);
121
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, PublicBookingAvailabilityDTO_1.PublicBookingAvailabilityDTOFromJSON)(jsonValue));
122
+ });
123
+ }
124
+ /**
125
+ * Anonymous: invitee submits the full replacement set of availability windows
126
+ * PBKA851 - Submit Public Availability
127
+ */
128
+ pBKA851(requestParameters, initOverrides) {
129
+ return __awaiter(this, void 0, void 0, function* () {
130
+ const response = yield this.pBKA851Raw(requestParameters, initOverrides);
131
+ return yield response.value();
132
+ });
133
+ }
134
+ }
135
+ exports.PUBLICPBKABookingAvailabilityApi = PUBLICPBKABookingAvailabilityApi;
@@ -177,6 +177,7 @@ export * from './APPPAFPOAffiliatePayoutApi';
177
177
  export * from './APPPAFPUBAffiliatePublicApi';
178
178
  export * from './APPPAFTAffiliateProgramTierApi';
179
179
  export * from './APPPAFTHAffiliateTierHistoryApi';
180
+ export * from './APPPBKABookingAvailabilityRequestApi';
180
181
  export * from './APPPBKBookingApi';
181
182
  export * from './APPPBKBookingManagementHostApi';
182
183
  export * from './APPPBKBookingNotificationReminderApi';
@@ -312,3 +313,4 @@ export * from './PLATFORMMCPOAuthQueryApi';
312
313
  export * from './PLATFORMPICPlatformIntegrationCallLogApi';
313
314
  export * from './PLATFORMPTCPlatformTenantConfigurationApi';
314
315
  export * from './PLATFORMRMTManagedTenantInvitationApi';
316
+ export * from './PUBLICPBKABookingAvailabilityApi';
@@ -195,6 +195,7 @@ __exportStar(require("./APPPAFPOAffiliatePayoutApi"), exports);
195
195
  __exportStar(require("./APPPAFPUBAffiliatePublicApi"), exports);
196
196
  __exportStar(require("./APPPAFTAffiliateProgramTierApi"), exports);
197
197
  __exportStar(require("./APPPAFTHAffiliateTierHistoryApi"), exports);
198
+ __exportStar(require("./APPPBKABookingAvailabilityRequestApi"), exports);
198
199
  __exportStar(require("./APPPBKBookingApi"), exports);
199
200
  __exportStar(require("./APPPBKBookingManagementHostApi"), exports);
200
201
  __exportStar(require("./APPPBKBookingNotificationReminderApi"), exports);
@@ -330,3 +331,4 @@ __exportStar(require("./PLATFORMMCPOAuthQueryApi"), exports);
330
331
  __exportStar(require("./PLATFORMPICPlatformIntegrationCallLogApi"), exports);
331
332
  __exportStar(require("./PLATFORMPTCPlatformTenantConfigurationApi"), exports);
332
333
  __exportStar(require("./PLATFORMRMTManagedTenantInvitationApi"), exports);
334
+ __exportStar(require("./PUBLICPBKABookingAvailabilityApi"), exports);