@azure/arm-confidentialledger 1.3.0-alpha.20230419.1 → 1.3.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +2 -2
- package/dist/index.js +32 -82
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/ledgerListByResourceGroupSample.js +5 -12
- package/dist-esm/samples-dev/ledgerListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/ledgerListBySubscriptionSample.js +5 -12
- package/dist-esm/samples-dev/ledgerListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/managedCcfListByResourceGroupSample.js +5 -12
- package/dist-esm/samples-dev/managedCcfListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/managedCcfListBySubscriptionSample.js +5 -12
- package/dist-esm/samples-dev/managedCcfListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/operationsListSample.js +5 -12
- package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +26 -33
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +0 -1
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +7 -21
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/operations/ledger.js +10 -24
- package/dist-esm/src/operations/ledger.js.map +1 -1
- package/dist-esm/src/operations/managedCCFOperations.js +10 -24
- package/dist-esm/src/operations/managedCCFOperations.js.map +1 -1
- package/dist-esm/src/operations/operations.js +5 -12
- package/dist-esm/src/operations/operations.js.map +1 -1
- package/package.json +4 -4
- package/review/arm-confidentialledger.api.md +2 -9
- package/src/models/index.ts +3 -9
- package/src/models/mappers.ts +6 -23
- package/types/arm-confidentialledger.d.ts +3 -11
@@ -63,24 +63,17 @@ export class OperationsImpl {
|
|
63
63
|
}
|
64
64
|
listPagingAll(options) {
|
65
65
|
return __asyncGenerator(this, arguments, function* listPagingAll_1() {
|
66
|
-
var
|
66
|
+
var e_1, _a;
|
67
67
|
try {
|
68
|
-
for (var
|
69
|
-
|
70
|
-
|
71
|
-
try {
|
72
|
-
const page = _c;
|
73
|
-
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
74
|
-
}
|
75
|
-
finally {
|
76
|
-
_d = true;
|
77
|
-
}
|
68
|
+
for (var _b = __asyncValues(this.listPagingPage(options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
69
|
+
const page = _c.value;
|
70
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
78
71
|
}
|
79
72
|
}
|
80
73
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
81
74
|
finally {
|
82
75
|
try {
|
83
|
-
if (
|
76
|
+
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
84
77
|
}
|
85
78
|
finally { if (e_1) throw e_1.error; }
|
86
79
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAEvD,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAUnD,4CAA4C;AAC5C,8CAA8C;AAC9C,MAAM,OAAO,cAAc;IAGzB;;;OAGG;IACH,YAAY,MAAgC;QAC1C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,IAAI,CACT,OAAsC;QAEtC,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;QACzC,OAAO;YACL,IAAI;g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,EAAE,oDAAoD;IAC1D,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,6BAA6B;SAClD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC;IACjC,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,6BAA6B;SAClD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC;IACtD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
|
package/package.json
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
"sdk-type": "mgmt",
|
4
4
|
"author": "Microsoft Corporation",
|
5
5
|
"description": "A generated SDK for ConfidentialLedgerClient.",
|
6
|
-
"version": "1.3.0-
|
6
|
+
"version": "1.3.0-beta.1",
|
7
7
|
"engines": {
|
8
8
|
"node": ">=14.0.0"
|
9
9
|
},
|
@@ -36,7 +36,7 @@
|
|
36
36
|
"mkdirp": "^2.1.2",
|
37
37
|
"rollup": "^2.66.1",
|
38
38
|
"rollup-plugin-sourcemaps": "^0.6.3",
|
39
|
-
"typescript": "~
|
39
|
+
"typescript": "~4.8.0",
|
40
40
|
"uglify-js": "^3.4.9",
|
41
41
|
"rimraf": "^3.0.0",
|
42
42
|
"dotenv": "^16.0.0",
|
@@ -48,7 +48,7 @@
|
|
48
48
|
"chai": "^4.2.0",
|
49
49
|
"cross-env": "^7.0.2",
|
50
50
|
"@types/node": "^14.0.0",
|
51
|
-
"@azure/dev-tool": "
|
51
|
+
"@azure/dev-tool": "^1.0.0"
|
52
52
|
},
|
53
53
|
"repository": {
|
54
54
|
"type": "git",
|
@@ -120,4 +120,4 @@
|
|
120
120
|
"disableDocsMs": true,
|
121
121
|
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-confidentialledger?view=azure-node-preview"
|
122
122
|
}
|
123
|
-
}
|
123
|
+
}
|
@@ -54,9 +54,8 @@ export interface CheckNameAvailabilityResponse {
|
|
54
54
|
}
|
55
55
|
|
56
56
|
// @public
|
57
|
-
export interface ConfidentialLedger extends TrackedResource
|
57
|
+
export interface ConfidentialLedger extends TrackedResource {
|
58
58
|
properties?: LedgerProperties;
|
59
|
-
runningState?: RunningState;
|
60
59
|
}
|
61
60
|
|
62
61
|
// @public (undocumented)
|
@@ -254,6 +253,7 @@ export interface LedgerProperties {
|
|
254
253
|
ledgerType?: LedgerType;
|
255
254
|
readonly ledgerUri?: string;
|
256
255
|
readonly provisioningState?: ProvisioningState;
|
256
|
+
runningState?: RunningState;
|
257
257
|
}
|
258
258
|
|
259
259
|
// @public
|
@@ -435,13 +435,6 @@ export interface SystemData {
|
|
435
435
|
lastModifiedByType?: CreatedByType;
|
436
436
|
}
|
437
437
|
|
438
|
-
// @public
|
439
|
-
export interface Tags {
|
440
|
-
tags?: {
|
441
|
-
[propertyName: string]: string;
|
442
|
-
};
|
443
|
-
}
|
444
|
-
|
445
438
|
// @public
|
446
439
|
export interface TrackedResource extends Resource {
|
447
440
|
location: string;
|
package/src/models/index.ts
CHANGED
@@ -133,6 +133,8 @@ export interface LedgerProperties {
|
|
133
133
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
134
134
|
*/
|
135
135
|
readonly ledgerInternalNamespace?: string;
|
136
|
+
/** Object representing RunningState for Ledger. */
|
137
|
+
runningState?: RunningState;
|
136
138
|
/** Type of Confidential Ledger */
|
137
139
|
ledgerType?: LedgerType;
|
138
140
|
/**
|
@@ -204,12 +206,6 @@ export interface SystemData {
|
|
204
206
|
lastModifiedAt?: Date;
|
205
207
|
}
|
206
208
|
|
207
|
-
/** Tags for Confidential Ledger Resource */
|
208
|
-
export interface Tags {
|
209
|
-
/** Additional tags for Confidential Ledger */
|
210
|
-
tags?: { [propertyName: string]: string };
|
211
|
-
}
|
212
|
-
|
213
209
|
/** Object that includes an array of Confidential Ledgers and a possible link for next set. */
|
214
210
|
export interface ConfidentialLedgerList {
|
215
211
|
/** List of Confidential Ledgers */
|
@@ -289,9 +285,7 @@ export interface TrackedResource extends Resource {
|
|
289
285
|
}
|
290
286
|
|
291
287
|
/** Confidential Ledger. Contains the properties of Confidential Ledger Resource. */
|
292
|
-
export interface ConfidentialLedger extends TrackedResource
|
293
|
-
/** Object representing RunningState for Ledger. */
|
294
|
-
runningState?: RunningState;
|
288
|
+
export interface ConfidentialLedger extends TrackedResource {
|
295
289
|
/** Properties of Confidential Ledger Resource. */
|
296
290
|
properties?: LedgerProperties;
|
297
291
|
}
|
package/src/models/mappers.ts
CHANGED
@@ -275,6 +275,12 @@ export const LedgerProperties: coreClient.CompositeMapper = {
|
|
275
275
|
name: "String"
|
276
276
|
}
|
277
277
|
},
|
278
|
+
runningState: {
|
279
|
+
serializedName: "runningState",
|
280
|
+
type: {
|
281
|
+
name: "String"
|
282
|
+
}
|
283
|
+
},
|
278
284
|
ledgerType: {
|
279
285
|
serializedName: "ledgerType",
|
280
286
|
type: {
|
@@ -446,22 +452,6 @@ export const SystemData: coreClient.CompositeMapper = {
|
|
446
452
|
}
|
447
453
|
};
|
448
454
|
|
449
|
-
export const Tags: coreClient.CompositeMapper = {
|
450
|
-
type: {
|
451
|
-
name: "Composite",
|
452
|
-
className: "Tags",
|
453
|
-
modelProperties: {
|
454
|
-
tags: {
|
455
|
-
serializedName: "tags",
|
456
|
-
type: {
|
457
|
-
name: "Dictionary",
|
458
|
-
value: { type: { name: "String" } }
|
459
|
-
}
|
460
|
-
}
|
461
|
-
}
|
462
|
-
}
|
463
|
-
};
|
464
|
-
|
465
455
|
export const ConfidentialLedgerList: coreClient.CompositeMapper = {
|
466
456
|
type: {
|
467
457
|
name: "Composite",
|
@@ -673,13 +663,6 @@ export const ConfidentialLedger: coreClient.CompositeMapper = {
|
|
673
663
|
className: "ConfidentialLedger",
|
674
664
|
modelProperties: {
|
675
665
|
...TrackedResource.type.modelProperties,
|
676
|
-
...Tags.type.modelProperties,
|
677
|
-
runningState: {
|
678
|
-
serializedName: "runningState",
|
679
|
-
type: {
|
680
|
-
name: "String"
|
681
|
-
}
|
682
|
-
},
|
683
666
|
properties: {
|
684
667
|
serializedName: "properties",
|
685
668
|
type: {
|
@@ -66,9 +66,7 @@ export declare interface CheckNameAvailabilityResponse {
|
|
66
66
|
}
|
67
67
|
|
68
68
|
/** Confidential Ledger. Contains the properties of Confidential Ledger Resource. */
|
69
|
-
export declare interface ConfidentialLedger extends TrackedResource
|
70
|
-
/** Object representing RunningState for Ledger. */
|
71
|
-
runningState?: RunningState;
|
69
|
+
export declare interface ConfidentialLedger extends TrackedResource {
|
72
70
|
/** Properties of Confidential Ledger Resource. */
|
73
71
|
properties?: LedgerProperties;
|
74
72
|
}
|
@@ -431,6 +429,8 @@ export declare interface LedgerProperties {
|
|
431
429
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
432
430
|
*/
|
433
431
|
readonly ledgerInternalNamespace?: string;
|
432
|
+
/** Object representing RunningState for Ledger. */
|
433
|
+
runningState?: RunningState;
|
434
434
|
/** Type of Confidential Ledger */
|
435
435
|
ledgerType?: LedgerType;
|
436
436
|
/**
|
@@ -792,14 +792,6 @@ export declare interface SystemData {
|
|
792
792
|
lastModifiedAt?: Date;
|
793
793
|
}
|
794
794
|
|
795
|
-
/** Tags for Confidential Ledger Resource */
|
796
|
-
export declare interface Tags {
|
797
|
-
/** Additional tags for Confidential Ledger */
|
798
|
-
tags?: {
|
799
|
-
[propertyName: string]: string;
|
800
|
-
};
|
801
|
-
}
|
802
|
-
|
803
795
|
/** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
|
804
796
|
export declare interface TrackedResource extends Resource {
|
805
797
|
/** Resource tags. */
|