@azure/arm-support 2.1.1-alpha.20231017.1 → 2.2.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +111 -10
- package/README.md +1 -1
- package/dist/index.js +2451 -300
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/chatTranscriptsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/chatTranscriptsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/chatTranscriptsGetSample.js +38 -0
- package/dist-esm/samples-dev/chatTranscriptsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/chatTranscriptsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/chatTranscriptsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/{getsListOfProblemClassificationsForAServiceForWhichASupportTicketCanBeCreated.js → chatTranscriptsListSample.js} +18 -11
- package/dist-esm/samples-dev/chatTranscriptsListSample.js.map +1 -0
- package/dist-esm/samples-dev/chatTranscriptsNoSubscriptionGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/chatTranscriptsNoSubscriptionGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/chatTranscriptsNoSubscriptionGetSample.js +37 -0
- package/dist-esm/samples-dev/chatTranscriptsNoSubscriptionGetSample.js.map +1 -0
- package/dist-esm/samples-dev/communicationsCheckNameAvailabilitySample.js +1 -1
- package/dist-esm/samples-dev/communicationsCreateSample.js +1 -1
- package/dist-esm/samples-dev/communicationsGetSample.js +1 -1
- package/dist-esm/samples-dev/communicationsListSample.js +3 -3
- package/dist-esm/samples-dev/communicationsNoSubscriptionCheckNameAvailabilitySample.d.ts +2 -0
- package/dist-esm/samples-dev/communicationsNoSubscriptionCheckNameAvailabilitySample.d.ts.map +1 -0
- package/dist-esm/samples-dev/{checksWhetherNameIsAvailableForCommunicationResource.js → communicationsNoSubscriptionCheckNameAvailabilitySample.js} +15 -7
- package/dist-esm/samples-dev/communicationsNoSubscriptionCheckNameAvailabilitySample.js.map +1 -0
- package/dist-esm/samples-dev/communicationsNoSubscriptionCreateSample.d.ts +2 -0
- package/dist-esm/samples-dev/communicationsNoSubscriptionCreateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/{addCommunicationToSubscriptionTicket.js → communicationsNoSubscriptionCreateSample.js} +15 -9
- package/dist-esm/samples-dev/communicationsNoSubscriptionCreateSample.js.map +1 -0
- package/dist-esm/samples-dev/communicationsNoSubscriptionGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/communicationsNoSubscriptionGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/{getCommunicationDetailsForASubscriptionSupportTicket.js → communicationsNoSubscriptionGetSample.js} +15 -9
- package/dist-esm/samples-dev/communicationsNoSubscriptionGetSample.js.map +1 -0
- package/dist-esm/samples-dev/fileWorkspacesCreateSample.d.ts +2 -0
- package/dist-esm/samples-dev/fileWorkspacesCreateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/fileWorkspacesCreateSample.js +37 -0
- package/dist-esm/samples-dev/fileWorkspacesCreateSample.js.map +1 -0
- package/dist-esm/samples-dev/fileWorkspacesGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/fileWorkspacesGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/fileWorkspacesGetSample.js +37 -0
- package/dist-esm/samples-dev/fileWorkspacesGetSample.js.map +1 -0
- package/dist-esm/samples-dev/fileWorkspacesNoSubscriptionCreateSample.d.ts +2 -0
- package/dist-esm/samples-dev/fileWorkspacesNoSubscriptionCreateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/fileWorkspacesNoSubscriptionCreateSample.js +36 -0
- package/dist-esm/samples-dev/fileWorkspacesNoSubscriptionCreateSample.js.map +1 -0
- package/dist-esm/samples-dev/fileWorkspacesNoSubscriptionGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/fileWorkspacesNoSubscriptionGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/fileWorkspacesNoSubscriptionGetSample.js +36 -0
- package/dist-esm/samples-dev/fileWorkspacesNoSubscriptionGetSample.js.map +1 -0
- package/dist-esm/samples-dev/filesCreateSample.d.ts +2 -0
- package/dist-esm/samples-dev/filesCreateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/filesCreateSample.js +43 -0
- package/dist-esm/samples-dev/filesCreateSample.js.map +1 -0
- package/dist-esm/samples-dev/filesGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/filesGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/filesGetSample.js +38 -0
- package/dist-esm/samples-dev/filesGetSample.js.map +1 -0
- package/dist-esm/samples-dev/filesListSample.d.ts +2 -0
- package/dist-esm/samples-dev/filesListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/{getAllOperations.js → filesListSample.js} +18 -10
- package/dist-esm/samples-dev/filesListSample.js.map +1 -0
- package/dist-esm/samples-dev/filesNoSubscriptionCreateSample.d.ts +2 -0
- package/dist-esm/samples-dev/filesNoSubscriptionCreateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/filesNoSubscriptionCreateSample.js +42 -0
- package/dist-esm/samples-dev/filesNoSubscriptionCreateSample.js.map +1 -0
- package/dist-esm/samples-dev/filesNoSubscriptionGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/filesNoSubscriptionGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/filesNoSubscriptionGetSample.js +37 -0
- package/dist-esm/samples-dev/filesNoSubscriptionGetSample.js.map +1 -0
- package/dist-esm/samples-dev/filesNoSubscriptionListSample.d.ts +2 -0
- package/dist-esm/samples-dev/filesNoSubscriptionListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/filesNoSubscriptionListSample.js +57 -0
- package/dist-esm/samples-dev/filesNoSubscriptionListSample.js.map +1 -0
- package/dist-esm/samples-dev/filesNoSubscriptionUploadSample.d.ts +2 -0
- package/dist-esm/samples-dev/filesNoSubscriptionUploadSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/filesNoSubscriptionUploadSample.js +41 -0
- package/dist-esm/samples-dev/filesNoSubscriptionUploadSample.js.map +1 -0
- package/dist-esm/samples-dev/filesUploadSample.d.ts +2 -0
- package/dist-esm/samples-dev/filesUploadSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/filesUploadSample.js +42 -0
- package/dist-esm/samples-dev/filesUploadSample.js.map +1 -0
- package/dist-esm/samples-dev/operationsListSample.js +1 -1
- package/dist-esm/samples-dev/problemClassificationsGetSample.js +2 -4
- package/dist-esm/samples-dev/problemClassificationsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/problemClassificationsListSample.js +2 -4
- package/dist-esm/samples-dev/problemClassificationsListSample.js.map +1 -1
- package/dist-esm/samples-dev/servicesGetSample.js +2 -4
- package/dist-esm/samples-dev/servicesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/servicesListSample.js +2 -4
- package/dist-esm/samples-dev/servicesListSample.js.map +1 -1
- package/dist-esm/samples-dev/supportTicketChatTranscriptsNoSubscriptionListSample.d.ts +2 -0
- package/dist-esm/samples-dev/supportTicketChatTranscriptsNoSubscriptionListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/{listSupportTicketsForASubscription.js → supportTicketChatTranscriptsNoSubscriptionListSample.js} +18 -11
- package/dist-esm/samples-dev/supportTicketChatTranscriptsNoSubscriptionListSample.js.map +1 -0
- package/dist-esm/samples-dev/supportTicketCommunicationsNoSubscriptionListSample.d.ts +2 -0
- package/dist-esm/samples-dev/supportTicketCommunicationsNoSubscriptionListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/supportTicketCommunicationsNoSubscriptionListSample.js +139 -0
- package/dist-esm/samples-dev/supportTicketCommunicationsNoSubscriptionListSample.js.map +1 -0
- package/dist-esm/samples-dev/supportTicketsCheckNameAvailabilitySample.js +1 -1
- package/dist-esm/samples-dev/supportTicketsCreateSample.js +54 -17
- package/dist-esm/samples-dev/supportTicketsCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/supportTicketsGetSample.js +1 -1
- package/dist-esm/samples-dev/supportTicketsListSample.js +170 -14
- package/dist-esm/samples-dev/supportTicketsListSample.js.map +1 -1
- package/dist-esm/samples-dev/supportTicketsNoSubscriptionCheckNameAvailabilitySample.d.ts +2 -0
- package/dist-esm/samples-dev/supportTicketsNoSubscriptionCheckNameAvailabilitySample.d.ts.map +1 -0
- package/dist-esm/samples-dev/{checksWhetherNameIsAvailableForSupportTicketResource.js → supportTicketsNoSubscriptionCheckNameAvailabilitySample.js} +15 -7
- package/dist-esm/samples-dev/supportTicketsNoSubscriptionCheckNameAvailabilitySample.js.map +1 -0
- package/dist-esm/samples-dev/supportTicketsNoSubscriptionCreateSample.d.ts +2 -0
- package/dist-esm/samples-dev/supportTicketsNoSubscriptionCreateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/supportTicketsNoSubscriptionCreateSample.js +127 -0
- package/dist-esm/samples-dev/supportTicketsNoSubscriptionCreateSample.js.map +1 -0
- package/dist-esm/samples-dev/supportTicketsNoSubscriptionGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/supportTicketsNoSubscriptionGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/supportTicketsNoSubscriptionGetSample.js +36 -0
- package/dist-esm/samples-dev/supportTicketsNoSubscriptionGetSample.js.map +1 -0
- package/dist-esm/samples-dev/supportTicketsNoSubscriptionListSample.d.ts +2 -0
- package/dist-esm/samples-dev/supportTicketsNoSubscriptionListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/supportTicketsNoSubscriptionListSample.js +284 -0
- package/dist-esm/samples-dev/supportTicketsNoSubscriptionListSample.js.map +1 -0
- package/dist-esm/samples-dev/supportTicketsNoSubscriptionUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/supportTicketsNoSubscriptionUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/supportTicketsNoSubscriptionUpdateSample.js +102 -0
- package/dist-esm/samples-dev/supportTicketsNoSubscriptionUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/supportTicketsUpdateSample.js +29 -9
- package/dist-esm/samples-dev/supportTicketsUpdateSample.js.map +1 -1
- package/dist-esm/src/lroImpl.d.ts +6 -11
- package/dist-esm/src/lroImpl.d.ts.map +1 -1
- package/dist-esm/src/lroImpl.js +12 -20
- package/dist-esm/src/lroImpl.js.map +1 -1
- package/dist-esm/src/microsoftSupport.d.ts +13 -2
- package/dist-esm/src/microsoftSupport.d.ts.map +1 -1
- package/dist-esm/src/microsoftSupport.js +20 -12
- package/dist-esm/src/microsoftSupport.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +431 -23
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +32 -0
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +17 -3
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +443 -19
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +6 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +53 -2
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/chatTranscripts.d.ts +42 -0
- package/dist-esm/src/operations/chatTranscripts.d.ts.map +1 -0
- package/dist-esm/src/operations/chatTranscripts.js +180 -0
- package/dist-esm/src/operations/chatTranscripts.js.map +1 -0
- package/dist-esm/src/operations/chatTranscriptsNoSubscription.d.ts +20 -0
- package/dist-esm/src/operations/chatTranscriptsNoSubscription.d.ts.map +1 -0
- package/dist-esm/src/operations/chatTranscriptsNoSubscription.js +52 -0
- package/dist-esm/src/operations/chatTranscriptsNoSubscription.js.map +1 -0
- package/dist-esm/src/operations/communications.d.ts +2 -2
- package/dist-esm/src/operations/communications.d.ts.map +1 -1
- package/dist-esm/src/operations/communications.js +21 -17
- package/dist-esm/src/operations/communications.js.map +1 -1
- package/dist-esm/src/operations/communicationsNoSubscription.d.ts +45 -0
- package/dist-esm/src/operations/communicationsNoSubscription.d.ts.map +1 -0
- package/dist-esm/src/operations/communicationsNoSubscription.js +177 -0
- package/dist-esm/src/operations/communicationsNoSubscription.js.map +1 -0
- package/dist-esm/src/operations/fileWorkspaces.d.ts +25 -0
- package/dist-esm/src/operations/fileWorkspaces.d.ts.map +1 -0
- package/dist-esm/src/operations/fileWorkspaces.js +79 -0
- package/dist-esm/src/operations/fileWorkspaces.js.map +1 -0
- package/dist-esm/src/operations/fileWorkspacesNoSubscription.d.ts +25 -0
- package/dist-esm/src/operations/fileWorkspacesNoSubscription.d.ts.map +1 -0
- package/dist-esm/src/operations/fileWorkspacesNoSubscription.js +71 -0
- package/dist-esm/src/operations/fileWorkspacesNoSubscription.js.map +1 -0
- package/dist-esm/src/operations/files.d.ts +58 -0
- package/dist-esm/src/operations/files.d.ts.map +1 -0
- package/dist-esm/src/operations/files.js +244 -0
- package/dist-esm/src/operations/files.js.map +1 -0
- package/dist-esm/src/operations/filesNoSubscription.d.ts +58 -0
- package/dist-esm/src/operations/filesNoSubscription.d.ts.map +1 -0
- package/dist-esm/src/operations/filesNoSubscription.js +236 -0
- package/dist-esm/src/operations/filesNoSubscription.js.map +1 -0
- package/dist-esm/src/operations/index.d.ts +10 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -1
- package/dist-esm/src/operations/index.js +10 -0
- package/dist-esm/src/operations/index.js.map +1 -1
- package/dist-esm/src/operations/operations.js +1 -1
- package/dist-esm/src/operations/operations.js.map +1 -1
- package/dist-esm/src/operations/problemClassifications.js +2 -2
- package/dist-esm/src/operations/problemClassifications.js.map +1 -1
- package/dist-esm/src/operations/services.js +2 -2
- package/dist-esm/src/operations/services.js.map +1 -1
- package/dist-esm/src/operations/supportTicketChatTranscriptsNoSubscription.d.ts +35 -0
- package/dist-esm/src/operations/supportTicketChatTranscriptsNoSubscription.d.ts.map +1 -0
- package/dist-esm/src/operations/supportTicketChatTranscriptsNoSubscription.js +145 -0
- package/dist-esm/src/operations/supportTicketChatTranscriptsNoSubscription.js.map +1 -0
- package/dist-esm/src/operations/supportTicketCommunicationsNoSubscription.d.ts +45 -0
- package/dist-esm/src/operations/supportTicketCommunicationsNoSubscription.d.ts.map +1 -0
- package/dist-esm/src/operations/supportTicketCommunicationsNoSubscription.js +155 -0
- package/dist-esm/src/operations/supportTicketCommunicationsNoSubscription.js.map +1 -0
- package/dist-esm/src/operations/supportTickets.d.ts +15 -17
- package/dist-esm/src/operations/supportTickets.d.ts.map +1 -1
- package/dist-esm/src/operations/supportTickets.js +30 -28
- package/dist-esm/src/operations/supportTickets.js.map +1 -1
- package/dist-esm/src/operations/supportTicketsNoSubscription.d.ts +98 -0
- package/dist-esm/src/operations/supportTicketsNoSubscription.d.ts.map +1 -0
- package/dist-esm/src/operations/supportTicketsNoSubscription.js +332 -0
- package/dist-esm/src/operations/supportTicketsNoSubscription.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/chatTranscripts.d.ts +19 -0
- package/dist-esm/src/operationsInterfaces/chatTranscripts.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/chatTranscripts.js +9 -0
- package/dist-esm/src/operationsInterfaces/chatTranscripts.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/chatTranscriptsNoSubscription.d.ts +12 -0
- package/dist-esm/src/operationsInterfaces/chatTranscriptsNoSubscription.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/chatTranscriptsNoSubscription.js +9 -0
- package/dist-esm/src/operationsInterfaces/chatTranscriptsNoSubscription.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/communications.d.ts +2 -2
- package/dist-esm/src/operationsInterfaces/communications.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/communicationsNoSubscription.d.ts +37 -0
- package/dist-esm/src/operationsInterfaces/communicationsNoSubscription.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/communicationsNoSubscription.js +9 -0
- package/dist-esm/src/operationsInterfaces/communicationsNoSubscription.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/fileWorkspaces.d.ts +17 -0
- package/dist-esm/src/operationsInterfaces/fileWorkspaces.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/fileWorkspaces.js +9 -0
- package/dist-esm/src/operationsInterfaces/fileWorkspaces.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/fileWorkspacesNoSubscription.d.ts +17 -0
- package/dist-esm/src/operationsInterfaces/fileWorkspacesNoSubscription.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/fileWorkspacesNoSubscription.js +9 -0
- package/dist-esm/src/operationsInterfaces/fileWorkspacesNoSubscription.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/files.d.ts +35 -0
- package/dist-esm/src/operationsInterfaces/files.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/files.js +9 -0
- package/dist-esm/src/operationsInterfaces/files.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/filesNoSubscription.d.ts +35 -0
- package/dist-esm/src/operationsInterfaces/filesNoSubscription.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/filesNoSubscription.js +9 -0
- package/dist-esm/src/operationsInterfaces/filesNoSubscription.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +10 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.js +10 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/supportTicketChatTranscriptsNoSubscription.d.ts +12 -0
- package/dist-esm/src/operationsInterfaces/supportTicketChatTranscriptsNoSubscription.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/supportTicketChatTranscriptsNoSubscription.js +9 -0
- package/dist-esm/src/operationsInterfaces/supportTicketChatTranscriptsNoSubscription.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/supportTicketCommunicationsNoSubscription.d.ts +17 -0
- package/dist-esm/src/operationsInterfaces/supportTicketCommunicationsNoSubscription.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/supportTicketCommunicationsNoSubscription.js +9 -0
- package/dist-esm/src/operationsInterfaces/supportTicketCommunicationsNoSubscription.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/supportTickets.d.ts +11 -13
- package/dist-esm/src/operationsInterfaces/supportTickets.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/supportTicketsNoSubscription.d.ts +73 -0
- package/dist-esm/src/operationsInterfaces/supportTicketsNoSubscription.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/supportTicketsNoSubscription.js +9 -0
- package/dist-esm/src/operationsInterfaces/supportTicketsNoSubscription.js.map +1 -0
- package/dist-esm/test/support_operations_test.spec.d.ts +4 -0
- package/dist-esm/test/support_operations_test.spec.d.ts.map +1 -0
- package/dist-esm/test/support_operations_test.spec.js +78 -0
- package/dist-esm/test/support_operations_test.spec.js.map +1 -0
- package/package.json +16 -10
- package/review/arm-support.api.md +464 -19
- package/src/lroImpl.ts +31 -23
- package/src/microsoftSupport.ts +73 -7
- package/src/models/index.ts +513 -23
- package/src/models/mappers.ts +473 -19
- package/src/models/parameters.ts +61 -2
- package/src/operations/chatTranscripts.ts +215 -0
- package/src/operations/chatTranscriptsNoSubscription.ts +72 -0
- package/src/operations/communications.ts +25 -18
- package/src/operations/communicationsNoSubscription.ts +254 -0
- package/src/operations/fileWorkspaces.ts +107 -0
- package/src/operations/fileWorkspacesNoSubscription.ts +98 -0
- package/src/operations/files.ts +303 -0
- package/src/operations/filesNoSubscription.ts +294 -0
- package/src/operations/index.ts +10 -0
- package/src/operations/operations.ts +1 -1
- package/src/operations/problemClassifications.ts +2 -2
- package/src/operations/services.ts +2 -2
- package/src/operations/supportTicketChatTranscriptsNoSubscription.ts +170 -0
- package/src/operations/supportTicketCommunicationsNoSubscription.ts +180 -0
- package/src/operations/supportTickets.ts +39 -34
- package/src/operations/supportTicketsNoSubscription.ts +415 -0
- package/src/operationsInterfaces/chatTranscripts.ts +40 -0
- package/src/operationsInterfaces/chatTranscriptsNoSubscription.ts +27 -0
- package/src/operationsInterfaces/communications.ts +3 -3
- package/src/operationsInterfaces/communicationsNoSubscription.ts +77 -0
- package/src/operationsInterfaces/fileWorkspaces.ts +36 -0
- package/src/operationsInterfaces/fileWorkspacesNoSubscription.ts +36 -0
- package/src/operationsInterfaces/files.ts +70 -0
- package/src/operationsInterfaces/filesNoSubscription.ts +70 -0
- package/src/operationsInterfaces/index.ts +10 -0
- package/src/operationsInterfaces/supportTicketChatTranscriptsNoSubscription.ts +27 -0
- package/src/operationsInterfaces/supportTicketCommunicationsNoSubscription.ts +32 -0
- package/src/operationsInterfaces/supportTickets.ts +12 -14
- package/src/operationsInterfaces/supportTicketsNoSubscription.ts +120 -0
- package/types/arm-support.d.ts +805 -50
- package/dist-esm/samples-dev/addCommunicationToSubscriptionTicket.d.ts +0 -2
- package/dist-esm/samples-dev/addCommunicationToSubscriptionTicket.d.ts.map +0 -1
- package/dist-esm/samples-dev/addCommunicationToSubscriptionTicket.js.map +0 -1
- package/dist-esm/samples-dev/checksWhetherNameIsAvailableForCommunicationResource.d.ts +0 -2
- package/dist-esm/samples-dev/checksWhetherNameIsAvailableForCommunicationResource.d.ts.map +0 -1
- package/dist-esm/samples-dev/checksWhetherNameIsAvailableForCommunicationResource.js.map +0 -1
- package/dist-esm/samples-dev/checksWhetherNameIsAvailableForSupportTicketResource.d.ts +0 -2
- package/dist-esm/samples-dev/checksWhetherNameIsAvailableForSupportTicketResource.d.ts.map +0 -1
- package/dist-esm/samples-dev/checksWhetherNameIsAvailableForSupportTicketResource.js.map +0 -1
- package/dist-esm/samples-dev/createATicketForBillingRelatedIssues.d.ts +0 -2
- package/dist-esm/samples-dev/createATicketForBillingRelatedIssues.d.ts.map +0 -1
- package/dist-esm/samples-dev/createATicketForBillingRelatedIssues.js +0 -46
- package/dist-esm/samples-dev/createATicketForBillingRelatedIssues.js.map +0 -1
- package/dist-esm/samples-dev/createATicketForSubscriptionManagementRelatedIssues.d.ts +0 -2
- package/dist-esm/samples-dev/createATicketForSubscriptionManagementRelatedIssues.d.ts.map +0 -1
- package/dist-esm/samples-dev/createATicketForSubscriptionManagementRelatedIssues.js +0 -46
- package/dist-esm/samples-dev/createATicketForSubscriptionManagementRelatedIssues.js.map +0 -1
- package/dist-esm/samples-dev/createATicketForTechnicalIssueRelatedToASpecificResource.d.ts +0 -2
- package/dist-esm/samples-dev/createATicketForTechnicalIssueRelatedToASpecificResource.d.ts.map +0 -1
- package/dist-esm/samples-dev/createATicketForTechnicalIssueRelatedToASpecificResource.js +0 -49
- package/dist-esm/samples-dev/createATicketForTechnicalIssueRelatedToASpecificResource.js.map +0 -1
- package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForActiveJobsAndJobSchedulesForABatchAccount.d.ts +0 -2
- package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForActiveJobsAndJobSchedulesForABatchAccount.d.ts.map +0 -1
- package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForActiveJobsAndJobSchedulesForABatchAccount.js +0 -56
- package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForActiveJobsAndJobSchedulesForABatchAccount.js.map +0 -1
- package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForAzureSqlManagedInstance.d.ts +0 -2
- package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForAzureSqlManagedInstance.d.ts.map +0 -1
- package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForAzureSqlManagedInstance.js +0 -60
- package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForAzureSqlManagedInstance.js.map +0 -1
- package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForBatchAccountsForASubscription.d.ts +0 -2
- package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForBatchAccountsForASubscription.d.ts.map +0 -1
- package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForBatchAccountsForASubscription.js +0 -53
- package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForBatchAccountsForASubscription.js.map +0 -1
- package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForComputeVMCores.d.ts +0 -2
- package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForComputeVMCores.d.ts.map +0 -1
- package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForComputeVMCores.js +0 -52
- package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForComputeVMCores.js.map +0 -1
- package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForDtUsForAzureSynapseAnalytics.d.ts +0 -2
- package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForDtUsForAzureSynapseAnalytics.d.ts.map +0 -1
- package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForDtUsForAzureSynapseAnalytics.js +0 -56
- package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForDtUsForAzureSynapseAnalytics.js.map +0 -1
- package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForDtUsForSqlDatabase.d.ts +0 -2
- package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForDtUsForSqlDatabase.d.ts.map +0 -1
- package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForDtUsForSqlDatabase.js +0 -56
- package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForDtUsForSqlDatabase.js.map +0 -1
- package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForLowPriorityCoresForABatchAccount.d.ts +0 -2
- package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForLowPriorityCoresForABatchAccount.d.ts.map +0 -1
- package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForLowPriorityCoresForABatchAccount.js +0 -56
- package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForLowPriorityCoresForABatchAccount.js.map +0 -1
- package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForLowPriorityCoresForMachineLearningService.d.ts +0 -2
- package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForLowPriorityCoresForMachineLearningService.d.ts.map +0 -1
- package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForLowPriorityCoresForMachineLearningService.js +0 -53
- package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForLowPriorityCoresForMachineLearningService.js.map +0 -1
- package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForPoolsForABatchAccount.d.ts +0 -2
- package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForPoolsForABatchAccount.d.ts.map +0 -1
- package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForPoolsForABatchAccount.js +0 -56
- package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForPoolsForABatchAccount.js.map +0 -1
- package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForServersForAzureSynapseAnalytics.d.ts +0 -2
- package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForServersForAzureSynapseAnalytics.d.ts.map +0 -1
- package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForServersForAzureSynapseAnalytics.js +0 -51
- package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForServersForAzureSynapseAnalytics.js.map +0 -1
- package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForServersForSqlDatabase.d.ts +0 -2
- package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForServersForSqlDatabase.d.ts.map +0 -1
- package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForServersForSqlDatabase.js +0 -51
- package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForServersForSqlDatabase.js.map +0 -1
- package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForServicesThatDoNotRequireAdditionalDetailsInTheQuotaTicketDetailsObject.d.ts +0 -2
- package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForServicesThatDoNotRequireAdditionalDetailsInTheQuotaTicketDetailsObject.d.ts.map +0 -1
- package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForServicesThatDoNotRequireAdditionalDetailsInTheQuotaTicketDetailsObject.js +0 -46
- package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForServicesThatDoNotRequireAdditionalDetailsInTheQuotaTicketDetailsObject.js.map +0 -1
- package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForSpecificVMFamilyCoresForABatchAccount.d.ts +0 -2
- package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForSpecificVMFamilyCoresForABatchAccount.d.ts.map +0 -1
- package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForSpecificVMFamilyCoresForABatchAccount.js +0 -56
- package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForSpecificVMFamilyCoresForABatchAccount.js.map +0 -1
- package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForSpecificVMFamilyCoresForMachineLearningService.d.ts +0 -2
- package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForSpecificVMFamilyCoresForMachineLearningService.d.ts.map +0 -1
- package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForSpecificVMFamilyCoresForMachineLearningService.js +0 -56
- package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForSpecificVMFamilyCoresForMachineLearningService.js.map +0 -1
- package/dist-esm/samples-dev/getAllOperations.d.ts +0 -2
- package/dist-esm/samples-dev/getAllOperations.d.ts.map +0 -1
- package/dist-esm/samples-dev/getAllOperations.js.map +0 -1
- package/dist-esm/samples-dev/getCommunicationDetailsForASubscriptionSupportTicket.d.ts +0 -2
- package/dist-esm/samples-dev/getCommunicationDetailsForASubscriptionSupportTicket.d.ts.map +0 -1
- package/dist-esm/samples-dev/getCommunicationDetailsForASubscriptionSupportTicket.js.map +0 -1
- package/dist-esm/samples-dev/getDetailsOfASubscriptionTicket.d.ts +0 -2
- package/dist-esm/samples-dev/getDetailsOfASubscriptionTicket.d.ts.map +0 -1
- package/dist-esm/samples-dev/getDetailsOfASubscriptionTicket.js +0 -30
- package/dist-esm/samples-dev/getDetailsOfASubscriptionTicket.js.map +0 -1
- package/dist-esm/samples-dev/getsDetailsOfProblemClassificationForAzureService.d.ts +0 -2
- package/dist-esm/samples-dev/getsDetailsOfProblemClassificationForAzureService.d.ts.map +0 -1
- package/dist-esm/samples-dev/getsDetailsOfProblemClassificationForAzureService.js +0 -31
- package/dist-esm/samples-dev/getsDetailsOfProblemClassificationForAzureService.js.map +0 -1
- package/dist-esm/samples-dev/getsDetailsOfTheAzureService.d.ts +0 -2
- package/dist-esm/samples-dev/getsDetailsOfTheAzureService.d.ts.map +0 -1
- package/dist-esm/samples-dev/getsDetailsOfTheAzureService.js +0 -30
- package/dist-esm/samples-dev/getsDetailsOfTheAzureService.js.map +0 -1
- package/dist-esm/samples-dev/getsListOfProblemClassificationsForAServiceForWhichASupportTicketCanBeCreated.d.ts +0 -2
- package/dist-esm/samples-dev/getsListOfProblemClassificationsForAServiceForWhichASupportTicketCanBeCreated.d.ts.map +0 -1
- package/dist-esm/samples-dev/getsListOfProblemClassificationsForAServiceForWhichASupportTicketCanBeCreated.js.map +0 -1
- package/dist-esm/samples-dev/getsListOfServicesForWhichASupportTicketCanBeCreated.d.ts +0 -2
- package/dist-esm/samples-dev/getsListOfServicesForWhichASupportTicketCanBeCreated.d.ts.map +0 -1
- package/dist-esm/samples-dev/getsListOfServicesForWhichASupportTicketCanBeCreated.js +0 -50
- package/dist-esm/samples-dev/getsListOfServicesForWhichASupportTicketCanBeCreated.js.map +0 -1
- package/dist-esm/samples-dev/listCommunicationsForASubscriptionSupportTicket.d.ts +0 -2
- package/dist-esm/samples-dev/listCommunicationsForASubscriptionSupportTicket.d.ts.map +0 -1
- package/dist-esm/samples-dev/listCommunicationsForASubscriptionSupportTicket.js +0 -51
- package/dist-esm/samples-dev/listCommunicationsForASubscriptionSupportTicket.js.map +0 -1
- package/dist-esm/samples-dev/listSupportTicketsCreatedOnOrAfterACertainDateAndInOpenStateForASubscription.d.ts +0 -2
- package/dist-esm/samples-dev/listSupportTicketsCreatedOnOrAfterACertainDateAndInOpenStateForASubscription.d.ts.map +0 -1
- package/dist-esm/samples-dev/listSupportTicketsCreatedOnOrAfterACertainDateAndInOpenStateForASubscription.js +0 -52
- package/dist-esm/samples-dev/listSupportTicketsCreatedOnOrAfterACertainDateAndInOpenStateForASubscription.js.map +0 -1
- package/dist-esm/samples-dev/listSupportTicketsForASubscription.d.ts +0 -2
- package/dist-esm/samples-dev/listSupportTicketsForASubscription.d.ts.map +0 -1
- package/dist-esm/samples-dev/listSupportTicketsForASubscription.js.map +0 -1
- package/dist-esm/samples-dev/listSupportTicketsInOpenStateForASubscription.d.ts +0 -2
- package/dist-esm/samples-dev/listSupportTicketsInOpenStateForASubscription.d.ts.map +0 -1
- package/dist-esm/samples-dev/listSupportTicketsInOpenStateForASubscription.js +0 -52
- package/dist-esm/samples-dev/listSupportTicketsInOpenStateForASubscription.js.map +0 -1
- package/dist-esm/samples-dev/listWebCommunicationCreatedOnOrAfterASpecificDateForASubscriptionSupportTicket.d.ts +0 -2
- package/dist-esm/samples-dev/listWebCommunicationCreatedOnOrAfterASpecificDateForASubscriptionSupportTicket.d.ts.map +0 -1
- package/dist-esm/samples-dev/listWebCommunicationCreatedOnOrAfterASpecificDateForASubscriptionSupportTicket.js +0 -53
- package/dist-esm/samples-dev/listWebCommunicationCreatedOnOrAfterASpecificDateForASubscriptionSupportTicket.js.map +0 -1
- package/dist-esm/samples-dev/listWebCommunicationsForASubscriptionSupportTicket.d.ts +0 -2
- package/dist-esm/samples-dev/listWebCommunicationsForASubscriptionSupportTicket.d.ts.map +0 -1
- package/dist-esm/samples-dev/listWebCommunicationsForASubscriptionSupportTicket.js +0 -53
- package/dist-esm/samples-dev/listWebCommunicationsForASubscriptionSupportTicket.js.map +0 -1
- package/dist-esm/samples-dev/updateContactDetailsOfASupportTicket.d.ts +0 -2
- package/dist-esm/samples-dev/updateContactDetailsOfASupportTicket.d.ts.map +0 -1
- package/dist-esm/samples-dev/updateContactDetailsOfASupportTicket.js +0 -43
- package/dist-esm/samples-dev/updateContactDetailsOfASupportTicket.js.map +0 -1
- package/dist-esm/samples-dev/updateSeverityOfASupportTicket.d.ts +0 -2
- package/dist-esm/samples-dev/updateSeverityOfASupportTicket.d.ts.map +0 -1
- package/dist-esm/samples-dev/updateSeverityOfASupportTicket.js +0 -31
- package/dist-esm/samples-dev/updateSeverityOfASupportTicket.js.map +0 -1
- package/dist-esm/samples-dev/updateStatusOfASupportTicket.d.ts +0 -2
- package/dist-esm/samples-dev/updateStatusOfASupportTicket.d.ts.map +0 -1
- package/dist-esm/samples-dev/updateStatusOfASupportTicket.js +0 -31
- package/dist-esm/samples-dev/updateStatusOfASupportTicket.js.map +0 -1
- package/dist-esm/test/sampleTest.d.ts +0 -2
- package/dist-esm/test/sampleTest.d.ts.map +0 -1
- package/dist-esm/test/sampleTest.js +0 -38
- package/dist-esm/test/sampleTest.js.map +0 -1
|
@@ -0,0 +1,139 @@
|
|
|
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 { __asyncValues, __awaiter } from "tslib";
|
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
|
10
|
+
// Licensed under the MIT License.
|
|
11
|
+
import { MicrosoftSupport } from "@azure/arm-support";
|
|
12
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
+
import * as dotenv from "dotenv";
|
|
14
|
+
dotenv.config();
|
|
15
|
+
/**
|
|
16
|
+
* This sample demonstrates how to Lists all communications (attachments not included) for a support ticket. <br/></br> You can also filter support ticket communications by _CreatedDate_ or _CommunicationType_ using the $filter parameter. The only type of communication supported today is _Web_. Output will be a paged result with _nextLink_, using which you can retrieve the next set of Communication results. <br/><br/>Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error.
|
|
17
|
+
*
|
|
18
|
+
* @summary Lists all communications (attachments not included) for a support ticket. <br/></br> You can also filter support ticket communications by _CreatedDate_ or _CommunicationType_ using the $filter parameter. The only type of communication supported today is _Web_. Output will be a paged result with _nextLink_, using which you can retrieve the next set of Communication results. <br/><br/>Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error.
|
|
19
|
+
* x-ms-original-file: specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListCommunicationsForSupportTicket.json
|
|
20
|
+
*/
|
|
21
|
+
function listCommunicationsForANoSubscriptionSupportTicket() {
|
|
22
|
+
var _a, e_1, _b, _c;
|
|
23
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
24
|
+
const supportTicketName = "testticket";
|
|
25
|
+
const credential = new DefaultAzureCredential();
|
|
26
|
+
const client = new MicrosoftSupport(credential);
|
|
27
|
+
const resArray = new Array();
|
|
28
|
+
try {
|
|
29
|
+
for (var _d = true, _e = __asyncValues(client.supportTicketCommunicationsNoSubscription.list(supportTicketName)), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
|
|
30
|
+
_c = _f.value;
|
|
31
|
+
_d = false;
|
|
32
|
+
try {
|
|
33
|
+
let item = _c;
|
|
34
|
+
resArray.push(item);
|
|
35
|
+
}
|
|
36
|
+
finally {
|
|
37
|
+
_d = true;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
42
|
+
finally {
|
|
43
|
+
try {
|
|
44
|
+
if (!_d && !_a && (_b = _e.return)) yield _b.call(_e);
|
|
45
|
+
}
|
|
46
|
+
finally { if (e_1) throw e_1.error; }
|
|
47
|
+
}
|
|
48
|
+
console.log(resArray);
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* This sample demonstrates how to Lists all communications (attachments not included) for a support ticket. <br/></br> You can also filter support ticket communications by _CreatedDate_ or _CommunicationType_ using the $filter parameter. The only type of communication supported today is _Web_. Output will be a paged result with _nextLink_, using which you can retrieve the next set of Communication results. <br/><br/>Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error.
|
|
53
|
+
*
|
|
54
|
+
* @summary Lists all communications (attachments not included) for a support ticket. <br/></br> You can also filter support ticket communications by _CreatedDate_ or _CommunicationType_ using the $filter parameter. The only type of communication supported today is _Web_. Output will be a paged result with _nextLink_, using which you can retrieve the next set of Communication results. <br/><br/>Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error.
|
|
55
|
+
* x-ms-original-file: specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListWebCommunicationsForSupportTicketCreatedOnOrAfter.json
|
|
56
|
+
*/
|
|
57
|
+
function listWebCommunicationCreatedOnOrAfterASpecificDateForANoSubscriptionSupportTicket() {
|
|
58
|
+
var _a, e_2, _b, _c;
|
|
59
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
60
|
+
const supportTicketName = "testticket";
|
|
61
|
+
const filter = "communicationType eq 'web' and createdDate ge 2020-03-10T22:08:51Z";
|
|
62
|
+
const options = {
|
|
63
|
+
filter
|
|
64
|
+
};
|
|
65
|
+
const credential = new DefaultAzureCredential();
|
|
66
|
+
const client = new MicrosoftSupport(credential);
|
|
67
|
+
const resArray = new Array();
|
|
68
|
+
try {
|
|
69
|
+
for (var _d = true, _e = __asyncValues(client.supportTicketCommunicationsNoSubscription.list(supportTicketName, options)), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
|
|
70
|
+
_c = _f.value;
|
|
71
|
+
_d = false;
|
|
72
|
+
try {
|
|
73
|
+
let item = _c;
|
|
74
|
+
resArray.push(item);
|
|
75
|
+
}
|
|
76
|
+
finally {
|
|
77
|
+
_d = true;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
82
|
+
finally {
|
|
83
|
+
try {
|
|
84
|
+
if (!_d && !_a && (_b = _e.return)) yield _b.call(_e);
|
|
85
|
+
}
|
|
86
|
+
finally { if (e_2) throw e_2.error; }
|
|
87
|
+
}
|
|
88
|
+
console.log(resArray);
|
|
89
|
+
});
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* This sample demonstrates how to Lists all communications (attachments not included) for a support ticket. <br/></br> You can also filter support ticket communications by _CreatedDate_ or _CommunicationType_ using the $filter parameter. The only type of communication supported today is _Web_. Output will be a paged result with _nextLink_, using which you can retrieve the next set of Communication results. <br/><br/>Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error.
|
|
93
|
+
*
|
|
94
|
+
* @summary Lists all communications (attachments not included) for a support ticket. <br/></br> You can also filter support ticket communications by _CreatedDate_ or _CommunicationType_ using the $filter parameter. The only type of communication supported today is _Web_. Output will be a paged result with _nextLink_, using which you can retrieve the next set of Communication results. <br/><br/>Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error.
|
|
95
|
+
* x-ms-original-file: specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/ListWebCommunicationsForSupportTicket.json
|
|
96
|
+
*/
|
|
97
|
+
function listWebCommunicationsForANoSubscriptionSupportTicket() {
|
|
98
|
+
var _a, e_3, _b, _c;
|
|
99
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
100
|
+
const supportTicketName = "testticket";
|
|
101
|
+
const filter = "communicationType eq 'web'";
|
|
102
|
+
const options = {
|
|
103
|
+
filter
|
|
104
|
+
};
|
|
105
|
+
const credential = new DefaultAzureCredential();
|
|
106
|
+
const client = new MicrosoftSupport(credential);
|
|
107
|
+
const resArray = new Array();
|
|
108
|
+
try {
|
|
109
|
+
for (var _d = true, _e = __asyncValues(client.supportTicketCommunicationsNoSubscription.list(supportTicketName, options)), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
|
|
110
|
+
_c = _f.value;
|
|
111
|
+
_d = false;
|
|
112
|
+
try {
|
|
113
|
+
let item = _c;
|
|
114
|
+
resArray.push(item);
|
|
115
|
+
}
|
|
116
|
+
finally {
|
|
117
|
+
_d = true;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
catch (e_3_1) { e_3 = { error: e_3_1 }; }
|
|
122
|
+
finally {
|
|
123
|
+
try {
|
|
124
|
+
if (!_d && !_a && (_b = _e.return)) yield _b.call(_e);
|
|
125
|
+
}
|
|
126
|
+
finally { if (e_3) throw e_3.error; }
|
|
127
|
+
}
|
|
128
|
+
console.log(resArray);
|
|
129
|
+
});
|
|
130
|
+
}
|
|
131
|
+
function main() {
|
|
132
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
133
|
+
listCommunicationsForANoSubscriptionSupportTicket();
|
|
134
|
+
listWebCommunicationCreatedOnOrAfterASpecificDateForANoSubscriptionSupportTicket();
|
|
135
|
+
listWebCommunicationsForANoSubscriptionSupportTicket();
|
|
136
|
+
});
|
|
137
|
+
}
|
|
138
|
+
main().catch(console.error);
|
|
139
|
+
//# sourceMappingURL=supportTicketCommunicationsNoSubscriptionListSample.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"supportTicketCommunicationsNoSubscriptionListSample.js","sourceRoot":"","sources":["../../samples-dev/supportTicketCommunicationsNoSubscriptionListSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,gBAAgB,EACjB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,iDAAiD;;;QAC9D,MAAM,iBAAiB,GAAG,YAAY,CAAC;QACvC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,gBAAgB,CAAC,UAAU,CAAC,CAAC;QAChD,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,yCAAyC,CAAC,IAAI,CAC1E,iBAAiB,CAClB,CAAA,IAAA;gBAFsB,cAEtB;gBAFsB,WAEtB;;oBAFU,IAAI,IAAI,KAAA,CAAA;oBAGjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;;;;;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED;;;;;GAKG;AACH,SAAe,gFAAgF;;;QAC7F,MAAM,iBAAiB,GAAG,YAAY,CAAC;QACvC,MAAM,MAAM,GACV,oEAAoE,CAAC;QACvE,MAAM,OAAO,GAAgE;YAC3E,MAAM;SACP,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,gBAAgB,CAAC,UAAU,CAAC,CAAC;QAChD,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,yCAAyC,CAAC,IAAI,CAC1E,iBAAiB,EACjB,OAAO,CACR,CAAA,IAAA;gBAHsB,cAGtB;gBAHsB,WAGtB;;oBAHU,IAAI,IAAI,KAAA,CAAA;oBAIjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;;;;;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED;;;;;GAKG;AACH,SAAe,oDAAoD;;;QACjE,MAAM,iBAAiB,GAAG,YAAY,CAAC;QACvC,MAAM,MAAM,GAAG,4BAA4B,CAAC;QAC5C,MAAM,OAAO,GAAgE;YAC3E,MAAM;SACP,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,gBAAgB,CAAC,UAAU,CAAC,CAAC;QAChD,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,yCAAyC,CAAC,IAAI,CAC1E,iBAAiB,EACjB,OAAO,CACR,CAAA,IAAA;gBAHsB,cAGtB;gBAHsB,WAGtB;;oBAHU,IAAI,IAAI,KAAA,CAAA;oBAIjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;;;;;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,SAAe,IAAI;;QACjB,iDAAiD,EAAE,CAAC;QACpD,gFAAgF,EAAE,CAAC;QACnF,oDAAoD,EAAE,CAAC;IACzD,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Check the availability of a resource name. This API should be used to check the uniqueness of the name for support ticket creation for the selected subscription.
|
|
17
17
|
*
|
|
18
18
|
* @summary Check the availability of a resource name. This API should be used to check the uniqueness of the name for support ticket creation for the selected subscription.
|
|
19
|
-
* x-ms-original-file: specification/support/resource-manager/Microsoft.Support/
|
|
19
|
+
* x-ms-original-file: specification/support/resource-manager/Microsoft.Support/preview/2022-09-01-preview/examples/CheckNameAvailabilityWithSubscription.json
|
|
20
20
|
*/
|
|
21
21
|
function checksWhetherNameIsAvailableForSupportTicketResource() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|