@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
@@ -0,0 +1,131 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Vergefy API
5
+ * <h1>AI Agent Management</h1><p>Create, configure, and orchestrate AI agents with multi-provider support.</p><h2>Modules</h2><ul><li><b>Agent (IAG):</b> Agent creation, configuration, lifecycle, insight and analytics (IAG001-057, IAG500-505, IAG700-701)</li><li><b>Template (IAT):</b> Agent template management — /ai/agents-templates</li><li><b>Template Advanced (IATEMP):</b> Versions, analytics, recommendations, diffs — /ai/agents-templates (IATEMP001-008)</li><li><b>Agent Upgrade (IAGENT):</b> Upgrade, rollback, version management — /ai/agents/{id}/upgrade|rollback (IAGENT001-005)</li><li><b>Hierarchy (IAH):</b> Supervisor-worker relationships, delegation — /ai/agents/hierarchies</li><li><b>Goal (IAGG):</b> Autonomous goals, success criteria — /ai/agents/goals</li><li><b>Pool (IAGP):</b> Agent pool management, allocation, coordination (queries IAGP001-023, commands IAGP101-109) — /ai/agents/pools</li><li><b>Execution (IAGE):</b> Execution tracking, history — /ai/agents/executions</li><li><b>Health (IAGH):</b> Health checks, recovery — /ai/agents/health</li><li><b>Communication (IAGC):</b> Channels (IAGC001-019) and inter-agent messages (IAGC020-052) — /ai/agents/channels, /ai/agents/messages</li><li><b>Handoff (IAGD):</b> Agent handoff and transfer — /ai/agents/handoffs</li><li><b>Orchestration (IAGO):</b> Orchestration sessions — /ai/agents/orchestration/sessions</li><li><b>Workflow (IAGW):</b> Workflow assignment and execution — /ai/agents-workflows</li><li><b>Capability (IACAP):</b> Capability definitions, permissions (queries IACAP001-011, commands IACAP101-105) — /ai/capabilities</li><li><b>Capability Mapping (IACF):</b> Capability to feature mapping — /ai/agents/capability-feature-mappings</li></ul><p><b>Providers:</b> OpenAI GPT-4, Anthropic Claude, Google Gemini</p>
6
+ *
7
+ * The version of the OpenAPI document: 2026-05-30
8
+ * Contact: support@integrahub.co
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
15
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
16
+ return new (P || (P = Promise))(function (resolve, reject) {
17
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
18
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
19
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
20
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
21
+ });
22
+ };
23
+ import * as runtime from '../runtime';
24
+ import { BookingAvailabilitySubmitDTOToJSON, } from '../models/BookingAvailabilitySubmitDTO';
25
+ import { PublicBookingAvailabilityDTOFromJSON, } from '../models/PublicBookingAvailabilityDTO';
26
+ /**
27
+ *
28
+ */
29
+ export class PUBLICPBKABookingAvailabilityApi extends runtime.BaseAPI {
30
+ /**
31
+ * Creates request options for pBKA850 without sending the request
32
+ */
33
+ pBKA850RequestOpts(requestParameters) {
34
+ return __awaiter(this, void 0, void 0, function* () {
35
+ if (requestParameters['token'] == null) {
36
+ throw new runtime.RequiredError('token', 'Required parameter "token" was null or undefined when calling pBKA850().');
37
+ }
38
+ const queryParameters = {};
39
+ const headerParameters = {};
40
+ if (this.configuration && this.configuration.accessToken) {
41
+ const token = this.configuration.accessToken;
42
+ const tokenString = yield token("BearerAuth", []);
43
+ if (tokenString) {
44
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
45
+ }
46
+ }
47
+ let urlPath = `/pb/app/booking/availability/{token}`;
48
+ urlPath = urlPath.replace('{token}', encodeURIComponent(String(requestParameters['token'])));
49
+ return {
50
+ path: urlPath,
51
+ method: 'GET',
52
+ headers: headerParameters,
53
+ query: queryParameters,
54
+ };
55
+ });
56
+ }
57
+ /**
58
+ * Anonymous: resolves an availability request by its invitee token
59
+ * PBKA850 - Get Public Availability Request
60
+ */
61
+ pBKA850Raw(requestParameters, initOverrides) {
62
+ return __awaiter(this, void 0, void 0, function* () {
63
+ const requestOptions = yield this.pBKA850RequestOpts(requestParameters);
64
+ const response = yield this.request(requestOptions, initOverrides);
65
+ return new runtime.JSONApiResponse(response, (jsonValue) => PublicBookingAvailabilityDTOFromJSON(jsonValue));
66
+ });
67
+ }
68
+ /**
69
+ * Anonymous: resolves an availability request by its invitee token
70
+ * PBKA850 - Get Public Availability Request
71
+ */
72
+ pBKA850(requestParameters, initOverrides) {
73
+ return __awaiter(this, void 0, void 0, function* () {
74
+ const response = yield this.pBKA850Raw(requestParameters, initOverrides);
75
+ return yield response.value();
76
+ });
77
+ }
78
+ /**
79
+ * Creates request options for pBKA851 without sending the request
80
+ */
81
+ pBKA851RequestOpts(requestParameters) {
82
+ return __awaiter(this, void 0, void 0, function* () {
83
+ if (requestParameters['token'] == null) {
84
+ throw new runtime.RequiredError('token', 'Required parameter "token" was null or undefined when calling pBKA851().');
85
+ }
86
+ if (requestParameters['bookingAvailabilitySubmitDTO'] == null) {
87
+ throw new runtime.RequiredError('bookingAvailabilitySubmitDTO', 'Required parameter "bookingAvailabilitySubmitDTO" was null or undefined when calling pBKA851().');
88
+ }
89
+ const queryParameters = {};
90
+ const headerParameters = {};
91
+ headerParameters['Content-Type'] = 'application/json';
92
+ if (this.configuration && this.configuration.accessToken) {
93
+ const token = this.configuration.accessToken;
94
+ const tokenString = yield token("BearerAuth", []);
95
+ if (tokenString) {
96
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
97
+ }
98
+ }
99
+ let urlPath = `/pb/app/booking/availability/{token}`;
100
+ urlPath = urlPath.replace('{token}', encodeURIComponent(String(requestParameters['token'])));
101
+ return {
102
+ path: urlPath,
103
+ method: 'PUT',
104
+ headers: headerParameters,
105
+ query: queryParameters,
106
+ body: BookingAvailabilitySubmitDTOToJSON(requestParameters['bookingAvailabilitySubmitDTO']),
107
+ };
108
+ });
109
+ }
110
+ /**
111
+ * Anonymous: invitee submits the full replacement set of availability windows
112
+ * PBKA851 - Submit Public Availability
113
+ */
114
+ pBKA851Raw(requestParameters, initOverrides) {
115
+ return __awaiter(this, void 0, void 0, function* () {
116
+ const requestOptions = yield this.pBKA851RequestOpts(requestParameters);
117
+ const response = yield this.request(requestOptions, initOverrides);
118
+ return new runtime.JSONApiResponse(response, (jsonValue) => PublicBookingAvailabilityDTOFromJSON(jsonValue));
119
+ });
120
+ }
121
+ /**
122
+ * Anonymous: invitee submits the full replacement set of availability windows
123
+ * PBKA851 - Submit Public Availability
124
+ */
125
+ pBKA851(requestParameters, initOverrides) {
126
+ return __awaiter(this, void 0, void 0, function* () {
127
+ const response = yield this.pBKA851Raw(requestParameters, initOverrides);
128
+ return yield response.value();
129
+ });
130
+ }
131
+ }
@@ -179,6 +179,7 @@ export * from './APPPAFPOAffiliatePayoutApi';
179
179
  export * from './APPPAFPUBAffiliatePublicApi';
180
180
  export * from './APPPAFTAffiliateProgramTierApi';
181
181
  export * from './APPPAFTHAffiliateTierHistoryApi';
182
+ export * from './APPPBKABookingAvailabilityRequestApi';
182
183
  export * from './APPPBKBookingApi';
183
184
  export * from './APPPBKBookingManagementHostApi';
184
185
  export * from './APPPBKBookingNotificationReminderApi';
@@ -314,3 +315,4 @@ export * from './PLATFORMMCPOAuthQueryApi';
314
315
  export * from './PLATFORMPICPlatformIntegrationCallLogApi';
315
316
  export * from './PLATFORMPTCPlatformTenantConfigurationApi';
316
317
  export * from './PLATFORMRMTManagedTenantInvitationApi';
318
+ export * from './PUBLICPBKABookingAvailabilityApi';
@@ -8,7 +8,7 @@
8
8
  * Mirrors the canonical Java `ext/Telemetry`.
9
9
  */
10
10
  /** Kept in sync with `vergefySdkVersion` (the published artifact version). */
11
- export const VERSION = '0.4.0';
11
+ export const VERSION = '0.5.0';
12
12
  const NAME = 'vergefy-typescript-client';
13
13
  /** The `User-Agent` value, e.g. `vergefy-typescript-client/0.1.0`. */
14
14
  export function userAgent() {
@@ -0,0 +1,47 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Vergefy API
5
+ * <h1>AI Agent Management</h1><p>Create, configure, and orchestrate AI agents with multi-provider support.</p><h2>Modules</h2><ul><li><b>Agent (IAG):</b> Agent creation, configuration, lifecycle, insight and analytics (IAG001-057, IAG500-505, IAG700-701)</li><li><b>Template (IAT):</b> Agent template management — /ai/agents-templates</li><li><b>Template Advanced (IATEMP):</b> Versions, analytics, recommendations, diffs — /ai/agents-templates (IATEMP001-008)</li><li><b>Agent Upgrade (IAGENT):</b> Upgrade, rollback, version management — /ai/agents/{id}/upgrade|rollback (IAGENT001-005)</li><li><b>Hierarchy (IAH):</b> Supervisor-worker relationships, delegation — /ai/agents/hierarchies</li><li><b>Goal (IAGG):</b> Autonomous goals, success criteria — /ai/agents/goals</li><li><b>Pool (IAGP):</b> Agent pool management, allocation, coordination (queries IAGP001-023, commands IAGP101-109) — /ai/agents/pools</li><li><b>Execution (IAGE):</b> Execution tracking, history — /ai/agents/executions</li><li><b>Health (IAGH):</b> Health checks, recovery — /ai/agents/health</li><li><b>Communication (IAGC):</b> Channels (IAGC001-019) and inter-agent messages (IAGC020-052) — /ai/agents/channels, /ai/agents/messages</li><li><b>Handoff (IAGD):</b> Agent handoff and transfer — /ai/agents/handoffs</li><li><b>Orchestration (IAGO):</b> Orchestration sessions — /ai/agents/orchestration/sessions</li><li><b>Workflow (IAGW):</b> Workflow assignment and execution — /ai/agents-workflows</li><li><b>Capability (IACAP):</b> Capability definitions, permissions (queries IACAP001-011, commands IACAP101-105) — /ai/capabilities</li><li><b>Capability Mapping (IACF):</b> Capability to feature mapping — /ai/agents/capability-feature-mappings</li></ul><p><b>Providers:</b> OpenAI GPT-4, Anthropic Claude, Google Gemini</p>
6
+ *
7
+ * The version of the OpenAPI document: 2026-05-30
8
+ * Contact: support@integrahub.co
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * Check if a given object implements the BookingAvailabilityConfirmDTO interface.
16
+ */
17
+ export function instanceOfBookingAvailabilityConfirmDTO(value) {
18
+ if (!('startAt' in value) || value['startAt'] === undefined)
19
+ return false;
20
+ return true;
21
+ }
22
+ export function BookingAvailabilityConfirmDTOFromJSON(json) {
23
+ return BookingAvailabilityConfirmDTOFromJSONTyped(json, false);
24
+ }
25
+ export function BookingAvailabilityConfirmDTOFromJSONTyped(json, ignoreDiscriminator) {
26
+ if (json == null) {
27
+ return json;
28
+ }
29
+ return {
30
+ 'endAt': json['endAt'] == null ? undefined : (new Date(json['endAt'])),
31
+ 'notes': json['notes'] == null ? undefined : json['notes'],
32
+ 'startAt': (new Date(json['startAt'])),
33
+ };
34
+ }
35
+ export function BookingAvailabilityConfirmDTOToJSON(json) {
36
+ return BookingAvailabilityConfirmDTOToJSONTyped(json, false);
37
+ }
38
+ export function BookingAvailabilityConfirmDTOToJSONTyped(value, ignoreDiscriminator = false) {
39
+ if (value == null) {
40
+ return value;
41
+ }
42
+ return {
43
+ 'endAt': value['endAt'] == null ? value['endAt'] : value['endAt'].toISOString(),
44
+ 'notes': value['notes'],
45
+ 'startAt': value['startAt'].toISOString(),
46
+ };
47
+ }
@@ -0,0 +1,55 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Vergefy API
5
+ * <h1>AI Agent Management</h1><p>Create, configure, and orchestrate AI agents with multi-provider support.</p><h2>Modules</h2><ul><li><b>Agent (IAG):</b> Agent creation, configuration, lifecycle, insight and analytics (IAG001-057, IAG500-505, IAG700-701)</li><li><b>Template (IAT):</b> Agent template management — /ai/agents-templates</li><li><b>Template Advanced (IATEMP):</b> Versions, analytics, recommendations, diffs — /ai/agents-templates (IATEMP001-008)</li><li><b>Agent Upgrade (IAGENT):</b> Upgrade, rollback, version management — /ai/agents/{id}/upgrade|rollback (IAGENT001-005)</li><li><b>Hierarchy (IAH):</b> Supervisor-worker relationships, delegation — /ai/agents/hierarchies</li><li><b>Goal (IAGG):</b> Autonomous goals, success criteria — /ai/agents/goals</li><li><b>Pool (IAGP):</b> Agent pool management, allocation, coordination (queries IAGP001-023, commands IAGP101-109) — /ai/agents/pools</li><li><b>Execution (IAGE):</b> Execution tracking, history — /ai/agents/executions</li><li><b>Health (IAGH):</b> Health checks, recovery — /ai/agents/health</li><li><b>Communication (IAGC):</b> Channels (IAGC001-019) and inter-agent messages (IAGC020-052) — /ai/agents/channels, /ai/agents/messages</li><li><b>Handoff (IAGD):</b> Agent handoff and transfer — /ai/agents/handoffs</li><li><b>Orchestration (IAGO):</b> Orchestration sessions — /ai/agents/orchestration/sessions</li><li><b>Workflow (IAGW):</b> Workflow assignment and execution — /ai/agents-workflows</li><li><b>Capability (IACAP):</b> Capability definitions, permissions (queries IACAP001-011, commands IACAP101-105) — /ai/capabilities</li><li><b>Capability Mapping (IACF):</b> Capability to feature mapping — /ai/agents/capability-feature-mappings</li></ul><p><b>Providers:</b> OpenAI GPT-4, Anthropic Claude, Google Gemini</p>
6
+ *
7
+ * The version of the OpenAPI document: 2026-05-30
8
+ * Contact: support@integrahub.co
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * Check if a given object implements the BookingAvailabilityRequestCreateDTO interface.
16
+ */
17
+ export function instanceOfBookingAvailabilityRequestCreateDTO(value) {
18
+ if (!('bookingTypeId' in value) || value['bookingTypeId'] === undefined)
19
+ return false;
20
+ if (!('inviteeEmail' in value) || value['inviteeEmail'] === undefined)
21
+ return false;
22
+ return true;
23
+ }
24
+ export function BookingAvailabilityRequestCreateDTOFromJSON(json) {
25
+ return BookingAvailabilityRequestCreateDTOFromJSONTyped(json, false);
26
+ }
27
+ export function BookingAvailabilityRequestCreateDTOFromJSONTyped(json, ignoreDiscriminator) {
28
+ if (json == null) {
29
+ return json;
30
+ }
31
+ return {
32
+ 'bookingTypeId': json['bookingTypeId'],
33
+ 'expiresAt': json['expiresAt'] == null ? undefined : (new Date(json['expiresAt'])),
34
+ 'inviteeEmail': json['inviteeEmail'],
35
+ 'inviteeName': json['inviteeName'] == null ? undefined : json['inviteeName'],
36
+ 'message': json['message'] == null ? undefined : json['message'],
37
+ 'timeZone': json['timeZone'] == null ? undefined : json['timeZone'],
38
+ };
39
+ }
40
+ export function BookingAvailabilityRequestCreateDTOToJSON(json) {
41
+ return BookingAvailabilityRequestCreateDTOToJSONTyped(json, false);
42
+ }
43
+ export function BookingAvailabilityRequestCreateDTOToJSONTyped(value, ignoreDiscriminator = false) {
44
+ if (value == null) {
45
+ return value;
46
+ }
47
+ return {
48
+ 'bookingTypeId': value['bookingTypeId'],
49
+ 'expiresAt': value['expiresAt'] == null ? value['expiresAt'] : value['expiresAt'].toISOString(),
50
+ 'inviteeEmail': value['inviteeEmail'],
51
+ 'inviteeName': value['inviteeName'],
52
+ 'message': value['message'],
53
+ 'timeZone': value['timeZone'],
54
+ };
55
+ }
@@ -0,0 +1,115 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Vergefy API
5
+ * <h1>AI Agent Management</h1><p>Create, configure, and orchestrate AI agents with multi-provider support.</p><h2>Modules</h2><ul><li><b>Agent (IAG):</b> Agent creation, configuration, lifecycle, insight and analytics (IAG001-057, IAG500-505, IAG700-701)</li><li><b>Template (IAT):</b> Agent template management — /ai/agents-templates</li><li><b>Template Advanced (IATEMP):</b> Versions, analytics, recommendations, diffs — /ai/agents-templates (IATEMP001-008)</li><li><b>Agent Upgrade (IAGENT):</b> Upgrade, rollback, version management — /ai/agents/{id}/upgrade|rollback (IAGENT001-005)</li><li><b>Hierarchy (IAH):</b> Supervisor-worker relationships, delegation — /ai/agents/hierarchies</li><li><b>Goal (IAGG):</b> Autonomous goals, success criteria — /ai/agents/goals</li><li><b>Pool (IAGP):</b> Agent pool management, allocation, coordination (queries IAGP001-023, commands IAGP101-109) — /ai/agents/pools</li><li><b>Execution (IAGE):</b> Execution tracking, history — /ai/agents/executions</li><li><b>Health (IAGH):</b> Health checks, recovery — /ai/agents/health</li><li><b>Communication (IAGC):</b> Channels (IAGC001-019) and inter-agent messages (IAGC020-052) — /ai/agents/channels, /ai/agents/messages</li><li><b>Handoff (IAGD):</b> Agent handoff and transfer — /ai/agents/handoffs</li><li><b>Orchestration (IAGO):</b> Orchestration sessions — /ai/agents/orchestration/sessions</li><li><b>Workflow (IAGW):</b> Workflow assignment and execution — /ai/agents-workflows</li><li><b>Capability (IACAP):</b> Capability definitions, permissions (queries IACAP001-011, commands IACAP101-105) — /ai/capabilities</li><li><b>Capability Mapping (IACF):</b> Capability to feature mapping — /ai/agents/capability-feature-mappings</li></ul><p><b>Providers:</b> OpenAI GPT-4, Anthropic Claude, Google Gemini</p>
6
+ *
7
+ * The version of the OpenAPI document: 2026-05-30
8
+ * Contact: support@integrahub.co
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { BookingAvailabilityWindowDTOFromJSON, BookingAvailabilityWindowDTOToJSON, } from './BookingAvailabilityWindowDTO';
15
+ import { ElementPermissionBasedEntityEmbeddableDTOFromJSON, ElementPermissionBasedEntityEmbeddableDTOToJSON, } from './ElementPermissionBasedEntityEmbeddableDTO';
16
+ /**
17
+ * @export
18
+ */
19
+ export const BookingAvailabilityRequestDTOEntityStatusEnum = {
20
+ Active: 'ACTIVE',
21
+ Passive: 'PASSIVE',
22
+ Archived: 'ARCHIVED',
23
+ Deleted: 'DELETED',
24
+ Pending: 'PENDING'
25
+ };
26
+ /**
27
+ * @export
28
+ */
29
+ export const BookingAvailabilityRequestDTOStatusEnum = {
30
+ Pending: 'PENDING',
31
+ Submitted: 'SUBMITTED',
32
+ Confirmed: 'CONFIRMED',
33
+ Expired: 'EXPIRED',
34
+ Cancelled: 'CANCELLED'
35
+ };
36
+ /**
37
+ * Check if a given object implements the BookingAvailabilityRequestDTO interface.
38
+ */
39
+ export function instanceOfBookingAvailabilityRequestDTO(value) {
40
+ return true;
41
+ }
42
+ export function BookingAvailabilityRequestDTOFromJSON(json) {
43
+ return BookingAvailabilityRequestDTOFromJSONTyped(json, false);
44
+ }
45
+ export function BookingAvailabilityRequestDTOFromJSONTyped(json, ignoreDiscriminator) {
46
+ if (json == null) {
47
+ return json;
48
+ }
49
+ return {
50
+ 'bookingTypeId': json['bookingTypeId'] == null ? undefined : json['bookingTypeId'],
51
+ 'bookingTypeName': json['bookingTypeName'] == null ? undefined : json['bookingTypeName'],
52
+ 'confirmedAt': json['confirmedAt'] == null ? undefined : (new Date(json['confirmedAt'])),
53
+ 'confirmedBookingId': json['confirmedBookingId'] == null ? undefined : json['confirmedBookingId'],
54
+ 'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
55
+ 'createdBy': json['createdBy'] == null ? undefined : json['createdBy'],
56
+ 'customId': json['customId'] == null ? undefined : json['customId'],
57
+ 'deletedAt': json['deletedAt'] == null ? undefined : (new Date(json['deletedAt'])),
58
+ 'entityStatus': json['entityStatus'] == null ? undefined : json['entityStatus'],
59
+ 'expiresAt': json['expiresAt'] == null ? undefined : (new Date(json['expiresAt'])),
60
+ 'externalId': json['externalId'] == null ? undefined : json['externalId'],
61
+ 'id': json['id'] == null ? undefined : json['id'],
62
+ 'inviteeEmail': json['inviteeEmail'] == null ? undefined : json['inviteeEmail'],
63
+ 'inviteeName': json['inviteeName'] == null ? undefined : json['inviteeName'],
64
+ 'lastModifiedAt': json['lastModifiedAt'] == null ? undefined : (new Date(json['lastModifiedAt'])),
65
+ 'lastModifiedBy': json['lastModifiedBy'] == null ? undefined : json['lastModifiedBy'],
66
+ 'message': json['message'] == null ? undefined : json['message'],
67
+ 'namespaceKey': json['namespaceKey'] == null ? undefined : json['namespaceKey'],
68
+ 'orderNumber': json['orderNumber'] == null ? undefined : json['orderNumber'],
69
+ 'permission': json['permission'] == null ? undefined : ElementPermissionBasedEntityEmbeddableDTOFromJSON(json['permission']),
70
+ 'requestedByAccountId': json['requestedByAccountId'] == null ? undefined : json['requestedByAccountId'],
71
+ 'status': json['status'] == null ? undefined : json['status'],
72
+ 'submittedAt': json['submittedAt'] == null ? undefined : (new Date(json['submittedAt'])),
73
+ 'timeZone': json['timeZone'] == null ? undefined : json['timeZone'],
74
+ 'token': json['token'] == null ? undefined : json['token'],
75
+ 'version': json['version'] == null ? undefined : json['version'],
76
+ 'windows': json['windows'] == null ? undefined : (json['windows'].map(BookingAvailabilityWindowDTOFromJSON)),
77
+ };
78
+ }
79
+ export function BookingAvailabilityRequestDTOToJSON(json) {
80
+ return BookingAvailabilityRequestDTOToJSONTyped(json, false);
81
+ }
82
+ export function BookingAvailabilityRequestDTOToJSONTyped(value, ignoreDiscriminator = false) {
83
+ if (value == null) {
84
+ return value;
85
+ }
86
+ return {
87
+ 'bookingTypeId': value['bookingTypeId'],
88
+ 'bookingTypeName': value['bookingTypeName'],
89
+ 'confirmedAt': value['confirmedAt'] == null ? value['confirmedAt'] : value['confirmedAt'].toISOString(),
90
+ 'confirmedBookingId': value['confirmedBookingId'],
91
+ 'createdAt': value['createdAt'] == null ? value['createdAt'] : value['createdAt'].toISOString(),
92
+ 'createdBy': value['createdBy'],
93
+ 'customId': value['customId'],
94
+ 'deletedAt': value['deletedAt'] == null ? value['deletedAt'] : value['deletedAt'].toISOString(),
95
+ 'entityStatus': value['entityStatus'],
96
+ 'expiresAt': value['expiresAt'] == null ? value['expiresAt'] : value['expiresAt'].toISOString(),
97
+ 'externalId': value['externalId'],
98
+ 'id': value['id'],
99
+ 'inviteeEmail': value['inviteeEmail'],
100
+ 'inviteeName': value['inviteeName'],
101
+ 'lastModifiedAt': value['lastModifiedAt'] == null ? value['lastModifiedAt'] : value['lastModifiedAt'].toISOString(),
102
+ 'lastModifiedBy': value['lastModifiedBy'],
103
+ 'message': value['message'],
104
+ 'namespaceKey': value['namespaceKey'],
105
+ 'orderNumber': value['orderNumber'],
106
+ 'permission': ElementPermissionBasedEntityEmbeddableDTOToJSON(value['permission']),
107
+ 'requestedByAccountId': value['requestedByAccountId'],
108
+ 'status': value['status'],
109
+ 'submittedAt': value['submittedAt'] == null ? value['submittedAt'] : value['submittedAt'].toISOString(),
110
+ 'timeZone': value['timeZone'],
111
+ 'token': value['token'],
112
+ 'version': value['version'],
113
+ 'windows': value['windows'] == null ? undefined : (value['windows'].map(BookingAvailabilityWindowDTOToJSON)),
114
+ };
115
+ }
@@ -0,0 +1,63 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Vergefy API
5
+ * <h1>AI Agent Management</h1><p>Create, configure, and orchestrate AI agents with multi-provider support.</p><h2>Modules</h2><ul><li><b>Agent (IAG):</b> Agent creation, configuration, lifecycle, insight and analytics (IAG001-057, IAG500-505, IAG700-701)</li><li><b>Template (IAT):</b> Agent template management — /ai/agents-templates</li><li><b>Template Advanced (IATEMP):</b> Versions, analytics, recommendations, diffs — /ai/agents-templates (IATEMP001-008)</li><li><b>Agent Upgrade (IAGENT):</b> Upgrade, rollback, version management — /ai/agents/{id}/upgrade|rollback (IAGENT001-005)</li><li><b>Hierarchy (IAH):</b> Supervisor-worker relationships, delegation — /ai/agents/hierarchies</li><li><b>Goal (IAGG):</b> Autonomous goals, success criteria — /ai/agents/goals</li><li><b>Pool (IAGP):</b> Agent pool management, allocation, coordination (queries IAGP001-023, commands IAGP101-109) — /ai/agents/pools</li><li><b>Execution (IAGE):</b> Execution tracking, history — /ai/agents/executions</li><li><b>Health (IAGH):</b> Health checks, recovery — /ai/agents/health</li><li><b>Communication (IAGC):</b> Channels (IAGC001-019) and inter-agent messages (IAGC020-052) — /ai/agents/channels, /ai/agents/messages</li><li><b>Handoff (IAGD):</b> Agent handoff and transfer — /ai/agents/handoffs</li><li><b>Orchestration (IAGO):</b> Orchestration sessions — /ai/agents/orchestration/sessions</li><li><b>Workflow (IAGW):</b> Workflow assignment and execution — /ai/agents-workflows</li><li><b>Capability (IACAP):</b> Capability definitions, permissions (queries IACAP001-011, commands IACAP101-105) — /ai/capabilities</li><li><b>Capability Mapping (IACF):</b> Capability to feature mapping — /ai/agents/capability-feature-mappings</li></ul><p><b>Providers:</b> OpenAI GPT-4, Anthropic Claude, Google Gemini</p>
6
+ *
7
+ * The version of the OpenAPI document: 2026-05-30
8
+ * Contact: support@integrahub.co
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * @export
16
+ */
17
+ export const BookingAvailabilityRequestSearchDTOStatusEnum = {
18
+ Pending: 'PENDING',
19
+ Submitted: 'SUBMITTED',
20
+ Confirmed: 'CONFIRMED',
21
+ Expired: 'EXPIRED',
22
+ Cancelled: 'CANCELLED'
23
+ };
24
+ /**
25
+ * Check if a given object implements the BookingAvailabilityRequestSearchDTO interface.
26
+ */
27
+ export function instanceOfBookingAvailabilityRequestSearchDTO(value) {
28
+ return true;
29
+ }
30
+ export function BookingAvailabilityRequestSearchDTOFromJSON(json) {
31
+ return BookingAvailabilityRequestSearchDTOFromJSONTyped(json, false);
32
+ }
33
+ export function BookingAvailabilityRequestSearchDTOFromJSONTyped(json, ignoreDiscriminator) {
34
+ if (json == null) {
35
+ return json;
36
+ }
37
+ return {
38
+ 'awaitingConfirmation': json['awaitingConfirmation'] == null ? undefined : json['awaitingConfirmation'],
39
+ 'bookingTypeId': json['bookingTypeId'] == null ? undefined : json['bookingTypeId'],
40
+ 'createdAtFrom': json['createdAtFrom'] == null ? undefined : (new Date(json['createdAtFrom'])),
41
+ 'createdAtTo': json['createdAtTo'] == null ? undefined : (new Date(json['createdAtTo'])),
42
+ 'requestedByAccountId': json['requestedByAccountId'] == null ? undefined : json['requestedByAccountId'],
43
+ 'search': json['search'] == null ? undefined : json['search'],
44
+ 'status': json['status'] == null ? undefined : json['status'],
45
+ };
46
+ }
47
+ export function BookingAvailabilityRequestSearchDTOToJSON(json) {
48
+ return BookingAvailabilityRequestSearchDTOToJSONTyped(json, false);
49
+ }
50
+ export function BookingAvailabilityRequestSearchDTOToJSONTyped(value, ignoreDiscriminator = false) {
51
+ if (value == null) {
52
+ return value;
53
+ }
54
+ return {
55
+ 'awaitingConfirmation': value['awaitingConfirmation'],
56
+ 'bookingTypeId': value['bookingTypeId'],
57
+ 'createdAtFrom': value['createdAtFrom'] == null ? value['createdAtFrom'] : value['createdAtFrom'].toISOString(),
58
+ 'createdAtTo': value['createdAtTo'] == null ? value['createdAtTo'] : value['createdAtTo'].toISOString(),
59
+ 'requestedByAccountId': value['requestedByAccountId'],
60
+ 'search': value['search'],
61
+ 'status': value['status'],
62
+ };
63
+ }
@@ -0,0 +1,48 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Vergefy API
5
+ * <h1>AI Agent Management</h1><p>Create, configure, and orchestrate AI agents with multi-provider support.</p><h2>Modules</h2><ul><li><b>Agent (IAG):</b> Agent creation, configuration, lifecycle, insight and analytics (IAG001-057, IAG500-505, IAG700-701)</li><li><b>Template (IAT):</b> Agent template management — /ai/agents-templates</li><li><b>Template Advanced (IATEMP):</b> Versions, analytics, recommendations, diffs — /ai/agents-templates (IATEMP001-008)</li><li><b>Agent Upgrade (IAGENT):</b> Upgrade, rollback, version management — /ai/agents/{id}/upgrade|rollback (IAGENT001-005)</li><li><b>Hierarchy (IAH):</b> Supervisor-worker relationships, delegation — /ai/agents/hierarchies</li><li><b>Goal (IAGG):</b> Autonomous goals, success criteria — /ai/agents/goals</li><li><b>Pool (IAGP):</b> Agent pool management, allocation, coordination (queries IAGP001-023, commands IAGP101-109) — /ai/agents/pools</li><li><b>Execution (IAGE):</b> Execution tracking, history — /ai/agents/executions</li><li><b>Health (IAGH):</b> Health checks, recovery — /ai/agents/health</li><li><b>Communication (IAGC):</b> Channels (IAGC001-019) and inter-agent messages (IAGC020-052) — /ai/agents/channels, /ai/agents/messages</li><li><b>Handoff (IAGD):</b> Agent handoff and transfer — /ai/agents/handoffs</li><li><b>Orchestration (IAGO):</b> Orchestration sessions — /ai/agents/orchestration/sessions</li><li><b>Workflow (IAGW):</b> Workflow assignment and execution — /ai/agents-workflows</li><li><b>Capability (IACAP):</b> Capability definitions, permissions (queries IACAP001-011, commands IACAP101-105) — /ai/capabilities</li><li><b>Capability Mapping (IACF):</b> Capability to feature mapping — /ai/agents/capability-feature-mappings</li></ul><p><b>Providers:</b> OpenAI GPT-4, Anthropic Claude, Google Gemini</p>
6
+ *
7
+ * The version of the OpenAPI document: 2026-05-30
8
+ * Contact: support@integrahub.co
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { WindowFromJSON, WindowToJSON, } from './Window';
15
+ /**
16
+ * Check if a given object implements the BookingAvailabilitySubmitDTO interface.
17
+ */
18
+ export function instanceOfBookingAvailabilitySubmitDTO(value) {
19
+ if (!('timeZone' in value) || value['timeZone'] === undefined)
20
+ return false;
21
+ if (!('windows' in value) || value['windows'] === undefined)
22
+ return false;
23
+ return true;
24
+ }
25
+ export function BookingAvailabilitySubmitDTOFromJSON(json) {
26
+ return BookingAvailabilitySubmitDTOFromJSONTyped(json, false);
27
+ }
28
+ export function BookingAvailabilitySubmitDTOFromJSONTyped(json, ignoreDiscriminator) {
29
+ if (json == null) {
30
+ return json;
31
+ }
32
+ return {
33
+ 'timeZone': json['timeZone'],
34
+ 'windows': (json['windows'].map(WindowFromJSON)),
35
+ };
36
+ }
37
+ export function BookingAvailabilitySubmitDTOToJSON(json) {
38
+ return BookingAvailabilitySubmitDTOToJSONTyped(json, false);
39
+ }
40
+ export function BookingAvailabilitySubmitDTOToJSONTyped(value, ignoreDiscriminator = false) {
41
+ if (value == null) {
42
+ return value;
43
+ }
44
+ return {
45
+ 'timeZone': value['timeZone'],
46
+ 'windows': (value['windows'].map(WindowToJSON)),
47
+ };
48
+ }
@@ -0,0 +1,84 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Vergefy API
5
+ * <h1>AI Agent Management</h1><p>Create, configure, and orchestrate AI agents with multi-provider support.</p><h2>Modules</h2><ul><li><b>Agent (IAG):</b> Agent creation, configuration, lifecycle, insight and analytics (IAG001-057, IAG500-505, IAG700-701)</li><li><b>Template (IAT):</b> Agent template management — /ai/agents-templates</li><li><b>Template Advanced (IATEMP):</b> Versions, analytics, recommendations, diffs — /ai/agents-templates (IATEMP001-008)</li><li><b>Agent Upgrade (IAGENT):</b> Upgrade, rollback, version management — /ai/agents/{id}/upgrade|rollback (IAGENT001-005)</li><li><b>Hierarchy (IAH):</b> Supervisor-worker relationships, delegation — /ai/agents/hierarchies</li><li><b>Goal (IAGG):</b> Autonomous goals, success criteria — /ai/agents/goals</li><li><b>Pool (IAGP):</b> Agent pool management, allocation, coordination (queries IAGP001-023, commands IAGP101-109) — /ai/agents/pools</li><li><b>Execution (IAGE):</b> Execution tracking, history — /ai/agents/executions</li><li><b>Health (IAGH):</b> Health checks, recovery — /ai/agents/health</li><li><b>Communication (IAGC):</b> Channels (IAGC001-019) and inter-agent messages (IAGC020-052) — /ai/agents/channels, /ai/agents/messages</li><li><b>Handoff (IAGD):</b> Agent handoff and transfer — /ai/agents/handoffs</li><li><b>Orchestration (IAGO):</b> Orchestration sessions — /ai/agents/orchestration/sessions</li><li><b>Workflow (IAGW):</b> Workflow assignment and execution — /ai/agents-workflows</li><li><b>Capability (IACAP):</b> Capability definitions, permissions (queries IACAP001-011, commands IACAP101-105) — /ai/capabilities</li><li><b>Capability Mapping (IACF):</b> Capability to feature mapping — /ai/agents/capability-feature-mappings</li></ul><p><b>Providers:</b> OpenAI GPT-4, Anthropic Claude, Google Gemini</p>
6
+ *
7
+ * The version of the OpenAPI document: 2026-05-30
8
+ * Contact: support@integrahub.co
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { ElementPermissionBasedEntityEmbeddableDTOFromJSON, ElementPermissionBasedEntityEmbeddableDTOToJSON, } from './ElementPermissionBasedEntityEmbeddableDTO';
15
+ /**
16
+ * @export
17
+ */
18
+ export const BookingAvailabilityWindowDTOEntityStatusEnum = {
19
+ Active: 'ACTIVE',
20
+ Passive: 'PASSIVE',
21
+ Archived: 'ARCHIVED',
22
+ Deleted: 'DELETED',
23
+ Pending: 'PENDING'
24
+ };
25
+ /**
26
+ * Check if a given object implements the BookingAvailabilityWindowDTO interface.
27
+ */
28
+ export function instanceOfBookingAvailabilityWindowDTO(value) {
29
+ return true;
30
+ }
31
+ export function BookingAvailabilityWindowDTOFromJSON(json) {
32
+ return BookingAvailabilityWindowDTOFromJSONTyped(json, false);
33
+ }
34
+ export function BookingAvailabilityWindowDTOFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
40
+ 'createdBy': json['createdBy'] == null ? undefined : json['createdBy'],
41
+ 'customId': json['customId'] == null ? undefined : json['customId'],
42
+ 'deletedAt': json['deletedAt'] == null ? undefined : (new Date(json['deletedAt'])),
43
+ 'endTime': json['endTime'] == null ? undefined : json['endTime'],
44
+ 'entityStatus': json['entityStatus'] == null ? undefined : json['entityStatus'],
45
+ 'externalId': json['externalId'] == null ? undefined : json['externalId'],
46
+ 'id': json['id'] == null ? undefined : json['id'],
47
+ 'lastModifiedAt': json['lastModifiedAt'] == null ? undefined : (new Date(json['lastModifiedAt'])),
48
+ 'lastModifiedBy': json['lastModifiedBy'] == null ? undefined : json['lastModifiedBy'],
49
+ 'namespaceKey': json['namespaceKey'] == null ? undefined : json['namespaceKey'],
50
+ 'orderNumber': json['orderNumber'] == null ? undefined : json['orderNumber'],
51
+ 'permission': json['permission'] == null ? undefined : ElementPermissionBasedEntityEmbeddableDTOFromJSON(json['permission']),
52
+ 'requestId': json['requestId'] == null ? undefined : json['requestId'],
53
+ 'startTime': json['startTime'] == null ? undefined : json['startTime'],
54
+ 'version': json['version'] == null ? undefined : json['version'],
55
+ 'windowDate': json['windowDate'] == null ? undefined : (new Date(json['windowDate'])),
56
+ };
57
+ }
58
+ export function BookingAvailabilityWindowDTOToJSON(json) {
59
+ return BookingAvailabilityWindowDTOToJSONTyped(json, false);
60
+ }
61
+ export function BookingAvailabilityWindowDTOToJSONTyped(value, ignoreDiscriminator = false) {
62
+ if (value == null) {
63
+ return value;
64
+ }
65
+ return {
66
+ 'createdAt': value['createdAt'] == null ? value['createdAt'] : value['createdAt'].toISOString(),
67
+ 'createdBy': value['createdBy'],
68
+ 'customId': value['customId'],
69
+ 'deletedAt': value['deletedAt'] == null ? value['deletedAt'] : value['deletedAt'].toISOString(),
70
+ 'endTime': value['endTime'],
71
+ 'entityStatus': value['entityStatus'],
72
+ 'externalId': value['externalId'],
73
+ 'id': value['id'],
74
+ 'lastModifiedAt': value['lastModifiedAt'] == null ? value['lastModifiedAt'] : value['lastModifiedAt'].toISOString(),
75
+ 'lastModifiedBy': value['lastModifiedBy'],
76
+ 'namespaceKey': value['namespaceKey'],
77
+ 'orderNumber': value['orderNumber'],
78
+ 'permission': ElementPermissionBasedEntityEmbeddableDTOToJSON(value['permission']),
79
+ 'requestId': value['requestId'],
80
+ 'startTime': value['startTime'],
81
+ 'version': value['version'],
82
+ 'windowDate': value['windowDate'] == null ? value['windowDate'] : value['windowDate'].toISOString().substring(0, 10),
83
+ };
84
+ }