@azure/arm-programmableconnectivity 1.0.0-alpha.20250505.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/LICENSE +21 -0
- package/README.md +115 -0
- package/dist/browser/api/gateways/index.d.ts +3 -0
- package/dist/browser/api/gateways/index.d.ts.map +1 -0
- package/dist/browser/api/gateways/index.js +4 -0
- package/dist/browser/api/gateways/index.js.map +1 -0
- package/dist/browser/api/gateways/operations.d.ts +36 -0
- package/dist/browser/api/gateways/operations.d.ts.map +1 -0
- package/dist/browser/api/gateways/operations.js +172 -0
- package/dist/browser/api/gateways/operations.js.map +1 -0
- package/dist/browser/api/gateways/options.d.ts +24 -0
- package/dist/browser/api/gateways/options.d.ts.map +1 -0
- package/dist/browser/api/gateways/options.js +4 -0
- package/dist/browser/api/gateways/options.js.map +1 -0
- package/dist/browser/api/index.d.ts +2 -0
- package/dist/browser/api/index.d.ts.map +1 -0
- package/dist/browser/api/index.js +4 -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.d.ts.map +1 -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.d.ts.map +1 -0
- package/dist/browser/api/operations/operations.js +29 -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.d.ts.map +1 -0
- package/dist/browser/api/operations/options.js +4 -0
- package/dist/browser/api/operations/options.js.map +1 -0
- package/dist/browser/api/operatorApiConnections/index.d.ts +3 -0
- package/dist/browser/api/operatorApiConnections/index.d.ts.map +1 -0
- package/dist/browser/api/operatorApiConnections/index.js +4 -0
- package/dist/browser/api/operatorApiConnections/index.js.map +1 -0
- package/dist/browser/api/operatorApiConnections/operations.d.ts +36 -0
- package/dist/browser/api/operatorApiConnections/operations.d.ts.map +1 -0
- package/dist/browser/api/operatorApiConnections/operations.js +184 -0
- package/dist/browser/api/operatorApiConnections/operations.js.map +1 -0
- package/dist/browser/api/operatorApiConnections/options.d.ts +26 -0
- package/dist/browser/api/operatorApiConnections/options.d.ts.map +1 -0
- package/dist/browser/api/operatorApiConnections/options.js +4 -0
- package/dist/browser/api/operatorApiConnections/options.js.map +1 -0
- package/dist/browser/api/operatorApiPlans/index.d.ts +3 -0
- package/dist/browser/api/operatorApiPlans/index.d.ts.map +1 -0
- package/dist/browser/api/operatorApiPlans/index.js +4 -0
- package/dist/browser/api/operatorApiPlans/index.js.map +1 -0
- package/dist/browser/api/operatorApiPlans/operations.d.ts +14 -0
- package/dist/browser/api/operatorApiPlans/operations.d.ts.map +1 -0
- package/dist/browser/api/operatorApiPlans/operations.js +62 -0
- package/dist/browser/api/operatorApiPlans/operations.js.map +1 -0
- package/dist/browser/api/operatorApiPlans/options.d.ts +14 -0
- package/dist/browser/api/operatorApiPlans/options.d.ts.map +1 -0
- package/dist/browser/api/operatorApiPlans/options.js +4 -0
- package/dist/browser/api/operatorApiPlans/options.js.map +1 -0
- package/dist/browser/api/programmableConnectivityContext.d.ts +19 -0
- package/dist/browser/api/programmableConnectivityContext.d.ts.map +1 -0
- package/dist/browser/api/programmableConnectivityContext.js +36 -0
- package/dist/browser/api/programmableConnectivityContext.js.map +1 -0
- package/dist/browser/classic/gateways/index.d.ts +27 -0
- package/dist/browser/classic/gateways/index.d.ts.map +1 -0
- package/dist/browser/classic/gateways/index.js +17 -0
- package/dist/browser/classic/gateways/index.js.map +1 -0
- package/dist/browser/classic/index.d.ts +5 -0
- package/dist/browser/classic/index.d.ts.map +1 -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.d.ts.map +1 -0
- package/dist/browser/classic/operations/index.js +12 -0
- package/dist/browser/classic/operations/index.js.map +1 -0
- package/dist/browser/classic/operatorApiConnections/index.d.ts +27 -0
- package/dist/browser/classic/operatorApiConnections/index.d.ts.map +1 -0
- package/dist/browser/classic/operatorApiConnections/index.js +17 -0
- package/dist/browser/classic/operatorApiConnections/index.js.map +1 -0
- package/dist/browser/classic/operatorApiPlans/index.d.ts +13 -0
- package/dist/browser/classic/operatorApiPlans/index.d.ts.map +1 -0
- package/dist/browser/classic/operatorApiPlans/index.js +13 -0
- package/dist/browser/classic/operatorApiPlans/index.js.map +1 -0
- package/dist/browser/index.d.ts +12 -0
- package/dist/browser/index.d.ts.map +1 -0
- package/dist/browser/index.js +6 -0
- package/dist/browser/index.js.map +1 -0
- package/dist/browser/logger.d.ts +2 -0
- package/dist/browser/logger.d.ts.map +1 -0
- package/dist/browser/logger.js +5 -0
- package/dist/browser/logger.js.map +1 -0
- package/dist/browser/models/index.d.ts +2 -0
- package/dist/browser/models/index.d.ts.map +1 -0
- package/dist/browser/models/index.js +4 -0
- package/dist/browser/models/index.js.map +1 -0
- package/dist/browser/models/models.d.ts +403 -0
- package/dist/browser/models/models.d.ts.map +1 -0
- package/dist/browser/models/models.js +427 -0
- package/dist/browser/models/models.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/browser/programmableConnectivityClient.d.ts +24 -0
- package/dist/browser/programmableConnectivityClient.d.ts.map +1 -0
- package/dist/browser/programmableConnectivityClient.js +24 -0
- package/dist/browser/programmableConnectivityClient.js.map +1 -0
- package/dist/browser/restorePollerHelpers.d.ts +21 -0
- package/dist/browser/restorePollerHelpers.d.ts.map +1 -0
- package/dist/browser/restorePollerHelpers.js +104 -0
- package/dist/browser/restorePollerHelpers.js.map +1 -0
- package/dist/browser/static-helpers/pagingHelpers.d.ts +72 -0
- package/dist/browser/static-helpers/pagingHelpers.d.ts.map +1 -0
- package/dist/browser/static-helpers/pagingHelpers.js +137 -0
- package/dist/browser/static-helpers/pagingHelpers.js.map +1 -0
- package/dist/browser/static-helpers/pollingHelpers.d.ts +30 -0
- package/dist/browser/static-helpers/pollingHelpers.d.ts.map +1 -0
- package/dist/browser/static-helpers/pollingHelpers.js +76 -0
- package/dist/browser/static-helpers/pollingHelpers.js.map +1 -0
- package/dist/browser/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/browser/static-helpers/urlTemplate.d.ts.map +1 -0
- package/dist/browser/static-helpers/urlTemplate.js +169 -0
- package/dist/browser/static-helpers/urlTemplate.js.map +1 -0
- package/dist/commonjs/api/gateways/index.d.ts +3 -0
- package/dist/commonjs/api/gateways/index.d.ts.map +1 -0
- package/dist/commonjs/api/gateways/index.js +13 -0
- package/dist/commonjs/api/gateways/index.js.map +1 -0
- package/dist/commonjs/api/gateways/operations.d.ts +36 -0
- package/dist/commonjs/api/gateways/operations.d.ts.map +1 -0
- package/dist/commonjs/api/gateways/operations.js +192 -0
- package/dist/commonjs/api/gateways/operations.js.map +1 -0
- package/dist/commonjs/api/gateways/options.d.ts +24 -0
- package/dist/commonjs/api/gateways/options.d.ts.map +1 -0
- package/dist/commonjs/api/gateways/options.js +5 -0
- package/dist/commonjs/api/gateways/options.js.map +1 -0
- package/dist/commonjs/api/index.d.ts +2 -0
- package/dist/commonjs/api/index.d.ts.map +1 -0
- package/dist/commonjs/api/index.js +8 -0
- package/dist/commonjs/api/index.js.map +1 -0
- package/dist/commonjs/api/operations/index.d.ts +3 -0
- package/dist/commonjs/api/operations/index.d.ts.map +1 -0
- package/dist/commonjs/api/operations/index.js +8 -0
- package/dist/commonjs/api/operations/index.js.map +1 -0
- package/dist/commonjs/api/operations/operations.d.ts +10 -0
- package/dist/commonjs/api/operations/operations.d.ts.map +1 -0
- package/dist/commonjs/api/operations/operations.js +34 -0
- package/dist/commonjs/api/operations/operations.js.map +1 -0
- package/dist/commonjs/api/operations/options.d.ts +5 -0
- package/dist/commonjs/api/operations/options.d.ts.map +1 -0
- package/dist/commonjs/api/operations/options.js +5 -0
- package/dist/commonjs/api/operations/options.js.map +1 -0
- package/dist/commonjs/api/operatorApiConnections/index.d.ts +3 -0
- package/dist/commonjs/api/operatorApiConnections/index.d.ts.map +1 -0
- package/dist/commonjs/api/operatorApiConnections/index.js +13 -0
- package/dist/commonjs/api/operatorApiConnections/index.js.map +1 -0
- package/dist/commonjs/api/operatorApiConnections/operations.d.ts +36 -0
- package/dist/commonjs/api/operatorApiConnections/operations.d.ts.map +1 -0
- package/dist/commonjs/api/operatorApiConnections/operations.js +204 -0
- package/dist/commonjs/api/operatorApiConnections/operations.js.map +1 -0
- package/dist/commonjs/api/operatorApiConnections/options.d.ts +26 -0
- package/dist/commonjs/api/operatorApiConnections/options.d.ts.map +1 -0
- package/dist/commonjs/api/operatorApiConnections/options.js +5 -0
- package/dist/commonjs/api/operatorApiConnections/options.js.map +1 -0
- package/dist/commonjs/api/operatorApiPlans/index.d.ts +3 -0
- package/dist/commonjs/api/operatorApiPlans/index.d.ts.map +1 -0
- package/dist/commonjs/api/operatorApiPlans/index.js +9 -0
- package/dist/commonjs/api/operatorApiPlans/index.js.map +1 -0
- package/dist/commonjs/api/operatorApiPlans/operations.d.ts +14 -0
- package/dist/commonjs/api/operatorApiPlans/operations.d.ts.map +1 -0
- package/dist/commonjs/api/operatorApiPlans/operations.js +70 -0
- package/dist/commonjs/api/operatorApiPlans/operations.js.map +1 -0
- package/dist/commonjs/api/operatorApiPlans/options.d.ts +14 -0
- package/dist/commonjs/api/operatorApiPlans/options.d.ts.map +1 -0
- package/dist/commonjs/api/operatorApiPlans/options.js +5 -0
- package/dist/commonjs/api/operatorApiPlans/options.js.map +1 -0
- package/dist/commonjs/api/programmableConnectivityContext.d.ts +19 -0
- package/dist/commonjs/api/programmableConnectivityContext.d.ts.map +1 -0
- package/dist/commonjs/api/programmableConnectivityContext.js +39 -0
- package/dist/commonjs/api/programmableConnectivityContext.js.map +1 -0
- package/dist/commonjs/classic/gateways/index.d.ts +27 -0
- package/dist/commonjs/classic/gateways/index.d.ts.map +1 -0
- package/dist/commonjs/classic/gateways/index.js +20 -0
- package/dist/commonjs/classic/gateways/index.js.map +1 -0
- package/dist/commonjs/classic/index.d.ts +5 -0
- package/dist/commonjs/classic/index.d.ts.map +1 -0
- package/dist/commonjs/classic/index.js +5 -0
- package/dist/commonjs/classic/index.js.map +1 -0
- package/dist/commonjs/classic/operations/index.d.ts +11 -0
- package/dist/commonjs/classic/operations/index.d.ts.map +1 -0
- package/dist/commonjs/classic/operations/index.js +15 -0
- package/dist/commonjs/classic/operations/index.js.map +1 -0
- package/dist/commonjs/classic/operatorApiConnections/index.d.ts +27 -0
- package/dist/commonjs/classic/operatorApiConnections/index.d.ts.map +1 -0
- package/dist/commonjs/classic/operatorApiConnections/index.js +20 -0
- package/dist/commonjs/classic/operatorApiConnections/index.js.map +1 -0
- package/dist/commonjs/classic/operatorApiPlans/index.d.ts +13 -0
- package/dist/commonjs/classic/operatorApiPlans/index.d.ts.map +1 -0
- package/dist/commonjs/classic/operatorApiPlans/index.js +16 -0
- package/dist/commonjs/classic/operatorApiPlans/index.js.map +1 -0
- package/dist/commonjs/index.d.ts +12 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +17 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/logger.d.ts +2 -0
- package/dist/commonjs/logger.d.ts.map +1 -0
- package/dist/commonjs/logger.js +8 -0
- package/dist/commonjs/logger.js.map +1 -0
- package/dist/commonjs/models/index.d.ts +2 -0
- package/dist/commonjs/models/index.d.ts.map +1 -0
- package/dist/commonjs/models/index.js +13 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/models.d.ts +403 -0
- package/dist/commonjs/models/models.d.ts.map +1 -0
- package/dist/commonjs/models/models.js +473 -0
- package/dist/commonjs/models/models.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/programmableConnectivityClient.d.ts +24 -0
- package/dist/commonjs/programmableConnectivityClient.d.ts.map +1 -0
- package/dist/commonjs/programmableConnectivityClient.js +28 -0
- package/dist/commonjs/programmableConnectivityClient.js.map +1 -0
- package/dist/commonjs/restorePollerHelpers.d.ts +21 -0
- package/dist/commonjs/restorePollerHelpers.d.ts.map +1 -0
- package/dist/commonjs/restorePollerHelpers.js +107 -0
- package/dist/commonjs/restorePollerHelpers.js.map +1 -0
- package/dist/commonjs/static-helpers/pagingHelpers.d.ts +72 -0
- package/dist/commonjs/static-helpers/pagingHelpers.d.ts.map +1 -0
- package/dist/commonjs/static-helpers/pagingHelpers.js +140 -0
- package/dist/commonjs/static-helpers/pagingHelpers.js.map +1 -0
- package/dist/commonjs/static-helpers/pollingHelpers.d.ts +30 -0
- package/dist/commonjs/static-helpers/pollingHelpers.d.ts.map +1 -0
- package/dist/commonjs/static-helpers/pollingHelpers.js +79 -0
- package/dist/commonjs/static-helpers/pollingHelpers.js.map +1 -0
- package/dist/commonjs/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/commonjs/static-helpers/urlTemplate.d.ts.map +1 -0
- package/dist/commonjs/static-helpers/urlTemplate.js +172 -0
- package/dist/commonjs/static-helpers/urlTemplate.js.map +1 -0
- package/dist/commonjs/tsdoc-metadata.json +11 -0
- package/dist/esm/api/gateways/index.d.ts +3 -0
- package/dist/esm/api/gateways/index.d.ts.map +1 -0
- package/dist/esm/api/gateways/index.js +4 -0
- package/dist/esm/api/gateways/index.js.map +1 -0
- package/dist/esm/api/gateways/operations.d.ts +36 -0
- package/dist/esm/api/gateways/operations.d.ts.map +1 -0
- package/dist/esm/api/gateways/operations.js +172 -0
- package/dist/esm/api/gateways/operations.js.map +1 -0
- package/dist/esm/api/gateways/options.d.ts +24 -0
- package/dist/esm/api/gateways/options.d.ts.map +1 -0
- package/dist/esm/api/gateways/options.js +4 -0
- package/dist/esm/api/gateways/options.js.map +1 -0
- package/dist/esm/api/index.d.ts +2 -0
- package/dist/esm/api/index.d.ts.map +1 -0
- package/dist/esm/api/index.js +4 -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.d.ts.map +1 -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.d.ts.map +1 -0
- package/dist/esm/api/operations/operations.js +29 -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.d.ts.map +1 -0
- package/dist/esm/api/operations/options.js +4 -0
- package/dist/esm/api/operations/options.js.map +1 -0
- package/dist/esm/api/operatorApiConnections/index.d.ts +3 -0
- package/dist/esm/api/operatorApiConnections/index.d.ts.map +1 -0
- package/dist/esm/api/operatorApiConnections/index.js +4 -0
- package/dist/esm/api/operatorApiConnections/index.js.map +1 -0
- package/dist/esm/api/operatorApiConnections/operations.d.ts +36 -0
- package/dist/esm/api/operatorApiConnections/operations.d.ts.map +1 -0
- package/dist/esm/api/operatorApiConnections/operations.js +184 -0
- package/dist/esm/api/operatorApiConnections/operations.js.map +1 -0
- package/dist/esm/api/operatorApiConnections/options.d.ts +26 -0
- package/dist/esm/api/operatorApiConnections/options.d.ts.map +1 -0
- package/dist/esm/api/operatorApiConnections/options.js +4 -0
- package/dist/esm/api/operatorApiConnections/options.js.map +1 -0
- package/dist/esm/api/operatorApiPlans/index.d.ts +3 -0
- package/dist/esm/api/operatorApiPlans/index.d.ts.map +1 -0
- package/dist/esm/api/operatorApiPlans/index.js +4 -0
- package/dist/esm/api/operatorApiPlans/index.js.map +1 -0
- package/dist/esm/api/operatorApiPlans/operations.d.ts +14 -0
- package/dist/esm/api/operatorApiPlans/operations.d.ts.map +1 -0
- package/dist/esm/api/operatorApiPlans/operations.js +62 -0
- package/dist/esm/api/operatorApiPlans/operations.js.map +1 -0
- package/dist/esm/api/operatorApiPlans/options.d.ts +14 -0
- package/dist/esm/api/operatorApiPlans/options.d.ts.map +1 -0
- package/dist/esm/api/operatorApiPlans/options.js +4 -0
- package/dist/esm/api/operatorApiPlans/options.js.map +1 -0
- package/dist/esm/api/programmableConnectivityContext.d.ts +19 -0
- package/dist/esm/api/programmableConnectivityContext.d.ts.map +1 -0
- package/dist/esm/api/programmableConnectivityContext.js +36 -0
- package/dist/esm/api/programmableConnectivityContext.js.map +1 -0
- package/dist/esm/classic/gateways/index.d.ts +27 -0
- package/dist/esm/classic/gateways/index.d.ts.map +1 -0
- package/dist/esm/classic/gateways/index.js +17 -0
- package/dist/esm/classic/gateways/index.js.map +1 -0
- package/dist/esm/classic/index.d.ts +5 -0
- package/dist/esm/classic/index.d.ts.map +1 -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.d.ts.map +1 -0
- package/dist/esm/classic/operations/index.js +12 -0
- package/dist/esm/classic/operations/index.js.map +1 -0
- package/dist/esm/classic/operatorApiConnections/index.d.ts +27 -0
- package/dist/esm/classic/operatorApiConnections/index.d.ts.map +1 -0
- package/dist/esm/classic/operatorApiConnections/index.js +17 -0
- package/dist/esm/classic/operatorApiConnections/index.js.map +1 -0
- package/dist/esm/classic/operatorApiPlans/index.d.ts +13 -0
- package/dist/esm/classic/operatorApiPlans/index.d.ts.map +1 -0
- package/dist/esm/classic/operatorApiPlans/index.js +13 -0
- package/dist/esm/classic/operatorApiPlans/index.js.map +1 -0
- package/dist/esm/index.d.ts +12 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/dist/esm/index.js +6 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/logger.d.ts +2 -0
- package/dist/esm/logger.d.ts.map +1 -0
- package/dist/esm/logger.js +5 -0
- package/dist/esm/logger.js.map +1 -0
- package/dist/esm/models/index.d.ts +2 -0
- package/dist/esm/models/index.d.ts.map +1 -0
- package/dist/esm/models/index.js +4 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/models.d.ts +403 -0
- package/dist/esm/models/models.d.ts.map +1 -0
- package/dist/esm/models/models.js +427 -0
- package/dist/esm/models/models.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/programmableConnectivityClient.d.ts +24 -0
- package/dist/esm/programmableConnectivityClient.d.ts.map +1 -0
- package/dist/esm/programmableConnectivityClient.js +24 -0
- package/dist/esm/programmableConnectivityClient.js.map +1 -0
- package/dist/esm/restorePollerHelpers.d.ts +21 -0
- package/dist/esm/restorePollerHelpers.d.ts.map +1 -0
- package/dist/esm/restorePollerHelpers.js +104 -0
- package/dist/esm/restorePollerHelpers.js.map +1 -0
- package/dist/esm/static-helpers/pagingHelpers.d.ts +72 -0
- package/dist/esm/static-helpers/pagingHelpers.d.ts.map +1 -0
- package/dist/esm/static-helpers/pagingHelpers.js +137 -0
- package/dist/esm/static-helpers/pagingHelpers.js.map +1 -0
- package/dist/esm/static-helpers/pollingHelpers.d.ts +30 -0
- package/dist/esm/static-helpers/pollingHelpers.d.ts.map +1 -0
- package/dist/esm/static-helpers/pollingHelpers.js +76 -0
- package/dist/esm/static-helpers/pollingHelpers.js.map +1 -0
- package/dist/esm/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/esm/static-helpers/urlTemplate.d.ts.map +1 -0
- package/dist/esm/static-helpers/urlTemplate.js +169 -0
- package/dist/esm/static-helpers/urlTemplate.js.map +1 -0
- package/dist/react-native/api/gateways/index.d.ts +3 -0
- package/dist/react-native/api/gateways/index.d.ts.map +1 -0
- package/dist/react-native/api/gateways/index.js +4 -0
- package/dist/react-native/api/gateways/index.js.map +1 -0
- package/dist/react-native/api/gateways/operations.d.ts +36 -0
- package/dist/react-native/api/gateways/operations.d.ts.map +1 -0
- package/dist/react-native/api/gateways/operations.js +172 -0
- package/dist/react-native/api/gateways/operations.js.map +1 -0
- package/dist/react-native/api/gateways/options.d.ts +24 -0
- package/dist/react-native/api/gateways/options.d.ts.map +1 -0
- package/dist/react-native/api/gateways/options.js +4 -0
- package/dist/react-native/api/gateways/options.js.map +1 -0
- package/dist/react-native/api/index.d.ts +2 -0
- package/dist/react-native/api/index.d.ts.map +1 -0
- package/dist/react-native/api/index.js +4 -0
- package/dist/react-native/api/index.js.map +1 -0
- package/dist/react-native/api/operations/index.d.ts +3 -0
- package/dist/react-native/api/operations/index.d.ts.map +1 -0
- package/dist/react-native/api/operations/index.js +4 -0
- package/dist/react-native/api/operations/index.js.map +1 -0
- package/dist/react-native/api/operations/operations.d.ts +10 -0
- package/dist/react-native/api/operations/operations.d.ts.map +1 -0
- package/dist/react-native/api/operations/operations.js +29 -0
- package/dist/react-native/api/operations/operations.js.map +1 -0
- package/dist/react-native/api/operations/options.d.ts +5 -0
- package/dist/react-native/api/operations/options.d.ts.map +1 -0
- package/dist/react-native/api/operations/options.js +4 -0
- package/dist/react-native/api/operations/options.js.map +1 -0
- package/dist/react-native/api/operatorApiConnections/index.d.ts +3 -0
- package/dist/react-native/api/operatorApiConnections/index.d.ts.map +1 -0
- package/dist/react-native/api/operatorApiConnections/index.js +4 -0
- package/dist/react-native/api/operatorApiConnections/index.js.map +1 -0
- package/dist/react-native/api/operatorApiConnections/operations.d.ts +36 -0
- package/dist/react-native/api/operatorApiConnections/operations.d.ts.map +1 -0
- package/dist/react-native/api/operatorApiConnections/operations.js +184 -0
- package/dist/react-native/api/operatorApiConnections/operations.js.map +1 -0
- package/dist/react-native/api/operatorApiConnections/options.d.ts +26 -0
- package/dist/react-native/api/operatorApiConnections/options.d.ts.map +1 -0
- package/dist/react-native/api/operatorApiConnections/options.js +4 -0
- package/dist/react-native/api/operatorApiConnections/options.js.map +1 -0
- package/dist/react-native/api/operatorApiPlans/index.d.ts +3 -0
- package/dist/react-native/api/operatorApiPlans/index.d.ts.map +1 -0
- package/dist/react-native/api/operatorApiPlans/index.js +4 -0
- package/dist/react-native/api/operatorApiPlans/index.js.map +1 -0
- package/dist/react-native/api/operatorApiPlans/operations.d.ts +14 -0
- package/dist/react-native/api/operatorApiPlans/operations.d.ts.map +1 -0
- package/dist/react-native/api/operatorApiPlans/operations.js +62 -0
- package/dist/react-native/api/operatorApiPlans/operations.js.map +1 -0
- package/dist/react-native/api/operatorApiPlans/options.d.ts +14 -0
- package/dist/react-native/api/operatorApiPlans/options.d.ts.map +1 -0
- package/dist/react-native/api/operatorApiPlans/options.js +4 -0
- package/dist/react-native/api/operatorApiPlans/options.js.map +1 -0
- package/dist/react-native/api/programmableConnectivityContext.d.ts +19 -0
- package/dist/react-native/api/programmableConnectivityContext.d.ts.map +1 -0
- package/dist/react-native/api/programmableConnectivityContext.js +36 -0
- package/dist/react-native/api/programmableConnectivityContext.js.map +1 -0
- package/dist/react-native/classic/gateways/index.d.ts +27 -0
- package/dist/react-native/classic/gateways/index.d.ts.map +1 -0
- package/dist/react-native/classic/gateways/index.js +17 -0
- package/dist/react-native/classic/gateways/index.js.map +1 -0
- package/dist/react-native/classic/index.d.ts +5 -0
- package/dist/react-native/classic/index.d.ts.map +1 -0
- package/dist/react-native/classic/index.js +4 -0
- package/dist/react-native/classic/index.js.map +1 -0
- package/dist/react-native/classic/operations/index.d.ts +11 -0
- package/dist/react-native/classic/operations/index.d.ts.map +1 -0
- package/dist/react-native/classic/operations/index.js +12 -0
- package/dist/react-native/classic/operations/index.js.map +1 -0
- package/dist/react-native/classic/operatorApiConnections/index.d.ts +27 -0
- package/dist/react-native/classic/operatorApiConnections/index.d.ts.map +1 -0
- package/dist/react-native/classic/operatorApiConnections/index.js +17 -0
- package/dist/react-native/classic/operatorApiConnections/index.js.map +1 -0
- package/dist/react-native/classic/operatorApiPlans/index.d.ts +13 -0
- package/dist/react-native/classic/operatorApiPlans/index.d.ts.map +1 -0
- package/dist/react-native/classic/operatorApiPlans/index.js +13 -0
- package/dist/react-native/classic/operatorApiPlans/index.js.map +1 -0
- package/dist/react-native/index.d.ts +12 -0
- package/dist/react-native/index.d.ts.map +1 -0
- package/dist/react-native/index.js +6 -0
- package/dist/react-native/index.js.map +1 -0
- package/dist/react-native/logger.d.ts +2 -0
- package/dist/react-native/logger.d.ts.map +1 -0
- package/dist/react-native/logger.js +5 -0
- package/dist/react-native/logger.js.map +1 -0
- package/dist/react-native/models/index.d.ts +2 -0
- package/dist/react-native/models/index.d.ts.map +1 -0
- package/dist/react-native/models/index.js +4 -0
- package/dist/react-native/models/index.js.map +1 -0
- package/dist/react-native/models/models.d.ts +403 -0
- package/dist/react-native/models/models.d.ts.map +1 -0
- package/dist/react-native/models/models.js +427 -0
- package/dist/react-native/models/models.js.map +1 -0
- package/dist/react-native/package.json +3 -0
- package/dist/react-native/programmableConnectivityClient.d.ts +24 -0
- package/dist/react-native/programmableConnectivityClient.d.ts.map +1 -0
- package/dist/react-native/programmableConnectivityClient.js +24 -0
- package/dist/react-native/programmableConnectivityClient.js.map +1 -0
- package/dist/react-native/restorePollerHelpers.d.ts +21 -0
- package/dist/react-native/restorePollerHelpers.d.ts.map +1 -0
- package/dist/react-native/restorePollerHelpers.js +104 -0
- package/dist/react-native/restorePollerHelpers.js.map +1 -0
- package/dist/react-native/static-helpers/pagingHelpers.d.ts +72 -0
- package/dist/react-native/static-helpers/pagingHelpers.d.ts.map +1 -0
- package/dist/react-native/static-helpers/pagingHelpers.js +137 -0
- package/dist/react-native/static-helpers/pagingHelpers.js.map +1 -0
- package/dist/react-native/static-helpers/pollingHelpers.d.ts +30 -0
- package/dist/react-native/static-helpers/pollingHelpers.d.ts.map +1 -0
- package/dist/react-native/static-helpers/pollingHelpers.js +76 -0
- package/dist/react-native/static-helpers/pollingHelpers.js.map +1 -0
- package/dist/react-native/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/react-native/static-helpers/urlTemplate.d.ts.map +1 -0
- package/dist/react-native/static-helpers/urlTemplate.js +169 -0
- package/dist/react-native/static-helpers/urlTemplate.js.map +1 -0
- package/package.json +258 -0
- package/review/arm-programmableconnectivity-api-gateways.api.md +58 -0
- package/review/arm-programmableconnectivity-api-operations.api.md +19 -0
- package/review/arm-programmableconnectivity-api-operatorApiConnections.api.md +59 -0
- package/review/arm-programmableconnectivity-api-operatorApiPlans.api.md +29 -0
- package/review/arm-programmableconnectivity-api.api.md +27 -0
- package/review/arm-programmableconnectivity-models.api.md +232 -0
- package/review/arm-programmableconnectivity.api.md +382 -0
|
@@ -0,0 +1,473 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Copyright (c) Microsoft Corporation.
|
|
3
|
+
// Licensed under the MIT License.
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.KnownVersions = exports.KnownAccountType = exports.KnownCreatedByType = exports.KnownProvisioningState = exports.KnownActionType = exports.KnownOrigin = void 0;
|
|
6
|
+
exports._operationListResultDeserializer = _operationListResultDeserializer;
|
|
7
|
+
exports.operationArrayDeserializer = operationArrayDeserializer;
|
|
8
|
+
exports.operationDeserializer = operationDeserializer;
|
|
9
|
+
exports.operationDisplayDeserializer = operationDisplayDeserializer;
|
|
10
|
+
exports.errorResponseDeserializer = errorResponseDeserializer;
|
|
11
|
+
exports.errorDetailDeserializer = errorDetailDeserializer;
|
|
12
|
+
exports.errorDetailArrayDeserializer = errorDetailArrayDeserializer;
|
|
13
|
+
exports.errorAdditionalInfoArrayDeserializer = errorAdditionalInfoArrayDeserializer;
|
|
14
|
+
exports.errorAdditionalInfoDeserializer = errorAdditionalInfoDeserializer;
|
|
15
|
+
exports._errorAdditionalInfoInfoDeserializer = _errorAdditionalInfoInfoDeserializer;
|
|
16
|
+
exports.gatewaySerializer = gatewaySerializer;
|
|
17
|
+
exports.gatewayDeserializer = gatewayDeserializer;
|
|
18
|
+
exports.gatewayPropertiesSerializer = gatewayPropertiesSerializer;
|
|
19
|
+
exports.gatewayPropertiesDeserializer = gatewayPropertiesDeserializer;
|
|
20
|
+
exports.trackedResourceSerializer = trackedResourceSerializer;
|
|
21
|
+
exports.trackedResourceDeserializer = trackedResourceDeserializer;
|
|
22
|
+
exports.resourceSerializer = resourceSerializer;
|
|
23
|
+
exports.resourceDeserializer = resourceDeserializer;
|
|
24
|
+
exports.systemDataDeserializer = systemDataDeserializer;
|
|
25
|
+
exports.gatewayTagsUpdateSerializer = gatewayTagsUpdateSerializer;
|
|
26
|
+
exports._gatewayListResultDeserializer = _gatewayListResultDeserializer;
|
|
27
|
+
exports.gatewayArraySerializer = gatewayArraySerializer;
|
|
28
|
+
exports.gatewayArrayDeserializer = gatewayArrayDeserializer;
|
|
29
|
+
exports.operatorApiConnectionSerializer = operatorApiConnectionSerializer;
|
|
30
|
+
exports.operatorApiConnectionDeserializer = operatorApiConnectionDeserializer;
|
|
31
|
+
exports.operatorApiConnectionPropertiesSerializer = operatorApiConnectionPropertiesSerializer;
|
|
32
|
+
exports.operatorApiConnectionPropertiesDeserializer = operatorApiConnectionPropertiesDeserializer;
|
|
33
|
+
exports.saasPropertiesSerializer = saasPropertiesSerializer;
|
|
34
|
+
exports.saasPropertiesDeserializer = saasPropertiesDeserializer;
|
|
35
|
+
exports.applicationPropertiesSerializer = applicationPropertiesSerializer;
|
|
36
|
+
exports.applicationPropertiesDeserializer = applicationPropertiesDeserializer;
|
|
37
|
+
exports.statusDeserializer = statusDeserializer;
|
|
38
|
+
exports.operatorApiConnectionUpdateSerializer = operatorApiConnectionUpdateSerializer;
|
|
39
|
+
exports.operatorApiConnectionUpdatePropertiesSerializer = operatorApiConnectionUpdatePropertiesSerializer;
|
|
40
|
+
exports._operatorApiConnectionListResultDeserializer = _operatorApiConnectionListResultDeserializer;
|
|
41
|
+
exports.operatorApiConnectionArraySerializer = operatorApiConnectionArraySerializer;
|
|
42
|
+
exports.operatorApiConnectionArrayDeserializer = operatorApiConnectionArrayDeserializer;
|
|
43
|
+
exports.operatorApiPlanDeserializer = operatorApiPlanDeserializer;
|
|
44
|
+
exports.operatorApiPlanPropertiesDeserializer = operatorApiPlanPropertiesDeserializer;
|
|
45
|
+
exports.marketplacePropertiesDeserializer = marketplacePropertiesDeserializer;
|
|
46
|
+
exports.proxyResourceDeserializer = proxyResourceDeserializer;
|
|
47
|
+
exports._operatorApiPlanListResultDeserializer = _operatorApiPlanListResultDeserializer;
|
|
48
|
+
exports.operatorApiPlanArrayDeserializer = operatorApiPlanArrayDeserializer;
|
|
49
|
+
function _operationListResultDeserializer(item) {
|
|
50
|
+
return {
|
|
51
|
+
value: operationArrayDeserializer(item["value"]),
|
|
52
|
+
nextLink: item["nextLink"],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
function operationArrayDeserializer(result) {
|
|
56
|
+
return result.map((item) => {
|
|
57
|
+
return operationDeserializer(item);
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
function operationDeserializer(item) {
|
|
61
|
+
return {
|
|
62
|
+
name: item["name"],
|
|
63
|
+
isDataAction: item["isDataAction"],
|
|
64
|
+
display: !item["display"] ? item["display"] : operationDisplayDeserializer(item["display"]),
|
|
65
|
+
origin: item["origin"],
|
|
66
|
+
actionType: item["actionType"],
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
function operationDisplayDeserializer(item) {
|
|
70
|
+
return {
|
|
71
|
+
provider: item["provider"],
|
|
72
|
+
resource: item["resource"],
|
|
73
|
+
operation: item["operation"],
|
|
74
|
+
description: item["description"],
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
/** The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system" */
|
|
78
|
+
var KnownOrigin;
|
|
79
|
+
(function (KnownOrigin) {
|
|
80
|
+
/** Indicates the operation is initiated by a user. */
|
|
81
|
+
KnownOrigin["User"] = "user";
|
|
82
|
+
/** Indicates the operation is initiated by a system. */
|
|
83
|
+
KnownOrigin["System"] = "system";
|
|
84
|
+
/** Indicates the operation is initiated by a user or system. */
|
|
85
|
+
KnownOrigin["UserSystem"] = "user,system";
|
|
86
|
+
})(KnownOrigin || (exports.KnownOrigin = KnownOrigin = {}));
|
|
87
|
+
/** Extensible enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. */
|
|
88
|
+
var KnownActionType;
|
|
89
|
+
(function (KnownActionType) {
|
|
90
|
+
/** Actions are for internal-only APIs. */
|
|
91
|
+
KnownActionType["Internal"] = "Internal";
|
|
92
|
+
})(KnownActionType || (exports.KnownActionType = KnownActionType = {}));
|
|
93
|
+
function errorResponseDeserializer(item) {
|
|
94
|
+
return {
|
|
95
|
+
error: !item["error"] ? item["error"] : errorDetailDeserializer(item["error"]),
|
|
96
|
+
};
|
|
97
|
+
}
|
|
98
|
+
function errorDetailDeserializer(item) {
|
|
99
|
+
return {
|
|
100
|
+
code: item["code"],
|
|
101
|
+
message: item["message"],
|
|
102
|
+
target: item["target"],
|
|
103
|
+
details: !item["details"] ? item["details"] : errorDetailArrayDeserializer(item["details"]),
|
|
104
|
+
additionalInfo: !item["additionalInfo"]
|
|
105
|
+
? item["additionalInfo"]
|
|
106
|
+
: errorAdditionalInfoArrayDeserializer(item["additionalInfo"]),
|
|
107
|
+
};
|
|
108
|
+
}
|
|
109
|
+
function errorDetailArrayDeserializer(result) {
|
|
110
|
+
return result.map((item) => {
|
|
111
|
+
return errorDetailDeserializer(item);
|
|
112
|
+
});
|
|
113
|
+
}
|
|
114
|
+
function errorAdditionalInfoArrayDeserializer(result) {
|
|
115
|
+
return result.map((item) => {
|
|
116
|
+
return errorAdditionalInfoDeserializer(item);
|
|
117
|
+
});
|
|
118
|
+
}
|
|
119
|
+
function errorAdditionalInfoDeserializer(item) {
|
|
120
|
+
return {
|
|
121
|
+
type: item["type"],
|
|
122
|
+
info: !item["info"] ? item["info"] : _errorAdditionalInfoInfoDeserializer(item["info"]),
|
|
123
|
+
};
|
|
124
|
+
}
|
|
125
|
+
function _errorAdditionalInfoInfoDeserializer(item) {
|
|
126
|
+
return item;
|
|
127
|
+
}
|
|
128
|
+
function gatewaySerializer(item) {
|
|
129
|
+
return {
|
|
130
|
+
tags: item["tags"],
|
|
131
|
+
location: item["location"],
|
|
132
|
+
properties: !item["properties"]
|
|
133
|
+
? item["properties"]
|
|
134
|
+
: gatewayPropertiesSerializer(item["properties"]),
|
|
135
|
+
};
|
|
136
|
+
}
|
|
137
|
+
function gatewayDeserializer(item) {
|
|
138
|
+
return {
|
|
139
|
+
tags: item["tags"],
|
|
140
|
+
location: item["location"],
|
|
141
|
+
id: item["id"],
|
|
142
|
+
name: item["name"],
|
|
143
|
+
type: item["type"],
|
|
144
|
+
systemData: !item["systemData"]
|
|
145
|
+
? item["systemData"]
|
|
146
|
+
: systemDataDeserializer(item["systemData"]),
|
|
147
|
+
properties: !item["properties"]
|
|
148
|
+
? item["properties"]
|
|
149
|
+
: gatewayPropertiesDeserializer(item["properties"]),
|
|
150
|
+
};
|
|
151
|
+
}
|
|
152
|
+
function gatewayPropertiesSerializer(item) {
|
|
153
|
+
return item;
|
|
154
|
+
}
|
|
155
|
+
function gatewayPropertiesDeserializer(item) {
|
|
156
|
+
return {
|
|
157
|
+
operatorApiConnections: !item["operatorApiConnections"]
|
|
158
|
+
? item["operatorApiConnections"]
|
|
159
|
+
: item["operatorApiConnections"].map((p) => {
|
|
160
|
+
return p;
|
|
161
|
+
}),
|
|
162
|
+
gatewayBaseUrl: item["gatewayBaseUrl"],
|
|
163
|
+
provisioningState: item["provisioningState"],
|
|
164
|
+
};
|
|
165
|
+
}
|
|
166
|
+
/** The provisioning state of a resource. */
|
|
167
|
+
var KnownProvisioningState;
|
|
168
|
+
(function (KnownProvisioningState) {
|
|
169
|
+
/** Resource has been created. */
|
|
170
|
+
KnownProvisioningState["Succeeded"] = "Succeeded";
|
|
171
|
+
/** Resource creation failed. */
|
|
172
|
+
KnownProvisioningState["Failed"] = "Failed";
|
|
173
|
+
/** Resource creation was canceled. */
|
|
174
|
+
KnownProvisioningState["Canceled"] = "Canceled";
|
|
175
|
+
/** The resource is being provisioned */
|
|
176
|
+
KnownProvisioningState["Provisioning"] = "Provisioning";
|
|
177
|
+
/** The resource is updating */
|
|
178
|
+
KnownProvisioningState["Updating"] = "Updating";
|
|
179
|
+
/** The resource is being deleted */
|
|
180
|
+
KnownProvisioningState["Deleting"] = "Deleting";
|
|
181
|
+
/** The resource create or update request has been accepted */
|
|
182
|
+
KnownProvisioningState["Accepted"] = "Accepted";
|
|
183
|
+
})(KnownProvisioningState || (exports.KnownProvisioningState = KnownProvisioningState = {}));
|
|
184
|
+
function trackedResourceSerializer(item) {
|
|
185
|
+
return { tags: item["tags"], location: item["location"] };
|
|
186
|
+
}
|
|
187
|
+
function trackedResourceDeserializer(item) {
|
|
188
|
+
return {
|
|
189
|
+
id: item["id"],
|
|
190
|
+
name: item["name"],
|
|
191
|
+
type: item["type"],
|
|
192
|
+
systemData: !item["systemData"]
|
|
193
|
+
? item["systemData"]
|
|
194
|
+
: systemDataDeserializer(item["systemData"]),
|
|
195
|
+
tags: item["tags"],
|
|
196
|
+
location: item["location"],
|
|
197
|
+
};
|
|
198
|
+
}
|
|
199
|
+
function resourceSerializer(item) {
|
|
200
|
+
return item;
|
|
201
|
+
}
|
|
202
|
+
function resourceDeserializer(item) {
|
|
203
|
+
return {
|
|
204
|
+
id: item["id"],
|
|
205
|
+
name: item["name"],
|
|
206
|
+
type: item["type"],
|
|
207
|
+
systemData: !item["systemData"]
|
|
208
|
+
? item["systemData"]
|
|
209
|
+
: systemDataDeserializer(item["systemData"]),
|
|
210
|
+
};
|
|
211
|
+
}
|
|
212
|
+
function systemDataDeserializer(item) {
|
|
213
|
+
return {
|
|
214
|
+
createdBy: item["createdBy"],
|
|
215
|
+
createdByType: item["createdByType"],
|
|
216
|
+
createdAt: !item["createdAt"] ? item["createdAt"] : new Date(item["createdAt"]),
|
|
217
|
+
lastModifiedBy: item["lastModifiedBy"],
|
|
218
|
+
lastModifiedByType: item["lastModifiedByType"],
|
|
219
|
+
lastModifiedAt: !item["lastModifiedAt"]
|
|
220
|
+
? item["lastModifiedAt"]
|
|
221
|
+
: new Date(item["lastModifiedAt"]),
|
|
222
|
+
};
|
|
223
|
+
}
|
|
224
|
+
/** The kind of entity that created the resource. */
|
|
225
|
+
var KnownCreatedByType;
|
|
226
|
+
(function (KnownCreatedByType) {
|
|
227
|
+
/** The entity was created by a user. */
|
|
228
|
+
KnownCreatedByType["User"] = "User";
|
|
229
|
+
/** The entity was created by an application. */
|
|
230
|
+
KnownCreatedByType["Application"] = "Application";
|
|
231
|
+
/** The entity was created by a managed identity. */
|
|
232
|
+
KnownCreatedByType["ManagedIdentity"] = "ManagedIdentity";
|
|
233
|
+
/** The entity was created by a key. */
|
|
234
|
+
KnownCreatedByType["Key"] = "Key";
|
|
235
|
+
})(KnownCreatedByType || (exports.KnownCreatedByType = KnownCreatedByType = {}));
|
|
236
|
+
function gatewayTagsUpdateSerializer(item) {
|
|
237
|
+
return { tags: item["tags"] };
|
|
238
|
+
}
|
|
239
|
+
function _gatewayListResultDeserializer(item) {
|
|
240
|
+
return {
|
|
241
|
+
value: gatewayArrayDeserializer(item["value"]),
|
|
242
|
+
nextLink: item["nextLink"],
|
|
243
|
+
};
|
|
244
|
+
}
|
|
245
|
+
function gatewayArraySerializer(result) {
|
|
246
|
+
return result.map((item) => {
|
|
247
|
+
return gatewaySerializer(item);
|
|
248
|
+
});
|
|
249
|
+
}
|
|
250
|
+
function gatewayArrayDeserializer(result) {
|
|
251
|
+
return result.map((item) => {
|
|
252
|
+
return gatewayDeserializer(item);
|
|
253
|
+
});
|
|
254
|
+
}
|
|
255
|
+
function operatorApiConnectionSerializer(item) {
|
|
256
|
+
return {
|
|
257
|
+
tags: item["tags"],
|
|
258
|
+
location: item["location"],
|
|
259
|
+
properties: !item["properties"]
|
|
260
|
+
? item["properties"]
|
|
261
|
+
: operatorApiConnectionPropertiesSerializer(item["properties"]),
|
|
262
|
+
};
|
|
263
|
+
}
|
|
264
|
+
function operatorApiConnectionDeserializer(item) {
|
|
265
|
+
return {
|
|
266
|
+
tags: item["tags"],
|
|
267
|
+
location: item["location"],
|
|
268
|
+
id: item["id"],
|
|
269
|
+
name: item["name"],
|
|
270
|
+
type: item["type"],
|
|
271
|
+
systemData: !item["systemData"]
|
|
272
|
+
? item["systemData"]
|
|
273
|
+
: systemDataDeserializer(item["systemData"]),
|
|
274
|
+
properties: !item["properties"]
|
|
275
|
+
? item["properties"]
|
|
276
|
+
: operatorApiConnectionPropertiesDeserializer(item["properties"]),
|
|
277
|
+
};
|
|
278
|
+
}
|
|
279
|
+
function operatorApiConnectionPropertiesSerializer(item) {
|
|
280
|
+
return {
|
|
281
|
+
operatorApiPlanId: item["operatorApiPlanId"],
|
|
282
|
+
saasProperties: !item["saasProperties"]
|
|
283
|
+
? item["saasProperties"]
|
|
284
|
+
: saasPropertiesSerializer(item["saasProperties"]),
|
|
285
|
+
configuredApplication: !item["configuredApplication"]
|
|
286
|
+
? item["configuredApplication"]
|
|
287
|
+
: applicationPropertiesSerializer(item["configuredApplication"]),
|
|
288
|
+
appId: item["appId"],
|
|
289
|
+
gatewayId: item["gatewayId"],
|
|
290
|
+
accountType: item["accountType"],
|
|
291
|
+
appSecret: item["appSecret"],
|
|
292
|
+
};
|
|
293
|
+
}
|
|
294
|
+
function operatorApiConnectionPropertiesDeserializer(item) {
|
|
295
|
+
return {
|
|
296
|
+
operatorApiPlanId: item["operatorApiPlanId"],
|
|
297
|
+
saasProperties: !item["saasProperties"]
|
|
298
|
+
? item["saasProperties"]
|
|
299
|
+
: saasPropertiesDeserializer(item["saasProperties"]),
|
|
300
|
+
configuredApplication: !item["configuredApplication"]
|
|
301
|
+
? item["configuredApplication"]
|
|
302
|
+
: applicationPropertiesDeserializer(item["configuredApplication"]),
|
|
303
|
+
appId: item["appId"],
|
|
304
|
+
gatewayId: item["gatewayId"],
|
|
305
|
+
accountType: item["accountType"],
|
|
306
|
+
appSecret: item["appSecret"],
|
|
307
|
+
operatorName: item["operatorName"],
|
|
308
|
+
camaraApiName: item["camaraApiName"],
|
|
309
|
+
provisioningState: item["provisioningState"],
|
|
310
|
+
status: !item["status"] ? item["status"] : statusDeserializer(item["status"]),
|
|
311
|
+
};
|
|
312
|
+
}
|
|
313
|
+
function saasPropertiesSerializer(item) {
|
|
314
|
+
return {
|
|
315
|
+
saasSubscriptionId: item["saasSubscriptionId"],
|
|
316
|
+
saasResourceId: item["saasResourceId"],
|
|
317
|
+
};
|
|
318
|
+
}
|
|
319
|
+
function saasPropertiesDeserializer(item) {
|
|
320
|
+
return {
|
|
321
|
+
saasSubscriptionId: item["saasSubscriptionId"],
|
|
322
|
+
saasResourceId: item["saasResourceId"],
|
|
323
|
+
};
|
|
324
|
+
}
|
|
325
|
+
function applicationPropertiesSerializer(item) {
|
|
326
|
+
return {
|
|
327
|
+
name: item["name"],
|
|
328
|
+
applicationDescription: item["applicationDescription"],
|
|
329
|
+
applicationType: item["applicationType"],
|
|
330
|
+
legalName: item["legalName"],
|
|
331
|
+
organizationDescription: item["organizationDescription"],
|
|
332
|
+
taxNumber: item["taxNumber"],
|
|
333
|
+
privacyContactEmailAddress: item["privacyContactEmailAddress"],
|
|
334
|
+
};
|
|
335
|
+
}
|
|
336
|
+
function applicationPropertiesDeserializer(item) {
|
|
337
|
+
return {
|
|
338
|
+
name: item["name"],
|
|
339
|
+
applicationDescription: item["applicationDescription"],
|
|
340
|
+
applicationType: item["applicationType"],
|
|
341
|
+
legalName: item["legalName"],
|
|
342
|
+
organizationDescription: item["organizationDescription"],
|
|
343
|
+
taxNumber: item["taxNumber"],
|
|
344
|
+
privacyContactEmailAddress: item["privacyContactEmailAddress"],
|
|
345
|
+
};
|
|
346
|
+
}
|
|
347
|
+
/** The Account Type of the Operator API Connections. */
|
|
348
|
+
var KnownAccountType;
|
|
349
|
+
(function (KnownAccountType) {
|
|
350
|
+
/** Managed by Azure on-behalf-of the user. */
|
|
351
|
+
KnownAccountType["AzureManaged"] = "AzureManaged";
|
|
352
|
+
/** Managed by the User themselves on the Operator end. */
|
|
353
|
+
KnownAccountType["UserManaged"] = "UserManaged";
|
|
354
|
+
})(KnownAccountType || (exports.KnownAccountType = KnownAccountType = {}));
|
|
355
|
+
function statusDeserializer(item) {
|
|
356
|
+
return {
|
|
357
|
+
state: item["state"],
|
|
358
|
+
reason: item["reason"],
|
|
359
|
+
};
|
|
360
|
+
}
|
|
361
|
+
function operatorApiConnectionUpdateSerializer(item) {
|
|
362
|
+
return {
|
|
363
|
+
tags: item["tags"],
|
|
364
|
+
properties: !item["properties"]
|
|
365
|
+
? item["properties"]
|
|
366
|
+
: operatorApiConnectionUpdatePropertiesSerializer(item["properties"]),
|
|
367
|
+
};
|
|
368
|
+
}
|
|
369
|
+
function operatorApiConnectionUpdatePropertiesSerializer(item) {
|
|
370
|
+
return {
|
|
371
|
+
operatorApiPlanId: item["operatorApiPlanId"],
|
|
372
|
+
saasProperties: !item["saasProperties"]
|
|
373
|
+
? item["saasProperties"]
|
|
374
|
+
: saasPropertiesSerializer(item["saasProperties"]),
|
|
375
|
+
configuredApplication: !item["configuredApplication"]
|
|
376
|
+
? item["configuredApplication"]
|
|
377
|
+
: applicationPropertiesSerializer(item["configuredApplication"]),
|
|
378
|
+
appId: item["appId"],
|
|
379
|
+
appSecret: item["appSecret"],
|
|
380
|
+
};
|
|
381
|
+
}
|
|
382
|
+
function _operatorApiConnectionListResultDeserializer(item) {
|
|
383
|
+
return {
|
|
384
|
+
value: operatorApiConnectionArrayDeserializer(item["value"]),
|
|
385
|
+
nextLink: item["nextLink"],
|
|
386
|
+
};
|
|
387
|
+
}
|
|
388
|
+
function operatorApiConnectionArraySerializer(result) {
|
|
389
|
+
return result.map((item) => {
|
|
390
|
+
return operatorApiConnectionSerializer(item);
|
|
391
|
+
});
|
|
392
|
+
}
|
|
393
|
+
function operatorApiConnectionArrayDeserializer(result) {
|
|
394
|
+
return result.map((item) => {
|
|
395
|
+
return operatorApiConnectionDeserializer(item);
|
|
396
|
+
});
|
|
397
|
+
}
|
|
398
|
+
function operatorApiPlanDeserializer(item) {
|
|
399
|
+
return {
|
|
400
|
+
id: item["id"],
|
|
401
|
+
name: item["name"],
|
|
402
|
+
type: item["type"],
|
|
403
|
+
systemData: !item["systemData"]
|
|
404
|
+
? item["systemData"]
|
|
405
|
+
: systemDataDeserializer(item["systemData"]),
|
|
406
|
+
properties: !item["properties"]
|
|
407
|
+
? item["properties"]
|
|
408
|
+
: operatorApiPlanPropertiesDeserializer(item["properties"]),
|
|
409
|
+
};
|
|
410
|
+
}
|
|
411
|
+
function operatorApiPlanPropertiesDeserializer(item) {
|
|
412
|
+
return {
|
|
413
|
+
operatorName: item["operatorName"],
|
|
414
|
+
camaraApiName: item["camaraApiName"],
|
|
415
|
+
supportedLocations: !item["supportedLocations"]
|
|
416
|
+
? item["supportedLocations"]
|
|
417
|
+
: item["supportedLocations"].map((p) => {
|
|
418
|
+
return p;
|
|
419
|
+
}),
|
|
420
|
+
operatorRegions: !item["operatorRegions"]
|
|
421
|
+
? item["operatorRegions"]
|
|
422
|
+
: item["operatorRegions"].map((p) => {
|
|
423
|
+
return p;
|
|
424
|
+
}),
|
|
425
|
+
markets: !item["markets"]
|
|
426
|
+
? item["markets"]
|
|
427
|
+
: item["markets"].map((p) => {
|
|
428
|
+
return p;
|
|
429
|
+
}),
|
|
430
|
+
limits: item["limits"],
|
|
431
|
+
marketplaceProperties: !item["marketplaceProperties"]
|
|
432
|
+
? item["marketplaceProperties"]
|
|
433
|
+
: marketplacePropertiesDeserializer(item["marketplaceProperties"]),
|
|
434
|
+
provisioningState: item["provisioningState"],
|
|
435
|
+
};
|
|
436
|
+
}
|
|
437
|
+
function marketplacePropertiesDeserializer(item) {
|
|
438
|
+
return {
|
|
439
|
+
offerId: item["offerId"],
|
|
440
|
+
legacyOfferId: item["legacyOfferId"],
|
|
441
|
+
publisherId: item["publisherId"],
|
|
442
|
+
planId: item["planId"],
|
|
443
|
+
termId: item["termId"],
|
|
444
|
+
};
|
|
445
|
+
}
|
|
446
|
+
function proxyResourceDeserializer(item) {
|
|
447
|
+
return {
|
|
448
|
+
id: item["id"],
|
|
449
|
+
name: item["name"],
|
|
450
|
+
type: item["type"],
|
|
451
|
+
systemData: !item["systemData"]
|
|
452
|
+
? item["systemData"]
|
|
453
|
+
: systemDataDeserializer(item["systemData"]),
|
|
454
|
+
};
|
|
455
|
+
}
|
|
456
|
+
function _operatorApiPlanListResultDeserializer(item) {
|
|
457
|
+
return {
|
|
458
|
+
value: operatorApiPlanArrayDeserializer(item["value"]),
|
|
459
|
+
nextLink: item["nextLink"],
|
|
460
|
+
};
|
|
461
|
+
}
|
|
462
|
+
function operatorApiPlanArrayDeserializer(result) {
|
|
463
|
+
return result.map((item) => {
|
|
464
|
+
return operatorApiPlanDeserializer(item);
|
|
465
|
+
});
|
|
466
|
+
}
|
|
467
|
+
/** The available API versions. */
|
|
468
|
+
var KnownVersions;
|
|
469
|
+
(function (KnownVersions) {
|
|
470
|
+
/** The 2024-01-15-preview API version. */
|
|
471
|
+
KnownVersions["V20240115Preview"] = "2024-01-15-preview";
|
|
472
|
+
})(KnownVersions || (exports.KnownVersions = KnownVersions = {}));
|
|
473
|
+
//# sourceMappingURL=models.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"models.js","sourceRoot":"","sources":["../../../src/models/models.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAUlC,4EAKC;AAED,gEAIC;AAgBD,sDAQC;AAcD,oEAOC;AA4CD,8DAIC;AAgBD,0DAUC;AAED,oEAIC;AAED,oFAIC;AAUD,0EAKC;AAKD,oFAEC;AAQD,8CAQC;AAED,kDAcC;AAYD,kEAEC;AAED,sEAUC;AA2CD,8DAEC;AAED,kEAWC;AAcD,gDAEC;AAED,oDASC;AAkBD,wDAWC;AAgCD,kEAEC;AAUD,wEAKC;AAED,wDAIC;AAED,4DAIC;AAQD,0EAQC;AAED,8EAcC;AA4BD,8FAgBC;AAED,kGAoBC;AAUD,4DAKC;AAED,gEAKC;AAoBD,0EAUC;AAED,8EAUC;AA4BD,gDAKC;AAUD,sFAOC;AAgBD,0GAcC;AAUD,oGAOC;AAED,oFAIC;AAED,wFAMC;AAQD,kEAYC;AAsBD,sFAyBC;AAgBD,8EAQC;AAKD,8DASC;AAUD,wFAKC;AAED,4EAIC;AA5xBD,SAAgB,gCAAgC,CA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n/** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */\nexport interface _OperationListResult {\n /** The Operation items on this page */\n value: Operation[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _operationListResultDeserializer(item: any): _OperationListResult {\n return {\n value: operationArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function operationArrayDeserializer(result: Array<Operation>): any[] {\n return result.map((item) => {\n return operationDeserializer(item);\n });\n}\n\n/** Details of a REST API operation, returned from the Resource Provider Operations API */\nexport interface Operation {\n /** The name of the operation, as per Resource-Based Access Control (RBAC). Examples: \"Microsoft.Compute/virtualMachines/write\", \"Microsoft.Compute/virtualMachines/capture/action\" */\n readonly name?: string;\n /** Whether the operation applies to data-plane. This is \"true\" for data-plane operations and \"false\" for Azure Resource Manager/control-plane operations. */\n readonly isDataAction?: boolean;\n /** Localized display information for this particular operation. */\n display?: OperationDisplay;\n /** The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\" */\n readonly origin?: Origin;\n /** Extensible enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs. */\n readonly actionType?: ActionType;\n}\n\nexport function operationDeserializer(item: any): Operation {\n return {\n name: item[\"name\"],\n isDataAction: item[\"isDataAction\"],\n display: !item[\"display\"] ? item[\"display\"] : operationDisplayDeserializer(item[\"display\"]),\n origin: item[\"origin\"],\n actionType: item[\"actionType\"],\n };\n}\n\n/** Localized display information for and operation. */\nexport interface OperationDisplay {\n /** The localized friendly form of the resource provider name, e.g. \"Microsoft Monitoring Insights\" or \"Microsoft Compute\". */\n readonly provider?: string;\n /** The localized friendly name of the resource type related to this operation. E.g. \"Virtual Machines\" or \"Job Schedule Collections\". */\n readonly resource?: string;\n /** The concise, localized friendly name for the operation; suitable for dropdowns. E.g. \"Create or Update Virtual Machine\", \"Restart Virtual Machine\". */\n readonly operation?: string;\n /** The short, localized friendly description of the operation; suitable for tool tips and detailed views. */\n readonly description?: string;\n}\n\nexport function operationDisplayDeserializer(item: any): OperationDisplay {\n return {\n provider: item[\"provider\"],\n resource: item[\"resource\"],\n operation: item[\"operation\"],\n description: item[\"description\"],\n };\n}\n\n/** The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\" */\nexport enum KnownOrigin {\n /** Indicates the operation is initiated by a user. */\n User = \"user\",\n /** Indicates the operation is initiated by a system. */\n System = \"system\",\n /** Indicates the operation is initiated by a user or system. */\n UserSystem = \"user,system\",\n}\n\n/**\n * The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\" \\\n * {@link KnownOrigin} can be used interchangeably with Origin,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **user**: Indicates the operation is initiated by a user. \\\n * **system**: Indicates the operation is initiated by a system. \\\n * **user,system**: Indicates the operation is initiated by a user or system.\n */\nexport type Origin = string;\n\n/** Extensible enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs. */\nexport enum KnownActionType {\n /** Actions are for internal-only APIs. */\n Internal = \"Internal\",\n}\n\n/**\n * Extensible enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs. \\\n * {@link KnownActionType} can be used interchangeably with ActionType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Internal**: Actions are for internal-only APIs.\n */\nexport type ActionType = string;\n\n/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. */\nexport interface ErrorResponse {\n /** The error object. */\n error?: ErrorDetail;\n}\n\nexport function errorResponseDeserializer(item: any): ErrorResponse {\n return {\n error: !item[\"error\"] ? item[\"error\"] : errorDetailDeserializer(item[\"error\"]),\n };\n}\n\n/** The error detail. */\nexport interface ErrorDetail {\n /** The error code. */\n readonly code?: string;\n /** The error message. */\n readonly message?: string;\n /** The error target. */\n readonly target?: string;\n /** The error details. */\n readonly details?: ErrorDetail[];\n /** The error additional info. */\n readonly additionalInfo?: ErrorAdditionalInfo[];\n}\n\nexport function errorDetailDeserializer(item: any): ErrorDetail {\n return {\n code: item[\"code\"],\n message: item[\"message\"],\n target: item[\"target\"],\n details: !item[\"details\"] ? item[\"details\"] : errorDetailArrayDeserializer(item[\"details\"]),\n additionalInfo: !item[\"additionalInfo\"]\n ? item[\"additionalInfo\"]\n : errorAdditionalInfoArrayDeserializer(item[\"additionalInfo\"]),\n };\n}\n\nexport function errorDetailArrayDeserializer(result: Array<ErrorDetail>): any[] {\n return result.map((item) => {\n return errorDetailDeserializer(item);\n });\n}\n\nexport function errorAdditionalInfoArrayDeserializer(result: Array<ErrorAdditionalInfo>): any[] {\n return result.map((item) => {\n return errorAdditionalInfoDeserializer(item);\n });\n}\n\n/** The resource management error additional info. */\nexport interface ErrorAdditionalInfo {\n /** The additional info type. */\n readonly type?: string;\n /** The additional info. */\n readonly info?: Record<string, any>;\n}\n\nexport function errorAdditionalInfoDeserializer(item: any): ErrorAdditionalInfo {\n return {\n type: item[\"type\"],\n info: !item[\"info\"] ? item[\"info\"] : _errorAdditionalInfoInfoDeserializer(item[\"info\"]),\n };\n}\n\n/** model interface _ErrorAdditionalInfoInfo */\nexport interface _ErrorAdditionalInfoInfo {}\n\nexport function _errorAdditionalInfoInfoDeserializer(item: any): _ErrorAdditionalInfoInfo {\n return item;\n}\n\n/** A Programmable Connectivity Gateway resource */\nexport interface Gateway extends TrackedResource {\n /** The resource-specific properties for this resource. */\n properties?: GatewayProperties;\n}\n\nexport function gatewaySerializer(item: Gateway): any {\n return {\n tags: item[\"tags\"],\n location: item[\"location\"],\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : gatewayPropertiesSerializer(item[\"properties\"]),\n };\n}\n\nexport function gatewayDeserializer(item: any): Gateway {\n return {\n tags: item[\"tags\"],\n location: item[\"location\"],\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : gatewayPropertiesDeserializer(item[\"properties\"]),\n };\n}\n\n/** Gateway resource properties */\nexport interface GatewayProperties {\n /** List of Operator API Connections selected by the user */\n readonly operatorApiConnections?: string[];\n /** Base URL of the Gateway resource. This is the URL that the users would use to make Open API Gateway requests to the Operators via Azure. */\n readonly gatewayBaseUrl?: string;\n /** The status of the last operation on the Gateway resource. */\n readonly provisioningState?: ProvisioningState;\n}\n\nexport function gatewayPropertiesSerializer(item: GatewayProperties): any {\n return item;\n}\n\nexport function gatewayPropertiesDeserializer(item: any): GatewayProperties {\n return {\n operatorApiConnections: !item[\"operatorApiConnections\"]\n ? item[\"operatorApiConnections\"]\n : item[\"operatorApiConnections\"].map((p: any) => {\n return p;\n }),\n gatewayBaseUrl: item[\"gatewayBaseUrl\"],\n provisioningState: item[\"provisioningState\"],\n };\n}\n\n/** The provisioning state of a resource. */\nexport enum KnownProvisioningState {\n /** Resource has been created. */\n Succeeded = \"Succeeded\",\n /** Resource creation failed. */\n Failed = \"Failed\",\n /** Resource creation was canceled. */\n Canceled = \"Canceled\",\n /** The resource is being provisioned */\n Provisioning = \"Provisioning\",\n /** The resource is updating */\n Updating = \"Updating\",\n /** The resource is being deleted */\n Deleting = \"Deleting\",\n /** The resource create or update request has been accepted */\n Accepted = \"Accepted\",\n}\n\n/**\n * The provisioning state of a resource. \\\n * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Succeeded**: Resource has been created. \\\n * **Failed**: Resource creation failed. \\\n * **Canceled**: Resource creation was canceled. \\\n * **Provisioning**: The resource is being provisioned \\\n * **Updating**: The resource is updating \\\n * **Deleting**: The resource is being deleted \\\n * **Accepted**: The resource create or update request has been accepted\n */\nexport type ProvisioningState = string;\n\n/** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */\nexport interface TrackedResource extends Resource {\n /** Resource tags. */\n tags?: Record<string, string>;\n /** The geo-location where the resource lives */\n location: string;\n}\n\nexport function trackedResourceSerializer(item: TrackedResource): any {\n return { tags: item[\"tags\"], location: item[\"location\"] };\n}\n\nexport function trackedResourceDeserializer(item: any): TrackedResource {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n tags: item[\"tags\"],\n location: item[\"location\"],\n };\n}\n\n/** Common fields that are returned in the response for all Azure Resource Manager resources */\nexport interface Resource {\n /** Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} */\n readonly id?: string;\n /** The name of the resource */\n readonly name?: string;\n /** The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\" */\n readonly type?: string;\n /** Azure Resource Manager metadata containing createdBy and modifiedBy information. */\n readonly systemData?: SystemData;\n}\n\nexport function resourceSerializer(item: Resource): any {\n return item;\n}\n\nexport function resourceDeserializer(item: any): Resource {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n };\n}\n\n/** Metadata pertaining to creation and last modification of the resource. */\nexport interface SystemData {\n /** The identity that created the resource. */\n createdBy?: string;\n /** The type of identity that created the resource. */\n createdByType?: CreatedByType;\n /** The timestamp of resource creation (UTC). */\n createdAt?: Date;\n /** The identity that last modified the resource. */\n lastModifiedBy?: string;\n /** The type of identity that last modified the resource. */\n lastModifiedByType?: CreatedByType;\n /** The timestamp of resource last modification (UTC) */\n lastModifiedAt?: Date;\n}\n\nexport function systemDataDeserializer(item: any): SystemData {\n return {\n createdBy: item[\"createdBy\"],\n createdByType: item[\"createdByType\"],\n createdAt: !item[\"createdAt\"] ? item[\"createdAt\"] : new Date(item[\"createdAt\"]),\n lastModifiedBy: item[\"lastModifiedBy\"],\n lastModifiedByType: item[\"lastModifiedByType\"],\n lastModifiedAt: !item[\"lastModifiedAt\"]\n ? item[\"lastModifiedAt\"]\n : new Date(item[\"lastModifiedAt\"]),\n };\n}\n\n/** The kind of entity that created the resource. */\nexport enum KnownCreatedByType {\n /** The entity was created by a user. */\n User = \"User\",\n /** The entity was created by an application. */\n Application = \"Application\",\n /** The entity was created by a managed identity. */\n ManagedIdentity = \"ManagedIdentity\",\n /** The entity was created by a key. */\n Key = \"Key\",\n}\n\n/**\n * The kind of entity that created the resource. \\\n * {@link KnowncreatedByType} can be used interchangeably with createdByType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **User**: The entity was created by a user. \\\n * **Application**: The entity was created by an application. \\\n * **ManagedIdentity**: The entity was created by a managed identity. \\\n * **Key**: The entity was created by a key.\n */\nexport type CreatedByType = string;\n\n/** The type used for updating tags in Gateway resources. */\nexport interface GatewayTagsUpdate {\n /** Resource tags. */\n tags?: Record<string, string>;\n}\n\nexport function gatewayTagsUpdateSerializer(item: GatewayTagsUpdate): any {\n return { tags: item[\"tags\"] };\n}\n\n/** The response of a Gateway list operation. */\nexport interface _GatewayListResult {\n /** The Gateway items on this page */\n value: Gateway[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _gatewayListResultDeserializer(item: any): _GatewayListResult {\n return {\n value: gatewayArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function gatewayArraySerializer(result: Array<Gateway>): any[] {\n return result.map((item) => {\n return gatewaySerializer(item);\n });\n}\n\nexport function gatewayArrayDeserializer(result: Array<Gateway>): any[] {\n return result.map((item) => {\n return gatewayDeserializer(item);\n });\n}\n\n/** A Programmable Connectivity Operator API Connection resource */\nexport interface OperatorApiConnection extends TrackedResource {\n /** The resource-specific properties for this resource. */\n properties?: OperatorApiConnectionProperties;\n}\n\nexport function operatorApiConnectionSerializer(item: OperatorApiConnection): any {\n return {\n tags: item[\"tags\"],\n location: item[\"location\"],\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : operatorApiConnectionPropertiesSerializer(item[\"properties\"]),\n };\n}\n\nexport function operatorApiConnectionDeserializer(item: any): OperatorApiConnection {\n return {\n tags: item[\"tags\"],\n location: item[\"location\"],\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : operatorApiConnectionPropertiesDeserializer(item[\"properties\"]),\n };\n}\n\n/** Operator API Connection resource properties that cannot be updated once a resource has been created. */\nexport interface OperatorApiConnectionProperties {\n /** Reference to the Operator API Plan Resource ID. */\n operatorApiPlanId: string;\n /** Details about the SaaS offer purchased from the marketplace. */\n saasProperties?: SaasProperties;\n /** Details about the Application that would use the Operator's Network APIs. */\n configuredApplication?: ApplicationProperties;\n /** Application ID of the App Developer that is registered with the Operator in a specific country/region. */\n appId?: string;\n /** Reference to the APC Gateway resource ID. */\n gatewayId: string;\n /** Type of the account the user has with the Operator's Network API infrastructure. AzureManaged | UserManaged. */\n accountType: AccountType;\n /** Application secret linked to the 'appId'. This should be stored securely and is not returned back when the resource information is read. */\n appSecret?: string;\n /** Name of the Operator in the linked Operator API Plan belongs to. */\n readonly operatorName?: string;\n /** The Network API for the current operator in the country/region provided in the linked Operator API Plan. */\n readonly camaraApiName?: string;\n /** The status of the last operation. */\n readonly provisioningState?: ProvisioningState;\n /** The status of the OperatorApiConnection resource. */\n readonly status?: Status;\n}\n\nexport function operatorApiConnectionPropertiesSerializer(\n item: OperatorApiConnectionProperties,\n): any {\n return {\n operatorApiPlanId: item[\"operatorApiPlanId\"],\n saasProperties: !item[\"saasProperties\"]\n ? item[\"saasProperties\"]\n : saasPropertiesSerializer(item[\"saasProperties\"]),\n configuredApplication: !item[\"configuredApplication\"]\n ? item[\"configuredApplication\"]\n : applicationPropertiesSerializer(item[\"configuredApplication\"]),\n appId: item[\"appId\"],\n gatewayId: item[\"gatewayId\"],\n accountType: item[\"accountType\"],\n appSecret: item[\"appSecret\"],\n };\n}\n\nexport function operatorApiConnectionPropertiesDeserializer(\n item: any,\n): OperatorApiConnectionProperties {\n return {\n operatorApiPlanId: item[\"operatorApiPlanId\"],\n saasProperties: !item[\"saasProperties\"]\n ? item[\"saasProperties\"]\n : saasPropertiesDeserializer(item[\"saasProperties\"]),\n configuredApplication: !item[\"configuredApplication\"]\n ? item[\"configuredApplication\"]\n : applicationPropertiesDeserializer(item[\"configuredApplication\"]),\n appId: item[\"appId\"],\n gatewayId: item[\"gatewayId\"],\n accountType: item[\"accountType\"],\n appSecret: item[\"appSecret\"],\n operatorName: item[\"operatorName\"],\n camaraApiName: item[\"camaraApiName\"],\n provisioningState: item[\"provisioningState\"],\n status: !item[\"status\"] ? item[\"status\"] : statusDeserializer(item[\"status\"]),\n };\n}\n\n/** Details about the SaaS offer purchased from the marketplace. */\nexport interface SaasProperties {\n /** Subscription ID of the SaaS offer purchased from the marketplace. */\n saasSubscriptionId?: string;\n /** Resource ID of the SaaS offer purchased from the marketplace. */\n saasResourceId?: string;\n}\n\nexport function saasPropertiesSerializer(item: SaasProperties): any {\n return {\n saasSubscriptionId: item[\"saasSubscriptionId\"],\n saasResourceId: item[\"saasResourceId\"],\n };\n}\n\nexport function saasPropertiesDeserializer(item: any): SaasProperties {\n return {\n saasSubscriptionId: item[\"saasSubscriptionId\"],\n saasResourceId: item[\"saasResourceId\"],\n };\n}\n\n/** Details about the Application that would use the Operator's Network APIs. */\nexport interface ApplicationProperties {\n /** Name of the application. Example: Contoso App. */\n name?: string;\n /** Description of the application. */\n applicationDescription?: string;\n /** The category that describes the application. */\n applicationType?: string;\n /** Legal name of the organization owning the application. */\n legalName?: string;\n /** A description of the organization owning the application. */\n organizationDescription?: string;\n /** Unique Tax Number for the user's organization in the country/region the APC Gateway is being purchased. */\n taxNumber?: string;\n /** Email address of the Privacy contact or Data Protection officer of the organization. */\n privacyContactEmailAddress?: string;\n}\n\nexport function applicationPropertiesSerializer(item: ApplicationProperties): any {\n return {\n name: item[\"name\"],\n applicationDescription: item[\"applicationDescription\"],\n applicationType: item[\"applicationType\"],\n legalName: item[\"legalName\"],\n organizationDescription: item[\"organizationDescription\"],\n taxNumber: item[\"taxNumber\"],\n privacyContactEmailAddress: item[\"privacyContactEmailAddress\"],\n };\n}\n\nexport function applicationPropertiesDeserializer(item: any): ApplicationProperties {\n return {\n name: item[\"name\"],\n applicationDescription: item[\"applicationDescription\"],\n applicationType: item[\"applicationType\"],\n legalName: item[\"legalName\"],\n organizationDescription: item[\"organizationDescription\"],\n taxNumber: item[\"taxNumber\"],\n privacyContactEmailAddress: item[\"privacyContactEmailAddress\"],\n };\n}\n\n/** The Account Type of the Operator API Connections. */\nexport enum KnownAccountType {\n /** Managed by Azure on-behalf-of the user. */\n AzureManaged = \"AzureManaged\",\n /** Managed by the User themselves on the Operator end. */\n UserManaged = \"UserManaged\",\n}\n\n/**\n * The Account Type of the Operator API Connections. \\\n * {@link KnownAccountType} can be used interchangeably with AccountType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **AzureManaged**: Managed by Azure on-behalf-of the user. \\\n * **UserManaged**: Managed by the User themselves on the Operator end.\n */\nexport type AccountType = string;\n\n/** Description of the current status of the OperatorApiConnection resource. */\nexport interface Status {\n /** Current state of the OperatorApiConnection resource. */\n state?: string;\n /** Explanation of the current state of the OperatorApiConnection resource. */\n reason?: string;\n}\n\nexport function statusDeserializer(item: any): Status {\n return {\n state: item[\"state\"],\n reason: item[\"reason\"],\n };\n}\n\n/** The type used for update operations of the OperatorApiConnection. */\nexport interface OperatorApiConnectionUpdate {\n /** Resource tags. */\n tags?: Record<string, string>;\n /** The resource-specific properties for this resource. */\n properties?: OperatorApiConnectionUpdateProperties;\n}\n\nexport function operatorApiConnectionUpdateSerializer(item: OperatorApiConnectionUpdate): any {\n return {\n tags: item[\"tags\"],\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : operatorApiConnectionUpdatePropertiesSerializer(item[\"properties\"]),\n };\n}\n\n/** The updatable properties of the OperatorApiConnection. */\nexport interface OperatorApiConnectionUpdateProperties {\n /** Reference to the Operator API Plan Resource ID. */\n operatorApiPlanId?: string;\n /** Details about the SaaS offer purchased from the marketplace. */\n saasProperties?: SaasProperties;\n /** Details about the Application that would use the Operator's Network APIs. */\n configuredApplication?: ApplicationProperties;\n /** Application ID of the App Developer that is registered with the Operator in a specific country/region. */\n appId?: string;\n /** Application secret linked to the 'appId'. This should be stored securely and is not returned back when the resource information is read. */\n appSecret?: string;\n}\n\nexport function operatorApiConnectionUpdatePropertiesSerializer(\n item: OperatorApiConnectionUpdateProperties,\n): any {\n return {\n operatorApiPlanId: item[\"operatorApiPlanId\"],\n saasProperties: !item[\"saasProperties\"]\n ? item[\"saasProperties\"]\n : saasPropertiesSerializer(item[\"saasProperties\"]),\n configuredApplication: !item[\"configuredApplication\"]\n ? item[\"configuredApplication\"]\n : applicationPropertiesSerializer(item[\"configuredApplication\"]),\n appId: item[\"appId\"],\n appSecret: item[\"appSecret\"],\n };\n}\n\n/** The response of a OperatorApiConnection list operation. */\nexport interface _OperatorApiConnectionListResult {\n /** The OperatorApiConnection items on this page */\n value: OperatorApiConnection[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _operatorApiConnectionListResultDeserializer(\n item: any,\n): _OperatorApiConnectionListResult {\n return {\n value: operatorApiConnectionArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function operatorApiConnectionArraySerializer(result: Array<OperatorApiConnection>): any[] {\n return result.map((item) => {\n return operatorApiConnectionSerializer(item);\n });\n}\n\nexport function operatorApiConnectionArrayDeserializer(\n result: Array<OperatorApiConnection>,\n): any[] {\n return result.map((item) => {\n return operatorApiConnectionDeserializer(item);\n });\n}\n\n/** A Programmable Connectivity Operator API Plans resource. This is a readonly resource that indicates which Operator Network APIs are available in the user's subscription. */\nexport interface OperatorApiPlan extends ProxyResource {\n /** The resource-specific properties for this resource. */\n properties?: OperatorApiPlanProperties;\n}\n\nexport function operatorApiPlanDeserializer(item: any): OperatorApiPlan {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : operatorApiPlanPropertiesDeserializer(item[\"properties\"]),\n };\n}\n\n/** Operator API Plan properties. */\nexport interface OperatorApiPlanProperties {\n /** Name of the Operator this plan belongs to. */\n operatorName?: string;\n /** Standardized Network API name defined by CAMARA specifications. */\n camaraApiName?: string;\n /** List of Azure regions where this offer is supported. */\n supportedLocations?: string[];\n /** List of country/region names where this plan is being supported by the Operator. */\n operatorRegions?: string[];\n /** List of country/region names where this plan is being supported by Azure Marketplace. */\n markets?: string[];\n /** The limits, if any, will be imposed by the operator. */\n limits?: string;\n /** Azure marketplace properties for this plan. */\n marketplaceProperties?: MarketplaceProperties;\n /** The status of the last operation on the Gateway resource. */\n readonly provisioningState?: ProvisioningState;\n}\n\nexport function operatorApiPlanPropertiesDeserializer(item: any): OperatorApiPlanProperties {\n return {\n operatorName: item[\"operatorName\"],\n camaraApiName: item[\"camaraApiName\"],\n supportedLocations: !item[\"supportedLocations\"]\n ? item[\"supportedLocations\"]\n : item[\"supportedLocations\"].map((p: any) => {\n return p;\n }),\n operatorRegions: !item[\"operatorRegions\"]\n ? item[\"operatorRegions\"]\n : item[\"operatorRegions\"].map((p: any) => {\n return p;\n }),\n markets: !item[\"markets\"]\n ? item[\"markets\"]\n : item[\"markets\"].map((p: any) => {\n return p;\n }),\n limits: item[\"limits\"],\n marketplaceProperties: !item[\"marketplaceProperties\"]\n ? item[\"marketplaceProperties\"]\n : marketplacePropertiesDeserializer(item[\"marketplaceProperties\"]),\n provisioningState: item[\"provisioningState\"],\n };\n}\n\n/** Azure marketplace properties for a plan. */\nexport interface MarketplaceProperties {\n /** Azure marketplace Offer ID for this plan. */\n offerId?: string;\n /** Azure marketplace Legacy Offer ID for this plan. This is used to fetch the details of the plan from the Azure marketplace. */\n legacyOfferId?: string;\n /** Azure marketplace Publisher ID for this plan. */\n publisherId?: string;\n /** Azure marketplace Plan ID for this plan. */\n planId?: string;\n /** Azure marketplace Term ID for this plan. */\n termId?: string;\n}\n\nexport function marketplacePropertiesDeserializer(item: any): MarketplaceProperties {\n return {\n offerId: item[\"offerId\"],\n legacyOfferId: item[\"legacyOfferId\"],\n publisherId: item[\"publisherId\"],\n planId: item[\"planId\"],\n termId: item[\"termId\"],\n };\n}\n\n/** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */\nexport interface ProxyResource extends Resource {}\n\nexport function proxyResourceDeserializer(item: any): ProxyResource {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n };\n}\n\n/** The response of a OperatorApiPlan list operation. */\nexport interface _OperatorApiPlanListResult {\n /** The OperatorApiPlan items on this page */\n value: OperatorApiPlan[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _operatorApiPlanListResultDeserializer(item: any): _OperatorApiPlanListResult {\n return {\n value: operatorApiPlanArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function operatorApiPlanArrayDeserializer(result: Array<OperatorApiPlan>): any[] {\n return result.map((item) => {\n return operatorApiPlanDeserializer(item);\n });\n}\n\n/** The available API versions. */\nexport enum KnownVersions {\n /** The 2024-01-15-preview API version. */\n V20240115Preview = \"2024-01-15-preview\",\n}\n"]}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { ProgrammableConnectivityClientOptionalParams } from "./api/index.js";
|
|
2
|
+
import { OperatorApiPlansOperations } from "./classic/operatorApiPlans/index.js";
|
|
3
|
+
import { OperatorApiConnectionsOperations } from "./classic/operatorApiConnections/index.js";
|
|
4
|
+
import { GatewaysOperations } from "./classic/gateways/index.js";
|
|
5
|
+
import { OperationsOperations } from "./classic/operations/index.js";
|
|
6
|
+
import { Pipeline } from "@azure/core-rest-pipeline";
|
|
7
|
+
import { TokenCredential } from "@azure/core-auth";
|
|
8
|
+
export { ProgrammableConnectivityClientOptionalParams } from "./api/programmableConnectivityContext.js";
|
|
9
|
+
export declare class ProgrammableConnectivityClient {
|
|
10
|
+
private _client;
|
|
11
|
+
/** The pipeline used by this client to make requests */
|
|
12
|
+
readonly pipeline: Pipeline;
|
|
13
|
+
/** Azure Programmable Connectivity Provider management API. */
|
|
14
|
+
constructor(credential: TokenCredential, subscriptionId: string, options?: ProgrammableConnectivityClientOptionalParams);
|
|
15
|
+
/** The operation groups for operatorApiPlans */
|
|
16
|
+
readonly operatorApiPlans: OperatorApiPlansOperations;
|
|
17
|
+
/** The operation groups for operatorApiConnections */
|
|
18
|
+
readonly operatorApiConnections: OperatorApiConnectionsOperations;
|
|
19
|
+
/** The operation groups for gateways */
|
|
20
|
+
readonly gateways: GatewaysOperations;
|
|
21
|
+
/** The operation groups for operations */
|
|
22
|
+
readonly operations: OperationsOperations;
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=programmableConnectivityClient.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"programmableConnectivityClient.d.ts","sourceRoot":"","sources":["../../src/programmableConnectivityClient.ts"],"names":[],"mappings":"AAGA,OAAO,EAGL,4CAA4C,EAC7C,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACL,0BAA0B,EAE3B,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EACL,gCAAgC,EAEjC,MAAM,2CAA2C,CAAC;AACnD,OAAO,EAAE,kBAAkB,EAA0B,MAAM,6BAA6B,CAAC;AACzF,OAAO,EAAE,oBAAoB,EAA4B,MAAM,+BAA+B,CAAC;AAC/F,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AACrD,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAEnD,OAAO,EAAE,4CAA4C,EAAE,MAAM,0CAA0C,CAAC;AAExG,qBAAa,8BAA8B;IACzC,OAAO,CAAC,OAAO,CAAkC;IACjD,wDAAwD;IACxD,SAAgB,QAAQ,EAAE,QAAQ,CAAC;IAEnC,+DAA+D;gBAE7D,UAAU,EAAE,eAAe,EAC3B,cAAc,EAAE,MAAM,EACtB,OAAO,GAAE,4CAAiD;IAiB5D,gDAAgD;IAChD,SAAgB,gBAAgB,EAAE,0BAA0B,CAAC;IAC7D,sDAAsD;IACtD,SAAgB,sBAAsB,EAAE,gCAAgC,CAAC;IACzE,wCAAwC;IACxC,SAAgB,QAAQ,EAAE,kBAAkB,CAAC;IAC7C,0CAA0C;IAC1C,SAAgB,UAAU,EAAE,oBAAoB,CAAC;CAClD"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Copyright (c) Microsoft Corporation.
|
|
3
|
+
// Licensed under the MIT License.
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.ProgrammableConnectivityClient = void 0;
|
|
6
|
+
const index_js_1 = require("./api/index.js");
|
|
7
|
+
const index_js_2 = require("./classic/operatorApiPlans/index.js");
|
|
8
|
+
const index_js_3 = require("./classic/operatorApiConnections/index.js");
|
|
9
|
+
const index_js_4 = require("./classic/gateways/index.js");
|
|
10
|
+
const index_js_5 = require("./classic/operations/index.js");
|
|
11
|
+
class ProgrammableConnectivityClient {
|
|
12
|
+
/** Azure Programmable Connectivity Provider management API. */
|
|
13
|
+
constructor(credential, subscriptionId, options = {}) {
|
|
14
|
+
var _a;
|
|
15
|
+
const prefixFromOptions = (_a = options === null || options === void 0 ? void 0 : options.userAgentOptions) === null || _a === void 0 ? void 0 : _a.userAgentPrefix;
|
|
16
|
+
const userAgentPrefix = prefixFromOptions
|
|
17
|
+
? `${prefixFromOptions} azsdk-js-client`
|
|
18
|
+
: `azsdk-js-client`;
|
|
19
|
+
this._client = (0, index_js_1.createProgrammableConnectivity)(credential, subscriptionId, Object.assign(Object.assign({}, options), { userAgentOptions: { userAgentPrefix } }));
|
|
20
|
+
this.pipeline = this._client.pipeline;
|
|
21
|
+
this.operatorApiPlans = (0, index_js_2._getOperatorApiPlansOperations)(this._client);
|
|
22
|
+
this.operatorApiConnections = (0, index_js_3._getOperatorApiConnectionsOperations)(this._client);
|
|
23
|
+
this.gateways = (0, index_js_4._getGatewaysOperations)(this._client);
|
|
24
|
+
this.operations = (0, index_js_5._getOperationsOperations)(this._client);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
exports.ProgrammableConnectivityClient = ProgrammableConnectivityClient;
|
|
28
|
+
//# sourceMappingURL=programmableConnectivityClient.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"programmableConnectivityClient.js","sourceRoot":"","sources":["../../src/programmableConnectivityClient.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAElC,6CAIwB;AACxB,kEAG6C;AAC7C,wEAGmD;AACnD,0DAAyF;AACzF,4DAA+F;AAM/F,MAAa,8BAA8B;IAKzC,+DAA+D;IAC/D,YACE,UAA2B,EAC3B,cAAsB,EACtB,UAAwD,EAAE;;QAE1D,MAAM,iBAAiB,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,gBAAgB,0CAAE,eAAe,CAAC;QACrE,MAAM,eAAe,GAAG,iBAAiB;YACvC,CAAC,CAAC,GAAG,iBAAiB,kBAAkB;YACxC,CAAC,CAAC,iBAAiB,CAAC;QACtB,IAAI,CAAC,OAAO,GAAG,IAAA,yCAA8B,EAAC,UAAU,EAAE,cAAc,kCACnE,OAAO,KACV,gBAAgB,EAAE,EAAE,eAAe,EAAE,IACrC,CAAC;QACH,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC;QACtC,IAAI,CAAC,gBAAgB,GAAG,IAAA,yCAA8B,EAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACrE,IAAI,CAAC,sBAAsB,GAAG,IAAA,+CAAoC,EAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACjF,IAAI,CAAC,QAAQ,GAAG,IAAA,iCAAsB,EAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACrD,IAAI,CAAC,UAAU,GAAG,IAAA,mCAAwB,EAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAC3D,CAAC;CAUF;AAlCD,wEAkCC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport {\n createProgrammableConnectivity,\n ProgrammableConnectivityContext,\n ProgrammableConnectivityClientOptionalParams,\n} from \"./api/index.js\";\nimport {\n OperatorApiPlansOperations,\n _getOperatorApiPlansOperations,\n} from \"./classic/operatorApiPlans/index.js\";\nimport {\n OperatorApiConnectionsOperations,\n _getOperatorApiConnectionsOperations,\n} from \"./classic/operatorApiConnections/index.js\";\nimport { GatewaysOperations, _getGatewaysOperations } from \"./classic/gateways/index.js\";\nimport { OperationsOperations, _getOperationsOperations } from \"./classic/operations/index.js\";\nimport { Pipeline } from \"@azure/core-rest-pipeline\";\nimport { TokenCredential } from \"@azure/core-auth\";\n\nexport { ProgrammableConnectivityClientOptionalParams } from \"./api/programmableConnectivityContext.js\";\n\nexport class ProgrammableConnectivityClient {\n private _client: ProgrammableConnectivityContext;\n /** The pipeline used by this client to make requests */\n public readonly pipeline: Pipeline;\n\n /** Azure Programmable Connectivity Provider management API. */\n constructor(\n credential: TokenCredential,\n subscriptionId: string,\n options: ProgrammableConnectivityClientOptionalParams = {},\n ) {\n const prefixFromOptions = options?.userAgentOptions?.userAgentPrefix;\n const userAgentPrefix = prefixFromOptions\n ? `${prefixFromOptions} azsdk-js-client`\n : `azsdk-js-client`;\n this._client = createProgrammableConnectivity(credential, subscriptionId, {\n ...options,\n userAgentOptions: { userAgentPrefix },\n });\n this.pipeline = this._client.pipeline;\n this.operatorApiPlans = _getOperatorApiPlansOperations(this._client);\n this.operatorApiConnections = _getOperatorApiConnectionsOperations(this._client);\n this.gateways = _getGatewaysOperations(this._client);\n this.operations = _getOperationsOperations(this._client);\n }\n\n /** The operation groups for operatorApiPlans */\n public readonly operatorApiPlans: OperatorApiPlansOperations;\n /** The operation groups for operatorApiConnections */\n public readonly operatorApiConnections: OperatorApiConnectionsOperations;\n /** The operation groups for gateways */\n public readonly gateways: GatewaysOperations;\n /** The operation groups for operations */\n public readonly operations: OperationsOperations;\n}\n"]}
|