@wix/subscription 1.0.3 → 1.0.4
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/subscription",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"type-bundles"
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@wix/subscription_subscriptions": "1.0.
|
|
21
|
+
"@wix/subscription_subscriptions": "1.0.4"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"glob": "^10.4.1",
|
|
@@ -42,5 +42,5 @@
|
|
|
42
42
|
"fqdn": ""
|
|
43
43
|
}
|
|
44
44
|
},
|
|
45
|
-
"falconPackageHash": "
|
|
45
|
+
"falconPackageHash": "7e7efa51615b6c695cfa096edc2cf9af0cbd0e92c3f4375d24f1466e"
|
|
46
46
|
}
|
|
@@ -87,6 +87,8 @@ interface Subscription {
|
|
|
87
87
|
* @readonly
|
|
88
88
|
*/
|
|
89
89
|
changesCounter?: string | null;
|
|
90
|
+
/** Billing order id. Optional. */
|
|
91
|
+
orderId?: string | null;
|
|
90
92
|
/** items, minSize is 1, maxSize is 100 */
|
|
91
93
|
items?: Item[];
|
|
92
94
|
}
|
|
@@ -154,7 +156,7 @@ interface BillingSettings {
|
|
|
154
156
|
/** customer payment source to make recurring payments with */
|
|
155
157
|
paymentMethod?: PaymentMethod;
|
|
156
158
|
/** Instructs how payments will be collected. */
|
|
157
|
-
collectionMethod?:
|
|
159
|
+
collectionMethod?: CollectionMethodEnumCollectionMethod;
|
|
158
160
|
/**
|
|
159
161
|
* Duration of cycle. For example, 1 MONTH, 2 WEEKS, 7 DAYS, 1 YEAR etc.
|
|
160
162
|
* Shortest supported cycle duration is 7 days.
|
|
@@ -193,7 +195,7 @@ interface PaymentMethod {
|
|
|
193
195
|
/** reference to payment source id stored in payments system */
|
|
194
196
|
_id?: string;
|
|
195
197
|
}
|
|
196
|
-
declare enum
|
|
198
|
+
declare enum CollectionMethodEnumCollectionMethod {
|
|
197
199
|
UNKNOWN = "UNKNOWN",
|
|
198
200
|
/** Subscriber automatically charged */
|
|
199
201
|
AUTO_CHARGE = "AUTO_CHARGE",
|
|
@@ -1041,8 +1043,8 @@ declare enum PaymentMode {
|
|
|
1041
1043
|
}
|
|
1042
1044
|
interface SubscriptionCollectionMethodUpdated {
|
|
1043
1045
|
subscription?: Subscription;
|
|
1044
|
-
newCollectionMethod?:
|
|
1045
|
-
previousCollectionMethod?:
|
|
1046
|
+
newCollectionMethod?: CollectionMethodEnumCollectionMethod;
|
|
1047
|
+
previousCollectionMethod?: CollectionMethodEnumCollectionMethod;
|
|
1046
1048
|
}
|
|
1047
1049
|
interface FreeTrailStarted {
|
|
1048
1050
|
subscription?: Subscription;
|
|
@@ -1996,6 +1998,249 @@ interface Charge {
|
|
|
1996
1998
|
/** The billing date from which the charge starts */
|
|
1997
1999
|
cycleBillingDate?: Date;
|
|
1998
2000
|
}
|
|
2001
|
+
interface CreateSubscriptionForOrderRequest {
|
|
2002
|
+
/** Subscription needs to be created */
|
|
2003
|
+
subscription?: Subscription;
|
|
2004
|
+
}
|
|
2005
|
+
interface CreateSubscriptionForOrderResponse {
|
|
2006
|
+
/** Created subscription */
|
|
2007
|
+
subscription?: Subscription;
|
|
2008
|
+
/** Non-persistent invoice */
|
|
2009
|
+
invoice?: Invoice;
|
|
2010
|
+
}
|
|
2011
|
+
/** An invoice includes information about the subscription and the customer. */
|
|
2012
|
+
interface Invoice {
|
|
2013
|
+
/**
|
|
2014
|
+
* Invoice ID.
|
|
2015
|
+
* @readonly
|
|
2016
|
+
*/
|
|
2017
|
+
_id?: string | null;
|
|
2018
|
+
/**
|
|
2019
|
+
* Date and time the invoice was created.
|
|
2020
|
+
* @readonly
|
|
2021
|
+
*/
|
|
2022
|
+
_createdDate?: Date;
|
|
2023
|
+
/**
|
|
2024
|
+
* Date and time the invoice was last updated.
|
|
2025
|
+
* @readonly
|
|
2026
|
+
*/
|
|
2027
|
+
_updatedDate?: Date;
|
|
2028
|
+
/**
|
|
2029
|
+
* Revision number, which increments by 1 each time the invoice is updated.
|
|
2030
|
+
* To prevent conflicting changes,
|
|
2031
|
+
* the current revision must be passed when updating the invoice.
|
|
2032
|
+
*
|
|
2033
|
+
* Ignored when creating a invoice.
|
|
2034
|
+
* @readonly
|
|
2035
|
+
*/
|
|
2036
|
+
revision?: string | null;
|
|
2037
|
+
/** Information about the invoice origin. */
|
|
2038
|
+
origin?: BusinessOriginData;
|
|
2039
|
+
/**
|
|
2040
|
+
* Invoice status.
|
|
2041
|
+
*
|
|
2042
|
+
* + `"UNKNOWN"`: There is no information about the invoice status.
|
|
2043
|
+
* + `"OPEN"`: BASS has created the invoice but hasn't initiated the payment process.
|
|
2044
|
+
* + `"PAID"`: The customer has successfully paid for the invoice.
|
|
2045
|
+
* + `"ATTEMPT_FAILED"`: The payment process has started and there has been at least one unsuccessful payment attempt.
|
|
2046
|
+
* + `"FAILED"`: The payment process has failed and there are no more retries.
|
|
2047
|
+
* + `"CANCELED"`: The payment process has been stopped because the related subscription has been canceled.
|
|
2048
|
+
* @readonly
|
|
2049
|
+
*/
|
|
2050
|
+
status?: InvoiceStatus;
|
|
2051
|
+
/**
|
|
2052
|
+
* 3-letter currency code of the invoice in
|
|
2053
|
+
* [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.
|
|
2054
|
+
*/
|
|
2055
|
+
currency?: string;
|
|
2056
|
+
/** Information about the customer. */
|
|
2057
|
+
customer?: Customer;
|
|
2058
|
+
/**
|
|
2059
|
+
* Whether the payment is processed through Wix and whether the customer must provide some input.
|
|
2060
|
+
*
|
|
2061
|
+
* + `"UNKNOWN"`: There is no information about the collection method.
|
|
2062
|
+
* + `"AUTO_CHARGE"`: The customer pays automatically through Wix.
|
|
2063
|
+
* + `"SEND_INVOICE"`: The customer pays through Wix, but some manual input is required.
|
|
2064
|
+
* + `"OFFLINE"`: The customer pays outside of Wix.
|
|
2065
|
+
*/
|
|
2066
|
+
collectionMethod?: CollectionMethod;
|
|
2067
|
+
/**
|
|
2068
|
+
* ID of the
|
|
2069
|
+
* [payment method](https://bo.wix.com/wix-docs/rest/wix-cashier/settings/payment-method-type/payment-method-type-object).
|
|
2070
|
+
* Not available for the first payment of a subscription and all offline
|
|
2071
|
+
* payments.
|
|
2072
|
+
*/
|
|
2073
|
+
paymentMethodId?: string | null;
|
|
2074
|
+
/**
|
|
2075
|
+
* Cashier [Order ID](https://dev.wix.com/docs/rest/payments/wix-cashier/pay/order#order-object)
|
|
2076
|
+
* for the corresponding payment.
|
|
2077
|
+
* @readonly
|
|
2078
|
+
*/
|
|
2079
|
+
paymentOrderId?: string | null;
|
|
2080
|
+
/** Information about a discount. Available only for invoices that include a discount. */
|
|
2081
|
+
discount?: InvoiceDiscount;
|
|
2082
|
+
/** Billing address. */
|
|
2083
|
+
billingAddress?: FullAddressDetails;
|
|
2084
|
+
/** Shipping address. Available only for `"PHYSICAL"` line items. */
|
|
2085
|
+
shippingAddress?: FullAddressDetails;
|
|
2086
|
+
/** Shipping fee in `0.00` format. */
|
|
2087
|
+
shippingFee?: string | null;
|
|
2088
|
+
/**
|
|
2089
|
+
* Information about the invoice's totals.
|
|
2090
|
+
* @readonly
|
|
2091
|
+
*/
|
|
2092
|
+
totals?: Totals;
|
|
2093
|
+
/** Line items belonging to the invoice. */
|
|
2094
|
+
invoiceItems?: InvoiceItem[];
|
|
2095
|
+
/**
|
|
2096
|
+
* Whether the invoice is used to validate payment details.
|
|
2097
|
+
*
|
|
2098
|
+
* + `true`: BASS uses the invoice to test payment details. Relevant for free trials. Ensures that Wix can collect the payment of the first billing cycle.
|
|
2099
|
+
* + `false`: Standard invoice.
|
|
2100
|
+
*/
|
|
2101
|
+
isAuthorization?: boolean | null;
|
|
2102
|
+
/** Whether the invoice's `totals.totalPrice` includes tax. */
|
|
2103
|
+
isTaxInclusive?: boolean | null;
|
|
2104
|
+
/** Details of the latest payment attempt. */
|
|
2105
|
+
latestPaymentAttempt?: LatestPaymentAttempt;
|
|
2106
|
+
/** List of charges and credits that adjust the invoice's `totals.totalPrice`. */
|
|
2107
|
+
adjustments?: PriceAdjustment[];
|
|
2108
|
+
/**
|
|
2109
|
+
* Invoice Number.
|
|
2110
|
+
* @readonly
|
|
2111
|
+
*/
|
|
2112
|
+
invoiceNumber?: string | null;
|
|
2113
|
+
}
|
|
2114
|
+
interface BusinessOriginData {
|
|
2115
|
+
/**
|
|
2116
|
+
* ID of the app for which BASS has created the invoice. For example,
|
|
2117
|
+
* `"1380b703-ce81-ff05-f115-39571d94dfcd"` for the Wix eCommerce app.
|
|
2118
|
+
*/
|
|
2119
|
+
appId?: string;
|
|
2120
|
+
/**
|
|
2121
|
+
* [Instance ID](https://dev.wix.com/api/rest/app-management/apps/app-instance/get-app-instance)
|
|
2122
|
+
* of the app for which BASS has created the invoice.
|
|
2123
|
+
*/
|
|
2124
|
+
instanceId?: string;
|
|
2125
|
+
/**
|
|
2126
|
+
* ID of the entity that triggered the invoice creation. For example, the ID of a
|
|
2127
|
+
* [pricing plan](https://dev.wix.com/docs/rest/payments/pricing-plans/pricing-plans/plan#plan-object).
|
|
2128
|
+
*/
|
|
2129
|
+
entityId?: string;
|
|
2130
|
+
}
|
|
2131
|
+
declare enum InvoiceStatus {
|
|
2132
|
+
UNKNOWN = "UNKNOWN",
|
|
2133
|
+
OPEN = "OPEN",
|
|
2134
|
+
PAID = "PAID",
|
|
2135
|
+
FAILED = "FAILED",
|
|
2136
|
+
ATTEMPT_FAILED = "ATTEMPT_FAILED",
|
|
2137
|
+
CANCELED = "CANCELED"
|
|
2138
|
+
}
|
|
2139
|
+
declare enum CollectionMethod {
|
|
2140
|
+
UNKNOWN = "UNKNOWN",
|
|
2141
|
+
AUTO_CHARGE = "AUTO_CHARGE",
|
|
2142
|
+
OFFLINE = "OFFLINE",
|
|
2143
|
+
SEND_INVOICE = "SEND_INVOICE"
|
|
2144
|
+
}
|
|
2145
|
+
declare enum CreationMode {
|
|
2146
|
+
UNKNOWN = "UNKNOWN",
|
|
2147
|
+
SYSTEM = "SYSTEM",
|
|
2148
|
+
MANUAL = "MANUAL"
|
|
2149
|
+
}
|
|
2150
|
+
interface LatestPaymentAttempt {
|
|
2151
|
+
/**
|
|
2152
|
+
* ID of the latest payment attempt.
|
|
2153
|
+
* @readonly
|
|
2154
|
+
*/
|
|
2155
|
+
paymentAttemptId?: string;
|
|
2156
|
+
/**
|
|
2157
|
+
* Date and time of the latest payment attempt in `YYYY-MM-DDThh:mm.sssZ` format.
|
|
2158
|
+
* @readonly
|
|
2159
|
+
*/
|
|
2160
|
+
dateAttempt?: Date;
|
|
2161
|
+
/** Number of the latest payment attempt. */
|
|
2162
|
+
attemptNumber?: number;
|
|
2163
|
+
/**
|
|
2164
|
+
* Status of the latest payment attempt.
|
|
2165
|
+
*
|
|
2166
|
+
* + `"UNKNOWN"`: There is no information about the status of the latest payment attempt.
|
|
2167
|
+
* + `"SCHEDULED"`: The latest payment attempt is scheduled but hasn't started yet.
|
|
2168
|
+
* + `"IN_PROGRESS"`: The latest payment attempt is in progress.
|
|
2169
|
+
* + `"PAID"`: The latest payment attempt resulted in a successful payment.
|
|
2170
|
+
* + `"DECLINED"`: The latest payment attempt has been declined.
|
|
2171
|
+
* + `"TECHNICAL_FAILURE"`: The latest payment attempt couldn't be process due to a technical failure.
|
|
2172
|
+
* + `"CANCELED"`: The latest payment attempt has been canceled by BASS.
|
|
2173
|
+
* @readonly
|
|
2174
|
+
*/
|
|
2175
|
+
status?: PaymentAttemptStatus;
|
|
2176
|
+
/**
|
|
2177
|
+
* Whether BASS tries to collect the payment another time. Available only when
|
|
2178
|
+
* `latestPaymentAttempt.status` is set to `"DECLINED"`.
|
|
2179
|
+
*/
|
|
2180
|
+
retryable?: boolean;
|
|
2181
|
+
}
|
|
2182
|
+
declare enum PaymentAttemptStatus {
|
|
2183
|
+
UNKNOWN = "UNKNOWN",
|
|
2184
|
+
SCHEDULED = "SCHEDULED",
|
|
2185
|
+
IN_PROGRESS = "IN_PROGRESS",
|
|
2186
|
+
PAID = "PAID",
|
|
2187
|
+
DECLINED = "DECLINED",
|
|
2188
|
+
TECHNICAL_FAILURE = "TECHNICAL_FAILURE",
|
|
2189
|
+
CANCELED = "CANCELED",
|
|
2190
|
+
PENDING = "PENDING"
|
|
2191
|
+
}
|
|
2192
|
+
interface PriceAdjustment extends PriceAdjustmentAdjustmentTypeOneOf {
|
|
2193
|
+
/** Adjustment that increases the price. */
|
|
2194
|
+
charge?: PriceAdjustmentValue;
|
|
2195
|
+
/** Adjustment that lowers the price. */
|
|
2196
|
+
credit?: PriceAdjustmentValue;
|
|
2197
|
+
}
|
|
2198
|
+
/** @oneof */
|
|
2199
|
+
interface PriceAdjustmentAdjustmentTypeOneOf {
|
|
2200
|
+
/** Adjustment that increases the price. */
|
|
2201
|
+
charge?: PriceAdjustmentValue;
|
|
2202
|
+
/** Adjustment that lowers the price. */
|
|
2203
|
+
credit?: PriceAdjustmentValue;
|
|
2204
|
+
}
|
|
2205
|
+
interface PriceAdjustmentValue extends PriceAdjustmentValueAdjustmentValueTypeOneOf {
|
|
2206
|
+
/**
|
|
2207
|
+
* Absolute amount that adjusts the price.
|
|
2208
|
+
*
|
|
2209
|
+
* Min: `0.01`
|
|
2210
|
+
*/
|
|
2211
|
+
amount?: string;
|
|
2212
|
+
/**
|
|
2213
|
+
* Relative factor that adjusts the price. For example, setting
|
|
2214
|
+
* `multiplier` to:
|
|
2215
|
+
* - `0.50` results in a price adjustment of 50% of the original value.
|
|
2216
|
+
* - `0.75` results in a price adjustment of 75% of the original value.
|
|
2217
|
+
* - `1.00` results in a price adjustment of 100% of the original value.
|
|
2218
|
+
*
|
|
2219
|
+
* Min: `0.01`
|
|
2220
|
+
* Max: `1.00`
|
|
2221
|
+
*/
|
|
2222
|
+
multiplier?: string;
|
|
2223
|
+
}
|
|
2224
|
+
/** @oneof */
|
|
2225
|
+
interface PriceAdjustmentValueAdjustmentValueTypeOneOf {
|
|
2226
|
+
/**
|
|
2227
|
+
* Absolute amount that adjusts the price.
|
|
2228
|
+
*
|
|
2229
|
+
* Min: `0.01`
|
|
2230
|
+
*/
|
|
2231
|
+
amount?: string;
|
|
2232
|
+
/**
|
|
2233
|
+
* Relative factor that adjusts the price. For example, setting
|
|
2234
|
+
* `multiplier` to:
|
|
2235
|
+
* - `0.50` results in a price adjustment of 50% of the original value.
|
|
2236
|
+
* - `0.75` results in a price adjustment of 75% of the original value.
|
|
2237
|
+
* - `1.00` results in a price adjustment of 100% of the original value.
|
|
2238
|
+
*
|
|
2239
|
+
* Min: `0.01`
|
|
2240
|
+
* Max: `1.00`
|
|
2241
|
+
*/
|
|
2242
|
+
multiplier?: string;
|
|
2243
|
+
}
|
|
1999
2244
|
interface Task {
|
|
2000
2245
|
key?: TaskKey;
|
|
2001
2246
|
executeAt?: Date;
|
|
@@ -2634,7 +2879,7 @@ interface ExternalCollectionDetailsNonNullableFields {
|
|
|
2634
2879
|
interface BillingSettingsNonNullableFields {
|
|
2635
2880
|
currency: string;
|
|
2636
2881
|
paymentMethod?: PaymentMethodNonNullableFields;
|
|
2637
|
-
collectionMethod:
|
|
2882
|
+
collectionMethod: CollectionMethodEnumCollectionMethod;
|
|
2638
2883
|
cycleDuration?: DurationNonNullableFields;
|
|
2639
2884
|
cycleAutoRenew: boolean;
|
|
2640
2885
|
freeTrialDuration?: DurationNonNullableFields;
|
|
@@ -3197,6 +3442,7 @@ type context_BulkItemChange = BulkItemChange;
|
|
|
3197
3442
|
type context_BulkUpdateSubscriptionItemsByFilterRequest = BulkUpdateSubscriptionItemsByFilterRequest;
|
|
3198
3443
|
type context_BulkUpdateSubscriptionItemsByFilterResponse = BulkUpdateSubscriptionItemsByFilterResponse;
|
|
3199
3444
|
type context_BusinessOrigin = BusinessOrigin;
|
|
3445
|
+
type context_BusinessOriginData = BusinessOriginData;
|
|
3200
3446
|
type context_Cancel = Cancel;
|
|
3201
3447
|
type context_CancelSubscriptionBORequest = CancelSubscriptionBORequest;
|
|
3202
3448
|
type context_CancelSubscriptionBOResponse = CancelSubscriptionBOResponse;
|
|
@@ -3211,6 +3457,8 @@ type context_CatalogReference = CatalogReference;
|
|
|
3211
3457
|
type context_Charge = Charge;
|
|
3212
3458
|
type context_CollectionMethod = CollectionMethod;
|
|
3213
3459
|
declare const context_CollectionMethod: typeof CollectionMethod;
|
|
3460
|
+
type context_CollectionMethodEnumCollectionMethod = CollectionMethodEnumCollectionMethod;
|
|
3461
|
+
declare const context_CollectionMethodEnumCollectionMethod: typeof CollectionMethodEnumCollectionMethod;
|
|
3214
3462
|
type context_Complete = Complete;
|
|
3215
3463
|
type context_ConvertSapiRequest = ConvertSapiRequest;
|
|
3216
3464
|
type context_ConvertSapiResponse = ConvertSapiResponse;
|
|
@@ -3223,11 +3471,15 @@ type context_CountSubscriptionsResponse = CountSubscriptionsResponse;
|
|
|
3223
3471
|
type context_CountSubscriptionsResponseNonNullableFields = CountSubscriptionsResponseNonNullableFields;
|
|
3224
3472
|
type context_CreateRecurringInvoiceBORequest = CreateRecurringInvoiceBORequest;
|
|
3225
3473
|
type context_CreateRecurringInvoiceBOResponse = CreateRecurringInvoiceBOResponse;
|
|
3474
|
+
type context_CreateSubscriptionForOrderRequest = CreateSubscriptionForOrderRequest;
|
|
3475
|
+
type context_CreateSubscriptionForOrderResponse = CreateSubscriptionForOrderResponse;
|
|
3226
3476
|
type context_CreateSubscriptionInStateRequest = CreateSubscriptionInStateRequest;
|
|
3227
3477
|
type context_CreateSubscriptionInStateRequestModeOneOf = CreateSubscriptionInStateRequestModeOneOf;
|
|
3228
3478
|
type context_CreateSubscriptionInStateResponse = CreateSubscriptionInStateResponse;
|
|
3229
3479
|
type context_CreateSubscriptionRequest = CreateSubscriptionRequest;
|
|
3230
3480
|
type context_CreateSubscriptionResponse = CreateSubscriptionResponse;
|
|
3481
|
+
type context_CreationMode = CreationMode;
|
|
3482
|
+
declare const context_CreationMode: typeof CreationMode;
|
|
3231
3483
|
type context_CursorPaging = CursorPaging;
|
|
3232
3484
|
type context_Cursors = Cursors;
|
|
3233
3485
|
type context_CustomBillingSchedule = CustomBillingSchedule;
|
|
@@ -3328,6 +3580,7 @@ type context_InitiatePaymentMethodSetupRequest = InitiatePaymentMethodSetupReque
|
|
|
3328
3580
|
type context_InitiatePaymentMethodSetupResponse = InitiatePaymentMethodSetupResponse;
|
|
3329
3581
|
type context_InitiatePaymentMethodSetupResponseNonNullableFields = InitiatePaymentMethodSetupResponseNonNullableFields;
|
|
3330
3582
|
type context_InternalSubscriptionData = InternalSubscriptionData;
|
|
3583
|
+
type context_Invoice = Invoice;
|
|
3331
3584
|
type context_InvoiceAction = InvoiceAction;
|
|
3332
3585
|
type context_InvoiceActionActionTypeOneOf = InvoiceActionActionTypeOneOf;
|
|
3333
3586
|
type context_InvoiceApplicationFee = InvoiceApplicationFee;
|
|
@@ -3336,11 +3589,14 @@ type context_InvoiceDiscount = InvoiceDiscount;
|
|
|
3336
3589
|
type context_InvoiceDiscountValueOneOf = InvoiceDiscountValueOneOf;
|
|
3337
3590
|
type context_InvoiceItem = InvoiceItem;
|
|
3338
3591
|
type context_InvoiceItemPaymentTypeOneOf = InvoiceItemPaymentTypeOneOf;
|
|
3592
|
+
type context_InvoiceStatus = InvoiceStatus;
|
|
3593
|
+
declare const context_InvoiceStatus: typeof InvoiceStatus;
|
|
3339
3594
|
type context_Item = Item;
|
|
3340
3595
|
type context_ItemCategory = ItemCategory;
|
|
3341
3596
|
declare const context_ItemCategory: typeof ItemCategory;
|
|
3342
3597
|
type context_ItemChange = ItemChange;
|
|
3343
3598
|
type context_LatestInvoiceMarkedAsPaid = LatestInvoiceMarkedAsPaid;
|
|
3599
|
+
type context_LatestPaymentAttempt = LatestPaymentAttempt;
|
|
3344
3600
|
type context_ListSubscriptionHistoryRequest = ListSubscriptionHistoryRequest;
|
|
3345
3601
|
type context_ListSubscriptionHistoryResponse = ListSubscriptionHistoryResponse;
|
|
3346
3602
|
type context_ListUpcomingChargesOptions = ListUpcomingChargesOptions;
|
|
@@ -3375,6 +3631,8 @@ type context_PayCycleRequest = PayCycleRequest;
|
|
|
3375
3631
|
type context_PayCycleResponse = PayCycleResponse;
|
|
3376
3632
|
type context_PayCycleResponseNonNullableFields = PayCycleResponseNonNullableFields;
|
|
3377
3633
|
type context_PayRecurringInvoice = PayRecurringInvoice;
|
|
3634
|
+
type context_PaymentAttemptStatus = PaymentAttemptStatus;
|
|
3635
|
+
declare const context_PaymentAttemptStatus: typeof PaymentAttemptStatus;
|
|
3378
3636
|
type context_PaymentData = PaymentData;
|
|
3379
3637
|
type context_PaymentMethod = PaymentMethod;
|
|
3380
3638
|
type context_PaymentMethodUpdated = PaymentMethodUpdated;
|
|
@@ -3394,6 +3652,10 @@ type context_PreviewSubscriptionChargesRequest = PreviewSubscriptionChargesReque
|
|
|
3394
3652
|
type context_PreviewSubscriptionChargesRequestSubscriptionOneOf = PreviewSubscriptionChargesRequestSubscriptionOneOf;
|
|
3395
3653
|
type context_PreviewSubscriptionChargesResponse = PreviewSubscriptionChargesResponse;
|
|
3396
3654
|
type context_PreviewSubscriptionChargesResponseNonNullableFields = PreviewSubscriptionChargesResponseNonNullableFields;
|
|
3655
|
+
type context_PriceAdjustment = PriceAdjustment;
|
|
3656
|
+
type context_PriceAdjustmentAdjustmentTypeOneOf = PriceAdjustmentAdjustmentTypeOneOf;
|
|
3657
|
+
type context_PriceAdjustmentValue = PriceAdjustmentValue;
|
|
3658
|
+
type context_PriceAdjustmentValueAdjustmentValueTypeOneOf = PriceAdjustmentValueAdjustmentValueTypeOneOf;
|
|
3397
3659
|
type context_PriceDetails = PriceDetails;
|
|
3398
3660
|
type context_PricingModel = PricingModel;
|
|
3399
3661
|
type context_PricingModelModelOneOf = PricingModelModelOneOf;
|
|
@@ -3624,7 +3886,7 @@ declare const context_turnOnSubscriptionAutoRenewal: typeof turnOnSubscriptionAu
|
|
|
3624
3886
|
declare const context_updateSubscriptionBillingDate: typeof updateSubscriptionBillingDate;
|
|
3625
3887
|
declare const context_updateSubscriptionPaymentMethod: typeof updateSubscriptionPaymentMethod;
|
|
3626
3888
|
declare namespace context {
|
|
3627
|
-
export { type context_Action as Action, type context_ActionContext as ActionContext, type context_ActionDetails as ActionDetails, type context_ActionEvent as ActionEvent, context_ActionInitiator as ActionInitiator, context_ActionType as ActionType, type context_AddPausePeriodRequest as AddPausePeriodRequest, type context_AddPausePeriodResponse as AddPausePeriodResponse, type context_AdditionalFee as AdditionalFee, context_AdditionalFeeTrigger as AdditionalFeeTrigger, type context_Address as Address, type context_AddressStreetOneOf as AddressStreetOneOf, type context_AllowedActionsOptions as AllowedActionsOptions, type context_AllowedActionsRequest as AllowedActionsRequest, type context_AllowedActionsResponse as AllowedActionsResponse, type context_AllowedActionsResponseNonNullableFields as AllowedActionsResponseNonNullableFields, type context_AmountByStatus as AmountByStatus, type context_ApplicationFee as ApplicationFee, type context_ApplicationFeeValueOneOf as ApplicationFeeValueOneOf, type context_AttachInvoice as AttachInvoice, type context_AutomaticRetryData as AutomaticRetryData, type context_BaseEventMetadata as BaseEventMetadata, type context_BillingSettings as BillingSettings, type context_BillingStatus as BillingStatus, type context_BulkItemChange as BulkItemChange, type context_BulkUpdateSubscriptionItemsByFilterRequest as BulkUpdateSubscriptionItemsByFilterRequest, type context_BulkUpdateSubscriptionItemsByFilterResponse as BulkUpdateSubscriptionItemsByFilterResponse, type context_BusinessOrigin as BusinessOrigin, type context_Cancel as Cancel, type context_CancelSubscriptionBORequest as CancelSubscriptionBORequest, type context_CancelSubscriptionBOResponse as CancelSubscriptionBOResponse, type context_CancelSubscriptionRequest as CancelSubscriptionRequest, type context_CancelSubscriptionResponse as CancelSubscriptionResponse, type context_CancelSubscriptionResponseNonNullableFields as CancelSubscriptionResponseNonNullableFields, type context_CancelTimeCapsuleTaskRequest as CancelTimeCapsuleTaskRequest, type context_CancellationInfo as CancellationInfo, context_CancellationInitiator as CancellationInitiator, type context_CatalogReference as CatalogReference, type context_Charge as Charge, context_CollectionMethod as CollectionMethod, type context_Complete as Complete, type context_ConvertSapiRequest as ConvertSapiRequest, type context_ConvertSapiResponse as ConvertSapiResponse, type context_CountByStatus as CountByStatus, type context_CountSubscriptionFilter as CountSubscriptionFilter, type context_CountSubscriptionFilterStatusOneOf as CountSubscriptionFilterStatusOneOf, type context_CountSubscriptionsOptions as CountSubscriptionsOptions, type context_CountSubscriptionsRequest as CountSubscriptionsRequest, type context_CountSubscriptionsResponse as CountSubscriptionsResponse, type context_CountSubscriptionsResponseNonNullableFields as CountSubscriptionsResponseNonNullableFields, type context_CreateRecurringInvoiceBORequest as CreateRecurringInvoiceBORequest, type context_CreateRecurringInvoiceBOResponse as CreateRecurringInvoiceBOResponse, type context_CreateSubscriptionInStateRequest as CreateSubscriptionInStateRequest, type context_CreateSubscriptionInStateRequestModeOneOf as CreateSubscriptionInStateRequestModeOneOf, type context_CreateSubscriptionInStateResponse as CreateSubscriptionInStateResponse, type context_CreateSubscriptionRequest as CreateSubscriptionRequest, type context_CreateSubscriptionResponse as CreateSubscriptionResponse, type context_CursorPaging as CursorPaging, type context_Cursors as Cursors, type context_CustomBillingSchedule as CustomBillingSchedule, type context_CustomProration as CustomProration, type context_CustomProrationAmountOneOf as CustomProrationAmountOneOf, type context_Customer as Customer, type context_CustomerAllowedActionsRequest as CustomerAllowedActionsRequest, type context_CustomerAllowedActionsResponse as CustomerAllowedActionsResponse, type context_CustomerAllowedActionsResponseNonNullableFields as CustomerAllowedActionsResponseNonNullableFields, type context_CustomerCancelSubscriptionOptions as CustomerCancelSubscriptionOptions, type context_CustomerCancelSubscriptionRequest as CustomerCancelSubscriptionRequest, type context_CustomerCancelSubscriptionResponse as CustomerCancelSubscriptionResponse, type context_CustomerCancelSubscriptionResponseNonNullableFields as CustomerCancelSubscriptionResponseNonNullableFields, type context_CustomerExtendSubscriptionOptions as CustomerExtendSubscriptionOptions, type context_CustomerExtendSubscriptionRequest as CustomerExtendSubscriptionRequest, type context_CustomerExtendSubscriptionResponse as CustomerExtendSubscriptionResponse, type context_CustomerExtendSubscriptionResponseNonNullableFields as CustomerExtendSubscriptionResponseNonNullableFields, type context_CustomerIdOneOf as CustomerIdOneOf, type context_CustomerInitiatePaymentMethodSetupOptions as CustomerInitiatePaymentMethodSetupOptions, type context_CustomerListUpcomingChargesRequest as CustomerListUpcomingChargesRequest, type context_CustomerListUpcomingChargesResponse as CustomerListUpcomingChargesResponse, type context_CustomerListUpcomingChargesResponseNonNullableFields as CustomerListUpcomingChargesResponseNonNullableFields, type context_CustomerQuerySubscriptionsOptions as CustomerQuerySubscriptionsOptions, type context_CustomerTurnOffAutoRenewalRequest as CustomerTurnOffAutoRenewalRequest, type context_CustomerTurnOffAutoRenewalResponse as CustomerTurnOffAutoRenewalResponse, type context_CustomerTurnOffAutoRenewalResponseNonNullableFields as CustomerTurnOffAutoRenewalResponseNonNullableFields, type context_CustomerTurnOffSubscriptionAutoRenewalOptions as CustomerTurnOffSubscriptionAutoRenewalOptions, type context_CustomerTurnOnAutoRenewalRequest as CustomerTurnOnAutoRenewalRequest, type context_CustomerTurnOnAutoRenewalResponse as CustomerTurnOnAutoRenewalResponse, type context_CustomerTurnOnAutoRenewalResponseNonNullableFields as CustomerTurnOnAutoRenewalResponseNonNullableFields, type context_CustomerTurnOnSubscriptionAutoRenewalOptions as CustomerTurnOnSubscriptionAutoRenewalOptions, type context_DeleteDraftSubscriptionRequest as DeleteDraftSubscriptionRequest, type context_DeleteDraftSubscriptionResponse as DeleteDraftSubscriptionResponse, type context_DeleteSubscriptionRequest as DeleteSubscriptionRequest, type context_DeleteSubscriptionResponse as DeleteSubscriptionResponse, type context_DetachInvoice as DetachInvoice, type context_Discount as Discount, type context_DiscountCycles as DiscountCycles, type context_DiscountOrigin as DiscountOrigin, type context_DiscountValueOneOf as DiscountValueOneOf, type context_DomainEvent as DomainEvent, type context_DomainEventBodyOneOf as DomainEventBodyOneOf, type context_Duration as Duration, context_DurationUnit as DurationUnit, type context_DynamicTax as DynamicTax, type context_Empty as Empty, type context_EntityCreatedEvent as EntityCreatedEvent, type context_EntityDeletedEvent as EntityDeletedEvent, type context_EntityUpdatedEvent as EntityUpdatedEvent, type context_EventMetadata as EventMetadata, context_ExtendPolicyType as ExtendPolicyType, type context_ExtendSubscriptionOptions as ExtendSubscriptionOptions, type context_ExtendSubscriptionRequest as ExtendSubscriptionRequest, type context_ExtendSubscriptionRequestExtendPolicyOneOf as ExtendSubscriptionRequestExtendPolicyOneOf, type context_ExtendSubscriptionResponse as ExtendSubscriptionResponse, type context_ExtendSubscriptionResponseNonNullableFields as ExtendSubscriptionResponseNonNullableFields, type context_ExternalCollectionDetails as ExternalCollectionDetails, type context_FinishFreeTrialNowRequest as FinishFreeTrialNowRequest, type context_FinishFreeTrialNowResponse as FinishFreeTrialNowResponse, type context_FixSubscriptionInvoicesRequest as FixSubscriptionInvoicesRequest, type context_FixSubscriptionInvoicesRequestModeOneOf as FixSubscriptionInvoicesRequestModeOneOf, type context_FixSubscriptionInvoicesResponse as FixSubscriptionInvoicesResponse, type context_FixedPrice as FixedPrice, type context_FreeTrailEnded as FreeTrailEnded, type context_FreeTrailStarted as FreeTrailStarted, type context_FreeTrialData as FreeTrialData, type context_FullAddressContactDetails as FullAddressContactDetails, type context_FullAddressDetails as FullAddressDetails, type context_FutureUpdatesRequested as FutureUpdatesRequested, type context_GetFullSubscriptionDataRequest as GetFullSubscriptionDataRequest, type context_GetFullSubscriptionDataResponse as GetFullSubscriptionDataResponse, type context_GetSubscriptionAndInternalDataRequest as GetSubscriptionAndInternalDataRequest, type context_GetSubscriptionAndInternalDataResponse as GetSubscriptionAndInternalDataResponse, type context_GetSubscriptionInvoicesRequest as GetSubscriptionInvoicesRequest, type context_GetSubscriptionInvoicesResponse as GetSubscriptionInvoicesResponse, type context_GetSubscriptionRequest as GetSubscriptionRequest, type context_GetSubscriptionResponse as GetSubscriptionResponse, type context_GetSubscriptionResponseNonNullableFields as GetSubscriptionResponseNonNullableFields, type context_GetSubscriptionsStatsRequest as GetSubscriptionsStatsRequest, type context_GetSubscriptionsStatsResponse as GetSubscriptionsStatsResponse, type context_GetSubscriptionsStatsResponseNonNullableFields as GetSubscriptionsStatsResponseNonNullableFields, type context_GracePeriodData as GracePeriodData, type context_GracePeriodEnded as GracePeriodEnded, type context_GracePeriodStarted as GracePeriodStarted, type context_HandleSubscriptionAfterInvoiceMarkedAsPaidRequest as HandleSubscriptionAfterInvoiceMarkedAsPaidRequest, context_HistoryActionInitiator as HistoryActionInitiator, context_HistoryViewMode as HistoryViewMode, type context_IdentificationData as IdentificationData, type context_IdentificationDataIdOneOf as IdentificationDataIdOneOf, context_IdentityType as IdentityType, type context_InitiatePaymentMethodSetupOptions as InitiatePaymentMethodSetupOptions, type context_InitiatePaymentMethodSetupRequest as InitiatePaymentMethodSetupRequest, type context_InitiatePaymentMethodSetupResponse as InitiatePaymentMethodSetupResponse, type context_InitiatePaymentMethodSetupResponseNonNullableFields as InitiatePaymentMethodSetupResponseNonNullableFields, type context_InternalSubscriptionData as InternalSubscriptionData, type context_InvoiceAction as InvoiceAction, type context_InvoiceActionActionTypeOneOf as InvoiceActionActionTypeOneOf, type context_InvoiceApplicationFee as InvoiceApplicationFee, type context_InvoiceApplicationFeeValueOneOf as InvoiceApplicationFeeValueOneOf, type context_InvoiceDiscount as InvoiceDiscount, type context_InvoiceDiscountValueOneOf as InvoiceDiscountValueOneOf, type context_InvoiceItem as InvoiceItem, type context_InvoiceItemPaymentTypeOneOf as InvoiceItemPaymentTypeOneOf, type context_Item as Item, context_ItemCategory as ItemCategory, type context_ItemChange as ItemChange, type context_LatestInvoiceMarkedAsPaid as LatestInvoiceMarkedAsPaid, type context_ListSubscriptionHistoryRequest as ListSubscriptionHistoryRequest, type context_ListSubscriptionHistoryResponse as ListSubscriptionHistoryResponse, type context_ListUpcomingChargesOptions as ListUpcomingChargesOptions, type context_ListUpcomingChargesRequest as ListUpcomingChargesRequest, type context_ListUpcomingChargesResponse as ListUpcomingChargesResponse, type context_ListUpcomingChargesResponseNonNullableFields as ListUpcomingChargesResponseNonNullableFields, type context_MarkLatestInvoiceAsPaidRequest as MarkLatestInvoiceAsPaidRequest, type context_MarkLatestInvoiceAsPaidResponse as MarkLatestInvoiceAsPaidResponse, type context_MarkLatestInvoiceAsPaidResponseNonNullableFields as MarkLatestInvoiceAsPaidResponseNonNullableFields, type context_MessageEnvelope as MessageEnvelope, type context_MigrationDetails as MigrationDetails, type context_Money as Money, type context_OneTime as OneTime, context_OrderMethod as OrderMethod, type context_OriginOverride as OriginOverride, type context_Paging as Paging, type context_PagingMetadataV2 as PagingMetadataV2, context_PauseAt as PauseAt, type context_PauseInfo as PauseInfo, type context_PausePeriod as PausePeriod, context_PausePolicy as PausePolicy, type context_PauseSubscriptionOptions as PauseSubscriptionOptions, type context_PauseSubscriptionRequest as PauseSubscriptionRequest, type context_PauseSubscriptionRequested as PauseSubscriptionRequested, type context_PauseSubscriptionResponse as PauseSubscriptionResponse, type context_PauseSubscriptionResponseNonNullableFields as PauseSubscriptionResponseNonNullableFields, type context_PayCycleOptions as PayCycleOptions, type context_PayCycleRequest as PayCycleRequest, type context_PayCycleResponse as PayCycleResponse, type context_PayCycleResponseNonNullableFields as PayCycleResponseNonNullableFields, type context_PayRecurringInvoice as PayRecurringInvoice, type context_PaymentData as PaymentData, type context_PaymentMethod as PaymentMethod, type context_PaymentMethodUpdated as PaymentMethodUpdated, context_PaymentMode as PaymentMode, type context_PaymentSettings as PaymentSettings, context_PaymentSettlementMethod as PaymentSettlementMethod, context_PaymentStatus as PaymentStatus, context_PaymentStatusEnumPaymentStatus as PaymentStatusEnumPaymentStatus, context_PaymentTestMode as PaymentTestMode, type context_PreviewSubscriptionChargesOptions as PreviewSubscriptionChargesOptions, type context_PreviewSubscriptionChargesRequest as PreviewSubscriptionChargesRequest, type context_PreviewSubscriptionChargesRequestSubscriptionOneOf as PreviewSubscriptionChargesRequestSubscriptionOneOf, type context_PreviewSubscriptionChargesResponse as PreviewSubscriptionChargesResponse, type context_PreviewSubscriptionChargesResponseNonNullableFields as PreviewSubscriptionChargesResponseNonNullableFields, type context_PriceDetails as PriceDetails, type context_PricingModel as PricingModel, type context_PricingModelModelOneOf as PricingModelModelOneOf, type context_Proration as Proration, type context_ProrationTypeOneOf as ProrationTypeOneOf, type context_QuerySubscriptionsRequest as QuerySubscriptionsRequest, type context_QuerySubscriptionsResponse as QuerySubscriptionsResponse, type context_QuerySubscriptionsResponseNonNullableFields as QuerySubscriptionsResponseNonNullableFields, type context_QueryV2 as QueryV2, type context_QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOf, type context_Recurring as Recurring, type context_RedirectUrls as RedirectUrls, context_RequestedFields as RequestedFields, type context_Reschedule as Reschedule, type context_ResetPendingUpdates as ResetPendingUpdates, type context_RestoreDraftSubscriptionRequest as RestoreDraftSubscriptionRequest, type context_RestoreDraftSubscriptionResponse as RestoreDraftSubscriptionResponse, type context_RestoreInfo as RestoreInfo, context_ResumeAt as ResumeAt, type context_ResumeSubscriptionOptions as ResumeSubscriptionOptions, type context_ResumeSubscriptionRequest as ResumeSubscriptionRequest, type context_ResumeSubscriptionRequested as ResumeSubscriptionRequested, type context_ResumeSubscriptionResponse as ResumeSubscriptionResponse, type context_ResumeSubscriptionResponseNonNullableFields as ResumeSubscriptionResponseNonNullableFields, type context_ReviseSubscriptionRequest as ReviseSubscriptionRequest, type context_ReviseSubscriptionResponse as ReviseSubscriptionResponse, context_RevivePolicy as RevivePolicy, type context_ReviveSubscriptionRequest as ReviveSubscriptionRequest, type context_ReviveSubscriptionResponse as ReviveSubscriptionResponse, type context_RunTimeCapsuleTaskNowRequest as RunTimeCapsuleTaskNowRequest, type context_ScheduleAdditionalInfo as ScheduleAdditionalInfo, type context_ScheduleAdditionalInfoParamOneOf as ScheduleAdditionalInfoParamOneOf, type context_ScheduleTimeCapsuleTaskRequest as ScheduleTimeCapsuleTaskRequest, type context_ScheduledPauseCanceled as ScheduledPauseCanceled, type context_ScheduledResumeCanceled as ScheduledResumeCanceled, type context_SearchSubscriptionRequest as SearchSubscriptionRequest, type context_SearchSubscriptionResponse as SearchSubscriptionResponse, type context_SearchSubscriptionsOptions as SearchSubscriptionsOptions, type context_SearchSubscriptionsRequest as SearchSubscriptionsRequest, type context_SearchSubscriptionsRequestPagingMethodOneOf as SearchSubscriptionsRequestPagingMethodOneOf, type context_SearchSubscriptionsResponse as SearchSubscriptionsResponse, type context_SearchSubscriptionsResponseNonNullableFields as SearchSubscriptionsResponseNonNullableFields, type context_SendSubscriptionActionEventBORequest as SendSubscriptionActionEventBORequest, type context_SendSubscriptionActionEventBORequestEventOneOf as SendSubscriptionActionEventBORequestEventOneOf, type context_SendSubscriptionActionEventResponse as SendSubscriptionActionEventResponse, type context_SendTimeCapsuleTaskCanceledBIRequest as SendTimeCapsuleTaskCanceledBIRequest, type context_SetIsMigratedEvent as SetIsMigratedEvent, type context_SetShiftingDataRequest as SetShiftingDataRequest, type context_SetShiftingDataResponse as SetShiftingDataResponse, context_SortOrder as SortOrder, type context_Sorting as Sorting, type context_SortingClauses as SortingClauses, type context_SpecificDateSubscriptionUpdateData as SpecificDateSubscriptionUpdateData, context_Status as Status, type context_StreetAddress as StreetAddress, type context_Subscriber as Subscriber, type context_Subscription as Subscription, type context_SubscriptionActivated as SubscriptionActivated, type context_SubscriptionAutoRenewalTurnedOff as SubscriptionAutoRenewalTurnedOff, type context_SubscriptionAutoRenewalTurnedOffEnvelope as SubscriptionAutoRenewalTurnedOffEnvelope, type context_SubscriptionAutoRenewalTurnedOn as SubscriptionAutoRenewalTurnedOn, type context_SubscriptionAutoRenewalTurnedOnEnvelope as SubscriptionAutoRenewalTurnedOnEnvelope, type context_SubscriptionBackOfficeAction as SubscriptionBackOfficeAction, type context_SubscriptionBillingCycleStarted as SubscriptionBillingCycleStarted, type context_SubscriptionBillingDateUpdated as SubscriptionBillingDateUpdated, type context_SubscriptionBillingDateUpdatedEnvelope as SubscriptionBillingDateUpdatedEnvelope, type context_SubscriptionCanceled as SubscriptionCanceled, type context_SubscriptionCanceledEnvelope as SubscriptionCanceledEnvelope, type context_SubscriptionCancellationRequested as SubscriptionCancellationRequested, type context_SubscriptionCharge as SubscriptionCharge, type context_SubscriptionCollectionMethodUpdated as SubscriptionCollectionMethodUpdated, type context_SubscriptionCreated as SubscriptionCreated, type context_SubscriptionCycleReadyToPay as SubscriptionCycleReadyToPay, type context_SubscriptionCycleTriggered as SubscriptionCycleTriggered, type context_SubscriptionDelayedSyncEvent as SubscriptionDelayedSyncEvent, type context_SubscriptionDeleted as SubscriptionDeleted, type context_SubscriptionDiff as SubscriptionDiff, type context_SubscriptionEnded as SubscriptionEnded, type context_SubscriptionEvent as SubscriptionEvent, type context_SubscriptionEventPayloadOneOf as SubscriptionEventPayloadOneOf, type context_SubscriptionExpired as SubscriptionExpired, type context_SubscriptionExtended as SubscriptionExtended, type context_SubscriptionExtendedEnvelope as SubscriptionExtendedEnvelope, type context_SubscriptionExtendedExtendPolicyOneOf as SubscriptionExtendedExtendPolicyOneOf, context_SubscriptionFrequency as SubscriptionFrequency, type context_SubscriptionHistoryEntry as SubscriptionHistoryEntry, type context_SubscriptionInfo as SubscriptionInfo, type context_SubscriptionInitialPurchaseCompleted as SubscriptionInitialPurchaseCompleted, type context_SubscriptionInvoice as SubscriptionInvoice, type context_SubscriptionLatestInvoiceMarkedAsPaidEnvelope as SubscriptionLatestInvoiceMarkedAsPaidEnvelope, type context_SubscriptionMarkedAsPaid as SubscriptionMarkedAsPaid, type context_SubscriptionPauseScheduleCanceledEnvelope as SubscriptionPauseScheduleCanceledEnvelope, type context_SubscriptionPauseScheduledEnvelope as SubscriptionPauseScheduledEnvelope, type context_SubscriptionPaused as SubscriptionPaused, type context_SubscriptionPausedEnvelope as SubscriptionPausedEnvelope, type context_SubscriptionPolicies as SubscriptionPolicies, type context_SubscriptionPolicy as SubscriptionPolicy, type context_SubscriptionResumeScheduleCanceledEnvelope as SubscriptionResumeScheduleCanceledEnvelope, type context_SubscriptionResumeScheduledEnvelope as SubscriptionResumeScheduledEnvelope, type context_SubscriptionResumed as SubscriptionResumed, type context_SubscriptionResumedEnvelope as SubscriptionResumedEnvelope, type context_SubscriptionRevived as SubscriptionRevived, type context_SubscriptionStatus as SubscriptionStatus, context_SubscriptionStatusEnumSubscriptionStatus as SubscriptionStatusEnumSubscriptionStatus, context_SubscriptionStatusGroup as SubscriptionStatusGroup, type context_SubscriptionSuspended as SubscriptionSuspended, type context_SubscriptionTrialPeriod as SubscriptionTrialPeriod, context_SubscriptionType as SubscriptionType, type context_SubscriptionUpdateData as SubscriptionUpdateData, type context_SubscriptionUpdated as SubscriptionUpdated, type context_SubscriptionUpdatedEnvelope as SubscriptionUpdatedEnvelope, type context_Suspension as Suspension, type context_Task as Task, type context_TaskAction as TaskAction, type context_TaskActionActionOneOf as TaskActionActionOneOf, type context_TaskKey as TaskKey, type context_Tax as Tax, type context_TaxSettings as TaxSettings, type context_TaxValueOneOf as TaxValueOneOf, type context_TimeBasedProration as TimeBasedProration, type context_Totals as Totals, type context_TurnOffSubscriptionAutoRenewalRequest as TurnOffSubscriptionAutoRenewalRequest, type context_TurnOffSubscriptionAutoRenewalResponse as TurnOffSubscriptionAutoRenewalResponse, type context_TurnOffSubscriptionAutoRenewalResponseNonNullableFields as TurnOffSubscriptionAutoRenewalResponseNonNullableFields, type context_TurnOnSubscriptionAutoRenewalRequest as TurnOnSubscriptionAutoRenewalRequest, type context_TurnOnSubscriptionAutoRenewalResponse as TurnOnSubscriptionAutoRenewalResponse, type context_TurnOnSubscriptionAutoRenewalResponseNonNullableFields as TurnOnSubscriptionAutoRenewalResponseNonNullableFields, type context_UnknownSubscriptionEvent as UnknownSubscriptionEvent, type context_UnsupportedAction as UnsupportedAction, type context_UnsupportedReason as UnsupportedReason, context_UpdateAction as UpdateAction, type context_UpdateBillingDateData as UpdateBillingDateData, type context_UpdateFullSubscriptionRequest as UpdateFullSubscriptionRequest, type context_UpdateFullSubscriptionResponse as UpdateFullSubscriptionResponse, type context_UpdatePausePaidDurationRequest as UpdatePausePaidDurationRequest, type context_UpdatePausePaidDurationResponse as UpdatePausePaidDurationResponse, type context_UpdatePaymentMethodBORequest as UpdatePaymentMethodBORequest, type context_UpdatePaymentMethodBOResponse as UpdatePaymentMethodBOResponse, type context_UpdatePaymentStatusRequest as UpdatePaymentStatusRequest, type context_UpdatePaymentStatusResponse as UpdatePaymentStatusResponse, type context_UpdateStatusRequest as UpdateStatusRequest, type context_UpdateStatusResponse as UpdateStatusResponse, type context_UpdateSubscriptionBillingDateOptions as UpdateSubscriptionBillingDateOptions, type context_UpdateSubscriptionBillingDateRequest as UpdateSubscriptionBillingDateRequest, type context_UpdateSubscriptionBillingDateResponse as UpdateSubscriptionBillingDateResponse, type context_UpdateSubscriptionBillingDateResponseNonNullableFields as UpdateSubscriptionBillingDateResponseNonNullableFields, type context_UpdateSubscriptionInvoiceCycleRequest as UpdateSubscriptionInvoiceCycleRequest, type context_UpdateSubscriptionInvoiceCycleResponse as UpdateSubscriptionInvoiceCycleResponse, type context_UpdateSubscriptionItemsRequest as UpdateSubscriptionItemsRequest, type context_UpdateSubscriptionItemsResponse as UpdateSubscriptionItemsResponse, type context_UpdateSubscriptionOriginRequest as UpdateSubscriptionOriginRequest, type context_UpdateSubscriptionOriginResponse as UpdateSubscriptionOriginResponse, type context_UpdateSubscriptionPaymentMethodRequest as UpdateSubscriptionPaymentMethodRequest, type context_UpdateSubscriptionPaymentMethodResponse as UpdateSubscriptionPaymentMethodResponse, type context_UpdateSubscriptionPaymentMethodResponseNonNullableFields as UpdateSubscriptionPaymentMethodResponseNonNullableFields, type context_UpdateSubscriptionPoliciesRequest as UpdateSubscriptionPoliciesRequest, type context_UpdateSubscriptionPoliciesResponse as UpdateSubscriptionPoliciesResponse, type context_UpdateSubscriptionRequest as UpdateSubscriptionRequest, type context_UpdateSubscriptionResponse as UpdateSubscriptionResponse, type context_UpdateSubscriptionStartDateRequest as UpdateSubscriptionStartDateRequest, type context_UpdateSubscriptionStartDateResponse as UpdateSubscriptionStartDateResponse, type context_UpdatesApplied as UpdatesApplied, type context_V1Duration as V1Duration, type context_V1Subscription as V1Subscription, type context_V1SubscriptionActivated as V1SubscriptionActivated, type context_V1SubscriptionCanceled as V1SubscriptionCanceled, type context_V1SubscriptionCreated as V1SubscriptionCreated, type context_V1SubscriptionEvent as V1SubscriptionEvent, type context_V1SubscriptionEventEventOneOf as V1SubscriptionEventEventOneOf, type context_V1SubscriptionInitialPurchaseCompleted as V1SubscriptionInitialPurchaseCompleted, type context_V1SubscriptionResumed as V1SubscriptionResumed, context_V1SubscriptionStatusEnumSubscriptionStatus as V1SubscriptionStatusEnumSubscriptionStatus, type context_V1SubscriptionUpdated as V1SubscriptionUpdated, type context_V2Subscription as V2Subscription, context_WebhookIdentityType as WebhookIdentityType, context_allowedActions as allowedActions, context_cancelSubscription as cancelSubscription, context_countSubscriptions as countSubscriptions, context_customerAllowedActions as customerAllowedActions, context_customerCancelSubscription as customerCancelSubscription, context_customerExtendSubscription as customerExtendSubscription, context_customerGetSubscription as customerGetSubscription, context_customerInitiatePaymentMethodSetup as customerInitiatePaymentMethodSetup, context_customerListUpcomingCharges as customerListUpcomingCharges, context_customerQuerySubscriptions as customerQuerySubscriptions, context_customerTurnOffSubscriptionAutoRenewal as customerTurnOffSubscriptionAutoRenewal, context_customerTurnOnSubscriptionAutoRenewal as customerTurnOnSubscriptionAutoRenewal, context_customerUpdateSubscriptionPaymentMethod as customerUpdateSubscriptionPaymentMethod, context_extendSubscription as extendSubscription, context_getSubscription as getSubscription, context_getSubscriptionsStats as getSubscriptionsStats, context_initiatePaymentMethodSetup as initiatePaymentMethodSetup, context_listUpcomingCharges as listUpcomingCharges, context_markLatestInvoiceAsPaid as markLatestInvoiceAsPaid, context_onSubscriptionAutoRenewalTurnedOff as onSubscriptionAutoRenewalTurnedOff, context_onSubscriptionAutoRenewalTurnedOn as onSubscriptionAutoRenewalTurnedOn, context_onSubscriptionBillingDateUpdated as onSubscriptionBillingDateUpdated, context_onSubscriptionCanceled as onSubscriptionCanceled, context_onSubscriptionExtended as onSubscriptionExtended, context_onSubscriptionLatestInvoiceMarkedAsPaid as onSubscriptionLatestInvoiceMarkedAsPaid, context_onSubscriptionPauseScheduleCanceled as onSubscriptionPauseScheduleCanceled, context_onSubscriptionPauseScheduled as onSubscriptionPauseScheduled, context_onSubscriptionPaused as onSubscriptionPaused, context_onSubscriptionResumeScheduleCanceled as onSubscriptionResumeScheduleCanceled, context_onSubscriptionResumeScheduled as onSubscriptionResumeScheduled, context_onSubscriptionResumed as onSubscriptionResumed, context_onSubscriptionUpdated as onSubscriptionUpdated, context_pauseSubscription as pauseSubscription, context_payCycle as payCycle, context_previewSubscriptionCharges as previewSubscriptionCharges, context_querySubscriptions as querySubscriptions, context_resumeSubscription as resumeSubscription, context_searchSubscriptions as searchSubscriptions, context_turnOffSubscriptionAutoRenewal as turnOffSubscriptionAutoRenewal, context_turnOnSubscriptionAutoRenewal as turnOnSubscriptionAutoRenewal, context_updateSubscriptionBillingDate as updateSubscriptionBillingDate, context_updateSubscriptionPaymentMethod as updateSubscriptionPaymentMethod };
|
|
3889
|
+
export { type context_Action as Action, type context_ActionContext as ActionContext, type context_ActionDetails as ActionDetails, type context_ActionEvent as ActionEvent, context_ActionInitiator as ActionInitiator, context_ActionType as ActionType, type context_AddPausePeriodRequest as AddPausePeriodRequest, type context_AddPausePeriodResponse as AddPausePeriodResponse, type context_AdditionalFee as AdditionalFee, context_AdditionalFeeTrigger as AdditionalFeeTrigger, type context_Address as Address, type context_AddressStreetOneOf as AddressStreetOneOf, type context_AllowedActionsOptions as AllowedActionsOptions, type context_AllowedActionsRequest as AllowedActionsRequest, type context_AllowedActionsResponse as AllowedActionsResponse, type context_AllowedActionsResponseNonNullableFields as AllowedActionsResponseNonNullableFields, type context_AmountByStatus as AmountByStatus, type context_ApplicationFee as ApplicationFee, type context_ApplicationFeeValueOneOf as ApplicationFeeValueOneOf, type context_AttachInvoice as AttachInvoice, type context_AutomaticRetryData as AutomaticRetryData, type context_BaseEventMetadata as BaseEventMetadata, type context_BillingSettings as BillingSettings, type context_BillingStatus as BillingStatus, type context_BulkItemChange as BulkItemChange, type context_BulkUpdateSubscriptionItemsByFilterRequest as BulkUpdateSubscriptionItemsByFilterRequest, type context_BulkUpdateSubscriptionItemsByFilterResponse as BulkUpdateSubscriptionItemsByFilterResponse, type context_BusinessOrigin as BusinessOrigin, type context_BusinessOriginData as BusinessOriginData, type context_Cancel as Cancel, type context_CancelSubscriptionBORequest as CancelSubscriptionBORequest, type context_CancelSubscriptionBOResponse as CancelSubscriptionBOResponse, type context_CancelSubscriptionRequest as CancelSubscriptionRequest, type context_CancelSubscriptionResponse as CancelSubscriptionResponse, type context_CancelSubscriptionResponseNonNullableFields as CancelSubscriptionResponseNonNullableFields, type context_CancelTimeCapsuleTaskRequest as CancelTimeCapsuleTaskRequest, type context_CancellationInfo as CancellationInfo, context_CancellationInitiator as CancellationInitiator, type context_CatalogReference as CatalogReference, type context_Charge as Charge, context_CollectionMethod as CollectionMethod, context_CollectionMethodEnumCollectionMethod as CollectionMethodEnumCollectionMethod, type context_Complete as Complete, type context_ConvertSapiRequest as ConvertSapiRequest, type context_ConvertSapiResponse as ConvertSapiResponse, type context_CountByStatus as CountByStatus, type context_CountSubscriptionFilter as CountSubscriptionFilter, type context_CountSubscriptionFilterStatusOneOf as CountSubscriptionFilterStatusOneOf, type context_CountSubscriptionsOptions as CountSubscriptionsOptions, type context_CountSubscriptionsRequest as CountSubscriptionsRequest, type context_CountSubscriptionsResponse as CountSubscriptionsResponse, type context_CountSubscriptionsResponseNonNullableFields as CountSubscriptionsResponseNonNullableFields, type context_CreateRecurringInvoiceBORequest as CreateRecurringInvoiceBORequest, type context_CreateRecurringInvoiceBOResponse as CreateRecurringInvoiceBOResponse, type context_CreateSubscriptionForOrderRequest as CreateSubscriptionForOrderRequest, type context_CreateSubscriptionForOrderResponse as CreateSubscriptionForOrderResponse, type context_CreateSubscriptionInStateRequest as CreateSubscriptionInStateRequest, type context_CreateSubscriptionInStateRequestModeOneOf as CreateSubscriptionInStateRequestModeOneOf, type context_CreateSubscriptionInStateResponse as CreateSubscriptionInStateResponse, type context_CreateSubscriptionRequest as CreateSubscriptionRequest, type context_CreateSubscriptionResponse as CreateSubscriptionResponse, context_CreationMode as CreationMode, type context_CursorPaging as CursorPaging, type context_Cursors as Cursors, type context_CustomBillingSchedule as CustomBillingSchedule, type context_CustomProration as CustomProration, type context_CustomProrationAmountOneOf as CustomProrationAmountOneOf, type context_Customer as Customer, type context_CustomerAllowedActionsRequest as CustomerAllowedActionsRequest, type context_CustomerAllowedActionsResponse as CustomerAllowedActionsResponse, type context_CustomerAllowedActionsResponseNonNullableFields as CustomerAllowedActionsResponseNonNullableFields, type context_CustomerCancelSubscriptionOptions as CustomerCancelSubscriptionOptions, type context_CustomerCancelSubscriptionRequest as CustomerCancelSubscriptionRequest, type context_CustomerCancelSubscriptionResponse as CustomerCancelSubscriptionResponse, type context_CustomerCancelSubscriptionResponseNonNullableFields as CustomerCancelSubscriptionResponseNonNullableFields, type context_CustomerExtendSubscriptionOptions as CustomerExtendSubscriptionOptions, type context_CustomerExtendSubscriptionRequest as CustomerExtendSubscriptionRequest, type context_CustomerExtendSubscriptionResponse as CustomerExtendSubscriptionResponse, type context_CustomerExtendSubscriptionResponseNonNullableFields as CustomerExtendSubscriptionResponseNonNullableFields, type context_CustomerIdOneOf as CustomerIdOneOf, type context_CustomerInitiatePaymentMethodSetupOptions as CustomerInitiatePaymentMethodSetupOptions, type context_CustomerListUpcomingChargesRequest as CustomerListUpcomingChargesRequest, type context_CustomerListUpcomingChargesResponse as CustomerListUpcomingChargesResponse, type context_CustomerListUpcomingChargesResponseNonNullableFields as CustomerListUpcomingChargesResponseNonNullableFields, type context_CustomerQuerySubscriptionsOptions as CustomerQuerySubscriptionsOptions, type context_CustomerTurnOffAutoRenewalRequest as CustomerTurnOffAutoRenewalRequest, type context_CustomerTurnOffAutoRenewalResponse as CustomerTurnOffAutoRenewalResponse, type context_CustomerTurnOffAutoRenewalResponseNonNullableFields as CustomerTurnOffAutoRenewalResponseNonNullableFields, type context_CustomerTurnOffSubscriptionAutoRenewalOptions as CustomerTurnOffSubscriptionAutoRenewalOptions, type context_CustomerTurnOnAutoRenewalRequest as CustomerTurnOnAutoRenewalRequest, type context_CustomerTurnOnAutoRenewalResponse as CustomerTurnOnAutoRenewalResponse, type context_CustomerTurnOnAutoRenewalResponseNonNullableFields as CustomerTurnOnAutoRenewalResponseNonNullableFields, type context_CustomerTurnOnSubscriptionAutoRenewalOptions as CustomerTurnOnSubscriptionAutoRenewalOptions, type context_DeleteDraftSubscriptionRequest as DeleteDraftSubscriptionRequest, type context_DeleteDraftSubscriptionResponse as DeleteDraftSubscriptionResponse, type context_DeleteSubscriptionRequest as DeleteSubscriptionRequest, type context_DeleteSubscriptionResponse as DeleteSubscriptionResponse, type context_DetachInvoice as DetachInvoice, type context_Discount as Discount, type context_DiscountCycles as DiscountCycles, type context_DiscountOrigin as DiscountOrigin, type context_DiscountValueOneOf as DiscountValueOneOf, type context_DomainEvent as DomainEvent, type context_DomainEventBodyOneOf as DomainEventBodyOneOf, type context_Duration as Duration, context_DurationUnit as DurationUnit, type context_DynamicTax as DynamicTax, type context_Empty as Empty, type context_EntityCreatedEvent as EntityCreatedEvent, type context_EntityDeletedEvent as EntityDeletedEvent, type context_EntityUpdatedEvent as EntityUpdatedEvent, type context_EventMetadata as EventMetadata, context_ExtendPolicyType as ExtendPolicyType, type context_ExtendSubscriptionOptions as ExtendSubscriptionOptions, type context_ExtendSubscriptionRequest as ExtendSubscriptionRequest, type context_ExtendSubscriptionRequestExtendPolicyOneOf as ExtendSubscriptionRequestExtendPolicyOneOf, type context_ExtendSubscriptionResponse as ExtendSubscriptionResponse, type context_ExtendSubscriptionResponseNonNullableFields as ExtendSubscriptionResponseNonNullableFields, type context_ExternalCollectionDetails as ExternalCollectionDetails, type context_FinishFreeTrialNowRequest as FinishFreeTrialNowRequest, type context_FinishFreeTrialNowResponse as FinishFreeTrialNowResponse, type context_FixSubscriptionInvoicesRequest as FixSubscriptionInvoicesRequest, type context_FixSubscriptionInvoicesRequestModeOneOf as FixSubscriptionInvoicesRequestModeOneOf, type context_FixSubscriptionInvoicesResponse as FixSubscriptionInvoicesResponse, type context_FixedPrice as FixedPrice, type context_FreeTrailEnded as FreeTrailEnded, type context_FreeTrailStarted as FreeTrailStarted, type context_FreeTrialData as FreeTrialData, type context_FullAddressContactDetails as FullAddressContactDetails, type context_FullAddressDetails as FullAddressDetails, type context_FutureUpdatesRequested as FutureUpdatesRequested, type context_GetFullSubscriptionDataRequest as GetFullSubscriptionDataRequest, type context_GetFullSubscriptionDataResponse as GetFullSubscriptionDataResponse, type context_GetSubscriptionAndInternalDataRequest as GetSubscriptionAndInternalDataRequest, type context_GetSubscriptionAndInternalDataResponse as GetSubscriptionAndInternalDataResponse, type context_GetSubscriptionInvoicesRequest as GetSubscriptionInvoicesRequest, type context_GetSubscriptionInvoicesResponse as GetSubscriptionInvoicesResponse, type context_GetSubscriptionRequest as GetSubscriptionRequest, type context_GetSubscriptionResponse as GetSubscriptionResponse, type context_GetSubscriptionResponseNonNullableFields as GetSubscriptionResponseNonNullableFields, type context_GetSubscriptionsStatsRequest as GetSubscriptionsStatsRequest, type context_GetSubscriptionsStatsResponse as GetSubscriptionsStatsResponse, type context_GetSubscriptionsStatsResponseNonNullableFields as GetSubscriptionsStatsResponseNonNullableFields, type context_GracePeriodData as GracePeriodData, type context_GracePeriodEnded as GracePeriodEnded, type context_GracePeriodStarted as GracePeriodStarted, type context_HandleSubscriptionAfterInvoiceMarkedAsPaidRequest as HandleSubscriptionAfterInvoiceMarkedAsPaidRequest, context_HistoryActionInitiator as HistoryActionInitiator, context_HistoryViewMode as HistoryViewMode, type context_IdentificationData as IdentificationData, type context_IdentificationDataIdOneOf as IdentificationDataIdOneOf, context_IdentityType as IdentityType, type context_InitiatePaymentMethodSetupOptions as InitiatePaymentMethodSetupOptions, type context_InitiatePaymentMethodSetupRequest as InitiatePaymentMethodSetupRequest, type context_InitiatePaymentMethodSetupResponse as InitiatePaymentMethodSetupResponse, type context_InitiatePaymentMethodSetupResponseNonNullableFields as InitiatePaymentMethodSetupResponseNonNullableFields, type context_InternalSubscriptionData as InternalSubscriptionData, type context_Invoice as Invoice, type context_InvoiceAction as InvoiceAction, type context_InvoiceActionActionTypeOneOf as InvoiceActionActionTypeOneOf, type context_InvoiceApplicationFee as InvoiceApplicationFee, type context_InvoiceApplicationFeeValueOneOf as InvoiceApplicationFeeValueOneOf, type context_InvoiceDiscount as InvoiceDiscount, type context_InvoiceDiscountValueOneOf as InvoiceDiscountValueOneOf, type context_InvoiceItem as InvoiceItem, type context_InvoiceItemPaymentTypeOneOf as InvoiceItemPaymentTypeOneOf, context_InvoiceStatus as InvoiceStatus, type context_Item as Item, context_ItemCategory as ItemCategory, type context_ItemChange as ItemChange, type context_LatestInvoiceMarkedAsPaid as LatestInvoiceMarkedAsPaid, type context_LatestPaymentAttempt as LatestPaymentAttempt, type context_ListSubscriptionHistoryRequest as ListSubscriptionHistoryRequest, type context_ListSubscriptionHistoryResponse as ListSubscriptionHistoryResponse, type context_ListUpcomingChargesOptions as ListUpcomingChargesOptions, type context_ListUpcomingChargesRequest as ListUpcomingChargesRequest, type context_ListUpcomingChargesResponse as ListUpcomingChargesResponse, type context_ListUpcomingChargesResponseNonNullableFields as ListUpcomingChargesResponseNonNullableFields, type context_MarkLatestInvoiceAsPaidRequest as MarkLatestInvoiceAsPaidRequest, type context_MarkLatestInvoiceAsPaidResponse as MarkLatestInvoiceAsPaidResponse, type context_MarkLatestInvoiceAsPaidResponseNonNullableFields as MarkLatestInvoiceAsPaidResponseNonNullableFields, type context_MessageEnvelope as MessageEnvelope, type context_MigrationDetails as MigrationDetails, type context_Money as Money, type context_OneTime as OneTime, context_OrderMethod as OrderMethod, type context_OriginOverride as OriginOverride, type context_Paging as Paging, type context_PagingMetadataV2 as PagingMetadataV2, context_PauseAt as PauseAt, type context_PauseInfo as PauseInfo, type context_PausePeriod as PausePeriod, context_PausePolicy as PausePolicy, type context_PauseSubscriptionOptions as PauseSubscriptionOptions, type context_PauseSubscriptionRequest as PauseSubscriptionRequest, type context_PauseSubscriptionRequested as PauseSubscriptionRequested, type context_PauseSubscriptionResponse as PauseSubscriptionResponse, type context_PauseSubscriptionResponseNonNullableFields as PauseSubscriptionResponseNonNullableFields, type context_PayCycleOptions as PayCycleOptions, type context_PayCycleRequest as PayCycleRequest, type context_PayCycleResponse as PayCycleResponse, type context_PayCycleResponseNonNullableFields as PayCycleResponseNonNullableFields, type context_PayRecurringInvoice as PayRecurringInvoice, context_PaymentAttemptStatus as PaymentAttemptStatus, type context_PaymentData as PaymentData, type context_PaymentMethod as PaymentMethod, type context_PaymentMethodUpdated as PaymentMethodUpdated, context_PaymentMode as PaymentMode, type context_PaymentSettings as PaymentSettings, context_PaymentSettlementMethod as PaymentSettlementMethod, context_PaymentStatus as PaymentStatus, context_PaymentStatusEnumPaymentStatus as PaymentStatusEnumPaymentStatus, context_PaymentTestMode as PaymentTestMode, type context_PreviewSubscriptionChargesOptions as PreviewSubscriptionChargesOptions, type context_PreviewSubscriptionChargesRequest as PreviewSubscriptionChargesRequest, type context_PreviewSubscriptionChargesRequestSubscriptionOneOf as PreviewSubscriptionChargesRequestSubscriptionOneOf, type context_PreviewSubscriptionChargesResponse as PreviewSubscriptionChargesResponse, type context_PreviewSubscriptionChargesResponseNonNullableFields as PreviewSubscriptionChargesResponseNonNullableFields, type context_PriceAdjustment as PriceAdjustment, type context_PriceAdjustmentAdjustmentTypeOneOf as PriceAdjustmentAdjustmentTypeOneOf, type context_PriceAdjustmentValue as PriceAdjustmentValue, type context_PriceAdjustmentValueAdjustmentValueTypeOneOf as PriceAdjustmentValueAdjustmentValueTypeOneOf, type context_PriceDetails as PriceDetails, type context_PricingModel as PricingModel, type context_PricingModelModelOneOf as PricingModelModelOneOf, type context_Proration as Proration, type context_ProrationTypeOneOf as ProrationTypeOneOf, type context_QuerySubscriptionsRequest as QuerySubscriptionsRequest, type context_QuerySubscriptionsResponse as QuerySubscriptionsResponse, type context_QuerySubscriptionsResponseNonNullableFields as QuerySubscriptionsResponseNonNullableFields, type context_QueryV2 as QueryV2, type context_QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOf, type context_Recurring as Recurring, type context_RedirectUrls as RedirectUrls, context_RequestedFields as RequestedFields, type context_Reschedule as Reschedule, type context_ResetPendingUpdates as ResetPendingUpdates, type context_RestoreDraftSubscriptionRequest as RestoreDraftSubscriptionRequest, type context_RestoreDraftSubscriptionResponse as RestoreDraftSubscriptionResponse, type context_RestoreInfo as RestoreInfo, context_ResumeAt as ResumeAt, type context_ResumeSubscriptionOptions as ResumeSubscriptionOptions, type context_ResumeSubscriptionRequest as ResumeSubscriptionRequest, type context_ResumeSubscriptionRequested as ResumeSubscriptionRequested, type context_ResumeSubscriptionResponse as ResumeSubscriptionResponse, type context_ResumeSubscriptionResponseNonNullableFields as ResumeSubscriptionResponseNonNullableFields, type context_ReviseSubscriptionRequest as ReviseSubscriptionRequest, type context_ReviseSubscriptionResponse as ReviseSubscriptionResponse, context_RevivePolicy as RevivePolicy, type context_ReviveSubscriptionRequest as ReviveSubscriptionRequest, type context_ReviveSubscriptionResponse as ReviveSubscriptionResponse, type context_RunTimeCapsuleTaskNowRequest as RunTimeCapsuleTaskNowRequest, type context_ScheduleAdditionalInfo as ScheduleAdditionalInfo, type context_ScheduleAdditionalInfoParamOneOf as ScheduleAdditionalInfoParamOneOf, type context_ScheduleTimeCapsuleTaskRequest as ScheduleTimeCapsuleTaskRequest, type context_ScheduledPauseCanceled as ScheduledPauseCanceled, type context_ScheduledResumeCanceled as ScheduledResumeCanceled, type context_SearchSubscriptionRequest as SearchSubscriptionRequest, type context_SearchSubscriptionResponse as SearchSubscriptionResponse, type context_SearchSubscriptionsOptions as SearchSubscriptionsOptions, type context_SearchSubscriptionsRequest as SearchSubscriptionsRequest, type context_SearchSubscriptionsRequestPagingMethodOneOf as SearchSubscriptionsRequestPagingMethodOneOf, type context_SearchSubscriptionsResponse as SearchSubscriptionsResponse, type context_SearchSubscriptionsResponseNonNullableFields as SearchSubscriptionsResponseNonNullableFields, type context_SendSubscriptionActionEventBORequest as SendSubscriptionActionEventBORequest, type context_SendSubscriptionActionEventBORequestEventOneOf as SendSubscriptionActionEventBORequestEventOneOf, type context_SendSubscriptionActionEventResponse as SendSubscriptionActionEventResponse, type context_SendTimeCapsuleTaskCanceledBIRequest as SendTimeCapsuleTaskCanceledBIRequest, type context_SetIsMigratedEvent as SetIsMigratedEvent, type context_SetShiftingDataRequest as SetShiftingDataRequest, type context_SetShiftingDataResponse as SetShiftingDataResponse, context_SortOrder as SortOrder, type context_Sorting as Sorting, type context_SortingClauses as SortingClauses, type context_SpecificDateSubscriptionUpdateData as SpecificDateSubscriptionUpdateData, context_Status as Status, type context_StreetAddress as StreetAddress, type context_Subscriber as Subscriber, type context_Subscription as Subscription, type context_SubscriptionActivated as SubscriptionActivated, type context_SubscriptionAutoRenewalTurnedOff as SubscriptionAutoRenewalTurnedOff, type context_SubscriptionAutoRenewalTurnedOffEnvelope as SubscriptionAutoRenewalTurnedOffEnvelope, type context_SubscriptionAutoRenewalTurnedOn as SubscriptionAutoRenewalTurnedOn, type context_SubscriptionAutoRenewalTurnedOnEnvelope as SubscriptionAutoRenewalTurnedOnEnvelope, type context_SubscriptionBackOfficeAction as SubscriptionBackOfficeAction, type context_SubscriptionBillingCycleStarted as SubscriptionBillingCycleStarted, type context_SubscriptionBillingDateUpdated as SubscriptionBillingDateUpdated, type context_SubscriptionBillingDateUpdatedEnvelope as SubscriptionBillingDateUpdatedEnvelope, type context_SubscriptionCanceled as SubscriptionCanceled, type context_SubscriptionCanceledEnvelope as SubscriptionCanceledEnvelope, type context_SubscriptionCancellationRequested as SubscriptionCancellationRequested, type context_SubscriptionCharge as SubscriptionCharge, type context_SubscriptionCollectionMethodUpdated as SubscriptionCollectionMethodUpdated, type context_SubscriptionCreated as SubscriptionCreated, type context_SubscriptionCycleReadyToPay as SubscriptionCycleReadyToPay, type context_SubscriptionCycleTriggered as SubscriptionCycleTriggered, type context_SubscriptionDelayedSyncEvent as SubscriptionDelayedSyncEvent, type context_SubscriptionDeleted as SubscriptionDeleted, type context_SubscriptionDiff as SubscriptionDiff, type context_SubscriptionEnded as SubscriptionEnded, type context_SubscriptionEvent as SubscriptionEvent, type context_SubscriptionEventPayloadOneOf as SubscriptionEventPayloadOneOf, type context_SubscriptionExpired as SubscriptionExpired, type context_SubscriptionExtended as SubscriptionExtended, type context_SubscriptionExtendedEnvelope as SubscriptionExtendedEnvelope, type context_SubscriptionExtendedExtendPolicyOneOf as SubscriptionExtendedExtendPolicyOneOf, context_SubscriptionFrequency as SubscriptionFrequency, type context_SubscriptionHistoryEntry as SubscriptionHistoryEntry, type context_SubscriptionInfo as SubscriptionInfo, type context_SubscriptionInitialPurchaseCompleted as SubscriptionInitialPurchaseCompleted, type context_SubscriptionInvoice as SubscriptionInvoice, type context_SubscriptionLatestInvoiceMarkedAsPaidEnvelope as SubscriptionLatestInvoiceMarkedAsPaidEnvelope, type context_SubscriptionMarkedAsPaid as SubscriptionMarkedAsPaid, type context_SubscriptionPauseScheduleCanceledEnvelope as SubscriptionPauseScheduleCanceledEnvelope, type context_SubscriptionPauseScheduledEnvelope as SubscriptionPauseScheduledEnvelope, type context_SubscriptionPaused as SubscriptionPaused, type context_SubscriptionPausedEnvelope as SubscriptionPausedEnvelope, type context_SubscriptionPolicies as SubscriptionPolicies, type context_SubscriptionPolicy as SubscriptionPolicy, type context_SubscriptionResumeScheduleCanceledEnvelope as SubscriptionResumeScheduleCanceledEnvelope, type context_SubscriptionResumeScheduledEnvelope as SubscriptionResumeScheduledEnvelope, type context_SubscriptionResumed as SubscriptionResumed, type context_SubscriptionResumedEnvelope as SubscriptionResumedEnvelope, type context_SubscriptionRevived as SubscriptionRevived, type context_SubscriptionStatus as SubscriptionStatus, context_SubscriptionStatusEnumSubscriptionStatus as SubscriptionStatusEnumSubscriptionStatus, context_SubscriptionStatusGroup as SubscriptionStatusGroup, type context_SubscriptionSuspended as SubscriptionSuspended, type context_SubscriptionTrialPeriod as SubscriptionTrialPeriod, context_SubscriptionType as SubscriptionType, type context_SubscriptionUpdateData as SubscriptionUpdateData, type context_SubscriptionUpdated as SubscriptionUpdated, type context_SubscriptionUpdatedEnvelope as SubscriptionUpdatedEnvelope, type context_Suspension as Suspension, type context_Task as Task, type context_TaskAction as TaskAction, type context_TaskActionActionOneOf as TaskActionActionOneOf, type context_TaskKey as TaskKey, type context_Tax as Tax, type context_TaxSettings as TaxSettings, type context_TaxValueOneOf as TaxValueOneOf, type context_TimeBasedProration as TimeBasedProration, type context_Totals as Totals, type context_TurnOffSubscriptionAutoRenewalRequest as TurnOffSubscriptionAutoRenewalRequest, type context_TurnOffSubscriptionAutoRenewalResponse as TurnOffSubscriptionAutoRenewalResponse, type context_TurnOffSubscriptionAutoRenewalResponseNonNullableFields as TurnOffSubscriptionAutoRenewalResponseNonNullableFields, type context_TurnOnSubscriptionAutoRenewalRequest as TurnOnSubscriptionAutoRenewalRequest, type context_TurnOnSubscriptionAutoRenewalResponse as TurnOnSubscriptionAutoRenewalResponse, type context_TurnOnSubscriptionAutoRenewalResponseNonNullableFields as TurnOnSubscriptionAutoRenewalResponseNonNullableFields, type context_UnknownSubscriptionEvent as UnknownSubscriptionEvent, type context_UnsupportedAction as UnsupportedAction, type context_UnsupportedReason as UnsupportedReason, context_UpdateAction as UpdateAction, type context_UpdateBillingDateData as UpdateBillingDateData, type context_UpdateFullSubscriptionRequest as UpdateFullSubscriptionRequest, type context_UpdateFullSubscriptionResponse as UpdateFullSubscriptionResponse, type context_UpdatePausePaidDurationRequest as UpdatePausePaidDurationRequest, type context_UpdatePausePaidDurationResponse as UpdatePausePaidDurationResponse, type context_UpdatePaymentMethodBORequest as UpdatePaymentMethodBORequest, type context_UpdatePaymentMethodBOResponse as UpdatePaymentMethodBOResponse, type context_UpdatePaymentStatusRequest as UpdatePaymentStatusRequest, type context_UpdatePaymentStatusResponse as UpdatePaymentStatusResponse, type context_UpdateStatusRequest as UpdateStatusRequest, type context_UpdateStatusResponse as UpdateStatusResponse, type context_UpdateSubscriptionBillingDateOptions as UpdateSubscriptionBillingDateOptions, type context_UpdateSubscriptionBillingDateRequest as UpdateSubscriptionBillingDateRequest, type context_UpdateSubscriptionBillingDateResponse as UpdateSubscriptionBillingDateResponse, type context_UpdateSubscriptionBillingDateResponseNonNullableFields as UpdateSubscriptionBillingDateResponseNonNullableFields, type context_UpdateSubscriptionInvoiceCycleRequest as UpdateSubscriptionInvoiceCycleRequest, type context_UpdateSubscriptionInvoiceCycleResponse as UpdateSubscriptionInvoiceCycleResponse, type context_UpdateSubscriptionItemsRequest as UpdateSubscriptionItemsRequest, type context_UpdateSubscriptionItemsResponse as UpdateSubscriptionItemsResponse, type context_UpdateSubscriptionOriginRequest as UpdateSubscriptionOriginRequest, type context_UpdateSubscriptionOriginResponse as UpdateSubscriptionOriginResponse, type context_UpdateSubscriptionPaymentMethodRequest as UpdateSubscriptionPaymentMethodRequest, type context_UpdateSubscriptionPaymentMethodResponse as UpdateSubscriptionPaymentMethodResponse, type context_UpdateSubscriptionPaymentMethodResponseNonNullableFields as UpdateSubscriptionPaymentMethodResponseNonNullableFields, type context_UpdateSubscriptionPoliciesRequest as UpdateSubscriptionPoliciesRequest, type context_UpdateSubscriptionPoliciesResponse as UpdateSubscriptionPoliciesResponse, type context_UpdateSubscriptionRequest as UpdateSubscriptionRequest, type context_UpdateSubscriptionResponse as UpdateSubscriptionResponse, type context_UpdateSubscriptionStartDateRequest as UpdateSubscriptionStartDateRequest, type context_UpdateSubscriptionStartDateResponse as UpdateSubscriptionStartDateResponse, type context_UpdatesApplied as UpdatesApplied, type context_V1Duration as V1Duration, type context_V1Subscription as V1Subscription, type context_V1SubscriptionActivated as V1SubscriptionActivated, type context_V1SubscriptionCanceled as V1SubscriptionCanceled, type context_V1SubscriptionCreated as V1SubscriptionCreated, type context_V1SubscriptionEvent as V1SubscriptionEvent, type context_V1SubscriptionEventEventOneOf as V1SubscriptionEventEventOneOf, type context_V1SubscriptionInitialPurchaseCompleted as V1SubscriptionInitialPurchaseCompleted, type context_V1SubscriptionResumed as V1SubscriptionResumed, context_V1SubscriptionStatusEnumSubscriptionStatus as V1SubscriptionStatusEnumSubscriptionStatus, type context_V1SubscriptionUpdated as V1SubscriptionUpdated, type context_V2Subscription as V2Subscription, context_WebhookIdentityType as WebhookIdentityType, context_allowedActions as allowedActions, context_cancelSubscription as cancelSubscription, context_countSubscriptions as countSubscriptions, context_customerAllowedActions as customerAllowedActions, context_customerCancelSubscription as customerCancelSubscription, context_customerExtendSubscription as customerExtendSubscription, context_customerGetSubscription as customerGetSubscription, context_customerInitiatePaymentMethodSetup as customerInitiatePaymentMethodSetup, context_customerListUpcomingCharges as customerListUpcomingCharges, context_customerQuerySubscriptions as customerQuerySubscriptions, context_customerTurnOffSubscriptionAutoRenewal as customerTurnOffSubscriptionAutoRenewal, context_customerTurnOnSubscriptionAutoRenewal as customerTurnOnSubscriptionAutoRenewal, context_customerUpdateSubscriptionPaymentMethod as customerUpdateSubscriptionPaymentMethod, context_extendSubscription as extendSubscription, context_getSubscription as getSubscription, context_getSubscriptionsStats as getSubscriptionsStats, context_initiatePaymentMethodSetup as initiatePaymentMethodSetup, context_listUpcomingCharges as listUpcomingCharges, context_markLatestInvoiceAsPaid as markLatestInvoiceAsPaid, context_onSubscriptionAutoRenewalTurnedOff as onSubscriptionAutoRenewalTurnedOff, context_onSubscriptionAutoRenewalTurnedOn as onSubscriptionAutoRenewalTurnedOn, context_onSubscriptionBillingDateUpdated as onSubscriptionBillingDateUpdated, context_onSubscriptionCanceled as onSubscriptionCanceled, context_onSubscriptionExtended as onSubscriptionExtended, context_onSubscriptionLatestInvoiceMarkedAsPaid as onSubscriptionLatestInvoiceMarkedAsPaid, context_onSubscriptionPauseScheduleCanceled as onSubscriptionPauseScheduleCanceled, context_onSubscriptionPauseScheduled as onSubscriptionPauseScheduled, context_onSubscriptionPaused as onSubscriptionPaused, context_onSubscriptionResumeScheduleCanceled as onSubscriptionResumeScheduleCanceled, context_onSubscriptionResumeScheduled as onSubscriptionResumeScheduled, context_onSubscriptionResumed as onSubscriptionResumed, context_onSubscriptionUpdated as onSubscriptionUpdated, context_pauseSubscription as pauseSubscription, context_payCycle as payCycle, context_previewSubscriptionCharges as previewSubscriptionCharges, context_querySubscriptions as querySubscriptions, context_resumeSubscription as resumeSubscription, context_searchSubscriptions as searchSubscriptions, context_turnOffSubscriptionAutoRenewal as turnOffSubscriptionAutoRenewal, context_turnOnSubscriptionAutoRenewal as turnOnSubscriptionAutoRenewal, context_updateSubscriptionBillingDate as updateSubscriptionBillingDate, context_updateSubscriptionPaymentMethod as updateSubscriptionPaymentMethod };
|
|
3628
3890
|
}
|
|
3629
3891
|
|
|
3630
3892
|
export { context as subscriptions };
|
|
@@ -87,6 +87,8 @@ interface Subscription {
|
|
|
87
87
|
* @readonly
|
|
88
88
|
*/
|
|
89
89
|
changesCounter?: string | null;
|
|
90
|
+
/** Billing order id. Optional. */
|
|
91
|
+
orderId?: string | null;
|
|
90
92
|
/** items, minSize is 1, maxSize is 100 */
|
|
91
93
|
items?: Item[];
|
|
92
94
|
}
|
|
@@ -154,7 +156,7 @@ interface BillingSettings {
|
|
|
154
156
|
/** customer payment source to make recurring payments with */
|
|
155
157
|
paymentMethod?: PaymentMethod;
|
|
156
158
|
/** Instructs how payments will be collected. */
|
|
157
|
-
collectionMethod?:
|
|
159
|
+
collectionMethod?: CollectionMethodEnumCollectionMethod;
|
|
158
160
|
/**
|
|
159
161
|
* Duration of cycle. For example, 1 MONTH, 2 WEEKS, 7 DAYS, 1 YEAR etc.
|
|
160
162
|
* Shortest supported cycle duration is 7 days.
|
|
@@ -193,7 +195,7 @@ interface PaymentMethod {
|
|
|
193
195
|
/** reference to payment source id stored in payments system */
|
|
194
196
|
_id?: string;
|
|
195
197
|
}
|
|
196
|
-
declare enum
|
|
198
|
+
declare enum CollectionMethodEnumCollectionMethod {
|
|
197
199
|
UNKNOWN = "UNKNOWN",
|
|
198
200
|
/** Subscriber automatically charged */
|
|
199
201
|
AUTO_CHARGE = "AUTO_CHARGE",
|
|
@@ -1041,8 +1043,8 @@ declare enum PaymentMode {
|
|
|
1041
1043
|
}
|
|
1042
1044
|
interface SubscriptionCollectionMethodUpdated {
|
|
1043
1045
|
subscription?: Subscription;
|
|
1044
|
-
newCollectionMethod?:
|
|
1045
|
-
previousCollectionMethod?:
|
|
1046
|
+
newCollectionMethod?: CollectionMethodEnumCollectionMethod;
|
|
1047
|
+
previousCollectionMethod?: CollectionMethodEnumCollectionMethod;
|
|
1046
1048
|
}
|
|
1047
1049
|
interface FreeTrailStarted {
|
|
1048
1050
|
subscription?: Subscription;
|
|
@@ -1996,6 +1998,249 @@ interface Charge {
|
|
|
1996
1998
|
/** The billing date from which the charge starts */
|
|
1997
1999
|
cycleBillingDate?: Date;
|
|
1998
2000
|
}
|
|
2001
|
+
interface CreateSubscriptionForOrderRequest {
|
|
2002
|
+
/** Subscription needs to be created */
|
|
2003
|
+
subscription?: Subscription;
|
|
2004
|
+
}
|
|
2005
|
+
interface CreateSubscriptionForOrderResponse {
|
|
2006
|
+
/** Created subscription */
|
|
2007
|
+
subscription?: Subscription;
|
|
2008
|
+
/** Non-persistent invoice */
|
|
2009
|
+
invoice?: Invoice;
|
|
2010
|
+
}
|
|
2011
|
+
/** An invoice includes information about the subscription and the customer. */
|
|
2012
|
+
interface Invoice {
|
|
2013
|
+
/**
|
|
2014
|
+
* Invoice ID.
|
|
2015
|
+
* @readonly
|
|
2016
|
+
*/
|
|
2017
|
+
_id?: string | null;
|
|
2018
|
+
/**
|
|
2019
|
+
* Date and time the invoice was created.
|
|
2020
|
+
* @readonly
|
|
2021
|
+
*/
|
|
2022
|
+
_createdDate?: Date;
|
|
2023
|
+
/**
|
|
2024
|
+
* Date and time the invoice was last updated.
|
|
2025
|
+
* @readonly
|
|
2026
|
+
*/
|
|
2027
|
+
_updatedDate?: Date;
|
|
2028
|
+
/**
|
|
2029
|
+
* Revision number, which increments by 1 each time the invoice is updated.
|
|
2030
|
+
* To prevent conflicting changes,
|
|
2031
|
+
* the current revision must be passed when updating the invoice.
|
|
2032
|
+
*
|
|
2033
|
+
* Ignored when creating a invoice.
|
|
2034
|
+
* @readonly
|
|
2035
|
+
*/
|
|
2036
|
+
revision?: string | null;
|
|
2037
|
+
/** Information about the invoice origin. */
|
|
2038
|
+
origin?: BusinessOriginData;
|
|
2039
|
+
/**
|
|
2040
|
+
* Invoice status.
|
|
2041
|
+
*
|
|
2042
|
+
* + `"UNKNOWN"`: There is no information about the invoice status.
|
|
2043
|
+
* + `"OPEN"`: BASS has created the invoice but hasn't initiated the payment process.
|
|
2044
|
+
* + `"PAID"`: The customer has successfully paid for the invoice.
|
|
2045
|
+
* + `"ATTEMPT_FAILED"`: The payment process has started and there has been at least one unsuccessful payment attempt.
|
|
2046
|
+
* + `"FAILED"`: The payment process has failed and there are no more retries.
|
|
2047
|
+
* + `"CANCELED"`: The payment process has been stopped because the related subscription has been canceled.
|
|
2048
|
+
* @readonly
|
|
2049
|
+
*/
|
|
2050
|
+
status?: InvoiceStatus;
|
|
2051
|
+
/**
|
|
2052
|
+
* 3-letter currency code of the invoice in
|
|
2053
|
+
* [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.
|
|
2054
|
+
*/
|
|
2055
|
+
currency?: string;
|
|
2056
|
+
/** Information about the customer. */
|
|
2057
|
+
customer?: Customer;
|
|
2058
|
+
/**
|
|
2059
|
+
* Whether the payment is processed through Wix and whether the customer must provide some input.
|
|
2060
|
+
*
|
|
2061
|
+
* + `"UNKNOWN"`: There is no information about the collection method.
|
|
2062
|
+
* + `"AUTO_CHARGE"`: The customer pays automatically through Wix.
|
|
2063
|
+
* + `"SEND_INVOICE"`: The customer pays through Wix, but some manual input is required.
|
|
2064
|
+
* + `"OFFLINE"`: The customer pays outside of Wix.
|
|
2065
|
+
*/
|
|
2066
|
+
collectionMethod?: CollectionMethod;
|
|
2067
|
+
/**
|
|
2068
|
+
* ID of the
|
|
2069
|
+
* [payment method](https://bo.wix.com/wix-docs/rest/wix-cashier/settings/payment-method-type/payment-method-type-object).
|
|
2070
|
+
* Not available for the first payment of a subscription and all offline
|
|
2071
|
+
* payments.
|
|
2072
|
+
*/
|
|
2073
|
+
paymentMethodId?: string | null;
|
|
2074
|
+
/**
|
|
2075
|
+
* Cashier [Order ID](https://dev.wix.com/docs/rest/payments/wix-cashier/pay/order#order-object)
|
|
2076
|
+
* for the corresponding payment.
|
|
2077
|
+
* @readonly
|
|
2078
|
+
*/
|
|
2079
|
+
paymentOrderId?: string | null;
|
|
2080
|
+
/** Information about a discount. Available only for invoices that include a discount. */
|
|
2081
|
+
discount?: InvoiceDiscount;
|
|
2082
|
+
/** Billing address. */
|
|
2083
|
+
billingAddress?: FullAddressDetails;
|
|
2084
|
+
/** Shipping address. Available only for `"PHYSICAL"` line items. */
|
|
2085
|
+
shippingAddress?: FullAddressDetails;
|
|
2086
|
+
/** Shipping fee in `0.00` format. */
|
|
2087
|
+
shippingFee?: string | null;
|
|
2088
|
+
/**
|
|
2089
|
+
* Information about the invoice's totals.
|
|
2090
|
+
* @readonly
|
|
2091
|
+
*/
|
|
2092
|
+
totals?: Totals;
|
|
2093
|
+
/** Line items belonging to the invoice. */
|
|
2094
|
+
invoiceItems?: InvoiceItem[];
|
|
2095
|
+
/**
|
|
2096
|
+
* Whether the invoice is used to validate payment details.
|
|
2097
|
+
*
|
|
2098
|
+
* + `true`: BASS uses the invoice to test payment details. Relevant for free trials. Ensures that Wix can collect the payment of the first billing cycle.
|
|
2099
|
+
* + `false`: Standard invoice.
|
|
2100
|
+
*/
|
|
2101
|
+
isAuthorization?: boolean | null;
|
|
2102
|
+
/** Whether the invoice's `totals.totalPrice` includes tax. */
|
|
2103
|
+
isTaxInclusive?: boolean | null;
|
|
2104
|
+
/** Details of the latest payment attempt. */
|
|
2105
|
+
latestPaymentAttempt?: LatestPaymentAttempt;
|
|
2106
|
+
/** List of charges and credits that adjust the invoice's `totals.totalPrice`. */
|
|
2107
|
+
adjustments?: PriceAdjustment[];
|
|
2108
|
+
/**
|
|
2109
|
+
* Invoice Number.
|
|
2110
|
+
* @readonly
|
|
2111
|
+
*/
|
|
2112
|
+
invoiceNumber?: string | null;
|
|
2113
|
+
}
|
|
2114
|
+
interface BusinessOriginData {
|
|
2115
|
+
/**
|
|
2116
|
+
* ID of the app for which BASS has created the invoice. For example,
|
|
2117
|
+
* `"1380b703-ce81-ff05-f115-39571d94dfcd"` for the Wix eCommerce app.
|
|
2118
|
+
*/
|
|
2119
|
+
appId?: string;
|
|
2120
|
+
/**
|
|
2121
|
+
* [Instance ID](https://dev.wix.com/api/rest/app-management/apps/app-instance/get-app-instance)
|
|
2122
|
+
* of the app for which BASS has created the invoice.
|
|
2123
|
+
*/
|
|
2124
|
+
instanceId?: string;
|
|
2125
|
+
/**
|
|
2126
|
+
* ID of the entity that triggered the invoice creation. For example, the ID of a
|
|
2127
|
+
* [pricing plan](https://dev.wix.com/docs/rest/payments/pricing-plans/pricing-plans/plan#plan-object).
|
|
2128
|
+
*/
|
|
2129
|
+
entityId?: string;
|
|
2130
|
+
}
|
|
2131
|
+
declare enum InvoiceStatus {
|
|
2132
|
+
UNKNOWN = "UNKNOWN",
|
|
2133
|
+
OPEN = "OPEN",
|
|
2134
|
+
PAID = "PAID",
|
|
2135
|
+
FAILED = "FAILED",
|
|
2136
|
+
ATTEMPT_FAILED = "ATTEMPT_FAILED",
|
|
2137
|
+
CANCELED = "CANCELED"
|
|
2138
|
+
}
|
|
2139
|
+
declare enum CollectionMethod {
|
|
2140
|
+
UNKNOWN = "UNKNOWN",
|
|
2141
|
+
AUTO_CHARGE = "AUTO_CHARGE",
|
|
2142
|
+
OFFLINE = "OFFLINE",
|
|
2143
|
+
SEND_INVOICE = "SEND_INVOICE"
|
|
2144
|
+
}
|
|
2145
|
+
declare enum CreationMode {
|
|
2146
|
+
UNKNOWN = "UNKNOWN",
|
|
2147
|
+
SYSTEM = "SYSTEM",
|
|
2148
|
+
MANUAL = "MANUAL"
|
|
2149
|
+
}
|
|
2150
|
+
interface LatestPaymentAttempt {
|
|
2151
|
+
/**
|
|
2152
|
+
* ID of the latest payment attempt.
|
|
2153
|
+
* @readonly
|
|
2154
|
+
*/
|
|
2155
|
+
paymentAttemptId?: string;
|
|
2156
|
+
/**
|
|
2157
|
+
* Date and time of the latest payment attempt in `YYYY-MM-DDThh:mm.sssZ` format.
|
|
2158
|
+
* @readonly
|
|
2159
|
+
*/
|
|
2160
|
+
dateAttempt?: Date;
|
|
2161
|
+
/** Number of the latest payment attempt. */
|
|
2162
|
+
attemptNumber?: number;
|
|
2163
|
+
/**
|
|
2164
|
+
* Status of the latest payment attempt.
|
|
2165
|
+
*
|
|
2166
|
+
* + `"UNKNOWN"`: There is no information about the status of the latest payment attempt.
|
|
2167
|
+
* + `"SCHEDULED"`: The latest payment attempt is scheduled but hasn't started yet.
|
|
2168
|
+
* + `"IN_PROGRESS"`: The latest payment attempt is in progress.
|
|
2169
|
+
* + `"PAID"`: The latest payment attempt resulted in a successful payment.
|
|
2170
|
+
* + `"DECLINED"`: The latest payment attempt has been declined.
|
|
2171
|
+
* + `"TECHNICAL_FAILURE"`: The latest payment attempt couldn't be process due to a technical failure.
|
|
2172
|
+
* + `"CANCELED"`: The latest payment attempt has been canceled by BASS.
|
|
2173
|
+
* @readonly
|
|
2174
|
+
*/
|
|
2175
|
+
status?: PaymentAttemptStatus;
|
|
2176
|
+
/**
|
|
2177
|
+
* Whether BASS tries to collect the payment another time. Available only when
|
|
2178
|
+
* `latestPaymentAttempt.status` is set to `"DECLINED"`.
|
|
2179
|
+
*/
|
|
2180
|
+
retryable?: boolean;
|
|
2181
|
+
}
|
|
2182
|
+
declare enum PaymentAttemptStatus {
|
|
2183
|
+
UNKNOWN = "UNKNOWN",
|
|
2184
|
+
SCHEDULED = "SCHEDULED",
|
|
2185
|
+
IN_PROGRESS = "IN_PROGRESS",
|
|
2186
|
+
PAID = "PAID",
|
|
2187
|
+
DECLINED = "DECLINED",
|
|
2188
|
+
TECHNICAL_FAILURE = "TECHNICAL_FAILURE",
|
|
2189
|
+
CANCELED = "CANCELED",
|
|
2190
|
+
PENDING = "PENDING"
|
|
2191
|
+
}
|
|
2192
|
+
interface PriceAdjustment extends PriceAdjustmentAdjustmentTypeOneOf {
|
|
2193
|
+
/** Adjustment that increases the price. */
|
|
2194
|
+
charge?: PriceAdjustmentValue;
|
|
2195
|
+
/** Adjustment that lowers the price. */
|
|
2196
|
+
credit?: PriceAdjustmentValue;
|
|
2197
|
+
}
|
|
2198
|
+
/** @oneof */
|
|
2199
|
+
interface PriceAdjustmentAdjustmentTypeOneOf {
|
|
2200
|
+
/** Adjustment that increases the price. */
|
|
2201
|
+
charge?: PriceAdjustmentValue;
|
|
2202
|
+
/** Adjustment that lowers the price. */
|
|
2203
|
+
credit?: PriceAdjustmentValue;
|
|
2204
|
+
}
|
|
2205
|
+
interface PriceAdjustmentValue extends PriceAdjustmentValueAdjustmentValueTypeOneOf {
|
|
2206
|
+
/**
|
|
2207
|
+
* Absolute amount that adjusts the price.
|
|
2208
|
+
*
|
|
2209
|
+
* Min: `0.01`
|
|
2210
|
+
*/
|
|
2211
|
+
amount?: string;
|
|
2212
|
+
/**
|
|
2213
|
+
* Relative factor that adjusts the price. For example, setting
|
|
2214
|
+
* `multiplier` to:
|
|
2215
|
+
* - `0.50` results in a price adjustment of 50% of the original value.
|
|
2216
|
+
* - `0.75` results in a price adjustment of 75% of the original value.
|
|
2217
|
+
* - `1.00` results in a price adjustment of 100% of the original value.
|
|
2218
|
+
*
|
|
2219
|
+
* Min: `0.01`
|
|
2220
|
+
* Max: `1.00`
|
|
2221
|
+
*/
|
|
2222
|
+
multiplier?: string;
|
|
2223
|
+
}
|
|
2224
|
+
/** @oneof */
|
|
2225
|
+
interface PriceAdjustmentValueAdjustmentValueTypeOneOf {
|
|
2226
|
+
/**
|
|
2227
|
+
* Absolute amount that adjusts the price.
|
|
2228
|
+
*
|
|
2229
|
+
* Min: `0.01`
|
|
2230
|
+
*/
|
|
2231
|
+
amount?: string;
|
|
2232
|
+
/**
|
|
2233
|
+
* Relative factor that adjusts the price. For example, setting
|
|
2234
|
+
* `multiplier` to:
|
|
2235
|
+
* - `0.50` results in a price adjustment of 50% of the original value.
|
|
2236
|
+
* - `0.75` results in a price adjustment of 75% of the original value.
|
|
2237
|
+
* - `1.00` results in a price adjustment of 100% of the original value.
|
|
2238
|
+
*
|
|
2239
|
+
* Min: `0.01`
|
|
2240
|
+
* Max: `1.00`
|
|
2241
|
+
*/
|
|
2242
|
+
multiplier?: string;
|
|
2243
|
+
}
|
|
1999
2244
|
interface Task {
|
|
2000
2245
|
key?: TaskKey;
|
|
2001
2246
|
executeAt?: Date;
|
|
@@ -2634,7 +2879,7 @@ interface ExternalCollectionDetailsNonNullableFields {
|
|
|
2634
2879
|
interface BillingSettingsNonNullableFields {
|
|
2635
2880
|
currency: string;
|
|
2636
2881
|
paymentMethod?: PaymentMethodNonNullableFields;
|
|
2637
|
-
collectionMethod:
|
|
2882
|
+
collectionMethod: CollectionMethodEnumCollectionMethod;
|
|
2638
2883
|
cycleDuration?: DurationNonNullableFields;
|
|
2639
2884
|
cycleAutoRenew: boolean;
|
|
2640
2885
|
freeTrialDuration?: DurationNonNullableFields;
|
|
@@ -3197,6 +3442,7 @@ type index_d_BulkItemChange = BulkItemChange;
|
|
|
3197
3442
|
type index_d_BulkUpdateSubscriptionItemsByFilterRequest = BulkUpdateSubscriptionItemsByFilterRequest;
|
|
3198
3443
|
type index_d_BulkUpdateSubscriptionItemsByFilterResponse = BulkUpdateSubscriptionItemsByFilterResponse;
|
|
3199
3444
|
type index_d_BusinessOrigin = BusinessOrigin;
|
|
3445
|
+
type index_d_BusinessOriginData = BusinessOriginData;
|
|
3200
3446
|
type index_d_Cancel = Cancel;
|
|
3201
3447
|
type index_d_CancelSubscriptionBORequest = CancelSubscriptionBORequest;
|
|
3202
3448
|
type index_d_CancelSubscriptionBOResponse = CancelSubscriptionBOResponse;
|
|
@@ -3211,6 +3457,8 @@ type index_d_CatalogReference = CatalogReference;
|
|
|
3211
3457
|
type index_d_Charge = Charge;
|
|
3212
3458
|
type index_d_CollectionMethod = CollectionMethod;
|
|
3213
3459
|
declare const index_d_CollectionMethod: typeof CollectionMethod;
|
|
3460
|
+
type index_d_CollectionMethodEnumCollectionMethod = CollectionMethodEnumCollectionMethod;
|
|
3461
|
+
declare const index_d_CollectionMethodEnumCollectionMethod: typeof CollectionMethodEnumCollectionMethod;
|
|
3214
3462
|
type index_d_Complete = Complete;
|
|
3215
3463
|
type index_d_ConvertSapiRequest = ConvertSapiRequest;
|
|
3216
3464
|
type index_d_ConvertSapiResponse = ConvertSapiResponse;
|
|
@@ -3223,11 +3471,15 @@ type index_d_CountSubscriptionsResponse = CountSubscriptionsResponse;
|
|
|
3223
3471
|
type index_d_CountSubscriptionsResponseNonNullableFields = CountSubscriptionsResponseNonNullableFields;
|
|
3224
3472
|
type index_d_CreateRecurringInvoiceBORequest = CreateRecurringInvoiceBORequest;
|
|
3225
3473
|
type index_d_CreateRecurringInvoiceBOResponse = CreateRecurringInvoiceBOResponse;
|
|
3474
|
+
type index_d_CreateSubscriptionForOrderRequest = CreateSubscriptionForOrderRequest;
|
|
3475
|
+
type index_d_CreateSubscriptionForOrderResponse = CreateSubscriptionForOrderResponse;
|
|
3226
3476
|
type index_d_CreateSubscriptionInStateRequest = CreateSubscriptionInStateRequest;
|
|
3227
3477
|
type index_d_CreateSubscriptionInStateRequestModeOneOf = CreateSubscriptionInStateRequestModeOneOf;
|
|
3228
3478
|
type index_d_CreateSubscriptionInStateResponse = CreateSubscriptionInStateResponse;
|
|
3229
3479
|
type index_d_CreateSubscriptionRequest = CreateSubscriptionRequest;
|
|
3230
3480
|
type index_d_CreateSubscriptionResponse = CreateSubscriptionResponse;
|
|
3481
|
+
type index_d_CreationMode = CreationMode;
|
|
3482
|
+
declare const index_d_CreationMode: typeof CreationMode;
|
|
3231
3483
|
type index_d_CursorPaging = CursorPaging;
|
|
3232
3484
|
type index_d_Cursors = Cursors;
|
|
3233
3485
|
type index_d_CustomBillingSchedule = CustomBillingSchedule;
|
|
@@ -3328,6 +3580,7 @@ type index_d_InitiatePaymentMethodSetupRequest = InitiatePaymentMethodSetupReque
|
|
|
3328
3580
|
type index_d_InitiatePaymentMethodSetupResponse = InitiatePaymentMethodSetupResponse;
|
|
3329
3581
|
type index_d_InitiatePaymentMethodSetupResponseNonNullableFields = InitiatePaymentMethodSetupResponseNonNullableFields;
|
|
3330
3582
|
type index_d_InternalSubscriptionData = InternalSubscriptionData;
|
|
3583
|
+
type index_d_Invoice = Invoice;
|
|
3331
3584
|
type index_d_InvoiceAction = InvoiceAction;
|
|
3332
3585
|
type index_d_InvoiceActionActionTypeOneOf = InvoiceActionActionTypeOneOf;
|
|
3333
3586
|
type index_d_InvoiceApplicationFee = InvoiceApplicationFee;
|
|
@@ -3336,11 +3589,14 @@ type index_d_InvoiceDiscount = InvoiceDiscount;
|
|
|
3336
3589
|
type index_d_InvoiceDiscountValueOneOf = InvoiceDiscountValueOneOf;
|
|
3337
3590
|
type index_d_InvoiceItem = InvoiceItem;
|
|
3338
3591
|
type index_d_InvoiceItemPaymentTypeOneOf = InvoiceItemPaymentTypeOneOf;
|
|
3592
|
+
type index_d_InvoiceStatus = InvoiceStatus;
|
|
3593
|
+
declare const index_d_InvoiceStatus: typeof InvoiceStatus;
|
|
3339
3594
|
type index_d_Item = Item;
|
|
3340
3595
|
type index_d_ItemCategory = ItemCategory;
|
|
3341
3596
|
declare const index_d_ItemCategory: typeof ItemCategory;
|
|
3342
3597
|
type index_d_ItemChange = ItemChange;
|
|
3343
3598
|
type index_d_LatestInvoiceMarkedAsPaid = LatestInvoiceMarkedAsPaid;
|
|
3599
|
+
type index_d_LatestPaymentAttempt = LatestPaymentAttempt;
|
|
3344
3600
|
type index_d_ListSubscriptionHistoryRequest = ListSubscriptionHistoryRequest;
|
|
3345
3601
|
type index_d_ListSubscriptionHistoryResponse = ListSubscriptionHistoryResponse;
|
|
3346
3602
|
type index_d_ListUpcomingChargesOptions = ListUpcomingChargesOptions;
|
|
@@ -3375,6 +3631,8 @@ type index_d_PayCycleRequest = PayCycleRequest;
|
|
|
3375
3631
|
type index_d_PayCycleResponse = PayCycleResponse;
|
|
3376
3632
|
type index_d_PayCycleResponseNonNullableFields = PayCycleResponseNonNullableFields;
|
|
3377
3633
|
type index_d_PayRecurringInvoice = PayRecurringInvoice;
|
|
3634
|
+
type index_d_PaymentAttemptStatus = PaymentAttemptStatus;
|
|
3635
|
+
declare const index_d_PaymentAttemptStatus: typeof PaymentAttemptStatus;
|
|
3378
3636
|
type index_d_PaymentData = PaymentData;
|
|
3379
3637
|
type index_d_PaymentMethod = PaymentMethod;
|
|
3380
3638
|
type index_d_PaymentMethodUpdated = PaymentMethodUpdated;
|
|
@@ -3394,6 +3652,10 @@ type index_d_PreviewSubscriptionChargesRequest = PreviewSubscriptionChargesReque
|
|
|
3394
3652
|
type index_d_PreviewSubscriptionChargesRequestSubscriptionOneOf = PreviewSubscriptionChargesRequestSubscriptionOneOf;
|
|
3395
3653
|
type index_d_PreviewSubscriptionChargesResponse = PreviewSubscriptionChargesResponse;
|
|
3396
3654
|
type index_d_PreviewSubscriptionChargesResponseNonNullableFields = PreviewSubscriptionChargesResponseNonNullableFields;
|
|
3655
|
+
type index_d_PriceAdjustment = PriceAdjustment;
|
|
3656
|
+
type index_d_PriceAdjustmentAdjustmentTypeOneOf = PriceAdjustmentAdjustmentTypeOneOf;
|
|
3657
|
+
type index_d_PriceAdjustmentValue = PriceAdjustmentValue;
|
|
3658
|
+
type index_d_PriceAdjustmentValueAdjustmentValueTypeOneOf = PriceAdjustmentValueAdjustmentValueTypeOneOf;
|
|
3397
3659
|
type index_d_PriceDetails = PriceDetails;
|
|
3398
3660
|
type index_d_PricingModel = PricingModel;
|
|
3399
3661
|
type index_d_PricingModelModelOneOf = PricingModelModelOneOf;
|
|
@@ -3624,7 +3886,7 @@ declare const index_d_turnOnSubscriptionAutoRenewal: typeof turnOnSubscriptionAu
|
|
|
3624
3886
|
declare const index_d_updateSubscriptionBillingDate: typeof updateSubscriptionBillingDate;
|
|
3625
3887
|
declare const index_d_updateSubscriptionPaymentMethod: typeof updateSubscriptionPaymentMethod;
|
|
3626
3888
|
declare namespace index_d {
|
|
3627
|
-
export { type index_d_Action as Action, type index_d_ActionContext as ActionContext, type index_d_ActionDetails as ActionDetails, type index_d_ActionEvent as ActionEvent, index_d_ActionInitiator as ActionInitiator, index_d_ActionType as ActionType, type index_d_AddPausePeriodRequest as AddPausePeriodRequest, type index_d_AddPausePeriodResponse as AddPausePeriodResponse, type index_d_AdditionalFee as AdditionalFee, index_d_AdditionalFeeTrigger as AdditionalFeeTrigger, type index_d_Address as Address, type index_d_AddressStreetOneOf as AddressStreetOneOf, type index_d_AllowedActionsOptions as AllowedActionsOptions, type index_d_AllowedActionsRequest as AllowedActionsRequest, type index_d_AllowedActionsResponse as AllowedActionsResponse, type index_d_AllowedActionsResponseNonNullableFields as AllowedActionsResponseNonNullableFields, type index_d_AmountByStatus as AmountByStatus, type index_d_ApplicationFee as ApplicationFee, type index_d_ApplicationFeeValueOneOf as ApplicationFeeValueOneOf, type index_d_AttachInvoice as AttachInvoice, type index_d_AutomaticRetryData as AutomaticRetryData, type index_d_BaseEventMetadata as BaseEventMetadata, type index_d_BillingSettings as BillingSettings, type index_d_BillingStatus as BillingStatus, type index_d_BulkItemChange as BulkItemChange, type index_d_BulkUpdateSubscriptionItemsByFilterRequest as BulkUpdateSubscriptionItemsByFilterRequest, type index_d_BulkUpdateSubscriptionItemsByFilterResponse as BulkUpdateSubscriptionItemsByFilterResponse, type index_d_BusinessOrigin as BusinessOrigin, type index_d_Cancel as Cancel, type index_d_CancelSubscriptionBORequest as CancelSubscriptionBORequest, type index_d_CancelSubscriptionBOResponse as CancelSubscriptionBOResponse, type index_d_CancelSubscriptionRequest as CancelSubscriptionRequest, type index_d_CancelSubscriptionResponse as CancelSubscriptionResponse, type index_d_CancelSubscriptionResponseNonNullableFields as CancelSubscriptionResponseNonNullableFields, type index_d_CancelTimeCapsuleTaskRequest as CancelTimeCapsuleTaskRequest, type index_d_CancellationInfo as CancellationInfo, index_d_CancellationInitiator as CancellationInitiator, type index_d_CatalogReference as CatalogReference, type index_d_Charge as Charge, index_d_CollectionMethod as CollectionMethod, type index_d_Complete as Complete, type index_d_ConvertSapiRequest as ConvertSapiRequest, type index_d_ConvertSapiResponse as ConvertSapiResponse, type index_d_CountByStatus as CountByStatus, type index_d_CountSubscriptionFilter as CountSubscriptionFilter, type index_d_CountSubscriptionFilterStatusOneOf as CountSubscriptionFilterStatusOneOf, type index_d_CountSubscriptionsOptions as CountSubscriptionsOptions, type index_d_CountSubscriptionsRequest as CountSubscriptionsRequest, type index_d_CountSubscriptionsResponse as CountSubscriptionsResponse, type index_d_CountSubscriptionsResponseNonNullableFields as CountSubscriptionsResponseNonNullableFields, type index_d_CreateRecurringInvoiceBORequest as CreateRecurringInvoiceBORequest, type index_d_CreateRecurringInvoiceBOResponse as CreateRecurringInvoiceBOResponse, type index_d_CreateSubscriptionInStateRequest as CreateSubscriptionInStateRequest, type index_d_CreateSubscriptionInStateRequestModeOneOf as CreateSubscriptionInStateRequestModeOneOf, type index_d_CreateSubscriptionInStateResponse as CreateSubscriptionInStateResponse, type index_d_CreateSubscriptionRequest as CreateSubscriptionRequest, type index_d_CreateSubscriptionResponse as CreateSubscriptionResponse, type index_d_CursorPaging as CursorPaging, type index_d_Cursors as Cursors, type index_d_CustomBillingSchedule as CustomBillingSchedule, type index_d_CustomProration as CustomProration, type index_d_CustomProrationAmountOneOf as CustomProrationAmountOneOf, type index_d_Customer as Customer, type index_d_CustomerAllowedActionsRequest as CustomerAllowedActionsRequest, type index_d_CustomerAllowedActionsResponse as CustomerAllowedActionsResponse, type index_d_CustomerAllowedActionsResponseNonNullableFields as CustomerAllowedActionsResponseNonNullableFields, type index_d_CustomerCancelSubscriptionOptions as CustomerCancelSubscriptionOptions, type index_d_CustomerCancelSubscriptionRequest as CustomerCancelSubscriptionRequest, type index_d_CustomerCancelSubscriptionResponse as CustomerCancelSubscriptionResponse, type index_d_CustomerCancelSubscriptionResponseNonNullableFields as CustomerCancelSubscriptionResponseNonNullableFields, type index_d_CustomerExtendSubscriptionOptions as CustomerExtendSubscriptionOptions, type index_d_CustomerExtendSubscriptionRequest as CustomerExtendSubscriptionRequest, type index_d_CustomerExtendSubscriptionResponse as CustomerExtendSubscriptionResponse, type index_d_CustomerExtendSubscriptionResponseNonNullableFields as CustomerExtendSubscriptionResponseNonNullableFields, type index_d_CustomerIdOneOf as CustomerIdOneOf, type index_d_CustomerInitiatePaymentMethodSetupOptions as CustomerInitiatePaymentMethodSetupOptions, type index_d_CustomerListUpcomingChargesRequest as CustomerListUpcomingChargesRequest, type index_d_CustomerListUpcomingChargesResponse as CustomerListUpcomingChargesResponse, type index_d_CustomerListUpcomingChargesResponseNonNullableFields as CustomerListUpcomingChargesResponseNonNullableFields, type index_d_CustomerQuerySubscriptionsOptions as CustomerQuerySubscriptionsOptions, type index_d_CustomerTurnOffAutoRenewalRequest as CustomerTurnOffAutoRenewalRequest, type index_d_CustomerTurnOffAutoRenewalResponse as CustomerTurnOffAutoRenewalResponse, type index_d_CustomerTurnOffAutoRenewalResponseNonNullableFields as CustomerTurnOffAutoRenewalResponseNonNullableFields, type index_d_CustomerTurnOffSubscriptionAutoRenewalOptions as CustomerTurnOffSubscriptionAutoRenewalOptions, type index_d_CustomerTurnOnAutoRenewalRequest as CustomerTurnOnAutoRenewalRequest, type index_d_CustomerTurnOnAutoRenewalResponse as CustomerTurnOnAutoRenewalResponse, type index_d_CustomerTurnOnAutoRenewalResponseNonNullableFields as CustomerTurnOnAutoRenewalResponseNonNullableFields, type index_d_CustomerTurnOnSubscriptionAutoRenewalOptions as CustomerTurnOnSubscriptionAutoRenewalOptions, type index_d_DeleteDraftSubscriptionRequest as DeleteDraftSubscriptionRequest, type index_d_DeleteDraftSubscriptionResponse as DeleteDraftSubscriptionResponse, type index_d_DeleteSubscriptionRequest as DeleteSubscriptionRequest, type index_d_DeleteSubscriptionResponse as DeleteSubscriptionResponse, type index_d_DetachInvoice as DetachInvoice, type index_d_Discount as Discount, type index_d_DiscountCycles as DiscountCycles, type index_d_DiscountOrigin as DiscountOrigin, type index_d_DiscountValueOneOf as DiscountValueOneOf, type index_d_DomainEvent as DomainEvent, type index_d_DomainEventBodyOneOf as DomainEventBodyOneOf, type index_d_Duration as Duration, index_d_DurationUnit as DurationUnit, type index_d_DynamicTax as DynamicTax, type index_d_Empty as Empty, type index_d_EntityCreatedEvent as EntityCreatedEvent, type index_d_EntityDeletedEvent as EntityDeletedEvent, type index_d_EntityUpdatedEvent as EntityUpdatedEvent, type index_d_EventMetadata as EventMetadata, index_d_ExtendPolicyType as ExtendPolicyType, type index_d_ExtendSubscriptionOptions as ExtendSubscriptionOptions, type index_d_ExtendSubscriptionRequest as ExtendSubscriptionRequest, type index_d_ExtendSubscriptionRequestExtendPolicyOneOf as ExtendSubscriptionRequestExtendPolicyOneOf, type index_d_ExtendSubscriptionResponse as ExtendSubscriptionResponse, type index_d_ExtendSubscriptionResponseNonNullableFields as ExtendSubscriptionResponseNonNullableFields, type index_d_ExternalCollectionDetails as ExternalCollectionDetails, type index_d_FinishFreeTrialNowRequest as FinishFreeTrialNowRequest, type index_d_FinishFreeTrialNowResponse as FinishFreeTrialNowResponse, type index_d_FixSubscriptionInvoicesRequest as FixSubscriptionInvoicesRequest, type index_d_FixSubscriptionInvoicesRequestModeOneOf as FixSubscriptionInvoicesRequestModeOneOf, type index_d_FixSubscriptionInvoicesResponse as FixSubscriptionInvoicesResponse, type index_d_FixedPrice as FixedPrice, type index_d_FreeTrailEnded as FreeTrailEnded, type index_d_FreeTrailStarted as FreeTrailStarted, type index_d_FreeTrialData as FreeTrialData, type index_d_FullAddressContactDetails as FullAddressContactDetails, type index_d_FullAddressDetails as FullAddressDetails, type index_d_FutureUpdatesRequested as FutureUpdatesRequested, type index_d_GetFullSubscriptionDataRequest as GetFullSubscriptionDataRequest, type index_d_GetFullSubscriptionDataResponse as GetFullSubscriptionDataResponse, type index_d_GetSubscriptionAndInternalDataRequest as GetSubscriptionAndInternalDataRequest, type index_d_GetSubscriptionAndInternalDataResponse as GetSubscriptionAndInternalDataResponse, type index_d_GetSubscriptionInvoicesRequest as GetSubscriptionInvoicesRequest, type index_d_GetSubscriptionInvoicesResponse as GetSubscriptionInvoicesResponse, type index_d_GetSubscriptionRequest as GetSubscriptionRequest, type index_d_GetSubscriptionResponse as GetSubscriptionResponse, type index_d_GetSubscriptionResponseNonNullableFields as GetSubscriptionResponseNonNullableFields, type index_d_GetSubscriptionsStatsRequest as GetSubscriptionsStatsRequest, type index_d_GetSubscriptionsStatsResponse as GetSubscriptionsStatsResponse, type index_d_GetSubscriptionsStatsResponseNonNullableFields as GetSubscriptionsStatsResponseNonNullableFields, type index_d_GracePeriodData as GracePeriodData, type index_d_GracePeriodEnded as GracePeriodEnded, type index_d_GracePeriodStarted as GracePeriodStarted, type index_d_HandleSubscriptionAfterInvoiceMarkedAsPaidRequest as HandleSubscriptionAfterInvoiceMarkedAsPaidRequest, index_d_HistoryActionInitiator as HistoryActionInitiator, index_d_HistoryViewMode as HistoryViewMode, type index_d_IdentificationData as IdentificationData, type index_d_IdentificationDataIdOneOf as IdentificationDataIdOneOf, index_d_IdentityType as IdentityType, type index_d_InitiatePaymentMethodSetupOptions as InitiatePaymentMethodSetupOptions, type index_d_InitiatePaymentMethodSetupRequest as InitiatePaymentMethodSetupRequest, type index_d_InitiatePaymentMethodSetupResponse as InitiatePaymentMethodSetupResponse, type index_d_InitiatePaymentMethodSetupResponseNonNullableFields as InitiatePaymentMethodSetupResponseNonNullableFields, type index_d_InternalSubscriptionData as InternalSubscriptionData, type index_d_InvoiceAction as InvoiceAction, type index_d_InvoiceActionActionTypeOneOf as InvoiceActionActionTypeOneOf, type index_d_InvoiceApplicationFee as InvoiceApplicationFee, type index_d_InvoiceApplicationFeeValueOneOf as InvoiceApplicationFeeValueOneOf, type index_d_InvoiceDiscount as InvoiceDiscount, type index_d_InvoiceDiscountValueOneOf as InvoiceDiscountValueOneOf, type index_d_InvoiceItem as InvoiceItem, type index_d_InvoiceItemPaymentTypeOneOf as InvoiceItemPaymentTypeOneOf, type index_d_Item as Item, index_d_ItemCategory as ItemCategory, type index_d_ItemChange as ItemChange, type index_d_LatestInvoiceMarkedAsPaid as LatestInvoiceMarkedAsPaid, type index_d_ListSubscriptionHistoryRequest as ListSubscriptionHistoryRequest, type index_d_ListSubscriptionHistoryResponse as ListSubscriptionHistoryResponse, type index_d_ListUpcomingChargesOptions as ListUpcomingChargesOptions, type index_d_ListUpcomingChargesRequest as ListUpcomingChargesRequest, type index_d_ListUpcomingChargesResponse as ListUpcomingChargesResponse, type index_d_ListUpcomingChargesResponseNonNullableFields as ListUpcomingChargesResponseNonNullableFields, type index_d_MarkLatestInvoiceAsPaidRequest as MarkLatestInvoiceAsPaidRequest, type index_d_MarkLatestInvoiceAsPaidResponse as MarkLatestInvoiceAsPaidResponse, type index_d_MarkLatestInvoiceAsPaidResponseNonNullableFields as MarkLatestInvoiceAsPaidResponseNonNullableFields, type index_d_MessageEnvelope as MessageEnvelope, type index_d_MigrationDetails as MigrationDetails, type index_d_Money as Money, type index_d_OneTime as OneTime, index_d_OrderMethod as OrderMethod, type index_d_OriginOverride as OriginOverride, type index_d_Paging as Paging, type index_d_PagingMetadataV2 as PagingMetadataV2, index_d_PauseAt as PauseAt, type index_d_PauseInfo as PauseInfo, type index_d_PausePeriod as PausePeriod, index_d_PausePolicy as PausePolicy, type index_d_PauseSubscriptionOptions as PauseSubscriptionOptions, type index_d_PauseSubscriptionRequest as PauseSubscriptionRequest, type index_d_PauseSubscriptionRequested as PauseSubscriptionRequested, type index_d_PauseSubscriptionResponse as PauseSubscriptionResponse, type index_d_PauseSubscriptionResponseNonNullableFields as PauseSubscriptionResponseNonNullableFields, type index_d_PayCycleOptions as PayCycleOptions, type index_d_PayCycleRequest as PayCycleRequest, type index_d_PayCycleResponse as PayCycleResponse, type index_d_PayCycleResponseNonNullableFields as PayCycleResponseNonNullableFields, type index_d_PayRecurringInvoice as PayRecurringInvoice, type index_d_PaymentData as PaymentData, type index_d_PaymentMethod as PaymentMethod, type index_d_PaymentMethodUpdated as PaymentMethodUpdated, index_d_PaymentMode as PaymentMode, type index_d_PaymentSettings as PaymentSettings, index_d_PaymentSettlementMethod as PaymentSettlementMethod, index_d_PaymentStatus as PaymentStatus, index_d_PaymentStatusEnumPaymentStatus as PaymentStatusEnumPaymentStatus, index_d_PaymentTestMode as PaymentTestMode, type index_d_PreviewSubscriptionChargesOptions as PreviewSubscriptionChargesOptions, type index_d_PreviewSubscriptionChargesRequest as PreviewSubscriptionChargesRequest, type index_d_PreviewSubscriptionChargesRequestSubscriptionOneOf as PreviewSubscriptionChargesRequestSubscriptionOneOf, type index_d_PreviewSubscriptionChargesResponse as PreviewSubscriptionChargesResponse, type index_d_PreviewSubscriptionChargesResponseNonNullableFields as PreviewSubscriptionChargesResponseNonNullableFields, type index_d_PriceDetails as PriceDetails, type index_d_PricingModel as PricingModel, type index_d_PricingModelModelOneOf as PricingModelModelOneOf, type index_d_Proration as Proration, type index_d_ProrationTypeOneOf as ProrationTypeOneOf, type index_d_QuerySubscriptionsRequest as QuerySubscriptionsRequest, type index_d_QuerySubscriptionsResponse as QuerySubscriptionsResponse, type index_d_QuerySubscriptionsResponseNonNullableFields as QuerySubscriptionsResponseNonNullableFields, type index_d_QueryV2 as QueryV2, type index_d_QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOf, type index_d_Recurring as Recurring, type index_d_RedirectUrls as RedirectUrls, index_d_RequestedFields as RequestedFields, type index_d_Reschedule as Reschedule, type index_d_ResetPendingUpdates as ResetPendingUpdates, type index_d_RestoreDraftSubscriptionRequest as RestoreDraftSubscriptionRequest, type index_d_RestoreDraftSubscriptionResponse as RestoreDraftSubscriptionResponse, type index_d_RestoreInfo as RestoreInfo, index_d_ResumeAt as ResumeAt, type index_d_ResumeSubscriptionOptions as ResumeSubscriptionOptions, type index_d_ResumeSubscriptionRequest as ResumeSubscriptionRequest, type index_d_ResumeSubscriptionRequested as ResumeSubscriptionRequested, type index_d_ResumeSubscriptionResponse as ResumeSubscriptionResponse, type index_d_ResumeSubscriptionResponseNonNullableFields as ResumeSubscriptionResponseNonNullableFields, type index_d_ReviseSubscriptionRequest as ReviseSubscriptionRequest, type index_d_ReviseSubscriptionResponse as ReviseSubscriptionResponse, index_d_RevivePolicy as RevivePolicy, type index_d_ReviveSubscriptionRequest as ReviveSubscriptionRequest, type index_d_ReviveSubscriptionResponse as ReviveSubscriptionResponse, type index_d_RunTimeCapsuleTaskNowRequest as RunTimeCapsuleTaskNowRequest, type index_d_ScheduleAdditionalInfo as ScheduleAdditionalInfo, type index_d_ScheduleAdditionalInfoParamOneOf as ScheduleAdditionalInfoParamOneOf, type index_d_ScheduleTimeCapsuleTaskRequest as ScheduleTimeCapsuleTaskRequest, type index_d_ScheduledPauseCanceled as ScheduledPauseCanceled, type index_d_ScheduledResumeCanceled as ScheduledResumeCanceled, type index_d_SearchSubscriptionRequest as SearchSubscriptionRequest, type index_d_SearchSubscriptionResponse as SearchSubscriptionResponse, type index_d_SearchSubscriptionsOptions as SearchSubscriptionsOptions, type index_d_SearchSubscriptionsRequest as SearchSubscriptionsRequest, type index_d_SearchSubscriptionsRequestPagingMethodOneOf as SearchSubscriptionsRequestPagingMethodOneOf, type index_d_SearchSubscriptionsResponse as SearchSubscriptionsResponse, type index_d_SearchSubscriptionsResponseNonNullableFields as SearchSubscriptionsResponseNonNullableFields, type index_d_SendSubscriptionActionEventBORequest as SendSubscriptionActionEventBORequest, type index_d_SendSubscriptionActionEventBORequestEventOneOf as SendSubscriptionActionEventBORequestEventOneOf, type index_d_SendSubscriptionActionEventResponse as SendSubscriptionActionEventResponse, type index_d_SendTimeCapsuleTaskCanceledBIRequest as SendTimeCapsuleTaskCanceledBIRequest, type index_d_SetIsMigratedEvent as SetIsMigratedEvent, type index_d_SetShiftingDataRequest as SetShiftingDataRequest, type index_d_SetShiftingDataResponse as SetShiftingDataResponse, index_d_SortOrder as SortOrder, type index_d_Sorting as Sorting, type index_d_SortingClauses as SortingClauses, type index_d_SpecificDateSubscriptionUpdateData as SpecificDateSubscriptionUpdateData, index_d_Status as Status, type index_d_StreetAddress as StreetAddress, type index_d_Subscriber as Subscriber, type index_d_Subscription as Subscription, type index_d_SubscriptionActivated as SubscriptionActivated, type index_d_SubscriptionAutoRenewalTurnedOff as SubscriptionAutoRenewalTurnedOff, type index_d_SubscriptionAutoRenewalTurnedOffEnvelope as SubscriptionAutoRenewalTurnedOffEnvelope, type index_d_SubscriptionAutoRenewalTurnedOn as SubscriptionAutoRenewalTurnedOn, type index_d_SubscriptionAutoRenewalTurnedOnEnvelope as SubscriptionAutoRenewalTurnedOnEnvelope, type index_d_SubscriptionBackOfficeAction as SubscriptionBackOfficeAction, type index_d_SubscriptionBillingCycleStarted as SubscriptionBillingCycleStarted, type index_d_SubscriptionBillingDateUpdated as SubscriptionBillingDateUpdated, type index_d_SubscriptionBillingDateUpdatedEnvelope as SubscriptionBillingDateUpdatedEnvelope, type index_d_SubscriptionCanceled as SubscriptionCanceled, type index_d_SubscriptionCanceledEnvelope as SubscriptionCanceledEnvelope, type index_d_SubscriptionCancellationRequested as SubscriptionCancellationRequested, type index_d_SubscriptionCharge as SubscriptionCharge, type index_d_SubscriptionCollectionMethodUpdated as SubscriptionCollectionMethodUpdated, type index_d_SubscriptionCreated as SubscriptionCreated, type index_d_SubscriptionCycleReadyToPay as SubscriptionCycleReadyToPay, type index_d_SubscriptionCycleTriggered as SubscriptionCycleTriggered, type index_d_SubscriptionDelayedSyncEvent as SubscriptionDelayedSyncEvent, type index_d_SubscriptionDeleted as SubscriptionDeleted, type index_d_SubscriptionDiff as SubscriptionDiff, type index_d_SubscriptionEnded as SubscriptionEnded, type index_d_SubscriptionEvent as SubscriptionEvent, type index_d_SubscriptionEventPayloadOneOf as SubscriptionEventPayloadOneOf, type index_d_SubscriptionExpired as SubscriptionExpired, type index_d_SubscriptionExtended as SubscriptionExtended, type index_d_SubscriptionExtendedEnvelope as SubscriptionExtendedEnvelope, type index_d_SubscriptionExtendedExtendPolicyOneOf as SubscriptionExtendedExtendPolicyOneOf, index_d_SubscriptionFrequency as SubscriptionFrequency, type index_d_SubscriptionHistoryEntry as SubscriptionHistoryEntry, type index_d_SubscriptionInfo as SubscriptionInfo, type index_d_SubscriptionInitialPurchaseCompleted as SubscriptionInitialPurchaseCompleted, type index_d_SubscriptionInvoice as SubscriptionInvoice, type index_d_SubscriptionLatestInvoiceMarkedAsPaidEnvelope as SubscriptionLatestInvoiceMarkedAsPaidEnvelope, type index_d_SubscriptionMarkedAsPaid as SubscriptionMarkedAsPaid, type index_d_SubscriptionPauseScheduleCanceledEnvelope as SubscriptionPauseScheduleCanceledEnvelope, type index_d_SubscriptionPauseScheduledEnvelope as SubscriptionPauseScheduledEnvelope, type index_d_SubscriptionPaused as SubscriptionPaused, type index_d_SubscriptionPausedEnvelope as SubscriptionPausedEnvelope, type index_d_SubscriptionPolicies as SubscriptionPolicies, type index_d_SubscriptionPolicy as SubscriptionPolicy, type index_d_SubscriptionResumeScheduleCanceledEnvelope as SubscriptionResumeScheduleCanceledEnvelope, type index_d_SubscriptionResumeScheduledEnvelope as SubscriptionResumeScheduledEnvelope, type index_d_SubscriptionResumed as SubscriptionResumed, type index_d_SubscriptionResumedEnvelope as SubscriptionResumedEnvelope, type index_d_SubscriptionRevived as SubscriptionRevived, type index_d_SubscriptionStatus as SubscriptionStatus, index_d_SubscriptionStatusEnumSubscriptionStatus as SubscriptionStatusEnumSubscriptionStatus, index_d_SubscriptionStatusGroup as SubscriptionStatusGroup, type index_d_SubscriptionSuspended as SubscriptionSuspended, type index_d_SubscriptionTrialPeriod as SubscriptionTrialPeriod, index_d_SubscriptionType as SubscriptionType, type index_d_SubscriptionUpdateData as SubscriptionUpdateData, type index_d_SubscriptionUpdated as SubscriptionUpdated, type index_d_SubscriptionUpdatedEnvelope as SubscriptionUpdatedEnvelope, type index_d_Suspension as Suspension, type index_d_Task as Task, type index_d_TaskAction as TaskAction, type index_d_TaskActionActionOneOf as TaskActionActionOneOf, type index_d_TaskKey as TaskKey, type index_d_Tax as Tax, type index_d_TaxSettings as TaxSettings, type index_d_TaxValueOneOf as TaxValueOneOf, type index_d_TimeBasedProration as TimeBasedProration, type index_d_Totals as Totals, type index_d_TurnOffSubscriptionAutoRenewalRequest as TurnOffSubscriptionAutoRenewalRequest, type index_d_TurnOffSubscriptionAutoRenewalResponse as TurnOffSubscriptionAutoRenewalResponse, type index_d_TurnOffSubscriptionAutoRenewalResponseNonNullableFields as TurnOffSubscriptionAutoRenewalResponseNonNullableFields, type index_d_TurnOnSubscriptionAutoRenewalRequest as TurnOnSubscriptionAutoRenewalRequest, type index_d_TurnOnSubscriptionAutoRenewalResponse as TurnOnSubscriptionAutoRenewalResponse, type index_d_TurnOnSubscriptionAutoRenewalResponseNonNullableFields as TurnOnSubscriptionAutoRenewalResponseNonNullableFields, type index_d_UnknownSubscriptionEvent as UnknownSubscriptionEvent, type index_d_UnsupportedAction as UnsupportedAction, type index_d_UnsupportedReason as UnsupportedReason, index_d_UpdateAction as UpdateAction, type index_d_UpdateBillingDateData as UpdateBillingDateData, type index_d_UpdateFullSubscriptionRequest as UpdateFullSubscriptionRequest, type index_d_UpdateFullSubscriptionResponse as UpdateFullSubscriptionResponse, type index_d_UpdatePausePaidDurationRequest as UpdatePausePaidDurationRequest, type index_d_UpdatePausePaidDurationResponse as UpdatePausePaidDurationResponse, type index_d_UpdatePaymentMethodBORequest as UpdatePaymentMethodBORequest, type index_d_UpdatePaymentMethodBOResponse as UpdatePaymentMethodBOResponse, type index_d_UpdatePaymentStatusRequest as UpdatePaymentStatusRequest, type index_d_UpdatePaymentStatusResponse as UpdatePaymentStatusResponse, type index_d_UpdateStatusRequest as UpdateStatusRequest, type index_d_UpdateStatusResponse as UpdateStatusResponse, type index_d_UpdateSubscriptionBillingDateOptions as UpdateSubscriptionBillingDateOptions, type index_d_UpdateSubscriptionBillingDateRequest as UpdateSubscriptionBillingDateRequest, type index_d_UpdateSubscriptionBillingDateResponse as UpdateSubscriptionBillingDateResponse, type index_d_UpdateSubscriptionBillingDateResponseNonNullableFields as UpdateSubscriptionBillingDateResponseNonNullableFields, type index_d_UpdateSubscriptionInvoiceCycleRequest as UpdateSubscriptionInvoiceCycleRequest, type index_d_UpdateSubscriptionInvoiceCycleResponse as UpdateSubscriptionInvoiceCycleResponse, type index_d_UpdateSubscriptionItemsRequest as UpdateSubscriptionItemsRequest, type index_d_UpdateSubscriptionItemsResponse as UpdateSubscriptionItemsResponse, type index_d_UpdateSubscriptionOriginRequest as UpdateSubscriptionOriginRequest, type index_d_UpdateSubscriptionOriginResponse as UpdateSubscriptionOriginResponse, type index_d_UpdateSubscriptionPaymentMethodRequest as UpdateSubscriptionPaymentMethodRequest, type index_d_UpdateSubscriptionPaymentMethodResponse as UpdateSubscriptionPaymentMethodResponse, type index_d_UpdateSubscriptionPaymentMethodResponseNonNullableFields as UpdateSubscriptionPaymentMethodResponseNonNullableFields, type index_d_UpdateSubscriptionPoliciesRequest as UpdateSubscriptionPoliciesRequest, type index_d_UpdateSubscriptionPoliciesResponse as UpdateSubscriptionPoliciesResponse, type index_d_UpdateSubscriptionRequest as UpdateSubscriptionRequest, type index_d_UpdateSubscriptionResponse as UpdateSubscriptionResponse, type index_d_UpdateSubscriptionStartDateRequest as UpdateSubscriptionStartDateRequest, type index_d_UpdateSubscriptionStartDateResponse as UpdateSubscriptionStartDateResponse, type index_d_UpdatesApplied as UpdatesApplied, type index_d_V1Duration as V1Duration, type index_d_V1Subscription as V1Subscription, type index_d_V1SubscriptionActivated as V1SubscriptionActivated, type index_d_V1SubscriptionCanceled as V1SubscriptionCanceled, type index_d_V1SubscriptionCreated as V1SubscriptionCreated, type index_d_V1SubscriptionEvent as V1SubscriptionEvent, type index_d_V1SubscriptionEventEventOneOf as V1SubscriptionEventEventOneOf, type index_d_V1SubscriptionInitialPurchaseCompleted as V1SubscriptionInitialPurchaseCompleted, type index_d_V1SubscriptionResumed as V1SubscriptionResumed, index_d_V1SubscriptionStatusEnumSubscriptionStatus as V1SubscriptionStatusEnumSubscriptionStatus, type index_d_V1SubscriptionUpdated as V1SubscriptionUpdated, type index_d_V2Subscription as V2Subscription, index_d_WebhookIdentityType as WebhookIdentityType, index_d_allowedActions as allowedActions, index_d_cancelSubscription as cancelSubscription, index_d_countSubscriptions as countSubscriptions, index_d_customerAllowedActions as customerAllowedActions, index_d_customerCancelSubscription as customerCancelSubscription, index_d_customerExtendSubscription as customerExtendSubscription, index_d_customerGetSubscription as customerGetSubscription, index_d_customerInitiatePaymentMethodSetup as customerInitiatePaymentMethodSetup, index_d_customerListUpcomingCharges as customerListUpcomingCharges, index_d_customerQuerySubscriptions as customerQuerySubscriptions, index_d_customerTurnOffSubscriptionAutoRenewal as customerTurnOffSubscriptionAutoRenewal, index_d_customerTurnOnSubscriptionAutoRenewal as customerTurnOnSubscriptionAutoRenewal, index_d_customerUpdateSubscriptionPaymentMethod as customerUpdateSubscriptionPaymentMethod, index_d_extendSubscription as extendSubscription, index_d_getSubscription as getSubscription, index_d_getSubscriptionsStats as getSubscriptionsStats, index_d_initiatePaymentMethodSetup as initiatePaymentMethodSetup, index_d_listUpcomingCharges as listUpcomingCharges, index_d_markLatestInvoiceAsPaid as markLatestInvoiceAsPaid, index_d_onSubscriptionAutoRenewalTurnedOff as onSubscriptionAutoRenewalTurnedOff, index_d_onSubscriptionAutoRenewalTurnedOn as onSubscriptionAutoRenewalTurnedOn, index_d_onSubscriptionBillingDateUpdated as onSubscriptionBillingDateUpdated, index_d_onSubscriptionCanceled as onSubscriptionCanceled, index_d_onSubscriptionExtended as onSubscriptionExtended, index_d_onSubscriptionLatestInvoiceMarkedAsPaid as onSubscriptionLatestInvoiceMarkedAsPaid, index_d_onSubscriptionPauseScheduleCanceled as onSubscriptionPauseScheduleCanceled, index_d_onSubscriptionPauseScheduled as onSubscriptionPauseScheduled, index_d_onSubscriptionPaused as onSubscriptionPaused, index_d_onSubscriptionResumeScheduleCanceled as onSubscriptionResumeScheduleCanceled, index_d_onSubscriptionResumeScheduled as onSubscriptionResumeScheduled, index_d_onSubscriptionResumed as onSubscriptionResumed, index_d_onSubscriptionUpdated as onSubscriptionUpdated, index_d_pauseSubscription as pauseSubscription, index_d_payCycle as payCycle, index_d_previewSubscriptionCharges as previewSubscriptionCharges, index_d_querySubscriptions as querySubscriptions, index_d_resumeSubscription as resumeSubscription, index_d_searchSubscriptions as searchSubscriptions, index_d_turnOffSubscriptionAutoRenewal as turnOffSubscriptionAutoRenewal, index_d_turnOnSubscriptionAutoRenewal as turnOnSubscriptionAutoRenewal, index_d_updateSubscriptionBillingDate as updateSubscriptionBillingDate, index_d_updateSubscriptionPaymentMethod as updateSubscriptionPaymentMethod };
|
|
3889
|
+
export { type index_d_Action as Action, type index_d_ActionContext as ActionContext, type index_d_ActionDetails as ActionDetails, type index_d_ActionEvent as ActionEvent, index_d_ActionInitiator as ActionInitiator, index_d_ActionType as ActionType, type index_d_AddPausePeriodRequest as AddPausePeriodRequest, type index_d_AddPausePeriodResponse as AddPausePeriodResponse, type index_d_AdditionalFee as AdditionalFee, index_d_AdditionalFeeTrigger as AdditionalFeeTrigger, type index_d_Address as Address, type index_d_AddressStreetOneOf as AddressStreetOneOf, type index_d_AllowedActionsOptions as AllowedActionsOptions, type index_d_AllowedActionsRequest as AllowedActionsRequest, type index_d_AllowedActionsResponse as AllowedActionsResponse, type index_d_AllowedActionsResponseNonNullableFields as AllowedActionsResponseNonNullableFields, type index_d_AmountByStatus as AmountByStatus, type index_d_ApplicationFee as ApplicationFee, type index_d_ApplicationFeeValueOneOf as ApplicationFeeValueOneOf, type index_d_AttachInvoice as AttachInvoice, type index_d_AutomaticRetryData as AutomaticRetryData, type index_d_BaseEventMetadata as BaseEventMetadata, type index_d_BillingSettings as BillingSettings, type index_d_BillingStatus as BillingStatus, type index_d_BulkItemChange as BulkItemChange, type index_d_BulkUpdateSubscriptionItemsByFilterRequest as BulkUpdateSubscriptionItemsByFilterRequest, type index_d_BulkUpdateSubscriptionItemsByFilterResponse as BulkUpdateSubscriptionItemsByFilterResponse, type index_d_BusinessOrigin as BusinessOrigin, type index_d_BusinessOriginData as BusinessOriginData, type index_d_Cancel as Cancel, type index_d_CancelSubscriptionBORequest as CancelSubscriptionBORequest, type index_d_CancelSubscriptionBOResponse as CancelSubscriptionBOResponse, type index_d_CancelSubscriptionRequest as CancelSubscriptionRequest, type index_d_CancelSubscriptionResponse as CancelSubscriptionResponse, type index_d_CancelSubscriptionResponseNonNullableFields as CancelSubscriptionResponseNonNullableFields, type index_d_CancelTimeCapsuleTaskRequest as CancelTimeCapsuleTaskRequest, type index_d_CancellationInfo as CancellationInfo, index_d_CancellationInitiator as CancellationInitiator, type index_d_CatalogReference as CatalogReference, type index_d_Charge as Charge, index_d_CollectionMethod as CollectionMethod, index_d_CollectionMethodEnumCollectionMethod as CollectionMethodEnumCollectionMethod, type index_d_Complete as Complete, type index_d_ConvertSapiRequest as ConvertSapiRequest, type index_d_ConvertSapiResponse as ConvertSapiResponse, type index_d_CountByStatus as CountByStatus, type index_d_CountSubscriptionFilter as CountSubscriptionFilter, type index_d_CountSubscriptionFilterStatusOneOf as CountSubscriptionFilterStatusOneOf, type index_d_CountSubscriptionsOptions as CountSubscriptionsOptions, type index_d_CountSubscriptionsRequest as CountSubscriptionsRequest, type index_d_CountSubscriptionsResponse as CountSubscriptionsResponse, type index_d_CountSubscriptionsResponseNonNullableFields as CountSubscriptionsResponseNonNullableFields, type index_d_CreateRecurringInvoiceBORequest as CreateRecurringInvoiceBORequest, type index_d_CreateRecurringInvoiceBOResponse as CreateRecurringInvoiceBOResponse, type index_d_CreateSubscriptionForOrderRequest as CreateSubscriptionForOrderRequest, type index_d_CreateSubscriptionForOrderResponse as CreateSubscriptionForOrderResponse, type index_d_CreateSubscriptionInStateRequest as CreateSubscriptionInStateRequest, type index_d_CreateSubscriptionInStateRequestModeOneOf as CreateSubscriptionInStateRequestModeOneOf, type index_d_CreateSubscriptionInStateResponse as CreateSubscriptionInStateResponse, type index_d_CreateSubscriptionRequest as CreateSubscriptionRequest, type index_d_CreateSubscriptionResponse as CreateSubscriptionResponse, index_d_CreationMode as CreationMode, type index_d_CursorPaging as CursorPaging, type index_d_Cursors as Cursors, type index_d_CustomBillingSchedule as CustomBillingSchedule, type index_d_CustomProration as CustomProration, type index_d_CustomProrationAmountOneOf as CustomProrationAmountOneOf, type index_d_Customer as Customer, type index_d_CustomerAllowedActionsRequest as CustomerAllowedActionsRequest, type index_d_CustomerAllowedActionsResponse as CustomerAllowedActionsResponse, type index_d_CustomerAllowedActionsResponseNonNullableFields as CustomerAllowedActionsResponseNonNullableFields, type index_d_CustomerCancelSubscriptionOptions as CustomerCancelSubscriptionOptions, type index_d_CustomerCancelSubscriptionRequest as CustomerCancelSubscriptionRequest, type index_d_CustomerCancelSubscriptionResponse as CustomerCancelSubscriptionResponse, type index_d_CustomerCancelSubscriptionResponseNonNullableFields as CustomerCancelSubscriptionResponseNonNullableFields, type index_d_CustomerExtendSubscriptionOptions as CustomerExtendSubscriptionOptions, type index_d_CustomerExtendSubscriptionRequest as CustomerExtendSubscriptionRequest, type index_d_CustomerExtendSubscriptionResponse as CustomerExtendSubscriptionResponse, type index_d_CustomerExtendSubscriptionResponseNonNullableFields as CustomerExtendSubscriptionResponseNonNullableFields, type index_d_CustomerIdOneOf as CustomerIdOneOf, type index_d_CustomerInitiatePaymentMethodSetupOptions as CustomerInitiatePaymentMethodSetupOptions, type index_d_CustomerListUpcomingChargesRequest as CustomerListUpcomingChargesRequest, type index_d_CustomerListUpcomingChargesResponse as CustomerListUpcomingChargesResponse, type index_d_CustomerListUpcomingChargesResponseNonNullableFields as CustomerListUpcomingChargesResponseNonNullableFields, type index_d_CustomerQuerySubscriptionsOptions as CustomerQuerySubscriptionsOptions, type index_d_CustomerTurnOffAutoRenewalRequest as CustomerTurnOffAutoRenewalRequest, type index_d_CustomerTurnOffAutoRenewalResponse as CustomerTurnOffAutoRenewalResponse, type index_d_CustomerTurnOffAutoRenewalResponseNonNullableFields as CustomerTurnOffAutoRenewalResponseNonNullableFields, type index_d_CustomerTurnOffSubscriptionAutoRenewalOptions as CustomerTurnOffSubscriptionAutoRenewalOptions, type index_d_CustomerTurnOnAutoRenewalRequest as CustomerTurnOnAutoRenewalRequest, type index_d_CustomerTurnOnAutoRenewalResponse as CustomerTurnOnAutoRenewalResponse, type index_d_CustomerTurnOnAutoRenewalResponseNonNullableFields as CustomerTurnOnAutoRenewalResponseNonNullableFields, type index_d_CustomerTurnOnSubscriptionAutoRenewalOptions as CustomerTurnOnSubscriptionAutoRenewalOptions, type index_d_DeleteDraftSubscriptionRequest as DeleteDraftSubscriptionRequest, type index_d_DeleteDraftSubscriptionResponse as DeleteDraftSubscriptionResponse, type index_d_DeleteSubscriptionRequest as DeleteSubscriptionRequest, type index_d_DeleteSubscriptionResponse as DeleteSubscriptionResponse, type index_d_DetachInvoice as DetachInvoice, type index_d_Discount as Discount, type index_d_DiscountCycles as DiscountCycles, type index_d_DiscountOrigin as DiscountOrigin, type index_d_DiscountValueOneOf as DiscountValueOneOf, type index_d_DomainEvent as DomainEvent, type index_d_DomainEventBodyOneOf as DomainEventBodyOneOf, type index_d_Duration as Duration, index_d_DurationUnit as DurationUnit, type index_d_DynamicTax as DynamicTax, type index_d_Empty as Empty, type index_d_EntityCreatedEvent as EntityCreatedEvent, type index_d_EntityDeletedEvent as EntityDeletedEvent, type index_d_EntityUpdatedEvent as EntityUpdatedEvent, type index_d_EventMetadata as EventMetadata, index_d_ExtendPolicyType as ExtendPolicyType, type index_d_ExtendSubscriptionOptions as ExtendSubscriptionOptions, type index_d_ExtendSubscriptionRequest as ExtendSubscriptionRequest, type index_d_ExtendSubscriptionRequestExtendPolicyOneOf as ExtendSubscriptionRequestExtendPolicyOneOf, type index_d_ExtendSubscriptionResponse as ExtendSubscriptionResponse, type index_d_ExtendSubscriptionResponseNonNullableFields as ExtendSubscriptionResponseNonNullableFields, type index_d_ExternalCollectionDetails as ExternalCollectionDetails, type index_d_FinishFreeTrialNowRequest as FinishFreeTrialNowRequest, type index_d_FinishFreeTrialNowResponse as FinishFreeTrialNowResponse, type index_d_FixSubscriptionInvoicesRequest as FixSubscriptionInvoicesRequest, type index_d_FixSubscriptionInvoicesRequestModeOneOf as FixSubscriptionInvoicesRequestModeOneOf, type index_d_FixSubscriptionInvoicesResponse as FixSubscriptionInvoicesResponse, type index_d_FixedPrice as FixedPrice, type index_d_FreeTrailEnded as FreeTrailEnded, type index_d_FreeTrailStarted as FreeTrailStarted, type index_d_FreeTrialData as FreeTrialData, type index_d_FullAddressContactDetails as FullAddressContactDetails, type index_d_FullAddressDetails as FullAddressDetails, type index_d_FutureUpdatesRequested as FutureUpdatesRequested, type index_d_GetFullSubscriptionDataRequest as GetFullSubscriptionDataRequest, type index_d_GetFullSubscriptionDataResponse as GetFullSubscriptionDataResponse, type index_d_GetSubscriptionAndInternalDataRequest as GetSubscriptionAndInternalDataRequest, type index_d_GetSubscriptionAndInternalDataResponse as GetSubscriptionAndInternalDataResponse, type index_d_GetSubscriptionInvoicesRequest as GetSubscriptionInvoicesRequest, type index_d_GetSubscriptionInvoicesResponse as GetSubscriptionInvoicesResponse, type index_d_GetSubscriptionRequest as GetSubscriptionRequest, type index_d_GetSubscriptionResponse as GetSubscriptionResponse, type index_d_GetSubscriptionResponseNonNullableFields as GetSubscriptionResponseNonNullableFields, type index_d_GetSubscriptionsStatsRequest as GetSubscriptionsStatsRequest, type index_d_GetSubscriptionsStatsResponse as GetSubscriptionsStatsResponse, type index_d_GetSubscriptionsStatsResponseNonNullableFields as GetSubscriptionsStatsResponseNonNullableFields, type index_d_GracePeriodData as GracePeriodData, type index_d_GracePeriodEnded as GracePeriodEnded, type index_d_GracePeriodStarted as GracePeriodStarted, type index_d_HandleSubscriptionAfterInvoiceMarkedAsPaidRequest as HandleSubscriptionAfterInvoiceMarkedAsPaidRequest, index_d_HistoryActionInitiator as HistoryActionInitiator, index_d_HistoryViewMode as HistoryViewMode, type index_d_IdentificationData as IdentificationData, type index_d_IdentificationDataIdOneOf as IdentificationDataIdOneOf, index_d_IdentityType as IdentityType, type index_d_InitiatePaymentMethodSetupOptions as InitiatePaymentMethodSetupOptions, type index_d_InitiatePaymentMethodSetupRequest as InitiatePaymentMethodSetupRequest, type index_d_InitiatePaymentMethodSetupResponse as InitiatePaymentMethodSetupResponse, type index_d_InitiatePaymentMethodSetupResponseNonNullableFields as InitiatePaymentMethodSetupResponseNonNullableFields, type index_d_InternalSubscriptionData as InternalSubscriptionData, type index_d_Invoice as Invoice, type index_d_InvoiceAction as InvoiceAction, type index_d_InvoiceActionActionTypeOneOf as InvoiceActionActionTypeOneOf, type index_d_InvoiceApplicationFee as InvoiceApplicationFee, type index_d_InvoiceApplicationFeeValueOneOf as InvoiceApplicationFeeValueOneOf, type index_d_InvoiceDiscount as InvoiceDiscount, type index_d_InvoiceDiscountValueOneOf as InvoiceDiscountValueOneOf, type index_d_InvoiceItem as InvoiceItem, type index_d_InvoiceItemPaymentTypeOneOf as InvoiceItemPaymentTypeOneOf, index_d_InvoiceStatus as InvoiceStatus, type index_d_Item as Item, index_d_ItemCategory as ItemCategory, type index_d_ItemChange as ItemChange, type index_d_LatestInvoiceMarkedAsPaid as LatestInvoiceMarkedAsPaid, type index_d_LatestPaymentAttempt as LatestPaymentAttempt, type index_d_ListSubscriptionHistoryRequest as ListSubscriptionHistoryRequest, type index_d_ListSubscriptionHistoryResponse as ListSubscriptionHistoryResponse, type index_d_ListUpcomingChargesOptions as ListUpcomingChargesOptions, type index_d_ListUpcomingChargesRequest as ListUpcomingChargesRequest, type index_d_ListUpcomingChargesResponse as ListUpcomingChargesResponse, type index_d_ListUpcomingChargesResponseNonNullableFields as ListUpcomingChargesResponseNonNullableFields, type index_d_MarkLatestInvoiceAsPaidRequest as MarkLatestInvoiceAsPaidRequest, type index_d_MarkLatestInvoiceAsPaidResponse as MarkLatestInvoiceAsPaidResponse, type index_d_MarkLatestInvoiceAsPaidResponseNonNullableFields as MarkLatestInvoiceAsPaidResponseNonNullableFields, type index_d_MessageEnvelope as MessageEnvelope, type index_d_MigrationDetails as MigrationDetails, type index_d_Money as Money, type index_d_OneTime as OneTime, index_d_OrderMethod as OrderMethod, type index_d_OriginOverride as OriginOverride, type index_d_Paging as Paging, type index_d_PagingMetadataV2 as PagingMetadataV2, index_d_PauseAt as PauseAt, type index_d_PauseInfo as PauseInfo, type index_d_PausePeriod as PausePeriod, index_d_PausePolicy as PausePolicy, type index_d_PauseSubscriptionOptions as PauseSubscriptionOptions, type index_d_PauseSubscriptionRequest as PauseSubscriptionRequest, type index_d_PauseSubscriptionRequested as PauseSubscriptionRequested, type index_d_PauseSubscriptionResponse as PauseSubscriptionResponse, type index_d_PauseSubscriptionResponseNonNullableFields as PauseSubscriptionResponseNonNullableFields, type index_d_PayCycleOptions as PayCycleOptions, type index_d_PayCycleRequest as PayCycleRequest, type index_d_PayCycleResponse as PayCycleResponse, type index_d_PayCycleResponseNonNullableFields as PayCycleResponseNonNullableFields, type index_d_PayRecurringInvoice as PayRecurringInvoice, index_d_PaymentAttemptStatus as PaymentAttemptStatus, type index_d_PaymentData as PaymentData, type index_d_PaymentMethod as PaymentMethod, type index_d_PaymentMethodUpdated as PaymentMethodUpdated, index_d_PaymentMode as PaymentMode, type index_d_PaymentSettings as PaymentSettings, index_d_PaymentSettlementMethod as PaymentSettlementMethod, index_d_PaymentStatus as PaymentStatus, index_d_PaymentStatusEnumPaymentStatus as PaymentStatusEnumPaymentStatus, index_d_PaymentTestMode as PaymentTestMode, type index_d_PreviewSubscriptionChargesOptions as PreviewSubscriptionChargesOptions, type index_d_PreviewSubscriptionChargesRequest as PreviewSubscriptionChargesRequest, type index_d_PreviewSubscriptionChargesRequestSubscriptionOneOf as PreviewSubscriptionChargesRequestSubscriptionOneOf, type index_d_PreviewSubscriptionChargesResponse as PreviewSubscriptionChargesResponse, type index_d_PreviewSubscriptionChargesResponseNonNullableFields as PreviewSubscriptionChargesResponseNonNullableFields, type index_d_PriceAdjustment as PriceAdjustment, type index_d_PriceAdjustmentAdjustmentTypeOneOf as PriceAdjustmentAdjustmentTypeOneOf, type index_d_PriceAdjustmentValue as PriceAdjustmentValue, type index_d_PriceAdjustmentValueAdjustmentValueTypeOneOf as PriceAdjustmentValueAdjustmentValueTypeOneOf, type index_d_PriceDetails as PriceDetails, type index_d_PricingModel as PricingModel, type index_d_PricingModelModelOneOf as PricingModelModelOneOf, type index_d_Proration as Proration, type index_d_ProrationTypeOneOf as ProrationTypeOneOf, type index_d_QuerySubscriptionsRequest as QuerySubscriptionsRequest, type index_d_QuerySubscriptionsResponse as QuerySubscriptionsResponse, type index_d_QuerySubscriptionsResponseNonNullableFields as QuerySubscriptionsResponseNonNullableFields, type index_d_QueryV2 as QueryV2, type index_d_QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOf, type index_d_Recurring as Recurring, type index_d_RedirectUrls as RedirectUrls, index_d_RequestedFields as RequestedFields, type index_d_Reschedule as Reschedule, type index_d_ResetPendingUpdates as ResetPendingUpdates, type index_d_RestoreDraftSubscriptionRequest as RestoreDraftSubscriptionRequest, type index_d_RestoreDraftSubscriptionResponse as RestoreDraftSubscriptionResponse, type index_d_RestoreInfo as RestoreInfo, index_d_ResumeAt as ResumeAt, type index_d_ResumeSubscriptionOptions as ResumeSubscriptionOptions, type index_d_ResumeSubscriptionRequest as ResumeSubscriptionRequest, type index_d_ResumeSubscriptionRequested as ResumeSubscriptionRequested, type index_d_ResumeSubscriptionResponse as ResumeSubscriptionResponse, type index_d_ResumeSubscriptionResponseNonNullableFields as ResumeSubscriptionResponseNonNullableFields, type index_d_ReviseSubscriptionRequest as ReviseSubscriptionRequest, type index_d_ReviseSubscriptionResponse as ReviseSubscriptionResponse, index_d_RevivePolicy as RevivePolicy, type index_d_ReviveSubscriptionRequest as ReviveSubscriptionRequest, type index_d_ReviveSubscriptionResponse as ReviveSubscriptionResponse, type index_d_RunTimeCapsuleTaskNowRequest as RunTimeCapsuleTaskNowRequest, type index_d_ScheduleAdditionalInfo as ScheduleAdditionalInfo, type index_d_ScheduleAdditionalInfoParamOneOf as ScheduleAdditionalInfoParamOneOf, type index_d_ScheduleTimeCapsuleTaskRequest as ScheduleTimeCapsuleTaskRequest, type index_d_ScheduledPauseCanceled as ScheduledPauseCanceled, type index_d_ScheduledResumeCanceled as ScheduledResumeCanceled, type index_d_SearchSubscriptionRequest as SearchSubscriptionRequest, type index_d_SearchSubscriptionResponse as SearchSubscriptionResponse, type index_d_SearchSubscriptionsOptions as SearchSubscriptionsOptions, type index_d_SearchSubscriptionsRequest as SearchSubscriptionsRequest, type index_d_SearchSubscriptionsRequestPagingMethodOneOf as SearchSubscriptionsRequestPagingMethodOneOf, type index_d_SearchSubscriptionsResponse as SearchSubscriptionsResponse, type index_d_SearchSubscriptionsResponseNonNullableFields as SearchSubscriptionsResponseNonNullableFields, type index_d_SendSubscriptionActionEventBORequest as SendSubscriptionActionEventBORequest, type index_d_SendSubscriptionActionEventBORequestEventOneOf as SendSubscriptionActionEventBORequestEventOneOf, type index_d_SendSubscriptionActionEventResponse as SendSubscriptionActionEventResponse, type index_d_SendTimeCapsuleTaskCanceledBIRequest as SendTimeCapsuleTaskCanceledBIRequest, type index_d_SetIsMigratedEvent as SetIsMigratedEvent, type index_d_SetShiftingDataRequest as SetShiftingDataRequest, type index_d_SetShiftingDataResponse as SetShiftingDataResponse, index_d_SortOrder as SortOrder, type index_d_Sorting as Sorting, type index_d_SortingClauses as SortingClauses, type index_d_SpecificDateSubscriptionUpdateData as SpecificDateSubscriptionUpdateData, index_d_Status as Status, type index_d_StreetAddress as StreetAddress, type index_d_Subscriber as Subscriber, type index_d_Subscription as Subscription, type index_d_SubscriptionActivated as SubscriptionActivated, type index_d_SubscriptionAutoRenewalTurnedOff as SubscriptionAutoRenewalTurnedOff, type index_d_SubscriptionAutoRenewalTurnedOffEnvelope as SubscriptionAutoRenewalTurnedOffEnvelope, type index_d_SubscriptionAutoRenewalTurnedOn as SubscriptionAutoRenewalTurnedOn, type index_d_SubscriptionAutoRenewalTurnedOnEnvelope as SubscriptionAutoRenewalTurnedOnEnvelope, type index_d_SubscriptionBackOfficeAction as SubscriptionBackOfficeAction, type index_d_SubscriptionBillingCycleStarted as SubscriptionBillingCycleStarted, type index_d_SubscriptionBillingDateUpdated as SubscriptionBillingDateUpdated, type index_d_SubscriptionBillingDateUpdatedEnvelope as SubscriptionBillingDateUpdatedEnvelope, type index_d_SubscriptionCanceled as SubscriptionCanceled, type index_d_SubscriptionCanceledEnvelope as SubscriptionCanceledEnvelope, type index_d_SubscriptionCancellationRequested as SubscriptionCancellationRequested, type index_d_SubscriptionCharge as SubscriptionCharge, type index_d_SubscriptionCollectionMethodUpdated as SubscriptionCollectionMethodUpdated, type index_d_SubscriptionCreated as SubscriptionCreated, type index_d_SubscriptionCycleReadyToPay as SubscriptionCycleReadyToPay, type index_d_SubscriptionCycleTriggered as SubscriptionCycleTriggered, type index_d_SubscriptionDelayedSyncEvent as SubscriptionDelayedSyncEvent, type index_d_SubscriptionDeleted as SubscriptionDeleted, type index_d_SubscriptionDiff as SubscriptionDiff, type index_d_SubscriptionEnded as SubscriptionEnded, type index_d_SubscriptionEvent as SubscriptionEvent, type index_d_SubscriptionEventPayloadOneOf as SubscriptionEventPayloadOneOf, type index_d_SubscriptionExpired as SubscriptionExpired, type index_d_SubscriptionExtended as SubscriptionExtended, type index_d_SubscriptionExtendedEnvelope as SubscriptionExtendedEnvelope, type index_d_SubscriptionExtendedExtendPolicyOneOf as SubscriptionExtendedExtendPolicyOneOf, index_d_SubscriptionFrequency as SubscriptionFrequency, type index_d_SubscriptionHistoryEntry as SubscriptionHistoryEntry, type index_d_SubscriptionInfo as SubscriptionInfo, type index_d_SubscriptionInitialPurchaseCompleted as SubscriptionInitialPurchaseCompleted, type index_d_SubscriptionInvoice as SubscriptionInvoice, type index_d_SubscriptionLatestInvoiceMarkedAsPaidEnvelope as SubscriptionLatestInvoiceMarkedAsPaidEnvelope, type index_d_SubscriptionMarkedAsPaid as SubscriptionMarkedAsPaid, type index_d_SubscriptionPauseScheduleCanceledEnvelope as SubscriptionPauseScheduleCanceledEnvelope, type index_d_SubscriptionPauseScheduledEnvelope as SubscriptionPauseScheduledEnvelope, type index_d_SubscriptionPaused as SubscriptionPaused, type index_d_SubscriptionPausedEnvelope as SubscriptionPausedEnvelope, type index_d_SubscriptionPolicies as SubscriptionPolicies, type index_d_SubscriptionPolicy as SubscriptionPolicy, type index_d_SubscriptionResumeScheduleCanceledEnvelope as SubscriptionResumeScheduleCanceledEnvelope, type index_d_SubscriptionResumeScheduledEnvelope as SubscriptionResumeScheduledEnvelope, type index_d_SubscriptionResumed as SubscriptionResumed, type index_d_SubscriptionResumedEnvelope as SubscriptionResumedEnvelope, type index_d_SubscriptionRevived as SubscriptionRevived, type index_d_SubscriptionStatus as SubscriptionStatus, index_d_SubscriptionStatusEnumSubscriptionStatus as SubscriptionStatusEnumSubscriptionStatus, index_d_SubscriptionStatusGroup as SubscriptionStatusGroup, type index_d_SubscriptionSuspended as SubscriptionSuspended, type index_d_SubscriptionTrialPeriod as SubscriptionTrialPeriod, index_d_SubscriptionType as SubscriptionType, type index_d_SubscriptionUpdateData as SubscriptionUpdateData, type index_d_SubscriptionUpdated as SubscriptionUpdated, type index_d_SubscriptionUpdatedEnvelope as SubscriptionUpdatedEnvelope, type index_d_Suspension as Suspension, type index_d_Task as Task, type index_d_TaskAction as TaskAction, type index_d_TaskActionActionOneOf as TaskActionActionOneOf, type index_d_TaskKey as TaskKey, type index_d_Tax as Tax, type index_d_TaxSettings as TaxSettings, type index_d_TaxValueOneOf as TaxValueOneOf, type index_d_TimeBasedProration as TimeBasedProration, type index_d_Totals as Totals, type index_d_TurnOffSubscriptionAutoRenewalRequest as TurnOffSubscriptionAutoRenewalRequest, type index_d_TurnOffSubscriptionAutoRenewalResponse as TurnOffSubscriptionAutoRenewalResponse, type index_d_TurnOffSubscriptionAutoRenewalResponseNonNullableFields as TurnOffSubscriptionAutoRenewalResponseNonNullableFields, type index_d_TurnOnSubscriptionAutoRenewalRequest as TurnOnSubscriptionAutoRenewalRequest, type index_d_TurnOnSubscriptionAutoRenewalResponse as TurnOnSubscriptionAutoRenewalResponse, type index_d_TurnOnSubscriptionAutoRenewalResponseNonNullableFields as TurnOnSubscriptionAutoRenewalResponseNonNullableFields, type index_d_UnknownSubscriptionEvent as UnknownSubscriptionEvent, type index_d_UnsupportedAction as UnsupportedAction, type index_d_UnsupportedReason as UnsupportedReason, index_d_UpdateAction as UpdateAction, type index_d_UpdateBillingDateData as UpdateBillingDateData, type index_d_UpdateFullSubscriptionRequest as UpdateFullSubscriptionRequest, type index_d_UpdateFullSubscriptionResponse as UpdateFullSubscriptionResponse, type index_d_UpdatePausePaidDurationRequest as UpdatePausePaidDurationRequest, type index_d_UpdatePausePaidDurationResponse as UpdatePausePaidDurationResponse, type index_d_UpdatePaymentMethodBORequest as UpdatePaymentMethodBORequest, type index_d_UpdatePaymentMethodBOResponse as UpdatePaymentMethodBOResponse, type index_d_UpdatePaymentStatusRequest as UpdatePaymentStatusRequest, type index_d_UpdatePaymentStatusResponse as UpdatePaymentStatusResponse, type index_d_UpdateStatusRequest as UpdateStatusRequest, type index_d_UpdateStatusResponse as UpdateStatusResponse, type index_d_UpdateSubscriptionBillingDateOptions as UpdateSubscriptionBillingDateOptions, type index_d_UpdateSubscriptionBillingDateRequest as UpdateSubscriptionBillingDateRequest, type index_d_UpdateSubscriptionBillingDateResponse as UpdateSubscriptionBillingDateResponse, type index_d_UpdateSubscriptionBillingDateResponseNonNullableFields as UpdateSubscriptionBillingDateResponseNonNullableFields, type index_d_UpdateSubscriptionInvoiceCycleRequest as UpdateSubscriptionInvoiceCycleRequest, type index_d_UpdateSubscriptionInvoiceCycleResponse as UpdateSubscriptionInvoiceCycleResponse, type index_d_UpdateSubscriptionItemsRequest as UpdateSubscriptionItemsRequest, type index_d_UpdateSubscriptionItemsResponse as UpdateSubscriptionItemsResponse, type index_d_UpdateSubscriptionOriginRequest as UpdateSubscriptionOriginRequest, type index_d_UpdateSubscriptionOriginResponse as UpdateSubscriptionOriginResponse, type index_d_UpdateSubscriptionPaymentMethodRequest as UpdateSubscriptionPaymentMethodRequest, type index_d_UpdateSubscriptionPaymentMethodResponse as UpdateSubscriptionPaymentMethodResponse, type index_d_UpdateSubscriptionPaymentMethodResponseNonNullableFields as UpdateSubscriptionPaymentMethodResponseNonNullableFields, type index_d_UpdateSubscriptionPoliciesRequest as UpdateSubscriptionPoliciesRequest, type index_d_UpdateSubscriptionPoliciesResponse as UpdateSubscriptionPoliciesResponse, type index_d_UpdateSubscriptionRequest as UpdateSubscriptionRequest, type index_d_UpdateSubscriptionResponse as UpdateSubscriptionResponse, type index_d_UpdateSubscriptionStartDateRequest as UpdateSubscriptionStartDateRequest, type index_d_UpdateSubscriptionStartDateResponse as UpdateSubscriptionStartDateResponse, type index_d_UpdatesApplied as UpdatesApplied, type index_d_V1Duration as V1Duration, type index_d_V1Subscription as V1Subscription, type index_d_V1SubscriptionActivated as V1SubscriptionActivated, type index_d_V1SubscriptionCanceled as V1SubscriptionCanceled, type index_d_V1SubscriptionCreated as V1SubscriptionCreated, type index_d_V1SubscriptionEvent as V1SubscriptionEvent, type index_d_V1SubscriptionEventEventOneOf as V1SubscriptionEventEventOneOf, type index_d_V1SubscriptionInitialPurchaseCompleted as V1SubscriptionInitialPurchaseCompleted, type index_d_V1SubscriptionResumed as V1SubscriptionResumed, index_d_V1SubscriptionStatusEnumSubscriptionStatus as V1SubscriptionStatusEnumSubscriptionStatus, type index_d_V1SubscriptionUpdated as V1SubscriptionUpdated, type index_d_V2Subscription as V2Subscription, index_d_WebhookIdentityType as WebhookIdentityType, index_d_allowedActions as allowedActions, index_d_cancelSubscription as cancelSubscription, index_d_countSubscriptions as countSubscriptions, index_d_customerAllowedActions as customerAllowedActions, index_d_customerCancelSubscription as customerCancelSubscription, index_d_customerExtendSubscription as customerExtendSubscription, index_d_customerGetSubscription as customerGetSubscription, index_d_customerInitiatePaymentMethodSetup as customerInitiatePaymentMethodSetup, index_d_customerListUpcomingCharges as customerListUpcomingCharges, index_d_customerQuerySubscriptions as customerQuerySubscriptions, index_d_customerTurnOffSubscriptionAutoRenewal as customerTurnOffSubscriptionAutoRenewal, index_d_customerTurnOnSubscriptionAutoRenewal as customerTurnOnSubscriptionAutoRenewal, index_d_customerUpdateSubscriptionPaymentMethod as customerUpdateSubscriptionPaymentMethod, index_d_extendSubscription as extendSubscription, index_d_getSubscription as getSubscription, index_d_getSubscriptionsStats as getSubscriptionsStats, index_d_initiatePaymentMethodSetup as initiatePaymentMethodSetup, index_d_listUpcomingCharges as listUpcomingCharges, index_d_markLatestInvoiceAsPaid as markLatestInvoiceAsPaid, index_d_onSubscriptionAutoRenewalTurnedOff as onSubscriptionAutoRenewalTurnedOff, index_d_onSubscriptionAutoRenewalTurnedOn as onSubscriptionAutoRenewalTurnedOn, index_d_onSubscriptionBillingDateUpdated as onSubscriptionBillingDateUpdated, index_d_onSubscriptionCanceled as onSubscriptionCanceled, index_d_onSubscriptionExtended as onSubscriptionExtended, index_d_onSubscriptionLatestInvoiceMarkedAsPaid as onSubscriptionLatestInvoiceMarkedAsPaid, index_d_onSubscriptionPauseScheduleCanceled as onSubscriptionPauseScheduleCanceled, index_d_onSubscriptionPauseScheduled as onSubscriptionPauseScheduled, index_d_onSubscriptionPaused as onSubscriptionPaused, index_d_onSubscriptionResumeScheduleCanceled as onSubscriptionResumeScheduleCanceled, index_d_onSubscriptionResumeScheduled as onSubscriptionResumeScheduled, index_d_onSubscriptionResumed as onSubscriptionResumed, index_d_onSubscriptionUpdated as onSubscriptionUpdated, index_d_pauseSubscription as pauseSubscription, index_d_payCycle as payCycle, index_d_previewSubscriptionCharges as previewSubscriptionCharges, index_d_querySubscriptions as querySubscriptions, index_d_resumeSubscription as resumeSubscription, index_d_searchSubscriptions as searchSubscriptions, index_d_turnOffSubscriptionAutoRenewal as turnOffSubscriptionAutoRenewal, index_d_turnOnSubscriptionAutoRenewal as turnOnSubscriptionAutoRenewal, index_d_updateSubscriptionBillingDate as updateSubscriptionBillingDate, index_d_updateSubscriptionPaymentMethod as updateSubscriptionPaymentMethod };
|
|
3628
3890
|
}
|
|
3629
3891
|
|
|
3630
3892
|
export { index_d as subscriptions };
|
|
@@ -87,6 +87,8 @@ interface Subscription$1 {
|
|
|
87
87
|
* @readonly
|
|
88
88
|
*/
|
|
89
89
|
changesCounter?: string | null;
|
|
90
|
+
/** Billing order id. Optional. */
|
|
91
|
+
orderId?: string | null;
|
|
90
92
|
/** items, minSize is 1, maxSize is 100 */
|
|
91
93
|
items?: Item$1[];
|
|
92
94
|
}
|
|
@@ -154,7 +156,7 @@ interface BillingSettings$1 {
|
|
|
154
156
|
/** customer payment source to make recurring payments with */
|
|
155
157
|
paymentMethod?: PaymentMethod$1;
|
|
156
158
|
/** Instructs how payments will be collected. */
|
|
157
|
-
collectionMethod?:
|
|
159
|
+
collectionMethod?: CollectionMethodEnumCollectionMethod$1;
|
|
158
160
|
/**
|
|
159
161
|
* Duration of cycle. For example, 1 MONTH, 2 WEEKS, 7 DAYS, 1 YEAR etc.
|
|
160
162
|
* Shortest supported cycle duration is 7 days.
|
|
@@ -193,7 +195,7 @@ interface PaymentMethod$1 {
|
|
|
193
195
|
/** reference to payment source id stored in payments system */
|
|
194
196
|
id?: string;
|
|
195
197
|
}
|
|
196
|
-
declare enum
|
|
198
|
+
declare enum CollectionMethodEnumCollectionMethod$1 {
|
|
197
199
|
UNKNOWN = "UNKNOWN",
|
|
198
200
|
/** Subscriber automatically charged */
|
|
199
201
|
AUTO_CHARGE = "AUTO_CHARGE",
|
|
@@ -1493,7 +1495,7 @@ interface ExternalCollectionDetailsNonNullableFields$1 {
|
|
|
1493
1495
|
interface BillingSettingsNonNullableFields$1 {
|
|
1494
1496
|
currency: string;
|
|
1495
1497
|
paymentMethod?: PaymentMethodNonNullableFields$1;
|
|
1496
|
-
collectionMethod:
|
|
1498
|
+
collectionMethod: CollectionMethodEnumCollectionMethod$1;
|
|
1497
1499
|
cycleDuration?: DurationNonNullableFields$1;
|
|
1498
1500
|
cycleAutoRenew: boolean;
|
|
1499
1501
|
freeTrialDuration?: DurationNonNullableFields$1;
|
|
@@ -1828,6 +1830,8 @@ interface Subscription {
|
|
|
1828
1830
|
* @readonly
|
|
1829
1831
|
*/
|
|
1830
1832
|
changesCounter?: string | null;
|
|
1833
|
+
/** Billing order id. Optional. */
|
|
1834
|
+
orderId?: string | null;
|
|
1831
1835
|
/** items, minSize is 1, maxSize is 100 */
|
|
1832
1836
|
items?: Item[];
|
|
1833
1837
|
}
|
|
@@ -1895,7 +1899,7 @@ interface BillingSettings {
|
|
|
1895
1899
|
/** customer payment source to make recurring payments with */
|
|
1896
1900
|
paymentMethod?: PaymentMethod;
|
|
1897
1901
|
/** Instructs how payments will be collected. */
|
|
1898
|
-
collectionMethod?:
|
|
1902
|
+
collectionMethod?: CollectionMethodEnumCollectionMethod;
|
|
1899
1903
|
/**
|
|
1900
1904
|
* Duration of cycle. For example, 1 MONTH, 2 WEEKS, 7 DAYS, 1 YEAR etc.
|
|
1901
1905
|
* Shortest supported cycle duration is 7 days.
|
|
@@ -1934,7 +1938,7 @@ interface PaymentMethod {
|
|
|
1934
1938
|
/** reference to payment source id stored in payments system */
|
|
1935
1939
|
_id?: string;
|
|
1936
1940
|
}
|
|
1937
|
-
declare enum
|
|
1941
|
+
declare enum CollectionMethodEnumCollectionMethod {
|
|
1938
1942
|
UNKNOWN = "UNKNOWN",
|
|
1939
1943
|
/** Subscriber automatically charged */
|
|
1940
1944
|
AUTO_CHARGE = "AUTO_CHARGE",
|
|
@@ -3234,7 +3238,7 @@ interface ExternalCollectionDetailsNonNullableFields {
|
|
|
3234
3238
|
interface BillingSettingsNonNullableFields {
|
|
3235
3239
|
currency: string;
|
|
3236
3240
|
paymentMethod?: PaymentMethodNonNullableFields;
|
|
3237
|
-
collectionMethod:
|
|
3241
|
+
collectionMethod: CollectionMethodEnumCollectionMethod;
|
|
3238
3242
|
cycleDuration?: DurationNonNullableFields;
|
|
3239
3243
|
cycleAutoRenew: boolean;
|
|
3240
3244
|
freeTrialDuration?: DurationNonNullableFields;
|