@fantastic.dev/better-stripe 0.63.0 → 0.64.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 +11 -0
- package/README.md +19 -1
- package/dist/client/connect/payoutAdoptionTestHelpers.d.ts +550 -0
- package/dist/client/connect/payoutAdoptionTestHelpers.d.ts.map +1 -1
- package/dist/client/connect/payoutExecutionTestHelpers.d.ts +275 -0
- package/dist/client/connect/payoutExecutionTestHelpers.d.ts.map +1 -1
- package/dist/client/connect/payoutLargeAdoptionTestHelpers.d.ts +582 -32
- package/dist/client/connect/payoutLargeAdoptionTestHelpers.d.ts.map +1 -1
- package/dist/client/connect/payoutSyncTestHelpers.d.ts +291 -16
- package/dist/client/connect/payoutSyncTestHelpers.d.ts.map +1 -1
- package/dist/client/financialOwnership.d.ts +2 -2
- package/dist/client/financialOwnership.d.ts.map +1 -1
- package/dist/client/financialOwnership.js +2 -2
- package/dist/client/financialOwnership.js.map +1 -1
- package/dist/client/payoutRevisionMigration.d.ts +37 -0
- package/dist/client/payoutRevisionMigration.d.ts.map +1 -0
- package/dist/client/payoutRevisionMigration.js +49 -0
- package/dist/client/payoutRevisionMigration.js.map +1 -0
- package/dist/client/publicTypes.d.ts +2 -0
- package/dist/client/publicTypes.d.ts.map +1 -1
- package/dist/client/reversalObservations.d.ts +62 -0
- package/dist/client/reversalObservations.d.ts.map +1 -0
- package/dist/client/reversalObservations.js +79 -0
- package/dist/client/reversalObservations.js.map +1 -0
- package/dist/component/_generated/api.d.ts +28 -0
- package/dist/component/_generated/api.d.ts.map +1 -1
- package/dist/component/_generated/api.js.map +1 -1
- package/dist/component/_generated/component.d.ts +354 -0
- package/dist/component/_generated/component.d.ts.map +1 -1
- package/dist/component/balanceFunding/internal/actions.d.ts +11 -11
- package/dist/component/balanceFunding/mutations.d.ts +16 -16
- package/dist/component/balanceFunding/stateHandlers.d.ts +8 -8
- package/dist/component/connect/mutations.d.ts.map +1 -1
- package/dist/component/connect/mutations.js +2 -0
- package/dist/component/connect/mutations.js.map +1 -1
- package/dist/component/connect/reversalClaims.d.ts.map +1 -1
- package/dist/component/connect/reversalClaims.js +10 -1
- package/dist/component/connect/reversalClaims.js.map +1 -1
- package/dist/component/earnings/triggers.d.ts +408 -16
- package/dist/component/earnings/triggers.d.ts.map +1 -1
- package/dist/component/financialObservations/transferSchema.d.ts +1 -0
- package/dist/component/financialObservations/transferSchema.d.ts.map +1 -1
- package/dist/component/financialObservations/transferSchema.js +1 -0
- package/dist/component/financialObservations/transferSchema.js.map +1 -1
- package/dist/component/payoutRelease/queries.d.ts +2 -2
- package/dist/component/payoutRelease/queries.d.ts.map +1 -1
- package/dist/component/payoutRevisionJournal/mutations.d.ts +15 -0
- package/dist/component/payoutRevisionJournal/mutations.d.ts.map +1 -0
- package/dist/component/payoutRevisionJournal/mutations.js +11 -0
- package/dist/component/payoutRevisionJournal/mutations.js.map +1 -0
- package/dist/component/payoutRevisionJournal/schema.d.ts +45 -0
- package/dist/component/payoutRevisionJournal/schema.d.ts.map +1 -0
- package/dist/component/payoutRevisionJournal/schema.js +22 -0
- package/dist/component/payoutRevisionJournal/schema.js.map +1 -0
- package/dist/component/payoutRevisionJournal/state.d.ts +36 -0
- package/dist/component/payoutRevisionJournal/state.d.ts.map +1 -0
- package/dist/component/payoutRevisionJournal/state.js +111 -0
- package/dist/component/payoutRevisionJournal/state.js.map +1 -0
- package/dist/component/payoutRevisionMigration/mutations.d.ts +36 -0
- package/dist/component/payoutRevisionMigration/mutations.d.ts.map +1 -0
- package/dist/component/payoutRevisionMigration/mutations.js +126 -0
- package/dist/component/payoutRevisionMigration/mutations.js.map +1 -0
- package/dist/component/payoutRevisionMigration/queries.d.ts +38 -0
- package/dist/component/payoutRevisionMigration/queries.d.ts.map +1 -0
- package/dist/component/payoutRevisionMigration/queries.js +39 -0
- package/dist/component/payoutRevisionMigration/queries.js.map +1 -0
- package/dist/component/payoutRevisionMigration/schema.d.ts +115 -0
- package/dist/component/payoutRevisionMigration/schema.d.ts.map +1 -0
- package/dist/component/payoutRevisionMigration/schema.js +52 -0
- package/dist/component/payoutRevisionMigration/schema.js.map +1 -0
- package/dist/component/payoutSnapshots/legacyRevisionWriter.d.ts +4 -0
- package/dist/component/payoutSnapshots/legacyRevisionWriter.d.ts.map +1 -0
- package/dist/component/payoutSnapshots/legacyRevisionWriter.js +33 -0
- package/dist/component/payoutSnapshots/legacyRevisionWriter.js.map +1 -0
- package/dist/component/payoutSnapshots/revisions.d.ts.map +1 -1
- package/dist/component/payoutSnapshots/revisions.js +23 -29
- package/dist/component/payoutSnapshots/revisions.js.map +1 -1
- package/dist/component/processingCostReconciliation/rollback.d.ts +1 -1
- package/dist/component/refundSync/mutations.d.ts +1 -1
- package/dist/component/refundSync/mutations.d.ts.map +1 -1
- package/dist/component/reversalObservations/capture.d.ts +6 -0
- package/dist/component/reversalObservations/capture.d.ts.map +1 -0
- package/dist/component/reversalObservations/capture.js +96 -0
- package/dist/component/reversalObservations/capture.js.map +1 -0
- package/dist/component/reversalObservations/indexSlice.d.ts +29 -0
- package/dist/component/reversalObservations/indexSlice.d.ts.map +1 -0
- package/dist/component/reversalObservations/indexSlice.js +101 -0
- package/dist/component/reversalObservations/indexSlice.js.map +1 -0
- package/dist/component/reversalObservations/integrity.d.ts +25 -0
- package/dist/component/reversalObservations/integrity.d.ts.map +1 -0
- package/dist/component/reversalObservations/integrity.js +19 -0
- package/dist/component/reversalObservations/integrity.js.map +1 -0
- package/dist/component/reversalObservations/mutations.d.ts +37 -0
- package/dist/component/reversalObservations/mutations.d.ts.map +1 -0
- package/dist/component/reversalObservations/mutations.js +181 -0
- package/dist/component/reversalObservations/mutations.js.map +1 -0
- package/dist/component/reversalObservations/pagination.d.ts +34 -0
- package/dist/component/reversalObservations/pagination.d.ts.map +1 -0
- package/dist/component/reversalObservations/pagination.js +31 -0
- package/dist/component/reversalObservations/pagination.js.map +1 -0
- package/dist/component/reversalObservations/queries.d.ts +221 -0
- package/dist/component/reversalObservations/queries.d.ts.map +1 -0
- package/dist/component/reversalObservations/queries.js +114 -0
- package/dist/component/reversalObservations/queries.js.map +1 -0
- package/dist/component/reversalObservations/references.d.ts +17 -0
- package/dist/component/reversalObservations/references.d.ts.map +1 -0
- package/dist/component/reversalObservations/references.js +95 -0
- package/dist/component/reversalObservations/references.js.map +1 -0
- package/dist/component/reversalObservations/schema.d.ts +525 -0
- package/dist/component/reversalObservations/schema.d.ts.map +1 -0
- package/dist/component/reversalObservations/schema.js +92 -0
- package/dist/component/reversalObservations/schema.js.map +1 -0
- package/dist/component/reversalObservations/selectors.d.ts +3 -0
- package/dist/component/reversalObservations/selectors.d.ts.map +1 -0
- package/dist/component/reversalObservations/selectors.js +8 -0
- package/dist/component/reversalObservations/selectors.js.map +1 -0
- package/dist/component/reversalObservations/state.d.ts +34 -0
- package/dist/component/reversalObservations/state.d.ts.map +1 -0
- package/dist/component/reversalObservations/state.js +34 -0
- package/dist/component/reversalObservations/state.js.map +1 -0
- package/dist/component/schema.d.ts +275 -0
- package/dist/component/schema.js +10 -0
- package/dist/component/schema.js.map +1 -1
- package/dist/component/usage/allowance.fixtures.d.ts +291 -16
- package/dist/component/usage/allowance.fixtures.d.ts.map +1 -1
- package/dist/component/usageCredits/accounting.fixtures.d.ts +275 -0
- package/dist/component/usageCredits/accounting.fixtures.d.ts.map +1 -1
- package/docs/README.md +2 -1
- package/docs/client-api.md +6 -0
- package/docs/financial-observations.md +51 -8
- package/docs/payout-revision-migration.md +54 -0
- package/docs/react-workflows-audit.md +73 -2
- package/docs/usage-example.md +4 -0
- package/package.json +3 -2
- package/src/client/financialOwnership.ts +2 -2
- package/src/client/payoutRevisionMigration.test.ts +40 -0
- package/src/client/payoutRevisionMigration.ts +96 -0
- package/src/client/publicTypes.ts +15 -0
- package/src/client/reversalObservations.test.ts +69 -0
- package/src/client/reversalObservations.ts +151 -0
- package/src/component/_generated/api.ts +28 -0
- package/src/component/_generated/component.ts +423 -0
- package/src/component/connect/mutations.ts +2 -0
- package/src/component/connect/reversalClaims.ts +13 -1
- package/src/component/financialObservations/transferSchema.ts +1 -0
- package/src/component/payoutRevisionJournal/mutations.ts +11 -0
- package/src/component/payoutRevisionJournal/schema.ts +34 -0
- package/src/component/payoutRevisionJournal/state.ts +141 -0
- package/src/component/payoutRevisionMigration/mutations.ts +135 -0
- package/src/component/payoutRevisionMigration/queries.ts +50 -0
- package/src/component/payoutRevisionMigration/schema.ts +51 -0
- package/src/component/payoutSnapshots/legacy-revisions.test.ts +246 -0
- package/src/component/payoutSnapshots/legacyRevisionWriter.ts +39 -0
- package/src/component/payoutSnapshots/revision-journal-callbacks.test.ts +160 -0
- package/src/component/payoutSnapshots/revision-journal-held.test.ts +94 -0
- package/src/component/payoutSnapshots/revision-journal.test.ts +310 -0
- package/src/component/payoutSnapshots/revision-migration.test.ts +128 -0
- package/src/component/payoutSnapshots/revisions.ts +22 -30
- package/src/component/reversalObservations/boundaries.test.ts +62 -0
- package/src/component/reversalObservations/capture-integrity.test.ts +119 -0
- package/src/component/reversalObservations/capture.ts +129 -0
- package/src/component/reversalObservations/continuation.test.ts +131 -0
- package/src/component/reversalObservations/indexSlice.ts +124 -0
- package/src/component/reversalObservations/integrity.ts +31 -0
- package/src/component/reversalObservations/lifecycle.test.ts +81 -0
- package/src/component/reversalObservations/mutations.ts +211 -0
- package/src/component/reversalObservations/pagination.ts +40 -0
- package/src/component/reversalObservations/provenance.test.ts +167 -0
- package/src/component/reversalObservations/queries.ts +121 -0
- package/src/component/reversalObservations/references.ts +134 -0
- package/src/component/reversalObservations/schema.ts +100 -0
- package/src/component/reversalObservations/selectors.ts +9 -0
- package/src/component/reversalObservations/state.ts +42 -0
- package/src/component/schema.ts +18 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payoutLargeAdoptionTestHelpers.d.ts","sourceRoot":"","sources":["../../../src/client/connect/payoutLargeAdoptionTestHelpers.ts"],"names":[],"mappings":"AAGA,wBAAsB,K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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4BAGtC,MAAM;yBACT;gBAAE,gBAAgB,EAAE,MAAM,CAAC;gBAAC,MAAM,EAAE,MAAM,CAAA;aAAE,EAAE;;;GA2C9D"}
|
|
@@ -14,6 +14,280 @@ type Sync = (stripe: Stripe, component: Component, ctx: RunCtx, opts: {
|
|
|
14
14
|
export declare function operation(): Promise<Sync>;
|
|
15
15
|
export declare function setup(scope?: Scope): Promise<{
|
|
16
16
|
t: import("convex-test").TestConvex<import("convex/server").SchemaDefinition<{
|
|
17
|
+
reversalObservations: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
18
|
+
deleted: boolean;
|
|
19
|
+
fingerprint: string;
|
|
20
|
+
generation: number;
|
|
21
|
+
indexTransferGeneration: number | null;
|
|
22
|
+
indexedCount: number;
|
|
23
|
+
isContradictory: boolean;
|
|
24
|
+
latestIdentityFingerprint: string;
|
|
25
|
+
latestPayloadId: import("convex/values").GenericId<"reversalObservationPayloads">;
|
|
26
|
+
legacy: boolean;
|
|
27
|
+
nextIndex: number;
|
|
28
|
+
operationDigest: string;
|
|
29
|
+
originalFingerprint: string;
|
|
30
|
+
originalIdentityFingerprint: string;
|
|
31
|
+
originalOperationId: import("convex/values").GenericId<"transferReversalOps">;
|
|
32
|
+
originalPayloadId: import("convex/values").GenericId<"reversalObservationPayloads">;
|
|
33
|
+
producer: "reversal_claim_lifecycle";
|
|
34
|
+
producerVersion: 1;
|
|
35
|
+
referenceFingerprints: string[];
|
|
36
|
+
sliceCount: number;
|
|
37
|
+
sourceChargeDigest: string;
|
|
38
|
+
sourceCreatedAt: number;
|
|
39
|
+
status: "complete" | "held" | "pending" | "validating";
|
|
40
|
+
}, {
|
|
41
|
+
originalOperationId: import("convex/values").VId<import("convex/values").GenericId<"transferReversalOps">, "required">;
|
|
42
|
+
sourceCreatedAt: import("convex/values").VFloat64<number, "required">;
|
|
43
|
+
producer: import("convex/values").VLiteral<"reversal_claim_lifecycle", "required">;
|
|
44
|
+
producerVersion: import("convex/values").VLiteral<1, "required">;
|
|
45
|
+
originalPayloadId: import("convex/values").VId<import("convex/values").GenericId<"reversalObservationPayloads">, "required">;
|
|
46
|
+
latestPayloadId: import("convex/values").VId<import("convex/values").GenericId<"reversalObservationPayloads">, "required">;
|
|
47
|
+
referenceFingerprints: import("convex/values").VArray<string[], import("convex/values").VString<string, "required">, "required">;
|
|
48
|
+
originalFingerprint: import("convex/values").VString<string, "required">;
|
|
49
|
+
latestIdentityFingerprint: import("convex/values").VString<string, "required">;
|
|
50
|
+
originalIdentityFingerprint: import("convex/values").VString<string, "required">;
|
|
51
|
+
fingerprint: import("convex/values").VString<string, "required">;
|
|
52
|
+
operationDigest: import("convex/values").VString<string, "required">;
|
|
53
|
+
sourceChargeDigest: import("convex/values").VString<string, "required">;
|
|
54
|
+
generation: import("convex/values").VFloat64<number, "required">;
|
|
55
|
+
deleted: import("convex/values").VBoolean<boolean, "required">;
|
|
56
|
+
sliceCount: import("convex/values").VFloat64<number, "required">;
|
|
57
|
+
indexedCount: import("convex/values").VFloat64<number, "required">;
|
|
58
|
+
nextIndex: import("convex/values").VFloat64<number, "required">;
|
|
59
|
+
status: import("convex/values").VUnion<"complete" | "held" | "pending" | "validating", [import("convex/values").VLiteral<"pending", "required">, import("convex/values").VLiteral<"validating", "required">, import("convex/values").VLiteral<"complete", "required">, import("convex/values").VLiteral<"held", "required">], "required", never>;
|
|
60
|
+
legacy: import("convex/values").VBoolean<boolean, "required">;
|
|
61
|
+
isContradictory: import("convex/values").VBoolean<boolean, "required">;
|
|
62
|
+
indexTransferGeneration: import("convex/values").VUnion<number | null, [import("convex/values").VFloat64<number, "required">, import("convex/values").VNull<null, "required">], "required", never>;
|
|
63
|
+
}, "required", "deleted" | "fingerprint" | "generation" | "indexTransferGeneration" | "indexedCount" | "isContradictory" | "latestIdentityFingerprint" | "latestPayloadId" | "legacy" | "nextIndex" | "operationDigest" | "originalFingerprint" | "originalIdentityFingerprint" | "originalOperationId" | "originalPayloadId" | "producer" | "producerVersion" | "referenceFingerprints" | "sliceCount" | "sourceChargeDigest" | "sourceCreatedAt" | "status">, {
|
|
64
|
+
by_operation_digest: ["operationDigest", "_creationTime"];
|
|
65
|
+
by_original_operation: ["originalOperationId", "_creationTime"];
|
|
66
|
+
by_source_charge_digest: ["sourceChargeDigest", "_creationTime"];
|
|
67
|
+
}, {}, {}>;
|
|
68
|
+
reversalObservationPayloads: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
69
|
+
commissionExposure?: {
|
|
70
|
+
chargeAmount: number;
|
|
71
|
+
disputeId?: string | undefined;
|
|
72
|
+
disputeState?: "lost" | "open" | "won" | undefined;
|
|
73
|
+
finalized: boolean;
|
|
74
|
+
kind: "dispute" | "refund";
|
|
75
|
+
principal: number;
|
|
76
|
+
refundId?: string | undefined;
|
|
77
|
+
refundedPrincipal?: number | undefined;
|
|
78
|
+
} | undefined;
|
|
79
|
+
operationId: string;
|
|
80
|
+
slices: {
|
|
81
|
+
from: number;
|
|
82
|
+
stripeTransferId: string;
|
|
83
|
+
to: number;
|
|
84
|
+
}[];
|
|
85
|
+
sourceChargeId: string;
|
|
86
|
+
}, {
|
|
87
|
+
operationId: import("convex/values").VString<string, "required">;
|
|
88
|
+
sourceChargeId: import("convex/values").VString<string, "required">;
|
|
89
|
+
slices: import("convex/values").VArray<{
|
|
90
|
+
from: number;
|
|
91
|
+
stripeTransferId: string;
|
|
92
|
+
to: number;
|
|
93
|
+
}[], import("convex/values").VObject<{
|
|
94
|
+
from: number;
|
|
95
|
+
stripeTransferId: string;
|
|
96
|
+
to: number;
|
|
97
|
+
}, {
|
|
98
|
+
stripeTransferId: import("convex/values").VString<string, "required">;
|
|
99
|
+
from: import("convex/values").VFloat64<number, "required">;
|
|
100
|
+
to: import("convex/values").VFloat64<number, "required">;
|
|
101
|
+
}, "required", "from" | "stripeTransferId" | "to">, "required">;
|
|
102
|
+
commissionExposure: import("convex/values").VObject<{
|
|
103
|
+
chargeAmount: number;
|
|
104
|
+
disputeId?: string | undefined;
|
|
105
|
+
disputeState?: "lost" | "open" | "won" | undefined;
|
|
106
|
+
finalized: boolean;
|
|
107
|
+
kind: "dispute" | "refund";
|
|
108
|
+
principal: number;
|
|
109
|
+
refundId?: string | undefined;
|
|
110
|
+
refundedPrincipal?: number | undefined;
|
|
111
|
+
} | undefined, {
|
|
112
|
+
kind: import("convex/values").VUnion<"dispute" | "refund", [import("convex/values").VLiteral<"refund", "required">, import("convex/values").VLiteral<"dispute", "required">], "required", never>;
|
|
113
|
+
chargeAmount: import("convex/values").VFloat64<number, "required">;
|
|
114
|
+
principal: import("convex/values").VFloat64<number, "required">;
|
|
115
|
+
finalized: import("convex/values").VBoolean<boolean, "required">;
|
|
116
|
+
disputeState: import("convex/values").VUnion<"lost" | "open" | "won" | undefined, [import("convex/values").VLiteral<"open", "required">, import("convex/values").VLiteral<"lost", "required">, import("convex/values").VLiteral<"won", "required">], "optional", never>;
|
|
117
|
+
disputeId: import("convex/values").VString<string | undefined, "optional">;
|
|
118
|
+
refundedPrincipal: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
119
|
+
refundId: import("convex/values").VString<string | undefined, "optional">;
|
|
120
|
+
}, "optional", "chargeAmount" | "disputeId" | "disputeState" | "finalized" | "kind" | "principal" | "refundId" | "refundedPrincipal">;
|
|
121
|
+
}, "required", "commissionExposure" | "commissionExposure.chargeAmount" | "commissionExposure.disputeId" | "commissionExposure.disputeState" | "commissionExposure.finalized" | "commissionExposure.kind" | "commissionExposure.principal" | "commissionExposure.refundId" | "commissionExposure.refundedPrincipal" | "operationId" | "slices" | "sourceChargeId">, {}, {}, {}>;
|
|
122
|
+
reversalObservationRefs: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
123
|
+
chunkIndex: number;
|
|
124
|
+
observationId: import("convex/values").GenericId<"reversalObservations">;
|
|
125
|
+
refs: ({
|
|
126
|
+
ambiguous: boolean;
|
|
127
|
+
bucketDigest: string;
|
|
128
|
+
identityFingerprint: string;
|
|
129
|
+
markerGeneration?: number | undefined;
|
|
130
|
+
markerId?: import("convex/values").GenericId<"financialTransferObservations"> | undefined;
|
|
131
|
+
markerIdentityFingerprint?: string | undefined;
|
|
132
|
+
ownerDigest?: string | undefined;
|
|
133
|
+
ownershipFingerprint?: string | undefined;
|
|
134
|
+
registrationId?: import("convex/values").GenericId<"financialOwnership"> | undefined;
|
|
135
|
+
transferId: import("convex/values").GenericId<"transfers">;
|
|
136
|
+
} | null)[];
|
|
137
|
+
}, {
|
|
138
|
+
observationId: import("convex/values").VId<import("convex/values").GenericId<"reversalObservations">, "required">;
|
|
139
|
+
chunkIndex: import("convex/values").VFloat64<number, "required">;
|
|
140
|
+
refs: import("convex/values").VArray<({
|
|
141
|
+
ambiguous: boolean;
|
|
142
|
+
bucketDigest: string;
|
|
143
|
+
identityFingerprint: string;
|
|
144
|
+
markerGeneration?: number | undefined;
|
|
145
|
+
markerId?: import("convex/values").GenericId<"financialTransferObservations"> | undefined;
|
|
146
|
+
markerIdentityFingerprint?: string | undefined;
|
|
147
|
+
ownerDigest?: string | undefined;
|
|
148
|
+
ownershipFingerprint?: string | undefined;
|
|
149
|
+
registrationId?: import("convex/values").GenericId<"financialOwnership"> | undefined;
|
|
150
|
+
transferId: import("convex/values").GenericId<"transfers">;
|
|
151
|
+
} | null)[], import("convex/values").VUnion<{
|
|
152
|
+
ambiguous: boolean;
|
|
153
|
+
bucketDigest: string;
|
|
154
|
+
identityFingerprint: string;
|
|
155
|
+
markerGeneration?: number | undefined;
|
|
156
|
+
markerId?: import("convex/values").GenericId<"financialTransferObservations"> | undefined;
|
|
157
|
+
markerIdentityFingerprint?: string | undefined;
|
|
158
|
+
ownerDigest?: string | undefined;
|
|
159
|
+
ownershipFingerprint?: string | undefined;
|
|
160
|
+
registrationId?: import("convex/values").GenericId<"financialOwnership"> | undefined;
|
|
161
|
+
transferId: import("convex/values").GenericId<"transfers">;
|
|
162
|
+
} | null, [import("convex/values").VObject<{
|
|
163
|
+
ambiguous: boolean;
|
|
164
|
+
bucketDigest: string;
|
|
165
|
+
identityFingerprint: string;
|
|
166
|
+
markerGeneration?: number | undefined;
|
|
167
|
+
markerId?: import("convex/values").GenericId<"financialTransferObservations"> | undefined;
|
|
168
|
+
markerIdentityFingerprint?: string | undefined;
|
|
169
|
+
ownerDigest?: string | undefined;
|
|
170
|
+
ownershipFingerprint?: string | undefined;
|
|
171
|
+
registrationId?: import("convex/values").GenericId<"financialOwnership"> | undefined;
|
|
172
|
+
transferId: import("convex/values").GenericId<"transfers">;
|
|
173
|
+
}, {
|
|
174
|
+
transferId: import("convex/values").VId<import("convex/values").GenericId<"transfers">, "required">;
|
|
175
|
+
bucketDigest: import("convex/values").VString<string, "required">;
|
|
176
|
+
ownerDigest: import("convex/values").VString<string | undefined, "optional">;
|
|
177
|
+
identityFingerprint: import("convex/values").VString<string, "required">;
|
|
178
|
+
ambiguous: import("convex/values").VBoolean<boolean, "required">;
|
|
179
|
+
markerId: import("convex/values").VId<import("convex/values").GenericId<"financialTransferObservations"> | undefined, "optional">;
|
|
180
|
+
markerGeneration: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
181
|
+
markerIdentityFingerprint: import("convex/values").VString<string | undefined, "optional">;
|
|
182
|
+
ownershipFingerprint: import("convex/values").VString<string | undefined, "optional">;
|
|
183
|
+
registrationId: import("convex/values").VId<import("convex/values").GenericId<"financialOwnership"> | undefined, "optional">;
|
|
184
|
+
}, "required", "ambiguous" | "bucketDigest" | "identityFingerprint" | "markerGeneration" | "markerId" | "markerIdentityFingerprint" | "ownerDigest" | "ownershipFingerprint" | "registrationId" | "transferId">, import("convex/values").VNull<null, "required">], "required", "ambiguous" | "bucketDigest" | "identityFingerprint" | "markerGeneration" | "markerId" | "markerIdentityFingerprint" | "ownerDigest" | "ownershipFingerprint" | "registrationId" | "transferId">, "required">;
|
|
185
|
+
}, "required", "chunkIndex" | "observationId" | "refs">, {
|
|
186
|
+
by_observation_chunk: ["observationId", "chunkIndex", "_creationTime"];
|
|
187
|
+
}, {}, {}>;
|
|
188
|
+
reversalObservationSlices: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
189
|
+
bucketDigest?: string | undefined;
|
|
190
|
+
bucketKey?: string | undefined;
|
|
191
|
+
generation: number;
|
|
192
|
+
identityStatus: "contradictory" | "matched" | "unknown";
|
|
193
|
+
observationId: import("convex/values").GenericId<"reversalObservations">;
|
|
194
|
+
orgId?: string | undefined;
|
|
195
|
+
originalOperationId: import("convex/values").GenericId<"transferReversalOps">;
|
|
196
|
+
ownerDigest?: string | undefined;
|
|
197
|
+
ownershipStatus: "ambiguous" | "contradictory" | "registered" | "unknown";
|
|
198
|
+
registrationId?: import("convex/values").GenericId<"financialOwnership"> | undefined;
|
|
199
|
+
sliceIndex: number;
|
|
200
|
+
transferGeneration: number | null;
|
|
201
|
+
transferId?: import("convex/values").GenericId<"transfers"> | undefined;
|
|
202
|
+
userId?: string | undefined;
|
|
203
|
+
}, {
|
|
204
|
+
originalOperationId: import("convex/values").VId<import("convex/values").GenericId<"transferReversalOps">, "required">;
|
|
205
|
+
observationId: import("convex/values").VId<import("convex/values").GenericId<"reversalObservations">, "required">;
|
|
206
|
+
sliceIndex: import("convex/values").VFloat64<number, "required">;
|
|
207
|
+
generation: import("convex/values").VFloat64<number, "required">;
|
|
208
|
+
bucketDigest: import("convex/values").VString<string | undefined, "optional">;
|
|
209
|
+
ownerDigest: import("convex/values").VString<string | undefined, "optional">;
|
|
210
|
+
transferId: import("convex/values").VId<import("convex/values").GenericId<"transfers"> | undefined, "optional">;
|
|
211
|
+
bucketKey: import("convex/values").VString<string | undefined, "optional">;
|
|
212
|
+
registrationId: import("convex/values").VId<import("convex/values").GenericId<"financialOwnership"> | undefined, "optional">;
|
|
213
|
+
userId: import("convex/values").VString<string | undefined, "optional">;
|
|
214
|
+
orgId: import("convex/values").VString<string | undefined, "optional">;
|
|
215
|
+
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>;
|
|
216
|
+
identityStatus: import("convex/values").VUnion<"contradictory" | "matched" | "unknown", [import("convex/values").VLiteral<"matched", "required">, import("convex/values").VLiteral<"unknown", "required">, import("convex/values").VLiteral<"contradictory", "required">], "required", never>;
|
|
217
|
+
transferGeneration: import("convex/values").VUnion<number | null, [import("convex/values").VFloat64<number, "required">, import("convex/values").VNull<null, "required">], "required", never>;
|
|
218
|
+
}, "required", "bucketDigest" | "bucketKey" | "generation" | "identityStatus" | "observationId" | "orgId" | "originalOperationId" | "ownerDigest" | "ownershipStatus" | "registrationId" | "sliceIndex" | "transferGeneration" | "transferId" | "userId">, {
|
|
219
|
+
by_bucket: ["bucketDigest", "_creationTime"];
|
|
220
|
+
by_observation_slice: ["observationId", "sliceIndex", "_creationTime"];
|
|
221
|
+
by_owner: ["ownerDigest", "_creationTime"];
|
|
222
|
+
}, {}, {}>;
|
|
223
|
+
payoutRevisionJournal: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
224
|
+
accountId: string;
|
|
225
|
+
fenceStream: boolean;
|
|
226
|
+
financialPresent: boolean;
|
|
227
|
+
financialRiskRevision: number;
|
|
228
|
+
kind: "baseline" | "bump";
|
|
229
|
+
legacyFinancialId?: import("convex/values").GenericId<"payoutFinancialRevisions"> | undefined;
|
|
230
|
+
legacyRiskId?: import("convex/values").GenericId<"payoutRiskRevisions"> | undefined;
|
|
231
|
+
revision: number;
|
|
232
|
+
riskRevision: number;
|
|
233
|
+
}, {
|
|
234
|
+
accountId: import("convex/values").VString<string, "required">;
|
|
235
|
+
revision: import("convex/values").VFloat64<number, "required">;
|
|
236
|
+
riskRevision: import("convex/values").VFloat64<number, "required">;
|
|
237
|
+
financialRiskRevision: import("convex/values").VFloat64<number, "required">;
|
|
238
|
+
financialPresent: import("convex/values").VBoolean<boolean, "required">;
|
|
239
|
+
fenceStream: import("convex/values").VBoolean<boolean, "required">;
|
|
240
|
+
kind: import("convex/values").VUnion<"baseline" | "bump", [import("convex/values").VLiteral<"baseline", "required">, import("convex/values").VLiteral<"bump", "required">], "required", never>;
|
|
241
|
+
legacyFinancialId: import("convex/values").VId<import("convex/values").GenericId<"payoutFinancialRevisions"> | undefined, "optional">;
|
|
242
|
+
legacyRiskId: import("convex/values").VId<import("convex/values").GenericId<"payoutRiskRevisions"> | undefined, "optional">;
|
|
243
|
+
}, "required", "accountId" | "fenceStream" | "financialPresent" | "financialRiskRevision" | "kind" | "legacyFinancialId" | "legacyRiskId" | "revision" | "riskRevision">, {
|
|
244
|
+
by_account_fence_revision: ["accountId", "fenceStream", "revision", "_creationTime"];
|
|
245
|
+
by_account_revision: ["accountId", "revision", "_creationTime"];
|
|
246
|
+
}, {}, {}>;
|
|
247
|
+
payoutRevisionMigrations: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
248
|
+
activated: number;
|
|
249
|
+
cursor: string | null;
|
|
250
|
+
held: number;
|
|
251
|
+
operationKey: string;
|
|
252
|
+
phase: number;
|
|
253
|
+
scanned: number;
|
|
254
|
+
status: "finished" | "running";
|
|
255
|
+
step: number;
|
|
256
|
+
unchanged: number;
|
|
257
|
+
visited: number;
|
|
258
|
+
}, {
|
|
259
|
+
operationKey: import("convex/values").VString<string, "required">;
|
|
260
|
+
phase: import("convex/values").VFloat64<number, "required">;
|
|
261
|
+
cursor: import("convex/values").VUnion<string | null, [import("convex/values").VString<string, "required">, import("convex/values").VNull<null, "required">], "required", never>;
|
|
262
|
+
step: import("convex/values").VFloat64<number, "required">;
|
|
263
|
+
status: import("convex/values").VUnion<"finished" | "running", [import("convex/values").VLiteral<"running", "required">, import("convex/values").VLiteral<"finished", "required">], "required", never>;
|
|
264
|
+
scanned: import("convex/values").VFloat64<number, "required">;
|
|
265
|
+
visited: import("convex/values").VFloat64<number, "required">;
|
|
266
|
+
activated: import("convex/values").VFloat64<number, "required">;
|
|
267
|
+
unchanged: import("convex/values").VFloat64<number, "required">;
|
|
268
|
+
held: import("convex/values").VFloat64<number, "required">;
|
|
269
|
+
}, "required", "activated" | "cursor" | "held" | "operationKey" | "phase" | "scanned" | "status" | "step" | "unchanged" | "visited">, {
|
|
270
|
+
by_operation: ["operationKey", "_creationTime"];
|
|
271
|
+
}, {}, {}>;
|
|
272
|
+
payoutRevisionMigrationResults: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
273
|
+
accountDigest: string;
|
|
274
|
+
accountId?: string | undefined;
|
|
275
|
+
jobId: import("convex/values").GenericId<"payoutRevisionMigrations">;
|
|
276
|
+
reason?: "legacy_ambiguous" | "legacy_disagreement" | "legacy_invalid" | "representation_unavailable" | undefined;
|
|
277
|
+
sourceId: string;
|
|
278
|
+
sourceTable: string;
|
|
279
|
+
status: "activated" | "held" | "unchanged";
|
|
280
|
+
}, {
|
|
281
|
+
status: import("convex/values").VUnion<"activated" | "held" | "unchanged", [import("convex/values").VLiteral<"activated", "required">, import("convex/values").VLiteral<"unchanged", "required">, import("convex/values").VLiteral<"held", "required">], "required", never>;
|
|
282
|
+
reason: import("convex/values").VUnion<"legacy_ambiguous" | "legacy_disagreement" | "legacy_invalid" | "representation_unavailable" | undefined, [import("convex/values").VLiteral<"legacy_ambiguous", "required">, import("convex/values").VLiteral<"legacy_invalid", "required">, import("convex/values").VLiteral<"legacy_disagreement", "required">, import("convex/values").VLiteral<"representation_unavailable", "required">], "optional", never>;
|
|
283
|
+
jobId: import("convex/values").VId<import("convex/values").GenericId<"payoutRevisionMigrations">, "required">;
|
|
284
|
+
accountId: import("convex/values").VString<string | undefined, "optional">;
|
|
285
|
+
accountDigest: import("convex/values").VString<string, "required">;
|
|
286
|
+
sourceId: import("convex/values").VString<string, "required">;
|
|
287
|
+
sourceTable: import("convex/values").VString<string, "required">;
|
|
288
|
+
}, "required", "accountDigest" | "accountId" | "jobId" | "reason" | "sourceId" | "sourceTable" | "status">, {
|
|
289
|
+
by_job_account: ["jobId", "accountDigest", "_creationTime"];
|
|
290
|
+
}, {}, {}>;
|
|
17
291
|
usageCorrectionClaims: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
18
292
|
key: string;
|
|
19
293
|
operationKey: string;
|
|
@@ -1877,6 +2151,14 @@ export declare function setup(scope?: Scope): Promise<{
|
|
|
1877
2151
|
preparationId: import("convex/values").GenericId<"balanceFundingPreparations">;
|
|
1878
2152
|
requestKey: string;
|
|
1879
2153
|
result?: {
|
|
2154
|
+
reason: "identity_changed" | "revision_changed" | "scope_busy";
|
|
2155
|
+
retryable: false;
|
|
2156
|
+
status: "conflict";
|
|
2157
|
+
} | {
|
|
2158
|
+
reason: "policy_invalid";
|
|
2159
|
+
retryable: false;
|
|
2160
|
+
status: "rejected";
|
|
2161
|
+
} | {
|
|
1880
2162
|
operation: {
|
|
1881
2163
|
accountId: string;
|
|
1882
2164
|
operationId: import("convex/values").GenericId<"balanceFundingOperations">;
|
|
@@ -1887,14 +2169,6 @@ export declare function setup(scope?: Scope): Promise<{
|
|
|
1887
2169
|
} | {
|
|
1888
2170
|
enabled: boolean;
|
|
1889
2171
|
status: "unchanged";
|
|
1890
|
-
} | {
|
|
1891
|
-
reason: "identity_changed" | "revision_changed" | "scope_busy";
|
|
1892
|
-
retryable: false;
|
|
1893
|
-
status: "conflict";
|
|
1894
|
-
} | {
|
|
1895
|
-
reason: "policy_invalid";
|
|
1896
|
-
retryable: false;
|
|
1897
|
-
status: "rejected";
|
|
1898
2172
|
} | {
|
|
1899
2173
|
reason: "provider_pending";
|
|
1900
2174
|
retryable: true;
|
|
@@ -1905,6 +2179,14 @@ export declare function setup(scope?: Scope): Promise<{
|
|
|
1905
2179
|
payload: import("convex/values").VString<string, "required">;
|
|
1906
2180
|
preparationId: import("convex/values").VId<import("convex/values").GenericId<"balanceFundingPreparations">, "required">;
|
|
1907
2181
|
result: import("convex/values").VUnion<{
|
|
2182
|
+
reason: "identity_changed" | "revision_changed" | "scope_busy";
|
|
2183
|
+
retryable: false;
|
|
2184
|
+
status: "conflict";
|
|
2185
|
+
} | {
|
|
2186
|
+
reason: "policy_invalid";
|
|
2187
|
+
retryable: false;
|
|
2188
|
+
status: "rejected";
|
|
2189
|
+
} | {
|
|
1908
2190
|
operation: {
|
|
1909
2191
|
accountId: string;
|
|
1910
2192
|
operationId: import("convex/values").GenericId<"balanceFundingOperations">;
|
|
@@ -1915,14 +2197,6 @@ export declare function setup(scope?: Scope): Promise<{
|
|
|
1915
2197
|
} | {
|
|
1916
2198
|
enabled: boolean;
|
|
1917
2199
|
status: "unchanged";
|
|
1918
|
-
} | {
|
|
1919
|
-
reason: "identity_changed" | "revision_changed" | "scope_busy";
|
|
1920
|
-
retryable: false;
|
|
1921
|
-
status: "conflict";
|
|
1922
|
-
} | {
|
|
1923
|
-
reason: "policy_invalid";
|
|
1924
|
-
retryable: false;
|
|
1925
|
-
status: "rejected";
|
|
1926
2200
|
} | {
|
|
1927
2201
|
reason: "provider_pending";
|
|
1928
2202
|
retryable: true;
|
|
@@ -2132,6 +2406,7 @@ export declare function setup(scope?: Scope): Promise<{
|
|
|
2132
2406
|
}, "required", "bucketKey" | "fingerprint" | "generation" | "isContradictory" | "observedFingerprint" | "orgId" | "ownershipFingerprint" | "ownershipStatus" | "producer" | "producerVersion" | "registrationId" | "role" | "sourceChargeId" | "sourceInvoiceId" | "stripeTransferId" | "transferId" | "userId">, {
|
|
2133
2407
|
by_bucket_key: ["bucketKey", "_creationTime"];
|
|
2134
2408
|
by_owner: ["userId", "orgId", "_creationTime"];
|
|
2409
|
+
by_source_charge_id: ["sourceChargeId", "_creationTime"];
|
|
2135
2410
|
by_transfer_id: ["transferId", "_creationTime"];
|
|
2136
2411
|
}, {}, {}>;
|
|
2137
2412
|
financialTransferBatches: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payoutSyncTestHelpers.d.ts","sourceRoot":"","sources":["../../../src/client/connect/payoutSyncTestHelpers.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AACjC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAIvD,eAAO,MAAM,SAAS,EAIN,SAAS,CAAC;AAC1B,MAAM,MAAM,KAAK,GACf;IAAE,IAAI,EAAE,WAAW,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAE,GAAG;IAAE,IAAI,EAAE,UAAU,CAAA;CAAE,CAAC;AAClE,KAAK,IAAI,GAAG,CACV,MAAM,EAAE,MAAM,EACd,SAAS,EAAE,SAAS,EACpB,GAAG,EAAE,MAAM,EACX,IAAI,EAAE;IAAE,cAAc,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,KAAK,CAAA;CAAE,KAC3C,OAAO,CAAC,OAAO,CAAC,CAAC;AACtB,wBAAsB,SAAS,kBAU9B;AACD,wBAAsB,KAAK,CACzB,KAAK,GAAE,KAAsD
|
|
1
|
+
{"version":3,"file":"payoutSyncTestHelpers.d.ts","sourceRoot":"","sources":["../../../src/client/connect/payoutSyncTestHelpers.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AACjC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAIvD,eAAO,MAAM,SAAS,EAIN,SAAS,CAAC;AAC1B,MAAM,MAAM,KAAK,GACf;IAAE,IAAI,EAAE,WAAW,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAE,GAAG;IAAE,IAAI,EAAE,UAAU,CAAA;CAAE,CAAC;AAClE,KAAK,IAAI,GAAG,CACV,MAAM,EAAE,MAAM,EACd,SAAS,EAAE,SAAS,E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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAKxC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,QAAQ,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAkCzC,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAQtC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { PaginationOptions, PaginationResult } from "convex/server";
|
|
2
2
|
import type { Infer } from "convex/values";
|
|
3
3
|
import type { registrationDoc } from "../component/financialOwnership/schema.js";
|
|
4
|
-
import {
|
|
4
|
+
import { ReversalObservationsHost } from "./reversalObservations.js";
|
|
5
5
|
import type { Component, RunCtx } from "./helpers.js";
|
|
6
6
|
export type FinancialOwnershipRegistration = Infer<typeof registrationDoc>;
|
|
7
7
|
export type FinancialOwnershipResult = {
|
|
@@ -46,7 +46,7 @@ export declare class FinancialOwnershipClient {
|
|
|
46
46
|
}): Promise<FinancialOwnershipPage>;
|
|
47
47
|
}
|
|
48
48
|
/** Extends the existing facade without expanding its frozen entry-file budget. */
|
|
49
|
-
export declare abstract class FinancialOwnershipHost extends
|
|
49
|
+
export declare abstract class FinancialOwnershipHost extends ReversalObservationsHost {
|
|
50
50
|
readonly financialOwnership: FinancialOwnershipClient;
|
|
51
51
|
}
|
|
52
52
|
//# sourceMappingURL=financialOwnership.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"financialOwnership.d.ts","sourceRoot":"","sources":["../../src/client/financialOwnership.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACzE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAM3C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2CAA2C,CAAC;AACjF,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"financialOwnership.d.ts","sourceRoot":"","sources":["../../src/client/financialOwnership.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACzE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAM3C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2CAA2C,CAAC;AACjF,OAAO,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AACrE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAItD,MAAM,MAAM,8BAA8B,GAAG,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAC3E,MAAM,MAAM,wBAAwB,GAChC;IACE,MAAM,EAAE,YAAY,CAAC;IACrB,QAAQ,EAAE,SAAS,CAAC;IACpB,YAAY,EAAE,8BAA8B,CAAC;CAC9C,GACD;IAAE,MAAM,EAAE,SAAS,CAAC;IAAC,QAAQ,EAAE,SAAS,CAAA;CAAE,CAAC;AAC/C,MAAM,MAAM,uBAAuB,GAAG;IAAE,MAA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
|
|
3
|
-
import {
|
|
3
|
+
import { ReversalObservationsHost } from "./reversalObservations.js";
|
|
4
4
|
import { runMutationOrThrow } from "./helpers.js";
|
|
5
5
|
import { componentRef } from "./webhooks/helpers.js";
|
|
6
6
|
const owner = { userId: z.string(), orgId: z.string().optional() };
|
|
@@ -66,7 +66,7 @@ export class FinancialOwnershipClient {
|
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
68
|
/** Extends the existing facade without expanding its frozen entry-file budget. */
|
|
69
|
-
export class FinancialOwnershipHost extends
|
|
69
|
+
export class FinancialOwnershipHost extends ReversalObservationsHost {
|
|
70
70
|
financialOwnership = new FinancialOwnershipClient(this.component);
|
|
71
71
|
}
|
|
72
72
|
//# sourceMappingURL=financialOwnership.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"financialOwnership.js","sourceRoot":"","sources":["../../src/client/financialOwnership.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACL,WAAW,EACX,cAAc,GACf,MAAM,4CAA4C,CAAC;AAEpD,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"financialOwnership.js","sourceRoot":"","sources":["../../src/client/financialOwnership.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACL,WAAW,EACX,cAAc,GACf,MAAM,4CAA4C,CAAC;AAEpD,OAAO,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AAErE,OAAO,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAClD,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAsBrD,MAAM,KAAK,GAAG,EAAE,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,EAAE,CAAC;AACnE,MAAM,iBAAiB,GAAG,CAAC,CAAC,kB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,kBAAkB,GAAG,IAAI,wBAAwB,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;CAC5E"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import type { PaginationResult } from "convex/server";
|
|
2
|
+
import type { Infer } from "convex/values";
|
|
3
|
+
import { z } from "zod";
|
|
4
|
+
import { FinancialObservationsHost } from "./financialObservations.js";
|
|
5
|
+
import { type Component, type RunCtx } from "./helpers.js";
|
|
6
|
+
import { observationPagination } from "./observationPagination.js";
|
|
7
|
+
import type { activationResult } from "../component/payoutRevisionJournal/schema.js";
|
|
8
|
+
import type { jobDoc, resultDoc } from "../component/payoutRevisionMigration/schema.js";
|
|
9
|
+
export type PayoutRevisionActivation = Infer<typeof activationResult>;
|
|
10
|
+
export type PayoutRevisionMigrationState = Infer<typeof jobDoc>;
|
|
11
|
+
export type PayoutRevisionMigrationResult = Infer<typeof resultDoc>;
|
|
12
|
+
/** Trusted host maintenance only. Authorize every call; completion is not financial coverage. */
|
|
13
|
+
export declare class PayoutRevisionMigrationClient {
|
|
14
|
+
private component;
|
|
15
|
+
constructor(component: Component);
|
|
16
|
+
activateAccount(ctx: RunCtx, input: {
|
|
17
|
+
accountId: string;
|
|
18
|
+
}): Promise<PayoutRevisionActivation>;
|
|
19
|
+
begin(ctx: RunCtx, input: {
|
|
20
|
+
operationKey: string;
|
|
21
|
+
}): Promise<PayoutRevisionMigrationState>;
|
|
22
|
+
resume(ctx: RunCtx, input: {
|
|
23
|
+
jobId: string;
|
|
24
|
+
expectedStep: number;
|
|
25
|
+
}): Promise<PayoutRevisionMigrationState>;
|
|
26
|
+
get(ctx: RunCtx, input: {
|
|
27
|
+
jobId: string;
|
|
28
|
+
}): Promise<PayoutRevisionMigrationState | null>;
|
|
29
|
+
results(ctx: RunCtx, input: {
|
|
30
|
+
jobId: string;
|
|
31
|
+
paginationOpts: z.input<typeof observationPagination>;
|
|
32
|
+
}): Promise<PaginationResult<PayoutRevisionMigrationResult>>;
|
|
33
|
+
}
|
|
34
|
+
export declare abstract class PayoutRevisionMigrationHost extends FinancialObservationsHost {
|
|
35
|
+
readonly payoutRevisionMigration: PayoutRevisionMigrationClient;
|
|
36
|
+
}
|
|
37
|
+
//# sourceMappingURL=payoutRevisionMigration.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"payoutRevisionMigration.d.ts","sourceRoot":"","sources":["../../src/client/payoutRevisionMigration.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACtD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,yBAAyB,EAAE,MAAM,4BAA4B,CAAC;AACvE,OAAO,EAAsB,KAAK,SAAS,EAAE,KAAK,MAAM,EAAE,MAAM,cAAc,CAAC;AAE/E,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACnE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,8CAA8C,CAAC;AACrF,OAAO,KAAK,EACV,MAAM,EACN,SAAS,EACV,MAAM,gDAAgD,CAAC;AACxD,MAAM,MAAM,wBAAwB,GAAG,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AACtE,MAAM,MAAM,4BAA4B,GAAG,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC;AAChE,MAAM,MAAM,6BAA6B,GAAG,KAAK,CAAC,OAAO,SAAS,CAAC,CAAC;AAEpE,iGAAiG;AACjG,qBAAa,6BAA6B;IAC5B,OAAO,CAAC,SAAS;IAA7B,YAAoB,SAAS,EAAE,SAAS,EAAI;IAC5C,eAAe,CACb,GAAG,EAAE,MAAM,EACX,KAAK,EAAE;QAAE,SAAS,EAAE,MAAM,CAAA;KAAE,GAC3B,OAAO,CAAC,wBAAwB,CAAC,CAUnC;IACD,KAAK,CACH,GAAG,EAAE,MAAM,EACX,KAAK,EAAE;QAAE,YAAY,EAAE,MAAM,CAAA;KAAE,GAC9B,OAAO,CAAC,4BAA4B,CAAC,CAUvC;IACD,MAAM,CACJ,GAAG,EAAE,MAAM,EACX,KAAK,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,YAAY,EAAE,MAAM,CAAA;KAAE,GAC7C,OAAO,CAAC,4BAA4B,CAAC,CAavC;IACD,GAAG,CACD,GAAG,EAAE,MAAM,EACX,KAAK,EAAE;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,GACvB,OAAO,CAAC,4BAA4B,GAAG,IAAI,CAAC,CAM9C;IACD,OAAO,CACL,GAAG,EAAE,MAAM,EACX,KAAK,EAAE;QACL,KAAK,EAAE,MAAM,CAAC;QACd,cAAc,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;KACvD,GACA,OAAO,CAAC,gBAAgB,CAAC,6BAA6B,CAAC,CAAC,CAS1D;CACF;AACD,8BAAsB,2BAA4B,SAAQ,yBAAyB;IACjF,QAAQ,CAAC,uBAAuB,gCAE9B;CACH"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import { FinancialObservationsHost } from "./financialObservations.js";
|
|
3
|
+
import { runMutationOrThrow } from "./helpers.js";
|
|
4
|
+
import { componentRef } from "./webhooks/helpers.js";
|
|
5
|
+
import { observationPagination } from "./observationPagination.js";
|
|
6
|
+
const jobId = z.string().min(1).max(256);
|
|
7
|
+
/** Trusted host maintenance only. Authorize every call; completion is not financial coverage. */
|
|
8
|
+
export class PayoutRevisionMigrationClient {
|
|
9
|
+
component;
|
|
10
|
+
constructor(component) {
|
|
11
|
+
this.component = component;
|
|
12
|
+
}
|
|
13
|
+
activateAccount(ctx, input) {
|
|
14
|
+
const args = z.object({ accountId: z.string() }).strict().parse(input);
|
|
15
|
+
return runMutationOrThrow(ctx, componentRef(this.component, "payoutRevisionJournal/mutations/activateAccount"), args);
|
|
16
|
+
}
|
|
17
|
+
begin(ctx, input) {
|
|
18
|
+
const args = z
|
|
19
|
+
.object({ operationKey: z.string().min(1).max(256) })
|
|
20
|
+
.strict()
|
|
21
|
+
.parse(input);
|
|
22
|
+
return runMutationOrThrow(ctx, componentRef(this.component, "payoutRevisionMigration/mutations/begin"), args);
|
|
23
|
+
}
|
|
24
|
+
resume(ctx, input) {
|
|
25
|
+
const args = z
|
|
26
|
+
.object({
|
|
27
|
+
jobId,
|
|
28
|
+
expectedStep: z.number().int().min(0).max(Number.MAX_SAFE_INTEGER),
|
|
29
|
+
})
|
|
30
|
+
.strict()
|
|
31
|
+
.parse(input);
|
|
32
|
+
return runMutationOrThrow(ctx, componentRef(this.component, "payoutRevisionMigration/mutations/resume"), args);
|
|
33
|
+
}
|
|
34
|
+
get(ctx, input) {
|
|
35
|
+
const args = z.object({ jobId }).strict().parse(input);
|
|
36
|
+
return ctx.runQuery(componentRef(this.component, "payoutRevisionMigration/queries/get"), args);
|
|
37
|
+
}
|
|
38
|
+
results(ctx, input) {
|
|
39
|
+
const args = z
|
|
40
|
+
.object({ jobId, paginationOpts: observationPagination })
|
|
41
|
+
.strict()
|
|
42
|
+
.parse(input);
|
|
43
|
+
return ctx.runQuery(componentRef(this.component, "payoutRevisionMigration/queries/results"), args);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
export class PayoutRevisionMigrationHost extends FinancialObservationsHost {
|
|
47
|
+
payoutRevisionMigration = new PayoutRevisionMigrationClient(this.component);
|
|
48
|
+
}
|
|
49
|
+
//# sourceMappingURL=payoutRevisionMigration.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"payoutRevisionMigration.js","sourceRoot":"","sources":["../../src/client/payoutRevisionMigration.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,yBAAyB,EAAE,MAAM,4BAA4B,CAAC;AACvE,OAAO,EAAE,kBAAkB,EAA+B,M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,gBAAgB,CAAC;SACnE,CAAC;aACD,MAAM,EAAE;aACR,KAAK,CAAC,KAAK,CAAC,CAAC;QAChB,OAAO,kBAAkB,CACvB,GAAG,EACH,YAAY,CAAC,IAAI,CAAC,SAAS,EAAE,0CAA0C,CAAC,EACxE,IAAI,CACL,CAAC;IACJ,CAAC;IACD,GAAG,CACD,GAAW,EACX,KAAwB;QAExB,MAAM,IAAI,GAAG,CAAC,CAAC,MAAM,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;QACvD,OAAO,GAAG,CAAC,QAAQ,CACjB,YAAY,CAAC,IAAI,CAAC,SAAS,EAAE,qCAAqC,CAAC,EACnE,IAAI,CACL,CAAC;IACJ,CAAC;IACD,OAAO,CACL,GAAW,EACX,KAGC;QAED,MAAM,IAAI,GAAG,CAAC;aACX,MAAM,CAAC,EAAE,KAAK,EAAE,cAAc,EAAE,qBAAqB,EAAE,CAAC;aACxD,MAAM,EAAE;aACR,KAAK,CAAC,KAAK,CAAC,CAAC;QAChB,OAAO,GAAG,CAAC,QAAQ,CACjB,YAAY,CAAC,IAAI,CAAC,SAAS,EAAE,yCAAyC,CAAC,EACvE,IAAI,CACL,CAAC;IACJ,CAAC;CACF;AACD,MAAM,OAAgB,2BAA4B,SAAQ,yBAAyB;IACxE,uBAAuB,GAAG,IAAI,6BAA6B,CAClE,IAAI,CAAC,SAAS,CACf,CAAC;CACH"}
|
|
@@ -12,4 +12,6 @@ export type { ProcessingCostContext, ProcessingCostOptions, ProcessingCostTransa
|
|
|
12
12
|
export type { BalanceFundingCapability, BalanceFundingPreparation, PrepareBalanceFundingOptions, SetBalanceFundingOptions, } from "./billing/balanceFunding.js";
|
|
13
13
|
export type { SubscriptionHistoryPageOptions, CheckoutSessionHistoryPageOptions, SubscriptionHistoryPage, CheckoutSessionHistoryPage, } from "./billing/historyPages.js";
|
|
14
14
|
export type { AccountByStripeIdOptions, SubscriptionByStripeIdOptions, } from "./originalIdReadOptions.js";
|
|
15
|
+
export type { PayoutRevisionActivation, PayoutRevisionMigrationState, PayoutRevisionMigrationResult, } from "./payoutRevisionMigration.js";
|
|
16
|
+
export type { ReversalObservation, ReversalObservationSlice, ReversalObservationPayload, ReversalObservationState, ReversalObservationResult, ReversalObservationPage, } from "./reversalObservations.js";
|
|
15
17
|
//# sourceMappingURL=publicTypes.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"publicTypes.d.ts","sourceRoot":"","sources":["../../src/client/publicTypes.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACtE,YAAY,EACV,mBAAmB,EACnB,WAAW,EACX,OAAO,EACP,iBAAiB,EACjB,oBAAoB,GACrB,MAAM,YAAY,CAAC;AACpB,YAAY,EACV,qBAAqB,EACrB,YAAY,EACZ,UAAU,EACV,iBAAiB,EACjB,iBAAiB,EACjB,sBAAsB,EACtB,8BAA8B,EAC9B,sBAAsB,EACtB,sBAAsB,EACtB,sBAAsB,EACtB,qBAAqB,EACrB,oBAAoB,EACpB,sBAAsB,EACtB,qBAAqB,EACrB,2BAA2B,EAC3B,kBAAkB,EAClB,kBAAkB,EAClB,mBAAmB,EACnB,eAAe,EACf,kBAAkB,EAClB,cAAc,EACd,YAAY,EACZ,WAAW,EACX,gBAAgB,GACjB,MAAM,YAAY,CAAC;AACpB,YAAY,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;AAE/E,YAAY,EACV,uBAAuB,EACvB,8BAA8B,EAC9B,wBAAwB,EACxB,sBAAsB,EACtB,iCAAiC,GAClC,MAAM,yBAAyB,CAAC;AAEjC,YAAY,EACV,0BAA0B,EAC1B,kBAAkB,EAClB,qBAAqB,EACrB,wBAAwB,EACxB,yBAAyB,GAC1B,MAAM,4BAA4B,CAAC;AAEpC,YAAY,EACV,qBAAqB,EACrB,4BAA4B,GAC7B,MAAM,oCAAoC,CAAC;AAC5C,YAAY,EACV,4BAA4B,EAC5B,sBAAsB,EACtB,0BAA0B,EAC1B,uBAAuB,EACvB,qBAAqB,EACrB,0BAA0B,EAC1B,0BAA0B,EAC1B,4BAA4B,EAC5B,8BAA8B,GAC/B,MAAM,2BAA2B,CAAC;AAEnC,YAAY,EACV,iCAAiC,EACjC,gCAAgC,GACjC,MAAM,yCAAyC,CAAC;AACjD,YAAY,EACV,uBAAuB,EACvB,wBAAwB,EACxB,6BAA6B,EAC7B,8BAA8B,EAC9B,8BAA8B,EAC9B,qBAAqB,GACtB,MAAM,wBAAwB,CAAC;AAChC,YAAY,EACV,qBAAqB,EACrB,qBAAqB,EACrB,yBAAyB,EACzB,oBAAoB,EACpB,4BAA4B,GAC7B,MAAM,iCAAiC,CAAC;AACzC,YAAY,EACV,wBAAwB,EACxB,yBAAyB,EACzB,4BAA4B,EAC5B,wBAAwB,GACzB,MAAM,6BAA6B,CAAC;AAErC,YAAY,EACV,8BAA8B,EAC9B,iCAAiC,EACjC,uBAAuB,EACvB,0BAA0B,GAC3B,MAAM,2BAA2B,CAAC;AAEnC,YAAY,EACV,wBAAwB,EACxB,6BAA6B,GAC9B,MAAM,4BAA4B,CAAC"}
|
|
1
|
+
{"version":3,"file":"publicTypes.d.ts","sourceRoot":"","sources":["../../src/client/publicTypes.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACtE,YAAY,EACV,mBAAmB,EACnB,WAAW,EACX,OAAO,EACP,iBAAiB,EACjB,oBAAoB,GACrB,MAAM,YAAY,CAAC;AACpB,YAAY,EACV,qBAAqB,EACrB,YAAY,EACZ,UAAU,EACV,iBAAiB,EACjB,iBAAiB,EACjB,sBAAsB,EACtB,8BAA8B,EAC9B,sBAAsB,EACtB,sBAAsB,EACtB,sBAAsB,EACtB,qBAAqB,EACrB,oBAAoB,EACpB,sBAAsB,EACtB,qBAAqB,EACrB,2BAA2B,EAC3B,kBAAkB,EAClB,kBAAkB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