shoal-web-sdk 1.0.93 → 1.0.94
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/sdk/billing/types.gen.d.ts +19 -12
- package/dist/sdk/billing/zod.gen.d.ts +86 -50
- package/dist/sdk/billing/zod.gen.js +19 -12
- package/package.json +1 -1
|
@@ -44,7 +44,7 @@ export type PlanResponse = {
|
|
|
44
44
|
githubOrganizationIntegration?: BooleanPlanFeatureResponse;
|
|
45
45
|
};
|
|
46
46
|
pricing?: PricesResponse;
|
|
47
|
-
|
|
47
|
+
categories?: CategoriesResponse;
|
|
48
48
|
trial?: PlanTrialResponse;
|
|
49
49
|
readonly isSelfServe: boolean;
|
|
50
50
|
readonly isActive: boolean;
|
|
@@ -58,17 +58,20 @@ export type PlanPriceResponse = {
|
|
|
58
58
|
readonly currency: string;
|
|
59
59
|
readonly amount: number;
|
|
60
60
|
};
|
|
61
|
-
export type
|
|
62
|
-
default:
|
|
61
|
+
export type CategoriesResponse = {
|
|
62
|
+
default: CategoryResponse;
|
|
63
63
|
};
|
|
64
|
-
export type
|
|
65
|
-
readonly displayName: string;
|
|
66
|
-
readonly displayDescription?: string;
|
|
64
|
+
export type CategoryAllowanceResponse = {
|
|
67
65
|
readonly refreshAmount: number;
|
|
68
|
-
refreshPeriod:
|
|
66
|
+
refreshPeriod: CategoryPeriodResponse;
|
|
69
67
|
readonly isActive: boolean;
|
|
70
68
|
readonly isCarryOver: boolean;
|
|
71
69
|
};
|
|
70
|
+
export type CategoryResponse = {
|
|
71
|
+
readonly displayName: string;
|
|
72
|
+
readonly displayDescription?: string;
|
|
73
|
+
allowance: CategoryAllowanceResponse;
|
|
74
|
+
};
|
|
72
75
|
export type PlanTrialResponse = {
|
|
73
76
|
readonly lengthInDays: number;
|
|
74
77
|
readonly startingBonusCents: number;
|
|
@@ -78,7 +81,7 @@ export type PlanFeatureResponse = {
|
|
|
78
81
|
readonly displayDescription?: string;
|
|
79
82
|
readonly displayName: string;
|
|
80
83
|
};
|
|
81
|
-
export type
|
|
84
|
+
export type CategoryPeriodResponse = 'day' | 'week' | 'month' | 'year' | 'onetime';
|
|
82
85
|
export type BillingInterval = 'monthly' | 'annual';
|
|
83
86
|
export type UpdatePlan = {
|
|
84
87
|
plan: string;
|
|
@@ -112,6 +115,7 @@ export type InvoiceListResponse = {
|
|
|
112
115
|
export type CustomerPlanResponse = {
|
|
113
116
|
readonly key: string;
|
|
114
117
|
readonly displayName: string;
|
|
118
|
+
readonly displayDescription?: string;
|
|
115
119
|
readonly rank: number;
|
|
116
120
|
interval?: BillingInterval;
|
|
117
121
|
readonly currency?: string;
|
|
@@ -176,17 +180,20 @@ export type PlanResponseWritable = {
|
|
|
176
180
|
maximumEnvironments?: IntegerPlanFeatureResponseWritable;
|
|
177
181
|
githubOrganizationIntegration?: BooleanPlanFeatureResponseWritable;
|
|
178
182
|
};
|
|
179
|
-
|
|
183
|
+
categories?: CategoriesResponseWritable;
|
|
180
184
|
};
|
|
181
185
|
export type PricesResponseWritable = {
|
|
182
186
|
[key: string]: unknown;
|
|
183
187
|
};
|
|
184
|
-
export type
|
|
185
|
-
default:
|
|
188
|
+
export type CategoriesResponseWritable = {
|
|
189
|
+
default: CategoryResponseWritable;
|
|
186
190
|
};
|
|
187
|
-
export type
|
|
191
|
+
export type CategoryAllowanceResponseWritable = {
|
|
188
192
|
[key: string]: unknown;
|
|
189
193
|
};
|
|
194
|
+
export type CategoryResponseWritable = {
|
|
195
|
+
allowance: CategoryAllowanceResponseWritable;
|
|
196
|
+
};
|
|
190
197
|
export type CustomerPlanResponseWritable = {
|
|
191
198
|
interval?: BillingInterval;
|
|
192
199
|
};
|
|
@@ -103,16 +103,14 @@ export declare const zBooleanPlanFeatureResponse: z.ZodUnion<readonly [z.ZodInte
|
|
|
103
103
|
disabled: "disabled";
|
|
104
104
|
}>;
|
|
105
105
|
}, z.core.$strip>>>]>;
|
|
106
|
-
export declare const
|
|
106
|
+
export declare const zCategoryPeriodResponse: z.ZodEnum<{
|
|
107
107
|
day: "day";
|
|
108
108
|
week: "week";
|
|
109
109
|
month: "month";
|
|
110
110
|
year: "year";
|
|
111
111
|
onetime: "onetime";
|
|
112
112
|
}>;
|
|
113
|
-
export declare const
|
|
114
|
-
displayName: z.ZodReadonly<z.ZodString>;
|
|
115
|
-
displayDescription: z.ZodOptional<z.ZodReadonly<z.ZodString>>;
|
|
113
|
+
export declare const zCategoryAllowanceResponse: z.ZodObject<{
|
|
116
114
|
refreshAmount: z.ZodReadonly<z.ZodInt>;
|
|
117
115
|
refreshPeriod: z.ZodEnum<{
|
|
118
116
|
day: "day";
|
|
@@ -124,10 +122,10 @@ export declare const zAllowanceResponse: z.ZodObject<{
|
|
|
124
122
|
isActive: z.ZodReadonly<z.ZodBoolean>;
|
|
125
123
|
isCarryOver: z.ZodReadonly<z.ZodBoolean>;
|
|
126
124
|
}, z.core.$strip>;
|
|
127
|
-
export declare const
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
125
|
+
export declare const zCategoryResponse: z.ZodObject<{
|
|
126
|
+
displayName: z.ZodReadonly<z.ZodString>;
|
|
127
|
+
displayDescription: z.ZodOptional<z.ZodReadonly<z.ZodString>>;
|
|
128
|
+
allowance: z.ZodObject<{
|
|
131
129
|
refreshAmount: z.ZodReadonly<z.ZodInt>;
|
|
132
130
|
refreshPeriod: z.ZodEnum<{
|
|
133
131
|
day: "day";
|
|
@@ -140,6 +138,24 @@ export declare const zAllowancesResponse: z.ZodObject<{
|
|
|
140
138
|
isCarryOver: z.ZodReadonly<z.ZodBoolean>;
|
|
141
139
|
}, z.core.$strip>;
|
|
142
140
|
}, z.core.$strip>;
|
|
141
|
+
export declare const zCategoriesResponse: z.ZodObject<{
|
|
142
|
+
default: z.ZodObject<{
|
|
143
|
+
displayName: z.ZodReadonly<z.ZodString>;
|
|
144
|
+
displayDescription: z.ZodOptional<z.ZodReadonly<z.ZodString>>;
|
|
145
|
+
allowance: z.ZodObject<{
|
|
146
|
+
refreshAmount: z.ZodReadonly<z.ZodInt>;
|
|
147
|
+
refreshPeriod: z.ZodEnum<{
|
|
148
|
+
day: "day";
|
|
149
|
+
week: "week";
|
|
150
|
+
month: "month";
|
|
151
|
+
year: "year";
|
|
152
|
+
onetime: "onetime";
|
|
153
|
+
}>;
|
|
154
|
+
isActive: z.ZodReadonly<z.ZodBoolean>;
|
|
155
|
+
isCarryOver: z.ZodReadonly<z.ZodBoolean>;
|
|
156
|
+
}, z.core.$strip>;
|
|
157
|
+
}, z.core.$strip>;
|
|
158
|
+
}, z.core.$strip>;
|
|
143
159
|
export declare const zPlanResponse: z.ZodObject<{
|
|
144
160
|
key: z.ZodReadonly<z.ZodString>;
|
|
145
161
|
rank: z.ZodReadonly<z.ZodInt>;
|
|
@@ -236,22 +252,24 @@ export declare const zPlanResponse: z.ZodObject<{
|
|
|
236
252
|
amount: z.ZodReadonly<z.ZodInt>;
|
|
237
253
|
}, z.core.$strip>;
|
|
238
254
|
}, z.core.$strip>>;
|
|
239
|
-
|
|
255
|
+
categories: z.ZodOptional<z.ZodObject<{
|
|
240
256
|
default: z.ZodObject<{
|
|
241
257
|
displayName: z.ZodReadonly<z.ZodString>;
|
|
242
258
|
displayDescription: z.ZodOptional<z.ZodReadonly<z.ZodString>>;
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
259
|
+
allowance: z.ZodObject<{
|
|
260
|
+
refreshAmount: z.ZodReadonly<z.ZodInt>;
|
|
261
|
+
refreshPeriod: z.ZodEnum<{
|
|
262
|
+
day: "day";
|
|
263
|
+
week: "week";
|
|
264
|
+
month: "month";
|
|
265
|
+
year: "year";
|
|
266
|
+
onetime: "onetime";
|
|
267
|
+
}>;
|
|
268
|
+
isActive: z.ZodReadonly<z.ZodBoolean>;
|
|
269
|
+
isCarryOver: z.ZodReadonly<z.ZodBoolean>;
|
|
270
|
+
}, z.core.$strip>;
|
|
253
271
|
}, z.core.$strip>;
|
|
254
|
-
}, z.core.$strip
|
|
272
|
+
}, z.core.$strip>>;
|
|
255
273
|
trial: z.ZodOptional<z.ZodObject<{
|
|
256
274
|
lengthInDays: z.ZodReadonly<z.ZodInt>;
|
|
257
275
|
startingBonusCents: z.ZodReadonly<z.ZodInt>;
|
|
@@ -358,22 +376,24 @@ export declare const zCatalogResponse: z.ZodObject<{
|
|
|
358
376
|
amount: z.ZodReadonly<z.ZodInt>;
|
|
359
377
|
}, z.core.$strip>;
|
|
360
378
|
}, z.core.$strip>>;
|
|
361
|
-
|
|
379
|
+
categories: z.ZodOptional<z.ZodObject<{
|
|
362
380
|
default: z.ZodObject<{
|
|
363
381
|
displayName: z.ZodReadonly<z.ZodString>;
|
|
364
382
|
displayDescription: z.ZodOptional<z.ZodReadonly<z.ZodString>>;
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
383
|
+
allowance: z.ZodObject<{
|
|
384
|
+
refreshAmount: z.ZodReadonly<z.ZodInt>;
|
|
385
|
+
refreshPeriod: z.ZodEnum<{
|
|
386
|
+
day: "day";
|
|
387
|
+
week: "week";
|
|
388
|
+
month: "month";
|
|
389
|
+
year: "year";
|
|
390
|
+
onetime: "onetime";
|
|
391
|
+
}>;
|
|
392
|
+
isActive: z.ZodReadonly<z.ZodBoolean>;
|
|
393
|
+
isCarryOver: z.ZodReadonly<z.ZodBoolean>;
|
|
394
|
+
}, z.core.$strip>;
|
|
375
395
|
}, z.core.$strip>;
|
|
376
|
-
}, z.core.$strip
|
|
396
|
+
}, z.core.$strip>>;
|
|
377
397
|
trial: z.ZodOptional<z.ZodObject<{
|
|
378
398
|
lengthInDays: z.ZodReadonly<z.ZodInt>;
|
|
379
399
|
startingBonusCents: z.ZodReadonly<z.ZodInt>;
|
|
@@ -439,6 +459,7 @@ export declare const zInvoiceListResponse: z.ZodObject<{
|
|
|
439
459
|
export declare const zCustomerPlanResponse: z.ZodObject<{
|
|
440
460
|
key: z.ZodReadonly<z.ZodString>;
|
|
441
461
|
displayName: z.ZodReadonly<z.ZodString>;
|
|
462
|
+
displayDescription: z.ZodOptional<z.ZodReadonly<z.ZodString>>;
|
|
442
463
|
rank: z.ZodReadonly<z.ZodInt>;
|
|
443
464
|
interval: z.ZodOptional<z.ZodEnum<{
|
|
444
465
|
monthly: "monthly";
|
|
@@ -563,6 +584,7 @@ export declare const zCustomerResponse: z.ZodObject<{
|
|
|
563
584
|
currentPlan: z.ZodObject<{
|
|
564
585
|
key: z.ZodReadonly<z.ZodString>;
|
|
565
586
|
displayName: z.ZodReadonly<z.ZodString>;
|
|
587
|
+
displayDescription: z.ZodOptional<z.ZodReadonly<z.ZodString>>;
|
|
566
588
|
rank: z.ZodReadonly<z.ZodInt>;
|
|
567
589
|
interval: z.ZodOptional<z.ZodEnum<{
|
|
568
590
|
monthly: "monthly";
|
|
@@ -655,6 +677,7 @@ export declare const zCustomerResponse: z.ZodObject<{
|
|
|
655
677
|
pendingPlan: z.ZodOptional<z.ZodObject<{
|
|
656
678
|
key: z.ZodReadonly<z.ZodString>;
|
|
657
679
|
displayName: z.ZodReadonly<z.ZodString>;
|
|
680
|
+
displayDescription: z.ZodOptional<z.ZodReadonly<z.ZodString>>;
|
|
658
681
|
rank: z.ZodReadonly<z.ZodInt>;
|
|
659
682
|
interval: z.ZodOptional<z.ZodEnum<{
|
|
660
683
|
monthly: "monthly";
|
|
@@ -807,9 +830,14 @@ export declare const zBooleanPlanFeatureResponseWritable: z.ZodUnion<readonly [z
|
|
|
807
830
|
}>;
|
|
808
831
|
}, z.core.$strip>>]>;
|
|
809
832
|
export declare const zPricesResponseWritable: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
810
|
-
export declare const
|
|
811
|
-
export declare const
|
|
812
|
-
|
|
833
|
+
export declare const zCategoryAllowanceResponseWritable: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
834
|
+
export declare const zCategoryResponseWritable: z.ZodObject<{
|
|
835
|
+
allowance: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
836
|
+
}, z.core.$strip>;
|
|
837
|
+
export declare const zCategoriesResponseWritable: z.ZodObject<{
|
|
838
|
+
default: z.ZodObject<{
|
|
839
|
+
allowance: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
840
|
+
}, z.core.$strip>;
|
|
813
841
|
}, z.core.$strip>;
|
|
814
842
|
export declare const zPlanResponseWritable: z.ZodObject<{
|
|
815
843
|
features: z.ZodObject<{
|
|
@@ -869,9 +897,11 @@ export declare const zPlanResponseWritable: z.ZodObject<{
|
|
|
869
897
|
}>;
|
|
870
898
|
}, z.core.$strip>>]>>;
|
|
871
899
|
}, z.core.$strip>;
|
|
872
|
-
|
|
873
|
-
default: z.
|
|
874
|
-
|
|
900
|
+
categories: z.ZodOptional<z.ZodObject<{
|
|
901
|
+
default: z.ZodObject<{
|
|
902
|
+
allowance: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
903
|
+
}, z.core.$strip>;
|
|
904
|
+
}, z.core.$strip>>;
|
|
875
905
|
}, z.core.$strip>;
|
|
876
906
|
export declare const zCustomerPlanResponseWritable: z.ZodObject<{
|
|
877
907
|
interval: z.ZodOptional<z.ZodEnum<{
|
|
@@ -933,6 +963,7 @@ export declare const zGetCustomerResponse: z.ZodObject<{
|
|
|
933
963
|
currentPlan: z.ZodObject<{
|
|
934
964
|
key: z.ZodReadonly<z.ZodString>;
|
|
935
965
|
displayName: z.ZodReadonly<z.ZodString>;
|
|
966
|
+
displayDescription: z.ZodOptional<z.ZodReadonly<z.ZodString>>;
|
|
936
967
|
rank: z.ZodReadonly<z.ZodInt>;
|
|
937
968
|
interval: z.ZodOptional<z.ZodEnum<{
|
|
938
969
|
monthly: "monthly";
|
|
@@ -1025,6 +1056,7 @@ export declare const zGetCustomerResponse: z.ZodObject<{
|
|
|
1025
1056
|
pendingPlan: z.ZodOptional<z.ZodObject<{
|
|
1026
1057
|
key: z.ZodReadonly<z.ZodString>;
|
|
1027
1058
|
displayName: z.ZodReadonly<z.ZodString>;
|
|
1059
|
+
displayDescription: z.ZodOptional<z.ZodReadonly<z.ZodString>>;
|
|
1028
1060
|
rank: z.ZodReadonly<z.ZodInt>;
|
|
1029
1061
|
interval: z.ZodOptional<z.ZodEnum<{
|
|
1030
1062
|
monthly: "monthly";
|
|
@@ -1232,22 +1264,24 @@ export declare const zGetPlansResponse: z.ZodObject<{
|
|
|
1232
1264
|
amount: z.ZodReadonly<z.ZodInt>;
|
|
1233
1265
|
}, z.core.$strip>;
|
|
1234
1266
|
}, z.core.$strip>>;
|
|
1235
|
-
|
|
1267
|
+
categories: z.ZodOptional<z.ZodObject<{
|
|
1236
1268
|
default: z.ZodObject<{
|
|
1237
1269
|
displayName: z.ZodReadonly<z.ZodString>;
|
|
1238
1270
|
displayDescription: z.ZodOptional<z.ZodReadonly<z.ZodString>>;
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1271
|
+
allowance: z.ZodObject<{
|
|
1272
|
+
refreshAmount: z.ZodReadonly<z.ZodInt>;
|
|
1273
|
+
refreshPeriod: z.ZodEnum<{
|
|
1274
|
+
day: "day";
|
|
1275
|
+
week: "week";
|
|
1276
|
+
month: "month";
|
|
1277
|
+
year: "year";
|
|
1278
|
+
onetime: "onetime";
|
|
1279
|
+
}>;
|
|
1280
|
+
isActive: z.ZodReadonly<z.ZodBoolean>;
|
|
1281
|
+
isCarryOver: z.ZodReadonly<z.ZodBoolean>;
|
|
1282
|
+
}, z.core.$strip>;
|
|
1249
1283
|
}, z.core.$strip>;
|
|
1250
|
-
}, z.core.$strip
|
|
1284
|
+
}, z.core.$strip>>;
|
|
1251
1285
|
trial: z.ZodOptional<z.ZodObject<{
|
|
1252
1286
|
lengthInDays: z.ZodReadonly<z.ZodInt>;
|
|
1253
1287
|
startingBonusCents: z.ZodReadonly<z.ZodInt>;
|
|
@@ -1364,6 +1398,7 @@ export declare const zM2mGetCustomerResponse: z.ZodObject<{
|
|
|
1364
1398
|
currentPlan: z.ZodObject<{
|
|
1365
1399
|
key: z.ZodReadonly<z.ZodString>;
|
|
1366
1400
|
displayName: z.ZodReadonly<z.ZodString>;
|
|
1401
|
+
displayDescription: z.ZodOptional<z.ZodReadonly<z.ZodString>>;
|
|
1367
1402
|
rank: z.ZodReadonly<z.ZodInt>;
|
|
1368
1403
|
interval: z.ZodOptional<z.ZodEnum<{
|
|
1369
1404
|
monthly: "monthly";
|
|
@@ -1456,6 +1491,7 @@ export declare const zM2mGetCustomerResponse: z.ZodObject<{
|
|
|
1456
1491
|
pendingPlan: z.ZodOptional<z.ZodObject<{
|
|
1457
1492
|
key: z.ZodReadonly<z.ZodString>;
|
|
1458
1493
|
displayName: z.ZodReadonly<z.ZodString>;
|
|
1494
|
+
displayDescription: z.ZodOptional<z.ZodReadonly<z.ZodString>>;
|
|
1459
1495
|
rank: z.ZodReadonly<z.ZodInt>;
|
|
1460
1496
|
interval: z.ZodOptional<z.ZodEnum<{
|
|
1461
1497
|
monthly: "monthly";
|
|
@@ -59,23 +59,26 @@ export const zBooleanPlanFeatureResponse = z.union([
|
|
|
59
59
|
type: z.literal('disabled')
|
|
60
60
|
}).and(zDisabledBooleanPlanFeatureResponse)
|
|
61
61
|
]);
|
|
62
|
-
export const
|
|
62
|
+
export const zCategoryPeriodResponse = z.enum([
|
|
63
63
|
'day',
|
|
64
64
|
'week',
|
|
65
65
|
'month',
|
|
66
66
|
'year',
|
|
67
67
|
'onetime'
|
|
68
68
|
]);
|
|
69
|
-
export const
|
|
70
|
-
displayName: z.string().readonly(),
|
|
71
|
-
displayDescription: z.optional(z.string().readonly()),
|
|
69
|
+
export const zCategoryAllowanceResponse = z.object({
|
|
72
70
|
refreshAmount: z.int().readonly(),
|
|
73
|
-
refreshPeriod:
|
|
71
|
+
refreshPeriod: zCategoryPeriodResponse,
|
|
74
72
|
isActive: z.boolean().readonly(),
|
|
75
73
|
isCarryOver: z.boolean().readonly()
|
|
76
74
|
});
|
|
77
|
-
export const
|
|
78
|
-
|
|
75
|
+
export const zCategoryResponse = z.object({
|
|
76
|
+
displayName: z.string().readonly(),
|
|
77
|
+
displayDescription: z.optional(z.string().readonly()),
|
|
78
|
+
allowance: zCategoryAllowanceResponse
|
|
79
|
+
});
|
|
80
|
+
export const zCategoriesResponse = z.object({
|
|
81
|
+
default: zCategoryResponse
|
|
79
82
|
});
|
|
80
83
|
export const zPlanResponse = z.object({
|
|
81
84
|
key: z.string().readonly(),
|
|
@@ -89,7 +92,7 @@ export const zPlanResponse = z.object({
|
|
|
89
92
|
githubOrganizationIntegration: z.optional(zBooleanPlanFeatureResponse)
|
|
90
93
|
}),
|
|
91
94
|
pricing: z.optional(zPricesResponse),
|
|
92
|
-
|
|
95
|
+
categories: z.optional(zCategoriesResponse),
|
|
93
96
|
trial: z.optional(zPlanTrialResponse),
|
|
94
97
|
isSelfServe: z.boolean().readonly(),
|
|
95
98
|
isActive: z.boolean().readonly(),
|
|
@@ -134,6 +137,7 @@ export const zInvoiceListResponse = z.object({
|
|
|
134
137
|
export const zCustomerPlanResponse = z.object({
|
|
135
138
|
key: z.string().readonly(),
|
|
136
139
|
displayName: z.string().readonly(),
|
|
140
|
+
displayDescription: z.optional(z.string().readonly()),
|
|
137
141
|
rank: z.int().readonly(),
|
|
138
142
|
interval: z.optional(zBillingInterval),
|
|
139
143
|
currency: z.optional(z.string().readonly()),
|
|
@@ -210,9 +214,12 @@ export const zBooleanPlanFeatureResponseWritable = z.union([
|
|
|
210
214
|
}).and(zDisabledBooleanPlanFeatureResponseWritable)
|
|
211
215
|
]);
|
|
212
216
|
export const zPricesResponseWritable = z.record(z.string(), z.unknown());
|
|
213
|
-
export const
|
|
214
|
-
export const
|
|
215
|
-
|
|
217
|
+
export const zCategoryAllowanceResponseWritable = z.record(z.string(), z.unknown());
|
|
218
|
+
export const zCategoryResponseWritable = z.object({
|
|
219
|
+
allowance: zCategoryAllowanceResponseWritable
|
|
220
|
+
});
|
|
221
|
+
export const zCategoriesResponseWritable = z.object({
|
|
222
|
+
default: zCategoryResponseWritable
|
|
216
223
|
});
|
|
217
224
|
export const zPlanResponseWritable = z.object({
|
|
218
225
|
features: z.object({
|
|
@@ -221,7 +228,7 @@ export const zPlanResponseWritable = z.object({
|
|
|
221
228
|
maximumEnvironments: z.optional(zIntegerPlanFeatureResponseWritable),
|
|
222
229
|
githubOrganizationIntegration: z.optional(zBooleanPlanFeatureResponseWritable)
|
|
223
230
|
}),
|
|
224
|
-
|
|
231
|
+
categories: z.optional(zCategoriesResponseWritable)
|
|
225
232
|
});
|
|
226
233
|
export const zCustomerPlanResponseWritable = z.object({
|
|
227
234
|
interval: z.optional(zBillingInterval)
|