@zernio/node 0.2.725 → 0.2.727

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/src/client.ts CHANGED
@@ -6,6 +6,8 @@ import {
6
6
  addAccountCallouts,
7
7
  addAdKeywords,
8
8
  addBroadcastRecipients,
9
+ addBusinessAgentAllowlistEntry,
10
+ addBusinessAgentWebsite,
9
11
  addConversionAssociations,
10
12
  addDiscordMemberRole,
11
13
  addMessageReaction,
@@ -57,6 +59,11 @@ import {
57
59
  createBlog,
58
60
  createBlogArticle,
59
61
  createBroadcast,
62
+ createBusinessAgentConnector,
63
+ createBusinessAgentConnectorTool,
64
+ createBusinessAgentFaq,
65
+ createBusinessAgentSkill,
66
+ createBusinessAgentUiSkill,
60
67
  createCallAd,
61
68
  createCommentAutomation,
62
69
  createContact,
@@ -116,6 +123,13 @@ import {
116
123
  deleteBlog,
117
124
  deleteBlogArticle,
118
125
  deleteBroadcast,
126
+ deleteBusinessAgentConnector,
127
+ deleteBusinessAgentConnectorTool,
128
+ deleteBusinessAgentFaq,
129
+ deleteBusinessAgentFile,
130
+ deleteBusinessAgentSkill,
131
+ deleteBusinessAgentUiSkill,
132
+ deleteBusinessAgentWebsite,
119
133
  deleteCommentAutomation,
120
134
  deleteContact,
121
135
  deleteConversionDestination,
@@ -201,6 +215,18 @@ import {
201
215
  getBlogArticle,
202
216
  getBlueskySettings,
203
217
  getBroadcast,
218
+ getBusinessAgentBudget,
219
+ getBusinessAgentBusinessInformation,
220
+ getBusinessAgentConnector,
221
+ getBusinessAgentConnectorLogs,
222
+ getBusinessAgentConnectorTool,
223
+ getBusinessAgentEvent,
224
+ getBusinessAgentFaq,
225
+ getBusinessAgentFile,
226
+ getBusinessAgentSkill,
227
+ getBusinessAgentStatus,
228
+ getBusinessAgentUiSkill,
229
+ getBusinessAgentWebsite,
204
230
  getCall,
205
231
  getCallRecording,
206
232
  getCallsUsage,
@@ -330,6 +356,7 @@ import {
330
356
  getWhatsAppNumberRemediation,
331
357
  getWhatsAppPhoneNumber,
332
358
  getWhatsAppPhoneNumbers,
359
+ getWhatsAppSdkConfig,
333
360
  getWhatsAppTemplate,
334
361
  getWhatsAppTemplateById,
335
362
  getWhatsAppTemplates,
@@ -373,6 +400,15 @@ import {
373
400
  listBlogs,
374
401
  listBroadcastRecipients,
375
402
  listBroadcasts,
403
+ listBusinessAgentAllowlist,
404
+ listBusinessAgentConnectorTools,
405
+ listBusinessAgentConnectors,
406
+ listBusinessAgentFaqs,
407
+ listBusinessAgentFiles,
408
+ listBusinessAgentSettings,
409
+ listBusinessAgentSkills,
410
+ listBusinessAgentUiSkills,
411
+ listBusinessAgentWebsites,
376
412
  listCalls,
377
413
  listCampaignNegativeKeywords,
378
414
  listCommentAutomationLogs,
@@ -449,6 +485,7 @@ import {
449
485
  markConversationRead,
450
486
  moveAccountToProfile,
451
487
  moveWhatsAppNumberToProfile,
488
+ onboardBusinessAgent,
452
489
  pauseSequence,
453
490
  pauseWorkflow,
454
491
  pinDiscordMessage,
@@ -458,7 +495,9 @@ import {
458
495
  purchasePhoneNumber,
459
496
  purchaseWhatsAppPhoneNumber,
460
497
  queryAdInsights,
498
+ readBusinessAgentEvals,
461
499
  redeliverWebhookEvent,
500
+ refreshBusinessAgentConnectorTools,
462
501
  registerWhatsAppNumber,
463
502
  rejectWhatsAppGroupJoinRequests,
464
503
  releasePhoneNumber,
@@ -468,12 +507,15 @@ import {
468
507
  removeAccountCallout,
469
508
  removeAdKeyword,
470
509
  removeBookmark,
510
+ removeBusinessAgentAllowlistEntry,
471
511
  removeConversionAssociations,
472
512
  removeDiscordMemberRole,
473
513
  removeMessageReaction,
474
514
  removeTrackingTagSharedAccount,
475
515
  removeWhatsAppGroupParticipants,
476
516
  replaceAdAudienceCompanies,
517
+ replaceBusinessAgentBudget,
518
+ replaceBusinessAgentBusinessInformation,
477
519
  replaceCampaignNegativeKeywords,
478
520
  replyToGoogleBusinessReview,
479
521
  replyToInboxPost,
@@ -481,8 +523,10 @@ import {
481
523
  replyToMention,
482
524
  replyToPhoneNumberReviewer,
483
525
  requestSmsSenderIdLimitIncrease,
526
+ requestWhatsAppVerificationCode,
484
527
  resendSmsRegistrationOtp,
485
528
  reserveRfPrediction,
529
+ resetBusinessAgentBusinessInformation,
486
530
  respondToPhoneNumberReviewer,
487
531
  respondToSmsRegistrationReview,
488
532
  restoreWorkflowVersion,
@@ -492,6 +536,7 @@ import {
492
536
  reviewPhoneNumberKycPacket,
493
537
  revokeConnectedApp,
494
538
  rotateSipTrunkCredentials,
539
+ runBusinessAgentConnectorTool,
495
540
  scheduleBroadcast,
496
541
  searchAdInterests,
497
542
  searchAdLibrary,
@@ -510,6 +555,8 @@ import {
510
555
  selectPinterestBoard,
511
556
  selectSnapchatProfile,
512
557
  sendBroadcast,
558
+ sendBusinessAgentEvent,
559
+ sendBusinessAgentTestMessage,
513
560
  sendConversions,
514
561
  sendDiscordDirectMessage,
515
562
  sendInboxMessage,
@@ -518,8 +565,10 @@ import {
518
565
  sendTypingIndicator,
519
566
  sendWhatsAppConversion,
520
567
  sendWhatsAppFlowMessage,
568
+ setBusinessAgentConnectorCredentials,
521
569
  setCommentModeration,
522
570
  setContactFieldValue,
571
+ setConversationThreadControl,
523
572
  setInstagramIceBreakers,
524
573
  setMessengerMenu,
525
574
  setRedditPostFlair,
@@ -527,6 +576,7 @@ import {
527
576
  setWhatsAppFlowsEncryptionKey,
528
577
  setWhatsappBusinessUsername,
529
578
  shareSmsRegistration,
579
+ startBusinessAgentEvalRun,
530
580
  startGoogleBusinessVerification,
531
581
  startSmsRegistration,
532
582
  startWhatsAppCallerIdVerification,
@@ -563,6 +613,13 @@ import {
563
613
  updateBlogArticle,
564
614
  updateBlueskySettings,
565
615
  updateBroadcast,
616
+ updateBusinessAgentConnector,
617
+ updateBusinessAgentConnectorTool,
618
+ updateBusinessAgentFaq,
619
+ updateBusinessAgentSettings,
620
+ updateBusinessAgentSkill,
621
+ updateBusinessAgentUiSkill,
622
+ updateBusinessAgentWebsite,
566
623
  updateCampaignTargeting,
567
624
  updateCommentAutomation,
568
625
  updateContact,
@@ -602,6 +659,7 @@ import {
602
659
  updateYoutubeDefaultPlaylist,
603
660
  uploadAdImage,
604
661
  uploadAdVideo,
662
+ uploadBusinessAgentFile,
605
663
  uploadMediaDirect,
606
664
  uploadPhoneNumberKycDocument,
607
665
  uploadPhoneNumberPortInDocument,
@@ -619,6 +677,7 @@ import {
619
677
  verifyCredential,
620
678
  verifySmsRegistrationOtp,
621
679
  verifyWhatsAppCallerId,
680
+ verifyWhatsAppNumber,
622
681
  viewPhoneNumberKycDocument,
623
682
  voteRedditThing,
624
683
  } from './generated/sdk.gen';
@@ -916,6 +975,8 @@ export class Zernio {
916
975
  */
917
976
  whatsapp = {
918
977
  registerWhatsAppNumber: this._bind(registerWhatsAppNumber),
978
+ requestWhatsAppVerificationCode: this._bind(requestWhatsAppVerificationCode),
979
+ verifyWhatsAppNumber: this._bind(verifyWhatsAppNumber),
919
980
  getWhatsAppMedia: this._bind(getWhatsAppMedia),
920
981
  getWhatsAppTemplates: this._bind(getWhatsAppTemplates),
921
982
  createWhatsAppTemplate: this._bind(createWhatsAppTemplate),
@@ -999,6 +1060,7 @@ export class Zernio {
999
1060
  listWhatsAppPhoneNumbers: this._bind(listWhatsAppPhoneNumbers),
1000
1061
  completeWhatsAppPhoneSelection: this._bind(completeWhatsAppPhoneSelection),
1001
1062
  connectWhatsAppEmbeddedSignup: this._bind(connectWhatsAppEmbeddedSignup),
1063
+ getWhatsAppSdkConfig: this._bind(getWhatsAppSdkConfig),
1002
1064
  connectDiscordChannel: this._bind(connectDiscordChannel),
1003
1065
  listSlackChannels: this._bind(listSlackChannels),
1004
1066
  connectSlackChannel: this._bind(connectSlackChannel),
@@ -1207,6 +1269,7 @@ export class Zernio {
1207
1269
  editInboxMessage: this._bind(editInboxMessage),
1208
1270
  deleteInboxMessage: this._bind(deleteInboxMessage),
1209
1271
  sendTypingIndicator: this._bind(sendTypingIndicator),
1272
+ setConversationThreadControl: this._bind(setConversationThreadControl),
1210
1273
  markConversationRead: this._bind(markConversationRead),
1211
1274
  addMessageReaction: this._bind(addMessageReaction),
1212
1275
  removeMessageReaction: this._bind(removeMessageReaction),
@@ -1752,6 +1815,67 @@ export class Zernio {
1752
1815
  createCtwaAd: this._bind(createCtwaAd),
1753
1816
  };
1754
1817
 
1818
+ /**
1819
+ * businessagent API
1820
+ */
1821
+ businessagent = {
1822
+ getBusinessAgentStatus: this._bind(getBusinessAgentStatus),
1823
+ onboardBusinessAgent: this._bind(onboardBusinessAgent),
1824
+ listBusinessAgentSettings: this._bind(listBusinessAgentSettings),
1825
+ updateBusinessAgentSettings: this._bind(updateBusinessAgentSettings),
1826
+ listBusinessAgentAllowlist: this._bind(listBusinessAgentAllowlist),
1827
+ addBusinessAgentAllowlistEntry: this._bind(addBusinessAgentAllowlistEntry),
1828
+ removeBusinessAgentAllowlistEntry: this._bind(removeBusinessAgentAllowlistEntry),
1829
+ getBusinessAgentBusinessInformation: this._bind(getBusinessAgentBusinessInformation),
1830
+ replaceBusinessAgentBusinessInformation: this._bind(replaceBusinessAgentBusinessInformation),
1831
+ resetBusinessAgentBusinessInformation: this._bind(resetBusinessAgentBusinessInformation),
1832
+ listBusinessAgentFaqs: this._bind(listBusinessAgentFaqs),
1833
+ createBusinessAgentFaq: this._bind(createBusinessAgentFaq),
1834
+ getBusinessAgentFaq: this._bind(getBusinessAgentFaq),
1835
+ updateBusinessAgentFaq: this._bind(updateBusinessAgentFaq),
1836
+ deleteBusinessAgentFaq: this._bind(deleteBusinessAgentFaq),
1837
+ listBusinessAgentWebsites: this._bind(listBusinessAgentWebsites),
1838
+ addBusinessAgentWebsite: this._bind(addBusinessAgentWebsite),
1839
+ getBusinessAgentWebsite: this._bind(getBusinessAgentWebsite),
1840
+ updateBusinessAgentWebsite: this._bind(updateBusinessAgentWebsite),
1841
+ deleteBusinessAgentWebsite: this._bind(deleteBusinessAgentWebsite),
1842
+ listBusinessAgentFiles: this._bind(listBusinessAgentFiles),
1843
+ uploadBusinessAgentFile: this._bind(uploadBusinessAgentFile),
1844
+ getBusinessAgentFile: this._bind(getBusinessAgentFile),
1845
+ deleteBusinessAgentFile: this._bind(deleteBusinessAgentFile),
1846
+ listBusinessAgentSkills: this._bind(listBusinessAgentSkills),
1847
+ createBusinessAgentSkill: this._bind(createBusinessAgentSkill),
1848
+ getBusinessAgentSkill: this._bind(getBusinessAgentSkill),
1849
+ updateBusinessAgentSkill: this._bind(updateBusinessAgentSkill),
1850
+ deleteBusinessAgentSkill: this._bind(deleteBusinessAgentSkill),
1851
+ listBusinessAgentUiSkills: this._bind(listBusinessAgentUiSkills),
1852
+ createBusinessAgentUiSkill: this._bind(createBusinessAgentUiSkill),
1853
+ getBusinessAgentUiSkill: this._bind(getBusinessAgentUiSkill),
1854
+ updateBusinessAgentUiSkill: this._bind(updateBusinessAgentUiSkill),
1855
+ deleteBusinessAgentUiSkill: this._bind(deleteBusinessAgentUiSkill),
1856
+ listBusinessAgentConnectors: this._bind(listBusinessAgentConnectors),
1857
+ createBusinessAgentConnector: this._bind(createBusinessAgentConnector),
1858
+ getBusinessAgentConnector: this._bind(getBusinessAgentConnector),
1859
+ updateBusinessAgentConnector: this._bind(updateBusinessAgentConnector),
1860
+ deleteBusinessAgentConnector: this._bind(deleteBusinessAgentConnector),
1861
+ setBusinessAgentConnectorCredentials: this._bind(setBusinessAgentConnectorCredentials),
1862
+ refreshBusinessAgentConnectorTools: this._bind(refreshBusinessAgentConnectorTools),
1863
+ getBusinessAgentConnectorLogs: this._bind(getBusinessAgentConnectorLogs),
1864
+ listBusinessAgentConnectorTools: this._bind(listBusinessAgentConnectorTools),
1865
+ createBusinessAgentConnectorTool: this._bind(createBusinessAgentConnectorTool),
1866
+ getBusinessAgentConnectorTool: this._bind(getBusinessAgentConnectorTool),
1867
+ updateBusinessAgentConnectorTool: this._bind(updateBusinessAgentConnectorTool),
1868
+ deleteBusinessAgentConnectorTool: this._bind(deleteBusinessAgentConnectorTool),
1869
+ runBusinessAgentConnectorTool: this._bind(runBusinessAgentConnectorTool),
1870
+ getBusinessAgentBudget: this._bind(getBusinessAgentBudget),
1871
+ replaceBusinessAgentBudget: this._bind(replaceBusinessAgentBudget),
1872
+ sendBusinessAgentTestMessage: this._bind(sendBusinessAgentTestMessage),
1873
+ sendBusinessAgentEvent: this._bind(sendBusinessAgentEvent),
1874
+ getBusinessAgentEvent: this._bind(getBusinessAgentEvent),
1875
+ readBusinessAgentEvals: this._bind(readBusinessAgentEvals),
1876
+ startBusinessAgentEvalRun: this._bind(startBusinessAgentEvalRun),
1877
+ };
1878
+
1755
1879
  /**
1756
1880
  * blogs API
1757
1881
  */