@fantastic.dev/better-stripe 0.37.1 → 0.39.0

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 (210) hide show
  1. package/CHANGELOG.md +53 -0
  2. package/MIGRATION.md +9 -0
  3. package/README.md +25 -1
  4. package/dist/client/connect/payoutAdoptionTestHelpers.d.ts +506 -2
  5. package/dist/client/connect/payoutAdoptionTestHelpers.d.ts.map +1 -1
  6. package/dist/client/connect/payoutExecutionTestHelpers.d.ts +253 -1
  7. package/dist/client/connect/payoutExecutionTestHelpers.d.ts.map +1 -1
  8. package/dist/client/connect/payoutLargeAdoptionTestHelpers.d.ts +506 -2
  9. package/dist/client/connect/payoutLargeAdoptionTestHelpers.d.ts.map +1 -1
  10. package/dist/client/connect/payoutSyncTestHelpers.d.ts +253 -1
  11. package/dist/client/connect/payoutSyncTestHelpers.d.ts.map +1 -1
  12. package/dist/client/core/accountCapabilities.d.ts +20 -0
  13. package/dist/client/core/accountCapabilities.d.ts.map +1 -0
  14. package/dist/client/core/accountCapabilities.js +7 -0
  15. package/dist/client/core/accountCapabilities.js.map +1 -0
  16. package/dist/client/core/accountConfigurations.d.ts +46 -0
  17. package/dist/client/core/accountConfigurations.d.ts.map +1 -0
  18. package/dist/client/core/accountConfigurations.js +99 -0
  19. package/dist/client/core/accountConfigurations.js.map +1 -0
  20. package/dist/client/core/accountLinks.d.ts +29 -2
  21. package/dist/client/core/accountLinks.d.ts.map +1 -1
  22. package/dist/client/core/accountLinks.js +56 -4
  23. package/dist/client/core/accountLinks.js.map +1 -1
  24. package/dist/client/core/accounts.d.ts +2 -36
  25. package/dist/client/core/accounts.d.ts.map +1 -1
  26. package/dist/client/core/accounts.js +3 -73
  27. package/dist/client/core/accounts.js.map +1 -1
  28. package/dist/client/core/billingPortalClient.d.ts +14 -0
  29. package/dist/client/core/billingPortalClient.d.ts.map +1 -0
  30. package/dist/client/core/billingPortalClient.js +18 -0
  31. package/dist/client/core/billingPortalClient.js.map +1 -0
  32. package/dist/client/costRecovery-invoices.d.ts +4 -4
  33. package/dist/client/costRecovery.d.ts +19 -1
  34. package/dist/client/costRecovery.d.ts.map +1 -1
  35. package/dist/client/costRecovery.js +4 -0
  36. package/dist/client/costRecovery.js.map +1 -1
  37. package/dist/client/financialOutcomes/adapters.d.ts +18 -0
  38. package/dist/client/financialOutcomes/adapters.d.ts.map +1 -0
  39. package/dist/client/financialOutcomes/adapters.js +60 -0
  40. package/dist/client/financialOutcomes/adapters.js.map +1 -0
  41. package/dist/client/financialOutcomes/contracts.d.ts +42 -0
  42. package/dist/client/financialOutcomes/contracts.d.ts.map +1 -0
  43. package/dist/client/financialOutcomes/contracts.js +39 -0
  44. package/dist/client/financialOutcomes/contracts.js.map +1 -0
  45. package/dist/client/financialOutcomes/errors.d.ts +6 -0
  46. package/dist/client/financialOutcomes/errors.d.ts.map +1 -0
  47. package/dist/client/financialOutcomes/errors.js +22 -0
  48. package/dist/client/financialOutcomes/errors.js.map +1 -0
  49. package/dist/client/financialOutcomes/index.d.ts +6 -0
  50. package/dist/client/financialOutcomes/index.d.ts.map +1 -0
  51. package/dist/client/financialOutcomes/index.js +4 -0
  52. package/dist/client/financialOutcomes/index.js.map +1 -0
  53. package/dist/client/financialOutcomes/retry.d.ts +24 -0
  54. package/dist/client/financialOutcomes/retry.d.ts.map +1 -0
  55. package/dist/client/financialOutcomes/retry.js +31 -0
  56. package/dist/client/financialOutcomes/retry.js.map +1 -0
  57. package/dist/client/index.d.ts +21 -111
  58. package/dist/client/index.d.ts.map +1 -1
  59. package/dist/client/index.js +11 -85
  60. package/dist/client/index.js.map +1 -1
  61. package/dist/client/processingCostDeficit/index.d.ts +27 -0
  62. package/dist/client/processingCostDeficit/index.d.ts.map +1 -0
  63. package/dist/client/processingCostDeficit/index.js +54 -0
  64. package/dist/client/processingCostDeficit/index.js.map +1 -0
  65. package/dist/client/products/catalog.d.ts +26 -0
  66. package/dist/client/products/catalog.d.ts.map +1 -0
  67. package/dist/client/products/catalog.js +140 -0
  68. package/dist/client/products/catalog.js.map +1 -0
  69. package/dist/client/products/catalogClient.d.ts +109 -0
  70. package/dist/client/products/catalogClient.d.ts.map +1 -0
  71. package/dist/client/products/catalogClient.js +84 -0
  72. package/dist/client/products/catalogClient.js.map +1 -0
  73. package/dist/client/products/prices.d.ts +1 -0
  74. package/dist/client/products/prices.d.ts.map +1 -1
  75. package/dist/client/products/prices.js +1 -0
  76. package/dist/client/products/prices.js.map +1 -1
  77. package/dist/client/publicTypes.d.ts +2 -0
  78. package/dist/client/publicTypes.d.ts.map +1 -1
  79. package/dist/component/_generated/api.d.ts +284 -0
  80. package/dist/component/_generated/api.d.ts.map +1 -0
  81. package/dist/component/_generated/api.js +31 -0
  82. package/dist/component/_generated/api.js.map +1 -0
  83. package/dist/component/_generated/component.d.ts +535 -0
  84. package/dist/component/_generated/component.d.ts.map +1 -1
  85. package/dist/component/balanceFunding/helpers.d.ts +86 -0
  86. package/dist/component/balanceFunding/helpers.d.ts.map +1 -0
  87. package/dist/component/balanceFunding/helpers.js +68 -0
  88. package/dist/component/balanceFunding/helpers.js.map +1 -0
  89. package/dist/component/balanceFunding/importHandler.d.ts +13 -0
  90. package/dist/component/balanceFunding/importHandler.d.ts.map +1 -0
  91. package/dist/component/balanceFunding/importHandler.js +130 -0
  92. package/dist/component/balanceFunding/importHandler.js.map +1 -0
  93. package/dist/component/balanceFunding/lifecycleHandlers.d.ts +85 -0
  94. package/dist/component/balanceFunding/lifecycleHandlers.d.ts.map +1 -0
  95. package/dist/component/balanceFunding/lifecycleHandlers.js +60 -0
  96. package/dist/component/balanceFunding/lifecycleHandlers.js.map +1 -0
  97. package/dist/component/balanceFunding/mutationValidators.d.ts +238 -0
  98. package/dist/component/balanceFunding/mutationValidators.d.ts.map +1 -0
  99. package/dist/component/balanceFunding/mutationValidators.js +55 -0
  100. package/dist/component/balanceFunding/mutationValidators.js.map +1 -0
  101. package/dist/component/balanceFunding/mutations.d.ts +335 -0
  102. package/dist/component/balanceFunding/mutations.d.ts.map +1 -0
  103. package/dist/component/balanceFunding/mutations.js +106 -0
  104. package/dist/component/balanceFunding/mutations.js.map +1 -0
  105. package/dist/component/balanceFunding/preparationHandlers.d.ts +55 -0
  106. package/dist/component/balanceFunding/preparationHandlers.d.ts.map +1 -0
  107. package/dist/component/balanceFunding/preparationHandlers.js +165 -0
  108. package/dist/component/balanceFunding/preparationHandlers.js.map +1 -0
  109. package/dist/component/balanceFunding/queries.d.ts +151 -0
  110. package/dist/component/balanceFunding/queries.d.ts.map +1 -0
  111. package/dist/component/balanceFunding/queries.js +180 -0
  112. package/dist/component/balanceFunding/queries.js.map +1 -0
  113. package/dist/component/balanceFunding/schema.d.ts +748 -0
  114. package/dist/component/balanceFunding/schema.d.ts.map +1 -0
  115. package/dist/component/balanceFunding/schema.js +124 -0
  116. package/dist/component/balanceFunding/schema.js.map +1 -0
  117. package/dist/component/balanceFunding/stateHandlers.d.ts +58 -0
  118. package/dist/component/balanceFunding/stateHandlers.d.ts.map +1 -0
  119. package/dist/component/balanceFunding/stateHandlers.js +160 -0
  120. package/dist/component/balanceFunding/stateHandlers.js.map +1 -0
  121. package/dist/component/convex.config.d.ts.map +1 -1
  122. package/dist/component/convex.config.js +2 -0
  123. package/dist/component/convex.config.js.map +1 -1
  124. package/dist/component/costRecovery/completion.d.ts +1 -0
  125. package/dist/component/costRecovery/completion.d.ts.map +1 -1
  126. package/dist/component/costRecovery/helpers.d.ts +1 -0
  127. package/dist/component/costRecovery/helpers.d.ts.map +1 -1
  128. package/dist/component/costRecovery/mutations.d.ts +5 -0
  129. package/dist/component/costRecovery/mutations.d.ts.map +1 -1
  130. package/dist/component/costRecovery/preparation.d.ts +50 -0
  131. package/dist/component/costRecovery/preparation.d.ts.map +1 -0
  132. package/dist/component/costRecovery/preparation.js +108 -0
  133. package/dist/component/costRecovery/preparation.js.map +1 -0
  134. package/dist/component/costRecovery/queries.d.ts +1 -0
  135. package/dist/component/costRecovery/queries.d.ts.map +1 -1
  136. package/dist/component/costRecovery/reservations.d.ts +2 -0
  137. package/dist/component/costRecovery/reservations.d.ts.map +1 -1
  138. package/dist/component/costRecovery/schema.d.ts +7 -2
  139. package/dist/component/costRecovery/schema.d.ts.map +1 -1
  140. package/dist/component/costRecovery/schema.js +1 -0
  141. package/dist/component/costRecovery/schema.js.map +1 -1
  142. package/dist/component/durableExecution/runtime.d.ts +3 -0
  143. package/dist/component/durableExecution/runtime.d.ts.map +1 -0
  144. package/dist/component/durableExecution/runtime.js +12 -0
  145. package/dist/component/durableExecution/runtime.js.map +1 -0
  146. package/dist/component/earnings/triggers.d.ts +242 -2
  147. package/dist/component/earnings/triggers.d.ts.map +1 -1
  148. package/dist/component/products/mutations.d.ts +9 -0
  149. package/dist/component/products/mutations.d.ts.map +1 -1
  150. package/dist/component/products/mutations.js +31 -2
  151. package/dist/component/products/mutations.js.map +1 -1
  152. package/dist/component/schema.d.ts +253 -1
  153. package/dist/component/schema.js +4 -0
  154. package/dist/component/schema.js.map +1 -1
  155. package/docs/read-contracts.md +33 -0
  156. package/package.json +4 -2
  157. package/src/client/core/account-session-client.test.ts +74 -0
  158. package/src/client/core/accountCapabilities.ts +22 -0
  159. package/src/client/core/accountConfigurations.test.ts +183 -0
  160. package/src/client/core/accountConfigurations.ts +161 -0
  161. package/src/client/core/accountLinks.test.ts +6 -2
  162. package/src/client/core/accountLinks.ts +122 -5
  163. package/src/client/core/accounts.ts +8 -115
  164. package/src/client/core/billingPortal.test.ts +247 -0
  165. package/src/client/core/billingPortalClient.ts +35 -0
  166. package/src/client/costRecovery.test.ts +34 -0
  167. package/src/client/costRecovery.ts +21 -0
  168. package/src/client/financialOutcomes/adapters.ts +88 -0
  169. package/src/client/financialOutcomes/contracts.ts +43 -0
  170. package/src/client/financialOutcomes/errors.ts +29 -0
  171. package/src/client/financialOutcomes/index.ts +5 -0
  172. package/src/client/financialOutcomes/outcomes.test.ts +254 -0
  173. package/src/client/financialOutcomes/retry.ts +52 -0
  174. package/src/client/index.test.ts +0 -64
  175. package/src/client/index.ts +35 -185
  176. package/src/client/processingCostDeficit/README.md +35 -0
  177. package/src/client/processingCostDeficit/calculator.test.ts +176 -0
  178. package/src/client/processingCostDeficit/index.ts +91 -0
  179. package/src/client/products/catalog.test.ts +389 -0
  180. package/src/client/products/catalog.ts +225 -0
  181. package/src/client/products/catalogClient.ts +172 -0
  182. package/src/client/products/prices.test.ts +24 -0
  183. package/src/client/products/prices.ts +2 -0
  184. package/src/client/publicTypes.ts +13 -0
  185. package/src/component/_generated/api.ts +27 -1
  186. package/src/component/_generated/component.ts +707 -0
  187. package/src/component/balanceFunding/failure.test.ts +116 -0
  188. package/src/component/balanceFunding/helpers.ts +102 -0
  189. package/src/component/balanceFunding/import.test.ts +221 -0
  190. package/src/component/balanceFunding/importHandler.ts +146 -0
  191. package/src/component/balanceFunding/lifecycleHandlers.ts +90 -0
  192. package/src/component/balanceFunding/lookup.test.ts +113 -0
  193. package/src/component/balanceFunding/mutationValidators.ts +63 -0
  194. package/src/component/balanceFunding/mutations.ts +136 -0
  195. package/src/component/balanceFunding/preparation.test.ts +146 -0
  196. package/src/component/balanceFunding/preparationHandlers.ts +204 -0
  197. package/src/component/balanceFunding/queries.ts +221 -0
  198. package/src/component/balanceFunding/requestLookup.test.ts +160 -0
  199. package/src/component/balanceFunding/schema.ts +169 -0
  200. package/src/component/balanceFunding/state.test.ts +352 -0
  201. package/src/component/balanceFunding/stateHandlers.ts +198 -0
  202. package/src/component/balanceFunding/validation.test.ts +100 -0
  203. package/src/component/convex.config.ts +2 -0
  204. package/src/component/costRecovery/preparation.test.ts +355 -0
  205. package/src/component/costRecovery/preparation.ts +124 -0
  206. package/src/component/costRecovery/schema.ts +1 -0
  207. package/src/component/durableExecution/composition.test.ts +568 -0
  208. package/src/component/durableExecution/runtime.ts +12 -0
  209. package/src/component/products/mutations.ts +39 -2
  210. package/src/component/schema.ts +8 -0
@@ -0,0 +1,109 @@
1
+ import type Stripe from "stripe";
2
+ import { BillingPortalClient } from "../core/billingPortalClient.js";
3
+ import type { RunCtx } from "../helpers.js";
4
+ import type { StripeComponentProduct, StripeComponentPrice } from "../types.js";
5
+ import * as productsImpl from "./products.js";
6
+ import * as pricesImpl from "./prices.js";
7
+ import * as catalog from "./catalog.js";
8
+ /** Catalog APIs inherited by BetterStripe. Host authorization remains required. */
9
+ export declare abstract class CatalogClient extends BillingPortalClient {
10
+ abstract get statementDescriptorSuffix(): string | undefined;
11
+ getStripePriceByLookupKey(_ctx: RunCtx, opts: {
12
+ lookupKey: string;
13
+ }): Promise<Stripe.Price | null>;
14
+ adoptProduct(ctx: RunCtx, opts: catalog.AdoptProductOptions): Promise<{
15
+ productId: any;
16
+ stripeProductId: string;
17
+ }>;
18
+ ensurePrice(ctx: RunCtx, opts: catalog.EnsurePriceOptions): Promise<{
19
+ stripePriceId: string;
20
+ }>;
21
+ createProduct(ctx: RunCtx, opts: productsImpl.CreateProductOptions): Promise<{
22
+ productId: any;
23
+ stripeProductId: string;
24
+ }>;
25
+ updateProduct(ctx: RunCtx, opts: {
26
+ stripeProductId: string;
27
+ name?: string;
28
+ description?: string;
29
+ active?: boolean;
30
+ defaultPrice?: string | null;
31
+ metadata?: Record<string, string>;
32
+ }): Promise<{
33
+ success: boolean;
34
+ }>;
35
+ deactivateProduct(ctx: RunCtx, opts: {
36
+ stripeProductId: string;
37
+ }): Promise<{
38
+ success: boolean;
39
+ }>;
40
+ getProduct(ctx: RunCtx, opts: {
41
+ productId: string;
42
+ }): Promise<StripeComponentProduct | null>;
43
+ getProductByStripeId(ctx: RunCtx, opts: {
44
+ stripeProductId: string;
45
+ }): Promise<StripeComponentProduct | null>;
46
+ listProducts(ctx: RunCtx, opts?: {
47
+ accountId?: string;
48
+ active?: boolean;
49
+ limit?: number;
50
+ }): Promise<StripeComponentProduct[]>;
51
+ upsertProduct(ctx: RunCtx, opts: {
52
+ stripeProductId: string;
53
+ accountId?: string;
54
+ name: string;
55
+ description?: string;
56
+ active: boolean;
57
+ metadata?: Record<string, unknown>;
58
+ }): Promise<null>;
59
+ listStripeProducts(ctx: RunCtx, opts?: {
60
+ active?: boolean;
61
+ limit?: number;
62
+ }): Promise<Stripe.Product[]>;
63
+ deleteProduct(ctx: RunCtx, opts: {
64
+ stripeProductId: string;
65
+ }): Promise<Stripe.Response<Stripe.DeletedProduct>>;
66
+ createPrice(ctx: RunCtx, opts: pricesImpl.CreatePriceOptions): Promise<{
67
+ stripePriceId: string;
68
+ }>;
69
+ updatePrice(ctx: RunCtx, opts: {
70
+ stripePriceId: string;
71
+ active?: boolean;
72
+ nickname?: string;
73
+ metadata?: Record<string, string>;
74
+ }): Promise<{
75
+ success: boolean;
76
+ }>;
77
+ deactivatePrice(ctx: RunCtx, opts: {
78
+ stripePriceId: string;
79
+ }): Promise<{
80
+ success: boolean;
81
+ }>;
82
+ getPrice(ctx: RunCtx, opts: {
83
+ priceId: string;
84
+ }): Promise<StripeComponentPrice | null>;
85
+ getPriceByStripeId(ctx: RunCtx, opts: {
86
+ stripePriceId: string;
87
+ }): Promise<StripeComponentPrice | null>;
88
+ listPrices(ctx: RunCtx, opts?: {
89
+ productId?: string;
90
+ active?: boolean;
91
+ limit?: number;
92
+ }): Promise<StripeComponentPrice[]>;
93
+ listPricesByProduct(ctx: RunCtx, opts: {
94
+ stripeProductId: string;
95
+ }): Promise<StripeComponentPrice[]>;
96
+ upsertPrice(ctx: RunCtx, opts: Parameters<typeof pricesImpl.upsertPrice>[2]): Promise<null>;
97
+ listStripePrices(ctx: RunCtx, opts?: {
98
+ productId?: string;
99
+ active?: boolean;
100
+ limit?: number;
101
+ }): Promise<Stripe.Price[]>;
102
+ syncAllProducts(ctx: RunCtx): Promise<{
103
+ productsSynced: number;
104
+ pricesSynced: number;
105
+ errors: string[];
106
+ errorCount: number;
107
+ }>;
108
+ }
109
+ //# sourceMappingURL=catalogClient.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"catalogClient.d.ts","sourceRoot":"","sources":["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,MAAM,EACX,IAAI,CAAC,EAAE;QAAE,SAAS,CAAC,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,OAAO,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,GAC9D,OAAO,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC,CAEzB;IAEK,eAAe,CAAC,GAAG,EAAE,MAAM;;;;;OAEhC;CACF"}
@@ -0,0 +1,84 @@
1
+ import { BillingPortalClient } from "../core/billingPortalClient.js";
2
+ import * as productsImpl from "./products.js";
3
+ import * as pricesImpl from "./prices.js";
4
+ import * as catalog from "./catalog.js";
5
+ /** Catalog APIs inherited by BetterStripe. Host authorization remains required. */
6
+ export class CatalogClient extends BillingPortalClient {
7
+ async getStripePriceByLookupKey(_ctx, opts) {
8
+ return catalog.getStripePriceByLookupKey(this.stripe(), opts);
9
+ }
10
+ async adoptProduct(ctx, opts) {
11
+ return catalog.adoptProduct(this.stripe(), this.component, ctx, opts);
12
+ }
13
+ async ensurePrice(ctx, opts) {
14
+ return catalog.ensurePrice(this.stripe(), this.component, ctx, opts);
15
+ }
16
+ // PRODUCT METHODS
17
+ async createProduct(ctx, opts) {
18
+ return productsImpl.createProduct(this.stripe(), this.component, ctx, {
19
+ ...opts,
20
+ // Stamp the per-store descriptor at create so it covers the first invoice
21
+ // charge (BTS-67); resolves the store's suffix, else this default.
22
+ defaultStatementDescriptorSuffix: this.statementDescriptorSuffix,
23
+ });
24
+ }
25
+ async updateProduct(ctx, opts) {
26
+ return productsImpl.updateProduct(this.stripe(), this.component, ctx, {
27
+ ...opts,
28
+ defaultStatementDescriptorSuffix: this.statementDescriptorSuffix,
29
+ });
30
+ }
31
+ async deactivateProduct(ctx, opts) {
32
+ return productsImpl.deactivateProduct(this.stripe(), ctx, opts);
33
+ }
34
+ async getProduct(ctx, opts) {
35
+ return productsImpl.getProduct(this.component, ctx, opts);
36
+ }
37
+ async getProductByStripeId(ctx, opts) {
38
+ return productsImpl.getProductByStripeId(this.component, ctx, opts);
39
+ }
40
+ async listProducts(ctx, opts) {
41
+ return productsImpl.listProducts(this.component, ctx, opts);
42
+ }
43
+ async upsertProduct(ctx, opts) {
44
+ return productsImpl.upsertProduct(this.component, ctx, opts);
45
+ }
46
+ async listStripeProducts(ctx, opts) {
47
+ return productsImpl.listStripeProducts(this.stripe(), ctx, opts);
48
+ }
49
+ async deleteProduct(ctx, opts) {
50
+ return productsImpl.deleteProduct(this.stripe(), ctx, opts);
51
+ }
52
+ // PRICE METHODS
53
+ async createPrice(ctx, opts) {
54
+ return pricesImpl.createPrice(this.stripe(), this.component, ctx, opts);
55
+ }
56
+ async updatePrice(ctx, opts) {
57
+ return pricesImpl.updatePrice(this.stripe(), ctx, opts);
58
+ }
59
+ async deactivatePrice(ctx, opts) {
60
+ return pricesImpl.deactivatePrice(this.stripe(), ctx, opts);
61
+ }
62
+ async getPrice(ctx, opts) {
63
+ return pricesImpl.getPrice(this.component, ctx, opts);
64
+ }
65
+ async getPriceByStripeId(ctx, opts) {
66
+ return pricesImpl.getPriceByStripeId(this.component, ctx, opts);
67
+ }
68
+ async listPrices(ctx, opts) {
69
+ return pricesImpl.listPrices(this.component, ctx, opts);
70
+ }
71
+ async listPricesByProduct(ctx, opts) {
72
+ return pricesImpl.listPricesByProduct(this.component, ctx, opts);
73
+ }
74
+ async upsertPrice(ctx, opts) {
75
+ return pricesImpl.upsertPrice(this.component, ctx, opts);
76
+ }
77
+ async listStripePrices(ctx, opts) {
78
+ return pricesImpl.listStripePrices(this.stripe(), ctx, opts);
79
+ }
80
+ async syncAllProducts(ctx) {
81
+ return productsImpl.syncAllProducts(this.stripe(), this.component, ctx);
82
+ }
83
+ }
84
+ //# sourceMappingURL=catalogClient.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"catalogClient.js","sourceRoot":"","sources":["../../../src/client/products/catalogClient.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AAGrE,OAAO,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,CAAC,CAAC;IAC/D,CAAC;IAED,KAAK,CAAC,eAAe,CAAC,GAAW;QAC/B,OAAO,YAAY,CAAC,eAAe,CAAC,IAAI,CAAC,MAAM,EAAE,EAAE,IAAI,CAAC,SAAS,EAAE,GAAG,CAAC,CAAC;IAC1E,CAAC;CACF"}
@@ -8,6 +8,7 @@ export type CreatePriceOptions = {
8
8
  type: "one_time" | "recurring";
9
9
  interval?: "day" | "week" | "month" | "year";
10
10
  intervalCount?: number;
11
+ lookupKey?: string;
11
12
  nickname?: string;
12
13
  metadata?: Record<string, string>;
13
14
  idempotencyKey?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"prices.d.ts","sourceRoot":"","sources":["../../../src/client/products/prices.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAGjC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAGvD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AAOxD,MAAM,MAAM,kBAAkB,GAAG;IAC/B,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,UAAU,GAAG,WAAW,CAAC;IAC/B,QAAQ,CAAC,EAAE,KAAK,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,CAAC;IAC7C,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAClC,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB,CAAC;AAEF,wBAAsB,WAAW,CAC/B,MAAM,EAAE,MAAM,EACd,SAAS,EAAE,SAAS,EACpB,GAAG,EAAE,MAAM,EACX,IAAI,EAAE,kBAAkB;;GAuDzB;AAED,wBAAsB,WAAW,CAC/B,MAAM,EA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9D,OAAO,CAAC,oBAAoB,EAAE,CAAC,CAKjC;AAED,wBAAsB,mBAAmB,CACvC,SAAS,EAAE,SAAS,EACpB,GAAG,EAAE,MAAM,EACX,IAAI,EAAE;IAAE,eAAe,EAAE,MAAM,CAAA;CAAE,GAChC,OAAO,CAAC,oBAAoB,EAAE,CAAC,CAKjC;AAED,wBAAsB,WAAW,CAC/B,SAAS,EAAE,SAAS,EACpB,GAAG,EAAE,MAAM,EACX,IAAI,EAAE;IACJ,aAAa,EAAE,MAAM,CAAC;IACtB,SAAS,EAAE,MAAM,CAAC;IAClB,eAAe,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,OAAO,CAAC;IAChB,IAAI,EAAE,UAAU,GAAG,WAAW,CAAC;IAC/B,QAAQ,CAAC,EAAE,KAAK,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,CAAC;IAC7C,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACpC,iBAQF;AAED,wBAAsB,gBAAgB,CACpC,MAAM,EAAE,MAAM,EACd,IAAI,EAAE,MAAM,EACZ,IAAI,CAAC,EAAE;IAAE,SAAS,CAAC,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,OAAO,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,2BAkBhE"}
@@ -12,6 +12,7 @@ export async function createPrice(stripe, component, ctx, opts) {
12
12
  }
13
13
  const priceParams = {
14
14
  product: opts.stripeProductId,
15
+ ...(opts.lookupKey !== undefined ? { lookup_key: opts.lookupKey } : {}),
15
16
  unit_amount: opts.unitAmount,
16
17
  currency: opts.currency ?? "usd",
17
18
  nickname: opts.nickname ?? undefined,
@@ -1 +1 @@
1
- {"version":3,"file":"prices.js","source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E,CAAC;IAElC,uEAAuE;IACvE,6EAA6E;IAC7E,wEAAwE;IACxE,IAAI,KAAK,EAAE,MAAM,KAAK,IAAI,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC;QAC3C,KAAK;QACL,OAAO,EAAE,IAAI,EAAE,SAAS;QACxB,MAAM,EAAE,IAAI,EAAE,MAAM;KACK,CAAC,EAAE,CAAC;QAC7B,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QACnB,IAAI,MAAM,CAAC,MAAM,IAAI,KAAK;YAAE,MAAM;IACpC,CAAC;IAED,OAAO,MAAM,CAAC;AAChB,CAAC"}
@@ -8,4 +8,6 @@ export type { RefundCommandEvidence, RefundCommandEvidenceOptions, } from "./con
8
8
  export type { FinancialTransferObservation, FinancialTransferBatch, FinancialTransferReadState, FinancialTransferResult, FinancialTransferPage, FinancialTransferBatchPage, FinancialTransferReference, FinancialTransferBatchResult, FinancialTransferReferencePage, } from "./transferObservations.js";
9
9
  export type { RefundCommandNormalizationOptions, RefundCommandNormalizationResult, } from "./connect/refundCommandNormalization.js";
10
10
  export type { OperationEvidenceHeader, OperationEvidencePayload, OperationEvidenceHeaderResult, OperationEvidencePayloadResult, OperationEvidenceCaptureResult, OperationEvidencePage, } from "./operationEvidence.js";
11
+ export type { ProcessingCostContext, ProcessingCostOptions, ProcessingCostTransaction, ProcessingCostRecord, ProcessingCostNotReadyReason, } from "./settlement/processingCosts.js";
12
+ export type { BalanceFundingCapability, BalanceFundingPreparation, PrepareBalanceFundingOptions, SetBalanceFundingOptions, } from "./billing/balanceFunding.js";
11
13
  //# sourceMappingURL=publicTypes.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"publicTypes.d.ts","sourceRoot":"","sources":["../../src/client/publicTypes.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACtE,YAAY,EACV,mBAAmB,EACnB,WAAW,EACX,OAAO,EACP,iBAAiB,EACjB,oBAAoB,GACrB,MAAM,YAAY,CAAC;AACpB,YAAY,EACV,qBAAqB,EACrB,YAAY,EACZ,UAAU,EACV,iBAAiB,EACjB,iBAAiB,EACjB,sBAAsB,EACtB,8BAA8B,EAC9B,sBAAsB,EACtB,sBAAsB,EACtB,sBAAsB,EACtB,qBAAqB,EACrB,oBAAoB,EACpB,sBAAsB,EACtB,qBAAqB,EACrB,2BAA2B,EAC3B,kBAAkB,EAClB,kBAAkB,EAClB,mBAAmB,EACnB,eAAe,EACf,kBAAkB,EAClB,cAAc,EACd,YAAY,EACZ,WAAW,EACX,gBAAgB,GACjB,MAAM,YAAY,CAAC;AACpB,YAAY,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;AAE/E,YAAY,EACV,uBAAuB,EACvB,8BAA8B,EAC9B,wBAAwB,EACxB,sBAAsB,EACtB,iCAAiC,GAClC,MAAM,yBAAyB,CAAC;AAEjC,YAAY,EACV,0BAA0B,EAC1B,kBAAkB,EAClB,qBAAqB,EACrB,wBAAwB,EACxB,yBAAyB,GAC1B,MAAM,4BAA4B,CAAC;AAEpC,YAAY,EACV,qBAAqB,EACrB,4BAA4B,GAC7B,MAAM,oCAAoC,CAAC;AAC5C,YAAY,EACV,4BAA4B,EAC5B,sBAAsB,EACtB,0BAA0B,EAC1B,uBAAuB,EACvB,qBAAqB,EACrB,0BAA0B,EAC1B,0BAA0B,EAC1B,4BAA4B,EAC5B,8BAA8B,GAC/B,MAAM,2BAA2B,CAAC;AAEnC,YAAY,EACV,iCAAiC,EACjC,gCAAgC,GACjC,MAAM,yCAAyC,CAAC;AACjD,YAAY,EACV,uBAAuB,EACvB,wBAAwB,EACxB,6BAA6B,EAC7B,8BAA8B,EAC9B,8BAA8B,EAC9B,qBAAqB,GACtB,MAAM,wBAAwB,CAAC"}
1
+ {"version":3,"file":"publicTypes.d.ts","sourceRoot":"","sources":["../../src/client/publicTypes.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,oBAAoB,EAAE,MAAM,2BAA2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rB,yBAAyB,EACzB,oBAAoB,EACpB,4BAA4B,GAC7B,MAAM,iCAAiC,CAAC;AACzC,YAAY,EACV,wBAAwB,EACxB,yBAAyB,EACzB,4BAA4B,EAC5B,wBAAwB,GACzB,MAAM,6BAA6B,CAAC"}
@@ -0,0 +1,284 @@
1
+ /**
2
+ * Generated `api` utility.
3
+ *
4
+ * THIS CODE IS AUTOMATICALLY GENERATED.
5
+ *
6
+ * To regenerate, run `npx convex dev`.
7
+ * @module
8
+ */
9
+ import type * as accountClosure_helpers from "../accountClosure/helpers.js";
10
+ import type * as accountClosure_mutations from "../accountClosure/mutations.js";
11
+ import type * as accountClosure_queries from "../accountClosure/queries.js";
12
+ import type * as affiliateEarnings_mutations from "../affiliateEarnings/mutations.js";
13
+ import type * as affiliatePayouts_mutations from "../affiliatePayouts/mutations.js";
14
+ import type * as affiliatePayouts_queries from "../affiliatePayouts/queries.js";
15
+ import type * as affiliatePayouts_recipientGuard from "../affiliatePayouts/recipientGuard.js";
16
+ import type * as affiliateRecovery_accounting from "../affiliateRecovery/accounting.js";
17
+ import type * as affiliateRecovery_mutations from "../affiliateRecovery/mutations.js";
18
+ import type * as affiliateRecovery_queries from "../affiliateRecovery/queries.js";
19
+ import type * as balanceFunding_helpers from "../balanceFunding/helpers.js";
20
+ import type * as balanceFunding_importHandler from "../balanceFunding/importHandler.js";
21
+ import type * as balanceFunding_lifecycleHandlers from "../balanceFunding/lifecycleHandlers.js";
22
+ import type * as balanceFunding_mutationValidators from "../balanceFunding/mutationValidators.js";
23
+ import type * as balanceFunding_mutations from "../balanceFunding/mutations.js";
24
+ import type * as balanceFunding_preparationHandlers from "../balanceFunding/preparationHandlers.js";
25
+ import type * as balanceFunding_queries from "../balanceFunding/queries.js";
26
+ import type * as balanceFunding_stateHandlers from "../balanceFunding/stateHandlers.js";
27
+ import type * as billing_mutations from "../billing/mutations.js";
28
+ import type * as billing_queries from "../billing/queries.js";
29
+ import type * as billing_validators from "../billing/validators.js";
30
+ import type * as connect_mutations from "../connect/mutations.js";
31
+ import type * as connect_payoutWrites from "../connect/payoutWrites.js";
32
+ import type * as connect_queries from "../connect/queries.js";
33
+ import type * as connect_reversalClaims from "../connect/reversalClaims.js";
34
+ import type * as connect_reversalDiagnostics from "../connect/reversalDiagnostics.js";
35
+ import type * as connect_reversalReceipts from "../connect/reversalReceipts.js";
36
+ import type * as connect_validators from "../connect/validators.js";
37
+ import type * as core_mutations from "../core/mutations.js";
38
+ import type * as core_personalAccountMapping from "../core/personalAccountMapping.js";
39
+ import type * as core_queries from "../core/queries.js";
40
+ import type * as core_resetSafety from "../core/resetSafety.js";
41
+ import type * as core_validators from "../core/validators.js";
42
+ import type * as costRecovery_claims from "../costRecovery/claims.js";
43
+ import type * as costRecovery_completion from "../costRecovery/completion.js";
44
+ import type * as costRecovery_helpers from "../costRecovery/helpers.js";
45
+ import type * as costRecovery_imports from "../costRecovery/imports.js";
46
+ import type * as costRecovery_mutations from "../costRecovery/mutations.js";
47
+ import type * as costRecovery_preparation from "../costRecovery/preparation.js";
48
+ import type * as costRecovery_queries from "../costRecovery/queries.js";
49
+ import type * as costRecovery_reservations from "../costRecovery/reservations.js";
50
+ import type * as durableExecution_runtime from "../durableExecution/runtime.js";
51
+ import type * as earnings_arithmetic from "../earnings/arithmetic.js";
52
+ import type * as earnings_legacyReads from "../earnings/legacyReads.js";
53
+ import type * as earnings_mutations from "../earnings/mutations.js";
54
+ import type * as earnings_pairedAdjustment from "../earnings/pairedAdjustment.js";
55
+ import type * as earnings_reads from "../earnings/reads.js";
56
+ import type * as earnings_triggers from "../earnings/triggers.js";
57
+ import type * as financialObservations_continuation from "../financialObservations/continuation.js";
58
+ import type * as financialObservations_generations from "../financialObservations/generations.js";
59
+ import type * as financialObservations_mutations from "../financialObservations/mutations.js";
60
+ import type * as financialObservations_queries from "../financialObservations/queries.js";
61
+ import type * as financialObservations_settlement from "../financialObservations/settlement.js";
62
+ import type * as financialObservations_settlementHelpers from "../financialObservations/settlementHelpers.js";
63
+ import type * as financialObservations_transferBatches from "../financialObservations/transferBatches.js";
64
+ import type * as financialObservations_transferContinuation from "../financialObservations/transferContinuation.js";
65
+ import type * as financialObservations_transferContinuationState from "../financialObservations/transferContinuationState.js";
66
+ import type * as financialObservations_transferContinuationSteps from "../financialObservations/transferContinuationSteps.js";
67
+ import type * as financialObservations_transferHelpers from "../financialObservations/transferHelpers.js";
68
+ import type * as financialObservations_transferReferenceSchema from "../financialObservations/transferReferenceSchema.js";
69
+ import type * as financialObservations_transferSchema from "../financialObservations/transferSchema.js";
70
+ import type * as financialObservations_transfers from "../financialObservations/transfers.js";
71
+ import type * as financialOwnership_helpers from "../financialOwnership/helpers.js";
72
+ import type * as financialOwnership_mutations from "../financialOwnership/mutations.js";
73
+ import type * as financialOwnership_queries from "../financialOwnership/queries.js";
74
+ import type * as lib_fees from "../lib/fees.js";
75
+ import type * as lib_idempotency from "../lib/idempotency.js";
76
+ import type * as lib_paymentSeller from "../lib/paymentSeller.js";
77
+ import type * as lib_reversals from "../lib/reversals.js";
78
+ import type * as lib_stripeFactory from "../lib/stripeFactory.js";
79
+ import type * as operationEvidence_canonical from "../operationEvidence/canonical.js";
80
+ import type * as operationEvidence_helpers from "../operationEvidence/helpers.js";
81
+ import type * as operationEvidence_maintenance from "../operationEvidence/maintenance.js";
82
+ import type * as operationEvidence_mutations from "../operationEvidence/mutations.js";
83
+ import type * as operationEvidence_queries from "../operationEvidence/queries.js";
84
+ import type * as payoutPolicy_adoption from "../payoutPolicy/adoption.js";
85
+ import type * as payoutPolicy_expiry from "../payoutPolicy/expiry.js";
86
+ import type * as payoutPolicy_helpers from "../payoutPolicy/helpers.js";
87
+ import type * as payoutPolicy_mutations from "../payoutPolicy/mutations.js";
88
+ import type * as payoutPolicy_queries from "../payoutPolicy/queries.js";
89
+ import type * as payoutRelease_adoption from "../payoutRelease/adoption.js";
90
+ import type * as payoutRelease_allocation from "../payoutRelease/allocation.js";
91
+ import type * as payoutRelease_allocationTotals from "../payoutRelease/allocationTotals.js";
92
+ import type * as payoutRelease_deadline from "../payoutRelease/deadline.js";
93
+ import type * as payoutRelease_fees from "../payoutRelease/fees.js";
94
+ import type * as payoutRelease_helpers from "../payoutRelease/helpers.js";
95
+ import type * as payoutRelease_mutations from "../payoutRelease/mutations.js";
96
+ import type * as payoutRelease_observation from "../payoutRelease/observation.js";
97
+ import type * as payoutRelease_outcome from "../payoutRelease/outcome.js";
98
+ import type * as payoutRelease_planning from "../payoutRelease/planning.js";
99
+ import type * as payoutRelease_preview from "../payoutRelease/preview.js";
100
+ import type * as payoutRelease_progress from "../payoutRelease/progress.js";
101
+ import type * as payoutRelease_queries from "../payoutRelease/queries.js";
102
+ import type * as payoutSnapshots_adoption from "../payoutSnapshots/adoption.js";
103
+ import type * as payoutSnapshots_financial from "../payoutSnapshots/financial.js";
104
+ import type * as payoutSnapshots_liabilities from "../payoutSnapshots/liabilities.js";
105
+ import type * as payoutSnapshots_localState from "../payoutSnapshots/localState.js";
106
+ import type * as payoutSnapshots_mutations from "../payoutSnapshots/mutations.js";
107
+ import type * as payoutSnapshots_queries from "../payoutSnapshots/queries.js";
108
+ import type * as payoutSnapshots_revisions from "../payoutSnapshots/revisions.js";
109
+ import type * as payoutSnapshots_scope from "../payoutSnapshots/scope.js";
110
+ import type * as payoutSync_helpers from "../payoutSync/helpers.js";
111
+ import type * as payoutSync_mutations from "../payoutSync/mutations.js";
112
+ import type * as payoutSync_queries from "../payoutSync/queries.js";
113
+ import type * as payoutSync_validators from "../payoutSync/validators.js";
114
+ import type * as payoutWorker_helpers from "../payoutWorker/helpers.js";
115
+ import type * as payoutWorker_mutations from "../payoutWorker/mutations.js";
116
+ import type * as payoutWorker_queries from "../payoutWorker/queries.js";
117
+ import type * as products_mutations from "../products/mutations.js";
118
+ import type * as products_queries from "../products/queries.js";
119
+ import type * as products_validators from "../products/validators.js";
120
+ import type * as refundHistory_commandBinding from "../refundHistory/commandBinding.js";
121
+ import type * as refundHistory_commandEvidence from "../refundHistory/commandEvidence.js";
122
+ import type * as refundHistory_commandEvidenceValidator from "../refundHistory/commandEvidenceValidator.js";
123
+ import type * as refundHistory_commandFields from "../refundHistory/commandFields.js";
124
+ import type * as refundHistory_mutations from "../refundHistory/mutations.js";
125
+ import type * as refundHistory_originalSeller from "../refundHistory/originalSeller.js";
126
+ import type * as refundHistory_queries from "../refundHistory/queries.js";
127
+ import type * as settlement_clawbackSchema from "../settlement/clawbackSchema.js";
128
+ import type * as settlement_clawbacks from "../settlement/clawbacks.js";
129
+ import type * as settlement_mutations from "../settlement/mutations.js";
130
+ import type * as settlement_queries from "../settlement/queries.js";
131
+ import type * as webhooks_mutations from "../webhooks/mutations.js";
132
+ import type * as webhooks_queries from "../webhooks/queries.js";
133
+ import type * as webhooks_validators from "../webhooks/validators.js";
134
+ import type { ApiFromModules, FilterApi, FunctionReference } from "convex/server";
135
+ declare const fullApi: ApiFromModules<{
136
+ "accountClosure/helpers": typeof accountClosure_helpers;
137
+ "accountClosure/mutations": typeof accountClosure_mutations;
138
+ "accountClosure/queries": typeof accountClosure_queries;
139
+ "affiliateEarnings/mutations": typeof affiliateEarnings_mutations;
140
+ "affiliatePayouts/mutations": typeof affiliatePayouts_mutations;
141
+ "affiliatePayouts/queries": typeof affiliatePayouts_queries;
142
+ "affiliatePayouts/recipientGuard": typeof affiliatePayouts_recipientGuard;
143
+ "affiliateRecovery/accounting": typeof affiliateRecovery_accounting;
144
+ "affiliateRecovery/mutations": typeof affiliateRecovery_mutations;
145
+ "affiliateRecovery/queries": typeof affiliateRecovery_queries;
146
+ "balanceFunding/helpers": typeof balanceFunding_helpers;
147
+ "balanceFunding/importHandler": typeof balanceFunding_importHandler;
148
+ "balanceFunding/lifecycleHandlers": typeof balanceFunding_lifecycleHandlers;
149
+ "balanceFunding/mutationValidators": typeof balanceFunding_mutationValidators;
150
+ "balanceFunding/mutations": typeof balanceFunding_mutations;
151
+ "balanceFunding/preparationHandlers": typeof balanceFunding_preparationHandlers;
152
+ "balanceFunding/queries": typeof balanceFunding_queries;
153
+ "balanceFunding/stateHandlers": typeof balanceFunding_stateHandlers;
154
+ "billing/mutations": typeof billing_mutations;
155
+ "billing/queries": typeof billing_queries;
156
+ "billing/validators": typeof billing_validators;
157
+ "connect/mutations": typeof connect_mutations;
158
+ "connect/payoutWrites": typeof connect_payoutWrites;
159
+ "connect/queries": typeof connect_queries;
160
+ "connect/reversalClaims": typeof connect_reversalClaims;
161
+ "connect/reversalDiagnostics": typeof connect_reversalDiagnostics;
162
+ "connect/reversalReceipts": typeof connect_reversalReceipts;
163
+ "connect/validators": typeof connect_validators;
164
+ "core/mutations": typeof core_mutations;
165
+ "core/personalAccountMapping": typeof core_personalAccountMapping;
166
+ "core/queries": typeof core_queries;
167
+ "core/resetSafety": typeof core_resetSafety;
168
+ "core/validators": typeof core_validators;
169
+ "costRecovery/claims": typeof costRecovery_claims;
170
+ "costRecovery/completion": typeof costRecovery_completion;
171
+ "costRecovery/helpers": typeof costRecovery_helpers;
172
+ "costRecovery/imports": typeof costRecovery_imports;
173
+ "costRecovery/mutations": typeof costRecovery_mutations;
174
+ "costRecovery/preparation": typeof costRecovery_preparation;
175
+ "costRecovery/queries": typeof costRecovery_queries;
176
+ "costRecovery/reservations": typeof costRecovery_reservations;
177
+ "durableExecution/runtime": typeof durableExecution_runtime;
178
+ "earnings/arithmetic": typeof earnings_arithmetic;
179
+ "earnings/legacyReads": typeof earnings_legacyReads;
180
+ "earnings/mutations": typeof earnings_mutations;
181
+ "earnings/pairedAdjustment": typeof earnings_pairedAdjustment;
182
+ "earnings/reads": typeof earnings_reads;
183
+ "earnings/triggers": typeof earnings_triggers;
184
+ "financialObservations/continuation": typeof financialObservations_continuation;
185
+ "financialObservations/generations": typeof financialObservations_generations;
186
+ "financialObservations/mutations": typeof financialObservations_mutations;
187
+ "financialObservations/queries": typeof financialObservations_queries;
188
+ "financialObservations/settlement": typeof financialObservations_settlement;
189
+ "financialObservations/settlementHelpers": typeof financialObservations_settlementHelpers;
190
+ "financialObservations/transferBatches": typeof financialObservations_transferBatches;
191
+ "financialObservations/transferContinuation": typeof financialObservations_transferContinuation;
192
+ "financialObservations/transferContinuationState": typeof financialObservations_transferContinuationState;
193
+ "financialObservations/transferContinuationSteps": typeof financialObservations_transferContinuationSteps;
194
+ "financialObservations/transferHelpers": typeof financialObservations_transferHelpers;
195
+ "financialObservations/transferReferenceSchema": typeof financialObservations_transferReferenceSchema;
196
+ "financialObservations/transferSchema": typeof financialObservations_transferSchema;
197
+ "financialObservations/transfers": typeof financialObservations_transfers;
198
+ "financialOwnership/helpers": typeof financialOwnership_helpers;
199
+ "financialOwnership/mutations": typeof financialOwnership_mutations;
200
+ "financialOwnership/queries": typeof financialOwnership_queries;
201
+ "lib/fees": typeof lib_fees;
202
+ "lib/idempotency": typeof lib_idempotency;
203
+ "lib/paymentSeller": typeof lib_paymentSeller;
204
+ "lib/reversals": typeof lib_reversals;
205
+ "lib/stripeFactory": typeof lib_stripeFactory;
206
+ "operationEvidence/canonical": typeof operationEvidence_canonical;
207
+ "operationEvidence/helpers": typeof operationEvidence_helpers;
208
+ "operationEvidence/maintenance": typeof operationEvidence_maintenance;
209
+ "operationEvidence/mutations": typeof operationEvidence_mutations;
210
+ "operationEvidence/queries": typeof operationEvidence_queries;
211
+ "payoutPolicy/adoption": typeof payoutPolicy_adoption;
212
+ "payoutPolicy/expiry": typeof payoutPolicy_expiry;
213
+ "payoutPolicy/helpers": typeof payoutPolicy_helpers;
214
+ "payoutPolicy/mutations": typeof payoutPolicy_mutations;
215
+ "payoutPolicy/queries": typeof payoutPolicy_queries;
216
+ "payoutRelease/adoption": typeof payoutRelease_adoption;
217
+ "payoutRelease/allocation": typeof payoutRelease_allocation;
218
+ "payoutRelease/allocationTotals": typeof payoutRelease_allocationTotals;
219
+ "payoutRelease/deadline": typeof payoutRelease_deadline;
220
+ "payoutRelease/fees": typeof payoutRelease_fees;
221
+ "payoutRelease/helpers": typeof payoutRelease_helpers;
222
+ "payoutRelease/mutations": typeof payoutRelease_mutations;
223
+ "payoutRelease/observation": typeof payoutRelease_observation;
224
+ "payoutRelease/outcome": typeof payoutRelease_outcome;
225
+ "payoutRelease/planning": typeof payoutRelease_planning;
226
+ "payoutRelease/preview": typeof payoutRelease_preview;
227
+ "payoutRelease/progress": typeof payoutRelease_progress;
228
+ "payoutRelease/queries": typeof payoutRelease_queries;
229
+ "payoutSnapshots/adoption": typeof payoutSnapshots_adoption;
230
+ "payoutSnapshots/financial": typeof payoutSnapshots_financial;
231
+ "payoutSnapshots/liabilities": typeof payoutSnapshots_liabilities;
232
+ "payoutSnapshots/localState": typeof payoutSnapshots_localState;
233
+ "payoutSnapshots/mutations": typeof payoutSnapshots_mutations;
234
+ "payoutSnapshots/queries": typeof payoutSnapshots_queries;
235
+ "payoutSnapshots/revisions": typeof payoutSnapshots_revisions;
236
+ "payoutSnapshots/scope": typeof payoutSnapshots_scope;
237
+ "payoutSync/helpers": typeof payoutSync_helpers;
238
+ "payoutSync/mutations": typeof payoutSync_mutations;
239
+ "payoutSync/queries": typeof payoutSync_queries;
240
+ "payoutSync/validators": typeof payoutSync_validators;
241
+ "payoutWorker/helpers": typeof payoutWorker_helpers;
242
+ "payoutWorker/mutations": typeof payoutWorker_mutations;
243
+ "payoutWorker/queries": typeof payoutWorker_queries;
244
+ "products/mutations": typeof products_mutations;
245
+ "products/queries": typeof products_queries;
246
+ "products/validators": typeof products_validators;
247
+ "refundHistory/commandBinding": typeof refundHistory_commandBinding;
248
+ "refundHistory/commandEvidence": typeof refundHistory_commandEvidence;
249
+ "refundHistory/commandEvidenceValidator": typeof refundHistory_commandEvidenceValidator;
250
+ "refundHistory/commandFields": typeof refundHistory_commandFields;
251
+ "refundHistory/mutations": typeof refundHistory_mutations;
252
+ "refundHistory/originalSeller": typeof refundHistory_originalSeller;
253
+ "refundHistory/queries": typeof refundHistory_queries;
254
+ "settlement/clawbackSchema": typeof settlement_clawbackSchema;
255
+ "settlement/clawbacks": typeof settlement_clawbacks;
256
+ "settlement/mutations": typeof settlement_mutations;
257
+ "settlement/queries": typeof settlement_queries;
258
+ "webhooks/mutations": typeof webhooks_mutations;
259
+ "webhooks/queries": typeof webhooks_queries;
260
+ "webhooks/validators": typeof webhooks_validators;
261
+ }>;
262
+ /**
263
+ * A utility for referencing Convex functions in your app's public API.
264
+ *
265
+ * Usage:
266
+ * ```js
267
+ * const myFunctionReference = api.myModule.myFunction;
268
+ * ```
269
+ */
270
+ export declare const api: FilterApi<typeof fullApi, FunctionReference<any, "public">>;
271
+ /**
272
+ * A utility for referencing Convex functions in your app's internal API.
273
+ *
274
+ * Usage:
275
+ * ```js
276
+ * const myFunctionReference = internal.myModule.myFunction;
277
+ * ```
278
+ */
279
+ export declare const internal: FilterApi<typeof fullApi, FunctionReference<any, "internal">>;
280
+ export declare const components: {
281
+ workflow: import("@convex-dev/workflow/_generated/component.js").ComponentApi<"workflow">;
282
+ };
283
+ export {};
284
+ //# sourceMappingURL=api.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../src/component/_generated/api.ts"],"names":[],"mappings":"AACA;;;;;;;GAOG;AAEH,OAAO,KAAK,KAAK,sBAAsB,MAAM,8BAA8B,CAAC;AAC5E,OAAO,KAAK,KAAK,wBAAwB,MAAM,gCAAgC,CAAC;AAChF,OAAO,KAAK,KAAK,sBAAsB,MAAM,8BAA8B,CAAC;AAC5E,OAAO,KAAK,KAAK,2BAA2B,MAAM,mCAAmC,CAAC;AACtF,OAAO,KAAK,KAAK,0BAA0B,MAAM,kCAAkC,CAAC;AACpF,OAAO,KAAK,KAAK,wBAAwB,MAAM,gCAAgC,CAAC;AAChF,OAAO,KAAK,KAAK,+BAA+B,MAAM,uCAAuC,CAAC;AAC9F,OAAO,KAAK,KAAK,4BAA4B,MAAM,oCAAoC,CAAC;AACxF,OAAO,KAAK,KAAK,2BAA2B,MAAM,mCAAmC,CAAC;AACtF,OAAO,KAAK,KAAK,yBAAyB,MAAM,iCAAiC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AqB,CAAC;IACtD,2BAA2B,EAAE,OAAO,yBAAyB,CAAC;IAC9D,sBAAsB,EAAE,OAAO,oBAAoB,CAAC;IACpD,sBAAsB,EAAE,OAAO,oBAAoB,CAAC;IACpD,oBAAoB,EAAE,OAAO,kBAAkB,CAAC;IAChD,oBAAoB,EAAE,OAAO,kBAAkB,CAAC;IAChD,kBAAkB,EAAE,OAAO,gBAAgB,CAAC;IAC5C,qBAAqB,EAAE,OAAO,mBAAmB,CAAC;CACnD,CAAiB,CAAC;AAEnB;;;;;;;GAOG;AACH,eAAO,MAAM,GAAG,EAAE,SAAS,CACzB,OAAO,OAAO,EACd,iBAAiB,CAAC,GAAG,EAAE,QAAQ,CAAC,CACjB,CAAC;AAElB;;;;;;;GAOG;AACH,eAAO,MAAM,QAAQ,EAAE,SAAS,CAC9B,OAAO,OAAO,EACd,iBAAiB,CAAC,GAAG,EAAE,UAAU,CAAC,CACnB,CAAC;AAElB,eAAO,MAAM,UAAU,EAAqC;IAC1D,QAAQ,EAAE,OAAO,8CAA8C,EAAE,YAAY,CAAC,UAAU,CAAC,CAAC;CAC3F,CAAC"}
@@ -0,0 +1,31 @@
1
+ /* eslint-disable */
2
+ /**
3
+ * Generated `api` utility.
4
+ *
5
+ * THIS CODE IS AUTOMATICALLY GENERATED.
6
+ *
7
+ * To regenerate, run `npx convex dev`.
8
+ * @module
9
+ */
10
+ import { anyApi, componentsGeneric } from "convex/server";
11
+ const fullApi = anyApi;
12
+ /**
13
+ * A utility for referencing Convex functions in your app's public API.
14
+ *
15
+ * Usage:
16
+ * ```js
17
+ * const myFunctionReference = api.myModule.myFunction;
18
+ * ```
19
+ */
20
+ export const api = anyApi;
21
+ /**
22
+ * A utility for referencing Convex functions in your app's internal API.
23
+ *
24
+ * Usage:
25
+ * ```js
26
+ * const myFunctionReference = internal.myModule.myFunction;
27
+ * ```
28
+ */
29
+ export const internal = anyApi;
30
+ export const components = componentsGeneric();
31
+ //# sourceMappingURL=api.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"api.js","sourceRoot":"","sources":["../../../src/component/_generated/api.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB;;;;;;;GAOG;AAqIH,OAAO,EAAE,MAAM,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAE1D,MAAM,OAAO,GA8HR,MAAa,CAAC;AAEnB;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,GAAG,GAGZ,MAAa,CAAC;AAElB;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,QAAQ,GAGjB,MAAa,CAAC;AAElB,MAAM,CAAC,MAAM,UAAU,GAAG,iBAAiB,EAE1C,CAAC"}