@raideno/convex-stripe 0.1.4 → 0.1.6
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/server/index.d.ts +73 -73
- package/dist/server/schema/charge.d.ts +36 -36
- package/dist/server/schema/credit-note.d.ts +8 -8
- package/dist/server/schema/customer.d.ts +4 -4
- package/dist/server/schema/dispute.d.ts +4 -4
- package/dist/server/schema/index.d.ts +458 -458
- package/dist/server/schema/invoice.d.ts +4 -4
- package/dist/server/schema/payment-intent.d.ts +3 -3
- package/dist/server/schema/payment-method.d.ts +208 -208
- package/dist/server/schema/payout.d.ts +9 -9
- package/dist/server/schema/setup-intent.d.ts +21 -21
- package/dist/server/schema/subscription-schedule.d.ts +4 -4
- package/dist/server/store/index.d.ts +73 -73
- package/dist/server.js +263 -146
- package/package.json +1 -1
|
@@ -5,15 +5,15 @@ export declare const PayoutStripeToConvex: (payout: Stripe.Payout) => {
|
|
|
5
5
|
description?: string | null | undefined;
|
|
6
6
|
metadata?: Record<string, string | number | null> | null | undefined;
|
|
7
7
|
statement_descriptor?: string | null | undefined;
|
|
8
|
+
application_fee?: string | null | undefined;
|
|
8
9
|
application_fee_amount?: number | null | undefined;
|
|
9
10
|
failure_balance_transaction?: string | null | undefined;
|
|
10
11
|
failure_code?: string | null | undefined;
|
|
11
12
|
failure_message?: string | null | undefined;
|
|
12
|
-
application_only?: string | null | undefined;
|
|
13
13
|
destination?: string | null | undefined;
|
|
14
14
|
original_payout?: string | null | undefined;
|
|
15
15
|
payout_method?: string | null | undefined;
|
|
16
|
-
reconciliation_status?: "completed" | "in_progress" | "not_applicable" | undefined;
|
|
16
|
+
reconciliation_status?: "completed" | "in_progress" | "not_applicable" | null | undefined;
|
|
17
17
|
reversed_by?: string | null | undefined;
|
|
18
18
|
trace_id?: {
|
|
19
19
|
value?: string | null | undefined;
|
|
@@ -41,7 +41,7 @@ export declare const PayoutSchema: {
|
|
|
41
41
|
statement_descriptor: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
42
42
|
status: import('convex/values').VString<string, "required">;
|
|
43
43
|
object: import('convex/values').VString<string, "required">;
|
|
44
|
-
|
|
44
|
+
application_fee: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
45
45
|
application_fee_amount: import('convex/values').VUnion<number | null | undefined, [import('convex/values').VFloat64<number, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
46
46
|
automatic: import('convex/values').VBoolean<boolean, "required">;
|
|
47
47
|
balance_transaction: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
@@ -54,7 +54,7 @@ export declare const PayoutSchema: {
|
|
|
54
54
|
method: import('convex/values').VString<string, "required">;
|
|
55
55
|
original_payout: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
56
56
|
payout_method: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
57
|
-
reconciliation_status: import('convex/values').VUnion<"completed" | "in_progress" | "not_applicable" | undefined, [import('convex/values').VLiteral<"completed", "required">, import('convex/values').VLiteral<"in_progress", "required">, import('convex/values').VLiteral<"not_applicable", "required">], "optional", never>;
|
|
57
|
+
reconciliation_status: import('convex/values').VUnion<"completed" | "in_progress" | "not_applicable" | null | undefined, [import('convex/values').VLiteral<"completed", "required">, import('convex/values').VLiteral<"in_progress", "required">, import('convex/values').VLiteral<"not_applicable", "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
58
58
|
reversed_by: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
59
59
|
source_type: import('convex/values').VString<string, "required">;
|
|
60
60
|
trace_id: import('convex/values').VUnion<{
|
|
@@ -75,15 +75,15 @@ export declare const PayoutObject: import('convex/values').VObject<{
|
|
|
75
75
|
description?: string | null | undefined;
|
|
76
76
|
metadata?: Record<string, string | number | null> | null | undefined;
|
|
77
77
|
statement_descriptor?: string | null | undefined;
|
|
78
|
+
application_fee?: string | null | undefined;
|
|
78
79
|
application_fee_amount?: number | null | undefined;
|
|
79
80
|
failure_balance_transaction?: string | null | undefined;
|
|
80
81
|
failure_code?: string | null | undefined;
|
|
81
82
|
failure_message?: string | null | undefined;
|
|
82
|
-
application_only?: string | null | undefined;
|
|
83
83
|
destination?: string | null | undefined;
|
|
84
84
|
original_payout?: string | null | undefined;
|
|
85
85
|
payout_method?: string | null | undefined;
|
|
86
|
-
reconciliation_status?: "completed" | "in_progress" | "not_applicable" | undefined;
|
|
86
|
+
reconciliation_status?: "completed" | "in_progress" | "not_applicable" | null | undefined;
|
|
87
87
|
reversed_by?: string | null | undefined;
|
|
88
88
|
trace_id?: {
|
|
89
89
|
value?: string | null | undefined;
|
|
@@ -110,7 +110,7 @@ export declare const PayoutObject: import('convex/values').VObject<{
|
|
|
110
110
|
statement_descriptor: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
111
111
|
status: import('convex/values').VString<string, "required">;
|
|
112
112
|
object: import('convex/values').VString<string, "required">;
|
|
113
|
-
|
|
113
|
+
application_fee: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
114
114
|
application_fee_amount: import('convex/values').VUnion<number | null | undefined, [import('convex/values').VFloat64<number, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
115
115
|
automatic: import('convex/values').VBoolean<boolean, "required">;
|
|
116
116
|
balance_transaction: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
@@ -123,7 +123,7 @@ export declare const PayoutObject: import('convex/values').VObject<{
|
|
|
123
123
|
method: import('convex/values').VString<string, "required">;
|
|
124
124
|
original_payout: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
125
125
|
payout_method: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
126
|
-
reconciliation_status: import('convex/values').VUnion<"completed" | "in_progress" | "not_applicable" | undefined, [import('convex/values').VLiteral<"completed", "required">, import('convex/values').VLiteral<"in_progress", "required">, import('convex/values').VLiteral<"not_applicable", "required">], "optional", never>;
|
|
126
|
+
reconciliation_status: import('convex/values').VUnion<"completed" | "in_progress" | "not_applicable" | null | undefined, [import('convex/values').VLiteral<"completed", "required">, import('convex/values').VLiteral<"in_progress", "required">, import('convex/values').VLiteral<"not_applicable", "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
127
127
|
reversed_by: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
128
128
|
source_type: import('convex/values').VString<string, "required">;
|
|
129
129
|
trace_id: import('convex/values').VUnion<{
|
|
@@ -137,4 +137,4 @@ export declare const PayoutObject: import('convex/values').VObject<{
|
|
|
137
137
|
value: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
138
138
|
}, "required", "status" | "value">], "optional", "status" | "value">;
|
|
139
139
|
type: import('convex/values').VUnion<"card" | "bank_account", [import('convex/values').VLiteral<"bank_account", "required">, import('convex/values').VLiteral<"card", "required">], "required", never>;
|
|
140
|
-
}, "required", "object" | "type" | "id" | "amount" | "balance_transaction" | "currency" | "description" | "metadata" | "statement_descriptor" | "status" | "application_fee_amount" | "created" | "failure_balance_transaction" | "failure_code" | "failure_message" | "livemode" | `metadata.${string}` | "automatic" | "arrival_date" | "
|
|
140
|
+
}, "required", "object" | "type" | "id" | "amount" | "balance_transaction" | "currency" | "description" | "metadata" | "statement_descriptor" | "status" | "application_fee" | "application_fee_amount" | "created" | "failure_balance_transaction" | "failure_code" | "failure_message" | "livemode" | `metadata.${string}` | "automatic" | "arrival_date" | "destination" | "method" | "original_payout" | "payout_method" | "reconciliation_status" | "reversed_by" | "source_type" | "trace_id" | "trace_id.status" | "trace_id.value">;
|
|
@@ -11,11 +11,14 @@ export declare const SetupIntentStripeToConvex: (setupIntent: Stripe.SetupIntent
|
|
|
11
11
|
parent?: string | null | undefined;
|
|
12
12
|
id: string;
|
|
13
13
|
} | null | undefined;
|
|
14
|
+
payment_method_options?: any;
|
|
14
15
|
automatic_payment_methods?: {
|
|
15
|
-
allow_redirects?: "always" | "never" | null | undefined;
|
|
16
16
|
enabled?: boolean | null | undefined;
|
|
17
|
+
allow_redirects?: "always" | "never" | null | undefined;
|
|
17
18
|
} | null | undefined;
|
|
19
|
+
next_action?: any;
|
|
18
20
|
cancellation_reason?: "duplicate" | "abandoned" | "requested_by_customer" | null | undefined;
|
|
21
|
+
last_setup_error?: any;
|
|
19
22
|
attach_to_self?: boolean | null | undefined;
|
|
20
23
|
latest_attempt?: string | null | undefined;
|
|
21
24
|
mandate?: string | null | undefined;
|
|
@@ -25,31 +28,28 @@ export declare const SetupIntentStripeToConvex: (setupIntent: Stripe.SetupIntent
|
|
|
25
28
|
status: "succeeded" | "canceled" | "processing" | "requires_action" | "requires_confirmation" | "requires_payment_method";
|
|
26
29
|
created: number;
|
|
27
30
|
livemode: boolean;
|
|
28
|
-
payment_method_options: any;
|
|
29
31
|
payment_method_types: string[];
|
|
30
|
-
next_action: any;
|
|
31
|
-
last_setup_error: any;
|
|
32
32
|
usage: string;
|
|
33
33
|
flow_directions: ("inbound" | "outbound")[] | null;
|
|
34
34
|
};
|
|
35
35
|
export declare const SetupIntentSchema: {
|
|
36
36
|
id: import('convex/values').VString<string, "required">;
|
|
37
37
|
automatic_payment_methods: import('convex/values').VUnion<{
|
|
38
|
-
allow_redirects?: "always" | "never" | null | undefined;
|
|
39
38
|
enabled?: boolean | null | undefined;
|
|
40
|
-
} | null | undefined, [import('convex/values').VObject<{
|
|
41
39
|
allow_redirects?: "always" | "never" | null | undefined;
|
|
40
|
+
} | null | undefined, [import('convex/values').VObject<{
|
|
42
41
|
enabled?: boolean | null | undefined;
|
|
42
|
+
allow_redirects?: "always" | "never" | null | undefined;
|
|
43
43
|
}, {
|
|
44
44
|
allow_redirects: import('convex/values').VUnion<"always" | "never" | null | undefined, [import('convex/values').VLiteral<"always", "required">, import('convex/values').VLiteral<"never", "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
45
45
|
enabled: import('convex/values').VUnion<boolean | null | undefined, [import('convex/values').VBoolean<boolean, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
46
|
-
}, "required", "
|
|
46
|
+
}, "required", "enabled" | "allow_redirects">, import('convex/values').VNull<null, "required">], "optional", "enabled" | "allow_redirects">;
|
|
47
47
|
client_secret: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
48
48
|
customer: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
49
49
|
description: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
50
|
-
last_setup_error: import('convex/values').VAny<any, "
|
|
50
|
+
last_setup_error: import('convex/values').VAny<any, "optional", string>;
|
|
51
51
|
metadata: import('convex/values').VUnion<Record<string, string | number | null> | null | undefined, [import('convex/values').VRecord<Record<string, string | number | null>, import('convex/values').VString<string, "required">, import('convex/values').VUnion<string | number | null, [import('convex/values').VString<string, "required">, import('convex/values').VFloat64<number, "required">, import('convex/values').VNull<null, "required">], "required", never>, "required", string>, import('convex/values').VNull<null, "required">], "optional", string>;
|
|
52
|
-
next_action: import('convex/values').VAny<any, "
|
|
52
|
+
next_action: import('convex/values').VAny<any, "optional", string>;
|
|
53
53
|
payment_method: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
54
54
|
status: import('convex/values').VUnion<"succeeded" | "canceled" | "processing" | "requires_action" | "requires_confirmation" | "requires_payment_method", [import('convex/values').VLiteral<"canceled", "required">, import('convex/values').VLiteral<"processing", "required">, import('convex/values').VLiteral<"requires_action", "required">, import('convex/values').VLiteral<"requires_confirmation", "required">, import('convex/values').VLiteral<"requires_payment_method", "required">, import('convex/values').VLiteral<"succeeded", "required">], "required", never>;
|
|
55
55
|
usage: import('convex/values').VString<string, "required">;
|
|
@@ -73,7 +73,7 @@ export declare const SetupIntentSchema: {
|
|
|
73
73
|
id: import('convex/values').VString<string, "required">;
|
|
74
74
|
parent: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
75
75
|
}, "required", "id" | "parent">, import('convex/values').VNull<null, "required">], "optional", "id" | "parent">;
|
|
76
|
-
payment_method_options: import('convex/values').VAny<any, "
|
|
76
|
+
payment_method_options: import('convex/values').VAny<any, "optional", string>;
|
|
77
77
|
payment_method_types: import('convex/values').VArray<string[], import('convex/values').VString<string, "required">, "required">;
|
|
78
78
|
single_use_mandate: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
79
79
|
};
|
|
@@ -89,11 +89,14 @@ export declare const SetupIntentObject: import('convex/values').VObject<{
|
|
|
89
89
|
parent?: string | null | undefined;
|
|
90
90
|
id: string;
|
|
91
91
|
} | null | undefined;
|
|
92
|
+
payment_method_options?: any;
|
|
92
93
|
automatic_payment_methods?: {
|
|
93
|
-
allow_redirects?: "always" | "never" | null | undefined;
|
|
94
94
|
enabled?: boolean | null | undefined;
|
|
95
|
+
allow_redirects?: "always" | "never" | null | undefined;
|
|
95
96
|
} | null | undefined;
|
|
97
|
+
next_action?: any;
|
|
96
98
|
cancellation_reason?: "duplicate" | "abandoned" | "requested_by_customer" | null | undefined;
|
|
99
|
+
last_setup_error?: any;
|
|
97
100
|
attach_to_self?: boolean | null | undefined;
|
|
98
101
|
latest_attempt?: string | null | undefined;
|
|
99
102
|
mandate?: string | null | undefined;
|
|
@@ -103,30 +106,27 @@ export declare const SetupIntentObject: import('convex/values').VObject<{
|
|
|
103
106
|
status: "succeeded" | "canceled" | "processing" | "requires_action" | "requires_confirmation" | "requires_payment_method";
|
|
104
107
|
created: number;
|
|
105
108
|
livemode: boolean;
|
|
106
|
-
payment_method_options: any;
|
|
107
109
|
payment_method_types: string[];
|
|
108
|
-
next_action: any;
|
|
109
|
-
last_setup_error: any;
|
|
110
110
|
usage: string;
|
|
111
111
|
flow_directions: ("inbound" | "outbound")[] | null;
|
|
112
112
|
}, {
|
|
113
113
|
id: import('convex/values').VString<string, "required">;
|
|
114
114
|
automatic_payment_methods: import('convex/values').VUnion<{
|
|
115
|
-
allow_redirects?: "always" | "never" | null | undefined;
|
|
116
115
|
enabled?: boolean | null | undefined;
|
|
117
|
-
} | null | undefined, [import('convex/values').VObject<{
|
|
118
116
|
allow_redirects?: "always" | "never" | null | undefined;
|
|
117
|
+
} | null | undefined, [import('convex/values').VObject<{
|
|
119
118
|
enabled?: boolean | null | undefined;
|
|
119
|
+
allow_redirects?: "always" | "never" | null | undefined;
|
|
120
120
|
}, {
|
|
121
121
|
allow_redirects: import('convex/values').VUnion<"always" | "never" | null | undefined, [import('convex/values').VLiteral<"always", "required">, import('convex/values').VLiteral<"never", "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
122
122
|
enabled: import('convex/values').VUnion<boolean | null | undefined, [import('convex/values').VBoolean<boolean, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
123
|
-
}, "required", "
|
|
123
|
+
}, "required", "enabled" | "allow_redirects">, import('convex/values').VNull<null, "required">], "optional", "enabled" | "allow_redirects">;
|
|
124
124
|
client_secret: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
125
125
|
customer: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
126
126
|
description: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
127
|
-
last_setup_error: import('convex/values').VAny<any, "
|
|
127
|
+
last_setup_error: import('convex/values').VAny<any, "optional", string>;
|
|
128
128
|
metadata: import('convex/values').VUnion<Record<string, string | number | null> | null | undefined, [import('convex/values').VRecord<Record<string, string | number | null>, import('convex/values').VString<string, "required">, import('convex/values').VUnion<string | number | null, [import('convex/values').VString<string, "required">, import('convex/values').VFloat64<number, "required">, import('convex/values').VNull<null, "required">], "required", never>, "required", string>, import('convex/values').VNull<null, "required">], "optional", string>;
|
|
129
|
-
next_action: import('convex/values').VAny<any, "
|
|
129
|
+
next_action: import('convex/values').VAny<any, "optional", string>;
|
|
130
130
|
payment_method: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
131
131
|
status: import('convex/values').VUnion<"succeeded" | "canceled" | "processing" | "requires_action" | "requires_confirmation" | "requires_payment_method", [import('convex/values').VLiteral<"canceled", "required">, import('convex/values').VLiteral<"processing", "required">, import('convex/values').VLiteral<"requires_action", "required">, import('convex/values').VLiteral<"requires_confirmation", "required">, import('convex/values').VLiteral<"requires_payment_method", "required">, import('convex/values').VLiteral<"succeeded", "required">], "required", never>;
|
|
132
132
|
usage: import('convex/values').VString<string, "required">;
|
|
@@ -150,7 +150,7 @@ export declare const SetupIntentObject: import('convex/values').VObject<{
|
|
|
150
150
|
id: import('convex/values').VString<string, "required">;
|
|
151
151
|
parent: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
152
152
|
}, "required", "id" | "parent">, import('convex/values').VNull<null, "required">], "optional", "id" | "parent">;
|
|
153
|
-
payment_method_options: import('convex/values').VAny<any, "
|
|
153
|
+
payment_method_options: import('convex/values').VAny<any, "optional", string>;
|
|
154
154
|
payment_method_types: import('convex/values').VArray<string[], import('convex/values').VString<string, "required">, "required">;
|
|
155
155
|
single_use_mandate: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
156
|
-
}, "required", "object" | "id" | "customer" | "description" | "metadata" | "status" | "application" | "created" | "livemode" | "on_behalf_of" | "payment_method" | `metadata.${string}` | "client_secret" | "payment_method_configuration_details" | "payment_method_options" | "payment_method_types" | `payment_method_options.${string}` | "automatic_payment_methods" | "next_action" | "cancellation_reason" | "payment_method_configuration_details.id" | "payment_method_configuration_details.parent" | "automatic_payment_methods.
|
|
156
|
+
}, "required", "object" | "id" | "customer" | "description" | "metadata" | "status" | "application" | "created" | "livemode" | "on_behalf_of" | "payment_method" | `metadata.${string}` | "client_secret" | "payment_method_configuration_details" | "payment_method_options" | "payment_method_types" | `payment_method_options.${string}` | "automatic_payment_methods" | "next_action" | "cancellation_reason" | "payment_method_configuration_details.id" | "payment_method_configuration_details.parent" | "automatic_payment_methods.enabled" | "automatic_payment_methods.allow_redirects" | `next_action.${string}` | "last_setup_error" | "usage" | "attach_to_self" | "flow_directions" | "latest_attempt" | "mandate" | "single_use_mandate" | `last_setup_error.${string}`>;
|
|
@@ -8,6 +8,7 @@ export declare const SubscriptionScheduleStripeToConvex: (subscriptionSchedule:
|
|
|
8
8
|
end_date: number;
|
|
9
9
|
start_date: number;
|
|
10
10
|
} | null | undefined;
|
|
11
|
+
phases?: any;
|
|
11
12
|
completed_at?: number | null | undefined;
|
|
12
13
|
default_settings?: {
|
|
13
14
|
description?: string | null | undefined;
|
|
@@ -49,7 +50,6 @@ export declare const SubscriptionScheduleStripeToConvex: (subscriptionSchedule:
|
|
|
49
50
|
status: "canceled" | "completed" | "active" | "not_started" | "released";
|
|
50
51
|
created: number;
|
|
51
52
|
livemode: boolean;
|
|
52
|
-
phases: any;
|
|
53
53
|
billing_mode: {
|
|
54
54
|
updated_at?: number | null | undefined;
|
|
55
55
|
type: "classic" | "flexible";
|
|
@@ -70,7 +70,7 @@ export declare const SubscriptionScheduleSchema: {
|
|
|
70
70
|
}, "required", "end_date" | "start_date">, import('convex/values').VNull<null, "required">], "optional", "end_date" | "start_date">;
|
|
71
71
|
customer: import('convex/values').VString<string, "required">;
|
|
72
72
|
metadata: import('convex/values').VUnion<Record<string, string | number | null> | null | undefined, [import('convex/values').VRecord<Record<string, string | number | null>, import('convex/values').VString<string, "required">, import('convex/values').VUnion<string | number | null, [import('convex/values').VString<string, "required">, import('convex/values').VFloat64<number, "required">, import('convex/values').VNull<null, "required">], "required", never>, "required", string>, import('convex/values').VNull<null, "required">], "optional", string>;
|
|
73
|
-
phases: import('convex/values').VAny<any, "
|
|
73
|
+
phases: import('convex/values').VAny<any, "optional", string>;
|
|
74
74
|
status: import('convex/values').VUnion<"canceled" | "completed" | "active" | "not_started" | "released", [import('convex/values').VLiteral<"active", "required">, import('convex/values').VLiteral<"canceled", "required">, import('convex/values').VLiteral<"completed", "required">, import('convex/values').VLiteral<"not_started", "required">, import('convex/values').VLiteral<"released", "required">], "required", never>;
|
|
75
75
|
object: import('convex/values').VString<string, "required">;
|
|
76
76
|
application: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
@@ -242,6 +242,7 @@ export declare const SubscriptionScheduleObject: import('convex/values').VObject
|
|
|
242
242
|
end_date: number;
|
|
243
243
|
start_date: number;
|
|
244
244
|
} | null | undefined;
|
|
245
|
+
phases?: any;
|
|
245
246
|
completed_at?: number | null | undefined;
|
|
246
247
|
default_settings?: {
|
|
247
248
|
description?: string | null | undefined;
|
|
@@ -283,7 +284,6 @@ export declare const SubscriptionScheduleObject: import('convex/values').VObject
|
|
|
283
284
|
status: "canceled" | "completed" | "active" | "not_started" | "released";
|
|
284
285
|
created: number;
|
|
285
286
|
livemode: boolean;
|
|
286
|
-
phases: any;
|
|
287
287
|
billing_mode: {
|
|
288
288
|
updated_at?: number | null | undefined;
|
|
289
289
|
type: "classic" | "flexible";
|
|
@@ -303,7 +303,7 @@ export declare const SubscriptionScheduleObject: import('convex/values').VObject
|
|
|
303
303
|
}, "required", "end_date" | "start_date">, import('convex/values').VNull<null, "required">], "optional", "end_date" | "start_date">;
|
|
304
304
|
customer: import('convex/values').VString<string, "required">;
|
|
305
305
|
metadata: import('convex/values').VUnion<Record<string, string | number | null> | null | undefined, [import('convex/values').VRecord<Record<string, string | number | null>, import('convex/values').VString<string, "required">, import('convex/values').VUnion<string | number | null, [import('convex/values').VString<string, "required">, import('convex/values').VFloat64<number, "required">, import('convex/values').VNull<null, "required">], "required", never>, "required", string>, import('convex/values').VNull<null, "required">], "optional", string>;
|
|
306
|
-
phases: import('convex/values').VAny<any, "
|
|
306
|
+
phases: import('convex/values').VAny<any, "optional", string>;
|
|
307
307
|
status: import('convex/values').VUnion<"canceled" | "completed" | "active" | "not_started" | "released", [import('convex/values').VLiteral<"active", "required">, import('convex/values').VLiteral<"canceled", "required">, import('convex/values').VLiteral<"completed", "required">, import('convex/values').VLiteral<"not_started", "required">, import('convex/values').VLiteral<"released", "required">], "required", never>;
|
|
308
308
|
object: import('convex/values').VString<string, "required">;
|
|
309
309
|
application: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
|
|
@@ -156,7 +156,7 @@ export declare const StoreImplementation: {
|
|
|
156
156
|
preferred_locales?: string[] | null | undefined;
|
|
157
157
|
sources?: any;
|
|
158
158
|
subscriptions?: any;
|
|
159
|
-
tax_exempt?: "reverse" | "
|
|
159
|
+
tax_exempt?: "reverse" | "none" | "exempt" | null | undefined;
|
|
160
160
|
tax_ids?: any;
|
|
161
161
|
test_clock?: string | null | undefined;
|
|
162
162
|
object: string;
|
|
@@ -261,15 +261,15 @@ export declare const StoreImplementation: {
|
|
|
261
261
|
description?: string | null | undefined;
|
|
262
262
|
metadata?: Record<string, string | number | null> | null | undefined;
|
|
263
263
|
statement_descriptor?: string | null | undefined;
|
|
264
|
+
application_fee?: string | null | undefined;
|
|
264
265
|
application_fee_amount?: number | null | undefined;
|
|
265
266
|
failure_balance_transaction?: string | null | undefined;
|
|
266
267
|
failure_code?: string | null | undefined;
|
|
267
268
|
failure_message?: string | null | undefined;
|
|
268
|
-
application_only?: string | null | undefined;
|
|
269
269
|
destination?: string | null | undefined;
|
|
270
270
|
original_payout?: string | null | undefined;
|
|
271
271
|
payout_method?: string | null | undefined;
|
|
272
|
-
reconciliation_status?: "completed" | "in_progress" | "not_applicable" | undefined;
|
|
272
|
+
reconciliation_status?: "completed" | "in_progress" | "not_applicable" | null | undefined;
|
|
273
273
|
reversed_by?: string | null | undefined;
|
|
274
274
|
trace_id?: {
|
|
275
275
|
value?: string | null | undefined;
|
|
@@ -533,7 +533,7 @@ export declare const StoreImplementation: {
|
|
|
533
533
|
attempt_count: number;
|
|
534
534
|
attempted: boolean;
|
|
535
535
|
billing_reason: "subscription" | "automatic_pending_invoice_item_invoice" | "manual" | "quote_accept" | "subscription_create" | "subscription_cycle" | "subscription_threshold" | "subscription_update" | "upcoming" | null;
|
|
536
|
-
customer_tax_exempt: "reverse" | "
|
|
536
|
+
customer_tax_exempt: "reverse" | "none" | "exempt" | null;
|
|
537
537
|
default_tax_rates: any[];
|
|
538
538
|
post_payment_credit_notes_amount: number;
|
|
539
539
|
pre_payment_credit_notes_amount: number;
|
|
@@ -609,11 +609,11 @@ export declare const StoreImplementation: {
|
|
|
609
609
|
stripe: {
|
|
610
610
|
metadata?: Record<string, string | number | null> | null | undefined;
|
|
611
611
|
payment_intent?: string | null | undefined;
|
|
612
|
+
payment_method_details?: any;
|
|
612
613
|
object: string;
|
|
613
614
|
id: string;
|
|
614
615
|
amount: number;
|
|
615
616
|
currency: string;
|
|
616
|
-
payment_method_details: any;
|
|
617
617
|
status: "lost" | "needs_response" | "prevented" | "under_review" | "warning_closed" | "warning_needs_response" | "warning_under_review" | "won";
|
|
618
618
|
created: number;
|
|
619
619
|
livemode: boolean;
|
|
@@ -683,11 +683,14 @@ export declare const StoreImplementation: {
|
|
|
683
683
|
parent?: string | null | undefined;
|
|
684
684
|
id: string;
|
|
685
685
|
} | null | undefined;
|
|
686
|
+
payment_method_options?: any;
|
|
686
687
|
automatic_payment_methods?: {
|
|
687
|
-
allow_redirects?: "always" | "never" | null | undefined;
|
|
688
688
|
enabled?: boolean | null | undefined;
|
|
689
|
+
allow_redirects?: "always" | "never" | null | undefined;
|
|
689
690
|
} | null | undefined;
|
|
691
|
+
next_action?: any;
|
|
690
692
|
cancellation_reason?: "duplicate" | "abandoned" | "requested_by_customer" | null | undefined;
|
|
693
|
+
last_setup_error?: any;
|
|
691
694
|
attach_to_self?: boolean | null | undefined;
|
|
692
695
|
latest_attempt?: string | null | undefined;
|
|
693
696
|
mandate?: string | null | undefined;
|
|
@@ -697,10 +700,7 @@ export declare const StoreImplementation: {
|
|
|
697
700
|
status: "succeeded" | "canceled" | "processing" | "requires_action" | "requires_confirmation" | "requires_payment_method";
|
|
698
701
|
created: number;
|
|
699
702
|
livemode: boolean;
|
|
700
|
-
payment_method_options: any;
|
|
701
703
|
payment_method_types: string[];
|
|
702
|
-
next_action: any;
|
|
703
|
-
last_setup_error: any;
|
|
704
704
|
usage: string;
|
|
705
705
|
flow_directions: ("inbound" | "outbound")[] | null;
|
|
706
706
|
};
|
|
@@ -713,12 +713,14 @@ export declare const StoreImplementation: {
|
|
|
713
713
|
customer?: string | null | undefined;
|
|
714
714
|
metadata?: Record<string, string | number | null> | null | undefined;
|
|
715
715
|
invoice?: string | null | undefined;
|
|
716
|
+
shipping_cost?: any;
|
|
716
717
|
memo?: string | null | undefined;
|
|
717
718
|
customer_balance_transaction?: string | null | undefined;
|
|
718
719
|
effective_at?: number | null | undefined;
|
|
719
720
|
out_of_band_amount?: number | null | undefined;
|
|
720
721
|
subtotal_excluding_tax?: number | null | undefined;
|
|
721
722
|
total_excluding_tax?: number | null | undefined;
|
|
723
|
+
total_taxes?: any;
|
|
722
724
|
voided_at?: number | null | undefined;
|
|
723
725
|
number: string;
|
|
724
726
|
object: string;
|
|
@@ -733,7 +735,6 @@ export declare const StoreImplementation: {
|
|
|
733
735
|
amount_refunded: number;
|
|
734
736
|
refund: string;
|
|
735
737
|
}[];
|
|
736
|
-
shipping_cost: any;
|
|
737
738
|
lines: any;
|
|
738
739
|
reason: "duplicate" | "fraudulent" | "order_change" | "product_unsatisfactory" | null;
|
|
739
740
|
subtotal: number;
|
|
@@ -753,7 +754,6 @@ export declare const StoreImplementation: {
|
|
|
753
754
|
type: "discount" | "credit_balance_transaction";
|
|
754
755
|
amount: number;
|
|
755
756
|
}[];
|
|
756
|
-
total_taxes: any;
|
|
757
757
|
};
|
|
758
758
|
last_synced_at: number;
|
|
759
759
|
creditNoteId: string;
|
|
@@ -766,7 +766,9 @@ export declare const StoreImplementation: {
|
|
|
766
766
|
description?: string | null | undefined;
|
|
767
767
|
metadata?: Record<string, string | number | null> | null | undefined;
|
|
768
768
|
payment_intent?: string | null | undefined;
|
|
769
|
+
payment_method_details?: any;
|
|
769
770
|
receipt_email?: string | null | undefined;
|
|
771
|
+
shipping?: any;
|
|
770
772
|
statement_descriptor?: string | null | undefined;
|
|
771
773
|
statement_descriptor_suffix?: string | null | undefined;
|
|
772
774
|
application?: string | null | undefined;
|
|
@@ -776,13 +778,20 @@ export declare const StoreImplementation: {
|
|
|
776
778
|
failure_balance_transaction?: string | null | undefined;
|
|
777
779
|
failure_code?: string | null | undefined;
|
|
778
780
|
failure_message?: string | null | undefined;
|
|
781
|
+
fraud_details?: any;
|
|
779
782
|
on_behalf_of?: string | null | undefined;
|
|
783
|
+
outcome?: any;
|
|
780
784
|
payment_method?: string | null | undefined;
|
|
785
|
+
presentment_details?: any;
|
|
786
|
+
radar_options?: any;
|
|
781
787
|
receipt_number?: string | null | undefined;
|
|
782
788
|
receipt_url?: string | null | undefined;
|
|
789
|
+
refunds?: any;
|
|
783
790
|
review?: string | null | undefined;
|
|
784
791
|
source_transfer?: string | null | undefined;
|
|
785
792
|
transfer?: string | null | undefined;
|
|
793
|
+
transfer_data?: any;
|
|
794
|
+
transfer_group?: any;
|
|
786
795
|
object: string;
|
|
787
796
|
id: string;
|
|
788
797
|
amount: number;
|
|
@@ -802,23 +811,14 @@ export declare const StoreImplementation: {
|
|
|
802
811
|
};
|
|
803
812
|
currency: string;
|
|
804
813
|
disputed: boolean;
|
|
805
|
-
payment_method_details: any;
|
|
806
814
|
refunded: boolean;
|
|
807
|
-
shipping: any;
|
|
808
815
|
status: "succeeded" | "failed" | "pending";
|
|
809
816
|
amount_captured: number;
|
|
810
817
|
amount_refunded: number;
|
|
811
818
|
captured: boolean;
|
|
812
819
|
created: number;
|
|
813
|
-
fraud_details: any;
|
|
814
820
|
livemode: boolean;
|
|
815
|
-
outcome: any;
|
|
816
821
|
paid: boolean;
|
|
817
|
-
presentment_details: any;
|
|
818
|
-
radar_options: any;
|
|
819
|
-
refunds: any;
|
|
820
|
-
transfer_data: any;
|
|
821
|
-
transfer_group: any;
|
|
822
822
|
};
|
|
823
823
|
last_synced_at: number;
|
|
824
824
|
chargeId: string;
|
|
@@ -826,66 +826,66 @@ export declare const StoreImplementation: {
|
|
|
826
826
|
_id: GenericId<"stripe_payment_methods">;
|
|
827
827
|
_creationTime: number;
|
|
828
828
|
stripe: {
|
|
829
|
+
link?: any;
|
|
830
|
+
billing_details?: any;
|
|
829
831
|
customer?: string | null | undefined;
|
|
830
832
|
metadata?: Record<string, string | number | null> | null | undefined;
|
|
833
|
+
radar_options?: any;
|
|
834
|
+
acss_debit?: any;
|
|
835
|
+
affirm?: any;
|
|
836
|
+
afterpay_clearpay?: any;
|
|
837
|
+
alipay?: any;
|
|
838
|
+
alma?: any;
|
|
839
|
+
amazon_pay?: any;
|
|
840
|
+
au_becs_debit?: any;
|
|
841
|
+
bacs_debit?: any;
|
|
842
|
+
bancontact?: any;
|
|
843
|
+
billie?: any;
|
|
844
|
+
blik?: any;
|
|
845
|
+
boleto?: any;
|
|
846
|
+
card?: any;
|
|
847
|
+
cashapp?: any;
|
|
848
|
+
crypto?: any;
|
|
849
|
+
customer_balance?: any;
|
|
850
|
+
eps?: any;
|
|
851
|
+
fpx?: any;
|
|
852
|
+
giropay?: any;
|
|
853
|
+
grabpay?: any;
|
|
854
|
+
ideal?: any;
|
|
855
|
+
kakao_pay?: any;
|
|
856
|
+
klarna?: any;
|
|
857
|
+
konbini?: any;
|
|
858
|
+
kr_card?: any;
|
|
859
|
+
mobilepay?: any;
|
|
860
|
+
multibanco?: any;
|
|
861
|
+
naver_pay?: any;
|
|
862
|
+
nz_bank_account?: any;
|
|
863
|
+
oxxo?: any;
|
|
864
|
+
p24?: any;
|
|
865
|
+
pay_by_bank?: any;
|
|
866
|
+
payco?: any;
|
|
867
|
+
paynow?: any;
|
|
868
|
+
paypal?: any;
|
|
869
|
+
pix?: any;
|
|
870
|
+
promptpay?: any;
|
|
871
|
+
revolut_pay?: any;
|
|
872
|
+
samsung_pay?: any;
|
|
873
|
+
satispay?: any;
|
|
874
|
+
sepa_debit?: any;
|
|
875
|
+
sofort?: any;
|
|
876
|
+
swish?: any;
|
|
877
|
+
twint?: any;
|
|
878
|
+
us_bank_account?: any;
|
|
879
|
+
wechat_pay?: any;
|
|
880
|
+
zip?: any;
|
|
881
|
+
card_present?: any;
|
|
882
|
+
interac_present?: any;
|
|
831
883
|
object: string;
|
|
832
884
|
type: string;
|
|
833
885
|
id: string;
|
|
834
|
-
link: any;
|
|
835
|
-
billing_details: any;
|
|
836
886
|
created: number;
|
|
837
887
|
livemode: boolean;
|
|
838
|
-
radar_options: any;
|
|
839
|
-
acss_debit: any;
|
|
840
|
-
affirm: any;
|
|
841
|
-
afterpay_clearpay: any;
|
|
842
|
-
alipay: any;
|
|
843
|
-
alma: any;
|
|
844
|
-
amazon_pay: any;
|
|
845
|
-
au_becs_debit: any;
|
|
846
|
-
bacs_debit: any;
|
|
847
|
-
bancontact: any;
|
|
848
|
-
billie: any;
|
|
849
|
-
blik: any;
|
|
850
|
-
boleto: any;
|
|
851
|
-
card: any;
|
|
852
|
-
cashapp: any;
|
|
853
|
-
crypto: any;
|
|
854
|
-
customer_balance: any;
|
|
855
|
-
eps: any;
|
|
856
|
-
fpx: any;
|
|
857
|
-
giropay: any;
|
|
858
|
-
grabpay: any;
|
|
859
|
-
ideal: any;
|
|
860
|
-
kakao_pay: any;
|
|
861
|
-
klarna: any;
|
|
862
|
-
konbini: any;
|
|
863
|
-
kr_card: any;
|
|
864
|
-
mobilepay: any;
|
|
865
|
-
multibanco: any;
|
|
866
|
-
naver_pay: any;
|
|
867
|
-
nz_bank_account: any;
|
|
868
|
-
oxxo: any;
|
|
869
|
-
p24: any;
|
|
870
|
-
pay_by_bank: any;
|
|
871
|
-
payco: any;
|
|
872
|
-
paynow: any;
|
|
873
|
-
paypal: any;
|
|
874
|
-
pix: any;
|
|
875
|
-
promptpay: any;
|
|
876
|
-
revolut_pay: any;
|
|
877
|
-
samsung_pay: any;
|
|
878
|
-
satispay: any;
|
|
879
|
-
sepa_debit: any;
|
|
880
|
-
sofort: any;
|
|
881
|
-
swish: any;
|
|
882
|
-
twint: any;
|
|
883
|
-
us_bank_account: any;
|
|
884
|
-
wechat_pay: any;
|
|
885
|
-
zip: any;
|
|
886
888
|
allow_redisplay: "always" | "limited" | "unspecified" | null;
|
|
887
|
-
card_present: any;
|
|
888
|
-
interac_present: any;
|
|
889
889
|
};
|
|
890
890
|
last_synced_at: number;
|
|
891
891
|
paymentMethodId: string;
|
|
@@ -901,6 +901,7 @@ export declare const StoreImplementation: {
|
|
|
901
901
|
end_date: number;
|
|
902
902
|
start_date: number;
|
|
903
903
|
} | null | undefined;
|
|
904
|
+
phases?: any;
|
|
904
905
|
completed_at?: number | null | undefined;
|
|
905
906
|
default_settings?: {
|
|
906
907
|
description?: string | null | undefined;
|
|
@@ -942,7 +943,6 @@ export declare const StoreImplementation: {
|
|
|
942
943
|
status: "canceled" | "completed" | "active" | "not_started" | "released";
|
|
943
944
|
created: number;
|
|
944
945
|
livemode: boolean;
|
|
945
|
-
phases: any;
|
|
946
946
|
billing_mode: {
|
|
947
947
|
updated_at?: number | null | undefined;
|
|
948
948
|
type: "classic" | "flexible";
|