@getlatedev/node 0.2.1674 → 0.2.1675
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/README.md +1 -0
- package/dist/index.d.mts +95 -1
- package/dist/index.d.ts +95 -1
- package/dist/index.js +9 -2
- package/dist/index.mjs +9 -2
- package/package.json +1 -1
- package/src/client.ts +2 -0
- package/src/generated/sdk.gen.ts +20 -2
- package/src/generated/types.gen.ts +99 -0
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.1675",
|
|
40
40
|
description: "The official Node.js library for the Zernio API",
|
|
41
41
|
main: "dist/index.js",
|
|
42
42
|
module: "dist/index.mjs",
|
|
@@ -1068,6 +1068,12 @@ var deleteProfile = (options) => {
|
|
|
1068
1068
|
url: "/v1/profiles/{profileId}"
|
|
1069
1069
|
});
|
|
1070
1070
|
};
|
|
1071
|
+
var getProfileLimits = (options) => {
|
|
1072
|
+
return (options?.client ?? client).get({
|
|
1073
|
+
...options,
|
|
1074
|
+
url: "/v1/profiles/{profileId}/limits"
|
|
1075
|
+
});
|
|
1076
|
+
};
|
|
1071
1077
|
var listAccounts = (options) => {
|
|
1072
1078
|
return (options?.client ?? client).get({
|
|
1073
1079
|
...options,
|
|
@@ -8421,7 +8427,8 @@ var Zernio = class _Zernio {
|
|
|
8421
8427
|
createProfile: this._bind(createProfile),
|
|
8422
8428
|
getProfile: this._bind(getProfile),
|
|
8423
8429
|
updateProfile: this._bind(updateProfile),
|
|
8424
|
-
deleteProfile: this._bind(deleteProfile)
|
|
8430
|
+
deleteProfile: this._bind(deleteProfile),
|
|
8431
|
+
getProfileLimits: this._bind(getProfileLimits)
|
|
8425
8432
|
};
|
|
8426
8433
|
/**
|
|
8427
8434
|
* Accounts API - Manage connected social media accounts
|
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.1675",
|
|
9
9
|
description: "The official Node.js library for the Zernio API",
|
|
10
10
|
main: "dist/index.js",
|
|
11
11
|
module: "dist/index.mjs",
|
|
@@ -1037,6 +1037,12 @@ var deleteProfile = (options) => {
|
|
|
1037
1037
|
url: "/v1/profiles/{profileId}"
|
|
1038
1038
|
});
|
|
1039
1039
|
};
|
|
1040
|
+
var getProfileLimits = (options) => {
|
|
1041
|
+
return (options?.client ?? client).get({
|
|
1042
|
+
...options,
|
|
1043
|
+
url: "/v1/profiles/{profileId}/limits"
|
|
1044
|
+
});
|
|
1045
|
+
};
|
|
1040
1046
|
var listAccounts = (options) => {
|
|
1041
1047
|
return (options?.client ?? client).get({
|
|
1042
1048
|
...options,
|
|
@@ -8390,7 +8396,8 @@ var Zernio = class _Zernio {
|
|
|
8390
8396
|
createProfile: this._bind(createProfile),
|
|
8391
8397
|
getProfile: this._bind(getProfile),
|
|
8392
8398
|
updateProfile: this._bind(updateProfile),
|
|
8393
|
-
deleteProfile: this._bind(deleteProfile)
|
|
8399
|
+
deleteProfile: this._bind(deleteProfile),
|
|
8400
|
+
getProfileLimits: this._bind(getProfileLimits)
|
|
8394
8401
|
};
|
|
8395
8402
|
/**
|
|
8396
8403
|
* Accounts API - Manage connected social media accounts
|
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -576,6 +576,7 @@ import {
|
|
|
576
576
|
getPostingFrequency,
|
|
577
577
|
getProduct,
|
|
578
578
|
getProfile,
|
|
579
|
+
getProfileLimits,
|
|
579
580
|
getRcsAgent,
|
|
580
581
|
getRcsCapabilities,
|
|
581
582
|
getRedditFeed,
|
|
@@ -1654,6 +1655,7 @@ export class Zernio {
|
|
|
1654
1655
|
getProfile: this._bind(getProfile),
|
|
1655
1656
|
updateProfile: this._bind(updateProfile),
|
|
1656
1657
|
deleteProfile: this._bind(deleteProfile),
|
|
1658
|
+
getProfileLimits: this._bind(getProfileLimits),
|
|
1657
1659
|
};
|
|
1658
1660
|
|
|
1659
1661
|
/**
|