@botozap/sdk 0.20.1 → 0.21.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/CHANGELOG.md +10 -0
- package/dist/index.cjs +2 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -5500,6 +5500,8 @@ interface ListWebhookDeliveriesParams extends CursorParams {
|
|
|
5500
5500
|
status?: WebhookDeliveryStatus | (string & {});
|
|
5501
5501
|
/** Tipo do evento (ex.: "webhook.test", "messages"). */
|
|
5502
5502
|
event_type?: string;
|
|
5503
|
+
/** Canal da entrega (`channel_account_id`); `"none"` = sem canal (teste, eventos da WABA). */
|
|
5504
|
+
channel_account_id?: string;
|
|
5503
5505
|
}
|
|
5504
5506
|
/** Histórico de entregas de webhook (somente leitura, paginação por cursor). */
|
|
5505
5507
|
declare class WebhookDeliveries {
|
package/dist/index.d.ts
CHANGED
|
@@ -5500,6 +5500,8 @@ interface ListWebhookDeliveriesParams extends CursorParams {
|
|
|
5500
5500
|
status?: WebhookDeliveryStatus | (string & {});
|
|
5501
5501
|
/** Tipo do evento (ex.: "webhook.test", "messages"). */
|
|
5502
5502
|
event_type?: string;
|
|
5503
|
+
/** Canal da entrega (`channel_account_id`); `"none"` = sem canal (teste, eventos da WABA). */
|
|
5504
|
+
channel_account_id?: string;
|
|
5503
5505
|
}
|
|
5504
5506
|
/** Histórico de entregas de webhook (somente leitura, paginação por cursor). */
|
|
5505
5507
|
declare class WebhookDeliveries {
|
package/dist/index.js
CHANGED
|
@@ -6223,7 +6223,8 @@ var WebhookDeliveries = class {
|
|
|
6223
6223
|
before: params.before,
|
|
6224
6224
|
webhook_id: params.webhook_id,
|
|
6225
6225
|
status: params.status,
|
|
6226
|
-
event_type: params.event_type
|
|
6226
|
+
event_type: params.event_type,
|
|
6227
|
+
channel_account_id: params.channel_account_id
|
|
6227
6228
|
}
|
|
6228
6229
|
}
|
|
6229
6230
|
);
|