@fantastic.dev/better-stripe 0.51.0 → 0.53.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 +20 -0
- package/README.md +1 -1
- package/dist/client/connect/payoutAdoptionTestHelpers.d.ts +210 -32
- package/dist/client/connect/payoutAdoptionTestHelpers.d.ts.map +1 -1
- package/dist/client/connect/payoutExecutionTestHelpers.d.ts +105 -16
- package/dist/client/connect/payoutExecutionTestHelpers.d.ts.map +1 -1
- package/dist/client/connect/payoutLargeAdoptionTestHelpers.d.ts +178 -0
- package/dist/client/connect/payoutLargeAdoptionTestHelpers.d.ts.map +1 -1
- package/dist/client/connect/payoutSyncTestHelpers.d.ts +89 -0
- package/dist/client/connect/payoutSyncTestHelpers.d.ts.map +1 -1
- package/dist/client/index.d.ts +6 -0
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +5 -0
- package/dist/client/index.js.map +1 -1
- package/dist/client/products/catalogClient.d.ts +23 -0
- package/dist/client/products/catalogClient.d.ts.map +1 -1
- package/dist/client/products/catalogClient.js +32 -0
- package/dist/client/products/catalogClient.js.map +1 -1
- package/dist/client/products/fixedPrice.d.ts +4 -0
- package/dist/client/products/fixedPrice.d.ts.map +1 -0
- package/dist/client/products/fixedPrice.js +10 -0
- package/dist/client/products/fixedPrice.js.map +1 -0
- package/dist/client/products/products.d.ts.map +1 -1
- package/dist/client/products/products.js +3 -0
- package/dist/client/products/products.js.map +1 -1
- package/dist/client/usage/catalog.d.ts +7 -0
- package/dist/client/usage/catalog.d.ts.map +1 -0
- package/dist/client/usage/catalog.js +55 -0
- package/dist/client/usage/catalog.js.map +1 -0
- package/dist/client/usage/catalogLifecycle.d.ts +25 -0
- package/dist/client/usage/catalogLifecycle.d.ts.map +1 -0
- package/dist/client/usage/catalogLifecycle.js +64 -0
- package/dist/client/usage/catalogLifecycle.js.map +1 -0
- package/dist/client/usage/catalogMath.d.ts +3 -0
- package/dist/client/usage/catalogMath.d.ts.map +1 -0
- package/dist/client/usage/catalogMath.js +21 -0
- package/dist/client/usage/catalogMath.js.map +1 -0
- package/dist/client/usage/catalogPrices.d.ts +5 -0
- package/dist/client/usage/catalogPrices.d.ts.map +1 -0
- package/dist/client/usage/catalogPrices.js +178 -0
- package/dist/client/usage/catalogPrices.js.map +1 -0
- package/dist/client/usage/catalogRead.d.ts +25 -0
- package/dist/client/usage/catalogRead.d.ts.map +1 -0
- package/dist/client/usage/catalogRead.js +71 -0
- package/dist/client/usage/catalogRead.js.map +1 -0
- package/dist/client/usage/catalogTypes.d.ts +97 -0
- package/dist/client/usage/catalogTypes.d.ts.map +1 -0
- package/dist/client/usage/catalogTypes.js +106 -0
- package/dist/client/usage/catalogTypes.js.map +1 -0
- package/dist/client/usage/client.d.ts +37 -0
- package/dist/client/usage/client.d.ts.map +1 -0
- package/dist/client/usage/client.js +59 -0
- package/dist/client/usage/client.js.map +1 -0
- 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 +1 -1
- package/dist/client/usage/records.js.map +1 -1
- package/dist/client/webhooks/processors.d.ts.map +1 -1
- package/dist/client/webhooks/processors.js +3 -0
- package/dist/client/webhooks/processors.js.map +1 -1
- package/dist/component/_generated/api.d.ts +10 -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 +141 -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 +43 -43
- package/dist/component/balanceFunding/stateHandlers.d.ts +8 -8
- package/dist/component/earnings/triggers.d.ts +224 -16
- package/dist/component/earnings/triggers.d.ts.map +1 -1
- package/dist/component/schema.d.ts +89 -0
- package/dist/component/schema.js +7 -0
- package/dist/component/schema.js.map +1 -1
- package/dist/component/usage/helpers.d.ts +13 -0
- package/dist/component/usage/helpers.d.ts.map +1 -0
- package/dist/component/usage/helpers.js +34 -0
- package/dist/component/usage/helpers.js.map +1 -0
- package/dist/component/usage/mutations.d.ts +14 -0
- package/dist/component/usage/mutations.d.ts.map +1 -0
- package/dist/component/usage/mutations.js +124 -0
- package/dist/component/usage/mutations.js.map +1 -0
- package/dist/component/usage/queries.d.ts +62 -0
- package/dist/component/usage/queries.d.ts.map +1 -0
- package/dist/component/usage/queries.js +65 -0
- package/dist/component/usage/queries.js.map +1 -0
- package/dist/component/usage/schema.d.ts +110 -0
- package/dist/component/usage/schema.d.ts.map +1 -0
- package/dist/component/usage/schema.js +54 -0
- package/dist/component/usage/schema.js.map +1 -0
- package/dist/component/usageCatalog/mutations.d.ts +25 -0
- package/dist/component/usageCatalog/mutations.d.ts.map +1 -0
- package/dist/component/usageCatalog/mutations.js +75 -0
- package/dist/component/usageCatalog/mutations.js.map +1 -0
- package/dist/component/usageCatalog/queries.d.ts +33 -0
- package/dist/component/usageCatalog/queries.d.ts.map +1 -0
- package/dist/component/usageCatalog/queries.js +26 -0
- package/dist/component/usageCatalog/queries.js.map +1 -0
- package/dist/component/usageCatalog/schema.d.ts +57 -0
- package/dist/component/usageCatalog/schema.d.ts.map +1 -0
- package/dist/component/usageCatalog/schema.js +22 -0
- package/dist/component/usageCatalog/schema.js.map +1 -0
- package/docs/README.md +5 -1
- package/docs/metered-usage.md +2 -2
- package/docs/metering-setup.md +4 -1
- package/docs/usage-catalog.md +106 -0
- package/docs/usage-ledger.md +62 -0
- package/package.json +4 -2
- package/src/client/index.ts +12 -0
- package/src/client/products/catalogClient.ts +77 -0
- package/src/client/products/fixedPrice.test.ts +57 -0
- package/src/client/products/fixedPrice.ts +13 -0
- package/src/client/products/products.ts +2 -0
- package/src/client/usage/catalog.test.ts +464 -0
- package/src/client/usage/catalog.ts +117 -0
- package/src/client/usage/catalogLifecycle.ts +128 -0
- package/src/client/usage/catalogMath.test.ts +13 -0
- package/src/client/usage/catalogMath.ts +22 -0
- package/src/client/usage/catalogPrices.ts +251 -0
- package/src/client/usage/catalogRead.ts +98 -0
- package/src/client/usage/catalogTypes.ts +170 -0
- package/src/client/usage/client.ts +97 -0
- package/src/client/usage/ledger-client.test.ts +74 -0
- package/src/client/usage/records.ts +1 -1
- package/src/client/webhooks/processors.ts +2 -0
- package/src/component/_generated/api.ts +10 -0
- package/src/component/_generated/component.ts +184 -0
- package/src/component/schema.ts +12 -0
- package/src/component/usage/helpers.ts +33 -0
- package/src/component/usage/ledger.test.ts +310 -0
- package/src/component/usage/mutations.ts +139 -0
- package/src/component/usage/queries.ts +69 -0
- package/src/component/usage/schema.ts +65 -0
- package/src/component/usageCatalog/mutations.ts +79 -0
- package/src/component/usageCatalog/queries.ts +32 -0
- package/src/component/usageCatalog/schema.ts +21 -0
package/CHANGELOG.md
CHANGED
|
@@ -26,6 +26,26 @@
|
|
|
26
26
|
- Remove internal tracker references from public documentation and add a
|
|
27
27
|
regression check that prevents their reintroduction.
|
|
28
28
|
|
|
29
|
+
## [0.53.0](https://github.com/FantasticDevHQ/better-stripe/compare/v0.52.0...v0.53.0) (2026-10-18)
|
|
30
|
+
|
|
31
|
+
### Features
|
|
32
|
+
|
|
33
|
+
- add native Stripe usage catalog and lifecycle APIs ([#322](https://github.com/FantasticDevHQ/better-stripe/issues/322)) ([19e052d](https://github.com/FantasticDevHQ/better-stripe/commit/19e052d55bc54ba542aca6c0de4e47eb702518c0))
|
|
34
|
+
|
|
35
|
+
## [0.52.0](https://github.com/FantasticDevHQ/better-stripe/compare/v0.51.0...v0.52.0) (2026-10-18)
|
|
36
|
+
|
|
37
|
+
### Features
|
|
38
|
+
|
|
39
|
+
- add atomic scoped usage ledger and durable outbox ([c4a4f39](https://github.com/FantasticDevHQ/better-stripe/commit/c4a4f39749ec6399514176e1deb02a379278349a))
|
|
40
|
+
|
|
41
|
+
### Bug Fixes
|
|
42
|
+
|
|
43
|
+
- reject unavailable usage reservation references ([d6b7f16](https://github.com/FantasticDevHQ/better-stripe/commit/d6b7f1666a2acf35aae45e590ffc1f5eb3fca8a5))
|
|
44
|
+
|
|
45
|
+
### Tests
|
|
46
|
+
|
|
47
|
+
- retain improved atomic ledger coverage floors ([4b88773](https://github.com/FantasticDevHQ/better-stripe/commit/4b88773e3ff5489c4f473f4e4f5a6ecaf2a7cfbf))
|
|
48
|
+
|
|
29
49
|
## [0.51.0](https://github.com/FantasticDevHQ/better-stripe/compare/v0.50.3...v0.51.0) (2026-10-18)
|
|
30
50
|
|
|
31
51
|
### Features
|
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@ billing, and Connect marketplaces. It provides checkout, subscriptions, webhook
|
|
|
5
5
|
syncing, marketplace fees and splits, payouts, refunds, and disputes, with React
|
|
6
6
|
hooks and headless UI components.
|
|
7
7
|
|
|
8
|
-
**Version**: `0.
|
|
8
|
+
**Version**: `0.53.0` <!-- x-release-please-version --> (pre-1.0). API may change between minor versions until 1.0.
|
|
9
9
|
|
|
10
10
|
Connect platforms use the default GA API version. Non-Connect merchants using
|
|
11
11
|
customer-only Accounts v2 need preview access and an explicit preview version.
|
|
@@ -9,6 +9,95 @@ export declare const scope: {
|
|
|
9
9
|
};
|
|
10
10
|
export declare function setup(amounts?: number[], currency?: string): Promise<{
|
|
11
11
|
t: import("convex-test").TestConvex<import("convex/server").SchemaDefinition<{
|
|
12
|
+
usageCatalog: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
13
|
+
firstAttemptAt: number;
|
|
14
|
+
key: string;
|
|
15
|
+
kind: "meter" | "price";
|
|
16
|
+
observationJson?: string | undefined;
|
|
17
|
+
observedAt?: number | undefined;
|
|
18
|
+
providerId?: string | undefined;
|
|
19
|
+
scopeKey: string;
|
|
20
|
+
termsJson: string;
|
|
21
|
+
}, {
|
|
22
|
+
observedAt: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
23
|
+
scopeKey: import("convex/values").VString<string, "required">;
|
|
24
|
+
kind: import("convex/values").VUnion<"meter" | "price", [import("convex/values").VLiteral<"meter", "required">, import("convex/values").VLiteral<"price", "required">], "required", never>;
|
|
25
|
+
key: import("convex/values").VString<string, "required">;
|
|
26
|
+
termsJson: import("convex/values").VString<string, "required">;
|
|
27
|
+
firstAttemptAt: import("convex/values").VFloat64<number, "required">;
|
|
28
|
+
providerId: import("convex/values").VString<string | undefined, "optional">;
|
|
29
|
+
observationJson: import("convex/values").VString<string | undefined, "optional">;
|
|
30
|
+
}, "required", "firstAttemptAt" | "key" | "kind" | "observationJson" | "observedAt" | "providerId" | "scopeKey" | "termsJson">, {
|
|
31
|
+
by_scope_kind_key: ["scopeKey", "kind", "key", "_creationTime"];
|
|
32
|
+
by_scope_kind_provider: ["scopeKey", "kind", "providerId", "_creationTime"];
|
|
33
|
+
}, {}, {}>;
|
|
34
|
+
usageEvents: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
35
|
+
acceptedAt: number;
|
|
36
|
+
identity: string;
|
|
37
|
+
occurredAt: number;
|
|
38
|
+
recordJson: string;
|
|
39
|
+
reservationId?: import("convex/values").GenericId<"usageReservations"> | undefined;
|
|
40
|
+
scopeKey: string;
|
|
41
|
+
subscriptionJson: string;
|
|
42
|
+
}, {
|
|
43
|
+
reservationId: import("convex/values").VId<import("convex/values").GenericId<"usageReservations"> | undefined, "optional">;
|
|
44
|
+
scopeKey: import("convex/values").VString<string, "required">;
|
|
45
|
+
identity: import("convex/values").VString<string, "required">;
|
|
46
|
+
recordJson: import("convex/values").VString<string, "required">;
|
|
47
|
+
subscriptionJson: import("convex/values").VString<string, "required">;
|
|
48
|
+
occurredAt: import("convex/values").VFloat64<number, "required">;
|
|
49
|
+
acceptedAt: import("convex/values").VFloat64<number, "required">;
|
|
50
|
+
}, "required", "acceptedAt" | "identity" | "occurredAt" | "recordJson" | "reservationId" | "scopeKey" | "subscriptionJson">, {
|
|
51
|
+
by_identity: ["identity", "_creationTime"];
|
|
52
|
+
by_scope_time: ["scopeKey", "occurredAt", "_creationTime"];
|
|
53
|
+
}, {}, {}>;
|
|
54
|
+
usageOutbox: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
55
|
+
attempts: number;
|
|
56
|
+
dispatch?: string | undefined;
|
|
57
|
+
eventId: import("convex/values").GenericId<"usageEvents">;
|
|
58
|
+
nextAttemptAt: number;
|
|
59
|
+
providerIdentifier: string;
|
|
60
|
+
scopeKey: string;
|
|
61
|
+
state: "held" | "provider_accepted" | "queued" | "rejected" | "sending" | "unknown";
|
|
62
|
+
}, {
|
|
63
|
+
eventId: import("convex/values").VId<import("convex/values").GenericId<"usageEvents">, "required">;
|
|
64
|
+
scopeKey: import("convex/values").VString<string, "required">;
|
|
65
|
+
state: import("convex/values").VUnion<"held" | "provider_accepted" | "queued" | "rejected" | "sending" | "unknown", [import("convex/values").VLiteral<"queued", "required">, import("convex/values").VLiteral<"sending", "required">, import("convex/values").VLiteral<"provider_accepted", "required">, import("convex/values").VLiteral<"rejected", "required">, import("convex/values").VLiteral<"unknown", "required">, import("convex/values").VLiteral<"held", "required">], "required", never>;
|
|
66
|
+
attempts: import("convex/values").VFloat64<number, "required">;
|
|
67
|
+
nextAttemptAt: import("convex/values").VFloat64<number, "required">;
|
|
68
|
+
providerIdentifier: import("convex/values").VString<string, "required">;
|
|
69
|
+
dispatch: import("convex/values").VString<string | undefined, "optional">;
|
|
70
|
+
}, "required", "attempts" | "dispatch" | "eventId" | "nextAttemptAt" | "providerIdentifier" | "scopeKey" | "state">, {
|
|
71
|
+
by_event: ["eventId", "_creationTime"];
|
|
72
|
+
by_scope_state: ["scopeKey", "state", "_creationTime"];
|
|
73
|
+
by_state_next: ["state", "nextAttemptAt", "_creationTime"];
|
|
74
|
+
}, {}, {}>;
|
|
75
|
+
usageScopeCounters: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
76
|
+
count: number;
|
|
77
|
+
scopeKey: string;
|
|
78
|
+
}, {
|
|
79
|
+
scopeKey: import("convex/values").VString<string, "required">;
|
|
80
|
+
count: import("convex/values").VFloat64<number, "required">;
|
|
81
|
+
}, "required", "count" | "scopeKey">, {
|
|
82
|
+
by_scope: ["scopeKey", "_creationTime"];
|
|
83
|
+
}, {}, {}>;
|
|
84
|
+
usageReservations: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
85
|
+
eventId?: import("convex/values").GenericId<"usageEvents"> | undefined;
|
|
86
|
+
planJson: string;
|
|
87
|
+
scaledQuantity: string;
|
|
88
|
+
scopeKey: string;
|
|
89
|
+
sourceEventId: string;
|
|
90
|
+
state: "committed" | "released" | "reserved";
|
|
91
|
+
}, {
|
|
92
|
+
scopeKey: import("convex/values").VString<string, "required">;
|
|
93
|
+
sourceEventId: import("convex/values").VString<string, "required">;
|
|
94
|
+
planJson: import("convex/values").VString<string, "required">;
|
|
95
|
+
scaledQuantity: import("convex/values").VString<string, "required">;
|
|
96
|
+
state: import("convex/values").VUnion<"committed" | "released" | "reserved", [import("convex/values").VLiteral<"reserved", "required">, import("convex/values").VLiteral<"committed", "required">, import("convex/values").VLiteral<"released", "required">], "required", never>;
|
|
97
|
+
eventId: import("convex/values").VId<import("convex/values").GenericId<"usageEvents"> | undefined, "optional">;
|
|
98
|
+
}, "required", "eventId" | "planJson" | "scaledQuantity" | "scopeKey" | "sourceEventId" | "state">, {
|
|
99
|
+
by_scope_source: ["scopeKey", "sourceEventId", "_creationTime"];
|
|
100
|
+
}, {}, {}>;
|
|
12
101
|
refundSyncClaims: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
13
102
|
acceptedAt?: number | undefined;
|
|
14
103
|
acceptedContext?: string | undefined;
|
|
@@ -1069,6 +1158,14 @@ export declare function setup(amounts?: number[], currency?: string): Promise<{
|
|
|
1069
1158
|
preparationId: import("convex/values").GenericId<"balanceFundingPreparations">;
|
|
1070
1159
|
requestKey: string;
|
|
1071
1160
|
result?: {
|
|
1161
|
+
reason: "identity_changed" | "revision_changed" | "scope_busy";
|
|
1162
|
+
retryable: false;
|
|
1163
|
+
status: "conflict";
|
|
1164
|
+
} | {
|
|
1165
|
+
reason: "policy_invalid";
|
|
1166
|
+
retryable: false;
|
|
1167
|
+
status: "rejected";
|
|
1168
|
+
} | {
|
|
1072
1169
|
operation: {
|
|
1073
1170
|
accountId: string;
|
|
1074
1171
|
operationId: import("convex/values").GenericId<"balanceFundingOperations">;
|
|
@@ -1079,14 +1176,6 @@ export declare function setup(amounts?: number[], currency?: string): Promise<{
|
|
|
1079
1176
|
} | {
|
|
1080
1177
|
enabled: boolean;
|
|
1081
1178
|
status: "unchanged";
|
|
1082
|
-
} | {
|
|
1083
|
-
reason: "identity_changed" | "revision_changed" | "scope_busy";
|
|
1084
|
-
retryable: false;
|
|
1085
|
-
status: "conflict";
|
|
1086
|
-
} | {
|
|
1087
|
-
reason: "policy_invalid";
|
|
1088
|
-
retryable: false;
|
|
1089
|
-
status: "rejected";
|
|
1090
1179
|
} | {
|
|
1091
1180
|
reason: "provider_pending";
|
|
1092
1181
|
retryable: true;
|
|
@@ -1097,6 +1186,14 @@ export declare function setup(amounts?: number[], currency?: string): Promise<{
|
|
|
1097
1186
|
payload: import("convex/values").VString<string, "required">;
|
|
1098
1187
|
preparationId: import("convex/values").VId<import("convex/values").GenericId<"balanceFundingPreparations">, "required">;
|
|
1099
1188
|
result: import("convex/values").VUnion<{
|
|
1189
|
+
reason: "identity_changed" | "revision_changed" | "scope_busy";
|
|
1190
|
+
retryable: false;
|
|
1191
|
+
status: "conflict";
|
|
1192
|
+
} | {
|
|
1193
|
+
reason: "policy_invalid";
|
|
1194
|
+
retryable: false;
|
|
1195
|
+
status: "rejected";
|
|
1196
|
+
} | {
|
|
1100
1197
|
operation: {
|
|
1101
1198
|
accountId: string;
|
|
1102
1199
|
operationId: import("convex/values").GenericId<"balanceFundingOperations">;
|
|
@@ -1107,14 +1204,6 @@ export declare function setup(amounts?: number[], currency?: string): Promise<{
|
|
|
1107
1204
|
} | {
|
|
1108
1205
|
enabled: boolean;
|
|
1109
1206
|
status: "unchanged";
|
|
1110
|
-
} | {
|
|
1111
|
-
reason: "identity_changed" | "revision_changed" | "scope_busy";
|
|
1112
|
-
retryable: false;
|
|
1113
|
-
status: "conflict";
|
|
1114
|
-
} | {
|
|
1115
|
-
reason: "policy_invalid";
|
|
1116
|
-
retryable: false;
|
|
1117
|
-
status: "rejected";
|
|
1118
1207
|
} | {
|
|
1119
1208
|
reason: "provider_pending";
|
|
1120
1209
|
retryable: true;
|
|
@@ -3416,6 +3505,95 @@ export declare function setup(amounts?: number[], currency?: string): Promise<{
|
|
|
3416
3505
|
}>;
|
|
3417
3506
|
export declare function historical(currency?: string): Promise<{
|
|
3418
3507
|
t: import("convex-test").TestConvex<import("convex/server").SchemaDefinition<{
|
|
3508
|
+
usageCatalog: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
3509
|
+
firstAttemptAt: number;
|
|
3510
|
+
key: string;
|
|
3511
|
+
kind: "meter" | "price";
|
|
3512
|
+
observationJson?: string | undefined;
|
|
3513
|
+
observedAt?: number | undefined;
|
|
3514
|
+
providerId?: string | undefined;
|
|
3515
|
+
scopeKey: string;
|
|
3516
|
+
termsJson: string;
|
|
3517
|
+
}, {
|
|
3518
|
+
observedAt: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
3519
|
+
scopeKey: import("convex/values").VString<string, "required">;
|
|
3520
|
+
kind: import("convex/values").VUnion<"meter" | "price", [import("convex/values").VLiteral<"meter", "required">, import("convex/values").VLiteral<"price", "required">], "required", never>;
|
|
3521
|
+
key: import("convex/values").VString<string, "required">;
|
|
3522
|
+
termsJson: import("convex/values").VString<string, "required">;
|
|
3523
|
+
firstAttemptAt: import("convex/values").VFloat64<number, "required">;
|
|
3524
|
+
providerId: import("convex/values").VString<string | undefined, "optional">;
|
|
3525
|
+
observationJson: import("convex/values").VString<string | undefined, "optional">;
|
|
3526
|
+
}, "required", "firstAttemptAt" | "key" | "kind" | "observationJson" | "observedAt" | "providerId" | "scopeKey" | "termsJson">, {
|
|
3527
|
+
by_scope_kind_key: ["scopeKey", "kind", "key", "_creationTime"];
|
|
3528
|
+
by_scope_kind_provider: ["scopeKey", "kind", "providerId", "_creationTime"];
|
|
3529
|
+
}, {}, {}>;
|
|
3530
|
+
usageEvents: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
3531
|
+
acceptedAt: number;
|
|
3532
|
+
identity: string;
|
|
3533
|
+
occurredAt: number;
|
|
3534
|
+
recordJson: string;
|
|
3535
|
+
reservationId?: import("convex/values").GenericId<"usageReservations"> | undefined;
|
|
3536
|
+
scopeKey: string;
|
|
3537
|
+
subscriptionJson: string;
|
|
3538
|
+
}, {
|
|
3539
|
+
reservationId: import("convex/values").VId<import("convex/values").GenericId<"usageReservations"> | undefined, "optional">;
|
|
3540
|
+
scopeKey: import("convex/values").VString<string, "required">;
|
|
3541
|
+
identity: import("convex/values").VString<string, "required">;
|
|
3542
|
+
recordJson: import("convex/values").VString<string, "required">;
|
|
3543
|
+
subscriptionJson: import("convex/values").VString<string, "required">;
|
|
3544
|
+
occurredAt: import("convex/values").VFloat64<number, "required">;
|
|
3545
|
+
acceptedAt: import("convex/values").VFloat64<number, "required">;
|
|
3546
|
+
}, "required", "acceptedAt" | "identity" | "occurredAt" | "recordJson" | "reservationId" | "scopeKey" | "subscriptionJson">, {
|
|
3547
|
+
by_identity: ["identity", "_creationTime"];
|
|
3548
|
+
by_scope_time: ["scopeKey", "occurredAt", "_creationTime"];
|
|
3549
|
+
}, {}, {}>;
|
|
3550
|
+
usageOutbox: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
3551
|
+
attempts: number;
|
|
3552
|
+
dispatch?: string | undefined;
|
|
3553
|
+
eventId: import("convex/values").GenericId<"usageEvents">;
|
|
3554
|
+
nextAttemptAt: number;
|
|
3555
|
+
providerIdentifier: string;
|
|
3556
|
+
scopeKey: string;
|
|
3557
|
+
state: "held" | "provider_accepted" | "queued" | "rejected" | "sending" | "unknown";
|
|
3558
|
+
}, {
|
|
3559
|
+
eventId: import("convex/values").VId<import("convex/values").GenericId<"usageEvents">, "required">;
|
|
3560
|
+
scopeKey: import("convex/values").VString<string, "required">;
|
|
3561
|
+
state: import("convex/values").VUnion<"held" | "provider_accepted" | "queued" | "rejected" | "sending" | "unknown", [import("convex/values").VLiteral<"queued", "required">, import("convex/values").VLiteral<"sending", "required">, import("convex/values").VLiteral<"provider_accepted", "required">, import("convex/values").VLiteral<"rejected", "required">, import("convex/values").VLiteral<"unknown", "required">, import("convex/values").VLiteral<"held", "required">], "required", never>;
|
|
3562
|
+
attempts: import("convex/values").VFloat64<number, "required">;
|
|
3563
|
+
nextAttemptAt: import("convex/values").VFloat64<number, "required">;
|
|
3564
|
+
providerIdentifier: import("convex/values").VString<string, "required">;
|
|
3565
|
+
dispatch: import("convex/values").VString<string | undefined, "optional">;
|
|
3566
|
+
}, "required", "attempts" | "dispatch" | "eventId" | "nextAttemptAt" | "providerIdentifier" | "scopeKey" | "state">, {
|
|
3567
|
+
by_event: ["eventId", "_creationTime"];
|
|
3568
|
+
by_scope_state: ["scopeKey", "state", "_creationTime"];
|
|
3569
|
+
by_state_next: ["state", "nextAttemptAt", "_creationTime"];
|
|
3570
|
+
}, {}, {}>;
|
|
3571
|
+
usageScopeCounters: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
3572
|
+
count: number;
|
|
3573
|
+
scopeKey: string;
|
|
3574
|
+
}, {
|
|
3575
|
+
scopeKey: import("convex/values").VString<string, "required">;
|
|
3576
|
+
count: import("convex/values").VFloat64<number, "required">;
|
|
3577
|
+
}, "required", "count" | "scopeKey">, {
|
|
3578
|
+
by_scope: ["scopeKey", "_creationTime"];
|
|
3579
|
+
}, {}, {}>;
|
|
3580
|
+
usageReservations: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
3581
|
+
eventId?: import("convex/values").GenericId<"usageEvents"> | undefined;
|
|
3582
|
+
planJson: string;
|
|
3583
|
+
scaledQuantity: string;
|
|
3584
|
+
scopeKey: string;
|
|
3585
|
+
sourceEventId: string;
|
|
3586
|
+
state: "committed" | "released" | "reserved";
|
|
3587
|
+
}, {
|
|
3588
|
+
scopeKey: import("convex/values").VString<string, "required">;
|
|
3589
|
+
sourceEventId: import("convex/values").VString<string, "required">;
|
|
3590
|
+
planJson: import("convex/values").VString<string, "required">;
|
|
3591
|
+
scaledQuantity: import("convex/values").VString<string, "required">;
|
|
3592
|
+
state: import("convex/values").VUnion<"committed" | "released" | "reserved", [import("convex/values").VLiteral<"reserved", "required">, import("convex/values").VLiteral<"committed", "required">, import("convex/values").VLiteral<"released", "required">], "required", never>;
|
|
3593
|
+
eventId: import("convex/values").VId<import("convex/values").GenericId<"usageEvents"> | undefined, "optional">;
|
|
3594
|
+
}, "required", "eventId" | "planJson" | "scaledQuantity" | "scopeKey" | "sourceEventId" | "state">, {
|
|
3595
|
+
by_scope_source: ["scopeKey", "sourceEventId", "_creationTime"];
|
|
3596
|
+
}, {}, {}>;
|
|
3419
3597
|
refundSyncClaims: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
3420
3598
|
acceptedAt?: number | undefined;
|
|
3421
3599
|
acceptedContext?: string | undefined;
|
|
@@ -4476,6 +4654,14 @@ export declare function historical(currency?: string): Promise<{
|
|
|
4476
4654
|
preparationId: import("convex/values").GenericId<"balanceFundingPreparations">;
|
|
4477
4655
|
requestKey: string;
|
|
4478
4656
|
result?: {
|
|
4657
|
+
reason: "identity_changed" | "revision_changed" | "scope_busy";
|
|
4658
|
+
retryable: false;
|
|
4659
|
+
status: "conflict";
|
|
4660
|
+
} | {
|
|
4661
|
+
reason: "policy_invalid";
|
|
4662
|
+
retryable: false;
|
|
4663
|
+
status: "rejected";
|
|
4664
|
+
} | {
|
|
4479
4665
|
operation: {
|
|
4480
4666
|
accountId: string;
|
|
4481
4667
|
operationId: import("convex/values").GenericId<"balanceFundingOperations">;
|
|
@@ -4486,14 +4672,6 @@ export declare function historical(currency?: string): Promise<{
|
|
|
4486
4672
|
} | {
|
|
4487
4673
|
enabled: boolean;
|
|
4488
4674
|
status: "unchanged";
|
|
4489
|
-
} | {
|
|
4490
|
-
reason: "identity_changed" | "revision_changed" | "scope_busy";
|
|
4491
|
-
retryable: false;
|
|
4492
|
-
status: "conflict";
|
|
4493
|
-
} | {
|
|
4494
|
-
reason: "policy_invalid";
|
|
4495
|
-
retryable: false;
|
|
4496
|
-
status: "rejected";
|
|
4497
4675
|
} | {
|
|
4498
4676
|
reason: "provider_pending";
|
|
4499
4677
|
retryable: true;
|
|
@@ -4504,6 +4682,14 @@ export declare function historical(currency?: string): Promise<{
|
|
|
4504
4682
|
payload: import("convex/values").VString<string, "required">;
|
|
4505
4683
|
preparationId: import("convex/values").VId<import("convex/values").GenericId<"balanceFundingPreparations">, "required">;
|
|
4506
4684
|
result: import("convex/values").VUnion<{
|
|
4685
|
+
reason: "identity_changed" | "revision_changed" | "scope_busy";
|
|
4686
|
+
retryable: false;
|
|
4687
|
+
status: "conflict";
|
|
4688
|
+
} | {
|
|
4689
|
+
reason: "policy_invalid";
|
|
4690
|
+
retryable: false;
|
|
4691
|
+
status: "rejected";
|
|
4692
|
+
} | {
|
|
4507
4693
|
operation: {
|
|
4508
4694
|
accountId: string;
|
|
4509
4695
|
operationId: import("convex/values").GenericId<"balanceFundingOperations">;
|
|
@@ -4514,14 +4700,6 @@ export declare function historical(currency?: string): Promise<{
|
|
|
4514
4700
|
} | {
|
|
4515
4701
|
enabled: boolean;
|
|
4516
4702
|
status: "unchanged";
|
|
4517
|
-
} | {
|
|
4518
|
-
reason: "identity_changed" | "revision_changed" | "scope_busy";
|
|
4519
|
-
retryable: false;
|
|
4520
|
-
status: "conflict";
|
|
4521
|
-
} | {
|
|
4522
|
-
reason: "policy_invalid";
|
|
4523
|
-
retryable: false;
|
|
4524
|
-
status: "rejected";
|
|
4525
4703
|
} | {
|
|
4526
4704
|
reason: "provider_pending";
|
|
4527
4705
|
retryable: true;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payoutAdoptionTestHelpers.d.ts","sourceRoot":"","sources":["../../../src/client/connect/payoutAdoptionTestHelpers.ts"],"names":[],"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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqDrB"}
|
|
@@ -10,6 +10,95 @@ export declare const scope: {
|
|
|
10
10
|
};
|
|
11
11
|
export declare function setup(amounts?: number[]): Promise<{
|
|
12
12
|
t: import("convex-test").TestConvex<import("convex/server").SchemaDefinition<{
|
|
13
|
+
usageCatalog: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
14
|
+
firstAttemptAt: number;
|
|
15
|
+
key: string;
|
|
16
|
+
kind: "meter" | "price";
|
|
17
|
+
observationJson?: string | undefined;
|
|
18
|
+
observedAt?: number | undefined;
|
|
19
|
+
providerId?: string | undefined;
|
|
20
|
+
scopeKey: string;
|
|
21
|
+
termsJson: string;
|
|
22
|
+
}, {
|
|
23
|
+
observedAt: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
24
|
+
scopeKey: import("convex/values").VString<string, "required">;
|
|
25
|
+
kind: import("convex/values").VUnion<"meter" | "price", [import("convex/values").VLiteral<"meter", "required">, import("convex/values").VLiteral<"price", "required">], "required", never>;
|
|
26
|
+
key: import("convex/values").VString<string, "required">;
|
|
27
|
+
termsJson: import("convex/values").VString<string, "required">;
|
|
28
|
+
firstAttemptAt: import("convex/values").VFloat64<number, "required">;
|
|
29
|
+
providerId: import("convex/values").VString<string | undefined, "optional">;
|
|
30
|
+
observationJson: import("convex/values").VString<string | undefined, "optional">;
|
|
31
|
+
}, "required", "firstAttemptAt" | "key" | "kind" | "observationJson" | "observedAt" | "providerId" | "scopeKey" | "termsJson">, {
|
|
32
|
+
by_scope_kind_key: ["scopeKey", "kind", "key", "_creationTime"];
|
|
33
|
+
by_scope_kind_provider: ["scopeKey", "kind", "providerId", "_creationTime"];
|
|
34
|
+
}, {}, {}>;
|
|
35
|
+
usageEvents: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
36
|
+
acceptedAt: number;
|
|
37
|
+
identity: string;
|
|
38
|
+
occurredAt: number;
|
|
39
|
+
recordJson: string;
|
|
40
|
+
reservationId?: import("convex/values").GenericId<"usageReservations"> | undefined;
|
|
41
|
+
scopeKey: string;
|
|
42
|
+
subscriptionJson: string;
|
|
43
|
+
}, {
|
|
44
|
+
reservationId: import("convex/values").VId<import("convex/values").GenericId<"usageReservations"> | undefined, "optional">;
|
|
45
|
+
scopeKey: import("convex/values").VString<string, "required">;
|
|
46
|
+
identity: import("convex/values").VString<string, "required">;
|
|
47
|
+
recordJson: import("convex/values").VString<string, "required">;
|
|
48
|
+
subscriptionJson: import("convex/values").VString<string, "required">;
|
|
49
|
+
occurredAt: import("convex/values").VFloat64<number, "required">;
|
|
50
|
+
acceptedAt: import("convex/values").VFloat64<number, "required">;
|
|
51
|
+
}, "required", "acceptedAt" | "identity" | "occurredAt" | "recordJson" | "reservationId" | "scopeKey" | "subscriptionJson">, {
|
|
52
|
+
by_identity: ["identity", "_creationTime"];
|
|
53
|
+
by_scope_time: ["scopeKey", "occurredAt", "_creationTime"];
|
|
54
|
+
}, {}, {}>;
|
|
55
|
+
usageOutbox: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
56
|
+
attempts: number;
|
|
57
|
+
dispatch?: string | undefined;
|
|
58
|
+
eventId: import("convex/values").GenericId<"usageEvents">;
|
|
59
|
+
nextAttemptAt: number;
|
|
60
|
+
providerIdentifier: string;
|
|
61
|
+
scopeKey: string;
|
|
62
|
+
state: "held" | "provider_accepted" | "queued" | "rejected" | "sending" | "unknown";
|
|
63
|
+
}, {
|
|
64
|
+
eventId: import("convex/values").VId<import("convex/values").GenericId<"usageEvents">, "required">;
|
|
65
|
+
scopeKey: import("convex/values").VString<string, "required">;
|
|
66
|
+
state: import("convex/values").VUnion<"held" | "provider_accepted" | "queued" | "rejected" | "sending" | "unknown", [import("convex/values").VLiteral<"queued", "required">, import("convex/values").VLiteral<"sending", "required">, import("convex/values").VLiteral<"provider_accepted", "required">, import("convex/values").VLiteral<"rejected", "required">, import("convex/values").VLiteral<"unknown", "required">, import("convex/values").VLiteral<"held", "required">], "required", never>;
|
|
67
|
+
attempts: import("convex/values").VFloat64<number, "required">;
|
|
68
|
+
nextAttemptAt: import("convex/values").VFloat64<number, "required">;
|
|
69
|
+
providerIdentifier: import("convex/values").VString<string, "required">;
|
|
70
|
+
dispatch: import("convex/values").VString<string | undefined, "optional">;
|
|
71
|
+
}, "required", "attempts" | "dispatch" | "eventId" | "nextAttemptAt" | "providerIdentifier" | "scopeKey" | "state">, {
|
|
72
|
+
by_event: ["eventId", "_creationTime"];
|
|
73
|
+
by_scope_state: ["scopeKey", "state", "_creationTime"];
|
|
74
|
+
by_state_next: ["state", "nextAttemptAt", "_creationTime"];
|
|
75
|
+
}, {}, {}>;
|
|
76
|
+
usageScopeCounters: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
77
|
+
count: number;
|
|
78
|
+
scopeKey: string;
|
|
79
|
+
}, {
|
|
80
|
+
scopeKey: import("convex/values").VString<string, "required">;
|
|
81
|
+
count: import("convex/values").VFloat64<number, "required">;
|
|
82
|
+
}, "required", "count" | "scopeKey">, {
|
|
83
|
+
by_scope: ["scopeKey", "_creationTime"];
|
|
84
|
+
}, {}, {}>;
|
|
85
|
+
usageReservations: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
86
|
+
eventId?: import("convex/values").GenericId<"usageEvents"> | undefined;
|
|
87
|
+
planJson: string;
|
|
88
|
+
scaledQuantity: string;
|
|
89
|
+
scopeKey: string;
|
|
90
|
+
sourceEventId: string;
|
|
91
|
+
state: "committed" | "released" | "reserved";
|
|
92
|
+
}, {
|
|
93
|
+
scopeKey: import("convex/values").VString<string, "required">;
|
|
94
|
+
sourceEventId: import("convex/values").VString<string, "required">;
|
|
95
|
+
planJson: import("convex/values").VString<string, "required">;
|
|
96
|
+
scaledQuantity: import("convex/values").VString<string, "required">;
|
|
97
|
+
state: import("convex/values").VUnion<"committed" | "released" | "reserved", [import("convex/values").VLiteral<"reserved", "required">, import("convex/values").VLiteral<"committed", "required">, import("convex/values").VLiteral<"released", "required">], "required", never>;
|
|
98
|
+
eventId: import("convex/values").VId<import("convex/values").GenericId<"usageEvents"> | undefined, "optional">;
|
|
99
|
+
}, "required", "eventId" | "planJson" | "scaledQuantity" | "scopeKey" | "sourceEventId" | "state">, {
|
|
100
|
+
by_scope_source: ["scopeKey", "sourceEventId", "_creationTime"];
|
|
101
|
+
}, {}, {}>;
|
|
13
102
|
refundSyncClaims: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
14
103
|
acceptedAt?: number | undefined;
|
|
15
104
|
acceptedContext?: string | undefined;
|
|
@@ -1070,14 +1159,6 @@ export declare function setup(amounts?: number[]): Promise<{
|
|
|
1070
1159
|
preparationId: import("convex/values").GenericId<"balanceFundingPreparations">;
|
|
1071
1160
|
requestKey: string;
|
|
1072
1161
|
result?: {
|
|
1073
|
-
reason: "identity_changed" | "revision_changed" | "scope_busy";
|
|
1074
|
-
retryable: false;
|
|
1075
|
-
status: "conflict";
|
|
1076
|
-
} | {
|
|
1077
|
-
reason: "policy_invalid";
|
|
1078
|
-
retryable: false;
|
|
1079
|
-
status: "rejected";
|
|
1080
|
-
} | {
|
|
1081
1162
|
operation: {
|
|
1082
1163
|
accountId: string;
|
|
1083
1164
|
operationId: import("convex/values").GenericId<"balanceFundingOperations">;
|
|
@@ -1088,6 +1169,14 @@ export declare function setup(amounts?: number[]): Promise<{
|
|
|
1088
1169
|
} | {
|
|
1089
1170
|
enabled: boolean;
|
|
1090
1171
|
status: "unchanged";
|
|
1172
|
+
} | {
|
|
1173
|
+
reason: "identity_changed" | "revision_changed" | "scope_busy";
|
|
1174
|
+
retryable: false;
|
|
1175
|
+
status: "conflict";
|
|
1176
|
+
} | {
|
|
1177
|
+
reason: "policy_invalid";
|
|
1178
|
+
retryable: false;
|
|
1179
|
+
status: "rejected";
|
|
1091
1180
|
} | {
|
|
1092
1181
|
reason: "provider_pending";
|
|
1093
1182
|
retryable: true;
|
|
@@ -1098,14 +1187,6 @@ export declare function setup(amounts?: number[]): Promise<{
|
|
|
1098
1187
|
payload: import("convex/values").VString<string, "required">;
|
|
1099
1188
|
preparationId: import("convex/values").VId<import("convex/values").GenericId<"balanceFundingPreparations">, "required">;
|
|
1100
1189
|
result: import("convex/values").VUnion<{
|
|
1101
|
-
reason: "identity_changed" | "revision_changed" | "scope_busy";
|
|
1102
|
-
retryable: false;
|
|
1103
|
-
status: "conflict";
|
|
1104
|
-
} | {
|
|
1105
|
-
reason: "policy_invalid";
|
|
1106
|
-
retryable: false;
|
|
1107
|
-
status: "rejected";
|
|
1108
|
-
} | {
|
|
1109
1190
|
operation: {
|
|
1110
1191
|
accountId: string;
|
|
1111
1192
|
operationId: import("convex/values").GenericId<"balanceFundingOperations">;
|
|
@@ -1116,6 +1197,14 @@ export declare function setup(amounts?: number[]): Promise<{
|
|
|
1116
1197
|
} | {
|
|
1117
1198
|
enabled: boolean;
|
|
1118
1199
|
status: "unchanged";
|
|
1200
|
+
} | {
|
|
1201
|
+
reason: "identity_changed" | "revision_changed" | "scope_busy";
|
|
1202
|
+
retryable: false;
|
|
1203
|
+
status: "conflict";
|
|
1204
|
+
} | {
|
|
1205
|
+
reason: "policy_invalid";
|
|
1206
|
+
retryable: false;
|
|
1207
|
+
status: "rejected";
|
|
1119
1208
|
} | {
|
|
1120
1209
|
reason: "provider_pending";
|
|
1121
1210
|
retryable: true;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payoutExecutionTestHelpers.d.ts","sourceRoot":"","sources":["../../../src/client/connect/payoutExecutionTestHelpers.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAoBvD,eAAO,MAAM,SAAS,EAIN,SAAS,CAAC;AAC1B,eAAO,MAAM,KAAK;IAChB,SAAS;IACT,QAAQ;IACR,YAAY;IACZ,QAAQ;IACR,sBAAsB;CACvB,CAAC;AACF,wBAAsB,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