autumn-js 1.3.37 → 1.3.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/backend/adapters/express.js +2206 -412
- package/dist/backend/adapters/express.mjs +4 -4
- package/dist/backend/adapters/fetch.js +2206 -412
- package/dist/backend/adapters/fetch.mjs +4 -4
- package/dist/backend/adapters/hono.js +2206 -412
- package/dist/backend/adapters/hono.mjs +4 -4
- package/dist/backend/adapters/index.js +2206 -412
- package/dist/backend/adapters/index.mjs +7 -7
- package/dist/backend/adapters/next.js +2206 -412
- package/dist/backend/adapters/next.mjs +4 -4
- package/dist/backend/{chunk-FFYCTJNC.mjs → chunk-CHQNLV4Z.mjs} +1 -1
- package/dist/backend/{chunk-R3K32CGC.mjs → chunk-CXORULL5.mjs} +1 -1
- package/dist/backend/{chunk-U3ZGNGOC.mjs → chunk-FRZKPG6L.mjs} +1 -1
- package/dist/backend/{chunk-WEQOYACF.mjs → chunk-I45H2FVH.mjs} +1 -1
- package/dist/backend/{chunk-FHTBT3PQ.mjs → chunk-KQUDJM2H.mjs} +2206 -412
- package/dist/backend/{chunk-UMFFNC2A.mjs → chunk-N2ODBOKM.mjs} +1 -1
- package/dist/backend/{chunk-5O52SB6D.mjs → chunk-Y752GSEA.mjs} +1 -1
- package/dist/backend/core/handlers/coreHandler.d.mts +1 -1
- package/dist/backend/core/handlers/coreHandler.d.ts +1 -1
- package/dist/backend/core/handlers/coreHandler.js +2206 -412
- package/dist/backend/core/handlers/coreHandler.mjs +2 -2
- package/dist/backend/core/handlers/executeRoute.d.mts +1 -1
- package/dist/backend/core/handlers/executeRoute.d.ts +1 -1
- package/dist/backend/core/handlers/handleRouteByName.js +2206 -412
- package/dist/backend/core/handlers/handleRouteByName.mjs +2 -2
- package/dist/backend/core/handlers/index.d.mts +1 -1
- package/dist/backend/core/handlers/index.d.ts +1 -1
- package/dist/backend/core/handlers/index.js +2206 -412
- package/dist/backend/core/handlers/index.mjs +3 -3
- package/dist/backend/core/index.d.mts +1 -1
- package/dist/backend/core/index.d.ts +1 -1
- package/dist/backend/core/index.js +2206 -412
- package/dist/backend/core/index.mjs +3 -3
- package/dist/backend/core/routes/index.d.mts +1 -1
- package/dist/backend/core/routes/index.d.ts +1 -1
- package/dist/backend/core/routes/routeBuilder.d.mts +1 -1
- package/dist/backend/core/routes/routeBuilder.d.ts +1 -1
- package/dist/backend/core/routes/routeConfigs.d.mts +1 -1
- package/dist/backend/core/routes/routeConfigs.d.ts +1 -1
- package/dist/backend/core/types/handlerTypes.d.mts +1 -1
- package/dist/backend/core/types/handlerTypes.d.ts +1 -1
- package/dist/backend/core/types/index.d.mts +1 -1
- package/dist/backend/core/types/index.d.ts +1 -1
- package/dist/backend/core/types/routeTypes.d.mts +1 -1
- package/dist/backend/core/types/routeTypes.d.ts +1 -1
- package/dist/backend/index.d.mts +2 -2
- package/dist/backend/index.d.ts +2 -2
- package/dist/backend/index.js +2206 -412
- package/dist/backend/index.mjs +3 -3
- package/dist/backend/{routeTypes-DCQKUwXj.d.mts → routeTypes-C90LbFI_.d.mts} +8312 -6386
- package/dist/backend/{routeTypes-DZCHHDxf.d.ts → routeTypes-Dr-THiSK.d.ts} +8312 -6386
- package/dist/better-auth/{chunk-45DYRSXB.mjs → chunk-55SS3VYE.mjs} +2206 -412
- package/dist/better-auth/index.js +2206 -412
- package/dist/better-auth/index.mjs +1 -1
- package/dist/better-auth/utils/handleBetterAuthRoute.js +2206 -412
- package/dist/better-auth/utils/handleBetterAuthRoute.mjs +1 -1
- package/dist/better-auth/utils/index.js +2206 -412
- package/dist/better-auth/utils/index.mjs +1 -1
- package/dist/sdk/index.d.mts +3376 -958
- package/dist/sdk/index.d.ts +3376 -958
- package/dist/sdk/index.js +28090 -25067
- package/dist/sdk/index.mjs +27473 -24768
- package/package.json +2 -2
|
@@ -12490,7 +12490,7 @@ var CreatePlanDimensionsToItemRequestBodyEnum1 = {
|
|
|
12490
12490
|
var CreatePlanToItemRequestBodyEnum = {
|
|
12491
12491
|
Inf: "inf"
|
|
12492
12492
|
};
|
|
12493
|
-
var
|
|
12493
|
+
var CreatePlanPriceLicenseIntervalRequestBody = {
|
|
12494
12494
|
OneOff: "one_off",
|
|
12495
12495
|
Week: "week",
|
|
12496
12496
|
Month: "month",
|
|
@@ -12498,7 +12498,7 @@ var CreatePlanPriceLicenseInterval = {
|
|
|
12498
12498
|
SemiAnnual: "semi_annual",
|
|
12499
12499
|
Year: "year"
|
|
12500
12500
|
};
|
|
12501
|
-
var
|
|
12501
|
+
var CreatePlanLicenseResetIntervalRequestBody = {
|
|
12502
12502
|
OneOff: "one_off",
|
|
12503
12503
|
Minute: "minute",
|
|
12504
12504
|
Hour: "hour",
|
|
@@ -12509,11 +12509,11 @@ var CreatePlanLicenseResetInterval = {
|
|
|
12509
12509
|
SemiAnnual: "semi_annual",
|
|
12510
12510
|
Year: "year"
|
|
12511
12511
|
};
|
|
12512
|
-
var
|
|
12512
|
+
var CreatePlanLicenseTierBehaviorRequestBody = {
|
|
12513
12513
|
Graduated: "graduated",
|
|
12514
12514
|
Volume: "volume"
|
|
12515
12515
|
};
|
|
12516
|
-
var
|
|
12516
|
+
var CreatePlanAddItemPriceIntervalRequestBody = {
|
|
12517
12517
|
OneOff: "one_off",
|
|
12518
12518
|
Week: "week",
|
|
12519
12519
|
Month: "month",
|
|
@@ -12521,47 +12521,47 @@ var CreatePlanLicenseAddItemPriceInterval = {
|
|
|
12521
12521
|
SemiAnnual: "semi_annual",
|
|
12522
12522
|
Year: "year"
|
|
12523
12523
|
};
|
|
12524
|
-
var
|
|
12524
|
+
var CreatePlanAddItemBillingMethodRequestBody = {
|
|
12525
12525
|
Prepaid: "prepaid",
|
|
12526
12526
|
UsageBased: "usage_based"
|
|
12527
12527
|
};
|
|
12528
|
-
var
|
|
12528
|
+
var CreatePlanLicenseOnIncreaseRequestBody = {
|
|
12529
12529
|
BillImmediately: "bill_immediately",
|
|
12530
12530
|
ProrateImmediately: "prorate_immediately",
|
|
12531
12531
|
ProrateNextCycle: "prorate_next_cycle",
|
|
12532
12532
|
BillNextCycle: "bill_next_cycle"
|
|
12533
12533
|
};
|
|
12534
|
-
var
|
|
12534
|
+
var CreatePlanLicenseOnDecreaseRequestBody = {
|
|
12535
12535
|
Prorate: "prorate",
|
|
12536
12536
|
ProrateImmediately: "prorate_immediately",
|
|
12537
12537
|
ProrateNextCycle: "prorate_next_cycle",
|
|
12538
12538
|
None: "none",
|
|
12539
12539
|
NoProrations: "no_prorations"
|
|
12540
12540
|
};
|
|
12541
|
-
var
|
|
12541
|
+
var CreatePlanLicenseExpiryDurationTypeRequestBody = {
|
|
12542
12542
|
Month: "month",
|
|
12543
12543
|
Forever: "forever"
|
|
12544
12544
|
};
|
|
12545
|
-
var
|
|
12545
|
+
var CreatePlanLicenseDurationRequestBody = {
|
|
12546
12546
|
Day: "day",
|
|
12547
12547
|
Week: "week",
|
|
12548
12548
|
Month: "month",
|
|
12549
12549
|
Year: "year"
|
|
12550
12550
|
};
|
|
12551
|
-
var
|
|
12551
|
+
var CreatePlanDimensionsToLicenseRequestBodyEnum2 = {
|
|
12552
12552
|
Inf: "inf"
|
|
12553
12553
|
};
|
|
12554
|
-
var
|
|
12554
|
+
var CreatePlanDimensionsToLicenseRequestBodyEnum1 = {
|
|
12555
12555
|
Inf: "inf"
|
|
12556
12556
|
};
|
|
12557
|
-
var
|
|
12557
|
+
var CreatePlanToLicenseRequestBodyEnum = {
|
|
12558
12558
|
Inf: "inf"
|
|
12559
12559
|
};
|
|
12560
|
-
var
|
|
12560
|
+
var CreatePlanRemoveItemBillingMethodRequestBody = {
|
|
12561
12561
|
Prepaid: "prepaid",
|
|
12562
12562
|
UsageBased: "usage_based"
|
|
12563
12563
|
};
|
|
12564
|
-
var
|
|
12564
|
+
var CreatePlanIntervalRemoveItemRequestBodyEnum2 = {
|
|
12565
12565
|
OneOff: "one_off",
|
|
12566
12566
|
Minute: "minute",
|
|
12567
12567
|
Hour: "hour",
|
|
@@ -12572,7 +12572,7 @@ var CreatePlanIntervalLicenseRemoveItemEnum2 = {
|
|
|
12572
12572
|
SemiAnnual: "semi_annual",
|
|
12573
12573
|
Year: "year"
|
|
12574
12574
|
};
|
|
12575
|
-
var
|
|
12575
|
+
var CreatePlanIntervalRemoveItemRequestBodyEnum1 = {
|
|
12576
12576
|
OneOff: "one_off",
|
|
12577
12577
|
Week: "week",
|
|
12578
12578
|
Month: "month",
|
|
@@ -13095,19 +13095,21 @@ var CreatePlanItemPlanItem$outboundSchema = z27.pipe(
|
|
|
13095
13095
|
});
|
|
13096
13096
|
})
|
|
13097
13097
|
);
|
|
13098
|
-
var
|
|
13099
|
-
|
|
13098
|
+
var CreatePlanPriceLicenseIntervalRequestBody$outboundSchema = z27.enum(
|
|
13099
|
+
CreatePlanPriceLicenseIntervalRequestBody
|
|
13100
|
+
);
|
|
13101
|
+
var CreatePlanLicenseAdditionalCurrencyRequestBody$outboundSchema = z27.object({
|
|
13100
13102
|
currency: z27.string(),
|
|
13101
13103
|
amount: z27.number()
|
|
13102
13104
|
});
|
|
13103
|
-
var
|
|
13105
|
+
var CreatePlanBasePriceRequestBody$outboundSchema = z27.pipe(
|
|
13104
13106
|
z27.object({
|
|
13105
13107
|
amount: z27.number(),
|
|
13106
|
-
interval:
|
|
13108
|
+
interval: CreatePlanPriceLicenseIntervalRequestBody$outboundSchema,
|
|
13107
13109
|
intervalCount: z27._default(z27.number(), 1),
|
|
13108
|
-
additionalCurrencies: z27.optional(
|
|
13109
|
-
|
|
13110
|
-
)
|
|
13110
|
+
additionalCurrencies: z27.optional(z27.array(z27.lazy(
|
|
13111
|
+
() => CreatePlanLicenseAdditionalCurrencyRequestBody$outboundSchema
|
|
13112
|
+
)))
|
|
13111
13113
|
}),
|
|
13112
13114
|
z27.transform((v) => {
|
|
13113
13115
|
return remap(v, {
|
|
@@ -13116,13 +13118,15 @@ var CreatePlanLicenseBasePrice$outboundSchema = z27.pipe(
|
|
|
13116
13118
|
});
|
|
13117
13119
|
})
|
|
13118
13120
|
);
|
|
13119
|
-
var
|
|
13121
|
+
var CreatePlanLicenseThresholdBillingRequestBody$outboundSchema = z27.object({
|
|
13120
13122
|
threshold: z27.number()
|
|
13121
13123
|
});
|
|
13122
|
-
var
|
|
13123
|
-
|
|
13124
|
+
var CreatePlanLicenseResetIntervalRequestBody$outboundSchema = z27.enum(
|
|
13125
|
+
CreatePlanLicenseResetIntervalRequestBody
|
|
13126
|
+
);
|
|
13127
|
+
var CreatePlanLicenseResetRequestBody$outboundSchema = z27.pipe(
|
|
13124
13128
|
z27.object({
|
|
13125
|
-
interval:
|
|
13129
|
+
interval: CreatePlanLicenseResetIntervalRequestBody$outboundSchema,
|
|
13126
13130
|
intervalCount: z27._default(z27.number(), 1)
|
|
13127
13131
|
}),
|
|
13128
13132
|
z27.transform((v) => {
|
|
@@ -13131,12 +13135,12 @@ var CreatePlanLicenseReset$outboundSchema = z27.pipe(
|
|
|
13131
13135
|
});
|
|
13132
13136
|
})
|
|
13133
13137
|
);
|
|
13134
|
-
var
|
|
13138
|
+
var CreatePlanAddItemAdditionalCurrencyRequestBody$outboundSchema = z27.object({
|
|
13135
13139
|
currency: z27.string(),
|
|
13136
13140
|
amount: z27.number()
|
|
13137
13141
|
});
|
|
13138
|
-
var
|
|
13139
|
-
var
|
|
13142
|
+
var CreatePlanLicensePriceToRequestBody$outboundSchema = smartUnion([z27.number(), z27.string()]);
|
|
13143
|
+
var CreatePlanLicenseTierAdditionalCurrencyRequestBody$outboundSchema = z27.pipe(
|
|
13140
13144
|
z27.object({
|
|
13141
13145
|
currency: z27.string(),
|
|
13142
13146
|
amount: z27.optional(z27.number()),
|
|
@@ -13148,13 +13152,13 @@ var CreatePlanLicenseTierAdditionalCurrency$outboundSchema = z27.pipe(
|
|
|
13148
13152
|
});
|
|
13149
13153
|
})
|
|
13150
13154
|
);
|
|
13151
|
-
var
|
|
13155
|
+
var CreatePlanLicensePriceTierRequestBody$outboundSchema = z27.pipe(
|
|
13152
13156
|
z27.object({
|
|
13153
13157
|
to: smartUnion([z27.number(), z27.string()]),
|
|
13154
13158
|
amount: z27.optional(z27.number()),
|
|
13155
13159
|
flatAmount: z27.optional(z27.number()),
|
|
13156
13160
|
additionalCurrencies: z27.optional(z27.array(z27.lazy(
|
|
13157
|
-
() =>
|
|
13161
|
+
() => CreatePlanLicenseTierAdditionalCurrencyRequestBody$outboundSchema
|
|
13158
13162
|
)))
|
|
13159
13163
|
}),
|
|
13160
13164
|
z27.transform((v) => {
|
|
@@ -13164,27 +13168,31 @@ var CreatePlanLicensePriceTier$outboundSchema = z27.pipe(
|
|
|
13164
13168
|
});
|
|
13165
13169
|
})
|
|
13166
13170
|
);
|
|
13167
|
-
var
|
|
13168
|
-
|
|
13169
|
-
|
|
13171
|
+
var CreatePlanLicenseTierBehaviorRequestBody$outboundSchema = z27.enum(
|
|
13172
|
+
CreatePlanLicenseTierBehaviorRequestBody
|
|
13173
|
+
);
|
|
13174
|
+
var CreatePlanAddItemPriceIntervalRequestBody$outboundSchema = z27.enum(
|
|
13175
|
+
CreatePlanAddItemPriceIntervalRequestBody
|
|
13170
13176
|
);
|
|
13171
|
-
var
|
|
13172
|
-
|
|
13177
|
+
var CreatePlanAddItemBillingMethodRequestBody$outboundSchema = z27.enum(
|
|
13178
|
+
CreatePlanAddItemBillingMethodRequestBody
|
|
13173
13179
|
);
|
|
13174
|
-
var
|
|
13180
|
+
var CreatePlanLicensePriceRequestBody$outboundSchema = z27.pipe(
|
|
13175
13181
|
z27.object({
|
|
13176
13182
|
amount: z27.optional(z27.number()),
|
|
13177
13183
|
additionalCurrencies: z27.optional(z27.array(z27.lazy(
|
|
13178
|
-
() =>
|
|
13184
|
+
() => CreatePlanAddItemAdditionalCurrencyRequestBody$outboundSchema
|
|
13179
13185
|
))),
|
|
13180
13186
|
tiers: z27.optional(z27.array(z27.lazy(
|
|
13181
|
-
() =>
|
|
13187
|
+
() => CreatePlanLicensePriceTierRequestBody$outboundSchema
|
|
13182
13188
|
))),
|
|
13183
|
-
tierBehavior: z27.optional(
|
|
13184
|
-
|
|
13189
|
+
tierBehavior: z27.optional(
|
|
13190
|
+
CreatePlanLicenseTierBehaviorRequestBody$outboundSchema
|
|
13191
|
+
),
|
|
13192
|
+
interval: CreatePlanAddItemPriceIntervalRequestBody$outboundSchema,
|
|
13185
13193
|
intervalCount: z27._default(z27.number(), 1),
|
|
13186
13194
|
billingUnits: z27._default(z27.number(), 1),
|
|
13187
|
-
billingMethod:
|
|
13195
|
+
billingMethod: CreatePlanAddItemBillingMethodRequestBody$outboundSchema,
|
|
13188
13196
|
maxPurchase: z27.optional(z27.nullable(z27.number()))
|
|
13189
13197
|
}),
|
|
13190
13198
|
z27.transform((v) => {
|
|
@@ -13198,12 +13206,16 @@ var CreatePlanLicensePrice$outboundSchema = z27.pipe(
|
|
|
13198
13206
|
});
|
|
13199
13207
|
})
|
|
13200
13208
|
);
|
|
13201
|
-
var
|
|
13202
|
-
|
|
13203
|
-
|
|
13209
|
+
var CreatePlanLicenseOnIncreaseRequestBody$outboundSchema = z27.enum(
|
|
13210
|
+
CreatePlanLicenseOnIncreaseRequestBody
|
|
13211
|
+
);
|
|
13212
|
+
var CreatePlanLicenseOnDecreaseRequestBody$outboundSchema = z27.enum(
|
|
13213
|
+
CreatePlanLicenseOnDecreaseRequestBody
|
|
13214
|
+
);
|
|
13215
|
+
var CreatePlanLicenseProrationRequestBody$outboundSchema = z27.pipe(
|
|
13204
13216
|
z27.object({
|
|
13205
|
-
onIncrease:
|
|
13206
|
-
onDecrease:
|
|
13217
|
+
onIncrease: CreatePlanLicenseOnIncreaseRequestBody$outboundSchema,
|
|
13218
|
+
onDecrease: CreatePlanLicenseOnDecreaseRequestBody$outboundSchema
|
|
13207
13219
|
}),
|
|
13208
13220
|
z27.transform((v) => {
|
|
13209
13221
|
return remap(v, {
|
|
@@ -13212,12 +13224,14 @@ var CreatePlanLicenseProration$outboundSchema = z27.pipe(
|
|
|
13212
13224
|
});
|
|
13213
13225
|
})
|
|
13214
13226
|
);
|
|
13215
|
-
var
|
|
13216
|
-
|
|
13227
|
+
var CreatePlanLicenseExpiryDurationTypeRequestBody$outboundSchema = z27.enum(
|
|
13228
|
+
CreatePlanLicenseExpiryDurationTypeRequestBody
|
|
13229
|
+
);
|
|
13230
|
+
var CreatePlanLicenseRolloverRequestBody$outboundSchema = z27.pipe(
|
|
13217
13231
|
z27.object({
|
|
13218
13232
|
max: z27.optional(z27.number()),
|
|
13219
13233
|
maxPercentage: z27.optional(z27.number()),
|
|
13220
|
-
expiryDurationType:
|
|
13234
|
+
expiryDurationType: CreatePlanLicenseExpiryDurationTypeRequestBody$outboundSchema,
|
|
13221
13235
|
expiryDurationLength: z27.optional(z27.number())
|
|
13222
13236
|
}),
|
|
13223
13237
|
z27.transform((v) => {
|
|
@@ -13228,13 +13242,13 @@ var CreatePlanLicenseRollover$outboundSchema = z27.pipe(
|
|
|
13228
13242
|
});
|
|
13229
13243
|
})
|
|
13230
13244
|
);
|
|
13231
|
-
var
|
|
13232
|
-
var
|
|
13233
|
-
duration:
|
|
13245
|
+
var CreatePlanLicenseDurationRequestBody$outboundSchema = z27.enum(CreatePlanLicenseDurationRequestBody);
|
|
13246
|
+
var CreatePlanLicenseExpiryRequestBody$outboundSchema = z27.object({
|
|
13247
|
+
duration: CreatePlanLicenseDurationRequestBody$outboundSchema,
|
|
13234
13248
|
length: z27.number()
|
|
13235
13249
|
});
|
|
13236
13250
|
var CreatePlanDimensionsLicenseMatch4$outboundSchema = smartUnion([z27.string(), z27.number(), z27.boolean()]);
|
|
13237
|
-
var
|
|
13251
|
+
var CreatePlanDimensionsLicenseRequestBody4$outboundSchema = z27.pipe(
|
|
13238
13252
|
z27.object({
|
|
13239
13253
|
match: z27.record(
|
|
13240
13254
|
z27.string(),
|
|
@@ -13250,13 +13264,18 @@ var CreatePlanDimensionsLicense4$outboundSchema = z27.pipe(
|
|
|
13250
13264
|
})
|
|
13251
13265
|
);
|
|
13252
13266
|
var CreatePlanDimensionsLicenseMatch3$outboundSchema = smartUnion([z27.string(), z27.number(), z27.boolean()]);
|
|
13253
|
-
var
|
|
13254
|
-
|
|
13255
|
-
|
|
13267
|
+
var CreatePlanDimensionsToLicenseRequestBodyEnum2$outboundSchema = z27.enum(
|
|
13268
|
+
CreatePlanDimensionsToLicenseRequestBodyEnum2
|
|
13269
|
+
);
|
|
13270
|
+
var CreatePlanDimensionsLicenseToRequestBodyUnion2$outboundSchema = smartUnion([
|
|
13271
|
+
z27.number(),
|
|
13272
|
+
CreatePlanDimensionsToLicenseRequestBodyEnum2$outboundSchema
|
|
13273
|
+
]);
|
|
13274
|
+
var CreatePlanDimensionsLicenseTierRequestBody2$outboundSchema = z27.pipe(
|
|
13256
13275
|
z27.object({
|
|
13257
13276
|
to: smartUnion([
|
|
13258
13277
|
z27.number(),
|
|
13259
|
-
|
|
13278
|
+
CreatePlanDimensionsToLicenseRequestBodyEnum2$outboundSchema
|
|
13260
13279
|
]),
|
|
13261
13280
|
creditCost: z27.number()
|
|
13262
13281
|
}),
|
|
@@ -13266,7 +13285,7 @@ var CreatePlanDimensionsLicenseTier2$outboundSchema = z27.pipe(
|
|
|
13266
13285
|
});
|
|
13267
13286
|
})
|
|
13268
13287
|
);
|
|
13269
|
-
var
|
|
13288
|
+
var CreatePlanDimensionsLicenseRequestBody3$outboundSchema = z27.pipe(
|
|
13270
13289
|
z27.object({
|
|
13271
13290
|
match: z27.record(
|
|
13272
13291
|
z27.string(),
|
|
@@ -13275,7 +13294,9 @@ var CreatePlanDimensionsLicense3$outboundSchema = z27.pipe(
|
|
|
13275
13294
|
priority: z27.optional(z27.int()),
|
|
13276
13295
|
tierBehavior: z27.literal("graduated"),
|
|
13277
13296
|
tiers: z27.array(
|
|
13278
|
-
z27.lazy(
|
|
13297
|
+
z27.lazy(
|
|
13298
|
+
() => CreatePlanDimensionsLicenseTierRequestBody2$outboundSchema
|
|
13299
|
+
)
|
|
13279
13300
|
)
|
|
13280
13301
|
}),
|
|
13281
13302
|
z27.transform((v) => {
|
|
@@ -13284,12 +13305,12 @@ var CreatePlanDimensionsLicense3$outboundSchema = z27.pipe(
|
|
|
13284
13305
|
});
|
|
13285
13306
|
})
|
|
13286
13307
|
);
|
|
13287
|
-
var
|
|
13288
|
-
z27.lazy(() =>
|
|
13289
|
-
z27.lazy(() =>
|
|
13308
|
+
var CreatePlanLicenseDimensionsRequestBodyUnion2$outboundSchema = smartUnion([
|
|
13309
|
+
z27.lazy(() => CreatePlanDimensionsLicenseRequestBody3$outboundSchema),
|
|
13310
|
+
z27.lazy(() => CreatePlanDimensionsLicenseRequestBody4$outboundSchema)
|
|
13290
13311
|
]);
|
|
13291
13312
|
var CreatePlanLicenseMultipliersMatch2$outboundSchema = smartUnion([z27.string(), z27.number(), z27.boolean()]);
|
|
13292
|
-
var
|
|
13313
|
+
var CreatePlanLicenseMultipliersRequestBody2$outboundSchema = z27.object({
|
|
13293
13314
|
match: z27.record(
|
|
13294
13315
|
z27.string(),
|
|
13295
13316
|
smartUnion([z27.string(), z27.number(), z27.boolean()])
|
|
@@ -13297,20 +13318,20 @@ var CreatePlanLicenseMultipliers2$outboundSchema = z27.object({
|
|
|
13297
13318
|
factor: z27.optional(z27.number()),
|
|
13298
13319
|
add: z27.optional(z27.number())
|
|
13299
13320
|
});
|
|
13300
|
-
var
|
|
13321
|
+
var CreatePlanCreditSchemaLicenseRequestBody2$outboundSchema = z27.pipe(
|
|
13301
13322
|
z27.object({
|
|
13302
13323
|
meteredFeatureId: z27.string(),
|
|
13303
13324
|
billingUnits: z27.optional(z27.number()),
|
|
13304
13325
|
dimensions: z27.optional(z27.record(
|
|
13305
13326
|
z27.string(),
|
|
13306
13327
|
smartUnion([
|
|
13307
|
-
z27.lazy(() =>
|
|
13308
|
-
z27.lazy(() =>
|
|
13328
|
+
z27.lazy(() => CreatePlanDimensionsLicenseRequestBody3$outboundSchema),
|
|
13329
|
+
z27.lazy(() => CreatePlanDimensionsLicenseRequestBody4$outboundSchema)
|
|
13309
13330
|
])
|
|
13310
13331
|
)),
|
|
13311
13332
|
multipliers: z27.optional(z27.record(
|
|
13312
13333
|
z27.string(),
|
|
13313
|
-
z27.lazy(() =>
|
|
13334
|
+
z27.lazy(() => CreatePlanLicenseMultipliersRequestBody2$outboundSchema)
|
|
13314
13335
|
)),
|
|
13315
13336
|
creditCost: z27.number()
|
|
13316
13337
|
}),
|
|
@@ -13323,7 +13344,7 @@ var CreatePlanCreditSchemaLicense2$outboundSchema = z27.pipe(
|
|
|
13323
13344
|
})
|
|
13324
13345
|
);
|
|
13325
13346
|
var CreatePlanDimensionsLicenseMatch2$outboundSchema = smartUnion([z27.string(), z27.number(), z27.boolean()]);
|
|
13326
|
-
var
|
|
13347
|
+
var CreatePlanDimensionsLicenseRequestBody2$outboundSchema = z27.pipe(
|
|
13327
13348
|
z27.object({
|
|
13328
13349
|
match: z27.record(
|
|
13329
13350
|
z27.string(),
|
|
@@ -13339,13 +13360,18 @@ var CreatePlanDimensionsLicense2$outboundSchema = z27.pipe(
|
|
|
13339
13360
|
})
|
|
13340
13361
|
);
|
|
13341
13362
|
var CreatePlanDimensionsLicenseMatch1$outboundSchema = smartUnion([z27.string(), z27.number(), z27.boolean()]);
|
|
13342
|
-
var
|
|
13343
|
-
|
|
13344
|
-
|
|
13363
|
+
var CreatePlanDimensionsToLicenseRequestBodyEnum1$outboundSchema = z27.enum(
|
|
13364
|
+
CreatePlanDimensionsToLicenseRequestBodyEnum1
|
|
13365
|
+
);
|
|
13366
|
+
var CreatePlanDimensionsLicenseToRequestBodyUnion1$outboundSchema = smartUnion([
|
|
13367
|
+
z27.number(),
|
|
13368
|
+
CreatePlanDimensionsToLicenseRequestBodyEnum1$outboundSchema
|
|
13369
|
+
]);
|
|
13370
|
+
var CreatePlanDimensionsLicenseTierRequestBody1$outboundSchema = z27.pipe(
|
|
13345
13371
|
z27.object({
|
|
13346
13372
|
to: smartUnion([
|
|
13347
13373
|
z27.number(),
|
|
13348
|
-
|
|
13374
|
+
CreatePlanDimensionsToLicenseRequestBodyEnum1$outboundSchema
|
|
13349
13375
|
]),
|
|
13350
13376
|
creditCost: z27.number()
|
|
13351
13377
|
}),
|
|
@@ -13355,7 +13381,7 @@ var CreatePlanDimensionsLicenseTier1$outboundSchema = z27.pipe(
|
|
|
13355
13381
|
});
|
|
13356
13382
|
})
|
|
13357
13383
|
);
|
|
13358
|
-
var
|
|
13384
|
+
var CreatePlanDimensionsLicenseRequestBody1$outboundSchema = z27.pipe(
|
|
13359
13385
|
z27.object({
|
|
13360
13386
|
match: z27.record(
|
|
13361
13387
|
z27.string(),
|
|
@@ -13364,7 +13390,9 @@ var CreatePlanDimensionsLicense1$outboundSchema = z27.pipe(
|
|
|
13364
13390
|
priority: z27.optional(z27.int()),
|
|
13365
13391
|
tierBehavior: z27.literal("graduated"),
|
|
13366
13392
|
tiers: z27.array(
|
|
13367
|
-
z27.lazy(
|
|
13393
|
+
z27.lazy(
|
|
13394
|
+
() => CreatePlanDimensionsLicenseTierRequestBody1$outboundSchema
|
|
13395
|
+
)
|
|
13368
13396
|
)
|
|
13369
13397
|
}),
|
|
13370
13398
|
z27.transform((v) => {
|
|
@@ -13373,12 +13401,12 @@ var CreatePlanDimensionsLicense1$outboundSchema = z27.pipe(
|
|
|
13373
13401
|
});
|
|
13374
13402
|
})
|
|
13375
13403
|
);
|
|
13376
|
-
var
|
|
13377
|
-
z27.lazy(() =>
|
|
13378
|
-
z27.lazy(() =>
|
|
13404
|
+
var CreatePlanLicenseDimensionsRequestBodyUnion1$outboundSchema = smartUnion([
|
|
13405
|
+
z27.lazy(() => CreatePlanDimensionsLicenseRequestBody1$outboundSchema),
|
|
13406
|
+
z27.lazy(() => CreatePlanDimensionsLicenseRequestBody2$outboundSchema)
|
|
13379
13407
|
]);
|
|
13380
13408
|
var CreatePlanLicenseMultipliersMatch1$outboundSchema = smartUnion([z27.string(), z27.number(), z27.boolean()]);
|
|
13381
|
-
var
|
|
13409
|
+
var CreatePlanLicenseMultipliersRequestBody1$outboundSchema = z27.object({
|
|
13382
13410
|
match: z27.record(
|
|
13383
13411
|
z27.string(),
|
|
13384
13412
|
smartUnion([z27.string(), z27.number(), z27.boolean()])
|
|
@@ -13386,11 +13414,17 @@ var CreatePlanLicenseMultipliers1$outboundSchema = z27.object({
|
|
|
13386
13414
|
factor: z27.optional(z27.number()),
|
|
13387
13415
|
add: z27.optional(z27.number())
|
|
13388
13416
|
});
|
|
13389
|
-
var
|
|
13390
|
-
var
|
|
13391
|
-
|
|
13417
|
+
var CreatePlanToLicenseRequestBodyEnum$outboundSchema = z27.enum(CreatePlanToLicenseRequestBodyEnum);
|
|
13418
|
+
var CreatePlanLicenseFeatureOverrideToRequestBodyUnion$outboundSchema = smartUnion([
|
|
13419
|
+
z27.number(),
|
|
13420
|
+
CreatePlanToLicenseRequestBodyEnum$outboundSchema
|
|
13421
|
+
]);
|
|
13422
|
+
var CreatePlanLicenseFeatureOverrideTierRequestBody$outboundSchema = z27.pipe(
|
|
13392
13423
|
z27.object({
|
|
13393
|
-
to: smartUnion([
|
|
13424
|
+
to: smartUnion([
|
|
13425
|
+
z27.number(),
|
|
13426
|
+
CreatePlanToLicenseRequestBodyEnum$outboundSchema
|
|
13427
|
+
]),
|
|
13394
13428
|
creditCost: z27.number()
|
|
13395
13429
|
}),
|
|
13396
13430
|
z27.transform((v) => {
|
|
@@ -13399,24 +13433,24 @@ var CreatePlanLicenseFeatureOverrideTier$outboundSchema = z27.pipe(
|
|
|
13399
13433
|
});
|
|
13400
13434
|
})
|
|
13401
13435
|
);
|
|
13402
|
-
var
|
|
13436
|
+
var CreatePlanCreditSchemaLicenseRequestBody1$outboundSchema = z27.pipe(
|
|
13403
13437
|
z27.object({
|
|
13404
13438
|
meteredFeatureId: z27.string(),
|
|
13405
13439
|
billingUnits: z27.optional(z27.number()),
|
|
13406
13440
|
dimensions: z27.optional(z27.record(
|
|
13407
13441
|
z27.string(),
|
|
13408
13442
|
smartUnion([
|
|
13409
|
-
z27.lazy(() =>
|
|
13410
|
-
z27.lazy(() =>
|
|
13443
|
+
z27.lazy(() => CreatePlanDimensionsLicenseRequestBody1$outboundSchema),
|
|
13444
|
+
z27.lazy(() => CreatePlanDimensionsLicenseRequestBody2$outboundSchema)
|
|
13411
13445
|
])
|
|
13412
13446
|
)),
|
|
13413
13447
|
multipliers: z27.optional(z27.record(
|
|
13414
13448
|
z27.string(),
|
|
13415
|
-
z27.lazy(() =>
|
|
13449
|
+
z27.lazy(() => CreatePlanLicenseMultipliersRequestBody1$outboundSchema)
|
|
13416
13450
|
)),
|
|
13417
13451
|
tierBehavior: z27.literal("graduated"),
|
|
13418
13452
|
tiers: z27.array(z27.lazy(
|
|
13419
|
-
() =>
|
|
13453
|
+
() => CreatePlanLicenseFeatureOverrideTierRequestBody$outboundSchema
|
|
13420
13454
|
))
|
|
13421
13455
|
}),
|
|
13422
13456
|
z27.transform((v) => {
|
|
@@ -13427,14 +13461,14 @@ var CreatePlanCreditSchemaLicense1$outboundSchema = z27.pipe(
|
|
|
13427
13461
|
});
|
|
13428
13462
|
})
|
|
13429
13463
|
);
|
|
13430
|
-
var
|
|
13431
|
-
z27.lazy(() =>
|
|
13432
|
-
z27.lazy(() =>
|
|
13464
|
+
var CreatePlanLicenseCreditSchemaRequestBodyUnion$outboundSchema = smartUnion([
|
|
13465
|
+
z27.lazy(() => CreatePlanCreditSchemaLicenseRequestBody1$outboundSchema),
|
|
13466
|
+
z27.lazy(() => CreatePlanCreditSchemaLicenseRequestBody2$outboundSchema)
|
|
13433
13467
|
]);
|
|
13434
|
-
var
|
|
13468
|
+
var CreatePlanLicenseProviderMarkupsRequestBody$outboundSchema = z27.object({
|
|
13435
13469
|
markup: z27.number()
|
|
13436
13470
|
});
|
|
13437
|
-
var
|
|
13471
|
+
var CreatePlanLicenseModelMarkupsRequestBody$outboundSchema = z27.pipe(
|
|
13438
13472
|
z27.object({
|
|
13439
13473
|
markup: z27.optional(z27.number()),
|
|
13440
13474
|
inputCost: z27.optional(z27.number()),
|
|
@@ -13447,16 +13481,16 @@ var CreatePlanLicenseModelMarkups$outboundSchema = z27.pipe(
|
|
|
13447
13481
|
});
|
|
13448
13482
|
})
|
|
13449
13483
|
);
|
|
13450
|
-
var
|
|
13484
|
+
var CreatePlanLicenseMarkupsRequestBody$outboundSchema = z27.pipe(
|
|
13451
13485
|
z27.object({
|
|
13452
13486
|
defaultMarkup: z27.optional(z27.number()),
|
|
13453
13487
|
providerMarkups: z27.optional(z27.nullable(z27.record(
|
|
13454
13488
|
z27.string(),
|
|
13455
|
-
z27.lazy(() =>
|
|
13489
|
+
z27.lazy(() => CreatePlanLicenseProviderMarkupsRequestBody$outboundSchema)
|
|
13456
13490
|
))),
|
|
13457
13491
|
modelMarkups: z27.optional(z27.nullable(z27.record(
|
|
13458
13492
|
z27.string(),
|
|
13459
|
-
z27.lazy(() =>
|
|
13493
|
+
z27.lazy(() => CreatePlanLicenseModelMarkupsRequestBody$outboundSchema)
|
|
13460
13494
|
)))
|
|
13461
13495
|
}),
|
|
13462
13496
|
z27.transform((v) => {
|
|
@@ -13467,16 +13501,16 @@ var CreatePlanLicenseMarkups$outboundSchema = z27.pipe(
|
|
|
13467
13501
|
});
|
|
13468
13502
|
})
|
|
13469
13503
|
);
|
|
13470
|
-
var
|
|
13504
|
+
var CreatePlanLicenseFeatureOverrideRequestBody$outboundSchema = z27.pipe(
|
|
13471
13505
|
z27.object({
|
|
13472
13506
|
creditSchema: z27.optional(z27.array(smartUnion([
|
|
13473
|
-
z27.lazy(() =>
|
|
13507
|
+
z27.lazy(() => CreatePlanCreditSchemaLicenseRequestBody1$outboundSchema),
|
|
13474
13508
|
z27.lazy(
|
|
13475
|
-
() =>
|
|
13509
|
+
() => CreatePlanCreditSchemaLicenseRequestBody2$outboundSchema
|
|
13476
13510
|
)
|
|
13477
13511
|
]))),
|
|
13478
13512
|
markups: z27.optional(z27.lazy(
|
|
13479
|
-
() =>
|
|
13513
|
+
() => CreatePlanLicenseMarkupsRequestBody$outboundSchema
|
|
13480
13514
|
))
|
|
13481
13515
|
}),
|
|
13482
13516
|
z27.transform((v) => {
|
|
@@ -13485,29 +13519,33 @@ var CreatePlanLicenseFeatureOverride$outboundSchema = z27.pipe(
|
|
|
13485
13519
|
});
|
|
13486
13520
|
})
|
|
13487
13521
|
);
|
|
13488
|
-
var
|
|
13522
|
+
var CreatePlanLicensePlanItemRequestBody$outboundSchema = z27.pipe(
|
|
13489
13523
|
z27.object({
|
|
13490
|
-
thresholdBilling: z27.optional(
|
|
13491
|
-
|
|
13492
|
-
|
|
13493
|
-
)
|
|
13494
|
-
),
|
|
13524
|
+
thresholdBilling: z27.optional(z27.nullable(z27.lazy(
|
|
13525
|
+
() => CreatePlanLicenseThresholdBillingRequestBody$outboundSchema
|
|
13526
|
+
))),
|
|
13495
13527
|
featureId: z27.string(),
|
|
13496
13528
|
included: z27.optional(z27.number()),
|
|
13497
13529
|
unlimited: z27.optional(z27.boolean()),
|
|
13498
13530
|
pooled: z27._default(z27.boolean(), false),
|
|
13499
|
-
reset: z27.optional(z27.lazy(
|
|
13500
|
-
|
|
13501
|
-
|
|
13502
|
-
|
|
13503
|
-
|
|
13504
|
-
|
|
13505
|
-
|
|
13506
|
-
|
|
13507
|
-
|
|
13508
|
-
|
|
13509
|
-
|
|
13510
|
-
)
|
|
13531
|
+
reset: z27.optional(z27.lazy(
|
|
13532
|
+
() => CreatePlanLicenseResetRequestBody$outboundSchema
|
|
13533
|
+
)),
|
|
13534
|
+
price: z27.optional(z27.lazy(
|
|
13535
|
+
() => CreatePlanLicensePriceRequestBody$outboundSchema
|
|
13536
|
+
)),
|
|
13537
|
+
proration: z27.optional(z27.lazy(
|
|
13538
|
+
() => CreatePlanLicenseProrationRequestBody$outboundSchema
|
|
13539
|
+
)),
|
|
13540
|
+
rollover: z27.optional(z27.lazy(
|
|
13541
|
+
() => CreatePlanLicenseRolloverRequestBody$outboundSchema
|
|
13542
|
+
)),
|
|
13543
|
+
expiry: z27.optional(z27.lazy(
|
|
13544
|
+
() => CreatePlanLicenseExpiryRequestBody$outboundSchema
|
|
13545
|
+
)),
|
|
13546
|
+
featureOverride: z27.optional(z27.lazy(
|
|
13547
|
+
() => CreatePlanLicenseFeatureOverrideRequestBody$outboundSchema
|
|
13548
|
+
))
|
|
13511
13549
|
}),
|
|
13512
13550
|
z27.transform((v) => {
|
|
13513
13551
|
return remap(v, {
|
|
@@ -13517,29 +13555,29 @@ var CreatePlanLicensePlanItem$outboundSchema = z27.pipe(
|
|
|
13517
13555
|
});
|
|
13518
13556
|
})
|
|
13519
13557
|
);
|
|
13520
|
-
var
|
|
13521
|
-
|
|
13558
|
+
var CreatePlanRemoveItemBillingMethodRequestBody$outboundSchema = z27.enum(
|
|
13559
|
+
CreatePlanRemoveItemBillingMethodRequestBody
|
|
13522
13560
|
);
|
|
13523
|
-
var
|
|
13524
|
-
|
|
13561
|
+
var CreatePlanIntervalRemoveItemRequestBodyEnum2$outboundSchema = z27.enum(
|
|
13562
|
+
CreatePlanIntervalRemoveItemRequestBodyEnum2
|
|
13525
13563
|
);
|
|
13526
|
-
var
|
|
13527
|
-
|
|
13564
|
+
var CreatePlanIntervalRemoveItemRequestBodyEnum1$outboundSchema = z27.enum(
|
|
13565
|
+
CreatePlanIntervalRemoveItemRequestBodyEnum1
|
|
13528
13566
|
);
|
|
13529
|
-
var
|
|
13530
|
-
|
|
13531
|
-
|
|
13567
|
+
var CreatePlanIntervalRequestBodyUnion$outboundSchema = smartUnion([
|
|
13568
|
+
CreatePlanIntervalRemoveItemRequestBodyEnum1$outboundSchema,
|
|
13569
|
+
CreatePlanIntervalRemoveItemRequestBodyEnum2$outboundSchema
|
|
13532
13570
|
]);
|
|
13533
|
-
var
|
|
13571
|
+
var CreatePlanPlanItemFilterRequestBody$outboundSchema = z27.pipe(
|
|
13534
13572
|
z27.object({
|
|
13535
13573
|
featureId: z27.optional(z27.string()),
|
|
13536
13574
|
billingMethod: z27.optional(
|
|
13537
|
-
|
|
13575
|
+
CreatePlanRemoveItemBillingMethodRequestBody$outboundSchema
|
|
13538
13576
|
),
|
|
13539
13577
|
interval: z27.optional(
|
|
13540
13578
|
smartUnion([
|
|
13541
|
-
|
|
13542
|
-
|
|
13579
|
+
CreatePlanIntervalRemoveItemRequestBodyEnum1$outboundSchema,
|
|
13580
|
+
CreatePlanIntervalRemoveItemRequestBodyEnum2$outboundSchema
|
|
13543
13581
|
])
|
|
13544
13582
|
),
|
|
13545
13583
|
intervalCount: z27.optional(z27.int()),
|
|
@@ -13553,16 +13591,18 @@ var CreatePlanLicensePlanItemFilter$outboundSchema = z27.pipe(
|
|
|
13553
13591
|
});
|
|
13554
13592
|
})
|
|
13555
13593
|
);
|
|
13556
|
-
var
|
|
13594
|
+
var CreatePlanCustomizeRequestBody$outboundSchema = z27.pipe(
|
|
13557
13595
|
z27.object({
|
|
13558
13596
|
price: z27.optional(
|
|
13559
|
-
z27.nullable(z27.lazy(() =>
|
|
13597
|
+
z27.nullable(z27.lazy(() => CreatePlanBasePriceRequestBody$outboundSchema))
|
|
13560
13598
|
),
|
|
13561
13599
|
addItems: z27.optional(
|
|
13562
|
-
z27.array(
|
|
13600
|
+
z27.array(
|
|
13601
|
+
z27.lazy(() => CreatePlanLicensePlanItemRequestBody$outboundSchema)
|
|
13602
|
+
)
|
|
13563
13603
|
),
|
|
13564
13604
|
removeItems: z27.optional(
|
|
13565
|
-
z27.array(z27.lazy(() =>
|
|
13605
|
+
z27.array(z27.lazy(() => CreatePlanPlanItemFilterRequestBody$outboundSchema))
|
|
13566
13606
|
)
|
|
13567
13607
|
}),
|
|
13568
13608
|
z27.transform((v) => {
|
|
@@ -13572,14 +13612,14 @@ var CreatePlanLicenseCustomize$outboundSchema = z27.pipe(
|
|
|
13572
13612
|
});
|
|
13573
13613
|
})
|
|
13574
13614
|
);
|
|
13575
|
-
var
|
|
13615
|
+
var CreatePlanLicenseRequest$outboundSchema = z27.pipe(
|
|
13576
13616
|
z27.object({
|
|
13577
13617
|
licensePlanId: z27.string(),
|
|
13578
13618
|
versionSlug: z27.optional(z27.string()),
|
|
13579
13619
|
included: z27.optional(z27.int()),
|
|
13580
13620
|
prepaidOnly: z27.optional(z27.boolean()),
|
|
13581
13621
|
customize: z27.optional(
|
|
13582
|
-
z27.nullable(z27.lazy(() =>
|
|
13622
|
+
z27.nullable(z27.lazy(() => CreatePlanCustomizeRequestBody$outboundSchema))
|
|
13583
13623
|
),
|
|
13584
13624
|
metadata: z27.optional(z27.record(z27.string(), z27.any()))
|
|
13585
13625
|
}),
|
|
@@ -13785,7 +13825,7 @@ var CreatePlanParams$outboundSchema = z27.pipe(
|
|
|
13785
13825
|
z27.array(z27.lazy(() => CreatePlanItemPlanItem$outboundSchema))
|
|
13786
13826
|
),
|
|
13787
13827
|
licenses: z27.optional(
|
|
13788
|
-
z27.array(z27.lazy(() =>
|
|
13828
|
+
z27.array(z27.lazy(() => CreatePlanLicenseRequest$outboundSchema))
|
|
13789
13829
|
),
|
|
13790
13830
|
freeTrial: z27.optional(z27.lazy(() => FreeTrialRequestBody$outboundSchema)),
|
|
13791
13831
|
config: z27.optional(
|
|
@@ -14056,17 +14096,17 @@ var CreatePlanVariantDetailsAddItemPriceInterval = {
|
|
|
14056
14096
|
SemiAnnual: "semi_annual",
|
|
14057
14097
|
Year: "year"
|
|
14058
14098
|
};
|
|
14059
|
-
var
|
|
14099
|
+
var CreatePlanVariantDetailsAddItemBillingMethod = {
|
|
14060
14100
|
Prepaid: "prepaid",
|
|
14061
14101
|
UsageBased: "usage_based"
|
|
14062
14102
|
};
|
|
14063
|
-
var
|
|
14103
|
+
var CreatePlanVariantDetailsOnIncrease = {
|
|
14064
14104
|
BillImmediately: "bill_immediately",
|
|
14065
14105
|
ProrateImmediately: "prorate_immediately",
|
|
14066
14106
|
ProrateNextCycle: "prorate_next_cycle",
|
|
14067
14107
|
BillNextCycle: "bill_next_cycle"
|
|
14068
14108
|
};
|
|
14069
|
-
var
|
|
14109
|
+
var CreatePlanVariantDetailsOnDecrease = {
|
|
14070
14110
|
Prorate: "prorate",
|
|
14071
14111
|
ProrateImmediately: "prorate_immediately",
|
|
14072
14112
|
ProrateNextCycle: "prorate_next_cycle",
|
|
@@ -14092,7 +14132,7 @@ var CreatePlanDimensionsToVariantDetailsEnum1 = {
|
|
|
14092
14132
|
var CreatePlanToVariantDetailsEnum = {
|
|
14093
14133
|
Inf: "inf"
|
|
14094
14134
|
};
|
|
14095
|
-
var
|
|
14135
|
+
var CreatePlanVariantDetailsRemoveItemBillingMethod = {
|
|
14096
14136
|
Prepaid: "prepaid",
|
|
14097
14137
|
UsageBased: "usage_based"
|
|
14098
14138
|
};
|
|
@@ -14817,7 +14857,7 @@ var CreatePlanVariantDetailsAdditionalCurrency$inboundSchema = z28.object(
|
|
|
14817
14857
|
amount: number2()
|
|
14818
14858
|
}
|
|
14819
14859
|
);
|
|
14820
|
-
var
|
|
14860
|
+
var CreatePlanVariantDetailsBasePrice$inboundSchema = z28.pipe(
|
|
14821
14861
|
z28.object({
|
|
14822
14862
|
amount: number2(),
|
|
14823
14863
|
interval: CreatePlanPriceVariantDetailsInterval$inboundSchema,
|
|
@@ -14848,7 +14888,7 @@ var CreatePlanVariantDetailsReset$inboundSchema = z28.pipe(
|
|
|
14848
14888
|
});
|
|
14849
14889
|
})
|
|
14850
14890
|
);
|
|
14851
|
-
var
|
|
14891
|
+
var CreatePlanVariantDetailsAddItemAdditionalCurrency$inboundSchema = z28.object({
|
|
14852
14892
|
currency: string5(),
|
|
14853
14893
|
amount: number2()
|
|
14854
14894
|
});
|
|
@@ -14883,12 +14923,12 @@ var CreatePlanVariantDetailsPriceTier$inboundSchema = z28.pipe(
|
|
|
14883
14923
|
);
|
|
14884
14924
|
var CreatePlanVariantDetailsTierBehavior$inboundSchema = inboundSchema(CreatePlanVariantDetailsTierBehavior);
|
|
14885
14925
|
var CreatePlanVariantDetailsAddItemPriceInterval$inboundSchema = inboundSchema(CreatePlanVariantDetailsAddItemPriceInterval);
|
|
14886
|
-
var
|
|
14926
|
+
var CreatePlanVariantDetailsAddItemBillingMethod$inboundSchema = inboundSchema(CreatePlanVariantDetailsAddItemBillingMethod);
|
|
14887
14927
|
var CreatePlanVariantDetailsPrice$inboundSchema = z28.pipe(
|
|
14888
14928
|
z28.object({
|
|
14889
14929
|
amount: optional3(number2()),
|
|
14890
14930
|
additional_currencies: optional3(z28.array(z28.lazy(
|
|
14891
|
-
() =>
|
|
14931
|
+
() => CreatePlanVariantDetailsAddItemAdditionalCurrency$inboundSchema
|
|
14892
14932
|
))),
|
|
14893
14933
|
tiers: optional3(z28.array(z28.lazy(
|
|
14894
14934
|
() => CreatePlanVariantDetailsPriceTier$inboundSchema
|
|
@@ -14899,7 +14939,7 @@ var CreatePlanVariantDetailsPrice$inboundSchema = z28.pipe(
|
|
|
14899
14939
|
interval: CreatePlanVariantDetailsAddItemPriceInterval$inboundSchema,
|
|
14900
14940
|
interval_count: z28._default(number2(), 1),
|
|
14901
14941
|
billing_units: z28._default(number2(), 1),
|
|
14902
|
-
billing_method:
|
|
14942
|
+
billing_method: CreatePlanVariantDetailsAddItemBillingMethod$inboundSchema,
|
|
14903
14943
|
max_purchase: z28.optional(z28.nullable(number2()))
|
|
14904
14944
|
}),
|
|
14905
14945
|
z28.transform((v) => {
|
|
@@ -14913,12 +14953,12 @@ var CreatePlanVariantDetailsPrice$inboundSchema = z28.pipe(
|
|
|
14913
14953
|
});
|
|
14914
14954
|
})
|
|
14915
14955
|
);
|
|
14916
|
-
var
|
|
14917
|
-
var
|
|
14918
|
-
var
|
|
14956
|
+
var CreatePlanVariantDetailsOnIncrease$inboundSchema = inboundSchema(CreatePlanVariantDetailsOnIncrease);
|
|
14957
|
+
var CreatePlanVariantDetailsOnDecrease$inboundSchema = inboundSchema(CreatePlanVariantDetailsOnDecrease);
|
|
14958
|
+
var CreatePlanVariantDetailsProration$inboundSchema = z28.pipe(
|
|
14919
14959
|
z28.object({
|
|
14920
|
-
on_increase:
|
|
14921
|
-
on_decrease:
|
|
14960
|
+
on_increase: CreatePlanVariantDetailsOnIncrease$inboundSchema,
|
|
14961
|
+
on_decrease: CreatePlanVariantDetailsOnDecrease$inboundSchema
|
|
14922
14962
|
}),
|
|
14923
14963
|
z28.transform((v) => {
|
|
14924
14964
|
return remap(v, {
|
|
@@ -15193,7 +15233,7 @@ var CreatePlanVariantDetailsFeatureOverride$inboundSchema = z28.pipe(
|
|
|
15193
15233
|
});
|
|
15194
15234
|
})
|
|
15195
15235
|
);
|
|
15196
|
-
var
|
|
15236
|
+
var CreatePlanVariantDetailsPlanItem$inboundSchema = z28.pipe(
|
|
15197
15237
|
z28.object({
|
|
15198
15238
|
threshold_billing: z28.optional(z28.nullable(z28.lazy(
|
|
15199
15239
|
() => CreatePlanVariantDetailsThresholdBilling$inboundSchema
|
|
@@ -15209,7 +15249,7 @@ var CreatePlanPlanItemResponse$inboundSchema = z28.pipe(
|
|
|
15209
15249
|
() => CreatePlanVariantDetailsPrice$inboundSchema
|
|
15210
15250
|
)),
|
|
15211
15251
|
proration: optional3(z28.lazy(
|
|
15212
|
-
() =>
|
|
15252
|
+
() => CreatePlanVariantDetailsProration$inboundSchema
|
|
15213
15253
|
)),
|
|
15214
15254
|
rollover: optional3(z28.lazy(
|
|
15215
15255
|
() => CreatePlanVariantDetailsRollover$inboundSchema
|
|
@@ -15229,18 +15269,18 @@ var CreatePlanPlanItemResponse$inboundSchema = z28.pipe(
|
|
|
15229
15269
|
});
|
|
15230
15270
|
})
|
|
15231
15271
|
);
|
|
15232
|
-
var
|
|
15272
|
+
var CreatePlanVariantDetailsRemoveItemBillingMethod$inboundSchema = inboundSchema(CreatePlanVariantDetailsRemoveItemBillingMethod);
|
|
15233
15273
|
var CreatePlanIntervalVariantDetailsRemoveItemEnum2$inboundSchema = inboundSchema(CreatePlanIntervalVariantDetailsRemoveItemEnum2);
|
|
15234
15274
|
var CreatePlanIntervalVariantDetailsRemoveItemEnum1$inboundSchema = inboundSchema(CreatePlanIntervalVariantDetailsRemoveItemEnum1);
|
|
15235
15275
|
var CreatePlanVariantDetailsIntervalUnion$inboundSchema = smartUnion([
|
|
15236
15276
|
CreatePlanIntervalVariantDetailsRemoveItemEnum1$inboundSchema,
|
|
15237
15277
|
CreatePlanIntervalVariantDetailsRemoveItemEnum2$inboundSchema
|
|
15238
15278
|
]);
|
|
15239
|
-
var
|
|
15279
|
+
var CreatePlanVariantDetailsPlanItemFilter$inboundSchema = z28.pipe(
|
|
15240
15280
|
z28.object({
|
|
15241
15281
|
feature_id: optional3(string5()),
|
|
15242
15282
|
billing_method: optional3(
|
|
15243
|
-
|
|
15283
|
+
CreatePlanVariantDetailsRemoveItemBillingMethod$inboundSchema
|
|
15244
15284
|
),
|
|
15245
15285
|
interval: optional3(
|
|
15246
15286
|
smartUnion([
|
|
@@ -15563,6 +15603,96 @@ var CreatePlanIntervalUpsertLicenseRemoveItemEnum1 = {
|
|
|
15563
15603
|
SemiAnnual: "semi_annual",
|
|
15564
15604
|
Year: "year"
|
|
15565
15605
|
};
|
|
15606
|
+
var CreatePlanPriceLicenseIntervalResponse = {
|
|
15607
|
+
OneOff: "one_off",
|
|
15608
|
+
Week: "week",
|
|
15609
|
+
Month: "month",
|
|
15610
|
+
Quarter: "quarter",
|
|
15611
|
+
SemiAnnual: "semi_annual",
|
|
15612
|
+
Year: "year"
|
|
15613
|
+
};
|
|
15614
|
+
var CreatePlanLicenseResetIntervalResponse = {
|
|
15615
|
+
OneOff: "one_off",
|
|
15616
|
+
Minute: "minute",
|
|
15617
|
+
Hour: "hour",
|
|
15618
|
+
Day: "day",
|
|
15619
|
+
Week: "week",
|
|
15620
|
+
Month: "month",
|
|
15621
|
+
Quarter: "quarter",
|
|
15622
|
+
SemiAnnual: "semi_annual",
|
|
15623
|
+
Year: "year"
|
|
15624
|
+
};
|
|
15625
|
+
var CreatePlanLicenseTierBehaviorResponse = {
|
|
15626
|
+
Graduated: "graduated",
|
|
15627
|
+
Volume: "volume"
|
|
15628
|
+
};
|
|
15629
|
+
var CreatePlanLicenseAddItemPriceIntervalResponse = {
|
|
15630
|
+
OneOff: "one_off",
|
|
15631
|
+
Week: "week",
|
|
15632
|
+
Month: "month",
|
|
15633
|
+
Quarter: "quarter",
|
|
15634
|
+
SemiAnnual: "semi_annual",
|
|
15635
|
+
Year: "year"
|
|
15636
|
+
};
|
|
15637
|
+
var CreatePlanLicenseAddItemBillingMethodResponse = {
|
|
15638
|
+
Prepaid: "prepaid",
|
|
15639
|
+
UsageBased: "usage_based"
|
|
15640
|
+
};
|
|
15641
|
+
var CreatePlanLicenseOnIncreaseResponse = {
|
|
15642
|
+
BillImmediately: "bill_immediately",
|
|
15643
|
+
ProrateImmediately: "prorate_immediately",
|
|
15644
|
+
ProrateNextCycle: "prorate_next_cycle",
|
|
15645
|
+
BillNextCycle: "bill_next_cycle"
|
|
15646
|
+
};
|
|
15647
|
+
var CreatePlanLicenseOnDecreaseResponse = {
|
|
15648
|
+
Prorate: "prorate",
|
|
15649
|
+
ProrateImmediately: "prorate_immediately",
|
|
15650
|
+
ProrateNextCycle: "prorate_next_cycle",
|
|
15651
|
+
None: "none",
|
|
15652
|
+
NoProrations: "no_prorations"
|
|
15653
|
+
};
|
|
15654
|
+
var CreatePlanLicenseExpiryDurationTypeResponse = {
|
|
15655
|
+
Month: "month",
|
|
15656
|
+
Forever: "forever"
|
|
15657
|
+
};
|
|
15658
|
+
var CreatePlanLicenseDurationResponse = {
|
|
15659
|
+
Day: "day",
|
|
15660
|
+
Week: "week",
|
|
15661
|
+
Month: "month",
|
|
15662
|
+
Year: "year"
|
|
15663
|
+
};
|
|
15664
|
+
var CreatePlanDimensionsToLicenseResponseEnum2 = {
|
|
15665
|
+
Inf: "inf"
|
|
15666
|
+
};
|
|
15667
|
+
var CreatePlanDimensionsToLicenseResponseEnum1 = {
|
|
15668
|
+
Inf: "inf"
|
|
15669
|
+
};
|
|
15670
|
+
var CreatePlanToLicenseResponseEnum = {
|
|
15671
|
+
Inf: "inf"
|
|
15672
|
+
};
|
|
15673
|
+
var CreatePlanLicenseRemoveItemBillingMethodResponse = {
|
|
15674
|
+
Prepaid: "prepaid",
|
|
15675
|
+
UsageBased: "usage_based"
|
|
15676
|
+
};
|
|
15677
|
+
var CreatePlanIntervalLicenseRemoveItemResponseEnum2 = {
|
|
15678
|
+
OneOff: "one_off",
|
|
15679
|
+
Minute: "minute",
|
|
15680
|
+
Hour: "hour",
|
|
15681
|
+
Day: "day",
|
|
15682
|
+
Week: "week",
|
|
15683
|
+
Month: "month",
|
|
15684
|
+
Quarter: "quarter",
|
|
15685
|
+
SemiAnnual: "semi_annual",
|
|
15686
|
+
Year: "year"
|
|
15687
|
+
};
|
|
15688
|
+
var CreatePlanIntervalLicenseRemoveItemResponseEnum1 = {
|
|
15689
|
+
OneOff: "one_off",
|
|
15690
|
+
Week: "week",
|
|
15691
|
+
Month: "month",
|
|
15692
|
+
Quarter: "quarter",
|
|
15693
|
+
SemiAnnual: "semi_annual",
|
|
15694
|
+
Year: "year"
|
|
15695
|
+
};
|
|
15566
15696
|
var CreatePlanUpsertLicenseProration$inboundSchema = z29.pipe(
|
|
15567
15697
|
z29.object({
|
|
15568
15698
|
on_increase: CreatePlanUpsertLicenseOnIncrease$inboundSchema,
|
|
@@ -15951,14 +16081,16 @@ var CreatePlanRemoveLicense$inboundSchema = z29.pipe(
|
|
|
15951
16081
|
});
|
|
15952
16082
|
})
|
|
15953
16083
|
);
|
|
15954
|
-
var
|
|
16084
|
+
var CreatePlanVariantDetailsCustomize$inboundSchema = z29.pipe(
|
|
15955
16085
|
z29.object({
|
|
15956
|
-
price: z29.optional(
|
|
16086
|
+
price: z29.optional(
|
|
16087
|
+
z29.nullable(CreatePlanVariantDetailsBasePrice$inboundSchema)
|
|
16088
|
+
),
|
|
15957
16089
|
add_items: optional3(
|
|
15958
|
-
z29.array(
|
|
16090
|
+
z29.array(CreatePlanVariantDetailsPlanItem$inboundSchema)
|
|
15959
16091
|
),
|
|
15960
16092
|
remove_items: optional3(
|
|
15961
|
-
z29.array(
|
|
16093
|
+
z29.array(CreatePlanVariantDetailsPlanItemFilter$inboundSchema)
|
|
15962
16094
|
),
|
|
15963
16095
|
free_trial: z29.optional(z29.nullable(CreatePlanFreeTrialParams$inboundSchema)),
|
|
15964
16096
|
billing_controls: optional3(
|
|
@@ -15986,7 +16118,7 @@ var CreatePlanVariantDetails$inboundSchema = z29.pipe(
|
|
|
15986
16118
|
z29.object({
|
|
15987
16119
|
base_plan_id: string5(),
|
|
15988
16120
|
customize: optional3(
|
|
15989
|
-
z29.lazy(() =>
|
|
16121
|
+
z29.lazy(() => CreatePlanVariantDetailsCustomize$inboundSchema)
|
|
15990
16122
|
)
|
|
15991
16123
|
}),
|
|
15992
16124
|
z29.transform((v) => {
|
|
@@ -15995,6 +16127,493 @@ var CreatePlanVariantDetails$inboundSchema = z29.pipe(
|
|
|
15995
16127
|
});
|
|
15996
16128
|
})
|
|
15997
16129
|
);
|
|
16130
|
+
var CreatePlanPriceLicenseIntervalResponse$inboundSchema = inboundSchema(CreatePlanPriceLicenseIntervalResponse);
|
|
16131
|
+
var CreatePlanLicenseAdditionalCurrencyResponse$inboundSchema = z29.object({
|
|
16132
|
+
currency: string5(),
|
|
16133
|
+
amount: number2()
|
|
16134
|
+
});
|
|
16135
|
+
var CreatePlanLicenseBasePriceResponse$inboundSchema = z29.pipe(
|
|
16136
|
+
z29.object({
|
|
16137
|
+
amount: number2(),
|
|
16138
|
+
interval: CreatePlanPriceLicenseIntervalResponse$inboundSchema,
|
|
16139
|
+
interval_count: z29._default(number2(), 1),
|
|
16140
|
+
additional_currencies: optional3(z29.array(z29.lazy(
|
|
16141
|
+
() => CreatePlanLicenseAdditionalCurrencyResponse$inboundSchema
|
|
16142
|
+
)))
|
|
16143
|
+
}),
|
|
16144
|
+
z29.transform((v) => {
|
|
16145
|
+
return remap(v, {
|
|
16146
|
+
"interval_count": "intervalCount",
|
|
16147
|
+
"additional_currencies": "additionalCurrencies"
|
|
16148
|
+
});
|
|
16149
|
+
})
|
|
16150
|
+
);
|
|
16151
|
+
var CreatePlanLicenseThresholdBillingResponse$inboundSchema = z29.object({
|
|
16152
|
+
threshold: number2()
|
|
16153
|
+
});
|
|
16154
|
+
var CreatePlanLicenseResetIntervalResponse$inboundSchema = inboundSchema(CreatePlanLicenseResetIntervalResponse);
|
|
16155
|
+
var CreatePlanLicenseResetResponse$inboundSchema = z29.pipe(
|
|
16156
|
+
z29.object({
|
|
16157
|
+
interval: CreatePlanLicenseResetIntervalResponse$inboundSchema,
|
|
16158
|
+
interval_count: z29._default(number2(), 1)
|
|
16159
|
+
}),
|
|
16160
|
+
z29.transform((v) => {
|
|
16161
|
+
return remap(v, {
|
|
16162
|
+
"interval_count": "intervalCount"
|
|
16163
|
+
});
|
|
16164
|
+
})
|
|
16165
|
+
);
|
|
16166
|
+
var CreatePlanLicenseAddItemAdditionalCurrencyResponse$inboundSchema = z29.object({
|
|
16167
|
+
currency: string5(),
|
|
16168
|
+
amount: number2()
|
|
16169
|
+
});
|
|
16170
|
+
var CreatePlanLicensePriceToResponse$inboundSchema = smartUnion([number2(), string5()]);
|
|
16171
|
+
var CreatePlanLicenseTierAdditionalCurrencyResponse$inboundSchema = z29.pipe(
|
|
16172
|
+
z29.object({
|
|
16173
|
+
currency: string5(),
|
|
16174
|
+
amount: optional3(number2()),
|
|
16175
|
+
flat_amount: optional3(number2())
|
|
16176
|
+
}),
|
|
16177
|
+
z29.transform((v) => {
|
|
16178
|
+
return remap(v, {
|
|
16179
|
+
"flat_amount": "flatAmount"
|
|
16180
|
+
});
|
|
16181
|
+
})
|
|
16182
|
+
);
|
|
16183
|
+
var CreatePlanLicensePriceTierResponse$inboundSchema = z29.pipe(
|
|
16184
|
+
z29.object({
|
|
16185
|
+
to: smartUnion([number2(), string5()]),
|
|
16186
|
+
amount: number2(),
|
|
16187
|
+
flat_amount: optional3(number2()),
|
|
16188
|
+
additional_currencies: optional3(z29.array(z29.lazy(
|
|
16189
|
+
() => CreatePlanLicenseTierAdditionalCurrencyResponse$inboundSchema
|
|
16190
|
+
)))
|
|
16191
|
+
}),
|
|
16192
|
+
z29.transform((v) => {
|
|
16193
|
+
return remap(v, {
|
|
16194
|
+
"flat_amount": "flatAmount",
|
|
16195
|
+
"additional_currencies": "additionalCurrencies"
|
|
16196
|
+
});
|
|
16197
|
+
})
|
|
16198
|
+
);
|
|
16199
|
+
var CreatePlanLicenseTierBehaviorResponse$inboundSchema = inboundSchema(CreatePlanLicenseTierBehaviorResponse);
|
|
16200
|
+
var CreatePlanLicenseAddItemPriceIntervalResponse$inboundSchema = inboundSchema(CreatePlanLicenseAddItemPriceIntervalResponse);
|
|
16201
|
+
var CreatePlanLicenseAddItemBillingMethodResponse$inboundSchema = inboundSchema(CreatePlanLicenseAddItemBillingMethodResponse);
|
|
16202
|
+
var CreatePlanLicensePriceResponse$inboundSchema = z29.pipe(
|
|
16203
|
+
z29.object({
|
|
16204
|
+
amount: optional3(number2()),
|
|
16205
|
+
additional_currencies: optional3(z29.array(z29.lazy(
|
|
16206
|
+
() => CreatePlanLicenseAddItemAdditionalCurrencyResponse$inboundSchema
|
|
16207
|
+
))),
|
|
16208
|
+
tiers: optional3(z29.array(z29.lazy(
|
|
16209
|
+
() => CreatePlanLicensePriceTierResponse$inboundSchema
|
|
16210
|
+
))),
|
|
16211
|
+
tier_behavior: optional3(
|
|
16212
|
+
CreatePlanLicenseTierBehaviorResponse$inboundSchema
|
|
16213
|
+
),
|
|
16214
|
+
interval: CreatePlanLicenseAddItemPriceIntervalResponse$inboundSchema,
|
|
16215
|
+
interval_count: z29._default(number2(), 1),
|
|
16216
|
+
billing_units: z29._default(number2(), 1),
|
|
16217
|
+
billing_method: CreatePlanLicenseAddItemBillingMethodResponse$inboundSchema,
|
|
16218
|
+
max_purchase: z29.optional(z29.nullable(number2()))
|
|
16219
|
+
}),
|
|
16220
|
+
z29.transform((v) => {
|
|
16221
|
+
return remap(v, {
|
|
16222
|
+
"additional_currencies": "additionalCurrencies",
|
|
16223
|
+
"tier_behavior": "tierBehavior",
|
|
16224
|
+
"interval_count": "intervalCount",
|
|
16225
|
+
"billing_units": "billingUnits",
|
|
16226
|
+
"billing_method": "billingMethod",
|
|
16227
|
+
"max_purchase": "maxPurchase"
|
|
16228
|
+
});
|
|
16229
|
+
})
|
|
16230
|
+
);
|
|
16231
|
+
var CreatePlanLicenseOnIncreaseResponse$inboundSchema = inboundSchema(CreatePlanLicenseOnIncreaseResponse);
|
|
16232
|
+
var CreatePlanLicenseOnDecreaseResponse$inboundSchema = inboundSchema(CreatePlanLicenseOnDecreaseResponse);
|
|
16233
|
+
var CreatePlanLicenseProrationResponse$inboundSchema = z29.pipe(
|
|
16234
|
+
z29.object({
|
|
16235
|
+
on_increase: CreatePlanLicenseOnIncreaseResponse$inboundSchema,
|
|
16236
|
+
on_decrease: CreatePlanLicenseOnDecreaseResponse$inboundSchema
|
|
16237
|
+
}),
|
|
16238
|
+
z29.transform((v) => {
|
|
16239
|
+
return remap(v, {
|
|
16240
|
+
"on_increase": "onIncrease",
|
|
16241
|
+
"on_decrease": "onDecrease"
|
|
16242
|
+
});
|
|
16243
|
+
})
|
|
16244
|
+
);
|
|
16245
|
+
var CreatePlanLicenseExpiryDurationTypeResponse$inboundSchema = inboundSchema(CreatePlanLicenseExpiryDurationTypeResponse);
|
|
16246
|
+
var CreatePlanLicenseRolloverResponse$inboundSchema = z29.pipe(
|
|
16247
|
+
z29.object({
|
|
16248
|
+
max: optional3(number2()),
|
|
16249
|
+
max_percentage: optional3(number2()),
|
|
16250
|
+
expiry_duration_type: CreatePlanLicenseExpiryDurationTypeResponse$inboundSchema,
|
|
16251
|
+
expiry_duration_length: optional3(number2())
|
|
16252
|
+
}),
|
|
16253
|
+
z29.transform((v) => {
|
|
16254
|
+
return remap(v, {
|
|
16255
|
+
"max_percentage": "maxPercentage",
|
|
16256
|
+
"expiry_duration_type": "expiryDurationType",
|
|
16257
|
+
"expiry_duration_length": "expiryDurationLength"
|
|
16258
|
+
});
|
|
16259
|
+
})
|
|
16260
|
+
);
|
|
16261
|
+
var CreatePlanLicenseDurationResponse$inboundSchema = inboundSchema(CreatePlanLicenseDurationResponse);
|
|
16262
|
+
var CreatePlanLicenseExpiryResponse$inboundSchema = z29.object({
|
|
16263
|
+
duration: CreatePlanLicenseDurationResponse$inboundSchema,
|
|
16264
|
+
length: number2()
|
|
16265
|
+
});
|
|
16266
|
+
var CreatePlanDimensionsLicenseResponse4$inboundSchema = z29.pipe(
|
|
16267
|
+
z29.object({
|
|
16268
|
+
match: z29.record(z29.string(), string5()),
|
|
16269
|
+
priority: optional3(number2()),
|
|
16270
|
+
credit_cost: number2()
|
|
16271
|
+
}),
|
|
16272
|
+
z29.transform((v) => {
|
|
16273
|
+
return remap(v, {
|
|
16274
|
+
"credit_cost": "creditCost"
|
|
16275
|
+
});
|
|
16276
|
+
})
|
|
16277
|
+
);
|
|
16278
|
+
var CreatePlanDimensionsToLicenseResponseEnum2$inboundSchema = z29.enum(
|
|
16279
|
+
CreatePlanDimensionsToLicenseResponseEnum2
|
|
16280
|
+
);
|
|
16281
|
+
var CreatePlanDimensionsLicenseToResponseUnion2$inboundSchema = smartUnion([
|
|
16282
|
+
number2(),
|
|
16283
|
+
CreatePlanDimensionsToLicenseResponseEnum2$inboundSchema
|
|
16284
|
+
]);
|
|
16285
|
+
var CreatePlanDimensionsLicenseTierResponse2$inboundSchema = z29.pipe(
|
|
16286
|
+
z29.object({
|
|
16287
|
+
to: smartUnion([
|
|
16288
|
+
number2(),
|
|
16289
|
+
CreatePlanDimensionsToLicenseResponseEnum2$inboundSchema
|
|
16290
|
+
]),
|
|
16291
|
+
credit_cost: number2()
|
|
16292
|
+
}),
|
|
16293
|
+
z29.transform((v) => {
|
|
16294
|
+
return remap(v, {
|
|
16295
|
+
"credit_cost": "creditCost"
|
|
16296
|
+
});
|
|
16297
|
+
})
|
|
16298
|
+
);
|
|
16299
|
+
var CreatePlanDimensionsLicenseResponse3$inboundSchema = z29.pipe(
|
|
16300
|
+
z29.object({
|
|
16301
|
+
match: z29.record(z29.string(), string5()),
|
|
16302
|
+
priority: optional3(number2()),
|
|
16303
|
+
tier_behavior: literal3("graduated"),
|
|
16304
|
+
tiers: z29.array(
|
|
16305
|
+
z29.lazy(() => CreatePlanDimensionsLicenseTierResponse2$inboundSchema)
|
|
16306
|
+
)
|
|
16307
|
+
}),
|
|
16308
|
+
z29.transform((v) => {
|
|
16309
|
+
return remap(v, {
|
|
16310
|
+
"tier_behavior": "tierBehavior"
|
|
16311
|
+
});
|
|
16312
|
+
})
|
|
16313
|
+
);
|
|
16314
|
+
var CreatePlanLicenseDimensionsResponseUnion2$inboundSchema = smartUnion([
|
|
16315
|
+
z29.lazy(() => CreatePlanDimensionsLicenseResponse3$inboundSchema),
|
|
16316
|
+
z29.lazy(() => CreatePlanDimensionsLicenseResponse4$inboundSchema)
|
|
16317
|
+
]);
|
|
16318
|
+
var CreatePlanLicenseMultipliersResponse2$inboundSchema = z29.object({
|
|
16319
|
+
match: z29.record(z29.string(), string5()),
|
|
16320
|
+
factor: optional3(number2()),
|
|
16321
|
+
add: optional3(number2())
|
|
16322
|
+
});
|
|
16323
|
+
var CreatePlanCreditSchemaLicenseResponse2$inboundSchema = z29.pipe(
|
|
16324
|
+
z29.object({
|
|
16325
|
+
metered_feature_id: string5(),
|
|
16326
|
+
billing_units: optional3(number2()),
|
|
16327
|
+
dimensions: optional3(z29.record(
|
|
16328
|
+
z29.string(),
|
|
16329
|
+
smartUnion([
|
|
16330
|
+
z29.lazy(() => CreatePlanDimensionsLicenseResponse3$inboundSchema),
|
|
16331
|
+
z29.lazy(() => CreatePlanDimensionsLicenseResponse4$inboundSchema)
|
|
16332
|
+
])
|
|
16333
|
+
)),
|
|
16334
|
+
multipliers: optional3(z29.record(
|
|
16335
|
+
z29.string(),
|
|
16336
|
+
z29.lazy(() => CreatePlanLicenseMultipliersResponse2$inboundSchema)
|
|
16337
|
+
)),
|
|
16338
|
+
credit_cost: number2()
|
|
16339
|
+
}),
|
|
16340
|
+
z29.transform((v) => {
|
|
16341
|
+
return remap(v, {
|
|
16342
|
+
"metered_feature_id": "meteredFeatureId",
|
|
16343
|
+
"billing_units": "billingUnits",
|
|
16344
|
+
"credit_cost": "creditCost"
|
|
16345
|
+
});
|
|
16346
|
+
})
|
|
16347
|
+
);
|
|
16348
|
+
var CreatePlanDimensionsLicenseResponse2$inboundSchema = z29.pipe(
|
|
16349
|
+
z29.object({
|
|
16350
|
+
match: z29.record(z29.string(), string5()),
|
|
16351
|
+
priority: optional3(number2()),
|
|
16352
|
+
credit_cost: number2()
|
|
16353
|
+
}),
|
|
16354
|
+
z29.transform((v) => {
|
|
16355
|
+
return remap(v, {
|
|
16356
|
+
"credit_cost": "creditCost"
|
|
16357
|
+
});
|
|
16358
|
+
})
|
|
16359
|
+
);
|
|
16360
|
+
var CreatePlanDimensionsToLicenseResponseEnum1$inboundSchema = z29.enum(
|
|
16361
|
+
CreatePlanDimensionsToLicenseResponseEnum1
|
|
16362
|
+
);
|
|
16363
|
+
var CreatePlanDimensionsLicenseToResponseUnion1$inboundSchema = smartUnion([
|
|
16364
|
+
number2(),
|
|
16365
|
+
CreatePlanDimensionsToLicenseResponseEnum1$inboundSchema
|
|
16366
|
+
]);
|
|
16367
|
+
var CreatePlanDimensionsLicenseTierResponse1$inboundSchema = z29.pipe(
|
|
16368
|
+
z29.object({
|
|
16369
|
+
to: smartUnion([
|
|
16370
|
+
number2(),
|
|
16371
|
+
CreatePlanDimensionsToLicenseResponseEnum1$inboundSchema
|
|
16372
|
+
]),
|
|
16373
|
+
credit_cost: number2()
|
|
16374
|
+
}),
|
|
16375
|
+
z29.transform((v) => {
|
|
16376
|
+
return remap(v, {
|
|
16377
|
+
"credit_cost": "creditCost"
|
|
16378
|
+
});
|
|
16379
|
+
})
|
|
16380
|
+
);
|
|
16381
|
+
var CreatePlanDimensionsLicenseResponse1$inboundSchema = z29.pipe(
|
|
16382
|
+
z29.object({
|
|
16383
|
+
match: z29.record(z29.string(), string5()),
|
|
16384
|
+
priority: optional3(number2()),
|
|
16385
|
+
tier_behavior: literal3("graduated"),
|
|
16386
|
+
tiers: z29.array(
|
|
16387
|
+
z29.lazy(() => CreatePlanDimensionsLicenseTierResponse1$inboundSchema)
|
|
16388
|
+
)
|
|
16389
|
+
}),
|
|
16390
|
+
z29.transform((v) => {
|
|
16391
|
+
return remap(v, {
|
|
16392
|
+
"tier_behavior": "tierBehavior"
|
|
16393
|
+
});
|
|
16394
|
+
})
|
|
16395
|
+
);
|
|
16396
|
+
var CreatePlanLicenseDimensionsResponseUnion1$inboundSchema = smartUnion([
|
|
16397
|
+
z29.lazy(() => CreatePlanDimensionsLicenseResponse1$inboundSchema),
|
|
16398
|
+
z29.lazy(() => CreatePlanDimensionsLicenseResponse2$inboundSchema)
|
|
16399
|
+
]);
|
|
16400
|
+
var CreatePlanLicenseMultipliersResponse1$inboundSchema = z29.object({
|
|
16401
|
+
match: z29.record(z29.string(), string5()),
|
|
16402
|
+
factor: optional3(number2()),
|
|
16403
|
+
add: optional3(number2())
|
|
16404
|
+
});
|
|
16405
|
+
var CreatePlanToLicenseResponseEnum$inboundSchema = z29.enum(CreatePlanToLicenseResponseEnum);
|
|
16406
|
+
var CreatePlanLicenseFeatureOverrideToResponseUnion$inboundSchema = smartUnion([number2(), CreatePlanToLicenseResponseEnum$inboundSchema]);
|
|
16407
|
+
var CreatePlanLicenseFeatureOverrideTierResponse$inboundSchema = z29.pipe(
|
|
16408
|
+
z29.object({
|
|
16409
|
+
to: smartUnion([
|
|
16410
|
+
number2(),
|
|
16411
|
+
CreatePlanToLicenseResponseEnum$inboundSchema
|
|
16412
|
+
]),
|
|
16413
|
+
credit_cost: number2()
|
|
16414
|
+
}),
|
|
16415
|
+
z29.transform((v) => {
|
|
16416
|
+
return remap(v, {
|
|
16417
|
+
"credit_cost": "creditCost"
|
|
16418
|
+
});
|
|
16419
|
+
})
|
|
16420
|
+
);
|
|
16421
|
+
var CreatePlanCreditSchemaLicenseResponse1$inboundSchema = z29.pipe(
|
|
16422
|
+
z29.object({
|
|
16423
|
+
metered_feature_id: string5(),
|
|
16424
|
+
billing_units: optional3(number2()),
|
|
16425
|
+
dimensions: optional3(z29.record(
|
|
16426
|
+
z29.string(),
|
|
16427
|
+
smartUnion([
|
|
16428
|
+
z29.lazy(() => CreatePlanDimensionsLicenseResponse1$inboundSchema),
|
|
16429
|
+
z29.lazy(() => CreatePlanDimensionsLicenseResponse2$inboundSchema)
|
|
16430
|
+
])
|
|
16431
|
+
)),
|
|
16432
|
+
multipliers: optional3(z29.record(
|
|
16433
|
+
z29.string(),
|
|
16434
|
+
z29.lazy(() => CreatePlanLicenseMultipliersResponse1$inboundSchema)
|
|
16435
|
+
)),
|
|
16436
|
+
tier_behavior: literal3("graduated"),
|
|
16437
|
+
tiers: z29.array(z29.lazy(
|
|
16438
|
+
() => CreatePlanLicenseFeatureOverrideTierResponse$inboundSchema
|
|
16439
|
+
))
|
|
16440
|
+
}),
|
|
16441
|
+
z29.transform((v) => {
|
|
16442
|
+
return remap(v, {
|
|
16443
|
+
"metered_feature_id": "meteredFeatureId",
|
|
16444
|
+
"billing_units": "billingUnits",
|
|
16445
|
+
"tier_behavior": "tierBehavior"
|
|
16446
|
+
});
|
|
16447
|
+
})
|
|
16448
|
+
);
|
|
16449
|
+
var CreatePlanLicenseCreditSchemaResponseUnion$inboundSchema = smartUnion([
|
|
16450
|
+
z29.lazy(() => CreatePlanCreditSchemaLicenseResponse1$inboundSchema),
|
|
16451
|
+
z29.lazy(() => CreatePlanCreditSchemaLicenseResponse2$inboundSchema)
|
|
16452
|
+
]);
|
|
16453
|
+
var CreatePlanLicenseProviderMarkupsResponse$inboundSchema = z29.object({
|
|
16454
|
+
markup: number2()
|
|
16455
|
+
});
|
|
16456
|
+
var CreatePlanLicenseModelMarkupsResponse$inboundSchema = z29.pipe(
|
|
16457
|
+
z29.object({
|
|
16458
|
+
markup: optional3(number2()),
|
|
16459
|
+
input_cost: optional3(number2()),
|
|
16460
|
+
output_cost: optional3(number2())
|
|
16461
|
+
}),
|
|
16462
|
+
z29.transform((v) => {
|
|
16463
|
+
return remap(v, {
|
|
16464
|
+
"input_cost": "inputCost",
|
|
16465
|
+
"output_cost": "outputCost"
|
|
16466
|
+
});
|
|
16467
|
+
})
|
|
16468
|
+
);
|
|
16469
|
+
var CreatePlanLicenseMarkupsResponse$inboundSchema = z29.pipe(
|
|
16470
|
+
z29.object({
|
|
16471
|
+
default_markup: optional3(number2()),
|
|
16472
|
+
provider_markups: z29.optional(z29.nullable(z29.record(
|
|
16473
|
+
z29.string(),
|
|
16474
|
+
z29.lazy(() => CreatePlanLicenseProviderMarkupsResponse$inboundSchema)
|
|
16475
|
+
))),
|
|
16476
|
+
model_markups: z29.optional(z29.nullable(z29.record(
|
|
16477
|
+
z29.string(),
|
|
16478
|
+
z29.lazy(() => CreatePlanLicenseModelMarkupsResponse$inboundSchema)
|
|
16479
|
+
)))
|
|
16480
|
+
}),
|
|
16481
|
+
z29.transform((v) => {
|
|
16482
|
+
return remap(v, {
|
|
16483
|
+
"default_markup": "defaultMarkup",
|
|
16484
|
+
"provider_markups": "providerMarkups",
|
|
16485
|
+
"model_markups": "modelMarkups"
|
|
16486
|
+
});
|
|
16487
|
+
})
|
|
16488
|
+
);
|
|
16489
|
+
var CreatePlanLicenseFeatureOverrideResponse$inboundSchema = z29.pipe(
|
|
16490
|
+
z29.object({
|
|
16491
|
+
credit_schema: optional3(z29.array(smartUnion([
|
|
16492
|
+
z29.lazy(() => CreatePlanCreditSchemaLicenseResponse1$inboundSchema),
|
|
16493
|
+
z29.lazy(
|
|
16494
|
+
() => CreatePlanCreditSchemaLicenseResponse2$inboundSchema
|
|
16495
|
+
)
|
|
16496
|
+
]))),
|
|
16497
|
+
markups: optional3(z29.lazy(
|
|
16498
|
+
() => CreatePlanLicenseMarkupsResponse$inboundSchema
|
|
16499
|
+
))
|
|
16500
|
+
}),
|
|
16501
|
+
z29.transform((v) => {
|
|
16502
|
+
return remap(v, {
|
|
16503
|
+
"credit_schema": "creditSchema"
|
|
16504
|
+
});
|
|
16505
|
+
})
|
|
16506
|
+
);
|
|
16507
|
+
var CreatePlanLicensePlanItemResponse$inboundSchema = z29.pipe(
|
|
16508
|
+
z29.object({
|
|
16509
|
+
threshold_billing: z29.optional(z29.nullable(z29.lazy(
|
|
16510
|
+
() => CreatePlanLicenseThresholdBillingResponse$inboundSchema
|
|
16511
|
+
))),
|
|
16512
|
+
feature_id: string5(),
|
|
16513
|
+
included: optional3(number2()),
|
|
16514
|
+
unlimited: optional3(boolean2()),
|
|
16515
|
+
pooled: z29._default(boolean2(), false),
|
|
16516
|
+
reset: optional3(z29.lazy(
|
|
16517
|
+
() => CreatePlanLicenseResetResponse$inboundSchema
|
|
16518
|
+
)),
|
|
16519
|
+
price: optional3(z29.lazy(
|
|
16520
|
+
() => CreatePlanLicensePriceResponse$inboundSchema
|
|
16521
|
+
)),
|
|
16522
|
+
proration: optional3(z29.lazy(
|
|
16523
|
+
() => CreatePlanLicenseProrationResponse$inboundSchema
|
|
16524
|
+
)),
|
|
16525
|
+
rollover: optional3(z29.lazy(
|
|
16526
|
+
() => CreatePlanLicenseRolloverResponse$inboundSchema
|
|
16527
|
+
)),
|
|
16528
|
+
expiry: optional3(z29.lazy(
|
|
16529
|
+
() => CreatePlanLicenseExpiryResponse$inboundSchema
|
|
16530
|
+
)),
|
|
16531
|
+
feature_override: optional3(z29.lazy(
|
|
16532
|
+
() => CreatePlanLicenseFeatureOverrideResponse$inboundSchema
|
|
16533
|
+
))
|
|
16534
|
+
}),
|
|
16535
|
+
z29.transform((v) => {
|
|
16536
|
+
return remap(v, {
|
|
16537
|
+
"threshold_billing": "thresholdBilling",
|
|
16538
|
+
"feature_id": "featureId",
|
|
16539
|
+
"feature_override": "featureOverride"
|
|
16540
|
+
});
|
|
16541
|
+
})
|
|
16542
|
+
);
|
|
16543
|
+
var CreatePlanLicenseRemoveItemBillingMethodResponse$inboundSchema = inboundSchema(CreatePlanLicenseRemoveItemBillingMethodResponse);
|
|
16544
|
+
var CreatePlanIntervalLicenseRemoveItemResponseEnum2$inboundSchema = inboundSchema(CreatePlanIntervalLicenseRemoveItemResponseEnum2);
|
|
16545
|
+
var CreatePlanIntervalLicenseRemoveItemResponseEnum1$inboundSchema = inboundSchema(CreatePlanIntervalLicenseRemoveItemResponseEnum1);
|
|
16546
|
+
var CreatePlanLicenseIntervalResponseUnion$inboundSchema = smartUnion([
|
|
16547
|
+
CreatePlanIntervalLicenseRemoveItemResponseEnum1$inboundSchema,
|
|
16548
|
+
CreatePlanIntervalLicenseRemoveItemResponseEnum2$inboundSchema
|
|
16549
|
+
]);
|
|
16550
|
+
var CreatePlanLicensePlanItemFilterResponse$inboundSchema = z29.pipe(
|
|
16551
|
+
z29.object({
|
|
16552
|
+
feature_id: optional3(string5()),
|
|
16553
|
+
billing_method: optional3(
|
|
16554
|
+
CreatePlanLicenseRemoveItemBillingMethodResponse$inboundSchema
|
|
16555
|
+
),
|
|
16556
|
+
interval: optional3(
|
|
16557
|
+
smartUnion([
|
|
16558
|
+
CreatePlanIntervalLicenseRemoveItemResponseEnum1$inboundSchema,
|
|
16559
|
+
CreatePlanIntervalLicenseRemoveItemResponseEnum2$inboundSchema
|
|
16560
|
+
])
|
|
16561
|
+
),
|
|
16562
|
+
interval_count: optional3(number2()),
|
|
16563
|
+
included: optional3(number2())
|
|
16564
|
+
}),
|
|
16565
|
+
z29.transform((v) => {
|
|
16566
|
+
return remap(v, {
|
|
16567
|
+
"feature_id": "featureId",
|
|
16568
|
+
"billing_method": "billingMethod",
|
|
16569
|
+
"interval_count": "intervalCount"
|
|
16570
|
+
});
|
|
16571
|
+
})
|
|
16572
|
+
);
|
|
16573
|
+
var CreatePlanLicenseCustomizeResponse$inboundSchema = z29.pipe(
|
|
16574
|
+
z29.object({
|
|
16575
|
+
price: z29.optional(
|
|
16576
|
+
z29.nullable(
|
|
16577
|
+
z29.lazy(() => CreatePlanLicenseBasePriceResponse$inboundSchema)
|
|
16578
|
+
)
|
|
16579
|
+
),
|
|
16580
|
+
add_items: optional3(
|
|
16581
|
+
z29.array(z29.lazy(() => CreatePlanLicensePlanItemResponse$inboundSchema))
|
|
16582
|
+
),
|
|
16583
|
+
remove_items: optional3(
|
|
16584
|
+
z29.array(
|
|
16585
|
+
z29.lazy(() => CreatePlanLicensePlanItemFilterResponse$inboundSchema)
|
|
16586
|
+
)
|
|
16587
|
+
)
|
|
16588
|
+
}),
|
|
16589
|
+
z29.transform((v) => {
|
|
16590
|
+
return remap(v, {
|
|
16591
|
+
"add_items": "addItems",
|
|
16592
|
+
"remove_items": "removeItems"
|
|
16593
|
+
});
|
|
16594
|
+
})
|
|
16595
|
+
);
|
|
16596
|
+
var CreatePlanLicenseResponse$inboundSchema = z29.pipe(
|
|
16597
|
+
z29.object({
|
|
16598
|
+
license_plan_id: string5(),
|
|
16599
|
+
version: number2(),
|
|
16600
|
+
version_slug: optional3(string5()),
|
|
16601
|
+
included: number2(),
|
|
16602
|
+
prepaid_only: boolean2(),
|
|
16603
|
+
customize: optional3(
|
|
16604
|
+
z29.lazy(() => CreatePlanLicenseCustomizeResponse$inboundSchema)
|
|
16605
|
+
),
|
|
16606
|
+
metadata: optional3(z29.record(z29.string(), z29.any())),
|
|
16607
|
+
plan: optional3(Plan$inboundSchema)
|
|
16608
|
+
}),
|
|
16609
|
+
z29.transform((v) => {
|
|
16610
|
+
return remap(v, {
|
|
16611
|
+
"license_plan_id": "licensePlanId",
|
|
16612
|
+
"version_slug": "versionSlug",
|
|
16613
|
+
"prepaid_only": "prepaidOnly"
|
|
16614
|
+
});
|
|
16615
|
+
})
|
|
16616
|
+
);
|
|
15998
16617
|
var CreatePlanResponse$inboundSchema = z29.pipe(
|
|
15999
16618
|
z29.object({
|
|
16000
16619
|
id: string5(),
|
|
@@ -16024,6 +16643,9 @@ var CreatePlanResponse$inboundSchema = z29.pipe(
|
|
|
16024
16643
|
base_variant_id: nullable(string5()),
|
|
16025
16644
|
variant_details: optional3(
|
|
16026
16645
|
z29.lazy(() => CreatePlanVariantDetails$inboundSchema)
|
|
16646
|
+
),
|
|
16647
|
+
licenses: optional3(
|
|
16648
|
+
z29.array(z29.lazy(() => CreatePlanLicenseResponse$inboundSchema))
|
|
16027
16649
|
)
|
|
16028
16650
|
}),
|
|
16029
16651
|
z29.transform((v) => {
|
|
@@ -24146,7 +24768,7 @@ var GetPlanPriceVariantDetailsInterval = {
|
|
|
24146
24768
|
SemiAnnual: "semi_annual",
|
|
24147
24769
|
Year: "year"
|
|
24148
24770
|
};
|
|
24149
|
-
var
|
|
24771
|
+
var GetPlanVariantDetailsResetInterval = {
|
|
24150
24772
|
OneOff: "one_off",
|
|
24151
24773
|
Minute: "minute",
|
|
24152
24774
|
Hour: "hour",
|
|
@@ -24161,7 +24783,7 @@ var GetPlanVariantDetailsTierBehavior = {
|
|
|
24161
24783
|
Graduated: "graduated",
|
|
24162
24784
|
Volume: "volume"
|
|
24163
24785
|
};
|
|
24164
|
-
var
|
|
24786
|
+
var GetPlanVariantDetailsAddItemPriceInterval = {
|
|
24165
24787
|
OneOff: "one_off",
|
|
24166
24788
|
Week: "week",
|
|
24167
24789
|
Month: "month",
|
|
@@ -24169,17 +24791,17 @@ var GetPlanAddItemPriceInterval = {
|
|
|
24169
24791
|
SemiAnnual: "semi_annual",
|
|
24170
24792
|
Year: "year"
|
|
24171
24793
|
};
|
|
24172
|
-
var
|
|
24794
|
+
var GetPlanVariantDetailsAddItemBillingMethod = {
|
|
24173
24795
|
Prepaid: "prepaid",
|
|
24174
24796
|
UsageBased: "usage_based"
|
|
24175
24797
|
};
|
|
24176
|
-
var
|
|
24798
|
+
var GetPlanVariantDetailsOnIncrease = {
|
|
24177
24799
|
BillImmediately: "bill_immediately",
|
|
24178
24800
|
ProrateImmediately: "prorate_immediately",
|
|
24179
24801
|
ProrateNextCycle: "prorate_next_cycle",
|
|
24180
24802
|
BillNextCycle: "bill_next_cycle"
|
|
24181
24803
|
};
|
|
24182
|
-
var
|
|
24804
|
+
var GetPlanVariantDetailsOnDecrease = {
|
|
24183
24805
|
Prorate: "prorate",
|
|
24184
24806
|
ProrateImmediately: "prorate_immediately",
|
|
24185
24807
|
ProrateNextCycle: "prorate_next_cycle",
|
|
@@ -24205,11 +24827,11 @@ var GetPlanDimensionsToVariantDetailsEnum1 = {
|
|
|
24205
24827
|
var GetPlanToVariantDetailsEnum = {
|
|
24206
24828
|
Inf: "inf"
|
|
24207
24829
|
};
|
|
24208
|
-
var
|
|
24830
|
+
var GetPlanVariantDetailsRemoveItemBillingMethod = {
|
|
24209
24831
|
Prepaid: "prepaid",
|
|
24210
24832
|
UsageBased: "usage_based"
|
|
24211
24833
|
};
|
|
24212
|
-
var
|
|
24834
|
+
var GetPlanIntervalVariantDetailsRemoveItemEnum2 = {
|
|
24213
24835
|
OneOff: "one_off",
|
|
24214
24836
|
Minute: "minute",
|
|
24215
24837
|
Hour: "hour",
|
|
@@ -24220,7 +24842,7 @@ var GetPlanIntervalRemoveItemEnum2 = {
|
|
|
24220
24842
|
SemiAnnual: "semi_annual",
|
|
24221
24843
|
Year: "year"
|
|
24222
24844
|
};
|
|
24223
|
-
var
|
|
24845
|
+
var GetPlanIntervalVariantDetailsRemoveItemEnum1 = {
|
|
24224
24846
|
OneOff: "one_off",
|
|
24225
24847
|
Week: "week",
|
|
24226
24848
|
Month: "month",
|
|
@@ -24980,7 +25602,7 @@ var GetPlanVariantDetailsAdditionalCurrency$inboundSchema = z56.object({
|
|
|
24980
25602
|
currency: string5(),
|
|
24981
25603
|
amount: number2()
|
|
24982
25604
|
});
|
|
24983
|
-
var
|
|
25605
|
+
var GetPlanVariantDetailsBasePrice$inboundSchema = z56.pipe(
|
|
24984
25606
|
z56.object({
|
|
24985
25607
|
amount: number2(),
|
|
24986
25608
|
interval: GetPlanPriceVariantDetailsInterval$inboundSchema,
|
|
@@ -24999,10 +25621,10 @@ var GetPlanBasePrice$inboundSchema = z56.pipe(
|
|
|
24999
25621
|
var GetPlanVariantDetailsThresholdBilling$inboundSchema = z56.object({
|
|
25000
25622
|
threshold: number2()
|
|
25001
25623
|
});
|
|
25002
|
-
var
|
|
25624
|
+
var GetPlanVariantDetailsResetInterval$inboundSchema = inboundSchema(GetPlanVariantDetailsResetInterval);
|
|
25003
25625
|
var GetPlanVariantDetailsReset$inboundSchema = z56.pipe(
|
|
25004
25626
|
z56.object({
|
|
25005
|
-
interval:
|
|
25627
|
+
interval: GetPlanVariantDetailsResetInterval$inboundSchema,
|
|
25006
25628
|
interval_count: z56._default(number2(), 1)
|
|
25007
25629
|
}),
|
|
25008
25630
|
z56.transform((v) => {
|
|
@@ -25011,7 +25633,7 @@ var GetPlanVariantDetailsReset$inboundSchema = z56.pipe(
|
|
|
25011
25633
|
});
|
|
25012
25634
|
})
|
|
25013
25635
|
);
|
|
25014
|
-
var
|
|
25636
|
+
var GetPlanVariantDetailsAddItemAdditionalCurrency$inboundSchema = z56.object({
|
|
25015
25637
|
currency: string5(),
|
|
25016
25638
|
amount: number2()
|
|
25017
25639
|
});
|
|
@@ -25045,24 +25667,24 @@ var GetPlanVariantDetailsPriceTier$inboundSchema = z56.pipe(
|
|
|
25045
25667
|
})
|
|
25046
25668
|
);
|
|
25047
25669
|
var GetPlanVariantDetailsTierBehavior$inboundSchema = inboundSchema(GetPlanVariantDetailsTierBehavior);
|
|
25048
|
-
var
|
|
25049
|
-
var
|
|
25670
|
+
var GetPlanVariantDetailsAddItemPriceInterval$inboundSchema = inboundSchema(GetPlanVariantDetailsAddItemPriceInterval);
|
|
25671
|
+
var GetPlanVariantDetailsAddItemBillingMethod$inboundSchema = inboundSchema(GetPlanVariantDetailsAddItemBillingMethod);
|
|
25050
25672
|
var GetPlanVariantDetailsPrice$inboundSchema = z56.pipe(
|
|
25051
25673
|
z56.object({
|
|
25052
25674
|
amount: optional3(number2()),
|
|
25053
|
-
additional_currencies: optional3(
|
|
25054
|
-
|
|
25055
|
-
),
|
|
25056
|
-
tiers: optional3(
|
|
25057
|
-
|
|
25058
|
-
),
|
|
25675
|
+
additional_currencies: optional3(z56.array(z56.lazy(
|
|
25676
|
+
() => GetPlanVariantDetailsAddItemAdditionalCurrency$inboundSchema
|
|
25677
|
+
))),
|
|
25678
|
+
tiers: optional3(z56.array(z56.lazy(
|
|
25679
|
+
() => GetPlanVariantDetailsPriceTier$inboundSchema
|
|
25680
|
+
))),
|
|
25059
25681
|
tier_behavior: optional3(
|
|
25060
25682
|
GetPlanVariantDetailsTierBehavior$inboundSchema
|
|
25061
25683
|
),
|
|
25062
|
-
interval:
|
|
25684
|
+
interval: GetPlanVariantDetailsAddItemPriceInterval$inboundSchema,
|
|
25063
25685
|
interval_count: z56._default(number2(), 1),
|
|
25064
25686
|
billing_units: z56._default(number2(), 1),
|
|
25065
|
-
billing_method:
|
|
25687
|
+
billing_method: GetPlanVariantDetailsAddItemBillingMethod$inboundSchema,
|
|
25066
25688
|
max_purchase: z56.optional(z56.nullable(number2()))
|
|
25067
25689
|
}),
|
|
25068
25690
|
z56.transform((v) => {
|
|
@@ -25076,12 +25698,12 @@ var GetPlanVariantDetailsPrice$inboundSchema = z56.pipe(
|
|
|
25076
25698
|
});
|
|
25077
25699
|
})
|
|
25078
25700
|
);
|
|
25079
|
-
var
|
|
25080
|
-
var
|
|
25081
|
-
var
|
|
25701
|
+
var GetPlanVariantDetailsOnIncrease$inboundSchema = inboundSchema(GetPlanVariantDetailsOnIncrease);
|
|
25702
|
+
var GetPlanVariantDetailsOnDecrease$inboundSchema = inboundSchema(GetPlanVariantDetailsOnDecrease);
|
|
25703
|
+
var GetPlanVariantDetailsProration$inboundSchema = z56.pipe(
|
|
25082
25704
|
z56.object({
|
|
25083
|
-
on_increase:
|
|
25084
|
-
on_decrease:
|
|
25705
|
+
on_increase: GetPlanVariantDetailsOnIncrease$inboundSchema,
|
|
25706
|
+
on_decrease: GetPlanVariantDetailsOnDecrease$inboundSchema
|
|
25085
25707
|
}),
|
|
25086
25708
|
z56.transform((v) => {
|
|
25087
25709
|
return remap(v, {
|
|
@@ -25352,7 +25974,7 @@ var GetPlanVariantDetailsFeatureOverride$inboundSchema = z56.pipe(
|
|
|
25352
25974
|
});
|
|
25353
25975
|
})
|
|
25354
25976
|
);
|
|
25355
|
-
var
|
|
25977
|
+
var GetPlanVariantDetailsPlanItem$inboundSchema = z56.pipe(
|
|
25356
25978
|
z56.object({
|
|
25357
25979
|
threshold_billing: z56.optional(z56.nullable(z56.lazy(
|
|
25358
25980
|
() => GetPlanVariantDetailsThresholdBilling$inboundSchema
|
|
@@ -25367,7 +25989,9 @@ var GetPlanPlanItem$inboundSchema = z56.pipe(
|
|
|
25367
25989
|
price: optional3(
|
|
25368
25990
|
z56.lazy(() => GetPlanVariantDetailsPrice$inboundSchema)
|
|
25369
25991
|
),
|
|
25370
|
-
proration: optional3(
|
|
25992
|
+
proration: optional3(
|
|
25993
|
+
z56.lazy(() => GetPlanVariantDetailsProration$inboundSchema)
|
|
25994
|
+
),
|
|
25371
25995
|
rollover: optional3(
|
|
25372
25996
|
z56.lazy(() => GetPlanVariantDetailsRollover$inboundSchema)
|
|
25373
25997
|
),
|
|
@@ -25386,23 +26010,23 @@ var GetPlanPlanItem$inboundSchema = z56.pipe(
|
|
|
25386
26010
|
});
|
|
25387
26011
|
})
|
|
25388
26012
|
);
|
|
25389
|
-
var
|
|
25390
|
-
var
|
|
25391
|
-
var
|
|
25392
|
-
var
|
|
25393
|
-
|
|
25394
|
-
|
|
26013
|
+
var GetPlanVariantDetailsRemoveItemBillingMethod$inboundSchema = inboundSchema(GetPlanVariantDetailsRemoveItemBillingMethod);
|
|
26014
|
+
var GetPlanIntervalVariantDetailsRemoveItemEnum2$inboundSchema = inboundSchema(GetPlanIntervalVariantDetailsRemoveItemEnum2);
|
|
26015
|
+
var GetPlanIntervalVariantDetailsRemoveItemEnum1$inboundSchema = inboundSchema(GetPlanIntervalVariantDetailsRemoveItemEnum1);
|
|
26016
|
+
var GetPlanVariantDetailsIntervalUnion$inboundSchema = smartUnion([
|
|
26017
|
+
GetPlanIntervalVariantDetailsRemoveItemEnum1$inboundSchema,
|
|
26018
|
+
GetPlanIntervalVariantDetailsRemoveItemEnum2$inboundSchema
|
|
25395
26019
|
]);
|
|
25396
|
-
var
|
|
26020
|
+
var GetPlanVariantDetailsPlanItemFilter$inboundSchema = z56.pipe(
|
|
25397
26021
|
z56.object({
|
|
25398
26022
|
feature_id: optional3(string5()),
|
|
25399
26023
|
billing_method: optional3(
|
|
25400
|
-
|
|
26024
|
+
GetPlanVariantDetailsRemoveItemBillingMethod$inboundSchema
|
|
25401
26025
|
),
|
|
25402
26026
|
interval: optional3(
|
|
25403
26027
|
smartUnion([
|
|
25404
|
-
|
|
25405
|
-
|
|
26028
|
+
GetPlanIntervalVariantDetailsRemoveItemEnum1$inboundSchema,
|
|
26029
|
+
GetPlanIntervalVariantDetailsRemoveItemEnum2$inboundSchema
|
|
25406
26030
|
])
|
|
25407
26031
|
),
|
|
25408
26032
|
interval_count: optional3(number2()),
|
|
@@ -25626,6 +26250,96 @@ var GetPlanIntervalUpsertLicenseRemoveItemEnum1 = {
|
|
|
25626
26250
|
SemiAnnual: "semi_annual",
|
|
25627
26251
|
Year: "year"
|
|
25628
26252
|
};
|
|
26253
|
+
var GetPlanPriceLicenseInterval = {
|
|
26254
|
+
OneOff: "one_off",
|
|
26255
|
+
Week: "week",
|
|
26256
|
+
Month: "month",
|
|
26257
|
+
Quarter: "quarter",
|
|
26258
|
+
SemiAnnual: "semi_annual",
|
|
26259
|
+
Year: "year"
|
|
26260
|
+
};
|
|
26261
|
+
var GetPlanLicenseResetInterval = {
|
|
26262
|
+
OneOff: "one_off",
|
|
26263
|
+
Minute: "minute",
|
|
26264
|
+
Hour: "hour",
|
|
26265
|
+
Day: "day",
|
|
26266
|
+
Week: "week",
|
|
26267
|
+
Month: "month",
|
|
26268
|
+
Quarter: "quarter",
|
|
26269
|
+
SemiAnnual: "semi_annual",
|
|
26270
|
+
Year: "year"
|
|
26271
|
+
};
|
|
26272
|
+
var GetPlanLicenseTierBehavior = {
|
|
26273
|
+
Graduated: "graduated",
|
|
26274
|
+
Volume: "volume"
|
|
26275
|
+
};
|
|
26276
|
+
var GetPlanLicenseAddItemPriceInterval = {
|
|
26277
|
+
OneOff: "one_off",
|
|
26278
|
+
Week: "week",
|
|
26279
|
+
Month: "month",
|
|
26280
|
+
Quarter: "quarter",
|
|
26281
|
+
SemiAnnual: "semi_annual",
|
|
26282
|
+
Year: "year"
|
|
26283
|
+
};
|
|
26284
|
+
var GetPlanLicenseAddItemBillingMethod = {
|
|
26285
|
+
Prepaid: "prepaid",
|
|
26286
|
+
UsageBased: "usage_based"
|
|
26287
|
+
};
|
|
26288
|
+
var GetPlanLicenseOnIncrease = {
|
|
26289
|
+
BillImmediately: "bill_immediately",
|
|
26290
|
+
ProrateImmediately: "prorate_immediately",
|
|
26291
|
+
ProrateNextCycle: "prorate_next_cycle",
|
|
26292
|
+
BillNextCycle: "bill_next_cycle"
|
|
26293
|
+
};
|
|
26294
|
+
var GetPlanLicenseOnDecrease = {
|
|
26295
|
+
Prorate: "prorate",
|
|
26296
|
+
ProrateImmediately: "prorate_immediately",
|
|
26297
|
+
ProrateNextCycle: "prorate_next_cycle",
|
|
26298
|
+
None: "none",
|
|
26299
|
+
NoProrations: "no_prorations"
|
|
26300
|
+
};
|
|
26301
|
+
var GetPlanLicenseExpiryDurationType = {
|
|
26302
|
+
Month: "month",
|
|
26303
|
+
Forever: "forever"
|
|
26304
|
+
};
|
|
26305
|
+
var GetPlanLicenseDuration = {
|
|
26306
|
+
Day: "day",
|
|
26307
|
+
Week: "week",
|
|
26308
|
+
Month: "month",
|
|
26309
|
+
Year: "year"
|
|
26310
|
+
};
|
|
26311
|
+
var GetPlanDimensionsToLicenseEnum2 = {
|
|
26312
|
+
Inf: "inf"
|
|
26313
|
+
};
|
|
26314
|
+
var GetPlanDimensionsToLicenseEnum1 = {
|
|
26315
|
+
Inf: "inf"
|
|
26316
|
+
};
|
|
26317
|
+
var GetPlanToLicenseEnum = {
|
|
26318
|
+
Inf: "inf"
|
|
26319
|
+
};
|
|
26320
|
+
var GetPlanLicenseRemoveItemBillingMethod = {
|
|
26321
|
+
Prepaid: "prepaid",
|
|
26322
|
+
UsageBased: "usage_based"
|
|
26323
|
+
};
|
|
26324
|
+
var GetPlanIntervalLicenseRemoveItemEnum2 = {
|
|
26325
|
+
OneOff: "one_off",
|
|
26326
|
+
Minute: "minute",
|
|
26327
|
+
Hour: "hour",
|
|
26328
|
+
Day: "day",
|
|
26329
|
+
Week: "week",
|
|
26330
|
+
Month: "month",
|
|
26331
|
+
Quarter: "quarter",
|
|
26332
|
+
SemiAnnual: "semi_annual",
|
|
26333
|
+
Year: "year"
|
|
26334
|
+
};
|
|
26335
|
+
var GetPlanIntervalLicenseRemoveItemEnum1 = {
|
|
26336
|
+
OneOff: "one_off",
|
|
26337
|
+
Week: "week",
|
|
26338
|
+
Month: "month",
|
|
26339
|
+
Quarter: "quarter",
|
|
26340
|
+
SemiAnnual: "semi_annual",
|
|
26341
|
+
Year: "year"
|
|
26342
|
+
};
|
|
25629
26343
|
var GetPlanVariantDetailsOverageAllowed$inboundSchema = z57.pipe(
|
|
25630
26344
|
z57.object({
|
|
25631
26345
|
feature_id: string5(),
|
|
@@ -26154,11 +26868,15 @@ var GetPlanRemoveLicense$inboundSchema = z57.pipe(
|
|
|
26154
26868
|
});
|
|
26155
26869
|
})
|
|
26156
26870
|
);
|
|
26157
|
-
var
|
|
26871
|
+
var GetPlanVariantDetailsCustomize$inboundSchema = z57.pipe(
|
|
26158
26872
|
z57.object({
|
|
26159
|
-
price: z57.optional(z57.nullable(
|
|
26160
|
-
add_items: optional3(
|
|
26161
|
-
|
|
26873
|
+
price: z57.optional(z57.nullable(GetPlanVariantDetailsBasePrice$inboundSchema)),
|
|
26874
|
+
add_items: optional3(
|
|
26875
|
+
z57.array(GetPlanVariantDetailsPlanItem$inboundSchema)
|
|
26876
|
+
),
|
|
26877
|
+
remove_items: optional3(
|
|
26878
|
+
z57.array(GetPlanVariantDetailsPlanItemFilter$inboundSchema)
|
|
26879
|
+
),
|
|
26162
26880
|
free_trial: z57.optional(z57.nullable(GetPlanFreeTrialParams$inboundSchema)),
|
|
26163
26881
|
billing_controls: optional3(
|
|
26164
26882
|
z57.lazy(() => GetPlanVariantDetailsBillingControls$inboundSchema)
|
|
@@ -26184,7 +26902,9 @@ var GetPlanCustomize$inboundSchema = z57.pipe(
|
|
|
26184
26902
|
var GetPlanVariantDetails$inboundSchema = z57.pipe(
|
|
26185
26903
|
z57.object({
|
|
26186
26904
|
base_plan_id: string5(),
|
|
26187
|
-
customize: optional3(
|
|
26905
|
+
customize: optional3(
|
|
26906
|
+
z57.lazy(() => GetPlanVariantDetailsCustomize$inboundSchema)
|
|
26907
|
+
)
|
|
26188
26908
|
}),
|
|
26189
26909
|
z57.transform((v) => {
|
|
26190
26910
|
return remap(v, {
|
|
@@ -26192,6 +26912,464 @@ var GetPlanVariantDetails$inboundSchema = z57.pipe(
|
|
|
26192
26912
|
});
|
|
26193
26913
|
})
|
|
26194
26914
|
);
|
|
26915
|
+
var GetPlanPriceLicenseInterval$inboundSchema = inboundSchema(GetPlanPriceLicenseInterval);
|
|
26916
|
+
var GetPlanLicenseAdditionalCurrency$inboundSchema = z57.object({
|
|
26917
|
+
currency: string5(),
|
|
26918
|
+
amount: number2()
|
|
26919
|
+
});
|
|
26920
|
+
var GetPlanLicenseBasePrice$inboundSchema = z57.pipe(
|
|
26921
|
+
z57.object({
|
|
26922
|
+
amount: number2(),
|
|
26923
|
+
interval: GetPlanPriceLicenseInterval$inboundSchema,
|
|
26924
|
+
interval_count: z57._default(number2(), 1),
|
|
26925
|
+
additional_currencies: optional3(
|
|
26926
|
+
z57.array(z57.lazy(() => GetPlanLicenseAdditionalCurrency$inboundSchema))
|
|
26927
|
+
)
|
|
26928
|
+
}),
|
|
26929
|
+
z57.transform((v) => {
|
|
26930
|
+
return remap(v, {
|
|
26931
|
+
"interval_count": "intervalCount",
|
|
26932
|
+
"additional_currencies": "additionalCurrencies"
|
|
26933
|
+
});
|
|
26934
|
+
})
|
|
26935
|
+
);
|
|
26936
|
+
var GetPlanLicenseThresholdBilling$inboundSchema = z57.object({
|
|
26937
|
+
threshold: number2()
|
|
26938
|
+
});
|
|
26939
|
+
var GetPlanLicenseResetInterval$inboundSchema = inboundSchema(GetPlanLicenseResetInterval);
|
|
26940
|
+
var GetPlanLicenseReset$inboundSchema = z57.pipe(
|
|
26941
|
+
z57.object({
|
|
26942
|
+
interval: GetPlanLicenseResetInterval$inboundSchema,
|
|
26943
|
+
interval_count: z57._default(number2(), 1)
|
|
26944
|
+
}),
|
|
26945
|
+
z57.transform((v) => {
|
|
26946
|
+
return remap(v, {
|
|
26947
|
+
"interval_count": "intervalCount"
|
|
26948
|
+
});
|
|
26949
|
+
})
|
|
26950
|
+
);
|
|
26951
|
+
var GetPlanLicenseAddItemAdditionalCurrency$inboundSchema = z57.object({
|
|
26952
|
+
currency: string5(),
|
|
26953
|
+
amount: number2()
|
|
26954
|
+
});
|
|
26955
|
+
var GetPlanLicensePriceTo$inboundSchema = smartUnion([number2(), string5()]);
|
|
26956
|
+
var GetPlanLicenseTierAdditionalCurrency$inboundSchema = z57.pipe(
|
|
26957
|
+
z57.object({
|
|
26958
|
+
currency: string5(),
|
|
26959
|
+
amount: optional3(number2()),
|
|
26960
|
+
flat_amount: optional3(number2())
|
|
26961
|
+
}),
|
|
26962
|
+
z57.transform((v) => {
|
|
26963
|
+
return remap(v, {
|
|
26964
|
+
"flat_amount": "flatAmount"
|
|
26965
|
+
});
|
|
26966
|
+
})
|
|
26967
|
+
);
|
|
26968
|
+
var GetPlanLicensePriceTier$inboundSchema = z57.pipe(
|
|
26969
|
+
z57.object({
|
|
26970
|
+
to: smartUnion([number2(), string5()]),
|
|
26971
|
+
amount: number2(),
|
|
26972
|
+
flat_amount: optional3(number2()),
|
|
26973
|
+
additional_currencies: optional3(
|
|
26974
|
+
z57.array(z57.lazy(() => GetPlanLicenseTierAdditionalCurrency$inboundSchema))
|
|
26975
|
+
)
|
|
26976
|
+
}),
|
|
26977
|
+
z57.transform((v) => {
|
|
26978
|
+
return remap(v, {
|
|
26979
|
+
"flat_amount": "flatAmount",
|
|
26980
|
+
"additional_currencies": "additionalCurrencies"
|
|
26981
|
+
});
|
|
26982
|
+
})
|
|
26983
|
+
);
|
|
26984
|
+
var GetPlanLicenseTierBehavior$inboundSchema = inboundSchema(GetPlanLicenseTierBehavior);
|
|
26985
|
+
var GetPlanLicenseAddItemPriceInterval$inboundSchema = inboundSchema(GetPlanLicenseAddItemPriceInterval);
|
|
26986
|
+
var GetPlanLicenseAddItemBillingMethod$inboundSchema = inboundSchema(GetPlanLicenseAddItemBillingMethod);
|
|
26987
|
+
var GetPlanLicensePrice$inboundSchema = z57.pipe(
|
|
26988
|
+
z57.object({
|
|
26989
|
+
amount: optional3(number2()),
|
|
26990
|
+
additional_currencies: optional3(z57.array(z57.lazy(
|
|
26991
|
+
() => GetPlanLicenseAddItemAdditionalCurrency$inboundSchema
|
|
26992
|
+
))),
|
|
26993
|
+
tiers: optional3(z57.array(z57.lazy(
|
|
26994
|
+
() => GetPlanLicensePriceTier$inboundSchema
|
|
26995
|
+
))),
|
|
26996
|
+
tier_behavior: optional3(GetPlanLicenseTierBehavior$inboundSchema),
|
|
26997
|
+
interval: GetPlanLicenseAddItemPriceInterval$inboundSchema,
|
|
26998
|
+
interval_count: z57._default(number2(), 1),
|
|
26999
|
+
billing_units: z57._default(number2(), 1),
|
|
27000
|
+
billing_method: GetPlanLicenseAddItemBillingMethod$inboundSchema,
|
|
27001
|
+
max_purchase: z57.optional(z57.nullable(number2()))
|
|
27002
|
+
}),
|
|
27003
|
+
z57.transform((v) => {
|
|
27004
|
+
return remap(v, {
|
|
27005
|
+
"additional_currencies": "additionalCurrencies",
|
|
27006
|
+
"tier_behavior": "tierBehavior",
|
|
27007
|
+
"interval_count": "intervalCount",
|
|
27008
|
+
"billing_units": "billingUnits",
|
|
27009
|
+
"billing_method": "billingMethod",
|
|
27010
|
+
"max_purchase": "maxPurchase"
|
|
27011
|
+
});
|
|
27012
|
+
})
|
|
27013
|
+
);
|
|
27014
|
+
var GetPlanLicenseOnIncrease$inboundSchema = inboundSchema(GetPlanLicenseOnIncrease);
|
|
27015
|
+
var GetPlanLicenseOnDecrease$inboundSchema = inboundSchema(GetPlanLicenseOnDecrease);
|
|
27016
|
+
var GetPlanLicenseProration$inboundSchema = z57.pipe(
|
|
27017
|
+
z57.object({
|
|
27018
|
+
on_increase: GetPlanLicenseOnIncrease$inboundSchema,
|
|
27019
|
+
on_decrease: GetPlanLicenseOnDecrease$inboundSchema
|
|
27020
|
+
}),
|
|
27021
|
+
z57.transform((v) => {
|
|
27022
|
+
return remap(v, {
|
|
27023
|
+
"on_increase": "onIncrease",
|
|
27024
|
+
"on_decrease": "onDecrease"
|
|
27025
|
+
});
|
|
27026
|
+
})
|
|
27027
|
+
);
|
|
27028
|
+
var GetPlanLicenseExpiryDurationType$inboundSchema = inboundSchema(GetPlanLicenseExpiryDurationType);
|
|
27029
|
+
var GetPlanLicenseRollover$inboundSchema = z57.pipe(
|
|
27030
|
+
z57.object({
|
|
27031
|
+
max: optional3(number2()),
|
|
27032
|
+
max_percentage: optional3(number2()),
|
|
27033
|
+
expiry_duration_type: GetPlanLicenseExpiryDurationType$inboundSchema,
|
|
27034
|
+
expiry_duration_length: optional3(number2())
|
|
27035
|
+
}),
|
|
27036
|
+
z57.transform((v) => {
|
|
27037
|
+
return remap(v, {
|
|
27038
|
+
"max_percentage": "maxPercentage",
|
|
27039
|
+
"expiry_duration_type": "expiryDurationType",
|
|
27040
|
+
"expiry_duration_length": "expiryDurationLength"
|
|
27041
|
+
});
|
|
27042
|
+
})
|
|
27043
|
+
);
|
|
27044
|
+
var GetPlanLicenseDuration$inboundSchema = inboundSchema(GetPlanLicenseDuration);
|
|
27045
|
+
var GetPlanLicenseExpiry$inboundSchema = z57.object({
|
|
27046
|
+
duration: GetPlanLicenseDuration$inboundSchema,
|
|
27047
|
+
length: number2()
|
|
27048
|
+
});
|
|
27049
|
+
var GetPlanDimensionsLicense4$inboundSchema = z57.pipe(
|
|
27050
|
+
z57.object({
|
|
27051
|
+
match: z57.record(z57.string(), string5()),
|
|
27052
|
+
priority: optional3(number2()),
|
|
27053
|
+
credit_cost: number2()
|
|
27054
|
+
}),
|
|
27055
|
+
z57.transform((v) => {
|
|
27056
|
+
return remap(v, {
|
|
27057
|
+
"credit_cost": "creditCost"
|
|
27058
|
+
});
|
|
27059
|
+
})
|
|
27060
|
+
);
|
|
27061
|
+
var GetPlanDimensionsToLicenseEnum2$inboundSchema = z57.enum(GetPlanDimensionsToLicenseEnum2);
|
|
27062
|
+
var GetPlanDimensionsLicenseToUnion2$inboundSchema = smartUnion([number2(), GetPlanDimensionsToLicenseEnum2$inboundSchema]);
|
|
27063
|
+
var GetPlanDimensionsLicenseTier2$inboundSchema = z57.pipe(
|
|
27064
|
+
z57.object({
|
|
27065
|
+
to: smartUnion([
|
|
27066
|
+
number2(),
|
|
27067
|
+
GetPlanDimensionsToLicenseEnum2$inboundSchema
|
|
27068
|
+
]),
|
|
27069
|
+
credit_cost: number2()
|
|
27070
|
+
}),
|
|
27071
|
+
z57.transform((v) => {
|
|
27072
|
+
return remap(v, {
|
|
27073
|
+
"credit_cost": "creditCost"
|
|
27074
|
+
});
|
|
27075
|
+
})
|
|
27076
|
+
);
|
|
27077
|
+
var GetPlanDimensionsLicense3$inboundSchema = z57.pipe(
|
|
27078
|
+
z57.object({
|
|
27079
|
+
match: z57.record(z57.string(), string5()),
|
|
27080
|
+
priority: optional3(number2()),
|
|
27081
|
+
tier_behavior: literal3("graduated"),
|
|
27082
|
+
tiers: z57.array(z57.lazy(() => GetPlanDimensionsLicenseTier2$inboundSchema))
|
|
27083
|
+
}),
|
|
27084
|
+
z57.transform((v) => {
|
|
27085
|
+
return remap(v, {
|
|
27086
|
+
"tier_behavior": "tierBehavior"
|
|
27087
|
+
});
|
|
27088
|
+
})
|
|
27089
|
+
);
|
|
27090
|
+
var GetPlanLicenseDimensionsUnion2$inboundSchema = smartUnion([
|
|
27091
|
+
z57.lazy(() => GetPlanDimensionsLicense3$inboundSchema),
|
|
27092
|
+
z57.lazy(() => GetPlanDimensionsLicense4$inboundSchema)
|
|
27093
|
+
]);
|
|
27094
|
+
var GetPlanLicenseMultipliers2$inboundSchema = z57.object({
|
|
27095
|
+
match: z57.record(z57.string(), string5()),
|
|
27096
|
+
factor: optional3(number2()),
|
|
27097
|
+
add: optional3(number2())
|
|
27098
|
+
});
|
|
27099
|
+
var GetPlanCreditSchemaLicense2$inboundSchema = z57.pipe(
|
|
27100
|
+
z57.object({
|
|
27101
|
+
metered_feature_id: string5(),
|
|
27102
|
+
billing_units: optional3(number2()),
|
|
27103
|
+
dimensions: optional3(z57.record(
|
|
27104
|
+
z57.string(),
|
|
27105
|
+
smartUnion([
|
|
27106
|
+
z57.lazy(() => GetPlanDimensionsLicense3$inboundSchema),
|
|
27107
|
+
z57.lazy(() => GetPlanDimensionsLicense4$inboundSchema)
|
|
27108
|
+
])
|
|
27109
|
+
)),
|
|
27110
|
+
multipliers: optional3(z57.record(
|
|
27111
|
+
z57.string(),
|
|
27112
|
+
z57.lazy(() => GetPlanLicenseMultipliers2$inboundSchema)
|
|
27113
|
+
)),
|
|
27114
|
+
credit_cost: number2()
|
|
27115
|
+
}),
|
|
27116
|
+
z57.transform((v) => {
|
|
27117
|
+
return remap(v, {
|
|
27118
|
+
"metered_feature_id": "meteredFeatureId",
|
|
27119
|
+
"billing_units": "billingUnits",
|
|
27120
|
+
"credit_cost": "creditCost"
|
|
27121
|
+
});
|
|
27122
|
+
})
|
|
27123
|
+
);
|
|
27124
|
+
var GetPlanDimensionsLicense2$inboundSchema = z57.pipe(
|
|
27125
|
+
z57.object({
|
|
27126
|
+
match: z57.record(z57.string(), string5()),
|
|
27127
|
+
priority: optional3(number2()),
|
|
27128
|
+
credit_cost: number2()
|
|
27129
|
+
}),
|
|
27130
|
+
z57.transform((v) => {
|
|
27131
|
+
return remap(v, {
|
|
27132
|
+
"credit_cost": "creditCost"
|
|
27133
|
+
});
|
|
27134
|
+
})
|
|
27135
|
+
);
|
|
27136
|
+
var GetPlanDimensionsToLicenseEnum1$inboundSchema = z57.enum(GetPlanDimensionsToLicenseEnum1);
|
|
27137
|
+
var GetPlanDimensionsLicenseToUnion1$inboundSchema = smartUnion([number2(), GetPlanDimensionsToLicenseEnum1$inboundSchema]);
|
|
27138
|
+
var GetPlanDimensionsLicenseTier1$inboundSchema = z57.pipe(
|
|
27139
|
+
z57.object({
|
|
27140
|
+
to: smartUnion([
|
|
27141
|
+
number2(),
|
|
27142
|
+
GetPlanDimensionsToLicenseEnum1$inboundSchema
|
|
27143
|
+
]),
|
|
27144
|
+
credit_cost: number2()
|
|
27145
|
+
}),
|
|
27146
|
+
z57.transform((v) => {
|
|
27147
|
+
return remap(v, {
|
|
27148
|
+
"credit_cost": "creditCost"
|
|
27149
|
+
});
|
|
27150
|
+
})
|
|
27151
|
+
);
|
|
27152
|
+
var GetPlanDimensionsLicense1$inboundSchema = z57.pipe(
|
|
27153
|
+
z57.object({
|
|
27154
|
+
match: z57.record(z57.string(), string5()),
|
|
27155
|
+
priority: optional3(number2()),
|
|
27156
|
+
tier_behavior: literal3("graduated"),
|
|
27157
|
+
tiers: z57.array(z57.lazy(() => GetPlanDimensionsLicenseTier1$inboundSchema))
|
|
27158
|
+
}),
|
|
27159
|
+
z57.transform((v) => {
|
|
27160
|
+
return remap(v, {
|
|
27161
|
+
"tier_behavior": "tierBehavior"
|
|
27162
|
+
});
|
|
27163
|
+
})
|
|
27164
|
+
);
|
|
27165
|
+
var GetPlanLicenseDimensionsUnion1$inboundSchema = smartUnion([
|
|
27166
|
+
z57.lazy(() => GetPlanDimensionsLicense1$inboundSchema),
|
|
27167
|
+
z57.lazy(() => GetPlanDimensionsLicense2$inboundSchema)
|
|
27168
|
+
]);
|
|
27169
|
+
var GetPlanLicenseMultipliers1$inboundSchema = z57.object({
|
|
27170
|
+
match: z57.record(z57.string(), string5()),
|
|
27171
|
+
factor: optional3(number2()),
|
|
27172
|
+
add: optional3(number2())
|
|
27173
|
+
});
|
|
27174
|
+
var GetPlanToLicenseEnum$inboundSchema = z57.enum(GetPlanToLicenseEnum);
|
|
27175
|
+
var GetPlanLicenseFeatureOverrideToUnion$inboundSchema = smartUnion([number2(), GetPlanToLicenseEnum$inboundSchema]);
|
|
27176
|
+
var GetPlanLicenseFeatureOverrideTier$inboundSchema = z57.pipe(
|
|
27177
|
+
z57.object({
|
|
27178
|
+
to: smartUnion([number2(), GetPlanToLicenseEnum$inboundSchema]),
|
|
27179
|
+
credit_cost: number2()
|
|
27180
|
+
}),
|
|
27181
|
+
z57.transform((v) => {
|
|
27182
|
+
return remap(v, {
|
|
27183
|
+
"credit_cost": "creditCost"
|
|
27184
|
+
});
|
|
27185
|
+
})
|
|
27186
|
+
);
|
|
27187
|
+
var GetPlanCreditSchemaLicense1$inboundSchema = z57.pipe(
|
|
27188
|
+
z57.object({
|
|
27189
|
+
metered_feature_id: string5(),
|
|
27190
|
+
billing_units: optional3(number2()),
|
|
27191
|
+
dimensions: optional3(z57.record(
|
|
27192
|
+
z57.string(),
|
|
27193
|
+
smartUnion([
|
|
27194
|
+
z57.lazy(() => GetPlanDimensionsLicense1$inboundSchema),
|
|
27195
|
+
z57.lazy(() => GetPlanDimensionsLicense2$inboundSchema)
|
|
27196
|
+
])
|
|
27197
|
+
)),
|
|
27198
|
+
multipliers: optional3(z57.record(
|
|
27199
|
+
z57.string(),
|
|
27200
|
+
z57.lazy(() => GetPlanLicenseMultipliers1$inboundSchema)
|
|
27201
|
+
)),
|
|
27202
|
+
tier_behavior: literal3("graduated"),
|
|
27203
|
+
tiers: z57.array(z57.lazy(
|
|
27204
|
+
() => GetPlanLicenseFeatureOverrideTier$inboundSchema
|
|
27205
|
+
))
|
|
27206
|
+
}),
|
|
27207
|
+
z57.transform((v) => {
|
|
27208
|
+
return remap(v, {
|
|
27209
|
+
"metered_feature_id": "meteredFeatureId",
|
|
27210
|
+
"billing_units": "billingUnits",
|
|
27211
|
+
"tier_behavior": "tierBehavior"
|
|
27212
|
+
});
|
|
27213
|
+
})
|
|
27214
|
+
);
|
|
27215
|
+
var GetPlanLicenseCreditSchemaUnion$inboundSchema = smartUnion([
|
|
27216
|
+
z57.lazy(() => GetPlanCreditSchemaLicense1$inboundSchema),
|
|
27217
|
+
z57.lazy(() => GetPlanCreditSchemaLicense2$inboundSchema)
|
|
27218
|
+
]);
|
|
27219
|
+
var GetPlanLicenseProviderMarkups$inboundSchema = z57.object({
|
|
27220
|
+
markup: number2()
|
|
27221
|
+
});
|
|
27222
|
+
var GetPlanLicenseModelMarkups$inboundSchema = z57.pipe(
|
|
27223
|
+
z57.object({
|
|
27224
|
+
markup: optional3(number2()),
|
|
27225
|
+
input_cost: optional3(number2()),
|
|
27226
|
+
output_cost: optional3(number2())
|
|
27227
|
+
}),
|
|
27228
|
+
z57.transform((v) => {
|
|
27229
|
+
return remap(v, {
|
|
27230
|
+
"input_cost": "inputCost",
|
|
27231
|
+
"output_cost": "outputCost"
|
|
27232
|
+
});
|
|
27233
|
+
})
|
|
27234
|
+
);
|
|
27235
|
+
var GetPlanLicenseMarkups$inboundSchema = z57.pipe(
|
|
27236
|
+
z57.object({
|
|
27237
|
+
default_markup: optional3(number2()),
|
|
27238
|
+
provider_markups: z57.optional(z57.nullable(z57.record(
|
|
27239
|
+
z57.string(),
|
|
27240
|
+
z57.lazy(() => GetPlanLicenseProviderMarkups$inboundSchema)
|
|
27241
|
+
))),
|
|
27242
|
+
model_markups: z57.optional(z57.nullable(z57.record(
|
|
27243
|
+
z57.string(),
|
|
27244
|
+
z57.lazy(() => GetPlanLicenseModelMarkups$inboundSchema)
|
|
27245
|
+
)))
|
|
27246
|
+
}),
|
|
27247
|
+
z57.transform((v) => {
|
|
27248
|
+
return remap(v, {
|
|
27249
|
+
"default_markup": "defaultMarkup",
|
|
27250
|
+
"provider_markups": "providerMarkups",
|
|
27251
|
+
"model_markups": "modelMarkups"
|
|
27252
|
+
});
|
|
27253
|
+
})
|
|
27254
|
+
);
|
|
27255
|
+
var GetPlanLicenseFeatureOverride$inboundSchema = z57.pipe(
|
|
27256
|
+
z57.object({
|
|
27257
|
+
credit_schema: optional3(z57.array(smartUnion([
|
|
27258
|
+
z57.lazy(() => GetPlanCreditSchemaLicense1$inboundSchema),
|
|
27259
|
+
z57.lazy(
|
|
27260
|
+
() => GetPlanCreditSchemaLicense2$inboundSchema
|
|
27261
|
+
)
|
|
27262
|
+
]))),
|
|
27263
|
+
markups: optional3(z57.lazy(
|
|
27264
|
+
() => GetPlanLicenseMarkups$inboundSchema
|
|
27265
|
+
))
|
|
27266
|
+
}),
|
|
27267
|
+
z57.transform((v) => {
|
|
27268
|
+
return remap(v, {
|
|
27269
|
+
"credit_schema": "creditSchema"
|
|
27270
|
+
});
|
|
27271
|
+
})
|
|
27272
|
+
);
|
|
27273
|
+
var GetPlanLicensePlanItem$inboundSchema = z57.pipe(
|
|
27274
|
+
z57.object({
|
|
27275
|
+
threshold_billing: z57.optional(
|
|
27276
|
+
z57.nullable(z57.lazy(() => GetPlanLicenseThresholdBilling$inboundSchema))
|
|
27277
|
+
),
|
|
27278
|
+
feature_id: string5(),
|
|
27279
|
+
included: optional3(number2()),
|
|
27280
|
+
unlimited: optional3(boolean2()),
|
|
27281
|
+
pooled: z57._default(boolean2(), false),
|
|
27282
|
+
reset: optional3(z57.lazy(() => GetPlanLicenseReset$inboundSchema)),
|
|
27283
|
+
price: optional3(z57.lazy(() => GetPlanLicensePrice$inboundSchema)),
|
|
27284
|
+
proration: optional3(
|
|
27285
|
+
z57.lazy(() => GetPlanLicenseProration$inboundSchema)
|
|
27286
|
+
),
|
|
27287
|
+
rollover: optional3(
|
|
27288
|
+
z57.lazy(() => GetPlanLicenseRollover$inboundSchema)
|
|
27289
|
+
),
|
|
27290
|
+
expiry: optional3(z57.lazy(() => GetPlanLicenseExpiry$inboundSchema)),
|
|
27291
|
+
feature_override: optional3(
|
|
27292
|
+
z57.lazy(() => GetPlanLicenseFeatureOverride$inboundSchema)
|
|
27293
|
+
)
|
|
27294
|
+
}),
|
|
27295
|
+
z57.transform((v) => {
|
|
27296
|
+
return remap(v, {
|
|
27297
|
+
"threshold_billing": "thresholdBilling",
|
|
27298
|
+
"feature_id": "featureId",
|
|
27299
|
+
"feature_override": "featureOverride"
|
|
27300
|
+
});
|
|
27301
|
+
})
|
|
27302
|
+
);
|
|
27303
|
+
var GetPlanLicenseRemoveItemBillingMethod$inboundSchema = inboundSchema(GetPlanLicenseRemoveItemBillingMethod);
|
|
27304
|
+
var GetPlanIntervalLicenseRemoveItemEnum2$inboundSchema = inboundSchema(GetPlanIntervalLicenseRemoveItemEnum2);
|
|
27305
|
+
var GetPlanIntervalLicenseRemoveItemEnum1$inboundSchema = inboundSchema(GetPlanIntervalLicenseRemoveItemEnum1);
|
|
27306
|
+
var GetPlanLicenseIntervalUnion$inboundSchema = smartUnion([
|
|
27307
|
+
GetPlanIntervalLicenseRemoveItemEnum1$inboundSchema,
|
|
27308
|
+
GetPlanIntervalLicenseRemoveItemEnum2$inboundSchema
|
|
27309
|
+
]);
|
|
27310
|
+
var GetPlanLicensePlanItemFilter$inboundSchema = z57.pipe(
|
|
27311
|
+
z57.object({
|
|
27312
|
+
feature_id: optional3(string5()),
|
|
27313
|
+
billing_method: optional3(
|
|
27314
|
+
GetPlanLicenseRemoveItemBillingMethod$inboundSchema
|
|
27315
|
+
),
|
|
27316
|
+
interval: optional3(
|
|
27317
|
+
smartUnion([
|
|
27318
|
+
GetPlanIntervalLicenseRemoveItemEnum1$inboundSchema,
|
|
27319
|
+
GetPlanIntervalLicenseRemoveItemEnum2$inboundSchema
|
|
27320
|
+
])
|
|
27321
|
+
),
|
|
27322
|
+
interval_count: optional3(number2()),
|
|
27323
|
+
included: optional3(number2())
|
|
27324
|
+
}),
|
|
27325
|
+
z57.transform((v) => {
|
|
27326
|
+
return remap(v, {
|
|
27327
|
+
"feature_id": "featureId",
|
|
27328
|
+
"billing_method": "billingMethod",
|
|
27329
|
+
"interval_count": "intervalCount"
|
|
27330
|
+
});
|
|
27331
|
+
})
|
|
27332
|
+
);
|
|
27333
|
+
var GetPlanLicenseCustomize$inboundSchema = z57.pipe(
|
|
27334
|
+
z57.object({
|
|
27335
|
+
price: z57.optional(
|
|
27336
|
+
z57.nullable(z57.lazy(() => GetPlanLicenseBasePrice$inboundSchema))
|
|
27337
|
+
),
|
|
27338
|
+
add_items: optional3(
|
|
27339
|
+
z57.array(z57.lazy(() => GetPlanLicensePlanItem$inboundSchema))
|
|
27340
|
+
),
|
|
27341
|
+
remove_items: optional3(
|
|
27342
|
+
z57.array(z57.lazy(() => GetPlanLicensePlanItemFilter$inboundSchema))
|
|
27343
|
+
)
|
|
27344
|
+
}),
|
|
27345
|
+
z57.transform((v) => {
|
|
27346
|
+
return remap(v, {
|
|
27347
|
+
"add_items": "addItems",
|
|
27348
|
+
"remove_items": "removeItems"
|
|
27349
|
+
});
|
|
27350
|
+
})
|
|
27351
|
+
);
|
|
27352
|
+
var GetPlanLicense$inboundSchema = z57.pipe(
|
|
27353
|
+
z57.object({
|
|
27354
|
+
license_plan_id: string5(),
|
|
27355
|
+
version: number2(),
|
|
27356
|
+
version_slug: optional3(string5()),
|
|
27357
|
+
included: number2(),
|
|
27358
|
+
prepaid_only: boolean2(),
|
|
27359
|
+
customize: optional3(
|
|
27360
|
+
z57.lazy(() => GetPlanLicenseCustomize$inboundSchema)
|
|
27361
|
+
),
|
|
27362
|
+
metadata: optional3(z57.record(z57.string(), z57.any())),
|
|
27363
|
+
plan: optional3(Plan$inboundSchema)
|
|
27364
|
+
}),
|
|
27365
|
+
z57.transform((v) => {
|
|
27366
|
+
return remap(v, {
|
|
27367
|
+
"license_plan_id": "licensePlanId",
|
|
27368
|
+
"version_slug": "versionSlug",
|
|
27369
|
+
"prepaid_only": "prepaidOnly"
|
|
27370
|
+
});
|
|
27371
|
+
})
|
|
27372
|
+
);
|
|
26195
27373
|
var GetPlanResponse$inboundSchema = z57.pipe(
|
|
26196
27374
|
z57.object({
|
|
26197
27375
|
id: string5(),
|
|
@@ -26219,6 +27397,9 @@ var GetPlanResponse$inboundSchema = z57.pipe(
|
|
|
26219
27397
|
base_variant_id: nullable(string5()),
|
|
26220
27398
|
variant_details: optional3(
|
|
26221
27399
|
z57.lazy(() => GetPlanVariantDetails$inboundSchema)
|
|
27400
|
+
),
|
|
27401
|
+
licenses: optional3(
|
|
27402
|
+
z57.array(z57.lazy(() => GetPlanLicense$inboundSchema))
|
|
26222
27403
|
)
|
|
26223
27404
|
}),
|
|
26224
27405
|
z57.transform((v) => {
|
|
@@ -48147,7 +49328,7 @@ var UpdatePlanDimensionsToItemRequestBodyEnum1 = {
|
|
|
48147
49328
|
var UpdatePlanToItemRequestBodyEnum = {
|
|
48148
49329
|
Inf: "inf"
|
|
48149
49330
|
};
|
|
48150
|
-
var
|
|
49331
|
+
var UpdatePlanPriceLicenseIntervalRequestBody = {
|
|
48151
49332
|
OneOff: "one_off",
|
|
48152
49333
|
Week: "week",
|
|
48153
49334
|
Month: "month",
|
|
@@ -48155,7 +49336,7 @@ var UpdatePlanPriceLicenseInterval = {
|
|
|
48155
49336
|
SemiAnnual: "semi_annual",
|
|
48156
49337
|
Year: "year"
|
|
48157
49338
|
};
|
|
48158
|
-
var
|
|
49339
|
+
var UpdatePlanLicenseResetIntervalRequestBody = {
|
|
48159
49340
|
OneOff: "one_off",
|
|
48160
49341
|
Minute: "minute",
|
|
48161
49342
|
Hour: "hour",
|
|
@@ -48166,11 +49347,11 @@ var UpdatePlanLicenseResetInterval = {
|
|
|
48166
49347
|
SemiAnnual: "semi_annual",
|
|
48167
49348
|
Year: "year"
|
|
48168
49349
|
};
|
|
48169
|
-
var
|
|
49350
|
+
var UpdatePlanLicenseTierBehaviorRequestBody = {
|
|
48170
49351
|
Graduated: "graduated",
|
|
48171
49352
|
Volume: "volume"
|
|
48172
49353
|
};
|
|
48173
|
-
var
|
|
49354
|
+
var UpdatePlanLicenseAddItemPriceIntervalRequestBody = {
|
|
48174
49355
|
OneOff: "one_off",
|
|
48175
49356
|
Week: "week",
|
|
48176
49357
|
Month: "month",
|
|
@@ -48178,47 +49359,47 @@ var UpdatePlanLicenseAddItemPriceInterval = {
|
|
|
48178
49359
|
SemiAnnual: "semi_annual",
|
|
48179
49360
|
Year: "year"
|
|
48180
49361
|
};
|
|
48181
|
-
var
|
|
49362
|
+
var UpdatePlanLicenseAddItemBillingMethodRequestBody = {
|
|
48182
49363
|
Prepaid: "prepaid",
|
|
48183
49364
|
UsageBased: "usage_based"
|
|
48184
49365
|
};
|
|
48185
|
-
var
|
|
49366
|
+
var UpdatePlanLicenseOnIncreaseRequestBody = {
|
|
48186
49367
|
BillImmediately: "bill_immediately",
|
|
48187
49368
|
ProrateImmediately: "prorate_immediately",
|
|
48188
49369
|
ProrateNextCycle: "prorate_next_cycle",
|
|
48189
49370
|
BillNextCycle: "bill_next_cycle"
|
|
48190
49371
|
};
|
|
48191
|
-
var
|
|
49372
|
+
var UpdatePlanLicenseOnDecreaseRequestBody = {
|
|
48192
49373
|
Prorate: "prorate",
|
|
48193
49374
|
ProrateImmediately: "prorate_immediately",
|
|
48194
49375
|
ProrateNextCycle: "prorate_next_cycle",
|
|
48195
49376
|
None: "none",
|
|
48196
49377
|
NoProrations: "no_prorations"
|
|
48197
49378
|
};
|
|
48198
|
-
var
|
|
49379
|
+
var UpdatePlanLicenseExpiryDurationTypeRequestBody = {
|
|
48199
49380
|
Month: "month",
|
|
48200
49381
|
Forever: "forever"
|
|
48201
49382
|
};
|
|
48202
|
-
var
|
|
49383
|
+
var UpdatePlanLicenseDurationRequestBody = {
|
|
48203
49384
|
Day: "day",
|
|
48204
49385
|
Week: "week",
|
|
48205
49386
|
Month: "month",
|
|
48206
49387
|
Year: "year"
|
|
48207
49388
|
};
|
|
48208
|
-
var
|
|
49389
|
+
var UpdatePlanDimensionsToLicenseRequestBodyEnum2 = {
|
|
48209
49390
|
Inf: "inf"
|
|
48210
49391
|
};
|
|
48211
|
-
var
|
|
49392
|
+
var UpdatePlanDimensionsToLicenseRequestBodyEnum1 = {
|
|
48212
49393
|
Inf: "inf"
|
|
48213
49394
|
};
|
|
48214
|
-
var
|
|
49395
|
+
var UpdatePlanToLicenseRequestBodyEnum = {
|
|
48215
49396
|
Inf: "inf"
|
|
48216
49397
|
};
|
|
48217
|
-
var
|
|
49398
|
+
var UpdatePlanLicenseRemoveItemBillingMethodRequestBody = {
|
|
48218
49399
|
Prepaid: "prepaid",
|
|
48219
49400
|
UsageBased: "usage_based"
|
|
48220
49401
|
};
|
|
48221
|
-
var
|
|
49402
|
+
var UpdatePlanIntervalLicenseRemoveItemRequestBodyEnum2 = {
|
|
48222
49403
|
OneOff: "one_off",
|
|
48223
49404
|
Minute: "minute",
|
|
48224
49405
|
Hour: "hour",
|
|
@@ -48229,7 +49410,7 @@ var UpdatePlanIntervalLicenseRemoveItemEnum2 = {
|
|
|
48229
49410
|
SemiAnnual: "semi_annual",
|
|
48230
49411
|
Year: "year"
|
|
48231
49412
|
};
|
|
48232
|
-
var
|
|
49413
|
+
var UpdatePlanIntervalLicenseRemoveItemRequestBodyEnum1 = {
|
|
48233
49414
|
OneOff: "one_off",
|
|
48234
49415
|
Week: "week",
|
|
48235
49416
|
Month: "month",
|
|
@@ -48760,19 +49941,21 @@ var UpdatePlanItemPlanItem$outboundSchema = z113.pipe(
|
|
|
48760
49941
|
});
|
|
48761
49942
|
})
|
|
48762
49943
|
);
|
|
48763
|
-
var
|
|
48764
|
-
|
|
49944
|
+
var UpdatePlanPriceLicenseIntervalRequestBody$outboundSchema = z113.enum(
|
|
49945
|
+
UpdatePlanPriceLicenseIntervalRequestBody
|
|
49946
|
+
);
|
|
49947
|
+
var UpdatePlanLicenseAdditionalCurrencyRequestBody$outboundSchema = z113.object({
|
|
48765
49948
|
currency: z113.string(),
|
|
48766
49949
|
amount: z113.number()
|
|
48767
49950
|
});
|
|
48768
|
-
var
|
|
49951
|
+
var UpdatePlanLicenseBasePriceRequestBody$outboundSchema = z113.pipe(
|
|
48769
49952
|
z113.object({
|
|
48770
49953
|
amount: z113.number(),
|
|
48771
|
-
interval:
|
|
49954
|
+
interval: UpdatePlanPriceLicenseIntervalRequestBody$outboundSchema,
|
|
48772
49955
|
intervalCount: z113._default(z113.number(), 1),
|
|
48773
|
-
additionalCurrencies: z113.optional(
|
|
48774
|
-
|
|
48775
|
-
)
|
|
49956
|
+
additionalCurrencies: z113.optional(z113.array(z113.lazy(
|
|
49957
|
+
() => UpdatePlanLicenseAdditionalCurrencyRequestBody$outboundSchema
|
|
49958
|
+
)))
|
|
48776
49959
|
}),
|
|
48777
49960
|
z113.transform((v) => {
|
|
48778
49961
|
return remap(v, {
|
|
@@ -48781,13 +49964,15 @@ var UpdatePlanLicenseBasePrice$outboundSchema = z113.pipe(
|
|
|
48781
49964
|
});
|
|
48782
49965
|
})
|
|
48783
49966
|
);
|
|
48784
|
-
var
|
|
49967
|
+
var UpdatePlanLicenseThresholdBillingRequestBody$outboundSchema = z113.object({
|
|
48785
49968
|
threshold: z113.number()
|
|
48786
49969
|
});
|
|
48787
|
-
var
|
|
48788
|
-
|
|
49970
|
+
var UpdatePlanLicenseResetIntervalRequestBody$outboundSchema = z113.enum(
|
|
49971
|
+
UpdatePlanLicenseResetIntervalRequestBody
|
|
49972
|
+
);
|
|
49973
|
+
var UpdatePlanLicenseResetRequestBody$outboundSchema = z113.pipe(
|
|
48789
49974
|
z113.object({
|
|
48790
|
-
interval:
|
|
49975
|
+
interval: UpdatePlanLicenseResetIntervalRequestBody$outboundSchema,
|
|
48791
49976
|
intervalCount: z113._default(z113.number(), 1)
|
|
48792
49977
|
}),
|
|
48793
49978
|
z113.transform((v) => {
|
|
@@ -48796,12 +49981,12 @@ var UpdatePlanLicenseReset$outboundSchema = z113.pipe(
|
|
|
48796
49981
|
});
|
|
48797
49982
|
})
|
|
48798
49983
|
);
|
|
48799
|
-
var
|
|
49984
|
+
var UpdatePlanLicenseAddItemAdditionalCurrencyRequestBody$outboundSchema = z113.object({
|
|
48800
49985
|
currency: z113.string(),
|
|
48801
49986
|
amount: z113.number()
|
|
48802
49987
|
});
|
|
48803
|
-
var
|
|
48804
|
-
var
|
|
49988
|
+
var UpdatePlanLicensePriceToRequestBody$outboundSchema = smartUnion([z113.number(), z113.string()]);
|
|
49989
|
+
var UpdatePlanLicenseTierAdditionalCurrencyRequestBody$outboundSchema = z113.pipe(
|
|
48805
49990
|
z113.object({
|
|
48806
49991
|
currency: z113.string(),
|
|
48807
49992
|
amount: z113.optional(z113.number()),
|
|
@@ -48813,13 +49998,13 @@ var UpdatePlanLicenseTierAdditionalCurrency$outboundSchema = z113.pipe(
|
|
|
48813
49998
|
});
|
|
48814
49999
|
})
|
|
48815
50000
|
);
|
|
48816
|
-
var
|
|
50001
|
+
var UpdatePlanLicensePriceTierRequestBody$outboundSchema = z113.pipe(
|
|
48817
50002
|
z113.object({
|
|
48818
50003
|
to: smartUnion([z113.number(), z113.string()]),
|
|
48819
50004
|
amount: z113.optional(z113.number()),
|
|
48820
50005
|
flatAmount: z113.optional(z113.number()),
|
|
48821
50006
|
additionalCurrencies: z113.optional(z113.array(z113.lazy(
|
|
48822
|
-
() =>
|
|
50007
|
+
() => UpdatePlanLicenseTierAdditionalCurrencyRequestBody$outboundSchema
|
|
48823
50008
|
)))
|
|
48824
50009
|
}),
|
|
48825
50010
|
z113.transform((v) => {
|
|
@@ -48829,27 +50014,27 @@ var UpdatePlanLicensePriceTier$outboundSchema = z113.pipe(
|
|
|
48829
50014
|
});
|
|
48830
50015
|
})
|
|
48831
50016
|
);
|
|
48832
|
-
var
|
|
48833
|
-
|
|
48834
|
-
UpdatePlanLicenseAddItemPriceInterval
|
|
48835
|
-
);
|
|
48836
|
-
var UpdatePlanLicenseAddItemBillingMethod$outboundSchema = z113.enum(
|
|
48837
|
-
UpdatePlanLicenseAddItemBillingMethod
|
|
50017
|
+
var UpdatePlanLicenseTierBehaviorRequestBody$outboundSchema = z113.enum(
|
|
50018
|
+
UpdatePlanLicenseTierBehaviorRequestBody
|
|
48838
50019
|
);
|
|
48839
|
-
var
|
|
50020
|
+
var UpdatePlanLicenseAddItemPriceIntervalRequestBody$outboundSchema = z113.enum(UpdatePlanLicenseAddItemPriceIntervalRequestBody);
|
|
50021
|
+
var UpdatePlanLicenseAddItemBillingMethodRequestBody$outboundSchema = z113.enum(UpdatePlanLicenseAddItemBillingMethodRequestBody);
|
|
50022
|
+
var UpdatePlanLicensePriceRequestBody$outboundSchema = z113.pipe(
|
|
48840
50023
|
z113.object({
|
|
48841
50024
|
amount: z113.optional(z113.number()),
|
|
48842
50025
|
additionalCurrencies: z113.optional(z113.array(z113.lazy(
|
|
48843
|
-
() =>
|
|
50026
|
+
() => UpdatePlanLicenseAddItemAdditionalCurrencyRequestBody$outboundSchema
|
|
48844
50027
|
))),
|
|
48845
50028
|
tiers: z113.optional(z113.array(z113.lazy(
|
|
48846
|
-
() =>
|
|
50029
|
+
() => UpdatePlanLicensePriceTierRequestBody$outboundSchema
|
|
48847
50030
|
))),
|
|
48848
|
-
tierBehavior: z113.optional(
|
|
48849
|
-
|
|
50031
|
+
tierBehavior: z113.optional(
|
|
50032
|
+
UpdatePlanLicenseTierBehaviorRequestBody$outboundSchema
|
|
50033
|
+
),
|
|
50034
|
+
interval: UpdatePlanLicenseAddItemPriceIntervalRequestBody$outboundSchema,
|
|
48850
50035
|
intervalCount: z113._default(z113.number(), 1),
|
|
48851
50036
|
billingUnits: z113._default(z113.number(), 1),
|
|
48852
|
-
billingMethod:
|
|
50037
|
+
billingMethod: UpdatePlanLicenseAddItemBillingMethodRequestBody$outboundSchema,
|
|
48853
50038
|
maxPurchase: z113.optional(z113.nullable(z113.number()))
|
|
48854
50039
|
}),
|
|
48855
50040
|
z113.transform((v) => {
|
|
@@ -48863,12 +50048,16 @@ var UpdatePlanLicensePrice$outboundSchema = z113.pipe(
|
|
|
48863
50048
|
});
|
|
48864
50049
|
})
|
|
48865
50050
|
);
|
|
48866
|
-
var
|
|
48867
|
-
|
|
48868
|
-
|
|
50051
|
+
var UpdatePlanLicenseOnIncreaseRequestBody$outboundSchema = z113.enum(
|
|
50052
|
+
UpdatePlanLicenseOnIncreaseRequestBody
|
|
50053
|
+
);
|
|
50054
|
+
var UpdatePlanLicenseOnDecreaseRequestBody$outboundSchema = z113.enum(
|
|
50055
|
+
UpdatePlanLicenseOnDecreaseRequestBody
|
|
50056
|
+
);
|
|
50057
|
+
var UpdatePlanLicenseProrationRequestBody$outboundSchema = z113.pipe(
|
|
48869
50058
|
z113.object({
|
|
48870
|
-
onIncrease:
|
|
48871
|
-
onDecrease:
|
|
50059
|
+
onIncrease: UpdatePlanLicenseOnIncreaseRequestBody$outboundSchema,
|
|
50060
|
+
onDecrease: UpdatePlanLicenseOnDecreaseRequestBody$outboundSchema
|
|
48872
50061
|
}),
|
|
48873
50062
|
z113.transform((v) => {
|
|
48874
50063
|
return remap(v, {
|
|
@@ -48877,12 +50066,14 @@ var UpdatePlanLicenseProration$outboundSchema = z113.pipe(
|
|
|
48877
50066
|
});
|
|
48878
50067
|
})
|
|
48879
50068
|
);
|
|
48880
|
-
var
|
|
48881
|
-
|
|
50069
|
+
var UpdatePlanLicenseExpiryDurationTypeRequestBody$outboundSchema = z113.enum(
|
|
50070
|
+
UpdatePlanLicenseExpiryDurationTypeRequestBody
|
|
50071
|
+
);
|
|
50072
|
+
var UpdatePlanLicenseRolloverRequestBody$outboundSchema = z113.pipe(
|
|
48882
50073
|
z113.object({
|
|
48883
50074
|
max: z113.optional(z113.number()),
|
|
48884
50075
|
maxPercentage: z113.optional(z113.number()),
|
|
48885
|
-
expiryDurationType:
|
|
50076
|
+
expiryDurationType: UpdatePlanLicenseExpiryDurationTypeRequestBody$outboundSchema,
|
|
48886
50077
|
expiryDurationLength: z113.optional(z113.number())
|
|
48887
50078
|
}),
|
|
48888
50079
|
z113.transform((v) => {
|
|
@@ -48893,13 +50084,13 @@ var UpdatePlanLicenseRollover$outboundSchema = z113.pipe(
|
|
|
48893
50084
|
});
|
|
48894
50085
|
})
|
|
48895
50086
|
);
|
|
48896
|
-
var
|
|
48897
|
-
var
|
|
48898
|
-
duration:
|
|
50087
|
+
var UpdatePlanLicenseDurationRequestBody$outboundSchema = z113.enum(UpdatePlanLicenseDurationRequestBody);
|
|
50088
|
+
var UpdatePlanLicenseExpiryRequestBody$outboundSchema = z113.object({
|
|
50089
|
+
duration: UpdatePlanLicenseDurationRequestBody$outboundSchema,
|
|
48899
50090
|
length: z113.number()
|
|
48900
50091
|
});
|
|
48901
50092
|
var UpdatePlanDimensionsLicenseMatch4$outboundSchema = smartUnion([z113.string(), z113.number(), z113.boolean()]);
|
|
48902
|
-
var
|
|
50093
|
+
var UpdatePlanDimensionsLicenseRequestBody4$outboundSchema = z113.pipe(
|
|
48903
50094
|
z113.object({
|
|
48904
50095
|
match: z113.record(
|
|
48905
50096
|
z113.string(),
|
|
@@ -48915,13 +50106,18 @@ var UpdatePlanDimensionsLicense4$outboundSchema = z113.pipe(
|
|
|
48915
50106
|
})
|
|
48916
50107
|
);
|
|
48917
50108
|
var UpdatePlanDimensionsLicenseMatch3$outboundSchema = smartUnion([z113.string(), z113.number(), z113.boolean()]);
|
|
48918
|
-
var
|
|
48919
|
-
|
|
48920
|
-
|
|
50109
|
+
var UpdatePlanDimensionsToLicenseRequestBodyEnum2$outboundSchema = z113.enum(
|
|
50110
|
+
UpdatePlanDimensionsToLicenseRequestBodyEnum2
|
|
50111
|
+
);
|
|
50112
|
+
var UpdatePlanDimensionsLicenseToRequestBodyUnion2$outboundSchema = smartUnion([
|
|
50113
|
+
z113.number(),
|
|
50114
|
+
UpdatePlanDimensionsToLicenseRequestBodyEnum2$outboundSchema
|
|
50115
|
+
]);
|
|
50116
|
+
var UpdatePlanDimensionsLicenseTierRequestBody2$outboundSchema = z113.pipe(
|
|
48921
50117
|
z113.object({
|
|
48922
50118
|
to: smartUnion([
|
|
48923
50119
|
z113.number(),
|
|
48924
|
-
|
|
50120
|
+
UpdatePlanDimensionsToLicenseRequestBodyEnum2$outboundSchema
|
|
48925
50121
|
]),
|
|
48926
50122
|
creditCost: z113.number()
|
|
48927
50123
|
}),
|
|
@@ -48931,7 +50127,7 @@ var UpdatePlanDimensionsLicenseTier2$outboundSchema = z113.pipe(
|
|
|
48931
50127
|
});
|
|
48932
50128
|
})
|
|
48933
50129
|
);
|
|
48934
|
-
var
|
|
50130
|
+
var UpdatePlanDimensionsLicenseRequestBody3$outboundSchema = z113.pipe(
|
|
48935
50131
|
z113.object({
|
|
48936
50132
|
match: z113.record(
|
|
48937
50133
|
z113.string(),
|
|
@@ -48940,7 +50136,9 @@ var UpdatePlanDimensionsLicense3$outboundSchema = z113.pipe(
|
|
|
48940
50136
|
priority: z113.optional(z113.int()),
|
|
48941
50137
|
tierBehavior: z113.literal("graduated"),
|
|
48942
50138
|
tiers: z113.array(
|
|
48943
|
-
z113.lazy(
|
|
50139
|
+
z113.lazy(
|
|
50140
|
+
() => UpdatePlanDimensionsLicenseTierRequestBody2$outboundSchema
|
|
50141
|
+
)
|
|
48944
50142
|
)
|
|
48945
50143
|
}),
|
|
48946
50144
|
z113.transform((v) => {
|
|
@@ -48949,12 +50147,12 @@ var UpdatePlanDimensionsLicense3$outboundSchema = z113.pipe(
|
|
|
48949
50147
|
});
|
|
48950
50148
|
})
|
|
48951
50149
|
);
|
|
48952
|
-
var
|
|
48953
|
-
z113.lazy(() =>
|
|
48954
|
-
z113.lazy(() =>
|
|
50150
|
+
var UpdatePlanLicenseDimensionsRequestBodyUnion2$outboundSchema = smartUnion([
|
|
50151
|
+
z113.lazy(() => UpdatePlanDimensionsLicenseRequestBody3$outboundSchema),
|
|
50152
|
+
z113.lazy(() => UpdatePlanDimensionsLicenseRequestBody4$outboundSchema)
|
|
48955
50153
|
]);
|
|
48956
50154
|
var UpdatePlanLicenseMultipliersMatch2$outboundSchema = smartUnion([z113.string(), z113.number(), z113.boolean()]);
|
|
48957
|
-
var
|
|
50155
|
+
var UpdatePlanLicenseMultipliersRequestBody2$outboundSchema = z113.object({
|
|
48958
50156
|
match: z113.record(
|
|
48959
50157
|
z113.string(),
|
|
48960
50158
|
smartUnion([z113.string(), z113.number(), z113.boolean()])
|
|
@@ -48962,20 +50160,20 @@ var UpdatePlanLicenseMultipliers2$outboundSchema = z113.object({
|
|
|
48962
50160
|
factor: z113.optional(z113.number()),
|
|
48963
50161
|
add: z113.optional(z113.number())
|
|
48964
50162
|
});
|
|
48965
|
-
var
|
|
50163
|
+
var UpdatePlanCreditSchemaLicenseRequestBody2$outboundSchema = z113.pipe(
|
|
48966
50164
|
z113.object({
|
|
48967
50165
|
meteredFeatureId: z113.string(),
|
|
48968
50166
|
billingUnits: z113.optional(z113.number()),
|
|
48969
50167
|
dimensions: z113.optional(z113.record(
|
|
48970
50168
|
z113.string(),
|
|
48971
50169
|
smartUnion([
|
|
48972
|
-
z113.lazy(() =>
|
|
48973
|
-
z113.lazy(() =>
|
|
50170
|
+
z113.lazy(() => UpdatePlanDimensionsLicenseRequestBody3$outboundSchema),
|
|
50171
|
+
z113.lazy(() => UpdatePlanDimensionsLicenseRequestBody4$outboundSchema)
|
|
48974
50172
|
])
|
|
48975
50173
|
)),
|
|
48976
50174
|
multipliers: z113.optional(z113.record(
|
|
48977
50175
|
z113.string(),
|
|
48978
|
-
z113.lazy(() =>
|
|
50176
|
+
z113.lazy(() => UpdatePlanLicenseMultipliersRequestBody2$outboundSchema)
|
|
48979
50177
|
)),
|
|
48980
50178
|
creditCost: z113.number()
|
|
48981
50179
|
}),
|
|
@@ -48988,7 +50186,7 @@ var UpdatePlanCreditSchemaLicense2$outboundSchema = z113.pipe(
|
|
|
48988
50186
|
})
|
|
48989
50187
|
);
|
|
48990
50188
|
var UpdatePlanDimensionsLicenseMatch2$outboundSchema = smartUnion([z113.string(), z113.number(), z113.boolean()]);
|
|
48991
|
-
var
|
|
50189
|
+
var UpdatePlanDimensionsLicenseRequestBody2$outboundSchema = z113.pipe(
|
|
48992
50190
|
z113.object({
|
|
48993
50191
|
match: z113.record(
|
|
48994
50192
|
z113.string(),
|
|
@@ -49004,13 +50202,18 @@ var UpdatePlanDimensionsLicense2$outboundSchema = z113.pipe(
|
|
|
49004
50202
|
})
|
|
49005
50203
|
);
|
|
49006
50204
|
var UpdatePlanDimensionsLicenseMatch1$outboundSchema = smartUnion([z113.string(), z113.number(), z113.boolean()]);
|
|
49007
|
-
var
|
|
49008
|
-
|
|
49009
|
-
|
|
50205
|
+
var UpdatePlanDimensionsToLicenseRequestBodyEnum1$outboundSchema = z113.enum(
|
|
50206
|
+
UpdatePlanDimensionsToLicenseRequestBodyEnum1
|
|
50207
|
+
);
|
|
50208
|
+
var UpdatePlanDimensionsLicenseToRequestBodyUnion1$outboundSchema = smartUnion([
|
|
50209
|
+
z113.number(),
|
|
50210
|
+
UpdatePlanDimensionsToLicenseRequestBodyEnum1$outboundSchema
|
|
50211
|
+
]);
|
|
50212
|
+
var UpdatePlanDimensionsLicenseTierRequestBody1$outboundSchema = z113.pipe(
|
|
49010
50213
|
z113.object({
|
|
49011
50214
|
to: smartUnion([
|
|
49012
50215
|
z113.number(),
|
|
49013
|
-
|
|
50216
|
+
UpdatePlanDimensionsToLicenseRequestBodyEnum1$outboundSchema
|
|
49014
50217
|
]),
|
|
49015
50218
|
creditCost: z113.number()
|
|
49016
50219
|
}),
|
|
@@ -49020,7 +50223,7 @@ var UpdatePlanDimensionsLicenseTier1$outboundSchema = z113.pipe(
|
|
|
49020
50223
|
});
|
|
49021
50224
|
})
|
|
49022
50225
|
);
|
|
49023
|
-
var
|
|
50226
|
+
var UpdatePlanDimensionsLicenseRequestBody1$outboundSchema = z113.pipe(
|
|
49024
50227
|
z113.object({
|
|
49025
50228
|
match: z113.record(
|
|
49026
50229
|
z113.string(),
|
|
@@ -49029,7 +50232,9 @@ var UpdatePlanDimensionsLicense1$outboundSchema = z113.pipe(
|
|
|
49029
50232
|
priority: z113.optional(z113.int()),
|
|
49030
50233
|
tierBehavior: z113.literal("graduated"),
|
|
49031
50234
|
tiers: z113.array(
|
|
49032
|
-
z113.lazy(
|
|
50235
|
+
z113.lazy(
|
|
50236
|
+
() => UpdatePlanDimensionsLicenseTierRequestBody1$outboundSchema
|
|
50237
|
+
)
|
|
49033
50238
|
)
|
|
49034
50239
|
}),
|
|
49035
50240
|
z113.transform((v) => {
|
|
@@ -49038,12 +50243,12 @@ var UpdatePlanDimensionsLicense1$outboundSchema = z113.pipe(
|
|
|
49038
50243
|
});
|
|
49039
50244
|
})
|
|
49040
50245
|
);
|
|
49041
|
-
var
|
|
49042
|
-
z113.lazy(() =>
|
|
49043
|
-
z113.lazy(() =>
|
|
50246
|
+
var UpdatePlanLicenseDimensionsRequestBodyUnion1$outboundSchema = smartUnion([
|
|
50247
|
+
z113.lazy(() => UpdatePlanDimensionsLicenseRequestBody1$outboundSchema),
|
|
50248
|
+
z113.lazy(() => UpdatePlanDimensionsLicenseRequestBody2$outboundSchema)
|
|
49044
50249
|
]);
|
|
49045
50250
|
var UpdatePlanLicenseMultipliersMatch1$outboundSchema = smartUnion([z113.string(), z113.number(), z113.boolean()]);
|
|
49046
|
-
var
|
|
50251
|
+
var UpdatePlanLicenseMultipliersRequestBody1$outboundSchema = z113.object({
|
|
49047
50252
|
match: z113.record(
|
|
49048
50253
|
z113.string(),
|
|
49049
50254
|
smartUnion([z113.string(), z113.number(), z113.boolean()])
|
|
@@ -49051,11 +50256,17 @@ var UpdatePlanLicenseMultipliers1$outboundSchema = z113.object({
|
|
|
49051
50256
|
factor: z113.optional(z113.number()),
|
|
49052
50257
|
add: z113.optional(z113.number())
|
|
49053
50258
|
});
|
|
49054
|
-
var
|
|
49055
|
-
var
|
|
49056
|
-
|
|
50259
|
+
var UpdatePlanToLicenseRequestBodyEnum$outboundSchema = z113.enum(UpdatePlanToLicenseRequestBodyEnum);
|
|
50260
|
+
var UpdatePlanLicenseFeatureOverrideToRequestBodyUnion$outboundSchema = smartUnion([
|
|
50261
|
+
z113.number(),
|
|
50262
|
+
UpdatePlanToLicenseRequestBodyEnum$outboundSchema
|
|
50263
|
+
]);
|
|
50264
|
+
var UpdatePlanLicenseFeatureOverrideTierRequestBody$outboundSchema = z113.pipe(
|
|
49057
50265
|
z113.object({
|
|
49058
|
-
to: smartUnion([
|
|
50266
|
+
to: smartUnion([
|
|
50267
|
+
z113.number(),
|
|
50268
|
+
UpdatePlanToLicenseRequestBodyEnum$outboundSchema
|
|
50269
|
+
]),
|
|
49059
50270
|
creditCost: z113.number()
|
|
49060
50271
|
}),
|
|
49061
50272
|
z113.transform((v) => {
|
|
@@ -49064,24 +50275,24 @@ var UpdatePlanLicenseFeatureOverrideTier$outboundSchema = z113.pipe(
|
|
|
49064
50275
|
});
|
|
49065
50276
|
})
|
|
49066
50277
|
);
|
|
49067
|
-
var
|
|
50278
|
+
var UpdatePlanCreditSchemaLicenseRequestBody1$outboundSchema = z113.pipe(
|
|
49068
50279
|
z113.object({
|
|
49069
50280
|
meteredFeatureId: z113.string(),
|
|
49070
50281
|
billingUnits: z113.optional(z113.number()),
|
|
49071
50282
|
dimensions: z113.optional(z113.record(
|
|
49072
50283
|
z113.string(),
|
|
49073
50284
|
smartUnion([
|
|
49074
|
-
z113.lazy(() =>
|
|
49075
|
-
z113.lazy(() =>
|
|
50285
|
+
z113.lazy(() => UpdatePlanDimensionsLicenseRequestBody1$outboundSchema),
|
|
50286
|
+
z113.lazy(() => UpdatePlanDimensionsLicenseRequestBody2$outboundSchema)
|
|
49076
50287
|
])
|
|
49077
50288
|
)),
|
|
49078
50289
|
multipliers: z113.optional(z113.record(
|
|
49079
50290
|
z113.string(),
|
|
49080
|
-
z113.lazy(() =>
|
|
50291
|
+
z113.lazy(() => UpdatePlanLicenseMultipliersRequestBody1$outboundSchema)
|
|
49081
50292
|
)),
|
|
49082
50293
|
tierBehavior: z113.literal("graduated"),
|
|
49083
50294
|
tiers: z113.array(z113.lazy(
|
|
49084
|
-
() =>
|
|
50295
|
+
() => UpdatePlanLicenseFeatureOverrideTierRequestBody$outboundSchema
|
|
49085
50296
|
))
|
|
49086
50297
|
}),
|
|
49087
50298
|
z113.transform((v) => {
|
|
@@ -49092,14 +50303,14 @@ var UpdatePlanCreditSchemaLicense1$outboundSchema = z113.pipe(
|
|
|
49092
50303
|
});
|
|
49093
50304
|
})
|
|
49094
50305
|
);
|
|
49095
|
-
var
|
|
49096
|
-
z113.lazy(() =>
|
|
49097
|
-
z113.lazy(() =>
|
|
50306
|
+
var UpdatePlanLicenseCreditSchemaRequestBodyUnion$outboundSchema = smartUnion([
|
|
50307
|
+
z113.lazy(() => UpdatePlanCreditSchemaLicenseRequestBody1$outboundSchema),
|
|
50308
|
+
z113.lazy(() => UpdatePlanCreditSchemaLicenseRequestBody2$outboundSchema)
|
|
49098
50309
|
]);
|
|
49099
|
-
var
|
|
50310
|
+
var UpdatePlanLicenseProviderMarkupsRequestBody$outboundSchema = z113.object({
|
|
49100
50311
|
markup: z113.number()
|
|
49101
50312
|
});
|
|
49102
|
-
var
|
|
50313
|
+
var UpdatePlanLicenseModelMarkupsRequestBody$outboundSchema = z113.pipe(
|
|
49103
50314
|
z113.object({
|
|
49104
50315
|
markup: z113.optional(z113.number()),
|
|
49105
50316
|
inputCost: z113.optional(z113.number()),
|
|
@@ -49112,16 +50323,16 @@ var UpdatePlanLicenseModelMarkups$outboundSchema = z113.pipe(
|
|
|
49112
50323
|
});
|
|
49113
50324
|
})
|
|
49114
50325
|
);
|
|
49115
|
-
var
|
|
50326
|
+
var UpdatePlanLicenseMarkupsRequestBody$outboundSchema = z113.pipe(
|
|
49116
50327
|
z113.object({
|
|
49117
50328
|
defaultMarkup: z113.optional(z113.number()),
|
|
49118
50329
|
providerMarkups: z113.optional(z113.nullable(z113.record(
|
|
49119
50330
|
z113.string(),
|
|
49120
|
-
z113.lazy(() =>
|
|
50331
|
+
z113.lazy(() => UpdatePlanLicenseProviderMarkupsRequestBody$outboundSchema)
|
|
49121
50332
|
))),
|
|
49122
50333
|
modelMarkups: z113.optional(z113.nullable(z113.record(
|
|
49123
50334
|
z113.string(),
|
|
49124
|
-
z113.lazy(() =>
|
|
50335
|
+
z113.lazy(() => UpdatePlanLicenseModelMarkupsRequestBody$outboundSchema)
|
|
49125
50336
|
)))
|
|
49126
50337
|
}),
|
|
49127
50338
|
z113.transform((v) => {
|
|
@@ -49132,16 +50343,16 @@ var UpdatePlanLicenseMarkups$outboundSchema = z113.pipe(
|
|
|
49132
50343
|
});
|
|
49133
50344
|
})
|
|
49134
50345
|
);
|
|
49135
|
-
var
|
|
50346
|
+
var UpdatePlanLicenseFeatureOverrideRequestBody$outboundSchema = z113.pipe(
|
|
49136
50347
|
z113.object({
|
|
49137
50348
|
creditSchema: z113.optional(z113.array(smartUnion([
|
|
49138
|
-
z113.lazy(() =>
|
|
50349
|
+
z113.lazy(() => UpdatePlanCreditSchemaLicenseRequestBody1$outboundSchema),
|
|
49139
50350
|
z113.lazy(
|
|
49140
|
-
() =>
|
|
50351
|
+
() => UpdatePlanCreditSchemaLicenseRequestBody2$outboundSchema
|
|
49141
50352
|
)
|
|
49142
50353
|
]))),
|
|
49143
50354
|
markups: z113.optional(z113.lazy(
|
|
49144
|
-
() =>
|
|
50355
|
+
() => UpdatePlanLicenseMarkupsRequestBody$outboundSchema
|
|
49145
50356
|
))
|
|
49146
50357
|
}),
|
|
49147
50358
|
z113.transform((v) => {
|
|
@@ -49150,29 +50361,33 @@ var UpdatePlanLicenseFeatureOverride$outboundSchema = z113.pipe(
|
|
|
49150
50361
|
});
|
|
49151
50362
|
})
|
|
49152
50363
|
);
|
|
49153
|
-
var
|
|
50364
|
+
var UpdatePlanLicensePlanItemRequestBody$outboundSchema = z113.pipe(
|
|
49154
50365
|
z113.object({
|
|
49155
|
-
thresholdBilling: z113.optional(
|
|
49156
|
-
|
|
49157
|
-
|
|
49158
|
-
)
|
|
49159
|
-
),
|
|
50366
|
+
thresholdBilling: z113.optional(z113.nullable(z113.lazy(
|
|
50367
|
+
() => UpdatePlanLicenseThresholdBillingRequestBody$outboundSchema
|
|
50368
|
+
))),
|
|
49160
50369
|
featureId: z113.string(),
|
|
49161
50370
|
included: z113.optional(z113.number()),
|
|
49162
50371
|
unlimited: z113.optional(z113.boolean()),
|
|
49163
50372
|
pooled: z113._default(z113.boolean(), false),
|
|
49164
|
-
reset: z113.optional(z113.lazy(
|
|
49165
|
-
|
|
49166
|
-
|
|
49167
|
-
|
|
49168
|
-
|
|
49169
|
-
|
|
49170
|
-
|
|
49171
|
-
|
|
49172
|
-
|
|
49173
|
-
|
|
49174
|
-
|
|
49175
|
-
)
|
|
50373
|
+
reset: z113.optional(z113.lazy(
|
|
50374
|
+
() => UpdatePlanLicenseResetRequestBody$outboundSchema
|
|
50375
|
+
)),
|
|
50376
|
+
price: z113.optional(z113.lazy(
|
|
50377
|
+
() => UpdatePlanLicensePriceRequestBody$outboundSchema
|
|
50378
|
+
)),
|
|
50379
|
+
proration: z113.optional(z113.lazy(
|
|
50380
|
+
() => UpdatePlanLicenseProrationRequestBody$outboundSchema
|
|
50381
|
+
)),
|
|
50382
|
+
rollover: z113.optional(z113.lazy(
|
|
50383
|
+
() => UpdatePlanLicenseRolloverRequestBody$outboundSchema
|
|
50384
|
+
)),
|
|
50385
|
+
expiry: z113.optional(z113.lazy(
|
|
50386
|
+
() => UpdatePlanLicenseExpiryRequestBody$outboundSchema
|
|
50387
|
+
)),
|
|
50388
|
+
featureOverride: z113.optional(z113.lazy(
|
|
50389
|
+
() => UpdatePlanLicenseFeatureOverrideRequestBody$outboundSchema
|
|
50390
|
+
))
|
|
49176
50391
|
}),
|
|
49177
50392
|
z113.transform((v) => {
|
|
49178
50393
|
return remap(v, {
|
|
@@ -49182,29 +50397,23 @@ var UpdatePlanLicensePlanItem$outboundSchema = z113.pipe(
|
|
|
49182
50397
|
});
|
|
49183
50398
|
})
|
|
49184
50399
|
);
|
|
49185
|
-
var
|
|
49186
|
-
|
|
49187
|
-
);
|
|
49188
|
-
var
|
|
49189
|
-
|
|
49190
|
-
|
|
49191
|
-
var UpdatePlanIntervalLicenseRemoveItemEnum1$outboundSchema = z113.enum(
|
|
49192
|
-
UpdatePlanIntervalLicenseRemoveItemEnum1
|
|
49193
|
-
);
|
|
49194
|
-
var UpdatePlanLicenseIntervalUnion$outboundSchema = smartUnion([
|
|
49195
|
-
UpdatePlanIntervalLicenseRemoveItemEnum1$outboundSchema,
|
|
49196
|
-
UpdatePlanIntervalLicenseRemoveItemEnum2$outboundSchema
|
|
50400
|
+
var UpdatePlanLicenseRemoveItemBillingMethodRequestBody$outboundSchema = z113.enum(UpdatePlanLicenseRemoveItemBillingMethodRequestBody);
|
|
50401
|
+
var UpdatePlanIntervalLicenseRemoveItemRequestBodyEnum2$outboundSchema = z113.enum(UpdatePlanIntervalLicenseRemoveItemRequestBodyEnum2);
|
|
50402
|
+
var UpdatePlanIntervalLicenseRemoveItemRequestBodyEnum1$outboundSchema = z113.enum(UpdatePlanIntervalLicenseRemoveItemRequestBodyEnum1);
|
|
50403
|
+
var UpdatePlanLicenseIntervalRequestBodyUnion$outboundSchema = smartUnion([
|
|
50404
|
+
UpdatePlanIntervalLicenseRemoveItemRequestBodyEnum1$outboundSchema,
|
|
50405
|
+
UpdatePlanIntervalLicenseRemoveItemRequestBodyEnum2$outboundSchema
|
|
49197
50406
|
]);
|
|
49198
|
-
var
|
|
50407
|
+
var UpdatePlanLicensePlanItemFilterRequestBody$outboundSchema = z113.pipe(
|
|
49199
50408
|
z113.object({
|
|
49200
50409
|
featureId: z113.optional(z113.string()),
|
|
49201
50410
|
billingMethod: z113.optional(
|
|
49202
|
-
|
|
50411
|
+
UpdatePlanLicenseRemoveItemBillingMethodRequestBody$outboundSchema
|
|
49203
50412
|
),
|
|
49204
50413
|
interval: z113.optional(
|
|
49205
50414
|
smartUnion([
|
|
49206
|
-
|
|
49207
|
-
|
|
50415
|
+
UpdatePlanIntervalLicenseRemoveItemRequestBodyEnum1$outboundSchema,
|
|
50416
|
+
UpdatePlanIntervalLicenseRemoveItemRequestBodyEnum2$outboundSchema
|
|
49208
50417
|
])
|
|
49209
50418
|
),
|
|
49210
50419
|
intervalCount: z113.optional(z113.int()),
|
|
@@ -49218,17 +50427,17 @@ var UpdatePlanLicensePlanItemFilter$outboundSchema = z113.pipe(
|
|
|
49218
50427
|
});
|
|
49219
50428
|
})
|
|
49220
50429
|
);
|
|
49221
|
-
var
|
|
50430
|
+
var UpdatePlanLicenseCustomizeRequestBody$outboundSchema = z113.pipe(
|
|
49222
50431
|
z113.object({
|
|
49223
|
-
price: z113.optional(
|
|
49224
|
-
|
|
49225
|
-
),
|
|
49226
|
-
addItems: z113.optional(
|
|
49227
|
-
|
|
49228
|
-
),
|
|
49229
|
-
removeItems: z113.optional(
|
|
49230
|
-
|
|
49231
|
-
)
|
|
50432
|
+
price: z113.optional(z113.nullable(z113.lazy(
|
|
50433
|
+
() => UpdatePlanLicenseBasePriceRequestBody$outboundSchema
|
|
50434
|
+
))),
|
|
50435
|
+
addItems: z113.optional(z113.array(z113.lazy(
|
|
50436
|
+
() => UpdatePlanLicensePlanItemRequestBody$outboundSchema
|
|
50437
|
+
))),
|
|
50438
|
+
removeItems: z113.optional(z113.array(z113.lazy(
|
|
50439
|
+
() => UpdatePlanLicensePlanItemFilterRequestBody$outboundSchema
|
|
50440
|
+
)))
|
|
49232
50441
|
}),
|
|
49233
50442
|
z113.transform((v) => {
|
|
49234
50443
|
return remap(v, {
|
|
@@ -49237,15 +50446,15 @@ var UpdatePlanLicenseCustomize$outboundSchema = z113.pipe(
|
|
|
49237
50446
|
});
|
|
49238
50447
|
})
|
|
49239
50448
|
);
|
|
49240
|
-
var
|
|
50449
|
+
var UpdatePlanLicenseRequest$outboundSchema = z113.pipe(
|
|
49241
50450
|
z113.object({
|
|
49242
50451
|
licensePlanId: z113.string(),
|
|
49243
50452
|
versionSlug: z113.optional(z113.string()),
|
|
49244
50453
|
included: z113.optional(z113.int()),
|
|
49245
50454
|
prepaidOnly: z113.optional(z113.boolean()),
|
|
49246
|
-
customize: z113.optional(
|
|
49247
|
-
|
|
49248
|
-
),
|
|
50455
|
+
customize: z113.optional(z113.nullable(z113.lazy(
|
|
50456
|
+
() => UpdatePlanLicenseCustomizeRequestBody$outboundSchema
|
|
50457
|
+
))),
|
|
49249
50458
|
metadata: z113.optional(z113.record(z113.string(), z113.any()))
|
|
49250
50459
|
}),
|
|
49251
50460
|
z113.transform((v) => {
|
|
@@ -50934,7 +52143,7 @@ var UpdatePlanParams$outboundSchema = z114.pipe(
|
|
|
50934
52143
|
z114.nullable(UpdatePlanBasePriceRequestBody$outboundSchema)
|
|
50935
52144
|
),
|
|
50936
52145
|
items: z114.optional(z114.array(UpdatePlanItemPlanItem$outboundSchema)),
|
|
50937
|
-
licenses: z114.optional(z114.array(
|
|
52146
|
+
licenses: z114.optional(z114.array(UpdatePlanLicenseRequest$outboundSchema)),
|
|
50938
52147
|
freeTrial: z114.optional(
|
|
50939
52148
|
z114.nullable(UpdatePlanFreeTrialParamsRequestBody$outboundSchema)
|
|
50940
52149
|
),
|
|
@@ -51242,17 +52451,17 @@ var UpdatePlanVariantDetailsAddItemPriceInterval = {
|
|
|
51242
52451
|
SemiAnnual: "semi_annual",
|
|
51243
52452
|
Year: "year"
|
|
51244
52453
|
};
|
|
51245
|
-
var
|
|
52454
|
+
var UpdatePlanVariantDetailsAddItemBillingMethod = {
|
|
51246
52455
|
Prepaid: "prepaid",
|
|
51247
52456
|
UsageBased: "usage_based"
|
|
51248
52457
|
};
|
|
51249
|
-
var
|
|
52458
|
+
var UpdatePlanVariantDetailsOnIncrease = {
|
|
51250
52459
|
BillImmediately: "bill_immediately",
|
|
51251
52460
|
ProrateImmediately: "prorate_immediately",
|
|
51252
52461
|
ProrateNextCycle: "prorate_next_cycle",
|
|
51253
52462
|
BillNextCycle: "bill_next_cycle"
|
|
51254
52463
|
};
|
|
51255
|
-
var
|
|
52464
|
+
var UpdatePlanVariantDetailsOnDecrease = {
|
|
51256
52465
|
Prorate: "prorate",
|
|
51257
52466
|
ProrateImmediately: "prorate_immediately",
|
|
51258
52467
|
ProrateNextCycle: "prorate_next_cycle",
|
|
@@ -51278,7 +52487,7 @@ var UpdatePlanDimensionsToVariantDetailsEnum1 = {
|
|
|
51278
52487
|
var UpdatePlanToVariantDetailsEnum = {
|
|
51279
52488
|
Inf: "inf"
|
|
51280
52489
|
};
|
|
51281
|
-
var
|
|
52490
|
+
var UpdatePlanVariantDetailsRemoveItemBillingMethod = {
|
|
51282
52491
|
Prepaid: "prepaid",
|
|
51283
52492
|
UsageBased: "usage_based"
|
|
51284
52493
|
};
|
|
@@ -51373,7 +52582,7 @@ var UpdatePlanVariantDetailsUpsertLicenseAddItemPriceInterval = {
|
|
|
51373
52582
|
SemiAnnual: "semi_annual",
|
|
51374
52583
|
Year: "year"
|
|
51375
52584
|
};
|
|
51376
|
-
var
|
|
52585
|
+
var UpdatePlanVariantDetailsUpsertLicenseAddItemBillingMethod = {
|
|
51377
52586
|
Prepaid: "prepaid",
|
|
51378
52587
|
UsageBased: "usage_based"
|
|
51379
52588
|
};
|
|
@@ -51390,7 +52599,7 @@ var UpdatePlanUpsertLicenseOnDecreaseResponse = {
|
|
|
51390
52599
|
None: "none",
|
|
51391
52600
|
NoProrations: "no_prorations"
|
|
51392
52601
|
};
|
|
51393
|
-
var
|
|
52602
|
+
var UpdatePlanVariantDetailsUpsertLicenseExpiryDurationType = {
|
|
51394
52603
|
Month: "month",
|
|
51395
52604
|
Forever: "forever"
|
|
51396
52605
|
};
|
|
@@ -51977,7 +53186,7 @@ var UpdatePlanVariantDetailsAdditionalCurrency$inboundSchema = z115.object(
|
|
|
51977
53186
|
amount: number2()
|
|
51978
53187
|
}
|
|
51979
53188
|
);
|
|
51980
|
-
var
|
|
53189
|
+
var UpdatePlanVariantDetailsBasePrice$inboundSchema = z115.pipe(
|
|
51981
53190
|
z115.object({
|
|
51982
53191
|
amount: number2(),
|
|
51983
53192
|
interval: UpdatePlanPriceVariantDetailsInterval$inboundSchema,
|
|
@@ -52008,7 +53217,7 @@ var UpdatePlanVariantDetailsReset$inboundSchema = z115.pipe(
|
|
|
52008
53217
|
});
|
|
52009
53218
|
})
|
|
52010
53219
|
);
|
|
52011
|
-
var
|
|
53220
|
+
var UpdatePlanVariantDetailsAddItemAdditionalCurrency$inboundSchema = z115.object({
|
|
52012
53221
|
currency: string5(),
|
|
52013
53222
|
amount: number2()
|
|
52014
53223
|
});
|
|
@@ -52043,12 +53252,12 @@ var UpdatePlanVariantDetailsPriceTier$inboundSchema = z115.pipe(
|
|
|
52043
53252
|
);
|
|
52044
53253
|
var UpdatePlanVariantDetailsTierBehavior$inboundSchema = inboundSchema(UpdatePlanVariantDetailsTierBehavior);
|
|
52045
53254
|
var UpdatePlanVariantDetailsAddItemPriceInterval$inboundSchema = inboundSchema(UpdatePlanVariantDetailsAddItemPriceInterval);
|
|
52046
|
-
var
|
|
53255
|
+
var UpdatePlanVariantDetailsAddItemBillingMethod$inboundSchema = inboundSchema(UpdatePlanVariantDetailsAddItemBillingMethod);
|
|
52047
53256
|
var UpdatePlanVariantDetailsPrice$inboundSchema = z115.pipe(
|
|
52048
53257
|
z115.object({
|
|
52049
53258
|
amount: optional3(number2()),
|
|
52050
53259
|
additional_currencies: optional3(z115.array(z115.lazy(
|
|
52051
|
-
() =>
|
|
53260
|
+
() => UpdatePlanVariantDetailsAddItemAdditionalCurrency$inboundSchema
|
|
52052
53261
|
))),
|
|
52053
53262
|
tiers: optional3(z115.array(z115.lazy(
|
|
52054
53263
|
() => UpdatePlanVariantDetailsPriceTier$inboundSchema
|
|
@@ -52059,7 +53268,7 @@ var UpdatePlanVariantDetailsPrice$inboundSchema = z115.pipe(
|
|
|
52059
53268
|
interval: UpdatePlanVariantDetailsAddItemPriceInterval$inboundSchema,
|
|
52060
53269
|
interval_count: z115._default(number2(), 1),
|
|
52061
53270
|
billing_units: z115._default(number2(), 1),
|
|
52062
|
-
billing_method:
|
|
53271
|
+
billing_method: UpdatePlanVariantDetailsAddItemBillingMethod$inboundSchema,
|
|
52063
53272
|
max_purchase: z115.optional(z115.nullable(number2()))
|
|
52064
53273
|
}),
|
|
52065
53274
|
z115.transform((v) => {
|
|
@@ -52073,12 +53282,12 @@ var UpdatePlanVariantDetailsPrice$inboundSchema = z115.pipe(
|
|
|
52073
53282
|
});
|
|
52074
53283
|
})
|
|
52075
53284
|
);
|
|
52076
|
-
var
|
|
52077
|
-
var
|
|
52078
|
-
var
|
|
53285
|
+
var UpdatePlanVariantDetailsOnIncrease$inboundSchema = inboundSchema(UpdatePlanVariantDetailsOnIncrease);
|
|
53286
|
+
var UpdatePlanVariantDetailsOnDecrease$inboundSchema = inboundSchema(UpdatePlanVariantDetailsOnDecrease);
|
|
53287
|
+
var UpdatePlanVariantDetailsProration$inboundSchema = z115.pipe(
|
|
52079
53288
|
z115.object({
|
|
52080
|
-
on_increase:
|
|
52081
|
-
on_decrease:
|
|
53289
|
+
on_increase: UpdatePlanVariantDetailsOnIncrease$inboundSchema,
|
|
53290
|
+
on_decrease: UpdatePlanVariantDetailsOnDecrease$inboundSchema
|
|
52082
53291
|
}),
|
|
52083
53292
|
z115.transform((v) => {
|
|
52084
53293
|
return remap(v, {
|
|
@@ -52353,7 +53562,7 @@ var UpdatePlanVariantDetailsFeatureOverride$inboundSchema = z115.pipe(
|
|
|
52353
53562
|
});
|
|
52354
53563
|
})
|
|
52355
53564
|
);
|
|
52356
|
-
var
|
|
53565
|
+
var UpdatePlanVariantDetailsPlanItem$inboundSchema = z115.pipe(
|
|
52357
53566
|
z115.object({
|
|
52358
53567
|
threshold_billing: z115.optional(z115.nullable(z115.lazy(
|
|
52359
53568
|
() => UpdatePlanVariantDetailsThresholdBilling$inboundSchema
|
|
@@ -52369,7 +53578,7 @@ var UpdatePlanPlanItemResponse$inboundSchema = z115.pipe(
|
|
|
52369
53578
|
() => UpdatePlanVariantDetailsPrice$inboundSchema
|
|
52370
53579
|
)),
|
|
52371
53580
|
proration: optional3(z115.lazy(
|
|
52372
|
-
() =>
|
|
53581
|
+
() => UpdatePlanVariantDetailsProration$inboundSchema
|
|
52373
53582
|
)),
|
|
52374
53583
|
rollover: optional3(z115.lazy(
|
|
52375
53584
|
() => UpdatePlanVariantDetailsRollover$inboundSchema
|
|
@@ -52389,18 +53598,18 @@ var UpdatePlanPlanItemResponse$inboundSchema = z115.pipe(
|
|
|
52389
53598
|
});
|
|
52390
53599
|
})
|
|
52391
53600
|
);
|
|
52392
|
-
var
|
|
53601
|
+
var UpdatePlanVariantDetailsRemoveItemBillingMethod$inboundSchema = inboundSchema(UpdatePlanVariantDetailsRemoveItemBillingMethod);
|
|
52393
53602
|
var UpdatePlanIntervalVariantDetailsRemoveItemEnum2$inboundSchema = inboundSchema(UpdatePlanIntervalVariantDetailsRemoveItemEnum2);
|
|
52394
53603
|
var UpdatePlanIntervalVariantDetailsRemoveItemEnum1$inboundSchema = inboundSchema(UpdatePlanIntervalVariantDetailsRemoveItemEnum1);
|
|
52395
53604
|
var UpdatePlanVariantDetailsIntervalUnion$inboundSchema = smartUnion([
|
|
52396
53605
|
UpdatePlanIntervalVariantDetailsRemoveItemEnum1$inboundSchema,
|
|
52397
53606
|
UpdatePlanIntervalVariantDetailsRemoveItemEnum2$inboundSchema
|
|
52398
53607
|
]);
|
|
52399
|
-
var
|
|
53608
|
+
var UpdatePlanVariantDetailsPlanItemFilter$inboundSchema = z115.pipe(
|
|
52400
53609
|
z115.object({
|
|
52401
53610
|
feature_id: optional3(string5()),
|
|
52402
53611
|
billing_method: optional3(
|
|
52403
|
-
|
|
53612
|
+
UpdatePlanVariantDetailsRemoveItemBillingMethod$inboundSchema
|
|
52404
53613
|
),
|
|
52405
53614
|
interval: optional3(
|
|
52406
53615
|
smartUnion([
|
|
@@ -52577,7 +53786,7 @@ var UpdatePlanVariantDetailsBillingControls$inboundSchema = z115.pipe(
|
|
|
52577
53786
|
})
|
|
52578
53787
|
);
|
|
52579
53788
|
var UpdatePlanPriceVariantDetailsUpsertLicenseInterval$inboundSchema = inboundSchema(UpdatePlanPriceVariantDetailsUpsertLicenseInterval);
|
|
52580
|
-
var
|
|
53789
|
+
var UpdatePlanVariantDetailsUpsertLicenseAdditionalCurrency$inboundSchema = z115.object({
|
|
52581
53790
|
currency: string5(),
|
|
52582
53791
|
amount: number2()
|
|
52583
53792
|
});
|
|
@@ -52587,7 +53796,7 @@ var UpdatePlanUpsertLicenseBasePriceResponse$inboundSchema = z115.pipe(
|
|
|
52587
53796
|
interval: UpdatePlanPriceVariantDetailsUpsertLicenseInterval$inboundSchema,
|
|
52588
53797
|
interval_count: z115._default(number2(), 1),
|
|
52589
53798
|
additional_currencies: optional3(z115.array(z115.lazy(
|
|
52590
|
-
() =>
|
|
53799
|
+
() => UpdatePlanVariantDetailsUpsertLicenseAdditionalCurrency$inboundSchema
|
|
52591
53800
|
)))
|
|
52592
53801
|
}),
|
|
52593
53802
|
z115.transform((v) => {
|
|
@@ -52597,7 +53806,7 @@ var UpdatePlanUpsertLicenseBasePriceResponse$inboundSchema = z115.pipe(
|
|
|
52597
53806
|
});
|
|
52598
53807
|
})
|
|
52599
53808
|
);
|
|
52600
|
-
var
|
|
53809
|
+
var UpdatePlanVariantDetailsUpsertLicenseThresholdBilling$inboundSchema = z115.object({
|
|
52601
53810
|
threshold: number2()
|
|
52602
53811
|
});
|
|
52603
53812
|
var UpdatePlanVariantDetailsUpsertLicenseResetInterval$inboundSchema = inboundSchema(UpdatePlanVariantDetailsUpsertLicenseResetInterval);
|
|
@@ -52612,12 +53821,12 @@ var UpdatePlanVariantDetailsUpsertLicenseReset$inboundSchema = z115.pipe(
|
|
|
52612
53821
|
});
|
|
52613
53822
|
})
|
|
52614
53823
|
);
|
|
52615
|
-
var
|
|
53824
|
+
var UpdatePlanVariantDetailsUpsertLicenseAddItemAdditionalCurrency$inboundSchema = z115.object({
|
|
52616
53825
|
currency: string5(),
|
|
52617
53826
|
amount: number2()
|
|
52618
53827
|
});
|
|
52619
53828
|
var UpdatePlanVariantDetailsUpsertLicensePriceTo$inboundSchema = smartUnion([number2(), string5()]);
|
|
52620
|
-
var
|
|
53829
|
+
var UpdatePlanVariantDetailsUpsertLicenseTierAdditionalCurrency$inboundSchema = z115.pipe(
|
|
52621
53830
|
z115.object({
|
|
52622
53831
|
currency: string5(),
|
|
52623
53832
|
amount: optional3(number2()),
|
|
@@ -52635,7 +53844,7 @@ var UpdatePlanVariantDetailsUpsertLicensePriceTier$inboundSchema = z115.pipe(
|
|
|
52635
53844
|
amount: number2(),
|
|
52636
53845
|
flat_amount: optional3(number2()),
|
|
52637
53846
|
additional_currencies: optional3(z115.array(z115.lazy(
|
|
52638
|
-
() =>
|
|
53847
|
+
() => UpdatePlanVariantDetailsUpsertLicenseTierAdditionalCurrency$inboundSchema
|
|
52639
53848
|
)))
|
|
52640
53849
|
}),
|
|
52641
53850
|
z115.transform((v) => {
|
|
@@ -52649,14 +53858,14 @@ var UpdatePlanVariantDetailsUpsertLicenseTierBehavior$inboundSchema = inboundSch
|
|
|
52649
53858
|
var UpdatePlanVariantDetailsUpsertLicenseAddItemPriceInterval$inboundSchema = inboundSchema(
|
|
52650
53859
|
UpdatePlanVariantDetailsUpsertLicenseAddItemPriceInterval
|
|
52651
53860
|
);
|
|
52652
|
-
var
|
|
52653
|
-
|
|
53861
|
+
var UpdatePlanVariantDetailsUpsertLicenseAddItemBillingMethod$inboundSchema = inboundSchema(
|
|
53862
|
+
UpdatePlanVariantDetailsUpsertLicenseAddItemBillingMethod
|
|
52654
53863
|
);
|
|
52655
53864
|
var UpdatePlanVariantDetailsUpsertLicensePrice$inboundSchema = z115.pipe(
|
|
52656
53865
|
z115.object({
|
|
52657
53866
|
amount: optional3(number2()),
|
|
52658
53867
|
additional_currencies: optional3(z115.array(z115.lazy(
|
|
52659
|
-
() =>
|
|
53868
|
+
() => UpdatePlanVariantDetailsUpsertLicenseAddItemAdditionalCurrency$inboundSchema
|
|
52660
53869
|
))),
|
|
52661
53870
|
tiers: optional3(z115.array(z115.lazy(
|
|
52662
53871
|
() => UpdatePlanVariantDetailsUpsertLicensePriceTier$inboundSchema
|
|
@@ -52667,7 +53876,7 @@ var UpdatePlanVariantDetailsUpsertLicensePrice$inboundSchema = z115.pipe(
|
|
|
52667
53876
|
interval: UpdatePlanVariantDetailsUpsertLicenseAddItemPriceInterval$inboundSchema,
|
|
52668
53877
|
interval_count: z115._default(number2(), 1),
|
|
52669
53878
|
billing_units: z115._default(number2(), 1),
|
|
52670
|
-
billing_method:
|
|
53879
|
+
billing_method: UpdatePlanVariantDetailsUpsertLicenseAddItemBillingMethod$inboundSchema,
|
|
52671
53880
|
max_purchase: z115.optional(z115.nullable(number2()))
|
|
52672
53881
|
}),
|
|
52673
53882
|
z115.transform((v) => {
|
|
@@ -52695,12 +53904,14 @@ var UpdatePlanUpsertLicenseProrationResponse$inboundSchema = z115.pipe(
|
|
|
52695
53904
|
});
|
|
52696
53905
|
})
|
|
52697
53906
|
);
|
|
52698
|
-
var
|
|
53907
|
+
var UpdatePlanVariantDetailsUpsertLicenseExpiryDurationType$inboundSchema = inboundSchema(
|
|
53908
|
+
UpdatePlanVariantDetailsUpsertLicenseExpiryDurationType
|
|
53909
|
+
);
|
|
52699
53910
|
var UpdatePlanVariantDetailsUpsertLicenseRollover$inboundSchema = z115.pipe(
|
|
52700
53911
|
z115.object({
|
|
52701
53912
|
max: optional3(number2()),
|
|
52702
53913
|
max_percentage: optional3(number2()),
|
|
52703
|
-
expiry_duration_type:
|
|
53914
|
+
expiry_duration_type: UpdatePlanVariantDetailsUpsertLicenseExpiryDurationType$inboundSchema,
|
|
52704
53915
|
expiry_duration_length: optional3(number2())
|
|
52705
53916
|
}),
|
|
52706
53917
|
z115.transform((v) => {
|
|
@@ -52740,7 +53951,7 @@ var UpdatePlanDimensionsToVariantDetailsUpsertLicenseEnum1 = {
|
|
|
52740
53951
|
var UpdatePlanToVariantDetailsUpsertLicenseEnum = {
|
|
52741
53952
|
Inf: "inf"
|
|
52742
53953
|
};
|
|
52743
|
-
var
|
|
53954
|
+
var UpdatePlanVariantDetailsUpsertLicenseRemoveItemBillingMethod = {
|
|
52744
53955
|
Prepaid: "prepaid",
|
|
52745
53956
|
UsageBased: "usage_based"
|
|
52746
53957
|
};
|
|
@@ -52763,6 +53974,96 @@ var UpdatePlanIntervalVariantDetailsUpsertLicenseRemoveItemEnum1 = {
|
|
|
52763
53974
|
SemiAnnual: "semi_annual",
|
|
52764
53975
|
Year: "year"
|
|
52765
53976
|
};
|
|
53977
|
+
var UpdatePlanPriceLicenseIntervalResponse = {
|
|
53978
|
+
OneOff: "one_off",
|
|
53979
|
+
Week: "week",
|
|
53980
|
+
Month: "month",
|
|
53981
|
+
Quarter: "quarter",
|
|
53982
|
+
SemiAnnual: "semi_annual",
|
|
53983
|
+
Year: "year"
|
|
53984
|
+
};
|
|
53985
|
+
var UpdatePlanLicenseResetIntervalResponse = {
|
|
53986
|
+
OneOff: "one_off",
|
|
53987
|
+
Minute: "minute",
|
|
53988
|
+
Hour: "hour",
|
|
53989
|
+
Day: "day",
|
|
53990
|
+
Week: "week",
|
|
53991
|
+
Month: "month",
|
|
53992
|
+
Quarter: "quarter",
|
|
53993
|
+
SemiAnnual: "semi_annual",
|
|
53994
|
+
Year: "year"
|
|
53995
|
+
};
|
|
53996
|
+
var UpdatePlanLicenseTierBehaviorResponse = {
|
|
53997
|
+
Graduated: "graduated",
|
|
53998
|
+
Volume: "volume"
|
|
53999
|
+
};
|
|
54000
|
+
var UpdatePlanLicenseAddItemPriceIntervalResponse = {
|
|
54001
|
+
OneOff: "one_off",
|
|
54002
|
+
Week: "week",
|
|
54003
|
+
Month: "month",
|
|
54004
|
+
Quarter: "quarter",
|
|
54005
|
+
SemiAnnual: "semi_annual",
|
|
54006
|
+
Year: "year"
|
|
54007
|
+
};
|
|
54008
|
+
var UpdatePlanLicenseAddItemBillingMethodResponse = {
|
|
54009
|
+
Prepaid: "prepaid",
|
|
54010
|
+
UsageBased: "usage_based"
|
|
54011
|
+
};
|
|
54012
|
+
var UpdatePlanLicenseOnIncreaseResponse = {
|
|
54013
|
+
BillImmediately: "bill_immediately",
|
|
54014
|
+
ProrateImmediately: "prorate_immediately",
|
|
54015
|
+
ProrateNextCycle: "prorate_next_cycle",
|
|
54016
|
+
BillNextCycle: "bill_next_cycle"
|
|
54017
|
+
};
|
|
54018
|
+
var UpdatePlanLicenseOnDecreaseResponse = {
|
|
54019
|
+
Prorate: "prorate",
|
|
54020
|
+
ProrateImmediately: "prorate_immediately",
|
|
54021
|
+
ProrateNextCycle: "prorate_next_cycle",
|
|
54022
|
+
None: "none",
|
|
54023
|
+
NoProrations: "no_prorations"
|
|
54024
|
+
};
|
|
54025
|
+
var UpdatePlanLicenseExpiryDurationTypeResponse = {
|
|
54026
|
+
Month: "month",
|
|
54027
|
+
Forever: "forever"
|
|
54028
|
+
};
|
|
54029
|
+
var UpdatePlanLicenseDurationResponse = {
|
|
54030
|
+
Day: "day",
|
|
54031
|
+
Week: "week",
|
|
54032
|
+
Month: "month",
|
|
54033
|
+
Year: "year"
|
|
54034
|
+
};
|
|
54035
|
+
var UpdatePlanDimensionsToLicenseResponseEnum2 = {
|
|
54036
|
+
Inf: "inf"
|
|
54037
|
+
};
|
|
54038
|
+
var UpdatePlanDimensionsToLicenseResponseEnum1 = {
|
|
54039
|
+
Inf: "inf"
|
|
54040
|
+
};
|
|
54041
|
+
var UpdatePlanToLicenseResponseEnum = {
|
|
54042
|
+
Inf: "inf"
|
|
54043
|
+
};
|
|
54044
|
+
var UpdatePlanLicenseRemoveItemBillingMethodResponse = {
|
|
54045
|
+
Prepaid: "prepaid",
|
|
54046
|
+
UsageBased: "usage_based"
|
|
54047
|
+
};
|
|
54048
|
+
var UpdatePlanIntervalLicenseRemoveItemResponseEnum2 = {
|
|
54049
|
+
OneOff: "one_off",
|
|
54050
|
+
Minute: "minute",
|
|
54051
|
+
Hour: "hour",
|
|
54052
|
+
Day: "day",
|
|
54053
|
+
Week: "week",
|
|
54054
|
+
Month: "month",
|
|
54055
|
+
Quarter: "quarter",
|
|
54056
|
+
SemiAnnual: "semi_annual",
|
|
54057
|
+
Year: "year"
|
|
54058
|
+
};
|
|
54059
|
+
var UpdatePlanIntervalLicenseRemoveItemResponseEnum1 = {
|
|
54060
|
+
OneOff: "one_off",
|
|
54061
|
+
Week: "week",
|
|
54062
|
+
Month: "month",
|
|
54063
|
+
Quarter: "quarter",
|
|
54064
|
+
SemiAnnual: "semi_annual",
|
|
54065
|
+
Year: "year"
|
|
54066
|
+
};
|
|
52766
54067
|
var UpdatePlanDimensionsToVariantDetailsUpsertLicenseEnum2$inboundSchema = z116.enum(UpdatePlanDimensionsToVariantDetailsUpsertLicenseEnum2);
|
|
52767
54068
|
var UpdatePlanDimensionsVariantDetailsUpsertLicenseToUnion2$inboundSchema = smartUnion([
|
|
52768
54069
|
number2(),
|
|
@@ -52975,7 +54276,7 @@ var UpdatePlanVariantDetailsUpsertLicenseModelMarkups$inboundSchema = z116.pipe(
|
|
|
52975
54276
|
});
|
|
52976
54277
|
})
|
|
52977
54278
|
);
|
|
52978
|
-
var
|
|
54279
|
+
var UpdatePlanVariantDetailsUpsertLicenseMarkups$inboundSchema = z116.pipe(
|
|
52979
54280
|
z116.object({
|
|
52980
54281
|
default_markup: optional3(number2()),
|
|
52981
54282
|
provider_markups: z116.optional(z116.nullable(z116.record(
|
|
@@ -52999,7 +54300,7 @@ var UpdatePlanUpsertLicenseMarkupsResponse$inboundSchema = z116.pipe(
|
|
|
52999
54300
|
});
|
|
53000
54301
|
})
|
|
53001
54302
|
);
|
|
53002
|
-
var
|
|
54303
|
+
var UpdatePlanVariantDetailsUpsertLicenseFeatureOverride$inboundSchema = z116.pipe(
|
|
53003
54304
|
z116.object({
|
|
53004
54305
|
credit_schema: optional3(z116.array(smartUnion([
|
|
53005
54306
|
z116.lazy(
|
|
@@ -53010,7 +54311,7 @@ var UpdatePlanUpsertLicenseFeatureOverrideResponse$inboundSchema = z116.pipe(
|
|
|
53010
54311
|
)
|
|
53011
54312
|
]))),
|
|
53012
54313
|
markups: optional3(z116.lazy(
|
|
53013
|
-
() =>
|
|
54314
|
+
() => UpdatePlanVariantDetailsUpsertLicenseMarkups$inboundSchema
|
|
53014
54315
|
))
|
|
53015
54316
|
}),
|
|
53016
54317
|
z116.transform((v) => {
|
|
@@ -53023,7 +54324,7 @@ var UpdatePlanUpsertLicensePlanItemResponse$inboundSchema = z116.pipe(
|
|
|
53023
54324
|
z116.object({
|
|
53024
54325
|
threshold_billing: z116.optional(
|
|
53025
54326
|
z116.nullable(
|
|
53026
|
-
|
|
54327
|
+
UpdatePlanVariantDetailsUpsertLicenseThresholdBilling$inboundSchema
|
|
53027
54328
|
)
|
|
53028
54329
|
),
|
|
53029
54330
|
feature_id: string5(),
|
|
@@ -53045,11 +54346,9 @@ var UpdatePlanUpsertLicensePlanItemResponse$inboundSchema = z116.pipe(
|
|
|
53045
54346
|
expiry: optional3(
|
|
53046
54347
|
UpdatePlanVariantDetailsUpsertLicenseExpiry$inboundSchema
|
|
53047
54348
|
),
|
|
53048
|
-
feature_override: optional3(
|
|
53049
|
-
|
|
53050
|
-
|
|
53051
|
-
)
|
|
53052
|
-
)
|
|
54349
|
+
feature_override: optional3(z116.lazy(
|
|
54350
|
+
() => UpdatePlanVariantDetailsUpsertLicenseFeatureOverride$inboundSchema
|
|
54351
|
+
))
|
|
53053
54352
|
}),
|
|
53054
54353
|
z116.transform((v) => {
|
|
53055
54354
|
return remap(v, {
|
|
@@ -53059,8 +54358,8 @@ var UpdatePlanUpsertLicensePlanItemResponse$inboundSchema = z116.pipe(
|
|
|
53059
54358
|
});
|
|
53060
54359
|
})
|
|
53061
54360
|
);
|
|
53062
|
-
var
|
|
53063
|
-
|
|
54361
|
+
var UpdatePlanVariantDetailsUpsertLicenseRemoveItemBillingMethod$inboundSchema = inboundSchema(
|
|
54362
|
+
UpdatePlanVariantDetailsUpsertLicenseRemoveItemBillingMethod
|
|
53064
54363
|
);
|
|
53065
54364
|
var UpdatePlanIntervalVariantDetailsUpsertLicenseRemoveItemEnum2$inboundSchema = inboundSchema(
|
|
53066
54365
|
UpdatePlanIntervalVariantDetailsUpsertLicenseRemoveItemEnum2
|
|
@@ -53076,7 +54375,7 @@ var UpdatePlanUpsertLicensePlanItemFilterResponse$inboundSchema = z116.pipe(
|
|
|
53076
54375
|
z116.object({
|
|
53077
54376
|
feature_id: optional3(string5()),
|
|
53078
54377
|
billing_method: optional3(
|
|
53079
|
-
|
|
54378
|
+
UpdatePlanVariantDetailsUpsertLicenseRemoveItemBillingMethod$inboundSchema
|
|
53080
54379
|
),
|
|
53081
54380
|
interval: optional3(
|
|
53082
54381
|
smartUnion([
|
|
@@ -53143,14 +54442,16 @@ var UpdatePlanRemoveLicenseResponse$inboundSchema = z116.pipe(
|
|
|
53143
54442
|
});
|
|
53144
54443
|
})
|
|
53145
54444
|
);
|
|
53146
|
-
var
|
|
54445
|
+
var UpdatePlanVariantDetailsCustomize$inboundSchema = z116.pipe(
|
|
53147
54446
|
z116.object({
|
|
53148
|
-
price: z116.optional(
|
|
54447
|
+
price: z116.optional(
|
|
54448
|
+
z116.nullable(UpdatePlanVariantDetailsBasePrice$inboundSchema)
|
|
54449
|
+
),
|
|
53149
54450
|
add_items: optional3(
|
|
53150
|
-
z116.array(
|
|
54451
|
+
z116.array(UpdatePlanVariantDetailsPlanItem$inboundSchema)
|
|
53151
54452
|
),
|
|
53152
54453
|
remove_items: optional3(
|
|
53153
|
-
z116.array(
|
|
54454
|
+
z116.array(UpdatePlanVariantDetailsPlanItemFilter$inboundSchema)
|
|
53154
54455
|
),
|
|
53155
54456
|
free_trial: z116.optional(
|
|
53156
54457
|
z116.nullable(UpdatePlanFreeTrialParamsResponse$inboundSchema)
|
|
@@ -53180,7 +54481,7 @@ var UpdatePlanVariantDetails$inboundSchema = z116.pipe(
|
|
|
53180
54481
|
z116.object({
|
|
53181
54482
|
base_plan_id: string5(),
|
|
53182
54483
|
customize: optional3(
|
|
53183
|
-
z116.lazy(() =>
|
|
54484
|
+
z116.lazy(() => UpdatePlanVariantDetailsCustomize$inboundSchema)
|
|
53184
54485
|
)
|
|
53185
54486
|
}),
|
|
53186
54487
|
z116.transform((v) => {
|
|
@@ -53189,6 +54490,493 @@ var UpdatePlanVariantDetails$inboundSchema = z116.pipe(
|
|
|
53189
54490
|
});
|
|
53190
54491
|
})
|
|
53191
54492
|
);
|
|
54493
|
+
var UpdatePlanPriceLicenseIntervalResponse$inboundSchema = inboundSchema(UpdatePlanPriceLicenseIntervalResponse);
|
|
54494
|
+
var UpdatePlanLicenseAdditionalCurrencyResponse$inboundSchema = z116.object({
|
|
54495
|
+
currency: string5(),
|
|
54496
|
+
amount: number2()
|
|
54497
|
+
});
|
|
54498
|
+
var UpdatePlanLicenseBasePriceResponse$inboundSchema = z116.pipe(
|
|
54499
|
+
z116.object({
|
|
54500
|
+
amount: number2(),
|
|
54501
|
+
interval: UpdatePlanPriceLicenseIntervalResponse$inboundSchema,
|
|
54502
|
+
interval_count: z116._default(number2(), 1),
|
|
54503
|
+
additional_currencies: optional3(z116.array(z116.lazy(
|
|
54504
|
+
() => UpdatePlanLicenseAdditionalCurrencyResponse$inboundSchema
|
|
54505
|
+
)))
|
|
54506
|
+
}),
|
|
54507
|
+
z116.transform((v) => {
|
|
54508
|
+
return remap(v, {
|
|
54509
|
+
"interval_count": "intervalCount",
|
|
54510
|
+
"additional_currencies": "additionalCurrencies"
|
|
54511
|
+
});
|
|
54512
|
+
})
|
|
54513
|
+
);
|
|
54514
|
+
var UpdatePlanLicenseThresholdBillingResponse$inboundSchema = z116.object({
|
|
54515
|
+
threshold: number2()
|
|
54516
|
+
});
|
|
54517
|
+
var UpdatePlanLicenseResetIntervalResponse$inboundSchema = inboundSchema(UpdatePlanLicenseResetIntervalResponse);
|
|
54518
|
+
var UpdatePlanLicenseResetResponse$inboundSchema = z116.pipe(
|
|
54519
|
+
z116.object({
|
|
54520
|
+
interval: UpdatePlanLicenseResetIntervalResponse$inboundSchema,
|
|
54521
|
+
interval_count: z116._default(number2(), 1)
|
|
54522
|
+
}),
|
|
54523
|
+
z116.transform((v) => {
|
|
54524
|
+
return remap(v, {
|
|
54525
|
+
"interval_count": "intervalCount"
|
|
54526
|
+
});
|
|
54527
|
+
})
|
|
54528
|
+
);
|
|
54529
|
+
var UpdatePlanLicenseAddItemAdditionalCurrencyResponse$inboundSchema = z116.object({
|
|
54530
|
+
currency: string5(),
|
|
54531
|
+
amount: number2()
|
|
54532
|
+
});
|
|
54533
|
+
var UpdatePlanLicensePriceToResponse$inboundSchema = smartUnion([number2(), string5()]);
|
|
54534
|
+
var UpdatePlanLicenseTierAdditionalCurrencyResponse$inboundSchema = z116.pipe(
|
|
54535
|
+
z116.object({
|
|
54536
|
+
currency: string5(),
|
|
54537
|
+
amount: optional3(number2()),
|
|
54538
|
+
flat_amount: optional3(number2())
|
|
54539
|
+
}),
|
|
54540
|
+
z116.transform((v) => {
|
|
54541
|
+
return remap(v, {
|
|
54542
|
+
"flat_amount": "flatAmount"
|
|
54543
|
+
});
|
|
54544
|
+
})
|
|
54545
|
+
);
|
|
54546
|
+
var UpdatePlanLicensePriceTierResponse$inboundSchema = z116.pipe(
|
|
54547
|
+
z116.object({
|
|
54548
|
+
to: smartUnion([number2(), string5()]),
|
|
54549
|
+
amount: number2(),
|
|
54550
|
+
flat_amount: optional3(number2()),
|
|
54551
|
+
additional_currencies: optional3(z116.array(z116.lazy(
|
|
54552
|
+
() => UpdatePlanLicenseTierAdditionalCurrencyResponse$inboundSchema
|
|
54553
|
+
)))
|
|
54554
|
+
}),
|
|
54555
|
+
z116.transform((v) => {
|
|
54556
|
+
return remap(v, {
|
|
54557
|
+
"flat_amount": "flatAmount",
|
|
54558
|
+
"additional_currencies": "additionalCurrencies"
|
|
54559
|
+
});
|
|
54560
|
+
})
|
|
54561
|
+
);
|
|
54562
|
+
var UpdatePlanLicenseTierBehaviorResponse$inboundSchema = inboundSchema(UpdatePlanLicenseTierBehaviorResponse);
|
|
54563
|
+
var UpdatePlanLicenseAddItemPriceIntervalResponse$inboundSchema = inboundSchema(UpdatePlanLicenseAddItemPriceIntervalResponse);
|
|
54564
|
+
var UpdatePlanLicenseAddItemBillingMethodResponse$inboundSchema = inboundSchema(UpdatePlanLicenseAddItemBillingMethodResponse);
|
|
54565
|
+
var UpdatePlanLicensePriceResponse$inboundSchema = z116.pipe(
|
|
54566
|
+
z116.object({
|
|
54567
|
+
amount: optional3(number2()),
|
|
54568
|
+
additional_currencies: optional3(z116.array(z116.lazy(
|
|
54569
|
+
() => UpdatePlanLicenseAddItemAdditionalCurrencyResponse$inboundSchema
|
|
54570
|
+
))),
|
|
54571
|
+
tiers: optional3(z116.array(z116.lazy(
|
|
54572
|
+
() => UpdatePlanLicensePriceTierResponse$inboundSchema
|
|
54573
|
+
))),
|
|
54574
|
+
tier_behavior: optional3(
|
|
54575
|
+
UpdatePlanLicenseTierBehaviorResponse$inboundSchema
|
|
54576
|
+
),
|
|
54577
|
+
interval: UpdatePlanLicenseAddItemPriceIntervalResponse$inboundSchema,
|
|
54578
|
+
interval_count: z116._default(number2(), 1),
|
|
54579
|
+
billing_units: z116._default(number2(), 1),
|
|
54580
|
+
billing_method: UpdatePlanLicenseAddItemBillingMethodResponse$inboundSchema,
|
|
54581
|
+
max_purchase: z116.optional(z116.nullable(number2()))
|
|
54582
|
+
}),
|
|
54583
|
+
z116.transform((v) => {
|
|
54584
|
+
return remap(v, {
|
|
54585
|
+
"additional_currencies": "additionalCurrencies",
|
|
54586
|
+
"tier_behavior": "tierBehavior",
|
|
54587
|
+
"interval_count": "intervalCount",
|
|
54588
|
+
"billing_units": "billingUnits",
|
|
54589
|
+
"billing_method": "billingMethod",
|
|
54590
|
+
"max_purchase": "maxPurchase"
|
|
54591
|
+
});
|
|
54592
|
+
})
|
|
54593
|
+
);
|
|
54594
|
+
var UpdatePlanLicenseOnIncreaseResponse$inboundSchema = inboundSchema(UpdatePlanLicenseOnIncreaseResponse);
|
|
54595
|
+
var UpdatePlanLicenseOnDecreaseResponse$inboundSchema = inboundSchema(UpdatePlanLicenseOnDecreaseResponse);
|
|
54596
|
+
var UpdatePlanLicenseProrationResponse$inboundSchema = z116.pipe(
|
|
54597
|
+
z116.object({
|
|
54598
|
+
on_increase: UpdatePlanLicenseOnIncreaseResponse$inboundSchema,
|
|
54599
|
+
on_decrease: UpdatePlanLicenseOnDecreaseResponse$inboundSchema
|
|
54600
|
+
}),
|
|
54601
|
+
z116.transform((v) => {
|
|
54602
|
+
return remap(v, {
|
|
54603
|
+
"on_increase": "onIncrease",
|
|
54604
|
+
"on_decrease": "onDecrease"
|
|
54605
|
+
});
|
|
54606
|
+
})
|
|
54607
|
+
);
|
|
54608
|
+
var UpdatePlanLicenseExpiryDurationTypeResponse$inboundSchema = inboundSchema(UpdatePlanLicenseExpiryDurationTypeResponse);
|
|
54609
|
+
var UpdatePlanLicenseRolloverResponse$inboundSchema = z116.pipe(
|
|
54610
|
+
z116.object({
|
|
54611
|
+
max: optional3(number2()),
|
|
54612
|
+
max_percentage: optional3(number2()),
|
|
54613
|
+
expiry_duration_type: UpdatePlanLicenseExpiryDurationTypeResponse$inboundSchema,
|
|
54614
|
+
expiry_duration_length: optional3(number2())
|
|
54615
|
+
}),
|
|
54616
|
+
z116.transform((v) => {
|
|
54617
|
+
return remap(v, {
|
|
54618
|
+
"max_percentage": "maxPercentage",
|
|
54619
|
+
"expiry_duration_type": "expiryDurationType",
|
|
54620
|
+
"expiry_duration_length": "expiryDurationLength"
|
|
54621
|
+
});
|
|
54622
|
+
})
|
|
54623
|
+
);
|
|
54624
|
+
var UpdatePlanLicenseDurationResponse$inboundSchema = inboundSchema(UpdatePlanLicenseDurationResponse);
|
|
54625
|
+
var UpdatePlanLicenseExpiryResponse$inboundSchema = z116.object({
|
|
54626
|
+
duration: UpdatePlanLicenseDurationResponse$inboundSchema,
|
|
54627
|
+
length: number2()
|
|
54628
|
+
});
|
|
54629
|
+
var UpdatePlanDimensionsLicenseResponse4$inboundSchema = z116.pipe(
|
|
54630
|
+
z116.object({
|
|
54631
|
+
match: z116.record(z116.string(), string5()),
|
|
54632
|
+
priority: optional3(number2()),
|
|
54633
|
+
credit_cost: number2()
|
|
54634
|
+
}),
|
|
54635
|
+
z116.transform((v) => {
|
|
54636
|
+
return remap(v, {
|
|
54637
|
+
"credit_cost": "creditCost"
|
|
54638
|
+
});
|
|
54639
|
+
})
|
|
54640
|
+
);
|
|
54641
|
+
var UpdatePlanDimensionsToLicenseResponseEnum2$inboundSchema = z116.enum(
|
|
54642
|
+
UpdatePlanDimensionsToLicenseResponseEnum2
|
|
54643
|
+
);
|
|
54644
|
+
var UpdatePlanDimensionsLicenseToResponseUnion2$inboundSchema = smartUnion([
|
|
54645
|
+
number2(),
|
|
54646
|
+
UpdatePlanDimensionsToLicenseResponseEnum2$inboundSchema
|
|
54647
|
+
]);
|
|
54648
|
+
var UpdatePlanDimensionsLicenseTierResponse2$inboundSchema = z116.pipe(
|
|
54649
|
+
z116.object({
|
|
54650
|
+
to: smartUnion([
|
|
54651
|
+
number2(),
|
|
54652
|
+
UpdatePlanDimensionsToLicenseResponseEnum2$inboundSchema
|
|
54653
|
+
]),
|
|
54654
|
+
credit_cost: number2()
|
|
54655
|
+
}),
|
|
54656
|
+
z116.transform((v) => {
|
|
54657
|
+
return remap(v, {
|
|
54658
|
+
"credit_cost": "creditCost"
|
|
54659
|
+
});
|
|
54660
|
+
})
|
|
54661
|
+
);
|
|
54662
|
+
var UpdatePlanDimensionsLicenseResponse3$inboundSchema = z116.pipe(
|
|
54663
|
+
z116.object({
|
|
54664
|
+
match: z116.record(z116.string(), string5()),
|
|
54665
|
+
priority: optional3(number2()),
|
|
54666
|
+
tier_behavior: literal3("graduated"),
|
|
54667
|
+
tiers: z116.array(
|
|
54668
|
+
z116.lazy(() => UpdatePlanDimensionsLicenseTierResponse2$inboundSchema)
|
|
54669
|
+
)
|
|
54670
|
+
}),
|
|
54671
|
+
z116.transform((v) => {
|
|
54672
|
+
return remap(v, {
|
|
54673
|
+
"tier_behavior": "tierBehavior"
|
|
54674
|
+
});
|
|
54675
|
+
})
|
|
54676
|
+
);
|
|
54677
|
+
var UpdatePlanLicenseDimensionsResponseUnion2$inboundSchema = smartUnion([
|
|
54678
|
+
z116.lazy(() => UpdatePlanDimensionsLicenseResponse3$inboundSchema),
|
|
54679
|
+
z116.lazy(() => UpdatePlanDimensionsLicenseResponse4$inboundSchema)
|
|
54680
|
+
]);
|
|
54681
|
+
var UpdatePlanLicenseMultipliersResponse2$inboundSchema = z116.object({
|
|
54682
|
+
match: z116.record(z116.string(), string5()),
|
|
54683
|
+
factor: optional3(number2()),
|
|
54684
|
+
add: optional3(number2())
|
|
54685
|
+
});
|
|
54686
|
+
var UpdatePlanCreditSchemaLicenseResponse2$inboundSchema = z116.pipe(
|
|
54687
|
+
z116.object({
|
|
54688
|
+
metered_feature_id: string5(),
|
|
54689
|
+
billing_units: optional3(number2()),
|
|
54690
|
+
dimensions: optional3(z116.record(
|
|
54691
|
+
z116.string(),
|
|
54692
|
+
smartUnion([
|
|
54693
|
+
z116.lazy(() => UpdatePlanDimensionsLicenseResponse3$inboundSchema),
|
|
54694
|
+
z116.lazy(() => UpdatePlanDimensionsLicenseResponse4$inboundSchema)
|
|
54695
|
+
])
|
|
54696
|
+
)),
|
|
54697
|
+
multipliers: optional3(z116.record(
|
|
54698
|
+
z116.string(),
|
|
54699
|
+
z116.lazy(() => UpdatePlanLicenseMultipliersResponse2$inboundSchema)
|
|
54700
|
+
)),
|
|
54701
|
+
credit_cost: number2()
|
|
54702
|
+
}),
|
|
54703
|
+
z116.transform((v) => {
|
|
54704
|
+
return remap(v, {
|
|
54705
|
+
"metered_feature_id": "meteredFeatureId",
|
|
54706
|
+
"billing_units": "billingUnits",
|
|
54707
|
+
"credit_cost": "creditCost"
|
|
54708
|
+
});
|
|
54709
|
+
})
|
|
54710
|
+
);
|
|
54711
|
+
var UpdatePlanDimensionsLicenseResponse2$inboundSchema = z116.pipe(
|
|
54712
|
+
z116.object({
|
|
54713
|
+
match: z116.record(z116.string(), string5()),
|
|
54714
|
+
priority: optional3(number2()),
|
|
54715
|
+
credit_cost: number2()
|
|
54716
|
+
}),
|
|
54717
|
+
z116.transform((v) => {
|
|
54718
|
+
return remap(v, {
|
|
54719
|
+
"credit_cost": "creditCost"
|
|
54720
|
+
});
|
|
54721
|
+
})
|
|
54722
|
+
);
|
|
54723
|
+
var UpdatePlanDimensionsToLicenseResponseEnum1$inboundSchema = z116.enum(
|
|
54724
|
+
UpdatePlanDimensionsToLicenseResponseEnum1
|
|
54725
|
+
);
|
|
54726
|
+
var UpdatePlanDimensionsLicenseToResponseUnion1$inboundSchema = smartUnion([
|
|
54727
|
+
number2(),
|
|
54728
|
+
UpdatePlanDimensionsToLicenseResponseEnum1$inboundSchema
|
|
54729
|
+
]);
|
|
54730
|
+
var UpdatePlanDimensionsLicenseTierResponse1$inboundSchema = z116.pipe(
|
|
54731
|
+
z116.object({
|
|
54732
|
+
to: smartUnion([
|
|
54733
|
+
number2(),
|
|
54734
|
+
UpdatePlanDimensionsToLicenseResponseEnum1$inboundSchema
|
|
54735
|
+
]),
|
|
54736
|
+
credit_cost: number2()
|
|
54737
|
+
}),
|
|
54738
|
+
z116.transform((v) => {
|
|
54739
|
+
return remap(v, {
|
|
54740
|
+
"credit_cost": "creditCost"
|
|
54741
|
+
});
|
|
54742
|
+
})
|
|
54743
|
+
);
|
|
54744
|
+
var UpdatePlanDimensionsLicenseResponse1$inboundSchema = z116.pipe(
|
|
54745
|
+
z116.object({
|
|
54746
|
+
match: z116.record(z116.string(), string5()),
|
|
54747
|
+
priority: optional3(number2()),
|
|
54748
|
+
tier_behavior: literal3("graduated"),
|
|
54749
|
+
tiers: z116.array(
|
|
54750
|
+
z116.lazy(() => UpdatePlanDimensionsLicenseTierResponse1$inboundSchema)
|
|
54751
|
+
)
|
|
54752
|
+
}),
|
|
54753
|
+
z116.transform((v) => {
|
|
54754
|
+
return remap(v, {
|
|
54755
|
+
"tier_behavior": "tierBehavior"
|
|
54756
|
+
});
|
|
54757
|
+
})
|
|
54758
|
+
);
|
|
54759
|
+
var UpdatePlanLicenseDimensionsResponseUnion1$inboundSchema = smartUnion([
|
|
54760
|
+
z116.lazy(() => UpdatePlanDimensionsLicenseResponse1$inboundSchema),
|
|
54761
|
+
z116.lazy(() => UpdatePlanDimensionsLicenseResponse2$inboundSchema)
|
|
54762
|
+
]);
|
|
54763
|
+
var UpdatePlanLicenseMultipliersResponse1$inboundSchema = z116.object({
|
|
54764
|
+
match: z116.record(z116.string(), string5()),
|
|
54765
|
+
factor: optional3(number2()),
|
|
54766
|
+
add: optional3(number2())
|
|
54767
|
+
});
|
|
54768
|
+
var UpdatePlanToLicenseResponseEnum$inboundSchema = z116.enum(UpdatePlanToLicenseResponseEnum);
|
|
54769
|
+
var UpdatePlanLicenseFeatureOverrideToResponseUnion$inboundSchema = smartUnion([number2(), UpdatePlanToLicenseResponseEnum$inboundSchema]);
|
|
54770
|
+
var UpdatePlanLicenseFeatureOverrideTierResponse$inboundSchema = z116.pipe(
|
|
54771
|
+
z116.object({
|
|
54772
|
+
to: smartUnion([
|
|
54773
|
+
number2(),
|
|
54774
|
+
UpdatePlanToLicenseResponseEnum$inboundSchema
|
|
54775
|
+
]),
|
|
54776
|
+
credit_cost: number2()
|
|
54777
|
+
}),
|
|
54778
|
+
z116.transform((v) => {
|
|
54779
|
+
return remap(v, {
|
|
54780
|
+
"credit_cost": "creditCost"
|
|
54781
|
+
});
|
|
54782
|
+
})
|
|
54783
|
+
);
|
|
54784
|
+
var UpdatePlanCreditSchemaLicenseResponse1$inboundSchema = z116.pipe(
|
|
54785
|
+
z116.object({
|
|
54786
|
+
metered_feature_id: string5(),
|
|
54787
|
+
billing_units: optional3(number2()),
|
|
54788
|
+
dimensions: optional3(z116.record(
|
|
54789
|
+
z116.string(),
|
|
54790
|
+
smartUnion([
|
|
54791
|
+
z116.lazy(() => UpdatePlanDimensionsLicenseResponse1$inboundSchema),
|
|
54792
|
+
z116.lazy(() => UpdatePlanDimensionsLicenseResponse2$inboundSchema)
|
|
54793
|
+
])
|
|
54794
|
+
)),
|
|
54795
|
+
multipliers: optional3(z116.record(
|
|
54796
|
+
z116.string(),
|
|
54797
|
+
z116.lazy(() => UpdatePlanLicenseMultipliersResponse1$inboundSchema)
|
|
54798
|
+
)),
|
|
54799
|
+
tier_behavior: literal3("graduated"),
|
|
54800
|
+
tiers: z116.array(z116.lazy(
|
|
54801
|
+
() => UpdatePlanLicenseFeatureOverrideTierResponse$inboundSchema
|
|
54802
|
+
))
|
|
54803
|
+
}),
|
|
54804
|
+
z116.transform((v) => {
|
|
54805
|
+
return remap(v, {
|
|
54806
|
+
"metered_feature_id": "meteredFeatureId",
|
|
54807
|
+
"billing_units": "billingUnits",
|
|
54808
|
+
"tier_behavior": "tierBehavior"
|
|
54809
|
+
});
|
|
54810
|
+
})
|
|
54811
|
+
);
|
|
54812
|
+
var UpdatePlanLicenseCreditSchemaResponseUnion$inboundSchema = smartUnion([
|
|
54813
|
+
z116.lazy(() => UpdatePlanCreditSchemaLicenseResponse1$inboundSchema),
|
|
54814
|
+
z116.lazy(() => UpdatePlanCreditSchemaLicenseResponse2$inboundSchema)
|
|
54815
|
+
]);
|
|
54816
|
+
var UpdatePlanLicenseProviderMarkupsResponse$inboundSchema = z116.object({
|
|
54817
|
+
markup: number2()
|
|
54818
|
+
});
|
|
54819
|
+
var UpdatePlanLicenseModelMarkupsResponse$inboundSchema = z116.pipe(
|
|
54820
|
+
z116.object({
|
|
54821
|
+
markup: optional3(number2()),
|
|
54822
|
+
input_cost: optional3(number2()),
|
|
54823
|
+
output_cost: optional3(number2())
|
|
54824
|
+
}),
|
|
54825
|
+
z116.transform((v) => {
|
|
54826
|
+
return remap(v, {
|
|
54827
|
+
"input_cost": "inputCost",
|
|
54828
|
+
"output_cost": "outputCost"
|
|
54829
|
+
});
|
|
54830
|
+
})
|
|
54831
|
+
);
|
|
54832
|
+
var UpdatePlanLicenseMarkupsResponse$inboundSchema = z116.pipe(
|
|
54833
|
+
z116.object({
|
|
54834
|
+
default_markup: optional3(number2()),
|
|
54835
|
+
provider_markups: z116.optional(z116.nullable(z116.record(
|
|
54836
|
+
z116.string(),
|
|
54837
|
+
z116.lazy(() => UpdatePlanLicenseProviderMarkupsResponse$inboundSchema)
|
|
54838
|
+
))),
|
|
54839
|
+
model_markups: z116.optional(z116.nullable(z116.record(
|
|
54840
|
+
z116.string(),
|
|
54841
|
+
z116.lazy(() => UpdatePlanLicenseModelMarkupsResponse$inboundSchema)
|
|
54842
|
+
)))
|
|
54843
|
+
}),
|
|
54844
|
+
z116.transform((v) => {
|
|
54845
|
+
return remap(v, {
|
|
54846
|
+
"default_markup": "defaultMarkup",
|
|
54847
|
+
"provider_markups": "providerMarkups",
|
|
54848
|
+
"model_markups": "modelMarkups"
|
|
54849
|
+
});
|
|
54850
|
+
})
|
|
54851
|
+
);
|
|
54852
|
+
var UpdatePlanLicenseFeatureOverrideResponse$inboundSchema = z116.pipe(
|
|
54853
|
+
z116.object({
|
|
54854
|
+
credit_schema: optional3(z116.array(smartUnion([
|
|
54855
|
+
z116.lazy(() => UpdatePlanCreditSchemaLicenseResponse1$inboundSchema),
|
|
54856
|
+
z116.lazy(
|
|
54857
|
+
() => UpdatePlanCreditSchemaLicenseResponse2$inboundSchema
|
|
54858
|
+
)
|
|
54859
|
+
]))),
|
|
54860
|
+
markups: optional3(z116.lazy(
|
|
54861
|
+
() => UpdatePlanLicenseMarkupsResponse$inboundSchema
|
|
54862
|
+
))
|
|
54863
|
+
}),
|
|
54864
|
+
z116.transform((v) => {
|
|
54865
|
+
return remap(v, {
|
|
54866
|
+
"credit_schema": "creditSchema"
|
|
54867
|
+
});
|
|
54868
|
+
})
|
|
54869
|
+
);
|
|
54870
|
+
var UpdatePlanLicensePlanItemResponse$inboundSchema = z116.pipe(
|
|
54871
|
+
z116.object({
|
|
54872
|
+
threshold_billing: z116.optional(z116.nullable(z116.lazy(
|
|
54873
|
+
() => UpdatePlanLicenseThresholdBillingResponse$inboundSchema
|
|
54874
|
+
))),
|
|
54875
|
+
feature_id: string5(),
|
|
54876
|
+
included: optional3(number2()),
|
|
54877
|
+
unlimited: optional3(boolean2()),
|
|
54878
|
+
pooled: z116._default(boolean2(), false),
|
|
54879
|
+
reset: optional3(z116.lazy(
|
|
54880
|
+
() => UpdatePlanLicenseResetResponse$inboundSchema
|
|
54881
|
+
)),
|
|
54882
|
+
price: optional3(z116.lazy(
|
|
54883
|
+
() => UpdatePlanLicensePriceResponse$inboundSchema
|
|
54884
|
+
)),
|
|
54885
|
+
proration: optional3(z116.lazy(
|
|
54886
|
+
() => UpdatePlanLicenseProrationResponse$inboundSchema
|
|
54887
|
+
)),
|
|
54888
|
+
rollover: optional3(z116.lazy(
|
|
54889
|
+
() => UpdatePlanLicenseRolloverResponse$inboundSchema
|
|
54890
|
+
)),
|
|
54891
|
+
expiry: optional3(z116.lazy(
|
|
54892
|
+
() => UpdatePlanLicenseExpiryResponse$inboundSchema
|
|
54893
|
+
)),
|
|
54894
|
+
feature_override: optional3(z116.lazy(
|
|
54895
|
+
() => UpdatePlanLicenseFeatureOverrideResponse$inboundSchema
|
|
54896
|
+
))
|
|
54897
|
+
}),
|
|
54898
|
+
z116.transform((v) => {
|
|
54899
|
+
return remap(v, {
|
|
54900
|
+
"threshold_billing": "thresholdBilling",
|
|
54901
|
+
"feature_id": "featureId",
|
|
54902
|
+
"feature_override": "featureOverride"
|
|
54903
|
+
});
|
|
54904
|
+
})
|
|
54905
|
+
);
|
|
54906
|
+
var UpdatePlanLicenseRemoveItemBillingMethodResponse$inboundSchema = inboundSchema(UpdatePlanLicenseRemoveItemBillingMethodResponse);
|
|
54907
|
+
var UpdatePlanIntervalLicenseRemoveItemResponseEnum2$inboundSchema = inboundSchema(UpdatePlanIntervalLicenseRemoveItemResponseEnum2);
|
|
54908
|
+
var UpdatePlanIntervalLicenseRemoveItemResponseEnum1$inboundSchema = inboundSchema(UpdatePlanIntervalLicenseRemoveItemResponseEnum1);
|
|
54909
|
+
var UpdatePlanLicenseIntervalResponseUnion$inboundSchema = smartUnion([
|
|
54910
|
+
UpdatePlanIntervalLicenseRemoveItemResponseEnum1$inboundSchema,
|
|
54911
|
+
UpdatePlanIntervalLicenseRemoveItemResponseEnum2$inboundSchema
|
|
54912
|
+
]);
|
|
54913
|
+
var UpdatePlanLicensePlanItemFilterResponse$inboundSchema = z116.pipe(
|
|
54914
|
+
z116.object({
|
|
54915
|
+
feature_id: optional3(string5()),
|
|
54916
|
+
billing_method: optional3(
|
|
54917
|
+
UpdatePlanLicenseRemoveItemBillingMethodResponse$inboundSchema
|
|
54918
|
+
),
|
|
54919
|
+
interval: optional3(
|
|
54920
|
+
smartUnion([
|
|
54921
|
+
UpdatePlanIntervalLicenseRemoveItemResponseEnum1$inboundSchema,
|
|
54922
|
+
UpdatePlanIntervalLicenseRemoveItemResponseEnum2$inboundSchema
|
|
54923
|
+
])
|
|
54924
|
+
),
|
|
54925
|
+
interval_count: optional3(number2()),
|
|
54926
|
+
included: optional3(number2())
|
|
54927
|
+
}),
|
|
54928
|
+
z116.transform((v) => {
|
|
54929
|
+
return remap(v, {
|
|
54930
|
+
"feature_id": "featureId",
|
|
54931
|
+
"billing_method": "billingMethod",
|
|
54932
|
+
"interval_count": "intervalCount"
|
|
54933
|
+
});
|
|
54934
|
+
})
|
|
54935
|
+
);
|
|
54936
|
+
var UpdatePlanLicenseCustomizeResponse$inboundSchema = z116.pipe(
|
|
54937
|
+
z116.object({
|
|
54938
|
+
price: z116.optional(
|
|
54939
|
+
z116.nullable(
|
|
54940
|
+
z116.lazy(() => UpdatePlanLicenseBasePriceResponse$inboundSchema)
|
|
54941
|
+
)
|
|
54942
|
+
),
|
|
54943
|
+
add_items: optional3(
|
|
54944
|
+
z116.array(z116.lazy(() => UpdatePlanLicensePlanItemResponse$inboundSchema))
|
|
54945
|
+
),
|
|
54946
|
+
remove_items: optional3(
|
|
54947
|
+
z116.array(
|
|
54948
|
+
z116.lazy(() => UpdatePlanLicensePlanItemFilterResponse$inboundSchema)
|
|
54949
|
+
)
|
|
54950
|
+
)
|
|
54951
|
+
}),
|
|
54952
|
+
z116.transform((v) => {
|
|
54953
|
+
return remap(v, {
|
|
54954
|
+
"add_items": "addItems",
|
|
54955
|
+
"remove_items": "removeItems"
|
|
54956
|
+
});
|
|
54957
|
+
})
|
|
54958
|
+
);
|
|
54959
|
+
var UpdatePlanLicenseResponse$inboundSchema = z116.pipe(
|
|
54960
|
+
z116.object({
|
|
54961
|
+
license_plan_id: string5(),
|
|
54962
|
+
version: number2(),
|
|
54963
|
+
version_slug: optional3(string5()),
|
|
54964
|
+
included: number2(),
|
|
54965
|
+
prepaid_only: boolean2(),
|
|
54966
|
+
customize: optional3(
|
|
54967
|
+
z116.lazy(() => UpdatePlanLicenseCustomizeResponse$inboundSchema)
|
|
54968
|
+
),
|
|
54969
|
+
metadata: optional3(z116.record(z116.string(), z116.any())),
|
|
54970
|
+
plan: optional3(Plan$inboundSchema)
|
|
54971
|
+
}),
|
|
54972
|
+
z116.transform((v) => {
|
|
54973
|
+
return remap(v, {
|
|
54974
|
+
"license_plan_id": "licensePlanId",
|
|
54975
|
+
"version_slug": "versionSlug",
|
|
54976
|
+
"prepaid_only": "prepaidOnly"
|
|
54977
|
+
});
|
|
54978
|
+
})
|
|
54979
|
+
);
|
|
53192
54980
|
var UpdatePlanResponse$inboundSchema = z116.pipe(
|
|
53193
54981
|
z116.object({
|
|
53194
54982
|
id: string5(),
|
|
@@ -53218,6 +55006,9 @@ var UpdatePlanResponse$inboundSchema = z116.pipe(
|
|
|
53218
55006
|
base_variant_id: nullable(string5()),
|
|
53219
55007
|
variant_details: optional3(
|
|
53220
55008
|
z116.lazy(() => UpdatePlanVariantDetails$inboundSchema)
|
|
55009
|
+
),
|
|
55010
|
+
licenses: optional3(
|
|
55011
|
+
z116.array(z116.lazy(() => UpdatePlanLicenseResponse$inboundSchema))
|
|
53221
55012
|
)
|
|
53222
55013
|
}),
|
|
53223
55014
|
z116.transform((v) => {
|
|
@@ -54372,7 +56163,10 @@ var APIPromise = class {
|
|
|
54372
56163
|
[Symbol.toStringTag] = "APIPromise";
|
|
54373
56164
|
constructor(p) {
|
|
54374
56165
|
this.#promise = p instanceof Promise ? p : Promise.resolve(p);
|
|
54375
|
-
this.#unwrapped = p instanceof Promise ?
|
|
56166
|
+
this.#unwrapped = p instanceof Promise ? null : Promise.resolve(p[0]);
|
|
56167
|
+
}
|
|
56168
|
+
#getUnwrapped() {
|
|
56169
|
+
return this.#unwrapped ??= this.#promise.then(([value]) => value);
|
|
54376
56170
|
}
|
|
54377
56171
|
then(onfulfilled, onrejected) {
|
|
54378
56172
|
return this.#promise.then(
|
|
@@ -54381,10 +56175,10 @@ var APIPromise = class {
|
|
|
54381
56175
|
);
|
|
54382
56176
|
}
|
|
54383
56177
|
catch(onrejected) {
|
|
54384
|
-
return this.#
|
|
56178
|
+
return this.#getUnwrapped().catch(onrejected);
|
|
54385
56179
|
}
|
|
54386
56180
|
finally(onfinally) {
|
|
54387
|
-
return this.#
|
|
56181
|
+
return this.#getUnwrapped().finally(onfinally);
|
|
54388
56182
|
}
|
|
54389
56183
|
$inspect() {
|
|
54390
56184
|
return this.#promise;
|
|
@@ -54906,8 +56700,8 @@ var SDK_METADATA = {
|
|
|
54906
56700
|
language: "typescript",
|
|
54907
56701
|
openapiDocVersion: "2.4.0",
|
|
54908
56702
|
sdkVersion: "0.10.18",
|
|
54909
|
-
genVersion: "2.
|
|
54910
|
-
userAgent: "speakeasy-sdk/typescript 0.10.18 2.
|
|
56703
|
+
genVersion: "2.884.13",
|
|
56704
|
+
userAgent: "speakeasy-sdk/typescript 0.10.18 2.884.13 2.4.0 @useautumn/sdk"
|
|
54911
56705
|
};
|
|
54912
56706
|
|
|
54913
56707
|
// ../sdk/src/lib/retries.ts
|