@azure/communication-chat 1.6.0-alpha.20240607.1 → 1.6.0-beta.2
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/dist/index.js +836 -46
- package/dist/index.js.map +1 -1
- package/dist-esm/src/chatClient.js +4 -3
- package/dist-esm/src/chatClient.js.map +1 -1
- package/dist-esm/src/chatThreadClient.js +84 -4
- package/dist-esm/src/chatThreadClient.js.map +1 -1
- package/dist-esm/src/generated/src/chatApiClient.js +2 -2
- package/dist-esm/src/generated/src/chatApiClient.js.map +1 -1
- package/dist-esm/src/generated/src/models/index.js +8 -0
- package/dist-esm/src/generated/src/models/index.js.map +1 -1
- package/dist-esm/src/generated/src/models/mappers.js +298 -30
- package/dist-esm/src/generated/src/models/mappers.js.map +1 -1
- package/dist-esm/src/generated/src/models/parameters.js +73 -1
- package/dist-esm/src/generated/src/models/parameters.js.map +1 -1
- package/dist-esm/src/generated/src/operations/chatThread.js +98 -0
- package/dist-esm/src/generated/src/operations/chatThread.js.map +1 -1
- package/dist-esm/src/generated/src/operationsInterfaces/chatThread.js.map +1 -1
- package/dist-esm/src/generated/src/tracing.js +1 -1
- package/dist-esm/src/generated/src/tracing.js.map +1 -1
- package/dist-esm/src/models/mappers.js +82 -6
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/models.js.map +1 -1
- package/dist-esm/src/models/options.js.map +1 -1
- package/dist-esm/src/xhrHttpClient.js +186 -0
- package/dist-esm/src/xhrHttpClient.js.map +1 -0
- package/package.json +4 -4
- package/types/communication-chat.d.ts +129 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mappers.js","sourceRoot":"","sources":["../../../../../src/generated/src/models/mappers.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,MAAM,CAAC,MAAM,iCAAiC,GAA+B;IAC3E,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,mCAAmC;QAC9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poration.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\n\nexport const ChatMessageReadReceiptsCollection: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ChatMessageReadReceiptsCollection\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ChatMessageReadReceipt\",\n },\n },\n },\n },\n nextLink: {\n serializedName: \"nextLink\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const ChatMessageReadReceipt: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ChatMessageReadReceipt\",\n modelProperties: {\n senderCommunicationIdentifier: {\n serializedName: \"senderCommunicationIdentifier\",\n type: {\n name: \"Composite\",\n className: \"CommunicationIdentifierModel\",\n },\n },\n chatMessageId: {\n serializedName: \"chatMessageId\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n readOn: {\n serializedName: \"readOn\",\n required: true,\n type: {\n name: \"DateTime\",\n },\n },\n },\n },\n};\n\nexport const CommunicationIdentifierModel: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CommunicationIdentifierModel\",\n modelProperties: {\n kind: {\n serializedName: \"kind\",\n type: {\n name: \"String\",\n },\n },\n rawId: {\n serializedName: \"rawId\",\n type: {\n name: \"String\",\n },\n },\n communicationUser: {\n serializedName: \"communicationUser\",\n type: {\n name: \"Composite\",\n className: \"CommunicationUserIdentifierModel\",\n },\n },\n phoneNumber: {\n serializedName: \"phoneNumber\",\n type: {\n name: \"Composite\",\n className: \"PhoneNumberIdentifierModel\",\n },\n },\n microsoftTeamsUser: {\n serializedName: \"microsoftTeamsUser\",\n type: {\n name: \"Composite\",\n className: \"MicrosoftTeamsUserIdentifierModel\",\n },\n },\n microsoftTeamsApp: {\n serializedName: \"microsoftTeamsApp\",\n type: {\n name: \"Composite\",\n className: \"MicrosoftTeamsAppIdentifierModel\",\n },\n },\n },\n },\n};\n\nexport const CommunicationUserIdentifierModel: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CommunicationUserIdentifierModel\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const PhoneNumberIdentifierModel: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"PhoneNumberIdentifierModel\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const MicrosoftTeamsUserIdentifierModel: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"MicrosoftTeamsUserIdentifierModel\",\n modelProperties: {\n userId: {\n serializedName: \"userId\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n isAnonymous: {\n serializedName: \"isAnonymous\",\n type: {\n name: \"Boolean\",\n },\n },\n cloud: {\n serializedName: \"cloud\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const MicrosoftTeamsAppIdentifierModel: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"MicrosoftTeamsAppIdentifierModel\",\n modelProperties: {\n appId: {\n serializedName: \"appId\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n cloud: {\n serializedName: \"cloud\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const CommunicationErrorResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CommunicationErrorResponse\",\n modelProperties: {\n error: {\n serializedName: \"error\",\n type: {\n name: \"Composite\",\n className: \"ChatError\",\n },\n },\n },\n },\n};\n\nexport const ChatError: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ChatError\",\n modelProperties: {\n code: {\n serializedName: \"code\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n message: {\n serializedName: \"message\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n target: {\n serializedName: \"target\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n details: {\n serializedName: \"details\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ChatError\",\n },\n },\n },\n },\n innerError: {\n serializedName: \"innererror\",\n type: {\n name: \"Composite\",\n className: \"ChatError\",\n },\n },\n },\n },\n};\n\nexport const SendReadReceiptRequest: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SendReadReceiptRequest\",\n modelProperties: {\n chatMessageId: {\n serializedName: \"chatMessageId\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const SendChatMessageRequest: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SendChatMessageRequest\",\n modelProperties: {\n content: {\n serializedName: \"content\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n senderDisplayName: {\n serializedName: \"senderDisplayName\",\n type: {\n name: \"String\",\n },\n },\n type: {\n serializedName: \"type\",\n type: {\n name: \"Enum\",\n allowedValues: [\n \"text\",\n \"html\",\n \"topicUpdated\",\n \"participantAdded\",\n \"participantRemoved\",\n ],\n },\n },\n metadata: {\n serializedName: \"metadata\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } },\n },\n },\n },\n },\n};\n\nexport const SendChatMessageResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SendChatMessageResult\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const ChatMessagesCollection: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ChatMessagesCollection\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ChatMessage\",\n },\n },\n },\n },\n nextLink: {\n serializedName: \"nextLink\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const ChatMessage: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ChatMessage\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n type: {\n serializedName: \"type\",\n required: true,\n type: {\n name: \"Enum\",\n allowedValues: [\n \"text\",\n \"html\",\n \"topicUpdated\",\n \"participantAdded\",\n \"participantRemoved\",\n ],\n },\n },\n sequenceId: {\n serializedName: \"sequenceId\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n version: {\n serializedName: \"version\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n content: {\n serializedName: \"content\",\n type: {\n name: \"Composite\",\n className: \"ChatMessageContent\",\n },\n },\n senderDisplayName: {\n serializedName: \"senderDisplayName\",\n type: {\n name: \"String\",\n },\n },\n createdOn: {\n serializedName: \"createdOn\",\n required: true,\n type: {\n name: \"DateTime\",\n },\n },\n senderCommunicationIdentifier: {\n serializedName: \"senderCommunicationIdentifier\",\n type: {\n name: \"Composite\",\n className: \"CommunicationIdentifierModel\",\n },\n },\n deletedOn: {\n serializedName: \"deletedOn\",\n type: {\n name: \"DateTime\",\n },\n },\n editedOn: {\n serializedName: \"editedOn\",\n type: {\n name: \"DateTime\",\n },\n },\n metadata: {\n serializedName: \"metadata\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } },\n },\n },\n },\n },\n};\n\nexport const ChatMessageContent: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ChatMessageContent\",\n modelProperties: {\n message: {\n serializedName: \"message\",\n type: {\n name: \"String\",\n },\n },\n topic: {\n serializedName: \"topic\",\n type: {\n name: \"String\",\n },\n },\n participants: {\n serializedName: \"participants\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ChatParticipant\",\n },\n },\n },\n },\n attachments: {\n serializedName: \"attachments\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ChatAttachment\",\n },\n },\n },\n },\n initiatorCommunicationIdentifier: {\n serializedName: \"initiatorCommunicationIdentifier\",\n type: {\n name: \"Composite\",\n className: \"CommunicationIdentifierModel\",\n },\n },\n },\n },\n};\n\nexport const ChatParticipant: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ChatParticipant\",\n modelProperties: {\n communicationIdentifier: {\n serializedName: \"communicationIdentifier\",\n type: {\n name: \"Composite\",\n className: \"CommunicationIdentifierModel\",\n },\n },\n displayName: {\n serializedName: \"displayName\",\n type: {\n name: \"String\",\n },\n },\n shareHistoryTime: {\n serializedName: \"shareHistoryTime\",\n type: {\n name: \"DateTime\",\n },\n },\n },\n },\n};\n\nexport const ChatAttachment: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ChatAttachment\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n attachmentType: {\n serializedName: \"attachmentType\",\n required: true,\n type: {\n name: \"Enum\",\n allowedValues: [\"image\", \"file\"],\n },\n },\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\",\n },\n },\n url: {\n serializedName: \"url\",\n type: {\n name: \"String\",\n },\n },\n previewUrl: {\n serializedName: \"previewUrl\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const UpdateChatMessageRequest: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"UpdateChatMessageRequest\",\n modelProperties: {\n content: {\n serializedName: \"content\",\n type: {\n name: \"String\",\n },\n },\n metadata: {\n serializedName: \"metadata\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } },\n },\n },\n },\n },\n};\n\nexport const ChatParticipantsCollection: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ChatParticipantsCollection\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ChatParticipant\",\n },\n },\n },\n },\n nextLink: {\n serializedName: \"nextLink\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const AddChatParticipantsRequest: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AddChatParticipantsRequest\",\n modelProperties: {\n participants: {\n serializedName: \"participants\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ChatParticipant\",\n },\n },\n },\n },\n },\n },\n};\n\nexport const AddChatParticipantsResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AddChatParticipantsResult\",\n modelProperties: {\n invalidParticipants: {\n serializedName: \"invalidParticipants\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ChatError\",\n },\n },\n },\n },\n },\n },\n};\n\nexport const CreateChatThreadRequest: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CreateChatThreadRequest\",\n modelProperties: {\n topic: {\n serializedName: \"topic\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n participants: {\n serializedName: \"participants\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ChatParticipant\",\n },\n },\n },\n },\n },\n },\n};\n\nexport const CreateChatThreadResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CreateChatThreadResult\",\n modelProperties: {\n chatThread: {\n serializedName: \"chatThread\",\n type: {\n name: \"Composite\",\n className: \"ChatThreadProperties\",\n },\n },\n invalidParticipants: {\n serializedName: \"invalidParticipants\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ChatError\",\n },\n },\n },\n },\n },\n },\n};\n\nexport const ChatThreadProperties: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ChatThreadProperties\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n topic: {\n serializedName: \"topic\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n createdOn: {\n serializedName: \"createdOn\",\n required: true,\n type: {\n name: \"DateTime\",\n },\n },\n createdByCommunicationIdentifier: {\n serializedName: \"createdByCommunicationIdentifier\",\n type: {\n name: \"Composite\",\n className: \"CommunicationIdentifierModel\",\n },\n },\n deletedOn: {\n serializedName: \"deletedOn\",\n type: {\n name: \"DateTime\",\n },\n },\n },\n },\n};\n\nexport const ChatThreadsItemCollection: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ChatThreadsItemCollection\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ChatThreadItem\",\n },\n },\n },\n },\n nextLink: {\n serializedName: \"nextLink\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const ChatThreadItem: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ChatThreadItem\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n topic: {\n serializedName: \"topic\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n deletedOn: {\n serializedName: \"deletedOn\",\n type: {\n name: \"DateTime\",\n },\n },\n lastMessageReceivedOn: {\n serializedName: \"lastMessageReceivedOn\",\n readOnly: true,\n type: {\n name: \"DateTime\",\n },\n },\n },\n },\n};\n\nexport const UpdateChatThreadRequest: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"UpdateChatThreadRequest\",\n modelProperties: {\n topic: {\n serializedName: \"topic\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const SendTypingNotificationRequest: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SendTypingNotificationRequest\",\n modelProperties: {\n senderDisplayName: {\n serializedName: \"senderDisplayName\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n"]}
|
|
1
|
+
{"version":3,"file":"mappers.js","sourceRoot":"","sources":["../../../../../src/generated/src/models/mappers.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,MAAM,CAAC,MAAM,iCAAiC,GAA+B;IAC3E,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,mCAAmC;QAC9C,eAAe,EAAE;YACf,KAAK,EAAE;gBACL,cAAc,EAAE,OAAO;gBACvB,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,UAAU;oBAChB,OAAO,EAAE;wBACP,IAAI,EAAE;4BACJ,IAAI,EAAE,WAAW;4BACjB,SAAS,EAAE,wBAAwB;yBACpC;qBACF;iBACF;aACF;YACD,QAAQ,EAAE;gBACR,cAAc,EAAE,UAAU;gBAC1B,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,sBAAsB,GAA+B;IAChE,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,wBAAwB;QACnC,eAAe,EAAE;YACf,6BAA6B,EAAE;gBAC7B,cAAc,EAAE,+BAA+B;gBAC/C,IAAI,EAAE;oBACJ,IAAI,EAAE,WAAW;oBACjB,SAAS,EAAE,8BAA8B;iBAC1C;aACF;YACD,aAAa,EAAE;gBACb,cAAc,EAAE,eAAe;gBAC/B,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,MAAM,EAAE;gBACN,cAAc,EAAE,QAAQ;gBACxB,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,UAAU;iBACjB;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,4BAA4B,GAA+B;IACtE,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,8BAA8B;QACz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C,eAAe,KAC3C,qBAAqB,EAAE;gBACrB,cAAc,EAAE,uBAAuB;gBACvC,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF,GACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,mBAAmB,GAA+B;IAC7D,cAAc,EAAE,MAAM;IACtB,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,qBAAqB;QAChC,UAAU,EAAE,qBAAqB;QACjC,wBAAwB,EAAE,mBAAmB,CAAC,IAAI,CAAC,wBAAwB;QAC3E,eAAe,oBACV,mBAAmB,CAAC,IAAI,CAAC,eAAe,CAC5C;KACF;CACF,CAAC;AAEF,MAAM,CAAC,IAAI,cAAc,GAAG;IAC1B,mBAAmB,EAAE,mBAAmB;IACxC,wCAAwC,EAAE,iCAAiC;IAC3E,0BAA0B,EAAE,mBAAmB;CAChD,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\n\nexport const ChatMessageReadReceiptsCollection: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ChatMessageReadReceiptsCollection\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ChatMessageReadReceipt\",\n },\n },\n },\n },\n nextLink: {\n serializedName: \"nextLink\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const ChatMessageReadReceipt: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ChatMessageReadReceipt\",\n modelProperties: {\n senderCommunicationIdentifier: {\n serializedName: \"senderCommunicationIdentifier\",\n type: {\n name: \"Composite\",\n className: \"CommunicationIdentifierModel\",\n },\n },\n chatMessageId: {\n serializedName: \"chatMessageId\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n readOn: {\n serializedName: \"readOn\",\n required: true,\n type: {\n name: \"DateTime\",\n },\n },\n },\n },\n};\n\nexport const CommunicationIdentifierModel: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CommunicationIdentifierModel\",\n modelProperties: {\n kind: {\n serializedName: \"kind\",\n type: {\n name: \"String\",\n },\n },\n rawId: {\n serializedName: \"rawId\",\n type: {\n name: \"String\",\n },\n },\n communicationUser: {\n serializedName: \"communicationUser\",\n type: {\n name: \"Composite\",\n className: \"CommunicationUserIdentifierModel\",\n },\n },\n phoneNumber: {\n serializedName: \"phoneNumber\",\n type: {\n name: \"Composite\",\n className: \"PhoneNumberIdentifierModel\",\n },\n },\n microsoftTeamsUser: {\n serializedName: \"microsoftTeamsUser\",\n type: {\n name: \"Composite\",\n className: \"MicrosoftTeamsUserIdentifierModel\",\n },\n },\n microsoftTeamsApp: {\n serializedName: \"microsoftTeamsApp\",\n type: {\n name: \"Composite\",\n className: \"MicrosoftTeamsAppIdentifierModel\",\n },\n },\n },\n },\n};\n\nexport const CommunicationUserIdentifierModel: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CommunicationUserIdentifierModel\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const PhoneNumberIdentifierModel: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"PhoneNumberIdentifierModel\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const MicrosoftTeamsUserIdentifierModel: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"MicrosoftTeamsUserIdentifierModel\",\n modelProperties: {\n userId: {\n serializedName: \"userId\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n isAnonymous: {\n serializedName: \"isAnonymous\",\n type: {\n name: \"Boolean\",\n },\n },\n cloud: {\n serializedName: \"cloud\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const MicrosoftTeamsAppIdentifierModel: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"MicrosoftTeamsAppIdentifierModel\",\n modelProperties: {\n appId: {\n serializedName: \"appId\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n cloud: {\n serializedName: \"cloud\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const CommunicationErrorResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CommunicationErrorResponse\",\n modelProperties: {\n error: {\n serializedName: \"error\",\n type: {\n name: \"Composite\",\n className: \"ChatError\",\n },\n },\n },\n },\n};\n\nexport const ChatError: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ChatError\",\n modelProperties: {\n code: {\n serializedName: \"code\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n message: {\n serializedName: \"message\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n target: {\n serializedName: \"target\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n details: {\n serializedName: \"details\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ChatError\",\n },\n },\n },\n },\n innerError: {\n serializedName: \"innererror\",\n type: {\n name: \"Composite\",\n className: \"ChatError\",\n },\n },\n },\n },\n};\n\nexport const SendReadReceiptRequest: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SendReadReceiptRequest\",\n modelProperties: {\n chatMessageId: {\n serializedName: \"chatMessageId\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const SendChatMessageRequest: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SendChatMessageRequest\",\n modelProperties: {\n content: {\n serializedName: \"content\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n senderDisplayName: {\n serializedName: \"senderDisplayName\",\n type: {\n name: \"String\",\n },\n },\n type: {\n serializedName: \"type\",\n type: {\n name: \"Enum\",\n allowedValues: [\n \"text\",\n \"html\",\n \"topicUpdated\",\n \"participantAdded\",\n \"participantRemoved\",\n ],\n },\n },\n metadata: {\n serializedName: \"metadata\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } },\n },\n },\n attachments: {\n serializedName: \"attachments\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ChatAttachment\",\n },\n },\n },\n },\n },\n },\n};\n\nexport const ChatAttachment: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ChatAttachment\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n attachmentType: {\n serializedName: \"attachmentType\",\n required: true,\n type: {\n name: \"Enum\",\n allowedValues: [\"image\", \"file\"],\n },\n },\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\",\n },\n },\n url: {\n serializedName: \"url\",\n type: {\n name: \"String\",\n },\n },\n previewUrl: {\n serializedName: \"previewUrl\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const SendChatMessageResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SendChatMessageResult\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const ChatMessagesCollection: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ChatMessagesCollection\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ChatMessage\",\n },\n },\n },\n },\n nextLink: {\n serializedName: \"nextLink\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const ChatMessage: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ChatMessage\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n type: {\n serializedName: \"type\",\n required: true,\n type: {\n name: \"Enum\",\n allowedValues: [\n \"text\",\n \"html\",\n \"topicUpdated\",\n \"participantAdded\",\n \"participantRemoved\",\n ],\n },\n },\n sequenceId: {\n serializedName: \"sequenceId\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n version: {\n serializedName: \"version\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n content: {\n serializedName: \"content\",\n type: {\n name: \"Composite\",\n className: \"ChatMessageContent\",\n },\n },\n senderDisplayName: {\n serializedName: \"senderDisplayName\",\n type: {\n name: \"String\",\n },\n },\n createdOn: {\n serializedName: \"createdOn\",\n required: true,\n type: {\n name: \"DateTime\",\n },\n },\n senderCommunicationIdentifier: {\n serializedName: \"senderCommunicationIdentifier\",\n type: {\n name: \"Composite\",\n className: \"CommunicationIdentifierModel\",\n },\n },\n deletedOn: {\n serializedName: \"deletedOn\",\n type: {\n name: \"DateTime\",\n },\n },\n editedOn: {\n serializedName: \"editedOn\",\n type: {\n name: \"DateTime\",\n },\n },\n metadata: {\n serializedName: \"metadata\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } },\n },\n },\n policyViolation: {\n serializedName: \"policyViolation\",\n type: {\n name: \"Composite\",\n className: \"PolicyViolation\",\n },\n },\n },\n },\n};\n\nexport const ChatMessageContent: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ChatMessageContent\",\n modelProperties: {\n message: {\n serializedName: \"message\",\n type: {\n name: \"String\",\n },\n },\n topic: {\n serializedName: \"topic\",\n type: {\n name: \"String\",\n },\n },\n participants: {\n serializedName: \"participants\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ChatParticipant\",\n },\n },\n },\n },\n attachments: {\n serializedName: \"attachments\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ChatAttachment\",\n },\n },\n },\n },\n initiatorCommunicationIdentifier: {\n serializedName: \"initiatorCommunicationIdentifier\",\n type: {\n name: \"Composite\",\n className: \"CommunicationIdentifierModel\",\n },\n },\n },\n },\n};\n\nexport const ChatParticipant: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ChatParticipant\",\n modelProperties: {\n communicationIdentifier: {\n serializedName: \"communicationIdentifier\",\n type: {\n name: \"Composite\",\n className: \"CommunicationIdentifierModel\",\n },\n },\n displayName: {\n serializedName: \"displayName\",\n type: {\n name: \"String\",\n },\n },\n shareHistoryTime: {\n serializedName: \"shareHistoryTime\",\n type: {\n name: \"DateTime\",\n },\n },\n metadata: {\n serializedName: \"metadata\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } },\n },\n },\n },\n },\n};\n\nexport const PolicyViolation: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"PolicyViolation\",\n modelProperties: {\n state: {\n serializedName: \"state\",\n required: true,\n type: {\n name: \"Enum\",\n allowedValues: [\"contentBlocked\", \"warning\"],\n },\n },\n },\n },\n};\n\nexport const UpdateChatMessageRequest: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"UpdateChatMessageRequest\",\n modelProperties: {\n content: {\n serializedName: \"content\",\n type: {\n name: \"String\",\n },\n },\n metadata: {\n serializedName: \"metadata\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } },\n },\n },\n attachments: {\n serializedName: \"attachments\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ChatAttachment\",\n },\n },\n },\n },\n },\n },\n};\n\nexport const ChatParticipantsCollection: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ChatParticipantsCollection\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ChatParticipant\",\n },\n },\n },\n },\n nextLink: {\n serializedName: \"nextLink\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const AddChatParticipantsRequest: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AddChatParticipantsRequest\",\n modelProperties: {\n participants: {\n serializedName: \"participants\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ChatParticipant\",\n },\n },\n },\n },\n },\n },\n};\n\nexport const AddChatParticipantsResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AddChatParticipantsResult\",\n modelProperties: {\n invalidParticipants: {\n serializedName: \"invalidParticipants\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ChatError\",\n },\n },\n },\n },\n },\n },\n};\n\nexport const CreateChatThreadRequest: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CreateChatThreadRequest\",\n modelProperties: {\n topic: {\n serializedName: \"topic\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n participants: {\n serializedName: \"participants\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ChatParticipant\",\n },\n },\n },\n },\n metadata: {\n serializedName: \"metadata\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } },\n },\n },\n retentionPolicy: {\n serializedName: \"retentionPolicy\",\n type: {\n name: \"Composite\",\n className: \"ChatRetentionPolicy\",\n },\n },\n },\n },\n};\n\nexport const ChatRetentionPolicy: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ChatRetentionPolicy\",\n uberParent: \"ChatRetentionPolicy\",\n polymorphicDiscriminator: {\n serializedName: \"kind\",\n clientName: \"kind\",\n },\n modelProperties: {\n kind: {\n serializedName: \"kind\",\n required: true,\n type: {\n name: \"Enum\",\n allowedValues: [\"threadCreationDate\", \"none\"],\n },\n },\n },\n },\n};\n\nexport const CreateChatThreadResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CreateChatThreadResult\",\n modelProperties: {\n chatThread: {\n serializedName: \"chatThread\",\n type: {\n name: \"Composite\",\n className: \"ChatThreadProperties\",\n },\n },\n invalidParticipants: {\n serializedName: \"invalidParticipants\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ChatError\",\n },\n },\n },\n },\n },\n },\n};\n\nexport const ChatThreadProperties: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ChatThreadProperties\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n topic: {\n serializedName: \"topic\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n createdOn: {\n serializedName: \"createdOn\",\n required: true,\n type: {\n name: \"DateTime\",\n },\n },\n createdByCommunicationIdentifier: {\n serializedName: \"createdByCommunicationIdentifier\",\n type: {\n name: \"Composite\",\n className: \"CommunicationIdentifierModel\",\n },\n },\n deletedOn: {\n serializedName: \"deletedOn\",\n type: {\n name: \"DateTime\",\n },\n },\n metadata: {\n serializedName: \"metadata\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } },\n },\n },\n retentionPolicy: {\n serializedName: \"retentionPolicy\",\n type: {\n name: \"Composite\",\n className: \"ChatRetentionPolicy\",\n },\n },\n messagingPolicy: {\n serializedName: \"messagingPolicy\",\n type: {\n name: \"Composite\",\n className: \"MessagingPolicy\",\n },\n },\n },\n },\n};\n\nexport const MessagingPolicy: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"MessagingPolicy\",\n modelProperties: {\n textOnlyChat: {\n serializedName: \"textOnlyChat\",\n type: {\n name: \"Boolean\",\n },\n },\n },\n },\n};\n\nexport const ChatThreadsItemCollection: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ChatThreadsItemCollection\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ChatThreadItem\",\n },\n },\n },\n },\n nextLink: {\n serializedName: \"nextLink\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const ChatThreadItem: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ChatThreadItem\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n topic: {\n serializedName: \"topic\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n deletedOn: {\n serializedName: \"deletedOn\",\n type: {\n name: \"DateTime\",\n },\n },\n lastMessageReceivedOn: {\n serializedName: \"lastMessageReceivedOn\",\n readOnly: true,\n type: {\n name: \"DateTime\",\n },\n },\n },\n },\n};\n\nexport const UpdateChatThreadRequest: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"UpdateChatThreadRequest\",\n modelProperties: {\n topic: {\n serializedName: \"topic\",\n type: {\n name: \"String\",\n },\n },\n metadata: {\n serializedName: \"metadata\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } },\n },\n },\n retentionPolicy: {\n serializedName: \"retentionPolicy\",\n type: {\n name: \"Composite\",\n className: \"ChatRetentionPolicy\",\n },\n },\n },\n },\n};\n\nexport const SendTypingNotificationRequest: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SendTypingNotificationRequest\",\n modelProperties: {\n senderDisplayName: {\n serializedName: \"senderDisplayName\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const UploadChatImageResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"UploadChatImageResult\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n attachmentType: {\n serializedName: \"attachmentType\",\n type: {\n name: \"Enum\",\n allowedValues: [\"image\", \"file\"],\n },\n },\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const ErrorResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorResponse\",\n modelProperties: {\n error: {\n serializedName: \"error\",\n type: {\n name: \"Composite\",\n className: \"ErrorModel\",\n },\n },\n },\n },\n};\n\nexport const ErrorModel: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorModel\",\n modelProperties: {\n code: {\n serializedName: \"code\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n message: {\n serializedName: \"message\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n details: {\n serializedName: \"details\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ErrorDetail\",\n },\n },\n },\n },\n },\n },\n};\n\nexport const ErrorDetail: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorDetail\",\n modelProperties: {\n code: {\n serializedName: \"code\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n message: {\n serializedName: \"message\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const ThreadCreationDateRetentionPolicy: coreClient.CompositeMapper = {\n serializedName: \"threadCreationDate\",\n type: {\n name: \"Composite\",\n className: \"ThreadCreationDateRetentionPolicy\",\n uberParent: \"ChatRetentionPolicy\",\n polymorphicDiscriminator: ChatRetentionPolicy.type.polymorphicDiscriminator,\n modelProperties: {\n ...ChatRetentionPolicy.type.modelProperties,\n deleteThreadAfterDays: {\n serializedName: \"deleteThreadAfterDays\",\n required: true,\n type: {\n name: \"Number\",\n },\n },\n },\n },\n};\n\nexport const NoneRetentionPolicy: coreClient.CompositeMapper = {\n serializedName: \"none\",\n type: {\n name: \"Composite\",\n className: \"NoneRetentionPolicy\",\n uberParent: \"ChatRetentionPolicy\",\n polymorphicDiscriminator: ChatRetentionPolicy.type.polymorphicDiscriminator,\n modelProperties: {\n ...ChatRetentionPolicy.type.modelProperties,\n },\n },\n};\n\nexport let discriminators = {\n ChatRetentionPolicy: ChatRetentionPolicy,\n \"ChatRetentionPolicy.threadCreationDate\": ThreadCreationDateRetentionPolicy,\n \"ChatRetentionPolicy.none\": NoneRetentionPolicy,\n};\n"]}
|
|
@@ -59,7 +59,7 @@ export const skip = {
|
|
|
59
59
|
export const apiVersion = {
|
|
60
60
|
parameterPath: "apiVersion",
|
|
61
61
|
mapper: {
|
|
62
|
-
defaultValue: "2024-
|
|
62
|
+
defaultValue: "2024-06-05-preview",
|
|
63
63
|
isConstant: true,
|
|
64
64
|
serializedName: "api-version",
|
|
65
65
|
type: {
|
|
@@ -136,6 +136,78 @@ export const sendTypingNotificationRequest = {
|
|
|
136
136
|
parameterPath: ["options", "sendTypingNotificationRequest"],
|
|
137
137
|
mapper: SendTypingNotificationRequestMapper,
|
|
138
138
|
};
|
|
139
|
+
export const contentType2 = {
|
|
140
|
+
parameterPath: ["options", "contentType"],
|
|
141
|
+
mapper: {
|
|
142
|
+
defaultValue: "application/octet-stream",
|
|
143
|
+
isConstant: true,
|
|
144
|
+
serializedName: "Content-Type",
|
|
145
|
+
type: {
|
|
146
|
+
name: "String",
|
|
147
|
+
},
|
|
148
|
+
},
|
|
149
|
+
};
|
|
150
|
+
export const chatImageFile = {
|
|
151
|
+
parameterPath: "chatImageFile",
|
|
152
|
+
mapper: {
|
|
153
|
+
serializedName: "chatImageFile",
|
|
154
|
+
required: true,
|
|
155
|
+
type: {
|
|
156
|
+
name: "Stream",
|
|
157
|
+
},
|
|
158
|
+
},
|
|
159
|
+
};
|
|
160
|
+
export const accept1 = {
|
|
161
|
+
parameterPath: "accept",
|
|
162
|
+
mapper: {
|
|
163
|
+
defaultValue: "application/json",
|
|
164
|
+
isConstant: true,
|
|
165
|
+
serializedName: "Accept",
|
|
166
|
+
type: {
|
|
167
|
+
name: "String",
|
|
168
|
+
},
|
|
169
|
+
},
|
|
170
|
+
};
|
|
171
|
+
export const imageFilename = {
|
|
172
|
+
parameterPath: ["options", "imageFilename"],
|
|
173
|
+
mapper: {
|
|
174
|
+
serializedName: "image-filename",
|
|
175
|
+
type: {
|
|
176
|
+
name: "String",
|
|
177
|
+
},
|
|
178
|
+
},
|
|
179
|
+
};
|
|
180
|
+
export const accept2 = {
|
|
181
|
+
parameterPath: "accept",
|
|
182
|
+
mapper: {
|
|
183
|
+
defaultValue: "application/json, image/gif, image/jpeg, image/png, image/bmp, image/tiff",
|
|
184
|
+
isConstant: true,
|
|
185
|
+
serializedName: "Accept",
|
|
186
|
+
type: {
|
|
187
|
+
name: "String",
|
|
188
|
+
},
|
|
189
|
+
},
|
|
190
|
+
};
|
|
191
|
+
export const imageId = {
|
|
192
|
+
parameterPath: "imageId",
|
|
193
|
+
mapper: {
|
|
194
|
+
serializedName: "imageId",
|
|
195
|
+
required: true,
|
|
196
|
+
type: {
|
|
197
|
+
name: "String",
|
|
198
|
+
},
|
|
199
|
+
},
|
|
200
|
+
};
|
|
201
|
+
export const imageViewType = {
|
|
202
|
+
parameterPath: "imageViewType",
|
|
203
|
+
mapper: {
|
|
204
|
+
serializedName: "imageViewType",
|
|
205
|
+
required: true,
|
|
206
|
+
type: {
|
|
207
|
+
name: "String",
|
|
208
|
+
},
|
|
209
|
+
},
|
|
210
|
+
};
|
|
139
211
|
export const nextLink = {
|
|
140
212
|
parameterPath: "nextLink",
|
|
141
213
|
mapper: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../../../src/generated/src/models/parameters.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAOH,OAAO,EACL,sBAAsB,IAAI,4BAA4B,EACtD,sBAAsB,IAAI,4BAA4B,EACtD,wBAAwB,IAAI,8BAA8B,EAC1D,4BAA4B,IAAI,kCAAkC,EAClE,0BAA0B,IAAI,gCAAgC,EAC9D,uBAAuB,IAAI,6BAA6B,EACxD,6BAA6B,IAAI,mCAAmC,EACpE,uBAAuB,IAAI,6BAA6B,GACzD,MAAM,mBAAmB,CAAC;AAE3B,MAAM,CAAC,MAAM,MAAM,GAAuB;IACxC,aAAa,EAAE,QAAQ;IACvB,MAAM,EAAE;QACN,YAAY,EAAE,kBAAk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,aAAa,EAAE,4BAA4B;IAC3C,MAAM,EAAE,gCAAgC;CACzC,CAAC;AAEF,MAAM,CAAC,MAAM,uBAAuB,GAAuB;IACzD,aAAa,EAAE,yBAAyB;IACxC,MAAM,EAAE,6BAA6B;CACtC,CAAC;AAEF,MAAM,CAAC,MAAM,6BAA6B,GAAuB;IAC/D,aAAa,EAAE,CAAC,SAAS,EAAE,+BAA+B,CAAC;IAC3D,MAAM,EAAE,mCAAmC;CAC5C,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAA0B;IAC7C,aAAa,EAAE,UAAU;IACzB,MAAM,EAAE;QACN,cAAc,EAAE,UAAU;QAC1B,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;IACD,YAAY,EAAE,IAAI;CACnB,CAAC;AAEF,MAAM,CAAC,MAAM,uBAAuB,GAAuB;IACzD,aAAa,EAAE,yBAAyB;IACxC,MAAM,EAAE,6BAA6B;CACtC,CAAC;AAEF,MAAM,CAAC,MAAM,sBAAsB,GAAuB;IACxD,aAAa,EAAE,CAAC,SAAS,EAAE,wBAAwB,CAAC;IACpD,MAAM,EAAE;QACN,cAAc,EAAE,0BAA0B;QAC1C,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter,\n} from \"@azure/core-client\";\nimport {\n SendReadReceiptRequest as SendReadReceiptRequestMapper,\n SendChatMessageRequest as SendChatMessageRequestMapper,\n UpdateChatMessageRequest as UpdateChatMessageRequestMapper,\n CommunicationIdentifierModel as CommunicationIdentifierModelMapper,\n AddChatParticipantsRequest as AddChatParticipantsRequestMapper,\n UpdateChatThreadRequest as UpdateChatThreadRequestMapper,\n SendTypingNotificationRequest as SendTypingNotificationRequestMapper,\n CreateChatThreadRequest as CreateChatThreadRequestMapper,\n} from \"../models/mappers\";\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const endpoint: OperationURLParameter = {\n parameterPath: \"endpoint\",\n mapper: {\n serializedName: \"endpoint\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n skipEncoding: true,\n};\n\nexport const chatThreadId: OperationURLParameter = {\n parameterPath: \"chatThreadId\",\n mapper: {\n serializedName: \"chatThreadId\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const maxPageSize: OperationQueryParameter = {\n parameterPath: [\"options\", \"maxPageSize\"],\n mapper: {\n serializedName: \"maxPageSize\",\n type: {\n name: \"Number\",\n },\n },\n};\n\nexport const skip: OperationQueryParameter = {\n parameterPath: [\"options\", \"skip\"],\n mapper: {\n serializedName: \"skip\",\n type: {\n name: \"Number\",\n },\n },\n};\n\nexport const apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2024-03-07\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const contentType: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const sendReadReceiptRequest: OperationParameter = {\n parameterPath: \"sendReadReceiptRequest\",\n mapper: SendReadReceiptRequestMapper,\n};\n\nexport const sendChatMessageRequest: OperationParameter = {\n parameterPath: \"sendChatMessageRequest\",\n mapper: SendChatMessageRequestMapper,\n};\n\nexport const startTime: OperationQueryParameter = {\n parameterPath: [\"options\", \"startTime\"],\n mapper: {\n serializedName: \"startTime\",\n type: {\n name: \"DateTime\",\n },\n },\n};\n\nexport const chatMessageId: OperationURLParameter = {\n parameterPath: \"chatMessageId\",\n mapper: {\n serializedName: \"chatMessageId\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const contentType1: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/merge-patch+json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const updateChatMessageRequest: OperationParameter = {\n parameterPath: \"updateChatMessageRequest\",\n mapper: UpdateChatMessageRequestMapper,\n};\n\nexport const participantCommunicationIdentifier: OperationParameter = {\n parameterPath: \"participantCommunicationIdentifier\",\n mapper: CommunicationIdentifierModelMapper,\n};\n\nexport const addChatParticipantsRequest: OperationParameter = {\n parameterPath: \"addChatParticipantsRequest\",\n mapper: AddChatParticipantsRequestMapper,\n};\n\nexport const updateChatThreadRequest: OperationParameter = {\n parameterPath: \"updateChatThreadRequest\",\n mapper: UpdateChatThreadRequestMapper,\n};\n\nexport const sendTypingNotificationRequest: OperationParameter = {\n parameterPath: [\"options\", \"sendTypingNotificationRequest\"],\n mapper: SendTypingNotificationRequestMapper,\n};\n\nexport const nextLink: OperationURLParameter = {\n parameterPath: \"nextLink\",\n mapper: {\n serializedName: \"nextLink\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n skipEncoding: true,\n};\n\nexport const createChatThreadRequest: OperationParameter = {\n parameterPath: \"createChatThreadRequest\",\n mapper: CreateChatThreadRequestMapper,\n};\n\nexport const repeatabilityRequestId: OperationParameter = {\n parameterPath: [\"options\", \"repeatabilityRequestId\"],\n mapper: {\n serializedName: \"repeatability-request-id\",\n type: {\n name: \"String\",\n },\n },\n};\n"]}
|
|
1
|
+
{"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../../../src/generated/src/models/parameters.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAOH,OAAO,EACL,sBAAsB,IAAI,4BAA4B,EACtD,sBAAsB,IAAI,4BAA4B,EACtD,wBAAwB,IA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AM,EAAE;QACN,cAAc,EAAE,0BAA0B;QAC1C,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter,\n} from \"@azure/core-client\";\nimport {\n SendReadReceiptRequest as SendReadReceiptRequestMapper,\n SendChatMessageRequest as SendChatMessageRequestMapper,\n UpdateChatMessageRequest as UpdateChatMessageRequestMapper,\n CommunicationIdentifierModel as CommunicationIdentifierModelMapper,\n AddChatParticipantsRequest as AddChatParticipantsRequestMapper,\n UpdateChatThreadRequest as UpdateChatThreadRequestMapper,\n SendTypingNotificationRequest as SendTypingNotificationRequestMapper,\n CreateChatThreadRequest as CreateChatThreadRequestMapper,\n} from \"../models/mappers\";\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const endpoint: OperationURLParameter = {\n parameterPath: \"endpoint\",\n mapper: {\n serializedName: \"endpoint\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n skipEncoding: true,\n};\n\nexport const chatThreadId: OperationURLParameter = {\n parameterPath: \"chatThreadId\",\n mapper: {\n serializedName: \"chatThreadId\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const maxPageSize: OperationQueryParameter = {\n parameterPath: [\"options\", \"maxPageSize\"],\n mapper: {\n serializedName: \"maxPageSize\",\n type: {\n name: \"Number\",\n },\n },\n};\n\nexport const skip: OperationQueryParameter = {\n parameterPath: [\"options\", \"skip\"],\n mapper: {\n serializedName: \"skip\",\n type: {\n name: \"Number\",\n },\n },\n};\n\nexport const apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2024-06-05-preview\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const contentType: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const sendReadReceiptRequest: OperationParameter = {\n parameterPath: \"sendReadReceiptRequest\",\n mapper: SendReadReceiptRequestMapper,\n};\n\nexport const sendChatMessageRequest: OperationParameter = {\n parameterPath: \"sendChatMessageRequest\",\n mapper: SendChatMessageRequestMapper,\n};\n\nexport const startTime: OperationQueryParameter = {\n parameterPath: [\"options\", \"startTime\"],\n mapper: {\n serializedName: \"startTime\",\n type: {\n name: \"DateTime\",\n },\n },\n};\n\nexport const chatMessageId: OperationURLParameter = {\n parameterPath: \"chatMessageId\",\n mapper: {\n serializedName: \"chatMessageId\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const contentType1: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/merge-patch+json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const updateChatMessageRequest: OperationParameter = {\n parameterPath: \"updateChatMessageRequest\",\n mapper: UpdateChatMessageRequestMapper,\n};\n\nexport const participantCommunicationIdentifier: OperationParameter = {\n parameterPath: \"participantCommunicationIdentifier\",\n mapper: CommunicationIdentifierModelMapper,\n};\n\nexport const addChatParticipantsRequest: OperationParameter = {\n parameterPath: \"addChatParticipantsRequest\",\n mapper: AddChatParticipantsRequestMapper,\n};\n\nexport const updateChatThreadRequest: OperationParameter = {\n parameterPath: \"updateChatThreadRequest\",\n mapper: UpdateChatThreadRequestMapper,\n};\n\nexport const sendTypingNotificationRequest: OperationParameter = {\n parameterPath: [\"options\", \"sendTypingNotificationRequest\"],\n mapper: SendTypingNotificationRequestMapper,\n};\n\nexport const contentType2: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/octet-stream\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const chatImageFile: OperationParameter = {\n parameterPath: \"chatImageFile\",\n mapper: {\n serializedName: \"chatImageFile\",\n required: true,\n type: {\n name: \"Stream\",\n },\n },\n};\n\nexport const accept1: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const imageFilename: OperationParameter = {\n parameterPath: [\"options\", \"imageFilename\"],\n mapper: {\n serializedName: \"image-filename\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const accept2: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue:\n \"application/json, image/gif, image/jpeg, image/png, image/bmp, image/tiff\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const imageId: OperationURLParameter = {\n parameterPath: \"imageId\",\n mapper: {\n serializedName: \"imageId\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const imageViewType: OperationURLParameter = {\n parameterPath: \"imageViewType\",\n mapper: {\n serializedName: \"imageViewType\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const nextLink: OperationURLParameter = {\n parameterPath: \"nextLink\",\n mapper: {\n serializedName: \"nextLink\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n skipEncoding: true,\n};\n\nexport const createChatThreadRequest: OperationParameter = {\n parameterPath: \"createChatThreadRequest\",\n mapper: CreateChatThreadRequestMapper,\n};\n\nexport const repeatabilityRequestId: OperationParameter = {\n parameterPath: [\"options\", \"repeatabilityRequestId\"],\n mapper: {\n serializedName: \"repeatability-request-id\",\n type: {\n name: \"String\",\n },\n },\n};\n"]}
|
|
@@ -157,6 +157,40 @@ export class ChatThreadImpl {
|
|
|
157
157
|
return this.client.sendOperationRequest({ chatThreadId, options }, sendTypingNotificationOperationSpec);
|
|
158
158
|
});
|
|
159
159
|
}
|
|
160
|
+
/**
|
|
161
|
+
* Upload an image in a thread, on behalf of a user.
|
|
162
|
+
* @param chatThreadId Thread id where the uploaded image belongs to. (Teams meeting only)
|
|
163
|
+
* @param chatImageFile Image binary data, allowed image formats: jpeg, png, gif, heic, webp
|
|
164
|
+
* @param options The options parameters.
|
|
165
|
+
*/
|
|
166
|
+
async uploadChatImage(chatThreadId, chatImageFile, options) {
|
|
167
|
+
return tracingClient.withSpan("ChatApiClient.uploadChatImage", options !== null && options !== void 0 ? options : {}, async (options) => {
|
|
168
|
+
return this.client.sendOperationRequest({ chatThreadId, chatImageFile, options }, uploadChatImageOperationSpec);
|
|
169
|
+
});
|
|
170
|
+
}
|
|
171
|
+
/**
|
|
172
|
+
* Get an image by view type.
|
|
173
|
+
* @param chatThreadId The thread id to which the message was sent.
|
|
174
|
+
* @param imageId The image id.
|
|
175
|
+
* @param imageViewType The view type of image.
|
|
176
|
+
* @param options The options parameters.
|
|
177
|
+
*/
|
|
178
|
+
async getChatImage(chatThreadId, imageId, imageViewType, options) {
|
|
179
|
+
return tracingClient.withSpan("ChatApiClient.getChatImage", options !== null && options !== void 0 ? options : {}, async (options) => {
|
|
180
|
+
return this.client.sendOperationRequest({ chatThreadId, imageId, imageViewType, options }, getChatImageOperationSpec);
|
|
181
|
+
});
|
|
182
|
+
}
|
|
183
|
+
/**
|
|
184
|
+
* Deletes a image.
|
|
185
|
+
* @param chatThreadId The thread id to which the message was sent.
|
|
186
|
+
* @param imageId The image id.
|
|
187
|
+
* @param options The options parameters.
|
|
188
|
+
*/
|
|
189
|
+
async deleteChatImage(chatThreadId, imageId, options) {
|
|
190
|
+
return tracingClient.withSpan("ChatApiClient.deleteChatImage", options !== null && options !== void 0 ? options : {}, async (options) => {
|
|
191
|
+
return this.client.sendOperationRequest({ chatThreadId, imageId, options }, deleteChatImageOperationSpec);
|
|
192
|
+
});
|
|
193
|
+
}
|
|
160
194
|
/**
|
|
161
195
|
* ListChatReadReceiptsNext
|
|
162
196
|
* @param chatThreadId Thread id to get the chat message read receipts for.
|
|
@@ -596,6 +630,70 @@ const sendTypingNotificationOperationSpec = {
|
|
|
596
630
|
mediaType: "json",
|
|
597
631
|
serializer,
|
|
598
632
|
};
|
|
633
|
+
const uploadChatImageOperationSpec = {
|
|
634
|
+
path: "/chat/threads/{chatThreadId}/images",
|
|
635
|
+
httpMethod: "POST",
|
|
636
|
+
responses: {
|
|
637
|
+
201: {
|
|
638
|
+
bodyMapper: Mappers.UploadChatImageResult,
|
|
639
|
+
},
|
|
640
|
+
default: {
|
|
641
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
642
|
+
},
|
|
643
|
+
},
|
|
644
|
+
requestBody: Parameters.chatImageFile,
|
|
645
|
+
queryParameters: [Parameters.apiVersion],
|
|
646
|
+
urlParameters: [Parameters.endpoint, Parameters.chatThreadId],
|
|
647
|
+
headerParameters: [
|
|
648
|
+
Parameters.contentType2,
|
|
649
|
+
Parameters.accept1,
|
|
650
|
+
Parameters.imageFilename,
|
|
651
|
+
],
|
|
652
|
+
mediaType: "binary",
|
|
653
|
+
serializer,
|
|
654
|
+
};
|
|
655
|
+
const getChatImageOperationSpec = {
|
|
656
|
+
path: "/chat/threads/{chatThreadId}/images/{imageId}/view/{imageViewType}",
|
|
657
|
+
httpMethod: "GET",
|
|
658
|
+
responses: {
|
|
659
|
+
200: {
|
|
660
|
+
bodyMapper: {
|
|
661
|
+
type: { name: "Stream" },
|
|
662
|
+
serializedName: "parsedResponse",
|
|
663
|
+
},
|
|
664
|
+
},
|
|
665
|
+
default: {
|
|
666
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
667
|
+
},
|
|
668
|
+
},
|
|
669
|
+
queryParameters: [Parameters.apiVersion],
|
|
670
|
+
urlParameters: [
|
|
671
|
+
Parameters.endpoint,
|
|
672
|
+
Parameters.chatThreadId,
|
|
673
|
+
Parameters.imageId,
|
|
674
|
+
Parameters.imageViewType,
|
|
675
|
+
],
|
|
676
|
+
headerParameters: [Parameters.accept2],
|
|
677
|
+
serializer,
|
|
678
|
+
};
|
|
679
|
+
const deleteChatImageOperationSpec = {
|
|
680
|
+
path: "/chat/threads/{chatThreadId}/images/{imageId}",
|
|
681
|
+
httpMethod: "DELETE",
|
|
682
|
+
responses: {
|
|
683
|
+
204: {},
|
|
684
|
+
default: {
|
|
685
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
686
|
+
},
|
|
687
|
+
},
|
|
688
|
+
queryParameters: [Parameters.apiVersion],
|
|
689
|
+
urlParameters: [
|
|
690
|
+
Parameters.endpoint,
|
|
691
|
+
Parameters.chatThreadId,
|
|
692
|
+
Parameters.imageId,
|
|
693
|
+
],
|
|
694
|
+
headerParameters: [Parameters.accept],
|
|
695
|
+
serializer,
|
|
696
|
+
};
|
|
599
697
|
const listChatReadReceiptsNextOperationSpec = {
|
|
600
698
|
path: "{nextLink}",
|
|
601
699
|
httpMethod: "GET",
|