@vibes.diy/api-types 14.3.356 → 14.3.358
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/billing-msg.d.ts +2 -2
- package/billing-msg.js +2 -2
- package/bridge-notes.js +1 -0
- package/credits-copy.d.ts +1 -1
- package/package.json +4 -4
package/billing-msg.d.ts
CHANGED
|
@@ -21,7 +21,7 @@ export declare function isReqBillingCustomer(obj: unknown): obj is ReqBillingCus
|
|
|
21
21
|
export declare const resBillingCustomer: import("arktype/internal/variants/object.ts").ObjectType<{
|
|
22
22
|
type: "vibes.diy.res-billing-customer";
|
|
23
23
|
enabled: boolean;
|
|
24
|
-
plan?: "free" | "plus" | "pro" | undefined;
|
|
24
|
+
plan?: "business" | "enterprise" | "free" | "growth" | "plus" | "pro" | undefined;
|
|
25
25
|
grantRemaining?: number | undefined;
|
|
26
26
|
grantIncluded?: number | undefined;
|
|
27
27
|
grantResetsAt?: number | undefined;
|
|
@@ -47,7 +47,7 @@ export declare const reqBillingCheckout: import("arktype/internal/variants/objec
|
|
|
47
47
|
type: "clerk" | "device-id" | "guest" | "ucan";
|
|
48
48
|
token: string;
|
|
49
49
|
};
|
|
50
|
-
kind: "subscribe-plus" | "subscribe-pro" | "top-up";
|
|
50
|
+
kind: "subscribe-growth" | "subscribe-plus" | "subscribe-pro" | "top-up";
|
|
51
51
|
units?: number | undefined;
|
|
52
52
|
successUrl: string;
|
|
53
53
|
}, {}>;
|
package/billing-msg.js
CHANGED
|
@@ -20,7 +20,7 @@ export function isReqBillingCustomer(obj) {
|
|
|
20
20
|
export const resBillingCustomer = lazyType(() => type({
|
|
21
21
|
type: "'vibes.diy.res-billing-customer'",
|
|
22
22
|
enabled: "boolean",
|
|
23
|
-
"plan?": "'free' | 'plus' | 'pro'",
|
|
23
|
+
"plan?": "'free' | 'plus' | 'pro' | 'growth' | 'business' | 'enterprise'",
|
|
24
24
|
"grantRemaining?": "number",
|
|
25
25
|
"grantIncluded?": "number",
|
|
26
26
|
"grantResetsAt?": "number",
|
|
@@ -37,7 +37,7 @@ export function isResBillingCustomer(obj) {
|
|
|
37
37
|
export const reqBillingCheckout = lazyType(() => type({
|
|
38
38
|
type: "'vibes.diy.req-billing-checkout'",
|
|
39
39
|
auth: dashAuthType,
|
|
40
|
-
kind: "'subscribe-plus' | 'subscribe-pro' | 'top-up'",
|
|
40
|
+
kind: "'subscribe-plus' | 'subscribe-pro' | 'subscribe-growth' | 'top-up'",
|
|
41
41
|
"units?": "number",
|
|
42
42
|
successUrl: "string",
|
|
43
43
|
}));
|
package/bridge-notes.js
CHANGED
|
@@ -12,6 +12,7 @@ const BRIDGE_NOTE_OPENERS = [
|
|
|
12
12
|
/^\[If this turn texts them a link to an app you made, it is their first/,
|
|
13
13
|
/^\[You asked them for a selfie of just them to paint as a superhero/,
|
|
14
14
|
/^\[You offered to make them a superhero from a selfie/,
|
|
15
|
+
/^\[This message is (?:1 text|\d+ texts sent over \d+ s, joined)\./,
|
|
15
16
|
];
|
|
16
17
|
export function isBridgeNoteLine(line) {
|
|
17
18
|
const l = line.trim();
|
package/credits-copy.d.ts
CHANGED
|
@@ -2,6 +2,6 @@ export declare const CREDITS_EXHAUSTED_PREFIX = "credits-exhausted:";
|
|
|
2
2
|
export declare function isCreditsExhaustedError(error: string): boolean;
|
|
3
3
|
export declare function formatResetsDate(epochMs: number): string;
|
|
4
4
|
export declare function outOfCreditsLine(i: {
|
|
5
|
-
readonly plan?: "free" | "plus" | "pro";
|
|
5
|
+
readonly plan?: "free" | "plus" | "pro" | "growth" | "business" | "enterprise";
|
|
6
6
|
readonly grantResetsAt?: number;
|
|
7
7
|
}): string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vibes.diy/api-types",
|
|
3
|
-
"version": "14.3.
|
|
3
|
+
"version": "14.3.358",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./index.js",
|
|
@@ -26,9 +26,9 @@
|
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@adviser/cement": "~0.5.37",
|
|
28
28
|
"@cloudflare/workers-types": "~5.20261101.1",
|
|
29
|
-
"@vibes.diy/call-ai-v2": "14.3.
|
|
30
|
-
"@vibes.diy/identity": "14.3.
|
|
31
|
-
"@vibes.diy/vibe-types": "14.3.
|
|
29
|
+
"@vibes.diy/call-ai-v2": "14.3.358",
|
|
30
|
+
"@vibes.diy/identity": "14.3.358",
|
|
31
|
+
"@vibes.diy/vibe-types": "14.3.358",
|
|
32
32
|
"arktype": "~2.2.9"
|
|
33
33
|
},
|
|
34
34
|
"repository": {
|