autumn-js 1.3.45 → 1.3.46
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/backend/adapters/express.js +43 -17
- package/dist/backend/adapters/express.mjs +4 -4
- package/dist/backend/adapters/fetch.js +43 -17
- package/dist/backend/adapters/fetch.mjs +4 -4
- package/dist/backend/adapters/hono.js +43 -17
- package/dist/backend/adapters/hono.mjs +4 -4
- package/dist/backend/adapters/index.js +43 -17
- package/dist/backend/adapters/index.mjs +7 -7
- package/dist/backend/adapters/next.js +43 -17
- package/dist/backend/adapters/next.mjs +4 -4
- package/dist/backend/{chunk-YPH7HFUK.mjs → chunk-6RGLO6FV.mjs} +1 -1
- package/dist/backend/{chunk-O626OIQH.mjs → chunk-C4IENXIG.mjs} +1 -1
- package/dist/backend/{chunk-B6LFGURF.mjs → chunk-DZBBXOKT.mjs} +1 -1
- package/dist/backend/{chunk-BKJ5TJQD.mjs → chunk-ESSDMDXJ.mjs} +1 -1
- package/dist/backend/{chunk-WUJROAC6.mjs → chunk-KSYN5FLV.mjs} +43 -17
- package/dist/backend/{chunk-HGLQ4JSO.mjs → chunk-NOJP6FIN.mjs} +1 -1
- package/dist/backend/{chunk-BBDVVRGT.mjs → chunk-ZFFEG27F.mjs} +1 -1
- package/dist/backend/core/handlers/coreHandler.d.mts +1 -1
- package/dist/backend/core/handlers/coreHandler.d.ts +1 -1
- package/dist/backend/core/handlers/coreHandler.js +43 -17
- package/dist/backend/core/handlers/coreHandler.mjs +2 -2
- package/dist/backend/core/handlers/executeRoute.d.mts +1 -1
- package/dist/backend/core/handlers/executeRoute.d.ts +1 -1
- package/dist/backend/core/handlers/handleRouteByName.js +43 -17
- package/dist/backend/core/handlers/handleRouteByName.mjs +2 -2
- package/dist/backend/core/handlers/index.d.mts +1 -1
- package/dist/backend/core/handlers/index.d.ts +1 -1
- package/dist/backend/core/handlers/index.js +43 -17
- package/dist/backend/core/handlers/index.mjs +3 -3
- package/dist/backend/core/index.d.mts +1 -1
- package/dist/backend/core/index.d.ts +1 -1
- package/dist/backend/core/index.js +43 -17
- package/dist/backend/core/index.mjs +3 -3
- package/dist/backend/core/routes/index.d.mts +1 -1
- package/dist/backend/core/routes/index.d.ts +1 -1
- package/dist/backend/core/routes/routeBuilder.d.mts +1 -1
- package/dist/backend/core/routes/routeBuilder.d.ts +1 -1
- package/dist/backend/core/routes/routeConfigs.d.mts +1 -1
- package/dist/backend/core/routes/routeConfigs.d.ts +1 -1
- package/dist/backend/core/types/handlerTypes.d.mts +1 -1
- package/dist/backend/core/types/handlerTypes.d.ts +1 -1
- package/dist/backend/core/types/index.d.mts +1 -1
- package/dist/backend/core/types/index.d.ts +1 -1
- package/dist/backend/core/types/routeTypes.d.mts +1 -1
- package/dist/backend/core/types/routeTypes.d.ts +1 -1
- package/dist/backend/index.d.mts +2 -2
- package/dist/backend/index.d.ts +2 -2
- package/dist/backend/index.js +43 -17
- package/dist/backend/index.mjs +3 -3
- package/dist/backend/{routeTypes-DsIf5SHS.d.ts → routeTypes-4TatmvQY.d.ts} +73 -15
- package/dist/backend/{routeTypes-BAn0Kksn.d.mts → routeTypes-DAI_E67X.d.mts} +73 -15
- package/dist/better-auth/{chunk-3M4F43H2.mjs → chunk-R7IEJQOY.mjs} +43 -17
- package/dist/better-auth/index.js +43 -17
- package/dist/better-auth/index.mjs +1 -1
- package/dist/better-auth/utils/handleBetterAuthRoute.js +43 -17
- package/dist/better-auth/utils/handleBetterAuthRoute.mjs +1 -1
- package/dist/better-auth/utils/index.js +43 -17
- package/dist/better-auth/utils/index.mjs +1 -1
- package/dist/react/AutumnContext.d.mts +4 -4
- package/dist/react/AutumnContext.d.ts +4 -4
- package/dist/react/client/AutumnClient.d.mts +4 -4
- package/dist/react/client/AutumnClient.d.ts +4 -4
- package/dist/react/client/IAutumnClient.d.mts +4 -4
- package/dist/react/client/IAutumnClient.d.ts +4 -4
- package/dist/react/client/index.d.mts +4 -4
- package/dist/react/client/index.d.ts +4 -4
- package/dist/react/{customer-B0VDWypn.d.ts → customer-B0KAd7eZ.d.ts} +16 -16
- package/dist/react/{customer-BIYGF3IC.d.mts → customer-DfpvnPRk.d.mts} +16 -16
- package/dist/react/hooks/index.d.mts +4 -4
- package/dist/react/hooks/index.d.ts +4 -4
- 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 +4 -4
- package/dist/react/hooks/internal/useCustomerActions.d.ts +4 -4
- 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 +3 -3
- package/dist/react/hooks/useListPlans.d.ts +3 -3
- package/dist/react/hooks/useReferrals.d.mts +2 -2
- package/dist/react/hooks/useReferrals.d.ts +2 -2
- package/dist/react/index.d.mts +4 -4
- package/dist/react/index.d.ts +4 -4
- package/dist/react/{list-plans-response-kGzo3GRQ.d.ts → list-plans-response-6iUDTnPQ.d.ts} +1 -1
- package/dist/react/{list-plans-response-BqtwCPty.d.mts → list-plans-response-BzsqJlxN.d.mts} +1 -1
- package/dist/react/{params-DP6BNkc0.d.ts → params-CMcoADwO.d.ts} +1 -1
- package/dist/react/{params-DZznA-no.d.mts → params-vAoGWtk9.d.mts} +1 -1
- package/dist/react/{plan-CEOgE_On.d.mts → plan-Ct5TGTnS.d.mts} +33 -0
- package/dist/react/{plan-CEOgE_On.d.ts → plan-Ct5TGTnS.d.ts} +33 -0
- package/dist/sdk/index.d.mts +89 -21
- package/dist/sdk/index.d.ts +89 -21
- package/dist/sdk/index.js +75 -27
- package/dist/sdk/index.mjs +58 -18
- package/package.json +2 -2
|
@@ -10521,6 +10521,10 @@ var BalanceBillingMethod = {
|
|
|
10521
10521
|
Prepaid: "prepaid",
|
|
10522
10522
|
UsageBased: "usage_based"
|
|
10523
10523
|
};
|
|
10524
|
+
var BalanceSource = {
|
|
10525
|
+
Customer: "customer",
|
|
10526
|
+
Entity: "entity"
|
|
10527
|
+
};
|
|
10524
10528
|
var BalanceType$inboundSchema = inboundSchema(BalanceType);
|
|
10525
10529
|
var BalanceDimensions6$inboundSchema = z34.pipe(
|
|
10526
10530
|
z34.object({
|
|
@@ -10881,6 +10885,10 @@ var BalancePrice$inboundSchema = z34.pipe(
|
|
|
10881
10885
|
});
|
|
10882
10886
|
})
|
|
10883
10887
|
);
|
|
10888
|
+
var BalanceSource$inboundSchema = inboundSchema(BalanceSource);
|
|
10889
|
+
var Allocation$inboundSchema = z34.object({
|
|
10890
|
+
amount: number2()
|
|
10891
|
+
});
|
|
10884
10892
|
var Breakdown$inboundSchema = z34.pipe(
|
|
10885
10893
|
z34.object({
|
|
10886
10894
|
id: z34._default(string5(), ""),
|
|
@@ -10892,7 +10900,11 @@ var Breakdown$inboundSchema = z34.pipe(
|
|
|
10892
10900
|
unlimited: boolean2(),
|
|
10893
10901
|
reset: nullable(z34.lazy(() => BalanceReset$inboundSchema)),
|
|
10894
10902
|
price: nullable(z34.lazy(() => BalancePrice$inboundSchema)),
|
|
10895
|
-
expires_at: nullable(number2())
|
|
10903
|
+
expires_at: nullable(number2()),
|
|
10904
|
+
source: optional3(BalanceSource$inboundSchema),
|
|
10905
|
+
allocation: z34.optional(
|
|
10906
|
+
z34.nullable(z34.lazy(() => Allocation$inboundSchema))
|
|
10907
|
+
)
|
|
10896
10908
|
}),
|
|
10897
10909
|
z34.transform((v) => {
|
|
10898
10910
|
return remap(v, {
|
|
@@ -10929,7 +10941,9 @@ var Balance$inboundSchema = z34.pipe(
|
|
|
10929
10941
|
breakdown: optional3(z34.array(z34.lazy(() => Breakdown$inboundSchema))),
|
|
10930
10942
|
rollovers: optional3(z34.array(z34.lazy(
|
|
10931
10943
|
() => BalanceRollover$inboundSchema
|
|
10932
|
-
)))
|
|
10944
|
+
))),
|
|
10945
|
+
allocated: optional3(number2()),
|
|
10946
|
+
unallocated: optional3(number2())
|
|
10933
10947
|
}),
|
|
10934
10948
|
z34.transform((v) => {
|
|
10935
10949
|
return remap(v, {
|
|
@@ -27986,7 +28000,7 @@ var CustomerAutoTopupInterval1 = {
|
|
|
27986
28000
|
Week: "week",
|
|
27987
28001
|
Month: "month"
|
|
27988
28002
|
};
|
|
27989
|
-
var
|
|
28003
|
+
var CustomerAutoTopupSource = {
|
|
27990
28004
|
Customer: "customer",
|
|
27991
28005
|
Plan: "plan"
|
|
27992
28006
|
};
|
|
@@ -27994,7 +28008,7 @@ var CustomerLimitType = {
|
|
|
27994
28008
|
Absolute: "absolute",
|
|
27995
28009
|
UsagePercentage: "usage_percentage"
|
|
27996
28010
|
};
|
|
27997
|
-
var
|
|
28011
|
+
var CustomerSpendLimitSource = {
|
|
27998
28012
|
Customer: "customer",
|
|
27999
28013
|
Plan: "plan"
|
|
28000
28014
|
};
|
|
@@ -28008,7 +28022,7 @@ var CustomerAnchor = {
|
|
|
28008
28022
|
BillingCycle: "billing_cycle",
|
|
28009
28023
|
Utc: "utc"
|
|
28010
28024
|
};
|
|
28011
|
-
var
|
|
28025
|
+
var CustomerUsageLimitSource = {
|
|
28012
28026
|
Customer: "customer",
|
|
28013
28027
|
Plan: "plan"
|
|
28014
28028
|
};
|
|
@@ -28024,11 +28038,11 @@ var CustomerBasis = {
|
|
|
28024
28038
|
Recurring: "recurring",
|
|
28025
28039
|
UsageLimit: "usage_limit"
|
|
28026
28040
|
};
|
|
28027
|
-
var
|
|
28041
|
+
var CustomerUsageAlertSource = {
|
|
28028
28042
|
Customer: "customer",
|
|
28029
28043
|
Plan: "plan"
|
|
28030
28044
|
};
|
|
28031
|
-
var
|
|
28045
|
+
var CustomerOverageAllowedSource = {
|
|
28032
28046
|
Customer: "customer",
|
|
28033
28047
|
Plan: "plan"
|
|
28034
28048
|
};
|
|
@@ -28121,7 +28135,7 @@ var CustomerPurchaseLimitUnion$inboundSchema = smartUnion([
|
|
|
28121
28135
|
z58.lazy(() => CustomerPurchaseLimit1$inboundSchema),
|
|
28122
28136
|
z58.lazy(() => CustomerPurchaseLimit2$inboundSchema)
|
|
28123
28137
|
]);
|
|
28124
|
-
var
|
|
28138
|
+
var CustomerAutoTopupSource$inboundSchema = inboundSchema(CustomerAutoTopupSource);
|
|
28125
28139
|
var CustomerAutoTopup$inboundSchema = z58.pipe(
|
|
28126
28140
|
z58.object({
|
|
28127
28141
|
feature_id: string5(),
|
|
@@ -28133,7 +28147,7 @@ var CustomerAutoTopup$inboundSchema = z58.pipe(
|
|
|
28133
28147
|
z58.lazy(() => CustomerPurchaseLimit2$inboundSchema)
|
|
28134
28148
|
])),
|
|
28135
28149
|
invoice_mode: optional3(boolean2()),
|
|
28136
|
-
source: optional3(
|
|
28150
|
+
source: optional3(CustomerAutoTopupSource$inboundSchema)
|
|
28137
28151
|
}),
|
|
28138
28152
|
z58.transform((v) => {
|
|
28139
28153
|
return remap(v, {
|
|
@@ -28144,7 +28158,7 @@ var CustomerAutoTopup$inboundSchema = z58.pipe(
|
|
|
28144
28158
|
})
|
|
28145
28159
|
);
|
|
28146
28160
|
var CustomerLimitType$inboundSchema = inboundSchema(CustomerLimitType);
|
|
28147
|
-
var
|
|
28161
|
+
var CustomerSpendLimitSource$inboundSchema = inboundSchema(CustomerSpendLimitSource);
|
|
28148
28162
|
var CustomerSpendLimit$inboundSchema = z58.pipe(
|
|
28149
28163
|
z58.object({
|
|
28150
28164
|
feature_id: optional3(string5()),
|
|
@@ -28152,7 +28166,7 @@ var CustomerSpendLimit$inboundSchema = z58.pipe(
|
|
|
28152
28166
|
limit_type: optional3(CustomerLimitType$inboundSchema),
|
|
28153
28167
|
overage_limit: optional3(number2()),
|
|
28154
28168
|
skip_overage_billing: optional3(boolean2()),
|
|
28155
|
-
source: optional3(
|
|
28169
|
+
source: optional3(CustomerSpendLimitSource$inboundSchema)
|
|
28156
28170
|
}),
|
|
28157
28171
|
z58.transform((v) => {
|
|
28158
28172
|
return remap(v, {
|
|
@@ -28168,7 +28182,7 @@ var CustomerAnchor$inboundSchema = inboundSchema(CustomerAnchor);
|
|
|
28168
28182
|
var CustomerUsageLimitFilter$inboundSchema = z58.object({
|
|
28169
28183
|
properties: z58.record(z58.string(), string5())
|
|
28170
28184
|
});
|
|
28171
|
-
var
|
|
28185
|
+
var CustomerUsageLimitSource$inboundSchema = inboundSchema(CustomerUsageLimitSource);
|
|
28172
28186
|
var CustomerUsageLimit$inboundSchema = z58.pipe(
|
|
28173
28187
|
z58.object({
|
|
28174
28188
|
feature_id: string5(),
|
|
@@ -28180,7 +28194,7 @@ var CustomerUsageLimit$inboundSchema = z58.pipe(
|
|
|
28180
28194
|
z58.lazy(() => CustomerUsageLimitFilter$inboundSchema)
|
|
28181
28195
|
),
|
|
28182
28196
|
usage: optional3(number2()),
|
|
28183
|
-
source: optional3(
|
|
28197
|
+
source: optional3(CustomerUsageLimitSource$inboundSchema)
|
|
28184
28198
|
}),
|
|
28185
28199
|
z58.transform((v) => {
|
|
28186
28200
|
return remap(v, {
|
|
@@ -28193,7 +28207,7 @@ var CustomerBasis$inboundSchema = inboundSchema(CustomerBasis);
|
|
|
28193
28207
|
var CustomerUsageAlertFilter$inboundSchema = z58.object({
|
|
28194
28208
|
properties: z58.record(z58.string(), string5())
|
|
28195
28209
|
});
|
|
28196
|
-
var
|
|
28210
|
+
var CustomerUsageAlertSource$inboundSchema = inboundSchema(CustomerUsageAlertSource);
|
|
28197
28211
|
var CustomerUsageAlert$inboundSchema = z58.pipe(
|
|
28198
28212
|
z58.object({
|
|
28199
28213
|
feature_id: optional3(string5()),
|
|
@@ -28205,7 +28219,7 @@ var CustomerUsageAlert$inboundSchema = z58.pipe(
|
|
|
28205
28219
|
z58.lazy(() => CustomerUsageAlertFilter$inboundSchema)
|
|
28206
28220
|
),
|
|
28207
28221
|
name: optional3(string5()),
|
|
28208
|
-
source: optional3(
|
|
28222
|
+
source: optional3(CustomerUsageAlertSource$inboundSchema)
|
|
28209
28223
|
}),
|
|
28210
28224
|
z58.transform((v) => {
|
|
28211
28225
|
return remap(v, {
|
|
@@ -28214,12 +28228,12 @@ var CustomerUsageAlert$inboundSchema = z58.pipe(
|
|
|
28214
28228
|
});
|
|
28215
28229
|
})
|
|
28216
28230
|
);
|
|
28217
|
-
var
|
|
28231
|
+
var CustomerOverageAllowedSource$inboundSchema = inboundSchema(CustomerOverageAllowedSource);
|
|
28218
28232
|
var CustomerOverageAllowed$inboundSchema = z58.pipe(
|
|
28219
28233
|
z58.object({
|
|
28220
28234
|
feature_id: string5(),
|
|
28221
28235
|
enabled: z58._default(boolean2(), false),
|
|
28222
|
-
source: optional3(
|
|
28236
|
+
source: optional3(CustomerOverageAllowedSource$inboundSchema)
|
|
28223
28237
|
}),
|
|
28224
28238
|
z58.transform((v) => {
|
|
28225
28239
|
return remap(v, {
|
|
@@ -34992,6 +35006,10 @@ var ListBalancesBillingMethod = {
|
|
|
34992
35006
|
Prepaid: "prepaid",
|
|
34993
35007
|
UsageBased: "usage_based"
|
|
34994
35008
|
};
|
|
35009
|
+
var ListBalancesSource = {
|
|
35010
|
+
Customer: "customer",
|
|
35011
|
+
Entity: "entity"
|
|
35012
|
+
};
|
|
34995
35013
|
var ListBalancesListStatus = {
|
|
34996
35014
|
Active: "active",
|
|
34997
35015
|
Expired: "expired"
|
|
@@ -35070,6 +35088,10 @@ var ListBalancesPrice$inboundSchema = z85.pipe(
|
|
|
35070
35088
|
});
|
|
35071
35089
|
})
|
|
35072
35090
|
);
|
|
35091
|
+
var ListBalancesSource$inboundSchema = inboundSchema(ListBalancesSource);
|
|
35092
|
+
var ListBalancesAllocation$inboundSchema = z85.object({
|
|
35093
|
+
amount: number2()
|
|
35094
|
+
});
|
|
35073
35095
|
var ListBalancesListStatus$inboundSchema = inboundSchema(ListBalancesListStatus);
|
|
35074
35096
|
var ListBalancesRollover$inboundSchema = z85.pipe(
|
|
35075
35097
|
z85.object({
|
|
@@ -35095,6 +35117,10 @@ var ListBalancesList$inboundSchema = z85.pipe(
|
|
|
35095
35117
|
reset: nullable(z85.lazy(() => ListBalancesReset$inboundSchema)),
|
|
35096
35118
|
price: nullable(z85.lazy(() => ListBalancesPrice$inboundSchema)),
|
|
35097
35119
|
expires_at: nullable(number2()),
|
|
35120
|
+
source: optional3(ListBalancesSource$inboundSchema),
|
|
35121
|
+
allocation: z85.optional(
|
|
35122
|
+
z85.nullable(z85.lazy(() => ListBalancesAllocation$inboundSchema))
|
|
35123
|
+
),
|
|
35098
35124
|
feature_id: string5(),
|
|
35099
35125
|
status: ListBalancesListStatus$inboundSchema,
|
|
35100
35126
|
rollovers: z85.array(z85.lazy(() => ListBalancesRollover$inboundSchema)),
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { IAutumnClient } from './client/IAutumnClient.mjs';
|
|
3
|
-
import './params-
|
|
4
|
-
import './plan-
|
|
5
|
-
import './customer-
|
|
6
|
-
import './list-plans-response-
|
|
3
|
+
import './params-vAoGWtk9.mjs';
|
|
4
|
+
import './plan-Ct5TGTnS.mjs';
|
|
5
|
+
import './customer-DfpvnPRk.mjs';
|
|
6
|
+
import './list-plans-response-BzsqJlxN.mjs';
|
|
7
7
|
|
|
8
8
|
type AutumnContextValue = {
|
|
9
9
|
client: IAutumnClient;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { IAutumnClient } from './client/IAutumnClient.js';
|
|
3
|
-
import './params-
|
|
4
|
-
import './plan-
|
|
5
|
-
import './customer-
|
|
6
|
-
import './list-plans-response-
|
|
3
|
+
import './params-CMcoADwO.js';
|
|
4
|
+
import './plan-Ct5TGTnS.js';
|
|
5
|
+
import './customer-B0KAd7eZ.js';
|
|
6
|
+
import './list-plans-response-6iUDTnPQ.js';
|
|
7
7
|
|
|
8
8
|
type AutumnContextValue = {
|
|
9
9
|
client: IAutumnClient;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { IAutumnClient } from './IAutumnClient.mjs';
|
|
2
|
-
import '../params-
|
|
3
|
-
import '../plan-
|
|
4
|
-
import '../customer-
|
|
5
|
-
import '../list-plans-response-
|
|
2
|
+
import '../params-vAoGWtk9.mjs';
|
|
3
|
+
import '../plan-Ct5TGTnS.mjs';
|
|
4
|
+
import '../customer-DfpvnPRk.mjs';
|
|
5
|
+
import '../list-plans-response-BzsqJlxN.mjs';
|
|
6
6
|
|
|
7
7
|
/** Configuration for Autumn client */
|
|
8
8
|
type AutumnClientConfig = {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { IAutumnClient } from './IAutumnClient.js';
|
|
2
|
-
import '../params-
|
|
3
|
-
import '../plan-
|
|
4
|
-
import '../customer-
|
|
5
|
-
import '../list-plans-response-
|
|
2
|
+
import '../params-CMcoADwO.js';
|
|
3
|
+
import '../plan-Ct5TGTnS.js';
|
|
4
|
+
import '../customer-B0KAd7eZ.js';
|
|
5
|
+
import '../list-plans-response-6iUDTnPQ.js';
|
|
6
6
|
|
|
7
7
|
/** Configuration for Autumn client */
|
|
8
8
|
type AutumnClientConfig = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { d as ClientGetOrCreateCustomerParams, a as ClientAttachParams, A as AttachResponse, h as ClientPreviewAttachParams, p as PreviewAttachResponse, m as ClientUpdateSubscriptionParams, B as BillingUpdateResponse, j as ClientPreviewUpdateSubscriptionParams, q as PreviewUpdateResponse, f as ClientMultiAttachParams, M as MultiAttachResponse, i as ClientPreviewMultiAttachParams, r as PreviewMultiAttachResponse, l as ClientSetupPaymentParams, S as SetupPaymentResponse, g as ClientOpenCustomerPortalParams, O as OpenCustomerPortalResponse, b as ClientCreateReferralCodeParams, s as CreateReferralCodeResponse, k as ClientRedeemReferralCodeParams, R as RedeemReferralCodeResponse, t as ClientListPlansParams, e as ClientListEventsParams, L as ListEventsResponse, C as ClientAggregateEventsParams, u as AggregateEventsResponse, c as ClientGetEntityParams, G as GetEntityResponse } from '../params-
|
|
2
|
-
import { C as Customer } from '../customer-
|
|
3
|
-
import { L as ListPlansResponse } from '../list-plans-response-
|
|
4
|
-
import '../plan-
|
|
1
|
+
import { d as ClientGetOrCreateCustomerParams, a as ClientAttachParams, A as AttachResponse, h as ClientPreviewAttachParams, p as PreviewAttachResponse, m as ClientUpdateSubscriptionParams, B as BillingUpdateResponse, j as ClientPreviewUpdateSubscriptionParams, q as PreviewUpdateResponse, f as ClientMultiAttachParams, M as MultiAttachResponse, i as ClientPreviewMultiAttachParams, r as PreviewMultiAttachResponse, l as ClientSetupPaymentParams, S as SetupPaymentResponse, g as ClientOpenCustomerPortalParams, O as OpenCustomerPortalResponse, b as ClientCreateReferralCodeParams, s as CreateReferralCodeResponse, k as ClientRedeemReferralCodeParams, R as RedeemReferralCodeResponse, t as ClientListPlansParams, e as ClientListEventsParams, L as ListEventsResponse, C as ClientAggregateEventsParams, u as AggregateEventsResponse, c as ClientGetEntityParams, G as GetEntityResponse } from '../params-vAoGWtk9.mjs';
|
|
2
|
+
import { C as Customer } from '../customer-DfpvnPRk.mjs';
|
|
3
|
+
import { L as ListPlansResponse } from '../list-plans-response-BzsqJlxN.mjs';
|
|
4
|
+
import '../plan-Ct5TGTnS.mjs';
|
|
5
5
|
|
|
6
6
|
/** Client interface matching backend RPC routes */
|
|
7
7
|
interface IAutumnClient {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { d as ClientGetOrCreateCustomerParams, a as ClientAttachParams, A as AttachResponse, h as ClientPreviewAttachParams, p as PreviewAttachResponse, m as ClientUpdateSubscriptionParams, B as BillingUpdateResponse, j as ClientPreviewUpdateSubscriptionParams, q as PreviewUpdateResponse, f as ClientMultiAttachParams, M as MultiAttachResponse, i as ClientPreviewMultiAttachParams, r as PreviewMultiAttachResponse, l as ClientSetupPaymentParams, S as SetupPaymentResponse, g as ClientOpenCustomerPortalParams, O as OpenCustomerPortalResponse, b as ClientCreateReferralCodeParams, s as CreateReferralCodeResponse, k as ClientRedeemReferralCodeParams, R as RedeemReferralCodeResponse, t as ClientListPlansParams, e as ClientListEventsParams, L as ListEventsResponse, C as ClientAggregateEventsParams, u as AggregateEventsResponse, c as ClientGetEntityParams, G as GetEntityResponse } from '../params-
|
|
2
|
-
import { C as Customer } from '../customer-
|
|
3
|
-
import { L as ListPlansResponse } from '../list-plans-response-
|
|
4
|
-
import '../plan-
|
|
1
|
+
import { d as ClientGetOrCreateCustomerParams, a as ClientAttachParams, A as AttachResponse, h as ClientPreviewAttachParams, p as PreviewAttachResponse, m as ClientUpdateSubscriptionParams, B as BillingUpdateResponse, j as ClientPreviewUpdateSubscriptionParams, q as PreviewUpdateResponse, f as ClientMultiAttachParams, M as MultiAttachResponse, i as ClientPreviewMultiAttachParams, r as PreviewMultiAttachResponse, l as ClientSetupPaymentParams, S as SetupPaymentResponse, g as ClientOpenCustomerPortalParams, O as OpenCustomerPortalResponse, b as ClientCreateReferralCodeParams, s as CreateReferralCodeResponse, k as ClientRedeemReferralCodeParams, R as RedeemReferralCodeResponse, t as ClientListPlansParams, e as ClientListEventsParams, L as ListEventsResponse, C as ClientAggregateEventsParams, u as AggregateEventsResponse, c as ClientGetEntityParams, G as GetEntityResponse } from '../params-CMcoADwO.js';
|
|
2
|
+
import { C as Customer } from '../customer-B0KAd7eZ.js';
|
|
3
|
+
import { L as ListPlansResponse } from '../list-plans-response-6iUDTnPQ.js';
|
|
4
|
+
import '../plan-Ct5TGTnS.js';
|
|
5
5
|
|
|
6
6
|
/** Client interface matching backend RPC routes */
|
|
7
7
|
interface IAutumnClient {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { AutumnClientConfig, createAutumnClient } from './AutumnClient.mjs';
|
|
2
2
|
export { AutumnClientError } from './AutumnClientError.mjs';
|
|
3
3
|
export { IAutumnClient } from './IAutumnClient.mjs';
|
|
4
|
-
import '../params-
|
|
5
|
-
import '../plan-
|
|
6
|
-
import '../customer-
|
|
7
|
-
import '../list-plans-response-
|
|
4
|
+
import '../params-vAoGWtk9.mjs';
|
|
5
|
+
import '../plan-Ct5TGTnS.mjs';
|
|
6
|
+
import '../customer-DfpvnPRk.mjs';
|
|
7
|
+
import '../list-plans-response-BzsqJlxN.mjs';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { AutumnClientConfig, createAutumnClient } from './AutumnClient.js';
|
|
2
2
|
export { AutumnClientError } from './AutumnClientError.js';
|
|
3
3
|
export { IAutumnClient } from './IAutumnClient.js';
|
|
4
|
-
import '../params-
|
|
5
|
-
import '../plan-
|
|
6
|
-
import '../customer-
|
|
7
|
-
import '../list-plans-response-
|
|
4
|
+
import '../params-CMcoADwO.js';
|
|
5
|
+
import '../plan-Ct5TGTnS.js';
|
|
6
|
+
import '../customer-B0KAd7eZ.js';
|
|
7
|
+
import '../list-plans-response-6iUDTnPQ.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { O as OpenEnum, P as Plan, a as Balance, C as ClosedEnum } from './plan-
|
|
1
|
+
import { O as OpenEnum, P as Plan, a as Balance, C as ClosedEnum } from './plan-Ct5TGTnS.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* The environment this customer was created in.
|
|
@@ -70,14 +70,14 @@ type CustomerPurchaseLimit1 = {
|
|
|
70
70
|
/**
|
|
71
71
|
* Response-only: whether the entry is a customer-level override or inherited from an attached plan's defaults.
|
|
72
72
|
*/
|
|
73
|
-
declare const
|
|
73
|
+
declare const CustomerAutoTopupSource: {
|
|
74
74
|
readonly Customer: "customer";
|
|
75
75
|
readonly Plan: "plan";
|
|
76
76
|
};
|
|
77
77
|
/**
|
|
78
78
|
* Response-only: whether the entry is a customer-level override or inherited from an attached plan's defaults.
|
|
79
79
|
*/
|
|
80
|
-
type
|
|
80
|
+
type CustomerAutoTopupSource = OpenEnum<typeof CustomerAutoTopupSource>;
|
|
81
81
|
type CustomerAutoTopup = {
|
|
82
82
|
/**
|
|
83
83
|
* The ID of the feature (credit balance) to auto top-up.
|
|
@@ -106,7 +106,7 @@ type CustomerAutoTopup = {
|
|
|
106
106
|
/**
|
|
107
107
|
* Response-only: whether the entry is a customer-level override or inherited from an attached plan's defaults.
|
|
108
108
|
*/
|
|
109
|
-
source?:
|
|
109
|
+
source?: CustomerAutoTopupSource | undefined;
|
|
110
110
|
};
|
|
111
111
|
/**
|
|
112
112
|
* How overage_limit is interpreted: an absolute overage cap (default) or a percentage of the main-plan allowance.
|
|
@@ -122,14 +122,14 @@ type CustomerLimitType = OpenEnum<typeof CustomerLimitType>;
|
|
|
122
122
|
/**
|
|
123
123
|
* Response-only: whether the entry is a customer-level override or inherited from an attached plan's defaults.
|
|
124
124
|
*/
|
|
125
|
-
declare const
|
|
125
|
+
declare const CustomerSpendLimitSource: {
|
|
126
126
|
readonly Customer: "customer";
|
|
127
127
|
readonly Plan: "plan";
|
|
128
128
|
};
|
|
129
129
|
/**
|
|
130
130
|
* Response-only: whether the entry is a customer-level override or inherited from an attached plan's defaults.
|
|
131
131
|
*/
|
|
132
|
-
type
|
|
132
|
+
type CustomerSpendLimitSource = OpenEnum<typeof CustomerSpendLimitSource>;
|
|
133
133
|
type CustomerSpendLimit = {
|
|
134
134
|
/**
|
|
135
135
|
* Optional feature ID this spend limit applies to.
|
|
@@ -154,7 +154,7 @@ type CustomerSpendLimit = {
|
|
|
154
154
|
/**
|
|
155
155
|
* Response-only: whether the entry is a customer-level override or inherited from an attached plan's defaults.
|
|
156
156
|
*/
|
|
157
|
-
source?:
|
|
157
|
+
source?: CustomerSpendLimitSource | undefined;
|
|
158
158
|
};
|
|
159
159
|
/**
|
|
160
160
|
* Interval for the cap, aligned to the customer's billing cycle.
|
|
@@ -191,14 +191,14 @@ type CustomerUsageLimitFilter = {
|
|
|
191
191
|
/**
|
|
192
192
|
* Response-only: whether the entry is a customer-level override or inherited from an attached plan's defaults.
|
|
193
193
|
*/
|
|
194
|
-
declare const
|
|
194
|
+
declare const CustomerUsageLimitSource: {
|
|
195
195
|
readonly Customer: "customer";
|
|
196
196
|
readonly Plan: "plan";
|
|
197
197
|
};
|
|
198
198
|
/**
|
|
199
199
|
* Response-only: whether the entry is a customer-level override or inherited from an attached plan's defaults.
|
|
200
200
|
*/
|
|
201
|
-
type
|
|
201
|
+
type CustomerUsageLimitSource = OpenEnum<typeof CustomerUsageLimitSource>;
|
|
202
202
|
type CustomerUsageLimit = {
|
|
203
203
|
/**
|
|
204
204
|
* The feature this usage limit applies to.
|
|
@@ -231,7 +231,7 @@ type CustomerUsageLimit = {
|
|
|
231
231
|
/**
|
|
232
232
|
* Response-only: whether the entry is a customer-level override or inherited from an attached plan's defaults.
|
|
233
233
|
*/
|
|
234
|
-
source?:
|
|
234
|
+
source?: CustomerUsageLimitSource | undefined;
|
|
235
235
|
};
|
|
236
236
|
/**
|
|
237
237
|
* Whether the threshold is an absolute count or a percentage of the usage allowance or remaining balance.
|
|
@@ -270,14 +270,14 @@ type CustomerUsageAlertFilter = {
|
|
|
270
270
|
/**
|
|
271
271
|
* Response-only: whether the entry is a customer-level override or inherited from an attached plan's defaults.
|
|
272
272
|
*/
|
|
273
|
-
declare const
|
|
273
|
+
declare const CustomerUsageAlertSource: {
|
|
274
274
|
readonly Customer: "customer";
|
|
275
275
|
readonly Plan: "plan";
|
|
276
276
|
};
|
|
277
277
|
/**
|
|
278
278
|
* Response-only: whether the entry is a customer-level override or inherited from an attached plan's defaults.
|
|
279
279
|
*/
|
|
280
|
-
type
|
|
280
|
+
type CustomerUsageAlertSource = OpenEnum<typeof CustomerUsageAlertSource>;
|
|
281
281
|
type CustomerUsageAlert = {
|
|
282
282
|
/**
|
|
283
283
|
* The feature ID this alert applies to.
|
|
@@ -310,19 +310,19 @@ type CustomerUsageAlert = {
|
|
|
310
310
|
/**
|
|
311
311
|
* Response-only: whether the entry is a customer-level override or inherited from an attached plan's defaults.
|
|
312
312
|
*/
|
|
313
|
-
source?:
|
|
313
|
+
source?: CustomerUsageAlertSource | undefined;
|
|
314
314
|
};
|
|
315
315
|
/**
|
|
316
316
|
* Response-only: whether the entry is a customer-level override or inherited from an attached plan's defaults.
|
|
317
317
|
*/
|
|
318
|
-
declare const
|
|
318
|
+
declare const CustomerOverageAllowedSource: {
|
|
319
319
|
readonly Customer: "customer";
|
|
320
320
|
readonly Plan: "plan";
|
|
321
321
|
};
|
|
322
322
|
/**
|
|
323
323
|
* Response-only: whether the entry is a customer-level override or inherited from an attached plan's defaults.
|
|
324
324
|
*/
|
|
325
|
-
type
|
|
325
|
+
type CustomerOverageAllowedSource = OpenEnum<typeof CustomerOverageAllowedSource>;
|
|
326
326
|
type CustomerOverageAllowed = {
|
|
327
327
|
/**
|
|
328
328
|
* The feature ID this overage allowed control applies to.
|
|
@@ -335,7 +335,7 @@ type CustomerOverageAllowed = {
|
|
|
335
335
|
/**
|
|
336
336
|
* Response-only: whether the entry is a customer-level override or inherited from an attached plan's defaults.
|
|
337
337
|
*/
|
|
338
|
-
source?:
|
|
338
|
+
source?: CustomerOverageAllowedSource | undefined;
|
|
339
339
|
};
|
|
340
340
|
/**
|
|
341
341
|
* Billing controls for the customer (auto top-ups, etc.)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { O as OpenEnum, P as Plan, a as Balance, C as ClosedEnum } from './plan-
|
|
1
|
+
import { O as OpenEnum, P as Plan, a as Balance, C as ClosedEnum } from './plan-Ct5TGTnS.mjs';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* The environment this customer was created in.
|
|
@@ -70,14 +70,14 @@ type CustomerPurchaseLimit1 = {
|
|
|
70
70
|
/**
|
|
71
71
|
* Response-only: whether the entry is a customer-level override or inherited from an attached plan's defaults.
|
|
72
72
|
*/
|
|
73
|
-
declare const
|
|
73
|
+
declare const CustomerAutoTopupSource: {
|
|
74
74
|
readonly Customer: "customer";
|
|
75
75
|
readonly Plan: "plan";
|
|
76
76
|
};
|
|
77
77
|
/**
|
|
78
78
|
* Response-only: whether the entry is a customer-level override or inherited from an attached plan's defaults.
|
|
79
79
|
*/
|
|
80
|
-
type
|
|
80
|
+
type CustomerAutoTopupSource = OpenEnum<typeof CustomerAutoTopupSource>;
|
|
81
81
|
type CustomerAutoTopup = {
|
|
82
82
|
/**
|
|
83
83
|
* The ID of the feature (credit balance) to auto top-up.
|
|
@@ -106,7 +106,7 @@ type CustomerAutoTopup = {
|
|
|
106
106
|
/**
|
|
107
107
|
* Response-only: whether the entry is a customer-level override or inherited from an attached plan's defaults.
|
|
108
108
|
*/
|
|
109
|
-
source?:
|
|
109
|
+
source?: CustomerAutoTopupSource | undefined;
|
|
110
110
|
};
|
|
111
111
|
/**
|
|
112
112
|
* How overage_limit is interpreted: an absolute overage cap (default) or a percentage of the main-plan allowance.
|
|
@@ -122,14 +122,14 @@ type CustomerLimitType = OpenEnum<typeof CustomerLimitType>;
|
|
|
122
122
|
/**
|
|
123
123
|
* Response-only: whether the entry is a customer-level override or inherited from an attached plan's defaults.
|
|
124
124
|
*/
|
|
125
|
-
declare const
|
|
125
|
+
declare const CustomerSpendLimitSource: {
|
|
126
126
|
readonly Customer: "customer";
|
|
127
127
|
readonly Plan: "plan";
|
|
128
128
|
};
|
|
129
129
|
/**
|
|
130
130
|
* Response-only: whether the entry is a customer-level override or inherited from an attached plan's defaults.
|
|
131
131
|
*/
|
|
132
|
-
type
|
|
132
|
+
type CustomerSpendLimitSource = OpenEnum<typeof CustomerSpendLimitSource>;
|
|
133
133
|
type CustomerSpendLimit = {
|
|
134
134
|
/**
|
|
135
135
|
* Optional feature ID this spend limit applies to.
|
|
@@ -154,7 +154,7 @@ type CustomerSpendLimit = {
|
|
|
154
154
|
/**
|
|
155
155
|
* Response-only: whether the entry is a customer-level override or inherited from an attached plan's defaults.
|
|
156
156
|
*/
|
|
157
|
-
source?:
|
|
157
|
+
source?: CustomerSpendLimitSource | undefined;
|
|
158
158
|
};
|
|
159
159
|
/**
|
|
160
160
|
* Interval for the cap, aligned to the customer's billing cycle.
|
|
@@ -191,14 +191,14 @@ type CustomerUsageLimitFilter = {
|
|
|
191
191
|
/**
|
|
192
192
|
* Response-only: whether the entry is a customer-level override or inherited from an attached plan's defaults.
|
|
193
193
|
*/
|
|
194
|
-
declare const
|
|
194
|
+
declare const CustomerUsageLimitSource: {
|
|
195
195
|
readonly Customer: "customer";
|
|
196
196
|
readonly Plan: "plan";
|
|
197
197
|
};
|
|
198
198
|
/**
|
|
199
199
|
* Response-only: whether the entry is a customer-level override or inherited from an attached plan's defaults.
|
|
200
200
|
*/
|
|
201
|
-
type
|
|
201
|
+
type CustomerUsageLimitSource = OpenEnum<typeof CustomerUsageLimitSource>;
|
|
202
202
|
type CustomerUsageLimit = {
|
|
203
203
|
/**
|
|
204
204
|
* The feature this usage limit applies to.
|
|
@@ -231,7 +231,7 @@ type CustomerUsageLimit = {
|
|
|
231
231
|
/**
|
|
232
232
|
* Response-only: whether the entry is a customer-level override or inherited from an attached plan's defaults.
|
|
233
233
|
*/
|
|
234
|
-
source?:
|
|
234
|
+
source?: CustomerUsageLimitSource | undefined;
|
|
235
235
|
};
|
|
236
236
|
/**
|
|
237
237
|
* Whether the threshold is an absolute count or a percentage of the usage allowance or remaining balance.
|
|
@@ -270,14 +270,14 @@ type CustomerUsageAlertFilter = {
|
|
|
270
270
|
/**
|
|
271
271
|
* Response-only: whether the entry is a customer-level override or inherited from an attached plan's defaults.
|
|
272
272
|
*/
|
|
273
|
-
declare const
|
|
273
|
+
declare const CustomerUsageAlertSource: {
|
|
274
274
|
readonly Customer: "customer";
|
|
275
275
|
readonly Plan: "plan";
|
|
276
276
|
};
|
|
277
277
|
/**
|
|
278
278
|
* Response-only: whether the entry is a customer-level override or inherited from an attached plan's defaults.
|
|
279
279
|
*/
|
|
280
|
-
type
|
|
280
|
+
type CustomerUsageAlertSource = OpenEnum<typeof CustomerUsageAlertSource>;
|
|
281
281
|
type CustomerUsageAlert = {
|
|
282
282
|
/**
|
|
283
283
|
* The feature ID this alert applies to.
|
|
@@ -310,19 +310,19 @@ type CustomerUsageAlert = {
|
|
|
310
310
|
/**
|
|
311
311
|
* Response-only: whether the entry is a customer-level override or inherited from an attached plan's defaults.
|
|
312
312
|
*/
|
|
313
|
-
source?:
|
|
313
|
+
source?: CustomerUsageAlertSource | undefined;
|
|
314
314
|
};
|
|
315
315
|
/**
|
|
316
316
|
* Response-only: whether the entry is a customer-level override or inherited from an attached plan's defaults.
|
|
317
317
|
*/
|
|
318
|
-
declare const
|
|
318
|
+
declare const CustomerOverageAllowedSource: {
|
|
319
319
|
readonly Customer: "customer";
|
|
320
320
|
readonly Plan: "plan";
|
|
321
321
|
};
|
|
322
322
|
/**
|
|
323
323
|
* Response-only: whether the entry is a customer-level override or inherited from an attached plan's defaults.
|
|
324
324
|
*/
|
|
325
|
-
type
|
|
325
|
+
type CustomerOverageAllowedSource = OpenEnum<typeof CustomerOverageAllowedSource>;
|
|
326
326
|
type CustomerOverageAllowed = {
|
|
327
327
|
/**
|
|
328
328
|
* The feature ID this overage allowed control applies to.
|
|
@@ -335,7 +335,7 @@ type CustomerOverageAllowed = {
|
|
|
335
335
|
/**
|
|
336
336
|
* Response-only: whether the entry is a customer-level override or inherited from an attached plan's defaults.
|
|
337
337
|
*/
|
|
338
|
-
source?:
|
|
338
|
+
source?: CustomerOverageAllowedSource | undefined;
|
|
339
339
|
};
|
|
340
340
|
/**
|
|
341
341
|
* Billing controls for the customer (auto top-ups, etc.)
|
|
@@ -7,7 +7,7 @@ export { UseListPlansParams, useListPlans } from './useListPlans.mjs';
|
|
|
7
7
|
export { UseReferralsParams, UseReferralsResult, useReferrals } from './useReferrals.mjs';
|
|
8
8
|
import '@tanstack/react-query';
|
|
9
9
|
import '../client/AutumnClientError.mjs';
|
|
10
|
-
import '../params-
|
|
11
|
-
import '../plan-
|
|
12
|
-
import '../customer-
|
|
13
|
-
import '../list-plans-response-
|
|
10
|
+
import '../params-vAoGWtk9.mjs';
|
|
11
|
+
import '../plan-Ct5TGTnS.mjs';
|
|
12
|
+
import '../customer-DfpvnPRk.mjs';
|
|
13
|
+
import '../list-plans-response-BzsqJlxN.mjs';
|
|
@@ -7,7 +7,7 @@ export { UseListPlansParams, useListPlans } from './useListPlans.js';
|
|
|
7
7
|
export { UseReferralsParams, UseReferralsResult, useReferrals } from './useReferrals.js';
|
|
8
8
|
import '@tanstack/react-query';
|
|
9
9
|
import '../client/AutumnClientError.js';
|
|
10
|
-
import '../params-
|
|
11
|
-
import '../plan-
|
|
12
|
-
import '../customer-
|
|
13
|
-
import '../list-plans-response-
|
|
10
|
+
import '../params-CMcoADwO.js';
|
|
11
|
+
import '../plan-Ct5TGTnS.js';
|
|
12
|
+
import '../customer-B0KAd7eZ.js';
|
|
13
|
+
import '../list-plans-response-6iUDTnPQ.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as Customer } from '../../../customer-
|
|
2
|
-
import '../../../plan-
|
|
1
|
+
import { C as Customer } from '../../../customer-DfpvnPRk.mjs';
|
|
2
|
+
import '../../../plan-Ct5TGTnS.mjs';
|
|
3
3
|
|
|
4
4
|
type CustomerBalance = Customer["balances"][string];
|
|
5
5
|
type CustomerFeature = NonNullable<Customer["balances"][string]["feature"]>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as Customer } from '../../../customer-
|
|
2
|
-
import '../../../plan-
|
|
1
|
+
import { C as Customer } from '../../../customer-B0KAd7eZ.js';
|
|
2
|
+
import '../../../plan-Ct5TGTnS.js';
|
|
3
3
|
|
|
4
4
|
type CustomerBalance = Customer["balances"][string];
|
|
5
5
|
type CustomerFeature = NonNullable<Customer["balances"][string]["feature"]>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as Customer } from '../../../customer-
|
|
2
|
-
import '../../../plan-
|
|
1
|
+
import { C as Customer } from '../../../customer-DfpvnPRk.mjs';
|
|
2
|
+
import '../../../plan-Ct5TGTnS.mjs';
|
|
3
3
|
|
|
4
4
|
type CustomerFeature = NonNullable<Customer["balances"][string]["feature"]>;
|
|
5
5
|
declare const customerToFeatures: ({ customer, }: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as Customer } from '../../../customer-
|
|
2
|
-
import '../../../plan-
|
|
1
|
+
import { C as Customer } from '../../../customer-B0KAd7eZ.js';
|
|
2
|
+
import '../../../plan-Ct5TGTnS.js';
|
|
3
3
|
|
|
4
4
|
type CustomerFeature = NonNullable<Customer["balances"][string]["feature"]>;
|
|
5
5
|
declare const customerToFeatures: ({ customer, }: {
|