@getlatedev/node 0.2.1351 → 0.2.1353
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 +42 -0
- package/dist/index.d.mts +1413 -127
- package/dist/index.d.ts +1413 -127
- package/dist/index.js +226 -1
- package/dist/index.mjs +226 -1
- package/package.json +1 -1
- package/src/client.ts +78 -0
- package/src/generated/sdk.gen.ts +356 -2
- package/src/generated/types.gen.ts +1496 -126
package/src/client.ts
CHANGED
|
@@ -48,6 +48,8 @@ import {
|
|
|
48
48
|
bulkCreateContacts,
|
|
49
49
|
bulkUpdateAdCampaignStatus,
|
|
50
50
|
bulkUploadPosts,
|
|
51
|
+
calendarAvailability,
|
|
52
|
+
calendarFreeBusy,
|
|
51
53
|
cancelBroadcast,
|
|
52
54
|
cancelImessageSender,
|
|
53
55
|
cancelPhoneNumberPortIn,
|
|
@@ -108,6 +110,7 @@ import {
|
|
|
108
110
|
createBusinessAgentFaq,
|
|
109
111
|
createBusinessAgentSkill,
|
|
110
112
|
createBusinessAgentUiSkill,
|
|
113
|
+
createCalendarEvent,
|
|
111
114
|
createCallAd,
|
|
112
115
|
createCommentAutomation,
|
|
113
116
|
createCommerceCatalogSync,
|
|
@@ -131,6 +134,8 @@ import {
|
|
|
131
134
|
createDiscordScheduledEvent,
|
|
132
135
|
createDiscordThread,
|
|
133
136
|
createEventDestination,
|
|
137
|
+
createFilePickerSession,
|
|
138
|
+
createFolder,
|
|
134
139
|
createGoogleAssetGroup,
|
|
135
140
|
createGoogleBusinessMedia,
|
|
136
141
|
createGoogleBusinessPlaceAction,
|
|
@@ -203,6 +208,7 @@ import {
|
|
|
203
208
|
deleteBusinessAgentSkill,
|
|
204
209
|
deleteBusinessAgentUiSkill,
|
|
205
210
|
deleteBusinessAgentWebsite,
|
|
211
|
+
deleteCalendarEvent,
|
|
206
212
|
deleteCommentAutomation,
|
|
207
213
|
deleteCommerceCatalogSync,
|
|
208
214
|
deleteCommerceCollection,
|
|
@@ -268,6 +274,8 @@ import {
|
|
|
268
274
|
disableWhatsAppCallingLegacy,
|
|
269
275
|
dismissAdsAlert,
|
|
270
276
|
dismissGoogleRecommendations,
|
|
277
|
+
downloadEmailAttachment,
|
|
278
|
+
downloadFile,
|
|
271
279
|
downloadTikTokVideo,
|
|
272
280
|
duplicateAd,
|
|
273
281
|
duplicateAdCampaign,
|
|
@@ -344,6 +352,7 @@ import {
|
|
|
344
352
|
getBusinessAgentStatus,
|
|
345
353
|
getBusinessAgentUiSkill,
|
|
346
354
|
getBusinessAgentWebsite,
|
|
355
|
+
getCalendarEvent,
|
|
347
356
|
getCall,
|
|
348
357
|
getCallRecording,
|
|
349
358
|
getCallsUsage,
|
|
@@ -378,12 +387,16 @@ import {
|
|
|
378
387
|
getDiscordSettings,
|
|
379
388
|
getDsaDefaults,
|
|
380
389
|
getDsaRecommendations,
|
|
390
|
+
getEmailMessage,
|
|
391
|
+
getEmailThread,
|
|
381
392
|
getFacebookDemographics,
|
|
382
393
|
getFacebookPageInfo,
|
|
383
394
|
getFacebookPageInsights,
|
|
384
395
|
getFacebookPages,
|
|
385
396
|
getFacebookPostEarnings,
|
|
386
397
|
getFacebookPostReactions,
|
|
398
|
+
getFile,
|
|
399
|
+
getFileShareLink,
|
|
387
400
|
getFollowerStats,
|
|
388
401
|
getGmbAttributeMetadata,
|
|
389
402
|
getGmbLocations,
|
|
@@ -604,6 +617,8 @@ import {
|
|
|
604
617
|
listBusinessAgentUiSkills,
|
|
605
618
|
listBusinessAgentWebsites,
|
|
606
619
|
listBusinessPartners,
|
|
620
|
+
listCalendarEvents,
|
|
621
|
+
listCalendars,
|
|
607
622
|
listCalls,
|
|
608
623
|
listCampaignAssets,
|
|
609
624
|
listCampaignNegativeKeywordLists,
|
|
@@ -641,10 +656,14 @@ import {
|
|
|
641
656
|
listDiscordGuildRoles,
|
|
642
657
|
listDiscordPinnedMessages,
|
|
643
658
|
listDiscordScheduledEvents,
|
|
659
|
+
listEmailFolders,
|
|
660
|
+
listEmailMessages,
|
|
661
|
+
listEmailThreads,
|
|
644
662
|
listEventDestinations,
|
|
645
663
|
listFacebookPages,
|
|
646
664
|
listFacebookTaggedPosts,
|
|
647
665
|
listFacebookVisitorPosts,
|
|
666
|
+
listFiles,
|
|
648
667
|
listFormLeads,
|
|
649
668
|
listGoogleAnalyticsProperties,
|
|
650
669
|
listGoogleAssetGroups,
|
|
@@ -795,6 +814,7 @@ import {
|
|
|
795
814
|
replaceCampaignNegativeKeywordLists,
|
|
796
815
|
replaceCampaignNegativeKeywords,
|
|
797
816
|
replaceGoogleListingGroupFilters,
|
|
817
|
+
replyEmailMessage,
|
|
798
818
|
replyToAdComment,
|
|
799
819
|
replyToGoogleBusinessReview,
|
|
800
820
|
replyToInboxPost,
|
|
@@ -823,6 +843,7 @@ import {
|
|
|
823
843
|
revokeBusinessPartner,
|
|
824
844
|
revokeConnectedApp,
|
|
825
845
|
rotateSipTrunkCredentials,
|
|
846
|
+
rsvpCalendarEvent,
|
|
826
847
|
runBusinessAgentConnectorTool,
|
|
827
848
|
runCommerceCatalogSync,
|
|
828
849
|
runGoogleAnalyticsRealtimeReport,
|
|
@@ -851,6 +872,7 @@ import {
|
|
|
851
872
|
sendBusinessAgentTestMessage,
|
|
852
873
|
sendConversions,
|
|
853
874
|
sendDiscordDirectMessage,
|
|
875
|
+
sendEmailMessage,
|
|
854
876
|
sendEvents,
|
|
855
877
|
sendInboxMessage,
|
|
856
878
|
sendPrivateReplyToComment,
|
|
@@ -884,6 +906,7 @@ import {
|
|
|
884
906
|
shareSmsRegistration,
|
|
885
907
|
startBusinessAgentEvalRun,
|
|
886
908
|
startGoogleBusinessVerification,
|
|
909
|
+
startMicrosoftAdminConsent,
|
|
887
910
|
startSmsRegistration,
|
|
888
911
|
startWhatsAppCallerIdVerification,
|
|
889
912
|
submitFeedback,
|
|
@@ -892,6 +915,8 @@ import {
|
|
|
892
915
|
syncExternalPosts,
|
|
893
916
|
testWebhook,
|
|
894
917
|
transferVoiceCall,
|
|
918
|
+
trashEmailMessage,
|
|
919
|
+
trashFile,
|
|
895
920
|
triggerApiCallWorkflow,
|
|
896
921
|
triggerWorkflow,
|
|
897
922
|
unblockWhatsAppUsers,
|
|
@@ -943,6 +968,7 @@ import {
|
|
|
943
968
|
updateBusinessAgentSkill,
|
|
944
969
|
updateBusinessAgentUiSkill,
|
|
945
970
|
updateBusinessAgentWebsite,
|
|
971
|
+
updateCalendarEvent,
|
|
946
972
|
updateCampaignAdSchedule,
|
|
947
973
|
updateCampaignAssets,
|
|
948
974
|
updateCampaignConversionGoals,
|
|
@@ -964,8 +990,11 @@ import {
|
|
|
964
990
|
updateCustomField,
|
|
965
991
|
updateDiscordScheduledEvent,
|
|
966
992
|
updateDiscordSettings,
|
|
993
|
+
updateEmailMessage,
|
|
994
|
+
updateEmailThread,
|
|
967
995
|
updateFacebookPage,
|
|
968
996
|
updateFacebookPageInfo,
|
|
997
|
+
updateFile,
|
|
969
998
|
updateGmbLocation,
|
|
970
999
|
updateGoogleAssetGroup,
|
|
971
1000
|
updateGoogleBusinessAttributes,
|
|
@@ -1007,6 +1036,7 @@ import {
|
|
|
1007
1036
|
uploadAdImage,
|
|
1008
1037
|
uploadAdVideo,
|
|
1009
1038
|
uploadBusinessAgentFile,
|
|
1039
|
+
uploadFile,
|
|
1010
1040
|
uploadMediaDirect,
|
|
1011
1041
|
uploadPhoneNumberKycDocument,
|
|
1012
1042
|
uploadPhoneNumberPortInDocument,
|
|
@@ -1490,6 +1520,7 @@ export class Zernio {
|
|
|
1490
1520
|
voteRedditThing: this._bind(voteRedditThing),
|
|
1491
1521
|
getRedditFlairs: this._bind(getRedditFlairs),
|
|
1492
1522
|
setRedditPostFlair: this._bind(setRedditPostFlair),
|
|
1523
|
+
startMicrosoftAdminConsent: this._bind(startMicrosoftAdminConsent),
|
|
1493
1524
|
facebook: {
|
|
1494
1525
|
listFacebookPages: this._bind(listFacebookPages),
|
|
1495
1526
|
selectFacebookPage: this._bind(selectFacebookPage),
|
|
@@ -1694,6 +1725,53 @@ export class Zernio {
|
|
|
1694
1725
|
listLogs: this._bind(listLogs),
|
|
1695
1726
|
};
|
|
1696
1727
|
|
|
1728
|
+
/**
|
|
1729
|
+
* email API
|
|
1730
|
+
*/
|
|
1731
|
+
email = {
|
|
1732
|
+
listEmailThreads: this._bind(listEmailThreads),
|
|
1733
|
+
getEmailThread: this._bind(getEmailThread),
|
|
1734
|
+
updateEmailThread: this._bind(updateEmailThread),
|
|
1735
|
+
listEmailMessages: this._bind(listEmailMessages),
|
|
1736
|
+
sendEmailMessage: this._bind(sendEmailMessage),
|
|
1737
|
+
getEmailMessage: this._bind(getEmailMessage),
|
|
1738
|
+
updateEmailMessage: this._bind(updateEmailMessage),
|
|
1739
|
+
trashEmailMessage: this._bind(trashEmailMessage),
|
|
1740
|
+
replyEmailMessage: this._bind(replyEmailMessage),
|
|
1741
|
+
listEmailFolders: this._bind(listEmailFolders),
|
|
1742
|
+
downloadEmailAttachment: this._bind(downloadEmailAttachment),
|
|
1743
|
+
};
|
|
1744
|
+
|
|
1745
|
+
/**
|
|
1746
|
+
* calendar API
|
|
1747
|
+
*/
|
|
1748
|
+
calendar = {
|
|
1749
|
+
listCalendars: this._bind(listCalendars),
|
|
1750
|
+
listCalendarEvents: this._bind(listCalendarEvents),
|
|
1751
|
+
createCalendarEvent: this._bind(createCalendarEvent),
|
|
1752
|
+
getCalendarEvent: this._bind(getCalendarEvent),
|
|
1753
|
+
updateCalendarEvent: this._bind(updateCalendarEvent),
|
|
1754
|
+
deleteCalendarEvent: this._bind(deleteCalendarEvent),
|
|
1755
|
+
rsvpCalendarEvent: this._bind(rsvpCalendarEvent),
|
|
1756
|
+
calendarFreeBusy: this._bind(calendarFreeBusy),
|
|
1757
|
+
calendarAvailability: this._bind(calendarAvailability),
|
|
1758
|
+
};
|
|
1759
|
+
|
|
1760
|
+
/**
|
|
1761
|
+
* files API
|
|
1762
|
+
*/
|
|
1763
|
+
files = {
|
|
1764
|
+
listFiles: this._bind(listFiles),
|
|
1765
|
+
uploadFile: this._bind(uploadFile),
|
|
1766
|
+
createFolder: this._bind(createFolder),
|
|
1767
|
+
createFilePickerSession: this._bind(createFilePickerSession),
|
|
1768
|
+
getFile: this._bind(getFile),
|
|
1769
|
+
updateFile: this._bind(updateFile),
|
|
1770
|
+
trashFile: this._bind(trashFile),
|
|
1771
|
+
downloadFile: this._bind(downloadFile),
|
|
1772
|
+
getFileShareLink: this._bind(getFileShareLink),
|
|
1773
|
+
};
|
|
1774
|
+
|
|
1697
1775
|
/**
|
|
1698
1776
|
* messages API
|
|
1699
1777
|
*/
|