autumn-js 1.3.37 → 1.3.39
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 +2206 -412
- package/dist/backend/adapters/express.mjs +4 -4
- package/dist/backend/adapters/fetch.js +2206 -412
- package/dist/backend/adapters/fetch.mjs +4 -4
- package/dist/backend/adapters/hono.js +2206 -412
- package/dist/backend/adapters/hono.mjs +4 -4
- package/dist/backend/adapters/index.js +2206 -412
- package/dist/backend/adapters/index.mjs +7 -7
- package/dist/backend/adapters/next.js +2206 -412
- package/dist/backend/adapters/next.mjs +4 -4
- package/dist/backend/{chunk-FFYCTJNC.mjs → chunk-CHQNLV4Z.mjs} +1 -1
- package/dist/backend/{chunk-R3K32CGC.mjs → chunk-CXORULL5.mjs} +1 -1
- package/dist/backend/{chunk-U3ZGNGOC.mjs → chunk-FRZKPG6L.mjs} +1 -1
- package/dist/backend/{chunk-WEQOYACF.mjs → chunk-I45H2FVH.mjs} +1 -1
- package/dist/backend/{chunk-FHTBT3PQ.mjs → chunk-KQUDJM2H.mjs} +2206 -412
- package/dist/backend/{chunk-UMFFNC2A.mjs → chunk-N2ODBOKM.mjs} +1 -1
- package/dist/backend/{chunk-5O52SB6D.mjs → chunk-Y752GSEA.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 +2206 -412
- package/dist/backend/core/handlers/coreHandler.mjs +2 -2
- 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/handleRouteByName.js +2206 -412
- package/dist/backend/core/handlers/handleRouteByName.mjs +2 -2
- 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 +2206 -412
- package/dist/backend/core/handlers/index.mjs +3 -3
- package/dist/backend/core/index.d.mts +1 -1
- package/dist/backend/core/index.d.ts +1 -1
- package/dist/backend/core/index.js +2206 -412
- package/dist/backend/core/index.mjs +3 -3
- 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/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/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/index.d.mts +2 -2
- package/dist/backend/index.d.ts +2 -2
- package/dist/backend/index.js +2206 -412
- package/dist/backend/index.mjs +3 -3
- package/dist/backend/{routeTypes-DCQKUwXj.d.mts → routeTypes-C90LbFI_.d.mts} +8312 -6386
- package/dist/backend/{routeTypes-DZCHHDxf.d.ts → routeTypes-Dr-THiSK.d.ts} +8312 -6386
- package/dist/better-auth/{chunk-45DYRSXB.mjs → chunk-55SS3VYE.mjs} +2206 -412
- package/dist/better-auth/index.js +2206 -412
- package/dist/better-auth/index.mjs +1 -1
- package/dist/better-auth/utils/handleBetterAuthRoute.js +2206 -412
- package/dist/better-auth/utils/handleBetterAuthRoute.mjs +1 -1
- package/dist/better-auth/utils/index.js +2206 -412
- package/dist/better-auth/utils/index.mjs +1 -1
- package/dist/sdk/index.d.mts +3376 -958
- package/dist/sdk/index.d.ts +3376 -958
- package/dist/sdk/index.js +28090 -25067
- package/dist/sdk/index.mjs +27473 -24768
- package/package.json +2 -2
|
@@ -81,8 +81,8 @@ var SDK_METADATA = {
|
|
|
81
81
|
language: "typescript",
|
|
82
82
|
openapiDocVersion: "2.4.0",
|
|
83
83
|
sdkVersion: "0.10.18",
|
|
84
|
-
genVersion: "2.
|
|
85
|
-
userAgent: "speakeasy-sdk/typescript 0.10.18 2.
|
|
84
|
+
genVersion: "2.884.13",
|
|
85
|
+
userAgent: "speakeasy-sdk/typescript 0.10.18 2.884.13 2.4.0 @useautumn/sdk"
|
|
86
86
|
};
|
|
87
87
|
|
|
88
88
|
// ../sdk/src/lib/http.ts
|
|
@@ -12576,7 +12576,7 @@ var CreatePlanDimensionsToItemRequestBodyEnum1 = {
|
|
|
12576
12576
|
var CreatePlanToItemRequestBodyEnum = {
|
|
12577
12577
|
Inf: "inf"
|
|
12578
12578
|
};
|
|
12579
|
-
var
|
|
12579
|
+
var CreatePlanPriceLicenseIntervalRequestBody = {
|
|
12580
12580
|
OneOff: "one_off",
|
|
12581
12581
|
Week: "week",
|
|
12582
12582
|
Month: "month",
|
|
@@ -12584,7 +12584,7 @@ var CreatePlanPriceLicenseInterval = {
|
|
|
12584
12584
|
SemiAnnual: "semi_annual",
|
|
12585
12585
|
Year: "year"
|
|
12586
12586
|
};
|
|
12587
|
-
var
|
|
12587
|
+
var CreatePlanLicenseResetIntervalRequestBody = {
|
|
12588
12588
|
OneOff: "one_off",
|
|
12589
12589
|
Minute: "minute",
|
|
12590
12590
|
Hour: "hour",
|
|
@@ -12595,11 +12595,11 @@ var CreatePlanLicenseResetInterval = {
|
|
|
12595
12595
|
SemiAnnual: "semi_annual",
|
|
12596
12596
|
Year: "year"
|
|
12597
12597
|
};
|
|
12598
|
-
var
|
|
12598
|
+
var CreatePlanLicenseTierBehaviorRequestBody = {
|
|
12599
12599
|
Graduated: "graduated",
|
|
12600
12600
|
Volume: "volume"
|
|
12601
12601
|
};
|
|
12602
|
-
var
|
|
12602
|
+
var CreatePlanAddItemPriceIntervalRequestBody = {
|
|
12603
12603
|
OneOff: "one_off",
|
|
12604
12604
|
Week: "week",
|
|
12605
12605
|
Month: "month",
|
|
@@ -12607,47 +12607,47 @@ var CreatePlanLicenseAddItemPriceInterval = {
|
|
|
12607
12607
|
SemiAnnual: "semi_annual",
|
|
12608
12608
|
Year: "year"
|
|
12609
12609
|
};
|
|
12610
|
-
var
|
|
12610
|
+
var CreatePlanAddItemBillingMethodRequestBody = {
|
|
12611
12611
|
Prepaid: "prepaid",
|
|
12612
12612
|
UsageBased: "usage_based"
|
|
12613
12613
|
};
|
|
12614
|
-
var
|
|
12614
|
+
var CreatePlanLicenseOnIncreaseRequestBody = {
|
|
12615
12615
|
BillImmediately: "bill_immediately",
|
|
12616
12616
|
ProrateImmediately: "prorate_immediately",
|
|
12617
12617
|
ProrateNextCycle: "prorate_next_cycle",
|
|
12618
12618
|
BillNextCycle: "bill_next_cycle"
|
|
12619
12619
|
};
|
|
12620
|
-
var
|
|
12620
|
+
var CreatePlanLicenseOnDecreaseRequestBody = {
|
|
12621
12621
|
Prorate: "prorate",
|
|
12622
12622
|
ProrateImmediately: "prorate_immediately",
|
|
12623
12623
|
ProrateNextCycle: "prorate_next_cycle",
|
|
12624
12624
|
None: "none",
|
|
12625
12625
|
NoProrations: "no_prorations"
|
|
12626
12626
|
};
|
|
12627
|
-
var
|
|
12627
|
+
var CreatePlanLicenseExpiryDurationTypeRequestBody = {
|
|
12628
12628
|
Month: "month",
|
|
12629
12629
|
Forever: "forever"
|
|
12630
12630
|
};
|
|
12631
|
-
var
|
|
12631
|
+
var CreatePlanLicenseDurationRequestBody = {
|
|
12632
12632
|
Day: "day",
|
|
12633
12633
|
Week: "week",
|
|
12634
12634
|
Month: "month",
|
|
12635
12635
|
Year: "year"
|
|
12636
12636
|
};
|
|
12637
|
-
var
|
|
12637
|
+
var CreatePlanDimensionsToLicenseRequestBodyEnum2 = {
|
|
12638
12638
|
Inf: "inf"
|
|
12639
12639
|
};
|
|
12640
|
-
var
|
|
12640
|
+
var CreatePlanDimensionsToLicenseRequestBodyEnum1 = {
|
|
12641
12641
|
Inf: "inf"
|
|
12642
12642
|
};
|
|
12643
|
-
var
|
|
12643
|
+
var CreatePlanToLicenseRequestBodyEnum = {
|
|
12644
12644
|
Inf: "inf"
|
|
12645
12645
|
};
|
|
12646
|
-
var
|
|
12646
|
+
var CreatePlanRemoveItemBillingMethodRequestBody = {
|
|
12647
12647
|
Prepaid: "prepaid",
|
|
12648
12648
|
UsageBased: "usage_based"
|
|
12649
12649
|
};
|
|
12650
|
-
var
|
|
12650
|
+
var CreatePlanIntervalRemoveItemRequestBodyEnum2 = {
|
|
12651
12651
|
OneOff: "one_off",
|
|
12652
12652
|
Minute: "minute",
|
|
12653
12653
|
Hour: "hour",
|
|
@@ -12658,7 +12658,7 @@ var CreatePlanIntervalLicenseRemoveItemEnum2 = {
|
|
|
12658
12658
|
SemiAnnual: "semi_annual",
|
|
12659
12659
|
Year: "year"
|
|
12660
12660
|
};
|
|
12661
|
-
var
|
|
12661
|
+
var CreatePlanIntervalRemoveItemRequestBodyEnum1 = {
|
|
12662
12662
|
OneOff: "one_off",
|
|
12663
12663
|
Week: "week",
|
|
12664
12664
|
Month: "month",
|
|
@@ -13181,19 +13181,21 @@ var CreatePlanItemPlanItem$outboundSchema = z27.pipe(
|
|
|
13181
13181
|
});
|
|
13182
13182
|
})
|
|
13183
13183
|
);
|
|
13184
|
-
var
|
|
13185
|
-
|
|
13184
|
+
var CreatePlanPriceLicenseIntervalRequestBody$outboundSchema = z27.enum(
|
|
13185
|
+
CreatePlanPriceLicenseIntervalRequestBody
|
|
13186
|
+
);
|
|
13187
|
+
var CreatePlanLicenseAdditionalCurrencyRequestBody$outboundSchema = z27.object({
|
|
13186
13188
|
currency: z27.string(),
|
|
13187
13189
|
amount: z27.number()
|
|
13188
13190
|
});
|
|
13189
|
-
var
|
|
13191
|
+
var CreatePlanBasePriceRequestBody$outboundSchema = z27.pipe(
|
|
13190
13192
|
z27.object({
|
|
13191
13193
|
amount: z27.number(),
|
|
13192
|
-
interval:
|
|
13194
|
+
interval: CreatePlanPriceLicenseIntervalRequestBody$outboundSchema,
|
|
13193
13195
|
intervalCount: z27._default(z27.number(), 1),
|
|
13194
|
-
additionalCurrencies: z27.optional(
|
|
13195
|
-
|
|
13196
|
-
)
|
|
13196
|
+
additionalCurrencies: z27.optional(z27.array(z27.lazy(
|
|
13197
|
+
() => CreatePlanLicenseAdditionalCurrencyRequestBody$outboundSchema
|
|
13198
|
+
)))
|
|
13197
13199
|
}),
|
|
13198
13200
|
z27.transform((v) => {
|
|
13199
13201
|
return remap(v, {
|
|
@@ -13202,13 +13204,15 @@ var CreatePlanLicenseBasePrice$outboundSchema = z27.pipe(
|
|
|
13202
13204
|
});
|
|
13203
13205
|
})
|
|
13204
13206
|
);
|
|
13205
|
-
var
|
|
13207
|
+
var CreatePlanLicenseThresholdBillingRequestBody$outboundSchema = z27.object({
|
|
13206
13208
|
threshold: z27.number()
|
|
13207
13209
|
});
|
|
13208
|
-
var
|
|
13209
|
-
|
|
13210
|
+
var CreatePlanLicenseResetIntervalRequestBody$outboundSchema = z27.enum(
|
|
13211
|
+
CreatePlanLicenseResetIntervalRequestBody
|
|
13212
|
+
);
|
|
13213
|
+
var CreatePlanLicenseResetRequestBody$outboundSchema = z27.pipe(
|
|
13210
13214
|
z27.object({
|
|
13211
|
-
interval:
|
|
13215
|
+
interval: CreatePlanLicenseResetIntervalRequestBody$outboundSchema,
|
|
13212
13216
|
intervalCount: z27._default(z27.number(), 1)
|
|
13213
13217
|
}),
|
|
13214
13218
|
z27.transform((v) => {
|
|
@@ -13217,12 +13221,12 @@ var CreatePlanLicenseReset$outboundSchema = z27.pipe(
|
|
|
13217
13221
|
});
|
|
13218
13222
|
})
|
|
13219
13223
|
);
|
|
13220
|
-
var
|
|
13224
|
+
var CreatePlanAddItemAdditionalCurrencyRequestBody$outboundSchema = z27.object({
|
|
13221
13225
|
currency: z27.string(),
|
|
13222
13226
|
amount: z27.number()
|
|
13223
13227
|
});
|
|
13224
|
-
var
|
|
13225
|
-
var
|
|
13228
|
+
var CreatePlanLicensePriceToRequestBody$outboundSchema = smartUnion([z27.number(), z27.string()]);
|
|
13229
|
+
var CreatePlanLicenseTierAdditionalCurrencyRequestBody$outboundSchema = z27.pipe(
|
|
13226
13230
|
z27.object({
|
|
13227
13231
|
currency: z27.string(),
|
|
13228
13232
|
amount: z27.optional(z27.number()),
|
|
@@ -13234,13 +13238,13 @@ var CreatePlanLicenseTierAdditionalCurrency$outboundSchema = z27.pipe(
|
|
|
13234
13238
|
});
|
|
13235
13239
|
})
|
|
13236
13240
|
);
|
|
13237
|
-
var
|
|
13241
|
+
var CreatePlanLicensePriceTierRequestBody$outboundSchema = z27.pipe(
|
|
13238
13242
|
z27.object({
|
|
13239
13243
|
to: smartUnion([z27.number(), z27.string()]),
|
|
13240
13244
|
amount: z27.optional(z27.number()),
|
|
13241
13245
|
flatAmount: z27.optional(z27.number()),
|
|
13242
13246
|
additionalCurrencies: z27.optional(z27.array(z27.lazy(
|
|
13243
|
-
() =>
|
|
13247
|
+
() => CreatePlanLicenseTierAdditionalCurrencyRequestBody$outboundSchema
|
|
13244
13248
|
)))
|
|
13245
13249
|
}),
|
|
13246
13250
|
z27.transform((v) => {
|
|
@@ -13250,27 +13254,31 @@ var CreatePlanLicensePriceTier$outboundSchema = z27.pipe(
|
|
|
13250
13254
|
});
|
|
13251
13255
|
})
|
|
13252
13256
|
);
|
|
13253
|
-
var
|
|
13254
|
-
|
|
13255
|
-
|
|
13257
|
+
var CreatePlanLicenseTierBehaviorRequestBody$outboundSchema = z27.enum(
|
|
13258
|
+
CreatePlanLicenseTierBehaviorRequestBody
|
|
13259
|
+
);
|
|
13260
|
+
var CreatePlanAddItemPriceIntervalRequestBody$outboundSchema = z27.enum(
|
|
13261
|
+
CreatePlanAddItemPriceIntervalRequestBody
|
|
13256
13262
|
);
|
|
13257
|
-
var
|
|
13258
|
-
|
|
13263
|
+
var CreatePlanAddItemBillingMethodRequestBody$outboundSchema = z27.enum(
|
|
13264
|
+
CreatePlanAddItemBillingMethodRequestBody
|
|
13259
13265
|
);
|
|
13260
|
-
var
|
|
13266
|
+
var CreatePlanLicensePriceRequestBody$outboundSchema = z27.pipe(
|
|
13261
13267
|
z27.object({
|
|
13262
13268
|
amount: z27.optional(z27.number()),
|
|
13263
13269
|
additionalCurrencies: z27.optional(z27.array(z27.lazy(
|
|
13264
|
-
() =>
|
|
13270
|
+
() => CreatePlanAddItemAdditionalCurrencyRequestBody$outboundSchema
|
|
13265
13271
|
))),
|
|
13266
13272
|
tiers: z27.optional(z27.array(z27.lazy(
|
|
13267
|
-
() =>
|
|
13273
|
+
() => CreatePlanLicensePriceTierRequestBody$outboundSchema
|
|
13268
13274
|
))),
|
|
13269
|
-
tierBehavior: z27.optional(
|
|
13270
|
-
|
|
13275
|
+
tierBehavior: z27.optional(
|
|
13276
|
+
CreatePlanLicenseTierBehaviorRequestBody$outboundSchema
|
|
13277
|
+
),
|
|
13278
|
+
interval: CreatePlanAddItemPriceIntervalRequestBody$outboundSchema,
|
|
13271
13279
|
intervalCount: z27._default(z27.number(), 1),
|
|
13272
13280
|
billingUnits: z27._default(z27.number(), 1),
|
|
13273
|
-
billingMethod:
|
|
13281
|
+
billingMethod: CreatePlanAddItemBillingMethodRequestBody$outboundSchema,
|
|
13274
13282
|
maxPurchase: z27.optional(z27.nullable(z27.number()))
|
|
13275
13283
|
}),
|
|
13276
13284
|
z27.transform((v) => {
|
|
@@ -13284,12 +13292,16 @@ var CreatePlanLicensePrice$outboundSchema = z27.pipe(
|
|
|
13284
13292
|
});
|
|
13285
13293
|
})
|
|
13286
13294
|
);
|
|
13287
|
-
var
|
|
13288
|
-
|
|
13289
|
-
|
|
13295
|
+
var CreatePlanLicenseOnIncreaseRequestBody$outboundSchema = z27.enum(
|
|
13296
|
+
CreatePlanLicenseOnIncreaseRequestBody
|
|
13297
|
+
);
|
|
13298
|
+
var CreatePlanLicenseOnDecreaseRequestBody$outboundSchema = z27.enum(
|
|
13299
|
+
CreatePlanLicenseOnDecreaseRequestBody
|
|
13300
|
+
);
|
|
13301
|
+
var CreatePlanLicenseProrationRequestBody$outboundSchema = z27.pipe(
|
|
13290
13302
|
z27.object({
|
|
13291
|
-
onIncrease:
|
|
13292
|
-
onDecrease:
|
|
13303
|
+
onIncrease: CreatePlanLicenseOnIncreaseRequestBody$outboundSchema,
|
|
13304
|
+
onDecrease: CreatePlanLicenseOnDecreaseRequestBody$outboundSchema
|
|
13293
13305
|
}),
|
|
13294
13306
|
z27.transform((v) => {
|
|
13295
13307
|
return remap(v, {
|
|
@@ -13298,12 +13310,14 @@ var CreatePlanLicenseProration$outboundSchema = z27.pipe(
|
|
|
13298
13310
|
});
|
|
13299
13311
|
})
|
|
13300
13312
|
);
|
|
13301
|
-
var
|
|
13302
|
-
|
|
13313
|
+
var CreatePlanLicenseExpiryDurationTypeRequestBody$outboundSchema = z27.enum(
|
|
13314
|
+
CreatePlanLicenseExpiryDurationTypeRequestBody
|
|
13315
|
+
);
|
|
13316
|
+
var CreatePlanLicenseRolloverRequestBody$outboundSchema = z27.pipe(
|
|
13303
13317
|
z27.object({
|
|
13304
13318
|
max: z27.optional(z27.number()),
|
|
13305
13319
|
maxPercentage: z27.optional(z27.number()),
|
|
13306
|
-
expiryDurationType:
|
|
13320
|
+
expiryDurationType: CreatePlanLicenseExpiryDurationTypeRequestBody$outboundSchema,
|
|
13307
13321
|
expiryDurationLength: z27.optional(z27.number())
|
|
13308
13322
|
}),
|
|
13309
13323
|
z27.transform((v) => {
|
|
@@ -13314,13 +13328,13 @@ var CreatePlanLicenseRollover$outboundSchema = z27.pipe(
|
|
|
13314
13328
|
});
|
|
13315
13329
|
})
|
|
13316
13330
|
);
|
|
13317
|
-
var
|
|
13318
|
-
var
|
|
13319
|
-
duration:
|
|
13331
|
+
var CreatePlanLicenseDurationRequestBody$outboundSchema = z27.enum(CreatePlanLicenseDurationRequestBody);
|
|
13332
|
+
var CreatePlanLicenseExpiryRequestBody$outboundSchema = z27.object({
|
|
13333
|
+
duration: CreatePlanLicenseDurationRequestBody$outboundSchema,
|
|
13320
13334
|
length: z27.number()
|
|
13321
13335
|
});
|
|
13322
13336
|
var CreatePlanDimensionsLicenseMatch4$outboundSchema = smartUnion([z27.string(), z27.number(), z27.boolean()]);
|
|
13323
|
-
var
|
|
13337
|
+
var CreatePlanDimensionsLicenseRequestBody4$outboundSchema = z27.pipe(
|
|
13324
13338
|
z27.object({
|
|
13325
13339
|
match: z27.record(
|
|
13326
13340
|
z27.string(),
|
|
@@ -13336,13 +13350,18 @@ var CreatePlanDimensionsLicense4$outboundSchema = z27.pipe(
|
|
|
13336
13350
|
})
|
|
13337
13351
|
);
|
|
13338
13352
|
var CreatePlanDimensionsLicenseMatch3$outboundSchema = smartUnion([z27.string(), z27.number(), z27.boolean()]);
|
|
13339
|
-
var
|
|
13340
|
-
|
|
13341
|
-
|
|
13353
|
+
var CreatePlanDimensionsToLicenseRequestBodyEnum2$outboundSchema = z27.enum(
|
|
13354
|
+
CreatePlanDimensionsToLicenseRequestBodyEnum2
|
|
13355
|
+
);
|
|
13356
|
+
var CreatePlanDimensionsLicenseToRequestBodyUnion2$outboundSchema = smartUnion([
|
|
13357
|
+
z27.number(),
|
|
13358
|
+
CreatePlanDimensionsToLicenseRequestBodyEnum2$outboundSchema
|
|
13359
|
+
]);
|
|
13360
|
+
var CreatePlanDimensionsLicenseTierRequestBody2$outboundSchema = z27.pipe(
|
|
13342
13361
|
z27.object({
|
|
13343
13362
|
to: smartUnion([
|
|
13344
13363
|
z27.number(),
|
|
13345
|
-
|
|
13364
|
+
CreatePlanDimensionsToLicenseRequestBodyEnum2$outboundSchema
|
|
13346
13365
|
]),
|
|
13347
13366
|
creditCost: z27.number()
|
|
13348
13367
|
}),
|
|
@@ -13352,7 +13371,7 @@ var CreatePlanDimensionsLicenseTier2$outboundSchema = z27.pipe(
|
|
|
13352
13371
|
});
|
|
13353
13372
|
})
|
|
13354
13373
|
);
|
|
13355
|
-
var
|
|
13374
|
+
var CreatePlanDimensionsLicenseRequestBody3$outboundSchema = z27.pipe(
|
|
13356
13375
|
z27.object({
|
|
13357
13376
|
match: z27.record(
|
|
13358
13377
|
z27.string(),
|
|
@@ -13361,7 +13380,9 @@ var CreatePlanDimensionsLicense3$outboundSchema = z27.pipe(
|
|
|
13361
13380
|
priority: z27.optional(z27.int()),
|
|
13362
13381
|
tierBehavior: z27.literal("graduated"),
|
|
13363
13382
|
tiers: z27.array(
|
|
13364
|
-
z27.lazy(
|
|
13383
|
+
z27.lazy(
|
|
13384
|
+
() => CreatePlanDimensionsLicenseTierRequestBody2$outboundSchema
|
|
13385
|
+
)
|
|
13365
13386
|
)
|
|
13366
13387
|
}),
|
|
13367
13388
|
z27.transform((v) => {
|
|
@@ -13370,12 +13391,12 @@ var CreatePlanDimensionsLicense3$outboundSchema = z27.pipe(
|
|
|
13370
13391
|
});
|
|
13371
13392
|
})
|
|
13372
13393
|
);
|
|
13373
|
-
var
|
|
13374
|
-
z27.lazy(() =>
|
|
13375
|
-
z27.lazy(() =>
|
|
13394
|
+
var CreatePlanLicenseDimensionsRequestBodyUnion2$outboundSchema = smartUnion([
|
|
13395
|
+
z27.lazy(() => CreatePlanDimensionsLicenseRequestBody3$outboundSchema),
|
|
13396
|
+
z27.lazy(() => CreatePlanDimensionsLicenseRequestBody4$outboundSchema)
|
|
13376
13397
|
]);
|
|
13377
13398
|
var CreatePlanLicenseMultipliersMatch2$outboundSchema = smartUnion([z27.string(), z27.number(), z27.boolean()]);
|
|
13378
|
-
var
|
|
13399
|
+
var CreatePlanLicenseMultipliersRequestBody2$outboundSchema = z27.object({
|
|
13379
13400
|
match: z27.record(
|
|
13380
13401
|
z27.string(),
|
|
13381
13402
|
smartUnion([z27.string(), z27.number(), z27.boolean()])
|
|
@@ -13383,20 +13404,20 @@ var CreatePlanLicenseMultipliers2$outboundSchema = z27.object({
|
|
|
13383
13404
|
factor: z27.optional(z27.number()),
|
|
13384
13405
|
add: z27.optional(z27.number())
|
|
13385
13406
|
});
|
|
13386
|
-
var
|
|
13407
|
+
var CreatePlanCreditSchemaLicenseRequestBody2$outboundSchema = z27.pipe(
|
|
13387
13408
|
z27.object({
|
|
13388
13409
|
meteredFeatureId: z27.string(),
|
|
13389
13410
|
billingUnits: z27.optional(z27.number()),
|
|
13390
13411
|
dimensions: z27.optional(z27.record(
|
|
13391
13412
|
z27.string(),
|
|
13392
13413
|
smartUnion([
|
|
13393
|
-
z27.lazy(() =>
|
|
13394
|
-
z27.lazy(() =>
|
|
13414
|
+
z27.lazy(() => CreatePlanDimensionsLicenseRequestBody3$outboundSchema),
|
|
13415
|
+
z27.lazy(() => CreatePlanDimensionsLicenseRequestBody4$outboundSchema)
|
|
13395
13416
|
])
|
|
13396
13417
|
)),
|
|
13397
13418
|
multipliers: z27.optional(z27.record(
|
|
13398
13419
|
z27.string(),
|
|
13399
|
-
z27.lazy(() =>
|
|
13420
|
+
z27.lazy(() => CreatePlanLicenseMultipliersRequestBody2$outboundSchema)
|
|
13400
13421
|
)),
|
|
13401
13422
|
creditCost: z27.number()
|
|
13402
13423
|
}),
|
|
@@ -13409,7 +13430,7 @@ var CreatePlanCreditSchemaLicense2$outboundSchema = z27.pipe(
|
|
|
13409
13430
|
})
|
|
13410
13431
|
);
|
|
13411
13432
|
var CreatePlanDimensionsLicenseMatch2$outboundSchema = smartUnion([z27.string(), z27.number(), z27.boolean()]);
|
|
13412
|
-
var
|
|
13433
|
+
var CreatePlanDimensionsLicenseRequestBody2$outboundSchema = z27.pipe(
|
|
13413
13434
|
z27.object({
|
|
13414
13435
|
match: z27.record(
|
|
13415
13436
|
z27.string(),
|
|
@@ -13425,13 +13446,18 @@ var CreatePlanDimensionsLicense2$outboundSchema = z27.pipe(
|
|
|
13425
13446
|
})
|
|
13426
13447
|
);
|
|
13427
13448
|
var CreatePlanDimensionsLicenseMatch1$outboundSchema = smartUnion([z27.string(), z27.number(), z27.boolean()]);
|
|
13428
|
-
var
|
|
13429
|
-
|
|
13430
|
-
|
|
13449
|
+
var CreatePlanDimensionsToLicenseRequestBodyEnum1$outboundSchema = z27.enum(
|
|
13450
|
+
CreatePlanDimensionsToLicenseRequestBodyEnum1
|
|
13451
|
+
);
|
|
13452
|
+
var CreatePlanDimensionsLicenseToRequestBodyUnion1$outboundSchema = smartUnion([
|
|
13453
|
+
z27.number(),
|
|
13454
|
+
CreatePlanDimensionsToLicenseRequestBodyEnum1$outboundSchema
|
|
13455
|
+
]);
|
|
13456
|
+
var CreatePlanDimensionsLicenseTierRequestBody1$outboundSchema = z27.pipe(
|
|
13431
13457
|
z27.object({
|
|
13432
13458
|
to: smartUnion([
|
|
13433
13459
|
z27.number(),
|
|
13434
|
-
|
|
13460
|
+
CreatePlanDimensionsToLicenseRequestBodyEnum1$outboundSchema
|
|
13435
13461
|
]),
|
|
13436
13462
|
creditCost: z27.number()
|
|
13437
13463
|
}),
|
|
@@ -13441,7 +13467,7 @@ var CreatePlanDimensionsLicenseTier1$outboundSchema = z27.pipe(
|
|
|
13441
13467
|
});
|
|
13442
13468
|
})
|
|
13443
13469
|
);
|
|
13444
|
-
var
|
|
13470
|
+
var CreatePlanDimensionsLicenseRequestBody1$outboundSchema = z27.pipe(
|
|
13445
13471
|
z27.object({
|
|
13446
13472
|
match: z27.record(
|
|
13447
13473
|
z27.string(),
|
|
@@ -13450,7 +13476,9 @@ var CreatePlanDimensionsLicense1$outboundSchema = z27.pipe(
|
|
|
13450
13476
|
priority: z27.optional(z27.int()),
|
|
13451
13477
|
tierBehavior: z27.literal("graduated"),
|
|
13452
13478
|
tiers: z27.array(
|
|
13453
|
-
z27.lazy(
|
|
13479
|
+
z27.lazy(
|
|
13480
|
+
() => CreatePlanDimensionsLicenseTierRequestBody1$outboundSchema
|
|
13481
|
+
)
|
|
13454
13482
|
)
|
|
13455
13483
|
}),
|
|
13456
13484
|
z27.transform((v) => {
|
|
@@ -13459,12 +13487,12 @@ var CreatePlanDimensionsLicense1$outboundSchema = z27.pipe(
|
|
|
13459
13487
|
});
|
|
13460
13488
|
})
|
|
13461
13489
|
);
|
|
13462
|
-
var
|
|
13463
|
-
z27.lazy(() =>
|
|
13464
|
-
z27.lazy(() =>
|
|
13490
|
+
var CreatePlanLicenseDimensionsRequestBodyUnion1$outboundSchema = smartUnion([
|
|
13491
|
+
z27.lazy(() => CreatePlanDimensionsLicenseRequestBody1$outboundSchema),
|
|
13492
|
+
z27.lazy(() => CreatePlanDimensionsLicenseRequestBody2$outboundSchema)
|
|
13465
13493
|
]);
|
|
13466
13494
|
var CreatePlanLicenseMultipliersMatch1$outboundSchema = smartUnion([z27.string(), z27.number(), z27.boolean()]);
|
|
13467
|
-
var
|
|
13495
|
+
var CreatePlanLicenseMultipliersRequestBody1$outboundSchema = z27.object({
|
|
13468
13496
|
match: z27.record(
|
|
13469
13497
|
z27.string(),
|
|
13470
13498
|
smartUnion([z27.string(), z27.number(), z27.boolean()])
|
|
@@ -13472,11 +13500,17 @@ var CreatePlanLicenseMultipliers1$outboundSchema = z27.object({
|
|
|
13472
13500
|
factor: z27.optional(z27.number()),
|
|
13473
13501
|
add: z27.optional(z27.number())
|
|
13474
13502
|
});
|
|
13475
|
-
var
|
|
13476
|
-
var
|
|
13477
|
-
|
|
13503
|
+
var CreatePlanToLicenseRequestBodyEnum$outboundSchema = z27.enum(CreatePlanToLicenseRequestBodyEnum);
|
|
13504
|
+
var CreatePlanLicenseFeatureOverrideToRequestBodyUnion$outboundSchema = smartUnion([
|
|
13505
|
+
z27.number(),
|
|
13506
|
+
CreatePlanToLicenseRequestBodyEnum$outboundSchema
|
|
13507
|
+
]);
|
|
13508
|
+
var CreatePlanLicenseFeatureOverrideTierRequestBody$outboundSchema = z27.pipe(
|
|
13478
13509
|
z27.object({
|
|
13479
|
-
to: smartUnion([
|
|
13510
|
+
to: smartUnion([
|
|
13511
|
+
z27.number(),
|
|
13512
|
+
CreatePlanToLicenseRequestBodyEnum$outboundSchema
|
|
13513
|
+
]),
|
|
13480
13514
|
creditCost: z27.number()
|
|
13481
13515
|
}),
|
|
13482
13516
|
z27.transform((v) => {
|
|
@@ -13485,24 +13519,24 @@ var CreatePlanLicenseFeatureOverrideTier$outboundSchema = z27.pipe(
|
|
|
13485
13519
|
});
|
|
13486
13520
|
})
|
|
13487
13521
|
);
|
|
13488
|
-
var
|
|
13522
|
+
var CreatePlanCreditSchemaLicenseRequestBody1$outboundSchema = z27.pipe(
|
|
13489
13523
|
z27.object({
|
|
13490
13524
|
meteredFeatureId: z27.string(),
|
|
13491
13525
|
billingUnits: z27.optional(z27.number()),
|
|
13492
13526
|
dimensions: z27.optional(z27.record(
|
|
13493
13527
|
z27.string(),
|
|
13494
13528
|
smartUnion([
|
|
13495
|
-
z27.lazy(() =>
|
|
13496
|
-
z27.lazy(() =>
|
|
13529
|
+
z27.lazy(() => CreatePlanDimensionsLicenseRequestBody1$outboundSchema),
|
|
13530
|
+
z27.lazy(() => CreatePlanDimensionsLicenseRequestBody2$outboundSchema)
|
|
13497
13531
|
])
|
|
13498
13532
|
)),
|
|
13499
13533
|
multipliers: z27.optional(z27.record(
|
|
13500
13534
|
z27.string(),
|
|
13501
|
-
z27.lazy(() =>
|
|
13535
|
+
z27.lazy(() => CreatePlanLicenseMultipliersRequestBody1$outboundSchema)
|
|
13502
13536
|
)),
|
|
13503
13537
|
tierBehavior: z27.literal("graduated"),
|
|
13504
13538
|
tiers: z27.array(z27.lazy(
|
|
13505
|
-
() =>
|
|
13539
|
+
() => CreatePlanLicenseFeatureOverrideTierRequestBody$outboundSchema
|
|
13506
13540
|
))
|
|
13507
13541
|
}),
|
|
13508
13542
|
z27.transform((v) => {
|
|
@@ -13513,14 +13547,14 @@ var CreatePlanCreditSchemaLicense1$outboundSchema = z27.pipe(
|
|
|
13513
13547
|
});
|
|
13514
13548
|
})
|
|
13515
13549
|
);
|
|
13516
|
-
var
|
|
13517
|
-
z27.lazy(() =>
|
|
13518
|
-
z27.lazy(() =>
|
|
13550
|
+
var CreatePlanLicenseCreditSchemaRequestBodyUnion$outboundSchema = smartUnion([
|
|
13551
|
+
z27.lazy(() => CreatePlanCreditSchemaLicenseRequestBody1$outboundSchema),
|
|
13552
|
+
z27.lazy(() => CreatePlanCreditSchemaLicenseRequestBody2$outboundSchema)
|
|
13519
13553
|
]);
|
|
13520
|
-
var
|
|
13554
|
+
var CreatePlanLicenseProviderMarkupsRequestBody$outboundSchema = z27.object({
|
|
13521
13555
|
markup: z27.number()
|
|
13522
13556
|
});
|
|
13523
|
-
var
|
|
13557
|
+
var CreatePlanLicenseModelMarkupsRequestBody$outboundSchema = z27.pipe(
|
|
13524
13558
|
z27.object({
|
|
13525
13559
|
markup: z27.optional(z27.number()),
|
|
13526
13560
|
inputCost: z27.optional(z27.number()),
|
|
@@ -13533,16 +13567,16 @@ var CreatePlanLicenseModelMarkups$outboundSchema = z27.pipe(
|
|
|
13533
13567
|
});
|
|
13534
13568
|
})
|
|
13535
13569
|
);
|
|
13536
|
-
var
|
|
13570
|
+
var CreatePlanLicenseMarkupsRequestBody$outboundSchema = z27.pipe(
|
|
13537
13571
|
z27.object({
|
|
13538
13572
|
defaultMarkup: z27.optional(z27.number()),
|
|
13539
13573
|
providerMarkups: z27.optional(z27.nullable(z27.record(
|
|
13540
13574
|
z27.string(),
|
|
13541
|
-
z27.lazy(() =>
|
|
13575
|
+
z27.lazy(() => CreatePlanLicenseProviderMarkupsRequestBody$outboundSchema)
|
|
13542
13576
|
))),
|
|
13543
13577
|
modelMarkups: z27.optional(z27.nullable(z27.record(
|
|
13544
13578
|
z27.string(),
|
|
13545
|
-
z27.lazy(() =>
|
|
13579
|
+
z27.lazy(() => CreatePlanLicenseModelMarkupsRequestBody$outboundSchema)
|
|
13546
13580
|
)))
|
|
13547
13581
|
}),
|
|
13548
13582
|
z27.transform((v) => {
|
|
@@ -13553,16 +13587,16 @@ var CreatePlanLicenseMarkups$outboundSchema = z27.pipe(
|
|
|
13553
13587
|
});
|
|
13554
13588
|
})
|
|
13555
13589
|
);
|
|
13556
|
-
var
|
|
13590
|
+
var CreatePlanLicenseFeatureOverrideRequestBody$outboundSchema = z27.pipe(
|
|
13557
13591
|
z27.object({
|
|
13558
13592
|
creditSchema: z27.optional(z27.array(smartUnion([
|
|
13559
|
-
z27.lazy(() =>
|
|
13593
|
+
z27.lazy(() => CreatePlanCreditSchemaLicenseRequestBody1$outboundSchema),
|
|
13560
13594
|
z27.lazy(
|
|
13561
|
-
() =>
|
|
13595
|
+
() => CreatePlanCreditSchemaLicenseRequestBody2$outboundSchema
|
|
13562
13596
|
)
|
|
13563
13597
|
]))),
|
|
13564
13598
|
markups: z27.optional(z27.lazy(
|
|
13565
|
-
() =>
|
|
13599
|
+
() => CreatePlanLicenseMarkupsRequestBody$outboundSchema
|
|
13566
13600
|
))
|
|
13567
13601
|
}),
|
|
13568
13602
|
z27.transform((v) => {
|
|
@@ -13571,29 +13605,33 @@ var CreatePlanLicenseFeatureOverride$outboundSchema = z27.pipe(
|
|
|
13571
13605
|
});
|
|
13572
13606
|
})
|
|
13573
13607
|
);
|
|
13574
|
-
var
|
|
13608
|
+
var CreatePlanLicensePlanItemRequestBody$outboundSchema = z27.pipe(
|
|
13575
13609
|
z27.object({
|
|
13576
|
-
thresholdBilling: z27.optional(
|
|
13577
|
-
|
|
13578
|
-
|
|
13579
|
-
)
|
|
13580
|
-
),
|
|
13610
|
+
thresholdBilling: z27.optional(z27.nullable(z27.lazy(
|
|
13611
|
+
() => CreatePlanLicenseThresholdBillingRequestBody$outboundSchema
|
|
13612
|
+
))),
|
|
13581
13613
|
featureId: z27.string(),
|
|
13582
13614
|
included: z27.optional(z27.number()),
|
|
13583
13615
|
unlimited: z27.optional(z27.boolean()),
|
|
13584
13616
|
pooled: z27._default(z27.boolean(), false),
|
|
13585
|
-
reset: z27.optional(z27.lazy(
|
|
13586
|
-
|
|
13587
|
-
|
|
13588
|
-
|
|
13589
|
-
|
|
13590
|
-
|
|
13591
|
-
|
|
13592
|
-
|
|
13593
|
-
|
|
13594
|
-
|
|
13595
|
-
|
|
13596
|
-
)
|
|
13617
|
+
reset: z27.optional(z27.lazy(
|
|
13618
|
+
() => CreatePlanLicenseResetRequestBody$outboundSchema
|
|
13619
|
+
)),
|
|
13620
|
+
price: z27.optional(z27.lazy(
|
|
13621
|
+
() => CreatePlanLicensePriceRequestBody$outboundSchema
|
|
13622
|
+
)),
|
|
13623
|
+
proration: z27.optional(z27.lazy(
|
|
13624
|
+
() => CreatePlanLicenseProrationRequestBody$outboundSchema
|
|
13625
|
+
)),
|
|
13626
|
+
rollover: z27.optional(z27.lazy(
|
|
13627
|
+
() => CreatePlanLicenseRolloverRequestBody$outboundSchema
|
|
13628
|
+
)),
|
|
13629
|
+
expiry: z27.optional(z27.lazy(
|
|
13630
|
+
() => CreatePlanLicenseExpiryRequestBody$outboundSchema
|
|
13631
|
+
)),
|
|
13632
|
+
featureOverride: z27.optional(z27.lazy(
|
|
13633
|
+
() => CreatePlanLicenseFeatureOverrideRequestBody$outboundSchema
|
|
13634
|
+
))
|
|
13597
13635
|
}),
|
|
13598
13636
|
z27.transform((v) => {
|
|
13599
13637
|
return remap(v, {
|
|
@@ -13603,29 +13641,29 @@ var CreatePlanLicensePlanItem$outboundSchema = z27.pipe(
|
|
|
13603
13641
|
});
|
|
13604
13642
|
})
|
|
13605
13643
|
);
|
|
13606
|
-
var
|
|
13607
|
-
|
|
13644
|
+
var CreatePlanRemoveItemBillingMethodRequestBody$outboundSchema = z27.enum(
|
|
13645
|
+
CreatePlanRemoveItemBillingMethodRequestBody
|
|
13608
13646
|
);
|
|
13609
|
-
var
|
|
13610
|
-
|
|
13647
|
+
var CreatePlanIntervalRemoveItemRequestBodyEnum2$outboundSchema = z27.enum(
|
|
13648
|
+
CreatePlanIntervalRemoveItemRequestBodyEnum2
|
|
13611
13649
|
);
|
|
13612
|
-
var
|
|
13613
|
-
|
|
13650
|
+
var CreatePlanIntervalRemoveItemRequestBodyEnum1$outboundSchema = z27.enum(
|
|
13651
|
+
CreatePlanIntervalRemoveItemRequestBodyEnum1
|
|
13614
13652
|
);
|
|
13615
|
-
var
|
|
13616
|
-
|
|
13617
|
-
|
|
13653
|
+
var CreatePlanIntervalRequestBodyUnion$outboundSchema = smartUnion([
|
|
13654
|
+
CreatePlanIntervalRemoveItemRequestBodyEnum1$outboundSchema,
|
|
13655
|
+
CreatePlanIntervalRemoveItemRequestBodyEnum2$outboundSchema
|
|
13618
13656
|
]);
|
|
13619
|
-
var
|
|
13657
|
+
var CreatePlanPlanItemFilterRequestBody$outboundSchema = z27.pipe(
|
|
13620
13658
|
z27.object({
|
|
13621
13659
|
featureId: z27.optional(z27.string()),
|
|
13622
13660
|
billingMethod: z27.optional(
|
|
13623
|
-
|
|
13661
|
+
CreatePlanRemoveItemBillingMethodRequestBody$outboundSchema
|
|
13624
13662
|
),
|
|
13625
13663
|
interval: z27.optional(
|
|
13626
13664
|
smartUnion([
|
|
13627
|
-
|
|
13628
|
-
|
|
13665
|
+
CreatePlanIntervalRemoveItemRequestBodyEnum1$outboundSchema,
|
|
13666
|
+
CreatePlanIntervalRemoveItemRequestBodyEnum2$outboundSchema
|
|
13629
13667
|
])
|
|
13630
13668
|
),
|
|
13631
13669
|
intervalCount: z27.optional(z27.int()),
|
|
@@ -13639,16 +13677,18 @@ var CreatePlanLicensePlanItemFilter$outboundSchema = z27.pipe(
|
|
|
13639
13677
|
});
|
|
13640
13678
|
})
|
|
13641
13679
|
);
|
|
13642
|
-
var
|
|
13680
|
+
var CreatePlanCustomizeRequestBody$outboundSchema = z27.pipe(
|
|
13643
13681
|
z27.object({
|
|
13644
13682
|
price: z27.optional(
|
|
13645
|
-
z27.nullable(z27.lazy(() =>
|
|
13683
|
+
z27.nullable(z27.lazy(() => CreatePlanBasePriceRequestBody$outboundSchema))
|
|
13646
13684
|
),
|
|
13647
13685
|
addItems: z27.optional(
|
|
13648
|
-
z27.array(
|
|
13686
|
+
z27.array(
|
|
13687
|
+
z27.lazy(() => CreatePlanLicensePlanItemRequestBody$outboundSchema)
|
|
13688
|
+
)
|
|
13649
13689
|
),
|
|
13650
13690
|
removeItems: z27.optional(
|
|
13651
|
-
z27.array(z27.lazy(() =>
|
|
13691
|
+
z27.array(z27.lazy(() => CreatePlanPlanItemFilterRequestBody$outboundSchema))
|
|
13652
13692
|
)
|
|
13653
13693
|
}),
|
|
13654
13694
|
z27.transform((v) => {
|
|
@@ -13658,14 +13698,14 @@ var CreatePlanLicenseCustomize$outboundSchema = z27.pipe(
|
|
|
13658
13698
|
});
|
|
13659
13699
|
})
|
|
13660
13700
|
);
|
|
13661
|
-
var
|
|
13701
|
+
var CreatePlanLicenseRequest$outboundSchema = z27.pipe(
|
|
13662
13702
|
z27.object({
|
|
13663
13703
|
licensePlanId: z27.string(),
|
|
13664
13704
|
versionSlug: z27.optional(z27.string()),
|
|
13665
13705
|
included: z27.optional(z27.int()),
|
|
13666
13706
|
prepaidOnly: z27.optional(z27.boolean()),
|
|
13667
13707
|
customize: z27.optional(
|
|
13668
|
-
z27.nullable(z27.lazy(() =>
|
|
13708
|
+
z27.nullable(z27.lazy(() => CreatePlanCustomizeRequestBody$outboundSchema))
|
|
13669
13709
|
),
|
|
13670
13710
|
metadata: z27.optional(z27.record(z27.string(), z27.any()))
|
|
13671
13711
|
}),
|
|
@@ -13871,7 +13911,7 @@ var CreatePlanParams$outboundSchema = z27.pipe(
|
|
|
13871
13911
|
z27.array(z27.lazy(() => CreatePlanItemPlanItem$outboundSchema))
|
|
13872
13912
|
),
|
|
13873
13913
|
licenses: z27.optional(
|
|
13874
|
-
z27.array(z27.lazy(() =>
|
|
13914
|
+
z27.array(z27.lazy(() => CreatePlanLicenseRequest$outboundSchema))
|
|
13875
13915
|
),
|
|
13876
13916
|
freeTrial: z27.optional(z27.lazy(() => FreeTrialRequestBody$outboundSchema)),
|
|
13877
13917
|
config: z27.optional(
|
|
@@ -14142,17 +14182,17 @@ var CreatePlanVariantDetailsAddItemPriceInterval = {
|
|
|
14142
14182
|
SemiAnnual: "semi_annual",
|
|
14143
14183
|
Year: "year"
|
|
14144
14184
|
};
|
|
14145
|
-
var
|
|
14185
|
+
var CreatePlanVariantDetailsAddItemBillingMethod = {
|
|
14146
14186
|
Prepaid: "prepaid",
|
|
14147
14187
|
UsageBased: "usage_based"
|
|
14148
14188
|
};
|
|
14149
|
-
var
|
|
14189
|
+
var CreatePlanVariantDetailsOnIncrease = {
|
|
14150
14190
|
BillImmediately: "bill_immediately",
|
|
14151
14191
|
ProrateImmediately: "prorate_immediately",
|
|
14152
14192
|
ProrateNextCycle: "prorate_next_cycle",
|
|
14153
14193
|
BillNextCycle: "bill_next_cycle"
|
|
14154
14194
|
};
|
|
14155
|
-
var
|
|
14195
|
+
var CreatePlanVariantDetailsOnDecrease = {
|
|
14156
14196
|
Prorate: "prorate",
|
|
14157
14197
|
ProrateImmediately: "prorate_immediately",
|
|
14158
14198
|
ProrateNextCycle: "prorate_next_cycle",
|
|
@@ -14178,7 +14218,7 @@ var CreatePlanDimensionsToVariantDetailsEnum1 = {
|
|
|
14178
14218
|
var CreatePlanToVariantDetailsEnum = {
|
|
14179
14219
|
Inf: "inf"
|
|
14180
14220
|
};
|
|
14181
|
-
var
|
|
14221
|
+
var CreatePlanVariantDetailsRemoveItemBillingMethod = {
|
|
14182
14222
|
Prepaid: "prepaid",
|
|
14183
14223
|
UsageBased: "usage_based"
|
|
14184
14224
|
};
|
|
@@ -14903,7 +14943,7 @@ var CreatePlanVariantDetailsAdditionalCurrency$inboundSchema = z28.object(
|
|
|
14903
14943
|
amount: number2()
|
|
14904
14944
|
}
|
|
14905
14945
|
);
|
|
14906
|
-
var
|
|
14946
|
+
var CreatePlanVariantDetailsBasePrice$inboundSchema = z28.pipe(
|
|
14907
14947
|
z28.object({
|
|
14908
14948
|
amount: number2(),
|
|
14909
14949
|
interval: CreatePlanPriceVariantDetailsInterval$inboundSchema,
|
|
@@ -14934,7 +14974,7 @@ var CreatePlanVariantDetailsReset$inboundSchema = z28.pipe(
|
|
|
14934
14974
|
});
|
|
14935
14975
|
})
|
|
14936
14976
|
);
|
|
14937
|
-
var
|
|
14977
|
+
var CreatePlanVariantDetailsAddItemAdditionalCurrency$inboundSchema = z28.object({
|
|
14938
14978
|
currency: string5(),
|
|
14939
14979
|
amount: number2()
|
|
14940
14980
|
});
|
|
@@ -14969,12 +15009,12 @@ var CreatePlanVariantDetailsPriceTier$inboundSchema = z28.pipe(
|
|
|
14969
15009
|
);
|
|
14970
15010
|
var CreatePlanVariantDetailsTierBehavior$inboundSchema = inboundSchema(CreatePlanVariantDetailsTierBehavior);
|
|
14971
15011
|
var CreatePlanVariantDetailsAddItemPriceInterval$inboundSchema = inboundSchema(CreatePlanVariantDetailsAddItemPriceInterval);
|
|
14972
|
-
var
|
|
15012
|
+
var CreatePlanVariantDetailsAddItemBillingMethod$inboundSchema = inboundSchema(CreatePlanVariantDetailsAddItemBillingMethod);
|
|
14973
15013
|
var CreatePlanVariantDetailsPrice$inboundSchema = z28.pipe(
|
|
14974
15014
|
z28.object({
|
|
14975
15015
|
amount: optional3(number2()),
|
|
14976
15016
|
additional_currencies: optional3(z28.array(z28.lazy(
|
|
14977
|
-
() =>
|
|
15017
|
+
() => CreatePlanVariantDetailsAddItemAdditionalCurrency$inboundSchema
|
|
14978
15018
|
))),
|
|
14979
15019
|
tiers: optional3(z28.array(z28.lazy(
|
|
14980
15020
|
() => CreatePlanVariantDetailsPriceTier$inboundSchema
|
|
@@ -14985,7 +15025,7 @@ var CreatePlanVariantDetailsPrice$inboundSchema = z28.pipe(
|
|
|
14985
15025
|
interval: CreatePlanVariantDetailsAddItemPriceInterval$inboundSchema,
|
|
14986
15026
|
interval_count: z28._default(number2(), 1),
|
|
14987
15027
|
billing_units: z28._default(number2(), 1),
|
|
14988
|
-
billing_method:
|
|
15028
|
+
billing_method: CreatePlanVariantDetailsAddItemBillingMethod$inboundSchema,
|
|
14989
15029
|
max_purchase: z28.optional(z28.nullable(number2()))
|
|
14990
15030
|
}),
|
|
14991
15031
|
z28.transform((v) => {
|
|
@@ -14999,12 +15039,12 @@ var CreatePlanVariantDetailsPrice$inboundSchema = z28.pipe(
|
|
|
14999
15039
|
});
|
|
15000
15040
|
})
|
|
15001
15041
|
);
|
|
15002
|
-
var
|
|
15003
|
-
var
|
|
15004
|
-
var
|
|
15042
|
+
var CreatePlanVariantDetailsOnIncrease$inboundSchema = inboundSchema(CreatePlanVariantDetailsOnIncrease);
|
|
15043
|
+
var CreatePlanVariantDetailsOnDecrease$inboundSchema = inboundSchema(CreatePlanVariantDetailsOnDecrease);
|
|
15044
|
+
var CreatePlanVariantDetailsProration$inboundSchema = z28.pipe(
|
|
15005
15045
|
z28.object({
|
|
15006
|
-
on_increase:
|
|
15007
|
-
on_decrease:
|
|
15046
|
+
on_increase: CreatePlanVariantDetailsOnIncrease$inboundSchema,
|
|
15047
|
+
on_decrease: CreatePlanVariantDetailsOnDecrease$inboundSchema
|
|
15008
15048
|
}),
|
|
15009
15049
|
z28.transform((v) => {
|
|
15010
15050
|
return remap(v, {
|
|
@@ -15279,7 +15319,7 @@ var CreatePlanVariantDetailsFeatureOverride$inboundSchema = z28.pipe(
|
|
|
15279
15319
|
});
|
|
15280
15320
|
})
|
|
15281
15321
|
);
|
|
15282
|
-
var
|
|
15322
|
+
var CreatePlanVariantDetailsPlanItem$inboundSchema = z28.pipe(
|
|
15283
15323
|
z28.object({
|
|
15284
15324
|
threshold_billing: z28.optional(z28.nullable(z28.lazy(
|
|
15285
15325
|
() => CreatePlanVariantDetailsThresholdBilling$inboundSchema
|
|
@@ -15295,7 +15335,7 @@ var CreatePlanPlanItemResponse$inboundSchema = z28.pipe(
|
|
|
15295
15335
|
() => CreatePlanVariantDetailsPrice$inboundSchema
|
|
15296
15336
|
)),
|
|
15297
15337
|
proration: optional3(z28.lazy(
|
|
15298
|
-
() =>
|
|
15338
|
+
() => CreatePlanVariantDetailsProration$inboundSchema
|
|
15299
15339
|
)),
|
|
15300
15340
|
rollover: optional3(z28.lazy(
|
|
15301
15341
|
() => CreatePlanVariantDetailsRollover$inboundSchema
|
|
@@ -15315,18 +15355,18 @@ var CreatePlanPlanItemResponse$inboundSchema = z28.pipe(
|
|
|
15315
15355
|
});
|
|
15316
15356
|
})
|
|
15317
15357
|
);
|
|
15318
|
-
var
|
|
15358
|
+
var CreatePlanVariantDetailsRemoveItemBillingMethod$inboundSchema = inboundSchema(CreatePlanVariantDetailsRemoveItemBillingMethod);
|
|
15319
15359
|
var CreatePlanIntervalVariantDetailsRemoveItemEnum2$inboundSchema = inboundSchema(CreatePlanIntervalVariantDetailsRemoveItemEnum2);
|
|
15320
15360
|
var CreatePlanIntervalVariantDetailsRemoveItemEnum1$inboundSchema = inboundSchema(CreatePlanIntervalVariantDetailsRemoveItemEnum1);
|
|
15321
15361
|
var CreatePlanVariantDetailsIntervalUnion$inboundSchema = smartUnion([
|
|
15322
15362
|
CreatePlanIntervalVariantDetailsRemoveItemEnum1$inboundSchema,
|
|
15323
15363
|
CreatePlanIntervalVariantDetailsRemoveItemEnum2$inboundSchema
|
|
15324
15364
|
]);
|
|
15325
|
-
var
|
|
15365
|
+
var CreatePlanVariantDetailsPlanItemFilter$inboundSchema = z28.pipe(
|
|
15326
15366
|
z28.object({
|
|
15327
15367
|
feature_id: optional3(string5()),
|
|
15328
15368
|
billing_method: optional3(
|
|
15329
|
-
|
|
15369
|
+
CreatePlanVariantDetailsRemoveItemBillingMethod$inboundSchema
|
|
15330
15370
|
),
|
|
15331
15371
|
interval: optional3(
|
|
15332
15372
|
smartUnion([
|
|
@@ -15649,6 +15689,96 @@ var CreatePlanIntervalUpsertLicenseRemoveItemEnum1 = {
|
|
|
15649
15689
|
SemiAnnual: "semi_annual",
|
|
15650
15690
|
Year: "year"
|
|
15651
15691
|
};
|
|
15692
|
+
var CreatePlanPriceLicenseIntervalResponse = {
|
|
15693
|
+
OneOff: "one_off",
|
|
15694
|
+
Week: "week",
|
|
15695
|
+
Month: "month",
|
|
15696
|
+
Quarter: "quarter",
|
|
15697
|
+
SemiAnnual: "semi_annual",
|
|
15698
|
+
Year: "year"
|
|
15699
|
+
};
|
|
15700
|
+
var CreatePlanLicenseResetIntervalResponse = {
|
|
15701
|
+
OneOff: "one_off",
|
|
15702
|
+
Minute: "minute",
|
|
15703
|
+
Hour: "hour",
|
|
15704
|
+
Day: "day",
|
|
15705
|
+
Week: "week",
|
|
15706
|
+
Month: "month",
|
|
15707
|
+
Quarter: "quarter",
|
|
15708
|
+
SemiAnnual: "semi_annual",
|
|
15709
|
+
Year: "year"
|
|
15710
|
+
};
|
|
15711
|
+
var CreatePlanLicenseTierBehaviorResponse = {
|
|
15712
|
+
Graduated: "graduated",
|
|
15713
|
+
Volume: "volume"
|
|
15714
|
+
};
|
|
15715
|
+
var CreatePlanLicenseAddItemPriceIntervalResponse = {
|
|
15716
|
+
OneOff: "one_off",
|
|
15717
|
+
Week: "week",
|
|
15718
|
+
Month: "month",
|
|
15719
|
+
Quarter: "quarter",
|
|
15720
|
+
SemiAnnual: "semi_annual",
|
|
15721
|
+
Year: "year"
|
|
15722
|
+
};
|
|
15723
|
+
var CreatePlanLicenseAddItemBillingMethodResponse = {
|
|
15724
|
+
Prepaid: "prepaid",
|
|
15725
|
+
UsageBased: "usage_based"
|
|
15726
|
+
};
|
|
15727
|
+
var CreatePlanLicenseOnIncreaseResponse = {
|
|
15728
|
+
BillImmediately: "bill_immediately",
|
|
15729
|
+
ProrateImmediately: "prorate_immediately",
|
|
15730
|
+
ProrateNextCycle: "prorate_next_cycle",
|
|
15731
|
+
BillNextCycle: "bill_next_cycle"
|
|
15732
|
+
};
|
|
15733
|
+
var CreatePlanLicenseOnDecreaseResponse = {
|
|
15734
|
+
Prorate: "prorate",
|
|
15735
|
+
ProrateImmediately: "prorate_immediately",
|
|
15736
|
+
ProrateNextCycle: "prorate_next_cycle",
|
|
15737
|
+
None: "none",
|
|
15738
|
+
NoProrations: "no_prorations"
|
|
15739
|
+
};
|
|
15740
|
+
var CreatePlanLicenseExpiryDurationTypeResponse = {
|
|
15741
|
+
Month: "month",
|
|
15742
|
+
Forever: "forever"
|
|
15743
|
+
};
|
|
15744
|
+
var CreatePlanLicenseDurationResponse = {
|
|
15745
|
+
Day: "day",
|
|
15746
|
+
Week: "week",
|
|
15747
|
+
Month: "month",
|
|
15748
|
+
Year: "year"
|
|
15749
|
+
};
|
|
15750
|
+
var CreatePlanDimensionsToLicenseResponseEnum2 = {
|
|
15751
|
+
Inf: "inf"
|
|
15752
|
+
};
|
|
15753
|
+
var CreatePlanDimensionsToLicenseResponseEnum1 = {
|
|
15754
|
+
Inf: "inf"
|
|
15755
|
+
};
|
|
15756
|
+
var CreatePlanToLicenseResponseEnum = {
|
|
15757
|
+
Inf: "inf"
|
|
15758
|
+
};
|
|
15759
|
+
var CreatePlanLicenseRemoveItemBillingMethodResponse = {
|
|
15760
|
+
Prepaid: "prepaid",
|
|
15761
|
+
UsageBased: "usage_based"
|
|
15762
|
+
};
|
|
15763
|
+
var CreatePlanIntervalLicenseRemoveItemResponseEnum2 = {
|
|
15764
|
+
OneOff: "one_off",
|
|
15765
|
+
Minute: "minute",
|
|
15766
|
+
Hour: "hour",
|
|
15767
|
+
Day: "day",
|
|
15768
|
+
Week: "week",
|
|
15769
|
+
Month: "month",
|
|
15770
|
+
Quarter: "quarter",
|
|
15771
|
+
SemiAnnual: "semi_annual",
|
|
15772
|
+
Year: "year"
|
|
15773
|
+
};
|
|
15774
|
+
var CreatePlanIntervalLicenseRemoveItemResponseEnum1 = {
|
|
15775
|
+
OneOff: "one_off",
|
|
15776
|
+
Week: "week",
|
|
15777
|
+
Month: "month",
|
|
15778
|
+
Quarter: "quarter",
|
|
15779
|
+
SemiAnnual: "semi_annual",
|
|
15780
|
+
Year: "year"
|
|
15781
|
+
};
|
|
15652
15782
|
var CreatePlanUpsertLicenseProration$inboundSchema = z29.pipe(
|
|
15653
15783
|
z29.object({
|
|
15654
15784
|
on_increase: CreatePlanUpsertLicenseOnIncrease$inboundSchema,
|
|
@@ -16037,14 +16167,16 @@ var CreatePlanRemoveLicense$inboundSchema = z29.pipe(
|
|
|
16037
16167
|
});
|
|
16038
16168
|
})
|
|
16039
16169
|
);
|
|
16040
|
-
var
|
|
16170
|
+
var CreatePlanVariantDetailsCustomize$inboundSchema = z29.pipe(
|
|
16041
16171
|
z29.object({
|
|
16042
|
-
price: z29.optional(
|
|
16172
|
+
price: z29.optional(
|
|
16173
|
+
z29.nullable(CreatePlanVariantDetailsBasePrice$inboundSchema)
|
|
16174
|
+
),
|
|
16043
16175
|
add_items: optional3(
|
|
16044
|
-
z29.array(
|
|
16176
|
+
z29.array(CreatePlanVariantDetailsPlanItem$inboundSchema)
|
|
16045
16177
|
),
|
|
16046
16178
|
remove_items: optional3(
|
|
16047
|
-
z29.array(
|
|
16179
|
+
z29.array(CreatePlanVariantDetailsPlanItemFilter$inboundSchema)
|
|
16048
16180
|
),
|
|
16049
16181
|
free_trial: z29.optional(z29.nullable(CreatePlanFreeTrialParams$inboundSchema)),
|
|
16050
16182
|
billing_controls: optional3(
|
|
@@ -16072,7 +16204,7 @@ var CreatePlanVariantDetails$inboundSchema = z29.pipe(
|
|
|
16072
16204
|
z29.object({
|
|
16073
16205
|
base_plan_id: string5(),
|
|
16074
16206
|
customize: optional3(
|
|
16075
|
-
z29.lazy(() =>
|
|
16207
|
+
z29.lazy(() => CreatePlanVariantDetailsCustomize$inboundSchema)
|
|
16076
16208
|
)
|
|
16077
16209
|
}),
|
|
16078
16210
|
z29.transform((v) => {
|
|
@@ -16081,6 +16213,493 @@ var CreatePlanVariantDetails$inboundSchema = z29.pipe(
|
|
|
16081
16213
|
});
|
|
16082
16214
|
})
|
|
16083
16215
|
);
|
|
16216
|
+
var CreatePlanPriceLicenseIntervalResponse$inboundSchema = inboundSchema(CreatePlanPriceLicenseIntervalResponse);
|
|
16217
|
+
var CreatePlanLicenseAdditionalCurrencyResponse$inboundSchema = z29.object({
|
|
16218
|
+
currency: string5(),
|
|
16219
|
+
amount: number2()
|
|
16220
|
+
});
|
|
16221
|
+
var CreatePlanLicenseBasePriceResponse$inboundSchema = z29.pipe(
|
|
16222
|
+
z29.object({
|
|
16223
|
+
amount: number2(),
|
|
16224
|
+
interval: CreatePlanPriceLicenseIntervalResponse$inboundSchema,
|
|
16225
|
+
interval_count: z29._default(number2(), 1),
|
|
16226
|
+
additional_currencies: optional3(z29.array(z29.lazy(
|
|
16227
|
+
() => CreatePlanLicenseAdditionalCurrencyResponse$inboundSchema
|
|
16228
|
+
)))
|
|
16229
|
+
}),
|
|
16230
|
+
z29.transform((v) => {
|
|
16231
|
+
return remap(v, {
|
|
16232
|
+
"interval_count": "intervalCount",
|
|
16233
|
+
"additional_currencies": "additionalCurrencies"
|
|
16234
|
+
});
|
|
16235
|
+
})
|
|
16236
|
+
);
|
|
16237
|
+
var CreatePlanLicenseThresholdBillingResponse$inboundSchema = z29.object({
|
|
16238
|
+
threshold: number2()
|
|
16239
|
+
});
|
|
16240
|
+
var CreatePlanLicenseResetIntervalResponse$inboundSchema = inboundSchema(CreatePlanLicenseResetIntervalResponse);
|
|
16241
|
+
var CreatePlanLicenseResetResponse$inboundSchema = z29.pipe(
|
|
16242
|
+
z29.object({
|
|
16243
|
+
interval: CreatePlanLicenseResetIntervalResponse$inboundSchema,
|
|
16244
|
+
interval_count: z29._default(number2(), 1)
|
|
16245
|
+
}),
|
|
16246
|
+
z29.transform((v) => {
|
|
16247
|
+
return remap(v, {
|
|
16248
|
+
"interval_count": "intervalCount"
|
|
16249
|
+
});
|
|
16250
|
+
})
|
|
16251
|
+
);
|
|
16252
|
+
var CreatePlanLicenseAddItemAdditionalCurrencyResponse$inboundSchema = z29.object({
|
|
16253
|
+
currency: string5(),
|
|
16254
|
+
amount: number2()
|
|
16255
|
+
});
|
|
16256
|
+
var CreatePlanLicensePriceToResponse$inboundSchema = smartUnion([number2(), string5()]);
|
|
16257
|
+
var CreatePlanLicenseTierAdditionalCurrencyResponse$inboundSchema = z29.pipe(
|
|
16258
|
+
z29.object({
|
|
16259
|
+
currency: string5(),
|
|
16260
|
+
amount: optional3(number2()),
|
|
16261
|
+
flat_amount: optional3(number2())
|
|
16262
|
+
}),
|
|
16263
|
+
z29.transform((v) => {
|
|
16264
|
+
return remap(v, {
|
|
16265
|
+
"flat_amount": "flatAmount"
|
|
16266
|
+
});
|
|
16267
|
+
})
|
|
16268
|
+
);
|
|
16269
|
+
var CreatePlanLicensePriceTierResponse$inboundSchema = z29.pipe(
|
|
16270
|
+
z29.object({
|
|
16271
|
+
to: smartUnion([number2(), string5()]),
|
|
16272
|
+
amount: number2(),
|
|
16273
|
+
flat_amount: optional3(number2()),
|
|
16274
|
+
additional_currencies: optional3(z29.array(z29.lazy(
|
|
16275
|
+
() => CreatePlanLicenseTierAdditionalCurrencyResponse$inboundSchema
|
|
16276
|
+
)))
|
|
16277
|
+
}),
|
|
16278
|
+
z29.transform((v) => {
|
|
16279
|
+
return remap(v, {
|
|
16280
|
+
"flat_amount": "flatAmount",
|
|
16281
|
+
"additional_currencies": "additionalCurrencies"
|
|
16282
|
+
});
|
|
16283
|
+
})
|
|
16284
|
+
);
|
|
16285
|
+
var CreatePlanLicenseTierBehaviorResponse$inboundSchema = inboundSchema(CreatePlanLicenseTierBehaviorResponse);
|
|
16286
|
+
var CreatePlanLicenseAddItemPriceIntervalResponse$inboundSchema = inboundSchema(CreatePlanLicenseAddItemPriceIntervalResponse);
|
|
16287
|
+
var CreatePlanLicenseAddItemBillingMethodResponse$inboundSchema = inboundSchema(CreatePlanLicenseAddItemBillingMethodResponse);
|
|
16288
|
+
var CreatePlanLicensePriceResponse$inboundSchema = z29.pipe(
|
|
16289
|
+
z29.object({
|
|
16290
|
+
amount: optional3(number2()),
|
|
16291
|
+
additional_currencies: optional3(z29.array(z29.lazy(
|
|
16292
|
+
() => CreatePlanLicenseAddItemAdditionalCurrencyResponse$inboundSchema
|
|
16293
|
+
))),
|
|
16294
|
+
tiers: optional3(z29.array(z29.lazy(
|
|
16295
|
+
() => CreatePlanLicensePriceTierResponse$inboundSchema
|
|
16296
|
+
))),
|
|
16297
|
+
tier_behavior: optional3(
|
|
16298
|
+
CreatePlanLicenseTierBehaviorResponse$inboundSchema
|
|
16299
|
+
),
|
|
16300
|
+
interval: CreatePlanLicenseAddItemPriceIntervalResponse$inboundSchema,
|
|
16301
|
+
interval_count: z29._default(number2(), 1),
|
|
16302
|
+
billing_units: z29._default(number2(), 1),
|
|
16303
|
+
billing_method: CreatePlanLicenseAddItemBillingMethodResponse$inboundSchema,
|
|
16304
|
+
max_purchase: z29.optional(z29.nullable(number2()))
|
|
16305
|
+
}),
|
|
16306
|
+
z29.transform((v) => {
|
|
16307
|
+
return remap(v, {
|
|
16308
|
+
"additional_currencies": "additionalCurrencies",
|
|
16309
|
+
"tier_behavior": "tierBehavior",
|
|
16310
|
+
"interval_count": "intervalCount",
|
|
16311
|
+
"billing_units": "billingUnits",
|
|
16312
|
+
"billing_method": "billingMethod",
|
|
16313
|
+
"max_purchase": "maxPurchase"
|
|
16314
|
+
});
|
|
16315
|
+
})
|
|
16316
|
+
);
|
|
16317
|
+
var CreatePlanLicenseOnIncreaseResponse$inboundSchema = inboundSchema(CreatePlanLicenseOnIncreaseResponse);
|
|
16318
|
+
var CreatePlanLicenseOnDecreaseResponse$inboundSchema = inboundSchema(CreatePlanLicenseOnDecreaseResponse);
|
|
16319
|
+
var CreatePlanLicenseProrationResponse$inboundSchema = z29.pipe(
|
|
16320
|
+
z29.object({
|
|
16321
|
+
on_increase: CreatePlanLicenseOnIncreaseResponse$inboundSchema,
|
|
16322
|
+
on_decrease: CreatePlanLicenseOnDecreaseResponse$inboundSchema
|
|
16323
|
+
}),
|
|
16324
|
+
z29.transform((v) => {
|
|
16325
|
+
return remap(v, {
|
|
16326
|
+
"on_increase": "onIncrease",
|
|
16327
|
+
"on_decrease": "onDecrease"
|
|
16328
|
+
});
|
|
16329
|
+
})
|
|
16330
|
+
);
|
|
16331
|
+
var CreatePlanLicenseExpiryDurationTypeResponse$inboundSchema = inboundSchema(CreatePlanLicenseExpiryDurationTypeResponse);
|
|
16332
|
+
var CreatePlanLicenseRolloverResponse$inboundSchema = z29.pipe(
|
|
16333
|
+
z29.object({
|
|
16334
|
+
max: optional3(number2()),
|
|
16335
|
+
max_percentage: optional3(number2()),
|
|
16336
|
+
expiry_duration_type: CreatePlanLicenseExpiryDurationTypeResponse$inboundSchema,
|
|
16337
|
+
expiry_duration_length: optional3(number2())
|
|
16338
|
+
}),
|
|
16339
|
+
z29.transform((v) => {
|
|
16340
|
+
return remap(v, {
|
|
16341
|
+
"max_percentage": "maxPercentage",
|
|
16342
|
+
"expiry_duration_type": "expiryDurationType",
|
|
16343
|
+
"expiry_duration_length": "expiryDurationLength"
|
|
16344
|
+
});
|
|
16345
|
+
})
|
|
16346
|
+
);
|
|
16347
|
+
var CreatePlanLicenseDurationResponse$inboundSchema = inboundSchema(CreatePlanLicenseDurationResponse);
|
|
16348
|
+
var CreatePlanLicenseExpiryResponse$inboundSchema = z29.object({
|
|
16349
|
+
duration: CreatePlanLicenseDurationResponse$inboundSchema,
|
|
16350
|
+
length: number2()
|
|
16351
|
+
});
|
|
16352
|
+
var CreatePlanDimensionsLicenseResponse4$inboundSchema = z29.pipe(
|
|
16353
|
+
z29.object({
|
|
16354
|
+
match: z29.record(z29.string(), string5()),
|
|
16355
|
+
priority: optional3(number2()),
|
|
16356
|
+
credit_cost: number2()
|
|
16357
|
+
}),
|
|
16358
|
+
z29.transform((v) => {
|
|
16359
|
+
return remap(v, {
|
|
16360
|
+
"credit_cost": "creditCost"
|
|
16361
|
+
});
|
|
16362
|
+
})
|
|
16363
|
+
);
|
|
16364
|
+
var CreatePlanDimensionsToLicenseResponseEnum2$inboundSchema = z29.enum(
|
|
16365
|
+
CreatePlanDimensionsToLicenseResponseEnum2
|
|
16366
|
+
);
|
|
16367
|
+
var CreatePlanDimensionsLicenseToResponseUnion2$inboundSchema = smartUnion([
|
|
16368
|
+
number2(),
|
|
16369
|
+
CreatePlanDimensionsToLicenseResponseEnum2$inboundSchema
|
|
16370
|
+
]);
|
|
16371
|
+
var CreatePlanDimensionsLicenseTierResponse2$inboundSchema = z29.pipe(
|
|
16372
|
+
z29.object({
|
|
16373
|
+
to: smartUnion([
|
|
16374
|
+
number2(),
|
|
16375
|
+
CreatePlanDimensionsToLicenseResponseEnum2$inboundSchema
|
|
16376
|
+
]),
|
|
16377
|
+
credit_cost: number2()
|
|
16378
|
+
}),
|
|
16379
|
+
z29.transform((v) => {
|
|
16380
|
+
return remap(v, {
|
|
16381
|
+
"credit_cost": "creditCost"
|
|
16382
|
+
});
|
|
16383
|
+
})
|
|
16384
|
+
);
|
|
16385
|
+
var CreatePlanDimensionsLicenseResponse3$inboundSchema = z29.pipe(
|
|
16386
|
+
z29.object({
|
|
16387
|
+
match: z29.record(z29.string(), string5()),
|
|
16388
|
+
priority: optional3(number2()),
|
|
16389
|
+
tier_behavior: literal3("graduated"),
|
|
16390
|
+
tiers: z29.array(
|
|
16391
|
+
z29.lazy(() => CreatePlanDimensionsLicenseTierResponse2$inboundSchema)
|
|
16392
|
+
)
|
|
16393
|
+
}),
|
|
16394
|
+
z29.transform((v) => {
|
|
16395
|
+
return remap(v, {
|
|
16396
|
+
"tier_behavior": "tierBehavior"
|
|
16397
|
+
});
|
|
16398
|
+
})
|
|
16399
|
+
);
|
|
16400
|
+
var CreatePlanLicenseDimensionsResponseUnion2$inboundSchema = smartUnion([
|
|
16401
|
+
z29.lazy(() => CreatePlanDimensionsLicenseResponse3$inboundSchema),
|
|
16402
|
+
z29.lazy(() => CreatePlanDimensionsLicenseResponse4$inboundSchema)
|
|
16403
|
+
]);
|
|
16404
|
+
var CreatePlanLicenseMultipliersResponse2$inboundSchema = z29.object({
|
|
16405
|
+
match: z29.record(z29.string(), string5()),
|
|
16406
|
+
factor: optional3(number2()),
|
|
16407
|
+
add: optional3(number2())
|
|
16408
|
+
});
|
|
16409
|
+
var CreatePlanCreditSchemaLicenseResponse2$inboundSchema = z29.pipe(
|
|
16410
|
+
z29.object({
|
|
16411
|
+
metered_feature_id: string5(),
|
|
16412
|
+
billing_units: optional3(number2()),
|
|
16413
|
+
dimensions: optional3(z29.record(
|
|
16414
|
+
z29.string(),
|
|
16415
|
+
smartUnion([
|
|
16416
|
+
z29.lazy(() => CreatePlanDimensionsLicenseResponse3$inboundSchema),
|
|
16417
|
+
z29.lazy(() => CreatePlanDimensionsLicenseResponse4$inboundSchema)
|
|
16418
|
+
])
|
|
16419
|
+
)),
|
|
16420
|
+
multipliers: optional3(z29.record(
|
|
16421
|
+
z29.string(),
|
|
16422
|
+
z29.lazy(() => CreatePlanLicenseMultipliersResponse2$inboundSchema)
|
|
16423
|
+
)),
|
|
16424
|
+
credit_cost: number2()
|
|
16425
|
+
}),
|
|
16426
|
+
z29.transform((v) => {
|
|
16427
|
+
return remap(v, {
|
|
16428
|
+
"metered_feature_id": "meteredFeatureId",
|
|
16429
|
+
"billing_units": "billingUnits",
|
|
16430
|
+
"credit_cost": "creditCost"
|
|
16431
|
+
});
|
|
16432
|
+
})
|
|
16433
|
+
);
|
|
16434
|
+
var CreatePlanDimensionsLicenseResponse2$inboundSchema = z29.pipe(
|
|
16435
|
+
z29.object({
|
|
16436
|
+
match: z29.record(z29.string(), string5()),
|
|
16437
|
+
priority: optional3(number2()),
|
|
16438
|
+
credit_cost: number2()
|
|
16439
|
+
}),
|
|
16440
|
+
z29.transform((v) => {
|
|
16441
|
+
return remap(v, {
|
|
16442
|
+
"credit_cost": "creditCost"
|
|
16443
|
+
});
|
|
16444
|
+
})
|
|
16445
|
+
);
|
|
16446
|
+
var CreatePlanDimensionsToLicenseResponseEnum1$inboundSchema = z29.enum(
|
|
16447
|
+
CreatePlanDimensionsToLicenseResponseEnum1
|
|
16448
|
+
);
|
|
16449
|
+
var CreatePlanDimensionsLicenseToResponseUnion1$inboundSchema = smartUnion([
|
|
16450
|
+
number2(),
|
|
16451
|
+
CreatePlanDimensionsToLicenseResponseEnum1$inboundSchema
|
|
16452
|
+
]);
|
|
16453
|
+
var CreatePlanDimensionsLicenseTierResponse1$inboundSchema = z29.pipe(
|
|
16454
|
+
z29.object({
|
|
16455
|
+
to: smartUnion([
|
|
16456
|
+
number2(),
|
|
16457
|
+
CreatePlanDimensionsToLicenseResponseEnum1$inboundSchema
|
|
16458
|
+
]),
|
|
16459
|
+
credit_cost: number2()
|
|
16460
|
+
}),
|
|
16461
|
+
z29.transform((v) => {
|
|
16462
|
+
return remap(v, {
|
|
16463
|
+
"credit_cost": "creditCost"
|
|
16464
|
+
});
|
|
16465
|
+
})
|
|
16466
|
+
);
|
|
16467
|
+
var CreatePlanDimensionsLicenseResponse1$inboundSchema = z29.pipe(
|
|
16468
|
+
z29.object({
|
|
16469
|
+
match: z29.record(z29.string(), string5()),
|
|
16470
|
+
priority: optional3(number2()),
|
|
16471
|
+
tier_behavior: literal3("graduated"),
|
|
16472
|
+
tiers: z29.array(
|
|
16473
|
+
z29.lazy(() => CreatePlanDimensionsLicenseTierResponse1$inboundSchema)
|
|
16474
|
+
)
|
|
16475
|
+
}),
|
|
16476
|
+
z29.transform((v) => {
|
|
16477
|
+
return remap(v, {
|
|
16478
|
+
"tier_behavior": "tierBehavior"
|
|
16479
|
+
});
|
|
16480
|
+
})
|
|
16481
|
+
);
|
|
16482
|
+
var CreatePlanLicenseDimensionsResponseUnion1$inboundSchema = smartUnion([
|
|
16483
|
+
z29.lazy(() => CreatePlanDimensionsLicenseResponse1$inboundSchema),
|
|
16484
|
+
z29.lazy(() => CreatePlanDimensionsLicenseResponse2$inboundSchema)
|
|
16485
|
+
]);
|
|
16486
|
+
var CreatePlanLicenseMultipliersResponse1$inboundSchema = z29.object({
|
|
16487
|
+
match: z29.record(z29.string(), string5()),
|
|
16488
|
+
factor: optional3(number2()),
|
|
16489
|
+
add: optional3(number2())
|
|
16490
|
+
});
|
|
16491
|
+
var CreatePlanToLicenseResponseEnum$inboundSchema = z29.enum(CreatePlanToLicenseResponseEnum);
|
|
16492
|
+
var CreatePlanLicenseFeatureOverrideToResponseUnion$inboundSchema = smartUnion([number2(), CreatePlanToLicenseResponseEnum$inboundSchema]);
|
|
16493
|
+
var CreatePlanLicenseFeatureOverrideTierResponse$inboundSchema = z29.pipe(
|
|
16494
|
+
z29.object({
|
|
16495
|
+
to: smartUnion([
|
|
16496
|
+
number2(),
|
|
16497
|
+
CreatePlanToLicenseResponseEnum$inboundSchema
|
|
16498
|
+
]),
|
|
16499
|
+
credit_cost: number2()
|
|
16500
|
+
}),
|
|
16501
|
+
z29.transform((v) => {
|
|
16502
|
+
return remap(v, {
|
|
16503
|
+
"credit_cost": "creditCost"
|
|
16504
|
+
});
|
|
16505
|
+
})
|
|
16506
|
+
);
|
|
16507
|
+
var CreatePlanCreditSchemaLicenseResponse1$inboundSchema = z29.pipe(
|
|
16508
|
+
z29.object({
|
|
16509
|
+
metered_feature_id: string5(),
|
|
16510
|
+
billing_units: optional3(number2()),
|
|
16511
|
+
dimensions: optional3(z29.record(
|
|
16512
|
+
z29.string(),
|
|
16513
|
+
smartUnion([
|
|
16514
|
+
z29.lazy(() => CreatePlanDimensionsLicenseResponse1$inboundSchema),
|
|
16515
|
+
z29.lazy(() => CreatePlanDimensionsLicenseResponse2$inboundSchema)
|
|
16516
|
+
])
|
|
16517
|
+
)),
|
|
16518
|
+
multipliers: optional3(z29.record(
|
|
16519
|
+
z29.string(),
|
|
16520
|
+
z29.lazy(() => CreatePlanLicenseMultipliersResponse1$inboundSchema)
|
|
16521
|
+
)),
|
|
16522
|
+
tier_behavior: literal3("graduated"),
|
|
16523
|
+
tiers: z29.array(z29.lazy(
|
|
16524
|
+
() => CreatePlanLicenseFeatureOverrideTierResponse$inboundSchema
|
|
16525
|
+
))
|
|
16526
|
+
}),
|
|
16527
|
+
z29.transform((v) => {
|
|
16528
|
+
return remap(v, {
|
|
16529
|
+
"metered_feature_id": "meteredFeatureId",
|
|
16530
|
+
"billing_units": "billingUnits",
|
|
16531
|
+
"tier_behavior": "tierBehavior"
|
|
16532
|
+
});
|
|
16533
|
+
})
|
|
16534
|
+
);
|
|
16535
|
+
var CreatePlanLicenseCreditSchemaResponseUnion$inboundSchema = smartUnion([
|
|
16536
|
+
z29.lazy(() => CreatePlanCreditSchemaLicenseResponse1$inboundSchema),
|
|
16537
|
+
z29.lazy(() => CreatePlanCreditSchemaLicenseResponse2$inboundSchema)
|
|
16538
|
+
]);
|
|
16539
|
+
var CreatePlanLicenseProviderMarkupsResponse$inboundSchema = z29.object({
|
|
16540
|
+
markup: number2()
|
|
16541
|
+
});
|
|
16542
|
+
var CreatePlanLicenseModelMarkupsResponse$inboundSchema = z29.pipe(
|
|
16543
|
+
z29.object({
|
|
16544
|
+
markup: optional3(number2()),
|
|
16545
|
+
input_cost: optional3(number2()),
|
|
16546
|
+
output_cost: optional3(number2())
|
|
16547
|
+
}),
|
|
16548
|
+
z29.transform((v) => {
|
|
16549
|
+
return remap(v, {
|
|
16550
|
+
"input_cost": "inputCost",
|
|
16551
|
+
"output_cost": "outputCost"
|
|
16552
|
+
});
|
|
16553
|
+
})
|
|
16554
|
+
);
|
|
16555
|
+
var CreatePlanLicenseMarkupsResponse$inboundSchema = z29.pipe(
|
|
16556
|
+
z29.object({
|
|
16557
|
+
default_markup: optional3(number2()),
|
|
16558
|
+
provider_markups: z29.optional(z29.nullable(z29.record(
|
|
16559
|
+
z29.string(),
|
|
16560
|
+
z29.lazy(() => CreatePlanLicenseProviderMarkupsResponse$inboundSchema)
|
|
16561
|
+
))),
|
|
16562
|
+
model_markups: z29.optional(z29.nullable(z29.record(
|
|
16563
|
+
z29.string(),
|
|
16564
|
+
z29.lazy(() => CreatePlanLicenseModelMarkupsResponse$inboundSchema)
|
|
16565
|
+
)))
|
|
16566
|
+
}),
|
|
16567
|
+
z29.transform((v) => {
|
|
16568
|
+
return remap(v, {
|
|
16569
|
+
"default_markup": "defaultMarkup",
|
|
16570
|
+
"provider_markups": "providerMarkups",
|
|
16571
|
+
"model_markups": "modelMarkups"
|
|
16572
|
+
});
|
|
16573
|
+
})
|
|
16574
|
+
);
|
|
16575
|
+
var CreatePlanLicenseFeatureOverrideResponse$inboundSchema = z29.pipe(
|
|
16576
|
+
z29.object({
|
|
16577
|
+
credit_schema: optional3(z29.array(smartUnion([
|
|
16578
|
+
z29.lazy(() => CreatePlanCreditSchemaLicenseResponse1$inboundSchema),
|
|
16579
|
+
z29.lazy(
|
|
16580
|
+
() => CreatePlanCreditSchemaLicenseResponse2$inboundSchema
|
|
16581
|
+
)
|
|
16582
|
+
]))),
|
|
16583
|
+
markups: optional3(z29.lazy(
|
|
16584
|
+
() => CreatePlanLicenseMarkupsResponse$inboundSchema
|
|
16585
|
+
))
|
|
16586
|
+
}),
|
|
16587
|
+
z29.transform((v) => {
|
|
16588
|
+
return remap(v, {
|
|
16589
|
+
"credit_schema": "creditSchema"
|
|
16590
|
+
});
|
|
16591
|
+
})
|
|
16592
|
+
);
|
|
16593
|
+
var CreatePlanLicensePlanItemResponse$inboundSchema = z29.pipe(
|
|
16594
|
+
z29.object({
|
|
16595
|
+
threshold_billing: z29.optional(z29.nullable(z29.lazy(
|
|
16596
|
+
() => CreatePlanLicenseThresholdBillingResponse$inboundSchema
|
|
16597
|
+
))),
|
|
16598
|
+
feature_id: string5(),
|
|
16599
|
+
included: optional3(number2()),
|
|
16600
|
+
unlimited: optional3(boolean2()),
|
|
16601
|
+
pooled: z29._default(boolean2(), false),
|
|
16602
|
+
reset: optional3(z29.lazy(
|
|
16603
|
+
() => CreatePlanLicenseResetResponse$inboundSchema
|
|
16604
|
+
)),
|
|
16605
|
+
price: optional3(z29.lazy(
|
|
16606
|
+
() => CreatePlanLicensePriceResponse$inboundSchema
|
|
16607
|
+
)),
|
|
16608
|
+
proration: optional3(z29.lazy(
|
|
16609
|
+
() => CreatePlanLicenseProrationResponse$inboundSchema
|
|
16610
|
+
)),
|
|
16611
|
+
rollover: optional3(z29.lazy(
|
|
16612
|
+
() => CreatePlanLicenseRolloverResponse$inboundSchema
|
|
16613
|
+
)),
|
|
16614
|
+
expiry: optional3(z29.lazy(
|
|
16615
|
+
() => CreatePlanLicenseExpiryResponse$inboundSchema
|
|
16616
|
+
)),
|
|
16617
|
+
feature_override: optional3(z29.lazy(
|
|
16618
|
+
() => CreatePlanLicenseFeatureOverrideResponse$inboundSchema
|
|
16619
|
+
))
|
|
16620
|
+
}),
|
|
16621
|
+
z29.transform((v) => {
|
|
16622
|
+
return remap(v, {
|
|
16623
|
+
"threshold_billing": "thresholdBilling",
|
|
16624
|
+
"feature_id": "featureId",
|
|
16625
|
+
"feature_override": "featureOverride"
|
|
16626
|
+
});
|
|
16627
|
+
})
|
|
16628
|
+
);
|
|
16629
|
+
var CreatePlanLicenseRemoveItemBillingMethodResponse$inboundSchema = inboundSchema(CreatePlanLicenseRemoveItemBillingMethodResponse);
|
|
16630
|
+
var CreatePlanIntervalLicenseRemoveItemResponseEnum2$inboundSchema = inboundSchema(CreatePlanIntervalLicenseRemoveItemResponseEnum2);
|
|
16631
|
+
var CreatePlanIntervalLicenseRemoveItemResponseEnum1$inboundSchema = inboundSchema(CreatePlanIntervalLicenseRemoveItemResponseEnum1);
|
|
16632
|
+
var CreatePlanLicenseIntervalResponseUnion$inboundSchema = smartUnion([
|
|
16633
|
+
CreatePlanIntervalLicenseRemoveItemResponseEnum1$inboundSchema,
|
|
16634
|
+
CreatePlanIntervalLicenseRemoveItemResponseEnum2$inboundSchema
|
|
16635
|
+
]);
|
|
16636
|
+
var CreatePlanLicensePlanItemFilterResponse$inboundSchema = z29.pipe(
|
|
16637
|
+
z29.object({
|
|
16638
|
+
feature_id: optional3(string5()),
|
|
16639
|
+
billing_method: optional3(
|
|
16640
|
+
CreatePlanLicenseRemoveItemBillingMethodResponse$inboundSchema
|
|
16641
|
+
),
|
|
16642
|
+
interval: optional3(
|
|
16643
|
+
smartUnion([
|
|
16644
|
+
CreatePlanIntervalLicenseRemoveItemResponseEnum1$inboundSchema,
|
|
16645
|
+
CreatePlanIntervalLicenseRemoveItemResponseEnum2$inboundSchema
|
|
16646
|
+
])
|
|
16647
|
+
),
|
|
16648
|
+
interval_count: optional3(number2()),
|
|
16649
|
+
included: optional3(number2())
|
|
16650
|
+
}),
|
|
16651
|
+
z29.transform((v) => {
|
|
16652
|
+
return remap(v, {
|
|
16653
|
+
"feature_id": "featureId",
|
|
16654
|
+
"billing_method": "billingMethod",
|
|
16655
|
+
"interval_count": "intervalCount"
|
|
16656
|
+
});
|
|
16657
|
+
})
|
|
16658
|
+
);
|
|
16659
|
+
var CreatePlanLicenseCustomizeResponse$inboundSchema = z29.pipe(
|
|
16660
|
+
z29.object({
|
|
16661
|
+
price: z29.optional(
|
|
16662
|
+
z29.nullable(
|
|
16663
|
+
z29.lazy(() => CreatePlanLicenseBasePriceResponse$inboundSchema)
|
|
16664
|
+
)
|
|
16665
|
+
),
|
|
16666
|
+
add_items: optional3(
|
|
16667
|
+
z29.array(z29.lazy(() => CreatePlanLicensePlanItemResponse$inboundSchema))
|
|
16668
|
+
),
|
|
16669
|
+
remove_items: optional3(
|
|
16670
|
+
z29.array(
|
|
16671
|
+
z29.lazy(() => CreatePlanLicensePlanItemFilterResponse$inboundSchema)
|
|
16672
|
+
)
|
|
16673
|
+
)
|
|
16674
|
+
}),
|
|
16675
|
+
z29.transform((v) => {
|
|
16676
|
+
return remap(v, {
|
|
16677
|
+
"add_items": "addItems",
|
|
16678
|
+
"remove_items": "removeItems"
|
|
16679
|
+
});
|
|
16680
|
+
})
|
|
16681
|
+
);
|
|
16682
|
+
var CreatePlanLicenseResponse$inboundSchema = z29.pipe(
|
|
16683
|
+
z29.object({
|
|
16684
|
+
license_plan_id: string5(),
|
|
16685
|
+
version: number2(),
|
|
16686
|
+
version_slug: optional3(string5()),
|
|
16687
|
+
included: number2(),
|
|
16688
|
+
prepaid_only: boolean2(),
|
|
16689
|
+
customize: optional3(
|
|
16690
|
+
z29.lazy(() => CreatePlanLicenseCustomizeResponse$inboundSchema)
|
|
16691
|
+
),
|
|
16692
|
+
metadata: optional3(z29.record(z29.string(), z29.any())),
|
|
16693
|
+
plan: optional3(Plan$inboundSchema)
|
|
16694
|
+
}),
|
|
16695
|
+
z29.transform((v) => {
|
|
16696
|
+
return remap(v, {
|
|
16697
|
+
"license_plan_id": "licensePlanId",
|
|
16698
|
+
"version_slug": "versionSlug",
|
|
16699
|
+
"prepaid_only": "prepaidOnly"
|
|
16700
|
+
});
|
|
16701
|
+
})
|
|
16702
|
+
);
|
|
16084
16703
|
var CreatePlanResponse$inboundSchema = z29.pipe(
|
|
16085
16704
|
z29.object({
|
|
16086
16705
|
id: string5(),
|
|
@@ -16110,6 +16729,9 @@ var CreatePlanResponse$inboundSchema = z29.pipe(
|
|
|
16110
16729
|
base_variant_id: nullable(string5()),
|
|
16111
16730
|
variant_details: optional3(
|
|
16112
16731
|
z29.lazy(() => CreatePlanVariantDetails$inboundSchema)
|
|
16732
|
+
),
|
|
16733
|
+
licenses: optional3(
|
|
16734
|
+
z29.array(z29.lazy(() => CreatePlanLicenseResponse$inboundSchema))
|
|
16113
16735
|
)
|
|
16114
16736
|
}),
|
|
16115
16737
|
z29.transform((v) => {
|
|
@@ -24232,7 +24854,7 @@ var GetPlanPriceVariantDetailsInterval = {
|
|
|
24232
24854
|
SemiAnnual: "semi_annual",
|
|
24233
24855
|
Year: "year"
|
|
24234
24856
|
};
|
|
24235
|
-
var
|
|
24857
|
+
var GetPlanVariantDetailsResetInterval = {
|
|
24236
24858
|
OneOff: "one_off",
|
|
24237
24859
|
Minute: "minute",
|
|
24238
24860
|
Hour: "hour",
|
|
@@ -24247,7 +24869,7 @@ var GetPlanVariantDetailsTierBehavior = {
|
|
|
24247
24869
|
Graduated: "graduated",
|
|
24248
24870
|
Volume: "volume"
|
|
24249
24871
|
};
|
|
24250
|
-
var
|
|
24872
|
+
var GetPlanVariantDetailsAddItemPriceInterval = {
|
|
24251
24873
|
OneOff: "one_off",
|
|
24252
24874
|
Week: "week",
|
|
24253
24875
|
Month: "month",
|
|
@@ -24255,17 +24877,17 @@ var GetPlanAddItemPriceInterval = {
|
|
|
24255
24877
|
SemiAnnual: "semi_annual",
|
|
24256
24878
|
Year: "year"
|
|
24257
24879
|
};
|
|
24258
|
-
var
|
|
24880
|
+
var GetPlanVariantDetailsAddItemBillingMethod = {
|
|
24259
24881
|
Prepaid: "prepaid",
|
|
24260
24882
|
UsageBased: "usage_based"
|
|
24261
24883
|
};
|
|
24262
|
-
var
|
|
24884
|
+
var GetPlanVariantDetailsOnIncrease = {
|
|
24263
24885
|
BillImmediately: "bill_immediately",
|
|
24264
24886
|
ProrateImmediately: "prorate_immediately",
|
|
24265
24887
|
ProrateNextCycle: "prorate_next_cycle",
|
|
24266
24888
|
BillNextCycle: "bill_next_cycle"
|
|
24267
24889
|
};
|
|
24268
|
-
var
|
|
24890
|
+
var GetPlanVariantDetailsOnDecrease = {
|
|
24269
24891
|
Prorate: "prorate",
|
|
24270
24892
|
ProrateImmediately: "prorate_immediately",
|
|
24271
24893
|
ProrateNextCycle: "prorate_next_cycle",
|
|
@@ -24291,11 +24913,11 @@ var GetPlanDimensionsToVariantDetailsEnum1 = {
|
|
|
24291
24913
|
var GetPlanToVariantDetailsEnum = {
|
|
24292
24914
|
Inf: "inf"
|
|
24293
24915
|
};
|
|
24294
|
-
var
|
|
24916
|
+
var GetPlanVariantDetailsRemoveItemBillingMethod = {
|
|
24295
24917
|
Prepaid: "prepaid",
|
|
24296
24918
|
UsageBased: "usage_based"
|
|
24297
24919
|
};
|
|
24298
|
-
var
|
|
24920
|
+
var GetPlanIntervalVariantDetailsRemoveItemEnum2 = {
|
|
24299
24921
|
OneOff: "one_off",
|
|
24300
24922
|
Minute: "minute",
|
|
24301
24923
|
Hour: "hour",
|
|
@@ -24306,7 +24928,7 @@ var GetPlanIntervalRemoveItemEnum2 = {
|
|
|
24306
24928
|
SemiAnnual: "semi_annual",
|
|
24307
24929
|
Year: "year"
|
|
24308
24930
|
};
|
|
24309
|
-
var
|
|
24931
|
+
var GetPlanIntervalVariantDetailsRemoveItemEnum1 = {
|
|
24310
24932
|
OneOff: "one_off",
|
|
24311
24933
|
Week: "week",
|
|
24312
24934
|
Month: "month",
|
|
@@ -25066,7 +25688,7 @@ var GetPlanVariantDetailsAdditionalCurrency$inboundSchema = z56.object({
|
|
|
25066
25688
|
currency: string5(),
|
|
25067
25689
|
amount: number2()
|
|
25068
25690
|
});
|
|
25069
|
-
var
|
|
25691
|
+
var GetPlanVariantDetailsBasePrice$inboundSchema = z56.pipe(
|
|
25070
25692
|
z56.object({
|
|
25071
25693
|
amount: number2(),
|
|
25072
25694
|
interval: GetPlanPriceVariantDetailsInterval$inboundSchema,
|
|
@@ -25085,10 +25707,10 @@ var GetPlanBasePrice$inboundSchema = z56.pipe(
|
|
|
25085
25707
|
var GetPlanVariantDetailsThresholdBilling$inboundSchema = z56.object({
|
|
25086
25708
|
threshold: number2()
|
|
25087
25709
|
});
|
|
25088
|
-
var
|
|
25710
|
+
var GetPlanVariantDetailsResetInterval$inboundSchema = inboundSchema(GetPlanVariantDetailsResetInterval);
|
|
25089
25711
|
var GetPlanVariantDetailsReset$inboundSchema = z56.pipe(
|
|
25090
25712
|
z56.object({
|
|
25091
|
-
interval:
|
|
25713
|
+
interval: GetPlanVariantDetailsResetInterval$inboundSchema,
|
|
25092
25714
|
interval_count: z56._default(number2(), 1)
|
|
25093
25715
|
}),
|
|
25094
25716
|
z56.transform((v) => {
|
|
@@ -25097,7 +25719,7 @@ var GetPlanVariantDetailsReset$inboundSchema = z56.pipe(
|
|
|
25097
25719
|
});
|
|
25098
25720
|
})
|
|
25099
25721
|
);
|
|
25100
|
-
var
|
|
25722
|
+
var GetPlanVariantDetailsAddItemAdditionalCurrency$inboundSchema = z56.object({
|
|
25101
25723
|
currency: string5(),
|
|
25102
25724
|
amount: number2()
|
|
25103
25725
|
});
|
|
@@ -25131,24 +25753,24 @@ var GetPlanVariantDetailsPriceTier$inboundSchema = z56.pipe(
|
|
|
25131
25753
|
})
|
|
25132
25754
|
);
|
|
25133
25755
|
var GetPlanVariantDetailsTierBehavior$inboundSchema = inboundSchema(GetPlanVariantDetailsTierBehavior);
|
|
25134
|
-
var
|
|
25135
|
-
var
|
|
25756
|
+
var GetPlanVariantDetailsAddItemPriceInterval$inboundSchema = inboundSchema(GetPlanVariantDetailsAddItemPriceInterval);
|
|
25757
|
+
var GetPlanVariantDetailsAddItemBillingMethod$inboundSchema = inboundSchema(GetPlanVariantDetailsAddItemBillingMethod);
|
|
25136
25758
|
var GetPlanVariantDetailsPrice$inboundSchema = z56.pipe(
|
|
25137
25759
|
z56.object({
|
|
25138
25760
|
amount: optional3(number2()),
|
|
25139
|
-
additional_currencies: optional3(
|
|
25140
|
-
|
|
25141
|
-
),
|
|
25142
|
-
tiers: optional3(
|
|
25143
|
-
|
|
25144
|
-
),
|
|
25761
|
+
additional_currencies: optional3(z56.array(z56.lazy(
|
|
25762
|
+
() => GetPlanVariantDetailsAddItemAdditionalCurrency$inboundSchema
|
|
25763
|
+
))),
|
|
25764
|
+
tiers: optional3(z56.array(z56.lazy(
|
|
25765
|
+
() => GetPlanVariantDetailsPriceTier$inboundSchema
|
|
25766
|
+
))),
|
|
25145
25767
|
tier_behavior: optional3(
|
|
25146
25768
|
GetPlanVariantDetailsTierBehavior$inboundSchema
|
|
25147
25769
|
),
|
|
25148
|
-
interval:
|
|
25770
|
+
interval: GetPlanVariantDetailsAddItemPriceInterval$inboundSchema,
|
|
25149
25771
|
interval_count: z56._default(number2(), 1),
|
|
25150
25772
|
billing_units: z56._default(number2(), 1),
|
|
25151
|
-
billing_method:
|
|
25773
|
+
billing_method: GetPlanVariantDetailsAddItemBillingMethod$inboundSchema,
|
|
25152
25774
|
max_purchase: z56.optional(z56.nullable(number2()))
|
|
25153
25775
|
}),
|
|
25154
25776
|
z56.transform((v) => {
|
|
@@ -25162,12 +25784,12 @@ var GetPlanVariantDetailsPrice$inboundSchema = z56.pipe(
|
|
|
25162
25784
|
});
|
|
25163
25785
|
})
|
|
25164
25786
|
);
|
|
25165
|
-
var
|
|
25166
|
-
var
|
|
25167
|
-
var
|
|
25787
|
+
var GetPlanVariantDetailsOnIncrease$inboundSchema = inboundSchema(GetPlanVariantDetailsOnIncrease);
|
|
25788
|
+
var GetPlanVariantDetailsOnDecrease$inboundSchema = inboundSchema(GetPlanVariantDetailsOnDecrease);
|
|
25789
|
+
var GetPlanVariantDetailsProration$inboundSchema = z56.pipe(
|
|
25168
25790
|
z56.object({
|
|
25169
|
-
on_increase:
|
|
25170
|
-
on_decrease:
|
|
25791
|
+
on_increase: GetPlanVariantDetailsOnIncrease$inboundSchema,
|
|
25792
|
+
on_decrease: GetPlanVariantDetailsOnDecrease$inboundSchema
|
|
25171
25793
|
}),
|
|
25172
25794
|
z56.transform((v) => {
|
|
25173
25795
|
return remap(v, {
|
|
@@ -25438,7 +26060,7 @@ var GetPlanVariantDetailsFeatureOverride$inboundSchema = z56.pipe(
|
|
|
25438
26060
|
});
|
|
25439
26061
|
})
|
|
25440
26062
|
);
|
|
25441
|
-
var
|
|
26063
|
+
var GetPlanVariantDetailsPlanItem$inboundSchema = z56.pipe(
|
|
25442
26064
|
z56.object({
|
|
25443
26065
|
threshold_billing: z56.optional(z56.nullable(z56.lazy(
|
|
25444
26066
|
() => GetPlanVariantDetailsThresholdBilling$inboundSchema
|
|
@@ -25453,7 +26075,9 @@ var GetPlanPlanItem$inboundSchema = z56.pipe(
|
|
|
25453
26075
|
price: optional3(
|
|
25454
26076
|
z56.lazy(() => GetPlanVariantDetailsPrice$inboundSchema)
|
|
25455
26077
|
),
|
|
25456
|
-
proration: optional3(
|
|
26078
|
+
proration: optional3(
|
|
26079
|
+
z56.lazy(() => GetPlanVariantDetailsProration$inboundSchema)
|
|
26080
|
+
),
|
|
25457
26081
|
rollover: optional3(
|
|
25458
26082
|
z56.lazy(() => GetPlanVariantDetailsRollover$inboundSchema)
|
|
25459
26083
|
),
|
|
@@ -25472,23 +26096,23 @@ var GetPlanPlanItem$inboundSchema = z56.pipe(
|
|
|
25472
26096
|
});
|
|
25473
26097
|
})
|
|
25474
26098
|
);
|
|
25475
|
-
var
|
|
25476
|
-
var
|
|
25477
|
-
var
|
|
25478
|
-
var
|
|
25479
|
-
|
|
25480
|
-
|
|
26099
|
+
var GetPlanVariantDetailsRemoveItemBillingMethod$inboundSchema = inboundSchema(GetPlanVariantDetailsRemoveItemBillingMethod);
|
|
26100
|
+
var GetPlanIntervalVariantDetailsRemoveItemEnum2$inboundSchema = inboundSchema(GetPlanIntervalVariantDetailsRemoveItemEnum2);
|
|
26101
|
+
var GetPlanIntervalVariantDetailsRemoveItemEnum1$inboundSchema = inboundSchema(GetPlanIntervalVariantDetailsRemoveItemEnum1);
|
|
26102
|
+
var GetPlanVariantDetailsIntervalUnion$inboundSchema = smartUnion([
|
|
26103
|
+
GetPlanIntervalVariantDetailsRemoveItemEnum1$inboundSchema,
|
|
26104
|
+
GetPlanIntervalVariantDetailsRemoveItemEnum2$inboundSchema
|
|
25481
26105
|
]);
|
|
25482
|
-
var
|
|
26106
|
+
var GetPlanVariantDetailsPlanItemFilter$inboundSchema = z56.pipe(
|
|
25483
26107
|
z56.object({
|
|
25484
26108
|
feature_id: optional3(string5()),
|
|
25485
26109
|
billing_method: optional3(
|
|
25486
|
-
|
|
26110
|
+
GetPlanVariantDetailsRemoveItemBillingMethod$inboundSchema
|
|
25487
26111
|
),
|
|
25488
26112
|
interval: optional3(
|
|
25489
26113
|
smartUnion([
|
|
25490
|
-
|
|
25491
|
-
|
|
26114
|
+
GetPlanIntervalVariantDetailsRemoveItemEnum1$inboundSchema,
|
|
26115
|
+
GetPlanIntervalVariantDetailsRemoveItemEnum2$inboundSchema
|
|
25492
26116
|
])
|
|
25493
26117
|
),
|
|
25494
26118
|
interval_count: optional3(number2()),
|
|
@@ -25712,6 +26336,96 @@ var GetPlanIntervalUpsertLicenseRemoveItemEnum1 = {
|
|
|
25712
26336
|
SemiAnnual: "semi_annual",
|
|
25713
26337
|
Year: "year"
|
|
25714
26338
|
};
|
|
26339
|
+
var GetPlanPriceLicenseInterval = {
|
|
26340
|
+
OneOff: "one_off",
|
|
26341
|
+
Week: "week",
|
|
26342
|
+
Month: "month",
|
|
26343
|
+
Quarter: "quarter",
|
|
26344
|
+
SemiAnnual: "semi_annual",
|
|
26345
|
+
Year: "year"
|
|
26346
|
+
};
|
|
26347
|
+
var GetPlanLicenseResetInterval = {
|
|
26348
|
+
OneOff: "one_off",
|
|
26349
|
+
Minute: "minute",
|
|
26350
|
+
Hour: "hour",
|
|
26351
|
+
Day: "day",
|
|
26352
|
+
Week: "week",
|
|
26353
|
+
Month: "month",
|
|
26354
|
+
Quarter: "quarter",
|
|
26355
|
+
SemiAnnual: "semi_annual",
|
|
26356
|
+
Year: "year"
|
|
26357
|
+
};
|
|
26358
|
+
var GetPlanLicenseTierBehavior = {
|
|
26359
|
+
Graduated: "graduated",
|
|
26360
|
+
Volume: "volume"
|
|
26361
|
+
};
|
|
26362
|
+
var GetPlanLicenseAddItemPriceInterval = {
|
|
26363
|
+
OneOff: "one_off",
|
|
26364
|
+
Week: "week",
|
|
26365
|
+
Month: "month",
|
|
26366
|
+
Quarter: "quarter",
|
|
26367
|
+
SemiAnnual: "semi_annual",
|
|
26368
|
+
Year: "year"
|
|
26369
|
+
};
|
|
26370
|
+
var GetPlanLicenseAddItemBillingMethod = {
|
|
26371
|
+
Prepaid: "prepaid",
|
|
26372
|
+
UsageBased: "usage_based"
|
|
26373
|
+
};
|
|
26374
|
+
var GetPlanLicenseOnIncrease = {
|
|
26375
|
+
BillImmediately: "bill_immediately",
|
|
26376
|
+
ProrateImmediately: "prorate_immediately",
|
|
26377
|
+
ProrateNextCycle: "prorate_next_cycle",
|
|
26378
|
+
BillNextCycle: "bill_next_cycle"
|
|
26379
|
+
};
|
|
26380
|
+
var GetPlanLicenseOnDecrease = {
|
|
26381
|
+
Prorate: "prorate",
|
|
26382
|
+
ProrateImmediately: "prorate_immediately",
|
|
26383
|
+
ProrateNextCycle: "prorate_next_cycle",
|
|
26384
|
+
None: "none",
|
|
26385
|
+
NoProrations: "no_prorations"
|
|
26386
|
+
};
|
|
26387
|
+
var GetPlanLicenseExpiryDurationType = {
|
|
26388
|
+
Month: "month",
|
|
26389
|
+
Forever: "forever"
|
|
26390
|
+
};
|
|
26391
|
+
var GetPlanLicenseDuration = {
|
|
26392
|
+
Day: "day",
|
|
26393
|
+
Week: "week",
|
|
26394
|
+
Month: "month",
|
|
26395
|
+
Year: "year"
|
|
26396
|
+
};
|
|
26397
|
+
var GetPlanDimensionsToLicenseEnum2 = {
|
|
26398
|
+
Inf: "inf"
|
|
26399
|
+
};
|
|
26400
|
+
var GetPlanDimensionsToLicenseEnum1 = {
|
|
26401
|
+
Inf: "inf"
|
|
26402
|
+
};
|
|
26403
|
+
var GetPlanToLicenseEnum = {
|
|
26404
|
+
Inf: "inf"
|
|
26405
|
+
};
|
|
26406
|
+
var GetPlanLicenseRemoveItemBillingMethod = {
|
|
26407
|
+
Prepaid: "prepaid",
|
|
26408
|
+
UsageBased: "usage_based"
|
|
26409
|
+
};
|
|
26410
|
+
var GetPlanIntervalLicenseRemoveItemEnum2 = {
|
|
26411
|
+
OneOff: "one_off",
|
|
26412
|
+
Minute: "minute",
|
|
26413
|
+
Hour: "hour",
|
|
26414
|
+
Day: "day",
|
|
26415
|
+
Week: "week",
|
|
26416
|
+
Month: "month",
|
|
26417
|
+
Quarter: "quarter",
|
|
26418
|
+
SemiAnnual: "semi_annual",
|
|
26419
|
+
Year: "year"
|
|
26420
|
+
};
|
|
26421
|
+
var GetPlanIntervalLicenseRemoveItemEnum1 = {
|
|
26422
|
+
OneOff: "one_off",
|
|
26423
|
+
Week: "week",
|
|
26424
|
+
Month: "month",
|
|
26425
|
+
Quarter: "quarter",
|
|
26426
|
+
SemiAnnual: "semi_annual",
|
|
26427
|
+
Year: "year"
|
|
26428
|
+
};
|
|
25715
26429
|
var GetPlanVariantDetailsOverageAllowed$inboundSchema = z57.pipe(
|
|
25716
26430
|
z57.object({
|
|
25717
26431
|
feature_id: string5(),
|
|
@@ -26240,11 +26954,15 @@ var GetPlanRemoveLicense$inboundSchema = z57.pipe(
|
|
|
26240
26954
|
});
|
|
26241
26955
|
})
|
|
26242
26956
|
);
|
|
26243
|
-
var
|
|
26957
|
+
var GetPlanVariantDetailsCustomize$inboundSchema = z57.pipe(
|
|
26244
26958
|
z57.object({
|
|
26245
|
-
price: z57.optional(z57.nullable(
|
|
26246
|
-
add_items: optional3(
|
|
26247
|
-
|
|
26959
|
+
price: z57.optional(z57.nullable(GetPlanVariantDetailsBasePrice$inboundSchema)),
|
|
26960
|
+
add_items: optional3(
|
|
26961
|
+
z57.array(GetPlanVariantDetailsPlanItem$inboundSchema)
|
|
26962
|
+
),
|
|
26963
|
+
remove_items: optional3(
|
|
26964
|
+
z57.array(GetPlanVariantDetailsPlanItemFilter$inboundSchema)
|
|
26965
|
+
),
|
|
26248
26966
|
free_trial: z57.optional(z57.nullable(GetPlanFreeTrialParams$inboundSchema)),
|
|
26249
26967
|
billing_controls: optional3(
|
|
26250
26968
|
z57.lazy(() => GetPlanVariantDetailsBillingControls$inboundSchema)
|
|
@@ -26270,7 +26988,9 @@ var GetPlanCustomize$inboundSchema = z57.pipe(
|
|
|
26270
26988
|
var GetPlanVariantDetails$inboundSchema = z57.pipe(
|
|
26271
26989
|
z57.object({
|
|
26272
26990
|
base_plan_id: string5(),
|
|
26273
|
-
customize: optional3(
|
|
26991
|
+
customize: optional3(
|
|
26992
|
+
z57.lazy(() => GetPlanVariantDetailsCustomize$inboundSchema)
|
|
26993
|
+
)
|
|
26274
26994
|
}),
|
|
26275
26995
|
z57.transform((v) => {
|
|
26276
26996
|
return remap(v, {
|
|
@@ -26278,6 +26998,464 @@ var GetPlanVariantDetails$inboundSchema = z57.pipe(
|
|
|
26278
26998
|
});
|
|
26279
26999
|
})
|
|
26280
27000
|
);
|
|
27001
|
+
var GetPlanPriceLicenseInterval$inboundSchema = inboundSchema(GetPlanPriceLicenseInterval);
|
|
27002
|
+
var GetPlanLicenseAdditionalCurrency$inboundSchema = z57.object({
|
|
27003
|
+
currency: string5(),
|
|
27004
|
+
amount: number2()
|
|
27005
|
+
});
|
|
27006
|
+
var GetPlanLicenseBasePrice$inboundSchema = z57.pipe(
|
|
27007
|
+
z57.object({
|
|
27008
|
+
amount: number2(),
|
|
27009
|
+
interval: GetPlanPriceLicenseInterval$inboundSchema,
|
|
27010
|
+
interval_count: z57._default(number2(), 1),
|
|
27011
|
+
additional_currencies: optional3(
|
|
27012
|
+
z57.array(z57.lazy(() => GetPlanLicenseAdditionalCurrency$inboundSchema))
|
|
27013
|
+
)
|
|
27014
|
+
}),
|
|
27015
|
+
z57.transform((v) => {
|
|
27016
|
+
return remap(v, {
|
|
27017
|
+
"interval_count": "intervalCount",
|
|
27018
|
+
"additional_currencies": "additionalCurrencies"
|
|
27019
|
+
});
|
|
27020
|
+
})
|
|
27021
|
+
);
|
|
27022
|
+
var GetPlanLicenseThresholdBilling$inboundSchema = z57.object({
|
|
27023
|
+
threshold: number2()
|
|
27024
|
+
});
|
|
27025
|
+
var GetPlanLicenseResetInterval$inboundSchema = inboundSchema(GetPlanLicenseResetInterval);
|
|
27026
|
+
var GetPlanLicenseReset$inboundSchema = z57.pipe(
|
|
27027
|
+
z57.object({
|
|
27028
|
+
interval: GetPlanLicenseResetInterval$inboundSchema,
|
|
27029
|
+
interval_count: z57._default(number2(), 1)
|
|
27030
|
+
}),
|
|
27031
|
+
z57.transform((v) => {
|
|
27032
|
+
return remap(v, {
|
|
27033
|
+
"interval_count": "intervalCount"
|
|
27034
|
+
});
|
|
27035
|
+
})
|
|
27036
|
+
);
|
|
27037
|
+
var GetPlanLicenseAddItemAdditionalCurrency$inboundSchema = z57.object({
|
|
27038
|
+
currency: string5(),
|
|
27039
|
+
amount: number2()
|
|
27040
|
+
});
|
|
27041
|
+
var GetPlanLicensePriceTo$inboundSchema = smartUnion([number2(), string5()]);
|
|
27042
|
+
var GetPlanLicenseTierAdditionalCurrency$inboundSchema = z57.pipe(
|
|
27043
|
+
z57.object({
|
|
27044
|
+
currency: string5(),
|
|
27045
|
+
amount: optional3(number2()),
|
|
27046
|
+
flat_amount: optional3(number2())
|
|
27047
|
+
}),
|
|
27048
|
+
z57.transform((v) => {
|
|
27049
|
+
return remap(v, {
|
|
27050
|
+
"flat_amount": "flatAmount"
|
|
27051
|
+
});
|
|
27052
|
+
})
|
|
27053
|
+
);
|
|
27054
|
+
var GetPlanLicensePriceTier$inboundSchema = z57.pipe(
|
|
27055
|
+
z57.object({
|
|
27056
|
+
to: smartUnion([number2(), string5()]),
|
|
27057
|
+
amount: number2(),
|
|
27058
|
+
flat_amount: optional3(number2()),
|
|
27059
|
+
additional_currencies: optional3(
|
|
27060
|
+
z57.array(z57.lazy(() => GetPlanLicenseTierAdditionalCurrency$inboundSchema))
|
|
27061
|
+
)
|
|
27062
|
+
}),
|
|
27063
|
+
z57.transform((v) => {
|
|
27064
|
+
return remap(v, {
|
|
27065
|
+
"flat_amount": "flatAmount",
|
|
27066
|
+
"additional_currencies": "additionalCurrencies"
|
|
27067
|
+
});
|
|
27068
|
+
})
|
|
27069
|
+
);
|
|
27070
|
+
var GetPlanLicenseTierBehavior$inboundSchema = inboundSchema(GetPlanLicenseTierBehavior);
|
|
27071
|
+
var GetPlanLicenseAddItemPriceInterval$inboundSchema = inboundSchema(GetPlanLicenseAddItemPriceInterval);
|
|
27072
|
+
var GetPlanLicenseAddItemBillingMethod$inboundSchema = inboundSchema(GetPlanLicenseAddItemBillingMethod);
|
|
27073
|
+
var GetPlanLicensePrice$inboundSchema = z57.pipe(
|
|
27074
|
+
z57.object({
|
|
27075
|
+
amount: optional3(number2()),
|
|
27076
|
+
additional_currencies: optional3(z57.array(z57.lazy(
|
|
27077
|
+
() => GetPlanLicenseAddItemAdditionalCurrency$inboundSchema
|
|
27078
|
+
))),
|
|
27079
|
+
tiers: optional3(z57.array(z57.lazy(
|
|
27080
|
+
() => GetPlanLicensePriceTier$inboundSchema
|
|
27081
|
+
))),
|
|
27082
|
+
tier_behavior: optional3(GetPlanLicenseTierBehavior$inboundSchema),
|
|
27083
|
+
interval: GetPlanLicenseAddItemPriceInterval$inboundSchema,
|
|
27084
|
+
interval_count: z57._default(number2(), 1),
|
|
27085
|
+
billing_units: z57._default(number2(), 1),
|
|
27086
|
+
billing_method: GetPlanLicenseAddItemBillingMethod$inboundSchema,
|
|
27087
|
+
max_purchase: z57.optional(z57.nullable(number2()))
|
|
27088
|
+
}),
|
|
27089
|
+
z57.transform((v) => {
|
|
27090
|
+
return remap(v, {
|
|
27091
|
+
"additional_currencies": "additionalCurrencies",
|
|
27092
|
+
"tier_behavior": "tierBehavior",
|
|
27093
|
+
"interval_count": "intervalCount",
|
|
27094
|
+
"billing_units": "billingUnits",
|
|
27095
|
+
"billing_method": "billingMethod",
|
|
27096
|
+
"max_purchase": "maxPurchase"
|
|
27097
|
+
});
|
|
27098
|
+
})
|
|
27099
|
+
);
|
|
27100
|
+
var GetPlanLicenseOnIncrease$inboundSchema = inboundSchema(GetPlanLicenseOnIncrease);
|
|
27101
|
+
var GetPlanLicenseOnDecrease$inboundSchema = inboundSchema(GetPlanLicenseOnDecrease);
|
|
27102
|
+
var GetPlanLicenseProration$inboundSchema = z57.pipe(
|
|
27103
|
+
z57.object({
|
|
27104
|
+
on_increase: GetPlanLicenseOnIncrease$inboundSchema,
|
|
27105
|
+
on_decrease: GetPlanLicenseOnDecrease$inboundSchema
|
|
27106
|
+
}),
|
|
27107
|
+
z57.transform((v) => {
|
|
27108
|
+
return remap(v, {
|
|
27109
|
+
"on_increase": "onIncrease",
|
|
27110
|
+
"on_decrease": "onDecrease"
|
|
27111
|
+
});
|
|
27112
|
+
})
|
|
27113
|
+
);
|
|
27114
|
+
var GetPlanLicenseExpiryDurationType$inboundSchema = inboundSchema(GetPlanLicenseExpiryDurationType);
|
|
27115
|
+
var GetPlanLicenseRollover$inboundSchema = z57.pipe(
|
|
27116
|
+
z57.object({
|
|
27117
|
+
max: optional3(number2()),
|
|
27118
|
+
max_percentage: optional3(number2()),
|
|
27119
|
+
expiry_duration_type: GetPlanLicenseExpiryDurationType$inboundSchema,
|
|
27120
|
+
expiry_duration_length: optional3(number2())
|
|
27121
|
+
}),
|
|
27122
|
+
z57.transform((v) => {
|
|
27123
|
+
return remap(v, {
|
|
27124
|
+
"max_percentage": "maxPercentage",
|
|
27125
|
+
"expiry_duration_type": "expiryDurationType",
|
|
27126
|
+
"expiry_duration_length": "expiryDurationLength"
|
|
27127
|
+
});
|
|
27128
|
+
})
|
|
27129
|
+
);
|
|
27130
|
+
var GetPlanLicenseDuration$inboundSchema = inboundSchema(GetPlanLicenseDuration);
|
|
27131
|
+
var GetPlanLicenseExpiry$inboundSchema = z57.object({
|
|
27132
|
+
duration: GetPlanLicenseDuration$inboundSchema,
|
|
27133
|
+
length: number2()
|
|
27134
|
+
});
|
|
27135
|
+
var GetPlanDimensionsLicense4$inboundSchema = z57.pipe(
|
|
27136
|
+
z57.object({
|
|
27137
|
+
match: z57.record(z57.string(), string5()),
|
|
27138
|
+
priority: optional3(number2()),
|
|
27139
|
+
credit_cost: number2()
|
|
27140
|
+
}),
|
|
27141
|
+
z57.transform((v) => {
|
|
27142
|
+
return remap(v, {
|
|
27143
|
+
"credit_cost": "creditCost"
|
|
27144
|
+
});
|
|
27145
|
+
})
|
|
27146
|
+
);
|
|
27147
|
+
var GetPlanDimensionsToLicenseEnum2$inboundSchema = z57.enum(GetPlanDimensionsToLicenseEnum2);
|
|
27148
|
+
var GetPlanDimensionsLicenseToUnion2$inboundSchema = smartUnion([number2(), GetPlanDimensionsToLicenseEnum2$inboundSchema]);
|
|
27149
|
+
var GetPlanDimensionsLicenseTier2$inboundSchema = z57.pipe(
|
|
27150
|
+
z57.object({
|
|
27151
|
+
to: smartUnion([
|
|
27152
|
+
number2(),
|
|
27153
|
+
GetPlanDimensionsToLicenseEnum2$inboundSchema
|
|
27154
|
+
]),
|
|
27155
|
+
credit_cost: number2()
|
|
27156
|
+
}),
|
|
27157
|
+
z57.transform((v) => {
|
|
27158
|
+
return remap(v, {
|
|
27159
|
+
"credit_cost": "creditCost"
|
|
27160
|
+
});
|
|
27161
|
+
})
|
|
27162
|
+
);
|
|
27163
|
+
var GetPlanDimensionsLicense3$inboundSchema = z57.pipe(
|
|
27164
|
+
z57.object({
|
|
27165
|
+
match: z57.record(z57.string(), string5()),
|
|
27166
|
+
priority: optional3(number2()),
|
|
27167
|
+
tier_behavior: literal3("graduated"),
|
|
27168
|
+
tiers: z57.array(z57.lazy(() => GetPlanDimensionsLicenseTier2$inboundSchema))
|
|
27169
|
+
}),
|
|
27170
|
+
z57.transform((v) => {
|
|
27171
|
+
return remap(v, {
|
|
27172
|
+
"tier_behavior": "tierBehavior"
|
|
27173
|
+
});
|
|
27174
|
+
})
|
|
27175
|
+
);
|
|
27176
|
+
var GetPlanLicenseDimensionsUnion2$inboundSchema = smartUnion([
|
|
27177
|
+
z57.lazy(() => GetPlanDimensionsLicense3$inboundSchema),
|
|
27178
|
+
z57.lazy(() => GetPlanDimensionsLicense4$inboundSchema)
|
|
27179
|
+
]);
|
|
27180
|
+
var GetPlanLicenseMultipliers2$inboundSchema = z57.object({
|
|
27181
|
+
match: z57.record(z57.string(), string5()),
|
|
27182
|
+
factor: optional3(number2()),
|
|
27183
|
+
add: optional3(number2())
|
|
27184
|
+
});
|
|
27185
|
+
var GetPlanCreditSchemaLicense2$inboundSchema = z57.pipe(
|
|
27186
|
+
z57.object({
|
|
27187
|
+
metered_feature_id: string5(),
|
|
27188
|
+
billing_units: optional3(number2()),
|
|
27189
|
+
dimensions: optional3(z57.record(
|
|
27190
|
+
z57.string(),
|
|
27191
|
+
smartUnion([
|
|
27192
|
+
z57.lazy(() => GetPlanDimensionsLicense3$inboundSchema),
|
|
27193
|
+
z57.lazy(() => GetPlanDimensionsLicense4$inboundSchema)
|
|
27194
|
+
])
|
|
27195
|
+
)),
|
|
27196
|
+
multipliers: optional3(z57.record(
|
|
27197
|
+
z57.string(),
|
|
27198
|
+
z57.lazy(() => GetPlanLicenseMultipliers2$inboundSchema)
|
|
27199
|
+
)),
|
|
27200
|
+
credit_cost: number2()
|
|
27201
|
+
}),
|
|
27202
|
+
z57.transform((v) => {
|
|
27203
|
+
return remap(v, {
|
|
27204
|
+
"metered_feature_id": "meteredFeatureId",
|
|
27205
|
+
"billing_units": "billingUnits",
|
|
27206
|
+
"credit_cost": "creditCost"
|
|
27207
|
+
});
|
|
27208
|
+
})
|
|
27209
|
+
);
|
|
27210
|
+
var GetPlanDimensionsLicense2$inboundSchema = z57.pipe(
|
|
27211
|
+
z57.object({
|
|
27212
|
+
match: z57.record(z57.string(), string5()),
|
|
27213
|
+
priority: optional3(number2()),
|
|
27214
|
+
credit_cost: number2()
|
|
27215
|
+
}),
|
|
27216
|
+
z57.transform((v) => {
|
|
27217
|
+
return remap(v, {
|
|
27218
|
+
"credit_cost": "creditCost"
|
|
27219
|
+
});
|
|
27220
|
+
})
|
|
27221
|
+
);
|
|
27222
|
+
var GetPlanDimensionsToLicenseEnum1$inboundSchema = z57.enum(GetPlanDimensionsToLicenseEnum1);
|
|
27223
|
+
var GetPlanDimensionsLicenseToUnion1$inboundSchema = smartUnion([number2(), GetPlanDimensionsToLicenseEnum1$inboundSchema]);
|
|
27224
|
+
var GetPlanDimensionsLicenseTier1$inboundSchema = z57.pipe(
|
|
27225
|
+
z57.object({
|
|
27226
|
+
to: smartUnion([
|
|
27227
|
+
number2(),
|
|
27228
|
+
GetPlanDimensionsToLicenseEnum1$inboundSchema
|
|
27229
|
+
]),
|
|
27230
|
+
credit_cost: number2()
|
|
27231
|
+
}),
|
|
27232
|
+
z57.transform((v) => {
|
|
27233
|
+
return remap(v, {
|
|
27234
|
+
"credit_cost": "creditCost"
|
|
27235
|
+
});
|
|
27236
|
+
})
|
|
27237
|
+
);
|
|
27238
|
+
var GetPlanDimensionsLicense1$inboundSchema = z57.pipe(
|
|
27239
|
+
z57.object({
|
|
27240
|
+
match: z57.record(z57.string(), string5()),
|
|
27241
|
+
priority: optional3(number2()),
|
|
27242
|
+
tier_behavior: literal3("graduated"),
|
|
27243
|
+
tiers: z57.array(z57.lazy(() => GetPlanDimensionsLicenseTier1$inboundSchema))
|
|
27244
|
+
}),
|
|
27245
|
+
z57.transform((v) => {
|
|
27246
|
+
return remap(v, {
|
|
27247
|
+
"tier_behavior": "tierBehavior"
|
|
27248
|
+
});
|
|
27249
|
+
})
|
|
27250
|
+
);
|
|
27251
|
+
var GetPlanLicenseDimensionsUnion1$inboundSchema = smartUnion([
|
|
27252
|
+
z57.lazy(() => GetPlanDimensionsLicense1$inboundSchema),
|
|
27253
|
+
z57.lazy(() => GetPlanDimensionsLicense2$inboundSchema)
|
|
27254
|
+
]);
|
|
27255
|
+
var GetPlanLicenseMultipliers1$inboundSchema = z57.object({
|
|
27256
|
+
match: z57.record(z57.string(), string5()),
|
|
27257
|
+
factor: optional3(number2()),
|
|
27258
|
+
add: optional3(number2())
|
|
27259
|
+
});
|
|
27260
|
+
var GetPlanToLicenseEnum$inboundSchema = z57.enum(GetPlanToLicenseEnum);
|
|
27261
|
+
var GetPlanLicenseFeatureOverrideToUnion$inboundSchema = smartUnion([number2(), GetPlanToLicenseEnum$inboundSchema]);
|
|
27262
|
+
var GetPlanLicenseFeatureOverrideTier$inboundSchema = z57.pipe(
|
|
27263
|
+
z57.object({
|
|
27264
|
+
to: smartUnion([number2(), GetPlanToLicenseEnum$inboundSchema]),
|
|
27265
|
+
credit_cost: number2()
|
|
27266
|
+
}),
|
|
27267
|
+
z57.transform((v) => {
|
|
27268
|
+
return remap(v, {
|
|
27269
|
+
"credit_cost": "creditCost"
|
|
27270
|
+
});
|
|
27271
|
+
})
|
|
27272
|
+
);
|
|
27273
|
+
var GetPlanCreditSchemaLicense1$inboundSchema = z57.pipe(
|
|
27274
|
+
z57.object({
|
|
27275
|
+
metered_feature_id: string5(),
|
|
27276
|
+
billing_units: optional3(number2()),
|
|
27277
|
+
dimensions: optional3(z57.record(
|
|
27278
|
+
z57.string(),
|
|
27279
|
+
smartUnion([
|
|
27280
|
+
z57.lazy(() => GetPlanDimensionsLicense1$inboundSchema),
|
|
27281
|
+
z57.lazy(() => GetPlanDimensionsLicense2$inboundSchema)
|
|
27282
|
+
])
|
|
27283
|
+
)),
|
|
27284
|
+
multipliers: optional3(z57.record(
|
|
27285
|
+
z57.string(),
|
|
27286
|
+
z57.lazy(() => GetPlanLicenseMultipliers1$inboundSchema)
|
|
27287
|
+
)),
|
|
27288
|
+
tier_behavior: literal3("graduated"),
|
|
27289
|
+
tiers: z57.array(z57.lazy(
|
|
27290
|
+
() => GetPlanLicenseFeatureOverrideTier$inboundSchema
|
|
27291
|
+
))
|
|
27292
|
+
}),
|
|
27293
|
+
z57.transform((v) => {
|
|
27294
|
+
return remap(v, {
|
|
27295
|
+
"metered_feature_id": "meteredFeatureId",
|
|
27296
|
+
"billing_units": "billingUnits",
|
|
27297
|
+
"tier_behavior": "tierBehavior"
|
|
27298
|
+
});
|
|
27299
|
+
})
|
|
27300
|
+
);
|
|
27301
|
+
var GetPlanLicenseCreditSchemaUnion$inboundSchema = smartUnion([
|
|
27302
|
+
z57.lazy(() => GetPlanCreditSchemaLicense1$inboundSchema),
|
|
27303
|
+
z57.lazy(() => GetPlanCreditSchemaLicense2$inboundSchema)
|
|
27304
|
+
]);
|
|
27305
|
+
var GetPlanLicenseProviderMarkups$inboundSchema = z57.object({
|
|
27306
|
+
markup: number2()
|
|
27307
|
+
});
|
|
27308
|
+
var GetPlanLicenseModelMarkups$inboundSchema = z57.pipe(
|
|
27309
|
+
z57.object({
|
|
27310
|
+
markup: optional3(number2()),
|
|
27311
|
+
input_cost: optional3(number2()),
|
|
27312
|
+
output_cost: optional3(number2())
|
|
27313
|
+
}),
|
|
27314
|
+
z57.transform((v) => {
|
|
27315
|
+
return remap(v, {
|
|
27316
|
+
"input_cost": "inputCost",
|
|
27317
|
+
"output_cost": "outputCost"
|
|
27318
|
+
});
|
|
27319
|
+
})
|
|
27320
|
+
);
|
|
27321
|
+
var GetPlanLicenseMarkups$inboundSchema = z57.pipe(
|
|
27322
|
+
z57.object({
|
|
27323
|
+
default_markup: optional3(number2()),
|
|
27324
|
+
provider_markups: z57.optional(z57.nullable(z57.record(
|
|
27325
|
+
z57.string(),
|
|
27326
|
+
z57.lazy(() => GetPlanLicenseProviderMarkups$inboundSchema)
|
|
27327
|
+
))),
|
|
27328
|
+
model_markups: z57.optional(z57.nullable(z57.record(
|
|
27329
|
+
z57.string(),
|
|
27330
|
+
z57.lazy(() => GetPlanLicenseModelMarkups$inboundSchema)
|
|
27331
|
+
)))
|
|
27332
|
+
}),
|
|
27333
|
+
z57.transform((v) => {
|
|
27334
|
+
return remap(v, {
|
|
27335
|
+
"default_markup": "defaultMarkup",
|
|
27336
|
+
"provider_markups": "providerMarkups",
|
|
27337
|
+
"model_markups": "modelMarkups"
|
|
27338
|
+
});
|
|
27339
|
+
})
|
|
27340
|
+
);
|
|
27341
|
+
var GetPlanLicenseFeatureOverride$inboundSchema = z57.pipe(
|
|
27342
|
+
z57.object({
|
|
27343
|
+
credit_schema: optional3(z57.array(smartUnion([
|
|
27344
|
+
z57.lazy(() => GetPlanCreditSchemaLicense1$inboundSchema),
|
|
27345
|
+
z57.lazy(
|
|
27346
|
+
() => GetPlanCreditSchemaLicense2$inboundSchema
|
|
27347
|
+
)
|
|
27348
|
+
]))),
|
|
27349
|
+
markups: optional3(z57.lazy(
|
|
27350
|
+
() => GetPlanLicenseMarkups$inboundSchema
|
|
27351
|
+
))
|
|
27352
|
+
}),
|
|
27353
|
+
z57.transform((v) => {
|
|
27354
|
+
return remap(v, {
|
|
27355
|
+
"credit_schema": "creditSchema"
|
|
27356
|
+
});
|
|
27357
|
+
})
|
|
27358
|
+
);
|
|
27359
|
+
var GetPlanLicensePlanItem$inboundSchema = z57.pipe(
|
|
27360
|
+
z57.object({
|
|
27361
|
+
threshold_billing: z57.optional(
|
|
27362
|
+
z57.nullable(z57.lazy(() => GetPlanLicenseThresholdBilling$inboundSchema))
|
|
27363
|
+
),
|
|
27364
|
+
feature_id: string5(),
|
|
27365
|
+
included: optional3(number2()),
|
|
27366
|
+
unlimited: optional3(boolean2()),
|
|
27367
|
+
pooled: z57._default(boolean2(), false),
|
|
27368
|
+
reset: optional3(z57.lazy(() => GetPlanLicenseReset$inboundSchema)),
|
|
27369
|
+
price: optional3(z57.lazy(() => GetPlanLicensePrice$inboundSchema)),
|
|
27370
|
+
proration: optional3(
|
|
27371
|
+
z57.lazy(() => GetPlanLicenseProration$inboundSchema)
|
|
27372
|
+
),
|
|
27373
|
+
rollover: optional3(
|
|
27374
|
+
z57.lazy(() => GetPlanLicenseRollover$inboundSchema)
|
|
27375
|
+
),
|
|
27376
|
+
expiry: optional3(z57.lazy(() => GetPlanLicenseExpiry$inboundSchema)),
|
|
27377
|
+
feature_override: optional3(
|
|
27378
|
+
z57.lazy(() => GetPlanLicenseFeatureOverride$inboundSchema)
|
|
27379
|
+
)
|
|
27380
|
+
}),
|
|
27381
|
+
z57.transform((v) => {
|
|
27382
|
+
return remap(v, {
|
|
27383
|
+
"threshold_billing": "thresholdBilling",
|
|
27384
|
+
"feature_id": "featureId",
|
|
27385
|
+
"feature_override": "featureOverride"
|
|
27386
|
+
});
|
|
27387
|
+
})
|
|
27388
|
+
);
|
|
27389
|
+
var GetPlanLicenseRemoveItemBillingMethod$inboundSchema = inboundSchema(GetPlanLicenseRemoveItemBillingMethod);
|
|
27390
|
+
var GetPlanIntervalLicenseRemoveItemEnum2$inboundSchema = inboundSchema(GetPlanIntervalLicenseRemoveItemEnum2);
|
|
27391
|
+
var GetPlanIntervalLicenseRemoveItemEnum1$inboundSchema = inboundSchema(GetPlanIntervalLicenseRemoveItemEnum1);
|
|
27392
|
+
var GetPlanLicenseIntervalUnion$inboundSchema = smartUnion([
|
|
27393
|
+
GetPlanIntervalLicenseRemoveItemEnum1$inboundSchema,
|
|
27394
|
+
GetPlanIntervalLicenseRemoveItemEnum2$inboundSchema
|
|
27395
|
+
]);
|
|
27396
|
+
var GetPlanLicensePlanItemFilter$inboundSchema = z57.pipe(
|
|
27397
|
+
z57.object({
|
|
27398
|
+
feature_id: optional3(string5()),
|
|
27399
|
+
billing_method: optional3(
|
|
27400
|
+
GetPlanLicenseRemoveItemBillingMethod$inboundSchema
|
|
27401
|
+
),
|
|
27402
|
+
interval: optional3(
|
|
27403
|
+
smartUnion([
|
|
27404
|
+
GetPlanIntervalLicenseRemoveItemEnum1$inboundSchema,
|
|
27405
|
+
GetPlanIntervalLicenseRemoveItemEnum2$inboundSchema
|
|
27406
|
+
])
|
|
27407
|
+
),
|
|
27408
|
+
interval_count: optional3(number2()),
|
|
27409
|
+
included: optional3(number2())
|
|
27410
|
+
}),
|
|
27411
|
+
z57.transform((v) => {
|
|
27412
|
+
return remap(v, {
|
|
27413
|
+
"feature_id": "featureId",
|
|
27414
|
+
"billing_method": "billingMethod",
|
|
27415
|
+
"interval_count": "intervalCount"
|
|
27416
|
+
});
|
|
27417
|
+
})
|
|
27418
|
+
);
|
|
27419
|
+
var GetPlanLicenseCustomize$inboundSchema = z57.pipe(
|
|
27420
|
+
z57.object({
|
|
27421
|
+
price: z57.optional(
|
|
27422
|
+
z57.nullable(z57.lazy(() => GetPlanLicenseBasePrice$inboundSchema))
|
|
27423
|
+
),
|
|
27424
|
+
add_items: optional3(
|
|
27425
|
+
z57.array(z57.lazy(() => GetPlanLicensePlanItem$inboundSchema))
|
|
27426
|
+
),
|
|
27427
|
+
remove_items: optional3(
|
|
27428
|
+
z57.array(z57.lazy(() => GetPlanLicensePlanItemFilter$inboundSchema))
|
|
27429
|
+
)
|
|
27430
|
+
}),
|
|
27431
|
+
z57.transform((v) => {
|
|
27432
|
+
return remap(v, {
|
|
27433
|
+
"add_items": "addItems",
|
|
27434
|
+
"remove_items": "removeItems"
|
|
27435
|
+
});
|
|
27436
|
+
})
|
|
27437
|
+
);
|
|
27438
|
+
var GetPlanLicense$inboundSchema = z57.pipe(
|
|
27439
|
+
z57.object({
|
|
27440
|
+
license_plan_id: string5(),
|
|
27441
|
+
version: number2(),
|
|
27442
|
+
version_slug: optional3(string5()),
|
|
27443
|
+
included: number2(),
|
|
27444
|
+
prepaid_only: boolean2(),
|
|
27445
|
+
customize: optional3(
|
|
27446
|
+
z57.lazy(() => GetPlanLicenseCustomize$inboundSchema)
|
|
27447
|
+
),
|
|
27448
|
+
metadata: optional3(z57.record(z57.string(), z57.any())),
|
|
27449
|
+
plan: optional3(Plan$inboundSchema)
|
|
27450
|
+
}),
|
|
27451
|
+
z57.transform((v) => {
|
|
27452
|
+
return remap(v, {
|
|
27453
|
+
"license_plan_id": "licensePlanId",
|
|
27454
|
+
"version_slug": "versionSlug",
|
|
27455
|
+
"prepaid_only": "prepaidOnly"
|
|
27456
|
+
});
|
|
27457
|
+
})
|
|
27458
|
+
);
|
|
26281
27459
|
var GetPlanResponse$inboundSchema = z57.pipe(
|
|
26282
27460
|
z57.object({
|
|
26283
27461
|
id: string5(),
|
|
@@ -26305,6 +27483,9 @@ var GetPlanResponse$inboundSchema = z57.pipe(
|
|
|
26305
27483
|
base_variant_id: nullable(string5()),
|
|
26306
27484
|
variant_details: optional3(
|
|
26307
27485
|
z57.lazy(() => GetPlanVariantDetails$inboundSchema)
|
|
27486
|
+
),
|
|
27487
|
+
licenses: optional3(
|
|
27488
|
+
z57.array(z57.lazy(() => GetPlanLicense$inboundSchema))
|
|
26308
27489
|
)
|
|
26309
27490
|
}),
|
|
26310
27491
|
z57.transform((v) => {
|
|
@@ -48233,7 +49414,7 @@ var UpdatePlanDimensionsToItemRequestBodyEnum1 = {
|
|
|
48233
49414
|
var UpdatePlanToItemRequestBodyEnum = {
|
|
48234
49415
|
Inf: "inf"
|
|
48235
49416
|
};
|
|
48236
|
-
var
|
|
49417
|
+
var UpdatePlanPriceLicenseIntervalRequestBody = {
|
|
48237
49418
|
OneOff: "one_off",
|
|
48238
49419
|
Week: "week",
|
|
48239
49420
|
Month: "month",
|
|
@@ -48241,7 +49422,7 @@ var UpdatePlanPriceLicenseInterval = {
|
|
|
48241
49422
|
SemiAnnual: "semi_annual",
|
|
48242
49423
|
Year: "year"
|
|
48243
49424
|
};
|
|
48244
|
-
var
|
|
49425
|
+
var UpdatePlanLicenseResetIntervalRequestBody = {
|
|
48245
49426
|
OneOff: "one_off",
|
|
48246
49427
|
Minute: "minute",
|
|
48247
49428
|
Hour: "hour",
|
|
@@ -48252,11 +49433,11 @@ var UpdatePlanLicenseResetInterval = {
|
|
|
48252
49433
|
SemiAnnual: "semi_annual",
|
|
48253
49434
|
Year: "year"
|
|
48254
49435
|
};
|
|
48255
|
-
var
|
|
49436
|
+
var UpdatePlanLicenseTierBehaviorRequestBody = {
|
|
48256
49437
|
Graduated: "graduated",
|
|
48257
49438
|
Volume: "volume"
|
|
48258
49439
|
};
|
|
48259
|
-
var
|
|
49440
|
+
var UpdatePlanLicenseAddItemPriceIntervalRequestBody = {
|
|
48260
49441
|
OneOff: "one_off",
|
|
48261
49442
|
Week: "week",
|
|
48262
49443
|
Month: "month",
|
|
@@ -48264,47 +49445,47 @@ var UpdatePlanLicenseAddItemPriceInterval = {
|
|
|
48264
49445
|
SemiAnnual: "semi_annual",
|
|
48265
49446
|
Year: "year"
|
|
48266
49447
|
};
|
|
48267
|
-
var
|
|
49448
|
+
var UpdatePlanLicenseAddItemBillingMethodRequestBody = {
|
|
48268
49449
|
Prepaid: "prepaid",
|
|
48269
49450
|
UsageBased: "usage_based"
|
|
48270
49451
|
};
|
|
48271
|
-
var
|
|
49452
|
+
var UpdatePlanLicenseOnIncreaseRequestBody = {
|
|
48272
49453
|
BillImmediately: "bill_immediately",
|
|
48273
49454
|
ProrateImmediately: "prorate_immediately",
|
|
48274
49455
|
ProrateNextCycle: "prorate_next_cycle",
|
|
48275
49456
|
BillNextCycle: "bill_next_cycle"
|
|
48276
49457
|
};
|
|
48277
|
-
var
|
|
49458
|
+
var UpdatePlanLicenseOnDecreaseRequestBody = {
|
|
48278
49459
|
Prorate: "prorate",
|
|
48279
49460
|
ProrateImmediately: "prorate_immediately",
|
|
48280
49461
|
ProrateNextCycle: "prorate_next_cycle",
|
|
48281
49462
|
None: "none",
|
|
48282
49463
|
NoProrations: "no_prorations"
|
|
48283
49464
|
};
|
|
48284
|
-
var
|
|
49465
|
+
var UpdatePlanLicenseExpiryDurationTypeRequestBody = {
|
|
48285
49466
|
Month: "month",
|
|
48286
49467
|
Forever: "forever"
|
|
48287
49468
|
};
|
|
48288
|
-
var
|
|
49469
|
+
var UpdatePlanLicenseDurationRequestBody = {
|
|
48289
49470
|
Day: "day",
|
|
48290
49471
|
Week: "week",
|
|
48291
49472
|
Month: "month",
|
|
48292
49473
|
Year: "year"
|
|
48293
49474
|
};
|
|
48294
|
-
var
|
|
49475
|
+
var UpdatePlanDimensionsToLicenseRequestBodyEnum2 = {
|
|
48295
49476
|
Inf: "inf"
|
|
48296
49477
|
};
|
|
48297
|
-
var
|
|
49478
|
+
var UpdatePlanDimensionsToLicenseRequestBodyEnum1 = {
|
|
48298
49479
|
Inf: "inf"
|
|
48299
49480
|
};
|
|
48300
|
-
var
|
|
49481
|
+
var UpdatePlanToLicenseRequestBodyEnum = {
|
|
48301
49482
|
Inf: "inf"
|
|
48302
49483
|
};
|
|
48303
|
-
var
|
|
49484
|
+
var UpdatePlanLicenseRemoveItemBillingMethodRequestBody = {
|
|
48304
49485
|
Prepaid: "prepaid",
|
|
48305
49486
|
UsageBased: "usage_based"
|
|
48306
49487
|
};
|
|
48307
|
-
var
|
|
49488
|
+
var UpdatePlanIntervalLicenseRemoveItemRequestBodyEnum2 = {
|
|
48308
49489
|
OneOff: "one_off",
|
|
48309
49490
|
Minute: "minute",
|
|
48310
49491
|
Hour: "hour",
|
|
@@ -48315,7 +49496,7 @@ var UpdatePlanIntervalLicenseRemoveItemEnum2 = {
|
|
|
48315
49496
|
SemiAnnual: "semi_annual",
|
|
48316
49497
|
Year: "year"
|
|
48317
49498
|
};
|
|
48318
|
-
var
|
|
49499
|
+
var UpdatePlanIntervalLicenseRemoveItemRequestBodyEnum1 = {
|
|
48319
49500
|
OneOff: "one_off",
|
|
48320
49501
|
Week: "week",
|
|
48321
49502
|
Month: "month",
|
|
@@ -48846,19 +50027,21 @@ var UpdatePlanItemPlanItem$outboundSchema = z113.pipe(
|
|
|
48846
50027
|
});
|
|
48847
50028
|
})
|
|
48848
50029
|
);
|
|
48849
|
-
var
|
|
48850
|
-
|
|
50030
|
+
var UpdatePlanPriceLicenseIntervalRequestBody$outboundSchema = z113.enum(
|
|
50031
|
+
UpdatePlanPriceLicenseIntervalRequestBody
|
|
50032
|
+
);
|
|
50033
|
+
var UpdatePlanLicenseAdditionalCurrencyRequestBody$outboundSchema = z113.object({
|
|
48851
50034
|
currency: z113.string(),
|
|
48852
50035
|
amount: z113.number()
|
|
48853
50036
|
});
|
|
48854
|
-
var
|
|
50037
|
+
var UpdatePlanLicenseBasePriceRequestBody$outboundSchema = z113.pipe(
|
|
48855
50038
|
z113.object({
|
|
48856
50039
|
amount: z113.number(),
|
|
48857
|
-
interval:
|
|
50040
|
+
interval: UpdatePlanPriceLicenseIntervalRequestBody$outboundSchema,
|
|
48858
50041
|
intervalCount: z113._default(z113.number(), 1),
|
|
48859
|
-
additionalCurrencies: z113.optional(
|
|
48860
|
-
|
|
48861
|
-
)
|
|
50042
|
+
additionalCurrencies: z113.optional(z113.array(z113.lazy(
|
|
50043
|
+
() => UpdatePlanLicenseAdditionalCurrencyRequestBody$outboundSchema
|
|
50044
|
+
)))
|
|
48862
50045
|
}),
|
|
48863
50046
|
z113.transform((v) => {
|
|
48864
50047
|
return remap(v, {
|
|
@@ -48867,13 +50050,15 @@ var UpdatePlanLicenseBasePrice$outboundSchema = z113.pipe(
|
|
|
48867
50050
|
});
|
|
48868
50051
|
})
|
|
48869
50052
|
);
|
|
48870
|
-
var
|
|
50053
|
+
var UpdatePlanLicenseThresholdBillingRequestBody$outboundSchema = z113.object({
|
|
48871
50054
|
threshold: z113.number()
|
|
48872
50055
|
});
|
|
48873
|
-
var
|
|
48874
|
-
|
|
50056
|
+
var UpdatePlanLicenseResetIntervalRequestBody$outboundSchema = z113.enum(
|
|
50057
|
+
UpdatePlanLicenseResetIntervalRequestBody
|
|
50058
|
+
);
|
|
50059
|
+
var UpdatePlanLicenseResetRequestBody$outboundSchema = z113.pipe(
|
|
48875
50060
|
z113.object({
|
|
48876
|
-
interval:
|
|
50061
|
+
interval: UpdatePlanLicenseResetIntervalRequestBody$outboundSchema,
|
|
48877
50062
|
intervalCount: z113._default(z113.number(), 1)
|
|
48878
50063
|
}),
|
|
48879
50064
|
z113.transform((v) => {
|
|
@@ -48882,12 +50067,12 @@ var UpdatePlanLicenseReset$outboundSchema = z113.pipe(
|
|
|
48882
50067
|
});
|
|
48883
50068
|
})
|
|
48884
50069
|
);
|
|
48885
|
-
var
|
|
50070
|
+
var UpdatePlanLicenseAddItemAdditionalCurrencyRequestBody$outboundSchema = z113.object({
|
|
48886
50071
|
currency: z113.string(),
|
|
48887
50072
|
amount: z113.number()
|
|
48888
50073
|
});
|
|
48889
|
-
var
|
|
48890
|
-
var
|
|
50074
|
+
var UpdatePlanLicensePriceToRequestBody$outboundSchema = smartUnion([z113.number(), z113.string()]);
|
|
50075
|
+
var UpdatePlanLicenseTierAdditionalCurrencyRequestBody$outboundSchema = z113.pipe(
|
|
48891
50076
|
z113.object({
|
|
48892
50077
|
currency: z113.string(),
|
|
48893
50078
|
amount: z113.optional(z113.number()),
|
|
@@ -48899,13 +50084,13 @@ var UpdatePlanLicenseTierAdditionalCurrency$outboundSchema = z113.pipe(
|
|
|
48899
50084
|
});
|
|
48900
50085
|
})
|
|
48901
50086
|
);
|
|
48902
|
-
var
|
|
50087
|
+
var UpdatePlanLicensePriceTierRequestBody$outboundSchema = z113.pipe(
|
|
48903
50088
|
z113.object({
|
|
48904
50089
|
to: smartUnion([z113.number(), z113.string()]),
|
|
48905
50090
|
amount: z113.optional(z113.number()),
|
|
48906
50091
|
flatAmount: z113.optional(z113.number()),
|
|
48907
50092
|
additionalCurrencies: z113.optional(z113.array(z113.lazy(
|
|
48908
|
-
() =>
|
|
50093
|
+
() => UpdatePlanLicenseTierAdditionalCurrencyRequestBody$outboundSchema
|
|
48909
50094
|
)))
|
|
48910
50095
|
}),
|
|
48911
50096
|
z113.transform((v) => {
|
|
@@ -48915,27 +50100,27 @@ var UpdatePlanLicensePriceTier$outboundSchema = z113.pipe(
|
|
|
48915
50100
|
});
|
|
48916
50101
|
})
|
|
48917
50102
|
);
|
|
48918
|
-
var
|
|
48919
|
-
|
|
48920
|
-
UpdatePlanLicenseAddItemPriceInterval
|
|
48921
|
-
);
|
|
48922
|
-
var UpdatePlanLicenseAddItemBillingMethod$outboundSchema = z113.enum(
|
|
48923
|
-
UpdatePlanLicenseAddItemBillingMethod
|
|
50103
|
+
var UpdatePlanLicenseTierBehaviorRequestBody$outboundSchema = z113.enum(
|
|
50104
|
+
UpdatePlanLicenseTierBehaviorRequestBody
|
|
48924
50105
|
);
|
|
48925
|
-
var
|
|
50106
|
+
var UpdatePlanLicenseAddItemPriceIntervalRequestBody$outboundSchema = z113.enum(UpdatePlanLicenseAddItemPriceIntervalRequestBody);
|
|
50107
|
+
var UpdatePlanLicenseAddItemBillingMethodRequestBody$outboundSchema = z113.enum(UpdatePlanLicenseAddItemBillingMethodRequestBody);
|
|
50108
|
+
var UpdatePlanLicensePriceRequestBody$outboundSchema = z113.pipe(
|
|
48926
50109
|
z113.object({
|
|
48927
50110
|
amount: z113.optional(z113.number()),
|
|
48928
50111
|
additionalCurrencies: z113.optional(z113.array(z113.lazy(
|
|
48929
|
-
() =>
|
|
50112
|
+
() => UpdatePlanLicenseAddItemAdditionalCurrencyRequestBody$outboundSchema
|
|
48930
50113
|
))),
|
|
48931
50114
|
tiers: z113.optional(z113.array(z113.lazy(
|
|
48932
|
-
() =>
|
|
50115
|
+
() => UpdatePlanLicensePriceTierRequestBody$outboundSchema
|
|
48933
50116
|
))),
|
|
48934
|
-
tierBehavior: z113.optional(
|
|
48935
|
-
|
|
50117
|
+
tierBehavior: z113.optional(
|
|
50118
|
+
UpdatePlanLicenseTierBehaviorRequestBody$outboundSchema
|
|
50119
|
+
),
|
|
50120
|
+
interval: UpdatePlanLicenseAddItemPriceIntervalRequestBody$outboundSchema,
|
|
48936
50121
|
intervalCount: z113._default(z113.number(), 1),
|
|
48937
50122
|
billingUnits: z113._default(z113.number(), 1),
|
|
48938
|
-
billingMethod:
|
|
50123
|
+
billingMethod: UpdatePlanLicenseAddItemBillingMethodRequestBody$outboundSchema,
|
|
48939
50124
|
maxPurchase: z113.optional(z113.nullable(z113.number()))
|
|
48940
50125
|
}),
|
|
48941
50126
|
z113.transform((v) => {
|
|
@@ -48949,12 +50134,16 @@ var UpdatePlanLicensePrice$outboundSchema = z113.pipe(
|
|
|
48949
50134
|
});
|
|
48950
50135
|
})
|
|
48951
50136
|
);
|
|
48952
|
-
var
|
|
48953
|
-
|
|
48954
|
-
|
|
50137
|
+
var UpdatePlanLicenseOnIncreaseRequestBody$outboundSchema = z113.enum(
|
|
50138
|
+
UpdatePlanLicenseOnIncreaseRequestBody
|
|
50139
|
+
);
|
|
50140
|
+
var UpdatePlanLicenseOnDecreaseRequestBody$outboundSchema = z113.enum(
|
|
50141
|
+
UpdatePlanLicenseOnDecreaseRequestBody
|
|
50142
|
+
);
|
|
50143
|
+
var UpdatePlanLicenseProrationRequestBody$outboundSchema = z113.pipe(
|
|
48955
50144
|
z113.object({
|
|
48956
|
-
onIncrease:
|
|
48957
|
-
onDecrease:
|
|
50145
|
+
onIncrease: UpdatePlanLicenseOnIncreaseRequestBody$outboundSchema,
|
|
50146
|
+
onDecrease: UpdatePlanLicenseOnDecreaseRequestBody$outboundSchema
|
|
48958
50147
|
}),
|
|
48959
50148
|
z113.transform((v) => {
|
|
48960
50149
|
return remap(v, {
|
|
@@ -48963,12 +50152,14 @@ var UpdatePlanLicenseProration$outboundSchema = z113.pipe(
|
|
|
48963
50152
|
});
|
|
48964
50153
|
})
|
|
48965
50154
|
);
|
|
48966
|
-
var
|
|
48967
|
-
|
|
50155
|
+
var UpdatePlanLicenseExpiryDurationTypeRequestBody$outboundSchema = z113.enum(
|
|
50156
|
+
UpdatePlanLicenseExpiryDurationTypeRequestBody
|
|
50157
|
+
);
|
|
50158
|
+
var UpdatePlanLicenseRolloverRequestBody$outboundSchema = z113.pipe(
|
|
48968
50159
|
z113.object({
|
|
48969
50160
|
max: z113.optional(z113.number()),
|
|
48970
50161
|
maxPercentage: z113.optional(z113.number()),
|
|
48971
|
-
expiryDurationType:
|
|
50162
|
+
expiryDurationType: UpdatePlanLicenseExpiryDurationTypeRequestBody$outboundSchema,
|
|
48972
50163
|
expiryDurationLength: z113.optional(z113.number())
|
|
48973
50164
|
}),
|
|
48974
50165
|
z113.transform((v) => {
|
|
@@ -48979,13 +50170,13 @@ var UpdatePlanLicenseRollover$outboundSchema = z113.pipe(
|
|
|
48979
50170
|
});
|
|
48980
50171
|
})
|
|
48981
50172
|
);
|
|
48982
|
-
var
|
|
48983
|
-
var
|
|
48984
|
-
duration:
|
|
50173
|
+
var UpdatePlanLicenseDurationRequestBody$outboundSchema = z113.enum(UpdatePlanLicenseDurationRequestBody);
|
|
50174
|
+
var UpdatePlanLicenseExpiryRequestBody$outboundSchema = z113.object({
|
|
50175
|
+
duration: UpdatePlanLicenseDurationRequestBody$outboundSchema,
|
|
48985
50176
|
length: z113.number()
|
|
48986
50177
|
});
|
|
48987
50178
|
var UpdatePlanDimensionsLicenseMatch4$outboundSchema = smartUnion([z113.string(), z113.number(), z113.boolean()]);
|
|
48988
|
-
var
|
|
50179
|
+
var UpdatePlanDimensionsLicenseRequestBody4$outboundSchema = z113.pipe(
|
|
48989
50180
|
z113.object({
|
|
48990
50181
|
match: z113.record(
|
|
48991
50182
|
z113.string(),
|
|
@@ -49001,13 +50192,18 @@ var UpdatePlanDimensionsLicense4$outboundSchema = z113.pipe(
|
|
|
49001
50192
|
})
|
|
49002
50193
|
);
|
|
49003
50194
|
var UpdatePlanDimensionsLicenseMatch3$outboundSchema = smartUnion([z113.string(), z113.number(), z113.boolean()]);
|
|
49004
|
-
var
|
|
49005
|
-
|
|
49006
|
-
|
|
50195
|
+
var UpdatePlanDimensionsToLicenseRequestBodyEnum2$outboundSchema = z113.enum(
|
|
50196
|
+
UpdatePlanDimensionsToLicenseRequestBodyEnum2
|
|
50197
|
+
);
|
|
50198
|
+
var UpdatePlanDimensionsLicenseToRequestBodyUnion2$outboundSchema = smartUnion([
|
|
50199
|
+
z113.number(),
|
|
50200
|
+
UpdatePlanDimensionsToLicenseRequestBodyEnum2$outboundSchema
|
|
50201
|
+
]);
|
|
50202
|
+
var UpdatePlanDimensionsLicenseTierRequestBody2$outboundSchema = z113.pipe(
|
|
49007
50203
|
z113.object({
|
|
49008
50204
|
to: smartUnion([
|
|
49009
50205
|
z113.number(),
|
|
49010
|
-
|
|
50206
|
+
UpdatePlanDimensionsToLicenseRequestBodyEnum2$outboundSchema
|
|
49011
50207
|
]),
|
|
49012
50208
|
creditCost: z113.number()
|
|
49013
50209
|
}),
|
|
@@ -49017,7 +50213,7 @@ var UpdatePlanDimensionsLicenseTier2$outboundSchema = z113.pipe(
|
|
|
49017
50213
|
});
|
|
49018
50214
|
})
|
|
49019
50215
|
);
|
|
49020
|
-
var
|
|
50216
|
+
var UpdatePlanDimensionsLicenseRequestBody3$outboundSchema = z113.pipe(
|
|
49021
50217
|
z113.object({
|
|
49022
50218
|
match: z113.record(
|
|
49023
50219
|
z113.string(),
|
|
@@ -49026,7 +50222,9 @@ var UpdatePlanDimensionsLicense3$outboundSchema = z113.pipe(
|
|
|
49026
50222
|
priority: z113.optional(z113.int()),
|
|
49027
50223
|
tierBehavior: z113.literal("graduated"),
|
|
49028
50224
|
tiers: z113.array(
|
|
49029
|
-
z113.lazy(
|
|
50225
|
+
z113.lazy(
|
|
50226
|
+
() => UpdatePlanDimensionsLicenseTierRequestBody2$outboundSchema
|
|
50227
|
+
)
|
|
49030
50228
|
)
|
|
49031
50229
|
}),
|
|
49032
50230
|
z113.transform((v) => {
|
|
@@ -49035,12 +50233,12 @@ var UpdatePlanDimensionsLicense3$outboundSchema = z113.pipe(
|
|
|
49035
50233
|
});
|
|
49036
50234
|
})
|
|
49037
50235
|
);
|
|
49038
|
-
var
|
|
49039
|
-
z113.lazy(() =>
|
|
49040
|
-
z113.lazy(() =>
|
|
50236
|
+
var UpdatePlanLicenseDimensionsRequestBodyUnion2$outboundSchema = smartUnion([
|
|
50237
|
+
z113.lazy(() => UpdatePlanDimensionsLicenseRequestBody3$outboundSchema),
|
|
50238
|
+
z113.lazy(() => UpdatePlanDimensionsLicenseRequestBody4$outboundSchema)
|
|
49041
50239
|
]);
|
|
49042
50240
|
var UpdatePlanLicenseMultipliersMatch2$outboundSchema = smartUnion([z113.string(), z113.number(), z113.boolean()]);
|
|
49043
|
-
var
|
|
50241
|
+
var UpdatePlanLicenseMultipliersRequestBody2$outboundSchema = z113.object({
|
|
49044
50242
|
match: z113.record(
|
|
49045
50243
|
z113.string(),
|
|
49046
50244
|
smartUnion([z113.string(), z113.number(), z113.boolean()])
|
|
@@ -49048,20 +50246,20 @@ var UpdatePlanLicenseMultipliers2$outboundSchema = z113.object({
|
|
|
49048
50246
|
factor: z113.optional(z113.number()),
|
|
49049
50247
|
add: z113.optional(z113.number())
|
|
49050
50248
|
});
|
|
49051
|
-
var
|
|
50249
|
+
var UpdatePlanCreditSchemaLicenseRequestBody2$outboundSchema = z113.pipe(
|
|
49052
50250
|
z113.object({
|
|
49053
50251
|
meteredFeatureId: z113.string(),
|
|
49054
50252
|
billingUnits: z113.optional(z113.number()),
|
|
49055
50253
|
dimensions: z113.optional(z113.record(
|
|
49056
50254
|
z113.string(),
|
|
49057
50255
|
smartUnion([
|
|
49058
|
-
z113.lazy(() =>
|
|
49059
|
-
z113.lazy(() =>
|
|
50256
|
+
z113.lazy(() => UpdatePlanDimensionsLicenseRequestBody3$outboundSchema),
|
|
50257
|
+
z113.lazy(() => UpdatePlanDimensionsLicenseRequestBody4$outboundSchema)
|
|
49060
50258
|
])
|
|
49061
50259
|
)),
|
|
49062
50260
|
multipliers: z113.optional(z113.record(
|
|
49063
50261
|
z113.string(),
|
|
49064
|
-
z113.lazy(() =>
|
|
50262
|
+
z113.lazy(() => UpdatePlanLicenseMultipliersRequestBody2$outboundSchema)
|
|
49065
50263
|
)),
|
|
49066
50264
|
creditCost: z113.number()
|
|
49067
50265
|
}),
|
|
@@ -49074,7 +50272,7 @@ var UpdatePlanCreditSchemaLicense2$outboundSchema = z113.pipe(
|
|
|
49074
50272
|
})
|
|
49075
50273
|
);
|
|
49076
50274
|
var UpdatePlanDimensionsLicenseMatch2$outboundSchema = smartUnion([z113.string(), z113.number(), z113.boolean()]);
|
|
49077
|
-
var
|
|
50275
|
+
var UpdatePlanDimensionsLicenseRequestBody2$outboundSchema = z113.pipe(
|
|
49078
50276
|
z113.object({
|
|
49079
50277
|
match: z113.record(
|
|
49080
50278
|
z113.string(),
|
|
@@ -49090,13 +50288,18 @@ var UpdatePlanDimensionsLicense2$outboundSchema = z113.pipe(
|
|
|
49090
50288
|
})
|
|
49091
50289
|
);
|
|
49092
50290
|
var UpdatePlanDimensionsLicenseMatch1$outboundSchema = smartUnion([z113.string(), z113.number(), z113.boolean()]);
|
|
49093
|
-
var
|
|
49094
|
-
|
|
49095
|
-
|
|
50291
|
+
var UpdatePlanDimensionsToLicenseRequestBodyEnum1$outboundSchema = z113.enum(
|
|
50292
|
+
UpdatePlanDimensionsToLicenseRequestBodyEnum1
|
|
50293
|
+
);
|
|
50294
|
+
var UpdatePlanDimensionsLicenseToRequestBodyUnion1$outboundSchema = smartUnion([
|
|
50295
|
+
z113.number(),
|
|
50296
|
+
UpdatePlanDimensionsToLicenseRequestBodyEnum1$outboundSchema
|
|
50297
|
+
]);
|
|
50298
|
+
var UpdatePlanDimensionsLicenseTierRequestBody1$outboundSchema = z113.pipe(
|
|
49096
50299
|
z113.object({
|
|
49097
50300
|
to: smartUnion([
|
|
49098
50301
|
z113.number(),
|
|
49099
|
-
|
|
50302
|
+
UpdatePlanDimensionsToLicenseRequestBodyEnum1$outboundSchema
|
|
49100
50303
|
]),
|
|
49101
50304
|
creditCost: z113.number()
|
|
49102
50305
|
}),
|
|
@@ -49106,7 +50309,7 @@ var UpdatePlanDimensionsLicenseTier1$outboundSchema = z113.pipe(
|
|
|
49106
50309
|
});
|
|
49107
50310
|
})
|
|
49108
50311
|
);
|
|
49109
|
-
var
|
|
50312
|
+
var UpdatePlanDimensionsLicenseRequestBody1$outboundSchema = z113.pipe(
|
|
49110
50313
|
z113.object({
|
|
49111
50314
|
match: z113.record(
|
|
49112
50315
|
z113.string(),
|
|
@@ -49115,7 +50318,9 @@ var UpdatePlanDimensionsLicense1$outboundSchema = z113.pipe(
|
|
|
49115
50318
|
priority: z113.optional(z113.int()),
|
|
49116
50319
|
tierBehavior: z113.literal("graduated"),
|
|
49117
50320
|
tiers: z113.array(
|
|
49118
|
-
z113.lazy(
|
|
50321
|
+
z113.lazy(
|
|
50322
|
+
() => UpdatePlanDimensionsLicenseTierRequestBody1$outboundSchema
|
|
50323
|
+
)
|
|
49119
50324
|
)
|
|
49120
50325
|
}),
|
|
49121
50326
|
z113.transform((v) => {
|
|
@@ -49124,12 +50329,12 @@ var UpdatePlanDimensionsLicense1$outboundSchema = z113.pipe(
|
|
|
49124
50329
|
});
|
|
49125
50330
|
})
|
|
49126
50331
|
);
|
|
49127
|
-
var
|
|
49128
|
-
z113.lazy(() =>
|
|
49129
|
-
z113.lazy(() =>
|
|
50332
|
+
var UpdatePlanLicenseDimensionsRequestBodyUnion1$outboundSchema = smartUnion([
|
|
50333
|
+
z113.lazy(() => UpdatePlanDimensionsLicenseRequestBody1$outboundSchema),
|
|
50334
|
+
z113.lazy(() => UpdatePlanDimensionsLicenseRequestBody2$outboundSchema)
|
|
49130
50335
|
]);
|
|
49131
50336
|
var UpdatePlanLicenseMultipliersMatch1$outboundSchema = smartUnion([z113.string(), z113.number(), z113.boolean()]);
|
|
49132
|
-
var
|
|
50337
|
+
var UpdatePlanLicenseMultipliersRequestBody1$outboundSchema = z113.object({
|
|
49133
50338
|
match: z113.record(
|
|
49134
50339
|
z113.string(),
|
|
49135
50340
|
smartUnion([z113.string(), z113.number(), z113.boolean()])
|
|
@@ -49137,11 +50342,17 @@ var UpdatePlanLicenseMultipliers1$outboundSchema = z113.object({
|
|
|
49137
50342
|
factor: z113.optional(z113.number()),
|
|
49138
50343
|
add: z113.optional(z113.number())
|
|
49139
50344
|
});
|
|
49140
|
-
var
|
|
49141
|
-
var
|
|
49142
|
-
|
|
50345
|
+
var UpdatePlanToLicenseRequestBodyEnum$outboundSchema = z113.enum(UpdatePlanToLicenseRequestBodyEnum);
|
|
50346
|
+
var UpdatePlanLicenseFeatureOverrideToRequestBodyUnion$outboundSchema = smartUnion([
|
|
50347
|
+
z113.number(),
|
|
50348
|
+
UpdatePlanToLicenseRequestBodyEnum$outboundSchema
|
|
50349
|
+
]);
|
|
50350
|
+
var UpdatePlanLicenseFeatureOverrideTierRequestBody$outboundSchema = z113.pipe(
|
|
49143
50351
|
z113.object({
|
|
49144
|
-
to: smartUnion([
|
|
50352
|
+
to: smartUnion([
|
|
50353
|
+
z113.number(),
|
|
50354
|
+
UpdatePlanToLicenseRequestBodyEnum$outboundSchema
|
|
50355
|
+
]),
|
|
49145
50356
|
creditCost: z113.number()
|
|
49146
50357
|
}),
|
|
49147
50358
|
z113.transform((v) => {
|
|
@@ -49150,24 +50361,24 @@ var UpdatePlanLicenseFeatureOverrideTier$outboundSchema = z113.pipe(
|
|
|
49150
50361
|
});
|
|
49151
50362
|
})
|
|
49152
50363
|
);
|
|
49153
|
-
var
|
|
50364
|
+
var UpdatePlanCreditSchemaLicenseRequestBody1$outboundSchema = z113.pipe(
|
|
49154
50365
|
z113.object({
|
|
49155
50366
|
meteredFeatureId: z113.string(),
|
|
49156
50367
|
billingUnits: z113.optional(z113.number()),
|
|
49157
50368
|
dimensions: z113.optional(z113.record(
|
|
49158
50369
|
z113.string(),
|
|
49159
50370
|
smartUnion([
|
|
49160
|
-
z113.lazy(() =>
|
|
49161
|
-
z113.lazy(() =>
|
|
50371
|
+
z113.lazy(() => UpdatePlanDimensionsLicenseRequestBody1$outboundSchema),
|
|
50372
|
+
z113.lazy(() => UpdatePlanDimensionsLicenseRequestBody2$outboundSchema)
|
|
49162
50373
|
])
|
|
49163
50374
|
)),
|
|
49164
50375
|
multipliers: z113.optional(z113.record(
|
|
49165
50376
|
z113.string(),
|
|
49166
|
-
z113.lazy(() =>
|
|
50377
|
+
z113.lazy(() => UpdatePlanLicenseMultipliersRequestBody1$outboundSchema)
|
|
49167
50378
|
)),
|
|
49168
50379
|
tierBehavior: z113.literal("graduated"),
|
|
49169
50380
|
tiers: z113.array(z113.lazy(
|
|
49170
|
-
() =>
|
|
50381
|
+
() => UpdatePlanLicenseFeatureOverrideTierRequestBody$outboundSchema
|
|
49171
50382
|
))
|
|
49172
50383
|
}),
|
|
49173
50384
|
z113.transform((v) => {
|
|
@@ -49178,14 +50389,14 @@ var UpdatePlanCreditSchemaLicense1$outboundSchema = z113.pipe(
|
|
|
49178
50389
|
});
|
|
49179
50390
|
})
|
|
49180
50391
|
);
|
|
49181
|
-
var
|
|
49182
|
-
z113.lazy(() =>
|
|
49183
|
-
z113.lazy(() =>
|
|
50392
|
+
var UpdatePlanLicenseCreditSchemaRequestBodyUnion$outboundSchema = smartUnion([
|
|
50393
|
+
z113.lazy(() => UpdatePlanCreditSchemaLicenseRequestBody1$outboundSchema),
|
|
50394
|
+
z113.lazy(() => UpdatePlanCreditSchemaLicenseRequestBody2$outboundSchema)
|
|
49184
50395
|
]);
|
|
49185
|
-
var
|
|
50396
|
+
var UpdatePlanLicenseProviderMarkupsRequestBody$outboundSchema = z113.object({
|
|
49186
50397
|
markup: z113.number()
|
|
49187
50398
|
});
|
|
49188
|
-
var
|
|
50399
|
+
var UpdatePlanLicenseModelMarkupsRequestBody$outboundSchema = z113.pipe(
|
|
49189
50400
|
z113.object({
|
|
49190
50401
|
markup: z113.optional(z113.number()),
|
|
49191
50402
|
inputCost: z113.optional(z113.number()),
|
|
@@ -49198,16 +50409,16 @@ var UpdatePlanLicenseModelMarkups$outboundSchema = z113.pipe(
|
|
|
49198
50409
|
});
|
|
49199
50410
|
})
|
|
49200
50411
|
);
|
|
49201
|
-
var
|
|
50412
|
+
var UpdatePlanLicenseMarkupsRequestBody$outboundSchema = z113.pipe(
|
|
49202
50413
|
z113.object({
|
|
49203
50414
|
defaultMarkup: z113.optional(z113.number()),
|
|
49204
50415
|
providerMarkups: z113.optional(z113.nullable(z113.record(
|
|
49205
50416
|
z113.string(),
|
|
49206
|
-
z113.lazy(() =>
|
|
50417
|
+
z113.lazy(() => UpdatePlanLicenseProviderMarkupsRequestBody$outboundSchema)
|
|
49207
50418
|
))),
|
|
49208
50419
|
modelMarkups: z113.optional(z113.nullable(z113.record(
|
|
49209
50420
|
z113.string(),
|
|
49210
|
-
z113.lazy(() =>
|
|
50421
|
+
z113.lazy(() => UpdatePlanLicenseModelMarkupsRequestBody$outboundSchema)
|
|
49211
50422
|
)))
|
|
49212
50423
|
}),
|
|
49213
50424
|
z113.transform((v) => {
|
|
@@ -49218,16 +50429,16 @@ var UpdatePlanLicenseMarkups$outboundSchema = z113.pipe(
|
|
|
49218
50429
|
});
|
|
49219
50430
|
})
|
|
49220
50431
|
);
|
|
49221
|
-
var
|
|
50432
|
+
var UpdatePlanLicenseFeatureOverrideRequestBody$outboundSchema = z113.pipe(
|
|
49222
50433
|
z113.object({
|
|
49223
50434
|
creditSchema: z113.optional(z113.array(smartUnion([
|
|
49224
|
-
z113.lazy(() =>
|
|
50435
|
+
z113.lazy(() => UpdatePlanCreditSchemaLicenseRequestBody1$outboundSchema),
|
|
49225
50436
|
z113.lazy(
|
|
49226
|
-
() =>
|
|
50437
|
+
() => UpdatePlanCreditSchemaLicenseRequestBody2$outboundSchema
|
|
49227
50438
|
)
|
|
49228
50439
|
]))),
|
|
49229
50440
|
markups: z113.optional(z113.lazy(
|
|
49230
|
-
() =>
|
|
50441
|
+
() => UpdatePlanLicenseMarkupsRequestBody$outboundSchema
|
|
49231
50442
|
))
|
|
49232
50443
|
}),
|
|
49233
50444
|
z113.transform((v) => {
|
|
@@ -49236,29 +50447,33 @@ var UpdatePlanLicenseFeatureOverride$outboundSchema = z113.pipe(
|
|
|
49236
50447
|
});
|
|
49237
50448
|
})
|
|
49238
50449
|
);
|
|
49239
|
-
var
|
|
50450
|
+
var UpdatePlanLicensePlanItemRequestBody$outboundSchema = z113.pipe(
|
|
49240
50451
|
z113.object({
|
|
49241
|
-
thresholdBilling: z113.optional(
|
|
49242
|
-
|
|
49243
|
-
|
|
49244
|
-
)
|
|
49245
|
-
),
|
|
50452
|
+
thresholdBilling: z113.optional(z113.nullable(z113.lazy(
|
|
50453
|
+
() => UpdatePlanLicenseThresholdBillingRequestBody$outboundSchema
|
|
50454
|
+
))),
|
|
49246
50455
|
featureId: z113.string(),
|
|
49247
50456
|
included: z113.optional(z113.number()),
|
|
49248
50457
|
unlimited: z113.optional(z113.boolean()),
|
|
49249
50458
|
pooled: z113._default(z113.boolean(), false),
|
|
49250
|
-
reset: z113.optional(z113.lazy(
|
|
49251
|
-
|
|
49252
|
-
|
|
49253
|
-
|
|
49254
|
-
|
|
49255
|
-
|
|
49256
|
-
|
|
49257
|
-
|
|
49258
|
-
|
|
49259
|
-
|
|
49260
|
-
|
|
49261
|
-
)
|
|
50459
|
+
reset: z113.optional(z113.lazy(
|
|
50460
|
+
() => UpdatePlanLicenseResetRequestBody$outboundSchema
|
|
50461
|
+
)),
|
|
50462
|
+
price: z113.optional(z113.lazy(
|
|
50463
|
+
() => UpdatePlanLicensePriceRequestBody$outboundSchema
|
|
50464
|
+
)),
|
|
50465
|
+
proration: z113.optional(z113.lazy(
|
|
50466
|
+
() => UpdatePlanLicenseProrationRequestBody$outboundSchema
|
|
50467
|
+
)),
|
|
50468
|
+
rollover: z113.optional(z113.lazy(
|
|
50469
|
+
() => UpdatePlanLicenseRolloverRequestBody$outboundSchema
|
|
50470
|
+
)),
|
|
50471
|
+
expiry: z113.optional(z113.lazy(
|
|
50472
|
+
() => UpdatePlanLicenseExpiryRequestBody$outboundSchema
|
|
50473
|
+
)),
|
|
50474
|
+
featureOverride: z113.optional(z113.lazy(
|
|
50475
|
+
() => UpdatePlanLicenseFeatureOverrideRequestBody$outboundSchema
|
|
50476
|
+
))
|
|
49262
50477
|
}),
|
|
49263
50478
|
z113.transform((v) => {
|
|
49264
50479
|
return remap(v, {
|
|
@@ -49268,29 +50483,23 @@ var UpdatePlanLicensePlanItem$outboundSchema = z113.pipe(
|
|
|
49268
50483
|
});
|
|
49269
50484
|
})
|
|
49270
50485
|
);
|
|
49271
|
-
var
|
|
49272
|
-
|
|
49273
|
-
);
|
|
49274
|
-
var
|
|
49275
|
-
|
|
49276
|
-
|
|
49277
|
-
var UpdatePlanIntervalLicenseRemoveItemEnum1$outboundSchema = z113.enum(
|
|
49278
|
-
UpdatePlanIntervalLicenseRemoveItemEnum1
|
|
49279
|
-
);
|
|
49280
|
-
var UpdatePlanLicenseIntervalUnion$outboundSchema = smartUnion([
|
|
49281
|
-
UpdatePlanIntervalLicenseRemoveItemEnum1$outboundSchema,
|
|
49282
|
-
UpdatePlanIntervalLicenseRemoveItemEnum2$outboundSchema
|
|
50486
|
+
var UpdatePlanLicenseRemoveItemBillingMethodRequestBody$outboundSchema = z113.enum(UpdatePlanLicenseRemoveItemBillingMethodRequestBody);
|
|
50487
|
+
var UpdatePlanIntervalLicenseRemoveItemRequestBodyEnum2$outboundSchema = z113.enum(UpdatePlanIntervalLicenseRemoveItemRequestBodyEnum2);
|
|
50488
|
+
var UpdatePlanIntervalLicenseRemoveItemRequestBodyEnum1$outboundSchema = z113.enum(UpdatePlanIntervalLicenseRemoveItemRequestBodyEnum1);
|
|
50489
|
+
var UpdatePlanLicenseIntervalRequestBodyUnion$outboundSchema = smartUnion([
|
|
50490
|
+
UpdatePlanIntervalLicenseRemoveItemRequestBodyEnum1$outboundSchema,
|
|
50491
|
+
UpdatePlanIntervalLicenseRemoveItemRequestBodyEnum2$outboundSchema
|
|
49283
50492
|
]);
|
|
49284
|
-
var
|
|
50493
|
+
var UpdatePlanLicensePlanItemFilterRequestBody$outboundSchema = z113.pipe(
|
|
49285
50494
|
z113.object({
|
|
49286
50495
|
featureId: z113.optional(z113.string()),
|
|
49287
50496
|
billingMethod: z113.optional(
|
|
49288
|
-
|
|
50497
|
+
UpdatePlanLicenseRemoveItemBillingMethodRequestBody$outboundSchema
|
|
49289
50498
|
),
|
|
49290
50499
|
interval: z113.optional(
|
|
49291
50500
|
smartUnion([
|
|
49292
|
-
|
|
49293
|
-
|
|
50501
|
+
UpdatePlanIntervalLicenseRemoveItemRequestBodyEnum1$outboundSchema,
|
|
50502
|
+
UpdatePlanIntervalLicenseRemoveItemRequestBodyEnum2$outboundSchema
|
|
49294
50503
|
])
|
|
49295
50504
|
),
|
|
49296
50505
|
intervalCount: z113.optional(z113.int()),
|
|
@@ -49304,17 +50513,17 @@ var UpdatePlanLicensePlanItemFilter$outboundSchema = z113.pipe(
|
|
|
49304
50513
|
});
|
|
49305
50514
|
})
|
|
49306
50515
|
);
|
|
49307
|
-
var
|
|
50516
|
+
var UpdatePlanLicenseCustomizeRequestBody$outboundSchema = z113.pipe(
|
|
49308
50517
|
z113.object({
|
|
49309
|
-
price: z113.optional(
|
|
49310
|
-
|
|
49311
|
-
),
|
|
49312
|
-
addItems: z113.optional(
|
|
49313
|
-
|
|
49314
|
-
),
|
|
49315
|
-
removeItems: z113.optional(
|
|
49316
|
-
|
|
49317
|
-
)
|
|
50518
|
+
price: z113.optional(z113.nullable(z113.lazy(
|
|
50519
|
+
() => UpdatePlanLicenseBasePriceRequestBody$outboundSchema
|
|
50520
|
+
))),
|
|
50521
|
+
addItems: z113.optional(z113.array(z113.lazy(
|
|
50522
|
+
() => UpdatePlanLicensePlanItemRequestBody$outboundSchema
|
|
50523
|
+
))),
|
|
50524
|
+
removeItems: z113.optional(z113.array(z113.lazy(
|
|
50525
|
+
() => UpdatePlanLicensePlanItemFilterRequestBody$outboundSchema
|
|
50526
|
+
)))
|
|
49318
50527
|
}),
|
|
49319
50528
|
z113.transform((v) => {
|
|
49320
50529
|
return remap(v, {
|
|
@@ -49323,15 +50532,15 @@ var UpdatePlanLicenseCustomize$outboundSchema = z113.pipe(
|
|
|
49323
50532
|
});
|
|
49324
50533
|
})
|
|
49325
50534
|
);
|
|
49326
|
-
var
|
|
50535
|
+
var UpdatePlanLicenseRequest$outboundSchema = z113.pipe(
|
|
49327
50536
|
z113.object({
|
|
49328
50537
|
licensePlanId: z113.string(),
|
|
49329
50538
|
versionSlug: z113.optional(z113.string()),
|
|
49330
50539
|
included: z113.optional(z113.int()),
|
|
49331
50540
|
prepaidOnly: z113.optional(z113.boolean()),
|
|
49332
|
-
customize: z113.optional(
|
|
49333
|
-
|
|
49334
|
-
),
|
|
50541
|
+
customize: z113.optional(z113.nullable(z113.lazy(
|
|
50542
|
+
() => UpdatePlanLicenseCustomizeRequestBody$outboundSchema
|
|
50543
|
+
))),
|
|
49335
50544
|
metadata: z113.optional(z113.record(z113.string(), z113.any()))
|
|
49336
50545
|
}),
|
|
49337
50546
|
z113.transform((v) => {
|
|
@@ -51020,7 +52229,7 @@ var UpdatePlanParams$outboundSchema = z114.pipe(
|
|
|
51020
52229
|
z114.nullable(UpdatePlanBasePriceRequestBody$outboundSchema)
|
|
51021
52230
|
),
|
|
51022
52231
|
items: z114.optional(z114.array(UpdatePlanItemPlanItem$outboundSchema)),
|
|
51023
|
-
licenses: z114.optional(z114.array(
|
|
52232
|
+
licenses: z114.optional(z114.array(UpdatePlanLicenseRequest$outboundSchema)),
|
|
51024
52233
|
freeTrial: z114.optional(
|
|
51025
52234
|
z114.nullable(UpdatePlanFreeTrialParamsRequestBody$outboundSchema)
|
|
51026
52235
|
),
|
|
@@ -51328,17 +52537,17 @@ var UpdatePlanVariantDetailsAddItemPriceInterval = {
|
|
|
51328
52537
|
SemiAnnual: "semi_annual",
|
|
51329
52538
|
Year: "year"
|
|
51330
52539
|
};
|
|
51331
|
-
var
|
|
52540
|
+
var UpdatePlanVariantDetailsAddItemBillingMethod = {
|
|
51332
52541
|
Prepaid: "prepaid",
|
|
51333
52542
|
UsageBased: "usage_based"
|
|
51334
52543
|
};
|
|
51335
|
-
var
|
|
52544
|
+
var UpdatePlanVariantDetailsOnIncrease = {
|
|
51336
52545
|
BillImmediately: "bill_immediately",
|
|
51337
52546
|
ProrateImmediately: "prorate_immediately",
|
|
51338
52547
|
ProrateNextCycle: "prorate_next_cycle",
|
|
51339
52548
|
BillNextCycle: "bill_next_cycle"
|
|
51340
52549
|
};
|
|
51341
|
-
var
|
|
52550
|
+
var UpdatePlanVariantDetailsOnDecrease = {
|
|
51342
52551
|
Prorate: "prorate",
|
|
51343
52552
|
ProrateImmediately: "prorate_immediately",
|
|
51344
52553
|
ProrateNextCycle: "prorate_next_cycle",
|
|
@@ -51364,7 +52573,7 @@ var UpdatePlanDimensionsToVariantDetailsEnum1 = {
|
|
|
51364
52573
|
var UpdatePlanToVariantDetailsEnum = {
|
|
51365
52574
|
Inf: "inf"
|
|
51366
52575
|
};
|
|
51367
|
-
var
|
|
52576
|
+
var UpdatePlanVariantDetailsRemoveItemBillingMethod = {
|
|
51368
52577
|
Prepaid: "prepaid",
|
|
51369
52578
|
UsageBased: "usage_based"
|
|
51370
52579
|
};
|
|
@@ -51459,7 +52668,7 @@ var UpdatePlanVariantDetailsUpsertLicenseAddItemPriceInterval = {
|
|
|
51459
52668
|
SemiAnnual: "semi_annual",
|
|
51460
52669
|
Year: "year"
|
|
51461
52670
|
};
|
|
51462
|
-
var
|
|
52671
|
+
var UpdatePlanVariantDetailsUpsertLicenseAddItemBillingMethod = {
|
|
51463
52672
|
Prepaid: "prepaid",
|
|
51464
52673
|
UsageBased: "usage_based"
|
|
51465
52674
|
};
|
|
@@ -51476,7 +52685,7 @@ var UpdatePlanUpsertLicenseOnDecreaseResponse = {
|
|
|
51476
52685
|
None: "none",
|
|
51477
52686
|
NoProrations: "no_prorations"
|
|
51478
52687
|
};
|
|
51479
|
-
var
|
|
52688
|
+
var UpdatePlanVariantDetailsUpsertLicenseExpiryDurationType = {
|
|
51480
52689
|
Month: "month",
|
|
51481
52690
|
Forever: "forever"
|
|
51482
52691
|
};
|
|
@@ -52063,7 +53272,7 @@ var UpdatePlanVariantDetailsAdditionalCurrency$inboundSchema = z115.object(
|
|
|
52063
53272
|
amount: number2()
|
|
52064
53273
|
}
|
|
52065
53274
|
);
|
|
52066
|
-
var
|
|
53275
|
+
var UpdatePlanVariantDetailsBasePrice$inboundSchema = z115.pipe(
|
|
52067
53276
|
z115.object({
|
|
52068
53277
|
amount: number2(),
|
|
52069
53278
|
interval: UpdatePlanPriceVariantDetailsInterval$inboundSchema,
|
|
@@ -52094,7 +53303,7 @@ var UpdatePlanVariantDetailsReset$inboundSchema = z115.pipe(
|
|
|
52094
53303
|
});
|
|
52095
53304
|
})
|
|
52096
53305
|
);
|
|
52097
|
-
var
|
|
53306
|
+
var UpdatePlanVariantDetailsAddItemAdditionalCurrency$inboundSchema = z115.object({
|
|
52098
53307
|
currency: string5(),
|
|
52099
53308
|
amount: number2()
|
|
52100
53309
|
});
|
|
@@ -52129,12 +53338,12 @@ var UpdatePlanVariantDetailsPriceTier$inboundSchema = z115.pipe(
|
|
|
52129
53338
|
);
|
|
52130
53339
|
var UpdatePlanVariantDetailsTierBehavior$inboundSchema = inboundSchema(UpdatePlanVariantDetailsTierBehavior);
|
|
52131
53340
|
var UpdatePlanVariantDetailsAddItemPriceInterval$inboundSchema = inboundSchema(UpdatePlanVariantDetailsAddItemPriceInterval);
|
|
52132
|
-
var
|
|
53341
|
+
var UpdatePlanVariantDetailsAddItemBillingMethod$inboundSchema = inboundSchema(UpdatePlanVariantDetailsAddItemBillingMethod);
|
|
52133
53342
|
var UpdatePlanVariantDetailsPrice$inboundSchema = z115.pipe(
|
|
52134
53343
|
z115.object({
|
|
52135
53344
|
amount: optional3(number2()),
|
|
52136
53345
|
additional_currencies: optional3(z115.array(z115.lazy(
|
|
52137
|
-
() =>
|
|
53346
|
+
() => UpdatePlanVariantDetailsAddItemAdditionalCurrency$inboundSchema
|
|
52138
53347
|
))),
|
|
52139
53348
|
tiers: optional3(z115.array(z115.lazy(
|
|
52140
53349
|
() => UpdatePlanVariantDetailsPriceTier$inboundSchema
|
|
@@ -52145,7 +53354,7 @@ var UpdatePlanVariantDetailsPrice$inboundSchema = z115.pipe(
|
|
|
52145
53354
|
interval: UpdatePlanVariantDetailsAddItemPriceInterval$inboundSchema,
|
|
52146
53355
|
interval_count: z115._default(number2(), 1),
|
|
52147
53356
|
billing_units: z115._default(number2(), 1),
|
|
52148
|
-
billing_method:
|
|
53357
|
+
billing_method: UpdatePlanVariantDetailsAddItemBillingMethod$inboundSchema,
|
|
52149
53358
|
max_purchase: z115.optional(z115.nullable(number2()))
|
|
52150
53359
|
}),
|
|
52151
53360
|
z115.transform((v) => {
|
|
@@ -52159,12 +53368,12 @@ var UpdatePlanVariantDetailsPrice$inboundSchema = z115.pipe(
|
|
|
52159
53368
|
});
|
|
52160
53369
|
})
|
|
52161
53370
|
);
|
|
52162
|
-
var
|
|
52163
|
-
var
|
|
52164
|
-
var
|
|
53371
|
+
var UpdatePlanVariantDetailsOnIncrease$inboundSchema = inboundSchema(UpdatePlanVariantDetailsOnIncrease);
|
|
53372
|
+
var UpdatePlanVariantDetailsOnDecrease$inboundSchema = inboundSchema(UpdatePlanVariantDetailsOnDecrease);
|
|
53373
|
+
var UpdatePlanVariantDetailsProration$inboundSchema = z115.pipe(
|
|
52165
53374
|
z115.object({
|
|
52166
|
-
on_increase:
|
|
52167
|
-
on_decrease:
|
|
53375
|
+
on_increase: UpdatePlanVariantDetailsOnIncrease$inboundSchema,
|
|
53376
|
+
on_decrease: UpdatePlanVariantDetailsOnDecrease$inboundSchema
|
|
52168
53377
|
}),
|
|
52169
53378
|
z115.transform((v) => {
|
|
52170
53379
|
return remap(v, {
|
|
@@ -52439,7 +53648,7 @@ var UpdatePlanVariantDetailsFeatureOverride$inboundSchema = z115.pipe(
|
|
|
52439
53648
|
});
|
|
52440
53649
|
})
|
|
52441
53650
|
);
|
|
52442
|
-
var
|
|
53651
|
+
var UpdatePlanVariantDetailsPlanItem$inboundSchema = z115.pipe(
|
|
52443
53652
|
z115.object({
|
|
52444
53653
|
threshold_billing: z115.optional(z115.nullable(z115.lazy(
|
|
52445
53654
|
() => UpdatePlanVariantDetailsThresholdBilling$inboundSchema
|
|
@@ -52455,7 +53664,7 @@ var UpdatePlanPlanItemResponse$inboundSchema = z115.pipe(
|
|
|
52455
53664
|
() => UpdatePlanVariantDetailsPrice$inboundSchema
|
|
52456
53665
|
)),
|
|
52457
53666
|
proration: optional3(z115.lazy(
|
|
52458
|
-
() =>
|
|
53667
|
+
() => UpdatePlanVariantDetailsProration$inboundSchema
|
|
52459
53668
|
)),
|
|
52460
53669
|
rollover: optional3(z115.lazy(
|
|
52461
53670
|
() => UpdatePlanVariantDetailsRollover$inboundSchema
|
|
@@ -52475,18 +53684,18 @@ var UpdatePlanPlanItemResponse$inboundSchema = z115.pipe(
|
|
|
52475
53684
|
});
|
|
52476
53685
|
})
|
|
52477
53686
|
);
|
|
52478
|
-
var
|
|
53687
|
+
var UpdatePlanVariantDetailsRemoveItemBillingMethod$inboundSchema = inboundSchema(UpdatePlanVariantDetailsRemoveItemBillingMethod);
|
|
52479
53688
|
var UpdatePlanIntervalVariantDetailsRemoveItemEnum2$inboundSchema = inboundSchema(UpdatePlanIntervalVariantDetailsRemoveItemEnum2);
|
|
52480
53689
|
var UpdatePlanIntervalVariantDetailsRemoveItemEnum1$inboundSchema = inboundSchema(UpdatePlanIntervalVariantDetailsRemoveItemEnum1);
|
|
52481
53690
|
var UpdatePlanVariantDetailsIntervalUnion$inboundSchema = smartUnion([
|
|
52482
53691
|
UpdatePlanIntervalVariantDetailsRemoveItemEnum1$inboundSchema,
|
|
52483
53692
|
UpdatePlanIntervalVariantDetailsRemoveItemEnum2$inboundSchema
|
|
52484
53693
|
]);
|
|
52485
|
-
var
|
|
53694
|
+
var UpdatePlanVariantDetailsPlanItemFilter$inboundSchema = z115.pipe(
|
|
52486
53695
|
z115.object({
|
|
52487
53696
|
feature_id: optional3(string5()),
|
|
52488
53697
|
billing_method: optional3(
|
|
52489
|
-
|
|
53698
|
+
UpdatePlanVariantDetailsRemoveItemBillingMethod$inboundSchema
|
|
52490
53699
|
),
|
|
52491
53700
|
interval: optional3(
|
|
52492
53701
|
smartUnion([
|
|
@@ -52663,7 +53872,7 @@ var UpdatePlanVariantDetailsBillingControls$inboundSchema = z115.pipe(
|
|
|
52663
53872
|
})
|
|
52664
53873
|
);
|
|
52665
53874
|
var UpdatePlanPriceVariantDetailsUpsertLicenseInterval$inboundSchema = inboundSchema(UpdatePlanPriceVariantDetailsUpsertLicenseInterval);
|
|
52666
|
-
var
|
|
53875
|
+
var UpdatePlanVariantDetailsUpsertLicenseAdditionalCurrency$inboundSchema = z115.object({
|
|
52667
53876
|
currency: string5(),
|
|
52668
53877
|
amount: number2()
|
|
52669
53878
|
});
|
|
@@ -52673,7 +53882,7 @@ var UpdatePlanUpsertLicenseBasePriceResponse$inboundSchema = z115.pipe(
|
|
|
52673
53882
|
interval: UpdatePlanPriceVariantDetailsUpsertLicenseInterval$inboundSchema,
|
|
52674
53883
|
interval_count: z115._default(number2(), 1),
|
|
52675
53884
|
additional_currencies: optional3(z115.array(z115.lazy(
|
|
52676
|
-
() =>
|
|
53885
|
+
() => UpdatePlanVariantDetailsUpsertLicenseAdditionalCurrency$inboundSchema
|
|
52677
53886
|
)))
|
|
52678
53887
|
}),
|
|
52679
53888
|
z115.transform((v) => {
|
|
@@ -52683,7 +53892,7 @@ var UpdatePlanUpsertLicenseBasePriceResponse$inboundSchema = z115.pipe(
|
|
|
52683
53892
|
});
|
|
52684
53893
|
})
|
|
52685
53894
|
);
|
|
52686
|
-
var
|
|
53895
|
+
var UpdatePlanVariantDetailsUpsertLicenseThresholdBilling$inboundSchema = z115.object({
|
|
52687
53896
|
threshold: number2()
|
|
52688
53897
|
});
|
|
52689
53898
|
var UpdatePlanVariantDetailsUpsertLicenseResetInterval$inboundSchema = inboundSchema(UpdatePlanVariantDetailsUpsertLicenseResetInterval);
|
|
@@ -52698,12 +53907,12 @@ var UpdatePlanVariantDetailsUpsertLicenseReset$inboundSchema = z115.pipe(
|
|
|
52698
53907
|
});
|
|
52699
53908
|
})
|
|
52700
53909
|
);
|
|
52701
|
-
var
|
|
53910
|
+
var UpdatePlanVariantDetailsUpsertLicenseAddItemAdditionalCurrency$inboundSchema = z115.object({
|
|
52702
53911
|
currency: string5(),
|
|
52703
53912
|
amount: number2()
|
|
52704
53913
|
});
|
|
52705
53914
|
var UpdatePlanVariantDetailsUpsertLicensePriceTo$inboundSchema = smartUnion([number2(), string5()]);
|
|
52706
|
-
var
|
|
53915
|
+
var UpdatePlanVariantDetailsUpsertLicenseTierAdditionalCurrency$inboundSchema = z115.pipe(
|
|
52707
53916
|
z115.object({
|
|
52708
53917
|
currency: string5(),
|
|
52709
53918
|
amount: optional3(number2()),
|
|
@@ -52721,7 +53930,7 @@ var UpdatePlanVariantDetailsUpsertLicensePriceTier$inboundSchema = z115.pipe(
|
|
|
52721
53930
|
amount: number2(),
|
|
52722
53931
|
flat_amount: optional3(number2()),
|
|
52723
53932
|
additional_currencies: optional3(z115.array(z115.lazy(
|
|
52724
|
-
() =>
|
|
53933
|
+
() => UpdatePlanVariantDetailsUpsertLicenseTierAdditionalCurrency$inboundSchema
|
|
52725
53934
|
)))
|
|
52726
53935
|
}),
|
|
52727
53936
|
z115.transform((v) => {
|
|
@@ -52735,14 +53944,14 @@ var UpdatePlanVariantDetailsUpsertLicenseTierBehavior$inboundSchema = inboundSch
|
|
|
52735
53944
|
var UpdatePlanVariantDetailsUpsertLicenseAddItemPriceInterval$inboundSchema = inboundSchema(
|
|
52736
53945
|
UpdatePlanVariantDetailsUpsertLicenseAddItemPriceInterval
|
|
52737
53946
|
);
|
|
52738
|
-
var
|
|
52739
|
-
|
|
53947
|
+
var UpdatePlanVariantDetailsUpsertLicenseAddItemBillingMethod$inboundSchema = inboundSchema(
|
|
53948
|
+
UpdatePlanVariantDetailsUpsertLicenseAddItemBillingMethod
|
|
52740
53949
|
);
|
|
52741
53950
|
var UpdatePlanVariantDetailsUpsertLicensePrice$inboundSchema = z115.pipe(
|
|
52742
53951
|
z115.object({
|
|
52743
53952
|
amount: optional3(number2()),
|
|
52744
53953
|
additional_currencies: optional3(z115.array(z115.lazy(
|
|
52745
|
-
() =>
|
|
53954
|
+
() => UpdatePlanVariantDetailsUpsertLicenseAddItemAdditionalCurrency$inboundSchema
|
|
52746
53955
|
))),
|
|
52747
53956
|
tiers: optional3(z115.array(z115.lazy(
|
|
52748
53957
|
() => UpdatePlanVariantDetailsUpsertLicensePriceTier$inboundSchema
|
|
@@ -52753,7 +53962,7 @@ var UpdatePlanVariantDetailsUpsertLicensePrice$inboundSchema = z115.pipe(
|
|
|
52753
53962
|
interval: UpdatePlanVariantDetailsUpsertLicenseAddItemPriceInterval$inboundSchema,
|
|
52754
53963
|
interval_count: z115._default(number2(), 1),
|
|
52755
53964
|
billing_units: z115._default(number2(), 1),
|
|
52756
|
-
billing_method:
|
|
53965
|
+
billing_method: UpdatePlanVariantDetailsUpsertLicenseAddItemBillingMethod$inboundSchema,
|
|
52757
53966
|
max_purchase: z115.optional(z115.nullable(number2()))
|
|
52758
53967
|
}),
|
|
52759
53968
|
z115.transform((v) => {
|
|
@@ -52781,12 +53990,14 @@ var UpdatePlanUpsertLicenseProrationResponse$inboundSchema = z115.pipe(
|
|
|
52781
53990
|
});
|
|
52782
53991
|
})
|
|
52783
53992
|
);
|
|
52784
|
-
var
|
|
53993
|
+
var UpdatePlanVariantDetailsUpsertLicenseExpiryDurationType$inboundSchema = inboundSchema(
|
|
53994
|
+
UpdatePlanVariantDetailsUpsertLicenseExpiryDurationType
|
|
53995
|
+
);
|
|
52785
53996
|
var UpdatePlanVariantDetailsUpsertLicenseRollover$inboundSchema = z115.pipe(
|
|
52786
53997
|
z115.object({
|
|
52787
53998
|
max: optional3(number2()),
|
|
52788
53999
|
max_percentage: optional3(number2()),
|
|
52789
|
-
expiry_duration_type:
|
|
54000
|
+
expiry_duration_type: UpdatePlanVariantDetailsUpsertLicenseExpiryDurationType$inboundSchema,
|
|
52790
54001
|
expiry_duration_length: optional3(number2())
|
|
52791
54002
|
}),
|
|
52792
54003
|
z115.transform((v) => {
|
|
@@ -52826,7 +54037,7 @@ var UpdatePlanDimensionsToVariantDetailsUpsertLicenseEnum1 = {
|
|
|
52826
54037
|
var UpdatePlanToVariantDetailsUpsertLicenseEnum = {
|
|
52827
54038
|
Inf: "inf"
|
|
52828
54039
|
};
|
|
52829
|
-
var
|
|
54040
|
+
var UpdatePlanVariantDetailsUpsertLicenseRemoveItemBillingMethod = {
|
|
52830
54041
|
Prepaid: "prepaid",
|
|
52831
54042
|
UsageBased: "usage_based"
|
|
52832
54043
|
};
|
|
@@ -52849,6 +54060,96 @@ var UpdatePlanIntervalVariantDetailsUpsertLicenseRemoveItemEnum1 = {
|
|
|
52849
54060
|
SemiAnnual: "semi_annual",
|
|
52850
54061
|
Year: "year"
|
|
52851
54062
|
};
|
|
54063
|
+
var UpdatePlanPriceLicenseIntervalResponse = {
|
|
54064
|
+
OneOff: "one_off",
|
|
54065
|
+
Week: "week",
|
|
54066
|
+
Month: "month",
|
|
54067
|
+
Quarter: "quarter",
|
|
54068
|
+
SemiAnnual: "semi_annual",
|
|
54069
|
+
Year: "year"
|
|
54070
|
+
};
|
|
54071
|
+
var UpdatePlanLicenseResetIntervalResponse = {
|
|
54072
|
+
OneOff: "one_off",
|
|
54073
|
+
Minute: "minute",
|
|
54074
|
+
Hour: "hour",
|
|
54075
|
+
Day: "day",
|
|
54076
|
+
Week: "week",
|
|
54077
|
+
Month: "month",
|
|
54078
|
+
Quarter: "quarter",
|
|
54079
|
+
SemiAnnual: "semi_annual",
|
|
54080
|
+
Year: "year"
|
|
54081
|
+
};
|
|
54082
|
+
var UpdatePlanLicenseTierBehaviorResponse = {
|
|
54083
|
+
Graduated: "graduated",
|
|
54084
|
+
Volume: "volume"
|
|
54085
|
+
};
|
|
54086
|
+
var UpdatePlanLicenseAddItemPriceIntervalResponse = {
|
|
54087
|
+
OneOff: "one_off",
|
|
54088
|
+
Week: "week",
|
|
54089
|
+
Month: "month",
|
|
54090
|
+
Quarter: "quarter",
|
|
54091
|
+
SemiAnnual: "semi_annual",
|
|
54092
|
+
Year: "year"
|
|
54093
|
+
};
|
|
54094
|
+
var UpdatePlanLicenseAddItemBillingMethodResponse = {
|
|
54095
|
+
Prepaid: "prepaid",
|
|
54096
|
+
UsageBased: "usage_based"
|
|
54097
|
+
};
|
|
54098
|
+
var UpdatePlanLicenseOnIncreaseResponse = {
|
|
54099
|
+
BillImmediately: "bill_immediately",
|
|
54100
|
+
ProrateImmediately: "prorate_immediately",
|
|
54101
|
+
ProrateNextCycle: "prorate_next_cycle",
|
|
54102
|
+
BillNextCycle: "bill_next_cycle"
|
|
54103
|
+
};
|
|
54104
|
+
var UpdatePlanLicenseOnDecreaseResponse = {
|
|
54105
|
+
Prorate: "prorate",
|
|
54106
|
+
ProrateImmediately: "prorate_immediately",
|
|
54107
|
+
ProrateNextCycle: "prorate_next_cycle",
|
|
54108
|
+
None: "none",
|
|
54109
|
+
NoProrations: "no_prorations"
|
|
54110
|
+
};
|
|
54111
|
+
var UpdatePlanLicenseExpiryDurationTypeResponse = {
|
|
54112
|
+
Month: "month",
|
|
54113
|
+
Forever: "forever"
|
|
54114
|
+
};
|
|
54115
|
+
var UpdatePlanLicenseDurationResponse = {
|
|
54116
|
+
Day: "day",
|
|
54117
|
+
Week: "week",
|
|
54118
|
+
Month: "month",
|
|
54119
|
+
Year: "year"
|
|
54120
|
+
};
|
|
54121
|
+
var UpdatePlanDimensionsToLicenseResponseEnum2 = {
|
|
54122
|
+
Inf: "inf"
|
|
54123
|
+
};
|
|
54124
|
+
var UpdatePlanDimensionsToLicenseResponseEnum1 = {
|
|
54125
|
+
Inf: "inf"
|
|
54126
|
+
};
|
|
54127
|
+
var UpdatePlanToLicenseResponseEnum = {
|
|
54128
|
+
Inf: "inf"
|
|
54129
|
+
};
|
|
54130
|
+
var UpdatePlanLicenseRemoveItemBillingMethodResponse = {
|
|
54131
|
+
Prepaid: "prepaid",
|
|
54132
|
+
UsageBased: "usage_based"
|
|
54133
|
+
};
|
|
54134
|
+
var UpdatePlanIntervalLicenseRemoveItemResponseEnum2 = {
|
|
54135
|
+
OneOff: "one_off",
|
|
54136
|
+
Minute: "minute",
|
|
54137
|
+
Hour: "hour",
|
|
54138
|
+
Day: "day",
|
|
54139
|
+
Week: "week",
|
|
54140
|
+
Month: "month",
|
|
54141
|
+
Quarter: "quarter",
|
|
54142
|
+
SemiAnnual: "semi_annual",
|
|
54143
|
+
Year: "year"
|
|
54144
|
+
};
|
|
54145
|
+
var UpdatePlanIntervalLicenseRemoveItemResponseEnum1 = {
|
|
54146
|
+
OneOff: "one_off",
|
|
54147
|
+
Week: "week",
|
|
54148
|
+
Month: "month",
|
|
54149
|
+
Quarter: "quarter",
|
|
54150
|
+
SemiAnnual: "semi_annual",
|
|
54151
|
+
Year: "year"
|
|
54152
|
+
};
|
|
52852
54153
|
var UpdatePlanDimensionsToVariantDetailsUpsertLicenseEnum2$inboundSchema = z116.enum(UpdatePlanDimensionsToVariantDetailsUpsertLicenseEnum2);
|
|
52853
54154
|
var UpdatePlanDimensionsVariantDetailsUpsertLicenseToUnion2$inboundSchema = smartUnion([
|
|
52854
54155
|
number2(),
|
|
@@ -53061,7 +54362,7 @@ var UpdatePlanVariantDetailsUpsertLicenseModelMarkups$inboundSchema = z116.pipe(
|
|
|
53061
54362
|
});
|
|
53062
54363
|
})
|
|
53063
54364
|
);
|
|
53064
|
-
var
|
|
54365
|
+
var UpdatePlanVariantDetailsUpsertLicenseMarkups$inboundSchema = z116.pipe(
|
|
53065
54366
|
z116.object({
|
|
53066
54367
|
default_markup: optional3(number2()),
|
|
53067
54368
|
provider_markups: z116.optional(z116.nullable(z116.record(
|
|
@@ -53085,7 +54386,7 @@ var UpdatePlanUpsertLicenseMarkupsResponse$inboundSchema = z116.pipe(
|
|
|
53085
54386
|
});
|
|
53086
54387
|
})
|
|
53087
54388
|
);
|
|
53088
|
-
var
|
|
54389
|
+
var UpdatePlanVariantDetailsUpsertLicenseFeatureOverride$inboundSchema = z116.pipe(
|
|
53089
54390
|
z116.object({
|
|
53090
54391
|
credit_schema: optional3(z116.array(smartUnion([
|
|
53091
54392
|
z116.lazy(
|
|
@@ -53096,7 +54397,7 @@ var UpdatePlanUpsertLicenseFeatureOverrideResponse$inboundSchema = z116.pipe(
|
|
|
53096
54397
|
)
|
|
53097
54398
|
]))),
|
|
53098
54399
|
markups: optional3(z116.lazy(
|
|
53099
|
-
() =>
|
|
54400
|
+
() => UpdatePlanVariantDetailsUpsertLicenseMarkups$inboundSchema
|
|
53100
54401
|
))
|
|
53101
54402
|
}),
|
|
53102
54403
|
z116.transform((v) => {
|
|
@@ -53109,7 +54410,7 @@ var UpdatePlanUpsertLicensePlanItemResponse$inboundSchema = z116.pipe(
|
|
|
53109
54410
|
z116.object({
|
|
53110
54411
|
threshold_billing: z116.optional(
|
|
53111
54412
|
z116.nullable(
|
|
53112
|
-
|
|
54413
|
+
UpdatePlanVariantDetailsUpsertLicenseThresholdBilling$inboundSchema
|
|
53113
54414
|
)
|
|
53114
54415
|
),
|
|
53115
54416
|
feature_id: string5(),
|
|
@@ -53131,11 +54432,9 @@ var UpdatePlanUpsertLicensePlanItemResponse$inboundSchema = z116.pipe(
|
|
|
53131
54432
|
expiry: optional3(
|
|
53132
54433
|
UpdatePlanVariantDetailsUpsertLicenseExpiry$inboundSchema
|
|
53133
54434
|
),
|
|
53134
|
-
feature_override: optional3(
|
|
53135
|
-
|
|
53136
|
-
|
|
53137
|
-
)
|
|
53138
|
-
)
|
|
54435
|
+
feature_override: optional3(z116.lazy(
|
|
54436
|
+
() => UpdatePlanVariantDetailsUpsertLicenseFeatureOverride$inboundSchema
|
|
54437
|
+
))
|
|
53139
54438
|
}),
|
|
53140
54439
|
z116.transform((v) => {
|
|
53141
54440
|
return remap(v, {
|
|
@@ -53145,8 +54444,8 @@ var UpdatePlanUpsertLicensePlanItemResponse$inboundSchema = z116.pipe(
|
|
|
53145
54444
|
});
|
|
53146
54445
|
})
|
|
53147
54446
|
);
|
|
53148
|
-
var
|
|
53149
|
-
|
|
54447
|
+
var UpdatePlanVariantDetailsUpsertLicenseRemoveItemBillingMethod$inboundSchema = inboundSchema(
|
|
54448
|
+
UpdatePlanVariantDetailsUpsertLicenseRemoveItemBillingMethod
|
|
53150
54449
|
);
|
|
53151
54450
|
var UpdatePlanIntervalVariantDetailsUpsertLicenseRemoveItemEnum2$inboundSchema = inboundSchema(
|
|
53152
54451
|
UpdatePlanIntervalVariantDetailsUpsertLicenseRemoveItemEnum2
|
|
@@ -53162,7 +54461,7 @@ var UpdatePlanUpsertLicensePlanItemFilterResponse$inboundSchema = z116.pipe(
|
|
|
53162
54461
|
z116.object({
|
|
53163
54462
|
feature_id: optional3(string5()),
|
|
53164
54463
|
billing_method: optional3(
|
|
53165
|
-
|
|
54464
|
+
UpdatePlanVariantDetailsUpsertLicenseRemoveItemBillingMethod$inboundSchema
|
|
53166
54465
|
),
|
|
53167
54466
|
interval: optional3(
|
|
53168
54467
|
smartUnion([
|
|
@@ -53229,14 +54528,16 @@ var UpdatePlanRemoveLicenseResponse$inboundSchema = z116.pipe(
|
|
|
53229
54528
|
});
|
|
53230
54529
|
})
|
|
53231
54530
|
);
|
|
53232
|
-
var
|
|
54531
|
+
var UpdatePlanVariantDetailsCustomize$inboundSchema = z116.pipe(
|
|
53233
54532
|
z116.object({
|
|
53234
|
-
price: z116.optional(
|
|
54533
|
+
price: z116.optional(
|
|
54534
|
+
z116.nullable(UpdatePlanVariantDetailsBasePrice$inboundSchema)
|
|
54535
|
+
),
|
|
53235
54536
|
add_items: optional3(
|
|
53236
|
-
z116.array(
|
|
54537
|
+
z116.array(UpdatePlanVariantDetailsPlanItem$inboundSchema)
|
|
53237
54538
|
),
|
|
53238
54539
|
remove_items: optional3(
|
|
53239
|
-
z116.array(
|
|
54540
|
+
z116.array(UpdatePlanVariantDetailsPlanItemFilter$inboundSchema)
|
|
53240
54541
|
),
|
|
53241
54542
|
free_trial: z116.optional(
|
|
53242
54543
|
z116.nullable(UpdatePlanFreeTrialParamsResponse$inboundSchema)
|
|
@@ -53266,7 +54567,7 @@ var UpdatePlanVariantDetails$inboundSchema = z116.pipe(
|
|
|
53266
54567
|
z116.object({
|
|
53267
54568
|
base_plan_id: string5(),
|
|
53268
54569
|
customize: optional3(
|
|
53269
|
-
z116.lazy(() =>
|
|
54570
|
+
z116.lazy(() => UpdatePlanVariantDetailsCustomize$inboundSchema)
|
|
53270
54571
|
)
|
|
53271
54572
|
}),
|
|
53272
54573
|
z116.transform((v) => {
|
|
@@ -53275,6 +54576,493 @@ var UpdatePlanVariantDetails$inboundSchema = z116.pipe(
|
|
|
53275
54576
|
});
|
|
53276
54577
|
})
|
|
53277
54578
|
);
|
|
54579
|
+
var UpdatePlanPriceLicenseIntervalResponse$inboundSchema = inboundSchema(UpdatePlanPriceLicenseIntervalResponse);
|
|
54580
|
+
var UpdatePlanLicenseAdditionalCurrencyResponse$inboundSchema = z116.object({
|
|
54581
|
+
currency: string5(),
|
|
54582
|
+
amount: number2()
|
|
54583
|
+
});
|
|
54584
|
+
var UpdatePlanLicenseBasePriceResponse$inboundSchema = z116.pipe(
|
|
54585
|
+
z116.object({
|
|
54586
|
+
amount: number2(),
|
|
54587
|
+
interval: UpdatePlanPriceLicenseIntervalResponse$inboundSchema,
|
|
54588
|
+
interval_count: z116._default(number2(), 1),
|
|
54589
|
+
additional_currencies: optional3(z116.array(z116.lazy(
|
|
54590
|
+
() => UpdatePlanLicenseAdditionalCurrencyResponse$inboundSchema
|
|
54591
|
+
)))
|
|
54592
|
+
}),
|
|
54593
|
+
z116.transform((v) => {
|
|
54594
|
+
return remap(v, {
|
|
54595
|
+
"interval_count": "intervalCount",
|
|
54596
|
+
"additional_currencies": "additionalCurrencies"
|
|
54597
|
+
});
|
|
54598
|
+
})
|
|
54599
|
+
);
|
|
54600
|
+
var UpdatePlanLicenseThresholdBillingResponse$inboundSchema = z116.object({
|
|
54601
|
+
threshold: number2()
|
|
54602
|
+
});
|
|
54603
|
+
var UpdatePlanLicenseResetIntervalResponse$inboundSchema = inboundSchema(UpdatePlanLicenseResetIntervalResponse);
|
|
54604
|
+
var UpdatePlanLicenseResetResponse$inboundSchema = z116.pipe(
|
|
54605
|
+
z116.object({
|
|
54606
|
+
interval: UpdatePlanLicenseResetIntervalResponse$inboundSchema,
|
|
54607
|
+
interval_count: z116._default(number2(), 1)
|
|
54608
|
+
}),
|
|
54609
|
+
z116.transform((v) => {
|
|
54610
|
+
return remap(v, {
|
|
54611
|
+
"interval_count": "intervalCount"
|
|
54612
|
+
});
|
|
54613
|
+
})
|
|
54614
|
+
);
|
|
54615
|
+
var UpdatePlanLicenseAddItemAdditionalCurrencyResponse$inboundSchema = z116.object({
|
|
54616
|
+
currency: string5(),
|
|
54617
|
+
amount: number2()
|
|
54618
|
+
});
|
|
54619
|
+
var UpdatePlanLicensePriceToResponse$inboundSchema = smartUnion([number2(), string5()]);
|
|
54620
|
+
var UpdatePlanLicenseTierAdditionalCurrencyResponse$inboundSchema = z116.pipe(
|
|
54621
|
+
z116.object({
|
|
54622
|
+
currency: string5(),
|
|
54623
|
+
amount: optional3(number2()),
|
|
54624
|
+
flat_amount: optional3(number2())
|
|
54625
|
+
}),
|
|
54626
|
+
z116.transform((v) => {
|
|
54627
|
+
return remap(v, {
|
|
54628
|
+
"flat_amount": "flatAmount"
|
|
54629
|
+
});
|
|
54630
|
+
})
|
|
54631
|
+
);
|
|
54632
|
+
var UpdatePlanLicensePriceTierResponse$inboundSchema = z116.pipe(
|
|
54633
|
+
z116.object({
|
|
54634
|
+
to: smartUnion([number2(), string5()]),
|
|
54635
|
+
amount: number2(),
|
|
54636
|
+
flat_amount: optional3(number2()),
|
|
54637
|
+
additional_currencies: optional3(z116.array(z116.lazy(
|
|
54638
|
+
() => UpdatePlanLicenseTierAdditionalCurrencyResponse$inboundSchema
|
|
54639
|
+
)))
|
|
54640
|
+
}),
|
|
54641
|
+
z116.transform((v) => {
|
|
54642
|
+
return remap(v, {
|
|
54643
|
+
"flat_amount": "flatAmount",
|
|
54644
|
+
"additional_currencies": "additionalCurrencies"
|
|
54645
|
+
});
|
|
54646
|
+
})
|
|
54647
|
+
);
|
|
54648
|
+
var UpdatePlanLicenseTierBehaviorResponse$inboundSchema = inboundSchema(UpdatePlanLicenseTierBehaviorResponse);
|
|
54649
|
+
var UpdatePlanLicenseAddItemPriceIntervalResponse$inboundSchema = inboundSchema(UpdatePlanLicenseAddItemPriceIntervalResponse);
|
|
54650
|
+
var UpdatePlanLicenseAddItemBillingMethodResponse$inboundSchema = inboundSchema(UpdatePlanLicenseAddItemBillingMethodResponse);
|
|
54651
|
+
var UpdatePlanLicensePriceResponse$inboundSchema = z116.pipe(
|
|
54652
|
+
z116.object({
|
|
54653
|
+
amount: optional3(number2()),
|
|
54654
|
+
additional_currencies: optional3(z116.array(z116.lazy(
|
|
54655
|
+
() => UpdatePlanLicenseAddItemAdditionalCurrencyResponse$inboundSchema
|
|
54656
|
+
))),
|
|
54657
|
+
tiers: optional3(z116.array(z116.lazy(
|
|
54658
|
+
() => UpdatePlanLicensePriceTierResponse$inboundSchema
|
|
54659
|
+
))),
|
|
54660
|
+
tier_behavior: optional3(
|
|
54661
|
+
UpdatePlanLicenseTierBehaviorResponse$inboundSchema
|
|
54662
|
+
),
|
|
54663
|
+
interval: UpdatePlanLicenseAddItemPriceIntervalResponse$inboundSchema,
|
|
54664
|
+
interval_count: z116._default(number2(), 1),
|
|
54665
|
+
billing_units: z116._default(number2(), 1),
|
|
54666
|
+
billing_method: UpdatePlanLicenseAddItemBillingMethodResponse$inboundSchema,
|
|
54667
|
+
max_purchase: z116.optional(z116.nullable(number2()))
|
|
54668
|
+
}),
|
|
54669
|
+
z116.transform((v) => {
|
|
54670
|
+
return remap(v, {
|
|
54671
|
+
"additional_currencies": "additionalCurrencies",
|
|
54672
|
+
"tier_behavior": "tierBehavior",
|
|
54673
|
+
"interval_count": "intervalCount",
|
|
54674
|
+
"billing_units": "billingUnits",
|
|
54675
|
+
"billing_method": "billingMethod",
|
|
54676
|
+
"max_purchase": "maxPurchase"
|
|
54677
|
+
});
|
|
54678
|
+
})
|
|
54679
|
+
);
|
|
54680
|
+
var UpdatePlanLicenseOnIncreaseResponse$inboundSchema = inboundSchema(UpdatePlanLicenseOnIncreaseResponse);
|
|
54681
|
+
var UpdatePlanLicenseOnDecreaseResponse$inboundSchema = inboundSchema(UpdatePlanLicenseOnDecreaseResponse);
|
|
54682
|
+
var UpdatePlanLicenseProrationResponse$inboundSchema = z116.pipe(
|
|
54683
|
+
z116.object({
|
|
54684
|
+
on_increase: UpdatePlanLicenseOnIncreaseResponse$inboundSchema,
|
|
54685
|
+
on_decrease: UpdatePlanLicenseOnDecreaseResponse$inboundSchema
|
|
54686
|
+
}),
|
|
54687
|
+
z116.transform((v) => {
|
|
54688
|
+
return remap(v, {
|
|
54689
|
+
"on_increase": "onIncrease",
|
|
54690
|
+
"on_decrease": "onDecrease"
|
|
54691
|
+
});
|
|
54692
|
+
})
|
|
54693
|
+
);
|
|
54694
|
+
var UpdatePlanLicenseExpiryDurationTypeResponse$inboundSchema = inboundSchema(UpdatePlanLicenseExpiryDurationTypeResponse);
|
|
54695
|
+
var UpdatePlanLicenseRolloverResponse$inboundSchema = z116.pipe(
|
|
54696
|
+
z116.object({
|
|
54697
|
+
max: optional3(number2()),
|
|
54698
|
+
max_percentage: optional3(number2()),
|
|
54699
|
+
expiry_duration_type: UpdatePlanLicenseExpiryDurationTypeResponse$inboundSchema,
|
|
54700
|
+
expiry_duration_length: optional3(number2())
|
|
54701
|
+
}),
|
|
54702
|
+
z116.transform((v) => {
|
|
54703
|
+
return remap(v, {
|
|
54704
|
+
"max_percentage": "maxPercentage",
|
|
54705
|
+
"expiry_duration_type": "expiryDurationType",
|
|
54706
|
+
"expiry_duration_length": "expiryDurationLength"
|
|
54707
|
+
});
|
|
54708
|
+
})
|
|
54709
|
+
);
|
|
54710
|
+
var UpdatePlanLicenseDurationResponse$inboundSchema = inboundSchema(UpdatePlanLicenseDurationResponse);
|
|
54711
|
+
var UpdatePlanLicenseExpiryResponse$inboundSchema = z116.object({
|
|
54712
|
+
duration: UpdatePlanLicenseDurationResponse$inboundSchema,
|
|
54713
|
+
length: number2()
|
|
54714
|
+
});
|
|
54715
|
+
var UpdatePlanDimensionsLicenseResponse4$inboundSchema = z116.pipe(
|
|
54716
|
+
z116.object({
|
|
54717
|
+
match: z116.record(z116.string(), string5()),
|
|
54718
|
+
priority: optional3(number2()),
|
|
54719
|
+
credit_cost: number2()
|
|
54720
|
+
}),
|
|
54721
|
+
z116.transform((v) => {
|
|
54722
|
+
return remap(v, {
|
|
54723
|
+
"credit_cost": "creditCost"
|
|
54724
|
+
});
|
|
54725
|
+
})
|
|
54726
|
+
);
|
|
54727
|
+
var UpdatePlanDimensionsToLicenseResponseEnum2$inboundSchema = z116.enum(
|
|
54728
|
+
UpdatePlanDimensionsToLicenseResponseEnum2
|
|
54729
|
+
);
|
|
54730
|
+
var UpdatePlanDimensionsLicenseToResponseUnion2$inboundSchema = smartUnion([
|
|
54731
|
+
number2(),
|
|
54732
|
+
UpdatePlanDimensionsToLicenseResponseEnum2$inboundSchema
|
|
54733
|
+
]);
|
|
54734
|
+
var UpdatePlanDimensionsLicenseTierResponse2$inboundSchema = z116.pipe(
|
|
54735
|
+
z116.object({
|
|
54736
|
+
to: smartUnion([
|
|
54737
|
+
number2(),
|
|
54738
|
+
UpdatePlanDimensionsToLicenseResponseEnum2$inboundSchema
|
|
54739
|
+
]),
|
|
54740
|
+
credit_cost: number2()
|
|
54741
|
+
}),
|
|
54742
|
+
z116.transform((v) => {
|
|
54743
|
+
return remap(v, {
|
|
54744
|
+
"credit_cost": "creditCost"
|
|
54745
|
+
});
|
|
54746
|
+
})
|
|
54747
|
+
);
|
|
54748
|
+
var UpdatePlanDimensionsLicenseResponse3$inboundSchema = z116.pipe(
|
|
54749
|
+
z116.object({
|
|
54750
|
+
match: z116.record(z116.string(), string5()),
|
|
54751
|
+
priority: optional3(number2()),
|
|
54752
|
+
tier_behavior: literal3("graduated"),
|
|
54753
|
+
tiers: z116.array(
|
|
54754
|
+
z116.lazy(() => UpdatePlanDimensionsLicenseTierResponse2$inboundSchema)
|
|
54755
|
+
)
|
|
54756
|
+
}),
|
|
54757
|
+
z116.transform((v) => {
|
|
54758
|
+
return remap(v, {
|
|
54759
|
+
"tier_behavior": "tierBehavior"
|
|
54760
|
+
});
|
|
54761
|
+
})
|
|
54762
|
+
);
|
|
54763
|
+
var UpdatePlanLicenseDimensionsResponseUnion2$inboundSchema = smartUnion([
|
|
54764
|
+
z116.lazy(() => UpdatePlanDimensionsLicenseResponse3$inboundSchema),
|
|
54765
|
+
z116.lazy(() => UpdatePlanDimensionsLicenseResponse4$inboundSchema)
|
|
54766
|
+
]);
|
|
54767
|
+
var UpdatePlanLicenseMultipliersResponse2$inboundSchema = z116.object({
|
|
54768
|
+
match: z116.record(z116.string(), string5()),
|
|
54769
|
+
factor: optional3(number2()),
|
|
54770
|
+
add: optional3(number2())
|
|
54771
|
+
});
|
|
54772
|
+
var UpdatePlanCreditSchemaLicenseResponse2$inboundSchema = z116.pipe(
|
|
54773
|
+
z116.object({
|
|
54774
|
+
metered_feature_id: string5(),
|
|
54775
|
+
billing_units: optional3(number2()),
|
|
54776
|
+
dimensions: optional3(z116.record(
|
|
54777
|
+
z116.string(),
|
|
54778
|
+
smartUnion([
|
|
54779
|
+
z116.lazy(() => UpdatePlanDimensionsLicenseResponse3$inboundSchema),
|
|
54780
|
+
z116.lazy(() => UpdatePlanDimensionsLicenseResponse4$inboundSchema)
|
|
54781
|
+
])
|
|
54782
|
+
)),
|
|
54783
|
+
multipliers: optional3(z116.record(
|
|
54784
|
+
z116.string(),
|
|
54785
|
+
z116.lazy(() => UpdatePlanLicenseMultipliersResponse2$inboundSchema)
|
|
54786
|
+
)),
|
|
54787
|
+
credit_cost: number2()
|
|
54788
|
+
}),
|
|
54789
|
+
z116.transform((v) => {
|
|
54790
|
+
return remap(v, {
|
|
54791
|
+
"metered_feature_id": "meteredFeatureId",
|
|
54792
|
+
"billing_units": "billingUnits",
|
|
54793
|
+
"credit_cost": "creditCost"
|
|
54794
|
+
});
|
|
54795
|
+
})
|
|
54796
|
+
);
|
|
54797
|
+
var UpdatePlanDimensionsLicenseResponse2$inboundSchema = z116.pipe(
|
|
54798
|
+
z116.object({
|
|
54799
|
+
match: z116.record(z116.string(), string5()),
|
|
54800
|
+
priority: optional3(number2()),
|
|
54801
|
+
credit_cost: number2()
|
|
54802
|
+
}),
|
|
54803
|
+
z116.transform((v) => {
|
|
54804
|
+
return remap(v, {
|
|
54805
|
+
"credit_cost": "creditCost"
|
|
54806
|
+
});
|
|
54807
|
+
})
|
|
54808
|
+
);
|
|
54809
|
+
var UpdatePlanDimensionsToLicenseResponseEnum1$inboundSchema = z116.enum(
|
|
54810
|
+
UpdatePlanDimensionsToLicenseResponseEnum1
|
|
54811
|
+
);
|
|
54812
|
+
var UpdatePlanDimensionsLicenseToResponseUnion1$inboundSchema = smartUnion([
|
|
54813
|
+
number2(),
|
|
54814
|
+
UpdatePlanDimensionsToLicenseResponseEnum1$inboundSchema
|
|
54815
|
+
]);
|
|
54816
|
+
var UpdatePlanDimensionsLicenseTierResponse1$inboundSchema = z116.pipe(
|
|
54817
|
+
z116.object({
|
|
54818
|
+
to: smartUnion([
|
|
54819
|
+
number2(),
|
|
54820
|
+
UpdatePlanDimensionsToLicenseResponseEnum1$inboundSchema
|
|
54821
|
+
]),
|
|
54822
|
+
credit_cost: number2()
|
|
54823
|
+
}),
|
|
54824
|
+
z116.transform((v) => {
|
|
54825
|
+
return remap(v, {
|
|
54826
|
+
"credit_cost": "creditCost"
|
|
54827
|
+
});
|
|
54828
|
+
})
|
|
54829
|
+
);
|
|
54830
|
+
var UpdatePlanDimensionsLicenseResponse1$inboundSchema = z116.pipe(
|
|
54831
|
+
z116.object({
|
|
54832
|
+
match: z116.record(z116.string(), string5()),
|
|
54833
|
+
priority: optional3(number2()),
|
|
54834
|
+
tier_behavior: literal3("graduated"),
|
|
54835
|
+
tiers: z116.array(
|
|
54836
|
+
z116.lazy(() => UpdatePlanDimensionsLicenseTierResponse1$inboundSchema)
|
|
54837
|
+
)
|
|
54838
|
+
}),
|
|
54839
|
+
z116.transform((v) => {
|
|
54840
|
+
return remap(v, {
|
|
54841
|
+
"tier_behavior": "tierBehavior"
|
|
54842
|
+
});
|
|
54843
|
+
})
|
|
54844
|
+
);
|
|
54845
|
+
var UpdatePlanLicenseDimensionsResponseUnion1$inboundSchema = smartUnion([
|
|
54846
|
+
z116.lazy(() => UpdatePlanDimensionsLicenseResponse1$inboundSchema),
|
|
54847
|
+
z116.lazy(() => UpdatePlanDimensionsLicenseResponse2$inboundSchema)
|
|
54848
|
+
]);
|
|
54849
|
+
var UpdatePlanLicenseMultipliersResponse1$inboundSchema = z116.object({
|
|
54850
|
+
match: z116.record(z116.string(), string5()),
|
|
54851
|
+
factor: optional3(number2()),
|
|
54852
|
+
add: optional3(number2())
|
|
54853
|
+
});
|
|
54854
|
+
var UpdatePlanToLicenseResponseEnum$inboundSchema = z116.enum(UpdatePlanToLicenseResponseEnum);
|
|
54855
|
+
var UpdatePlanLicenseFeatureOverrideToResponseUnion$inboundSchema = smartUnion([number2(), UpdatePlanToLicenseResponseEnum$inboundSchema]);
|
|
54856
|
+
var UpdatePlanLicenseFeatureOverrideTierResponse$inboundSchema = z116.pipe(
|
|
54857
|
+
z116.object({
|
|
54858
|
+
to: smartUnion([
|
|
54859
|
+
number2(),
|
|
54860
|
+
UpdatePlanToLicenseResponseEnum$inboundSchema
|
|
54861
|
+
]),
|
|
54862
|
+
credit_cost: number2()
|
|
54863
|
+
}),
|
|
54864
|
+
z116.transform((v) => {
|
|
54865
|
+
return remap(v, {
|
|
54866
|
+
"credit_cost": "creditCost"
|
|
54867
|
+
});
|
|
54868
|
+
})
|
|
54869
|
+
);
|
|
54870
|
+
var UpdatePlanCreditSchemaLicenseResponse1$inboundSchema = z116.pipe(
|
|
54871
|
+
z116.object({
|
|
54872
|
+
metered_feature_id: string5(),
|
|
54873
|
+
billing_units: optional3(number2()),
|
|
54874
|
+
dimensions: optional3(z116.record(
|
|
54875
|
+
z116.string(),
|
|
54876
|
+
smartUnion([
|
|
54877
|
+
z116.lazy(() => UpdatePlanDimensionsLicenseResponse1$inboundSchema),
|
|
54878
|
+
z116.lazy(() => UpdatePlanDimensionsLicenseResponse2$inboundSchema)
|
|
54879
|
+
])
|
|
54880
|
+
)),
|
|
54881
|
+
multipliers: optional3(z116.record(
|
|
54882
|
+
z116.string(),
|
|
54883
|
+
z116.lazy(() => UpdatePlanLicenseMultipliersResponse1$inboundSchema)
|
|
54884
|
+
)),
|
|
54885
|
+
tier_behavior: literal3("graduated"),
|
|
54886
|
+
tiers: z116.array(z116.lazy(
|
|
54887
|
+
() => UpdatePlanLicenseFeatureOverrideTierResponse$inboundSchema
|
|
54888
|
+
))
|
|
54889
|
+
}),
|
|
54890
|
+
z116.transform((v) => {
|
|
54891
|
+
return remap(v, {
|
|
54892
|
+
"metered_feature_id": "meteredFeatureId",
|
|
54893
|
+
"billing_units": "billingUnits",
|
|
54894
|
+
"tier_behavior": "tierBehavior"
|
|
54895
|
+
});
|
|
54896
|
+
})
|
|
54897
|
+
);
|
|
54898
|
+
var UpdatePlanLicenseCreditSchemaResponseUnion$inboundSchema = smartUnion([
|
|
54899
|
+
z116.lazy(() => UpdatePlanCreditSchemaLicenseResponse1$inboundSchema),
|
|
54900
|
+
z116.lazy(() => UpdatePlanCreditSchemaLicenseResponse2$inboundSchema)
|
|
54901
|
+
]);
|
|
54902
|
+
var UpdatePlanLicenseProviderMarkupsResponse$inboundSchema = z116.object({
|
|
54903
|
+
markup: number2()
|
|
54904
|
+
});
|
|
54905
|
+
var UpdatePlanLicenseModelMarkupsResponse$inboundSchema = z116.pipe(
|
|
54906
|
+
z116.object({
|
|
54907
|
+
markup: optional3(number2()),
|
|
54908
|
+
input_cost: optional3(number2()),
|
|
54909
|
+
output_cost: optional3(number2())
|
|
54910
|
+
}),
|
|
54911
|
+
z116.transform((v) => {
|
|
54912
|
+
return remap(v, {
|
|
54913
|
+
"input_cost": "inputCost",
|
|
54914
|
+
"output_cost": "outputCost"
|
|
54915
|
+
});
|
|
54916
|
+
})
|
|
54917
|
+
);
|
|
54918
|
+
var UpdatePlanLicenseMarkupsResponse$inboundSchema = z116.pipe(
|
|
54919
|
+
z116.object({
|
|
54920
|
+
default_markup: optional3(number2()),
|
|
54921
|
+
provider_markups: z116.optional(z116.nullable(z116.record(
|
|
54922
|
+
z116.string(),
|
|
54923
|
+
z116.lazy(() => UpdatePlanLicenseProviderMarkupsResponse$inboundSchema)
|
|
54924
|
+
))),
|
|
54925
|
+
model_markups: z116.optional(z116.nullable(z116.record(
|
|
54926
|
+
z116.string(),
|
|
54927
|
+
z116.lazy(() => UpdatePlanLicenseModelMarkupsResponse$inboundSchema)
|
|
54928
|
+
)))
|
|
54929
|
+
}),
|
|
54930
|
+
z116.transform((v) => {
|
|
54931
|
+
return remap(v, {
|
|
54932
|
+
"default_markup": "defaultMarkup",
|
|
54933
|
+
"provider_markups": "providerMarkups",
|
|
54934
|
+
"model_markups": "modelMarkups"
|
|
54935
|
+
});
|
|
54936
|
+
})
|
|
54937
|
+
);
|
|
54938
|
+
var UpdatePlanLicenseFeatureOverrideResponse$inboundSchema = z116.pipe(
|
|
54939
|
+
z116.object({
|
|
54940
|
+
credit_schema: optional3(z116.array(smartUnion([
|
|
54941
|
+
z116.lazy(() => UpdatePlanCreditSchemaLicenseResponse1$inboundSchema),
|
|
54942
|
+
z116.lazy(
|
|
54943
|
+
() => UpdatePlanCreditSchemaLicenseResponse2$inboundSchema
|
|
54944
|
+
)
|
|
54945
|
+
]))),
|
|
54946
|
+
markups: optional3(z116.lazy(
|
|
54947
|
+
() => UpdatePlanLicenseMarkupsResponse$inboundSchema
|
|
54948
|
+
))
|
|
54949
|
+
}),
|
|
54950
|
+
z116.transform((v) => {
|
|
54951
|
+
return remap(v, {
|
|
54952
|
+
"credit_schema": "creditSchema"
|
|
54953
|
+
});
|
|
54954
|
+
})
|
|
54955
|
+
);
|
|
54956
|
+
var UpdatePlanLicensePlanItemResponse$inboundSchema = z116.pipe(
|
|
54957
|
+
z116.object({
|
|
54958
|
+
threshold_billing: z116.optional(z116.nullable(z116.lazy(
|
|
54959
|
+
() => UpdatePlanLicenseThresholdBillingResponse$inboundSchema
|
|
54960
|
+
))),
|
|
54961
|
+
feature_id: string5(),
|
|
54962
|
+
included: optional3(number2()),
|
|
54963
|
+
unlimited: optional3(boolean2()),
|
|
54964
|
+
pooled: z116._default(boolean2(), false),
|
|
54965
|
+
reset: optional3(z116.lazy(
|
|
54966
|
+
() => UpdatePlanLicenseResetResponse$inboundSchema
|
|
54967
|
+
)),
|
|
54968
|
+
price: optional3(z116.lazy(
|
|
54969
|
+
() => UpdatePlanLicensePriceResponse$inboundSchema
|
|
54970
|
+
)),
|
|
54971
|
+
proration: optional3(z116.lazy(
|
|
54972
|
+
() => UpdatePlanLicenseProrationResponse$inboundSchema
|
|
54973
|
+
)),
|
|
54974
|
+
rollover: optional3(z116.lazy(
|
|
54975
|
+
() => UpdatePlanLicenseRolloverResponse$inboundSchema
|
|
54976
|
+
)),
|
|
54977
|
+
expiry: optional3(z116.lazy(
|
|
54978
|
+
() => UpdatePlanLicenseExpiryResponse$inboundSchema
|
|
54979
|
+
)),
|
|
54980
|
+
feature_override: optional3(z116.lazy(
|
|
54981
|
+
() => UpdatePlanLicenseFeatureOverrideResponse$inboundSchema
|
|
54982
|
+
))
|
|
54983
|
+
}),
|
|
54984
|
+
z116.transform((v) => {
|
|
54985
|
+
return remap(v, {
|
|
54986
|
+
"threshold_billing": "thresholdBilling",
|
|
54987
|
+
"feature_id": "featureId",
|
|
54988
|
+
"feature_override": "featureOverride"
|
|
54989
|
+
});
|
|
54990
|
+
})
|
|
54991
|
+
);
|
|
54992
|
+
var UpdatePlanLicenseRemoveItemBillingMethodResponse$inboundSchema = inboundSchema(UpdatePlanLicenseRemoveItemBillingMethodResponse);
|
|
54993
|
+
var UpdatePlanIntervalLicenseRemoveItemResponseEnum2$inboundSchema = inboundSchema(UpdatePlanIntervalLicenseRemoveItemResponseEnum2);
|
|
54994
|
+
var UpdatePlanIntervalLicenseRemoveItemResponseEnum1$inboundSchema = inboundSchema(UpdatePlanIntervalLicenseRemoveItemResponseEnum1);
|
|
54995
|
+
var UpdatePlanLicenseIntervalResponseUnion$inboundSchema = smartUnion([
|
|
54996
|
+
UpdatePlanIntervalLicenseRemoveItemResponseEnum1$inboundSchema,
|
|
54997
|
+
UpdatePlanIntervalLicenseRemoveItemResponseEnum2$inboundSchema
|
|
54998
|
+
]);
|
|
54999
|
+
var UpdatePlanLicensePlanItemFilterResponse$inboundSchema = z116.pipe(
|
|
55000
|
+
z116.object({
|
|
55001
|
+
feature_id: optional3(string5()),
|
|
55002
|
+
billing_method: optional3(
|
|
55003
|
+
UpdatePlanLicenseRemoveItemBillingMethodResponse$inboundSchema
|
|
55004
|
+
),
|
|
55005
|
+
interval: optional3(
|
|
55006
|
+
smartUnion([
|
|
55007
|
+
UpdatePlanIntervalLicenseRemoveItemResponseEnum1$inboundSchema,
|
|
55008
|
+
UpdatePlanIntervalLicenseRemoveItemResponseEnum2$inboundSchema
|
|
55009
|
+
])
|
|
55010
|
+
),
|
|
55011
|
+
interval_count: optional3(number2()),
|
|
55012
|
+
included: optional3(number2())
|
|
55013
|
+
}),
|
|
55014
|
+
z116.transform((v) => {
|
|
55015
|
+
return remap(v, {
|
|
55016
|
+
"feature_id": "featureId",
|
|
55017
|
+
"billing_method": "billingMethod",
|
|
55018
|
+
"interval_count": "intervalCount"
|
|
55019
|
+
});
|
|
55020
|
+
})
|
|
55021
|
+
);
|
|
55022
|
+
var UpdatePlanLicenseCustomizeResponse$inboundSchema = z116.pipe(
|
|
55023
|
+
z116.object({
|
|
55024
|
+
price: z116.optional(
|
|
55025
|
+
z116.nullable(
|
|
55026
|
+
z116.lazy(() => UpdatePlanLicenseBasePriceResponse$inboundSchema)
|
|
55027
|
+
)
|
|
55028
|
+
),
|
|
55029
|
+
add_items: optional3(
|
|
55030
|
+
z116.array(z116.lazy(() => UpdatePlanLicensePlanItemResponse$inboundSchema))
|
|
55031
|
+
),
|
|
55032
|
+
remove_items: optional3(
|
|
55033
|
+
z116.array(
|
|
55034
|
+
z116.lazy(() => UpdatePlanLicensePlanItemFilterResponse$inboundSchema)
|
|
55035
|
+
)
|
|
55036
|
+
)
|
|
55037
|
+
}),
|
|
55038
|
+
z116.transform((v) => {
|
|
55039
|
+
return remap(v, {
|
|
55040
|
+
"add_items": "addItems",
|
|
55041
|
+
"remove_items": "removeItems"
|
|
55042
|
+
});
|
|
55043
|
+
})
|
|
55044
|
+
);
|
|
55045
|
+
var UpdatePlanLicenseResponse$inboundSchema = z116.pipe(
|
|
55046
|
+
z116.object({
|
|
55047
|
+
license_plan_id: string5(),
|
|
55048
|
+
version: number2(),
|
|
55049
|
+
version_slug: optional3(string5()),
|
|
55050
|
+
included: number2(),
|
|
55051
|
+
prepaid_only: boolean2(),
|
|
55052
|
+
customize: optional3(
|
|
55053
|
+
z116.lazy(() => UpdatePlanLicenseCustomizeResponse$inboundSchema)
|
|
55054
|
+
),
|
|
55055
|
+
metadata: optional3(z116.record(z116.string(), z116.any())),
|
|
55056
|
+
plan: optional3(Plan$inboundSchema)
|
|
55057
|
+
}),
|
|
55058
|
+
z116.transform((v) => {
|
|
55059
|
+
return remap(v, {
|
|
55060
|
+
"license_plan_id": "licensePlanId",
|
|
55061
|
+
"version_slug": "versionSlug",
|
|
55062
|
+
"prepaid_only": "prepaidOnly"
|
|
55063
|
+
});
|
|
55064
|
+
})
|
|
55065
|
+
);
|
|
53278
55066
|
var UpdatePlanResponse$inboundSchema = z116.pipe(
|
|
53279
55067
|
z116.object({
|
|
53280
55068
|
id: string5(),
|
|
@@ -53304,6 +55092,9 @@ var UpdatePlanResponse$inboundSchema = z116.pipe(
|
|
|
53304
55092
|
base_variant_id: nullable(string5()),
|
|
53305
55093
|
variant_details: optional3(
|
|
53306
55094
|
z116.lazy(() => UpdatePlanVariantDetails$inboundSchema)
|
|
55095
|
+
),
|
|
55096
|
+
licenses: optional3(
|
|
55097
|
+
z116.array(z116.lazy(() => UpdatePlanLicenseResponse$inboundSchema))
|
|
53307
55098
|
)
|
|
53308
55099
|
}),
|
|
53309
55100
|
z116.transform((v) => {
|
|
@@ -54458,7 +56249,10 @@ var APIPromise = class {
|
|
|
54458
56249
|
[Symbol.toStringTag] = "APIPromise";
|
|
54459
56250
|
constructor(p) {
|
|
54460
56251
|
this.#promise = p instanceof Promise ? p : Promise.resolve(p);
|
|
54461
|
-
this.#unwrapped = p instanceof Promise ?
|
|
56252
|
+
this.#unwrapped = p instanceof Promise ? null : Promise.resolve(p[0]);
|
|
56253
|
+
}
|
|
56254
|
+
#getUnwrapped() {
|
|
56255
|
+
return this.#unwrapped ??= this.#promise.then(([value]) => value);
|
|
54462
56256
|
}
|
|
54463
56257
|
then(onfulfilled, onrejected) {
|
|
54464
56258
|
return this.#promise.then(
|
|
@@ -54467,10 +56261,10 @@ var APIPromise = class {
|
|
|
54467
56261
|
);
|
|
54468
56262
|
}
|
|
54469
56263
|
catch(onrejected) {
|
|
54470
|
-
return this.#
|
|
56264
|
+
return this.#getUnwrapped().catch(onrejected);
|
|
54471
56265
|
}
|
|
54472
56266
|
finally(onfinally) {
|
|
54473
|
-
return this.#
|
|
56267
|
+
return this.#getUnwrapped().finally(onfinally);
|
|
54474
56268
|
}
|
|
54475
56269
|
$inspect() {
|
|
54476
56270
|
return this.#promise;
|