@integrahub/vergefy-client 0.7.0 → 0.8.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 (62) hide show
  1. package/README.md +2 -2
  2. package/dist/apis/APPPBKOBookingScheduleDateOverridesApi.d.ts +127 -0
  3. package/dist/apis/APPPBKOBookingScheduleDateOverridesApi.js +357 -0
  4. package/dist/apis/APPPBKRBookingScheduleRulesApi.d.ts +127 -0
  5. package/dist/apis/APPPBKRBookingScheduleRulesApi.js +357 -0
  6. package/dist/apis/index.d.ts +2 -0
  7. package/dist/apis/index.js +2 -0
  8. package/dist/esm/apis/APPPBKOBookingScheduleDateOverridesApi.js +353 -0
  9. package/dist/esm/apis/APPPBKRBookingScheduleRulesApi.js +353 -0
  10. package/dist/esm/apis/index.js +2 -0
  11. package/dist/esm/ext/telemetry.js +1 -1
  12. package/dist/esm/models/BookingAvailabilityRequestDTO.js +2 -0
  13. package/dist/esm/models/BookingAvailabilitySubmitDTO.js +3 -3
  14. package/dist/esm/models/{Window.js → BookingAvailabilitySubmitWindow.js} +8 -8
  15. package/dist/esm/models/BookingScheduleDateOverrideCreateDTO.js +49 -0
  16. package/dist/esm/models/BookingScheduleDateOverrideDTO.js +53 -0
  17. package/dist/esm/models/BookingScheduleDateOverrideUpdateDTO.js +43 -0
  18. package/dist/{models/Window.js → esm/models/BookingScheduleRuleCreateDTO.js} +16 -19
  19. package/dist/esm/models/BookingScheduleRuleDTO.js +55 -0
  20. package/dist/esm/models/BookingScheduleRuleUpdateDTO.js +45 -0
  21. package/dist/esm/models/DataResponseDTOBookingScheduleDateOverrideDTO.js +42 -0
  22. package/dist/esm/models/DataResponseDTOBookingScheduleRuleDTO.js +42 -0
  23. package/dist/esm/models/DataResponseDTOListBookingScheduleDateOverrideDTO.js +42 -0
  24. package/dist/esm/models/DataResponseDTOListBookingScheduleRuleDTO.js +42 -0
  25. package/dist/esm/models/PublicBookingAvailabilityDTO.js +3 -3
  26. package/dist/esm/models/PublicBookingAvailabilityWindow.js +45 -0
  27. package/dist/esm/models/index.js +12 -1
  28. package/dist/ext/telemetry.d.ts +1 -1
  29. package/dist/ext/telemetry.js +1 -1
  30. package/dist/models/BookingAvailabilityRequestDTO.d.ts +6 -0
  31. package/dist/models/BookingAvailabilityRequestDTO.js +2 -0
  32. package/dist/models/BookingAvailabilitySubmitDTO.d.ts +3 -3
  33. package/dist/models/BookingAvailabilitySubmitDTO.js +3 -3
  34. package/dist/models/{Window.d.ts → BookingAvailabilitySubmitWindow.d.ts} +12 -12
  35. package/dist/models/BookingAvailabilitySubmitWindow.js +58 -0
  36. package/dist/models/BookingScheduleDateOverrideCreateDTO.d.ts +44 -0
  37. package/dist/models/BookingScheduleDateOverrideCreateDTO.js +56 -0
  38. package/dist/models/BookingScheduleDateOverrideDTO.d.ts +68 -0
  39. package/dist/models/BookingScheduleDateOverrideDTO.js +60 -0
  40. package/dist/models/BookingScheduleDateOverrideUpdateDTO.d.ts +38 -0
  41. package/dist/models/BookingScheduleDateOverrideUpdateDTO.js +50 -0
  42. package/dist/models/BookingScheduleRuleCreateDTO.d.ts +50 -0
  43. package/dist/models/BookingScheduleRuleCreateDTO.js +62 -0
  44. package/dist/models/BookingScheduleRuleDTO.d.ts +74 -0
  45. package/dist/models/BookingScheduleRuleDTO.js +62 -0
  46. package/dist/models/BookingScheduleRuleUpdateDTO.d.ts +44 -0
  47. package/dist/models/BookingScheduleRuleUpdateDTO.js +52 -0
  48. package/dist/models/DataResponseDTOBookingScheduleDateOverrideDTO.d.ts +33 -0
  49. package/dist/models/DataResponseDTOBookingScheduleDateOverrideDTO.js +49 -0
  50. package/dist/models/DataResponseDTOBookingScheduleRuleDTO.d.ts +33 -0
  51. package/dist/models/DataResponseDTOBookingScheduleRuleDTO.js +49 -0
  52. package/dist/models/DataResponseDTOListBookingScheduleDateOverrideDTO.d.ts +33 -0
  53. package/dist/models/DataResponseDTOListBookingScheduleDateOverrideDTO.js +49 -0
  54. package/dist/models/DataResponseDTOListBookingScheduleRuleDTO.d.ts +33 -0
  55. package/dist/models/DataResponseDTOListBookingScheduleRuleDTO.js +49 -0
  56. package/dist/models/PublicBookingAvailabilityDTO.d.ts +3 -3
  57. package/dist/models/PublicBookingAvailabilityDTO.js +3 -3
  58. package/dist/models/PublicBookingAvailabilityWindow.d.ts +44 -0
  59. package/dist/models/PublicBookingAvailabilityWindow.js +52 -0
  60. package/dist/models/index.d.ts +12 -1
  61. package/dist/models/index.js +12 -1
  62. package/package.json +1 -1
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @integrahub/vergefy-client@0.7.0
1
+ # @integrahub/vergefy-client@0.8.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.7.0`
93
+ - Package version: `0.8.0`
94
94
  - Generator version: `7.22.0`
95
95
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
96
96
 
@@ -0,0 +1,127 @@
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 BookingScheduleDateOverrideCreateDTO } from '../models/BookingScheduleDateOverrideCreateDTO';
14
+ import { type BookingScheduleDateOverrideUpdateDTO } from '../models/BookingScheduleDateOverrideUpdateDTO';
15
+ import { type DataResponseDTOBookingScheduleDateOverrideDTO } from '../models/DataResponseDTOBookingScheduleDateOverrideDTO';
16
+ import { type DataResponseDTOListBookingScheduleDateOverrideDTO } from '../models/DataResponseDTOListBookingScheduleDateOverrideDTO';
17
+ export interface PBKO001Request {
18
+ xAppAccountId: string;
19
+ bookingScheduleDateOverrideCreateDTO: BookingScheduleDateOverrideCreateDTO;
20
+ acceptLanguage?: string;
21
+ vergefyVersion?: string;
22
+ acceptTimezone?: string;
23
+ }
24
+ export interface PBKO002Request {
25
+ id: string;
26
+ xAppAccountId: string;
27
+ bookingScheduleDateOverrideUpdateDTO: BookingScheduleDateOverrideUpdateDTO;
28
+ acceptLanguage?: string;
29
+ vergefyVersion?: string;
30
+ acceptTimezone?: string;
31
+ }
32
+ export interface PBKO003Request {
33
+ id: string;
34
+ xAppAccountId: string;
35
+ acceptLanguage?: string;
36
+ vergefyVersion?: string;
37
+ acceptTimezone?: string;
38
+ }
39
+ export interface PBKO004Request {
40
+ id: string;
41
+ xAppAccountId: string;
42
+ acceptLanguage?: string;
43
+ vergefyVersion?: string;
44
+ acceptTimezone?: string;
45
+ }
46
+ export interface PBKO005Request {
47
+ scheduleId: string;
48
+ xAppAccountId: string;
49
+ acceptLanguage?: string;
50
+ vergefyVersion?: string;
51
+ acceptTimezone?: string;
52
+ }
53
+ /**
54
+ *
55
+ */
56
+ export declare class APPPBKOBookingScheduleDateOverridesApi extends runtime.BaseAPI {
57
+ /**
58
+ * Creates request options for pBKO001 without sending the request
59
+ */
60
+ pBKO001RequestOpts(requestParameters: PBKO001Request): Promise<runtime.RequestOpts>;
61
+ /**
62
+ * Blacks out one date for a schedule. Suppresses generation for that date whatever the weekday rules say.
63
+ * PBKO001 - Create Booking Schedule Date Override
64
+ */
65
+ pBKO001Raw(requestParameters: PBKO001Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DataResponseDTOBookingScheduleDateOverrideDTO>>;
66
+ /**
67
+ * Blacks out one date for a schedule. Suppresses generation for that date whatever the weekday rules say.
68
+ * PBKO001 - Create Booking Schedule Date Override
69
+ */
70
+ pBKO001(requestParameters: PBKO001Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DataResponseDTOBookingScheduleDateOverrideDTO>;
71
+ /**
72
+ * Creates request options for pBKO002 without sending the request
73
+ */
74
+ pBKO002RequestOpts(requestParameters: PBKO002Request): Promise<runtime.RequestOpts>;
75
+ /**
76
+ * Updates the date or the reason. The schedule cannot be changed.
77
+ * PBKO002 - Update Booking Schedule Date Override
78
+ */
79
+ pBKO002Raw(requestParameters: PBKO002Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
80
+ /**
81
+ * Updates the date or the reason. The schedule cannot be changed.
82
+ * PBKO002 - Update Booking Schedule Date Override
83
+ */
84
+ pBKO002(requestParameters: PBKO002Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
85
+ /**
86
+ * Creates request options for pBKO003 without sending the request
87
+ */
88
+ pBKO003RequestOpts(requestParameters: PBKO003Request): Promise<runtime.RequestOpts>;
89
+ /**
90
+ * Soft deletes a blackout. The date becomes bookable again on the next generation tick; slots are not back-filled immediately.
91
+ * PBKO003 - Delete Booking Schedule Date Override
92
+ */
93
+ pBKO003Raw(requestParameters: PBKO003Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
94
+ /**
95
+ * Soft deletes a blackout. The date becomes bookable again on the next generation tick; slots are not back-filled immediately.
96
+ * PBKO003 - Delete Booking Schedule Date Override
97
+ */
98
+ pBKO003(requestParameters: PBKO003Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
99
+ /**
100
+ * Creates request options for pBKO004 without sending the request
101
+ */
102
+ pBKO004RequestOpts(requestParameters: PBKO004Request): Promise<runtime.RequestOpts>;
103
+ /**
104
+ * Retrieves a single booking schedule date overrides entry by its unique identifier.
105
+ * PBKO004 - Get booking schedule date overrides by id
106
+ */
107
+ pBKO004Raw(requestParameters: PBKO004Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DataResponseDTOBookingScheduleDateOverrideDTO>>;
108
+ /**
109
+ * Retrieves a single booking schedule date overrides entry by its unique identifier.
110
+ * PBKO004 - Get booking schedule date overrides by id
111
+ */
112
+ pBKO004(requestParameters: PBKO004Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DataResponseDTOBookingScheduleDateOverrideDTO>;
113
+ /**
114
+ * Creates request options for pBKO005 without sending the request
115
+ */
116
+ pBKO005RequestOpts(requestParameters: PBKO005Request): Promise<runtime.RequestOpts>;
117
+ /**
118
+ * Lists every live entry for one schedule. Not paginated: the set is bounded by what a schedule can meaningfully hold, and a host\'s editor renders all of it at once.
119
+ * PBKO005 - List booking schedule date overrides for a schedule
120
+ */
121
+ pBKO005Raw(requestParameters: PBKO005Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DataResponseDTOListBookingScheduleDateOverrideDTO>>;
122
+ /**
123
+ * Lists every live entry for one schedule. Not paginated: the set is bounded by what a schedule can meaningfully hold, and a host\'s editor renders all of it at once.
124
+ * PBKO005 - List booking schedule date overrides for a schedule
125
+ */
126
+ pBKO005(requestParameters: PBKO005Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DataResponseDTOListBookingScheduleDateOverrideDTO>;
127
+ }
@@ -0,0 +1,357 @@
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.APPPBKOBookingScheduleDateOverridesApi = void 0;
26
+ const runtime = require("../runtime");
27
+ const BookingScheduleDateOverrideCreateDTO_1 = require("../models/BookingScheduleDateOverrideCreateDTO");
28
+ const BookingScheduleDateOverrideUpdateDTO_1 = require("../models/BookingScheduleDateOverrideUpdateDTO");
29
+ const DataResponseDTOBookingScheduleDateOverrideDTO_1 = require("../models/DataResponseDTOBookingScheduleDateOverrideDTO");
30
+ const DataResponseDTOListBookingScheduleDateOverrideDTO_1 = require("../models/DataResponseDTOListBookingScheduleDateOverrideDTO");
31
+ /**
32
+ *
33
+ */
34
+ class APPPBKOBookingScheduleDateOverridesApi extends runtime.BaseAPI {
35
+ /**
36
+ * Creates request options for pBKO001 without sending the request
37
+ */
38
+ pBKO001RequestOpts(requestParameters) {
39
+ return __awaiter(this, void 0, void 0, function* () {
40
+ if (requestParameters['xAppAccountId'] == null) {
41
+ throw new runtime.RequiredError('xAppAccountId', 'Required parameter "xAppAccountId" was null or undefined when calling pBKO001().');
42
+ }
43
+ if (requestParameters['bookingScheduleDateOverrideCreateDTO'] == null) {
44
+ throw new runtime.RequiredError('bookingScheduleDateOverrideCreateDTO', 'Required parameter "bookingScheduleDateOverrideCreateDTO" was null or undefined when calling pBKO001().');
45
+ }
46
+ const queryParameters = {};
47
+ const headerParameters = {};
48
+ headerParameters['Content-Type'] = 'application/json';
49
+ if (requestParameters['acceptLanguage'] != null) {
50
+ headerParameters['Accept-Language'] = String(requestParameters['acceptLanguage']);
51
+ }
52
+ if (requestParameters['xAppAccountId'] != null) {
53
+ headerParameters['X-App-Account-Id'] = String(requestParameters['xAppAccountId']);
54
+ }
55
+ if (requestParameters['vergefyVersion'] != null) {
56
+ headerParameters['Vergefy-Version'] = String(requestParameters['vergefyVersion']);
57
+ }
58
+ if (requestParameters['acceptTimezone'] != null) {
59
+ headerParameters['Accept-Timezone'] = String(requestParameters['acceptTimezone']);
60
+ }
61
+ if (this.configuration && this.configuration.accessToken) {
62
+ const token = this.configuration.accessToken;
63
+ const tokenString = yield token("BearerAuth", []);
64
+ if (tokenString) {
65
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
66
+ }
67
+ }
68
+ let urlPath = `/app/booking/schedule-date-overrides`;
69
+ return {
70
+ path: urlPath,
71
+ method: 'POST',
72
+ headers: headerParameters,
73
+ query: queryParameters,
74
+ body: (0, BookingScheduleDateOverrideCreateDTO_1.BookingScheduleDateOverrideCreateDTOToJSON)(requestParameters['bookingScheduleDateOverrideCreateDTO']),
75
+ };
76
+ });
77
+ }
78
+ /**
79
+ * Blacks out one date for a schedule. Suppresses generation for that date whatever the weekday rules say.
80
+ * PBKO001 - Create Booking Schedule Date Override
81
+ */
82
+ pBKO001Raw(requestParameters, initOverrides) {
83
+ return __awaiter(this, void 0, void 0, function* () {
84
+ const requestOptions = yield this.pBKO001RequestOpts(requestParameters);
85
+ const response = yield this.request(requestOptions, initOverrides);
86
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, DataResponseDTOBookingScheduleDateOverrideDTO_1.DataResponseDTOBookingScheduleDateOverrideDTOFromJSON)(jsonValue));
87
+ });
88
+ }
89
+ /**
90
+ * Blacks out one date for a schedule. Suppresses generation for that date whatever the weekday rules say.
91
+ * PBKO001 - Create Booking Schedule Date Override
92
+ */
93
+ pBKO001(requestParameters, initOverrides) {
94
+ return __awaiter(this, void 0, void 0, function* () {
95
+ const response = yield this.pBKO001Raw(requestParameters, initOverrides);
96
+ return yield response.value();
97
+ });
98
+ }
99
+ /**
100
+ * Creates request options for pBKO002 without sending the request
101
+ */
102
+ pBKO002RequestOpts(requestParameters) {
103
+ return __awaiter(this, void 0, void 0, function* () {
104
+ if (requestParameters['id'] == null) {
105
+ throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling pBKO002().');
106
+ }
107
+ if (requestParameters['xAppAccountId'] == null) {
108
+ throw new runtime.RequiredError('xAppAccountId', 'Required parameter "xAppAccountId" was null or undefined when calling pBKO002().');
109
+ }
110
+ if (requestParameters['bookingScheduleDateOverrideUpdateDTO'] == null) {
111
+ throw new runtime.RequiredError('bookingScheduleDateOverrideUpdateDTO', 'Required parameter "bookingScheduleDateOverrideUpdateDTO" was null or undefined when calling pBKO002().');
112
+ }
113
+ const queryParameters = {};
114
+ const headerParameters = {};
115
+ headerParameters['Content-Type'] = 'application/json';
116
+ if (requestParameters['acceptLanguage'] != null) {
117
+ headerParameters['Accept-Language'] = String(requestParameters['acceptLanguage']);
118
+ }
119
+ if (requestParameters['xAppAccountId'] != null) {
120
+ headerParameters['X-App-Account-Id'] = String(requestParameters['xAppAccountId']);
121
+ }
122
+ if (requestParameters['vergefyVersion'] != null) {
123
+ headerParameters['Vergefy-Version'] = String(requestParameters['vergefyVersion']);
124
+ }
125
+ if (requestParameters['acceptTimezone'] != null) {
126
+ headerParameters['Accept-Timezone'] = String(requestParameters['acceptTimezone']);
127
+ }
128
+ if (this.configuration && this.configuration.accessToken) {
129
+ const token = this.configuration.accessToken;
130
+ const tokenString = yield token("BearerAuth", []);
131
+ if (tokenString) {
132
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
133
+ }
134
+ }
135
+ let urlPath = `/app/booking/schedule-date-overrides/{id}`;
136
+ urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
137
+ return {
138
+ path: urlPath,
139
+ method: 'PUT',
140
+ headers: headerParameters,
141
+ query: queryParameters,
142
+ body: (0, BookingScheduleDateOverrideUpdateDTO_1.BookingScheduleDateOverrideUpdateDTOToJSON)(requestParameters['bookingScheduleDateOverrideUpdateDTO']),
143
+ };
144
+ });
145
+ }
146
+ /**
147
+ * Updates the date or the reason. The schedule cannot be changed.
148
+ * PBKO002 - Update Booking Schedule Date Override
149
+ */
150
+ pBKO002Raw(requestParameters, initOverrides) {
151
+ return __awaiter(this, void 0, void 0, function* () {
152
+ const requestOptions = yield this.pBKO002RequestOpts(requestParameters);
153
+ const response = yield this.request(requestOptions, initOverrides);
154
+ return new runtime.VoidApiResponse(response);
155
+ });
156
+ }
157
+ /**
158
+ * Updates the date or the reason. The schedule cannot be changed.
159
+ * PBKO002 - Update Booking Schedule Date Override
160
+ */
161
+ pBKO002(requestParameters, initOverrides) {
162
+ return __awaiter(this, void 0, void 0, function* () {
163
+ yield this.pBKO002Raw(requestParameters, initOverrides);
164
+ });
165
+ }
166
+ /**
167
+ * Creates request options for pBKO003 without sending the request
168
+ */
169
+ pBKO003RequestOpts(requestParameters) {
170
+ return __awaiter(this, void 0, void 0, function* () {
171
+ if (requestParameters['id'] == null) {
172
+ throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling pBKO003().');
173
+ }
174
+ if (requestParameters['xAppAccountId'] == null) {
175
+ throw new runtime.RequiredError('xAppAccountId', 'Required parameter "xAppAccountId" was null or undefined when calling pBKO003().');
176
+ }
177
+ const queryParameters = {};
178
+ const headerParameters = {};
179
+ if (requestParameters['acceptLanguage'] != null) {
180
+ headerParameters['Accept-Language'] = String(requestParameters['acceptLanguage']);
181
+ }
182
+ if (requestParameters['xAppAccountId'] != null) {
183
+ headerParameters['X-App-Account-Id'] = String(requestParameters['xAppAccountId']);
184
+ }
185
+ if (requestParameters['vergefyVersion'] != null) {
186
+ headerParameters['Vergefy-Version'] = String(requestParameters['vergefyVersion']);
187
+ }
188
+ if (requestParameters['acceptTimezone'] != null) {
189
+ headerParameters['Accept-Timezone'] = String(requestParameters['acceptTimezone']);
190
+ }
191
+ if (this.configuration && this.configuration.accessToken) {
192
+ const token = this.configuration.accessToken;
193
+ const tokenString = yield token("BearerAuth", []);
194
+ if (tokenString) {
195
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
196
+ }
197
+ }
198
+ let urlPath = `/app/booking/schedule-date-overrides/{id}`;
199
+ urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
200
+ return {
201
+ path: urlPath,
202
+ method: 'DELETE',
203
+ headers: headerParameters,
204
+ query: queryParameters,
205
+ };
206
+ });
207
+ }
208
+ /**
209
+ * Soft deletes a blackout. The date becomes bookable again on the next generation tick; slots are not back-filled immediately.
210
+ * PBKO003 - Delete Booking Schedule Date Override
211
+ */
212
+ pBKO003Raw(requestParameters, initOverrides) {
213
+ return __awaiter(this, void 0, void 0, function* () {
214
+ const requestOptions = yield this.pBKO003RequestOpts(requestParameters);
215
+ const response = yield this.request(requestOptions, initOverrides);
216
+ return new runtime.VoidApiResponse(response);
217
+ });
218
+ }
219
+ /**
220
+ * Soft deletes a blackout. The date becomes bookable again on the next generation tick; slots are not back-filled immediately.
221
+ * PBKO003 - Delete Booking Schedule Date Override
222
+ */
223
+ pBKO003(requestParameters, initOverrides) {
224
+ return __awaiter(this, void 0, void 0, function* () {
225
+ yield this.pBKO003Raw(requestParameters, initOverrides);
226
+ });
227
+ }
228
+ /**
229
+ * Creates request options for pBKO004 without sending the request
230
+ */
231
+ pBKO004RequestOpts(requestParameters) {
232
+ return __awaiter(this, void 0, void 0, function* () {
233
+ if (requestParameters['id'] == null) {
234
+ throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling pBKO004().');
235
+ }
236
+ if (requestParameters['xAppAccountId'] == null) {
237
+ throw new runtime.RequiredError('xAppAccountId', 'Required parameter "xAppAccountId" was null or undefined when calling pBKO004().');
238
+ }
239
+ const queryParameters = {};
240
+ const headerParameters = {};
241
+ if (requestParameters['acceptLanguage'] != null) {
242
+ headerParameters['Accept-Language'] = String(requestParameters['acceptLanguage']);
243
+ }
244
+ if (requestParameters['xAppAccountId'] != null) {
245
+ headerParameters['X-App-Account-Id'] = String(requestParameters['xAppAccountId']);
246
+ }
247
+ if (requestParameters['vergefyVersion'] != null) {
248
+ headerParameters['Vergefy-Version'] = String(requestParameters['vergefyVersion']);
249
+ }
250
+ if (requestParameters['acceptTimezone'] != null) {
251
+ headerParameters['Accept-Timezone'] = String(requestParameters['acceptTimezone']);
252
+ }
253
+ if (this.configuration && this.configuration.accessToken) {
254
+ const token = this.configuration.accessToken;
255
+ const tokenString = yield token("BearerAuth", []);
256
+ if (tokenString) {
257
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
258
+ }
259
+ }
260
+ let urlPath = `/app/booking/schedule-date-overrides/{id}`;
261
+ urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
262
+ return {
263
+ path: urlPath,
264
+ method: 'GET',
265
+ headers: headerParameters,
266
+ query: queryParameters,
267
+ };
268
+ });
269
+ }
270
+ /**
271
+ * Retrieves a single booking schedule date overrides entry by its unique identifier.
272
+ * PBKO004 - Get booking schedule date overrides by id
273
+ */
274
+ pBKO004Raw(requestParameters, initOverrides) {
275
+ return __awaiter(this, void 0, void 0, function* () {
276
+ const requestOptions = yield this.pBKO004RequestOpts(requestParameters);
277
+ const response = yield this.request(requestOptions, initOverrides);
278
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, DataResponseDTOBookingScheduleDateOverrideDTO_1.DataResponseDTOBookingScheduleDateOverrideDTOFromJSON)(jsonValue));
279
+ });
280
+ }
281
+ /**
282
+ * Retrieves a single booking schedule date overrides entry by its unique identifier.
283
+ * PBKO004 - Get booking schedule date overrides by id
284
+ */
285
+ pBKO004(requestParameters, initOverrides) {
286
+ return __awaiter(this, void 0, void 0, function* () {
287
+ const response = yield this.pBKO004Raw(requestParameters, initOverrides);
288
+ return yield response.value();
289
+ });
290
+ }
291
+ /**
292
+ * Creates request options for pBKO005 without sending the request
293
+ */
294
+ pBKO005RequestOpts(requestParameters) {
295
+ return __awaiter(this, void 0, void 0, function* () {
296
+ if (requestParameters['scheduleId'] == null) {
297
+ throw new runtime.RequiredError('scheduleId', 'Required parameter "scheduleId" was null or undefined when calling pBKO005().');
298
+ }
299
+ if (requestParameters['xAppAccountId'] == null) {
300
+ throw new runtime.RequiredError('xAppAccountId', 'Required parameter "xAppAccountId" was null or undefined when calling pBKO005().');
301
+ }
302
+ const queryParameters = {};
303
+ if (requestParameters['scheduleId'] != null) {
304
+ queryParameters['scheduleId'] = requestParameters['scheduleId'];
305
+ }
306
+ const headerParameters = {};
307
+ if (requestParameters['acceptLanguage'] != null) {
308
+ headerParameters['Accept-Language'] = String(requestParameters['acceptLanguage']);
309
+ }
310
+ if (requestParameters['xAppAccountId'] != null) {
311
+ headerParameters['X-App-Account-Id'] = String(requestParameters['xAppAccountId']);
312
+ }
313
+ if (requestParameters['vergefyVersion'] != null) {
314
+ headerParameters['Vergefy-Version'] = String(requestParameters['vergefyVersion']);
315
+ }
316
+ if (requestParameters['acceptTimezone'] != null) {
317
+ headerParameters['Accept-Timezone'] = String(requestParameters['acceptTimezone']);
318
+ }
319
+ if (this.configuration && this.configuration.accessToken) {
320
+ const token = this.configuration.accessToken;
321
+ const tokenString = yield token("BearerAuth", []);
322
+ if (tokenString) {
323
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
324
+ }
325
+ }
326
+ let urlPath = `/app/booking/schedule-date-overrides`;
327
+ return {
328
+ path: urlPath,
329
+ method: 'GET',
330
+ headers: headerParameters,
331
+ query: queryParameters,
332
+ };
333
+ });
334
+ }
335
+ /**
336
+ * Lists every live entry for one schedule. Not paginated: the set is bounded by what a schedule can meaningfully hold, and a host\'s editor renders all of it at once.
337
+ * PBKO005 - List booking schedule date overrides for a schedule
338
+ */
339
+ pBKO005Raw(requestParameters, initOverrides) {
340
+ return __awaiter(this, void 0, void 0, function* () {
341
+ const requestOptions = yield this.pBKO005RequestOpts(requestParameters);
342
+ const response = yield this.request(requestOptions, initOverrides);
343
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, DataResponseDTOListBookingScheduleDateOverrideDTO_1.DataResponseDTOListBookingScheduleDateOverrideDTOFromJSON)(jsonValue));
344
+ });
345
+ }
346
+ /**
347
+ * Lists every live entry for one schedule. Not paginated: the set is bounded by what a schedule can meaningfully hold, and a host\'s editor renders all of it at once.
348
+ * PBKO005 - List booking schedule date overrides for a schedule
349
+ */
350
+ pBKO005(requestParameters, initOverrides) {
351
+ return __awaiter(this, void 0, void 0, function* () {
352
+ const response = yield this.pBKO005Raw(requestParameters, initOverrides);
353
+ return yield response.value();
354
+ });
355
+ }
356
+ }
357
+ exports.APPPBKOBookingScheduleDateOverridesApi = APPPBKOBookingScheduleDateOverridesApi;
@@ -0,0 +1,127 @@
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 BookingScheduleRuleCreateDTO } from '../models/BookingScheduleRuleCreateDTO';
14
+ import { type BookingScheduleRuleUpdateDTO } from '../models/BookingScheduleRuleUpdateDTO';
15
+ import { type DataResponseDTOBookingScheduleRuleDTO } from '../models/DataResponseDTOBookingScheduleRuleDTO';
16
+ import { type DataResponseDTOListBookingScheduleRuleDTO } from '../models/DataResponseDTOListBookingScheduleRuleDTO';
17
+ export interface PBKR001Request {
18
+ xAppAccountId: string;
19
+ bookingScheduleRuleCreateDTO: BookingScheduleRuleCreateDTO;
20
+ acceptLanguage?: string;
21
+ vergefyVersion?: string;
22
+ acceptTimezone?: string;
23
+ }
24
+ export interface PBKR002Request {
25
+ id: string;
26
+ xAppAccountId: string;
27
+ bookingScheduleRuleUpdateDTO: BookingScheduleRuleUpdateDTO;
28
+ acceptLanguage?: string;
29
+ vergefyVersion?: string;
30
+ acceptTimezone?: string;
31
+ }
32
+ export interface PBKR003Request {
33
+ id: string;
34
+ xAppAccountId: string;
35
+ acceptLanguage?: string;
36
+ vergefyVersion?: string;
37
+ acceptTimezone?: string;
38
+ }
39
+ export interface PBKR004Request {
40
+ id: string;
41
+ xAppAccountId: string;
42
+ acceptLanguage?: string;
43
+ vergefyVersion?: string;
44
+ acceptTimezone?: string;
45
+ }
46
+ export interface PBKR005Request {
47
+ scheduleId: string;
48
+ xAppAccountId: string;
49
+ acceptLanguage?: string;
50
+ vergefyVersion?: string;
51
+ acceptTimezone?: string;
52
+ }
53
+ /**
54
+ *
55
+ */
56
+ export declare class APPPBKRBookingScheduleRulesApi extends runtime.BaseAPI {
57
+ /**
58
+ * Creates request options for pBKR001 without sending the request
59
+ */
60
+ pBKR001RequestOpts(requestParameters: PBKR001Request): Promise<runtime.RequestOpts>;
61
+ /**
62
+ * Creates a recurring availability interval on one weekday. Several rules on the same weekday express disjoint intervals, e.g. 09:00-12:00 and 14:00-18:00.
63
+ * PBKR001 - Create Booking Schedule Rule
64
+ */
65
+ pBKR001Raw(requestParameters: PBKR001Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DataResponseDTOBookingScheduleRuleDTO>>;
66
+ /**
67
+ * Creates a recurring availability interval on one weekday. Several rules on the same weekday express disjoint intervals, e.g. 09:00-12:00 and 14:00-18:00.
68
+ * PBKR001 - Create Booking Schedule Rule
69
+ */
70
+ pBKR001(requestParameters: PBKR001Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DataResponseDTOBookingScheduleRuleDTO>;
71
+ /**
72
+ * Creates request options for pBKR002 without sending the request
73
+ */
74
+ pBKR002RequestOpts(requestParameters: PBKR002Request): Promise<runtime.RequestOpts>;
75
+ /**
76
+ * Updates a rule\'s weekday or interval. The schedule cannot be changed.
77
+ * PBKR002 - Update Booking Schedule Rule
78
+ */
79
+ pBKR002Raw(requestParameters: PBKR002Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
80
+ /**
81
+ * Updates a rule\'s weekday or interval. The schedule cannot be changed.
82
+ * PBKR002 - Update Booking Schedule Rule
83
+ */
84
+ pBKR002(requestParameters: PBKR002Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
85
+ /**
86
+ * Creates request options for pBKR003 without sending the request
87
+ */
88
+ pBKR003RequestOpts(requestParameters: PBKR003Request): Promise<runtime.RequestOpts>;
89
+ /**
90
+ * Soft deletes a rule. Takes effect on the next generation tick; already-generated slots are left alone, since they may hold bookings.
91
+ * PBKR003 - Delete Booking Schedule Rule
92
+ */
93
+ pBKR003Raw(requestParameters: PBKR003Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
94
+ /**
95
+ * Soft deletes a rule. Takes effect on the next generation tick; already-generated slots are left alone, since they may hold bookings.
96
+ * PBKR003 - Delete Booking Schedule Rule
97
+ */
98
+ pBKR003(requestParameters: PBKR003Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
99
+ /**
100
+ * Creates request options for pBKR004 without sending the request
101
+ */
102
+ pBKR004RequestOpts(requestParameters: PBKR004Request): Promise<runtime.RequestOpts>;
103
+ /**
104
+ * Retrieves a single booking schedule rules entry by its unique identifier.
105
+ * PBKR004 - Get booking schedule rules by id
106
+ */
107
+ pBKR004Raw(requestParameters: PBKR004Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DataResponseDTOBookingScheduleRuleDTO>>;
108
+ /**
109
+ * Retrieves a single booking schedule rules entry by its unique identifier.
110
+ * PBKR004 - Get booking schedule rules by id
111
+ */
112
+ pBKR004(requestParameters: PBKR004Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DataResponseDTOBookingScheduleRuleDTO>;
113
+ /**
114
+ * Creates request options for pBKR005 without sending the request
115
+ */
116
+ pBKR005RequestOpts(requestParameters: PBKR005Request): Promise<runtime.RequestOpts>;
117
+ /**
118
+ * Lists every live entry for one schedule. Not paginated: the set is bounded by what a schedule can meaningfully hold, and a host\'s editor renders all of it at once.
119
+ * PBKR005 - List booking schedule rules for a schedule
120
+ */
121
+ pBKR005Raw(requestParameters: PBKR005Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DataResponseDTOListBookingScheduleRuleDTO>>;
122
+ /**
123
+ * Lists every live entry for one schedule. Not paginated: the set is bounded by what a schedule can meaningfully hold, and a host\'s editor renders all of it at once.
124
+ * PBKR005 - List booking schedule rules for a schedule
125
+ */
126
+ pBKR005(requestParameters: PBKR005Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DataResponseDTOListBookingScheduleRuleDTO>;
127
+ }