@fantastic.dev/better-stripe 0.34.0 → 0.37.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 +260 -0
- package/README.md +1 -1
- package/dist/client/connect/payoutAdoptionTestHelpers.d.ts +664 -2
- package/dist/client/connect/payoutAdoptionTestHelpers.d.ts.map +1 -1
- package/dist/client/connect/payoutExecutionTestHelpers.d.ts +332 -1
- package/dist/client/connect/payoutExecutionTestHelpers.d.ts.map +1 -1
- package/dist/client/connect/payoutLargeAdoptionTestHelpers.d.ts +664 -2
- package/dist/client/connect/payoutLargeAdoptionTestHelpers.d.ts.map +1 -1
- package/dist/client/connect/payoutSyncTestHelpers.d.ts +332 -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/operationEvidence.d.ts +37 -0
- package/dist/client/operationEvidence.d.ts.map +1 -0
- package/dist/client/operationEvidence.js +44 -0
- package/dist/client/operationEvidence.js.map +1 -0
- package/dist/client/publicTypes.d.ts +6 -0
- package/dist/client/publicTypes.d.ts.map +1 -1
- package/dist/client/readContracts.d.ts +31 -0
- package/dist/client/readContracts.d.ts.map +1 -1
- package/dist/client/readContracts.js +14 -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 +687 -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/pairedAdjustment.d.ts +12 -0
- package/dist/component/earnings/pairedAdjustment.d.ts.map +1 -0
- package/dist/component/earnings/pairedAdjustment.js +46 -0
- package/dist/component/earnings/pairedAdjustment.js.map +1 -0
- package/dist/component/earnings/triggers.d.ts +546 -2
- package/dist/component/earnings/triggers.d.ts.map +1 -1
- package/dist/component/earnings/triggers.js +17 -3
- 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/operationEvidence/canonical.d.ts +4 -0
- package/dist/component/operationEvidence/canonical.d.ts.map +1 -0
- package/dist/component/operationEvidence/canonical.js +8 -0
- package/dist/component/operationEvidence/canonical.js.map +1 -0
- package/dist/component/operationEvidence/helpers.d.ts +87 -0
- package/dist/component/operationEvidence/helpers.d.ts.map +1 -0
- package/dist/component/operationEvidence/helpers.js +49 -0
- package/dist/component/operationEvidence/helpers.js.map +1 -0
- package/dist/component/operationEvidence/maintenance.d.ts +88 -0
- package/dist/component/operationEvidence/maintenance.d.ts.map +1 -0
- package/dist/component/operationEvidence/maintenance.js +59 -0
- package/dist/component/operationEvidence/maintenance.js.map +1 -0
- package/dist/component/operationEvidence/mutations.d.ts +97 -0
- package/dist/component/operationEvidence/mutations.d.ts.map +1 -0
- package/dist/component/operationEvidence/mutations.js +14 -0
- package/dist/component/operationEvidence/mutations.js.map +1 -0
- package/dist/component/operationEvidence/queries.d.ts +205 -0
- package/dist/component/operationEvidence/queries.d.ts.map +1 -0
- package/dist/component/operationEvidence/queries.js +75 -0
- package/dist/component/operationEvidence/queries.js.map +1 -0
- package/dist/component/operationEvidence/schema.d.ts +536 -0
- package/dist/component/operationEvidence/schema.d.ts.map +1 -0
- package/dist/component/operationEvidence/schema.js +53 -0
- package/dist/component/operationEvidence/schema.js.map +1 -0
- 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 +58 -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/originalSeller.d.ts +5 -0
- package/dist/component/refundHistory/originalSeller.d.ts.map +1 -0
- package/dist/component/refundHistory/originalSeller.js +35 -0
- package/dist/component/refundHistory/originalSeller.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 +332 -1
- package/dist/component/schema.js +15 -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 +244 -0
- package/docs/financial-ownership.md +54 -0
- package/docs/refund-command-evidence.md +55 -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/operationEvidence.test.ts +110 -0
- package/src/client/operationEvidence.ts +92 -0
- package/src/client/publicTypes.ts +45 -0
- package/src/client/readContracts.ts +25 -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 +54 -0
- package/src/component/_generated/component.ts +797 -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/paired-adjustment.test.ts +258 -0
- package/src/component/earnings/pairedAdjustment.ts +77 -0
- package/src/component/earnings/triggers.ts +23 -11
- 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/operationEvidence/canonical.ts +10 -0
- package/src/component/operationEvidence/helpers.ts +65 -0
- package/src/component/operationEvidence/integrity.test.ts +257 -0
- package/src/component/operationEvidence/maintenance.test.ts +152 -0
- package/src/component/operationEvidence/maintenance.ts +89 -0
- package/src/component/operationEvidence/mutations.ts +14 -0
- package/src/component/operationEvidence/queries.ts +108 -0
- package/src/component/operationEvidence/reads.test.ts +140 -0
- package/src/component/operationEvidence/schema.ts +62 -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 +76 -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/original-seller-boundaries.test.ts +138 -0
- package/src/component/refundHistory/original-seller.test.ts +175 -0
- package/src/component/refundHistory/originalSeller.ts +48 -0
- package/src/component/refundHistory/queries.ts +15 -0
- package/src/component/schema.ts +28 -0
- package/src/component/settlement/mutations.ts +5 -1
- package/src/shared/refundCommandScope.ts +19 -0
|
@@ -1367,6 +1367,10 @@ export type ComponentApi<Name extends string | undefined = string | undefined> =
|
|
|
1367
1367
|
failureReason?: string;
|
|
1368
1368
|
metadata?: any;
|
|
1369
1369
|
reason?: "duplicate" | "fraudulent" | "requested_by_customer" | "expired_uncaptured_charge";
|
|
1370
|
+
refundCommandConflict?: boolean;
|
|
1371
|
+
refundCommandKey?: string;
|
|
1372
|
+
refundCommandNormalizationVersion?: 1;
|
|
1373
|
+
refundCommandObservedAt?: number;
|
|
1370
1374
|
status: "pending" | "requires_action" | "succeeded" | "failed" | "canceled";
|
|
1371
1375
|
stripeChargeId?: string;
|
|
1372
1376
|
stripePaymentIntentId?: string;
|
|
@@ -1473,6 +1477,10 @@ export type ComponentApi<Name extends string | undefined = string | undefined> =
|
|
|
1473
1477
|
failureReason?: string;
|
|
1474
1478
|
metadata?: any;
|
|
1475
1479
|
reason?: "duplicate" | "fraudulent" | "requested_by_customer" | "expired_uncaptured_charge";
|
|
1480
|
+
refundCommandConflict?: boolean;
|
|
1481
|
+
refundCommandKey?: string;
|
|
1482
|
+
refundCommandNormalizationVersion?: 1;
|
|
1483
|
+
refundCommandObservedAt?: number;
|
|
1476
1484
|
status: "pending" | "requires_action" | "succeeded" | "failed" | "canceled";
|
|
1477
1485
|
stripeChargeId?: string;
|
|
1478
1486
|
stripePaymentIntentId?: string;
|
|
@@ -2166,6 +2174,643 @@ export type ComponentApi<Name extends string | undefined = string | undefined> =
|
|
|
2166
2174
|
}, Name>;
|
|
2167
2175
|
};
|
|
2168
2176
|
};
|
|
2177
|
+
financialObservations: {
|
|
2178
|
+
mutations: {
|
|
2179
|
+
resume: FunctionReference<"mutation", "internal", {
|
|
2180
|
+
allocationId: string;
|
|
2181
|
+
expectedGeneration: number;
|
|
2182
|
+
}, {
|
|
2183
|
+
coverage: "unknown";
|
|
2184
|
+
observation: {
|
|
2185
|
+
_creationTime: number;
|
|
2186
|
+
_id: string;
|
|
2187
|
+
allocationId: string;
|
|
2188
|
+
continuation?: {
|
|
2189
|
+
nextLeg: number;
|
|
2190
|
+
state: "indexing" | "validating" | "complete" | "held";
|
|
2191
|
+
validatedLegs: number;
|
|
2192
|
+
};
|
|
2193
|
+
fingerprint: string;
|
|
2194
|
+
generation: number;
|
|
2195
|
+
indexedLegCount: number;
|
|
2196
|
+
isContradictory: boolean;
|
|
2197
|
+
isOverflow: boolean;
|
|
2198
|
+
legCount: number;
|
|
2199
|
+
observedFingerprint: string;
|
|
2200
|
+
ownershipFingerprint: string;
|
|
2201
|
+
producer: "settlement_allocation";
|
|
2202
|
+
producerVersion: 1;
|
|
2203
|
+
sourceChargeId: string;
|
|
2204
|
+
} | null;
|
|
2205
|
+
}, Name>;
|
|
2206
|
+
resumeTransferBatch: FunctionReference<"mutation", "internal", {
|
|
2207
|
+
batchId: string;
|
|
2208
|
+
expectedGeneration: number;
|
|
2209
|
+
}, {
|
|
2210
|
+
batch: {
|
|
2211
|
+
_creationTime: number;
|
|
2212
|
+
_id: string;
|
|
2213
|
+
continuation?: {
|
|
2214
|
+
nextReference: number;
|
|
2215
|
+
producerGeneration: number;
|
|
2216
|
+
sourceFingerprint: string;
|
|
2217
|
+
state: "indexing" | "validating" | "complete" | "held";
|
|
2218
|
+
validatedReferences: number;
|
|
2219
|
+
};
|
|
2220
|
+
fingerprint: string;
|
|
2221
|
+
generation: number;
|
|
2222
|
+
isContradictory: boolean;
|
|
2223
|
+
isOverflow: true;
|
|
2224
|
+
observedFingerprint: string;
|
|
2225
|
+
operationId: string;
|
|
2226
|
+
originalOperationId: string;
|
|
2227
|
+
producer: "transfer_frontier_release" | "transfer_frontier_claim";
|
|
2228
|
+
producerVersion: 1;
|
|
2229
|
+
referenceCount: number;
|
|
2230
|
+
sourceChargeId: string;
|
|
2231
|
+
state: "pending" | "complete";
|
|
2232
|
+
transferIds: Array<string>;
|
|
2233
|
+
} | null;
|
|
2234
|
+
coverage: "unknown";
|
|
2235
|
+
hasDeferredWork: boolean;
|
|
2236
|
+
producerGeneration: number | null;
|
|
2237
|
+
}, Name>;
|
|
2238
|
+
};
|
|
2239
|
+
queries: {
|
|
2240
|
+
bucket: FunctionReference<"query", "internal", {
|
|
2241
|
+
bucketKey: string;
|
|
2242
|
+
paginationOpts: {
|
|
2243
|
+
cursor: string | null;
|
|
2244
|
+
endCursor?: string | null;
|
|
2245
|
+
id?: number;
|
|
2246
|
+
maximumBytesRead?: number;
|
|
2247
|
+
maximumRowsRead?: number;
|
|
2248
|
+
numItems: number;
|
|
2249
|
+
};
|
|
2250
|
+
}, {
|
|
2251
|
+
continueCursor: string;
|
|
2252
|
+
coverage: "unknown";
|
|
2253
|
+
generation: number | null;
|
|
2254
|
+
isDone: boolean;
|
|
2255
|
+
page: Array<{
|
|
2256
|
+
_creationTime: number;
|
|
2257
|
+
_id: string;
|
|
2258
|
+
allocationId: string;
|
|
2259
|
+
bucketKey: string;
|
|
2260
|
+
legIndex: number;
|
|
2261
|
+
orgId?: string;
|
|
2262
|
+
ownershipStatus: "registered" | "unknown" | "ambiguous" | "contradictory";
|
|
2263
|
+
registrationId?: string;
|
|
2264
|
+
role: "store" | "affiliate" | "other";
|
|
2265
|
+
sourceChargeId: string;
|
|
2266
|
+
userId?: string;
|
|
2267
|
+
}>;
|
|
2268
|
+
pageStatus?: "SplitRecommended" | "SplitRequired" | null;
|
|
2269
|
+
splitCursor?: string | null;
|
|
2270
|
+
}, Name>;
|
|
2271
|
+
owner: FunctionReference<"query", "internal", {
|
|
2272
|
+
orgId?: string;
|
|
2273
|
+
paginationOpts: {
|
|
2274
|
+
cursor: string | null;
|
|
2275
|
+
endCursor?: string | null;
|
|
2276
|
+
id?: number;
|
|
2277
|
+
maximumBytesRead?: number;
|
|
2278
|
+
maximumRowsRead?: number;
|
|
2279
|
+
numItems: number;
|
|
2280
|
+
};
|
|
2281
|
+
userId: string;
|
|
2282
|
+
}, {
|
|
2283
|
+
continueCursor: string;
|
|
2284
|
+
coverage: "unknown";
|
|
2285
|
+
generation: number | null;
|
|
2286
|
+
isDone: boolean;
|
|
2287
|
+
page: Array<{
|
|
2288
|
+
_creationTime: number;
|
|
2289
|
+
_id: string;
|
|
2290
|
+
allocationId: string;
|
|
2291
|
+
bucketKey: string;
|
|
2292
|
+
legIndex: number;
|
|
2293
|
+
orgId?: string;
|
|
2294
|
+
ownershipStatus: "registered" | "unknown" | "ambiguous" | "contradictory";
|
|
2295
|
+
registrationId?: string;
|
|
2296
|
+
role: "store" | "affiliate" | "other";
|
|
2297
|
+
sourceChargeId: string;
|
|
2298
|
+
userId?: string;
|
|
2299
|
+
}>;
|
|
2300
|
+
pageStatus?: "SplitRecommended" | "SplitRequired" | null;
|
|
2301
|
+
splitCursor?: string | null;
|
|
2302
|
+
}, Name>;
|
|
2303
|
+
source: FunctionReference<"query", "internal", {
|
|
2304
|
+
allocationId: string;
|
|
2305
|
+
}, {
|
|
2306
|
+
coverage: "unknown";
|
|
2307
|
+
observation: null | {
|
|
2308
|
+
_creationTime: number;
|
|
2309
|
+
_id: string;
|
|
2310
|
+
allocationId: string;
|
|
2311
|
+
continuation?: {
|
|
2312
|
+
nextLeg: number;
|
|
2313
|
+
state: "indexing" | "validating" | "complete" | "held";
|
|
2314
|
+
validatedLegs: number;
|
|
2315
|
+
};
|
|
2316
|
+
fingerprint: string;
|
|
2317
|
+
generation: number;
|
|
2318
|
+
indexedLegCount: number;
|
|
2319
|
+
isContradictory: boolean;
|
|
2320
|
+
isOverflow: boolean;
|
|
2321
|
+
legCount: number;
|
|
2322
|
+
observedFingerprint: string;
|
|
2323
|
+
ownershipFingerprint: string;
|
|
2324
|
+
producer: "settlement_allocation";
|
|
2325
|
+
producerVersion: 1;
|
|
2326
|
+
sourceChargeId: string;
|
|
2327
|
+
};
|
|
2328
|
+
}, Name>;
|
|
2329
|
+
transfer: FunctionReference<"query", "internal", {
|
|
2330
|
+
transferId: string;
|
|
2331
|
+
}, {
|
|
2332
|
+
coverage: "unknown";
|
|
2333
|
+
hasDeferredWork: boolean;
|
|
2334
|
+
observation: {
|
|
2335
|
+
_creationTime: number;
|
|
2336
|
+
_id: string;
|
|
2337
|
+
bucketKey: string;
|
|
2338
|
+
fingerprint: string;
|
|
2339
|
+
generation: number;
|
|
2340
|
+
isContradictory: boolean;
|
|
2341
|
+
observedFingerprint: string;
|
|
2342
|
+
orgId?: string;
|
|
2343
|
+
ownershipFingerprint: string;
|
|
2344
|
+
ownershipStatus: "registered" | "unknown" | "ambiguous" | "contradictory";
|
|
2345
|
+
producer: "transfer_fact";
|
|
2346
|
+
producerVersion: 1;
|
|
2347
|
+
registrationId?: string;
|
|
2348
|
+
role?: "store" | "affiliate" | "other";
|
|
2349
|
+
sourceChargeId?: string;
|
|
2350
|
+
sourceInvoiceId?: string;
|
|
2351
|
+
stripeTransferId: string;
|
|
2352
|
+
transferId: string;
|
|
2353
|
+
userId?: string;
|
|
2354
|
+
} | null;
|
|
2355
|
+
producerGeneration: number | null;
|
|
2356
|
+
}, Name>;
|
|
2357
|
+
transferBatch: FunctionReference<"query", "internal", {
|
|
2358
|
+
batchId: string;
|
|
2359
|
+
}, {
|
|
2360
|
+
batch: {
|
|
2361
|
+
_creationTime: number;
|
|
2362
|
+
_id: string;
|
|
2363
|
+
continuation?: {
|
|
2364
|
+
nextReference: number;
|
|
2365
|
+
producerGeneration: number;
|
|
2366
|
+
sourceFingerprint: string;
|
|
2367
|
+
state: "indexing" | "validating" | "complete" | "held";
|
|
2368
|
+
validatedReferences: number;
|
|
2369
|
+
};
|
|
2370
|
+
fingerprint: string;
|
|
2371
|
+
generation: number;
|
|
2372
|
+
isContradictory: boolean;
|
|
2373
|
+
isOverflow: true;
|
|
2374
|
+
observedFingerprint: string;
|
|
2375
|
+
operationId: string;
|
|
2376
|
+
originalOperationId: string;
|
|
2377
|
+
producer: "transfer_frontier_release" | "transfer_frontier_claim";
|
|
2378
|
+
producerVersion: 1;
|
|
2379
|
+
referenceCount: number;
|
|
2380
|
+
sourceChargeId: string;
|
|
2381
|
+
state: "pending" | "complete";
|
|
2382
|
+
transferIds: Array<string>;
|
|
2383
|
+
} | null;
|
|
2384
|
+
coverage: "unknown";
|
|
2385
|
+
hasDeferredWork: boolean;
|
|
2386
|
+
producerGeneration: number | null;
|
|
2387
|
+
}, Name>;
|
|
2388
|
+
transferBatches: FunctionReference<"query", "internal", {
|
|
2389
|
+
operationId: string;
|
|
2390
|
+
paginationOpts: {
|
|
2391
|
+
cursor: string | null;
|
|
2392
|
+
endCursor?: string | null;
|
|
2393
|
+
id?: number;
|
|
2394
|
+
maximumBytesRead?: number;
|
|
2395
|
+
maximumRowsRead?: number;
|
|
2396
|
+
numItems: number;
|
|
2397
|
+
};
|
|
2398
|
+
}, {
|
|
2399
|
+
continueCursor: string;
|
|
2400
|
+
coverage: "unknown";
|
|
2401
|
+
hasDeferredWork: boolean;
|
|
2402
|
+
isDone: boolean;
|
|
2403
|
+
page: Array<{
|
|
2404
|
+
_creationTime: number;
|
|
2405
|
+
_id: string;
|
|
2406
|
+
continuation?: {
|
|
2407
|
+
nextReference: number;
|
|
2408
|
+
producerGeneration: number;
|
|
2409
|
+
sourceFingerprint: string;
|
|
2410
|
+
state: "indexing" | "validating" | "complete" | "held";
|
|
2411
|
+
validatedReferences: number;
|
|
2412
|
+
};
|
|
2413
|
+
fingerprint: string;
|
|
2414
|
+
generation: number;
|
|
2415
|
+
isContradictory: boolean;
|
|
2416
|
+
isOverflow: true;
|
|
2417
|
+
observedFingerprint: string;
|
|
2418
|
+
operationId: string;
|
|
2419
|
+
originalOperationId: string;
|
|
2420
|
+
producer: "transfer_frontier_release" | "transfer_frontier_claim";
|
|
2421
|
+
producerVersion: 1;
|
|
2422
|
+
referenceCount: number;
|
|
2423
|
+
sourceChargeId: string;
|
|
2424
|
+
state: "pending" | "complete";
|
|
2425
|
+
transferIds: Array<string>;
|
|
2426
|
+
}>;
|
|
2427
|
+
pageStatus?: "SplitRecommended" | "SplitRequired" | null;
|
|
2428
|
+
producerGeneration: number | null;
|
|
2429
|
+
splitCursor?: string | null;
|
|
2430
|
+
}, Name>;
|
|
2431
|
+
transferBucket: FunctionReference<"query", "internal", {
|
|
2432
|
+
bucketKey: string;
|
|
2433
|
+
paginationOpts: {
|
|
2434
|
+
cursor: string | null;
|
|
2435
|
+
endCursor?: string | null;
|
|
2436
|
+
id?: number;
|
|
2437
|
+
maximumBytesRead?: number;
|
|
2438
|
+
maximumRowsRead?: number;
|
|
2439
|
+
numItems: number;
|
|
2440
|
+
};
|
|
2441
|
+
}, {
|
|
2442
|
+
continueCursor: string;
|
|
2443
|
+
coverage: "unknown";
|
|
2444
|
+
generation: number | null;
|
|
2445
|
+
hasDeferredWork: boolean;
|
|
2446
|
+
isDone: boolean;
|
|
2447
|
+
page: Array<{
|
|
2448
|
+
_creationTime: number;
|
|
2449
|
+
_id: string;
|
|
2450
|
+
bucketKey: string;
|
|
2451
|
+
fingerprint: string;
|
|
2452
|
+
generation: number;
|
|
2453
|
+
isContradictory: boolean;
|
|
2454
|
+
observedFingerprint: string;
|
|
2455
|
+
orgId?: string;
|
|
2456
|
+
ownershipFingerprint: string;
|
|
2457
|
+
ownershipStatus: "registered" | "unknown" | "ambiguous" | "contradictory";
|
|
2458
|
+
producer: "transfer_fact";
|
|
2459
|
+
producerVersion: 1;
|
|
2460
|
+
registrationId?: string;
|
|
2461
|
+
role?: "store" | "affiliate" | "other";
|
|
2462
|
+
sourceChargeId?: string;
|
|
2463
|
+
sourceInvoiceId?: string;
|
|
2464
|
+
stripeTransferId: string;
|
|
2465
|
+
transferId: string;
|
|
2466
|
+
userId?: string;
|
|
2467
|
+
}>;
|
|
2468
|
+
pageStatus?: "SplitRecommended" | "SplitRequired" | null;
|
|
2469
|
+
producerGeneration: number | null;
|
|
2470
|
+
splitCursor?: string | null;
|
|
2471
|
+
}, Name>;
|
|
2472
|
+
transferOwner: FunctionReference<"query", "internal", {
|
|
2473
|
+
orgId?: string;
|
|
2474
|
+
paginationOpts: {
|
|
2475
|
+
cursor: string | null;
|
|
2476
|
+
endCursor?: string | null;
|
|
2477
|
+
id?: number;
|
|
2478
|
+
maximumBytesRead?: number;
|
|
2479
|
+
maximumRowsRead?: number;
|
|
2480
|
+
numItems: number;
|
|
2481
|
+
};
|
|
2482
|
+
userId: string;
|
|
2483
|
+
}, {
|
|
2484
|
+
continueCursor: string;
|
|
2485
|
+
coverage: "unknown";
|
|
2486
|
+
generation: number | null;
|
|
2487
|
+
hasDeferredWork: boolean;
|
|
2488
|
+
isDone: boolean;
|
|
2489
|
+
page: Array<{
|
|
2490
|
+
_creationTime: number;
|
|
2491
|
+
_id: string;
|
|
2492
|
+
bucketKey: string;
|
|
2493
|
+
fingerprint: string;
|
|
2494
|
+
generation: number;
|
|
2495
|
+
isContradictory: boolean;
|
|
2496
|
+
observedFingerprint: string;
|
|
2497
|
+
orgId?: string;
|
|
2498
|
+
ownershipFingerprint: string;
|
|
2499
|
+
ownershipStatus: "registered" | "unknown" | "ambiguous" | "contradictory";
|
|
2500
|
+
producer: "transfer_fact";
|
|
2501
|
+
producerVersion: 1;
|
|
2502
|
+
registrationId?: string;
|
|
2503
|
+
role?: "store" | "affiliate" | "other";
|
|
2504
|
+
sourceChargeId?: string;
|
|
2505
|
+
sourceInvoiceId?: string;
|
|
2506
|
+
stripeTransferId: string;
|
|
2507
|
+
transferId: string;
|
|
2508
|
+
userId?: string;
|
|
2509
|
+
}>;
|
|
2510
|
+
pageStatus?: "SplitRecommended" | "SplitRequired" | null;
|
|
2511
|
+
producerGeneration: number | null;
|
|
2512
|
+
splitCursor?: string | null;
|
|
2513
|
+
}, Name>;
|
|
2514
|
+
transferReferences: FunctionReference<"query", "internal", {
|
|
2515
|
+
batchId: string;
|
|
2516
|
+
paginationOpts: {
|
|
2517
|
+
cursor: string | null;
|
|
2518
|
+
endCursor?: string | null;
|
|
2519
|
+
id?: number;
|
|
2520
|
+
maximumBytesRead?: number;
|
|
2521
|
+
maximumRowsRead?: number;
|
|
2522
|
+
numItems: number;
|
|
2523
|
+
};
|
|
2524
|
+
}, {
|
|
2525
|
+
continueCursor: string;
|
|
2526
|
+
coverage: "unknown";
|
|
2527
|
+
hasDeferredWork: boolean;
|
|
2528
|
+
isDone: boolean;
|
|
2529
|
+
page: Array<{
|
|
2530
|
+
_creationTime: number;
|
|
2531
|
+
_id: string;
|
|
2532
|
+
batchId: string;
|
|
2533
|
+
observationGeneration: number;
|
|
2534
|
+
observationId: string;
|
|
2535
|
+
observedFingerprint: string;
|
|
2536
|
+
ownershipFingerprint: string;
|
|
2537
|
+
position: number;
|
|
2538
|
+
sourceFingerprint: string;
|
|
2539
|
+
transferId: string;
|
|
2540
|
+
}>;
|
|
2541
|
+
pageStatus?: "SplitRecommended" | "SplitRequired" | null;
|
|
2542
|
+
producerGeneration: number | null;
|
|
2543
|
+
splitCursor?: string | null;
|
|
2544
|
+
}, Name>;
|
|
2545
|
+
};
|
|
2546
|
+
};
|
|
2547
|
+
financialOwnership: {
|
|
2548
|
+
mutations: {
|
|
2549
|
+
register: FunctionReference<"mutation", "internal", {
|
|
2550
|
+
bucketKey: string;
|
|
2551
|
+
kind: "stripe_account" | "logical";
|
|
2552
|
+
orgId?: string;
|
|
2553
|
+
source?: {
|
|
2554
|
+
integration: string;
|
|
2555
|
+
recordId: string;
|
|
2556
|
+
};
|
|
2557
|
+
userId: string;
|
|
2558
|
+
}, {
|
|
2559
|
+
coverage: "unknown";
|
|
2560
|
+
registration: {
|
|
2561
|
+
_creationTime: number;
|
|
2562
|
+
_id: string;
|
|
2563
|
+
bucketKey: string;
|
|
2564
|
+
generation: number;
|
|
2565
|
+
kind: "stripe_account" | "logical";
|
|
2566
|
+
orgId?: string;
|
|
2567
|
+
source: {
|
|
2568
|
+
integration: string;
|
|
2569
|
+
recordId: string;
|
|
2570
|
+
};
|
|
2571
|
+
userId: string;
|
|
2572
|
+
};
|
|
2573
|
+
status: "registered";
|
|
2574
|
+
}, Name>;
|
|
2575
|
+
};
|
|
2576
|
+
queries: {
|
|
2577
|
+
discover: FunctionReference<"query", "internal", {
|
|
2578
|
+
orgId?: string;
|
|
2579
|
+
paginationOpts: {
|
|
2580
|
+
cursor: string | null;
|
|
2581
|
+
endCursor?: string | null;
|
|
2582
|
+
id?: number;
|
|
2583
|
+
maximumBytesRead?: number;
|
|
2584
|
+
maximumRowsRead?: number;
|
|
2585
|
+
numItems: number;
|
|
2586
|
+
};
|
|
2587
|
+
userId: string;
|
|
2588
|
+
}, {
|
|
2589
|
+
continueCursor: string;
|
|
2590
|
+
coverage: "unknown";
|
|
2591
|
+
generation: number;
|
|
2592
|
+
isDone: boolean;
|
|
2593
|
+
page: Array<{
|
|
2594
|
+
_creationTime: number;
|
|
2595
|
+
_id: string;
|
|
2596
|
+
bucketKey: string;
|
|
2597
|
+
generation: number;
|
|
2598
|
+
kind: "stripe_account" | "logical";
|
|
2599
|
+
orgId?: string;
|
|
2600
|
+
source: {
|
|
2601
|
+
integration: string;
|
|
2602
|
+
recordId: string;
|
|
2603
|
+
};
|
|
2604
|
+
userId: string;
|
|
2605
|
+
}>;
|
|
2606
|
+
pageStatus?: "SplitRecommended" | "SplitRequired" | null;
|
|
2607
|
+
splitCursor?: string | null;
|
|
2608
|
+
}, Name>;
|
|
2609
|
+
lookup: FunctionReference<"query", "internal", {
|
|
2610
|
+
bucketKey: string;
|
|
2611
|
+
}, {
|
|
2612
|
+
coverage: "unknown";
|
|
2613
|
+
registration: {
|
|
2614
|
+
_creationTime: number;
|
|
2615
|
+
_id: string;
|
|
2616
|
+
bucketKey: string;
|
|
2617
|
+
generation: number;
|
|
2618
|
+
kind: "stripe_account" | "logical";
|
|
2619
|
+
orgId?: string;
|
|
2620
|
+
source: {
|
|
2621
|
+
integration: string;
|
|
2622
|
+
recordId: string;
|
|
2623
|
+
};
|
|
2624
|
+
userId: string;
|
|
2625
|
+
};
|
|
2626
|
+
status: "registered";
|
|
2627
|
+
} | {
|
|
2628
|
+
coverage: "unknown";
|
|
2629
|
+
status: "unknown";
|
|
2630
|
+
}, Name>;
|
|
2631
|
+
};
|
|
2632
|
+
};
|
|
2633
|
+
operationEvidence: {
|
|
2634
|
+
mutations: {
|
|
2635
|
+
capture: FunctionReference<"mutation", "internal", {
|
|
2636
|
+
sourceId: string;
|
|
2637
|
+
}, {
|
|
2638
|
+
coverage: "unknown";
|
|
2639
|
+
evidenceGeneration: number | null;
|
|
2640
|
+
header: {
|
|
2641
|
+
_creationTime: number;
|
|
2642
|
+
_id: string;
|
|
2643
|
+
firstObservedAt: number;
|
|
2644
|
+
generation: number;
|
|
2645
|
+
isContradictory: boolean;
|
|
2646
|
+
latestFingerprint: string;
|
|
2647
|
+
latestPayloadId: string;
|
|
2648
|
+
operationDigest: string;
|
|
2649
|
+
originalFingerprint: string;
|
|
2650
|
+
originalIdentityFingerprint: string;
|
|
2651
|
+
originalPayloadId: string;
|
|
2652
|
+
producer: "trusted_host_maintenance";
|
|
2653
|
+
producerVersion: 1;
|
|
2654
|
+
sourceChargeDigest: string;
|
|
2655
|
+
sourceCreatedAt: number;
|
|
2656
|
+
sourceId: string;
|
|
2657
|
+
} | null;
|
|
2658
|
+
status: "captured" | "updated" | "unchanged" | "unavailable" | "source_unavailable";
|
|
2659
|
+
}, Name>;
|
|
2660
|
+
};
|
|
2661
|
+
queries: {
|
|
2662
|
+
headers: FunctionReference<"query", "internal", {
|
|
2663
|
+
paginationOpts: {
|
|
2664
|
+
cursor: string | null;
|
|
2665
|
+
endCursor?: string | null;
|
|
2666
|
+
id?: number;
|
|
2667
|
+
maximumBytesRead?: number;
|
|
2668
|
+
maximumRowsRead?: number;
|
|
2669
|
+
numItems: number;
|
|
2670
|
+
};
|
|
2671
|
+
}, {
|
|
2672
|
+
continueCursor: string;
|
|
2673
|
+
coverage: "unknown";
|
|
2674
|
+
evidenceGeneration: number | null;
|
|
2675
|
+
isDone: boolean;
|
|
2676
|
+
page: Array<{
|
|
2677
|
+
_creationTime: number;
|
|
2678
|
+
_id: string;
|
|
2679
|
+
firstObservedAt: number;
|
|
2680
|
+
generation: number;
|
|
2681
|
+
isContradictory: boolean;
|
|
2682
|
+
latestFingerprint: string;
|
|
2683
|
+
latestPayloadId: string;
|
|
2684
|
+
operationDigest: string;
|
|
2685
|
+
originalFingerprint: string;
|
|
2686
|
+
originalIdentityFingerprint: string;
|
|
2687
|
+
originalPayloadId: string;
|
|
2688
|
+
producer: "trusted_host_maintenance";
|
|
2689
|
+
producerVersion: 1;
|
|
2690
|
+
sourceChargeDigest: string;
|
|
2691
|
+
sourceCreatedAt: number;
|
|
2692
|
+
sourceId: string;
|
|
2693
|
+
}>;
|
|
2694
|
+
pageStatus?: "SplitRecommended" | "SplitRequired" | null;
|
|
2695
|
+
splitCursor?: string | null;
|
|
2696
|
+
}, Name>;
|
|
2697
|
+
latest: FunctionReference<"query", "internal", {
|
|
2698
|
+
headerId: string;
|
|
2699
|
+
}, {
|
|
2700
|
+
coverage: "unknown";
|
|
2701
|
+
evidenceGeneration: number | null;
|
|
2702
|
+
header: {
|
|
2703
|
+
_creationTime: number;
|
|
2704
|
+
_id: string;
|
|
2705
|
+
firstObservedAt: number;
|
|
2706
|
+
generation: number;
|
|
2707
|
+
isContradictory: boolean;
|
|
2708
|
+
latestFingerprint: string;
|
|
2709
|
+
latestPayloadId: string;
|
|
2710
|
+
operationDigest: string;
|
|
2711
|
+
originalFingerprint: string;
|
|
2712
|
+
originalIdentityFingerprint: string;
|
|
2713
|
+
originalPayloadId: string;
|
|
2714
|
+
producer: "trusted_host_maintenance";
|
|
2715
|
+
producerVersion: 1;
|
|
2716
|
+
sourceChargeDigest: string;
|
|
2717
|
+
sourceCreatedAt: number;
|
|
2718
|
+
sourceId: string;
|
|
2719
|
+
} | null;
|
|
2720
|
+
payload: {
|
|
2721
|
+
_creationTime: number;
|
|
2722
|
+
_id: string;
|
|
2723
|
+
commissionExposure?: {
|
|
2724
|
+
chargeAmount: number;
|
|
2725
|
+
disputeId?: string;
|
|
2726
|
+
disputeState?: "open" | "lost" | "won";
|
|
2727
|
+
finalized: boolean;
|
|
2728
|
+
kind: "refund" | "dispute";
|
|
2729
|
+
principal: number;
|
|
2730
|
+
refundId?: string;
|
|
2731
|
+
refundedPrincipal?: number;
|
|
2732
|
+
};
|
|
2733
|
+
operationId: string;
|
|
2734
|
+
slices: Array<{
|
|
2735
|
+
from: number;
|
|
2736
|
+
stripeTransferId: string;
|
|
2737
|
+
to: number;
|
|
2738
|
+
}>;
|
|
2739
|
+
sourceChargeId: string;
|
|
2740
|
+
} | null;
|
|
2741
|
+
}, Name>;
|
|
2742
|
+
original: FunctionReference<"query", "internal", {
|
|
2743
|
+
headerId: string;
|
|
2744
|
+
}, {
|
|
2745
|
+
coverage: "unknown";
|
|
2746
|
+
evidenceGeneration: number | null;
|
|
2747
|
+
header: {
|
|
2748
|
+
_creationTime: number;
|
|
2749
|
+
_id: string;
|
|
2750
|
+
firstObservedAt: number;
|
|
2751
|
+
generation: number;
|
|
2752
|
+
isContradictory: boolean;
|
|
2753
|
+
latestFingerprint: string;
|
|
2754
|
+
latestPayloadId: string;
|
|
2755
|
+
operationDigest: string;
|
|
2756
|
+
originalFingerprint: string;
|
|
2757
|
+
originalIdentityFingerprint: string;
|
|
2758
|
+
originalPayloadId: string;
|
|
2759
|
+
producer: "trusted_host_maintenance";
|
|
2760
|
+
producerVersion: 1;
|
|
2761
|
+
sourceChargeDigest: string;
|
|
2762
|
+
sourceCreatedAt: number;
|
|
2763
|
+
sourceId: string;
|
|
2764
|
+
} | null;
|
|
2765
|
+
payload: {
|
|
2766
|
+
_creationTime: number;
|
|
2767
|
+
_id: string;
|
|
2768
|
+
commissionExposure?: {
|
|
2769
|
+
chargeAmount: number;
|
|
2770
|
+
disputeId?: string;
|
|
2771
|
+
disputeState?: "open" | "lost" | "won";
|
|
2772
|
+
finalized: boolean;
|
|
2773
|
+
kind: "refund" | "dispute";
|
|
2774
|
+
principal: number;
|
|
2775
|
+
refundId?: string;
|
|
2776
|
+
refundedPrincipal?: number;
|
|
2777
|
+
};
|
|
2778
|
+
operationId: string;
|
|
2779
|
+
slices: Array<{
|
|
2780
|
+
from: number;
|
|
2781
|
+
stripeTransferId: string;
|
|
2782
|
+
to: number;
|
|
2783
|
+
}>;
|
|
2784
|
+
sourceChargeId: string;
|
|
2785
|
+
} | null;
|
|
2786
|
+
}, Name>;
|
|
2787
|
+
resolve: FunctionReference<"query", "internal", {
|
|
2788
|
+
selector: "operationId" | "sourceChargeId";
|
|
2789
|
+
value: string;
|
|
2790
|
+
}, {
|
|
2791
|
+
coverage: "unknown";
|
|
2792
|
+
evidenceGeneration: number | null;
|
|
2793
|
+
header: {
|
|
2794
|
+
_creationTime: number;
|
|
2795
|
+
_id: string;
|
|
2796
|
+
firstObservedAt: number;
|
|
2797
|
+
generation: number;
|
|
2798
|
+
isContradictory: boolean;
|
|
2799
|
+
latestFingerprint: string;
|
|
2800
|
+
latestPayloadId: string;
|
|
2801
|
+
operationDigest: string;
|
|
2802
|
+
originalFingerprint: string;
|
|
2803
|
+
originalIdentityFingerprint: string;
|
|
2804
|
+
originalPayloadId: string;
|
|
2805
|
+
producer: "trusted_host_maintenance";
|
|
2806
|
+
producerVersion: 1;
|
|
2807
|
+
sourceChargeDigest: string;
|
|
2808
|
+
sourceCreatedAt: number;
|
|
2809
|
+
sourceId: string;
|
|
2810
|
+
} | null;
|
|
2811
|
+
}, Name>;
|
|
2812
|
+
};
|
|
2813
|
+
};
|
|
2169
2814
|
payoutPolicy: {
|
|
2170
2815
|
mutations: {
|
|
2171
2816
|
beginAttempt: FunctionReference<"mutation", "internal", {
|
|
@@ -4009,7 +4654,45 @@ export type ComponentApi<Name extends string | undefined = string | undefined> =
|
|
|
4009
4654
|
};
|
|
4010
4655
|
};
|
|
4011
4656
|
refundHistory: {
|
|
4657
|
+
mutations: {
|
|
4658
|
+
normalizeRefundCommandBindings: FunctionReference<"mutation", "internal", {
|
|
4659
|
+
limit: number;
|
|
4660
|
+
}, {
|
|
4661
|
+
hasMore: boolean;
|
|
4662
|
+
normalized: number;
|
|
4663
|
+
}, Name>;
|
|
4664
|
+
};
|
|
4012
4665
|
queries: {
|
|
4666
|
+
getRefundCommandEvidence: FunctionReference<"query", "internal", {
|
|
4667
|
+
accountId: string;
|
|
4668
|
+
commandKey: string;
|
|
4669
|
+
currency: string;
|
|
4670
|
+
stripeChargeId: string;
|
|
4671
|
+
stripePaymentIntentId: string;
|
|
4672
|
+
}, {
|
|
4673
|
+
refund: {
|
|
4674
|
+
_creationTime: number;
|
|
4675
|
+
_id: string;
|
|
4676
|
+
accountId?: string;
|
|
4677
|
+
amount: number;
|
|
4678
|
+
currency: string;
|
|
4679
|
+
failureReason?: string;
|
|
4680
|
+
metadata?: any;
|
|
4681
|
+
reason?: "duplicate" | "fraudulent" | "requested_by_customer" | "expired_uncaptured_charge";
|
|
4682
|
+
refundCommandConflict?: boolean;
|
|
4683
|
+
refundCommandKey?: string;
|
|
4684
|
+
refundCommandNormalizationVersion?: 1;
|
|
4685
|
+
refundCommandObservedAt?: number;
|
|
4686
|
+
status: "pending" | "requires_action" | "succeeded" | "failed" | "canceled";
|
|
4687
|
+
stripeChargeId?: string;
|
|
4688
|
+
stripePaymentIntentId?: string;
|
|
4689
|
+
stripeRefundId: string;
|
|
4690
|
+
};
|
|
4691
|
+
status: "observed";
|
|
4692
|
+
} | {
|
|
4693
|
+
reason: "missing" | "normalization_incomplete" | "ambiguous" | "correlation_conflict" | "scope_mismatch" | "invalid_receipt";
|
|
4694
|
+
status: "unavailable";
|
|
4695
|
+
}, Name>;
|
|
4013
4696
|
paginateRefunds: FunctionReference<"query", "internal", {
|
|
4014
4697
|
accountId?: string;
|
|
4015
4698
|
paginationOpts: {
|
|
@@ -4034,6 +4717,10 @@ export type ComponentApi<Name extends string | undefined = string | undefined> =
|
|
|
4034
4717
|
failureReason?: string;
|
|
4035
4718
|
metadata?: any;
|
|
4036
4719
|
reason?: "duplicate" | "fraudulent" | "requested_by_customer" | "expired_uncaptured_charge";
|
|
4720
|
+
refundCommandConflict?: boolean;
|
|
4721
|
+
refundCommandKey?: string;
|
|
4722
|
+
refundCommandNormalizationVersion?: 1;
|
|
4723
|
+
refundCommandObservedAt?: number;
|
|
4037
4724
|
status: "pending" | "requires_action" | "succeeded" | "failed" | "canceled";
|
|
4038
4725
|
stripeChargeId?: string;
|
|
4039
4726
|
stripePaymentIntentId?: string;
|