@droz-js/sdk 0.9.86 → 0.9.87

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@droz-js/sdk",
3
3
  "description": "Droz SDK",
4
- "version": "0.9.86",
4
+ "version": "0.9.87",
5
5
  "private": false,
6
6
  "exports": {
7
7
  ".": "./src/index.js",
package/src/drozbot.d.ts CHANGED
@@ -45,6 +45,21 @@ declare const DrozBot_base: new (options?: import("./client/http").HttpClientOpt
45
45
  predictIntent(variables: import("./sdks/drozbot").Exact<{
46
46
  input: import("./sdks/drozbot").PredictIntentInput;
47
47
  }>, options?: unknown): Promise<import("./sdks/drozbot").PredictIntentMutation>;
48
+ listWhatsAppBots(variables?: import("./sdks/drozbot").Exact<{
49
+ [key: string]: never;
50
+ }>, options?: unknown): Promise<import("./sdks/drozbot").ListWhatsAppBotsQuery>;
51
+ getWhatsAppBotDetails(variables: import("./sdks/drozbot").Exact<{
52
+ id: import("./sdks/drozbot").Scalars["ID"]["input"];
53
+ }>, options?: unknown): Promise<import("./sdks/drozbot").GetWhatsAppBotDetailsQuery>;
54
+ listWhatsAppBotTemplates(variables: import("./sdks/drozbot").Exact<{
55
+ id: import("./sdks/drozbot").Scalars["ID"]["input"];
56
+ }>, options?: unknown): Promise<import("./sdks/drozbot").ListWhatsAppBotTemplatesQuery>;
57
+ registerRootCredential(variables: import("./sdks/drozbot").Exact<{
58
+ input: import("./sdks/drozbot").DrozBotRootCredentialInput;
59
+ }>, options?: unknown): Promise<import("./sdks/drozbot").RegisterRootCredentialMutation>;
60
+ activeTrigger(variables: import("./sdks/drozbot").Exact<{
61
+ input: import("./sdks/drozbot").ActiveTriggerInput;
62
+ }>, options?: unknown): Promise<import("./sdks/drozbot").ActiveTriggerMutation>;
48
63
  };
49
64
  export declare class DrozBot extends DrozBot_base {
50
65
  }
@@ -122,6 +122,12 @@ export type Scalars = {
122
122
  output: void;
123
123
  };
124
124
  };
125
+ export type ActiveTriggerInput = {
126
+ botId: Scalars['ID']['input'];
127
+ templateContent: Scalars['String']['input'];
128
+ templateName: Scalars['String']['input'];
129
+ users: Array<DrozBotWhatsAppTemplateUser>;
130
+ };
125
131
  export type AgentInfo = {
126
132
  id: Scalars['ID']['output'];
127
133
  name: Scalars['String']['output'];
@@ -197,6 +203,9 @@ export declare enum DrozBotIntegrationType {
197
203
  Web = "Web",
198
204
  WhatsApp = "WhatsApp"
199
205
  }
206
+ export type DrozBotRootCredentialInput = {
207
+ credentialId: Scalars['ID']['input'];
208
+ };
200
209
  export type DrozBotTicket = {
201
210
  id: Scalars['ID']['output'];
202
211
  instanceId: Scalars['ID']['output'];
@@ -209,6 +218,39 @@ export declare enum DrozBotTicketMessageSender {
209
218
  Bot = "BOT",
210
219
  User = "USER"
211
220
  }
221
+ export type DrozBotWhatsAppBot = {
222
+ channel: Scalars['String']['output'];
223
+ deleted: Scalars['Boolean']['output'];
224
+ enabled: Scalars['Boolean']['output'];
225
+ id: Scalars['ID']['output'];
226
+ language: Scalars['String']['output'];
227
+ name: Scalars['String']['output'];
228
+ phone?: Maybe<Scalars['PhoneNumber']['output']>;
229
+ providerChannel: DrozBotWhatsAppBotProviders;
230
+ };
231
+ export declare enum DrozBotWhatsAppBotProviders {
232
+ Meta = "META"
233
+ }
234
+ export type DrozBotWhatsAppTemplate = {
235
+ approved: DrozBotWhatsAppTemplateStates;
236
+ content: Scalars['String']['output'];
237
+ contentButton?: Maybe<Scalars['String']['output']>;
238
+ deleted: Scalars['Boolean']['output'];
239
+ id: Scalars['ID']['output'];
240
+ language: Scalars['String']['output'];
241
+ templateName: Scalars['String']['output'];
242
+ type: DrozBotWhatsAppTemplateTypes;
243
+ };
244
+ export declare enum DrozBotWhatsAppTemplateStates {
245
+ Approved = "APPROVED"
246
+ }
247
+ export declare enum DrozBotWhatsAppTemplateTypes {
248
+ Text = "TEXT"
249
+ }
250
+ export type DrozBotWhatsAppTemplateUser = {
251
+ phone: Scalars['String']['input'];
252
+ vars: Array<Scalars['String']['input']>;
253
+ };
212
254
  export type I18nText = {
213
255
  lang: Scalars['Locale']['output'];
214
256
  value: Scalars['String']['output'];
@@ -236,17 +278,22 @@ export type IntentDictionaryEntityInput = {
236
278
  label: Scalars['String']['input'];
237
279
  };
238
280
  export type Mutation = {
281
+ activeTrigger?: Maybe<Scalars['Void']['output']>;
239
282
  createDrozBotInstance: DrozBotInstance;
240
283
  createDrozBotTicket: DrozBotTicket;
241
284
  createDrozBotTicketComment: DrozBotTicketComment;
242
285
  createDrozBotTicketComments: Array<DrozBotTicketComment>;
243
286
  predictIntent?: Maybe<Intent>;
287
+ registerRootCredential?: Maybe<Scalars['Void']['output']>;
244
288
  removeDrozBotInstance: DrozBotInstance;
245
289
  requestDrozBotAssess: Scalars['Boolean']['output'];
246
290
  updateDrozBotInstance: DrozBotInstance;
247
291
  upsertIntentDictionary?: Maybe<IntentDictionary>;
248
292
  version?: Maybe<Scalars['String']['output']>;
249
293
  };
294
+ export type MutationActiveTriggerArgs = {
295
+ input: ActiveTriggerInput;
296
+ };
250
297
  export type MutationCreateDrozBotInstanceArgs = {
251
298
  input: CreateDrozBotInstanceInput;
252
299
  };
@@ -262,6 +309,9 @@ export type MutationCreateDrozBotTicketCommentsArgs = {
262
309
  export type MutationPredictIntentArgs = {
263
310
  input: PredictIntentInput;
264
311
  };
312
+ export type MutationRegisterRootCredentialArgs = {
313
+ input: DrozBotRootCredentialInput;
314
+ };
265
315
  export type MutationRemoveDrozBotInstanceArgs = {
266
316
  input: RemoveDrozBotInstanceInput;
267
317
  };
@@ -306,8 +356,11 @@ export type Query = {
306
356
  getDrozBotInstance?: Maybe<DrozBotInstance>;
307
357
  getHttpEndpoint?: Maybe<Scalars['String']['output']>;
308
358
  getIntentDictionary?: Maybe<IntentDictionary>;
359
+ getWhatsAppBotDetails?: Maybe<DrozBotWhatsAppBot>;
309
360
  listDrozBotInstances: Array<Maybe<DrozBotInstance>>;
310
361
  listIntentDictionary: Array<IntentDictionary>;
362
+ listWhatsAppBotTemplates: Array<DrozBotWhatsAppTemplate>;
363
+ listWhatsAppBots: Array<DrozBotWhatsAppBot>;
311
364
  version?: Maybe<Scalars['String']['output']>;
312
365
  };
313
366
  export type QueryGetDrozBotInstanceArgs = {
@@ -316,6 +369,12 @@ export type QueryGetDrozBotInstanceArgs = {
316
369
  export type QueryGetIntentDictionaryArgs = {
317
370
  id: Scalars['ID']['input'];
318
371
  };
372
+ export type QueryGetWhatsAppBotDetailsArgs = {
373
+ id: Scalars['ID']['input'];
374
+ };
375
+ export type QueryListWhatsAppBotTemplatesArgs = {
376
+ id: Scalars['ID']['input'];
377
+ };
319
378
  export type RemoveDrozBotInstanceInput = {
320
379
  id: Scalars['ID']['input'];
321
380
  };
@@ -376,6 +435,7 @@ export declare enum Typenames {
376
435
  Any = "Any",
377
436
  DrozBotAssess = "DrozBotAssess",
378
437
  DrozBotInstance = "DrozBotInstance",
438
+ DrozBotRootAuth = "DrozBotRootAuth",
379
439
  DrozBotSession = "DrozBotSession",
380
440
  GraphqlConnections = "GraphqlConnections",
381
441
  GraphqlSubscriptions = "GraphqlSubscriptions",
@@ -474,10 +534,40 @@ export type PredictIntentMutationVariables = Exact<{
474
534
  export type PredictIntentMutation = {
475
535
  predictIntent?: Maybe<IntentFragment>;
476
536
  };
537
+ export type DrozBotWhatsAppBotFragment = Pick<DrozBotWhatsAppBot, 'id' | 'name' | 'enabled' | 'deleted' | 'channel' | 'providerChannel' | 'language' | 'phone'>;
538
+ export type DrozBotWhatsAppTemplateFragment = Pick<DrozBotWhatsAppTemplate, 'id' | 'templateName' | 'content' | 'contentButton' | 'language' | 'deleted' | 'approved' | 'type'>;
539
+ export type ListWhatsAppBotsQueryVariables = Exact<{
540
+ [key: string]: never;
541
+ }>;
542
+ export type ListWhatsAppBotsQuery = {
543
+ listWhatsAppBots: Array<DrozBotWhatsAppBotFragment>;
544
+ };
545
+ export type GetWhatsAppBotDetailsQueryVariables = Exact<{
546
+ id: Scalars['ID']['input'];
547
+ }>;
548
+ export type GetWhatsAppBotDetailsQuery = {
549
+ getWhatsAppBotDetails?: Maybe<DrozBotWhatsAppBotFragment>;
550
+ };
551
+ export type ListWhatsAppBotTemplatesQueryVariables = Exact<{
552
+ id: Scalars['ID']['input'];
553
+ }>;
554
+ export type ListWhatsAppBotTemplatesQuery = {
555
+ listWhatsAppBotTemplates: Array<DrozBotWhatsAppTemplateFragment>;
556
+ };
557
+ export type RegisterRootCredentialMutationVariables = Exact<{
558
+ input: DrozBotRootCredentialInput;
559
+ }>;
560
+ export type RegisterRootCredentialMutation = Pick<Mutation, 'registerRootCredential'>;
561
+ export type ActiveTriggerMutationVariables = Exact<{
562
+ input: ActiveTriggerInput;
563
+ }>;
564
+ export type ActiveTriggerMutation = Pick<Mutation, 'activeTrigger'>;
477
565
  export declare const DrozbotFragmentDoc = "\n fragment drozbot on DrozBotInstance {\n id\n name\n drn\n credentialId\n isTest\n integrationType\n createdAt\n updatedAt\n}\n ";
478
566
  export declare const DrozBotTicketCommentFragmentDoc = "\n fragment drozBotTicketComment on DrozBotTicketComment {\n id\n ticketId\n}\n ";
479
567
  export declare const IntentDictionaryFragmentDoc = "\n fragment intentDictionary on IntentDictionary {\n id\n entities {\n label\n keys\n }\n createdAt\n updatedAt\n}\n ";
480
568
  export declare const IntentFragmentDoc = "\n fragment intent on Intent {\n label\n score\n}\n ";
569
+ export declare const DrozBotWhatsAppBotFragmentDoc = "\n fragment drozBotWhatsAppBot on DrozBotWhatsAppBot {\n id\n name\n enabled\n deleted\n channel\n providerChannel\n language\n phone\n}\n ";
570
+ export declare const DrozBotWhatsAppTemplateFragmentDoc = "\n fragment drozBotWhatsAppTemplate on DrozBotWhatsAppTemplate {\n id\n templateName\n content\n contentButton\n language\n deleted\n approved\n type\n}\n ";
481
571
  export declare const GetDrozBotInstanceDocument = "\n query getDrozBotInstance($id: ID!) {\n getDrozBotInstance(id: $id) {\n ...drozbot\n }\n}\n \n fragment drozbot on DrozBotInstance {\n id\n name\n drn\n credentialId\n isTest\n integrationType\n createdAt\n updatedAt\n}\n ";
482
572
  export declare const ListDrozBotInstancesDocument = "\n query listDrozBotInstances {\n listDrozBotInstances {\n ...drozbot\n }\n}\n \n fragment drozbot on DrozBotInstance {\n id\n name\n drn\n credentialId\n isTest\n integrationType\n createdAt\n updatedAt\n}\n ";
483
573
  export declare const GetIntentDictionaryDocument = "\n query getIntentDictionary($id: ID!) {\n getIntentDictionary(id: $id) {\n ...intentDictionary\n }\n}\n \n fragment intentDictionary on IntentDictionary {\n id\n entities {\n label\n keys\n }\n createdAt\n updatedAt\n}\n ";
@@ -491,6 +581,11 @@ export declare const CreateDrozBotTicketCommentDocument = "\n mutation create
491
581
  export declare const RequestDrozBotAssessDocument = "\n mutation requestDrozBotAssess($input: RequestDrozBotAssessInput!) {\n requestDrozBotAssess(input: $input)\n}\n ";
492
582
  export declare const UpsertIntentDictionaryDocument = "\n mutation upsertIntentDictionary($input: UpsertIntentDictionaryInput!) {\n upsertIntentDictionary(input: $input) {\n ...intentDictionary\n }\n}\n \n fragment intentDictionary on IntentDictionary {\n id\n entities {\n label\n keys\n }\n createdAt\n updatedAt\n}\n ";
493
583
  export declare const PredictIntentDocument = "\n mutation predictIntent($input: PredictIntentInput!) {\n predictIntent(input: $input) {\n ...intent\n }\n}\n \n fragment intent on Intent {\n label\n score\n}\n ";
584
+ export declare const ListWhatsAppBotsDocument = "\n query listWhatsAppBots {\n listWhatsAppBots {\n ...drozBotWhatsAppBot\n }\n}\n \n fragment drozBotWhatsAppBot on DrozBotWhatsAppBot {\n id\n name\n enabled\n deleted\n channel\n providerChannel\n language\n phone\n}\n ";
585
+ export declare const GetWhatsAppBotDetailsDocument = "\n query getWhatsAppBotDetails($id: ID!) {\n getWhatsAppBotDetails(id: $id) {\n ...drozBotWhatsAppBot\n }\n}\n \n fragment drozBotWhatsAppBot on DrozBotWhatsAppBot {\n id\n name\n enabled\n deleted\n channel\n providerChannel\n language\n phone\n}\n ";
586
+ export declare const ListWhatsAppBotTemplatesDocument = "\n query listWhatsAppBotTemplates($id: ID!) {\n listWhatsAppBotTemplates(id: $id) {\n ...drozBotWhatsAppTemplate\n }\n}\n \n fragment drozBotWhatsAppTemplate on DrozBotWhatsAppTemplate {\n id\n templateName\n content\n contentButton\n language\n deleted\n approved\n type\n}\n ";
587
+ export declare const RegisterRootCredentialDocument = "\n mutation registerRootCredential($input: DrozBotRootCredentialInput!) {\n registerRootCredential(input: $input)\n}\n ";
588
+ export declare const ActiveTriggerDocument = "\n mutation activeTrigger($input: ActiveTriggerInput!) {\n activeTrigger(input: $input)\n}\n ";
494
589
  export type Requester<C = {}> = <R, V>(doc: string, vars?: V, options?: C) => Promise<R> | AsyncIterableIterator<R>;
495
590
  export declare function getSdk<C>(requester: Requester<C>): {
496
591
  getDrozBotInstance(variables: GetDrozBotInstanceQueryVariables, options?: C): Promise<GetDrozBotInstanceQuery>;
@@ -506,6 +601,11 @@ export declare function getSdk<C>(requester: Requester<C>): {
506
601
  requestDrozBotAssess(variables: RequestDrozBotAssessMutationVariables, options?: C): Promise<RequestDrozBotAssessMutation>;
507
602
  upsertIntentDictionary(variables: UpsertIntentDictionaryMutationVariables, options?: C): Promise<UpsertIntentDictionaryMutation>;
508
603
  predictIntent(variables: PredictIntentMutationVariables, options?: C): Promise<PredictIntentMutation>;
604
+ listWhatsAppBots(variables?: ListWhatsAppBotsQueryVariables, options?: C): Promise<ListWhatsAppBotsQuery>;
605
+ getWhatsAppBotDetails(variables: GetWhatsAppBotDetailsQueryVariables, options?: C): Promise<GetWhatsAppBotDetailsQuery>;
606
+ listWhatsAppBotTemplates(variables: ListWhatsAppBotTemplatesQueryVariables, options?: C): Promise<ListWhatsAppBotTemplatesQuery>;
607
+ registerRootCredential(variables: RegisterRootCredentialMutationVariables, options?: C): Promise<RegisterRootCredentialMutation>;
608
+ activeTrigger(variables: ActiveTriggerMutationVariables, options?: C): Promise<ActiveTriggerMutation>;
509
609
  };
510
610
  export type Sdk = ReturnType<typeof getSdk>;
511
611
  export declare const serviceName = "@droz/drozbot";
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  /* istanbul ignore file */
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.serviceName = exports.PredictIntentDocument = exports.UpsertIntentDictionaryDocument = exports.RequestDrozBotAssessDocument = exports.CreateDrozBotTicketCommentDocument = exports.CreateDrozBotTicketCommentsDocument = exports.CreateDrozBotTicketDocument = exports.RemoveDrozBotInstanceDocument = exports.UpdateDrozBotInstanceDocument = exports.CreateDrozBotInstanceDocument = exports.ListIntentDictionaryDocument = exports.GetIntentDictionaryDocument = exports.ListDrozBotInstancesDocument = exports.GetDrozBotInstanceDocument = exports.IntentFragmentDoc = exports.IntentDictionaryFragmentDoc = exports.DrozBotTicketCommentFragmentDoc = exports.DrozbotFragmentDoc = exports.Typenames = exports.DrozBotTicketMessageSender = exports.DrozBotIntegrationType = exports.DrozBotAssessType = exports.Can = exports.AppInstanceStatus = void 0;
4
+ exports.serviceName = exports.ActiveTriggerDocument = exports.RegisterRootCredentialDocument = exports.ListWhatsAppBotTemplatesDocument = exports.GetWhatsAppBotDetailsDocument = exports.ListWhatsAppBotsDocument = exports.PredictIntentDocument = exports.UpsertIntentDictionaryDocument = exports.RequestDrozBotAssessDocument = exports.CreateDrozBotTicketCommentDocument = exports.CreateDrozBotTicketCommentsDocument = exports.CreateDrozBotTicketDocument = exports.RemoveDrozBotInstanceDocument = exports.UpdateDrozBotInstanceDocument = exports.CreateDrozBotInstanceDocument = exports.ListIntentDictionaryDocument = exports.GetIntentDictionaryDocument = exports.ListDrozBotInstancesDocument = exports.GetDrozBotInstanceDocument = exports.DrozBotWhatsAppTemplateFragmentDoc = exports.DrozBotWhatsAppBotFragmentDoc = exports.IntentFragmentDoc = exports.IntentDictionaryFragmentDoc = exports.DrozBotTicketCommentFragmentDoc = exports.DrozbotFragmentDoc = exports.Typenames = exports.DrozBotWhatsAppTemplateTypes = exports.DrozBotWhatsAppTemplateStates = exports.DrozBotWhatsAppBotProviders = exports.DrozBotTicketMessageSender = exports.DrozBotIntegrationType = exports.DrozBotAssessType = exports.Can = exports.AppInstanceStatus = void 0;
5
5
  exports.getSdk = getSdk;
6
6
  var AppInstanceStatus;
7
7
  (function (AppInstanceStatus) {
@@ -30,11 +30,24 @@ var DrozBotTicketMessageSender;
30
30
  DrozBotTicketMessageSender["Bot"] = "BOT";
31
31
  DrozBotTicketMessageSender["User"] = "USER";
32
32
  })(DrozBotTicketMessageSender || (exports.DrozBotTicketMessageSender = DrozBotTicketMessageSender = {}));
33
+ var DrozBotWhatsAppBotProviders;
34
+ (function (DrozBotWhatsAppBotProviders) {
35
+ DrozBotWhatsAppBotProviders["Meta"] = "META";
36
+ })(DrozBotWhatsAppBotProviders || (exports.DrozBotWhatsAppBotProviders = DrozBotWhatsAppBotProviders = {}));
37
+ var DrozBotWhatsAppTemplateStates;
38
+ (function (DrozBotWhatsAppTemplateStates) {
39
+ DrozBotWhatsAppTemplateStates["Approved"] = "APPROVED";
40
+ })(DrozBotWhatsAppTemplateStates || (exports.DrozBotWhatsAppTemplateStates = DrozBotWhatsAppTemplateStates = {}));
41
+ var DrozBotWhatsAppTemplateTypes;
42
+ (function (DrozBotWhatsAppTemplateTypes) {
43
+ DrozBotWhatsAppTemplateTypes["Text"] = "TEXT";
44
+ })(DrozBotWhatsAppTemplateTypes || (exports.DrozBotWhatsAppTemplateTypes = DrozBotWhatsAppTemplateTypes = {}));
33
45
  var Typenames;
34
46
  (function (Typenames) {
35
47
  Typenames["Any"] = "Any";
36
48
  Typenames["DrozBotAssess"] = "DrozBotAssess";
37
49
  Typenames["DrozBotInstance"] = "DrozBotInstance";
50
+ Typenames["DrozBotRootAuth"] = "DrozBotRootAuth";
38
51
  Typenames["DrozBotSession"] = "DrozBotSession";
39
52
  Typenames["GraphqlConnections"] = "GraphqlConnections";
40
53
  Typenames["GraphqlSubscriptions"] = "GraphqlSubscriptions";
@@ -75,6 +88,30 @@ exports.IntentFragmentDoc = `
75
88
  score
76
89
  }
77
90
  `;
91
+ exports.DrozBotWhatsAppBotFragmentDoc = `
92
+ fragment drozBotWhatsAppBot on DrozBotWhatsAppBot {
93
+ id
94
+ name
95
+ enabled
96
+ deleted
97
+ channel
98
+ providerChannel
99
+ language
100
+ phone
101
+ }
102
+ `;
103
+ exports.DrozBotWhatsAppTemplateFragmentDoc = `
104
+ fragment drozBotWhatsAppTemplate on DrozBotWhatsAppTemplate {
105
+ id
106
+ templateName
107
+ content
108
+ contentButton
109
+ language
110
+ deleted
111
+ approved
112
+ type
113
+ }
114
+ `;
78
115
  exports.GetDrozBotInstanceDocument = `
79
116
  query getDrozBotInstance($id: ID!) {
80
117
  getDrozBotInstance(id: $id) {
@@ -166,6 +203,37 @@ exports.PredictIntentDocument = `
166
203
  }
167
204
  }
168
205
  ${exports.IntentFragmentDoc}`;
206
+ exports.ListWhatsAppBotsDocument = `
207
+ query listWhatsAppBots {
208
+ listWhatsAppBots {
209
+ ...drozBotWhatsAppBot
210
+ }
211
+ }
212
+ ${exports.DrozBotWhatsAppBotFragmentDoc}`;
213
+ exports.GetWhatsAppBotDetailsDocument = `
214
+ query getWhatsAppBotDetails($id: ID!) {
215
+ getWhatsAppBotDetails(id: $id) {
216
+ ...drozBotWhatsAppBot
217
+ }
218
+ }
219
+ ${exports.DrozBotWhatsAppBotFragmentDoc}`;
220
+ exports.ListWhatsAppBotTemplatesDocument = `
221
+ query listWhatsAppBotTemplates($id: ID!) {
222
+ listWhatsAppBotTemplates(id: $id) {
223
+ ...drozBotWhatsAppTemplate
224
+ }
225
+ }
226
+ ${exports.DrozBotWhatsAppTemplateFragmentDoc}`;
227
+ exports.RegisterRootCredentialDocument = `
228
+ mutation registerRootCredential($input: DrozBotRootCredentialInput!) {
229
+ registerRootCredential(input: $input)
230
+ }
231
+ `;
232
+ exports.ActiveTriggerDocument = `
233
+ mutation activeTrigger($input: ActiveTriggerInput!) {
234
+ activeTrigger(input: $input)
235
+ }
236
+ `;
169
237
  function getSdk(requester) {
170
238
  return {
171
239
  getDrozBotInstance(variables, options) {
@@ -206,6 +274,21 @@ function getSdk(requester) {
206
274
  },
207
275
  predictIntent(variables, options) {
208
276
  return requester(exports.PredictIntentDocument, variables, options);
277
+ },
278
+ listWhatsAppBots(variables, options) {
279
+ return requester(exports.ListWhatsAppBotsDocument, variables, options);
280
+ },
281
+ getWhatsAppBotDetails(variables, options) {
282
+ return requester(exports.GetWhatsAppBotDetailsDocument, variables, options);
283
+ },
284
+ listWhatsAppBotTemplates(variables, options) {
285
+ return requester(exports.ListWhatsAppBotTemplatesDocument, variables, options);
286
+ },
287
+ registerRootCredential(variables, options) {
288
+ return requester(exports.RegisterRootCredentialDocument, variables, options);
289
+ },
290
+ activeTrigger(variables, options) {
291
+ return requester(exports.ActiveTriggerDocument, variables, options);
209
292
  }
210
293
  };
211
294
  }