@integrahub/vergefy-client 0.31.0 → 0.32.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/AIIUCPCUCPConfigurationApi.d.ts +45 -2
- package/dist/apis/AIIUCPCUCPConfigurationApi.js +126 -2
- package/dist/apis/AIIUCPPUCPPublicProfileApi.d.ts +35 -0
- package/dist/apis/AIIUCPPUCPPublicProfileApi.js +81 -0
- package/dist/apis/PLATFORMLPSPlatformServiceApi.d.ts +4 -4
- package/dist/apis/PLATFORMLPSPlatformServiceApi.js +4 -4
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/esm/apis/AIIUCPCUCPConfigurationApi.js +126 -2
- package/dist/esm/apis/AIIUCPPUCPPublicProfileApi.js +77 -0
- package/dist/esm/apis/PLATFORMLPSPlatformServiceApi.js +4 -4
- package/dist/esm/apis/index.js +1 -0
- package/dist/esm/ext/telemetry.js +1 -1
- package/dist/esm/models/CreateAccountRequestDTO.js +3 -1
- package/dist/esm/models/DataResponseDTOUcpSigningKeyRotationDTO.js +42 -0
- package/dist/esm/models/DataResponseDTOUcpSigningKeyWithdrawalDTO.js +42 -0
- package/dist/esm/models/MailSegment.js +3 -11
- package/dist/esm/models/RefundRequestDTO.js +2 -0
- package/dist/esm/models/UcpPublicProfileBodyDTO.js +43 -0
- package/dist/esm/models/UcpPublicProfileCapabilityDTO.js +45 -0
- package/dist/esm/models/UcpPublicProfileDTO.js +45 -0
- package/dist/esm/models/UcpSigningKeyJwkDTO.js +53 -0
- package/dist/esm/models/UcpSigningKeyRotationDTO.js +43 -0
- package/dist/esm/models/UcpSigningKeyWithdrawalDTO.js +47 -0
- package/dist/esm/models/index.js +8 -5
- package/dist/ext/telemetry.d.ts +1 -1
- package/dist/ext/telemetry.js +1 -1
- package/dist/models/CreateAccountRequestDTO.d.ts +1 -1
- package/dist/models/CreateAccountRequestDTO.js +3 -1
- package/dist/models/DataResponseDTOUcpSigningKeyRotationDTO.d.ts +33 -0
- package/dist/models/DataResponseDTOUcpSigningKeyRotationDTO.js +49 -0
- package/dist/models/DataResponseDTOUcpSigningKeyWithdrawalDTO.d.ts +33 -0
- package/dist/models/DataResponseDTOUcpSigningKeyWithdrawalDTO.js +49 -0
- package/dist/models/MailSegment.d.ts +4 -24
- package/dist/models/MailSegment.js +3 -11
- package/dist/models/RefundRequestDTO.d.ts +6 -0
- package/dist/models/RefundRequestDTO.js +2 -0
- package/dist/models/UcpPublicProfileBodyDTO.d.ts +41 -0
- package/dist/models/UcpPublicProfileBodyDTO.js +50 -0
- package/dist/models/UcpPublicProfileCapabilityDTO.d.ts +44 -0
- package/dist/models/UcpPublicProfileCapabilityDTO.js +52 -0
- package/dist/models/UcpPublicProfileDTO.d.ts +40 -0
- package/dist/models/UcpPublicProfileDTO.js +52 -0
- package/dist/models/UcpSigningKeyJwkDTO.d.ts +68 -0
- package/dist/models/UcpSigningKeyJwkDTO.js +60 -0
- package/dist/models/UcpSigningKeyRotationDTO.d.ts +38 -0
- package/dist/models/UcpSigningKeyRotationDTO.js +50 -0
- package/dist/models/UcpSigningKeyWithdrawalDTO.d.ts +50 -0
- package/dist/models/UcpSigningKeyWithdrawalDTO.js +54 -0
- package/dist/models/UcpWebhookRegistrationDTO.d.ts +2 -2
- package/dist/models/index.d.ts +8 -5
- package/dist/models/index.js +8 -5
- package/package.json +1 -1
- package/dist/esm/models/MailCampaign.js +0 -147
- package/dist/esm/models/MailCampaignSegment.js +0 -90
- package/dist/esm/models/MailSegmentSubscriber.js +0 -92
- package/dist/esm/models/MailSubscription.js +0 -156
- package/dist/esm/models/MailTemplate.js +0 -111
- package/dist/models/MailCampaign.d.ts +0 -296
- package/dist/models/MailCampaign.js +0 -155
- package/dist/models/MailCampaignSegment.d.ts +0 -154
- package/dist/models/MailCampaignSegment.js +0 -98
- package/dist/models/MailSegmentSubscriber.d.ts +0 -160
- package/dist/models/MailSegmentSubscriber.js +0 -100
- package/dist/models/MailSubscription.d.ts +0 -294
- package/dist/models/MailSubscription.js +0 -164
- package/dist/models/MailTemplate.d.ts +0 -192
- package/dist/models/MailTemplate.js +0 -119
|
@@ -1,296 +0,0 @@
|
|
|
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 { ElementPermissionBasedEntityEmbeddable } from './ElementPermissionBasedEntityEmbeddable';
|
|
13
|
-
import type { MailTemplate } from './MailTemplate';
|
|
14
|
-
import type { MailCampaignSegment } from './MailCampaignSegment';
|
|
15
|
-
/**
|
|
16
|
-
*
|
|
17
|
-
* @export
|
|
18
|
-
* @interface MailCampaign
|
|
19
|
-
*/
|
|
20
|
-
export interface MailCampaign {
|
|
21
|
-
/**
|
|
22
|
-
*
|
|
23
|
-
* @type {number}
|
|
24
|
-
* @memberof MailCampaign
|
|
25
|
-
*/
|
|
26
|
-
bouncedCount?: number;
|
|
27
|
-
/**
|
|
28
|
-
*
|
|
29
|
-
* @type {Array<MailCampaignSegment>}
|
|
30
|
-
* @memberof MailCampaign
|
|
31
|
-
*/
|
|
32
|
-
campaignSegments?: Array<MailCampaignSegment>;
|
|
33
|
-
/**
|
|
34
|
-
*
|
|
35
|
-
* @type {string}
|
|
36
|
-
* @memberof MailCampaign
|
|
37
|
-
*/
|
|
38
|
-
cancellationReason?: string;
|
|
39
|
-
/**
|
|
40
|
-
*
|
|
41
|
-
* @type {Date}
|
|
42
|
-
* @memberof MailCampaign
|
|
43
|
-
*/
|
|
44
|
-
cancelledAt?: Date;
|
|
45
|
-
/**
|
|
46
|
-
*
|
|
47
|
-
* @type {number}
|
|
48
|
-
* @memberof MailCampaign
|
|
49
|
-
*/
|
|
50
|
-
clickedCount?: number;
|
|
51
|
-
/**
|
|
52
|
-
*
|
|
53
|
-
* @type {Date}
|
|
54
|
-
* @memberof MailCampaign
|
|
55
|
-
*/
|
|
56
|
-
completedAt?: Date;
|
|
57
|
-
/**
|
|
58
|
-
*
|
|
59
|
-
* @type {Date}
|
|
60
|
-
* @memberof MailCampaign
|
|
61
|
-
*/
|
|
62
|
-
createdAt?: Date;
|
|
63
|
-
/**
|
|
64
|
-
*
|
|
65
|
-
* @type {string}
|
|
66
|
-
* @memberof MailCampaign
|
|
67
|
-
*/
|
|
68
|
-
createdBy?: string;
|
|
69
|
-
/**
|
|
70
|
-
*
|
|
71
|
-
* @type {string}
|
|
72
|
-
* @memberof MailCampaign
|
|
73
|
-
*/
|
|
74
|
-
cronExpression?: string;
|
|
75
|
-
/**
|
|
76
|
-
*
|
|
77
|
-
* @type {string}
|
|
78
|
-
* @memberof MailCampaign
|
|
79
|
-
*/
|
|
80
|
-
customId?: string;
|
|
81
|
-
/**
|
|
82
|
-
*
|
|
83
|
-
* @type {Date}
|
|
84
|
-
* @memberof MailCampaign
|
|
85
|
-
*/
|
|
86
|
-
deletedAt?: Date;
|
|
87
|
-
/**
|
|
88
|
-
*
|
|
89
|
-
* @type {number}
|
|
90
|
-
* @memberof MailCampaign
|
|
91
|
-
*/
|
|
92
|
-
deliveredCount?: number;
|
|
93
|
-
/**
|
|
94
|
-
*
|
|
95
|
-
* @type {string}
|
|
96
|
-
* @memberof MailCampaign
|
|
97
|
-
*/
|
|
98
|
-
description?: string;
|
|
99
|
-
/**
|
|
100
|
-
*
|
|
101
|
-
* @type {string}
|
|
102
|
-
* @memberof MailCampaign
|
|
103
|
-
*/
|
|
104
|
-
emailConfigId?: string;
|
|
105
|
-
/**
|
|
106
|
-
*
|
|
107
|
-
* @type {MailCampaignEntityStatusEnum}
|
|
108
|
-
* @memberof MailCampaign
|
|
109
|
-
*/
|
|
110
|
-
entityStatus?: MailCampaignEntityStatusEnum;
|
|
111
|
-
/**
|
|
112
|
-
*
|
|
113
|
-
* @type {string}
|
|
114
|
-
* @memberof MailCampaign
|
|
115
|
-
*/
|
|
116
|
-
externalId?: string;
|
|
117
|
-
/**
|
|
118
|
-
*
|
|
119
|
-
* @type {string}
|
|
120
|
-
* @memberof MailCampaign
|
|
121
|
-
*/
|
|
122
|
-
id?: string;
|
|
123
|
-
/**
|
|
124
|
-
*
|
|
125
|
-
* @type {Date}
|
|
126
|
-
* @memberof MailCampaign
|
|
127
|
-
*/
|
|
128
|
-
lastModifiedAt?: Date;
|
|
129
|
-
/**
|
|
130
|
-
*
|
|
131
|
-
* @type {string}
|
|
132
|
-
* @memberof MailCampaign
|
|
133
|
-
*/
|
|
134
|
-
lastModifiedBy?: string;
|
|
135
|
-
/**
|
|
136
|
-
*
|
|
137
|
-
* @type {Date}
|
|
138
|
-
* @memberof MailCampaign
|
|
139
|
-
*/
|
|
140
|
-
lastSentAt?: Date;
|
|
141
|
-
/**
|
|
142
|
-
*
|
|
143
|
-
* @type {string}
|
|
144
|
-
* @memberof MailCampaign
|
|
145
|
-
*/
|
|
146
|
-
metadata?: string;
|
|
147
|
-
/**
|
|
148
|
-
*
|
|
149
|
-
* @type {string}
|
|
150
|
-
* @memberof MailCampaign
|
|
151
|
-
*/
|
|
152
|
-
name?: string;
|
|
153
|
-
/**
|
|
154
|
-
*
|
|
155
|
-
* @type {string}
|
|
156
|
-
* @memberof MailCampaign
|
|
157
|
-
*/
|
|
158
|
-
namespaceKey?: string;
|
|
159
|
-
/**
|
|
160
|
-
*
|
|
161
|
-
* @type {string}
|
|
162
|
-
* @memberof MailCampaign
|
|
163
|
-
*/
|
|
164
|
-
notificationPlanId?: string;
|
|
165
|
-
/**
|
|
166
|
-
*
|
|
167
|
-
* @type {number}
|
|
168
|
-
* @memberof MailCampaign
|
|
169
|
-
*/
|
|
170
|
-
openedCount?: number;
|
|
171
|
-
/**
|
|
172
|
-
*
|
|
173
|
-
* @type {number}
|
|
174
|
-
* @memberof MailCampaign
|
|
175
|
-
*/
|
|
176
|
-
orderNumber?: number;
|
|
177
|
-
/**
|
|
178
|
-
*
|
|
179
|
-
* @type {Date}
|
|
180
|
-
* @memberof MailCampaign
|
|
181
|
-
*/
|
|
182
|
-
pausedAt?: Date;
|
|
183
|
-
/**
|
|
184
|
-
*
|
|
185
|
-
* @type {ElementPermissionBasedEntityEmbeddable}
|
|
186
|
-
* @memberof MailCampaign
|
|
187
|
-
*/
|
|
188
|
-
permission?: ElementPermissionBasedEntityEmbeddable;
|
|
189
|
-
/**
|
|
190
|
-
*
|
|
191
|
-
* @type {Date}
|
|
192
|
-
* @memberof MailCampaign
|
|
193
|
-
*/
|
|
194
|
-
scheduledAt?: Date;
|
|
195
|
-
/**
|
|
196
|
-
*
|
|
197
|
-
* @type {Date}
|
|
198
|
-
* @memberof MailCampaign
|
|
199
|
-
*/
|
|
200
|
-
sentAt?: Date;
|
|
201
|
-
/**
|
|
202
|
-
*
|
|
203
|
-
* @type {number}
|
|
204
|
-
* @memberof MailCampaign
|
|
205
|
-
*/
|
|
206
|
-
sentCount?: number;
|
|
207
|
-
/**
|
|
208
|
-
*
|
|
209
|
-
* @type {string}
|
|
210
|
-
* @memberof MailCampaign
|
|
211
|
-
*/
|
|
212
|
-
settings?: string;
|
|
213
|
-
/**
|
|
214
|
-
*
|
|
215
|
-
* @type {MailCampaignStatusEnum}
|
|
216
|
-
* @memberof MailCampaign
|
|
217
|
-
*/
|
|
218
|
-
status?: MailCampaignStatusEnum;
|
|
219
|
-
/**
|
|
220
|
-
*
|
|
221
|
-
* @type {string}
|
|
222
|
-
* @memberof MailCampaign
|
|
223
|
-
*/
|
|
224
|
-
tags?: string;
|
|
225
|
-
/**
|
|
226
|
-
*
|
|
227
|
-
* @type {MailTemplate}
|
|
228
|
-
* @memberof MailCampaign
|
|
229
|
-
*/
|
|
230
|
-
template?: MailTemplate;
|
|
231
|
-
/**
|
|
232
|
-
*
|
|
233
|
-
* @type {string}
|
|
234
|
-
* @memberof MailCampaign
|
|
235
|
-
*/
|
|
236
|
-
tenantId?: string;
|
|
237
|
-
/**
|
|
238
|
-
*
|
|
239
|
-
* @type {number}
|
|
240
|
-
* @memberof MailCampaign
|
|
241
|
-
*/
|
|
242
|
-
totalRecipients?: number;
|
|
243
|
-
/**
|
|
244
|
-
*
|
|
245
|
-
* @type {string}
|
|
246
|
-
* @memberof MailCampaign
|
|
247
|
-
*/
|
|
248
|
-
trustConfigurationId?: string;
|
|
249
|
-
/**
|
|
250
|
-
*
|
|
251
|
-
* @type {number}
|
|
252
|
-
* @memberof MailCampaign
|
|
253
|
-
*/
|
|
254
|
-
unsubscribedCount?: number;
|
|
255
|
-
/**
|
|
256
|
-
*
|
|
257
|
-
* @type {number}
|
|
258
|
-
* @memberof MailCampaign
|
|
259
|
-
*/
|
|
260
|
-
version?: number;
|
|
261
|
-
}
|
|
262
|
-
/**
|
|
263
|
-
* @export
|
|
264
|
-
*/
|
|
265
|
-
export declare const MailCampaignEntityStatusEnum: {
|
|
266
|
-
readonly Active: "ACTIVE";
|
|
267
|
-
readonly Passive: "PASSIVE";
|
|
268
|
-
readonly Archived: "ARCHIVED";
|
|
269
|
-
readonly Deleted: "DELETED";
|
|
270
|
-
readonly Pending: "PENDING";
|
|
271
|
-
};
|
|
272
|
-
export type MailCampaignEntityStatusEnum = typeof MailCampaignEntityStatusEnum[keyof typeof MailCampaignEntityStatusEnum];
|
|
273
|
-
/**
|
|
274
|
-
* @export
|
|
275
|
-
*/
|
|
276
|
-
export declare const MailCampaignStatusEnum: {
|
|
277
|
-
readonly Draft: "DRAFT";
|
|
278
|
-
readonly Scheduled: "SCHEDULED";
|
|
279
|
-
readonly Sending: "SENDING";
|
|
280
|
-
readonly Active: "ACTIVE";
|
|
281
|
-
readonly Sent: "SENT";
|
|
282
|
-
readonly Stopped: "STOPPED";
|
|
283
|
-
readonly Completed: "COMPLETED";
|
|
284
|
-
readonly Paused: "PAUSED";
|
|
285
|
-
readonly Cancelled: "CANCELLED";
|
|
286
|
-
readonly Failed: "FAILED";
|
|
287
|
-
};
|
|
288
|
-
export type MailCampaignStatusEnum = typeof MailCampaignStatusEnum[keyof typeof MailCampaignStatusEnum];
|
|
289
|
-
/**
|
|
290
|
-
* Check if a given object implements the MailCampaign interface.
|
|
291
|
-
*/
|
|
292
|
-
export declare function instanceOfMailCampaign(value: object): value is MailCampaign;
|
|
293
|
-
export declare function MailCampaignFromJSON(json: any): MailCampaign;
|
|
294
|
-
export declare function MailCampaignFromJSONTyped(json: any, ignoreDiscriminator: boolean): MailCampaign;
|
|
295
|
-
export declare function MailCampaignToJSON(json: any): MailCampaign;
|
|
296
|
-
export declare function MailCampaignToJSONTyped(value?: MailCampaign | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,155 +0,0 @@
|
|
|
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.MailCampaignStatusEnum = exports.MailCampaignEntityStatusEnum = void 0;
|
|
17
|
-
exports.instanceOfMailCampaign = instanceOfMailCampaign;
|
|
18
|
-
exports.MailCampaignFromJSON = MailCampaignFromJSON;
|
|
19
|
-
exports.MailCampaignFromJSONTyped = MailCampaignFromJSONTyped;
|
|
20
|
-
exports.MailCampaignToJSON = MailCampaignToJSON;
|
|
21
|
-
exports.MailCampaignToJSONTyped = MailCampaignToJSONTyped;
|
|
22
|
-
const ElementPermissionBasedEntityEmbeddable_1 = require("./ElementPermissionBasedEntityEmbeddable");
|
|
23
|
-
const MailTemplate_1 = require("./MailTemplate");
|
|
24
|
-
const MailCampaignSegment_1 = require("./MailCampaignSegment");
|
|
25
|
-
/**
|
|
26
|
-
* @export
|
|
27
|
-
*/
|
|
28
|
-
exports.MailCampaignEntityStatusEnum = {
|
|
29
|
-
Active: 'ACTIVE',
|
|
30
|
-
Passive: 'PASSIVE',
|
|
31
|
-
Archived: 'ARCHIVED',
|
|
32
|
-
Deleted: 'DELETED',
|
|
33
|
-
Pending: 'PENDING'
|
|
34
|
-
};
|
|
35
|
-
/**
|
|
36
|
-
* @export
|
|
37
|
-
*/
|
|
38
|
-
exports.MailCampaignStatusEnum = {
|
|
39
|
-
Draft: 'DRAFT',
|
|
40
|
-
Scheduled: 'SCHEDULED',
|
|
41
|
-
Sending: 'SENDING',
|
|
42
|
-
Active: 'ACTIVE',
|
|
43
|
-
Sent: 'SENT',
|
|
44
|
-
Stopped: 'STOPPED',
|
|
45
|
-
Completed: 'COMPLETED',
|
|
46
|
-
Paused: 'PAUSED',
|
|
47
|
-
Cancelled: 'CANCELLED',
|
|
48
|
-
Failed: 'FAILED'
|
|
49
|
-
};
|
|
50
|
-
/**
|
|
51
|
-
* Check if a given object implements the MailCampaign interface.
|
|
52
|
-
*/
|
|
53
|
-
function instanceOfMailCampaign(value) {
|
|
54
|
-
return true;
|
|
55
|
-
}
|
|
56
|
-
function MailCampaignFromJSON(json) {
|
|
57
|
-
return MailCampaignFromJSONTyped(json, false);
|
|
58
|
-
}
|
|
59
|
-
function MailCampaignFromJSONTyped(json, ignoreDiscriminator) {
|
|
60
|
-
if (json == null) {
|
|
61
|
-
return json;
|
|
62
|
-
}
|
|
63
|
-
return {
|
|
64
|
-
'bouncedCount': json['bouncedCount'] == null ? undefined : json['bouncedCount'],
|
|
65
|
-
'campaignSegments': json['campaignSegments'] == null ? undefined : (json['campaignSegments'].map(MailCampaignSegment_1.MailCampaignSegmentFromJSON)),
|
|
66
|
-
'cancellationReason': json['cancellationReason'] == null ? undefined : json['cancellationReason'],
|
|
67
|
-
'cancelledAt': json['cancelledAt'] == null ? undefined : (new Date(json['cancelledAt'])),
|
|
68
|
-
'clickedCount': json['clickedCount'] == null ? undefined : json['clickedCount'],
|
|
69
|
-
'completedAt': json['completedAt'] == null ? undefined : (new Date(json['completedAt'])),
|
|
70
|
-
'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
|
|
71
|
-
'createdBy': json['createdBy'] == null ? undefined : json['createdBy'],
|
|
72
|
-
'cronExpression': json['cronExpression'] == null ? undefined : json['cronExpression'],
|
|
73
|
-
'customId': json['customId'] == null ? undefined : json['customId'],
|
|
74
|
-
'deletedAt': json['deletedAt'] == null ? undefined : (new Date(json['deletedAt'])),
|
|
75
|
-
'deliveredCount': json['deliveredCount'] == null ? undefined : json['deliveredCount'],
|
|
76
|
-
'description': json['description'] == null ? undefined : json['description'],
|
|
77
|
-
'emailConfigId': json['emailConfigId'] == null ? undefined : json['emailConfigId'],
|
|
78
|
-
'entityStatus': json['entityStatus'] == null ? undefined : json['entityStatus'],
|
|
79
|
-
'externalId': json['externalId'] == null ? undefined : json['externalId'],
|
|
80
|
-
'id': json['id'] == null ? undefined : json['id'],
|
|
81
|
-
'lastModifiedAt': json['lastModifiedAt'] == null ? undefined : (new Date(json['lastModifiedAt'])),
|
|
82
|
-
'lastModifiedBy': json['lastModifiedBy'] == null ? undefined : json['lastModifiedBy'],
|
|
83
|
-
'lastSentAt': json['lastSentAt'] == null ? undefined : (new Date(json['lastSentAt'])),
|
|
84
|
-
'metadata': json['metadata'] == null ? undefined : json['metadata'],
|
|
85
|
-
'name': json['name'] == null ? undefined : json['name'],
|
|
86
|
-
'namespaceKey': json['namespaceKey'] == null ? undefined : json['namespaceKey'],
|
|
87
|
-
'notificationPlanId': json['notificationPlanId'] == null ? undefined : json['notificationPlanId'],
|
|
88
|
-
'openedCount': json['openedCount'] == null ? undefined : json['openedCount'],
|
|
89
|
-
'orderNumber': json['orderNumber'] == null ? undefined : json['orderNumber'],
|
|
90
|
-
'pausedAt': json['pausedAt'] == null ? undefined : (new Date(json['pausedAt'])),
|
|
91
|
-
'permission': json['permission'] == null ? undefined : (0, ElementPermissionBasedEntityEmbeddable_1.ElementPermissionBasedEntityEmbeddableFromJSON)(json['permission']),
|
|
92
|
-
'scheduledAt': json['scheduledAt'] == null ? undefined : (new Date(json['scheduledAt'])),
|
|
93
|
-
'sentAt': json['sentAt'] == null ? undefined : (new Date(json['sentAt'])),
|
|
94
|
-
'sentCount': json['sentCount'] == null ? undefined : json['sentCount'],
|
|
95
|
-
'settings': json['settings'] == null ? undefined : json['settings'],
|
|
96
|
-
'status': json['status'] == null ? undefined : json['status'],
|
|
97
|
-
'tags': json['tags'] == null ? undefined : json['tags'],
|
|
98
|
-
'template': json['template'] == null ? undefined : (0, MailTemplate_1.MailTemplateFromJSON)(json['template']),
|
|
99
|
-
'tenantId': json['tenantId'] == null ? undefined : json['tenantId'],
|
|
100
|
-
'totalRecipients': json['totalRecipients'] == null ? undefined : json['totalRecipients'],
|
|
101
|
-
'trustConfigurationId': json['trustConfigurationId'] == null ? undefined : json['trustConfigurationId'],
|
|
102
|
-
'unsubscribedCount': json['unsubscribedCount'] == null ? undefined : json['unsubscribedCount'],
|
|
103
|
-
'version': json['version'] == null ? undefined : json['version'],
|
|
104
|
-
};
|
|
105
|
-
}
|
|
106
|
-
function MailCampaignToJSON(json) {
|
|
107
|
-
return MailCampaignToJSONTyped(json, false);
|
|
108
|
-
}
|
|
109
|
-
function MailCampaignToJSONTyped(value, ignoreDiscriminator = false) {
|
|
110
|
-
if (value == null) {
|
|
111
|
-
return value;
|
|
112
|
-
}
|
|
113
|
-
return {
|
|
114
|
-
'bouncedCount': value['bouncedCount'],
|
|
115
|
-
'campaignSegments': value['campaignSegments'] == null ? undefined : (value['campaignSegments'].map(MailCampaignSegment_1.MailCampaignSegmentToJSON)),
|
|
116
|
-
'cancellationReason': value['cancellationReason'],
|
|
117
|
-
'cancelledAt': value['cancelledAt'] == null ? value['cancelledAt'] : value['cancelledAt'].toISOString(),
|
|
118
|
-
'clickedCount': value['clickedCount'],
|
|
119
|
-
'completedAt': value['completedAt'] == null ? value['completedAt'] : value['completedAt'].toISOString(),
|
|
120
|
-
'createdAt': value['createdAt'] == null ? value['createdAt'] : value['createdAt'].toISOString(),
|
|
121
|
-
'createdBy': value['createdBy'],
|
|
122
|
-
'cronExpression': value['cronExpression'],
|
|
123
|
-
'customId': value['customId'],
|
|
124
|
-
'deletedAt': value['deletedAt'] == null ? value['deletedAt'] : value['deletedAt'].toISOString(),
|
|
125
|
-
'deliveredCount': value['deliveredCount'],
|
|
126
|
-
'description': value['description'],
|
|
127
|
-
'emailConfigId': value['emailConfigId'],
|
|
128
|
-
'entityStatus': value['entityStatus'],
|
|
129
|
-
'externalId': value['externalId'],
|
|
130
|
-
'id': value['id'],
|
|
131
|
-
'lastModifiedAt': value['lastModifiedAt'] == null ? value['lastModifiedAt'] : value['lastModifiedAt'].toISOString(),
|
|
132
|
-
'lastModifiedBy': value['lastModifiedBy'],
|
|
133
|
-
'lastSentAt': value['lastSentAt'] == null ? value['lastSentAt'] : value['lastSentAt'].toISOString(),
|
|
134
|
-
'metadata': value['metadata'],
|
|
135
|
-
'name': value['name'],
|
|
136
|
-
'namespaceKey': value['namespaceKey'],
|
|
137
|
-
'notificationPlanId': value['notificationPlanId'],
|
|
138
|
-
'openedCount': value['openedCount'],
|
|
139
|
-
'orderNumber': value['orderNumber'],
|
|
140
|
-
'pausedAt': value['pausedAt'] == null ? value['pausedAt'] : value['pausedAt'].toISOString(),
|
|
141
|
-
'permission': (0, ElementPermissionBasedEntityEmbeddable_1.ElementPermissionBasedEntityEmbeddableToJSON)(value['permission']),
|
|
142
|
-
'scheduledAt': value['scheduledAt'] == null ? value['scheduledAt'] : value['scheduledAt'].toISOString(),
|
|
143
|
-
'sentAt': value['sentAt'] == null ? value['sentAt'] : value['sentAt'].toISOString(),
|
|
144
|
-
'sentCount': value['sentCount'],
|
|
145
|
-
'settings': value['settings'],
|
|
146
|
-
'status': value['status'],
|
|
147
|
-
'tags': value['tags'],
|
|
148
|
-
'template': (0, MailTemplate_1.MailTemplateToJSON)(value['template']),
|
|
149
|
-
'tenantId': value['tenantId'],
|
|
150
|
-
'totalRecipients': value['totalRecipients'],
|
|
151
|
-
'trustConfigurationId': value['trustConfigurationId'],
|
|
152
|
-
'unsubscribedCount': value['unsubscribedCount'],
|
|
153
|
-
'version': value['version'],
|
|
154
|
-
};
|
|
155
|
-
}
|
|
@@ -1,154 +0,0 @@
|
|
|
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 { ElementPermissionBasedEntityEmbeddable } from './ElementPermissionBasedEntityEmbeddable';
|
|
13
|
-
import type { MailSegment } from './MailSegment';
|
|
14
|
-
import type { MailCampaign } from './MailCampaign';
|
|
15
|
-
/**
|
|
16
|
-
*
|
|
17
|
-
* @export
|
|
18
|
-
* @interface MailCampaignSegment
|
|
19
|
-
*/
|
|
20
|
-
export interface MailCampaignSegment {
|
|
21
|
-
/**
|
|
22
|
-
*
|
|
23
|
-
* @type {MailCampaign}
|
|
24
|
-
* @memberof MailCampaignSegment
|
|
25
|
-
*/
|
|
26
|
-
campaign?: MailCampaign;
|
|
27
|
-
/**
|
|
28
|
-
*
|
|
29
|
-
* @type {Date}
|
|
30
|
-
* @memberof MailCampaignSegment
|
|
31
|
-
*/
|
|
32
|
-
createdAt?: Date;
|
|
33
|
-
/**
|
|
34
|
-
*
|
|
35
|
-
* @type {string}
|
|
36
|
-
* @memberof MailCampaignSegment
|
|
37
|
-
*/
|
|
38
|
-
createdBy?: string;
|
|
39
|
-
/**
|
|
40
|
-
*
|
|
41
|
-
* @type {string}
|
|
42
|
-
* @memberof MailCampaignSegment
|
|
43
|
-
*/
|
|
44
|
-
customId?: string;
|
|
45
|
-
/**
|
|
46
|
-
*
|
|
47
|
-
* @type {Date}
|
|
48
|
-
* @memberof MailCampaignSegment
|
|
49
|
-
*/
|
|
50
|
-
deletedAt?: Date;
|
|
51
|
-
/**
|
|
52
|
-
*
|
|
53
|
-
* @type {MailCampaignSegmentEntityStatusEnum}
|
|
54
|
-
* @memberof MailCampaignSegment
|
|
55
|
-
*/
|
|
56
|
-
entityStatus?: MailCampaignSegmentEntityStatusEnum;
|
|
57
|
-
/**
|
|
58
|
-
*
|
|
59
|
-
* @type {string}
|
|
60
|
-
* @memberof MailCampaignSegment
|
|
61
|
-
*/
|
|
62
|
-
externalId?: string;
|
|
63
|
-
/**
|
|
64
|
-
*
|
|
65
|
-
* @type {string}
|
|
66
|
-
* @memberof MailCampaignSegment
|
|
67
|
-
*/
|
|
68
|
-
id?: string;
|
|
69
|
-
/**
|
|
70
|
-
*
|
|
71
|
-
* @type {boolean}
|
|
72
|
-
* @memberof MailCampaignSegment
|
|
73
|
-
*/
|
|
74
|
-
isActive?: boolean;
|
|
75
|
-
/**
|
|
76
|
-
*
|
|
77
|
-
* @type {Date}
|
|
78
|
-
* @memberof MailCampaignSegment
|
|
79
|
-
*/
|
|
80
|
-
lastModifiedAt?: Date;
|
|
81
|
-
/**
|
|
82
|
-
*
|
|
83
|
-
* @type {string}
|
|
84
|
-
* @memberof MailCampaignSegment
|
|
85
|
-
*/
|
|
86
|
-
lastModifiedBy?: string;
|
|
87
|
-
/**
|
|
88
|
-
*
|
|
89
|
-
* @type {string}
|
|
90
|
-
* @memberof MailCampaignSegment
|
|
91
|
-
*/
|
|
92
|
-
namespaceKey?: string;
|
|
93
|
-
/**
|
|
94
|
-
*
|
|
95
|
-
* @type {string}
|
|
96
|
-
* @memberof MailCampaignSegment
|
|
97
|
-
*/
|
|
98
|
-
notes?: string;
|
|
99
|
-
/**
|
|
100
|
-
*
|
|
101
|
-
* @type {number}
|
|
102
|
-
* @memberof MailCampaignSegment
|
|
103
|
-
*/
|
|
104
|
-
orderNumber?: number;
|
|
105
|
-
/**
|
|
106
|
-
*
|
|
107
|
-
* @type {ElementPermissionBasedEntityEmbeddable}
|
|
108
|
-
* @memberof MailCampaignSegment
|
|
109
|
-
*/
|
|
110
|
-
permission?: ElementPermissionBasedEntityEmbeddable;
|
|
111
|
-
/**
|
|
112
|
-
*
|
|
113
|
-
* @type {number}
|
|
114
|
-
* @memberof MailCampaignSegment
|
|
115
|
-
*/
|
|
116
|
-
priority?: number;
|
|
117
|
-
/**
|
|
118
|
-
*
|
|
119
|
-
* @type {MailSegment}
|
|
120
|
-
* @memberof MailCampaignSegment
|
|
121
|
-
*/
|
|
122
|
-
segment?: MailSegment;
|
|
123
|
-
/**
|
|
124
|
-
*
|
|
125
|
-
* @type {string}
|
|
126
|
-
* @memberof MailCampaignSegment
|
|
127
|
-
*/
|
|
128
|
-
tenantId?: string;
|
|
129
|
-
/**
|
|
130
|
-
*
|
|
131
|
-
* @type {number}
|
|
132
|
-
* @memberof MailCampaignSegment
|
|
133
|
-
*/
|
|
134
|
-
version?: number;
|
|
135
|
-
}
|
|
136
|
-
/**
|
|
137
|
-
* @export
|
|
138
|
-
*/
|
|
139
|
-
export declare const MailCampaignSegmentEntityStatusEnum: {
|
|
140
|
-
readonly Active: "ACTIVE";
|
|
141
|
-
readonly Passive: "PASSIVE";
|
|
142
|
-
readonly Archived: "ARCHIVED";
|
|
143
|
-
readonly Deleted: "DELETED";
|
|
144
|
-
readonly Pending: "PENDING";
|
|
145
|
-
};
|
|
146
|
-
export type MailCampaignSegmentEntityStatusEnum = typeof MailCampaignSegmentEntityStatusEnum[keyof typeof MailCampaignSegmentEntityStatusEnum];
|
|
147
|
-
/**
|
|
148
|
-
* Check if a given object implements the MailCampaignSegment interface.
|
|
149
|
-
*/
|
|
150
|
-
export declare function instanceOfMailCampaignSegment(value: object): value is MailCampaignSegment;
|
|
151
|
-
export declare function MailCampaignSegmentFromJSON(json: any): MailCampaignSegment;
|
|
152
|
-
export declare function MailCampaignSegmentFromJSONTyped(json: any, ignoreDiscriminator: boolean): MailCampaignSegment;
|
|
153
|
-
export declare function MailCampaignSegmentToJSON(json: any): MailCampaignSegment;
|
|
154
|
-
export declare function MailCampaignSegmentToJSONTyped(value?: MailCampaignSegment | null, ignoreDiscriminator?: boolean): any;
|