@getlatedev/node 0.2.903 → 0.2.904
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 +7 -3
- package/dist/index.d.ts +7 -3
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +7 -3
package/dist/index.d.mts
CHANGED
|
@@ -15144,7 +15144,7 @@ type GetUsageData = {
|
|
|
15144
15144
|
type GetUsageResponse = ((UsageStats | UsageMetering));
|
|
15145
15145
|
type GetUsageError = (unknown | {
|
|
15146
15146
|
error?: string;
|
|
15147
|
-
});
|
|
15147
|
+
} | ErrorResponse);
|
|
15148
15148
|
type GetUsageStatsData = {
|
|
15149
15149
|
query?: {
|
|
15150
15150
|
/**
|
|
@@ -15161,7 +15161,7 @@ type GetUsageStatsData = {
|
|
|
15161
15161
|
type GetUsageStatsResponse = (UsageStats);
|
|
15162
15162
|
type GetUsageStatsError = (unknown | {
|
|
15163
15163
|
error?: string;
|
|
15164
|
-
});
|
|
15164
|
+
} | ErrorResponse);
|
|
15165
15165
|
type GetCallsUsageData = {
|
|
15166
15166
|
query?: {
|
|
15167
15167
|
channel?: 'whatsapp' | 'pstn';
|
|
@@ -17810,9 +17810,13 @@ type SelectInstagramAccountData = {
|
|
|
17810
17810
|
type SelectInstagramAccountResponse = ({
|
|
17811
17811
|
message?: string;
|
|
17812
17812
|
/**
|
|
17813
|
-
* Redirect URL if a custom redirect_url was provided
|
|
17813
|
+
* Redirect URL if a custom redirect_url was provided. On an ads connect it also carries `adsAccountId`.
|
|
17814
17814
|
*/
|
|
17815
17815
|
redirect_url?: string;
|
|
17816
|
+
/**
|
|
17817
|
+
* Ads connect only (the redirect_url carries adsConnect=true, as it does after GET /v1/connect/{platform}/ads). The metaads SocialAccount ID to use with the /v1/ads endpoints. `account.accountId` is the Instagram posting account. Absent when the ads account could not be created.
|
|
17818
|
+
*/
|
|
17819
|
+
adsAccountId?: string;
|
|
17816
17820
|
account?: {
|
|
17817
17821
|
/**
|
|
17818
17822
|
* ID of the created SocialAccount
|
package/dist/index.d.ts
CHANGED
|
@@ -15144,7 +15144,7 @@ type GetUsageData = {
|
|
|
15144
15144
|
type GetUsageResponse = ((UsageStats | UsageMetering));
|
|
15145
15145
|
type GetUsageError = (unknown | {
|
|
15146
15146
|
error?: string;
|
|
15147
|
-
});
|
|
15147
|
+
} | ErrorResponse);
|
|
15148
15148
|
type GetUsageStatsData = {
|
|
15149
15149
|
query?: {
|
|
15150
15150
|
/**
|
|
@@ -15161,7 +15161,7 @@ type GetUsageStatsData = {
|
|
|
15161
15161
|
type GetUsageStatsResponse = (UsageStats);
|
|
15162
15162
|
type GetUsageStatsError = (unknown | {
|
|
15163
15163
|
error?: string;
|
|
15164
|
-
});
|
|
15164
|
+
} | ErrorResponse);
|
|
15165
15165
|
type GetCallsUsageData = {
|
|
15166
15166
|
query?: {
|
|
15167
15167
|
channel?: 'whatsapp' | 'pstn';
|
|
@@ -17810,9 +17810,13 @@ type SelectInstagramAccountData = {
|
|
|
17810
17810
|
type SelectInstagramAccountResponse = ({
|
|
17811
17811
|
message?: string;
|
|
17812
17812
|
/**
|
|
17813
|
-
* Redirect URL if a custom redirect_url was provided
|
|
17813
|
+
* Redirect URL if a custom redirect_url was provided. On an ads connect it also carries `adsAccountId`.
|
|
17814
17814
|
*/
|
|
17815
17815
|
redirect_url?: string;
|
|
17816
|
+
/**
|
|
17817
|
+
* Ads connect only (the redirect_url carries adsConnect=true, as it does after GET /v1/connect/{platform}/ads). The metaads SocialAccount ID to use with the /v1/ads endpoints. `account.accountId` is the Instagram posting account. Absent when the ads account could not be created.
|
|
17818
|
+
*/
|
|
17819
|
+
adsAccountId?: string;
|
|
17816
17820
|
account?: {
|
|
17817
17821
|
/**
|
|
17818
17822
|
* ID of the created SocialAccount
|
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: "@getlatedev/node",
|
|
39
|
-
version: "0.2.
|
|
39
|
+
version: "0.2.904",
|
|
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: "@getlatedev/node",
|
|
8
|
-
version: "0.2.
|
|
8
|
+
version: "0.2.904",
|
|
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
|
@@ -14058,7 +14058,7 @@ export type GetUsageResponse = ((UsageStats | UsageMetering));
|
|
|
14058
14058
|
|
|
14059
14059
|
export type GetUsageError = (unknown | {
|
|
14060
14060
|
error?: string;
|
|
14061
|
-
});
|
|
14061
|
+
} | ErrorResponse);
|
|
14062
14062
|
|
|
14063
14063
|
export type GetUsageStatsData = {
|
|
14064
14064
|
query?: {
|
|
@@ -14078,7 +14078,7 @@ export type GetUsageStatsResponse = (UsageStats);
|
|
|
14078
14078
|
|
|
14079
14079
|
export type GetUsageStatsError = (unknown | {
|
|
14080
14080
|
error?: string;
|
|
14081
|
-
});
|
|
14081
|
+
} | ErrorResponse);
|
|
14082
14082
|
|
|
14083
14083
|
export type GetCallsUsageData = {
|
|
14084
14084
|
query?: {
|
|
@@ -16885,9 +16885,13 @@ export type SelectInstagramAccountData = {
|
|
|
16885
16885
|
export type SelectInstagramAccountResponse = ({
|
|
16886
16886
|
message?: string;
|
|
16887
16887
|
/**
|
|
16888
|
-
* Redirect URL if a custom redirect_url was provided
|
|
16888
|
+
* Redirect URL if a custom redirect_url was provided. On an ads connect it also carries `adsAccountId`.
|
|
16889
16889
|
*/
|
|
16890
16890
|
redirect_url?: string;
|
|
16891
|
+
/**
|
|
16892
|
+
* Ads connect only (the redirect_url carries adsConnect=true, as it does after GET /v1/connect/{platform}/ads). The metaads SocialAccount ID to use with the /v1/ads endpoints. `account.accountId` is the Instagram posting account. Absent when the ads account could not be created.
|
|
16893
|
+
*/
|
|
16894
|
+
adsAccountId?: string;
|
|
16891
16895
|
account?: {
|
|
16892
16896
|
/**
|
|
16893
16897
|
* ID of the created SocialAccount
|