@alpic-ai/api 0.0.0-dev.gd42bc7e → 0.0.0-dev.gd4eb23a
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/index.mjs +0 -16
- package/package.json +1 -10
package/dist/index.mjs
CHANGED
|
@@ -427,22 +427,6 @@ const subscriptionPlanSchema = z.enum([
|
|
|
427
427
|
"enterprise"
|
|
428
428
|
]);
|
|
429
429
|
z.object({ plan: subscriptionPlanSchema.nullable() });
|
|
430
|
-
const customerCreditsSchema = z.object({
|
|
431
|
-
balanceInCents: z.number(),
|
|
432
|
-
expiresAt: z.number().nullable(),
|
|
433
|
-
currency: z.string()
|
|
434
|
-
});
|
|
435
|
-
const customerUsageSchema = z.object({
|
|
436
|
-
amountInCents: z.number(),
|
|
437
|
-
currency: z.string(),
|
|
438
|
-
periodEnd: z.number()
|
|
439
|
-
});
|
|
440
|
-
const partnerDiscountSchema = z.object({ endsAt: z.number() });
|
|
441
|
-
z.object({
|
|
442
|
-
customerCredits: customerCreditsSchema.nullable(),
|
|
443
|
-
customerUsage: customerUsageSchema.nullable(),
|
|
444
|
-
partnerDiscount: partnerDiscountSchema.nullable()
|
|
445
|
-
});
|
|
446
430
|
//#endregion
|
|
447
431
|
//#region src/schemas.ts
|
|
448
432
|
const RESERVED_KEYS = [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alpic-ai/api",
|
|
3
|
-
"version": "0.0.0-dev.
|
|
3
|
+
"version": "0.0.0-dev.gd4eb23a",
|
|
4
4
|
"description": "Contract for the Alpic API",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.mjs",
|
|
@@ -14,15 +14,6 @@
|
|
|
14
14
|
"files": [
|
|
15
15
|
"dist"
|
|
16
16
|
],
|
|
17
|
-
"nx": {
|
|
18
|
-
"targets": {
|
|
19
|
-
"build": {
|
|
20
|
-
"dependsOn": [
|
|
21
|
-
"^build"
|
|
22
|
-
]
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
},
|
|
26
17
|
"author": "Alpic",
|
|
27
18
|
"license": "ISC",
|
|
28
19
|
"dependencies": {
|