@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.
- package/README.md +2 -2
- package/dist/apis/APPPBKABookingAvailabilityRequestApi.d.ts +153 -0
- package/dist/apis/APPPBKABookingAvailabilityRequestApi.js +432 -0
- package/dist/apis/PUBLICPBKABookingAvailabilityApi.d.ts +54 -0
- package/dist/apis/PUBLICPBKABookingAvailabilityApi.js +135 -0
- package/dist/apis/index.d.ts +2 -0
- package/dist/apis/index.js +2 -0
- package/dist/esm/apis/APPPBKABookingAvailabilityRequestApi.js +428 -0
- package/dist/esm/apis/PUBLICPBKABookingAvailabilityApi.js +131 -0
- package/dist/esm/apis/index.js +2 -0
- package/dist/esm/ext/telemetry.js +1 -1
- package/dist/esm/models/BookingAvailabilityConfirmDTO.js +47 -0
- package/dist/esm/models/BookingAvailabilityRequestCreateDTO.js +55 -0
- package/dist/esm/models/BookingAvailabilityRequestDTO.js +115 -0
- package/dist/esm/models/BookingAvailabilityRequestSearchDTO.js +63 -0
- package/dist/esm/models/BookingAvailabilitySubmitDTO.js +48 -0
- package/dist/esm/models/BookingAvailabilityWindowDTO.js +84 -0
- package/dist/esm/models/PageBookingAvailabilityRequestDTO.js +64 -0
- package/dist/esm/models/PublicBookingAvailabilityDTO.js +66 -0
- package/dist/esm/models/Window.js +51 -0
- package/dist/esm/models/index.js +9 -0
- package/dist/ext/telemetry.d.ts +1 -1
- package/dist/ext/telemetry.js +1 -1
- package/dist/models/BookingAvailabilityConfirmDTO.d.ts +44 -0
- package/dist/models/BookingAvailabilityConfirmDTO.js +54 -0
- package/dist/models/BookingAvailabilityRequestCreateDTO.d.ts +62 -0
- package/dist/models/BookingAvailabilityRequestCreateDTO.js +62 -0
- package/dist/models/BookingAvailabilityRequestDTO.d.ts +212 -0
- package/dist/models/BookingAvailabilityRequestDTO.js +123 -0
- package/dist/models/BookingAvailabilityRequestSearchDTO.d.ts +79 -0
- package/dist/models/BookingAvailabilityRequestSearchDTO.js +71 -0
- package/dist/models/BookingAvailabilitySubmitDTO.d.ts +39 -0
- package/dist/models/BookingAvailabilitySubmitDTO.js +55 -0
- package/dist/models/BookingAvailabilityWindowDTO.d.ts +140 -0
- package/dist/models/BookingAvailabilityWindowDTO.js +92 -0
- package/dist/models/PageBookingAvailabilityRequestDTO.d.ts +95 -0
- package/dist/models/PageBookingAvailabilityRequestDTO.js +71 -0
- package/dist/models/PublicBookingAvailabilityDTO.d.ts +86 -0
- package/dist/models/PublicBookingAvailabilityDTO.js +74 -0
- package/dist/models/Window.d.ts +44 -0
- package/dist/models/Window.js +58 -0
- package/dist/models/index.d.ts +9 -0
- package/dist/models/index.js +9 -0
- package/package.json +1 -1
|
@@ -0,0 +1,212 @@
|
|
|
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 type { BookingAvailabilityWindowDTO } from './BookingAvailabilityWindowDTO';
|
|
13
|
+
import type { ElementPermissionBasedEntityEmbeddableDTO } from './ElementPermissionBasedEntityEmbeddableDTO';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface BookingAvailabilityRequestDTO
|
|
18
|
+
*/
|
|
19
|
+
export interface BookingAvailabilityRequestDTO {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof BookingAvailabilityRequestDTO
|
|
24
|
+
*/
|
|
25
|
+
bookingTypeId?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Denormalized for list rendering; not persisted on this row.
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof BookingAvailabilityRequestDTO
|
|
30
|
+
*/
|
|
31
|
+
bookingTypeName?: string;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {Date}
|
|
35
|
+
* @memberof BookingAvailabilityRequestDTO
|
|
36
|
+
*/
|
|
37
|
+
confirmedAt?: Date;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof BookingAvailabilityRequestDTO
|
|
42
|
+
*/
|
|
43
|
+
confirmedBookingId?: string;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {Date}
|
|
47
|
+
* @memberof BookingAvailabilityRequestDTO
|
|
48
|
+
*/
|
|
49
|
+
createdAt?: Date;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof BookingAvailabilityRequestDTO
|
|
54
|
+
*/
|
|
55
|
+
createdBy?: string;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof BookingAvailabilityRequestDTO
|
|
60
|
+
*/
|
|
61
|
+
customId?: string;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {Date}
|
|
65
|
+
* @memberof BookingAvailabilityRequestDTO
|
|
66
|
+
*/
|
|
67
|
+
deletedAt?: Date;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @type {BookingAvailabilityRequestDTOEntityStatusEnum}
|
|
71
|
+
* @memberof BookingAvailabilityRequestDTO
|
|
72
|
+
*/
|
|
73
|
+
entityStatus?: BookingAvailabilityRequestDTOEntityStatusEnum;
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
* @type {Date}
|
|
77
|
+
* @memberof BookingAvailabilityRequestDTO
|
|
78
|
+
*/
|
|
79
|
+
expiresAt?: Date;
|
|
80
|
+
/**
|
|
81
|
+
*
|
|
82
|
+
* @type {string}
|
|
83
|
+
* @memberof BookingAvailabilityRequestDTO
|
|
84
|
+
*/
|
|
85
|
+
externalId?: string;
|
|
86
|
+
/**
|
|
87
|
+
*
|
|
88
|
+
* @type {string}
|
|
89
|
+
* @memberof BookingAvailabilityRequestDTO
|
|
90
|
+
*/
|
|
91
|
+
id?: string;
|
|
92
|
+
/**
|
|
93
|
+
*
|
|
94
|
+
* @type {string}
|
|
95
|
+
* @memberof BookingAvailabilityRequestDTO
|
|
96
|
+
*/
|
|
97
|
+
inviteeEmail?: string;
|
|
98
|
+
/**
|
|
99
|
+
*
|
|
100
|
+
* @type {string}
|
|
101
|
+
* @memberof BookingAvailabilityRequestDTO
|
|
102
|
+
*/
|
|
103
|
+
inviteeName?: string;
|
|
104
|
+
/**
|
|
105
|
+
*
|
|
106
|
+
* @type {Date}
|
|
107
|
+
* @memberof BookingAvailabilityRequestDTO
|
|
108
|
+
*/
|
|
109
|
+
lastModifiedAt?: Date;
|
|
110
|
+
/**
|
|
111
|
+
*
|
|
112
|
+
* @type {string}
|
|
113
|
+
* @memberof BookingAvailabilityRequestDTO
|
|
114
|
+
*/
|
|
115
|
+
lastModifiedBy?: string;
|
|
116
|
+
/**
|
|
117
|
+
*
|
|
118
|
+
* @type {string}
|
|
119
|
+
* @memberof BookingAvailabilityRequestDTO
|
|
120
|
+
*/
|
|
121
|
+
message?: string;
|
|
122
|
+
/**
|
|
123
|
+
*
|
|
124
|
+
* @type {string}
|
|
125
|
+
* @memberof BookingAvailabilityRequestDTO
|
|
126
|
+
*/
|
|
127
|
+
namespaceKey?: string;
|
|
128
|
+
/**
|
|
129
|
+
*
|
|
130
|
+
* @type {number}
|
|
131
|
+
* @memberof BookingAvailabilityRequestDTO
|
|
132
|
+
*/
|
|
133
|
+
orderNumber?: number;
|
|
134
|
+
/**
|
|
135
|
+
*
|
|
136
|
+
* @type {ElementPermissionBasedEntityEmbeddableDTO}
|
|
137
|
+
* @memberof BookingAvailabilityRequestDTO
|
|
138
|
+
*/
|
|
139
|
+
permission?: ElementPermissionBasedEntityEmbeddableDTO;
|
|
140
|
+
/**
|
|
141
|
+
*
|
|
142
|
+
* @type {string}
|
|
143
|
+
* @memberof BookingAvailabilityRequestDTO
|
|
144
|
+
*/
|
|
145
|
+
requestedByAccountId?: string;
|
|
146
|
+
/**
|
|
147
|
+
*
|
|
148
|
+
* @type {BookingAvailabilityRequestDTOStatusEnum}
|
|
149
|
+
* @memberof BookingAvailabilityRequestDTO
|
|
150
|
+
*/
|
|
151
|
+
status?: BookingAvailabilityRequestDTOStatusEnum;
|
|
152
|
+
/**
|
|
153
|
+
*
|
|
154
|
+
* @type {Date}
|
|
155
|
+
* @memberof BookingAvailabilityRequestDTO
|
|
156
|
+
*/
|
|
157
|
+
submittedAt?: Date;
|
|
158
|
+
/**
|
|
159
|
+
* IANA zone the window wall-clock times are read in.
|
|
160
|
+
* @type {string}
|
|
161
|
+
* @memberof BookingAvailabilityRequestDTO
|
|
162
|
+
*/
|
|
163
|
+
timeZone?: string;
|
|
164
|
+
/**
|
|
165
|
+
* Opaque credential for the invitee link. Authenticated surface only — never returned to an anonymous caller.
|
|
166
|
+
* @type {string}
|
|
167
|
+
* @memberof BookingAvailabilityRequestDTO
|
|
168
|
+
*/
|
|
169
|
+
token?: string;
|
|
170
|
+
/**
|
|
171
|
+
*
|
|
172
|
+
* @type {number}
|
|
173
|
+
* @memberof BookingAvailabilityRequestDTO
|
|
174
|
+
*/
|
|
175
|
+
version?: number;
|
|
176
|
+
/**
|
|
177
|
+
* Submitted intervals, ordered by date then start time.
|
|
178
|
+
* @type {Array<BookingAvailabilityWindowDTO>}
|
|
179
|
+
* @memberof BookingAvailabilityRequestDTO
|
|
180
|
+
*/
|
|
181
|
+
windows?: Array<BookingAvailabilityWindowDTO>;
|
|
182
|
+
}
|
|
183
|
+
/**
|
|
184
|
+
* @export
|
|
185
|
+
*/
|
|
186
|
+
export declare const BookingAvailabilityRequestDTOEntityStatusEnum: {
|
|
187
|
+
readonly Active: "ACTIVE";
|
|
188
|
+
readonly Passive: "PASSIVE";
|
|
189
|
+
readonly Archived: "ARCHIVED";
|
|
190
|
+
readonly Deleted: "DELETED";
|
|
191
|
+
readonly Pending: "PENDING";
|
|
192
|
+
};
|
|
193
|
+
export type BookingAvailabilityRequestDTOEntityStatusEnum = typeof BookingAvailabilityRequestDTOEntityStatusEnum[keyof typeof BookingAvailabilityRequestDTOEntityStatusEnum];
|
|
194
|
+
/**
|
|
195
|
+
* @export
|
|
196
|
+
*/
|
|
197
|
+
export declare const BookingAvailabilityRequestDTOStatusEnum: {
|
|
198
|
+
readonly Pending: "PENDING";
|
|
199
|
+
readonly Submitted: "SUBMITTED";
|
|
200
|
+
readonly Confirmed: "CONFIRMED";
|
|
201
|
+
readonly Expired: "EXPIRED";
|
|
202
|
+
readonly Cancelled: "CANCELLED";
|
|
203
|
+
};
|
|
204
|
+
export type BookingAvailabilityRequestDTOStatusEnum = typeof BookingAvailabilityRequestDTOStatusEnum[keyof typeof BookingAvailabilityRequestDTOStatusEnum];
|
|
205
|
+
/**
|
|
206
|
+
* Check if a given object implements the BookingAvailabilityRequestDTO interface.
|
|
207
|
+
*/
|
|
208
|
+
export declare function instanceOfBookingAvailabilityRequestDTO(value: object): value is BookingAvailabilityRequestDTO;
|
|
209
|
+
export declare function BookingAvailabilityRequestDTOFromJSON(json: any): BookingAvailabilityRequestDTO;
|
|
210
|
+
export declare function BookingAvailabilityRequestDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): BookingAvailabilityRequestDTO;
|
|
211
|
+
export declare function BookingAvailabilityRequestDTOToJSON(json: any): BookingAvailabilityRequestDTO;
|
|
212
|
+
export declare function BookingAvailabilityRequestDTOToJSONTyped(value?: BookingAvailabilityRequestDTO | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Vergefy API
|
|
6
|
+
* <h1>AI Agent Management</h1><p>Create, configure, and orchestrate AI agents with multi-provider support.</p><h2>Modules</h2><ul><li><b>Agent (IAG):</b> Agent creation, configuration, lifecycle, insight and analytics (IAG001-057, IAG500-505, IAG700-701)</li><li><b>Template (IAT):</b> Agent template management — /ai/agents-templates</li><li><b>Template Advanced (IATEMP):</b> Versions, analytics, recommendations, diffs — /ai/agents-templates (IATEMP001-008)</li><li><b>Agent Upgrade (IAGENT):</b> Upgrade, rollback, version management — /ai/agents/{id}/upgrade|rollback (IAGENT001-005)</li><li><b>Hierarchy (IAH):</b> Supervisor-worker relationships, delegation — /ai/agents/hierarchies</li><li><b>Goal (IAGG):</b> Autonomous goals, success criteria — /ai/agents/goals</li><li><b>Pool (IAGP):</b> Agent pool management, allocation, coordination (queries IAGP001-023, commands IAGP101-109) — /ai/agents/pools</li><li><b>Execution (IAGE):</b> Execution tracking, history — /ai/agents/executions</li><li><b>Health (IAGH):</b> Health checks, recovery — /ai/agents/health</li><li><b>Communication (IAGC):</b> Channels (IAGC001-019) and inter-agent messages (IAGC020-052) — /ai/agents/channels, /ai/agents/messages</li><li><b>Handoff (IAGD):</b> Agent handoff and transfer — /ai/agents/handoffs</li><li><b>Orchestration (IAGO):</b> Orchestration sessions — /ai/agents/orchestration/sessions</li><li><b>Workflow (IAGW):</b> Workflow assignment and execution — /ai/agents-workflows</li><li><b>Capability (IACAP):</b> Capability definitions, permissions (queries IACAP001-011, commands IACAP101-105) — /ai/capabilities</li><li><b>Capability Mapping (IACF):</b> Capability to feature mapping — /ai/agents/capability-feature-mappings</li></ul><p><b>Providers:</b> OpenAI GPT-4, Anthropic Claude, Google Gemini</p>
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2026-05-30
|
|
9
|
+
* Contact: support@integrahub.co
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.BookingAvailabilityRequestDTOStatusEnum = exports.BookingAvailabilityRequestDTOEntityStatusEnum = void 0;
|
|
17
|
+
exports.instanceOfBookingAvailabilityRequestDTO = instanceOfBookingAvailabilityRequestDTO;
|
|
18
|
+
exports.BookingAvailabilityRequestDTOFromJSON = BookingAvailabilityRequestDTOFromJSON;
|
|
19
|
+
exports.BookingAvailabilityRequestDTOFromJSONTyped = BookingAvailabilityRequestDTOFromJSONTyped;
|
|
20
|
+
exports.BookingAvailabilityRequestDTOToJSON = BookingAvailabilityRequestDTOToJSON;
|
|
21
|
+
exports.BookingAvailabilityRequestDTOToJSONTyped = BookingAvailabilityRequestDTOToJSONTyped;
|
|
22
|
+
const BookingAvailabilityWindowDTO_1 = require("./BookingAvailabilityWindowDTO");
|
|
23
|
+
const ElementPermissionBasedEntityEmbeddableDTO_1 = require("./ElementPermissionBasedEntityEmbeddableDTO");
|
|
24
|
+
/**
|
|
25
|
+
* @export
|
|
26
|
+
*/
|
|
27
|
+
exports.BookingAvailabilityRequestDTOEntityStatusEnum = {
|
|
28
|
+
Active: 'ACTIVE',
|
|
29
|
+
Passive: 'PASSIVE',
|
|
30
|
+
Archived: 'ARCHIVED',
|
|
31
|
+
Deleted: 'DELETED',
|
|
32
|
+
Pending: 'PENDING'
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* @export
|
|
36
|
+
*/
|
|
37
|
+
exports.BookingAvailabilityRequestDTOStatusEnum = {
|
|
38
|
+
Pending: 'PENDING',
|
|
39
|
+
Submitted: 'SUBMITTED',
|
|
40
|
+
Confirmed: 'CONFIRMED',
|
|
41
|
+
Expired: 'EXPIRED',
|
|
42
|
+
Cancelled: 'CANCELLED'
|
|
43
|
+
};
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the BookingAvailabilityRequestDTO interface.
|
|
46
|
+
*/
|
|
47
|
+
function instanceOfBookingAvailabilityRequestDTO(value) {
|
|
48
|
+
return true;
|
|
49
|
+
}
|
|
50
|
+
function BookingAvailabilityRequestDTOFromJSON(json) {
|
|
51
|
+
return BookingAvailabilityRequestDTOFromJSONTyped(json, false);
|
|
52
|
+
}
|
|
53
|
+
function BookingAvailabilityRequestDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
54
|
+
if (json == null) {
|
|
55
|
+
return json;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
'bookingTypeId': json['bookingTypeId'] == null ? undefined : json['bookingTypeId'],
|
|
59
|
+
'bookingTypeName': json['bookingTypeName'] == null ? undefined : json['bookingTypeName'],
|
|
60
|
+
'confirmedAt': json['confirmedAt'] == null ? undefined : (new Date(json['confirmedAt'])),
|
|
61
|
+
'confirmedBookingId': json['confirmedBookingId'] == null ? undefined : json['confirmedBookingId'],
|
|
62
|
+
'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
|
|
63
|
+
'createdBy': json['createdBy'] == null ? undefined : json['createdBy'],
|
|
64
|
+
'customId': json['customId'] == null ? undefined : json['customId'],
|
|
65
|
+
'deletedAt': json['deletedAt'] == null ? undefined : (new Date(json['deletedAt'])),
|
|
66
|
+
'entityStatus': json['entityStatus'] == null ? undefined : json['entityStatus'],
|
|
67
|
+
'expiresAt': json['expiresAt'] == null ? undefined : (new Date(json['expiresAt'])),
|
|
68
|
+
'externalId': json['externalId'] == null ? undefined : json['externalId'],
|
|
69
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
70
|
+
'inviteeEmail': json['inviteeEmail'] == null ? undefined : json['inviteeEmail'],
|
|
71
|
+
'inviteeName': json['inviteeName'] == null ? undefined : json['inviteeName'],
|
|
72
|
+
'lastModifiedAt': json['lastModifiedAt'] == null ? undefined : (new Date(json['lastModifiedAt'])),
|
|
73
|
+
'lastModifiedBy': json['lastModifiedBy'] == null ? undefined : json['lastModifiedBy'],
|
|
74
|
+
'message': json['message'] == null ? undefined : json['message'],
|
|
75
|
+
'namespaceKey': json['namespaceKey'] == null ? undefined : json['namespaceKey'],
|
|
76
|
+
'orderNumber': json['orderNumber'] == null ? undefined : json['orderNumber'],
|
|
77
|
+
'permission': json['permission'] == null ? undefined : (0, ElementPermissionBasedEntityEmbeddableDTO_1.ElementPermissionBasedEntityEmbeddableDTOFromJSON)(json['permission']),
|
|
78
|
+
'requestedByAccountId': json['requestedByAccountId'] == null ? undefined : json['requestedByAccountId'],
|
|
79
|
+
'status': json['status'] == null ? undefined : json['status'],
|
|
80
|
+
'submittedAt': json['submittedAt'] == null ? undefined : (new Date(json['submittedAt'])),
|
|
81
|
+
'timeZone': json['timeZone'] == null ? undefined : json['timeZone'],
|
|
82
|
+
'token': json['token'] == null ? undefined : json['token'],
|
|
83
|
+
'version': json['version'] == null ? undefined : json['version'],
|
|
84
|
+
'windows': json['windows'] == null ? undefined : (json['windows'].map(BookingAvailabilityWindowDTO_1.BookingAvailabilityWindowDTOFromJSON)),
|
|
85
|
+
};
|
|
86
|
+
}
|
|
87
|
+
function BookingAvailabilityRequestDTOToJSON(json) {
|
|
88
|
+
return BookingAvailabilityRequestDTOToJSONTyped(json, false);
|
|
89
|
+
}
|
|
90
|
+
function BookingAvailabilityRequestDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
91
|
+
if (value == null) {
|
|
92
|
+
return value;
|
|
93
|
+
}
|
|
94
|
+
return {
|
|
95
|
+
'bookingTypeId': value['bookingTypeId'],
|
|
96
|
+
'bookingTypeName': value['bookingTypeName'],
|
|
97
|
+
'confirmedAt': value['confirmedAt'] == null ? value['confirmedAt'] : value['confirmedAt'].toISOString(),
|
|
98
|
+
'confirmedBookingId': value['confirmedBookingId'],
|
|
99
|
+
'createdAt': value['createdAt'] == null ? value['createdAt'] : value['createdAt'].toISOString(),
|
|
100
|
+
'createdBy': value['createdBy'],
|
|
101
|
+
'customId': value['customId'],
|
|
102
|
+
'deletedAt': value['deletedAt'] == null ? value['deletedAt'] : value['deletedAt'].toISOString(),
|
|
103
|
+
'entityStatus': value['entityStatus'],
|
|
104
|
+
'expiresAt': value['expiresAt'] == null ? value['expiresAt'] : value['expiresAt'].toISOString(),
|
|
105
|
+
'externalId': value['externalId'],
|
|
106
|
+
'id': value['id'],
|
|
107
|
+
'inviteeEmail': value['inviteeEmail'],
|
|
108
|
+
'inviteeName': value['inviteeName'],
|
|
109
|
+
'lastModifiedAt': value['lastModifiedAt'] == null ? value['lastModifiedAt'] : value['lastModifiedAt'].toISOString(),
|
|
110
|
+
'lastModifiedBy': value['lastModifiedBy'],
|
|
111
|
+
'message': value['message'],
|
|
112
|
+
'namespaceKey': value['namespaceKey'],
|
|
113
|
+
'orderNumber': value['orderNumber'],
|
|
114
|
+
'permission': (0, ElementPermissionBasedEntityEmbeddableDTO_1.ElementPermissionBasedEntityEmbeddableDTOToJSON)(value['permission']),
|
|
115
|
+
'requestedByAccountId': value['requestedByAccountId'],
|
|
116
|
+
'status': value['status'],
|
|
117
|
+
'submittedAt': value['submittedAt'] == null ? value['submittedAt'] : value['submittedAt'].toISOString(),
|
|
118
|
+
'timeZone': value['timeZone'],
|
|
119
|
+
'token': value['token'],
|
|
120
|
+
'version': value['version'],
|
|
121
|
+
'windows': value['windows'] == null ? undefined : (value['windows'].map(BookingAvailabilityWindowDTO_1.BookingAvailabilityWindowDTOToJSON)),
|
|
122
|
+
};
|
|
123
|
+
}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Vergefy API
|
|
3
|
+
* <h1>AI Agent Management</h1><p>Create, configure, and orchestrate AI agents with multi-provider support.</p><h2>Modules</h2><ul><li><b>Agent (IAG):</b> Agent creation, configuration, lifecycle, insight and analytics (IAG001-057, IAG500-505, IAG700-701)</li><li><b>Template (IAT):</b> Agent template management — /ai/agents-templates</li><li><b>Template Advanced (IATEMP):</b> Versions, analytics, recommendations, diffs — /ai/agents-templates (IATEMP001-008)</li><li><b>Agent Upgrade (IAGENT):</b> Upgrade, rollback, version management — /ai/agents/{id}/upgrade|rollback (IAGENT001-005)</li><li><b>Hierarchy (IAH):</b> Supervisor-worker relationships, delegation — /ai/agents/hierarchies</li><li><b>Goal (IAGG):</b> Autonomous goals, success criteria — /ai/agents/goals</li><li><b>Pool (IAGP):</b> Agent pool management, allocation, coordination (queries IAGP001-023, commands IAGP101-109) — /ai/agents/pools</li><li><b>Execution (IAGE):</b> Execution tracking, history — /ai/agents/executions</li><li><b>Health (IAGH):</b> Health checks, recovery — /ai/agents/health</li><li><b>Communication (IAGC):</b> Channels (IAGC001-019) and inter-agent messages (IAGC020-052) — /ai/agents/channels, /ai/agents/messages</li><li><b>Handoff (IAGD):</b> Agent handoff and transfer — /ai/agents/handoffs</li><li><b>Orchestration (IAGO):</b> Orchestration sessions — /ai/agents/orchestration/sessions</li><li><b>Workflow (IAGW):</b> Workflow assignment and execution — /ai/agents-workflows</li><li><b>Capability (IACAP):</b> Capability definitions, permissions (queries IACAP001-011, commands IACAP101-105) — /ai/capabilities</li><li><b>Capability Mapping (IACF):</b> Capability to feature mapping — /ai/agents/capability-feature-mappings</li></ul><p><b>Providers:</b> OpenAI GPT-4, Anthropic Claude, Google Gemini</p>
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2026-05-30
|
|
6
|
+
* Contact: support@integrahub.co
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface BookingAvailabilityRequestSearchDTO
|
|
16
|
+
*/
|
|
17
|
+
export interface BookingAvailabilityRequestSearchDTO {
|
|
18
|
+
/**
|
|
19
|
+
* When true, returns only requests still awaiting host action — SUBMITTED and not yet expired. This is the queue the host works from.
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof BookingAvailabilityRequestSearchDTO
|
|
22
|
+
*/
|
|
23
|
+
awaitingConfirmation?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof BookingAvailabilityRequestSearchDTO
|
|
28
|
+
*/
|
|
29
|
+
bookingTypeId?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Created at or after.
|
|
32
|
+
* @type {Date}
|
|
33
|
+
* @memberof BookingAvailabilityRequestSearchDTO
|
|
34
|
+
*/
|
|
35
|
+
createdAtFrom?: Date;
|
|
36
|
+
/**
|
|
37
|
+
* Created at or before.
|
|
38
|
+
* @type {Date}
|
|
39
|
+
* @memberof BookingAvailabilityRequestSearchDTO
|
|
40
|
+
*/
|
|
41
|
+
createdAtTo?: Date;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof BookingAvailabilityRequestSearchDTO
|
|
46
|
+
*/
|
|
47
|
+
requestedByAccountId?: string;
|
|
48
|
+
/**
|
|
49
|
+
* Free-text over invitee name and email.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof BookingAvailabilityRequestSearchDTO
|
|
52
|
+
*/
|
|
53
|
+
search?: string;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {BookingAvailabilityRequestSearchDTOStatusEnum}
|
|
57
|
+
* @memberof BookingAvailabilityRequestSearchDTO
|
|
58
|
+
*/
|
|
59
|
+
status?: BookingAvailabilityRequestSearchDTOStatusEnum;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* @export
|
|
63
|
+
*/
|
|
64
|
+
export declare const BookingAvailabilityRequestSearchDTOStatusEnum: {
|
|
65
|
+
readonly Pending: "PENDING";
|
|
66
|
+
readonly Submitted: "SUBMITTED";
|
|
67
|
+
readonly Confirmed: "CONFIRMED";
|
|
68
|
+
readonly Expired: "EXPIRED";
|
|
69
|
+
readonly Cancelled: "CANCELLED";
|
|
70
|
+
};
|
|
71
|
+
export type BookingAvailabilityRequestSearchDTOStatusEnum = typeof BookingAvailabilityRequestSearchDTOStatusEnum[keyof typeof BookingAvailabilityRequestSearchDTOStatusEnum];
|
|
72
|
+
/**
|
|
73
|
+
* Check if a given object implements the BookingAvailabilityRequestSearchDTO interface.
|
|
74
|
+
*/
|
|
75
|
+
export declare function instanceOfBookingAvailabilityRequestSearchDTO(value: object): value is BookingAvailabilityRequestSearchDTO;
|
|
76
|
+
export declare function BookingAvailabilityRequestSearchDTOFromJSON(json: any): BookingAvailabilityRequestSearchDTO;
|
|
77
|
+
export declare function BookingAvailabilityRequestSearchDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): BookingAvailabilityRequestSearchDTO;
|
|
78
|
+
export declare function BookingAvailabilityRequestSearchDTOToJSON(json: any): BookingAvailabilityRequestSearchDTO;
|
|
79
|
+
export declare function BookingAvailabilityRequestSearchDTOToJSONTyped(value?: BookingAvailabilityRequestSearchDTO | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Vergefy API
|
|
6
|
+
* <h1>AI Agent Management</h1><p>Create, configure, and orchestrate AI agents with multi-provider support.</p><h2>Modules</h2><ul><li><b>Agent (IAG):</b> Agent creation, configuration, lifecycle, insight and analytics (IAG001-057, IAG500-505, IAG700-701)</li><li><b>Template (IAT):</b> Agent template management — /ai/agents-templates</li><li><b>Template Advanced (IATEMP):</b> Versions, analytics, recommendations, diffs — /ai/agents-templates (IATEMP001-008)</li><li><b>Agent Upgrade (IAGENT):</b> Upgrade, rollback, version management — /ai/agents/{id}/upgrade|rollback (IAGENT001-005)</li><li><b>Hierarchy (IAH):</b> Supervisor-worker relationships, delegation — /ai/agents/hierarchies</li><li><b>Goal (IAGG):</b> Autonomous goals, success criteria — /ai/agents/goals</li><li><b>Pool (IAGP):</b> Agent pool management, allocation, coordination (queries IAGP001-023, commands IAGP101-109) — /ai/agents/pools</li><li><b>Execution (IAGE):</b> Execution tracking, history — /ai/agents/executions</li><li><b>Health (IAGH):</b> Health checks, recovery — /ai/agents/health</li><li><b>Communication (IAGC):</b> Channels (IAGC001-019) and inter-agent messages (IAGC020-052) — /ai/agents/channels, /ai/agents/messages</li><li><b>Handoff (IAGD):</b> Agent handoff and transfer — /ai/agents/handoffs</li><li><b>Orchestration (IAGO):</b> Orchestration sessions — /ai/agents/orchestration/sessions</li><li><b>Workflow (IAGW):</b> Workflow assignment and execution — /ai/agents-workflows</li><li><b>Capability (IACAP):</b> Capability definitions, permissions (queries IACAP001-011, commands IACAP101-105) — /ai/capabilities</li><li><b>Capability Mapping (IACF):</b> Capability to feature mapping — /ai/agents/capability-feature-mappings</li></ul><p><b>Providers:</b> OpenAI GPT-4, Anthropic Claude, Google Gemini</p>
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2026-05-30
|
|
9
|
+
* Contact: support@integrahub.co
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.BookingAvailabilityRequestSearchDTOStatusEnum = void 0;
|
|
17
|
+
exports.instanceOfBookingAvailabilityRequestSearchDTO = instanceOfBookingAvailabilityRequestSearchDTO;
|
|
18
|
+
exports.BookingAvailabilityRequestSearchDTOFromJSON = BookingAvailabilityRequestSearchDTOFromJSON;
|
|
19
|
+
exports.BookingAvailabilityRequestSearchDTOFromJSONTyped = BookingAvailabilityRequestSearchDTOFromJSONTyped;
|
|
20
|
+
exports.BookingAvailabilityRequestSearchDTOToJSON = BookingAvailabilityRequestSearchDTOToJSON;
|
|
21
|
+
exports.BookingAvailabilityRequestSearchDTOToJSONTyped = BookingAvailabilityRequestSearchDTOToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.BookingAvailabilityRequestSearchDTOStatusEnum = {
|
|
26
|
+
Pending: 'PENDING',
|
|
27
|
+
Submitted: 'SUBMITTED',
|
|
28
|
+
Confirmed: 'CONFIRMED',
|
|
29
|
+
Expired: 'EXPIRED',
|
|
30
|
+
Cancelled: 'CANCELLED'
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the BookingAvailabilityRequestSearchDTO interface.
|
|
34
|
+
*/
|
|
35
|
+
function instanceOfBookingAvailabilityRequestSearchDTO(value) {
|
|
36
|
+
return true;
|
|
37
|
+
}
|
|
38
|
+
function BookingAvailabilityRequestSearchDTOFromJSON(json) {
|
|
39
|
+
return BookingAvailabilityRequestSearchDTOFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
function BookingAvailabilityRequestSearchDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
42
|
+
if (json == null) {
|
|
43
|
+
return json;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'awaitingConfirmation': json['awaitingConfirmation'] == null ? undefined : json['awaitingConfirmation'],
|
|
47
|
+
'bookingTypeId': json['bookingTypeId'] == null ? undefined : json['bookingTypeId'],
|
|
48
|
+
'createdAtFrom': json['createdAtFrom'] == null ? undefined : (new Date(json['createdAtFrom'])),
|
|
49
|
+
'createdAtTo': json['createdAtTo'] == null ? undefined : (new Date(json['createdAtTo'])),
|
|
50
|
+
'requestedByAccountId': json['requestedByAccountId'] == null ? undefined : json['requestedByAccountId'],
|
|
51
|
+
'search': json['search'] == null ? undefined : json['search'],
|
|
52
|
+
'status': json['status'] == null ? undefined : json['status'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
function BookingAvailabilityRequestSearchDTOToJSON(json) {
|
|
56
|
+
return BookingAvailabilityRequestSearchDTOToJSONTyped(json, false);
|
|
57
|
+
}
|
|
58
|
+
function BookingAvailabilityRequestSearchDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
59
|
+
if (value == null) {
|
|
60
|
+
return value;
|
|
61
|
+
}
|
|
62
|
+
return {
|
|
63
|
+
'awaitingConfirmation': value['awaitingConfirmation'],
|
|
64
|
+
'bookingTypeId': value['bookingTypeId'],
|
|
65
|
+
'createdAtFrom': value['createdAtFrom'] == null ? value['createdAtFrom'] : value['createdAtFrom'].toISOString(),
|
|
66
|
+
'createdAtTo': value['createdAtTo'] == null ? value['createdAtTo'] : value['createdAtTo'].toISOString(),
|
|
67
|
+
'requestedByAccountId': value['requestedByAccountId'],
|
|
68
|
+
'search': value['search'],
|
|
69
|
+
'status': value['status'],
|
|
70
|
+
};
|
|
71
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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 type { Window } from './Window';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface BookingAvailabilitySubmitDTO
|
|
17
|
+
*/
|
|
18
|
+
export interface BookingAvailabilitySubmitDTO {
|
|
19
|
+
/**
|
|
20
|
+
* IANA zone the supplied wall-clock times are expressed in. Overrides the zone seeded at request creation.
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof BookingAvailabilitySubmitDTO
|
|
23
|
+
*/
|
|
24
|
+
timeZone: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {Array<Window>}
|
|
28
|
+
* @memberof BookingAvailabilitySubmitDTO
|
|
29
|
+
*/
|
|
30
|
+
windows: Array<Window>;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the BookingAvailabilitySubmitDTO interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfBookingAvailabilitySubmitDTO(value: object): value is BookingAvailabilitySubmitDTO;
|
|
36
|
+
export declare function BookingAvailabilitySubmitDTOFromJSON(json: any): BookingAvailabilitySubmitDTO;
|
|
37
|
+
export declare function BookingAvailabilitySubmitDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): BookingAvailabilitySubmitDTO;
|
|
38
|
+
export declare function BookingAvailabilitySubmitDTOToJSON(json: any): BookingAvailabilitySubmitDTO;
|
|
39
|
+
export declare function BookingAvailabilitySubmitDTOToJSONTyped(value?: BookingAvailabilitySubmitDTO | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Vergefy API
|
|
6
|
+
* <h1>AI Agent Management</h1><p>Create, configure, and orchestrate AI agents with multi-provider support.</p><h2>Modules</h2><ul><li><b>Agent (IAG):</b> Agent creation, configuration, lifecycle, insight and analytics (IAG001-057, IAG500-505, IAG700-701)</li><li><b>Template (IAT):</b> Agent template management — /ai/agents-templates</li><li><b>Template Advanced (IATEMP):</b> Versions, analytics, recommendations, diffs — /ai/agents-templates (IATEMP001-008)</li><li><b>Agent Upgrade (IAGENT):</b> Upgrade, rollback, version management — /ai/agents/{id}/upgrade|rollback (IAGENT001-005)</li><li><b>Hierarchy (IAH):</b> Supervisor-worker relationships, delegation — /ai/agents/hierarchies</li><li><b>Goal (IAGG):</b> Autonomous goals, success criteria — /ai/agents/goals</li><li><b>Pool (IAGP):</b> Agent pool management, allocation, coordination (queries IAGP001-023, commands IAGP101-109) — /ai/agents/pools</li><li><b>Execution (IAGE):</b> Execution tracking, history — /ai/agents/executions</li><li><b>Health (IAGH):</b> Health checks, recovery — /ai/agents/health</li><li><b>Communication (IAGC):</b> Channels (IAGC001-019) and inter-agent messages (IAGC020-052) — /ai/agents/channels, /ai/agents/messages</li><li><b>Handoff (IAGD):</b> Agent handoff and transfer — /ai/agents/handoffs</li><li><b>Orchestration (IAGO):</b> Orchestration sessions — /ai/agents/orchestration/sessions</li><li><b>Workflow (IAGW):</b> Workflow assignment and execution — /ai/agents-workflows</li><li><b>Capability (IACAP):</b> Capability definitions, permissions (queries IACAP001-011, commands IACAP101-105) — /ai/capabilities</li><li><b>Capability Mapping (IACF):</b> Capability to feature mapping — /ai/agents/capability-feature-mappings</li></ul><p><b>Providers:</b> OpenAI GPT-4, Anthropic Claude, Google Gemini</p>
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2026-05-30
|
|
9
|
+
* Contact: support@integrahub.co
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfBookingAvailabilitySubmitDTO = instanceOfBookingAvailabilitySubmitDTO;
|
|
17
|
+
exports.BookingAvailabilitySubmitDTOFromJSON = BookingAvailabilitySubmitDTOFromJSON;
|
|
18
|
+
exports.BookingAvailabilitySubmitDTOFromJSONTyped = BookingAvailabilitySubmitDTOFromJSONTyped;
|
|
19
|
+
exports.BookingAvailabilitySubmitDTOToJSON = BookingAvailabilitySubmitDTOToJSON;
|
|
20
|
+
exports.BookingAvailabilitySubmitDTOToJSONTyped = BookingAvailabilitySubmitDTOToJSONTyped;
|
|
21
|
+
const Window_1 = require("./Window");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the BookingAvailabilitySubmitDTO interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfBookingAvailabilitySubmitDTO(value) {
|
|
26
|
+
if (!('timeZone' in value) || value['timeZone'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('windows' in value) || value['windows'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
function BookingAvailabilitySubmitDTOFromJSON(json) {
|
|
33
|
+
return BookingAvailabilitySubmitDTOFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
function BookingAvailabilitySubmitDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
if (json == null) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'timeZone': json['timeZone'],
|
|
41
|
+
'windows': (json['windows'].map(Window_1.WindowFromJSON)),
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
function BookingAvailabilitySubmitDTOToJSON(json) {
|
|
45
|
+
return BookingAvailabilitySubmitDTOToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function BookingAvailabilitySubmitDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'timeZone': value['timeZone'],
|
|
53
|
+
'windows': (value['windows'].map(Window_1.WindowToJSON)),
|
|
54
|
+
};
|
|
55
|
+
}
|