@getlatedev/node 0.2.1248 → 0.2.1250
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 +2 -0
- package/dist/index.d.mts +84 -8
- package/dist/index.d.ts +84 -8
- package/dist/index.js +19 -1
- package/dist/index.mjs +19 -1
- package/package.json +1 -1
- package/src/client.ts +8 -0
- package/src/generated/sdk.gen.ts +70 -7
- package/src/generated/types.gen.ts +84 -7
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.1250",
|
|
40
40
|
description: "The official Node.js library for the Zernio API",
|
|
41
41
|
main: "dist/index.js",
|
|
42
42
|
module: "dist/index.mjs",
|
|
@@ -4656,6 +4656,18 @@ var revokeAdAccountUserInvitation = (options) => {
|
|
|
4656
4656
|
url: "/v1/ads/accounts/user-invitations"
|
|
4657
4657
|
});
|
|
4658
4658
|
};
|
|
4659
|
+
var listAdAccountUserInvitationApprovals = (options) => {
|
|
4660
|
+
return (options?.client ?? client).get({
|
|
4661
|
+
...options,
|
|
4662
|
+
url: "/v1/ads/accounts/user-invitations/pending-approvals"
|
|
4663
|
+
});
|
|
4664
|
+
};
|
|
4665
|
+
var withdrawAdAccountUserInvitationApproval = (options) => {
|
|
4666
|
+
return (options?.client ?? client).delete({
|
|
4667
|
+
...options,
|
|
4668
|
+
url: "/v1/ads/accounts/user-invitations/pending-approvals"
|
|
4669
|
+
});
|
|
4670
|
+
};
|
|
4659
4671
|
var listAdAccountUsers = (options) => {
|
|
4660
4672
|
return (options?.client ?? client).get({
|
|
4661
4673
|
...options,
|
|
@@ -7441,6 +7453,8 @@ var Zernio = class _Zernio {
|
|
|
7441
7453
|
listAdAccountUserInvitations: this._bind(listAdAccountUserInvitations),
|
|
7442
7454
|
inviteAdAccountUser: this._bind(inviteAdAccountUser),
|
|
7443
7455
|
revokeAdAccountUserInvitation: this._bind(revokeAdAccountUserInvitation),
|
|
7456
|
+
listAdAccountUserInvitationApprovals: this._bind(listAdAccountUserInvitationApprovals),
|
|
7457
|
+
withdrawAdAccountUserInvitationApproval: this._bind(withdrawAdAccountUserInvitationApproval),
|
|
7444
7458
|
listAdAccountUsers: this._bind(listAdAccountUsers),
|
|
7445
7459
|
assignAdAccountUser: this._bind(assignAdAccountUser),
|
|
7446
7460
|
removeAdAccountUser: this._bind(removeAdAccountUser),
|
|
@@ -7988,6 +8002,10 @@ var Zernio = class _Zernio {
|
|
|
7988
8002
|
inviteAdAccountUser: this._bind(inviteAdAccountUser),
|
|
7989
8003
|
/** @deprecated Use `zernio.adaccounts.revokeAdAccountUserInvitation` instead. */
|
|
7990
8004
|
revokeAdAccountUserInvitation: this._bind(revokeAdAccountUserInvitation),
|
|
8005
|
+
/** @deprecated Use `zernio.adaccounts.listAdAccountUserInvitationApprovals` instead. */
|
|
8006
|
+
listAdAccountUserInvitationApprovals: this._bind(listAdAccountUserInvitationApprovals),
|
|
8007
|
+
/** @deprecated Use `zernio.adaccounts.withdrawAdAccountUserInvitationApproval` instead. */
|
|
8008
|
+
withdrawAdAccountUserInvitationApproval: this._bind(withdrawAdAccountUserInvitationApproval),
|
|
7991
8009
|
/** @deprecated Use `zernio.adaccounts.listAdAccountUsers` instead. */
|
|
7992
8010
|
listAdAccountUsers: this._bind(listAdAccountUsers),
|
|
7993
8011
|
/** @deprecated Use `zernio.adaccounts.assignAdAccountUser` instead. */
|
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.1250",
|
|
9
9
|
description: "The official Node.js library for the Zernio API",
|
|
10
10
|
main: "dist/index.js",
|
|
11
11
|
module: "dist/index.mjs",
|
|
@@ -4625,6 +4625,18 @@ var revokeAdAccountUserInvitation = (options) => {
|
|
|
4625
4625
|
url: "/v1/ads/accounts/user-invitations"
|
|
4626
4626
|
});
|
|
4627
4627
|
};
|
|
4628
|
+
var listAdAccountUserInvitationApprovals = (options) => {
|
|
4629
|
+
return (options?.client ?? client).get({
|
|
4630
|
+
...options,
|
|
4631
|
+
url: "/v1/ads/accounts/user-invitations/pending-approvals"
|
|
4632
|
+
});
|
|
4633
|
+
};
|
|
4634
|
+
var withdrawAdAccountUserInvitationApproval = (options) => {
|
|
4635
|
+
return (options?.client ?? client).delete({
|
|
4636
|
+
...options,
|
|
4637
|
+
url: "/v1/ads/accounts/user-invitations/pending-approvals"
|
|
4638
|
+
});
|
|
4639
|
+
};
|
|
4628
4640
|
var listAdAccountUsers = (options) => {
|
|
4629
4641
|
return (options?.client ?? client).get({
|
|
4630
4642
|
...options,
|
|
@@ -7410,6 +7422,8 @@ var Zernio = class _Zernio {
|
|
|
7410
7422
|
listAdAccountUserInvitations: this._bind(listAdAccountUserInvitations),
|
|
7411
7423
|
inviteAdAccountUser: this._bind(inviteAdAccountUser),
|
|
7412
7424
|
revokeAdAccountUserInvitation: this._bind(revokeAdAccountUserInvitation),
|
|
7425
|
+
listAdAccountUserInvitationApprovals: this._bind(listAdAccountUserInvitationApprovals),
|
|
7426
|
+
withdrawAdAccountUserInvitationApproval: this._bind(withdrawAdAccountUserInvitationApproval),
|
|
7413
7427
|
listAdAccountUsers: this._bind(listAdAccountUsers),
|
|
7414
7428
|
assignAdAccountUser: this._bind(assignAdAccountUser),
|
|
7415
7429
|
removeAdAccountUser: this._bind(removeAdAccountUser),
|
|
@@ -7957,6 +7971,10 @@ var Zernio = class _Zernio {
|
|
|
7957
7971
|
inviteAdAccountUser: this._bind(inviteAdAccountUser),
|
|
7958
7972
|
/** @deprecated Use `zernio.adaccounts.revokeAdAccountUserInvitation` instead. */
|
|
7959
7973
|
revokeAdAccountUserInvitation: this._bind(revokeAdAccountUserInvitation),
|
|
7974
|
+
/** @deprecated Use `zernio.adaccounts.listAdAccountUserInvitationApprovals` instead. */
|
|
7975
|
+
listAdAccountUserInvitationApprovals: this._bind(listAdAccountUserInvitationApprovals),
|
|
7976
|
+
/** @deprecated Use `zernio.adaccounts.withdrawAdAccountUserInvitationApproval` instead. */
|
|
7977
|
+
withdrawAdAccountUserInvitationApproval: this._bind(withdrawAdAccountUserInvitationApproval),
|
|
7960
7978
|
/** @deprecated Use `zernio.adaccounts.listAdAccountUsers` instead. */
|
|
7961
7979
|
listAdAccountUsers: this._bind(listAdAccountUsers),
|
|
7962
7980
|
/** @deprecated Use `zernio.adaccounts.assignAdAccountUser` instead. */
|
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -533,6 +533,7 @@ import {
|
|
|
533
533
|
listAccountSitelinks,
|
|
534
534
|
listAccountStructuredSnippets,
|
|
535
535
|
listAccounts,
|
|
536
|
+
listAdAccountUserInvitationApprovals,
|
|
536
537
|
listAdAccountUserInvitations,
|
|
537
538
|
listAdAccountUsers,
|
|
538
539
|
listAdAccounts,
|
|
@@ -980,6 +981,7 @@ import {
|
|
|
980
981
|
verifyWhatsAppNumber,
|
|
981
982
|
viewPhoneNumberKycDocument,
|
|
982
983
|
voteRedditThing,
|
|
984
|
+
withdrawAdAccountUserInvitationApproval,
|
|
983
985
|
} from './generated/sdk.gen';
|
|
984
986
|
|
|
985
987
|
import { ZernioApiError, parseApiError } from './errors';
|
|
@@ -2242,6 +2244,8 @@ export class Zernio {
|
|
|
2242
2244
|
listAdAccountUserInvitations: this._bind(listAdAccountUserInvitations),
|
|
2243
2245
|
inviteAdAccountUser: this._bind(inviteAdAccountUser),
|
|
2244
2246
|
revokeAdAccountUserInvitation: this._bind(revokeAdAccountUserInvitation),
|
|
2247
|
+
listAdAccountUserInvitationApprovals: this._bind(listAdAccountUserInvitationApprovals),
|
|
2248
|
+
withdrawAdAccountUserInvitationApproval: this._bind(withdrawAdAccountUserInvitationApproval),
|
|
2245
2249
|
listAdAccountUsers: this._bind(listAdAccountUsers),
|
|
2246
2250
|
assignAdAccountUser: this._bind(assignAdAccountUser),
|
|
2247
2251
|
removeAdAccountUser: this._bind(removeAdAccountUser),
|
|
@@ -2805,6 +2809,10 @@ export class Zernio {
|
|
|
2805
2809
|
inviteAdAccountUser: this._bind(inviteAdAccountUser),
|
|
2806
2810
|
/** @deprecated Use `zernio.adaccounts.revokeAdAccountUserInvitation` instead. */
|
|
2807
2811
|
revokeAdAccountUserInvitation: this._bind(revokeAdAccountUserInvitation),
|
|
2812
|
+
/** @deprecated Use `zernio.adaccounts.listAdAccountUserInvitationApprovals` instead. */
|
|
2813
|
+
listAdAccountUserInvitationApprovals: this._bind(listAdAccountUserInvitationApprovals),
|
|
2814
|
+
/** @deprecated Use `zernio.adaccounts.withdrawAdAccountUserInvitationApproval` instead. */
|
|
2815
|
+
withdrawAdAccountUserInvitationApproval: this._bind(withdrawAdAccountUserInvitationApproval),
|
|
2808
2816
|
/** @deprecated Use `zernio.adaccounts.listAdAccountUsers` instead. */
|
|
2809
2817
|
listAdAccountUsers: this._bind(listAdAccountUsers),
|
|
2810
2818
|
/** @deprecated Use `zernio.adaccounts.assignAdAccountUser` instead. */
|