@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
@@ -281,6 +281,48 @@ export declare function setup(amounts?: number[], currency?: string): Promise<{
281
281
  accountId: string;
282
282
  cancelRequested: boolean;
283
283
  enabled: boolean;
284
+ execution?: {
285
+ apply?: {
286
+ receipt?: {
287
+ customerAccount: string;
288
+ enabled?: boolean | undefined;
289
+ paymentMethodId: string | null;
290
+ paymentMethodTypes?: string[] | null | undefined;
291
+ phase: "apply" | "attach" | "create";
292
+ providerApiVersion: string;
293
+ stripeSubscriptionId: string;
294
+ } | undefined;
295
+ state: "running" | "succeeded" | "unknown";
296
+ } | undefined;
297
+ attach?: {
298
+ receipt?: {
299
+ customerAccount: string;
300
+ enabled?: boolean | undefined;
301
+ paymentMethodId: string | null;
302
+ paymentMethodTypes?: string[] | null | undefined;
303
+ phase: "apply" | "attach" | "create";
304
+ providerApiVersion: string;
305
+ stripeSubscriptionId: string;
306
+ } | undefined;
307
+ state: "running" | "succeeded" | "unknown";
308
+ } | undefined;
309
+ create?: {
310
+ receipt?: {
311
+ customerAccount: string;
312
+ enabled?: boolean | undefined;
313
+ paymentMethodId: string | null;
314
+ paymentMethodTypes?: string[] | null | undefined;
315
+ phase: "apply" | "attach" | "create";
316
+ providerApiVersion: string;
317
+ stripeSubscriptionId: string;
318
+ } | undefined;
319
+ state: "running" | "succeeded" | "unknown";
320
+ } | undefined;
321
+ definitionVersion: string;
322
+ providerAction: string;
323
+ providerApiVersion: string;
324
+ workflowId?: string | undefined;
325
+ } | undefined;
284
326
  failureCode?: "invalid_scope" | "policy_invalid" | "unsupported_source" | undefined;
285
327
  kind: "apply" | "prepare";
286
328
  preparationId: import("convex/values").GenericId<"balanceFundingPreparations">;
@@ -336,7 +378,147 @@ export declare function setup(amounts?: number[], currency?: string): Promise<{
336
378
  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>;
337
379
  providerApiVersion: import("convex/values").VString<string, "required">;
338
380
  }, "optional", "customerAccount" | "paymentMethodId" | "paymentMethodTypes" | "providerApiVersion" | "stripeSubscriptionId">;
339
- }, "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">, {
381
+ execution: import("convex/values").VObject<{
382
+ apply?: {
383
+ receipt?: {
384
+ customerAccount: string;
385
+ enabled?: boolean | undefined;
386
+ paymentMethodId: string | null;
387
+ paymentMethodTypes?: string[] | null | undefined;
388
+ phase: "apply" | "attach" | "create";
389
+ providerApiVersion: string;
390
+ stripeSubscriptionId: string;
391
+ } | undefined;
392
+ state: "running" | "succeeded" | "unknown";
393
+ } | undefined;
394
+ attach?: {
395
+ receipt?: {
396
+ customerAccount: string;
397
+ enabled?: boolean | undefined;
398
+ paymentMethodId: string | null;
399
+ paymentMethodTypes?: string[] | null | undefined;
400
+ phase: "apply" | "attach" | "create";
401
+ providerApiVersion: string;
402
+ stripeSubscriptionId: string;
403
+ } | undefined;
404
+ state: "running" | "succeeded" | "unknown";
405
+ } | undefined;
406
+ create?: {
407
+ receipt?: {
408
+ customerAccount: string;
409
+ enabled?: boolean | undefined;
410
+ paymentMethodId: string | null;
411
+ paymentMethodTypes?: string[] | null | undefined;
412
+ phase: "apply" | "attach" | "create";
413
+ providerApiVersion: string;
414
+ stripeSubscriptionId: string;
415
+ } | undefined;
416
+ state: "running" | "succeeded" | "unknown";
417
+ } | undefined;
418
+ definitionVersion: string;
419
+ providerAction: string;
420
+ providerApiVersion: string;
421
+ workflowId?: string | undefined;
422
+ } | undefined, {
423
+ workflowId: import("convex/values").VString<string | undefined, "optional">;
424
+ definitionVersion: import("convex/values").VString<string, "required">;
425
+ providerApiVersion: import("convex/values").VString<string, "required">;
426
+ providerAction: import("convex/values").VString<string, "required">;
427
+ create: import("convex/values").VObject<{
428
+ receipt?: {
429
+ customerAccount: string;
430
+ enabled?: boolean | undefined;
431
+ paymentMethodId: string | null;
432
+ paymentMethodTypes?: string[] | null | undefined;
433
+ phase: "apply" | "attach" | "create";
434
+ providerApiVersion: string;
435
+ stripeSubscriptionId: string;
436
+ } | undefined;
437
+ state: "running" | "succeeded" | "unknown";
438
+ } | undefined, {
439
+ 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>;
440
+ receipt: import("convex/values").VObject<{
441
+ customerAccount: string;
442
+ enabled?: boolean | undefined;
443
+ paymentMethodId: string | null;
444
+ paymentMethodTypes?: string[] | null | undefined;
445
+ phase: "apply" | "attach" | "create";
446
+ providerApiVersion: string;
447
+ stripeSubscriptionId: string;
448
+ } | undefined, {
449
+ 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>;
450
+ customerAccount: import("convex/values").VString<string, "required">;
451
+ stripeSubscriptionId: import("convex/values").VString<string, "required">;
452
+ paymentMethodId: import("convex/values").VUnion<string | null, [import("convex/values").VString<string, "required">, import("convex/values").VNull<null, "required">], "required", never>;
453
+ 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>;
454
+ enabled: import("convex/values").VBoolean<boolean | undefined, "optional">;
455
+ providerApiVersion: import("convex/values").VString<string, "required">;
456
+ }, "optional", "customerAccount" | "enabled" | "paymentMethodId" | "paymentMethodTypes" | "phase" | "providerApiVersion" | "stripeSubscriptionId">;
457
+ }, "optional", "receipt" | "receipt.customerAccount" | "receipt.enabled" | "receipt.paymentMethodId" | "receipt.paymentMethodTypes" | "receipt.phase" | "receipt.providerApiVersion" | "receipt.stripeSubscriptionId" | "state">;
458
+ attach: import("convex/values").VObject<{
459
+ receipt?: {
460
+ customerAccount: string;
461
+ enabled?: boolean | undefined;
462
+ paymentMethodId: string | null;
463
+ paymentMethodTypes?: string[] | null | undefined;
464
+ phase: "apply" | "attach" | "create";
465
+ providerApiVersion: string;
466
+ stripeSubscriptionId: string;
467
+ } | undefined;
468
+ state: "running" | "succeeded" | "unknown";
469
+ } | undefined, {
470
+ 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>;
471
+ receipt: import("convex/values").VObject<{
472
+ customerAccount: string;
473
+ enabled?: boolean | undefined;
474
+ paymentMethodId: string | null;
475
+ paymentMethodTypes?: string[] | null | undefined;
476
+ phase: "apply" | "attach" | "create";
477
+ providerApiVersion: string;
478
+ stripeSubscriptionId: string;
479
+ } | undefined, {
480
+ 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>;
481
+ customerAccount: import("convex/values").VString<string, "required">;
482
+ stripeSubscriptionId: import("convex/values").VString<string, "required">;
483
+ paymentMethodId: import("convex/values").VUnion<string | null, [import("convex/values").VString<string, "required">, import("convex/values").VNull<null, "required">], "required", never>;
484
+ 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>;
485
+ enabled: import("convex/values").VBoolean<boolean | undefined, "optional">;
486
+ providerApiVersion: import("convex/values").VString<string, "required">;
487
+ }, "optional", "customerAccount" | "enabled" | "paymentMethodId" | "paymentMethodTypes" | "phase" | "providerApiVersion" | "stripeSubscriptionId">;
488
+ }, "optional", "receipt" | "receipt.customerAccount" | "receipt.enabled" | "receipt.paymentMethodId" | "receipt.paymentMethodTypes" | "receipt.phase" | "receipt.providerApiVersion" | "receipt.stripeSubscriptionId" | "state">;
489
+ apply: import("convex/values").VObject<{
490
+ receipt?: {
491
+ customerAccount: string;
492
+ enabled?: boolean | undefined;
493
+ paymentMethodId: string | null;
494
+ paymentMethodTypes?: string[] | null | undefined;
495
+ phase: "apply" | "attach" | "create";
496
+ providerApiVersion: string;
497
+ stripeSubscriptionId: string;
498
+ } | undefined;
499
+ state: "running" | "succeeded" | "unknown";
500
+ } | undefined, {
501
+ 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>;
502
+ receipt: import("convex/values").VObject<{
503
+ customerAccount: string;
504
+ enabled?: boolean | undefined;
505
+ paymentMethodId: string | null;
506
+ paymentMethodTypes?: string[] | null | undefined;
507
+ phase: "apply" | "attach" | "create";
508
+ providerApiVersion: string;
509
+ stripeSubscriptionId: string;
510
+ } | undefined, {
511
+ 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>;
512
+ customerAccount: import("convex/values").VString<string, "required">;
513
+ stripeSubscriptionId: import("convex/values").VString<string, "required">;
514
+ paymentMethodId: import("convex/values").VUnion<string | null, [import("convex/values").VString<string, "required">, import("convex/values").VNull<null, "required">], "required", never>;
515
+ 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>;
516
+ enabled: import("convex/values").VBoolean<boolean | undefined, "optional">;
517
+ providerApiVersion: import("convex/values").VString<string, "required">;
518
+ }, "optional", "customerAccount" | "enabled" | "paymentMethodId" | "paymentMethodTypes" | "phase" | "providerApiVersion" | "stripeSubscriptionId">;
519
+ }, "optional", "receipt" | "receipt.customerAccount" | "receipt.enabled" | "receipt.paymentMethodId" | "receipt.paymentMethodTypes" | "receipt.phase" | "receipt.providerApiVersion" | "receipt.stripeSubscriptionId" | "state">;
520
+ }, "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">;
521
+ }, "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">, {
340
522
  by_preparation_version: ["preparationId", "version", "_creationTime"];
341
523
  }, {}, {}>;
342
524
  balanceFundingRequests: import("convex/server").TableDefinition<import("convex/values").VObject<{
@@ -2967,6 +3149,48 @@ export declare function historical(currency?: string): Promise<{
2967
3149
  accountId: string;
2968
3150
  cancelRequested: boolean;
2969
3151
  enabled: boolean;
3152
+ execution?: {
3153
+ apply?: {
3154
+ receipt?: {
3155
+ customerAccount: string;
3156
+ enabled?: boolean | undefined;
3157
+ paymentMethodId: string | null;
3158
+ paymentMethodTypes?: string[] | null | undefined;
3159
+ phase: "apply" | "attach" | "create";
3160
+ providerApiVersion: string;
3161
+ stripeSubscriptionId: string;
3162
+ } | undefined;
3163
+ state: "running" | "succeeded" | "unknown";
3164
+ } | undefined;
3165
+ attach?: {
3166
+ receipt?: {
3167
+ customerAccount: string;
3168
+ enabled?: boolean | undefined;
3169
+ paymentMethodId: string | null;
3170
+ paymentMethodTypes?: string[] | null | undefined;
3171
+ phase: "apply" | "attach" | "create";
3172
+ providerApiVersion: string;
3173
+ stripeSubscriptionId: string;
3174
+ } | undefined;
3175
+ state: "running" | "succeeded" | "unknown";
3176
+ } | undefined;
3177
+ create?: {
3178
+ receipt?: {
3179
+ customerAccount: string;
3180
+ enabled?: boolean | undefined;
3181
+ paymentMethodId: string | null;
3182
+ paymentMethodTypes?: string[] | null | undefined;
3183
+ phase: "apply" | "attach" | "create";
3184
+ providerApiVersion: string;
3185
+ stripeSubscriptionId: string;
3186
+ } | undefined;
3187
+ state: "running" | "succeeded" | "unknown";
3188
+ } | undefined;
3189
+ definitionVersion: string;
3190
+ providerAction: string;
3191
+ providerApiVersion: string;
3192
+ workflowId?: string | undefined;
3193
+ } | undefined;
2970
3194
  failureCode?: "invalid_scope" | "policy_invalid" | "unsupported_source" | undefined;
2971
3195
  kind: "apply" | "prepare";
2972
3196
  preparationId: import("convex/values").GenericId<"balanceFundingPreparations">;
@@ -3022,7 +3246,147 @@ export declare function historical(currency?: string): Promise<{
3022
3246
  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>;
3023
3247
  providerApiVersion: import("convex/values").VString<string, "required">;
3024
3248
  }, "optional", "customerAccount" | "paymentMethodId" | "paymentMethodTypes" | "providerApiVersion" | "stripeSubscriptionId">;
3025
- }, "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">, {
3249
+ execution: import("convex/values").VObject<{
3250
+ apply?: {
3251
+ receipt?: {
3252
+ customerAccount: string;
3253
+ enabled?: boolean | undefined;
3254
+ paymentMethodId: string | null;
3255
+ paymentMethodTypes?: string[] | null | undefined;
3256
+ phase: "apply" | "attach" | "create";
3257
+ providerApiVersion: string;
3258
+ stripeSubscriptionId: string;
3259
+ } | undefined;
3260
+ state: "running" | "succeeded" | "unknown";
3261
+ } | undefined;
3262
+ attach?: {
3263
+ receipt?: {
3264
+ customerAccount: string;
3265
+ enabled?: boolean | undefined;
3266
+ paymentMethodId: string | null;
3267
+ paymentMethodTypes?: string[] | null | undefined;
3268
+ phase: "apply" | "attach" | "create";
3269
+ providerApiVersion: string;
3270
+ stripeSubscriptionId: string;
3271
+ } | undefined;
3272
+ state: "running" | "succeeded" | "unknown";
3273
+ } | undefined;
3274
+ create?: {
3275
+ receipt?: {
3276
+ customerAccount: string;
3277
+ enabled?: boolean | undefined;
3278
+ paymentMethodId: string | null;
3279
+ paymentMethodTypes?: string[] | null | undefined;
3280
+ phase: "apply" | "attach" | "create";
3281
+ providerApiVersion: string;
3282
+ stripeSubscriptionId: string;
3283
+ } | undefined;
3284
+ state: "running" | "succeeded" | "unknown";
3285
+ } | undefined;
3286
+ definitionVersion: string;
3287
+ providerAction: string;
3288
+ providerApiVersion: string;
3289
+ workflowId?: string | undefined;
3290
+ } | undefined, {
3291
+ workflowId: import("convex/values").VString<string | undefined, "optional">;
3292
+ definitionVersion: import("convex/values").VString<string, "required">;
3293
+ providerApiVersion: import("convex/values").VString<string, "required">;
3294
+ providerAction: import("convex/values").VString<string, "required">;
3295
+ create: import("convex/values").VObject<{
3296
+ receipt?: {
3297
+ customerAccount: string;
3298
+ enabled?: boolean | undefined;
3299
+ paymentMethodId: string | null;
3300
+ paymentMethodTypes?: string[] | null | undefined;
3301
+ phase: "apply" | "attach" | "create";
3302
+ providerApiVersion: string;
3303
+ stripeSubscriptionId: string;
3304
+ } | undefined;
3305
+ state: "running" | "succeeded" | "unknown";
3306
+ } | undefined, {
3307
+ 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>;
3308
+ receipt: import("convex/values").VObject<{
3309
+ customerAccount: string;
3310
+ enabled?: boolean | undefined;
3311
+ paymentMethodId: string | null;
3312
+ paymentMethodTypes?: string[] | null | undefined;
3313
+ phase: "apply" | "attach" | "create";
3314
+ providerApiVersion: string;
3315
+ stripeSubscriptionId: string;
3316
+ } | undefined, {
3317
+ 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>;
3318
+ customerAccount: import("convex/values").VString<string, "required">;
3319
+ stripeSubscriptionId: import("convex/values").VString<string, "required">;
3320
+ paymentMethodId: import("convex/values").VUnion<string | null, [import("convex/values").VString<string, "required">, import("convex/values").VNull<null, "required">], "required", never>;
3321
+ 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>;
3322
+ enabled: import("convex/values").VBoolean<boolean | undefined, "optional">;
3323
+ providerApiVersion: import("convex/values").VString<string, "required">;
3324
+ }, "optional", "customerAccount" | "enabled" | "paymentMethodId" | "paymentMethodTypes" | "phase" | "providerApiVersion" | "stripeSubscriptionId">;
3325
+ }, "optional", "receipt" | "receipt.customerAccount" | "receipt.enabled" | "receipt.paymentMethodId" | "receipt.paymentMethodTypes" | "receipt.phase" | "receipt.providerApiVersion" | "receipt.stripeSubscriptionId" | "state">;
3326
+ attach: import("convex/values").VObject<{
3327
+ receipt?: {
3328
+ customerAccount: string;
3329
+ enabled?: boolean | undefined;
3330
+ paymentMethodId: string | null;
3331
+ paymentMethodTypes?: string[] | null | undefined;
3332
+ phase: "apply" | "attach" | "create";
3333
+ providerApiVersion: string;
3334
+ stripeSubscriptionId: string;
3335
+ } | undefined;
3336
+ state: "running" | "succeeded" | "unknown";
3337
+ } | undefined, {
3338
+ 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>;
3339
+ receipt: import("convex/values").VObject<{
3340
+ customerAccount: string;
3341
+ enabled?: boolean | undefined;
3342
+ paymentMethodId: string | null;
3343
+ paymentMethodTypes?: string[] | null | undefined;
3344
+ phase: "apply" | "attach" | "create";
3345
+ providerApiVersion: string;
3346
+ stripeSubscriptionId: string;
3347
+ } | undefined, {
3348
+ 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>;
3349
+ customerAccount: import("convex/values").VString<string, "required">;
3350
+ stripeSubscriptionId: import("convex/values").VString<string, "required">;
3351
+ paymentMethodId: import("convex/values").VUnion<string | null, [import("convex/values").VString<string, "required">, import("convex/values").VNull<null, "required">], "required", never>;
3352
+ 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>;
3353
+ enabled: import("convex/values").VBoolean<boolean | undefined, "optional">;
3354
+ providerApiVersion: import("convex/values").VString<string, "required">;
3355
+ }, "optional", "customerAccount" | "enabled" | "paymentMethodId" | "paymentMethodTypes" | "phase" | "providerApiVersion" | "stripeSubscriptionId">;
3356
+ }, "optional", "receipt" | "receipt.customerAccount" | "receipt.enabled" | "receipt.paymentMethodId" | "receipt.paymentMethodTypes" | "receipt.phase" | "receipt.providerApiVersion" | "receipt.stripeSubscriptionId" | "state">;
3357
+ apply: import("convex/values").VObject<{
3358
+ receipt?: {
3359
+ customerAccount: string;
3360
+ enabled?: boolean | undefined;
3361
+ paymentMethodId: string | null;
3362
+ paymentMethodTypes?: string[] | null | undefined;
3363
+ phase: "apply" | "attach" | "create";
3364
+ providerApiVersion: string;
3365
+ stripeSubscriptionId: string;
3366
+ } | undefined;
3367
+ state: "running" | "succeeded" | "unknown";
3368
+ } | undefined, {
3369
+ 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>;
3370
+ receipt: import("convex/values").VObject<{
3371
+ customerAccount: string;
3372
+ enabled?: boolean | undefined;
3373
+ paymentMethodId: string | null;
3374
+ paymentMethodTypes?: string[] | null | undefined;
3375
+ phase: "apply" | "attach" | "create";
3376
+ providerApiVersion: string;
3377
+ stripeSubscriptionId: string;
3378
+ } | undefined, {
3379
+ 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>;
3380
+ customerAccount: import("convex/values").VString<string, "required">;
3381
+ stripeSubscriptionId: import("convex/values").VString<string, "required">;
3382
+ paymentMethodId: import("convex/values").VUnion<string | null, [import("convex/values").VString<string, "required">, import("convex/values").VNull<null, "required">], "required", never>;
3383
+ 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>;
3384
+ enabled: import("convex/values").VBoolean<boolean | undefined, "optional">;
3385
+ providerApiVersion: import("convex/values").VString<string, "required">;
3386
+ }, "optional", "customerAccount" | "enabled" | "paymentMethodId" | "paymentMethodTypes" | "phase" | "providerApiVersion" | "stripeSubscriptionId">;
3387
+ }, "optional", "receipt" | "receipt.customerAccount" | "receipt.enabled" | "receipt.paymentMethodId" | "receipt.paymentMethodTypes" | "receipt.phase" | "receipt.providerApiVersion" | "receipt.stripeSubscriptionId" | "state">;
3388
+ }, "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">;
3389
+ }, "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">, {
3026
3390
  by_preparation_version: ["preparationId", "version", "_creationTime"];
3027
3391
  }, {}, {}>;
3028
3392
  balanceFundingRequests: import("convex/server").TableDefinition<import("convex/values").VObject<{
@@ -1 +1 @@
1
- {"version":3,"file":"payoutAdoptionTestHelpers.d.ts","sourceRoot":"","sources":["../../../src/client/connect/payoutAdoptionTestHelpers.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAKvD,eAAO,MAAM,SAAS,EAIN,SAAS,CAAC;AAC1B,eAAO,MAAM,KAAK;IAChB,SAAS;IACT,QAAQ;IACR,YAAY;IACZ,QAAQ;IACR,sBAAsB;CACvB,CAAC;AACF,wBAAsB,KAAK,CAAC,OAAO,WAAa,EAAE,QAAQ,SAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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