@fantastic.dev/better-stripe 0.57.0 → 0.59.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 +12 -0
- package/README.md +3 -1
- package/dist/client/connect/payoutAdoptionTestHelpers.d.ts +356 -50
- package/dist/client/connect/payoutAdoptionTestHelpers.d.ts.map +1 -1
- package/dist/client/connect/payoutExecutionTestHelpers.d.ts +162 -9
- package/dist/client/connect/payoutExecutionTestHelpers.d.ts.map +1 -1
- package/dist/client/connect/payoutLargeAdoptionTestHelpers.d.ts +356 -50
- package/dist/client/connect/payoutLargeAdoptionTestHelpers.d.ts.map +1 -1
- package/dist/client/connect/payoutSyncTestHelpers.d.ts +162 -9
- package/dist/client/connect/payoutSyncTestHelpers.d.ts.map +1 -1
- package/dist/client/usage/allowanceClient.d.ts +51 -0
- package/dist/client/usage/allowanceClient.d.ts.map +1 -0
- package/dist/client/usage/allowanceClient.js +64 -0
- package/dist/client/usage/allowanceClient.js.map +1 -0
- package/dist/client/usage/allowanceTerms.d.ts +64 -0
- package/dist/client/usage/allowanceTerms.d.ts.map +1 -0
- package/dist/client/usage/allowanceTerms.js +101 -0
- package/dist/client/usage/allowanceTerms.js.map +1 -0
- package/dist/client/usage/client.d.ts +2 -2
- package/dist/client/usage/client.d.ts.map +1 -1
- package/dist/client/usage/client.js +2 -2
- package/dist/client/usage/client.js.map +1 -1
- package/dist/client/usage/correctionClient.d.ts +33 -0
- package/dist/client/usage/correctionClient.d.ts.map +1 -0
- package/dist/client/usage/correctionClient.js +27 -0
- package/dist/client/usage/correctionClient.js.map +1 -0
- package/dist/client/usage/correctionEligibility.d.ts +4 -0
- package/dist/client/usage/correctionEligibility.d.ts.map +1 -0
- package/dist/client/usage/correctionEligibility.js +7 -0
- package/dist/client/usage/correctionEligibility.js.map +1 -0
- package/dist/client/usage/correctionInvoice.d.ts +9 -0
- package/dist/client/usage/correctionInvoice.d.ts.map +1 -0
- package/dist/client/usage/correctionInvoice.js +218 -0
- package/dist/client/usage/correctionInvoice.js.map +1 -0
- package/dist/client/usage/correctionInvoiceProof.d.ts +29 -0
- package/dist/client/usage/correctionInvoiceProof.d.ts.map +1 -0
- package/dist/client/usage/correctionInvoiceProof.js +41 -0
- package/dist/client/usage/correctionInvoiceProof.js.map +1 -0
- package/dist/client/usage/correctionProofs.d.ts +36 -0
- package/dist/client/usage/correctionProofs.d.ts.map +1 -0
- package/dist/client/usage/correctionProofs.js +41 -0
- package/dist/client/usage/correctionProofs.js.map +1 -0
- package/dist/client/usage/correctionProvider.d.ts +6 -0
- package/dist/client/usage/correctionProvider.d.ts.map +1 -0
- package/dist/client/usage/correctionProvider.js +243 -0
- package/dist/client/usage/correctionProvider.js.map +1 -0
- package/dist/client/usage/correctionRead.d.ts +27 -0
- package/dist/client/usage/correctionRead.d.ts.map +1 -0
- package/dist/client/usage/correctionRead.js +36 -0
- package/dist/client/usage/correctionRead.js.map +1 -0
- package/dist/client/usage/correctionTerms.d.ts +64 -0
- package/dist/client/usage/correctionTerms.d.ts.map +1 -0
- package/dist/client/usage/correctionTerms.js +65 -0
- package/dist/client/usage/correctionTerms.js.map +1 -0
- package/dist/client/usage/correctionTransport.fixtures.d.ts +37 -0
- package/dist/client/usage/correctionTransport.fixtures.d.ts.map +1 -0
- package/dist/client/usage/correctionTransport.fixtures.js +322 -0
- package/dist/client/usage/correctionTransport.fixtures.js.map +1 -0
- package/dist/client/usage/creditClient.d.ts +1 -1
- package/dist/client/usage/index.d.ts +4 -0
- package/dist/client/usage/index.d.ts.map +1 -1
- package/dist/client/usage/observationClient.d.ts +20 -0
- package/dist/client/usage/observationClient.d.ts.map +1 -1
- package/dist/client/usage/observationClient.js +20 -6
- package/dist/client/usage/observationClient.js.map +1 -1
- package/dist/client/usage/records.d.ts +1 -1
- package/dist/client/usage/records.d.ts.map +1 -1
- package/dist/client/usage/records.js.map +1 -1
- package/dist/client/usage/summary.d.ts +3 -0
- package/dist/client/usage/summary.d.ts.map +1 -1
- package/dist/client/usage/summary.js +9 -4
- package/dist/client/usage/summary.js.map +1 -1
- package/dist/client/usageExports.d.ts +4 -0
- package/dist/client/usageExports.d.ts.map +1 -1
- package/dist/component/_generated/api.d.ts +20 -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 +324 -13
- package/dist/component/_generated/component.d.ts.map +1 -1
- package/dist/component/accountClosure/mutations.d.ts.map +1 -1
- package/dist/component/accountClosure/mutations.js +13 -0
- package/dist/component/accountClosure/mutations.js.map +1 -1
- package/dist/component/balanceFunding/internal/actions.d.ts +11 -11
- package/dist/component/balanceFunding/mutations.d.ts +43 -43
- package/dist/component/balanceFunding/workflowValidators.d.ts +16 -16
- package/dist/component/earnings/triggers.d.ts +288 -10
- package/dist/component/earnings/triggers.d.ts.map +1 -1
- package/dist/component/schema.d.ts +162 -9
- package/dist/component/schema.js +7 -0
- package/dist/component/schema.js.map +1 -1
- package/dist/component/usage/mutations.d.ts.map +1 -1
- package/dist/component/usage/mutations.js +4 -0
- package/dist/component/usage/mutations.js.map +1 -1
- package/dist/component/usage/queries.d.ts +2 -2
- package/dist/component/usage/schema.d.ts +21 -15
- package/dist/component/usage/schema.d.ts.map +1 -1
- package/dist/component/usage/schema.js +4 -2
- package/dist/component/usage/schema.js.map +1 -1
- package/dist/component/usageAllowance/helpers.d.ts +78 -0
- package/dist/component/usageAllowance/helpers.d.ts.map +1 -0
- package/dist/component/usageAllowance/helpers.js +99 -0
- package/dist/component/usageAllowance/helpers.js.map +1 -0
- package/dist/component/usageAllowance/mutations.d.ts +37 -0
- package/dist/component/usageAllowance/mutations.d.ts.map +1 -0
- package/dist/component/usageAllowance/mutations.js +99 -0
- package/dist/component/usageAllowance/mutations.js.map +1 -0
- package/dist/component/usageAllowance/queries.d.ts +36 -0
- package/dist/component/usageAllowance/queries.d.ts.map +1 -0
- package/dist/component/usageAllowance/queries.js +122 -0
- package/dist/component/usageAllowance/queries.js.map +1 -0
- package/dist/component/usageAllowance/reservations.d.ts +25 -0
- package/dist/component/usageAllowance/reservations.d.ts.map +1 -0
- package/dist/component/usageAllowance/reservations.js +150 -0
- package/dist/component/usageAllowance/reservations.js.map +1 -0
- package/dist/component/usageAllowance/schema.d.ts +77 -0
- package/dist/component/usageAllowance/schema.d.ts.map +1 -0
- package/dist/component/usageAllowance/schema.js +32 -0
- package/dist/component/usageAllowance/schema.js.map +1 -0
- package/dist/component/usageCorrections/accounting.d.ts +5 -0
- package/dist/component/usageCorrections/accounting.d.ts.map +1 -0
- package/dist/component/usageCorrections/accounting.js +55 -0
- package/dist/component/usageCorrections/accounting.js.map +1 -0
- package/dist/component/usageCorrections/cancellation.d.ts +6 -0
- package/dist/component/usageCorrections/cancellation.d.ts.map +1 -0
- package/dist/component/usageCorrections/cancellation.js +29 -0
- package/dist/component/usageCorrections/cancellation.js.map +1 -0
- package/dist/component/usageCorrections/helpers.d.ts +60 -0
- package/dist/component/usageCorrections/helpers.d.ts.map +1 -0
- package/dist/component/usageCorrections/helpers.js +52 -0
- package/dist/component/usageCorrections/helpers.js.map +1 -0
- package/dist/component/usageCorrections/invoice.d.ts +38 -0
- package/dist/component/usageCorrections/invoice.d.ts.map +1 -0
- package/dist/component/usageCorrections/invoice.js +82 -0
- package/dist/component/usageCorrections/invoice.js.map +1 -0
- package/dist/component/usageCorrections/mutations.d.ts +121 -0
- package/dist/component/usageCorrections/mutations.d.ts.map +1 -0
- package/dist/component/usageCorrections/mutations.js +256 -0
- package/dist/component/usageCorrections/mutations.js.map +1 -0
- package/dist/component/usageCorrections/queries.d.ts +115 -0
- package/dist/component/usageCorrections/queries.d.ts.map +1 -0
- package/dist/component/usageCorrections/queries.js +84 -0
- package/dist/component/usageCorrections/queries.js.map +1 -0
- package/dist/component/usageCorrections/schema.d.ts +248 -0
- package/dist/component/usageCorrections/schema.d.ts.map +1 -0
- package/dist/component/usageCorrections/schema.js +74 -0
- package/dist/component/usageCorrections/schema.js.map +1 -0
- package/dist/component/usageCredits/queries.d.ts +1 -1
- package/dist/component/usageCredits/queries.d.ts.map +1 -1
- package/dist/component/usageCredits/queries.js +6 -0
- package/dist/component/usageCredits/queries.js.map +1 -1
- package/dist/component/usageCredits/schema.d.ts +5 -5
- package/dist/component/usageCredits/schema.d.ts.map +1 -1
- package/dist/component/usageCredits/schema.js +1 -1
- package/dist/component/usageCredits/schema.js.map +1 -1
- package/dist/component/usageDelivery/fields.d.ts +2 -2
- package/dist/component/usageDelivery/fields.d.ts.map +1 -1
- package/dist/component/usageDelivery/fields.js +1 -1
- package/dist/component/usageDelivery/fields.js.map +1 -1
- package/dist/component/usageDelivery/helpers.d.ts +7 -6
- package/dist/component/usageDelivery/helpers.d.ts.map +1 -1
- package/dist/component/usageDelivery/mutations.d.ts +6 -6
- package/dist/component/usageDelivery/mutations.d.ts.map +1 -1
- package/dist/component/usageDelivery/mutations.js +9 -1
- package/dist/component/usageDelivery/mutations.js.map +1 -1
- package/dist/component/usageDelivery/queries.d.ts +8 -6
- package/dist/component/usageDelivery/queries.d.ts.map +1 -1
- package/dist/component/usageDelivery/schema.d.ts +4 -4
- package/dist/component/usageDelivery/steps.d.ts +2 -2
- package/dist/component/usageDelivery/steps.js +1 -1
- package/dist/component/usageDelivery/steps.js.map +1 -1
- package/dist/component/usageObservations/queries.d.ts.map +1 -1
- package/dist/component/usageObservations/queries.js +4 -2
- package/dist/component/usageObservations/queries.js.map +1 -1
- package/dist/component/usageSubscriptions/retirement.d.ts.map +1 -1
- package/dist/component/usageSubscriptions/retirement.js +24 -2
- package/dist/component/usageSubscriptions/retirement.js.map +1 -1
- package/docs/README.md +4 -0
- package/docs/usage-corrections.md +249 -0
- package/docs/usage-limits.md +217 -0
- package/package.json +3 -1
- package/src/client/usage/allowanceClient.test.ts +93 -0
- package/src/client/usage/allowanceClient.ts +134 -0
- package/src/client/usage/allowanceTerms.test.ts +131 -0
- package/src/client/usage/allowanceTerms.ts +172 -0
- package/src/client/usage/client.ts +2 -2
- package/src/client/usage/correctionClient.test.ts +153 -0
- package/src/client/usage/correctionClient.ts +62 -0
- package/src/client/usage/correctionCredits.test.ts +156 -0
- package/src/client/usage/correctionEligibility.ts +14 -0
- package/src/client/usage/correctionInvoice.test.ts +127 -0
- package/src/client/usage/correctionInvoice.ts +269 -0
- package/src/client/usage/correctionInvoiceProof.ts +40 -0
- package/src/client/usage/correctionProofs.ts +40 -0
- package/src/client/usage/correctionProvider.ts +326 -0
- package/src/client/usage/correctionRead.ts +73 -0
- package/src/client/usage/correctionRecovery.test.ts +113 -0
- package/src/client/usage/correctionTerms.ts +98 -0
- package/src/client/usage/correctionTransport.fixtures.ts +372 -0
- package/src/client/usage/index.ts +19 -0
- package/src/client/usage/observationClient.ts +20 -6
- package/src/client/usage/records.ts +7 -1
- package/src/client/usage/summary.ts +12 -4
- package/src/client/usageExports.ts +19 -0
- package/src/component/_generated/api.ts +20 -0
- package/src/component/_generated/component.ts +423 -1
- package/src/component/accountClosure/mutations.ts +17 -0
- package/src/component/schema.ts +14 -0
- package/src/component/usage/allowance.test.ts +435 -0
- package/src/component/usage/mutations.ts +13 -0
- package/src/component/usage/schema.ts +6 -1
- package/src/component/usageAllowance/helpers.ts +137 -0
- package/src/component/usageAllowance/mutations.ts +139 -0
- package/src/component/usageAllowance/queries.ts +140 -0
- package/src/component/usageAllowance/reservations.ts +220 -0
- package/src/component/usageAllowance/schema.ts +37 -0
- package/src/component/usageCorrections/accounting.ts +79 -0
- package/src/component/usageCorrections/cancellation.ts +32 -0
- package/src/component/usageCorrections/corrections.test.ts +389 -0
- package/src/component/usageCorrections/helpers.ts +57 -0
- package/src/component/usageCorrections/invoice.ts +103 -0
- package/src/component/usageCorrections/mutations.ts +278 -0
- package/src/component/usageCorrections/queries.ts +94 -0
- package/src/component/usageCorrections/schema.ts +90 -0
- package/src/component/usageCredits/queries.ts +4 -0
- package/src/component/usageCredits/schema.ts +1 -0
- package/src/component/usageDelivery/fields.ts +1 -0
- package/src/component/usageDelivery/mutations.ts +8 -3
- package/src/component/usageDelivery/steps.ts +1 -1
- package/src/component/usageObservations/queries.ts +5 -2
- package/src/component/usageSubscriptions/retirement.ts +31 -2
|
@@ -1993,6 +1993,51 @@ export declare const mutation: import("convex-helpers/server/customFunctions").C
|
|
|
1993
1993
|
searchIndexes: {};
|
|
1994
1994
|
vectorIndexes: {};
|
|
1995
1995
|
};
|
|
1996
|
+
usageAllowanceHistory: {
|
|
1997
|
+
document: {
|
|
1998
|
+
_creationTime: number;
|
|
1999
|
+
_id: import("convex/values").GenericId<"usageAllowanceHistory">;
|
|
2000
|
+
at: number;
|
|
2001
|
+
evidenceJson: string;
|
|
2002
|
+
key: string;
|
|
2003
|
+
kind: "commit" | "correction" | "policy" | "release" | "reservation";
|
|
2004
|
+
};
|
|
2005
|
+
fieldPaths: "_id" | ("_creationTime" | "at" | "evidenceJson" | "key" | "kind");
|
|
2006
|
+
indexes: {
|
|
2007
|
+
by_id: ["_id"];
|
|
2008
|
+
by_creation_time: ["_creationTime"];
|
|
2009
|
+
by_key: ["key", "_creationTime"];
|
|
2010
|
+
};
|
|
2011
|
+
searchIndexes: {};
|
|
2012
|
+
vectorIndexes: {};
|
|
2013
|
+
};
|
|
2014
|
+
usageAllowancePolicies: {
|
|
2015
|
+
document: {
|
|
2016
|
+
_creationTime: number;
|
|
2017
|
+
_id: import("convex/values").GenericId<"usageAllowancePolicies">;
|
|
2018
|
+
bindingJson: string;
|
|
2019
|
+
consumed: string;
|
|
2020
|
+
end: number;
|
|
2021
|
+
historyCount: number;
|
|
2022
|
+
key: string;
|
|
2023
|
+
nativeKey: string;
|
|
2024
|
+
policyJson: string;
|
|
2025
|
+
reserved: string;
|
|
2026
|
+
revision: number;
|
|
2027
|
+
scopeKey: string;
|
|
2028
|
+
start: number;
|
|
2029
|
+
};
|
|
2030
|
+
fieldPaths: "_id" | ("_creationTime" | "bindingJson" | "consumed" | "end" | "historyCount" | "key" | "nativeKey" | "policyJson" | "reserved" | "revision" | "scopeKey" | "start");
|
|
2031
|
+
indexes: {
|
|
2032
|
+
by_id: ["_id"];
|
|
2033
|
+
by_creation_time: ["_creationTime"];
|
|
2034
|
+
by_key: ["key", "_creationTime"];
|
|
2035
|
+
by_native_start: ["nativeKey", "start", "_creationTime"];
|
|
2036
|
+
by_scope_start: ["scopeKey", "start", "_creationTime"];
|
|
2037
|
+
};
|
|
2038
|
+
searchIndexes: {};
|
|
2039
|
+
vectorIndexes: {};
|
|
2040
|
+
};
|
|
1996
2041
|
usageCatalog: {
|
|
1997
2042
|
document: {
|
|
1998
2043
|
_creationTime: number;
|
|
@@ -2016,6 +2061,98 @@ export declare const mutation: import("convex-helpers/server/customFunctions").C
|
|
|
2016
2061
|
searchIndexes: {};
|
|
2017
2062
|
vectorIndexes: {};
|
|
2018
2063
|
};
|
|
2064
|
+
usageCorrectionClaims: {
|
|
2065
|
+
document: {
|
|
2066
|
+
_creationTime: number;
|
|
2067
|
+
_id: import("convex/values").GenericId<"usageCorrectionClaims">;
|
|
2068
|
+
key: string;
|
|
2069
|
+
operationKey: string;
|
|
2070
|
+
proofJson: string;
|
|
2071
|
+
};
|
|
2072
|
+
fieldPaths: "_id" | ("_creationTime" | "key" | "operationKey" | "proofJson");
|
|
2073
|
+
indexes: {
|
|
2074
|
+
by_id: ["_id"];
|
|
2075
|
+
by_creation_time: ["_creationTime"];
|
|
2076
|
+
by_key: ["key", "_creationTime"];
|
|
2077
|
+
};
|
|
2078
|
+
searchIndexes: {};
|
|
2079
|
+
vectorIndexes: {};
|
|
2080
|
+
};
|
|
2081
|
+
usageCorrectionHistory: {
|
|
2082
|
+
document: {
|
|
2083
|
+
_creationTime: number;
|
|
2084
|
+
_id: import("convex/values").GenericId<"usageCorrectionHistory">;
|
|
2085
|
+
at: number;
|
|
2086
|
+
eventId: import("convex/values").GenericId<"usageEvents">;
|
|
2087
|
+
evidenceJson: string;
|
|
2088
|
+
key: string;
|
|
2089
|
+
occurredAt?: number | undefined;
|
|
2090
|
+
reason: string;
|
|
2091
|
+
recordJson: string;
|
|
2092
|
+
scopeKey: string;
|
|
2093
|
+
sequence: number;
|
|
2094
|
+
state: "confirmed" | "held" | "invoice_adjustment_required" | "provider_accepted" | "requested" | "unsupported";
|
|
2095
|
+
subscriptionJson: string;
|
|
2096
|
+
};
|
|
2097
|
+
fieldPaths: "_id" | ("_creationTime" | "at" | "eventId" | "evidenceJson" | "key" | "occurredAt" | "reason" | "recordJson" | "scopeKey" | "sequence" | "state" | "subscriptionJson");
|
|
2098
|
+
indexes: {
|
|
2099
|
+
by_id: ["_id"];
|
|
2100
|
+
by_creation_time: ["_creationTime"];
|
|
2101
|
+
by_event: ["eventId", "_creationTime"];
|
|
2102
|
+
by_scope_occurrence: ["scopeKey", "occurredAt", "_creationTime"];
|
|
2103
|
+
by_scope_time: ["scopeKey", "at", "_creationTime"];
|
|
2104
|
+
};
|
|
2105
|
+
searchIndexes: {};
|
|
2106
|
+
vectorIndexes: {};
|
|
2107
|
+
};
|
|
2108
|
+
usageCorrections: {
|
|
2109
|
+
document: {
|
|
2110
|
+
_creationTime: number;
|
|
2111
|
+
_id: import("convex/values").GenericId<"usageCorrections">;
|
|
2112
|
+
adjustmentJson?: string | undefined;
|
|
2113
|
+
attempt: number;
|
|
2114
|
+
attemptedAt?: number | undefined;
|
|
2115
|
+
cashConsequence: "none" | "operator_resolution_required" | "verified_external_adjustment";
|
|
2116
|
+
correctionId: string;
|
|
2117
|
+
creditNoteId?: string | undefined;
|
|
2118
|
+
customerAccount?: string | undefined;
|
|
2119
|
+
eventId: import("convex/values").GenericId<"usageEvents">;
|
|
2120
|
+
firstAttemptAt: number;
|
|
2121
|
+
historyCount: number;
|
|
2122
|
+
inputJson: string;
|
|
2123
|
+
invoiceId?: string | undefined;
|
|
2124
|
+
key: string;
|
|
2125
|
+
leaseUntil?: number | undefined;
|
|
2126
|
+
nativeAdjustmentId?: string | undefined;
|
|
2127
|
+
nativeCreditNoteStatus?: "issued" | "void" | undefined;
|
|
2128
|
+
nativeStatus?: "complete" | "pending" | undefined;
|
|
2129
|
+
observedAt?: number | undefined;
|
|
2130
|
+
quantity: string;
|
|
2131
|
+
reason: string;
|
|
2132
|
+
recordJson: string;
|
|
2133
|
+
refundId?: string | undefined;
|
|
2134
|
+
resolution?: "event_cancellation" | "invoice_credit" | undefined;
|
|
2135
|
+
restoredQuantity: string;
|
|
2136
|
+
scaledQuantity: string;
|
|
2137
|
+
scopeKey: string;
|
|
2138
|
+
state: "confirmed" | "held" | "invoice_adjustment_required" | "provider_accepted" | "requested" | "unsupported";
|
|
2139
|
+
stripeAccountId?: string | undefined;
|
|
2140
|
+
subscriptionJson: string;
|
|
2141
|
+
};
|
|
2142
|
+
fieldPaths: "_id" | ("_creationTime" | "adjustmentJson" | "attempt" | "attemptedAt" | "cashConsequence" | "correctionId" | "creditNoteId" | "customerAccount" | "eventId" | "firstAttemptAt" | "historyCount" | "inputJson" | "invoiceId" | "key" | "leaseUntil" | "nativeAdjustmentId" | "nativeCreditNoteStatus" | "nativeStatus" | "observedAt" | "quantity" | "reason" | "recordJson" | "refundId" | "resolution" | "restoredQuantity" | "scaledQuantity" | "scopeKey" | "state" | "stripeAccountId" | "subscriptionJson");
|
|
2143
|
+
indexes: {
|
|
2144
|
+
by_id: ["_id"];
|
|
2145
|
+
by_creation_time: ["_creationTime"];
|
|
2146
|
+
by_event: ["eventId", "_creationTime"];
|
|
2147
|
+
by_key: ["key", "_creationTime"];
|
|
2148
|
+
by_payer_state: ["customerAccount", "state", "_creationTime"];
|
|
2149
|
+
by_realm_state: ["stripeAccountId", "state", "_creationTime"];
|
|
2150
|
+
by_scope: ["scopeKey", "_creationTime"];
|
|
2151
|
+
by_scope_state: ["scopeKey", "state", "_creationTime"];
|
|
2152
|
+
};
|
|
2153
|
+
searchIndexes: {};
|
|
2154
|
+
vectorIndexes: {};
|
|
2155
|
+
};
|
|
2019
2156
|
usageCreditAccounts: {
|
|
2020
2157
|
document: {
|
|
2021
2158
|
_creationTime: number;
|
|
@@ -2084,7 +2221,7 @@ export declare const mutation: import("convex-helpers/server/customFunctions").C
|
|
|
2084
2221
|
at: number;
|
|
2085
2222
|
evidenceJson: string;
|
|
2086
2223
|
fingerprint: string;
|
|
2087
|
-
kind: "closure" | "commit" | "grant" | "observation" | "payment" | "purchase" | "recovery" | "release" | "reservation";
|
|
2224
|
+
kind: "closure" | "commit" | "correction" | "grant" | "observation" | "payment" | "purchase" | "recovery" | "release" | "reservation";
|
|
2088
2225
|
purchaseKey?: string | undefined;
|
|
2089
2226
|
sourceKey: string;
|
|
2090
2227
|
};
|
|
@@ -2223,6 +2360,7 @@ export declare const mutation: import("convex-helpers/server/customFunctions").C
|
|
|
2223
2360
|
_creationTime: number;
|
|
2224
2361
|
_id: import("convex/values").GenericId<"usageOutbox">;
|
|
2225
2362
|
attempts: number;
|
|
2363
|
+
correctionKey?: string | undefined;
|
|
2226
2364
|
definitionVersion?: 1 | undefined;
|
|
2227
2365
|
dispatch?: string | undefined;
|
|
2228
2366
|
eventId: import("convex/values").GenericId<"usageEvents">;
|
|
@@ -2233,16 +2371,16 @@ export declare const mutation: import("convex-helpers/server/customFunctions").C
|
|
|
2233
2371
|
nextAttemptAt: number;
|
|
2234
2372
|
provider?: string | undefined;
|
|
2235
2373
|
providerIdentifier: string;
|
|
2236
|
-
reason?: "administrative_hold" | "billing_period_closed" | "delivery_window_expired" | "provider_outcome_unknown" | "provider_rejected" | "provider_unavailable" | "rate_limited" | "retry_exhausted" | "scope_busy" | undefined;
|
|
2374
|
+
reason?: "administrative_hold" | "billing_period_closed" | "delivery_window_expired" | "provider_outcome_unknown" | "provider_rejected" | "provider_unavailable" | "rate_limited" | "retry_exhausted" | "scope_busy" | "usage_canceled" | undefined;
|
|
2237
2375
|
receipt?: {
|
|
2238
2376
|
created: number;
|
|
2239
2377
|
identifier: string;
|
|
2240
2378
|
} | undefined;
|
|
2241
2379
|
scopeKey: string;
|
|
2242
|
-
state: "held" | "provider_accepted" | "queued" | "rejected" | "sending" | "unknown";
|
|
2380
|
+
state: "canceled" | "held" | "provider_accepted" | "queued" | "rejected" | "sending" | "unknown";
|
|
2243
2381
|
workflowId?: string | undefined;
|
|
2244
2382
|
};
|
|
2245
|
-
fieldPaths: "_id" | ("_creationTime" | "attempts" | "definitionVersion" | "dispatch" | "eventId" | "firstSendAt" | "held" | "historySequence" | "leaseUntil" | "nextAttemptAt" | "provider" | "providerIdentifier" | "reason" | "receipt" | "receipt.created" | "receipt.identifier" | "scopeKey" | "state" | "workflowId");
|
|
2383
|
+
fieldPaths: "_id" | ("_creationTime" | "attempts" | "correctionKey" | "definitionVersion" | "dispatch" | "eventId" | "firstSendAt" | "held" | "historySequence" | "leaseUntil" | "nextAttemptAt" | "provider" | "providerIdentifier" | "reason" | "receipt" | "receipt.created" | "receipt.identifier" | "scopeKey" | "state" | "workflowId");
|
|
2246
2384
|
indexes: {
|
|
2247
2385
|
by_id: ["_id"];
|
|
2248
2386
|
by_creation_time: ["_creationTime"];
|
|
@@ -2278,7 +2416,7 @@ export declare const mutation: import("convex-helpers/server/customFunctions").C
|
|
|
2278
2416
|
_creationTime: number;
|
|
2279
2417
|
_id: import("convex/values").GenericId<"usageReservations">;
|
|
2280
2418
|
accountKey?: string | undefined;
|
|
2281
|
-
accountingKind?: "prepaid" | undefined;
|
|
2419
|
+
accountingKind?: "allowance" | "prepaid" | undefined;
|
|
2282
2420
|
allocationsJson?: string | undefined;
|
|
2283
2421
|
eventId?: import("convex/values").GenericId<"usageEvents"> | undefined;
|
|
2284
2422
|
inputJson?: string | undefined;
|
|
@@ -2294,6 +2432,7 @@ export declare const mutation: import("convex-helpers/server/customFunctions").C
|
|
|
2294
2432
|
indexes: {
|
|
2295
2433
|
by_id: ["_id"];
|
|
2296
2434
|
by_creation_time: ["_creationTime"];
|
|
2435
|
+
by_account_state: ["accountKey", "state", "_creationTime"];
|
|
2297
2436
|
by_scope_source: ["scopeKey", "sourceEventId", "_creationTime"];
|
|
2298
2437
|
by_scope_state: ["scopeKey", "state", "_creationTime"];
|
|
2299
2438
|
};
|
|
@@ -4422,6 +4561,51 @@ export declare const mutation: import("convex-helpers/server/customFunctions").C
|
|
|
4422
4561
|
searchIndexes: {};
|
|
4423
4562
|
vectorIndexes: {};
|
|
4424
4563
|
};
|
|
4564
|
+
usageAllowanceHistory: {
|
|
4565
|
+
document: {
|
|
4566
|
+
_creationTime: number;
|
|
4567
|
+
_id: import("convex/values").GenericId<"usageAllowanceHistory">;
|
|
4568
|
+
at: number;
|
|
4569
|
+
evidenceJson: string;
|
|
4570
|
+
key: string;
|
|
4571
|
+
kind: "commit" | "correction" | "policy" | "release" | "reservation";
|
|
4572
|
+
};
|
|
4573
|
+
fieldPaths: "_id" | ("_creationTime" | "at" | "evidenceJson" | "key" | "kind");
|
|
4574
|
+
indexes: {
|
|
4575
|
+
by_id: ["_id"];
|
|
4576
|
+
by_creation_time: ["_creationTime"];
|
|
4577
|
+
by_key: ["key", "_creationTime"];
|
|
4578
|
+
};
|
|
4579
|
+
searchIndexes: {};
|
|
4580
|
+
vectorIndexes: {};
|
|
4581
|
+
};
|
|
4582
|
+
usageAllowancePolicies: {
|
|
4583
|
+
document: {
|
|
4584
|
+
_creationTime: number;
|
|
4585
|
+
_id: import("convex/values").GenericId<"usageAllowancePolicies">;
|
|
4586
|
+
bindingJson: string;
|
|
4587
|
+
consumed: string;
|
|
4588
|
+
end: number;
|
|
4589
|
+
historyCount: number;
|
|
4590
|
+
key: string;
|
|
4591
|
+
nativeKey: string;
|
|
4592
|
+
policyJson: string;
|
|
4593
|
+
reserved: string;
|
|
4594
|
+
revision: number;
|
|
4595
|
+
scopeKey: string;
|
|
4596
|
+
start: number;
|
|
4597
|
+
};
|
|
4598
|
+
fieldPaths: "_id" | ("_creationTime" | "bindingJson" | "consumed" | "end" | "historyCount" | "key" | "nativeKey" | "policyJson" | "reserved" | "revision" | "scopeKey" | "start");
|
|
4599
|
+
indexes: {
|
|
4600
|
+
by_id: ["_id"];
|
|
4601
|
+
by_creation_time: ["_creationTime"];
|
|
4602
|
+
by_key: ["key", "_creationTime"];
|
|
4603
|
+
by_native_start: ["nativeKey", "start", "_creationTime"];
|
|
4604
|
+
by_scope_start: ["scopeKey", "start", "_creationTime"];
|
|
4605
|
+
};
|
|
4606
|
+
searchIndexes: {};
|
|
4607
|
+
vectorIndexes: {};
|
|
4608
|
+
};
|
|
4425
4609
|
usageCatalog: {
|
|
4426
4610
|
document: {
|
|
4427
4611
|
_creationTime: number;
|
|
@@ -4445,6 +4629,98 @@ export declare const mutation: import("convex-helpers/server/customFunctions").C
|
|
|
4445
4629
|
searchIndexes: {};
|
|
4446
4630
|
vectorIndexes: {};
|
|
4447
4631
|
};
|
|
4632
|
+
usageCorrectionClaims: {
|
|
4633
|
+
document: {
|
|
4634
|
+
_creationTime: number;
|
|
4635
|
+
_id: import("convex/values").GenericId<"usageCorrectionClaims">;
|
|
4636
|
+
key: string;
|
|
4637
|
+
operationKey: string;
|
|
4638
|
+
proofJson: string;
|
|
4639
|
+
};
|
|
4640
|
+
fieldPaths: "_id" | ("_creationTime" | "key" | "operationKey" | "proofJson");
|
|
4641
|
+
indexes: {
|
|
4642
|
+
by_id: ["_id"];
|
|
4643
|
+
by_creation_time: ["_creationTime"];
|
|
4644
|
+
by_key: ["key", "_creationTime"];
|
|
4645
|
+
};
|
|
4646
|
+
searchIndexes: {};
|
|
4647
|
+
vectorIndexes: {};
|
|
4648
|
+
};
|
|
4649
|
+
usageCorrectionHistory: {
|
|
4650
|
+
document: {
|
|
4651
|
+
_creationTime: number;
|
|
4652
|
+
_id: import("convex/values").GenericId<"usageCorrectionHistory">;
|
|
4653
|
+
at: number;
|
|
4654
|
+
eventId: import("convex/values").GenericId<"usageEvents">;
|
|
4655
|
+
evidenceJson: string;
|
|
4656
|
+
key: string;
|
|
4657
|
+
occurredAt?: number | undefined;
|
|
4658
|
+
reason: string;
|
|
4659
|
+
recordJson: string;
|
|
4660
|
+
scopeKey: string;
|
|
4661
|
+
sequence: number;
|
|
4662
|
+
state: "confirmed" | "held" | "invoice_adjustment_required" | "provider_accepted" | "requested" | "unsupported";
|
|
4663
|
+
subscriptionJson: string;
|
|
4664
|
+
};
|
|
4665
|
+
fieldPaths: "_id" | ("_creationTime" | "at" | "eventId" | "evidenceJson" | "key" | "occurredAt" | "reason" | "recordJson" | "scopeKey" | "sequence" | "state" | "subscriptionJson");
|
|
4666
|
+
indexes: {
|
|
4667
|
+
by_id: ["_id"];
|
|
4668
|
+
by_creation_time: ["_creationTime"];
|
|
4669
|
+
by_event: ["eventId", "_creationTime"];
|
|
4670
|
+
by_scope_occurrence: ["scopeKey", "occurredAt", "_creationTime"];
|
|
4671
|
+
by_scope_time: ["scopeKey", "at", "_creationTime"];
|
|
4672
|
+
};
|
|
4673
|
+
searchIndexes: {};
|
|
4674
|
+
vectorIndexes: {};
|
|
4675
|
+
};
|
|
4676
|
+
usageCorrections: {
|
|
4677
|
+
document: {
|
|
4678
|
+
_creationTime: number;
|
|
4679
|
+
_id: import("convex/values").GenericId<"usageCorrections">;
|
|
4680
|
+
adjustmentJson?: string | undefined;
|
|
4681
|
+
attempt: number;
|
|
4682
|
+
attemptedAt?: number | undefined;
|
|
4683
|
+
cashConsequence: "none" | "operator_resolution_required" | "verified_external_adjustment";
|
|
4684
|
+
correctionId: string;
|
|
4685
|
+
creditNoteId?: string | undefined;
|
|
4686
|
+
customerAccount?: string | undefined;
|
|
4687
|
+
eventId: import("convex/values").GenericId<"usageEvents">;
|
|
4688
|
+
firstAttemptAt: number;
|
|
4689
|
+
historyCount: number;
|
|
4690
|
+
inputJson: string;
|
|
4691
|
+
invoiceId?: string | undefined;
|
|
4692
|
+
key: string;
|
|
4693
|
+
leaseUntil?: number | undefined;
|
|
4694
|
+
nativeAdjustmentId?: string | undefined;
|
|
4695
|
+
nativeCreditNoteStatus?: "issued" | "void" | undefined;
|
|
4696
|
+
nativeStatus?: "complete" | "pending" | undefined;
|
|
4697
|
+
observedAt?: number | undefined;
|
|
4698
|
+
quantity: string;
|
|
4699
|
+
reason: string;
|
|
4700
|
+
recordJson: string;
|
|
4701
|
+
refundId?: string | undefined;
|
|
4702
|
+
resolution?: "event_cancellation" | "invoice_credit" | undefined;
|
|
4703
|
+
restoredQuantity: string;
|
|
4704
|
+
scaledQuantity: string;
|
|
4705
|
+
scopeKey: string;
|
|
4706
|
+
state: "confirmed" | "held" | "invoice_adjustment_required" | "provider_accepted" | "requested" | "unsupported";
|
|
4707
|
+
stripeAccountId?: string | undefined;
|
|
4708
|
+
subscriptionJson: string;
|
|
4709
|
+
};
|
|
4710
|
+
fieldPaths: "_id" | ("_creationTime" | "adjustmentJson" | "attempt" | "attemptedAt" | "cashConsequence" | "correctionId" | "creditNoteId" | "customerAccount" | "eventId" | "firstAttemptAt" | "historyCount" | "inputJson" | "invoiceId" | "key" | "leaseUntil" | "nativeAdjustmentId" | "nativeCreditNoteStatus" | "nativeStatus" | "observedAt" | "quantity" | "reason" | "recordJson" | "refundId" | "resolution" | "restoredQuantity" | "scaledQuantity" | "scopeKey" | "state" | "stripeAccountId" | "subscriptionJson");
|
|
4711
|
+
indexes: {
|
|
4712
|
+
by_id: ["_id"];
|
|
4713
|
+
by_creation_time: ["_creationTime"];
|
|
4714
|
+
by_event: ["eventId", "_creationTime"];
|
|
4715
|
+
by_key: ["key", "_creationTime"];
|
|
4716
|
+
by_payer_state: ["customerAccount", "state", "_creationTime"];
|
|
4717
|
+
by_realm_state: ["stripeAccountId", "state", "_creationTime"];
|
|
4718
|
+
by_scope: ["scopeKey", "_creationTime"];
|
|
4719
|
+
by_scope_state: ["scopeKey", "state", "_creationTime"];
|
|
4720
|
+
};
|
|
4721
|
+
searchIndexes: {};
|
|
4722
|
+
vectorIndexes: {};
|
|
4723
|
+
};
|
|
4448
4724
|
usageCreditAccounts: {
|
|
4449
4725
|
document: {
|
|
4450
4726
|
_creationTime: number;
|
|
@@ -4513,7 +4789,7 @@ export declare const mutation: import("convex-helpers/server/customFunctions").C
|
|
|
4513
4789
|
at: number;
|
|
4514
4790
|
evidenceJson: string;
|
|
4515
4791
|
fingerprint: string;
|
|
4516
|
-
kind: "closure" | "commit" | "grant" | "observation" | "payment" | "purchase" | "recovery" | "release" | "reservation";
|
|
4792
|
+
kind: "closure" | "commit" | "correction" | "grant" | "observation" | "payment" | "purchase" | "recovery" | "release" | "reservation";
|
|
4517
4793
|
purchaseKey?: string | undefined;
|
|
4518
4794
|
sourceKey: string;
|
|
4519
4795
|
};
|
|
@@ -4652,6 +4928,7 @@ export declare const mutation: import("convex-helpers/server/customFunctions").C
|
|
|
4652
4928
|
_creationTime: number;
|
|
4653
4929
|
_id: import("convex/values").GenericId<"usageOutbox">;
|
|
4654
4930
|
attempts: number;
|
|
4931
|
+
correctionKey?: string | undefined;
|
|
4655
4932
|
definitionVersion?: 1 | undefined;
|
|
4656
4933
|
dispatch?: string | undefined;
|
|
4657
4934
|
eventId: import("convex/values").GenericId<"usageEvents">;
|
|
@@ -4662,16 +4939,16 @@ export declare const mutation: import("convex-helpers/server/customFunctions").C
|
|
|
4662
4939
|
nextAttemptAt: number;
|
|
4663
4940
|
provider?: string | undefined;
|
|
4664
4941
|
providerIdentifier: string;
|
|
4665
|
-
reason?: "administrative_hold" | "billing_period_closed" | "delivery_window_expired" | "provider_outcome_unknown" | "provider_rejected" | "provider_unavailable" | "rate_limited" | "retry_exhausted" | "scope_busy" | undefined;
|
|
4942
|
+
reason?: "administrative_hold" | "billing_period_closed" | "delivery_window_expired" | "provider_outcome_unknown" | "provider_rejected" | "provider_unavailable" | "rate_limited" | "retry_exhausted" | "scope_busy" | "usage_canceled" | undefined;
|
|
4666
4943
|
receipt?: {
|
|
4667
4944
|
created: number;
|
|
4668
4945
|
identifier: string;
|
|
4669
4946
|
} | undefined;
|
|
4670
4947
|
scopeKey: string;
|
|
4671
|
-
state: "held" | "provider_accepted" | "queued" | "rejected" | "sending" | "unknown";
|
|
4948
|
+
state: "canceled" | "held" | "provider_accepted" | "queued" | "rejected" | "sending" | "unknown";
|
|
4672
4949
|
workflowId?: string | undefined;
|
|
4673
4950
|
};
|
|
4674
|
-
fieldPaths: "_id" | ("_creationTime" | "attempts" | "definitionVersion" | "dispatch" | "eventId" | "firstSendAt" | "held" | "historySequence" | "leaseUntil" | "nextAttemptAt" | "provider" | "providerIdentifier" | "reason" | "receipt" | "receipt.created" | "receipt.identifier" | "scopeKey" | "state" | "workflowId");
|
|
4951
|
+
fieldPaths: "_id" | ("_creationTime" | "attempts" | "correctionKey" | "definitionVersion" | "dispatch" | "eventId" | "firstSendAt" | "held" | "historySequence" | "leaseUntil" | "nextAttemptAt" | "provider" | "providerIdentifier" | "reason" | "receipt" | "receipt.created" | "receipt.identifier" | "scopeKey" | "state" | "workflowId");
|
|
4675
4952
|
indexes: {
|
|
4676
4953
|
by_id: ["_id"];
|
|
4677
4954
|
by_creation_time: ["_creationTime"];
|
|
@@ -4707,7 +4984,7 @@ export declare const mutation: import("convex-helpers/server/customFunctions").C
|
|
|
4707
4984
|
_creationTime: number;
|
|
4708
4985
|
_id: import("convex/values").GenericId<"usageReservations">;
|
|
4709
4986
|
accountKey?: string | undefined;
|
|
4710
|
-
accountingKind?: "prepaid" | undefined;
|
|
4987
|
+
accountingKind?: "allowance" | "prepaid" | undefined;
|
|
4711
4988
|
allocationsJson?: string | undefined;
|
|
4712
4989
|
eventId?: import("convex/values").GenericId<"usageEvents"> | undefined;
|
|
4713
4990
|
inputJson?: string | undefined;
|
|
@@ -4723,6 +5000,7 @@ export declare const mutation: import("convex-helpers/server/customFunctions").C
|
|
|
4723
5000
|
indexes: {
|
|
4724
5001
|
by_id: ["_id"];
|
|
4725
5002
|
by_creation_time: ["_creationTime"];
|
|
5003
|
+
by_account_state: ["accountKey", "state", "_creationTime"];
|
|
4726
5004
|
by_scope_source: ["scopeKey", "sourceEventId", "_creationTime"];
|
|
4727
5005
|
by_scope_state: ["scopeKey", "state", "_creationTime"];
|
|
4728
5006
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"triggers.d.ts","sourceRoot":"","sources":["../../../src/component/earnings/triggers.ts"],"names":[],"mappings":"AA6GA,eAAO,MAAM,QAAQ
|
|
1
|
+
{"version":3,"file":"triggers.d.ts","sourceRoot":"","sources":["../../../src/component/earnings/triggers.ts"],"names":[],"mappings":"AA6GA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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