@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.
Files changed (69) hide show
  1. package/README.md +2 -2
  2. package/dist/apis/AIIUCPCUCPConfigurationApi.d.ts +45 -2
  3. package/dist/apis/AIIUCPCUCPConfigurationApi.js +126 -2
  4. package/dist/apis/AIIUCPPUCPPublicProfileApi.d.ts +35 -0
  5. package/dist/apis/AIIUCPPUCPPublicProfileApi.js +81 -0
  6. package/dist/apis/PLATFORMLPSPlatformServiceApi.d.ts +4 -4
  7. package/dist/apis/PLATFORMLPSPlatformServiceApi.js +4 -4
  8. package/dist/apis/index.d.ts +1 -0
  9. package/dist/apis/index.js +1 -0
  10. package/dist/esm/apis/AIIUCPCUCPConfigurationApi.js +126 -2
  11. package/dist/esm/apis/AIIUCPPUCPPublicProfileApi.js +77 -0
  12. package/dist/esm/apis/PLATFORMLPSPlatformServiceApi.js +4 -4
  13. package/dist/esm/apis/index.js +1 -0
  14. package/dist/esm/ext/telemetry.js +1 -1
  15. package/dist/esm/models/CreateAccountRequestDTO.js +3 -1
  16. package/dist/esm/models/DataResponseDTOUcpSigningKeyRotationDTO.js +42 -0
  17. package/dist/esm/models/DataResponseDTOUcpSigningKeyWithdrawalDTO.js +42 -0
  18. package/dist/esm/models/MailSegment.js +3 -11
  19. package/dist/esm/models/RefundRequestDTO.js +2 -0
  20. package/dist/esm/models/UcpPublicProfileBodyDTO.js +43 -0
  21. package/dist/esm/models/UcpPublicProfileCapabilityDTO.js +45 -0
  22. package/dist/esm/models/UcpPublicProfileDTO.js +45 -0
  23. package/dist/esm/models/UcpSigningKeyJwkDTO.js +53 -0
  24. package/dist/esm/models/UcpSigningKeyRotationDTO.js +43 -0
  25. package/dist/esm/models/UcpSigningKeyWithdrawalDTO.js +47 -0
  26. package/dist/esm/models/index.js +8 -5
  27. package/dist/ext/telemetry.d.ts +1 -1
  28. package/dist/ext/telemetry.js +1 -1
  29. package/dist/models/CreateAccountRequestDTO.d.ts +1 -1
  30. package/dist/models/CreateAccountRequestDTO.js +3 -1
  31. package/dist/models/DataResponseDTOUcpSigningKeyRotationDTO.d.ts +33 -0
  32. package/dist/models/DataResponseDTOUcpSigningKeyRotationDTO.js +49 -0
  33. package/dist/models/DataResponseDTOUcpSigningKeyWithdrawalDTO.d.ts +33 -0
  34. package/dist/models/DataResponseDTOUcpSigningKeyWithdrawalDTO.js +49 -0
  35. package/dist/models/MailSegment.d.ts +4 -24
  36. package/dist/models/MailSegment.js +3 -11
  37. package/dist/models/RefundRequestDTO.d.ts +6 -0
  38. package/dist/models/RefundRequestDTO.js +2 -0
  39. package/dist/models/UcpPublicProfileBodyDTO.d.ts +41 -0
  40. package/dist/models/UcpPublicProfileBodyDTO.js +50 -0
  41. package/dist/models/UcpPublicProfileCapabilityDTO.d.ts +44 -0
  42. package/dist/models/UcpPublicProfileCapabilityDTO.js +52 -0
  43. package/dist/models/UcpPublicProfileDTO.d.ts +40 -0
  44. package/dist/models/UcpPublicProfileDTO.js +52 -0
  45. package/dist/models/UcpSigningKeyJwkDTO.d.ts +68 -0
  46. package/dist/models/UcpSigningKeyJwkDTO.js +60 -0
  47. package/dist/models/UcpSigningKeyRotationDTO.d.ts +38 -0
  48. package/dist/models/UcpSigningKeyRotationDTO.js +50 -0
  49. package/dist/models/UcpSigningKeyWithdrawalDTO.d.ts +50 -0
  50. package/dist/models/UcpSigningKeyWithdrawalDTO.js +54 -0
  51. package/dist/models/UcpWebhookRegistrationDTO.d.ts +2 -2
  52. package/dist/models/index.d.ts +8 -5
  53. package/dist/models/index.js +8 -5
  54. package/package.json +1 -1
  55. package/dist/esm/models/MailCampaign.js +0 -147
  56. package/dist/esm/models/MailCampaignSegment.js +0 -90
  57. package/dist/esm/models/MailSegmentSubscriber.js +0 -92
  58. package/dist/esm/models/MailSubscription.js +0 -156
  59. package/dist/esm/models/MailTemplate.js +0 -111
  60. package/dist/models/MailCampaign.d.ts +0 -296
  61. package/dist/models/MailCampaign.js +0 -155
  62. package/dist/models/MailCampaignSegment.d.ts +0 -154
  63. package/dist/models/MailCampaignSegment.js +0 -98
  64. package/dist/models/MailSegmentSubscriber.d.ts +0 -160
  65. package/dist/models/MailSegmentSubscriber.js +0 -100
  66. package/dist/models/MailSubscription.d.ts +0 -294
  67. package/dist/models/MailSubscription.js +0 -164
  68. package/dist/models/MailTemplate.d.ts +0 -192
  69. package/dist/models/MailTemplate.js +0 -119
@@ -1,164 +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.MailSubscriptionStatusEnum = exports.MailSubscriptionSourceEnum = exports.MailSubscriptionEntityStatusEnum = void 0;
17
- exports.instanceOfMailSubscription = instanceOfMailSubscription;
18
- exports.MailSubscriptionFromJSON = MailSubscriptionFromJSON;
19
- exports.MailSubscriptionFromJSONTyped = MailSubscriptionFromJSONTyped;
20
- exports.MailSubscriptionToJSON = MailSubscriptionToJSON;
21
- exports.MailSubscriptionToJSONTyped = MailSubscriptionToJSONTyped;
22
- const ElementPermissionBasedEntityEmbeddable_1 = require("./ElementPermissionBasedEntityEmbeddable");
23
- /**
24
- * @export
25
- */
26
- exports.MailSubscriptionEntityStatusEnum = {
27
- Active: 'ACTIVE',
28
- Passive: 'PASSIVE',
29
- Archived: 'ARCHIVED',
30
- Deleted: 'DELETED',
31
- Pending: 'PENDING'
32
- };
33
- /**
34
- * @export
35
- */
36
- exports.MailSubscriptionSourceEnum = {
37
- WebsiteForm: 'WEBSITE_FORM',
38
- WebForm: 'WEB_FORM',
39
- LandingPage: 'LANDING_PAGE',
40
- ApiIntegration: 'API_INTEGRATION',
41
- ImportUpload: 'IMPORT_UPLOAD',
42
- BulkUpload: 'BULK_UPLOAD',
43
- ApiRequest: 'API_REQUEST',
44
- Referral: 'REFERRAL',
45
- SocialMedia: 'SOCIAL_MEDIA',
46
- EmailCampaign: 'EMAIL_CAMPAIGN',
47
- MobileApp: 'MOBILE_APP',
48
- OfflineEvent: 'OFFLINE_EVENT',
49
- Other: 'OTHER'
50
- };
51
- /**
52
- * @export
53
- */
54
- exports.MailSubscriptionStatusEnum = {
55
- PendingConfirmation: 'PENDING_CONFIRMATION',
56
- Confirmed: 'CONFIRMED',
57
- Active: 'ACTIVE',
58
- Paused: 'PAUSED',
59
- Unsubscribed: 'UNSUBSCRIBED',
60
- Bounced: 'BOUNCED',
61
- Complained: 'COMPLAINED',
62
- Suppressed: 'SUPPRESSED',
63
- Expired: 'EXPIRED'
64
- };
65
- /**
66
- * Check if a given object implements the MailSubscription interface.
67
- */
68
- function instanceOfMailSubscription(value) {
69
- return true;
70
- }
71
- function MailSubscriptionFromJSON(json) {
72
- return MailSubscriptionFromJSONTyped(json, false);
73
- }
74
- function MailSubscriptionFromJSONTyped(json, ignoreDiscriminator) {
75
- if (json == null) {
76
- return json;
77
- }
78
- return {
79
- 'comments': json['comments'] == null ? undefined : json['comments'],
80
- 'confirmationAttempts': json['confirmationAttempts'] == null ? undefined : json['confirmationAttempts'],
81
- 'confirmationSentAt': json['confirmationSentAt'] == null ? undefined : (new Date(json['confirmationSentAt'])),
82
- 'confirmationToken': json['confirmationToken'] == null ? undefined : json['confirmationToken'],
83
- 'confirmedAt': json['confirmedAt'] == null ? undefined : (new Date(json['confirmedAt'])),
84
- 'contactId': json['contactId'] == null ? undefined : json['contactId'],
85
- 'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
86
- 'createdBy': json['createdBy'] == null ? undefined : json['createdBy'],
87
- 'customId': json['customId'] == null ? undefined : json['customId'],
88
- 'deletedAt': json['deletedAt'] == null ? undefined : (new Date(json['deletedAt'])),
89
- 'doubleOptIn': json['doubleOptIn'] == null ? undefined : json['doubleOptIn'],
90
- 'email': json['email'] == null ? undefined : json['email'],
91
- 'entityStatus': json['entityStatus'] == null ? undefined : json['entityStatus'],
92
- 'externalId': json['externalId'] == null ? undefined : json['externalId'],
93
- 'frequency': json['frequency'] == null ? undefined : json['frequency'],
94
- 'id': json['id'] == null ? undefined : json['id'],
95
- 'ipAddress': json['ipAddress'] == null ? undefined : json['ipAddress'],
96
- 'language': json['language'] == null ? undefined : json['language'],
97
- 'lastEngagementAt': json['lastEngagementAt'] == null ? undefined : (new Date(json['lastEngagementAt'])),
98
- 'lastModifiedAt': json['lastModifiedAt'] == null ? undefined : (new Date(json['lastModifiedAt'])),
99
- 'lastModifiedBy': json['lastModifiedBy'] == null ? undefined : json['lastModifiedBy'],
100
- 'namespaceKey': json['namespaceKey'] == null ? undefined : json['namespaceKey'],
101
- 'orderNumber': json['orderNumber'] == null ? undefined : json['orderNumber'],
102
- 'permission': json['permission'] == null ? undefined : (0, ElementPermissionBasedEntityEmbeddable_1.ElementPermissionBasedEntityEmbeddableFromJSON)(json['permission']),
103
- 'preferredCategories': json['preferredCategories'] == null ? undefined : json['preferredCategories'],
104
- 'referrerUrl': json['referrerUrl'] == null ? undefined : json['referrerUrl'],
105
- 'source': json['source'] == null ? undefined : json['source'],
106
- 'status': json['status'] == null ? undefined : json['status'],
107
- 'subscribedAt': json['subscribedAt'] == null ? undefined : (new Date(json['subscribedAt'])),
108
- 'tenantId': json['tenantId'] == null ? undefined : json['tenantId'],
109
- 'timezone': json['timezone'] == null ? undefined : json['timezone'],
110
- 'unsubscribeToken': json['unsubscribeToken'] == null ? undefined : json['unsubscribeToken'],
111
- 'userAgent': json['userAgent'] == null ? undefined : json['userAgent'],
112
- 'utmCampaign': json['utmCampaign'] == null ? undefined : json['utmCampaign'],
113
- 'utmMedium': json['utmMedium'] == null ? undefined : json['utmMedium'],
114
- 'utmSource': json['utmSource'] == null ? undefined : json['utmSource'],
115
- 'version': json['version'] == null ? undefined : json['version'],
116
- };
117
- }
118
- function MailSubscriptionToJSON(json) {
119
- return MailSubscriptionToJSONTyped(json, false);
120
- }
121
- function MailSubscriptionToJSONTyped(value, ignoreDiscriminator = false) {
122
- if (value == null) {
123
- return value;
124
- }
125
- return {
126
- 'comments': value['comments'],
127
- 'confirmationAttempts': value['confirmationAttempts'],
128
- 'confirmationSentAt': value['confirmationSentAt'] == null ? value['confirmationSentAt'] : value['confirmationSentAt'].toISOString(),
129
- 'confirmationToken': value['confirmationToken'],
130
- 'confirmedAt': value['confirmedAt'] == null ? value['confirmedAt'] : value['confirmedAt'].toISOString(),
131
- 'contactId': value['contactId'],
132
- 'createdAt': value['createdAt'] == null ? value['createdAt'] : value['createdAt'].toISOString(),
133
- 'createdBy': value['createdBy'],
134
- 'customId': value['customId'],
135
- 'deletedAt': value['deletedAt'] == null ? value['deletedAt'] : value['deletedAt'].toISOString(),
136
- 'doubleOptIn': value['doubleOptIn'],
137
- 'email': value['email'],
138
- 'entityStatus': value['entityStatus'],
139
- 'externalId': value['externalId'],
140
- 'frequency': value['frequency'],
141
- 'id': value['id'],
142
- 'ipAddress': value['ipAddress'],
143
- 'language': value['language'],
144
- 'lastEngagementAt': value['lastEngagementAt'] == null ? value['lastEngagementAt'] : value['lastEngagementAt'].toISOString(),
145
- 'lastModifiedAt': value['lastModifiedAt'] == null ? value['lastModifiedAt'] : value['lastModifiedAt'].toISOString(),
146
- 'lastModifiedBy': value['lastModifiedBy'],
147
- 'namespaceKey': value['namespaceKey'],
148
- 'orderNumber': value['orderNumber'],
149
- 'permission': (0, ElementPermissionBasedEntityEmbeddable_1.ElementPermissionBasedEntityEmbeddableToJSON)(value['permission']),
150
- 'preferredCategories': value['preferredCategories'],
151
- 'referrerUrl': value['referrerUrl'],
152
- 'source': value['source'],
153
- 'status': value['status'],
154
- 'subscribedAt': value['subscribedAt'] == null ? value['subscribedAt'] : value['subscribedAt'].toISOString(),
155
- 'tenantId': value['tenantId'],
156
- 'timezone': value['timezone'],
157
- 'unsubscribeToken': value['unsubscribeToken'],
158
- 'userAgent': value['userAgent'],
159
- 'utmCampaign': value['utmCampaign'],
160
- 'utmMedium': value['utmMedium'],
161
- 'utmSource': value['utmSource'],
162
- 'version': value['version'],
163
- };
164
- }
@@ -1,192 +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
- /**
14
- *
15
- * @export
16
- * @interface MailTemplate
17
- */
18
- export interface MailTemplate {
19
- /**
20
- *
21
- * @type {boolean}
22
- * @memberof MailTemplate
23
- */
24
- active?: boolean;
25
- /**
26
- *
27
- * @type {string}
28
- * @memberof MailTemplate
29
- */
30
- bodyHtml?: string;
31
- /**
32
- *
33
- * @type {string}
34
- * @memberof MailTemplate
35
- */
36
- bodyText?: string;
37
- /**
38
- *
39
- * @type {Date}
40
- * @memberof MailTemplate
41
- */
42
- createdAt?: Date;
43
- /**
44
- *
45
- * @type {string}
46
- * @memberof MailTemplate
47
- */
48
- createdBy?: string;
49
- /**
50
- *
51
- * @type {string}
52
- * @memberof MailTemplate
53
- */
54
- customId?: string;
55
- /**
56
- *
57
- * @type {Date}
58
- * @memberof MailTemplate
59
- */
60
- deletedAt?: Date;
61
- /**
62
- *
63
- * @type {string}
64
- * @memberof MailTemplate
65
- */
66
- description?: string;
67
- /**
68
- *
69
- * @type {MailTemplateEntityStatusEnum}
70
- * @memberof MailTemplate
71
- */
72
- entityStatus?: MailTemplateEntityStatusEnum;
73
- /**
74
- *
75
- * @type {string}
76
- * @memberof MailTemplate
77
- */
78
- externalId?: string;
79
- /**
80
- *
81
- * @type {string}
82
- * @memberof MailTemplate
83
- */
84
- id?: string;
85
- /**
86
- *
87
- * @type {Date}
88
- * @memberof MailTemplate
89
- */
90
- lastModifiedAt?: Date;
91
- /**
92
- *
93
- * @type {string}
94
- * @memberof MailTemplate
95
- */
96
- lastModifiedBy?: string;
97
- /**
98
- *
99
- * @type {string}
100
- * @memberof MailTemplate
101
- */
102
- name?: string;
103
- /**
104
- *
105
- * @type {string}
106
- * @memberof MailTemplate
107
- */
108
- namespaceKey?: string;
109
- /**
110
- *
111
- * @type {number}
112
- * @memberof MailTemplate
113
- */
114
- orderNumber?: number;
115
- /**
116
- *
117
- * @type {ElementPermissionBasedEntityEmbeddable}
118
- * @memberof MailTemplate
119
- */
120
- permission?: ElementPermissionBasedEntityEmbeddable;
121
- /**
122
- *
123
- * @type {string}
124
- * @memberof MailTemplate
125
- */
126
- subject?: string;
127
- /**
128
- *
129
- * @type {string}
130
- * @memberof MailTemplate
131
- */
132
- tags?: string;
133
- /**
134
- *
135
- * @type {string}
136
- * @memberof MailTemplate
137
- */
138
- tenantId?: string;
139
- /**
140
- *
141
- * @type {MailTemplateTypeEnum}
142
- * @memberof MailTemplate
143
- */
144
- type?: MailTemplateTypeEnum;
145
- /**
146
- *
147
- * @type {string}
148
- * @memberof MailTemplate
149
- */
150
- variables?: string;
151
- /**
152
- *
153
- * @type {number}
154
- * @memberof MailTemplate
155
- */
156
- version?: number;
157
- }
158
- /**
159
- * @export
160
- */
161
- export declare const MailTemplateEntityStatusEnum: {
162
- readonly Active: "ACTIVE";
163
- readonly Passive: "PASSIVE";
164
- readonly Archived: "ARCHIVED";
165
- readonly Deleted: "DELETED";
166
- readonly Pending: "PENDING";
167
- };
168
- export type MailTemplateEntityStatusEnum = typeof MailTemplateEntityStatusEnum[keyof typeof MailTemplateEntityStatusEnum];
169
- /**
170
- * @export
171
- */
172
- export declare const MailTemplateTypeEnum: {
173
- readonly Newsletter: "NEWSLETTER";
174
- readonly Promotional: "PROMOTIONAL";
175
- readonly Transactional: "TRANSACTIONAL";
176
- readonly Welcome: "WELCOME";
177
- readonly FollowUp: "FOLLOW_UP";
178
- readonly Reminder: "REMINDER";
179
- readonly Notification: "NOTIFICATION";
180
- readonly TrustBuilding: "TRUST_BUILDING";
181
- readonly Campaign: "CAMPAIGN";
182
- readonly Custom: "CUSTOM";
183
- };
184
- export type MailTemplateTypeEnum = typeof MailTemplateTypeEnum[keyof typeof MailTemplateTypeEnum];
185
- /**
186
- * Check if a given object implements the MailTemplate interface.
187
- */
188
- export declare function instanceOfMailTemplate(value: object): value is MailTemplate;
189
- export declare function MailTemplateFromJSON(json: any): MailTemplate;
190
- export declare function MailTemplateFromJSONTyped(json: any, ignoreDiscriminator: boolean): MailTemplate;
191
- export declare function MailTemplateToJSON(json: any): MailTemplate;
192
- export declare function MailTemplateToJSONTyped(value?: MailTemplate | null, ignoreDiscriminator?: boolean): any;
@@ -1,119 +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.MailTemplateTypeEnum = exports.MailTemplateEntityStatusEnum = void 0;
17
- exports.instanceOfMailTemplate = instanceOfMailTemplate;
18
- exports.MailTemplateFromJSON = MailTemplateFromJSON;
19
- exports.MailTemplateFromJSONTyped = MailTemplateFromJSONTyped;
20
- exports.MailTemplateToJSON = MailTemplateToJSON;
21
- exports.MailTemplateToJSONTyped = MailTemplateToJSONTyped;
22
- const ElementPermissionBasedEntityEmbeddable_1 = require("./ElementPermissionBasedEntityEmbeddable");
23
- /**
24
- * @export
25
- */
26
- exports.MailTemplateEntityStatusEnum = {
27
- Active: 'ACTIVE',
28
- Passive: 'PASSIVE',
29
- Archived: 'ARCHIVED',
30
- Deleted: 'DELETED',
31
- Pending: 'PENDING'
32
- };
33
- /**
34
- * @export
35
- */
36
- exports.MailTemplateTypeEnum = {
37
- Newsletter: 'NEWSLETTER',
38
- Promotional: 'PROMOTIONAL',
39
- Transactional: 'TRANSACTIONAL',
40
- Welcome: 'WELCOME',
41
- FollowUp: 'FOLLOW_UP',
42
- Reminder: 'REMINDER',
43
- Notification: 'NOTIFICATION',
44
- TrustBuilding: 'TRUST_BUILDING',
45
- Campaign: 'CAMPAIGN',
46
- Custom: 'CUSTOM'
47
- };
48
- /**
49
- * Check if a given object implements the MailTemplate interface.
50
- */
51
- function instanceOfMailTemplate(value) {
52
- return true;
53
- }
54
- function MailTemplateFromJSON(json) {
55
- return MailTemplateFromJSONTyped(json, false);
56
- }
57
- function MailTemplateFromJSONTyped(json, ignoreDiscriminator) {
58
- if (json == null) {
59
- return json;
60
- }
61
- return {
62
- 'active': json['active'] == null ? undefined : json['active'],
63
- 'bodyHtml': json['bodyHtml'] == null ? undefined : json['bodyHtml'],
64
- 'bodyText': json['bodyText'] == null ? undefined : json['bodyText'],
65
- 'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
66
- 'createdBy': json['createdBy'] == null ? undefined : json['createdBy'],
67
- 'customId': json['customId'] == null ? undefined : json['customId'],
68
- 'deletedAt': json['deletedAt'] == null ? undefined : (new Date(json['deletedAt'])),
69
- 'description': json['description'] == null ? undefined : json['description'],
70
- 'entityStatus': json['entityStatus'] == null ? undefined : json['entityStatus'],
71
- 'externalId': json['externalId'] == null ? undefined : json['externalId'],
72
- 'id': json['id'] == null ? undefined : json['id'],
73
- 'lastModifiedAt': json['lastModifiedAt'] == null ? undefined : (new Date(json['lastModifiedAt'])),
74
- 'lastModifiedBy': json['lastModifiedBy'] == null ? undefined : json['lastModifiedBy'],
75
- 'name': json['name'] == null ? undefined : json['name'],
76
- 'namespaceKey': json['namespaceKey'] == null ? undefined : json['namespaceKey'],
77
- 'orderNumber': json['orderNumber'] == null ? undefined : json['orderNumber'],
78
- 'permission': json['permission'] == null ? undefined : (0, ElementPermissionBasedEntityEmbeddable_1.ElementPermissionBasedEntityEmbeddableFromJSON)(json['permission']),
79
- 'subject': json['subject'] == null ? undefined : json['subject'],
80
- 'tags': json['tags'] == null ? undefined : json['tags'],
81
- 'tenantId': json['tenantId'] == null ? undefined : json['tenantId'],
82
- 'type': json['type'] == null ? undefined : json['type'],
83
- 'variables': json['variables'] == null ? undefined : json['variables'],
84
- 'version': json['version'] == null ? undefined : json['version'],
85
- };
86
- }
87
- function MailTemplateToJSON(json) {
88
- return MailTemplateToJSONTyped(json, false);
89
- }
90
- function MailTemplateToJSONTyped(value, ignoreDiscriminator = false) {
91
- if (value == null) {
92
- return value;
93
- }
94
- return {
95
- 'active': value['active'],
96
- 'bodyHtml': value['bodyHtml'],
97
- 'bodyText': value['bodyText'],
98
- 'createdAt': value['createdAt'] == null ? value['createdAt'] : value['createdAt'].toISOString(),
99
- 'createdBy': value['createdBy'],
100
- 'customId': value['customId'],
101
- 'deletedAt': value['deletedAt'] == null ? value['deletedAt'] : value['deletedAt'].toISOString(),
102
- 'description': value['description'],
103
- 'entityStatus': value['entityStatus'],
104
- 'externalId': value['externalId'],
105
- 'id': value['id'],
106
- 'lastModifiedAt': value['lastModifiedAt'] == null ? value['lastModifiedAt'] : value['lastModifiedAt'].toISOString(),
107
- 'lastModifiedBy': value['lastModifiedBy'],
108
- 'name': value['name'],
109
- 'namespaceKey': value['namespaceKey'],
110
- 'orderNumber': value['orderNumber'],
111
- 'permission': (0, ElementPermissionBasedEntityEmbeddable_1.ElementPermissionBasedEntityEmbeddableToJSON)(value['permission']),
112
- 'subject': value['subject'],
113
- 'tags': value['tags'],
114
- 'tenantId': value['tenantId'],
115
- 'type': value['type'],
116
- 'variables': value['variables'],
117
- 'version': value['version'],
118
- };
119
- }