@wix/auto_sdk_subscription_subscriptions 1.0.42 → 1.0.44
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/build/cjs/index.d.ts +1 -1
- package/build/cjs/index.js +28 -2
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +224 -5
- package/build/cjs/index.typings.js +28 -2
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +224 -5
- package/build/cjs/meta.js +28 -2
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +25 -2
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +224 -5
- package/build/es/index.typings.mjs +25 -2
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +224 -5
- package/build/es/meta.mjs +25 -2
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +28 -2
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +233 -5
- package/build/internal/cjs/index.typings.js +28 -2
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +224 -5
- package/build/internal/cjs/meta.js +28 -2
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs +25 -2
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +233 -5
- package/build/internal/es/index.typings.mjs +25 -2
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +224 -5
- package/build/internal/es/meta.mjs +25 -2
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +4 -4
|
@@ -246,6 +246,15 @@ interface BillingSettings {
|
|
|
246
246
|
* Only set when the collection_method is EXTERNAL.
|
|
247
247
|
*/
|
|
248
248
|
externalCollectionDetails?: ExternalCollectionDetails;
|
|
249
|
+
/**
|
|
250
|
+
* Day of month (1-28) on which the first recurring billing date is anchored.
|
|
251
|
+
* Applies to monthly subscriptions only. Subsequent billing dates may shift
|
|
252
|
+
* if the subscription is modified (e.g. payment date update, pause/resume).
|
|
253
|
+
* @internal
|
|
254
|
+
* @min 1
|
|
255
|
+
* @max 28
|
|
256
|
+
*/
|
|
257
|
+
billingAnchorDay?: number | null;
|
|
249
258
|
}
|
|
250
259
|
interface PaymentMethod {
|
|
251
260
|
/**
|
|
@@ -3190,12 +3199,11 @@ interface AllowedActionsRequest {
|
|
|
3190
3199
|
fields?: RequestedFieldsWithLiterals[];
|
|
3191
3200
|
}
|
|
3192
3201
|
declare enum RequestedFields {
|
|
3193
|
-
UNKNOWN_REQUESTED_FIELD = "UNKNOWN_REQUESTED_FIELD",
|
|
3194
3202
|
/** Include unsupported action list, including the reasons for the lack of support */
|
|
3195
3203
|
UNSUPPORTED_ACTION = "UNSUPPORTED_ACTION"
|
|
3196
3204
|
}
|
|
3197
3205
|
/** @enumType */
|
|
3198
|
-
type RequestedFieldsWithLiterals = RequestedFields | '
|
|
3206
|
+
type RequestedFieldsWithLiterals = RequestedFields | 'UNSUPPORTED_ACTION';
|
|
3199
3207
|
interface AllowedActionsResponse {
|
|
3200
3208
|
/** List of actions that are allowed. */
|
|
3201
3209
|
actions?: Action[];
|
|
@@ -3743,7 +3751,6 @@ interface Refund {
|
|
|
3743
3751
|
description?: string | null;
|
|
3744
3752
|
}
|
|
3745
3753
|
declare enum RefundReason {
|
|
3746
|
-
UNKNOWN_REFUND_REASON = "UNKNOWN_REFUND_REASON",
|
|
3747
3754
|
DUPLICATE_CHARGE = "DUPLICATE_CHARGE",
|
|
3748
3755
|
FRAUDULENT = "FRAUDULENT",
|
|
3749
3756
|
CUSTOMER_REQUEST = "CUSTOMER_REQUEST",
|
|
@@ -3751,7 +3758,228 @@ declare enum RefundReason {
|
|
|
3751
3758
|
OTHER = "OTHER"
|
|
3752
3759
|
}
|
|
3753
3760
|
/** @enumType */
|
|
3754
|
-
type RefundReasonWithLiterals = RefundReason | '
|
|
3761
|
+
type RefundReasonWithLiterals = RefundReason | 'DUPLICATE_CHARGE' | 'FRAUDULENT' | 'CUSTOMER_REQUEST' | 'PROVISION_FAILED' | 'OTHER';
|
|
3762
|
+
interface ChangeSubscriptionRequest {
|
|
3763
|
+
/**
|
|
3764
|
+
* ID of the subscription to change
|
|
3765
|
+
* @format GUID
|
|
3766
|
+
*/
|
|
3767
|
+
subscriptionId?: string;
|
|
3768
|
+
/** New product ID. Set to change the subscription plan. */
|
|
3769
|
+
newProductId?: string | null;
|
|
3770
|
+
/** New billing cycle duration. Set to change the billing cycle (e.g., monthly to yearly). */
|
|
3771
|
+
newCycle?: Duration;
|
|
3772
|
+
/**
|
|
3773
|
+
* New quantity. Set to change the number of units (seats/licenses).
|
|
3774
|
+
* @min 1
|
|
3775
|
+
*/
|
|
3776
|
+
newQuantity?: number | null;
|
|
3777
|
+
/** When the change takes effect. */
|
|
3778
|
+
effectiveTime?: ChangeEffectiveTimeWithLiterals;
|
|
3779
|
+
/** How to handle proration for immediate changes. Ignored for AT_NEXT_RENEWAL. */
|
|
3780
|
+
prorationBehavior?: ProrationBehaviorWithLiterals;
|
|
3781
|
+
/** Payment context for immediate changes without checkout flow. */
|
|
3782
|
+
paymentContext?: ChangePaymentContext;
|
|
3783
|
+
}
|
|
3784
|
+
declare enum ChangeEffectiveTime {
|
|
3785
|
+
UNKNOWN = "UNKNOWN",
|
|
3786
|
+
/** Apply change immediately with proration */
|
|
3787
|
+
IMMEDIATELY = "IMMEDIATELY",
|
|
3788
|
+
/** Schedule change for the next billing cycle */
|
|
3789
|
+
AT_NEXT_RENEWAL = "AT_NEXT_RENEWAL"
|
|
3790
|
+
}
|
|
3791
|
+
/** @enumType */
|
|
3792
|
+
type ChangeEffectiveTimeWithLiterals = ChangeEffectiveTime | 'UNKNOWN' | 'IMMEDIATELY' | 'AT_NEXT_RENEWAL';
|
|
3793
|
+
declare enum ProrationBehavior {
|
|
3794
|
+
UNKNOWN = "UNKNOWN",
|
|
3795
|
+
/** Credit unused time + charge new prorated price (default for upgrades) */
|
|
3796
|
+
PRORATE_AND_CHARGE = "PRORATE_AND_CHARGE",
|
|
3797
|
+
/** Credit unused time + refund to payment method (downgrades) */
|
|
3798
|
+
PRORATE_AND_REFUND = "PRORATE_AND_REFUND",
|
|
3799
|
+
/** Convert unused value to extra days, no financial transaction */
|
|
3800
|
+
PRORATE_AND_EXTEND = "PRORATE_AND_EXTEND",
|
|
3801
|
+
/** Immediate switch with no financial adjustment */
|
|
3802
|
+
NO_PRORATION = "NO_PRORATION"
|
|
3803
|
+
}
|
|
3804
|
+
/** @enumType */
|
|
3805
|
+
type ProrationBehaviorWithLiterals = ProrationBehavior | 'UNKNOWN' | 'PRORATE_AND_CHARGE' | 'PRORATE_AND_REFUND' | 'PRORATE_AND_EXTEND' | 'NO_PRORATION';
|
|
3806
|
+
/** Payment context for immediate subscription changes without the checkout flow. */
|
|
3807
|
+
interface ChangePaymentContext {
|
|
3808
|
+
/** Payment settings override for this change */
|
|
3809
|
+
paymentSettings?: PaymentSettings;
|
|
3810
|
+
}
|
|
3811
|
+
interface ChangeSubscriptionResponse {
|
|
3812
|
+
/** Updated subscription */
|
|
3813
|
+
subscription?: Subscription;
|
|
3814
|
+
/** Proration calculation result. Present for immediate changes with proration. */
|
|
3815
|
+
prorationResult?: ProrationResult;
|
|
3816
|
+
/**
|
|
3817
|
+
* ID of the adjustment invoice created for the proration charge or refund.
|
|
3818
|
+
* @format GUID
|
|
3819
|
+
*/
|
|
3820
|
+
adjustmentInvoiceId?: string | null;
|
|
3821
|
+
}
|
|
3822
|
+
/** Result of a proration calculation applied during a subscription change. */
|
|
3823
|
+
interface ProrationResult {
|
|
3824
|
+
/**
|
|
3825
|
+
* Credit amount for unused time on the current plan
|
|
3826
|
+
* @format DECIMAL_VALUE
|
|
3827
|
+
*/
|
|
3828
|
+
creditAmount?: string;
|
|
3829
|
+
/**
|
|
3830
|
+
* Charge amount for the new plan's prorated price
|
|
3831
|
+
* @format DECIMAL_VALUE
|
|
3832
|
+
*/
|
|
3833
|
+
chargeAmount?: string;
|
|
3834
|
+
/**
|
|
3835
|
+
* Net amount (charge minus credit). Positive means customer pays, negative means refund.
|
|
3836
|
+
* @format DECIMAL_VALUE
|
|
3837
|
+
*/
|
|
3838
|
+
netAmount?: string;
|
|
3839
|
+
/** Date when the proration was calculated */
|
|
3840
|
+
prorationDate?: Date | null;
|
|
3841
|
+
/** Remaining seconds in the current billing period at time of change */
|
|
3842
|
+
remainingSeconds?: string;
|
|
3843
|
+
/** Total seconds in the current billing cycle */
|
|
3844
|
+
totalCycleSeconds?: string;
|
|
3845
|
+
}
|
|
3846
|
+
interface PreviewChangeSubscriptionRequest {
|
|
3847
|
+
/**
|
|
3848
|
+
* ID of the subscription to preview the change for
|
|
3849
|
+
* @format GUID
|
|
3850
|
+
*/
|
|
3851
|
+
subscriptionId?: string;
|
|
3852
|
+
/** New product ID. Set to preview a plan change. */
|
|
3853
|
+
newProductId?: string | null;
|
|
3854
|
+
/** New billing cycle duration. Set to preview a cycle change. */
|
|
3855
|
+
newCycle?: Duration;
|
|
3856
|
+
/**
|
|
3857
|
+
* New quantity. Set to preview a quantity change.
|
|
3858
|
+
* @min 1
|
|
3859
|
+
*/
|
|
3860
|
+
newQuantity?: number | null;
|
|
3861
|
+
/** When the change would take effect. */
|
|
3862
|
+
effectiveTime?: ChangeEffectiveTimeWithLiterals;
|
|
3863
|
+
/** How proration would be handled for immediate changes. */
|
|
3864
|
+
prorationBehavior?: ProrationBehaviorWithLiterals;
|
|
3865
|
+
}
|
|
3866
|
+
interface PreviewChangeSubscriptionResponse {
|
|
3867
|
+
/** Summary of the current subscription state */
|
|
3868
|
+
current?: SubscriptionChangeSummary;
|
|
3869
|
+
/** Summary of the proposed subscription state after the change */
|
|
3870
|
+
proposed?: SubscriptionChangeSummary;
|
|
3871
|
+
/** Proration preview details. Present only for immediate changes. */
|
|
3872
|
+
proration?: ProrationPreview;
|
|
3873
|
+
/** Renewal preview. Present only for changes at next renewal. */
|
|
3874
|
+
renewalPreview?: RenewalPreview;
|
|
3875
|
+
}
|
|
3876
|
+
/** Summary of a subscription's state, used in change previews. */
|
|
3877
|
+
interface SubscriptionChangeSummary {
|
|
3878
|
+
/** Product ID */
|
|
3879
|
+
productId?: string;
|
|
3880
|
+
/** Product name */
|
|
3881
|
+
productName?: string;
|
|
3882
|
+
/** Billing cycle duration */
|
|
3883
|
+
cycle?: Duration;
|
|
3884
|
+
/** Number of units */
|
|
3885
|
+
quantity?: number;
|
|
3886
|
+
/**
|
|
3887
|
+
* Price per unit
|
|
3888
|
+
* @format DECIMAL_VALUE
|
|
3889
|
+
*/
|
|
3890
|
+
pricePerUnit?: string;
|
|
3891
|
+
/**
|
|
3892
|
+
* Total price (price_per_unit * quantity)
|
|
3893
|
+
* @format DECIMAL_VALUE
|
|
3894
|
+
*/
|
|
3895
|
+
totalPrice?: string;
|
|
3896
|
+
/**
|
|
3897
|
+
* Currency code (ISO 4217)
|
|
3898
|
+
* @format CURRENCY
|
|
3899
|
+
*/
|
|
3900
|
+
currency?: string;
|
|
3901
|
+
/** Current billing period start */
|
|
3902
|
+
periodStart?: Date | null;
|
|
3903
|
+
/** Current billing period end */
|
|
3904
|
+
periodEnd?: Date | null;
|
|
3905
|
+
}
|
|
3906
|
+
/** Preview of proration amounts for a proposed subscription change. */
|
|
3907
|
+
interface ProrationPreview {
|
|
3908
|
+
/**
|
|
3909
|
+
* Credit amount for unused time on the current plan
|
|
3910
|
+
* @format DECIMAL_VALUE
|
|
3911
|
+
*/
|
|
3912
|
+
creditAmount?: string;
|
|
3913
|
+
/**
|
|
3914
|
+
* Charge amount for the new plan's prorated price
|
|
3915
|
+
* @format DECIMAL_VALUE
|
|
3916
|
+
*/
|
|
3917
|
+
chargeAmount?: string;
|
|
3918
|
+
/**
|
|
3919
|
+
* Net amount (charge minus credit)
|
|
3920
|
+
* @format DECIMAL_VALUE
|
|
3921
|
+
*/
|
|
3922
|
+
netAmount?: string;
|
|
3923
|
+
/**
|
|
3924
|
+
* Tax amount on the net proration
|
|
3925
|
+
* @format DECIMAL_VALUE
|
|
3926
|
+
*/
|
|
3927
|
+
taxAmount?: string;
|
|
3928
|
+
/**
|
|
3929
|
+
* Total amount including tax
|
|
3930
|
+
* @format DECIMAL_VALUE
|
|
3931
|
+
*/
|
|
3932
|
+
totalAmount?: string;
|
|
3933
|
+
/** Remaining seconds in the current billing period */
|
|
3934
|
+
remainingSeconds?: string;
|
|
3935
|
+
/** Total seconds in the current billing cycle */
|
|
3936
|
+
totalCycleSeconds?: string;
|
|
3937
|
+
/** New period end date. Present when proration_behavior is PRORATE_AND_EXTEND. */
|
|
3938
|
+
newPeriodEnd?: Date | null;
|
|
3939
|
+
/** Number of days added to the billing period. Present when proration_behavior is PRORATE_AND_EXTEND. */
|
|
3940
|
+
daysAdded?: number;
|
|
3941
|
+
/** The proration action that would be taken */
|
|
3942
|
+
action?: ProrationActionWithLiterals;
|
|
3943
|
+
}
|
|
3944
|
+
declare enum ProrationAction {
|
|
3945
|
+
UNKNOWN = "UNKNOWN",
|
|
3946
|
+
/** Net charge to customer */
|
|
3947
|
+
CHARGE = "CHARGE",
|
|
3948
|
+
/** Net refund to customer */
|
|
3949
|
+
REFUND = "REFUND",
|
|
3950
|
+
/** Extend billing period instead of refund */
|
|
3951
|
+
EXTEND_PERIOD = "EXTEND_PERIOD",
|
|
3952
|
+
/** No financial change needed */
|
|
3953
|
+
NO_CHANGE = "NO_CHANGE"
|
|
3954
|
+
}
|
|
3955
|
+
/** @enumType */
|
|
3956
|
+
type ProrationActionWithLiterals = ProrationAction | 'UNKNOWN' | 'CHARGE' | 'REFUND' | 'EXTEND_PERIOD' | 'NO_CHANGE';
|
|
3957
|
+
/** Preview of what the next renewal will look like after a change. */
|
|
3958
|
+
interface RenewalPreview {
|
|
3959
|
+
/**
|
|
3960
|
+
* New price per unit at next renewal
|
|
3961
|
+
* @format DECIMAL_VALUE
|
|
3962
|
+
*/
|
|
3963
|
+
newPrice?: string;
|
|
3964
|
+
/**
|
|
3965
|
+
* New total at next renewal (price * quantity)
|
|
3966
|
+
* @format DECIMAL_VALUE
|
|
3967
|
+
*/
|
|
3968
|
+
newTotal?: string;
|
|
3969
|
+
/** Date of the next renewal */
|
|
3970
|
+
nextRenewalDate?: Date | null;
|
|
3971
|
+
}
|
|
3972
|
+
interface CancelPendingChangeRequest {
|
|
3973
|
+
/**
|
|
3974
|
+
* ID of the subscription to cancel the pending change for
|
|
3975
|
+
* @format GUID
|
|
3976
|
+
*/
|
|
3977
|
+
subscriptionId?: string;
|
|
3978
|
+
}
|
|
3979
|
+
interface CancelPendingChangeResponse {
|
|
3980
|
+
/** Updated subscription with cleared pending data */
|
|
3981
|
+
subscription?: Subscription;
|
|
3982
|
+
}
|
|
3755
3983
|
interface Task {
|
|
3756
3984
|
key?: TaskKey;
|
|
3757
3985
|
executeAt?: Date | null;
|
|
@@ -5471,4 +5699,4 @@ interface ListSubscriptionHistoryOptions {
|
|
|
5471
5699
|
cursor?: CursorPaging;
|
|
5472
5700
|
}
|
|
5473
5701
|
|
|
5474
|
-
export { type AbsorbFeeConfig, type AbsorbFeeConfigValueOneOf, type AccountInfo, type AccountInfoMetadata, type Action, type ActionContext, type ActionDetails, type ActionEvent, ActionInitiator, type ActionInitiatorWithLiterals, ActionType, type ActionTypeWithLiterals, type AddPausePeriodRequest, type AddPausePeriodResponse, type AdditionalFee, AdditionalFeeTrigger, type AdditionalFeeTriggerWithLiterals, type Address, type AddressStreetOneOf, type AggregatedTaxBreakdown, type AllowedActionsOptions, type AllowedActionsRequest, type AllowedActionsResponse, type AmountByStatus, type ApplicationFee, type ApplicationFeeValueOneOf, type AttachInvoice, type AutomaticRetryData, type BaseEventMetadata, type BassToSapiPaypalMigrationRequest, type BassToSapiPaypalMigrationResponse, type BillingSettings, type BillingStatus, type BulkItemChange, type BulkUpdateSubscriptionItemsByFilterRequest, type BulkUpdateSubscriptionItemsByFilterResponse, type BusinessOrigin, type BusinessOriginData, type Cancel, type CancelActionConfiguration, type CancelActionSettings, type CancelSubscriptionApplicationErrors, type CancelSubscriptionBORequest, type CancelSubscriptionBOResponse, type CancelSubscriptionRequest, type CancelSubscriptionResponse, type CancelTimeCapsuleTaskRequest, type CancellationInfo, CancellationInitiator, type CancellationInitiatorWithLiterals, type CatalogReference, type Charge, CollectionMethod, CollectionMethodEnumCollectionMethod, type CollectionMethodEnumCollectionMethodWithLiterals, type CollectionMethodWithLiterals, type Complete, type ConvertSapiRequest, type ConvertSapiResponse, type CountByStatus, type CountSubscriptionFilter, type CountSubscriptionFilterStatusOneOf, type CountSubscriptionsOptions, type CountSubscriptionsRequest, type CountSubscriptionsResponse, type CreateRecurringInvoiceBORequest, type CreateRecurringInvoiceBOResponse, type CreateSubscriptionForOrderRequest, type CreateSubscriptionForOrderResponse, type CreateSubscriptionInStateRequest, type CreateSubscriptionInStateRequestModeOneOf, type CreateSubscriptionInStateResponse, type CreateSubscriptionRequest, type CreateSubscriptionResponse, CreationMode, type CreationModeWithLiterals, type CursorPaging, type CursorPagingMetadata, type Cursors, type CustomBillingSchedule, type CustomProration, type CustomProrationAmountOneOf, type Customer, type CustomerAction, type CustomerActionConfigurationOneOf, type CustomerActionSettings, type CustomerAllowedActionsRequest, type CustomerAllowedActionsResponse, type CustomerCancelConfiguration, type CustomerCancelScheduledPauseApplicationErrors, type CustomerCancelScheduledPauseOptions, type CustomerCancelScheduledPauseRequest, type CustomerCancelScheduledPauseResponse, type CustomerCancelScheduledSkipApplicationErrors, type CustomerCancelScheduledSkipOptions, type CustomerCancelScheduledSkipRequest, type CustomerCancelScheduledSkipResponse, type CustomerCancelSubscriptionApplicationErrors, type CustomerCancelSubscriptionOptions, type CustomerCancelSubscriptionRequest, type CustomerCancelSubscriptionResponse, type CustomerExtendSubscriptionApplicationErrors, type CustomerExtendSubscriptionOptions, type CustomerExtendSubscriptionRequest, type CustomerExtendSubscriptionResponse, type CustomerIdOneOf, type CustomerInitiatePaymentMethodSetupOptions, type CustomerListUpcomingChargesRequest, type CustomerListUpcomingChargesResponse, type CustomerPauseResumeConfiguration, type CustomerPauseSubscriptionApplicationErrors, type CustomerPauseSubscriptionOptions, type CustomerPauseSubscriptionRequest, type CustomerPauseSubscriptionResponse, type CustomerQuerySubscriptionsOptions, type CustomerResumeSubscriptionApplicationErrors, type CustomerResumeSubscriptionOptions, type CustomerResumeSubscriptionRequest, type CustomerResumeSubscriptionResponse, type CustomerSkipConfiguration, type CustomerSkipCycleApplicationErrors, type CustomerSkipCycleOptions, type CustomerSkipCycleRequest, type CustomerSkipCycleResponse, type CustomerTurnOffAutoRenewalRequest, type CustomerTurnOffAutoRenewalResponse, type CustomerTurnOffSubscriptionAutoRenewalApplicationErrors, type CustomerTurnOffSubscriptionAutoRenewalOptions, type CustomerTurnOnAutoRenewalRequest, type CustomerTurnOnAutoRenewalResponse, type CustomerTurnOnSubscriptionAutoRenewalApplicationErrors, type CustomerTurnOnSubscriptionAutoRenewalOptions, type CustomerUpdateBillingDateApplicationErrors, type CustomerUpdateBillingDateConfiguration, type CustomerUpdateBillingDateOptions, type CustomerUpdateBillingDateRequest, type CustomerUpdateBillingDateResponse, type Cycles, type DeleteDraftSubscriptionRequest, type DeleteDraftSubscriptionResponse, type DeleteSubscriptionBORequest, type DeleteSubscriptionBOResponse, type DeleteSubscriptionRequest, type DeleteSubscriptionResponse, type DetachInvoice, type Discount, type DiscountCycles, type DiscountOrigin, type DiscountValueOneOf, type DomainEvent, type DomainEventBodyOneOf, type Duration, DurationUnit, type DurationUnitWithLiterals, type DynamicTax, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, ExtendPolicyType, type ExtendPolicyTypeWithLiterals, type ExtendSubscriptionApplicationErrors, type ExtendSubscriptionOptions, type ExtendSubscriptionOptionsExtendPolicyOneOf, type ExtendSubscriptionRequest, type ExtendSubscriptionRequestExtendPolicyOneOf, type ExtendSubscriptionResponse, type ExternalCollectionDetails, type ExternalPrice, type ExternalPriceConfig, type FinishFreeTrialNowRequest, type FinishFreeTrialNowResponse, type FixSubscriptionInvoicesConsistencyRequest, type FixSubscriptionInvoicesConsistencyResponse, type FixSubscriptionInvoicesRequest, type FixSubscriptionInvoicesRequestModeOneOf, type FixSubscriptionInvoicesResponse, type FixSubscriptionTimeCapsuleTasksRequest, type FixSubscriptionTimeCapsuleTasksResponse, type FixedAmountFee, type FixedPrice, type FixedPriceConfig, type FreeTrailEnded, type FreeTrailStarted, type FreeTrialData, type FullAddressContactDetails, type FullAddressDetails, type FuturePriceUpdatesRequested, type FutureUpdatesRequested, type GetFullSubscriptionDataRequest, type GetFullSubscriptionDataResponse, type GetSubscriptionAndInternalDataRequest, type GetSubscriptionAndInternalDataResponse, type GetSubscriptionInvoicesRequest, type GetSubscriptionInvoicesResponse, type GetSubscriptionRequest, type GetSubscriptionResponse, type GetSubscriptionsStatsRequest, type GetSubscriptionsStatsResponse, type GracePeriodData, type GracePeriodEnded, type GracePeriodStarted, type HandleSubscriptionAfterInvoiceMarkedAsPaidRequest, HistoryActionInitiator, type HistoryActionInitiatorWithLiterals, HistoryViewMode, type HistoryViewModeWithLiterals, type IdentificationData, type IdentificationDataIdOneOf, IdentityType, type IdentityTypeWithLiterals, type InitiatePaymentMethodSetupOptions, type InitiatePaymentMethodSetupRequest, type InitiatePaymentMethodSetupResponse, type InitiatedPaymentMethodSetup, type InternalSubscriptionData, type Invoice, type InvoiceAction, type InvoiceActionActionTypeOneOf, type InvoiceApplicationFee, type InvoiceApplicationFeeValueOneOf, type InvoiceDiscount, type InvoiceDiscountValueOneOf, type InvoiceItem, type InvoiceItemPaymentTypeOneOf, type InvoiceItemPricingModelOneOf, type InvoicePlatformFee, type InvoicePlatformFeeFeeModelOneOf, type InvoiceShippingCharges, InvoiceStatus, type InvoiceStatusWithLiterals, type Item, ItemCategory, type ItemCategoryWithLiterals, type ItemChange, type ItemTaxData, type LatestInvoiceMarkedAsPaid, type LatestPaymentAttempt, type LineItemTaxSummary, type ListSubscriptionHistoryOptions, type ListSubscriptionHistoryRequest, type ListSubscriptionHistoryResponse, type ListUpcomingChargesOptions, type ListUpcomingChargesRequest, type ListUpcomingChargesResponse, type MarkBillingCycleAsPaidApplicationErrors, type MarkBillingCycleAsPaidOptions, type MarkBillingCycleAsPaidRequest, type MarkBillingCycleAsPaidResponse, type MarkLatestInvoiceAsPaidApplicationErrors, type MarkLatestInvoiceAsPaidRequest, type MarkLatestInvoiceAsPaidResponse, type MessageEnvelope, type MigrationDetails, type Money, type MultipleSubscriptionsOnOrdersInvoice, type OneTime, OrderMethod, type OrderMethodWithLiterals, type Origin, type OriginOverride, type Paging, type PagingMetadataV2, type PassOnFeeConfig, type PassOnFeeConfigValueOneOf, type PatchSubscriptionRequest, type PatchSubscriptionResponse, PauseAt, type PauseAtWithLiterals, type PauseInfo, type PausePeriod, PausePolicy, type PausePolicyWithLiterals, type PauseResumeActionConfiguration, type PauseResumeActionSettings, type PauseSubscriptionApplicationErrors, type PauseSubscriptionBORequest, type PauseSubscriptionBOResponse, type PauseSubscriptionOptions, type PauseSubscriptionRequest, type PauseSubscriptionRequested, type PauseSubscriptionResponse, type PayCycleOptions, type PayCycleRequest, type PayCycleResponse, type PayRecurringInvoice, PaymentAttemptStatus, type PaymentAttemptStatusWithLiterals, type PaymentData, type PaymentMethod, type PaymentMethodUpdated, PaymentMode, type PaymentModeWithLiterals, type PaymentOrigin, type PaymentSettings, PaymentSettlementMethod, type PaymentSettlementMethodWithLiterals, PaymentStatus, PaymentStatusEnumPaymentStatus, type PaymentStatusEnumPaymentStatusWithLiterals, type PaymentStatusWithLiterals, type PaymentTaxData, PaymentTestMode, type PaymentTestModeWithLiterals, type PercentageFee, type PlatformOrigin, type PreviewSubscriptionChargesOptions, type PreviewSubscriptionChargesOptionsSubscriptionOneOf, type PreviewSubscriptionChargesRequest, type PreviewSubscriptionChargesRequestSubscriptionOneOf, type PreviewSubscriptionChargesResponse, type PreviewSubscriptionsChargesOptions, type PreviewSubscriptionsChargesRequest, type PreviewSubscriptionsChargesResponse, type PriceAdjustment, type PriceAdjustmentAdjustmentTypeOneOf, PriceAdjustmentReason, type PriceAdjustmentReasonWithLiterals, type PriceAdjustmentValue, type PriceAdjustmentValueAdjustmentValueTypeOneOf, type PriceDetails, type PricingModel, type PricingModelModelOneOf, type Proration, type ProrationTypeOneOf, type QuerySubscriptionsRequest, type QuerySubscriptionsResponse, type QueryV2, type QueryV2PagingMethodOneOf, type Recurring, type RedirectUrls, type Refund, type RefundInfo, RefundReason, type RefundReasonWithLiterals, type RemoveCancellationInfoRequest, type RemoveCancellationInfoResponse, RequestedFields, type RequestedFieldsWithLiterals, type Reschedule, type ResetPendingUpdates, type RestoreDraftSubscriptionRequest, type RestoreDraftSubscriptionResponse, type RestoreInfo, ResumeAt, type ResumeAtWithLiterals, type ResumeSubscriptionApplicationErrors, type ResumeSubscriptionOptions, type ResumeSubscriptionRequest, type ResumeSubscriptionRequested, type ResumeSubscriptionResponse, type ReviseSubscriptionOptions, type ReviseSubscriptionRequest, type ReviseSubscriptionResponse, RevivePolicy, type RevivePolicyWithLiterals, type ReviveSubscriptionRequest, type ReviveSubscriptionResponse, type RunTimeCapsuleTaskNowRequest, type ScheduleAdditionalInfo, type ScheduleAdditionalInfoParamOneOf, type ScheduleTimeCapsuleTaskRequest, type ScheduledPauseCanceled, type ScheduledResumeCanceled, type SearchSubscriptionRequest, type SearchSubscriptionResponse, type SearchSubscriptionsOptions, type SearchSubscriptionsOptionsPagingMethodOneOf, type SearchSubscriptionsRequest, type SearchSubscriptionsRequestPagingMethodOneOf, type SearchSubscriptionsResponse, type SendSubscriptionActionEventBORequest, type SendSubscriptionActionEventBORequestEventOneOf, type SendSubscriptionActionEventResponse, type SendTimeCapsuleTaskCanceledBIRequest, type SetIsMigratedEvent, type SetShiftingDataRequest, type SetShiftingDataResponse, type ShippingCharges, type SkipActionConfiguration, type SkipActionSettings, SortOrder, type SortOrderWithLiterals, type Sorting, type SortingClauses, type SpecificDateSubscriptionUpdateData, Status, type StatusWithLiterals, type StreetAddress, type Subscriber, type Subscription, type SubscriptionActivated, type SubscriptionAutoRenewalTurnedOff, type SubscriptionAutoRenewalTurnedOffEnvelope, type SubscriptionAutoRenewalTurnedOn, type SubscriptionAutoRenewalTurnedOnEnvelope, type SubscriptionBackOfficeAction, type SubscriptionBillingCyclePaid, type SubscriptionBillingCycleStarted, type SubscriptionBillingDateUpdated, type SubscriptionBillingDateUpdatedEnvelope, type SubscriptionBillingDetails, type SubscriptionCanceled, type SubscriptionCanceledEnvelope, type SubscriptionCancellationRequested, type SubscriptionCharge, type SubscriptionCharges, type SubscriptionCollectionMethodUpdated, type SubscriptionCreated, type SubscriptionCycleReadyToPay, type SubscriptionCycleTriggered, type SubscriptionDelayedSyncEvent, type SubscriptionDeleted, type SubscriptionDiff, type SubscriptionEnded, type SubscriptionEvent, type SubscriptionEventPayloadOneOf, type SubscriptionExpired, type SubscriptionExtended, type SubscriptionExtendedEnvelope, type SubscriptionExtendedExtendPolicyOneOf, SubscriptionFrequency, type SubscriptionFrequencyWithLiterals, type SubscriptionHistoryEntry, type SubscriptionInfo, type SubscriptionInitialPurchaseCompleted, type SubscriptionInvoice, type SubscriptionLatestInvoiceMarkedAsPaidEnvelope, type SubscriptionMarkedAsPaid, type SubscriptionPauseScheduleCanceledEnvelope, type SubscriptionPauseScheduledEnvelope, type SubscriptionPaused, type SubscriptionPausedEnvelope, type SubscriptionPolicies, type SubscriptionPolicy, type SubscriptionResumeScheduleCanceledEnvelope, type SubscriptionResumeScheduledEnvelope, type SubscriptionResumed, type SubscriptionResumedEnvelope, type SubscriptionRevived, type SubscriptionStatus, SubscriptionStatusEnumSubscriptionStatus, type SubscriptionStatusEnumSubscriptionStatusWithLiterals, SubscriptionStatusGroup, type SubscriptionStatusGroupWithLiterals, type SubscriptionSuspended, type SubscriptionTrialPeriod, SubscriptionType, type SubscriptionTypeWithLiterals, type SubscriptionUpdateData, type SubscriptionUpdated, type SubscriptionUpdatedEnvelope, type Suspension, type Task, type TaskAction, type TaskActionActionOneOf, type TaskKey, type Tax, type TaxBreakdown, type TaxData, type TaxSettings, type TaxSummary, type TaxValueOneOf, TaxableAddressType, type TaxableAddressTypeWithLiterals, type TimeBasedProration, type Totals, type TurnOffSubscriptionAutoRenewalApplicationErrors, type TurnOffSubscriptionAutoRenewalRequest, type TurnOffSubscriptionAutoRenewalResponse, type TurnOnSubscriptionAutoRenewalApplicationErrors, type TurnOnSubscriptionAutoRenewalRequest, type TurnOnSubscriptionAutoRenewalResponse, type UnknownSubscriptionEvent, type UnsupportedAction, type UnsupportedReason, UpdateAction, type UpdateActionWithLiterals, type UpdateBillingDateActionConfiguration, type UpdateBillingDateActionSettings, type UpdateBillingDateData, type UpdateFullSubscriptionRequest, type UpdateFullSubscriptionResponse, type UpdatePausePaidDurationRequest, type UpdatePausePaidDurationResponse, type UpdatePaymentMethodBORequest, type UpdatePaymentMethodBOResponse, type UpdatePaymentStatusRequest, type UpdatePaymentStatusResponse, type UpdateStatusRequest, type UpdateStatusResponse, type UpdateSubscriptionBillingDateApplicationErrors, type UpdateSubscriptionBillingDateOptions, type UpdateSubscriptionBillingDateRequest, type UpdateSubscriptionBillingDateResponse, type UpdateSubscriptionCurrencyRequest, type UpdateSubscriptionCurrencyResponse, type UpdateSubscriptionInvoiceCycleRequest, type UpdateSubscriptionInvoiceCycleResponse, type UpdateSubscriptionItemsRequest, type UpdateSubscriptionItemsResponse, type UpdateSubscriptionOriginRequest, type UpdateSubscriptionOriginResponse, type UpdateSubscriptionPaymentMethodRequest, type UpdateSubscriptionPaymentMethodResponse, type UpdateSubscriptionPlatformOriginRequest, type UpdateSubscriptionPlatformOriginResponse, type UpdateSubscriptionPoliciesRequest, type UpdateSubscriptionPoliciesResponse, type UpdateSubscriptionRequest, type UpdateSubscriptionResponse, type UpdateSubscriptionStartDateRequest, type UpdateSubscriptionStartDateResponse, type UpdatesApplied, type UpmActionSettings, type V1Duration, type V1Subscription, type V1SubscriptionActivated, type V1SubscriptionCanceled, type V1SubscriptionCreated, type V1SubscriptionEvent, type V1SubscriptionEventEventOneOf, type V1SubscriptionInitialPurchaseCompleted, type V1SubscriptionResumed, V1SubscriptionStatusEnumSubscriptionStatus, type V1SubscriptionStatusEnumSubscriptionStatusWithLiterals, type V1SubscriptionUpdated, type V2Subscription, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, allowedActions, cancelSubscription, countSubscriptions, customerAllowedActions, customerCancelScheduledPause, customerCancelScheduledSkip, customerCancelSubscription, customerExtendSubscription, customerGetSubscription, customerInitiatePaymentMethodSetup, customerListUpcomingCharges, customerPauseSubscription, customerQuerySubscriptions, customerResumeSubscription, customerSkipCycle, customerTurnOffSubscriptionAutoRenewal, customerTurnOnSubscriptionAutoRenewal, customerUpdateBillingDate, customerUpdateSubscriptionPaymentMethod, extendSubscription, getSubscription, getSubscriptionsStats, initiatePaymentMethodSetup, listSubscriptionHistory, listUpcomingCharges, markBillingCycleAsPaid, markLatestInvoiceAsPaid, onSubscriptionAutoRenewalTurnedOff, onSubscriptionAutoRenewalTurnedOn, onSubscriptionBillingDateUpdated, onSubscriptionCanceled, onSubscriptionExtended, onSubscriptionLatestInvoiceMarkedAsPaid, onSubscriptionPauseScheduleCanceled, onSubscriptionPauseScheduled, onSubscriptionPaused, onSubscriptionResumeScheduleCanceled, onSubscriptionResumeScheduled, onSubscriptionResumed, onSubscriptionUpdated, pauseSubscription, payCycle, previewSubscriptionCharges, previewSubscriptionsCharges, querySubscriptions, resumeSubscription, reviseSubscription, searchSubscriptions, turnOffSubscriptionAutoRenewal, turnOnSubscriptionAutoRenewal, updateSubscriptionBillingDate, updateSubscriptionPaymentMethod };
|
|
5702
|
+
export { type AbsorbFeeConfig, type AbsorbFeeConfigValueOneOf, type AccountInfo, type AccountInfoMetadata, type Action, type ActionContext, type ActionDetails, type ActionEvent, ActionInitiator, type ActionInitiatorWithLiterals, ActionType, type ActionTypeWithLiterals, type AddPausePeriodRequest, type AddPausePeriodResponse, type AdditionalFee, AdditionalFeeTrigger, type AdditionalFeeTriggerWithLiterals, type Address, type AddressStreetOneOf, type AggregatedTaxBreakdown, type AllowedActionsOptions, type AllowedActionsRequest, type AllowedActionsResponse, type AmountByStatus, type ApplicationFee, type ApplicationFeeValueOneOf, type AttachInvoice, type AutomaticRetryData, type BaseEventMetadata, type BassToSapiPaypalMigrationRequest, type BassToSapiPaypalMigrationResponse, type BillingSettings, type BillingStatus, type BulkItemChange, type BulkUpdateSubscriptionItemsByFilterRequest, type BulkUpdateSubscriptionItemsByFilterResponse, type BusinessOrigin, type BusinessOriginData, type Cancel, type CancelActionConfiguration, type CancelActionSettings, type CancelPendingChangeRequest, type CancelPendingChangeResponse, type CancelSubscriptionApplicationErrors, type CancelSubscriptionBORequest, type CancelSubscriptionBOResponse, type CancelSubscriptionRequest, type CancelSubscriptionResponse, type CancelTimeCapsuleTaskRequest, type CancellationInfo, CancellationInitiator, type CancellationInitiatorWithLiterals, type CatalogReference, ChangeEffectiveTime, type ChangeEffectiveTimeWithLiterals, type ChangePaymentContext, type ChangeSubscriptionRequest, type ChangeSubscriptionResponse, type Charge, CollectionMethod, CollectionMethodEnumCollectionMethod, type CollectionMethodEnumCollectionMethodWithLiterals, type CollectionMethodWithLiterals, type Complete, type ConvertSapiRequest, type ConvertSapiResponse, type CountByStatus, type CountSubscriptionFilter, type CountSubscriptionFilterStatusOneOf, type CountSubscriptionsOptions, type CountSubscriptionsRequest, type CountSubscriptionsResponse, type CreateRecurringInvoiceBORequest, type CreateRecurringInvoiceBOResponse, type CreateSubscriptionForOrderRequest, type CreateSubscriptionForOrderResponse, type CreateSubscriptionInStateRequest, type CreateSubscriptionInStateRequestModeOneOf, type CreateSubscriptionInStateResponse, type CreateSubscriptionRequest, type CreateSubscriptionResponse, CreationMode, type CreationModeWithLiterals, type CursorPaging, type CursorPagingMetadata, type Cursors, type CustomBillingSchedule, type CustomProration, type CustomProrationAmountOneOf, type Customer, type CustomerAction, type CustomerActionConfigurationOneOf, type CustomerActionSettings, type CustomerAllowedActionsRequest, type CustomerAllowedActionsResponse, type CustomerCancelConfiguration, type CustomerCancelScheduledPauseApplicationErrors, type CustomerCancelScheduledPauseOptions, type CustomerCancelScheduledPauseRequest, type CustomerCancelScheduledPauseResponse, type CustomerCancelScheduledSkipApplicationErrors, type CustomerCancelScheduledSkipOptions, type CustomerCancelScheduledSkipRequest, type CustomerCancelScheduledSkipResponse, type CustomerCancelSubscriptionApplicationErrors, type CustomerCancelSubscriptionOptions, type CustomerCancelSubscriptionRequest, type CustomerCancelSubscriptionResponse, type CustomerExtendSubscriptionApplicationErrors, type CustomerExtendSubscriptionOptions, type CustomerExtendSubscriptionRequest, type CustomerExtendSubscriptionResponse, type CustomerIdOneOf, type CustomerInitiatePaymentMethodSetupOptions, type CustomerListUpcomingChargesRequest, type CustomerListUpcomingChargesResponse, type CustomerPauseResumeConfiguration, type CustomerPauseSubscriptionApplicationErrors, type CustomerPauseSubscriptionOptions, type CustomerPauseSubscriptionRequest, type CustomerPauseSubscriptionResponse, type CustomerQuerySubscriptionsOptions, type CustomerResumeSubscriptionApplicationErrors, type CustomerResumeSubscriptionOptions, type CustomerResumeSubscriptionRequest, type CustomerResumeSubscriptionResponse, type CustomerSkipConfiguration, type CustomerSkipCycleApplicationErrors, type CustomerSkipCycleOptions, type CustomerSkipCycleRequest, type CustomerSkipCycleResponse, type CustomerTurnOffAutoRenewalRequest, type CustomerTurnOffAutoRenewalResponse, type CustomerTurnOffSubscriptionAutoRenewalApplicationErrors, type CustomerTurnOffSubscriptionAutoRenewalOptions, type CustomerTurnOnAutoRenewalRequest, type CustomerTurnOnAutoRenewalResponse, type CustomerTurnOnSubscriptionAutoRenewalApplicationErrors, type CustomerTurnOnSubscriptionAutoRenewalOptions, type CustomerUpdateBillingDateApplicationErrors, type CustomerUpdateBillingDateConfiguration, type CustomerUpdateBillingDateOptions, type CustomerUpdateBillingDateRequest, type CustomerUpdateBillingDateResponse, type Cycles, type DeleteDraftSubscriptionRequest, type DeleteDraftSubscriptionResponse, type DeleteSubscriptionBORequest, type DeleteSubscriptionBOResponse, type DeleteSubscriptionRequest, type DeleteSubscriptionResponse, type DetachInvoice, type Discount, type DiscountCycles, type DiscountOrigin, type DiscountValueOneOf, type DomainEvent, type DomainEventBodyOneOf, type Duration, DurationUnit, type DurationUnitWithLiterals, type DynamicTax, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, ExtendPolicyType, type ExtendPolicyTypeWithLiterals, type ExtendSubscriptionApplicationErrors, type ExtendSubscriptionOptions, type ExtendSubscriptionOptionsExtendPolicyOneOf, type ExtendSubscriptionRequest, type ExtendSubscriptionRequestExtendPolicyOneOf, type ExtendSubscriptionResponse, type ExternalCollectionDetails, type ExternalPrice, type ExternalPriceConfig, type FinishFreeTrialNowRequest, type FinishFreeTrialNowResponse, type FixSubscriptionInvoicesConsistencyRequest, type FixSubscriptionInvoicesConsistencyResponse, type FixSubscriptionInvoicesRequest, type FixSubscriptionInvoicesRequestModeOneOf, type FixSubscriptionInvoicesResponse, type FixSubscriptionTimeCapsuleTasksRequest, type FixSubscriptionTimeCapsuleTasksResponse, type FixedAmountFee, type FixedPrice, type FixedPriceConfig, type FreeTrailEnded, type FreeTrailStarted, type FreeTrialData, type FullAddressContactDetails, type FullAddressDetails, type FuturePriceUpdatesRequested, type FutureUpdatesRequested, type GetFullSubscriptionDataRequest, type GetFullSubscriptionDataResponse, type GetSubscriptionAndInternalDataRequest, type GetSubscriptionAndInternalDataResponse, type GetSubscriptionInvoicesRequest, type GetSubscriptionInvoicesResponse, type GetSubscriptionRequest, type GetSubscriptionResponse, type GetSubscriptionsStatsRequest, type GetSubscriptionsStatsResponse, type GracePeriodData, type GracePeriodEnded, type GracePeriodStarted, type HandleSubscriptionAfterInvoiceMarkedAsPaidRequest, HistoryActionInitiator, type HistoryActionInitiatorWithLiterals, HistoryViewMode, type HistoryViewModeWithLiterals, type IdentificationData, type IdentificationDataIdOneOf, IdentityType, type IdentityTypeWithLiterals, type InitiatePaymentMethodSetupOptions, type InitiatePaymentMethodSetupRequest, type InitiatePaymentMethodSetupResponse, type InitiatedPaymentMethodSetup, type InternalSubscriptionData, type Invoice, type InvoiceAction, type InvoiceActionActionTypeOneOf, type InvoiceApplicationFee, type InvoiceApplicationFeeValueOneOf, type InvoiceDiscount, type InvoiceDiscountValueOneOf, type InvoiceItem, type InvoiceItemPaymentTypeOneOf, type InvoiceItemPricingModelOneOf, type InvoicePlatformFee, type InvoicePlatformFeeFeeModelOneOf, type InvoiceShippingCharges, InvoiceStatus, type InvoiceStatusWithLiterals, type Item, ItemCategory, type ItemCategoryWithLiterals, type ItemChange, type ItemTaxData, type LatestInvoiceMarkedAsPaid, type LatestPaymentAttempt, type LineItemTaxSummary, type ListSubscriptionHistoryOptions, type ListSubscriptionHistoryRequest, type ListSubscriptionHistoryResponse, type ListUpcomingChargesOptions, type ListUpcomingChargesRequest, type ListUpcomingChargesResponse, type MarkBillingCycleAsPaidApplicationErrors, type MarkBillingCycleAsPaidOptions, type MarkBillingCycleAsPaidRequest, type MarkBillingCycleAsPaidResponse, type MarkLatestInvoiceAsPaidApplicationErrors, type MarkLatestInvoiceAsPaidRequest, type MarkLatestInvoiceAsPaidResponse, type MessageEnvelope, type MigrationDetails, type Money, type MultipleSubscriptionsOnOrdersInvoice, type OneTime, OrderMethod, type OrderMethodWithLiterals, type Origin, type OriginOverride, type Paging, type PagingMetadataV2, type PassOnFeeConfig, type PassOnFeeConfigValueOneOf, type PatchSubscriptionRequest, type PatchSubscriptionResponse, PauseAt, type PauseAtWithLiterals, type PauseInfo, type PausePeriod, PausePolicy, type PausePolicyWithLiterals, type PauseResumeActionConfiguration, type PauseResumeActionSettings, type PauseSubscriptionApplicationErrors, type PauseSubscriptionBORequest, type PauseSubscriptionBOResponse, type PauseSubscriptionOptions, type PauseSubscriptionRequest, type PauseSubscriptionRequested, type PauseSubscriptionResponse, type PayCycleOptions, type PayCycleRequest, type PayCycleResponse, type PayRecurringInvoice, PaymentAttemptStatus, type PaymentAttemptStatusWithLiterals, type PaymentData, type PaymentMethod, type PaymentMethodUpdated, PaymentMode, type PaymentModeWithLiterals, type PaymentOrigin, type PaymentSettings, PaymentSettlementMethod, type PaymentSettlementMethodWithLiterals, PaymentStatus, PaymentStatusEnumPaymentStatus, type PaymentStatusEnumPaymentStatusWithLiterals, type PaymentStatusWithLiterals, type PaymentTaxData, PaymentTestMode, type PaymentTestModeWithLiterals, type PercentageFee, type PlatformOrigin, type PreviewChangeSubscriptionRequest, type PreviewChangeSubscriptionResponse, type PreviewSubscriptionChargesOptions, type PreviewSubscriptionChargesOptionsSubscriptionOneOf, type PreviewSubscriptionChargesRequest, type PreviewSubscriptionChargesRequestSubscriptionOneOf, type PreviewSubscriptionChargesResponse, type PreviewSubscriptionsChargesOptions, type PreviewSubscriptionsChargesRequest, type PreviewSubscriptionsChargesResponse, type PriceAdjustment, type PriceAdjustmentAdjustmentTypeOneOf, PriceAdjustmentReason, type PriceAdjustmentReasonWithLiterals, type PriceAdjustmentValue, type PriceAdjustmentValueAdjustmentValueTypeOneOf, type PriceDetails, type PricingModel, type PricingModelModelOneOf, type Proration, ProrationAction, type ProrationActionWithLiterals, ProrationBehavior, type ProrationBehaviorWithLiterals, type ProrationPreview, type ProrationResult, type ProrationTypeOneOf, type QuerySubscriptionsRequest, type QuerySubscriptionsResponse, type QueryV2, type QueryV2PagingMethodOneOf, type Recurring, type RedirectUrls, type Refund, type RefundInfo, RefundReason, type RefundReasonWithLiterals, type RemoveCancellationInfoRequest, type RemoveCancellationInfoResponse, type RenewalPreview, RequestedFields, type RequestedFieldsWithLiterals, type Reschedule, type ResetPendingUpdates, type RestoreDraftSubscriptionRequest, type RestoreDraftSubscriptionResponse, type RestoreInfo, ResumeAt, type ResumeAtWithLiterals, type ResumeSubscriptionApplicationErrors, type ResumeSubscriptionOptions, type ResumeSubscriptionRequest, type ResumeSubscriptionRequested, type ResumeSubscriptionResponse, type ReviseSubscriptionOptions, type ReviseSubscriptionRequest, type ReviseSubscriptionResponse, RevivePolicy, type RevivePolicyWithLiterals, type ReviveSubscriptionRequest, type ReviveSubscriptionResponse, type RunTimeCapsuleTaskNowRequest, type ScheduleAdditionalInfo, type ScheduleAdditionalInfoParamOneOf, type ScheduleTimeCapsuleTaskRequest, type ScheduledPauseCanceled, type ScheduledResumeCanceled, type SearchSubscriptionRequest, type SearchSubscriptionResponse, type SearchSubscriptionsOptions, type SearchSubscriptionsOptionsPagingMethodOneOf, type SearchSubscriptionsRequest, type SearchSubscriptionsRequestPagingMethodOneOf, type SearchSubscriptionsResponse, type SendSubscriptionActionEventBORequest, type SendSubscriptionActionEventBORequestEventOneOf, type SendSubscriptionActionEventResponse, type SendTimeCapsuleTaskCanceledBIRequest, type SetIsMigratedEvent, type SetShiftingDataRequest, type SetShiftingDataResponse, type ShippingCharges, type SkipActionConfiguration, type SkipActionSettings, SortOrder, type SortOrderWithLiterals, type Sorting, type SortingClauses, type SpecificDateSubscriptionUpdateData, Status, type StatusWithLiterals, type StreetAddress, type Subscriber, type Subscription, type SubscriptionActivated, type SubscriptionAutoRenewalTurnedOff, type SubscriptionAutoRenewalTurnedOffEnvelope, type SubscriptionAutoRenewalTurnedOn, type SubscriptionAutoRenewalTurnedOnEnvelope, type SubscriptionBackOfficeAction, type SubscriptionBillingCyclePaid, type SubscriptionBillingCycleStarted, type SubscriptionBillingDateUpdated, type SubscriptionBillingDateUpdatedEnvelope, type SubscriptionBillingDetails, type SubscriptionCanceled, type SubscriptionCanceledEnvelope, type SubscriptionCancellationRequested, type SubscriptionChangeSummary, type SubscriptionCharge, type SubscriptionCharges, type SubscriptionCollectionMethodUpdated, type SubscriptionCreated, type SubscriptionCycleReadyToPay, type SubscriptionCycleTriggered, type SubscriptionDelayedSyncEvent, type SubscriptionDeleted, type SubscriptionDiff, type SubscriptionEnded, type SubscriptionEvent, type SubscriptionEventPayloadOneOf, type SubscriptionExpired, type SubscriptionExtended, type SubscriptionExtendedEnvelope, type SubscriptionExtendedExtendPolicyOneOf, SubscriptionFrequency, type SubscriptionFrequencyWithLiterals, type SubscriptionHistoryEntry, type SubscriptionInfo, type SubscriptionInitialPurchaseCompleted, type SubscriptionInvoice, type SubscriptionLatestInvoiceMarkedAsPaidEnvelope, type SubscriptionMarkedAsPaid, type SubscriptionPauseScheduleCanceledEnvelope, type SubscriptionPauseScheduledEnvelope, type SubscriptionPaused, type SubscriptionPausedEnvelope, type SubscriptionPolicies, type SubscriptionPolicy, type SubscriptionResumeScheduleCanceledEnvelope, type SubscriptionResumeScheduledEnvelope, type SubscriptionResumed, type SubscriptionResumedEnvelope, type SubscriptionRevived, type SubscriptionStatus, SubscriptionStatusEnumSubscriptionStatus, type SubscriptionStatusEnumSubscriptionStatusWithLiterals, SubscriptionStatusGroup, type SubscriptionStatusGroupWithLiterals, type SubscriptionSuspended, type SubscriptionTrialPeriod, SubscriptionType, type SubscriptionTypeWithLiterals, type SubscriptionUpdateData, type SubscriptionUpdated, type SubscriptionUpdatedEnvelope, type Suspension, type Task, type TaskAction, type TaskActionActionOneOf, type TaskKey, type Tax, type TaxBreakdown, type TaxData, type TaxSettings, type TaxSummary, type TaxValueOneOf, TaxableAddressType, type TaxableAddressTypeWithLiterals, type TimeBasedProration, type Totals, type TurnOffSubscriptionAutoRenewalApplicationErrors, type TurnOffSubscriptionAutoRenewalRequest, type TurnOffSubscriptionAutoRenewalResponse, type TurnOnSubscriptionAutoRenewalApplicationErrors, type TurnOnSubscriptionAutoRenewalRequest, type TurnOnSubscriptionAutoRenewalResponse, type UnknownSubscriptionEvent, type UnsupportedAction, type UnsupportedReason, UpdateAction, type UpdateActionWithLiterals, type UpdateBillingDateActionConfiguration, type UpdateBillingDateActionSettings, type UpdateBillingDateData, type UpdateFullSubscriptionRequest, type UpdateFullSubscriptionResponse, type UpdatePausePaidDurationRequest, type UpdatePausePaidDurationResponse, type UpdatePaymentMethodBORequest, type UpdatePaymentMethodBOResponse, type UpdatePaymentStatusRequest, type UpdatePaymentStatusResponse, type UpdateStatusRequest, type UpdateStatusResponse, type UpdateSubscriptionBillingDateApplicationErrors, type UpdateSubscriptionBillingDateOptions, type UpdateSubscriptionBillingDateRequest, type UpdateSubscriptionBillingDateResponse, type UpdateSubscriptionCurrencyRequest, type UpdateSubscriptionCurrencyResponse, type UpdateSubscriptionInvoiceCycleRequest, type UpdateSubscriptionInvoiceCycleResponse, type UpdateSubscriptionItemsRequest, type UpdateSubscriptionItemsResponse, type UpdateSubscriptionOriginRequest, type UpdateSubscriptionOriginResponse, type UpdateSubscriptionPaymentMethodRequest, type UpdateSubscriptionPaymentMethodResponse, type UpdateSubscriptionPlatformOriginRequest, type UpdateSubscriptionPlatformOriginResponse, type UpdateSubscriptionPoliciesRequest, type UpdateSubscriptionPoliciesResponse, type UpdateSubscriptionRequest, type UpdateSubscriptionResponse, type UpdateSubscriptionStartDateRequest, type UpdateSubscriptionStartDateResponse, type UpdatesApplied, type UpmActionSettings, type V1Duration, type V1Subscription, type V1SubscriptionActivated, type V1SubscriptionCanceled, type V1SubscriptionCreated, type V1SubscriptionEvent, type V1SubscriptionEventEventOneOf, type V1SubscriptionInitialPurchaseCompleted, type V1SubscriptionResumed, V1SubscriptionStatusEnumSubscriptionStatus, type V1SubscriptionStatusEnumSubscriptionStatusWithLiterals, type V1SubscriptionUpdated, type V2Subscription, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, allowedActions, cancelSubscription, countSubscriptions, customerAllowedActions, customerCancelScheduledPause, customerCancelScheduledSkip, customerCancelSubscription, customerExtendSubscription, customerGetSubscription, customerInitiatePaymentMethodSetup, customerListUpcomingCharges, customerPauseSubscription, customerQuerySubscriptions, customerResumeSubscription, customerSkipCycle, customerTurnOffSubscriptionAutoRenewal, customerTurnOnSubscriptionAutoRenewal, customerUpdateBillingDate, customerUpdateSubscriptionPaymentMethod, extendSubscription, getSubscription, getSubscriptionsStats, initiatePaymentMethodSetup, listSubscriptionHistory, listUpcomingCharges, markBillingCycleAsPaid, markLatestInvoiceAsPaid, onSubscriptionAutoRenewalTurnedOff, onSubscriptionAutoRenewalTurnedOn, onSubscriptionBillingDateUpdated, onSubscriptionCanceled, onSubscriptionExtended, onSubscriptionLatestInvoiceMarkedAsPaid, onSubscriptionPauseScheduleCanceled, onSubscriptionPauseScheduled, onSubscriptionPaused, onSubscriptionResumeScheduleCanceled, onSubscriptionResumeScheduled, onSubscriptionResumed, onSubscriptionUpdated, pauseSubscription, payCycle, previewSubscriptionCharges, previewSubscriptionsCharges, querySubscriptions, resumeSubscription, reviseSubscription, searchSubscriptions, turnOffSubscriptionAutoRenewal, turnOnSubscriptionAutoRenewal, updateSubscriptionBillingDate, updateSubscriptionPaymentMethod };
|
|
@@ -3649,7 +3649,6 @@ var UpdateAction = /* @__PURE__ */ ((UpdateAction2) => {
|
|
|
3649
3649
|
return UpdateAction2;
|
|
3650
3650
|
})(UpdateAction || {});
|
|
3651
3651
|
var RequestedFields = /* @__PURE__ */ ((RequestedFields2) => {
|
|
3652
|
-
RequestedFields2["UNKNOWN_REQUESTED_FIELD"] = "UNKNOWN_REQUESTED_FIELD";
|
|
3653
3652
|
RequestedFields2["UNSUPPORTED_ACTION"] = "UNSUPPORTED_ACTION";
|
|
3654
3653
|
return RequestedFields2;
|
|
3655
3654
|
})(RequestedFields || {});
|
|
@@ -3700,7 +3699,6 @@ var PriceAdjustmentReason = /* @__PURE__ */ ((PriceAdjustmentReason2) => {
|
|
|
3700
3699
|
return PriceAdjustmentReason2;
|
|
3701
3700
|
})(PriceAdjustmentReason || {});
|
|
3702
3701
|
var RefundReason = /* @__PURE__ */ ((RefundReason2) => {
|
|
3703
|
-
RefundReason2["UNKNOWN_REFUND_REASON"] = "UNKNOWN_REFUND_REASON";
|
|
3704
3702
|
RefundReason2["DUPLICATE_CHARGE"] = "DUPLICATE_CHARGE";
|
|
3705
3703
|
RefundReason2["FRAUDULENT"] = "FRAUDULENT";
|
|
3706
3704
|
RefundReason2["CUSTOMER_REQUEST"] = "CUSTOMER_REQUEST";
|
|
@@ -3708,6 +3706,28 @@ var RefundReason = /* @__PURE__ */ ((RefundReason2) => {
|
|
|
3708
3706
|
RefundReason2["OTHER"] = "OTHER";
|
|
3709
3707
|
return RefundReason2;
|
|
3710
3708
|
})(RefundReason || {});
|
|
3709
|
+
var ChangeEffectiveTime = /* @__PURE__ */ ((ChangeEffectiveTime2) => {
|
|
3710
|
+
ChangeEffectiveTime2["UNKNOWN"] = "UNKNOWN";
|
|
3711
|
+
ChangeEffectiveTime2["IMMEDIATELY"] = "IMMEDIATELY";
|
|
3712
|
+
ChangeEffectiveTime2["AT_NEXT_RENEWAL"] = "AT_NEXT_RENEWAL";
|
|
3713
|
+
return ChangeEffectiveTime2;
|
|
3714
|
+
})(ChangeEffectiveTime || {});
|
|
3715
|
+
var ProrationBehavior = /* @__PURE__ */ ((ProrationBehavior2) => {
|
|
3716
|
+
ProrationBehavior2["UNKNOWN"] = "UNKNOWN";
|
|
3717
|
+
ProrationBehavior2["PRORATE_AND_CHARGE"] = "PRORATE_AND_CHARGE";
|
|
3718
|
+
ProrationBehavior2["PRORATE_AND_REFUND"] = "PRORATE_AND_REFUND";
|
|
3719
|
+
ProrationBehavior2["PRORATE_AND_EXTEND"] = "PRORATE_AND_EXTEND";
|
|
3720
|
+
ProrationBehavior2["NO_PRORATION"] = "NO_PRORATION";
|
|
3721
|
+
return ProrationBehavior2;
|
|
3722
|
+
})(ProrationBehavior || {});
|
|
3723
|
+
var ProrationAction = /* @__PURE__ */ ((ProrationAction2) => {
|
|
3724
|
+
ProrationAction2["UNKNOWN"] = "UNKNOWN";
|
|
3725
|
+
ProrationAction2["CHARGE"] = "CHARGE";
|
|
3726
|
+
ProrationAction2["REFUND"] = "REFUND";
|
|
3727
|
+
ProrationAction2["EXTEND_PERIOD"] = "EXTEND_PERIOD";
|
|
3728
|
+
ProrationAction2["NO_CHANGE"] = "NO_CHANGE";
|
|
3729
|
+
return ProrationAction2;
|
|
3730
|
+
})(ProrationAction || {});
|
|
3711
3731
|
var IdentityType = /* @__PURE__ */ ((IdentityType2) => {
|
|
3712
3732
|
IdentityType2["UNDEFINED"] = "UNDEFINED";
|
|
3713
3733
|
IdentityType2["MEMBER"] = "MEMBER";
|
|
@@ -5402,6 +5422,7 @@ export {
|
|
|
5402
5422
|
ActionType,
|
|
5403
5423
|
AdditionalFeeTrigger,
|
|
5404
5424
|
CancellationInitiator,
|
|
5425
|
+
ChangeEffectiveTime,
|
|
5405
5426
|
CollectionMethod,
|
|
5406
5427
|
CollectionMethodEnumCollectionMethod,
|
|
5407
5428
|
CreationMode,
|
|
@@ -5422,6 +5443,8 @@ export {
|
|
|
5422
5443
|
PaymentStatusEnumPaymentStatus,
|
|
5423
5444
|
PaymentTestMode,
|
|
5424
5445
|
PriceAdjustmentReason,
|
|
5446
|
+
ProrationAction,
|
|
5447
|
+
ProrationBehavior,
|
|
5425
5448
|
RefundReason,
|
|
5426
5449
|
RequestedFields,
|
|
5427
5450
|
ResumeAt,
|