@zernio/node 0.2.838 → 0.2.840
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 +32 -6
- package/dist/index.d.ts +32 -6
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +29 -3
package/dist/index.d.mts
CHANGED
|
@@ -650,14 +650,14 @@ declare class Zernio {
|
|
|
650
650
|
* imessage API
|
|
651
651
|
*/
|
|
652
652
|
imessage: {
|
|
653
|
-
listImessageSenders: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<unknown, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListImessageSendersResponse,
|
|
653
|
+
listImessageSenders: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<unknown, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListImessageSendersResponse, ListImessageSendersError, ThrowOnError>;
|
|
654
654
|
registerImessageSender: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<RegisterImessageSenderData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<RegisterImessageSenderResponse, unknown, ThrowOnError>;
|
|
655
|
-
listImessageSenderOrders: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<ListImessageSenderOrdersData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListImessageSenderOrdersResponse,
|
|
655
|
+
listImessageSenderOrders: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<ListImessageSenderOrdersData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListImessageSenderOrdersResponse, ListImessageSenderOrdersError, ThrowOnError>;
|
|
656
656
|
orderImessageSender: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<OrderImessageSenderData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<OrderImessageSenderResponse, unknown, ThrowOnError>;
|
|
657
657
|
getImessageSender: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetImessageSenderData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetImessageSenderResponse, unknown, ThrowOnError>;
|
|
658
658
|
updateImessageSender: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<UpdateImessageSenderData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<UpdateImessageSenderResponse, unknown, ThrowOnError>;
|
|
659
659
|
cancelImessageSender: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<CancelImessageSenderData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<CancelImessageSenderResponse, unknown, ThrowOnError>;
|
|
660
|
-
listImessageAudience: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<ListImessageAudienceData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListImessageAudienceResponse,
|
|
660
|
+
listImessageAudience: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<ListImessageAudienceData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListImessageAudienceResponse, ListImessageAudienceError, ThrowOnError>;
|
|
661
661
|
setImessageSubscription: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<SetImessageSubscriptionData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<SetImessageSubscriptionResponse, unknown, ThrowOnError>;
|
|
662
662
|
createImessageOptInLink: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<CreateImessageOptInLinkData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<CreateImessageOptInLinkResponse, unknown, ThrowOnError>;
|
|
663
663
|
listImessageAvailableNumbers: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<ListImessageAvailableNumbersData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListImessageAvailableNumbersResponse, unknown, ThrowOnError>;
|
|
@@ -26673,7 +26673,7 @@ type ListImessageSendersResponse = ({
|
|
|
26673
26673
|
});
|
|
26674
26674
|
type ListImessageSendersError = ({
|
|
26675
26675
|
error?: string;
|
|
26676
|
-
}
|
|
26676
|
+
});
|
|
26677
26677
|
type RegisterImessageSenderData = {
|
|
26678
26678
|
body: {
|
|
26679
26679
|
/**
|
|
@@ -26708,7 +26708,7 @@ type ListImessageSenderOrdersResponse = ({
|
|
|
26708
26708
|
});
|
|
26709
26709
|
type ListImessageSenderOrdersError = (ErrorResponse | {
|
|
26710
26710
|
error?: string;
|
|
26711
|
-
}
|
|
26711
|
+
});
|
|
26712
26712
|
type OrderImessageSenderData = {
|
|
26713
26713
|
body: {
|
|
26714
26714
|
profileId: string;
|
|
@@ -26836,7 +26836,7 @@ type ListImessageAudienceResponse = ({
|
|
|
26836
26836
|
});
|
|
26837
26837
|
type ListImessageAudienceError = (ErrorResponse | {
|
|
26838
26838
|
error?: string;
|
|
26839
|
-
}
|
|
26839
|
+
});
|
|
26840
26840
|
type SetImessageSubscriptionData = {
|
|
26841
26841
|
body: {
|
|
26842
26842
|
accountId: string;
|
|
@@ -38558,6 +38558,32 @@ type ListAdAccountsResponse = ({
|
|
|
38558
38558
|
* Meta only. Minimum daily budget for the account, in the account currency's major units. This is the impressions-billed minimum; other billing events have higher minimums. Absent when the connected token cannot read it.
|
|
38559
38559
|
*/
|
|
38560
38560
|
minimumDailyBudget?: number;
|
|
38561
|
+
/**
|
|
38562
|
+
* Meta only. Meta's `funding_source` ID for the ad account, forwarded unchanged. ABSENT when this connection's token cannot see billing on the account, which is not the same as the account having no payment method: never read the missing key as `no payment method configured`.
|
|
38563
|
+
*/
|
|
38564
|
+
fundingSource?: string;
|
|
38565
|
+
/**
|
|
38566
|
+
* Meta only. Meta's `funding_source_details` object, forwarded unchanged.
|
|
38567
|
+
* ABSENT under exactly the same condition as `fundingSource`: this
|
|
38568
|
+
* connection's token cannot see billing on the ad account. It is never
|
|
38569
|
+
* sent as null or as an empty object, so treat the missing key as
|
|
38570
|
+
* 'unknown', never as 'no payment method configured'.
|
|
38571
|
+
*
|
|
38572
|
+
*/
|
|
38573
|
+
fundingSourceDetails?: {
|
|
38574
|
+
/**
|
|
38575
|
+
* Meta's ID for the funding instrument. Matches `fundingSource`.
|
|
38576
|
+
*/
|
|
38577
|
+
id?: string;
|
|
38578
|
+
/**
|
|
38579
|
+
* Meta's own human-readable label for the funding instrument, e.g. 'Available Balance (EUR)' or a masked card. Meta composes this string; do not parse it.
|
|
38580
|
+
*/
|
|
38581
|
+
displayString?: string;
|
|
38582
|
+
/**
|
|
38583
|
+
* Meta's raw numeric funding-source type, forwarded unchanged. Meta publishes no mapping from these numbers to payment-method kinds, so none is documented here and none should be inferred.
|
|
38584
|
+
*/
|
|
38585
|
+
type?: number;
|
|
38586
|
+
};
|
|
38561
38587
|
/**
|
|
38562
38588
|
* Meta and X only. Whether the account can create/run ads now. Absent (treat as true) on other platforms.
|
|
38563
38589
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -650,14 +650,14 @@ declare class Zernio {
|
|
|
650
650
|
* imessage API
|
|
651
651
|
*/
|
|
652
652
|
imessage: {
|
|
653
|
-
listImessageSenders: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<unknown, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListImessageSendersResponse,
|
|
653
|
+
listImessageSenders: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<unknown, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListImessageSendersResponse, ListImessageSendersError, ThrowOnError>;
|
|
654
654
|
registerImessageSender: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<RegisterImessageSenderData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<RegisterImessageSenderResponse, unknown, ThrowOnError>;
|
|
655
|
-
listImessageSenderOrders: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<ListImessageSenderOrdersData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListImessageSenderOrdersResponse,
|
|
655
|
+
listImessageSenderOrders: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<ListImessageSenderOrdersData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListImessageSenderOrdersResponse, ListImessageSenderOrdersError, ThrowOnError>;
|
|
656
656
|
orderImessageSender: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<OrderImessageSenderData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<OrderImessageSenderResponse, unknown, ThrowOnError>;
|
|
657
657
|
getImessageSender: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetImessageSenderData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetImessageSenderResponse, unknown, ThrowOnError>;
|
|
658
658
|
updateImessageSender: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<UpdateImessageSenderData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<UpdateImessageSenderResponse, unknown, ThrowOnError>;
|
|
659
659
|
cancelImessageSender: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<CancelImessageSenderData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<CancelImessageSenderResponse, unknown, ThrowOnError>;
|
|
660
|
-
listImessageAudience: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<ListImessageAudienceData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListImessageAudienceResponse,
|
|
660
|
+
listImessageAudience: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<ListImessageAudienceData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListImessageAudienceResponse, ListImessageAudienceError, ThrowOnError>;
|
|
661
661
|
setImessageSubscription: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<SetImessageSubscriptionData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<SetImessageSubscriptionResponse, unknown, ThrowOnError>;
|
|
662
662
|
createImessageOptInLink: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<CreateImessageOptInLinkData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<CreateImessageOptInLinkResponse, unknown, ThrowOnError>;
|
|
663
663
|
listImessageAvailableNumbers: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<ListImessageAvailableNumbersData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListImessageAvailableNumbersResponse, unknown, ThrowOnError>;
|
|
@@ -26673,7 +26673,7 @@ type ListImessageSendersResponse = ({
|
|
|
26673
26673
|
});
|
|
26674
26674
|
type ListImessageSendersError = ({
|
|
26675
26675
|
error?: string;
|
|
26676
|
-
}
|
|
26676
|
+
});
|
|
26677
26677
|
type RegisterImessageSenderData = {
|
|
26678
26678
|
body: {
|
|
26679
26679
|
/**
|
|
@@ -26708,7 +26708,7 @@ type ListImessageSenderOrdersResponse = ({
|
|
|
26708
26708
|
});
|
|
26709
26709
|
type ListImessageSenderOrdersError = (ErrorResponse | {
|
|
26710
26710
|
error?: string;
|
|
26711
|
-
}
|
|
26711
|
+
});
|
|
26712
26712
|
type OrderImessageSenderData = {
|
|
26713
26713
|
body: {
|
|
26714
26714
|
profileId: string;
|
|
@@ -26836,7 +26836,7 @@ type ListImessageAudienceResponse = ({
|
|
|
26836
26836
|
});
|
|
26837
26837
|
type ListImessageAudienceError = (ErrorResponse | {
|
|
26838
26838
|
error?: string;
|
|
26839
|
-
}
|
|
26839
|
+
});
|
|
26840
26840
|
type SetImessageSubscriptionData = {
|
|
26841
26841
|
body: {
|
|
26842
26842
|
accountId: string;
|
|
@@ -38558,6 +38558,32 @@ type ListAdAccountsResponse = ({
|
|
|
38558
38558
|
* Meta only. Minimum daily budget for the account, in the account currency's major units. This is the impressions-billed minimum; other billing events have higher minimums. Absent when the connected token cannot read it.
|
|
38559
38559
|
*/
|
|
38560
38560
|
minimumDailyBudget?: number;
|
|
38561
|
+
/**
|
|
38562
|
+
* Meta only. Meta's `funding_source` ID for the ad account, forwarded unchanged. ABSENT when this connection's token cannot see billing on the account, which is not the same as the account having no payment method: never read the missing key as `no payment method configured`.
|
|
38563
|
+
*/
|
|
38564
|
+
fundingSource?: string;
|
|
38565
|
+
/**
|
|
38566
|
+
* Meta only. Meta's `funding_source_details` object, forwarded unchanged.
|
|
38567
|
+
* ABSENT under exactly the same condition as `fundingSource`: this
|
|
38568
|
+
* connection's token cannot see billing on the ad account. It is never
|
|
38569
|
+
* sent as null or as an empty object, so treat the missing key as
|
|
38570
|
+
* 'unknown', never as 'no payment method configured'.
|
|
38571
|
+
*
|
|
38572
|
+
*/
|
|
38573
|
+
fundingSourceDetails?: {
|
|
38574
|
+
/**
|
|
38575
|
+
* Meta's ID for the funding instrument. Matches `fundingSource`.
|
|
38576
|
+
*/
|
|
38577
|
+
id?: string;
|
|
38578
|
+
/**
|
|
38579
|
+
* Meta's own human-readable label for the funding instrument, e.g. 'Available Balance (EUR)' or a masked card. Meta composes this string; do not parse it.
|
|
38580
|
+
*/
|
|
38581
|
+
displayString?: string;
|
|
38582
|
+
/**
|
|
38583
|
+
* Meta's raw numeric funding-source type, forwarded unchanged. Meta publishes no mapping from these numbers to payment-method kinds, so none is documented here and none should be inferred.
|
|
38584
|
+
*/
|
|
38585
|
+
type?: number;
|
|
38586
|
+
};
|
|
38561
38587
|
/**
|
|
38562
38588
|
* Meta and X only. Whether the account can create/run ads now. Absent (treat as true) on other platforms.
|
|
38563
38589
|
*/
|
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.840",
|
|
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.840",
|
|
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
|
@@ -26373,7 +26373,7 @@ export type ListImessageSendersResponse = ({
|
|
|
26373
26373
|
|
|
26374
26374
|
export type ListImessageSendersError = ({
|
|
26375
26375
|
error?: string;
|
|
26376
|
-
}
|
|
26376
|
+
});
|
|
26377
26377
|
|
|
26378
26378
|
export type RegisterImessageSenderData = {
|
|
26379
26379
|
body: {
|
|
@@ -26414,7 +26414,7 @@ export type ListImessageSenderOrdersResponse = ({
|
|
|
26414
26414
|
|
|
26415
26415
|
export type ListImessageSenderOrdersError = (ErrorResponse | {
|
|
26416
26416
|
error?: string;
|
|
26417
|
-
}
|
|
26417
|
+
});
|
|
26418
26418
|
|
|
26419
26419
|
export type OrderImessageSenderData = {
|
|
26420
26420
|
body: {
|
|
@@ -26557,7 +26557,7 @@ export type ListImessageAudienceResponse = ({
|
|
|
26557
26557
|
|
|
26558
26558
|
export type ListImessageAudienceError = (ErrorResponse | {
|
|
26559
26559
|
error?: string;
|
|
26560
|
-
}
|
|
26560
|
+
});
|
|
26561
26561
|
|
|
26562
26562
|
export type SetImessageSubscriptionData = {
|
|
26563
26563
|
body: {
|
|
@@ -39192,6 +39192,32 @@ export type ListAdAccountsResponse = ({
|
|
|
39192
39192
|
* Meta only. Minimum daily budget for the account, in the account currency's major units. This is the impressions-billed minimum; other billing events have higher minimums. Absent when the connected token cannot read it.
|
|
39193
39193
|
*/
|
|
39194
39194
|
minimumDailyBudget?: number;
|
|
39195
|
+
/**
|
|
39196
|
+
* Meta only. Meta's `funding_source` ID for the ad account, forwarded unchanged. ABSENT when this connection's token cannot see billing on the account, which is not the same as the account having no payment method: never read the missing key as `no payment method configured`.
|
|
39197
|
+
*/
|
|
39198
|
+
fundingSource?: string;
|
|
39199
|
+
/**
|
|
39200
|
+
* Meta only. Meta's `funding_source_details` object, forwarded unchanged.
|
|
39201
|
+
* ABSENT under exactly the same condition as `fundingSource`: this
|
|
39202
|
+
* connection's token cannot see billing on the ad account. It is never
|
|
39203
|
+
* sent as null or as an empty object, so treat the missing key as
|
|
39204
|
+
* 'unknown', never as 'no payment method configured'.
|
|
39205
|
+
*
|
|
39206
|
+
*/
|
|
39207
|
+
fundingSourceDetails?: {
|
|
39208
|
+
/**
|
|
39209
|
+
* Meta's ID for the funding instrument. Matches `fundingSource`.
|
|
39210
|
+
*/
|
|
39211
|
+
id?: string;
|
|
39212
|
+
/**
|
|
39213
|
+
* Meta's own human-readable label for the funding instrument, e.g. 'Available Balance (EUR)' or a masked card. Meta composes this string; do not parse it.
|
|
39214
|
+
*/
|
|
39215
|
+
displayString?: string;
|
|
39216
|
+
/**
|
|
39217
|
+
* Meta's raw numeric funding-source type, forwarded unchanged. Meta publishes no mapping from these numbers to payment-method kinds, so none is documented here and none should be inferred.
|
|
39218
|
+
*/
|
|
39219
|
+
type?: number;
|
|
39220
|
+
};
|
|
39195
39221
|
/**
|
|
39196
39222
|
* Meta and X only. Whether the account can create/run ads now. Absent (treat as true) on other platforms.
|
|
39197
39223
|
*/
|