@tennac-booking/sdk 1.0.131 → 1.0.133
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/.openapi-generator/FILES +337 -361
- package/README.md +6 -30
- package/api.ts +325 -1422
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +322 -1375
- package/dist/api.js +19 -128
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +322 -1375
- package/dist/esm/api.js +15 -124
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/EventBookingResponse.md +2 -0
- package/docs/EventBookingResponsePaymentPerPlayersInner.md +30 -0
- package/docs/SubscriptionPlanDiscountUpdateRequest.md +36 -0
- package/docs/{UpdatePlanRequest.md → SubscriptionPlanDiscountUpdateRequestValidFrom.md} +3 -7
- package/docs/SubscriptionPlanResponse.md +2 -0
- package/docs/SubscriptionsManagerApi.md +7 -7
- package/docs/UpdateSubscriptionPlanRequest.md +34 -0
- package/index.ts +1 -1
- package/package.json +1 -1
- package/docs/StripeStripeDeletedProduct.md +0 -25
- package/docs/StripeStripePrice.md +0 -63
- package/docs/StripeStripePriceBillingScheme.md +0 -10
- package/docs/StripeStripePriceCurrencyOptions.md +0 -28
- package/docs/StripeStripePriceCurrencyOptionsCustomUnitAmount.md +0 -24
- package/docs/StripeStripePriceCurrencyOptionsTaxBehavior.md +0 -12
- package/docs/StripeStripePriceCurrencyOptionsTier.md +0 -28
- package/docs/StripeStripePriceCustomUnitAmount.md +0 -24
- package/docs/StripeStripePriceProduct.md +0 -59
- package/docs/StripeStripePriceRecurring.md +0 -28
- package/docs/StripeStripePriceRecurringInterval.md +0 -14
- package/docs/StripeStripePriceRecurringUsageType.md +0 -10
- package/docs/StripeStripePriceTaxBehavior.md +0 -12
- package/docs/StripeStripePriceTier.md +0 -28
- package/docs/StripeStripePriceTiersMode.md +0 -10
- package/docs/StripeStripePriceTransformQuantity.md +0 -22
- package/docs/StripeStripePriceTransformQuantityRound.md +0 -10
- package/docs/StripeStripePriceType.md +0 -10
- package/docs/StripeStripeProduct.md +0 -59
- package/docs/StripeStripeProductDefaultPrice.md +0 -63
- package/docs/StripeStripeProductMarketingFeature.md +0 -20
- package/docs/StripeStripeProductPackageDimensions.md +0 -26
- package/docs/StripeStripeProductTaxCode.md +0 -27
- package/docs/StripeStripeProductType.md +0 -10
- package/docs/StripeStripeResponseStripeStripePrice.md +0 -64
- package/docs/StripeStripeResponseStripeStripePriceAllOfLastResponse.md +0 -30
- package/docs/StripeStripeTaxCode.md +0 -27
package/dist/esm/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* openapi.json
|
|
3
3
|
* Pandook API Documentation
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.
|
|
5
|
+
* The version of the OpenAPI document: 1.0.132
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4529,6 +4529,12 @@ export interface EventBookingResponse {
|
|
|
4529
4529
|
* @memberof EventBookingResponse
|
|
4530
4530
|
*/
|
|
4531
4531
|
'players': Array<EventBookingResponsePlayersInner>;
|
|
4532
|
+
/**
|
|
4533
|
+
*
|
|
4534
|
+
* @type {Array<EventBookingResponsePaymentPerPlayersInner>}
|
|
4535
|
+
* @memberof EventBookingResponse
|
|
4536
|
+
*/
|
|
4537
|
+
'paymentPerPlayers'?: Array<EventBookingResponsePaymentPerPlayersInner>;
|
|
4532
4538
|
/**
|
|
4533
4539
|
*
|
|
4534
4540
|
* @type {string}
|
|
@@ -4560,6 +4566,49 @@ export interface EventBookingResponse {
|
|
|
4560
4566
|
*/
|
|
4561
4567
|
'updatedAt': string;
|
|
4562
4568
|
}
|
|
4569
|
+
/**
|
|
4570
|
+
*
|
|
4571
|
+
* @export
|
|
4572
|
+
* @interface EventBookingResponsePaymentPerPlayersInner
|
|
4573
|
+
*/
|
|
4574
|
+
export interface EventBookingResponsePaymentPerPlayersInner {
|
|
4575
|
+
/**
|
|
4576
|
+
*
|
|
4577
|
+
* @type {number}
|
|
4578
|
+
* @memberof EventBookingResponsePaymentPerPlayersInner
|
|
4579
|
+
*/
|
|
4580
|
+
'amount'?: number | null;
|
|
4581
|
+
/**
|
|
4582
|
+
*
|
|
4583
|
+
* @type {EventBookingResponsePlayersInnerInvoiceStatus}
|
|
4584
|
+
* @memberof EventBookingResponsePaymentPerPlayersInner
|
|
4585
|
+
*/
|
|
4586
|
+
'status'?: EventBookingResponsePlayersInnerInvoiceStatus | null;
|
|
4587
|
+
/**
|
|
4588
|
+
*
|
|
4589
|
+
* @type {string}
|
|
4590
|
+
* @memberof EventBookingResponsePaymentPerPlayersInner
|
|
4591
|
+
*/
|
|
4592
|
+
'photo'?: string | null;
|
|
4593
|
+
/**
|
|
4594
|
+
*
|
|
4595
|
+
* @type {string}
|
|
4596
|
+
* @memberof EventBookingResponsePaymentPerPlayersInner
|
|
4597
|
+
*/
|
|
4598
|
+
'lastName'?: string | null;
|
|
4599
|
+
/**
|
|
4600
|
+
*
|
|
4601
|
+
* @type {string}
|
|
4602
|
+
* @memberof EventBookingResponsePaymentPerPlayersInner
|
|
4603
|
+
*/
|
|
4604
|
+
'firstName'?: string | null;
|
|
4605
|
+
/**
|
|
4606
|
+
*
|
|
4607
|
+
* @type {string}
|
|
4608
|
+
* @memberof EventBookingResponsePaymentPerPlayersInner
|
|
4609
|
+
*/
|
|
4610
|
+
'id': string;
|
|
4611
|
+
}
|
|
4563
4612
|
/**
|
|
4564
4613
|
*
|
|
4565
4614
|
* @export
|
|
@@ -8940,1456 +8989,318 @@ export interface StaffUserProfileResponse {
|
|
|
8940
8989
|
'creditOnMyClub'?: number;
|
|
8941
8990
|
}
|
|
8942
8991
|
/**
|
|
8943
|
-
*
|
|
8992
|
+
*
|
|
8944
8993
|
* @export
|
|
8945
|
-
* @interface
|
|
8994
|
+
* @interface SubscribeRequestBody
|
|
8946
8995
|
*/
|
|
8947
|
-
export interface
|
|
8996
|
+
export interface SubscribeRequestBody {
|
|
8948
8997
|
/**
|
|
8949
|
-
*
|
|
8998
|
+
*
|
|
8950
8999
|
* @type {string}
|
|
8951
|
-
* @memberof
|
|
9000
|
+
* @memberof SubscribeRequestBody
|
|
8952
9001
|
*/
|
|
8953
|
-
'
|
|
9002
|
+
'clubId': string;
|
|
8954
9003
|
/**
|
|
8955
|
-
*
|
|
9004
|
+
*
|
|
8956
9005
|
* @type {string}
|
|
8957
|
-
* @memberof
|
|
9006
|
+
* @memberof SubscribeRequestBody
|
|
8958
9007
|
*/
|
|
8959
|
-
'
|
|
9008
|
+
'priceId': string;
|
|
8960
9009
|
/**
|
|
8961
|
-
*
|
|
9010
|
+
*
|
|
8962
9011
|
* @type {boolean}
|
|
8963
|
-
* @memberof
|
|
9012
|
+
* @memberof SubscribeRequestBody
|
|
8964
9013
|
*/
|
|
8965
|
-
'
|
|
9014
|
+
'useDefaultPaymentMethod'?: boolean;
|
|
8966
9015
|
}
|
|
8967
|
-
export declare const StripeStripeDeletedProductObjectEnum: {
|
|
8968
|
-
readonly Product: "product";
|
|
8969
|
-
};
|
|
8970
|
-
export type StripeStripeDeletedProductObjectEnum = typeof StripeStripeDeletedProductObjectEnum[keyof typeof StripeStripeDeletedProductObjectEnum];
|
|
8971
9016
|
/**
|
|
8972
|
-
*
|
|
9017
|
+
*
|
|
8973
9018
|
* @export
|
|
8974
|
-
* @interface
|
|
9019
|
+
* @interface SubscriberPrice
|
|
8975
9020
|
*/
|
|
8976
|
-
export interface
|
|
9021
|
+
export interface SubscriberPrice {
|
|
8977
9022
|
/**
|
|
8978
|
-
*
|
|
9023
|
+
*
|
|
8979
9024
|
* @type {string}
|
|
8980
|
-
* @memberof
|
|
9025
|
+
* @memberof SubscriberPrice
|
|
8981
9026
|
*/
|
|
8982
|
-
'
|
|
9027
|
+
'subscriptionPlanId': string;
|
|
8983
9028
|
/**
|
|
8984
|
-
*
|
|
8985
|
-
* @type {
|
|
8986
|
-
* @memberof
|
|
9029
|
+
*
|
|
9030
|
+
* @type {number}
|
|
9031
|
+
* @memberof SubscriberPrice
|
|
8987
9032
|
*/
|
|
8988
|
-
'
|
|
9033
|
+
'amount': number;
|
|
9034
|
+
}
|
|
9035
|
+
/**
|
|
9036
|
+
*
|
|
9037
|
+
* @export
|
|
9038
|
+
* @interface SubscriptionInfo
|
|
9039
|
+
*/
|
|
9040
|
+
export interface SubscriptionInfo {
|
|
8989
9041
|
/**
|
|
8990
|
-
*
|
|
8991
|
-
* @type {
|
|
8992
|
-
* @memberof
|
|
9042
|
+
*
|
|
9043
|
+
* @type {string}
|
|
9044
|
+
* @memberof SubscriptionInfo
|
|
8993
9045
|
*/
|
|
8994
|
-
'
|
|
9046
|
+
'subscriptionPlanName'?: string;
|
|
8995
9047
|
/**
|
|
8996
9048
|
*
|
|
8997
|
-
* @type {
|
|
8998
|
-
* @memberof
|
|
9049
|
+
* @type {string}
|
|
9050
|
+
* @memberof SubscriptionInfo
|
|
8999
9051
|
*/
|
|
9000
|
-
'
|
|
9052
|
+
'subscriptionDescription'?: string;
|
|
9001
9053
|
/**
|
|
9002
|
-
*
|
|
9054
|
+
*
|
|
9003
9055
|
* @type {number}
|
|
9004
|
-
* @memberof
|
|
9056
|
+
* @memberof SubscriptionInfo
|
|
9005
9057
|
*/
|
|
9006
|
-
'
|
|
9058
|
+
'reducedAmountInCents'?: number;
|
|
9059
|
+
}
|
|
9060
|
+
/**
|
|
9061
|
+
*
|
|
9062
|
+
* @export
|
|
9063
|
+
* @interface SubscriptionMutationResponse
|
|
9064
|
+
*/
|
|
9065
|
+
export interface SubscriptionMutationResponse {
|
|
9007
9066
|
/**
|
|
9008
|
-
*
|
|
9009
|
-
* @type {string}
|
|
9010
|
-
* @memberof
|
|
9067
|
+
* Construct a type with a set of properties K of type T
|
|
9068
|
+
* @type {{ [key: string]: any; }}
|
|
9069
|
+
* @memberof SubscriptionMutationResponse
|
|
9011
9070
|
*/
|
|
9012
|
-
'
|
|
9071
|
+
'subscription': {
|
|
9072
|
+
[key: string]: any;
|
|
9073
|
+
};
|
|
9074
|
+
}
|
|
9075
|
+
/**
|
|
9076
|
+
*
|
|
9077
|
+
* @export
|
|
9078
|
+
* @interface SubscriptionPlanDiscountResponse
|
|
9079
|
+
*/
|
|
9080
|
+
export interface SubscriptionPlanDiscountResponse {
|
|
9013
9081
|
/**
|
|
9014
|
-
*
|
|
9015
|
-
* @type {
|
|
9016
|
-
* @memberof
|
|
9082
|
+
*
|
|
9083
|
+
* @type {DiscountType}
|
|
9084
|
+
* @memberof SubscriptionPlanDiscountResponse
|
|
9017
9085
|
*/
|
|
9018
|
-
'
|
|
9019
|
-
[key: string]: StripeStripePriceCurrencyOptions;
|
|
9020
|
-
};
|
|
9086
|
+
'type': DiscountType;
|
|
9021
9087
|
/**
|
|
9022
|
-
*
|
|
9023
|
-
* @type {
|
|
9024
|
-
* @memberof
|
|
9088
|
+
*
|
|
9089
|
+
* @type {number}
|
|
9090
|
+
* @memberof SubscriptionPlanDiscountResponse
|
|
9025
9091
|
*/
|
|
9026
|
-
'
|
|
9092
|
+
'percentage'?: number;
|
|
9027
9093
|
/**
|
|
9028
|
-
*
|
|
9029
|
-
* @type {
|
|
9030
|
-
* @memberof
|
|
9094
|
+
*
|
|
9095
|
+
* @type {number}
|
|
9096
|
+
* @memberof SubscriptionPlanDiscountResponse
|
|
9031
9097
|
*/
|
|
9032
|
-
'
|
|
9098
|
+
'maxDiscountAmountInCents'?: number;
|
|
9033
9099
|
/**
|
|
9034
|
-
*
|
|
9035
|
-
* @type {
|
|
9036
|
-
* @memberof
|
|
9100
|
+
*
|
|
9101
|
+
* @type {string}
|
|
9102
|
+
* @memberof SubscriptionPlanDiscountResponse
|
|
9037
9103
|
*/
|
|
9038
|
-
'
|
|
9104
|
+
'validFrom'?: string;
|
|
9039
9105
|
/**
|
|
9040
|
-
*
|
|
9106
|
+
*
|
|
9041
9107
|
* @type {string}
|
|
9042
|
-
* @memberof
|
|
9108
|
+
* @memberof SubscriptionPlanDiscountResponse
|
|
9043
9109
|
*/
|
|
9044
|
-
'
|
|
9110
|
+
'validTo'?: string;
|
|
9045
9111
|
/**
|
|
9046
|
-
*
|
|
9047
|
-
* @type {
|
|
9048
|
-
* @memberof
|
|
9112
|
+
*
|
|
9113
|
+
* @type {Array<string>}
|
|
9114
|
+
* @memberof SubscriptionPlanDiscountResponse
|
|
9049
9115
|
*/
|
|
9050
|
-
'
|
|
9051
|
-
[key: string]: string;
|
|
9052
|
-
};
|
|
9116
|
+
'offPeakRuleNames'?: Array<string>;
|
|
9053
9117
|
/**
|
|
9054
|
-
*
|
|
9055
|
-
* @type {
|
|
9056
|
-
* @memberof
|
|
9118
|
+
*
|
|
9119
|
+
* @type {Array<OffPeakRule>}
|
|
9120
|
+
* @memberof SubscriptionPlanDiscountResponse
|
|
9057
9121
|
*/
|
|
9058
|
-
'
|
|
9122
|
+
'offPeakRules'?: Array<OffPeakRule>;
|
|
9059
9123
|
/**
|
|
9060
9124
|
*
|
|
9061
|
-
* @type {
|
|
9062
|
-
* @memberof
|
|
9125
|
+
* @type {boolean}
|
|
9126
|
+
* @memberof SubscriptionPlanDiscountResponse
|
|
9063
9127
|
*/
|
|
9064
|
-
'
|
|
9128
|
+
'bookingFree'?: boolean;
|
|
9129
|
+
}
|
|
9130
|
+
/**
|
|
9131
|
+
*
|
|
9132
|
+
* @export
|
|
9133
|
+
* @interface SubscriptionPlanDiscountUpdateRequest
|
|
9134
|
+
*/
|
|
9135
|
+
export interface SubscriptionPlanDiscountUpdateRequest {
|
|
9065
9136
|
/**
|
|
9066
|
-
*
|
|
9067
|
-
* @type {
|
|
9068
|
-
* @memberof
|
|
9137
|
+
*
|
|
9138
|
+
* @type {DiscountType}
|
|
9139
|
+
* @memberof SubscriptionPlanDiscountUpdateRequest
|
|
9069
9140
|
*/
|
|
9070
|
-
'
|
|
9141
|
+
'type': DiscountType;
|
|
9071
9142
|
/**
|
|
9072
|
-
*
|
|
9073
|
-
* @type {
|
|
9074
|
-
* @memberof
|
|
9143
|
+
*
|
|
9144
|
+
* @type {number}
|
|
9145
|
+
* @memberof SubscriptionPlanDiscountUpdateRequest
|
|
9075
9146
|
*/
|
|
9076
|
-
'
|
|
9147
|
+
'percentage'?: number;
|
|
9077
9148
|
/**
|
|
9078
|
-
*
|
|
9079
|
-
* @type {
|
|
9080
|
-
* @memberof
|
|
9149
|
+
*
|
|
9150
|
+
* @type {number}
|
|
9151
|
+
* @memberof SubscriptionPlanDiscountUpdateRequest
|
|
9081
9152
|
*/
|
|
9082
|
-
'
|
|
9153
|
+
'maxDiscountAmountInCents'?: number;
|
|
9083
9154
|
/**
|
|
9084
|
-
*
|
|
9085
|
-
* @type {
|
|
9086
|
-
* @memberof
|
|
9155
|
+
*
|
|
9156
|
+
* @type {SubscriptionPlanDiscountUpdateRequestValidFrom}
|
|
9157
|
+
* @memberof SubscriptionPlanDiscountUpdateRequest
|
|
9087
9158
|
*/
|
|
9088
|
-
'
|
|
9159
|
+
'validFrom'?: SubscriptionPlanDiscountUpdateRequestValidFrom;
|
|
9089
9160
|
/**
|
|
9090
|
-
*
|
|
9091
|
-
* @type {
|
|
9092
|
-
* @memberof
|
|
9161
|
+
*
|
|
9162
|
+
* @type {SubscriptionPlanDiscountUpdateRequestValidFrom}
|
|
9163
|
+
* @memberof SubscriptionPlanDiscountUpdateRequest
|
|
9093
9164
|
*/
|
|
9094
|
-
'
|
|
9165
|
+
'validTo'?: SubscriptionPlanDiscountUpdateRequestValidFrom;
|
|
9095
9166
|
/**
|
|
9096
9167
|
*
|
|
9097
|
-
* @type {
|
|
9098
|
-
* @memberof
|
|
9168
|
+
* @type {Array<string>}
|
|
9169
|
+
* @memberof SubscriptionPlanDiscountUpdateRequest
|
|
9099
9170
|
*/
|
|
9100
|
-
'
|
|
9171
|
+
'offPeakRuleNames'?: Array<string>;
|
|
9101
9172
|
/**
|
|
9102
|
-
*
|
|
9103
|
-
* @type {
|
|
9104
|
-
* @memberof
|
|
9173
|
+
*
|
|
9174
|
+
* @type {Array<OffPeakRule>}
|
|
9175
|
+
* @memberof SubscriptionPlanDiscountUpdateRequest
|
|
9105
9176
|
*/
|
|
9106
|
-
'
|
|
9177
|
+
'offPeakRules'?: Array<OffPeakRule>;
|
|
9107
9178
|
/**
|
|
9108
|
-
*
|
|
9109
|
-
* @type {string}
|
|
9110
|
-
* @memberof
|
|
9179
|
+
*
|
|
9180
|
+
* @type {Array<string>}
|
|
9181
|
+
* @memberof SubscriptionPlanDiscountUpdateRequest
|
|
9182
|
+
*/
|
|
9183
|
+
'pricingPeriodIds'?: Array<string>;
|
|
9184
|
+
/**
|
|
9185
|
+
*
|
|
9186
|
+
* @type {boolean}
|
|
9187
|
+
* @memberof SubscriptionPlanDiscountUpdateRequest
|
|
9111
9188
|
*/
|
|
9112
|
-
'
|
|
9189
|
+
'bookingFree'?: boolean;
|
|
9113
9190
|
}
|
|
9114
|
-
export declare const StripeStripePriceObjectEnum: {
|
|
9115
|
-
readonly Price: "price";
|
|
9116
|
-
};
|
|
9117
|
-
export type StripeStripePriceObjectEnum = typeof StripeStripePriceObjectEnum[keyof typeof StripeStripePriceObjectEnum];
|
|
9118
9191
|
/**
|
|
9119
9192
|
*
|
|
9120
9193
|
* @export
|
|
9121
|
-
* @
|
|
9194
|
+
* @interface SubscriptionPlanDiscountUpdateRequestValidFrom
|
|
9122
9195
|
*/
|
|
9123
|
-
export
|
|
9124
|
-
|
|
9125
|
-
readonly Tiered: "tiered";
|
|
9126
|
-
};
|
|
9127
|
-
export type StripeStripePriceBillingScheme = typeof StripeStripePriceBillingScheme[keyof typeof StripeStripePriceBillingScheme];
|
|
9196
|
+
export interface SubscriptionPlanDiscountUpdateRequestValidFrom {
|
|
9197
|
+
}
|
|
9128
9198
|
/**
|
|
9129
9199
|
*
|
|
9130
9200
|
* @export
|
|
9131
|
-
* @interface
|
|
9201
|
+
* @interface SubscriptionPlanResponse
|
|
9132
9202
|
*/
|
|
9133
|
-
export interface
|
|
9203
|
+
export interface SubscriptionPlanResponse {
|
|
9134
9204
|
/**
|
|
9135
|
-
*
|
|
9136
|
-
* @type {
|
|
9137
|
-
* @memberof
|
|
9205
|
+
*
|
|
9206
|
+
* @type {string}
|
|
9207
|
+
* @memberof SubscriptionPlanResponse
|
|
9138
9208
|
*/
|
|
9139
|
-
'
|
|
9209
|
+
'planId': string;
|
|
9140
9210
|
/**
|
|
9141
|
-
*
|
|
9142
|
-
* @type {
|
|
9143
|
-
* @memberof
|
|
9211
|
+
*
|
|
9212
|
+
* @type {string}
|
|
9213
|
+
* @memberof SubscriptionPlanResponse
|
|
9144
9214
|
*/
|
|
9145
|
-
'
|
|
9215
|
+
'productId': string;
|
|
9146
9216
|
/**
|
|
9147
|
-
*
|
|
9148
|
-
* @type {
|
|
9149
|
-
* @memberof
|
|
9217
|
+
*
|
|
9218
|
+
* @type {string}
|
|
9219
|
+
* @memberof SubscriptionPlanResponse
|
|
9150
9220
|
*/
|
|
9151
|
-
'
|
|
9221
|
+
'productName': string;
|
|
9152
9222
|
/**
|
|
9153
|
-
*
|
|
9154
|
-
* @type {
|
|
9155
|
-
* @memberof
|
|
9223
|
+
*
|
|
9224
|
+
* @type {boolean}
|
|
9225
|
+
* @memberof SubscriptionPlanResponse
|
|
9156
9226
|
*/
|
|
9157
|
-
'
|
|
9227
|
+
'productActive': boolean;
|
|
9158
9228
|
/**
|
|
9159
|
-
*
|
|
9229
|
+
*
|
|
9160
9230
|
* @type {string}
|
|
9161
|
-
* @memberof
|
|
9231
|
+
* @memberof SubscriptionPlanResponse
|
|
9162
9232
|
*/
|
|
9163
|
-
'
|
|
9164
|
-
}
|
|
9165
|
-
/**
|
|
9166
|
-
*
|
|
9167
|
-
* @export
|
|
9168
|
-
* @interface StripeStripePriceCurrencyOptionsCustomUnitAmount
|
|
9169
|
-
*/
|
|
9170
|
-
export interface StripeStripePriceCurrencyOptionsCustomUnitAmount {
|
|
9233
|
+
'priceId': string;
|
|
9171
9234
|
/**
|
|
9172
|
-
*
|
|
9235
|
+
*
|
|
9173
9236
|
* @type {number}
|
|
9174
|
-
* @memberof
|
|
9237
|
+
* @memberof SubscriptionPlanResponse
|
|
9175
9238
|
*/
|
|
9176
|
-
'
|
|
9239
|
+
'amountInCents'?: number;
|
|
9177
9240
|
/**
|
|
9178
|
-
*
|
|
9179
|
-
* @type {
|
|
9180
|
-
* @memberof
|
|
9241
|
+
*
|
|
9242
|
+
* @type {string}
|
|
9243
|
+
* @memberof SubscriptionPlanResponse
|
|
9244
|
+
*/
|
|
9245
|
+
'currency': string;
|
|
9246
|
+
/**
|
|
9247
|
+
*
|
|
9248
|
+
* @type {Array<PlanPrice>}
|
|
9249
|
+
* @memberof SubscriptionPlanResponse
|
|
9181
9250
|
*/
|
|
9182
|
-
'
|
|
9251
|
+
'prices': Array<PlanPrice>;
|
|
9183
9252
|
/**
|
|
9184
|
-
*
|
|
9185
|
-
* @type {
|
|
9186
|
-
* @memberof
|
|
9253
|
+
*
|
|
9254
|
+
* @type {PlanInterval}
|
|
9255
|
+
* @memberof SubscriptionPlanResponse
|
|
9256
|
+
*/
|
|
9257
|
+
'interval'?: PlanInterval;
|
|
9258
|
+
/**
|
|
9259
|
+
*
|
|
9260
|
+
* @type {boolean}
|
|
9261
|
+
* @memberof SubscriptionPlanResponse
|
|
9187
9262
|
*/
|
|
9188
|
-
'
|
|
9263
|
+
'priceActive': boolean;
|
|
9264
|
+
/**
|
|
9265
|
+
*
|
|
9266
|
+
* @type {string}
|
|
9267
|
+
* @memberof SubscriptionPlanResponse
|
|
9268
|
+
*/
|
|
9269
|
+
'description'?: string;
|
|
9270
|
+
/**
|
|
9271
|
+
*
|
|
9272
|
+
* @type {SubscriptionPlanDiscountResponse}
|
|
9273
|
+
* @memberof SubscriptionPlanResponse
|
|
9274
|
+
*/
|
|
9275
|
+
'discount'?: SubscriptionPlanDiscountResponse;
|
|
9189
9276
|
}
|
|
9190
9277
|
/**
|
|
9191
9278
|
*
|
|
9192
9279
|
* @export
|
|
9193
9280
|
* @enum {string}
|
|
9194
9281
|
*/
|
|
9195
|
-
export declare const
|
|
9196
|
-
readonly
|
|
9197
|
-
readonly
|
|
9198
|
-
readonly
|
|
9282
|
+
export declare const SurfaceType: {
|
|
9283
|
+
readonly Clay: "clay";
|
|
9284
|
+
readonly Grass: "grass";
|
|
9285
|
+
readonly Hard: "hard";
|
|
9199
9286
|
};
|
|
9200
|
-
export type
|
|
9287
|
+
export type SurfaceType = typeof SurfaceType[keyof typeof SurfaceType];
|
|
9201
9288
|
/**
|
|
9202
9289
|
*
|
|
9203
9290
|
* @export
|
|
9204
|
-
* @interface
|
|
9291
|
+
* @interface Team
|
|
9205
9292
|
*/
|
|
9206
|
-
export interface
|
|
9207
|
-
/**
|
|
9208
|
-
* Price for the entire tier.
|
|
9209
|
-
* @type {number}
|
|
9210
|
-
* @memberof StripeStripePriceCurrencyOptionsTier
|
|
9211
|
-
*/
|
|
9212
|
-
'flat_amount': number | null;
|
|
9293
|
+
export interface Team {
|
|
9213
9294
|
/**
|
|
9214
|
-
*
|
|
9295
|
+
*
|
|
9215
9296
|
* @type {string}
|
|
9216
|
-
* @memberof
|
|
9297
|
+
* @memberof Team
|
|
9217
9298
|
*/
|
|
9218
|
-
'
|
|
9299
|
+
'name': string;
|
|
9219
9300
|
/**
|
|
9220
|
-
*
|
|
9221
|
-
* @type {
|
|
9222
|
-
* @memberof
|
|
9223
|
-
*/
|
|
9224
|
-
'unit_amount': number | null;
|
|
9225
|
-
/**
|
|
9226
|
-
* Same as `unit_amount`, but contains a decimal value with at most 12 decimal places.
|
|
9227
|
-
* @type {string}
|
|
9228
|
-
* @memberof StripeStripePriceCurrencyOptionsTier
|
|
9229
|
-
*/
|
|
9230
|
-
'unit_amount_decimal': string | null;
|
|
9231
|
-
/**
|
|
9232
|
-
* Up to and including to this quantity will be contained in the tier.
|
|
9233
|
-
* @type {number}
|
|
9234
|
-
* @memberof StripeStripePriceCurrencyOptionsTier
|
|
9235
|
-
*/
|
|
9236
|
-
'up_to': number | null;
|
|
9237
|
-
}
|
|
9238
|
-
/**
|
|
9239
|
-
*
|
|
9240
|
-
* @export
|
|
9241
|
-
* @interface StripeStripePriceCustomUnitAmount
|
|
9242
|
-
*/
|
|
9243
|
-
export interface StripeStripePriceCustomUnitAmount {
|
|
9244
|
-
/**
|
|
9245
|
-
* The maximum unit amount the customer can specify for this item.
|
|
9246
|
-
* @type {number}
|
|
9247
|
-
* @memberof StripeStripePriceCustomUnitAmount
|
|
9248
|
-
*/
|
|
9249
|
-
'maximum': number | null;
|
|
9250
|
-
/**
|
|
9251
|
-
* The minimum unit amount the customer can specify for this item. Must be at least the minimum charge amount.
|
|
9252
|
-
* @type {number}
|
|
9253
|
-
* @memberof StripeStripePriceCustomUnitAmount
|
|
9254
|
-
*/
|
|
9255
|
-
'minimum': number | null;
|
|
9256
|
-
/**
|
|
9257
|
-
* The starting unit amount which can be updated by the customer.
|
|
9258
|
-
* @type {number}
|
|
9259
|
-
* @memberof StripeStripePriceCustomUnitAmount
|
|
9260
|
-
*/
|
|
9261
|
-
'preset': number | null;
|
|
9262
|
-
}
|
|
9263
|
-
/**
|
|
9264
|
-
* The ID of the product this price is associated with.
|
|
9265
|
-
* @export
|
|
9266
|
-
* @interface StripeStripePriceProduct
|
|
9267
|
-
*/
|
|
9268
|
-
export interface StripeStripePriceProduct {
|
|
9269
|
-
/**
|
|
9270
|
-
* Unique identifier for the object.
|
|
9271
|
-
* @type {string}
|
|
9272
|
-
* @memberof StripeStripePriceProduct
|
|
9273
|
-
*/
|
|
9274
|
-
'id': string;
|
|
9275
|
-
/**
|
|
9276
|
-
* String representing the object\'s type. Objects of the same type share the same value.
|
|
9277
|
-
* @type {string}
|
|
9278
|
-
* @memberof StripeStripePriceProduct
|
|
9279
|
-
*/
|
|
9280
|
-
'object': StripeStripePriceProductObjectEnum;
|
|
9281
|
-
/**
|
|
9282
|
-
* Whether the product is currently available for purchase.
|
|
9283
|
-
* @type {boolean}
|
|
9284
|
-
* @memberof StripeStripePriceProduct
|
|
9285
|
-
*/
|
|
9286
|
-
'active': boolean;
|
|
9287
|
-
/**
|
|
9288
|
-
* Time at which the object was created. Measured in seconds since the Unix epoch.
|
|
9289
|
-
* @type {number}
|
|
9290
|
-
* @memberof StripeStripePriceProduct
|
|
9291
|
-
*/
|
|
9292
|
-
'created': number;
|
|
9293
|
-
/**
|
|
9294
|
-
*
|
|
9295
|
-
* @type {StripeStripeProductDefaultPrice}
|
|
9296
|
-
* @memberof StripeStripePriceProduct
|
|
9297
|
-
*/
|
|
9298
|
-
'default_price'?: StripeStripeProductDefaultPrice | null;
|
|
9299
|
-
/**
|
|
9300
|
-
* Always true for a deleted object
|
|
9301
|
-
* @type {boolean}
|
|
9302
|
-
* @memberof StripeStripePriceProduct
|
|
9303
|
-
*/
|
|
9304
|
-
'deleted': boolean;
|
|
9305
|
-
/**
|
|
9306
|
-
* The product\'s description, meant to be displayable to the customer. Use this field to optionally store a long form explanation of the product being sold for your own rendering purposes.
|
|
9307
|
-
* @type {string}
|
|
9308
|
-
* @memberof StripeStripePriceProduct
|
|
9309
|
-
*/
|
|
9310
|
-
'description': string | null;
|
|
9311
|
-
/**
|
|
9312
|
-
* A list of up to 8 URLs of images for this product, meant to be displayable to the customer.
|
|
9313
|
-
* @type {Array<string>}
|
|
9314
|
-
* @memberof StripeStripePriceProduct
|
|
9315
|
-
*/
|
|
9316
|
-
'images': Array<string>;
|
|
9317
|
-
/**
|
|
9318
|
-
* Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
|
9319
|
-
* @type {boolean}
|
|
9320
|
-
* @memberof StripeStripePriceProduct
|
|
9321
|
-
*/
|
|
9322
|
-
'livemode': boolean;
|
|
9323
|
-
/**
|
|
9324
|
-
* A list of up to 15 marketing features for this product. These are displayed in [pricing tables](https://stripe.com/docs/payments/checkout/pricing-table).
|
|
9325
|
-
* @type {Array<StripeStripeProductMarketingFeature>}
|
|
9326
|
-
* @memberof StripeStripePriceProduct
|
|
9327
|
-
*/
|
|
9328
|
-
'marketing_features': Array<StripeStripeProductMarketingFeature>;
|
|
9329
|
-
/**
|
|
9330
|
-
* Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
|
|
9331
|
-
* @type {{ [key: string]: string; }}
|
|
9332
|
-
* @memberof StripeStripePriceProduct
|
|
9333
|
-
*/
|
|
9334
|
-
'metadata': {
|
|
9335
|
-
[key: string]: string;
|
|
9336
|
-
};
|
|
9337
|
-
/**
|
|
9338
|
-
* The product\'s name, meant to be displayable to the customer.
|
|
9339
|
-
* @type {string}
|
|
9340
|
-
* @memberof StripeStripePriceProduct
|
|
9341
|
-
*/
|
|
9342
|
-
'name': string;
|
|
9343
|
-
/**
|
|
9344
|
-
* The dimensions of this product for shipping purposes.
|
|
9345
|
-
* @type {StripeStripeProductPackageDimensions}
|
|
9346
|
-
* @memberof StripeStripePriceProduct
|
|
9347
|
-
*/
|
|
9348
|
-
'package_dimensions': StripeStripeProductPackageDimensions | null;
|
|
9349
|
-
/**
|
|
9350
|
-
* Whether this product is shipped (i.e., physical goods).
|
|
9351
|
-
* @type {boolean}
|
|
9352
|
-
* @memberof StripeStripePriceProduct
|
|
9353
|
-
*/
|
|
9354
|
-
'shippable': boolean | null;
|
|
9355
|
-
/**
|
|
9356
|
-
* Extra information about a product which will appear on your customer\'s credit card statement. In the case that multiple products are billed at once, the first statement descriptor will be used. Only used for subscription payments.
|
|
9357
|
-
* @type {string}
|
|
9358
|
-
* @memberof StripeStripePriceProduct
|
|
9359
|
-
*/
|
|
9360
|
-
'statement_descriptor'?: string | null;
|
|
9361
|
-
/**
|
|
9362
|
-
*
|
|
9363
|
-
* @type {StripeStripeProductTaxCode}
|
|
9364
|
-
* @memberof StripeStripePriceProduct
|
|
9365
|
-
*/
|
|
9366
|
-
'tax_code': StripeStripeProductTaxCode | null;
|
|
9367
|
-
/**
|
|
9368
|
-
*
|
|
9369
|
-
* @type {StripeStripeProductType}
|
|
9370
|
-
* @memberof StripeStripePriceProduct
|
|
9371
|
-
*/
|
|
9372
|
-
'type': StripeStripeProductType;
|
|
9373
|
-
/**
|
|
9374
|
-
* A label that represents units of this product. When set, this will be included in customers\' receipts, invoices, Checkout, and the customer portal.
|
|
9375
|
-
* @type {string}
|
|
9376
|
-
* @memberof StripeStripePriceProduct
|
|
9377
|
-
*/
|
|
9378
|
-
'unit_label'?: string | null;
|
|
9379
|
-
/**
|
|
9380
|
-
* Time at which the object was last updated. Measured in seconds since the Unix epoch.
|
|
9381
|
-
* @type {number}
|
|
9382
|
-
* @memberof StripeStripePriceProduct
|
|
9383
|
-
*/
|
|
9384
|
-
'updated': number;
|
|
9385
|
-
/**
|
|
9386
|
-
* A URL of a publicly-accessible webpage for this product.
|
|
9387
|
-
* @type {string}
|
|
9388
|
-
* @memberof StripeStripePriceProduct
|
|
9389
|
-
*/
|
|
9390
|
-
'url': string | null;
|
|
9391
|
-
}
|
|
9392
|
-
export declare const StripeStripePriceProductObjectEnum: {
|
|
9393
|
-
readonly Product: "product";
|
|
9394
|
-
};
|
|
9395
|
-
export type StripeStripePriceProductObjectEnum = typeof StripeStripePriceProductObjectEnum[keyof typeof StripeStripePriceProductObjectEnum];
|
|
9396
|
-
/**
|
|
9397
|
-
*
|
|
9398
|
-
* @export
|
|
9399
|
-
* @interface StripeStripePriceRecurring
|
|
9400
|
-
*/
|
|
9401
|
-
export interface StripeStripePriceRecurring {
|
|
9402
|
-
/**
|
|
9403
|
-
*
|
|
9404
|
-
* @type {StripeStripePriceRecurringInterval}
|
|
9405
|
-
* @memberof StripeStripePriceRecurring
|
|
9406
|
-
*/
|
|
9407
|
-
'interval': StripeStripePriceRecurringInterval;
|
|
9408
|
-
/**
|
|
9409
|
-
* The number of intervals (specified in the `interval` attribute) between subscription billings. For example, `interval=month` and `interval_count=3` bills every 3 months.
|
|
9410
|
-
* @type {number}
|
|
9411
|
-
* @memberof StripeStripePriceRecurring
|
|
9412
|
-
*/
|
|
9413
|
-
'interval_count': number;
|
|
9414
|
-
/**
|
|
9415
|
-
* The meter tracking the usage of a metered price
|
|
9416
|
-
* @type {string}
|
|
9417
|
-
* @memberof StripeStripePriceRecurring
|
|
9418
|
-
*/
|
|
9419
|
-
'meter': string | null;
|
|
9420
|
-
/**
|
|
9421
|
-
* Default number of trial days when subscribing a customer to this price using [`trial_from_plan=true`](https://stripe.com/docs/api#create_subscription-trial_from_plan).
|
|
9422
|
-
* @type {number}
|
|
9423
|
-
* @memberof StripeStripePriceRecurring
|
|
9424
|
-
*/
|
|
9425
|
-
'trial_period_days': number | null;
|
|
9426
|
-
/**
|
|
9427
|
-
*
|
|
9428
|
-
* @type {StripeStripePriceRecurringUsageType}
|
|
9429
|
-
* @memberof StripeStripePriceRecurring
|
|
9430
|
-
*/
|
|
9431
|
-
'usage_type': StripeStripePriceRecurringUsageType;
|
|
9432
|
-
}
|
|
9433
|
-
/**
|
|
9434
|
-
*
|
|
9435
|
-
* @export
|
|
9436
|
-
* @enum {string}
|
|
9437
|
-
*/
|
|
9438
|
-
export declare const StripeStripePriceRecurringInterval: {
|
|
9439
|
-
readonly Day: "day";
|
|
9440
|
-
readonly Month: "month";
|
|
9441
|
-
readonly Week: "week";
|
|
9442
|
-
readonly Year: "year";
|
|
9443
|
-
};
|
|
9444
|
-
export type StripeStripePriceRecurringInterval = typeof StripeStripePriceRecurringInterval[keyof typeof StripeStripePriceRecurringInterval];
|
|
9445
|
-
/**
|
|
9446
|
-
*
|
|
9447
|
-
* @export
|
|
9448
|
-
* @enum {string}
|
|
9449
|
-
*/
|
|
9450
|
-
export declare const StripeStripePriceRecurringUsageType: {
|
|
9451
|
-
readonly Licensed: "licensed";
|
|
9452
|
-
readonly Metered: "metered";
|
|
9453
|
-
};
|
|
9454
|
-
export type StripeStripePriceRecurringUsageType = typeof StripeStripePriceRecurringUsageType[keyof typeof StripeStripePriceRecurringUsageType];
|
|
9455
|
-
/**
|
|
9456
|
-
*
|
|
9457
|
-
* @export
|
|
9458
|
-
* @enum {string}
|
|
9459
|
-
*/
|
|
9460
|
-
export declare const StripeStripePriceTaxBehavior: {
|
|
9461
|
-
readonly Exclusive: "exclusive";
|
|
9462
|
-
readonly Inclusive: "inclusive";
|
|
9463
|
-
readonly Unspecified: "unspecified";
|
|
9464
|
-
};
|
|
9465
|
-
export type StripeStripePriceTaxBehavior = typeof StripeStripePriceTaxBehavior[keyof typeof StripeStripePriceTaxBehavior];
|
|
9466
|
-
/**
|
|
9467
|
-
*
|
|
9468
|
-
* @export
|
|
9469
|
-
* @interface StripeStripePriceTier
|
|
9470
|
-
*/
|
|
9471
|
-
export interface StripeStripePriceTier {
|
|
9472
|
-
/**
|
|
9473
|
-
* Price for the entire tier.
|
|
9474
|
-
* @type {number}
|
|
9475
|
-
* @memberof StripeStripePriceTier
|
|
9476
|
-
*/
|
|
9477
|
-
'flat_amount': number | null;
|
|
9478
|
-
/**
|
|
9479
|
-
* Same as `flat_amount`, but contains a decimal value with at most 12 decimal places.
|
|
9480
|
-
* @type {string}
|
|
9481
|
-
* @memberof StripeStripePriceTier
|
|
9482
|
-
*/
|
|
9483
|
-
'flat_amount_decimal': string | null;
|
|
9484
|
-
/**
|
|
9485
|
-
* Per unit price for units relevant to the tier.
|
|
9486
|
-
* @type {number}
|
|
9487
|
-
* @memberof StripeStripePriceTier
|
|
9488
|
-
*/
|
|
9489
|
-
'unit_amount': number | null;
|
|
9490
|
-
/**
|
|
9491
|
-
* Same as `unit_amount`, but contains a decimal value with at most 12 decimal places.
|
|
9492
|
-
* @type {string}
|
|
9493
|
-
* @memberof StripeStripePriceTier
|
|
9494
|
-
*/
|
|
9495
|
-
'unit_amount_decimal': string | null;
|
|
9496
|
-
/**
|
|
9497
|
-
* Up to and including to this quantity will be contained in the tier.
|
|
9498
|
-
* @type {number}
|
|
9499
|
-
* @memberof StripeStripePriceTier
|
|
9500
|
-
*/
|
|
9501
|
-
'up_to': number | null;
|
|
9502
|
-
}
|
|
9503
|
-
/**
|
|
9504
|
-
*
|
|
9505
|
-
* @export
|
|
9506
|
-
* @enum {string}
|
|
9507
|
-
*/
|
|
9508
|
-
export declare const StripeStripePriceTiersMode: {
|
|
9509
|
-
readonly Graduated: "graduated";
|
|
9510
|
-
readonly Volume: "volume";
|
|
9511
|
-
};
|
|
9512
|
-
export type StripeStripePriceTiersMode = typeof StripeStripePriceTiersMode[keyof typeof StripeStripePriceTiersMode];
|
|
9513
|
-
/**
|
|
9514
|
-
*
|
|
9515
|
-
* @export
|
|
9516
|
-
* @interface StripeStripePriceTransformQuantity
|
|
9517
|
-
*/
|
|
9518
|
-
export interface StripeStripePriceTransformQuantity {
|
|
9519
|
-
/**
|
|
9520
|
-
* Divide usage by this number.
|
|
9521
|
-
* @type {number}
|
|
9522
|
-
* @memberof StripeStripePriceTransformQuantity
|
|
9523
|
-
*/
|
|
9524
|
-
'divide_by': number;
|
|
9525
|
-
/**
|
|
9526
|
-
*
|
|
9527
|
-
* @type {StripeStripePriceTransformQuantityRound}
|
|
9528
|
-
* @memberof StripeStripePriceTransformQuantity
|
|
9529
|
-
*/
|
|
9530
|
-
'round': StripeStripePriceTransformQuantityRound;
|
|
9531
|
-
}
|
|
9532
|
-
/**
|
|
9533
|
-
*
|
|
9534
|
-
* @export
|
|
9535
|
-
* @enum {string}
|
|
9536
|
-
*/
|
|
9537
|
-
export declare const StripeStripePriceTransformQuantityRound: {
|
|
9538
|
-
readonly Down: "down";
|
|
9539
|
-
readonly Up: "up";
|
|
9540
|
-
};
|
|
9541
|
-
export type StripeStripePriceTransformQuantityRound = typeof StripeStripePriceTransformQuantityRound[keyof typeof StripeStripePriceTransformQuantityRound];
|
|
9542
|
-
/**
|
|
9543
|
-
*
|
|
9544
|
-
* @export
|
|
9545
|
-
* @enum {string}
|
|
9546
|
-
*/
|
|
9547
|
-
export declare const StripeStripePriceType: {
|
|
9548
|
-
readonly OneTime: "one_time";
|
|
9549
|
-
readonly Recurring: "recurring";
|
|
9550
|
-
};
|
|
9551
|
-
export type StripeStripePriceType = typeof StripeStripePriceType[keyof typeof StripeStripePriceType];
|
|
9552
|
-
/**
|
|
9553
|
-
* Products describe the specific goods or services you offer to your customers. For example, you might offer a Standard and Premium version of your goods or service; each version would be a separate Product. They can be used in conjunction with [Prices](https://stripe.com/docs/api#prices) to configure pricing in Payment Links, Checkout, and Subscriptions. Related guides: [Set up a subscription](https://stripe.com/docs/billing/subscriptions/set-up-subscription), [share a Payment Link](https://stripe.com/docs/payment-links), [accept payments with Checkout](https://stripe.com/docs/payments/accept-a-payment#create-product-prices-upfront), and more about [Products and Prices](https://stripe.com/docs/products-prices/overview)
|
|
9554
|
-
* @export
|
|
9555
|
-
* @interface StripeStripeProduct
|
|
9556
|
-
*/
|
|
9557
|
-
export interface StripeStripeProduct {
|
|
9558
|
-
/**
|
|
9559
|
-
* Unique identifier for the object.
|
|
9560
|
-
* @type {string}
|
|
9561
|
-
* @memberof StripeStripeProduct
|
|
9562
|
-
*/
|
|
9563
|
-
'id': string;
|
|
9564
|
-
/**
|
|
9565
|
-
* String representing the object\'s type. Objects of the same type share the same value.
|
|
9566
|
-
* @type {string}
|
|
9567
|
-
* @memberof StripeStripeProduct
|
|
9568
|
-
*/
|
|
9569
|
-
'object': StripeStripeProductObjectEnum;
|
|
9570
|
-
/**
|
|
9571
|
-
* Whether the product is currently available for purchase.
|
|
9572
|
-
* @type {boolean}
|
|
9573
|
-
* @memberof StripeStripeProduct
|
|
9574
|
-
*/
|
|
9575
|
-
'active': boolean;
|
|
9576
|
-
/**
|
|
9577
|
-
* Time at which the object was created. Measured in seconds since the Unix epoch.
|
|
9578
|
-
* @type {number}
|
|
9579
|
-
* @memberof StripeStripeProduct
|
|
9580
|
-
*/
|
|
9581
|
-
'created': number;
|
|
9582
|
-
/**
|
|
9583
|
-
*
|
|
9584
|
-
* @type {StripeStripeProductDefaultPrice}
|
|
9585
|
-
* @memberof StripeStripeProduct
|
|
9586
|
-
*/
|
|
9587
|
-
'default_price'?: StripeStripeProductDefaultPrice | null;
|
|
9588
|
-
/**
|
|
9589
|
-
* Always true for a deleted object
|
|
9590
|
-
* @type {any}
|
|
9591
|
-
* @memberof StripeStripeProduct
|
|
9592
|
-
*/
|
|
9593
|
-
'deleted'?: any;
|
|
9594
|
-
/**
|
|
9595
|
-
* The product\'s description, meant to be displayable to the customer. Use this field to optionally store a long form explanation of the product being sold for your own rendering purposes.
|
|
9596
|
-
* @type {string}
|
|
9597
|
-
* @memberof StripeStripeProduct
|
|
9598
|
-
*/
|
|
9599
|
-
'description': string | null;
|
|
9600
|
-
/**
|
|
9601
|
-
* A list of up to 8 URLs of images for this product, meant to be displayable to the customer.
|
|
9602
|
-
* @type {Array<string>}
|
|
9603
|
-
* @memberof StripeStripeProduct
|
|
9604
|
-
*/
|
|
9605
|
-
'images': Array<string>;
|
|
9606
|
-
/**
|
|
9607
|
-
* Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
|
9608
|
-
* @type {boolean}
|
|
9609
|
-
* @memberof StripeStripeProduct
|
|
9610
|
-
*/
|
|
9611
|
-
'livemode': boolean;
|
|
9612
|
-
/**
|
|
9613
|
-
* A list of up to 15 marketing features for this product. These are displayed in [pricing tables](https://stripe.com/docs/payments/checkout/pricing-table).
|
|
9614
|
-
* @type {Array<StripeStripeProductMarketingFeature>}
|
|
9615
|
-
* @memberof StripeStripeProduct
|
|
9616
|
-
*/
|
|
9617
|
-
'marketing_features': Array<StripeStripeProductMarketingFeature>;
|
|
9618
|
-
/**
|
|
9619
|
-
* Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
|
|
9620
|
-
* @type {{ [key: string]: string; }}
|
|
9621
|
-
* @memberof StripeStripeProduct
|
|
9622
|
-
*/
|
|
9623
|
-
'metadata': {
|
|
9624
|
-
[key: string]: string;
|
|
9625
|
-
};
|
|
9626
|
-
/**
|
|
9627
|
-
* The product\'s name, meant to be displayable to the customer.
|
|
9628
|
-
* @type {string}
|
|
9629
|
-
* @memberof StripeStripeProduct
|
|
9630
|
-
*/
|
|
9631
|
-
'name': string;
|
|
9632
|
-
/**
|
|
9633
|
-
* The dimensions of this product for shipping purposes.
|
|
9634
|
-
* @type {StripeStripeProductPackageDimensions}
|
|
9635
|
-
* @memberof StripeStripeProduct
|
|
9636
|
-
*/
|
|
9637
|
-
'package_dimensions': StripeStripeProductPackageDimensions | null;
|
|
9638
|
-
/**
|
|
9639
|
-
* Whether this product is shipped (i.e., physical goods).
|
|
9640
|
-
* @type {boolean}
|
|
9641
|
-
* @memberof StripeStripeProduct
|
|
9642
|
-
*/
|
|
9643
|
-
'shippable': boolean | null;
|
|
9644
|
-
/**
|
|
9645
|
-
* Extra information about a product which will appear on your customer\'s credit card statement. In the case that multiple products are billed at once, the first statement descriptor will be used. Only used for subscription payments.
|
|
9646
|
-
* @type {string}
|
|
9647
|
-
* @memberof StripeStripeProduct
|
|
9648
|
-
*/
|
|
9649
|
-
'statement_descriptor'?: string | null;
|
|
9650
|
-
/**
|
|
9651
|
-
*
|
|
9652
|
-
* @type {StripeStripeProductTaxCode}
|
|
9653
|
-
* @memberof StripeStripeProduct
|
|
9654
|
-
*/
|
|
9655
|
-
'tax_code': StripeStripeProductTaxCode | null;
|
|
9656
|
-
/**
|
|
9657
|
-
*
|
|
9658
|
-
* @type {StripeStripeProductType}
|
|
9659
|
-
* @memberof StripeStripeProduct
|
|
9660
|
-
*/
|
|
9661
|
-
'type': StripeStripeProductType;
|
|
9662
|
-
/**
|
|
9663
|
-
* A label that represents units of this product. When set, this will be included in customers\' receipts, invoices, Checkout, and the customer portal.
|
|
9664
|
-
* @type {string}
|
|
9665
|
-
* @memberof StripeStripeProduct
|
|
9666
|
-
*/
|
|
9667
|
-
'unit_label'?: string | null;
|
|
9668
|
-
/**
|
|
9669
|
-
* Time at which the object was last updated. Measured in seconds since the Unix epoch.
|
|
9670
|
-
* @type {number}
|
|
9671
|
-
* @memberof StripeStripeProduct
|
|
9672
|
-
*/
|
|
9673
|
-
'updated': number;
|
|
9674
|
-
/**
|
|
9675
|
-
* A URL of a publicly-accessible webpage for this product.
|
|
9676
|
-
* @type {string}
|
|
9677
|
-
* @memberof StripeStripeProduct
|
|
9678
|
-
*/
|
|
9679
|
-
'url': string | null;
|
|
9680
|
-
}
|
|
9681
|
-
export declare const StripeStripeProductObjectEnum: {
|
|
9682
|
-
readonly Product: "product";
|
|
9683
|
-
};
|
|
9684
|
-
export type StripeStripeProductObjectEnum = typeof StripeStripeProductObjectEnum[keyof typeof StripeStripeProductObjectEnum];
|
|
9685
|
-
/**
|
|
9686
|
-
* The ID of the [Price](https://stripe.com/docs/api/prices) object that is the default price for this product.
|
|
9687
|
-
* @export
|
|
9688
|
-
* @interface StripeStripeProductDefaultPrice
|
|
9689
|
-
*/
|
|
9690
|
-
export interface StripeStripeProductDefaultPrice {
|
|
9691
|
-
/**
|
|
9692
|
-
* Unique identifier for the object.
|
|
9693
|
-
* @type {string}
|
|
9694
|
-
* @memberof StripeStripeProductDefaultPrice
|
|
9695
|
-
*/
|
|
9696
|
-
'id': string;
|
|
9697
|
-
/**
|
|
9698
|
-
* String representing the object\'s type. Objects of the same type share the same value.
|
|
9699
|
-
* @type {string}
|
|
9700
|
-
* @memberof StripeStripeProductDefaultPrice
|
|
9701
|
-
*/
|
|
9702
|
-
'object': StripeStripeProductDefaultPriceObjectEnum;
|
|
9703
|
-
/**
|
|
9704
|
-
* Whether the price can be used for new purchases.
|
|
9705
|
-
* @type {boolean}
|
|
9706
|
-
* @memberof StripeStripeProductDefaultPrice
|
|
9707
|
-
*/
|
|
9708
|
-
'active': boolean;
|
|
9709
|
-
/**
|
|
9710
|
-
*
|
|
9711
|
-
* @type {StripeStripePriceBillingScheme}
|
|
9712
|
-
* @memberof StripeStripeProductDefaultPrice
|
|
9713
|
-
*/
|
|
9714
|
-
'billing_scheme': StripeStripePriceBillingScheme;
|
|
9715
|
-
/**
|
|
9716
|
-
* Time at which the object was created. Measured in seconds since the Unix epoch.
|
|
9717
|
-
* @type {number}
|
|
9718
|
-
* @memberof StripeStripeProductDefaultPrice
|
|
9719
|
-
*/
|
|
9720
|
-
'created': number;
|
|
9721
|
-
/**
|
|
9722
|
-
* Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
|
|
9723
|
-
* @type {string}
|
|
9724
|
-
* @memberof StripeStripeProductDefaultPrice
|
|
9725
|
-
*/
|
|
9726
|
-
'currency': string;
|
|
9727
|
-
/**
|
|
9728
|
-
* Prices defined in each available currency option. Each key must be a three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html) and a [supported currency](https://stripe.com/docs/currencies).
|
|
9729
|
-
* @type {{ [key: string]: StripeStripePriceCurrencyOptions; }}
|
|
9730
|
-
* @memberof StripeStripeProductDefaultPrice
|
|
9731
|
-
*/
|
|
9732
|
-
'currency_options'?: {
|
|
9733
|
-
[key: string]: StripeStripePriceCurrencyOptions;
|
|
9734
|
-
};
|
|
9735
|
-
/**
|
|
9736
|
-
* When set, provides configuration for the amount to be adjusted by the customer during Checkout Sessions and Payment Links.
|
|
9737
|
-
* @type {StripeStripePriceCustomUnitAmount}
|
|
9738
|
-
* @memberof StripeStripeProductDefaultPrice
|
|
9739
|
-
*/
|
|
9740
|
-
'custom_unit_amount': StripeStripePriceCustomUnitAmount | null;
|
|
9741
|
-
/**
|
|
9742
|
-
* Always true for a deleted object
|
|
9743
|
-
* @type {any}
|
|
9744
|
-
* @memberof StripeStripeProductDefaultPrice
|
|
9745
|
-
*/
|
|
9746
|
-
'deleted'?: any;
|
|
9747
|
-
/**
|
|
9748
|
-
* Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
|
9749
|
-
* @type {boolean}
|
|
9750
|
-
* @memberof StripeStripeProductDefaultPrice
|
|
9751
|
-
*/
|
|
9752
|
-
'livemode': boolean;
|
|
9753
|
-
/**
|
|
9754
|
-
* A lookup key used to retrieve prices dynamically from a static string. This may be up to 200 characters.
|
|
9755
|
-
* @type {string}
|
|
9756
|
-
* @memberof StripeStripeProductDefaultPrice
|
|
9757
|
-
*/
|
|
9758
|
-
'lookup_key': string | null;
|
|
9759
|
-
/**
|
|
9760
|
-
* Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
|
|
9761
|
-
* @type {{ [key: string]: string; }}
|
|
9762
|
-
* @memberof StripeStripeProductDefaultPrice
|
|
9763
|
-
*/
|
|
9764
|
-
'metadata': {
|
|
9765
|
-
[key: string]: string;
|
|
9766
|
-
};
|
|
9767
|
-
/**
|
|
9768
|
-
* A brief description of the price, hidden from customers.
|
|
9769
|
-
* @type {string}
|
|
9770
|
-
* @memberof StripeStripeProductDefaultPrice
|
|
9771
|
-
*/
|
|
9772
|
-
'nickname': string | null;
|
|
9773
|
-
/**
|
|
9774
|
-
*
|
|
9775
|
-
* @type {StripeStripePriceProduct}
|
|
9776
|
-
* @memberof StripeStripeProductDefaultPrice
|
|
9777
|
-
*/
|
|
9778
|
-
'product': StripeStripePriceProduct;
|
|
9779
|
-
/**
|
|
9780
|
-
* The recurring components of a price such as `interval` and `usage_type`.
|
|
9781
|
-
* @type {StripeStripePriceRecurring}
|
|
9782
|
-
* @memberof StripeStripeProductDefaultPrice
|
|
9783
|
-
*/
|
|
9784
|
-
'recurring': StripeStripePriceRecurring | null;
|
|
9785
|
-
/**
|
|
9786
|
-
* Only required if a [default tax behavior](https://stripe.com/docs/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)) was not provided in the Stripe Tax settings. Specifies whether the price is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`. Once specified as either `inclusive` or `exclusive`, it cannot be changed.
|
|
9787
|
-
* @type {StripeStripePriceTaxBehavior}
|
|
9788
|
-
* @memberof StripeStripeProductDefaultPrice
|
|
9789
|
-
*/
|
|
9790
|
-
'tax_behavior': StripeStripePriceTaxBehavior | null;
|
|
9791
|
-
/**
|
|
9792
|
-
* Each element represents a pricing tier. This parameter requires `billing_scheme` to be set to `tiered`. See also the documentation for `billing_scheme`.
|
|
9793
|
-
* @type {Array<StripeStripePriceTier>}
|
|
9794
|
-
* @memberof StripeStripeProductDefaultPrice
|
|
9795
|
-
*/
|
|
9796
|
-
'tiers'?: Array<StripeStripePriceTier>;
|
|
9797
|
-
/**
|
|
9798
|
-
* Defines if the tiering price should be `graduated` or `volume` based. In `volume`-based tiering, the maximum quantity within a period determines the per unit price. In `graduated` tiering, pricing can change as the quantity grows.
|
|
9799
|
-
* @type {StripeStripePriceTiersMode}
|
|
9800
|
-
* @memberof StripeStripeProductDefaultPrice
|
|
9801
|
-
*/
|
|
9802
|
-
'tiers_mode': StripeStripePriceTiersMode | null;
|
|
9803
|
-
/**
|
|
9804
|
-
* Apply a transformation to the reported usage or set quantity before computing the amount billed. Cannot be combined with `tiers`.
|
|
9805
|
-
* @type {StripeStripePriceTransformQuantity}
|
|
9806
|
-
* @memberof StripeStripeProductDefaultPrice
|
|
9807
|
-
*/
|
|
9808
|
-
'transform_quantity': StripeStripePriceTransformQuantity | null;
|
|
9809
|
-
/**
|
|
9810
|
-
*
|
|
9811
|
-
* @type {StripeStripePriceType}
|
|
9812
|
-
* @memberof StripeStripeProductDefaultPrice
|
|
9813
|
-
*/
|
|
9814
|
-
'type': StripeStripePriceType;
|
|
9815
|
-
/**
|
|
9816
|
-
* The unit amount in cents (or local equivalent) to be charged, represented as a whole integer if possible. Only set if `billing_scheme=per_unit`.
|
|
9817
|
-
* @type {number}
|
|
9818
|
-
* @memberof StripeStripeProductDefaultPrice
|
|
9819
|
-
*/
|
|
9820
|
-
'unit_amount': number | null;
|
|
9821
|
-
/**
|
|
9822
|
-
* The unit amount in cents (or local equivalent) to be charged, represented as a decimal string with at most 12 decimal places. Only set if `billing_scheme=per_unit`.
|
|
9823
|
-
* @type {string}
|
|
9824
|
-
* @memberof StripeStripeProductDefaultPrice
|
|
9825
|
-
*/
|
|
9826
|
-
'unit_amount_decimal': string | null;
|
|
9827
|
-
}
|
|
9828
|
-
export declare const StripeStripeProductDefaultPriceObjectEnum: {
|
|
9829
|
-
readonly Price: "price";
|
|
9830
|
-
};
|
|
9831
|
-
export type StripeStripeProductDefaultPriceObjectEnum = typeof StripeStripeProductDefaultPriceObjectEnum[keyof typeof StripeStripeProductDefaultPriceObjectEnum];
|
|
9832
|
-
/**
|
|
9833
|
-
*
|
|
9834
|
-
* @export
|
|
9835
|
-
* @interface StripeStripeProductMarketingFeature
|
|
9836
|
-
*/
|
|
9837
|
-
export interface StripeStripeProductMarketingFeature {
|
|
9838
|
-
/**
|
|
9839
|
-
* The marketing feature name. Up to 80 characters long.
|
|
9840
|
-
* @type {string}
|
|
9841
|
-
* @memberof StripeStripeProductMarketingFeature
|
|
9842
|
-
*/
|
|
9843
|
-
'name'?: string;
|
|
9844
|
-
}
|
|
9845
|
-
/**
|
|
9846
|
-
*
|
|
9847
|
-
* @export
|
|
9848
|
-
* @interface StripeStripeProductPackageDimensions
|
|
9849
|
-
*/
|
|
9850
|
-
export interface StripeStripeProductPackageDimensions {
|
|
9851
|
-
/**
|
|
9852
|
-
* Height, in inches.
|
|
9853
|
-
* @type {number}
|
|
9854
|
-
* @memberof StripeStripeProductPackageDimensions
|
|
9855
|
-
*/
|
|
9856
|
-
'height': number;
|
|
9857
|
-
/**
|
|
9858
|
-
* Length, in inches.
|
|
9859
|
-
* @type {number}
|
|
9860
|
-
* @memberof StripeStripeProductPackageDimensions
|
|
9861
|
-
*/
|
|
9862
|
-
'length': number;
|
|
9863
|
-
/**
|
|
9864
|
-
* Weight, in ounces.
|
|
9865
|
-
* @type {number}
|
|
9866
|
-
* @memberof StripeStripeProductPackageDimensions
|
|
9867
|
-
*/
|
|
9868
|
-
'weight': number;
|
|
9869
|
-
/**
|
|
9870
|
-
* Width, in inches.
|
|
9871
|
-
* @type {number}
|
|
9872
|
-
* @memberof StripeStripeProductPackageDimensions
|
|
9873
|
-
*/
|
|
9874
|
-
'width': number;
|
|
9875
|
-
}
|
|
9876
|
-
/**
|
|
9877
|
-
* A [tax code](https://stripe.com/docs/tax/tax-categories) ID.
|
|
9878
|
-
* @export
|
|
9879
|
-
* @interface StripeStripeProductTaxCode
|
|
9880
|
-
*/
|
|
9881
|
-
export interface StripeStripeProductTaxCode {
|
|
9882
|
-
/**
|
|
9883
|
-
* Unique identifier for the object.
|
|
9884
|
-
* @type {string}
|
|
9885
|
-
* @memberof StripeStripeProductTaxCode
|
|
9886
|
-
*/
|
|
9887
|
-
'id': string;
|
|
9888
|
-
/**
|
|
9889
|
-
* String representing the object\'s type. Objects of the same type share the same value.
|
|
9890
|
-
* @type {string}
|
|
9891
|
-
* @memberof StripeStripeProductTaxCode
|
|
9892
|
-
*/
|
|
9893
|
-
'object': StripeStripeProductTaxCodeObjectEnum;
|
|
9894
|
-
/**
|
|
9895
|
-
* A detailed description of which types of products the tax code represents.
|
|
9896
|
-
* @type {string}
|
|
9897
|
-
* @memberof StripeStripeProductTaxCode
|
|
9898
|
-
*/
|
|
9899
|
-
'description': string;
|
|
9900
|
-
/**
|
|
9901
|
-
* A short name for the tax code.
|
|
9902
|
-
* @type {string}
|
|
9903
|
-
* @memberof StripeStripeProductTaxCode
|
|
9904
|
-
*/
|
|
9905
|
-
'name': string;
|
|
9906
|
-
}
|
|
9907
|
-
export declare const StripeStripeProductTaxCodeObjectEnum: {
|
|
9908
|
-
readonly TaxCode: "tax_code";
|
|
9909
|
-
};
|
|
9910
|
-
export type StripeStripeProductTaxCodeObjectEnum = typeof StripeStripeProductTaxCodeObjectEnum[keyof typeof StripeStripeProductTaxCodeObjectEnum];
|
|
9911
|
-
/**
|
|
9912
|
-
*
|
|
9913
|
-
* @export
|
|
9914
|
-
* @enum {string}
|
|
9915
|
-
*/
|
|
9916
|
-
export declare const StripeStripeProductType: {
|
|
9917
|
-
readonly Good: "good";
|
|
9918
|
-
readonly Service: "service";
|
|
9919
|
-
};
|
|
9920
|
-
export type StripeStripeProductType = typeof StripeStripeProductType[keyof typeof StripeStripeProductType];
|
|
9921
|
-
/**
|
|
9922
|
-
*
|
|
9923
|
-
* @export
|
|
9924
|
-
* @interface StripeStripeResponseStripeStripePrice
|
|
9925
|
-
*/
|
|
9926
|
-
export interface StripeStripeResponseStripeStripePrice {
|
|
9927
|
-
/**
|
|
9928
|
-
* Unique identifier for the object.
|
|
9929
|
-
* @type {string}
|
|
9930
|
-
* @memberof StripeStripeResponseStripeStripePrice
|
|
9931
|
-
*/
|
|
9932
|
-
'id': string;
|
|
9933
|
-
/**
|
|
9934
|
-
* String representing the object\'s type. Objects of the same type share the same value.
|
|
9935
|
-
* @type {string}
|
|
9936
|
-
* @memberof StripeStripeResponseStripeStripePrice
|
|
9937
|
-
*/
|
|
9938
|
-
'object': StripeStripeResponseStripeStripePriceObjectEnum;
|
|
9939
|
-
/**
|
|
9940
|
-
* Whether the price can be used for new purchases.
|
|
9941
|
-
* @type {boolean}
|
|
9942
|
-
* @memberof StripeStripeResponseStripeStripePrice
|
|
9943
|
-
*/
|
|
9944
|
-
'active': boolean;
|
|
9945
|
-
/**
|
|
9946
|
-
*
|
|
9947
|
-
* @type {StripeStripePriceBillingScheme}
|
|
9948
|
-
* @memberof StripeStripeResponseStripeStripePrice
|
|
9949
|
-
*/
|
|
9950
|
-
'billing_scheme': StripeStripePriceBillingScheme;
|
|
9951
|
-
/**
|
|
9952
|
-
* Time at which the object was created. Measured in seconds since the Unix epoch.
|
|
9953
|
-
* @type {number}
|
|
9954
|
-
* @memberof StripeStripeResponseStripeStripePrice
|
|
9955
|
-
*/
|
|
9956
|
-
'created': number;
|
|
9957
|
-
/**
|
|
9958
|
-
* Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
|
|
9959
|
-
* @type {string}
|
|
9960
|
-
* @memberof StripeStripeResponseStripeStripePrice
|
|
9961
|
-
*/
|
|
9962
|
-
'currency': string;
|
|
9963
|
-
/**
|
|
9964
|
-
* Prices defined in each available currency option. Each key must be a three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html) and a [supported currency](https://stripe.com/docs/currencies).
|
|
9965
|
-
* @type {{ [key: string]: StripeStripePriceCurrencyOptions; }}
|
|
9966
|
-
* @memberof StripeStripeResponseStripeStripePrice
|
|
9967
|
-
*/
|
|
9968
|
-
'currency_options'?: {
|
|
9969
|
-
[key: string]: StripeStripePriceCurrencyOptions;
|
|
9970
|
-
};
|
|
9971
|
-
/**
|
|
9972
|
-
* When set, provides configuration for the amount to be adjusted by the customer during Checkout Sessions and Payment Links.
|
|
9973
|
-
* @type {StripeStripePriceCustomUnitAmount}
|
|
9974
|
-
* @memberof StripeStripeResponseStripeStripePrice
|
|
9975
|
-
*/
|
|
9976
|
-
'custom_unit_amount': StripeStripePriceCustomUnitAmount | null;
|
|
9977
|
-
/**
|
|
9978
|
-
* Always true for a deleted object
|
|
9979
|
-
* @type {any}
|
|
9980
|
-
* @memberof StripeStripeResponseStripeStripePrice
|
|
9981
|
-
*/
|
|
9982
|
-
'deleted'?: any;
|
|
9983
|
-
/**
|
|
9984
|
-
* Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
|
9985
|
-
* @type {boolean}
|
|
9986
|
-
* @memberof StripeStripeResponseStripeStripePrice
|
|
9987
|
-
*/
|
|
9988
|
-
'livemode': boolean;
|
|
9989
|
-
/**
|
|
9990
|
-
* A lookup key used to retrieve prices dynamically from a static string. This may be up to 200 characters.
|
|
9991
|
-
* @type {string}
|
|
9992
|
-
* @memberof StripeStripeResponseStripeStripePrice
|
|
9993
|
-
*/
|
|
9994
|
-
'lookup_key': string | null;
|
|
9995
|
-
/**
|
|
9996
|
-
* Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
|
|
9997
|
-
* @type {{ [key: string]: string; }}
|
|
9998
|
-
* @memberof StripeStripeResponseStripeStripePrice
|
|
9999
|
-
*/
|
|
10000
|
-
'metadata': {
|
|
10001
|
-
[key: string]: string;
|
|
10002
|
-
};
|
|
10003
|
-
/**
|
|
10004
|
-
* A brief description of the price, hidden from customers.
|
|
10005
|
-
* @type {string}
|
|
10006
|
-
* @memberof StripeStripeResponseStripeStripePrice
|
|
10007
|
-
*/
|
|
10008
|
-
'nickname': string | null;
|
|
10009
|
-
/**
|
|
10010
|
-
*
|
|
10011
|
-
* @type {StripeStripePriceProduct}
|
|
10012
|
-
* @memberof StripeStripeResponseStripeStripePrice
|
|
10013
|
-
*/
|
|
10014
|
-
'product': StripeStripePriceProduct;
|
|
10015
|
-
/**
|
|
10016
|
-
* The recurring components of a price such as `interval` and `usage_type`.
|
|
10017
|
-
* @type {StripeStripePriceRecurring}
|
|
10018
|
-
* @memberof StripeStripeResponseStripeStripePrice
|
|
10019
|
-
*/
|
|
10020
|
-
'recurring': StripeStripePriceRecurring | null;
|
|
10021
|
-
/**
|
|
10022
|
-
* Only required if a [default tax behavior](https://stripe.com/docs/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)) was not provided in the Stripe Tax settings. Specifies whether the price is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`. Once specified as either `inclusive` or `exclusive`, it cannot be changed.
|
|
10023
|
-
* @type {StripeStripePriceTaxBehavior}
|
|
10024
|
-
* @memberof StripeStripeResponseStripeStripePrice
|
|
10025
|
-
*/
|
|
10026
|
-
'tax_behavior': StripeStripePriceTaxBehavior | null;
|
|
10027
|
-
/**
|
|
10028
|
-
* Each element represents a pricing tier. This parameter requires `billing_scheme` to be set to `tiered`. See also the documentation for `billing_scheme`.
|
|
10029
|
-
* @type {Array<StripeStripePriceTier>}
|
|
10030
|
-
* @memberof StripeStripeResponseStripeStripePrice
|
|
10031
|
-
*/
|
|
10032
|
-
'tiers'?: Array<StripeStripePriceTier>;
|
|
10033
|
-
/**
|
|
10034
|
-
* Defines if the tiering price should be `graduated` or `volume` based. In `volume`-based tiering, the maximum quantity within a period determines the per unit price. In `graduated` tiering, pricing can change as the quantity grows.
|
|
10035
|
-
* @type {StripeStripePriceTiersMode}
|
|
10036
|
-
* @memberof StripeStripeResponseStripeStripePrice
|
|
10037
|
-
*/
|
|
10038
|
-
'tiers_mode': StripeStripePriceTiersMode | null;
|
|
10039
|
-
/**
|
|
10040
|
-
* Apply a transformation to the reported usage or set quantity before computing the amount billed. Cannot be combined with `tiers`.
|
|
10041
|
-
* @type {StripeStripePriceTransformQuantity}
|
|
10042
|
-
* @memberof StripeStripeResponseStripeStripePrice
|
|
10043
|
-
*/
|
|
10044
|
-
'transform_quantity': StripeStripePriceTransformQuantity | null;
|
|
10045
|
-
/**
|
|
10046
|
-
*
|
|
10047
|
-
* @type {StripeStripePriceType}
|
|
10048
|
-
* @memberof StripeStripeResponseStripeStripePrice
|
|
10049
|
-
*/
|
|
10050
|
-
'type': StripeStripePriceType;
|
|
10051
|
-
/**
|
|
10052
|
-
* The unit amount in cents (or local equivalent) to be charged, represented as a whole integer if possible. Only set if `billing_scheme=per_unit`.
|
|
10053
|
-
* @type {number}
|
|
10054
|
-
* @memberof StripeStripeResponseStripeStripePrice
|
|
10055
|
-
*/
|
|
10056
|
-
'unit_amount': number | null;
|
|
10057
|
-
/**
|
|
10058
|
-
* The unit amount in cents (or local equivalent) to be charged, represented as a decimal string with at most 12 decimal places. Only set if `billing_scheme=per_unit`.
|
|
10059
|
-
* @type {string}
|
|
10060
|
-
* @memberof StripeStripeResponseStripeStripePrice
|
|
10061
|
-
*/
|
|
10062
|
-
'unit_amount_decimal': string | null;
|
|
10063
|
-
/**
|
|
10064
|
-
*
|
|
10065
|
-
* @type {StripeStripeResponseStripeStripePriceAllOfLastResponse}
|
|
10066
|
-
* @memberof StripeStripeResponseStripeStripePrice
|
|
10067
|
-
*/
|
|
10068
|
-
'lastResponse': StripeStripeResponseStripeStripePriceAllOfLastResponse;
|
|
10069
|
-
}
|
|
10070
|
-
export declare const StripeStripeResponseStripeStripePriceObjectEnum: {
|
|
10071
|
-
readonly Price: "price";
|
|
10072
|
-
};
|
|
10073
|
-
export type StripeStripeResponseStripeStripePriceObjectEnum = typeof StripeStripeResponseStripeStripePriceObjectEnum[keyof typeof StripeStripeResponseStripeStripePriceObjectEnum];
|
|
10074
|
-
/**
|
|
10075
|
-
*
|
|
10076
|
-
* @export
|
|
10077
|
-
* @interface StripeStripeResponseStripeStripePriceAllOfLastResponse
|
|
10078
|
-
*/
|
|
10079
|
-
export interface StripeStripeResponseStripeStripePriceAllOfLastResponse {
|
|
10080
|
-
/**
|
|
10081
|
-
*
|
|
10082
|
-
* @type {string}
|
|
10083
|
-
* @memberof StripeStripeResponseStripeStripePriceAllOfLastResponse
|
|
10084
|
-
*/
|
|
10085
|
-
'stripeAccount'?: string;
|
|
10086
|
-
/**
|
|
10087
|
-
*
|
|
10088
|
-
* @type {string}
|
|
10089
|
-
* @memberof StripeStripeResponseStripeStripePriceAllOfLastResponse
|
|
10090
|
-
*/
|
|
10091
|
-
'idempotencyKey'?: string;
|
|
10092
|
-
/**
|
|
10093
|
-
*
|
|
10094
|
-
* @type {string}
|
|
10095
|
-
* @memberof StripeStripeResponseStripeStripePriceAllOfLastResponse
|
|
10096
|
-
*/
|
|
10097
|
-
'apiVersion'?: string;
|
|
10098
|
-
/**
|
|
10099
|
-
*
|
|
10100
|
-
* @type {number}
|
|
10101
|
-
* @memberof StripeStripeResponseStripeStripePriceAllOfLastResponse
|
|
10102
|
-
*/
|
|
10103
|
-
'statusCode': number;
|
|
10104
|
-
/**
|
|
10105
|
-
*
|
|
10106
|
-
* @type {string}
|
|
10107
|
-
* @memberof StripeStripeResponseStripeStripePriceAllOfLastResponse
|
|
10108
|
-
*/
|
|
10109
|
-
'requestId': string;
|
|
10110
|
-
/**
|
|
10111
|
-
*
|
|
10112
|
-
* @type {{ [key: string]: string; }}
|
|
10113
|
-
* @memberof StripeStripeResponseStripeStripePriceAllOfLastResponse
|
|
10114
|
-
*/
|
|
10115
|
-
'headers': {
|
|
10116
|
-
[key: string]: string;
|
|
10117
|
-
};
|
|
10118
|
-
}
|
|
10119
|
-
/**
|
|
10120
|
-
* [Tax codes](https://stripe.com/docs/tax/tax-categories) classify goods and services for tax purposes.
|
|
10121
|
-
* @export
|
|
10122
|
-
* @interface StripeStripeTaxCode
|
|
10123
|
-
*/
|
|
10124
|
-
export interface StripeStripeTaxCode {
|
|
10125
|
-
/**
|
|
10126
|
-
* Unique identifier for the object.
|
|
10127
|
-
* @type {string}
|
|
10128
|
-
* @memberof StripeStripeTaxCode
|
|
10129
|
-
*/
|
|
10130
|
-
'id': string;
|
|
10131
|
-
/**
|
|
10132
|
-
* String representing the object\'s type. Objects of the same type share the same value.
|
|
10133
|
-
* @type {string}
|
|
10134
|
-
* @memberof StripeStripeTaxCode
|
|
10135
|
-
*/
|
|
10136
|
-
'object': StripeStripeTaxCodeObjectEnum;
|
|
10137
|
-
/**
|
|
10138
|
-
* A detailed description of which types of products the tax code represents.
|
|
10139
|
-
* @type {string}
|
|
10140
|
-
* @memberof StripeStripeTaxCode
|
|
10141
|
-
*/
|
|
10142
|
-
'description': string;
|
|
10143
|
-
/**
|
|
10144
|
-
* A short name for the tax code.
|
|
10145
|
-
* @type {string}
|
|
10146
|
-
* @memberof StripeStripeTaxCode
|
|
10147
|
-
*/
|
|
10148
|
-
'name': string;
|
|
10149
|
-
}
|
|
10150
|
-
export declare const StripeStripeTaxCodeObjectEnum: {
|
|
10151
|
-
readonly TaxCode: "tax_code";
|
|
10152
|
-
};
|
|
10153
|
-
export type StripeStripeTaxCodeObjectEnum = typeof StripeStripeTaxCodeObjectEnum[keyof typeof StripeStripeTaxCodeObjectEnum];
|
|
10154
|
-
/**
|
|
10155
|
-
*
|
|
10156
|
-
* @export
|
|
10157
|
-
* @interface SubscribeRequestBody
|
|
10158
|
-
*/
|
|
10159
|
-
export interface SubscribeRequestBody {
|
|
10160
|
-
/**
|
|
10161
|
-
*
|
|
10162
|
-
* @type {string}
|
|
10163
|
-
* @memberof SubscribeRequestBody
|
|
10164
|
-
*/
|
|
10165
|
-
'clubId': string;
|
|
10166
|
-
/**
|
|
10167
|
-
*
|
|
10168
|
-
* @type {string}
|
|
10169
|
-
* @memberof SubscribeRequestBody
|
|
10170
|
-
*/
|
|
10171
|
-
'priceId': string;
|
|
10172
|
-
/**
|
|
10173
|
-
*
|
|
10174
|
-
* @type {boolean}
|
|
10175
|
-
* @memberof SubscribeRequestBody
|
|
10176
|
-
*/
|
|
10177
|
-
'useDefaultPaymentMethod'?: boolean;
|
|
10178
|
-
}
|
|
10179
|
-
/**
|
|
10180
|
-
*
|
|
10181
|
-
* @export
|
|
10182
|
-
* @interface SubscriberPrice
|
|
10183
|
-
*/
|
|
10184
|
-
export interface SubscriberPrice {
|
|
10185
|
-
/**
|
|
10186
|
-
*
|
|
10187
|
-
* @type {string}
|
|
10188
|
-
* @memberof SubscriberPrice
|
|
10189
|
-
*/
|
|
10190
|
-
'subscriptionPlanId': string;
|
|
10191
|
-
/**
|
|
10192
|
-
*
|
|
10193
|
-
* @type {number}
|
|
10194
|
-
* @memberof SubscriberPrice
|
|
10195
|
-
*/
|
|
10196
|
-
'amount': number;
|
|
10197
|
-
}
|
|
10198
|
-
/**
|
|
10199
|
-
*
|
|
10200
|
-
* @export
|
|
10201
|
-
* @interface SubscriptionInfo
|
|
10202
|
-
*/
|
|
10203
|
-
export interface SubscriptionInfo {
|
|
10204
|
-
/**
|
|
10205
|
-
*
|
|
10206
|
-
* @type {string}
|
|
10207
|
-
* @memberof SubscriptionInfo
|
|
10208
|
-
*/
|
|
10209
|
-
'subscriptionPlanName'?: string;
|
|
10210
|
-
/**
|
|
10211
|
-
*
|
|
10212
|
-
* @type {string}
|
|
10213
|
-
* @memberof SubscriptionInfo
|
|
10214
|
-
*/
|
|
10215
|
-
'subscriptionDescription'?: string;
|
|
10216
|
-
/**
|
|
10217
|
-
*
|
|
10218
|
-
* @type {number}
|
|
10219
|
-
* @memberof SubscriptionInfo
|
|
10220
|
-
*/
|
|
10221
|
-
'reducedAmountInCents'?: number;
|
|
10222
|
-
}
|
|
10223
|
-
/**
|
|
10224
|
-
*
|
|
10225
|
-
* @export
|
|
10226
|
-
* @interface SubscriptionMutationResponse
|
|
10227
|
-
*/
|
|
10228
|
-
export interface SubscriptionMutationResponse {
|
|
10229
|
-
/**
|
|
10230
|
-
* Construct a type with a set of properties K of type T
|
|
10231
|
-
* @type {{ [key: string]: any; }}
|
|
10232
|
-
* @memberof SubscriptionMutationResponse
|
|
10233
|
-
*/
|
|
10234
|
-
'subscription': {
|
|
10235
|
-
[key: string]: any;
|
|
10236
|
-
};
|
|
10237
|
-
}
|
|
10238
|
-
/**
|
|
10239
|
-
*
|
|
10240
|
-
* @export
|
|
10241
|
-
* @interface SubscriptionPlanDiscountResponse
|
|
10242
|
-
*/
|
|
10243
|
-
export interface SubscriptionPlanDiscountResponse {
|
|
10244
|
-
/**
|
|
10245
|
-
*
|
|
10246
|
-
* @type {DiscountType}
|
|
10247
|
-
* @memberof SubscriptionPlanDiscountResponse
|
|
10248
|
-
*/
|
|
10249
|
-
'type': DiscountType;
|
|
10250
|
-
/**
|
|
10251
|
-
*
|
|
10252
|
-
* @type {number}
|
|
10253
|
-
* @memberof SubscriptionPlanDiscountResponse
|
|
10254
|
-
*/
|
|
10255
|
-
'percentage'?: number;
|
|
10256
|
-
/**
|
|
10257
|
-
*
|
|
10258
|
-
* @type {number}
|
|
10259
|
-
* @memberof SubscriptionPlanDiscountResponse
|
|
10260
|
-
*/
|
|
10261
|
-
'maxDiscountAmountInCents'?: number;
|
|
10262
|
-
/**
|
|
10263
|
-
*
|
|
10264
|
-
* @type {string}
|
|
10265
|
-
* @memberof SubscriptionPlanDiscountResponse
|
|
10266
|
-
*/
|
|
10267
|
-
'validFrom'?: string;
|
|
10268
|
-
/**
|
|
10269
|
-
*
|
|
10270
|
-
* @type {string}
|
|
10271
|
-
* @memberof SubscriptionPlanDiscountResponse
|
|
10272
|
-
*/
|
|
10273
|
-
'validTo'?: string;
|
|
10274
|
-
/**
|
|
10275
|
-
*
|
|
10276
|
-
* @type {Array<string>}
|
|
10277
|
-
* @memberof SubscriptionPlanDiscountResponse
|
|
10278
|
-
*/
|
|
10279
|
-
'offPeakRuleNames'?: Array<string>;
|
|
10280
|
-
/**
|
|
10281
|
-
*
|
|
10282
|
-
* @type {Array<OffPeakRule>}
|
|
10283
|
-
* @memberof SubscriptionPlanDiscountResponse
|
|
10284
|
-
*/
|
|
10285
|
-
'offPeakRules'?: Array<OffPeakRule>;
|
|
10286
|
-
/**
|
|
10287
|
-
*
|
|
10288
|
-
* @type {boolean}
|
|
10289
|
-
* @memberof SubscriptionPlanDiscountResponse
|
|
10290
|
-
*/
|
|
10291
|
-
'bookingFree'?: boolean;
|
|
10292
|
-
}
|
|
10293
|
-
/**
|
|
10294
|
-
*
|
|
10295
|
-
* @export
|
|
10296
|
-
* @interface SubscriptionPlanResponse
|
|
10297
|
-
*/
|
|
10298
|
-
export interface SubscriptionPlanResponse {
|
|
10299
|
-
/**
|
|
10300
|
-
*
|
|
10301
|
-
* @type {string}
|
|
10302
|
-
* @memberof SubscriptionPlanResponse
|
|
10303
|
-
*/
|
|
10304
|
-
'productId': string;
|
|
10305
|
-
/**
|
|
10306
|
-
*
|
|
10307
|
-
* @type {string}
|
|
10308
|
-
* @memberof SubscriptionPlanResponse
|
|
10309
|
-
*/
|
|
10310
|
-
'productName': string;
|
|
10311
|
-
/**
|
|
10312
|
-
*
|
|
10313
|
-
* @type {boolean}
|
|
10314
|
-
* @memberof SubscriptionPlanResponse
|
|
10315
|
-
*/
|
|
10316
|
-
'productActive': boolean;
|
|
10317
|
-
/**
|
|
10318
|
-
*
|
|
10319
|
-
* @type {string}
|
|
10320
|
-
* @memberof SubscriptionPlanResponse
|
|
10321
|
-
*/
|
|
10322
|
-
'priceId': string;
|
|
10323
|
-
/**
|
|
10324
|
-
*
|
|
10325
|
-
* @type {number}
|
|
10326
|
-
* @memberof SubscriptionPlanResponse
|
|
10327
|
-
*/
|
|
10328
|
-
'amountInCents'?: number;
|
|
10329
|
-
/**
|
|
10330
|
-
*
|
|
10331
|
-
* @type {string}
|
|
10332
|
-
* @memberof SubscriptionPlanResponse
|
|
10333
|
-
*/
|
|
10334
|
-
'currency': string;
|
|
10335
|
-
/**
|
|
10336
|
-
*
|
|
10337
|
-
* @type {Array<PlanPrice>}
|
|
10338
|
-
* @memberof SubscriptionPlanResponse
|
|
10339
|
-
*/
|
|
10340
|
-
'prices': Array<PlanPrice>;
|
|
10341
|
-
/**
|
|
10342
|
-
*
|
|
10343
|
-
* @type {PlanInterval}
|
|
10344
|
-
* @memberof SubscriptionPlanResponse
|
|
10345
|
-
*/
|
|
10346
|
-
'interval'?: PlanInterval;
|
|
10347
|
-
/**
|
|
10348
|
-
*
|
|
10349
|
-
* @type {boolean}
|
|
10350
|
-
* @memberof SubscriptionPlanResponse
|
|
10351
|
-
*/
|
|
10352
|
-
'priceActive': boolean;
|
|
10353
|
-
/**
|
|
10354
|
-
*
|
|
10355
|
-
* @type {string}
|
|
10356
|
-
* @memberof SubscriptionPlanResponse
|
|
10357
|
-
*/
|
|
10358
|
-
'description'?: string;
|
|
10359
|
-
/**
|
|
10360
|
-
*
|
|
10361
|
-
* @type {SubscriptionPlanDiscountResponse}
|
|
10362
|
-
* @memberof SubscriptionPlanResponse
|
|
10363
|
-
*/
|
|
10364
|
-
'discount'?: SubscriptionPlanDiscountResponse;
|
|
10365
|
-
}
|
|
10366
|
-
/**
|
|
10367
|
-
*
|
|
10368
|
-
* @export
|
|
10369
|
-
* @enum {string}
|
|
10370
|
-
*/
|
|
10371
|
-
export declare const SurfaceType: {
|
|
10372
|
-
readonly Clay: "clay";
|
|
10373
|
-
readonly Grass: "grass";
|
|
10374
|
-
readonly Hard: "hard";
|
|
10375
|
-
};
|
|
10376
|
-
export type SurfaceType = typeof SurfaceType[keyof typeof SurfaceType];
|
|
10377
|
-
/**
|
|
10378
|
-
*
|
|
10379
|
-
* @export
|
|
10380
|
-
* @interface Team
|
|
10381
|
-
*/
|
|
10382
|
-
export interface Team {
|
|
10383
|
-
/**
|
|
10384
|
-
*
|
|
10385
|
-
* @type {string}
|
|
10386
|
-
* @memberof Team
|
|
10387
|
-
*/
|
|
10388
|
-
'name': string;
|
|
10389
|
-
/**
|
|
10390
|
-
*
|
|
10391
|
-
* @type {Array<EventUser>}
|
|
10392
|
-
* @memberof Team
|
|
9301
|
+
*
|
|
9302
|
+
* @type {Array<EventUser>}
|
|
9303
|
+
* @memberof Team
|
|
10393
9304
|
*/
|
|
10394
9305
|
'players': Array<EventUser>;
|
|
10395
9306
|
}
|
|
@@ -10989,25 +9900,6 @@ export interface UpdateLevelBySportsRequestBody {
|
|
|
10989
9900
|
*/
|
|
10990
9901
|
'levelBySports': Array<LevelBySportEntry>;
|
|
10991
9902
|
}
|
|
10992
|
-
/**
|
|
10993
|
-
*
|
|
10994
|
-
* @export
|
|
10995
|
-
* @interface UpdatePlanRequest
|
|
10996
|
-
*/
|
|
10997
|
-
export interface UpdatePlanRequest {
|
|
10998
|
-
/**
|
|
10999
|
-
*
|
|
11000
|
-
* @type {number}
|
|
11001
|
-
* @memberof UpdatePlanRequest
|
|
11002
|
-
*/
|
|
11003
|
-
'newAmountInCents': number;
|
|
11004
|
-
/**
|
|
11005
|
-
*
|
|
11006
|
-
* @type {string}
|
|
11007
|
-
* @memberof UpdatePlanRequest
|
|
11008
|
-
*/
|
|
11009
|
-
'oldPriceId': string;
|
|
11010
|
-
}
|
|
11011
9903
|
/**
|
|
11012
9904
|
*
|
|
11013
9905
|
* @export
|
|
@@ -11215,6 +10107,61 @@ export interface UpdateSubscriptionPlanForClub200Response {
|
|
|
11215
10107
|
*/
|
|
11216
10108
|
'price': any;
|
|
11217
10109
|
}
|
|
10110
|
+
/**
|
|
10111
|
+
*
|
|
10112
|
+
* @export
|
|
10113
|
+
* @interface UpdateSubscriptionPlanRequest
|
|
10114
|
+
*/
|
|
10115
|
+
export interface UpdateSubscriptionPlanRequest {
|
|
10116
|
+
/**
|
|
10117
|
+
*
|
|
10118
|
+
* @type {string}
|
|
10119
|
+
* @memberof UpdateSubscriptionPlanRequest
|
|
10120
|
+
*/
|
|
10121
|
+
'productId': string;
|
|
10122
|
+
/**
|
|
10123
|
+
*
|
|
10124
|
+
* @type {string}
|
|
10125
|
+
* @memberof UpdateSubscriptionPlanRequest
|
|
10126
|
+
*/
|
|
10127
|
+
'priceId'?: string;
|
|
10128
|
+
/**
|
|
10129
|
+
*
|
|
10130
|
+
* @type {string}
|
|
10131
|
+
* @memberof UpdateSubscriptionPlanRequest
|
|
10132
|
+
*/
|
|
10133
|
+
'name'?: string;
|
|
10134
|
+
/**
|
|
10135
|
+
*
|
|
10136
|
+
* @type {string}
|
|
10137
|
+
* @memberof UpdateSubscriptionPlanRequest
|
|
10138
|
+
*/
|
|
10139
|
+
'description'?: string;
|
|
10140
|
+
/**
|
|
10141
|
+
*
|
|
10142
|
+
* @type {string}
|
|
10143
|
+
* @memberof UpdateSubscriptionPlanRequest
|
|
10144
|
+
*/
|
|
10145
|
+
'currency'?: string;
|
|
10146
|
+
/**
|
|
10147
|
+
*
|
|
10148
|
+
* @type {PlanInterval}
|
|
10149
|
+
* @memberof UpdateSubscriptionPlanRequest
|
|
10150
|
+
*/
|
|
10151
|
+
'interval'?: PlanInterval;
|
|
10152
|
+
/**
|
|
10153
|
+
*
|
|
10154
|
+
* @type {SubscriptionPlanDiscountUpdateRequest}
|
|
10155
|
+
* @memberof UpdateSubscriptionPlanRequest
|
|
10156
|
+
*/
|
|
10157
|
+
'discount'?: SubscriptionPlanDiscountUpdateRequest;
|
|
10158
|
+
/**
|
|
10159
|
+
*
|
|
10160
|
+
* @type {number}
|
|
10161
|
+
* @memberof UpdateSubscriptionPlanRequest
|
|
10162
|
+
*/
|
|
10163
|
+
'newAmountInCents'?: number;
|
|
10164
|
+
}
|
|
11218
10165
|
/**
|
|
11219
10166
|
*
|
|
11220
10167
|
* @export
|
|
@@ -17976,12 +16923,12 @@ export declare const SubscriptionsManagerApiAxiosParamCreator: (configuration?:
|
|
|
17976
16923
|
*/
|
|
17977
16924
|
deletePlan: (productId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
17978
16925
|
/**
|
|
17979
|
-
* Met à jour un plan en
|
|
17980
|
-
* @param {
|
|
16926
|
+
* Met à jour un plan en annotant ses métadonnées et, si demandé, son prix (manager)
|
|
16927
|
+
* @param {UpdateSubscriptionPlanRequest} updateSubscriptionPlanRequest
|
|
17981
16928
|
* @param {*} [options] Override http request option.
|
|
17982
16929
|
* @throws {RequiredError}
|
|
17983
16930
|
*/
|
|
17984
|
-
updatePlan: (
|
|
16931
|
+
updatePlan: (updateSubscriptionPlanRequest: UpdateSubscriptionPlanRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
17985
16932
|
};
|
|
17986
16933
|
/**
|
|
17987
16934
|
* SubscriptionsManagerApi - functional programming interface
|
|
@@ -18010,12 +16957,12 @@ export declare const SubscriptionsManagerApiFp: (configuration?: Configuration)
|
|
|
18010
16957
|
*/
|
|
18011
16958
|
deletePlan(productId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteSubscriptionPlanResponse>>;
|
|
18012
16959
|
/**
|
|
18013
|
-
* Met à jour un plan en
|
|
18014
|
-
* @param {
|
|
16960
|
+
* Met à jour un plan en annotant ses métadonnées et, si demandé, son prix (manager)
|
|
16961
|
+
* @param {UpdateSubscriptionPlanRequest} updateSubscriptionPlanRequest
|
|
18015
16962
|
* @param {*} [options] Override http request option.
|
|
18016
16963
|
* @throws {RequiredError}
|
|
18017
16964
|
*/
|
|
18018
|
-
updatePlan(
|
|
16965
|
+
updatePlan(updateSubscriptionPlanRequest: UpdateSubscriptionPlanRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
|
|
18019
16966
|
};
|
|
18020
16967
|
/**
|
|
18021
16968
|
* SubscriptionsManagerApi - factory interface
|
|
@@ -18044,12 +16991,12 @@ export declare const SubscriptionsManagerApiFactory: (configuration?: Configurat
|
|
|
18044
16991
|
*/
|
|
18045
16992
|
deletePlan(requestParameters: SubscriptionsManagerApiDeletePlanRequest, options?: RawAxiosRequestConfig): AxiosPromise<DeleteSubscriptionPlanResponse>;
|
|
18046
16993
|
/**
|
|
18047
|
-
* Met à jour un plan en
|
|
16994
|
+
* Met à jour un plan en annotant ses métadonnées et, si demandé, son prix (manager)
|
|
18048
16995
|
* @param {SubscriptionsManagerApiUpdatePlanRequest} requestParameters Request parameters.
|
|
18049
16996
|
* @param {*} [options] Override http request option.
|
|
18050
16997
|
* @throws {RequiredError}
|
|
18051
16998
|
*/
|
|
18052
|
-
updatePlan(requestParameters: SubscriptionsManagerApiUpdatePlanRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
16999
|
+
updatePlan(requestParameters: SubscriptionsManagerApiUpdatePlanRequest, options?: RawAxiosRequestConfig): AxiosPromise<any>;
|
|
18053
17000
|
};
|
|
18054
17001
|
/**
|
|
18055
17002
|
* Request parameters for archivePlan operation in SubscriptionsManagerApi.
|
|
@@ -18098,10 +17045,10 @@ export interface SubscriptionsManagerApiDeletePlanRequest {
|
|
|
18098
17045
|
export interface SubscriptionsManagerApiUpdatePlanRequest {
|
|
18099
17046
|
/**
|
|
18100
17047
|
*
|
|
18101
|
-
* @type {
|
|
17048
|
+
* @type {UpdateSubscriptionPlanRequest}
|
|
18102
17049
|
* @memberof SubscriptionsManagerApiUpdatePlan
|
|
18103
17050
|
*/
|
|
18104
|
-
readonly
|
|
17051
|
+
readonly updateSubscriptionPlanRequest: UpdateSubscriptionPlanRequest;
|
|
18105
17052
|
}
|
|
18106
17053
|
/**
|
|
18107
17054
|
* SubscriptionsManagerApi - object-oriented interface
|
|
@@ -18135,13 +17082,13 @@ export declare class SubscriptionsManagerApi extends BaseAPI {
|
|
|
18135
17082
|
*/
|
|
18136
17083
|
deletePlan(requestParameters: SubscriptionsManagerApiDeletePlanRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteSubscriptionPlanResponse, any, {}>>;
|
|
18137
17084
|
/**
|
|
18138
|
-
* Met à jour un plan en
|
|
17085
|
+
* Met à jour un plan en annotant ses métadonnées et, si demandé, son prix (manager)
|
|
18139
17086
|
* @param {SubscriptionsManagerApiUpdatePlanRequest} requestParameters Request parameters.
|
|
18140
17087
|
* @param {*} [options] Override http request option.
|
|
18141
17088
|
* @throws {RequiredError}
|
|
18142
17089
|
* @memberof SubscriptionsManagerApi
|
|
18143
17090
|
*/
|
|
18144
|
-
updatePlan(requestParameters: SubscriptionsManagerApiUpdatePlanRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
17091
|
+
updatePlan(requestParameters: SubscriptionsManagerApiUpdatePlanRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
18145
17092
|
}
|
|
18146
17093
|
/**
|
|
18147
17094
|
* SubscriptionsPublicApi - axios parameter creator
|