@getlatedev/node 0.2.1373 → 0.2.1375
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 +72 -0
- package/dist/index.d.mts +3076 -140
- package/dist/index.d.ts +3076 -140
- package/dist/index.js +413 -1
- package/dist/index.mjs +413 -1
- package/package.json +1 -1
- package/src/client.ts +136 -0
- package/src/generated/sdk.gen.ts +812 -1
- package/src/generated/types.gen.ts +3366 -262
package/src/client.ts
CHANGED
|
@@ -2,6 +2,7 @@ import packageJson from '../package.json';
|
|
|
2
2
|
import { createClient, createConfig, type Client } from '@hey-api/client-fetch';
|
|
3
3
|
import {
|
|
4
4
|
acceptConversationRequest,
|
|
5
|
+
activateCreatorCampaign,
|
|
5
6
|
activateSequence,
|
|
6
7
|
activateWorkflow,
|
|
7
8
|
addAccountCallouts,
|
|
@@ -27,6 +28,7 @@ import {
|
|
|
27
28
|
adjustConversions,
|
|
28
29
|
appealSmsRegistration,
|
|
29
30
|
applyGoogleRecommendations,
|
|
31
|
+
approveCampaignSubmission,
|
|
30
32
|
approveWhatsAppGroupJoinRequests,
|
|
31
33
|
archiveLeadForm,
|
|
32
34
|
askSupportQuestion,
|
|
@@ -52,8 +54,10 @@ import {
|
|
|
52
54
|
calendarFreeBusy,
|
|
53
55
|
cancelBroadcast,
|
|
54
56
|
cancelImessageSender,
|
|
57
|
+
cancelPayoutBatch,
|
|
55
58
|
cancelPhoneNumberPortIn,
|
|
56
59
|
cancelRfReservation,
|
|
60
|
+
cancelTrackingWindow,
|
|
57
61
|
changeCommerceCollectionChannels,
|
|
58
62
|
changeCommerceCollectionProducts,
|
|
59
63
|
changeCommerceInventory,
|
|
@@ -65,6 +69,7 @@ import {
|
|
|
65
69
|
checkVerification,
|
|
66
70
|
checkWhatsAppNumberAvailability,
|
|
67
71
|
clearContactFieldValue,
|
|
72
|
+
closeCreatorCampaign,
|
|
68
73
|
completeGoogleBusinessVerification,
|
|
69
74
|
completeMetaAdsBusinessLogin,
|
|
70
75
|
completeTelegramConnect,
|
|
@@ -112,6 +117,10 @@ import {
|
|
|
112
117
|
createBusinessAgentUiSkill,
|
|
113
118
|
createCalendarEvent,
|
|
114
119
|
createCallAd,
|
|
120
|
+
createCampaignAdjustment,
|
|
121
|
+
createCampaignInviteLink,
|
|
122
|
+
createCampaignParticipant,
|
|
123
|
+
createCampaignPayoutBatch,
|
|
115
124
|
createCommentAutomation,
|
|
116
125
|
createCommerceCatalogSync,
|
|
117
126
|
createCommerceCollection,
|
|
@@ -126,6 +135,8 @@ import {
|
|
|
126
135
|
createContact,
|
|
127
136
|
createConversionAction,
|
|
128
137
|
createConversionDestination,
|
|
138
|
+
createCreatorCampaign,
|
|
139
|
+
createCreatorPayoutLogin,
|
|
129
140
|
createCtwaAd,
|
|
130
141
|
createCustomConversion,
|
|
131
142
|
createCustomConversionGoal,
|
|
@@ -148,6 +159,7 @@ import {
|
|
|
148
159
|
createLeadForm,
|
|
149
160
|
createMessagingAd,
|
|
150
161
|
createOAuthApp,
|
|
162
|
+
createPayeeOnboardingLink,
|
|
151
163
|
createPhoneNumberKycLink,
|
|
152
164
|
createPhoneNumberPortIn,
|
|
153
165
|
createPhoneNumberStockWatch,
|
|
@@ -163,8 +175,10 @@ import {
|
|
|
163
175
|
createSmsSenderId,
|
|
164
176
|
createStandaloneAd,
|
|
165
177
|
createTestLead,
|
|
178
|
+
createTopup,
|
|
166
179
|
createTrackingTag,
|
|
167
180
|
createTrackingTagEvent,
|
|
181
|
+
createTransfer,
|
|
168
182
|
createValueRuleSet,
|
|
169
183
|
createVerification,
|
|
170
184
|
createVoiceCall,
|
|
@@ -335,6 +349,7 @@ import {
|
|
|
335
349
|
getAnalytics,
|
|
336
350
|
getAnalyticsDashboard,
|
|
337
351
|
getAnalyticsDelta,
|
|
352
|
+
getBalance,
|
|
338
353
|
getBestTimeToPost,
|
|
339
354
|
getBilling,
|
|
340
355
|
getBlog,
|
|
@@ -363,6 +378,9 @@ import {
|
|
|
363
378
|
getCampaignAnalytics,
|
|
364
379
|
getCampaignBidding,
|
|
365
380
|
getCampaignConversionGoals,
|
|
381
|
+
getCampaignParticipant,
|
|
382
|
+
getCampaignReport,
|
|
383
|
+
getCampaignSubmission,
|
|
366
384
|
getCampaignTargeting,
|
|
367
385
|
getCommentAutomation,
|
|
368
386
|
getCommerceCatalogSync,
|
|
@@ -383,6 +401,10 @@ import {
|
|
|
383
401
|
getConversionDestination,
|
|
384
402
|
getConversionMetrics,
|
|
385
403
|
getConversionsQuality,
|
|
404
|
+
getCreatorCampaign,
|
|
405
|
+
getCreatorPayoutStatement,
|
|
406
|
+
getCreatorPayouts,
|
|
407
|
+
getCreatorPortal,
|
|
386
408
|
getDailyMetrics,
|
|
387
409
|
getDiscordChannels,
|
|
388
410
|
getDiscordGuildMember,
|
|
@@ -442,6 +464,7 @@ import {
|
|
|
442
464
|
getInstagramStoryInsights,
|
|
443
465
|
getIosFourteenCampaignLimits,
|
|
444
466
|
getLeadForm,
|
|
467
|
+
getLedgerBalances,
|
|
445
468
|
getLinkedInAggregateAnalytics,
|
|
446
469
|
getLinkedInBidPricing,
|
|
447
470
|
getLinkedInDemographics,
|
|
@@ -460,6 +483,7 @@ import {
|
|
|
460
483
|
getNextQueueSlot,
|
|
461
484
|
getOAuthApp,
|
|
462
485
|
getPageWebhookSubscription,
|
|
486
|
+
getPayoutBatch,
|
|
463
487
|
getPendingOAuthData,
|
|
464
488
|
getPhoneNumber,
|
|
465
489
|
getPhoneNumberClaim,
|
|
@@ -470,6 +494,8 @@ import {
|
|
|
470
494
|
getPhoneNumberRemediation,
|
|
471
495
|
getPinterestBoards,
|
|
472
496
|
getPost,
|
|
497
|
+
getPostAuthenticity,
|
|
498
|
+
getPostSamples,
|
|
473
499
|
getPostTimeline,
|
|
474
500
|
getPostingFrequency,
|
|
475
501
|
getProduct,
|
|
@@ -495,10 +521,13 @@ import {
|
|
|
495
521
|
getTikTokCreatorInfo,
|
|
496
522
|
getTikTokSmartPlusAdReview,
|
|
497
523
|
getTikTokSmartPlusMaterialReport,
|
|
524
|
+
getTopupReceipt,
|
|
498
525
|
getTrackingTag,
|
|
499
526
|
getTrackingTagDiagnostics,
|
|
500
527
|
getTrackingTagStats,
|
|
501
528
|
getTrackingTagStoreInstall,
|
|
529
|
+
getTrackingWindow,
|
|
530
|
+
getTransfer,
|
|
502
531
|
getTweet,
|
|
503
532
|
getUsage,
|
|
504
533
|
getUsageStats,
|
|
@@ -563,6 +592,7 @@ import {
|
|
|
563
592
|
installTrackingTagOnStore,
|
|
564
593
|
inviteAdAccountToManager,
|
|
565
594
|
inviteAdAccountUser,
|
|
595
|
+
joinCreatorCampaign,
|
|
566
596
|
likeInboxComment,
|
|
567
597
|
likePost,
|
|
568
598
|
linkWhatsAppCatalog,
|
|
@@ -626,8 +656,13 @@ import {
|
|
|
626
656
|
listCalendars,
|
|
627
657
|
listCalls,
|
|
628
658
|
listCampaignAssets,
|
|
659
|
+
listCampaignLedger,
|
|
629
660
|
listCampaignNegativeKeywordLists,
|
|
630
661
|
listCampaignNegativeKeywords,
|
|
662
|
+
listCampaignParticipants,
|
|
663
|
+
listCampaignPayables,
|
|
664
|
+
listCampaignPayoutBatches,
|
|
665
|
+
listCampaignSubmissions,
|
|
631
666
|
listChangelog,
|
|
632
667
|
listCommentAutomationLogs,
|
|
633
668
|
listCommentAutomations,
|
|
@@ -654,6 +689,7 @@ import {
|
|
|
654
689
|
listConversionActions,
|
|
655
690
|
listConversionAssociations,
|
|
656
691
|
listConversionDestinations,
|
|
692
|
+
listCreatorCampaigns,
|
|
657
693
|
listCustomConversionGoals,
|
|
658
694
|
listCustomConversions,
|
|
659
695
|
listCustomFields,
|
|
@@ -696,6 +732,7 @@ import {
|
|
|
696
732
|
listInstagramTaggedMedia,
|
|
697
733
|
listLeadForms,
|
|
698
734
|
listLeads,
|
|
735
|
+
listLedgerEntries,
|
|
699
736
|
listLinkedInOrganizations,
|
|
700
737
|
listLocalServicesLeadConversations,
|
|
701
738
|
listLocalServicesLeads,
|
|
@@ -706,11 +743,13 @@ import {
|
|
|
706
743
|
listPageUsers,
|
|
707
744
|
listPartnershipAdContent,
|
|
708
745
|
listPartnershipAdPermissions,
|
|
746
|
+
listPayees,
|
|
709
747
|
listPhoneNumberCountries,
|
|
710
748
|
listPhoneNumberPortIns,
|
|
711
749
|
listPhoneNumberStockWatches,
|
|
712
750
|
listPhoneNumbers,
|
|
713
751
|
listPinterestBoardsForSelection,
|
|
752
|
+
listPostAuthenticity,
|
|
714
753
|
listPosts,
|
|
715
754
|
listProducts,
|
|
716
755
|
listProfiles,
|
|
@@ -732,11 +771,14 @@ import {
|
|
|
732
771
|
listTikTokAdPixels,
|
|
733
772
|
listTikTokCommercialMusic,
|
|
734
773
|
listTikTokSmartPlusReviews,
|
|
774
|
+
listTopups,
|
|
735
775
|
listTrackingTagEvents,
|
|
736
776
|
listTrackingTagPartners,
|
|
737
777
|
listTrackingTagSharedAccounts,
|
|
738
778
|
listTrackingTagUsers,
|
|
739
779
|
listTrackingTags,
|
|
780
|
+
listTrackingWindows,
|
|
781
|
+
listTransfers,
|
|
740
782
|
listUsers,
|
|
741
783
|
listValueRuleSets,
|
|
742
784
|
listVoiceCalls,
|
|
@@ -761,7 +803,9 @@ import {
|
|
|
761
803
|
moveAccountToProfile,
|
|
762
804
|
moveWhatsAppNumberToProfile,
|
|
763
805
|
onboardBusinessAgent,
|
|
806
|
+
openTrackingWindow,
|
|
764
807
|
orderImessageSender,
|
|
808
|
+
pauseCreatorCampaign,
|
|
765
809
|
pauseSequence,
|
|
766
810
|
pauseWorkflow,
|
|
767
811
|
pinDiscordMessage,
|
|
@@ -776,11 +820,15 @@ import {
|
|
|
776
820
|
purchasePhoneNumber,
|
|
777
821
|
purchaseWhatsAppPhoneNumber,
|
|
778
822
|
queryAdInsights,
|
|
823
|
+
raiseCreatorCampaignBudget,
|
|
779
824
|
readBusinessAgentEvals,
|
|
825
|
+
recoverCreatorPortalLinks,
|
|
780
826
|
redeliverWebhookEvent,
|
|
781
827
|
refreshBusinessAgentConnectorTools,
|
|
782
828
|
registerImessageSender,
|
|
783
829
|
registerWhatsAppNumber,
|
|
830
|
+
reinstateCampaignParticipant,
|
|
831
|
+
rejectCampaignSubmission,
|
|
784
832
|
rejectWhatsAppGroupJoinRequests,
|
|
785
833
|
releasePhoneNumber,
|
|
786
834
|
releaseWhatsAppPhoneNumber,
|
|
@@ -796,6 +844,7 @@ import {
|
|
|
796
844
|
removeBookmark,
|
|
797
845
|
removeBusinessAgentAllowlistEntry,
|
|
798
846
|
removeCampaignAssets,
|
|
847
|
+
removeCampaignParticipant,
|
|
799
848
|
removeCommerceProductImages,
|
|
800
849
|
removeConversationLabel,
|
|
801
850
|
removeConversionAssociations,
|
|
@@ -812,6 +861,7 @@ import {
|
|
|
812
861
|
removeTrackingTagUser,
|
|
813
862
|
removeUsersFromAdAudience,
|
|
814
863
|
removeWhatsAppGroupParticipants,
|
|
864
|
+
reopenCampaignSubmission,
|
|
815
865
|
reorderCommerceCollectionProducts,
|
|
816
866
|
reorderCommerceProductImages,
|
|
817
867
|
replaceAdAudienceCompanies,
|
|
@@ -909,16 +959,21 @@ import {
|
|
|
909
959
|
setWhatsAppConversationalAutomation,
|
|
910
960
|
setWhatsAppFlowsEncryptionKey,
|
|
911
961
|
setWhatsappBusinessUsername,
|
|
962
|
+
settleCampaignParticipant,
|
|
912
963
|
shareBrandedCallingIdentityForm,
|
|
913
964
|
shareSmsRegistration,
|
|
914
965
|
startBusinessAgentEvalRun,
|
|
966
|
+
startCreatorConnect,
|
|
967
|
+
startCreatorPayouts,
|
|
915
968
|
startGoogleBusinessVerification,
|
|
916
969
|
startMicrosoftAdminConsent,
|
|
917
970
|
startSmsRegistration,
|
|
918
971
|
startWhatsAppCallerIdVerification,
|
|
972
|
+
submitCreatorPost,
|
|
919
973
|
submitFeedback,
|
|
920
974
|
submitPhoneNumberKyc,
|
|
921
975
|
submitWhatsAppNumberKyc,
|
|
976
|
+
suspendCampaignParticipant,
|
|
922
977
|
syncExternalPosts,
|
|
923
978
|
testOAuthApp,
|
|
924
979
|
testWebhook,
|
|
@@ -994,6 +1049,7 @@ import {
|
|
|
994
1049
|
updateContact,
|
|
995
1050
|
updateConversionAction,
|
|
996
1051
|
updateConversionDestination,
|
|
1052
|
+
updateCreatorCampaign,
|
|
997
1053
|
updateCustomConversionGoal,
|
|
998
1054
|
updateCustomField,
|
|
999
1055
|
updateDiscordScheduledEvent,
|
|
@@ -1250,6 +1306,13 @@ export class Zernio {
|
|
|
1250
1306
|
runGoogleAnalyticsReport: this._bind(runGoogleAnalyticsReport),
|
|
1251
1307
|
runGoogleAnalyticsRealtimeReport: this._bind(runGoogleAnalyticsRealtimeReport),
|
|
1252
1308
|
getGoogleAnalyticsMetadata: this._bind(getGoogleAnalyticsMetadata),
|
|
1309
|
+
openTrackingWindow: this._bind(openTrackingWindow),
|
|
1310
|
+
listTrackingWindows: this._bind(listTrackingWindows),
|
|
1311
|
+
getTrackingWindow: this._bind(getTrackingWindow),
|
|
1312
|
+
cancelTrackingWindow: this._bind(cancelTrackingWindow),
|
|
1313
|
+
getPostSamples: this._bind(getPostSamples),
|
|
1314
|
+
getPostAuthenticity: this._bind(getPostAuthenticity),
|
|
1315
|
+
listPostAuthenticity: this._bind(listPostAuthenticity),
|
|
1253
1316
|
getGoogleBusinessPerformance: this._bind(getGoogleBusinessPerformance),
|
|
1254
1317
|
getGoogleBusinessSearchKeywords: this._bind(getGoogleBusinessSearchKeywords),
|
|
1255
1318
|
syncExternalPosts: this._bind(syncExternalPosts),
|
|
@@ -1261,6 +1324,46 @@ export class Zernio {
|
|
|
1261
1324
|
listFacebookTaggedPosts: this._bind(listFacebookTaggedPosts),
|
|
1262
1325
|
};
|
|
1263
1326
|
|
|
1327
|
+
/**
|
|
1328
|
+
* ledger API
|
|
1329
|
+
*/
|
|
1330
|
+
ledger = {
|
|
1331
|
+
getLedgerBalances: this._bind(getLedgerBalances),
|
|
1332
|
+
listLedgerEntries: this._bind(listLedgerEntries),
|
|
1333
|
+
};
|
|
1334
|
+
|
|
1335
|
+
/**
|
|
1336
|
+
* treasury API
|
|
1337
|
+
*/
|
|
1338
|
+
treasury = {
|
|
1339
|
+
getBalance: this._bind(getBalance),
|
|
1340
|
+
createTopup: this._bind(createTopup),
|
|
1341
|
+
listTopups: this._bind(listTopups),
|
|
1342
|
+
getTopupReceipt: this._bind(getTopupReceipt),
|
|
1343
|
+
listPayees: this._bind(listPayees),
|
|
1344
|
+
createPayeeOnboardingLink: this._bind(createPayeeOnboardingLink),
|
|
1345
|
+
createTransfer: this._bind(createTransfer),
|
|
1346
|
+
listTransfers: this._bind(listTransfers),
|
|
1347
|
+
getTransfer: this._bind(getTransfer),
|
|
1348
|
+
getPayoutBatch: this._bind(getPayoutBatch),
|
|
1349
|
+
cancelPayoutBatch: this._bind(cancelPayoutBatch),
|
|
1350
|
+
};
|
|
1351
|
+
|
|
1352
|
+
/**
|
|
1353
|
+
* creatorportal API
|
|
1354
|
+
*/
|
|
1355
|
+
creatorportal = {
|
|
1356
|
+
recoverCreatorPortalLinks: this._bind(recoverCreatorPortalLinks),
|
|
1357
|
+
getCreatorPortal: this._bind(getCreatorPortal),
|
|
1358
|
+
joinCreatorCampaign: this._bind(joinCreatorCampaign),
|
|
1359
|
+
startCreatorConnect: this._bind(startCreatorConnect),
|
|
1360
|
+
submitCreatorPost: this._bind(submitCreatorPost),
|
|
1361
|
+
getCreatorPayouts: this._bind(getCreatorPayouts),
|
|
1362
|
+
startCreatorPayouts: this._bind(startCreatorPayouts),
|
|
1363
|
+
createCreatorPayoutLogin: this._bind(createCreatorPayoutLogin),
|
|
1364
|
+
getCreatorPayoutStatement: this._bind(getCreatorPayoutStatement),
|
|
1365
|
+
};
|
|
1366
|
+
|
|
1264
1367
|
/**
|
|
1265
1368
|
* inboxanalytics API
|
|
1266
1369
|
*/
|
|
@@ -2767,6 +2870,39 @@ export class Zernio {
|
|
|
2767
2870
|
listChangelog: this._bind(listChangelog),
|
|
2768
2871
|
};
|
|
2769
2872
|
|
|
2873
|
+
/**
|
|
2874
|
+
* creatorcampaigns API
|
|
2875
|
+
*/
|
|
2876
|
+
creatorcampaigns = {
|
|
2877
|
+
createCreatorCampaign: this._bind(createCreatorCampaign),
|
|
2878
|
+
listCreatorCampaigns: this._bind(listCreatorCampaigns),
|
|
2879
|
+
getCreatorCampaign: this._bind(getCreatorCampaign),
|
|
2880
|
+
updateCreatorCampaign: this._bind(updateCreatorCampaign),
|
|
2881
|
+
raiseCreatorCampaignBudget: this._bind(raiseCreatorCampaignBudget),
|
|
2882
|
+
activateCreatorCampaign: this._bind(activateCreatorCampaign),
|
|
2883
|
+
pauseCreatorCampaign: this._bind(pauseCreatorCampaign),
|
|
2884
|
+
closeCreatorCampaign: this._bind(closeCreatorCampaign),
|
|
2885
|
+
createCampaignParticipant: this._bind(createCampaignParticipant),
|
|
2886
|
+
listCampaignParticipants: this._bind(listCampaignParticipants),
|
|
2887
|
+
getCampaignParticipant: this._bind(getCampaignParticipant),
|
|
2888
|
+
suspendCampaignParticipant: this._bind(suspendCampaignParticipant),
|
|
2889
|
+
reinstateCampaignParticipant: this._bind(reinstateCampaignParticipant),
|
|
2890
|
+
removeCampaignParticipant: this._bind(removeCampaignParticipant),
|
|
2891
|
+
settleCampaignParticipant: this._bind(settleCampaignParticipant),
|
|
2892
|
+
createCampaignPayoutBatch: this._bind(createCampaignPayoutBatch),
|
|
2893
|
+
listCampaignPayoutBatches: this._bind(listCampaignPayoutBatches),
|
|
2894
|
+
createCampaignInviteLink: this._bind(createCampaignInviteLink),
|
|
2895
|
+
listCampaignSubmissions: this._bind(listCampaignSubmissions),
|
|
2896
|
+
getCampaignSubmission: this._bind(getCampaignSubmission),
|
|
2897
|
+
approveCampaignSubmission: this._bind(approveCampaignSubmission),
|
|
2898
|
+
rejectCampaignSubmission: this._bind(rejectCampaignSubmission),
|
|
2899
|
+
reopenCampaignSubmission: this._bind(reopenCampaignSubmission),
|
|
2900
|
+
listCampaignPayables: this._bind(listCampaignPayables),
|
|
2901
|
+
createCampaignAdjustment: this._bind(createCampaignAdjustment),
|
|
2902
|
+
listCampaignLedger: this._bind(listCampaignLedger),
|
|
2903
|
+
getCampaignReport: this._bind(getCampaignReport),
|
|
2904
|
+
};
|
|
2905
|
+
|
|
2770
2906
|
/**
|
|
2771
2907
|
* @deprecated The `ads` namespace has been split. Use one of these instead:
|
|
2772
2908
|
* zernio.adcampaigns, zernio.adaccounts, zernio.adcreatives, zernio.adaudiences, zernio.adtargeting, zernio.adinsights, zernio.conversions, zernio.messagingads, zernio.reachandfrequency, zernio.leadgen, zernio.trackingtags.
|