@getlatedev/node 0.2.1428 → 0.2.1432

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.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.1428",
39
+ version: "0.2.1432",
40
40
  description: "The official Node.js library for the Zernio API",
41
41
  main: "dist/index.js",
42
42
  module: "dist/index.mjs",
@@ -541,6 +541,12 @@ var listTopups = (options) => {
541
541
  url: "/v1/balance/top-ups"
542
542
  });
543
543
  };
544
+ var getTopupCardFee = (options) => {
545
+ return (options?.client ?? client).get({
546
+ ...options,
547
+ url: "/v1/balance/top-ups/card-fee"
548
+ });
549
+ };
544
550
  var getTopupReceipt = (options) => {
545
551
  return (options?.client ?? client).get({
546
552
  ...options,
@@ -7122,6 +7128,12 @@ var removeCampaignParticipant = (options) => {
7122
7128
  url: "/v1/creator-campaigns/{campaignId}/participants/{participantId}/remove"
7123
7129
  });
7124
7130
  };
7131
+ var moveCampaignParticipant = (options) => {
7132
+ return (options?.client ?? client).post({
7133
+ ...options,
7134
+ url: "/v1/creator-campaigns/{campaignId}/participants/{participantId}/move"
7135
+ });
7136
+ };
7125
7137
  var resendCampaignParticipantInvite = (options) => {
7126
7138
  return (options?.client ?? client).post({
7127
7139
  ...options,
@@ -7385,6 +7397,7 @@ var Zernio = class _Zernio {
7385
7397
  getBalance: this._bind(getBalance),
7386
7398
  createTopup: this._bind(createTopup),
7387
7399
  listTopups: this._bind(listTopups),
7400
+ getTopupCardFee: this._bind(getTopupCardFee),
7388
7401
  getTopupReceipt: this._bind(getTopupReceipt),
7389
7402
  confirmTopup: this._bind(confirmTopup),
7390
7403
  cancelTopup: this._bind(cancelTopup),
@@ -8865,6 +8878,7 @@ var Zernio = class _Zernio {
8865
8878
  suspendCampaignParticipant: this._bind(suspendCampaignParticipant),
8866
8879
  reinstateCampaignParticipant: this._bind(reinstateCampaignParticipant),
8867
8880
  removeCampaignParticipant: this._bind(removeCampaignParticipant),
8881
+ moveCampaignParticipant: this._bind(moveCampaignParticipant),
8868
8882
  resendCampaignParticipantInvite: this._bind(resendCampaignParticipantInvite),
8869
8883
  settleCampaignParticipant: this._bind(settleCampaignParticipant),
8870
8884
  createCampaignPayoutBatch: this._bind(createCampaignPayoutBatch),
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.1428",
8
+ version: "0.2.1432",
9
9
  description: "The official Node.js library for the Zernio API",
10
10
  main: "dist/index.js",
11
11
  module: "dist/index.mjs",
@@ -510,6 +510,12 @@ var listTopups = (options) => {
510
510
  url: "/v1/balance/top-ups"
511
511
  });
512
512
  };
513
+ var getTopupCardFee = (options) => {
514
+ return (options?.client ?? client).get({
515
+ ...options,
516
+ url: "/v1/balance/top-ups/card-fee"
517
+ });
518
+ };
513
519
  var getTopupReceipt = (options) => {
514
520
  return (options?.client ?? client).get({
515
521
  ...options,
@@ -7091,6 +7097,12 @@ var removeCampaignParticipant = (options) => {
7091
7097
  url: "/v1/creator-campaigns/{campaignId}/participants/{participantId}/remove"
7092
7098
  });
7093
7099
  };
7100
+ var moveCampaignParticipant = (options) => {
7101
+ return (options?.client ?? client).post({
7102
+ ...options,
7103
+ url: "/v1/creator-campaigns/{campaignId}/participants/{participantId}/move"
7104
+ });
7105
+ };
7094
7106
  var resendCampaignParticipantInvite = (options) => {
7095
7107
  return (options?.client ?? client).post({
7096
7108
  ...options,
@@ -7354,6 +7366,7 @@ var Zernio = class _Zernio {
7354
7366
  getBalance: this._bind(getBalance),
7355
7367
  createTopup: this._bind(createTopup),
7356
7368
  listTopups: this._bind(listTopups),
7369
+ getTopupCardFee: this._bind(getTopupCardFee),
7357
7370
  getTopupReceipt: this._bind(getTopupReceipt),
7358
7371
  confirmTopup: this._bind(confirmTopup),
7359
7372
  cancelTopup: this._bind(cancelTopup),
@@ -8834,6 +8847,7 @@ var Zernio = class _Zernio {
8834
8847
  suspendCampaignParticipant: this._bind(suspendCampaignParticipant),
8835
8848
  reinstateCampaignParticipant: this._bind(reinstateCampaignParticipant),
8836
8849
  removeCampaignParticipant: this._bind(removeCampaignParticipant),
8850
+ moveCampaignParticipant: this._bind(moveCampaignParticipant),
8837
8851
  resendCampaignParticipantInvite: this._bind(resendCampaignParticipantInvite),
8838
8852
  settleCampaignParticipant: this._bind(settleCampaignParticipant),
8839
8853
  createCampaignPayoutBatch: this._bind(createCampaignPayoutBatch),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getlatedev/node",
3
- "version": "0.2.1428",
3
+ "version": "0.2.1432",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
package/src/client.ts CHANGED
@@ -525,6 +525,7 @@ import {
525
525
  getTikTokCreatorInfo,
526
526
  getTikTokSmartPlusAdReview,
527
527
  getTikTokSmartPlusMaterialReport,
528
+ getTopupCardFee,
528
529
  getTopupReceipt,
529
530
  getTrackingTag,
530
531
  getTrackingTagDiagnostics,
@@ -808,6 +809,7 @@ import {
808
809
  lookupSmsNumber,
809
810
  markConversationRead,
810
811
  moveAccountToProfile,
812
+ moveCampaignParticipant,
811
813
  moveWhatsAppNumberToProfile,
812
814
  onboardBusinessAgent,
813
815
  openTrackingWindow,
@@ -1350,6 +1352,7 @@ export class Zernio {
1350
1352
  getBalance: this._bind(getBalance),
1351
1353
  createTopup: this._bind(createTopup),
1352
1354
  listTopups: this._bind(listTopups),
1355
+ getTopupCardFee: this._bind(getTopupCardFee),
1353
1356
  getTopupReceipt: this._bind(getTopupReceipt),
1354
1357
  confirmTopup: this._bind(confirmTopup),
1355
1358
  cancelTopup: this._bind(cancelTopup),
@@ -2909,6 +2912,7 @@ export class Zernio {
2909
2912
  suspendCampaignParticipant: this._bind(suspendCampaignParticipant),
2910
2913
  reinstateCampaignParticipant: this._bind(reinstateCampaignParticipant),
2911
2914
  removeCampaignParticipant: this._bind(removeCampaignParticipant),
2915
+ moveCampaignParticipant: this._bind(moveCampaignParticipant),
2912
2916
  resendCampaignParticipantInvite: this._bind(resendCampaignParticipantInvite),
2913
2917
  settleCampaignParticipant: this._bind(settleCampaignParticipant),
2914
2918
  createCampaignPayoutBatch: this._bind(createCampaignPayoutBatch),