@azure/arm-devhub 1.0.0-beta.4 → 1.0.0-beta.5
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 +10 -11
- package/dist/browser/api/adooAuth/index.d.ts +3 -0
- package/dist/browser/api/adooAuth/index.js +4 -0
- package/dist/browser/api/adooAuth/index.js.map +1 -0
- package/dist/browser/api/adooAuth/operations.d.ts +14 -0
- package/dist/browser/api/adooAuth/operations.js +68 -0
- package/dist/browser/api/adooAuth/operations.js.map +1 -0
- package/dist/browser/api/adooAuth/options.d.ts +8 -0
- package/dist/browser/api/adooAuth/options.js +4 -0
- package/dist/browser/api/adooAuth/options.js.map +1 -0
- package/dist/browser/api/developerHubServiceContext.d.ts +22 -0
- package/dist/browser/api/developerHubServiceContext.js +26 -0
- package/dist/browser/api/developerHubServiceContext.js.map +1 -0
- package/dist/browser/api/iacProfiles/index.d.ts +3 -0
- package/dist/browser/api/iacProfiles/index.js +4 -0
- package/dist/browser/api/iacProfiles/index.js.map +1 -0
- package/dist/browser/api/iacProfiles/operations.d.ts +42 -0
- package/dist/browser/api/iacProfiles/operations.js +282 -0
- package/dist/browser/api/iacProfiles/operations.js.map +1 -0
- package/dist/browser/api/iacProfiles/options.d.ts +29 -0
- package/dist/browser/api/iacProfiles/options.js +4 -0
- package/dist/browser/api/iacProfiles/options.js.map +1 -0
- package/dist/browser/api/index.d.ts +5 -0
- package/dist/browser/api/index.js +5 -0
- package/dist/browser/api/index.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 +9 -0
- package/dist/browser/api/operations/operations.js +33 -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/operations.d.ts +25 -0
- package/dist/browser/api/operations.js +163 -0
- package/dist/browser/api/operations.js.map +1 -0
- package/dist/browser/api/options.d.ts +21 -0
- package/dist/browser/api/options.js +4 -0
- package/dist/browser/api/options.js.map +1 -0
- package/dist/browser/api/template/index.d.ts +3 -0
- package/dist/browser/api/template/index.js +4 -0
- package/dist/browser/api/template/index.js.map +1 -0
- package/dist/browser/api/template/operations.d.ts +14 -0
- package/dist/browser/api/template/operations.js +67 -0
- package/dist/browser/api/template/operations.js.map +1 -0
- package/dist/browser/api/template/options.d.ts +8 -0
- package/dist/browser/api/template/options.js +4 -0
- package/dist/browser/api/template/options.js.map +1 -0
- package/dist/browser/api/versionedTemplate/index.d.ts +3 -0
- package/dist/browser/api/versionedTemplate/index.js +4 -0
- package/dist/browser/api/versionedTemplate/index.js.map +1 -0
- package/dist/browser/api/versionedTemplate/operations.d.ts +18 -0
- package/dist/browser/api/versionedTemplate/operations.js +101 -0
- package/dist/browser/api/versionedTemplate/operations.js.map +1 -0
- package/dist/browser/api/versionedTemplate/options.d.ts +11 -0
- package/dist/browser/api/versionedTemplate/options.js +4 -0
- package/dist/browser/api/versionedTemplate/options.js.map +1 -0
- package/dist/browser/api/workflowOperations/index.d.ts +3 -0
- package/dist/browser/api/workflowOperations/index.js +4 -0
- package/dist/browser/api/workflowOperations/index.js.map +1 -0
- package/dist/browser/api/workflowOperations/operations.d.ts +30 -0
- package/dist/browser/api/workflowOperations/operations.js +195 -0
- package/dist/browser/api/workflowOperations/operations.js.map +1 -0
- package/dist/browser/api/workflowOperations/options.d.ts +22 -0
- package/dist/browser/api/workflowOperations/options.js +4 -0
- package/dist/browser/api/workflowOperations/options.js.map +1 -0
- package/dist/browser/classic/adooAuth/index.d.ts +13 -0
- package/dist/browser/classic/adooAuth/index.js +15 -0
- package/dist/browser/classic/adooAuth/index.js.map +1 -0
- package/dist/browser/classic/iacProfiles/index.d.ts +27 -0
- package/dist/browser/classic/iacProfiles/index.js +22 -0
- package/dist/browser/classic/iacProfiles/index.js.map +1 -0
- package/dist/browser/classic/index.d.ts +7 -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 +10 -0
- package/dist/browser/classic/operations/index.js +14 -0
- package/dist/browser/classic/operations/index.js.map +1 -0
- package/dist/browser/classic/template/index.d.ts +13 -0
- package/dist/browser/classic/template/index.js +15 -0
- package/dist/browser/classic/template/index.js.map +1 -0
- package/dist/browser/classic/versionedTemplate/index.d.ts +15 -0
- package/dist/browser/classic/versionedTemplate/index.js +16 -0
- package/dist/browser/classic/versionedTemplate/index.js.map +1 -0
- package/dist/browser/classic/workflowOperations/index.d.ts +21 -0
- package/dist/browser/classic/workflowOperations/index.js +19 -0
- package/dist/browser/classic/workflowOperations/index.js.map +1 -0
- package/dist/browser/developerHubServiceClient.d.ts +40 -46
- package/dist/browser/developerHubServiceClient.js +62 -221
- package/dist/browser/developerHubServiceClient.js.map +1 -1
- package/dist/browser/index.d.ts +17 -3
- package/dist/browser/index.js +6 -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/models/index.d.ts +2 -657
- package/dist/browser/models/index.js +3 -129
- package/dist/browser/models/index.js.map +1 -1
- package/dist/browser/models/models.d.ts +1173 -0
- package/dist/browser/models/models.js +1294 -0
- package/dist/browser/models/models.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/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/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/adooAuth/index.d.ts +3 -0
- package/dist/commonjs/api/adooAuth/index.js +30 -0
- package/dist/commonjs/api/adooAuth/index.js.map +7 -0
- package/dist/commonjs/api/adooAuth/operations.d.ts +14 -0
- package/dist/commonjs/api/adooAuth/operations.js +114 -0
- package/dist/commonjs/api/adooAuth/operations.js.map +7 -0
- package/dist/commonjs/api/adooAuth/options.d.ts +8 -0
- package/dist/commonjs/api/adooAuth/options.js +16 -0
- package/dist/commonjs/api/adooAuth/options.js.map +7 -0
- package/dist/commonjs/api/developerHubServiceContext.d.ts +22 -0
- package/dist/commonjs/api/developerHubServiceContext.js +47 -0
- package/dist/commonjs/api/developerHubServiceContext.js.map +7 -0
- package/dist/commonjs/api/iacProfiles/index.d.ts +3 -0
- package/dist/commonjs/api/iacProfiles/index.js +44 -0
- package/dist/commonjs/api/iacProfiles/index.js.map +7 -0
- package/dist/commonjs/api/iacProfiles/operations.d.ts +42 -0
- package/dist/commonjs/api/iacProfiles/operations.js +415 -0
- package/dist/commonjs/api/iacProfiles/operations.js.map +7 -0
- package/dist/commonjs/api/iacProfiles/options.d.ts +29 -0
- package/dist/commonjs/api/iacProfiles/options.js +16 -0
- package/dist/commonjs/api/iacProfiles/options.js.map +7 -0
- package/dist/commonjs/api/index.d.ts +5 -0
- package/dist/commonjs/api/index.js +39 -0
- package/dist/commonjs/api/index.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 +9 -0
- package/dist/commonjs/api/operations/operations.js +64 -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/operations.d.ts +25 -0
- package/dist/commonjs/api/operations.js +226 -0
- package/dist/commonjs/api/operations.js.map +7 -0
- package/dist/commonjs/api/options.d.ts +21 -0
- package/dist/commonjs/api/options.js +16 -0
- package/dist/commonjs/api/options.js.map +7 -0
- package/dist/commonjs/api/template/index.d.ts +3 -0
- package/dist/commonjs/api/template/index.js +30 -0
- package/dist/commonjs/api/template/index.js.map +7 -0
- package/dist/commonjs/api/template/operations.d.ts +14 -0
- package/dist/commonjs/api/template/operations.js +113 -0
- package/dist/commonjs/api/template/operations.js.map +7 -0
- package/dist/commonjs/api/template/options.d.ts +8 -0
- package/dist/commonjs/api/template/options.js +16 -0
- package/dist/commonjs/api/template/options.js.map +7 -0
- package/dist/commonjs/api/versionedTemplate/index.d.ts +3 -0
- package/dist/commonjs/api/versionedTemplate/index.js +32 -0
- package/dist/commonjs/api/versionedTemplate/index.js.map +7 -0
- package/dist/commonjs/api/versionedTemplate/operations.d.ts +18 -0
- package/dist/commonjs/api/versionedTemplate/operations.js +156 -0
- package/dist/commonjs/api/versionedTemplate/operations.js.map +7 -0
- package/dist/commonjs/api/versionedTemplate/options.d.ts +11 -0
- package/dist/commonjs/api/versionedTemplate/options.js +16 -0
- package/dist/commonjs/api/versionedTemplate/options.js.map +7 -0
- package/dist/commonjs/api/workflowOperations/index.d.ts +3 -0
- package/dist/commonjs/api/workflowOperations/index.js +38 -0
- package/dist/commonjs/api/workflowOperations/index.js.map +7 -0
- package/dist/commonjs/api/workflowOperations/operations.d.ts +30 -0
- package/dist/commonjs/api/workflowOperations/operations.js +295 -0
- package/dist/commonjs/api/workflowOperations/operations.js.map +7 -0
- package/dist/commonjs/api/workflowOperations/options.d.ts +22 -0
- package/dist/commonjs/api/workflowOperations/options.js +16 -0
- package/dist/commonjs/api/workflowOperations/options.js.map +7 -0
- package/dist/commonjs/classic/adooAuth/index.d.ts +13 -0
- package/dist/commonjs/classic/adooAuth/index.js +39 -0
- package/dist/commonjs/classic/adooAuth/index.js.map +7 -0
- package/dist/commonjs/classic/iacProfiles/index.d.ts +27 -0
- package/dist/commonjs/classic/iacProfiles/index.js +46 -0
- package/dist/commonjs/classic/iacProfiles/index.js.map +7 -0
- package/dist/commonjs/classic/index.d.ts +7 -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 +10 -0
- package/dist/commonjs/classic/operations/index.js +38 -0
- package/dist/commonjs/classic/operations/index.js.map +7 -0
- package/dist/commonjs/classic/template/index.d.ts +13 -0
- package/dist/commonjs/classic/template/index.js +39 -0
- package/dist/commonjs/classic/template/index.js.map +7 -0
- package/dist/commonjs/classic/versionedTemplate/index.d.ts +15 -0
- package/dist/commonjs/classic/versionedTemplate/index.js +40 -0
- package/dist/commonjs/classic/versionedTemplate/index.js.map +7 -0
- package/dist/commonjs/classic/workflowOperations/index.d.ts +21 -0
- package/dist/commonjs/classic/workflowOperations/index.js +43 -0
- package/dist/commonjs/classic/workflowOperations/index.js.map +7 -0
- package/dist/commonjs/developerHubServiceClient.d.ts +40 -46
- package/dist/commonjs/developerHubServiceClient.js +93 -236
- package/dist/commonjs/developerHubServiceClient.js.map +7 -1
- package/dist/commonjs/index.d.ts +17 -3
- package/dist/commonjs/index.js +71 -19
- package/dist/commonjs/index.js.map +7 -1
- 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/models/index.d.ts +2 -657
- package/dist/commonjs/models/index.js +60 -133
- package/dist/commonjs/models/index.js.map +7 -1
- package/dist/commonjs/models/models.d.ts +1173 -0
- package/dist/commonjs/models/models.js +1300 -0
- package/dist/commonjs/models/models.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/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/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/adooAuth/index.d.ts +3 -0
- package/dist/esm/api/adooAuth/index.js +4 -0
- package/dist/esm/api/adooAuth/index.js.map +1 -0
- package/dist/esm/api/adooAuth/operations.d.ts +14 -0
- package/dist/esm/api/adooAuth/operations.js +68 -0
- package/dist/esm/api/adooAuth/operations.js.map +1 -0
- package/dist/esm/api/adooAuth/options.d.ts +8 -0
- package/dist/esm/api/adooAuth/options.js +4 -0
- package/dist/esm/api/adooAuth/options.js.map +1 -0
- package/dist/esm/api/developerHubServiceContext.d.ts +22 -0
- package/dist/esm/api/developerHubServiceContext.js +26 -0
- package/dist/esm/api/developerHubServiceContext.js.map +1 -0
- package/dist/esm/api/iacProfiles/index.d.ts +3 -0
- package/dist/esm/api/iacProfiles/index.js +4 -0
- package/dist/esm/api/iacProfiles/index.js.map +1 -0
- package/dist/esm/api/iacProfiles/operations.d.ts +42 -0
- package/dist/esm/api/iacProfiles/operations.js +282 -0
- package/dist/esm/api/iacProfiles/operations.js.map +1 -0
- package/dist/esm/api/iacProfiles/options.d.ts +29 -0
- package/dist/esm/api/iacProfiles/options.js +4 -0
- package/dist/esm/api/iacProfiles/options.js.map +1 -0
- package/dist/esm/api/index.d.ts +5 -0
- package/dist/esm/api/index.js +5 -0
- package/dist/esm/api/index.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 +9 -0
- package/dist/esm/api/operations/operations.js +33 -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/operations.d.ts +25 -0
- package/dist/esm/api/operations.js +163 -0
- package/dist/esm/api/operations.js.map +1 -0
- package/dist/esm/api/options.d.ts +21 -0
- package/dist/esm/api/options.js +4 -0
- package/dist/esm/api/options.js.map +1 -0
- package/dist/esm/api/template/index.d.ts +3 -0
- package/dist/esm/api/template/index.js +4 -0
- package/dist/esm/api/template/index.js.map +1 -0
- package/dist/esm/api/template/operations.d.ts +14 -0
- package/dist/esm/api/template/operations.js +67 -0
- package/dist/esm/api/template/operations.js.map +1 -0
- package/dist/esm/api/template/options.d.ts +8 -0
- package/dist/esm/api/template/options.js +4 -0
- package/dist/esm/api/template/options.js.map +1 -0
- package/dist/esm/api/versionedTemplate/index.d.ts +3 -0
- package/dist/esm/api/versionedTemplate/index.js +4 -0
- package/dist/esm/api/versionedTemplate/index.js.map +1 -0
- package/dist/esm/api/versionedTemplate/operations.d.ts +18 -0
- package/dist/esm/api/versionedTemplate/operations.js +101 -0
- package/dist/esm/api/versionedTemplate/operations.js.map +1 -0
- package/dist/esm/api/versionedTemplate/options.d.ts +11 -0
- package/dist/esm/api/versionedTemplate/options.js +4 -0
- package/dist/esm/api/versionedTemplate/options.js.map +1 -0
- package/dist/esm/api/workflowOperations/index.d.ts +3 -0
- package/dist/esm/api/workflowOperations/index.js +4 -0
- package/dist/esm/api/workflowOperations/index.js.map +1 -0
- package/dist/esm/api/workflowOperations/operations.d.ts +30 -0
- package/dist/esm/api/workflowOperations/operations.js +195 -0
- package/dist/esm/api/workflowOperations/operations.js.map +1 -0
- package/dist/esm/api/workflowOperations/options.d.ts +22 -0
- package/dist/esm/api/workflowOperations/options.js +4 -0
- package/dist/esm/api/workflowOperations/options.js.map +1 -0
- package/dist/esm/classic/adooAuth/index.d.ts +13 -0
- package/dist/esm/classic/adooAuth/index.js +15 -0
- package/dist/esm/classic/adooAuth/index.js.map +1 -0
- package/dist/esm/classic/iacProfiles/index.d.ts +27 -0
- package/dist/esm/classic/iacProfiles/index.js +22 -0
- package/dist/esm/classic/iacProfiles/index.js.map +1 -0
- package/dist/esm/classic/index.d.ts +7 -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 +10 -0
- package/dist/esm/classic/operations/index.js +14 -0
- package/dist/esm/classic/operations/index.js.map +1 -0
- package/dist/esm/classic/template/index.d.ts +13 -0
- package/dist/esm/classic/template/index.js +15 -0
- package/dist/esm/classic/template/index.js.map +1 -0
- package/dist/esm/classic/versionedTemplate/index.d.ts +15 -0
- package/dist/esm/classic/versionedTemplate/index.js +16 -0
- package/dist/esm/classic/versionedTemplate/index.js.map +1 -0
- package/dist/esm/classic/workflowOperations/index.d.ts +21 -0
- package/dist/esm/classic/workflowOperations/index.js +19 -0
- package/dist/esm/classic/workflowOperations/index.js.map +1 -0
- package/dist/esm/developerHubServiceClient.d.ts +40 -46
- package/dist/esm/developerHubServiceClient.js +62 -221
- package/dist/esm/developerHubServiceClient.js.map +1 -1
- package/dist/esm/index.d.ts +17 -3
- package/dist/esm/index.js +6 -11
- package/dist/esm/index.js.map +1 -1
- 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/models/index.d.ts +2 -657
- package/dist/esm/models/index.js +3 -129
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/models.d.ts +1173 -0
- package/dist/esm/models/models.js +1294 -0
- package/dist/esm/models/models.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/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/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 +200 -93
- package/CHANGELOG.md +0 -63
- package/dist/browser/developerHubServiceClient.d.ts.map +0 -1
- package/dist/browser/index.d.ts.map +0 -1
- package/dist/browser/models/index.d.ts.map +0 -1
- package/dist/browser/models/mappers.d.ts +0 -25
- package/dist/browser/models/mappers.d.ts.map +0 -1
- package/dist/browser/models/mappers.js +0 -847
- package/dist/browser/models/mappers.js.map +0 -1
- package/dist/browser/models/parameters.d.ts +0 -18
- package/dist/browser/models/parameters.d.ts.map +0 -1
- package/dist/browser/models/parameters.js +0 -164
- package/dist/browser/models/parameters.js.map +0 -1
- package/dist/browser/operations/index.d.ts +0 -3
- package/dist/browser/operations/index.d.ts.map +0 -1
- package/dist/browser/operations/index.js +0 -10
- package/dist/browser/operations/index.js.map +0 -1
- package/dist/browser/operations/operations.d.ts +0 -18
- package/dist/browser/operations/operations.d.ts.map +0 -1
- package/dist/browser/operations/operations.js +0 -47
- package/dist/browser/operations/operations.js.map +0 -1
- package/dist/browser/operations/workflowOperations.d.ts +0 -83
- package/dist/browser/operations/workflowOperations.d.ts.map +0 -1
- package/dist/browser/operations/workflowOperations.js +0 -352
- package/dist/browser/operations/workflowOperations.js.map +0 -1
- package/dist/browser/operationsInterfaces/index.d.ts +0 -3
- package/dist/browser/operationsInterfaces/index.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/index.js +0 -10
- package/dist/browser/operationsInterfaces/index.js.map +0 -1
- package/dist/browser/operationsInterfaces/operations.d.ts +0 -10
- 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/workflowOperations.d.ts +0 -47
- package/dist/browser/operationsInterfaces/workflowOperations.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/workflowOperations.js +0 -9
- package/dist/browser/operationsInterfaces/workflowOperations.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/developerHubServiceClient.d.ts.map +0 -1
- package/dist/commonjs/index.d.ts.map +0 -1
- package/dist/commonjs/models/index.d.ts.map +0 -1
- package/dist/commonjs/models/mappers.d.ts +0 -25
- package/dist/commonjs/models/mappers.d.ts.map +0 -1
- package/dist/commonjs/models/mappers.js +0 -850
- package/dist/commonjs/models/mappers.js.map +0 -1
- package/dist/commonjs/models/parameters.d.ts +0 -18
- package/dist/commonjs/models/parameters.d.ts.map +0 -1
- package/dist/commonjs/models/parameters.js +0 -167
- package/dist/commonjs/models/parameters.js.map +0 -1
- package/dist/commonjs/operations/index.d.ts +0 -3
- package/dist/commonjs/operations/index.d.ts.map +0 -1
- package/dist/commonjs/operations/index.js +0 -13
- package/dist/commonjs/operations/index.js.map +0 -1
- package/dist/commonjs/operations/operations.d.ts +0 -18
- package/dist/commonjs/operations/operations.d.ts.map +0 -1
- package/dist/commonjs/operations/operations.js +0 -52
- package/dist/commonjs/operations/operations.js.map +0 -1
- package/dist/commonjs/operations/workflowOperations.d.ts +0 -83
- package/dist/commonjs/operations/workflowOperations.d.ts.map +0 -1
- package/dist/commonjs/operations/workflowOperations.js +0 -357
- package/dist/commonjs/operations/workflowOperations.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/index.d.ts +0 -3
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/index.js +0 -13
- package/dist/commonjs/operationsInterfaces/index.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/operations.d.ts +0 -10
- package/dist/commonjs/operationsInterfaces/operations.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/operations.js +0 -10
- package/dist/commonjs/operationsInterfaces/operations.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/workflowOperations.d.ts +0 -47
- package/dist/commonjs/operationsInterfaces/workflowOperations.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/workflowOperations.js +0 -10
- package/dist/commonjs/operationsInterfaces/workflowOperations.js.map +0 -1
- package/dist/commonjs/pagingHelper.d.ts +0 -13
- package/dist/commonjs/pagingHelper.d.ts.map +0 -1
- package/dist/commonjs/pagingHelper.js +0 -34
- package/dist/commonjs/pagingHelper.js.map +0 -1
- package/dist/esm/developerHubServiceClient.d.ts.map +0 -1
- package/dist/esm/index.d.ts.map +0 -1
- package/dist/esm/models/index.d.ts.map +0 -1
- package/dist/esm/models/mappers.d.ts +0 -25
- package/dist/esm/models/mappers.d.ts.map +0 -1
- package/dist/esm/models/mappers.js +0 -847
- package/dist/esm/models/mappers.js.map +0 -1
- package/dist/esm/models/parameters.d.ts +0 -18
- package/dist/esm/models/parameters.d.ts.map +0 -1
- package/dist/esm/models/parameters.js +0 -164
- package/dist/esm/models/parameters.js.map +0 -1
- package/dist/esm/operations/index.d.ts +0 -3
- package/dist/esm/operations/index.d.ts.map +0 -1
- package/dist/esm/operations/index.js +0 -10
- package/dist/esm/operations/index.js.map +0 -1
- package/dist/esm/operations/operations.d.ts +0 -18
- package/dist/esm/operations/operations.d.ts.map +0 -1
- package/dist/esm/operations/operations.js +0 -47
- package/dist/esm/operations/operations.js.map +0 -1
- package/dist/esm/operations/workflowOperations.d.ts +0 -83
- package/dist/esm/operations/workflowOperations.d.ts.map +0 -1
- package/dist/esm/operations/workflowOperations.js +0 -352
- package/dist/esm/operations/workflowOperations.js.map +0 -1
- package/dist/esm/operationsInterfaces/index.d.ts +0 -3
- package/dist/esm/operationsInterfaces/index.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/index.js +0 -10
- package/dist/esm/operationsInterfaces/index.js.map +0 -1
- package/dist/esm/operationsInterfaces/operations.d.ts +0 -10
- package/dist/esm/operationsInterfaces/operations.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/operations.js +0 -9
- package/dist/esm/operationsInterfaces/operations.js.map +0 -1
- package/dist/esm/operationsInterfaces/workflowOperations.d.ts +0 -47
- package/dist/esm/operationsInterfaces/workflowOperations.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/workflowOperations.js +0 -9
- package/dist/esm/operationsInterfaces/workflowOperations.js.map +0 -1
- package/dist/esm/pagingHelper.d.ts +0 -13
- package/dist/esm/pagingHelper.d.ts.map +0 -1
- package/dist/esm/pagingHelper.js +0 -30
- package/dist/esm/pagingHelper.js.map +0 -1
- package/dist/react-native/developerHubServiceClient.d.ts +0 -48
- package/dist/react-native/developerHubServiceClient.d.ts.map +0 -1
- package/dist/react-native/developerHubServiceClient.js +0 -233
- package/dist/react-native/developerHubServiceClient.js.map +0 -1
- 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/models/index.d.ts +0 -658
- package/dist/react-native/models/index.d.ts.map +0 -1
- package/dist/react-native/models/index.js +0 -130
- package/dist/react-native/models/index.js.map +0 -1
- package/dist/react-native/models/mappers.d.ts +0 -25
- package/dist/react-native/models/mappers.d.ts.map +0 -1
- package/dist/react-native/models/mappers.js +0 -847
- package/dist/react-native/models/mappers.js.map +0 -1
- package/dist/react-native/models/parameters.d.ts +0 -18
- package/dist/react-native/models/parameters.d.ts.map +0 -1
- package/dist/react-native/models/parameters.js +0 -164
- package/dist/react-native/models/parameters.js.map +0 -1
- package/dist/react-native/operations/index.d.ts +0 -3
- package/dist/react-native/operations/index.d.ts.map +0 -1
- package/dist/react-native/operations/index.js +0 -10
- package/dist/react-native/operations/index.js.map +0 -1
- package/dist/react-native/operations/operations.d.ts +0 -18
- package/dist/react-native/operations/operations.d.ts.map +0 -1
- package/dist/react-native/operations/operations.js +0 -47
- package/dist/react-native/operations/operations.js.map +0 -1
- package/dist/react-native/operations/workflowOperations.d.ts +0 -83
- package/dist/react-native/operations/workflowOperations.d.ts.map +0 -1
- package/dist/react-native/operations/workflowOperations.js +0 -352
- package/dist/react-native/operations/workflowOperations.js.map +0 -1
- package/dist/react-native/operationsInterfaces/index.d.ts +0 -3
- package/dist/react-native/operationsInterfaces/index.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/index.js +0 -10
- package/dist/react-native/operationsInterfaces/index.js.map +0 -1
- package/dist/react-native/operationsInterfaces/operations.d.ts +0 -10
- 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/workflowOperations.d.ts +0 -47
- package/dist/react-native/operationsInterfaces/workflowOperations.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/workflowOperations.js +0 -9
- package/dist/react-native/operationsInterfaces/workflowOperations.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-devhub-node.api.md +0 -465
|
@@ -1,48 +1,42 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
* @param parameters Properties used for generating artifacts such as Dockerfiles and manifests.
|
|
42
|
-
* @param options The options parameters.
|
|
43
|
-
*/
|
|
44
|
-
generatePreviewArtifacts(location: string, parameters: ArtifactGenerationProperties, options?: GeneratePreviewArtifactsOptionalParams): Promise<GeneratePreviewArtifactsResponse>;
|
|
45
|
-
operations: Operations;
|
|
46
|
-
workflowOperations: WorkflowOperations;
|
|
1
|
+
import type { DeveloperHubServiceClientOptionalParams } from "./api/index.js";
|
|
2
|
+
import type { GetAdooAuthInfoOptionalParams, GitHubOAuthOptionalParams, ListGitHubOAuthOptionalParams, GitHubOAuthCallbackOptionalParams, GeneratePreviewArtifactsOptionalParams } from "./api/options.js";
|
|
3
|
+
import type { AdooAuthOperations } from "./classic/adooAuth/index.js";
|
|
4
|
+
import type { IacProfilesOperations } from "./classic/iacProfiles/index.js";
|
|
5
|
+
import type { OperationsOperations } from "./classic/operations/index.js";
|
|
6
|
+
import type { TemplateOperations } from "./classic/template/index.js";
|
|
7
|
+
import type { VersionedTemplateOperations } from "./classic/versionedTemplate/index.js";
|
|
8
|
+
import type { WorkflowOperationsOperations } from "./classic/workflowOperations/index.js";
|
|
9
|
+
import type { ArtifactGenerationProperties, GitHubOAuthResponse, GitHubOAuthListResponse, GitHubOAuthInfoResponse, AdooAuthInfoResponse } from "./models/models.js";
|
|
10
|
+
import type { TokenCredential } from "@azure/core-auth";
|
|
11
|
+
import type { Pipeline } from "@azure/core-rest-pipeline";
|
|
12
|
+
export type { DeveloperHubServiceClientOptionalParams } from "./api/developerHubServiceContext.js";
|
|
13
|
+
export declare class DeveloperHubServiceClient {
|
|
14
|
+
private _client;
|
|
15
|
+
/** The pipeline used by this client to make requests */
|
|
16
|
+
readonly pipeline: Pipeline;
|
|
17
|
+
constructor(credential: TokenCredential, options?: DeveloperHubServiceClientOptionalParams);
|
|
18
|
+
constructor(credential: TokenCredential, subscriptionId: string, options?: DeveloperHubServiceClientOptionalParams);
|
|
19
|
+
/** Gets ADOOAuth info used to authenticate users with ADO. */
|
|
20
|
+
getAdooAuthInfo(location: string, options?: GetAdooAuthInfoOptionalParams): Promise<AdooAuthInfoResponse>;
|
|
21
|
+
/** Gets GitHubOAuth info used to authenticate users with the Developer Hub GitHub App. */
|
|
22
|
+
gitHubOAuth(location: string, options?: GitHubOAuthOptionalParams): Promise<GitHubOAuthInfoResponse>;
|
|
23
|
+
/** Callback URL to hit once authenticated with GitHub App to have the service store the OAuth token. */
|
|
24
|
+
listGitHubOAuth(location: string, options?: ListGitHubOAuthOptionalParams): Promise<GitHubOAuthListResponse>;
|
|
25
|
+
/** Callback URL to hit once authenticated with GitHub App to have the service store the OAuth token. */
|
|
26
|
+
gitHubOAuthCallback(location: string, code: string, state: string, options?: GitHubOAuthCallbackOptionalParams): Promise<GitHubOAuthResponse>;
|
|
27
|
+
/** Generate preview dockerfile and manifests. */
|
|
28
|
+
generatePreviewArtifacts(location: string, parameters: ArtifactGenerationProperties, options?: GeneratePreviewArtifactsOptionalParams): Promise<Record<string, string>>;
|
|
29
|
+
/** The operation groups for versionedTemplate */
|
|
30
|
+
readonly versionedTemplate: VersionedTemplateOperations;
|
|
31
|
+
/** The operation groups for template */
|
|
32
|
+
readonly template: TemplateOperations;
|
|
33
|
+
/** The operation groups for adooAuth */
|
|
34
|
+
readonly adooAuth: AdooAuthOperations;
|
|
35
|
+
/** The operation groups for workflowOperations */
|
|
36
|
+
readonly workflowOperations: WorkflowOperationsOperations;
|
|
37
|
+
/** The operation groups for iacProfiles */
|
|
38
|
+
readonly iacProfiles: IacProfilesOperations;
|
|
39
|
+
/** The operation groups for operations */
|
|
40
|
+
readonly operations: OperationsOperations;
|
|
47
41
|
}
|
|
48
42
|
//# sourceMappingURL=developerHubServiceClient.d.ts.map
|
|
@@ -1,233 +1,74 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
* @param subscriptionId The ID of the target subscription.
|
|
21
|
-
* @param options The parameter options
|
|
22
|
-
*/
|
|
23
|
-
constructor(credentials, subscriptionId, options) {
|
|
24
|
-
if (credentials === undefined) {
|
|
25
|
-
throw new Error("'credentials' cannot be null");
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
|
2
|
+
// Licensed under the MIT License.
|
|
3
|
+
import { createDeveloperHubService } from "./api/index.js";
|
|
4
|
+
import { getAdooAuthInfo, gitHubOAuth, listGitHubOAuth, gitHubOAuthCallback, generatePreviewArtifacts, } from "./api/operations.js";
|
|
5
|
+
import { _getAdooAuthOperations } from "./classic/adooAuth/index.js";
|
|
6
|
+
import { _getIacProfilesOperations } from "./classic/iacProfiles/index.js";
|
|
7
|
+
import { _getOperationsOperations } from "./classic/operations/index.js";
|
|
8
|
+
import { _getTemplateOperations } from "./classic/template/index.js";
|
|
9
|
+
import { _getVersionedTemplateOperations } from "./classic/versionedTemplate/index.js";
|
|
10
|
+
import { _getWorkflowOperationsOperations } from "./classic/workflowOperations/index.js";
|
|
11
|
+
export class DeveloperHubServiceClient {
|
|
12
|
+
_client;
|
|
13
|
+
/** The pipeline used by this client to make requests */
|
|
14
|
+
pipeline;
|
|
15
|
+
/** The AKS Developer Hub Service Client */
|
|
16
|
+
constructor(credential, subscriptionIdOrOptions, options) {
|
|
17
|
+
let subscriptionId;
|
|
18
|
+
if (typeof subscriptionIdOrOptions === "string") {
|
|
19
|
+
subscriptionId = subscriptionIdOrOptions;
|
|
26
20
|
}
|
|
27
|
-
if (
|
|
28
|
-
|
|
21
|
+
else if (typeof subscriptionIdOrOptions === "object") {
|
|
22
|
+
options = subscriptionIdOrOptions;
|
|
29
23
|
}
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
credential: credentials
|
|
37
|
-
};
|
|
38
|
-
const packageDetails = `azsdk-js-arm-devhub/1.0.0-beta.4`;
|
|
39
|
-
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
40
|
-
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
41
|
-
: `${packageDetails}`;
|
|
42
|
-
const optionsWithDefaults = {
|
|
43
|
-
...defaults,
|
|
24
|
+
options = options ?? {};
|
|
25
|
+
const prefixFromOptions = options?.userAgentOptions?.userAgentPrefix;
|
|
26
|
+
const userAgentPrefix = prefixFromOptions
|
|
27
|
+
? `${prefixFromOptions} azsdk-js-client`
|
|
28
|
+
: `azsdk-js-client`;
|
|
29
|
+
this._client = createDeveloperHubService(credential, subscriptionId ?? "", {
|
|
44
30
|
...options,
|
|
45
|
-
userAgentOptions: {
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
|
|
55
|
-
coreRestPipeline.bearerTokenAuthenticationPolicyName);
|
|
56
|
-
}
|
|
57
|
-
if (!options ||
|
|
58
|
-
!options.pipeline ||
|
|
59
|
-
options.pipeline.getOrderedPolicies().length == 0 ||
|
|
60
|
-
!bearerTokenAuthenticationPolicyFound) {
|
|
61
|
-
this.pipeline.removePolicy({
|
|
62
|
-
name: coreRestPipeline.bearerTokenAuthenticationPolicyName
|
|
63
|
-
});
|
|
64
|
-
this.pipeline.addPolicy(coreRestPipeline.bearerTokenAuthenticationPolicy({
|
|
65
|
-
credential: credentials,
|
|
66
|
-
scopes: optionsWithDefaults.credentialScopes ??
|
|
67
|
-
`${optionsWithDefaults.endpoint}/.default`,
|
|
68
|
-
challengeCallbacks: {
|
|
69
|
-
authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge
|
|
70
|
-
}
|
|
71
|
-
}));
|
|
72
|
-
}
|
|
73
|
-
// Parameter assignments
|
|
74
|
-
this.subscriptionId = subscriptionId;
|
|
75
|
-
// Assigning values to Constant parameters
|
|
76
|
-
this.$host = options.$host || "https://management.azure.com";
|
|
77
|
-
this.apiVersion = options.apiVersion || "2022-10-11-preview";
|
|
78
|
-
this.operations = new OperationsImpl(this);
|
|
79
|
-
this.workflowOperations = new WorkflowOperationsImpl(this);
|
|
80
|
-
this.addCustomApiVersionPolicy(options.apiVersion);
|
|
31
|
+
userAgentOptions: { userAgentPrefix },
|
|
32
|
+
});
|
|
33
|
+
this.pipeline = this._client.pipeline;
|
|
34
|
+
this.versionedTemplate = _getVersionedTemplateOperations(this._client);
|
|
35
|
+
this.template = _getTemplateOperations(this._client);
|
|
36
|
+
this.adooAuth = _getAdooAuthOperations(this._client);
|
|
37
|
+
this.workflowOperations = _getWorkflowOperationsOperations(this._client);
|
|
38
|
+
this.iacProfiles = _getIacProfilesOperations(this._client);
|
|
39
|
+
this.operations = _getOperationsOperations(this._client);
|
|
81
40
|
}
|
|
82
|
-
/**
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
return;
|
|
86
|
-
}
|
|
87
|
-
const apiVersionPolicy = {
|
|
88
|
-
name: "CustomApiVersionPolicy",
|
|
89
|
-
async sendRequest(request, next) {
|
|
90
|
-
const param = request.url.split("?");
|
|
91
|
-
if (param.length > 1) {
|
|
92
|
-
const newParams = param[1].split("&").map((item) => {
|
|
93
|
-
if (item.indexOf("api-version") > -1) {
|
|
94
|
-
return "api-version=" + apiVersion;
|
|
95
|
-
}
|
|
96
|
-
else {
|
|
97
|
-
return item;
|
|
98
|
-
}
|
|
99
|
-
});
|
|
100
|
-
request.url = param[0] + "?" + newParams.join("&");
|
|
101
|
-
}
|
|
102
|
-
return next(request);
|
|
103
|
-
}
|
|
104
|
-
};
|
|
105
|
-
this.pipeline.addPolicy(apiVersionPolicy);
|
|
41
|
+
/** Gets ADOOAuth info used to authenticate users with ADO. */
|
|
42
|
+
getAdooAuthInfo(location, options = { requestOptions: {} }) {
|
|
43
|
+
return getAdooAuthInfo(this._client, location, options);
|
|
106
44
|
}
|
|
107
|
-
/**
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
* @param options The options parameters.
|
|
111
|
-
*/
|
|
112
|
-
gitHubOAuth(location, options) {
|
|
113
|
-
return this.sendOperationRequest({ location, options }, gitHubOAuthOperationSpec);
|
|
45
|
+
/** Gets GitHubOAuth info used to authenticate users with the Developer Hub GitHub App. */
|
|
46
|
+
gitHubOAuth(location, options = { requestOptions: {} }) {
|
|
47
|
+
return gitHubOAuth(this._client, location, options);
|
|
114
48
|
}
|
|
115
|
-
/**
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
* @param code The code response from authenticating the GitHub App.
|
|
119
|
-
* @param state The state response from authenticating the GitHub App.
|
|
120
|
-
* @param options The options parameters.
|
|
121
|
-
*/
|
|
122
|
-
gitHubOAuthCallback(location, code, state, options) {
|
|
123
|
-
return this.sendOperationRequest({ location, code, state, options }, gitHubOAuthCallbackOperationSpec);
|
|
49
|
+
/** Callback URL to hit once authenticated with GitHub App to have the service store the OAuth token. */
|
|
50
|
+
listGitHubOAuth(location, options = { requestOptions: {} }) {
|
|
51
|
+
return listGitHubOAuth(this._client, location, options);
|
|
124
52
|
}
|
|
125
|
-
/**
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
* @param options The options parameters.
|
|
129
|
-
*/
|
|
130
|
-
listGitHubOAuth(location, options) {
|
|
131
|
-
return this.sendOperationRequest({ location, options }, listGitHubOAuthOperationSpec);
|
|
53
|
+
/** Callback URL to hit once authenticated with GitHub App to have the service store the OAuth token. */
|
|
54
|
+
gitHubOAuthCallback(location, code, state, options = { requestOptions: {} }) {
|
|
55
|
+
return gitHubOAuthCallback(this._client, location, code, state, options);
|
|
132
56
|
}
|
|
133
|
-
/**
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
* @param parameters Properties used for generating artifacts such as Dockerfiles and manifests.
|
|
137
|
-
* @param options The options parameters.
|
|
138
|
-
*/
|
|
139
|
-
generatePreviewArtifacts(location, parameters, options) {
|
|
140
|
-
return this.sendOperationRequest({ location, parameters, options }, generatePreviewArtifactsOperationSpec);
|
|
57
|
+
/** Generate preview dockerfile and manifests. */
|
|
58
|
+
generatePreviewArtifacts(location, parameters, options = { requestOptions: {} }) {
|
|
59
|
+
return generatePreviewArtifacts(this._client, location, parameters, options);
|
|
141
60
|
}
|
|
142
|
-
|
|
61
|
+
/** The operation groups for versionedTemplate */
|
|
62
|
+
versionedTemplate;
|
|
63
|
+
/** The operation groups for template */
|
|
64
|
+
template;
|
|
65
|
+
/** The operation groups for adooAuth */
|
|
66
|
+
adooAuth;
|
|
67
|
+
/** The operation groups for workflowOperations */
|
|
143
68
|
workflowOperations;
|
|
69
|
+
/** The operation groups for iacProfiles */
|
|
70
|
+
iacProfiles;
|
|
71
|
+
/** The operation groups for operations */
|
|
72
|
+
operations;
|
|
144
73
|
}
|
|
145
|
-
// Operation Specifications
|
|
146
|
-
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
147
|
-
const gitHubOAuthOperationSpec = {
|
|
148
|
-
path: "/subscriptions/{subscriptionId}/providers/Microsoft.DevHub/locations/{location}/githuboauth/default/getGitHubOAuthInfo",
|
|
149
|
-
httpMethod: "POST",
|
|
150
|
-
responses: {
|
|
151
|
-
200: {
|
|
152
|
-
bodyMapper: Mappers.GitHubOAuthInfoResponse
|
|
153
|
-
},
|
|
154
|
-
default: {
|
|
155
|
-
bodyMapper: Mappers.ErrorResponse
|
|
156
|
-
}
|
|
157
|
-
},
|
|
158
|
-
requestBody: Parameters.parameters,
|
|
159
|
-
queryParameters: [Parameters.apiVersion],
|
|
160
|
-
urlParameters: [
|
|
161
|
-
Parameters.$host,
|
|
162
|
-
Parameters.subscriptionId,
|
|
163
|
-
Parameters.location
|
|
164
|
-
],
|
|
165
|
-
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
166
|
-
mediaType: "json",
|
|
167
|
-
serializer
|
|
168
|
-
};
|
|
169
|
-
const gitHubOAuthCallbackOperationSpec = {
|
|
170
|
-
path: "/subscriptions/{subscriptionId}/providers/Microsoft.DevHub/locations/{location}/githuboauth/default",
|
|
171
|
-
httpMethod: "GET",
|
|
172
|
-
responses: {
|
|
173
|
-
200: {
|
|
174
|
-
bodyMapper: Mappers.GitHubOAuthResponse
|
|
175
|
-
},
|
|
176
|
-
default: {
|
|
177
|
-
bodyMapper: Mappers.ErrorResponse
|
|
178
|
-
}
|
|
179
|
-
},
|
|
180
|
-
queryParameters: [Parameters.apiVersion, Parameters.code, Parameters.state],
|
|
181
|
-
urlParameters: [
|
|
182
|
-
Parameters.$host,
|
|
183
|
-
Parameters.subscriptionId,
|
|
184
|
-
Parameters.location
|
|
185
|
-
],
|
|
186
|
-
headerParameters: [Parameters.accept],
|
|
187
|
-
serializer
|
|
188
|
-
};
|
|
189
|
-
const listGitHubOAuthOperationSpec = {
|
|
190
|
-
path: "/subscriptions/{subscriptionId}/providers/Microsoft.DevHub/locations/{location}/githuboauth",
|
|
191
|
-
httpMethod: "GET",
|
|
192
|
-
responses: {
|
|
193
|
-
200: {
|
|
194
|
-
bodyMapper: Mappers.GitHubOAuthListResponse
|
|
195
|
-
},
|
|
196
|
-
default: {
|
|
197
|
-
bodyMapper: Mappers.ErrorResponse
|
|
198
|
-
}
|
|
199
|
-
},
|
|
200
|
-
queryParameters: [Parameters.apiVersion],
|
|
201
|
-
urlParameters: [
|
|
202
|
-
Parameters.$host,
|
|
203
|
-
Parameters.subscriptionId,
|
|
204
|
-
Parameters.location
|
|
205
|
-
],
|
|
206
|
-
headerParameters: [Parameters.accept],
|
|
207
|
-
serializer
|
|
208
|
-
};
|
|
209
|
-
const generatePreviewArtifactsOperationSpec = {
|
|
210
|
-
path: "/subscriptions/{subscriptionId}/providers/Microsoft.DevHub/locations/{location}/generatePreviewArtifacts",
|
|
211
|
-
httpMethod: "POST",
|
|
212
|
-
responses: {
|
|
213
|
-
200: {
|
|
214
|
-
bodyMapper: {
|
|
215
|
-
type: { name: "Dictionary", value: { type: { name: "String" } } }
|
|
216
|
-
}
|
|
217
|
-
},
|
|
218
|
-
default: {
|
|
219
|
-
bodyMapper: Mappers.ErrorResponse
|
|
220
|
-
}
|
|
221
|
-
},
|
|
222
|
-
requestBody: Parameters.parameters1,
|
|
223
|
-
queryParameters: [Parameters.apiVersion],
|
|
224
|
-
urlParameters: [
|
|
225
|
-
Parameters.$host,
|
|
226
|
-
Parameters.subscriptionId,
|
|
227
|
-
Parameters.location
|
|
228
|
-
],
|
|
229
|
-
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
230
|
-
mediaType: "json",
|
|
231
|
-
serializer
|
|
232
|
-
};
|
|
233
74
|
//# sourceMappingURL=developerHubServiceClient.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"developerHubServiceClient.js","sourceRoot":"","sources":["../../src/developerHubServiceClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAO9D,OAAO,EAA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AAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport {\n PipelineRequest,\n PipelineResponse,\n SendRequest\n} from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport { OperationsImpl, WorkflowOperationsImpl } from \"./operations/index.js\";\nimport { Operations, WorkflowOperations } from \"./operationsInterfaces/index.js\";\nimport * as Parameters from \"./models/parameters.js\";\nimport * as Mappers from \"./models/mappers.js\";\nimport {\n DeveloperHubServiceClientOptionalParams,\n GitHubOAuthOptionalParams,\n GitHubOAuthOperationResponse,\n GitHubOAuthCallbackOptionalParams,\n GitHubOAuthCallbackResponse,\n ListGitHubOAuthOptionalParams,\n ListGitHubOAuthResponse,\n ArtifactGenerationProperties,\n GeneratePreviewArtifactsOptionalParams,\n GeneratePreviewArtifactsResponse\n} from \"./models/index.js\";\n\nexport class DeveloperHubServiceClient extends coreClient.ServiceClient {\n $host: string;\n apiVersion: string;\n subscriptionId: string;\n\n /**\n * Initializes a new instance of the DeveloperHubServiceClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The ID of the target subscription.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: DeveloperHubServiceClientOptionalParams\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: DeveloperHubServiceClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials\n };\n\n const packageDetails = `azsdk-js-arm-devhub/1.0.0-beta.4`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\"\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] = options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge\n }\n })\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2022-10-11-preview\";\n this.operations = new OperationsImpl(this);\n this.workflowOperations = new WorkflowOperationsImpl(this);\n this.addCustomApiVersionPolicy(options.apiVersion);\n }\n\n /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */\n private addCustomApiVersionPolicy(apiVersion?: string) {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(\n request: PipelineRequest,\n next: SendRequest\n ): Promise<PipelineResponse> {\n const param = request.url.split(\"?\");\n if (param.length > 1) {\n const newParams = param[1].split(\"&\").map((item) => {\n if (item.indexOf(\"api-version\") > -1) {\n return \"api-version=\" + apiVersion;\n } else {\n return item;\n }\n });\n request.url = param[0] + \"?\" + newParams.join(\"&\");\n }\n return next(request);\n }\n };\n this.pipeline.addPolicy(apiVersionPolicy);\n }\n\n /**\n * Gets GitHubOAuth info used to authenticate users with the Developer Hub GitHub App.\n * @param location The name of Azure region.\n * @param options The options parameters.\n */\n gitHubOAuth(\n location: string,\n options?: GitHubOAuthOptionalParams\n ): Promise<GitHubOAuthOperationResponse> {\n return this.sendOperationRequest(\n { location, options },\n gitHubOAuthOperationSpec\n );\n }\n\n /**\n * Callback URL to hit once authenticated with GitHub App to have the service store the OAuth token.\n * @param location The name of Azure region.\n * @param code The code response from authenticating the GitHub App.\n * @param state The state response from authenticating the GitHub App.\n * @param options The options parameters.\n */\n gitHubOAuthCallback(\n location: string,\n code: string,\n state: string,\n options?: GitHubOAuthCallbackOptionalParams\n ): Promise<GitHubOAuthCallbackResponse> {\n return this.sendOperationRequest(\n { location, code, state, options },\n gitHubOAuthCallbackOperationSpec\n );\n }\n\n /**\n * Callback URL to hit once authenticated with GitHub App to have the service store the OAuth token.\n * @param location The name of Azure region.\n * @param options The options parameters.\n */\n listGitHubOAuth(\n location: string,\n options?: ListGitHubOAuthOptionalParams\n ): Promise<ListGitHubOAuthResponse> {\n return this.sendOperationRequest(\n { location, options },\n listGitHubOAuthOperationSpec\n );\n }\n\n /**\n * Generate preview dockerfile and manifests.\n * @param location The name of Azure region.\n * @param parameters Properties used for generating artifacts such as Dockerfiles and manifests.\n * @param options The options parameters.\n */\n generatePreviewArtifacts(\n location: string,\n parameters: ArtifactGenerationProperties,\n options?: GeneratePreviewArtifactsOptionalParams\n ): Promise<GeneratePreviewArtifactsResponse> {\n return this.sendOperationRequest(\n { location, parameters, options },\n generatePreviewArtifactsOperationSpec\n );\n }\n\n operations: Operations;\n workflowOperations: WorkflowOperations;\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst gitHubOAuthOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.DevHub/locations/{location}/githuboauth/default/getGitHubOAuthInfo\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.GitHubOAuthInfoResponse\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.parameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.location\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst gitHubOAuthCallbackOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.DevHub/locations/{location}/githuboauth/default\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.GitHubOAuthResponse\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.code, Parameters.state],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.location\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listGitHubOAuthOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.DevHub/locations/{location}/githuboauth\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.GitHubOAuthListResponse\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.location\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst generatePreviewArtifactsOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.DevHub/locations/{location}/generatePreviewArtifacts\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: {\n type: { name: \"Dictionary\", value: { type: { name: \"String\" } } }\n }\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.parameters1,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.location\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\n"]}
|
|
1
|
+
{"version":3,"file":"developerHubServiceClient.js","sourceRoot":"","sources":["../../src/developerHubServiceClient.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAMlC,OAAO,EAAE,yBAAyB,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,EACL,eAAe,EACf,WAAW,EACX,eAAe,EACf,mBAAmB,EACnB,wBAAwB,GACzB,MAAM,qBAAqB,CAAC;AAS7B,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAErE,OAAO,EAAE,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AAE3E,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AAEzE,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAErE,OAAO,EAAE,+BAA+B,EAAE,MAAM,sCAAsC,CAAC;AAEvF,OAAO,EAAE,gCAAgC,EAAE,MAAM,uCAAuC,CAAC;AAazF,MAAM,OAAO,yBAAyB;IAC5B,OAAO,CAA6B;IAC5C,wDAAwD;IACxC,QAAQ,CAAW;IAQnC,2CAA2C;IAC3C,YACE,UAA2B,EAC3B,uBAA0E,EAC1E,OAAiD;QAEjD,IAAI,cAAkC,CAAC;QAE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EAAE,OAAO,CAAC,CAAC;IAC1D,CAAC;IAED,0FAA0F;IAC1F,WAAW,CACT,QAAgB,EAChB,UAAqC,EAAE,cAAc,EAAE,EAAE,EAAE;QAE3D,OAAO,WAAW,CAAC,IAAI,CAAC,OAAO,EAAE,QAAQ,EAAE,OAAO,CAAC,CAAC;IACtD,CAAC;IAED,wGAAwG;IACxG,eAAe,CACb,QAAgB,EAChB,UAAyC,EAAE,cAAc,EAAE,EAAE,EAAE;QAE/D,OAAO,eAAe,CAAC,IAAI,CAAC,OAAO,EAAE,QAAQ,EAAE,OAAO,CAAC,CAAC;IAC1D,CAAC;IAED,wGAAwG;IACxG,mBAAmB,CACjB,QAAgB,EAChB,IAAY,EACZ,KAAa,EACb,UAA6C,EAAE,cAAc,EAAE,EAAE,EAAE;QAEnE,OAAO,mBAAmB,CAAC,IAAI,CAAC,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,CAAC,CAAC;IAC3E,CAAC;IAED,iDAAiD;IACjD,wBAAwB,CACtB,QAAgB,EAChB,UAAwC,EACxC,UAAkD,EAAE,cAAc,EAAE,EAAE,EAAE;QAExE,OAAO,wBAAwB,CAAC,IAAI,CAAC,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,OAAO,CAAC,CAAC;IAC/E,CAAC;IAED,iDAAiD;IACjC,iBAAiB,CAA8B;IAC/D,wCAAwC;IACxB,QAAQ,CAAqB;IAC7C,wCAAwC;IACxB,QAAQ,CAAqB;IAC7C,kDAAkD;IAClC,kBAAkB,CAA+B;IACjE,2CAA2C;IAC3B,WAAW,CAAwB;IACnD,0CAA0C;IAC1B,UAAU,CAAuB;CAClD","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type {\n DeveloperHubServiceContext,\n DeveloperHubServiceClientOptionalParams,\n} from \"./api/index.js\";\nimport { createDeveloperHubService } from \"./api/index.js\";\nimport {\n getAdooAuthInfo,\n gitHubOAuth,\n listGitHubOAuth,\n gitHubOAuthCallback,\n generatePreviewArtifacts,\n} from \"./api/operations.js\";\nimport type {\n GetAdooAuthInfoOptionalParams,\n GitHubOAuthOptionalParams,\n ListGitHubOAuthOptionalParams,\n GitHubOAuthCallbackOptionalParams,\n GeneratePreviewArtifactsOptionalParams,\n} from \"./api/options.js\";\nimport type { AdooAuthOperations } from \"./classic/adooAuth/index.js\";\nimport { _getAdooAuthOperations } from \"./classic/adooAuth/index.js\";\nimport type { IacProfilesOperations } from \"./classic/iacProfiles/index.js\";\nimport { _getIacProfilesOperations } from \"./classic/iacProfiles/index.js\";\nimport type { OperationsOperations } from \"./classic/operations/index.js\";\nimport { _getOperationsOperations } from \"./classic/operations/index.js\";\nimport type { TemplateOperations } from \"./classic/template/index.js\";\nimport { _getTemplateOperations } from \"./classic/template/index.js\";\nimport type { VersionedTemplateOperations } from \"./classic/versionedTemplate/index.js\";\nimport { _getVersionedTemplateOperations } from \"./classic/versionedTemplate/index.js\";\nimport type { WorkflowOperationsOperations } from \"./classic/workflowOperations/index.js\";\nimport { _getWorkflowOperationsOperations } from \"./classic/workflowOperations/index.js\";\nimport type {\n ArtifactGenerationProperties,\n GitHubOAuthResponse,\n GitHubOAuthListResponse,\n GitHubOAuthInfoResponse,\n AdooAuthInfoResponse,\n} from \"./models/models.js\";\nimport type { TokenCredential } from \"@azure/core-auth\";\nimport type { Pipeline } from \"@azure/core-rest-pipeline\";\n\nexport type { DeveloperHubServiceClientOptionalParams } from \"./api/developerHubServiceContext.js\";\n\nexport class DeveloperHubServiceClient {\n private _client: DeveloperHubServiceContext;\n /** The pipeline used by this client to make requests */\n public readonly pipeline: Pipeline;\n\n constructor(credential: TokenCredential, options?: DeveloperHubServiceClientOptionalParams);\n constructor(\n credential: TokenCredential,\n subscriptionId: string,\n options?: DeveloperHubServiceClientOptionalParams,\n );\n /** The AKS Developer Hub Service Client */\n constructor(\n credential: TokenCredential,\n subscriptionIdOrOptions?: string | DeveloperHubServiceClientOptionalParams,\n options?: DeveloperHubServiceClientOptionalParams,\n ) {\n let subscriptionId: string | undefined;\n\n if (typeof subscriptionIdOrOptions === \"string\") {\n subscriptionId = subscriptionIdOrOptions;\n } else if (typeof subscriptionIdOrOptions === \"object\") {\n options = subscriptionIdOrOptions;\n }\n\n options = options ?? {};\n const prefixFromOptions = options?.userAgentOptions?.userAgentPrefix;\n const userAgentPrefix = prefixFromOptions\n ? `${prefixFromOptions} azsdk-js-client`\n : `azsdk-js-client`;\n this._client = createDeveloperHubService(credential, subscriptionId ?? \"\", {\n ...options,\n userAgentOptions: { userAgentPrefix },\n });\n this.pipeline = this._client.pipeline;\n this.versionedTemplate = _getVersionedTemplateOperations(this._client);\n this.template = _getTemplateOperations(this._client);\n this.adooAuth = _getAdooAuthOperations(this._client);\n this.workflowOperations = _getWorkflowOperationsOperations(this._client);\n this.iacProfiles = _getIacProfilesOperations(this._client);\n this.operations = _getOperationsOperations(this._client);\n }\n\n /** Gets ADOOAuth info used to authenticate users with ADO. */\n getAdooAuthInfo(\n location: string,\n options: GetAdooAuthInfoOptionalParams = { requestOptions: {} },\n ): Promise<AdooAuthInfoResponse> {\n return getAdooAuthInfo(this._client, location, options);\n }\n\n /** Gets GitHubOAuth info used to authenticate users with the Developer Hub GitHub App. */\n gitHubOAuth(\n location: string,\n options: GitHubOAuthOptionalParams = { requestOptions: {} },\n ): Promise<GitHubOAuthInfoResponse> {\n return gitHubOAuth(this._client, location, options);\n }\n\n /** Callback URL to hit once authenticated with GitHub App to have the service store the OAuth token. */\n listGitHubOAuth(\n location: string,\n options: ListGitHubOAuthOptionalParams = { requestOptions: {} },\n ): Promise<GitHubOAuthListResponse> {\n return listGitHubOAuth(this._client, location, options);\n }\n\n /** Callback URL to hit once authenticated with GitHub App to have the service store the OAuth token. */\n gitHubOAuthCallback(\n location: string,\n code: string,\n state: string,\n options: GitHubOAuthCallbackOptionalParams = { requestOptions: {} },\n ): Promise<GitHubOAuthResponse> {\n return gitHubOAuthCallback(this._client, location, code, state, options);\n }\n\n /** Generate preview dockerfile and manifests. */\n generatePreviewArtifacts(\n location: string,\n parameters: ArtifactGenerationProperties,\n options: GeneratePreviewArtifactsOptionalParams = { requestOptions: {} },\n ): Promise<Record<string, string>> {\n return generatePreviewArtifacts(this._client, location, parameters, options);\n }\n\n /** The operation groups for versionedTemplate */\n public readonly versionedTemplate: VersionedTemplateOperations;\n /** The operation groups for template */\n public readonly template: TemplateOperations;\n /** The operation groups for adooAuth */\n public readonly adooAuth: AdooAuthOperations;\n /** The operation groups for workflowOperations */\n public readonly workflowOperations: WorkflowOperationsOperations;\n /** The operation groups for iacProfiles */\n public readonly iacProfiles: IacProfilesOperations;\n /** The operation groups for operations */\n public readonly operations: OperationsOperations;\n}\n"]}
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import type { AzureSupportedClouds } from "./static-helpers/cloudSettingHelpers.js";
|
|
2
|
+
import { AzureClouds } from "./static-helpers/cloudSettingHelpers.js";
|
|
3
|
+
import type { PageSettings, ContinuablePage, PagedAsyncIterableIterator } from "./static-helpers/pagingHelpers.js";
|
|
3
4
|
export { DeveloperHubServiceClient } from "./developerHubServiceClient.js";
|
|
4
|
-
export
|
|
5
|
+
export type { ArtifactGenerationProperties, GenerationLanguage, DockerfileGenerationMode, ManifestGenerationMode, GenerationManifestType, ErrorResponse, ErrorDetail, ErrorAdditionalInfo, GitHubOAuthResponse, GitHubOAuthProperties, ProxyResource, Resource, SystemData, CreatedByType, GitHubOAuthListResponse, GitHubOAuthCallRequest, GitHubOAuthInfoResponse, AdooAuthCallRequest, AdooAuthInfoResponse, OperationListResult, Operation, OperationDisplay, Origin, ActionType, IacProfile, IacProfileProperties, IacGitHubProfile, AuthorizationStatus, PullRequestStatus, TerraformProfile, StageProperties, IacTemplateProperties, IacTemplateDetails, QuickStartTemplateType, TrackedResource, TagsObject, ExportTemplateRequest, PrLinkResponse, ScaleTemplateRequest, ScaleProperty, Workflow, WorkflowProperties, GitHubWorkflowProfile, DeploymentProperties, ManifestType, Acr, GitHubWorkflowProfileOidcCredentials, WorkflowRun, WorkflowRunStatus, AzurePipelineProfile, ADORepository, Build, PullRequest, TemplateWorkflowProfile, RepositoryProviderType, TemplateReference, GitHubProviderProfile, GitHubRepository, OidcCredentials, ADOProviderProfile, DeleteWorkflowResponse, AdooAuthResponse, AdooAuth, Template, TemplateProperties, TemplateType, VersionedTemplate, VersionedTemplateProperties, Parameter, ParameterType, ParameterKind, ParameterDefault, GenerateVersionedTemplateResponse, } from "./models/index.js";
|
|
6
|
+
export { KnownGenerationLanguage, KnownDockerfileGenerationMode, KnownManifestGenerationMode, KnownGenerationManifestType, KnownCreatedByType, KnownOrigin, KnownActionType, KnownAuthorizationStatus, KnownPullRequestStatus, KnownQuickStartTemplateType, KnownManifestType, KnownWorkflowRunStatus, KnownRepositoryProviderType, KnownTemplateType, KnownParameterType, KnownParameterKind, KnownVersions, } from "./models/index.js";
|
|
7
|
+
export type { DeveloperHubServiceClientOptionalParams, GetAdooAuthInfoOptionalParams, GitHubOAuthOptionalParams, ListGitHubOAuthOptionalParams, GitHubOAuthCallbackOptionalParams, GeneratePreviewArtifactsOptionalParams, } from "./api/index.js";
|
|
8
|
+
export type { AdooAuthListOptionalParams, AdooAuthGetOptionalParams, } from "./api/adooAuth/index.js";
|
|
9
|
+
export type { IacProfilesSyncOptionalParams, IacProfilesScaleOptionalParams, IacProfilesExportOptionalParams, IacProfilesListOptionalParams, IacProfilesListByResourceGroupOptionalParams, IacProfilesDeleteOptionalParams, IacProfilesUpdateTagsOptionalParams, IacProfilesCreateOrUpdateOptionalParams, IacProfilesGetOptionalParams, } from "./api/iacProfiles/index.js";
|
|
10
|
+
export type { OperationsListOptionalParams } from "./api/operations/index.js";
|
|
11
|
+
export type { TemplateListOptionalParams, TemplateGetOptionalParams, } from "./api/template/index.js";
|
|
12
|
+
export type { VersionedTemplateGenerateOptionalParams, VersionedTemplateListOptionalParams, VersionedTemplateGetOptionalParams, } from "./api/versionedTemplate/index.js";
|
|
13
|
+
export type { WorkflowOperationsListOptionalParams, WorkflowOperationsListByResourceGroupOptionalParams, WorkflowOperationsDeleteOptionalParams, WorkflowOperationsUpdateTagsOptionalParams, WorkflowOperationsCreateOrUpdateOptionalParams, WorkflowOperationsGetOptionalParams, } from "./api/workflowOperations/index.js";
|
|
14
|
+
export type { AdooAuthOperations, IacProfilesOperations, OperationsOperations, TemplateOperations, VersionedTemplateOperations, WorkflowOperationsOperations, } from "./classic/index.js";
|
|
15
|
+
export type { PageSettings, ContinuablePage, PagedAsyncIterableIterator };
|
|
16
|
+
export { AzureClouds };
|
|
17
|
+
export type { AzureSupportedClouds };
|
|
18
|
+
export { RestError, isRestError } from "@azure/core-rest-pipeline";
|
|
5
19
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/esm/index.js
CHANGED
|
@@ -1,13 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
/// <reference lib="esnext.asynciterable" />
|
|
9
|
-
export { getContinuationToken } from "./pagingHelper.js";
|
|
10
|
-
export * from "./models/index.js";
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
|
2
|
+
// Licensed under the MIT License.
|
|
3
|
+
import { AzureClouds } from "./static-helpers/cloudSettingHelpers.js";
|
|
11
4
|
export { DeveloperHubServiceClient } from "./developerHubServiceClient.js";
|
|
12
|
-
export
|
|
5
|
+
export { KnownGenerationLanguage, KnownDockerfileGenerationMode, KnownManifestGenerationMode, KnownGenerationManifestType, KnownCreatedByType, KnownOrigin, KnownActionType, KnownAuthorizationStatus, KnownPullRequestStatus, KnownQuickStartTemplateType, KnownManifestType, KnownWorkflowRunStatus, KnownRepositoryProviderType, KnownTemplateType, KnownParameterType, KnownParameterKind, KnownVersions, } from "./models/index.js";
|
|
6
|
+
export { AzureClouds };
|
|
7
|
+
export { RestError, isRestError } from "@azure/core-rest-pipeline";
|
|
13
8
|
//# sourceMappingURL=index.js.map
|
package/dist/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EAAE,WAAW,EAAE,MAAM,yCAAyC,CAAC;AAOtE,OAAO,EAAE,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AA4E3E,OAAO,EACL,uBAAuB,EACvB,6BAA6B,EAC7B,2BAA2B,EAC3B,2BAA2B,EAC3B,kBAAkB,EAClB,WAAW,EACX,eAAe,EACf,wBAAwB,EACxB,sBAAsB,EACtB,2BAA2B,EAC3B,iBAAiB,EACjB,sBAAsB,EACtB,2BAA2B,EAC3B,iBAAiB,EACjB,kBAAkB,EAClB,kBAAkB,EAClB,aAAa,GACd,MAAM,mBAAmB,CAAC;AAmD3B,OAAO,EAAE,WAAW,EAAE,CAAC;AAEvB,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { AzureSupportedClouds } from \"./static-helpers/cloudSettingHelpers.js\";\nimport { AzureClouds } from \"./static-helpers/cloudSettingHelpers.js\";\nimport type {\n PageSettings,\n ContinuablePage,\n PagedAsyncIterableIterator,\n} from \"./static-helpers/pagingHelpers.js\";\n\nexport { DeveloperHubServiceClient } from \"./developerHubServiceClient.js\";\nexport type {\n ArtifactGenerationProperties,\n GenerationLanguage,\n DockerfileGenerationMode,\n ManifestGenerationMode,\n GenerationManifestType,\n ErrorResponse,\n ErrorDetail,\n ErrorAdditionalInfo,\n GitHubOAuthResponse,\n GitHubOAuthProperties,\n ProxyResource,\n Resource,\n SystemData,\n CreatedByType,\n GitHubOAuthListResponse,\n GitHubOAuthCallRequest,\n GitHubOAuthInfoResponse,\n AdooAuthCallRequest,\n AdooAuthInfoResponse,\n OperationListResult,\n Operation,\n OperationDisplay,\n Origin,\n ActionType,\n IacProfile,\n IacProfileProperties,\n IacGitHubProfile,\n AuthorizationStatus,\n PullRequestStatus,\n TerraformProfile,\n StageProperties,\n IacTemplateProperties,\n IacTemplateDetails,\n QuickStartTemplateType,\n TrackedResource,\n TagsObject,\n ExportTemplateRequest,\n PrLinkResponse,\n ScaleTemplateRequest,\n ScaleProperty,\n Workflow,\n WorkflowProperties,\n GitHubWorkflowProfile,\n DeploymentProperties,\n ManifestType,\n Acr,\n GitHubWorkflowProfileOidcCredentials,\n WorkflowRun,\n WorkflowRunStatus,\n AzurePipelineProfile,\n ADORepository,\n Build,\n PullRequest,\n TemplateWorkflowProfile,\n RepositoryProviderType,\n TemplateReference,\n GitHubProviderProfile,\n GitHubRepository,\n OidcCredentials,\n ADOProviderProfile,\n DeleteWorkflowResponse,\n AdooAuthResponse,\n AdooAuth,\n Template,\n TemplateProperties,\n TemplateType,\n VersionedTemplate,\n VersionedTemplateProperties,\n Parameter,\n ParameterType,\n ParameterKind,\n ParameterDefault,\n GenerateVersionedTemplateResponse,\n} from \"./models/index.js\";\nexport {\n KnownGenerationLanguage,\n KnownDockerfileGenerationMode,\n KnownManifestGenerationMode,\n KnownGenerationManifestType,\n KnownCreatedByType,\n KnownOrigin,\n KnownActionType,\n KnownAuthorizationStatus,\n KnownPullRequestStatus,\n KnownQuickStartTemplateType,\n KnownManifestType,\n KnownWorkflowRunStatus,\n KnownRepositoryProviderType,\n KnownTemplateType,\n KnownParameterType,\n KnownParameterKind,\n KnownVersions,\n} from \"./models/index.js\";\nexport type {\n DeveloperHubServiceClientOptionalParams,\n GetAdooAuthInfoOptionalParams,\n GitHubOAuthOptionalParams,\n ListGitHubOAuthOptionalParams,\n GitHubOAuthCallbackOptionalParams,\n GeneratePreviewArtifactsOptionalParams,\n} from \"./api/index.js\";\nexport type {\n AdooAuthListOptionalParams,\n AdooAuthGetOptionalParams,\n} from \"./api/adooAuth/index.js\";\nexport type {\n IacProfilesSyncOptionalParams,\n IacProfilesScaleOptionalParams,\n IacProfilesExportOptionalParams,\n IacProfilesListOptionalParams,\n IacProfilesListByResourceGroupOptionalParams,\n IacProfilesDeleteOptionalParams,\n IacProfilesUpdateTagsOptionalParams,\n IacProfilesCreateOrUpdateOptionalParams,\n IacProfilesGetOptionalParams,\n} from \"./api/iacProfiles/index.js\";\nexport type { OperationsListOptionalParams } from \"./api/operations/index.js\";\nexport type {\n TemplateListOptionalParams,\n TemplateGetOptionalParams,\n} from \"./api/template/index.js\";\nexport type {\n VersionedTemplateGenerateOptionalParams,\n VersionedTemplateListOptionalParams,\n VersionedTemplateGetOptionalParams,\n} from \"./api/versionedTemplate/index.js\";\nexport type {\n WorkflowOperationsListOptionalParams,\n WorkflowOperationsListByResourceGroupOptionalParams,\n WorkflowOperationsDeleteOptionalParams,\n WorkflowOperationsUpdateTagsOptionalParams,\n WorkflowOperationsCreateOrUpdateOptionalParams,\n WorkflowOperationsGetOptionalParams,\n} from \"./api/workflowOperations/index.js\";\nexport type {\n AdooAuthOperations,\n IacProfilesOperations,\n OperationsOperations,\n TemplateOperations,\n VersionedTemplateOperations,\n WorkflowOperationsOperations,\n} from \"./classic/index.js\";\nexport type { PageSettings, ContinuablePage, PagedAsyncIterableIterator };\nexport { AzureClouds };\nexport type { AzureSupportedClouds };\nexport { RestError, isRestError } from \"@azure/core-rest-pipeline\";\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"logger.js","sourceRoot":"","sources":["../../src/logger.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AACnD,MAAM,CAAC,MAAM,MAAM,GAAG,kBAAkB,CAAC,YAAY,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { createClientLogger } from \"@azure/logger\";\nexport const logger = createClientLogger(\"arm-devhub\");\n"]}
|