@automate.ax/integration-contracts 0.114.4 → 0.115.2
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/dist/asana/index.d.ts +156 -8
- package/dist/asana/semantic-events.d.ts +156 -8
- package/dist/asana/semantic-events.js +27 -4
- package/dist/brevo/index.d.ts +1879 -565
- package/dist/brevo/index.js +46 -45
- package/dist/brevo/schemas.d.ts +600 -1029
- package/dist/brevo/schemas.js +227 -291
- package/dist/close/events.d.ts +2 -2
- package/dist/close/schemas.d.ts +2 -2
- package/dist/convex/index.d.ts +4 -4
- package/dist/convex/schemas.d.ts +2 -2
- package/dist/linear/schemas.d.ts +1 -1
- package/dist/notion/schemas.d.ts +4 -4
- package/dist/resend/action-schemas.d.ts +14 -14
- package/dist/whatsapp/index.d.ts +2 -2
- package/dist/whatsapp/schemas.d.ts +5 -5
- package/package.json +2 -2
- package/src/asana/semantic-events.ts +36 -14
- package/src/brevo/index.ts +99 -55
- package/src/brevo/schemas.ts +266 -395
package/dist/notion/schemas.d.ts
CHANGED
|
@@ -386,8 +386,8 @@ declare const RAW_NOTION_EVENT_SCHEMA: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
386
386
|
updated_properties: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
387
387
|
action: z.ZodEnum<{
|
|
388
388
|
deleted: "deleted";
|
|
389
|
-
created: "created";
|
|
390
389
|
updated: "updated";
|
|
390
|
+
created: "created";
|
|
391
391
|
}>;
|
|
392
392
|
id: z.ZodString;
|
|
393
393
|
name: z.ZodNullable<z.ZodString>;
|
|
@@ -1844,8 +1844,8 @@ export declare const NOTION_EVENT_SCHEMA: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Z
|
|
|
1844
1844
|
updated_properties: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1845
1845
|
action: z.ZodEnum<{
|
|
1846
1846
|
deleted: "deleted";
|
|
1847
|
-
created: "created";
|
|
1848
1847
|
updated: "updated";
|
|
1848
|
+
created: "created";
|
|
1849
1849
|
}>;
|
|
1850
1850
|
id: z.ZodString;
|
|
1851
1851
|
name: z.ZodNullable<z.ZodString>;
|
|
@@ -3158,7 +3158,7 @@ export declare const NOTION_EVENT_SCHEMA: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Z
|
|
|
3158
3158
|
updatedProperties?: {
|
|
3159
3159
|
id: string;
|
|
3160
3160
|
name: string | null;
|
|
3161
|
-
action: "deleted" | "
|
|
3161
|
+
action: "deleted" | "updated" | "created";
|
|
3162
3162
|
}[] | undefined;
|
|
3163
3163
|
};
|
|
3164
3164
|
workspaceId: string;
|
|
@@ -4138,7 +4138,7 @@ export declare const NOTION_EVENT_SCHEMA: z.ZodPipe<z.ZodDiscriminatedUnion<[z.Z
|
|
|
4138
4138
|
data_source_id?: string | undefined;
|
|
4139
4139
|
};
|
|
4140
4140
|
updated_properties?: {
|
|
4141
|
-
action: "deleted" | "
|
|
4141
|
+
action: "deleted" | "updated" | "created";
|
|
4142
4142
|
id: string;
|
|
4143
4143
|
name: string | null;
|
|
4144
4144
|
}[] | undefined;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import * as z from "zod";
|
|
2
2
|
export declare const RESEND_EMAIL_STATUS_SCHEMA: z.ZodEnum<{
|
|
3
3
|
failed: "failed";
|
|
4
|
+
sent: "sent";
|
|
4
5
|
delivered: "delivered";
|
|
6
|
+
clicked: "clicked";
|
|
5
7
|
opened: "opened";
|
|
6
|
-
sent: "sent";
|
|
7
8
|
scheduled: "scheduled";
|
|
8
9
|
canceled: "canceled";
|
|
9
10
|
queued: "queued";
|
|
10
11
|
suppressed: "suppressed";
|
|
11
12
|
bounced: "bounced";
|
|
12
|
-
clicked: "clicked";
|
|
13
13
|
complained: "complained";
|
|
14
14
|
delivery_delayed: "delivery_delayed";
|
|
15
15
|
}>;
|
|
@@ -76,15 +76,15 @@ export declare const RESEND_EMAIL_SUMMARY_WIRE_SCHEMA: z.ZodObject<{
|
|
|
76
76
|
id: z.ZodString;
|
|
77
77
|
last_event: z.ZodEnum<{
|
|
78
78
|
failed: "failed";
|
|
79
|
+
sent: "sent";
|
|
79
80
|
delivered: "delivered";
|
|
81
|
+
clicked: "clicked";
|
|
80
82
|
opened: "opened";
|
|
81
|
-
sent: "sent";
|
|
82
83
|
scheduled: "scheduled";
|
|
83
84
|
canceled: "canceled";
|
|
84
85
|
queued: "queued";
|
|
85
86
|
suppressed: "suppressed";
|
|
86
87
|
bounced: "bounced";
|
|
87
|
-
clicked: "clicked";
|
|
88
88
|
complained: "complained";
|
|
89
89
|
delivery_delayed: "delivery_delayed";
|
|
90
90
|
}>;
|
|
@@ -103,15 +103,15 @@ export declare const RESEND_EMAIL_SUMMARY_SCHEMA: z.ZodPipe<z.ZodObject<{
|
|
|
103
103
|
id: z.ZodString;
|
|
104
104
|
last_event: z.ZodEnum<{
|
|
105
105
|
failed: "failed";
|
|
106
|
+
sent: "sent";
|
|
106
107
|
delivered: "delivered";
|
|
108
|
+
clicked: "clicked";
|
|
107
109
|
opened: "opened";
|
|
108
|
-
sent: "sent";
|
|
109
110
|
scheduled: "scheduled";
|
|
110
111
|
canceled: "canceled";
|
|
111
112
|
queued: "queued";
|
|
112
113
|
suppressed: "suppressed";
|
|
113
114
|
bounced: "bounced";
|
|
114
|
-
clicked: "clicked";
|
|
115
115
|
complained: "complained";
|
|
116
116
|
delivery_delayed: "delivery_delayed";
|
|
117
117
|
}>;
|
|
@@ -123,7 +123,7 @@ export declare const RESEND_EMAIL_SUMMARY_SCHEMA: z.ZodPipe<z.ZodObject<{
|
|
|
123
123
|
topic_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
124
124
|
}, z.core.$strip>, z.ZodTransform<{
|
|
125
125
|
createdAt: string;
|
|
126
|
-
lastEvent: "failed" | "delivered" | "
|
|
126
|
+
lastEvent: "failed" | "sent" | "delivered" | "clicked" | "opened" | "scheduled" | "canceled" | "queued" | "suppressed" | "bounced" | "complained" | "delivery_delayed";
|
|
127
127
|
messageId: string | null | undefined;
|
|
128
128
|
replyTo: string[] | null | undefined;
|
|
129
129
|
scheduledAt: string | null | undefined;
|
|
@@ -138,7 +138,7 @@ export declare const RESEND_EMAIL_SUMMARY_SCHEMA: z.ZodPipe<z.ZodObject<{
|
|
|
138
138
|
created_at: string;
|
|
139
139
|
from: string;
|
|
140
140
|
id: string;
|
|
141
|
-
last_event: "failed" | "delivered" | "
|
|
141
|
+
last_event: "failed" | "sent" | "delivered" | "clicked" | "opened" | "scheduled" | "canceled" | "queued" | "suppressed" | "bounced" | "complained" | "delivery_delayed";
|
|
142
142
|
subject: string;
|
|
143
143
|
to: string[];
|
|
144
144
|
bcc?: string[] | null | undefined;
|
|
@@ -154,15 +154,15 @@ export declare const RESEND_EMAIL_WIRE_SCHEMA: z.ZodObject<{
|
|
|
154
154
|
id: z.ZodString;
|
|
155
155
|
last_event: z.ZodEnum<{
|
|
156
156
|
failed: "failed";
|
|
157
|
+
sent: "sent";
|
|
157
158
|
delivered: "delivered";
|
|
159
|
+
clicked: "clicked";
|
|
158
160
|
opened: "opened";
|
|
159
|
-
sent: "sent";
|
|
160
161
|
scheduled: "scheduled";
|
|
161
162
|
canceled: "canceled";
|
|
162
163
|
queued: "queued";
|
|
163
164
|
suppressed: "suppressed";
|
|
164
165
|
bounced: "bounced";
|
|
165
|
-
clicked: "clicked";
|
|
166
166
|
complained: "complained";
|
|
167
167
|
delivery_delayed: "delivery_delayed";
|
|
168
168
|
}>;
|
|
@@ -188,15 +188,15 @@ export declare const RESEND_EMAIL_SCHEMA: z.ZodPipe<z.ZodObject<{
|
|
|
188
188
|
id: z.ZodString;
|
|
189
189
|
last_event: z.ZodEnum<{
|
|
190
190
|
failed: "failed";
|
|
191
|
+
sent: "sent";
|
|
191
192
|
delivered: "delivered";
|
|
193
|
+
clicked: "clicked";
|
|
192
194
|
opened: "opened";
|
|
193
|
-
sent: "sent";
|
|
194
195
|
scheduled: "scheduled";
|
|
195
196
|
canceled: "canceled";
|
|
196
197
|
queued: "queued";
|
|
197
198
|
suppressed: "suppressed";
|
|
198
199
|
bounced: "bounced";
|
|
199
|
-
clicked: "clicked";
|
|
200
200
|
complained: "complained";
|
|
201
201
|
delivery_delayed: "delivery_delayed";
|
|
202
202
|
}>;
|
|
@@ -217,7 +217,7 @@ export declare const RESEND_EMAIL_SCHEMA: z.ZodPipe<z.ZodObject<{
|
|
|
217
217
|
text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
218
218
|
}, z.core.$strip>, z.ZodTransform<{
|
|
219
219
|
createdAt: string;
|
|
220
|
-
lastEvent: "failed" | "delivered" | "
|
|
220
|
+
lastEvent: "failed" | "sent" | "delivered" | "clicked" | "opened" | "scheduled" | "canceled" | "queued" | "suppressed" | "bounced" | "complained" | "delivery_delayed";
|
|
221
221
|
messageId: string | null | undefined;
|
|
222
222
|
replyTo: string[] | null | undefined;
|
|
223
223
|
scheduledAt: string | null | undefined;
|
|
@@ -239,7 +239,7 @@ export declare const RESEND_EMAIL_SCHEMA: z.ZodPipe<z.ZodObject<{
|
|
|
239
239
|
created_at: string;
|
|
240
240
|
from: string;
|
|
241
241
|
id: string;
|
|
242
|
-
last_event: "failed" | "delivered" | "
|
|
242
|
+
last_event: "failed" | "sent" | "delivered" | "clicked" | "opened" | "scheduled" | "canceled" | "queued" | "suppressed" | "bounced" | "complained" | "delivery_delayed";
|
|
243
243
|
subject: string;
|
|
244
244
|
to: string[];
|
|
245
245
|
object: "email";
|
package/dist/whatsapp/index.d.ts
CHANGED
|
@@ -593,8 +593,8 @@ export declare const whatsappTriggerContracts: {
|
|
|
593
593
|
recipient_id: z.ZodString;
|
|
594
594
|
status: z.ZodEnum<{
|
|
595
595
|
failed: "failed";
|
|
596
|
-
delivered: "delivered";
|
|
597
596
|
sent: "sent";
|
|
597
|
+
delivered: "delivered";
|
|
598
598
|
read: "read";
|
|
599
599
|
played: "played";
|
|
600
600
|
}>;
|
|
@@ -603,8 +603,8 @@ export declare const whatsappTriggerContracts: {
|
|
|
603
603
|
recipientId: z.ZodString;
|
|
604
604
|
status: z.ZodEnum<{
|
|
605
605
|
failed: "failed";
|
|
606
|
-
delivered: "delivered";
|
|
607
606
|
sent: "sent";
|
|
607
|
+
delivered: "delivered";
|
|
608
608
|
read: "read";
|
|
609
609
|
played: "played";
|
|
610
610
|
}>;
|
|
@@ -154,8 +154,8 @@ export declare const WHATSAPP_WEBHOOK_SCHEMA: z.ZodObject<{
|
|
|
154
154
|
recipient_id: z.ZodString;
|
|
155
155
|
status: z.ZodEnum<{
|
|
156
156
|
failed: "failed";
|
|
157
|
-
delivered: "delivered";
|
|
158
157
|
sent: "sent";
|
|
158
|
+
delivered: "delivered";
|
|
159
159
|
read: "read";
|
|
160
160
|
played: "played";
|
|
161
161
|
}>;
|
|
@@ -374,8 +374,8 @@ export declare const WHATSAPP_MESSAGE_STATUS_EVENT_SCHEMA: z.ZodObject<{
|
|
|
374
374
|
recipient_id: z.ZodString;
|
|
375
375
|
status: z.ZodEnum<{
|
|
376
376
|
failed: "failed";
|
|
377
|
-
delivered: "delivered";
|
|
378
377
|
sent: "sent";
|
|
378
|
+
delivered: "delivered";
|
|
379
379
|
read: "read";
|
|
380
380
|
played: "played";
|
|
381
381
|
}>;
|
|
@@ -384,8 +384,8 @@ export declare const WHATSAPP_MESSAGE_STATUS_EVENT_SCHEMA: z.ZodObject<{
|
|
|
384
384
|
recipientId: z.ZodString;
|
|
385
385
|
status: z.ZodEnum<{
|
|
386
386
|
failed: "failed";
|
|
387
|
-
delivered: "delivered";
|
|
388
387
|
sent: "sent";
|
|
388
|
+
delivered: "delivered";
|
|
389
389
|
read: "read";
|
|
390
390
|
played: "played";
|
|
391
391
|
}>;
|
|
@@ -871,7 +871,7 @@ export declare function normalizeWhatsAppWebhook(input: unknown): {
|
|
|
871
871
|
providerEvent: {
|
|
872
872
|
id: string;
|
|
873
873
|
recipient_id: string;
|
|
874
|
-
status: "failed" | "
|
|
874
|
+
status: "failed" | "sent" | "delivered" | "read" | "played";
|
|
875
875
|
timestamp: string;
|
|
876
876
|
biz_opaque_callback_data?: string | undefined;
|
|
877
877
|
conversation?: {
|
|
@@ -900,7 +900,7 @@ export declare function normalizeWhatsAppWebhook(input: unknown): {
|
|
|
900
900
|
} | undefined;
|
|
901
901
|
};
|
|
902
902
|
recipientId: string;
|
|
903
|
-
status: "failed" | "
|
|
903
|
+
status: "failed" | "sent" | "delivered" | "read" | "played";
|
|
904
904
|
timestamp: string;
|
|
905
905
|
callbackData?: string | undefined;
|
|
906
906
|
conversation?: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@automate.ax/integration-contracts",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.115.2",
|
|
4
4
|
"description": "Shared integration payload contracts and provider primitives for Automate.ax.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
}
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"@automate.ax/codec": "0.
|
|
54
|
+
"@automate.ax/codec": "0.115.2",
|
|
55
55
|
"@cfworker/json-schema": "^4.1.1",
|
|
56
56
|
"@googleapis/calendar": "^15.0.0",
|
|
57
57
|
"@googleapis/forms": "^6.0.1",
|
|
@@ -50,6 +50,34 @@ function changedFieldEventSchema<
|
|
|
50
50
|
})
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
+
/**
|
|
54
|
+
* Builds a task relationship schema for Asana's direct parent tuple and its
|
|
55
|
+
* legacy changed-field representation.
|
|
56
|
+
*
|
|
57
|
+
* @param parentType - Provider resource category for the task relationship.
|
|
58
|
+
* @param field - Legacy normalized changed field.
|
|
59
|
+
* @param action - Provider relationship action.
|
|
60
|
+
*/
|
|
61
|
+
function taskRelationshipEventSchema<
|
|
62
|
+
TParentType extends "project" | "tag",
|
|
63
|
+
TField extends "projects" | "tags",
|
|
64
|
+
TAction extends "added" | "removed",
|
|
65
|
+
>(parentType: TParentType, field: TField, action: TAction) {
|
|
66
|
+
return z.union([
|
|
67
|
+
changedFieldEventSchema("task", field, action),
|
|
68
|
+
ASANA_RESOURCE_SCHEMA.extend({
|
|
69
|
+
event: ASANA_EVENT_SCHEMA.extend({
|
|
70
|
+
action: z.literal(action),
|
|
71
|
+
parent: ASANA_RESOURCE_SCHEMA.extend({
|
|
72
|
+
type: z.literal(parentType),
|
|
73
|
+
}),
|
|
74
|
+
resourceType: z.literal("task"),
|
|
75
|
+
}),
|
|
76
|
+
type: z.literal("task"),
|
|
77
|
+
}),
|
|
78
|
+
])
|
|
79
|
+
}
|
|
80
|
+
|
|
53
81
|
export const ASANA_TASK_RESTORED_EVENT_SCHEMA = resourceEventSchema(
|
|
54
82
|
"task",
|
|
55
83
|
"undeleted",
|
|
@@ -105,23 +133,17 @@ export const ASANA_TASK_FOLLOWER_REMOVED_EVENT_SCHEMA = changedFieldEventSchema(
|
|
|
105
133
|
"followers",
|
|
106
134
|
"removed",
|
|
107
135
|
)
|
|
108
|
-
export const ASANA_TASK_PROJECT_ADDED_EVENT_SCHEMA =
|
|
109
|
-
"
|
|
110
|
-
|
|
111
|
-
"
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
"task",
|
|
115
|
-
"projects",
|
|
116
|
-
"removed",
|
|
117
|
-
)
|
|
118
|
-
export const ASANA_TASK_TAG_ADDED_EVENT_SCHEMA = changedFieldEventSchema(
|
|
119
|
-
"task",
|
|
136
|
+
export const ASANA_TASK_PROJECT_ADDED_EVENT_SCHEMA =
|
|
137
|
+
taskRelationshipEventSchema("project", "projects", "added")
|
|
138
|
+
export const ASANA_TASK_PROJECT_REMOVED_EVENT_SCHEMA =
|
|
139
|
+
taskRelationshipEventSchema("project", "projects", "removed")
|
|
140
|
+
export const ASANA_TASK_TAG_ADDED_EVENT_SCHEMA = taskRelationshipEventSchema(
|
|
141
|
+
"tag",
|
|
120
142
|
"tags",
|
|
121
143
|
"added",
|
|
122
144
|
)
|
|
123
|
-
export const ASANA_TASK_TAG_REMOVED_EVENT_SCHEMA =
|
|
124
|
-
"
|
|
145
|
+
export const ASANA_TASK_TAG_REMOVED_EVENT_SCHEMA = taskRelationshipEventSchema(
|
|
146
|
+
"tag",
|
|
125
147
|
"tags",
|
|
126
148
|
"removed",
|
|
127
149
|
)
|
package/src/brevo/index.ts
CHANGED
|
@@ -1,16 +1,12 @@
|
|
|
1
1
|
import * as z from "zod"
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
BREVO_EMAIL_SENT_EVENT_SCHEMA,
|
|
11
|
-
BREVO_EMAIL_SOFT_BOUNCED_EVENT_SCHEMA,
|
|
12
|
-
BREVO_EMAIL_UNSUBSCRIBED_EVENT_SCHEMA,
|
|
13
|
-
BREVO_TRANSACTIONAL_EVENT_SCHEMA,
|
|
3
|
+
BREVO_CONTACT_EVENT_SCHEMA,
|
|
4
|
+
BREVO_EVENT_SCHEMA,
|
|
5
|
+
BREVO_MARKETING_EMAIL_EVENT_SCHEMA,
|
|
6
|
+
BREVO_MARKETING_SMS_EVENT_SCHEMA,
|
|
7
|
+
BREVO_TRANSACTIONAL_EMAIL_EVENT_SCHEMA,
|
|
8
|
+
BREVO_TRANSACTIONAL_SMS_EVENT_SCHEMA,
|
|
9
|
+
createBrevoSemanticEventSchema,
|
|
14
10
|
} from "./schemas"
|
|
15
11
|
|
|
16
12
|
export * from "./api"
|
|
@@ -18,49 +14,97 @@ export * from "./schemas"
|
|
|
18
14
|
|
|
19
15
|
export const BREVO_TRIGGER_CONFIG_SCHEMA = z.object({})
|
|
20
16
|
|
|
17
|
+
const contract = <TSchema extends z.ZodType>(eventSchema: TSchema) => ({
|
|
18
|
+
configSchema: BREVO_TRIGGER_CONFIG_SCHEMA,
|
|
19
|
+
eventSchema,
|
|
20
|
+
})
|
|
21
|
+
const semantic = <
|
|
22
|
+
const TFamily extends Parameters<typeof createBrevoSemanticEventSchema>[0],
|
|
23
|
+
const TType extends string,
|
|
24
|
+
>(
|
|
25
|
+
family: TFamily,
|
|
26
|
+
type: TType,
|
|
27
|
+
) => contract(createBrevoSemanticEventSchema(family, type))
|
|
28
|
+
|
|
21
29
|
export const brevoTriggerContracts = {
|
|
22
|
-
"brevo.
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
"brevo.
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
"brevo.
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
"brevo.
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
30
|
+
"brevo.event": contract(BREVO_EVENT_SCHEMA),
|
|
31
|
+
"brevo.transactionalEmail.event": contract(
|
|
32
|
+
BREVO_TRANSACTIONAL_EMAIL_EVENT_SCHEMA,
|
|
33
|
+
),
|
|
34
|
+
"brevo.transactionalEmail.sent": semantic("transactionalEmail", "sent"),
|
|
35
|
+
"brevo.transactionalEmail.delivered": semantic(
|
|
36
|
+
"transactionalEmail",
|
|
37
|
+
"delivered",
|
|
38
|
+
),
|
|
39
|
+
"brevo.transactionalEmail.hardBounced": semantic(
|
|
40
|
+
"transactionalEmail",
|
|
41
|
+
"hardBounced",
|
|
42
|
+
),
|
|
43
|
+
"brevo.transactionalEmail.softBounced": semantic(
|
|
44
|
+
"transactionalEmail",
|
|
45
|
+
"softBounced",
|
|
46
|
+
),
|
|
47
|
+
"brevo.transactionalEmail.blocked": semantic("transactionalEmail", "blocked"),
|
|
48
|
+
"brevo.transactionalEmail.markedAsSpam": semantic(
|
|
49
|
+
"transactionalEmail",
|
|
50
|
+
"markedAsSpam",
|
|
51
|
+
),
|
|
52
|
+
"brevo.transactionalEmail.invalid": semantic("transactionalEmail", "invalid"),
|
|
53
|
+
"brevo.transactionalEmail.deferred": semantic(
|
|
54
|
+
"transactionalEmail",
|
|
55
|
+
"deferred",
|
|
56
|
+
),
|
|
57
|
+
"brevo.transactionalEmail.clicked": semantic("transactionalEmail", "clicked"),
|
|
58
|
+
"brevo.transactionalEmail.opened": semantic("transactionalEmail", "opened"),
|
|
59
|
+
"brevo.transactionalEmail.firstOpened": semantic(
|
|
60
|
+
"transactionalEmail",
|
|
61
|
+
"firstOpened",
|
|
62
|
+
),
|
|
63
|
+
"brevo.transactionalEmail.unsubscribed": semantic(
|
|
64
|
+
"transactionalEmail",
|
|
65
|
+
"unsubscribed",
|
|
66
|
+
),
|
|
67
|
+
"brevo.transactionalSms.event": contract(
|
|
68
|
+
BREVO_TRANSACTIONAL_SMS_EVENT_SCHEMA,
|
|
69
|
+
),
|
|
70
|
+
"brevo.transactionalSms.sent": semantic("transactionalSms", "sent"),
|
|
71
|
+
"brevo.transactionalSms.delivered": semantic("transactionalSms", "delivered"),
|
|
72
|
+
"brevo.transactionalSms.hardBounced": semantic(
|
|
73
|
+
"transactionalSms",
|
|
74
|
+
"hardBounced",
|
|
75
|
+
),
|
|
76
|
+
"brevo.transactionalSms.softBounced": semantic(
|
|
77
|
+
"transactionalSms",
|
|
78
|
+
"softBounced",
|
|
79
|
+
),
|
|
80
|
+
"brevo.transactionalSms.replied": semantic("transactionalSms", "replied"),
|
|
81
|
+
"brevo.transactionalSms.unsubscribed": semantic(
|
|
82
|
+
"transactionalSms",
|
|
83
|
+
"unsubscribed",
|
|
84
|
+
),
|
|
85
|
+
"brevo.marketingEmail.event": contract(BREVO_MARKETING_EMAIL_EVENT_SCHEMA),
|
|
86
|
+
"brevo.marketingEmail.delivered": semantic("marketingEmail", "delivered"),
|
|
87
|
+
"brevo.marketingEmail.hardBounced": semantic("marketingEmail", "hardBounced"),
|
|
88
|
+
"brevo.marketingEmail.softBounced": semantic("marketingEmail", "softBounced"),
|
|
89
|
+
"brevo.marketingEmail.markedAsSpam": semantic(
|
|
90
|
+
"marketingEmail",
|
|
91
|
+
"markedAsSpam",
|
|
92
|
+
),
|
|
93
|
+
"brevo.marketingEmail.opened": semantic("marketingEmail", "opened"),
|
|
94
|
+
"brevo.marketingEmail.clicked": semantic("marketingEmail", "clicked"),
|
|
95
|
+
"brevo.marketingEmail.unsubscribed": semantic(
|
|
96
|
+
"marketingEmail",
|
|
97
|
+
"unsubscribed",
|
|
98
|
+
),
|
|
99
|
+
"brevo.contact.event": contract(BREVO_CONTACT_EVENT_SCHEMA),
|
|
100
|
+
"brevo.contact.addedToList": semantic("contact", "addedToList"),
|
|
101
|
+
"brevo.contact.updated": semantic("contact", "updated"),
|
|
102
|
+
"brevo.contact.deleted": semantic("contact", "deleted"),
|
|
103
|
+
"brevo.marketingSms.event": contract(BREVO_MARKETING_SMS_EVENT_SCHEMA),
|
|
104
|
+
"brevo.marketingSms.sent": semantic("marketingSms", "sent"),
|
|
105
|
+
"brevo.marketingSms.delivered": semantic("marketingSms", "delivered"),
|
|
106
|
+
"brevo.marketingSms.hardBounced": semantic("marketingSms", "hardBounced"),
|
|
107
|
+
"brevo.marketingSms.softBounced": semantic("marketingSms", "softBounced"),
|
|
108
|
+
"brevo.marketingSms.replied": semantic("marketingSms", "replied"),
|
|
109
|
+
"brevo.marketingSms.unsubscribed": semantic("marketingSms", "unsubscribed"),
|
|
66
110
|
} as const
|