@raideno/convex-stripe 0.1.8 → 0.1.10

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.
Files changed (95) hide show
  1. package/dist/index.d.ts +996 -0
  2. package/dist/server.js +305 -276
  3. package/package.json +1 -7
  4. package/dist/index.js +0 -1
  5. package/dist/server/actions/index.d.ts +0 -4
  6. package/dist/server/actions/pay.d.ts +0 -579
  7. package/dist/server/actions/portal.d.ts +0 -26
  8. package/dist/server/actions/setup.d.ts +0 -19
  9. package/dist/server/actions/subscribe.d.ts +0 -44
  10. package/dist/server/helpers.d.ts +0 -28
  11. package/dist/server/index.d.ts +0 -967
  12. package/dist/server/logger.d.ts +0 -8
  13. package/dist/server/redirects/index.d.ts +0 -45
  14. package/dist/server/redirects/pay.d.ts +0 -5
  15. package/dist/server/redirects/portal.d.ts +0 -3
  16. package/dist/server/redirects/subscribe.d.ts +0 -3
  17. package/dist/server/redirects/types.d.ts +0 -9
  18. package/dist/server/schema/charge.d.ts +0 -294
  19. package/dist/server/schema/checkout-session.d.ts +0 -256
  20. package/dist/server/schema/coupon.d.ts +0 -112
  21. package/dist/server/schema/credit-note.d.ts +0 -228
  22. package/dist/server/schema/customer.d.ts +0 -366
  23. package/dist/server/schema/dispute.d.ts +0 -76
  24. package/dist/server/schema/early-fraud-warning.d.ts +0 -40
  25. package/dist/server/schema/index.d.ts +0 -6061
  26. package/dist/server/schema/invoice.d.ts +0 -314
  27. package/dist/server/schema/payment-intent.d.ts +0 -311
  28. package/dist/server/schema/payment-method.d.ts +0 -248
  29. package/dist/server/schema/payout.d.ts +0 -140
  30. package/dist/server/schema/plan.d.ts +0 -112
  31. package/dist/server/schema/price.d.ts +0 -148
  32. package/dist/server/schema/product.d.ts +0 -132
  33. package/dist/server/schema/promotion-code.d.ts +0 -266
  34. package/dist/server/schema/refund.d.ts +0 -92
  35. package/dist/server/schema/review.d.ts +0 -152
  36. package/dist/server/schema/setup-intent.d.ts +0 -156
  37. package/dist/server/schema/subscription-schedule.d.ts +0 -468
  38. package/dist/server/schema/subscription.d.ts +0 -4
  39. package/dist/server/schema/tax-id.d.ts +0 -120
  40. package/dist/server/store/index.d.ts +0 -960
  41. package/dist/server/store/operations/delete-by-id.d.ts +0 -3
  42. package/dist/server/store/operations/index.d.ts +0 -5
  43. package/dist/server/store/operations/select-all.d.ts +0 -3
  44. package/dist/server/store/operations/select-by-id.d.ts +0 -4
  45. package/dist/server/store/operations/select-one.d.ts +0 -3
  46. package/dist/server/store/operations/upsert.d.ts +0 -4
  47. package/dist/server/store/types.d.ts +0 -70
  48. package/dist/server/sync/all.d.ts +0 -5
  49. package/dist/server/sync/charges.handler.d.ts +0 -5
  50. package/dist/server/sync/checkout-sessions.handler.d.ts +0 -5
  51. package/dist/server/sync/coupons.handler.d.ts +0 -5
  52. package/dist/server/sync/credit-notes.handler.d.ts +0 -5
  53. package/dist/server/sync/customers.handler.d.ts +0 -5
  54. package/dist/server/sync/disputes.handler.d.ts +0 -5
  55. package/dist/server/sync/early-fraud-warnings.handler.d.ts +0 -5
  56. package/dist/server/sync/invoices.handler.d.ts +0 -5
  57. package/dist/server/sync/payment-intents.handler.d.ts +0 -5
  58. package/dist/server/sync/payment-methods.handler.d.ts +0 -5
  59. package/dist/server/sync/payouts.handler.d.ts +0 -5
  60. package/dist/server/sync/plans.handler.d.ts +0 -5
  61. package/dist/server/sync/prices.handler.d.ts +0 -5
  62. package/dist/server/sync/products.handler.d.ts +0 -5
  63. package/dist/server/sync/promotion-codes.handler.d.ts +0 -5
  64. package/dist/server/sync/refunds.handler.d.ts +0 -5
  65. package/dist/server/sync/reviews.handler.d.ts +0 -5
  66. package/dist/server/sync/setup-intents.handler.d.ts +0 -5
  67. package/dist/server/sync/subscription-schedules.handler.d.ts +0 -5
  68. package/dist/server/sync/subscription.d.ts +0 -12
  69. package/dist/server/sync/subscriptions.handler.d.ts +0 -5
  70. package/dist/server/sync/tax-id.handler.d.ts +0 -5
  71. package/dist/server/types.d.ts +0 -22
  72. package/dist/server/webhooks/charges.handler.d.ts +0 -2
  73. package/dist/server/webhooks/checkout-sessions.handler.d.ts +0 -2
  74. package/dist/server/webhooks/coupons.handler.d.ts +0 -2
  75. package/dist/server/webhooks/credit-notes.handler.d.ts +0 -2
  76. package/dist/server/webhooks/customers.handler.d.ts +0 -2
  77. package/dist/server/webhooks/disputes.handler.d.ts +0 -2
  78. package/dist/server/webhooks/early-fraud-warnings.handler.d.ts +0 -2
  79. package/dist/server/webhooks/index.d.ts +0 -2
  80. package/dist/server/webhooks/invoices.handler.d.ts +0 -2
  81. package/dist/server/webhooks/payment-intents.handler.d.ts +0 -2
  82. package/dist/server/webhooks/payment-methods.handler.d.ts +0 -2
  83. package/dist/server/webhooks/payouts.handler.d.ts +0 -2
  84. package/dist/server/webhooks/plans.handler.d.ts +0 -2
  85. package/dist/server/webhooks/prices.handler.d.ts +0 -2
  86. package/dist/server/webhooks/products.handler.d.ts +0 -2
  87. package/dist/server/webhooks/promotion-codes.handler.d.ts +0 -2
  88. package/dist/server/webhooks/refunds.handler.d.ts +0 -2
  89. package/dist/server/webhooks/reviews.handler.d.ts +0 -2
  90. package/dist/server/webhooks/setup-intent.handler.d.ts +0 -2
  91. package/dist/server/webhooks/subscription-schedules.handler.d.ts +0 -2
  92. package/dist/server/webhooks/subscription.handler.d.ts +0 -2
  93. package/dist/server/webhooks/tax-id.handler.d.ts +0 -2
  94. package/dist/server/webhooks/types.d.ts +0 -11
  95. package/dist/server.d.ts +0 -2
@@ -1,314 +0,0 @@
1
- import { default as Stripe } from 'stripe';
2
- export declare const InvoiceStripeToConvex: (invoice: Stripe.Invoice & {
3
- id: string;
4
- }) => {
5
- number?: string | null | undefined;
6
- description?: string | null | undefined;
7
- metadata?: Record<string, string | number | null> | null | undefined;
8
- statement_descriptor?: string | null | undefined;
9
- application?: string | null | undefined;
10
- on_behalf_of?: string | null | undefined;
11
- receipt_number?: string | null | undefined;
12
- automatic_tax?: any;
13
- customer_email?: string | null | undefined;
14
- custom_fields?: any[] | null | undefined;
15
- shipping_cost?: any;
16
- lines?: any;
17
- effective_at?: number | null | undefined;
18
- subtotal_excluding_tax?: number | null | undefined;
19
- total_excluding_tax?: number | null | undefined;
20
- total_taxes?: any[] | null | undefined;
21
- default_source?: string | null | undefined;
22
- test_clock?: string | null | undefined;
23
- auto_advance?: boolean | undefined;
24
- confirmation_secret?: any;
25
- hosted_invoice_url?: string | null | undefined;
26
- parent?: any;
27
- account_country?: string | null | undefined;
28
- account_name?: string | null | undefined;
29
- account_tax_ids?: string[] | null | undefined;
30
- automatically_finalizes_at?: number | null | undefined;
31
- customer_address?: any;
32
- customer_name?: string | null | undefined;
33
- customer_phone?: string | null | undefined;
34
- customer_shipping?: any;
35
- customer_tax_ids?: any[] | null | undefined;
36
- default_payment_method?: string | null | undefined;
37
- due_date?: number | null | undefined;
38
- ending_balance?: number | null | undefined;
39
- footer?: string | null | undefined;
40
- from_invoice?: any;
41
- invoice_pdf?: string | null | undefined;
42
- issuer?: any;
43
- last_finalization_error?: any;
44
- latest_revision?: string | null | undefined;
45
- next_payment_attempt?: number | null | undefined;
46
- payment_settings?: any;
47
- payments?: any;
48
- rendering?: any;
49
- shipping_details?: any;
50
- status_transitions?: any;
51
- threshold_reason?: any;
52
- total_discount_amounts?: any[] | null | undefined;
53
- total_pretax_credit_amounts?: any[] | null | undefined;
54
- webhooks_delivered_at?: number | null | undefined;
55
- object: string;
56
- id: string;
57
- currency: string;
58
- customer: string;
59
- status: "paid" | "open" | "void" | "draft" | "uncollectible";
60
- created: number;
61
- livemode: boolean;
62
- discounts: string[];
63
- subtotal: number;
64
- total: number;
65
- amount_shipping: number;
66
- collection_method: "charge_automatically" | "send_invoice";
67
- period_end: number;
68
- period_start: number;
69
- amount_due: number;
70
- amount_overpaid: number;
71
- amount_paid: number;
72
- amount_remaining: number;
73
- attempt_count: number;
74
- attempted: boolean;
75
- billing_reason: "subscription" | "automatic_pending_invoice_item_invoice" | "manual" | "quote_accept" | "subscription_create" | "subscription_cycle" | "subscription_threshold" | "subscription_update" | "upcoming" | null;
76
- customer_tax_exempt: "reverse" | "none" | "exempt" | null;
77
- default_tax_rates: any[];
78
- post_payment_credit_notes_amount: number;
79
- pre_payment_credit_notes_amount: number;
80
- starting_balance: number;
81
- };
82
- export declare const InvoiceSchema: {
83
- id: import('convex/values').VString<string, "required">;
84
- auto_advance: import('convex/values').VBoolean<boolean | undefined, "optional">;
85
- automatic_tax: import('convex/values').VAny<any, "optional", string>;
86
- collection_method: import('convex/values').VUnion<"charge_automatically" | "send_invoice", [import('convex/values').VLiteral<"charge_automatically", "required">, import('convex/values').VLiteral<"send_invoice", "required">], "required", never>;
87
- confirmation_secret: import('convex/values').VAny<any, "optional", string>;
88
- currency: import('convex/values').VString<string, "required">;
89
- customer: import('convex/values').VString<string, "required">;
90
- description: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
91
- hosted_invoice_url: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
92
- lines: import('convex/values').VAny<any, "optional", string>;
93
- 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>;
94
- parent: import('convex/values').VAny<any, "optional", string>;
95
- period_end: import('convex/values').VFloat64<number, "required">;
96
- period_start: import('convex/values').VFloat64<number, "required">;
97
- status: import('convex/values').VUnion<"paid" | "open" | "void" | "draft" | "uncollectible", [import('convex/values').VLiteral<"draft", "required">, import('convex/values').VLiteral<"open", "required">, import('convex/values').VLiteral<"paid", "required">, import('convex/values').VLiteral<"uncollectible", "required">, import('convex/values').VLiteral<"void", "required">], "required", never>;
98
- total: import('convex/values').VFloat64<number, "required">;
99
- object: import('convex/values').VString<string, "required">;
100
- account_country: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
101
- account_name: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
102
- account_tax_ids: import('convex/values').VUnion<string[] | null | undefined, [import('convex/values').VArray<string[], import('convex/values').VString<string, "required">, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
103
- amount_due: import('convex/values').VFloat64<number, "required">;
104
- amount_overpaid: import('convex/values').VFloat64<number, "required">;
105
- amount_paid: import('convex/values').VFloat64<number, "required">;
106
- amount_remaining: import('convex/values').VFloat64<number, "required">;
107
- amount_shipping: import('convex/values').VFloat64<number, "required">;
108
- application: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
109
- attempt_count: import('convex/values').VFloat64<number, "required">;
110
- attempted: import('convex/values').VBoolean<boolean, "required">;
111
- automatically_finalizes_at: import('convex/values').VUnion<number | null | undefined, [import('convex/values').VFloat64<number, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
112
- billing_reason: import('convex/values').VUnion<"subscription" | "automatic_pending_invoice_item_invoice" | "manual" | "quote_accept" | "subscription_create" | "subscription_cycle" | "subscription_threshold" | "subscription_update" | "upcoming" | null, [import('convex/values').VLiteral<"automatic_pending_invoice_item_invoice", "required">, import('convex/values').VLiteral<"manual", "required">, import('convex/values').VLiteral<"quote_accept", "required">, import('convex/values').VLiteral<"subscription", "required">, import('convex/values').VLiteral<"subscription_create", "required">, import('convex/values').VLiteral<"subscription_cycle", "required">, import('convex/values').VLiteral<"subscription_threshold", "required">, import('convex/values').VLiteral<"subscription_update", "required">, import('convex/values').VLiteral<"upcoming", "required">, import('convex/values').VNull<null, "required">], "required", never>;
113
- created: import('convex/values').VFloat64<number, "required">;
114
- custom_fields: import('convex/values').VUnion<any[] | null | undefined, [import('convex/values').VArray<any[], import('convex/values').VAny<any, "required", string>, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
115
- customer_address: import('convex/values').VAny<any, "optional", string>;
116
- customer_email: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
117
- customer_name: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
118
- customer_phone: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
119
- customer_shipping: import('convex/values').VAny<any, "optional", string>;
120
- customer_tax_exempt: import('convex/values').VUnion<"reverse" | "none" | "exempt" | null, [import('convex/values').VLiteral<"exempt", "required">, import('convex/values').VLiteral<"none", "required">, import('convex/values').VLiteral<"reverse", "required">, import('convex/values').VNull<null, "required">], "required", never>;
121
- customer_tax_ids: import('convex/values').VUnion<any[] | null | undefined, [import('convex/values').VArray<any[], import('convex/values').VAny<any, "required", string>, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
122
- default_payment_method: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
123
- default_source: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
124
- default_tax_rates: import('convex/values').VArray<any[], import('convex/values').VAny<any, "required", string>, "required">;
125
- discounts: import('convex/values').VArray<string[], import('convex/values').VString<string, "required">, "required">;
126
- due_date: import('convex/values').VUnion<number | null | undefined, [import('convex/values').VFloat64<number, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
127
- effective_at: import('convex/values').VUnion<number | null | undefined, [import('convex/values').VFloat64<number, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
128
- ending_balance: import('convex/values').VUnion<number | null | undefined, [import('convex/values').VFloat64<number, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
129
- footer: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
130
- from_invoice: import('convex/values').VAny<any, "optional", string>;
131
- invoice_pdf: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
132
- issuer: import('convex/values').VAny<any, "optional", string>;
133
- last_finalization_error: import('convex/values').VAny<any, "optional", string>;
134
- latest_revision: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
135
- livemode: import('convex/values').VBoolean<boolean, "required">;
136
- next_payment_attempt: import('convex/values').VUnion<number | null | undefined, [import('convex/values').VFloat64<number, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
137
- number: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
138
- on_behalf_of: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
139
- payment_settings: import('convex/values').VAny<any, "optional", string>;
140
- payments: import('convex/values').VAny<any, "optional", string>;
141
- post_payment_credit_notes_amount: import('convex/values').VFloat64<number, "required">;
142
- pre_payment_credit_notes_amount: import('convex/values').VFloat64<number, "required">;
143
- receipt_number: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
144
- rendering: import('convex/values').VAny<any, "optional", string>;
145
- shipping_cost: import('convex/values').VAny<any, "optional", string>;
146
- shipping_details: import('convex/values').VAny<any, "optional", string>;
147
- starting_balance: import('convex/values').VFloat64<number, "required">;
148
- statement_descriptor: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
149
- status_transitions: import('convex/values').VAny<any, "optional", string>;
150
- subtotal: import('convex/values').VFloat64<number, "required">;
151
- subtotal_excluding_tax: import('convex/values').VUnion<number | null | undefined, [import('convex/values').VFloat64<number, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
152
- test_clock: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
153
- threshold_reason: import('convex/values').VAny<any, "optional", string>;
154
- total_discount_amounts: import('convex/values').VUnion<any[] | null | undefined, [import('convex/values').VArray<any[], import('convex/values').VAny<any, "required", string>, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
155
- total_excluding_tax: import('convex/values').VUnion<number | null | undefined, [import('convex/values').VFloat64<number, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
156
- total_pretax_credit_amounts: import('convex/values').VUnion<any[] | null | undefined, [import('convex/values').VArray<any[], import('convex/values').VAny<any, "required", string>, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
157
- total_taxes: import('convex/values').VUnion<any[] | null | undefined, [import('convex/values').VArray<any[], import('convex/values').VAny<any, "required", string>, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
158
- webhooks_delivered_at: import('convex/values').VUnion<number | null | undefined, [import('convex/values').VFloat64<number, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
159
- };
160
- export declare const InvoiceObject: import('convex/values').VObject<{
161
- number?: string | null | undefined;
162
- description?: string | null | undefined;
163
- metadata?: Record<string, string | number | null> | null | undefined;
164
- statement_descriptor?: string | null | undefined;
165
- application?: string | null | undefined;
166
- on_behalf_of?: string | null | undefined;
167
- receipt_number?: string | null | undefined;
168
- automatic_tax?: any;
169
- customer_email?: string | null | undefined;
170
- custom_fields?: any[] | null | undefined;
171
- shipping_cost?: any;
172
- lines?: any;
173
- effective_at?: number | null | undefined;
174
- subtotal_excluding_tax?: number | null | undefined;
175
- total_excluding_tax?: number | null | undefined;
176
- total_taxes?: any[] | null | undefined;
177
- default_source?: string | null | undefined;
178
- test_clock?: string | null | undefined;
179
- auto_advance?: boolean | undefined;
180
- confirmation_secret?: any;
181
- hosted_invoice_url?: string | null | undefined;
182
- parent?: any;
183
- account_country?: string | null | undefined;
184
- account_name?: string | null | undefined;
185
- account_tax_ids?: string[] | null | undefined;
186
- automatically_finalizes_at?: number | null | undefined;
187
- customer_address?: any;
188
- customer_name?: string | null | undefined;
189
- customer_phone?: string | null | undefined;
190
- customer_shipping?: any;
191
- customer_tax_ids?: any[] | null | undefined;
192
- default_payment_method?: string | null | undefined;
193
- due_date?: number | null | undefined;
194
- ending_balance?: number | null | undefined;
195
- footer?: string | null | undefined;
196
- from_invoice?: any;
197
- invoice_pdf?: string | null | undefined;
198
- issuer?: any;
199
- last_finalization_error?: any;
200
- latest_revision?: string | null | undefined;
201
- next_payment_attempt?: number | null | undefined;
202
- payment_settings?: any;
203
- payments?: any;
204
- rendering?: any;
205
- shipping_details?: any;
206
- status_transitions?: any;
207
- threshold_reason?: any;
208
- total_discount_amounts?: any[] | null | undefined;
209
- total_pretax_credit_amounts?: any[] | null | undefined;
210
- webhooks_delivered_at?: number | null | undefined;
211
- object: string;
212
- id: string;
213
- currency: string;
214
- customer: string;
215
- status: "paid" | "open" | "void" | "draft" | "uncollectible";
216
- created: number;
217
- livemode: boolean;
218
- discounts: string[];
219
- subtotal: number;
220
- total: number;
221
- amount_shipping: number;
222
- collection_method: "charge_automatically" | "send_invoice";
223
- period_end: number;
224
- period_start: number;
225
- amount_due: number;
226
- amount_overpaid: number;
227
- amount_paid: number;
228
- amount_remaining: number;
229
- attempt_count: number;
230
- attempted: boolean;
231
- billing_reason: "subscription" | "automatic_pending_invoice_item_invoice" | "manual" | "quote_accept" | "subscription_create" | "subscription_cycle" | "subscription_threshold" | "subscription_update" | "upcoming" | null;
232
- customer_tax_exempt: "reverse" | "none" | "exempt" | null;
233
- default_tax_rates: any[];
234
- post_payment_credit_notes_amount: number;
235
- pre_payment_credit_notes_amount: number;
236
- starting_balance: number;
237
- }, {
238
- id: import('convex/values').VString<string, "required">;
239
- auto_advance: import('convex/values').VBoolean<boolean | undefined, "optional">;
240
- automatic_tax: import('convex/values').VAny<any, "optional", string>;
241
- collection_method: import('convex/values').VUnion<"charge_automatically" | "send_invoice", [import('convex/values').VLiteral<"charge_automatically", "required">, import('convex/values').VLiteral<"send_invoice", "required">], "required", never>;
242
- confirmation_secret: import('convex/values').VAny<any, "optional", string>;
243
- currency: import('convex/values').VString<string, "required">;
244
- customer: import('convex/values').VString<string, "required">;
245
- description: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
246
- hosted_invoice_url: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
247
- lines: import('convex/values').VAny<any, "optional", string>;
248
- 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>;
249
- parent: import('convex/values').VAny<any, "optional", string>;
250
- period_end: import('convex/values').VFloat64<number, "required">;
251
- period_start: import('convex/values').VFloat64<number, "required">;
252
- status: import('convex/values').VUnion<"paid" | "open" | "void" | "draft" | "uncollectible", [import('convex/values').VLiteral<"draft", "required">, import('convex/values').VLiteral<"open", "required">, import('convex/values').VLiteral<"paid", "required">, import('convex/values').VLiteral<"uncollectible", "required">, import('convex/values').VLiteral<"void", "required">], "required", never>;
253
- total: import('convex/values').VFloat64<number, "required">;
254
- object: import('convex/values').VString<string, "required">;
255
- account_country: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
256
- account_name: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
257
- account_tax_ids: import('convex/values').VUnion<string[] | null | undefined, [import('convex/values').VArray<string[], import('convex/values').VString<string, "required">, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
258
- amount_due: import('convex/values').VFloat64<number, "required">;
259
- amount_overpaid: import('convex/values').VFloat64<number, "required">;
260
- amount_paid: import('convex/values').VFloat64<number, "required">;
261
- amount_remaining: import('convex/values').VFloat64<number, "required">;
262
- amount_shipping: import('convex/values').VFloat64<number, "required">;
263
- application: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
264
- attempt_count: import('convex/values').VFloat64<number, "required">;
265
- attempted: import('convex/values').VBoolean<boolean, "required">;
266
- automatically_finalizes_at: import('convex/values').VUnion<number | null | undefined, [import('convex/values').VFloat64<number, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
267
- billing_reason: import('convex/values').VUnion<"subscription" | "automatic_pending_invoice_item_invoice" | "manual" | "quote_accept" | "subscription_create" | "subscription_cycle" | "subscription_threshold" | "subscription_update" | "upcoming" | null, [import('convex/values').VLiteral<"automatic_pending_invoice_item_invoice", "required">, import('convex/values').VLiteral<"manual", "required">, import('convex/values').VLiteral<"quote_accept", "required">, import('convex/values').VLiteral<"subscription", "required">, import('convex/values').VLiteral<"subscription_create", "required">, import('convex/values').VLiteral<"subscription_cycle", "required">, import('convex/values').VLiteral<"subscription_threshold", "required">, import('convex/values').VLiteral<"subscription_update", "required">, import('convex/values').VLiteral<"upcoming", "required">, import('convex/values').VNull<null, "required">], "required", never>;
268
- created: import('convex/values').VFloat64<number, "required">;
269
- custom_fields: import('convex/values').VUnion<any[] | null | undefined, [import('convex/values').VArray<any[], import('convex/values').VAny<any, "required", string>, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
270
- customer_address: import('convex/values').VAny<any, "optional", string>;
271
- customer_email: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
272
- customer_name: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
273
- customer_phone: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
274
- customer_shipping: import('convex/values').VAny<any, "optional", string>;
275
- customer_tax_exempt: import('convex/values').VUnion<"reverse" | "none" | "exempt" | null, [import('convex/values').VLiteral<"exempt", "required">, import('convex/values').VLiteral<"none", "required">, import('convex/values').VLiteral<"reverse", "required">, import('convex/values').VNull<null, "required">], "required", never>;
276
- customer_tax_ids: import('convex/values').VUnion<any[] | null | undefined, [import('convex/values').VArray<any[], import('convex/values').VAny<any, "required", string>, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
277
- default_payment_method: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
278
- default_source: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
279
- default_tax_rates: import('convex/values').VArray<any[], import('convex/values').VAny<any, "required", string>, "required">;
280
- discounts: import('convex/values').VArray<string[], import('convex/values').VString<string, "required">, "required">;
281
- due_date: import('convex/values').VUnion<number | null | undefined, [import('convex/values').VFloat64<number, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
282
- effective_at: import('convex/values').VUnion<number | null | undefined, [import('convex/values').VFloat64<number, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
283
- ending_balance: import('convex/values').VUnion<number | null | undefined, [import('convex/values').VFloat64<number, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
284
- footer: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
285
- from_invoice: import('convex/values').VAny<any, "optional", string>;
286
- invoice_pdf: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
287
- issuer: import('convex/values').VAny<any, "optional", string>;
288
- last_finalization_error: import('convex/values').VAny<any, "optional", string>;
289
- latest_revision: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
290
- livemode: import('convex/values').VBoolean<boolean, "required">;
291
- next_payment_attempt: import('convex/values').VUnion<number | null | undefined, [import('convex/values').VFloat64<number, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
292
- number: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
293
- on_behalf_of: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
294
- payment_settings: import('convex/values').VAny<any, "optional", string>;
295
- payments: import('convex/values').VAny<any, "optional", string>;
296
- post_payment_credit_notes_amount: import('convex/values').VFloat64<number, "required">;
297
- pre_payment_credit_notes_amount: import('convex/values').VFloat64<number, "required">;
298
- receipt_number: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
299
- rendering: import('convex/values').VAny<any, "optional", string>;
300
- shipping_cost: import('convex/values').VAny<any, "optional", string>;
301
- shipping_details: import('convex/values').VAny<any, "optional", string>;
302
- starting_balance: import('convex/values').VFloat64<number, "required">;
303
- statement_descriptor: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
304
- status_transitions: import('convex/values').VAny<any, "optional", string>;
305
- subtotal: import('convex/values').VFloat64<number, "required">;
306
- subtotal_excluding_tax: import('convex/values').VUnion<number | null | undefined, [import('convex/values').VFloat64<number, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
307
- test_clock: import('convex/values').VUnion<string | null | undefined, [import('convex/values').VString<string, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
308
- threshold_reason: import('convex/values').VAny<any, "optional", string>;
309
- total_discount_amounts: import('convex/values').VUnion<any[] | null | undefined, [import('convex/values').VArray<any[], import('convex/values').VAny<any, "required", string>, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
310
- total_excluding_tax: import('convex/values').VUnion<number | null | undefined, [import('convex/values').VFloat64<number, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
311
- total_pretax_credit_amounts: import('convex/values').VUnion<any[] | null | undefined, [import('convex/values').VArray<any[], import('convex/values').VAny<any, "required", string>, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
312
- total_taxes: import('convex/values').VUnion<any[] | null | undefined, [import('convex/values').VArray<any[], import('convex/values').VAny<any, "required", string>, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
313
- webhooks_delivered_at: import('convex/values').VUnion<number | null | undefined, [import('convex/values').VFloat64<number, "required">, import('convex/values').VNull<null, "required">], "optional", never>;
314
- }, "required", "number" | "object" | "id" | "currency" | "customer" | "description" | "metadata" | "statement_descriptor" | "status" | "application" | "created" | "livemode" | "on_behalf_of" | "receipt_number" | `metadata.${string}` | "automatic_tax" | "customer_email" | "custom_fields" | "discounts" | "shipping_cost" | `automatic_tax.${string}` | `shipping_cost.${string}` | "lines" | "subtotal" | "total" | "amount_shipping" | "effective_at" | "subtotal_excluding_tax" | "total_excluding_tax" | "total_taxes" | `lines.${string}` | "default_source" | "test_clock" | "auto_advance" | "collection_method" | "confirmation_secret" | "hosted_invoice_url" | "parent" | "period_end" | "period_start" | "account_country" | "account_name" | "account_tax_ids" | "amount_due" | "amount_overpaid" | "amount_paid" | "amount_remaining" | "attempt_count" | "attempted" | "automatically_finalizes_at" | "billing_reason" | "customer_address" | "customer_name" | "customer_phone" | "customer_shipping" | "customer_tax_exempt" | "customer_tax_ids" | "default_payment_method" | "default_tax_rates" | "due_date" | "ending_balance" | "footer" | "from_invoice" | "invoice_pdf" | "issuer" | "last_finalization_error" | "latest_revision" | "next_payment_attempt" | "payment_settings" | "payments" | "post_payment_credit_notes_amount" | "pre_payment_credit_notes_amount" | "rendering" | "shipping_details" | "starting_balance" | "status_transitions" | "threshold_reason" | "total_discount_amounts" | "total_pretax_credit_amounts" | "webhooks_delivered_at" | `confirmation_secret.${string}` | `parent.${string}` | `customer_address.${string}` | `customer_shipping.${string}` | `from_invoice.${string}` | `issuer.${string}` | `last_finalization_error.${string}` | `payment_settings.${string}` | `payments.${string}` | `rendering.${string}` | `shipping_details.${string}` | `status_transitions.${string}` | `threshold_reason.${string}`>;