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