autumn-js 1.2.0 → 1.2.3
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.d.mts +1 -1
- package/dist/backend/adapters/express.d.ts +1 -1
- package/dist/backend/adapters/express.js +337 -29
- package/dist/backend/adapters/express.mjs +9 -9
- package/dist/backend/adapters/fetch.d.mts +1 -1
- package/dist/backend/adapters/fetch.d.ts +1 -1
- package/dist/backend/adapters/fetch.js +337 -29
- package/dist/backend/adapters/fetch.mjs +9 -9
- package/dist/backend/adapters/hono.d.mts +1 -1
- package/dist/backend/adapters/hono.d.ts +1 -1
- package/dist/backend/adapters/hono.js +337 -29
- package/dist/backend/adapters/hono.mjs +9 -9
- package/dist/backend/adapters/index.d.mts +1 -1
- package/dist/backend/adapters/index.d.ts +1 -1
- package/dist/backend/adapters/index.js +337 -29
- package/dist/backend/adapters/index.mjs +12 -12
- package/dist/backend/adapters/next.d.mts +1 -1
- package/dist/backend/adapters/next.d.ts +1 -1
- package/dist/backend/adapters/next.js +337 -29
- package/dist/backend/adapters/next.mjs +9 -9
- package/dist/backend/{authTypes-BCoyMOAj.d.mts → authTypes-B5VxPaMo.d.mts} +14 -0
- package/dist/backend/{authTypes-BCoyMOAj.d.ts → authTypes-B5VxPaMo.d.ts} +14 -0
- package/dist/backend/{chunk-6YVVHFAT.mjs → chunk-2YEMC57K.mjs} +1 -1
- package/dist/backend/{chunk-MJBKNDWD.mjs → chunk-CCEZMERA.mjs} +279 -24
- package/dist/backend/{chunk-VR35K2UZ.mjs → chunk-ETHQSA52.mjs} +7 -7
- package/dist/backend/{chunk-RYP3CVST.mjs → chunk-FRKRWJ5S.mjs} +1 -1
- package/dist/backend/{chunk-5TDPAYPN.mjs → chunk-IFFSWLXT.mjs} +1 -1
- package/dist/backend/{chunk-3YYODLUY.mjs → chunk-IUFWKMTJ.mjs} +1 -1
- package/dist/backend/{chunk-BSY23UM3.mjs → chunk-N62MDT7U.mjs} +58 -5
- package/dist/backend/{chunk-JDL37I7Y.mjs → chunk-OLHAIHAX.mjs} +5 -5
- package/dist/backend/core/handlers/coreHandler.d.mts +2 -2
- package/dist/backend/core/handlers/coreHandler.d.ts +2 -2
- package/dist/backend/core/handlers/coreHandler.js +337 -29
- package/dist/backend/core/handlers/coreHandler.mjs +7 -7
- package/dist/backend/core/handlers/executeRoute.d.mts +2 -2
- package/dist/backend/core/handlers/executeRoute.d.ts +2 -2
- package/dist/backend/core/handlers/executeRoute.mjs +4 -4
- package/dist/backend/core/handlers/handleRouteByName.d.mts +1 -1
- package/dist/backend/core/handlers/handleRouteByName.d.ts +1 -1
- package/dist/backend/core/handlers/handleRouteByName.js +337 -29
- package/dist/backend/core/handlers/handleRouteByName.mjs +7 -7
- package/dist/backend/core/handlers/index.d.mts +2 -2
- package/dist/backend/core/handlers/index.d.ts +2 -2
- package/dist/backend/core/handlers/index.js +337 -29
- package/dist/backend/core/handlers/index.mjs +10 -10
- package/dist/backend/core/handlers/resolveIdentity.d.mts +1 -1
- package/dist/backend/core/handlers/resolveIdentity.d.ts +1 -1
- package/dist/backend/core/index.d.mts +2 -2
- package/dist/backend/core/index.d.ts +2 -2
- package/dist/backend/core/index.js +337 -29
- package/dist/backend/core/index.mjs +10 -10
- package/dist/backend/core/routes/index.d.mts +2 -2
- package/dist/backend/core/routes/index.d.ts +2 -2
- package/dist/backend/core/routes/index.js +58 -5
- package/dist/backend/core/routes/index.mjs +2 -2
- package/dist/backend/core/routes/routeBuilder.d.mts +2 -2
- package/dist/backend/core/routes/routeBuilder.d.ts +2 -2
- package/dist/backend/core/routes/routeConfigs.d.mts +2 -2
- package/dist/backend/core/routes/routeConfigs.d.ts +2 -2
- package/dist/backend/core/routes/routeConfigs.js +58 -5
- package/dist/backend/core/routes/routeConfigs.mjs +2 -2
- package/dist/backend/core/types/authTypes.d.mts +1 -1
- package/dist/backend/core/types/authTypes.d.ts +1 -1
- package/dist/backend/core/types/handlerTypes.d.mts +2 -2
- package/dist/backend/core/types/handlerTypes.d.ts +2 -2
- package/dist/backend/core/types/index.d.mts +2 -2
- package/dist/backend/core/types/index.d.ts +2 -2
- package/dist/backend/core/types/routeTypes.d.mts +2 -2
- package/dist/backend/core/types/routeTypes.d.ts +2 -2
- package/dist/backend/core/utils/index.mjs +3 -3
- package/dist/backend/index.d.mts +4 -4
- package/dist/backend/index.d.ts +4 -4
- package/dist/backend/index.js +337 -29
- package/dist/backend/index.mjs +10 -10
- package/dist/backend/{routeTypes-B7YXq83l.d.ts → routeTypes-BkSHRiCI.d.ts} +233 -2
- package/dist/backend/{routeTypes-BglWygTb.d.mts → routeTypes-C1hUtfD8.d.mts} +233 -2
- package/dist/better-auth/{chunk-LHA6NFFS.mjs → chunk-2PRVJULJ.mjs} +58 -5
- package/dist/better-auth/{chunk-I4LI2AOX.mjs → chunk-6J74ZVNY.mjs} +280 -25
- package/dist/better-auth/{chunk-TDX4NREA.mjs → chunk-IY7FPOWF.mjs} +1 -1
- package/dist/better-auth/index.js +337 -29
- package/dist/better-auth/index.mjs +3 -3
- package/dist/better-auth/types.d.mts +14 -0
- package/dist/better-auth/types.d.ts +14 -0
- package/dist/better-auth/utils/createAutumnEndpoint.js +58 -5
- package/dist/better-auth/utils/createAutumnEndpoint.mjs +2 -2
- package/dist/better-auth/utils/handleBetterAuthRoute.js +337 -29
- package/dist/better-auth/utils/handleBetterAuthRoute.mjs +2 -2
- package/dist/better-auth/utils/index.js +337 -29
- package/dist/better-auth/utils/index.mjs +3 -3
- package/dist/react/AutumnContext.d.mts +3 -3
- package/dist/react/AutumnContext.d.ts +3 -3
- package/dist/react/client/AutumnClient.d.mts +3 -3
- package/dist/react/client/AutumnClient.d.ts +3 -3
- package/dist/react/client/IAutumnClient.d.mts +7 -3
- package/dist/react/client/IAutumnClient.d.ts +7 -3
- package/dist/react/client/index.d.mts +3 -3
- package/dist/react/client/index.d.ts +3 -3
- package/dist/react/{customer-CNvpHhpS.d.mts → customer-Bb7J-_p_.d.mts} +15 -1
- package/dist/react/{customer-CMAtwbJl.d.ts → customer-CJSDgQMF.d.ts} +15 -1
- package/dist/react/hooks/index.d.mts +3 -3
- package/dist/react/hooks/index.d.ts +3 -3
- package/dist/react/hooks/internal/check/balanceToAllowed.d.mts +2 -2
- package/dist/react/hooks/internal/check/balanceToAllowed.d.ts +2 -2
- package/dist/react/hooks/internal/check/customerToFeatures.d.mts +2 -2
- package/dist/react/hooks/internal/check/customerToFeatures.d.ts +2 -2
- package/dist/react/hooks/internal/check/findCreditSystemsByFeature.d.mts +2 -2
- package/dist/react/hooks/internal/check/findCreditSystemsByFeature.d.ts +2 -2
- package/dist/react/hooks/internal/check/getCreditCost.d.mts +2 -2
- package/dist/react/hooks/internal/check/getCreditCost.d.ts +2 -2
- package/dist/react/hooks/internal/getLocalCheckResponse.d.mts +3 -3
- package/dist/react/hooks/internal/getLocalCheckResponse.d.ts +3 -3
- package/dist/react/hooks/internal/useCustomerActions.d.mts +3 -3
- package/dist/react/hooks/internal/useCustomerActions.d.ts +3 -3
- package/dist/react/hooks/useAggregateEvents.d.mts +2 -2
- package/dist/react/hooks/useAggregateEvents.d.ts +2 -2
- package/dist/react/hooks/useCustomer.d.mts +3 -3
- package/dist/react/hooks/useCustomer.d.ts +3 -3
- package/dist/react/hooks/useEntity.d.mts +2 -2
- package/dist/react/hooks/useEntity.d.ts +2 -2
- package/dist/react/hooks/useListEvents.d.mts +2 -2
- package/dist/react/hooks/useListEvents.d.ts +2 -2
- package/dist/react/hooks/useListPlans.d.mts +2 -2
- package/dist/react/hooks/useListPlans.d.ts +2 -2
- package/dist/react/hooks/useReferrals.d.mts +2 -2
- package/dist/react/hooks/useReferrals.d.ts +2 -2
- package/dist/react/index.d.mts +3 -3
- package/dist/react/index.d.ts +3 -3
- package/dist/react/{params-BmtAnULw.d.mts → params-CheyAQ0-.d.mts} +93 -2
- package/dist/react/{params-CL0lZNfr.d.ts → params-yCtJ7lOA.d.ts} +93 -2
- package/dist/react/{plan-BoMslu_O.d.mts → plan-CqxFGNk2.d.mts} +4 -0
- package/dist/react/{plan-BoMslu_O.d.ts → plan-CqxFGNk2.d.ts} +4 -0
- package/dist/sdk/index.d.mts +342 -4
- package/dist/sdk/index.d.ts +342 -4
- package/dist/sdk/index.js +384 -24
- package/dist/sdk/index.mjs +359 -25
- package/package.json +1 -1
- package/dist/backend/{chunk-55C2WWXQ.mjs → chunk-S5HPMJ4U.mjs} +3 -3
package/dist/sdk/index.js
CHANGED
|
@@ -83,8 +83,8 @@ var SDK_METADATA = {
|
|
|
83
83
|
language: "typescript",
|
|
84
84
|
openapiDocVersion: "2.2.0",
|
|
85
85
|
sdkVersion: "0.10.17",
|
|
86
|
-
genVersion: "2.
|
|
87
|
-
userAgent: "speakeasy-sdk/typescript 0.10.17 2.
|
|
86
|
+
genVersion: "2.879.1",
|
|
87
|
+
userAgent: "speakeasy-sdk/typescript 0.10.17 2.879.1 2.2.0 @useautumn/sdk"
|
|
88
88
|
};
|
|
89
89
|
|
|
90
90
|
// ../sdk/src/lib/files.ts
|
|
@@ -980,8 +980,8 @@ function applyBearer(state, spec) {
|
|
|
980
980
|
state.headers[spec.fieldName] = value;
|
|
981
981
|
}
|
|
982
982
|
}
|
|
983
|
-
function resolveGlobalSecurity(security) {
|
|
984
|
-
|
|
983
|
+
function resolveGlobalSecurity(security, allowedFields) {
|
|
984
|
+
let inputs = [
|
|
985
985
|
[
|
|
986
986
|
{
|
|
987
987
|
fieldName: "Authorization",
|
|
@@ -989,7 +989,8 @@ function resolveGlobalSecurity(security) {
|
|
|
989
989
|
value: security?.secretKey ?? env().AUTUMN_SECRET_KEY
|
|
990
990
|
}
|
|
991
991
|
]
|
|
992
|
-
|
|
992
|
+
];
|
|
993
|
+
return resolveSecurity(...inputs);
|
|
993
994
|
}
|
|
994
995
|
async function extractSecurity(sec) {
|
|
995
996
|
if (sec == null) {
|
|
@@ -1371,6 +1372,7 @@ var EventsAggregateParams$outboundSchema = z39__namespace.pipe(
|
|
|
1371
1372
|
customRange: z39__namespace.optional(
|
|
1372
1373
|
z39__namespace.lazy(() => AggregateEventsCustomRange$outboundSchema)
|
|
1373
1374
|
),
|
|
1375
|
+
filterBy: z39__namespace.optional(z39__namespace.record(z39__namespace.string(), z39__namespace.string())),
|
|
1374
1376
|
maxGroups: z39__namespace.optional(z39__namespace.int())
|
|
1375
1377
|
}),
|
|
1376
1378
|
z39__namespace.transform((v) => {
|
|
@@ -1381,6 +1383,7 @@ var EventsAggregateParams$outboundSchema = z39__namespace.pipe(
|
|
|
1381
1383
|
groupBy: "group_by",
|
|
1382
1384
|
binSize: "bin_size",
|
|
1383
1385
|
customRange: "custom_range",
|
|
1386
|
+
filterBy: "filter_by",
|
|
1384
1387
|
maxGroups: "max_groups"
|
|
1385
1388
|
});
|
|
1386
1389
|
})
|
|
@@ -1632,11 +1635,13 @@ var AttachExpiryDurationType$outboundSchema = z39__namespace.enum(AttachExpiryDu
|
|
|
1632
1635
|
var AttachRollover$outboundSchema = z39__namespace.pipe(
|
|
1633
1636
|
z39__namespace.object({
|
|
1634
1637
|
max: z39__namespace.optional(z39__namespace.number()),
|
|
1638
|
+
maxPercentage: z39__namespace.optional(z39__namespace.number()),
|
|
1635
1639
|
expiryDurationType: AttachExpiryDurationType$outboundSchema,
|
|
1636
1640
|
expiryDurationLength: z39__namespace.optional(z39__namespace.number())
|
|
1637
1641
|
}),
|
|
1638
1642
|
z39__namespace.transform((v) => {
|
|
1639
1643
|
return remap(v, {
|
|
1644
|
+
maxPercentage: "max_percentage",
|
|
1640
1645
|
expiryDurationType: "expiry_duration_type",
|
|
1641
1646
|
expiryDurationLength: "expiry_duration_length"
|
|
1642
1647
|
});
|
|
@@ -2316,11 +2321,13 @@ var BillingUpdateExpiryDurationType$outboundSchema = z39__namespace.enum(Billing
|
|
|
2316
2321
|
var BillingUpdateRollover$outboundSchema = z39__namespace.pipe(
|
|
2317
2322
|
z39__namespace.object({
|
|
2318
2323
|
max: z39__namespace.optional(z39__namespace.number()),
|
|
2324
|
+
maxPercentage: z39__namespace.optional(z39__namespace.number()),
|
|
2319
2325
|
expiryDurationType: BillingUpdateExpiryDurationType$outboundSchema,
|
|
2320
2326
|
expiryDurationLength: z39__namespace.optional(z39__namespace.number())
|
|
2321
2327
|
}),
|
|
2322
2328
|
z39__namespace.transform((v) => {
|
|
2323
2329
|
return remap(v, {
|
|
2330
|
+
maxPercentage: "max_percentage",
|
|
2324
2331
|
expiryDurationType: "expiry_duration_type",
|
|
2325
2332
|
expiryDurationLength: "expiry_duration_length"
|
|
2326
2333
|
});
|
|
@@ -2767,11 +2774,19 @@ function productDisplayFromJSON(jsonString) {
|
|
|
2767
2774
|
);
|
|
2768
2775
|
}
|
|
2769
2776
|
var RolloverDuration$inboundSchema = inboundSchema(RolloverDuration);
|
|
2770
|
-
var CheckRollover$inboundSchema = z39__namespace.
|
|
2771
|
-
|
|
2772
|
-
|
|
2773
|
-
|
|
2774
|
-
|
|
2777
|
+
var CheckRollover$inboundSchema = z39__namespace.pipe(
|
|
2778
|
+
z39__namespace.object({
|
|
2779
|
+
max: z39__namespace.optional(z39__namespace.nullable(number2())),
|
|
2780
|
+
max_percentage: z39__namespace.optional(z39__namespace.nullable(number2())),
|
|
2781
|
+
duration: z39__namespace._default(RolloverDuration$inboundSchema, "month"),
|
|
2782
|
+
length: number2()
|
|
2783
|
+
}),
|
|
2784
|
+
z39__namespace.transform((v) => {
|
|
2785
|
+
return remap(v, {
|
|
2786
|
+
"max_percentage": "maxPercentage"
|
|
2787
|
+
});
|
|
2788
|
+
})
|
|
2789
|
+
);
|
|
2775
2790
|
function checkRolloverFromJSON(jsonString) {
|
|
2776
2791
|
return safeParse(
|
|
2777
2792
|
jsonString,
|
|
@@ -3132,6 +3147,22 @@ function customerDataUsageAlertToJSON(customerDataUsageAlert) {
|
|
|
3132
3147
|
CustomerDataUsageAlert$outboundSchema.parse(customerDataUsageAlert)
|
|
3133
3148
|
);
|
|
3134
3149
|
}
|
|
3150
|
+
var CustomerDataOverageAllowed$outboundSchema = z39__namespace.pipe(
|
|
3151
|
+
z39__namespace.object({
|
|
3152
|
+
featureId: z39__namespace.string(),
|
|
3153
|
+
enabled: z39__namespace._default(z39__namespace.boolean(), false)
|
|
3154
|
+
}),
|
|
3155
|
+
z39__namespace.transform((v) => {
|
|
3156
|
+
return remap(v, {
|
|
3157
|
+
featureId: "feature_id"
|
|
3158
|
+
});
|
|
3159
|
+
})
|
|
3160
|
+
);
|
|
3161
|
+
function customerDataOverageAllowedToJSON(customerDataOverageAllowed) {
|
|
3162
|
+
return JSON.stringify(
|
|
3163
|
+
CustomerDataOverageAllowed$outboundSchema.parse(customerDataOverageAllowed)
|
|
3164
|
+
);
|
|
3165
|
+
}
|
|
3135
3166
|
var CustomerDataBillingControls$outboundSchema = z39__namespace.pipe(
|
|
3136
3167
|
z39__namespace.object({
|
|
3137
3168
|
autoTopups: z39__namespace.optional(
|
|
@@ -3142,13 +3173,17 @@ var CustomerDataBillingControls$outboundSchema = z39__namespace.pipe(
|
|
|
3142
3173
|
),
|
|
3143
3174
|
usageAlerts: z39__namespace.optional(
|
|
3144
3175
|
z39__namespace.array(z39__namespace.lazy(() => CustomerDataUsageAlert$outboundSchema))
|
|
3176
|
+
),
|
|
3177
|
+
overageAllowed: z39__namespace.optional(
|
|
3178
|
+
z39__namespace.array(z39__namespace.lazy(() => CustomerDataOverageAllowed$outboundSchema))
|
|
3145
3179
|
)
|
|
3146
3180
|
}),
|
|
3147
3181
|
z39__namespace.transform((v) => {
|
|
3148
3182
|
return remap(v, {
|
|
3149
3183
|
autoTopups: "auto_topups",
|
|
3150
3184
|
spendLimits: "spend_limits",
|
|
3151
|
-
usageAlerts: "usage_alerts"
|
|
3185
|
+
usageAlerts: "usage_alerts",
|
|
3186
|
+
overageAllowed: "overage_allowed"
|
|
3152
3187
|
});
|
|
3153
3188
|
})
|
|
3154
3189
|
);
|
|
@@ -3422,11 +3457,13 @@ var ExpiryDurationType$inboundSchema = inboundSchema(ExpiryDurationType);
|
|
|
3422
3457
|
var PlanRollover$inboundSchema = z39__namespace.pipe(
|
|
3423
3458
|
z39__namespace.object({
|
|
3424
3459
|
max: nullable(number2()),
|
|
3460
|
+
max_percentage: z39__namespace.optional(z39__namespace.nullable(number2())),
|
|
3425
3461
|
expiry_duration_type: ExpiryDurationType$inboundSchema,
|
|
3426
3462
|
expiry_duration_length: optional2(number2())
|
|
3427
3463
|
}),
|
|
3428
3464
|
z39__namespace.transform((v) => {
|
|
3429
3465
|
return remap(v, {
|
|
3466
|
+
"max_percentage": "maxPercentage",
|
|
3430
3467
|
"expiry_duration_type": "expiryDurationType",
|
|
3431
3468
|
"expiry_duration_length": "expiryDurationLength"
|
|
3432
3469
|
});
|
|
@@ -3614,6 +3651,24 @@ function createEntityUsageAlertRequestBodyToJSON(createEntityUsageAlertRequestBo
|
|
|
3614
3651
|
)
|
|
3615
3652
|
);
|
|
3616
3653
|
}
|
|
3654
|
+
var CreateEntityOverageAllowedRequest$outboundSchema = z39__namespace.pipe(
|
|
3655
|
+
z39__namespace.object({
|
|
3656
|
+
featureId: z39__namespace.string(),
|
|
3657
|
+
enabled: z39__namespace._default(z39__namespace.boolean(), false)
|
|
3658
|
+
}),
|
|
3659
|
+
z39__namespace.transform((v) => {
|
|
3660
|
+
return remap(v, {
|
|
3661
|
+
featureId: "feature_id"
|
|
3662
|
+
});
|
|
3663
|
+
})
|
|
3664
|
+
);
|
|
3665
|
+
function createEntityOverageAllowedRequestToJSON(createEntityOverageAllowedRequest) {
|
|
3666
|
+
return JSON.stringify(
|
|
3667
|
+
CreateEntityOverageAllowedRequest$outboundSchema.parse(
|
|
3668
|
+
createEntityOverageAllowedRequest
|
|
3669
|
+
)
|
|
3670
|
+
);
|
|
3671
|
+
}
|
|
3617
3672
|
var CreateEntityBillingControlsRequest$outboundSchema = z39__namespace.pipe(
|
|
3618
3673
|
z39__namespace.object({
|
|
3619
3674
|
spendLimits: z39__namespace.optional(
|
|
@@ -3621,12 +3676,16 @@ var CreateEntityBillingControlsRequest$outboundSchema = z39__namespace.pipe(
|
|
|
3621
3676
|
),
|
|
3622
3677
|
usageAlerts: z39__namespace.optional(
|
|
3623
3678
|
z39__namespace.array(z39__namespace.lazy(() => CreateEntityUsageAlertRequestBody$outboundSchema))
|
|
3679
|
+
),
|
|
3680
|
+
overageAllowed: z39__namespace.optional(
|
|
3681
|
+
z39__namespace.array(z39__namespace.lazy(() => CreateEntityOverageAllowedRequest$outboundSchema))
|
|
3624
3682
|
)
|
|
3625
3683
|
}),
|
|
3626
3684
|
z39__namespace.transform((v) => {
|
|
3627
3685
|
return remap(v, {
|
|
3628
3686
|
spendLimits: "spend_limits",
|
|
3629
|
-
usageAlerts: "usage_alerts"
|
|
3687
|
+
usageAlerts: "usage_alerts",
|
|
3688
|
+
overageAllowed: "overage_allowed"
|
|
3630
3689
|
});
|
|
3631
3690
|
})
|
|
3632
3691
|
);
|
|
@@ -3851,6 +3910,24 @@ function createEntityUsageAlertResponseFromJSON(jsonString) {
|
|
|
3851
3910
|
`Failed to parse 'CreateEntityUsageAlertResponse' from JSON`
|
|
3852
3911
|
);
|
|
3853
3912
|
}
|
|
3913
|
+
var CreateEntityOverageAllowedResponse$inboundSchema = z39__namespace.pipe(
|
|
3914
|
+
z39__namespace.object({
|
|
3915
|
+
feature_id: string4(),
|
|
3916
|
+
enabled: z39__namespace._default(boolean2(), false)
|
|
3917
|
+
}),
|
|
3918
|
+
z39__namespace.transform((v) => {
|
|
3919
|
+
return remap(v, {
|
|
3920
|
+
"feature_id": "featureId"
|
|
3921
|
+
});
|
|
3922
|
+
})
|
|
3923
|
+
);
|
|
3924
|
+
function createEntityOverageAllowedResponseFromJSON(jsonString) {
|
|
3925
|
+
return safeParse(
|
|
3926
|
+
jsonString,
|
|
3927
|
+
(x) => CreateEntityOverageAllowedResponse$inboundSchema.parse(JSON.parse(x)),
|
|
3928
|
+
`Failed to parse 'CreateEntityOverageAllowedResponse' from JSON`
|
|
3929
|
+
);
|
|
3930
|
+
}
|
|
3854
3931
|
var CreateEntityBillingControlsResponse$inboundSchema = z39__namespace.pipe(
|
|
3855
3932
|
z39__namespace.object({
|
|
3856
3933
|
spend_limits: optional2(
|
|
@@ -3858,12 +3935,16 @@ var CreateEntityBillingControlsResponse$inboundSchema = z39__namespace.pipe(
|
|
|
3858
3935
|
),
|
|
3859
3936
|
usage_alerts: optional2(
|
|
3860
3937
|
z39__namespace.array(z39__namespace.lazy(() => CreateEntityUsageAlertResponse$inboundSchema))
|
|
3938
|
+
),
|
|
3939
|
+
overage_allowed: optional2(
|
|
3940
|
+
z39__namespace.array(z39__namespace.lazy(() => CreateEntityOverageAllowedResponse$inboundSchema))
|
|
3861
3941
|
)
|
|
3862
3942
|
}),
|
|
3863
3943
|
z39__namespace.transform((v) => {
|
|
3864
3944
|
return remap(v, {
|
|
3865
3945
|
"spend_limits": "spendLimits",
|
|
3866
|
-
"usage_alerts": "usageAlerts"
|
|
3946
|
+
"usage_alerts": "usageAlerts",
|
|
3947
|
+
"overage_allowed": "overageAllowed"
|
|
3867
3948
|
});
|
|
3868
3949
|
})
|
|
3869
3950
|
);
|
|
@@ -4294,11 +4375,13 @@ var CreatePlanExpiryDurationTypeRequest$outboundSchema = z39__namespace.enum(Cre
|
|
|
4294
4375
|
var CreatePlanRolloverRequest$outboundSchema = z39__namespace.pipe(
|
|
4295
4376
|
z39__namespace.object({
|
|
4296
4377
|
max: z39__namespace.optional(z39__namespace.number()),
|
|
4378
|
+
maxPercentage: z39__namespace.optional(z39__namespace.number()),
|
|
4297
4379
|
expiryDurationType: CreatePlanExpiryDurationTypeRequest$outboundSchema,
|
|
4298
4380
|
expiryDurationLength: z39__namespace.optional(z39__namespace.number())
|
|
4299
4381
|
}),
|
|
4300
4382
|
z39__namespace.transform((v) => {
|
|
4301
4383
|
return remap(v, {
|
|
4384
|
+
maxPercentage: "max_percentage",
|
|
4302
4385
|
expiryDurationType: "expiry_duration_type",
|
|
4303
4386
|
expiryDurationLength: "expiry_duration_length"
|
|
4304
4387
|
});
|
|
@@ -4551,11 +4634,13 @@ var CreatePlanExpiryDurationTypeResponse$inboundSchema = inboundSchema(CreatePla
|
|
|
4551
4634
|
var CreatePlanRolloverResponse$inboundSchema = z39__namespace.pipe(
|
|
4552
4635
|
z39__namespace.object({
|
|
4553
4636
|
max: nullable(number2()),
|
|
4637
|
+
max_percentage: z39__namespace.optional(z39__namespace.nullable(number2())),
|
|
4554
4638
|
expiry_duration_type: CreatePlanExpiryDurationTypeResponse$inboundSchema,
|
|
4555
4639
|
expiry_duration_length: optional2(number2())
|
|
4556
4640
|
}),
|
|
4557
4641
|
z39__namespace.transform((v) => {
|
|
4558
4642
|
return remap(v, {
|
|
4643
|
+
"max_percentage": "maxPercentage",
|
|
4559
4644
|
"expiry_duration_type": "expiryDurationType",
|
|
4560
4645
|
"expiry_duration_length": "expiryDurationLength"
|
|
4561
4646
|
});
|
|
@@ -4846,6 +4931,24 @@ function customerUsageAlertFromJSON(jsonString) {
|
|
|
4846
4931
|
`Failed to parse 'CustomerUsageAlert' from JSON`
|
|
4847
4932
|
);
|
|
4848
4933
|
}
|
|
4934
|
+
var CustomerOverageAllowed$inboundSchema = z39__namespace.pipe(
|
|
4935
|
+
z39__namespace.object({
|
|
4936
|
+
feature_id: string4(),
|
|
4937
|
+
enabled: z39__namespace._default(boolean2(), false)
|
|
4938
|
+
}),
|
|
4939
|
+
z39__namespace.transform((v) => {
|
|
4940
|
+
return remap(v, {
|
|
4941
|
+
"feature_id": "featureId"
|
|
4942
|
+
});
|
|
4943
|
+
})
|
|
4944
|
+
);
|
|
4945
|
+
function customerOverageAllowedFromJSON(jsonString) {
|
|
4946
|
+
return safeParse(
|
|
4947
|
+
jsonString,
|
|
4948
|
+
(x) => CustomerOverageAllowed$inboundSchema.parse(JSON.parse(x)),
|
|
4949
|
+
`Failed to parse 'CustomerOverageAllowed' from JSON`
|
|
4950
|
+
);
|
|
4951
|
+
}
|
|
4849
4952
|
var CustomerBillingControls$inboundSchema = z39__namespace.pipe(
|
|
4850
4953
|
z39__namespace.object({
|
|
4851
4954
|
auto_topups: optional2(
|
|
@@ -4856,13 +4959,17 @@ var CustomerBillingControls$inboundSchema = z39__namespace.pipe(
|
|
|
4856
4959
|
),
|
|
4857
4960
|
usage_alerts: optional2(
|
|
4858
4961
|
z39__namespace.array(z39__namespace.lazy(() => CustomerUsageAlert$inboundSchema))
|
|
4962
|
+
),
|
|
4963
|
+
overage_allowed: optional2(
|
|
4964
|
+
z39__namespace.array(z39__namespace.lazy(() => CustomerOverageAllowed$inboundSchema))
|
|
4859
4965
|
)
|
|
4860
4966
|
}),
|
|
4861
4967
|
z39__namespace.transform((v) => {
|
|
4862
4968
|
return remap(v, {
|
|
4863
4969
|
"auto_topups": "autoTopups",
|
|
4864
4970
|
"spend_limits": "spendLimits",
|
|
4865
|
-
"usage_alerts": "usageAlerts"
|
|
4971
|
+
"usage_alerts": "usageAlerts",
|
|
4972
|
+
"overage_allowed": "overageAllowed"
|
|
4866
4973
|
});
|
|
4867
4974
|
})
|
|
4868
4975
|
);
|
|
@@ -5616,6 +5723,24 @@ function getEntityUsageAlertFromJSON(jsonString) {
|
|
|
5616
5723
|
`Failed to parse 'GetEntityUsageAlert' from JSON`
|
|
5617
5724
|
);
|
|
5618
5725
|
}
|
|
5726
|
+
var GetEntityOverageAllowed$inboundSchema = z39__namespace.pipe(
|
|
5727
|
+
z39__namespace.object({
|
|
5728
|
+
feature_id: string4(),
|
|
5729
|
+
enabled: z39__namespace._default(boolean2(), false)
|
|
5730
|
+
}),
|
|
5731
|
+
z39__namespace.transform((v) => {
|
|
5732
|
+
return remap(v, {
|
|
5733
|
+
"feature_id": "featureId"
|
|
5734
|
+
});
|
|
5735
|
+
})
|
|
5736
|
+
);
|
|
5737
|
+
function getEntityOverageAllowedFromJSON(jsonString) {
|
|
5738
|
+
return safeParse(
|
|
5739
|
+
jsonString,
|
|
5740
|
+
(x) => GetEntityOverageAllowed$inboundSchema.parse(JSON.parse(x)),
|
|
5741
|
+
`Failed to parse 'GetEntityOverageAllowed' from JSON`
|
|
5742
|
+
);
|
|
5743
|
+
}
|
|
5619
5744
|
var GetEntityBillingControls$inboundSchema = z39__namespace.pipe(
|
|
5620
5745
|
z39__namespace.object({
|
|
5621
5746
|
spend_limits: optional2(
|
|
@@ -5623,12 +5748,16 @@ var GetEntityBillingControls$inboundSchema = z39__namespace.pipe(
|
|
|
5623
5748
|
),
|
|
5624
5749
|
usage_alerts: optional2(
|
|
5625
5750
|
z39__namespace.array(z39__namespace.lazy(() => GetEntityUsageAlert$inboundSchema))
|
|
5751
|
+
),
|
|
5752
|
+
overage_allowed: optional2(
|
|
5753
|
+
z39__namespace.array(z39__namespace.lazy(() => GetEntityOverageAllowed$inboundSchema))
|
|
5626
5754
|
)
|
|
5627
5755
|
}),
|
|
5628
5756
|
z39__namespace.transform((v) => {
|
|
5629
5757
|
return remap(v, {
|
|
5630
5758
|
"spend_limits": "spendLimits",
|
|
5631
|
-
"usage_alerts": "usageAlerts"
|
|
5759
|
+
"usage_alerts": "usageAlerts",
|
|
5760
|
+
"overage_allowed": "overageAllowed"
|
|
5632
5761
|
});
|
|
5633
5762
|
})
|
|
5634
5763
|
);
|
|
@@ -5875,6 +6004,24 @@ function getOrCreateCustomerUsageAlertToJSON(getOrCreateCustomerUsageAlert) {
|
|
|
5875
6004
|
)
|
|
5876
6005
|
);
|
|
5877
6006
|
}
|
|
6007
|
+
var GetOrCreateCustomerOverageAllowed$outboundSchema = z39__namespace.pipe(
|
|
6008
|
+
z39__namespace.object({
|
|
6009
|
+
featureId: z39__namespace.string(),
|
|
6010
|
+
enabled: z39__namespace._default(z39__namespace.boolean(), false)
|
|
6011
|
+
}),
|
|
6012
|
+
z39__namespace.transform((v) => {
|
|
6013
|
+
return remap(v, {
|
|
6014
|
+
featureId: "feature_id"
|
|
6015
|
+
});
|
|
6016
|
+
})
|
|
6017
|
+
);
|
|
6018
|
+
function getOrCreateCustomerOverageAllowedToJSON(getOrCreateCustomerOverageAllowed) {
|
|
6019
|
+
return JSON.stringify(
|
|
6020
|
+
GetOrCreateCustomerOverageAllowed$outboundSchema.parse(
|
|
6021
|
+
getOrCreateCustomerOverageAllowed
|
|
6022
|
+
)
|
|
6023
|
+
);
|
|
6024
|
+
}
|
|
5878
6025
|
var GetOrCreateCustomerBillingControls$outboundSchema = z39__namespace.pipe(
|
|
5879
6026
|
z39__namespace.object({
|
|
5880
6027
|
autoTopups: z39__namespace.optional(
|
|
@@ -5885,13 +6032,17 @@ var GetOrCreateCustomerBillingControls$outboundSchema = z39__namespace.pipe(
|
|
|
5885
6032
|
),
|
|
5886
6033
|
usageAlerts: z39__namespace.optional(
|
|
5887
6034
|
z39__namespace.array(z39__namespace.lazy(() => GetOrCreateCustomerUsageAlert$outboundSchema))
|
|
6035
|
+
),
|
|
6036
|
+
overageAllowed: z39__namespace.optional(
|
|
6037
|
+
z39__namespace.array(z39__namespace.lazy(() => GetOrCreateCustomerOverageAllowed$outboundSchema))
|
|
5888
6038
|
)
|
|
5889
6039
|
}),
|
|
5890
6040
|
z39__namespace.transform((v) => {
|
|
5891
6041
|
return remap(v, {
|
|
5892
6042
|
autoTopups: "auto_topups",
|
|
5893
6043
|
spendLimits: "spend_limits",
|
|
5894
|
-
usageAlerts: "usage_alerts"
|
|
6044
|
+
usageAlerts: "usage_alerts",
|
|
6045
|
+
overageAllowed: "overage_allowed"
|
|
5895
6046
|
});
|
|
5896
6047
|
})
|
|
5897
6048
|
);
|
|
@@ -6184,11 +6335,13 @@ var GetPlanExpiryDurationType$inboundSchema = inboundSchema(GetPlanExpiryDuratio
|
|
|
6184
6335
|
var GetPlanRollover$inboundSchema = z39__namespace.pipe(
|
|
6185
6336
|
z39__namespace.object({
|
|
6186
6337
|
max: nullable(number2()),
|
|
6338
|
+
max_percentage: z39__namespace.optional(z39__namespace.nullable(number2())),
|
|
6187
6339
|
expiry_duration_type: GetPlanExpiryDurationType$inboundSchema,
|
|
6188
6340
|
expiry_duration_length: optional2(number2())
|
|
6189
6341
|
}),
|
|
6190
6342
|
z39__namespace.transform((v) => {
|
|
6191
6343
|
return remap(v, {
|
|
6344
|
+
"max_percentage": "maxPercentage",
|
|
6192
6345
|
"expiry_duration_type": "expiryDurationType",
|
|
6193
6346
|
"expiry_duration_length": "expiryDurationLength"
|
|
6194
6347
|
});
|
|
@@ -6501,6 +6654,24 @@ function listCustomersUsageAlertFromJSON(jsonString) {
|
|
|
6501
6654
|
`Failed to parse 'ListCustomersUsageAlert' from JSON`
|
|
6502
6655
|
);
|
|
6503
6656
|
}
|
|
6657
|
+
var ListCustomersOverageAllowed$inboundSchema = z39__namespace.pipe(
|
|
6658
|
+
z39__namespace.object({
|
|
6659
|
+
feature_id: string4(),
|
|
6660
|
+
enabled: z39__namespace._default(boolean2(), false)
|
|
6661
|
+
}),
|
|
6662
|
+
z39__namespace.transform((v) => {
|
|
6663
|
+
return remap(v, {
|
|
6664
|
+
"feature_id": "featureId"
|
|
6665
|
+
});
|
|
6666
|
+
})
|
|
6667
|
+
);
|
|
6668
|
+
function listCustomersOverageAllowedFromJSON(jsonString) {
|
|
6669
|
+
return safeParse(
|
|
6670
|
+
jsonString,
|
|
6671
|
+
(x) => ListCustomersOverageAllowed$inboundSchema.parse(JSON.parse(x)),
|
|
6672
|
+
`Failed to parse 'ListCustomersOverageAllowed' from JSON`
|
|
6673
|
+
);
|
|
6674
|
+
}
|
|
6504
6675
|
var ListCustomersBillingControls$inboundSchema = z39__namespace.pipe(
|
|
6505
6676
|
z39__namespace.object({
|
|
6506
6677
|
auto_topups: optional2(
|
|
@@ -6511,13 +6682,17 @@ var ListCustomersBillingControls$inboundSchema = z39__namespace.pipe(
|
|
|
6511
6682
|
),
|
|
6512
6683
|
usage_alerts: optional2(
|
|
6513
6684
|
z39__namespace.array(z39__namespace.lazy(() => ListCustomersUsageAlert$inboundSchema))
|
|
6685
|
+
),
|
|
6686
|
+
overage_allowed: optional2(
|
|
6687
|
+
z39__namespace.array(z39__namespace.lazy(() => ListCustomersOverageAllowed$inboundSchema))
|
|
6514
6688
|
)
|
|
6515
6689
|
}),
|
|
6516
6690
|
z39__namespace.transform((v) => {
|
|
6517
6691
|
return remap(v, {
|
|
6518
6692
|
"auto_topups": "autoTopups",
|
|
6519
6693
|
"spend_limits": "spendLimits",
|
|
6520
|
-
"usage_alerts": "usageAlerts"
|
|
6694
|
+
"usage_alerts": "usageAlerts",
|
|
6695
|
+
"overage_allowed": "overageAllowed"
|
|
6521
6696
|
});
|
|
6522
6697
|
})
|
|
6523
6698
|
);
|
|
@@ -7154,11 +7329,13 @@ var ListPlansExpiryDurationType$inboundSchema = inboundSchema(ListPlansExpiryDur
|
|
|
7154
7329
|
var ListPlansRollover$inboundSchema = z39__namespace.pipe(
|
|
7155
7330
|
z39__namespace.object({
|
|
7156
7331
|
max: nullable(number2()),
|
|
7332
|
+
max_percentage: z39__namespace.optional(z39__namespace.nullable(number2())),
|
|
7157
7333
|
expiry_duration_type: ListPlansExpiryDurationType$inboundSchema,
|
|
7158
7334
|
expiry_duration_length: optional2(number2())
|
|
7159
7335
|
}),
|
|
7160
7336
|
z39__namespace.transform((v) => {
|
|
7161
7337
|
return remap(v, {
|
|
7338
|
+
"max_percentage": "maxPercentage",
|
|
7162
7339
|
"expiry_duration_type": "expiryDurationType",
|
|
7163
7340
|
"expiry_duration_length": "expiryDurationLength"
|
|
7164
7341
|
});
|
|
@@ -7467,11 +7644,13 @@ var MultiAttachExpiryDurationType$outboundSchema = z39__namespace.enum(MultiAtta
|
|
|
7467
7644
|
var MultiAttachRollover$outboundSchema = z39__namespace.pipe(
|
|
7468
7645
|
z39__namespace.object({
|
|
7469
7646
|
max: z39__namespace.optional(z39__namespace.number()),
|
|
7647
|
+
maxPercentage: z39__namespace.optional(z39__namespace.number()),
|
|
7470
7648
|
expiryDurationType: MultiAttachExpiryDurationType$outboundSchema,
|
|
7471
7649
|
expiryDurationLength: z39__namespace.optional(z39__namespace.number())
|
|
7472
7650
|
}),
|
|
7473
7651
|
z39__namespace.transform((v) => {
|
|
7474
7652
|
return remap(v, {
|
|
7653
|
+
maxPercentage: "max_percentage",
|
|
7475
7654
|
expiryDurationType: "expiry_duration_type",
|
|
7476
7655
|
expiryDurationLength: "expiry_duration_length"
|
|
7477
7656
|
});
|
|
@@ -7646,6 +7825,22 @@ function multiAttachUsageAlertToJSON(multiAttachUsageAlert) {
|
|
|
7646
7825
|
MultiAttachUsageAlert$outboundSchema.parse(multiAttachUsageAlert)
|
|
7647
7826
|
);
|
|
7648
7827
|
}
|
|
7828
|
+
var MultiAttachOverageAllowed$outboundSchema = z39__namespace.pipe(
|
|
7829
|
+
z39__namespace.object({
|
|
7830
|
+
featureId: z39__namespace.string(),
|
|
7831
|
+
enabled: z39__namespace._default(z39__namespace.boolean(), false)
|
|
7832
|
+
}),
|
|
7833
|
+
z39__namespace.transform((v) => {
|
|
7834
|
+
return remap(v, {
|
|
7835
|
+
featureId: "feature_id"
|
|
7836
|
+
});
|
|
7837
|
+
})
|
|
7838
|
+
);
|
|
7839
|
+
function multiAttachOverageAllowedToJSON(multiAttachOverageAllowed) {
|
|
7840
|
+
return JSON.stringify(
|
|
7841
|
+
MultiAttachOverageAllowed$outboundSchema.parse(multiAttachOverageAllowed)
|
|
7842
|
+
);
|
|
7843
|
+
}
|
|
7649
7844
|
var MultiAttachBillingControls$outboundSchema = z39__namespace.pipe(
|
|
7650
7845
|
z39__namespace.object({
|
|
7651
7846
|
spendLimits: z39__namespace.optional(
|
|
@@ -7653,12 +7848,16 @@ var MultiAttachBillingControls$outboundSchema = z39__namespace.pipe(
|
|
|
7653
7848
|
),
|
|
7654
7849
|
usageAlerts: z39__namespace.optional(
|
|
7655
7850
|
z39__namespace.array(z39__namespace.lazy(() => MultiAttachUsageAlert$outboundSchema))
|
|
7851
|
+
),
|
|
7852
|
+
overageAllowed: z39__namespace.optional(
|
|
7853
|
+
z39__namespace.array(z39__namespace.lazy(() => MultiAttachOverageAllowed$outboundSchema))
|
|
7656
7854
|
)
|
|
7657
7855
|
}),
|
|
7658
7856
|
z39__namespace.transform((v) => {
|
|
7659
7857
|
return remap(v, {
|
|
7660
7858
|
spendLimits: "spend_limits",
|
|
7661
|
-
usageAlerts: "usage_alerts"
|
|
7859
|
+
usageAlerts: "usage_alerts",
|
|
7860
|
+
overageAllowed: "overage_allowed"
|
|
7662
7861
|
});
|
|
7663
7862
|
})
|
|
7664
7863
|
);
|
|
@@ -8029,11 +8228,13 @@ var PreviewAttachExpiryDurationType$outboundSchema = z39__namespace.enum(Preview
|
|
|
8029
8228
|
var PreviewAttachRollover$outboundSchema = z39__namespace.pipe(
|
|
8030
8229
|
z39__namespace.object({
|
|
8031
8230
|
max: z39__namespace.optional(z39__namespace.number()),
|
|
8231
|
+
maxPercentage: z39__namespace.optional(z39__namespace.number()),
|
|
8032
8232
|
expiryDurationType: PreviewAttachExpiryDurationType$outboundSchema,
|
|
8033
8233
|
expiryDurationLength: z39__namespace.optional(z39__namespace.number())
|
|
8034
8234
|
}),
|
|
8035
8235
|
z39__namespace.transform((v) => {
|
|
8036
8236
|
return remap(v, {
|
|
8237
|
+
maxPercentage: "max_percentage",
|
|
8037
8238
|
expiryDurationType: "expiry_duration_type",
|
|
8038
8239
|
expiryDurationLength: "expiry_duration_length"
|
|
8039
8240
|
});
|
|
@@ -8766,11 +8967,13 @@ var PreviewMultiAttachExpiryDurationType$outboundSchema = z39__namespace.enum(Pr
|
|
|
8766
8967
|
var PreviewMultiAttachRollover$outboundSchema = z39__namespace.pipe(
|
|
8767
8968
|
z39__namespace.object({
|
|
8768
8969
|
max: z39__namespace.optional(z39__namespace.number()),
|
|
8970
|
+
maxPercentage: z39__namespace.optional(z39__namespace.number()),
|
|
8769
8971
|
expiryDurationType: PreviewMultiAttachExpiryDurationType$outboundSchema,
|
|
8770
8972
|
expiryDurationLength: z39__namespace.optional(z39__namespace.number())
|
|
8771
8973
|
}),
|
|
8772
8974
|
z39__namespace.transform((v) => {
|
|
8773
8975
|
return remap(v, {
|
|
8976
|
+
maxPercentage: "max_percentage",
|
|
8774
8977
|
expiryDurationType: "expiry_duration_type",
|
|
8775
8978
|
expiryDurationLength: "expiry_duration_length"
|
|
8776
8979
|
});
|
|
@@ -8974,6 +9177,24 @@ function previewMultiAttachUsageAlertToJSON(previewMultiAttachUsageAlert) {
|
|
|
8974
9177
|
)
|
|
8975
9178
|
);
|
|
8976
9179
|
}
|
|
9180
|
+
var PreviewMultiAttachOverageAllowed$outboundSchema = z39__namespace.pipe(
|
|
9181
|
+
z39__namespace.object({
|
|
9182
|
+
featureId: z39__namespace.string(),
|
|
9183
|
+
enabled: z39__namespace._default(z39__namespace.boolean(), false)
|
|
9184
|
+
}),
|
|
9185
|
+
z39__namespace.transform((v) => {
|
|
9186
|
+
return remap(v, {
|
|
9187
|
+
featureId: "feature_id"
|
|
9188
|
+
});
|
|
9189
|
+
})
|
|
9190
|
+
);
|
|
9191
|
+
function previewMultiAttachOverageAllowedToJSON(previewMultiAttachOverageAllowed) {
|
|
9192
|
+
return JSON.stringify(
|
|
9193
|
+
PreviewMultiAttachOverageAllowed$outboundSchema.parse(
|
|
9194
|
+
previewMultiAttachOverageAllowed
|
|
9195
|
+
)
|
|
9196
|
+
);
|
|
9197
|
+
}
|
|
8977
9198
|
var PreviewMultiAttachBillingControls$outboundSchema = z39__namespace.pipe(
|
|
8978
9199
|
z39__namespace.object({
|
|
8979
9200
|
spendLimits: z39__namespace.optional(
|
|
@@ -8981,12 +9202,16 @@ var PreviewMultiAttachBillingControls$outboundSchema = z39__namespace.pipe(
|
|
|
8981
9202
|
),
|
|
8982
9203
|
usageAlerts: z39__namespace.optional(
|
|
8983
9204
|
z39__namespace.array(z39__namespace.lazy(() => PreviewMultiAttachUsageAlert$outboundSchema))
|
|
9205
|
+
),
|
|
9206
|
+
overageAllowed: z39__namespace.optional(
|
|
9207
|
+
z39__namespace.array(z39__namespace.lazy(() => PreviewMultiAttachOverageAllowed$outboundSchema))
|
|
8984
9208
|
)
|
|
8985
9209
|
}),
|
|
8986
9210
|
z39__namespace.transform((v) => {
|
|
8987
9211
|
return remap(v, {
|
|
8988
9212
|
spendLimits: "spend_limits",
|
|
8989
|
-
usageAlerts: "usage_alerts"
|
|
9213
|
+
usageAlerts: "usage_alerts",
|
|
9214
|
+
overageAllowed: "overage_allowed"
|
|
8990
9215
|
});
|
|
8991
9216
|
})
|
|
8992
9217
|
);
|
|
@@ -9597,11 +9822,13 @@ var PreviewUpdateExpiryDurationType$outboundSchema = z39__namespace.enum(Preview
|
|
|
9597
9822
|
var PreviewUpdateRollover$outboundSchema = z39__namespace.pipe(
|
|
9598
9823
|
z39__namespace.object({
|
|
9599
9824
|
max: z39__namespace.optional(z39__namespace.number()),
|
|
9825
|
+
maxPercentage: z39__namespace.optional(z39__namespace.number()),
|
|
9600
9826
|
expiryDurationType: PreviewUpdateExpiryDurationType$outboundSchema,
|
|
9601
9827
|
expiryDurationLength: z39__namespace.optional(z39__namespace.number())
|
|
9602
9828
|
}),
|
|
9603
9829
|
z39__namespace.transform((v) => {
|
|
9604
9830
|
return remap(v, {
|
|
9831
|
+
maxPercentage: "max_percentage",
|
|
9605
9832
|
expiryDurationType: "expiry_duration_type",
|
|
9606
9833
|
expiryDurationLength: "expiry_duration_length"
|
|
9607
9834
|
});
|
|
@@ -10301,11 +10528,13 @@ var SetupPaymentExpiryDurationType$outboundSchema = z39__namespace.enum(SetupPay
|
|
|
10301
10528
|
var SetupPaymentRollover$outboundSchema = z39__namespace.pipe(
|
|
10302
10529
|
z39__namespace.object({
|
|
10303
10530
|
max: z39__namespace.optional(z39__namespace.number()),
|
|
10531
|
+
maxPercentage: z39__namespace.optional(z39__namespace.number()),
|
|
10304
10532
|
expiryDurationType: SetupPaymentExpiryDurationType$outboundSchema,
|
|
10305
10533
|
expiryDurationLength: z39__namespace.optional(z39__namespace.number())
|
|
10306
10534
|
}),
|
|
10307
10535
|
z39__namespace.transform((v) => {
|
|
10308
10536
|
return remap(v, {
|
|
10537
|
+
maxPercentage: "max_percentage",
|
|
10309
10538
|
expiryDurationType: "expiry_duration_type",
|
|
10310
10539
|
expiryDurationLength: "expiry_duration_length"
|
|
10311
10540
|
});
|
|
@@ -10752,6 +10981,24 @@ function updateCustomerUsageAlertRequestBodyToJSON(updateCustomerUsageAlertReque
|
|
|
10752
10981
|
)
|
|
10753
10982
|
);
|
|
10754
10983
|
}
|
|
10984
|
+
var UpdateCustomerOverageAllowedRequest$outboundSchema = z39__namespace.pipe(
|
|
10985
|
+
z39__namespace.object({
|
|
10986
|
+
featureId: z39__namespace.string(),
|
|
10987
|
+
enabled: z39__namespace._default(z39__namespace.boolean(), false)
|
|
10988
|
+
}),
|
|
10989
|
+
z39__namespace.transform((v) => {
|
|
10990
|
+
return remap(v, {
|
|
10991
|
+
featureId: "feature_id"
|
|
10992
|
+
});
|
|
10993
|
+
})
|
|
10994
|
+
);
|
|
10995
|
+
function updateCustomerOverageAllowedRequestToJSON(updateCustomerOverageAllowedRequest) {
|
|
10996
|
+
return JSON.stringify(
|
|
10997
|
+
UpdateCustomerOverageAllowedRequest$outboundSchema.parse(
|
|
10998
|
+
updateCustomerOverageAllowedRequest
|
|
10999
|
+
)
|
|
11000
|
+
);
|
|
11001
|
+
}
|
|
10755
11002
|
var UpdateCustomerBillingControlsRequest$outboundSchema = z39__namespace.pipe(
|
|
10756
11003
|
z39__namespace.object({
|
|
10757
11004
|
autoTopups: z39__namespace.optional(
|
|
@@ -10762,13 +11009,17 @@ var UpdateCustomerBillingControlsRequest$outboundSchema = z39__namespace.pipe(
|
|
|
10762
11009
|
),
|
|
10763
11010
|
usageAlerts: z39__namespace.optional(
|
|
10764
11011
|
z39__namespace.array(z39__namespace.lazy(() => UpdateCustomerUsageAlertRequestBody$outboundSchema))
|
|
11012
|
+
),
|
|
11013
|
+
overageAllowed: z39__namespace.optional(
|
|
11014
|
+
z39__namespace.array(z39__namespace.lazy(() => UpdateCustomerOverageAllowedRequest$outboundSchema))
|
|
10765
11015
|
)
|
|
10766
11016
|
}),
|
|
10767
11017
|
z39__namespace.transform((v) => {
|
|
10768
11018
|
return remap(v, {
|
|
10769
11019
|
autoTopups: "auto_topups",
|
|
10770
11020
|
spendLimits: "spend_limits",
|
|
10771
|
-
usageAlerts: "usage_alerts"
|
|
11021
|
+
usageAlerts: "usage_alerts",
|
|
11022
|
+
overageAllowed: "overage_allowed"
|
|
10772
11023
|
});
|
|
10773
11024
|
})
|
|
10774
11025
|
);
|
|
@@ -10896,6 +11147,24 @@ function updateCustomerUsageAlertResponseFromJSON(jsonString) {
|
|
|
10896
11147
|
`Failed to parse 'UpdateCustomerUsageAlertResponse' from JSON`
|
|
10897
11148
|
);
|
|
10898
11149
|
}
|
|
11150
|
+
var UpdateCustomerOverageAllowedResponse$inboundSchema = z39__namespace.pipe(
|
|
11151
|
+
z39__namespace.object({
|
|
11152
|
+
feature_id: string4(),
|
|
11153
|
+
enabled: z39__namespace._default(boolean2(), false)
|
|
11154
|
+
}),
|
|
11155
|
+
z39__namespace.transform((v) => {
|
|
11156
|
+
return remap(v, {
|
|
11157
|
+
"feature_id": "featureId"
|
|
11158
|
+
});
|
|
11159
|
+
})
|
|
11160
|
+
);
|
|
11161
|
+
function updateCustomerOverageAllowedResponseFromJSON(jsonString) {
|
|
11162
|
+
return safeParse(
|
|
11163
|
+
jsonString,
|
|
11164
|
+
(x) => UpdateCustomerOverageAllowedResponse$inboundSchema.parse(JSON.parse(x)),
|
|
11165
|
+
`Failed to parse 'UpdateCustomerOverageAllowedResponse' from JSON`
|
|
11166
|
+
);
|
|
11167
|
+
}
|
|
10899
11168
|
var UpdateCustomerBillingControlsResponse$inboundSchema = z39__namespace.pipe(
|
|
10900
11169
|
z39__namespace.object({
|
|
10901
11170
|
auto_topups: optional2(
|
|
@@ -10906,13 +11175,17 @@ var UpdateCustomerBillingControlsResponse$inboundSchema = z39__namespace.pipe(
|
|
|
10906
11175
|
),
|
|
10907
11176
|
usage_alerts: optional2(
|
|
10908
11177
|
z39__namespace.array(z39__namespace.lazy(() => UpdateCustomerUsageAlertResponse$inboundSchema))
|
|
11178
|
+
),
|
|
11179
|
+
overage_allowed: optional2(
|
|
11180
|
+
z39__namespace.array(z39__namespace.lazy(() => UpdateCustomerOverageAllowedResponse$inboundSchema))
|
|
10909
11181
|
)
|
|
10910
11182
|
}),
|
|
10911
11183
|
z39__namespace.transform((v) => {
|
|
10912
11184
|
return remap(v, {
|
|
10913
11185
|
"auto_topups": "autoTopups",
|
|
10914
11186
|
"spend_limits": "spendLimits",
|
|
10915
|
-
"usage_alerts": "usageAlerts"
|
|
11187
|
+
"usage_alerts": "usageAlerts",
|
|
11188
|
+
"overage_allowed": "overageAllowed"
|
|
10916
11189
|
});
|
|
10917
11190
|
})
|
|
10918
11191
|
);
|
|
@@ -11171,6 +11444,24 @@ function updateEntityUsageAlertRequestBodyToJSON(updateEntityUsageAlertRequestBo
|
|
|
11171
11444
|
)
|
|
11172
11445
|
);
|
|
11173
11446
|
}
|
|
11447
|
+
var UpdateEntityOverageAllowedRequest$outboundSchema = z39__namespace.pipe(
|
|
11448
|
+
z39__namespace.object({
|
|
11449
|
+
featureId: z39__namespace.string(),
|
|
11450
|
+
enabled: z39__namespace._default(z39__namespace.boolean(), false)
|
|
11451
|
+
}),
|
|
11452
|
+
z39__namespace.transform((v) => {
|
|
11453
|
+
return remap(v, {
|
|
11454
|
+
featureId: "feature_id"
|
|
11455
|
+
});
|
|
11456
|
+
})
|
|
11457
|
+
);
|
|
11458
|
+
function updateEntityOverageAllowedRequestToJSON(updateEntityOverageAllowedRequest) {
|
|
11459
|
+
return JSON.stringify(
|
|
11460
|
+
UpdateEntityOverageAllowedRequest$outboundSchema.parse(
|
|
11461
|
+
updateEntityOverageAllowedRequest
|
|
11462
|
+
)
|
|
11463
|
+
);
|
|
11464
|
+
}
|
|
11174
11465
|
var UpdateEntityBillingControlsRequest$outboundSchema = z39__namespace.pipe(
|
|
11175
11466
|
z39__namespace.object({
|
|
11176
11467
|
spendLimits: z39__namespace.optional(
|
|
@@ -11178,12 +11469,16 @@ var UpdateEntityBillingControlsRequest$outboundSchema = z39__namespace.pipe(
|
|
|
11178
11469
|
),
|
|
11179
11470
|
usageAlerts: z39__namespace.optional(
|
|
11180
11471
|
z39__namespace.array(z39__namespace.lazy(() => UpdateEntityUsageAlertRequestBody$outboundSchema))
|
|
11472
|
+
),
|
|
11473
|
+
overageAllowed: z39__namespace.optional(
|
|
11474
|
+
z39__namespace.array(z39__namespace.lazy(() => UpdateEntityOverageAllowedRequest$outboundSchema))
|
|
11181
11475
|
)
|
|
11182
11476
|
}),
|
|
11183
11477
|
z39__namespace.transform((v) => {
|
|
11184
11478
|
return remap(v, {
|
|
11185
11479
|
spendLimits: "spend_limits",
|
|
11186
|
-
usageAlerts: "usage_alerts"
|
|
11480
|
+
usageAlerts: "usage_alerts",
|
|
11481
|
+
overageAllowed: "overage_allowed"
|
|
11187
11482
|
});
|
|
11188
11483
|
})
|
|
11189
11484
|
);
|
|
@@ -11403,6 +11698,24 @@ function updateEntityUsageAlertResponseFromJSON(jsonString) {
|
|
|
11403
11698
|
`Failed to parse 'UpdateEntityUsageAlertResponse' from JSON`
|
|
11404
11699
|
);
|
|
11405
11700
|
}
|
|
11701
|
+
var UpdateEntityOverageAllowedResponse$inboundSchema = z39__namespace.pipe(
|
|
11702
|
+
z39__namespace.object({
|
|
11703
|
+
feature_id: string4(),
|
|
11704
|
+
enabled: z39__namespace._default(boolean2(), false)
|
|
11705
|
+
}),
|
|
11706
|
+
z39__namespace.transform((v) => {
|
|
11707
|
+
return remap(v, {
|
|
11708
|
+
"feature_id": "featureId"
|
|
11709
|
+
});
|
|
11710
|
+
})
|
|
11711
|
+
);
|
|
11712
|
+
function updateEntityOverageAllowedResponseFromJSON(jsonString) {
|
|
11713
|
+
return safeParse(
|
|
11714
|
+
jsonString,
|
|
11715
|
+
(x) => UpdateEntityOverageAllowedResponse$inboundSchema.parse(JSON.parse(x)),
|
|
11716
|
+
`Failed to parse 'UpdateEntityOverageAllowedResponse' from JSON`
|
|
11717
|
+
);
|
|
11718
|
+
}
|
|
11406
11719
|
var UpdateEntityBillingControlsResponse$inboundSchema = z39__namespace.pipe(
|
|
11407
11720
|
z39__namespace.object({
|
|
11408
11721
|
spend_limits: optional2(
|
|
@@ -11410,12 +11723,16 @@ var UpdateEntityBillingControlsResponse$inboundSchema = z39__namespace.pipe(
|
|
|
11410
11723
|
),
|
|
11411
11724
|
usage_alerts: optional2(
|
|
11412
11725
|
z39__namespace.array(z39__namespace.lazy(() => UpdateEntityUsageAlertResponse$inboundSchema))
|
|
11726
|
+
),
|
|
11727
|
+
overage_allowed: optional2(
|
|
11728
|
+
z39__namespace.array(z39__namespace.lazy(() => UpdateEntityOverageAllowedResponse$inboundSchema))
|
|
11413
11729
|
)
|
|
11414
11730
|
}),
|
|
11415
11731
|
z39__namespace.transform((v) => {
|
|
11416
11732
|
return remap(v, {
|
|
11417
11733
|
"spend_limits": "spendLimits",
|
|
11418
|
-
"usage_alerts": "usageAlerts"
|
|
11734
|
+
"usage_alerts": "usageAlerts",
|
|
11735
|
+
"overage_allowed": "overageAllowed"
|
|
11419
11736
|
});
|
|
11420
11737
|
})
|
|
11421
11738
|
);
|
|
@@ -11849,11 +12166,13 @@ var UpdatePlanExpiryDurationTypeRequest$outboundSchema = z39__namespace.enum(Upd
|
|
|
11849
12166
|
var UpdatePlanRolloverRequest$outboundSchema = z39__namespace.pipe(
|
|
11850
12167
|
z39__namespace.object({
|
|
11851
12168
|
max: z39__namespace.optional(z39__namespace.number()),
|
|
12169
|
+
maxPercentage: z39__namespace.optional(z39__namespace.number()),
|
|
11852
12170
|
expiryDurationType: UpdatePlanExpiryDurationTypeRequest$outboundSchema,
|
|
11853
12171
|
expiryDurationLength: z39__namespace.optional(z39__namespace.number())
|
|
11854
12172
|
}),
|
|
11855
12173
|
z39__namespace.transform((v) => {
|
|
11856
12174
|
return remap(v, {
|
|
12175
|
+
maxPercentage: "max_percentage",
|
|
11857
12176
|
expiryDurationType: "expiry_duration_type",
|
|
11858
12177
|
expiryDurationLength: "expiry_duration_length"
|
|
11859
12178
|
});
|
|
@@ -12114,11 +12433,13 @@ var UpdatePlanExpiryDurationTypeResponse$inboundSchema = inboundSchema(UpdatePla
|
|
|
12114
12433
|
var UpdatePlanRolloverResponse$inboundSchema = z39__namespace.pipe(
|
|
12115
12434
|
z39__namespace.object({
|
|
12116
12435
|
max: nullable(number2()),
|
|
12436
|
+
max_percentage: z39__namespace.optional(z39__namespace.nullable(number2())),
|
|
12117
12437
|
expiry_duration_type: UpdatePlanExpiryDurationTypeResponse$inboundSchema,
|
|
12118
12438
|
expiry_duration_length: optional2(number2())
|
|
12119
12439
|
}),
|
|
12120
12440
|
z39__namespace.transform((v) => {
|
|
12121
12441
|
return remap(v, {
|
|
12442
|
+
"max_percentage": "maxPercentage",
|
|
12122
12443
|
"expiry_duration_type": "expiryDurationType",
|
|
12123
12444
|
"expiry_duration_length": "expiryDurationLength"
|
|
12124
12445
|
});
|
|
@@ -12431,7 +12752,8 @@ async function $do2(client, request, options) {
|
|
|
12431
12752
|
var FAIL_OPEN_OPERATION_IDS = /* @__PURE__ */ new Set([
|
|
12432
12753
|
"check",
|
|
12433
12754
|
"track",
|
|
12434
|
-
"getOrCreateCustomer"
|
|
12755
|
+
"getOrCreateCustomer",
|
|
12756
|
+
"getEntity"
|
|
12435
12757
|
]);
|
|
12436
12758
|
var FAIL_OPEN_LOG_MESSAGE = "[Autumn] Request failed \u2014 failing open. Learn more: https://docs.useautumn.com/documentation/fail-open";
|
|
12437
12759
|
var FAIL_OPEN_BODIES = {
|
|
@@ -12461,6 +12783,18 @@ var FAIL_OPEN_BODIES = {
|
|
|
12461
12783
|
purchases: [],
|
|
12462
12784
|
balances: {},
|
|
12463
12785
|
flags: {}
|
|
12786
|
+
},
|
|
12787
|
+
getEntity: {
|
|
12788
|
+
id: null,
|
|
12789
|
+
name: null,
|
|
12790
|
+
customer_id: null,
|
|
12791
|
+
feature_id: null,
|
|
12792
|
+
created_at: 0,
|
|
12793
|
+
env: "live",
|
|
12794
|
+
subscriptions: [],
|
|
12795
|
+
purchases: [],
|
|
12796
|
+
balances: {},
|
|
12797
|
+
flags: {}
|
|
12464
12798
|
}
|
|
12465
12799
|
};
|
|
12466
12800
|
var FailOpenHook = class {
|
|
@@ -16799,6 +17133,8 @@ exports.CreateEntityEnv$inboundSchema = CreateEntityEnv$inboundSchema;
|
|
|
16799
17133
|
exports.CreateEntityFeature$inboundSchema = CreateEntityFeature$inboundSchema;
|
|
16800
17134
|
exports.CreateEntityFlags$inboundSchema = CreateEntityFlags$inboundSchema;
|
|
16801
17135
|
exports.CreateEntityInvoice$inboundSchema = CreateEntityInvoice$inboundSchema;
|
|
17136
|
+
exports.CreateEntityOverageAllowedRequest$outboundSchema = CreateEntityOverageAllowedRequest$outboundSchema;
|
|
17137
|
+
exports.CreateEntityOverageAllowedResponse$inboundSchema = CreateEntityOverageAllowedResponse$inboundSchema;
|
|
16802
17138
|
exports.CreateEntityParams$outboundSchema = CreateEntityParams$outboundSchema;
|
|
16803
17139
|
exports.CreateEntityPurchase$inboundSchema = CreateEntityPurchase$inboundSchema;
|
|
16804
17140
|
exports.CreateEntityResponse$inboundSchema = CreateEntityResponse$inboundSchema;
|
|
@@ -16898,6 +17234,7 @@ exports.CustomerDataAutoTopup$outboundSchema = CustomerDataAutoTopup$outboundSch
|
|
|
16898
17234
|
exports.CustomerDataBillingControls$outboundSchema = CustomerDataBillingControls$outboundSchema;
|
|
16899
17235
|
exports.CustomerDataInterval = CustomerDataInterval;
|
|
16900
17236
|
exports.CustomerDataInterval$outboundSchema = CustomerDataInterval$outboundSchema;
|
|
17237
|
+
exports.CustomerDataOverageAllowed$outboundSchema = CustomerDataOverageAllowed$outboundSchema;
|
|
16901
17238
|
exports.CustomerDataPurchaseLimit$outboundSchema = CustomerDataPurchaseLimit$outboundSchema;
|
|
16902
17239
|
exports.CustomerDataSpendLimit$outboundSchema = CustomerDataSpendLimit$outboundSchema;
|
|
16903
17240
|
exports.CustomerDataThresholdType = CustomerDataThresholdType;
|
|
@@ -16914,6 +17251,7 @@ exports.CustomerFlagsType = CustomerFlagsType;
|
|
|
16914
17251
|
exports.CustomerFlagsType$inboundSchema = CustomerFlagsType$inboundSchema;
|
|
16915
17252
|
exports.CustomerInterval = CustomerInterval;
|
|
16916
17253
|
exports.CustomerInterval$inboundSchema = CustomerInterval$inboundSchema;
|
|
17254
|
+
exports.CustomerOverageAllowed$inboundSchema = CustomerOverageAllowed$inboundSchema;
|
|
16917
17255
|
exports.CustomerPurchaseLimit$inboundSchema = CustomerPurchaseLimit$inboundSchema;
|
|
16918
17256
|
exports.CustomerSpendLimit$inboundSchema = CustomerSpendLimit$inboundSchema;
|
|
16919
17257
|
exports.CustomerStatus = CustomerStatus;
|
|
@@ -16962,6 +17300,7 @@ exports.GetEntityEnv$inboundSchema = GetEntityEnv$inboundSchema;
|
|
|
16962
17300
|
exports.GetEntityFeature$inboundSchema = GetEntityFeature$inboundSchema;
|
|
16963
17301
|
exports.GetEntityFlags$inboundSchema = GetEntityFlags$inboundSchema;
|
|
16964
17302
|
exports.GetEntityInvoice$inboundSchema = GetEntityInvoice$inboundSchema;
|
|
17303
|
+
exports.GetEntityOverageAllowed$inboundSchema = GetEntityOverageAllowed$inboundSchema;
|
|
16965
17304
|
exports.GetEntityParams$outboundSchema = GetEntityParams$outboundSchema;
|
|
16966
17305
|
exports.GetEntityPurchase$inboundSchema = GetEntityPurchase$inboundSchema;
|
|
16967
17306
|
exports.GetEntityResponse$inboundSchema = GetEntityResponse$inboundSchema;
|
|
@@ -16984,6 +17323,7 @@ exports.GetOrCreateCustomerAutoTopup$outboundSchema = GetOrCreateCustomerAutoTop
|
|
|
16984
17323
|
exports.GetOrCreateCustomerBillingControls$outboundSchema = GetOrCreateCustomerBillingControls$outboundSchema;
|
|
16985
17324
|
exports.GetOrCreateCustomerInterval = GetOrCreateCustomerInterval;
|
|
16986
17325
|
exports.GetOrCreateCustomerInterval$outboundSchema = GetOrCreateCustomerInterval$outboundSchema;
|
|
17326
|
+
exports.GetOrCreateCustomerOverageAllowed$outboundSchema = GetOrCreateCustomerOverageAllowed$outboundSchema;
|
|
16987
17327
|
exports.GetOrCreateCustomerParams$outboundSchema = GetOrCreateCustomerParams$outboundSchema;
|
|
16988
17328
|
exports.GetOrCreateCustomerPurchaseLimit$outboundSchema = GetOrCreateCustomerPurchaseLimit$outboundSchema;
|
|
16989
17329
|
exports.GetOrCreateCustomerSpendLimit$outboundSchema = GetOrCreateCustomerSpendLimit$outboundSchema;
|
|
@@ -17046,6 +17386,7 @@ exports.ListCustomersFlags$inboundSchema = ListCustomersFlags$inboundSchema;
|
|
|
17046
17386
|
exports.ListCustomersInterval = ListCustomersInterval;
|
|
17047
17387
|
exports.ListCustomersInterval$inboundSchema = ListCustomersInterval$inboundSchema;
|
|
17048
17388
|
exports.ListCustomersList$inboundSchema = ListCustomersList$inboundSchema;
|
|
17389
|
+
exports.ListCustomersOverageAllowed$inboundSchema = ListCustomersOverageAllowed$inboundSchema;
|
|
17049
17390
|
exports.ListCustomersParams$outboundSchema = ListCustomersParams$outboundSchema;
|
|
17050
17391
|
exports.ListCustomersPlan$outboundSchema = ListCustomersPlan$outboundSchema;
|
|
17051
17392
|
exports.ListCustomersPurchase$inboundSchema = ListCustomersPurchase$inboundSchema;
|
|
@@ -17132,6 +17473,7 @@ exports.MultiAttachOnDecrease = MultiAttachOnDecrease;
|
|
|
17132
17473
|
exports.MultiAttachOnDecrease$outboundSchema = MultiAttachOnDecrease$outboundSchema;
|
|
17133
17474
|
exports.MultiAttachOnIncrease = MultiAttachOnIncrease;
|
|
17134
17475
|
exports.MultiAttachOnIncrease$outboundSchema = MultiAttachOnIncrease$outboundSchema;
|
|
17476
|
+
exports.MultiAttachOverageAllowed$outboundSchema = MultiAttachOverageAllowed$outboundSchema;
|
|
17135
17477
|
exports.MultiAttachParams$outboundSchema = MultiAttachParams$outboundSchema;
|
|
17136
17478
|
exports.MultiAttachPlan$outboundSchema = MultiAttachPlan$outboundSchema;
|
|
17137
17479
|
exports.MultiAttachPlanItem$outboundSchema = MultiAttachPlanItem$outboundSchema;
|
|
@@ -17275,6 +17617,7 @@ exports.PreviewMultiAttachOnIncrease = PreviewMultiAttachOnIncrease;
|
|
|
17275
17617
|
exports.PreviewMultiAttachOnIncrease$outboundSchema = PreviewMultiAttachOnIncrease$outboundSchema;
|
|
17276
17618
|
exports.PreviewMultiAttachOutgoing$inboundSchema = PreviewMultiAttachOutgoing$inboundSchema;
|
|
17277
17619
|
exports.PreviewMultiAttachOutgoingFeatureQuantity$inboundSchema = PreviewMultiAttachOutgoingFeatureQuantity$inboundSchema;
|
|
17620
|
+
exports.PreviewMultiAttachOverageAllowed$outboundSchema = PreviewMultiAttachOverageAllowed$outboundSchema;
|
|
17278
17621
|
exports.PreviewMultiAttachParams$outboundSchema = PreviewMultiAttachParams$outboundSchema;
|
|
17279
17622
|
exports.PreviewMultiAttachPlan$outboundSchema = PreviewMultiAttachPlan$outboundSchema;
|
|
17280
17623
|
exports.PreviewMultiAttachPlanFeatureQuantity$outboundSchema = PreviewMultiAttachPlanFeatureQuantity$outboundSchema;
|
|
@@ -17443,6 +17786,8 @@ exports.UpdateCustomerIntervalRequest = UpdateCustomerIntervalRequest;
|
|
|
17443
17786
|
exports.UpdateCustomerIntervalRequest$outboundSchema = UpdateCustomerIntervalRequest$outboundSchema;
|
|
17444
17787
|
exports.UpdateCustomerIntervalResponse = UpdateCustomerIntervalResponse;
|
|
17445
17788
|
exports.UpdateCustomerIntervalResponse$inboundSchema = UpdateCustomerIntervalResponse$inboundSchema;
|
|
17789
|
+
exports.UpdateCustomerOverageAllowedRequest$outboundSchema = UpdateCustomerOverageAllowedRequest$outboundSchema;
|
|
17790
|
+
exports.UpdateCustomerOverageAllowedResponse$inboundSchema = UpdateCustomerOverageAllowedResponse$inboundSchema;
|
|
17446
17791
|
exports.UpdateCustomerParams$outboundSchema = UpdateCustomerParams$outboundSchema;
|
|
17447
17792
|
exports.UpdateCustomerPurchase$inboundSchema = UpdateCustomerPurchase$inboundSchema;
|
|
17448
17793
|
exports.UpdateCustomerPurchaseLimitRequest$outboundSchema = UpdateCustomerPurchaseLimitRequest$outboundSchema;
|
|
@@ -17470,6 +17815,8 @@ exports.UpdateEntityEnv$inboundSchema = UpdateEntityEnv$inboundSchema;
|
|
|
17470
17815
|
exports.UpdateEntityFeature$inboundSchema = UpdateEntityFeature$inboundSchema;
|
|
17471
17816
|
exports.UpdateEntityFlags$inboundSchema = UpdateEntityFlags$inboundSchema;
|
|
17472
17817
|
exports.UpdateEntityInvoice$inboundSchema = UpdateEntityInvoice$inboundSchema;
|
|
17818
|
+
exports.UpdateEntityOverageAllowedRequest$outboundSchema = UpdateEntityOverageAllowedRequest$outboundSchema;
|
|
17819
|
+
exports.UpdateEntityOverageAllowedResponse$inboundSchema = UpdateEntityOverageAllowedResponse$inboundSchema;
|
|
17473
17820
|
exports.UpdateEntityParams$outboundSchema = UpdateEntityParams$outboundSchema;
|
|
17474
17821
|
exports.UpdateEntityPurchase$inboundSchema = UpdateEntityPurchase$inboundSchema;
|
|
17475
17822
|
exports.UpdateEntityResponse$inboundSchema = UpdateEntityResponse$inboundSchema;
|
|
@@ -17630,6 +17977,8 @@ exports.createEntityDisplayFromJSON = createEntityDisplayFromJSON;
|
|
|
17630
17977
|
exports.createEntityFeatureFromJSON = createEntityFeatureFromJSON;
|
|
17631
17978
|
exports.createEntityFlagsFromJSON = createEntityFlagsFromJSON;
|
|
17632
17979
|
exports.createEntityInvoiceFromJSON = createEntityInvoiceFromJSON;
|
|
17980
|
+
exports.createEntityOverageAllowedRequestToJSON = createEntityOverageAllowedRequestToJSON;
|
|
17981
|
+
exports.createEntityOverageAllowedResponseFromJSON = createEntityOverageAllowedResponseFromJSON;
|
|
17633
17982
|
exports.createEntityParamsToJSON = createEntityParamsToJSON;
|
|
17634
17983
|
exports.createEntityPurchaseFromJSON = createEntityPurchaseFromJSON;
|
|
17635
17984
|
exports.createEntityResponseFromJSON = createEntityResponseFromJSON;
|
|
@@ -17673,6 +18022,7 @@ exports.customerBillingControlsFromJSON = customerBillingControlsFromJSON;
|
|
|
17673
18022
|
exports.customerCreditSchemaFromJSON = customerCreditSchemaFromJSON;
|
|
17674
18023
|
exports.customerDataAutoTopupToJSON = customerDataAutoTopupToJSON;
|
|
17675
18024
|
exports.customerDataBillingControlsToJSON = customerDataBillingControlsToJSON;
|
|
18025
|
+
exports.customerDataOverageAllowedToJSON = customerDataOverageAllowedToJSON;
|
|
17676
18026
|
exports.customerDataPurchaseLimitToJSON = customerDataPurchaseLimitToJSON;
|
|
17677
18027
|
exports.customerDataSpendLimitToJSON = customerDataSpendLimitToJSON;
|
|
17678
18028
|
exports.customerDataToJSON = customerDataToJSON;
|
|
@@ -17681,6 +18031,7 @@ exports.customerDisplayFromJSON = customerDisplayFromJSON;
|
|
|
17681
18031
|
exports.customerEligibilityFromJSON = customerEligibilityFromJSON;
|
|
17682
18032
|
exports.customerFeatureFromJSON = customerFeatureFromJSON;
|
|
17683
18033
|
exports.customerFromJSON = customerFromJSON;
|
|
18034
|
+
exports.customerOverageAllowedFromJSON = customerOverageAllowedFromJSON;
|
|
17684
18035
|
exports.customerPurchaseLimitFromJSON = customerPurchaseLimitFromJSON;
|
|
17685
18036
|
exports.customerSpendLimitFromJSON = customerSpendLimitFromJSON;
|
|
17686
18037
|
exports.customerUsageAlertFromJSON = customerUsageAlertFromJSON;
|
|
@@ -17713,6 +18064,7 @@ exports.getEntityDisplayFromJSON = getEntityDisplayFromJSON;
|
|
|
17713
18064
|
exports.getEntityFeatureFromJSON = getEntityFeatureFromJSON;
|
|
17714
18065
|
exports.getEntityFlagsFromJSON = getEntityFlagsFromJSON;
|
|
17715
18066
|
exports.getEntityInvoiceFromJSON = getEntityInvoiceFromJSON;
|
|
18067
|
+
exports.getEntityOverageAllowedFromJSON = getEntityOverageAllowedFromJSON;
|
|
17716
18068
|
exports.getEntityParamsToJSON = getEntityParamsToJSON;
|
|
17717
18069
|
exports.getEntityPurchaseFromJSON = getEntityPurchaseFromJSON;
|
|
17718
18070
|
exports.getEntityResponseFromJSON = getEntityResponseFromJSON;
|
|
@@ -17725,6 +18077,7 @@ exports.getFeatureParamsToJSON = getFeatureParamsToJSON;
|
|
|
17725
18077
|
exports.getFeatureResponseFromJSON = getFeatureResponseFromJSON;
|
|
17726
18078
|
exports.getOrCreateCustomerAutoTopupToJSON = getOrCreateCustomerAutoTopupToJSON;
|
|
17727
18079
|
exports.getOrCreateCustomerBillingControlsToJSON = getOrCreateCustomerBillingControlsToJSON;
|
|
18080
|
+
exports.getOrCreateCustomerOverageAllowedToJSON = getOrCreateCustomerOverageAllowedToJSON;
|
|
17728
18081
|
exports.getOrCreateCustomerParamsToJSON = getOrCreateCustomerParamsToJSON;
|
|
17729
18082
|
exports.getOrCreateCustomerPurchaseLimitToJSON = getOrCreateCustomerPurchaseLimitToJSON;
|
|
17730
18083
|
exports.getOrCreateCustomerSpendLimitToJSON = getOrCreateCustomerSpendLimitToJSON;
|
|
@@ -17754,6 +18107,7 @@ exports.listCustomersDisplayFromJSON = listCustomersDisplayFromJSON;
|
|
|
17754
18107
|
exports.listCustomersFeatureFromJSON = listCustomersFeatureFromJSON;
|
|
17755
18108
|
exports.listCustomersFlagsFromJSON = listCustomersFlagsFromJSON;
|
|
17756
18109
|
exports.listCustomersListFromJSON = listCustomersListFromJSON;
|
|
18110
|
+
exports.listCustomersOverageAllowedFromJSON = listCustomersOverageAllowedFromJSON;
|
|
17757
18111
|
exports.listCustomersParamsToJSON = listCustomersParamsToJSON;
|
|
17758
18112
|
exports.listCustomersPlanToJSON = listCustomersPlanToJSON;
|
|
17759
18113
|
exports.listCustomersPurchaseFromJSON = listCustomersPurchaseFromJSON;
|
|
@@ -17796,6 +18150,7 @@ exports.multiAttachFeatureQuantityToJSON = multiAttachFeatureQuantityToJSON;
|
|
|
17796
18150
|
exports.multiAttachFreeTrialParamsToJSON = multiAttachFreeTrialParamsToJSON;
|
|
17797
18151
|
exports.multiAttachInvoiceFromJSON = multiAttachInvoiceFromJSON;
|
|
17798
18152
|
exports.multiAttachInvoiceModeToJSON = multiAttachInvoiceModeToJSON;
|
|
18153
|
+
exports.multiAttachOverageAllowedToJSON = multiAttachOverageAllowedToJSON;
|
|
17799
18154
|
exports.multiAttachParamsToJSON = multiAttachParamsToJSON;
|
|
17800
18155
|
exports.multiAttachPlanItemToJSON = multiAttachPlanItemToJSON;
|
|
17801
18156
|
exports.multiAttachPlanToJSON = multiAttachPlanToJSON;
|
|
@@ -17871,6 +18226,7 @@ exports.previewMultiAttachNextCycleLineItemFromJSON = previewMultiAttachNextCycl
|
|
|
17871
18226
|
exports.previewMultiAttachNextCycleLineItemPeriodFromJSON = previewMultiAttachNextCycleLineItemPeriodFromJSON;
|
|
17872
18227
|
exports.previewMultiAttachOutgoingFeatureQuantityFromJSON = previewMultiAttachOutgoingFeatureQuantityFromJSON;
|
|
17873
18228
|
exports.previewMultiAttachOutgoingFromJSON = previewMultiAttachOutgoingFromJSON;
|
|
18229
|
+
exports.previewMultiAttachOverageAllowedToJSON = previewMultiAttachOverageAllowedToJSON;
|
|
17874
18230
|
exports.previewMultiAttachParamsToJSON = previewMultiAttachParamsToJSON;
|
|
17875
18231
|
exports.previewMultiAttachPlanFeatureQuantityToJSON = previewMultiAttachPlanFeatureQuantityToJSON;
|
|
17876
18232
|
exports.previewMultiAttachPlanItemToJSON = previewMultiAttachPlanItemToJSON;
|
|
@@ -17958,6 +18314,8 @@ exports.updateCustomerCreditSchemaFromJSON = updateCustomerCreditSchemaFromJSON;
|
|
|
17958
18314
|
exports.updateCustomerDisplayFromJSON = updateCustomerDisplayFromJSON;
|
|
17959
18315
|
exports.updateCustomerFeatureFromJSON = updateCustomerFeatureFromJSON;
|
|
17960
18316
|
exports.updateCustomerFlagsFromJSON = updateCustomerFlagsFromJSON;
|
|
18317
|
+
exports.updateCustomerOverageAllowedRequestToJSON = updateCustomerOverageAllowedRequestToJSON;
|
|
18318
|
+
exports.updateCustomerOverageAllowedResponseFromJSON = updateCustomerOverageAllowedResponseFromJSON;
|
|
17961
18319
|
exports.updateCustomerParamsToJSON = updateCustomerParamsToJSON;
|
|
17962
18320
|
exports.updateCustomerPurchaseFromJSON = updateCustomerPurchaseFromJSON;
|
|
17963
18321
|
exports.updateCustomerPurchaseLimitRequestToJSON = updateCustomerPurchaseLimitRequestToJSON;
|
|
@@ -17975,6 +18333,8 @@ exports.updateEntityDisplayFromJSON = updateEntityDisplayFromJSON;
|
|
|
17975
18333
|
exports.updateEntityFeatureFromJSON = updateEntityFeatureFromJSON;
|
|
17976
18334
|
exports.updateEntityFlagsFromJSON = updateEntityFlagsFromJSON;
|
|
17977
18335
|
exports.updateEntityInvoiceFromJSON = updateEntityInvoiceFromJSON;
|
|
18336
|
+
exports.updateEntityOverageAllowedRequestToJSON = updateEntityOverageAllowedRequestToJSON;
|
|
18337
|
+
exports.updateEntityOverageAllowedResponseFromJSON = updateEntityOverageAllowedResponseFromJSON;
|
|
17978
18338
|
exports.updateEntityParamsToJSON = updateEntityParamsToJSON;
|
|
17979
18339
|
exports.updateEntityPurchaseFromJSON = updateEntityPurchaseFromJSON;
|
|
17980
18340
|
exports.updateEntityResponseFromJSON = updateEntityResponseFromJSON;
|