@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.
- package/CHANGELOG.md +2 -6
- package/dist/browser/conversationEventListener.d.ts +19 -0
- package/dist/browser/conversationEventListener.d.ts.map +1 -0
- package/dist/browser/conversationEventListener.js +93 -0
- package/dist/browser/conversationEventListener.js.map +1 -0
- package/dist/browser/generated/src/clientDefinitions.d.ts +54 -2
- package/dist/browser/generated/src/clientDefinitions.d.ts.map +1 -1
- package/dist/browser/generated/src/clientDefinitions.js.map +1 -1
- package/dist/browser/generated/src/isUnexpected.d.ts +11 -1
- package/dist/browser/generated/src/isUnexpected.d.ts.map +1 -1
- package/dist/browser/generated/src/isUnexpected.js +10 -0
- package/dist/browser/generated/src/isUnexpected.js.map +1 -1
- package/dist/browser/generated/src/messagesServiceClient.d.ts.map +1 -1
- package/dist/browser/generated/src/messagesServiceClient.js +12 -2
- package/dist/browser/generated/src/messagesServiceClient.js.map +1 -1
- package/dist/browser/generated/src/models.d.ts +160 -2
- package/dist/browser/generated/src/models.d.ts.map +1 -1
- package/dist/browser/generated/src/models.js.map +1 -1
- package/dist/browser/generated/src/outputModels.d.ts +309 -0
- package/dist/browser/generated/src/outputModels.d.ts.map +1 -1
- package/dist/browser/generated/src/outputModels.js.map +1 -1
- package/dist/browser/generated/src/parameters.d.ts +134 -2
- package/dist/browser/generated/src/parameters.d.ts.map +1 -1
- package/dist/browser/generated/src/parameters.js.map +1 -1
- package/dist/browser/generated/src/responses.d.ts +196 -1
- package/dist/browser/generated/src/responses.d.ts.map +1 -1
- package/dist/browser/generated/src/responses.js.map +1 -1
- package/dist/browser/index.d.ts +2 -0
- package/dist/browser/index.d.ts.map +1 -1
- package/dist/browser/index.js +2 -0
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/messagesServiceClient.js +4 -2
- package/dist/browser/messagesServiceClient.js.map +1 -1
- package/dist/browser/signaling/events.d.ts +4 -0
- package/dist/browser/signaling/events.d.ts.map +1 -0
- package/dist/browser/signaling/events.js +4 -0
- package/dist/browser/signaling/events.js.map +1 -0
- package/dist/browser/signaling/signalingClient-browser.d.mts.map +1 -0
- package/dist/browser/signaling/signalingClient-browser.mjs.map +1 -0
- package/dist/browser/signaling/signalingClient.d.ts +6 -0
- package/dist/browser/signaling/signalingClient.js +13 -0
- package/dist/browser/signaling/signalingClientOptions.d.ts +6 -0
- package/dist/browser/signaling/signalingClientOptions.d.ts.map +1 -0
- package/dist/browser/signaling/signalingClientOptions.js +2 -0
- package/dist/browser/signaling/signalingClientOptions.js.map +1 -0
- package/dist/commonjs/conversationEventListener.d.ts +19 -0
- package/dist/commonjs/conversationEventListener.d.ts.map +1 -0
- package/dist/commonjs/conversationEventListener.js +96 -0
- package/dist/commonjs/conversationEventListener.js.map +1 -0
- package/dist/commonjs/generated/src/clientDefinitions.d.ts +54 -2
- package/dist/commonjs/generated/src/clientDefinitions.d.ts.map +1 -1
- package/dist/commonjs/generated/src/clientDefinitions.js.map +1 -1
- package/dist/commonjs/generated/src/isUnexpected.d.ts +11 -1
- package/dist/commonjs/generated/src/isUnexpected.d.ts.map +1 -1
- package/dist/commonjs/generated/src/isUnexpected.js +10 -0
- package/dist/commonjs/generated/src/isUnexpected.js.map +1 -1
- package/dist/commonjs/generated/src/messagesServiceClient.d.ts.map +1 -1
- package/dist/commonjs/generated/src/messagesServiceClient.js +12 -2
- package/dist/commonjs/generated/src/messagesServiceClient.js.map +1 -1
- package/dist/commonjs/generated/src/models.d.ts +160 -2
- package/dist/commonjs/generated/src/models.d.ts.map +1 -1
- package/dist/commonjs/generated/src/models.js.map +1 -1
- package/dist/commonjs/generated/src/outputModels.d.ts +309 -0
- package/dist/commonjs/generated/src/outputModels.d.ts.map +1 -1
- package/dist/commonjs/generated/src/outputModels.js.map +1 -1
- package/dist/commonjs/generated/src/parameters.d.ts +134 -2
- package/dist/commonjs/generated/src/parameters.d.ts.map +1 -1
- package/dist/commonjs/generated/src/parameters.js.map +1 -1
- package/dist/commonjs/generated/src/responses.d.ts +196 -1
- package/dist/commonjs/generated/src/responses.d.ts.map +1 -1
- package/dist/commonjs/generated/src/responses.js.map +1 -1
- package/dist/commonjs/index.d.ts +2 -0
- package/dist/commonjs/index.d.ts.map +1 -1
- package/dist/commonjs/index.js +2 -0
- package/dist/commonjs/index.js.map +1 -1
- package/dist/commonjs/messagesServiceClient.js +4 -2
- package/dist/commonjs/messagesServiceClient.js.map +1 -1
- package/dist/commonjs/signaling/events.d.ts +4 -0
- package/dist/commonjs/signaling/events.d.ts.map +1 -0
- package/dist/commonjs/signaling/events.js +5 -0
- package/dist/commonjs/signaling/events.js.map +1 -0
- package/dist/commonjs/signaling/signalingClient.d.ts +6 -0
- package/dist/commonjs/signaling/signalingClient.d.ts.map +1 -0
- package/dist/commonjs/signaling/signalingClient.js +11 -0
- package/dist/commonjs/signaling/signalingClient.js.map +1 -0
- package/dist/commonjs/signaling/signalingClientOptions.d.ts +6 -0
- package/dist/commonjs/signaling/signalingClientOptions.d.ts.map +1 -0
- package/dist/commonjs/signaling/signalingClientOptions.js +3 -0
- package/dist/commonjs/signaling/signalingClientOptions.js.map +1 -0
- package/dist/esm/conversationEventListener.d.ts +19 -0
- package/dist/esm/conversationEventListener.d.ts.map +1 -0
- package/dist/esm/conversationEventListener.js +93 -0
- package/dist/esm/conversationEventListener.js.map +1 -0
- package/dist/esm/generated/src/clientDefinitions.d.ts +54 -2
- package/dist/esm/generated/src/clientDefinitions.d.ts.map +1 -1
- package/dist/esm/generated/src/clientDefinitions.js.map +1 -1
- package/dist/esm/generated/src/isUnexpected.d.ts +11 -1
- package/dist/esm/generated/src/isUnexpected.d.ts.map +1 -1
- package/dist/esm/generated/src/isUnexpected.js +10 -0
- package/dist/esm/generated/src/isUnexpected.js.map +1 -1
- package/dist/esm/generated/src/messagesServiceClient.d.ts.map +1 -1
- package/dist/esm/generated/src/messagesServiceClient.js +12 -2
- package/dist/esm/generated/src/messagesServiceClient.js.map +1 -1
- package/dist/esm/generated/src/models.d.ts +160 -2
- package/dist/esm/generated/src/models.d.ts.map +1 -1
- package/dist/esm/generated/src/models.js.map +1 -1
- package/dist/esm/generated/src/outputModels.d.ts +309 -0
- package/dist/esm/generated/src/outputModels.d.ts.map +1 -1
- package/dist/esm/generated/src/outputModels.js.map +1 -1
- package/dist/esm/generated/src/parameters.d.ts +134 -2
- package/dist/esm/generated/src/parameters.d.ts.map +1 -1
- package/dist/esm/generated/src/parameters.js.map +1 -1
- package/dist/esm/generated/src/responses.d.ts +196 -1
- package/dist/esm/generated/src/responses.d.ts.map +1 -1
- package/dist/esm/generated/src/responses.js.map +1 -1
- package/dist/esm/index.d.ts +2 -0
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +2 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/messagesServiceClient.js +4 -2
- package/dist/esm/messagesServiceClient.js.map +1 -1
- package/dist/esm/signaling/events.d.ts +4 -0
- package/dist/esm/signaling/events.d.ts.map +1 -0
- package/dist/esm/signaling/events.js +4 -0
- package/dist/esm/signaling/events.js.map +1 -0
- package/dist/esm/signaling/signalingClient.d.ts +6 -0
- package/dist/esm/signaling/signalingClient.d.ts.map +1 -0
- package/dist/esm/signaling/signalingClient.js +7 -0
- package/dist/esm/signaling/signalingClient.js.map +1 -0
- package/dist/esm/signaling/signalingClientOptions.d.ts +6 -0
- package/dist/esm/signaling/signalingClientOptions.d.ts.map +1 -0
- package/dist/esm/signaling/signalingClientOptions.js +2 -0
- package/dist/esm/signaling/signalingClientOptions.js.map +1 -0
- package/dist/react-native/conversationEventListener.d.ts +19 -0
- package/dist/react-native/conversationEventListener.d.ts.map +1 -0
- package/dist/react-native/conversationEventListener.js +93 -0
- package/dist/react-native/conversationEventListener.js.map +1 -0
- package/dist/react-native/generated/src/clientDefinitions.d.ts +54 -2
- package/dist/react-native/generated/src/clientDefinitions.d.ts.map +1 -1
- package/dist/react-native/generated/src/clientDefinitions.js.map +1 -1
- package/dist/react-native/generated/src/isUnexpected.d.ts +11 -1
- package/dist/react-native/generated/src/isUnexpected.d.ts.map +1 -1
- package/dist/react-native/generated/src/isUnexpected.js +10 -0
- package/dist/react-native/generated/src/isUnexpected.js.map +1 -1
- package/dist/react-native/generated/src/messagesServiceClient.d.ts.map +1 -1
- package/dist/react-native/generated/src/messagesServiceClient.js +12 -2
- package/dist/react-native/generated/src/messagesServiceClient.js.map +1 -1
- package/dist/react-native/generated/src/models.d.ts +160 -2
- package/dist/react-native/generated/src/models.d.ts.map +1 -1
- package/dist/react-native/generated/src/models.js.map +1 -1
- package/dist/react-native/generated/src/outputModels.d.ts +309 -0
- package/dist/react-native/generated/src/outputModels.d.ts.map +1 -1
- package/dist/react-native/generated/src/outputModels.js.map +1 -1
- package/dist/react-native/generated/src/parameters.d.ts +134 -2
- package/dist/react-native/generated/src/parameters.d.ts.map +1 -1
- package/dist/react-native/generated/src/parameters.js.map +1 -1
- package/dist/react-native/generated/src/responses.d.ts +196 -1
- package/dist/react-native/generated/src/responses.d.ts.map +1 -1
- package/dist/react-native/generated/src/responses.js.map +1 -1
- package/dist/react-native/index.d.ts +2 -0
- package/dist/react-native/index.d.ts.map +1 -1
- package/dist/react-native/index.js +2 -0
- package/dist/react-native/index.js.map +1 -1
- package/dist/react-native/messagesServiceClient.js +4 -2
- package/dist/react-native/messagesServiceClient.js.map +1 -1
- package/dist/react-native/signaling/events.d.ts +4 -0
- package/dist/react-native/signaling/events.d.ts.map +1 -0
- package/dist/react-native/signaling/events.js +4 -0
- package/dist/react-native/signaling/events.js.map +1 -0
- package/dist/react-native/signaling/signalingClient-react-native.d.mts.map +1 -0
- package/dist/react-native/signaling/signalingClient-react-native.mjs.map +1 -0
- package/dist/react-native/signaling/signalingClient.d.ts +6 -0
- package/dist/react-native/signaling/signalingClient.js +13 -0
- package/dist/react-native/signaling/signalingClientOptions.d.ts +6 -0
- package/dist/react-native/signaling/signalingClientOptions.d.ts.map +1 -0
- package/dist/react-native/signaling/signalingClientOptions.js +2 -0
- package/dist/react-native/signaling/signalingClientOptions.js.map +1 -0
- package/package.json +9 -9
- package/review/communication-messages.api.md +1024 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"outputModels.d.ts","sourceRoot":"","sources":["../../../../src/generated/src/outputModels.ts"],"names":[],"mappings":"AAGA,4CAA4C;AAC5C,MAAM,WAAW,uBAAuB;IACtC,8CAA8C;IAC9C,QAAQ,EAAE,KAAK,CAAC,oBAAoB,CAAC,CAAC;CACvC;AAED,0CAA0C;AAC1C,MAAM,WAAW,oBAAoB;IACnC,sBAAsB;IACtB,SAAS,EAAE,MAAM,CAAC;IAClB,qEAAqE;IACrE,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,oDAAoD;AACpD,MAAM,WAAW,8BAA8B;IAC7C,iDAAiD;IACjD,KAAK,EAAE,KAAK,CAAC,yBAAyB,CAAC,CAAC;IACxC,yCAAyC;IACzC,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,yDAAyD;AACzD,MAAM,WAAW,+BAA+B;IAC9C,2BAA2B;IAC3B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,oKAAoK;IACpK,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,MAAM,EAAE,2BAA2B,CAAC;IACpC,IAAI,EAAE,kCAAkC,CAAC;CAC1C;AAED,uDAAuD;AACvD,MAAM,WAAW,iCACf,SAAQ,+BAA+B;IACvC,4FAA4F;IAC5F,OAAO,CAAC,EAAE,GAAG,CAAC;IACd,kDAAkD;IAClD,IAAI,EAAE,UAAU,CAAC;CAClB;AAED,yDAAyD;AACzD,MAAM,MAAM,yBAAyB,GACjC,+BAA+B,GAC/B,iCAAiC,CAAC;AACtC,0CAA0C;AAC1C,MAAM,MAAM,yBAAyB,GAAG,UAAU,GAAG,UAAU,CAAC;AAChE,4CAA4C;AAC5C,MAAM,MAAM,2BAA2B,GAAG,MAAM,CAAC;AACjD,mDAAmD;AACnD,MAAM,MAAM,kCAAkC,GAAG,MAAM,CAAC"}
|
|
1
|
+
{"version":3,"file":"outputModels.d.ts","sourceRoot":"","sources":["../../../../src/generated/src/outputModels.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAE1D,oDAAoD;AACpD,MAAM,WAAW,qBAAqB;IACpC,4BAA4B;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,oKAAoK;IACpK,QAAQ,EAAE,MAAM,CAAC;IACjB,2BAA2B;IAC3B,MAAM,CAAC,EAAE,KAAK,CAAC,0BAA0B,CAAC,CAAC;IAC3C,2EAA2E;IAC3E,QAAQ,CAAC,EAAE,6BAA6B,CAAC;CAC1C;AAED,qDAAqD;AACrD,MAAM,WAAW,gCAAgC;IAC/C,sCAAsC;IACtC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,8BAA8B,CAAC;CACtC;AAED,qDAAqD;AACrD,MAAM,WAAW,yBACf,SAAQ,gCAAgC;IACxC,sCAAsC;IACtC,IAAI,EAAE,MAAM,CAAC;IACb,sBAAsB;IACtB,IAAI,EAAE,MAAM,CAAC;CACd;AAED,sDAAsD;AACtD,MAAM,WAAW,0BACf,SAAQ,gCAAgC;IACxC,uCAAuC;IACvC,IAAI,EAAE,OAAO,CAAC;IACd,qCAAqC;IACrC,GAAG,EAAE,MAAM,CAAC;IACZ,kDAAkD;IAClD,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,iDAAiD;IACjD,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,yDAAyD;AACzD,MAAM,WAAW,6BACf,SAAQ,gCAAgC;IACxC,0CAA0C;IAC1C,IAAI,EAAE,UAAU,CAAC;IACjB,qCAAqC;IACrC,GAAG,EAAE,MAAM,CAAC;IACZ,kDAAkD;IAClD,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,iDAAiD;IACjD,QAAQ,CAAC,E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../../../../src/generated/src/outputModels.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n/** Result of the send message operation. */\nexport interface SendMessageResultOutput {\n /** Receipts of the send message operation. */\n receipts: Array<MessageReceiptOutput>;\n}\n\n/** Receipt of the sending one message. */\nexport interface MessageReceiptOutput {\n /** The message id. */\n messageId: string;\n /** The native external platform user identifier of the recipient. */\n to: string;\n}\n\n/** Paged collection of MessageTemplateItem items */\nexport interface PagedMessageTemplateItemOutput {\n /** The MessageTemplateItem items on this page */\n value: Array<MessageTemplateItemOutput>;\n /** The link to the next page of items */\n nextLink?: string;\n}\n\n/** The message template as returned from the service. */\nexport interface MessageTemplateItemOutputParent {\n /** The template's name. */\n readonly 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 /**\n * The aggregated template status.\n *\n * Possible values: \"approved\", \"rejected\", \"pending\", \"paused\"\n */\n status: MessageTemplateStatusOutput;\n kind: CommunicationMessagesChannelOutput;\n}\n\n/** The WhatsApp-specific template response contract */\nexport interface WhatsAppMessageTemplateItemOutput\n extends MessageTemplateItemOutputParent {\n /** WhatsApp platform's template content. This is the payload returned from WhatsApp API. */\n content?: any;\n /** Message template response type is whatsApp. */\n kind: \"whatsApp\";\n}\n\n/** The message template as returned from the service. */\nexport type MessageTemplateItemOutput =\n | MessageTemplateItemOutputParent\n | WhatsAppMessageTemplateItemOutput;\n/** Alias for RepeatabilityResultOutput */\nexport type RepeatabilityResultOutput = \"accepted\" | \"rejected\";\n/** Alias for MessageTemplateStatusOutput */\nexport type MessageTemplateStatusOutput = string;\n/** Alias for CommunicationMessagesChannelOutput */\nexport type CommunicationMessagesChannelOutput = string;\n"]}
|
|
1
|
+
{"version":3,"file":"outputModels.js","sourceRoot":"","sources":["../../../../src/generated/src/outputModels.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { ErrorModel } from \"@azure-rest/core-client\";\n\n/** The template object used to create templates. */\nexport interface MessageTemplateOutput {\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<MessageTemplateValueOutput>;\n /** The binding object to link values to the template specific locations */\n bindings?: MessageTemplateBindingsOutput;\n}\n\n/** The class describes a parameter of a template. */\nexport interface MessageTemplateValueOutputParent {\n /** Template binding reference name */\n name: string;\n kind: MessageTemplateValueKindOutput;\n}\n\n/** The message template's text value information. */\nexport interface MessageTemplateTextOutput\n extends MessageTemplateValueOutputParent {\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 MessageTemplateImageOutput\n extends MessageTemplateValueOutputParent {\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 MessageTemplateDocumentOutput\n extends MessageTemplateValueOutputParent {\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 MessageTemplateVideoOutput\n extends MessageTemplateValueOutputParent {\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 MessageTemplateLocationOutput\n extends MessageTemplateValueOutputParent {\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 MessageTemplateQuickActionOutput\n extends MessageTemplateValueOutputParent {\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 MessageTemplateBindingsOutputParent {\n kind: MessageTemplateBindingsKindOutput;\n}\n\n/** The template bindings for WhatsApp */\nexport interface WhatsAppMessageTemplateBindingsOutput\n extends MessageTemplateBindingsOutputParent {\n /** MessageTemplateBindings is whatsApp */\n kind: \"whatsApp\";\n /** The header template bindings */\n header?: Array<WhatsAppMessageTemplateBindingsComponentOutput>;\n /** The body template bindings */\n body?: Array<WhatsAppMessageTemplateBindingsComponentOutput>;\n /** The footer template bindings */\n footer?: Array<WhatsAppMessageTemplateBindingsComponentOutput>;\n /** The button template bindings */\n buttons?: Array<WhatsAppMessageTemplateBindingsButtonOutput>;\n}\n\n/** The template bindings component for WhatsApp */\nexport interface WhatsAppMessageTemplateBindingsComponentOutput {\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 WhatsAppMessageTemplateBindingsButtonOutput {\n /**\n * The WhatsApp button sub type\n *\n * Possible values: \"quickReply\", \"url\"\n */\n subType: WhatsAppMessageButtonSubTypeOutput;\n /** The name of the referenced item in the template values. */\n refValue: string;\n}\n\n/** Result of the send message operation. */\nexport interface SendMessageResultOutput {\n /** Receipts of the send message operation. */\n receipts: Array<MessageReceiptOutput>;\n}\n\n/** Receipt of the sending one message. */\nexport interface MessageReceiptOutput {\n /** The message id. */\n messageId: string;\n /** The native external platform user identifier of the recipient. */\n to: string;\n}\n\n/** Paged collection of MessageTemplateItem items */\nexport interface PagedMessageTemplateItemOutput {\n /** The MessageTemplateItem items on this page */\n value: Array<MessageTemplateItemOutput>;\n /** The link to the next page of items */\n nextLink?: string;\n}\n\n/** The message template as returned from the service. */\nexport interface MessageTemplateItemOutputParent {\n /** The template's name. */\n readonly 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 /**\n * The aggregated template status.\n *\n * Possible values: \"approved\", \"rejected\", \"pending\", \"paused\"\n */\n status: MessageTemplateStatusOutput;\n kind: CommunicationMessagesChannelOutput;\n}\n\n/** The WhatsApp-specific template response contract */\nexport interface WhatsAppMessageTemplateItemOutput\n extends MessageTemplateItemOutputParent {\n /** WhatsApp platform's template content. This is the payload returned from WhatsApp API. */\n content?: any;\n /** Message template response type is whatsApp. */\n kind: \"whatsApp\";\n}\n\n/** Advanced Messaging conversation participant. */\nexport interface ConversationParticipantOutputParent {\n /** Participant Identifier. */\n readonly id: string;\n /** Participant display name. */\n displayName?: string;\n kind: ParticipantKindOutput;\n}\n\n/** Internal conversation participant. */\nexport interface InternalConversationParticipantOutput\n extends ConversationParticipantOutputParent {\n /** Participant type is internal. */\n kind: \"internal\";\n /** The internal platform identifiers for the participant. */\n contact: ContactOutput;\n}\n\n/** Details of an external platform contact. */\nexport interface ContactOutputParent {\n /** External platform identifier. */\n id: string;\n kind: MessagePlatformKindOutput;\n}\n\n/** Communication Contact. */\nexport interface CommunicationContactOutput extends ContactOutputParent {\n /** Contact type is communication. */\n kind: \"communication\";\n}\n\n/** Bot Contact. */\nexport interface BotContactOutput extends ContactOutputParent {\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 WhatsAppContactOutput extends ContactOutputParent {\n /** Contact type is whatsApp. */\n kind: \"whatsApp\";\n}\n\n/** External conversation participant. */\nexport interface ExternalConversationParticipantOutput\n extends ConversationParticipantOutputParent {\n /** Participant type is external. */\n kind: \"external\";\n /** List of external platform identifiers for the participant. */\n contacts: Array<ContactOutput>;\n}\n\n/** Response for the add participants operation. */\nexport interface AddParticipantsResultOutput {\n /** List of Ids with Errors if failed to be added */\n invalidParticipants: Array<UpdateParticipantsResultOutput>;\n}\n\n/** Response for the remove participants operation. */\nexport interface UpdateParticipantsResultOutput {\n /** Participant User Id. */\n id: string;\n /** Error of the participant operation. */\n error?: ErrorModel;\n}\n\n/** Response for the remove participants operation. */\nexport interface RemoveParticipantsResultOutput {\n /** List of Ids with Errors if failed to be added */\n invalidParticipants: Array<UpdateParticipantsResultOutput>;\n}\n\n/** Paged collection of Conversation items */\nexport interface PagedConversationOutput {\n /** The Conversation items on this page */\n value: Array<ConversationOutput>;\n /** The link to the next page of items */\n nextLink?: string;\n}\n\n/** A conversation. */\nexport interface ConversationOutput {\n /** The conversation ID. */\n readonly id: string;\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?: OutboundDeliveryStrategyKindOutput;\n /** List of participants involved in the conversation. */\n participants?: Array<ConversationParticipantOutput>;\n}\n\n/** Paged collection of ConversationMessageItem items */\nexport interface PagedConversationMessageItemOutput {\n /** The ConversationMessageItem items on this page */\n value: Array<ConversationMessageItemOutput>;\n /** The link to the next page of items */\n nextLink?: string;\n}\n\n/** The conversation message as returned from the service. */\nexport interface ConversationMessageItemOutput {\n /** Message ID. */\n readonly id: string;\n /** Message sequence ID. */\n sequenceId?: number;\n /** Payload of a threaded conversation message. */\n message: ConversationMessageContentOutput;\n /** The display name of the message sender. */\n senderDisplayName?: string;\n /** The communication identifier of the message sender. */\n senderCommunicationIdentifier: string;\n /** Timestamp when the message is sent. */\n createdOn: string;\n}\n\n/** Details of the conversation message content. */\nexport interface ConversationMessageContentOutputParent {\n kind: CommunicationMessageKindOutput;\n}\n\n/** A request to send a text conversation message. */\nexport interface TextConversationMessageContentOutput\n extends ConversationMessageContentOutputParent {\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 ImageConversationMessageContentOutput\n extends ConversationMessageContentOutputParent {\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 DocumentConversationMessageContentOutput\n extends ConversationMessageContentOutputParent {\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 VideoConversationMessageContentOutput\n extends ConversationMessageContentOutputParent {\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 AudioConversationMessageContentOutput\n extends ConversationMessageContentOutputParent {\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 TemplateConversationMessageContentOutput\n extends ConversationMessageContentOutputParent {\n /** Message notification type is template. */\n kind: \"template\";\n /** The template object used to create templates. */\n template: MessageTemplateOutput;\n}\n\n/** Result of the send conversation message operation. */\nexport interface SendConversationMessageResultOutput {\n /** A server-generated Advanced Messaging conversation message id. */\n messageId: string;\n}\n\n/** Result of the get conversation messages AI Analysis operation. */\nexport interface GetConversationThreadAnalysisResultOutput {\n /** The AI summary of the conversation messages. */\n summary: string;\n}\n\n/** The class describes a parameter of a template. */\nexport type MessageTemplateValueOutput =\n | MessageTemplateValueOutputParent\n | MessageTemplateTextOutput\n | MessageTemplateImageOutput\n | MessageTemplateDocumentOutput\n | MessageTemplateVideoOutput\n | MessageTemplateLocationOutput\n | MessageTemplateQuickActionOutput;\n/** The binding object to link values to the template specific locations */\nexport type MessageTemplateBindingsOutput =\n | MessageTemplateBindingsOutputParent\n | WhatsAppMessageTemplateBindingsOutput;\n/** The message template as returned from the service. */\nexport type MessageTemplateItemOutput =\n | MessageTemplateItemOutputParent\n | WhatsAppMessageTemplateItemOutput;\n/** Advanced Messaging conversation participant. */\nexport type ConversationParticipantOutput =\n | ConversationParticipantOutputParent\n | InternalConversationParticipantOutput\n | ExternalConversationParticipantOutput;\n/** Details of an external platform contact. */\nexport type ContactOutput =\n | ContactOutputParent\n | CommunicationContactOutput\n | BotContactOutput\n | WhatsAppContactOutput;\n/** Details of the conversation message content. */\nexport type ConversationMessageContentOutput =\n | ConversationMessageContentOutputParent\n | TextConversationMessageContentOutput\n | ImageConversationMessageContentOutput\n | DocumentConversationMessageContentOutput\n | VideoConversationMessageContentOutput\n | AudioConversationMessageContentOutput\n | TemplateConversationMessageContentOutput;\n/** Alias for CommunicationMessageKindOutput */\nexport type CommunicationMessageKindOutput = string;\n/** Alias for MessageTemplateValueKindOutput */\nexport type MessageTemplateValueKindOutput = string;\n/** Alias for MessageTemplateBindingsKindOutput */\nexport type MessageTemplateBindingsKindOutput = string;\n/** Alias for WhatsAppMessageButtonSubTypeOutput */\nexport type WhatsAppMessageButtonSubTypeOutput = string;\n/** Alias for RepeatabilityResultOutput */\nexport type RepeatabilityResultOutput = \"accepted\" | \"rejected\";\n/** Alias for MessageTemplateStatusOutput */\nexport type MessageTemplateStatusOutput = string;\n/** Alias for CommunicationMessagesChannelOutput */\nexport type CommunicationMessagesChannelOutput = string;\n/** Alias for ParticipantKindOutput */\nexport type ParticipantKindOutput = string;\n/** Alias for MessagePlatformKindOutput */\nexport type MessagePlatformKindOutput = string;\n/** Alias for OutboundDeliveryStrategyKindOutput */\nexport type OutboundDeliveryStrategyKindOutput = string;\n"]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { RawHttpHeadersInput } from "@azure/core-rest-pipeline";
|
|
2
2
|
import type { RequestParameters } from "@azure-rest/core-client";
|
|
3
|
-
import type { NotificationContent } from "./models.js";
|
|
3
|
+
import type { NotificationContent, AddParticipantsOptions, RemoveParticipantsOptions, SendConversationMessageOptions, CreateConversationRequest } from "./models.js";
|
|
4
4
|
export interface GetMediaHeaders {
|
|
5
5
|
/** An opaque, globally-unique, client-generated string identifier for the request. */
|
|
6
6
|
"x-ms-client-request-id"?: string;
|
|
@@ -31,7 +31,7 @@ export interface ListTemplatesHeaders {
|
|
|
31
31
|
}
|
|
32
32
|
export interface ListTemplatesQueryParamProperties {
|
|
33
33
|
/** Number of objects to return per page. */
|
|
34
|
-
|
|
34
|
+
maxPageSize?: number;
|
|
35
35
|
}
|
|
36
36
|
export interface ListTemplatesQueryParam {
|
|
37
37
|
queryParameters?: ListTemplatesQueryParamProperties;
|
|
@@ -40,4 +40,136 @@ export interface ListTemplatesHeaderParam {
|
|
|
40
40
|
headers?: RawHttpHeadersInput & ListTemplatesHeaders;
|
|
41
41
|
}
|
|
42
42
|
export type ListTemplatesParameters = ListTemplatesQueryParam & ListTemplatesHeaderParam & RequestParameters;
|
|
43
|
+
export interface AddParticipantsHeaders {
|
|
44
|
+
/** An opaque, globally-unique, client-generated string identifier for the request. */
|
|
45
|
+
"Repeatability-Request-ID"?: string;
|
|
46
|
+
/** Specifies the date and time at which the request was first created. */
|
|
47
|
+
"Repeatability-First-Sent"?: string;
|
|
48
|
+
/** An opaque, globally-unique, client-generated string identifier for the request. */
|
|
49
|
+
"x-ms-client-request-id"?: string;
|
|
50
|
+
}
|
|
51
|
+
export interface AddParticipantsBodyParam {
|
|
52
|
+
/** Details of the payload for adding participants to a conversation. */
|
|
53
|
+
body: AddParticipantsOptions;
|
|
54
|
+
}
|
|
55
|
+
export interface AddParticipantsHeaderParam {
|
|
56
|
+
headers?: RawHttpHeadersInput & AddParticipantsHeaders;
|
|
57
|
+
}
|
|
58
|
+
export type AddParticipantsParameters = AddParticipantsHeaderParam & AddParticipantsBodyParam & RequestParameters;
|
|
59
|
+
export interface RemoveParticipantsHeaders {
|
|
60
|
+
/** An opaque, globally-unique, client-generated string identifier for the request. */
|
|
61
|
+
"Repeatability-Request-ID"?: string;
|
|
62
|
+
/** Specifies the date and time at which the request was first created. */
|
|
63
|
+
"Repeatability-First-Sent"?: string;
|
|
64
|
+
/** An opaque, globally-unique, client-generated string identifier for the request. */
|
|
65
|
+
"x-ms-client-request-id"?: string;
|
|
66
|
+
}
|
|
67
|
+
export interface RemoveParticipantsBodyParam {
|
|
68
|
+
/** Details of the request body for removing participants from a conversation. */
|
|
69
|
+
body: RemoveParticipantsOptions;
|
|
70
|
+
}
|
|
71
|
+
export interface RemoveParticipantsHeaderParam {
|
|
72
|
+
headers?: RawHttpHeadersInput & RemoveParticipantsHeaders;
|
|
73
|
+
}
|
|
74
|
+
export type RemoveParticipantsParameters = RemoveParticipantsHeaderParam & RemoveParticipantsBodyParam & RequestParameters;
|
|
75
|
+
export interface ListConversationsHeaders {
|
|
76
|
+
/** An opaque, globally-unique, client-generated string identifier for the request. */
|
|
77
|
+
"x-ms-client-request-id"?: string;
|
|
78
|
+
}
|
|
79
|
+
export interface ListConversationsQueryParamProperties {
|
|
80
|
+
/** Number of objects to return per page. */
|
|
81
|
+
maxPageSize?: number;
|
|
82
|
+
/** The participant user ID */
|
|
83
|
+
participantId?: string;
|
|
84
|
+
/** The id of channel */
|
|
85
|
+
channelId?: string;
|
|
86
|
+
}
|
|
87
|
+
export interface ListConversationsQueryParam {
|
|
88
|
+
queryParameters?: ListConversationsQueryParamProperties;
|
|
89
|
+
}
|
|
90
|
+
export interface ListConversationsHeaderParam {
|
|
91
|
+
headers?: RawHttpHeadersInput & ListConversationsHeaders;
|
|
92
|
+
}
|
|
93
|
+
export type ListConversationsParameters = ListConversationsQueryParam & ListConversationsHeaderParam & RequestParameters;
|
|
94
|
+
export interface ListMessagesHeaders {
|
|
95
|
+
/** An opaque, globally-unique, client-generated string identifier for the request. */
|
|
96
|
+
"x-ms-client-request-id"?: string;
|
|
97
|
+
}
|
|
98
|
+
export interface ListMessagesQueryParamProperties {
|
|
99
|
+
/** Number of objects to return per page. */
|
|
100
|
+
maxPageSize?: number;
|
|
101
|
+
/** The participant user ID */
|
|
102
|
+
participantId?: string;
|
|
103
|
+
}
|
|
104
|
+
export interface ListMessagesQueryParam {
|
|
105
|
+
queryParameters?: ListMessagesQueryParamProperties;
|
|
106
|
+
}
|
|
107
|
+
export interface ListMessagesHeaderParam {
|
|
108
|
+
headers?: RawHttpHeadersInput & ListMessagesHeaders;
|
|
109
|
+
}
|
|
110
|
+
export type ListMessagesParameters = ListMessagesQueryParam & ListMessagesHeaderParam & RequestParameters;
|
|
111
|
+
export interface SendMessageHeaders {
|
|
112
|
+
/** An opaque, globally-unique, client-generated string identifier for the request. */
|
|
113
|
+
"Repeatability-Request-ID"?: string;
|
|
114
|
+
/** Specifies the date and time at which the request was first created. */
|
|
115
|
+
"Repeatability-First-Sent"?: string;
|
|
116
|
+
/** An opaque, globally-unique, client-generated string identifier for the request. */
|
|
117
|
+
"x-ms-client-request-id"?: string;
|
|
118
|
+
}
|
|
119
|
+
export interface SendMessageBodyParam {
|
|
120
|
+
/** Details of the conversation message to send. */
|
|
121
|
+
body: SendConversationMessageOptions;
|
|
122
|
+
}
|
|
123
|
+
export interface SendMessageHeaderParam {
|
|
124
|
+
headers?: RawHttpHeadersInput & SendMessageHeaders;
|
|
125
|
+
}
|
|
126
|
+
export type SendMessageParameters = SendMessageHeaderParam & SendMessageBodyParam & RequestParameters;
|
|
127
|
+
export interface AnalyzeConversationHeaders {
|
|
128
|
+
/** An opaque, globally-unique, client-generated string identifier for the request. */
|
|
129
|
+
"Repeatability-Request-ID"?: string;
|
|
130
|
+
/** Specifies the date and time at which the request was first created. */
|
|
131
|
+
"Repeatability-First-Sent"?: string;
|
|
132
|
+
/** An opaque, globally-unique, client-generated string identifier for the request. */
|
|
133
|
+
"x-ms-client-request-id"?: string;
|
|
134
|
+
}
|
|
135
|
+
export interface AnalyzeConversationHeaderParam {
|
|
136
|
+
headers?: RawHttpHeadersInput & AnalyzeConversationHeaders;
|
|
137
|
+
}
|
|
138
|
+
export type AnalyzeConversationParameters = AnalyzeConversationHeaderParam & RequestParameters;
|
|
139
|
+
export interface CreateConversationBodyParam {
|
|
140
|
+
body: CreateConversationRequest;
|
|
141
|
+
}
|
|
142
|
+
export type CreateConversationParameters = CreateConversationBodyParam & RequestParameters;
|
|
143
|
+
export interface GetConversationHeaders {
|
|
144
|
+
/** An opaque, globally-unique, client-generated string identifier for the request. */
|
|
145
|
+
"x-ms-client-request-id"?: string;
|
|
146
|
+
}
|
|
147
|
+
export interface GetConversationHeaderParam {
|
|
148
|
+
headers?: RawHttpHeadersInput & GetConversationHeaders;
|
|
149
|
+
}
|
|
150
|
+
export type GetConversationParameters = GetConversationHeaderParam & RequestParameters;
|
|
151
|
+
export interface DeleteConversationHeaders {
|
|
152
|
+
/** An opaque, globally-unique, client-generated string identifier for the request. */
|
|
153
|
+
"Repeatability-Request-ID"?: string;
|
|
154
|
+
/** Specifies the date and time at which the request was first created. */
|
|
155
|
+
"Repeatability-First-Sent"?: string;
|
|
156
|
+
/** An opaque, globally-unique, client-generated string identifier for the request. */
|
|
157
|
+
"x-ms-client-request-id"?: string;
|
|
158
|
+
}
|
|
159
|
+
export interface DeleteConversationHeaderParam {
|
|
160
|
+
headers?: RawHttpHeadersInput & DeleteConversationHeaders;
|
|
161
|
+
}
|
|
162
|
+
export type DeleteConversationParameters = DeleteConversationHeaderParam & RequestParameters;
|
|
163
|
+
export interface TerminateConversationHeaders {
|
|
164
|
+
/** An opaque, globally-unique, client-generated string identifier for the request. */
|
|
165
|
+
"Repeatability-Request-ID"?: string;
|
|
166
|
+
/** Specifies the date and time at which the request was first created. */
|
|
167
|
+
"Repeatability-First-Sent"?: string;
|
|
168
|
+
/** An opaque, globally-unique, client-generated string identifier for the request. */
|
|
169
|
+
"x-ms-client-request-id"?: string;
|
|
170
|
+
}
|
|
171
|
+
export interface TerminateConversationHeaderParam {
|
|
172
|
+
headers?: RawHttpHeadersInput & TerminateConversationHeaders;
|
|
173
|
+
}
|
|
174
|
+
export type TerminateConversationParameters = TerminateConversationHeaderParam & RequestParameters;
|
|
43
175
|
//# sourceMappingURL=parameters.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parameters.d.ts","sourceRoot":"","sources":["../../../../src/generated/src/parameters.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AACrE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AACjE,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"parameters.d.ts","sourceRoot":"","sources":["../../../../src/generated/src/parameters.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AACrE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AACjE,OAAO,KAAK,EACV,mBAAmB,EACnB,sBAAsB,EACtB,yBAAyB,EACzB,8BAA8B,EAC9B,yBAAyB,EAC1B,MAAM,aAAa,CAAC;AAErB,MAAM,WAAW,eAAe;IAC9B,sFAAsF;IACtF,wBAAwB,CAAC,EAAE,MAAM,CAAC;CACnC;AAED,MAAM,WAAW,mBAAmB;IAClC,OAAO,CAAC,EAAE,mBAAmB,GAAG,eAAe,CAAC;CACjD;AAED,MAAM,MAAM,kBAAkB,GAAG,mBAAmB,GAAG,iBAAiB,CAAC;AAEzE,MAAM,WAAW,WAAW;IAC1B,sFAAsF;IACtF,0BAA0B,CAAC,EAAE,MAAM,CAAC;IACpC,0EAA0E;IAC1E,0BAA0B,CAAC,EAAE,MAAM,CAAC;IACpC,sFAAsF;IACtF,wBAAwB,CAAC,EAAE,MAAM,CAAC;CACnC;AAED,MAAM,WAAW,aAAa;IAC5B,sCAAsC;IACtC,IAAI,EAAE,mBAAmB,CAAC;CAC3B;AAED,MAAM,WAAW,eAAe;IA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IAC5C,OAAO,CAAC,EAAE,mBAAmB,GAAG,yBAAyB,CAAC;CAC3D;AAED,MAAM,MAAM,4BAA4B,GAAG,6BAA6B,GACtE,iBAAiB,CAAC;AAEpB,MAAM,WAAW,4BAA4B;IAC3C,sFAAsF;IACtF,0BAA0B,CAAC,EAAE,MAAM,CAAC;IACpC,0EAA0E;IAC1E,0BAA0B,CAAC,EAAE,MAAM,CAAC;IACpC,sFAAsF;IACtF,wBAAwB,CAAC,EAAE,MAAM,CAAC;CACnC;AAED,MAAM,WAAW,gCAAgC;IAC/C,OAAO,CAAC,EAAE,mBAAmB,GAAG,4BAA4B,CAAC;CAC9D;AAED,MAAM,MAAM,+BAA+B,GAAG,gCAAgC,GAC5E,iBAAiB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../../src/generated/src/parameters.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { RawHttpHeadersInput } from \"@azure/core-rest-pipeline\";\nimport type { RequestParameters } from \"@azure-rest/core-client\";\nimport type {
|
|
1
|
+
{"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../../src/generated/src/parameters.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { RawHttpHeadersInput } from \"@azure/core-rest-pipeline\";\nimport type { RequestParameters } from \"@azure-rest/core-client\";\nimport type {\n NotificationContent,\n AddParticipantsOptions,\n RemoveParticipantsOptions,\n SendConversationMessageOptions,\n CreateConversationRequest,\n} from \"./models.js\";\n\nexport interface GetMediaHeaders {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\nexport interface GetMediaHeaderParam {\n headers?: RawHttpHeadersInput & GetMediaHeaders;\n}\n\nexport type GetMediaParameters = GetMediaHeaderParam & RequestParameters;\n\nexport interface SendHeaders {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"Repeatability-Request-ID\"?: string;\n /** Specifies the date and time at which the request was first created. */\n \"Repeatability-First-Sent\"?: string;\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\nexport interface SendBodyParam {\n /** Details of the message to send. */\n body: NotificationContent;\n}\n\nexport interface SendHeaderParam {\n headers?: RawHttpHeadersInput & SendHeaders;\n}\n\nexport type SendParameters = SendHeaderParam &\n SendBodyParam &\n RequestParameters;\n\nexport interface ListTemplatesHeaders {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\nexport interface ListTemplatesQueryParamProperties {\n /** Number of objects to return per page. */\n maxPageSize?: number;\n}\n\nexport interface ListTemplatesQueryParam {\n queryParameters?: ListTemplatesQueryParamProperties;\n}\n\nexport interface ListTemplatesHeaderParam {\n headers?: RawHttpHeadersInput & ListTemplatesHeaders;\n}\n\nexport type ListTemplatesParameters = ListTemplatesQueryParam &\n ListTemplatesHeaderParam &\n RequestParameters;\n\nexport interface AddParticipantsHeaders {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"Repeatability-Request-ID\"?: string;\n /** Specifies the date and time at which the request was first created. */\n \"Repeatability-First-Sent\"?: string;\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\nexport interface AddParticipantsBodyParam {\n /** Details of the payload for adding participants to a conversation. */\n body: AddParticipantsOptions;\n}\n\nexport interface AddParticipantsHeaderParam {\n headers?: RawHttpHeadersInput & AddParticipantsHeaders;\n}\n\nexport type AddParticipantsParameters = AddParticipantsHeaderParam &\n AddParticipantsBodyParam &\n RequestParameters;\n\nexport interface RemoveParticipantsHeaders {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"Repeatability-Request-ID\"?: string;\n /** Specifies the date and time at which the request was first created. */\n \"Repeatability-First-Sent\"?: string;\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\nexport interface RemoveParticipantsBodyParam {\n /** Details of the request body for removing participants from a conversation. */\n body: RemoveParticipantsOptions;\n}\n\nexport interface RemoveParticipantsHeaderParam {\n headers?: RawHttpHeadersInput & RemoveParticipantsHeaders;\n}\n\nexport type RemoveParticipantsParameters = RemoveParticipantsHeaderParam &\n RemoveParticipantsBodyParam &\n RequestParameters;\n\nexport interface ListConversationsHeaders {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\nexport interface ListConversationsQueryParamProperties {\n /** Number of objects to return per page. */\n maxPageSize?: number;\n /** The participant user ID */\n participantId?: string;\n /** The id of channel */\n channelId?: string;\n}\n\nexport interface ListConversationsQueryParam {\n queryParameters?: ListConversationsQueryParamProperties;\n}\n\nexport interface ListConversationsHeaderParam {\n headers?: RawHttpHeadersInput & ListConversationsHeaders;\n}\n\nexport type ListConversationsParameters = ListConversationsQueryParam &\n ListConversationsHeaderParam &\n RequestParameters;\n\nexport interface ListMessagesHeaders {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\nexport interface ListMessagesQueryParamProperties {\n /** Number of objects to return per page. */\n maxPageSize?: number;\n /** The participant user ID */\n participantId?: string;\n}\n\nexport interface ListMessagesQueryParam {\n queryParameters?: ListMessagesQueryParamProperties;\n}\n\nexport interface ListMessagesHeaderParam {\n headers?: RawHttpHeadersInput & ListMessagesHeaders;\n}\n\nexport type ListMessagesParameters = ListMessagesQueryParam &\n ListMessagesHeaderParam &\n RequestParameters;\n\nexport interface SendMessageHeaders {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"Repeatability-Request-ID\"?: string;\n /** Specifies the date and time at which the request was first created. */\n \"Repeatability-First-Sent\"?: string;\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\nexport interface SendMessageBodyParam {\n /** Details of the conversation message to send. */\n body: SendConversationMessageOptions;\n}\n\nexport interface SendMessageHeaderParam {\n headers?: RawHttpHeadersInput & SendMessageHeaders;\n}\n\nexport type SendMessageParameters = SendMessageHeaderParam &\n SendMessageBodyParam &\n RequestParameters;\n\nexport interface AnalyzeConversationHeaders {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"Repeatability-Request-ID\"?: string;\n /** Specifies the date and time at which the request was first created. */\n \"Repeatability-First-Sent\"?: string;\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\nexport interface AnalyzeConversationHeaderParam {\n headers?: RawHttpHeadersInput & AnalyzeConversationHeaders;\n}\n\nexport type AnalyzeConversationParameters = AnalyzeConversationHeaderParam &\n RequestParameters;\n\nexport interface CreateConversationBodyParam {\n body: CreateConversationRequest;\n}\n\nexport type CreateConversationParameters = CreateConversationBodyParam &\n RequestParameters;\n\nexport interface GetConversationHeaders {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\nexport interface GetConversationHeaderParam {\n headers?: RawHttpHeadersInput & GetConversationHeaders;\n}\n\nexport type GetConversationParameters = GetConversationHeaderParam &\n RequestParameters;\n\nexport interface DeleteConversationHeaders {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"Repeatability-Request-ID\"?: string;\n /** Specifies the date and time at which the request was first created. */\n \"Repeatability-First-Sent\"?: string;\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\nexport interface DeleteConversationHeaderParam {\n headers?: RawHttpHeadersInput & DeleteConversationHeaders;\n}\n\nexport type DeleteConversationParameters = DeleteConversationHeaderParam &\n RequestParameters;\n\nexport interface TerminateConversationHeaders {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"Repeatability-Request-ID\"?: string;\n /** Specifies the date and time at which the request was first created. */\n \"Repeatability-First-Sent\"?: string;\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\nexport interface TerminateConversationHeaderParam {\n headers?: RawHttpHeadersInput & TerminateConversationHeaders;\n}\n\nexport type TerminateConversationParameters = TerminateConversationHeaderParam &\n RequestParameters;\n"]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { RawHttpHeaders } from "@azure/core-rest-pipeline";
|
|
2
2
|
import type { HttpResponse, ErrorResponse } from "@azure-rest/core-client";
|
|
3
|
-
import type { RepeatabilityResultOutput, SendMessageResultOutput, PagedMessageTemplateItemOutput } from "./outputModels.js";
|
|
3
|
+
import type { RepeatabilityResultOutput, SendMessageResultOutput, PagedMessageTemplateItemOutput, AddParticipantsResultOutput, RemoveParticipantsResultOutput, PagedConversationOutput, PagedConversationMessageItemOutput, SendConversationMessageResultOutput, GetConversationThreadAnalysisResultOutput, ConversationOutput } from "./outputModels.js";
|
|
4
4
|
export interface GetMedia200Headers {
|
|
5
5
|
/** An opaque, globally-unique, client-generated string identifier for the request. */
|
|
6
6
|
"x-ms-client-request-id"?: string;
|
|
@@ -63,4 +63,199 @@ export interface ListTemplatesDefaultResponse extends HttpResponse {
|
|
|
63
63
|
body: ErrorResponse;
|
|
64
64
|
headers: RawHttpHeaders & ListTemplatesDefaultHeaders;
|
|
65
65
|
}
|
|
66
|
+
export interface AddParticipants207Headers {
|
|
67
|
+
/** Indicates whether the repeatable request was accepted or rejected. */
|
|
68
|
+
"repeatability-result"?: RepeatabilityResultOutput;
|
|
69
|
+
/** An opaque, globally-unique, client-generated string identifier for the request. */
|
|
70
|
+
"x-ms-client-request-id"?: string;
|
|
71
|
+
}
|
|
72
|
+
/** Successful */
|
|
73
|
+
export interface AddParticipants207Response extends HttpResponse {
|
|
74
|
+
status: "207";
|
|
75
|
+
body: AddParticipantsResultOutput;
|
|
76
|
+
headers: RawHttpHeaders & AddParticipants207Headers;
|
|
77
|
+
}
|
|
78
|
+
export interface AddParticipantsDefaultHeaders {
|
|
79
|
+
/** String error code indicating what went wrong. */
|
|
80
|
+
"x-ms-error-code"?: string;
|
|
81
|
+
}
|
|
82
|
+
export interface AddParticipantsDefaultResponse extends HttpResponse {
|
|
83
|
+
status: string;
|
|
84
|
+
body: ErrorResponse;
|
|
85
|
+
headers: RawHttpHeaders & AddParticipantsDefaultHeaders;
|
|
86
|
+
}
|
|
87
|
+
export interface RemoveParticipants207Headers {
|
|
88
|
+
/** Indicates whether the repeatable request was accepted or rejected. */
|
|
89
|
+
"repeatability-result"?: RepeatabilityResultOutput;
|
|
90
|
+
/** An opaque, globally-unique, client-generated string identifier for the request. */
|
|
91
|
+
"x-ms-client-request-id"?: string;
|
|
92
|
+
}
|
|
93
|
+
/** Successful */
|
|
94
|
+
export interface RemoveParticipants207Response extends HttpResponse {
|
|
95
|
+
status: "207";
|
|
96
|
+
body: RemoveParticipantsResultOutput;
|
|
97
|
+
headers: RawHttpHeaders & RemoveParticipants207Headers;
|
|
98
|
+
}
|
|
99
|
+
export interface RemoveParticipantsDefaultHeaders {
|
|
100
|
+
/** String error code indicating what went wrong. */
|
|
101
|
+
"x-ms-error-code"?: string;
|
|
102
|
+
}
|
|
103
|
+
export interface RemoveParticipantsDefaultResponse extends HttpResponse {
|
|
104
|
+
status: string;
|
|
105
|
+
body: ErrorResponse;
|
|
106
|
+
headers: RawHttpHeaders & RemoveParticipantsDefaultHeaders;
|
|
107
|
+
}
|
|
108
|
+
export interface ListConversations200Headers {
|
|
109
|
+
/** An opaque, globally-unique, client-generated string identifier for the request. */
|
|
110
|
+
"x-ms-client-request-id"?: string;
|
|
111
|
+
}
|
|
112
|
+
/** The request has succeeded. */
|
|
113
|
+
export interface ListConversations200Response extends HttpResponse {
|
|
114
|
+
status: "200";
|
|
115
|
+
body: PagedConversationOutput;
|
|
116
|
+
headers: RawHttpHeaders & ListConversations200Headers;
|
|
117
|
+
}
|
|
118
|
+
export interface ListConversationsDefaultHeaders {
|
|
119
|
+
/** String error code indicating what went wrong. */
|
|
120
|
+
"x-ms-error-code"?: string;
|
|
121
|
+
}
|
|
122
|
+
export interface ListConversationsDefaultResponse extends HttpResponse {
|
|
123
|
+
status: string;
|
|
124
|
+
body: ErrorResponse;
|
|
125
|
+
headers: RawHttpHeaders & ListConversationsDefaultHeaders;
|
|
126
|
+
}
|
|
127
|
+
export interface ListMessages200Headers {
|
|
128
|
+
/** An opaque, globally-unique, client-generated string identifier for the request. */
|
|
129
|
+
"x-ms-client-request-id"?: string;
|
|
130
|
+
}
|
|
131
|
+
/** The request has succeeded. */
|
|
132
|
+
export interface ListMessages200Response extends HttpResponse {
|
|
133
|
+
status: "200";
|
|
134
|
+
body: PagedConversationMessageItemOutput;
|
|
135
|
+
headers: RawHttpHeaders & ListMessages200Headers;
|
|
136
|
+
}
|
|
137
|
+
export interface ListMessagesDefaultHeaders {
|
|
138
|
+
/** String error code indicating what went wrong. */
|
|
139
|
+
"x-ms-error-code"?: string;
|
|
140
|
+
}
|
|
141
|
+
export interface ListMessagesDefaultResponse extends HttpResponse {
|
|
142
|
+
status: string;
|
|
143
|
+
body: ErrorResponse;
|
|
144
|
+
headers: RawHttpHeaders & ListMessagesDefaultHeaders;
|
|
145
|
+
}
|
|
146
|
+
export interface SendMessage200Headers {
|
|
147
|
+
/** Indicates whether the repeatable request was accepted or rejected. */
|
|
148
|
+
"repeatability-result"?: RepeatabilityResultOutput;
|
|
149
|
+
/** An opaque, globally-unique, client-generated string identifier for the request. */
|
|
150
|
+
"x-ms-client-request-id"?: string;
|
|
151
|
+
}
|
|
152
|
+
/** The request has succeeded. */
|
|
153
|
+
export interface SendMessage200Response extends HttpResponse {
|
|
154
|
+
status: "200";
|
|
155
|
+
body: SendConversationMessageResultOutput;
|
|
156
|
+
headers: RawHttpHeaders & SendMessage200Headers;
|
|
157
|
+
}
|
|
158
|
+
export interface SendMessageDefaultHeaders {
|
|
159
|
+
/** String error code indicating what went wrong. */
|
|
160
|
+
"x-ms-error-code"?: string;
|
|
161
|
+
}
|
|
162
|
+
export interface SendMessageDefaultResponse extends HttpResponse {
|
|
163
|
+
status: string;
|
|
164
|
+
body: ErrorResponse;
|
|
165
|
+
headers: RawHttpHeaders & SendMessageDefaultHeaders;
|
|
166
|
+
}
|
|
167
|
+
export interface AnalyzeConversation200Headers {
|
|
168
|
+
/** Indicates whether the repeatable request was accepted or rejected. */
|
|
169
|
+
"repeatability-result"?: RepeatabilityResultOutput;
|
|
170
|
+
/** An opaque, globally-unique, client-generated string identifier for the request. */
|
|
171
|
+
"x-ms-client-request-id"?: string;
|
|
172
|
+
}
|
|
173
|
+
/** The request has succeeded. */
|
|
174
|
+
export interface AnalyzeConversation200Response extends HttpResponse {
|
|
175
|
+
status: "200";
|
|
176
|
+
body: GetConversationThreadAnalysisResultOutput;
|
|
177
|
+
headers: RawHttpHeaders & AnalyzeConversation200Headers;
|
|
178
|
+
}
|
|
179
|
+
export interface AnalyzeConversationDefaultHeaders {
|
|
180
|
+
/** String error code indicating what went wrong. */
|
|
181
|
+
"x-ms-error-code"?: string;
|
|
182
|
+
}
|
|
183
|
+
export interface AnalyzeConversationDefaultResponse extends HttpResponse {
|
|
184
|
+
status: string;
|
|
185
|
+
body: ErrorResponse;
|
|
186
|
+
headers: RawHttpHeaders & AnalyzeConversationDefaultHeaders;
|
|
187
|
+
}
|
|
188
|
+
/** The request has succeeded and a new resource has been created as a result. */
|
|
189
|
+
export interface CreateConversation201Response extends HttpResponse {
|
|
190
|
+
status: "201";
|
|
191
|
+
body: ConversationOutput;
|
|
192
|
+
}
|
|
193
|
+
export interface CreateConversationDefaultHeaders {
|
|
194
|
+
/** String error code indicating what went wrong. */
|
|
195
|
+
"x-ms-error-code"?: string;
|
|
196
|
+
}
|
|
197
|
+
export interface CreateConversationDefaultResponse extends HttpResponse {
|
|
198
|
+
status: string;
|
|
199
|
+
body: ErrorResponse;
|
|
200
|
+
headers: RawHttpHeaders & CreateConversationDefaultHeaders;
|
|
201
|
+
}
|
|
202
|
+
export interface GetConversation200Headers {
|
|
203
|
+
/** An opaque, globally-unique, client-generated string identifier for the request. */
|
|
204
|
+
"x-ms-client-request-id"?: string;
|
|
205
|
+
}
|
|
206
|
+
/** The request has succeeded. */
|
|
207
|
+
export interface GetConversation200Response extends HttpResponse {
|
|
208
|
+
status: "200";
|
|
209
|
+
body: ConversationOutput;
|
|
210
|
+
headers: RawHttpHeaders & GetConversation200Headers;
|
|
211
|
+
}
|
|
212
|
+
export interface GetConversationDefaultHeaders {
|
|
213
|
+
/** String error code indicating what went wrong. */
|
|
214
|
+
"x-ms-error-code"?: string;
|
|
215
|
+
}
|
|
216
|
+
export interface GetConversationDefaultResponse extends HttpResponse {
|
|
217
|
+
status: string;
|
|
218
|
+
body: ErrorResponse;
|
|
219
|
+
headers: RawHttpHeaders & GetConversationDefaultHeaders;
|
|
220
|
+
}
|
|
221
|
+
export interface DeleteConversation204Headers {
|
|
222
|
+
/** Indicates whether the repeatable request was accepted or rejected. */
|
|
223
|
+
"repeatability-result"?: RepeatabilityResultOutput;
|
|
224
|
+
/** An opaque, globally-unique, client-generated string identifier for the request. */
|
|
225
|
+
"x-ms-client-request-id"?: string;
|
|
226
|
+
}
|
|
227
|
+
/** There is no content to send for this request, but the headers may be useful. */
|
|
228
|
+
export interface DeleteConversation204Response extends HttpResponse {
|
|
229
|
+
status: "204";
|
|
230
|
+
headers: RawHttpHeaders & DeleteConversation204Headers;
|
|
231
|
+
}
|
|
232
|
+
export interface DeleteConversationDefaultHeaders {
|
|
233
|
+
/** String error code indicating what went wrong. */
|
|
234
|
+
"x-ms-error-code"?: string;
|
|
235
|
+
}
|
|
236
|
+
export interface DeleteConversationDefaultResponse extends HttpResponse {
|
|
237
|
+
status: string;
|
|
238
|
+
body: ErrorResponse;
|
|
239
|
+
headers: RawHttpHeaders & DeleteConversationDefaultHeaders;
|
|
240
|
+
}
|
|
241
|
+
export interface TerminateConversation200Headers {
|
|
242
|
+
/** Indicates whether the repeatable request was accepted or rejected. */
|
|
243
|
+
"repeatability-result"?: RepeatabilityResultOutput;
|
|
244
|
+
/** An opaque, globally-unique, client-generated string identifier for the request. */
|
|
245
|
+
"x-ms-client-request-id"?: string;
|
|
246
|
+
}
|
|
247
|
+
/** The request has succeeded. */
|
|
248
|
+
export interface TerminateConversation200Response extends HttpResponse {
|
|
249
|
+
status: "200";
|
|
250
|
+
headers: RawHttpHeaders & TerminateConversation200Headers;
|
|
251
|
+
}
|
|
252
|
+
export interface TerminateConversationDefaultHeaders {
|
|
253
|
+
/** String error code indicating what went wrong. */
|
|
254
|
+
"x-ms-error-code"?: string;
|
|
255
|
+
}
|
|
256
|
+
export interface TerminateConversationDefaultResponse extends HttpResponse {
|
|
257
|
+
status: string;
|
|
258
|
+
body: ErrorResponse;
|
|
259
|
+
headers: RawHttpHeaders & TerminateConversationDefaultHeaders;
|
|
260
|
+
}
|
|
66
261
|
//# sourceMappingURL=responses.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/generated/src/responses.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAC3E,OAAO,KAAK,EACV,yBAAyB,EACzB,uBAAuB,EACvB,8BAA8B,
|
|
1
|
+
{"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/generated/src/responses.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAC3E,OAAO,KAAK,EACV,yBAAyB,EACzB,uBAAuB,EACvB,8BAA8B,EAC9B,2BAA2B,EAC3B,8BAA8B,EAC9B,uBAAuB,EACvB,kCAAkC,EAClC,mCAAmC,EACnC,yCAAyC,EACzC,kBAAkB,EACnB,MAAM,m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sFAAsF;IACtF,wBAAwB,CAAC,EAAE,MAAM,CAAC;CACnC;AAED,iCAAiC;AACjC,MAAM,WAAW,gCAAiC,SAAQ,YAAY;IACpE,MAAM,EAAE,KAAK,CAAC;IACd,OAAO,EAAE,cAAc,GAAG,+BAA+B,CAAC;CAC3D;AAED,MAAM,WAAW,mCAAmC;IAClD,oDAAoD;IACpD,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED,MAAM,WAAW,oCAAqC,SAAQ,YAAY;IACxE,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,aAAa,CAAC;IACpB,OAAO,EAAE,cAAc,GAAG,mCAAmC,CAAC;CAC/D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"responses.js","sourceRoot":"","sources":["../../../../src/generated/src/responses.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { RawHttpHeaders } from \"@azure/core-rest-pipeline\";\nimport type { HttpResponse, ErrorResponse } from \"@azure-rest/core-client\";\nimport type {\n RepeatabilityResultOutput,\n SendMessageResultOutput,\n PagedMessageTemplateItemOutput,\n} from \"./outputModels.js\";\n\nexport interface GetMedia200Headers {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n /** The stream content type. */\n \"content-type\": \"application/octet-stream\";\n}\n\n/** The request has succeeded. */\nexport interface GetMedia200Response extends HttpResponse {\n status: \"200\";\n /** Value may contain any sequence of octets */\n body: Uint8Array;\n headers: RawHttpHeaders & GetMedia200Headers;\n}\n\nexport interface GetMediaDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetMediaDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & GetMediaDefaultHeaders;\n}\n\nexport interface Send202Headers {\n /** Indicates whether the repeatable request was accepted or rejected. */\n \"repeatability-result\"?: RepeatabilityResultOutput;\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\n/** The request has been accepted for processing, but processing has not yet completed. */\nexport interface Send202Response extends HttpResponse {\n status: \"202\";\n body: SendMessageResultOutput;\n headers: RawHttpHeaders & Send202Headers;\n}\n\nexport interface SendDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface SendDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & SendDefaultHeaders;\n}\n\nexport interface ListTemplates200Headers {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\n/** The request has succeeded. */\nexport interface ListTemplates200Response extends HttpResponse {\n status: \"200\";\n body: PagedMessageTemplateItemOutput;\n headers: RawHttpHeaders & ListTemplates200Headers;\n}\n\nexport interface ListTemplatesDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface ListTemplatesDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & ListTemplatesDefaultHeaders;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"responses.js","sourceRoot":"","sources":["../../../../src/generated/src/responses.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { RawHttpHeaders } from \"@azure/core-rest-pipeline\";\nimport type { HttpResponse, ErrorResponse } from \"@azure-rest/core-client\";\nimport type {\n RepeatabilityResultOutput,\n SendMessageResultOutput,\n PagedMessageTemplateItemOutput,\n AddParticipantsResultOutput,\n RemoveParticipantsResultOutput,\n PagedConversationOutput,\n PagedConversationMessageItemOutput,\n SendConversationMessageResultOutput,\n GetConversationThreadAnalysisResultOutput,\n ConversationOutput,\n} from \"./outputModels.js\";\n\nexport interface GetMedia200Headers {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n /** The stream content type. */\n \"content-type\": \"application/octet-stream\";\n}\n\n/** The request has succeeded. */\nexport interface GetMedia200Response extends HttpResponse {\n status: \"200\";\n /** Value may contain any sequence of octets */\n body: Uint8Array;\n headers: RawHttpHeaders & GetMedia200Headers;\n}\n\nexport interface GetMediaDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetMediaDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & GetMediaDefaultHeaders;\n}\n\nexport interface Send202Headers {\n /** Indicates whether the repeatable request was accepted or rejected. */\n \"repeatability-result\"?: RepeatabilityResultOutput;\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\n/** The request has been accepted for processing, but processing has not yet completed. */\nexport interface Send202Response extends HttpResponse {\n status: \"202\";\n body: SendMessageResultOutput;\n headers: RawHttpHeaders & Send202Headers;\n}\n\nexport interface SendDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface SendDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & SendDefaultHeaders;\n}\n\nexport interface ListTemplates200Headers {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\n/** The request has succeeded. */\nexport interface ListTemplates200Response extends HttpResponse {\n status: \"200\";\n body: PagedMessageTemplateItemOutput;\n headers: RawHttpHeaders & ListTemplates200Headers;\n}\n\nexport interface ListTemplatesDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface ListTemplatesDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & ListTemplatesDefaultHeaders;\n}\n\nexport interface AddParticipants207Headers {\n /** Indicates whether the repeatable request was accepted or rejected. */\n \"repeatability-result\"?: RepeatabilityResultOutput;\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\n/** Successful */\nexport interface AddParticipants207Response extends HttpResponse {\n status: \"207\";\n body: AddParticipantsResultOutput;\n headers: RawHttpHeaders & AddParticipants207Headers;\n}\n\nexport interface AddParticipantsDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface AddParticipantsDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & AddParticipantsDefaultHeaders;\n}\n\nexport interface RemoveParticipants207Headers {\n /** Indicates whether the repeatable request was accepted or rejected. */\n \"repeatability-result\"?: RepeatabilityResultOutput;\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\n/** Successful */\nexport interface RemoveParticipants207Response extends HttpResponse {\n status: \"207\";\n body: RemoveParticipantsResultOutput;\n headers: RawHttpHeaders & RemoveParticipants207Headers;\n}\n\nexport interface RemoveParticipantsDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface RemoveParticipantsDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & RemoveParticipantsDefaultHeaders;\n}\n\nexport interface ListConversations200Headers {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\n/** The request has succeeded. */\nexport interface ListConversations200Response extends HttpResponse {\n status: \"200\";\n body: PagedConversationOutput;\n headers: RawHttpHeaders & ListConversations200Headers;\n}\n\nexport interface ListConversationsDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface ListConversationsDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & ListConversationsDefaultHeaders;\n}\n\nexport interface ListMessages200Headers {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\n/** The request has succeeded. */\nexport interface ListMessages200Response extends HttpResponse {\n status: \"200\";\n body: PagedConversationMessageItemOutput;\n headers: RawHttpHeaders & ListMessages200Headers;\n}\n\nexport interface ListMessagesDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface ListMessagesDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & ListMessagesDefaultHeaders;\n}\n\nexport interface SendMessage200Headers {\n /** Indicates whether the repeatable request was accepted or rejected. */\n \"repeatability-result\"?: RepeatabilityResultOutput;\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\n/** The request has succeeded. */\nexport interface SendMessage200Response extends HttpResponse {\n status: \"200\";\n body: SendConversationMessageResultOutput;\n headers: RawHttpHeaders & SendMessage200Headers;\n}\n\nexport interface SendMessageDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface SendMessageDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & SendMessageDefaultHeaders;\n}\n\nexport interface AnalyzeConversation200Headers {\n /** Indicates whether the repeatable request was accepted or rejected. */\n \"repeatability-result\"?: RepeatabilityResultOutput;\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\n/** The request has succeeded. */\nexport interface AnalyzeConversation200Response extends HttpResponse {\n status: \"200\";\n body: GetConversationThreadAnalysisResultOutput;\n headers: RawHttpHeaders & AnalyzeConversation200Headers;\n}\n\nexport interface AnalyzeConversationDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface AnalyzeConversationDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & AnalyzeConversationDefaultHeaders;\n}\n\n/** The request has succeeded and a new resource has been created as a result. */\nexport interface CreateConversation201Response extends HttpResponse {\n status: \"201\";\n body: ConversationOutput;\n}\n\nexport interface CreateConversationDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface CreateConversationDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & CreateConversationDefaultHeaders;\n}\n\nexport interface GetConversation200Headers {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\n/** The request has succeeded. */\nexport interface GetConversation200Response extends HttpResponse {\n status: \"200\";\n body: ConversationOutput;\n headers: RawHttpHeaders & GetConversation200Headers;\n}\n\nexport interface GetConversationDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetConversationDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & GetConversationDefaultHeaders;\n}\n\nexport interface DeleteConversation204Headers {\n /** Indicates whether the repeatable request was accepted or rejected. */\n \"repeatability-result\"?: RepeatabilityResultOutput;\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\n/** There is no content to send for this request, but the headers may be useful. */\nexport interface DeleteConversation204Response extends HttpResponse {\n status: \"204\";\n headers: RawHttpHeaders & DeleteConversation204Headers;\n}\n\nexport interface DeleteConversationDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface DeleteConversationDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & DeleteConversationDefaultHeaders;\n}\n\nexport interface TerminateConversation200Headers {\n /** Indicates whether the repeatable request was accepted or rejected. */\n \"repeatability-result\"?: RepeatabilityResultOutput;\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\n/** The request has succeeded. */\nexport interface TerminateConversation200Response extends HttpResponse {\n status: \"200\";\n headers: RawHttpHeaders & TerminateConversation200Headers;\n}\n\nexport interface TerminateConversationDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface TerminateConversationDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & TerminateConversationDefaultHeaders;\n}\n"]}
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import MessagesServiceClient from "./messagesServiceClient.js";
|
|
2
|
+
export * from "./conversationEventListener.js";
|
|
3
|
+
export * from "./signaling/events.js";
|
|
2
4
|
export * from "./generated/src/messagesServiceClient.js";
|
|
3
5
|
export * from "./generated/src/parameters.js";
|
|
4
6
|
export * from "./generated/src/responses.js";
|
package/dist/esm/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAGA,OAAO,qBAAqB,MAAM,4BAA4B,CAAC;AAC/D,cAAc,0CAA0C,CAAC;AACzD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,sCAAsC,CAAC;AACrD,cAAc,iCAAiC,CAAC;AAChD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,iCAAiC,CAAC;AAChD,cAAc,mCAAmC,CAAC;AAClD,eAAe,qBAAqB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAGA,OAAO,qBAAqB,MAAM,4BAA4B,CAAC;AAC/D,cAAc,gCAAgC,CAAC;AAC/C,cAAc,uBAAuB,CAAC;AACtC,cAAc,0CAA0C,CAAC;AACzD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,sCAAsC,CAAC;AACrD,cAAc,iCAAiC,CAAC;AAChD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,iCAAiC,CAAC;AAChD,cAAc,mCAAmC,CAAC;AAClD,eAAe,qBAAqB,CAAC"}
|
package/dist/esm/index.js
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
// Copyright (c) Microsoft Corporation.
|
|
2
2
|
// Licensed under the MIT License.
|
|
3
3
|
import MessagesServiceClient from "./messagesServiceClient.js";
|
|
4
|
+
export * from "./conversationEventListener.js";
|
|
5
|
+
export * from "./signaling/events.js";
|
|
4
6
|
export * from "./generated/src/messagesServiceClient.js";
|
|
5
7
|
export * from "./generated/src/parameters.js";
|
|
6
8
|
export * from "./generated/src/responses.js";
|
package/dist/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,qBAAqB,MAAM,4BAA4B,CAAC;AAC/D,cAAc,0CAA0C,CAAC;AACzD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,sCAAsC,CAAC;AACrD,cAAc,iCAAiC,CAAC;AAChD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,iCAAiC,CAAC;AAChD,cAAc,mCAAmC,CAAC;AAClD,eAAe,qBAAqB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport MessagesServiceClient from \"./messagesServiceClient.js\";\nexport * from \"./generated/src/messagesServiceClient.js\";\nexport * from \"./generated/src/parameters.js\";\nexport * from \"./generated/src/responses.js\";\nexport * from \"./generated/src/clientDefinitions.js\";\nexport * from \"./generated/src/isUnexpected.js\";\nexport * from \"./generated/src/models.js\";\nexport * from \"./generated/src/outputModels.js\";\nexport * from \"./generated/src/paginateHelper.js\";\nexport default MessagesServiceClient;\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,qBAAqB,MAAM,4BAA4B,CAAC;AAC/D,cAAc,gCAAgC,CAAC;AAC/C,cAAc,uBAAuB,CAAC;AACtC,cAAc,0CAA0C,CAAC;AACzD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,sCAAsC,CAAC;AACrD,cAAc,iCAAiC,CAAC;AAChD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,iCAAiC,CAAC;AAChD,cAAc,mCAAmC,CAAC;AAClD,eAAe,qBAAqB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport MessagesServiceClient from \"./messagesServiceClient.js\";\nexport * from \"./conversationEventListener.js\";\nexport * from \"./signaling/events.js\";\nexport * from \"./generated/src/messagesServiceClient.js\";\nexport * from \"./generated/src/parameters.js\";\nexport * from \"./generated/src/responses.js\";\nexport * from \"./generated/src/clientDefinitions.js\";\nexport * from \"./generated/src/isUnexpected.js\";\nexport * from \"./generated/src/models.js\";\nexport * from \"./generated/src/outputModels.js\";\nexport * from \"./generated/src/paginateHelper.js\";\nexport default MessagesServiceClient;\n"]}
|
|
@@ -20,8 +20,10 @@ export default function createClient(endpointOrConnectionString, credentialOrOpt
|
|
|
20
20
|
const { url, credential } = parseClientArguments(endpointOrConnectionString, credentialOrOptions);
|
|
21
21
|
const baseUrl = (_a = options.baseUrl) !== null && _a !== void 0 ? _a : `${url}`;
|
|
22
22
|
const client = GeneratedAzureCommunicationMessageServiceClient(baseUrl, credential, options);
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
if (!isTokenCredential(credential)) {
|
|
24
|
+
const authPolicy = createCommunicationAuthPolicy(credential);
|
|
25
|
+
client.pipeline.addPolicy(authPolicy);
|
|
26
|
+
}
|
|
25
27
|
return client;
|
|
26
28
|
}
|
|
27
29
|
//# sourceMappingURL=messagesServiceClient.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"messagesServiceClient.js","sourceRoot":"","sources":["../../src/messagesServiceClient.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAEtE,OAAO,EAAE,oBAAoB,EAAE,6BAA6B,EAAE,MAAM,6BAA6B,CAAC;AAElG,OAAO,+CAA+C,MAAM,0CAA0C,CAAC;AAwBvG;;;;;GAKG;AACH,MAAM,CAAC,OAAO,UAAU,YAAY,CAClC,0BAAkC,EAClC,mBAAuE,EACvE,OAAuB;;IAEvB,IAAI,CAAC,CAAC,iBAAiB,CAAC,mBAAmB,CAAC,IAAI,eAAe,CAAC,mBAAmB,CAAC,CAAC,EAAE,CAAC;QACtF,OAAO,GAAG,mBAAoC,CAAC;IACjD,CAAC;IAED,IAAI,OAAO,KAAK,SAAS,EAAE,CAAC;QAC1B,OAAO,GAAG,EAAE,CAAC;IACf,CAAC;IAED,MAAM,EAAE,GAAG,EAAE,UAAU,EAAE,GAAG,oBAAoB,CAAC,0BAA0B,EAAE,mBAAmB,CAAC,CAAC;IAClG,MAAM,OAAO,GAAG,MAAA,OAAO,CAAC,OAAO,mCAAI,GAAG,GAAG,EAAE,CAAC;IAE5C,MAAM,MAAM,GAAG,+CAA+C,CAAC,OAAO,EAAE,UAAU,EAAE,OAAO,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"messagesServiceClient.js","sourceRoot":"","sources":["../../src/messagesServiceClient.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAEtE,OAAO,EAAE,oBAAoB,EAAE,6BAA6B,EAAE,MAAM,6BAA6B,CAAC;AAElG,OAAO,+CAA+C,MAAM,0CAA0C,CAAC;AAwBvG;;;;;GAKG;AACH,MAAM,CAAC,OAAO,UAAU,YAAY,CAClC,0BAAkC,EAClC,mBAAuE,EACvE,OAAuB;;IAEvB,IAAI,CAAC,CAAC,iBAAiB,CAAC,mBAAmB,CAAC,IAAI,eAAe,CAAC,mBAAmB,CAAC,CAAC,EAAE,CAAC;QACtF,OAAO,GAAG,mBAAoC,CAAC;IACjD,CAAC;IAED,IAAI,OAAO,KAAK,SAAS,EAAE,CAAC;QAC1B,OAAO,GAAG,EAAE,CAAC;IACf,CAAC;IAED,MAAM,EAAE,GAAG,EAAE,UAAU,EAAE,GAAG,oBAAoB,CAAC,0BAA0B,EAAE,mBAAmB,CAAC,CAAC;IAClG,MAAM,OAAO,GAAG,MAAA,OAAO,CAAC,OAAO,mCAAI,GAAG,GAAG,EAAE,CAAC;IAE5C,MAAM,MAAM,GAAG,+CAA+C,CAAC,OAAO,EAAE,UAAU,EAAE,OAAO,CAAC,CAAC;IAE7F,IAAI,CAAC,iBAAiB,CAAC,UAAU,CAAC,EAAE,CAAC;QACnC,MAAM,UAAU,GAAG,6BAA6B,CAAC,UAAU,CAAC,CAAC;QAC7D,MAAM,CAAC,QAAQ,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC;IACxC,CAAC;IAED,OAAO,MAAM,CAAC;AAChB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { TokenCredential, KeyCredential } from \"@azure/core-auth\";\nimport { isTokenCredential, isKeyCredential } from \"@azure/core-auth\";\nimport type { ClientOptions } from \"@azure-rest/core-client\";\nimport { parseClientArguments, createCommunicationAuthPolicy } from \"@azure/communication-common\";\nimport type { MessagesServiceClient } from \"./generated/src/clientDefinitions.js\";\nimport GeneratedAzureCommunicationMessageServiceClient from \"./generated/src/messagesServiceClient.js\";\n\n/**\n * Initialize a new instance of `MessagesServiceClient`\n * @param connectionString - The connectionString or url of your Communication Services resource.\n * @param options - the parameter for all optional parameters\n */\nexport default function createClient(\n connectionString: string,\n options?: ClientOptions,\n): MessagesServiceClient;\n\n/**\n * Initialize a new instance of `MessagesServiceClient`\n * @param endpoint - The endpoint of your Communication Services resource.\n * @param credential - The key or token credential.\n * @param options - the parameter for all optional parameters\n */\nexport default function createClient(\n endpoint: string,\n credential: KeyCredential | TokenCredential,\n options?: ClientOptions,\n): MessagesServiceClient;\n\n/**\n * Initialize a new instance of `MessagesServiceClient`\n * @param endpoint - The communication resource, for example https://my-resource.communication.azure.com\n * @param credentials - uniquely identify client credential\n * @param options - the parameter for all optional parameters\n */\nexport default function createClient(\n endpointOrConnectionString: string,\n credentialOrOptions?: ClientOptions | (TokenCredential | KeyCredential),\n options?: ClientOptions,\n): MessagesServiceClient {\n if (!(isTokenCredential(credentialOrOptions) || isKeyCredential(credentialOrOptions))) {\n options = credentialOrOptions as ClientOptions;\n }\n\n if (options === undefined) {\n options = {};\n }\n\n const { url, credential } = parseClientArguments(endpointOrConnectionString, credentialOrOptions);\n const baseUrl = options.baseUrl ?? `${url}`;\n\n const client = GeneratedAzureCommunicationMessageServiceClient(baseUrl, credential, options);\n\n if (!isTokenCredential(credential)) {\n const authPolicy = createCommunicationAuthPolicy(credential);\n client.pipeline.addPolicy(authPolicy);\n }\n\n return client;\n}\n"]}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ChatMessageReceivedEvent, ChatThreadPropertiesUpdatedEvent, ParticipantsAddedEvent, ParticipantsRemovedEvent } from "@azure/communication-signaling";
|
|
2
|
+
type ChatEventId = "chatMessageReceived" | "chatMessageEdited" | "chatMessageDeleted" | "typingIndicatorReceived" | "readReceiptReceived" | "chatThreadCreated" | "chatThreadDeleted" | "chatThreadPropertiesUpdated" | "participantsAdded" | "participantsRemoved" | "realTimeNotificationConnected" | "realTimeNotificationDisconnected";
|
|
3
|
+
export { ChatEventId, ChatMessageReceivedEvent, ChatThreadPropertiesUpdatedEvent, ParticipantsAddedEvent, ParticipantsRemovedEvent, };
|
|
4
|
+
//# sourceMappingURL=events.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../../src/signaling/events.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,wBAAwB,EACxB,gCAAgC,EAChC,sBAAsB,EACtB,wBAAwB,EACzB,MAAM,gCAAgC,CAAC;AAExC,KAAK,WAAW,GACZ,qBAAqB,GACrB,mBAAmB,GACnB,oBAAoB,GACpB,yBAAyB,GACzB,qBAAqB,GACrB,mBAAmB,GACnB,mBAAmB,GACnB,6BAA6B,GAC7B,mBAAmB,GACnB,qBAAqB,GACrB,+BAA+B,GAC/B,kCAAkC,CAAC;AAEvC,OAAO,EACL,WAAW,EACX,wBAAwB,EACxB,gCAAgC,EAChC,sBAAsB,EACtB,wBAAwB,GACzB,CAAC"}
|