@fantastic.dev/better-stripe 0.41.0 → 0.42.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 (108) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/README.md +1 -1
  3. package/dist/client/balanceFundingWorkflow/client.d.ts +172 -0
  4. package/dist/client/balanceFundingWorkflow/client.d.ts.map +1 -0
  5. package/dist/client/balanceFundingWorkflow/client.js +289 -0
  6. package/dist/client/balanceFundingWorkflow/client.js.map +1 -0
  7. package/dist/client/billing/balanceFunding.d.ts +5 -0
  8. package/dist/client/billing/balanceFunding.d.ts.map +1 -1
  9. package/dist/client/billing/balanceFunding.js +30 -0
  10. package/dist/client/billing/balanceFunding.js.map +1 -1
  11. package/dist/client/connect/payoutAdoptionTestHelpers.d.ts +366 -2
  12. package/dist/client/connect/payoutAdoptionTestHelpers.d.ts.map +1 -1
  13. package/dist/client/connect/payoutExecutionTestHelpers.d.ts +199 -17
  14. package/dist/client/connect/payoutExecutionTestHelpers.d.ts.map +1 -1
  15. package/dist/client/connect/payoutLargeAdoptionTestHelpers.d.ts +366 -2
  16. package/dist/client/connect/payoutLargeAdoptionTestHelpers.d.ts.map +1 -1
  17. package/dist/client/connect/payoutSyncTestHelpers.d.ts +199 -17
  18. package/dist/client/connect/payoutSyncTestHelpers.d.ts.map +1 -1
  19. package/dist/client/index.d.ts +3 -0
  20. package/dist/client/index.d.ts.map +1 -1
  21. package/dist/client/index.js +4 -0
  22. package/dist/client/index.js.map +1 -1
  23. package/dist/component/_generated/api.d.ts +18 -0
  24. package/dist/component/_generated/api.d.ts.map +1 -1
  25. package/dist/component/_generated/api.js.map +1 -1
  26. package/dist/component/_generated/component.d.ts +473 -0
  27. package/dist/component/_generated/component.d.ts.map +1 -1
  28. package/dist/component/balanceFunding/helpers.d.ts +42 -0
  29. package/dist/component/balanceFunding/helpers.d.ts.map +1 -1
  30. package/dist/component/balanceFunding/internal/actions.d.ts +39 -0
  31. package/dist/component/balanceFunding/internal/actions.d.ts.map +1 -0
  32. package/dist/component/balanceFunding/internal/actions.js +80 -0
  33. package/dist/component/balanceFunding/internal/actions.js.map +1 -0
  34. package/dist/component/balanceFunding/internal/mutations.d.ts +55 -0
  35. package/dist/component/balanceFunding/internal/mutations.d.ts.map +1 -0
  36. package/dist/component/balanceFunding/internal/mutations.js +54 -0
  37. package/dist/component/balanceFunding/internal/mutations.js.map +1 -0
  38. package/dist/component/balanceFunding/internal/queries.d.ts +116 -0
  39. package/dist/component/balanceFunding/internal/queries.d.ts.map +1 -0
  40. package/dist/component/balanceFunding/internal/queries.js +35 -0
  41. package/dist/component/balanceFunding/internal/queries.js.map +1 -0
  42. package/dist/component/balanceFunding/internal/workflow.d.ts +10 -0
  43. package/dist/component/balanceFunding/internal/workflow.d.ts.map +1 -0
  44. package/dist/component/balanceFunding/internal/workflow.js +31 -0
  45. package/dist/component/balanceFunding/internal/workflow.js.map +1 -0
  46. package/dist/component/balanceFunding/lifecycleHandlers.d.ts +126 -0
  47. package/dist/component/balanceFunding/lifecycleHandlers.d.ts.map +1 -1
  48. package/dist/component/balanceFunding/mutations.d.ts +403 -0
  49. package/dist/component/balanceFunding/mutations.d.ts.map +1 -1
  50. package/dist/component/balanceFunding/mutations.js +24 -0
  51. package/dist/component/balanceFunding/mutations.js.map +1 -1
  52. package/dist/component/balanceFunding/preparationHandlers.d.ts +42 -0
  53. package/dist/component/balanceFunding/preparationHandlers.d.ts.map +1 -1
  54. package/dist/component/balanceFunding/queries.d.ts +78 -0
  55. package/dist/component/balanceFunding/queries.d.ts.map +1 -1
  56. package/dist/component/balanceFunding/queries.js +35 -0
  57. package/dist/component/balanceFunding/queries.js.map +1 -1
  58. package/dist/component/balanceFunding/receipt.d.ts +5 -0
  59. package/dist/component/balanceFunding/receipt.d.ts.map +1 -0
  60. package/dist/component/balanceFunding/receipt.js +37 -0
  61. package/dist/component/balanceFunding/receipt.js.map +1 -0
  62. package/dist/component/balanceFunding/schema.d.ts +506 -2
  63. package/dist/component/balanceFunding/schema.d.ts.map +1 -1
  64. package/dist/component/balanceFunding/schema.js +2 -0
  65. package/dist/component/balanceFunding/schema.js.map +1 -1
  66. package/dist/component/balanceFunding/stateHandlers.d.ts +50 -8
  67. package/dist/component/balanceFunding/stateHandlers.d.ts.map +1 -1
  68. package/dist/component/balanceFunding/workflowControl.d.ts +19 -0
  69. package/dist/component/balanceFunding/workflowControl.d.ts.map +1 -0
  70. package/dist/component/balanceFunding/workflowControl.js +149 -0
  71. package/dist/component/balanceFunding/workflowControl.js.map +1 -0
  72. package/dist/component/balanceFunding/workflowSchema.d.ts +356 -0
  73. package/dist/component/balanceFunding/workflowSchema.d.ts.map +1 -0
  74. package/dist/component/balanceFunding/workflowSchema.js +48 -0
  75. package/dist/component/balanceFunding/workflowSchema.js.map +1 -0
  76. package/dist/component/balanceFunding/workflowState.d.ts +157 -0
  77. package/dist/component/balanceFunding/workflowState.d.ts.map +1 -0
  78. package/dist/component/balanceFunding/workflowState.js +194 -0
  79. package/dist/component/balanceFunding/workflowState.js.map +1 -0
  80. package/dist/component/balanceFunding/workflowValidators.d.ts +306 -0
  81. package/dist/component/balanceFunding/workflowValidators.d.ts.map +1 -0
  82. package/dist/component/balanceFunding/workflowValidators.js +27 -0
  83. package/dist/component/balanceFunding/workflowValidators.js.map +1 -0
  84. package/dist/component/earnings/triggers.d.ts +102 -18
  85. package/dist/component/earnings/triggers.d.ts.map +1 -1
  86. package/dist/component/schema.d.ts +183 -1
  87. package/package.json +1 -1
  88. package/src/client/balanceFundingWorkflow/capture.test.ts +144 -0
  89. package/src/client/balanceFundingWorkflow/client.ts +419 -0
  90. package/src/client/billing/balanceFunding.ts +50 -0
  91. package/src/client/index.ts +15 -0
  92. package/src/component/_generated/api.ts +18 -0
  93. package/src/component/_generated/component.ts +524 -0
  94. package/src/component/balanceFunding/internal/actions.ts +107 -0
  95. package/src/component/balanceFunding/internal/mutations.ts +66 -0
  96. package/src/component/balanceFunding/internal/queries.ts +34 -0
  97. package/src/component/balanceFunding/internal/workflow.ts +49 -0
  98. package/src/component/balanceFunding/mutations.ts +34 -0
  99. package/src/component/balanceFunding/queries.ts +38 -0
  100. package/src/component/balanceFunding/receipt.ts +48 -0
  101. package/src/component/balanceFunding/schema.ts +2 -0
  102. package/src/component/balanceFunding/scopeLookup.test.ts +94 -0
  103. package/src/component/balanceFunding/workflow.fixtures.ts +366 -0
  104. package/src/component/balanceFunding/workflow.test.ts +552 -0
  105. package/src/component/balanceFunding/workflowControl.ts +198 -0
  106. package/src/component/balanceFunding/workflowSchema.ts +78 -0
  107. package/src/component/balanceFunding/workflowState.ts +285 -0
  108. package/src/component/balanceFunding/workflowValidators.ts +40 -0
@@ -272,6 +272,48 @@ export declare function large(count?: number, amount?: number): Promise<{
272
272
  accountId: string;
273
273
  cancelRequested: boolean;
274
274
  enabled: boolean;
275
+ execution?: {
276
+ apply?: {
277
+ receipt?: {
278
+ customerAccount: string;
279
+ enabled?: boolean | undefined;
280
+ paymentMethodId: string | null;
281
+ paymentMethodTypes?: string[] | null | undefined;
282
+ phase: "apply" | "attach" | "create";
283
+ providerApiVersion: string;
284
+ stripeSubscriptionId: string;
285
+ } | undefined;
286
+ state: "running" | "succeeded" | "unknown";
287
+ } | undefined;
288
+ attach?: {
289
+ receipt?: {
290
+ customerAccount: string;
291
+ enabled?: boolean | undefined;
292
+ paymentMethodId: string | null;
293
+ paymentMethodTypes?: string[] | null | undefined;
294
+ phase: "apply" | "attach" | "create";
295
+ providerApiVersion: string;
296
+ stripeSubscriptionId: string;
297
+ } | undefined;
298
+ state: "running" | "succeeded" | "unknown";
299
+ } | undefined;
300
+ create?: {
301
+ receipt?: {
302
+ customerAccount: string;
303
+ enabled?: boolean | undefined;
304
+ paymentMethodId: string | null;
305
+ paymentMethodTypes?: string[] | null | undefined;
306
+ phase: "apply" | "attach" | "create";
307
+ providerApiVersion: string;
308
+ stripeSubscriptionId: string;
309
+ } | undefined;
310
+ state: "running" | "succeeded" | "unknown";
311
+ } | undefined;
312
+ definitionVersion: string;
313
+ providerAction: string;
314
+ providerApiVersion: string;
315
+ workflowId?: string | undefined;
316
+ } | undefined;
275
317
  failureCode?: "invalid_scope" | "policy_invalid" | "unsupported_source" | undefined;
276
318
  kind: "apply" | "prepare";
277
319
  preparationId: import("convex/values").GenericId<"balanceFundingPreparations">;
@@ -327,7 +369,147 @@ export declare function large(count?: number, amount?: number): Promise<{
327
369
  paymentMethodTypes: import("convex/values").VUnion<string[] | null, [import("convex/values").VArray<string[], import("convex/values").VString<string, "required">, "required">, import("convex/values").VNull<null, "required">], "required", never>;
328
370
  providerApiVersion: import("convex/values").VString<string, "required">;
329
371
  }, "optional", "customerAccount" | "paymentMethodId" | "paymentMethodTypes" | "providerApiVersion" | "stripeSubscriptionId">;
330
- }, "required", "accountId" | "cancelRequested" | "enabled" | "failureCode" | "kind" | "preparationId" | "providerKey" | "providerKeys" | "providerKeys.attach" | "providerKeys.create" | "providerKeys.disable" | "providerKeys.enable" | "receipt" | "receipt.customerAccount" | "receipt.paymentMethodId" | "receipt.paymentMethodTypes" | "receipt.providerApiVersion" | "receipt.stripeSubscriptionId" | "scopeKey" | "state" | "version">, {
372
+ execution: import("convex/values").VObject<{
373
+ apply?: {
374
+ receipt?: {
375
+ customerAccount: string;
376
+ enabled?: boolean | undefined;
377
+ paymentMethodId: string | null;
378
+ paymentMethodTypes?: string[] | null | undefined;
379
+ phase: "apply" | "attach" | "create";
380
+ providerApiVersion: string;
381
+ stripeSubscriptionId: string;
382
+ } | undefined;
383
+ state: "running" | "succeeded" | "unknown";
384
+ } | undefined;
385
+ attach?: {
386
+ receipt?: {
387
+ customerAccount: string;
388
+ enabled?: boolean | undefined;
389
+ paymentMethodId: string | null;
390
+ paymentMethodTypes?: string[] | null | undefined;
391
+ phase: "apply" | "attach" | "create";
392
+ providerApiVersion: string;
393
+ stripeSubscriptionId: string;
394
+ } | undefined;
395
+ state: "running" | "succeeded" | "unknown";
396
+ } | undefined;
397
+ create?: {
398
+ receipt?: {
399
+ customerAccount: string;
400
+ enabled?: boolean | undefined;
401
+ paymentMethodId: string | null;
402
+ paymentMethodTypes?: string[] | null | undefined;
403
+ phase: "apply" | "attach" | "create";
404
+ providerApiVersion: string;
405
+ stripeSubscriptionId: string;
406
+ } | undefined;
407
+ state: "running" | "succeeded" | "unknown";
408
+ } | undefined;
409
+ definitionVersion: string;
410
+ providerAction: string;
411
+ providerApiVersion: string;
412
+ workflowId?: string | undefined;
413
+ } | undefined, {
414
+ workflowId: import("convex/values").VString<string | undefined, "optional">;
415
+ definitionVersion: import("convex/values").VString<string, "required">;
416
+ providerApiVersion: import("convex/values").VString<string, "required">;
417
+ providerAction: import("convex/values").VString<string, "required">;
418
+ create: import("convex/values").VObject<{
419
+ receipt?: {
420
+ customerAccount: string;
421
+ enabled?: boolean | undefined;
422
+ paymentMethodId: string | null;
423
+ paymentMethodTypes?: string[] | null | undefined;
424
+ phase: "apply" | "attach" | "create";
425
+ providerApiVersion: string;
426
+ stripeSubscriptionId: string;
427
+ } | undefined;
428
+ state: "running" | "succeeded" | "unknown";
429
+ } | undefined, {
430
+ state: import("convex/values").VUnion<"running" | "succeeded" | "unknown", [import("convex/values").VLiteral<"running", "required">, import("convex/values").VLiteral<"unknown", "required">, import("convex/values").VLiteral<"succeeded", "required">], "required", never>;
431
+ receipt: import("convex/values").VObject<{
432
+ customerAccount: string;
433
+ enabled?: boolean | undefined;
434
+ paymentMethodId: string | null;
435
+ paymentMethodTypes?: string[] | null | undefined;
436
+ phase: "apply" | "attach" | "create";
437
+ providerApiVersion: string;
438
+ stripeSubscriptionId: string;
439
+ } | undefined, {
440
+ phase: import("convex/values").VUnion<"apply" | "attach" | "create", [import("convex/values").VLiteral<"create", "required">, import("convex/values").VLiteral<"attach", "required">, import("convex/values").VLiteral<"apply", "required">], "required", never>;
441
+ customerAccount: import("convex/values").VString<string, "required">;
442
+ stripeSubscriptionId: import("convex/values").VString<string, "required">;
443
+ paymentMethodId: import("convex/values").VUnion<string | null, [import("convex/values").VString<string, "required">, import("convex/values").VNull<null, "required">], "required", never>;
444
+ paymentMethodTypes: 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>;
445
+ enabled: import("convex/values").VBoolean<boolean | undefined, "optional">;
446
+ providerApiVersion: import("convex/values").VString<string, "required">;
447
+ }, "optional", "customerAccount" | "enabled" | "paymentMethodId" | "paymentMethodTypes" | "phase" | "providerApiVersion" | "stripeSubscriptionId">;
448
+ }, "optional", "receipt" | "receipt.customerAccount" | "receipt.enabled" | "receipt.paymentMethodId" | "receipt.paymentMethodTypes" | "receipt.phase" | "receipt.providerApiVersion" | "receipt.stripeSubscriptionId" | "state">;
449
+ attach: import("convex/values").VObject<{
450
+ receipt?: {
451
+ customerAccount: string;
452
+ enabled?: boolean | undefined;
453
+ paymentMethodId: string | null;
454
+ paymentMethodTypes?: string[] | null | undefined;
455
+ phase: "apply" | "attach" | "create";
456
+ providerApiVersion: string;
457
+ stripeSubscriptionId: string;
458
+ } | undefined;
459
+ state: "running" | "succeeded" | "unknown";
460
+ } | undefined, {
461
+ state: import("convex/values").VUnion<"running" | "succeeded" | "unknown", [import("convex/values").VLiteral<"running", "required">, import("convex/values").VLiteral<"unknown", "required">, import("convex/values").VLiteral<"succeeded", "required">], "required", never>;
462
+ receipt: import("convex/values").VObject<{
463
+ customerAccount: string;
464
+ enabled?: boolean | undefined;
465
+ paymentMethodId: string | null;
466
+ paymentMethodTypes?: string[] | null | undefined;
467
+ phase: "apply" | "attach" | "create";
468
+ providerApiVersion: string;
469
+ stripeSubscriptionId: string;
470
+ } | undefined, {
471
+ phase: import("convex/values").VUnion<"apply" | "attach" | "create", [import("convex/values").VLiteral<"create", "required">, import("convex/values").VLiteral<"attach", "required">, import("convex/values").VLiteral<"apply", "required">], "required", never>;
472
+ customerAccount: import("convex/values").VString<string, "required">;
473
+ stripeSubscriptionId: import("convex/values").VString<string, "required">;
474
+ paymentMethodId: import("convex/values").VUnion<string | null, [import("convex/values").VString<string, "required">, import("convex/values").VNull<null, "required">], "required", never>;
475
+ paymentMethodTypes: 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>;
476
+ enabled: import("convex/values").VBoolean<boolean | undefined, "optional">;
477
+ providerApiVersion: import("convex/values").VString<string, "required">;
478
+ }, "optional", "customerAccount" | "enabled" | "paymentMethodId" | "paymentMethodTypes" | "phase" | "providerApiVersion" | "stripeSubscriptionId">;
479
+ }, "optional", "receipt" | "receipt.customerAccount" | "receipt.enabled" | "receipt.paymentMethodId" | "receipt.paymentMethodTypes" | "receipt.phase" | "receipt.providerApiVersion" | "receipt.stripeSubscriptionId" | "state">;
480
+ apply: import("convex/values").VObject<{
481
+ receipt?: {
482
+ customerAccount: string;
483
+ enabled?: boolean | undefined;
484
+ paymentMethodId: string | null;
485
+ paymentMethodTypes?: string[] | null | undefined;
486
+ phase: "apply" | "attach" | "create";
487
+ providerApiVersion: string;
488
+ stripeSubscriptionId: string;
489
+ } | undefined;
490
+ state: "running" | "succeeded" | "unknown";
491
+ } | undefined, {
492
+ state: import("convex/values").VUnion<"running" | "succeeded" | "unknown", [import("convex/values").VLiteral<"running", "required">, import("convex/values").VLiteral<"unknown", "required">, import("convex/values").VLiteral<"succeeded", "required">], "required", never>;
493
+ receipt: import("convex/values").VObject<{
494
+ customerAccount: string;
495
+ enabled?: boolean | undefined;
496
+ paymentMethodId: string | null;
497
+ paymentMethodTypes?: string[] | null | undefined;
498
+ phase: "apply" | "attach" | "create";
499
+ providerApiVersion: string;
500
+ stripeSubscriptionId: string;
501
+ } | undefined, {
502
+ phase: import("convex/values").VUnion<"apply" | "attach" | "create", [import("convex/values").VLiteral<"create", "required">, import("convex/values").VLiteral<"attach", "required">, import("convex/values").VLiteral<"apply", "required">], "required", never>;
503
+ customerAccount: import("convex/values").VString<string, "required">;
504
+ stripeSubscriptionId: import("convex/values").VString<string, "required">;
505
+ paymentMethodId: import("convex/values").VUnion<string | null, [import("convex/values").VString<string, "required">, import("convex/values").VNull<null, "required">], "required", never>;
506
+ paymentMethodTypes: 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>;
507
+ enabled: import("convex/values").VBoolean<boolean | undefined, "optional">;
508
+ providerApiVersion: import("convex/values").VString<string, "required">;
509
+ }, "optional", "customerAccount" | "enabled" | "paymentMethodId" | "paymentMethodTypes" | "phase" | "providerApiVersion" | "stripeSubscriptionId">;
510
+ }, "optional", "receipt" | "receipt.customerAccount" | "receipt.enabled" | "receipt.paymentMethodId" | "receipt.paymentMethodTypes" | "receipt.phase" | "receipt.providerApiVersion" | "receipt.stripeSubscriptionId" | "state">;
511
+ }, "optional", "apply" | "apply.receipt" | "apply.receipt.customerAccount" | "apply.receipt.enabled" | "apply.receipt.paymentMethodId" | "apply.receipt.paymentMethodTypes" | "apply.receipt.phase" | "apply.receipt.providerApiVersion" | "apply.receipt.stripeSubscriptionId" | "apply.state" | "attach" | "attach.receipt" | "attach.receipt.customerAccount" | "attach.receipt.enabled" | "attach.receipt.paymentMethodId" | "attach.receipt.paymentMethodTypes" | "attach.receipt.phase" | "attach.receipt.providerApiVersion" | "attach.receipt.stripeSubscriptionId" | "attach.state" | "create" | "create.receipt" | "create.receipt.customerAccount" | "create.receipt.enabled" | "create.receipt.paymentMethodId" | "create.receipt.paymentMethodTypes" | "create.receipt.phase" | "create.receipt.providerApiVersion" | "create.receipt.stripeSubscriptionId" | "create.state" | "definitionVersion" | "providerAction" | "providerApiVersion" | "workflowId">;
512
+ }, "required", "accountId" | "cancelRequested" | "enabled" | "execution" | "execution.apply" | "execution.apply.receipt" | "execution.apply.receipt.customerAccount" | "execution.apply.receipt.enabled" | "execution.apply.receipt.paymentMethodId" | "execution.apply.receipt.paymentMethodTypes" | "execution.apply.receipt.phase" | "execution.apply.receipt.providerApiVersion" | "execution.apply.receipt.stripeSubscriptionId" | "execution.apply.state" | "execution.attach" | "execution.attach.receipt" | "execution.attach.receipt.customerAccount" | "execution.attach.receipt.enabled" | "execution.attach.receipt.paymentMethodId" | "execution.attach.receipt.paymentMethodTypes" | "execution.attach.receipt.phase" | "execution.attach.receipt.providerApiVersion" | "execution.attach.receipt.stripeSubscriptionId" | "execution.attach.state" | "execution.create" | "execution.create.receipt" | "execution.create.receipt.customerAccount" | "execution.create.receipt.enabled" | "execution.create.receipt.paymentMethodId" | "execution.create.receipt.paymentMethodTypes" | "execution.create.receipt.phase" | "execution.create.receipt.providerApiVersion" | "execution.create.receipt.stripeSubscriptionId" | "execution.create.state" | "execution.definitionVersion" | "execution.providerAction" | "execution.providerApiVersion" | "execution.workflowId" | "failureCode" | "kind" | "preparationId" | "providerKey" | "providerKeys" | "providerKeys.attach" | "providerKeys.create" | "providerKeys.disable" | "providerKeys.enable" | "receipt" | "receipt.customerAccount" | "receipt.paymentMethodId" | "receipt.paymentMethodTypes" | "receipt.providerApiVersion" | "receipt.stripeSubscriptionId" | "scopeKey" | "state" | "version">, {
331
513
  by_preparation_version: ["preparationId", "version", "_creationTime"];
332
514
  }, {}, {}>;
333
515
  balanceFundingRequests: import("convex/server").TableDefinition<import("convex/values").VObject<{
@@ -2959,6 +3141,48 @@ export declare function withHistory(count?: number, amount?: number): Promise<{
2959
3141
  accountId: string;
2960
3142
  cancelRequested: boolean;
2961
3143
  enabled: boolean;
3144
+ execution?: {
3145
+ apply?: {
3146
+ receipt?: {
3147
+ customerAccount: string;
3148
+ enabled?: boolean | undefined;
3149
+ paymentMethodId: string | null;
3150
+ paymentMethodTypes?: string[] | null | undefined;
3151
+ phase: "apply" | "attach" | "create";
3152
+ providerApiVersion: string;
3153
+ stripeSubscriptionId: string;
3154
+ } | undefined;
3155
+ state: "running" | "succeeded" | "unknown";
3156
+ } | undefined;
3157
+ attach?: {
3158
+ receipt?: {
3159
+ customerAccount: string;
3160
+ enabled?: boolean | undefined;
3161
+ paymentMethodId: string | null;
3162
+ paymentMethodTypes?: string[] | null | undefined;
3163
+ phase: "apply" | "attach" | "create";
3164
+ providerApiVersion: string;
3165
+ stripeSubscriptionId: string;
3166
+ } | undefined;
3167
+ state: "running" | "succeeded" | "unknown";
3168
+ } | undefined;
3169
+ create?: {
3170
+ receipt?: {
3171
+ customerAccount: string;
3172
+ enabled?: boolean | undefined;
3173
+ paymentMethodId: string | null;
3174
+ paymentMethodTypes?: string[] | null | undefined;
3175
+ phase: "apply" | "attach" | "create";
3176
+ providerApiVersion: string;
3177
+ stripeSubscriptionId: string;
3178
+ } | undefined;
3179
+ state: "running" | "succeeded" | "unknown";
3180
+ } | undefined;
3181
+ definitionVersion: string;
3182
+ providerAction: string;
3183
+ providerApiVersion: string;
3184
+ workflowId?: string | undefined;
3185
+ } | undefined;
2962
3186
  failureCode?: "invalid_scope" | "policy_invalid" | "unsupported_source" | undefined;
2963
3187
  kind: "apply" | "prepare";
2964
3188
  preparationId: import("convex/values").GenericId<"balanceFundingPreparations">;
@@ -3014,7 +3238,147 @@ export declare function withHistory(count?: number, amount?: number): Promise<{
3014
3238
  paymentMethodTypes: import("convex/values").VUnion<string[] | null, [import("convex/values").VArray<string[], import("convex/values").VString<string, "required">, "required">, import("convex/values").VNull<null, "required">], "required", never>;
3015
3239
  providerApiVersion: import("convex/values").VString<string, "required">;
3016
3240
  }, "optional", "customerAccount" | "paymentMethodId" | "paymentMethodTypes" | "providerApiVersion" | "stripeSubscriptionId">;
3017
- }, "required", "accountId" | "cancelRequested" | "enabled" | "failureCode" | "kind" | "preparationId" | "providerKey" | "providerKeys" | "providerKeys.attach" | "providerKeys.create" | "providerKeys.disable" | "providerKeys.enable" | "receipt" | "receipt.customerAccount" | "receipt.paymentMethodId" | "receipt.paymentMethodTypes" | "receipt.providerApiVersion" | "receipt.stripeSubscriptionId" | "scopeKey" | "state" | "version">, {
3241
+ execution: import("convex/values").VObject<{
3242
+ apply?: {
3243
+ receipt?: {
3244
+ customerAccount: string;
3245
+ enabled?: boolean | undefined;
3246
+ paymentMethodId: string | null;
3247
+ paymentMethodTypes?: string[] | null | undefined;
3248
+ phase: "apply" | "attach" | "create";
3249
+ providerApiVersion: string;
3250
+ stripeSubscriptionId: string;
3251
+ } | undefined;
3252
+ state: "running" | "succeeded" | "unknown";
3253
+ } | undefined;
3254
+ attach?: {
3255
+ receipt?: {
3256
+ customerAccount: string;
3257
+ enabled?: boolean | undefined;
3258
+ paymentMethodId: string | null;
3259
+ paymentMethodTypes?: string[] | null | undefined;
3260
+ phase: "apply" | "attach" | "create";
3261
+ providerApiVersion: string;
3262
+ stripeSubscriptionId: string;
3263
+ } | undefined;
3264
+ state: "running" | "succeeded" | "unknown";
3265
+ } | undefined;
3266
+ create?: {
3267
+ receipt?: {
3268
+ customerAccount: string;
3269
+ enabled?: boolean | undefined;
3270
+ paymentMethodId: string | null;
3271
+ paymentMethodTypes?: string[] | null | undefined;
3272
+ phase: "apply" | "attach" | "create";
3273
+ providerApiVersion: string;
3274
+ stripeSubscriptionId: string;
3275
+ } | undefined;
3276
+ state: "running" | "succeeded" | "unknown";
3277
+ } | undefined;
3278
+ definitionVersion: string;
3279
+ providerAction: string;
3280
+ providerApiVersion: string;
3281
+ workflowId?: string | undefined;
3282
+ } | undefined, {
3283
+ workflowId: import("convex/values").VString<string | undefined, "optional">;
3284
+ definitionVersion: import("convex/values").VString<string, "required">;
3285
+ providerApiVersion: import("convex/values").VString<string, "required">;
3286
+ providerAction: import("convex/values").VString<string, "required">;
3287
+ create: import("convex/values").VObject<{
3288
+ receipt?: {
3289
+ customerAccount: string;
3290
+ enabled?: boolean | undefined;
3291
+ paymentMethodId: string | null;
3292
+ paymentMethodTypes?: string[] | null | undefined;
3293
+ phase: "apply" | "attach" | "create";
3294
+ providerApiVersion: string;
3295
+ stripeSubscriptionId: string;
3296
+ } | undefined;
3297
+ state: "running" | "succeeded" | "unknown";
3298
+ } | undefined, {
3299
+ state: import("convex/values").VUnion<"running" | "succeeded" | "unknown", [import("convex/values").VLiteral<"running", "required">, import("convex/values").VLiteral<"unknown", "required">, import("convex/values").VLiteral<"succeeded", "required">], "required", never>;
3300
+ receipt: import("convex/values").VObject<{
3301
+ customerAccount: string;
3302
+ enabled?: boolean | undefined;
3303
+ paymentMethodId: string | null;
3304
+ paymentMethodTypes?: string[] | null | undefined;
3305
+ phase: "apply" | "attach" | "create";
3306
+ providerApiVersion: string;
3307
+ stripeSubscriptionId: string;
3308
+ } | undefined, {
3309
+ phase: import("convex/values").VUnion<"apply" | "attach" | "create", [import("convex/values").VLiteral<"create", "required">, import("convex/values").VLiteral<"attach", "required">, import("convex/values").VLiteral<"apply", "required">], "required", never>;
3310
+ customerAccount: import("convex/values").VString<string, "required">;
3311
+ stripeSubscriptionId: import("convex/values").VString<string, "required">;
3312
+ paymentMethodId: import("convex/values").VUnion<string | null, [import("convex/values").VString<string, "required">, import("convex/values").VNull<null, "required">], "required", never>;
3313
+ paymentMethodTypes: 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>;
3314
+ enabled: import("convex/values").VBoolean<boolean | undefined, "optional">;
3315
+ providerApiVersion: import("convex/values").VString<string, "required">;
3316
+ }, "optional", "customerAccount" | "enabled" | "paymentMethodId" | "paymentMethodTypes" | "phase" | "providerApiVersion" | "stripeSubscriptionId">;
3317
+ }, "optional", "receipt" | "receipt.customerAccount" | "receipt.enabled" | "receipt.paymentMethodId" | "receipt.paymentMethodTypes" | "receipt.phase" | "receipt.providerApiVersion" | "receipt.stripeSubscriptionId" | "state">;
3318
+ attach: import("convex/values").VObject<{
3319
+ receipt?: {
3320
+ customerAccount: string;
3321
+ enabled?: boolean | undefined;
3322
+ paymentMethodId: string | null;
3323
+ paymentMethodTypes?: string[] | null | undefined;
3324
+ phase: "apply" | "attach" | "create";
3325
+ providerApiVersion: string;
3326
+ stripeSubscriptionId: string;
3327
+ } | undefined;
3328
+ state: "running" | "succeeded" | "unknown";
3329
+ } | undefined, {
3330
+ state: import("convex/values").VUnion<"running" | "succeeded" | "unknown", [import("convex/values").VLiteral<"running", "required">, import("convex/values").VLiteral<"unknown", "required">, import("convex/values").VLiteral<"succeeded", "required">], "required", never>;
3331
+ receipt: import("convex/values").VObject<{
3332
+ customerAccount: string;
3333
+ enabled?: boolean | undefined;
3334
+ paymentMethodId: string | null;
3335
+ paymentMethodTypes?: string[] | null | undefined;
3336
+ phase: "apply" | "attach" | "create";
3337
+ providerApiVersion: string;
3338
+ stripeSubscriptionId: string;
3339
+ } | undefined, {
3340
+ phase: import("convex/values").VUnion<"apply" | "attach" | "create", [import("convex/values").VLiteral<"create", "required">, import("convex/values").VLiteral<"attach", "required">, import("convex/values").VLiteral<"apply", "required">], "required", never>;
3341
+ customerAccount: import("convex/values").VString<string, "required">;
3342
+ stripeSubscriptionId: import("convex/values").VString<string, "required">;
3343
+ paymentMethodId: import("convex/values").VUnion<string | null, [import("convex/values").VString<string, "required">, import("convex/values").VNull<null, "required">], "required", never>;
3344
+ paymentMethodTypes: 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>;
3345
+ enabled: import("convex/values").VBoolean<boolean | undefined, "optional">;
3346
+ providerApiVersion: import("convex/values").VString<string, "required">;
3347
+ }, "optional", "customerAccount" | "enabled" | "paymentMethodId" | "paymentMethodTypes" | "phase" | "providerApiVersion" | "stripeSubscriptionId">;
3348
+ }, "optional", "receipt" | "receipt.customerAccount" | "receipt.enabled" | "receipt.paymentMethodId" | "receipt.paymentMethodTypes" | "receipt.phase" | "receipt.providerApiVersion" | "receipt.stripeSubscriptionId" | "state">;
3349
+ apply: import("convex/values").VObject<{
3350
+ receipt?: {
3351
+ customerAccount: string;
3352
+ enabled?: boolean | undefined;
3353
+ paymentMethodId: string | null;
3354
+ paymentMethodTypes?: string[] | null | undefined;
3355
+ phase: "apply" | "attach" | "create";
3356
+ providerApiVersion: string;
3357
+ stripeSubscriptionId: string;
3358
+ } | undefined;
3359
+ state: "running" | "succeeded" | "unknown";
3360
+ } | undefined, {
3361
+ state: import("convex/values").VUnion<"running" | "succeeded" | "unknown", [import("convex/values").VLiteral<"running", "required">, import("convex/values").VLiteral<"unknown", "required">, import("convex/values").VLiteral<"succeeded", "required">], "required", never>;
3362
+ receipt: import("convex/values").VObject<{
3363
+ customerAccount: string;
3364
+ enabled?: boolean | undefined;
3365
+ paymentMethodId: string | null;
3366
+ paymentMethodTypes?: string[] | null | undefined;
3367
+ phase: "apply" | "attach" | "create";
3368
+ providerApiVersion: string;
3369
+ stripeSubscriptionId: string;
3370
+ } | undefined, {
3371
+ phase: import("convex/values").VUnion<"apply" | "attach" | "create", [import("convex/values").VLiteral<"create", "required">, import("convex/values").VLiteral<"attach", "required">, import("convex/values").VLiteral<"apply", "required">], "required", never>;
3372
+ customerAccount: import("convex/values").VString<string, "required">;
3373
+ stripeSubscriptionId: import("convex/values").VString<string, "required">;
3374
+ paymentMethodId: import("convex/values").VUnion<string | null, [import("convex/values").VString<string, "required">, import("convex/values").VNull<null, "required">], "required", never>;
3375
+ paymentMethodTypes: 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>;
3376
+ enabled: import("convex/values").VBoolean<boolean | undefined, "optional">;
3377
+ providerApiVersion: import("convex/values").VString<string, "required">;
3378
+ }, "optional", "customerAccount" | "enabled" | "paymentMethodId" | "paymentMethodTypes" | "phase" | "providerApiVersion" | "stripeSubscriptionId">;
3379
+ }, "optional", "receipt" | "receipt.customerAccount" | "receipt.enabled" | "receipt.paymentMethodId" | "receipt.paymentMethodTypes" | "receipt.phase" | "receipt.providerApiVersion" | "receipt.stripeSubscriptionId" | "state">;
3380
+ }, "optional", "apply" | "apply.receipt" | "apply.receipt.customerAccount" | "apply.receipt.enabled" | "apply.receipt.paymentMethodId" | "apply.receipt.paymentMethodTypes" | "apply.receipt.phase" | "apply.receipt.providerApiVersion" | "apply.receipt.stripeSubscriptionId" | "apply.state" | "attach" | "attach.receipt" | "attach.receipt.customerAccount" | "attach.receipt.enabled" | "attach.receipt.paymentMethodId" | "attach.receipt.paymentMethodTypes" | "attach.receipt.phase" | "attach.receipt.providerApiVersion" | "attach.receipt.stripeSubscriptionId" | "attach.state" | "create" | "create.receipt" | "create.receipt.customerAccount" | "create.receipt.enabled" | "create.receipt.paymentMethodId" | "create.receipt.paymentMethodTypes" | "create.receipt.phase" | "create.receipt.providerApiVersion" | "create.receipt.stripeSubscriptionId" | "create.state" | "definitionVersion" | "providerAction" | "providerApiVersion" | "workflowId">;
3381
+ }, "required", "accountId" | "cancelRequested" | "enabled" | "execution" | "execution.apply" | "execution.apply.receipt" | "execution.apply.receipt.customerAccount" | "execution.apply.receipt.enabled" | "execution.apply.receipt.paymentMethodId" | "execution.apply.receipt.paymentMethodTypes" | "execution.apply.receipt.phase" | "execution.apply.receipt.providerApiVersion" | "execution.apply.receipt.stripeSubscriptionId" | "execution.apply.state" | "execution.attach" | "execution.attach.receipt" | "execution.attach.receipt.customerAccount" | "execution.attach.receipt.enabled" | "execution.attach.receipt.paymentMethodId" | "execution.attach.receipt.paymentMethodTypes" | "execution.attach.receipt.phase" | "execution.attach.receipt.providerApiVersion" | "execution.attach.receipt.stripeSubscriptionId" | "execution.attach.state" | "execution.create" | "execution.create.receipt" | "execution.create.receipt.customerAccount" | "execution.create.receipt.enabled" | "execution.create.receipt.paymentMethodId" | "execution.create.receipt.paymentMethodTypes" | "execution.create.receipt.phase" | "execution.create.receipt.providerApiVersion" | "execution.create.receipt.stripeSubscriptionId" | "execution.create.state" | "execution.definitionVersion" | "execution.providerAction" | "execution.providerApiVersion" | "execution.workflowId" | "failureCode" | "kind" | "preparationId" | "providerKey" | "providerKeys" | "providerKeys.attach" | "providerKeys.create" | "providerKeys.disable" | "providerKeys.enable" | "receipt" | "receipt.customerAccount" | "receipt.paymentMethodId" | "receipt.paymentMethodTypes" | "receipt.providerApiVersion" | "receipt.stripeSubscriptionId" | "scopeKey" | "state" | "version">, {
3018
3382
  by_preparation_version: ["preparationId", "version", "_creationTime"];
3019
3383
  }, {}, {}>;
3020
3384
  balanceFundingRequests: import("convex/server").TableDefinition<import("convex/values").VObject<{
@@ -1 +1 @@
1
- {"version":3,"file":"payoutLargeAdoptionTestHelpers.d.ts","sourceRoot":"","sources":["../../../src/client/connect/payoutLargeAdoptionTestHelpers.ts"],"names":[],"mappings":"AAGA,wBAAsB,KAAK,CAAC,KAAK,SAAM,EAAE,MAAM,SAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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