@fantastic.dev/better-stripe 0.54.0 → 0.55.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.
Files changed (122) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/README.md +1 -1
  3. package/dist/client/connect/payoutAdoptionTestHelpers.d.ts +112 -34
  4. package/dist/client/connect/payoutAdoptionTestHelpers.d.ts.map +1 -1
  5. package/dist/client/connect/payoutExecutionTestHelpers.d.ts +40 -1
  6. package/dist/client/connect/payoutExecutionTestHelpers.d.ts.map +1 -1
  7. package/dist/client/connect/payoutLargeAdoptionTestHelpers.d.ts +112 -34
  8. package/dist/client/connect/payoutLargeAdoptionTestHelpers.d.ts.map +1 -1
  9. package/dist/client/connect/payoutSyncTestHelpers.d.ts +40 -1
  10. package/dist/client/connect/payoutSyncTestHelpers.d.ts.map +1 -1
  11. package/dist/client/index.d.ts +5 -0
  12. package/dist/client/index.d.ts.map +1 -1
  13. package/dist/client/usage/client.d.ts +2 -2
  14. package/dist/client/usage/client.d.ts.map +1 -1
  15. package/dist/client/usage/client.js +2 -2
  16. package/dist/client/usage/client.js.map +1 -1
  17. package/dist/client/usage/index.d.ts +5 -0
  18. package/dist/client/usage/index.d.ts.map +1 -1
  19. package/dist/client/usage/invoiceObservation.d.ts +38 -0
  20. package/dist/client/usage/invoiceObservation.d.ts.map +1 -0
  21. package/dist/client/usage/invoiceObservation.js +157 -0
  22. package/dist/client/usage/invoiceObservation.js.map +1 -0
  23. package/dist/client/usage/observationClient.d.ts +83 -0
  24. package/dist/client/usage/observationClient.d.ts.map +1 -0
  25. package/dist/client/usage/observationClient.js +157 -0
  26. package/dist/client/usage/observationClient.js.map +1 -0
  27. package/dist/client/usage/observationTypes.d.ts +63 -0
  28. package/dist/client/usage/observationTypes.d.ts.map +1 -0
  29. package/dist/client/usage/observationTypes.js +59 -0
  30. package/dist/client/usage/observationTypes.js.map +1 -0
  31. package/dist/client/usage/providerObservation.d.ts +4 -0
  32. package/dist/client/usage/providerObservation.d.ts.map +1 -0
  33. package/dist/client/usage/providerObservation.js +96 -0
  34. package/dist/client/usage/providerObservation.js.map +1 -0
  35. package/dist/client/usage/reconciliation.d.ts +12 -0
  36. package/dist/client/usage/reconciliation.d.ts.map +1 -0
  37. package/dist/client/usage/reconciliation.js +48 -0
  38. package/dist/client/usage/reconciliation.js.map +1 -0
  39. package/dist/client/usage/summary.d.ts +50 -0
  40. package/dist/client/usage/summary.d.ts.map +1 -0
  41. package/dist/client/usage/summary.js +110 -0
  42. package/dist/client/usage/summary.js.map +1 -0
  43. package/dist/component/_generated/api.d.ts +8 -0
  44. package/dist/component/_generated/api.d.ts.map +1 -1
  45. package/dist/component/_generated/api.js.map +1 -1
  46. package/dist/component/_generated/component.d.ts +95 -0
  47. package/dist/component/_generated/component.d.ts.map +1 -1
  48. package/dist/component/balanceFunding/internal/actions.d.ts +11 -11
  49. package/dist/component/balanceFunding/mutations.d.ts +16 -16
  50. package/dist/component/balanceFunding/stateHandlers.d.ts +8 -8
  51. package/dist/component/earnings/triggers.d.ts +104 -18
  52. package/dist/component/earnings/triggers.d.ts.map +1 -1
  53. package/dist/component/refundHistory/queries.d.ts +1 -1
  54. package/dist/component/schema.d.ts +40 -1
  55. package/dist/component/schema.js +3 -0
  56. package/dist/component/schema.js.map +1 -1
  57. package/dist/component/usage/schema.d.ts +7 -2
  58. package/dist/component/usage/schema.d.ts.map +1 -1
  59. package/dist/component/usageDelivery/fields.d.ts +1 -0
  60. package/dist/component/usageDelivery/fields.d.ts.map +1 -1
  61. package/dist/component/usageDelivery/fields.js +1 -0
  62. package/dist/component/usageDelivery/fields.js.map +1 -1
  63. package/dist/component/usageDelivery/helpers.d.ts +1 -0
  64. package/dist/component/usageDelivery/helpers.d.ts.map +1 -1
  65. package/dist/component/usageDelivery/mutations.d.ts.map +1 -1
  66. package/dist/component/usageDelivery/mutations.js +8 -1
  67. package/dist/component/usageDelivery/mutations.js.map +1 -1
  68. package/dist/component/usageDelivery/queries.d.ts +2 -0
  69. package/dist/component/usageDelivery/queries.d.ts.map +1 -1
  70. package/dist/component/usageDelivery/steps.d.ts.map +1 -1
  71. package/dist/component/usageDelivery/steps.js +8 -1
  72. package/dist/component/usageDelivery/steps.js.map +1 -1
  73. package/dist/component/usageObservations/helpers.d.ts +38 -0
  74. package/dist/component/usageObservations/helpers.d.ts.map +1 -0
  75. package/dist/component/usageObservations/helpers.js +80 -0
  76. package/dist/component/usageObservations/helpers.js.map +1 -0
  77. package/dist/component/usageObservations/history.d.ts +6 -0
  78. package/dist/component/usageObservations/history.d.ts.map +1 -0
  79. package/dist/component/usageObservations/history.js +29 -0
  80. package/dist/component/usageObservations/history.js.map +1 -0
  81. package/dist/component/usageObservations/mutations.d.ts +6 -0
  82. package/dist/component/usageObservations/mutations.d.ts.map +1 -0
  83. package/dist/component/usageObservations/mutations.js +39 -0
  84. package/dist/component/usageObservations/mutations.js.map +1 -0
  85. package/dist/component/usageObservations/queries.d.ts +78 -0
  86. package/dist/component/usageObservations/queries.d.ts.map +1 -0
  87. package/dist/component/usageObservations/queries.js +131 -0
  88. package/dist/component/usageObservations/queries.js.map +1 -0
  89. package/dist/component/usageObservations/schema.d.ts +72 -0
  90. package/dist/component/usageObservations/schema.d.ts.map +1 -0
  91. package/dist/component/usageObservations/schema.js +29 -0
  92. package/dist/component/usageObservations/schema.js.map +1 -0
  93. package/docs/README.md +2 -0
  94. package/docs/metering-setup.md +2 -0
  95. package/docs/usage-observations.md +152 -0
  96. package/package.json +3 -2
  97. package/src/client/index.ts +18 -0
  98. package/src/client/usage/client.ts +2 -2
  99. package/src/client/usage/index.ts +18 -0
  100. package/src/client/usage/invoiceObservation.test.ts +195 -0
  101. package/src/client/usage/invoiceObservation.ts +203 -0
  102. package/src/client/usage/observationClient.ts +233 -0
  103. package/src/client/usage/observationTypes.ts +101 -0
  104. package/src/client/usage/providerObservation.test.ts +207 -0
  105. package/src/client/usage/providerObservation.ts +124 -0
  106. package/src/client/usage/reconciliation.test.ts +117 -0
  107. package/src/client/usage/reconciliation.ts +86 -0
  108. package/src/client/usage/summary.test.ts +222 -0
  109. package/src/client/usage/summary.ts +188 -0
  110. package/src/component/_generated/api.ts +8 -0
  111. package/src/component/_generated/component.ts +135 -0
  112. package/src/component/schema.ts +6 -0
  113. package/src/component/usageDelivery/fields.ts +1 -0
  114. package/src/component/usageDelivery/mutations.ts +26 -1
  115. package/src/component/usageDelivery/steps.ts +39 -1
  116. package/src/component/usageObservations/helpers.ts +95 -0
  117. package/src/component/usageObservations/history.test.ts +87 -0
  118. package/src/component/usageObservations/history.ts +39 -0
  119. package/src/component/usageObservations/mutations.ts +39 -0
  120. package/src/component/usageObservations/queries.test.ts +162 -0
  121. package/src/component/usageObservations/queries.ts +145 -0
  122. package/src/component/usageObservations/schema.ts +40 -0
@@ -9,6 +9,17 @@ export declare const bridge: import("convex/server").RegisteredAction<"internal"
9
9
  stripeSubscriptionId: string;
10
10
  version: number;
11
11
  }, Promise<{
12
+ status: "ready";
13
+ value: {
14
+ customerAccount: string;
15
+ enabled?: boolean | undefined;
16
+ paymentMethodId: string | null;
17
+ paymentMethodTypes?: string[] | null | undefined;
18
+ phase: "apply" | "attach" | "create";
19
+ providerApiVersion: string;
20
+ stripeSubscriptionId: string;
21
+ };
22
+ } | {
12
23
  reason: "history_incomplete" | "provider_outcome_unknown";
13
24
  retryable: false;
14
25
  status: "unknown";
@@ -24,16 +35,5 @@ export declare const bridge: import("convex/server").RegisteredAction<"internal"
24
35
  reason: "provider_pending";
25
36
  retryable: true;
26
37
  status: "not_ready";
27
- } | {
28
- status: "ready";
29
- value: {
30
- customerAccount: string;
31
- enabled?: boolean | undefined;
32
- paymentMethodId: string | null;
33
- paymentMethodTypes?: string[] | null | undefined;
34
- phase: "apply" | "attach" | "create";
35
- providerApiVersion: string;
36
- stripeSubscriptionId: string;
37
- };
38
38
  }>>;
39
39
  //# sourceMappingURL=actions.d.ts.map
@@ -22,6 +22,14 @@ export declare const begin: import("convex/server").RegisteredMutation<"public",
22
22
  requestKey: string;
23
23
  scopeKey: string;
24
24
  }, Promise<{
25
+ reason: "identity_changed" | "revision_changed" | "scope_busy";
26
+ retryable: false;
27
+ status: "conflict";
28
+ } | {
29
+ reason: "policy_invalid";
30
+ retryable: false;
31
+ status: "rejected";
32
+ } | {
25
33
  operation: {
26
34
  accountId: string;
27
35
  operationId: import("convex/values").GenericId<"balanceFundingOperations">;
@@ -32,14 +40,6 @@ export declare const begin: import("convex/server").RegisteredMutation<"public",
32
40
  } | {
33
41
  enabled: boolean;
34
42
  status: "unchanged";
35
- } | {
36
- reason: "identity_changed" | "revision_changed" | "scope_busy";
37
- retryable: false;
38
- status: "conflict";
39
- } | {
40
- reason: "policy_invalid";
41
- retryable: false;
42
- status: "rejected";
43
43
  } | {
44
44
  reason: "provider_pending";
45
45
  retryable: true;
@@ -395,6 +395,14 @@ export declare const prepare: import("convex/server").RegisteredMutation<"public
395
395
  requestKey: string;
396
396
  scopeKey: string;
397
397
  }, Promise<{
398
+ reason: "identity_changed" | "revision_changed" | "scope_busy";
399
+ retryable: false;
400
+ status: "conflict";
401
+ } | {
402
+ reason: "policy_invalid";
403
+ retryable: false;
404
+ status: "rejected";
405
+ } | {
398
406
  operation: {
399
407
  accountId: string;
400
408
  operationId: import("convex/values").GenericId<"balanceFundingOperations">;
@@ -405,14 +413,6 @@ export declare const prepare: import("convex/server").RegisteredMutation<"public
405
413
  } | {
406
414
  enabled: boolean;
407
415
  status: "unchanged";
408
- } | {
409
- reason: "identity_changed" | "revision_changed" | "scope_busy";
410
- retryable: false;
411
- status: "conflict";
412
- } | {
413
- reason: "policy_invalid";
414
- retryable: false;
415
- status: "rejected";
416
416
  } | {
417
417
  reason: "provider_pending";
418
418
  retryable: true;
@@ -5,14 +5,6 @@ export declare function savePreparationHandler(ctx: MutationCtx, args: Infer<typ
5
5
  preparationId: import("convex/values").GenericId<"balanceFundingPreparations">;
6
6
  }>;
7
7
  export declare function beginHandler(ctx: MutationCtx, args: Infer<typeof beginArgs>): Promise<{
8
- reason: "identity_changed" | "revision_changed" | "scope_busy";
9
- retryable: false;
10
- status: "conflict";
11
- } | {
12
- reason: "policy_invalid";
13
- retryable: false;
14
- status: "rejected";
15
- } | {
16
8
  operation: {
17
9
  accountId: string;
18
10
  operationId: import("convex/values").GenericId<"balanceFundingOperations">;
@@ -23,6 +15,14 @@ export declare function beginHandler(ctx: MutationCtx, args: Infer<typeof beginA
23
15
  } | {
24
16
  enabled: boolean;
25
17
  status: "unchanged";
18
+ } | {
19
+ reason: "identity_changed" | "revision_changed" | "scope_busy";
20
+ retryable: false;
21
+ status: "conflict";
22
+ } | {
23
+ reason: "policy_invalid";
24
+ retryable: false;
25
+ status: "rejected";
26
26
  } | {
27
27
  reason: "provider_pending";
28
28
  retryable: true;
@@ -372,14 +372,6 @@ export declare const mutation: import("convex-helpers/server/customFunctions").C
372
372
  preparationId: import("convex/values").GenericId<"balanceFundingPreparations">;
373
373
  requestKey: string;
374
374
  result?: {
375
- reason: "identity_changed" | "revision_changed" | "scope_busy";
376
- retryable: false;
377
- status: "conflict";
378
- } | {
379
- reason: "policy_invalid";
380
- retryable: false;
381
- status: "rejected";
382
- } | {
383
375
  operation: {
384
376
  accountId: string;
385
377
  operationId: import("convex/values").GenericId<"balanceFundingOperations">;
@@ -390,6 +382,14 @@ export declare const mutation: import("convex-helpers/server/customFunctions").C
390
382
  } | {
391
383
  enabled: boolean;
392
384
  status: "unchanged";
385
+ } | {
386
+ reason: "identity_changed" | "revision_changed" | "scope_busy";
387
+ retryable: false;
388
+ status: "conflict";
389
+ } | {
390
+ reason: "policy_invalid";
391
+ retryable: false;
392
+ status: "rejected";
393
393
  } | {
394
394
  reason: "provider_pending";
395
395
  retryable: true;
@@ -2037,6 +2037,29 @@ export declare const mutation: import("convex-helpers/server/customFunctions").C
2037
2037
  searchIndexes: {};
2038
2038
  vectorIndexes: {};
2039
2039
  };
2040
+ usageDeliveryHistory: {
2041
+ document: {
2042
+ _creationTime: number;
2043
+ _id: import("convex/values").GenericId<"usageDeliveryHistory">;
2044
+ attempt: number;
2045
+ created?: number | undefined;
2046
+ eventId: import("convex/values").GenericId<"usageEvents">;
2047
+ identity: string;
2048
+ phase: "accepted" | "held" | "rate_limited" | "rejected" | "resumed" | "retry_exhausted" | "started" | "unavailable" | "unknown" | "window_expired";
2049
+ recordedAt: number;
2050
+ scopeKey: string;
2051
+ sequence: number;
2052
+ };
2053
+ fieldPaths: "_id" | ("_creationTime" | "attempt" | "created" | "eventId" | "identity" | "phase" | "recordedAt" | "scopeKey" | "sequence");
2054
+ indexes: {
2055
+ by_id: ["_id"];
2056
+ by_creation_time: ["_creationTime"];
2057
+ by_event_identity: ["eventId", "identity", "_creationTime"];
2058
+ by_event_sequence: ["eventId", "sequence", "_creationTime"];
2059
+ };
2060
+ searchIndexes: {};
2061
+ vectorIndexes: {};
2062
+ };
2040
2063
  usageDeliveryLocks: {
2041
2064
  document: {
2042
2065
  _creationTime: number;
@@ -2087,6 +2110,7 @@ export declare const mutation: import("convex-helpers/server/customFunctions").C
2087
2110
  eventId: import("convex/values").GenericId<"usageEvents">;
2088
2111
  firstSendAt?: number | undefined;
2089
2112
  held?: boolean | undefined;
2113
+ historySequence?: number | undefined;
2090
2114
  leaseUntil?: number | undefined;
2091
2115
  nextAttemptAt: number;
2092
2116
  provider?: string | undefined;
@@ -2100,7 +2124,7 @@ export declare const mutation: import("convex-helpers/server/customFunctions").C
2100
2124
  state: "held" | "provider_accepted" | "queued" | "rejected" | "sending" | "unknown";
2101
2125
  workflowId?: string | undefined;
2102
2126
  };
2103
- fieldPaths: "_id" | ("_creationTime" | "attempts" | "definitionVersion" | "dispatch" | "eventId" | "firstSendAt" | "held" | "leaseUntil" | "nextAttemptAt" | "provider" | "providerIdentifier" | "reason" | "receipt" | "receipt.created" | "receipt.identifier" | "scopeKey" | "state" | "workflowId");
2127
+ fieldPaths: "_id" | ("_creationTime" | "attempts" | "definitionVersion" | "dispatch" | "eventId" | "firstSendAt" | "held" | "historySequence" | "leaseUntil" | "nextAttemptAt" | "provider" | "providerIdentifier" | "reason" | "receipt" | "receipt.created" | "receipt.identifier" | "scopeKey" | "state" | "workflowId");
2104
2128
  indexes: {
2105
2129
  by_id: ["_id"];
2106
2130
  by_creation_time: ["_creationTime"];
@@ -2112,6 +2136,25 @@ export declare const mutation: import("convex-helpers/server/customFunctions").C
2112
2136
  searchIndexes: {};
2113
2137
  vectorIndexes: {};
2114
2138
  };
2139
+ usageProviderObservations: {
2140
+ document: {
2141
+ _creationTime: number;
2142
+ _id: import("convex/values").GenericId<"usageProviderObservations">;
2143
+ key: string;
2144
+ observationJson: string;
2145
+ scopeKey: string;
2146
+ sourceJson: string;
2147
+ startedAt: number;
2148
+ };
2149
+ fieldPaths: "_id" | ("_creationTime" | "key" | "observationJson" | "scopeKey" | "sourceJson" | "startedAt");
2150
+ indexes: {
2151
+ by_id: ["_id"];
2152
+ by_creation_time: ["_creationTime"];
2153
+ by_key: ["key", "_creationTime"];
2154
+ };
2155
+ searchIndexes: {};
2156
+ vectorIndexes: {};
2157
+ };
2115
2158
  usageReservations: {
2116
2159
  document: {
2117
2160
  _creationTime: number;
@@ -2543,14 +2586,6 @@ export declare const mutation: import("convex-helpers/server/customFunctions").C
2543
2586
  preparationId: import("convex/values").GenericId<"balanceFundingPreparations">;
2544
2587
  requestKey: string;
2545
2588
  result?: {
2546
- reason: "identity_changed" | "revision_changed" | "scope_busy";
2547
- retryable: false;
2548
- status: "conflict";
2549
- } | {
2550
- reason: "policy_invalid";
2551
- retryable: false;
2552
- status: "rejected";
2553
- } | {
2554
2589
  operation: {
2555
2590
  accountId: string;
2556
2591
  operationId: import("convex/values").GenericId<"balanceFundingOperations">;
@@ -2561,6 +2596,14 @@ export declare const mutation: import("convex-helpers/server/customFunctions").C
2561
2596
  } | {
2562
2597
  enabled: boolean;
2563
2598
  status: "unchanged";
2599
+ } | {
2600
+ reason: "identity_changed" | "revision_changed" | "scope_busy";
2601
+ retryable: false;
2602
+ status: "conflict";
2603
+ } | {
2604
+ reason: "policy_invalid";
2605
+ retryable: false;
2606
+ status: "rejected";
2564
2607
  } | {
2565
2608
  reason: "provider_pending";
2566
2609
  retryable: true;
@@ -4208,6 +4251,29 @@ export declare const mutation: import("convex-helpers/server/customFunctions").C
4208
4251
  searchIndexes: {};
4209
4252
  vectorIndexes: {};
4210
4253
  };
4254
+ usageDeliveryHistory: {
4255
+ document: {
4256
+ _creationTime: number;
4257
+ _id: import("convex/values").GenericId<"usageDeliveryHistory">;
4258
+ attempt: number;
4259
+ created?: number | undefined;
4260
+ eventId: import("convex/values").GenericId<"usageEvents">;
4261
+ identity: string;
4262
+ phase: "accepted" | "held" | "rate_limited" | "rejected" | "resumed" | "retry_exhausted" | "started" | "unavailable" | "unknown" | "window_expired";
4263
+ recordedAt: number;
4264
+ scopeKey: string;
4265
+ sequence: number;
4266
+ };
4267
+ fieldPaths: "_id" | ("_creationTime" | "attempt" | "created" | "eventId" | "identity" | "phase" | "recordedAt" | "scopeKey" | "sequence");
4268
+ indexes: {
4269
+ by_id: ["_id"];
4270
+ by_creation_time: ["_creationTime"];
4271
+ by_event_identity: ["eventId", "identity", "_creationTime"];
4272
+ by_event_sequence: ["eventId", "sequence", "_creationTime"];
4273
+ };
4274
+ searchIndexes: {};
4275
+ vectorIndexes: {};
4276
+ };
4211
4277
  usageDeliveryLocks: {
4212
4278
  document: {
4213
4279
  _creationTime: number;
@@ -4258,6 +4324,7 @@ export declare const mutation: import("convex-helpers/server/customFunctions").C
4258
4324
  eventId: import("convex/values").GenericId<"usageEvents">;
4259
4325
  firstSendAt?: number | undefined;
4260
4326
  held?: boolean | undefined;
4327
+ historySequence?: number | undefined;
4261
4328
  leaseUntil?: number | undefined;
4262
4329
  nextAttemptAt: number;
4263
4330
  provider?: string | undefined;
@@ -4271,7 +4338,7 @@ export declare const mutation: import("convex-helpers/server/customFunctions").C
4271
4338
  state: "held" | "provider_accepted" | "queued" | "rejected" | "sending" | "unknown";
4272
4339
  workflowId?: string | undefined;
4273
4340
  };
4274
- fieldPaths: "_id" | ("_creationTime" | "attempts" | "definitionVersion" | "dispatch" | "eventId" | "firstSendAt" | "held" | "leaseUntil" | "nextAttemptAt" | "provider" | "providerIdentifier" | "reason" | "receipt" | "receipt.created" | "receipt.identifier" | "scopeKey" | "state" | "workflowId");
4341
+ fieldPaths: "_id" | ("_creationTime" | "attempts" | "definitionVersion" | "dispatch" | "eventId" | "firstSendAt" | "held" | "historySequence" | "leaseUntil" | "nextAttemptAt" | "provider" | "providerIdentifier" | "reason" | "receipt" | "receipt.created" | "receipt.identifier" | "scopeKey" | "state" | "workflowId");
4275
4342
  indexes: {
4276
4343
  by_id: ["_id"];
4277
4344
  by_creation_time: ["_creationTime"];
@@ -4283,6 +4350,25 @@ export declare const mutation: import("convex-helpers/server/customFunctions").C
4283
4350
  searchIndexes: {};
4284
4351
  vectorIndexes: {};
4285
4352
  };
4353
+ usageProviderObservations: {
4354
+ document: {
4355
+ _creationTime: number;
4356
+ _id: import("convex/values").GenericId<"usageProviderObservations">;
4357
+ key: string;
4358
+ observationJson: string;
4359
+ scopeKey: string;
4360
+ sourceJson: string;
4361
+ startedAt: number;
4362
+ };
4363
+ fieldPaths: "_id" | ("_creationTime" | "key" | "observationJson" | "scopeKey" | "sourceJson" | "startedAt");
4364
+ indexes: {
4365
+ by_id: ["_id"];
4366
+ by_creation_time: ["_creationTime"];
4367
+ by_key: ["key", "_creationTime"];
4368
+ };
4369
+ searchIndexes: {};
4370
+ vectorIndexes: {};
4371
+ };
4286
4372
  usageReservations: {
4287
4373
  document: {
4288
4374
  _creationTime: number;
@@ -1 +1 @@
1
- {"version":3,"file":"triggers.d.ts","sourceRoot":"","sources":["../../../src/component/earnings/triggers.ts"],"names":[],"mappings":"AA6GA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kCAA0D,CAAC"}
@@ -55,7 +55,7 @@ export declare const getRefundCommandEvidence: import("convex/server").Registere
55
55
  reason: "invalid_receipt";
56
56
  refund?: undefined;
57
57
  } | {
58
- readonly reason?: undefined;
58
+ reason?: undefined;
59
59
  status: "observed";
60
60
  refund: {
61
61
  _creationTime: number;
@@ -1,4 +1,41 @@
1
1
  declare const _default: import("convex/server").SchemaDefinition<{
2
+ usageProviderObservations: import("convex/server").TableDefinition<import("convex/values").VObject<{
3
+ key: string;
4
+ observationJson: string;
5
+ scopeKey: string;
6
+ sourceJson: string;
7
+ startedAt: number;
8
+ }, {
9
+ key: import("convex/values").VString<string, "required">;
10
+ scopeKey: import("convex/values").VString<string, "required">;
11
+ sourceJson: import("convex/values").VString<string, "required">;
12
+ observationJson: import("convex/values").VString<string, "required">;
13
+ startedAt: import("convex/values").VFloat64<number, "required">;
14
+ }, "required", "key" | "observationJson" | "scopeKey" | "sourceJson" | "startedAt">, {
15
+ by_key: ["key", "_creationTime"];
16
+ }, {}, {}>;
17
+ usageDeliveryHistory: import("convex/server").TableDefinition<import("convex/values").VObject<{
18
+ attempt: number;
19
+ created?: number | undefined;
20
+ eventId: import("convex/values").GenericId<"usageEvents">;
21
+ identity: string;
22
+ phase: "accepted" | "held" | "rate_limited" | "rejected" | "resumed" | "retry_exhausted" | "started" | "unavailable" | "unknown" | "window_expired";
23
+ recordedAt: number;
24
+ scopeKey: string;
25
+ sequence: number;
26
+ }, {
27
+ scopeKey: import("convex/values").VString<string, "required">;
28
+ eventId: import("convex/values").VId<import("convex/values").GenericId<"usageEvents">, "required">;
29
+ sequence: import("convex/values").VFloat64<number, "required">;
30
+ attempt: import("convex/values").VFloat64<number, "required">;
31
+ phase: import("convex/values").VUnion<"accepted" | "held" | "rate_limited" | "rejected" | "resumed" | "retry_exhausted" | "started" | "unavailable" | "unknown" | "window_expired", [import("convex/values").VLiteral<"started", "required">, import("convex/values").VLiteral<"accepted", "required">, import("convex/values").VLiteral<"rate_limited", "required">, import("convex/values").VLiteral<"unavailable", "required">, import("convex/values").VLiteral<"unknown", "required">, import("convex/values").VLiteral<"rejected", "required">, import("convex/values").VLiteral<"held", "required">, import("convex/values").VLiteral<"resumed", "required">, import("convex/values").VLiteral<"window_expired", "required">, import("convex/values").VLiteral<"retry_exhausted", "required">], "required", never>;
32
+ identity: import("convex/values").VString<string, "required">;
33
+ recordedAt: import("convex/values").VFloat64<number, "required">;
34
+ created: import("convex/values").VFloat64<number | undefined, "optional">;
35
+ }, "required", "attempt" | "created" | "eventId" | "identity" | "phase" | "recordedAt" | "scopeKey" | "sequence">, {
36
+ by_event_identity: ["eventId", "identity", "_creationTime"];
37
+ by_event_sequence: ["eventId", "sequence", "_creationTime"];
38
+ }, {}, {}>;
2
39
  usageDeliveryLocks: import("convex/server").TableDefinition<import("convex/values").VObject<{
3
40
  eventId?: import("convex/values").GenericId<"usageEvents"> | undefined;
4
41
  key: string;
@@ -79,6 +116,7 @@ declare const _default: import("convex/server").SchemaDefinition<{
79
116
  eventId: import("convex/values").GenericId<"usageEvents">;
80
117
  firstSendAt?: number | undefined;
81
118
  held?: boolean | undefined;
119
+ historySequence?: number | undefined;
82
120
  leaseUntil?: number | undefined;
83
121
  nextAttemptAt: number;
84
122
  provider?: string | undefined;
@@ -92,6 +130,7 @@ declare const _default: import("convex/server").SchemaDefinition<{
92
130
  state: "held" | "provider_accepted" | "queued" | "rejected" | "sending" | "unknown";
93
131
  workflowId?: string | undefined;
94
132
  }, {
133
+ historySequence: import("convex/values").VFloat64<number | undefined, "optional">;
95
134
  provider: import("convex/values").VString<string | undefined, "optional">;
96
135
  workflowId: import("convex/values").VString<string | undefined, "optional">;
97
136
  definitionVersion: import("convex/values").VLiteral<1 | undefined, "optional">;
@@ -113,7 +152,7 @@ declare const _default: import("convex/server").SchemaDefinition<{
113
152
  nextAttemptAt: import("convex/values").VFloat64<number, "required">;
114
153
  providerIdentifier: import("convex/values").VString<string, "required">;
115
154
  dispatch: import("convex/values").VString<string | undefined, "optional">;
116
- }, "required", "attempts" | "definitionVersion" | "dispatch" | "eventId" | "firstSendAt" | "held" | "leaseUntil" | "nextAttemptAt" | "provider" | "providerIdentifier" | "reason" | "receipt" | "receipt.created" | "receipt.identifier" | "scopeKey" | "state" | "workflowId">, {
155
+ }, "required", "attempts" | "definitionVersion" | "dispatch" | "eventId" | "firstSendAt" | "held" | "historySequence" | "leaseUntil" | "nextAttemptAt" | "provider" | "providerIdentifier" | "reason" | "receipt" | "receipt.created" | "receipt.identifier" | "scopeKey" | "state" | "workflowId">, {
117
156
  by_event: ["eventId", "_creationTime"];
118
157
  by_provider_identifier: ["providerIdentifier", "_creationTime"];
119
158
  by_scope_state: ["scopeKey", "state", "_creationTime"];
@@ -1,3 +1,4 @@
1
+ import { historyTable as usageDeliveryHistory, observationsTable as usageProviderObservations, } from "./usageObservations/schema.js";
1
2
  import { errorsTable as usageDeliveryErrors, locksTable as usageDeliveryLocks, } from "./usageDelivery/fields.js";
2
3
  import { claimsTable as refundSyncClaimsTable } from "./refundSync/schema.js";
3
4
  import { operationsTable as processingCostReconciliationOperations } from "./processingCostReconciliation/schema.js";
@@ -28,6 +29,8 @@ import { accountsTable } from "./core/schema";
28
29
  import { pricesTable, productsTable } from "./products/schema";
29
30
  import { webhookEventsTable } from "./webhooks/schema";
30
31
  export default defineSchema({
32
+ usageProviderObservations,
33
+ usageDeliveryHistory,
31
34
  usageDeliveryLocks,
32
35
  usageDeliveryErrors,
33
36
  usageCatalog: usageCatalogTable,
@@ -1 +1 @@
1
- {"version":3,"file":"schema.js","sourceRoot":"","sources":["../../src/component/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,IAAI,mBAAmB,EAClC,UAAU,IAAI,kBAAkB,GACjC,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,WAAW,IAAI,qBAAqB,EAAE,MAAM,wBAAwB,CAAC;AAC9E,OAAO,EAAE,eAAe,IAAI,sCAAsC,EAAE,MAAM,0CAA0C,CAAC;AACrH,OAAO,EACL,eAAe,IAAI,0BAA0B,EAC7C,aAAa,IAAI,wBAAwB,GAC1C,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACL,iBAAiB,IAAI,0BAA0B,EAC/C,eAAe,IAAI,wBAAwB,EAC3C,aAAa,IAAI,sBAAsB,GACxC,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,aAAa,IAAI,yBAAyB,EAC1C,YAAY,IAAI,wBAAwB,GACzC,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,4BAA4B,EAAE,MAAM,oDAAoD,CAAC;AAClG,OAAO,EACL,yBAAyB,EACzB,oBAAoB,GACrB,MAAM,2CAA2C,CAAC;AACnD,OAAO,EACL,uBAAuB,EACvB,eAAe,EACf,2BAA2B,GAC5B,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EACL,cAAc,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a,EAAE,kBAAkB;IACjC,gBAAgB,EAAE,qBAAqB;IACvC,QAAQ,EAAE,aAAa;IAEvB,UAAU;IACV,QAAQ,EAAE,aAAa;IACvB,OAAO,EAAE,YAAY;IACrB,iBAAiB,EAAE,sBAAsB;IACzC,OAAO,EAAE,YAAY;IACrB,QAAQ,EAAE,aAAa;IACvB,SAAS,EAAE,cAAc;IACzB,mBAAmB,EAAE,wBAAwB;IAE7C,WAAW;IACX,aAAa,EAAE,kBAAkB;CAClC,CAAC,CAAC"}
@@ -61,6 +61,7 @@ export declare const usageEventsTable: import("convex/server").TableDefinition<i
61
61
  by_scope_time: ["scopeKey", "occurredAt", "_creationTime"];
62
62
  }, {}, {}>;
63
63
  export declare const outboxFields: {
64
+ historySequence: import("convex/values").VFloat64<number | undefined, "optional">;
64
65
  provider: import("convex/values").VString<string | undefined, "optional">;
65
66
  workflowId: import("convex/values").VString<string | undefined, "optional">;
66
67
  definitionVersion: import("convex/values").VLiteral<1 | undefined, "optional">;
@@ -92,6 +93,7 @@ export declare const outboxDoc: import("convex/values").VObject<{
92
93
  eventId: import("convex/values").GenericId<"usageEvents">;
93
94
  firstSendAt?: number | undefined;
94
95
  held?: boolean | undefined;
96
+ historySequence?: number | undefined;
95
97
  leaseUntil?: number | undefined;
96
98
  nextAttemptAt: number;
97
99
  provider?: string | undefined;
@@ -105,6 +107,7 @@ export declare const outboxDoc: import("convex/values").VObject<{
105
107
  state: "held" | "provider_accepted" | "queued" | "rejected" | "sending" | "unknown";
106
108
  workflowId?: string | undefined;
107
109
  }, {
110
+ historySequence: import("convex/values").VFloat64<number | undefined, "optional">;
108
111
  provider: import("convex/values").VString<string | undefined, "optional">;
109
112
  workflowId: import("convex/values").VString<string | undefined, "optional">;
110
113
  definitionVersion: import("convex/values").VLiteral<1 | undefined, "optional">;
@@ -128,7 +131,7 @@ export declare const outboxDoc: import("convex/values").VObject<{
128
131
  dispatch: import("convex/values").VString<string | undefined, "optional">;
129
132
  _id: import("convex/values").VId<import("convex/values").GenericId<"usageOutbox">, "required">;
130
133
  _creationTime: import("convex/values").VFloat64<number, "required">;
131
- }, "required", "_creationTime" | "_id" | "attempts" | "definitionVersion" | "dispatch" | "eventId" | "firstSendAt" | "held" | "leaseUntil" | "nextAttemptAt" | "provider" | "providerIdentifier" | "reason" | "receipt" | "receipt.created" | "receipt.identifier" | "scopeKey" | "state" | "workflowId">;
134
+ }, "required", "_creationTime" | "_id" | "attempts" | "definitionVersion" | "dispatch" | "eventId" | "firstSendAt" | "held" | "historySequence" | "leaseUntil" | "nextAttemptAt" | "provider" | "providerIdentifier" | "reason" | "receipt" | "receipt.created" | "receipt.identifier" | "scopeKey" | "state" | "workflowId">;
132
135
  export declare const usageOutboxTable: import("convex/server").TableDefinition<import("convex/values").VObject<{
133
136
  attempts: number;
134
137
  definitionVersion?: 1 | undefined;
@@ -136,6 +139,7 @@ export declare const usageOutboxTable: import("convex/server").TableDefinition<i
136
139
  eventId: import("convex/values").GenericId<"usageEvents">;
137
140
  firstSendAt?: number | undefined;
138
141
  held?: boolean | undefined;
142
+ historySequence?: number | undefined;
139
143
  leaseUntil?: number | undefined;
140
144
  nextAttemptAt: number;
141
145
  provider?: string | undefined;
@@ -149,6 +153,7 @@ export declare const usageOutboxTable: import("convex/server").TableDefinition<i
149
153
  state: "held" | "provider_accepted" | "queued" | "rejected" | "sending" | "unknown";
150
154
  workflowId?: string | undefined;
151
155
  }, {
156
+ historySequence: import("convex/values").VFloat64<number | undefined, "optional">;
152
157
  provider: import("convex/values").VString<string | undefined, "optional">;
153
158
  workflowId: import("convex/values").VString<string | undefined, "optional">;
154
159
  definitionVersion: import("convex/values").VLiteral<1 | undefined, "optional">;
@@ -170,7 +175,7 @@ export declare const usageOutboxTable: import("convex/server").TableDefinition<i
170
175
  nextAttemptAt: import("convex/values").VFloat64<number, "required">;
171
176
  providerIdentifier: import("convex/values").VString<string, "required">;
172
177
  dispatch: import("convex/values").VString<string | undefined, "optional">;
173
- }, "required", "attempts" | "definitionVersion" | "dispatch" | "eventId" | "firstSendAt" | "held" | "leaseUntil" | "nextAttemptAt" | "provider" | "providerIdentifier" | "reason" | "receipt" | "receipt.created" | "receipt.identifier" | "scopeKey" | "state" | "workflowId">, {
178
+ }, "required", "attempts" | "definitionVersion" | "dispatch" | "eventId" | "firstSendAt" | "held" | "historySequence" | "leaseUntil" | "nextAttemptAt" | "provider" | "providerIdentifier" | "reason" | "receipt" | "receipt.created" | "receipt.identifier" | "scopeKey" | "state" | "workflowId">, {
174
179
  by_event: ["eventId", "_creationTime"];
175
180
  by_provider_identifier: ["providerIdentifier", "_creationTime"];
176
181
  by_scope_state: ["scopeKey", "state", "_creationTime"];
@@ -1 +1 @@
1
- {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../src/component/usage/schema.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,cAAc;;;;;;;;;;8EAKzB,CAAC;AACH,eAAO,MAAM,iBAAiB,geAO7B,CAAC;AACF,eAAO,MAAM,WAAW;IACtB,aAAa;IACb,QAAQ;IACR,QAAQ;IACR,UAAU;IACV,gBAAgB;IAChB,UAAU;IACV,UAAU;CACX,CAAC;AACF,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;qJAInB,CAAC;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;UAEwB,CAAC;AACtD,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;CASxB,CAAC;AACF,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ySAIpB,CAAC;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAIoB,CAAC;AAClD,eAAO,MAAM,uBAAuB;;;;;;;;UAGF,CAAC;AAInC,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;UAWuB,CAAC"}
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../src/component/usage/schema.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,cAAc;;;;;;;;;;8EAKzB,CAAC;AACH,eAAO,MAAM,iBAAiB,geAO7B,CAAC;AACF,eAAO,MAAM,WAAW;IACtB,aAAa;IACb,QAAQ;IACR,QAAQ;IACR,UAAU;IACV,gBAAgB;IAChB,UAAU;IACV,UAAU;CACX,CAAC;AACF,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;qJAInB,CAAC;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;UAEwB,CAAC;AACtD,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;CASxB,CAAC;AACF,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6TAIpB,CAAC;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAIoB,CAAC;AAClD,eAAO,MAAM,uBAAuB;;;;;;;;UAGF,CAAC;AAInC,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;UAWuB,CAAC"}
@@ -1,6 +1,7 @@
1
1
  export declare const reason: import("convex/values").VUnion<"administrative_hold" | "delivery_window_expired" | "provider_outcome_unknown" | "provider_rejected" | "provider_unavailable" | "rate_limited" | "retry_exhausted" | "scope_busy", [import("convex/values").VLiteral<"rate_limited", "required">, import("convex/values").VLiteral<"provider_unavailable", "required">, import("convex/values").VLiteral<"provider_outcome_unknown", "required">, import("convex/values").VLiteral<"provider_rejected", "required">, import("convex/values").VLiteral<"retry_exhausted", "required">, import("convex/values").VLiteral<"delivery_window_expired", "required">, import("convex/values").VLiteral<"scope_busy", "required">, import("convex/values").VLiteral<"administrative_hold", "required">], "required", never>;
2
2
  export { usageDeliveryOutcomeValidator as outcome } from "../../client/usage/deliveryProtocol.js";
3
3
  export declare const deliveryFields: {
4
+ historySequence: import("convex/values").VFloat64<number | undefined, "optional">;
4
5
  provider: import("convex/values").VString<string | undefined, "optional">;
5
6
  workflowId: import("convex/values").VString<string | undefined, "optional">;
6
7
  definitionVersion: import("convex/values").VLiteral<1 | undefined, "optional">;
@@ -1 +1 @@
1
- {"version":3,"file":"fields.d.ts","sourceRoot":"","sources":["../../../src/component/usageDelivery/fields.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM,owBASlB,CAAC;AACF,OAAO,EAAE,6BAA6B,IAAI,OAAO,EAAE,MAAM,wCAAwC,CAAC;AAClG,eAAO,MAAM,cAAc;IACzB,QAAQ;IACR,UAAU;IACV,iBAAiB;IACjB,WAAW;IACX,UAAU;IACV,IAAI;IACJ,MAAM;IACN,OAAO;;;;;;;CAGR,CAAC;AACF,eAAO,MAAM,UAAU;;;;;;;;;;;;UAKI,CAAC;AAE5B,eAAO,MAAM,SAAS,i9BAUrB,CAAC;AACF,eAAO,MAAM,WAAW;IACtB,QAAQ;IACR,OAAO;IACP,eAAe;IACf,IAAI;IACJ,UAAU;IACV,MAAM;CACP,CAAC;AACF,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;uHAInB,CAAC;AACH,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;UAES,CAAC"}
1
+ {"version":3,"file":"fields.d.ts","sourceRoot":"","sources":["../../../src/component/usageDelivery/fields.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM,owBASlB,CAAC;AACF,OAAO,EAAE,6BAA6B,IAAI,OAAO,EAAE,MAAM,wCAAwC,CAAC;AAClG,eAAO,MAAM,cAAc;IACzB,eAAe;IACf,QAAQ;IACR,UAAU;IACV,iBAAiB;IACjB,WAAW;IACX,UAAU;IACV,IAAI;IACJ,MAAM;IACN,OAAO;;;;;;;CAGR,CAAC;AACF,eAAO,MAAM,UAAU;;;;;;;;;;;;UAKI,CAAC;AAE5B,eAAO,MAAM,SAAS,i9BAUrB,CAAC;AACF,eAAO,MAAM,WAAW;IACtB,QAAQ;IACR,OAAO;IACP,eAAe;IACf,IAAI;IACJ,UAAU;IACV,MAAM;CACP,CAAC;AACF,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;uHAInB,CAAC;AACH,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;UAES,CAAC"}
@@ -3,6 +3,7 @@ import { v } from "convex/values";
3
3
  export const reason = v.union(v.literal("rate_limited"), v.literal("provider_unavailable"), v.literal("provider_outcome_unknown"), v.literal("provider_rejected"), v.literal("retry_exhausted"), v.literal("delivery_window_expired"), v.literal("scope_busy"), v.literal("administrative_hold"));
4
4
  export { usageDeliveryOutcomeValidator as outcome } from "../../client/usage/deliveryProtocol.js";
5
5
  export const deliveryFields = {
6
+ historySequence: v.optional(v.number()),
6
7
  provider: v.optional(v.string()),
7
8
  workflowId: v.optional(v.string()),
8
9
  definitionVersion: v.optional(v.literal(1)),
@@ -1 +1 @@
1
- {"version":3,"file":"fields.js","sourceRoot":"","sources":["../../../src/component/usageDelivery/fields.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAClC,MAAM,CAAC,MAAM,MAAM,GAAG,CAAC,CAAC,KAAK,CAC3B,CAAC,CAAC,OAAO,CAAC,cAAc,CAAC,EACzB,CAAC,CAAC,OAAO,CAAC,sBAAsB,CAAC,EACjC,CAAC,CAAC,OAAO,CAAC,0BAA0B,CAAC,EACrC,CAAC,CAAC,OAAO,CAAC,mBAAmB,CAAC,EAC9B,CAAC,CAAC,OAAO,CAAC,iBAAiB,CAAC,EAC5B,CAAC,CAAC,OAAO,CAAC,yBAAyB,CAAC,EACpC,CAAC,CAAC,OAAO,CAAC,YAAY,CAAC,EACvB,CAAC,CAAC,OAAO,CAAC,qBAAqB,CAAC,CACjC,CAAC;AACF,OAAO,EAAE,6BAA6B,IAAI,OAAO,EAAE,MAAM,wCAAwC,CAAC;AAClG,MAAM,CAAC,MAAM,cAAc,GAAG;IAC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H,MAAM,CAAC,MAAM,WAAW,GAAG,WAAW,CAAC,WAAW,CAAC;KAChD,KAAK,CAAC,WAAW,EAAE,CAAC,QAAQ,CAAC,CAAC;KAC9B,KAAK,CAAC,UAAU,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC"}
@@ -25,6 +25,7 @@ export declare function read(ctx: QueryCtx, args: {
25
25
  eventId: import("convex/values").GenericId<"usageEvents">;
26
26
  firstSendAt?: number | undefined;
27
27
  held?: boolean | undefined;
28
+ historySequence?: number | undefined;
28
29
  leaseUntil?: number | undefined;
29
30
  nextAttemptAt: number;
30
31
  provider?: string | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../src/component/usageDelivery/helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AACxD,OAAO,KAAK,EAAE,GAAG,EAAE,EAAE,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,KAAK,EACV,UAAU,EACV,mBAAmB,EACpB,MAAM,+BAA+B,CAAC;AAEvC,wBAAsB,IAAI,CACxB,GAAG,EAAE,QAAQ,EACb,IAAI,EAAE;IAAE,KAAK,EAAE,UAAU,CAAC;IAAC,OAAO,EAAE,EAAE,CAAC,aAAa,CAAC,CAAA;CAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAab,mBAAmB;GAE9D;AACD,wBAAgB,QAAQ,CAAC,MAAM,EAAE,GAAG,CAAC,aAAa,CAAC;IAE/C,gBAAgB,EAAQ,KAAK,CAAC;QAC5B,eAAe,EAAE,MAAM,CAAC;QACxB,IAAI,EAAE,OAAO,eAAe,EAAE,KAAK,CACjC,cAAc,aAAa,EAAE,SAAS,CACvC,CAAC;QACF,UAAU,EAAE,MAAM,CAAC;KACpB,CAAC;IACF,yBAAyB;IACzB,OAAO;IACP,KAAK;IACL,QAAQ;IACR,IAAI;IACJ,MAAM;IACN,kBAAkB;IAClB,OA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file":"mutations.d.ts","sourceRoot":"","sources":["../../../src/component/usageDelivery/mutations.ts"],"names":[],"mappings":"AAiDA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsBhB,CAAC;AACH,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;GAaf,CAAC;AACH,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;GAwBjB,CAAC;AAEH,8EAA8E;AAC9E,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;GAuE5B,CAAC"}
1
+ {"version":3,"file":"mutations.d.ts","sourceRoot":"","sources":["../../../src/component/usageDelivery/mutations.ts"],"names":[],"mappings":"AAkDA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsBhB,CAAC;AACH,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;GAqBf,CAAC;AACH,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;GAwCjB,CAAC;AAEH,8EAA8E;AAC9E,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;GAuE5B,CAAC"}