@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,147 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Vergefy API
|
|
5
|
-
* <h1>AI Agent Management</h1><p>Create, configure, and orchestrate AI agents with multi-provider support.</p><h2>Modules</h2><ul><li><b>Agent (IAG):</b> Agent creation, configuration, lifecycle, insight and analytics (IAG001-057, IAG500-505, IAG700-701)</li><li><b>Template (IAT):</b> Agent template management — /ai/agents-templates</li><li><b>Template Advanced (IATEMP):</b> Versions, analytics, recommendations, diffs — /ai/agents-templates (IATEMP001-008)</li><li><b>Agent Upgrade (IAGENT):</b> Upgrade, rollback, version management — /ai/agents/{id}/upgrade|rollback (IAGENT001-005)</li><li><b>Hierarchy (IAH):</b> Supervisor-worker relationships, delegation — /ai/agents/hierarchies</li><li><b>Goal (IAGG):</b> Autonomous goals, success criteria — /ai/agents/goals</li><li><b>Pool (IAGP):</b> Agent pool management, allocation, coordination (queries IAGP001-023, commands IAGP101-109) — /ai/agents/pools</li><li><b>Execution (IAGE):</b> Execution tracking, history — /ai/agents/executions</li><li><b>Health (IAGH):</b> Health checks, recovery — /ai/agents/health</li><li><b>Communication (IAGC):</b> Channels (IAGC001-019) and inter-agent messages (IAGC020-052) — /ai/agents/channels, /ai/agents/messages</li><li><b>Handoff (IAGD):</b> Agent handoff and transfer — /ai/agents/handoffs</li><li><b>Orchestration (IAGO):</b> Orchestration sessions — /ai/agents/orchestration/sessions</li><li><b>Workflow (IAGW):</b> Workflow assignment and execution — /ai/agents-workflows</li><li><b>Capability (IACAP):</b> Capability definitions, permissions (queries IACAP001-011, commands IACAP101-105) — /ai/capabilities</li><li><b>Capability Mapping (IACF):</b> Capability to feature mapping — /ai/agents/capability-feature-mappings</li></ul><p><b>Providers:</b> OpenAI GPT-4, Anthropic Claude, Google Gemini</p>
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 2026-05-30
|
|
8
|
-
* Contact: support@integrahub.co
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
import { ElementPermissionBasedEntityEmbeddableFromJSON, ElementPermissionBasedEntityEmbeddableToJSON, } from './ElementPermissionBasedEntityEmbeddable';
|
|
15
|
-
import { MailTemplateFromJSON, MailTemplateToJSON, } from './MailTemplate';
|
|
16
|
-
import { MailCampaignSegmentFromJSON, MailCampaignSegmentToJSON, } from './MailCampaignSegment';
|
|
17
|
-
/**
|
|
18
|
-
* @export
|
|
19
|
-
*/
|
|
20
|
-
export const MailCampaignEntityStatusEnum = {
|
|
21
|
-
Active: 'ACTIVE',
|
|
22
|
-
Passive: 'PASSIVE',
|
|
23
|
-
Archived: 'ARCHIVED',
|
|
24
|
-
Deleted: 'DELETED',
|
|
25
|
-
Pending: 'PENDING'
|
|
26
|
-
};
|
|
27
|
-
/**
|
|
28
|
-
* @export
|
|
29
|
-
*/
|
|
30
|
-
export const MailCampaignStatusEnum = {
|
|
31
|
-
Draft: 'DRAFT',
|
|
32
|
-
Scheduled: 'SCHEDULED',
|
|
33
|
-
Sending: 'SENDING',
|
|
34
|
-
Active: 'ACTIVE',
|
|
35
|
-
Sent: 'SENT',
|
|
36
|
-
Stopped: 'STOPPED',
|
|
37
|
-
Completed: 'COMPLETED',
|
|
38
|
-
Paused: 'PAUSED',
|
|
39
|
-
Cancelled: 'CANCELLED',
|
|
40
|
-
Failed: 'FAILED'
|
|
41
|
-
};
|
|
42
|
-
/**
|
|
43
|
-
* Check if a given object implements the MailCampaign interface.
|
|
44
|
-
*/
|
|
45
|
-
export function instanceOfMailCampaign(value) {
|
|
46
|
-
return true;
|
|
47
|
-
}
|
|
48
|
-
export function MailCampaignFromJSON(json) {
|
|
49
|
-
return MailCampaignFromJSONTyped(json, false);
|
|
50
|
-
}
|
|
51
|
-
export function MailCampaignFromJSONTyped(json, ignoreDiscriminator) {
|
|
52
|
-
if (json == null) {
|
|
53
|
-
return json;
|
|
54
|
-
}
|
|
55
|
-
return {
|
|
56
|
-
'bouncedCount': json['bouncedCount'] == null ? undefined : json['bouncedCount'],
|
|
57
|
-
'campaignSegments': json['campaignSegments'] == null ? undefined : (json['campaignSegments'].map(MailCampaignSegmentFromJSON)),
|
|
58
|
-
'cancellationReason': json['cancellationReason'] == null ? undefined : json['cancellationReason'],
|
|
59
|
-
'cancelledAt': json['cancelledAt'] == null ? undefined : (new Date(json['cancelledAt'])),
|
|
60
|
-
'clickedCount': json['clickedCount'] == null ? undefined : json['clickedCount'],
|
|
61
|
-
'completedAt': json['completedAt'] == null ? undefined : (new Date(json['completedAt'])),
|
|
62
|
-
'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
|
|
63
|
-
'createdBy': json['createdBy'] == null ? undefined : json['createdBy'],
|
|
64
|
-
'cronExpression': json['cronExpression'] == null ? undefined : json['cronExpression'],
|
|
65
|
-
'customId': json['customId'] == null ? undefined : json['customId'],
|
|
66
|
-
'deletedAt': json['deletedAt'] == null ? undefined : (new Date(json['deletedAt'])),
|
|
67
|
-
'deliveredCount': json['deliveredCount'] == null ? undefined : json['deliveredCount'],
|
|
68
|
-
'description': json['description'] == null ? undefined : json['description'],
|
|
69
|
-
'emailConfigId': json['emailConfigId'] == null ? undefined : json['emailConfigId'],
|
|
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
|
-
'lastSentAt': json['lastSentAt'] == null ? undefined : (new Date(json['lastSentAt'])),
|
|
76
|
-
'metadata': json['metadata'] == null ? undefined : json['metadata'],
|
|
77
|
-
'name': json['name'] == null ? undefined : json['name'],
|
|
78
|
-
'namespaceKey': json['namespaceKey'] == null ? undefined : json['namespaceKey'],
|
|
79
|
-
'notificationPlanId': json['notificationPlanId'] == null ? undefined : json['notificationPlanId'],
|
|
80
|
-
'openedCount': json['openedCount'] == null ? undefined : json['openedCount'],
|
|
81
|
-
'orderNumber': json['orderNumber'] == null ? undefined : json['orderNumber'],
|
|
82
|
-
'pausedAt': json['pausedAt'] == null ? undefined : (new Date(json['pausedAt'])),
|
|
83
|
-
'permission': json['permission'] == null ? undefined : ElementPermissionBasedEntityEmbeddableFromJSON(json['permission']),
|
|
84
|
-
'scheduledAt': json['scheduledAt'] == null ? undefined : (new Date(json['scheduledAt'])),
|
|
85
|
-
'sentAt': json['sentAt'] == null ? undefined : (new Date(json['sentAt'])),
|
|
86
|
-
'sentCount': json['sentCount'] == null ? undefined : json['sentCount'],
|
|
87
|
-
'settings': json['settings'] == null ? undefined : json['settings'],
|
|
88
|
-
'status': json['status'] == null ? undefined : json['status'],
|
|
89
|
-
'tags': json['tags'] == null ? undefined : json['tags'],
|
|
90
|
-
'template': json['template'] == null ? undefined : MailTemplateFromJSON(json['template']),
|
|
91
|
-
'tenantId': json['tenantId'] == null ? undefined : json['tenantId'],
|
|
92
|
-
'totalRecipients': json['totalRecipients'] == null ? undefined : json['totalRecipients'],
|
|
93
|
-
'trustConfigurationId': json['trustConfigurationId'] == null ? undefined : json['trustConfigurationId'],
|
|
94
|
-
'unsubscribedCount': json['unsubscribedCount'] == null ? undefined : json['unsubscribedCount'],
|
|
95
|
-
'version': json['version'] == null ? undefined : json['version'],
|
|
96
|
-
};
|
|
97
|
-
}
|
|
98
|
-
export function MailCampaignToJSON(json) {
|
|
99
|
-
return MailCampaignToJSONTyped(json, false);
|
|
100
|
-
}
|
|
101
|
-
export function MailCampaignToJSONTyped(value, ignoreDiscriminator = false) {
|
|
102
|
-
if (value == null) {
|
|
103
|
-
return value;
|
|
104
|
-
}
|
|
105
|
-
return {
|
|
106
|
-
'bouncedCount': value['bouncedCount'],
|
|
107
|
-
'campaignSegments': value['campaignSegments'] == null ? undefined : (value['campaignSegments'].map(MailCampaignSegmentToJSON)),
|
|
108
|
-
'cancellationReason': value['cancellationReason'],
|
|
109
|
-
'cancelledAt': value['cancelledAt'] == null ? value['cancelledAt'] : value['cancelledAt'].toISOString(),
|
|
110
|
-
'clickedCount': value['clickedCount'],
|
|
111
|
-
'completedAt': value['completedAt'] == null ? value['completedAt'] : value['completedAt'].toISOString(),
|
|
112
|
-
'createdAt': value['createdAt'] == null ? value['createdAt'] : value['createdAt'].toISOString(),
|
|
113
|
-
'createdBy': value['createdBy'],
|
|
114
|
-
'cronExpression': value['cronExpression'],
|
|
115
|
-
'customId': value['customId'],
|
|
116
|
-
'deletedAt': value['deletedAt'] == null ? value['deletedAt'] : value['deletedAt'].toISOString(),
|
|
117
|
-
'deliveredCount': value['deliveredCount'],
|
|
118
|
-
'description': value['description'],
|
|
119
|
-
'emailConfigId': value['emailConfigId'],
|
|
120
|
-
'entityStatus': value['entityStatus'],
|
|
121
|
-
'externalId': value['externalId'],
|
|
122
|
-
'id': value['id'],
|
|
123
|
-
'lastModifiedAt': value['lastModifiedAt'] == null ? value['lastModifiedAt'] : value['lastModifiedAt'].toISOString(),
|
|
124
|
-
'lastModifiedBy': value['lastModifiedBy'],
|
|
125
|
-
'lastSentAt': value['lastSentAt'] == null ? value['lastSentAt'] : value['lastSentAt'].toISOString(),
|
|
126
|
-
'metadata': value['metadata'],
|
|
127
|
-
'name': value['name'],
|
|
128
|
-
'namespaceKey': value['namespaceKey'],
|
|
129
|
-
'notificationPlanId': value['notificationPlanId'],
|
|
130
|
-
'openedCount': value['openedCount'],
|
|
131
|
-
'orderNumber': value['orderNumber'],
|
|
132
|
-
'pausedAt': value['pausedAt'] == null ? value['pausedAt'] : value['pausedAt'].toISOString(),
|
|
133
|
-
'permission': ElementPermissionBasedEntityEmbeddableToJSON(value['permission']),
|
|
134
|
-
'scheduledAt': value['scheduledAt'] == null ? value['scheduledAt'] : value['scheduledAt'].toISOString(),
|
|
135
|
-
'sentAt': value['sentAt'] == null ? value['sentAt'] : value['sentAt'].toISOString(),
|
|
136
|
-
'sentCount': value['sentCount'],
|
|
137
|
-
'settings': value['settings'],
|
|
138
|
-
'status': value['status'],
|
|
139
|
-
'tags': value['tags'],
|
|
140
|
-
'template': MailTemplateToJSON(value['template']),
|
|
141
|
-
'tenantId': value['tenantId'],
|
|
142
|
-
'totalRecipients': value['totalRecipients'],
|
|
143
|
-
'trustConfigurationId': value['trustConfigurationId'],
|
|
144
|
-
'unsubscribedCount': value['unsubscribedCount'],
|
|
145
|
-
'version': value['version'],
|
|
146
|
-
};
|
|
147
|
-
}
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Vergefy API
|
|
5
|
-
* <h1>AI Agent Management</h1><p>Create, configure, and orchestrate AI agents with multi-provider support.</p><h2>Modules</h2><ul><li><b>Agent (IAG):</b> Agent creation, configuration, lifecycle, insight and analytics (IAG001-057, IAG500-505, IAG700-701)</li><li><b>Template (IAT):</b> Agent template management — /ai/agents-templates</li><li><b>Template Advanced (IATEMP):</b> Versions, analytics, recommendations, diffs — /ai/agents-templates (IATEMP001-008)</li><li><b>Agent Upgrade (IAGENT):</b> Upgrade, rollback, version management — /ai/agents/{id}/upgrade|rollback (IAGENT001-005)</li><li><b>Hierarchy (IAH):</b> Supervisor-worker relationships, delegation — /ai/agents/hierarchies</li><li><b>Goal (IAGG):</b> Autonomous goals, success criteria — /ai/agents/goals</li><li><b>Pool (IAGP):</b> Agent pool management, allocation, coordination (queries IAGP001-023, commands IAGP101-109) — /ai/agents/pools</li><li><b>Execution (IAGE):</b> Execution tracking, history — /ai/agents/executions</li><li><b>Health (IAGH):</b> Health checks, recovery — /ai/agents/health</li><li><b>Communication (IAGC):</b> Channels (IAGC001-019) and inter-agent messages (IAGC020-052) — /ai/agents/channels, /ai/agents/messages</li><li><b>Handoff (IAGD):</b> Agent handoff and transfer — /ai/agents/handoffs</li><li><b>Orchestration (IAGO):</b> Orchestration sessions — /ai/agents/orchestration/sessions</li><li><b>Workflow (IAGW):</b> Workflow assignment and execution — /ai/agents-workflows</li><li><b>Capability (IACAP):</b> Capability definitions, permissions (queries IACAP001-011, commands IACAP101-105) — /ai/capabilities</li><li><b>Capability Mapping (IACF):</b> Capability to feature mapping — /ai/agents/capability-feature-mappings</li></ul><p><b>Providers:</b> OpenAI GPT-4, Anthropic Claude, Google Gemini</p>
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 2026-05-30
|
|
8
|
-
* Contact: support@integrahub.co
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
import { ElementPermissionBasedEntityEmbeddableFromJSON, ElementPermissionBasedEntityEmbeddableToJSON, } from './ElementPermissionBasedEntityEmbeddable';
|
|
15
|
-
import { MailSegmentFromJSON, MailSegmentToJSON, } from './MailSegment';
|
|
16
|
-
import { MailCampaignFromJSON, MailCampaignToJSON, } from './MailCampaign';
|
|
17
|
-
/**
|
|
18
|
-
* @export
|
|
19
|
-
*/
|
|
20
|
-
export const MailCampaignSegmentEntityStatusEnum = {
|
|
21
|
-
Active: 'ACTIVE',
|
|
22
|
-
Passive: 'PASSIVE',
|
|
23
|
-
Archived: 'ARCHIVED',
|
|
24
|
-
Deleted: 'DELETED',
|
|
25
|
-
Pending: 'PENDING'
|
|
26
|
-
};
|
|
27
|
-
/**
|
|
28
|
-
* Check if a given object implements the MailCampaignSegment interface.
|
|
29
|
-
*/
|
|
30
|
-
export function instanceOfMailCampaignSegment(value) {
|
|
31
|
-
return true;
|
|
32
|
-
}
|
|
33
|
-
export function MailCampaignSegmentFromJSON(json) {
|
|
34
|
-
return MailCampaignSegmentFromJSONTyped(json, false);
|
|
35
|
-
}
|
|
36
|
-
export function MailCampaignSegmentFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
-
if (json == null) {
|
|
38
|
-
return json;
|
|
39
|
-
}
|
|
40
|
-
return {
|
|
41
|
-
'campaign': json['campaign'] == null ? undefined : MailCampaignFromJSON(json['campaign']),
|
|
42
|
-
'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
|
|
43
|
-
'createdBy': json['createdBy'] == null ? undefined : json['createdBy'],
|
|
44
|
-
'customId': json['customId'] == null ? undefined : json['customId'],
|
|
45
|
-
'deletedAt': json['deletedAt'] == null ? undefined : (new Date(json['deletedAt'])),
|
|
46
|
-
'entityStatus': json['entityStatus'] == null ? undefined : json['entityStatus'],
|
|
47
|
-
'externalId': json['externalId'] == null ? undefined : json['externalId'],
|
|
48
|
-
'id': json['id'] == null ? undefined : json['id'],
|
|
49
|
-
'isActive': json['isActive'] == null ? undefined : json['isActive'],
|
|
50
|
-
'lastModifiedAt': json['lastModifiedAt'] == null ? undefined : (new Date(json['lastModifiedAt'])),
|
|
51
|
-
'lastModifiedBy': json['lastModifiedBy'] == null ? undefined : json['lastModifiedBy'],
|
|
52
|
-
'namespaceKey': json['namespaceKey'] == null ? undefined : json['namespaceKey'],
|
|
53
|
-
'notes': json['notes'] == null ? undefined : json['notes'],
|
|
54
|
-
'orderNumber': json['orderNumber'] == null ? undefined : json['orderNumber'],
|
|
55
|
-
'permission': json['permission'] == null ? undefined : ElementPermissionBasedEntityEmbeddableFromJSON(json['permission']),
|
|
56
|
-
'priority': json['priority'] == null ? undefined : json['priority'],
|
|
57
|
-
'segment': json['segment'] == null ? undefined : MailSegmentFromJSON(json['segment']),
|
|
58
|
-
'tenantId': json['tenantId'] == null ? undefined : json['tenantId'],
|
|
59
|
-
'version': json['version'] == null ? undefined : json['version'],
|
|
60
|
-
};
|
|
61
|
-
}
|
|
62
|
-
export function MailCampaignSegmentToJSON(json) {
|
|
63
|
-
return MailCampaignSegmentToJSONTyped(json, false);
|
|
64
|
-
}
|
|
65
|
-
export function MailCampaignSegmentToJSONTyped(value, ignoreDiscriminator = false) {
|
|
66
|
-
if (value == null) {
|
|
67
|
-
return value;
|
|
68
|
-
}
|
|
69
|
-
return {
|
|
70
|
-
'campaign': MailCampaignToJSON(value['campaign']),
|
|
71
|
-
'createdAt': value['createdAt'] == null ? value['createdAt'] : value['createdAt'].toISOString(),
|
|
72
|
-
'createdBy': value['createdBy'],
|
|
73
|
-
'customId': value['customId'],
|
|
74
|
-
'deletedAt': value['deletedAt'] == null ? value['deletedAt'] : value['deletedAt'].toISOString(),
|
|
75
|
-
'entityStatus': value['entityStatus'],
|
|
76
|
-
'externalId': value['externalId'],
|
|
77
|
-
'id': value['id'],
|
|
78
|
-
'isActive': value['isActive'],
|
|
79
|
-
'lastModifiedAt': value['lastModifiedAt'] == null ? value['lastModifiedAt'] : value['lastModifiedAt'].toISOString(),
|
|
80
|
-
'lastModifiedBy': value['lastModifiedBy'],
|
|
81
|
-
'namespaceKey': value['namespaceKey'],
|
|
82
|
-
'notes': value['notes'],
|
|
83
|
-
'orderNumber': value['orderNumber'],
|
|
84
|
-
'permission': ElementPermissionBasedEntityEmbeddableToJSON(value['permission']),
|
|
85
|
-
'priority': value['priority'],
|
|
86
|
-
'segment': MailSegmentToJSON(value['segment']),
|
|
87
|
-
'tenantId': value['tenantId'],
|
|
88
|
-
'version': value['version'],
|
|
89
|
-
};
|
|
90
|
-
}
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Vergefy API
|
|
5
|
-
* <h1>AI Agent Management</h1><p>Create, configure, and orchestrate AI agents with multi-provider support.</p><h2>Modules</h2><ul><li><b>Agent (IAG):</b> Agent creation, configuration, lifecycle, insight and analytics (IAG001-057, IAG500-505, IAG700-701)</li><li><b>Template (IAT):</b> Agent template management — /ai/agents-templates</li><li><b>Template Advanced (IATEMP):</b> Versions, analytics, recommendations, diffs — /ai/agents-templates (IATEMP001-008)</li><li><b>Agent Upgrade (IAGENT):</b> Upgrade, rollback, version management — /ai/agents/{id}/upgrade|rollback (IAGENT001-005)</li><li><b>Hierarchy (IAH):</b> Supervisor-worker relationships, delegation — /ai/agents/hierarchies</li><li><b>Goal (IAGG):</b> Autonomous goals, success criteria — /ai/agents/goals</li><li><b>Pool (IAGP):</b> Agent pool management, allocation, coordination (queries IAGP001-023, commands IAGP101-109) — /ai/agents/pools</li><li><b>Execution (IAGE):</b> Execution tracking, history — /ai/agents/executions</li><li><b>Health (IAGH):</b> Health checks, recovery — /ai/agents/health</li><li><b>Communication (IAGC):</b> Channels (IAGC001-019) and inter-agent messages (IAGC020-052) — /ai/agents/channels, /ai/agents/messages</li><li><b>Handoff (IAGD):</b> Agent handoff and transfer — /ai/agents/handoffs</li><li><b>Orchestration (IAGO):</b> Orchestration sessions — /ai/agents/orchestration/sessions</li><li><b>Workflow (IAGW):</b> Workflow assignment and execution — /ai/agents-workflows</li><li><b>Capability (IACAP):</b> Capability definitions, permissions (queries IACAP001-011, commands IACAP101-105) — /ai/capabilities</li><li><b>Capability Mapping (IACF):</b> Capability to feature mapping — /ai/agents/capability-feature-mappings</li></ul><p><b>Providers:</b> OpenAI GPT-4, Anthropic Claude, Google Gemini</p>
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 2026-05-30
|
|
8
|
-
* Contact: support@integrahub.co
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
import { ElementPermissionBasedEntityEmbeddableFromJSON, ElementPermissionBasedEntityEmbeddableToJSON, } from './ElementPermissionBasedEntityEmbeddable';
|
|
15
|
-
import { MailSegmentFromJSON, MailSegmentToJSON, } from './MailSegment';
|
|
16
|
-
import { MailSubscriptionFromJSON, MailSubscriptionToJSON, } from './MailSubscription';
|
|
17
|
-
/**
|
|
18
|
-
* @export
|
|
19
|
-
*/
|
|
20
|
-
export const MailSegmentSubscriberEntityStatusEnum = {
|
|
21
|
-
Active: 'ACTIVE',
|
|
22
|
-
Passive: 'PASSIVE',
|
|
23
|
-
Archived: 'ARCHIVED',
|
|
24
|
-
Deleted: 'DELETED',
|
|
25
|
-
Pending: 'PENDING'
|
|
26
|
-
};
|
|
27
|
-
/**
|
|
28
|
-
* Check if a given object implements the MailSegmentSubscriber interface.
|
|
29
|
-
*/
|
|
30
|
-
export function instanceOfMailSegmentSubscriber(value) {
|
|
31
|
-
return true;
|
|
32
|
-
}
|
|
33
|
-
export function MailSegmentSubscriberFromJSON(json) {
|
|
34
|
-
return MailSegmentSubscriberFromJSONTyped(json, false);
|
|
35
|
-
}
|
|
36
|
-
export function MailSegmentSubscriberFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
-
if (json == null) {
|
|
38
|
-
return json;
|
|
39
|
-
}
|
|
40
|
-
return {
|
|
41
|
-
'addedAt': json['addedAt'] == null ? undefined : (new Date(json['addedAt'])),
|
|
42
|
-
'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
|
|
43
|
-
'createdBy': json['createdBy'] == null ? undefined : json['createdBy'],
|
|
44
|
-
'customId': json['customId'] == null ? undefined : json['customId'],
|
|
45
|
-
'deletedAt': json['deletedAt'] == null ? undefined : (new Date(json['deletedAt'])),
|
|
46
|
-
'entityStatus': json['entityStatus'] == null ? undefined : json['entityStatus'],
|
|
47
|
-
'externalId': json['externalId'] == null ? undefined : json['externalId'],
|
|
48
|
-
'id': json['id'] == null ? undefined : json['id'],
|
|
49
|
-
'isActive': json['isActive'] == null ? undefined : json['isActive'],
|
|
50
|
-
'lastModifiedAt': json['lastModifiedAt'] == null ? undefined : (new Date(json['lastModifiedAt'])),
|
|
51
|
-
'lastModifiedBy': json['lastModifiedBy'] == null ? undefined : json['lastModifiedBy'],
|
|
52
|
-
'namespaceKey': json['namespaceKey'] == null ? undefined : json['namespaceKey'],
|
|
53
|
-
'orderNumber': json['orderNumber'] == null ? undefined : json['orderNumber'],
|
|
54
|
-
'permission': json['permission'] == null ? undefined : ElementPermissionBasedEntityEmbeddableFromJSON(json['permission']),
|
|
55
|
-
'score': json['score'] == null ? undefined : json['score'],
|
|
56
|
-
'segment': json['segment'] == null ? undefined : MailSegmentFromJSON(json['segment']),
|
|
57
|
-
'subscription': json['subscription'] == null ? undefined : MailSubscriptionFromJSON(json['subscription']),
|
|
58
|
-
'tags': json['tags'] == null ? undefined : json['tags'],
|
|
59
|
-
'tenantId': json['tenantId'] == null ? undefined : json['tenantId'],
|
|
60
|
-
'version': json['version'] == null ? undefined : json['version'],
|
|
61
|
-
};
|
|
62
|
-
}
|
|
63
|
-
export function MailSegmentSubscriberToJSON(json) {
|
|
64
|
-
return MailSegmentSubscriberToJSONTyped(json, false);
|
|
65
|
-
}
|
|
66
|
-
export function MailSegmentSubscriberToJSONTyped(value, ignoreDiscriminator = false) {
|
|
67
|
-
if (value == null) {
|
|
68
|
-
return value;
|
|
69
|
-
}
|
|
70
|
-
return {
|
|
71
|
-
'addedAt': value['addedAt'] == null ? value['addedAt'] : value['addedAt'].toISOString(),
|
|
72
|
-
'createdAt': value['createdAt'] == null ? value['createdAt'] : value['createdAt'].toISOString(),
|
|
73
|
-
'createdBy': value['createdBy'],
|
|
74
|
-
'customId': value['customId'],
|
|
75
|
-
'deletedAt': value['deletedAt'] == null ? value['deletedAt'] : value['deletedAt'].toISOString(),
|
|
76
|
-
'entityStatus': value['entityStatus'],
|
|
77
|
-
'externalId': value['externalId'],
|
|
78
|
-
'id': value['id'],
|
|
79
|
-
'isActive': value['isActive'],
|
|
80
|
-
'lastModifiedAt': value['lastModifiedAt'] == null ? value['lastModifiedAt'] : value['lastModifiedAt'].toISOString(),
|
|
81
|
-
'lastModifiedBy': value['lastModifiedBy'],
|
|
82
|
-
'namespaceKey': value['namespaceKey'],
|
|
83
|
-
'orderNumber': value['orderNumber'],
|
|
84
|
-
'permission': ElementPermissionBasedEntityEmbeddableToJSON(value['permission']),
|
|
85
|
-
'score': value['score'],
|
|
86
|
-
'segment': MailSegmentToJSON(value['segment']),
|
|
87
|
-
'subscription': MailSubscriptionToJSON(value['subscription']),
|
|
88
|
-
'tags': value['tags'],
|
|
89
|
-
'tenantId': value['tenantId'],
|
|
90
|
-
'version': value['version'],
|
|
91
|
-
};
|
|
92
|
-
}
|
|
@@ -1,156 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Vergefy API
|
|
5
|
-
* <h1>AI Agent Management</h1><p>Create, configure, and orchestrate AI agents with multi-provider support.</p><h2>Modules</h2><ul><li><b>Agent (IAG):</b> Agent creation, configuration, lifecycle, insight and analytics (IAG001-057, IAG500-505, IAG700-701)</li><li><b>Template (IAT):</b> Agent template management — /ai/agents-templates</li><li><b>Template Advanced (IATEMP):</b> Versions, analytics, recommendations, diffs — /ai/agents-templates (IATEMP001-008)</li><li><b>Agent Upgrade (IAGENT):</b> Upgrade, rollback, version management — /ai/agents/{id}/upgrade|rollback (IAGENT001-005)</li><li><b>Hierarchy (IAH):</b> Supervisor-worker relationships, delegation — /ai/agents/hierarchies</li><li><b>Goal (IAGG):</b> Autonomous goals, success criteria — /ai/agents/goals</li><li><b>Pool (IAGP):</b> Agent pool management, allocation, coordination (queries IAGP001-023, commands IAGP101-109) — /ai/agents/pools</li><li><b>Execution (IAGE):</b> Execution tracking, history — /ai/agents/executions</li><li><b>Health (IAGH):</b> Health checks, recovery — /ai/agents/health</li><li><b>Communication (IAGC):</b> Channels (IAGC001-019) and inter-agent messages (IAGC020-052) — /ai/agents/channels, /ai/agents/messages</li><li><b>Handoff (IAGD):</b> Agent handoff and transfer — /ai/agents/handoffs</li><li><b>Orchestration (IAGO):</b> Orchestration sessions — /ai/agents/orchestration/sessions</li><li><b>Workflow (IAGW):</b> Workflow assignment and execution — /ai/agents-workflows</li><li><b>Capability (IACAP):</b> Capability definitions, permissions (queries IACAP001-011, commands IACAP101-105) — /ai/capabilities</li><li><b>Capability Mapping (IACF):</b> Capability to feature mapping — /ai/agents/capability-feature-mappings</li></ul><p><b>Providers:</b> OpenAI GPT-4, Anthropic Claude, Google Gemini</p>
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 2026-05-30
|
|
8
|
-
* Contact: support@integrahub.co
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
import { ElementPermissionBasedEntityEmbeddableFromJSON, ElementPermissionBasedEntityEmbeddableToJSON, } from './ElementPermissionBasedEntityEmbeddable';
|
|
15
|
-
/**
|
|
16
|
-
* @export
|
|
17
|
-
*/
|
|
18
|
-
export const MailSubscriptionEntityStatusEnum = {
|
|
19
|
-
Active: 'ACTIVE',
|
|
20
|
-
Passive: 'PASSIVE',
|
|
21
|
-
Archived: 'ARCHIVED',
|
|
22
|
-
Deleted: 'DELETED',
|
|
23
|
-
Pending: 'PENDING'
|
|
24
|
-
};
|
|
25
|
-
/**
|
|
26
|
-
* @export
|
|
27
|
-
*/
|
|
28
|
-
export const MailSubscriptionSourceEnum = {
|
|
29
|
-
WebsiteForm: 'WEBSITE_FORM',
|
|
30
|
-
WebForm: 'WEB_FORM',
|
|
31
|
-
LandingPage: 'LANDING_PAGE',
|
|
32
|
-
ApiIntegration: 'API_INTEGRATION',
|
|
33
|
-
ImportUpload: 'IMPORT_UPLOAD',
|
|
34
|
-
BulkUpload: 'BULK_UPLOAD',
|
|
35
|
-
ApiRequest: 'API_REQUEST',
|
|
36
|
-
Referral: 'REFERRAL',
|
|
37
|
-
SocialMedia: 'SOCIAL_MEDIA',
|
|
38
|
-
EmailCampaign: 'EMAIL_CAMPAIGN',
|
|
39
|
-
MobileApp: 'MOBILE_APP',
|
|
40
|
-
OfflineEvent: 'OFFLINE_EVENT',
|
|
41
|
-
Other: 'OTHER'
|
|
42
|
-
};
|
|
43
|
-
/**
|
|
44
|
-
* @export
|
|
45
|
-
*/
|
|
46
|
-
export const MailSubscriptionStatusEnum = {
|
|
47
|
-
PendingConfirmation: 'PENDING_CONFIRMATION',
|
|
48
|
-
Confirmed: 'CONFIRMED',
|
|
49
|
-
Active: 'ACTIVE',
|
|
50
|
-
Paused: 'PAUSED',
|
|
51
|
-
Unsubscribed: 'UNSUBSCRIBED',
|
|
52
|
-
Bounced: 'BOUNCED',
|
|
53
|
-
Complained: 'COMPLAINED',
|
|
54
|
-
Suppressed: 'SUPPRESSED',
|
|
55
|
-
Expired: 'EXPIRED'
|
|
56
|
-
};
|
|
57
|
-
/**
|
|
58
|
-
* Check if a given object implements the MailSubscription interface.
|
|
59
|
-
*/
|
|
60
|
-
export function instanceOfMailSubscription(value) {
|
|
61
|
-
return true;
|
|
62
|
-
}
|
|
63
|
-
export function MailSubscriptionFromJSON(json) {
|
|
64
|
-
return MailSubscriptionFromJSONTyped(json, false);
|
|
65
|
-
}
|
|
66
|
-
export function MailSubscriptionFromJSONTyped(json, ignoreDiscriminator) {
|
|
67
|
-
if (json == null) {
|
|
68
|
-
return json;
|
|
69
|
-
}
|
|
70
|
-
return {
|
|
71
|
-
'comments': json['comments'] == null ? undefined : json['comments'],
|
|
72
|
-
'confirmationAttempts': json['confirmationAttempts'] == null ? undefined : json['confirmationAttempts'],
|
|
73
|
-
'confirmationSentAt': json['confirmationSentAt'] == null ? undefined : (new Date(json['confirmationSentAt'])),
|
|
74
|
-
'confirmationToken': json['confirmationToken'] == null ? undefined : json['confirmationToken'],
|
|
75
|
-
'confirmedAt': json['confirmedAt'] == null ? undefined : (new Date(json['confirmedAt'])),
|
|
76
|
-
'contactId': json['contactId'] == null ? undefined : json['contactId'],
|
|
77
|
-
'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
|
|
78
|
-
'createdBy': json['createdBy'] == null ? undefined : json['createdBy'],
|
|
79
|
-
'customId': json['customId'] == null ? undefined : json['customId'],
|
|
80
|
-
'deletedAt': json['deletedAt'] == null ? undefined : (new Date(json['deletedAt'])),
|
|
81
|
-
'doubleOptIn': json['doubleOptIn'] == null ? undefined : json['doubleOptIn'],
|
|
82
|
-
'email': json['email'] == null ? undefined : json['email'],
|
|
83
|
-
'entityStatus': json['entityStatus'] == null ? undefined : json['entityStatus'],
|
|
84
|
-
'externalId': json['externalId'] == null ? undefined : json['externalId'],
|
|
85
|
-
'frequency': json['frequency'] == null ? undefined : json['frequency'],
|
|
86
|
-
'id': json['id'] == null ? undefined : json['id'],
|
|
87
|
-
'ipAddress': json['ipAddress'] == null ? undefined : json['ipAddress'],
|
|
88
|
-
'language': json['language'] == null ? undefined : json['language'],
|
|
89
|
-
'lastEngagementAt': json['lastEngagementAt'] == null ? undefined : (new Date(json['lastEngagementAt'])),
|
|
90
|
-
'lastModifiedAt': json['lastModifiedAt'] == null ? undefined : (new Date(json['lastModifiedAt'])),
|
|
91
|
-
'lastModifiedBy': json['lastModifiedBy'] == null ? undefined : json['lastModifiedBy'],
|
|
92
|
-
'namespaceKey': json['namespaceKey'] == null ? undefined : json['namespaceKey'],
|
|
93
|
-
'orderNumber': json['orderNumber'] == null ? undefined : json['orderNumber'],
|
|
94
|
-
'permission': json['permission'] == null ? undefined : ElementPermissionBasedEntityEmbeddableFromJSON(json['permission']),
|
|
95
|
-
'preferredCategories': json['preferredCategories'] == null ? undefined : json['preferredCategories'],
|
|
96
|
-
'referrerUrl': json['referrerUrl'] == null ? undefined : json['referrerUrl'],
|
|
97
|
-
'source': json['source'] == null ? undefined : json['source'],
|
|
98
|
-
'status': json['status'] == null ? undefined : json['status'],
|
|
99
|
-
'subscribedAt': json['subscribedAt'] == null ? undefined : (new Date(json['subscribedAt'])),
|
|
100
|
-
'tenantId': json['tenantId'] == null ? undefined : json['tenantId'],
|
|
101
|
-
'timezone': json['timezone'] == null ? undefined : json['timezone'],
|
|
102
|
-
'unsubscribeToken': json['unsubscribeToken'] == null ? undefined : json['unsubscribeToken'],
|
|
103
|
-
'userAgent': json['userAgent'] == null ? undefined : json['userAgent'],
|
|
104
|
-
'utmCampaign': json['utmCampaign'] == null ? undefined : json['utmCampaign'],
|
|
105
|
-
'utmMedium': json['utmMedium'] == null ? undefined : json['utmMedium'],
|
|
106
|
-
'utmSource': json['utmSource'] == null ? undefined : json['utmSource'],
|
|
107
|
-
'version': json['version'] == null ? undefined : json['version'],
|
|
108
|
-
};
|
|
109
|
-
}
|
|
110
|
-
export function MailSubscriptionToJSON(json) {
|
|
111
|
-
return MailSubscriptionToJSONTyped(json, false);
|
|
112
|
-
}
|
|
113
|
-
export function MailSubscriptionToJSONTyped(value, ignoreDiscriminator = false) {
|
|
114
|
-
if (value == null) {
|
|
115
|
-
return value;
|
|
116
|
-
}
|
|
117
|
-
return {
|
|
118
|
-
'comments': value['comments'],
|
|
119
|
-
'confirmationAttempts': value['confirmationAttempts'],
|
|
120
|
-
'confirmationSentAt': value['confirmationSentAt'] == null ? value['confirmationSentAt'] : value['confirmationSentAt'].toISOString(),
|
|
121
|
-
'confirmationToken': value['confirmationToken'],
|
|
122
|
-
'confirmedAt': value['confirmedAt'] == null ? value['confirmedAt'] : value['confirmedAt'].toISOString(),
|
|
123
|
-
'contactId': value['contactId'],
|
|
124
|
-
'createdAt': value['createdAt'] == null ? value['createdAt'] : value['createdAt'].toISOString(),
|
|
125
|
-
'createdBy': value['createdBy'],
|
|
126
|
-
'customId': value['customId'],
|
|
127
|
-
'deletedAt': value['deletedAt'] == null ? value['deletedAt'] : value['deletedAt'].toISOString(),
|
|
128
|
-
'doubleOptIn': value['doubleOptIn'],
|
|
129
|
-
'email': value['email'],
|
|
130
|
-
'entityStatus': value['entityStatus'],
|
|
131
|
-
'externalId': value['externalId'],
|
|
132
|
-
'frequency': value['frequency'],
|
|
133
|
-
'id': value['id'],
|
|
134
|
-
'ipAddress': value['ipAddress'],
|
|
135
|
-
'language': value['language'],
|
|
136
|
-
'lastEngagementAt': value['lastEngagementAt'] == null ? value['lastEngagementAt'] : value['lastEngagementAt'].toISOString(),
|
|
137
|
-
'lastModifiedAt': value['lastModifiedAt'] == null ? value['lastModifiedAt'] : value['lastModifiedAt'].toISOString(),
|
|
138
|
-
'lastModifiedBy': value['lastModifiedBy'],
|
|
139
|
-
'namespaceKey': value['namespaceKey'],
|
|
140
|
-
'orderNumber': value['orderNumber'],
|
|
141
|
-
'permission': ElementPermissionBasedEntityEmbeddableToJSON(value['permission']),
|
|
142
|
-
'preferredCategories': value['preferredCategories'],
|
|
143
|
-
'referrerUrl': value['referrerUrl'],
|
|
144
|
-
'source': value['source'],
|
|
145
|
-
'status': value['status'],
|
|
146
|
-
'subscribedAt': value['subscribedAt'] == null ? value['subscribedAt'] : value['subscribedAt'].toISOString(),
|
|
147
|
-
'tenantId': value['tenantId'],
|
|
148
|
-
'timezone': value['timezone'],
|
|
149
|
-
'unsubscribeToken': value['unsubscribeToken'],
|
|
150
|
-
'userAgent': value['userAgent'],
|
|
151
|
-
'utmCampaign': value['utmCampaign'],
|
|
152
|
-
'utmMedium': value['utmMedium'],
|
|
153
|
-
'utmSource': value['utmSource'],
|
|
154
|
-
'version': value['version'],
|
|
155
|
-
};
|
|
156
|
-
}
|
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Vergefy API
|
|
5
|
-
* <h1>AI Agent Management</h1><p>Create, configure, and orchestrate AI agents with multi-provider support.</p><h2>Modules</h2><ul><li><b>Agent (IAG):</b> Agent creation, configuration, lifecycle, insight and analytics (IAG001-057, IAG500-505, IAG700-701)</li><li><b>Template (IAT):</b> Agent template management — /ai/agents-templates</li><li><b>Template Advanced (IATEMP):</b> Versions, analytics, recommendations, diffs — /ai/agents-templates (IATEMP001-008)</li><li><b>Agent Upgrade (IAGENT):</b> Upgrade, rollback, version management — /ai/agents/{id}/upgrade|rollback (IAGENT001-005)</li><li><b>Hierarchy (IAH):</b> Supervisor-worker relationships, delegation — /ai/agents/hierarchies</li><li><b>Goal (IAGG):</b> Autonomous goals, success criteria — /ai/agents/goals</li><li><b>Pool (IAGP):</b> Agent pool management, allocation, coordination (queries IAGP001-023, commands IAGP101-109) — /ai/agents/pools</li><li><b>Execution (IAGE):</b> Execution tracking, history — /ai/agents/executions</li><li><b>Health (IAGH):</b> Health checks, recovery — /ai/agents/health</li><li><b>Communication (IAGC):</b> Channels (IAGC001-019) and inter-agent messages (IAGC020-052) — /ai/agents/channels, /ai/agents/messages</li><li><b>Handoff (IAGD):</b> Agent handoff and transfer — /ai/agents/handoffs</li><li><b>Orchestration (IAGO):</b> Orchestration sessions — /ai/agents/orchestration/sessions</li><li><b>Workflow (IAGW):</b> Workflow assignment and execution — /ai/agents-workflows</li><li><b>Capability (IACAP):</b> Capability definitions, permissions (queries IACAP001-011, commands IACAP101-105) — /ai/capabilities</li><li><b>Capability Mapping (IACF):</b> Capability to feature mapping — /ai/agents/capability-feature-mappings</li></ul><p><b>Providers:</b> OpenAI GPT-4, Anthropic Claude, Google Gemini</p>
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 2026-05-30
|
|
8
|
-
* Contact: support@integrahub.co
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
import { ElementPermissionBasedEntityEmbeddableFromJSON, ElementPermissionBasedEntityEmbeddableToJSON, } from './ElementPermissionBasedEntityEmbeddable';
|
|
15
|
-
/**
|
|
16
|
-
* @export
|
|
17
|
-
*/
|
|
18
|
-
export const MailTemplateEntityStatusEnum = {
|
|
19
|
-
Active: 'ACTIVE',
|
|
20
|
-
Passive: 'PASSIVE',
|
|
21
|
-
Archived: 'ARCHIVED',
|
|
22
|
-
Deleted: 'DELETED',
|
|
23
|
-
Pending: 'PENDING'
|
|
24
|
-
};
|
|
25
|
-
/**
|
|
26
|
-
* @export
|
|
27
|
-
*/
|
|
28
|
-
export const MailTemplateTypeEnum = {
|
|
29
|
-
Newsletter: 'NEWSLETTER',
|
|
30
|
-
Promotional: 'PROMOTIONAL',
|
|
31
|
-
Transactional: 'TRANSACTIONAL',
|
|
32
|
-
Welcome: 'WELCOME',
|
|
33
|
-
FollowUp: 'FOLLOW_UP',
|
|
34
|
-
Reminder: 'REMINDER',
|
|
35
|
-
Notification: 'NOTIFICATION',
|
|
36
|
-
TrustBuilding: 'TRUST_BUILDING',
|
|
37
|
-
Campaign: 'CAMPAIGN',
|
|
38
|
-
Custom: 'CUSTOM'
|
|
39
|
-
};
|
|
40
|
-
/**
|
|
41
|
-
* Check if a given object implements the MailTemplate interface.
|
|
42
|
-
*/
|
|
43
|
-
export function instanceOfMailTemplate(value) {
|
|
44
|
-
return true;
|
|
45
|
-
}
|
|
46
|
-
export function MailTemplateFromJSON(json) {
|
|
47
|
-
return MailTemplateFromJSONTyped(json, false);
|
|
48
|
-
}
|
|
49
|
-
export function MailTemplateFromJSONTyped(json, ignoreDiscriminator) {
|
|
50
|
-
if (json == null) {
|
|
51
|
-
return json;
|
|
52
|
-
}
|
|
53
|
-
return {
|
|
54
|
-
'active': json['active'] == null ? undefined : json['active'],
|
|
55
|
-
'bodyHtml': json['bodyHtml'] == null ? undefined : json['bodyHtml'],
|
|
56
|
-
'bodyText': json['bodyText'] == null ? undefined : json['bodyText'],
|
|
57
|
-
'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
|
|
58
|
-
'createdBy': json['createdBy'] == null ? undefined : json['createdBy'],
|
|
59
|
-
'customId': json['customId'] == null ? undefined : json['customId'],
|
|
60
|
-
'deletedAt': json['deletedAt'] == null ? undefined : (new Date(json['deletedAt'])),
|
|
61
|
-
'description': json['description'] == null ? undefined : json['description'],
|
|
62
|
-
'entityStatus': json['entityStatus'] == null ? undefined : json['entityStatus'],
|
|
63
|
-
'externalId': json['externalId'] == null ? undefined : json['externalId'],
|
|
64
|
-
'id': json['id'] == null ? undefined : json['id'],
|
|
65
|
-
'lastModifiedAt': json['lastModifiedAt'] == null ? undefined : (new Date(json['lastModifiedAt'])),
|
|
66
|
-
'lastModifiedBy': json['lastModifiedBy'] == null ? undefined : json['lastModifiedBy'],
|
|
67
|
-
'name': json['name'] == null ? undefined : json['name'],
|
|
68
|
-
'namespaceKey': json['namespaceKey'] == null ? undefined : json['namespaceKey'],
|
|
69
|
-
'orderNumber': json['orderNumber'] == null ? undefined : json['orderNumber'],
|
|
70
|
-
'permission': json['permission'] == null ? undefined : ElementPermissionBasedEntityEmbeddableFromJSON(json['permission']),
|
|
71
|
-
'subject': json['subject'] == null ? undefined : json['subject'],
|
|
72
|
-
'tags': json['tags'] == null ? undefined : json['tags'],
|
|
73
|
-
'tenantId': json['tenantId'] == null ? undefined : json['tenantId'],
|
|
74
|
-
'type': json['type'] == null ? undefined : json['type'],
|
|
75
|
-
'variables': json['variables'] == null ? undefined : json['variables'],
|
|
76
|
-
'version': json['version'] == null ? undefined : json['version'],
|
|
77
|
-
};
|
|
78
|
-
}
|
|
79
|
-
export function MailTemplateToJSON(json) {
|
|
80
|
-
return MailTemplateToJSONTyped(json, false);
|
|
81
|
-
}
|
|
82
|
-
export function MailTemplateToJSONTyped(value, ignoreDiscriminator = false) {
|
|
83
|
-
if (value == null) {
|
|
84
|
-
return value;
|
|
85
|
-
}
|
|
86
|
-
return {
|
|
87
|
-
'active': value['active'],
|
|
88
|
-
'bodyHtml': value['bodyHtml'],
|
|
89
|
-
'bodyText': value['bodyText'],
|
|
90
|
-
'createdAt': value['createdAt'] == null ? value['createdAt'] : value['createdAt'].toISOString(),
|
|
91
|
-
'createdBy': value['createdBy'],
|
|
92
|
-
'customId': value['customId'],
|
|
93
|
-
'deletedAt': value['deletedAt'] == null ? value['deletedAt'] : value['deletedAt'].toISOString(),
|
|
94
|
-
'description': value['description'],
|
|
95
|
-
'entityStatus': value['entityStatus'],
|
|
96
|
-
'externalId': value['externalId'],
|
|
97
|
-
'id': value['id'],
|
|
98
|
-
'lastModifiedAt': value['lastModifiedAt'] == null ? value['lastModifiedAt'] : value['lastModifiedAt'].toISOString(),
|
|
99
|
-
'lastModifiedBy': value['lastModifiedBy'],
|
|
100
|
-
'name': value['name'],
|
|
101
|
-
'namespaceKey': value['namespaceKey'],
|
|
102
|
-
'orderNumber': value['orderNumber'],
|
|
103
|
-
'permission': ElementPermissionBasedEntityEmbeddableToJSON(value['permission']),
|
|
104
|
-
'subject': value['subject'],
|
|
105
|
-
'tags': value['tags'],
|
|
106
|
-
'tenantId': value['tenantId'],
|
|
107
|
-
'type': value['type'],
|
|
108
|
-
'variables': value['variables'],
|
|
109
|
-
'version': value['version'],
|
|
110
|
-
};
|
|
111
|
-
}
|