@getlatedev/node 0.2.10 → 0.2.12
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/index.d.mts +16 -0
- package/dist/index.d.ts +16 -0
- package/package.json +1 -1
- package/src/generated/types.gen.ts +16 -0
package/dist/index.d.mts
CHANGED
|
@@ -8244,6 +8244,10 @@ type GetWhatsAppBroadcastsResponse = ({
|
|
|
8244
8244
|
language?: string;
|
|
8245
8245
|
};
|
|
8246
8246
|
status?: 'draft' | 'scheduled' | 'sending' | 'completed' | 'failed' | 'cancelled';
|
|
8247
|
+
/**
|
|
8248
|
+
* Template name or message text snippet
|
|
8249
|
+
*/
|
|
8250
|
+
messagePreview?: string;
|
|
8247
8251
|
recipientCount?: number;
|
|
8248
8252
|
scheduledAt?: string;
|
|
8249
8253
|
startedAt?: string;
|
|
@@ -9188,6 +9192,18 @@ type CreateSequenceData = {
|
|
|
9188
9192
|
template?: {
|
|
9189
9193
|
name?: string;
|
|
9190
9194
|
language?: string;
|
|
9195
|
+
/**
|
|
9196
|
+
* Maps template variable positions to contact fields. Keys are position strings ("1", "2"), values are objects with field and optional customValue
|
|
9197
|
+
*/
|
|
9198
|
+
variableMapping?: {
|
|
9199
|
+
[key: string]: {
|
|
9200
|
+
field?: 'name' | 'phone' | 'email' | 'company' | 'custom';
|
|
9201
|
+
/**
|
|
9202
|
+
* Static value when field is "custom"
|
|
9203
|
+
*/
|
|
9204
|
+
customValue?: string;
|
|
9205
|
+
};
|
|
9206
|
+
};
|
|
9191
9207
|
};
|
|
9192
9208
|
}>;
|
|
9193
9209
|
exitOnReply?: boolean;
|
package/dist/index.d.ts
CHANGED
|
@@ -8244,6 +8244,10 @@ type GetWhatsAppBroadcastsResponse = ({
|
|
|
8244
8244
|
language?: string;
|
|
8245
8245
|
};
|
|
8246
8246
|
status?: 'draft' | 'scheduled' | 'sending' | 'completed' | 'failed' | 'cancelled';
|
|
8247
|
+
/**
|
|
8248
|
+
* Template name or message text snippet
|
|
8249
|
+
*/
|
|
8250
|
+
messagePreview?: string;
|
|
8247
8251
|
recipientCount?: number;
|
|
8248
8252
|
scheduledAt?: string;
|
|
8249
8253
|
startedAt?: string;
|
|
@@ -9188,6 +9192,18 @@ type CreateSequenceData = {
|
|
|
9188
9192
|
template?: {
|
|
9189
9193
|
name?: string;
|
|
9190
9194
|
language?: string;
|
|
9195
|
+
/**
|
|
9196
|
+
* Maps template variable positions to contact fields. Keys are position strings ("1", "2"), values are objects with field and optional customValue
|
|
9197
|
+
*/
|
|
9198
|
+
variableMapping?: {
|
|
9199
|
+
[key: string]: {
|
|
9200
|
+
field?: 'name' | 'phone' | 'email' | 'company' | 'custom';
|
|
9201
|
+
/**
|
|
9202
|
+
* Static value when field is "custom"
|
|
9203
|
+
*/
|
|
9204
|
+
customValue?: string;
|
|
9205
|
+
};
|
|
9206
|
+
};
|
|
9191
9207
|
};
|
|
9192
9208
|
}>;
|
|
9193
9209
|
exitOnReply?: boolean;
|
package/package.json
CHANGED
|
@@ -8339,6 +8339,10 @@ export type GetWhatsAppBroadcastsResponse = ({
|
|
|
8339
8339
|
language?: string;
|
|
8340
8340
|
};
|
|
8341
8341
|
status?: 'draft' | 'scheduled' | 'sending' | 'completed' | 'failed' | 'cancelled';
|
|
8342
|
+
/**
|
|
8343
|
+
* Template name or message text snippet
|
|
8344
|
+
*/
|
|
8345
|
+
messagePreview?: string;
|
|
8342
8346
|
recipientCount?: number;
|
|
8343
8347
|
scheduledAt?: string;
|
|
8344
8348
|
startedAt?: string;
|
|
@@ -9411,6 +9415,18 @@ export type CreateSequenceData = {
|
|
|
9411
9415
|
template?: {
|
|
9412
9416
|
name?: string;
|
|
9413
9417
|
language?: string;
|
|
9418
|
+
/**
|
|
9419
|
+
* Maps template variable positions to contact fields. Keys are position strings ("1", "2"), values are objects with field and optional customValue
|
|
9420
|
+
*/
|
|
9421
|
+
variableMapping?: {
|
|
9422
|
+
[key: string]: {
|
|
9423
|
+
field?: 'name' | 'phone' | 'email' | 'company' | 'custom';
|
|
9424
|
+
/**
|
|
9425
|
+
* Static value when field is "custom"
|
|
9426
|
+
*/
|
|
9427
|
+
customValue?: string;
|
|
9428
|
+
};
|
|
9429
|
+
};
|
|
9414
9430
|
};
|
|
9415
9431
|
}>;
|
|
9416
9432
|
exitOnReply?: boolean;
|