@integrahub/vergefy-client 0.4.0 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. package/README.md +2 -2
  2. package/dist/apis/APPPBKABookingAvailabilityRequestApi.d.ts +153 -0
  3. package/dist/apis/APPPBKABookingAvailabilityRequestApi.js +432 -0
  4. package/dist/apis/PUBLICPBKABookingAvailabilityApi.d.ts +54 -0
  5. package/dist/apis/PUBLICPBKABookingAvailabilityApi.js +135 -0
  6. package/dist/apis/index.d.ts +2 -0
  7. package/dist/apis/index.js +2 -0
  8. package/dist/esm/apis/APPPBKABookingAvailabilityRequestApi.js +428 -0
  9. package/dist/esm/apis/PUBLICPBKABookingAvailabilityApi.js +131 -0
  10. package/dist/esm/apis/index.js +2 -0
  11. package/dist/esm/ext/telemetry.js +1 -1
  12. package/dist/esm/models/BookingAvailabilityConfirmDTO.js +47 -0
  13. package/dist/esm/models/BookingAvailabilityRequestCreateDTO.js +55 -0
  14. package/dist/esm/models/BookingAvailabilityRequestDTO.js +115 -0
  15. package/dist/esm/models/BookingAvailabilityRequestSearchDTO.js +63 -0
  16. package/dist/esm/models/BookingAvailabilitySubmitDTO.js +48 -0
  17. package/dist/esm/models/BookingAvailabilityWindowDTO.js +84 -0
  18. package/dist/esm/models/PageBookingAvailabilityRequestDTO.js +64 -0
  19. package/dist/esm/models/PublicBookingAvailabilityDTO.js +66 -0
  20. package/dist/esm/models/Window.js +51 -0
  21. package/dist/esm/models/index.js +9 -0
  22. package/dist/ext/telemetry.d.ts +1 -1
  23. package/dist/ext/telemetry.js +1 -1
  24. package/dist/models/BookingAvailabilityConfirmDTO.d.ts +44 -0
  25. package/dist/models/BookingAvailabilityConfirmDTO.js +54 -0
  26. package/dist/models/BookingAvailabilityRequestCreateDTO.d.ts +62 -0
  27. package/dist/models/BookingAvailabilityRequestCreateDTO.js +62 -0
  28. package/dist/models/BookingAvailabilityRequestDTO.d.ts +212 -0
  29. package/dist/models/BookingAvailabilityRequestDTO.js +123 -0
  30. package/dist/models/BookingAvailabilityRequestSearchDTO.d.ts +79 -0
  31. package/dist/models/BookingAvailabilityRequestSearchDTO.js +71 -0
  32. package/dist/models/BookingAvailabilitySubmitDTO.d.ts +39 -0
  33. package/dist/models/BookingAvailabilitySubmitDTO.js +55 -0
  34. package/dist/models/BookingAvailabilityWindowDTO.d.ts +140 -0
  35. package/dist/models/BookingAvailabilityWindowDTO.js +92 -0
  36. package/dist/models/PageBookingAvailabilityRequestDTO.d.ts +95 -0
  37. package/dist/models/PageBookingAvailabilityRequestDTO.js +71 -0
  38. package/dist/models/PublicBookingAvailabilityDTO.d.ts +86 -0
  39. package/dist/models/PublicBookingAvailabilityDTO.js +74 -0
  40. package/dist/models/Window.d.ts +44 -0
  41. package/dist/models/Window.js +58 -0
  42. package/dist/models/index.d.ts +9 -0
  43. package/dist/models/index.js +9 -0
  44. package/package.json +1 -1
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @integrahub/vergefy-client@0.4.0
1
+ # @integrahub/vergefy-client@0.5.0
2
2
 
3
3
  A TypeScript SDK client for the your-vergefy-host.invalid API.
4
4
 
@@ -90,7 +90,7 @@ and is automatically generated by the
90
90
  [OpenAPI Generator](https://openapi-generator.tech) project:
91
91
 
92
92
  - API version: `2026-05-30`
93
- - Package version: `0.4.0`
93
+ - Package version: `0.5.0`
94
94
  - Generator version: `7.22.0`
95
95
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
96
96
 
@@ -0,0 +1,153 @@
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 BookingAvailabilityConfirmDTO } from '../models/BookingAvailabilityConfirmDTO';
14
+ import { type BookingAvailabilityRequestCreateDTO } from '../models/BookingAvailabilityRequestCreateDTO';
15
+ import { type BookingAvailabilityRequestDTO } from '../models/BookingAvailabilityRequestDTO';
16
+ import { type BookingAvailabilityRequestSearchDTO } from '../models/BookingAvailabilityRequestSearchDTO';
17
+ import { type BookingDTO } from '../models/BookingDTO';
18
+ import { type PageBookingAvailabilityRequestDTO } from '../models/PageBookingAvailabilityRequestDTO';
19
+ export interface PBKA001Request {
20
+ id: string;
21
+ xAppAccountId: string;
22
+ acceptLanguage?: string;
23
+ vergefyVersion?: string;
24
+ acceptTimezone?: string;
25
+ }
26
+ export interface PBKA002Request {
27
+ xAppAccountId: string;
28
+ bookingAvailabilityRequestSearchDTO: BookingAvailabilityRequestSearchDTO;
29
+ page?: number;
30
+ size?: number;
31
+ sort?: Array<string>;
32
+ acceptLanguage?: string;
33
+ vergefyVersion?: string;
34
+ acceptTimezone?: string;
35
+ }
36
+ export interface PBKA100Request {
37
+ xAppAccountId: string;
38
+ bookingAvailabilityRequestCreateDTO: BookingAvailabilityRequestCreateDTO;
39
+ acceptLanguage?: string;
40
+ vergefyVersion?: string;
41
+ acceptTimezone?: string;
42
+ }
43
+ export interface PBKA101Request {
44
+ id: string;
45
+ xAppAccountId: string;
46
+ acceptLanguage?: string;
47
+ vergefyVersion?: string;
48
+ acceptTimezone?: string;
49
+ }
50
+ export interface PBKA102Request {
51
+ id: string;
52
+ xAppAccountId: string;
53
+ bookingAvailabilityConfirmDTO: BookingAvailabilityConfirmDTO;
54
+ acceptLanguage?: string;
55
+ vergefyVersion?: string;
56
+ acceptTimezone?: string;
57
+ }
58
+ export interface PBKA103Request {
59
+ id: string;
60
+ xAppAccountId: string;
61
+ acceptLanguage?: string;
62
+ vergefyVersion?: string;
63
+ acceptTimezone?: string;
64
+ }
65
+ /**
66
+ *
67
+ */
68
+ export declare class APPPBKABookingAvailabilityRequestApi extends runtime.BaseAPI {
69
+ /**
70
+ * Creates request options for pBKA001 without sending the request
71
+ */
72
+ pBKA001RequestOpts(requestParameters: PBKA001Request): Promise<runtime.RequestOpts>;
73
+ /**
74
+ * Retrieves an invitee availability request by its Id
75
+ * PBKA001 - Get Availability Request By Id
76
+ */
77
+ pBKA001Raw(requestParameters: PBKA001Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<BookingAvailabilityRequestDTO>>;
78
+ /**
79
+ * Retrieves an invitee availability request by its Id
80
+ * PBKA001 - Get Availability Request By Id
81
+ */
82
+ pBKA001(requestParameters: PBKA001Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BookingAvailabilityRequestDTO>;
83
+ /**
84
+ * Creates request options for pBKA002 without sending the request
85
+ */
86
+ pBKA002RequestOpts(requestParameters: PBKA002Request): Promise<runtime.RequestOpts>;
87
+ /**
88
+ * Searches invitee availability requests with filtering and pagination
89
+ * PBKA002 - Search Availability Requests
90
+ */
91
+ pBKA002Raw(requestParameters: PBKA002Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PageBookingAvailabilityRequestDTO>>;
92
+ /**
93
+ * Searches invitee availability requests with filtering and pagination
94
+ * PBKA002 - Search Availability Requests
95
+ */
96
+ pBKA002(requestParameters: PBKA002Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PageBookingAvailabilityRequestDTO>;
97
+ /**
98
+ * Creates request options for pBKA100 without sending the request
99
+ */
100
+ pBKA100RequestOpts(requestParameters: PBKA100Request): Promise<runtime.RequestOpts>;
101
+ /**
102
+ * Creates an invitee availability request for a host to ask when they are free
103
+ * PBKA100 - Create Availability Request
104
+ */
105
+ pBKA100Raw(requestParameters: PBKA100Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<BookingAvailabilityRequestDTO>>;
106
+ /**
107
+ * Creates an invitee availability request for a host to ask when they are free
108
+ * PBKA100 - Create Availability Request
109
+ */
110
+ pBKA100(requestParameters: PBKA100Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BookingAvailabilityRequestDTO>;
111
+ /**
112
+ * Creates request options for pBKA101 without sending the request
113
+ */
114
+ pBKA101RequestOpts(requestParameters: PBKA101Request): Promise<runtime.RequestOpts>;
115
+ /**
116
+ * Withdraws an availability request before it is confirmed
117
+ * PBKA101 - Cancel Availability Request
118
+ */
119
+ pBKA101Raw(requestParameters: PBKA101Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<BookingAvailabilityRequestDTO>>;
120
+ /**
121
+ * Withdraws an availability request before it is confirmed
122
+ * PBKA101 - Cancel Availability Request
123
+ */
124
+ pBKA101(requestParameters: PBKA101Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BookingAvailabilityRequestDTO>;
125
+ /**
126
+ * Creates request options for pBKA102 without sending the request
127
+ */
128
+ pBKA102RequestOpts(requestParameters: PBKA102Request): Promise<runtime.RequestOpts>;
129
+ /**
130
+ * Confirms one of the invitee\'s submitted windows and creates a booking
131
+ * PBKA102 - Confirm Availability Request
132
+ */
133
+ pBKA102Raw(requestParameters: PBKA102Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<BookingDTO>>;
134
+ /**
135
+ * Confirms one of the invitee\'s submitted windows and creates a booking
136
+ * PBKA102 - Confirm Availability Request
137
+ */
138
+ pBKA102(requestParameters: PBKA102Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BookingDTO>;
139
+ /**
140
+ * Creates request options for pBKA103 without sending the request
141
+ */
142
+ pBKA103RequestOpts(requestParameters: PBKA103Request): Promise<runtime.RequestOpts>;
143
+ /**
144
+ * Resends the invitee link for an availability request
145
+ * PBKA103 - Resend Availability Request Invite
146
+ */
147
+ pBKA103Raw(requestParameters: PBKA103Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<BookingAvailabilityRequestDTO>>;
148
+ /**
149
+ * Resends the invitee link for an availability request
150
+ * PBKA103 - Resend Availability Request Invite
151
+ */
152
+ pBKA103(requestParameters: PBKA103Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BookingAvailabilityRequestDTO>;
153
+ }
@@ -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
+ }