@fantastic.dev/better-stripe 0.34.0 → 0.35.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.
- package/CHANGELOG.md +35 -0
- package/README.md +1 -1
- package/dist/client/connect/payoutAdoptionTestHelpers.d.ts +486 -2
- package/dist/client/connect/payoutAdoptionTestHelpers.d.ts.map +1 -1
- package/dist/client/connect/payoutExecutionTestHelpers.d.ts +243 -1
- package/dist/client/connect/payoutExecutionTestHelpers.d.ts.map +1 -1
- package/dist/client/connect/payoutLargeAdoptionTestHelpers.d.ts +486 -2
- package/dist/client/connect/payoutLargeAdoptionTestHelpers.d.ts.map +1 -1
- package/dist/client/connect/payoutSyncTestHelpers.d.ts +243 -1
- package/dist/client/connect/payoutSyncTestHelpers.d.ts.map +1 -1
- package/dist/client/connect/refundCommandEvidence.d.ts +14 -0
- package/dist/client/connect/refundCommandEvidence.d.ts.map +1 -0
- package/dist/client/connect/refundCommandEvidence.js +20 -0
- package/dist/client/connect/refundCommandEvidence.js.map +1 -0
- package/dist/client/connect/refundCommandNormalization.d.ts +11 -0
- package/dist/client/connect/refundCommandNormalization.d.ts.map +1 -0
- package/dist/client/connect/refundCommandNormalization.js +12 -0
- package/dist/client/connect/refundCommandNormalization.js.map +1 -0
- package/dist/client/financialObservations.d.ts +42 -0
- package/dist/client/financialObservations.d.ts.map +1 -0
- package/dist/client/financialObservations.js +58 -0
- package/dist/client/financialObservations.js.map +1 -0
- package/dist/client/financialOwnership.d.ts +52 -0
- package/dist/client/financialOwnership.d.ts.map +1 -0
- package/dist/client/financialOwnership.js +72 -0
- package/dist/client/financialOwnership.js.map +1 -0
- package/dist/client/index.d.ts +2 -2
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +2 -2
- package/dist/client/index.js.map +1 -1
- package/dist/client/observationPagination.d.ts +10 -0
- package/dist/client/observationPagination.d.ts.map +1 -0
- package/dist/client/observationPagination.js +12 -0
- package/dist/client/observationPagination.js.map +1 -0
- package/dist/client/publicTypes.d.ts +5 -0
- package/dist/client/publicTypes.d.ts.map +1 -1
- package/dist/client/readContracts.d.ts +29 -0
- package/dist/client/readContracts.d.ts.map +1 -1
- package/dist/client/readContracts.js +10 -0
- package/dist/client/readContracts.js.map +1 -1
- package/dist/client/transferObservations.d.ts +59 -0
- package/dist/client/transferObservations.d.ts.map +1 -0
- package/dist/client/transferObservations.js +82 -0
- package/dist/client/transferObservations.js.map +1 -0
- package/dist/component/_generated/component.d.ts +506 -0
- package/dist/component/_generated/component.d.ts.map +1 -1
- package/dist/component/affiliateRecovery/mutations.d.ts.map +1 -1
- package/dist/component/affiliateRecovery/mutations.js +4 -1
- package/dist/component/affiliateRecovery/mutations.js.map +1 -1
- package/dist/component/connect/mutations.d.ts.map +1 -1
- package/dist/component/connect/mutations.js +18 -2
- package/dist/component/connect/mutations.js.map +1 -1
- package/dist/component/connect/queries.d.ts +8 -0
- package/dist/component/connect/queries.d.ts.map +1 -1
- package/dist/component/connect/reversalClaims.d.ts.map +1 -1
- package/dist/component/connect/reversalClaims.js +7 -1
- package/dist/component/connect/reversalClaims.js.map +1 -1
- package/dist/component/connect/reversalReceipts.d.ts.map +1 -1
- package/dist/component/connect/reversalReceipts.js +2 -0
- package/dist/component/connect/reversalReceipts.js.map +1 -1
- package/dist/component/connect/schema.d.ts +11 -1
- package/dist/component/connect/schema.d.ts.map +1 -1
- package/dist/component/connect/schema.js +9 -1
- package/dist/component/connect/schema.js.map +1 -1
- package/dist/component/connect/validators.d.ts +9 -1
- package/dist/component/connect/validators.d.ts.map +1 -1
- package/dist/component/connect/validators.js +2 -0
- package/dist/component/connect/validators.js.map +1 -1
- package/dist/component/earnings/triggers.d.ts +426 -2
- package/dist/component/earnings/triggers.d.ts.map +1 -1
- package/dist/component/earnings/triggers.js +7 -1
- package/dist/component/earnings/triggers.js.map +1 -1
- package/dist/component/financialObservations/continuation.d.ts +7 -0
- package/dist/component/financialObservations/continuation.d.ts.map +1 -0
- package/dist/component/financialObservations/continuation.js +131 -0
- package/dist/component/financialObservations/continuation.js.map +1 -0
- package/dist/component/financialObservations/generations.d.ts +6 -0
- package/dist/component/financialObservations/generations.d.ts.map +1 -0
- package/dist/component/financialObservations/generations.js +46 -0
- package/dist/component/financialObservations/generations.js.map +1 -0
- package/dist/component/financialObservations/mutations.d.ts +62 -0
- package/dist/component/financialObservations/mutations.d.ts.map +1 -0
- package/dist/component/financialObservations/mutations.js +69 -0
- package/dist/component/financialObservations/mutations.js.map +1 -0
- package/dist/component/financialObservations/queries.d.ts +307 -0
- package/dist/component/financialObservations/queries.d.ts.map +1 -0
- package/dist/component/financialObservations/queries.js +219 -0
- package/dist/component/financialObservations/queries.js.map +1 -0
- package/dist/component/financialObservations/schema.d.ts +182 -0
- package/dist/component/financialObservations/schema.d.ts.map +1 -0
- package/dist/component/financialObservations/schema.js +53 -0
- package/dist/component/financialObservations/schema.js.map +1 -0
- package/dist/component/financialObservations/settlement.d.ts +7 -0
- package/dist/component/financialObservations/settlement.d.ts.map +1 -0
- package/dist/component/financialObservations/settlement.js +118 -0
- package/dist/component/financialObservations/settlement.js.map +1 -0
- package/dist/component/financialObservations/settlementHelpers.d.ts +46 -0
- package/dist/component/financialObservations/settlementHelpers.d.ts.map +1 -0
- package/dist/component/financialObservations/settlementHelpers.js +70 -0
- package/dist/component/financialObservations/settlementHelpers.js.map +1 -0
- package/dist/component/financialObservations/transferBatches.d.ts +12 -0
- package/dist/component/financialObservations/transferBatches.d.ts.map +1 -0
- package/dist/component/financialObservations/transferBatches.js +76 -0
- package/dist/component/financialObservations/transferBatches.js.map +1 -0
- package/dist/component/financialObservations/transferContinuation.d.ts +5 -0
- package/dist/component/financialObservations/transferContinuation.d.ts.map +1 -0
- package/dist/component/financialObservations/transferContinuation.js +35 -0
- package/dist/component/financialObservations/transferContinuation.js.map +1 -0
- package/dist/component/financialObservations/transferContinuationState.d.ts +8 -0
- package/dist/component/financialObservations/transferContinuationState.d.ts.map +1 -0
- package/dist/component/financialObservations/transferContinuationState.js +69 -0
- package/dist/component/financialObservations/transferContinuationState.js.map +1 -0
- package/dist/component/financialObservations/transferContinuationSteps.d.ts +5 -0
- package/dist/component/financialObservations/transferContinuationSteps.d.ts.map +1 -0
- package/dist/component/financialObservations/transferContinuationSteps.js +174 -0
- package/dist/component/financialObservations/transferContinuationSteps.js.map +1 -0
- package/dist/component/financialObservations/transferHelpers.d.ts +18 -0
- package/dist/component/financialObservations/transferHelpers.d.ts.map +1 -0
- package/dist/component/financialObservations/transferHelpers.js +37 -0
- package/dist/component/financialObservations/transferHelpers.js.map +1 -0
- package/dist/component/financialObservations/transferReferenceSchema.d.ts +56 -0
- package/dist/component/financialObservations/transferReferenceSchema.d.ts.map +1 -0
- package/dist/component/financialObservations/transferReferenceSchema.js +21 -0
- package/dist/component/financialObservations/transferReferenceSchema.js.map +1 -0
- package/dist/component/financialObservations/transferSchema.d.ts +237 -0
- package/dist/component/financialObservations/transferSchema.d.ts.map +1 -0
- package/dist/component/financialObservations/transferSchema.js +65 -0
- package/dist/component/financialObservations/transferSchema.js.map +1 -0
- package/dist/component/financialObservations/transfers.d.ts +7 -0
- package/dist/component/financialObservations/transfers.d.ts.map +1 -0
- package/dist/component/financialObservations/transfers.js +79 -0
- package/dist/component/financialObservations/transfers.js.map +1 -0
- package/dist/component/financialOwnership/helpers.d.ts +37 -0
- package/dist/component/financialOwnership/helpers.d.ts.map +1 -0
- package/dist/component/financialOwnership/helpers.js +76 -0
- package/dist/component/financialOwnership/helpers.js.map +1 -0
- package/dist/component/financialOwnership/mutations.d.ts +28 -0
- package/dist/component/financialOwnership/mutations.d.ts.map +1 -0
- package/dist/component/financialOwnership/mutations.js +74 -0
- package/dist/component/financialOwnership/mutations.js.map +1 -0
- package/dist/component/financialOwnership/queries.d.ts +57 -0
- package/dist/component/financialOwnership/queries.d.ts.map +1 -0
- package/dist/component/financialOwnership/queries.js +50 -0
- package/dist/component/financialOwnership/queries.js.map +1 -0
- package/dist/component/financialOwnership/schema.d.ts +140 -0
- package/dist/component/financialOwnership/schema.d.ts.map +1 -0
- package/dist/component/financialOwnership/schema.js +35 -0
- package/dist/component/financialOwnership/schema.js.map +1 -0
- package/dist/component/payoutRelease/queries.d.ts +2 -2
- package/dist/component/payoutRelease/queries.d.ts.map +1 -1
- package/dist/component/refundHistory/commandBinding.d.ts +17 -0
- package/dist/component/refundHistory/commandBinding.d.ts.map +1 -0
- package/dist/component/refundHistory/commandBinding.js +41 -0
- package/dist/component/refundHistory/commandBinding.js.map +1 -0
- package/dist/component/refundHistory/commandEvidence.d.ts +50 -0
- package/dist/component/refundHistory/commandEvidence.d.ts.map +1 -0
- package/dist/component/refundHistory/commandEvidence.js +54 -0
- package/dist/component/refundHistory/commandEvidence.js.map +1 -0
- package/dist/component/refundHistory/commandEvidenceValidator.d.ts +89 -0
- package/dist/component/refundHistory/commandEvidenceValidator.d.ts.map +1 -0
- package/dist/component/refundHistory/commandEvidenceValidator.js +8 -0
- package/dist/component/refundHistory/commandEvidenceValidator.js.map +1 -0
- package/dist/component/refundHistory/commandFields.d.ts +8 -0
- package/dist/component/refundHistory/commandFields.d.ts.map +1 -0
- package/dist/component/refundHistory/commandFields.js +9 -0
- package/dist/component/refundHistory/commandFields.js.map +1 -0
- package/dist/component/refundHistory/mutations.d.ts +8 -0
- package/dist/component/refundHistory/mutations.d.ts.map +1 -0
- package/dist/component/refundHistory/mutations.js +25 -0
- package/dist/component/refundHistory/mutations.js.map +1 -0
- package/dist/component/refundHistory/queries.d.ts +51 -0
- package/dist/component/refundHistory/queries.d.ts.map +1 -1
- package/dist/component/refundHistory/queries.js +14 -0
- package/dist/component/refundHistory/queries.js.map +1 -1
- package/dist/component/schema.d.ts +243 -1
- package/dist/component/schema.js +12 -0
- package/dist/component/schema.js.map +1 -1
- package/dist/component/settlement/mutations.d.ts.map +1 -1
- package/dist/component/settlement/mutations.js +5 -1
- package/dist/component/settlement/mutations.js.map +1 -1
- package/dist/shared/refundCommandScope.d.ts +10 -0
- package/dist/shared/refundCommandScope.d.ts.map +1 -0
- package/dist/shared/refundCommandScope.js +9 -0
- package/dist/shared/refundCommandScope.js.map +1 -0
- package/docs/financial-observations.md +159 -0
- package/docs/financial-ownership.md +54 -0
- package/docs/refund-command-evidence.md +49 -0
- package/package.json +5 -2
- package/src/client/connect/refundCommandEvidence.ts +41 -0
- package/src/client/connect/refundCommandNormalization.ts +28 -0
- package/src/client/financialObservations.test.ts +109 -0
- package/src/client/financialObservations.ts +106 -0
- package/src/client/financialOwnership.test.ts +80 -0
- package/src/client/financialOwnership.ts +116 -0
- package/src/client/index.ts +2 -2
- package/src/client/observationPagination.ts +11 -0
- package/src/client/publicTypes.ts +37 -0
- package/src/client/readContracts.ts +21 -0
- package/src/client/refund-command-evidence.test.ts +68 -0
- package/src/client/refund-command-normalization.test.ts +61 -0
- package/src/client/transferContinuation.test.ts +94 -0
- package/src/client/transferObservations.test.ts +98 -0
- package/src/client/transferObservations.ts +180 -0
- package/src/component/_generated/api.ts +44 -0
- package/src/component/_generated/component.ts +590 -0
- package/src/component/affiliateRecovery/mutations.ts +10 -1
- package/src/component/connect/mutations.ts +29 -2
- package/src/component/connect/reversalClaims.ts +19 -1
- package/src/component/connect/reversalReceipts.ts +2 -0
- package/src/component/connect/schema.ts +9 -1
- package/src/component/connect/validators.ts +2 -0
- package/src/component/core/reset.test.ts +8 -1
- package/src/component/earnings/earnings-totals.test.ts +14 -10
- package/src/component/earnings/triggers.ts +9 -1
- package/src/component/financialObservations/continuation.test.ts +445 -0
- package/src/component/financialObservations/continuation.ts +159 -0
- package/src/component/financialObservations/generations.ts +53 -0
- package/src/component/financialObservations/mutations.ts +75 -0
- package/src/component/financialObservations/observation-boundaries.test.ts +466 -0
- package/src/component/financialObservations/queries.ts +246 -0
- package/src/component/financialObservations/schema.ts +68 -0
- package/src/component/financialObservations/settlement-observations.test.ts +86 -0
- package/src/component/financialObservations/settlement.ts +142 -0
- package/src/component/financialObservations/settlementHelpers.ts +92 -0
- package/src/component/financialObservations/transfer-batches.test.ts +61 -0
- package/src/component/financialObservations/transfer-boundaries.test.ts +116 -0
- package/src/component/financialObservations/transfer-continuation-guards.test.ts +428 -0
- package/src/component/financialObservations/transfer-continuation.test.ts +154 -0
- package/src/component/financialObservations/transfer-observations.test.ts +212 -0
- package/src/component/financialObservations/transfer-overflow.test.ts +181 -0
- package/src/component/financialObservations/transfer-writers.test.ts +162 -0
- package/src/component/financialObservations/transferBatches.ts +96 -0
- package/src/component/financialObservations/transferContinuation.ts +53 -0
- package/src/component/financialObservations/transferContinuationState.ts +85 -0
- package/src/component/financialObservations/transferContinuationSteps.ts +232 -0
- package/src/component/financialObservations/transferHelpers.ts +38 -0
- package/src/component/financialObservations/transferReferenceSchema.ts +20 -0
- package/src/component/financialObservations/transferSchema.ts +74 -0
- package/src/component/financialObservations/transfers.ts +99 -0
- package/src/component/financialOwnership/financial-ownership.test.ts +102 -0
- package/src/component/financialOwnership/helpers.ts +98 -0
- package/src/component/financialOwnership/mutations.ts +83 -0
- package/src/component/financialOwnership/ownership-boundaries.test.ts +308 -0
- package/src/component/financialOwnership/queries.ts +65 -0
- package/src/component/financialOwnership/schema.ts +35 -0
- package/src/component/refundHistory/command-evidence.test.ts +288 -0
- package/src/component/refundHistory/command-normalization-resource.test.ts +77 -0
- package/src/component/refundHistory/command-normalization.test.ts +229 -0
- package/src/component/refundHistory/command-provenance.test.ts +59 -0
- package/src/component/refundHistory/commandBinding.ts +54 -0
- package/src/component/refundHistory/commandEvidence.ts +71 -0
- package/src/component/refundHistory/commandEvidenceValidator.ts +18 -0
- package/src/component/refundHistory/commandFields.ts +9 -0
- package/src/component/refundHistory/mutations.ts +33 -0
- package/src/component/refundHistory/queries.ts +15 -0
- package/src/component/schema.ts +22 -0
- package/src/component/settlement/mutations.ts +5 -1
- package/src/shared/refundCommandScope.ts +19 -0
|
@@ -9,6 +9,238 @@ export declare const scope: {
|
|
|
9
9
|
};
|
|
10
10
|
export declare function setup(amounts?: number[], currency?: string): Promise<{
|
|
11
11
|
t: import("convex-test").TestConvex<import("convex/server").SchemaDefinition<{
|
|
12
|
+
financialTransferObservations: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
13
|
+
bucketKey: string;
|
|
14
|
+
fingerprint: string;
|
|
15
|
+
generation: number;
|
|
16
|
+
isContradictory: boolean;
|
|
17
|
+
observedFingerprint: string;
|
|
18
|
+
orgId?: string | undefined;
|
|
19
|
+
ownershipFingerprint: string;
|
|
20
|
+
ownershipStatus: "ambiguous" | "contradictory" | "registered" | "unknown";
|
|
21
|
+
producer: "transfer_fact";
|
|
22
|
+
producerVersion: 1;
|
|
23
|
+
registrationId?: import("convex/values").GenericId<"financialOwnership"> | undefined;
|
|
24
|
+
role?: "affiliate" | "other" | "store" | undefined;
|
|
25
|
+
sourceChargeId?: string | undefined;
|
|
26
|
+
sourceInvoiceId?: string | undefined;
|
|
27
|
+
stripeTransferId: string;
|
|
28
|
+
transferId: import("convex/values").GenericId<"transfers">;
|
|
29
|
+
userId?: string | undefined;
|
|
30
|
+
}, {
|
|
31
|
+
transferId: import("convex/values").VId<import("convex/values").GenericId<"transfers">, "required">;
|
|
32
|
+
stripeTransferId: import("convex/values").VString<string, "required">;
|
|
33
|
+
sourceChargeId: import("convex/values").VString<string | undefined, "optional">;
|
|
34
|
+
sourceInvoiceId: import("convex/values").VString<string | undefined, "optional">;
|
|
35
|
+
bucketKey: import("convex/values").VString<string, "required">;
|
|
36
|
+
role: import("convex/values").VUnion<"affiliate" | "other" | "store" | undefined, [import("convex/values").VLiteral<"store", "required">, import("convex/values").VLiteral<"affiliate", "required">, import("convex/values").VLiteral<"other", "required">], "optional", never>;
|
|
37
|
+
registrationId: import("convex/values").VId<import("convex/values").GenericId<"financialOwnership"> | undefined, "optional">;
|
|
38
|
+
userId: import("convex/values").VString<string | undefined, "optional">;
|
|
39
|
+
orgId: import("convex/values").VString<string | undefined, "optional">;
|
|
40
|
+
ownershipStatus: import("convex/values").VUnion<"ambiguous" | "contradictory" | "registered" | "unknown", [import("convex/values").VLiteral<"registered", "required">, import("convex/values").VLiteral<"unknown", "required">, import("convex/values").VLiteral<"ambiguous", "required">, import("convex/values").VLiteral<"contradictory", "required">], "required", never>;
|
|
41
|
+
producer: import("convex/values").VLiteral<"transfer_fact", "required">;
|
|
42
|
+
producerVersion: import("convex/values").VLiteral<1, "required">;
|
|
43
|
+
fingerprint: import("convex/values").VString<string, "required">;
|
|
44
|
+
observedFingerprint: import("convex/values").VString<string, "required">;
|
|
45
|
+
ownershipFingerprint: import("convex/values").VString<string, "required">;
|
|
46
|
+
generation: import("convex/values").VFloat64<number, "required">;
|
|
47
|
+
isContradictory: import("convex/values").VBoolean<boolean, "required">;
|
|
48
|
+
}, "required", "bucketKey" | "fingerprint" | "generation" | "isContradictory" | "observedFingerprint" | "orgId" | "ownershipFingerprint" | "ownershipStatus" | "producer" | "producerVersion" | "registrationId" | "role" | "sourceChargeId" | "sourceInvoiceId" | "stripeTransferId" | "transferId" | "userId">, {
|
|
49
|
+
by_bucket_key: ["bucketKey", "_creationTime"];
|
|
50
|
+
by_owner: ["userId", "orgId", "_creationTime"];
|
|
51
|
+
by_transfer_id: ["transferId", "_creationTime"];
|
|
52
|
+
}, {}, {}>;
|
|
53
|
+
financialTransferBatches: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
54
|
+
continuation?: {
|
|
55
|
+
nextReference: number;
|
|
56
|
+
producerGeneration: number;
|
|
57
|
+
sourceFingerprint: string;
|
|
58
|
+
state: "complete" | "held" | "indexing" | "validating";
|
|
59
|
+
validatedReferences: number;
|
|
60
|
+
} | undefined;
|
|
61
|
+
fingerprint: string;
|
|
62
|
+
generation: number;
|
|
63
|
+
isContradictory: boolean;
|
|
64
|
+
isOverflow: true;
|
|
65
|
+
observedFingerprint: string;
|
|
66
|
+
operationId: string;
|
|
67
|
+
originalOperationId: import("convex/values").GenericId<"transferReversalOps">;
|
|
68
|
+
producer: "transfer_frontier_claim" | "transfer_frontier_release";
|
|
69
|
+
producerVersion: 1;
|
|
70
|
+
referenceCount: number;
|
|
71
|
+
sourceChargeId: string;
|
|
72
|
+
state: "complete" | "pending";
|
|
73
|
+
transferIds: import("convex/values").GenericId<"transfers">[];
|
|
74
|
+
}, {
|
|
75
|
+
originalOperationId: import("convex/values").VId<import("convex/values").GenericId<"transferReversalOps">, "required">;
|
|
76
|
+
operationId: import("convex/values").VString<string, "required">;
|
|
77
|
+
sourceChargeId: import("convex/values").VString<string, "required">;
|
|
78
|
+
producer: import("convex/values").VUnion<"transfer_frontier_claim" | "transfer_frontier_release", [import("convex/values").VLiteral<"transfer_frontier_release", "required">, import("convex/values").VLiteral<"transfer_frontier_claim", "required">], "required", never>;
|
|
79
|
+
producerVersion: import("convex/values").VLiteral<1, "required">;
|
|
80
|
+
fingerprint: import("convex/values").VString<string, "required">;
|
|
81
|
+
generation: import("convex/values").VFloat64<number, "required">;
|
|
82
|
+
observedFingerprint: import("convex/values").VString<string, "required">;
|
|
83
|
+
isContradictory: import("convex/values").VBoolean<boolean, "required">;
|
|
84
|
+
referenceCount: import("convex/values").VFloat64<number, "required">;
|
|
85
|
+
transferIds: import("convex/values").VArray<import("convex/values").GenericId<"transfers">[], import("convex/values").VId<import("convex/values").GenericId<"transfers">, "required">, "required">;
|
|
86
|
+
isOverflow: import("convex/values").VLiteral<true, "required">;
|
|
87
|
+
state: import("convex/values").VUnion<"complete" | "pending", [import("convex/values").VLiteral<"pending", "required">, import("convex/values").VLiteral<"complete", "required">], "required", never>;
|
|
88
|
+
continuation: import("convex/values").VObject<{
|
|
89
|
+
nextReference: number;
|
|
90
|
+
producerGeneration: number;
|
|
91
|
+
sourceFingerprint: string;
|
|
92
|
+
state: "complete" | "held" | "indexing" | "validating";
|
|
93
|
+
validatedReferences: number;
|
|
94
|
+
} | undefined, {
|
|
95
|
+
state: import("convex/values").VUnion<"complete" | "held" | "indexing" | "validating", [import("convex/values").VLiteral<"indexing", "required">, import("convex/values").VLiteral<"validating", "required">, import("convex/values").VLiteral<"complete", "required">, import("convex/values").VLiteral<"held", "required">], "required", never>;
|
|
96
|
+
nextReference: import("convex/values").VFloat64<number, "required">;
|
|
97
|
+
validatedReferences: import("convex/values").VFloat64<number, "required">;
|
|
98
|
+
producerGeneration: import("convex/values").VFloat64<number, "required">;
|
|
99
|
+
sourceFingerprint: import("convex/values").VString<string, "required">;
|
|
100
|
+
}, "optional", "nextReference" | "producerGeneration" | "sourceFingerprint" | "state" | "validatedReferences">;
|
|
101
|
+
}, "required", "continuation" | "continuation.nextReference" | "continuation.producerGeneration" | "continuation.sourceFingerprint" | "continuation.state" | "continuation.validatedReferences" | "fingerprint" | "generation" | "isContradictory" | "isOverflow" | "observedFingerprint" | "operationId" | "originalOperationId" | "producer" | "producerVersion" | "referenceCount" | "sourceChargeId" | "state" | "transferIds">, {
|
|
102
|
+
by_operation_id: ["operationId", "_creationTime"];
|
|
103
|
+
by_original_operation_id: ["originalOperationId", "_creationTime"];
|
|
104
|
+
by_original_operation_producer: ["originalOperationId", "producer", "_creationTime"];
|
|
105
|
+
by_state: ["state", "_creationTime"];
|
|
106
|
+
}, {}, {}>;
|
|
107
|
+
financialTransferBatchReferences: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
108
|
+
batchId: import("convex/values").GenericId<"financialTransferBatches">;
|
|
109
|
+
observationGeneration: number;
|
|
110
|
+
observationId: import("convex/values").GenericId<"financialTransferObservations">;
|
|
111
|
+
observedFingerprint: string;
|
|
112
|
+
ownershipFingerprint: string;
|
|
113
|
+
position: number;
|
|
114
|
+
sourceFingerprint: string;
|
|
115
|
+
transferId: import("convex/values").GenericId<"transfers">;
|
|
116
|
+
}, {
|
|
117
|
+
batchId: import("convex/values").VId<import("convex/values").GenericId<"financialTransferBatches">, "required">;
|
|
118
|
+
position: import("convex/values").VFloat64<number, "required">;
|
|
119
|
+
transferId: import("convex/values").VId<import("convex/values").GenericId<"transfers">, "required">;
|
|
120
|
+
observationId: import("convex/values").VId<import("convex/values").GenericId<"financialTransferObservations">, "required">;
|
|
121
|
+
observationGeneration: import("convex/values").VFloat64<number, "required">;
|
|
122
|
+
sourceFingerprint: import("convex/values").VString<string, "required">;
|
|
123
|
+
observedFingerprint: import("convex/values").VString<string, "required">;
|
|
124
|
+
ownershipFingerprint: import("convex/values").VString<string, "required">;
|
|
125
|
+
}, "required", "batchId" | "observationGeneration" | "observationId" | "observedFingerprint" | "ownershipFingerprint" | "position" | "sourceFingerprint" | "transferId">, {
|
|
126
|
+
by_batch_position: ["batchId", "position", "_creationTime"];
|
|
127
|
+
by_batch_transfer: ["batchId", "transferId", "_creationTime"];
|
|
128
|
+
}, {}, {}>;
|
|
129
|
+
financialSourceObservations: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
130
|
+
allocationId: import("convex/values").GenericId<"settlementAllocations">;
|
|
131
|
+
continuation?: {
|
|
132
|
+
nextLeg: number;
|
|
133
|
+
state: "complete" | "held" | "indexing" | "validating";
|
|
134
|
+
validatedLegs: number;
|
|
135
|
+
} | undefined;
|
|
136
|
+
fingerprint: string;
|
|
137
|
+
generation: number;
|
|
138
|
+
indexedLegCount: number;
|
|
139
|
+
isContradictory: boolean;
|
|
140
|
+
isOverflow: boolean;
|
|
141
|
+
legCount: number;
|
|
142
|
+
observedFingerprint: string;
|
|
143
|
+
ownershipFingerprint: string;
|
|
144
|
+
producer: "settlement_allocation";
|
|
145
|
+
producerVersion: 1;
|
|
146
|
+
sourceChargeId: string;
|
|
147
|
+
}, {
|
|
148
|
+
allocationId: import("convex/values").VId<import("convex/values").GenericId<"settlementAllocations">, "required">;
|
|
149
|
+
sourceChargeId: import("convex/values").VString<string, "required">;
|
|
150
|
+
producer: import("convex/values").VLiteral<"settlement_allocation", "required">;
|
|
151
|
+
producerVersion: import("convex/values").VLiteral<1, "required">;
|
|
152
|
+
fingerprint: import("convex/values").VString<string, "required">;
|
|
153
|
+
observedFingerprint: import("convex/values").VString<string, "required">;
|
|
154
|
+
ownershipFingerprint: import("convex/values").VString<string, "required">;
|
|
155
|
+
generation: import("convex/values").VFloat64<number, "required">;
|
|
156
|
+
legCount: import("convex/values").VFloat64<number, "required">;
|
|
157
|
+
indexedLegCount: import("convex/values").VFloat64<number, "required">;
|
|
158
|
+
isOverflow: import("convex/values").VBoolean<boolean, "required">;
|
|
159
|
+
isContradictory: import("convex/values").VBoolean<boolean, "required">;
|
|
160
|
+
continuation: import("convex/values").VObject<{
|
|
161
|
+
nextLeg: number;
|
|
162
|
+
state: "complete" | "held" | "indexing" | "validating";
|
|
163
|
+
validatedLegs: number;
|
|
164
|
+
} | undefined, {
|
|
165
|
+
state: import("convex/values").VUnion<"complete" | "held" | "indexing" | "validating", [import("convex/values").VLiteral<"indexing", "required">, import("convex/values").VLiteral<"validating", "required">, import("convex/values").VLiteral<"complete", "required">, import("convex/values").VLiteral<"held", "required">], "required", never>;
|
|
166
|
+
nextLeg: import("convex/values").VFloat64<number, "required">;
|
|
167
|
+
validatedLegs: import("convex/values").VFloat64<number, "required">;
|
|
168
|
+
}, "optional", "nextLeg" | "state" | "validatedLegs">;
|
|
169
|
+
}, "required", "allocationId" | "continuation" | "continuation.nextLeg" | "continuation.state" | "continuation.validatedLegs" | "fingerprint" | "generation" | "indexedLegCount" | "isContradictory" | "isOverflow" | "legCount" | "observedFingerprint" | "ownershipFingerprint" | "producer" | "producerVersion" | "sourceChargeId">, {
|
|
170
|
+
by_allocation_id: ["allocationId", "_creationTime"];
|
|
171
|
+
}, {}, {}>;
|
|
172
|
+
financialSourceLegs: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
173
|
+
allocationId: import("convex/values").GenericId<"settlementAllocations">;
|
|
174
|
+
bucketKey: string;
|
|
175
|
+
legIndex: number;
|
|
176
|
+
orgId?: string | undefined;
|
|
177
|
+
ownershipStatus: "ambiguous" | "contradictory" | "registered" | "unknown";
|
|
178
|
+
registrationId?: import("convex/values").GenericId<"financialOwnership"> | undefined;
|
|
179
|
+
role: "affiliate" | "other" | "store";
|
|
180
|
+
sourceChargeId: string;
|
|
181
|
+
userId?: string | undefined;
|
|
182
|
+
}, {
|
|
183
|
+
allocationId: import("convex/values").VId<import("convex/values").GenericId<"settlementAllocations">, "required">;
|
|
184
|
+
sourceChargeId: import("convex/values").VString<string, "required">;
|
|
185
|
+
legIndex: import("convex/values").VFloat64<number, "required">;
|
|
186
|
+
bucketKey: import("convex/values").VString<string, "required">;
|
|
187
|
+
role: import("convex/values").VUnion<"affiliate" | "other" | "store", [import("convex/values").VLiteral<"store", "required">, import("convex/values").VLiteral<"affiliate", "required">, import("convex/values").VLiteral<"other", "required">], "required", never>;
|
|
188
|
+
registrationId: import("convex/values").VId<import("convex/values").GenericId<"financialOwnership"> | undefined, "optional">;
|
|
189
|
+
userId: import("convex/values").VString<string | undefined, "optional">;
|
|
190
|
+
orgId: import("convex/values").VString<string | undefined, "optional">;
|
|
191
|
+
ownershipStatus: import("convex/values").VUnion<"ambiguous" | "contradictory" | "registered" | "unknown", [import("convex/values").VLiteral<"registered", "required">, import("convex/values").VLiteral<"unknown", "required">, import("convex/values").VLiteral<"ambiguous", "required">, import("convex/values").VLiteral<"contradictory", "required">], "required", never>;
|
|
192
|
+
}, "required", "allocationId" | "bucketKey" | "legIndex" | "orgId" | "ownershipStatus" | "registrationId" | "role" | "sourceChargeId" | "userId">, {
|
|
193
|
+
by_allocation_id_and_leg_index: ["allocationId", "legIndex", "_creationTime"];
|
|
194
|
+
by_bucket_key: ["bucketKey", "_creationTime"];
|
|
195
|
+
by_owner: ["userId", "orgId", "_creationTime"];
|
|
196
|
+
}, {}, {}>;
|
|
197
|
+
financialObservationGenerations: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
198
|
+
generation: number;
|
|
199
|
+
scopeKey: string;
|
|
200
|
+
}, {
|
|
201
|
+
scopeKey: import("convex/values").VString<string, "required">;
|
|
202
|
+
generation: import("convex/values").VFloat64<number, "required">;
|
|
203
|
+
}, "required", "generation" | "scopeKey">, {
|
|
204
|
+
by_scope_key: ["scopeKey", "_creationTime"];
|
|
205
|
+
}, {}, {}>;
|
|
206
|
+
financialOwnership: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
207
|
+
bucketKey: string;
|
|
208
|
+
generation: number;
|
|
209
|
+
kind: "logical" | "stripe_account";
|
|
210
|
+
orgId?: string | undefined;
|
|
211
|
+
source: {
|
|
212
|
+
integration: string;
|
|
213
|
+
recordId: string;
|
|
214
|
+
};
|
|
215
|
+
userId: string;
|
|
216
|
+
}, {
|
|
217
|
+
userId: import("convex/values").VString<string, "required">;
|
|
218
|
+
orgId: import("convex/values").VString<string | undefined, "optional">;
|
|
219
|
+
bucketKey: import("convex/values").VString<string, "required">;
|
|
220
|
+
kind: import("convex/values").VUnion<"logical" | "stripe_account", [import("convex/values").VLiteral<"stripe_account", "required">, import("convex/values").VLiteral<"logical", "required">], "required", never>;
|
|
221
|
+
source: import("convex/values").VObject<{
|
|
222
|
+
integration: string;
|
|
223
|
+
recordId: string;
|
|
224
|
+
}, {
|
|
225
|
+
integration: import("convex/values").VString<string, "required">;
|
|
226
|
+
recordId: import("convex/values").VString<string, "required">;
|
|
227
|
+
}, "required", "integration" | "recordId">;
|
|
228
|
+
generation: import("convex/values").VFloat64<number, "required">;
|
|
229
|
+
}, "required", "bucketKey" | "generation" | "kind" | "orgId" | "source" | "source.integration" | "source.recordId" | "userId">, {
|
|
230
|
+
by_bucket_key: ["bucketKey", "_creationTime"];
|
|
231
|
+
by_owner: ["userId", "orgId", "_creationTime"];
|
|
232
|
+
}, {}, {}>;
|
|
233
|
+
financialOwnershipGenerations: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
234
|
+
generation: number;
|
|
235
|
+
orgId?: string | undefined;
|
|
236
|
+
userId: string;
|
|
237
|
+
}, {
|
|
238
|
+
userId: import("convex/values").VString<string, "required">;
|
|
239
|
+
orgId: import("convex/values").VString<string | undefined, "optional">;
|
|
240
|
+
generation: import("convex/values").VFloat64<number, "required">;
|
|
241
|
+
}, "required", "generation" | "orgId" | "userId">, {
|
|
242
|
+
by_owner: ["userId", "orgId", "_creationTime"];
|
|
243
|
+
}, {}, {}>;
|
|
12
244
|
payoutWorkerJobs: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
13
245
|
accountId: string;
|
|
14
246
|
cadenceMs: number;
|
|
@@ -1550,11 +1782,19 @@ export declare function setup(amounts?: number[], currency?: string): Promise<{
|
|
|
1550
1782
|
failureReason?: string | undefined;
|
|
1551
1783
|
metadata?: any;
|
|
1552
1784
|
reason?: "duplicate" | "expired_uncaptured_charge" | "fraudulent" | "requested_by_customer" | undefined;
|
|
1785
|
+
refundCommandConflict?: boolean | undefined;
|
|
1786
|
+
refundCommandKey?: string | undefined;
|
|
1787
|
+
refundCommandNormalizationVersion?: 1 | undefined;
|
|
1788
|
+
refundCommandObservedAt?: number | undefined;
|
|
1553
1789
|
status: "canceled" | "failed" | "pending" | "requires_action" | "succeeded";
|
|
1554
1790
|
stripeChargeId?: string | undefined;
|
|
1555
1791
|
stripePaymentIntentId?: string | undefined;
|
|
1556
1792
|
stripeRefundId: string;
|
|
1557
1793
|
}, {
|
|
1794
|
+
refundCommandNormalizationVersion: import("convex/values").VLiteral<1 | undefined, "optional">;
|
|
1795
|
+
refundCommandKey: import("convex/values").VString<string | undefined, "optional">;
|
|
1796
|
+
refundCommandConflict: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
1797
|
+
refundCommandObservedAt: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
1558
1798
|
stripeRefundId: import("convex/values").VString<string, "required">;
|
|
1559
1799
|
stripePaymentIntentId: import("convex/values").VString<string | undefined, "optional">;
|
|
1560
1800
|
stripeChargeId: import("convex/values").VString<string | undefined, "optional">;
|
|
@@ -1565,12 +1805,14 @@ export declare function setup(amounts?: number[], currency?: string): Promise<{
|
|
|
1565
1805
|
reason: import("convex/values").VUnion<"duplicate" | "expired_uncaptured_charge" | "fraudulent" | "requested_by_customer" | undefined, [import("convex/values").VLiteral<"duplicate", "required">, import("convex/values").VLiteral<"fraudulent", "required">, import("convex/values").VLiteral<"requested_by_customer", "required">, import("convex/values").VLiteral<"expired_uncaptured_charge", "required">], "optional", never>;
|
|
1566
1806
|
failureReason: import("convex/values").VString<string | undefined, "optional">;
|
|
1567
1807
|
metadata: import("convex/values").VAny<any, "optional", string>;
|
|
1568
|
-
}, "required", "accountId" | "amount" | "currency" | "failureReason" | "metadata" | "reason" | "status" | "stripeChargeId" | "stripePaymentIntentId" | "stripeRefundId" | `metadata.${string}`>, {
|
|
1808
|
+
}, "required", "accountId" | "amount" | "currency" | "failureReason" | "metadata" | "reason" | "refundCommandConflict" | "refundCommandKey" | "refundCommandNormalizationVersion" | "refundCommandObservedAt" | "status" | "stripeChargeId" | "stripePaymentIntentId" | "stripeRefundId" | `metadata.${string}`>, {
|
|
1569
1809
|
by_account_id: ["accountId", "_creationTime"];
|
|
1570
1810
|
by_account_id_and_status: ["accountId", "status", "_creationTime"];
|
|
1571
1811
|
by_account_id_and_stripe_payment_intent_id: ["accountId", "stripePaymentIntentId", "_creationTime"];
|
|
1572
1812
|
by_account_id_and_stripe_payment_intent_id_and_status: ["accountId", "stripePaymentIntentId", "status", "_creationTime"];
|
|
1573
1813
|
by_payment_intent_id_and_status: ["stripePaymentIntentId", "status", "_creationTime"];
|
|
1814
|
+
by_refund_command_key: ["refundCommandKey", "_creationTime"];
|
|
1815
|
+
by_refund_command_normalization_version: ["refundCommandNormalizationVersion", "_creationTime"];
|
|
1574
1816
|
by_status: ["status", "_creationTime"];
|
|
1575
1817
|
by_stripe_payment_intent_id: ["stripePaymentIntentId", "_creationTime"];
|
|
1576
1818
|
by_stripe_refund_id: ["stripeRefundId", "_creationTime"];
|
|
@@ -1891,6 +2133,238 @@ export declare function setup(amounts?: number[], currency?: string): Promise<{
|
|
|
1891
2133
|
}>;
|
|
1892
2134
|
export declare function historical(currency?: string): Promise<{
|
|
1893
2135
|
t: import("convex-test").TestConvex<import("convex/server").SchemaDefinition<{
|
|
2136
|
+
financialTransferObservations: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
2137
|
+
bucketKey: string;
|
|
2138
|
+
fingerprint: string;
|
|
2139
|
+
generation: number;
|
|
2140
|
+
isContradictory: boolean;
|
|
2141
|
+
observedFingerprint: string;
|
|
2142
|
+
orgId?: string | undefined;
|
|
2143
|
+
ownershipFingerprint: string;
|
|
2144
|
+
ownershipStatus: "ambiguous" | "contradictory" | "registered" | "unknown";
|
|
2145
|
+
producer: "transfer_fact";
|
|
2146
|
+
producerVersion: 1;
|
|
2147
|
+
registrationId?: import("convex/values").GenericId<"financialOwnership"> | undefined;
|
|
2148
|
+
role?: "affiliate" | "other" | "store" | undefined;
|
|
2149
|
+
sourceChargeId?: string | undefined;
|
|
2150
|
+
sourceInvoiceId?: string | undefined;
|
|
2151
|
+
stripeTransferId: string;
|
|
2152
|
+
transferId: import("convex/values").GenericId<"transfers">;
|
|
2153
|
+
userId?: string | undefined;
|
|
2154
|
+
}, {
|
|
2155
|
+
transferId: import("convex/values").VId<import("convex/values").GenericId<"transfers">, "required">;
|
|
2156
|
+
stripeTransferId: import("convex/values").VString<string, "required">;
|
|
2157
|
+
sourceChargeId: import("convex/values").VString<string | undefined, "optional">;
|
|
2158
|
+
sourceInvoiceId: import("convex/values").VString<string | undefined, "optional">;
|
|
2159
|
+
bucketKey: import("convex/values").VString<string, "required">;
|
|
2160
|
+
role: import("convex/values").VUnion<"affiliate" | "other" | "store" | undefined, [import("convex/values").VLiteral<"store", "required">, import("convex/values").VLiteral<"affiliate", "required">, import("convex/values").VLiteral<"other", "required">], "optional", never>;
|
|
2161
|
+
registrationId: import("convex/values").VId<import("convex/values").GenericId<"financialOwnership"> | undefined, "optional">;
|
|
2162
|
+
userId: import("convex/values").VString<string | undefined, "optional">;
|
|
2163
|
+
orgId: import("convex/values").VString<string | undefined, "optional">;
|
|
2164
|
+
ownershipStatus: import("convex/values").VUnion<"ambiguous" | "contradictory" | "registered" | "unknown", [import("convex/values").VLiteral<"registered", "required">, import("convex/values").VLiteral<"unknown", "required">, import("convex/values").VLiteral<"ambiguous", "required">, import("convex/values").VLiteral<"contradictory", "required">], "required", never>;
|
|
2165
|
+
producer: import("convex/values").VLiteral<"transfer_fact", "required">;
|
|
2166
|
+
producerVersion: import("convex/values").VLiteral<1, "required">;
|
|
2167
|
+
fingerprint: import("convex/values").VString<string, "required">;
|
|
2168
|
+
observedFingerprint: import("convex/values").VString<string, "required">;
|
|
2169
|
+
ownershipFingerprint: import("convex/values").VString<string, "required">;
|
|
2170
|
+
generation: import("convex/values").VFloat64<number, "required">;
|
|
2171
|
+
isContradictory: import("convex/values").VBoolean<boolean, "required">;
|
|
2172
|
+
}, "required", "bucketKey" | "fingerprint" | "generation" | "isContradictory" | "observedFingerprint" | "orgId" | "ownershipFingerprint" | "ownershipStatus" | "producer" | "producerVersion" | "registrationId" | "role" | "sourceChargeId" | "sourceInvoiceId" | "stripeTransferId" | "transferId" | "userId">, {
|
|
2173
|
+
by_bucket_key: ["bucketKey", "_creationTime"];
|
|
2174
|
+
by_owner: ["userId", "orgId", "_creationTime"];
|
|
2175
|
+
by_transfer_id: ["transferId", "_creationTime"];
|
|
2176
|
+
}, {}, {}>;
|
|
2177
|
+
financialTransferBatches: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
2178
|
+
continuation?: {
|
|
2179
|
+
nextReference: number;
|
|
2180
|
+
producerGeneration: number;
|
|
2181
|
+
sourceFingerprint: string;
|
|
2182
|
+
state: "complete" | "held" | "indexing" | "validating";
|
|
2183
|
+
validatedReferences: number;
|
|
2184
|
+
} | undefined;
|
|
2185
|
+
fingerprint: string;
|
|
2186
|
+
generation: number;
|
|
2187
|
+
isContradictory: boolean;
|
|
2188
|
+
isOverflow: true;
|
|
2189
|
+
observedFingerprint: string;
|
|
2190
|
+
operationId: string;
|
|
2191
|
+
originalOperationId: import("convex/values").GenericId<"transferReversalOps">;
|
|
2192
|
+
producer: "transfer_frontier_claim" | "transfer_frontier_release";
|
|
2193
|
+
producerVersion: 1;
|
|
2194
|
+
referenceCount: number;
|
|
2195
|
+
sourceChargeId: string;
|
|
2196
|
+
state: "complete" | "pending";
|
|
2197
|
+
transferIds: import("convex/values").GenericId<"transfers">[];
|
|
2198
|
+
}, {
|
|
2199
|
+
originalOperationId: import("convex/values").VId<import("convex/values").GenericId<"transferReversalOps">, "required">;
|
|
2200
|
+
operationId: import("convex/values").VString<string, "required">;
|
|
2201
|
+
sourceChargeId: import("convex/values").VString<string, "required">;
|
|
2202
|
+
producer: import("convex/values").VUnion<"transfer_frontier_claim" | "transfer_frontier_release", [import("convex/values").VLiteral<"transfer_frontier_release", "required">, import("convex/values").VLiteral<"transfer_frontier_claim", "required">], "required", never>;
|
|
2203
|
+
producerVersion: import("convex/values").VLiteral<1, "required">;
|
|
2204
|
+
fingerprint: import("convex/values").VString<string, "required">;
|
|
2205
|
+
generation: import("convex/values").VFloat64<number, "required">;
|
|
2206
|
+
observedFingerprint: import("convex/values").VString<string, "required">;
|
|
2207
|
+
isContradictory: import("convex/values").VBoolean<boolean, "required">;
|
|
2208
|
+
referenceCount: import("convex/values").VFloat64<number, "required">;
|
|
2209
|
+
transferIds: import("convex/values").VArray<import("convex/values").GenericId<"transfers">[], import("convex/values").VId<import("convex/values").GenericId<"transfers">, "required">, "required">;
|
|
2210
|
+
isOverflow: import("convex/values").VLiteral<true, "required">;
|
|
2211
|
+
state: import("convex/values").VUnion<"complete" | "pending", [import("convex/values").VLiteral<"pending", "required">, import("convex/values").VLiteral<"complete", "required">], "required", never>;
|
|
2212
|
+
continuation: import("convex/values").VObject<{
|
|
2213
|
+
nextReference: number;
|
|
2214
|
+
producerGeneration: number;
|
|
2215
|
+
sourceFingerprint: string;
|
|
2216
|
+
state: "complete" | "held" | "indexing" | "validating";
|
|
2217
|
+
validatedReferences: number;
|
|
2218
|
+
} | undefined, {
|
|
2219
|
+
state: import("convex/values").VUnion<"complete" | "held" | "indexing" | "validating", [import("convex/values").VLiteral<"indexing", "required">, import("convex/values").VLiteral<"validating", "required">, import("convex/values").VLiteral<"complete", "required">, import("convex/values").VLiteral<"held", "required">], "required", never>;
|
|
2220
|
+
nextReference: import("convex/values").VFloat64<number, "required">;
|
|
2221
|
+
validatedReferences: import("convex/values").VFloat64<number, "required">;
|
|
2222
|
+
producerGeneration: import("convex/values").VFloat64<number, "required">;
|
|
2223
|
+
sourceFingerprint: import("convex/values").VString<string, "required">;
|
|
2224
|
+
}, "optional", "nextReference" | "producerGeneration" | "sourceFingerprint" | "state" | "validatedReferences">;
|
|
2225
|
+
}, "required", "continuation" | "continuation.nextReference" | "continuation.producerGeneration" | "continuation.sourceFingerprint" | "continuation.state" | "continuation.validatedReferences" | "fingerprint" | "generation" | "isContradictory" | "isOverflow" | "observedFingerprint" | "operationId" | "originalOperationId" | "producer" | "producerVersion" | "referenceCount" | "sourceChargeId" | "state" | "transferIds">, {
|
|
2226
|
+
by_operation_id: ["operationId", "_creationTime"];
|
|
2227
|
+
by_original_operation_id: ["originalOperationId", "_creationTime"];
|
|
2228
|
+
by_original_operation_producer: ["originalOperationId", "producer", "_creationTime"];
|
|
2229
|
+
by_state: ["state", "_creationTime"];
|
|
2230
|
+
}, {}, {}>;
|
|
2231
|
+
financialTransferBatchReferences: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
2232
|
+
batchId: import("convex/values").GenericId<"financialTransferBatches">;
|
|
2233
|
+
observationGeneration: number;
|
|
2234
|
+
observationId: import("convex/values").GenericId<"financialTransferObservations">;
|
|
2235
|
+
observedFingerprint: string;
|
|
2236
|
+
ownershipFingerprint: string;
|
|
2237
|
+
position: number;
|
|
2238
|
+
sourceFingerprint: string;
|
|
2239
|
+
transferId: import("convex/values").GenericId<"transfers">;
|
|
2240
|
+
}, {
|
|
2241
|
+
batchId: import("convex/values").VId<import("convex/values").GenericId<"financialTransferBatches">, "required">;
|
|
2242
|
+
position: import("convex/values").VFloat64<number, "required">;
|
|
2243
|
+
transferId: import("convex/values").VId<import("convex/values").GenericId<"transfers">, "required">;
|
|
2244
|
+
observationId: import("convex/values").VId<import("convex/values").GenericId<"financialTransferObservations">, "required">;
|
|
2245
|
+
observationGeneration: import("convex/values").VFloat64<number, "required">;
|
|
2246
|
+
sourceFingerprint: import("convex/values").VString<string, "required">;
|
|
2247
|
+
observedFingerprint: import("convex/values").VString<string, "required">;
|
|
2248
|
+
ownershipFingerprint: import("convex/values").VString<string, "required">;
|
|
2249
|
+
}, "required", "batchId" | "observationGeneration" | "observationId" | "observedFingerprint" | "ownershipFingerprint" | "position" | "sourceFingerprint" | "transferId">, {
|
|
2250
|
+
by_batch_position: ["batchId", "position", "_creationTime"];
|
|
2251
|
+
by_batch_transfer: ["batchId", "transferId", "_creationTime"];
|
|
2252
|
+
}, {}, {}>;
|
|
2253
|
+
financialSourceObservations: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
2254
|
+
allocationId: import("convex/values").GenericId<"settlementAllocations">;
|
|
2255
|
+
continuation?: {
|
|
2256
|
+
nextLeg: number;
|
|
2257
|
+
state: "complete" | "held" | "indexing" | "validating";
|
|
2258
|
+
validatedLegs: number;
|
|
2259
|
+
} | undefined;
|
|
2260
|
+
fingerprint: string;
|
|
2261
|
+
generation: number;
|
|
2262
|
+
indexedLegCount: number;
|
|
2263
|
+
isContradictory: boolean;
|
|
2264
|
+
isOverflow: boolean;
|
|
2265
|
+
legCount: number;
|
|
2266
|
+
observedFingerprint: string;
|
|
2267
|
+
ownershipFingerprint: string;
|
|
2268
|
+
producer: "settlement_allocation";
|
|
2269
|
+
producerVersion: 1;
|
|
2270
|
+
sourceChargeId: string;
|
|
2271
|
+
}, {
|
|
2272
|
+
allocationId: import("convex/values").VId<import("convex/values").GenericId<"settlementAllocations">, "required">;
|
|
2273
|
+
sourceChargeId: import("convex/values").VString<string, "required">;
|
|
2274
|
+
producer: import("convex/values").VLiteral<"settlement_allocation", "required">;
|
|
2275
|
+
producerVersion: import("convex/values").VLiteral<1, "required">;
|
|
2276
|
+
fingerprint: import("convex/values").VString<string, "required">;
|
|
2277
|
+
observedFingerprint: import("convex/values").VString<string, "required">;
|
|
2278
|
+
ownershipFingerprint: import("convex/values").VString<string, "required">;
|
|
2279
|
+
generation: import("convex/values").VFloat64<number, "required">;
|
|
2280
|
+
legCount: import("convex/values").VFloat64<number, "required">;
|
|
2281
|
+
indexedLegCount: import("convex/values").VFloat64<number, "required">;
|
|
2282
|
+
isOverflow: import("convex/values").VBoolean<boolean, "required">;
|
|
2283
|
+
isContradictory: import("convex/values").VBoolean<boolean, "required">;
|
|
2284
|
+
continuation: import("convex/values").VObject<{
|
|
2285
|
+
nextLeg: number;
|
|
2286
|
+
state: "complete" | "held" | "indexing" | "validating";
|
|
2287
|
+
validatedLegs: number;
|
|
2288
|
+
} | undefined, {
|
|
2289
|
+
state: import("convex/values").VUnion<"complete" | "held" | "indexing" | "validating", [import("convex/values").VLiteral<"indexing", "required">, import("convex/values").VLiteral<"validating", "required">, import("convex/values").VLiteral<"complete", "required">, import("convex/values").VLiteral<"held", "required">], "required", never>;
|
|
2290
|
+
nextLeg: import("convex/values").VFloat64<number, "required">;
|
|
2291
|
+
validatedLegs: import("convex/values").VFloat64<number, "required">;
|
|
2292
|
+
}, "optional", "nextLeg" | "state" | "validatedLegs">;
|
|
2293
|
+
}, "required", "allocationId" | "continuation" | "continuation.nextLeg" | "continuation.state" | "continuation.validatedLegs" | "fingerprint" | "generation" | "indexedLegCount" | "isContradictory" | "isOverflow" | "legCount" | "observedFingerprint" | "ownershipFingerprint" | "producer" | "producerVersion" | "sourceChargeId">, {
|
|
2294
|
+
by_allocation_id: ["allocationId", "_creationTime"];
|
|
2295
|
+
}, {}, {}>;
|
|
2296
|
+
financialSourceLegs: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
2297
|
+
allocationId: import("convex/values").GenericId<"settlementAllocations">;
|
|
2298
|
+
bucketKey: string;
|
|
2299
|
+
legIndex: number;
|
|
2300
|
+
orgId?: string | undefined;
|
|
2301
|
+
ownershipStatus: "ambiguous" | "contradictory" | "registered" | "unknown";
|
|
2302
|
+
registrationId?: import("convex/values").GenericId<"financialOwnership"> | undefined;
|
|
2303
|
+
role: "affiliate" | "other" | "store";
|
|
2304
|
+
sourceChargeId: string;
|
|
2305
|
+
userId?: string | undefined;
|
|
2306
|
+
}, {
|
|
2307
|
+
allocationId: import("convex/values").VId<import("convex/values").GenericId<"settlementAllocations">, "required">;
|
|
2308
|
+
sourceChargeId: import("convex/values").VString<string, "required">;
|
|
2309
|
+
legIndex: import("convex/values").VFloat64<number, "required">;
|
|
2310
|
+
bucketKey: import("convex/values").VString<string, "required">;
|
|
2311
|
+
role: import("convex/values").VUnion<"affiliate" | "other" | "store", [import("convex/values").VLiteral<"store", "required">, import("convex/values").VLiteral<"affiliate", "required">, import("convex/values").VLiteral<"other", "required">], "required", never>;
|
|
2312
|
+
registrationId: import("convex/values").VId<import("convex/values").GenericId<"financialOwnership"> | undefined, "optional">;
|
|
2313
|
+
userId: import("convex/values").VString<string | undefined, "optional">;
|
|
2314
|
+
orgId: import("convex/values").VString<string | undefined, "optional">;
|
|
2315
|
+
ownershipStatus: import("convex/values").VUnion<"ambiguous" | "contradictory" | "registered" | "unknown", [import("convex/values").VLiteral<"registered", "required">, import("convex/values").VLiteral<"unknown", "required">, import("convex/values").VLiteral<"ambiguous", "required">, import("convex/values").VLiteral<"contradictory", "required">], "required", never>;
|
|
2316
|
+
}, "required", "allocationId" | "bucketKey" | "legIndex" | "orgId" | "ownershipStatus" | "registrationId" | "role" | "sourceChargeId" | "userId">, {
|
|
2317
|
+
by_allocation_id_and_leg_index: ["allocationId", "legIndex", "_creationTime"];
|
|
2318
|
+
by_bucket_key: ["bucketKey", "_creationTime"];
|
|
2319
|
+
by_owner: ["userId", "orgId", "_creationTime"];
|
|
2320
|
+
}, {}, {}>;
|
|
2321
|
+
financialObservationGenerations: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
2322
|
+
generation: number;
|
|
2323
|
+
scopeKey: string;
|
|
2324
|
+
}, {
|
|
2325
|
+
scopeKey: import("convex/values").VString<string, "required">;
|
|
2326
|
+
generation: import("convex/values").VFloat64<number, "required">;
|
|
2327
|
+
}, "required", "generation" | "scopeKey">, {
|
|
2328
|
+
by_scope_key: ["scopeKey", "_creationTime"];
|
|
2329
|
+
}, {}, {}>;
|
|
2330
|
+
financialOwnership: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
2331
|
+
bucketKey: string;
|
|
2332
|
+
generation: number;
|
|
2333
|
+
kind: "logical" | "stripe_account";
|
|
2334
|
+
orgId?: string | undefined;
|
|
2335
|
+
source: {
|
|
2336
|
+
integration: string;
|
|
2337
|
+
recordId: string;
|
|
2338
|
+
};
|
|
2339
|
+
userId: string;
|
|
2340
|
+
}, {
|
|
2341
|
+
userId: import("convex/values").VString<string, "required">;
|
|
2342
|
+
orgId: import("convex/values").VString<string | undefined, "optional">;
|
|
2343
|
+
bucketKey: import("convex/values").VString<string, "required">;
|
|
2344
|
+
kind: import("convex/values").VUnion<"logical" | "stripe_account", [import("convex/values").VLiteral<"stripe_account", "required">, import("convex/values").VLiteral<"logical", "required">], "required", never>;
|
|
2345
|
+
source: import("convex/values").VObject<{
|
|
2346
|
+
integration: string;
|
|
2347
|
+
recordId: string;
|
|
2348
|
+
}, {
|
|
2349
|
+
integration: import("convex/values").VString<string, "required">;
|
|
2350
|
+
recordId: import("convex/values").VString<string, "required">;
|
|
2351
|
+
}, "required", "integration" | "recordId">;
|
|
2352
|
+
generation: import("convex/values").VFloat64<number, "required">;
|
|
2353
|
+
}, "required", "bucketKey" | "generation" | "kind" | "orgId" | "source" | "source.integration" | "source.recordId" | "userId">, {
|
|
2354
|
+
by_bucket_key: ["bucketKey", "_creationTime"];
|
|
2355
|
+
by_owner: ["userId", "orgId", "_creationTime"];
|
|
2356
|
+
}, {}, {}>;
|
|
2357
|
+
financialOwnershipGenerations: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
2358
|
+
generation: number;
|
|
2359
|
+
orgId?: string | undefined;
|
|
2360
|
+
userId: string;
|
|
2361
|
+
}, {
|
|
2362
|
+
userId: import("convex/values").VString<string, "required">;
|
|
2363
|
+
orgId: import("convex/values").VString<string | undefined, "optional">;
|
|
2364
|
+
generation: import("convex/values").VFloat64<number, "required">;
|
|
2365
|
+
}, "required", "generation" | "orgId" | "userId">, {
|
|
2366
|
+
by_owner: ["userId", "orgId", "_creationTime"];
|
|
2367
|
+
}, {}, {}>;
|
|
1894
2368
|
payoutWorkerJobs: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
1895
2369
|
accountId: string;
|
|
1896
2370
|
cadenceMs: number;
|
|
@@ -3432,11 +3906,19 @@ export declare function historical(currency?: string): Promise<{
|
|
|
3432
3906
|
failureReason?: string | undefined;
|
|
3433
3907
|
metadata?: any;
|
|
3434
3908
|
reason?: "duplicate" | "expired_uncaptured_charge" | "fraudulent" | "requested_by_customer" | undefined;
|
|
3909
|
+
refundCommandConflict?: boolean | undefined;
|
|
3910
|
+
refundCommandKey?: string | undefined;
|
|
3911
|
+
refundCommandNormalizationVersion?: 1 | undefined;
|
|
3912
|
+
refundCommandObservedAt?: number | undefined;
|
|
3435
3913
|
status: "canceled" | "failed" | "pending" | "requires_action" | "succeeded";
|
|
3436
3914
|
stripeChargeId?: string | undefined;
|
|
3437
3915
|
stripePaymentIntentId?: string | undefined;
|
|
3438
3916
|
stripeRefundId: string;
|
|
3439
3917
|
}, {
|
|
3918
|
+
refundCommandNormalizationVersion: import("convex/values").VLiteral<1 | undefined, "optional">;
|
|
3919
|
+
refundCommandKey: import("convex/values").VString<string | undefined, "optional">;
|
|
3920
|
+
refundCommandConflict: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
3921
|
+
refundCommandObservedAt: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
3440
3922
|
stripeRefundId: import("convex/values").VString<string, "required">;
|
|
3441
3923
|
stripePaymentIntentId: import("convex/values").VString<string | undefined, "optional">;
|
|
3442
3924
|
stripeChargeId: import("convex/values").VString<string | undefined, "optional">;
|
|
@@ -3447,12 +3929,14 @@ export declare function historical(currency?: string): Promise<{
|
|
|
3447
3929
|
reason: import("convex/values").VUnion<"duplicate" | "expired_uncaptured_charge" | "fraudulent" | "requested_by_customer" | undefined, [import("convex/values").VLiteral<"duplicate", "required">, import("convex/values").VLiteral<"fraudulent", "required">, import("convex/values").VLiteral<"requested_by_customer", "required">, import("convex/values").VLiteral<"expired_uncaptured_charge", "required">], "optional", never>;
|
|
3448
3930
|
failureReason: import("convex/values").VString<string | undefined, "optional">;
|
|
3449
3931
|
metadata: import("convex/values").VAny<any, "optional", string>;
|
|
3450
|
-
}, "required", "accountId" | "amount" | "currency" | "failureReason" | "metadata" | "reason" | "status" | "stripeChargeId" | "stripePaymentIntentId" | "stripeRefundId" | `metadata.${string}`>, {
|
|
3932
|
+
}, "required", "accountId" | "amount" | "currency" | "failureReason" | "metadata" | "reason" | "refundCommandConflict" | "refundCommandKey" | "refundCommandNormalizationVersion" | "refundCommandObservedAt" | "status" | "stripeChargeId" | "stripePaymentIntentId" | "stripeRefundId" | `metadata.${string}`>, {
|
|
3451
3933
|
by_account_id: ["accountId", "_creationTime"];
|
|
3452
3934
|
by_account_id_and_status: ["accountId", "status", "_creationTime"];
|
|
3453
3935
|
by_account_id_and_stripe_payment_intent_id: ["accountId", "stripePaymentIntentId", "_creationTime"];
|
|
3454
3936
|
by_account_id_and_stripe_payment_intent_id_and_status: ["accountId", "stripePaymentIntentId", "status", "_creationTime"];
|
|
3455
3937
|
by_payment_intent_id_and_status: ["stripePaymentIntentId", "status", "_creationTime"];
|
|
3938
|
+
by_refund_command_key: ["refundCommandKey", "_creationTime"];
|
|
3939
|
+
by_refund_command_normalization_version: ["refundCommandNormalizationVersion", "_creationTime"];
|
|
3456
3940
|
by_status: ["status", "_creationTime"];
|
|
3457
3941
|
by_stripe_payment_intent_id: ["stripePaymentIntentId", "_creationTime"];
|
|
3458
3942
|
by_stripe_refund_id: ["stripeRefundId", "_creationTime"];
|
|
@@ -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
|
|
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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