@fantastic.dev/better-stripe 0.92.0 → 0.93.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 (84) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/README.md +1 -1
  3. package/dist/client/billing/renewalAttach/internal/producer/classOwnedActionRoot.d.ts +30 -0
  4. package/dist/client/billing/renewalAttach/internal/producer/classOwnedActionRoot.d.ts.map +1 -0
  5. package/dist/client/billing/renewalAttach/internal/producer/classOwnedActionRoot.js +113 -0
  6. package/dist/client/billing/renewalAttach/internal/producer/classOwnedActionRoot.js.map +1 -0
  7. package/dist/client/connect/payoutAdoptionTestHelpers.d.ts +594 -32
  8. package/dist/client/connect/payoutAdoptionTestHelpers.d.ts.map +1 -1
  9. package/dist/client/connect/payoutExecutionTestHelpers.d.ts +281 -0
  10. package/dist/client/connect/payoutExecutionTestHelpers.d.ts.map +1 -1
  11. package/dist/client/connect/payoutLargeAdoptionTestHelpers.d.ts +594 -32
  12. package/dist/client/connect/payoutLargeAdoptionTestHelpers.d.ts.map +1 -1
  13. package/dist/client/connect/payoutSyncTestHelpers.d.ts +281 -0
  14. package/dist/client/connect/payoutSyncTestHelpers.d.ts.map +1 -1
  15. package/dist/client/index.d.ts +3 -2
  16. package/dist/client/index.d.ts.map +1 -1
  17. package/dist/client/index.js +16 -3
  18. package/dist/client/index.js.map +1 -1
  19. package/dist/component/_generated/api.d.ts +6 -0
  20. package/dist/component/_generated/api.d.ts.map +1 -1
  21. package/dist/component/_generated/api.js.map +1 -1
  22. package/dist/component/_generated/component.d.ts +406 -0
  23. package/dist/component/_generated/component.d.ts.map +1 -1
  24. package/dist/component/balanceFunding/mutations.d.ts +16 -16
  25. package/dist/component/balanceFunding/preparationHandlers.d.ts +8 -8
  26. package/dist/component/balanceFunding/workflowValidators.d.ts +16 -16
  27. package/dist/component/earnings/triggers.d.ts +294 -0
  28. package/dist/component/earnings/triggers.d.ts.map +1 -1
  29. package/dist/component/financialObservations/settlementHelpers.d.ts +3 -3
  30. package/dist/component/renewalOperations/helpers.d.ts +236 -0
  31. package/dist/component/renewalOperations/helpers.d.ts.map +1 -0
  32. package/dist/component/renewalOperations/helpers.js +457 -0
  33. package/dist/component/renewalOperations/helpers.js.map +1 -0
  34. package/dist/component/renewalOperations/mutations.d.ts +252 -0
  35. package/dist/component/renewalOperations/mutations.d.ts.map +1 -0
  36. package/dist/component/renewalOperations/mutations.js +340 -0
  37. package/dist/component/renewalOperations/mutations.js.map +1 -0
  38. package/dist/component/renewalOperations/queries.d.ts +163 -0
  39. package/dist/component/renewalOperations/queries.d.ts.map +1 -0
  40. package/dist/component/renewalOperations/queries.js +167 -0
  41. package/dist/component/renewalOperations/queries.js.map +1 -0
  42. package/dist/component/renewalOperations/schema.d.ts +1988 -0
  43. package/dist/component/renewalOperations/schema.d.ts.map +1 -0
  44. package/dist/component/renewalOperations/schema.js +227 -0
  45. package/dist/component/renewalOperations/schema.js.map +1 -0
  46. package/dist/component/schema.d.ts +281 -0
  47. package/dist/component/schema.js +5 -0
  48. package/dist/component/schema.js.map +1 -1
  49. package/dist/component/usage/allowance.fixtures.d.ts +281 -0
  50. package/dist/component/usage/allowance.fixtures.d.ts.map +1 -1
  51. package/dist/component/usageCredits/accounting.fixtures.d.ts +297 -16
  52. package/dist/component/usageCredits/accounting.fixtures.d.ts.map +1 -1
  53. package/dist/shared/renewalOperationJournal.d.ts +43 -0
  54. package/dist/shared/renewalOperationJournal.d.ts.map +1 -0
  55. package/dist/shared/renewalOperationJournal.js +294 -0
  56. package/dist/shared/renewalOperationJournal.js.map +1 -0
  57. package/docs/renewal-context-reads.md +152 -0
  58. package/package.json +1 -1
  59. package/src/client/billing/renewalAttach/internal/operationJournal.integration.test.ts +380 -0
  60. package/src/client/billing/renewalAttach/internal/producer/classOwnedActionRoot.ts +155 -0
  61. package/src/client/index.ts +24 -3
  62. package/src/component/_generated/api.ts +6 -0
  63. package/src/component/_generated/component.ts +450 -0
  64. package/src/component/renewalOperations/acknowledgement.fixtures.ts +552 -0
  65. package/src/component/renewalOperations/acknowledgement.test.ts +573 -0
  66. package/src/component/renewalOperations/acknowledgementReads.test.ts +442 -0
  67. package/src/component/renewalOperations/acknowledgementV2.test.ts +493 -0
  68. package/src/component/renewalOperations/acknowledgementV2Publication.test.ts +373 -0
  69. package/src/component/renewalOperations/basisBinding.test.ts +567 -0
  70. package/src/component/renewalOperations/basisLifecycle.test.ts +569 -0
  71. package/src/component/renewalOperations/boundHistory.test.ts +474 -0
  72. package/src/component/renewalOperations/helpers.ts +592 -0
  73. package/src/component/renewalOperations/historyReads.test.ts +595 -0
  74. package/src/component/renewalOperations/initialBasis.test.ts +578 -0
  75. package/src/component/renewalOperations/journal.test.ts +567 -0
  76. package/src/component/renewalOperations/mutations.ts +456 -0
  77. package/src/component/renewalOperations/payload.test.ts +589 -0
  78. package/src/component/renewalOperations/payloadEncoding.test.ts +592 -0
  79. package/src/component/renewalOperations/queries.ts +204 -0
  80. package/src/component/renewalOperations/schema.ts +268 -0
  81. package/src/component/renewalOperations/timingPolicy.fixtures.ts +193 -0
  82. package/src/component/renewalOperations/timingPolicy.test.ts +523 -0
  83. package/src/component/schema.ts +11 -0
  84. package/src/shared/renewalOperationJournal.ts +333 -0
@@ -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;
@@ -2,6 +2,14 @@ import type { Infer } from "convex/values";
2
2
  import type { MutationCtx } from "../_generated/server.js";
3
3
  import { prepareArgs, finishPreparationArgs } from "./mutationValidators.js";
4
4
  export declare function prepareHandler(ctx: MutationCtx, args: Infer<typeof prepareArgs>): Promise<{
5
+ reason: "identity_changed" | "revision_changed" | "scope_busy";
6
+ retryable: false;
7
+ status: "conflict";
8
+ } | {
9
+ reason: "policy_invalid";
10
+ retryable: false;
11
+ status: "rejected";
12
+ } | {
5
13
  operation: {
6
14
  accountId: string;
7
15
  operationId: import("convex/values").GenericId<"balanceFundingOperations">;
@@ -12,14 +20,6 @@ export declare function prepareHandler(ctx: MutationCtx, args: Infer<typeof prep
12
20
  } | {
13
21
  enabled: boolean;
14
22
  status: "unchanged";
15
- } | {
16
- reason: "identity_changed" | "revision_changed" | "scope_busy";
17
- retryable: false;
18
- status: "conflict";
19
- } | {
20
- reason: "policy_invalid";
21
- retryable: false;
22
- status: "rejected";
23
23
  } | {
24
24
  reason: "provider_pending";
25
25
  retryable: true;
@@ -60,6 +60,22 @@ export declare const phaseRef: import("convex/values").VObject<{
60
60
  }, "required", "accountId" | "definitionVersion" | "operationId" | "phase" | "providerApiVersion" | "providerKey" | "scopeKey" | "stripeSubscriptionId" | "version">;
61
61
  export type FundingPhaseRef = Infer<typeof phaseRef>;
62
62
  export declare const workflowStartResult: import("convex/values").VUnion<{
63
+ reason: "history_incomplete" | "provider_outcome_unknown";
64
+ retryable: false;
65
+ status: "unknown";
66
+ } | {
67
+ reason: "identity_changed" | "revision_changed" | "scope_busy";
68
+ retryable: false;
69
+ status: "conflict";
70
+ } | {
71
+ reason: "invalid_scope" | "policy_invalid" | "unsupported_source";
72
+ retryable: false;
73
+ status: "rejected";
74
+ } | {
75
+ reason: "provider_pending";
76
+ retryable: true;
77
+ status: "not_ready";
78
+ } | {
63
79
  operation: {
64
80
  accountId: string;
65
81
  operationId: import("convex/values").GenericId<"balanceFundingOperations">;
@@ -76,22 +92,6 @@ export declare const workflowStartResult: import("convex/values").VUnion<{
76
92
  version: number;
77
93
  };
78
94
  status: "canceled";
79
- } | {
80
- reason: "history_incomplete" | "provider_outcome_unknown";
81
- retryable: false;
82
- status: "unknown";
83
- } | {
84
- reason: "identity_changed" | "revision_changed" | "scope_busy";
85
- retryable: false;
86
- status: "conflict";
87
- } | {
88
- reason: "invalid_scope" | "policy_invalid" | "unsupported_source";
89
- retryable: false;
90
- status: "rejected";
91
- } | {
92
- reason: "provider_pending";
93
- retryable: true;
94
- status: "not_ready";
95
95
  }, [import("convex/values").VObject<{
96
96
  operation: {
97
97
  accountId: string;
@@ -2005,6 +2005,153 @@ export declare const mutation: import("convex-helpers/server/customFunctions").C
2005
2005
  searchIndexes: {};
2006
2006
  vectorIndexes: {};
2007
2007
  };
2008
+ renewalOperationAttempts: {
2009
+ document: {
2010
+ _creationTime: number;
2011
+ _id: import("convex/values").GenericId<"renewalOperationAttempts">;
2012
+ accountJSON: string;
2013
+ apiVersion: string;
2014
+ authorizationId: string;
2015
+ authorizationRevision: number;
2016
+ authorizationScope: string;
2017
+ basisJSON: string;
2018
+ committedRevision: 1;
2019
+ firstDispatchedAt: number;
2020
+ key: string;
2021
+ lastSequence: 0 | 1 | 2 | 3;
2022
+ logicalOperationId: string;
2023
+ operationId: import("convex/values").GenericId<"renewalOperations">;
2024
+ ordinal: 1;
2025
+ payloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
2026
+ preparedRevision: 0;
2027
+ requestBinding: string;
2028
+ stage: "attach" | "configure";
2029
+ } | {
2030
+ _creationTime: number;
2031
+ _id: import("convex/values").GenericId<"renewalOperationAttempts">;
2032
+ accountJSON: string;
2033
+ apiVersion: string;
2034
+ authorizationId: string;
2035
+ authorizationRevision: number;
2036
+ authorizationScope: string;
2037
+ committedRevision: 1;
2038
+ firstDispatchedAt: number;
2039
+ key: string;
2040
+ lastSequence: 0 | 1 | 2 | 3;
2041
+ logicalOperationId: string;
2042
+ operationId: import("convex/values").GenericId<"renewalOperations">;
2043
+ ordinal: 1;
2044
+ payloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
2045
+ preparedRevision: 0;
2046
+ recordVersion: 2;
2047
+ requestBinding: string;
2048
+ stage: "attach";
2049
+ timingPolicyJSON: string;
2050
+ };
2051
+ fieldPaths: "_id" | ("_creationTime" | "accountJSON" | "apiVersion" | "authorizationId" | "authorizationRevision" | "authorizationScope" | "basisJSON" | "committedRevision" | "firstDispatchedAt" | "key" | "lastSequence" | "logicalOperationId" | "operationId" | "ordinal" | "payloadId" | "preparedRevision" | "recordVersion" | "requestBinding" | "stage" | "timingPolicyJSON");
2052
+ indexes: {
2053
+ by_id: ["_id"];
2054
+ by_creation_time: ["_creationTime"];
2055
+ by_operationId: ["operationId", "_creationTime"];
2056
+ };
2057
+ searchIndexes: {};
2058
+ vectorIndexes: {};
2059
+ };
2060
+ renewalOperationEvents: {
2061
+ document: {
2062
+ _creationTime: number;
2063
+ _id: import("convex/values").GenericId<"renewalOperationEvents">;
2064
+ attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
2065
+ binding: string;
2066
+ operationId: import("convex/values").GenericId<"renewalOperations">;
2067
+ payloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
2068
+ sequence: 1 | 2 | 3;
2069
+ sourcePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
2070
+ stage: "attach" | "configure";
2071
+ };
2072
+ fieldPaths: "_id" | ("_creationTime" | "attemptId" | "binding" | "operationId" | "payloadId" | "sequence" | "sourcePayloadId" | "stage");
2073
+ indexes: {
2074
+ by_id: ["_id"];
2075
+ by_creation_time: ["_creationTime"];
2076
+ by_attemptId_and_sequence: ["attemptId", "sequence", "_creationTime"];
2077
+ };
2078
+ searchIndexes: {};
2079
+ vectorIndexes: {};
2080
+ };
2081
+ renewalOperationPayloads: {
2082
+ document: {
2083
+ _creationTime: number;
2084
+ _id: import("convex/values").GenericId<"renewalOperationPayloads">;
2085
+ codecVersion: 1;
2086
+ json: string;
2087
+ owner?: {
2088
+ kind: "operation";
2089
+ operationId: import("convex/values").GenericId<"renewalOperations">;
2090
+ } | {
2091
+ attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
2092
+ kind: "event";
2093
+ operationId: import("convex/values").GenericId<"renewalOperations">;
2094
+ sequence: 1 | 2 | 3;
2095
+ stage: "attach" | "configure";
2096
+ } | {
2097
+ attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
2098
+ kind: "receipt";
2099
+ operationId: import("convex/values").GenericId<"renewalOperations">;
2100
+ stage: "attach" | "configure";
2101
+ } | undefined;
2102
+ };
2103
+ fieldPaths: "_id" | ("_creationTime" | "codecVersion" | "json" | "owner" | "owner.attemptId" | "owner.kind" | "owner.operationId" | "owner.sequence" | "owner.stage");
2104
+ indexes: {
2105
+ by_id: ["_id"];
2106
+ by_creation_time: ["_creationTime"];
2107
+ };
2108
+ searchIndexes: {};
2109
+ vectorIndexes: {};
2110
+ };
2111
+ renewalOperations: {
2112
+ document: {
2113
+ _creationTime: number;
2114
+ _id: import("convex/values").GenericId<"renewalOperations">;
2115
+ activeAttemptId?: import("convex/values").GenericId<"renewalOperationAttempts"> | undefined;
2116
+ authorizationId: string;
2117
+ authorizationRevision: number;
2118
+ authorizationScope: string;
2119
+ initialBasis?: {
2120
+ attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
2121
+ basisJSON: string;
2122
+ policyJSON: string;
2123
+ sourcePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
2124
+ stage: "attach";
2125
+ version: 1;
2126
+ } | undefined;
2127
+ knownAcknowledgement?: {
2128
+ attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
2129
+ dispatchEventId: import("convex/values").GenericId<"renewalOperationEvents">;
2130
+ dispatchPayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
2131
+ receiptBinding: string;
2132
+ receiptPayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
2133
+ responseEventId: import("convex/values").GenericId<"renewalOperationEvents">;
2134
+ responsePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
2135
+ schemaVersion: 1;
2136
+ sourcePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
2137
+ stage: "attach";
2138
+ } | undefined;
2139
+ logicalOperationId: string;
2140
+ payloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
2141
+ recordVersion?: 2 | undefined;
2142
+ requestBinding: string;
2143
+ revision: 0 | 1;
2144
+ state: "PREPARED" | "RESERVED";
2145
+ };
2146
+ fieldPaths: "_id" | ("_creationTime" | "activeAttemptId" | "authorizationId" | "authorizationRevision" | "authorizationScope" | "initialBasis" | "initialBasis.attemptId" | "initialBasis.basisJSON" | "initialBasis.policyJSON" | "initialBasis.sourcePayloadId" | "initialBasis.stage" | "initialBasis.version" | "knownAcknowledgement" | "knownAcknowledgement.attemptId" | "knownAcknowledgement.dispatchEventId" | "knownAcknowledgement.dispatchPayloadId" | "knownAcknowledgement.receiptBinding" | "knownAcknowledgement.receiptPayloadId" | "knownAcknowledgement.responseEventId" | "knownAcknowledgement.responsePayloadId" | "knownAcknowledgement.schemaVersion" | "knownAcknowledgement.sourcePayloadId" | "knownAcknowledgement.stage" | "logicalOperationId" | "payloadId" | "recordVersion" | "requestBinding" | "revision" | "state");
2147
+ indexes: {
2148
+ by_id: ["_id"];
2149
+ by_creation_time: ["_creationTime"];
2150
+ by_authorizationScope_and_logicalOperationId: ["authorizationScope", "logicalOperationId", "_creationTime"];
2151
+ };
2152
+ searchIndexes: {};
2153
+ vectorIndexes: {};
2154
+ };
2008
2155
  reversalObservationPayloads: {
2009
2156
  document: {
2010
2157
  _creationTime: number;
@@ -4903,6 +5050,153 @@ export declare const mutation: import("convex-helpers/server/customFunctions").C
4903
5050
  searchIndexes: {};
4904
5051
  vectorIndexes: {};
4905
5052
  };
5053
+ renewalOperationAttempts: {
5054
+ document: {
5055
+ _creationTime: number;
5056
+ _id: import("convex/values").GenericId<"renewalOperationAttempts">;
5057
+ accountJSON: string;
5058
+ apiVersion: string;
5059
+ authorizationId: string;
5060
+ authorizationRevision: number;
5061
+ authorizationScope: string;
5062
+ basisJSON: string;
5063
+ committedRevision: 1;
5064
+ firstDispatchedAt: number;
5065
+ key: string;
5066
+ lastSequence: 0 | 1 | 2 | 3;
5067
+ logicalOperationId: string;
5068
+ operationId: import("convex/values").GenericId<"renewalOperations">;
5069
+ ordinal: 1;
5070
+ payloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
5071
+ preparedRevision: 0;
5072
+ requestBinding: string;
5073
+ stage: "attach" | "configure";
5074
+ } | {
5075
+ _creationTime: number;
5076
+ _id: import("convex/values").GenericId<"renewalOperationAttempts">;
5077
+ accountJSON: string;
5078
+ apiVersion: string;
5079
+ authorizationId: string;
5080
+ authorizationRevision: number;
5081
+ authorizationScope: string;
5082
+ committedRevision: 1;
5083
+ firstDispatchedAt: number;
5084
+ key: string;
5085
+ lastSequence: 0 | 1 | 2 | 3;
5086
+ logicalOperationId: string;
5087
+ operationId: import("convex/values").GenericId<"renewalOperations">;
5088
+ ordinal: 1;
5089
+ payloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
5090
+ preparedRevision: 0;
5091
+ recordVersion: 2;
5092
+ requestBinding: string;
5093
+ stage: "attach";
5094
+ timingPolicyJSON: string;
5095
+ };
5096
+ fieldPaths: "_id" | ("_creationTime" | "accountJSON" | "apiVersion" | "authorizationId" | "authorizationRevision" | "authorizationScope" | "basisJSON" | "committedRevision" | "firstDispatchedAt" | "key" | "lastSequence" | "logicalOperationId" | "operationId" | "ordinal" | "payloadId" | "preparedRevision" | "recordVersion" | "requestBinding" | "stage" | "timingPolicyJSON");
5097
+ indexes: {
5098
+ by_id: ["_id"];
5099
+ by_creation_time: ["_creationTime"];
5100
+ by_operationId: ["operationId", "_creationTime"];
5101
+ };
5102
+ searchIndexes: {};
5103
+ vectorIndexes: {};
5104
+ };
5105
+ renewalOperationEvents: {
5106
+ document: {
5107
+ _creationTime: number;
5108
+ _id: import("convex/values").GenericId<"renewalOperationEvents">;
5109
+ attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
5110
+ binding: string;
5111
+ operationId: import("convex/values").GenericId<"renewalOperations">;
5112
+ payloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
5113
+ sequence: 1 | 2 | 3;
5114
+ sourcePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
5115
+ stage: "attach" | "configure";
5116
+ };
5117
+ fieldPaths: "_id" | ("_creationTime" | "attemptId" | "binding" | "operationId" | "payloadId" | "sequence" | "sourcePayloadId" | "stage");
5118
+ indexes: {
5119
+ by_id: ["_id"];
5120
+ by_creation_time: ["_creationTime"];
5121
+ by_attemptId_and_sequence: ["attemptId", "sequence", "_creationTime"];
5122
+ };
5123
+ searchIndexes: {};
5124
+ vectorIndexes: {};
5125
+ };
5126
+ renewalOperationPayloads: {
5127
+ document: {
5128
+ _creationTime: number;
5129
+ _id: import("convex/values").GenericId<"renewalOperationPayloads">;
5130
+ codecVersion: 1;
5131
+ json: string;
5132
+ owner?: {
5133
+ kind: "operation";
5134
+ operationId: import("convex/values").GenericId<"renewalOperations">;
5135
+ } | {
5136
+ attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
5137
+ kind: "event";
5138
+ operationId: import("convex/values").GenericId<"renewalOperations">;
5139
+ sequence: 1 | 2 | 3;
5140
+ stage: "attach" | "configure";
5141
+ } | {
5142
+ attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
5143
+ kind: "receipt";
5144
+ operationId: import("convex/values").GenericId<"renewalOperations">;
5145
+ stage: "attach" | "configure";
5146
+ } | undefined;
5147
+ };
5148
+ fieldPaths: "_id" | ("_creationTime" | "codecVersion" | "json" | "owner" | "owner.attemptId" | "owner.kind" | "owner.operationId" | "owner.sequence" | "owner.stage");
5149
+ indexes: {
5150
+ by_id: ["_id"];
5151
+ by_creation_time: ["_creationTime"];
5152
+ };
5153
+ searchIndexes: {};
5154
+ vectorIndexes: {};
5155
+ };
5156
+ renewalOperations: {
5157
+ document: {
5158
+ _creationTime: number;
5159
+ _id: import("convex/values").GenericId<"renewalOperations">;
5160
+ activeAttemptId?: import("convex/values").GenericId<"renewalOperationAttempts"> | undefined;
5161
+ authorizationId: string;
5162
+ authorizationRevision: number;
5163
+ authorizationScope: string;
5164
+ initialBasis?: {
5165
+ attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
5166
+ basisJSON: string;
5167
+ policyJSON: string;
5168
+ sourcePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
5169
+ stage: "attach";
5170
+ version: 1;
5171
+ } | undefined;
5172
+ knownAcknowledgement?: {
5173
+ attemptId: import("convex/values").GenericId<"renewalOperationAttempts">;
5174
+ dispatchEventId: import("convex/values").GenericId<"renewalOperationEvents">;
5175
+ dispatchPayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
5176
+ receiptBinding: string;
5177
+ receiptPayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
5178
+ responseEventId: import("convex/values").GenericId<"renewalOperationEvents">;
5179
+ responsePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
5180
+ schemaVersion: 1;
5181
+ sourcePayloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
5182
+ stage: "attach";
5183
+ } | undefined;
5184
+ logicalOperationId: string;
5185
+ payloadId: import("convex/values").GenericId<"renewalOperationPayloads">;
5186
+ recordVersion?: 2 | undefined;
5187
+ requestBinding: string;
5188
+ revision: 0 | 1;
5189
+ state: "PREPARED" | "RESERVED";
5190
+ };
5191
+ fieldPaths: "_id" | ("_creationTime" | "activeAttemptId" | "authorizationId" | "authorizationRevision" | "authorizationScope" | "initialBasis" | "initialBasis.attemptId" | "initialBasis.basisJSON" | "initialBasis.policyJSON" | "initialBasis.sourcePayloadId" | "initialBasis.stage" | "initialBasis.version" | "knownAcknowledgement" | "knownAcknowledgement.attemptId" | "knownAcknowledgement.dispatchEventId" | "knownAcknowledgement.dispatchPayloadId" | "knownAcknowledgement.receiptBinding" | "knownAcknowledgement.receiptPayloadId" | "knownAcknowledgement.responseEventId" | "knownAcknowledgement.responsePayloadId" | "knownAcknowledgement.schemaVersion" | "knownAcknowledgement.sourcePayloadId" | "knownAcknowledgement.stage" | "logicalOperationId" | "payloadId" | "recordVersion" | "requestBinding" | "revision" | "state");
5192
+ indexes: {
5193
+ by_id: ["_id"];
5194
+ by_creation_time: ["_creationTime"];
5195
+ by_authorizationScope_and_logicalOperationId: ["authorizationScope", "logicalOperationId", "_creationTime"];
5196
+ };
5197
+ searchIndexes: {};
5198
+ vectorIndexes: {};
5199
+ };
4906
5200
  reversalObservationPayloads: {
4907
5201
  document: {
4908
5202
  _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"}
@@ -9,9 +9,9 @@ export declare function legOwnership(ctx: MutationCtx, bucketKey: string, prior:
9
9
  orgId: string | undefined;
10
10
  ownershipStatus: "ambiguous";
11
11
  } | {
12
+ registrationId?: undefined;
12
13
  userId?: undefined;
13
14
  orgId?: undefined;
14
- registrationId?: undefined;
15
15
  ownershipStatus: "ambiguous";
16
16
  } | {
17
17
  registrationId: import("convex/values").GenericId<"financialOwnership">;
@@ -19,9 +19,9 @@ export declare function legOwnership(ctx: MutationCtx, bucketKey: string, prior:
19
19
  orgId: string | undefined;
20
20
  ownershipStatus: "unknown";
21
21
  } | {
22
+ registrationId?: undefined;
22
23
  userId?: undefined;
23
24
  orgId?: undefined;
24
- registrationId?: undefined;
25
25
  ownershipStatus: "unknown";
26
26
  } | {
27
27
  registrationId: import("convex/values").GenericId<"financialOwnership">;
@@ -29,9 +29,9 @@ export declare function legOwnership(ctx: MutationCtx, bucketKey: string, prior:
29
29
  orgId: string | undefined;
30
30
  ownershipStatus: "contradictory";
31
31
  } | {
32
+ registrationId?: undefined;
32
33
  userId?: undefined;
33
34
  orgId?: undefined;
34
- registrationId?: undefined;
35
35
  ownershipStatus: "contradictory";
36
36
  } | {
37
37
  registrationId: import("convex/values").GenericId<"financialOwnership">;