@azure/arm-reservations 7.2.1-alpha.20230202.1 → 8.0.0-alpha.20230210.2
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 +71 -8
- package/LICENSE +1 -1
- package/dist/index.js +942 -224
- 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/calculateExchangePostSample.js +22 -2
- package/dist-esm/samples-dev/calculateExchangePostSample.js.map +1 -1
- package/dist-esm/samples-dev/calculateRefundPostSample.js +10 -3
- package/dist-esm/samples-dev/calculateRefundPostSample.js.map +1 -1
- package/dist-esm/samples-dev/exchangePostSample.js +9 -2
- package/dist-esm/samples-dev/exchangePostSample.js.map +1 -1
- package/dist-esm/samples-dev/getAppliedReservationListSample.js +9 -2
- package/dist-esm/samples-dev/getAppliedReservationListSample.js.map +1 -1
- package/dist-esm/samples-dev/getCatalogSample.js +26 -5
- package/dist-esm/samples-dev/getCatalogSample.js.map +1 -1
- package/dist-esm/samples-dev/operationListSample.js +9 -2
- package/dist-esm/samples-dev/operationListSample.js.map +1 -1
- package/dist-esm/samples-dev/quotaCreateOrUpdateSample.js +10 -3
- package/dist-esm/samples-dev/quotaCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/quotaGetSample.js +8 -1
- package/dist-esm/samples-dev/quotaGetSample.js.map +1 -1
- package/dist-esm/samples-dev/quotaListSample.js +9 -2
- package/dist-esm/samples-dev/quotaListSample.js.map +1 -1
- package/dist-esm/samples-dev/quotaRequestStatusGetSample.js +10 -3
- package/dist-esm/samples-dev/quotaRequestStatusGetSample.js.map +1 -1
- package/dist-esm/samples-dev/quotaRequestStatusListSample.js +8 -1
- package/dist-esm/samples-dev/quotaRequestStatusListSample.js.map +1 -1
- package/dist-esm/samples-dev/quotaUpdateSample.js +8 -1
- package/dist-esm/samples-dev/quotaUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/reservationArchiveSample.js +9 -2
- package/dist-esm/samples-dev/reservationArchiveSample.js.map +1 -1
- package/dist-esm/samples-dev/reservationAvailableScopesSample.js +11 -4
- package/dist-esm/samples-dev/reservationAvailableScopesSample.js.map +1 -1
- package/dist-esm/samples-dev/reservationGetSample.js +11 -4
- package/dist-esm/samples-dev/reservationGetSample.js.map +1 -1
- package/dist-esm/samples-dev/reservationListAllSample.js +10 -3
- package/dist-esm/samples-dev/reservationListAllSample.js.map +1 -1
- package/dist-esm/samples-dev/reservationListRevisionsSample.js +11 -4
- package/dist-esm/samples-dev/reservationListRevisionsSample.js.map +1 -1
- package/dist-esm/samples-dev/reservationListSample.js +9 -2
- package/dist-esm/samples-dev/reservationListSample.js.map +1 -1
- package/dist-esm/samples-dev/reservationMergeSample.js +9 -2
- package/dist-esm/samples-dev/reservationMergeSample.js.map +1 -1
- package/dist-esm/samples-dev/reservationOrderCalculateSample.js +10 -3
- package/dist-esm/samples-dev/reservationOrderCalculateSample.js.map +1 -1
- package/dist-esm/samples-dev/reservationOrderChangeDirectorySample.js +9 -2
- package/dist-esm/samples-dev/reservationOrderChangeDirectorySample.js.map +1 -1
- package/dist-esm/samples-dev/reservationOrderGetSample.js +12 -5
- package/dist-esm/samples-dev/reservationOrderGetSample.js.map +1 -1
- package/dist-esm/samples-dev/reservationOrderListSample.js +9 -2
- package/dist-esm/samples-dev/reservationOrderListSample.js.map +1 -1
- package/dist-esm/samples-dev/reservationOrderPurchaseSample.js +9 -2
- package/dist-esm/samples-dev/reservationOrderPurchaseSample.js.map +1 -1
- package/dist-esm/samples-dev/reservationSplitSample.js +9 -2
- package/dist-esm/samples-dev/reservationSplitSample.js.map +1 -1
- package/dist-esm/samples-dev/reservationUnarchiveSample.js +11 -4
- package/dist-esm/samples-dev/reservationUnarchiveSample.js.map +1 -1
- package/dist-esm/samples-dev/reservationUpdateSample.js +9 -2
- package/dist-esm/samples-dev/reservationUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/returnPostSample.js +14 -7
- package/dist-esm/samples-dev/returnPostSample.js.map +1 -1
- package/dist-esm/src/azureReservationAPI.d.ts +18 -2
- package/dist-esm/src/azureReservationAPI.d.ts.map +1 -1
- package/dist-esm/src/azureReservationAPI.js +101 -15
- package/dist-esm/src/azureReservationAPI.js.map +1 -1
- package/dist-esm/src/index.d.ts +1 -0
- package/dist-esm/src/index.d.ts.map +1 -1
- package/dist-esm/src/index.js +1 -0
- package/dist-esm/src/index.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +372 -101
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +26 -0
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +14 -1
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +510 -70
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +2 -1
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +18 -9
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/operation.d.ts.map +1 -1
- package/dist-esm/src/operations/operation.js +19 -8
- package/dist-esm/src/operations/operation.js.map +1 -1
- package/dist-esm/src/operations/quota.d.ts.map +1 -1
- package/dist-esm/src/operations/quota.js +19 -8
- package/dist-esm/src/operations/quota.js.map +1 -1
- package/dist-esm/src/operations/quotaRequestStatus.d.ts.map +1 -1
- package/dist-esm/src/operations/quotaRequestStatus.js +19 -13
- package/dist-esm/src/operations/quotaRequestStatus.js.map +1 -1
- package/dist-esm/src/operations/reservation.d.ts +17 -17
- package/dist-esm/src/operations/reservation.d.ts.map +1 -1
- package/dist-esm/src/operations/reservation.js +83 -59
- package/dist-esm/src/operations/reservation.js.map +1 -1
- package/dist-esm/src/operations/reservationOrder.d.ts.map +1 -1
- package/dist-esm/src/operations/reservationOrder.js +20 -9
- package/dist-esm/src/operations/reservationOrder.js.map +1 -1
- package/dist-esm/src/operations/return.d.ts +10 -2
- package/dist-esm/src/operations/return.d.ts.map +1 -1
- package/dist-esm/src/operations/return.js +61 -3
- package/dist-esm/src/operations/return.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/reservation.d.ts +15 -15
- package/dist-esm/src/operationsInterfaces/reservation.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/return.d.ts +10 -2
- package/dist-esm/src/operationsInterfaces/return.d.ts.map +1 -1
- package/dist-esm/src/pagingHelper.d.ts +13 -0
- package/dist-esm/src/pagingHelper.d.ts.map +1 -0
- package/dist-esm/src/pagingHelper.js +32 -0
- package/dist-esm/src/pagingHelper.js.map +1 -0
- package/package.json +6 -4
- package/review/arm-reservations.api.md +194 -94
- package/src/azureReservationAPI.ts +119 -15
- package/src/index.ts +1 -0
- package/src/models/index.ts +397 -107
- package/src/models/mappers.ts +536 -71
- package/src/models/parameters.ts +19 -9
- package/src/operations/operation.ts +21 -9
- package/src/operations/quota.ts +23 -15
- package/src/operations/quotaRequestStatus.ts +23 -20
- package/src/operations/reservation.ts +97 -69
- package/src/operations/reservationOrder.ts +23 -11
- package/src/operations/return.ts +82 -4
- package/src/operationsInterfaces/reservation.ts +15 -15
- package/src/operationsInterfaces/return.ts +16 -2
- package/src/pagingHelper.ts +39 -0
- package/types/arm-reservations.d.ts +432 -109
- package/types/tsdoc-metadata.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,15 +1,78 @@
|
|
|
1
1
|
# Release History
|
|
2
|
+
|
|
3
|
+
## 8.0.0 (2023-02-01)
|
|
4
|
+
|
|
5
|
+
**Features**
|
|
2
6
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
- Added operation Return.beginPost
|
|
8
|
+
- Added operation Return.beginPostAndWait
|
|
9
|
+
- Added Interface AppliedScopeProperties
|
|
10
|
+
- Added Interface CatalogsResult
|
|
11
|
+
- Added Interface Commitment
|
|
12
|
+
- Added Interface GetCatalogNextOptionalParams
|
|
13
|
+
- Added Interface ProxyResource
|
|
14
|
+
- Added Interface ReservationMergeHeaders
|
|
15
|
+
- Added Interface ReservationOrderPurchaseHeaders
|
|
16
|
+
- Added Interface ReservationSplitHeaders
|
|
17
|
+
- Added Interface ReservationSwapProperties
|
|
18
|
+
- Added Interface ReservationUpdateHeaders
|
|
19
|
+
- Added Interface Resource
|
|
20
|
+
- Added Interface SavingsPlanPurchaseRequest
|
|
21
|
+
- Added Interface SavingsPlanToPurchaseCalculateExchange
|
|
22
|
+
- Added Interface SavingsPlanToPurchaseExchange
|
|
23
|
+
- Added Type Alias BillingPlan
|
|
24
|
+
- Added Type Alias CommitmentGrain
|
|
25
|
+
- Added Type Alias GetCatalogNextResponse
|
|
26
|
+
- Added Type Alias SavingsPlanTerm
|
|
27
|
+
- Interface CalculateExchangeRequestProperties has a new optional parameter savingsPlansToPurchase
|
|
28
|
+
- Interface CalculateExchangeResponseProperties has a new optional parameter savingsPlansToPurchase
|
|
29
|
+
- Interface ExchangeResponseProperties has a new optional parameter savingsPlansToPurchase
|
|
30
|
+
- Interface GetCatalogOptionalParams has a new optional parameter filter
|
|
31
|
+
- Interface GetCatalogOptionalParams has a new optional parameter skip
|
|
32
|
+
- Interface GetCatalogOptionalParams has a new optional parameter take
|
|
33
|
+
- Interface Patch has a new optional parameter appliedScopeProperties
|
|
34
|
+
- Interface Patch has a new optional parameter reviewDateTime
|
|
35
|
+
- Interface PurchaseRequest has a new optional parameter appliedScopeProperties
|
|
36
|
+
- Interface PurchaseRequest has a new optional parameter reviewDateTime
|
|
37
|
+
- Interface ReservationOrderResponse has a new optional parameter expiryDateTime
|
|
38
|
+
- Interface ReservationOrderResponse has a new optional parameter reviewDateTime
|
|
39
|
+
- Interface ReservationsProperties has a new optional parameter appliedScopeProperties
|
|
40
|
+
- Interface ReservationsProperties has a new optional parameter expiryDateTime
|
|
41
|
+
- Interface ReservationsProperties has a new optional parameter purchaseDateTime
|
|
42
|
+
- Interface ReservationsProperties has a new optional parameter reviewDateTime
|
|
43
|
+
- Interface ReservationsProperties has a new optional parameter swapProperties
|
|
44
|
+
- Interface ReservationSummary has a new optional parameter noBenefitCount
|
|
45
|
+
- Interface ReservationSummary has a new optional parameter warningCount
|
|
46
|
+
- Interface ReturnPostOptionalParams has a new optional parameter resumeFrom
|
|
47
|
+
- Interface ReturnPostOptionalParams has a new optional parameter updateIntervalInMs
|
|
48
|
+
- Added Enum KnownBillingPlan
|
|
49
|
+
- Added Enum KnownCommitmentGrain
|
|
50
|
+
- Added Enum KnownSavingsPlanTerm
|
|
51
|
+
- Enum KnownAppliedScopeType has a new value ManagementGroup
|
|
52
|
+
- Enum KnownDisplayProvisioningState has a new value NoBenefit
|
|
53
|
+
- Enum KnownDisplayProvisioningState has a new value Warning
|
|
54
|
+
- Added function getContinuationToken
|
|
55
|
+
- Interface QuotaRequestStatusListNextOptionalParams no longer has parameter filter
|
|
56
|
+
- Interface QuotaRequestStatusListNextOptionalParams no longer has parameter skiptoken
|
|
57
|
+
- Interface QuotaRequestStatusListNextOptionalParams no longer has parameter top
|
|
58
|
+
- Interface ReservationListAllNextOptionalParams no longer has parameter filter
|
|
59
|
+
- Interface ReservationListAllNextOptionalParams no longer has parameter orderby
|
|
60
|
+
- Interface ReservationListAllNextOptionalParams no longer has parameter refreshSummary
|
|
61
|
+
- Interface ReservationListAllNextOptionalParams no longer has parameter selectedState
|
|
62
|
+
- Interface ReservationListAllNextOptionalParams no longer has parameter skiptoken
|
|
63
|
+
- Interface ReservationListAllNextOptionalParams no longer has parameter take
|
|
64
|
+
- Interface ReservationResponse no longer has parameter id
|
|
65
|
+
- Interface ReservationResponse no longer has parameter name
|
|
66
|
+
- Interface ReservationResponse no longer has parameter systemData
|
|
67
|
+
- Interface ReservationResponse no longer has parameter type
|
|
10
68
|
|
|
11
|
-
|
|
69
|
+
**Breaking Changes**
|
|
12
70
|
|
|
71
|
+
- Removed operation Return.post
|
|
72
|
+
- Operation Reservation.listRevisions has a new signature
|
|
73
|
+
- Operation Reservation.get has a new signature
|
|
74
|
+
|
|
75
|
+
|
|
13
76
|
## 7.2.0 (2022-09-19)
|
|
14
77
|
|
|
15
78
|
**Features**
|
package/LICENSE
CHANGED