@azure/communication-chat 1.6.0-beta.3 → 1.6.0-beta.4
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/README.md +134 -45
- package/dist/browser/chatClient.d.ts +225 -0
- package/dist/browser/chatClient.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/chatClient.js +15 -10
- package/dist/browser/chatClient.js.map +1 -0
- package/dist/browser/chatThreadClient.d.ts +142 -0
- package/dist/browser/chatThreadClient.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/chatThreadClient.js +12 -9
- package/dist/browser/chatThreadClient.js.map +1 -0
- package/dist/browser/credential/communicationTokenCredentialPolicy.d.ts +9 -0
- package/dist/browser/credential/communicationTokenCredentialPolicy.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/credential/communicationTokenCredentialPolicy.js +2 -2
- package/dist/browser/credential/communicationTokenCredentialPolicy.js.map +1 -0
- package/dist/browser/generated/src/chatApiClient.d.ts +18 -0
- package/dist/browser/generated/src/chatApiClient.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/generated/src/chatApiClient.js +2 -2
- package/dist/browser/generated/src/chatApiClient.js.map +1 -0
- package/dist/browser/generated/src/index.d.ts +4 -0
- package/dist/browser/generated/src/index.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/generated/src/index.js +3 -3
- package/dist/browser/generated/src/index.js.map +1 -0
- package/dist/browser/generated/src/models/index.d.ts +579 -0
- package/dist/browser/generated/src/models/index.d.ts.map +1 -0
- package/dist/browser/generated/src/models/mappers.d.ts +44 -0
- package/dist/browser/generated/src/models/mappers.d.ts.map +1 -0
- package/dist/browser/generated/src/models/parameters.d.ts +29 -0
- package/dist/browser/generated/src/models/parameters.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/generated/src/models/parameters.js +1 -1
- package/dist/browser/generated/src/models/parameters.js.map +1 -0
- package/dist/browser/generated/src/operations/chat.d.ts +36 -0
- package/dist/browser/generated/src/operations/chat.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/generated/src/operations/chat.js +3 -3
- package/dist/browser/generated/src/operations/chat.js.map +1 -0
- package/dist/browser/generated/src/operations/chatThread.d.ts +144 -0
- package/dist/browser/generated/src/operations/chatThread.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/generated/src/operations/chatThread.js +3 -3
- package/dist/browser/generated/src/operations/chatThread.js.map +1 -0
- package/dist/browser/generated/src/operations/index.d.ts +3 -0
- package/dist/browser/generated/src/operations/index.d.ts.map +1 -0
- package/dist/browser/generated/src/operations/index.js +10 -0
- package/dist/browser/generated/src/operations/index.js.map +1 -0
- package/dist/browser/generated/src/operationsInterfaces/chat.d.ts +28 -0
- package/dist/browser/generated/src/operationsInterfaces/chat.d.ts.map +1 -0
- package/dist/browser/generated/src/operationsInterfaces/chat.js.map +1 -0
- package/dist/browser/generated/src/operationsInterfaces/chatThread.d.ts +136 -0
- package/dist/browser/generated/src/operationsInterfaces/chatThread.d.ts.map +1 -0
- package/dist/browser/generated/src/operationsInterfaces/chatThread.js.map +1 -0
- package/dist/browser/generated/src/operationsInterfaces/index.d.ts +3 -0
- package/dist/browser/generated/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/browser/generated/src/operationsInterfaces/index.js +10 -0
- package/dist/browser/generated/src/operationsInterfaces/index.js.map +1 -0
- package/dist/browser/generated/src/tracing.d.ts +2 -0
- package/dist/browser/generated/src/tracing.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/generated/src/tracing.js +1 -1
- package/{dist-esm/src → dist/browser}/generated/src/tracing.js.map +1 -1
- package/dist/browser/index.d.ts +7 -0
- package/dist/browser/index.d.ts.map +1 -0
- package/dist/browser/index.js +9 -0
- package/dist/browser/index.js.map +1 -0
- package/dist/browser/models/events.d.ts +4 -0
- package/dist/browser/models/events.d.ts.map +1 -0
- package/dist/browser/models/events.js +4 -0
- package/dist/browser/models/events.js.map +1 -0
- package/dist/browser/models/logger.d.ts +2 -0
- package/dist/browser/models/logger.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/models/logger.js +1 -1
- package/{dist-esm/src → dist/browser}/models/logger.js.map +1 -1
- package/dist/browser/models/mappers.d.ts +79 -0
- package/dist/browser/models/mappers.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/models/mappers.js +1 -1
- package/dist/browser/models/mappers.js.map +1 -0
- package/dist/browser/models/models.d.ts +153 -0
- package/dist/browser/models/models.d.ts.map +1 -0
- package/dist/browser/models/models.js +4 -0
- package/dist/browser/models/models.js.map +1 -0
- package/dist/browser/models/options.d.ts +135 -0
- package/dist/browser/models/options.d.ts.map +1 -0
- package/dist/browser/models/options.js.map +1 -0
- package/dist/browser/models/requests.d.ts +18 -0
- package/dist/browser/models/requests.d.ts.map +1 -0
- package/dist/browser/models/requests.js +4 -0
- package/dist/browser/models/requests.js.map +1 -0
- package/dist/browser/models/uuid.d.ts +8 -0
- package/dist/browser/models/uuid.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/models/uuid.js +3 -3
- package/dist/browser/models/uuid.js.map +1 -0
- package/dist/browser/package.json +3 -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 +4 -0
- package/dist/browser/signaling/signalingClientOptions.js.map +1 -0
- package/dist/browser/xhrHttpClient.d.ts +17 -0
- package/dist/browser/xhrHttpClient.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/xhrHttpClient.js +2 -2
- package/dist/browser/xhrHttpClient.js.map +1 -0
- package/dist/commonjs/chatClient.d.ts +225 -0
- package/dist/commonjs/chatClient.d.ts.map +1 -0
- package/dist/commonjs/chatClient.js +250 -0
- package/dist/commonjs/chatClient.js.map +1 -0
- package/dist/commonjs/chatThreadClient.d.ts +142 -0
- package/dist/commonjs/chatThreadClient.d.ts.map +1 -0
- package/dist/commonjs/chatThreadClient.js +463 -0
- package/dist/commonjs/chatThreadClient.js.map +1 -0
- package/dist/commonjs/credential/communicationTokenCredentialPolicy.d.ts +9 -0
- package/dist/commonjs/credential/communicationTokenCredentialPolicy.d.ts.map +1 -0
- package/dist/commonjs/credential/communicationTokenCredentialPolicy.js +22 -0
- package/dist/commonjs/credential/communicationTokenCredentialPolicy.js.map +1 -0
- package/dist/commonjs/generated/src/chatApiClient.d.ts +18 -0
- package/dist/commonjs/generated/src/chatApiClient.d.ts.map +1 -0
- package/dist/commonjs/generated/src/chatApiClient.js +75 -0
- package/dist/commonjs/generated/src/chatApiClient.js.map +1 -0
- package/dist/commonjs/generated/src/index.d.ts +4 -0
- package/dist/commonjs/generated/src/index.d.ts.map +1 -0
- package/dist/commonjs/generated/src/index.js +16 -0
- package/dist/commonjs/generated/src/index.js.map +1 -0
- package/dist/commonjs/generated/src/models/index.d.ts +579 -0
- package/dist/commonjs/generated/src/models/index.d.ts.map +1 -0
- package/dist/commonjs/generated/src/models/index.js +43 -0
- package/dist/commonjs/generated/src/models/index.js.map +1 -0
- package/dist/commonjs/generated/src/models/mappers.d.ts +44 -0
- package/dist/commonjs/generated/src/models/mappers.d.ts.map +1 -0
- package/dist/commonjs/generated/src/models/mappers.js +1112 -0
- package/dist/commonjs/generated/src/models/mappers.js.map +1 -0
- package/dist/commonjs/generated/src/models/parameters.d.ts +29 -0
- package/dist/commonjs/generated/src/models/parameters.d.ts.map +1 -0
- package/dist/commonjs/generated/src/models/parameters.js +238 -0
- package/dist/commonjs/generated/src/models/parameters.js.map +1 -0
- package/dist/commonjs/generated/src/operations/chat.d.ts +36 -0
- package/dist/commonjs/generated/src/operations/chat.d.ts.map +1 -0
- package/dist/commonjs/generated/src/operations/chat.js +191 -0
- package/dist/commonjs/generated/src/operations/chat.js.map +1 -0
- package/dist/commonjs/generated/src/operations/chatThread.d.ts +144 -0
- package/dist/commonjs/generated/src/operations/chatThread.d.ts.map +1 -0
- package/dist/commonjs/generated/src/operations/chatThread.js +798 -0
- package/dist/commonjs/generated/src/operations/chatThread.js.map +1 -0
- package/dist/commonjs/generated/src/operations/index.d.ts +3 -0
- package/dist/commonjs/generated/src/operations/index.d.ts.map +1 -0
- package/dist/commonjs/generated/src/operations/index.js +13 -0
- package/dist/commonjs/generated/src/operations/index.js.map +1 -0
- package/dist/commonjs/generated/src/operationsInterfaces/chat.d.ts +28 -0
- package/dist/commonjs/generated/src/operationsInterfaces/chat.d.ts.map +1 -0
- package/dist/commonjs/generated/src/operationsInterfaces/chat.js +10 -0
- package/dist/commonjs/generated/src/operationsInterfaces/chat.js.map +1 -0
- package/dist/commonjs/generated/src/operationsInterfaces/chatThread.d.ts +136 -0
- package/dist/commonjs/generated/src/operationsInterfaces/chatThread.d.ts.map +1 -0
- package/dist/commonjs/generated/src/operationsInterfaces/chatThread.js +10 -0
- package/dist/commonjs/generated/src/operationsInterfaces/chatThread.js.map +1 -0
- package/dist/commonjs/generated/src/operationsInterfaces/index.d.ts +3 -0
- package/dist/commonjs/generated/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/commonjs/generated/src/operationsInterfaces/index.js +13 -0
- package/dist/commonjs/generated/src/operationsInterfaces/index.js.map +1 -0
- package/dist/commonjs/generated/src/tracing.d.ts +2 -0
- package/dist/commonjs/generated/src/tracing.d.ts.map +1 -0
- package/dist/commonjs/generated/src/tracing.js +17 -0
- package/dist/commonjs/generated/src/tracing.js.map +1 -0
- package/dist/commonjs/index.d.ts +7 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +12 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/models/events.d.ts +4 -0
- package/dist/commonjs/models/events.d.ts.map +1 -0
- package/dist/commonjs/models/events.js +5 -0
- package/dist/commonjs/models/events.js.map +1 -0
- package/dist/commonjs/models/logger.d.ts +2 -0
- package/dist/commonjs/models/logger.d.ts.map +1 -0
- package/dist/commonjs/models/logger.js +8 -0
- package/dist/commonjs/models/logger.js.map +1 -0
- package/dist/commonjs/models/mappers.d.ts +79 -0
- package/dist/commonjs/models/mappers.d.ts.map +1 -0
- package/dist/commonjs/models/mappers.js +203 -0
- package/dist/commonjs/models/mappers.js.map +1 -0
- package/dist/commonjs/models/models.d.ts +153 -0
- package/dist/commonjs/models/models.d.ts.map +1 -0
- package/dist/commonjs/models/models.js +5 -0
- package/dist/commonjs/models/models.js.map +1 -0
- package/dist/commonjs/models/options.d.ts +135 -0
- package/dist/commonjs/models/options.d.ts.map +1 -0
- package/dist/commonjs/models/options.js +3 -0
- package/dist/commonjs/models/options.js.map +1 -0
- package/dist/commonjs/models/requests.d.ts +18 -0
- package/dist/commonjs/models/requests.d.ts.map +1 -0
- package/dist/commonjs/models/requests.js +5 -0
- package/dist/commonjs/models/requests.js.map +1 -0
- package/dist/commonjs/models/uuid.d.ts +8 -0
- package/dist/commonjs/models/uuid.d.ts.map +1 -0
- package/dist/commonjs/models/uuid.js +16 -0
- package/dist/commonjs/models/uuid.js.map +1 -0
- package/dist/commonjs/package.json +3 -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 +5 -0
- package/dist/commonjs/signaling/signalingClientOptions.js.map +1 -0
- package/dist/commonjs/tsdoc-metadata.json +11 -0
- package/dist/commonjs/xhrHttpClient.d.ts +17 -0
- package/dist/commonjs/xhrHttpClient.d.ts.map +1 -0
- package/dist/commonjs/xhrHttpClient.js +191 -0
- package/dist/commonjs/xhrHttpClient.js.map +1 -0
- package/dist/esm/chatClient.d.ts +225 -0
- package/dist/esm/chatClient.d.ts.map +1 -0
- package/dist/esm/chatClient.js +246 -0
- package/dist/esm/chatClient.js.map +1 -0
- package/dist/esm/chatThreadClient.d.ts +142 -0
- package/dist/esm/chatThreadClient.d.ts.map +1 -0
- package/dist/esm/chatThreadClient.js +459 -0
- package/dist/esm/chatThreadClient.js.map +1 -0
- package/dist/esm/credential/communicationTokenCredentialPolicy.d.ts +9 -0
- package/dist/esm/credential/communicationTokenCredentialPolicy.d.ts.map +1 -0
- package/dist/esm/credential/communicationTokenCredentialPolicy.js +18 -0
- package/dist/esm/credential/communicationTokenCredentialPolicy.js.map +1 -0
- package/dist/esm/generated/src/chatApiClient.d.ts +18 -0
- package/dist/esm/generated/src/chatApiClient.d.ts.map +1 -0
- package/dist/esm/generated/src/chatApiClient.js +70 -0
- package/dist/esm/generated/src/chatApiClient.js.map +1 -0
- package/dist/esm/generated/src/index.d.ts +4 -0
- package/dist/esm/generated/src/index.d.ts.map +1 -0
- package/dist/esm/generated/src/index.js +11 -0
- package/dist/esm/generated/src/index.js.map +1 -0
- package/dist/esm/generated/src/models/index.d.ts +579 -0
- package/dist/esm/generated/src/models/index.d.ts.map +1 -0
- package/dist/esm/generated/src/models/index.js +40 -0
- package/dist/esm/generated/src/models/index.js.map +1 -0
- package/dist/esm/generated/src/models/mappers.d.ts +44 -0
- package/dist/esm/generated/src/models/mappers.d.ts.map +1 -0
- package/dist/esm/generated/src/models/mappers.js +1109 -0
- package/dist/esm/generated/src/models/mappers.js.map +1 -0
- package/dist/esm/generated/src/models/parameters.d.ts +29 -0
- package/dist/esm/generated/src/models/parameters.d.ts.map +1 -0
- package/dist/esm/generated/src/models/parameters.js +235 -0
- package/dist/esm/generated/src/models/parameters.js.map +1 -0
- package/dist/esm/generated/src/operations/chat.d.ts +36 -0
- package/dist/esm/generated/src/operations/chat.d.ts.map +1 -0
- package/dist/esm/generated/src/operations/chat.js +186 -0
- package/dist/esm/generated/src/operations/chat.js.map +1 -0
- package/dist/esm/generated/src/operations/chatThread.d.ts +144 -0
- package/dist/esm/generated/src/operations/chatThread.d.ts.map +1 -0
- package/dist/esm/generated/src/operations/chatThread.js +793 -0
- package/dist/esm/generated/src/operations/chatThread.js.map +1 -0
- package/dist/esm/generated/src/operations/index.d.ts +3 -0
- package/dist/esm/generated/src/operations/index.d.ts.map +1 -0
- package/dist/esm/generated/src/operations/index.js +10 -0
- package/dist/esm/generated/src/operations/index.js.map +1 -0
- package/dist/esm/generated/src/operationsInterfaces/chat.d.ts +28 -0
- package/dist/esm/generated/src/operationsInterfaces/chat.d.ts.map +1 -0
- package/{dist-esm/src/generated/src/operationsInterfaces/index.js → dist/esm/generated/src/operationsInterfaces/chat.js} +2 -3
- package/dist/esm/generated/src/operationsInterfaces/chat.js.map +1 -0
- package/dist/esm/generated/src/operationsInterfaces/chatThread.d.ts +136 -0
- package/dist/esm/generated/src/operationsInterfaces/chatThread.d.ts.map +1 -0
- package/{dist-esm/src/generated/src/operations/index.js → dist/esm/generated/src/operationsInterfaces/chatThread.js} +2 -3
- package/dist/esm/generated/src/operationsInterfaces/chatThread.js.map +1 -0
- package/dist/esm/generated/src/operationsInterfaces/index.d.ts +3 -0
- package/dist/esm/generated/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/esm/generated/src/operationsInterfaces/index.js +10 -0
- package/dist/esm/generated/src/operationsInterfaces/index.js.map +1 -0
- package/dist/esm/generated/src/tracing.d.ts +2 -0
- package/dist/esm/generated/src/tracing.d.ts.map +1 -0
- package/dist/esm/generated/src/tracing.js +14 -0
- package/dist/esm/generated/src/tracing.js.map +1 -0
- package/dist/esm/index.d.ts +7 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/dist/esm/index.js +9 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/models/events.d.ts +4 -0
- package/dist/esm/models/events.d.ts.map +1 -0
- package/dist/esm/models/events.js +4 -0
- package/dist/esm/models/events.js.map +1 -0
- package/dist/esm/models/logger.d.ts +2 -0
- package/dist/esm/models/logger.d.ts.map +1 -0
- package/dist/esm/models/logger.js +5 -0
- package/dist/esm/models/logger.js.map +1 -0
- package/dist/esm/models/mappers.d.ts +79 -0
- package/dist/esm/models/mappers.d.ts.map +1 -0
- package/dist/esm/models/mappers.js +184 -0
- package/dist/esm/models/mappers.js.map +1 -0
- package/dist/esm/models/models.d.ts +153 -0
- package/dist/esm/models/models.d.ts.map +1 -0
- package/dist/esm/models/models.js +4 -0
- package/dist/esm/models/models.js.map +1 -0
- package/dist/esm/models/options.d.ts +135 -0
- package/dist/esm/models/options.d.ts.map +1 -0
- package/dist/esm/models/options.js +2 -0
- package/dist/esm/models/options.js.map +1 -0
- package/dist/esm/models/requests.d.ts +18 -0
- package/dist/esm/models/requests.d.ts.map +1 -0
- package/dist/esm/models/requests.js +4 -0
- package/dist/esm/models/requests.js.map +1 -0
- package/dist/esm/models/uuid.d.ts +8 -0
- package/dist/esm/models/uuid.d.ts.map +1 -0
- package/dist/esm/models/uuid.js +13 -0
- package/dist/esm/models/uuid.js.map +1 -0
- package/dist/esm/package.json +3 -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 +4 -0
- package/dist/esm/signaling/signalingClientOptions.js.map +1 -0
- package/dist/esm/xhrHttpClient.d.ts +17 -0
- package/dist/esm/xhrHttpClient.d.ts.map +1 -0
- package/dist/esm/xhrHttpClient.js +186 -0
- package/dist/esm/xhrHttpClient.js.map +1 -0
- package/dist/react-native/chatClient.d.ts +225 -0
- package/dist/react-native/chatClient.d.ts.map +1 -0
- package/dist/react-native/chatClient.js +246 -0
- package/dist/react-native/chatClient.js.map +1 -0
- package/dist/react-native/chatThreadClient.d.ts +142 -0
- package/dist/react-native/chatThreadClient.d.ts.map +1 -0
- package/dist/react-native/chatThreadClient.js +459 -0
- package/dist/react-native/chatThreadClient.js.map +1 -0
- package/dist/react-native/credential/communicationTokenCredentialPolicy.d.ts +9 -0
- package/dist/react-native/credential/communicationTokenCredentialPolicy.d.ts.map +1 -0
- package/dist/react-native/credential/communicationTokenCredentialPolicy.js +18 -0
- package/dist/react-native/credential/communicationTokenCredentialPolicy.js.map +1 -0
- package/dist/react-native/generated/src/chatApiClient.d.ts +18 -0
- package/dist/react-native/generated/src/chatApiClient.d.ts.map +1 -0
- package/dist/react-native/generated/src/chatApiClient.js +70 -0
- package/dist/react-native/generated/src/chatApiClient.js.map +1 -0
- package/dist/react-native/generated/src/index.d.ts +4 -0
- package/dist/react-native/generated/src/index.d.ts.map +1 -0
- package/dist/react-native/generated/src/index.js +11 -0
- package/dist/react-native/generated/src/index.js.map +1 -0
- package/dist/react-native/generated/src/models/index.d.ts +579 -0
- package/dist/react-native/generated/src/models/index.d.ts.map +1 -0
- package/dist/react-native/generated/src/models/index.js +40 -0
- package/dist/react-native/generated/src/models/index.js.map +1 -0
- package/dist/react-native/generated/src/models/mappers.d.ts +44 -0
- package/dist/react-native/generated/src/models/mappers.d.ts.map +1 -0
- package/dist/react-native/generated/src/models/mappers.js +1109 -0
- package/dist/react-native/generated/src/models/mappers.js.map +1 -0
- package/dist/react-native/generated/src/models/parameters.d.ts +29 -0
- package/dist/react-native/generated/src/models/parameters.d.ts.map +1 -0
- package/dist/react-native/generated/src/models/parameters.js +235 -0
- package/dist/react-native/generated/src/models/parameters.js.map +1 -0
- package/dist/react-native/generated/src/operations/chat.d.ts +36 -0
- package/dist/react-native/generated/src/operations/chat.d.ts.map +1 -0
- package/dist/react-native/generated/src/operations/chat.js +186 -0
- package/dist/react-native/generated/src/operations/chat.js.map +1 -0
- package/dist/react-native/generated/src/operations/chatThread.d.ts +144 -0
- package/dist/react-native/generated/src/operations/chatThread.d.ts.map +1 -0
- package/dist/react-native/generated/src/operations/chatThread.js +793 -0
- package/dist/react-native/generated/src/operations/chatThread.js.map +1 -0
- package/dist/react-native/generated/src/operations/index.d.ts +3 -0
- package/dist/react-native/generated/src/operations/index.d.ts.map +1 -0
- package/dist/react-native/generated/src/operations/index.js +10 -0
- package/dist/react-native/generated/src/operations/index.js.map +1 -0
- package/dist/react-native/generated/src/operationsInterfaces/chat.d.ts +28 -0
- package/dist/react-native/generated/src/operationsInterfaces/chat.d.ts.map +1 -0
- package/dist/react-native/generated/src/operationsInterfaces/chat.js +9 -0
- package/dist/react-native/generated/src/operationsInterfaces/chat.js.map +1 -0
- package/dist/react-native/generated/src/operationsInterfaces/chatThread.d.ts +136 -0
- package/dist/react-native/generated/src/operationsInterfaces/chatThread.d.ts.map +1 -0
- package/dist/react-native/generated/src/operationsInterfaces/chatThread.js +9 -0
- package/dist/react-native/generated/src/operationsInterfaces/chatThread.js.map +1 -0
- package/dist/react-native/generated/src/operationsInterfaces/index.d.ts +3 -0
- package/dist/react-native/generated/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/react-native/generated/src/operationsInterfaces/index.js +10 -0
- package/dist/react-native/generated/src/operationsInterfaces/index.js.map +1 -0
- package/dist/react-native/generated/src/tracing.d.ts +2 -0
- package/dist/react-native/generated/src/tracing.d.ts.map +1 -0
- package/dist/react-native/generated/src/tracing.js +14 -0
- package/dist/react-native/generated/src/tracing.js.map +1 -0
- package/dist/react-native/index.d.ts +7 -0
- package/dist/react-native/index.d.ts.map +1 -0
- package/dist/react-native/index.js +9 -0
- package/dist/react-native/index.js.map +1 -0
- package/dist/react-native/models/events.d.ts +4 -0
- package/dist/react-native/models/events.d.ts.map +1 -0
- package/dist/react-native/models/events.js +4 -0
- package/dist/react-native/models/events.js.map +1 -0
- package/dist/react-native/models/logger.d.ts +2 -0
- package/dist/react-native/models/logger.d.ts.map +1 -0
- package/dist/react-native/models/logger.js +5 -0
- package/dist/react-native/models/logger.js.map +1 -0
- package/dist/react-native/models/mappers.d.ts +79 -0
- package/dist/react-native/models/mappers.d.ts.map +1 -0
- package/dist/react-native/models/mappers.js +184 -0
- package/dist/react-native/models/mappers.js.map +1 -0
- package/dist/react-native/models/models.d.ts +153 -0
- package/dist/react-native/models/models.d.ts.map +1 -0
- package/dist/react-native/models/models.js +4 -0
- package/dist/react-native/models/models.js.map +1 -0
- package/dist/react-native/models/options.d.ts +135 -0
- package/dist/react-native/models/options.d.ts.map +1 -0
- package/dist/react-native/models/options.js +2 -0
- package/dist/react-native/models/options.js.map +1 -0
- package/dist/react-native/models/requests.d.ts +18 -0
- package/dist/react-native/models/requests.d.ts.map +1 -0
- package/dist/react-native/models/requests.js +4 -0
- package/dist/react-native/models/requests.js.map +1 -0
- package/dist/react-native/models/uuid.d.ts +8 -0
- package/dist/react-native/models/uuid.d.ts.map +1 -0
- package/dist/react-native/models/uuid.js +13 -0
- package/dist/react-native/models/uuid.js.map +1 -0
- package/dist/react-native/package.json +3 -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 +4 -0
- package/dist/react-native/signaling/signalingClientOptions.js.map +1 -0
- package/dist/react-native/xhrHttpClient.d.ts +17 -0
- package/dist/react-native/xhrHttpClient.d.ts.map +1 -0
- package/dist/react-native/xhrHttpClient.js +186 -0
- package/dist/react-native/xhrHttpClient.js.map +1 -0
- package/package.json +77 -64
- package/dist/index.js +0 -3560
- package/dist/index.js.map +0 -1
- package/dist-esm/src/chatClient.js.map +0 -1
- package/dist-esm/src/chatThreadClient.js.map +0 -1
- package/dist-esm/src/credential/communicationTokenCredentialPolicy.js.map +0 -1
- package/dist-esm/src/generated/src/chatApiClient.js.map +0 -1
- package/dist-esm/src/generated/src/index.js.map +0 -1
- package/dist-esm/src/generated/src/models/parameters.js.map +0 -1
- package/dist-esm/src/generated/src/operations/chat.js.map +0 -1
- package/dist-esm/src/generated/src/operations/chatThread.js.map +0 -1
- package/dist-esm/src/generated/src/operations/index.js.map +0 -1
- package/dist-esm/src/generated/src/operationsInterfaces/chat.js.map +0 -1
- package/dist-esm/src/generated/src/operationsInterfaces/chatThread.js.map +0 -1
- package/dist-esm/src/generated/src/operationsInterfaces/index.js.map +0 -1
- package/dist-esm/src/index.js +0 -9
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/models/events.js +0 -4
- package/dist-esm/src/models/events.js.map +0 -1
- package/dist-esm/src/models/mappers.js.map +0 -1
- package/dist-esm/src/models/models.js +0 -4
- package/dist-esm/src/models/models.js.map +0 -1
- package/dist-esm/src/models/options.js.map +0 -1
- package/dist-esm/src/models/requests.js +0 -4
- package/dist-esm/src/models/requests.js.map +0 -1
- package/dist-esm/src/models/uuid.js.map +0 -1
- package/dist-esm/src/signaling/signalingClient.browser.js +0 -12
- package/dist-esm/src/signaling/signalingClient.browser.js.map +0 -1
- package/dist-esm/src/signaling/signalingClient.js +0 -17
- package/dist-esm/src/signaling/signalingClient.js.map +0 -1
- package/dist-esm/src/xhrHttpClient.js.map +0 -1
- package/types/communication-chat.d.ts +0 -803
- /package/{dist-esm/src → dist/browser}/generated/src/models/index.js +0 -0
- /package/{dist-esm/src → dist/browser}/generated/src/models/index.js.map +0 -0
- /package/{dist-esm/src → dist/browser}/generated/src/models/mappers.js +0 -0
- /package/{dist-esm/src → dist/browser}/generated/src/models/mappers.js.map +0 -0
- /package/{dist-esm/src → dist/browser}/generated/src/operationsInterfaces/chat.js +0 -0
- /package/{dist-esm/src → dist/browser}/generated/src/operationsInterfaces/chatThread.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/options.js +0 -0
|
@@ -0,0 +1,793 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import { tracingClient } from "../tracing.js";
|
|
9
|
+
import * as coreClient from "@azure/core-client";
|
|
10
|
+
import * as Mappers from "../models/mappers.js";
|
|
11
|
+
import * as Parameters from "../models/parameters.js";
|
|
12
|
+
/** Class containing ChatThread operations. */
|
|
13
|
+
export class ChatThreadImpl {
|
|
14
|
+
/**
|
|
15
|
+
* Initialize a new instance of the class ChatThread class.
|
|
16
|
+
* @param client Reference to the service client
|
|
17
|
+
*/
|
|
18
|
+
constructor(client) {
|
|
19
|
+
this.client = client;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Gets chat message read receipts for a thread.
|
|
23
|
+
* @param chatThreadId Thread id to get the chat message read receipts for.
|
|
24
|
+
* @param options The options parameters.
|
|
25
|
+
*/
|
|
26
|
+
async listChatReadReceipts(chatThreadId, options) {
|
|
27
|
+
return tracingClient.withSpan("ChatApiClient.listChatReadReceipts", options !== null && options !== void 0 ? options : {}, async (options) => {
|
|
28
|
+
return this.client.sendOperationRequest({ chatThreadId, options }, listChatReadReceiptsOperationSpec);
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Sends a read receipt event to a thread, on behalf of a user.
|
|
33
|
+
* @param chatThreadId Thread id to send the read receipt event to.
|
|
34
|
+
* @param sendReadReceiptRequest Read receipt details.
|
|
35
|
+
* @param options The options parameters.
|
|
36
|
+
*/
|
|
37
|
+
async sendChatReadReceipt(chatThreadId, sendReadReceiptRequest, options) {
|
|
38
|
+
return tracingClient.withSpan("ChatApiClient.sendChatReadReceipt", options !== null && options !== void 0 ? options : {}, async (options) => {
|
|
39
|
+
return this.client.sendOperationRequest({ chatThreadId, sendReadReceiptRequest, options }, sendChatReadReceiptOperationSpec);
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Sends a message to a thread.
|
|
44
|
+
* @param chatThreadId The thread id to send the message to.
|
|
45
|
+
* @param sendChatMessageRequest Details of the message to send.
|
|
46
|
+
* @param options The options parameters.
|
|
47
|
+
*/
|
|
48
|
+
async sendChatMessage(chatThreadId, sendChatMessageRequest, options) {
|
|
49
|
+
return tracingClient.withSpan("ChatApiClient.sendChatMessage", options !== null && options !== void 0 ? options : {}, async (options) => {
|
|
50
|
+
return this.client.sendOperationRequest({ chatThreadId, sendChatMessageRequest, options }, sendChatMessageOperationSpec);
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Gets a list of messages from a thread.
|
|
55
|
+
* @param chatThreadId The thread id of the message.
|
|
56
|
+
* @param options The options parameters.
|
|
57
|
+
*/
|
|
58
|
+
async listChatMessages(chatThreadId, options) {
|
|
59
|
+
return tracingClient.withSpan("ChatApiClient.listChatMessages", options !== null && options !== void 0 ? options : {}, async (options) => {
|
|
60
|
+
return this.client.sendOperationRequest({ chatThreadId, options }, listChatMessagesOperationSpec);
|
|
61
|
+
});
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Gets a message by id.
|
|
65
|
+
* @param chatThreadId The thread id to which the message was sent.
|
|
66
|
+
* @param chatMessageId The message id.
|
|
67
|
+
* @param options The options parameters.
|
|
68
|
+
*/
|
|
69
|
+
async getChatMessage(chatThreadId, chatMessageId, options) {
|
|
70
|
+
return tracingClient.withSpan("ChatApiClient.getChatMessage", options !== null && options !== void 0 ? options : {}, async (options) => {
|
|
71
|
+
return this.client.sendOperationRequest({ chatThreadId, chatMessageId, options }, getChatMessageOperationSpec);
|
|
72
|
+
});
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Updates a message.
|
|
76
|
+
* @param chatThreadId The thread id to which the message was sent.
|
|
77
|
+
* @param chatMessageId The message id.
|
|
78
|
+
* @param updateChatMessageRequest Details of the request to update the message.
|
|
79
|
+
* @param options The options parameters.
|
|
80
|
+
*/
|
|
81
|
+
async updateChatMessage(chatThreadId, chatMessageId, updateChatMessageRequest, options) {
|
|
82
|
+
return tracingClient.withSpan("ChatApiClient.updateChatMessage", options !== null && options !== void 0 ? options : {}, async (options) => {
|
|
83
|
+
return this.client.sendOperationRequest({ chatThreadId, chatMessageId, updateChatMessageRequest, options }, updateChatMessageOperationSpec);
|
|
84
|
+
});
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* Deletes a message.
|
|
88
|
+
* @param chatThreadId The thread id to which the message was sent.
|
|
89
|
+
* @param chatMessageId The message id.
|
|
90
|
+
* @param options The options parameters.
|
|
91
|
+
*/
|
|
92
|
+
async deleteChatMessage(chatThreadId, chatMessageId, options) {
|
|
93
|
+
return tracingClient.withSpan("ChatApiClient.deleteChatMessage", options !== null && options !== void 0 ? options : {}, async (options) => {
|
|
94
|
+
return this.client.sendOperationRequest({ chatThreadId, chatMessageId, options }, deleteChatMessageOperationSpec);
|
|
95
|
+
});
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* Gets the participants of a thread.
|
|
99
|
+
* @param chatThreadId Thread id to get participants for.
|
|
100
|
+
* @param options The options parameters.
|
|
101
|
+
*/
|
|
102
|
+
async listChatParticipants(chatThreadId, options) {
|
|
103
|
+
return tracingClient.withSpan("ChatApiClient.listChatParticipants", options !== null && options !== void 0 ? options : {}, async (options) => {
|
|
104
|
+
return this.client.sendOperationRequest({ chatThreadId, options }, listChatParticipantsOperationSpec);
|
|
105
|
+
});
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* Remove a participant from a thread.
|
|
109
|
+
* @param chatThreadId Thread id to remove the participant from.
|
|
110
|
+
* @param participantCommunicationIdentifier Id of the thread participant to remove from the thread.
|
|
111
|
+
* @param options The options parameters.
|
|
112
|
+
*/
|
|
113
|
+
async removeChatParticipant(chatThreadId, participantCommunicationIdentifier, options) {
|
|
114
|
+
return tracingClient.withSpan("ChatApiClient.removeChatParticipant", options !== null && options !== void 0 ? options : {}, async (options) => {
|
|
115
|
+
return this.client.sendOperationRequest({ chatThreadId, participantCommunicationIdentifier, options }, removeChatParticipantOperationSpec);
|
|
116
|
+
});
|
|
117
|
+
}
|
|
118
|
+
/**
|
|
119
|
+
* Adds thread participants to a thread. If participants already exist, no change occurs.
|
|
120
|
+
* @param chatThreadId Id of the thread to add participants to.
|
|
121
|
+
* @param addChatParticipantsRequest Thread participants to be added to the thread.
|
|
122
|
+
* @param options The options parameters.
|
|
123
|
+
*/
|
|
124
|
+
async addChatParticipants(chatThreadId, addChatParticipantsRequest, options) {
|
|
125
|
+
return tracingClient.withSpan("ChatApiClient.addChatParticipants", options !== null && options !== void 0 ? options : {}, async (options) => {
|
|
126
|
+
return this.client.sendOperationRequest({ chatThreadId, addChatParticipantsRequest, options }, addChatParticipantsOperationSpec);
|
|
127
|
+
});
|
|
128
|
+
}
|
|
129
|
+
/**
|
|
130
|
+
* Updates a thread's properties.
|
|
131
|
+
* @param chatThreadId The id of the thread to update.
|
|
132
|
+
* @param updateChatThreadRequest Request payload for updating a chat thread.
|
|
133
|
+
* @param options The options parameters.
|
|
134
|
+
*/
|
|
135
|
+
async updateChatThreadProperties(chatThreadId, updateChatThreadRequest, options) {
|
|
136
|
+
return tracingClient.withSpan("ChatApiClient.updateChatThreadProperties", options !== null && options !== void 0 ? options : {}, async (options) => {
|
|
137
|
+
return this.client.sendOperationRequest({ chatThreadId, updateChatThreadRequest, options }, updateChatThreadPropertiesOperationSpec);
|
|
138
|
+
});
|
|
139
|
+
}
|
|
140
|
+
/**
|
|
141
|
+
* Gets a chat thread's properties.
|
|
142
|
+
* @param chatThreadId Id of the thread.
|
|
143
|
+
* @param options The options parameters.
|
|
144
|
+
*/
|
|
145
|
+
async getChatThreadProperties(chatThreadId, options) {
|
|
146
|
+
return tracingClient.withSpan("ChatApiClient.getChatThreadProperties", options !== null && options !== void 0 ? options : {}, async (options) => {
|
|
147
|
+
return this.client.sendOperationRequest({ chatThreadId, options }, getChatThreadPropertiesOperationSpec);
|
|
148
|
+
});
|
|
149
|
+
}
|
|
150
|
+
/**
|
|
151
|
+
* Posts a typing event to a thread, on behalf of a user.
|
|
152
|
+
* @param chatThreadId Id of the thread.
|
|
153
|
+
* @param options The options parameters.
|
|
154
|
+
*/
|
|
155
|
+
async sendTypingNotification(chatThreadId, options) {
|
|
156
|
+
return tracingClient.withSpan("ChatApiClient.sendTypingNotification", options !== null && options !== void 0 ? options : {}, async (options) => {
|
|
157
|
+
return this.client.sendOperationRequest({ chatThreadId, options }, sendTypingNotificationOperationSpec);
|
|
158
|
+
});
|
|
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
|
+
}
|
|
194
|
+
/**
|
|
195
|
+
* ListChatReadReceiptsNext
|
|
196
|
+
* @param chatThreadId Thread id to get the chat message read receipts for.
|
|
197
|
+
* @param nextLink The nextLink from the previous successful call to the ListChatReadReceipts method.
|
|
198
|
+
* @param options The options parameters.
|
|
199
|
+
*/
|
|
200
|
+
async listChatReadReceiptsNext(chatThreadId, nextLink, options) {
|
|
201
|
+
return tracingClient.withSpan("ChatApiClient.listChatReadReceiptsNext", options !== null && options !== void 0 ? options : {}, async (options) => {
|
|
202
|
+
return this.client.sendOperationRequest({ chatThreadId, nextLink, options }, listChatReadReceiptsNextOperationSpec);
|
|
203
|
+
});
|
|
204
|
+
}
|
|
205
|
+
/**
|
|
206
|
+
* ListChatMessagesNext
|
|
207
|
+
* @param chatThreadId The thread id of the message.
|
|
208
|
+
* @param nextLink The nextLink from the previous successful call to the ListChatMessages method.
|
|
209
|
+
* @param options The options parameters.
|
|
210
|
+
*/
|
|
211
|
+
async listChatMessagesNext(chatThreadId, nextLink, options) {
|
|
212
|
+
return tracingClient.withSpan("ChatApiClient.listChatMessagesNext", options !== null && options !== void 0 ? options : {}, async (options) => {
|
|
213
|
+
return this.client.sendOperationRequest({ chatThreadId, nextLink, options }, listChatMessagesNextOperationSpec);
|
|
214
|
+
});
|
|
215
|
+
}
|
|
216
|
+
/**
|
|
217
|
+
* ListChatParticipantsNext
|
|
218
|
+
* @param chatThreadId Thread id to get participants for.
|
|
219
|
+
* @param nextLink The nextLink from the previous successful call to the ListChatParticipants method.
|
|
220
|
+
* @param options The options parameters.
|
|
221
|
+
*/
|
|
222
|
+
async listChatParticipantsNext(chatThreadId, nextLink, options) {
|
|
223
|
+
return tracingClient.withSpan("ChatApiClient.listChatParticipantsNext", options !== null && options !== void 0 ? options : {}, async (options) => {
|
|
224
|
+
return this.client.sendOperationRequest({ chatThreadId, nextLink, options }, listChatParticipantsNextOperationSpec);
|
|
225
|
+
});
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
// Operation Specifications
|
|
229
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
230
|
+
const listChatReadReceiptsOperationSpec = {
|
|
231
|
+
path: "/chat/threads/{chatThreadId}/readReceipts",
|
|
232
|
+
httpMethod: "GET",
|
|
233
|
+
responses: {
|
|
234
|
+
200: {
|
|
235
|
+
bodyMapper: Mappers.ChatMessageReadReceiptsCollection,
|
|
236
|
+
},
|
|
237
|
+
401: {
|
|
238
|
+
bodyMapper: Mappers.CommunicationErrorResponse,
|
|
239
|
+
isError: true,
|
|
240
|
+
},
|
|
241
|
+
403: {
|
|
242
|
+
bodyMapper: Mappers.CommunicationErrorResponse,
|
|
243
|
+
isError: true,
|
|
244
|
+
},
|
|
245
|
+
429: {
|
|
246
|
+
bodyMapper: Mappers.CommunicationErrorResponse,
|
|
247
|
+
isError: true,
|
|
248
|
+
},
|
|
249
|
+
503: {
|
|
250
|
+
bodyMapper: Mappers.CommunicationErrorResponse,
|
|
251
|
+
isError: true,
|
|
252
|
+
},
|
|
253
|
+
},
|
|
254
|
+
queryParameters: [
|
|
255
|
+
Parameters.maxPageSize,
|
|
256
|
+
Parameters.skip,
|
|
257
|
+
Parameters.apiVersion,
|
|
258
|
+
],
|
|
259
|
+
urlParameters: [Parameters.endpoint, Parameters.chatThreadId],
|
|
260
|
+
headerParameters: [Parameters.accept],
|
|
261
|
+
serializer,
|
|
262
|
+
};
|
|
263
|
+
const sendChatReadReceiptOperationSpec = {
|
|
264
|
+
path: "/chat/threads/{chatThreadId}/readReceipts",
|
|
265
|
+
httpMethod: "POST",
|
|
266
|
+
responses: {
|
|
267
|
+
200: {},
|
|
268
|
+
401: {
|
|
269
|
+
bodyMapper: Mappers.CommunicationErrorResponse,
|
|
270
|
+
isError: true,
|
|
271
|
+
},
|
|
272
|
+
403: {
|
|
273
|
+
bodyMapper: Mappers.CommunicationErrorResponse,
|
|
274
|
+
isError: true,
|
|
275
|
+
},
|
|
276
|
+
429: {
|
|
277
|
+
bodyMapper: Mappers.CommunicationErrorResponse,
|
|
278
|
+
isError: true,
|
|
279
|
+
},
|
|
280
|
+
503: {
|
|
281
|
+
bodyMapper: Mappers.CommunicationErrorResponse,
|
|
282
|
+
isError: true,
|
|
283
|
+
},
|
|
284
|
+
},
|
|
285
|
+
requestBody: Parameters.sendReadReceiptRequest,
|
|
286
|
+
queryParameters: [Parameters.apiVersion],
|
|
287
|
+
urlParameters: [Parameters.endpoint, Parameters.chatThreadId],
|
|
288
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
289
|
+
mediaType: "json",
|
|
290
|
+
serializer,
|
|
291
|
+
};
|
|
292
|
+
const sendChatMessageOperationSpec = {
|
|
293
|
+
path: "/chat/threads/{chatThreadId}/messages",
|
|
294
|
+
httpMethod: "POST",
|
|
295
|
+
responses: {
|
|
296
|
+
201: {
|
|
297
|
+
bodyMapper: Mappers.SendChatMessageResult,
|
|
298
|
+
},
|
|
299
|
+
401: {
|
|
300
|
+
bodyMapper: Mappers.CommunicationErrorResponse,
|
|
301
|
+
isError: true,
|
|
302
|
+
},
|
|
303
|
+
403: {
|
|
304
|
+
bodyMapper: Mappers.CommunicationErrorResponse,
|
|
305
|
+
isError: true,
|
|
306
|
+
},
|
|
307
|
+
429: {
|
|
308
|
+
bodyMapper: Mappers.CommunicationErrorResponse,
|
|
309
|
+
isError: true,
|
|
310
|
+
},
|
|
311
|
+
503: {
|
|
312
|
+
bodyMapper: Mappers.CommunicationErrorResponse,
|
|
313
|
+
isError: true,
|
|
314
|
+
},
|
|
315
|
+
},
|
|
316
|
+
requestBody: Parameters.sendChatMessageRequest,
|
|
317
|
+
queryParameters: [Parameters.apiVersion],
|
|
318
|
+
urlParameters: [Parameters.endpoint, Parameters.chatThreadId],
|
|
319
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
320
|
+
mediaType: "json",
|
|
321
|
+
serializer,
|
|
322
|
+
};
|
|
323
|
+
const listChatMessagesOperationSpec = {
|
|
324
|
+
path: "/chat/threads/{chatThreadId}/messages",
|
|
325
|
+
httpMethod: "GET",
|
|
326
|
+
responses: {
|
|
327
|
+
200: {
|
|
328
|
+
bodyMapper: Mappers.ChatMessagesCollection,
|
|
329
|
+
},
|
|
330
|
+
401: {
|
|
331
|
+
bodyMapper: Mappers.CommunicationErrorResponse,
|
|
332
|
+
isError: true,
|
|
333
|
+
},
|
|
334
|
+
403: {
|
|
335
|
+
bodyMapper: Mappers.CommunicationErrorResponse,
|
|
336
|
+
isError: true,
|
|
337
|
+
},
|
|
338
|
+
429: {
|
|
339
|
+
bodyMapper: Mappers.CommunicationErrorResponse,
|
|
340
|
+
isError: true,
|
|
341
|
+
},
|
|
342
|
+
503: {
|
|
343
|
+
bodyMapper: Mappers.CommunicationErrorResponse,
|
|
344
|
+
isError: true,
|
|
345
|
+
},
|
|
346
|
+
},
|
|
347
|
+
queryParameters: [
|
|
348
|
+
Parameters.maxPageSize,
|
|
349
|
+
Parameters.apiVersion,
|
|
350
|
+
Parameters.startTime,
|
|
351
|
+
],
|
|
352
|
+
urlParameters: [Parameters.endpoint, Parameters.chatThreadId],
|
|
353
|
+
headerParameters: [Parameters.accept],
|
|
354
|
+
serializer,
|
|
355
|
+
};
|
|
356
|
+
const getChatMessageOperationSpec = {
|
|
357
|
+
path: "/chat/threads/{chatThreadId}/messages/{chatMessageId}",
|
|
358
|
+
httpMethod: "GET",
|
|
359
|
+
responses: {
|
|
360
|
+
200: {
|
|
361
|
+
bodyMapper: Mappers.ChatMessage,
|
|
362
|
+
},
|
|
363
|
+
401: {
|
|
364
|
+
bodyMapper: Mappers.CommunicationErrorResponse,
|
|
365
|
+
isError: true,
|
|
366
|
+
},
|
|
367
|
+
403: {
|
|
368
|
+
bodyMapper: Mappers.CommunicationErrorResponse,
|
|
369
|
+
isError: true,
|
|
370
|
+
},
|
|
371
|
+
429: {
|
|
372
|
+
bodyMapper: Mappers.CommunicationErrorResponse,
|
|
373
|
+
isError: true,
|
|
374
|
+
},
|
|
375
|
+
503: {
|
|
376
|
+
bodyMapper: Mappers.CommunicationErrorResponse,
|
|
377
|
+
isError: true,
|
|
378
|
+
},
|
|
379
|
+
},
|
|
380
|
+
queryParameters: [Parameters.apiVersion],
|
|
381
|
+
urlParameters: [
|
|
382
|
+
Parameters.endpoint,
|
|
383
|
+
Parameters.chatThreadId,
|
|
384
|
+
Parameters.chatMessageId,
|
|
385
|
+
],
|
|
386
|
+
headerParameters: [Parameters.accept],
|
|
387
|
+
serializer,
|
|
388
|
+
};
|
|
389
|
+
const updateChatMessageOperationSpec = {
|
|
390
|
+
path: "/chat/threads/{chatThreadId}/messages/{chatMessageId}",
|
|
391
|
+
httpMethod: "PATCH",
|
|
392
|
+
responses: {
|
|
393
|
+
204: {},
|
|
394
|
+
401: {
|
|
395
|
+
bodyMapper: Mappers.CommunicationErrorResponse,
|
|
396
|
+
isError: true,
|
|
397
|
+
},
|
|
398
|
+
403: {
|
|
399
|
+
bodyMapper: Mappers.CommunicationErrorResponse,
|
|
400
|
+
isError: true,
|
|
401
|
+
},
|
|
402
|
+
429: {
|
|
403
|
+
bodyMapper: Mappers.CommunicationErrorResponse,
|
|
404
|
+
isError: true,
|
|
405
|
+
},
|
|
406
|
+
503: {
|
|
407
|
+
bodyMapper: Mappers.CommunicationErrorResponse,
|
|
408
|
+
isError: true,
|
|
409
|
+
},
|
|
410
|
+
},
|
|
411
|
+
requestBody: Parameters.updateChatMessageRequest,
|
|
412
|
+
queryParameters: [Parameters.apiVersion],
|
|
413
|
+
urlParameters: [
|
|
414
|
+
Parameters.endpoint,
|
|
415
|
+
Parameters.chatThreadId,
|
|
416
|
+
Parameters.chatMessageId,
|
|
417
|
+
],
|
|
418
|
+
headerParameters: [Parameters.accept, Parameters.contentType1],
|
|
419
|
+
mediaType: "json",
|
|
420
|
+
serializer,
|
|
421
|
+
};
|
|
422
|
+
const deleteChatMessageOperationSpec = {
|
|
423
|
+
path: "/chat/threads/{chatThreadId}/messages/{chatMessageId}",
|
|
424
|
+
httpMethod: "DELETE",
|
|
425
|
+
responses: {
|
|
426
|
+
204: {},
|
|
427
|
+
401: {
|
|
428
|
+
bodyMapper: Mappers.CommunicationErrorResponse,
|
|
429
|
+
isError: true,
|
|
430
|
+
},
|
|
431
|
+
403: {
|
|
432
|
+
bodyMapper: Mappers.CommunicationErrorResponse,
|
|
433
|
+
isError: true,
|
|
434
|
+
},
|
|
435
|
+
429: {
|
|
436
|
+
bodyMapper: Mappers.CommunicationErrorResponse,
|
|
437
|
+
isError: true,
|
|
438
|
+
},
|
|
439
|
+
503: {
|
|
440
|
+
bodyMapper: Mappers.CommunicationErrorResponse,
|
|
441
|
+
isError: true,
|
|
442
|
+
},
|
|
443
|
+
},
|
|
444
|
+
queryParameters: [Parameters.apiVersion],
|
|
445
|
+
urlParameters: [
|
|
446
|
+
Parameters.endpoint,
|
|
447
|
+
Parameters.chatThreadId,
|
|
448
|
+
Parameters.chatMessageId,
|
|
449
|
+
],
|
|
450
|
+
headerParameters: [Parameters.accept],
|
|
451
|
+
serializer,
|
|
452
|
+
};
|
|
453
|
+
const listChatParticipantsOperationSpec = {
|
|
454
|
+
path: "/chat/threads/{chatThreadId}/participants",
|
|
455
|
+
httpMethod: "GET",
|
|
456
|
+
responses: {
|
|
457
|
+
200: {
|
|
458
|
+
bodyMapper: Mappers.ChatParticipantsCollection,
|
|
459
|
+
},
|
|
460
|
+
401: {
|
|
461
|
+
bodyMapper: Mappers.CommunicationErrorResponse,
|
|
462
|
+
isError: true,
|
|
463
|
+
},
|
|
464
|
+
403: {
|
|
465
|
+
bodyMapper: Mappers.CommunicationErrorResponse,
|
|
466
|
+
isError: true,
|
|
467
|
+
},
|
|
468
|
+
429: {
|
|
469
|
+
bodyMapper: Mappers.CommunicationErrorResponse,
|
|
470
|
+
isError: true,
|
|
471
|
+
},
|
|
472
|
+
503: {
|
|
473
|
+
bodyMapper: Mappers.CommunicationErrorResponse,
|
|
474
|
+
isError: true,
|
|
475
|
+
},
|
|
476
|
+
},
|
|
477
|
+
queryParameters: [
|
|
478
|
+
Parameters.maxPageSize,
|
|
479
|
+
Parameters.skip,
|
|
480
|
+
Parameters.apiVersion,
|
|
481
|
+
],
|
|
482
|
+
urlParameters: [Parameters.endpoint, Parameters.chatThreadId],
|
|
483
|
+
headerParameters: [Parameters.accept],
|
|
484
|
+
serializer,
|
|
485
|
+
};
|
|
486
|
+
const removeChatParticipantOperationSpec = {
|
|
487
|
+
path: "/chat/threads/{chatThreadId}/participants/:remove",
|
|
488
|
+
httpMethod: "POST",
|
|
489
|
+
responses: {
|
|
490
|
+
204: {},
|
|
491
|
+
401: {
|
|
492
|
+
bodyMapper: Mappers.CommunicationErrorResponse,
|
|
493
|
+
isError: true,
|
|
494
|
+
},
|
|
495
|
+
403: {
|
|
496
|
+
bodyMapper: Mappers.CommunicationErrorResponse,
|
|
497
|
+
isError: true,
|
|
498
|
+
},
|
|
499
|
+
429: {
|
|
500
|
+
bodyMapper: Mappers.CommunicationErrorResponse,
|
|
501
|
+
isError: true,
|
|
502
|
+
},
|
|
503
|
+
503: {
|
|
504
|
+
bodyMapper: Mappers.CommunicationErrorResponse,
|
|
505
|
+
isError: true,
|
|
506
|
+
},
|
|
507
|
+
},
|
|
508
|
+
requestBody: Parameters.participantCommunicationIdentifier,
|
|
509
|
+
queryParameters: [Parameters.apiVersion],
|
|
510
|
+
urlParameters: [Parameters.endpoint, Parameters.chatThreadId],
|
|
511
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
512
|
+
mediaType: "json",
|
|
513
|
+
serializer,
|
|
514
|
+
};
|
|
515
|
+
const addChatParticipantsOperationSpec = {
|
|
516
|
+
path: "/chat/threads/{chatThreadId}/participants/:add",
|
|
517
|
+
httpMethod: "POST",
|
|
518
|
+
responses: {
|
|
519
|
+
201: {
|
|
520
|
+
bodyMapper: Mappers.AddChatParticipantsResult,
|
|
521
|
+
},
|
|
522
|
+
401: {
|
|
523
|
+
bodyMapper: Mappers.CommunicationErrorResponse,
|
|
524
|
+
isError: true,
|
|
525
|
+
},
|
|
526
|
+
403: {
|
|
527
|
+
bodyMapper: Mappers.CommunicationErrorResponse,
|
|
528
|
+
isError: true,
|
|
529
|
+
},
|
|
530
|
+
429: {
|
|
531
|
+
bodyMapper: Mappers.CommunicationErrorResponse,
|
|
532
|
+
isError: true,
|
|
533
|
+
},
|
|
534
|
+
503: {
|
|
535
|
+
bodyMapper: Mappers.CommunicationErrorResponse,
|
|
536
|
+
isError: true,
|
|
537
|
+
},
|
|
538
|
+
},
|
|
539
|
+
requestBody: Parameters.addChatParticipantsRequest,
|
|
540
|
+
queryParameters: [Parameters.apiVersion],
|
|
541
|
+
urlParameters: [Parameters.endpoint, Parameters.chatThreadId],
|
|
542
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
543
|
+
mediaType: "json",
|
|
544
|
+
serializer,
|
|
545
|
+
};
|
|
546
|
+
const updateChatThreadPropertiesOperationSpec = {
|
|
547
|
+
path: "/chat/threads/{chatThreadId}",
|
|
548
|
+
httpMethod: "PATCH",
|
|
549
|
+
responses: {
|
|
550
|
+
204: {},
|
|
551
|
+
401: {
|
|
552
|
+
bodyMapper: Mappers.CommunicationErrorResponse,
|
|
553
|
+
isError: true,
|
|
554
|
+
},
|
|
555
|
+
403: {
|
|
556
|
+
bodyMapper: Mappers.CommunicationErrorResponse,
|
|
557
|
+
isError: true,
|
|
558
|
+
},
|
|
559
|
+
429: {
|
|
560
|
+
bodyMapper: Mappers.CommunicationErrorResponse,
|
|
561
|
+
isError: true,
|
|
562
|
+
},
|
|
563
|
+
503: {
|
|
564
|
+
bodyMapper: Mappers.CommunicationErrorResponse,
|
|
565
|
+
isError: true,
|
|
566
|
+
},
|
|
567
|
+
},
|
|
568
|
+
requestBody: Parameters.updateChatThreadRequest,
|
|
569
|
+
queryParameters: [Parameters.apiVersion],
|
|
570
|
+
urlParameters: [Parameters.endpoint, Parameters.chatThreadId],
|
|
571
|
+
headerParameters: [Parameters.accept, Parameters.contentType1],
|
|
572
|
+
mediaType: "json",
|
|
573
|
+
serializer,
|
|
574
|
+
};
|
|
575
|
+
const getChatThreadPropertiesOperationSpec = {
|
|
576
|
+
path: "/chat/threads/{chatThreadId}",
|
|
577
|
+
httpMethod: "GET",
|
|
578
|
+
responses: {
|
|
579
|
+
200: {
|
|
580
|
+
bodyMapper: Mappers.ChatThreadProperties,
|
|
581
|
+
},
|
|
582
|
+
401: {
|
|
583
|
+
bodyMapper: Mappers.CommunicationErrorResponse,
|
|
584
|
+
isError: true,
|
|
585
|
+
},
|
|
586
|
+
403: {
|
|
587
|
+
bodyMapper: Mappers.CommunicationErrorResponse,
|
|
588
|
+
isError: true,
|
|
589
|
+
},
|
|
590
|
+
429: {
|
|
591
|
+
bodyMapper: Mappers.CommunicationErrorResponse,
|
|
592
|
+
isError: true,
|
|
593
|
+
},
|
|
594
|
+
503: {
|
|
595
|
+
bodyMapper: Mappers.CommunicationErrorResponse,
|
|
596
|
+
isError: true,
|
|
597
|
+
},
|
|
598
|
+
},
|
|
599
|
+
queryParameters: [Parameters.apiVersion],
|
|
600
|
+
urlParameters: [Parameters.endpoint, Parameters.chatThreadId],
|
|
601
|
+
headerParameters: [Parameters.accept],
|
|
602
|
+
serializer,
|
|
603
|
+
};
|
|
604
|
+
const sendTypingNotificationOperationSpec = {
|
|
605
|
+
path: "/chat/threads/{chatThreadId}/typing",
|
|
606
|
+
httpMethod: "POST",
|
|
607
|
+
responses: {
|
|
608
|
+
200: {},
|
|
609
|
+
401: {
|
|
610
|
+
bodyMapper: Mappers.CommunicationErrorResponse,
|
|
611
|
+
isError: true,
|
|
612
|
+
},
|
|
613
|
+
403: {
|
|
614
|
+
bodyMapper: Mappers.CommunicationErrorResponse,
|
|
615
|
+
isError: true,
|
|
616
|
+
},
|
|
617
|
+
429: {
|
|
618
|
+
bodyMapper: Mappers.CommunicationErrorResponse,
|
|
619
|
+
isError: true,
|
|
620
|
+
},
|
|
621
|
+
503: {
|
|
622
|
+
bodyMapper: Mappers.CommunicationErrorResponse,
|
|
623
|
+
isError: true,
|
|
624
|
+
},
|
|
625
|
+
},
|
|
626
|
+
requestBody: Parameters.sendTypingNotificationRequest,
|
|
627
|
+
queryParameters: [Parameters.apiVersion],
|
|
628
|
+
urlParameters: [Parameters.endpoint, Parameters.chatThreadId],
|
|
629
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
630
|
+
mediaType: "json",
|
|
631
|
+
serializer,
|
|
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
|
+
};
|
|
697
|
+
const listChatReadReceiptsNextOperationSpec = {
|
|
698
|
+
path: "{nextLink}",
|
|
699
|
+
httpMethod: "GET",
|
|
700
|
+
responses: {
|
|
701
|
+
200: {
|
|
702
|
+
bodyMapper: Mappers.ChatMessageReadReceiptsCollection,
|
|
703
|
+
},
|
|
704
|
+
401: {
|
|
705
|
+
bodyMapper: Mappers.CommunicationErrorResponse,
|
|
706
|
+
isError: true,
|
|
707
|
+
},
|
|
708
|
+
403: {
|
|
709
|
+
bodyMapper: Mappers.CommunicationErrorResponse,
|
|
710
|
+
isError: true,
|
|
711
|
+
},
|
|
712
|
+
429: {
|
|
713
|
+
bodyMapper: Mappers.CommunicationErrorResponse,
|
|
714
|
+
isError: true,
|
|
715
|
+
},
|
|
716
|
+
503: {
|
|
717
|
+
bodyMapper: Mappers.CommunicationErrorResponse,
|
|
718
|
+
isError: true,
|
|
719
|
+
},
|
|
720
|
+
},
|
|
721
|
+
urlParameters: [
|
|
722
|
+
Parameters.endpoint,
|
|
723
|
+
Parameters.chatThreadId,
|
|
724
|
+
Parameters.nextLink,
|
|
725
|
+
],
|
|
726
|
+
headerParameters: [Parameters.accept],
|
|
727
|
+
serializer,
|
|
728
|
+
};
|
|
729
|
+
const listChatMessagesNextOperationSpec = {
|
|
730
|
+
path: "{nextLink}",
|
|
731
|
+
httpMethod: "GET",
|
|
732
|
+
responses: {
|
|
733
|
+
200: {
|
|
734
|
+
bodyMapper: Mappers.ChatMessagesCollection,
|
|
735
|
+
},
|
|
736
|
+
401: {
|
|
737
|
+
bodyMapper: Mappers.CommunicationErrorResponse,
|
|
738
|
+
isError: true,
|
|
739
|
+
},
|
|
740
|
+
403: {
|
|
741
|
+
bodyMapper: Mappers.CommunicationErrorResponse,
|
|
742
|
+
isError: true,
|
|
743
|
+
},
|
|
744
|
+
429: {
|
|
745
|
+
bodyMapper: Mappers.CommunicationErrorResponse,
|
|
746
|
+
isError: true,
|
|
747
|
+
},
|
|
748
|
+
503: {
|
|
749
|
+
bodyMapper: Mappers.CommunicationErrorResponse,
|
|
750
|
+
isError: true,
|
|
751
|
+
},
|
|
752
|
+
},
|
|
753
|
+
urlParameters: [
|
|
754
|
+
Parameters.endpoint,
|
|
755
|
+
Parameters.chatThreadId,
|
|
756
|
+
Parameters.nextLink,
|
|
757
|
+
],
|
|
758
|
+
headerParameters: [Parameters.accept],
|
|
759
|
+
serializer,
|
|
760
|
+
};
|
|
761
|
+
const listChatParticipantsNextOperationSpec = {
|
|
762
|
+
path: "{nextLink}",
|
|
763
|
+
httpMethod: "GET",
|
|
764
|
+
responses: {
|
|
765
|
+
200: {
|
|
766
|
+
bodyMapper: Mappers.ChatParticipantsCollection,
|
|
767
|
+
},
|
|
768
|
+
401: {
|
|
769
|
+
bodyMapper: Mappers.CommunicationErrorResponse,
|
|
770
|
+
isError: true,
|
|
771
|
+
},
|
|
772
|
+
403: {
|
|
773
|
+
bodyMapper: Mappers.CommunicationErrorResponse,
|
|
774
|
+
isError: true,
|
|
775
|
+
},
|
|
776
|
+
429: {
|
|
777
|
+
bodyMapper: Mappers.CommunicationErrorResponse,
|
|
778
|
+
isError: true,
|
|
779
|
+
},
|
|
780
|
+
503: {
|
|
781
|
+
bodyMapper: Mappers.CommunicationErrorResponse,
|
|
782
|
+
isError: true,
|
|
783
|
+
},
|
|
784
|
+
},
|
|
785
|
+
urlParameters: [
|
|
786
|
+
Parameters.endpoint,
|
|
787
|
+
Parameters.chatThreadId,
|
|
788
|
+
Parameters.nextLink,
|
|
789
|
+
],
|
|
790
|
+
headerParameters: [Parameters.accept],
|
|
791
|
+
serializer,
|
|
792
|
+
};
|
|
793
|
+
//# sourceMappingURL=chatThread.js.map
|