@salable/sdk 1.0.46 → 1.0.48
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/dist/index.es.js +177 -6
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +177 -6
- package/dist/index.js.map +1 -1
- package/dist/sdk/api/checkout/index.d.ts +44 -13
- package/dist/sdk/api/usageRecords/index.d.ts +1 -0
- package/dist/sdk/models/index.d.ts +262 -181
- package/package.json +1 -1
|
@@ -389,7 +389,7 @@ export interface CreateCartItemRequestSchema extends Parsable {
|
|
|
389
389
|
/**
|
|
390
390
|
* The billing interval for this cart item. One of `day`, `week`, `month`, `year`. If the cart already has an interval set, this value must match it.
|
|
391
391
|
*/
|
|
392
|
-
interval?:
|
|
392
|
+
interval?: CreateCartItemRequestSchema_intervalMember1 | string | null;
|
|
393
393
|
/**
|
|
394
394
|
* The number of intervals between billing cycles. If the cart already has an interval count set, this value must match it.
|
|
395
395
|
*/
|
|
@@ -403,7 +403,9 @@ export interface CreateCartItemRequestSchema extends Parsable {
|
|
|
403
403
|
*/
|
|
404
404
|
planId?: string | null;
|
|
405
405
|
}
|
|
406
|
-
export type CreateCartItemRequestSchema_interval =
|
|
406
|
+
export type CreateCartItemRequestSchema_interval = CreateCartItemRequestSchema_intervalMember1 | string;
|
|
407
|
+
export interface CreateCartItemRequestSchema_intervalMember1 extends AdditionalDataHolder, Parsable {
|
|
408
|
+
}
|
|
407
409
|
/**
|
|
408
410
|
* Optional per-line-item configuration, keyed by line item slug. Use this to set the quantity for per-seat line items. Not applicable to metered line items or per-seat line items with a flat-rate billing scheme.
|
|
409
411
|
*/
|
|
@@ -417,7 +419,7 @@ export interface CreateCartRequestSchema extends Parsable {
|
|
|
417
419
|
/**
|
|
418
420
|
* The billing interval for the cart. If set to one of `day`, `week`, `month`, `year`. Must be set alongside `intervalCount`. If set to `null` the cart will be treated as a one off purchase.
|
|
419
421
|
*/
|
|
420
|
-
interval?:
|
|
422
|
+
interval?: CreateCartRequestSchema_intervalMember1 | string | null;
|
|
421
423
|
/**
|
|
422
424
|
* The number of intervals between billing cycles. Must be set if `interval` is not `null`.
|
|
423
425
|
*/
|
|
@@ -428,7 +430,9 @@ export interface CreateCartRequestSchema extends Parsable {
|
|
|
428
430
|
owner?: string | null;
|
|
429
431
|
}
|
|
430
432
|
export type CreateCartRequestSchema_currency = (typeof CreateCartRequestSchema_currencyObject)[keyof typeof CreateCartRequestSchema_currencyObject];
|
|
431
|
-
export type CreateCartRequestSchema_interval =
|
|
433
|
+
export type CreateCartRequestSchema_interval = CreateCartRequestSchema_intervalMember1 | string;
|
|
434
|
+
export interface CreateCartRequestSchema_intervalMember1 extends AdditionalDataHolder, Parsable {
|
|
435
|
+
}
|
|
432
436
|
export interface CreateCartResponseSchema extends AdditionalDataHolder, Parsable {
|
|
433
437
|
/**
|
|
434
438
|
* The data property
|
|
@@ -549,6 +553,18 @@ export declare function createCreateApiKeyResponseSchema_dataFromDiscriminatorVa
|
|
|
549
553
|
* @returns {CreateApiKeyResponseSchema}
|
|
550
554
|
*/
|
|
551
555
|
export declare function createCreateApiKeyResponseSchemaFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
556
|
+
/**
|
|
557
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
558
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
559
|
+
* @returns {CreateCartItemRequestSchema_intervalMember1 | string}
|
|
560
|
+
*/
|
|
561
|
+
export declare function createCreateCartItemRequestSchema_intervalFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
562
|
+
/**
|
|
563
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
564
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
565
|
+
* @returns {CreateCartItemRequestSchema_intervalMember1}
|
|
566
|
+
*/
|
|
567
|
+
export declare function createCreateCartItemRequestSchema_intervalMember1FromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
552
568
|
/**
|
|
553
569
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
554
570
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -561,6 +577,18 @@ export declare function createCreateCartItemRequestSchema_metadataFromDiscrimina
|
|
|
561
577
|
* @returns {CreateCartItemRequestSchema}
|
|
562
578
|
*/
|
|
563
579
|
export declare function createCreateCartItemRequestSchemaFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
580
|
+
/**
|
|
581
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
582
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
583
|
+
* @returns {CreateCartRequestSchema_intervalMember1 | string}
|
|
584
|
+
*/
|
|
585
|
+
export declare function createCreateCartRequestSchema_intervalFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
586
|
+
/**
|
|
587
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
588
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
589
|
+
* @returns {CreateCartRequestSchema_intervalMember1}
|
|
590
|
+
*/
|
|
591
|
+
export declare function createCreateCartRequestSchema_intervalMember1FromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
564
592
|
/**
|
|
565
593
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
566
594
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -1061,6 +1089,12 @@ export declare function createGetCartDetailSchema_data_cartItems_data_plan_produ
|
|
|
1061
1089
|
* @returns {GetCartDetailSchema_data_cartItems_data_plan_product_data_settings_successUrlMember1}
|
|
1062
1090
|
*/
|
|
1063
1091
|
export declare function createGetCartDetailSchema_data_cartItems_data_plan_product_data_settings_successUrlMember1FromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
1092
|
+
/**
|
|
1093
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
1094
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
1095
|
+
* @returns {string}
|
|
1096
|
+
*/
|
|
1097
|
+
export declare function createGetCartDetailSchema_data_cartItems_data_plan_product_data_settings_trialCardBehaviourFromDiscriminatorValue(parseNode: ParseNode | undefined): string | undefined;
|
|
1064
1098
|
/**
|
|
1065
1099
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
1066
1100
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -1961,6 +1995,12 @@ export declare function createGetProductDetailSchema_data_plans_dataFromDiscrimi
|
|
|
1961
1995
|
* @returns {GetProductDetailSchema_data_plans}
|
|
1962
1996
|
*/
|
|
1963
1997
|
export declare function createGetProductDetailSchema_data_plansFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
1998
|
+
/**
|
|
1999
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
2000
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
2001
|
+
* @returns {string}
|
|
2002
|
+
*/
|
|
2003
|
+
export declare function createGetProductDetailSchema_data_settings_trialCardBehaviourFromDiscriminatorValue(parseNode: ParseNode | undefined): string | undefined;
|
|
1964
2004
|
/**
|
|
1965
2005
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
1966
2006
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -3265,6 +3305,18 @@ export declare function createUpdateCartRequestSchema_cartItems_metadataFromDisc
|
|
|
3265
3305
|
* @returns {UpdateCartRequestSchema_cartItems}
|
|
3266
3306
|
*/
|
|
3267
3307
|
export declare function createUpdateCartRequestSchema_cartItemsFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
3308
|
+
/**
|
|
3309
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
3310
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
3311
|
+
* @returns {string | UpdateCartRequestSchema_currencyMember1}
|
|
3312
|
+
*/
|
|
3313
|
+
export declare function createUpdateCartRequestSchema_currencyFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
3314
|
+
/**
|
|
3315
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
3316
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
3317
|
+
* @returns {UpdateCartRequestSchema_currencyMember1}
|
|
3318
|
+
*/
|
|
3319
|
+
export declare function createUpdateCartRequestSchema_currencyMember1FromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
3268
3320
|
/**
|
|
3269
3321
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
3270
3322
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -3301,12 +3353,36 @@ export declare function createUpdateGroupRequestSchemaFromDiscriminatorValue(par
|
|
|
3301
3353
|
* @returns {UpdateLineItemRequestSchemaMember1}
|
|
3302
3354
|
*/
|
|
3303
3355
|
export declare function createUpdateLineItemRequestSchemaMember1FromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
3356
|
+
/**
|
|
3357
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
3358
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
3359
|
+
* @returns {string | UpdateLineItemRequestSchemaMember2_tiersModeMember1}
|
|
3360
|
+
*/
|
|
3361
|
+
export declare function createUpdateLineItemRequestSchemaMember2_tiersModeFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
3362
|
+
/**
|
|
3363
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
3364
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
3365
|
+
* @returns {UpdateLineItemRequestSchemaMember2_tiersModeMember1}
|
|
3366
|
+
*/
|
|
3367
|
+
export declare function createUpdateLineItemRequestSchemaMember2_tiersModeMember1FromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
3304
3368
|
/**
|
|
3305
3369
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
3306
3370
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
3307
3371
|
* @returns {UpdateLineItemRequestSchemaMember2}
|
|
3308
3372
|
*/
|
|
3309
3373
|
export declare function createUpdateLineItemRequestSchemaMember2FromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
3374
|
+
/**
|
|
3375
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
3376
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
3377
|
+
* @returns {string | UpdateLineItemRequestSchemaMember3_tiersModeMember1}
|
|
3378
|
+
*/
|
|
3379
|
+
export declare function createUpdateLineItemRequestSchemaMember3_tiersModeFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
3380
|
+
/**
|
|
3381
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
3382
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
3383
|
+
* @returns {UpdateLineItemRequestSchemaMember3_tiersModeMember1}
|
|
3384
|
+
*/
|
|
3385
|
+
export declare function createUpdateLineItemRequestSchemaMember3_tiersModeMember1FromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
3310
3386
|
/**
|
|
3311
3387
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
3312
3388
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -3632,6 +3708,18 @@ export declare function deserializeIntoCreateApiKeyResponseSchema_data(createApi
|
|
|
3632
3708
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
3633
3709
|
*/
|
|
3634
3710
|
export declare function deserializeIntoCreateCartItemRequestSchema(createCartItemRequestSchema?: Partial<CreateCartItemRequestSchema> | undefined): Record<string, (node: ParseNode) => void>;
|
|
3711
|
+
/**
|
|
3712
|
+
* The deserialization information for the current model
|
|
3713
|
+
* @param CreateCartItemRequestSchema_interval The instance to deserialize into.
|
|
3714
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
3715
|
+
*/
|
|
3716
|
+
export declare function deserializeIntoCreateCartItemRequestSchema_interval(createCartItemRequestSchema_interval?: Partial<Parsable | CreateCartItemRequestSchema_intervalMember1 | string> | undefined): Record<string, (node: ParseNode) => void>;
|
|
3717
|
+
/**
|
|
3718
|
+
* The deserialization information for the current model
|
|
3719
|
+
* @param CreateCartItemRequestSchema_intervalMember1 The instance to deserialize into.
|
|
3720
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
3721
|
+
*/
|
|
3722
|
+
export declare function deserializeIntoCreateCartItemRequestSchema_intervalMember1(createCartItemRequestSchema_intervalMember1?: Partial<CreateCartItemRequestSchema_intervalMember1> | undefined): Record<string, (node: ParseNode) => void>;
|
|
3635
3723
|
/**
|
|
3636
3724
|
* The deserialization information for the current model
|
|
3637
3725
|
* @param CreateCartItemRequestSchema_metadata The instance to deserialize into.
|
|
@@ -3644,6 +3732,18 @@ export declare function deserializeIntoCreateCartItemRequestSchema_metadata(crea
|
|
|
3644
3732
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
3645
3733
|
*/
|
|
3646
3734
|
export declare function deserializeIntoCreateCartRequestSchema(createCartRequestSchema?: Partial<CreateCartRequestSchema> | undefined): Record<string, (node: ParseNode) => void>;
|
|
3735
|
+
/**
|
|
3736
|
+
* The deserialization information for the current model
|
|
3737
|
+
* @param CreateCartRequestSchema_interval The instance to deserialize into.
|
|
3738
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
3739
|
+
*/
|
|
3740
|
+
export declare function deserializeIntoCreateCartRequestSchema_interval(createCartRequestSchema_interval?: Partial<Parsable | CreateCartRequestSchema_intervalMember1 | string> | undefined): Record<string, (node: ParseNode) => void>;
|
|
3741
|
+
/**
|
|
3742
|
+
* The deserialization information for the current model
|
|
3743
|
+
* @param CreateCartRequestSchema_intervalMember1 The instance to deserialize into.
|
|
3744
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
3745
|
+
*/
|
|
3746
|
+
export declare function deserializeIntoCreateCartRequestSchema_intervalMember1(createCartRequestSchema_intervalMember1?: Partial<CreateCartRequestSchema_intervalMember1> | undefined): Record<string, (node: ParseNode) => void>;
|
|
3647
3747
|
/**
|
|
3648
3748
|
* The deserialization information for the current model
|
|
3649
3749
|
* @param CreateCartResponseSchema The instance to deserialize into.
|
|
@@ -5756,6 +5856,18 @@ export declare function deserializeIntoUpdateCartRequestSchema_cartItems(updateC
|
|
|
5756
5856
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
5757
5857
|
*/
|
|
5758
5858
|
export declare function deserializeIntoUpdateCartRequestSchema_cartItems_metadata(updateCartRequestSchema_cartItems_metadata?: Partial<UpdateCartRequestSchema_cartItems_metadata> | undefined): Record<string, (node: ParseNode) => void>;
|
|
5859
|
+
/**
|
|
5860
|
+
* The deserialization information for the current model
|
|
5861
|
+
* @param UpdateCartRequestSchema_currency The instance to deserialize into.
|
|
5862
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
5863
|
+
*/
|
|
5864
|
+
export declare function deserializeIntoUpdateCartRequestSchema_currency(updateCartRequestSchema_currency?: Partial<Parsable | string | UpdateCartRequestSchema_currencyMember1> | undefined): Record<string, (node: ParseNode) => void>;
|
|
5865
|
+
/**
|
|
5866
|
+
* The deserialization information for the current model
|
|
5867
|
+
* @param UpdateCartRequestSchema_currencyMember1 The instance to deserialize into.
|
|
5868
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
5869
|
+
*/
|
|
5870
|
+
export declare function deserializeIntoUpdateCartRequestSchema_currencyMember1(updateCartRequestSchema_currencyMember1?: Partial<UpdateCartRequestSchema_currencyMember1> | undefined): Record<string, (node: ParseNode) => void>;
|
|
5759
5871
|
/**
|
|
5760
5872
|
* The deserialization information for the current model
|
|
5761
5873
|
* @param UpdateEntitlementRequestSchema The instance to deserialize into.
|
|
@@ -5792,12 +5904,36 @@ export declare function deserializeIntoUpdateLineItemRequestSchemaMember1(update
|
|
|
5792
5904
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
5793
5905
|
*/
|
|
5794
5906
|
export declare function deserializeIntoUpdateLineItemRequestSchemaMember2(updateLineItemRequestSchemaMember2?: Partial<UpdateLineItemRequestSchemaMember2> | undefined): Record<string, (node: ParseNode) => void>;
|
|
5907
|
+
/**
|
|
5908
|
+
* The deserialization information for the current model
|
|
5909
|
+
* @param UpdateLineItemRequestSchemaMember2_tiersMode The instance to deserialize into.
|
|
5910
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
5911
|
+
*/
|
|
5912
|
+
export declare function deserializeIntoUpdateLineItemRequestSchemaMember2_tiersMode(updateLineItemRequestSchemaMember2_tiersMode?: Partial<Parsable | string | UpdateLineItemRequestSchemaMember2_tiersModeMember1> | undefined): Record<string, (node: ParseNode) => void>;
|
|
5913
|
+
/**
|
|
5914
|
+
* The deserialization information for the current model
|
|
5915
|
+
* @param UpdateLineItemRequestSchemaMember2_tiersModeMember1 The instance to deserialize into.
|
|
5916
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
5917
|
+
*/
|
|
5918
|
+
export declare function deserializeIntoUpdateLineItemRequestSchemaMember2_tiersModeMember1(updateLineItemRequestSchemaMember2_tiersModeMember1?: Partial<UpdateLineItemRequestSchemaMember2_tiersModeMember1> | undefined): Record<string, (node: ParseNode) => void>;
|
|
5795
5919
|
/**
|
|
5796
5920
|
* The deserialization information for the current model
|
|
5797
5921
|
* @param UpdateLineItemRequestSchemaMember3 The instance to deserialize into.
|
|
5798
5922
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
5799
5923
|
*/
|
|
5800
5924
|
export declare function deserializeIntoUpdateLineItemRequestSchemaMember3(updateLineItemRequestSchemaMember3?: Partial<UpdateLineItemRequestSchemaMember3> | undefined): Record<string, (node: ParseNode) => void>;
|
|
5925
|
+
/**
|
|
5926
|
+
* The deserialization information for the current model
|
|
5927
|
+
* @param UpdateLineItemRequestSchemaMember3_tiersMode The instance to deserialize into.
|
|
5928
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
5929
|
+
*/
|
|
5930
|
+
export declare function deserializeIntoUpdateLineItemRequestSchemaMember3_tiersMode(updateLineItemRequestSchemaMember3_tiersMode?: Partial<Parsable | string | UpdateLineItemRequestSchemaMember3_tiersModeMember1> | undefined): Record<string, (node: ParseNode) => void>;
|
|
5931
|
+
/**
|
|
5932
|
+
* The deserialization information for the current model
|
|
5933
|
+
* @param UpdateLineItemRequestSchemaMember3_tiersModeMember1 The instance to deserialize into.
|
|
5934
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
5935
|
+
*/
|
|
5936
|
+
export declare function deserializeIntoUpdateLineItemRequestSchemaMember3_tiersModeMember1(updateLineItemRequestSchemaMember3_tiersModeMember1?: Partial<UpdateLineItemRequestSchemaMember3_tiersModeMember1> | undefined): Record<string, (node: ParseNode) => void>;
|
|
5801
5937
|
/**
|
|
5802
5938
|
* The deserialization information for the current model
|
|
5803
5939
|
* @param UpdateLineItemResponseSchema The instance to deserialize into.
|
|
@@ -5956,7 +6092,7 @@ export interface GenerateCheckoutLinkRequestSchema extends Parsable {
|
|
|
5956
6092
|
*/
|
|
5957
6093
|
email?: string | null;
|
|
5958
6094
|
/**
|
|
5959
|
-
*
|
|
6095
|
+
* Whether a card is required at checkout. Applies only when trial days are set on a plan or in the checkout. `always` sets the card to be required, `if_required` sets the checkout to be cardless but cannot be used if any one-off line items are included on any of the plans. This is only required when the plans' parent product settings have differing trial card behaviour.
|
|
5960
6096
|
*/
|
|
5961
6097
|
paymentMethodCollection?: GenerateCheckoutLinkRequestSchema_paymentMethodCollection | null;
|
|
5962
6098
|
/**
|
|
@@ -6748,6 +6884,10 @@ export interface GetCartDetailSchema_data_cartItems_data_plan_product_data_setti
|
|
|
6748
6884
|
* The successUrl property
|
|
6749
6885
|
*/
|
|
6750
6886
|
successUrl?: GetCartDetailSchema_data_cartItems_data_plan_product_data_settings_successUrlMember1 | string | null;
|
|
6887
|
+
/**
|
|
6888
|
+
* The trialCardBehaviour property
|
|
6889
|
+
*/
|
|
6890
|
+
trialCardBehaviour?: string | null;
|
|
6751
6891
|
/**
|
|
6752
6892
|
* The updatedAt property
|
|
6753
6893
|
*/
|
|
@@ -6762,6 +6902,7 @@ export interface GetCartDetailSchema_data_cartItems_data_plan_product_data_setti
|
|
|
6762
6902
|
export type GetCartDetailSchema_data_cartItems_data_plan_product_data_settings_successUrl = GetCartDetailSchema_data_cartItems_data_plan_product_data_settings_successUrlMember1 | string;
|
|
6763
6903
|
export interface GetCartDetailSchema_data_cartItems_data_plan_product_data_settings_successUrlMember1 extends AdditionalDataHolder, Parsable {
|
|
6764
6904
|
}
|
|
6905
|
+
export type GetCartDetailSchema_data_cartItems_data_plan_product_data_settings_trialCardBehaviour = string;
|
|
6765
6906
|
export interface GetCartDetailSchema_data_owner extends Parsable {
|
|
6766
6907
|
/**
|
|
6767
6908
|
* The createdAt property
|
|
@@ -10794,11 +10935,16 @@ export interface GetProductDetailSchema_data_settings extends Parsable {
|
|
|
10794
10935
|
* The successUrl property
|
|
10795
10936
|
*/
|
|
10796
10937
|
successUrl?: string | null;
|
|
10938
|
+
/**
|
|
10939
|
+
* The trialCardBehaviour property
|
|
10940
|
+
*/
|
|
10941
|
+
trialCardBehaviour?: string | null;
|
|
10797
10942
|
/**
|
|
10798
10943
|
* The updatedAt property
|
|
10799
10944
|
*/
|
|
10800
10945
|
updatedAt?: string | null;
|
|
10801
10946
|
}
|
|
10947
|
+
export type GetProductDetailSchema_data_settings_trialCardBehaviour = string;
|
|
10802
10948
|
export interface GetProductListSchema extends Parsable {
|
|
10803
10949
|
/**
|
|
10804
10950
|
* The data property
|
|
@@ -14598,6 +14744,20 @@ export declare function serializeCreateApiKeyResponseSchema_data_type(writer: Se
|
|
|
14598
14744
|
* @param writer Serialization writer to use to serialize this model
|
|
14599
14745
|
*/
|
|
14600
14746
|
export declare function serializeCreateCartItemRequestSchema(writer: SerializationWriter, createCartItemRequestSchema?: Partial<CreateCartItemRequestSchema> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
14747
|
+
/**
|
|
14748
|
+
* Serializes information the current object
|
|
14749
|
+
* @param CreateCartItemRequestSchema_interval The instance to serialize from.
|
|
14750
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
14751
|
+
* @param writer Serialization writer to use to serialize this model
|
|
14752
|
+
*/
|
|
14753
|
+
export declare function serializeCreateCartItemRequestSchema_interval(writer: SerializationWriter, createCartItemRequestSchema_interval?: Partial<Parsable | CreateCartItemRequestSchema_intervalMember1> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
14754
|
+
/**
|
|
14755
|
+
* Serializes information the current object
|
|
14756
|
+
* @param CreateCartItemRequestSchema_intervalMember1 The instance to serialize from.
|
|
14757
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
14758
|
+
* @param writer Serialization writer to use to serialize this model
|
|
14759
|
+
*/
|
|
14760
|
+
export declare function serializeCreateCartItemRequestSchema_intervalMember1(writer: SerializationWriter, createCartItemRequestSchema_intervalMember1?: Partial<CreateCartItemRequestSchema_intervalMember1> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
14601
14761
|
/**
|
|
14602
14762
|
* Serializes information the current object
|
|
14603
14763
|
* @param CreateCartItemRequestSchema_metadata The instance to serialize from.
|
|
@@ -14612,6 +14772,20 @@ export declare function serializeCreateCartItemRequestSchema_metadata(writer: Se
|
|
|
14612
14772
|
* @param writer Serialization writer to use to serialize this model
|
|
14613
14773
|
*/
|
|
14614
14774
|
export declare function serializeCreateCartRequestSchema(writer: SerializationWriter, createCartRequestSchema?: Partial<CreateCartRequestSchema> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
14775
|
+
/**
|
|
14776
|
+
* Serializes information the current object
|
|
14777
|
+
* @param CreateCartRequestSchema_interval The instance to serialize from.
|
|
14778
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
14779
|
+
* @param writer Serialization writer to use to serialize this model
|
|
14780
|
+
*/
|
|
14781
|
+
export declare function serializeCreateCartRequestSchema_interval(writer: SerializationWriter, createCartRequestSchema_interval?: Partial<Parsable | CreateCartRequestSchema_intervalMember1> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
14782
|
+
/**
|
|
14783
|
+
* Serializes information the current object
|
|
14784
|
+
* @param CreateCartRequestSchema_intervalMember1 The instance to serialize from.
|
|
14785
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
14786
|
+
* @param writer Serialization writer to use to serialize this model
|
|
14787
|
+
*/
|
|
14788
|
+
export declare function serializeCreateCartRequestSchema_intervalMember1(writer: SerializationWriter, createCartRequestSchema_intervalMember1?: Partial<CreateCartRequestSchema_intervalMember1> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
14615
14789
|
/**
|
|
14616
14790
|
* Serializes information the current object
|
|
14617
14791
|
* @param CreateCartResponseSchema The instance to serialize from.
|
|
@@ -15205,6 +15379,14 @@ export declare function serializeGetCartDetailSchema_data_cartItems_data_plan_pr
|
|
|
15205
15379
|
* @param writer Serialization writer to use to serialize this model
|
|
15206
15380
|
*/
|
|
15207
15381
|
export declare function serializeGetCartDetailSchema_data_cartItems_data_plan_product_data_settings_successUrlMember1(writer: SerializationWriter, getCartDetailSchema_data_cartItems_data_plan_product_data_settings_successUrlMember1?: Partial<GetCartDetailSchema_data_cartItems_data_plan_product_data_settings_successUrlMember1> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
15382
|
+
/**
|
|
15383
|
+
* Serializes information the current object
|
|
15384
|
+
* @param GetCartDetailSchema_data_cartItems_data_plan_product_data_settings_trialCardBehaviour The instance to serialize from.
|
|
15385
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
15386
|
+
* @param key The name of the property to write in the serialization.
|
|
15387
|
+
* @param writer Serialization writer to use to serialize this model
|
|
15388
|
+
*/
|
|
15389
|
+
export declare function serializeGetCartDetailSchema_data_cartItems_data_plan_product_data_settings_trialCardBehaviour(writer: SerializationWriter, key: string, getCartDetailSchema_data_cartItems_data_plan_product_data_settings_trialCardBehaviour: Parsable | GetCartDetailSchema_data_cartItems_data_plan_product_data_settings_trialCardBehaviour | undefined, isSerializingDerivedType?: boolean): void;
|
|
15208
15390
|
/**
|
|
15209
15391
|
* Serializes information the current object
|
|
15210
15392
|
* @param GetCartDetailSchema_data_owner The instance to serialize from.
|
|
@@ -16227,6 +16409,14 @@ export declare function serializeGetProductDetailSchema_data_plans_data(writer:
|
|
|
16227
16409
|
* @param writer Serialization writer to use to serialize this model
|
|
16228
16410
|
*/
|
|
16229
16411
|
export declare function serializeGetProductDetailSchema_data_settings(writer: SerializationWriter, getProductDetailSchema_data_settings?: Partial<GetProductDetailSchema_data_settings> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
16412
|
+
/**
|
|
16413
|
+
* Serializes information the current object
|
|
16414
|
+
* @param GetProductDetailSchema_data_settings_trialCardBehaviour The instance to serialize from.
|
|
16415
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
16416
|
+
* @param key The name of the property to write in the serialization.
|
|
16417
|
+
* @param writer Serialization writer to use to serialize this model
|
|
16418
|
+
*/
|
|
16419
|
+
export declare function serializeGetProductDetailSchema_data_settings_trialCardBehaviour(writer: SerializationWriter, key: string, getProductDetailSchema_data_settings_trialCardBehaviour: Parsable | GetProductDetailSchema_data_settings_trialCardBehaviour | undefined, isSerializingDerivedType?: boolean): void;
|
|
16230
16420
|
/**
|
|
16231
16421
|
* Serializes information the current object
|
|
16232
16422
|
* @param GetProductListSchema The instance to serialize from.
|
|
@@ -17228,6 +17418,20 @@ export declare function serializeUpdateCartRequestSchema_cartItems(writer: Seria
|
|
|
17228
17418
|
* @param writer Serialization writer to use to serialize this model
|
|
17229
17419
|
*/
|
|
17230
17420
|
export declare function serializeUpdateCartRequestSchema_cartItems_metadata(writer: SerializationWriter, updateCartRequestSchema_cartItems_metadata?: Partial<UpdateCartRequestSchema_cartItems_metadata> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
17421
|
+
/**
|
|
17422
|
+
* Serializes information the current object
|
|
17423
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
17424
|
+
* @param UpdateCartRequestSchema_currency The instance to serialize from.
|
|
17425
|
+
* @param writer Serialization writer to use to serialize this model
|
|
17426
|
+
*/
|
|
17427
|
+
export declare function serializeUpdateCartRequestSchema_currency(writer: SerializationWriter, updateCartRequestSchema_currency?: Partial<Parsable | UpdateCartRequestSchema_currencyMember1> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
17428
|
+
/**
|
|
17429
|
+
* Serializes information the current object
|
|
17430
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
17431
|
+
* @param UpdateCartRequestSchema_currencyMember1 The instance to serialize from.
|
|
17432
|
+
* @param writer Serialization writer to use to serialize this model
|
|
17433
|
+
*/
|
|
17434
|
+
export declare function serializeUpdateCartRequestSchema_currencyMember1(writer: SerializationWriter, updateCartRequestSchema_currencyMember1?: Partial<UpdateCartRequestSchema_currencyMember1> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
17231
17435
|
/**
|
|
17232
17436
|
* Serializes information the current object
|
|
17233
17437
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
@@ -17270,6 +17474,20 @@ export declare function serializeUpdateLineItemRequestSchemaMember1(writer: Seri
|
|
|
17270
17474
|
* @param writer Serialization writer to use to serialize this model
|
|
17271
17475
|
*/
|
|
17272
17476
|
export declare function serializeUpdateLineItemRequestSchemaMember2(writer: SerializationWriter, updateLineItemRequestSchemaMember2?: Partial<UpdateLineItemRequestSchemaMember2> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
17477
|
+
/**
|
|
17478
|
+
* Serializes information the current object
|
|
17479
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
17480
|
+
* @param UpdateLineItemRequestSchemaMember2_tiersMode The instance to serialize from.
|
|
17481
|
+
* @param writer Serialization writer to use to serialize this model
|
|
17482
|
+
*/
|
|
17483
|
+
export declare function serializeUpdateLineItemRequestSchemaMember2_tiersMode(writer: SerializationWriter, updateLineItemRequestSchemaMember2_tiersMode?: Partial<Parsable | UpdateLineItemRequestSchemaMember2_tiersModeMember1> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
17484
|
+
/**
|
|
17485
|
+
* Serializes information the current object
|
|
17486
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
17487
|
+
* @param UpdateLineItemRequestSchemaMember2_tiersModeMember1 The instance to serialize from.
|
|
17488
|
+
* @param writer Serialization writer to use to serialize this model
|
|
17489
|
+
*/
|
|
17490
|
+
export declare function serializeUpdateLineItemRequestSchemaMember2_tiersModeMember1(writer: SerializationWriter, updateLineItemRequestSchemaMember2_tiersModeMember1?: Partial<UpdateLineItemRequestSchemaMember2_tiersModeMember1> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
17273
17491
|
/**
|
|
17274
17492
|
* Serializes information the current object
|
|
17275
17493
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
@@ -17277,6 +17495,20 @@ export declare function serializeUpdateLineItemRequestSchemaMember2(writer: Seri
|
|
|
17277
17495
|
* @param writer Serialization writer to use to serialize this model
|
|
17278
17496
|
*/
|
|
17279
17497
|
export declare function serializeUpdateLineItemRequestSchemaMember3(writer: SerializationWriter, updateLineItemRequestSchemaMember3?: Partial<UpdateLineItemRequestSchemaMember3> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
17498
|
+
/**
|
|
17499
|
+
* Serializes information the current object
|
|
17500
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
17501
|
+
* @param UpdateLineItemRequestSchemaMember3_tiersMode The instance to serialize from.
|
|
17502
|
+
* @param writer Serialization writer to use to serialize this model
|
|
17503
|
+
*/
|
|
17504
|
+
export declare function serializeUpdateLineItemRequestSchemaMember3_tiersMode(writer: SerializationWriter, updateLineItemRequestSchemaMember3_tiersMode?: Partial<Parsable | UpdateLineItemRequestSchemaMember3_tiersModeMember1> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
17505
|
+
/**
|
|
17506
|
+
* Serializes information the current object
|
|
17507
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
17508
|
+
* @param UpdateLineItemRequestSchemaMember3_tiersModeMember1 The instance to serialize from.
|
|
17509
|
+
* @param writer Serialization writer to use to serialize this model
|
|
17510
|
+
*/
|
|
17511
|
+
export declare function serializeUpdateLineItemRequestSchemaMember3_tiersModeMember1(writer: SerializationWriter, updateLineItemRequestSchemaMember3_tiersModeMember1?: Partial<UpdateLineItemRequestSchemaMember3_tiersModeMember1> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
17280
17512
|
/**
|
|
17281
17513
|
* Serializes information the current object
|
|
17282
17514
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
@@ -17419,7 +17651,7 @@ export interface UpdateCartRequestSchema extends Parsable {
|
|
|
17419
17651
|
/**
|
|
17420
17652
|
* The case-insensitive three-letter ISO 4217 currency code for the cart. Input is normalized to canonical uppercase. Omit this property to leave the currency unchanged, or set it to `null` to clear the cart currency.
|
|
17421
17653
|
*/
|
|
17422
|
-
currency?:
|
|
17654
|
+
currency?: string | UpdateCartRequestSchema_currencyMember1 | null;
|
|
17423
17655
|
/**
|
|
17424
17656
|
* The owner property
|
|
17425
17657
|
*/
|
|
@@ -17441,7 +17673,9 @@ export interface UpdateCartRequestSchema_cartItems extends Parsable {
|
|
|
17441
17673
|
}
|
|
17442
17674
|
export interface UpdateCartRequestSchema_cartItems_metadata extends AdditionalDataHolder, Parsable {
|
|
17443
17675
|
}
|
|
17444
|
-
export type UpdateCartRequestSchema_currency =
|
|
17676
|
+
export type UpdateCartRequestSchema_currency = string | UpdateCartRequestSchema_currencyMember1;
|
|
17677
|
+
export interface UpdateCartRequestSchema_currencyMember1 extends AdditionalDataHolder, Parsable {
|
|
17678
|
+
}
|
|
17445
17679
|
export interface UpdateEntitlementRequestSchema extends Parsable {
|
|
17446
17680
|
/**
|
|
17447
17681
|
* The name property
|
|
@@ -17598,7 +17832,7 @@ export interface UpdateLineItemRequestSchemaMember2 extends Parsable {
|
|
|
17598
17832
|
/**
|
|
17599
17833
|
* The tiersMode property
|
|
17600
17834
|
*/
|
|
17601
|
-
tiersMode?:
|
|
17835
|
+
tiersMode?: string | UpdateLineItemRequestSchemaMember2_tiersModeMember1 | null;
|
|
17602
17836
|
/**
|
|
17603
17837
|
* The unitLabel property
|
|
17604
17838
|
*/
|
|
@@ -17606,7 +17840,9 @@ export interface UpdateLineItemRequestSchemaMember2 extends Parsable {
|
|
|
17606
17840
|
}
|
|
17607
17841
|
export type UpdateLineItemRequestSchemaMember2_billingScheme = (typeof UpdateLineItemRequestSchemaMember2_billingSchemeObject)[keyof typeof UpdateLineItemRequestSchemaMember2_billingSchemeObject];
|
|
17608
17842
|
export type UpdateLineItemRequestSchemaMember2_intervalType = (typeof UpdateLineItemRequestSchemaMember2_intervalTypeObject)[keyof typeof UpdateLineItemRequestSchemaMember2_intervalTypeObject];
|
|
17609
|
-
export type UpdateLineItemRequestSchemaMember2_tiersMode =
|
|
17843
|
+
export type UpdateLineItemRequestSchemaMember2_tiersMode = string | UpdateLineItemRequestSchemaMember2_tiersModeMember1;
|
|
17844
|
+
export interface UpdateLineItemRequestSchemaMember2_tiersModeMember1 extends AdditionalDataHolder, Parsable {
|
|
17845
|
+
}
|
|
17610
17846
|
export interface UpdateLineItemRequestSchemaMember3 extends Parsable {
|
|
17611
17847
|
/**
|
|
17612
17848
|
* The allowChangingQuantity property
|
|
@@ -17659,7 +17895,7 @@ export interface UpdateLineItemRequestSchemaMember3 extends Parsable {
|
|
|
17659
17895
|
/**
|
|
17660
17896
|
* The tiersMode property
|
|
17661
17897
|
*/
|
|
17662
|
-
tiersMode?:
|
|
17898
|
+
tiersMode?: string | UpdateLineItemRequestSchemaMember3_tiersModeMember1 | null;
|
|
17663
17899
|
/**
|
|
17664
17900
|
* The unitLabel property
|
|
17665
17901
|
*/
|
|
@@ -17667,7 +17903,9 @@ export interface UpdateLineItemRequestSchemaMember3 extends Parsable {
|
|
|
17667
17903
|
}
|
|
17668
17904
|
export type UpdateLineItemRequestSchemaMember3_billingScheme = (typeof UpdateLineItemRequestSchemaMember3_billingSchemeObject)[keyof typeof UpdateLineItemRequestSchemaMember3_billingSchemeObject];
|
|
17669
17905
|
export type UpdateLineItemRequestSchemaMember3_intervalType = (typeof UpdateLineItemRequestSchemaMember3_intervalTypeObject)[keyof typeof UpdateLineItemRequestSchemaMember3_intervalTypeObject];
|
|
17670
|
-
export type UpdateLineItemRequestSchemaMember3_tiersMode =
|
|
17906
|
+
export type UpdateLineItemRequestSchemaMember3_tiersMode = string | UpdateLineItemRequestSchemaMember3_tiersModeMember1;
|
|
17907
|
+
export interface UpdateLineItemRequestSchemaMember3_tiersModeMember1 extends AdditionalDataHolder, Parsable {
|
|
17908
|
+
}
|
|
17671
17909
|
export interface UpdateLineItemResponseSchema extends Parsable {
|
|
17672
17910
|
/**
|
|
17673
17911
|
* The data property
|
|
@@ -17881,8 +18119,13 @@ export interface UpdateProductRequestSchema_settings extends Parsable {
|
|
|
17881
18119
|
* URL to redirect customers to after a successful checkout.
|
|
17882
18120
|
*/
|
|
17883
18121
|
successUrl?: string | null;
|
|
18122
|
+
/**
|
|
18123
|
+
* The default for whether a card is required at checkout for plans under this product. Applies only when trial days are set on the plan or in the checkout. `always` sets the card to be required, `if_required` sets the checkout to be cardless.
|
|
18124
|
+
*/
|
|
18125
|
+
trialCardBehaviour?: UpdateProductRequestSchema_settings_trialCardBehaviour | null;
|
|
17884
18126
|
}
|
|
17885
18127
|
export type UpdateProductRequestSchema_settings_cardPrefillPreference = (typeof UpdateProductRequestSchema_settings_cardPrefillPreferenceObject)[keyof typeof UpdateProductRequestSchema_settings_cardPrefillPreferenceObject];
|
|
18128
|
+
export type UpdateProductRequestSchema_settings_trialCardBehaviour = (typeof UpdateProductRequestSchema_settings_trialCardBehaviourObject)[keyof typeof UpdateProductRequestSchema_settings_trialCardBehaviourObject];
|
|
17886
18129
|
export interface UpdateProductResponseSchema extends Parsable {
|
|
17887
18130
|
/**
|
|
17888
18131
|
* The data property
|
|
@@ -18040,15 +18283,6 @@ export declare const BatchSubscriptionActionsRequestSchema_actionObject: {
|
|
|
18040
18283
|
readonly DisableAutoRenew: "disable-auto-renew";
|
|
18041
18284
|
readonly Delete: "delete";
|
|
18042
18285
|
};
|
|
18043
|
-
/**
|
|
18044
|
-
* The billing interval for this cart item. One of `day`, `week`, `month`, `year`. If the cart already has an interval set, this value must match it.
|
|
18045
|
-
*/
|
|
18046
|
-
export declare const CreateCartItemRequestSchema_intervalObject: {
|
|
18047
|
-
readonly Day: "day";
|
|
18048
|
-
readonly Week: "week";
|
|
18049
|
-
readonly Month: "month";
|
|
18050
|
-
readonly Year: "year";
|
|
18051
|
-
};
|
|
18052
18286
|
/**
|
|
18053
18287
|
* The case-insensitive three-letter ISO 4217 currency code for the cart. Input is normalized to canonical uppercase. If currency is not provided and all line items have the same default currency, the cart will use Geolocation.
|
|
18054
18288
|
*/
|
|
@@ -18192,15 +18426,6 @@ export declare const CreateCartRequestSchema_currencyObject: {
|
|
|
18192
18426
|
readonly KWD: "KWD";
|
|
18193
18427
|
readonly OMR: "OMR";
|
|
18194
18428
|
};
|
|
18195
|
-
/**
|
|
18196
|
-
* The billing interval for the cart. If set to one of `day`, `week`, `month`, `year`. Must be set alongside `intervalCount`. If set to `null` the cart will be treated as a one off purchase.
|
|
18197
|
-
*/
|
|
18198
|
-
export declare const CreateCartRequestSchema_intervalObject: {
|
|
18199
|
-
readonly Day: "day";
|
|
18200
|
-
readonly Week: "week";
|
|
18201
|
-
readonly Month: "month";
|
|
18202
|
-
readonly Year: "year";
|
|
18203
|
-
};
|
|
18204
18429
|
export declare const CreateOwnerPortalRequestSchema_features_customerUpdate_allowedUpdatesObject: {
|
|
18205
18430
|
readonly Name: "name";
|
|
18206
18431
|
readonly Email: "email";
|
|
@@ -18244,7 +18469,7 @@ export declare const GenerateCheckoutLinkRequestSchema_cardPrefillPreferenceObje
|
|
|
18244
18469
|
readonly Choice: "choice";
|
|
18245
18470
|
};
|
|
18246
18471
|
/**
|
|
18247
|
-
*
|
|
18472
|
+
* Whether a card is required at checkout. Applies only when trial days are set on a plan or in the checkout. `always` sets the card to be required, `if_required` sets the checkout to be cardless but cannot be used if any one-off line items are included on any of the plans. This is only required when the plans' parent product settings have differing trial card behaviour.
|
|
18248
18473
|
*/
|
|
18249
18474
|
export declare const GenerateCheckoutLinkRequestSchema_paymentMethodCollectionObject: {
|
|
18250
18475
|
readonly Always: "always";
|
|
@@ -18555,149 +18780,6 @@ export declare const SavePlanRequestSchema_lineItems_tiersModeObject: {
|
|
|
18555
18780
|
readonly Graduated: "graduated";
|
|
18556
18781
|
readonly Volume: "volume";
|
|
18557
18782
|
};
|
|
18558
|
-
/**
|
|
18559
|
-
* The case-insensitive three-letter ISO 4217 currency code for the cart. Input is normalized to canonical uppercase. Omit this property to leave the currency unchanged, or set it to `null` to clear the cart currency.
|
|
18560
|
-
*/
|
|
18561
|
-
export declare const UpdateCartRequestSchema_currencyObject: {
|
|
18562
|
-
readonly USD: "USD";
|
|
18563
|
-
readonly AED: "AED";
|
|
18564
|
-
readonly AFN: "AFN";
|
|
18565
|
-
readonly ALL: "ALL";
|
|
18566
|
-
readonly AMD: "AMD";
|
|
18567
|
-
readonly ANG: "ANG";
|
|
18568
|
-
readonly AOA: "AOA";
|
|
18569
|
-
readonly ARS: "ARS";
|
|
18570
|
-
readonly AUD: "AUD";
|
|
18571
|
-
readonly AWG: "AWG";
|
|
18572
|
-
readonly AZN: "AZN";
|
|
18573
|
-
readonly BAM: "BAM";
|
|
18574
|
-
readonly BBD: "BBD";
|
|
18575
|
-
readonly BDT: "BDT";
|
|
18576
|
-
readonly BGN: "BGN";
|
|
18577
|
-
readonly BIF: "BIF";
|
|
18578
|
-
readonly BMD: "BMD";
|
|
18579
|
-
readonly BND: "BND";
|
|
18580
|
-
readonly BOB: "BOB";
|
|
18581
|
-
readonly BRL: "BRL";
|
|
18582
|
-
readonly BSD: "BSD";
|
|
18583
|
-
readonly BWP: "BWP";
|
|
18584
|
-
readonly BYN: "BYN";
|
|
18585
|
-
readonly BZD: "BZD";
|
|
18586
|
-
readonly CAD: "CAD";
|
|
18587
|
-
readonly CDF: "CDF";
|
|
18588
|
-
readonly CHF: "CHF";
|
|
18589
|
-
readonly CLP: "CLP";
|
|
18590
|
-
readonly CNY: "CNY";
|
|
18591
|
-
readonly COP: "COP";
|
|
18592
|
-
readonly CRC: "CRC";
|
|
18593
|
-
readonly CVE: "CVE";
|
|
18594
|
-
readonly CZK: "CZK";
|
|
18595
|
-
readonly DJF: "DJF";
|
|
18596
|
-
readonly DKK: "DKK";
|
|
18597
|
-
readonly DOP: "DOP";
|
|
18598
|
-
readonly DZD: "DZD";
|
|
18599
|
-
readonly EGP: "EGP";
|
|
18600
|
-
readonly ETB: "ETB";
|
|
18601
|
-
readonly EUR: "EUR";
|
|
18602
|
-
readonly FJD: "FJD";
|
|
18603
|
-
readonly FKP: "FKP";
|
|
18604
|
-
readonly GBP: "GBP";
|
|
18605
|
-
readonly GEL: "GEL";
|
|
18606
|
-
readonly GIP: "GIP";
|
|
18607
|
-
readonly GMD: "GMD";
|
|
18608
|
-
readonly GNF: "GNF";
|
|
18609
|
-
readonly GTQ: "GTQ";
|
|
18610
|
-
readonly GYD: "GYD";
|
|
18611
|
-
readonly HKD: "HKD";
|
|
18612
|
-
readonly HNL: "HNL";
|
|
18613
|
-
readonly HTG: "HTG";
|
|
18614
|
-
readonly HUF: "HUF";
|
|
18615
|
-
readonly IDR: "IDR";
|
|
18616
|
-
readonly ILS: "ILS";
|
|
18617
|
-
readonly INR: "INR";
|
|
18618
|
-
readonly ISK: "ISK";
|
|
18619
|
-
readonly JMD: "JMD";
|
|
18620
|
-
readonly JPY: "JPY";
|
|
18621
|
-
readonly KES: "KES";
|
|
18622
|
-
readonly KGS: "KGS";
|
|
18623
|
-
readonly KHR: "KHR";
|
|
18624
|
-
readonly KMF: "KMF";
|
|
18625
|
-
readonly KRW: "KRW";
|
|
18626
|
-
readonly KYD: "KYD";
|
|
18627
|
-
readonly KZT: "KZT";
|
|
18628
|
-
readonly LAK: "LAK";
|
|
18629
|
-
readonly LBP: "LBP";
|
|
18630
|
-
readonly LKR: "LKR";
|
|
18631
|
-
readonly LRD: "LRD";
|
|
18632
|
-
readonly LSL: "LSL";
|
|
18633
|
-
readonly MAD: "MAD";
|
|
18634
|
-
readonly MDL: "MDL";
|
|
18635
|
-
readonly MGA: "MGA";
|
|
18636
|
-
readonly MKD: "MKD";
|
|
18637
|
-
readonly MMK: "MMK";
|
|
18638
|
-
readonly MNT: "MNT";
|
|
18639
|
-
readonly MOP: "MOP";
|
|
18640
|
-
readonly MUR: "MUR";
|
|
18641
|
-
readonly MVR: "MVR";
|
|
18642
|
-
readonly MWK: "MWK";
|
|
18643
|
-
readonly MXN: "MXN";
|
|
18644
|
-
readonly MYR: "MYR";
|
|
18645
|
-
readonly MZN: "MZN";
|
|
18646
|
-
readonly NAD: "NAD";
|
|
18647
|
-
readonly NGN: "NGN";
|
|
18648
|
-
readonly NIO: "NIO";
|
|
18649
|
-
readonly NOK: "NOK";
|
|
18650
|
-
readonly NPR: "NPR";
|
|
18651
|
-
readonly NZD: "NZD";
|
|
18652
|
-
readonly PAB: "PAB";
|
|
18653
|
-
readonly PEN: "PEN";
|
|
18654
|
-
readonly PGK: "PGK";
|
|
18655
|
-
readonly PHP: "PHP";
|
|
18656
|
-
readonly PKR: "PKR";
|
|
18657
|
-
readonly PLN: "PLN";
|
|
18658
|
-
readonly PYG: "PYG";
|
|
18659
|
-
readonly QAR: "QAR";
|
|
18660
|
-
readonly RON: "RON";
|
|
18661
|
-
readonly RSD: "RSD";
|
|
18662
|
-
readonly RUB: "RUB";
|
|
18663
|
-
readonly RWF: "RWF";
|
|
18664
|
-
readonly SAR: "SAR";
|
|
18665
|
-
readonly SBD: "SBD";
|
|
18666
|
-
readonly SCR: "SCR";
|
|
18667
|
-
readonly SEK: "SEK";
|
|
18668
|
-
readonly SGD: "SGD";
|
|
18669
|
-
readonly SHP: "SHP";
|
|
18670
|
-
readonly SLE: "SLE";
|
|
18671
|
-
readonly SOS: "SOS";
|
|
18672
|
-
readonly SRD: "SRD";
|
|
18673
|
-
readonly STD: "STD";
|
|
18674
|
-
readonly SZL: "SZL";
|
|
18675
|
-
readonly THB: "THB";
|
|
18676
|
-
readonly TJS: "TJS";
|
|
18677
|
-
readonly TOP: "TOP";
|
|
18678
|
-
readonly TRYEscaped: "TRY";
|
|
18679
|
-
readonly TTD: "TTD";
|
|
18680
|
-
readonly TWD: "TWD";
|
|
18681
|
-
readonly TZS: "TZS";
|
|
18682
|
-
readonly UAH: "UAH";
|
|
18683
|
-
readonly UGX: "UGX";
|
|
18684
|
-
readonly UYU: "UYU";
|
|
18685
|
-
readonly UZS: "UZS";
|
|
18686
|
-
readonly VND: "VND";
|
|
18687
|
-
readonly VUV: "VUV";
|
|
18688
|
-
readonly WST: "WST";
|
|
18689
|
-
readonly XAF: "XAF";
|
|
18690
|
-
readonly XCD: "XCD";
|
|
18691
|
-
readonly XCG: "XCG";
|
|
18692
|
-
readonly XOF: "XOF";
|
|
18693
|
-
readonly XPF: "XPF";
|
|
18694
|
-
readonly YER: "YER";
|
|
18695
|
-
readonly ZAR: "ZAR";
|
|
18696
|
-
readonly ZMW: "ZMW";
|
|
18697
|
-
readonly BHD: "BHD";
|
|
18698
|
-
readonly KWD: "KWD";
|
|
18699
|
-
readonly OMR: "OMR";
|
|
18700
|
-
};
|
|
18701
18783
|
export declare const UpdateLineItemRequestSchemaMember1_billingSchemeObject: {
|
|
18702
18784
|
readonly Fixed: "fixed";
|
|
18703
18785
|
readonly Per_unit: "per_unit";
|
|
@@ -18718,10 +18800,6 @@ export declare const UpdateLineItemRequestSchemaMember2_intervalTypeObject: {
|
|
|
18718
18800
|
readonly One_off: "one_off";
|
|
18719
18801
|
readonly Recurring: "recurring";
|
|
18720
18802
|
};
|
|
18721
|
-
export declare const UpdateLineItemRequestSchemaMember2_tiersModeObject: {
|
|
18722
|
-
readonly Graduated: "graduated";
|
|
18723
|
-
readonly Volume: "volume";
|
|
18724
|
-
};
|
|
18725
18803
|
export declare const UpdateLineItemRequestSchemaMember3_billingSchemeObject: {
|
|
18726
18804
|
readonly Fixed: "fixed";
|
|
18727
18805
|
readonly Per_unit: "per_unit";
|
|
@@ -18732,10 +18810,6 @@ export declare const UpdateLineItemRequestSchemaMember3_intervalTypeObject: {
|
|
|
18732
18810
|
readonly One_off: "one_off";
|
|
18733
18811
|
readonly Recurring: "recurring";
|
|
18734
18812
|
};
|
|
18735
|
-
export declare const UpdateLineItemRequestSchemaMember3_tiersModeObject: {
|
|
18736
|
-
readonly Graduated: "graduated";
|
|
18737
|
-
readonly Volume: "volume";
|
|
18738
|
-
};
|
|
18739
18813
|
/**
|
|
18740
18814
|
* Controls whether to prefill the customer's saved card details at checkout. One of `none`, `always`, `choice`.
|
|
18741
18815
|
*/
|
|
@@ -18744,6 +18818,13 @@ export declare const UpdateProductRequestSchema_settings_cardPrefillPreferenceOb
|
|
|
18744
18818
|
readonly Always: "always";
|
|
18745
18819
|
readonly Choice: "choice";
|
|
18746
18820
|
};
|
|
18821
|
+
/**
|
|
18822
|
+
* The default for whether a card is required at checkout for plans under this product. Applies only when trial days are set on the plan or in the checkout. `always` sets the card to be required, `if_required` sets the checkout to be cardless.
|
|
18823
|
+
*/
|
|
18824
|
+
export declare const UpdateProductRequestSchema_settings_trialCardBehaviourObject: {
|
|
18825
|
+
readonly Always: "always";
|
|
18826
|
+
readonly If_required: "if_required";
|
|
18827
|
+
};
|
|
18747
18828
|
/**
|
|
18748
18829
|
* Controls how Stripe handles proration when items change mid-billing-period. Required for paid subscriptions; not applicable to Salable-only subscriptions. One of `always_invoice`, `create_prorations`, `none`.
|
|
18749
18830
|
*/
|