autumn-js 1.2.21 → 1.2.23
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/backend/adapters/express.js +181 -46
- package/dist/backend/adapters/express.mjs +9 -9
- package/dist/backend/adapters/fetch.js +181 -46
- package/dist/backend/adapters/fetch.mjs +9 -9
- package/dist/backend/adapters/hono.js +181 -46
- package/dist/backend/adapters/hono.mjs +9 -9
- package/dist/backend/adapters/index.js +181 -46
- package/dist/backend/adapters/index.mjs +12 -12
- package/dist/backend/adapters/next.js +181 -46
- package/dist/backend/adapters/next.mjs +9 -9
- package/dist/backend/{chunk-K2JSUNJX.mjs → chunk-7TQNAVUG.mjs} +1 -1
- package/dist/backend/{chunk-TGR2RWLO.mjs → chunk-K2ODGGAT.mjs} +1 -1
- package/dist/backend/{chunk-73KXFYFC.mjs → chunk-RKIVVLR3.mjs} +5 -5
- package/dist/backend/{chunk-GKYVE5XN.mjs → chunk-T4ZAR3BE.mjs} +143 -31
- package/dist/backend/{chunk-5JNYI5HM.mjs → chunk-UFAAJ5IV.mjs} +1 -1
- package/dist/backend/{chunk-NSHGFU5H.mjs → chunk-VHEQZSCT.mjs} +38 -15
- package/dist/backend/{chunk-H6KJYTJY.mjs → chunk-W5UYBM7S.mjs} +7 -7
- package/dist/backend/{chunk-NNIHXZQM.mjs → chunk-ZE23DYSY.mjs} +1 -1
- package/dist/backend/core/handlers/coreHandler.d.mts +1 -1
- package/dist/backend/core/handlers/coreHandler.d.ts +1 -1
- package/dist/backend/core/handlers/coreHandler.js +181 -46
- package/dist/backend/core/handlers/coreHandler.mjs +7 -7
- package/dist/backend/core/handlers/executeRoute.d.mts +1 -1
- package/dist/backend/core/handlers/executeRoute.d.ts +1 -1
- package/dist/backend/core/handlers/executeRoute.mjs +4 -4
- package/dist/backend/core/handlers/handleRouteByName.js +181 -46
- package/dist/backend/core/handlers/handleRouteByName.mjs +7 -7
- package/dist/backend/core/handlers/index.d.mts +1 -1
- package/dist/backend/core/handlers/index.d.ts +1 -1
- package/dist/backend/core/handlers/index.js +181 -46
- package/dist/backend/core/handlers/index.mjs +10 -10
- package/dist/backend/core/index.d.mts +1 -1
- package/dist/backend/core/index.d.ts +1 -1
- package/dist/backend/core/index.js +181 -46
- package/dist/backend/core/index.mjs +10 -10
- package/dist/backend/core/routes/index.d.mts +1 -1
- package/dist/backend/core/routes/index.d.ts +1 -1
- package/dist/backend/core/routes/index.js +38 -15
- package/dist/backend/core/routes/index.mjs +2 -2
- package/dist/backend/core/routes/routeBuilder.d.mts +1 -1
- package/dist/backend/core/routes/routeBuilder.d.ts +1 -1
- package/dist/backend/core/routes/routeConfigs.d.mts +1 -1
- package/dist/backend/core/routes/routeConfigs.d.ts +1 -1
- package/dist/backend/core/routes/routeConfigs.js +38 -15
- package/dist/backend/core/routes/routeConfigs.mjs +2 -2
- package/dist/backend/core/types/handlerTypes.d.mts +1 -1
- package/dist/backend/core/types/handlerTypes.d.ts +1 -1
- package/dist/backend/core/types/index.d.mts +1 -1
- package/dist/backend/core/types/index.d.ts +1 -1
- package/dist/backend/core/types/routeTypes.d.mts +1 -1
- package/dist/backend/core/types/routeTypes.d.ts +1 -1
- package/dist/backend/core/utils/index.mjs +3 -3
- package/dist/backend/index.d.mts +2 -2
- package/dist/backend/index.d.ts +2 -2
- package/dist/backend/index.js +181 -46
- package/dist/backend/index.mjs +10 -10
- package/dist/backend/{routeTypes-DZFxBYSb.d.mts → routeTypes-BBNqffnK.d.mts} +200 -2
- package/dist/backend/{routeTypes-B-Bkse9m.d.ts → routeTypes-D5CxGaFb.d.ts} +200 -2
- package/dist/better-auth/{chunk-X6KOCWP3.mjs → chunk-3NU5LQBR.mjs} +38 -15
- package/dist/better-auth/{chunk-R35KMMJZ.mjs → chunk-GPZQFANN.mjs} +1 -1
- package/dist/better-auth/{chunk-4OLXYKUC.mjs → chunk-VMKPVSFP.mjs} +144 -32
- package/dist/better-auth/index.js +181 -46
- package/dist/better-auth/index.mjs +3 -3
- package/dist/better-auth/utils/createAutumnEndpoint.js +38 -15
- package/dist/better-auth/utils/createAutumnEndpoint.mjs +2 -2
- package/dist/better-auth/utils/handleBetterAuthRoute.js +181 -46
- package/dist/better-auth/utils/handleBetterAuthRoute.mjs +2 -2
- package/dist/better-auth/utils/index.js +181 -46
- package/dist/better-auth/utils/index.mjs +3 -3
- package/dist/react/AutumnContext.d.mts +3 -3
- package/dist/react/AutumnContext.d.ts +3 -3
- package/dist/react/client/AutumnClient.d.mts +3 -3
- package/dist/react/client/AutumnClient.d.ts +3 -3
- package/dist/react/client/IAutumnClient.d.mts +12 -3
- package/dist/react/client/IAutumnClient.d.ts +12 -3
- package/dist/react/client/index.d.mts +3 -3
- package/dist/react/client/index.d.ts +3 -3
- package/dist/react/{customer-DjlCjlmM.d.mts → customer-BTYGVzNm.d.mts} +1 -1
- package/dist/react/{customer-CzMuZp8W.d.ts → customer-zogPdrbc.d.ts} +1 -1
- package/dist/react/hooks/index.d.mts +3 -3
- package/dist/react/hooks/index.d.ts +3 -3
- package/dist/react/hooks/internal/check/balanceToAllowed.d.mts +2 -2
- package/dist/react/hooks/internal/check/balanceToAllowed.d.ts +2 -2
- package/dist/react/hooks/internal/check/customerToFeatures.d.mts +2 -2
- package/dist/react/hooks/internal/check/customerToFeatures.d.ts +2 -2
- package/dist/react/hooks/internal/check/findCreditSystemsByFeature.d.mts +2 -2
- package/dist/react/hooks/internal/check/findCreditSystemsByFeature.d.ts +2 -2
- package/dist/react/hooks/internal/check/getCreditCost.d.mts +2 -2
- package/dist/react/hooks/internal/check/getCreditCost.d.ts +2 -2
- package/dist/react/hooks/internal/getLocalCheckResponse.d.mts +3 -3
- package/dist/react/hooks/internal/getLocalCheckResponse.d.ts +3 -3
- package/dist/react/hooks/internal/useCustomerActions.d.mts +3 -3
- package/dist/react/hooks/internal/useCustomerActions.d.ts +3 -3
- package/dist/react/hooks/useAggregateEvents.d.mts +2 -2
- package/dist/react/hooks/useAggregateEvents.d.ts +2 -2
- package/dist/react/hooks/useCustomer.d.mts +3 -3
- package/dist/react/hooks/useCustomer.d.ts +3 -3
- package/dist/react/hooks/useEntity.d.mts +2 -2
- package/dist/react/hooks/useEntity.d.ts +2 -2
- package/dist/react/hooks/useListEvents.d.mts +2 -2
- package/dist/react/hooks/useListEvents.d.ts +2 -2
- package/dist/react/hooks/useListPlans.d.mts +2 -2
- package/dist/react/hooks/useListPlans.d.ts +2 -2
- package/dist/react/hooks/useReferrals.d.mts +2 -2
- package/dist/react/hooks/useReferrals.d.ts +2 -2
- package/dist/react/index.d.mts +3 -3
- package/dist/react/index.d.ts +3 -3
- package/dist/react/{params-BUQLwLrI.d.mts → params-BWA6FFXs.d.ts} +125 -2
- package/dist/react/{params-dYykqsvL.d.ts → params-Es9pSv7h.d.mts} +125 -2
- package/dist/react/{plan-DSTBzzTY.d.mts → plan-DYHM9lBi.d.mts} +9 -0
- package/dist/react/{plan-DSTBzzTY.d.ts → plan-DYHM9lBi.d.ts} +9 -0
- package/dist/sdk/index.d.mts +244 -5
- package/dist/sdk/index.d.ts +244 -5
- package/dist/sdk/index.js +175 -31
- package/dist/sdk/index.mjs +144 -32
- package/package.json +1 -1
- package/dist/backend/{chunk-S5HPMJ4U.mjs → chunk-55C2WWXQ.mjs} +3 -3
package/dist/sdk/index.js
CHANGED
|
@@ -83,8 +83,8 @@ var SDK_METADATA = {
|
|
|
83
83
|
language: "typescript",
|
|
84
84
|
openapiDocVersion: "2.2.0",
|
|
85
85
|
sdkVersion: "0.10.17",
|
|
86
|
-
genVersion: "2.
|
|
87
|
-
userAgent: "speakeasy-sdk/typescript 0.10.17 2.
|
|
86
|
+
genVersion: "2.882.0",
|
|
87
|
+
userAgent: "speakeasy-sdk/typescript 0.10.17 2.882.0 2.2.0 @useautumn/sdk"
|
|
88
88
|
};
|
|
89
89
|
|
|
90
90
|
// ../sdk/src/lib/files.ts
|
|
@@ -1557,6 +1557,10 @@ var AttachDurationType = {
|
|
|
1557
1557
|
Month: "month",
|
|
1558
1558
|
Year: "year"
|
|
1559
1559
|
};
|
|
1560
|
+
var AttachOnEnd = {
|
|
1561
|
+
Bill: "bill",
|
|
1562
|
+
Revert: "revert"
|
|
1563
|
+
};
|
|
1560
1564
|
var AttachProrationBehavior = {
|
|
1561
1565
|
ProrateImmediately: "prorate_immediately",
|
|
1562
1566
|
None: "none"
|
|
@@ -1879,17 +1883,20 @@ function attachPlanItemFilterToJSON(attachPlanItemFilter) {
|
|
|
1879
1883
|
);
|
|
1880
1884
|
}
|
|
1881
1885
|
var AttachDurationType$outboundSchema = z42__namespace.enum(AttachDurationType);
|
|
1886
|
+
var AttachOnEnd$outboundSchema = z42__namespace.enum(AttachOnEnd);
|
|
1882
1887
|
var AttachFreeTrialParams$outboundSchema = z42__namespace.pipe(
|
|
1883
1888
|
z42__namespace.object({
|
|
1884
1889
|
durationLength: z42__namespace.number(),
|
|
1885
1890
|
durationType: z42__namespace._default(AttachDurationType$outboundSchema, "month"),
|
|
1886
|
-
cardRequired: z42__namespace._default(z42__namespace.boolean(), true)
|
|
1891
|
+
cardRequired: z42__namespace._default(z42__namespace.boolean(), true),
|
|
1892
|
+
onEnd: z42__namespace.optional(AttachOnEnd$outboundSchema)
|
|
1887
1893
|
}),
|
|
1888
1894
|
z42__namespace.transform((v) => {
|
|
1889
1895
|
return remap(v, {
|
|
1890
1896
|
durationLength: "duration_length",
|
|
1891
1897
|
durationType: "duration_type",
|
|
1892
|
-
cardRequired: "card_required"
|
|
1898
|
+
cardRequired: "card_required",
|
|
1899
|
+
onEnd: "on_end"
|
|
1893
1900
|
});
|
|
1894
1901
|
})
|
|
1895
1902
|
);
|
|
@@ -2458,6 +2465,10 @@ var BillingUpdateDurationType = {
|
|
|
2458
2465
|
Month: "month",
|
|
2459
2466
|
Year: "year"
|
|
2460
2467
|
};
|
|
2468
|
+
var BillingUpdateOnEnd = {
|
|
2469
|
+
Bill: "bill",
|
|
2470
|
+
Revert: "revert"
|
|
2471
|
+
};
|
|
2461
2472
|
var BillingUpdateProrationBehavior = {
|
|
2462
2473
|
ProrateImmediately: "prorate_immediately",
|
|
2463
2474
|
None: "none"
|
|
@@ -2819,17 +2830,20 @@ function billingUpdatePlanItemFilterToJSON(billingUpdatePlanItemFilter) {
|
|
|
2819
2830
|
);
|
|
2820
2831
|
}
|
|
2821
2832
|
var BillingUpdateDurationType$outboundSchema = z42__namespace.enum(BillingUpdateDurationType);
|
|
2833
|
+
var BillingUpdateOnEnd$outboundSchema = z42__namespace.enum(BillingUpdateOnEnd);
|
|
2822
2834
|
var BillingUpdateFreeTrialParams$outboundSchema = z42__namespace.pipe(
|
|
2823
2835
|
z42__namespace.object({
|
|
2824
2836
|
durationLength: z42__namespace.number(),
|
|
2825
2837
|
durationType: z42__namespace._default(BillingUpdateDurationType$outboundSchema, "month"),
|
|
2826
|
-
cardRequired: z42__namespace._default(z42__namespace.boolean(), true)
|
|
2838
|
+
cardRequired: z42__namespace._default(z42__namespace.boolean(), true),
|
|
2839
|
+
onEnd: z42__namespace.optional(BillingUpdateOnEnd$outboundSchema)
|
|
2827
2840
|
}),
|
|
2828
2841
|
z42__namespace.transform((v) => {
|
|
2829
2842
|
return remap(v, {
|
|
2830
2843
|
durationLength: "duration_length",
|
|
2831
2844
|
durationType: "duration_type",
|
|
2832
|
-
cardRequired: "card_required"
|
|
2845
|
+
cardRequired: "card_required",
|
|
2846
|
+
onEnd: "on_end"
|
|
2833
2847
|
});
|
|
2834
2848
|
})
|
|
2835
2849
|
);
|
|
@@ -3097,6 +3111,10 @@ var FreeTrialDuration2 = {
|
|
|
3097
3111
|
Month: "month",
|
|
3098
3112
|
Year: "year"
|
|
3099
3113
|
};
|
|
3114
|
+
var CheckOnEnd2 = {
|
|
3115
|
+
Bill: "bill",
|
|
3116
|
+
Revert: "revert"
|
|
3117
|
+
};
|
|
3100
3118
|
var ProductScenario2 = {
|
|
3101
3119
|
Scheduled: "scheduled",
|
|
3102
3120
|
Active: "active",
|
|
@@ -3173,6 +3191,10 @@ var FreeTrialDuration1 = {
|
|
|
3173
3191
|
Month: "month",
|
|
3174
3192
|
Year: "year"
|
|
3175
3193
|
};
|
|
3194
|
+
var CheckOnEnd1 = {
|
|
3195
|
+
Bill: "bill",
|
|
3196
|
+
Revert: "revert"
|
|
3197
|
+
};
|
|
3176
3198
|
var ProductScenario1 = {
|
|
3177
3199
|
Scheduled: "scheduled",
|
|
3178
3200
|
Active: "active",
|
|
@@ -3433,18 +3455,21 @@ function checkItem2FromJSON(jsonString) {
|
|
|
3433
3455
|
);
|
|
3434
3456
|
}
|
|
3435
3457
|
var FreeTrialDuration2$inboundSchema = inboundSchema(FreeTrialDuration2);
|
|
3458
|
+
var CheckOnEnd2$inboundSchema = inboundSchema(CheckOnEnd2);
|
|
3436
3459
|
var CheckFreeTrial2$inboundSchema = z42__namespace.pipe(
|
|
3437
3460
|
z42__namespace.object({
|
|
3438
3461
|
duration: FreeTrialDuration2$inboundSchema,
|
|
3439
3462
|
length: number2(),
|
|
3440
3463
|
unique_fingerprint: boolean2(),
|
|
3441
3464
|
card_required: boolean2(),
|
|
3465
|
+
on_end: z42__namespace.optional(z42__namespace.nullable(CheckOnEnd2$inboundSchema)),
|
|
3442
3466
|
trial_available: z42__namespace.nullable(z42__namespace._default(boolean2(), true))
|
|
3443
3467
|
}),
|
|
3444
3468
|
z42__namespace.transform((v) => {
|
|
3445
3469
|
return remap(v, {
|
|
3446
3470
|
"unique_fingerprint": "uniqueFingerprint",
|
|
3447
3471
|
"card_required": "cardRequired",
|
|
3472
|
+
"on_end": "onEnd",
|
|
3448
3473
|
"trial_available": "trialAvailable"
|
|
3449
3474
|
});
|
|
3450
3475
|
})
|
|
@@ -3773,18 +3798,21 @@ function checkItem1FromJSON(jsonString) {
|
|
|
3773
3798
|
);
|
|
3774
3799
|
}
|
|
3775
3800
|
var FreeTrialDuration1$inboundSchema = inboundSchema(FreeTrialDuration1);
|
|
3801
|
+
var CheckOnEnd1$inboundSchema = inboundSchema(CheckOnEnd1);
|
|
3776
3802
|
var CheckFreeTrial1$inboundSchema = z42__namespace.pipe(
|
|
3777
3803
|
z42__namespace.object({
|
|
3778
3804
|
duration: FreeTrialDuration1$inboundSchema,
|
|
3779
3805
|
length: number2(),
|
|
3780
3806
|
unique_fingerprint: boolean2(),
|
|
3781
3807
|
card_required: boolean2(),
|
|
3808
|
+
on_end: z42__namespace.optional(z42__namespace.nullable(CheckOnEnd1$inboundSchema)),
|
|
3782
3809
|
trial_available: z42__namespace.nullable(z42__namespace._default(boolean2(), true))
|
|
3783
3810
|
}),
|
|
3784
3811
|
z42__namespace.transform((v) => {
|
|
3785
3812
|
return remap(v, {
|
|
3786
3813
|
"unique_fingerprint": "uniqueFingerprint",
|
|
3787
3814
|
"card_required": "cardRequired",
|
|
3815
|
+
"on_end": "onEnd",
|
|
3788
3816
|
"trial_available": "trialAvailable"
|
|
3789
3817
|
});
|
|
3790
3818
|
})
|
|
@@ -4240,6 +4268,10 @@ var PlanDurationType = {
|
|
|
4240
4268
|
Month: "month",
|
|
4241
4269
|
Year: "year"
|
|
4242
4270
|
};
|
|
4271
|
+
var OnEnd = {
|
|
4272
|
+
Bill: "bill",
|
|
4273
|
+
Revert: "revert"
|
|
4274
|
+
};
|
|
4243
4275
|
var PlanEnv = {
|
|
4244
4276
|
Sandbox: "sandbox",
|
|
4245
4277
|
Live: "live"
|
|
@@ -4469,17 +4501,20 @@ function itemFromJSON(jsonString) {
|
|
|
4469
4501
|
);
|
|
4470
4502
|
}
|
|
4471
4503
|
var PlanDurationType$inboundSchema = inboundSchema(PlanDurationType);
|
|
4504
|
+
var OnEnd$inboundSchema = inboundSchema(OnEnd);
|
|
4472
4505
|
var FreeTrial$inboundSchema = z42__namespace.pipe(
|
|
4473
4506
|
z42__namespace.object({
|
|
4474
4507
|
duration_length: number2(),
|
|
4475
4508
|
duration_type: PlanDurationType$inboundSchema,
|
|
4476
|
-
card_required: boolean2()
|
|
4509
|
+
card_required: boolean2(),
|
|
4510
|
+
on_end: z42__namespace.optional(z42__namespace.nullable(OnEnd$inboundSchema))
|
|
4477
4511
|
}),
|
|
4478
4512
|
z42__namespace.transform((v) => {
|
|
4479
4513
|
return remap(v, {
|
|
4480
4514
|
"duration_length": "durationLength",
|
|
4481
4515
|
"duration_type": "durationType",
|
|
4482
|
-
"card_required": "cardRequired"
|
|
4516
|
+
"card_required": "cardRequired",
|
|
4517
|
+
"on_end": "onEnd"
|
|
4483
4518
|
});
|
|
4484
4519
|
})
|
|
4485
4520
|
);
|
|
@@ -5203,6 +5238,10 @@ var CreatePlanDurationTypeRequest = {
|
|
|
5203
5238
|
Month: "month",
|
|
5204
5239
|
Year: "year"
|
|
5205
5240
|
};
|
|
5241
|
+
var CreatePlanOnEndRequest = {
|
|
5242
|
+
Bill: "bill",
|
|
5243
|
+
Revert: "revert"
|
|
5244
|
+
};
|
|
5206
5245
|
var CreatePlanPriceIntervalResponse = {
|
|
5207
5246
|
OneOff: "one_off",
|
|
5208
5247
|
Week: "week",
|
|
@@ -5254,6 +5293,10 @@ var CreatePlanDurationTypeResponse = {
|
|
|
5254
5293
|
Month: "month",
|
|
5255
5294
|
Year: "year"
|
|
5256
5295
|
};
|
|
5296
|
+
var CreatePlanOnEndResponse = {
|
|
5297
|
+
Bill: "bill",
|
|
5298
|
+
Revert: "revert"
|
|
5299
|
+
};
|
|
5257
5300
|
var CreatePlanEnv = {
|
|
5258
5301
|
Sandbox: "sandbox",
|
|
5259
5302
|
Live: "live"
|
|
@@ -5416,6 +5459,7 @@ function createPlanPlanItemToJSON(createPlanPlanItem) {
|
|
|
5416
5459
|
);
|
|
5417
5460
|
}
|
|
5418
5461
|
var CreatePlanDurationTypeRequest$outboundSchema = z42__namespace.enum(CreatePlanDurationTypeRequest);
|
|
5462
|
+
var CreatePlanOnEndRequest$outboundSchema = z42__namespace.enum(CreatePlanOnEndRequest);
|
|
5419
5463
|
var FreeTrialRequest$outboundSchema = z42__namespace.pipe(
|
|
5420
5464
|
z42__namespace.object({
|
|
5421
5465
|
durationLength: z42__namespace.number(),
|
|
@@ -5423,13 +5467,15 @@ var FreeTrialRequest$outboundSchema = z42__namespace.pipe(
|
|
|
5423
5467
|
CreatePlanDurationTypeRequest$outboundSchema,
|
|
5424
5468
|
"month"
|
|
5425
5469
|
),
|
|
5426
|
-
cardRequired: z42__namespace._default(z42__namespace.boolean(), true)
|
|
5470
|
+
cardRequired: z42__namespace._default(z42__namespace.boolean(), true),
|
|
5471
|
+
onEnd: z42__namespace.optional(CreatePlanOnEndRequest$outboundSchema)
|
|
5427
5472
|
}),
|
|
5428
5473
|
z42__namespace.transform((v) => {
|
|
5429
5474
|
return remap(v, {
|
|
5430
5475
|
durationLength: "duration_length",
|
|
5431
5476
|
durationType: "duration_type",
|
|
5432
|
-
cardRequired: "card_required"
|
|
5477
|
+
cardRequired: "card_required",
|
|
5478
|
+
onEnd: "on_end"
|
|
5433
5479
|
});
|
|
5434
5480
|
})
|
|
5435
5481
|
);
|
|
@@ -5700,17 +5746,20 @@ function createPlanItemFromJSON(jsonString) {
|
|
|
5700
5746
|
);
|
|
5701
5747
|
}
|
|
5702
5748
|
var CreatePlanDurationTypeResponse$inboundSchema = inboundSchema(CreatePlanDurationTypeResponse);
|
|
5749
|
+
var CreatePlanOnEndResponse$inboundSchema = inboundSchema(CreatePlanOnEndResponse);
|
|
5703
5750
|
var CreatePlanFreeTrialResponse$inboundSchema = z42__namespace.pipe(
|
|
5704
5751
|
z42__namespace.object({
|
|
5705
5752
|
duration_length: number2(),
|
|
5706
5753
|
duration_type: CreatePlanDurationTypeResponse$inboundSchema,
|
|
5707
|
-
card_required: boolean2()
|
|
5754
|
+
card_required: boolean2(),
|
|
5755
|
+
on_end: z42__namespace.optional(z42__namespace.nullable(CreatePlanOnEndResponse$inboundSchema))
|
|
5708
5756
|
}),
|
|
5709
5757
|
z42__namespace.transform((v) => {
|
|
5710
5758
|
return remap(v, {
|
|
5711
5759
|
"duration_length": "durationLength",
|
|
5712
5760
|
"duration_type": "durationType",
|
|
5713
|
-
"card_required": "cardRequired"
|
|
5761
|
+
"card_required": "cardRequired",
|
|
5762
|
+
"on_end": "onEnd"
|
|
5714
5763
|
});
|
|
5715
5764
|
})
|
|
5716
5765
|
);
|
|
@@ -8454,6 +8503,10 @@ var GetPlanDurationType = {
|
|
|
8454
8503
|
Month: "month",
|
|
8455
8504
|
Year: "year"
|
|
8456
8505
|
};
|
|
8506
|
+
var GetPlanOnEnd = {
|
|
8507
|
+
Bill: "bill",
|
|
8508
|
+
Revert: "revert"
|
|
8509
|
+
};
|
|
8457
8510
|
var GetPlanEnv = {
|
|
8458
8511
|
Sandbox: "sandbox",
|
|
8459
8512
|
Live: "live"
|
|
@@ -8697,17 +8750,20 @@ function getPlanItemFromJSON(jsonString) {
|
|
|
8697
8750
|
);
|
|
8698
8751
|
}
|
|
8699
8752
|
var GetPlanDurationType$inboundSchema = inboundSchema(GetPlanDurationType);
|
|
8753
|
+
var GetPlanOnEnd$inboundSchema = inboundSchema(GetPlanOnEnd);
|
|
8700
8754
|
var GetPlanFreeTrial$inboundSchema = z42__namespace.pipe(
|
|
8701
8755
|
z42__namespace.object({
|
|
8702
8756
|
duration_length: number2(),
|
|
8703
8757
|
duration_type: GetPlanDurationType$inboundSchema,
|
|
8704
|
-
card_required: boolean2()
|
|
8758
|
+
card_required: boolean2(),
|
|
8759
|
+
on_end: z42__namespace.optional(z42__namespace.nullable(GetPlanOnEnd$inboundSchema))
|
|
8705
8760
|
}),
|
|
8706
8761
|
z42__namespace.transform((v) => {
|
|
8707
8762
|
return remap(v, {
|
|
8708
8763
|
"duration_length": "durationLength",
|
|
8709
8764
|
"duration_type": "durationType",
|
|
8710
|
-
"card_required": "cardRequired"
|
|
8765
|
+
"card_required": "cardRequired",
|
|
8766
|
+
"on_end": "onEnd"
|
|
8711
8767
|
});
|
|
8712
8768
|
})
|
|
8713
8769
|
);
|
|
@@ -10042,6 +10098,10 @@ var ListPlansDurationType = {
|
|
|
10042
10098
|
Month: "month",
|
|
10043
10099
|
Year: "year"
|
|
10044
10100
|
};
|
|
10101
|
+
var ListPlansOnEnd = {
|
|
10102
|
+
Bill: "bill",
|
|
10103
|
+
Revert: "revert"
|
|
10104
|
+
};
|
|
10045
10105
|
var ListPlansEnv = {
|
|
10046
10106
|
Sandbox: "sandbox",
|
|
10047
10107
|
Live: "live"
|
|
@@ -10288,17 +10348,20 @@ function listPlansItemFromJSON(jsonString) {
|
|
|
10288
10348
|
);
|
|
10289
10349
|
}
|
|
10290
10350
|
var ListPlansDurationType$inboundSchema = inboundSchema(ListPlansDurationType);
|
|
10351
|
+
var ListPlansOnEnd$inboundSchema = inboundSchema(ListPlansOnEnd);
|
|
10291
10352
|
var ListPlansFreeTrial$inboundSchema = z42__namespace.pipe(
|
|
10292
10353
|
z42__namespace.object({
|
|
10293
10354
|
duration_length: number2(),
|
|
10294
10355
|
duration_type: ListPlansDurationType$inboundSchema,
|
|
10295
|
-
card_required: boolean2()
|
|
10356
|
+
card_required: boolean2(),
|
|
10357
|
+
on_end: z42__namespace.optional(z42__namespace.nullable(ListPlansOnEnd$inboundSchema))
|
|
10296
10358
|
}),
|
|
10297
10359
|
z42__namespace.transform((v) => {
|
|
10298
10360
|
return remap(v, {
|
|
10299
10361
|
"duration_length": "durationLength",
|
|
10300
10362
|
"duration_type": "durationType",
|
|
10301
|
-
"card_required": "cardRequired"
|
|
10363
|
+
"card_required": "cardRequired",
|
|
10364
|
+
"on_end": "onEnd"
|
|
10302
10365
|
});
|
|
10303
10366
|
})
|
|
10304
10367
|
);
|
|
@@ -10457,6 +10520,10 @@ var MultiAttachDurationType = {
|
|
|
10457
10520
|
Month: "month",
|
|
10458
10521
|
Year: "year"
|
|
10459
10522
|
};
|
|
10523
|
+
var MultiAttachOnEnd = {
|
|
10524
|
+
Bill: "bill",
|
|
10525
|
+
Revert: "revert"
|
|
10526
|
+
};
|
|
10460
10527
|
var MultiAttachRedirectMode = {
|
|
10461
10528
|
Always: "always",
|
|
10462
10529
|
IfRequired: "if_required",
|
|
@@ -10667,17 +10734,20 @@ function multiAttachPlanToJSON(multiAttachPlan) {
|
|
|
10667
10734
|
return JSON.stringify(MultiAttachPlan$outboundSchema.parse(multiAttachPlan));
|
|
10668
10735
|
}
|
|
10669
10736
|
var MultiAttachDurationType$outboundSchema = z42__namespace.enum(MultiAttachDurationType);
|
|
10737
|
+
var MultiAttachOnEnd$outboundSchema = z42__namespace.enum(MultiAttachOnEnd);
|
|
10670
10738
|
var MultiAttachFreeTrialParams$outboundSchema = z42__namespace.pipe(
|
|
10671
10739
|
z42__namespace.object({
|
|
10672
10740
|
durationLength: z42__namespace.number(),
|
|
10673
10741
|
durationType: z42__namespace._default(MultiAttachDurationType$outboundSchema, "month"),
|
|
10674
|
-
cardRequired: z42__namespace._default(z42__namespace.boolean(), true)
|
|
10742
|
+
cardRequired: z42__namespace._default(z42__namespace.boolean(), true),
|
|
10743
|
+
onEnd: z42__namespace.optional(MultiAttachOnEnd$outboundSchema)
|
|
10675
10744
|
}),
|
|
10676
10745
|
z42__namespace.transform((v) => {
|
|
10677
10746
|
return remap(v, {
|
|
10678
10747
|
durationLength: "duration_length",
|
|
10679
10748
|
durationType: "duration_type",
|
|
10680
|
-
cardRequired: "card_required"
|
|
10749
|
+
cardRequired: "card_required",
|
|
10750
|
+
onEnd: "on_end"
|
|
10681
10751
|
});
|
|
10682
10752
|
})
|
|
10683
10753
|
);
|
|
@@ -11077,6 +11147,10 @@ var PreviewAttachDurationType = {
|
|
|
11077
11147
|
Month: "month",
|
|
11078
11148
|
Year: "year"
|
|
11079
11149
|
};
|
|
11150
|
+
var PreviewAttachOnEnd = {
|
|
11151
|
+
Bill: "bill",
|
|
11152
|
+
Revert: "revert"
|
|
11153
|
+
};
|
|
11080
11154
|
var PreviewAttachProrationBehavior = {
|
|
11081
11155
|
ProrateImmediately: "prorate_immediately",
|
|
11082
11156
|
None: "none"
|
|
@@ -11440,17 +11514,20 @@ function previewAttachPlanItemFilterToJSON(previewAttachPlanItemFilter) {
|
|
|
11440
11514
|
);
|
|
11441
11515
|
}
|
|
11442
11516
|
var PreviewAttachDurationType$outboundSchema = z42__namespace.enum(PreviewAttachDurationType);
|
|
11517
|
+
var PreviewAttachOnEnd$outboundSchema = z42__namespace.enum(PreviewAttachOnEnd);
|
|
11443
11518
|
var PreviewAttachFreeTrialParams$outboundSchema = z42__namespace.pipe(
|
|
11444
11519
|
z42__namespace.object({
|
|
11445
11520
|
durationLength: z42__namespace.number(),
|
|
11446
11521
|
durationType: z42__namespace._default(PreviewAttachDurationType$outboundSchema, "month"),
|
|
11447
|
-
cardRequired: z42__namespace._default(z42__namespace.boolean(), true)
|
|
11522
|
+
cardRequired: z42__namespace._default(z42__namespace.boolean(), true),
|
|
11523
|
+
onEnd: z42__namespace.optional(PreviewAttachOnEnd$outboundSchema)
|
|
11448
11524
|
}),
|
|
11449
11525
|
z42__namespace.transform((v) => {
|
|
11450
11526
|
return remap(v, {
|
|
11451
11527
|
durationLength: "duration_length",
|
|
11452
11528
|
durationType: "duration_type",
|
|
11453
|
-
cardRequired: "card_required"
|
|
11529
|
+
cardRequired: "card_required",
|
|
11530
|
+
onEnd: "on_end"
|
|
11454
11531
|
});
|
|
11455
11532
|
})
|
|
11456
11533
|
);
|
|
@@ -12068,6 +12145,10 @@ var PreviewMultiAttachDurationType = {
|
|
|
12068
12145
|
Month: "month",
|
|
12069
12146
|
Year: "year"
|
|
12070
12147
|
};
|
|
12148
|
+
var PreviewMultiAttachOnEnd = {
|
|
12149
|
+
Bill: "bill",
|
|
12150
|
+
Revert: "revert"
|
|
12151
|
+
};
|
|
12071
12152
|
var PreviewMultiAttachRedirectMode = {
|
|
12072
12153
|
Always: "always",
|
|
12073
12154
|
IfRequired: "if_required",
|
|
@@ -12307,6 +12388,7 @@ function previewMultiAttachPlanToJSON(previewMultiAttachPlan) {
|
|
|
12307
12388
|
);
|
|
12308
12389
|
}
|
|
12309
12390
|
var PreviewMultiAttachDurationType$outboundSchema = z42__namespace.enum(PreviewMultiAttachDurationType);
|
|
12391
|
+
var PreviewMultiAttachOnEnd$outboundSchema = z42__namespace.enum(PreviewMultiAttachOnEnd);
|
|
12310
12392
|
var PreviewMultiAttachFreeTrialParams$outboundSchema = z42__namespace.pipe(
|
|
12311
12393
|
z42__namespace.object({
|
|
12312
12394
|
durationLength: z42__namespace.number(),
|
|
@@ -12314,13 +12396,15 @@ var PreviewMultiAttachFreeTrialParams$outboundSchema = z42__namespace.pipe(
|
|
|
12314
12396
|
PreviewMultiAttachDurationType$outboundSchema,
|
|
12315
12397
|
"month"
|
|
12316
12398
|
),
|
|
12317
|
-
cardRequired: z42__namespace._default(z42__namespace.boolean(), true)
|
|
12399
|
+
cardRequired: z42__namespace._default(z42__namespace.boolean(), true),
|
|
12400
|
+
onEnd: z42__namespace.optional(PreviewMultiAttachOnEnd$outboundSchema)
|
|
12318
12401
|
}),
|
|
12319
12402
|
z42__namespace.transform((v) => {
|
|
12320
12403
|
return remap(v, {
|
|
12321
12404
|
durationLength: "duration_length",
|
|
12322
12405
|
durationType: "duration_type",
|
|
12323
|
-
cardRequired: "card_required"
|
|
12406
|
+
cardRequired: "card_required",
|
|
12407
|
+
onEnd: "on_end"
|
|
12324
12408
|
});
|
|
12325
12409
|
})
|
|
12326
12410
|
);
|
|
@@ -13006,6 +13090,10 @@ var PreviewUpdateDurationType = {
|
|
|
13006
13090
|
Month: "month",
|
|
13007
13091
|
Year: "year"
|
|
13008
13092
|
};
|
|
13093
|
+
var PreviewUpdateOnEnd = {
|
|
13094
|
+
Bill: "bill",
|
|
13095
|
+
Revert: "revert"
|
|
13096
|
+
};
|
|
13009
13097
|
var PreviewUpdateProrationBehavior = {
|
|
13010
13098
|
ProrateImmediately: "prorate_immediately",
|
|
13011
13099
|
None: "none"
|
|
@@ -13374,17 +13462,20 @@ function previewUpdatePlanItemFilterToJSON(previewUpdatePlanItemFilter) {
|
|
|
13374
13462
|
);
|
|
13375
13463
|
}
|
|
13376
13464
|
var PreviewUpdateDurationType$outboundSchema = z42__namespace.enum(PreviewUpdateDurationType);
|
|
13465
|
+
var PreviewUpdateOnEnd$outboundSchema = z42__namespace.enum(PreviewUpdateOnEnd);
|
|
13377
13466
|
var PreviewUpdateFreeTrialParams$outboundSchema = z42__namespace.pipe(
|
|
13378
13467
|
z42__namespace.object({
|
|
13379
13468
|
durationLength: z42__namespace.number(),
|
|
13380
13469
|
durationType: z42__namespace._default(PreviewUpdateDurationType$outboundSchema, "month"),
|
|
13381
|
-
cardRequired: z42__namespace._default(z42__namespace.boolean(), true)
|
|
13470
|
+
cardRequired: z42__namespace._default(z42__namespace.boolean(), true),
|
|
13471
|
+
onEnd: z42__namespace.optional(PreviewUpdateOnEnd$outboundSchema)
|
|
13382
13472
|
}),
|
|
13383
13473
|
z42__namespace.transform((v) => {
|
|
13384
13474
|
return remap(v, {
|
|
13385
13475
|
durationLength: "duration_length",
|
|
13386
13476
|
durationType: "duration_type",
|
|
13387
|
-
cardRequired: "card_required"
|
|
13477
|
+
cardRequired: "card_required",
|
|
13478
|
+
onEnd: "on_end"
|
|
13388
13479
|
});
|
|
13389
13480
|
})
|
|
13390
13481
|
);
|
|
@@ -14037,6 +14128,10 @@ var SetupPaymentDurationType = {
|
|
|
14037
14128
|
Month: "month",
|
|
14038
14129
|
Year: "year"
|
|
14039
14130
|
};
|
|
14131
|
+
var SetupPaymentOnEnd = {
|
|
14132
|
+
Bill: "bill",
|
|
14133
|
+
Revert: "revert"
|
|
14134
|
+
};
|
|
14040
14135
|
var SetupPaymentProrationBehavior = {
|
|
14041
14136
|
ProrateImmediately: "prorate_immediately",
|
|
14042
14137
|
None: "none"
|
|
@@ -14379,17 +14474,20 @@ function setupPaymentPlanItemFilterToJSON(setupPaymentPlanItemFilter) {
|
|
|
14379
14474
|
);
|
|
14380
14475
|
}
|
|
14381
14476
|
var SetupPaymentDurationType$outboundSchema = z42__namespace.enum(SetupPaymentDurationType);
|
|
14477
|
+
var SetupPaymentOnEnd$outboundSchema = z42__namespace.enum(SetupPaymentOnEnd);
|
|
14382
14478
|
var SetupPaymentFreeTrialParams$outboundSchema = z42__namespace.pipe(
|
|
14383
14479
|
z42__namespace.object({
|
|
14384
14480
|
durationLength: z42__namespace.number(),
|
|
14385
14481
|
durationType: z42__namespace._default(SetupPaymentDurationType$outboundSchema, "month"),
|
|
14386
|
-
cardRequired: z42__namespace._default(z42__namespace.boolean(), true)
|
|
14482
|
+
cardRequired: z42__namespace._default(z42__namespace.boolean(), true),
|
|
14483
|
+
onEnd: z42__namespace.optional(SetupPaymentOnEnd$outboundSchema)
|
|
14387
14484
|
}),
|
|
14388
14485
|
z42__namespace.transform((v) => {
|
|
14389
14486
|
return remap(v, {
|
|
14390
14487
|
durationLength: "duration_length",
|
|
14391
14488
|
durationType: "duration_type",
|
|
14392
|
-
cardRequired: "card_required"
|
|
14489
|
+
cardRequired: "card_required",
|
|
14490
|
+
onEnd: "on_end"
|
|
14393
14491
|
});
|
|
14394
14492
|
})
|
|
14395
14493
|
);
|
|
@@ -16150,6 +16248,10 @@ var UpdatePlanDurationTypeRequest = {
|
|
|
16150
16248
|
Month: "month",
|
|
16151
16249
|
Year: "year"
|
|
16152
16250
|
};
|
|
16251
|
+
var UpdatePlanOnEndRequest = {
|
|
16252
|
+
Bill: "bill",
|
|
16253
|
+
Revert: "revert"
|
|
16254
|
+
};
|
|
16153
16255
|
var UpdatePlanPriceIntervalResponse = {
|
|
16154
16256
|
OneOff: "one_off",
|
|
16155
16257
|
Week: "week",
|
|
@@ -16201,6 +16303,10 @@ var UpdatePlanDurationTypeResponse = {
|
|
|
16201
16303
|
Month: "month",
|
|
16202
16304
|
Year: "year"
|
|
16203
16305
|
};
|
|
16306
|
+
var UpdatePlanOnEndResponse = {
|
|
16307
|
+
Bill: "bill",
|
|
16308
|
+
Revert: "revert"
|
|
16309
|
+
};
|
|
16204
16310
|
var UpdatePlanEnv = {
|
|
16205
16311
|
Sandbox: "sandbox",
|
|
16206
16312
|
Live: "live"
|
|
@@ -16363,6 +16469,7 @@ function updatePlanPlanItemToJSON(updatePlanPlanItem) {
|
|
|
16363
16469
|
);
|
|
16364
16470
|
}
|
|
16365
16471
|
var UpdatePlanDurationTypeRequest$outboundSchema = z42__namespace.enum(UpdatePlanDurationTypeRequest);
|
|
16472
|
+
var UpdatePlanOnEndRequest$outboundSchema = z42__namespace.enum(UpdatePlanOnEndRequest);
|
|
16366
16473
|
var UpdatePlanFreeTrialParams$outboundSchema = z42__namespace.pipe(
|
|
16367
16474
|
z42__namespace.object({
|
|
16368
16475
|
durationLength: z42__namespace.number(),
|
|
@@ -16370,13 +16477,15 @@ var UpdatePlanFreeTrialParams$outboundSchema = z42__namespace.pipe(
|
|
|
16370
16477
|
UpdatePlanDurationTypeRequest$outboundSchema,
|
|
16371
16478
|
"month"
|
|
16372
16479
|
),
|
|
16373
|
-
cardRequired: z42__namespace._default(z42__namespace.boolean(), true)
|
|
16480
|
+
cardRequired: z42__namespace._default(z42__namespace.boolean(), true),
|
|
16481
|
+
onEnd: z42__namespace.optional(UpdatePlanOnEndRequest$outboundSchema)
|
|
16374
16482
|
}),
|
|
16375
16483
|
z42__namespace.transform((v) => {
|
|
16376
16484
|
return remap(v, {
|
|
16377
16485
|
durationLength: "duration_length",
|
|
16378
16486
|
durationType: "duration_type",
|
|
16379
|
-
cardRequired: "card_required"
|
|
16487
|
+
cardRequired: "card_required",
|
|
16488
|
+
onEnd: "on_end"
|
|
16380
16489
|
});
|
|
16381
16490
|
})
|
|
16382
16491
|
);
|
|
@@ -16655,17 +16764,20 @@ function updatePlanItemFromJSON(jsonString) {
|
|
|
16655
16764
|
);
|
|
16656
16765
|
}
|
|
16657
16766
|
var UpdatePlanDurationTypeResponse$inboundSchema = inboundSchema(UpdatePlanDurationTypeResponse);
|
|
16767
|
+
var UpdatePlanOnEndResponse$inboundSchema = inboundSchema(UpdatePlanOnEndResponse);
|
|
16658
16768
|
var UpdatePlanFreeTrial$inboundSchema = z42__namespace.pipe(
|
|
16659
16769
|
z42__namespace.object({
|
|
16660
16770
|
duration_length: number2(),
|
|
16661
16771
|
duration_type: UpdatePlanDurationTypeResponse$inboundSchema,
|
|
16662
|
-
card_required: boolean2()
|
|
16772
|
+
card_required: boolean2(),
|
|
16773
|
+
on_end: z42__namespace.optional(z42__namespace.nullable(UpdatePlanOnEndResponse$inboundSchema))
|
|
16663
16774
|
}),
|
|
16664
16775
|
z42__namespace.transform((v) => {
|
|
16665
16776
|
return remap(v, {
|
|
16666
16777
|
"duration_length": "durationLength",
|
|
16667
16778
|
"duration_type": "durationType",
|
|
16668
|
-
"card_required": "cardRequired"
|
|
16779
|
+
"card_required": "cardRequired",
|
|
16780
|
+
"on_end": "onEnd"
|
|
16669
16781
|
});
|
|
16670
16782
|
})
|
|
16671
16783
|
);
|
|
@@ -18641,7 +18753,7 @@ var Billing = class extends ClientSDK {
|
|
|
18641
18753
|
* @example
|
|
18642
18754
|
* ```typescript
|
|
18643
18755
|
* // Schedule a transition from a trial plan to a paid plan
|
|
18644
|
-
* const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":
|
|
18756
|
+
* const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1778871536585,"plans":[{"planId":"trial_plan"}]},{"startsAt":1780081136585,"plans":[{"planId":"pro_plan"}]}] });
|
|
18645
18757
|
* ```
|
|
18646
18758
|
*
|
|
18647
18759
|
* @param customerId - The ID of the customer to create the schedule for.
|
|
@@ -21577,6 +21689,8 @@ exports.AttachItemTier$outboundSchema = AttachItemTier$outboundSchema;
|
|
|
21577
21689
|
exports.AttachItemTierBehavior = AttachItemTierBehavior;
|
|
21578
21690
|
exports.AttachItemTierBehavior$outboundSchema = AttachItemTierBehavior$outboundSchema;
|
|
21579
21691
|
exports.AttachItemTo$outboundSchema = AttachItemTo$outboundSchema;
|
|
21692
|
+
exports.AttachOnEnd = AttachOnEnd;
|
|
21693
|
+
exports.AttachOnEnd$outboundSchema = AttachOnEnd$outboundSchema;
|
|
21580
21694
|
exports.AttachParams$outboundSchema = AttachParams$outboundSchema;
|
|
21581
21695
|
exports.AttachPlanItemFilter$outboundSchema = AttachPlanItemFilter$outboundSchema;
|
|
21582
21696
|
exports.AttachPlanSchedule = AttachPlanSchedule;
|
|
@@ -21669,6 +21783,8 @@ exports.BillingUpdateItemTier$outboundSchema = BillingUpdateItemTier$outboundSch
|
|
|
21669
21783
|
exports.BillingUpdateItemTierBehavior = BillingUpdateItemTierBehavior;
|
|
21670
21784
|
exports.BillingUpdateItemTierBehavior$outboundSchema = BillingUpdateItemTierBehavior$outboundSchema;
|
|
21671
21785
|
exports.BillingUpdateItemTo$outboundSchema = BillingUpdateItemTo$outboundSchema;
|
|
21786
|
+
exports.BillingUpdateOnEnd = BillingUpdateOnEnd;
|
|
21787
|
+
exports.BillingUpdateOnEnd$outboundSchema = BillingUpdateOnEnd$outboundSchema;
|
|
21672
21788
|
exports.BillingUpdatePlanItemFilter$outboundSchema = BillingUpdatePlanItemFilter$outboundSchema;
|
|
21673
21789
|
exports.BillingUpdatePriceInterval = BillingUpdatePriceInterval;
|
|
21674
21790
|
exports.BillingUpdatePriceInterval$outboundSchema = BillingUpdatePriceInterval$outboundSchema;
|
|
@@ -21709,6 +21825,10 @@ exports.CheckOnDecrease1 = CheckOnDecrease1;
|
|
|
21709
21825
|
exports.CheckOnDecrease1$inboundSchema = CheckOnDecrease1$inboundSchema;
|
|
21710
21826
|
exports.CheckOnDecrease2 = CheckOnDecrease2;
|
|
21711
21827
|
exports.CheckOnDecrease2$inboundSchema = CheckOnDecrease2$inboundSchema;
|
|
21828
|
+
exports.CheckOnEnd1 = CheckOnEnd1;
|
|
21829
|
+
exports.CheckOnEnd1$inboundSchema = CheckOnEnd1$inboundSchema;
|
|
21830
|
+
exports.CheckOnEnd2 = CheckOnEnd2;
|
|
21831
|
+
exports.CheckOnEnd2$inboundSchema = CheckOnEnd2$inboundSchema;
|
|
21712
21832
|
exports.CheckOnIncrease1 = CheckOnIncrease1;
|
|
21713
21833
|
exports.CheckOnIncrease1$inboundSchema = CheckOnIncrease1$inboundSchema;
|
|
21714
21834
|
exports.CheckOnIncrease2 = CheckOnIncrease2;
|
|
@@ -21806,6 +21926,10 @@ exports.CreatePlanItemPriceRequest$outboundSchema = CreatePlanItemPriceRequest$o
|
|
|
21806
21926
|
exports.CreatePlanItemPriceResponse$inboundSchema = CreatePlanItemPriceResponse$inboundSchema;
|
|
21807
21927
|
exports.CreatePlanOnDecrease = CreatePlanOnDecrease;
|
|
21808
21928
|
exports.CreatePlanOnDecrease$outboundSchema = CreatePlanOnDecrease$outboundSchema;
|
|
21929
|
+
exports.CreatePlanOnEndRequest = CreatePlanOnEndRequest;
|
|
21930
|
+
exports.CreatePlanOnEndRequest$outboundSchema = CreatePlanOnEndRequest$outboundSchema;
|
|
21931
|
+
exports.CreatePlanOnEndResponse = CreatePlanOnEndResponse;
|
|
21932
|
+
exports.CreatePlanOnEndResponse$inboundSchema = CreatePlanOnEndResponse$inboundSchema;
|
|
21809
21933
|
exports.CreatePlanOnIncrease = CreatePlanOnIncrease;
|
|
21810
21934
|
exports.CreatePlanOnIncrease$outboundSchema = CreatePlanOnIncrease$outboundSchema;
|
|
21811
21935
|
exports.CreatePlanParams$outboundSchema = CreatePlanParams$outboundSchema;
|
|
@@ -22076,6 +22200,8 @@ exports.GetPlanFreeTrial$inboundSchema = GetPlanFreeTrial$inboundSchema;
|
|
|
22076
22200
|
exports.GetPlanItem$inboundSchema = GetPlanItem$inboundSchema;
|
|
22077
22201
|
exports.GetPlanItemDisplay$inboundSchema = GetPlanItemDisplay$inboundSchema;
|
|
22078
22202
|
exports.GetPlanItemPrice$inboundSchema = GetPlanItemPrice$inboundSchema;
|
|
22203
|
+
exports.GetPlanOnEnd = GetPlanOnEnd;
|
|
22204
|
+
exports.GetPlanOnEnd$inboundSchema = GetPlanOnEnd$inboundSchema;
|
|
22079
22205
|
exports.GetPlanParams$outboundSchema = GetPlanParams$outboundSchema;
|
|
22080
22206
|
exports.GetPlanPrice$inboundSchema = GetPlanPrice$inboundSchema;
|
|
22081
22207
|
exports.GetPlanPriceDisplay$inboundSchema = GetPlanPriceDisplay$inboundSchema;
|
|
@@ -22206,6 +22332,8 @@ exports.ListPlansItem$inboundSchema = ListPlansItem$inboundSchema;
|
|
|
22206
22332
|
exports.ListPlansItemDisplay$inboundSchema = ListPlansItemDisplay$inboundSchema;
|
|
22207
22333
|
exports.ListPlansItemPrice$inboundSchema = ListPlansItemPrice$inboundSchema;
|
|
22208
22334
|
exports.ListPlansList$inboundSchema = ListPlansList$inboundSchema;
|
|
22335
|
+
exports.ListPlansOnEnd = ListPlansOnEnd;
|
|
22336
|
+
exports.ListPlansOnEnd$inboundSchema = ListPlansOnEnd$inboundSchema;
|
|
22209
22337
|
exports.ListPlansParams$outboundSchema = ListPlansParams$outboundSchema;
|
|
22210
22338
|
exports.ListPlansPrice$inboundSchema = ListPlansPrice$inboundSchema;
|
|
22211
22339
|
exports.ListPlansPriceDisplay$inboundSchema = ListPlansPriceDisplay$inboundSchema;
|
|
@@ -22245,6 +22373,8 @@ exports.MultiAttachItemPriceInterval = MultiAttachItemPriceInterval;
|
|
|
22245
22373
|
exports.MultiAttachItemPriceInterval$outboundSchema = MultiAttachItemPriceInterval$outboundSchema;
|
|
22246
22374
|
exports.MultiAttachOnDecrease = MultiAttachOnDecrease;
|
|
22247
22375
|
exports.MultiAttachOnDecrease$outboundSchema = MultiAttachOnDecrease$outboundSchema;
|
|
22376
|
+
exports.MultiAttachOnEnd = MultiAttachOnEnd;
|
|
22377
|
+
exports.MultiAttachOnEnd$outboundSchema = MultiAttachOnEnd$outboundSchema;
|
|
22248
22378
|
exports.MultiAttachOnIncrease = MultiAttachOnIncrease;
|
|
22249
22379
|
exports.MultiAttachOnIncrease$outboundSchema = MultiAttachOnIncrease$outboundSchema;
|
|
22250
22380
|
exports.MultiAttachOverageAllowed$outboundSchema = MultiAttachOverageAllowed$outboundSchema;
|
|
@@ -22271,6 +22401,8 @@ exports.MultiAttachTierBehavior = MultiAttachTierBehavior;
|
|
|
22271
22401
|
exports.MultiAttachTierBehavior$outboundSchema = MultiAttachTierBehavior$outboundSchema;
|
|
22272
22402
|
exports.MultiAttachTo$outboundSchema = MultiAttachTo$outboundSchema;
|
|
22273
22403
|
exports.MultiAttachUsageAlert$outboundSchema = MultiAttachUsageAlert$outboundSchema;
|
|
22404
|
+
exports.OnEnd = OnEnd;
|
|
22405
|
+
exports.OnEnd$inboundSchema = OnEnd$inboundSchema;
|
|
22274
22406
|
exports.OpenCustomerPortalParams$outboundSchema = OpenCustomerPortalParams$outboundSchema;
|
|
22275
22407
|
exports.OpenCustomerPortalResponse$inboundSchema = OpenCustomerPortalResponse$inboundSchema;
|
|
22276
22408
|
exports.Phase$outboundSchema = Phase$outboundSchema;
|
|
@@ -22372,6 +22504,8 @@ exports.PreviewAttachNextCycle$inboundSchema = PreviewAttachNextCycle$inboundSch
|
|
|
22372
22504
|
exports.PreviewAttachNextCycleDiscount$inboundSchema = PreviewAttachNextCycleDiscount$inboundSchema;
|
|
22373
22505
|
exports.PreviewAttachNextCycleLineItem$inboundSchema = PreviewAttachNextCycleLineItem$inboundSchema;
|
|
22374
22506
|
exports.PreviewAttachNextCycleLineItemPeriod$inboundSchema = PreviewAttachNextCycleLineItemPeriod$inboundSchema;
|
|
22507
|
+
exports.PreviewAttachOnEnd = PreviewAttachOnEnd;
|
|
22508
|
+
exports.PreviewAttachOnEnd$outboundSchema = PreviewAttachOnEnd$outboundSchema;
|
|
22375
22509
|
exports.PreviewAttachOutgoing$inboundSchema = PreviewAttachOutgoing$inboundSchema;
|
|
22376
22510
|
exports.PreviewAttachOutgoingFeatureQuantity$inboundSchema = PreviewAttachOutgoingFeatureQuantity$inboundSchema;
|
|
22377
22511
|
exports.PreviewAttachParams$outboundSchema = PreviewAttachParams$outboundSchema;
|
|
@@ -22423,6 +22557,8 @@ exports.PreviewMultiAttachNextCycleLineItem$inboundSchema = PreviewMultiAttachNe
|
|
|
22423
22557
|
exports.PreviewMultiAttachNextCycleLineItemPeriod$inboundSchema = PreviewMultiAttachNextCycleLineItemPeriod$inboundSchema;
|
|
22424
22558
|
exports.PreviewMultiAttachOnDecrease = PreviewMultiAttachOnDecrease;
|
|
22425
22559
|
exports.PreviewMultiAttachOnDecrease$outboundSchema = PreviewMultiAttachOnDecrease$outboundSchema;
|
|
22560
|
+
exports.PreviewMultiAttachOnEnd = PreviewMultiAttachOnEnd;
|
|
22561
|
+
exports.PreviewMultiAttachOnEnd$outboundSchema = PreviewMultiAttachOnEnd$outboundSchema;
|
|
22426
22562
|
exports.PreviewMultiAttachOnIncrease = PreviewMultiAttachOnIncrease;
|
|
22427
22563
|
exports.PreviewMultiAttachOnIncrease$outboundSchema = PreviewMultiAttachOnIncrease$outboundSchema;
|
|
22428
22564
|
exports.PreviewMultiAttachOutgoing$inboundSchema = PreviewMultiAttachOutgoing$inboundSchema;
|
|
@@ -22518,6 +22654,8 @@ exports.PreviewUpdateNextCycle$inboundSchema = PreviewUpdateNextCycle$inboundSch
|
|
|
22518
22654
|
exports.PreviewUpdateNextCycleDiscount$inboundSchema = PreviewUpdateNextCycleDiscount$inboundSchema;
|
|
22519
22655
|
exports.PreviewUpdateNextCycleLineItem$inboundSchema = PreviewUpdateNextCycleLineItem$inboundSchema;
|
|
22520
22656
|
exports.PreviewUpdateNextCycleLineItemPeriod$inboundSchema = PreviewUpdateNextCycleLineItemPeriod$inboundSchema;
|
|
22657
|
+
exports.PreviewUpdateOnEnd = PreviewUpdateOnEnd;
|
|
22658
|
+
exports.PreviewUpdateOnEnd$outboundSchema = PreviewUpdateOnEnd$outboundSchema;
|
|
22521
22659
|
exports.PreviewUpdateOutgoing$inboundSchema = PreviewUpdateOutgoing$inboundSchema;
|
|
22522
22660
|
exports.PreviewUpdateOutgoingFeatureQuantity$inboundSchema = PreviewUpdateOutgoingFeatureQuantity$inboundSchema;
|
|
22523
22661
|
exports.PreviewUpdateParams$outboundSchema = PreviewUpdateParams$outboundSchema;
|
|
@@ -22628,6 +22766,8 @@ exports.SetupPaymentItemTier$outboundSchema = SetupPaymentItemTier$outboundSchem
|
|
|
22628
22766
|
exports.SetupPaymentItemTierBehavior = SetupPaymentItemTierBehavior;
|
|
22629
22767
|
exports.SetupPaymentItemTierBehavior$outboundSchema = SetupPaymentItemTierBehavior$outboundSchema;
|
|
22630
22768
|
exports.SetupPaymentItemTo$outboundSchema = SetupPaymentItemTo$outboundSchema;
|
|
22769
|
+
exports.SetupPaymentOnEnd = SetupPaymentOnEnd;
|
|
22770
|
+
exports.SetupPaymentOnEnd$outboundSchema = SetupPaymentOnEnd$outboundSchema;
|
|
22631
22771
|
exports.SetupPaymentParams$outboundSchema = SetupPaymentParams$outboundSchema;
|
|
22632
22772
|
exports.SetupPaymentPlanItemFilter$outboundSchema = SetupPaymentPlanItemFilter$outboundSchema;
|
|
22633
22773
|
exports.SetupPaymentPriceInterval = SetupPaymentPriceInterval;
|
|
@@ -22776,6 +22916,10 @@ exports.UpdatePlanItemPriceIntervalRequest$outboundSchema = UpdatePlanItemPriceI
|
|
|
22776
22916
|
exports.UpdatePlanItemPriceResponse$inboundSchema = UpdatePlanItemPriceResponse$inboundSchema;
|
|
22777
22917
|
exports.UpdatePlanOnDecrease = UpdatePlanOnDecrease;
|
|
22778
22918
|
exports.UpdatePlanOnDecrease$outboundSchema = UpdatePlanOnDecrease$outboundSchema;
|
|
22919
|
+
exports.UpdatePlanOnEndRequest = UpdatePlanOnEndRequest;
|
|
22920
|
+
exports.UpdatePlanOnEndRequest$outboundSchema = UpdatePlanOnEndRequest$outboundSchema;
|
|
22921
|
+
exports.UpdatePlanOnEndResponse = UpdatePlanOnEndResponse;
|
|
22922
|
+
exports.UpdatePlanOnEndResponse$inboundSchema = UpdatePlanOnEndResponse$inboundSchema;
|
|
22779
22923
|
exports.UpdatePlanOnIncrease = UpdatePlanOnIncrease;
|
|
22780
22924
|
exports.UpdatePlanOnIncrease$outboundSchema = UpdatePlanOnIncrease$outboundSchema;
|
|
22781
22925
|
exports.UpdatePlanParams$outboundSchema = UpdatePlanParams$outboundSchema;
|