@azure/arm-reservations 9.0.1-alpha.20231017.1 → 9.0.1-alpha.20231024.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.
Files changed (35) hide show
  1. package/dist/index.js +24 -64
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.min.js +1 -1
  4. package/dist/index.min.js.map +1 -1
  5. package/dist-esm/samples-dev/getCatalogSample.js +3 -8
  6. package/dist-esm/samples-dev/getCatalogSample.js.map +1 -1
  7. package/dist-esm/samples-dev/operationListSample.js +3 -8
  8. package/dist-esm/samples-dev/operationListSample.js.map +1 -1
  9. package/dist-esm/samples-dev/quotaListSample.js +6 -16
  10. package/dist-esm/samples-dev/quotaListSample.js.map +1 -1
  11. package/dist-esm/samples-dev/quotaRequestStatusListSample.js +3 -8
  12. package/dist-esm/samples-dev/quotaRequestStatusListSample.js.map +1 -1
  13. package/dist-esm/samples-dev/reservationListAllSample.js +3 -8
  14. package/dist-esm/samples-dev/reservationListAllSample.js.map +1 -1
  15. package/dist-esm/samples-dev/reservationListRevisionsSample.js +3 -8
  16. package/dist-esm/samples-dev/reservationListRevisionsSample.js.map +1 -1
  17. package/dist-esm/samples-dev/reservationListSample.js +3 -8
  18. package/dist-esm/samples-dev/reservationListSample.js.map +1 -1
  19. package/dist-esm/samples-dev/reservationOrderListSample.js +3 -8
  20. package/dist-esm/samples-dev/reservationOrderListSample.js.map +1 -1
  21. package/dist-esm/src/azureReservationAPI.js +3 -8
  22. package/dist-esm/src/azureReservationAPI.js.map +1 -1
  23. package/dist-esm/src/operations/operation.js +3 -8
  24. package/dist-esm/src/operations/operation.js.map +1 -1
  25. package/dist-esm/src/operations/quota.js +3 -8
  26. package/dist-esm/src/operations/quota.js.map +1 -1
  27. package/dist-esm/src/operations/quotaRequestStatus.js +3 -8
  28. package/dist-esm/src/operations/quotaRequestStatus.js.map +1 -1
  29. package/dist-esm/src/operations/reservation.js +9 -24
  30. package/dist-esm/src/operations/reservation.js.map +1 -1
  31. package/dist-esm/src/operations/reservationOrder.js +3 -8
  32. package/dist-esm/src/operations/reservationOrder.js.map +1 -1
  33. package/dist-esm/test/reservations_examples.spec.js +3 -8
  34. package/dist-esm/test/reservations_examples.spec.js.map +1 -1
  35. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -4977,16 +4977,11 @@ class ReservationImpl {
4977
4977
  return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
4978
4978
  var _a, e_1, _b, _c;
4979
4979
  try {
4980
- for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(reservationOrderId, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
4980
+ for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(reservationOrderId, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
4981
4981
  _c = _f.value;
4982
4982
  _d = false;
4983
- try {
4984
- const page = _c;
4985
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
4986
- }
4987
- finally {
4988
- _d = true;
4989
- }
4983
+ const page = _c;
4984
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
4990
4985
  }
4991
4986
  }
4992
4987
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
@@ -5045,16 +5040,11 @@ class ReservationImpl {
5045
5040
  return tslib.__asyncGenerator(this, arguments, function* listRevisionsPagingAll_1() {
5046
5041
  var _a, e_2, _b, _c;
5047
5042
  try {
5048
- for (var _d = true, _e = tslib.__asyncValues(this.listRevisionsPagingPage(reservationOrderId, reservationId, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
5043
+ for (var _d = true, _e = tslib.__asyncValues(this.listRevisionsPagingPage(reservationOrderId, reservationId, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
5049
5044
  _c = _f.value;
5050
5045
  _d = false;
5051
- try {
5052
- const page = _c;
5053
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
5054
- }
5055
- finally {
5056
- _d = true;
5057
- }
5046
+ const page = _c;
5047
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
5058
5048
  }
5059
5049
  }
5060
5050
  catch (e_2_1) { e_2 = { error: e_2_1 }; }
@@ -5112,16 +5102,11 @@ class ReservationImpl {
5112
5102
  return tslib.__asyncGenerator(this, arguments, function* listAllPagingAll_1() {
5113
5103
  var _a, e_3, _b, _c;
5114
5104
  try {
5115
- for (var _d = true, _e = tslib.__asyncValues(this.listAllPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
5105
+ for (var _d = true, _e = tslib.__asyncValues(this.listAllPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
5116
5106
  _c = _f.value;
5117
5107
  _d = false;
5118
- try {
5119
- const page = _c;
5120
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
5121
- }
5122
- finally {
5123
- _d = true;
5124
- }
5108
+ const page = _c;
5109
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
5125
5110
  }
5126
5111
  }
5127
5112
  catch (e_3_1) { e_3 = { error: e_3_1 }; }
@@ -5852,16 +5837,11 @@ class ReservationOrderImpl {
5852
5837
  return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
5853
5838
  var _a, e_1, _b, _c;
5854
5839
  try {
5855
- for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
5840
+ for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
5856
5841
  _c = _f.value;
5857
5842
  _d = false;
5858
- try {
5859
- const page = _c;
5860
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
5861
- }
5862
- finally {
5863
- _d = true;
5864
- }
5843
+ const page = _c;
5844
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
5865
5845
  }
5866
5846
  }
5867
5847
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
@@ -6146,16 +6126,11 @@ class OperationImpl {
6146
6126
  return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
6147
6127
  var _a, e_1, _b, _c;
6148
6128
  try {
6149
- for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
6129
+ for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
6150
6130
  _c = _f.value;
6151
6131
  _d = false;
6152
- try {
6153
- const page = _c;
6154
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
6155
- }
6156
- finally {
6157
- _d = true;
6158
- }
6132
+ const page = _c;
6133
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
6159
6134
  }
6160
6135
  }
6161
6136
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
@@ -6640,16 +6615,11 @@ class QuotaImpl {
6640
6615
  return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
6641
6616
  var _a, e_1, _b, _c;
6642
6617
  try {
6643
- for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(subscriptionId, providerId, location, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
6618
+ for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(subscriptionId, providerId, location, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
6644
6619
  _c = _f.value;
6645
6620
  _d = false;
6646
- try {
6647
- const page = _c;
6648
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
6649
- }
6650
- finally {
6651
- _d = true;
6652
- }
6621
+ const page = _c;
6622
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
6653
6623
  }
6654
6624
  }
6655
6625
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
@@ -7063,16 +7033,11 @@ class QuotaRequestStatusImpl {
7063
7033
  return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
7064
7034
  var _a, e_1, _b, _c;
7065
7035
  try {
7066
- for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(subscriptionId, providerId, location, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
7036
+ for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(subscriptionId, providerId, location, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
7067
7037
  _c = _f.value;
7068
7038
  _d = false;
7069
- try {
7070
- const page = _c;
7071
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
7072
- }
7073
- finally {
7074
- _d = true;
7075
- }
7039
+ const page = _c;
7040
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
7076
7041
  }
7077
7042
  }
7078
7043
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
@@ -7306,16 +7271,11 @@ class AzureReservationAPI extends coreClient__namespace.ServiceClient {
7306
7271
  return tslib.__asyncGenerator(this, arguments, function* getCatalogPagingAll_1() {
7307
7272
  var _a, e_1, _b, _c;
7308
7273
  try {
7309
- for (var _d = true, _e = tslib.__asyncValues(this.getCatalogPagingPage(subscriptionId, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
7274
+ for (var _d = true, _e = tslib.__asyncValues(this.getCatalogPagingPage(subscriptionId, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
7310
7275
  _c = _f.value;
7311
7276
  _d = false;
7312
- try {
7313
- const page = _c;
7314
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
7315
- }
7316
- finally {
7317
- _d = true;
7318
- }
7277
+ const page = _c;
7278
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
7319
7279
  }
7320
7280
  }
7321
7281
  catch (e_1_1) { e_1 = { error: e_1_1 }; }