@fantastic.dev/better-stripe 0.40.0 → 0.41.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 (98) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/README.md +1 -1
  3. package/dist/client/connect/payoutAdoptionTestHelpers.d.ts +442 -0
  4. package/dist/client/connect/payoutAdoptionTestHelpers.d.ts.map +1 -1
  5. package/dist/client/connect/payoutExecutionTestHelpers.d.ts +237 -16
  6. package/dist/client/connect/payoutExecutionTestHelpers.d.ts.map +1 -1
  7. package/dist/client/connect/payoutLargeAdoptionTestHelpers.d.ts +442 -0
  8. package/dist/client/connect/payoutLargeAdoptionTestHelpers.d.ts.map +1 -1
  9. package/dist/client/connect/payoutSyncTestHelpers.d.ts +237 -16
  10. package/dist/client/connect/payoutSyncTestHelpers.d.ts.map +1 -1
  11. package/dist/client/costRecovery-invoices.d.ts +2 -2
  12. package/dist/client/costRecovery-invoices.d.ts.map +1 -1
  13. package/dist/client/costRecovery-invoices.js +4 -1
  14. package/dist/client/costRecovery-invoices.js.map +1 -1
  15. package/dist/client/costRecovery.d.ts +5 -2
  16. package/dist/client/costRecovery.d.ts.map +1 -1
  17. package/dist/client/costRecovery.js +3 -1
  18. package/dist/client/costRecovery.js.map +1 -1
  19. package/dist/client/recoveryWorkflow/client.d.ts +14 -0
  20. package/dist/client/recoveryWorkflow/client.d.ts.map +1 -0
  21. package/dist/client/recoveryWorkflow/client.js +34 -0
  22. package/dist/client/recoveryWorkflow/client.js.map +1 -0
  23. package/dist/client/recoveryWorkflow/contracts.d.ts +63 -0
  24. package/dist/client/recoveryWorkflow/contracts.d.ts.map +1 -0
  25. package/dist/client/recoveryWorkflow/contracts.js +11 -0
  26. package/dist/client/recoveryWorkflow/contracts.js.map +1 -0
  27. package/dist/client/recoveryWorkflow/provider.d.ts +10 -0
  28. package/dist/client/recoveryWorkflow/provider.d.ts.map +1 -0
  29. package/dist/client/recoveryWorkflow/provider.js +80 -0
  30. package/dist/client/recoveryWorkflow/provider.js.map +1 -0
  31. package/dist/client/recoveryWorkflow/settlement.d.ts +6 -0
  32. package/dist/client/recoveryWorkflow/settlement.d.ts.map +1 -0
  33. package/dist/client/recoveryWorkflow/settlement.js +43 -0
  34. package/dist/client/recoveryWorkflow/settlement.js.map +1 -0
  35. package/dist/component/_generated/api.d.ts +12 -0
  36. package/dist/component/_generated/api.d.ts.map +1 -1
  37. package/dist/component/_generated/api.js.map +1 -1
  38. package/dist/component/_generated/component.d.ts +164 -0
  39. package/dist/component/_generated/component.d.ts.map +1 -1
  40. package/dist/component/balanceFunding/mutations.d.ts +16 -16
  41. package/dist/component/balanceFunding/stateHandlers.d.ts +8 -8
  42. package/dist/component/earnings/triggers.d.ts +210 -16
  43. package/dist/component/earnings/triggers.d.ts.map +1 -1
  44. package/dist/component/payoutRelease/queries.d.ts +2 -2
  45. package/dist/component/payoutRelease/queries.d.ts.map +1 -1
  46. package/dist/component/recoveryWorkflow/bridge.d.ts +21 -0
  47. package/dist/component/recoveryWorkflow/bridge.d.ts.map +1 -0
  48. package/dist/component/recoveryWorkflow/bridge.js +52 -0
  49. package/dist/component/recoveryWorkflow/bridge.js.map +1 -0
  50. package/dist/component/recoveryWorkflow/helpers.d.ts +83 -0
  51. package/dist/component/recoveryWorkflow/helpers.d.ts.map +1 -0
  52. package/dist/component/recoveryWorkflow/helpers.js +48 -0
  53. package/dist/component/recoveryWorkflow/helpers.js.map +1 -0
  54. package/dist/component/recoveryWorkflow/mutations.d.ts +91 -0
  55. package/dist/component/recoveryWorkflow/mutations.d.ts.map +1 -0
  56. package/dist/component/recoveryWorkflow/mutations.js +177 -0
  57. package/dist/component/recoveryWorkflow/mutations.js.map +1 -0
  58. package/dist/component/recoveryWorkflow/queries.d.ts +118 -0
  59. package/dist/component/recoveryWorkflow/queries.d.ts.map +1 -0
  60. package/dist/component/recoveryWorkflow/queries.js +20 -0
  61. package/dist/component/recoveryWorkflow/queries.js.map +1 -0
  62. package/dist/component/recoveryWorkflow/schema.d.ts +653 -0
  63. package/dist/component/recoveryWorkflow/schema.d.ts.map +1 -0
  64. package/dist/component/recoveryWorkflow/schema.js +81 -0
  65. package/dist/component/recoveryWorkflow/schema.js.map +1 -0
  66. package/dist/component/recoveryWorkflow/steps.d.ts +70 -0
  67. package/dist/component/recoveryWorkflow/steps.d.ts.map +1 -0
  68. package/dist/component/recoveryWorkflow/steps.js +94 -0
  69. package/dist/component/recoveryWorkflow/steps.js.map +1 -0
  70. package/dist/component/recoveryWorkflow/workflow.d.ts +22 -0
  71. package/dist/component/recoveryWorkflow/workflow.d.ts.map +1 -0
  72. package/dist/component/recoveryWorkflow/workflow.js +56 -0
  73. package/dist/component/recoveryWorkflow/workflow.js.map +1 -0
  74. package/dist/component/schema.d.ts +221 -0
  75. package/dist/component/schema.js +3 -0
  76. package/dist/component/schema.js.map +1 -1
  77. package/package.json +1 -1
  78. package/src/client/costRecovery-invoices.ts +6 -0
  79. package/src/client/costRecovery.ts +8 -3
  80. package/src/client/recoveryWorkflow/client.test.ts +37 -0
  81. package/src/client/recoveryWorkflow/client.ts +76 -0
  82. package/src/client/recoveryWorkflow/contracts.ts +72 -0
  83. package/src/client/recoveryWorkflow/provider.test.ts +424 -0
  84. package/src/client/recoveryWorkflow/provider.ts +119 -0
  85. package/src/client/recoveryWorkflow/settlement.ts +67 -0
  86. package/src/component/_generated/api.ts +12 -0
  87. package/src/component/_generated/component.ts +222 -0
  88. package/src/component/recoveryWorkflow/bridge.test.ts +481 -0
  89. package/src/component/recoveryWorkflow/bridge.ts +66 -0
  90. package/src/component/recoveryWorkflow/helpers.ts +58 -0
  91. package/src/component/recoveryWorkflow/journal.test.ts +104 -0
  92. package/src/component/recoveryWorkflow/mutations.ts +224 -0
  93. package/src/component/recoveryWorkflow/queries.ts +19 -0
  94. package/src/component/recoveryWorkflow/schema.ts +92 -0
  95. package/src/component/recoveryWorkflow/state.test.ts +191 -0
  96. package/src/component/recoveryWorkflow/steps.ts +97 -0
  97. package/src/component/recoveryWorkflow/workflow.ts +73 -0
  98. package/src/component/schema.ts +6 -0
@@ -10,6 +10,227 @@ 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
+ recoveryWorkflowOperations: import("convex/server").TableDefinition<import("convex/values").VObject<{
14
+ accountId: string;
15
+ activePhase?: "execute" | "reconcile" | undefined;
16
+ allocation?: {
17
+ adjustmentAmount?: number | undefined;
18
+ currency: string;
19
+ gross: number;
20
+ paymentId?: string | undefined;
21
+ paymentIntentId?: string | undefined;
22
+ platformNet: number;
23
+ processingFee: number;
24
+ sourceChargeId: string;
25
+ sourceInvoiceId?: string | undefined;
26
+ transfers: {
27
+ amount: number;
28
+ destinationAccountId: string;
29
+ role: "affiliate" | "other" | "store";
30
+ }[];
31
+ } | undefined;
32
+ cancelRequested: boolean;
33
+ completion?: string | undefined;
34
+ currency: string;
35
+ definitionVersion: number;
36
+ groupKey: string;
37
+ maxAttempts: number;
38
+ outcome?: "collect" | "release" | undefined;
39
+ provider: string;
40
+ providerApiVersion: string;
41
+ providerStarted: boolean;
42
+ releaseUncollectible: boolean;
43
+ resumeQueued: boolean;
44
+ retryDelayMs: number;
45
+ scopeKey: string;
46
+ sourceId: string;
47
+ sourceKind: "invoice" | "settlement";
48
+ status: "canceled" | "completed" | "queued" | "running" | "unknown" | "waiting";
49
+ version: number;
50
+ workflowId?: string | undefined;
51
+ }, {
52
+ accountId: import("convex/values").VString<string, "required">;
53
+ scopeKey: import("convex/values").VString<string, "required">;
54
+ currency: import("convex/values").VString<string, "required">;
55
+ groupKey: import("convex/values").VString<string, "required">;
56
+ provider: import("convex/values").VString<string, "required">;
57
+ completion: import("convex/values").VString<string | undefined, "optional">;
58
+ providerApiVersion: import("convex/values").VString<string, "required">;
59
+ definitionVersion: import("convex/values").VFloat64<number, "required">;
60
+ releaseUncollectible: import("convex/values").VBoolean<boolean, "required">;
61
+ maxAttempts: import("convex/values").VFloat64<number, "required">;
62
+ retryDelayMs: import("convex/values").VFloat64<number, "required">;
63
+ allocation: import("convex/values").VObject<{
64
+ adjustmentAmount?: number | undefined;
65
+ currency: string;
66
+ gross: number;
67
+ paymentId?: string | undefined;
68
+ paymentIntentId?: string | undefined;
69
+ platformNet: number;
70
+ processingFee: number;
71
+ sourceChargeId: string;
72
+ sourceInvoiceId?: string | undefined;
73
+ transfers: {
74
+ amount: number;
75
+ destinationAccountId: string;
76
+ role: "affiliate" | "other" | "store";
77
+ }[];
78
+ } | undefined, {
79
+ sourceChargeId: import("convex/values").VString<string, "required">;
80
+ paymentIntentId: import("convex/values").VString<string | undefined, "optional">;
81
+ sourceInvoiceId: import("convex/values").VString<string | undefined, "optional">;
82
+ gross: import("convex/values").VFloat64<number, "required">;
83
+ currency: import("convex/values").VString<string, "required">;
84
+ processingFee: import("convex/values").VFloat64<number, "required">;
85
+ platformNet: import("convex/values").VFloat64<number, "required">;
86
+ adjustmentAmount: import("convex/values").VFloat64<number | undefined, "optional">;
87
+ paymentId: import("convex/values").VString<string | undefined, "optional">;
88
+ transfers: import("convex/values").VArray<{
89
+ amount: number;
90
+ destinationAccountId: string;
91
+ role: "affiliate" | "other" | "store";
92
+ }[], import("convex/values").VObject<{
93
+ amount: number;
94
+ destinationAccountId: string;
95
+ role: "affiliate" | "other" | "store";
96
+ }, {
97
+ destinationAccountId: import("convex/values").VString<string, "required">;
98
+ role: import("convex/values").VUnion<"affiliate" | "other" | "store", [import("convex/values").VLiteral<"store", "required">, import("convex/values").VLiteral<"affiliate", "required">, import("convex/values").VLiteral<"other", "required">], "required", never>;
99
+ amount: import("convex/values").VFloat64<number, "required">;
100
+ }, "required", "amount" | "destinationAccountId" | "role">, "required">;
101
+ }, "optional", "adjustmentAmount" | "currency" | "gross" | "paymentId" | "paymentIntentId" | "platformNet" | "processingFee" | "sourceChargeId" | "sourceInvoiceId" | "transfers">;
102
+ version: import("convex/values").VFloat64<number, "required">;
103
+ sourceKind: import("convex/values").VUnion<"invoice" | "settlement", [import("convex/values").VLiteral<"settlement", "required">, import("convex/values").VLiteral<"invoice", "required">], "required", never>;
104
+ sourceId: import("convex/values").VString<string, "required">;
105
+ workflowId: import("convex/values").VString<string | undefined, "optional">;
106
+ status: import("convex/values").VUnion<"canceled" | "completed" | "queued" | "running" | "unknown" | "waiting", [import("convex/values").VLiteral<"queued", "required">, import("convex/values").VLiteral<"running", "required">, import("convex/values").VLiteral<"waiting", "required">, import("convex/values").VLiteral<"unknown", "required">, import("convex/values").VLiteral<"completed", "required">, import("convex/values").VLiteral<"canceled", "required">], "required", never>;
107
+ cancelRequested: import("convex/values").VBoolean<boolean, "required">;
108
+ providerStarted: import("convex/values").VBoolean<boolean, "required">;
109
+ activePhase: import("convex/values").VUnion<"execute" | "reconcile" | undefined, [import("convex/values").VLiteral<"execute", "required">, import("convex/values").VLiteral<"reconcile", "required">], "optional", never>;
110
+ resumeQueued: import("convex/values").VBoolean<boolean, "required">;
111
+ outcome: import("convex/values").VUnion<"collect" | "release" | undefined, [import("convex/values").VLiteral<"collect", "required">, import("convex/values").VLiteral<"release", "required">], "optional", never>;
112
+ }, "required", "accountId" | "activePhase" | "allocation" | "allocation.adjustmentAmount" | "allocation.currency" | "allocation.gross" | "allocation.paymentId" | "allocation.paymentIntentId" | "allocation.platformNet" | "allocation.processingFee" | "allocation.sourceChargeId" | "allocation.sourceInvoiceId" | "allocation.transfers" | "cancelRequested" | "completion" | "currency" | "definitionVersion" | "groupKey" | "maxAttempts" | "outcome" | "provider" | "providerApiVersion" | "providerStarted" | "releaseUncollectible" | "resumeQueued" | "retryDelayMs" | "scopeKey" | "sourceId" | "sourceKind" | "status" | "version" | "workflowId">, {
113
+ by_group: ["groupKey", "_creationTime"];
114
+ by_source: ["sourceKind", "sourceId", "_creationTime"];
115
+ }, {}, {}>;
116
+ recoveryWorkflowRequests: import("convex/server").TableDefinition<import("convex/values").VObject<{
117
+ binding: {
118
+ accountId: string;
119
+ allocation?: {
120
+ adjustmentAmount?: number | undefined;
121
+ currency: string;
122
+ gross: number;
123
+ paymentId?: string | undefined;
124
+ paymentIntentId?: string | undefined;
125
+ platformNet: number;
126
+ processingFee: number;
127
+ sourceChargeId: string;
128
+ sourceInvoiceId?: string | undefined;
129
+ transfers: {
130
+ amount: number;
131
+ destinationAccountId: string;
132
+ role: "affiliate" | "other" | "store";
133
+ }[];
134
+ } | undefined;
135
+ completion?: string | undefined;
136
+ currency: string;
137
+ definitionVersion: number;
138
+ groupKey: string;
139
+ maxAttempts: number;
140
+ provider: string;
141
+ providerApiVersion: string;
142
+ releaseUncollectible: boolean;
143
+ retryDelayMs: number;
144
+ scopeKey: string;
145
+ };
146
+ operationId: import("convex/values").GenericId<"recoveryWorkflowOperations">;
147
+ requestKey: string;
148
+ }, {
149
+ requestKey: import("convex/values").VString<string, "required">;
150
+ binding: import("convex/values").VObject<{
151
+ accountId: string;
152
+ allocation?: {
153
+ adjustmentAmount?: number | undefined;
154
+ currency: string;
155
+ gross: number;
156
+ paymentId?: string | undefined;
157
+ paymentIntentId?: string | undefined;
158
+ platformNet: number;
159
+ processingFee: number;
160
+ sourceChargeId: string;
161
+ sourceInvoiceId?: string | undefined;
162
+ transfers: {
163
+ amount: number;
164
+ destinationAccountId: string;
165
+ role: "affiliate" | "other" | "store";
166
+ }[];
167
+ } | undefined;
168
+ completion?: string | undefined;
169
+ currency: string;
170
+ definitionVersion: number;
171
+ groupKey: string;
172
+ maxAttempts: number;
173
+ provider: string;
174
+ providerApiVersion: string;
175
+ releaseUncollectible: boolean;
176
+ retryDelayMs: number;
177
+ scopeKey: string;
178
+ }, {
179
+ accountId: import("convex/values").VString<string, "required">;
180
+ scopeKey: import("convex/values").VString<string, "required">;
181
+ currency: import("convex/values").VString<string, "required">;
182
+ groupKey: import("convex/values").VString<string, "required">;
183
+ provider: import("convex/values").VString<string, "required">;
184
+ completion: import("convex/values").VString<string | undefined, "optional">;
185
+ providerApiVersion: import("convex/values").VString<string, "required">;
186
+ definitionVersion: import("convex/values").VFloat64<number, "required">;
187
+ releaseUncollectible: import("convex/values").VBoolean<boolean, "required">;
188
+ maxAttempts: import("convex/values").VFloat64<number, "required">;
189
+ retryDelayMs: import("convex/values").VFloat64<number, "required">;
190
+ allocation: import("convex/values").VObject<{
191
+ adjustmentAmount?: number | undefined;
192
+ currency: string;
193
+ gross: number;
194
+ paymentId?: string | undefined;
195
+ paymentIntentId?: string | undefined;
196
+ platformNet: number;
197
+ processingFee: number;
198
+ sourceChargeId: string;
199
+ sourceInvoiceId?: string | undefined;
200
+ transfers: {
201
+ amount: number;
202
+ destinationAccountId: string;
203
+ role: "affiliate" | "other" | "store";
204
+ }[];
205
+ } | undefined, {
206
+ sourceChargeId: import("convex/values").VString<string, "required">;
207
+ paymentIntentId: import("convex/values").VString<string | undefined, "optional">;
208
+ sourceInvoiceId: import("convex/values").VString<string | undefined, "optional">;
209
+ gross: import("convex/values").VFloat64<number, "required">;
210
+ currency: import("convex/values").VString<string, "required">;
211
+ processingFee: import("convex/values").VFloat64<number, "required">;
212
+ platformNet: import("convex/values").VFloat64<number, "required">;
213
+ adjustmentAmount: import("convex/values").VFloat64<number | undefined, "optional">;
214
+ paymentId: import("convex/values").VString<string | undefined, "optional">;
215
+ transfers: import("convex/values").VArray<{
216
+ amount: number;
217
+ destinationAccountId: string;
218
+ role: "affiliate" | "other" | "store";
219
+ }[], import("convex/values").VObject<{
220
+ amount: number;
221
+ destinationAccountId: string;
222
+ role: "affiliate" | "other" | "store";
223
+ }, {
224
+ destinationAccountId: import("convex/values").VString<string, "required">;
225
+ role: import("convex/values").VUnion<"affiliate" | "other" | "store", [import("convex/values").VLiteral<"store", "required">, import("convex/values").VLiteral<"affiliate", "required">, import("convex/values").VLiteral<"other", "required">], "required", never>;
226
+ amount: import("convex/values").VFloat64<number, "required">;
227
+ }, "required", "amount" | "destinationAccountId" | "role">, "required">;
228
+ }, "optional", "adjustmentAmount" | "currency" | "gross" | "paymentId" | "paymentIntentId" | "platformNet" | "processingFee" | "sourceChargeId" | "sourceInvoiceId" | "transfers">;
229
+ }, "required", "accountId" | "allocation" | "allocation.adjustmentAmount" | "allocation.currency" | "allocation.gross" | "allocation.paymentId" | "allocation.paymentIntentId" | "allocation.platformNet" | "allocation.processingFee" | "allocation.sourceChargeId" | "allocation.sourceInvoiceId" | "allocation.transfers" | "completion" | "currency" | "definitionVersion" | "groupKey" | "maxAttempts" | "provider" | "providerApiVersion" | "releaseUncollectible" | "retryDelayMs" | "scopeKey">;
230
+ operationId: import("convex/values").VId<import("convex/values").GenericId<"recoveryWorkflowOperations">, "required">;
231
+ }, "required", "binding" | "binding.accountId" | "binding.allocation" | "binding.allocation.adjustmentAmount" | "binding.allocation.currency" | "binding.allocation.gross" | "binding.allocation.paymentId" | "binding.allocation.paymentIntentId" | "binding.allocation.platformNet" | "binding.allocation.processingFee" | "binding.allocation.sourceChargeId" | "binding.allocation.sourceInvoiceId" | "binding.allocation.transfers" | "binding.completion" | "binding.currency" | "binding.definitionVersion" | "binding.groupKey" | "binding.maxAttempts" | "binding.provider" | "binding.providerApiVersion" | "binding.releaseUncollectible" | "binding.retryDelayMs" | "binding.scopeKey" | "operationId" | "requestKey">, {
232
+ by_key: ["requestKey", "_creationTime"];
233
+ }, {}, {}>;
13
234
  balanceFundingPreparations: import("convex/server").TableDefinition<import("convex/values").VObject<{
14
235
  accountId: string;
15
236
  activeOperationId?: import("convex/values").GenericId<"balanceFundingOperations"> | undefined;
@@ -133,6 +354,14 @@ export declare function setup(amounts?: number[]): Promise<{
133
354
  preparationId: import("convex/values").GenericId<"balanceFundingPreparations">;
134
355
  requestKey: string;
135
356
  result?: {
357
+ reason: "identity_changed" | "revision_changed" | "scope_busy";
358
+ retryable: false;
359
+ status: "conflict";
360
+ } | {
361
+ reason: "policy_invalid";
362
+ retryable: false;
363
+ status: "rejected";
364
+ } | {
136
365
  operation: {
137
366
  accountId: string;
138
367
  operationId: import("convex/values").GenericId<"balanceFundingOperations">;
@@ -143,14 +372,6 @@ export declare function setup(amounts?: number[]): Promise<{
143
372
  } | {
144
373
  enabled: boolean;
145
374
  status: "unchanged";
146
- } | {
147
- reason: "identity_changed" | "revision_changed" | "scope_busy";
148
- retryable: false;
149
- status: "conflict";
150
- } | {
151
- reason: "policy_invalid";
152
- retryable: false;
153
- status: "rejected";
154
375
  } | {
155
376
  reason: "provider_pending";
156
377
  retryable: true;
@@ -161,6 +382,14 @@ export declare function setup(amounts?: number[]): Promise<{
161
382
  payload: import("convex/values").VString<string, "required">;
162
383
  preparationId: import("convex/values").VId<import("convex/values").GenericId<"balanceFundingPreparations">, "required">;
163
384
  result: import("convex/values").VUnion<{
385
+ reason: "identity_changed" | "revision_changed" | "scope_busy";
386
+ retryable: false;
387
+ status: "conflict";
388
+ } | {
389
+ reason: "policy_invalid";
390
+ retryable: false;
391
+ status: "rejected";
392
+ } | {
164
393
  operation: {
165
394
  accountId: string;
166
395
  operationId: import("convex/values").GenericId<"balanceFundingOperations">;
@@ -171,14 +400,6 @@ export declare function setup(amounts?: number[]): Promise<{
171
400
  } | {
172
401
  enabled: boolean;
173
402
  status: "unchanged";
174
- } | {
175
- reason: "identity_changed" | "revision_changed" | "scope_busy";
176
- retryable: false;
177
- status: "conflict";
178
- } | {
179
- reason: "policy_invalid";
180
- retryable: false;
181
- status: "rejected";
182
403
  } | {
183
404
  reason: "provider_pending";
184
405
  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;AAIvD,eAAO,MAAM,SAAS,EAIN,SAAS,CAAC;AAC1B,eAAO,MAAM,KAAK;IAChB,SAAS;IACT,QAAQ;IACR,YAAY;IACZ,QAAQ;IACR,sBAAsB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