@zernio/node 0.2.926 → 0.2.928
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 +46 -1
- package/dist/index.d.ts +46 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/sdk.gen.ts +9 -2
- package/src/generated/types.gen.ts +46 -1
package/dist/index.d.mts
CHANGED
|
@@ -9935,11 +9935,14 @@ type UsageAttributionSlice = {
|
|
|
9935
9935
|
byProduct?: {
|
|
9936
9936
|
accounts?: number;
|
|
9937
9937
|
numbers?: number;
|
|
9938
|
+
imessage?: number;
|
|
9938
9939
|
calls?: number;
|
|
9939
9940
|
sms?: number;
|
|
9941
|
+
messages?: number;
|
|
9940
9942
|
verify?: number;
|
|
9941
9943
|
dlc?: number;
|
|
9942
9944
|
xApi?: number;
|
|
9945
|
+
ads?: number;
|
|
9943
9946
|
credits?: number;
|
|
9944
9947
|
other?: number;
|
|
9945
9948
|
};
|
|
@@ -9963,13 +9966,29 @@ type UsageMetering = {
|
|
|
9963
9966
|
date?: string;
|
|
9964
9967
|
accounts?: number;
|
|
9965
9968
|
numbers?: number;
|
|
9969
|
+
/**
|
|
9970
|
+
* iMessage sender fees.
|
|
9971
|
+
*/
|
|
9972
|
+
imessage?: number;
|
|
9966
9973
|
calls?: number;
|
|
9967
9974
|
sms?: number;
|
|
9975
|
+
/**
|
|
9976
|
+
* Managed outbound message fees.
|
|
9977
|
+
*/
|
|
9978
|
+
messages?: number;
|
|
9979
|
+
/**
|
|
9980
|
+
* Verify (per verification) fees.
|
|
9981
|
+
*/
|
|
9982
|
+
verify?: number;
|
|
9968
9983
|
/**
|
|
9969
9984
|
* 10DLC registration (brand + campaign) fees.
|
|
9970
9985
|
*/
|
|
9971
9986
|
dlc?: number;
|
|
9972
9987
|
xApi?: number;
|
|
9988
|
+
/**
|
|
9989
|
+
* Managed ads fees.
|
|
9990
|
+
*/
|
|
9991
|
+
ads?: number;
|
|
9973
9992
|
/**
|
|
9974
9993
|
* Applied credits/discounts (negative).
|
|
9975
9994
|
*/
|
|
@@ -9982,10 +10001,14 @@ type UsageMetering = {
|
|
|
9982
10001
|
totals?: {
|
|
9983
10002
|
accounts?: number;
|
|
9984
10003
|
numbers?: number;
|
|
10004
|
+
imessage?: number;
|
|
9985
10005
|
calls?: number;
|
|
9986
10006
|
sms?: number;
|
|
10007
|
+
messages?: number;
|
|
10008
|
+
verify?: number;
|
|
9987
10009
|
dlc?: number;
|
|
9988
10010
|
xApi?: number;
|
|
10011
|
+
ads?: number;
|
|
9989
10012
|
credits?: number;
|
|
9990
10013
|
other?: number;
|
|
9991
10014
|
total?: number;
|
|
@@ -9995,7 +10018,7 @@ type UsageMetering = {
|
|
|
9995
10018
|
*/
|
|
9996
10019
|
lineItems?: Array<{
|
|
9997
10020
|
name?: string;
|
|
9998
|
-
product?: 'accounts' | 'numbers' | 'calls' | 'sms' | 'dlc' | 'xApi' | 'credits' | 'other';
|
|
10021
|
+
product?: 'accounts' | 'numbers' | 'imessage' | 'calls' | 'sms' | 'messages' | 'verify' | 'dlc' | 'xApi' | 'ads' | 'credits' | 'other';
|
|
9999
10022
|
totalUsd?: number;
|
|
10000
10023
|
quantity?: number;
|
|
10001
10024
|
}>;
|
|
@@ -11360,6 +11383,10 @@ type WebhookPayloadLead = {
|
|
|
11360
11383
|
*/
|
|
11361
11384
|
accountId?: string;
|
|
11362
11385
|
platform: 'facebook';
|
|
11386
|
+
/**
|
|
11387
|
+
* Profile ID of the account that received the lead. Null when the lead has no profile on record.
|
|
11388
|
+
*/
|
|
11389
|
+
profileId: (string) | null;
|
|
11363
11390
|
};
|
|
11364
11391
|
/**
|
|
11365
11392
|
* UTC time at which Zernio generated this event (set once when the event payload is built, before delivery is queued). Retries and redeliveries keep the original value, so it reflects the event, not the delivery attempt.
|
|
@@ -43980,6 +44007,12 @@ type CreateMessagingAdData = {
|
|
|
43980
44007
|
*/
|
|
43981
44008
|
destinations?: Array<('whatsapp' | 'messenger' | 'instagram_direct')>;
|
|
43982
44009
|
});
|
|
44010
|
+
headers?: {
|
|
44011
|
+
/**
|
|
44012
|
+
* Optional client-generated unique key (e.g. a UUID) that makes retries safe. Same key + same body replays the original response; same key + different body → 422; key still processing → 409.
|
|
44013
|
+
*/
|
|
44014
|
+
'Idempotency-Key'?: string;
|
|
44015
|
+
};
|
|
43983
44016
|
};
|
|
43984
44017
|
type CreateMessagingAdResponse = ((CtwaSingleResponse | CtwaMultiResponse));
|
|
43985
44018
|
type CreateMessagingAdError = (unknown | {
|
|
@@ -43996,6 +44029,12 @@ type CreateCallAdData = {
|
|
|
43996
44029
|
*/
|
|
43997
44030
|
linkUrl: string;
|
|
43998
44031
|
});
|
|
44032
|
+
headers?: {
|
|
44033
|
+
/**
|
|
44034
|
+
* Optional client-generated unique key (e.g. a UUID) that makes retries safe. Same key + same body replays the original response; same key + different body → 422; key still processing → 409.
|
|
44035
|
+
*/
|
|
44036
|
+
'Idempotency-Key'?: string;
|
|
44037
|
+
};
|
|
43999
44038
|
};
|
|
44000
44039
|
type CreateCallAdResponse = ((CtwaSingleResponse | CtwaMultiResponse));
|
|
44001
44040
|
type CreateCallAdError = (unknown | {
|
|
@@ -44003,6 +44042,12 @@ type CreateCallAdError = (unknown | {
|
|
|
44003
44042
|
} | ErrorResponse);
|
|
44004
44043
|
type CreateCtwaAdData = {
|
|
44005
44044
|
body: CtwaAdRequestBody;
|
|
44045
|
+
headers?: {
|
|
44046
|
+
/**
|
|
44047
|
+
* Optional client-generated unique key (e.g. a UUID) that makes retries safe. Same key + same body replays the original response; same key + different body → 422; key still processing → 409.
|
|
44048
|
+
*/
|
|
44049
|
+
'Idempotency-Key'?: string;
|
|
44050
|
+
};
|
|
44006
44051
|
};
|
|
44007
44052
|
type CreateCtwaAdResponse = ((CtwaSingleResponse | CtwaMultiResponse));
|
|
44008
44053
|
type CreateCtwaAdError = (unknown | {
|
package/dist/index.d.ts
CHANGED
|
@@ -9935,11 +9935,14 @@ type UsageAttributionSlice = {
|
|
|
9935
9935
|
byProduct?: {
|
|
9936
9936
|
accounts?: number;
|
|
9937
9937
|
numbers?: number;
|
|
9938
|
+
imessage?: number;
|
|
9938
9939
|
calls?: number;
|
|
9939
9940
|
sms?: number;
|
|
9941
|
+
messages?: number;
|
|
9940
9942
|
verify?: number;
|
|
9941
9943
|
dlc?: number;
|
|
9942
9944
|
xApi?: number;
|
|
9945
|
+
ads?: number;
|
|
9943
9946
|
credits?: number;
|
|
9944
9947
|
other?: number;
|
|
9945
9948
|
};
|
|
@@ -9963,13 +9966,29 @@ type UsageMetering = {
|
|
|
9963
9966
|
date?: string;
|
|
9964
9967
|
accounts?: number;
|
|
9965
9968
|
numbers?: number;
|
|
9969
|
+
/**
|
|
9970
|
+
* iMessage sender fees.
|
|
9971
|
+
*/
|
|
9972
|
+
imessage?: number;
|
|
9966
9973
|
calls?: number;
|
|
9967
9974
|
sms?: number;
|
|
9975
|
+
/**
|
|
9976
|
+
* Managed outbound message fees.
|
|
9977
|
+
*/
|
|
9978
|
+
messages?: number;
|
|
9979
|
+
/**
|
|
9980
|
+
* Verify (per verification) fees.
|
|
9981
|
+
*/
|
|
9982
|
+
verify?: number;
|
|
9968
9983
|
/**
|
|
9969
9984
|
* 10DLC registration (brand + campaign) fees.
|
|
9970
9985
|
*/
|
|
9971
9986
|
dlc?: number;
|
|
9972
9987
|
xApi?: number;
|
|
9988
|
+
/**
|
|
9989
|
+
* Managed ads fees.
|
|
9990
|
+
*/
|
|
9991
|
+
ads?: number;
|
|
9973
9992
|
/**
|
|
9974
9993
|
* Applied credits/discounts (negative).
|
|
9975
9994
|
*/
|
|
@@ -9982,10 +10001,14 @@ type UsageMetering = {
|
|
|
9982
10001
|
totals?: {
|
|
9983
10002
|
accounts?: number;
|
|
9984
10003
|
numbers?: number;
|
|
10004
|
+
imessage?: number;
|
|
9985
10005
|
calls?: number;
|
|
9986
10006
|
sms?: number;
|
|
10007
|
+
messages?: number;
|
|
10008
|
+
verify?: number;
|
|
9987
10009
|
dlc?: number;
|
|
9988
10010
|
xApi?: number;
|
|
10011
|
+
ads?: number;
|
|
9989
10012
|
credits?: number;
|
|
9990
10013
|
other?: number;
|
|
9991
10014
|
total?: number;
|
|
@@ -9995,7 +10018,7 @@ type UsageMetering = {
|
|
|
9995
10018
|
*/
|
|
9996
10019
|
lineItems?: Array<{
|
|
9997
10020
|
name?: string;
|
|
9998
|
-
product?: 'accounts' | 'numbers' | 'calls' | 'sms' | 'dlc' | 'xApi' | 'credits' | 'other';
|
|
10021
|
+
product?: 'accounts' | 'numbers' | 'imessage' | 'calls' | 'sms' | 'messages' | 'verify' | 'dlc' | 'xApi' | 'ads' | 'credits' | 'other';
|
|
9999
10022
|
totalUsd?: number;
|
|
10000
10023
|
quantity?: number;
|
|
10001
10024
|
}>;
|
|
@@ -11360,6 +11383,10 @@ type WebhookPayloadLead = {
|
|
|
11360
11383
|
*/
|
|
11361
11384
|
accountId?: string;
|
|
11362
11385
|
platform: 'facebook';
|
|
11386
|
+
/**
|
|
11387
|
+
* Profile ID of the account that received the lead. Null when the lead has no profile on record.
|
|
11388
|
+
*/
|
|
11389
|
+
profileId: (string) | null;
|
|
11363
11390
|
};
|
|
11364
11391
|
/**
|
|
11365
11392
|
* UTC time at which Zernio generated this event (set once when the event payload is built, before delivery is queued). Retries and redeliveries keep the original value, so it reflects the event, not the delivery attempt.
|
|
@@ -43980,6 +44007,12 @@ type CreateMessagingAdData = {
|
|
|
43980
44007
|
*/
|
|
43981
44008
|
destinations?: Array<('whatsapp' | 'messenger' | 'instagram_direct')>;
|
|
43982
44009
|
});
|
|
44010
|
+
headers?: {
|
|
44011
|
+
/**
|
|
44012
|
+
* Optional client-generated unique key (e.g. a UUID) that makes retries safe. Same key + same body replays the original response; same key + different body → 422; key still processing → 409.
|
|
44013
|
+
*/
|
|
44014
|
+
'Idempotency-Key'?: string;
|
|
44015
|
+
};
|
|
43983
44016
|
};
|
|
43984
44017
|
type CreateMessagingAdResponse = ((CtwaSingleResponse | CtwaMultiResponse));
|
|
43985
44018
|
type CreateMessagingAdError = (unknown | {
|
|
@@ -43996,6 +44029,12 @@ type CreateCallAdData = {
|
|
|
43996
44029
|
*/
|
|
43997
44030
|
linkUrl: string;
|
|
43998
44031
|
});
|
|
44032
|
+
headers?: {
|
|
44033
|
+
/**
|
|
44034
|
+
* Optional client-generated unique key (e.g. a UUID) that makes retries safe. Same key + same body replays the original response; same key + different body → 422; key still processing → 409.
|
|
44035
|
+
*/
|
|
44036
|
+
'Idempotency-Key'?: string;
|
|
44037
|
+
};
|
|
43999
44038
|
};
|
|
44000
44039
|
type CreateCallAdResponse = ((CtwaSingleResponse | CtwaMultiResponse));
|
|
44001
44040
|
type CreateCallAdError = (unknown | {
|
|
@@ -44003,6 +44042,12 @@ type CreateCallAdError = (unknown | {
|
|
|
44003
44042
|
} | ErrorResponse);
|
|
44004
44043
|
type CreateCtwaAdData = {
|
|
44005
44044
|
body: CtwaAdRequestBody;
|
|
44045
|
+
headers?: {
|
|
44046
|
+
/**
|
|
44047
|
+
* Optional client-generated unique key (e.g. a UUID) that makes retries safe. Same key + same body replays the original response; same key + different body → 422; key still processing → 409.
|
|
44048
|
+
*/
|
|
44049
|
+
'Idempotency-Key'?: string;
|
|
44050
|
+
};
|
|
44006
44051
|
};
|
|
44007
44052
|
type CreateCtwaAdResponse = ((CtwaSingleResponse | CtwaMultiResponse));
|
|
44008
44053
|
type CreateCtwaAdError = (unknown | {
|
package/dist/index.js
CHANGED
|
@@ -36,7 +36,7 @@ module.exports = __toCommonJS(index_exports);
|
|
|
36
36
|
// package.json
|
|
37
37
|
var package_default = {
|
|
38
38
|
name: "@zernio/node",
|
|
39
|
-
version: "0.2.
|
|
39
|
+
version: "0.2.928",
|
|
40
40
|
description: "The official Node.js library for the Zernio API",
|
|
41
41
|
main: "dist/index.js",
|
|
42
42
|
module: "dist/index.mjs",
|
package/dist/index.mjs
CHANGED
|
@@ -5,7 +5,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
5
5
|
// package.json
|
|
6
6
|
var package_default = {
|
|
7
7
|
name: "@zernio/node",
|
|
8
|
-
version: "0.2.
|
|
8
|
+
version: "0.2.928",
|
|
9
9
|
description: "The official Node.js library for the Zernio API",
|
|
10
10
|
main: "dist/index.js",
|
|
11
11
|
module: "dist/index.mjs",
|
package/package.json
CHANGED
package/src/generated/sdk.gen.ts
CHANGED
|
@@ -767,8 +767,9 @@ export const getXApiPricing = <ThrowOnError extends boolean = false>(options?: O
|
|
|
767
767
|
* working unchanged.
|
|
768
768
|
*
|
|
769
769
|
* **With `range`, `granularity`, `from`, or `to`:** usage METERING:
|
|
770
|
-
* billed spend (USD) by product family (`accounts`, `numbers`,
|
|
771
|
-
* `
|
|
770
|
+
* billed spend (USD) by product family (`accounts`, `numbers`,
|
|
771
|
+
* `imessage`, `calls`, `sms`, `messages`, `verify`, `dlc`, `xApi`, `ads`,
|
|
772
|
+
* `credits`, `other`) over the window, at
|
|
772
773
|
* `day` / `month` / `total` granularity, from the usage-based invoice
|
|
773
774
|
* breakdown (the CHARGE view, which always reconciles with what gets billed).
|
|
774
775
|
* Also served at `GET /v1/usage/daily`. Usage-based accounts only:
|
|
@@ -11944,6 +11945,8 @@ export const sendWhatsAppConversion = <ThrowOnError extends boolean = false>(opt
|
|
|
11944
11945
|
* a number already paired with the Page (WhatsApp destination only).
|
|
11945
11946
|
* `accountId` is a Facebook, Instagram or Meta ads (business login) connection;
|
|
11946
11947
|
* `pageId` picks the Page when that connection was granted several.
|
|
11948
|
+
*
|
|
11949
|
+
* **Idempotency:** this endpoint is not idempotent at the platform level (a blind retry creates a second campaign/ad set/ad). Send an `Idempotency-Key` header to make retries safe: the first request with a given key creates the ad and we store the response; a retry with the same key replays that exact response (with `Idempotent-Replayed: true`) instead of creating duplicates. Reusing a key with a different body returns 422; a key whose first request is still in flight returns 409 (retry after a short backoff). Keys are scoped to your credential and expire after 24h.
|
|
11947
11950
|
*/
|
|
11948
11951
|
export const createMessagingAd = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<CreateMessagingAdData, ThrowOnError>) => {
|
|
11949
11952
|
return (options?.client ?? client).post<CreateMessagingAdResponse, CreateMessagingAdError, ThrowOnError>({
|
|
@@ -11958,6 +11961,8 @@ export const createMessagingAd = <ThrowOnError extends boolean = false>(options:
|
|
|
11958
11961
|
* via a tel: link. The ad set is destination_type PHONE_CALL optimizing QUALITY_CALL
|
|
11959
11962
|
* and the campaign objective defaults to OUTCOME_LEADS.
|
|
11960
11963
|
* Supports the same single-creative and multi-creative shapes as CTWA.
|
|
11964
|
+
*
|
|
11965
|
+
* **Idempotency:** this endpoint is not idempotent at the platform level (a blind retry creates a second campaign/ad set/ad). Send an `Idempotency-Key` header to make retries safe: the first request with a given key creates the ad and we store the response; a retry with the same key replays that exact response (with `Idempotent-Replayed: true`) instead of creating duplicates. Reusing a key with a different body returns 422; a key whose first request is still in flight returns 409 (retry after a short backoff). Keys are scoped to your credential and expire after 24h.
|
|
11961
11966
|
*/
|
|
11962
11967
|
export const createCallAd = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<CreateCallAdData, ThrowOnError>) => {
|
|
11963
11968
|
return (options?.client ?? client).post<CreateCallAdResponse, CreateCallAdError, ThrowOnError>({
|
|
@@ -11986,6 +11991,8 @@ export const createCallAd = <ThrowOnError extends boolean = false>(options: Opti
|
|
|
11986
11991
|
* `existingPostId`) or `objectStoryId`, either per creative or at the top level. Omit fresh
|
|
11987
11992
|
* media and copy for that creative. Optional `whatsappPhoneNumber` selects
|
|
11988
11993
|
* a number already paired with the Page (WhatsApp destination only).
|
|
11994
|
+
*
|
|
11995
|
+
* **Idempotency:** this endpoint is not idempotent at the platform level (a blind retry creates a second campaign/ad set/ad). Send an `Idempotency-Key` header to make retries safe: the first request with a given key creates the ad and we store the response; a retry with the same key replays that exact response (with `Idempotent-Replayed: true`) instead of creating duplicates. Reusing a key with a different body returns 422; a key whose first request is still in flight returns 409 (retry after a short backoff). Keys are scoped to your credential and expire after 24h.
|
|
11989
11996
|
*/
|
|
11990
11997
|
export const createCtwaAd = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<CreateCtwaAdData, ThrowOnError>) => {
|
|
11991
11998
|
return (options?.client ?? client).post<CreateCtwaAdResponse, CreateCtwaAdError, ThrowOnError>({
|
|
@@ -8583,11 +8583,14 @@ export type UsageAttributionSlice = {
|
|
|
8583
8583
|
byProduct?: {
|
|
8584
8584
|
accounts?: number;
|
|
8585
8585
|
numbers?: number;
|
|
8586
|
+
imessage?: number;
|
|
8586
8587
|
calls?: number;
|
|
8587
8588
|
sms?: number;
|
|
8589
|
+
messages?: number;
|
|
8588
8590
|
verify?: number;
|
|
8589
8591
|
dlc?: number;
|
|
8590
8592
|
xApi?: number;
|
|
8593
|
+
ads?: number;
|
|
8591
8594
|
credits?: number;
|
|
8592
8595
|
other?: number;
|
|
8593
8596
|
};
|
|
@@ -8612,13 +8615,29 @@ export type UsageMetering = {
|
|
|
8612
8615
|
date?: string;
|
|
8613
8616
|
accounts?: number;
|
|
8614
8617
|
numbers?: number;
|
|
8618
|
+
/**
|
|
8619
|
+
* iMessage sender fees.
|
|
8620
|
+
*/
|
|
8621
|
+
imessage?: number;
|
|
8615
8622
|
calls?: number;
|
|
8616
8623
|
sms?: number;
|
|
8624
|
+
/**
|
|
8625
|
+
* Managed outbound message fees.
|
|
8626
|
+
*/
|
|
8627
|
+
messages?: number;
|
|
8628
|
+
/**
|
|
8629
|
+
* Verify (per verification) fees.
|
|
8630
|
+
*/
|
|
8631
|
+
verify?: number;
|
|
8617
8632
|
/**
|
|
8618
8633
|
* 10DLC registration (brand + campaign) fees.
|
|
8619
8634
|
*/
|
|
8620
8635
|
dlc?: number;
|
|
8621
8636
|
xApi?: number;
|
|
8637
|
+
/**
|
|
8638
|
+
* Managed ads fees.
|
|
8639
|
+
*/
|
|
8640
|
+
ads?: number;
|
|
8622
8641
|
/**
|
|
8623
8642
|
* Applied credits/discounts (negative).
|
|
8624
8643
|
*/
|
|
@@ -8631,10 +8650,14 @@ export type UsageMetering = {
|
|
|
8631
8650
|
totals?: {
|
|
8632
8651
|
accounts?: number;
|
|
8633
8652
|
numbers?: number;
|
|
8653
|
+
imessage?: number;
|
|
8634
8654
|
calls?: number;
|
|
8635
8655
|
sms?: number;
|
|
8656
|
+
messages?: number;
|
|
8657
|
+
verify?: number;
|
|
8636
8658
|
dlc?: number;
|
|
8637
8659
|
xApi?: number;
|
|
8660
|
+
ads?: number;
|
|
8638
8661
|
credits?: number;
|
|
8639
8662
|
other?: number;
|
|
8640
8663
|
total?: number;
|
|
@@ -8644,7 +8667,7 @@ export type UsageMetering = {
|
|
|
8644
8667
|
*/
|
|
8645
8668
|
lineItems?: Array<{
|
|
8646
8669
|
name?: string;
|
|
8647
|
-
product?: 'accounts' | 'numbers' | 'calls' | 'sms' | 'dlc' | 'xApi' | 'credits' | 'other';
|
|
8670
|
+
product?: 'accounts' | 'numbers' | 'imessage' | 'calls' | 'sms' | 'messages' | 'verify' | 'dlc' | 'xApi' | 'ads' | 'credits' | 'other';
|
|
8648
8671
|
totalUsd?: number;
|
|
8649
8672
|
quantity?: number;
|
|
8650
8673
|
}>;
|
|
@@ -10065,6 +10088,10 @@ export type WebhookPayloadLead = {
|
|
|
10065
10088
|
*/
|
|
10066
10089
|
accountId?: string;
|
|
10067
10090
|
platform: 'facebook';
|
|
10091
|
+
/**
|
|
10092
|
+
* Profile ID of the account that received the lead. Null when the lead has no profile on record.
|
|
10093
|
+
*/
|
|
10094
|
+
profileId: (string) | null;
|
|
10068
10095
|
};
|
|
10069
10096
|
/**
|
|
10070
10097
|
* UTC time at which Zernio generated this event (set once when the event payload is built, before delivery is queued). Retries and redeliveries keep the original value, so it reflects the event, not the delivery attempt.
|
|
@@ -44824,6 +44851,12 @@ export type CreateMessagingAdData = {
|
|
|
44824
44851
|
*/
|
|
44825
44852
|
destinations?: Array<('whatsapp' | 'messenger' | 'instagram_direct')>;
|
|
44826
44853
|
});
|
|
44854
|
+
headers?: {
|
|
44855
|
+
/**
|
|
44856
|
+
* Optional client-generated unique key (e.g. a UUID) that makes retries safe. Same key + same body replays the original response; same key + different body → 422; key still processing → 409.
|
|
44857
|
+
*/
|
|
44858
|
+
'Idempotency-Key'?: string;
|
|
44859
|
+
};
|
|
44827
44860
|
};
|
|
44828
44861
|
|
|
44829
44862
|
export type CreateMessagingAdResponse = ((CtwaSingleResponse | CtwaMultiResponse));
|
|
@@ -44843,6 +44876,12 @@ export type CreateCallAdData = {
|
|
|
44843
44876
|
*/
|
|
44844
44877
|
linkUrl: string;
|
|
44845
44878
|
});
|
|
44879
|
+
headers?: {
|
|
44880
|
+
/**
|
|
44881
|
+
* Optional client-generated unique key (e.g. a UUID) that makes retries safe. Same key + same body replays the original response; same key + different body → 422; key still processing → 409.
|
|
44882
|
+
*/
|
|
44883
|
+
'Idempotency-Key'?: string;
|
|
44884
|
+
};
|
|
44846
44885
|
};
|
|
44847
44886
|
|
|
44848
44887
|
export type CreateCallAdResponse = ((CtwaSingleResponse | CtwaMultiResponse));
|
|
@@ -44853,6 +44892,12 @@ export type CreateCallAdError = (unknown | {
|
|
|
44853
44892
|
|
|
44854
44893
|
export type CreateCtwaAdData = {
|
|
44855
44894
|
body: CtwaAdRequestBody;
|
|
44895
|
+
headers?: {
|
|
44896
|
+
/**
|
|
44897
|
+
* Optional client-generated unique key (e.g. a UUID) that makes retries safe. Same key + same body replays the original response; same key + different body → 422; key still processing → 409.
|
|
44898
|
+
*/
|
|
44899
|
+
'Idempotency-Key'?: string;
|
|
44900
|
+
};
|
|
44856
44901
|
};
|
|
44857
44902
|
|
|
44858
44903
|
export type CreateCtwaAdResponse = ((CtwaSingleResponse | CtwaMultiResponse));
|