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