autumn-js 1.2.2 → 1.2.4
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 +361 -43
- package/dist/backend/adapters/express.mjs +5 -5
- package/dist/backend/adapters/fetch.d.mts +1 -1
- package/dist/backend/adapters/fetch.d.ts +1 -1
- package/dist/backend/adapters/fetch.js +361 -43
- package/dist/backend/adapters/fetch.mjs +5 -5
- package/dist/backend/adapters/hono.d.mts +1 -1
- package/dist/backend/adapters/hono.d.ts +1 -1
- package/dist/backend/adapters/hono.js +361 -43
- package/dist/backend/adapters/hono.mjs +5 -5
- package/dist/backend/adapters/index.d.mts +1 -1
- package/dist/backend/adapters/index.d.ts +1 -1
- package/dist/backend/adapters/index.js +361 -43
- package/dist/backend/adapters/index.mjs +8 -8
- package/dist/backend/adapters/next.d.mts +1 -1
- package/dist/backend/adapters/next.d.ts +1 -1
- package/dist/backend/adapters/next.js +361 -43
- package/dist/backend/adapters/next.mjs +5 -5
- package/dist/backend/{authTypes-BCoyMOAj.d.mts → authTypes-Bdpu8A6G.d.mts} +18 -0
- package/dist/backend/{authTypes-BCoyMOAj.d.ts → authTypes-Bdpu8A6G.d.ts} +18 -0
- package/dist/backend/{chunk-XU4OGYDV.mjs → chunk-3RN6TO3T.mjs} +60 -7
- package/dist/backend/{chunk-3QNAZFQH.mjs → chunk-AA2HLIP7.mjs} +2 -2
- package/dist/backend/{chunk-SX3CNUF5.mjs → chunk-AIKOHUUL.mjs} +1 -1
- package/dist/backend/{chunk-6BVI5XZX.mjs → chunk-BGGTI77T.mjs} +301 -36
- package/dist/backend/{chunk-OB47KG2H.mjs → chunk-MHFVVQCC.mjs} +1 -1
- package/dist/backend/{chunk-GLPHS5KF.mjs → chunk-OZRCCZTP.mjs} +2 -2
- package/dist/backend/{chunk-GENKYO6B.mjs → chunk-SCDE7Y52.mjs} +1 -1
- package/dist/backend/{chunk-C5ZDQJPP.mjs → chunk-UUMOHEAD.mjs} +1 -1
- 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 +361 -43
- package/dist/backend/core/handlers/coreHandler.mjs +3 -3
- 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/handleRouteByName.d.mts +1 -1
- package/dist/backend/core/handlers/handleRouteByName.d.ts +1 -1
- package/dist/backend/core/handlers/handleRouteByName.js +361 -43
- package/dist/backend/core/handlers/handleRouteByName.mjs +3 -3
- 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 +361 -43
- package/dist/backend/core/handlers/index.mjs +4 -4
- 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 +361 -43
- package/dist/backend/core/index.mjs +4 -4
- 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 +60 -7
- package/dist/backend/core/routes/index.mjs +1 -1
- 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 +60 -7
- package/dist/backend/core/routes/routeConfigs.mjs +1 -1
- 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/index.d.mts +4 -4
- package/dist/backend/index.d.ts +4 -4
- package/dist/backend/index.js +361 -43
- package/dist/backend/index.mjs +4 -4
- package/dist/backend/{routeTypes-Che2nkqv.d.ts → routeTypes-DpH9YHyt.d.ts} +247 -2
- package/dist/backend/{routeTypes-RMeyKg5T.d.mts → routeTypes-mIP4rSxp.d.mts} +247 -2
- package/dist/better-auth/{chunk-5F3J4ZQQ.mjs → chunk-3C2VGNW3.mjs} +302 -37
- package/dist/better-auth/{chunk-6TAYCQUD.mjs → chunk-CG3LL2TQ.mjs} +60 -7
- package/dist/better-auth/{chunk-IODRHT4E.mjs → chunk-UCMJFTKD.mjs} +1 -1
- package/dist/better-auth/index.js +361 -43
- package/dist/better-auth/index.mjs +3 -3
- package/dist/better-auth/types.d.mts +18 -0
- package/dist/better-auth/types.d.ts +18 -0
- package/dist/better-auth/utils/createAutumnEndpoint.js +60 -7
- package/dist/better-auth/utils/createAutumnEndpoint.mjs +2 -2
- package/dist/better-auth/utils/handleBetterAuthRoute.js +361 -43
- package/dist/better-auth/utils/handleBetterAuthRoute.mjs +2 -2
- package/dist/better-auth/utils/index.js +361 -43
- 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/AutumnProvider.d.mts +2 -1
- package/dist/react/AutumnProvider.d.ts +2 -1
- package/dist/react/AutumnProvider.js +18 -8
- package/dist/react/AutumnProvider.mjs +3 -3
- package/dist/react/{chunk-R7I3UPL4.mjs → chunk-26CKSAPZ.mjs} +6 -4
- package/dist/react/{chunk-QEJLIFBC.mjs → chunk-QOFGTXEX.mjs} +3 -2
- package/dist/react/{chunk-M34U5F2H.mjs → chunk-SCDO26YC.mjs} +11 -4
- package/dist/react/client/AutumnClient.d.mts +4 -3
- package/dist/react/client/AutumnClient.d.ts +4 -3
- package/dist/react/client/AutumnClient.js +13 -5
- package/dist/react/client/AutumnClient.mjs +2 -2
- 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/client/index.js +13 -5
- package/dist/react/client/index.mjs +2 -2
- package/dist/react/client/internal/httpClient.d.mts +1 -0
- package/dist/react/client/internal/httpClient.d.ts +1 -0
- package/dist/react/client/internal/httpClient.js +11 -4
- package/dist/react/client/internal/httpClient.mjs +1 -1
- package/dist/react/{customer-CMAtwbJl.d.ts → customer-BPHnUS4N.d.ts} +19 -1
- package/dist/react/{customer-CNvpHhpS.d.mts → customer-DDRi84Zq.d.mts} +19 -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/index.js +18 -8
- package/dist/react/index.mjs +3 -3
- package/dist/react/{params-Cdkj83CV.d.mts → params-Bj6uyOX1.d.mts} +91 -2
- package/dist/react/{params-CnOvYjqJ.d.ts → params-DAVIR4YX.d.ts} +91 -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 +360 -4
- package/dist/sdk/index.d.ts +360 -4
- package/dist/sdk/index.js +406 -36
- package/dist/sdk/index.mjs +381 -37
- package/package.json +1 -1
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.6",
|
|
87
|
+
userAgent: "speakeasy-sdk/typescript 0.10.17 2.879.6 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) {
|
|
@@ -1634,11 +1635,13 @@ var AttachExpiryDurationType$outboundSchema = z39__namespace.enum(AttachExpiryDu
|
|
|
1634
1635
|
var AttachRollover$outboundSchema = z39__namespace.pipe(
|
|
1635
1636
|
z39__namespace.object({
|
|
1636
1637
|
max: z39__namespace.optional(z39__namespace.number()),
|
|
1638
|
+
maxPercentage: z39__namespace.optional(z39__namespace.number()),
|
|
1637
1639
|
expiryDurationType: AttachExpiryDurationType$outboundSchema,
|
|
1638
1640
|
expiryDurationLength: z39__namespace.optional(z39__namespace.number())
|
|
1639
1641
|
}),
|
|
1640
1642
|
z39__namespace.transform((v) => {
|
|
1641
1643
|
return remap(v, {
|
|
1644
|
+
maxPercentage: "max_percentage",
|
|
1642
1645
|
expiryDurationType: "expiry_duration_type",
|
|
1643
1646
|
expiryDurationLength: "expiry_duration_length"
|
|
1644
1647
|
});
|
|
@@ -2318,11 +2321,13 @@ var BillingUpdateExpiryDurationType$outboundSchema = z39__namespace.enum(Billing
|
|
|
2318
2321
|
var BillingUpdateRollover$outboundSchema = z39__namespace.pipe(
|
|
2319
2322
|
z39__namespace.object({
|
|
2320
2323
|
max: z39__namespace.optional(z39__namespace.number()),
|
|
2324
|
+
maxPercentage: z39__namespace.optional(z39__namespace.number()),
|
|
2321
2325
|
expiryDurationType: BillingUpdateExpiryDurationType$outboundSchema,
|
|
2322
2326
|
expiryDurationLength: z39__namespace.optional(z39__namespace.number())
|
|
2323
2327
|
}),
|
|
2324
2328
|
z39__namespace.transform((v) => {
|
|
2325
2329
|
return remap(v, {
|
|
2330
|
+
maxPercentage: "max_percentage",
|
|
2326
2331
|
expiryDurationType: "expiry_duration_type",
|
|
2327
2332
|
expiryDurationLength: "expiry_duration_length"
|
|
2328
2333
|
});
|
|
@@ -2769,11 +2774,19 @@ function productDisplayFromJSON(jsonString) {
|
|
|
2769
2774
|
);
|
|
2770
2775
|
}
|
|
2771
2776
|
var RolloverDuration$inboundSchema = inboundSchema(RolloverDuration);
|
|
2772
|
-
var CheckRollover$inboundSchema = z39__namespace.
|
|
2773
|
-
|
|
2774
|
-
|
|
2775
|
-
|
|
2776
|
-
|
|
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
|
+
);
|
|
2777
2790
|
function checkRolloverFromJSON(jsonString) {
|
|
2778
2791
|
return safeParse(
|
|
2779
2792
|
jsonString,
|
|
@@ -3081,12 +3094,14 @@ var CustomerDataAutoTopup$outboundSchema = z39__namespace.pipe(
|
|
|
3081
3094
|
quantity: z39__namespace.number(),
|
|
3082
3095
|
purchaseLimit: z39__namespace.optional(
|
|
3083
3096
|
z39__namespace.lazy(() => CustomerDataPurchaseLimit$outboundSchema)
|
|
3084
|
-
)
|
|
3097
|
+
),
|
|
3098
|
+
invoiceMode: z39__namespace.optional(z39__namespace.boolean())
|
|
3085
3099
|
}),
|
|
3086
3100
|
z39__namespace.transform((v) => {
|
|
3087
3101
|
return remap(v, {
|
|
3088
3102
|
featureId: "feature_id",
|
|
3089
|
-
purchaseLimit: "purchase_limit"
|
|
3103
|
+
purchaseLimit: "purchase_limit",
|
|
3104
|
+
invoiceMode: "invoice_mode"
|
|
3090
3105
|
});
|
|
3091
3106
|
})
|
|
3092
3107
|
);
|
|
@@ -3134,6 +3149,22 @@ function customerDataUsageAlertToJSON(customerDataUsageAlert) {
|
|
|
3134
3149
|
CustomerDataUsageAlert$outboundSchema.parse(customerDataUsageAlert)
|
|
3135
3150
|
);
|
|
3136
3151
|
}
|
|
3152
|
+
var CustomerDataOverageAllowed$outboundSchema = z39__namespace.pipe(
|
|
3153
|
+
z39__namespace.object({
|
|
3154
|
+
featureId: z39__namespace.string(),
|
|
3155
|
+
enabled: z39__namespace._default(z39__namespace.boolean(), false)
|
|
3156
|
+
}),
|
|
3157
|
+
z39__namespace.transform((v) => {
|
|
3158
|
+
return remap(v, {
|
|
3159
|
+
featureId: "feature_id"
|
|
3160
|
+
});
|
|
3161
|
+
})
|
|
3162
|
+
);
|
|
3163
|
+
function customerDataOverageAllowedToJSON(customerDataOverageAllowed) {
|
|
3164
|
+
return JSON.stringify(
|
|
3165
|
+
CustomerDataOverageAllowed$outboundSchema.parse(customerDataOverageAllowed)
|
|
3166
|
+
);
|
|
3167
|
+
}
|
|
3137
3168
|
var CustomerDataBillingControls$outboundSchema = z39__namespace.pipe(
|
|
3138
3169
|
z39__namespace.object({
|
|
3139
3170
|
autoTopups: z39__namespace.optional(
|
|
@@ -3144,13 +3175,17 @@ var CustomerDataBillingControls$outboundSchema = z39__namespace.pipe(
|
|
|
3144
3175
|
),
|
|
3145
3176
|
usageAlerts: z39__namespace.optional(
|
|
3146
3177
|
z39__namespace.array(z39__namespace.lazy(() => CustomerDataUsageAlert$outboundSchema))
|
|
3178
|
+
),
|
|
3179
|
+
overageAllowed: z39__namespace.optional(
|
|
3180
|
+
z39__namespace.array(z39__namespace.lazy(() => CustomerDataOverageAllowed$outboundSchema))
|
|
3147
3181
|
)
|
|
3148
3182
|
}),
|
|
3149
3183
|
z39__namespace.transform((v) => {
|
|
3150
3184
|
return remap(v, {
|
|
3151
3185
|
autoTopups: "auto_topups",
|
|
3152
3186
|
spendLimits: "spend_limits",
|
|
3153
|
-
usageAlerts: "usage_alerts"
|
|
3187
|
+
usageAlerts: "usage_alerts",
|
|
3188
|
+
overageAllowed: "overage_allowed"
|
|
3154
3189
|
});
|
|
3155
3190
|
})
|
|
3156
3191
|
);
|
|
@@ -3424,11 +3459,13 @@ var ExpiryDurationType$inboundSchema = inboundSchema(ExpiryDurationType);
|
|
|
3424
3459
|
var PlanRollover$inboundSchema = z39__namespace.pipe(
|
|
3425
3460
|
z39__namespace.object({
|
|
3426
3461
|
max: nullable(number2()),
|
|
3462
|
+
max_percentage: z39__namespace.optional(z39__namespace.nullable(number2())),
|
|
3427
3463
|
expiry_duration_type: ExpiryDurationType$inboundSchema,
|
|
3428
3464
|
expiry_duration_length: optional2(number2())
|
|
3429
3465
|
}),
|
|
3430
3466
|
z39__namespace.transform((v) => {
|
|
3431
3467
|
return remap(v, {
|
|
3468
|
+
"max_percentage": "maxPercentage",
|
|
3432
3469
|
"expiry_duration_type": "expiryDurationType",
|
|
3433
3470
|
"expiry_duration_length": "expiryDurationLength"
|
|
3434
3471
|
});
|
|
@@ -3616,6 +3653,24 @@ function createEntityUsageAlertRequestBodyToJSON(createEntityUsageAlertRequestBo
|
|
|
3616
3653
|
)
|
|
3617
3654
|
);
|
|
3618
3655
|
}
|
|
3656
|
+
var CreateEntityOverageAllowedRequest$outboundSchema = z39__namespace.pipe(
|
|
3657
|
+
z39__namespace.object({
|
|
3658
|
+
featureId: z39__namespace.string(),
|
|
3659
|
+
enabled: z39__namespace._default(z39__namespace.boolean(), false)
|
|
3660
|
+
}),
|
|
3661
|
+
z39__namespace.transform((v) => {
|
|
3662
|
+
return remap(v, {
|
|
3663
|
+
featureId: "feature_id"
|
|
3664
|
+
});
|
|
3665
|
+
})
|
|
3666
|
+
);
|
|
3667
|
+
function createEntityOverageAllowedRequestToJSON(createEntityOverageAllowedRequest) {
|
|
3668
|
+
return JSON.stringify(
|
|
3669
|
+
CreateEntityOverageAllowedRequest$outboundSchema.parse(
|
|
3670
|
+
createEntityOverageAllowedRequest
|
|
3671
|
+
)
|
|
3672
|
+
);
|
|
3673
|
+
}
|
|
3619
3674
|
var CreateEntityBillingControlsRequest$outboundSchema = z39__namespace.pipe(
|
|
3620
3675
|
z39__namespace.object({
|
|
3621
3676
|
spendLimits: z39__namespace.optional(
|
|
@@ -3623,12 +3678,16 @@ var CreateEntityBillingControlsRequest$outboundSchema = z39__namespace.pipe(
|
|
|
3623
3678
|
),
|
|
3624
3679
|
usageAlerts: z39__namespace.optional(
|
|
3625
3680
|
z39__namespace.array(z39__namespace.lazy(() => CreateEntityUsageAlertRequestBody$outboundSchema))
|
|
3681
|
+
),
|
|
3682
|
+
overageAllowed: z39__namespace.optional(
|
|
3683
|
+
z39__namespace.array(z39__namespace.lazy(() => CreateEntityOverageAllowedRequest$outboundSchema))
|
|
3626
3684
|
)
|
|
3627
3685
|
}),
|
|
3628
3686
|
z39__namespace.transform((v) => {
|
|
3629
3687
|
return remap(v, {
|
|
3630
3688
|
spendLimits: "spend_limits",
|
|
3631
|
-
usageAlerts: "usage_alerts"
|
|
3689
|
+
usageAlerts: "usage_alerts",
|
|
3690
|
+
overageAllowed: "overage_allowed"
|
|
3632
3691
|
});
|
|
3633
3692
|
})
|
|
3634
3693
|
);
|
|
@@ -3853,6 +3912,24 @@ function createEntityUsageAlertResponseFromJSON(jsonString) {
|
|
|
3853
3912
|
`Failed to parse 'CreateEntityUsageAlertResponse' from JSON`
|
|
3854
3913
|
);
|
|
3855
3914
|
}
|
|
3915
|
+
var CreateEntityOverageAllowedResponse$inboundSchema = z39__namespace.pipe(
|
|
3916
|
+
z39__namespace.object({
|
|
3917
|
+
feature_id: string4(),
|
|
3918
|
+
enabled: z39__namespace._default(boolean2(), false)
|
|
3919
|
+
}),
|
|
3920
|
+
z39__namespace.transform((v) => {
|
|
3921
|
+
return remap(v, {
|
|
3922
|
+
"feature_id": "featureId"
|
|
3923
|
+
});
|
|
3924
|
+
})
|
|
3925
|
+
);
|
|
3926
|
+
function createEntityOverageAllowedResponseFromJSON(jsonString) {
|
|
3927
|
+
return safeParse(
|
|
3928
|
+
jsonString,
|
|
3929
|
+
(x) => CreateEntityOverageAllowedResponse$inboundSchema.parse(JSON.parse(x)),
|
|
3930
|
+
`Failed to parse 'CreateEntityOverageAllowedResponse' from JSON`
|
|
3931
|
+
);
|
|
3932
|
+
}
|
|
3856
3933
|
var CreateEntityBillingControlsResponse$inboundSchema = z39__namespace.pipe(
|
|
3857
3934
|
z39__namespace.object({
|
|
3858
3935
|
spend_limits: optional2(
|
|
@@ -3860,12 +3937,16 @@ var CreateEntityBillingControlsResponse$inboundSchema = z39__namespace.pipe(
|
|
|
3860
3937
|
),
|
|
3861
3938
|
usage_alerts: optional2(
|
|
3862
3939
|
z39__namespace.array(z39__namespace.lazy(() => CreateEntityUsageAlertResponse$inboundSchema))
|
|
3940
|
+
),
|
|
3941
|
+
overage_allowed: optional2(
|
|
3942
|
+
z39__namespace.array(z39__namespace.lazy(() => CreateEntityOverageAllowedResponse$inboundSchema))
|
|
3863
3943
|
)
|
|
3864
3944
|
}),
|
|
3865
3945
|
z39__namespace.transform((v) => {
|
|
3866
3946
|
return remap(v, {
|
|
3867
3947
|
"spend_limits": "spendLimits",
|
|
3868
|
-
"usage_alerts": "usageAlerts"
|
|
3948
|
+
"usage_alerts": "usageAlerts",
|
|
3949
|
+
"overage_allowed": "overageAllowed"
|
|
3869
3950
|
});
|
|
3870
3951
|
})
|
|
3871
3952
|
);
|
|
@@ -4296,11 +4377,13 @@ var CreatePlanExpiryDurationTypeRequest$outboundSchema = z39__namespace.enum(Cre
|
|
|
4296
4377
|
var CreatePlanRolloverRequest$outboundSchema = z39__namespace.pipe(
|
|
4297
4378
|
z39__namespace.object({
|
|
4298
4379
|
max: z39__namespace.optional(z39__namespace.number()),
|
|
4380
|
+
maxPercentage: z39__namespace.optional(z39__namespace.number()),
|
|
4299
4381
|
expiryDurationType: CreatePlanExpiryDurationTypeRequest$outboundSchema,
|
|
4300
4382
|
expiryDurationLength: z39__namespace.optional(z39__namespace.number())
|
|
4301
4383
|
}),
|
|
4302
4384
|
z39__namespace.transform((v) => {
|
|
4303
4385
|
return remap(v, {
|
|
4386
|
+
maxPercentage: "max_percentage",
|
|
4304
4387
|
expiryDurationType: "expiry_duration_type",
|
|
4305
4388
|
expiryDurationLength: "expiry_duration_length"
|
|
4306
4389
|
});
|
|
@@ -4553,11 +4636,13 @@ var CreatePlanExpiryDurationTypeResponse$inboundSchema = inboundSchema(CreatePla
|
|
|
4553
4636
|
var CreatePlanRolloverResponse$inboundSchema = z39__namespace.pipe(
|
|
4554
4637
|
z39__namespace.object({
|
|
4555
4638
|
max: nullable(number2()),
|
|
4639
|
+
max_percentage: z39__namespace.optional(z39__namespace.nullable(number2())),
|
|
4556
4640
|
expiry_duration_type: CreatePlanExpiryDurationTypeResponse$inboundSchema,
|
|
4557
4641
|
expiry_duration_length: optional2(number2())
|
|
4558
4642
|
}),
|
|
4559
4643
|
z39__namespace.transform((v) => {
|
|
4560
4644
|
return remap(v, {
|
|
4645
|
+
"max_percentage": "maxPercentage",
|
|
4561
4646
|
"expiry_duration_type": "expiryDurationType",
|
|
4562
4647
|
"expiry_duration_length": "expiryDurationLength"
|
|
4563
4648
|
});
|
|
@@ -4789,12 +4874,14 @@ var CustomerAutoTopup$inboundSchema = z39__namespace.pipe(
|
|
|
4789
4874
|
quantity: number2(),
|
|
4790
4875
|
purchase_limit: optional2(
|
|
4791
4876
|
z39__namespace.lazy(() => CustomerPurchaseLimit$inboundSchema)
|
|
4792
|
-
)
|
|
4877
|
+
),
|
|
4878
|
+
invoice_mode: optional2(boolean2())
|
|
4793
4879
|
}),
|
|
4794
4880
|
z39__namespace.transform((v) => {
|
|
4795
4881
|
return remap(v, {
|
|
4796
4882
|
"feature_id": "featureId",
|
|
4797
|
-
"purchase_limit": "purchaseLimit"
|
|
4883
|
+
"purchase_limit": "purchaseLimit",
|
|
4884
|
+
"invoice_mode": "invoiceMode"
|
|
4798
4885
|
});
|
|
4799
4886
|
})
|
|
4800
4887
|
);
|
|
@@ -4848,6 +4935,24 @@ function customerUsageAlertFromJSON(jsonString) {
|
|
|
4848
4935
|
`Failed to parse 'CustomerUsageAlert' from JSON`
|
|
4849
4936
|
);
|
|
4850
4937
|
}
|
|
4938
|
+
var CustomerOverageAllowed$inboundSchema = z39__namespace.pipe(
|
|
4939
|
+
z39__namespace.object({
|
|
4940
|
+
feature_id: string4(),
|
|
4941
|
+
enabled: z39__namespace._default(boolean2(), false)
|
|
4942
|
+
}),
|
|
4943
|
+
z39__namespace.transform((v) => {
|
|
4944
|
+
return remap(v, {
|
|
4945
|
+
"feature_id": "featureId"
|
|
4946
|
+
});
|
|
4947
|
+
})
|
|
4948
|
+
);
|
|
4949
|
+
function customerOverageAllowedFromJSON(jsonString) {
|
|
4950
|
+
return safeParse(
|
|
4951
|
+
jsonString,
|
|
4952
|
+
(x) => CustomerOverageAllowed$inboundSchema.parse(JSON.parse(x)),
|
|
4953
|
+
`Failed to parse 'CustomerOverageAllowed' from JSON`
|
|
4954
|
+
);
|
|
4955
|
+
}
|
|
4851
4956
|
var CustomerBillingControls$inboundSchema = z39__namespace.pipe(
|
|
4852
4957
|
z39__namespace.object({
|
|
4853
4958
|
auto_topups: optional2(
|
|
@@ -4858,13 +4963,17 @@ var CustomerBillingControls$inboundSchema = z39__namespace.pipe(
|
|
|
4858
4963
|
),
|
|
4859
4964
|
usage_alerts: optional2(
|
|
4860
4965
|
z39__namespace.array(z39__namespace.lazy(() => CustomerUsageAlert$inboundSchema))
|
|
4966
|
+
),
|
|
4967
|
+
overage_allowed: optional2(
|
|
4968
|
+
z39__namespace.array(z39__namespace.lazy(() => CustomerOverageAllowed$inboundSchema))
|
|
4861
4969
|
)
|
|
4862
4970
|
}),
|
|
4863
4971
|
z39__namespace.transform((v) => {
|
|
4864
4972
|
return remap(v, {
|
|
4865
4973
|
"auto_topups": "autoTopups",
|
|
4866
4974
|
"spend_limits": "spendLimits",
|
|
4867
|
-
"usage_alerts": "usageAlerts"
|
|
4975
|
+
"usage_alerts": "usageAlerts",
|
|
4976
|
+
"overage_allowed": "overageAllowed"
|
|
4868
4977
|
});
|
|
4869
4978
|
})
|
|
4870
4979
|
);
|
|
@@ -5618,6 +5727,24 @@ function getEntityUsageAlertFromJSON(jsonString) {
|
|
|
5618
5727
|
`Failed to parse 'GetEntityUsageAlert' from JSON`
|
|
5619
5728
|
);
|
|
5620
5729
|
}
|
|
5730
|
+
var GetEntityOverageAllowed$inboundSchema = z39__namespace.pipe(
|
|
5731
|
+
z39__namespace.object({
|
|
5732
|
+
feature_id: string4(),
|
|
5733
|
+
enabled: z39__namespace._default(boolean2(), false)
|
|
5734
|
+
}),
|
|
5735
|
+
z39__namespace.transform((v) => {
|
|
5736
|
+
return remap(v, {
|
|
5737
|
+
"feature_id": "featureId"
|
|
5738
|
+
});
|
|
5739
|
+
})
|
|
5740
|
+
);
|
|
5741
|
+
function getEntityOverageAllowedFromJSON(jsonString) {
|
|
5742
|
+
return safeParse(
|
|
5743
|
+
jsonString,
|
|
5744
|
+
(x) => GetEntityOverageAllowed$inboundSchema.parse(JSON.parse(x)),
|
|
5745
|
+
`Failed to parse 'GetEntityOverageAllowed' from JSON`
|
|
5746
|
+
);
|
|
5747
|
+
}
|
|
5621
5748
|
var GetEntityBillingControls$inboundSchema = z39__namespace.pipe(
|
|
5622
5749
|
z39__namespace.object({
|
|
5623
5750
|
spend_limits: optional2(
|
|
@@ -5625,12 +5752,16 @@ var GetEntityBillingControls$inboundSchema = z39__namespace.pipe(
|
|
|
5625
5752
|
),
|
|
5626
5753
|
usage_alerts: optional2(
|
|
5627
5754
|
z39__namespace.array(z39__namespace.lazy(() => GetEntityUsageAlert$inboundSchema))
|
|
5755
|
+
),
|
|
5756
|
+
overage_allowed: optional2(
|
|
5757
|
+
z39__namespace.array(z39__namespace.lazy(() => GetEntityOverageAllowed$inboundSchema))
|
|
5628
5758
|
)
|
|
5629
5759
|
}),
|
|
5630
5760
|
z39__namespace.transform((v) => {
|
|
5631
5761
|
return remap(v, {
|
|
5632
5762
|
"spend_limits": "spendLimits",
|
|
5633
|
-
"usage_alerts": "usageAlerts"
|
|
5763
|
+
"usage_alerts": "usageAlerts",
|
|
5764
|
+
"overage_allowed": "overageAllowed"
|
|
5634
5765
|
});
|
|
5635
5766
|
})
|
|
5636
5767
|
);
|
|
@@ -5818,12 +5949,14 @@ var GetOrCreateCustomerAutoTopup$outboundSchema = z39__namespace.pipe(
|
|
|
5818
5949
|
quantity: z39__namespace.number(),
|
|
5819
5950
|
purchaseLimit: z39__namespace.optional(
|
|
5820
5951
|
z39__namespace.lazy(() => GetOrCreateCustomerPurchaseLimit$outboundSchema)
|
|
5821
|
-
)
|
|
5952
|
+
),
|
|
5953
|
+
invoiceMode: z39__namespace.optional(z39__namespace.boolean())
|
|
5822
5954
|
}),
|
|
5823
5955
|
z39__namespace.transform((v) => {
|
|
5824
5956
|
return remap(v, {
|
|
5825
5957
|
featureId: "feature_id",
|
|
5826
|
-
purchaseLimit: "purchase_limit"
|
|
5958
|
+
purchaseLimit: "purchase_limit",
|
|
5959
|
+
invoiceMode: "invoice_mode"
|
|
5827
5960
|
});
|
|
5828
5961
|
})
|
|
5829
5962
|
);
|
|
@@ -5877,6 +6010,24 @@ function getOrCreateCustomerUsageAlertToJSON(getOrCreateCustomerUsageAlert) {
|
|
|
5877
6010
|
)
|
|
5878
6011
|
);
|
|
5879
6012
|
}
|
|
6013
|
+
var GetOrCreateCustomerOverageAllowed$outboundSchema = z39__namespace.pipe(
|
|
6014
|
+
z39__namespace.object({
|
|
6015
|
+
featureId: z39__namespace.string(),
|
|
6016
|
+
enabled: z39__namespace._default(z39__namespace.boolean(), false)
|
|
6017
|
+
}),
|
|
6018
|
+
z39__namespace.transform((v) => {
|
|
6019
|
+
return remap(v, {
|
|
6020
|
+
featureId: "feature_id"
|
|
6021
|
+
});
|
|
6022
|
+
})
|
|
6023
|
+
);
|
|
6024
|
+
function getOrCreateCustomerOverageAllowedToJSON(getOrCreateCustomerOverageAllowed) {
|
|
6025
|
+
return JSON.stringify(
|
|
6026
|
+
GetOrCreateCustomerOverageAllowed$outboundSchema.parse(
|
|
6027
|
+
getOrCreateCustomerOverageAllowed
|
|
6028
|
+
)
|
|
6029
|
+
);
|
|
6030
|
+
}
|
|
5880
6031
|
var GetOrCreateCustomerBillingControls$outboundSchema = z39__namespace.pipe(
|
|
5881
6032
|
z39__namespace.object({
|
|
5882
6033
|
autoTopups: z39__namespace.optional(
|
|
@@ -5887,13 +6038,17 @@ var GetOrCreateCustomerBillingControls$outboundSchema = z39__namespace.pipe(
|
|
|
5887
6038
|
),
|
|
5888
6039
|
usageAlerts: z39__namespace.optional(
|
|
5889
6040
|
z39__namespace.array(z39__namespace.lazy(() => GetOrCreateCustomerUsageAlert$outboundSchema))
|
|
6041
|
+
),
|
|
6042
|
+
overageAllowed: z39__namespace.optional(
|
|
6043
|
+
z39__namespace.array(z39__namespace.lazy(() => GetOrCreateCustomerOverageAllowed$outboundSchema))
|
|
5890
6044
|
)
|
|
5891
6045
|
}),
|
|
5892
6046
|
z39__namespace.transform((v) => {
|
|
5893
6047
|
return remap(v, {
|
|
5894
6048
|
autoTopups: "auto_topups",
|
|
5895
6049
|
spendLimits: "spend_limits",
|
|
5896
|
-
usageAlerts: "usage_alerts"
|
|
6050
|
+
usageAlerts: "usage_alerts",
|
|
6051
|
+
overageAllowed: "overage_allowed"
|
|
5897
6052
|
});
|
|
5898
6053
|
})
|
|
5899
6054
|
);
|
|
@@ -6186,11 +6341,13 @@ var GetPlanExpiryDurationType$inboundSchema = inboundSchema(GetPlanExpiryDuratio
|
|
|
6186
6341
|
var GetPlanRollover$inboundSchema = z39__namespace.pipe(
|
|
6187
6342
|
z39__namespace.object({
|
|
6188
6343
|
max: nullable(number2()),
|
|
6344
|
+
max_percentage: z39__namespace.optional(z39__namespace.nullable(number2())),
|
|
6189
6345
|
expiry_duration_type: GetPlanExpiryDurationType$inboundSchema,
|
|
6190
6346
|
expiry_duration_length: optional2(number2())
|
|
6191
6347
|
}),
|
|
6192
6348
|
z39__namespace.transform((v) => {
|
|
6193
6349
|
return remap(v, {
|
|
6350
|
+
"max_percentage": "maxPercentage",
|
|
6194
6351
|
"expiry_duration_type": "expiryDurationType",
|
|
6195
6352
|
"expiry_duration_length": "expiryDurationLength"
|
|
6196
6353
|
});
|
|
@@ -6444,12 +6601,14 @@ var ListCustomersAutoTopup$inboundSchema = z39__namespace.pipe(
|
|
|
6444
6601
|
quantity: number2(),
|
|
6445
6602
|
purchase_limit: optional2(
|
|
6446
6603
|
z39__namespace.lazy(() => ListCustomersPurchaseLimit$inboundSchema)
|
|
6447
|
-
)
|
|
6604
|
+
),
|
|
6605
|
+
invoice_mode: optional2(boolean2())
|
|
6448
6606
|
}),
|
|
6449
6607
|
z39__namespace.transform((v) => {
|
|
6450
6608
|
return remap(v, {
|
|
6451
6609
|
"feature_id": "featureId",
|
|
6452
|
-
"purchase_limit": "purchaseLimit"
|
|
6610
|
+
"purchase_limit": "purchaseLimit",
|
|
6611
|
+
"invoice_mode": "invoiceMode"
|
|
6453
6612
|
});
|
|
6454
6613
|
})
|
|
6455
6614
|
);
|
|
@@ -6503,6 +6662,24 @@ function listCustomersUsageAlertFromJSON(jsonString) {
|
|
|
6503
6662
|
`Failed to parse 'ListCustomersUsageAlert' from JSON`
|
|
6504
6663
|
);
|
|
6505
6664
|
}
|
|
6665
|
+
var ListCustomersOverageAllowed$inboundSchema = z39__namespace.pipe(
|
|
6666
|
+
z39__namespace.object({
|
|
6667
|
+
feature_id: string4(),
|
|
6668
|
+
enabled: z39__namespace._default(boolean2(), false)
|
|
6669
|
+
}),
|
|
6670
|
+
z39__namespace.transform((v) => {
|
|
6671
|
+
return remap(v, {
|
|
6672
|
+
"feature_id": "featureId"
|
|
6673
|
+
});
|
|
6674
|
+
})
|
|
6675
|
+
);
|
|
6676
|
+
function listCustomersOverageAllowedFromJSON(jsonString) {
|
|
6677
|
+
return safeParse(
|
|
6678
|
+
jsonString,
|
|
6679
|
+
(x) => ListCustomersOverageAllowed$inboundSchema.parse(JSON.parse(x)),
|
|
6680
|
+
`Failed to parse 'ListCustomersOverageAllowed' from JSON`
|
|
6681
|
+
);
|
|
6682
|
+
}
|
|
6506
6683
|
var ListCustomersBillingControls$inboundSchema = z39__namespace.pipe(
|
|
6507
6684
|
z39__namespace.object({
|
|
6508
6685
|
auto_topups: optional2(
|
|
@@ -6513,13 +6690,17 @@ var ListCustomersBillingControls$inboundSchema = z39__namespace.pipe(
|
|
|
6513
6690
|
),
|
|
6514
6691
|
usage_alerts: optional2(
|
|
6515
6692
|
z39__namespace.array(z39__namespace.lazy(() => ListCustomersUsageAlert$inboundSchema))
|
|
6693
|
+
),
|
|
6694
|
+
overage_allowed: optional2(
|
|
6695
|
+
z39__namespace.array(z39__namespace.lazy(() => ListCustomersOverageAllowed$inboundSchema))
|
|
6516
6696
|
)
|
|
6517
6697
|
}),
|
|
6518
6698
|
z39__namespace.transform((v) => {
|
|
6519
6699
|
return remap(v, {
|
|
6520
6700
|
"auto_topups": "autoTopups",
|
|
6521
6701
|
"spend_limits": "spendLimits",
|
|
6522
|
-
"usage_alerts": "usageAlerts"
|
|
6702
|
+
"usage_alerts": "usageAlerts",
|
|
6703
|
+
"overage_allowed": "overageAllowed"
|
|
6523
6704
|
});
|
|
6524
6705
|
})
|
|
6525
6706
|
);
|
|
@@ -7156,11 +7337,13 @@ var ListPlansExpiryDurationType$inboundSchema = inboundSchema(ListPlansExpiryDur
|
|
|
7156
7337
|
var ListPlansRollover$inboundSchema = z39__namespace.pipe(
|
|
7157
7338
|
z39__namespace.object({
|
|
7158
7339
|
max: nullable(number2()),
|
|
7340
|
+
max_percentage: z39__namespace.optional(z39__namespace.nullable(number2())),
|
|
7159
7341
|
expiry_duration_type: ListPlansExpiryDurationType$inboundSchema,
|
|
7160
7342
|
expiry_duration_length: optional2(number2())
|
|
7161
7343
|
}),
|
|
7162
7344
|
z39__namespace.transform((v) => {
|
|
7163
7345
|
return remap(v, {
|
|
7346
|
+
"max_percentage": "maxPercentage",
|
|
7164
7347
|
"expiry_duration_type": "expiryDurationType",
|
|
7165
7348
|
"expiry_duration_length": "expiryDurationLength"
|
|
7166
7349
|
});
|
|
@@ -7469,11 +7652,13 @@ var MultiAttachExpiryDurationType$outboundSchema = z39__namespace.enum(MultiAtta
|
|
|
7469
7652
|
var MultiAttachRollover$outboundSchema = z39__namespace.pipe(
|
|
7470
7653
|
z39__namespace.object({
|
|
7471
7654
|
max: z39__namespace.optional(z39__namespace.number()),
|
|
7655
|
+
maxPercentage: z39__namespace.optional(z39__namespace.number()),
|
|
7472
7656
|
expiryDurationType: MultiAttachExpiryDurationType$outboundSchema,
|
|
7473
7657
|
expiryDurationLength: z39__namespace.optional(z39__namespace.number())
|
|
7474
7658
|
}),
|
|
7475
7659
|
z39__namespace.transform((v) => {
|
|
7476
7660
|
return remap(v, {
|
|
7661
|
+
maxPercentage: "max_percentage",
|
|
7477
7662
|
expiryDurationType: "expiry_duration_type",
|
|
7478
7663
|
expiryDurationLength: "expiry_duration_length"
|
|
7479
7664
|
});
|
|
@@ -7648,6 +7833,22 @@ function multiAttachUsageAlertToJSON(multiAttachUsageAlert) {
|
|
|
7648
7833
|
MultiAttachUsageAlert$outboundSchema.parse(multiAttachUsageAlert)
|
|
7649
7834
|
);
|
|
7650
7835
|
}
|
|
7836
|
+
var MultiAttachOverageAllowed$outboundSchema = z39__namespace.pipe(
|
|
7837
|
+
z39__namespace.object({
|
|
7838
|
+
featureId: z39__namespace.string(),
|
|
7839
|
+
enabled: z39__namespace._default(z39__namespace.boolean(), false)
|
|
7840
|
+
}),
|
|
7841
|
+
z39__namespace.transform((v) => {
|
|
7842
|
+
return remap(v, {
|
|
7843
|
+
featureId: "feature_id"
|
|
7844
|
+
});
|
|
7845
|
+
})
|
|
7846
|
+
);
|
|
7847
|
+
function multiAttachOverageAllowedToJSON(multiAttachOverageAllowed) {
|
|
7848
|
+
return JSON.stringify(
|
|
7849
|
+
MultiAttachOverageAllowed$outboundSchema.parse(multiAttachOverageAllowed)
|
|
7850
|
+
);
|
|
7851
|
+
}
|
|
7651
7852
|
var MultiAttachBillingControls$outboundSchema = z39__namespace.pipe(
|
|
7652
7853
|
z39__namespace.object({
|
|
7653
7854
|
spendLimits: z39__namespace.optional(
|
|
@@ -7655,12 +7856,16 @@ var MultiAttachBillingControls$outboundSchema = z39__namespace.pipe(
|
|
|
7655
7856
|
),
|
|
7656
7857
|
usageAlerts: z39__namespace.optional(
|
|
7657
7858
|
z39__namespace.array(z39__namespace.lazy(() => MultiAttachUsageAlert$outboundSchema))
|
|
7859
|
+
),
|
|
7860
|
+
overageAllowed: z39__namespace.optional(
|
|
7861
|
+
z39__namespace.array(z39__namespace.lazy(() => MultiAttachOverageAllowed$outboundSchema))
|
|
7658
7862
|
)
|
|
7659
7863
|
}),
|
|
7660
7864
|
z39__namespace.transform((v) => {
|
|
7661
7865
|
return remap(v, {
|
|
7662
7866
|
spendLimits: "spend_limits",
|
|
7663
|
-
usageAlerts: "usage_alerts"
|
|
7867
|
+
usageAlerts: "usage_alerts",
|
|
7868
|
+
overageAllowed: "overage_allowed"
|
|
7664
7869
|
});
|
|
7665
7870
|
})
|
|
7666
7871
|
);
|
|
@@ -8031,11 +8236,13 @@ var PreviewAttachExpiryDurationType$outboundSchema = z39__namespace.enum(Preview
|
|
|
8031
8236
|
var PreviewAttachRollover$outboundSchema = z39__namespace.pipe(
|
|
8032
8237
|
z39__namespace.object({
|
|
8033
8238
|
max: z39__namespace.optional(z39__namespace.number()),
|
|
8239
|
+
maxPercentage: z39__namespace.optional(z39__namespace.number()),
|
|
8034
8240
|
expiryDurationType: PreviewAttachExpiryDurationType$outboundSchema,
|
|
8035
8241
|
expiryDurationLength: z39__namespace.optional(z39__namespace.number())
|
|
8036
8242
|
}),
|
|
8037
8243
|
z39__namespace.transform((v) => {
|
|
8038
8244
|
return remap(v, {
|
|
8245
|
+
maxPercentage: "max_percentage",
|
|
8039
8246
|
expiryDurationType: "expiry_duration_type",
|
|
8040
8247
|
expiryDurationLength: "expiry_duration_length"
|
|
8041
8248
|
});
|
|
@@ -8768,11 +8975,13 @@ var PreviewMultiAttachExpiryDurationType$outboundSchema = z39__namespace.enum(Pr
|
|
|
8768
8975
|
var PreviewMultiAttachRollover$outboundSchema = z39__namespace.pipe(
|
|
8769
8976
|
z39__namespace.object({
|
|
8770
8977
|
max: z39__namespace.optional(z39__namespace.number()),
|
|
8978
|
+
maxPercentage: z39__namespace.optional(z39__namespace.number()),
|
|
8771
8979
|
expiryDurationType: PreviewMultiAttachExpiryDurationType$outboundSchema,
|
|
8772
8980
|
expiryDurationLength: z39__namespace.optional(z39__namespace.number())
|
|
8773
8981
|
}),
|
|
8774
8982
|
z39__namespace.transform((v) => {
|
|
8775
8983
|
return remap(v, {
|
|
8984
|
+
maxPercentage: "max_percentage",
|
|
8776
8985
|
expiryDurationType: "expiry_duration_type",
|
|
8777
8986
|
expiryDurationLength: "expiry_duration_length"
|
|
8778
8987
|
});
|
|
@@ -8976,6 +9185,24 @@ function previewMultiAttachUsageAlertToJSON(previewMultiAttachUsageAlert) {
|
|
|
8976
9185
|
)
|
|
8977
9186
|
);
|
|
8978
9187
|
}
|
|
9188
|
+
var PreviewMultiAttachOverageAllowed$outboundSchema = z39__namespace.pipe(
|
|
9189
|
+
z39__namespace.object({
|
|
9190
|
+
featureId: z39__namespace.string(),
|
|
9191
|
+
enabled: z39__namespace._default(z39__namespace.boolean(), false)
|
|
9192
|
+
}),
|
|
9193
|
+
z39__namespace.transform((v) => {
|
|
9194
|
+
return remap(v, {
|
|
9195
|
+
featureId: "feature_id"
|
|
9196
|
+
});
|
|
9197
|
+
})
|
|
9198
|
+
);
|
|
9199
|
+
function previewMultiAttachOverageAllowedToJSON(previewMultiAttachOverageAllowed) {
|
|
9200
|
+
return JSON.stringify(
|
|
9201
|
+
PreviewMultiAttachOverageAllowed$outboundSchema.parse(
|
|
9202
|
+
previewMultiAttachOverageAllowed
|
|
9203
|
+
)
|
|
9204
|
+
);
|
|
9205
|
+
}
|
|
8979
9206
|
var PreviewMultiAttachBillingControls$outboundSchema = z39__namespace.pipe(
|
|
8980
9207
|
z39__namespace.object({
|
|
8981
9208
|
spendLimits: z39__namespace.optional(
|
|
@@ -8983,12 +9210,16 @@ var PreviewMultiAttachBillingControls$outboundSchema = z39__namespace.pipe(
|
|
|
8983
9210
|
),
|
|
8984
9211
|
usageAlerts: z39__namespace.optional(
|
|
8985
9212
|
z39__namespace.array(z39__namespace.lazy(() => PreviewMultiAttachUsageAlert$outboundSchema))
|
|
9213
|
+
),
|
|
9214
|
+
overageAllowed: z39__namespace.optional(
|
|
9215
|
+
z39__namespace.array(z39__namespace.lazy(() => PreviewMultiAttachOverageAllowed$outboundSchema))
|
|
8986
9216
|
)
|
|
8987
9217
|
}),
|
|
8988
9218
|
z39__namespace.transform((v) => {
|
|
8989
9219
|
return remap(v, {
|
|
8990
9220
|
spendLimits: "spend_limits",
|
|
8991
|
-
usageAlerts: "usage_alerts"
|
|
9221
|
+
usageAlerts: "usage_alerts",
|
|
9222
|
+
overageAllowed: "overage_allowed"
|
|
8992
9223
|
});
|
|
8993
9224
|
})
|
|
8994
9225
|
);
|
|
@@ -9599,11 +9830,13 @@ var PreviewUpdateExpiryDurationType$outboundSchema = z39__namespace.enum(Preview
|
|
|
9599
9830
|
var PreviewUpdateRollover$outboundSchema = z39__namespace.pipe(
|
|
9600
9831
|
z39__namespace.object({
|
|
9601
9832
|
max: z39__namespace.optional(z39__namespace.number()),
|
|
9833
|
+
maxPercentage: z39__namespace.optional(z39__namespace.number()),
|
|
9602
9834
|
expiryDurationType: PreviewUpdateExpiryDurationType$outboundSchema,
|
|
9603
9835
|
expiryDurationLength: z39__namespace.optional(z39__namespace.number())
|
|
9604
9836
|
}),
|
|
9605
9837
|
z39__namespace.transform((v) => {
|
|
9606
9838
|
return remap(v, {
|
|
9839
|
+
maxPercentage: "max_percentage",
|
|
9607
9840
|
expiryDurationType: "expiry_duration_type",
|
|
9608
9841
|
expiryDurationLength: "expiry_duration_length"
|
|
9609
9842
|
});
|
|
@@ -10303,11 +10536,13 @@ var SetupPaymentExpiryDurationType$outboundSchema = z39__namespace.enum(SetupPay
|
|
|
10303
10536
|
var SetupPaymentRollover$outboundSchema = z39__namespace.pipe(
|
|
10304
10537
|
z39__namespace.object({
|
|
10305
10538
|
max: z39__namespace.optional(z39__namespace.number()),
|
|
10539
|
+
maxPercentage: z39__namespace.optional(z39__namespace.number()),
|
|
10306
10540
|
expiryDurationType: SetupPaymentExpiryDurationType$outboundSchema,
|
|
10307
10541
|
expiryDurationLength: z39__namespace.optional(z39__namespace.number())
|
|
10308
10542
|
}),
|
|
10309
10543
|
z39__namespace.transform((v) => {
|
|
10310
10544
|
return remap(v, {
|
|
10545
|
+
maxPercentage: "max_percentage",
|
|
10311
10546
|
expiryDurationType: "expiry_duration_type",
|
|
10312
10547
|
expiryDurationLength: "expiry_duration_length"
|
|
10313
10548
|
});
|
|
@@ -10693,12 +10928,14 @@ var UpdateCustomerAutoTopupRequest$outboundSchema = z39__namespace.pipe(
|
|
|
10693
10928
|
quantity: z39__namespace.number(),
|
|
10694
10929
|
purchaseLimit: z39__namespace.optional(
|
|
10695
10930
|
z39__namespace.lazy(() => UpdateCustomerPurchaseLimitRequest$outboundSchema)
|
|
10696
|
-
)
|
|
10931
|
+
),
|
|
10932
|
+
invoiceMode: z39__namespace.optional(z39__namespace.boolean())
|
|
10697
10933
|
}),
|
|
10698
10934
|
z39__namespace.transform((v) => {
|
|
10699
10935
|
return remap(v, {
|
|
10700
10936
|
featureId: "feature_id",
|
|
10701
|
-
purchaseLimit: "purchase_limit"
|
|
10937
|
+
purchaseLimit: "purchase_limit",
|
|
10938
|
+
invoiceMode: "invoice_mode"
|
|
10702
10939
|
});
|
|
10703
10940
|
})
|
|
10704
10941
|
);
|
|
@@ -10754,6 +10991,24 @@ function updateCustomerUsageAlertRequestBodyToJSON(updateCustomerUsageAlertReque
|
|
|
10754
10991
|
)
|
|
10755
10992
|
);
|
|
10756
10993
|
}
|
|
10994
|
+
var UpdateCustomerOverageAllowedRequest$outboundSchema = z39__namespace.pipe(
|
|
10995
|
+
z39__namespace.object({
|
|
10996
|
+
featureId: z39__namespace.string(),
|
|
10997
|
+
enabled: z39__namespace._default(z39__namespace.boolean(), false)
|
|
10998
|
+
}),
|
|
10999
|
+
z39__namespace.transform((v) => {
|
|
11000
|
+
return remap(v, {
|
|
11001
|
+
featureId: "feature_id"
|
|
11002
|
+
});
|
|
11003
|
+
})
|
|
11004
|
+
);
|
|
11005
|
+
function updateCustomerOverageAllowedRequestToJSON(updateCustomerOverageAllowedRequest) {
|
|
11006
|
+
return JSON.stringify(
|
|
11007
|
+
UpdateCustomerOverageAllowedRequest$outboundSchema.parse(
|
|
11008
|
+
updateCustomerOverageAllowedRequest
|
|
11009
|
+
)
|
|
11010
|
+
);
|
|
11011
|
+
}
|
|
10757
11012
|
var UpdateCustomerBillingControlsRequest$outboundSchema = z39__namespace.pipe(
|
|
10758
11013
|
z39__namespace.object({
|
|
10759
11014
|
autoTopups: z39__namespace.optional(
|
|
@@ -10764,13 +11019,17 @@ var UpdateCustomerBillingControlsRequest$outboundSchema = z39__namespace.pipe(
|
|
|
10764
11019
|
),
|
|
10765
11020
|
usageAlerts: z39__namespace.optional(
|
|
10766
11021
|
z39__namespace.array(z39__namespace.lazy(() => UpdateCustomerUsageAlertRequestBody$outboundSchema))
|
|
11022
|
+
),
|
|
11023
|
+
overageAllowed: z39__namespace.optional(
|
|
11024
|
+
z39__namespace.array(z39__namespace.lazy(() => UpdateCustomerOverageAllowedRequest$outboundSchema))
|
|
10767
11025
|
)
|
|
10768
11026
|
}),
|
|
10769
11027
|
z39__namespace.transform((v) => {
|
|
10770
11028
|
return remap(v, {
|
|
10771
11029
|
autoTopups: "auto_topups",
|
|
10772
11030
|
spendLimits: "spend_limits",
|
|
10773
|
-
usageAlerts: "usage_alerts"
|
|
11031
|
+
usageAlerts: "usage_alerts",
|
|
11032
|
+
overageAllowed: "overage_allowed"
|
|
10774
11033
|
});
|
|
10775
11034
|
})
|
|
10776
11035
|
);
|
|
@@ -10839,12 +11098,14 @@ var UpdateCustomerAutoTopupResponse$inboundSchema = z39__namespace.pipe(
|
|
|
10839
11098
|
quantity: number2(),
|
|
10840
11099
|
purchase_limit: optional2(
|
|
10841
11100
|
z39__namespace.lazy(() => UpdateCustomerPurchaseLimitResponse$inboundSchema)
|
|
10842
|
-
)
|
|
11101
|
+
),
|
|
11102
|
+
invoice_mode: optional2(boolean2())
|
|
10843
11103
|
}),
|
|
10844
11104
|
z39__namespace.transform((v) => {
|
|
10845
11105
|
return remap(v, {
|
|
10846
11106
|
"feature_id": "featureId",
|
|
10847
|
-
"purchase_limit": "purchaseLimit"
|
|
11107
|
+
"purchase_limit": "purchaseLimit",
|
|
11108
|
+
"invoice_mode": "invoiceMode"
|
|
10848
11109
|
});
|
|
10849
11110
|
})
|
|
10850
11111
|
);
|
|
@@ -10898,6 +11159,24 @@ function updateCustomerUsageAlertResponseFromJSON(jsonString) {
|
|
|
10898
11159
|
`Failed to parse 'UpdateCustomerUsageAlertResponse' from JSON`
|
|
10899
11160
|
);
|
|
10900
11161
|
}
|
|
11162
|
+
var UpdateCustomerOverageAllowedResponse$inboundSchema = z39__namespace.pipe(
|
|
11163
|
+
z39__namespace.object({
|
|
11164
|
+
feature_id: string4(),
|
|
11165
|
+
enabled: z39__namespace._default(boolean2(), false)
|
|
11166
|
+
}),
|
|
11167
|
+
z39__namespace.transform((v) => {
|
|
11168
|
+
return remap(v, {
|
|
11169
|
+
"feature_id": "featureId"
|
|
11170
|
+
});
|
|
11171
|
+
})
|
|
11172
|
+
);
|
|
11173
|
+
function updateCustomerOverageAllowedResponseFromJSON(jsonString) {
|
|
11174
|
+
return safeParse(
|
|
11175
|
+
jsonString,
|
|
11176
|
+
(x) => UpdateCustomerOverageAllowedResponse$inboundSchema.parse(JSON.parse(x)),
|
|
11177
|
+
`Failed to parse 'UpdateCustomerOverageAllowedResponse' from JSON`
|
|
11178
|
+
);
|
|
11179
|
+
}
|
|
10901
11180
|
var UpdateCustomerBillingControlsResponse$inboundSchema = z39__namespace.pipe(
|
|
10902
11181
|
z39__namespace.object({
|
|
10903
11182
|
auto_topups: optional2(
|
|
@@ -10908,13 +11187,17 @@ var UpdateCustomerBillingControlsResponse$inboundSchema = z39__namespace.pipe(
|
|
|
10908
11187
|
),
|
|
10909
11188
|
usage_alerts: optional2(
|
|
10910
11189
|
z39__namespace.array(z39__namespace.lazy(() => UpdateCustomerUsageAlertResponse$inboundSchema))
|
|
11190
|
+
),
|
|
11191
|
+
overage_allowed: optional2(
|
|
11192
|
+
z39__namespace.array(z39__namespace.lazy(() => UpdateCustomerOverageAllowedResponse$inboundSchema))
|
|
10911
11193
|
)
|
|
10912
11194
|
}),
|
|
10913
11195
|
z39__namespace.transform((v) => {
|
|
10914
11196
|
return remap(v, {
|
|
10915
11197
|
"auto_topups": "autoTopups",
|
|
10916
11198
|
"spend_limits": "spendLimits",
|
|
10917
|
-
"usage_alerts": "usageAlerts"
|
|
11199
|
+
"usage_alerts": "usageAlerts",
|
|
11200
|
+
"overage_allowed": "overageAllowed"
|
|
10918
11201
|
});
|
|
10919
11202
|
})
|
|
10920
11203
|
);
|
|
@@ -11173,6 +11456,24 @@ function updateEntityUsageAlertRequestBodyToJSON(updateEntityUsageAlertRequestBo
|
|
|
11173
11456
|
)
|
|
11174
11457
|
);
|
|
11175
11458
|
}
|
|
11459
|
+
var UpdateEntityOverageAllowedRequest$outboundSchema = z39__namespace.pipe(
|
|
11460
|
+
z39__namespace.object({
|
|
11461
|
+
featureId: z39__namespace.string(),
|
|
11462
|
+
enabled: z39__namespace._default(z39__namespace.boolean(), false)
|
|
11463
|
+
}),
|
|
11464
|
+
z39__namespace.transform((v) => {
|
|
11465
|
+
return remap(v, {
|
|
11466
|
+
featureId: "feature_id"
|
|
11467
|
+
});
|
|
11468
|
+
})
|
|
11469
|
+
);
|
|
11470
|
+
function updateEntityOverageAllowedRequestToJSON(updateEntityOverageAllowedRequest) {
|
|
11471
|
+
return JSON.stringify(
|
|
11472
|
+
UpdateEntityOverageAllowedRequest$outboundSchema.parse(
|
|
11473
|
+
updateEntityOverageAllowedRequest
|
|
11474
|
+
)
|
|
11475
|
+
);
|
|
11476
|
+
}
|
|
11176
11477
|
var UpdateEntityBillingControlsRequest$outboundSchema = z39__namespace.pipe(
|
|
11177
11478
|
z39__namespace.object({
|
|
11178
11479
|
spendLimits: z39__namespace.optional(
|
|
@@ -11180,12 +11481,16 @@ var UpdateEntityBillingControlsRequest$outboundSchema = z39__namespace.pipe(
|
|
|
11180
11481
|
),
|
|
11181
11482
|
usageAlerts: z39__namespace.optional(
|
|
11182
11483
|
z39__namespace.array(z39__namespace.lazy(() => UpdateEntityUsageAlertRequestBody$outboundSchema))
|
|
11484
|
+
),
|
|
11485
|
+
overageAllowed: z39__namespace.optional(
|
|
11486
|
+
z39__namespace.array(z39__namespace.lazy(() => UpdateEntityOverageAllowedRequest$outboundSchema))
|
|
11183
11487
|
)
|
|
11184
11488
|
}),
|
|
11185
11489
|
z39__namespace.transform((v) => {
|
|
11186
11490
|
return remap(v, {
|
|
11187
11491
|
spendLimits: "spend_limits",
|
|
11188
|
-
usageAlerts: "usage_alerts"
|
|
11492
|
+
usageAlerts: "usage_alerts",
|
|
11493
|
+
overageAllowed: "overage_allowed"
|
|
11189
11494
|
});
|
|
11190
11495
|
})
|
|
11191
11496
|
);
|
|
@@ -11405,6 +11710,24 @@ function updateEntityUsageAlertResponseFromJSON(jsonString) {
|
|
|
11405
11710
|
`Failed to parse 'UpdateEntityUsageAlertResponse' from JSON`
|
|
11406
11711
|
);
|
|
11407
11712
|
}
|
|
11713
|
+
var UpdateEntityOverageAllowedResponse$inboundSchema = z39__namespace.pipe(
|
|
11714
|
+
z39__namespace.object({
|
|
11715
|
+
feature_id: string4(),
|
|
11716
|
+
enabled: z39__namespace._default(boolean2(), false)
|
|
11717
|
+
}),
|
|
11718
|
+
z39__namespace.transform((v) => {
|
|
11719
|
+
return remap(v, {
|
|
11720
|
+
"feature_id": "featureId"
|
|
11721
|
+
});
|
|
11722
|
+
})
|
|
11723
|
+
);
|
|
11724
|
+
function updateEntityOverageAllowedResponseFromJSON(jsonString) {
|
|
11725
|
+
return safeParse(
|
|
11726
|
+
jsonString,
|
|
11727
|
+
(x) => UpdateEntityOverageAllowedResponse$inboundSchema.parse(JSON.parse(x)),
|
|
11728
|
+
`Failed to parse 'UpdateEntityOverageAllowedResponse' from JSON`
|
|
11729
|
+
);
|
|
11730
|
+
}
|
|
11408
11731
|
var UpdateEntityBillingControlsResponse$inboundSchema = z39__namespace.pipe(
|
|
11409
11732
|
z39__namespace.object({
|
|
11410
11733
|
spend_limits: optional2(
|
|
@@ -11412,12 +11735,16 @@ var UpdateEntityBillingControlsResponse$inboundSchema = z39__namespace.pipe(
|
|
|
11412
11735
|
),
|
|
11413
11736
|
usage_alerts: optional2(
|
|
11414
11737
|
z39__namespace.array(z39__namespace.lazy(() => UpdateEntityUsageAlertResponse$inboundSchema))
|
|
11738
|
+
),
|
|
11739
|
+
overage_allowed: optional2(
|
|
11740
|
+
z39__namespace.array(z39__namespace.lazy(() => UpdateEntityOverageAllowedResponse$inboundSchema))
|
|
11415
11741
|
)
|
|
11416
11742
|
}),
|
|
11417
11743
|
z39__namespace.transform((v) => {
|
|
11418
11744
|
return remap(v, {
|
|
11419
11745
|
"spend_limits": "spendLimits",
|
|
11420
|
-
"usage_alerts": "usageAlerts"
|
|
11746
|
+
"usage_alerts": "usageAlerts",
|
|
11747
|
+
"overage_allowed": "overageAllowed"
|
|
11421
11748
|
});
|
|
11422
11749
|
})
|
|
11423
11750
|
);
|
|
@@ -11851,11 +12178,13 @@ var UpdatePlanExpiryDurationTypeRequest$outboundSchema = z39__namespace.enum(Upd
|
|
|
11851
12178
|
var UpdatePlanRolloverRequest$outboundSchema = z39__namespace.pipe(
|
|
11852
12179
|
z39__namespace.object({
|
|
11853
12180
|
max: z39__namespace.optional(z39__namespace.number()),
|
|
12181
|
+
maxPercentage: z39__namespace.optional(z39__namespace.number()),
|
|
11854
12182
|
expiryDurationType: UpdatePlanExpiryDurationTypeRequest$outboundSchema,
|
|
11855
12183
|
expiryDurationLength: z39__namespace.optional(z39__namespace.number())
|
|
11856
12184
|
}),
|
|
11857
12185
|
z39__namespace.transform((v) => {
|
|
11858
12186
|
return remap(v, {
|
|
12187
|
+
maxPercentage: "max_percentage",
|
|
11859
12188
|
expiryDurationType: "expiry_duration_type",
|
|
11860
12189
|
expiryDurationLength: "expiry_duration_length"
|
|
11861
12190
|
});
|
|
@@ -12116,11 +12445,13 @@ var UpdatePlanExpiryDurationTypeResponse$inboundSchema = inboundSchema(UpdatePla
|
|
|
12116
12445
|
var UpdatePlanRolloverResponse$inboundSchema = z39__namespace.pipe(
|
|
12117
12446
|
z39__namespace.object({
|
|
12118
12447
|
max: nullable(number2()),
|
|
12448
|
+
max_percentage: z39__namespace.optional(z39__namespace.nullable(number2())),
|
|
12119
12449
|
expiry_duration_type: UpdatePlanExpiryDurationTypeResponse$inboundSchema,
|
|
12120
12450
|
expiry_duration_length: optional2(number2())
|
|
12121
12451
|
}),
|
|
12122
12452
|
z39__namespace.transform((v) => {
|
|
12123
12453
|
return remap(v, {
|
|
12454
|
+
"max_percentage": "maxPercentage",
|
|
12124
12455
|
"expiry_duration_type": "expiryDurationType",
|
|
12125
12456
|
"expiry_duration_length": "expiryDurationLength"
|
|
12126
12457
|
});
|
|
@@ -12433,7 +12764,8 @@ async function $do2(client, request, options) {
|
|
|
12433
12764
|
var FAIL_OPEN_OPERATION_IDS = /* @__PURE__ */ new Set([
|
|
12434
12765
|
"check",
|
|
12435
12766
|
"track",
|
|
12436
|
-
"getOrCreateCustomer"
|
|
12767
|
+
"getOrCreateCustomer",
|
|
12768
|
+
"getEntity"
|
|
12437
12769
|
]);
|
|
12438
12770
|
var FAIL_OPEN_LOG_MESSAGE = "[Autumn] Request failed \u2014 failing open. Learn more: https://docs.useautumn.com/documentation/fail-open";
|
|
12439
12771
|
var FAIL_OPEN_BODIES = {
|
|
@@ -12463,6 +12795,18 @@ var FAIL_OPEN_BODIES = {
|
|
|
12463
12795
|
purchases: [],
|
|
12464
12796
|
balances: {},
|
|
12465
12797
|
flags: {}
|
|
12798
|
+
},
|
|
12799
|
+
getEntity: {
|
|
12800
|
+
id: null,
|
|
12801
|
+
name: null,
|
|
12802
|
+
customer_id: null,
|
|
12803
|
+
feature_id: null,
|
|
12804
|
+
created_at: 0,
|
|
12805
|
+
env: "live",
|
|
12806
|
+
subscriptions: [],
|
|
12807
|
+
purchases: [],
|
|
12808
|
+
balances: {},
|
|
12809
|
+
flags: {}
|
|
12466
12810
|
}
|
|
12467
12811
|
};
|
|
12468
12812
|
var FailOpenHook = class {
|
|
@@ -16801,6 +17145,8 @@ exports.CreateEntityEnv$inboundSchema = CreateEntityEnv$inboundSchema;
|
|
|
16801
17145
|
exports.CreateEntityFeature$inboundSchema = CreateEntityFeature$inboundSchema;
|
|
16802
17146
|
exports.CreateEntityFlags$inboundSchema = CreateEntityFlags$inboundSchema;
|
|
16803
17147
|
exports.CreateEntityInvoice$inboundSchema = CreateEntityInvoice$inboundSchema;
|
|
17148
|
+
exports.CreateEntityOverageAllowedRequest$outboundSchema = CreateEntityOverageAllowedRequest$outboundSchema;
|
|
17149
|
+
exports.CreateEntityOverageAllowedResponse$inboundSchema = CreateEntityOverageAllowedResponse$inboundSchema;
|
|
16804
17150
|
exports.CreateEntityParams$outboundSchema = CreateEntityParams$outboundSchema;
|
|
16805
17151
|
exports.CreateEntityPurchase$inboundSchema = CreateEntityPurchase$inboundSchema;
|
|
16806
17152
|
exports.CreateEntityResponse$inboundSchema = CreateEntityResponse$inboundSchema;
|
|
@@ -16900,6 +17246,7 @@ exports.CustomerDataAutoTopup$outboundSchema = CustomerDataAutoTopup$outboundSch
|
|
|
16900
17246
|
exports.CustomerDataBillingControls$outboundSchema = CustomerDataBillingControls$outboundSchema;
|
|
16901
17247
|
exports.CustomerDataInterval = CustomerDataInterval;
|
|
16902
17248
|
exports.CustomerDataInterval$outboundSchema = CustomerDataInterval$outboundSchema;
|
|
17249
|
+
exports.CustomerDataOverageAllowed$outboundSchema = CustomerDataOverageAllowed$outboundSchema;
|
|
16903
17250
|
exports.CustomerDataPurchaseLimit$outboundSchema = CustomerDataPurchaseLimit$outboundSchema;
|
|
16904
17251
|
exports.CustomerDataSpendLimit$outboundSchema = CustomerDataSpendLimit$outboundSchema;
|
|
16905
17252
|
exports.CustomerDataThresholdType = CustomerDataThresholdType;
|
|
@@ -16916,6 +17263,7 @@ exports.CustomerFlagsType = CustomerFlagsType;
|
|
|
16916
17263
|
exports.CustomerFlagsType$inboundSchema = CustomerFlagsType$inboundSchema;
|
|
16917
17264
|
exports.CustomerInterval = CustomerInterval;
|
|
16918
17265
|
exports.CustomerInterval$inboundSchema = CustomerInterval$inboundSchema;
|
|
17266
|
+
exports.CustomerOverageAllowed$inboundSchema = CustomerOverageAllowed$inboundSchema;
|
|
16919
17267
|
exports.CustomerPurchaseLimit$inboundSchema = CustomerPurchaseLimit$inboundSchema;
|
|
16920
17268
|
exports.CustomerSpendLimit$inboundSchema = CustomerSpendLimit$inboundSchema;
|
|
16921
17269
|
exports.CustomerStatus = CustomerStatus;
|
|
@@ -16964,6 +17312,7 @@ exports.GetEntityEnv$inboundSchema = GetEntityEnv$inboundSchema;
|
|
|
16964
17312
|
exports.GetEntityFeature$inboundSchema = GetEntityFeature$inboundSchema;
|
|
16965
17313
|
exports.GetEntityFlags$inboundSchema = GetEntityFlags$inboundSchema;
|
|
16966
17314
|
exports.GetEntityInvoice$inboundSchema = GetEntityInvoice$inboundSchema;
|
|
17315
|
+
exports.GetEntityOverageAllowed$inboundSchema = GetEntityOverageAllowed$inboundSchema;
|
|
16967
17316
|
exports.GetEntityParams$outboundSchema = GetEntityParams$outboundSchema;
|
|
16968
17317
|
exports.GetEntityPurchase$inboundSchema = GetEntityPurchase$inboundSchema;
|
|
16969
17318
|
exports.GetEntityResponse$inboundSchema = GetEntityResponse$inboundSchema;
|
|
@@ -16986,6 +17335,7 @@ exports.GetOrCreateCustomerAutoTopup$outboundSchema = GetOrCreateCustomerAutoTop
|
|
|
16986
17335
|
exports.GetOrCreateCustomerBillingControls$outboundSchema = GetOrCreateCustomerBillingControls$outboundSchema;
|
|
16987
17336
|
exports.GetOrCreateCustomerInterval = GetOrCreateCustomerInterval;
|
|
16988
17337
|
exports.GetOrCreateCustomerInterval$outboundSchema = GetOrCreateCustomerInterval$outboundSchema;
|
|
17338
|
+
exports.GetOrCreateCustomerOverageAllowed$outboundSchema = GetOrCreateCustomerOverageAllowed$outboundSchema;
|
|
16989
17339
|
exports.GetOrCreateCustomerParams$outboundSchema = GetOrCreateCustomerParams$outboundSchema;
|
|
16990
17340
|
exports.GetOrCreateCustomerPurchaseLimit$outboundSchema = GetOrCreateCustomerPurchaseLimit$outboundSchema;
|
|
16991
17341
|
exports.GetOrCreateCustomerSpendLimit$outboundSchema = GetOrCreateCustomerSpendLimit$outboundSchema;
|
|
@@ -17048,6 +17398,7 @@ exports.ListCustomersFlags$inboundSchema = ListCustomersFlags$inboundSchema;
|
|
|
17048
17398
|
exports.ListCustomersInterval = ListCustomersInterval;
|
|
17049
17399
|
exports.ListCustomersInterval$inboundSchema = ListCustomersInterval$inboundSchema;
|
|
17050
17400
|
exports.ListCustomersList$inboundSchema = ListCustomersList$inboundSchema;
|
|
17401
|
+
exports.ListCustomersOverageAllowed$inboundSchema = ListCustomersOverageAllowed$inboundSchema;
|
|
17051
17402
|
exports.ListCustomersParams$outboundSchema = ListCustomersParams$outboundSchema;
|
|
17052
17403
|
exports.ListCustomersPlan$outboundSchema = ListCustomersPlan$outboundSchema;
|
|
17053
17404
|
exports.ListCustomersPurchase$inboundSchema = ListCustomersPurchase$inboundSchema;
|
|
@@ -17134,6 +17485,7 @@ exports.MultiAttachOnDecrease = MultiAttachOnDecrease;
|
|
|
17134
17485
|
exports.MultiAttachOnDecrease$outboundSchema = MultiAttachOnDecrease$outboundSchema;
|
|
17135
17486
|
exports.MultiAttachOnIncrease = MultiAttachOnIncrease;
|
|
17136
17487
|
exports.MultiAttachOnIncrease$outboundSchema = MultiAttachOnIncrease$outboundSchema;
|
|
17488
|
+
exports.MultiAttachOverageAllowed$outboundSchema = MultiAttachOverageAllowed$outboundSchema;
|
|
17137
17489
|
exports.MultiAttachParams$outboundSchema = MultiAttachParams$outboundSchema;
|
|
17138
17490
|
exports.MultiAttachPlan$outboundSchema = MultiAttachPlan$outboundSchema;
|
|
17139
17491
|
exports.MultiAttachPlanItem$outboundSchema = MultiAttachPlanItem$outboundSchema;
|
|
@@ -17277,6 +17629,7 @@ exports.PreviewMultiAttachOnIncrease = PreviewMultiAttachOnIncrease;
|
|
|
17277
17629
|
exports.PreviewMultiAttachOnIncrease$outboundSchema = PreviewMultiAttachOnIncrease$outboundSchema;
|
|
17278
17630
|
exports.PreviewMultiAttachOutgoing$inboundSchema = PreviewMultiAttachOutgoing$inboundSchema;
|
|
17279
17631
|
exports.PreviewMultiAttachOutgoingFeatureQuantity$inboundSchema = PreviewMultiAttachOutgoingFeatureQuantity$inboundSchema;
|
|
17632
|
+
exports.PreviewMultiAttachOverageAllowed$outboundSchema = PreviewMultiAttachOverageAllowed$outboundSchema;
|
|
17280
17633
|
exports.PreviewMultiAttachParams$outboundSchema = PreviewMultiAttachParams$outboundSchema;
|
|
17281
17634
|
exports.PreviewMultiAttachPlan$outboundSchema = PreviewMultiAttachPlan$outboundSchema;
|
|
17282
17635
|
exports.PreviewMultiAttachPlanFeatureQuantity$outboundSchema = PreviewMultiAttachPlanFeatureQuantity$outboundSchema;
|
|
@@ -17445,6 +17798,8 @@ exports.UpdateCustomerIntervalRequest = UpdateCustomerIntervalRequest;
|
|
|
17445
17798
|
exports.UpdateCustomerIntervalRequest$outboundSchema = UpdateCustomerIntervalRequest$outboundSchema;
|
|
17446
17799
|
exports.UpdateCustomerIntervalResponse = UpdateCustomerIntervalResponse;
|
|
17447
17800
|
exports.UpdateCustomerIntervalResponse$inboundSchema = UpdateCustomerIntervalResponse$inboundSchema;
|
|
17801
|
+
exports.UpdateCustomerOverageAllowedRequest$outboundSchema = UpdateCustomerOverageAllowedRequest$outboundSchema;
|
|
17802
|
+
exports.UpdateCustomerOverageAllowedResponse$inboundSchema = UpdateCustomerOverageAllowedResponse$inboundSchema;
|
|
17448
17803
|
exports.UpdateCustomerParams$outboundSchema = UpdateCustomerParams$outboundSchema;
|
|
17449
17804
|
exports.UpdateCustomerPurchase$inboundSchema = UpdateCustomerPurchase$inboundSchema;
|
|
17450
17805
|
exports.UpdateCustomerPurchaseLimitRequest$outboundSchema = UpdateCustomerPurchaseLimitRequest$outboundSchema;
|
|
@@ -17472,6 +17827,8 @@ exports.UpdateEntityEnv$inboundSchema = UpdateEntityEnv$inboundSchema;
|
|
|
17472
17827
|
exports.UpdateEntityFeature$inboundSchema = UpdateEntityFeature$inboundSchema;
|
|
17473
17828
|
exports.UpdateEntityFlags$inboundSchema = UpdateEntityFlags$inboundSchema;
|
|
17474
17829
|
exports.UpdateEntityInvoice$inboundSchema = UpdateEntityInvoice$inboundSchema;
|
|
17830
|
+
exports.UpdateEntityOverageAllowedRequest$outboundSchema = UpdateEntityOverageAllowedRequest$outboundSchema;
|
|
17831
|
+
exports.UpdateEntityOverageAllowedResponse$inboundSchema = UpdateEntityOverageAllowedResponse$inboundSchema;
|
|
17475
17832
|
exports.UpdateEntityParams$outboundSchema = UpdateEntityParams$outboundSchema;
|
|
17476
17833
|
exports.UpdateEntityPurchase$inboundSchema = UpdateEntityPurchase$inboundSchema;
|
|
17477
17834
|
exports.UpdateEntityResponse$inboundSchema = UpdateEntityResponse$inboundSchema;
|
|
@@ -17632,6 +17989,8 @@ exports.createEntityDisplayFromJSON = createEntityDisplayFromJSON;
|
|
|
17632
17989
|
exports.createEntityFeatureFromJSON = createEntityFeatureFromJSON;
|
|
17633
17990
|
exports.createEntityFlagsFromJSON = createEntityFlagsFromJSON;
|
|
17634
17991
|
exports.createEntityInvoiceFromJSON = createEntityInvoiceFromJSON;
|
|
17992
|
+
exports.createEntityOverageAllowedRequestToJSON = createEntityOverageAllowedRequestToJSON;
|
|
17993
|
+
exports.createEntityOverageAllowedResponseFromJSON = createEntityOverageAllowedResponseFromJSON;
|
|
17635
17994
|
exports.createEntityParamsToJSON = createEntityParamsToJSON;
|
|
17636
17995
|
exports.createEntityPurchaseFromJSON = createEntityPurchaseFromJSON;
|
|
17637
17996
|
exports.createEntityResponseFromJSON = createEntityResponseFromJSON;
|
|
@@ -17675,6 +18034,7 @@ exports.customerBillingControlsFromJSON = customerBillingControlsFromJSON;
|
|
|
17675
18034
|
exports.customerCreditSchemaFromJSON = customerCreditSchemaFromJSON;
|
|
17676
18035
|
exports.customerDataAutoTopupToJSON = customerDataAutoTopupToJSON;
|
|
17677
18036
|
exports.customerDataBillingControlsToJSON = customerDataBillingControlsToJSON;
|
|
18037
|
+
exports.customerDataOverageAllowedToJSON = customerDataOverageAllowedToJSON;
|
|
17678
18038
|
exports.customerDataPurchaseLimitToJSON = customerDataPurchaseLimitToJSON;
|
|
17679
18039
|
exports.customerDataSpendLimitToJSON = customerDataSpendLimitToJSON;
|
|
17680
18040
|
exports.customerDataToJSON = customerDataToJSON;
|
|
@@ -17683,6 +18043,7 @@ exports.customerDisplayFromJSON = customerDisplayFromJSON;
|
|
|
17683
18043
|
exports.customerEligibilityFromJSON = customerEligibilityFromJSON;
|
|
17684
18044
|
exports.customerFeatureFromJSON = customerFeatureFromJSON;
|
|
17685
18045
|
exports.customerFromJSON = customerFromJSON;
|
|
18046
|
+
exports.customerOverageAllowedFromJSON = customerOverageAllowedFromJSON;
|
|
17686
18047
|
exports.customerPurchaseLimitFromJSON = customerPurchaseLimitFromJSON;
|
|
17687
18048
|
exports.customerSpendLimitFromJSON = customerSpendLimitFromJSON;
|
|
17688
18049
|
exports.customerUsageAlertFromJSON = customerUsageAlertFromJSON;
|
|
@@ -17715,6 +18076,7 @@ exports.getEntityDisplayFromJSON = getEntityDisplayFromJSON;
|
|
|
17715
18076
|
exports.getEntityFeatureFromJSON = getEntityFeatureFromJSON;
|
|
17716
18077
|
exports.getEntityFlagsFromJSON = getEntityFlagsFromJSON;
|
|
17717
18078
|
exports.getEntityInvoiceFromJSON = getEntityInvoiceFromJSON;
|
|
18079
|
+
exports.getEntityOverageAllowedFromJSON = getEntityOverageAllowedFromJSON;
|
|
17718
18080
|
exports.getEntityParamsToJSON = getEntityParamsToJSON;
|
|
17719
18081
|
exports.getEntityPurchaseFromJSON = getEntityPurchaseFromJSON;
|
|
17720
18082
|
exports.getEntityResponseFromJSON = getEntityResponseFromJSON;
|
|
@@ -17727,6 +18089,7 @@ exports.getFeatureParamsToJSON = getFeatureParamsToJSON;
|
|
|
17727
18089
|
exports.getFeatureResponseFromJSON = getFeatureResponseFromJSON;
|
|
17728
18090
|
exports.getOrCreateCustomerAutoTopupToJSON = getOrCreateCustomerAutoTopupToJSON;
|
|
17729
18091
|
exports.getOrCreateCustomerBillingControlsToJSON = getOrCreateCustomerBillingControlsToJSON;
|
|
18092
|
+
exports.getOrCreateCustomerOverageAllowedToJSON = getOrCreateCustomerOverageAllowedToJSON;
|
|
17730
18093
|
exports.getOrCreateCustomerParamsToJSON = getOrCreateCustomerParamsToJSON;
|
|
17731
18094
|
exports.getOrCreateCustomerPurchaseLimitToJSON = getOrCreateCustomerPurchaseLimitToJSON;
|
|
17732
18095
|
exports.getOrCreateCustomerSpendLimitToJSON = getOrCreateCustomerSpendLimitToJSON;
|
|
@@ -17756,6 +18119,7 @@ exports.listCustomersDisplayFromJSON = listCustomersDisplayFromJSON;
|
|
|
17756
18119
|
exports.listCustomersFeatureFromJSON = listCustomersFeatureFromJSON;
|
|
17757
18120
|
exports.listCustomersFlagsFromJSON = listCustomersFlagsFromJSON;
|
|
17758
18121
|
exports.listCustomersListFromJSON = listCustomersListFromJSON;
|
|
18122
|
+
exports.listCustomersOverageAllowedFromJSON = listCustomersOverageAllowedFromJSON;
|
|
17759
18123
|
exports.listCustomersParamsToJSON = listCustomersParamsToJSON;
|
|
17760
18124
|
exports.listCustomersPlanToJSON = listCustomersPlanToJSON;
|
|
17761
18125
|
exports.listCustomersPurchaseFromJSON = listCustomersPurchaseFromJSON;
|
|
@@ -17798,6 +18162,7 @@ exports.multiAttachFeatureQuantityToJSON = multiAttachFeatureQuantityToJSON;
|
|
|
17798
18162
|
exports.multiAttachFreeTrialParamsToJSON = multiAttachFreeTrialParamsToJSON;
|
|
17799
18163
|
exports.multiAttachInvoiceFromJSON = multiAttachInvoiceFromJSON;
|
|
17800
18164
|
exports.multiAttachInvoiceModeToJSON = multiAttachInvoiceModeToJSON;
|
|
18165
|
+
exports.multiAttachOverageAllowedToJSON = multiAttachOverageAllowedToJSON;
|
|
17801
18166
|
exports.multiAttachParamsToJSON = multiAttachParamsToJSON;
|
|
17802
18167
|
exports.multiAttachPlanItemToJSON = multiAttachPlanItemToJSON;
|
|
17803
18168
|
exports.multiAttachPlanToJSON = multiAttachPlanToJSON;
|
|
@@ -17873,6 +18238,7 @@ exports.previewMultiAttachNextCycleLineItemFromJSON = previewMultiAttachNextCycl
|
|
|
17873
18238
|
exports.previewMultiAttachNextCycleLineItemPeriodFromJSON = previewMultiAttachNextCycleLineItemPeriodFromJSON;
|
|
17874
18239
|
exports.previewMultiAttachOutgoingFeatureQuantityFromJSON = previewMultiAttachOutgoingFeatureQuantityFromJSON;
|
|
17875
18240
|
exports.previewMultiAttachOutgoingFromJSON = previewMultiAttachOutgoingFromJSON;
|
|
18241
|
+
exports.previewMultiAttachOverageAllowedToJSON = previewMultiAttachOverageAllowedToJSON;
|
|
17876
18242
|
exports.previewMultiAttachParamsToJSON = previewMultiAttachParamsToJSON;
|
|
17877
18243
|
exports.previewMultiAttachPlanFeatureQuantityToJSON = previewMultiAttachPlanFeatureQuantityToJSON;
|
|
17878
18244
|
exports.previewMultiAttachPlanItemToJSON = previewMultiAttachPlanItemToJSON;
|
|
@@ -17960,6 +18326,8 @@ exports.updateCustomerCreditSchemaFromJSON = updateCustomerCreditSchemaFromJSON;
|
|
|
17960
18326
|
exports.updateCustomerDisplayFromJSON = updateCustomerDisplayFromJSON;
|
|
17961
18327
|
exports.updateCustomerFeatureFromJSON = updateCustomerFeatureFromJSON;
|
|
17962
18328
|
exports.updateCustomerFlagsFromJSON = updateCustomerFlagsFromJSON;
|
|
18329
|
+
exports.updateCustomerOverageAllowedRequestToJSON = updateCustomerOverageAllowedRequestToJSON;
|
|
18330
|
+
exports.updateCustomerOverageAllowedResponseFromJSON = updateCustomerOverageAllowedResponseFromJSON;
|
|
17963
18331
|
exports.updateCustomerParamsToJSON = updateCustomerParamsToJSON;
|
|
17964
18332
|
exports.updateCustomerPurchaseFromJSON = updateCustomerPurchaseFromJSON;
|
|
17965
18333
|
exports.updateCustomerPurchaseLimitRequestToJSON = updateCustomerPurchaseLimitRequestToJSON;
|
|
@@ -17977,6 +18345,8 @@ exports.updateEntityDisplayFromJSON = updateEntityDisplayFromJSON;
|
|
|
17977
18345
|
exports.updateEntityFeatureFromJSON = updateEntityFeatureFromJSON;
|
|
17978
18346
|
exports.updateEntityFlagsFromJSON = updateEntityFlagsFromJSON;
|
|
17979
18347
|
exports.updateEntityInvoiceFromJSON = updateEntityInvoiceFromJSON;
|
|
18348
|
+
exports.updateEntityOverageAllowedRequestToJSON = updateEntityOverageAllowedRequestToJSON;
|
|
18349
|
+
exports.updateEntityOverageAllowedResponseFromJSON = updateEntityOverageAllowedResponseFromJSON;
|
|
17980
18350
|
exports.updateEntityParamsToJSON = updateEntityParamsToJSON;
|
|
17981
18351
|
exports.updateEntityPurchaseFromJSON = updateEntityPurchaseFromJSON;
|
|
17982
18352
|
exports.updateEntityResponseFromJSON = updateEntityResponseFromJSON;
|