@azure-rest/communication-messages 2.1.0-alpha.20250411.1 → 2.2.0-beta.1

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.
Files changed (179) hide show
  1. package/CHANGELOG.md +2 -6
  2. package/dist/browser/conversationEventListener.d.ts +19 -0
  3. package/dist/browser/conversationEventListener.d.ts.map +1 -0
  4. package/dist/browser/conversationEventListener.js +93 -0
  5. package/dist/browser/conversationEventListener.js.map +1 -0
  6. package/dist/browser/generated/src/clientDefinitions.d.ts +54 -2
  7. package/dist/browser/generated/src/clientDefinitions.d.ts.map +1 -1
  8. package/dist/browser/generated/src/clientDefinitions.js.map +1 -1
  9. package/dist/browser/generated/src/isUnexpected.d.ts +11 -1
  10. package/dist/browser/generated/src/isUnexpected.d.ts.map +1 -1
  11. package/dist/browser/generated/src/isUnexpected.js +10 -0
  12. package/dist/browser/generated/src/isUnexpected.js.map +1 -1
  13. package/dist/browser/generated/src/messagesServiceClient.d.ts.map +1 -1
  14. package/dist/browser/generated/src/messagesServiceClient.js +12 -2
  15. package/dist/browser/generated/src/messagesServiceClient.js.map +1 -1
  16. package/dist/browser/generated/src/models.d.ts +160 -2
  17. package/dist/browser/generated/src/models.d.ts.map +1 -1
  18. package/dist/browser/generated/src/models.js.map +1 -1
  19. package/dist/browser/generated/src/outputModels.d.ts +309 -0
  20. package/dist/browser/generated/src/outputModels.d.ts.map +1 -1
  21. package/dist/browser/generated/src/outputModels.js.map +1 -1
  22. package/dist/browser/generated/src/parameters.d.ts +134 -2
  23. package/dist/browser/generated/src/parameters.d.ts.map +1 -1
  24. package/dist/browser/generated/src/parameters.js.map +1 -1
  25. package/dist/browser/generated/src/responses.d.ts +196 -1
  26. package/dist/browser/generated/src/responses.d.ts.map +1 -1
  27. package/dist/browser/generated/src/responses.js.map +1 -1
  28. package/dist/browser/index.d.ts +2 -0
  29. package/dist/browser/index.d.ts.map +1 -1
  30. package/dist/browser/index.js +2 -0
  31. package/dist/browser/index.js.map +1 -1
  32. package/dist/browser/messagesServiceClient.js +4 -2
  33. package/dist/browser/messagesServiceClient.js.map +1 -1
  34. package/dist/browser/signaling/events.d.ts +4 -0
  35. package/dist/browser/signaling/events.d.ts.map +1 -0
  36. package/dist/browser/signaling/events.js +4 -0
  37. package/dist/browser/signaling/events.js.map +1 -0
  38. package/dist/browser/signaling/signalingClient-browser.d.mts.map +1 -0
  39. package/dist/browser/signaling/signalingClient-browser.mjs.map +1 -0
  40. package/dist/browser/signaling/signalingClient.d.ts +6 -0
  41. package/dist/browser/signaling/signalingClient.js +13 -0
  42. package/dist/browser/signaling/signalingClientOptions.d.ts +6 -0
  43. package/dist/browser/signaling/signalingClientOptions.d.ts.map +1 -0
  44. package/dist/browser/signaling/signalingClientOptions.js +2 -0
  45. package/dist/browser/signaling/signalingClientOptions.js.map +1 -0
  46. package/dist/commonjs/conversationEventListener.d.ts +19 -0
  47. package/dist/commonjs/conversationEventListener.d.ts.map +1 -0
  48. package/dist/commonjs/conversationEventListener.js +96 -0
  49. package/dist/commonjs/conversationEventListener.js.map +1 -0
  50. package/dist/commonjs/generated/src/clientDefinitions.d.ts +54 -2
  51. package/dist/commonjs/generated/src/clientDefinitions.d.ts.map +1 -1
  52. package/dist/commonjs/generated/src/clientDefinitions.js.map +1 -1
  53. package/dist/commonjs/generated/src/isUnexpected.d.ts +11 -1
  54. package/dist/commonjs/generated/src/isUnexpected.d.ts.map +1 -1
  55. package/dist/commonjs/generated/src/isUnexpected.js +10 -0
  56. package/dist/commonjs/generated/src/isUnexpected.js.map +1 -1
  57. package/dist/commonjs/generated/src/messagesServiceClient.d.ts.map +1 -1
  58. package/dist/commonjs/generated/src/messagesServiceClient.js +12 -2
  59. package/dist/commonjs/generated/src/messagesServiceClient.js.map +1 -1
  60. package/dist/commonjs/generated/src/models.d.ts +160 -2
  61. package/dist/commonjs/generated/src/models.d.ts.map +1 -1
  62. package/dist/commonjs/generated/src/models.js.map +1 -1
  63. package/dist/commonjs/generated/src/outputModels.d.ts +309 -0
  64. package/dist/commonjs/generated/src/outputModels.d.ts.map +1 -1
  65. package/dist/commonjs/generated/src/outputModels.js.map +1 -1
  66. package/dist/commonjs/generated/src/parameters.d.ts +134 -2
  67. package/dist/commonjs/generated/src/parameters.d.ts.map +1 -1
  68. package/dist/commonjs/generated/src/parameters.js.map +1 -1
  69. package/dist/commonjs/generated/src/responses.d.ts +196 -1
  70. package/dist/commonjs/generated/src/responses.d.ts.map +1 -1
  71. package/dist/commonjs/generated/src/responses.js.map +1 -1
  72. package/dist/commonjs/index.d.ts +2 -0
  73. package/dist/commonjs/index.d.ts.map +1 -1
  74. package/dist/commonjs/index.js +2 -0
  75. package/dist/commonjs/index.js.map +1 -1
  76. package/dist/commonjs/messagesServiceClient.js +4 -2
  77. package/dist/commonjs/messagesServiceClient.js.map +1 -1
  78. package/dist/commonjs/signaling/events.d.ts +4 -0
  79. package/dist/commonjs/signaling/events.d.ts.map +1 -0
  80. package/dist/commonjs/signaling/events.js +5 -0
  81. package/dist/commonjs/signaling/events.js.map +1 -0
  82. package/dist/commonjs/signaling/signalingClient.d.ts +6 -0
  83. package/dist/commonjs/signaling/signalingClient.d.ts.map +1 -0
  84. package/dist/commonjs/signaling/signalingClient.js +11 -0
  85. package/dist/commonjs/signaling/signalingClient.js.map +1 -0
  86. package/dist/commonjs/signaling/signalingClientOptions.d.ts +6 -0
  87. package/dist/commonjs/signaling/signalingClientOptions.d.ts.map +1 -0
  88. package/dist/commonjs/signaling/signalingClientOptions.js +3 -0
  89. package/dist/commonjs/signaling/signalingClientOptions.js.map +1 -0
  90. package/dist/esm/conversationEventListener.d.ts +19 -0
  91. package/dist/esm/conversationEventListener.d.ts.map +1 -0
  92. package/dist/esm/conversationEventListener.js +93 -0
  93. package/dist/esm/conversationEventListener.js.map +1 -0
  94. package/dist/esm/generated/src/clientDefinitions.d.ts +54 -2
  95. package/dist/esm/generated/src/clientDefinitions.d.ts.map +1 -1
  96. package/dist/esm/generated/src/clientDefinitions.js.map +1 -1
  97. package/dist/esm/generated/src/isUnexpected.d.ts +11 -1
  98. package/dist/esm/generated/src/isUnexpected.d.ts.map +1 -1
  99. package/dist/esm/generated/src/isUnexpected.js +10 -0
  100. package/dist/esm/generated/src/isUnexpected.js.map +1 -1
  101. package/dist/esm/generated/src/messagesServiceClient.d.ts.map +1 -1
  102. package/dist/esm/generated/src/messagesServiceClient.js +12 -2
  103. package/dist/esm/generated/src/messagesServiceClient.js.map +1 -1
  104. package/dist/esm/generated/src/models.d.ts +160 -2
  105. package/dist/esm/generated/src/models.d.ts.map +1 -1
  106. package/dist/esm/generated/src/models.js.map +1 -1
  107. package/dist/esm/generated/src/outputModels.d.ts +309 -0
  108. package/dist/esm/generated/src/outputModels.d.ts.map +1 -1
  109. package/dist/esm/generated/src/outputModels.js.map +1 -1
  110. package/dist/esm/generated/src/parameters.d.ts +134 -2
  111. package/dist/esm/generated/src/parameters.d.ts.map +1 -1
  112. package/dist/esm/generated/src/parameters.js.map +1 -1
  113. package/dist/esm/generated/src/responses.d.ts +196 -1
  114. package/dist/esm/generated/src/responses.d.ts.map +1 -1
  115. package/dist/esm/generated/src/responses.js.map +1 -1
  116. package/dist/esm/index.d.ts +2 -0
  117. package/dist/esm/index.d.ts.map +1 -1
  118. package/dist/esm/index.js +2 -0
  119. package/dist/esm/index.js.map +1 -1
  120. package/dist/esm/messagesServiceClient.js +4 -2
  121. package/dist/esm/messagesServiceClient.js.map +1 -1
  122. package/dist/esm/signaling/events.d.ts +4 -0
  123. package/dist/esm/signaling/events.d.ts.map +1 -0
  124. package/dist/esm/signaling/events.js +4 -0
  125. package/dist/esm/signaling/events.js.map +1 -0
  126. package/dist/esm/signaling/signalingClient.d.ts +6 -0
  127. package/dist/esm/signaling/signalingClient.d.ts.map +1 -0
  128. package/dist/esm/signaling/signalingClient.js +7 -0
  129. package/dist/esm/signaling/signalingClient.js.map +1 -0
  130. package/dist/esm/signaling/signalingClientOptions.d.ts +6 -0
  131. package/dist/esm/signaling/signalingClientOptions.d.ts.map +1 -0
  132. package/dist/esm/signaling/signalingClientOptions.js +2 -0
  133. package/dist/esm/signaling/signalingClientOptions.js.map +1 -0
  134. package/dist/react-native/conversationEventListener.d.ts +19 -0
  135. package/dist/react-native/conversationEventListener.d.ts.map +1 -0
  136. package/dist/react-native/conversationEventListener.js +93 -0
  137. package/dist/react-native/conversationEventListener.js.map +1 -0
  138. package/dist/react-native/generated/src/clientDefinitions.d.ts +54 -2
  139. package/dist/react-native/generated/src/clientDefinitions.d.ts.map +1 -1
  140. package/dist/react-native/generated/src/clientDefinitions.js.map +1 -1
  141. package/dist/react-native/generated/src/isUnexpected.d.ts +11 -1
  142. package/dist/react-native/generated/src/isUnexpected.d.ts.map +1 -1
  143. package/dist/react-native/generated/src/isUnexpected.js +10 -0
  144. package/dist/react-native/generated/src/isUnexpected.js.map +1 -1
  145. package/dist/react-native/generated/src/messagesServiceClient.d.ts.map +1 -1
  146. package/dist/react-native/generated/src/messagesServiceClient.js +12 -2
  147. package/dist/react-native/generated/src/messagesServiceClient.js.map +1 -1
  148. package/dist/react-native/generated/src/models.d.ts +160 -2
  149. package/dist/react-native/generated/src/models.d.ts.map +1 -1
  150. package/dist/react-native/generated/src/models.js.map +1 -1
  151. package/dist/react-native/generated/src/outputModels.d.ts +309 -0
  152. package/dist/react-native/generated/src/outputModels.d.ts.map +1 -1
  153. package/dist/react-native/generated/src/outputModels.js.map +1 -1
  154. package/dist/react-native/generated/src/parameters.d.ts +134 -2
  155. package/dist/react-native/generated/src/parameters.d.ts.map +1 -1
  156. package/dist/react-native/generated/src/parameters.js.map +1 -1
  157. package/dist/react-native/generated/src/responses.d.ts +196 -1
  158. package/dist/react-native/generated/src/responses.d.ts.map +1 -1
  159. package/dist/react-native/generated/src/responses.js.map +1 -1
  160. package/dist/react-native/index.d.ts +2 -0
  161. package/dist/react-native/index.d.ts.map +1 -1
  162. package/dist/react-native/index.js +2 -0
  163. package/dist/react-native/index.js.map +1 -1
  164. package/dist/react-native/messagesServiceClient.js +4 -2
  165. package/dist/react-native/messagesServiceClient.js.map +1 -1
  166. package/dist/react-native/signaling/events.d.ts +4 -0
  167. package/dist/react-native/signaling/events.d.ts.map +1 -0
  168. package/dist/react-native/signaling/events.js +4 -0
  169. package/dist/react-native/signaling/events.js.map +1 -0
  170. package/dist/react-native/signaling/signalingClient-react-native.d.mts.map +1 -0
  171. package/dist/react-native/signaling/signalingClient-react-native.mjs.map +1 -0
  172. package/dist/react-native/signaling/signalingClient.d.ts +6 -0
  173. package/dist/react-native/signaling/signalingClient.js +13 -0
  174. package/dist/react-native/signaling/signalingClientOptions.d.ts +6 -0
  175. package/dist/react-native/signaling/signalingClientOptions.d.ts.map +1 -0
  176. package/dist/react-native/signaling/signalingClientOptions.js +2 -0
  177. package/dist/react-native/signaling/signalingClientOptions.js.map +1 -0
  178. package/package.json +9 -9
  179. package/review/communication-messages.api.md +1024 -4
@@ -33,7 +33,7 @@ export interface ImageNotificationContent extends NotificationContentParent {
33
33
  }
34
34
  /** A request to send a document notification. */
35
35
  export interface DocumentNotificationContent extends NotificationContentParent {
36
- /** Message notification type is image. */
36
+ /** Message notification type is document. */
37
37
  kind: "document";
38
38
  /** Optional text content. */
39
39
  caption?: string;
@@ -44,7 +44,7 @@ export interface DocumentNotificationContent extends NotificationContentParent {
44
44
  }
45
45
  /** A request to send a video notification. */
46
46
  export interface VideoNotificationContent extends NotificationContentParent {
47
- /** Message notification type is image. */
47
+ /** Message notification type is video. */
48
48
  kind: "video";
49
49
  /** Optional text content. */
50
50
  caption?: string;
@@ -316,6 +316,152 @@ export interface WhatsAppMessageTemplateBindingsButton {
316
316
  /** The name of the referenced item in the template values. */
317
317
  refValue: string;
318
318
  }
319
+ /** Request payload for adding participants to a conversation. */
320
+ export interface AddParticipantsOptions {
321
+ /** List of participants to add. */
322
+ participants: Array<ConversationParticipant>;
323
+ }
324
+ /** Advanced Messaging conversation participant. */
325
+ export interface ConversationParticipantParent {
326
+ /** Participant display name. */
327
+ displayName?: string;
328
+ kind: ParticipantKind;
329
+ }
330
+ /** Internal conversation participant. */
331
+ export interface InternalConversationParticipant extends ConversationParticipantParent {
332
+ /** Participant type is internal. */
333
+ kind: "internal";
334
+ /** The internal platform identifiers for the participant. */
335
+ contact: Contact;
336
+ }
337
+ /** Details of an external platform contact. */
338
+ export interface ContactParent {
339
+ /** External platform identifier. */
340
+ id: string;
341
+ kind: MessagePlatformKind;
342
+ }
343
+ /** Communication Contact. */
344
+ export interface CommunicationContact extends ContactParent {
345
+ /** Contact type is communication. */
346
+ kind: "communication";
347
+ }
348
+ /** Bot Contact. */
349
+ export interface BotContact extends ContactParent {
350
+ /** Contact type is bot. */
351
+ kind: "bot";
352
+ /** Bot App Id of the Bot Contact. */
353
+ botAppId: string;
354
+ }
355
+ /** WhatsApp Contact. */
356
+ export interface WhatsAppContact extends ContactParent {
357
+ /** Contact type is whatsApp. */
358
+ kind: "whatsApp";
359
+ }
360
+ /** External conversation participant. */
361
+ export interface ExternalConversationParticipant extends ConversationParticipantParent {
362
+ /** Participant type is external. */
363
+ kind: "external";
364
+ /** List of external platform identifiers for the participant. */
365
+ contacts: Array<Contact>;
366
+ }
367
+ /** Request payload for removing participants from a conversation. */
368
+ export interface RemoveParticipantsOptions {
369
+ /** The participant IDs to remove. */
370
+ participantIds: string[];
371
+ }
372
+ /** A conversation. */
373
+ export interface Conversation {
374
+ /** The conversation topic. */
375
+ topic?: string;
376
+ /** List of delivery channel IDs. */
377
+ deliveryChannelIds?: string[];
378
+ /**
379
+ * Outbound delivery strategy for the conversation.
380
+ *
381
+ * Possible values: "internalOnly", "allParticipants"
382
+ */
383
+ outboundDeliveryStrategy?: OutboundDeliveryStrategyKind;
384
+ /** List of participants involved in the conversation. */
385
+ participants?: Array<ConversationParticipant>;
386
+ }
387
+ /** Details of the conversation message content. */
388
+ export interface ConversationMessageContentParent {
389
+ kind: CommunicationMessageKind;
390
+ }
391
+ /** A request to send a text conversation message. */
392
+ export interface TextConversationMessageContent extends ConversationMessageContentParent {
393
+ /** Message notification type is text. */
394
+ kind: "text";
395
+ /** Message content. */
396
+ content: string;
397
+ }
398
+ /** A request to send an image conversation message. */
399
+ export interface ImageConversationMessageContent extends ConversationMessageContentParent {
400
+ /** Message notification type is image. */
401
+ kind: "image";
402
+ /** Optional text content. */
403
+ caption?: string;
404
+ /** A media url for the file. Required if the type is one of the supported media types, e.g. image */
405
+ mediaUri: string;
406
+ }
407
+ /** A request to send a document conversation message. */
408
+ export interface DocumentConversationMessageContent extends ConversationMessageContentParent {
409
+ /** Message notification type is document. */
410
+ kind: "document";
411
+ /** Optional text content. */
412
+ caption?: string;
413
+ /** Optional name for the file. */
414
+ fileName?: string;
415
+ /** A media url for the file. Required if the type is one of the supported media types, e.g. image */
416
+ mediaUri: string;
417
+ }
418
+ /** A request to send a video conversation message. */
419
+ export interface VideoConversationMessageContent extends ConversationMessageContentParent {
420
+ /** Message notification type is video. */
421
+ kind: "video";
422
+ /** Optional text content. */
423
+ caption?: string;
424
+ /** A media url for the file. Required if the type is one of the supported media types, e.g. image */
425
+ mediaUri: string;
426
+ }
427
+ /** A request to send an audio conversation message. */
428
+ export interface AudioConversationMessageContent extends ConversationMessageContentParent {
429
+ /** Message notification type is audio. */
430
+ kind: "audio";
431
+ /** A media url for the file. Required if the type is one of the supported media types, e.g. image */
432
+ mediaUri: string;
433
+ }
434
+ /** A request to send a template conversation message. */
435
+ export interface TemplateConversationMessageContent extends ConversationMessageContentParent {
436
+ /** Message notification type is template. */
437
+ kind: "template";
438
+ /** The template object used to create templates. */
439
+ template: MessageTemplate;
440
+ }
441
+ /** Request payload for sending a conversation message. */
442
+ export interface SendConversationMessageOptions {
443
+ /** Details of a send conversation message request. */
444
+ request: ConversationMessageContent;
445
+ /**
446
+ * The options of the outbound delivery strategy for messages sent by participants in a conversation.
447
+ * Supports internalOnly, allChannels.
448
+ *
449
+ * Possible values: "internalOnly", "allParticipants"
450
+ */
451
+ outboundDeliveryStrategy?: OutboundDeliveryStrategyKind;
452
+ }
453
+ /** Request payload for creating a conversation. */
454
+ export interface CreateConversationRequest {
455
+ /** The conversation details. */
456
+ conversation: Conversation;
457
+ /** An initial message within the conversation. */
458
+ initialMessage?: Message;
459
+ }
460
+ /** Details of a message. */
461
+ export interface Message {
462
+ /** Content of the message. */
463
+ content: string;
464
+ }
319
465
  /** Details of the message to send. */
320
466
  export type NotificationContent = NotificationContentParent | TextNotificationContent | MediaNotificationContent | ImageNotificationContent | DocumentNotificationContent | VideoNotificationContent | AudioNotificationContent | ReactionNotificationContent | StickerNotificationContent | InteractiveNotificationContent | TemplateNotificationContent;
321
467
  /** The message content object used to create interactive messages components. */
@@ -326,6 +472,12 @@ export type ActionBindings = ActionBindingsParent | WhatsAppListActionBindings |
326
472
  export type MessageTemplateValue = MessageTemplateValueParent | MessageTemplateText | MessageTemplateImage | MessageTemplateDocument | MessageTemplateVideo | MessageTemplateLocation | MessageTemplateQuickAction;
327
473
  /** The binding object to link values to the template specific locations */
328
474
  export type MessageTemplateBindings = MessageTemplateBindingsParent | WhatsAppMessageTemplateBindings;
475
+ /** Advanced Messaging conversation participant. */
476
+ export type ConversationParticipant = ConversationParticipantParent | InternalConversationParticipant | ExternalConversationParticipant;
477
+ /** Details of an external platform contact. */
478
+ export type Contact = ContactParent | CommunicationContact | BotContact | WhatsAppContact;
479
+ /** Details of the conversation message content. */
480
+ export type ConversationMessageContent = ConversationMessageContentParent | TextConversationMessageContent | ImageConversationMessageContent | DocumentConversationMessageContent | VideoConversationMessageContent | AudioConversationMessageContent | TemplateConversationMessageContent;
329
481
  /** Alias for CommunicationMessageKind */
330
482
  export type CommunicationMessageKind = string;
331
483
  /** Alias for MessageContentKind */
@@ -338,4 +490,10 @@ export type MessageTemplateValueKind = string;
338
490
  export type MessageTemplateBindingsKind = string;
339
491
  /** Alias for WhatsAppMessageButtonSubType */
340
492
  export type WhatsAppMessageButtonSubType = string;
493
+ /** Alias for ParticipantKind */
494
+ export type ParticipantKind = string;
495
+ /** Alias for MessagePlatformKind */
496
+ export type MessagePlatformKind = string;
497
+ /** Alias for OutboundDeliveryStrategyKind */
498
+ export type OutboundDeliveryStrategyKind = string;
341
499
  //# sourceMappingURL=models.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"models.d.ts","sourceRoot":"","sources":["../../../../src/generated/src/models.ts"],"names":[],"mappings":"AAGA,sCAAsC;AACtC,MAAM,WAAW,yBAAyB;IACxC,+DAA+D;IAC/D,qBAAqB,EAAE,MAAM,CAAC;IAC9B,sEAAsE;IACtE,EAAE,EAAE,MAAM,EAAE,CAAC;IACb,IAAI,EAAE,wBAAwB,CAAC;CAChC;AAED,6CAA6C;AAC7C,MAAM,WAAW,uBAAwB,SAAQ,yBAAyB;IACxE,yCAAyC;IACzC,IAAI,EAAE,MAAM,CAAC;IACb,uBAAuB;IACvB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,2DAA2D;AAC3D,MAAM,WAAW,wBAAyB,SAAQ,yBAAyB;IACzE,0CAA0C;IAC1C,IAAI,EAAE,UAAU,CAAC;IACjB,6BAA6B;IAC7B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,qGAAqG;IACrG,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,+CAA+C;AAC/C,MAAM,WAAW,wBAAyB,SAAQ,yBAAyB;IACzE,0CAA0C;IAC1C,IAAI,EAAE,OAAO,CAAC;IACd,6BAA6B;IAC7B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,qGAAqG;IACrG,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,iDAAiD;AACjD,MAAM,WAAW,2BAA4B,SAAQ,yBAAyB;IAC5E,0CAA0C;IAC1C,IAAI,EAAE,UAAU,CAAC;IACjB,6BAA6B;IAC7B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,kCAAkC;IAClC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,qGAAqG;IACrG,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,8CAA8C;AA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4C;AAC5C,MAAM,MAAM,2BAA2B,GAAG,MAAM,CAAC;AACjD,6CAA6C;AAC7C,MAAM,MAAM,4BAA4B,GAAG,MAAM,CAAC;AAClD,gCAAgC;AAChC,MAAM,MAAM,eAAe,GAAG,MAAM,CAAC;AACrC,oCAAoC;AACpC,MAAM,MAAM,mBAAmB,GAAG,MAAM,CAAC;AACzC,6CAA6C;AAC7C,MAAM,MAAM,4BAA4B,GAAG,MAAM,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"models.js","sourceRoot":"","sources":["../../../../src/generated/src/models.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n/** Details of the message to send. */\nexport interface NotificationContentParent {\n /** The Channel Registration ID for the Business Identifier. */\n channelRegistrationId: string;\n /** The native external platform user identifiers of the recipient. */\n to: string[];\n kind: CommunicationMessageKind;\n}\n\n/** A request to send a text notification. */\nexport interface TextNotificationContent extends NotificationContentParent {\n /** Message notification type is text. */\n kind: \"text\";\n /** Message content. */\n content: string;\n}\n\n/** @deprecated A request to send an image notification. */\nexport interface MediaNotificationContent extends NotificationContentParent {\n /** Message notification type is image. */\n kind: \"image_v0\";\n /** Optional text content. */\n content?: string;\n /** A media url for the file. Required if the type is one of the supported media types, e.g. image */\n mediaUri: string;\n}\n\n/** A request to send an image notification. */\nexport interface ImageNotificationContent extends NotificationContentParent {\n /** Message notification type is image. */\n kind: \"image\";\n /** Optional text content. */\n caption?: string;\n /** A media url for the file. Required if the type is one of the supported media types, e.g. image */\n mediaUri: string;\n}\n\n/** A request to send a document notification. */\nexport interface DocumentNotificationContent extends NotificationContentParent {\n /** Message notification type is image. */\n kind: \"document\";\n /** Optional text content. */\n caption?: string;\n /** Optional name for the file. */\n fileName?: string;\n /** A media url for the file. Required if the type is one of the supported media types, e.g. image */\n mediaUri: string;\n}\n\n/** A request to send a video notification. */\nexport interface VideoNotificationContent extends NotificationContentParent {\n /** Message notification type is image. */\n kind: \"video\";\n /** Optional text content. */\n caption?: string;\n /** A media url for the file. Required if the type is one of the supported media types, e.g. image */\n mediaUri: string;\n}\n\n/** A request to send an audio notification. */\nexport interface AudioNotificationContent extends NotificationContentParent {\n /** Message notification type is audio. */\n kind: \"audio\";\n /** A media url for the file. Required if the type is one of the supported media types, e.g. image */\n mediaUri: string;\n}\n\n/** A request to send a Reaction notification. */\nexport interface ReactionNotificationContent extends NotificationContentParent {\n /** Message notification type is reaction. */\n kind: \"reaction\";\n /** emoji content like \\uD83D\\uDE00. */\n emoji: string;\n /** ID of the previous message you want to reply to. */\n messageId: string;\n}\n\n/** A request to send a Sticker notification. */\nexport interface StickerNotificationContent extends NotificationContentParent {\n /** Message notification type is sticker. */\n kind: \"sticker\";\n /** A media url for the file. Required if the type is one of the supported media types, e.g. image */\n mediaUri: string;\n}\n\n/** A request to send an Interactive message notification. */\nexport interface InteractiveNotificationContent\n extends NotificationContentParent {\n /** Message notification type is Interactive. */\n kind: \"interactive\";\n /** The interactive message content. */\n interactiveMessage: InteractiveMessage;\n}\n\n/** The Interactive message content to which user can read and respond. */\nexport interface InteractiveMessage {\n /** Gets or Sets Header content. Supports the following types:text, images etc. */\n header?: MessageContent;\n /** Gets or Sets Message body content. Emojis, markdown, and links are supported. */\n body: TextMessageContent;\n /** Gets or Sets Message footer content. Emojis, markdown, and links are supported. */\n footer?: TextMessageContent;\n /** The binding object to get or set Action which describes options user have to respond to message. */\n action: ActionBindings;\n}\n\n/** The message content object used to create interactive messages components. */\nexport interface MessageContentParent {\n kind: MessageContentKind;\n}\n\n/** The message content of type text information. */\nexport interface TextMessageContent extends MessageContentParent {\n /** Message content kind is text. */\n kind: \"text\";\n /** The text value. */\n text: string;\n}\n\n/** The message content of type document information. */\nexport interface DocumentMessageContent extends MessageContentParent {\n /** Message content kind is document. */\n kind: \"document\";\n /** MediaUri of the media content. */\n mediaUri: string;\n}\n\n/** The message content of type image information. */\nexport interface ImageMessageContent extends MessageContentParent {\n /** Message content kind is image. */\n kind: \"image\";\n /** MediaUri of the media content. */\n mediaUri: string;\n}\n\n/** The message content of type video information. */\nexport interface VideoMessageContent extends MessageContentParent {\n /** Message content kind is video. */\n kind: \"video\";\n /** MediaUri of the media content. */\n mediaUri: string;\n}\n\n/** The message content of type ButtonSet/ List of buttons information. */\nexport interface ButtonSetContent extends MessageContentParent {\n /** Message content kind is Button. */\n kind: \"buttonSet\";\n /** Unique Id of the button content. */\n buttons: Array<ButtonContent>;\n}\n\n/** The message content of type Button information. */\nexport interface ButtonContent {\n /** Unique Id of the button content. */\n id: string;\n /** Title of the button content. */\n title: string;\n}\n\n/** The message content of type Url information. */\nexport interface LinkContent extends MessageContentParent {\n /** Message content kind is url. */\n kind: \"url\";\n /** Title of the url content. */\n title: string;\n /** The url in the content. */\n url: string;\n}\n\n/** The action content of type ActionGroup. */\nexport interface ActionGroupContent extends MessageContentParent {\n /** Message content kind is actionGroup. */\n kind: \"group\";\n /** Title of the actionGroup content. */\n title: string;\n /** Set or group of actions. */\n groups: Array<ActionGroup>;\n}\n\n/** The Action Group content. */\nexport interface ActionGroup {\n /** Title of the ActionGroup. */\n title: string;\n /** Array of items in ActionGroup. */\n items: Array<ActionGroupItem>;\n}\n\n/** The Action group item in the content. */\nexport interface ActionGroupItem {\n /** Id of the Item. */\n id: string;\n /** Title of the Item. */\n title: string;\n /** Description of the Item. */\n description: string;\n}\n\n/** Binding actions to the interactive message. */\nexport interface ActionBindingsParent {\n kind: MessageActionBindingKind;\n}\n\n/** WhatsApp List Binding actions to the interactive message. */\nexport interface WhatsAppListActionBindings extends ActionBindingsParent {\n /** Message action binding type is WhatsAppListAction. */\n kind: \"whatsAppListAction\";\n /** Action content of Interactive message. */\n content: ActionGroupContent;\n}\n\n/** WhatsApp Binding actions to the interactive message. */\nexport interface WhatsAppButtonActionBindings extends ActionBindingsParent {\n /** Message action binding type is WhatsAppButtonAction. */\n kind: \"whatsAppButtonAction\";\n /** Action content of Interactive message. */\n content: ButtonSetContent;\n}\n\n/** WhatsApp Binding actions to the interactive message. */\nexport interface WhatsAppUrlActionBindings extends ActionBindingsParent {\n /** Message action binding type is WhatsAppUrlAction. */\n kind: \"whatsAppUrlAction\";\n /** Action content of Interactive message. */\n content: LinkContent;\n}\n\n/** A request to send a template notification. */\nexport interface TemplateNotificationContent extends NotificationContentParent {\n /** Message notification type is template. */\n kind: \"template\";\n /** The template object used to create templates. */\n template: MessageTemplate;\n}\n\n/** The template object used to create templates. */\nexport interface MessageTemplate {\n /** Name of the template. */\n name: string;\n /** The template's language, in the ISO 639 format, consist of a two-letter language code followed by an optional two-letter country code, e.g., 'en' or 'en_US'. */\n language: string;\n /** The template values. */\n values?: Array<MessageTemplateValue>;\n /** The binding object to link values to the template specific locations */\n bindings?: MessageTemplateBindings;\n}\n\n/** The class describes a parameter of a template. */\nexport interface MessageTemplateValueParent {\n /** Template binding reference name */\n name: string;\n kind: MessageTemplateValueKind;\n}\n\n/** The message template's text value information. */\nexport interface MessageTemplateText extends MessageTemplateValueParent {\n /** Message parameter type is text. */\n kind: \"text\";\n /** The text value. */\n text: string;\n}\n\n/** The message template's image value information. */\nexport interface MessageTemplateImage extends MessageTemplateValueParent {\n /** Message parameter type is image. */\n kind: \"image\";\n /** The (public) URL of the media. */\n url: string;\n /** The [optional] caption of the media object. */\n caption?: string;\n /** The [optional] filename of the media file. */\n fileName?: string;\n}\n\n/** The message template's document value information. */\nexport interface MessageTemplateDocument extends MessageTemplateValueParent {\n /** Message parameter type is document. */\n kind: \"document\";\n /** The (public) URL of the media. */\n url: string;\n /** The [optional] caption of the media object. */\n caption?: string;\n /** The [optional] filename of the media file. */\n fileName?: string;\n}\n\n/** The message template's video value information. */\nexport interface MessageTemplateVideo extends MessageTemplateValueParent {\n /** Message parameter type is video. */\n kind: \"video\";\n /** The (public) URL of the media. */\n url: string;\n /** The [optional] caption of the media object. */\n caption?: string;\n /** The [optional] filename of the media file. */\n fileName?: string;\n}\n\n/** The message template's location value information. */\nexport interface MessageTemplateLocation extends MessageTemplateValueParent {\n /** Message parameter type is location. */\n kind: \"location\";\n /** The [Optional] name of the location. */\n locationName?: string;\n /** The [Optional] address of the location. */\n address?: string;\n /** The latitude of the location. */\n latitude: number;\n /** The longitude of the location. */\n longitude: number;\n}\n\n/** The message template's quick action value information. */\nexport interface MessageTemplateQuickAction extends MessageTemplateValueParent {\n /** Message parameter type is quick action. */\n kind: \"quickAction\";\n /** The [Optional] quick action text */\n text?: string;\n /** The [Optional] quick action payload */\n payload?: string;\n}\n\n/** The binding object to link values to the template specific locations */\nexport interface MessageTemplateBindingsParent {\n kind: MessageTemplateBindingsKind;\n}\n\n/** The template bindings for WhatsApp */\nexport interface WhatsAppMessageTemplateBindings\n extends MessageTemplateBindingsParent {\n /** MessageTemplateBindings is whatsApp */\n kind: \"whatsApp\";\n /** The header template bindings */\n header?: Array<WhatsAppMessageTemplateBindingsComponent>;\n /** The body template bindings */\n body?: Array<WhatsAppMessageTemplateBindingsComponent>;\n /** The footer template bindings */\n footer?: Array<WhatsAppMessageTemplateBindingsComponent>;\n /** The button template bindings */\n buttons?: Array<WhatsAppMessageTemplateBindingsButton>;\n}\n\n/** The template bindings component for WhatsApp */\nexport interface WhatsAppMessageTemplateBindingsComponent {\n /** The name of the referenced item in the template values. */\n refValue: string;\n}\n\n/** The template bindings component button for WhatsApp */\nexport interface WhatsAppMessageTemplateBindingsButton {\n /**\n * The WhatsApp button sub type\n *\n * Possible values: \"quickReply\", \"url\"\n */\n subType: WhatsAppMessageButtonSubType;\n /** The name of the referenced item in the template values. */\n refValue: string;\n}\n\n/** Details of the message to send. */\nexport type NotificationContent =\n | NotificationContentParent\n | TextNotificationContent\n | MediaNotificationContent\n | ImageNotificationContent\n | DocumentNotificationContent\n | VideoNotificationContent\n | AudioNotificationContent\n | ReactionNotificationContent\n | StickerNotificationContent\n | InteractiveNotificationContent\n | TemplateNotificationContent;\n/** The message content object used to create interactive messages components. */\nexport type MessageContent =\n | MessageContentParent\n | TextMessageContent\n | DocumentMessageContent\n | ImageMessageContent\n | VideoMessageContent\n | ButtonSetContent\n | LinkContent\n | ActionGroupContent;\n/** Binding actions to the interactive message. */\nexport type ActionBindings =\n | ActionBindingsParent\n | WhatsAppListActionBindings\n | WhatsAppButtonActionBindings\n | WhatsAppUrlActionBindings;\n/** The class describes a parameter of a template. */\nexport type MessageTemplateValue =\n | MessageTemplateValueParent\n | MessageTemplateText\n | MessageTemplateImage\n | MessageTemplateDocument\n | MessageTemplateVideo\n | MessageTemplateLocation\n | MessageTemplateQuickAction;\n/** The binding object to link values to the template specific locations */\nexport type MessageTemplateBindings =\n | MessageTemplateBindingsParent\n | WhatsAppMessageTemplateBindings;\n/** Alias for CommunicationMessageKind */\nexport type CommunicationMessageKind = string;\n/** Alias for MessageContentKind */\nexport type MessageContentKind = string;\n/** Alias for MessageActionBindingKind */\nexport type MessageActionBindingKind = string;\n/** Alias for MessageTemplateValueKind */\nexport type MessageTemplateValueKind = string;\n/** Alias for MessageTemplateBindingsKind */\nexport type MessageTemplateBindingsKind = string;\n/** Alias for WhatsAppMessageButtonSubType */\nexport type WhatsAppMessageButtonSubType = string;\n"]}
1
+ {"version":3,"file":"models.js","sourceRoot":"","sources":["../../../../src/generated/src/models.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n/** Details of the message to send. */\nexport interface NotificationContentParent {\n /** The Channel Registration ID for the Business Identifier. */\n channelRegistrationId: string;\n /** The native external platform user identifiers of the recipient. */\n to: string[];\n kind: CommunicationMessageKind;\n}\n\n/** A request to send a text notification. */\nexport interface TextNotificationContent extends NotificationContentParent {\n /** Message notification type is text. */\n kind: \"text\";\n /** Message content. */\n content: string;\n}\n\n/** @deprecated A request to send an image notification. */\nexport interface MediaNotificationContent extends NotificationContentParent {\n /** Message notification type is image. */\n kind: \"image_v0\";\n /** Optional text content. */\n content?: string;\n /** A media url for the file. Required if the type is one of the supported media types, e.g. image */\n mediaUri: string;\n}\n\n/** A request to send an image notification. */\nexport interface ImageNotificationContent extends NotificationContentParent {\n /** Message notification type is image. */\n kind: \"image\";\n /** Optional text content. */\n caption?: string;\n /** A media url for the file. Required if the type is one of the supported media types, e.g. image */\n mediaUri: string;\n}\n\n/** A request to send a document notification. */\nexport interface DocumentNotificationContent extends NotificationContentParent {\n /** Message notification type is document. */\n kind: \"document\";\n /** Optional text content. */\n caption?: string;\n /** Optional name for the file. */\n fileName?: string;\n /** A media url for the file. Required if the type is one of the supported media types, e.g. image */\n mediaUri: string;\n}\n\n/** A request to send a video notification. */\nexport interface VideoNotificationContent extends NotificationContentParent {\n /** Message notification type is video. */\n kind: \"video\";\n /** Optional text content. */\n caption?: string;\n /** A media url for the file. Required if the type is one of the supported media types, e.g. image */\n mediaUri: string;\n}\n\n/** A request to send an audio notification. */\nexport interface AudioNotificationContent extends NotificationContentParent {\n /** Message notification type is audio. */\n kind: \"audio\";\n /** A media url for the file. Required if the type is one of the supported media types, e.g. image */\n mediaUri: string;\n}\n\n/** A request to send a Reaction notification. */\nexport interface ReactionNotificationContent extends NotificationContentParent {\n /** Message notification type is reaction. */\n kind: \"reaction\";\n /** emoji content like \\uD83D\\uDE00. */\n emoji: string;\n /** ID of the previous message you want to reply to. */\n messageId: string;\n}\n\n/** A request to send a Sticker notification. */\nexport interface StickerNotificationContent extends NotificationContentParent {\n /** Message notification type is sticker. */\n kind: \"sticker\";\n /** A media url for the file. Required if the type is one of the supported media types, e.g. image */\n mediaUri: string;\n}\n\n/** A request to send an Interactive message notification. */\nexport interface InteractiveNotificationContent\n extends NotificationContentParent {\n /** Message notification type is Interactive. */\n kind: \"interactive\";\n /** The interactive message content. */\n interactiveMessage: InteractiveMessage;\n}\n\n/** The Interactive message content to which user can read and respond. */\nexport interface InteractiveMessage {\n /** Gets or Sets Header content. Supports the following types:text, images etc. */\n header?: MessageContent;\n /** Gets or Sets Message body content. Emojis, markdown, and links are supported. */\n body: TextMessageContent;\n /** Gets or Sets Message footer content. Emojis, markdown, and links are supported. */\n footer?: TextMessageContent;\n /** The binding object to get or set Action which describes options user have to respond to message. */\n action: ActionBindings;\n}\n\n/** The message content object used to create interactive messages components. */\nexport interface MessageContentParent {\n kind: MessageContentKind;\n}\n\n/** The message content of type text information. */\nexport interface TextMessageContent extends MessageContentParent {\n /** Message content kind is text. */\n kind: \"text\";\n /** The text value. */\n text: string;\n}\n\n/** The message content of type document information. */\nexport interface DocumentMessageContent extends MessageContentParent {\n /** Message content kind is document. */\n kind: \"document\";\n /** MediaUri of the media content. */\n mediaUri: string;\n}\n\n/** The message content of type image information. */\nexport interface ImageMessageContent extends MessageContentParent {\n /** Message content kind is image. */\n kind: \"image\";\n /** MediaUri of the media content. */\n mediaUri: string;\n}\n\n/** The message content of type video information. */\nexport interface VideoMessageContent extends MessageContentParent {\n /** Message content kind is video. */\n kind: \"video\";\n /** MediaUri of the media content. */\n mediaUri: string;\n}\n\n/** The message content of type ButtonSet/ List of buttons information. */\nexport interface ButtonSetContent extends MessageContentParent {\n /** Message content kind is Button. */\n kind: \"buttonSet\";\n /** Unique Id of the button content. */\n buttons: Array<ButtonContent>;\n}\n\n/** The message content of type Button information. */\nexport interface ButtonContent {\n /** Unique Id of the button content. */\n id: string;\n /** Title of the button content. */\n title: string;\n}\n\n/** The message content of type Url information. */\nexport interface LinkContent extends MessageContentParent {\n /** Message content kind is url. */\n kind: \"url\";\n /** Title of the url content. */\n title: string;\n /** The url in the content. */\n url: string;\n}\n\n/** The action content of type ActionGroup. */\nexport interface ActionGroupContent extends MessageContentParent {\n /** Message content kind is actionGroup. */\n kind: \"group\";\n /** Title of the actionGroup content. */\n title: string;\n /** Set or group of actions. */\n groups: Array<ActionGroup>;\n}\n\n/** The Action Group content. */\nexport interface ActionGroup {\n /** Title of the ActionGroup. */\n title: string;\n /** Array of items in ActionGroup. */\n items: Array<ActionGroupItem>;\n}\n\n/** The Action group item in the content. */\nexport interface ActionGroupItem {\n /** Id of the Item. */\n id: string;\n /** Title of the Item. */\n title: string;\n /** Description of the Item. */\n description: string;\n}\n\n/** Binding actions to the interactive message. */\nexport interface ActionBindingsParent {\n kind: MessageActionBindingKind;\n}\n\n/** WhatsApp List Binding actions to the interactive message. */\nexport interface WhatsAppListActionBindings extends ActionBindingsParent {\n /** Message action binding type is WhatsAppListAction. */\n kind: \"whatsAppListAction\";\n /** Action content of Interactive message. */\n content: ActionGroupContent;\n}\n\n/** WhatsApp Binding actions to the interactive message. */\nexport interface WhatsAppButtonActionBindings extends ActionBindingsParent {\n /** Message action binding type is WhatsAppButtonAction. */\n kind: \"whatsAppButtonAction\";\n /** Action content of Interactive message. */\n content: ButtonSetContent;\n}\n\n/** WhatsApp Binding actions to the interactive message. */\nexport interface WhatsAppUrlActionBindings extends ActionBindingsParent {\n /** Message action binding type is WhatsAppUrlAction. */\n kind: \"whatsAppUrlAction\";\n /** Action content of Interactive message. */\n content: LinkContent;\n}\n\n/** A request to send a template notification. */\nexport interface TemplateNotificationContent extends NotificationContentParent {\n /** Message notification type is template. */\n kind: \"template\";\n /** The template object used to create templates. */\n template: MessageTemplate;\n}\n\n/** The template object used to create templates. */\nexport interface MessageTemplate {\n /** Name of the template. */\n name: string;\n /** The template's language, in the ISO 639 format, consist of a two-letter language code followed by an optional two-letter country code, e.g., 'en' or 'en_US'. */\n language: string;\n /** The template values. */\n values?: Array<MessageTemplateValue>;\n /** The binding object to link values to the template specific locations */\n bindings?: MessageTemplateBindings;\n}\n\n/** The class describes a parameter of a template. */\nexport interface MessageTemplateValueParent {\n /** Template binding reference name */\n name: string;\n kind: MessageTemplateValueKind;\n}\n\n/** The message template's text value information. */\nexport interface MessageTemplateText extends MessageTemplateValueParent {\n /** Message parameter type is text. */\n kind: \"text\";\n /** The text value. */\n text: string;\n}\n\n/** The message template's image value information. */\nexport interface MessageTemplateImage extends MessageTemplateValueParent {\n /** Message parameter type is image. */\n kind: \"image\";\n /** The (public) URL of the media. */\n url: string;\n /** The [optional] caption of the media object. */\n caption?: string;\n /** The [optional] filename of the media file. */\n fileName?: string;\n}\n\n/** The message template's document value information. */\nexport interface MessageTemplateDocument extends MessageTemplateValueParent {\n /** Message parameter type is document. */\n kind: \"document\";\n /** The (public) URL of the media. */\n url: string;\n /** The [optional] caption of the media object. */\n caption?: string;\n /** The [optional] filename of the media file. */\n fileName?: string;\n}\n\n/** The message template's video value information. */\nexport interface MessageTemplateVideo extends MessageTemplateValueParent {\n /** Message parameter type is video. */\n kind: \"video\";\n /** The (public) URL of the media. */\n url: string;\n /** The [optional] caption of the media object. */\n caption?: string;\n /** The [optional] filename of the media file. */\n fileName?: string;\n}\n\n/** The message template's location value information. */\nexport interface MessageTemplateLocation extends MessageTemplateValueParent {\n /** Message parameter type is location. */\n kind: \"location\";\n /** The [Optional] name of the location. */\n locationName?: string;\n /** The [Optional] address of the location. */\n address?: string;\n /** The latitude of the location. */\n latitude: number;\n /** The longitude of the location. */\n longitude: number;\n}\n\n/** The message template's quick action value information. */\nexport interface MessageTemplateQuickAction extends MessageTemplateValueParent {\n /** Message parameter type is quick action. */\n kind: \"quickAction\";\n /** The [Optional] quick action text */\n text?: string;\n /** The [Optional] quick action payload */\n payload?: string;\n}\n\n/** The binding object to link values to the template specific locations */\nexport interface MessageTemplateBindingsParent {\n kind: MessageTemplateBindingsKind;\n}\n\n/** The template bindings for WhatsApp */\nexport interface WhatsAppMessageTemplateBindings\n extends MessageTemplateBindingsParent {\n /** MessageTemplateBindings is whatsApp */\n kind: \"whatsApp\";\n /** The header template bindings */\n header?: Array<WhatsAppMessageTemplateBindingsComponent>;\n /** The body template bindings */\n body?: Array<WhatsAppMessageTemplateBindingsComponent>;\n /** The footer template bindings */\n footer?: Array<WhatsAppMessageTemplateBindingsComponent>;\n /** The button template bindings */\n buttons?: Array<WhatsAppMessageTemplateBindingsButton>;\n}\n\n/** The template bindings component for WhatsApp */\nexport interface WhatsAppMessageTemplateBindingsComponent {\n /** The name of the referenced item in the template values. */\n refValue: string;\n}\n\n/** The template bindings component button for WhatsApp */\nexport interface WhatsAppMessageTemplateBindingsButton {\n /**\n * The WhatsApp button sub type\n *\n * Possible values: \"quickReply\", \"url\"\n */\n subType: WhatsAppMessageButtonSubType;\n /** The name of the referenced item in the template values. */\n refValue: string;\n}\n\n/** Request payload for adding participants to a conversation. */\nexport interface AddParticipantsOptions {\n /** List of participants to add. */\n participants: Array<ConversationParticipant>;\n}\n\n/** Advanced Messaging conversation participant. */\nexport interface ConversationParticipantParent {\n /** Participant display name. */\n displayName?: string;\n kind: ParticipantKind;\n}\n\n/** Internal conversation participant. */\nexport interface InternalConversationParticipant\n extends ConversationParticipantParent {\n /** Participant type is internal. */\n kind: \"internal\";\n /** The internal platform identifiers for the participant. */\n contact: Contact;\n}\n\n/** Details of an external platform contact. */\nexport interface ContactParent {\n /** External platform identifier. */\n id: string;\n kind: MessagePlatformKind;\n}\n\n/** Communication Contact. */\nexport interface CommunicationContact extends ContactParent {\n /** Contact type is communication. */\n kind: \"communication\";\n}\n\n/** Bot Contact. */\nexport interface BotContact extends ContactParent {\n /** Contact type is bot. */\n kind: \"bot\";\n /** Bot App Id of the Bot Contact. */\n botAppId: string;\n}\n\n/** WhatsApp Contact. */\nexport interface WhatsAppContact extends ContactParent {\n /** Contact type is whatsApp. */\n kind: \"whatsApp\";\n}\n\n/** External conversation participant. */\nexport interface ExternalConversationParticipant\n extends ConversationParticipantParent {\n /** Participant type is external. */\n kind: \"external\";\n /** List of external platform identifiers for the participant. */\n contacts: Array<Contact>;\n}\n\n/** Request payload for removing participants from a conversation. */\nexport interface RemoveParticipantsOptions {\n /** The participant IDs to remove. */\n participantIds: string[];\n}\n\n/** A conversation. */\nexport interface Conversation {\n /** The conversation topic. */\n topic?: string;\n /** List of delivery channel IDs. */\n deliveryChannelIds?: string[];\n /**\n * Outbound delivery strategy for the conversation.\n *\n * Possible values: \"internalOnly\", \"allParticipants\"\n */\n outboundDeliveryStrategy?: OutboundDeliveryStrategyKind;\n /** List of participants involved in the conversation. */\n participants?: Array<ConversationParticipant>;\n}\n\n/** Details of the conversation message content. */\nexport interface ConversationMessageContentParent {\n kind: CommunicationMessageKind;\n}\n\n/** A request to send a text conversation message. */\nexport interface TextConversationMessageContent\n extends ConversationMessageContentParent {\n /** Message notification type is text. */\n kind: \"text\";\n /** Message content. */\n content: string;\n}\n\n/** A request to send an image conversation message. */\nexport interface ImageConversationMessageContent\n extends ConversationMessageContentParent {\n /** Message notification type is image. */\n kind: \"image\";\n /** Optional text content. */\n caption?: string;\n /** A media url for the file. Required if the type is one of the supported media types, e.g. image */\n mediaUri: string;\n}\n\n/** A request to send a document conversation message. */\nexport interface DocumentConversationMessageContent\n extends ConversationMessageContentParent {\n /** Message notification type is document. */\n kind: \"document\";\n /** Optional text content. */\n caption?: string;\n /** Optional name for the file. */\n fileName?: string;\n /** A media url for the file. Required if the type is one of the supported media types, e.g. image */\n mediaUri: string;\n}\n\n/** A request to send a video conversation message. */\nexport interface VideoConversationMessageContent\n extends ConversationMessageContentParent {\n /** Message notification type is video. */\n kind: \"video\";\n /** Optional text content. */\n caption?: string;\n /** A media url for the file. Required if the type is one of the supported media types, e.g. image */\n mediaUri: string;\n}\n\n/** A request to send an audio conversation message. */\nexport interface AudioConversationMessageContent\n extends ConversationMessageContentParent {\n /** Message notification type is audio. */\n kind: \"audio\";\n /** A media url for the file. Required if the type is one of the supported media types, e.g. image */\n mediaUri: string;\n}\n\n/** A request to send a template conversation message. */\nexport interface TemplateConversationMessageContent\n extends ConversationMessageContentParent {\n /** Message notification type is template. */\n kind: \"template\";\n /** The template object used to create templates. */\n template: MessageTemplate;\n}\n\n/** Request payload for sending a conversation message. */\nexport interface SendConversationMessageOptions {\n /** Details of a send conversation message request. */\n request: ConversationMessageContent;\n /**\n * The options of the outbound delivery strategy for messages sent by participants in a conversation.\n * Supports internalOnly, allChannels.\n *\n * Possible values: \"internalOnly\", \"allParticipants\"\n */\n outboundDeliveryStrategy?: OutboundDeliveryStrategyKind;\n}\n\n/** Request payload for creating a conversation. */\nexport interface CreateConversationRequest {\n /** The conversation details. */\n conversation: Conversation;\n /** An initial message within the conversation. */\n initialMessage?: Message;\n}\n\n/** Details of a message. */\nexport interface Message {\n /** Content of the message. */\n content: string;\n}\n\n/** Details of the message to send. */\nexport type NotificationContent =\n | NotificationContentParent\n | TextNotificationContent\n | MediaNotificationContent\n | ImageNotificationContent\n | DocumentNotificationContent\n | VideoNotificationContent\n | AudioNotificationContent\n | ReactionNotificationContent\n | StickerNotificationContent\n | InteractiveNotificationContent\n | TemplateNotificationContent;\n/** The message content object used to create interactive messages components. */\nexport type MessageContent =\n | MessageContentParent\n | TextMessageContent\n | DocumentMessageContent\n | ImageMessageContent\n | VideoMessageContent\n | ButtonSetContent\n | LinkContent\n | ActionGroupContent;\n/** Binding actions to the interactive message. */\nexport type ActionBindings =\n | ActionBindingsParent\n | WhatsAppListActionBindings\n | WhatsAppButtonActionBindings\n | WhatsAppUrlActionBindings;\n/** The class describes a parameter of a template. */\nexport type MessageTemplateValue =\n | MessageTemplateValueParent\n | MessageTemplateText\n | MessageTemplateImage\n | MessageTemplateDocument\n | MessageTemplateVideo\n | MessageTemplateLocation\n | MessageTemplateQuickAction;\n/** The binding object to link values to the template specific locations */\nexport type MessageTemplateBindings =\n | MessageTemplateBindingsParent\n | WhatsAppMessageTemplateBindings;\n/** Advanced Messaging conversation participant. */\nexport type ConversationParticipant =\n | ConversationParticipantParent\n | InternalConversationParticipant\n | ExternalConversationParticipant;\n/** Details of an external platform contact. */\nexport type Contact =\n | ContactParent\n | CommunicationContact\n | BotContact\n | WhatsAppContact;\n/** Details of the conversation message content. */\nexport type ConversationMessageContent =\n | ConversationMessageContentParent\n | TextConversationMessageContent\n | ImageConversationMessageContent\n | DocumentConversationMessageContent\n | VideoConversationMessageContent\n | AudioConversationMessageContent\n | TemplateConversationMessageContent;\n/** Alias for CommunicationMessageKind */\nexport type CommunicationMessageKind = string;\n/** Alias for MessageContentKind */\nexport type MessageContentKind = string;\n/** Alias for MessageActionBindingKind */\nexport type MessageActionBindingKind = string;\n/** Alias for MessageTemplateValueKind */\nexport type MessageTemplateValueKind = string;\n/** Alias for MessageTemplateBindingsKind */\nexport type MessageTemplateBindingsKind = string;\n/** Alias for WhatsAppMessageButtonSubType */\nexport type WhatsAppMessageButtonSubType = string;\n/** Alias for ParticipantKind */\nexport type ParticipantKind = string;\n/** Alias for MessagePlatformKind */\nexport type MessagePlatformKind = string;\n/** Alias for OutboundDeliveryStrategyKind */\nexport type OutboundDeliveryStrategyKind = string;\n"]}
@@ -1,3 +1,116 @@
1
+ import type { ErrorModel } from "@azure-rest/core-client";
2
+ /** The template object used to create templates. */
3
+ export interface MessageTemplateOutput {
4
+ /** Name of the template. */
5
+ name: string;
6
+ /** The template's language, in the ISO 639 format, consist of a two-letter language code followed by an optional two-letter country code, e.g., 'en' or 'en_US'. */
7
+ language: string;
8
+ /** The template values. */
9
+ values?: Array<MessageTemplateValueOutput>;
10
+ /** The binding object to link values to the template specific locations */
11
+ bindings?: MessageTemplateBindingsOutput;
12
+ }
13
+ /** The class describes a parameter of a template. */
14
+ export interface MessageTemplateValueOutputParent {
15
+ /** Template binding reference name */
16
+ name: string;
17
+ kind: MessageTemplateValueKindOutput;
18
+ }
19
+ /** The message template's text value information. */
20
+ export interface MessageTemplateTextOutput extends MessageTemplateValueOutputParent {
21
+ /** Message parameter type is text. */
22
+ kind: "text";
23
+ /** The text value. */
24
+ text: string;
25
+ }
26
+ /** The message template's image value information. */
27
+ export interface MessageTemplateImageOutput extends MessageTemplateValueOutputParent {
28
+ /** Message parameter type is image. */
29
+ kind: "image";
30
+ /** The (public) URL of the media. */
31
+ url: string;
32
+ /** The [optional] caption of the media object. */
33
+ caption?: string;
34
+ /** The [optional] filename of the media file. */
35
+ fileName?: string;
36
+ }
37
+ /** The message template's document value information. */
38
+ export interface MessageTemplateDocumentOutput extends MessageTemplateValueOutputParent {
39
+ /** Message parameter type is document. */
40
+ kind: "document";
41
+ /** The (public) URL of the media. */
42
+ url: string;
43
+ /** The [optional] caption of the media object. */
44
+ caption?: string;
45
+ /** The [optional] filename of the media file. */
46
+ fileName?: string;
47
+ }
48
+ /** The message template's video value information. */
49
+ export interface MessageTemplateVideoOutput extends MessageTemplateValueOutputParent {
50
+ /** Message parameter type is video. */
51
+ kind: "video";
52
+ /** The (public) URL of the media. */
53
+ url: string;
54
+ /** The [optional] caption of the media object. */
55
+ caption?: string;
56
+ /** The [optional] filename of the media file. */
57
+ fileName?: string;
58
+ }
59
+ /** The message template's location value information. */
60
+ export interface MessageTemplateLocationOutput extends MessageTemplateValueOutputParent {
61
+ /** Message parameter type is location. */
62
+ kind: "location";
63
+ /** The [Optional] name of the location. */
64
+ locationName?: string;
65
+ /** The [Optional] address of the location. */
66
+ address?: string;
67
+ /** The latitude of the location. */
68
+ latitude: number;
69
+ /** The longitude of the location. */
70
+ longitude: number;
71
+ }
72
+ /** The message template's quick action value information. */
73
+ export interface MessageTemplateQuickActionOutput extends MessageTemplateValueOutputParent {
74
+ /** Message parameter type is quick action. */
75
+ kind: "quickAction";
76
+ /** The [Optional] quick action text */
77
+ text?: string;
78
+ /** The [Optional] quick action payload */
79
+ payload?: string;
80
+ }
81
+ /** The binding object to link values to the template specific locations */
82
+ export interface MessageTemplateBindingsOutputParent {
83
+ kind: MessageTemplateBindingsKindOutput;
84
+ }
85
+ /** The template bindings for WhatsApp */
86
+ export interface WhatsAppMessageTemplateBindingsOutput extends MessageTemplateBindingsOutputParent {
87
+ /** MessageTemplateBindings is whatsApp */
88
+ kind: "whatsApp";
89
+ /** The header template bindings */
90
+ header?: Array<WhatsAppMessageTemplateBindingsComponentOutput>;
91
+ /** The body template bindings */
92
+ body?: Array<WhatsAppMessageTemplateBindingsComponentOutput>;
93
+ /** The footer template bindings */
94
+ footer?: Array<WhatsAppMessageTemplateBindingsComponentOutput>;
95
+ /** The button template bindings */
96
+ buttons?: Array<WhatsAppMessageTemplateBindingsButtonOutput>;
97
+ }
98
+ /** The template bindings component for WhatsApp */
99
+ export interface WhatsAppMessageTemplateBindingsComponentOutput {
100
+ /** The name of the referenced item in the template values. */
101
+ refValue: string;
102
+ }
103
+ /** The template bindings component button for WhatsApp */
104
+ export interface WhatsAppMessageTemplateBindingsButtonOutput {
105
+ /**
106
+ * The WhatsApp button sub type
107
+ *
108
+ * Possible values: "quickReply", "url"
109
+ */
110
+ subType: WhatsAppMessageButtonSubTypeOutput;
111
+ /** The name of the referenced item in the template values. */
112
+ refValue: string;
113
+ }
1
114
  /** Result of the send message operation. */
2
115
  export interface SendMessageResultOutput {
3
116
  /** Receipts of the send message operation. */
@@ -38,12 +151,208 @@ export interface WhatsAppMessageTemplateItemOutput extends MessageTemplateItemOu
38
151
  /** Message template response type is whatsApp. */
39
152
  kind: "whatsApp";
40
153
  }
154
+ /** Advanced Messaging conversation participant. */
155
+ export interface ConversationParticipantOutputParent {
156
+ /** Participant Identifier. */
157
+ readonly id: string;
158
+ /** Participant display name. */
159
+ displayName?: string;
160
+ kind: ParticipantKindOutput;
161
+ }
162
+ /** Internal conversation participant. */
163
+ export interface InternalConversationParticipantOutput extends ConversationParticipantOutputParent {
164
+ /** Participant type is internal. */
165
+ kind: "internal";
166
+ /** The internal platform identifiers for the participant. */
167
+ contact: ContactOutput;
168
+ }
169
+ /** Details of an external platform contact. */
170
+ export interface ContactOutputParent {
171
+ /** External platform identifier. */
172
+ id: string;
173
+ kind: MessagePlatformKindOutput;
174
+ }
175
+ /** Communication Contact. */
176
+ export interface CommunicationContactOutput extends ContactOutputParent {
177
+ /** Contact type is communication. */
178
+ kind: "communication";
179
+ }
180
+ /** Bot Contact. */
181
+ export interface BotContactOutput extends ContactOutputParent {
182
+ /** Contact type is bot. */
183
+ kind: "bot";
184
+ /** Bot App Id of the Bot Contact. */
185
+ botAppId: string;
186
+ }
187
+ /** WhatsApp Contact. */
188
+ export interface WhatsAppContactOutput extends ContactOutputParent {
189
+ /** Contact type is whatsApp. */
190
+ kind: "whatsApp";
191
+ }
192
+ /** External conversation participant. */
193
+ export interface ExternalConversationParticipantOutput extends ConversationParticipantOutputParent {
194
+ /** Participant type is external. */
195
+ kind: "external";
196
+ /** List of external platform identifiers for the participant. */
197
+ contacts: Array<ContactOutput>;
198
+ }
199
+ /** Response for the add participants operation. */
200
+ export interface AddParticipantsResultOutput {
201
+ /** List of Ids with Errors if failed to be added */
202
+ invalidParticipants: Array<UpdateParticipantsResultOutput>;
203
+ }
204
+ /** Response for the remove participants operation. */
205
+ export interface UpdateParticipantsResultOutput {
206
+ /** Participant User Id. */
207
+ id: string;
208
+ /** Error of the participant operation. */
209
+ error?: ErrorModel;
210
+ }
211
+ /** Response for the remove participants operation. */
212
+ export interface RemoveParticipantsResultOutput {
213
+ /** List of Ids with Errors if failed to be added */
214
+ invalidParticipants: Array<UpdateParticipantsResultOutput>;
215
+ }
216
+ /** Paged collection of Conversation items */
217
+ export interface PagedConversationOutput {
218
+ /** The Conversation items on this page */
219
+ value: Array<ConversationOutput>;
220
+ /** The link to the next page of items */
221
+ nextLink?: string;
222
+ }
223
+ /** A conversation. */
224
+ export interface ConversationOutput {
225
+ /** The conversation ID. */
226
+ readonly id: string;
227
+ /** The conversation topic. */
228
+ topic?: string;
229
+ /** List of delivery channel IDs. */
230
+ deliveryChannelIds?: string[];
231
+ /**
232
+ * Outbound delivery strategy for the conversation.
233
+ *
234
+ * Possible values: "internalOnly", "allParticipants"
235
+ */
236
+ outboundDeliveryStrategy?: OutboundDeliveryStrategyKindOutput;
237
+ /** List of participants involved in the conversation. */
238
+ participants?: Array<ConversationParticipantOutput>;
239
+ }
240
+ /** Paged collection of ConversationMessageItem items */
241
+ export interface PagedConversationMessageItemOutput {
242
+ /** The ConversationMessageItem items on this page */
243
+ value: Array<ConversationMessageItemOutput>;
244
+ /** The link to the next page of items */
245
+ nextLink?: string;
246
+ }
247
+ /** The conversation message as returned from the service. */
248
+ export interface ConversationMessageItemOutput {
249
+ /** Message ID. */
250
+ readonly id: string;
251
+ /** Message sequence ID. */
252
+ sequenceId?: number;
253
+ /** Payload of a threaded conversation message. */
254
+ message: ConversationMessageContentOutput;
255
+ /** The display name of the message sender. */
256
+ senderDisplayName?: string;
257
+ /** The communication identifier of the message sender. */
258
+ senderCommunicationIdentifier: string;
259
+ /** Timestamp when the message is sent. */
260
+ createdOn: string;
261
+ }
262
+ /** Details of the conversation message content. */
263
+ export interface ConversationMessageContentOutputParent {
264
+ kind: CommunicationMessageKindOutput;
265
+ }
266
+ /** A request to send a text conversation message. */
267
+ export interface TextConversationMessageContentOutput extends ConversationMessageContentOutputParent {
268
+ /** Message notification type is text. */
269
+ kind: "text";
270
+ /** Message content. */
271
+ content: string;
272
+ }
273
+ /** A request to send an image conversation message. */
274
+ export interface ImageConversationMessageContentOutput extends ConversationMessageContentOutputParent {
275
+ /** Message notification type is image. */
276
+ kind: "image";
277
+ /** Optional text content. */
278
+ caption?: string;
279
+ /** A media url for the file. Required if the type is one of the supported media types, e.g. image */
280
+ mediaUri: string;
281
+ }
282
+ /** A request to send a document conversation message. */
283
+ export interface DocumentConversationMessageContentOutput extends ConversationMessageContentOutputParent {
284
+ /** Message notification type is document. */
285
+ kind: "document";
286
+ /** Optional text content. */
287
+ caption?: string;
288
+ /** Optional name for the file. */
289
+ fileName?: string;
290
+ /** A media url for the file. Required if the type is one of the supported media types, e.g. image */
291
+ mediaUri: string;
292
+ }
293
+ /** A request to send a video conversation message. */
294
+ export interface VideoConversationMessageContentOutput extends ConversationMessageContentOutputParent {
295
+ /** Message notification type is video. */
296
+ kind: "video";
297
+ /** Optional text content. */
298
+ caption?: string;
299
+ /** A media url for the file. Required if the type is one of the supported media types, e.g. image */
300
+ mediaUri: string;
301
+ }
302
+ /** A request to send an audio conversation message. */
303
+ export interface AudioConversationMessageContentOutput extends ConversationMessageContentOutputParent {
304
+ /** Message notification type is audio. */
305
+ kind: "audio";
306
+ /** A media url for the file. Required if the type is one of the supported media types, e.g. image */
307
+ mediaUri: string;
308
+ }
309
+ /** A request to send a template conversation message. */
310
+ export interface TemplateConversationMessageContentOutput extends ConversationMessageContentOutputParent {
311
+ /** Message notification type is template. */
312
+ kind: "template";
313
+ /** The template object used to create templates. */
314
+ template: MessageTemplateOutput;
315
+ }
316
+ /** Result of the send conversation message operation. */
317
+ export interface SendConversationMessageResultOutput {
318
+ /** A server-generated Advanced Messaging conversation message id. */
319
+ messageId: string;
320
+ }
321
+ /** Result of the get conversation messages AI Analysis operation. */
322
+ export interface GetConversationThreadAnalysisResultOutput {
323
+ /** The AI summary of the conversation messages. */
324
+ summary: string;
325
+ }
326
+ /** The class describes a parameter of a template. */
327
+ export type MessageTemplateValueOutput = MessageTemplateValueOutputParent | MessageTemplateTextOutput | MessageTemplateImageOutput | MessageTemplateDocumentOutput | MessageTemplateVideoOutput | MessageTemplateLocationOutput | MessageTemplateQuickActionOutput;
328
+ /** The binding object to link values to the template specific locations */
329
+ export type MessageTemplateBindingsOutput = MessageTemplateBindingsOutputParent | WhatsAppMessageTemplateBindingsOutput;
41
330
  /** The message template as returned from the service. */
42
331
  export type MessageTemplateItemOutput = MessageTemplateItemOutputParent | WhatsAppMessageTemplateItemOutput;
332
+ /** Advanced Messaging conversation participant. */
333
+ export type ConversationParticipantOutput = ConversationParticipantOutputParent | InternalConversationParticipantOutput | ExternalConversationParticipantOutput;
334
+ /** Details of an external platform contact. */
335
+ export type ContactOutput = ContactOutputParent | CommunicationContactOutput | BotContactOutput | WhatsAppContactOutput;
336
+ /** Details of the conversation message content. */
337
+ export type ConversationMessageContentOutput = ConversationMessageContentOutputParent | TextConversationMessageContentOutput | ImageConversationMessageContentOutput | DocumentConversationMessageContentOutput | VideoConversationMessageContentOutput | AudioConversationMessageContentOutput | TemplateConversationMessageContentOutput;
338
+ /** Alias for CommunicationMessageKindOutput */
339
+ export type CommunicationMessageKindOutput = string;
340
+ /** Alias for MessageTemplateValueKindOutput */
341
+ export type MessageTemplateValueKindOutput = string;
342
+ /** Alias for MessageTemplateBindingsKindOutput */
343
+ export type MessageTemplateBindingsKindOutput = string;
344
+ /** Alias for WhatsAppMessageButtonSubTypeOutput */
345
+ export type WhatsAppMessageButtonSubTypeOutput = string;
43
346
  /** Alias for RepeatabilityResultOutput */
44
347
  export type RepeatabilityResultOutput = "accepted" | "rejected";
45
348
  /** Alias for MessageTemplateStatusOutput */
46
349
  export type MessageTemplateStatusOutput = string;
47
350
  /** Alias for CommunicationMessagesChannelOutput */
48
351
  export type CommunicationMessagesChannelOutput = string;
352
+ /** Alias for ParticipantKindOutput */
353
+ export type ParticipantKindOutput = string;
354
+ /** Alias for MessagePlatformKindOutput */
355
+ export type MessagePlatformKindOutput = string;
356
+ /** Alias for OutboundDeliveryStrategyKindOutput */
357
+ export type OutboundDeliveryStrategyKindOutput = string;
49
358
  //# sourceMappingURL=outputModels.d.ts.map