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
|
@@ -6912,8 +6912,8 @@ var SDK_METADATA = {
|
|
|
6912
6912
|
language: "typescript",
|
|
6913
6913
|
openapiDocVersion: "2.4.0",
|
|
6914
6914
|
sdkVersion: "0.10.18",
|
|
6915
|
-
genVersion: "2.
|
|
6916
|
-
userAgent: "speakeasy-sdk/typescript 0.10.18 2.
|
|
6915
|
+
genVersion: "2.884.13",
|
|
6916
|
+
userAgent: "speakeasy-sdk/typescript 0.10.18 2.884.13 2.4.0 @useautumn/sdk"
|
|
6917
6917
|
};
|
|
6918
6918
|
|
|
6919
6919
|
// ../sdk/src/lib/http.ts
|
|
@@ -19407,7 +19407,7 @@ var CreatePlanDimensionsToItemRequestBodyEnum1 = {
|
|
|
19407
19407
|
var CreatePlanToItemRequestBodyEnum = {
|
|
19408
19408
|
Inf: "inf"
|
|
19409
19409
|
};
|
|
19410
|
-
var
|
|
19410
|
+
var CreatePlanPriceLicenseIntervalRequestBody = {
|
|
19411
19411
|
OneOff: "one_off",
|
|
19412
19412
|
Week: "week",
|
|
19413
19413
|
Month: "month",
|
|
@@ -19415,7 +19415,7 @@ var CreatePlanPriceLicenseInterval = {
|
|
|
19415
19415
|
SemiAnnual: "semi_annual",
|
|
19416
19416
|
Year: "year"
|
|
19417
19417
|
};
|
|
19418
|
-
var
|
|
19418
|
+
var CreatePlanLicenseResetIntervalRequestBody = {
|
|
19419
19419
|
OneOff: "one_off",
|
|
19420
19420
|
Minute: "minute",
|
|
19421
19421
|
Hour: "hour",
|
|
@@ -19426,11 +19426,11 @@ var CreatePlanLicenseResetInterval = {
|
|
|
19426
19426
|
SemiAnnual: "semi_annual",
|
|
19427
19427
|
Year: "year"
|
|
19428
19428
|
};
|
|
19429
|
-
var
|
|
19429
|
+
var CreatePlanLicenseTierBehaviorRequestBody = {
|
|
19430
19430
|
Graduated: "graduated",
|
|
19431
19431
|
Volume: "volume"
|
|
19432
19432
|
};
|
|
19433
|
-
var
|
|
19433
|
+
var CreatePlanAddItemPriceIntervalRequestBody = {
|
|
19434
19434
|
OneOff: "one_off",
|
|
19435
19435
|
Week: "week",
|
|
19436
19436
|
Month: "month",
|
|
@@ -19438,47 +19438,47 @@ var CreatePlanLicenseAddItemPriceInterval = {
|
|
|
19438
19438
|
SemiAnnual: "semi_annual",
|
|
19439
19439
|
Year: "year"
|
|
19440
19440
|
};
|
|
19441
|
-
var
|
|
19441
|
+
var CreatePlanAddItemBillingMethodRequestBody = {
|
|
19442
19442
|
Prepaid: "prepaid",
|
|
19443
19443
|
UsageBased: "usage_based"
|
|
19444
19444
|
};
|
|
19445
|
-
var
|
|
19445
|
+
var CreatePlanLicenseOnIncreaseRequestBody = {
|
|
19446
19446
|
BillImmediately: "bill_immediately",
|
|
19447
19447
|
ProrateImmediately: "prorate_immediately",
|
|
19448
19448
|
ProrateNextCycle: "prorate_next_cycle",
|
|
19449
19449
|
BillNextCycle: "bill_next_cycle"
|
|
19450
19450
|
};
|
|
19451
|
-
var
|
|
19451
|
+
var CreatePlanLicenseOnDecreaseRequestBody = {
|
|
19452
19452
|
Prorate: "prorate",
|
|
19453
19453
|
ProrateImmediately: "prorate_immediately",
|
|
19454
19454
|
ProrateNextCycle: "prorate_next_cycle",
|
|
19455
19455
|
None: "none",
|
|
19456
19456
|
NoProrations: "no_prorations"
|
|
19457
19457
|
};
|
|
19458
|
-
var
|
|
19458
|
+
var CreatePlanLicenseExpiryDurationTypeRequestBody = {
|
|
19459
19459
|
Month: "month",
|
|
19460
19460
|
Forever: "forever"
|
|
19461
19461
|
};
|
|
19462
|
-
var
|
|
19462
|
+
var CreatePlanLicenseDurationRequestBody = {
|
|
19463
19463
|
Day: "day",
|
|
19464
19464
|
Week: "week",
|
|
19465
19465
|
Month: "month",
|
|
19466
19466
|
Year: "year"
|
|
19467
19467
|
};
|
|
19468
|
-
var
|
|
19468
|
+
var CreatePlanDimensionsToLicenseRequestBodyEnum2 = {
|
|
19469
19469
|
Inf: "inf"
|
|
19470
19470
|
};
|
|
19471
|
-
var
|
|
19471
|
+
var CreatePlanDimensionsToLicenseRequestBodyEnum1 = {
|
|
19472
19472
|
Inf: "inf"
|
|
19473
19473
|
};
|
|
19474
|
-
var
|
|
19474
|
+
var CreatePlanToLicenseRequestBodyEnum = {
|
|
19475
19475
|
Inf: "inf"
|
|
19476
19476
|
};
|
|
19477
|
-
var
|
|
19477
|
+
var CreatePlanRemoveItemBillingMethodRequestBody = {
|
|
19478
19478
|
Prepaid: "prepaid",
|
|
19479
19479
|
UsageBased: "usage_based"
|
|
19480
19480
|
};
|
|
19481
|
-
var
|
|
19481
|
+
var CreatePlanIntervalRemoveItemRequestBodyEnum2 = {
|
|
19482
19482
|
OneOff: "one_off",
|
|
19483
19483
|
Minute: "minute",
|
|
19484
19484
|
Hour: "hour",
|
|
@@ -19489,7 +19489,7 @@ var CreatePlanIntervalLicenseRemoveItemEnum2 = {
|
|
|
19489
19489
|
SemiAnnual: "semi_annual",
|
|
19490
19490
|
Year: "year"
|
|
19491
19491
|
};
|
|
19492
|
-
var
|
|
19492
|
+
var CreatePlanIntervalRemoveItemRequestBodyEnum1 = {
|
|
19493
19493
|
OneOff: "one_off",
|
|
19494
19494
|
Week: "week",
|
|
19495
19495
|
Month: "month",
|
|
@@ -20012,19 +20012,21 @@ var CreatePlanItemPlanItem$outboundSchema = z46.pipe(
|
|
|
20012
20012
|
});
|
|
20013
20013
|
})
|
|
20014
20014
|
);
|
|
20015
|
-
var
|
|
20016
|
-
|
|
20015
|
+
var CreatePlanPriceLicenseIntervalRequestBody$outboundSchema = z46.enum(
|
|
20016
|
+
CreatePlanPriceLicenseIntervalRequestBody
|
|
20017
|
+
);
|
|
20018
|
+
var CreatePlanLicenseAdditionalCurrencyRequestBody$outboundSchema = z46.object({
|
|
20017
20019
|
currency: z46.string(),
|
|
20018
20020
|
amount: z46.number()
|
|
20019
20021
|
});
|
|
20020
|
-
var
|
|
20022
|
+
var CreatePlanBasePriceRequestBody$outboundSchema = z46.pipe(
|
|
20021
20023
|
z46.object({
|
|
20022
20024
|
amount: z46.number(),
|
|
20023
|
-
interval:
|
|
20025
|
+
interval: CreatePlanPriceLicenseIntervalRequestBody$outboundSchema,
|
|
20024
20026
|
intervalCount: z46._default(z46.number(), 1),
|
|
20025
|
-
additionalCurrencies: z46.optional(
|
|
20026
|
-
|
|
20027
|
-
)
|
|
20027
|
+
additionalCurrencies: z46.optional(z46.array(z46.lazy(
|
|
20028
|
+
() => CreatePlanLicenseAdditionalCurrencyRequestBody$outboundSchema
|
|
20029
|
+
)))
|
|
20028
20030
|
}),
|
|
20029
20031
|
z46.transform((v) => {
|
|
20030
20032
|
return remap(v, {
|
|
@@ -20033,13 +20035,15 @@ var CreatePlanLicenseBasePrice$outboundSchema = z46.pipe(
|
|
|
20033
20035
|
});
|
|
20034
20036
|
})
|
|
20035
20037
|
);
|
|
20036
|
-
var
|
|
20038
|
+
var CreatePlanLicenseThresholdBillingRequestBody$outboundSchema = z46.object({
|
|
20037
20039
|
threshold: z46.number()
|
|
20038
20040
|
});
|
|
20039
|
-
var
|
|
20040
|
-
|
|
20041
|
+
var CreatePlanLicenseResetIntervalRequestBody$outboundSchema = z46.enum(
|
|
20042
|
+
CreatePlanLicenseResetIntervalRequestBody
|
|
20043
|
+
);
|
|
20044
|
+
var CreatePlanLicenseResetRequestBody$outboundSchema = z46.pipe(
|
|
20041
20045
|
z46.object({
|
|
20042
|
-
interval:
|
|
20046
|
+
interval: CreatePlanLicenseResetIntervalRequestBody$outboundSchema,
|
|
20043
20047
|
intervalCount: z46._default(z46.number(), 1)
|
|
20044
20048
|
}),
|
|
20045
20049
|
z46.transform((v) => {
|
|
@@ -20048,12 +20052,12 @@ var CreatePlanLicenseReset$outboundSchema = z46.pipe(
|
|
|
20048
20052
|
});
|
|
20049
20053
|
})
|
|
20050
20054
|
);
|
|
20051
|
-
var
|
|
20055
|
+
var CreatePlanAddItemAdditionalCurrencyRequestBody$outboundSchema = z46.object({
|
|
20052
20056
|
currency: z46.string(),
|
|
20053
20057
|
amount: z46.number()
|
|
20054
20058
|
});
|
|
20055
|
-
var
|
|
20056
|
-
var
|
|
20059
|
+
var CreatePlanLicensePriceToRequestBody$outboundSchema = smartUnion([z46.number(), z46.string()]);
|
|
20060
|
+
var CreatePlanLicenseTierAdditionalCurrencyRequestBody$outboundSchema = z46.pipe(
|
|
20057
20061
|
z46.object({
|
|
20058
20062
|
currency: z46.string(),
|
|
20059
20063
|
amount: z46.optional(z46.number()),
|
|
@@ -20065,13 +20069,13 @@ var CreatePlanLicenseTierAdditionalCurrency$outboundSchema = z46.pipe(
|
|
|
20065
20069
|
});
|
|
20066
20070
|
})
|
|
20067
20071
|
);
|
|
20068
|
-
var
|
|
20072
|
+
var CreatePlanLicensePriceTierRequestBody$outboundSchema = z46.pipe(
|
|
20069
20073
|
z46.object({
|
|
20070
20074
|
to: smartUnion([z46.number(), z46.string()]),
|
|
20071
20075
|
amount: z46.optional(z46.number()),
|
|
20072
20076
|
flatAmount: z46.optional(z46.number()),
|
|
20073
20077
|
additionalCurrencies: z46.optional(z46.array(z46.lazy(
|
|
20074
|
-
() =>
|
|
20078
|
+
() => CreatePlanLicenseTierAdditionalCurrencyRequestBody$outboundSchema
|
|
20075
20079
|
)))
|
|
20076
20080
|
}),
|
|
20077
20081
|
z46.transform((v) => {
|
|
@@ -20081,27 +20085,31 @@ var CreatePlanLicensePriceTier$outboundSchema = z46.pipe(
|
|
|
20081
20085
|
});
|
|
20082
20086
|
})
|
|
20083
20087
|
);
|
|
20084
|
-
var
|
|
20085
|
-
|
|
20086
|
-
|
|
20088
|
+
var CreatePlanLicenseTierBehaviorRequestBody$outboundSchema = z46.enum(
|
|
20089
|
+
CreatePlanLicenseTierBehaviorRequestBody
|
|
20090
|
+
);
|
|
20091
|
+
var CreatePlanAddItemPriceIntervalRequestBody$outboundSchema = z46.enum(
|
|
20092
|
+
CreatePlanAddItemPriceIntervalRequestBody
|
|
20087
20093
|
);
|
|
20088
|
-
var
|
|
20089
|
-
|
|
20094
|
+
var CreatePlanAddItemBillingMethodRequestBody$outboundSchema = z46.enum(
|
|
20095
|
+
CreatePlanAddItemBillingMethodRequestBody
|
|
20090
20096
|
);
|
|
20091
|
-
var
|
|
20097
|
+
var CreatePlanLicensePriceRequestBody$outboundSchema = z46.pipe(
|
|
20092
20098
|
z46.object({
|
|
20093
20099
|
amount: z46.optional(z46.number()),
|
|
20094
20100
|
additionalCurrencies: z46.optional(z46.array(z46.lazy(
|
|
20095
|
-
() =>
|
|
20101
|
+
() => CreatePlanAddItemAdditionalCurrencyRequestBody$outboundSchema
|
|
20096
20102
|
))),
|
|
20097
20103
|
tiers: z46.optional(z46.array(z46.lazy(
|
|
20098
|
-
() =>
|
|
20104
|
+
() => CreatePlanLicensePriceTierRequestBody$outboundSchema
|
|
20099
20105
|
))),
|
|
20100
|
-
tierBehavior: z46.optional(
|
|
20101
|
-
|
|
20106
|
+
tierBehavior: z46.optional(
|
|
20107
|
+
CreatePlanLicenseTierBehaviorRequestBody$outboundSchema
|
|
20108
|
+
),
|
|
20109
|
+
interval: CreatePlanAddItemPriceIntervalRequestBody$outboundSchema,
|
|
20102
20110
|
intervalCount: z46._default(z46.number(), 1),
|
|
20103
20111
|
billingUnits: z46._default(z46.number(), 1),
|
|
20104
|
-
billingMethod:
|
|
20112
|
+
billingMethod: CreatePlanAddItemBillingMethodRequestBody$outboundSchema,
|
|
20105
20113
|
maxPurchase: z46.optional(z46.nullable(z46.number()))
|
|
20106
20114
|
}),
|
|
20107
20115
|
z46.transform((v) => {
|
|
@@ -20115,12 +20123,16 @@ var CreatePlanLicensePrice$outboundSchema = z46.pipe(
|
|
|
20115
20123
|
});
|
|
20116
20124
|
})
|
|
20117
20125
|
);
|
|
20118
|
-
var
|
|
20119
|
-
|
|
20120
|
-
|
|
20126
|
+
var CreatePlanLicenseOnIncreaseRequestBody$outboundSchema = z46.enum(
|
|
20127
|
+
CreatePlanLicenseOnIncreaseRequestBody
|
|
20128
|
+
);
|
|
20129
|
+
var CreatePlanLicenseOnDecreaseRequestBody$outboundSchema = z46.enum(
|
|
20130
|
+
CreatePlanLicenseOnDecreaseRequestBody
|
|
20131
|
+
);
|
|
20132
|
+
var CreatePlanLicenseProrationRequestBody$outboundSchema = z46.pipe(
|
|
20121
20133
|
z46.object({
|
|
20122
|
-
onIncrease:
|
|
20123
|
-
onDecrease:
|
|
20134
|
+
onIncrease: CreatePlanLicenseOnIncreaseRequestBody$outboundSchema,
|
|
20135
|
+
onDecrease: CreatePlanLicenseOnDecreaseRequestBody$outboundSchema
|
|
20124
20136
|
}),
|
|
20125
20137
|
z46.transform((v) => {
|
|
20126
20138
|
return remap(v, {
|
|
@@ -20129,12 +20141,14 @@ var CreatePlanLicenseProration$outboundSchema = z46.pipe(
|
|
|
20129
20141
|
});
|
|
20130
20142
|
})
|
|
20131
20143
|
);
|
|
20132
|
-
var
|
|
20133
|
-
|
|
20144
|
+
var CreatePlanLicenseExpiryDurationTypeRequestBody$outboundSchema = z46.enum(
|
|
20145
|
+
CreatePlanLicenseExpiryDurationTypeRequestBody
|
|
20146
|
+
);
|
|
20147
|
+
var CreatePlanLicenseRolloverRequestBody$outboundSchema = z46.pipe(
|
|
20134
20148
|
z46.object({
|
|
20135
20149
|
max: z46.optional(z46.number()),
|
|
20136
20150
|
maxPercentage: z46.optional(z46.number()),
|
|
20137
|
-
expiryDurationType:
|
|
20151
|
+
expiryDurationType: CreatePlanLicenseExpiryDurationTypeRequestBody$outboundSchema,
|
|
20138
20152
|
expiryDurationLength: z46.optional(z46.number())
|
|
20139
20153
|
}),
|
|
20140
20154
|
z46.transform((v) => {
|
|
@@ -20145,13 +20159,13 @@ var CreatePlanLicenseRollover$outboundSchema = z46.pipe(
|
|
|
20145
20159
|
});
|
|
20146
20160
|
})
|
|
20147
20161
|
);
|
|
20148
|
-
var
|
|
20149
|
-
var
|
|
20150
|
-
duration:
|
|
20162
|
+
var CreatePlanLicenseDurationRequestBody$outboundSchema = z46.enum(CreatePlanLicenseDurationRequestBody);
|
|
20163
|
+
var CreatePlanLicenseExpiryRequestBody$outboundSchema = z46.object({
|
|
20164
|
+
duration: CreatePlanLicenseDurationRequestBody$outboundSchema,
|
|
20151
20165
|
length: z46.number()
|
|
20152
20166
|
});
|
|
20153
20167
|
var CreatePlanDimensionsLicenseMatch4$outboundSchema = smartUnion([z46.string(), z46.number(), z46.boolean()]);
|
|
20154
|
-
var
|
|
20168
|
+
var CreatePlanDimensionsLicenseRequestBody4$outboundSchema = z46.pipe(
|
|
20155
20169
|
z46.object({
|
|
20156
20170
|
match: z46.record(
|
|
20157
20171
|
z46.string(),
|
|
@@ -20167,13 +20181,18 @@ var CreatePlanDimensionsLicense4$outboundSchema = z46.pipe(
|
|
|
20167
20181
|
})
|
|
20168
20182
|
);
|
|
20169
20183
|
var CreatePlanDimensionsLicenseMatch3$outboundSchema = smartUnion([z46.string(), z46.number(), z46.boolean()]);
|
|
20170
|
-
var
|
|
20171
|
-
|
|
20172
|
-
|
|
20184
|
+
var CreatePlanDimensionsToLicenseRequestBodyEnum2$outboundSchema = z46.enum(
|
|
20185
|
+
CreatePlanDimensionsToLicenseRequestBodyEnum2
|
|
20186
|
+
);
|
|
20187
|
+
var CreatePlanDimensionsLicenseToRequestBodyUnion2$outboundSchema = smartUnion([
|
|
20188
|
+
z46.number(),
|
|
20189
|
+
CreatePlanDimensionsToLicenseRequestBodyEnum2$outboundSchema
|
|
20190
|
+
]);
|
|
20191
|
+
var CreatePlanDimensionsLicenseTierRequestBody2$outboundSchema = z46.pipe(
|
|
20173
20192
|
z46.object({
|
|
20174
20193
|
to: smartUnion([
|
|
20175
20194
|
z46.number(),
|
|
20176
|
-
|
|
20195
|
+
CreatePlanDimensionsToLicenseRequestBodyEnum2$outboundSchema
|
|
20177
20196
|
]),
|
|
20178
20197
|
creditCost: z46.number()
|
|
20179
20198
|
}),
|
|
@@ -20183,7 +20202,7 @@ var CreatePlanDimensionsLicenseTier2$outboundSchema = z46.pipe(
|
|
|
20183
20202
|
});
|
|
20184
20203
|
})
|
|
20185
20204
|
);
|
|
20186
|
-
var
|
|
20205
|
+
var CreatePlanDimensionsLicenseRequestBody3$outboundSchema = z46.pipe(
|
|
20187
20206
|
z46.object({
|
|
20188
20207
|
match: z46.record(
|
|
20189
20208
|
z46.string(),
|
|
@@ -20192,7 +20211,9 @@ var CreatePlanDimensionsLicense3$outboundSchema = z46.pipe(
|
|
|
20192
20211
|
priority: z46.optional(z46.int()),
|
|
20193
20212
|
tierBehavior: z46.literal("graduated"),
|
|
20194
20213
|
tiers: z46.array(
|
|
20195
|
-
z46.lazy(
|
|
20214
|
+
z46.lazy(
|
|
20215
|
+
() => CreatePlanDimensionsLicenseTierRequestBody2$outboundSchema
|
|
20216
|
+
)
|
|
20196
20217
|
)
|
|
20197
20218
|
}),
|
|
20198
20219
|
z46.transform((v) => {
|
|
@@ -20201,12 +20222,12 @@ var CreatePlanDimensionsLicense3$outboundSchema = z46.pipe(
|
|
|
20201
20222
|
});
|
|
20202
20223
|
})
|
|
20203
20224
|
);
|
|
20204
|
-
var
|
|
20205
|
-
z46.lazy(() =>
|
|
20206
|
-
z46.lazy(() =>
|
|
20225
|
+
var CreatePlanLicenseDimensionsRequestBodyUnion2$outboundSchema = smartUnion([
|
|
20226
|
+
z46.lazy(() => CreatePlanDimensionsLicenseRequestBody3$outboundSchema),
|
|
20227
|
+
z46.lazy(() => CreatePlanDimensionsLicenseRequestBody4$outboundSchema)
|
|
20207
20228
|
]);
|
|
20208
20229
|
var CreatePlanLicenseMultipliersMatch2$outboundSchema = smartUnion([z46.string(), z46.number(), z46.boolean()]);
|
|
20209
|
-
var
|
|
20230
|
+
var CreatePlanLicenseMultipliersRequestBody2$outboundSchema = z46.object({
|
|
20210
20231
|
match: z46.record(
|
|
20211
20232
|
z46.string(),
|
|
20212
20233
|
smartUnion([z46.string(), z46.number(), z46.boolean()])
|
|
@@ -20214,20 +20235,20 @@ var CreatePlanLicenseMultipliers2$outboundSchema = z46.object({
|
|
|
20214
20235
|
factor: z46.optional(z46.number()),
|
|
20215
20236
|
add: z46.optional(z46.number())
|
|
20216
20237
|
});
|
|
20217
|
-
var
|
|
20238
|
+
var CreatePlanCreditSchemaLicenseRequestBody2$outboundSchema = z46.pipe(
|
|
20218
20239
|
z46.object({
|
|
20219
20240
|
meteredFeatureId: z46.string(),
|
|
20220
20241
|
billingUnits: z46.optional(z46.number()),
|
|
20221
20242
|
dimensions: z46.optional(z46.record(
|
|
20222
20243
|
z46.string(),
|
|
20223
20244
|
smartUnion([
|
|
20224
|
-
z46.lazy(() =>
|
|
20225
|
-
z46.lazy(() =>
|
|
20245
|
+
z46.lazy(() => CreatePlanDimensionsLicenseRequestBody3$outboundSchema),
|
|
20246
|
+
z46.lazy(() => CreatePlanDimensionsLicenseRequestBody4$outboundSchema)
|
|
20226
20247
|
])
|
|
20227
20248
|
)),
|
|
20228
20249
|
multipliers: z46.optional(z46.record(
|
|
20229
20250
|
z46.string(),
|
|
20230
|
-
z46.lazy(() =>
|
|
20251
|
+
z46.lazy(() => CreatePlanLicenseMultipliersRequestBody2$outboundSchema)
|
|
20231
20252
|
)),
|
|
20232
20253
|
creditCost: z46.number()
|
|
20233
20254
|
}),
|
|
@@ -20240,7 +20261,7 @@ var CreatePlanCreditSchemaLicense2$outboundSchema = z46.pipe(
|
|
|
20240
20261
|
})
|
|
20241
20262
|
);
|
|
20242
20263
|
var CreatePlanDimensionsLicenseMatch2$outboundSchema = smartUnion([z46.string(), z46.number(), z46.boolean()]);
|
|
20243
|
-
var
|
|
20264
|
+
var CreatePlanDimensionsLicenseRequestBody2$outboundSchema = z46.pipe(
|
|
20244
20265
|
z46.object({
|
|
20245
20266
|
match: z46.record(
|
|
20246
20267
|
z46.string(),
|
|
@@ -20256,13 +20277,18 @@ var CreatePlanDimensionsLicense2$outboundSchema = z46.pipe(
|
|
|
20256
20277
|
})
|
|
20257
20278
|
);
|
|
20258
20279
|
var CreatePlanDimensionsLicenseMatch1$outboundSchema = smartUnion([z46.string(), z46.number(), z46.boolean()]);
|
|
20259
|
-
var
|
|
20260
|
-
|
|
20261
|
-
|
|
20280
|
+
var CreatePlanDimensionsToLicenseRequestBodyEnum1$outboundSchema = z46.enum(
|
|
20281
|
+
CreatePlanDimensionsToLicenseRequestBodyEnum1
|
|
20282
|
+
);
|
|
20283
|
+
var CreatePlanDimensionsLicenseToRequestBodyUnion1$outboundSchema = smartUnion([
|
|
20284
|
+
z46.number(),
|
|
20285
|
+
CreatePlanDimensionsToLicenseRequestBodyEnum1$outboundSchema
|
|
20286
|
+
]);
|
|
20287
|
+
var CreatePlanDimensionsLicenseTierRequestBody1$outboundSchema = z46.pipe(
|
|
20262
20288
|
z46.object({
|
|
20263
20289
|
to: smartUnion([
|
|
20264
20290
|
z46.number(),
|
|
20265
|
-
|
|
20291
|
+
CreatePlanDimensionsToLicenseRequestBodyEnum1$outboundSchema
|
|
20266
20292
|
]),
|
|
20267
20293
|
creditCost: z46.number()
|
|
20268
20294
|
}),
|
|
@@ -20272,7 +20298,7 @@ var CreatePlanDimensionsLicenseTier1$outboundSchema = z46.pipe(
|
|
|
20272
20298
|
});
|
|
20273
20299
|
})
|
|
20274
20300
|
);
|
|
20275
|
-
var
|
|
20301
|
+
var CreatePlanDimensionsLicenseRequestBody1$outboundSchema = z46.pipe(
|
|
20276
20302
|
z46.object({
|
|
20277
20303
|
match: z46.record(
|
|
20278
20304
|
z46.string(),
|
|
@@ -20281,7 +20307,9 @@ var CreatePlanDimensionsLicense1$outboundSchema = z46.pipe(
|
|
|
20281
20307
|
priority: z46.optional(z46.int()),
|
|
20282
20308
|
tierBehavior: z46.literal("graduated"),
|
|
20283
20309
|
tiers: z46.array(
|
|
20284
|
-
z46.lazy(
|
|
20310
|
+
z46.lazy(
|
|
20311
|
+
() => CreatePlanDimensionsLicenseTierRequestBody1$outboundSchema
|
|
20312
|
+
)
|
|
20285
20313
|
)
|
|
20286
20314
|
}),
|
|
20287
20315
|
z46.transform((v) => {
|
|
@@ -20290,12 +20318,12 @@ var CreatePlanDimensionsLicense1$outboundSchema = z46.pipe(
|
|
|
20290
20318
|
});
|
|
20291
20319
|
})
|
|
20292
20320
|
);
|
|
20293
|
-
var
|
|
20294
|
-
z46.lazy(() =>
|
|
20295
|
-
z46.lazy(() =>
|
|
20321
|
+
var CreatePlanLicenseDimensionsRequestBodyUnion1$outboundSchema = smartUnion([
|
|
20322
|
+
z46.lazy(() => CreatePlanDimensionsLicenseRequestBody1$outboundSchema),
|
|
20323
|
+
z46.lazy(() => CreatePlanDimensionsLicenseRequestBody2$outboundSchema)
|
|
20296
20324
|
]);
|
|
20297
20325
|
var CreatePlanLicenseMultipliersMatch1$outboundSchema = smartUnion([z46.string(), z46.number(), z46.boolean()]);
|
|
20298
|
-
var
|
|
20326
|
+
var CreatePlanLicenseMultipliersRequestBody1$outboundSchema = z46.object({
|
|
20299
20327
|
match: z46.record(
|
|
20300
20328
|
z46.string(),
|
|
20301
20329
|
smartUnion([z46.string(), z46.number(), z46.boolean()])
|
|
@@ -20303,11 +20331,17 @@ var CreatePlanLicenseMultipliers1$outboundSchema = z46.object({
|
|
|
20303
20331
|
factor: z46.optional(z46.number()),
|
|
20304
20332
|
add: z46.optional(z46.number())
|
|
20305
20333
|
});
|
|
20306
|
-
var
|
|
20307
|
-
var
|
|
20308
|
-
|
|
20334
|
+
var CreatePlanToLicenseRequestBodyEnum$outboundSchema = z46.enum(CreatePlanToLicenseRequestBodyEnum);
|
|
20335
|
+
var CreatePlanLicenseFeatureOverrideToRequestBodyUnion$outboundSchema = smartUnion([
|
|
20336
|
+
z46.number(),
|
|
20337
|
+
CreatePlanToLicenseRequestBodyEnum$outboundSchema
|
|
20338
|
+
]);
|
|
20339
|
+
var CreatePlanLicenseFeatureOverrideTierRequestBody$outboundSchema = z46.pipe(
|
|
20309
20340
|
z46.object({
|
|
20310
|
-
to: smartUnion([
|
|
20341
|
+
to: smartUnion([
|
|
20342
|
+
z46.number(),
|
|
20343
|
+
CreatePlanToLicenseRequestBodyEnum$outboundSchema
|
|
20344
|
+
]),
|
|
20311
20345
|
creditCost: z46.number()
|
|
20312
20346
|
}),
|
|
20313
20347
|
z46.transform((v) => {
|
|
@@ -20316,24 +20350,24 @@ var CreatePlanLicenseFeatureOverrideTier$outboundSchema = z46.pipe(
|
|
|
20316
20350
|
});
|
|
20317
20351
|
})
|
|
20318
20352
|
);
|
|
20319
|
-
var
|
|
20353
|
+
var CreatePlanCreditSchemaLicenseRequestBody1$outboundSchema = z46.pipe(
|
|
20320
20354
|
z46.object({
|
|
20321
20355
|
meteredFeatureId: z46.string(),
|
|
20322
20356
|
billingUnits: z46.optional(z46.number()),
|
|
20323
20357
|
dimensions: z46.optional(z46.record(
|
|
20324
20358
|
z46.string(),
|
|
20325
20359
|
smartUnion([
|
|
20326
|
-
z46.lazy(() =>
|
|
20327
|
-
z46.lazy(() =>
|
|
20360
|
+
z46.lazy(() => CreatePlanDimensionsLicenseRequestBody1$outboundSchema),
|
|
20361
|
+
z46.lazy(() => CreatePlanDimensionsLicenseRequestBody2$outboundSchema)
|
|
20328
20362
|
])
|
|
20329
20363
|
)),
|
|
20330
20364
|
multipliers: z46.optional(z46.record(
|
|
20331
20365
|
z46.string(),
|
|
20332
|
-
z46.lazy(() =>
|
|
20366
|
+
z46.lazy(() => CreatePlanLicenseMultipliersRequestBody1$outboundSchema)
|
|
20333
20367
|
)),
|
|
20334
20368
|
tierBehavior: z46.literal("graduated"),
|
|
20335
20369
|
tiers: z46.array(z46.lazy(
|
|
20336
|
-
() =>
|
|
20370
|
+
() => CreatePlanLicenseFeatureOverrideTierRequestBody$outboundSchema
|
|
20337
20371
|
))
|
|
20338
20372
|
}),
|
|
20339
20373
|
z46.transform((v) => {
|
|
@@ -20344,14 +20378,14 @@ var CreatePlanCreditSchemaLicense1$outboundSchema = z46.pipe(
|
|
|
20344
20378
|
});
|
|
20345
20379
|
})
|
|
20346
20380
|
);
|
|
20347
|
-
var
|
|
20348
|
-
z46.lazy(() =>
|
|
20349
|
-
z46.lazy(() =>
|
|
20381
|
+
var CreatePlanLicenseCreditSchemaRequestBodyUnion$outboundSchema = smartUnion([
|
|
20382
|
+
z46.lazy(() => CreatePlanCreditSchemaLicenseRequestBody1$outboundSchema),
|
|
20383
|
+
z46.lazy(() => CreatePlanCreditSchemaLicenseRequestBody2$outboundSchema)
|
|
20350
20384
|
]);
|
|
20351
|
-
var
|
|
20385
|
+
var CreatePlanLicenseProviderMarkupsRequestBody$outboundSchema = z46.object({
|
|
20352
20386
|
markup: z46.number()
|
|
20353
20387
|
});
|
|
20354
|
-
var
|
|
20388
|
+
var CreatePlanLicenseModelMarkupsRequestBody$outboundSchema = z46.pipe(
|
|
20355
20389
|
z46.object({
|
|
20356
20390
|
markup: z46.optional(z46.number()),
|
|
20357
20391
|
inputCost: z46.optional(z46.number()),
|
|
@@ -20364,16 +20398,16 @@ var CreatePlanLicenseModelMarkups$outboundSchema = z46.pipe(
|
|
|
20364
20398
|
});
|
|
20365
20399
|
})
|
|
20366
20400
|
);
|
|
20367
|
-
var
|
|
20401
|
+
var CreatePlanLicenseMarkupsRequestBody$outboundSchema = z46.pipe(
|
|
20368
20402
|
z46.object({
|
|
20369
20403
|
defaultMarkup: z46.optional(z46.number()),
|
|
20370
20404
|
providerMarkups: z46.optional(z46.nullable(z46.record(
|
|
20371
20405
|
z46.string(),
|
|
20372
|
-
z46.lazy(() =>
|
|
20406
|
+
z46.lazy(() => CreatePlanLicenseProviderMarkupsRequestBody$outboundSchema)
|
|
20373
20407
|
))),
|
|
20374
20408
|
modelMarkups: z46.optional(z46.nullable(z46.record(
|
|
20375
20409
|
z46.string(),
|
|
20376
|
-
z46.lazy(() =>
|
|
20410
|
+
z46.lazy(() => CreatePlanLicenseModelMarkupsRequestBody$outboundSchema)
|
|
20377
20411
|
)))
|
|
20378
20412
|
}),
|
|
20379
20413
|
z46.transform((v) => {
|
|
@@ -20384,16 +20418,16 @@ var CreatePlanLicenseMarkups$outboundSchema = z46.pipe(
|
|
|
20384
20418
|
});
|
|
20385
20419
|
})
|
|
20386
20420
|
);
|
|
20387
|
-
var
|
|
20421
|
+
var CreatePlanLicenseFeatureOverrideRequestBody$outboundSchema = z46.pipe(
|
|
20388
20422
|
z46.object({
|
|
20389
20423
|
creditSchema: z46.optional(z46.array(smartUnion([
|
|
20390
|
-
z46.lazy(() =>
|
|
20424
|
+
z46.lazy(() => CreatePlanCreditSchemaLicenseRequestBody1$outboundSchema),
|
|
20391
20425
|
z46.lazy(
|
|
20392
|
-
() =>
|
|
20426
|
+
() => CreatePlanCreditSchemaLicenseRequestBody2$outboundSchema
|
|
20393
20427
|
)
|
|
20394
20428
|
]))),
|
|
20395
20429
|
markups: z46.optional(z46.lazy(
|
|
20396
|
-
() =>
|
|
20430
|
+
() => CreatePlanLicenseMarkupsRequestBody$outboundSchema
|
|
20397
20431
|
))
|
|
20398
20432
|
}),
|
|
20399
20433
|
z46.transform((v) => {
|
|
@@ -20402,29 +20436,33 @@ var CreatePlanLicenseFeatureOverride$outboundSchema = z46.pipe(
|
|
|
20402
20436
|
});
|
|
20403
20437
|
})
|
|
20404
20438
|
);
|
|
20405
|
-
var
|
|
20439
|
+
var CreatePlanLicensePlanItemRequestBody$outboundSchema = z46.pipe(
|
|
20406
20440
|
z46.object({
|
|
20407
|
-
thresholdBilling: z46.optional(
|
|
20408
|
-
|
|
20409
|
-
|
|
20410
|
-
)
|
|
20411
|
-
),
|
|
20441
|
+
thresholdBilling: z46.optional(z46.nullable(z46.lazy(
|
|
20442
|
+
() => CreatePlanLicenseThresholdBillingRequestBody$outboundSchema
|
|
20443
|
+
))),
|
|
20412
20444
|
featureId: z46.string(),
|
|
20413
20445
|
included: z46.optional(z46.number()),
|
|
20414
20446
|
unlimited: z46.optional(z46.boolean()),
|
|
20415
20447
|
pooled: z46._default(z46.boolean(), false),
|
|
20416
|
-
reset: z46.optional(z46.lazy(
|
|
20417
|
-
|
|
20418
|
-
|
|
20419
|
-
|
|
20420
|
-
|
|
20421
|
-
|
|
20422
|
-
|
|
20423
|
-
|
|
20424
|
-
|
|
20425
|
-
|
|
20426
|
-
|
|
20427
|
-
)
|
|
20448
|
+
reset: z46.optional(z46.lazy(
|
|
20449
|
+
() => CreatePlanLicenseResetRequestBody$outboundSchema
|
|
20450
|
+
)),
|
|
20451
|
+
price: z46.optional(z46.lazy(
|
|
20452
|
+
() => CreatePlanLicensePriceRequestBody$outboundSchema
|
|
20453
|
+
)),
|
|
20454
|
+
proration: z46.optional(z46.lazy(
|
|
20455
|
+
() => CreatePlanLicenseProrationRequestBody$outboundSchema
|
|
20456
|
+
)),
|
|
20457
|
+
rollover: z46.optional(z46.lazy(
|
|
20458
|
+
() => CreatePlanLicenseRolloverRequestBody$outboundSchema
|
|
20459
|
+
)),
|
|
20460
|
+
expiry: z46.optional(z46.lazy(
|
|
20461
|
+
() => CreatePlanLicenseExpiryRequestBody$outboundSchema
|
|
20462
|
+
)),
|
|
20463
|
+
featureOverride: z46.optional(z46.lazy(
|
|
20464
|
+
() => CreatePlanLicenseFeatureOverrideRequestBody$outboundSchema
|
|
20465
|
+
))
|
|
20428
20466
|
}),
|
|
20429
20467
|
z46.transform((v) => {
|
|
20430
20468
|
return remap(v, {
|
|
@@ -20434,29 +20472,29 @@ var CreatePlanLicensePlanItem$outboundSchema = z46.pipe(
|
|
|
20434
20472
|
});
|
|
20435
20473
|
})
|
|
20436
20474
|
);
|
|
20437
|
-
var
|
|
20438
|
-
|
|
20475
|
+
var CreatePlanRemoveItemBillingMethodRequestBody$outboundSchema = z46.enum(
|
|
20476
|
+
CreatePlanRemoveItemBillingMethodRequestBody
|
|
20439
20477
|
);
|
|
20440
|
-
var
|
|
20441
|
-
|
|
20478
|
+
var CreatePlanIntervalRemoveItemRequestBodyEnum2$outboundSchema = z46.enum(
|
|
20479
|
+
CreatePlanIntervalRemoveItemRequestBodyEnum2
|
|
20442
20480
|
);
|
|
20443
|
-
var
|
|
20444
|
-
|
|
20481
|
+
var CreatePlanIntervalRemoveItemRequestBodyEnum1$outboundSchema = z46.enum(
|
|
20482
|
+
CreatePlanIntervalRemoveItemRequestBodyEnum1
|
|
20445
20483
|
);
|
|
20446
|
-
var
|
|
20447
|
-
|
|
20448
|
-
|
|
20484
|
+
var CreatePlanIntervalRequestBodyUnion$outboundSchema = smartUnion([
|
|
20485
|
+
CreatePlanIntervalRemoveItemRequestBodyEnum1$outboundSchema,
|
|
20486
|
+
CreatePlanIntervalRemoveItemRequestBodyEnum2$outboundSchema
|
|
20449
20487
|
]);
|
|
20450
|
-
var
|
|
20488
|
+
var CreatePlanPlanItemFilterRequestBody$outboundSchema = z46.pipe(
|
|
20451
20489
|
z46.object({
|
|
20452
20490
|
featureId: z46.optional(z46.string()),
|
|
20453
20491
|
billingMethod: z46.optional(
|
|
20454
|
-
|
|
20492
|
+
CreatePlanRemoveItemBillingMethodRequestBody$outboundSchema
|
|
20455
20493
|
),
|
|
20456
20494
|
interval: z46.optional(
|
|
20457
20495
|
smartUnion([
|
|
20458
|
-
|
|
20459
|
-
|
|
20496
|
+
CreatePlanIntervalRemoveItemRequestBodyEnum1$outboundSchema,
|
|
20497
|
+
CreatePlanIntervalRemoveItemRequestBodyEnum2$outboundSchema
|
|
20460
20498
|
])
|
|
20461
20499
|
),
|
|
20462
20500
|
intervalCount: z46.optional(z46.int()),
|
|
@@ -20470,16 +20508,18 @@ var CreatePlanLicensePlanItemFilter$outboundSchema = z46.pipe(
|
|
|
20470
20508
|
});
|
|
20471
20509
|
})
|
|
20472
20510
|
);
|
|
20473
|
-
var
|
|
20511
|
+
var CreatePlanCustomizeRequestBody$outboundSchema = z46.pipe(
|
|
20474
20512
|
z46.object({
|
|
20475
20513
|
price: z46.optional(
|
|
20476
|
-
z46.nullable(z46.lazy(() =>
|
|
20514
|
+
z46.nullable(z46.lazy(() => CreatePlanBasePriceRequestBody$outboundSchema))
|
|
20477
20515
|
),
|
|
20478
20516
|
addItems: z46.optional(
|
|
20479
|
-
z46.array(
|
|
20517
|
+
z46.array(
|
|
20518
|
+
z46.lazy(() => CreatePlanLicensePlanItemRequestBody$outboundSchema)
|
|
20519
|
+
)
|
|
20480
20520
|
),
|
|
20481
20521
|
removeItems: z46.optional(
|
|
20482
|
-
z46.array(z46.lazy(() =>
|
|
20522
|
+
z46.array(z46.lazy(() => CreatePlanPlanItemFilterRequestBody$outboundSchema))
|
|
20483
20523
|
)
|
|
20484
20524
|
}),
|
|
20485
20525
|
z46.transform((v) => {
|
|
@@ -20489,14 +20529,14 @@ var CreatePlanLicenseCustomize$outboundSchema = z46.pipe(
|
|
|
20489
20529
|
});
|
|
20490
20530
|
})
|
|
20491
20531
|
);
|
|
20492
|
-
var
|
|
20532
|
+
var CreatePlanLicenseRequest$outboundSchema = z46.pipe(
|
|
20493
20533
|
z46.object({
|
|
20494
20534
|
licensePlanId: z46.string(),
|
|
20495
20535
|
versionSlug: z46.optional(z46.string()),
|
|
20496
20536
|
included: z46.optional(z46.int()),
|
|
20497
20537
|
prepaidOnly: z46.optional(z46.boolean()),
|
|
20498
20538
|
customize: z46.optional(
|
|
20499
|
-
z46.nullable(z46.lazy(() =>
|
|
20539
|
+
z46.nullable(z46.lazy(() => CreatePlanCustomizeRequestBody$outboundSchema))
|
|
20500
20540
|
),
|
|
20501
20541
|
metadata: z46.optional(z46.record(z46.string(), z46.any()))
|
|
20502
20542
|
}),
|
|
@@ -20702,7 +20742,7 @@ var CreatePlanParams$outboundSchema = z46.pipe(
|
|
|
20702
20742
|
z46.array(z46.lazy(() => CreatePlanItemPlanItem$outboundSchema))
|
|
20703
20743
|
),
|
|
20704
20744
|
licenses: z46.optional(
|
|
20705
|
-
z46.array(z46.lazy(() =>
|
|
20745
|
+
z46.array(z46.lazy(() => CreatePlanLicenseRequest$outboundSchema))
|
|
20706
20746
|
),
|
|
20707
20747
|
freeTrial: z46.optional(z46.lazy(() => FreeTrialRequestBody$outboundSchema)),
|
|
20708
20748
|
config: z46.optional(
|
|
@@ -20973,17 +21013,17 @@ var CreatePlanVariantDetailsAddItemPriceInterval = {
|
|
|
20973
21013
|
SemiAnnual: "semi_annual",
|
|
20974
21014
|
Year: "year"
|
|
20975
21015
|
};
|
|
20976
|
-
var
|
|
21016
|
+
var CreatePlanVariantDetailsAddItemBillingMethod = {
|
|
20977
21017
|
Prepaid: "prepaid",
|
|
20978
21018
|
UsageBased: "usage_based"
|
|
20979
21019
|
};
|
|
20980
|
-
var
|
|
21020
|
+
var CreatePlanVariantDetailsOnIncrease = {
|
|
20981
21021
|
BillImmediately: "bill_immediately",
|
|
20982
21022
|
ProrateImmediately: "prorate_immediately",
|
|
20983
21023
|
ProrateNextCycle: "prorate_next_cycle",
|
|
20984
21024
|
BillNextCycle: "bill_next_cycle"
|
|
20985
21025
|
};
|
|
20986
|
-
var
|
|
21026
|
+
var CreatePlanVariantDetailsOnDecrease = {
|
|
20987
21027
|
Prorate: "prorate",
|
|
20988
21028
|
ProrateImmediately: "prorate_immediately",
|
|
20989
21029
|
ProrateNextCycle: "prorate_next_cycle",
|
|
@@ -21009,7 +21049,7 @@ var CreatePlanDimensionsToVariantDetailsEnum1 = {
|
|
|
21009
21049
|
var CreatePlanToVariantDetailsEnum = {
|
|
21010
21050
|
Inf: "inf"
|
|
21011
21051
|
};
|
|
21012
|
-
var
|
|
21052
|
+
var CreatePlanVariantDetailsRemoveItemBillingMethod = {
|
|
21013
21053
|
Prepaid: "prepaid",
|
|
21014
21054
|
UsageBased: "usage_based"
|
|
21015
21055
|
};
|
|
@@ -21734,7 +21774,7 @@ var CreatePlanVariantDetailsAdditionalCurrency$inboundSchema = z47.object(
|
|
|
21734
21774
|
amount: number2()
|
|
21735
21775
|
}
|
|
21736
21776
|
);
|
|
21737
|
-
var
|
|
21777
|
+
var CreatePlanVariantDetailsBasePrice$inboundSchema = z47.pipe(
|
|
21738
21778
|
z47.object({
|
|
21739
21779
|
amount: number2(),
|
|
21740
21780
|
interval: CreatePlanPriceVariantDetailsInterval$inboundSchema,
|
|
@@ -21765,7 +21805,7 @@ var CreatePlanVariantDetailsReset$inboundSchema = z47.pipe(
|
|
|
21765
21805
|
});
|
|
21766
21806
|
})
|
|
21767
21807
|
);
|
|
21768
|
-
var
|
|
21808
|
+
var CreatePlanVariantDetailsAddItemAdditionalCurrency$inboundSchema = z47.object({
|
|
21769
21809
|
currency: string5(),
|
|
21770
21810
|
amount: number2()
|
|
21771
21811
|
});
|
|
@@ -21800,12 +21840,12 @@ var CreatePlanVariantDetailsPriceTier$inboundSchema = z47.pipe(
|
|
|
21800
21840
|
);
|
|
21801
21841
|
var CreatePlanVariantDetailsTierBehavior$inboundSchema = inboundSchema(CreatePlanVariantDetailsTierBehavior);
|
|
21802
21842
|
var CreatePlanVariantDetailsAddItemPriceInterval$inboundSchema = inboundSchema(CreatePlanVariantDetailsAddItemPriceInterval);
|
|
21803
|
-
var
|
|
21843
|
+
var CreatePlanVariantDetailsAddItemBillingMethod$inboundSchema = inboundSchema(CreatePlanVariantDetailsAddItemBillingMethod);
|
|
21804
21844
|
var CreatePlanVariantDetailsPrice$inboundSchema = z47.pipe(
|
|
21805
21845
|
z47.object({
|
|
21806
21846
|
amount: optional3(number2()),
|
|
21807
21847
|
additional_currencies: optional3(z47.array(z47.lazy(
|
|
21808
|
-
() =>
|
|
21848
|
+
() => CreatePlanVariantDetailsAddItemAdditionalCurrency$inboundSchema
|
|
21809
21849
|
))),
|
|
21810
21850
|
tiers: optional3(z47.array(z47.lazy(
|
|
21811
21851
|
() => CreatePlanVariantDetailsPriceTier$inboundSchema
|
|
@@ -21816,7 +21856,7 @@ var CreatePlanVariantDetailsPrice$inboundSchema = z47.pipe(
|
|
|
21816
21856
|
interval: CreatePlanVariantDetailsAddItemPriceInterval$inboundSchema,
|
|
21817
21857
|
interval_count: z47._default(number2(), 1),
|
|
21818
21858
|
billing_units: z47._default(number2(), 1),
|
|
21819
|
-
billing_method:
|
|
21859
|
+
billing_method: CreatePlanVariantDetailsAddItemBillingMethod$inboundSchema,
|
|
21820
21860
|
max_purchase: z47.optional(z47.nullable(number2()))
|
|
21821
21861
|
}),
|
|
21822
21862
|
z47.transform((v) => {
|
|
@@ -21830,12 +21870,12 @@ var CreatePlanVariantDetailsPrice$inboundSchema = z47.pipe(
|
|
|
21830
21870
|
});
|
|
21831
21871
|
})
|
|
21832
21872
|
);
|
|
21833
|
-
var
|
|
21834
|
-
var
|
|
21835
|
-
var
|
|
21873
|
+
var CreatePlanVariantDetailsOnIncrease$inboundSchema = inboundSchema(CreatePlanVariantDetailsOnIncrease);
|
|
21874
|
+
var CreatePlanVariantDetailsOnDecrease$inboundSchema = inboundSchema(CreatePlanVariantDetailsOnDecrease);
|
|
21875
|
+
var CreatePlanVariantDetailsProration$inboundSchema = z47.pipe(
|
|
21836
21876
|
z47.object({
|
|
21837
|
-
on_increase:
|
|
21838
|
-
on_decrease:
|
|
21877
|
+
on_increase: CreatePlanVariantDetailsOnIncrease$inboundSchema,
|
|
21878
|
+
on_decrease: CreatePlanVariantDetailsOnDecrease$inboundSchema
|
|
21839
21879
|
}),
|
|
21840
21880
|
z47.transform((v) => {
|
|
21841
21881
|
return remap(v, {
|
|
@@ -22110,7 +22150,7 @@ var CreatePlanVariantDetailsFeatureOverride$inboundSchema = z47.pipe(
|
|
|
22110
22150
|
});
|
|
22111
22151
|
})
|
|
22112
22152
|
);
|
|
22113
|
-
var
|
|
22153
|
+
var CreatePlanVariantDetailsPlanItem$inboundSchema = z47.pipe(
|
|
22114
22154
|
z47.object({
|
|
22115
22155
|
threshold_billing: z47.optional(z47.nullable(z47.lazy(
|
|
22116
22156
|
() => CreatePlanVariantDetailsThresholdBilling$inboundSchema
|
|
@@ -22126,7 +22166,7 @@ var CreatePlanPlanItemResponse$inboundSchema = z47.pipe(
|
|
|
22126
22166
|
() => CreatePlanVariantDetailsPrice$inboundSchema
|
|
22127
22167
|
)),
|
|
22128
22168
|
proration: optional3(z47.lazy(
|
|
22129
|
-
() =>
|
|
22169
|
+
() => CreatePlanVariantDetailsProration$inboundSchema
|
|
22130
22170
|
)),
|
|
22131
22171
|
rollover: optional3(z47.lazy(
|
|
22132
22172
|
() => CreatePlanVariantDetailsRollover$inboundSchema
|
|
@@ -22146,18 +22186,18 @@ var CreatePlanPlanItemResponse$inboundSchema = z47.pipe(
|
|
|
22146
22186
|
});
|
|
22147
22187
|
})
|
|
22148
22188
|
);
|
|
22149
|
-
var
|
|
22189
|
+
var CreatePlanVariantDetailsRemoveItemBillingMethod$inboundSchema = inboundSchema(CreatePlanVariantDetailsRemoveItemBillingMethod);
|
|
22150
22190
|
var CreatePlanIntervalVariantDetailsRemoveItemEnum2$inboundSchema = inboundSchema(CreatePlanIntervalVariantDetailsRemoveItemEnum2);
|
|
22151
22191
|
var CreatePlanIntervalVariantDetailsRemoveItemEnum1$inboundSchema = inboundSchema(CreatePlanIntervalVariantDetailsRemoveItemEnum1);
|
|
22152
22192
|
var CreatePlanVariantDetailsIntervalUnion$inboundSchema = smartUnion([
|
|
22153
22193
|
CreatePlanIntervalVariantDetailsRemoveItemEnum1$inboundSchema,
|
|
22154
22194
|
CreatePlanIntervalVariantDetailsRemoveItemEnum2$inboundSchema
|
|
22155
22195
|
]);
|
|
22156
|
-
var
|
|
22196
|
+
var CreatePlanVariantDetailsPlanItemFilter$inboundSchema = z47.pipe(
|
|
22157
22197
|
z47.object({
|
|
22158
22198
|
feature_id: optional3(string5()),
|
|
22159
22199
|
billing_method: optional3(
|
|
22160
|
-
|
|
22200
|
+
CreatePlanVariantDetailsRemoveItemBillingMethod$inboundSchema
|
|
22161
22201
|
),
|
|
22162
22202
|
interval: optional3(
|
|
22163
22203
|
smartUnion([
|
|
@@ -22480,6 +22520,96 @@ var CreatePlanIntervalUpsertLicenseRemoveItemEnum1 = {
|
|
|
22480
22520
|
SemiAnnual: "semi_annual",
|
|
22481
22521
|
Year: "year"
|
|
22482
22522
|
};
|
|
22523
|
+
var CreatePlanPriceLicenseIntervalResponse = {
|
|
22524
|
+
OneOff: "one_off",
|
|
22525
|
+
Week: "week",
|
|
22526
|
+
Month: "month",
|
|
22527
|
+
Quarter: "quarter",
|
|
22528
|
+
SemiAnnual: "semi_annual",
|
|
22529
|
+
Year: "year"
|
|
22530
|
+
};
|
|
22531
|
+
var CreatePlanLicenseResetIntervalResponse = {
|
|
22532
|
+
OneOff: "one_off",
|
|
22533
|
+
Minute: "minute",
|
|
22534
|
+
Hour: "hour",
|
|
22535
|
+
Day: "day",
|
|
22536
|
+
Week: "week",
|
|
22537
|
+
Month: "month",
|
|
22538
|
+
Quarter: "quarter",
|
|
22539
|
+
SemiAnnual: "semi_annual",
|
|
22540
|
+
Year: "year"
|
|
22541
|
+
};
|
|
22542
|
+
var CreatePlanLicenseTierBehaviorResponse = {
|
|
22543
|
+
Graduated: "graduated",
|
|
22544
|
+
Volume: "volume"
|
|
22545
|
+
};
|
|
22546
|
+
var CreatePlanLicenseAddItemPriceIntervalResponse = {
|
|
22547
|
+
OneOff: "one_off",
|
|
22548
|
+
Week: "week",
|
|
22549
|
+
Month: "month",
|
|
22550
|
+
Quarter: "quarter",
|
|
22551
|
+
SemiAnnual: "semi_annual",
|
|
22552
|
+
Year: "year"
|
|
22553
|
+
};
|
|
22554
|
+
var CreatePlanLicenseAddItemBillingMethodResponse = {
|
|
22555
|
+
Prepaid: "prepaid",
|
|
22556
|
+
UsageBased: "usage_based"
|
|
22557
|
+
};
|
|
22558
|
+
var CreatePlanLicenseOnIncreaseResponse = {
|
|
22559
|
+
BillImmediately: "bill_immediately",
|
|
22560
|
+
ProrateImmediately: "prorate_immediately",
|
|
22561
|
+
ProrateNextCycle: "prorate_next_cycle",
|
|
22562
|
+
BillNextCycle: "bill_next_cycle"
|
|
22563
|
+
};
|
|
22564
|
+
var CreatePlanLicenseOnDecreaseResponse = {
|
|
22565
|
+
Prorate: "prorate",
|
|
22566
|
+
ProrateImmediately: "prorate_immediately",
|
|
22567
|
+
ProrateNextCycle: "prorate_next_cycle",
|
|
22568
|
+
None: "none",
|
|
22569
|
+
NoProrations: "no_prorations"
|
|
22570
|
+
};
|
|
22571
|
+
var CreatePlanLicenseExpiryDurationTypeResponse = {
|
|
22572
|
+
Month: "month",
|
|
22573
|
+
Forever: "forever"
|
|
22574
|
+
};
|
|
22575
|
+
var CreatePlanLicenseDurationResponse = {
|
|
22576
|
+
Day: "day",
|
|
22577
|
+
Week: "week",
|
|
22578
|
+
Month: "month",
|
|
22579
|
+
Year: "year"
|
|
22580
|
+
};
|
|
22581
|
+
var CreatePlanDimensionsToLicenseResponseEnum2 = {
|
|
22582
|
+
Inf: "inf"
|
|
22583
|
+
};
|
|
22584
|
+
var CreatePlanDimensionsToLicenseResponseEnum1 = {
|
|
22585
|
+
Inf: "inf"
|
|
22586
|
+
};
|
|
22587
|
+
var CreatePlanToLicenseResponseEnum = {
|
|
22588
|
+
Inf: "inf"
|
|
22589
|
+
};
|
|
22590
|
+
var CreatePlanLicenseRemoveItemBillingMethodResponse = {
|
|
22591
|
+
Prepaid: "prepaid",
|
|
22592
|
+
UsageBased: "usage_based"
|
|
22593
|
+
};
|
|
22594
|
+
var CreatePlanIntervalLicenseRemoveItemResponseEnum2 = {
|
|
22595
|
+
OneOff: "one_off",
|
|
22596
|
+
Minute: "minute",
|
|
22597
|
+
Hour: "hour",
|
|
22598
|
+
Day: "day",
|
|
22599
|
+
Week: "week",
|
|
22600
|
+
Month: "month",
|
|
22601
|
+
Quarter: "quarter",
|
|
22602
|
+
SemiAnnual: "semi_annual",
|
|
22603
|
+
Year: "year"
|
|
22604
|
+
};
|
|
22605
|
+
var CreatePlanIntervalLicenseRemoveItemResponseEnum1 = {
|
|
22606
|
+
OneOff: "one_off",
|
|
22607
|
+
Week: "week",
|
|
22608
|
+
Month: "month",
|
|
22609
|
+
Quarter: "quarter",
|
|
22610
|
+
SemiAnnual: "semi_annual",
|
|
22611
|
+
Year: "year"
|
|
22612
|
+
};
|
|
22483
22613
|
var CreatePlanUpsertLicenseProration$inboundSchema = z48.pipe(
|
|
22484
22614
|
z48.object({
|
|
22485
22615
|
on_increase: CreatePlanUpsertLicenseOnIncrease$inboundSchema,
|
|
@@ -22868,14 +22998,16 @@ var CreatePlanRemoveLicense$inboundSchema = z48.pipe(
|
|
|
22868
22998
|
});
|
|
22869
22999
|
})
|
|
22870
23000
|
);
|
|
22871
|
-
var
|
|
23001
|
+
var CreatePlanVariantDetailsCustomize$inboundSchema = z48.pipe(
|
|
22872
23002
|
z48.object({
|
|
22873
|
-
price: z48.optional(
|
|
23003
|
+
price: z48.optional(
|
|
23004
|
+
z48.nullable(CreatePlanVariantDetailsBasePrice$inboundSchema)
|
|
23005
|
+
),
|
|
22874
23006
|
add_items: optional3(
|
|
22875
|
-
z48.array(
|
|
23007
|
+
z48.array(CreatePlanVariantDetailsPlanItem$inboundSchema)
|
|
22876
23008
|
),
|
|
22877
23009
|
remove_items: optional3(
|
|
22878
|
-
z48.array(
|
|
23010
|
+
z48.array(CreatePlanVariantDetailsPlanItemFilter$inboundSchema)
|
|
22879
23011
|
),
|
|
22880
23012
|
free_trial: z48.optional(z48.nullable(CreatePlanFreeTrialParams$inboundSchema)),
|
|
22881
23013
|
billing_controls: optional3(
|
|
@@ -22903,7 +23035,7 @@ var CreatePlanVariantDetails$inboundSchema = z48.pipe(
|
|
|
22903
23035
|
z48.object({
|
|
22904
23036
|
base_plan_id: string5(),
|
|
22905
23037
|
customize: optional3(
|
|
22906
|
-
z48.lazy(() =>
|
|
23038
|
+
z48.lazy(() => CreatePlanVariantDetailsCustomize$inboundSchema)
|
|
22907
23039
|
)
|
|
22908
23040
|
}),
|
|
22909
23041
|
z48.transform((v) => {
|
|
@@ -22912,6 +23044,493 @@ var CreatePlanVariantDetails$inboundSchema = z48.pipe(
|
|
|
22912
23044
|
});
|
|
22913
23045
|
})
|
|
22914
23046
|
);
|
|
23047
|
+
var CreatePlanPriceLicenseIntervalResponse$inboundSchema = inboundSchema(CreatePlanPriceLicenseIntervalResponse);
|
|
23048
|
+
var CreatePlanLicenseAdditionalCurrencyResponse$inboundSchema = z48.object({
|
|
23049
|
+
currency: string5(),
|
|
23050
|
+
amount: number2()
|
|
23051
|
+
});
|
|
23052
|
+
var CreatePlanLicenseBasePriceResponse$inboundSchema = z48.pipe(
|
|
23053
|
+
z48.object({
|
|
23054
|
+
amount: number2(),
|
|
23055
|
+
interval: CreatePlanPriceLicenseIntervalResponse$inboundSchema,
|
|
23056
|
+
interval_count: z48._default(number2(), 1),
|
|
23057
|
+
additional_currencies: optional3(z48.array(z48.lazy(
|
|
23058
|
+
() => CreatePlanLicenseAdditionalCurrencyResponse$inboundSchema
|
|
23059
|
+
)))
|
|
23060
|
+
}),
|
|
23061
|
+
z48.transform((v) => {
|
|
23062
|
+
return remap(v, {
|
|
23063
|
+
"interval_count": "intervalCount",
|
|
23064
|
+
"additional_currencies": "additionalCurrencies"
|
|
23065
|
+
});
|
|
23066
|
+
})
|
|
23067
|
+
);
|
|
23068
|
+
var CreatePlanLicenseThresholdBillingResponse$inboundSchema = z48.object({
|
|
23069
|
+
threshold: number2()
|
|
23070
|
+
});
|
|
23071
|
+
var CreatePlanLicenseResetIntervalResponse$inboundSchema = inboundSchema(CreatePlanLicenseResetIntervalResponse);
|
|
23072
|
+
var CreatePlanLicenseResetResponse$inboundSchema = z48.pipe(
|
|
23073
|
+
z48.object({
|
|
23074
|
+
interval: CreatePlanLicenseResetIntervalResponse$inboundSchema,
|
|
23075
|
+
interval_count: z48._default(number2(), 1)
|
|
23076
|
+
}),
|
|
23077
|
+
z48.transform((v) => {
|
|
23078
|
+
return remap(v, {
|
|
23079
|
+
"interval_count": "intervalCount"
|
|
23080
|
+
});
|
|
23081
|
+
})
|
|
23082
|
+
);
|
|
23083
|
+
var CreatePlanLicenseAddItemAdditionalCurrencyResponse$inboundSchema = z48.object({
|
|
23084
|
+
currency: string5(),
|
|
23085
|
+
amount: number2()
|
|
23086
|
+
});
|
|
23087
|
+
var CreatePlanLicensePriceToResponse$inboundSchema = smartUnion([number2(), string5()]);
|
|
23088
|
+
var CreatePlanLicenseTierAdditionalCurrencyResponse$inboundSchema = z48.pipe(
|
|
23089
|
+
z48.object({
|
|
23090
|
+
currency: string5(),
|
|
23091
|
+
amount: optional3(number2()),
|
|
23092
|
+
flat_amount: optional3(number2())
|
|
23093
|
+
}),
|
|
23094
|
+
z48.transform((v) => {
|
|
23095
|
+
return remap(v, {
|
|
23096
|
+
"flat_amount": "flatAmount"
|
|
23097
|
+
});
|
|
23098
|
+
})
|
|
23099
|
+
);
|
|
23100
|
+
var CreatePlanLicensePriceTierResponse$inboundSchema = z48.pipe(
|
|
23101
|
+
z48.object({
|
|
23102
|
+
to: smartUnion([number2(), string5()]),
|
|
23103
|
+
amount: number2(),
|
|
23104
|
+
flat_amount: optional3(number2()),
|
|
23105
|
+
additional_currencies: optional3(z48.array(z48.lazy(
|
|
23106
|
+
() => CreatePlanLicenseTierAdditionalCurrencyResponse$inboundSchema
|
|
23107
|
+
)))
|
|
23108
|
+
}),
|
|
23109
|
+
z48.transform((v) => {
|
|
23110
|
+
return remap(v, {
|
|
23111
|
+
"flat_amount": "flatAmount",
|
|
23112
|
+
"additional_currencies": "additionalCurrencies"
|
|
23113
|
+
});
|
|
23114
|
+
})
|
|
23115
|
+
);
|
|
23116
|
+
var CreatePlanLicenseTierBehaviorResponse$inboundSchema = inboundSchema(CreatePlanLicenseTierBehaviorResponse);
|
|
23117
|
+
var CreatePlanLicenseAddItemPriceIntervalResponse$inboundSchema = inboundSchema(CreatePlanLicenseAddItemPriceIntervalResponse);
|
|
23118
|
+
var CreatePlanLicenseAddItemBillingMethodResponse$inboundSchema = inboundSchema(CreatePlanLicenseAddItemBillingMethodResponse);
|
|
23119
|
+
var CreatePlanLicensePriceResponse$inboundSchema = z48.pipe(
|
|
23120
|
+
z48.object({
|
|
23121
|
+
amount: optional3(number2()),
|
|
23122
|
+
additional_currencies: optional3(z48.array(z48.lazy(
|
|
23123
|
+
() => CreatePlanLicenseAddItemAdditionalCurrencyResponse$inboundSchema
|
|
23124
|
+
))),
|
|
23125
|
+
tiers: optional3(z48.array(z48.lazy(
|
|
23126
|
+
() => CreatePlanLicensePriceTierResponse$inboundSchema
|
|
23127
|
+
))),
|
|
23128
|
+
tier_behavior: optional3(
|
|
23129
|
+
CreatePlanLicenseTierBehaviorResponse$inboundSchema
|
|
23130
|
+
),
|
|
23131
|
+
interval: CreatePlanLicenseAddItemPriceIntervalResponse$inboundSchema,
|
|
23132
|
+
interval_count: z48._default(number2(), 1),
|
|
23133
|
+
billing_units: z48._default(number2(), 1),
|
|
23134
|
+
billing_method: CreatePlanLicenseAddItemBillingMethodResponse$inboundSchema,
|
|
23135
|
+
max_purchase: z48.optional(z48.nullable(number2()))
|
|
23136
|
+
}),
|
|
23137
|
+
z48.transform((v) => {
|
|
23138
|
+
return remap(v, {
|
|
23139
|
+
"additional_currencies": "additionalCurrencies",
|
|
23140
|
+
"tier_behavior": "tierBehavior",
|
|
23141
|
+
"interval_count": "intervalCount",
|
|
23142
|
+
"billing_units": "billingUnits",
|
|
23143
|
+
"billing_method": "billingMethod",
|
|
23144
|
+
"max_purchase": "maxPurchase"
|
|
23145
|
+
});
|
|
23146
|
+
})
|
|
23147
|
+
);
|
|
23148
|
+
var CreatePlanLicenseOnIncreaseResponse$inboundSchema = inboundSchema(CreatePlanLicenseOnIncreaseResponse);
|
|
23149
|
+
var CreatePlanLicenseOnDecreaseResponse$inboundSchema = inboundSchema(CreatePlanLicenseOnDecreaseResponse);
|
|
23150
|
+
var CreatePlanLicenseProrationResponse$inboundSchema = z48.pipe(
|
|
23151
|
+
z48.object({
|
|
23152
|
+
on_increase: CreatePlanLicenseOnIncreaseResponse$inboundSchema,
|
|
23153
|
+
on_decrease: CreatePlanLicenseOnDecreaseResponse$inboundSchema
|
|
23154
|
+
}),
|
|
23155
|
+
z48.transform((v) => {
|
|
23156
|
+
return remap(v, {
|
|
23157
|
+
"on_increase": "onIncrease",
|
|
23158
|
+
"on_decrease": "onDecrease"
|
|
23159
|
+
});
|
|
23160
|
+
})
|
|
23161
|
+
);
|
|
23162
|
+
var CreatePlanLicenseExpiryDurationTypeResponse$inboundSchema = inboundSchema(CreatePlanLicenseExpiryDurationTypeResponse);
|
|
23163
|
+
var CreatePlanLicenseRolloverResponse$inboundSchema = z48.pipe(
|
|
23164
|
+
z48.object({
|
|
23165
|
+
max: optional3(number2()),
|
|
23166
|
+
max_percentage: optional3(number2()),
|
|
23167
|
+
expiry_duration_type: CreatePlanLicenseExpiryDurationTypeResponse$inboundSchema,
|
|
23168
|
+
expiry_duration_length: optional3(number2())
|
|
23169
|
+
}),
|
|
23170
|
+
z48.transform((v) => {
|
|
23171
|
+
return remap(v, {
|
|
23172
|
+
"max_percentage": "maxPercentage",
|
|
23173
|
+
"expiry_duration_type": "expiryDurationType",
|
|
23174
|
+
"expiry_duration_length": "expiryDurationLength"
|
|
23175
|
+
});
|
|
23176
|
+
})
|
|
23177
|
+
);
|
|
23178
|
+
var CreatePlanLicenseDurationResponse$inboundSchema = inboundSchema(CreatePlanLicenseDurationResponse);
|
|
23179
|
+
var CreatePlanLicenseExpiryResponse$inboundSchema = z48.object({
|
|
23180
|
+
duration: CreatePlanLicenseDurationResponse$inboundSchema,
|
|
23181
|
+
length: number2()
|
|
23182
|
+
});
|
|
23183
|
+
var CreatePlanDimensionsLicenseResponse4$inboundSchema = z48.pipe(
|
|
23184
|
+
z48.object({
|
|
23185
|
+
match: z48.record(z48.string(), string5()),
|
|
23186
|
+
priority: optional3(number2()),
|
|
23187
|
+
credit_cost: number2()
|
|
23188
|
+
}),
|
|
23189
|
+
z48.transform((v) => {
|
|
23190
|
+
return remap(v, {
|
|
23191
|
+
"credit_cost": "creditCost"
|
|
23192
|
+
});
|
|
23193
|
+
})
|
|
23194
|
+
);
|
|
23195
|
+
var CreatePlanDimensionsToLicenseResponseEnum2$inboundSchema = z48.enum(
|
|
23196
|
+
CreatePlanDimensionsToLicenseResponseEnum2
|
|
23197
|
+
);
|
|
23198
|
+
var CreatePlanDimensionsLicenseToResponseUnion2$inboundSchema = smartUnion([
|
|
23199
|
+
number2(),
|
|
23200
|
+
CreatePlanDimensionsToLicenseResponseEnum2$inboundSchema
|
|
23201
|
+
]);
|
|
23202
|
+
var CreatePlanDimensionsLicenseTierResponse2$inboundSchema = z48.pipe(
|
|
23203
|
+
z48.object({
|
|
23204
|
+
to: smartUnion([
|
|
23205
|
+
number2(),
|
|
23206
|
+
CreatePlanDimensionsToLicenseResponseEnum2$inboundSchema
|
|
23207
|
+
]),
|
|
23208
|
+
credit_cost: number2()
|
|
23209
|
+
}),
|
|
23210
|
+
z48.transform((v) => {
|
|
23211
|
+
return remap(v, {
|
|
23212
|
+
"credit_cost": "creditCost"
|
|
23213
|
+
});
|
|
23214
|
+
})
|
|
23215
|
+
);
|
|
23216
|
+
var CreatePlanDimensionsLicenseResponse3$inboundSchema = z48.pipe(
|
|
23217
|
+
z48.object({
|
|
23218
|
+
match: z48.record(z48.string(), string5()),
|
|
23219
|
+
priority: optional3(number2()),
|
|
23220
|
+
tier_behavior: literal3("graduated"),
|
|
23221
|
+
tiers: z48.array(
|
|
23222
|
+
z48.lazy(() => CreatePlanDimensionsLicenseTierResponse2$inboundSchema)
|
|
23223
|
+
)
|
|
23224
|
+
}),
|
|
23225
|
+
z48.transform((v) => {
|
|
23226
|
+
return remap(v, {
|
|
23227
|
+
"tier_behavior": "tierBehavior"
|
|
23228
|
+
});
|
|
23229
|
+
})
|
|
23230
|
+
);
|
|
23231
|
+
var CreatePlanLicenseDimensionsResponseUnion2$inboundSchema = smartUnion([
|
|
23232
|
+
z48.lazy(() => CreatePlanDimensionsLicenseResponse3$inboundSchema),
|
|
23233
|
+
z48.lazy(() => CreatePlanDimensionsLicenseResponse4$inboundSchema)
|
|
23234
|
+
]);
|
|
23235
|
+
var CreatePlanLicenseMultipliersResponse2$inboundSchema = z48.object({
|
|
23236
|
+
match: z48.record(z48.string(), string5()),
|
|
23237
|
+
factor: optional3(number2()),
|
|
23238
|
+
add: optional3(number2())
|
|
23239
|
+
});
|
|
23240
|
+
var CreatePlanCreditSchemaLicenseResponse2$inboundSchema = z48.pipe(
|
|
23241
|
+
z48.object({
|
|
23242
|
+
metered_feature_id: string5(),
|
|
23243
|
+
billing_units: optional3(number2()),
|
|
23244
|
+
dimensions: optional3(z48.record(
|
|
23245
|
+
z48.string(),
|
|
23246
|
+
smartUnion([
|
|
23247
|
+
z48.lazy(() => CreatePlanDimensionsLicenseResponse3$inboundSchema),
|
|
23248
|
+
z48.lazy(() => CreatePlanDimensionsLicenseResponse4$inboundSchema)
|
|
23249
|
+
])
|
|
23250
|
+
)),
|
|
23251
|
+
multipliers: optional3(z48.record(
|
|
23252
|
+
z48.string(),
|
|
23253
|
+
z48.lazy(() => CreatePlanLicenseMultipliersResponse2$inboundSchema)
|
|
23254
|
+
)),
|
|
23255
|
+
credit_cost: number2()
|
|
23256
|
+
}),
|
|
23257
|
+
z48.transform((v) => {
|
|
23258
|
+
return remap(v, {
|
|
23259
|
+
"metered_feature_id": "meteredFeatureId",
|
|
23260
|
+
"billing_units": "billingUnits",
|
|
23261
|
+
"credit_cost": "creditCost"
|
|
23262
|
+
});
|
|
23263
|
+
})
|
|
23264
|
+
);
|
|
23265
|
+
var CreatePlanDimensionsLicenseResponse2$inboundSchema = z48.pipe(
|
|
23266
|
+
z48.object({
|
|
23267
|
+
match: z48.record(z48.string(), string5()),
|
|
23268
|
+
priority: optional3(number2()),
|
|
23269
|
+
credit_cost: number2()
|
|
23270
|
+
}),
|
|
23271
|
+
z48.transform((v) => {
|
|
23272
|
+
return remap(v, {
|
|
23273
|
+
"credit_cost": "creditCost"
|
|
23274
|
+
});
|
|
23275
|
+
})
|
|
23276
|
+
);
|
|
23277
|
+
var CreatePlanDimensionsToLicenseResponseEnum1$inboundSchema = z48.enum(
|
|
23278
|
+
CreatePlanDimensionsToLicenseResponseEnum1
|
|
23279
|
+
);
|
|
23280
|
+
var CreatePlanDimensionsLicenseToResponseUnion1$inboundSchema = smartUnion([
|
|
23281
|
+
number2(),
|
|
23282
|
+
CreatePlanDimensionsToLicenseResponseEnum1$inboundSchema
|
|
23283
|
+
]);
|
|
23284
|
+
var CreatePlanDimensionsLicenseTierResponse1$inboundSchema = z48.pipe(
|
|
23285
|
+
z48.object({
|
|
23286
|
+
to: smartUnion([
|
|
23287
|
+
number2(),
|
|
23288
|
+
CreatePlanDimensionsToLicenseResponseEnum1$inboundSchema
|
|
23289
|
+
]),
|
|
23290
|
+
credit_cost: number2()
|
|
23291
|
+
}),
|
|
23292
|
+
z48.transform((v) => {
|
|
23293
|
+
return remap(v, {
|
|
23294
|
+
"credit_cost": "creditCost"
|
|
23295
|
+
});
|
|
23296
|
+
})
|
|
23297
|
+
);
|
|
23298
|
+
var CreatePlanDimensionsLicenseResponse1$inboundSchema = z48.pipe(
|
|
23299
|
+
z48.object({
|
|
23300
|
+
match: z48.record(z48.string(), string5()),
|
|
23301
|
+
priority: optional3(number2()),
|
|
23302
|
+
tier_behavior: literal3("graduated"),
|
|
23303
|
+
tiers: z48.array(
|
|
23304
|
+
z48.lazy(() => CreatePlanDimensionsLicenseTierResponse1$inboundSchema)
|
|
23305
|
+
)
|
|
23306
|
+
}),
|
|
23307
|
+
z48.transform((v) => {
|
|
23308
|
+
return remap(v, {
|
|
23309
|
+
"tier_behavior": "tierBehavior"
|
|
23310
|
+
});
|
|
23311
|
+
})
|
|
23312
|
+
);
|
|
23313
|
+
var CreatePlanLicenseDimensionsResponseUnion1$inboundSchema = smartUnion([
|
|
23314
|
+
z48.lazy(() => CreatePlanDimensionsLicenseResponse1$inboundSchema),
|
|
23315
|
+
z48.lazy(() => CreatePlanDimensionsLicenseResponse2$inboundSchema)
|
|
23316
|
+
]);
|
|
23317
|
+
var CreatePlanLicenseMultipliersResponse1$inboundSchema = z48.object({
|
|
23318
|
+
match: z48.record(z48.string(), string5()),
|
|
23319
|
+
factor: optional3(number2()),
|
|
23320
|
+
add: optional3(number2())
|
|
23321
|
+
});
|
|
23322
|
+
var CreatePlanToLicenseResponseEnum$inboundSchema = z48.enum(CreatePlanToLicenseResponseEnum);
|
|
23323
|
+
var CreatePlanLicenseFeatureOverrideToResponseUnion$inboundSchema = smartUnion([number2(), CreatePlanToLicenseResponseEnum$inboundSchema]);
|
|
23324
|
+
var CreatePlanLicenseFeatureOverrideTierResponse$inboundSchema = z48.pipe(
|
|
23325
|
+
z48.object({
|
|
23326
|
+
to: smartUnion([
|
|
23327
|
+
number2(),
|
|
23328
|
+
CreatePlanToLicenseResponseEnum$inboundSchema
|
|
23329
|
+
]),
|
|
23330
|
+
credit_cost: number2()
|
|
23331
|
+
}),
|
|
23332
|
+
z48.transform((v) => {
|
|
23333
|
+
return remap(v, {
|
|
23334
|
+
"credit_cost": "creditCost"
|
|
23335
|
+
});
|
|
23336
|
+
})
|
|
23337
|
+
);
|
|
23338
|
+
var CreatePlanCreditSchemaLicenseResponse1$inboundSchema = z48.pipe(
|
|
23339
|
+
z48.object({
|
|
23340
|
+
metered_feature_id: string5(),
|
|
23341
|
+
billing_units: optional3(number2()),
|
|
23342
|
+
dimensions: optional3(z48.record(
|
|
23343
|
+
z48.string(),
|
|
23344
|
+
smartUnion([
|
|
23345
|
+
z48.lazy(() => CreatePlanDimensionsLicenseResponse1$inboundSchema),
|
|
23346
|
+
z48.lazy(() => CreatePlanDimensionsLicenseResponse2$inboundSchema)
|
|
23347
|
+
])
|
|
23348
|
+
)),
|
|
23349
|
+
multipliers: optional3(z48.record(
|
|
23350
|
+
z48.string(),
|
|
23351
|
+
z48.lazy(() => CreatePlanLicenseMultipliersResponse1$inboundSchema)
|
|
23352
|
+
)),
|
|
23353
|
+
tier_behavior: literal3("graduated"),
|
|
23354
|
+
tiers: z48.array(z48.lazy(
|
|
23355
|
+
() => CreatePlanLicenseFeatureOverrideTierResponse$inboundSchema
|
|
23356
|
+
))
|
|
23357
|
+
}),
|
|
23358
|
+
z48.transform((v) => {
|
|
23359
|
+
return remap(v, {
|
|
23360
|
+
"metered_feature_id": "meteredFeatureId",
|
|
23361
|
+
"billing_units": "billingUnits",
|
|
23362
|
+
"tier_behavior": "tierBehavior"
|
|
23363
|
+
});
|
|
23364
|
+
})
|
|
23365
|
+
);
|
|
23366
|
+
var CreatePlanLicenseCreditSchemaResponseUnion$inboundSchema = smartUnion([
|
|
23367
|
+
z48.lazy(() => CreatePlanCreditSchemaLicenseResponse1$inboundSchema),
|
|
23368
|
+
z48.lazy(() => CreatePlanCreditSchemaLicenseResponse2$inboundSchema)
|
|
23369
|
+
]);
|
|
23370
|
+
var CreatePlanLicenseProviderMarkupsResponse$inboundSchema = z48.object({
|
|
23371
|
+
markup: number2()
|
|
23372
|
+
});
|
|
23373
|
+
var CreatePlanLicenseModelMarkupsResponse$inboundSchema = z48.pipe(
|
|
23374
|
+
z48.object({
|
|
23375
|
+
markup: optional3(number2()),
|
|
23376
|
+
input_cost: optional3(number2()),
|
|
23377
|
+
output_cost: optional3(number2())
|
|
23378
|
+
}),
|
|
23379
|
+
z48.transform((v) => {
|
|
23380
|
+
return remap(v, {
|
|
23381
|
+
"input_cost": "inputCost",
|
|
23382
|
+
"output_cost": "outputCost"
|
|
23383
|
+
});
|
|
23384
|
+
})
|
|
23385
|
+
);
|
|
23386
|
+
var CreatePlanLicenseMarkupsResponse$inboundSchema = z48.pipe(
|
|
23387
|
+
z48.object({
|
|
23388
|
+
default_markup: optional3(number2()),
|
|
23389
|
+
provider_markups: z48.optional(z48.nullable(z48.record(
|
|
23390
|
+
z48.string(),
|
|
23391
|
+
z48.lazy(() => CreatePlanLicenseProviderMarkupsResponse$inboundSchema)
|
|
23392
|
+
))),
|
|
23393
|
+
model_markups: z48.optional(z48.nullable(z48.record(
|
|
23394
|
+
z48.string(),
|
|
23395
|
+
z48.lazy(() => CreatePlanLicenseModelMarkupsResponse$inboundSchema)
|
|
23396
|
+
)))
|
|
23397
|
+
}),
|
|
23398
|
+
z48.transform((v) => {
|
|
23399
|
+
return remap(v, {
|
|
23400
|
+
"default_markup": "defaultMarkup",
|
|
23401
|
+
"provider_markups": "providerMarkups",
|
|
23402
|
+
"model_markups": "modelMarkups"
|
|
23403
|
+
});
|
|
23404
|
+
})
|
|
23405
|
+
);
|
|
23406
|
+
var CreatePlanLicenseFeatureOverrideResponse$inboundSchema = z48.pipe(
|
|
23407
|
+
z48.object({
|
|
23408
|
+
credit_schema: optional3(z48.array(smartUnion([
|
|
23409
|
+
z48.lazy(() => CreatePlanCreditSchemaLicenseResponse1$inboundSchema),
|
|
23410
|
+
z48.lazy(
|
|
23411
|
+
() => CreatePlanCreditSchemaLicenseResponse2$inboundSchema
|
|
23412
|
+
)
|
|
23413
|
+
]))),
|
|
23414
|
+
markups: optional3(z48.lazy(
|
|
23415
|
+
() => CreatePlanLicenseMarkupsResponse$inboundSchema
|
|
23416
|
+
))
|
|
23417
|
+
}),
|
|
23418
|
+
z48.transform((v) => {
|
|
23419
|
+
return remap(v, {
|
|
23420
|
+
"credit_schema": "creditSchema"
|
|
23421
|
+
});
|
|
23422
|
+
})
|
|
23423
|
+
);
|
|
23424
|
+
var CreatePlanLicensePlanItemResponse$inboundSchema = z48.pipe(
|
|
23425
|
+
z48.object({
|
|
23426
|
+
threshold_billing: z48.optional(z48.nullable(z48.lazy(
|
|
23427
|
+
() => CreatePlanLicenseThresholdBillingResponse$inboundSchema
|
|
23428
|
+
))),
|
|
23429
|
+
feature_id: string5(),
|
|
23430
|
+
included: optional3(number2()),
|
|
23431
|
+
unlimited: optional3(boolean2()),
|
|
23432
|
+
pooled: z48._default(boolean2(), false),
|
|
23433
|
+
reset: optional3(z48.lazy(
|
|
23434
|
+
() => CreatePlanLicenseResetResponse$inboundSchema
|
|
23435
|
+
)),
|
|
23436
|
+
price: optional3(z48.lazy(
|
|
23437
|
+
() => CreatePlanLicensePriceResponse$inboundSchema
|
|
23438
|
+
)),
|
|
23439
|
+
proration: optional3(z48.lazy(
|
|
23440
|
+
() => CreatePlanLicenseProrationResponse$inboundSchema
|
|
23441
|
+
)),
|
|
23442
|
+
rollover: optional3(z48.lazy(
|
|
23443
|
+
() => CreatePlanLicenseRolloverResponse$inboundSchema
|
|
23444
|
+
)),
|
|
23445
|
+
expiry: optional3(z48.lazy(
|
|
23446
|
+
() => CreatePlanLicenseExpiryResponse$inboundSchema
|
|
23447
|
+
)),
|
|
23448
|
+
feature_override: optional3(z48.lazy(
|
|
23449
|
+
() => CreatePlanLicenseFeatureOverrideResponse$inboundSchema
|
|
23450
|
+
))
|
|
23451
|
+
}),
|
|
23452
|
+
z48.transform((v) => {
|
|
23453
|
+
return remap(v, {
|
|
23454
|
+
"threshold_billing": "thresholdBilling",
|
|
23455
|
+
"feature_id": "featureId",
|
|
23456
|
+
"feature_override": "featureOverride"
|
|
23457
|
+
});
|
|
23458
|
+
})
|
|
23459
|
+
);
|
|
23460
|
+
var CreatePlanLicenseRemoveItemBillingMethodResponse$inboundSchema = inboundSchema(CreatePlanLicenseRemoveItemBillingMethodResponse);
|
|
23461
|
+
var CreatePlanIntervalLicenseRemoveItemResponseEnum2$inboundSchema = inboundSchema(CreatePlanIntervalLicenseRemoveItemResponseEnum2);
|
|
23462
|
+
var CreatePlanIntervalLicenseRemoveItemResponseEnum1$inboundSchema = inboundSchema(CreatePlanIntervalLicenseRemoveItemResponseEnum1);
|
|
23463
|
+
var CreatePlanLicenseIntervalResponseUnion$inboundSchema = smartUnion([
|
|
23464
|
+
CreatePlanIntervalLicenseRemoveItemResponseEnum1$inboundSchema,
|
|
23465
|
+
CreatePlanIntervalLicenseRemoveItemResponseEnum2$inboundSchema
|
|
23466
|
+
]);
|
|
23467
|
+
var CreatePlanLicensePlanItemFilterResponse$inboundSchema = z48.pipe(
|
|
23468
|
+
z48.object({
|
|
23469
|
+
feature_id: optional3(string5()),
|
|
23470
|
+
billing_method: optional3(
|
|
23471
|
+
CreatePlanLicenseRemoveItemBillingMethodResponse$inboundSchema
|
|
23472
|
+
),
|
|
23473
|
+
interval: optional3(
|
|
23474
|
+
smartUnion([
|
|
23475
|
+
CreatePlanIntervalLicenseRemoveItemResponseEnum1$inboundSchema,
|
|
23476
|
+
CreatePlanIntervalLicenseRemoveItemResponseEnum2$inboundSchema
|
|
23477
|
+
])
|
|
23478
|
+
),
|
|
23479
|
+
interval_count: optional3(number2()),
|
|
23480
|
+
included: optional3(number2())
|
|
23481
|
+
}),
|
|
23482
|
+
z48.transform((v) => {
|
|
23483
|
+
return remap(v, {
|
|
23484
|
+
"feature_id": "featureId",
|
|
23485
|
+
"billing_method": "billingMethod",
|
|
23486
|
+
"interval_count": "intervalCount"
|
|
23487
|
+
});
|
|
23488
|
+
})
|
|
23489
|
+
);
|
|
23490
|
+
var CreatePlanLicenseCustomizeResponse$inboundSchema = z48.pipe(
|
|
23491
|
+
z48.object({
|
|
23492
|
+
price: z48.optional(
|
|
23493
|
+
z48.nullable(
|
|
23494
|
+
z48.lazy(() => CreatePlanLicenseBasePriceResponse$inboundSchema)
|
|
23495
|
+
)
|
|
23496
|
+
),
|
|
23497
|
+
add_items: optional3(
|
|
23498
|
+
z48.array(z48.lazy(() => CreatePlanLicensePlanItemResponse$inboundSchema))
|
|
23499
|
+
),
|
|
23500
|
+
remove_items: optional3(
|
|
23501
|
+
z48.array(
|
|
23502
|
+
z48.lazy(() => CreatePlanLicensePlanItemFilterResponse$inboundSchema)
|
|
23503
|
+
)
|
|
23504
|
+
)
|
|
23505
|
+
}),
|
|
23506
|
+
z48.transform((v) => {
|
|
23507
|
+
return remap(v, {
|
|
23508
|
+
"add_items": "addItems",
|
|
23509
|
+
"remove_items": "removeItems"
|
|
23510
|
+
});
|
|
23511
|
+
})
|
|
23512
|
+
);
|
|
23513
|
+
var CreatePlanLicenseResponse$inboundSchema = z48.pipe(
|
|
23514
|
+
z48.object({
|
|
23515
|
+
license_plan_id: string5(),
|
|
23516
|
+
version: number2(),
|
|
23517
|
+
version_slug: optional3(string5()),
|
|
23518
|
+
included: number2(),
|
|
23519
|
+
prepaid_only: boolean2(),
|
|
23520
|
+
customize: optional3(
|
|
23521
|
+
z48.lazy(() => CreatePlanLicenseCustomizeResponse$inboundSchema)
|
|
23522
|
+
),
|
|
23523
|
+
metadata: optional3(z48.record(z48.string(), z48.any())),
|
|
23524
|
+
plan: optional3(Plan$inboundSchema)
|
|
23525
|
+
}),
|
|
23526
|
+
z48.transform((v) => {
|
|
23527
|
+
return remap(v, {
|
|
23528
|
+
"license_plan_id": "licensePlanId",
|
|
23529
|
+
"version_slug": "versionSlug",
|
|
23530
|
+
"prepaid_only": "prepaidOnly"
|
|
23531
|
+
});
|
|
23532
|
+
})
|
|
23533
|
+
);
|
|
22915
23534
|
var CreatePlanResponse$inboundSchema = z48.pipe(
|
|
22916
23535
|
z48.object({
|
|
22917
23536
|
id: string5(),
|
|
@@ -22941,6 +23560,9 @@ var CreatePlanResponse$inboundSchema = z48.pipe(
|
|
|
22941
23560
|
base_variant_id: nullable(string5()),
|
|
22942
23561
|
variant_details: optional3(
|
|
22943
23562
|
z48.lazy(() => CreatePlanVariantDetails$inboundSchema)
|
|
23563
|
+
),
|
|
23564
|
+
licenses: optional3(
|
|
23565
|
+
z48.array(z48.lazy(() => CreatePlanLicenseResponse$inboundSchema))
|
|
22944
23566
|
)
|
|
22945
23567
|
}),
|
|
22946
23568
|
z48.transform((v) => {
|
|
@@ -31063,7 +31685,7 @@ var GetPlanPriceVariantDetailsInterval = {
|
|
|
31063
31685
|
SemiAnnual: "semi_annual",
|
|
31064
31686
|
Year: "year"
|
|
31065
31687
|
};
|
|
31066
|
-
var
|
|
31688
|
+
var GetPlanVariantDetailsResetInterval = {
|
|
31067
31689
|
OneOff: "one_off",
|
|
31068
31690
|
Minute: "minute",
|
|
31069
31691
|
Hour: "hour",
|
|
@@ -31078,7 +31700,7 @@ var GetPlanVariantDetailsTierBehavior = {
|
|
|
31078
31700
|
Graduated: "graduated",
|
|
31079
31701
|
Volume: "volume"
|
|
31080
31702
|
};
|
|
31081
|
-
var
|
|
31703
|
+
var GetPlanVariantDetailsAddItemPriceInterval = {
|
|
31082
31704
|
OneOff: "one_off",
|
|
31083
31705
|
Week: "week",
|
|
31084
31706
|
Month: "month",
|
|
@@ -31086,17 +31708,17 @@ var GetPlanAddItemPriceInterval = {
|
|
|
31086
31708
|
SemiAnnual: "semi_annual",
|
|
31087
31709
|
Year: "year"
|
|
31088
31710
|
};
|
|
31089
|
-
var
|
|
31711
|
+
var GetPlanVariantDetailsAddItemBillingMethod = {
|
|
31090
31712
|
Prepaid: "prepaid",
|
|
31091
31713
|
UsageBased: "usage_based"
|
|
31092
31714
|
};
|
|
31093
|
-
var
|
|
31715
|
+
var GetPlanVariantDetailsOnIncrease = {
|
|
31094
31716
|
BillImmediately: "bill_immediately",
|
|
31095
31717
|
ProrateImmediately: "prorate_immediately",
|
|
31096
31718
|
ProrateNextCycle: "prorate_next_cycle",
|
|
31097
31719
|
BillNextCycle: "bill_next_cycle"
|
|
31098
31720
|
};
|
|
31099
|
-
var
|
|
31721
|
+
var GetPlanVariantDetailsOnDecrease = {
|
|
31100
31722
|
Prorate: "prorate",
|
|
31101
31723
|
ProrateImmediately: "prorate_immediately",
|
|
31102
31724
|
ProrateNextCycle: "prorate_next_cycle",
|
|
@@ -31122,11 +31744,11 @@ var GetPlanDimensionsToVariantDetailsEnum1 = {
|
|
|
31122
31744
|
var GetPlanToVariantDetailsEnum = {
|
|
31123
31745
|
Inf: "inf"
|
|
31124
31746
|
};
|
|
31125
|
-
var
|
|
31747
|
+
var GetPlanVariantDetailsRemoveItemBillingMethod = {
|
|
31126
31748
|
Prepaid: "prepaid",
|
|
31127
31749
|
UsageBased: "usage_based"
|
|
31128
31750
|
};
|
|
31129
|
-
var
|
|
31751
|
+
var GetPlanIntervalVariantDetailsRemoveItemEnum2 = {
|
|
31130
31752
|
OneOff: "one_off",
|
|
31131
31753
|
Minute: "minute",
|
|
31132
31754
|
Hour: "hour",
|
|
@@ -31137,7 +31759,7 @@ var GetPlanIntervalRemoveItemEnum2 = {
|
|
|
31137
31759
|
SemiAnnual: "semi_annual",
|
|
31138
31760
|
Year: "year"
|
|
31139
31761
|
};
|
|
31140
|
-
var
|
|
31762
|
+
var GetPlanIntervalVariantDetailsRemoveItemEnum1 = {
|
|
31141
31763
|
OneOff: "one_off",
|
|
31142
31764
|
Week: "week",
|
|
31143
31765
|
Month: "month",
|
|
@@ -31897,7 +32519,7 @@ var GetPlanVariantDetailsAdditionalCurrency$inboundSchema = z75.object({
|
|
|
31897
32519
|
currency: string5(),
|
|
31898
32520
|
amount: number2()
|
|
31899
32521
|
});
|
|
31900
|
-
var
|
|
32522
|
+
var GetPlanVariantDetailsBasePrice$inboundSchema = z75.pipe(
|
|
31901
32523
|
z75.object({
|
|
31902
32524
|
amount: number2(),
|
|
31903
32525
|
interval: GetPlanPriceVariantDetailsInterval$inboundSchema,
|
|
@@ -31916,10 +32538,10 @@ var GetPlanBasePrice$inboundSchema = z75.pipe(
|
|
|
31916
32538
|
var GetPlanVariantDetailsThresholdBilling$inboundSchema = z75.object({
|
|
31917
32539
|
threshold: number2()
|
|
31918
32540
|
});
|
|
31919
|
-
var
|
|
32541
|
+
var GetPlanVariantDetailsResetInterval$inboundSchema = inboundSchema(GetPlanVariantDetailsResetInterval);
|
|
31920
32542
|
var GetPlanVariantDetailsReset$inboundSchema = z75.pipe(
|
|
31921
32543
|
z75.object({
|
|
31922
|
-
interval:
|
|
32544
|
+
interval: GetPlanVariantDetailsResetInterval$inboundSchema,
|
|
31923
32545
|
interval_count: z75._default(number2(), 1)
|
|
31924
32546
|
}),
|
|
31925
32547
|
z75.transform((v) => {
|
|
@@ -31928,7 +32550,7 @@ var GetPlanVariantDetailsReset$inboundSchema = z75.pipe(
|
|
|
31928
32550
|
});
|
|
31929
32551
|
})
|
|
31930
32552
|
);
|
|
31931
|
-
var
|
|
32553
|
+
var GetPlanVariantDetailsAddItemAdditionalCurrency$inboundSchema = z75.object({
|
|
31932
32554
|
currency: string5(),
|
|
31933
32555
|
amount: number2()
|
|
31934
32556
|
});
|
|
@@ -31962,24 +32584,24 @@ var GetPlanVariantDetailsPriceTier$inboundSchema = z75.pipe(
|
|
|
31962
32584
|
})
|
|
31963
32585
|
);
|
|
31964
32586
|
var GetPlanVariantDetailsTierBehavior$inboundSchema = inboundSchema(GetPlanVariantDetailsTierBehavior);
|
|
31965
|
-
var
|
|
31966
|
-
var
|
|
32587
|
+
var GetPlanVariantDetailsAddItemPriceInterval$inboundSchema = inboundSchema(GetPlanVariantDetailsAddItemPriceInterval);
|
|
32588
|
+
var GetPlanVariantDetailsAddItemBillingMethod$inboundSchema = inboundSchema(GetPlanVariantDetailsAddItemBillingMethod);
|
|
31967
32589
|
var GetPlanVariantDetailsPrice$inboundSchema = z75.pipe(
|
|
31968
32590
|
z75.object({
|
|
31969
32591
|
amount: optional3(number2()),
|
|
31970
|
-
additional_currencies: optional3(
|
|
31971
|
-
|
|
31972
|
-
),
|
|
31973
|
-
tiers: optional3(
|
|
31974
|
-
|
|
31975
|
-
),
|
|
32592
|
+
additional_currencies: optional3(z75.array(z75.lazy(
|
|
32593
|
+
() => GetPlanVariantDetailsAddItemAdditionalCurrency$inboundSchema
|
|
32594
|
+
))),
|
|
32595
|
+
tiers: optional3(z75.array(z75.lazy(
|
|
32596
|
+
() => GetPlanVariantDetailsPriceTier$inboundSchema
|
|
32597
|
+
))),
|
|
31976
32598
|
tier_behavior: optional3(
|
|
31977
32599
|
GetPlanVariantDetailsTierBehavior$inboundSchema
|
|
31978
32600
|
),
|
|
31979
|
-
interval:
|
|
32601
|
+
interval: GetPlanVariantDetailsAddItemPriceInterval$inboundSchema,
|
|
31980
32602
|
interval_count: z75._default(number2(), 1),
|
|
31981
32603
|
billing_units: z75._default(number2(), 1),
|
|
31982
|
-
billing_method:
|
|
32604
|
+
billing_method: GetPlanVariantDetailsAddItemBillingMethod$inboundSchema,
|
|
31983
32605
|
max_purchase: z75.optional(z75.nullable(number2()))
|
|
31984
32606
|
}),
|
|
31985
32607
|
z75.transform((v) => {
|
|
@@ -31993,12 +32615,12 @@ var GetPlanVariantDetailsPrice$inboundSchema = z75.pipe(
|
|
|
31993
32615
|
});
|
|
31994
32616
|
})
|
|
31995
32617
|
);
|
|
31996
|
-
var
|
|
31997
|
-
var
|
|
31998
|
-
var
|
|
32618
|
+
var GetPlanVariantDetailsOnIncrease$inboundSchema = inboundSchema(GetPlanVariantDetailsOnIncrease);
|
|
32619
|
+
var GetPlanVariantDetailsOnDecrease$inboundSchema = inboundSchema(GetPlanVariantDetailsOnDecrease);
|
|
32620
|
+
var GetPlanVariantDetailsProration$inboundSchema = z75.pipe(
|
|
31999
32621
|
z75.object({
|
|
32000
|
-
on_increase:
|
|
32001
|
-
on_decrease:
|
|
32622
|
+
on_increase: GetPlanVariantDetailsOnIncrease$inboundSchema,
|
|
32623
|
+
on_decrease: GetPlanVariantDetailsOnDecrease$inboundSchema
|
|
32002
32624
|
}),
|
|
32003
32625
|
z75.transform((v) => {
|
|
32004
32626
|
return remap(v, {
|
|
@@ -32269,7 +32891,7 @@ var GetPlanVariantDetailsFeatureOverride$inboundSchema = z75.pipe(
|
|
|
32269
32891
|
});
|
|
32270
32892
|
})
|
|
32271
32893
|
);
|
|
32272
|
-
var
|
|
32894
|
+
var GetPlanVariantDetailsPlanItem$inboundSchema = z75.pipe(
|
|
32273
32895
|
z75.object({
|
|
32274
32896
|
threshold_billing: z75.optional(z75.nullable(z75.lazy(
|
|
32275
32897
|
() => GetPlanVariantDetailsThresholdBilling$inboundSchema
|
|
@@ -32284,7 +32906,9 @@ var GetPlanPlanItem$inboundSchema = z75.pipe(
|
|
|
32284
32906
|
price: optional3(
|
|
32285
32907
|
z75.lazy(() => GetPlanVariantDetailsPrice$inboundSchema)
|
|
32286
32908
|
),
|
|
32287
|
-
proration: optional3(
|
|
32909
|
+
proration: optional3(
|
|
32910
|
+
z75.lazy(() => GetPlanVariantDetailsProration$inboundSchema)
|
|
32911
|
+
),
|
|
32288
32912
|
rollover: optional3(
|
|
32289
32913
|
z75.lazy(() => GetPlanVariantDetailsRollover$inboundSchema)
|
|
32290
32914
|
),
|
|
@@ -32303,23 +32927,23 @@ var GetPlanPlanItem$inboundSchema = z75.pipe(
|
|
|
32303
32927
|
});
|
|
32304
32928
|
})
|
|
32305
32929
|
);
|
|
32306
|
-
var
|
|
32307
|
-
var
|
|
32308
|
-
var
|
|
32309
|
-
var
|
|
32310
|
-
|
|
32311
|
-
|
|
32930
|
+
var GetPlanVariantDetailsRemoveItemBillingMethod$inboundSchema = inboundSchema(GetPlanVariantDetailsRemoveItemBillingMethod);
|
|
32931
|
+
var GetPlanIntervalVariantDetailsRemoveItemEnum2$inboundSchema = inboundSchema(GetPlanIntervalVariantDetailsRemoveItemEnum2);
|
|
32932
|
+
var GetPlanIntervalVariantDetailsRemoveItemEnum1$inboundSchema = inboundSchema(GetPlanIntervalVariantDetailsRemoveItemEnum1);
|
|
32933
|
+
var GetPlanVariantDetailsIntervalUnion$inboundSchema = smartUnion([
|
|
32934
|
+
GetPlanIntervalVariantDetailsRemoveItemEnum1$inboundSchema,
|
|
32935
|
+
GetPlanIntervalVariantDetailsRemoveItemEnum2$inboundSchema
|
|
32312
32936
|
]);
|
|
32313
|
-
var
|
|
32937
|
+
var GetPlanVariantDetailsPlanItemFilter$inboundSchema = z75.pipe(
|
|
32314
32938
|
z75.object({
|
|
32315
32939
|
feature_id: optional3(string5()),
|
|
32316
32940
|
billing_method: optional3(
|
|
32317
|
-
|
|
32941
|
+
GetPlanVariantDetailsRemoveItemBillingMethod$inboundSchema
|
|
32318
32942
|
),
|
|
32319
32943
|
interval: optional3(
|
|
32320
32944
|
smartUnion([
|
|
32321
|
-
|
|
32322
|
-
|
|
32945
|
+
GetPlanIntervalVariantDetailsRemoveItemEnum1$inboundSchema,
|
|
32946
|
+
GetPlanIntervalVariantDetailsRemoveItemEnum2$inboundSchema
|
|
32323
32947
|
])
|
|
32324
32948
|
),
|
|
32325
32949
|
interval_count: optional3(number2()),
|
|
@@ -32543,6 +33167,96 @@ var GetPlanIntervalUpsertLicenseRemoveItemEnum1 = {
|
|
|
32543
33167
|
SemiAnnual: "semi_annual",
|
|
32544
33168
|
Year: "year"
|
|
32545
33169
|
};
|
|
33170
|
+
var GetPlanPriceLicenseInterval = {
|
|
33171
|
+
OneOff: "one_off",
|
|
33172
|
+
Week: "week",
|
|
33173
|
+
Month: "month",
|
|
33174
|
+
Quarter: "quarter",
|
|
33175
|
+
SemiAnnual: "semi_annual",
|
|
33176
|
+
Year: "year"
|
|
33177
|
+
};
|
|
33178
|
+
var GetPlanLicenseResetInterval = {
|
|
33179
|
+
OneOff: "one_off",
|
|
33180
|
+
Minute: "minute",
|
|
33181
|
+
Hour: "hour",
|
|
33182
|
+
Day: "day",
|
|
33183
|
+
Week: "week",
|
|
33184
|
+
Month: "month",
|
|
33185
|
+
Quarter: "quarter",
|
|
33186
|
+
SemiAnnual: "semi_annual",
|
|
33187
|
+
Year: "year"
|
|
33188
|
+
};
|
|
33189
|
+
var GetPlanLicenseTierBehavior = {
|
|
33190
|
+
Graduated: "graduated",
|
|
33191
|
+
Volume: "volume"
|
|
33192
|
+
};
|
|
33193
|
+
var GetPlanLicenseAddItemPriceInterval = {
|
|
33194
|
+
OneOff: "one_off",
|
|
33195
|
+
Week: "week",
|
|
33196
|
+
Month: "month",
|
|
33197
|
+
Quarter: "quarter",
|
|
33198
|
+
SemiAnnual: "semi_annual",
|
|
33199
|
+
Year: "year"
|
|
33200
|
+
};
|
|
33201
|
+
var GetPlanLicenseAddItemBillingMethod = {
|
|
33202
|
+
Prepaid: "prepaid",
|
|
33203
|
+
UsageBased: "usage_based"
|
|
33204
|
+
};
|
|
33205
|
+
var GetPlanLicenseOnIncrease = {
|
|
33206
|
+
BillImmediately: "bill_immediately",
|
|
33207
|
+
ProrateImmediately: "prorate_immediately",
|
|
33208
|
+
ProrateNextCycle: "prorate_next_cycle",
|
|
33209
|
+
BillNextCycle: "bill_next_cycle"
|
|
33210
|
+
};
|
|
33211
|
+
var GetPlanLicenseOnDecrease = {
|
|
33212
|
+
Prorate: "prorate",
|
|
33213
|
+
ProrateImmediately: "prorate_immediately",
|
|
33214
|
+
ProrateNextCycle: "prorate_next_cycle",
|
|
33215
|
+
None: "none",
|
|
33216
|
+
NoProrations: "no_prorations"
|
|
33217
|
+
};
|
|
33218
|
+
var GetPlanLicenseExpiryDurationType = {
|
|
33219
|
+
Month: "month",
|
|
33220
|
+
Forever: "forever"
|
|
33221
|
+
};
|
|
33222
|
+
var GetPlanLicenseDuration = {
|
|
33223
|
+
Day: "day",
|
|
33224
|
+
Week: "week",
|
|
33225
|
+
Month: "month",
|
|
33226
|
+
Year: "year"
|
|
33227
|
+
};
|
|
33228
|
+
var GetPlanDimensionsToLicenseEnum2 = {
|
|
33229
|
+
Inf: "inf"
|
|
33230
|
+
};
|
|
33231
|
+
var GetPlanDimensionsToLicenseEnum1 = {
|
|
33232
|
+
Inf: "inf"
|
|
33233
|
+
};
|
|
33234
|
+
var GetPlanToLicenseEnum = {
|
|
33235
|
+
Inf: "inf"
|
|
33236
|
+
};
|
|
33237
|
+
var GetPlanLicenseRemoveItemBillingMethod = {
|
|
33238
|
+
Prepaid: "prepaid",
|
|
33239
|
+
UsageBased: "usage_based"
|
|
33240
|
+
};
|
|
33241
|
+
var GetPlanIntervalLicenseRemoveItemEnum2 = {
|
|
33242
|
+
OneOff: "one_off",
|
|
33243
|
+
Minute: "minute",
|
|
33244
|
+
Hour: "hour",
|
|
33245
|
+
Day: "day",
|
|
33246
|
+
Week: "week",
|
|
33247
|
+
Month: "month",
|
|
33248
|
+
Quarter: "quarter",
|
|
33249
|
+
SemiAnnual: "semi_annual",
|
|
33250
|
+
Year: "year"
|
|
33251
|
+
};
|
|
33252
|
+
var GetPlanIntervalLicenseRemoveItemEnum1 = {
|
|
33253
|
+
OneOff: "one_off",
|
|
33254
|
+
Week: "week",
|
|
33255
|
+
Month: "month",
|
|
33256
|
+
Quarter: "quarter",
|
|
33257
|
+
SemiAnnual: "semi_annual",
|
|
33258
|
+
Year: "year"
|
|
33259
|
+
};
|
|
32546
33260
|
var GetPlanVariantDetailsOverageAllowed$inboundSchema = z76.pipe(
|
|
32547
33261
|
z76.object({
|
|
32548
33262
|
feature_id: string5(),
|
|
@@ -33071,11 +33785,15 @@ var GetPlanRemoveLicense$inboundSchema = z76.pipe(
|
|
|
33071
33785
|
});
|
|
33072
33786
|
})
|
|
33073
33787
|
);
|
|
33074
|
-
var
|
|
33788
|
+
var GetPlanVariantDetailsCustomize$inboundSchema = z76.pipe(
|
|
33075
33789
|
z76.object({
|
|
33076
|
-
price: z76.optional(z76.nullable(
|
|
33077
|
-
add_items: optional3(
|
|
33078
|
-
|
|
33790
|
+
price: z76.optional(z76.nullable(GetPlanVariantDetailsBasePrice$inboundSchema)),
|
|
33791
|
+
add_items: optional3(
|
|
33792
|
+
z76.array(GetPlanVariantDetailsPlanItem$inboundSchema)
|
|
33793
|
+
),
|
|
33794
|
+
remove_items: optional3(
|
|
33795
|
+
z76.array(GetPlanVariantDetailsPlanItemFilter$inboundSchema)
|
|
33796
|
+
),
|
|
33079
33797
|
free_trial: z76.optional(z76.nullable(GetPlanFreeTrialParams$inboundSchema)),
|
|
33080
33798
|
billing_controls: optional3(
|
|
33081
33799
|
z76.lazy(() => GetPlanVariantDetailsBillingControls$inboundSchema)
|
|
@@ -33101,7 +33819,9 @@ var GetPlanCustomize$inboundSchema = z76.pipe(
|
|
|
33101
33819
|
var GetPlanVariantDetails$inboundSchema = z76.pipe(
|
|
33102
33820
|
z76.object({
|
|
33103
33821
|
base_plan_id: string5(),
|
|
33104
|
-
customize: optional3(
|
|
33822
|
+
customize: optional3(
|
|
33823
|
+
z76.lazy(() => GetPlanVariantDetailsCustomize$inboundSchema)
|
|
33824
|
+
)
|
|
33105
33825
|
}),
|
|
33106
33826
|
z76.transform((v) => {
|
|
33107
33827
|
return remap(v, {
|
|
@@ -33109,6 +33829,464 @@ var GetPlanVariantDetails$inboundSchema = z76.pipe(
|
|
|
33109
33829
|
});
|
|
33110
33830
|
})
|
|
33111
33831
|
);
|
|
33832
|
+
var GetPlanPriceLicenseInterval$inboundSchema = inboundSchema(GetPlanPriceLicenseInterval);
|
|
33833
|
+
var GetPlanLicenseAdditionalCurrency$inboundSchema = z76.object({
|
|
33834
|
+
currency: string5(),
|
|
33835
|
+
amount: number2()
|
|
33836
|
+
});
|
|
33837
|
+
var GetPlanLicenseBasePrice$inboundSchema = z76.pipe(
|
|
33838
|
+
z76.object({
|
|
33839
|
+
amount: number2(),
|
|
33840
|
+
interval: GetPlanPriceLicenseInterval$inboundSchema,
|
|
33841
|
+
interval_count: z76._default(number2(), 1),
|
|
33842
|
+
additional_currencies: optional3(
|
|
33843
|
+
z76.array(z76.lazy(() => GetPlanLicenseAdditionalCurrency$inboundSchema))
|
|
33844
|
+
)
|
|
33845
|
+
}),
|
|
33846
|
+
z76.transform((v) => {
|
|
33847
|
+
return remap(v, {
|
|
33848
|
+
"interval_count": "intervalCount",
|
|
33849
|
+
"additional_currencies": "additionalCurrencies"
|
|
33850
|
+
});
|
|
33851
|
+
})
|
|
33852
|
+
);
|
|
33853
|
+
var GetPlanLicenseThresholdBilling$inboundSchema = z76.object({
|
|
33854
|
+
threshold: number2()
|
|
33855
|
+
});
|
|
33856
|
+
var GetPlanLicenseResetInterval$inboundSchema = inboundSchema(GetPlanLicenseResetInterval);
|
|
33857
|
+
var GetPlanLicenseReset$inboundSchema = z76.pipe(
|
|
33858
|
+
z76.object({
|
|
33859
|
+
interval: GetPlanLicenseResetInterval$inboundSchema,
|
|
33860
|
+
interval_count: z76._default(number2(), 1)
|
|
33861
|
+
}),
|
|
33862
|
+
z76.transform((v) => {
|
|
33863
|
+
return remap(v, {
|
|
33864
|
+
"interval_count": "intervalCount"
|
|
33865
|
+
});
|
|
33866
|
+
})
|
|
33867
|
+
);
|
|
33868
|
+
var GetPlanLicenseAddItemAdditionalCurrency$inboundSchema = z76.object({
|
|
33869
|
+
currency: string5(),
|
|
33870
|
+
amount: number2()
|
|
33871
|
+
});
|
|
33872
|
+
var GetPlanLicensePriceTo$inboundSchema = smartUnion([number2(), string5()]);
|
|
33873
|
+
var GetPlanLicenseTierAdditionalCurrency$inboundSchema = z76.pipe(
|
|
33874
|
+
z76.object({
|
|
33875
|
+
currency: string5(),
|
|
33876
|
+
amount: optional3(number2()),
|
|
33877
|
+
flat_amount: optional3(number2())
|
|
33878
|
+
}),
|
|
33879
|
+
z76.transform((v) => {
|
|
33880
|
+
return remap(v, {
|
|
33881
|
+
"flat_amount": "flatAmount"
|
|
33882
|
+
});
|
|
33883
|
+
})
|
|
33884
|
+
);
|
|
33885
|
+
var GetPlanLicensePriceTier$inboundSchema = z76.pipe(
|
|
33886
|
+
z76.object({
|
|
33887
|
+
to: smartUnion([number2(), string5()]),
|
|
33888
|
+
amount: number2(),
|
|
33889
|
+
flat_amount: optional3(number2()),
|
|
33890
|
+
additional_currencies: optional3(
|
|
33891
|
+
z76.array(z76.lazy(() => GetPlanLicenseTierAdditionalCurrency$inboundSchema))
|
|
33892
|
+
)
|
|
33893
|
+
}),
|
|
33894
|
+
z76.transform((v) => {
|
|
33895
|
+
return remap(v, {
|
|
33896
|
+
"flat_amount": "flatAmount",
|
|
33897
|
+
"additional_currencies": "additionalCurrencies"
|
|
33898
|
+
});
|
|
33899
|
+
})
|
|
33900
|
+
);
|
|
33901
|
+
var GetPlanLicenseTierBehavior$inboundSchema = inboundSchema(GetPlanLicenseTierBehavior);
|
|
33902
|
+
var GetPlanLicenseAddItemPriceInterval$inboundSchema = inboundSchema(GetPlanLicenseAddItemPriceInterval);
|
|
33903
|
+
var GetPlanLicenseAddItemBillingMethod$inboundSchema = inboundSchema(GetPlanLicenseAddItemBillingMethod);
|
|
33904
|
+
var GetPlanLicensePrice$inboundSchema = z76.pipe(
|
|
33905
|
+
z76.object({
|
|
33906
|
+
amount: optional3(number2()),
|
|
33907
|
+
additional_currencies: optional3(z76.array(z76.lazy(
|
|
33908
|
+
() => GetPlanLicenseAddItemAdditionalCurrency$inboundSchema
|
|
33909
|
+
))),
|
|
33910
|
+
tiers: optional3(z76.array(z76.lazy(
|
|
33911
|
+
() => GetPlanLicensePriceTier$inboundSchema
|
|
33912
|
+
))),
|
|
33913
|
+
tier_behavior: optional3(GetPlanLicenseTierBehavior$inboundSchema),
|
|
33914
|
+
interval: GetPlanLicenseAddItemPriceInterval$inboundSchema,
|
|
33915
|
+
interval_count: z76._default(number2(), 1),
|
|
33916
|
+
billing_units: z76._default(number2(), 1),
|
|
33917
|
+
billing_method: GetPlanLicenseAddItemBillingMethod$inboundSchema,
|
|
33918
|
+
max_purchase: z76.optional(z76.nullable(number2()))
|
|
33919
|
+
}),
|
|
33920
|
+
z76.transform((v) => {
|
|
33921
|
+
return remap(v, {
|
|
33922
|
+
"additional_currencies": "additionalCurrencies",
|
|
33923
|
+
"tier_behavior": "tierBehavior",
|
|
33924
|
+
"interval_count": "intervalCount",
|
|
33925
|
+
"billing_units": "billingUnits",
|
|
33926
|
+
"billing_method": "billingMethod",
|
|
33927
|
+
"max_purchase": "maxPurchase"
|
|
33928
|
+
});
|
|
33929
|
+
})
|
|
33930
|
+
);
|
|
33931
|
+
var GetPlanLicenseOnIncrease$inboundSchema = inboundSchema(GetPlanLicenseOnIncrease);
|
|
33932
|
+
var GetPlanLicenseOnDecrease$inboundSchema = inboundSchema(GetPlanLicenseOnDecrease);
|
|
33933
|
+
var GetPlanLicenseProration$inboundSchema = z76.pipe(
|
|
33934
|
+
z76.object({
|
|
33935
|
+
on_increase: GetPlanLicenseOnIncrease$inboundSchema,
|
|
33936
|
+
on_decrease: GetPlanLicenseOnDecrease$inboundSchema
|
|
33937
|
+
}),
|
|
33938
|
+
z76.transform((v) => {
|
|
33939
|
+
return remap(v, {
|
|
33940
|
+
"on_increase": "onIncrease",
|
|
33941
|
+
"on_decrease": "onDecrease"
|
|
33942
|
+
});
|
|
33943
|
+
})
|
|
33944
|
+
);
|
|
33945
|
+
var GetPlanLicenseExpiryDurationType$inboundSchema = inboundSchema(GetPlanLicenseExpiryDurationType);
|
|
33946
|
+
var GetPlanLicenseRollover$inboundSchema = z76.pipe(
|
|
33947
|
+
z76.object({
|
|
33948
|
+
max: optional3(number2()),
|
|
33949
|
+
max_percentage: optional3(number2()),
|
|
33950
|
+
expiry_duration_type: GetPlanLicenseExpiryDurationType$inboundSchema,
|
|
33951
|
+
expiry_duration_length: optional3(number2())
|
|
33952
|
+
}),
|
|
33953
|
+
z76.transform((v) => {
|
|
33954
|
+
return remap(v, {
|
|
33955
|
+
"max_percentage": "maxPercentage",
|
|
33956
|
+
"expiry_duration_type": "expiryDurationType",
|
|
33957
|
+
"expiry_duration_length": "expiryDurationLength"
|
|
33958
|
+
});
|
|
33959
|
+
})
|
|
33960
|
+
);
|
|
33961
|
+
var GetPlanLicenseDuration$inboundSchema = inboundSchema(GetPlanLicenseDuration);
|
|
33962
|
+
var GetPlanLicenseExpiry$inboundSchema = z76.object({
|
|
33963
|
+
duration: GetPlanLicenseDuration$inboundSchema,
|
|
33964
|
+
length: number2()
|
|
33965
|
+
});
|
|
33966
|
+
var GetPlanDimensionsLicense4$inboundSchema = z76.pipe(
|
|
33967
|
+
z76.object({
|
|
33968
|
+
match: z76.record(z76.string(), string5()),
|
|
33969
|
+
priority: optional3(number2()),
|
|
33970
|
+
credit_cost: number2()
|
|
33971
|
+
}),
|
|
33972
|
+
z76.transform((v) => {
|
|
33973
|
+
return remap(v, {
|
|
33974
|
+
"credit_cost": "creditCost"
|
|
33975
|
+
});
|
|
33976
|
+
})
|
|
33977
|
+
);
|
|
33978
|
+
var GetPlanDimensionsToLicenseEnum2$inboundSchema = z76.enum(GetPlanDimensionsToLicenseEnum2);
|
|
33979
|
+
var GetPlanDimensionsLicenseToUnion2$inboundSchema = smartUnion([number2(), GetPlanDimensionsToLicenseEnum2$inboundSchema]);
|
|
33980
|
+
var GetPlanDimensionsLicenseTier2$inboundSchema = z76.pipe(
|
|
33981
|
+
z76.object({
|
|
33982
|
+
to: smartUnion([
|
|
33983
|
+
number2(),
|
|
33984
|
+
GetPlanDimensionsToLicenseEnum2$inboundSchema
|
|
33985
|
+
]),
|
|
33986
|
+
credit_cost: number2()
|
|
33987
|
+
}),
|
|
33988
|
+
z76.transform((v) => {
|
|
33989
|
+
return remap(v, {
|
|
33990
|
+
"credit_cost": "creditCost"
|
|
33991
|
+
});
|
|
33992
|
+
})
|
|
33993
|
+
);
|
|
33994
|
+
var GetPlanDimensionsLicense3$inboundSchema = z76.pipe(
|
|
33995
|
+
z76.object({
|
|
33996
|
+
match: z76.record(z76.string(), string5()),
|
|
33997
|
+
priority: optional3(number2()),
|
|
33998
|
+
tier_behavior: literal3("graduated"),
|
|
33999
|
+
tiers: z76.array(z76.lazy(() => GetPlanDimensionsLicenseTier2$inboundSchema))
|
|
34000
|
+
}),
|
|
34001
|
+
z76.transform((v) => {
|
|
34002
|
+
return remap(v, {
|
|
34003
|
+
"tier_behavior": "tierBehavior"
|
|
34004
|
+
});
|
|
34005
|
+
})
|
|
34006
|
+
);
|
|
34007
|
+
var GetPlanLicenseDimensionsUnion2$inboundSchema = smartUnion([
|
|
34008
|
+
z76.lazy(() => GetPlanDimensionsLicense3$inboundSchema),
|
|
34009
|
+
z76.lazy(() => GetPlanDimensionsLicense4$inboundSchema)
|
|
34010
|
+
]);
|
|
34011
|
+
var GetPlanLicenseMultipliers2$inboundSchema = z76.object({
|
|
34012
|
+
match: z76.record(z76.string(), string5()),
|
|
34013
|
+
factor: optional3(number2()),
|
|
34014
|
+
add: optional3(number2())
|
|
34015
|
+
});
|
|
34016
|
+
var GetPlanCreditSchemaLicense2$inboundSchema = z76.pipe(
|
|
34017
|
+
z76.object({
|
|
34018
|
+
metered_feature_id: string5(),
|
|
34019
|
+
billing_units: optional3(number2()),
|
|
34020
|
+
dimensions: optional3(z76.record(
|
|
34021
|
+
z76.string(),
|
|
34022
|
+
smartUnion([
|
|
34023
|
+
z76.lazy(() => GetPlanDimensionsLicense3$inboundSchema),
|
|
34024
|
+
z76.lazy(() => GetPlanDimensionsLicense4$inboundSchema)
|
|
34025
|
+
])
|
|
34026
|
+
)),
|
|
34027
|
+
multipliers: optional3(z76.record(
|
|
34028
|
+
z76.string(),
|
|
34029
|
+
z76.lazy(() => GetPlanLicenseMultipliers2$inboundSchema)
|
|
34030
|
+
)),
|
|
34031
|
+
credit_cost: number2()
|
|
34032
|
+
}),
|
|
34033
|
+
z76.transform((v) => {
|
|
34034
|
+
return remap(v, {
|
|
34035
|
+
"metered_feature_id": "meteredFeatureId",
|
|
34036
|
+
"billing_units": "billingUnits",
|
|
34037
|
+
"credit_cost": "creditCost"
|
|
34038
|
+
});
|
|
34039
|
+
})
|
|
34040
|
+
);
|
|
34041
|
+
var GetPlanDimensionsLicense2$inboundSchema = z76.pipe(
|
|
34042
|
+
z76.object({
|
|
34043
|
+
match: z76.record(z76.string(), string5()),
|
|
34044
|
+
priority: optional3(number2()),
|
|
34045
|
+
credit_cost: number2()
|
|
34046
|
+
}),
|
|
34047
|
+
z76.transform((v) => {
|
|
34048
|
+
return remap(v, {
|
|
34049
|
+
"credit_cost": "creditCost"
|
|
34050
|
+
});
|
|
34051
|
+
})
|
|
34052
|
+
);
|
|
34053
|
+
var GetPlanDimensionsToLicenseEnum1$inboundSchema = z76.enum(GetPlanDimensionsToLicenseEnum1);
|
|
34054
|
+
var GetPlanDimensionsLicenseToUnion1$inboundSchema = smartUnion([number2(), GetPlanDimensionsToLicenseEnum1$inboundSchema]);
|
|
34055
|
+
var GetPlanDimensionsLicenseTier1$inboundSchema = z76.pipe(
|
|
34056
|
+
z76.object({
|
|
34057
|
+
to: smartUnion([
|
|
34058
|
+
number2(),
|
|
34059
|
+
GetPlanDimensionsToLicenseEnum1$inboundSchema
|
|
34060
|
+
]),
|
|
34061
|
+
credit_cost: number2()
|
|
34062
|
+
}),
|
|
34063
|
+
z76.transform((v) => {
|
|
34064
|
+
return remap(v, {
|
|
34065
|
+
"credit_cost": "creditCost"
|
|
34066
|
+
});
|
|
34067
|
+
})
|
|
34068
|
+
);
|
|
34069
|
+
var GetPlanDimensionsLicense1$inboundSchema = z76.pipe(
|
|
34070
|
+
z76.object({
|
|
34071
|
+
match: z76.record(z76.string(), string5()),
|
|
34072
|
+
priority: optional3(number2()),
|
|
34073
|
+
tier_behavior: literal3("graduated"),
|
|
34074
|
+
tiers: z76.array(z76.lazy(() => GetPlanDimensionsLicenseTier1$inboundSchema))
|
|
34075
|
+
}),
|
|
34076
|
+
z76.transform((v) => {
|
|
34077
|
+
return remap(v, {
|
|
34078
|
+
"tier_behavior": "tierBehavior"
|
|
34079
|
+
});
|
|
34080
|
+
})
|
|
34081
|
+
);
|
|
34082
|
+
var GetPlanLicenseDimensionsUnion1$inboundSchema = smartUnion([
|
|
34083
|
+
z76.lazy(() => GetPlanDimensionsLicense1$inboundSchema),
|
|
34084
|
+
z76.lazy(() => GetPlanDimensionsLicense2$inboundSchema)
|
|
34085
|
+
]);
|
|
34086
|
+
var GetPlanLicenseMultipliers1$inboundSchema = z76.object({
|
|
34087
|
+
match: z76.record(z76.string(), string5()),
|
|
34088
|
+
factor: optional3(number2()),
|
|
34089
|
+
add: optional3(number2())
|
|
34090
|
+
});
|
|
34091
|
+
var GetPlanToLicenseEnum$inboundSchema = z76.enum(GetPlanToLicenseEnum);
|
|
34092
|
+
var GetPlanLicenseFeatureOverrideToUnion$inboundSchema = smartUnion([number2(), GetPlanToLicenseEnum$inboundSchema]);
|
|
34093
|
+
var GetPlanLicenseFeatureOverrideTier$inboundSchema = z76.pipe(
|
|
34094
|
+
z76.object({
|
|
34095
|
+
to: smartUnion([number2(), GetPlanToLicenseEnum$inboundSchema]),
|
|
34096
|
+
credit_cost: number2()
|
|
34097
|
+
}),
|
|
34098
|
+
z76.transform((v) => {
|
|
34099
|
+
return remap(v, {
|
|
34100
|
+
"credit_cost": "creditCost"
|
|
34101
|
+
});
|
|
34102
|
+
})
|
|
34103
|
+
);
|
|
34104
|
+
var GetPlanCreditSchemaLicense1$inboundSchema = z76.pipe(
|
|
34105
|
+
z76.object({
|
|
34106
|
+
metered_feature_id: string5(),
|
|
34107
|
+
billing_units: optional3(number2()),
|
|
34108
|
+
dimensions: optional3(z76.record(
|
|
34109
|
+
z76.string(),
|
|
34110
|
+
smartUnion([
|
|
34111
|
+
z76.lazy(() => GetPlanDimensionsLicense1$inboundSchema),
|
|
34112
|
+
z76.lazy(() => GetPlanDimensionsLicense2$inboundSchema)
|
|
34113
|
+
])
|
|
34114
|
+
)),
|
|
34115
|
+
multipliers: optional3(z76.record(
|
|
34116
|
+
z76.string(),
|
|
34117
|
+
z76.lazy(() => GetPlanLicenseMultipliers1$inboundSchema)
|
|
34118
|
+
)),
|
|
34119
|
+
tier_behavior: literal3("graduated"),
|
|
34120
|
+
tiers: z76.array(z76.lazy(
|
|
34121
|
+
() => GetPlanLicenseFeatureOverrideTier$inboundSchema
|
|
34122
|
+
))
|
|
34123
|
+
}),
|
|
34124
|
+
z76.transform((v) => {
|
|
34125
|
+
return remap(v, {
|
|
34126
|
+
"metered_feature_id": "meteredFeatureId",
|
|
34127
|
+
"billing_units": "billingUnits",
|
|
34128
|
+
"tier_behavior": "tierBehavior"
|
|
34129
|
+
});
|
|
34130
|
+
})
|
|
34131
|
+
);
|
|
34132
|
+
var GetPlanLicenseCreditSchemaUnion$inboundSchema = smartUnion([
|
|
34133
|
+
z76.lazy(() => GetPlanCreditSchemaLicense1$inboundSchema),
|
|
34134
|
+
z76.lazy(() => GetPlanCreditSchemaLicense2$inboundSchema)
|
|
34135
|
+
]);
|
|
34136
|
+
var GetPlanLicenseProviderMarkups$inboundSchema = z76.object({
|
|
34137
|
+
markup: number2()
|
|
34138
|
+
});
|
|
34139
|
+
var GetPlanLicenseModelMarkups$inboundSchema = z76.pipe(
|
|
34140
|
+
z76.object({
|
|
34141
|
+
markup: optional3(number2()),
|
|
34142
|
+
input_cost: optional3(number2()),
|
|
34143
|
+
output_cost: optional3(number2())
|
|
34144
|
+
}),
|
|
34145
|
+
z76.transform((v) => {
|
|
34146
|
+
return remap(v, {
|
|
34147
|
+
"input_cost": "inputCost",
|
|
34148
|
+
"output_cost": "outputCost"
|
|
34149
|
+
});
|
|
34150
|
+
})
|
|
34151
|
+
);
|
|
34152
|
+
var GetPlanLicenseMarkups$inboundSchema = z76.pipe(
|
|
34153
|
+
z76.object({
|
|
34154
|
+
default_markup: optional3(number2()),
|
|
34155
|
+
provider_markups: z76.optional(z76.nullable(z76.record(
|
|
34156
|
+
z76.string(),
|
|
34157
|
+
z76.lazy(() => GetPlanLicenseProviderMarkups$inboundSchema)
|
|
34158
|
+
))),
|
|
34159
|
+
model_markups: z76.optional(z76.nullable(z76.record(
|
|
34160
|
+
z76.string(),
|
|
34161
|
+
z76.lazy(() => GetPlanLicenseModelMarkups$inboundSchema)
|
|
34162
|
+
)))
|
|
34163
|
+
}),
|
|
34164
|
+
z76.transform((v) => {
|
|
34165
|
+
return remap(v, {
|
|
34166
|
+
"default_markup": "defaultMarkup",
|
|
34167
|
+
"provider_markups": "providerMarkups",
|
|
34168
|
+
"model_markups": "modelMarkups"
|
|
34169
|
+
});
|
|
34170
|
+
})
|
|
34171
|
+
);
|
|
34172
|
+
var GetPlanLicenseFeatureOverride$inboundSchema = z76.pipe(
|
|
34173
|
+
z76.object({
|
|
34174
|
+
credit_schema: optional3(z76.array(smartUnion([
|
|
34175
|
+
z76.lazy(() => GetPlanCreditSchemaLicense1$inboundSchema),
|
|
34176
|
+
z76.lazy(
|
|
34177
|
+
() => GetPlanCreditSchemaLicense2$inboundSchema
|
|
34178
|
+
)
|
|
34179
|
+
]))),
|
|
34180
|
+
markups: optional3(z76.lazy(
|
|
34181
|
+
() => GetPlanLicenseMarkups$inboundSchema
|
|
34182
|
+
))
|
|
34183
|
+
}),
|
|
34184
|
+
z76.transform((v) => {
|
|
34185
|
+
return remap(v, {
|
|
34186
|
+
"credit_schema": "creditSchema"
|
|
34187
|
+
});
|
|
34188
|
+
})
|
|
34189
|
+
);
|
|
34190
|
+
var GetPlanLicensePlanItem$inboundSchema = z76.pipe(
|
|
34191
|
+
z76.object({
|
|
34192
|
+
threshold_billing: z76.optional(
|
|
34193
|
+
z76.nullable(z76.lazy(() => GetPlanLicenseThresholdBilling$inboundSchema))
|
|
34194
|
+
),
|
|
34195
|
+
feature_id: string5(),
|
|
34196
|
+
included: optional3(number2()),
|
|
34197
|
+
unlimited: optional3(boolean2()),
|
|
34198
|
+
pooled: z76._default(boolean2(), false),
|
|
34199
|
+
reset: optional3(z76.lazy(() => GetPlanLicenseReset$inboundSchema)),
|
|
34200
|
+
price: optional3(z76.lazy(() => GetPlanLicensePrice$inboundSchema)),
|
|
34201
|
+
proration: optional3(
|
|
34202
|
+
z76.lazy(() => GetPlanLicenseProration$inboundSchema)
|
|
34203
|
+
),
|
|
34204
|
+
rollover: optional3(
|
|
34205
|
+
z76.lazy(() => GetPlanLicenseRollover$inboundSchema)
|
|
34206
|
+
),
|
|
34207
|
+
expiry: optional3(z76.lazy(() => GetPlanLicenseExpiry$inboundSchema)),
|
|
34208
|
+
feature_override: optional3(
|
|
34209
|
+
z76.lazy(() => GetPlanLicenseFeatureOverride$inboundSchema)
|
|
34210
|
+
)
|
|
34211
|
+
}),
|
|
34212
|
+
z76.transform((v) => {
|
|
34213
|
+
return remap(v, {
|
|
34214
|
+
"threshold_billing": "thresholdBilling",
|
|
34215
|
+
"feature_id": "featureId",
|
|
34216
|
+
"feature_override": "featureOverride"
|
|
34217
|
+
});
|
|
34218
|
+
})
|
|
34219
|
+
);
|
|
34220
|
+
var GetPlanLicenseRemoveItemBillingMethod$inboundSchema = inboundSchema(GetPlanLicenseRemoveItemBillingMethod);
|
|
34221
|
+
var GetPlanIntervalLicenseRemoveItemEnum2$inboundSchema = inboundSchema(GetPlanIntervalLicenseRemoveItemEnum2);
|
|
34222
|
+
var GetPlanIntervalLicenseRemoveItemEnum1$inboundSchema = inboundSchema(GetPlanIntervalLicenseRemoveItemEnum1);
|
|
34223
|
+
var GetPlanLicenseIntervalUnion$inboundSchema = smartUnion([
|
|
34224
|
+
GetPlanIntervalLicenseRemoveItemEnum1$inboundSchema,
|
|
34225
|
+
GetPlanIntervalLicenseRemoveItemEnum2$inboundSchema
|
|
34226
|
+
]);
|
|
34227
|
+
var GetPlanLicensePlanItemFilter$inboundSchema = z76.pipe(
|
|
34228
|
+
z76.object({
|
|
34229
|
+
feature_id: optional3(string5()),
|
|
34230
|
+
billing_method: optional3(
|
|
34231
|
+
GetPlanLicenseRemoveItemBillingMethod$inboundSchema
|
|
34232
|
+
),
|
|
34233
|
+
interval: optional3(
|
|
34234
|
+
smartUnion([
|
|
34235
|
+
GetPlanIntervalLicenseRemoveItemEnum1$inboundSchema,
|
|
34236
|
+
GetPlanIntervalLicenseRemoveItemEnum2$inboundSchema
|
|
34237
|
+
])
|
|
34238
|
+
),
|
|
34239
|
+
interval_count: optional3(number2()),
|
|
34240
|
+
included: optional3(number2())
|
|
34241
|
+
}),
|
|
34242
|
+
z76.transform((v) => {
|
|
34243
|
+
return remap(v, {
|
|
34244
|
+
"feature_id": "featureId",
|
|
34245
|
+
"billing_method": "billingMethod",
|
|
34246
|
+
"interval_count": "intervalCount"
|
|
34247
|
+
});
|
|
34248
|
+
})
|
|
34249
|
+
);
|
|
34250
|
+
var GetPlanLicenseCustomize$inboundSchema = z76.pipe(
|
|
34251
|
+
z76.object({
|
|
34252
|
+
price: z76.optional(
|
|
34253
|
+
z76.nullable(z76.lazy(() => GetPlanLicenseBasePrice$inboundSchema))
|
|
34254
|
+
),
|
|
34255
|
+
add_items: optional3(
|
|
34256
|
+
z76.array(z76.lazy(() => GetPlanLicensePlanItem$inboundSchema))
|
|
34257
|
+
),
|
|
34258
|
+
remove_items: optional3(
|
|
34259
|
+
z76.array(z76.lazy(() => GetPlanLicensePlanItemFilter$inboundSchema))
|
|
34260
|
+
)
|
|
34261
|
+
}),
|
|
34262
|
+
z76.transform((v) => {
|
|
34263
|
+
return remap(v, {
|
|
34264
|
+
"add_items": "addItems",
|
|
34265
|
+
"remove_items": "removeItems"
|
|
34266
|
+
});
|
|
34267
|
+
})
|
|
34268
|
+
);
|
|
34269
|
+
var GetPlanLicense$inboundSchema = z76.pipe(
|
|
34270
|
+
z76.object({
|
|
34271
|
+
license_plan_id: string5(),
|
|
34272
|
+
version: number2(),
|
|
34273
|
+
version_slug: optional3(string5()),
|
|
34274
|
+
included: number2(),
|
|
34275
|
+
prepaid_only: boolean2(),
|
|
34276
|
+
customize: optional3(
|
|
34277
|
+
z76.lazy(() => GetPlanLicenseCustomize$inboundSchema)
|
|
34278
|
+
),
|
|
34279
|
+
metadata: optional3(z76.record(z76.string(), z76.any())),
|
|
34280
|
+
plan: optional3(Plan$inboundSchema)
|
|
34281
|
+
}),
|
|
34282
|
+
z76.transform((v) => {
|
|
34283
|
+
return remap(v, {
|
|
34284
|
+
"license_plan_id": "licensePlanId",
|
|
34285
|
+
"version_slug": "versionSlug",
|
|
34286
|
+
"prepaid_only": "prepaidOnly"
|
|
34287
|
+
});
|
|
34288
|
+
})
|
|
34289
|
+
);
|
|
33112
34290
|
var GetPlanResponse$inboundSchema = z76.pipe(
|
|
33113
34291
|
z76.object({
|
|
33114
34292
|
id: string5(),
|
|
@@ -33136,6 +34314,9 @@ var GetPlanResponse$inboundSchema = z76.pipe(
|
|
|
33136
34314
|
base_variant_id: nullable(string5()),
|
|
33137
34315
|
variant_details: optional3(
|
|
33138
34316
|
z76.lazy(() => GetPlanVariantDetails$inboundSchema)
|
|
34317
|
+
),
|
|
34318
|
+
licenses: optional3(
|
|
34319
|
+
z76.array(z76.lazy(() => GetPlanLicense$inboundSchema))
|
|
33139
34320
|
)
|
|
33140
34321
|
}),
|
|
33141
34322
|
z76.transform((v) => {
|
|
@@ -55064,7 +56245,7 @@ var UpdatePlanDimensionsToItemRequestBodyEnum1 = {
|
|
|
55064
56245
|
var UpdatePlanToItemRequestBodyEnum = {
|
|
55065
56246
|
Inf: "inf"
|
|
55066
56247
|
};
|
|
55067
|
-
var
|
|
56248
|
+
var UpdatePlanPriceLicenseIntervalRequestBody = {
|
|
55068
56249
|
OneOff: "one_off",
|
|
55069
56250
|
Week: "week",
|
|
55070
56251
|
Month: "month",
|
|
@@ -55072,7 +56253,7 @@ var UpdatePlanPriceLicenseInterval = {
|
|
|
55072
56253
|
SemiAnnual: "semi_annual",
|
|
55073
56254
|
Year: "year"
|
|
55074
56255
|
};
|
|
55075
|
-
var
|
|
56256
|
+
var UpdatePlanLicenseResetIntervalRequestBody = {
|
|
55076
56257
|
OneOff: "one_off",
|
|
55077
56258
|
Minute: "minute",
|
|
55078
56259
|
Hour: "hour",
|
|
@@ -55083,11 +56264,11 @@ var UpdatePlanLicenseResetInterval = {
|
|
|
55083
56264
|
SemiAnnual: "semi_annual",
|
|
55084
56265
|
Year: "year"
|
|
55085
56266
|
};
|
|
55086
|
-
var
|
|
56267
|
+
var UpdatePlanLicenseTierBehaviorRequestBody = {
|
|
55087
56268
|
Graduated: "graduated",
|
|
55088
56269
|
Volume: "volume"
|
|
55089
56270
|
};
|
|
55090
|
-
var
|
|
56271
|
+
var UpdatePlanLicenseAddItemPriceIntervalRequestBody = {
|
|
55091
56272
|
OneOff: "one_off",
|
|
55092
56273
|
Week: "week",
|
|
55093
56274
|
Month: "month",
|
|
@@ -55095,47 +56276,47 @@ var UpdatePlanLicenseAddItemPriceInterval = {
|
|
|
55095
56276
|
SemiAnnual: "semi_annual",
|
|
55096
56277
|
Year: "year"
|
|
55097
56278
|
};
|
|
55098
|
-
var
|
|
56279
|
+
var UpdatePlanLicenseAddItemBillingMethodRequestBody = {
|
|
55099
56280
|
Prepaid: "prepaid",
|
|
55100
56281
|
UsageBased: "usage_based"
|
|
55101
56282
|
};
|
|
55102
|
-
var
|
|
56283
|
+
var UpdatePlanLicenseOnIncreaseRequestBody = {
|
|
55103
56284
|
BillImmediately: "bill_immediately",
|
|
55104
56285
|
ProrateImmediately: "prorate_immediately",
|
|
55105
56286
|
ProrateNextCycle: "prorate_next_cycle",
|
|
55106
56287
|
BillNextCycle: "bill_next_cycle"
|
|
55107
56288
|
};
|
|
55108
|
-
var
|
|
56289
|
+
var UpdatePlanLicenseOnDecreaseRequestBody = {
|
|
55109
56290
|
Prorate: "prorate",
|
|
55110
56291
|
ProrateImmediately: "prorate_immediately",
|
|
55111
56292
|
ProrateNextCycle: "prorate_next_cycle",
|
|
55112
56293
|
None: "none",
|
|
55113
56294
|
NoProrations: "no_prorations"
|
|
55114
56295
|
};
|
|
55115
|
-
var
|
|
56296
|
+
var UpdatePlanLicenseExpiryDurationTypeRequestBody = {
|
|
55116
56297
|
Month: "month",
|
|
55117
56298
|
Forever: "forever"
|
|
55118
56299
|
};
|
|
55119
|
-
var
|
|
56300
|
+
var UpdatePlanLicenseDurationRequestBody = {
|
|
55120
56301
|
Day: "day",
|
|
55121
56302
|
Week: "week",
|
|
55122
56303
|
Month: "month",
|
|
55123
56304
|
Year: "year"
|
|
55124
56305
|
};
|
|
55125
|
-
var
|
|
56306
|
+
var UpdatePlanDimensionsToLicenseRequestBodyEnum2 = {
|
|
55126
56307
|
Inf: "inf"
|
|
55127
56308
|
};
|
|
55128
|
-
var
|
|
56309
|
+
var UpdatePlanDimensionsToLicenseRequestBodyEnum1 = {
|
|
55129
56310
|
Inf: "inf"
|
|
55130
56311
|
};
|
|
55131
|
-
var
|
|
56312
|
+
var UpdatePlanToLicenseRequestBodyEnum = {
|
|
55132
56313
|
Inf: "inf"
|
|
55133
56314
|
};
|
|
55134
|
-
var
|
|
56315
|
+
var UpdatePlanLicenseRemoveItemBillingMethodRequestBody = {
|
|
55135
56316
|
Prepaid: "prepaid",
|
|
55136
56317
|
UsageBased: "usage_based"
|
|
55137
56318
|
};
|
|
55138
|
-
var
|
|
56319
|
+
var UpdatePlanIntervalLicenseRemoveItemRequestBodyEnum2 = {
|
|
55139
56320
|
OneOff: "one_off",
|
|
55140
56321
|
Minute: "minute",
|
|
55141
56322
|
Hour: "hour",
|
|
@@ -55146,7 +56327,7 @@ var UpdatePlanIntervalLicenseRemoveItemEnum2 = {
|
|
|
55146
56327
|
SemiAnnual: "semi_annual",
|
|
55147
56328
|
Year: "year"
|
|
55148
56329
|
};
|
|
55149
|
-
var
|
|
56330
|
+
var UpdatePlanIntervalLicenseRemoveItemRequestBodyEnum1 = {
|
|
55150
56331
|
OneOff: "one_off",
|
|
55151
56332
|
Week: "week",
|
|
55152
56333
|
Month: "month",
|
|
@@ -55677,19 +56858,21 @@ var UpdatePlanItemPlanItem$outboundSchema = z132.pipe(
|
|
|
55677
56858
|
});
|
|
55678
56859
|
})
|
|
55679
56860
|
);
|
|
55680
|
-
var
|
|
55681
|
-
|
|
56861
|
+
var UpdatePlanPriceLicenseIntervalRequestBody$outboundSchema = z132.enum(
|
|
56862
|
+
UpdatePlanPriceLicenseIntervalRequestBody
|
|
56863
|
+
);
|
|
56864
|
+
var UpdatePlanLicenseAdditionalCurrencyRequestBody$outboundSchema = z132.object({
|
|
55682
56865
|
currency: z132.string(),
|
|
55683
56866
|
amount: z132.number()
|
|
55684
56867
|
});
|
|
55685
|
-
var
|
|
56868
|
+
var UpdatePlanLicenseBasePriceRequestBody$outboundSchema = z132.pipe(
|
|
55686
56869
|
z132.object({
|
|
55687
56870
|
amount: z132.number(),
|
|
55688
|
-
interval:
|
|
56871
|
+
interval: UpdatePlanPriceLicenseIntervalRequestBody$outboundSchema,
|
|
55689
56872
|
intervalCount: z132._default(z132.number(), 1),
|
|
55690
|
-
additionalCurrencies: z132.optional(
|
|
55691
|
-
|
|
55692
|
-
)
|
|
56873
|
+
additionalCurrencies: z132.optional(z132.array(z132.lazy(
|
|
56874
|
+
() => UpdatePlanLicenseAdditionalCurrencyRequestBody$outboundSchema
|
|
56875
|
+
)))
|
|
55693
56876
|
}),
|
|
55694
56877
|
z132.transform((v) => {
|
|
55695
56878
|
return remap(v, {
|
|
@@ -55698,13 +56881,15 @@ var UpdatePlanLicenseBasePrice$outboundSchema = z132.pipe(
|
|
|
55698
56881
|
});
|
|
55699
56882
|
})
|
|
55700
56883
|
);
|
|
55701
|
-
var
|
|
56884
|
+
var UpdatePlanLicenseThresholdBillingRequestBody$outboundSchema = z132.object({
|
|
55702
56885
|
threshold: z132.number()
|
|
55703
56886
|
});
|
|
55704
|
-
var
|
|
55705
|
-
|
|
56887
|
+
var UpdatePlanLicenseResetIntervalRequestBody$outboundSchema = z132.enum(
|
|
56888
|
+
UpdatePlanLicenseResetIntervalRequestBody
|
|
56889
|
+
);
|
|
56890
|
+
var UpdatePlanLicenseResetRequestBody$outboundSchema = z132.pipe(
|
|
55706
56891
|
z132.object({
|
|
55707
|
-
interval:
|
|
56892
|
+
interval: UpdatePlanLicenseResetIntervalRequestBody$outboundSchema,
|
|
55708
56893
|
intervalCount: z132._default(z132.number(), 1)
|
|
55709
56894
|
}),
|
|
55710
56895
|
z132.transform((v) => {
|
|
@@ -55713,12 +56898,12 @@ var UpdatePlanLicenseReset$outboundSchema = z132.pipe(
|
|
|
55713
56898
|
});
|
|
55714
56899
|
})
|
|
55715
56900
|
);
|
|
55716
|
-
var
|
|
56901
|
+
var UpdatePlanLicenseAddItemAdditionalCurrencyRequestBody$outboundSchema = z132.object({
|
|
55717
56902
|
currency: z132.string(),
|
|
55718
56903
|
amount: z132.number()
|
|
55719
56904
|
});
|
|
55720
|
-
var
|
|
55721
|
-
var
|
|
56905
|
+
var UpdatePlanLicensePriceToRequestBody$outboundSchema = smartUnion([z132.number(), z132.string()]);
|
|
56906
|
+
var UpdatePlanLicenseTierAdditionalCurrencyRequestBody$outboundSchema = z132.pipe(
|
|
55722
56907
|
z132.object({
|
|
55723
56908
|
currency: z132.string(),
|
|
55724
56909
|
amount: z132.optional(z132.number()),
|
|
@@ -55730,13 +56915,13 @@ var UpdatePlanLicenseTierAdditionalCurrency$outboundSchema = z132.pipe(
|
|
|
55730
56915
|
});
|
|
55731
56916
|
})
|
|
55732
56917
|
);
|
|
55733
|
-
var
|
|
56918
|
+
var UpdatePlanLicensePriceTierRequestBody$outboundSchema = z132.pipe(
|
|
55734
56919
|
z132.object({
|
|
55735
56920
|
to: smartUnion([z132.number(), z132.string()]),
|
|
55736
56921
|
amount: z132.optional(z132.number()),
|
|
55737
56922
|
flatAmount: z132.optional(z132.number()),
|
|
55738
56923
|
additionalCurrencies: z132.optional(z132.array(z132.lazy(
|
|
55739
|
-
() =>
|
|
56924
|
+
() => UpdatePlanLicenseTierAdditionalCurrencyRequestBody$outboundSchema
|
|
55740
56925
|
)))
|
|
55741
56926
|
}),
|
|
55742
56927
|
z132.transform((v) => {
|
|
@@ -55746,27 +56931,27 @@ var UpdatePlanLicensePriceTier$outboundSchema = z132.pipe(
|
|
|
55746
56931
|
});
|
|
55747
56932
|
})
|
|
55748
56933
|
);
|
|
55749
|
-
var
|
|
55750
|
-
|
|
55751
|
-
UpdatePlanLicenseAddItemPriceInterval
|
|
55752
|
-
);
|
|
55753
|
-
var UpdatePlanLicenseAddItemBillingMethod$outboundSchema = z132.enum(
|
|
55754
|
-
UpdatePlanLicenseAddItemBillingMethod
|
|
56934
|
+
var UpdatePlanLicenseTierBehaviorRequestBody$outboundSchema = z132.enum(
|
|
56935
|
+
UpdatePlanLicenseTierBehaviorRequestBody
|
|
55755
56936
|
);
|
|
55756
|
-
var
|
|
56937
|
+
var UpdatePlanLicenseAddItemPriceIntervalRequestBody$outboundSchema = z132.enum(UpdatePlanLicenseAddItemPriceIntervalRequestBody);
|
|
56938
|
+
var UpdatePlanLicenseAddItemBillingMethodRequestBody$outboundSchema = z132.enum(UpdatePlanLicenseAddItemBillingMethodRequestBody);
|
|
56939
|
+
var UpdatePlanLicensePriceRequestBody$outboundSchema = z132.pipe(
|
|
55757
56940
|
z132.object({
|
|
55758
56941
|
amount: z132.optional(z132.number()),
|
|
55759
56942
|
additionalCurrencies: z132.optional(z132.array(z132.lazy(
|
|
55760
|
-
() =>
|
|
56943
|
+
() => UpdatePlanLicenseAddItemAdditionalCurrencyRequestBody$outboundSchema
|
|
55761
56944
|
))),
|
|
55762
56945
|
tiers: z132.optional(z132.array(z132.lazy(
|
|
55763
|
-
() =>
|
|
56946
|
+
() => UpdatePlanLicensePriceTierRequestBody$outboundSchema
|
|
55764
56947
|
))),
|
|
55765
|
-
tierBehavior: z132.optional(
|
|
55766
|
-
|
|
56948
|
+
tierBehavior: z132.optional(
|
|
56949
|
+
UpdatePlanLicenseTierBehaviorRequestBody$outboundSchema
|
|
56950
|
+
),
|
|
56951
|
+
interval: UpdatePlanLicenseAddItemPriceIntervalRequestBody$outboundSchema,
|
|
55767
56952
|
intervalCount: z132._default(z132.number(), 1),
|
|
55768
56953
|
billingUnits: z132._default(z132.number(), 1),
|
|
55769
|
-
billingMethod:
|
|
56954
|
+
billingMethod: UpdatePlanLicenseAddItemBillingMethodRequestBody$outboundSchema,
|
|
55770
56955
|
maxPurchase: z132.optional(z132.nullable(z132.number()))
|
|
55771
56956
|
}),
|
|
55772
56957
|
z132.transform((v) => {
|
|
@@ -55780,12 +56965,16 @@ var UpdatePlanLicensePrice$outboundSchema = z132.pipe(
|
|
|
55780
56965
|
});
|
|
55781
56966
|
})
|
|
55782
56967
|
);
|
|
55783
|
-
var
|
|
55784
|
-
|
|
55785
|
-
|
|
56968
|
+
var UpdatePlanLicenseOnIncreaseRequestBody$outboundSchema = z132.enum(
|
|
56969
|
+
UpdatePlanLicenseOnIncreaseRequestBody
|
|
56970
|
+
);
|
|
56971
|
+
var UpdatePlanLicenseOnDecreaseRequestBody$outboundSchema = z132.enum(
|
|
56972
|
+
UpdatePlanLicenseOnDecreaseRequestBody
|
|
56973
|
+
);
|
|
56974
|
+
var UpdatePlanLicenseProrationRequestBody$outboundSchema = z132.pipe(
|
|
55786
56975
|
z132.object({
|
|
55787
|
-
onIncrease:
|
|
55788
|
-
onDecrease:
|
|
56976
|
+
onIncrease: UpdatePlanLicenseOnIncreaseRequestBody$outboundSchema,
|
|
56977
|
+
onDecrease: UpdatePlanLicenseOnDecreaseRequestBody$outboundSchema
|
|
55789
56978
|
}),
|
|
55790
56979
|
z132.transform((v) => {
|
|
55791
56980
|
return remap(v, {
|
|
@@ -55794,12 +56983,14 @@ var UpdatePlanLicenseProration$outboundSchema = z132.pipe(
|
|
|
55794
56983
|
});
|
|
55795
56984
|
})
|
|
55796
56985
|
);
|
|
55797
|
-
var
|
|
55798
|
-
|
|
56986
|
+
var UpdatePlanLicenseExpiryDurationTypeRequestBody$outboundSchema = z132.enum(
|
|
56987
|
+
UpdatePlanLicenseExpiryDurationTypeRequestBody
|
|
56988
|
+
);
|
|
56989
|
+
var UpdatePlanLicenseRolloverRequestBody$outboundSchema = z132.pipe(
|
|
55799
56990
|
z132.object({
|
|
55800
56991
|
max: z132.optional(z132.number()),
|
|
55801
56992
|
maxPercentage: z132.optional(z132.number()),
|
|
55802
|
-
expiryDurationType:
|
|
56993
|
+
expiryDurationType: UpdatePlanLicenseExpiryDurationTypeRequestBody$outboundSchema,
|
|
55803
56994
|
expiryDurationLength: z132.optional(z132.number())
|
|
55804
56995
|
}),
|
|
55805
56996
|
z132.transform((v) => {
|
|
@@ -55810,13 +57001,13 @@ var UpdatePlanLicenseRollover$outboundSchema = z132.pipe(
|
|
|
55810
57001
|
});
|
|
55811
57002
|
})
|
|
55812
57003
|
);
|
|
55813
|
-
var
|
|
55814
|
-
var
|
|
55815
|
-
duration:
|
|
57004
|
+
var UpdatePlanLicenseDurationRequestBody$outboundSchema = z132.enum(UpdatePlanLicenseDurationRequestBody);
|
|
57005
|
+
var UpdatePlanLicenseExpiryRequestBody$outboundSchema = z132.object({
|
|
57006
|
+
duration: UpdatePlanLicenseDurationRequestBody$outboundSchema,
|
|
55816
57007
|
length: z132.number()
|
|
55817
57008
|
});
|
|
55818
57009
|
var UpdatePlanDimensionsLicenseMatch4$outboundSchema = smartUnion([z132.string(), z132.number(), z132.boolean()]);
|
|
55819
|
-
var
|
|
57010
|
+
var UpdatePlanDimensionsLicenseRequestBody4$outboundSchema = z132.pipe(
|
|
55820
57011
|
z132.object({
|
|
55821
57012
|
match: z132.record(
|
|
55822
57013
|
z132.string(),
|
|
@@ -55832,13 +57023,18 @@ var UpdatePlanDimensionsLicense4$outboundSchema = z132.pipe(
|
|
|
55832
57023
|
})
|
|
55833
57024
|
);
|
|
55834
57025
|
var UpdatePlanDimensionsLicenseMatch3$outboundSchema = smartUnion([z132.string(), z132.number(), z132.boolean()]);
|
|
55835
|
-
var
|
|
55836
|
-
|
|
55837
|
-
|
|
57026
|
+
var UpdatePlanDimensionsToLicenseRequestBodyEnum2$outboundSchema = z132.enum(
|
|
57027
|
+
UpdatePlanDimensionsToLicenseRequestBodyEnum2
|
|
57028
|
+
);
|
|
57029
|
+
var UpdatePlanDimensionsLicenseToRequestBodyUnion2$outboundSchema = smartUnion([
|
|
57030
|
+
z132.number(),
|
|
57031
|
+
UpdatePlanDimensionsToLicenseRequestBodyEnum2$outboundSchema
|
|
57032
|
+
]);
|
|
57033
|
+
var UpdatePlanDimensionsLicenseTierRequestBody2$outboundSchema = z132.pipe(
|
|
55838
57034
|
z132.object({
|
|
55839
57035
|
to: smartUnion([
|
|
55840
57036
|
z132.number(),
|
|
55841
|
-
|
|
57037
|
+
UpdatePlanDimensionsToLicenseRequestBodyEnum2$outboundSchema
|
|
55842
57038
|
]),
|
|
55843
57039
|
creditCost: z132.number()
|
|
55844
57040
|
}),
|
|
@@ -55848,7 +57044,7 @@ var UpdatePlanDimensionsLicenseTier2$outboundSchema = z132.pipe(
|
|
|
55848
57044
|
});
|
|
55849
57045
|
})
|
|
55850
57046
|
);
|
|
55851
|
-
var
|
|
57047
|
+
var UpdatePlanDimensionsLicenseRequestBody3$outboundSchema = z132.pipe(
|
|
55852
57048
|
z132.object({
|
|
55853
57049
|
match: z132.record(
|
|
55854
57050
|
z132.string(),
|
|
@@ -55857,7 +57053,9 @@ var UpdatePlanDimensionsLicense3$outboundSchema = z132.pipe(
|
|
|
55857
57053
|
priority: z132.optional(z132.int()),
|
|
55858
57054
|
tierBehavior: z132.literal("graduated"),
|
|
55859
57055
|
tiers: z132.array(
|
|
55860
|
-
z132.lazy(
|
|
57056
|
+
z132.lazy(
|
|
57057
|
+
() => UpdatePlanDimensionsLicenseTierRequestBody2$outboundSchema
|
|
57058
|
+
)
|
|
55861
57059
|
)
|
|
55862
57060
|
}),
|
|
55863
57061
|
z132.transform((v) => {
|
|
@@ -55866,12 +57064,12 @@ var UpdatePlanDimensionsLicense3$outboundSchema = z132.pipe(
|
|
|
55866
57064
|
});
|
|
55867
57065
|
})
|
|
55868
57066
|
);
|
|
55869
|
-
var
|
|
55870
|
-
z132.lazy(() =>
|
|
55871
|
-
z132.lazy(() =>
|
|
57067
|
+
var UpdatePlanLicenseDimensionsRequestBodyUnion2$outboundSchema = smartUnion([
|
|
57068
|
+
z132.lazy(() => UpdatePlanDimensionsLicenseRequestBody3$outboundSchema),
|
|
57069
|
+
z132.lazy(() => UpdatePlanDimensionsLicenseRequestBody4$outboundSchema)
|
|
55872
57070
|
]);
|
|
55873
57071
|
var UpdatePlanLicenseMultipliersMatch2$outboundSchema = smartUnion([z132.string(), z132.number(), z132.boolean()]);
|
|
55874
|
-
var
|
|
57072
|
+
var UpdatePlanLicenseMultipliersRequestBody2$outboundSchema = z132.object({
|
|
55875
57073
|
match: z132.record(
|
|
55876
57074
|
z132.string(),
|
|
55877
57075
|
smartUnion([z132.string(), z132.number(), z132.boolean()])
|
|
@@ -55879,20 +57077,20 @@ var UpdatePlanLicenseMultipliers2$outboundSchema = z132.object({
|
|
|
55879
57077
|
factor: z132.optional(z132.number()),
|
|
55880
57078
|
add: z132.optional(z132.number())
|
|
55881
57079
|
});
|
|
55882
|
-
var
|
|
57080
|
+
var UpdatePlanCreditSchemaLicenseRequestBody2$outboundSchema = z132.pipe(
|
|
55883
57081
|
z132.object({
|
|
55884
57082
|
meteredFeatureId: z132.string(),
|
|
55885
57083
|
billingUnits: z132.optional(z132.number()),
|
|
55886
57084
|
dimensions: z132.optional(z132.record(
|
|
55887
57085
|
z132.string(),
|
|
55888
57086
|
smartUnion([
|
|
55889
|
-
z132.lazy(() =>
|
|
55890
|
-
z132.lazy(() =>
|
|
57087
|
+
z132.lazy(() => UpdatePlanDimensionsLicenseRequestBody3$outboundSchema),
|
|
57088
|
+
z132.lazy(() => UpdatePlanDimensionsLicenseRequestBody4$outboundSchema)
|
|
55891
57089
|
])
|
|
55892
57090
|
)),
|
|
55893
57091
|
multipliers: z132.optional(z132.record(
|
|
55894
57092
|
z132.string(),
|
|
55895
|
-
z132.lazy(() =>
|
|
57093
|
+
z132.lazy(() => UpdatePlanLicenseMultipliersRequestBody2$outboundSchema)
|
|
55896
57094
|
)),
|
|
55897
57095
|
creditCost: z132.number()
|
|
55898
57096
|
}),
|
|
@@ -55905,7 +57103,7 @@ var UpdatePlanCreditSchemaLicense2$outboundSchema = z132.pipe(
|
|
|
55905
57103
|
})
|
|
55906
57104
|
);
|
|
55907
57105
|
var UpdatePlanDimensionsLicenseMatch2$outboundSchema = smartUnion([z132.string(), z132.number(), z132.boolean()]);
|
|
55908
|
-
var
|
|
57106
|
+
var UpdatePlanDimensionsLicenseRequestBody2$outboundSchema = z132.pipe(
|
|
55909
57107
|
z132.object({
|
|
55910
57108
|
match: z132.record(
|
|
55911
57109
|
z132.string(),
|
|
@@ -55921,13 +57119,18 @@ var UpdatePlanDimensionsLicense2$outboundSchema = z132.pipe(
|
|
|
55921
57119
|
})
|
|
55922
57120
|
);
|
|
55923
57121
|
var UpdatePlanDimensionsLicenseMatch1$outboundSchema = smartUnion([z132.string(), z132.number(), z132.boolean()]);
|
|
55924
|
-
var
|
|
55925
|
-
|
|
55926
|
-
|
|
57122
|
+
var UpdatePlanDimensionsToLicenseRequestBodyEnum1$outboundSchema = z132.enum(
|
|
57123
|
+
UpdatePlanDimensionsToLicenseRequestBodyEnum1
|
|
57124
|
+
);
|
|
57125
|
+
var UpdatePlanDimensionsLicenseToRequestBodyUnion1$outboundSchema = smartUnion([
|
|
57126
|
+
z132.number(),
|
|
57127
|
+
UpdatePlanDimensionsToLicenseRequestBodyEnum1$outboundSchema
|
|
57128
|
+
]);
|
|
57129
|
+
var UpdatePlanDimensionsLicenseTierRequestBody1$outboundSchema = z132.pipe(
|
|
55927
57130
|
z132.object({
|
|
55928
57131
|
to: smartUnion([
|
|
55929
57132
|
z132.number(),
|
|
55930
|
-
|
|
57133
|
+
UpdatePlanDimensionsToLicenseRequestBodyEnum1$outboundSchema
|
|
55931
57134
|
]),
|
|
55932
57135
|
creditCost: z132.number()
|
|
55933
57136
|
}),
|
|
@@ -55937,7 +57140,7 @@ var UpdatePlanDimensionsLicenseTier1$outboundSchema = z132.pipe(
|
|
|
55937
57140
|
});
|
|
55938
57141
|
})
|
|
55939
57142
|
);
|
|
55940
|
-
var
|
|
57143
|
+
var UpdatePlanDimensionsLicenseRequestBody1$outboundSchema = z132.pipe(
|
|
55941
57144
|
z132.object({
|
|
55942
57145
|
match: z132.record(
|
|
55943
57146
|
z132.string(),
|
|
@@ -55946,7 +57149,9 @@ var UpdatePlanDimensionsLicense1$outboundSchema = z132.pipe(
|
|
|
55946
57149
|
priority: z132.optional(z132.int()),
|
|
55947
57150
|
tierBehavior: z132.literal("graduated"),
|
|
55948
57151
|
tiers: z132.array(
|
|
55949
|
-
z132.lazy(
|
|
57152
|
+
z132.lazy(
|
|
57153
|
+
() => UpdatePlanDimensionsLicenseTierRequestBody1$outboundSchema
|
|
57154
|
+
)
|
|
55950
57155
|
)
|
|
55951
57156
|
}),
|
|
55952
57157
|
z132.transform((v) => {
|
|
@@ -55955,12 +57160,12 @@ var UpdatePlanDimensionsLicense1$outboundSchema = z132.pipe(
|
|
|
55955
57160
|
});
|
|
55956
57161
|
})
|
|
55957
57162
|
);
|
|
55958
|
-
var
|
|
55959
|
-
z132.lazy(() =>
|
|
55960
|
-
z132.lazy(() =>
|
|
57163
|
+
var UpdatePlanLicenseDimensionsRequestBodyUnion1$outboundSchema = smartUnion([
|
|
57164
|
+
z132.lazy(() => UpdatePlanDimensionsLicenseRequestBody1$outboundSchema),
|
|
57165
|
+
z132.lazy(() => UpdatePlanDimensionsLicenseRequestBody2$outboundSchema)
|
|
55961
57166
|
]);
|
|
55962
57167
|
var UpdatePlanLicenseMultipliersMatch1$outboundSchema = smartUnion([z132.string(), z132.number(), z132.boolean()]);
|
|
55963
|
-
var
|
|
57168
|
+
var UpdatePlanLicenseMultipliersRequestBody1$outboundSchema = z132.object({
|
|
55964
57169
|
match: z132.record(
|
|
55965
57170
|
z132.string(),
|
|
55966
57171
|
smartUnion([z132.string(), z132.number(), z132.boolean()])
|
|
@@ -55968,11 +57173,17 @@ var UpdatePlanLicenseMultipliers1$outboundSchema = z132.object({
|
|
|
55968
57173
|
factor: z132.optional(z132.number()),
|
|
55969
57174
|
add: z132.optional(z132.number())
|
|
55970
57175
|
});
|
|
55971
|
-
var
|
|
55972
|
-
var
|
|
55973
|
-
|
|
57176
|
+
var UpdatePlanToLicenseRequestBodyEnum$outboundSchema = z132.enum(UpdatePlanToLicenseRequestBodyEnum);
|
|
57177
|
+
var UpdatePlanLicenseFeatureOverrideToRequestBodyUnion$outboundSchema = smartUnion([
|
|
57178
|
+
z132.number(),
|
|
57179
|
+
UpdatePlanToLicenseRequestBodyEnum$outboundSchema
|
|
57180
|
+
]);
|
|
57181
|
+
var UpdatePlanLicenseFeatureOverrideTierRequestBody$outboundSchema = z132.pipe(
|
|
55974
57182
|
z132.object({
|
|
55975
|
-
to: smartUnion([
|
|
57183
|
+
to: smartUnion([
|
|
57184
|
+
z132.number(),
|
|
57185
|
+
UpdatePlanToLicenseRequestBodyEnum$outboundSchema
|
|
57186
|
+
]),
|
|
55976
57187
|
creditCost: z132.number()
|
|
55977
57188
|
}),
|
|
55978
57189
|
z132.transform((v) => {
|
|
@@ -55981,24 +57192,24 @@ var UpdatePlanLicenseFeatureOverrideTier$outboundSchema = z132.pipe(
|
|
|
55981
57192
|
});
|
|
55982
57193
|
})
|
|
55983
57194
|
);
|
|
55984
|
-
var
|
|
57195
|
+
var UpdatePlanCreditSchemaLicenseRequestBody1$outboundSchema = z132.pipe(
|
|
55985
57196
|
z132.object({
|
|
55986
57197
|
meteredFeatureId: z132.string(),
|
|
55987
57198
|
billingUnits: z132.optional(z132.number()),
|
|
55988
57199
|
dimensions: z132.optional(z132.record(
|
|
55989
57200
|
z132.string(),
|
|
55990
57201
|
smartUnion([
|
|
55991
|
-
z132.lazy(() =>
|
|
55992
|
-
z132.lazy(() =>
|
|
57202
|
+
z132.lazy(() => UpdatePlanDimensionsLicenseRequestBody1$outboundSchema),
|
|
57203
|
+
z132.lazy(() => UpdatePlanDimensionsLicenseRequestBody2$outboundSchema)
|
|
55993
57204
|
])
|
|
55994
57205
|
)),
|
|
55995
57206
|
multipliers: z132.optional(z132.record(
|
|
55996
57207
|
z132.string(),
|
|
55997
|
-
z132.lazy(() =>
|
|
57208
|
+
z132.lazy(() => UpdatePlanLicenseMultipliersRequestBody1$outboundSchema)
|
|
55998
57209
|
)),
|
|
55999
57210
|
tierBehavior: z132.literal("graduated"),
|
|
56000
57211
|
tiers: z132.array(z132.lazy(
|
|
56001
|
-
() =>
|
|
57212
|
+
() => UpdatePlanLicenseFeatureOverrideTierRequestBody$outboundSchema
|
|
56002
57213
|
))
|
|
56003
57214
|
}),
|
|
56004
57215
|
z132.transform((v) => {
|
|
@@ -56009,14 +57220,14 @@ var UpdatePlanCreditSchemaLicense1$outboundSchema = z132.pipe(
|
|
|
56009
57220
|
});
|
|
56010
57221
|
})
|
|
56011
57222
|
);
|
|
56012
|
-
var
|
|
56013
|
-
z132.lazy(() =>
|
|
56014
|
-
z132.lazy(() =>
|
|
57223
|
+
var UpdatePlanLicenseCreditSchemaRequestBodyUnion$outboundSchema = smartUnion([
|
|
57224
|
+
z132.lazy(() => UpdatePlanCreditSchemaLicenseRequestBody1$outboundSchema),
|
|
57225
|
+
z132.lazy(() => UpdatePlanCreditSchemaLicenseRequestBody2$outboundSchema)
|
|
56015
57226
|
]);
|
|
56016
|
-
var
|
|
57227
|
+
var UpdatePlanLicenseProviderMarkupsRequestBody$outboundSchema = z132.object({
|
|
56017
57228
|
markup: z132.number()
|
|
56018
57229
|
});
|
|
56019
|
-
var
|
|
57230
|
+
var UpdatePlanLicenseModelMarkupsRequestBody$outboundSchema = z132.pipe(
|
|
56020
57231
|
z132.object({
|
|
56021
57232
|
markup: z132.optional(z132.number()),
|
|
56022
57233
|
inputCost: z132.optional(z132.number()),
|
|
@@ -56029,16 +57240,16 @@ var UpdatePlanLicenseModelMarkups$outboundSchema = z132.pipe(
|
|
|
56029
57240
|
});
|
|
56030
57241
|
})
|
|
56031
57242
|
);
|
|
56032
|
-
var
|
|
57243
|
+
var UpdatePlanLicenseMarkupsRequestBody$outboundSchema = z132.pipe(
|
|
56033
57244
|
z132.object({
|
|
56034
57245
|
defaultMarkup: z132.optional(z132.number()),
|
|
56035
57246
|
providerMarkups: z132.optional(z132.nullable(z132.record(
|
|
56036
57247
|
z132.string(),
|
|
56037
|
-
z132.lazy(() =>
|
|
57248
|
+
z132.lazy(() => UpdatePlanLicenseProviderMarkupsRequestBody$outboundSchema)
|
|
56038
57249
|
))),
|
|
56039
57250
|
modelMarkups: z132.optional(z132.nullable(z132.record(
|
|
56040
57251
|
z132.string(),
|
|
56041
|
-
z132.lazy(() =>
|
|
57252
|
+
z132.lazy(() => UpdatePlanLicenseModelMarkupsRequestBody$outboundSchema)
|
|
56042
57253
|
)))
|
|
56043
57254
|
}),
|
|
56044
57255
|
z132.transform((v) => {
|
|
@@ -56049,16 +57260,16 @@ var UpdatePlanLicenseMarkups$outboundSchema = z132.pipe(
|
|
|
56049
57260
|
});
|
|
56050
57261
|
})
|
|
56051
57262
|
);
|
|
56052
|
-
var
|
|
57263
|
+
var UpdatePlanLicenseFeatureOverrideRequestBody$outboundSchema = z132.pipe(
|
|
56053
57264
|
z132.object({
|
|
56054
57265
|
creditSchema: z132.optional(z132.array(smartUnion([
|
|
56055
|
-
z132.lazy(() =>
|
|
57266
|
+
z132.lazy(() => UpdatePlanCreditSchemaLicenseRequestBody1$outboundSchema),
|
|
56056
57267
|
z132.lazy(
|
|
56057
|
-
() =>
|
|
57268
|
+
() => UpdatePlanCreditSchemaLicenseRequestBody2$outboundSchema
|
|
56058
57269
|
)
|
|
56059
57270
|
]))),
|
|
56060
57271
|
markups: z132.optional(z132.lazy(
|
|
56061
|
-
() =>
|
|
57272
|
+
() => UpdatePlanLicenseMarkupsRequestBody$outboundSchema
|
|
56062
57273
|
))
|
|
56063
57274
|
}),
|
|
56064
57275
|
z132.transform((v) => {
|
|
@@ -56067,29 +57278,33 @@ var UpdatePlanLicenseFeatureOverride$outboundSchema = z132.pipe(
|
|
|
56067
57278
|
});
|
|
56068
57279
|
})
|
|
56069
57280
|
);
|
|
56070
|
-
var
|
|
57281
|
+
var UpdatePlanLicensePlanItemRequestBody$outboundSchema = z132.pipe(
|
|
56071
57282
|
z132.object({
|
|
56072
|
-
thresholdBilling: z132.optional(
|
|
56073
|
-
|
|
56074
|
-
|
|
56075
|
-
)
|
|
56076
|
-
),
|
|
57283
|
+
thresholdBilling: z132.optional(z132.nullable(z132.lazy(
|
|
57284
|
+
() => UpdatePlanLicenseThresholdBillingRequestBody$outboundSchema
|
|
57285
|
+
))),
|
|
56077
57286
|
featureId: z132.string(),
|
|
56078
57287
|
included: z132.optional(z132.number()),
|
|
56079
57288
|
unlimited: z132.optional(z132.boolean()),
|
|
56080
57289
|
pooled: z132._default(z132.boolean(), false),
|
|
56081
|
-
reset: z132.optional(z132.lazy(
|
|
56082
|
-
|
|
56083
|
-
|
|
56084
|
-
|
|
56085
|
-
|
|
56086
|
-
|
|
56087
|
-
|
|
56088
|
-
|
|
56089
|
-
|
|
56090
|
-
|
|
56091
|
-
|
|
56092
|
-
)
|
|
57290
|
+
reset: z132.optional(z132.lazy(
|
|
57291
|
+
() => UpdatePlanLicenseResetRequestBody$outboundSchema
|
|
57292
|
+
)),
|
|
57293
|
+
price: z132.optional(z132.lazy(
|
|
57294
|
+
() => UpdatePlanLicensePriceRequestBody$outboundSchema
|
|
57295
|
+
)),
|
|
57296
|
+
proration: z132.optional(z132.lazy(
|
|
57297
|
+
() => UpdatePlanLicenseProrationRequestBody$outboundSchema
|
|
57298
|
+
)),
|
|
57299
|
+
rollover: z132.optional(z132.lazy(
|
|
57300
|
+
() => UpdatePlanLicenseRolloverRequestBody$outboundSchema
|
|
57301
|
+
)),
|
|
57302
|
+
expiry: z132.optional(z132.lazy(
|
|
57303
|
+
() => UpdatePlanLicenseExpiryRequestBody$outboundSchema
|
|
57304
|
+
)),
|
|
57305
|
+
featureOverride: z132.optional(z132.lazy(
|
|
57306
|
+
() => UpdatePlanLicenseFeatureOverrideRequestBody$outboundSchema
|
|
57307
|
+
))
|
|
56093
57308
|
}),
|
|
56094
57309
|
z132.transform((v) => {
|
|
56095
57310
|
return remap(v, {
|
|
@@ -56099,29 +57314,23 @@ var UpdatePlanLicensePlanItem$outboundSchema = z132.pipe(
|
|
|
56099
57314
|
});
|
|
56100
57315
|
})
|
|
56101
57316
|
);
|
|
56102
|
-
var
|
|
56103
|
-
|
|
56104
|
-
);
|
|
56105
|
-
var
|
|
56106
|
-
|
|
56107
|
-
|
|
56108
|
-
var UpdatePlanIntervalLicenseRemoveItemEnum1$outboundSchema = z132.enum(
|
|
56109
|
-
UpdatePlanIntervalLicenseRemoveItemEnum1
|
|
56110
|
-
);
|
|
56111
|
-
var UpdatePlanLicenseIntervalUnion$outboundSchema = smartUnion([
|
|
56112
|
-
UpdatePlanIntervalLicenseRemoveItemEnum1$outboundSchema,
|
|
56113
|
-
UpdatePlanIntervalLicenseRemoveItemEnum2$outboundSchema
|
|
57317
|
+
var UpdatePlanLicenseRemoveItemBillingMethodRequestBody$outboundSchema = z132.enum(UpdatePlanLicenseRemoveItemBillingMethodRequestBody);
|
|
57318
|
+
var UpdatePlanIntervalLicenseRemoveItemRequestBodyEnum2$outboundSchema = z132.enum(UpdatePlanIntervalLicenseRemoveItemRequestBodyEnum2);
|
|
57319
|
+
var UpdatePlanIntervalLicenseRemoveItemRequestBodyEnum1$outboundSchema = z132.enum(UpdatePlanIntervalLicenseRemoveItemRequestBodyEnum1);
|
|
57320
|
+
var UpdatePlanLicenseIntervalRequestBodyUnion$outboundSchema = smartUnion([
|
|
57321
|
+
UpdatePlanIntervalLicenseRemoveItemRequestBodyEnum1$outboundSchema,
|
|
57322
|
+
UpdatePlanIntervalLicenseRemoveItemRequestBodyEnum2$outboundSchema
|
|
56114
57323
|
]);
|
|
56115
|
-
var
|
|
57324
|
+
var UpdatePlanLicensePlanItemFilterRequestBody$outboundSchema = z132.pipe(
|
|
56116
57325
|
z132.object({
|
|
56117
57326
|
featureId: z132.optional(z132.string()),
|
|
56118
57327
|
billingMethod: z132.optional(
|
|
56119
|
-
|
|
57328
|
+
UpdatePlanLicenseRemoveItemBillingMethodRequestBody$outboundSchema
|
|
56120
57329
|
),
|
|
56121
57330
|
interval: z132.optional(
|
|
56122
57331
|
smartUnion([
|
|
56123
|
-
|
|
56124
|
-
|
|
57332
|
+
UpdatePlanIntervalLicenseRemoveItemRequestBodyEnum1$outboundSchema,
|
|
57333
|
+
UpdatePlanIntervalLicenseRemoveItemRequestBodyEnum2$outboundSchema
|
|
56125
57334
|
])
|
|
56126
57335
|
),
|
|
56127
57336
|
intervalCount: z132.optional(z132.int()),
|
|
@@ -56135,17 +57344,17 @@ var UpdatePlanLicensePlanItemFilter$outboundSchema = z132.pipe(
|
|
|
56135
57344
|
});
|
|
56136
57345
|
})
|
|
56137
57346
|
);
|
|
56138
|
-
var
|
|
57347
|
+
var UpdatePlanLicenseCustomizeRequestBody$outboundSchema = z132.pipe(
|
|
56139
57348
|
z132.object({
|
|
56140
|
-
price: z132.optional(
|
|
56141
|
-
|
|
56142
|
-
),
|
|
56143
|
-
addItems: z132.optional(
|
|
56144
|
-
|
|
56145
|
-
),
|
|
56146
|
-
removeItems: z132.optional(
|
|
56147
|
-
|
|
56148
|
-
)
|
|
57349
|
+
price: z132.optional(z132.nullable(z132.lazy(
|
|
57350
|
+
() => UpdatePlanLicenseBasePriceRequestBody$outboundSchema
|
|
57351
|
+
))),
|
|
57352
|
+
addItems: z132.optional(z132.array(z132.lazy(
|
|
57353
|
+
() => UpdatePlanLicensePlanItemRequestBody$outboundSchema
|
|
57354
|
+
))),
|
|
57355
|
+
removeItems: z132.optional(z132.array(z132.lazy(
|
|
57356
|
+
() => UpdatePlanLicensePlanItemFilterRequestBody$outboundSchema
|
|
57357
|
+
)))
|
|
56149
57358
|
}),
|
|
56150
57359
|
z132.transform((v) => {
|
|
56151
57360
|
return remap(v, {
|
|
@@ -56154,15 +57363,15 @@ var UpdatePlanLicenseCustomize$outboundSchema = z132.pipe(
|
|
|
56154
57363
|
});
|
|
56155
57364
|
})
|
|
56156
57365
|
);
|
|
56157
|
-
var
|
|
57366
|
+
var UpdatePlanLicenseRequest$outboundSchema = z132.pipe(
|
|
56158
57367
|
z132.object({
|
|
56159
57368
|
licensePlanId: z132.string(),
|
|
56160
57369
|
versionSlug: z132.optional(z132.string()),
|
|
56161
57370
|
included: z132.optional(z132.int()),
|
|
56162
57371
|
prepaidOnly: z132.optional(z132.boolean()),
|
|
56163
|
-
customize: z132.optional(
|
|
56164
|
-
|
|
56165
|
-
),
|
|
57372
|
+
customize: z132.optional(z132.nullable(z132.lazy(
|
|
57373
|
+
() => UpdatePlanLicenseCustomizeRequestBody$outboundSchema
|
|
57374
|
+
))),
|
|
56166
57375
|
metadata: z132.optional(z132.record(z132.string(), z132.any()))
|
|
56167
57376
|
}),
|
|
56168
57377
|
z132.transform((v) => {
|
|
@@ -57851,7 +59060,7 @@ var UpdatePlanParams$outboundSchema = z133.pipe(
|
|
|
57851
59060
|
z133.nullable(UpdatePlanBasePriceRequestBody$outboundSchema)
|
|
57852
59061
|
),
|
|
57853
59062
|
items: z133.optional(z133.array(UpdatePlanItemPlanItem$outboundSchema)),
|
|
57854
|
-
licenses: z133.optional(z133.array(
|
|
59063
|
+
licenses: z133.optional(z133.array(UpdatePlanLicenseRequest$outboundSchema)),
|
|
57855
59064
|
freeTrial: z133.optional(
|
|
57856
59065
|
z133.nullable(UpdatePlanFreeTrialParamsRequestBody$outboundSchema)
|
|
57857
59066
|
),
|
|
@@ -58159,17 +59368,17 @@ var UpdatePlanVariantDetailsAddItemPriceInterval = {
|
|
|
58159
59368
|
SemiAnnual: "semi_annual",
|
|
58160
59369
|
Year: "year"
|
|
58161
59370
|
};
|
|
58162
|
-
var
|
|
59371
|
+
var UpdatePlanVariantDetailsAddItemBillingMethod = {
|
|
58163
59372
|
Prepaid: "prepaid",
|
|
58164
59373
|
UsageBased: "usage_based"
|
|
58165
59374
|
};
|
|
58166
|
-
var
|
|
59375
|
+
var UpdatePlanVariantDetailsOnIncrease = {
|
|
58167
59376
|
BillImmediately: "bill_immediately",
|
|
58168
59377
|
ProrateImmediately: "prorate_immediately",
|
|
58169
59378
|
ProrateNextCycle: "prorate_next_cycle",
|
|
58170
59379
|
BillNextCycle: "bill_next_cycle"
|
|
58171
59380
|
};
|
|
58172
|
-
var
|
|
59381
|
+
var UpdatePlanVariantDetailsOnDecrease = {
|
|
58173
59382
|
Prorate: "prorate",
|
|
58174
59383
|
ProrateImmediately: "prorate_immediately",
|
|
58175
59384
|
ProrateNextCycle: "prorate_next_cycle",
|
|
@@ -58195,7 +59404,7 @@ var UpdatePlanDimensionsToVariantDetailsEnum1 = {
|
|
|
58195
59404
|
var UpdatePlanToVariantDetailsEnum = {
|
|
58196
59405
|
Inf: "inf"
|
|
58197
59406
|
};
|
|
58198
|
-
var
|
|
59407
|
+
var UpdatePlanVariantDetailsRemoveItemBillingMethod = {
|
|
58199
59408
|
Prepaid: "prepaid",
|
|
58200
59409
|
UsageBased: "usage_based"
|
|
58201
59410
|
};
|
|
@@ -58290,7 +59499,7 @@ var UpdatePlanVariantDetailsUpsertLicenseAddItemPriceInterval = {
|
|
|
58290
59499
|
SemiAnnual: "semi_annual",
|
|
58291
59500
|
Year: "year"
|
|
58292
59501
|
};
|
|
58293
|
-
var
|
|
59502
|
+
var UpdatePlanVariantDetailsUpsertLicenseAddItemBillingMethod = {
|
|
58294
59503
|
Prepaid: "prepaid",
|
|
58295
59504
|
UsageBased: "usage_based"
|
|
58296
59505
|
};
|
|
@@ -58307,7 +59516,7 @@ var UpdatePlanUpsertLicenseOnDecreaseResponse = {
|
|
|
58307
59516
|
None: "none",
|
|
58308
59517
|
NoProrations: "no_prorations"
|
|
58309
59518
|
};
|
|
58310
|
-
var
|
|
59519
|
+
var UpdatePlanVariantDetailsUpsertLicenseExpiryDurationType = {
|
|
58311
59520
|
Month: "month",
|
|
58312
59521
|
Forever: "forever"
|
|
58313
59522
|
};
|
|
@@ -58894,7 +60103,7 @@ var UpdatePlanVariantDetailsAdditionalCurrency$inboundSchema = z134.object(
|
|
|
58894
60103
|
amount: number2()
|
|
58895
60104
|
}
|
|
58896
60105
|
);
|
|
58897
|
-
var
|
|
60106
|
+
var UpdatePlanVariantDetailsBasePrice$inboundSchema = z134.pipe(
|
|
58898
60107
|
z134.object({
|
|
58899
60108
|
amount: number2(),
|
|
58900
60109
|
interval: UpdatePlanPriceVariantDetailsInterval$inboundSchema,
|
|
@@ -58925,7 +60134,7 @@ var UpdatePlanVariantDetailsReset$inboundSchema = z134.pipe(
|
|
|
58925
60134
|
});
|
|
58926
60135
|
})
|
|
58927
60136
|
);
|
|
58928
|
-
var
|
|
60137
|
+
var UpdatePlanVariantDetailsAddItemAdditionalCurrency$inboundSchema = z134.object({
|
|
58929
60138
|
currency: string5(),
|
|
58930
60139
|
amount: number2()
|
|
58931
60140
|
});
|
|
@@ -58960,12 +60169,12 @@ var UpdatePlanVariantDetailsPriceTier$inboundSchema = z134.pipe(
|
|
|
58960
60169
|
);
|
|
58961
60170
|
var UpdatePlanVariantDetailsTierBehavior$inboundSchema = inboundSchema(UpdatePlanVariantDetailsTierBehavior);
|
|
58962
60171
|
var UpdatePlanVariantDetailsAddItemPriceInterval$inboundSchema = inboundSchema(UpdatePlanVariantDetailsAddItemPriceInterval);
|
|
58963
|
-
var
|
|
60172
|
+
var UpdatePlanVariantDetailsAddItemBillingMethod$inboundSchema = inboundSchema(UpdatePlanVariantDetailsAddItemBillingMethod);
|
|
58964
60173
|
var UpdatePlanVariantDetailsPrice$inboundSchema = z134.pipe(
|
|
58965
60174
|
z134.object({
|
|
58966
60175
|
amount: optional3(number2()),
|
|
58967
60176
|
additional_currencies: optional3(z134.array(z134.lazy(
|
|
58968
|
-
() =>
|
|
60177
|
+
() => UpdatePlanVariantDetailsAddItemAdditionalCurrency$inboundSchema
|
|
58969
60178
|
))),
|
|
58970
60179
|
tiers: optional3(z134.array(z134.lazy(
|
|
58971
60180
|
() => UpdatePlanVariantDetailsPriceTier$inboundSchema
|
|
@@ -58976,7 +60185,7 @@ var UpdatePlanVariantDetailsPrice$inboundSchema = z134.pipe(
|
|
|
58976
60185
|
interval: UpdatePlanVariantDetailsAddItemPriceInterval$inboundSchema,
|
|
58977
60186
|
interval_count: z134._default(number2(), 1),
|
|
58978
60187
|
billing_units: z134._default(number2(), 1),
|
|
58979
|
-
billing_method:
|
|
60188
|
+
billing_method: UpdatePlanVariantDetailsAddItemBillingMethod$inboundSchema,
|
|
58980
60189
|
max_purchase: z134.optional(z134.nullable(number2()))
|
|
58981
60190
|
}),
|
|
58982
60191
|
z134.transform((v) => {
|
|
@@ -58990,12 +60199,12 @@ var UpdatePlanVariantDetailsPrice$inboundSchema = z134.pipe(
|
|
|
58990
60199
|
});
|
|
58991
60200
|
})
|
|
58992
60201
|
);
|
|
58993
|
-
var
|
|
58994
|
-
var
|
|
58995
|
-
var
|
|
60202
|
+
var UpdatePlanVariantDetailsOnIncrease$inboundSchema = inboundSchema(UpdatePlanVariantDetailsOnIncrease);
|
|
60203
|
+
var UpdatePlanVariantDetailsOnDecrease$inboundSchema = inboundSchema(UpdatePlanVariantDetailsOnDecrease);
|
|
60204
|
+
var UpdatePlanVariantDetailsProration$inboundSchema = z134.pipe(
|
|
58996
60205
|
z134.object({
|
|
58997
|
-
on_increase:
|
|
58998
|
-
on_decrease:
|
|
60206
|
+
on_increase: UpdatePlanVariantDetailsOnIncrease$inboundSchema,
|
|
60207
|
+
on_decrease: UpdatePlanVariantDetailsOnDecrease$inboundSchema
|
|
58999
60208
|
}),
|
|
59000
60209
|
z134.transform((v) => {
|
|
59001
60210
|
return remap(v, {
|
|
@@ -59270,7 +60479,7 @@ var UpdatePlanVariantDetailsFeatureOverride$inboundSchema = z134.pipe(
|
|
|
59270
60479
|
});
|
|
59271
60480
|
})
|
|
59272
60481
|
);
|
|
59273
|
-
var
|
|
60482
|
+
var UpdatePlanVariantDetailsPlanItem$inboundSchema = z134.pipe(
|
|
59274
60483
|
z134.object({
|
|
59275
60484
|
threshold_billing: z134.optional(z134.nullable(z134.lazy(
|
|
59276
60485
|
() => UpdatePlanVariantDetailsThresholdBilling$inboundSchema
|
|
@@ -59286,7 +60495,7 @@ var UpdatePlanPlanItemResponse$inboundSchema = z134.pipe(
|
|
|
59286
60495
|
() => UpdatePlanVariantDetailsPrice$inboundSchema
|
|
59287
60496
|
)),
|
|
59288
60497
|
proration: optional3(z134.lazy(
|
|
59289
|
-
() =>
|
|
60498
|
+
() => UpdatePlanVariantDetailsProration$inboundSchema
|
|
59290
60499
|
)),
|
|
59291
60500
|
rollover: optional3(z134.lazy(
|
|
59292
60501
|
() => UpdatePlanVariantDetailsRollover$inboundSchema
|
|
@@ -59306,18 +60515,18 @@ var UpdatePlanPlanItemResponse$inboundSchema = z134.pipe(
|
|
|
59306
60515
|
});
|
|
59307
60516
|
})
|
|
59308
60517
|
);
|
|
59309
|
-
var
|
|
60518
|
+
var UpdatePlanVariantDetailsRemoveItemBillingMethod$inboundSchema = inboundSchema(UpdatePlanVariantDetailsRemoveItemBillingMethod);
|
|
59310
60519
|
var UpdatePlanIntervalVariantDetailsRemoveItemEnum2$inboundSchema = inboundSchema(UpdatePlanIntervalVariantDetailsRemoveItemEnum2);
|
|
59311
60520
|
var UpdatePlanIntervalVariantDetailsRemoveItemEnum1$inboundSchema = inboundSchema(UpdatePlanIntervalVariantDetailsRemoveItemEnum1);
|
|
59312
60521
|
var UpdatePlanVariantDetailsIntervalUnion$inboundSchema = smartUnion([
|
|
59313
60522
|
UpdatePlanIntervalVariantDetailsRemoveItemEnum1$inboundSchema,
|
|
59314
60523
|
UpdatePlanIntervalVariantDetailsRemoveItemEnum2$inboundSchema
|
|
59315
60524
|
]);
|
|
59316
|
-
var
|
|
60525
|
+
var UpdatePlanVariantDetailsPlanItemFilter$inboundSchema = z134.pipe(
|
|
59317
60526
|
z134.object({
|
|
59318
60527
|
feature_id: optional3(string5()),
|
|
59319
60528
|
billing_method: optional3(
|
|
59320
|
-
|
|
60529
|
+
UpdatePlanVariantDetailsRemoveItemBillingMethod$inboundSchema
|
|
59321
60530
|
),
|
|
59322
60531
|
interval: optional3(
|
|
59323
60532
|
smartUnion([
|
|
@@ -59494,7 +60703,7 @@ var UpdatePlanVariantDetailsBillingControls$inboundSchema = z134.pipe(
|
|
|
59494
60703
|
})
|
|
59495
60704
|
);
|
|
59496
60705
|
var UpdatePlanPriceVariantDetailsUpsertLicenseInterval$inboundSchema = inboundSchema(UpdatePlanPriceVariantDetailsUpsertLicenseInterval);
|
|
59497
|
-
var
|
|
60706
|
+
var UpdatePlanVariantDetailsUpsertLicenseAdditionalCurrency$inboundSchema = z134.object({
|
|
59498
60707
|
currency: string5(),
|
|
59499
60708
|
amount: number2()
|
|
59500
60709
|
});
|
|
@@ -59504,7 +60713,7 @@ var UpdatePlanUpsertLicenseBasePriceResponse$inboundSchema = z134.pipe(
|
|
|
59504
60713
|
interval: UpdatePlanPriceVariantDetailsUpsertLicenseInterval$inboundSchema,
|
|
59505
60714
|
interval_count: z134._default(number2(), 1),
|
|
59506
60715
|
additional_currencies: optional3(z134.array(z134.lazy(
|
|
59507
|
-
() =>
|
|
60716
|
+
() => UpdatePlanVariantDetailsUpsertLicenseAdditionalCurrency$inboundSchema
|
|
59508
60717
|
)))
|
|
59509
60718
|
}),
|
|
59510
60719
|
z134.transform((v) => {
|
|
@@ -59514,7 +60723,7 @@ var UpdatePlanUpsertLicenseBasePriceResponse$inboundSchema = z134.pipe(
|
|
|
59514
60723
|
});
|
|
59515
60724
|
})
|
|
59516
60725
|
);
|
|
59517
|
-
var
|
|
60726
|
+
var UpdatePlanVariantDetailsUpsertLicenseThresholdBilling$inboundSchema = z134.object({
|
|
59518
60727
|
threshold: number2()
|
|
59519
60728
|
});
|
|
59520
60729
|
var UpdatePlanVariantDetailsUpsertLicenseResetInterval$inboundSchema = inboundSchema(UpdatePlanVariantDetailsUpsertLicenseResetInterval);
|
|
@@ -59529,12 +60738,12 @@ var UpdatePlanVariantDetailsUpsertLicenseReset$inboundSchema = z134.pipe(
|
|
|
59529
60738
|
});
|
|
59530
60739
|
})
|
|
59531
60740
|
);
|
|
59532
|
-
var
|
|
60741
|
+
var UpdatePlanVariantDetailsUpsertLicenseAddItemAdditionalCurrency$inboundSchema = z134.object({
|
|
59533
60742
|
currency: string5(),
|
|
59534
60743
|
amount: number2()
|
|
59535
60744
|
});
|
|
59536
60745
|
var UpdatePlanVariantDetailsUpsertLicensePriceTo$inboundSchema = smartUnion([number2(), string5()]);
|
|
59537
|
-
var
|
|
60746
|
+
var UpdatePlanVariantDetailsUpsertLicenseTierAdditionalCurrency$inboundSchema = z134.pipe(
|
|
59538
60747
|
z134.object({
|
|
59539
60748
|
currency: string5(),
|
|
59540
60749
|
amount: optional3(number2()),
|
|
@@ -59552,7 +60761,7 @@ var UpdatePlanVariantDetailsUpsertLicensePriceTier$inboundSchema = z134.pipe(
|
|
|
59552
60761
|
amount: number2(),
|
|
59553
60762
|
flat_amount: optional3(number2()),
|
|
59554
60763
|
additional_currencies: optional3(z134.array(z134.lazy(
|
|
59555
|
-
() =>
|
|
60764
|
+
() => UpdatePlanVariantDetailsUpsertLicenseTierAdditionalCurrency$inboundSchema
|
|
59556
60765
|
)))
|
|
59557
60766
|
}),
|
|
59558
60767
|
z134.transform((v) => {
|
|
@@ -59566,14 +60775,14 @@ var UpdatePlanVariantDetailsUpsertLicenseTierBehavior$inboundSchema = inboundSch
|
|
|
59566
60775
|
var UpdatePlanVariantDetailsUpsertLicenseAddItemPriceInterval$inboundSchema = inboundSchema(
|
|
59567
60776
|
UpdatePlanVariantDetailsUpsertLicenseAddItemPriceInterval
|
|
59568
60777
|
);
|
|
59569
|
-
var
|
|
59570
|
-
|
|
60778
|
+
var UpdatePlanVariantDetailsUpsertLicenseAddItemBillingMethod$inboundSchema = inboundSchema(
|
|
60779
|
+
UpdatePlanVariantDetailsUpsertLicenseAddItemBillingMethod
|
|
59571
60780
|
);
|
|
59572
60781
|
var UpdatePlanVariantDetailsUpsertLicensePrice$inboundSchema = z134.pipe(
|
|
59573
60782
|
z134.object({
|
|
59574
60783
|
amount: optional3(number2()),
|
|
59575
60784
|
additional_currencies: optional3(z134.array(z134.lazy(
|
|
59576
|
-
() =>
|
|
60785
|
+
() => UpdatePlanVariantDetailsUpsertLicenseAddItemAdditionalCurrency$inboundSchema
|
|
59577
60786
|
))),
|
|
59578
60787
|
tiers: optional3(z134.array(z134.lazy(
|
|
59579
60788
|
() => UpdatePlanVariantDetailsUpsertLicensePriceTier$inboundSchema
|
|
@@ -59584,7 +60793,7 @@ var UpdatePlanVariantDetailsUpsertLicensePrice$inboundSchema = z134.pipe(
|
|
|
59584
60793
|
interval: UpdatePlanVariantDetailsUpsertLicenseAddItemPriceInterval$inboundSchema,
|
|
59585
60794
|
interval_count: z134._default(number2(), 1),
|
|
59586
60795
|
billing_units: z134._default(number2(), 1),
|
|
59587
|
-
billing_method:
|
|
60796
|
+
billing_method: UpdatePlanVariantDetailsUpsertLicenseAddItemBillingMethod$inboundSchema,
|
|
59588
60797
|
max_purchase: z134.optional(z134.nullable(number2()))
|
|
59589
60798
|
}),
|
|
59590
60799
|
z134.transform((v) => {
|
|
@@ -59612,12 +60821,14 @@ var UpdatePlanUpsertLicenseProrationResponse$inboundSchema = z134.pipe(
|
|
|
59612
60821
|
});
|
|
59613
60822
|
})
|
|
59614
60823
|
);
|
|
59615
|
-
var
|
|
60824
|
+
var UpdatePlanVariantDetailsUpsertLicenseExpiryDurationType$inboundSchema = inboundSchema(
|
|
60825
|
+
UpdatePlanVariantDetailsUpsertLicenseExpiryDurationType
|
|
60826
|
+
);
|
|
59616
60827
|
var UpdatePlanVariantDetailsUpsertLicenseRollover$inboundSchema = z134.pipe(
|
|
59617
60828
|
z134.object({
|
|
59618
60829
|
max: optional3(number2()),
|
|
59619
60830
|
max_percentage: optional3(number2()),
|
|
59620
|
-
expiry_duration_type:
|
|
60831
|
+
expiry_duration_type: UpdatePlanVariantDetailsUpsertLicenseExpiryDurationType$inboundSchema,
|
|
59621
60832
|
expiry_duration_length: optional3(number2())
|
|
59622
60833
|
}),
|
|
59623
60834
|
z134.transform((v) => {
|
|
@@ -59657,7 +60868,7 @@ var UpdatePlanDimensionsToVariantDetailsUpsertLicenseEnum1 = {
|
|
|
59657
60868
|
var UpdatePlanToVariantDetailsUpsertLicenseEnum = {
|
|
59658
60869
|
Inf: "inf"
|
|
59659
60870
|
};
|
|
59660
|
-
var
|
|
60871
|
+
var UpdatePlanVariantDetailsUpsertLicenseRemoveItemBillingMethod = {
|
|
59661
60872
|
Prepaid: "prepaid",
|
|
59662
60873
|
UsageBased: "usage_based"
|
|
59663
60874
|
};
|
|
@@ -59680,6 +60891,96 @@ var UpdatePlanIntervalVariantDetailsUpsertLicenseRemoveItemEnum1 = {
|
|
|
59680
60891
|
SemiAnnual: "semi_annual",
|
|
59681
60892
|
Year: "year"
|
|
59682
60893
|
};
|
|
60894
|
+
var UpdatePlanPriceLicenseIntervalResponse = {
|
|
60895
|
+
OneOff: "one_off",
|
|
60896
|
+
Week: "week",
|
|
60897
|
+
Month: "month",
|
|
60898
|
+
Quarter: "quarter",
|
|
60899
|
+
SemiAnnual: "semi_annual",
|
|
60900
|
+
Year: "year"
|
|
60901
|
+
};
|
|
60902
|
+
var UpdatePlanLicenseResetIntervalResponse = {
|
|
60903
|
+
OneOff: "one_off",
|
|
60904
|
+
Minute: "minute",
|
|
60905
|
+
Hour: "hour",
|
|
60906
|
+
Day: "day",
|
|
60907
|
+
Week: "week",
|
|
60908
|
+
Month: "month",
|
|
60909
|
+
Quarter: "quarter",
|
|
60910
|
+
SemiAnnual: "semi_annual",
|
|
60911
|
+
Year: "year"
|
|
60912
|
+
};
|
|
60913
|
+
var UpdatePlanLicenseTierBehaviorResponse = {
|
|
60914
|
+
Graduated: "graduated",
|
|
60915
|
+
Volume: "volume"
|
|
60916
|
+
};
|
|
60917
|
+
var UpdatePlanLicenseAddItemPriceIntervalResponse = {
|
|
60918
|
+
OneOff: "one_off",
|
|
60919
|
+
Week: "week",
|
|
60920
|
+
Month: "month",
|
|
60921
|
+
Quarter: "quarter",
|
|
60922
|
+
SemiAnnual: "semi_annual",
|
|
60923
|
+
Year: "year"
|
|
60924
|
+
};
|
|
60925
|
+
var UpdatePlanLicenseAddItemBillingMethodResponse = {
|
|
60926
|
+
Prepaid: "prepaid",
|
|
60927
|
+
UsageBased: "usage_based"
|
|
60928
|
+
};
|
|
60929
|
+
var UpdatePlanLicenseOnIncreaseResponse = {
|
|
60930
|
+
BillImmediately: "bill_immediately",
|
|
60931
|
+
ProrateImmediately: "prorate_immediately",
|
|
60932
|
+
ProrateNextCycle: "prorate_next_cycle",
|
|
60933
|
+
BillNextCycle: "bill_next_cycle"
|
|
60934
|
+
};
|
|
60935
|
+
var UpdatePlanLicenseOnDecreaseResponse = {
|
|
60936
|
+
Prorate: "prorate",
|
|
60937
|
+
ProrateImmediately: "prorate_immediately",
|
|
60938
|
+
ProrateNextCycle: "prorate_next_cycle",
|
|
60939
|
+
None: "none",
|
|
60940
|
+
NoProrations: "no_prorations"
|
|
60941
|
+
};
|
|
60942
|
+
var UpdatePlanLicenseExpiryDurationTypeResponse = {
|
|
60943
|
+
Month: "month",
|
|
60944
|
+
Forever: "forever"
|
|
60945
|
+
};
|
|
60946
|
+
var UpdatePlanLicenseDurationResponse = {
|
|
60947
|
+
Day: "day",
|
|
60948
|
+
Week: "week",
|
|
60949
|
+
Month: "month",
|
|
60950
|
+
Year: "year"
|
|
60951
|
+
};
|
|
60952
|
+
var UpdatePlanDimensionsToLicenseResponseEnum2 = {
|
|
60953
|
+
Inf: "inf"
|
|
60954
|
+
};
|
|
60955
|
+
var UpdatePlanDimensionsToLicenseResponseEnum1 = {
|
|
60956
|
+
Inf: "inf"
|
|
60957
|
+
};
|
|
60958
|
+
var UpdatePlanToLicenseResponseEnum = {
|
|
60959
|
+
Inf: "inf"
|
|
60960
|
+
};
|
|
60961
|
+
var UpdatePlanLicenseRemoveItemBillingMethodResponse = {
|
|
60962
|
+
Prepaid: "prepaid",
|
|
60963
|
+
UsageBased: "usage_based"
|
|
60964
|
+
};
|
|
60965
|
+
var UpdatePlanIntervalLicenseRemoveItemResponseEnum2 = {
|
|
60966
|
+
OneOff: "one_off",
|
|
60967
|
+
Minute: "minute",
|
|
60968
|
+
Hour: "hour",
|
|
60969
|
+
Day: "day",
|
|
60970
|
+
Week: "week",
|
|
60971
|
+
Month: "month",
|
|
60972
|
+
Quarter: "quarter",
|
|
60973
|
+
SemiAnnual: "semi_annual",
|
|
60974
|
+
Year: "year"
|
|
60975
|
+
};
|
|
60976
|
+
var UpdatePlanIntervalLicenseRemoveItemResponseEnum1 = {
|
|
60977
|
+
OneOff: "one_off",
|
|
60978
|
+
Week: "week",
|
|
60979
|
+
Month: "month",
|
|
60980
|
+
Quarter: "quarter",
|
|
60981
|
+
SemiAnnual: "semi_annual",
|
|
60982
|
+
Year: "year"
|
|
60983
|
+
};
|
|
59683
60984
|
var UpdatePlanDimensionsToVariantDetailsUpsertLicenseEnum2$inboundSchema = z135.enum(UpdatePlanDimensionsToVariantDetailsUpsertLicenseEnum2);
|
|
59684
60985
|
var UpdatePlanDimensionsVariantDetailsUpsertLicenseToUnion2$inboundSchema = smartUnion([
|
|
59685
60986
|
number2(),
|
|
@@ -59892,7 +61193,7 @@ var UpdatePlanVariantDetailsUpsertLicenseModelMarkups$inboundSchema = z135.pipe(
|
|
|
59892
61193
|
});
|
|
59893
61194
|
})
|
|
59894
61195
|
);
|
|
59895
|
-
var
|
|
61196
|
+
var UpdatePlanVariantDetailsUpsertLicenseMarkups$inboundSchema = z135.pipe(
|
|
59896
61197
|
z135.object({
|
|
59897
61198
|
default_markup: optional3(number2()),
|
|
59898
61199
|
provider_markups: z135.optional(z135.nullable(z135.record(
|
|
@@ -59916,7 +61217,7 @@ var UpdatePlanUpsertLicenseMarkupsResponse$inboundSchema = z135.pipe(
|
|
|
59916
61217
|
});
|
|
59917
61218
|
})
|
|
59918
61219
|
);
|
|
59919
|
-
var
|
|
61220
|
+
var UpdatePlanVariantDetailsUpsertLicenseFeatureOverride$inboundSchema = z135.pipe(
|
|
59920
61221
|
z135.object({
|
|
59921
61222
|
credit_schema: optional3(z135.array(smartUnion([
|
|
59922
61223
|
z135.lazy(
|
|
@@ -59927,7 +61228,7 @@ var UpdatePlanUpsertLicenseFeatureOverrideResponse$inboundSchema = z135.pipe(
|
|
|
59927
61228
|
)
|
|
59928
61229
|
]))),
|
|
59929
61230
|
markups: optional3(z135.lazy(
|
|
59930
|
-
() =>
|
|
61231
|
+
() => UpdatePlanVariantDetailsUpsertLicenseMarkups$inboundSchema
|
|
59931
61232
|
))
|
|
59932
61233
|
}),
|
|
59933
61234
|
z135.transform((v) => {
|
|
@@ -59940,7 +61241,7 @@ var UpdatePlanUpsertLicensePlanItemResponse$inboundSchema = z135.pipe(
|
|
|
59940
61241
|
z135.object({
|
|
59941
61242
|
threshold_billing: z135.optional(
|
|
59942
61243
|
z135.nullable(
|
|
59943
|
-
|
|
61244
|
+
UpdatePlanVariantDetailsUpsertLicenseThresholdBilling$inboundSchema
|
|
59944
61245
|
)
|
|
59945
61246
|
),
|
|
59946
61247
|
feature_id: string5(),
|
|
@@ -59962,11 +61263,9 @@ var UpdatePlanUpsertLicensePlanItemResponse$inboundSchema = z135.pipe(
|
|
|
59962
61263
|
expiry: optional3(
|
|
59963
61264
|
UpdatePlanVariantDetailsUpsertLicenseExpiry$inboundSchema
|
|
59964
61265
|
),
|
|
59965
|
-
feature_override: optional3(
|
|
59966
|
-
|
|
59967
|
-
|
|
59968
|
-
)
|
|
59969
|
-
)
|
|
61266
|
+
feature_override: optional3(z135.lazy(
|
|
61267
|
+
() => UpdatePlanVariantDetailsUpsertLicenseFeatureOverride$inboundSchema
|
|
61268
|
+
))
|
|
59970
61269
|
}),
|
|
59971
61270
|
z135.transform((v) => {
|
|
59972
61271
|
return remap(v, {
|
|
@@ -59976,8 +61275,8 @@ var UpdatePlanUpsertLicensePlanItemResponse$inboundSchema = z135.pipe(
|
|
|
59976
61275
|
});
|
|
59977
61276
|
})
|
|
59978
61277
|
);
|
|
59979
|
-
var
|
|
59980
|
-
|
|
61278
|
+
var UpdatePlanVariantDetailsUpsertLicenseRemoveItemBillingMethod$inboundSchema = inboundSchema(
|
|
61279
|
+
UpdatePlanVariantDetailsUpsertLicenseRemoveItemBillingMethod
|
|
59981
61280
|
);
|
|
59982
61281
|
var UpdatePlanIntervalVariantDetailsUpsertLicenseRemoveItemEnum2$inboundSchema = inboundSchema(
|
|
59983
61282
|
UpdatePlanIntervalVariantDetailsUpsertLicenseRemoveItemEnum2
|
|
@@ -59993,7 +61292,7 @@ var UpdatePlanUpsertLicensePlanItemFilterResponse$inboundSchema = z135.pipe(
|
|
|
59993
61292
|
z135.object({
|
|
59994
61293
|
feature_id: optional3(string5()),
|
|
59995
61294
|
billing_method: optional3(
|
|
59996
|
-
|
|
61295
|
+
UpdatePlanVariantDetailsUpsertLicenseRemoveItemBillingMethod$inboundSchema
|
|
59997
61296
|
),
|
|
59998
61297
|
interval: optional3(
|
|
59999
61298
|
smartUnion([
|
|
@@ -60060,14 +61359,16 @@ var UpdatePlanRemoveLicenseResponse$inboundSchema = z135.pipe(
|
|
|
60060
61359
|
});
|
|
60061
61360
|
})
|
|
60062
61361
|
);
|
|
60063
|
-
var
|
|
61362
|
+
var UpdatePlanVariantDetailsCustomize$inboundSchema = z135.pipe(
|
|
60064
61363
|
z135.object({
|
|
60065
|
-
price: z135.optional(
|
|
61364
|
+
price: z135.optional(
|
|
61365
|
+
z135.nullable(UpdatePlanVariantDetailsBasePrice$inboundSchema)
|
|
61366
|
+
),
|
|
60066
61367
|
add_items: optional3(
|
|
60067
|
-
z135.array(
|
|
61368
|
+
z135.array(UpdatePlanVariantDetailsPlanItem$inboundSchema)
|
|
60068
61369
|
),
|
|
60069
61370
|
remove_items: optional3(
|
|
60070
|
-
z135.array(
|
|
61371
|
+
z135.array(UpdatePlanVariantDetailsPlanItemFilter$inboundSchema)
|
|
60071
61372
|
),
|
|
60072
61373
|
free_trial: z135.optional(
|
|
60073
61374
|
z135.nullable(UpdatePlanFreeTrialParamsResponse$inboundSchema)
|
|
@@ -60097,7 +61398,7 @@ var UpdatePlanVariantDetails$inboundSchema = z135.pipe(
|
|
|
60097
61398
|
z135.object({
|
|
60098
61399
|
base_plan_id: string5(),
|
|
60099
61400
|
customize: optional3(
|
|
60100
|
-
z135.lazy(() =>
|
|
61401
|
+
z135.lazy(() => UpdatePlanVariantDetailsCustomize$inboundSchema)
|
|
60101
61402
|
)
|
|
60102
61403
|
}),
|
|
60103
61404
|
z135.transform((v) => {
|
|
@@ -60106,6 +61407,493 @@ var UpdatePlanVariantDetails$inboundSchema = z135.pipe(
|
|
|
60106
61407
|
});
|
|
60107
61408
|
})
|
|
60108
61409
|
);
|
|
61410
|
+
var UpdatePlanPriceLicenseIntervalResponse$inboundSchema = inboundSchema(UpdatePlanPriceLicenseIntervalResponse);
|
|
61411
|
+
var UpdatePlanLicenseAdditionalCurrencyResponse$inboundSchema = z135.object({
|
|
61412
|
+
currency: string5(),
|
|
61413
|
+
amount: number2()
|
|
61414
|
+
});
|
|
61415
|
+
var UpdatePlanLicenseBasePriceResponse$inboundSchema = z135.pipe(
|
|
61416
|
+
z135.object({
|
|
61417
|
+
amount: number2(),
|
|
61418
|
+
interval: UpdatePlanPriceLicenseIntervalResponse$inboundSchema,
|
|
61419
|
+
interval_count: z135._default(number2(), 1),
|
|
61420
|
+
additional_currencies: optional3(z135.array(z135.lazy(
|
|
61421
|
+
() => UpdatePlanLicenseAdditionalCurrencyResponse$inboundSchema
|
|
61422
|
+
)))
|
|
61423
|
+
}),
|
|
61424
|
+
z135.transform((v) => {
|
|
61425
|
+
return remap(v, {
|
|
61426
|
+
"interval_count": "intervalCount",
|
|
61427
|
+
"additional_currencies": "additionalCurrencies"
|
|
61428
|
+
});
|
|
61429
|
+
})
|
|
61430
|
+
);
|
|
61431
|
+
var UpdatePlanLicenseThresholdBillingResponse$inboundSchema = z135.object({
|
|
61432
|
+
threshold: number2()
|
|
61433
|
+
});
|
|
61434
|
+
var UpdatePlanLicenseResetIntervalResponse$inboundSchema = inboundSchema(UpdatePlanLicenseResetIntervalResponse);
|
|
61435
|
+
var UpdatePlanLicenseResetResponse$inboundSchema = z135.pipe(
|
|
61436
|
+
z135.object({
|
|
61437
|
+
interval: UpdatePlanLicenseResetIntervalResponse$inboundSchema,
|
|
61438
|
+
interval_count: z135._default(number2(), 1)
|
|
61439
|
+
}),
|
|
61440
|
+
z135.transform((v) => {
|
|
61441
|
+
return remap(v, {
|
|
61442
|
+
"interval_count": "intervalCount"
|
|
61443
|
+
});
|
|
61444
|
+
})
|
|
61445
|
+
);
|
|
61446
|
+
var UpdatePlanLicenseAddItemAdditionalCurrencyResponse$inboundSchema = z135.object({
|
|
61447
|
+
currency: string5(),
|
|
61448
|
+
amount: number2()
|
|
61449
|
+
});
|
|
61450
|
+
var UpdatePlanLicensePriceToResponse$inboundSchema = smartUnion([number2(), string5()]);
|
|
61451
|
+
var UpdatePlanLicenseTierAdditionalCurrencyResponse$inboundSchema = z135.pipe(
|
|
61452
|
+
z135.object({
|
|
61453
|
+
currency: string5(),
|
|
61454
|
+
amount: optional3(number2()),
|
|
61455
|
+
flat_amount: optional3(number2())
|
|
61456
|
+
}),
|
|
61457
|
+
z135.transform((v) => {
|
|
61458
|
+
return remap(v, {
|
|
61459
|
+
"flat_amount": "flatAmount"
|
|
61460
|
+
});
|
|
61461
|
+
})
|
|
61462
|
+
);
|
|
61463
|
+
var UpdatePlanLicensePriceTierResponse$inboundSchema = z135.pipe(
|
|
61464
|
+
z135.object({
|
|
61465
|
+
to: smartUnion([number2(), string5()]),
|
|
61466
|
+
amount: number2(),
|
|
61467
|
+
flat_amount: optional3(number2()),
|
|
61468
|
+
additional_currencies: optional3(z135.array(z135.lazy(
|
|
61469
|
+
() => UpdatePlanLicenseTierAdditionalCurrencyResponse$inboundSchema
|
|
61470
|
+
)))
|
|
61471
|
+
}),
|
|
61472
|
+
z135.transform((v) => {
|
|
61473
|
+
return remap(v, {
|
|
61474
|
+
"flat_amount": "flatAmount",
|
|
61475
|
+
"additional_currencies": "additionalCurrencies"
|
|
61476
|
+
});
|
|
61477
|
+
})
|
|
61478
|
+
);
|
|
61479
|
+
var UpdatePlanLicenseTierBehaviorResponse$inboundSchema = inboundSchema(UpdatePlanLicenseTierBehaviorResponse);
|
|
61480
|
+
var UpdatePlanLicenseAddItemPriceIntervalResponse$inboundSchema = inboundSchema(UpdatePlanLicenseAddItemPriceIntervalResponse);
|
|
61481
|
+
var UpdatePlanLicenseAddItemBillingMethodResponse$inboundSchema = inboundSchema(UpdatePlanLicenseAddItemBillingMethodResponse);
|
|
61482
|
+
var UpdatePlanLicensePriceResponse$inboundSchema = z135.pipe(
|
|
61483
|
+
z135.object({
|
|
61484
|
+
amount: optional3(number2()),
|
|
61485
|
+
additional_currencies: optional3(z135.array(z135.lazy(
|
|
61486
|
+
() => UpdatePlanLicenseAddItemAdditionalCurrencyResponse$inboundSchema
|
|
61487
|
+
))),
|
|
61488
|
+
tiers: optional3(z135.array(z135.lazy(
|
|
61489
|
+
() => UpdatePlanLicensePriceTierResponse$inboundSchema
|
|
61490
|
+
))),
|
|
61491
|
+
tier_behavior: optional3(
|
|
61492
|
+
UpdatePlanLicenseTierBehaviorResponse$inboundSchema
|
|
61493
|
+
),
|
|
61494
|
+
interval: UpdatePlanLicenseAddItemPriceIntervalResponse$inboundSchema,
|
|
61495
|
+
interval_count: z135._default(number2(), 1),
|
|
61496
|
+
billing_units: z135._default(number2(), 1),
|
|
61497
|
+
billing_method: UpdatePlanLicenseAddItemBillingMethodResponse$inboundSchema,
|
|
61498
|
+
max_purchase: z135.optional(z135.nullable(number2()))
|
|
61499
|
+
}),
|
|
61500
|
+
z135.transform((v) => {
|
|
61501
|
+
return remap(v, {
|
|
61502
|
+
"additional_currencies": "additionalCurrencies",
|
|
61503
|
+
"tier_behavior": "tierBehavior",
|
|
61504
|
+
"interval_count": "intervalCount",
|
|
61505
|
+
"billing_units": "billingUnits",
|
|
61506
|
+
"billing_method": "billingMethod",
|
|
61507
|
+
"max_purchase": "maxPurchase"
|
|
61508
|
+
});
|
|
61509
|
+
})
|
|
61510
|
+
);
|
|
61511
|
+
var UpdatePlanLicenseOnIncreaseResponse$inboundSchema = inboundSchema(UpdatePlanLicenseOnIncreaseResponse);
|
|
61512
|
+
var UpdatePlanLicenseOnDecreaseResponse$inboundSchema = inboundSchema(UpdatePlanLicenseOnDecreaseResponse);
|
|
61513
|
+
var UpdatePlanLicenseProrationResponse$inboundSchema = z135.pipe(
|
|
61514
|
+
z135.object({
|
|
61515
|
+
on_increase: UpdatePlanLicenseOnIncreaseResponse$inboundSchema,
|
|
61516
|
+
on_decrease: UpdatePlanLicenseOnDecreaseResponse$inboundSchema
|
|
61517
|
+
}),
|
|
61518
|
+
z135.transform((v) => {
|
|
61519
|
+
return remap(v, {
|
|
61520
|
+
"on_increase": "onIncrease",
|
|
61521
|
+
"on_decrease": "onDecrease"
|
|
61522
|
+
});
|
|
61523
|
+
})
|
|
61524
|
+
);
|
|
61525
|
+
var UpdatePlanLicenseExpiryDurationTypeResponse$inboundSchema = inboundSchema(UpdatePlanLicenseExpiryDurationTypeResponse);
|
|
61526
|
+
var UpdatePlanLicenseRolloverResponse$inboundSchema = z135.pipe(
|
|
61527
|
+
z135.object({
|
|
61528
|
+
max: optional3(number2()),
|
|
61529
|
+
max_percentage: optional3(number2()),
|
|
61530
|
+
expiry_duration_type: UpdatePlanLicenseExpiryDurationTypeResponse$inboundSchema,
|
|
61531
|
+
expiry_duration_length: optional3(number2())
|
|
61532
|
+
}),
|
|
61533
|
+
z135.transform((v) => {
|
|
61534
|
+
return remap(v, {
|
|
61535
|
+
"max_percentage": "maxPercentage",
|
|
61536
|
+
"expiry_duration_type": "expiryDurationType",
|
|
61537
|
+
"expiry_duration_length": "expiryDurationLength"
|
|
61538
|
+
});
|
|
61539
|
+
})
|
|
61540
|
+
);
|
|
61541
|
+
var UpdatePlanLicenseDurationResponse$inboundSchema = inboundSchema(UpdatePlanLicenseDurationResponse);
|
|
61542
|
+
var UpdatePlanLicenseExpiryResponse$inboundSchema = z135.object({
|
|
61543
|
+
duration: UpdatePlanLicenseDurationResponse$inboundSchema,
|
|
61544
|
+
length: number2()
|
|
61545
|
+
});
|
|
61546
|
+
var UpdatePlanDimensionsLicenseResponse4$inboundSchema = z135.pipe(
|
|
61547
|
+
z135.object({
|
|
61548
|
+
match: z135.record(z135.string(), string5()),
|
|
61549
|
+
priority: optional3(number2()),
|
|
61550
|
+
credit_cost: number2()
|
|
61551
|
+
}),
|
|
61552
|
+
z135.transform((v) => {
|
|
61553
|
+
return remap(v, {
|
|
61554
|
+
"credit_cost": "creditCost"
|
|
61555
|
+
});
|
|
61556
|
+
})
|
|
61557
|
+
);
|
|
61558
|
+
var UpdatePlanDimensionsToLicenseResponseEnum2$inboundSchema = z135.enum(
|
|
61559
|
+
UpdatePlanDimensionsToLicenseResponseEnum2
|
|
61560
|
+
);
|
|
61561
|
+
var UpdatePlanDimensionsLicenseToResponseUnion2$inboundSchema = smartUnion([
|
|
61562
|
+
number2(),
|
|
61563
|
+
UpdatePlanDimensionsToLicenseResponseEnum2$inboundSchema
|
|
61564
|
+
]);
|
|
61565
|
+
var UpdatePlanDimensionsLicenseTierResponse2$inboundSchema = z135.pipe(
|
|
61566
|
+
z135.object({
|
|
61567
|
+
to: smartUnion([
|
|
61568
|
+
number2(),
|
|
61569
|
+
UpdatePlanDimensionsToLicenseResponseEnum2$inboundSchema
|
|
61570
|
+
]),
|
|
61571
|
+
credit_cost: number2()
|
|
61572
|
+
}),
|
|
61573
|
+
z135.transform((v) => {
|
|
61574
|
+
return remap(v, {
|
|
61575
|
+
"credit_cost": "creditCost"
|
|
61576
|
+
});
|
|
61577
|
+
})
|
|
61578
|
+
);
|
|
61579
|
+
var UpdatePlanDimensionsLicenseResponse3$inboundSchema = z135.pipe(
|
|
61580
|
+
z135.object({
|
|
61581
|
+
match: z135.record(z135.string(), string5()),
|
|
61582
|
+
priority: optional3(number2()),
|
|
61583
|
+
tier_behavior: literal3("graduated"),
|
|
61584
|
+
tiers: z135.array(
|
|
61585
|
+
z135.lazy(() => UpdatePlanDimensionsLicenseTierResponse2$inboundSchema)
|
|
61586
|
+
)
|
|
61587
|
+
}),
|
|
61588
|
+
z135.transform((v) => {
|
|
61589
|
+
return remap(v, {
|
|
61590
|
+
"tier_behavior": "tierBehavior"
|
|
61591
|
+
});
|
|
61592
|
+
})
|
|
61593
|
+
);
|
|
61594
|
+
var UpdatePlanLicenseDimensionsResponseUnion2$inboundSchema = smartUnion([
|
|
61595
|
+
z135.lazy(() => UpdatePlanDimensionsLicenseResponse3$inboundSchema),
|
|
61596
|
+
z135.lazy(() => UpdatePlanDimensionsLicenseResponse4$inboundSchema)
|
|
61597
|
+
]);
|
|
61598
|
+
var UpdatePlanLicenseMultipliersResponse2$inboundSchema = z135.object({
|
|
61599
|
+
match: z135.record(z135.string(), string5()),
|
|
61600
|
+
factor: optional3(number2()),
|
|
61601
|
+
add: optional3(number2())
|
|
61602
|
+
});
|
|
61603
|
+
var UpdatePlanCreditSchemaLicenseResponse2$inboundSchema = z135.pipe(
|
|
61604
|
+
z135.object({
|
|
61605
|
+
metered_feature_id: string5(),
|
|
61606
|
+
billing_units: optional3(number2()),
|
|
61607
|
+
dimensions: optional3(z135.record(
|
|
61608
|
+
z135.string(),
|
|
61609
|
+
smartUnion([
|
|
61610
|
+
z135.lazy(() => UpdatePlanDimensionsLicenseResponse3$inboundSchema),
|
|
61611
|
+
z135.lazy(() => UpdatePlanDimensionsLicenseResponse4$inboundSchema)
|
|
61612
|
+
])
|
|
61613
|
+
)),
|
|
61614
|
+
multipliers: optional3(z135.record(
|
|
61615
|
+
z135.string(),
|
|
61616
|
+
z135.lazy(() => UpdatePlanLicenseMultipliersResponse2$inboundSchema)
|
|
61617
|
+
)),
|
|
61618
|
+
credit_cost: number2()
|
|
61619
|
+
}),
|
|
61620
|
+
z135.transform((v) => {
|
|
61621
|
+
return remap(v, {
|
|
61622
|
+
"metered_feature_id": "meteredFeatureId",
|
|
61623
|
+
"billing_units": "billingUnits",
|
|
61624
|
+
"credit_cost": "creditCost"
|
|
61625
|
+
});
|
|
61626
|
+
})
|
|
61627
|
+
);
|
|
61628
|
+
var UpdatePlanDimensionsLicenseResponse2$inboundSchema = z135.pipe(
|
|
61629
|
+
z135.object({
|
|
61630
|
+
match: z135.record(z135.string(), string5()),
|
|
61631
|
+
priority: optional3(number2()),
|
|
61632
|
+
credit_cost: number2()
|
|
61633
|
+
}),
|
|
61634
|
+
z135.transform((v) => {
|
|
61635
|
+
return remap(v, {
|
|
61636
|
+
"credit_cost": "creditCost"
|
|
61637
|
+
});
|
|
61638
|
+
})
|
|
61639
|
+
);
|
|
61640
|
+
var UpdatePlanDimensionsToLicenseResponseEnum1$inboundSchema = z135.enum(
|
|
61641
|
+
UpdatePlanDimensionsToLicenseResponseEnum1
|
|
61642
|
+
);
|
|
61643
|
+
var UpdatePlanDimensionsLicenseToResponseUnion1$inboundSchema = smartUnion([
|
|
61644
|
+
number2(),
|
|
61645
|
+
UpdatePlanDimensionsToLicenseResponseEnum1$inboundSchema
|
|
61646
|
+
]);
|
|
61647
|
+
var UpdatePlanDimensionsLicenseTierResponse1$inboundSchema = z135.pipe(
|
|
61648
|
+
z135.object({
|
|
61649
|
+
to: smartUnion([
|
|
61650
|
+
number2(),
|
|
61651
|
+
UpdatePlanDimensionsToLicenseResponseEnum1$inboundSchema
|
|
61652
|
+
]),
|
|
61653
|
+
credit_cost: number2()
|
|
61654
|
+
}),
|
|
61655
|
+
z135.transform((v) => {
|
|
61656
|
+
return remap(v, {
|
|
61657
|
+
"credit_cost": "creditCost"
|
|
61658
|
+
});
|
|
61659
|
+
})
|
|
61660
|
+
);
|
|
61661
|
+
var UpdatePlanDimensionsLicenseResponse1$inboundSchema = z135.pipe(
|
|
61662
|
+
z135.object({
|
|
61663
|
+
match: z135.record(z135.string(), string5()),
|
|
61664
|
+
priority: optional3(number2()),
|
|
61665
|
+
tier_behavior: literal3("graduated"),
|
|
61666
|
+
tiers: z135.array(
|
|
61667
|
+
z135.lazy(() => UpdatePlanDimensionsLicenseTierResponse1$inboundSchema)
|
|
61668
|
+
)
|
|
61669
|
+
}),
|
|
61670
|
+
z135.transform((v) => {
|
|
61671
|
+
return remap(v, {
|
|
61672
|
+
"tier_behavior": "tierBehavior"
|
|
61673
|
+
});
|
|
61674
|
+
})
|
|
61675
|
+
);
|
|
61676
|
+
var UpdatePlanLicenseDimensionsResponseUnion1$inboundSchema = smartUnion([
|
|
61677
|
+
z135.lazy(() => UpdatePlanDimensionsLicenseResponse1$inboundSchema),
|
|
61678
|
+
z135.lazy(() => UpdatePlanDimensionsLicenseResponse2$inboundSchema)
|
|
61679
|
+
]);
|
|
61680
|
+
var UpdatePlanLicenseMultipliersResponse1$inboundSchema = z135.object({
|
|
61681
|
+
match: z135.record(z135.string(), string5()),
|
|
61682
|
+
factor: optional3(number2()),
|
|
61683
|
+
add: optional3(number2())
|
|
61684
|
+
});
|
|
61685
|
+
var UpdatePlanToLicenseResponseEnum$inboundSchema = z135.enum(UpdatePlanToLicenseResponseEnum);
|
|
61686
|
+
var UpdatePlanLicenseFeatureOverrideToResponseUnion$inboundSchema = smartUnion([number2(), UpdatePlanToLicenseResponseEnum$inboundSchema]);
|
|
61687
|
+
var UpdatePlanLicenseFeatureOverrideTierResponse$inboundSchema = z135.pipe(
|
|
61688
|
+
z135.object({
|
|
61689
|
+
to: smartUnion([
|
|
61690
|
+
number2(),
|
|
61691
|
+
UpdatePlanToLicenseResponseEnum$inboundSchema
|
|
61692
|
+
]),
|
|
61693
|
+
credit_cost: number2()
|
|
61694
|
+
}),
|
|
61695
|
+
z135.transform((v) => {
|
|
61696
|
+
return remap(v, {
|
|
61697
|
+
"credit_cost": "creditCost"
|
|
61698
|
+
});
|
|
61699
|
+
})
|
|
61700
|
+
);
|
|
61701
|
+
var UpdatePlanCreditSchemaLicenseResponse1$inboundSchema = z135.pipe(
|
|
61702
|
+
z135.object({
|
|
61703
|
+
metered_feature_id: string5(),
|
|
61704
|
+
billing_units: optional3(number2()),
|
|
61705
|
+
dimensions: optional3(z135.record(
|
|
61706
|
+
z135.string(),
|
|
61707
|
+
smartUnion([
|
|
61708
|
+
z135.lazy(() => UpdatePlanDimensionsLicenseResponse1$inboundSchema),
|
|
61709
|
+
z135.lazy(() => UpdatePlanDimensionsLicenseResponse2$inboundSchema)
|
|
61710
|
+
])
|
|
61711
|
+
)),
|
|
61712
|
+
multipliers: optional3(z135.record(
|
|
61713
|
+
z135.string(),
|
|
61714
|
+
z135.lazy(() => UpdatePlanLicenseMultipliersResponse1$inboundSchema)
|
|
61715
|
+
)),
|
|
61716
|
+
tier_behavior: literal3("graduated"),
|
|
61717
|
+
tiers: z135.array(z135.lazy(
|
|
61718
|
+
() => UpdatePlanLicenseFeatureOverrideTierResponse$inboundSchema
|
|
61719
|
+
))
|
|
61720
|
+
}),
|
|
61721
|
+
z135.transform((v) => {
|
|
61722
|
+
return remap(v, {
|
|
61723
|
+
"metered_feature_id": "meteredFeatureId",
|
|
61724
|
+
"billing_units": "billingUnits",
|
|
61725
|
+
"tier_behavior": "tierBehavior"
|
|
61726
|
+
});
|
|
61727
|
+
})
|
|
61728
|
+
);
|
|
61729
|
+
var UpdatePlanLicenseCreditSchemaResponseUnion$inboundSchema = smartUnion([
|
|
61730
|
+
z135.lazy(() => UpdatePlanCreditSchemaLicenseResponse1$inboundSchema),
|
|
61731
|
+
z135.lazy(() => UpdatePlanCreditSchemaLicenseResponse2$inboundSchema)
|
|
61732
|
+
]);
|
|
61733
|
+
var UpdatePlanLicenseProviderMarkupsResponse$inboundSchema = z135.object({
|
|
61734
|
+
markup: number2()
|
|
61735
|
+
});
|
|
61736
|
+
var UpdatePlanLicenseModelMarkupsResponse$inboundSchema = z135.pipe(
|
|
61737
|
+
z135.object({
|
|
61738
|
+
markup: optional3(number2()),
|
|
61739
|
+
input_cost: optional3(number2()),
|
|
61740
|
+
output_cost: optional3(number2())
|
|
61741
|
+
}),
|
|
61742
|
+
z135.transform((v) => {
|
|
61743
|
+
return remap(v, {
|
|
61744
|
+
"input_cost": "inputCost",
|
|
61745
|
+
"output_cost": "outputCost"
|
|
61746
|
+
});
|
|
61747
|
+
})
|
|
61748
|
+
);
|
|
61749
|
+
var UpdatePlanLicenseMarkupsResponse$inboundSchema = z135.pipe(
|
|
61750
|
+
z135.object({
|
|
61751
|
+
default_markup: optional3(number2()),
|
|
61752
|
+
provider_markups: z135.optional(z135.nullable(z135.record(
|
|
61753
|
+
z135.string(),
|
|
61754
|
+
z135.lazy(() => UpdatePlanLicenseProviderMarkupsResponse$inboundSchema)
|
|
61755
|
+
))),
|
|
61756
|
+
model_markups: z135.optional(z135.nullable(z135.record(
|
|
61757
|
+
z135.string(),
|
|
61758
|
+
z135.lazy(() => UpdatePlanLicenseModelMarkupsResponse$inboundSchema)
|
|
61759
|
+
)))
|
|
61760
|
+
}),
|
|
61761
|
+
z135.transform((v) => {
|
|
61762
|
+
return remap(v, {
|
|
61763
|
+
"default_markup": "defaultMarkup",
|
|
61764
|
+
"provider_markups": "providerMarkups",
|
|
61765
|
+
"model_markups": "modelMarkups"
|
|
61766
|
+
});
|
|
61767
|
+
})
|
|
61768
|
+
);
|
|
61769
|
+
var UpdatePlanLicenseFeatureOverrideResponse$inboundSchema = z135.pipe(
|
|
61770
|
+
z135.object({
|
|
61771
|
+
credit_schema: optional3(z135.array(smartUnion([
|
|
61772
|
+
z135.lazy(() => UpdatePlanCreditSchemaLicenseResponse1$inboundSchema),
|
|
61773
|
+
z135.lazy(
|
|
61774
|
+
() => UpdatePlanCreditSchemaLicenseResponse2$inboundSchema
|
|
61775
|
+
)
|
|
61776
|
+
]))),
|
|
61777
|
+
markups: optional3(z135.lazy(
|
|
61778
|
+
() => UpdatePlanLicenseMarkupsResponse$inboundSchema
|
|
61779
|
+
))
|
|
61780
|
+
}),
|
|
61781
|
+
z135.transform((v) => {
|
|
61782
|
+
return remap(v, {
|
|
61783
|
+
"credit_schema": "creditSchema"
|
|
61784
|
+
});
|
|
61785
|
+
})
|
|
61786
|
+
);
|
|
61787
|
+
var UpdatePlanLicensePlanItemResponse$inboundSchema = z135.pipe(
|
|
61788
|
+
z135.object({
|
|
61789
|
+
threshold_billing: z135.optional(z135.nullable(z135.lazy(
|
|
61790
|
+
() => UpdatePlanLicenseThresholdBillingResponse$inboundSchema
|
|
61791
|
+
))),
|
|
61792
|
+
feature_id: string5(),
|
|
61793
|
+
included: optional3(number2()),
|
|
61794
|
+
unlimited: optional3(boolean2()),
|
|
61795
|
+
pooled: z135._default(boolean2(), false),
|
|
61796
|
+
reset: optional3(z135.lazy(
|
|
61797
|
+
() => UpdatePlanLicenseResetResponse$inboundSchema
|
|
61798
|
+
)),
|
|
61799
|
+
price: optional3(z135.lazy(
|
|
61800
|
+
() => UpdatePlanLicensePriceResponse$inboundSchema
|
|
61801
|
+
)),
|
|
61802
|
+
proration: optional3(z135.lazy(
|
|
61803
|
+
() => UpdatePlanLicenseProrationResponse$inboundSchema
|
|
61804
|
+
)),
|
|
61805
|
+
rollover: optional3(z135.lazy(
|
|
61806
|
+
() => UpdatePlanLicenseRolloverResponse$inboundSchema
|
|
61807
|
+
)),
|
|
61808
|
+
expiry: optional3(z135.lazy(
|
|
61809
|
+
() => UpdatePlanLicenseExpiryResponse$inboundSchema
|
|
61810
|
+
)),
|
|
61811
|
+
feature_override: optional3(z135.lazy(
|
|
61812
|
+
() => UpdatePlanLicenseFeatureOverrideResponse$inboundSchema
|
|
61813
|
+
))
|
|
61814
|
+
}),
|
|
61815
|
+
z135.transform((v) => {
|
|
61816
|
+
return remap(v, {
|
|
61817
|
+
"threshold_billing": "thresholdBilling",
|
|
61818
|
+
"feature_id": "featureId",
|
|
61819
|
+
"feature_override": "featureOverride"
|
|
61820
|
+
});
|
|
61821
|
+
})
|
|
61822
|
+
);
|
|
61823
|
+
var UpdatePlanLicenseRemoveItemBillingMethodResponse$inboundSchema = inboundSchema(UpdatePlanLicenseRemoveItemBillingMethodResponse);
|
|
61824
|
+
var UpdatePlanIntervalLicenseRemoveItemResponseEnum2$inboundSchema = inboundSchema(UpdatePlanIntervalLicenseRemoveItemResponseEnum2);
|
|
61825
|
+
var UpdatePlanIntervalLicenseRemoveItemResponseEnum1$inboundSchema = inboundSchema(UpdatePlanIntervalLicenseRemoveItemResponseEnum1);
|
|
61826
|
+
var UpdatePlanLicenseIntervalResponseUnion$inboundSchema = smartUnion([
|
|
61827
|
+
UpdatePlanIntervalLicenseRemoveItemResponseEnum1$inboundSchema,
|
|
61828
|
+
UpdatePlanIntervalLicenseRemoveItemResponseEnum2$inboundSchema
|
|
61829
|
+
]);
|
|
61830
|
+
var UpdatePlanLicensePlanItemFilterResponse$inboundSchema = z135.pipe(
|
|
61831
|
+
z135.object({
|
|
61832
|
+
feature_id: optional3(string5()),
|
|
61833
|
+
billing_method: optional3(
|
|
61834
|
+
UpdatePlanLicenseRemoveItemBillingMethodResponse$inboundSchema
|
|
61835
|
+
),
|
|
61836
|
+
interval: optional3(
|
|
61837
|
+
smartUnion([
|
|
61838
|
+
UpdatePlanIntervalLicenseRemoveItemResponseEnum1$inboundSchema,
|
|
61839
|
+
UpdatePlanIntervalLicenseRemoveItemResponseEnum2$inboundSchema
|
|
61840
|
+
])
|
|
61841
|
+
),
|
|
61842
|
+
interval_count: optional3(number2()),
|
|
61843
|
+
included: optional3(number2())
|
|
61844
|
+
}),
|
|
61845
|
+
z135.transform((v) => {
|
|
61846
|
+
return remap(v, {
|
|
61847
|
+
"feature_id": "featureId",
|
|
61848
|
+
"billing_method": "billingMethod",
|
|
61849
|
+
"interval_count": "intervalCount"
|
|
61850
|
+
});
|
|
61851
|
+
})
|
|
61852
|
+
);
|
|
61853
|
+
var UpdatePlanLicenseCustomizeResponse$inboundSchema = z135.pipe(
|
|
61854
|
+
z135.object({
|
|
61855
|
+
price: z135.optional(
|
|
61856
|
+
z135.nullable(
|
|
61857
|
+
z135.lazy(() => UpdatePlanLicenseBasePriceResponse$inboundSchema)
|
|
61858
|
+
)
|
|
61859
|
+
),
|
|
61860
|
+
add_items: optional3(
|
|
61861
|
+
z135.array(z135.lazy(() => UpdatePlanLicensePlanItemResponse$inboundSchema))
|
|
61862
|
+
),
|
|
61863
|
+
remove_items: optional3(
|
|
61864
|
+
z135.array(
|
|
61865
|
+
z135.lazy(() => UpdatePlanLicensePlanItemFilterResponse$inboundSchema)
|
|
61866
|
+
)
|
|
61867
|
+
)
|
|
61868
|
+
}),
|
|
61869
|
+
z135.transform((v) => {
|
|
61870
|
+
return remap(v, {
|
|
61871
|
+
"add_items": "addItems",
|
|
61872
|
+
"remove_items": "removeItems"
|
|
61873
|
+
});
|
|
61874
|
+
})
|
|
61875
|
+
);
|
|
61876
|
+
var UpdatePlanLicenseResponse$inboundSchema = z135.pipe(
|
|
61877
|
+
z135.object({
|
|
61878
|
+
license_plan_id: string5(),
|
|
61879
|
+
version: number2(),
|
|
61880
|
+
version_slug: optional3(string5()),
|
|
61881
|
+
included: number2(),
|
|
61882
|
+
prepaid_only: boolean2(),
|
|
61883
|
+
customize: optional3(
|
|
61884
|
+
z135.lazy(() => UpdatePlanLicenseCustomizeResponse$inboundSchema)
|
|
61885
|
+
),
|
|
61886
|
+
metadata: optional3(z135.record(z135.string(), z135.any())),
|
|
61887
|
+
plan: optional3(Plan$inboundSchema)
|
|
61888
|
+
}),
|
|
61889
|
+
z135.transform((v) => {
|
|
61890
|
+
return remap(v, {
|
|
61891
|
+
"license_plan_id": "licensePlanId",
|
|
61892
|
+
"version_slug": "versionSlug",
|
|
61893
|
+
"prepaid_only": "prepaidOnly"
|
|
61894
|
+
});
|
|
61895
|
+
})
|
|
61896
|
+
);
|
|
60109
61897
|
var UpdatePlanResponse$inboundSchema = z135.pipe(
|
|
60110
61898
|
z135.object({
|
|
60111
61899
|
id: string5(),
|
|
@@ -60135,6 +61923,9 @@ var UpdatePlanResponse$inboundSchema = z135.pipe(
|
|
|
60135
61923
|
base_variant_id: nullable(string5()),
|
|
60136
61924
|
variant_details: optional3(
|
|
60137
61925
|
z135.lazy(() => UpdatePlanVariantDetails$inboundSchema)
|
|
61926
|
+
),
|
|
61927
|
+
licenses: optional3(
|
|
61928
|
+
z135.array(z135.lazy(() => UpdatePlanLicenseResponse$inboundSchema))
|
|
60138
61929
|
)
|
|
60139
61930
|
}),
|
|
60140
61931
|
z135.transform((v) => {
|
|
@@ -61289,7 +63080,10 @@ var APIPromise = class {
|
|
|
61289
63080
|
[Symbol.toStringTag] = "APIPromise";
|
|
61290
63081
|
constructor(p) {
|
|
61291
63082
|
this.#promise = p instanceof Promise ? p : Promise.resolve(p);
|
|
61292
|
-
this.#unwrapped = p instanceof Promise ?
|
|
63083
|
+
this.#unwrapped = p instanceof Promise ? null : Promise.resolve(p[0]);
|
|
63084
|
+
}
|
|
63085
|
+
#getUnwrapped() {
|
|
63086
|
+
return this.#unwrapped ??= this.#promise.then(([value]) => value);
|
|
61293
63087
|
}
|
|
61294
63088
|
then(onfulfilled, onrejected) {
|
|
61295
63089
|
return this.#promise.then(
|
|
@@ -61298,10 +63092,10 @@ var APIPromise = class {
|
|
|
61298
63092
|
);
|
|
61299
63093
|
}
|
|
61300
63094
|
catch(onrejected) {
|
|
61301
|
-
return this.#
|
|
63095
|
+
return this.#getUnwrapped().catch(onrejected);
|
|
61302
63096
|
}
|
|
61303
63097
|
finally(onfinally) {
|
|
61304
|
-
return this.#
|
|
63098
|
+
return this.#getUnwrapped().finally(onfinally);
|
|
61305
63099
|
}
|
|
61306
63100
|
$inspect() {
|
|
61307
63101
|
return this.#promise;
|