@azure/arm-support 3.0.2-alpha.20260310.1 → 4.0.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/LICENSE +1 -1
- package/README.md +13 -16
- package/dist/browser/api/chatTranscripts/index.d.ts +3 -0
- package/dist/browser/api/chatTranscripts/index.js +4 -0
- package/dist/browser/api/chatTranscripts/index.js.map +1 -0
- package/dist/browser/api/chatTranscripts/operations.d.ts +14 -0
- package/dist/browser/api/chatTranscripts/operations.js +69 -0
- package/dist/browser/api/chatTranscripts/operations.js.map +1 -0
- package/dist/browser/api/chatTranscripts/options.d.ts +8 -0
- package/dist/browser/api/chatTranscripts/options.js +4 -0
- package/dist/browser/api/chatTranscripts/options.js.map +1 -0
- package/dist/browser/api/chatTranscriptsNoSubscription/index.d.ts +3 -0
- package/dist/browser/api/chatTranscriptsNoSubscription/index.js +4 -0
- package/dist/browser/api/chatTranscriptsNoSubscription/index.js.map +1 -0
- package/dist/browser/api/chatTranscriptsNoSubscription/operations.d.ts +14 -0
- package/dist/browser/api/chatTranscriptsNoSubscription/operations.js +67 -0
- package/dist/browser/api/chatTranscriptsNoSubscription/operations.js.map +1 -0
- package/dist/browser/api/chatTranscriptsNoSubscription/options.d.ts +8 -0
- package/dist/browser/api/chatTranscriptsNoSubscription/options.js +4 -0
- package/dist/browser/api/chatTranscriptsNoSubscription/options.js.map +1 -0
- package/dist/browser/api/classifyProblems/index.d.ts +3 -0
- package/dist/browser/api/classifyProblems/index.js +4 -0
- package/dist/browser/api/classifyProblems/index.js.map +1 -0
- package/dist/browser/api/classifyProblems/operations.d.ts +9 -0
- package/dist/browser/api/classifyProblems/operations.js +37 -0
- package/dist/browser/api/classifyProblems/operations.js.map +1 -0
- package/dist/browser/api/classifyProblems/options.d.ts +5 -0
- package/dist/browser/api/classifyProblems/options.js +4 -0
- package/dist/browser/api/classifyProblems/options.js.map +1 -0
- package/dist/browser/api/classifyProblemsNoSubscription/index.d.ts +3 -0
- package/dist/browser/api/classifyProblemsNoSubscription/index.js +4 -0
- package/dist/browser/api/classifyProblemsNoSubscription/index.js.map +1 -0
- package/dist/browser/api/classifyProblemsNoSubscription/operations.d.ts +9 -0
- package/dist/browser/api/classifyProblemsNoSubscription/operations.js +36 -0
- package/dist/browser/api/classifyProblemsNoSubscription/operations.js.map +1 -0
- package/dist/browser/api/classifyProblemsNoSubscription/options.d.ts +5 -0
- package/dist/browser/api/classifyProblemsNoSubscription/options.js +4 -0
- package/dist/browser/api/classifyProblemsNoSubscription/options.js.map +1 -0
- package/dist/browser/api/classifyServices/index.d.ts +3 -0
- package/dist/browser/api/classifyServices/index.js +4 -0
- package/dist/browser/api/classifyServices/index.js.map +1 -0
- package/dist/browser/api/classifyServices/operations.d.ts +9 -0
- package/dist/browser/api/classifyServices/operations.js +36 -0
- package/dist/browser/api/classifyServices/operations.js.map +1 -0
- package/dist/browser/api/classifyServices/options.d.ts +5 -0
- package/dist/browser/api/classifyServices/options.js +4 -0
- package/dist/browser/api/classifyServices/options.js.map +1 -0
- package/dist/browser/api/classifyServicesNoSubscription/index.d.ts +3 -0
- package/dist/browser/api/classifyServicesNoSubscription/index.js +4 -0
- package/dist/browser/api/classifyServicesNoSubscription/index.js.map +1 -0
- package/dist/browser/api/classifyServicesNoSubscription/operations.d.ts +9 -0
- package/dist/browser/api/classifyServicesNoSubscription/operations.js +35 -0
- package/dist/browser/api/classifyServicesNoSubscription/operations.js.map +1 -0
- package/dist/browser/api/classifyServicesNoSubscription/options.d.ts +5 -0
- package/dist/browser/api/classifyServicesNoSubscription/options.js +4 -0
- package/dist/browser/api/classifyServicesNoSubscription/options.js.map +1 -0
- package/dist/browser/api/communications/index.d.ts +3 -0
- package/dist/browser/api/communications/index.js +4 -0
- package/dist/browser/api/communications/index.js.map +1 -0
- package/dist/browser/api/communications/operations.d.ts +23 -0
- package/dist/browser/api/communications/operations.js +140 -0
- package/dist/browser/api/communications/operations.js.map +1 -0
- package/dist/browser/api/communications/options.d.ts +20 -0
- package/dist/browser/api/communications/options.js +4 -0
- package/dist/browser/api/communications/options.js.map +1 -0
- package/dist/browser/api/communicationsNoSubscription/index.d.ts +3 -0
- package/dist/browser/api/communicationsNoSubscription/index.js +4 -0
- package/dist/browser/api/communicationsNoSubscription/index.js.map +1 -0
- package/dist/browser/api/communicationsNoSubscription/operations.d.ts +23 -0
- package/dist/browser/api/communicationsNoSubscription/operations.js +136 -0
- package/dist/browser/api/communicationsNoSubscription/operations.js.map +1 -0
- package/dist/browser/api/communicationsNoSubscription/options.d.ts +20 -0
- package/dist/browser/api/communicationsNoSubscription/options.js +4 -0
- package/dist/browser/api/communicationsNoSubscription/options.js.map +1 -0
- package/dist/browser/api/fileWorkspaces/index.d.ts +3 -0
- package/dist/browser/api/fileWorkspaces/index.js +4 -0
- package/dist/browser/api/fileWorkspaces/index.js.map +1 -0
- package/dist/browser/api/fileWorkspaces/operations.d.ts +13 -0
- package/dist/browser/api/fileWorkspaces/operations.js +64 -0
- package/dist/browser/api/fileWorkspaces/operations.js.map +1 -0
- package/dist/browser/api/fileWorkspaces/options.d.ts +8 -0
- package/dist/browser/api/fileWorkspaces/options.js +4 -0
- package/dist/browser/api/fileWorkspaces/options.js.map +1 -0
- package/dist/browser/api/fileWorkspacesNoSubscription/index.d.ts +3 -0
- package/dist/browser/api/fileWorkspacesNoSubscription/index.js +4 -0
- package/dist/browser/api/fileWorkspacesNoSubscription/index.js.map +1 -0
- package/dist/browser/api/fileWorkspacesNoSubscription/operations.d.ts +13 -0
- package/dist/browser/api/fileWorkspacesNoSubscription/operations.js +62 -0
- package/dist/browser/api/fileWorkspacesNoSubscription/operations.js.map +1 -0
- package/dist/browser/api/fileWorkspacesNoSubscription/options.d.ts +8 -0
- package/dist/browser/api/fileWorkspacesNoSubscription/options.js +4 -0
- package/dist/browser/api/fileWorkspacesNoSubscription/options.js.map +1 -0
- package/dist/browser/api/files/index.d.ts +3 -0
- package/dist/browser/api/files/index.js +4 -0
- package/dist/browser/api/files/index.js.map +1 -0
- package/dist/browser/api/files/operations.d.ts +22 -0
- package/dist/browser/api/files/operations.js +132 -0
- package/dist/browser/api/files/operations.js.map +1 -0
- package/dist/browser/api/files/options.d.ts +14 -0
- package/dist/browser/api/files/options.js +4 -0
- package/dist/browser/api/files/options.js.map +1 -0
- package/dist/browser/api/filesNoSubscription/index.d.ts +3 -0
- package/dist/browser/api/filesNoSubscription/index.js +4 -0
- package/dist/browser/api/filesNoSubscription/index.js.map +1 -0
- package/dist/browser/api/filesNoSubscription/operations.d.ts +22 -0
- package/dist/browser/api/filesNoSubscription/operations.js +128 -0
- package/dist/browser/api/filesNoSubscription/operations.js.map +1 -0
- package/dist/browser/api/filesNoSubscription/options.d.ts +14 -0
- package/dist/browser/api/filesNoSubscription/options.js +4 -0
- package/dist/browser/api/filesNoSubscription/options.js.map +1 -0
- package/dist/browser/api/index.d.ts +3 -0
- package/dist/browser/api/index.js +4 -0
- package/dist/browser/api/index.js.map +1 -0
- package/dist/browser/api/microsoftSupportContext.d.ts +22 -0
- package/dist/browser/api/microsoftSupportContext.js +26 -0
- package/dist/browser/api/microsoftSupportContext.js.map +1 -0
- package/dist/browser/api/operations/index.d.ts +3 -0
- package/dist/browser/api/operations/index.js +4 -0
- package/dist/browser/api/operations/index.js.map +1 -0
- package/dist/browser/api/operations/operations.d.ts +10 -0
- package/dist/browser/api/operations/operations.js +37 -0
- package/dist/browser/api/operations/operations.js.map +1 -0
- package/dist/browser/api/operations/options.d.ts +5 -0
- package/dist/browser/api/operations/options.js +4 -0
- package/dist/browser/api/operations/options.js.map +1 -0
- package/dist/browser/api/problemClassifications/index.d.ts +3 -0
- package/dist/browser/api/problemClassifications/index.js +4 -0
- package/dist/browser/api/problemClassifications/index.js.map +1 -0
- package/dist/browser/api/problemClassifications/operations.d.ts +14 -0
- package/dist/browser/api/problemClassifications/operations.js +67 -0
- package/dist/browser/api/problemClassifications/operations.js.map +1 -0
- package/dist/browser/api/problemClassifications/options.d.ts +8 -0
- package/dist/browser/api/problemClassifications/options.js +4 -0
- package/dist/browser/api/problemClassifications/options.js.map +1 -0
- package/dist/browser/api/services/index.d.ts +3 -0
- package/dist/browser/api/services/index.js +4 -0
- package/dist/browser/api/services/index.js.map +1 -0
- package/dist/browser/api/services/operations.d.ts +14 -0
- package/dist/browser/api/services/operations.js +65 -0
- package/dist/browser/api/services/operations.js.map +1 -0
- package/dist/browser/api/services/options.d.ts +8 -0
- package/dist/browser/api/services/options.js +4 -0
- package/dist/browser/api/services/options.js.map +1 -0
- package/dist/browser/api/supportTickets/index.d.ts +3 -0
- package/dist/browser/api/supportTickets/index.js +4 -0
- package/dist/browser/api/supportTickets/index.js.map +1 -0
- package/dist/browser/api/supportTickets/operations.d.ts +31 -0
- package/dist/browser/api/supportTickets/operations.js +196 -0
- package/dist/browser/api/supportTickets/operations.js.map +1 -0
- package/dist/browser/api/supportTickets/options.d.ts +26 -0
- package/dist/browser/api/supportTickets/options.js +4 -0
- package/dist/browser/api/supportTickets/options.js.map +1 -0
- package/dist/browser/api/supportTicketsNoSubscription/index.d.ts +3 -0
- package/dist/browser/api/supportTicketsNoSubscription/index.js +4 -0
- package/dist/browser/api/supportTicketsNoSubscription/index.js.map +1 -0
- package/dist/browser/api/supportTicketsNoSubscription/operations.d.ts +27 -0
- package/dist/browser/api/supportTicketsNoSubscription/operations.js +162 -0
- package/dist/browser/api/supportTicketsNoSubscription/operations.js.map +1 -0
- package/dist/browser/api/supportTicketsNoSubscription/options.d.ts +23 -0
- package/dist/browser/api/supportTicketsNoSubscription/options.js +4 -0
- package/dist/browser/api/supportTicketsNoSubscription/options.js.map +1 -0
- package/dist/browser/classic/chatTranscripts/index.d.ts +13 -0
- package/dist/browser/classic/chatTranscripts/index.js +15 -0
- package/dist/browser/classic/chatTranscripts/index.js.map +1 -0
- package/dist/browser/classic/chatTranscriptsNoSubscription/index.d.ts +13 -0
- package/dist/browser/classic/chatTranscriptsNoSubscription/index.js +15 -0
- package/dist/browser/classic/chatTranscriptsNoSubscription/index.js.map +1 -0
- package/dist/browser/classic/classifyProblems/index.d.ts +10 -0
- package/dist/browser/classic/classifyProblems/index.js +14 -0
- package/dist/browser/classic/classifyProblems/index.js.map +1 -0
- package/dist/browser/classic/classifyProblemsNoSubscription/index.d.ts +10 -0
- package/dist/browser/classic/classifyProblemsNoSubscription/index.js +14 -0
- package/dist/browser/classic/classifyProblemsNoSubscription/index.js.map +1 -0
- package/dist/browser/classic/classifyServices/index.d.ts +10 -0
- package/dist/browser/classic/classifyServices/index.js +14 -0
- package/dist/browser/classic/classifyServices/index.js.map +1 -0
- package/dist/browser/classic/classifyServicesNoSubscription/index.d.ts +10 -0
- package/dist/browser/classic/classifyServicesNoSubscription/index.js +14 -0
- package/dist/browser/classic/classifyServicesNoSubscription/index.js.map +1 -0
- package/dist/browser/classic/communications/index.d.ts +23 -0
- package/dist/browser/classic/communications/index.js +26 -0
- package/dist/browser/classic/communications/index.js.map +1 -0
- package/dist/browser/classic/communicationsNoSubscription/index.d.ts +23 -0
- package/dist/browser/classic/communicationsNoSubscription/index.js +26 -0
- package/dist/browser/classic/communicationsNoSubscription/index.js.map +1 -0
- package/dist/browser/classic/fileWorkspaces/index.d.ts +12 -0
- package/dist/browser/classic/fileWorkspaces/index.js +15 -0
- package/dist/browser/classic/fileWorkspaces/index.js.map +1 -0
- package/dist/browser/classic/fileWorkspacesNoSubscription/index.d.ts +12 -0
- package/dist/browser/classic/fileWorkspacesNoSubscription/index.js +15 -0
- package/dist/browser/classic/fileWorkspacesNoSubscription/index.js.map +1 -0
- package/dist/browser/classic/files/index.d.ts +17 -0
- package/dist/browser/classic/files/index.js +17 -0
- package/dist/browser/classic/files/index.js.map +1 -0
- package/dist/browser/classic/filesNoSubscription/index.d.ts +17 -0
- package/dist/browser/classic/filesNoSubscription/index.js +17 -0
- package/dist/browser/classic/filesNoSubscription/index.js.map +1 -0
- package/dist/browser/classic/index.d.ts +18 -0
- package/dist/browser/classic/index.js +4 -0
- package/dist/browser/classic/index.js.map +1 -0
- package/dist/browser/classic/operations/index.d.ts +11 -0
- package/dist/browser/classic/operations/index.js +14 -0
- package/dist/browser/classic/operations/index.js.map +1 -0
- package/dist/browser/classic/problemClassifications/index.d.ts +13 -0
- package/dist/browser/classic/problemClassifications/index.js +15 -0
- package/dist/browser/classic/problemClassifications/index.js.map +1 -0
- package/dist/browser/classic/services/index.d.ts +13 -0
- package/dist/browser/classic/services/index.js +15 -0
- package/dist/browser/classic/services/index.js.map +1 -0
- package/dist/browser/classic/supportTickets/index.d.ts +27 -0
- package/dist/browser/classic/supportTickets/index.js +28 -0
- package/dist/browser/classic/supportTickets/index.js.map +1 -0
- package/dist/browser/classic/supportTicketsNoSubscription/index.d.ts +25 -0
- package/dist/browser/classic/supportTicketsNoSubscription/index.js +27 -0
- package/dist/browser/classic/supportTicketsNoSubscription/index.js.map +1 -0
- package/dist/browser/index.d.ts +30 -3
- package/dist/browser/index.js +7 -11
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/logger.d.ts +2 -0
- package/dist/browser/logger.js +5 -0
- package/dist/browser/logger.js.map +1 -0
- package/dist/browser/microsoftSupport.d.ts +61 -31
- package/dist/browser/microsoftSupport.js +84 -115
- package/dist/browser/microsoftSupport.js.map +1 -1
- package/dist/browser/models/index.d.ts +2 -999
- package/dist/browser/models/index.js +3 -91
- package/dist/browser/models/index.js.map +1 -1
- package/dist/browser/models/models.d.ts +955 -0
- package/dist/browser/models/models.js +987 -0
- package/dist/browser/models/models.js.map +1 -0
- package/dist/browser/restorePollerHelpers.d.ts +21 -0
- package/dist/browser/restorePollerHelpers.js +106 -0
- package/dist/browser/restorePollerHelpers.js.map +1 -0
- package/dist/browser/static-helpers/cloudSettingHelpers.d.ts +22 -0
- package/dist/browser/static-helpers/cloudSettingHelpers.js +38 -0
- package/dist/browser/static-helpers/cloudSettingHelpers.js.map +1 -0
- package/dist/browser/static-helpers/pagingHelpers.d.ts +74 -0
- package/dist/browser/static-helpers/pagingHelpers.js +143 -0
- package/dist/browser/static-helpers/pagingHelpers.js.map +1 -0
- package/dist/browser/static-helpers/pollingHelpers.d.ts +34 -0
- package/dist/browser/static-helpers/pollingHelpers.js +95 -0
- package/dist/browser/static-helpers/pollingHelpers.js.map +1 -0
- package/dist/browser/static-helpers/serialization/check-prop-undefined.d.ts +8 -0
- package/dist/browser/static-helpers/serialization/check-prop-undefined.js +17 -0
- package/dist/browser/static-helpers/serialization/check-prop-undefined.js.map +1 -0
- package/dist/browser/static-helpers/simplePollerHelpers.d.ts +73 -0
- package/dist/browser/static-helpers/simplePollerHelpers.js +44 -0
- package/dist/browser/static-helpers/simplePollerHelpers.js.map +1 -0
- package/dist/browser/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/browser/static-helpers/urlTemplate.js +200 -0
- package/dist/browser/static-helpers/urlTemplate.js.map +1 -0
- package/dist/commonjs/api/chatTranscripts/index.d.ts +3 -0
- package/dist/commonjs/api/chatTranscripts/index.js +30 -0
- package/dist/commonjs/api/chatTranscripts/index.js.map +7 -0
- package/dist/commonjs/api/chatTranscripts/operations.d.ts +14 -0
- package/dist/commonjs/api/chatTranscripts/operations.js +115 -0
- package/dist/commonjs/api/chatTranscripts/operations.js.map +7 -0
- package/dist/commonjs/api/chatTranscripts/options.d.ts +8 -0
- package/dist/commonjs/api/chatTranscripts/options.js +16 -0
- package/dist/commonjs/api/chatTranscripts/options.js.map +7 -0
- package/dist/commonjs/api/chatTranscriptsNoSubscription/index.d.ts +3 -0
- package/dist/commonjs/api/chatTranscriptsNoSubscription/index.js +30 -0
- package/dist/commonjs/api/chatTranscriptsNoSubscription/index.js.map +7 -0
- package/dist/commonjs/api/chatTranscriptsNoSubscription/operations.d.ts +14 -0
- package/dist/commonjs/api/chatTranscriptsNoSubscription/operations.js +113 -0
- package/dist/commonjs/api/chatTranscriptsNoSubscription/operations.js.map +7 -0
- package/dist/commonjs/api/chatTranscriptsNoSubscription/options.d.ts +8 -0
- package/dist/commonjs/api/chatTranscriptsNoSubscription/options.js +16 -0
- package/dist/commonjs/api/chatTranscriptsNoSubscription/options.js.map +7 -0
- package/dist/commonjs/api/classifyProblems/index.d.ts +3 -0
- package/dist/commonjs/api/classifyProblems/index.js +28 -0
- package/dist/commonjs/api/classifyProblems/index.js.map +7 -0
- package/dist/commonjs/api/classifyProblems/operations.d.ts +9 -0
- package/dist/commonjs/api/classifyProblems/operations.js +75 -0
- package/dist/commonjs/api/classifyProblems/operations.js.map +7 -0
- package/dist/commonjs/api/classifyProblems/options.d.ts +5 -0
- package/dist/commonjs/api/classifyProblems/options.js +16 -0
- package/dist/commonjs/api/classifyProblems/options.js.map +7 -0
- package/dist/commonjs/api/classifyProblemsNoSubscription/index.d.ts +3 -0
- package/dist/commonjs/api/classifyProblemsNoSubscription/index.js +28 -0
- package/dist/commonjs/api/classifyProblemsNoSubscription/index.js.map +7 -0
- package/dist/commonjs/api/classifyProblemsNoSubscription/operations.d.ts +9 -0
- package/dist/commonjs/api/classifyProblemsNoSubscription/operations.js +74 -0
- package/dist/commonjs/api/classifyProblemsNoSubscription/operations.js.map +7 -0
- package/dist/commonjs/api/classifyProblemsNoSubscription/options.d.ts +5 -0
- package/dist/commonjs/api/classifyProblemsNoSubscription/options.js +16 -0
- package/dist/commonjs/api/classifyProblemsNoSubscription/options.js.map +7 -0
- package/dist/commonjs/api/classifyServices/index.d.ts +3 -0
- package/dist/commonjs/api/classifyServices/index.js +28 -0
- package/dist/commonjs/api/classifyServices/index.js.map +7 -0
- package/dist/commonjs/api/classifyServices/operations.d.ts +9 -0
- package/dist/commonjs/api/classifyServices/operations.js +67 -0
- package/dist/commonjs/api/classifyServices/operations.js.map +7 -0
- package/dist/commonjs/api/classifyServices/options.d.ts +5 -0
- package/dist/commonjs/api/classifyServices/options.js +16 -0
- package/dist/commonjs/api/classifyServices/options.js.map +7 -0
- package/dist/commonjs/api/classifyServicesNoSubscription/index.d.ts +3 -0
- package/dist/commonjs/api/classifyServicesNoSubscription/index.js +28 -0
- package/dist/commonjs/api/classifyServicesNoSubscription/index.js.map +7 -0
- package/dist/commonjs/api/classifyServicesNoSubscription/operations.d.ts +9 -0
- package/dist/commonjs/api/classifyServicesNoSubscription/operations.js +66 -0
- package/dist/commonjs/api/classifyServicesNoSubscription/operations.js.map +7 -0
- package/dist/commonjs/api/classifyServicesNoSubscription/options.d.ts +5 -0
- package/dist/commonjs/api/classifyServicesNoSubscription/options.js +16 -0
- package/dist/commonjs/api/classifyServicesNoSubscription/options.js.map +7 -0
- package/dist/commonjs/api/communications/index.d.ts +3 -0
- package/dist/commonjs/api/communications/index.js +34 -0
- package/dist/commonjs/api/communications/index.js.map +7 -0
- package/dist/commonjs/api/communications/operations.d.ts +23 -0
- package/dist/commonjs/api/communications/operations.js +215 -0
- package/dist/commonjs/api/communications/operations.js.map +7 -0
- package/dist/commonjs/api/communications/options.d.ts +20 -0
- package/dist/commonjs/api/communications/options.js +16 -0
- package/dist/commonjs/api/communications/options.js.map +7 -0
- package/dist/commonjs/api/communicationsNoSubscription/index.d.ts +3 -0
- package/dist/commonjs/api/communicationsNoSubscription/index.js +34 -0
- package/dist/commonjs/api/communicationsNoSubscription/index.js.map +7 -0
- package/dist/commonjs/api/communicationsNoSubscription/operations.d.ts +23 -0
- package/dist/commonjs/api/communicationsNoSubscription/operations.js +211 -0
- package/dist/commonjs/api/communicationsNoSubscription/operations.js.map +7 -0
- package/dist/commonjs/api/communicationsNoSubscription/options.d.ts +20 -0
- package/dist/commonjs/api/communicationsNoSubscription/options.js +16 -0
- package/dist/commonjs/api/communicationsNoSubscription/options.js.map +7 -0
- package/dist/commonjs/api/fileWorkspaces/index.d.ts +3 -0
- package/dist/commonjs/api/fileWorkspaces/index.js +30 -0
- package/dist/commonjs/api/fileWorkspaces/index.js.map +7 -0
- package/dist/commonjs/api/fileWorkspaces/operations.d.ts +13 -0
- package/dist/commonjs/api/fileWorkspaces/operations.js +104 -0
- package/dist/commonjs/api/fileWorkspaces/operations.js.map +7 -0
- package/dist/commonjs/api/fileWorkspaces/options.d.ts +8 -0
- package/dist/commonjs/api/fileWorkspaces/options.js +16 -0
- package/dist/commonjs/api/fileWorkspaces/options.js.map +7 -0
- package/dist/commonjs/api/fileWorkspacesNoSubscription/index.d.ts +3 -0
- package/dist/commonjs/api/fileWorkspacesNoSubscription/index.js +30 -0
- package/dist/commonjs/api/fileWorkspacesNoSubscription/index.js.map +7 -0
- package/dist/commonjs/api/fileWorkspacesNoSubscription/operations.d.ts +13 -0
- package/dist/commonjs/api/fileWorkspacesNoSubscription/operations.js +102 -0
- package/dist/commonjs/api/fileWorkspacesNoSubscription/operations.js.map +7 -0
- package/dist/commonjs/api/fileWorkspacesNoSubscription/options.d.ts +8 -0
- package/dist/commonjs/api/fileWorkspacesNoSubscription/options.js +16 -0
- package/dist/commonjs/api/fileWorkspacesNoSubscription/options.js.map +7 -0
- package/dist/commonjs/api/files/index.d.ts +3 -0
- package/dist/commonjs/api/files/index.js +34 -0
- package/dist/commonjs/api/files/index.js.map +7 -0
- package/dist/commonjs/api/files/operations.d.ts +22 -0
- package/dist/commonjs/api/files/operations.js +202 -0
- package/dist/commonjs/api/files/operations.js.map +7 -0
- package/dist/commonjs/api/files/options.d.ts +14 -0
- package/dist/commonjs/api/files/options.js +16 -0
- package/dist/commonjs/api/files/options.js.map +7 -0
- package/dist/commonjs/api/filesNoSubscription/index.d.ts +3 -0
- package/dist/commonjs/api/filesNoSubscription/index.js +34 -0
- package/dist/commonjs/api/filesNoSubscription/index.js.map +7 -0
- package/dist/commonjs/api/filesNoSubscription/operations.d.ts +22 -0
- package/dist/commonjs/api/filesNoSubscription/operations.js +198 -0
- package/dist/commonjs/api/filesNoSubscription/operations.js.map +7 -0
- package/dist/commonjs/api/filesNoSubscription/options.d.ts +14 -0
- package/dist/commonjs/api/filesNoSubscription/options.js +16 -0
- package/dist/commonjs/api/filesNoSubscription/options.js.map +7 -0
- package/dist/commonjs/api/index.d.ts +3 -0
- package/dist/commonjs/api/index.js +28 -0
- package/dist/commonjs/api/index.js.map +7 -0
- package/dist/commonjs/api/microsoftSupportContext.d.ts +22 -0
- package/dist/commonjs/api/microsoftSupportContext.js +47 -0
- package/dist/commonjs/api/microsoftSupportContext.js.map +7 -0
- package/dist/commonjs/api/operations/index.d.ts +3 -0
- package/dist/commonjs/api/operations/index.js +28 -0
- package/dist/commonjs/api/operations/index.js.map +7 -0
- package/dist/commonjs/api/operations/operations.d.ts +10 -0
- package/dist/commonjs/api/operations/operations.js +74 -0
- package/dist/commonjs/api/operations/operations.js.map +7 -0
- package/dist/commonjs/api/operations/options.d.ts +5 -0
- package/dist/commonjs/api/operations/options.js +16 -0
- package/dist/commonjs/api/operations/options.js.map +7 -0
- package/dist/commonjs/api/problemClassifications/index.d.ts +3 -0
- package/dist/commonjs/api/problemClassifications/index.js +30 -0
- package/dist/commonjs/api/problemClassifications/index.js.map +7 -0
- package/dist/commonjs/api/problemClassifications/operations.d.ts +14 -0
- package/dist/commonjs/api/problemClassifications/operations.js +113 -0
- package/dist/commonjs/api/problemClassifications/operations.js.map +7 -0
- package/dist/commonjs/api/problemClassifications/options.d.ts +8 -0
- package/dist/commonjs/api/problemClassifications/options.js +16 -0
- package/dist/commonjs/api/problemClassifications/options.js.map +7 -0
- package/dist/commonjs/api/services/index.d.ts +3 -0
- package/dist/commonjs/api/services/index.js +30 -0
- package/dist/commonjs/api/services/index.js.map +7 -0
- package/dist/commonjs/api/services/operations.d.ts +14 -0
- package/dist/commonjs/api/services/operations.js +111 -0
- package/dist/commonjs/api/services/operations.js.map +7 -0
- package/dist/commonjs/api/services/options.d.ts +8 -0
- package/dist/commonjs/api/services/options.js +16 -0
- package/dist/commonjs/api/services/options.js.map +7 -0
- package/dist/commonjs/api/supportTickets/index.d.ts +3 -0
- package/dist/commonjs/api/supportTickets/index.js +38 -0
- package/dist/commonjs/api/supportTickets/index.js.map +7 -0
- package/dist/commonjs/api/supportTickets/operations.d.ts +31 -0
- package/dist/commonjs/api/supportTickets/operations.js +278 -0
- package/dist/commonjs/api/supportTickets/operations.js.map +7 -0
- package/dist/commonjs/api/supportTickets/options.d.ts +26 -0
- package/dist/commonjs/api/supportTickets/options.js +16 -0
- package/dist/commonjs/api/supportTickets/options.js.map +7 -0
- package/dist/commonjs/api/supportTicketsNoSubscription/index.d.ts +3 -0
- package/dist/commonjs/api/supportTicketsNoSubscription/index.js +36 -0
- package/dist/commonjs/api/supportTicketsNoSubscription/index.js.map +7 -0
- package/dist/commonjs/api/supportTicketsNoSubscription/operations.d.ts +27 -0
- package/dist/commonjs/api/supportTicketsNoSubscription/operations.js +235 -0
- package/dist/commonjs/api/supportTicketsNoSubscription/operations.js.map +7 -0
- package/dist/commonjs/api/supportTicketsNoSubscription/options.d.ts +23 -0
- package/dist/commonjs/api/supportTicketsNoSubscription/options.js +16 -0
- package/dist/commonjs/api/supportTicketsNoSubscription/options.js.map +7 -0
- package/dist/commonjs/classic/chatTranscripts/index.d.ts +13 -0
- package/dist/commonjs/classic/chatTranscripts/index.js +39 -0
- package/dist/commonjs/classic/chatTranscripts/index.js.map +7 -0
- package/dist/commonjs/classic/chatTranscriptsNoSubscription/index.d.ts +13 -0
- package/dist/commonjs/classic/chatTranscriptsNoSubscription/index.js +39 -0
- package/dist/commonjs/classic/chatTranscriptsNoSubscription/index.js.map +7 -0
- package/dist/commonjs/classic/classifyProblems/index.d.ts +10 -0
- package/dist/commonjs/classic/classifyProblems/index.js +43 -0
- package/dist/commonjs/classic/classifyProblems/index.js.map +7 -0
- package/dist/commonjs/classic/classifyProblemsNoSubscription/index.d.ts +10 -0
- package/dist/commonjs/classic/classifyProblemsNoSubscription/index.js +43 -0
- package/dist/commonjs/classic/classifyProblemsNoSubscription/index.js.map +7 -0
- package/dist/commonjs/classic/classifyServices/index.d.ts +10 -0
- package/dist/commonjs/classic/classifyServices/index.js +38 -0
- package/dist/commonjs/classic/classifyServices/index.js.map +7 -0
- package/dist/commonjs/classic/classifyServicesNoSubscription/index.d.ts +10 -0
- package/dist/commonjs/classic/classifyServicesNoSubscription/index.js +38 -0
- package/dist/commonjs/classic/classifyServicesNoSubscription/index.js.map +7 -0
- package/dist/commonjs/classic/communications/index.d.ts +23 -0
- package/dist/commonjs/classic/communications/index.js +62 -0
- package/dist/commonjs/classic/communications/index.js.map +7 -0
- package/dist/commonjs/classic/communicationsNoSubscription/index.d.ts +23 -0
- package/dist/commonjs/classic/communicationsNoSubscription/index.js +62 -0
- package/dist/commonjs/classic/communicationsNoSubscription/index.js.map +7 -0
- package/dist/commonjs/classic/fileWorkspaces/index.d.ts +12 -0
- package/dist/commonjs/classic/fileWorkspaces/index.js +39 -0
- package/dist/commonjs/classic/fileWorkspaces/index.js.map +7 -0
- package/dist/commonjs/classic/fileWorkspacesNoSubscription/index.d.ts +12 -0
- package/dist/commonjs/classic/fileWorkspacesNoSubscription/index.js +39 -0
- package/dist/commonjs/classic/fileWorkspacesNoSubscription/index.js.map +7 -0
- package/dist/commonjs/classic/files/index.d.ts +17 -0
- package/dist/commonjs/classic/files/index.js +41 -0
- package/dist/commonjs/classic/files/index.js.map +7 -0
- package/dist/commonjs/classic/filesNoSubscription/index.d.ts +17 -0
- package/dist/commonjs/classic/filesNoSubscription/index.js +41 -0
- package/dist/commonjs/classic/filesNoSubscription/index.js.map +7 -0
- package/dist/commonjs/classic/index.d.ts +18 -0
- package/dist/commonjs/classic/index.js +16 -0
- package/dist/commonjs/classic/index.js.map +7 -0
- package/dist/commonjs/classic/operations/index.d.ts +11 -0
- package/dist/commonjs/classic/operations/index.js +38 -0
- package/dist/commonjs/classic/operations/index.js.map +7 -0
- package/dist/commonjs/classic/problemClassifications/index.d.ts +13 -0
- package/dist/commonjs/classic/problemClassifications/index.js +39 -0
- package/dist/commonjs/classic/problemClassifications/index.js.map +7 -0
- package/dist/commonjs/classic/services/index.d.ts +13 -0
- package/dist/commonjs/classic/services/index.js +39 -0
- package/dist/commonjs/classic/services/index.js.map +7 -0
- package/dist/commonjs/classic/supportTickets/index.d.ts +27 -0
- package/dist/commonjs/classic/supportTickets/index.js +52 -0
- package/dist/commonjs/classic/supportTickets/index.js.map +7 -0
- package/dist/commonjs/classic/supportTicketsNoSubscription/index.d.ts +25 -0
- package/dist/commonjs/classic/supportTicketsNoSubscription/index.js +51 -0
- package/dist/commonjs/classic/supportTicketsNoSubscription/index.js.map +7 -0
- package/dist/commonjs/index.d.ts +30 -3
- package/dist/commonjs/index.js +39 -8
- package/dist/commonjs/index.js.map +3 -3
- package/dist/commonjs/logger.d.ts +2 -0
- package/dist/commonjs/logger.js +29 -0
- package/dist/commonjs/logger.js.map +7 -0
- package/dist/commonjs/microsoftSupport.d.ts +61 -31
- package/dist/commonjs/microsoftSupport.js +83 -117
- package/dist/commonjs/microsoftSupport.js.map +3 -3
- package/dist/commonjs/models/index.d.ts +2 -999
- package/dist/commonjs/models/index.js +20 -64
- package/dist/commonjs/models/index.js.map +4 -4
- package/dist/commonjs/models/models.d.ts +955 -0
- package/dist/commonjs/models/models.js +1049 -0
- package/dist/commonjs/models/models.js.map +7 -0
- package/dist/commonjs/restorePollerHelpers.d.ts +21 -0
- package/dist/commonjs/restorePollerHelpers.js +119 -0
- package/dist/commonjs/restorePollerHelpers.js.map +7 -0
- package/dist/commonjs/static-helpers/cloudSettingHelpers.d.ts +22 -0
- package/dist/commonjs/static-helpers/cloudSettingHelpers.js +52 -0
- package/dist/commonjs/static-helpers/cloudSettingHelpers.js.map +7 -0
- package/dist/commonjs/static-helpers/pagingHelpers.d.ts +74 -0
- package/dist/commonjs/static-helpers/pagingHelpers.js +143 -0
- package/dist/commonjs/static-helpers/pagingHelpers.js.map +7 -0
- package/dist/commonjs/static-helpers/pollingHelpers.d.ts +34 -0
- package/dist/commonjs/static-helpers/pollingHelpers.js +101 -0
- package/dist/commonjs/static-helpers/pollingHelpers.js.map +7 -0
- package/dist/commonjs/static-helpers/serialization/check-prop-undefined.d.ts +8 -0
- package/dist/commonjs/static-helpers/serialization/check-prop-undefined.js +35 -0
- package/dist/commonjs/static-helpers/serialization/check-prop-undefined.js.map +7 -0
- package/dist/commonjs/static-helpers/simplePollerHelpers.d.ts +73 -0
- package/dist/commonjs/static-helpers/simplePollerHelpers.js +67 -0
- package/dist/commonjs/static-helpers/simplePollerHelpers.js.map +7 -0
- package/dist/commonjs/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/commonjs/static-helpers/urlTemplate.js +197 -0
- package/dist/commonjs/static-helpers/urlTemplate.js.map +7 -0
- package/dist/commonjs/tsdoc-metadata.json +1 -1
- package/dist/esm/api/chatTranscripts/index.d.ts +3 -0
- package/dist/esm/api/chatTranscripts/index.js +4 -0
- package/dist/esm/api/chatTranscripts/index.js.map +1 -0
- package/dist/esm/api/chatTranscripts/operations.d.ts +14 -0
- package/dist/esm/api/chatTranscripts/operations.js +69 -0
- package/dist/esm/api/chatTranscripts/operations.js.map +1 -0
- package/dist/esm/api/chatTranscripts/options.d.ts +8 -0
- package/dist/esm/api/chatTranscripts/options.js +4 -0
- package/dist/esm/api/chatTranscripts/options.js.map +1 -0
- package/dist/esm/api/chatTranscriptsNoSubscription/index.d.ts +3 -0
- package/dist/esm/api/chatTranscriptsNoSubscription/index.js +4 -0
- package/dist/esm/api/chatTranscriptsNoSubscription/index.js.map +1 -0
- package/dist/esm/api/chatTranscriptsNoSubscription/operations.d.ts +14 -0
- package/dist/esm/api/chatTranscriptsNoSubscription/operations.js +67 -0
- package/dist/esm/api/chatTranscriptsNoSubscription/operations.js.map +1 -0
- package/dist/esm/api/chatTranscriptsNoSubscription/options.d.ts +8 -0
- package/dist/esm/api/chatTranscriptsNoSubscription/options.js +4 -0
- package/dist/esm/api/chatTranscriptsNoSubscription/options.js.map +1 -0
- package/dist/esm/api/classifyProblems/index.d.ts +3 -0
- package/dist/esm/api/classifyProblems/index.js +4 -0
- package/dist/esm/api/classifyProblems/index.js.map +1 -0
- package/dist/esm/api/classifyProblems/operations.d.ts +9 -0
- package/dist/esm/api/classifyProblems/operations.js +37 -0
- package/dist/esm/api/classifyProblems/operations.js.map +1 -0
- package/dist/esm/api/classifyProblems/options.d.ts +5 -0
- package/dist/esm/api/classifyProblems/options.js +4 -0
- package/dist/esm/api/classifyProblems/options.js.map +1 -0
- package/dist/esm/api/classifyProblemsNoSubscription/index.d.ts +3 -0
- package/dist/esm/api/classifyProblemsNoSubscription/index.js +4 -0
- package/dist/esm/api/classifyProblemsNoSubscription/index.js.map +1 -0
- package/dist/esm/api/classifyProblemsNoSubscription/operations.d.ts +9 -0
- package/dist/esm/api/classifyProblemsNoSubscription/operations.js +36 -0
- package/dist/esm/api/classifyProblemsNoSubscription/operations.js.map +1 -0
- package/dist/esm/api/classifyProblemsNoSubscription/options.d.ts +5 -0
- package/dist/esm/api/classifyProblemsNoSubscription/options.js +4 -0
- package/dist/esm/api/classifyProblemsNoSubscription/options.js.map +1 -0
- package/dist/esm/api/classifyServices/index.d.ts +3 -0
- package/dist/esm/api/classifyServices/index.js +4 -0
- package/dist/esm/api/classifyServices/index.js.map +1 -0
- package/dist/esm/api/classifyServices/operations.d.ts +9 -0
- package/dist/esm/api/classifyServices/operations.js +36 -0
- package/dist/esm/api/classifyServices/operations.js.map +1 -0
- package/dist/esm/api/classifyServices/options.d.ts +5 -0
- package/dist/esm/api/classifyServices/options.js +4 -0
- package/dist/esm/api/classifyServices/options.js.map +1 -0
- package/dist/esm/api/classifyServicesNoSubscription/index.d.ts +3 -0
- package/dist/esm/api/classifyServicesNoSubscription/index.js +4 -0
- package/dist/esm/api/classifyServicesNoSubscription/index.js.map +1 -0
- package/dist/esm/api/classifyServicesNoSubscription/operations.d.ts +9 -0
- package/dist/esm/api/classifyServicesNoSubscription/operations.js +35 -0
- package/dist/esm/api/classifyServicesNoSubscription/operations.js.map +1 -0
- package/dist/esm/api/classifyServicesNoSubscription/options.d.ts +5 -0
- package/dist/esm/api/classifyServicesNoSubscription/options.js +4 -0
- package/dist/esm/api/classifyServicesNoSubscription/options.js.map +1 -0
- package/dist/esm/api/communications/index.d.ts +3 -0
- package/dist/esm/api/communications/index.js +4 -0
- package/dist/esm/api/communications/index.js.map +1 -0
- package/dist/esm/api/communications/operations.d.ts +23 -0
- package/dist/esm/api/communications/operations.js +140 -0
- package/dist/esm/api/communications/operations.js.map +1 -0
- package/dist/esm/api/communications/options.d.ts +20 -0
- package/dist/esm/api/communications/options.js +4 -0
- package/dist/esm/api/communications/options.js.map +1 -0
- package/dist/esm/api/communicationsNoSubscription/index.d.ts +3 -0
- package/dist/esm/api/communicationsNoSubscription/index.js +4 -0
- package/dist/esm/api/communicationsNoSubscription/index.js.map +1 -0
- package/dist/esm/api/communicationsNoSubscription/operations.d.ts +23 -0
- package/dist/esm/api/communicationsNoSubscription/operations.js +136 -0
- package/dist/esm/api/communicationsNoSubscription/operations.js.map +1 -0
- package/dist/esm/api/communicationsNoSubscription/options.d.ts +20 -0
- package/dist/esm/api/communicationsNoSubscription/options.js +4 -0
- package/dist/esm/api/communicationsNoSubscription/options.js.map +1 -0
- package/dist/esm/api/fileWorkspaces/index.d.ts +3 -0
- package/dist/esm/api/fileWorkspaces/index.js +4 -0
- package/dist/esm/api/fileWorkspaces/index.js.map +1 -0
- package/dist/esm/api/fileWorkspaces/operations.d.ts +13 -0
- package/dist/esm/api/fileWorkspaces/operations.js +64 -0
- package/dist/esm/api/fileWorkspaces/operations.js.map +1 -0
- package/dist/esm/api/fileWorkspaces/options.d.ts +8 -0
- package/dist/esm/api/fileWorkspaces/options.js +4 -0
- package/dist/esm/api/fileWorkspaces/options.js.map +1 -0
- package/dist/esm/api/fileWorkspacesNoSubscription/index.d.ts +3 -0
- package/dist/esm/api/fileWorkspacesNoSubscription/index.js +4 -0
- package/dist/esm/api/fileWorkspacesNoSubscription/index.js.map +1 -0
- package/dist/esm/api/fileWorkspacesNoSubscription/operations.d.ts +13 -0
- package/dist/esm/api/fileWorkspacesNoSubscription/operations.js +62 -0
- package/dist/esm/api/fileWorkspacesNoSubscription/operations.js.map +1 -0
- package/dist/esm/api/fileWorkspacesNoSubscription/options.d.ts +8 -0
- package/dist/esm/api/fileWorkspacesNoSubscription/options.js +4 -0
- package/dist/esm/api/fileWorkspacesNoSubscription/options.js.map +1 -0
- package/dist/esm/api/files/index.d.ts +3 -0
- package/dist/esm/api/files/index.js +4 -0
- package/dist/esm/api/files/index.js.map +1 -0
- package/dist/esm/api/files/operations.d.ts +22 -0
- package/dist/esm/api/files/operations.js +132 -0
- package/dist/esm/api/files/operations.js.map +1 -0
- package/dist/esm/api/files/options.d.ts +14 -0
- package/dist/esm/api/files/options.js +4 -0
- package/dist/esm/api/files/options.js.map +1 -0
- package/dist/esm/api/filesNoSubscription/index.d.ts +3 -0
- package/dist/esm/api/filesNoSubscription/index.js +4 -0
- package/dist/esm/api/filesNoSubscription/index.js.map +1 -0
- package/dist/esm/api/filesNoSubscription/operations.d.ts +22 -0
- package/dist/esm/api/filesNoSubscription/operations.js +128 -0
- package/dist/esm/api/filesNoSubscription/operations.js.map +1 -0
- package/dist/esm/api/filesNoSubscription/options.d.ts +14 -0
- package/dist/esm/api/filesNoSubscription/options.js +4 -0
- package/dist/esm/api/filesNoSubscription/options.js.map +1 -0
- package/dist/esm/api/index.d.ts +3 -0
- package/dist/esm/api/index.js +4 -0
- package/dist/esm/api/index.js.map +1 -0
- package/dist/esm/api/microsoftSupportContext.d.ts +22 -0
- package/dist/esm/api/microsoftSupportContext.js +26 -0
- package/dist/esm/api/microsoftSupportContext.js.map +1 -0
- package/dist/esm/api/operations/index.d.ts +3 -0
- package/dist/esm/api/operations/index.js +4 -0
- package/dist/esm/api/operations/index.js.map +1 -0
- package/dist/esm/api/operations/operations.d.ts +10 -0
- package/dist/esm/api/operations/operations.js +37 -0
- package/dist/esm/api/operations/operations.js.map +1 -0
- package/dist/esm/api/operations/options.d.ts +5 -0
- package/dist/esm/api/operations/options.js +4 -0
- package/dist/esm/api/operations/options.js.map +1 -0
- package/dist/esm/api/problemClassifications/index.d.ts +3 -0
- package/dist/esm/api/problemClassifications/index.js +4 -0
- package/dist/esm/api/problemClassifications/index.js.map +1 -0
- package/dist/esm/api/problemClassifications/operations.d.ts +14 -0
- package/dist/esm/api/problemClassifications/operations.js +67 -0
- package/dist/esm/api/problemClassifications/operations.js.map +1 -0
- package/dist/esm/api/problemClassifications/options.d.ts +8 -0
- package/dist/esm/api/problemClassifications/options.js +4 -0
- package/dist/esm/api/problemClassifications/options.js.map +1 -0
- package/dist/esm/api/services/index.d.ts +3 -0
- package/dist/esm/api/services/index.js +4 -0
- package/dist/esm/api/services/index.js.map +1 -0
- package/dist/esm/api/services/operations.d.ts +14 -0
- package/dist/esm/api/services/operations.js +65 -0
- package/dist/esm/api/services/operations.js.map +1 -0
- package/dist/esm/api/services/options.d.ts +8 -0
- package/dist/esm/api/services/options.js +4 -0
- package/dist/esm/api/services/options.js.map +1 -0
- package/dist/esm/api/supportTickets/index.d.ts +3 -0
- package/dist/esm/api/supportTickets/index.js +4 -0
- package/dist/esm/api/supportTickets/index.js.map +1 -0
- package/dist/esm/api/supportTickets/operations.d.ts +31 -0
- package/dist/esm/api/supportTickets/operations.js +196 -0
- package/dist/esm/api/supportTickets/operations.js.map +1 -0
- package/dist/esm/api/supportTickets/options.d.ts +26 -0
- package/dist/esm/api/supportTickets/options.js +4 -0
- package/dist/esm/api/supportTickets/options.js.map +1 -0
- package/dist/esm/api/supportTicketsNoSubscription/index.d.ts +3 -0
- package/dist/esm/api/supportTicketsNoSubscription/index.js +4 -0
- package/dist/esm/api/supportTicketsNoSubscription/index.js.map +1 -0
- package/dist/esm/api/supportTicketsNoSubscription/operations.d.ts +27 -0
- package/dist/esm/api/supportTicketsNoSubscription/operations.js +162 -0
- package/dist/esm/api/supportTicketsNoSubscription/operations.js.map +1 -0
- package/dist/esm/api/supportTicketsNoSubscription/options.d.ts +23 -0
- package/dist/esm/api/supportTicketsNoSubscription/options.js +4 -0
- package/dist/esm/api/supportTicketsNoSubscription/options.js.map +1 -0
- package/dist/esm/classic/chatTranscripts/index.d.ts +13 -0
- package/dist/esm/classic/chatTranscripts/index.js +15 -0
- package/dist/esm/classic/chatTranscripts/index.js.map +1 -0
- package/dist/esm/classic/chatTranscriptsNoSubscription/index.d.ts +13 -0
- package/dist/esm/classic/chatTranscriptsNoSubscription/index.js +15 -0
- package/dist/esm/classic/chatTranscriptsNoSubscription/index.js.map +1 -0
- package/dist/esm/classic/classifyProblems/index.d.ts +10 -0
- package/dist/esm/classic/classifyProblems/index.js +14 -0
- package/dist/esm/classic/classifyProblems/index.js.map +1 -0
- package/dist/esm/classic/classifyProblemsNoSubscription/index.d.ts +10 -0
- package/dist/esm/classic/classifyProblemsNoSubscription/index.js +14 -0
- package/dist/esm/classic/classifyProblemsNoSubscription/index.js.map +1 -0
- package/dist/esm/classic/classifyServices/index.d.ts +10 -0
- package/dist/esm/classic/classifyServices/index.js +14 -0
- package/dist/esm/classic/classifyServices/index.js.map +1 -0
- package/dist/esm/classic/classifyServicesNoSubscription/index.d.ts +10 -0
- package/dist/esm/classic/classifyServicesNoSubscription/index.js +14 -0
- package/dist/esm/classic/classifyServicesNoSubscription/index.js.map +1 -0
- package/dist/esm/classic/communications/index.d.ts +23 -0
- package/dist/esm/classic/communications/index.js +26 -0
- package/dist/esm/classic/communications/index.js.map +1 -0
- package/dist/esm/classic/communicationsNoSubscription/index.d.ts +23 -0
- package/dist/esm/classic/communicationsNoSubscription/index.js +26 -0
- package/dist/esm/classic/communicationsNoSubscription/index.js.map +1 -0
- package/dist/esm/classic/fileWorkspaces/index.d.ts +12 -0
- package/dist/esm/classic/fileWorkspaces/index.js +15 -0
- package/dist/esm/classic/fileWorkspaces/index.js.map +1 -0
- package/dist/esm/classic/fileWorkspacesNoSubscription/index.d.ts +12 -0
- package/dist/esm/classic/fileWorkspacesNoSubscription/index.js +15 -0
- package/dist/esm/classic/fileWorkspacesNoSubscription/index.js.map +1 -0
- package/dist/esm/classic/files/index.d.ts +17 -0
- package/dist/esm/classic/files/index.js +17 -0
- package/dist/esm/classic/files/index.js.map +1 -0
- package/dist/esm/classic/filesNoSubscription/index.d.ts +17 -0
- package/dist/esm/classic/filesNoSubscription/index.js +17 -0
- package/dist/esm/classic/filesNoSubscription/index.js.map +1 -0
- package/dist/esm/classic/index.d.ts +18 -0
- package/dist/esm/classic/index.js +4 -0
- package/dist/esm/classic/index.js.map +1 -0
- package/dist/esm/classic/operations/index.d.ts +11 -0
- package/dist/esm/classic/operations/index.js +14 -0
- package/dist/esm/classic/operations/index.js.map +1 -0
- package/dist/esm/classic/problemClassifications/index.d.ts +13 -0
- package/dist/esm/classic/problemClassifications/index.js +15 -0
- package/dist/esm/classic/problemClassifications/index.js.map +1 -0
- package/dist/esm/classic/services/index.d.ts +13 -0
- package/dist/esm/classic/services/index.js +15 -0
- package/dist/esm/classic/services/index.js.map +1 -0
- package/dist/esm/classic/supportTickets/index.d.ts +27 -0
- package/dist/esm/classic/supportTickets/index.js +28 -0
- package/dist/esm/classic/supportTickets/index.js.map +1 -0
- package/dist/esm/classic/supportTicketsNoSubscription/index.d.ts +25 -0
- package/dist/esm/classic/supportTicketsNoSubscription/index.js +27 -0
- package/dist/esm/classic/supportTicketsNoSubscription/index.js.map +1 -0
- package/dist/esm/index.d.ts +30 -3
- package/dist/esm/index.js +9 -8
- package/dist/esm/index.js.map +1 -7
- package/dist/esm/logger.d.ts +2 -0
- package/dist/esm/logger.js +5 -0
- package/dist/esm/logger.js.map +1 -0
- package/dist/esm/microsoftSupport.d.ts +61 -31
- package/dist/esm/microsoftSupport.js +95 -135
- package/dist/esm/microsoftSupport.js.map +1 -7
- package/dist/esm/models/index.d.ts +2 -999
- package/dist/esm/models/index.js +4 -64
- package/dist/esm/models/index.js.map +1 -7
- package/dist/esm/models/models.d.ts +955 -0
- package/dist/esm/models/models.js +987 -0
- package/dist/esm/models/models.js.map +1 -0
- package/dist/esm/restorePollerHelpers.d.ts +21 -0
- package/dist/esm/restorePollerHelpers.js +106 -0
- package/dist/esm/restorePollerHelpers.js.map +1 -0
- package/dist/esm/static-helpers/cloudSettingHelpers.d.ts +22 -0
- package/dist/esm/static-helpers/cloudSettingHelpers.js +38 -0
- package/dist/esm/static-helpers/cloudSettingHelpers.js.map +1 -0
- package/dist/esm/static-helpers/pagingHelpers.d.ts +74 -0
- package/dist/esm/static-helpers/pagingHelpers.js +143 -0
- package/dist/esm/static-helpers/pagingHelpers.js.map +1 -0
- package/dist/esm/static-helpers/pollingHelpers.d.ts +34 -0
- package/dist/esm/static-helpers/pollingHelpers.js +95 -0
- package/dist/esm/static-helpers/pollingHelpers.js.map +1 -0
- package/dist/esm/static-helpers/serialization/check-prop-undefined.d.ts +8 -0
- package/dist/esm/static-helpers/serialization/check-prop-undefined.js +17 -0
- package/dist/esm/static-helpers/serialization/check-prop-undefined.js.map +1 -0
- package/dist/esm/static-helpers/simplePollerHelpers.d.ts +73 -0
- package/dist/esm/static-helpers/simplePollerHelpers.js +44 -0
- package/dist/esm/static-helpers/simplePollerHelpers.js.map +1 -0
- package/dist/esm/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/esm/static-helpers/urlTemplate.js +200 -0
- package/dist/esm/static-helpers/urlTemplate.js.map +1 -0
- package/package.json +353 -79
- package/CHANGELOG.md +0 -171
- package/dist/browser/index.d.ts.map +0 -1
- package/dist/browser/lroImpl.d.ts +0 -11
- package/dist/browser/lroImpl.d.ts.map +0 -1
- package/dist/browser/lroImpl.js +0 -18
- package/dist/browser/lroImpl.js.map +0 -1
- package/dist/browser/microsoftSupport.d.ts.map +0 -1
- package/dist/browser/models/index.d.ts.map +0 -1
- package/dist/browser/models/mappers.d.ts +0 -40
- package/dist/browser/models/mappers.d.ts.map +0 -1
- package/dist/browser/models/mappers.js +0 -1356
- package/dist/browser/models/mappers.js.map +0 -1
- package/dist/browser/models/parameters.d.ts +0 -24
- package/dist/browser/models/parameters.d.ts.map +0 -1
- package/dist/browser/models/parameters.js +0 -199
- package/dist/browser/models/parameters.js.map +0 -1
- package/dist/browser/operations/chatTranscripts.d.ts +0 -42
- package/dist/browser/operations/chatTranscripts.d.ts.map +0 -1
- package/dist/browser/operations/chatTranscripts.js +0 -158
- package/dist/browser/operations/chatTranscripts.js.map +0 -1
- package/dist/browser/operations/chatTranscriptsNoSubscription.d.ts +0 -42
- package/dist/browser/operations/chatTranscriptsNoSubscription.d.ts.map +0 -1
- package/dist/browser/operations/chatTranscriptsNoSubscription.js +0 -152
- package/dist/browser/operations/chatTranscriptsNoSubscription.js.map +0 -1
- package/dist/browser/operations/communications.d.ts +0 -77
- package/dist/browser/operations/communications.d.ts.map +0 -1
- package/dist/browser/operations/communications.js +0 -298
- package/dist/browser/operations/communications.js.map +0 -1
- package/dist/browser/operations/communicationsNoSubscription.d.ts +0 -77
- package/dist/browser/operations/communicationsNoSubscription.d.ts.map +0 -1
- package/dist/browser/operations/communicationsNoSubscription.js +0 -287
- package/dist/browser/operations/communicationsNoSubscription.js.map +0 -1
- package/dist/browser/operations/fileWorkspaces.d.ts +0 -25
- package/dist/browser/operations/fileWorkspaces.d.ts.map +0 -1
- package/dist/browser/operations/fileWorkspaces.js +0 -80
- package/dist/browser/operations/fileWorkspaces.js.map +0 -1
- package/dist/browser/operations/fileWorkspacesNoSubscription.d.ts +0 -25
- package/dist/browser/operations/fileWorkspacesNoSubscription.d.ts.map +0 -1
- package/dist/browser/operations/fileWorkspacesNoSubscription.js +0 -72
- package/dist/browser/operations/fileWorkspacesNoSubscription.js.map +0 -1
- package/dist/browser/operations/files.d.ts +0 -58
- package/dist/browser/operations/files.d.ts.map +0 -1
- package/dist/browser/operations/files.js +0 -222
- package/dist/browser/operations/files.js.map +0 -1
- package/dist/browser/operations/filesNoSubscription.d.ts +0 -58
- package/dist/browser/operations/filesNoSubscription.d.ts.map +0 -1
- package/dist/browser/operations/filesNoSubscription.js +0 -214
- package/dist/browser/operations/filesNoSubscription.js.map +0 -1
- package/dist/browser/operations/index.d.ts +0 -14
- package/dist/browser/operations/index.d.ts.map +0 -1
- package/dist/browser/operations/index.js +0 -21
- package/dist/browser/operations/index.js.map +0 -1
- package/dist/browser/operations/operations.d.ts +0 -26
- package/dist/browser/operations/operations.d.ts.map +0 -1
- package/dist/browser/operations/operations.js +0 -79
- package/dist/browser/operations/operations.js.map +0 -1
- package/dist/browser/operations/problemClassifications.d.ts +0 -41
- package/dist/browser/operations/problemClassifications.d.ts.map +0 -1
- package/dist/browser/operations/problemClassifications.js +0 -116
- package/dist/browser/operations/problemClassifications.js.map +0 -1
- package/dist/browser/operations/services.d.ts +0 -44
- package/dist/browser/operations/services.d.ts.map +0 -1
- package/dist/browser/operations/services.js +0 -115
- package/dist/browser/operations/services.js.map +0 -1
- package/dist/browser/operations/supportTickets.d.ts +0 -113
- package/dist/browser/operations/supportTickets.d.ts.map +0 -1
- package/dist/browser/operations/supportTickets.js +0 -342
- package/dist/browser/operations/supportTickets.js.map +0 -1
- package/dist/browser/operations/supportTicketsNoSubscription.d.ts +0 -98
- package/dist/browser/operations/supportTicketsNoSubscription.d.ts.map +0 -1
- package/dist/browser/operations/supportTicketsNoSubscription.js +0 -311
- package/dist/browser/operations/supportTicketsNoSubscription.js.map +0 -1
- package/dist/browser/operationsInterfaces/chatTranscripts.d.ts +0 -19
- package/dist/browser/operationsInterfaces/chatTranscripts.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/chatTranscripts.js +0 -9
- package/dist/browser/operationsInterfaces/chatTranscripts.js.map +0 -1
- package/dist/browser/operationsInterfaces/chatTranscriptsNoSubscription.d.ts +0 -19
- package/dist/browser/operationsInterfaces/chatTranscriptsNoSubscription.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/chatTranscriptsNoSubscription.js +0 -9
- package/dist/browser/operationsInterfaces/chatTranscriptsNoSubscription.js.map +0 -1
- package/dist/browser/operationsInterfaces/communications.d.ts +0 -49
- package/dist/browser/operationsInterfaces/communications.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/communications.js +0 -9
- package/dist/browser/operationsInterfaces/communications.js.map +0 -1
- package/dist/browser/operationsInterfaces/communicationsNoSubscription.d.ts +0 -49
- package/dist/browser/operationsInterfaces/communicationsNoSubscription.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/communicationsNoSubscription.js +0 -9
- package/dist/browser/operationsInterfaces/communicationsNoSubscription.js.map +0 -1
- package/dist/browser/operationsInterfaces/fileWorkspaces.d.ts +0 -17
- package/dist/browser/operationsInterfaces/fileWorkspaces.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/fileWorkspaces.js +0 -9
- package/dist/browser/operationsInterfaces/fileWorkspaces.js.map +0 -1
- package/dist/browser/operationsInterfaces/fileWorkspacesNoSubscription.d.ts +0 -17
- package/dist/browser/operationsInterfaces/fileWorkspacesNoSubscription.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/fileWorkspacesNoSubscription.js +0 -9
- package/dist/browser/operationsInterfaces/fileWorkspacesNoSubscription.js.map +0 -1
- package/dist/browser/operationsInterfaces/files.d.ts +0 -35
- package/dist/browser/operationsInterfaces/files.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/files.js +0 -9
- package/dist/browser/operationsInterfaces/files.js.map +0 -1
- package/dist/browser/operationsInterfaces/filesNoSubscription.d.ts +0 -35
- package/dist/browser/operationsInterfaces/filesNoSubscription.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/filesNoSubscription.js +0 -9
- package/dist/browser/operationsInterfaces/filesNoSubscription.js.map +0 -1
- package/dist/browser/operationsInterfaces/index.d.ts +0 -14
- package/dist/browser/operationsInterfaces/index.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/index.js +0 -21
- package/dist/browser/operationsInterfaces/index.js.map +0 -1
- package/dist/browser/operationsInterfaces/operations.d.ts +0 -11
- package/dist/browser/operationsInterfaces/operations.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/operations.js +0 -9
- package/dist/browser/operationsInterfaces/operations.js.map +0 -1
- package/dist/browser/operationsInterfaces/problemClassifications.d.ts +0 -22
- package/dist/browser/operationsInterfaces/problemClassifications.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/problemClassifications.js +0 -9
- package/dist/browser/operationsInterfaces/problemClassifications.js.map +0 -1
- package/dist/browser/operationsInterfaces/services.d.ts +0 -23
- package/dist/browser/operationsInterfaces/services.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/services.js +0 -9
- package/dist/browser/operationsInterfaces/services.js.map +0 -1
- package/dist/browser/operationsInterfaces/supportTickets.d.ts +0 -88
- package/dist/browser/operationsInterfaces/supportTickets.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/supportTickets.js +0 -9
- package/dist/browser/operationsInterfaces/supportTickets.js.map +0 -1
- package/dist/browser/operationsInterfaces/supportTicketsNoSubscription.d.ts +0 -73
- package/dist/browser/operationsInterfaces/supportTicketsNoSubscription.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/supportTicketsNoSubscription.js +0 -9
- package/dist/browser/operationsInterfaces/supportTicketsNoSubscription.js.map +0 -1
- package/dist/browser/pagingHelper.d.ts +0 -13
- package/dist/browser/pagingHelper.d.ts.map +0 -1
- package/dist/browser/pagingHelper.js +0 -30
- package/dist/browser/pagingHelper.js.map +0 -1
- package/dist/commonjs/index.d.ts.map +0 -1
- package/dist/commonjs/lroImpl.d.ts +0 -11
- package/dist/commonjs/lroImpl.d.ts.map +0 -1
- package/dist/commonjs/lroImpl.js +0 -43
- package/dist/commonjs/lroImpl.js.map +0 -7
- package/dist/commonjs/microsoftSupport.d.ts.map +0 -1
- package/dist/commonjs/models/index.d.ts.map +0 -1
- package/dist/commonjs/models/mappers.d.ts +0 -40
- package/dist/commonjs/models/mappers.d.ts.map +0 -1
- package/dist/commonjs/models/mappers.js +0 -1448
- package/dist/commonjs/models/mappers.js.map +0 -7
- package/dist/commonjs/models/parameters.d.ts +0 -24
- package/dist/commonjs/models/parameters.d.ts.map +0 -1
- package/dist/commonjs/models/parameters.js +0 -259
- package/dist/commonjs/models/parameters.js.map +0 -7
- package/dist/commonjs/operations/chatTranscripts.d.ts +0 -42
- package/dist/commonjs/operations/chatTranscripts.d.ts.map +0 -1
- package/dist/commonjs/operations/chatTranscripts.js +0 -200
- package/dist/commonjs/operations/chatTranscripts.js.map +0 -7
- package/dist/commonjs/operations/chatTranscriptsNoSubscription.d.ts +0 -42
- package/dist/commonjs/operations/chatTranscriptsNoSubscription.d.ts.map +0 -1
- package/dist/commonjs/operations/chatTranscriptsNoSubscription.js +0 -194
- package/dist/commonjs/operations/chatTranscriptsNoSubscription.js.map +0 -7
- package/dist/commonjs/operations/communications.d.ts +0 -77
- package/dist/commonjs/operations/communications.d.ts.map +0 -1
- package/dist/commonjs/operations/communications.js +0 -348
- package/dist/commonjs/operations/communications.js.map +0 -7
- package/dist/commonjs/operations/communicationsNoSubscription.d.ts +0 -77
- package/dist/commonjs/operations/communicationsNoSubscription.d.ts.map +0 -1
- package/dist/commonjs/operations/communicationsNoSubscription.js +0 -337
- package/dist/commonjs/operations/communicationsNoSubscription.js.map +0 -7
- package/dist/commonjs/operations/fileWorkspaces.d.ts +0 -25
- package/dist/commonjs/operations/fileWorkspaces.d.ts.map +0 -1
- package/dist/commonjs/operations/fileWorkspaces.js +0 -116
- package/dist/commonjs/operations/fileWorkspaces.js.map +0 -7
- package/dist/commonjs/operations/fileWorkspacesNoSubscription.d.ts +0 -25
- package/dist/commonjs/operations/fileWorkspacesNoSubscription.d.ts.map +0 -1
- package/dist/commonjs/operations/fileWorkspacesNoSubscription.js +0 -108
- package/dist/commonjs/operations/fileWorkspacesNoSubscription.js.map +0 -7
- package/dist/commonjs/operations/files.d.ts +0 -58
- package/dist/commonjs/operations/files.d.ts.map +0 -1
- package/dist/commonjs/operations/files.js +0 -270
- package/dist/commonjs/operations/files.js.map +0 -7
- package/dist/commonjs/operations/filesNoSubscription.d.ts +0 -58
- package/dist/commonjs/operations/filesNoSubscription.d.ts.map +0 -1
- package/dist/commonjs/operations/filesNoSubscription.js +0 -262
- package/dist/commonjs/operations/filesNoSubscription.js.map +0 -7
- package/dist/commonjs/operations/index.d.ts +0 -14
- package/dist/commonjs/operations/index.d.ts.map +0 -1
- package/dist/commonjs/operations/index.js +0 -45
- package/dist/commonjs/operations/index.js.map +0 -7
- package/dist/commonjs/operations/operations.d.ts +0 -26
- package/dist/commonjs/operations/operations.d.ts.map +0 -1
- package/dist/commonjs/operations/operations.js +0 -108
- package/dist/commonjs/operations/operations.js.map +0 -7
- package/dist/commonjs/operations/problemClassifications.d.ts +0 -41
- package/dist/commonjs/operations/problemClassifications.d.ts.map +0 -1
- package/dist/commonjs/operations/problemClassifications.js +0 -151
- package/dist/commonjs/operations/problemClassifications.js.map +0 -7
- package/dist/commonjs/operations/services.d.ts +0 -44
- package/dist/commonjs/operations/services.d.ts.map +0 -1
- package/dist/commonjs/operations/services.js +0 -147
- package/dist/commonjs/operations/services.js.map +0 -7
- package/dist/commonjs/operations/supportTickets.d.ts +0 -113
- package/dist/commonjs/operations/supportTickets.d.ts.map +0 -1
- package/dist/commonjs/operations/supportTickets.js +0 -387
- package/dist/commonjs/operations/supportTickets.js.map +0 -7
- package/dist/commonjs/operations/supportTicketsNoSubscription.d.ts +0 -98
- package/dist/commonjs/operations/supportTicketsNoSubscription.d.ts.map +0 -1
- package/dist/commonjs/operations/supportTicketsNoSubscription.js +0 -356
- package/dist/commonjs/operations/supportTicketsNoSubscription.js.map +0 -7
- package/dist/commonjs/operationsInterfaces/chatTranscripts.d.ts +0 -19
- package/dist/commonjs/operationsInterfaces/chatTranscripts.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/chatTranscripts.js +0 -15
- package/dist/commonjs/operationsInterfaces/chatTranscripts.js.map +0 -7
- package/dist/commonjs/operationsInterfaces/chatTranscriptsNoSubscription.d.ts +0 -19
- package/dist/commonjs/operationsInterfaces/chatTranscriptsNoSubscription.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/chatTranscriptsNoSubscription.js +0 -15
- package/dist/commonjs/operationsInterfaces/chatTranscriptsNoSubscription.js.map +0 -7
- package/dist/commonjs/operationsInterfaces/communications.d.ts +0 -49
- package/dist/commonjs/operationsInterfaces/communications.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/communications.js +0 -15
- package/dist/commonjs/operationsInterfaces/communications.js.map +0 -7
- package/dist/commonjs/operationsInterfaces/communicationsNoSubscription.d.ts +0 -49
- package/dist/commonjs/operationsInterfaces/communicationsNoSubscription.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/communicationsNoSubscription.js +0 -15
- package/dist/commonjs/operationsInterfaces/communicationsNoSubscription.js.map +0 -7
- package/dist/commonjs/operationsInterfaces/fileWorkspaces.d.ts +0 -17
- package/dist/commonjs/operationsInterfaces/fileWorkspaces.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/fileWorkspaces.js +0 -15
- package/dist/commonjs/operationsInterfaces/fileWorkspaces.js.map +0 -7
- package/dist/commonjs/operationsInterfaces/fileWorkspacesNoSubscription.d.ts +0 -17
- package/dist/commonjs/operationsInterfaces/fileWorkspacesNoSubscription.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/fileWorkspacesNoSubscription.js +0 -15
- package/dist/commonjs/operationsInterfaces/fileWorkspacesNoSubscription.js.map +0 -7
- package/dist/commonjs/operationsInterfaces/files.d.ts +0 -35
- package/dist/commonjs/operationsInterfaces/files.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/files.js +0 -15
- package/dist/commonjs/operationsInterfaces/files.js.map +0 -7
- package/dist/commonjs/operationsInterfaces/filesNoSubscription.d.ts +0 -35
- package/dist/commonjs/operationsInterfaces/filesNoSubscription.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/filesNoSubscription.js +0 -15
- package/dist/commonjs/operationsInterfaces/filesNoSubscription.js.map +0 -7
- package/dist/commonjs/operationsInterfaces/index.d.ts +0 -14
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/index.js +0 -45
- package/dist/commonjs/operationsInterfaces/index.js.map +0 -7
- package/dist/commonjs/operationsInterfaces/operations.d.ts +0 -11
- package/dist/commonjs/operationsInterfaces/operations.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/operations.js +0 -15
- package/dist/commonjs/operationsInterfaces/operations.js.map +0 -7
- package/dist/commonjs/operationsInterfaces/problemClassifications.d.ts +0 -22
- package/dist/commonjs/operationsInterfaces/problemClassifications.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/problemClassifications.js +0 -15
- package/dist/commonjs/operationsInterfaces/problemClassifications.js.map +0 -7
- package/dist/commonjs/operationsInterfaces/services.d.ts +0 -23
- package/dist/commonjs/operationsInterfaces/services.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/services.js +0 -15
- package/dist/commonjs/operationsInterfaces/services.js.map +0 -7
- package/dist/commonjs/operationsInterfaces/supportTickets.d.ts +0 -88
- package/dist/commonjs/operationsInterfaces/supportTickets.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/supportTickets.js +0 -15
- package/dist/commonjs/operationsInterfaces/supportTickets.js.map +0 -7
- package/dist/commonjs/operationsInterfaces/supportTicketsNoSubscription.d.ts +0 -73
- package/dist/commonjs/operationsInterfaces/supportTicketsNoSubscription.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/supportTicketsNoSubscription.js +0 -15
- package/dist/commonjs/operationsInterfaces/supportTicketsNoSubscription.js.map +0 -7
- package/dist/commonjs/pagingHelper.d.ts +0 -13
- package/dist/commonjs/pagingHelper.d.ts.map +0 -1
- package/dist/commonjs/pagingHelper.js +0 -43
- package/dist/commonjs/pagingHelper.js.map +0 -7
- package/dist/esm/index.d.ts.map +0 -1
- package/dist/esm/lroImpl.d.ts +0 -11
- package/dist/esm/lroImpl.d.ts.map +0 -1
- package/dist/esm/lroImpl.js +0 -20
- package/dist/esm/lroImpl.js.map +0 -7
- package/dist/esm/microsoftSupport.d.ts.map +0 -1
- package/dist/esm/models/index.d.ts.map +0 -1
- package/dist/esm/models/mappers.d.ts +0 -40
- package/dist/esm/models/mappers.d.ts.map +0 -1
- package/dist/esm/models/mappers.js +0 -1388
- package/dist/esm/models/mappers.js.map +0 -7
- package/dist/esm/models/parameters.d.ts +0 -24
- package/dist/esm/models/parameters.d.ts.map +0 -1
- package/dist/esm/models/parameters.js +0 -222
- package/dist/esm/models/parameters.js.map +0 -7
- package/dist/esm/operations/chatTranscripts.d.ts +0 -42
- package/dist/esm/operations/chatTranscripts.d.ts.map +0 -1
- package/dist/esm/operations/chatTranscripts.js +0 -167
- package/dist/esm/operations/chatTranscripts.js.map +0 -7
- package/dist/esm/operations/chatTranscriptsNoSubscription.d.ts +0 -42
- package/dist/esm/operations/chatTranscriptsNoSubscription.d.ts.map +0 -1
- package/dist/esm/operations/chatTranscriptsNoSubscription.js +0 -161
- package/dist/esm/operations/chatTranscriptsNoSubscription.js.map +0 -7
- package/dist/esm/operations/communications.d.ts +0 -77
- package/dist/esm/operations/communications.d.ts.map +0 -1
- package/dist/esm/operations/communications.js +0 -317
- package/dist/esm/operations/communications.js.map +0 -7
- package/dist/esm/operations/communicationsNoSubscription.d.ts +0 -77
- package/dist/esm/operations/communicationsNoSubscription.d.ts.map +0 -1
- package/dist/esm/operations/communicationsNoSubscription.js +0 -306
- package/dist/esm/operations/communicationsNoSubscription.js.map +0 -7
- package/dist/esm/operations/fileWorkspaces.d.ts +0 -25
- package/dist/esm/operations/fileWorkspaces.d.ts.map +0 -1
- package/dist/esm/operations/fileWorkspaces.js +0 -83
- package/dist/esm/operations/fileWorkspaces.js.map +0 -7
- package/dist/esm/operations/fileWorkspacesNoSubscription.d.ts +0 -25
- package/dist/esm/operations/fileWorkspacesNoSubscription.d.ts.map +0 -1
- package/dist/esm/operations/fileWorkspacesNoSubscription.js +0 -75
- package/dist/esm/operations/fileWorkspacesNoSubscription.js.map +0 -7
- package/dist/esm/operations/files.d.ts +0 -58
- package/dist/esm/operations/files.d.ts.map +0 -1
- package/dist/esm/operations/files.js +0 -237
- package/dist/esm/operations/files.js.map +0 -7
- package/dist/esm/operations/filesNoSubscription.d.ts +0 -58
- package/dist/esm/operations/filesNoSubscription.d.ts.map +0 -1
- package/dist/esm/operations/filesNoSubscription.js +0 -229
- package/dist/esm/operations/filesNoSubscription.js.map +0 -7
- package/dist/esm/operations/index.d.ts +0 -14
- package/dist/esm/operations/index.d.ts.map +0 -1
- package/dist/esm/operations/index.js +0 -13
- package/dist/esm/operations/index.js.map +0 -7
- package/dist/esm/operations/operations.d.ts +0 -26
- package/dist/esm/operations/operations.d.ts.map +0 -1
- package/dist/esm/operations/operations.js +0 -75
- package/dist/esm/operations/operations.js.map +0 -7
- package/dist/esm/operations/problemClassifications.d.ts +0 -41
- package/dist/esm/operations/problemClassifications.d.ts.map +0 -1
- package/dist/esm/operations/problemClassifications.js +0 -118
- package/dist/esm/operations/problemClassifications.js.map +0 -7
- package/dist/esm/operations/services.d.ts +0 -44
- package/dist/esm/operations/services.d.ts.map +0 -1
- package/dist/esm/operations/services.js +0 -114
- package/dist/esm/operations/services.js.map +0 -7
- package/dist/esm/operations/supportTickets.d.ts +0 -113
- package/dist/esm/operations/supportTickets.d.ts.map +0 -1
- package/dist/esm/operations/supportTickets.js +0 -356
- package/dist/esm/operations/supportTickets.js.map +0 -7
- package/dist/esm/operations/supportTicketsNoSubscription.d.ts +0 -98
- package/dist/esm/operations/supportTicketsNoSubscription.d.ts.map +0 -1
- package/dist/esm/operations/supportTicketsNoSubscription.js +0 -325
- package/dist/esm/operations/supportTicketsNoSubscription.js.map +0 -7
- package/dist/esm/operationsInterfaces/chatTranscripts.d.ts +0 -19
- package/dist/esm/operationsInterfaces/chatTranscripts.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/chatTranscripts.js +0 -0
- package/dist/esm/operationsInterfaces/chatTranscripts.js.map +0 -7
- package/dist/esm/operationsInterfaces/chatTranscriptsNoSubscription.d.ts +0 -19
- package/dist/esm/operationsInterfaces/chatTranscriptsNoSubscription.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/chatTranscriptsNoSubscription.js +0 -0
- package/dist/esm/operationsInterfaces/chatTranscriptsNoSubscription.js.map +0 -7
- package/dist/esm/operationsInterfaces/communications.d.ts +0 -49
- package/dist/esm/operationsInterfaces/communications.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/communications.js +0 -0
- package/dist/esm/operationsInterfaces/communications.js.map +0 -7
- package/dist/esm/operationsInterfaces/communicationsNoSubscription.d.ts +0 -49
- package/dist/esm/operationsInterfaces/communicationsNoSubscription.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/communicationsNoSubscription.js +0 -0
- package/dist/esm/operationsInterfaces/communicationsNoSubscription.js.map +0 -7
- package/dist/esm/operationsInterfaces/fileWorkspaces.d.ts +0 -17
- package/dist/esm/operationsInterfaces/fileWorkspaces.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/fileWorkspaces.js +0 -0
- package/dist/esm/operationsInterfaces/fileWorkspaces.js.map +0 -7
- package/dist/esm/operationsInterfaces/fileWorkspacesNoSubscription.d.ts +0 -17
- package/dist/esm/operationsInterfaces/fileWorkspacesNoSubscription.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/fileWorkspacesNoSubscription.js +0 -0
- package/dist/esm/operationsInterfaces/fileWorkspacesNoSubscription.js.map +0 -7
- package/dist/esm/operationsInterfaces/files.d.ts +0 -35
- package/dist/esm/operationsInterfaces/files.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/files.js +0 -0
- package/dist/esm/operationsInterfaces/files.js.map +0 -7
- package/dist/esm/operationsInterfaces/filesNoSubscription.d.ts +0 -35
- package/dist/esm/operationsInterfaces/filesNoSubscription.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/filesNoSubscription.js +0 -0
- package/dist/esm/operationsInterfaces/filesNoSubscription.js.map +0 -7
- package/dist/esm/operationsInterfaces/index.d.ts +0 -14
- package/dist/esm/operationsInterfaces/index.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/index.js +0 -13
- package/dist/esm/operationsInterfaces/index.js.map +0 -7
- package/dist/esm/operationsInterfaces/operations.d.ts +0 -11
- package/dist/esm/operationsInterfaces/operations.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/operations.js +0 -0
- package/dist/esm/operationsInterfaces/operations.js.map +0 -7
- package/dist/esm/operationsInterfaces/problemClassifications.d.ts +0 -22
- package/dist/esm/operationsInterfaces/problemClassifications.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/problemClassifications.js +0 -0
- package/dist/esm/operationsInterfaces/problemClassifications.js.map +0 -7
- package/dist/esm/operationsInterfaces/services.d.ts +0 -23
- package/dist/esm/operationsInterfaces/services.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/services.js +0 -0
- package/dist/esm/operationsInterfaces/services.js.map +0 -7
- package/dist/esm/operationsInterfaces/supportTickets.d.ts +0 -88
- package/dist/esm/operationsInterfaces/supportTickets.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/supportTickets.js +0 -0
- package/dist/esm/operationsInterfaces/supportTickets.js.map +0 -7
- package/dist/esm/operationsInterfaces/supportTicketsNoSubscription.d.ts +0 -73
- package/dist/esm/operationsInterfaces/supportTicketsNoSubscription.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/supportTicketsNoSubscription.js +0 -0
- package/dist/esm/operationsInterfaces/supportTicketsNoSubscription.js.map +0 -7
- package/dist/esm/pagingHelper.d.ts +0 -13
- package/dist/esm/pagingHelper.d.ts.map +0 -1
- package/dist/esm/pagingHelper.js +0 -19
- package/dist/esm/pagingHelper.js.map +0 -7
- package/dist/react-native/index.d.ts +0 -5
- package/dist/react-native/index.d.ts.map +0 -1
- package/dist/react-native/index.js +0 -13
- package/dist/react-native/index.js.map +0 -1
- package/dist/react-native/lroImpl.d.ts +0 -11
- package/dist/react-native/lroImpl.d.ts.map +0 -1
- package/dist/react-native/lroImpl.js +0 -18
- package/dist/react-native/lroImpl.js.map +0 -1
- package/dist/react-native/microsoftSupport.d.ts +0 -33
- package/dist/react-native/microsoftSupport.d.ts.map +0 -1
- package/dist/react-native/microsoftSupport.js +0 -128
- package/dist/react-native/microsoftSupport.js.map +0 -1
- package/dist/react-native/models/index.d.ts +0 -1000
- package/dist/react-native/models/index.d.ts.map +0 -1
- package/dist/react-native/models/index.js +0 -92
- package/dist/react-native/models/index.js.map +0 -1
- package/dist/react-native/models/mappers.d.ts +0 -40
- package/dist/react-native/models/mappers.d.ts.map +0 -1
- package/dist/react-native/models/mappers.js +0 -1356
- package/dist/react-native/models/mappers.js.map +0 -1
- package/dist/react-native/models/parameters.d.ts +0 -24
- package/dist/react-native/models/parameters.d.ts.map +0 -1
- package/dist/react-native/models/parameters.js +0 -199
- package/dist/react-native/models/parameters.js.map +0 -1
- package/dist/react-native/operations/chatTranscripts.d.ts +0 -42
- package/dist/react-native/operations/chatTranscripts.d.ts.map +0 -1
- package/dist/react-native/operations/chatTranscripts.js +0 -158
- package/dist/react-native/operations/chatTranscripts.js.map +0 -1
- package/dist/react-native/operations/chatTranscriptsNoSubscription.d.ts +0 -42
- package/dist/react-native/operations/chatTranscriptsNoSubscription.d.ts.map +0 -1
- package/dist/react-native/operations/chatTranscriptsNoSubscription.js +0 -152
- package/dist/react-native/operations/chatTranscriptsNoSubscription.js.map +0 -1
- package/dist/react-native/operations/communications.d.ts +0 -77
- package/dist/react-native/operations/communications.d.ts.map +0 -1
- package/dist/react-native/operations/communications.js +0 -298
- package/dist/react-native/operations/communications.js.map +0 -1
- package/dist/react-native/operations/communicationsNoSubscription.d.ts +0 -77
- package/dist/react-native/operations/communicationsNoSubscription.d.ts.map +0 -1
- package/dist/react-native/operations/communicationsNoSubscription.js +0 -287
- package/dist/react-native/operations/communicationsNoSubscription.js.map +0 -1
- package/dist/react-native/operations/fileWorkspaces.d.ts +0 -25
- package/dist/react-native/operations/fileWorkspaces.d.ts.map +0 -1
- package/dist/react-native/operations/fileWorkspaces.js +0 -80
- package/dist/react-native/operations/fileWorkspaces.js.map +0 -1
- package/dist/react-native/operations/fileWorkspacesNoSubscription.d.ts +0 -25
- package/dist/react-native/operations/fileWorkspacesNoSubscription.d.ts.map +0 -1
- package/dist/react-native/operations/fileWorkspacesNoSubscription.js +0 -72
- package/dist/react-native/operations/fileWorkspacesNoSubscription.js.map +0 -1
- package/dist/react-native/operations/files.d.ts +0 -58
- package/dist/react-native/operations/files.d.ts.map +0 -1
- package/dist/react-native/operations/files.js +0 -222
- package/dist/react-native/operations/files.js.map +0 -1
- package/dist/react-native/operations/filesNoSubscription.d.ts +0 -58
- package/dist/react-native/operations/filesNoSubscription.d.ts.map +0 -1
- package/dist/react-native/operations/filesNoSubscription.js +0 -214
- package/dist/react-native/operations/filesNoSubscription.js.map +0 -1
- package/dist/react-native/operations/index.d.ts +0 -14
- package/dist/react-native/operations/index.d.ts.map +0 -1
- package/dist/react-native/operations/index.js +0 -21
- package/dist/react-native/operations/index.js.map +0 -1
- package/dist/react-native/operations/operations.d.ts +0 -26
- package/dist/react-native/operations/operations.d.ts.map +0 -1
- package/dist/react-native/operations/operations.js +0 -79
- package/dist/react-native/operations/operations.js.map +0 -1
- package/dist/react-native/operations/problemClassifications.d.ts +0 -41
- package/dist/react-native/operations/problemClassifications.d.ts.map +0 -1
- package/dist/react-native/operations/problemClassifications.js +0 -116
- package/dist/react-native/operations/problemClassifications.js.map +0 -1
- package/dist/react-native/operations/services.d.ts +0 -44
- package/dist/react-native/operations/services.d.ts.map +0 -1
- package/dist/react-native/operations/services.js +0 -115
- package/dist/react-native/operations/services.js.map +0 -1
- package/dist/react-native/operations/supportTickets.d.ts +0 -113
- package/dist/react-native/operations/supportTickets.d.ts.map +0 -1
- package/dist/react-native/operations/supportTickets.js +0 -342
- package/dist/react-native/operations/supportTickets.js.map +0 -1
- package/dist/react-native/operations/supportTicketsNoSubscription.d.ts +0 -98
- package/dist/react-native/operations/supportTicketsNoSubscription.d.ts.map +0 -1
- package/dist/react-native/operations/supportTicketsNoSubscription.js +0 -311
- package/dist/react-native/operations/supportTicketsNoSubscription.js.map +0 -1
- package/dist/react-native/operationsInterfaces/chatTranscripts.d.ts +0 -19
- package/dist/react-native/operationsInterfaces/chatTranscripts.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/chatTranscripts.js +0 -9
- package/dist/react-native/operationsInterfaces/chatTranscripts.js.map +0 -1
- package/dist/react-native/operationsInterfaces/chatTranscriptsNoSubscription.d.ts +0 -19
- package/dist/react-native/operationsInterfaces/chatTranscriptsNoSubscription.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/chatTranscriptsNoSubscription.js +0 -9
- package/dist/react-native/operationsInterfaces/chatTranscriptsNoSubscription.js.map +0 -1
- package/dist/react-native/operationsInterfaces/communications.d.ts +0 -49
- package/dist/react-native/operationsInterfaces/communications.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/communications.js +0 -9
- package/dist/react-native/operationsInterfaces/communications.js.map +0 -1
- package/dist/react-native/operationsInterfaces/communicationsNoSubscription.d.ts +0 -49
- package/dist/react-native/operationsInterfaces/communicationsNoSubscription.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/communicationsNoSubscription.js +0 -9
- package/dist/react-native/operationsInterfaces/communicationsNoSubscription.js.map +0 -1
- package/dist/react-native/operationsInterfaces/fileWorkspaces.d.ts +0 -17
- package/dist/react-native/operationsInterfaces/fileWorkspaces.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/fileWorkspaces.js +0 -9
- package/dist/react-native/operationsInterfaces/fileWorkspaces.js.map +0 -1
- package/dist/react-native/operationsInterfaces/fileWorkspacesNoSubscription.d.ts +0 -17
- package/dist/react-native/operationsInterfaces/fileWorkspacesNoSubscription.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/fileWorkspacesNoSubscription.js +0 -9
- package/dist/react-native/operationsInterfaces/fileWorkspacesNoSubscription.js.map +0 -1
- package/dist/react-native/operationsInterfaces/files.d.ts +0 -35
- package/dist/react-native/operationsInterfaces/files.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/files.js +0 -9
- package/dist/react-native/operationsInterfaces/files.js.map +0 -1
- package/dist/react-native/operationsInterfaces/filesNoSubscription.d.ts +0 -35
- package/dist/react-native/operationsInterfaces/filesNoSubscription.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/filesNoSubscription.js +0 -9
- package/dist/react-native/operationsInterfaces/filesNoSubscription.js.map +0 -1
- package/dist/react-native/operationsInterfaces/index.d.ts +0 -14
- package/dist/react-native/operationsInterfaces/index.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/index.js +0 -21
- package/dist/react-native/operationsInterfaces/index.js.map +0 -1
- package/dist/react-native/operationsInterfaces/operations.d.ts +0 -11
- package/dist/react-native/operationsInterfaces/operations.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/operations.js +0 -9
- package/dist/react-native/operationsInterfaces/operations.js.map +0 -1
- package/dist/react-native/operationsInterfaces/problemClassifications.d.ts +0 -22
- package/dist/react-native/operationsInterfaces/problemClassifications.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/problemClassifications.js +0 -9
- package/dist/react-native/operationsInterfaces/problemClassifications.js.map +0 -1
- package/dist/react-native/operationsInterfaces/services.d.ts +0 -23
- package/dist/react-native/operationsInterfaces/services.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/services.js +0 -9
- package/dist/react-native/operationsInterfaces/services.js.map +0 -1
- package/dist/react-native/operationsInterfaces/supportTickets.d.ts +0 -88
- package/dist/react-native/operationsInterfaces/supportTickets.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/supportTickets.js +0 -9
- package/dist/react-native/operationsInterfaces/supportTickets.js.map +0 -1
- package/dist/react-native/operationsInterfaces/supportTicketsNoSubscription.d.ts +0 -73
- package/dist/react-native/operationsInterfaces/supportTicketsNoSubscription.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/supportTicketsNoSubscription.js +0 -9
- package/dist/react-native/operationsInterfaces/supportTicketsNoSubscription.js.map +0 -1
- package/dist/react-native/package.json +0 -3
- package/dist/react-native/pagingHelper.d.ts +0 -13
- package/dist/react-native/pagingHelper.d.ts.map +0 -1
- package/dist/react-native/pagingHelper.js +0 -30
- package/dist/react-native/pagingHelper.js.map +0 -1
- package/review/arm-support-node.api.md +0 -889
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
|
2
|
+
// Licensed under the MIT License.
|
|
3
|
+
import { errorResponseDeserializer, problemClassificationDeserializer, _problemClassificationsListResultDeserializer, } from "../../models/models.js";
|
|
4
|
+
import { buildPagedAsyncIterator, } from "../../static-helpers/pagingHelpers.js";
|
|
5
|
+
import { expandUrlTemplate } from "../../static-helpers/urlTemplate.js";
|
|
6
|
+
import { createRestError, operationOptionsToRequestParameters, } from "@azure-rest/core-client";
|
|
7
|
+
export function _listSend(context, serviceName, options = { requestOptions: {} }) {
|
|
8
|
+
const path = expandUrlTemplate("/providers/Microsoft.Support/services/{serviceName}/problemClassifications{?api%2Dversion}", {
|
|
9
|
+
serviceName: serviceName,
|
|
10
|
+
"api%2Dversion": context.apiVersion ?? "2025-06-01-preview",
|
|
11
|
+
}, {
|
|
12
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
13
|
+
});
|
|
14
|
+
return context.path(path).get({
|
|
15
|
+
...operationOptionsToRequestParameters(options),
|
|
16
|
+
headers: { accept: "application/json", ...options.requestOptions?.headers },
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
export async function _listDeserialize(result) {
|
|
20
|
+
const expectedStatuses = ["200"];
|
|
21
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
22
|
+
const error = createRestError(result);
|
|
23
|
+
if (result.body) {
|
|
24
|
+
error.details = errorResponseDeserializer(result.body);
|
|
25
|
+
}
|
|
26
|
+
throw error;
|
|
27
|
+
}
|
|
28
|
+
return _problemClassificationsListResultDeserializer(result.body);
|
|
29
|
+
}
|
|
30
|
+
/** Lists all the problem classifications (categories) available for a specific Azure service. Always use the service and problem classifications obtained programmatically. This practice ensures that you always have the most recent set of service and problem classification Ids. */
|
|
31
|
+
export function list(context, serviceName, options = { requestOptions: {} }) {
|
|
32
|
+
return buildPagedAsyncIterator(context, () => _listSend(context, serviceName, options), _listDeserialize, ["200"], {
|
|
33
|
+
itemName: "value",
|
|
34
|
+
nextLinkName: "nextLink",
|
|
35
|
+
apiVersion: context.apiVersion ?? "2025-06-01-preview",
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
export function _getSend(context, serviceName, problemClassificationName, options = { requestOptions: {} }) {
|
|
39
|
+
const path = expandUrlTemplate("/providers/Microsoft.Support/services/{serviceName}/problemClassifications/{problemClassificationName}{?api%2Dversion}", {
|
|
40
|
+
serviceName: serviceName,
|
|
41
|
+
problemClassificationName: problemClassificationName,
|
|
42
|
+
"api%2Dversion": context.apiVersion ?? "2025-06-01-preview",
|
|
43
|
+
}, {
|
|
44
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
45
|
+
});
|
|
46
|
+
return context.path(path).get({
|
|
47
|
+
...operationOptionsToRequestParameters(options),
|
|
48
|
+
headers: { accept: "application/json", ...options.requestOptions?.headers },
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
export async function _getDeserialize(result) {
|
|
52
|
+
const expectedStatuses = ["200"];
|
|
53
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
54
|
+
const error = createRestError(result);
|
|
55
|
+
if (result.body) {
|
|
56
|
+
error.details = errorResponseDeserializer(result.body);
|
|
57
|
+
}
|
|
58
|
+
throw error;
|
|
59
|
+
}
|
|
60
|
+
return problemClassificationDeserializer(result.body);
|
|
61
|
+
}
|
|
62
|
+
/** Get problem classification details for a specific Azure service. */
|
|
63
|
+
export async function get(context, serviceName, problemClassificationName, options = { requestOptions: {} }) {
|
|
64
|
+
const result = await _getSend(context, serviceName, problemClassificationName, options);
|
|
65
|
+
return _getDeserialize(result);
|
|
66
|
+
}
|
|
67
|
+
//# sourceMappingURL=operations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../../src/api/problemClassifications/operations.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC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AAM,CAAC,IAAI,EAAE,CAAC;YAChB,KAAK,CAAC,OAAO,GAAG,yBAAyB,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;QACzD,CAAC;QAED,MAAM,KAAK,CAAC;IACd,CAAC;IAED,OAAO,iCAAiC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AACxD,CAAC;AAED,uEAAuE;AACvE,MAAM,CAAC,KAAK,UAAU,GAAG,CACvB,OAAe,EACf,WAAmB,EACnB,yBAAiC,EACjC,UAAmD,EAAE,cAAc,EAAE,EAAE,EAAE;IAEzE,MAAM,MAAM,GAAG,MAAM,QAAQ,CAAC,OAAO,EAAE,WAAW,EAAE,yBAAyB,EAAE,OAAO,CAAC,CAAC;IACxF,OAAO,eAAe,CAAC,MAAM,CAAC,CAAC;AACjC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { MicrosoftSupportContext as Client } from \"../index.js\";\nimport {\n errorResponseDeserializer,\n ProblemClassification,\n problemClassificationDeserializer,\n _ProblemClassificationsListResult,\n _problemClassificationsListResultDeserializer,\n} from \"../../models/models.js\";\nimport {\n PagedAsyncIterableIterator,\n buildPagedAsyncIterator,\n} from \"../../static-helpers/pagingHelpers.js\";\nimport { expandUrlTemplate } from \"../../static-helpers/urlTemplate.js\";\nimport {\n ProblemClassificationsListOptionalParams,\n ProblemClassificationsGetOptionalParams,\n} from \"./options.js\";\nimport {\n StreamableMethod,\n PathUncheckedResponse,\n createRestError,\n operationOptionsToRequestParameters,\n} from \"@azure-rest/core-client\";\n\nexport function _listSend(\n context: Client,\n serviceName: string,\n options: ProblemClassificationsListOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/providers/Microsoft.Support/services/{serviceName}/problemClassifications{?api%2Dversion}\",\n {\n serviceName: serviceName,\n \"api%2Dversion\": context.apiVersion ?? \"2025-06-01-preview\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _listDeserialize(\n result: PathUncheckedResponse,\n): Promise<_ProblemClassificationsListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return _problemClassificationsListResultDeserializer(result.body);\n}\n\n/** Lists all the problem classifications (categories) available for a specific Azure service. Always use the service and problem classifications obtained programmatically. This practice ensures that you always have the most recent set of service and problem classification Ids. */\nexport function list(\n context: Client,\n serviceName: string,\n options: ProblemClassificationsListOptionalParams = { requestOptions: {} },\n): PagedAsyncIterableIterator<ProblemClassification> {\n return buildPagedAsyncIterator(\n context,\n () => _listSend(context, serviceName, options),\n _listDeserialize,\n [\"200\"],\n {\n itemName: \"value\",\n nextLinkName: \"nextLink\",\n apiVersion: context.apiVersion ?? \"2025-06-01-preview\",\n },\n );\n}\n\nexport function _getSend(\n context: Client,\n serviceName: string,\n problemClassificationName: string,\n options: ProblemClassificationsGetOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/providers/Microsoft.Support/services/{serviceName}/problemClassifications/{problemClassificationName}{?api%2Dversion}\",\n {\n serviceName: serviceName,\n problemClassificationName: problemClassificationName,\n \"api%2Dversion\": context.apiVersion ?? \"2025-06-01-preview\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _getDeserialize(\n result: PathUncheckedResponse,\n): Promise<ProblemClassification> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return problemClassificationDeserializer(result.body);\n}\n\n/** Get problem classification details for a specific Azure service. */\nexport async function get(\n context: Client,\n serviceName: string,\n problemClassificationName: string,\n options: ProblemClassificationsGetOptionalParams = { requestOptions: {} },\n): Promise<ProblemClassification> {\n const result = await _getSend(context, serviceName, problemClassificationName, options);\n return _getDeserialize(result);\n}\n"]}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { OperationOptions } from "@azure-rest/core-client";
|
|
2
|
+
/** Optional parameters. */
|
|
3
|
+
export interface ProblemClassificationsListOptionalParams extends OperationOptions {
|
|
4
|
+
}
|
|
5
|
+
/** Optional parameters. */
|
|
6
|
+
export interface ProblemClassificationsGetOptionalParams extends OperationOptions {
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=options.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"options.js","sourceRoot":"","sources":["../../../../src/api/problemClassifications/options.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { OperationOptions } from \"@azure-rest/core-client\";\n\n/** Optional parameters. */\nexport interface ProblemClassificationsListOptionalParams extends OperationOptions {}\n\n/** Optional parameters. */\nexport interface ProblemClassificationsGetOptionalParams extends OperationOptions {}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/services/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport { list, get } from \"./operations.js\";\nexport type { ServicesListOptionalParams, ServicesGetOptionalParams } from \"./options.js\";\n"]}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { MicrosoftSupportContext as Client } from "../index.js";
|
|
2
|
+
import { Service, _ServicesListResult } from "../../models/models.js";
|
|
3
|
+
import { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
|
|
4
|
+
import { ServicesListOptionalParams, ServicesGetOptionalParams } from "./options.js";
|
|
5
|
+
import { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client";
|
|
6
|
+
export declare function _listSend(context: Client, options?: ServicesListOptionalParams): StreamableMethod;
|
|
7
|
+
export declare function _listDeserialize(result: PathUncheckedResponse): Promise<_ServicesListResult>;
|
|
8
|
+
/** Lists all the Azure services available for support ticket creation. For **Technical** issues, select the Service Id that maps to the Azure service/product as displayed in the **Services** drop-down list on the Azure portal's [New support request](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/overview) page. Always use the service and its corresponding problem classification(s) obtained programmatically for support ticket creation. This practice ensures that you always have the most recent set of service and problem classification Ids. */
|
|
9
|
+
export declare function list(context: Client, options?: ServicesListOptionalParams): PagedAsyncIterableIterator<Service>;
|
|
10
|
+
export declare function _getSend(context: Client, serviceName: string, options?: ServicesGetOptionalParams): StreamableMethod;
|
|
11
|
+
export declare function _getDeserialize(result: PathUncheckedResponse): Promise<Service>;
|
|
12
|
+
/** Gets a specific Azure service for support ticket creation. */
|
|
13
|
+
export declare function get(context: Client, serviceName: string, options?: ServicesGetOptionalParams): Promise<Service>;
|
|
14
|
+
//# sourceMappingURL=operations.d.ts.map
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
|
2
|
+
// Licensed under the MIT License.
|
|
3
|
+
import { errorResponseDeserializer, serviceDeserializer, _servicesListResultDeserializer, } from "../../models/models.js";
|
|
4
|
+
import { buildPagedAsyncIterator, } from "../../static-helpers/pagingHelpers.js";
|
|
5
|
+
import { expandUrlTemplate } from "../../static-helpers/urlTemplate.js";
|
|
6
|
+
import { createRestError, operationOptionsToRequestParameters, } from "@azure-rest/core-client";
|
|
7
|
+
export function _listSend(context, options = { requestOptions: {} }) {
|
|
8
|
+
const path = expandUrlTemplate("/providers/Microsoft.Support/services{?api%2Dversion}", {
|
|
9
|
+
"api%2Dversion": context.apiVersion ?? "2025-06-01-preview",
|
|
10
|
+
}, {
|
|
11
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
12
|
+
});
|
|
13
|
+
return context.path(path).get({
|
|
14
|
+
...operationOptionsToRequestParameters(options),
|
|
15
|
+
headers: { accept: "application/json", ...options.requestOptions?.headers },
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
export async function _listDeserialize(result) {
|
|
19
|
+
const expectedStatuses = ["200"];
|
|
20
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
21
|
+
const error = createRestError(result);
|
|
22
|
+
if (result.body) {
|
|
23
|
+
error.details = errorResponseDeserializer(result.body);
|
|
24
|
+
}
|
|
25
|
+
throw error;
|
|
26
|
+
}
|
|
27
|
+
return _servicesListResultDeserializer(result.body);
|
|
28
|
+
}
|
|
29
|
+
/** Lists all the Azure services available for support ticket creation. For **Technical** issues, select the Service Id that maps to the Azure service/product as displayed in the **Services** drop-down list on the Azure portal's [New support request](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/overview) page. Always use the service and its corresponding problem classification(s) obtained programmatically for support ticket creation. This practice ensures that you always have the most recent set of service and problem classification Ids. */
|
|
30
|
+
export function list(context, options = { requestOptions: {} }) {
|
|
31
|
+
return buildPagedAsyncIterator(context, () => _listSend(context, options), _listDeserialize, ["200"], {
|
|
32
|
+
itemName: "value",
|
|
33
|
+
nextLinkName: "nextLink",
|
|
34
|
+
apiVersion: context.apiVersion ?? "2025-06-01-preview",
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
export function _getSend(context, serviceName, options = { requestOptions: {} }) {
|
|
38
|
+
const path = expandUrlTemplate("/providers/Microsoft.Support/services/{serviceName}{?api%2Dversion}", {
|
|
39
|
+
serviceName: serviceName,
|
|
40
|
+
"api%2Dversion": context.apiVersion ?? "2025-06-01-preview",
|
|
41
|
+
}, {
|
|
42
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
43
|
+
});
|
|
44
|
+
return context.path(path).get({
|
|
45
|
+
...operationOptionsToRequestParameters(options),
|
|
46
|
+
headers: { accept: "application/json", ...options.requestOptions?.headers },
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
export async function _getDeserialize(result) {
|
|
50
|
+
const expectedStatuses = ["200"];
|
|
51
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
52
|
+
const error = createRestError(result);
|
|
53
|
+
if (result.body) {
|
|
54
|
+
error.details = errorResponseDeserializer(result.body);
|
|
55
|
+
}
|
|
56
|
+
throw error;
|
|
57
|
+
}
|
|
58
|
+
return serviceDeserializer(result.body);
|
|
59
|
+
}
|
|
60
|
+
/** Gets a specific Azure service for support ticket creation. */
|
|
61
|
+
export async function get(context, serviceName, options = { requestOptions: {} }) {
|
|
62
|
+
const result = await _getSend(context, serviceName, options);
|
|
63
|
+
return _getDeserialize(result);
|
|
64
|
+
}
|
|
65
|
+
//# sourceMappingURL=operations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../../src/api/services/operations.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EACL,yBAAyB,EAEzB,mBAAmB,EAEnB,+BAA+B,GAChC,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAEL,uBAAuB,GACxB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AAExE,OAAO,EAGL,eAAe,EACf,mCAAmC,GACpC,MAAM,yBAAyB,CAAC;AAEjC,MAAM,UAAU,SAAS,CACvB,OAAe,EACf,UAAsC,EAAE,cAAc,EAAE,EAAE,EAAE;IAE5D,MAAM,IAAI,GAAG,iBAAiB,CAC5B,uDAAuD,EACvD;QACE,eAAe,EAAE,OAAO,CAAC,UAAU,IAAI,oBAAoB;KAC5D,EACD;QACE,a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BAAiB,CAC5B,qEAAqE,EACrE;QACE,WAAW,EAAE,WAAW;QACxB,eAAe,EAAE,OAAO,CAAC,UAAU,IAAI,oBAAoB;KAC5D,EACD;QACE,aAAa,EAAE,OAAO,EAAE,cAAc,EAAE,eAAe;KACxD,CACF,CAAC;IACF,OAAO,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC;QAC5B,GAAG,mCAAmC,CAAC,OAAO,CAAC;QAC/C,OAAO,EAAE,EAAE,MAAM,EAAE,kBAAkB,EAAE,GAAG,OAAO,CAAC,cAAc,EAAE,OAAO,EAAE;KAC5E,CAAC,CAAC;AACL,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,eAAe,CAAC,MAA6B;IACjE,MAAM,gBAAgB,GAAG,CAAC,KAAK,CAAC,CAAC;IACjC,IAAI,CAAC,gBAAgB,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC;QAC9C,MAAM,KAAK,GAAG,eAAe,CAAC,MAAM,CAAC,CAAC;QACtC,IAAI,MAAM,CAAC,IAAI,EAAE,CAAC;YAChB,KAAK,CAAC,OAAO,GAAG,yBAAyB,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;QACzD,CAAC;QAED,MAAM,KAAK,CAAC;IACd,CAAC;IAED,OAAO,mBAAmB,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AAC1C,CAAC;AAED,iEAAiE;AACjE,MAAM,CAAC,KAAK,UAAU,GAAG,CACvB,OAAe,EACf,WAAmB,EACnB,UAAqC,EAAE,cAAc,EAAE,EAAE,EAAE;IAE3D,MAAM,MAAM,GAAG,MAAM,QAAQ,CAAC,OAAO,EAAE,WAAW,EAAE,OAAO,CAAC,CAAC;IAC7D,OAAO,eAAe,CAAC,MAAM,CAAC,CAAC;AACjC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { MicrosoftSupportContext as Client } from \"../index.js\";\nimport {\n errorResponseDeserializer,\n Service,\n serviceDeserializer,\n _ServicesListResult,\n _servicesListResultDeserializer,\n} from \"../../models/models.js\";\nimport {\n PagedAsyncIterableIterator,\n buildPagedAsyncIterator,\n} from \"../../static-helpers/pagingHelpers.js\";\nimport { expandUrlTemplate } from \"../../static-helpers/urlTemplate.js\";\nimport { ServicesListOptionalParams, ServicesGetOptionalParams } from \"./options.js\";\nimport {\n StreamableMethod,\n PathUncheckedResponse,\n createRestError,\n operationOptionsToRequestParameters,\n} from \"@azure-rest/core-client\";\n\nexport function _listSend(\n context: Client,\n options: ServicesListOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/providers/Microsoft.Support/services{?api%2Dversion}\",\n {\n \"api%2Dversion\": context.apiVersion ?? \"2025-06-01-preview\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _listDeserialize(\n result: PathUncheckedResponse,\n): Promise<_ServicesListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return _servicesListResultDeserializer(result.body);\n}\n\n/** Lists all the Azure services available for support ticket creation. For **Technical** issues, select the Service Id that maps to the Azure service/product as displayed in the **Services** drop-down list on the Azure portal's [New support request](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/overview) page. Always use the service and its corresponding problem classification(s) obtained programmatically for support ticket creation. This practice ensures that you always have the most recent set of service and problem classification Ids. */\nexport function list(\n context: Client,\n options: ServicesListOptionalParams = { requestOptions: {} },\n): PagedAsyncIterableIterator<Service> {\n return buildPagedAsyncIterator(\n context,\n () => _listSend(context, options),\n _listDeserialize,\n [\"200\"],\n {\n itemName: \"value\",\n nextLinkName: \"nextLink\",\n apiVersion: context.apiVersion ?? \"2025-06-01-preview\",\n },\n );\n}\n\nexport function _getSend(\n context: Client,\n serviceName: string,\n options: ServicesGetOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/providers/Microsoft.Support/services/{serviceName}{?api%2Dversion}\",\n {\n serviceName: serviceName,\n \"api%2Dversion\": context.apiVersion ?? \"2025-06-01-preview\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _getDeserialize(result: PathUncheckedResponse): Promise<Service> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return serviceDeserializer(result.body);\n}\n\n/** Gets a specific Azure service for support ticket creation. */\nexport async function get(\n context: Client,\n serviceName: string,\n options: ServicesGetOptionalParams = { requestOptions: {} },\n): Promise<Service> {\n const result = await _getSend(context, serviceName, options);\n return _getDeserialize(result);\n}\n"]}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { OperationOptions } from "@azure-rest/core-client";
|
|
2
|
+
/** Optional parameters. */
|
|
3
|
+
export interface ServicesListOptionalParams extends OperationOptions {
|
|
4
|
+
}
|
|
5
|
+
/** Optional parameters. */
|
|
6
|
+
export interface ServicesGetOptionalParams extends OperationOptions {
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=options.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"options.js","sourceRoot":"","sources":["../../../../src/api/services/options.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { OperationOptions } from \"@azure-rest/core-client\";\n\n/** Optional parameters. */\nexport interface ServicesListOptionalParams extends OperationOptions {}\n\n/** Optional parameters. */\nexport interface ServicesGetOptionalParams extends OperationOptions {}\n"]}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { checkNameAvailability, lookUpResourceId, list, update, create, get, } from "./operations.js";
|
|
2
|
+
export type { SupportTicketsCheckNameAvailabilityOptionalParams, SupportTicketsLookUpResourceIdOptionalParams, SupportTicketsListOptionalParams, SupportTicketsUpdateOptionalParams, SupportTicketsCreateOptionalParams, SupportTicketsGetOptionalParams, } from "./options.js";
|
|
3
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/supportTickets/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EACL,qBAAqB,EACrB,gBAAgB,EAChB,IAAI,EACJ,MAAM,EACN,MAAM,EACN,GAAG,GACJ,MAAM,iBAAiB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport {\n checkNameAvailability,\n lookUpResourceId,\n list,\n update,\n create,\n get,\n} from \"./operations.js\";\nexport type {\n SupportTicketsCheckNameAvailabilityOptionalParams,\n SupportTicketsLookUpResourceIdOptionalParams,\n SupportTicketsListOptionalParams,\n SupportTicketsUpdateOptionalParams,\n SupportTicketsCreateOptionalParams,\n SupportTicketsGetOptionalParams,\n} from \"./options.js\";\n"]}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { MicrosoftSupportContext as Client } from "../index.js";
|
|
2
|
+
import { CheckNameAvailabilityInput, CheckNameAvailabilityOutput, SupportTicketDetails, UpdateSupportTicket, _SupportTicketsListResult, LookUpResourceIdRequest, LookUpResourceIdResponse } from "../../models/models.js";
|
|
3
|
+
import { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
|
|
4
|
+
import { SupportTicketsCheckNameAvailabilityOptionalParams, SupportTicketsLookUpResourceIdOptionalParams, SupportTicketsListOptionalParams, SupportTicketsUpdateOptionalParams, SupportTicketsCreateOptionalParams, SupportTicketsGetOptionalParams } from "./options.js";
|
|
5
|
+
import { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client";
|
|
6
|
+
import { PollerLike, OperationState } from "@azure/core-lro";
|
|
7
|
+
export declare function _checkNameAvailabilitySend(context: Client, checkNameAvailabilityInput: CheckNameAvailabilityInput, options?: SupportTicketsCheckNameAvailabilityOptionalParams): StreamableMethod;
|
|
8
|
+
export declare function _checkNameAvailabilityDeserialize(result: PathUncheckedResponse): Promise<CheckNameAvailabilityOutput>;
|
|
9
|
+
/** 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. */
|
|
10
|
+
export declare function checkNameAvailability(context: Client, checkNameAvailabilityInput: CheckNameAvailabilityInput, options?: SupportTicketsCheckNameAvailabilityOptionalParams): Promise<CheckNameAvailabilityOutput>;
|
|
11
|
+
export declare function _lookUpResourceIdSend(context: Client, lookUpResourceIdRequest: LookUpResourceIdRequest, options?: SupportTicketsLookUpResourceIdOptionalParams): StreamableMethod;
|
|
12
|
+
export declare function _lookUpResourceIdDeserialize(result: PathUncheckedResponse): Promise<LookUpResourceIdResponse>;
|
|
13
|
+
/** This operation fetches ARM resource id of support resource type. */
|
|
14
|
+
export declare function lookUpResourceId(context: Client, lookUpResourceIdRequest: LookUpResourceIdRequest, options?: SupportTicketsLookUpResourceIdOptionalParams): Promise<LookUpResourceIdResponse>;
|
|
15
|
+
export declare function _listSend(context: Client, options?: SupportTicketsListOptionalParams): StreamableMethod;
|
|
16
|
+
export declare function _listDeserialize(result: PathUncheckedResponse): Promise<_SupportTicketsListResult>;
|
|
17
|
+
/** Lists all the support tickets for an Azure subscription. You can also filter the support tickets by _Status_, _CreatedDate_, _ServiceId_, and _ProblemClassificationId_ using the $filter parameter. Output will be a paged result with _nextLink_, using which you can retrieve the next set of support tickets. <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. */
|
|
18
|
+
export declare function list(context: Client, options?: SupportTicketsListOptionalParams): PagedAsyncIterableIterator<SupportTicketDetails>;
|
|
19
|
+
export declare function _updateSend(context: Client, supportTicketName: string, updateSupportTicket: UpdateSupportTicket, options?: SupportTicketsUpdateOptionalParams): StreamableMethod;
|
|
20
|
+
export declare function _updateDeserialize(result: PathUncheckedResponse): Promise<SupportTicketDetails>;
|
|
21
|
+
/** This API allows you to update the severity level, ticket status, advanced diagnostic consent and your contact information in the support ticket.<br/><br/>Note: The severity levels cannot be changed if a support ticket is actively being worked upon by an Azure support engineer. In such a case, contact your support engineer to request severity update by adding a new communication using the Communications API. */
|
|
22
|
+
export declare function update(context: Client, supportTicketName: string, updateSupportTicket: UpdateSupportTicket, options?: SupportTicketsUpdateOptionalParams): Promise<SupportTicketDetails>;
|
|
23
|
+
export declare function _createSend(context: Client, supportTicketName: string, createSupportTicketParameters: SupportTicketDetails, options?: SupportTicketsCreateOptionalParams): StreamableMethod;
|
|
24
|
+
export declare function _createDeserialize(result: PathUncheckedResponse): Promise<SupportTicketDetails>;
|
|
25
|
+
/** Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.<br/><br/>Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.<br/><br/>Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.<br/><br/>Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.<br/><br/>**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. */
|
|
26
|
+
export declare function create(context: Client, supportTicketName: string, createSupportTicketParameters: SupportTicketDetails, options?: SupportTicketsCreateOptionalParams): PollerLike<OperationState<SupportTicketDetails>, SupportTicketDetails>;
|
|
27
|
+
export declare function _getSend(context: Client, supportTicketName: string, options?: SupportTicketsGetOptionalParams): StreamableMethod;
|
|
28
|
+
export declare function _getDeserialize(result: PathUncheckedResponse): Promise<SupportTicketDetails>;
|
|
29
|
+
/** Get ticket details for an Azure subscription. 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. */
|
|
30
|
+
export declare function get(context: Client, supportTicketName: string, options?: SupportTicketsGetOptionalParams): Promise<SupportTicketDetails>;
|
|
31
|
+
//# sourceMappingURL=operations.d.ts.map
|
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
|
2
|
+
// Licensed under the MIT License.
|
|
3
|
+
import { errorResponseDeserializer, checkNameAvailabilityInputSerializer, checkNameAvailabilityOutputDeserializer, supportTicketDetailsSerializer, supportTicketDetailsDeserializer, updateSupportTicketSerializer, _supportTicketsListResultDeserializer, lookUpResourceIdRequestSerializer, lookUpResourceIdResponseDeserializer, } from "../../models/models.js";
|
|
4
|
+
import { buildPagedAsyncIterator, } from "../../static-helpers/pagingHelpers.js";
|
|
5
|
+
import { getLongRunningPoller } from "../../static-helpers/pollingHelpers.js";
|
|
6
|
+
import { expandUrlTemplate } from "../../static-helpers/urlTemplate.js";
|
|
7
|
+
import { createRestError, operationOptionsToRequestParameters, } from "@azure-rest/core-client";
|
|
8
|
+
export function _checkNameAvailabilitySend(context, checkNameAvailabilityInput, options = { requestOptions: {} }) {
|
|
9
|
+
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/providers/Microsoft.Support/checkNameAvailability{?api%2Dversion}", {
|
|
10
|
+
subscriptionId: context.subscriptionId,
|
|
11
|
+
"api%2Dversion": context.apiVersion ?? "2025-06-01-preview",
|
|
12
|
+
}, {
|
|
13
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
14
|
+
});
|
|
15
|
+
return context.path(path).post({
|
|
16
|
+
...operationOptionsToRequestParameters(options),
|
|
17
|
+
contentType: "application/json",
|
|
18
|
+
headers: { accept: "application/json", ...options.requestOptions?.headers },
|
|
19
|
+
body: checkNameAvailabilityInputSerializer(checkNameAvailabilityInput),
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
export async function _checkNameAvailabilityDeserialize(result) {
|
|
23
|
+
const expectedStatuses = ["200"];
|
|
24
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
25
|
+
const error = createRestError(result);
|
|
26
|
+
if (result.body) {
|
|
27
|
+
error.details = errorResponseDeserializer(result.body);
|
|
28
|
+
}
|
|
29
|
+
throw error;
|
|
30
|
+
}
|
|
31
|
+
return checkNameAvailabilityOutputDeserializer(result.body);
|
|
32
|
+
}
|
|
33
|
+
/** 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. */
|
|
34
|
+
export async function checkNameAvailability(context, checkNameAvailabilityInput, options = { requestOptions: {} }) {
|
|
35
|
+
const result = await _checkNameAvailabilitySend(context, checkNameAvailabilityInput, options);
|
|
36
|
+
return _checkNameAvailabilityDeserialize(result);
|
|
37
|
+
}
|
|
38
|
+
export function _lookUpResourceIdSend(context, lookUpResourceIdRequest, options = { requestOptions: {} }) {
|
|
39
|
+
const path = expandUrlTemplate("/providers/Microsoft.Support/lookUpResourceId{?api%2Dversion}", {
|
|
40
|
+
"api%2Dversion": context.apiVersion ?? "2025-06-01-preview",
|
|
41
|
+
}, {
|
|
42
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
43
|
+
});
|
|
44
|
+
return context.path(path).post({
|
|
45
|
+
...operationOptionsToRequestParameters(options),
|
|
46
|
+
contentType: "application/json",
|
|
47
|
+
headers: { accept: "application/json", ...options.requestOptions?.headers },
|
|
48
|
+
body: lookUpResourceIdRequestSerializer(lookUpResourceIdRequest),
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
export async function _lookUpResourceIdDeserialize(result) {
|
|
52
|
+
const expectedStatuses = ["200"];
|
|
53
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
54
|
+
const error = createRestError(result);
|
|
55
|
+
if (result.body) {
|
|
56
|
+
error.details = errorResponseDeserializer(result.body);
|
|
57
|
+
}
|
|
58
|
+
throw error;
|
|
59
|
+
}
|
|
60
|
+
return lookUpResourceIdResponseDeserializer(result.body);
|
|
61
|
+
}
|
|
62
|
+
/** This operation fetches ARM resource id of support resource type. */
|
|
63
|
+
export async function lookUpResourceId(context, lookUpResourceIdRequest, options = { requestOptions: {} }) {
|
|
64
|
+
const result = await _lookUpResourceIdSend(context, lookUpResourceIdRequest, options);
|
|
65
|
+
return _lookUpResourceIdDeserialize(result);
|
|
66
|
+
}
|
|
67
|
+
export function _listSend(context, options = { requestOptions: {} }) {
|
|
68
|
+
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets{?api%2Dversion,%24top,%24filter}", {
|
|
69
|
+
subscriptionId: context.subscriptionId,
|
|
70
|
+
"api%2Dversion": context.apiVersion ?? "2025-06-01-preview",
|
|
71
|
+
"%24top": options?.top,
|
|
72
|
+
"%24filter": options?.filter,
|
|
73
|
+
}, {
|
|
74
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
75
|
+
});
|
|
76
|
+
return context.path(path).get({
|
|
77
|
+
...operationOptionsToRequestParameters(options),
|
|
78
|
+
headers: { accept: "application/json", ...options.requestOptions?.headers },
|
|
79
|
+
});
|
|
80
|
+
}
|
|
81
|
+
export async function _listDeserialize(result) {
|
|
82
|
+
const expectedStatuses = ["200"];
|
|
83
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
84
|
+
const error = createRestError(result);
|
|
85
|
+
if (result.body) {
|
|
86
|
+
error.details = errorResponseDeserializer(result.body);
|
|
87
|
+
}
|
|
88
|
+
throw error;
|
|
89
|
+
}
|
|
90
|
+
return _supportTicketsListResultDeserializer(result.body);
|
|
91
|
+
}
|
|
92
|
+
/** Lists all the support tickets for an Azure subscription. You can also filter the support tickets by _Status_, _CreatedDate_, _ServiceId_, and _ProblemClassificationId_ using the $filter parameter. Output will be a paged result with _nextLink_, using which you can retrieve the next set of support tickets. <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
|
+
export function list(context, options = { requestOptions: {} }) {
|
|
94
|
+
return buildPagedAsyncIterator(context, () => _listSend(context, options), _listDeserialize, ["200"], {
|
|
95
|
+
itemName: "value",
|
|
96
|
+
nextLinkName: "nextLink",
|
|
97
|
+
apiVersion: context.apiVersion ?? "2025-06-01-preview",
|
|
98
|
+
});
|
|
99
|
+
}
|
|
100
|
+
export function _updateSend(context, supportTicketName, updateSupportTicket, options = { requestOptions: {} }) {
|
|
101
|
+
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}{?api%2Dversion}", {
|
|
102
|
+
subscriptionId: context.subscriptionId,
|
|
103
|
+
supportTicketName: supportTicketName,
|
|
104
|
+
"api%2Dversion": context.apiVersion ?? "2025-06-01-preview",
|
|
105
|
+
}, {
|
|
106
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
107
|
+
});
|
|
108
|
+
return context.path(path).patch({
|
|
109
|
+
...operationOptionsToRequestParameters(options),
|
|
110
|
+
contentType: "application/json",
|
|
111
|
+
headers: { accept: "application/json", ...options.requestOptions?.headers },
|
|
112
|
+
body: updateSupportTicketSerializer(updateSupportTicket),
|
|
113
|
+
});
|
|
114
|
+
}
|
|
115
|
+
export async function _updateDeserialize(result) {
|
|
116
|
+
const expectedStatuses = ["200"];
|
|
117
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
118
|
+
const error = createRestError(result);
|
|
119
|
+
if (result.body) {
|
|
120
|
+
error.details = errorResponseDeserializer(result.body);
|
|
121
|
+
}
|
|
122
|
+
throw error;
|
|
123
|
+
}
|
|
124
|
+
return supportTicketDetailsDeserializer(result.body);
|
|
125
|
+
}
|
|
126
|
+
/** This API allows you to update the severity level, ticket status, advanced diagnostic consent and your contact information in the support ticket.<br/><br/>Note: The severity levels cannot be changed if a support ticket is actively being worked upon by an Azure support engineer. In such a case, contact your support engineer to request severity update by adding a new communication using the Communications API. */
|
|
127
|
+
export async function update(context, supportTicketName, updateSupportTicket, options = { requestOptions: {} }) {
|
|
128
|
+
const result = await _updateSend(context, supportTicketName, updateSupportTicket, options);
|
|
129
|
+
return _updateDeserialize(result);
|
|
130
|
+
}
|
|
131
|
+
export function _createSend(context, supportTicketName, createSupportTicketParameters, options = { requestOptions: {} }) {
|
|
132
|
+
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}{?api%2Dversion}", {
|
|
133
|
+
subscriptionId: context.subscriptionId,
|
|
134
|
+
supportTicketName: supportTicketName,
|
|
135
|
+
"api%2Dversion": context.apiVersion ?? "2025-06-01-preview",
|
|
136
|
+
}, {
|
|
137
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
138
|
+
});
|
|
139
|
+
return context.path(path).put({
|
|
140
|
+
...operationOptionsToRequestParameters(options),
|
|
141
|
+
contentType: "application/json",
|
|
142
|
+
headers: { accept: "application/json", ...options.requestOptions?.headers },
|
|
143
|
+
body: supportTicketDetailsSerializer(createSupportTicketParameters),
|
|
144
|
+
});
|
|
145
|
+
}
|
|
146
|
+
export async function _createDeserialize(result) {
|
|
147
|
+
const expectedStatuses = ["200", "202", "201"];
|
|
148
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
149
|
+
const error = createRestError(result);
|
|
150
|
+
if (result.body) {
|
|
151
|
+
error.details = errorResponseDeserializer(result.body);
|
|
152
|
+
}
|
|
153
|
+
throw error;
|
|
154
|
+
}
|
|
155
|
+
return supportTicketDetailsDeserializer(result.body);
|
|
156
|
+
}
|
|
157
|
+
/** Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.<br/><br/>Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.<br/><br/>Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.<br/><br/>Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.<br/><br/>**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. */
|
|
158
|
+
export function create(context, supportTicketName, createSupportTicketParameters, options = { requestOptions: {} }) {
|
|
159
|
+
return getLongRunningPoller(context, _createDeserialize, ["200", "202", "201"], {
|
|
160
|
+
updateIntervalInMs: options?.updateIntervalInMs,
|
|
161
|
+
abortSignal: options?.abortSignal,
|
|
162
|
+
getInitialResponse: () => _createSend(context, supportTicketName, createSupportTicketParameters, options),
|
|
163
|
+
resourceLocationConfig: "azure-async-operation",
|
|
164
|
+
apiVersion: context.apiVersion ?? "2025-06-01-preview",
|
|
165
|
+
});
|
|
166
|
+
}
|
|
167
|
+
export function _getSend(context, supportTicketName, options = { requestOptions: {} }) {
|
|
168
|
+
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}{?api%2Dversion}", {
|
|
169
|
+
subscriptionId: context.subscriptionId,
|
|
170
|
+
supportTicketName: supportTicketName,
|
|
171
|
+
"api%2Dversion": context.apiVersion ?? "2025-06-01-preview",
|
|
172
|
+
}, {
|
|
173
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
174
|
+
});
|
|
175
|
+
return context.path(path).get({
|
|
176
|
+
...operationOptionsToRequestParameters(options),
|
|
177
|
+
headers: { accept: "application/json", ...options.requestOptions?.headers },
|
|
178
|
+
});
|
|
179
|
+
}
|
|
180
|
+
export async function _getDeserialize(result) {
|
|
181
|
+
const expectedStatuses = ["200"];
|
|
182
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
183
|
+
const error = createRestError(result);
|
|
184
|
+
if (result.body) {
|
|
185
|
+
error.details = errorResponseDeserializer(result.body);
|
|
186
|
+
}
|
|
187
|
+
throw error;
|
|
188
|
+
}
|
|
189
|
+
return supportTicketDetailsDeserializer(result.body);
|
|
190
|
+
}
|
|
191
|
+
/** Get ticket details for an Azure subscription. 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. */
|
|
192
|
+
export async function get(context, supportTicketName, options = { requestOptions: {} }) {
|
|
193
|
+
const result = await _getSend(context, supportTicketName, options);
|
|
194
|
+
return _getDeserialize(result);
|
|
195
|
+
}
|
|
196
|
+
//# sourceMappingURL=operations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../../src/api/supportTickets/operations.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EACL,yBAAyB,EAEzB,oCAAoC,EAEpC,uCAAuC,EAEvC,8BAA8B,EAC9B,gCAAgC,EAEhC,6BAA6B,EAE7B,qCAAqC,EAErC,iCAAiC,EAEjC,oCAAoC,GACrC,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAEL,uBAAuB,GACxB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,oBAAoB,EAAE,MAAM,wCAAwC,CAAC;AAC9E,OAAO,EAAE,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{ MicrosoftSupportContext as Client } from \"../index.js\";\nimport {\n errorResponseDeserializer,\n CheckNameAvailabilityInput,\n checkNameAvailabilityInputSerializer,\n CheckNameAvailabilityOutput,\n checkNameAvailabilityOutputDeserializer,\n SupportTicketDetails,\n supportTicketDetailsSerializer,\n supportTicketDetailsDeserializer,\n UpdateSupportTicket,\n updateSupportTicketSerializer,\n _SupportTicketsListResult,\n _supportTicketsListResultDeserializer,\n LookUpResourceIdRequest,\n lookUpResourceIdRequestSerializer,\n LookUpResourceIdResponse,\n lookUpResourceIdResponseDeserializer,\n} from \"../../models/models.js\";\nimport {\n PagedAsyncIterableIterator,\n buildPagedAsyncIterator,\n} from \"../../static-helpers/pagingHelpers.js\";\nimport { getLongRunningPoller } from \"../../static-helpers/pollingHelpers.js\";\nimport { expandUrlTemplate } from \"../../static-helpers/urlTemplate.js\";\nimport {\n SupportTicketsCheckNameAvailabilityOptionalParams,\n SupportTicketsLookUpResourceIdOptionalParams,\n SupportTicketsListOptionalParams,\n SupportTicketsUpdateOptionalParams,\n SupportTicketsCreateOptionalParams,\n SupportTicketsGetOptionalParams,\n} from \"./options.js\";\nimport {\n StreamableMethod,\n PathUncheckedResponse,\n createRestError,\n operationOptionsToRequestParameters,\n} from \"@azure-rest/core-client\";\nimport { PollerLike, OperationState } from \"@azure/core-lro\";\n\nexport function _checkNameAvailabilitySend(\n context: Client,\n checkNameAvailabilityInput: CheckNameAvailabilityInput,\n options: SupportTicketsCheckNameAvailabilityOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/providers/Microsoft.Support/checkNameAvailability{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n \"api%2Dversion\": context.apiVersion ?? \"2025-06-01-preview\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).post({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n body: checkNameAvailabilityInputSerializer(checkNameAvailabilityInput),\n });\n}\n\nexport async function _checkNameAvailabilityDeserialize(\n result: PathUncheckedResponse,\n): Promise<CheckNameAvailabilityOutput> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return checkNameAvailabilityOutputDeserializer(result.body);\n}\n\n/** 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. */\nexport async function checkNameAvailability(\n context: Client,\n checkNameAvailabilityInput: CheckNameAvailabilityInput,\n options: SupportTicketsCheckNameAvailabilityOptionalParams = { requestOptions: {} },\n): Promise<CheckNameAvailabilityOutput> {\n const result = await _checkNameAvailabilitySend(context, checkNameAvailabilityInput, options);\n return _checkNameAvailabilityDeserialize(result);\n}\n\nexport function _lookUpResourceIdSend(\n context: Client,\n lookUpResourceIdRequest: LookUpResourceIdRequest,\n options: SupportTicketsLookUpResourceIdOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/providers/Microsoft.Support/lookUpResourceId{?api%2Dversion}\",\n {\n \"api%2Dversion\": context.apiVersion ?? \"2025-06-01-preview\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).post({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n body: lookUpResourceIdRequestSerializer(lookUpResourceIdRequest),\n });\n}\n\nexport async function _lookUpResourceIdDeserialize(\n result: PathUncheckedResponse,\n): Promise<LookUpResourceIdResponse> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return lookUpResourceIdResponseDeserializer(result.body);\n}\n\n/** This operation fetches ARM resource id of support resource type. */\nexport async function lookUpResourceId(\n context: Client,\n lookUpResourceIdRequest: LookUpResourceIdRequest,\n options: SupportTicketsLookUpResourceIdOptionalParams = { requestOptions: {} },\n): Promise<LookUpResourceIdResponse> {\n const result = await _lookUpResourceIdSend(context, lookUpResourceIdRequest, options);\n return _lookUpResourceIdDeserialize(result);\n}\n\nexport function _listSend(\n context: Client,\n options: SupportTicketsListOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets{?api%2Dversion,%24top,%24filter}\",\n {\n subscriptionId: context.subscriptionId,\n \"api%2Dversion\": context.apiVersion ?? \"2025-06-01-preview\",\n \"%24top\": options?.top,\n \"%24filter\": options?.filter,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _listDeserialize(\n result: PathUncheckedResponse,\n): Promise<_SupportTicketsListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return _supportTicketsListResultDeserializer(result.body);\n}\n\n/** Lists all the support tickets for an Azure subscription. You can also filter the support tickets by _Status_, _CreatedDate_, _ServiceId_, and _ProblemClassificationId_ using the $filter parameter. Output will be a paged result with _nextLink_, using which you can retrieve the next set of support tickets. <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. */\nexport function list(\n context: Client,\n options: SupportTicketsListOptionalParams = { requestOptions: {} },\n): PagedAsyncIterableIterator<SupportTicketDetails> {\n return buildPagedAsyncIterator(\n context,\n () => _listSend(context, options),\n _listDeserialize,\n [\"200\"],\n {\n itemName: \"value\",\n nextLinkName: \"nextLink\",\n apiVersion: context.apiVersion ?? \"2025-06-01-preview\",\n },\n );\n}\n\nexport function _updateSend(\n context: Client,\n supportTicketName: string,\n updateSupportTicket: UpdateSupportTicket,\n options: SupportTicketsUpdateOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n supportTicketName: supportTicketName,\n \"api%2Dversion\": context.apiVersion ?? \"2025-06-01-preview\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).patch({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n body: updateSupportTicketSerializer(updateSupportTicket),\n });\n}\n\nexport async function _updateDeserialize(\n result: PathUncheckedResponse,\n): Promise<SupportTicketDetails> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return supportTicketDetailsDeserializer(result.body);\n}\n\n/** This API allows you to update the severity level, ticket status, advanced diagnostic consent and your contact information in the support ticket.<br/><br/>Note: The severity levels cannot be changed if a support ticket is actively being worked upon by an Azure support engineer. In such a case, contact your support engineer to request severity update by adding a new communication using the Communications API. */\nexport async function update(\n context: Client,\n supportTicketName: string,\n updateSupportTicket: UpdateSupportTicket,\n options: SupportTicketsUpdateOptionalParams = { requestOptions: {} },\n): Promise<SupportTicketDetails> {\n const result = await _updateSend(context, supportTicketName, updateSupportTicket, options);\n return _updateDeserialize(result);\n}\n\nexport function _createSend(\n context: Client,\n supportTicketName: string,\n createSupportTicketParameters: SupportTicketDetails,\n options: SupportTicketsCreateOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n supportTicketName: supportTicketName,\n \"api%2Dversion\": context.apiVersion ?? \"2025-06-01-preview\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).put({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n body: supportTicketDetailsSerializer(createSupportTicketParameters),\n });\n}\n\nexport async function _createDeserialize(\n result: PathUncheckedResponse,\n): Promise<SupportTicketDetails> {\n const expectedStatuses = [\"200\", \"202\", \"201\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return supportTicketDetailsDeserializer(result.body);\n}\n\n/** Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.<br/><br/>Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.<br/><br/>Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.<br/><br/>Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.<br/><br/>**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. */\nexport function create(\n context: Client,\n supportTicketName: string,\n createSupportTicketParameters: SupportTicketDetails,\n options: SupportTicketsCreateOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<SupportTicketDetails>, SupportTicketDetails> {\n return getLongRunningPoller(context, _createDeserialize, [\"200\", \"202\", \"201\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _createSend(context, supportTicketName, createSupportTicketParameters, options),\n resourceLocationConfig: \"azure-async-operation\",\n apiVersion: context.apiVersion ?? \"2025-06-01-preview\",\n }) as PollerLike<OperationState<SupportTicketDetails>, SupportTicketDetails>;\n}\n\nexport function _getSend(\n context: Client,\n supportTicketName: string,\n options: SupportTicketsGetOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n supportTicketName: supportTicketName,\n \"api%2Dversion\": context.apiVersion ?? \"2025-06-01-preview\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _getDeserialize(\n result: PathUncheckedResponse,\n): Promise<SupportTicketDetails> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return supportTicketDetailsDeserializer(result.body);\n}\n\n/** Get ticket details for an Azure subscription. 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. */\nexport async function get(\n context: Client,\n supportTicketName: string,\n options: SupportTicketsGetOptionalParams = { requestOptions: {} },\n): Promise<SupportTicketDetails> {\n const result = await _getSend(context, supportTicketName, options);\n return _getDeserialize(result);\n}\n"]}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { OperationOptions } from "@azure-rest/core-client";
|
|
2
|
+
/** Optional parameters. */
|
|
3
|
+
export interface SupportTicketsCheckNameAvailabilityOptionalParams extends OperationOptions {
|
|
4
|
+
}
|
|
5
|
+
/** Optional parameters. */
|
|
6
|
+
export interface SupportTicketsLookUpResourceIdOptionalParams extends OperationOptions {
|
|
7
|
+
}
|
|
8
|
+
/** Optional parameters. */
|
|
9
|
+
export interface SupportTicketsListOptionalParams extends OperationOptions {
|
|
10
|
+
/** The number of values to return in the collection. Default is 25 and max is 100. */
|
|
11
|
+
top?: number;
|
|
12
|
+
/** The filter to apply on the operation. We support 'odata v4.0' filter semantics. [Learn more](https://docs.microsoft.com/odata/concepts/queryoptions-overview). _Status_, _ServiceId_, and _ProblemClassificationId_ filters can only be used with Equals ('eq') operator. For _CreatedDate_ filter, the supported operators are Greater Than ('gt') and Greater Than or Equals ('ge'). When using both filters, combine them using the logical 'AND'. */
|
|
13
|
+
filter?: string;
|
|
14
|
+
}
|
|
15
|
+
/** Optional parameters. */
|
|
16
|
+
export interface SupportTicketsUpdateOptionalParams extends OperationOptions {
|
|
17
|
+
}
|
|
18
|
+
/** Optional parameters. */
|
|
19
|
+
export interface SupportTicketsCreateOptionalParams extends OperationOptions {
|
|
20
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
21
|
+
updateIntervalInMs?: number;
|
|
22
|
+
}
|
|
23
|
+
/** Optional parameters. */
|
|
24
|
+
export interface SupportTicketsGetOptionalParams extends OperationOptions {
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=options.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"options.js","sourceRoot":"","sources":["../../../../src/api/supportTickets/options.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { OperationOptions } from \"@azure-rest/core-client\";\n\n/** Optional parameters. */\nexport interface SupportTicketsCheckNameAvailabilityOptionalParams extends OperationOptions {}\n\n/** Optional parameters. */\nexport interface SupportTicketsLookUpResourceIdOptionalParams extends OperationOptions {}\n\n/** Optional parameters. */\nexport interface SupportTicketsListOptionalParams extends OperationOptions {\n /** The number of values to return in the collection. Default is 25 and max is 100. */\n top?: number;\n /** The filter to apply on the operation. We support 'odata v4.0' filter semantics. [Learn more](https://docs.microsoft.com/odata/concepts/queryoptions-overview). _Status_, _ServiceId_, and _ProblemClassificationId_ filters can only be used with Equals ('eq') operator. For _CreatedDate_ filter, the supported operators are Greater Than ('gt') and Greater Than or Equals ('ge'). When using both filters, combine them using the logical 'AND'. */\n filter?: string;\n}\n\n/** Optional parameters. */\nexport interface SupportTicketsUpdateOptionalParams extends OperationOptions {}\n\n/** Optional parameters. */\nexport interface SupportTicketsCreateOptionalParams extends OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n}\n\n/** Optional parameters. */\nexport interface SupportTicketsGetOptionalParams extends OperationOptions {}\n"]}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { checkNameAvailability, list, update, create, get } from "./operations.js";
|
|
2
|
+
export type { SupportTicketsNoSubscriptionCheckNameAvailabilityOptionalParams, SupportTicketsNoSubscriptionListOptionalParams, SupportTicketsNoSubscriptionUpdateOptionalParams, SupportTicketsNoSubscriptionCreateOptionalParams, SupportTicketsNoSubscriptionGetOptionalParams, } from "./options.js";
|
|
3
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/supportTicketsNoSubscription/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,qBAAqB,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport { checkNameAvailability, list, update, create, get } from \"./operations.js\";\nexport type {\n SupportTicketsNoSubscriptionCheckNameAvailabilityOptionalParams,\n SupportTicketsNoSubscriptionListOptionalParams,\n SupportTicketsNoSubscriptionUpdateOptionalParams,\n SupportTicketsNoSubscriptionCreateOptionalParams,\n SupportTicketsNoSubscriptionGetOptionalParams,\n} from \"./options.js\";\n"]}
|