@azure/arm-confidentialledger 1.3.0-beta.2 → 1.3.0-beta.3
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 +73 -4
- package/LICENSE +3 -3
- package/README.md +24 -18
- package/{dist-esm/src → dist/browser}/confidentialLedgerClient.d.ts +2 -2
- package/dist/browser/confidentialLedgerClient.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/confidentialLedgerClient.js +19 -22
- package/dist/browser/confidentialLedgerClient.js.map +1 -0
- package/dist/browser/index.d.ts +5 -0
- package/dist/browser/index.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/index.js +4 -4
- package/dist/browser/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/lroImpl.d.ts.map +1 -1
- package/dist/browser/lroImpl.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/index.d.ts +50 -0
- package/dist/browser/models/index.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/models/index.js +16 -0
- package/dist/browser/models/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +1 -1
- package/{dist-esm/src → dist/browser}/models/mappers.js +54 -0
- package/dist/browser/models/mappers.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/parameters.js +3 -3
- package/dist/browser/models/parameters.js.map +1 -0
- package/dist/browser/operations/index.d.ts +4 -0
- package/{dist-esm/src → dist/browser}/operations/index.d.ts.map +1 -1
- package/{dist-esm/src → dist/browser}/operations/index.js +3 -3
- package/dist/browser/operations/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/ledger.d.ts +3 -3
- package/dist/browser/operations/ledger.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/ledger.js +186 -206
- package/dist/browser/operations/ledger.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/managedCCFOperations.d.ts +3 -3
- package/dist/browser/operations/managedCCFOperations.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/managedCCFOperations.js +186 -206
- package/dist/browser/operations/managedCCFOperations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/operations.d.ts +3 -3
- package/dist/browser/operations/operations.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/operations.js +3 -3
- package/dist/browser/operations/operations.js.map +1 -0
- package/dist/browser/operationsInterfaces/index.d.ts +4 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/index.d.ts.map +1 -1
- package/{dist-esm/src → dist/browser}/operationsInterfaces/index.js +3 -3
- package/dist/browser/operationsInterfaces/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/ledger.d.ts +1 -1
- package/dist/browser/operationsInterfaces/ledger.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/ledger.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/managedCCFOperations.d.ts +1 -1
- package/dist/browser/operationsInterfaces/managedCCFOperations.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/managedCCFOperations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts +1 -1
- package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/operations.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/browser/pagingHelper.js.map +1 -0
- package/dist/commonjs/confidentialLedgerClient.d.ts +28 -0
- package/dist/commonjs/confidentialLedgerClient.d.ts.map +1 -0
- package/dist/commonjs/confidentialLedgerClient.js +134 -0
- package/dist/commonjs/confidentialLedgerClient.js.map +1 -0
- package/dist/commonjs/index.d.ts +5 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +19 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/lroImpl.d.ts +11 -0
- package/dist/commonjs/lroImpl.d.ts.map +1 -0
- package/dist/commonjs/lroImpl.js +24 -0
- package/dist/commonjs/lroImpl.js.map +1 -0
- package/{types/arm-confidentialledger.d.ts → dist/commonjs/models/index.d.ts} +725 -1013
- package/dist/commonjs/models/index.d.ts.map +1 -0
- package/dist/commonjs/models/index.js +117 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/mappers.d.ts +32 -0
- package/dist/commonjs/models/mappers.d.ts.map +1 -0
- package/dist/commonjs/models/mappers.js +888 -0
- package/dist/commonjs/models/mappers.js.map +1 -0
- package/dist/commonjs/models/parameters.d.ts +19 -0
- package/dist/commonjs/models/parameters.d.ts.map +1 -0
- package/dist/commonjs/models/parameters.js +157 -0
- package/dist/commonjs/models/parameters.js.map +1 -0
- package/dist/commonjs/operations/index.d.ts +4 -0
- package/dist/commonjs/operations/index.d.ts.map +1 -0
- package/dist/commonjs/operations/index.js +14 -0
- package/dist/commonjs/operations/index.js.map +1 -0
- package/dist/commonjs/operations/ledger.d.ts +139 -0
- package/dist/commonjs/operations/ledger.d.ts.map +1 -0
- package/dist/commonjs/operations/ledger.js +706 -0
- package/dist/commonjs/operations/ledger.js.map +1 -0
- package/dist/commonjs/operations/managedCCFOperations.d.ts +139 -0
- package/dist/commonjs/operations/managedCCFOperations.d.ts.map +1 -0
- package/dist/commonjs/operations/managedCCFOperations.js +706 -0
- package/dist/commonjs/operations/managedCCFOperations.js.map +1 -0
- package/dist/commonjs/operations/operations.d.ts +32 -0
- package/dist/commonjs/operations/operations.d.ts.map +1 -0
- package/dist/commonjs/operations/operations.js +137 -0
- package/dist/commonjs/operations/operations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts +4 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.js +14 -0
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/ledger.d.ts +103 -0
- package/dist/commonjs/operationsInterfaces/ledger.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/ledger.js +10 -0
- package/dist/commonjs/operationsInterfaces/ledger.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/managedCCFOperations.d.ts +103 -0
- package/dist/commonjs/operationsInterfaces/managedCCFOperations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/managedCCFOperations.js +10 -0
- package/dist/commonjs/operationsInterfaces/managedCCFOperations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/operations.d.ts +11 -0
- package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/operations.js +10 -0
- package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/pagingHelper.d.ts +13 -0
- package/dist/commonjs/pagingHelper.d.ts.map +1 -0
- package/dist/commonjs/pagingHelper.js +36 -0
- package/dist/commonjs/pagingHelper.js.map +1 -0
- package/{types → dist/commonjs}/tsdoc-metadata.json +1 -1
- package/dist/esm/confidentialLedgerClient.d.ts +28 -0
- package/dist/esm/confidentialLedgerClient.d.ts.map +1 -0
- package/dist/esm/confidentialLedgerClient.js +129 -0
- package/dist/esm/confidentialLedgerClient.js.map +1 -0
- package/dist/esm/index.d.ts +5 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/{src/index.ts → dist/esm/index.js} +5 -5
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/lroImpl.d.ts +11 -0
- package/dist/esm/lroImpl.d.ts.map +1 -0
- package/dist/esm/lroImpl.js +21 -0
- package/dist/esm/lroImpl.js.map +1 -0
- package/dist/esm/models/index.d.ts +725 -0
- package/dist/esm/models/index.d.ts.map +1 -0
- package/dist/esm/models/index.js +114 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/mappers.d.ts +32 -0
- package/dist/esm/models/mappers.d.ts.map +1 -0
- package/dist/esm/models/mappers.js +885 -0
- package/dist/esm/models/mappers.js.map +1 -0
- package/dist/esm/models/parameters.d.ts +19 -0
- package/dist/esm/models/parameters.d.ts.map +1 -0
- package/dist/esm/models/parameters.js +154 -0
- package/dist/esm/models/parameters.js.map +1 -0
- package/dist/esm/operations/index.d.ts +4 -0
- package/dist/esm/operations/index.d.ts.map +1 -0
- package/dist/esm/operations/index.js +11 -0
- package/dist/esm/operations/index.js.map +1 -0
- package/dist/esm/operations/ledger.d.ts +139 -0
- package/dist/esm/operations/ledger.d.ts.map +1 -0
- package/dist/esm/operations/ledger.js +702 -0
- package/dist/esm/operations/ledger.js.map +1 -0
- package/dist/esm/operations/managedCCFOperations.d.ts +139 -0
- package/dist/esm/operations/managedCCFOperations.d.ts.map +1 -0
- package/dist/esm/operations/managedCCFOperations.js +702 -0
- package/dist/esm/operations/managedCCFOperations.js.map +1 -0
- package/dist/esm/operations/operations.d.ts +32 -0
- package/dist/esm/operations/operations.d.ts.map +1 -0
- package/dist/esm/operations/operations.js +133 -0
- package/dist/esm/operations/operations.js.map +1 -0
- package/dist/esm/operationsInterfaces/index.d.ts +4 -0
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/index.js +11 -0
- package/dist/esm/operationsInterfaces/index.js.map +1 -0
- package/dist/esm/operationsInterfaces/ledger.d.ts +103 -0
- package/dist/esm/operationsInterfaces/ledger.d.ts.map +1 -0
- package/{src/operations/index.ts → dist/esm/operationsInterfaces/ledger.js} +2 -4
- package/dist/esm/operationsInterfaces/ledger.js.map +1 -0
- package/dist/esm/operationsInterfaces/managedCCFOperations.d.ts +103 -0
- package/dist/esm/operationsInterfaces/managedCCFOperations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/managedCCFOperations.js +9 -0
- package/dist/esm/operationsInterfaces/managedCCFOperations.js.map +1 -0
- package/dist/esm/operationsInterfaces/operations.d.ts +11 -0
- package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/operations.js +9 -0
- package/dist/esm/operationsInterfaces/operations.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/pagingHelper.d.ts +13 -0
- package/dist/esm/pagingHelper.d.ts.map +1 -0
- package/dist/esm/pagingHelper.js +32 -0
- package/dist/esm/pagingHelper.js.map +1 -0
- package/dist/react-native/confidentialLedgerClient.d.ts +28 -0
- package/dist/react-native/confidentialLedgerClient.d.ts.map +1 -0
- package/dist/react-native/confidentialLedgerClient.js +129 -0
- package/dist/react-native/confidentialLedgerClient.js.map +1 -0
- package/dist/react-native/index.d.ts +5 -0
- package/dist/react-native/index.d.ts.map +1 -0
- package/dist/react-native/index.js +13 -0
- package/dist/react-native/index.js.map +1 -0
- package/dist/react-native/lroImpl.d.ts +11 -0
- package/dist/react-native/lroImpl.d.ts.map +1 -0
- package/dist/react-native/lroImpl.js +21 -0
- package/dist/react-native/lroImpl.js.map +1 -0
- package/dist/react-native/models/index.d.ts +725 -0
- package/dist/react-native/models/index.d.ts.map +1 -0
- package/dist/react-native/models/index.js +114 -0
- package/dist/react-native/models/index.js.map +1 -0
- package/dist/react-native/models/mappers.d.ts +32 -0
- package/dist/react-native/models/mappers.d.ts.map +1 -0
- package/dist/react-native/models/mappers.js +885 -0
- package/dist/react-native/models/mappers.js.map +1 -0
- package/dist/react-native/models/parameters.d.ts +19 -0
- package/dist/react-native/models/parameters.d.ts.map +1 -0
- package/dist/react-native/models/parameters.js +154 -0
- package/dist/react-native/models/parameters.js.map +1 -0
- package/dist/react-native/operations/index.d.ts +4 -0
- package/dist/react-native/operations/index.d.ts.map +1 -0
- package/dist/react-native/operations/index.js +11 -0
- package/dist/react-native/operations/index.js.map +1 -0
- package/dist/react-native/operations/ledger.d.ts +139 -0
- package/dist/react-native/operations/ledger.d.ts.map +1 -0
- package/dist/react-native/operations/ledger.js +702 -0
- package/dist/react-native/operations/ledger.js.map +1 -0
- package/dist/react-native/operations/managedCCFOperations.d.ts +139 -0
- package/dist/react-native/operations/managedCCFOperations.d.ts.map +1 -0
- package/dist/react-native/operations/managedCCFOperations.js +702 -0
- package/dist/react-native/operations/managedCCFOperations.js.map +1 -0
- package/dist/react-native/operations/operations.d.ts +32 -0
- package/dist/react-native/operations/operations.d.ts.map +1 -0
- package/dist/react-native/operations/operations.js +133 -0
- package/dist/react-native/operations/operations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/index.d.ts +4 -0
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/index.js +11 -0
- package/dist/react-native/operationsInterfaces/index.js.map +1 -0
- package/dist/react-native/operationsInterfaces/ledger.d.ts +103 -0
- package/dist/react-native/operationsInterfaces/ledger.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/ledger.js +9 -0
- package/dist/react-native/operationsInterfaces/ledger.js.map +1 -0
- package/dist/react-native/operationsInterfaces/managedCCFOperations.d.ts +103 -0
- package/dist/react-native/operationsInterfaces/managedCCFOperations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/managedCCFOperations.js +9 -0
- package/dist/react-native/operationsInterfaces/managedCCFOperations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/operations.d.ts +11 -0
- package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/operations.js +9 -0
- package/dist/react-native/operationsInterfaces/operations.js.map +1 -0
- package/dist/react-native/package.json +3 -0
- package/dist/react-native/pagingHelper.d.ts +13 -0
- package/dist/react-native/pagingHelper.d.ts.map +1 -0
- package/dist/react-native/pagingHelper.js +32 -0
- package/dist/react-native/pagingHelper.js.map +1 -0
- package/package.json +77 -62
- package/review/arm-confidentialledger.api.md +27 -0
- package/dist/index.js +0 -2884
- package/dist/index.js.map +0 -1
- package/dist/index.min.js +0 -1
- package/dist/index.min.js.map +0 -1
- package/dist-esm/samples-dev/checkNameAvailabilitySample.d.ts +0 -2
- package/dist-esm/samples-dev/checkNameAvailabilitySample.d.ts.map +0 -1
- package/dist-esm/samples-dev/checkNameAvailabilitySample.js +0 -41
- package/dist-esm/samples-dev/checkNameAvailabilitySample.js.map +0 -1
- package/dist-esm/samples-dev/ledgerBackupSample.d.ts +0 -2
- package/dist-esm/samples-dev/ledgerBackupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/ledgerBackupSample.js +0 -44
- package/dist-esm/samples-dev/ledgerBackupSample.js.map +0 -1
- package/dist-esm/samples-dev/ledgerCreateSample.d.ts +0 -2
- package/dist-esm/samples-dev/ledgerCreateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/ledgerCreateSample.js +0 -61
- package/dist-esm/samples-dev/ledgerCreateSample.js.map +0 -1
- package/dist-esm/samples-dev/ledgerDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/ledgerDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/ledgerDeleteSample.js +0 -40
- package/dist-esm/samples-dev/ledgerDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/ledgerGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/ledgerGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/ledgerGetSample.js +0 -40
- package/dist-esm/samples-dev/ledgerGetSample.js.map +0 -1
- package/dist-esm/samples-dev/ledgerListByResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/ledgerListByResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/ledgerListByResourceGroupSample.js +0 -55
- package/dist-esm/samples-dev/ledgerListByResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/ledgerListBySubscriptionSample.d.ts +0 -2
- package/dist-esm/samples-dev/ledgerListBySubscriptionSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/ledgerListBySubscriptionSample.js +0 -53
- package/dist-esm/samples-dev/ledgerListBySubscriptionSample.js.map +0 -1
- package/dist-esm/samples-dev/ledgerRestoreSample.d.ts +0 -2
- package/dist-esm/samples-dev/ledgerRestoreSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/ledgerRestoreSample.js +0 -45
- package/dist-esm/samples-dev/ledgerRestoreSample.js.map +0 -1
- package/dist-esm/samples-dev/ledgerUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/ledgerUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/ledgerUpdateSample.js +0 -63
- package/dist-esm/samples-dev/ledgerUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/managedCcfBackupSample.d.ts +0 -2
- package/dist-esm/samples-dev/managedCcfBackupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/managedCcfBackupSample.js +0 -44
- package/dist-esm/samples-dev/managedCcfBackupSample.js.map +0 -1
- package/dist-esm/samples-dev/managedCcfCreateSample.d.ts +0 -2
- package/dist-esm/samples-dev/managedCcfCreateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/managedCcfCreateSample.js +0 -58
- package/dist-esm/samples-dev/managedCcfCreateSample.js.map +0 -1
- package/dist-esm/samples-dev/managedCcfDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/managedCcfDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/managedCcfDeleteSample.js +0 -40
- package/dist-esm/samples-dev/managedCcfDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/managedCcfGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/managedCcfGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/managedCcfGetSample.js +0 -40
- package/dist-esm/samples-dev/managedCcfGetSample.js.map +0 -1
- package/dist-esm/samples-dev/managedCcfListByResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/managedCcfListByResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/managedCcfListByResourceGroupSample.js +0 -55
- package/dist-esm/samples-dev/managedCcfListByResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/managedCcfListBySubscriptionSample.d.ts +0 -2
- package/dist-esm/samples-dev/managedCcfListBySubscriptionSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/managedCcfListBySubscriptionSample.js +0 -53
- package/dist-esm/samples-dev/managedCcfListBySubscriptionSample.js.map +0 -1
- package/dist-esm/samples-dev/managedCcfRestoreSample.d.ts +0 -2
- package/dist-esm/samples-dev/managedCcfRestoreSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/managedCcfRestoreSample.js +0 -45
- package/dist-esm/samples-dev/managedCcfRestoreSample.js.map +0 -1
- package/dist-esm/samples-dev/managedCcfUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/managedCcfUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/managedCcfUpdateSample.js +0 -50
- package/dist-esm/samples-dev/managedCcfUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/operationsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/operationsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/operationsListSample.js +0 -53
- package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
- package/dist-esm/src/confidentialLedgerClient.d.ts.map +0 -1
- package/dist-esm/src/confidentialLedgerClient.js.map +0 -1
- package/dist-esm/src/index.d.ts +0 -6
- package/dist-esm/src/index.d.ts.map +0 -1
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/lroImpl.js.map +0 -1
- package/dist-esm/src/models/index.d.ts.map +0 -1
- package/dist-esm/src/models/index.js.map +0 -1
- package/dist-esm/src/models/mappers.js.map +0 -1
- package/dist-esm/src/models/parameters.js.map +0 -1
- package/dist-esm/src/operations/index.d.ts +0 -4
- package/dist-esm/src/operations/index.js.map +0 -1
- package/dist-esm/src/operations/ledger.d.ts.map +0 -1
- package/dist-esm/src/operations/ledger.js.map +0 -1
- package/dist-esm/src/operations/managedCCFOperations.d.ts.map +0 -1
- package/dist-esm/src/operations/managedCCFOperations.js.map +0 -1
- package/dist-esm/src/operations/operations.d.ts.map +0 -1
- package/dist-esm/src/operations/operations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +0 -4
- package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/ledger.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/ledger.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/managedCCFOperations.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/managedCCFOperations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
- package/dist-esm/src/pagingHelper.js.map +0 -1
- package/dist-esm/test/confidentialledger_operations_test.spec.d.ts +0 -4
- package/dist-esm/test/confidentialledger_operations_test.spec.d.ts.map +0 -1
- package/dist-esm/test/confidentialledger_operations_test.spec.js +0 -71
- package/dist-esm/test/confidentialledger_operations_test.spec.js.map +0 -1
- package/src/confidentialLedgerClient.ts +0 -196
- package/src/lroImpl.ts +0 -42
- package/src/models/index.ts +0 -784
- package/src/models/mappers.ts +0 -872
- package/src/models/parameters.ts +0 -184
- package/src/operations/ledger.ts +0 -957
- package/src/operations/managedCCFOperations.ts +0 -962
- package/src/operations/operations.ts +0 -149
- package/src/operationsInterfaces/index.ts +0 -11
- package/src/operationsInterfaces/ledger.ts +0 -197
- package/src/operationsInterfaces/managedCCFOperations.ts +0 -206
- package/src/operationsInterfaces/operations.ts +0 -25
- package/src/pagingHelper.ts +0 -39
- package/tsconfig.json +0 -33
- /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/lroImpl.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/ledger.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/managedCCFOperations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.js +0 -0
@@ -0,0 +1,11 @@
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
2
|
+
import { ResourceProviderOperationDefinition, OperationsListOptionalParams } from "../models/index.js";
|
3
|
+
/** Interface representing a Operations. */
|
4
|
+
export interface Operations {
|
5
|
+
/**
|
6
|
+
* Retrieves a list of available API operations
|
7
|
+
* @param options The options parameters.
|
8
|
+
*/
|
9
|
+
list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<ResourceProviderOperationDefinition>;
|
10
|
+
}
|
11
|
+
//# sourceMappingURL=operations.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/operations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,mCAAmC,EACnC,4BAA4B,EAC7B,MAAM,oBAAoB,CAAC;AAG5B,2CAA2C;AAC3C,MAAM,WAAW,UAAU;IACzB;;;OAGG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,4BAA4B,GACrC,0BAA0B,CAAC,mCAAmC,CAAC,CAAC;CACpE"}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
"use strict";
|
2
|
+
/*
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
4
|
+
* Licensed under the MIT License.
|
5
|
+
*
|
6
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
7
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
8
|
+
*/
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
10
|
+
//# sourceMappingURL=operations.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/operations.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG","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 { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport {\n ResourceProviderOperationDefinition,\n OperationsListOptionalParams,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a Operations. */\nexport interface Operations {\n /**\n * Retrieves a list of available API operations\n * @param options The options parameters.\n */\n list(\n options?: OperationsListOptionalParams,\n ): PagedAsyncIterableIterator<ResourceProviderOperationDefinition>;\n}\n"]}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
export interface PageInfo {
|
2
|
+
continuationToken?: string;
|
3
|
+
}
|
4
|
+
/**
|
5
|
+
* Given the last `.value` produced by the `byPage` iterator,
|
6
|
+
* returns a continuation token that can be used to begin paging from
|
7
|
+
* that point later.
|
8
|
+
* @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
|
9
|
+
* @returns The continuation token that can be passed into byPage() during future calls.
|
10
|
+
*/
|
11
|
+
export declare function getContinuationToken(page: unknown): string | undefined;
|
12
|
+
export declare function setContinuationToken(page: unknown, continuationToken: string | undefined): void;
|
13
|
+
//# sourceMappingURL=pagingHelper.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"pagingHelper.d.ts","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":"AAQA,MAAM,WAAW,QAAQ;IACvB,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAID;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,CAKtE;AAED,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,OAAO,EACb,iBAAiB,EAAE,MAAM,GAAG,SAAS,GACpC,IAAI,CAON"}
|
@@ -0,0 +1,36 @@
|
|
1
|
+
"use strict";
|
2
|
+
/*
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
4
|
+
* Licensed under the MIT License.
|
5
|
+
*
|
6
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
7
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
8
|
+
*/
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
10
|
+
exports.getContinuationToken = getContinuationToken;
|
11
|
+
exports.setContinuationToken = setContinuationToken;
|
12
|
+
const pageMap = new WeakMap();
|
13
|
+
/**
|
14
|
+
* Given the last `.value` produced by the `byPage` iterator,
|
15
|
+
* returns a continuation token that can be used to begin paging from
|
16
|
+
* that point later.
|
17
|
+
* @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
|
18
|
+
* @returns The continuation token that can be passed into byPage() during future calls.
|
19
|
+
*/
|
20
|
+
function getContinuationToken(page) {
|
21
|
+
var _a;
|
22
|
+
if (typeof page !== "object" || page === null) {
|
23
|
+
return undefined;
|
24
|
+
}
|
25
|
+
return (_a = pageMap.get(page)) === null || _a === void 0 ? void 0 : _a.continuationToken;
|
26
|
+
}
|
27
|
+
function setContinuationToken(page, continuationToken) {
|
28
|
+
var _a;
|
29
|
+
if (typeof page !== "object" || page === null || !continuationToken) {
|
30
|
+
return;
|
31
|
+
}
|
32
|
+
const pageInfo = (_a = pageMap.get(page)) !== null && _a !== void 0 ? _a : {};
|
33
|
+
pageInfo.continuationToken = continuationToken;
|
34
|
+
pageMap.set(page, pageInfo);
|
35
|
+
}
|
36
|
+
//# sourceMappingURL=pagingHelper.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"pagingHelper.js","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;AAeH,oDAKC;AAED,oDAUC;AA1BD,MAAM,OAAO,GAAG,IAAI,OAAO,EAAoB,CAAC;AAEhD;;;;;;GAMG;AACH,SAAgB,oBAAoB,CAAC,IAAa;;IAChD,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,EAAE,CAAC;QAC9C,OAAO,SAAS,CAAC;IACnB,CAAC;IACD,OAAO,MAAA,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,0CAAE,iBAAiB,CAAC;AAC9C,CAAC;AAED,SAAgB,oBAAoB,CAClC,IAAa,EACb,iBAAqC;;IAErC,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,IAAI,CAAC,iBAAiB,EAAE,CAAC;QACpE,OAAO;IACT,CAAC;IACD,MAAM,QAAQ,GAAG,MAAA,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,mCAAI,EAAE,CAAC;IACzC,QAAQ,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;IAC/C,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;AAC9B,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\nexport interface PageInfo {\n continuationToken?: string;\n}\n\nconst pageMap = new WeakMap<object, PageInfo>();\n\n/**\n * Given the last `.value` produced by the `byPage` iterator,\n * returns a continuation token that can be used to begin paging from\n * that point later.\n * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.\n * @returns The continuation token that can be passed into byPage() during future calls.\n */\nexport function getContinuationToken(page: unknown): string | undefined {\n if (typeof page !== \"object\" || page === null) {\n return undefined;\n }\n return pageMap.get(page)?.continuationToken;\n}\n\nexport function setContinuationToken(\n page: unknown,\n continuationToken: string | undefined,\n): void {\n if (typeof page !== \"object\" || page === null || !continuationToken) {\n return;\n }\n const pageInfo = pageMap.get(page) ?? {};\n pageInfo.continuationToken = continuationToken;\n pageMap.set(page, pageInfo);\n}\n"]}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
import * as coreClient from "@azure/core-client";
|
2
|
+
import * as coreAuth from "@azure/core-auth";
|
3
|
+
import { Operations, Ledger, ManagedCCFOperations } from "./operationsInterfaces/index.js";
|
4
|
+
import { ConfidentialLedgerClientOptionalParams, CheckNameAvailabilityRequest, CheckNameAvailabilityOptionalParams, CheckNameAvailabilityOperationResponse } from "./models/index.js";
|
5
|
+
export declare class ConfidentialLedgerClient extends coreClient.ServiceClient {
|
6
|
+
$host: string;
|
7
|
+
apiVersion: string;
|
8
|
+
subscriptionId: string;
|
9
|
+
/**
|
10
|
+
* Initializes a new instance of the ConfidentialLedgerClient class.
|
11
|
+
* @param credentials Subscription credentials which uniquely identify client subscription.
|
12
|
+
* @param subscriptionId The ID of the target subscription.
|
13
|
+
* @param options The parameter options
|
14
|
+
*/
|
15
|
+
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: ConfidentialLedgerClientOptionalParams);
|
16
|
+
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
17
|
+
private addCustomApiVersionPolicy;
|
18
|
+
/**
|
19
|
+
* To check whether a resource name is available.
|
20
|
+
* @param nameAvailabilityRequest Name availability request payload.
|
21
|
+
* @param options The options parameters.
|
22
|
+
*/
|
23
|
+
checkNameAvailability(nameAvailabilityRequest: CheckNameAvailabilityRequest, options?: CheckNameAvailabilityOptionalParams): Promise<CheckNameAvailabilityOperationResponse>;
|
24
|
+
operations: Operations;
|
25
|
+
ledger: Ledger;
|
26
|
+
managedCCFOperations: ManagedCCFOperations;
|
27
|
+
}
|
28
|
+
//# sourceMappingURL=confidentialLedgerClient.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"confidentialLedgerClient.d.ts","sourceRoot":"","sources":["../../src/confidentialLedgerClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAOjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAM7C,OAAO,EACL,UAAU,EACV,MAAM,EACN,oBAAoB,EACrB,MAAM,iCAAiC,CAAC;AAGzC,OAAO,EACL,sCAAsC,EACtC,4BAA4B,EAC5B,mCAAmC,EACnC,sCAAsC,EACvC,MAAM,mBAAmB,CAAC;AAE3B,qBAAa,wBAAyB,SAAQ,UAAU,CAAC,aAAa;IACpE,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IAEvB;;;;;OAKG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,sCAAsC;IA+ElD,8GAA8G;IAC9G,OAAO,CAAC,yBAAyB;IA2BjC;;;;OAIG;IACH,qBAAqB,CACnB,uBAAuB,EAAE,4BAA4B,EACrD,OAAO,CAAC,EAAE,mCAAmC,GAC5C,OAAO,CAAC,sCAAsC,CAAC;IAOlD,UAAU,EAAE,UAAU,CAAC;IACvB,MAAM,EAAE,MAAM,CAAC;IACf,oBAAoB,EAAE,oBAAoB,CAAC;CAC5C"}
|
@@ -0,0 +1,129 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
3
|
+
* Licensed under the MIT License.
|
4
|
+
*
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
|
+
*/
|
8
|
+
import * as coreClient from "@azure/core-client";
|
9
|
+
import * as coreRestPipeline from "@azure/core-rest-pipeline";
|
10
|
+
import { OperationsImpl, LedgerImpl, ManagedCCFOperationsImpl, } from "./operations/index.js";
|
11
|
+
import * as Parameters from "./models/parameters.js";
|
12
|
+
import * as Mappers from "./models/mappers.js";
|
13
|
+
export class ConfidentialLedgerClient extends coreClient.ServiceClient {
|
14
|
+
/**
|
15
|
+
* Initializes a new instance of the ConfidentialLedgerClient class.
|
16
|
+
* @param credentials Subscription credentials which uniquely identify client subscription.
|
17
|
+
* @param subscriptionId The ID of the target subscription.
|
18
|
+
* @param options The parameter options
|
19
|
+
*/
|
20
|
+
constructor(credentials, subscriptionId, options) {
|
21
|
+
var _a, _b, _c;
|
22
|
+
if (credentials === undefined) {
|
23
|
+
throw new Error("'credentials' cannot be null");
|
24
|
+
}
|
25
|
+
if (subscriptionId === undefined) {
|
26
|
+
throw new Error("'subscriptionId' cannot be null");
|
27
|
+
}
|
28
|
+
// Initializing default values for options
|
29
|
+
if (!options) {
|
30
|
+
options = {};
|
31
|
+
}
|
32
|
+
const defaults = {
|
33
|
+
requestContentType: "application/json; charset=utf-8",
|
34
|
+
credential: credentials,
|
35
|
+
};
|
36
|
+
const packageDetails = `azsdk-js-arm-confidentialledger/1.3.0-beta.3`;
|
37
|
+
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
38
|
+
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
39
|
+
: `${packageDetails}`;
|
40
|
+
const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
|
41
|
+
userAgentPrefix,
|
42
|
+
}, endpoint: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
|
43
|
+
super(optionsWithDefaults);
|
44
|
+
let bearerTokenAuthenticationPolicyFound = false;
|
45
|
+
if ((options === null || options === void 0 ? void 0 : options.pipeline) && options.pipeline.getOrderedPolicies().length > 0) {
|
46
|
+
const pipelinePolicies = options.pipeline.getOrderedPolicies();
|
47
|
+
bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
|
48
|
+
coreRestPipeline.bearerTokenAuthenticationPolicyName);
|
49
|
+
}
|
50
|
+
if (!options ||
|
51
|
+
!options.pipeline ||
|
52
|
+
options.pipeline.getOrderedPolicies().length == 0 ||
|
53
|
+
!bearerTokenAuthenticationPolicyFound) {
|
54
|
+
this.pipeline.removePolicy({
|
55
|
+
name: coreRestPipeline.bearerTokenAuthenticationPolicyName,
|
56
|
+
});
|
57
|
+
this.pipeline.addPolicy(coreRestPipeline.bearerTokenAuthenticationPolicy({
|
58
|
+
credential: credentials,
|
59
|
+
scopes: (_c = optionsWithDefaults.credentialScopes) !== null && _c !== void 0 ? _c : `${optionsWithDefaults.endpoint}/.default`,
|
60
|
+
challengeCallbacks: {
|
61
|
+
authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge,
|
62
|
+
},
|
63
|
+
}));
|
64
|
+
}
|
65
|
+
// Parameter assignments
|
66
|
+
this.subscriptionId = subscriptionId;
|
67
|
+
// Assigning values to Constant parameters
|
68
|
+
this.$host = options.$host || "https://management.azure.com";
|
69
|
+
this.apiVersion = options.apiVersion || "2024-09-19-preview";
|
70
|
+
this.operations = new OperationsImpl(this);
|
71
|
+
this.ledger = new LedgerImpl(this);
|
72
|
+
this.managedCCFOperations = new ManagedCCFOperationsImpl(this);
|
73
|
+
this.addCustomApiVersionPolicy(options.apiVersion);
|
74
|
+
}
|
75
|
+
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
76
|
+
addCustomApiVersionPolicy(apiVersion) {
|
77
|
+
if (!apiVersion) {
|
78
|
+
return;
|
79
|
+
}
|
80
|
+
const apiVersionPolicy = {
|
81
|
+
name: "CustomApiVersionPolicy",
|
82
|
+
async sendRequest(request, next) {
|
83
|
+
const param = request.url.split("?");
|
84
|
+
if (param.length > 1) {
|
85
|
+
const newParams = param[1].split("&").map((item) => {
|
86
|
+
if (item.indexOf("api-version") > -1) {
|
87
|
+
return "api-version=" + apiVersion;
|
88
|
+
}
|
89
|
+
else {
|
90
|
+
return item;
|
91
|
+
}
|
92
|
+
});
|
93
|
+
request.url = param[0] + "?" + newParams.join("&");
|
94
|
+
}
|
95
|
+
return next(request);
|
96
|
+
},
|
97
|
+
};
|
98
|
+
this.pipeline.addPolicy(apiVersionPolicy);
|
99
|
+
}
|
100
|
+
/**
|
101
|
+
* To check whether a resource name is available.
|
102
|
+
* @param nameAvailabilityRequest Name availability request payload.
|
103
|
+
* @param options The options parameters.
|
104
|
+
*/
|
105
|
+
checkNameAvailability(nameAvailabilityRequest, options) {
|
106
|
+
return this.sendOperationRequest({ nameAvailabilityRequest, options }, checkNameAvailabilityOperationSpec);
|
107
|
+
}
|
108
|
+
}
|
109
|
+
// Operation Specifications
|
110
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
111
|
+
const checkNameAvailabilityOperationSpec = {
|
112
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.ConfidentialLedger/checkNameAvailability",
|
113
|
+
httpMethod: "POST",
|
114
|
+
responses: {
|
115
|
+
200: {
|
116
|
+
bodyMapper: Mappers.CheckNameAvailabilityResponse,
|
117
|
+
},
|
118
|
+
default: {
|
119
|
+
bodyMapper: Mappers.ErrorResponse,
|
120
|
+
},
|
121
|
+
},
|
122
|
+
requestBody: Parameters.nameAvailabilityRequest,
|
123
|
+
queryParameters: [Parameters.apiVersion],
|
124
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
125
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
126
|
+
mediaType: "json",
|
127
|
+
serializer,
|
128
|
+
};
|
129
|
+
//# sourceMappingURL=confidentialLedgerClient.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"confidentialLedgerClient.js","sourceRoot":"","sources":["../../src/confidentialLedgerClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAO9D,OAAO,EACL,cAAc,EACd,UAAU,EACV,wBAAwB,GACzB,MAAM,uBAAuB,CAAC;AAM/B,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,KAAK,OAAO,MAAM,qBAAqB,CAAC;AAQ/C,MAAM,OAAO,wBAAyB,SAAQ,UAAU,CAAC,aAAa;IAKpE;;;;;OAKG;IACH,YACE,WAAqC,EACrC,cAAsB,EACtB,OAAgD;;QAEhD,IAAI,WAAW,KAAK,SAAS,EAAE,CAAC;YAC9B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;QAC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AAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,cAAc,CAAC;IAC5D,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 {\n OperationsImpl,\n LedgerImpl,\n ManagedCCFOperationsImpl,\n} from \"./operations/index.js\";\nimport {\n Operations,\n Ledger,\n ManagedCCFOperations,\n} from \"./operationsInterfaces/index.js\";\nimport * as Parameters from \"./models/parameters.js\";\nimport * as Mappers from \"./models/mappers.js\";\nimport {\n ConfidentialLedgerClientOptionalParams,\n CheckNameAvailabilityRequest,\n CheckNameAvailabilityOptionalParams,\n CheckNameAvailabilityOperationResponse,\n} from \"./models/index.js\";\n\nexport class ConfidentialLedgerClient extends coreClient.ServiceClient {\n $host: string;\n apiVersion: string;\n subscriptionId: string;\n\n /**\n * Initializes a new instance of the ConfidentialLedgerClient 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?: ConfidentialLedgerClientOptionalParams,\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: ConfidentialLedgerClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials,\n };\n\n const packageDetails = `azsdk-js-arm-confidentialledger/1.3.0-beta.3`;\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[] =\n 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 || \"2024-09-19-preview\";\n this.operations = new OperationsImpl(this);\n this.ledger = new LedgerImpl(this);\n this.managedCCFOperations = new ManagedCCFOperationsImpl(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 * To check whether a resource name is available.\n * @param nameAvailabilityRequest Name availability request payload.\n * @param options The options parameters.\n */\n checkNameAvailability(\n nameAvailabilityRequest: CheckNameAvailabilityRequest,\n options?: CheckNameAvailabilityOptionalParams,\n ): Promise<CheckNameAvailabilityOperationResponse> {\n return this.sendOperationRequest(\n { nameAvailabilityRequest, options },\n checkNameAvailabilityOperationSpec,\n );\n }\n\n operations: Operations;\n ledger: Ledger;\n managedCCFOperations: ManagedCCFOperations;\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst checkNameAvailabilityOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.ConfidentialLedger/checkNameAvailability\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.CheckNameAvailabilityResponse,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.nameAvailabilityRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\n"]}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,cAAc,iCAAiC,CAAC"}
|
@@ -5,9 +5,9 @@
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
7
|
*/
|
8
|
-
|
9
8
|
/// <reference lib="esnext.asynciterable" />
|
10
|
-
export { getContinuationToken } from "./pagingHelper";
|
11
|
-
export * from "./models";
|
12
|
-
export { ConfidentialLedgerClient } from "./confidentialLedgerClient";
|
13
|
-
export * from "./operationsInterfaces";
|
9
|
+
export { getContinuationToken } from "./pagingHelper.js";
|
10
|
+
export * from "./models/index.js";
|
11
|
+
export { ConfidentialLedgerClient } from "./confidentialLedgerClient.js";
|
12
|
+
export * from "./operationsInterfaces/index.js";
|
13
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,4CAA4C;AAC5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,cAAc,iCAAiC,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\n/// <reference lib=\"esnext.asynciterable\" />\nexport { getContinuationToken } from \"./pagingHelper.js\";\nexport * from \"./models/index.js\";\nexport { ConfidentialLedgerClient } from \"./confidentialLedgerClient.js\";\nexport * from \"./operationsInterfaces/index.js\";\n"]}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import { LongRunningOperation, LroResponse } from "@azure/core-lro";
|
2
|
+
export declare function createLroSpec<T>(inputs: {
|
3
|
+
sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>;
|
4
|
+
args: Record<string, unknown>;
|
5
|
+
spec: {
|
6
|
+
readonly requestBody?: unknown;
|
7
|
+
readonly path?: string;
|
8
|
+
readonly httpMethod: string;
|
9
|
+
} & Record<string, any>;
|
10
|
+
}): LongRunningOperation<T>;
|
11
|
+
//# sourceMappingURL=lroImpl.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"lroImpl.d.ts","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,oBAAoB,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAEpE,wBAAgB,aAAa,CAAC,CAAC,EAAE,MAAM,EAAE;IACvC,eAAe,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,KAAK,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC;IACnE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC9B,IAAI,EAAE;QACJ,QAAQ,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC;QAC/B,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;QACvB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;KAC7B,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CACzB,GAAG,oBAAoB,CAAC,CAAC,CAAC,CAmB1B"}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
3
|
+
* Licensed under the MIT License.
|
4
|
+
*
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
|
+
*/
|
8
|
+
import { __rest } from "tslib";
|
9
|
+
export function createLroSpec(inputs) {
|
10
|
+
const { args, spec, sendOperationFn } = inputs;
|
11
|
+
return {
|
12
|
+
requestMethod: spec.httpMethod,
|
13
|
+
requestPath: spec.path,
|
14
|
+
sendInitialRequest: () => sendOperationFn(args, spec),
|
15
|
+
sendPollRequest: (path, options) => {
|
16
|
+
const { requestBody } = spec, restSpec = __rest(spec, ["requestBody"]);
|
17
|
+
return sendOperationFn(args, Object.assign(Object.assign({}, restSpec), { httpMethod: "GET", path, abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal }));
|
18
|
+
},
|
19
|
+
};
|
20
|
+
}
|
21
|
+
//# sourceMappingURL=lroImpl.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"lroImpl.js","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAKH,MAAM,UAAU,aAAa,CAAI,MAQhC;IACC,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,eAAe,EAAE,GAAG,MAAM,CAAC;IAC/C,OAAO;QACL,aAAa,EAAE,IAAI,CAAC,UAAU;QAC9B,WAAW,EAAE,IAAI,CAAC,IAAK;QACvB,kBAAkB,EAAE,GAAG,EAAE,CAAC,eAAe,CAAC,IAAI,EAAE,IAAI,CAAC;QACrD,eAAe,EAAE,CACf,IAAY,EACZ,OAA2C,EAC3C,EAAE;YACF,MAAM,EAAE,WAAW,KAAkB,IAAI,EAAjB,QAAQ,UAAK,IAAI,EAAnC,eAA4B,CAAO,CAAC;YAC1C,OAAO,eAAe,CAAC,IAAI,kCACtB,QAAQ,KACX,UAAU,EAAE,KAAK,EACjB,IAAI,EACJ,WAAW,EAAE,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,WAAW,IACjC,CAAC;QACL,CAAC;KACF,CAAC;AACJ,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 { AbortSignalLike } from \"@azure/abort-controller\";\nimport { LongRunningOperation, LroResponse } from \"@azure/core-lro\";\n\nexport function createLroSpec<T>(inputs: {\n sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>;\n args: Record<string, unknown>;\n spec: {\n readonly requestBody?: unknown;\n readonly path?: string;\n readonly httpMethod: string;\n } & Record<string, any>;\n}): LongRunningOperation<T> {\n const { args, spec, sendOperationFn } = inputs;\n return {\n requestMethod: spec.httpMethod,\n requestPath: spec.path!,\n sendInitialRequest: () => sendOperationFn(args, spec),\n sendPollRequest: (\n path: string,\n options?: { abortSignal?: AbortSignalLike },\n ) => {\n const { requestBody, ...restSpec } = spec;\n return sendOperationFn(args, {\n ...restSpec,\n httpMethod: \"GET\",\n path,\n abortSignal: options?.abortSignal,\n });\n },\n };\n}\n"]}
|