convex-saligpay 1.1.1 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -9,6 +9,7 @@ Convex component for SaligPay payment integration. This package provides a self-
9
9
  - **OAuth Authentication** - Secure token-based authentication with automatic refresh
10
10
  - **Checkout Sessions** - Create and manage payment checkout sessions
11
11
  - **Payment Intents** - Handle payment intents with 3D Secure support
12
+ - **Subscriptions** - Recurring billing with plan management
12
13
  - **Webhook Handling** - Receive and verify webhook events from SaligPay
13
14
  - **Type Safety** - Full TypeScript support with exported types
14
15
  - **Isolated Data** - Component has its own database tables, isolated from your app
@@ -111,6 +112,20 @@ export const createPayment = mutation({
111
112
  | `listPaymentIntents` | query | List intents for a merchant |
112
113
  | `cancelPaymentIntent` | mutation | Cancel an intent |
113
114
 
115
+ ### Subscriptions
116
+
117
+ | Function | Type | Description |
118
+ | --------------------------------- | -------- | ---------------------------------- |
119
+ | `initiateSubscription` | mutation | Start a new subscription |
120
+ | `processSubscriptionPayment` | mutation | Process a subscription payment |
121
+ | `pollSubscriptionIntent` | query | Poll for payment intent status |
122
+ | `getSubscription` | query | Get subscription by ID |
123
+ | `listSubscriptions` | query | List subscriptions for a merchant |
124
+ | `updateSubscriptionPlan` | mutation | Change subscription plan |
125
+ | `updateSubscriptionPaymentMethod` | mutation | Update payment method |
126
+ | `cancelSubscription` | mutation | Cancel a subscription |
127
+ | `reactivateSubscription` | mutation | Reactivate a canceled subscription |
128
+
114
129
  ### Webhooks
115
130
 
116
131
  | Function | Type | Description |
@@ -129,6 +144,7 @@ The component creates these isolated tables:
129
144
  - `saligpayCredentials` - Merchant credentials
130
145
  - `checkoutSessions` - Checkout session records
131
146
  - `paymentIntents` - Payment intent records
147
+ - `subscriptions` - Subscription records
132
148
  - `webhookEvents` - Webhook event audit log
133
149
 
134
150
  ## Client Wrapper
@@ -151,6 +167,12 @@ await ctx.runQuery(saligpay.checkout.getSession, { externalId });
151
167
  await ctx.runMutation(saligpay.paymentIntent.create, { merchantId, amount, ... });
152
168
  await ctx.runQuery(saligpay.paymentIntent.getStatus, { intentId });
153
169
 
170
+ // Subscriptions
171
+ await ctx.runMutation(saligpay.subscription.initiate, { merchantId, planId, ... });
172
+ await ctx.runQuery(saligpay.subscription.get, { subscriptionId });
173
+ await ctx.runMutation(saligpay.subscription.updatePlan, { subscriptionId, newPlanId });
174
+ await ctx.runMutation(saligpay.subscription.cancel, { subscriptionId });
175
+
154
176
  // Webhooks
155
177
  await ctx.runMutation(saligpay.webhook.receive, { payload, signature, timestamp, signingSecret });
156
178
  ```
@@ -1,47 +1,249 @@
1
- import type { Auth, GenericActionCtx, GenericDataModel } from "convex/server";
1
+ import type { Auth, GenericActionCtx, GenericDataModel, HttpRouter } from "convex/server";
2
2
  import type { ComponentApi } from "../component/_generated/component.js";
3
- export declare function createCheckout(ctx: {
4
- runMutation: GenericActionCtx<GenericDataModel>["runMutation"];
5
- }, component: ComponentApi, args: {
6
- merchantId: string;
3
+ export type SaligPayEnvironment = "production" | "sandbox";
4
+ export interface SaligPayConfig {
5
+ clientId?: string;
6
+ clientSecret?: string;
7
+ adminKey?: string;
8
+ baseUrl?: string;
9
+ env?: SaligPayEnvironment;
10
+ debug?: boolean;
11
+ timeout?: number;
12
+ webhookSecret?: string;
13
+ }
14
+ export interface SaligPayAuthTokens {
15
+ accessToken: string;
16
+ refreshToken: string;
17
+ expiresIn: number;
18
+ expiresAt: number;
19
+ }
20
+ export interface ContactInfo {
21
+ name: string;
22
+ email: string;
23
+ phone?: string;
24
+ }
25
+ export interface LoginResult {
26
+ user: {
27
+ id: string;
28
+ email: string;
29
+ name: string;
30
+ };
31
+ merchant: {
32
+ id: string;
33
+ email: string;
34
+ tradeName: string;
35
+ };
36
+ credentials: {
37
+ clientId: string;
38
+ clientSecret: string;
39
+ };
40
+ tokens: SaligPayAuthTokens;
41
+ }
42
+ export interface CreateCheckoutOptions {
7
43
  externalId: string;
8
44
  amount: number;
9
45
  description: string;
10
46
  webhookUrl?: string;
11
47
  returnUrl?: string;
48
+ contact?: ContactInfo;
12
49
  metadata?: Record<string, unknown>;
50
+ isThirdParty?: boolean;
51
+ }
52
+ export interface CheckoutResponse {
53
+ id: string;
54
+ sessionToken: string;
55
+ amount: number;
56
+ description: string;
57
+ checkoutUrl: string;
58
+ expiresAt: string;
59
+ status: "pending" | "processing" | "completed" | "failed" | "cancelled" | "expired";
60
+ createdAt: string;
61
+ }
62
+ export interface CreatePaymentIntentOptions {
63
+ amount: number;
64
+ description?: string;
65
+ externalId?: string;
66
+ contact?: ContactInfo;
67
+ webhookUrl?: string;
68
+ returnUrl?: string;
69
+ metadata?: Record<string, unknown>;
70
+ }
71
+ export interface ConfirmPaymentIntentOptions {
72
+ paymentMethod: string;
73
+ creditCardDetails?: {
74
+ cardNumber: string;
75
+ expMonth: string;
76
+ expYear: string;
77
+ cvc: string;
78
+ };
79
+ contact?: ContactInfo;
80
+ }
81
+ export interface PaymentIntentResponse {
82
+ id: string;
83
+ transactionId: string;
84
+ sessionToken: string;
85
+ amount: number;
86
+ status: "requires_payment_method" | "requires_confirmation" | "requires_action" | "processing" | "succeeded" | "canceled";
87
+ description: string;
88
+ clientKey: string;
89
+ paymentMethods: string[];
90
+ fee: number;
91
+ createdAt: string;
92
+ updatedAt: string;
93
+ }
94
+ export interface PaymentConfirmationResponse {
95
+ intentId: string;
96
+ status: "requires_payment_method" | "requires_confirmation" | "requires_action" | "processing" | "succeeded" | "canceled";
97
+ redirectUrl?: string;
98
+ requiresAction: boolean;
99
+ nextAction?: {
100
+ type: "redirect" | "display_details";
101
+ redirectUrl?: string;
102
+ };
103
+ }
104
+ export interface InitiateSubscriptionOptions {
105
+ planId: string;
106
+ customerEmail: string;
107
+ customerName: string;
108
+ customerPhone?: string;
109
+ billingAddress?: {
110
+ line1: string;
111
+ line2?: string;
112
+ city: string;
113
+ state: string;
114
+ postalCode: string;
115
+ country: string;
116
+ };
117
+ metadata?: Record<string, unknown>;
118
+ }
119
+ export interface InitiateSubscriptionResponse {
120
+ success: boolean;
121
+ sessionToken: string;
122
+ clientSecret: string;
123
+ customerId: string;
124
+ plan: unknown;
125
+ publicKey: string;
126
+ }
127
+ export interface ProcessSubscriptionPaymentOptions {
128
+ sessionToken: string;
129
+ paymentMethodId: string;
130
+ paymentIntentId?: string;
131
+ setupIntentId?: string;
132
+ }
133
+ export interface ProcessSubscriptionPaymentResponse {
134
+ success: boolean;
135
+ status: "requires_action" | "processing" | "succeeded" | "failed";
136
+ subscriptionId?: string;
137
+ nextActionUrl?: string;
138
+ error?: string;
139
+ }
140
+ export interface SubscriptionDto {
141
+ id: string;
142
+ customerId: string;
143
+ planId: string;
144
+ status: "active" | "inactive" | "canceled" | "trialing";
145
+ currentPeriodStart: number;
146
+ currentPeriodEnd: number;
147
+ createdAt: number;
148
+ updatedAt: number;
149
+ metadata?: Record<string, unknown>;
150
+ }
151
+ export interface SubscriptionResponse {
152
+ success: boolean;
153
+ subscription: SubscriptionDto;
154
+ }
155
+ export interface SubscriptionsListResponse {
156
+ subscriptions: SubscriptionDto[];
157
+ hasMore: boolean;
158
+ }
159
+ export interface SubscriptionsQuery {
160
+ limit?: number;
161
+ after?: string;
162
+ before?: string;
163
+ customerId?: string;
164
+ planId?: string;
165
+ sortBy?: string;
166
+ order?: "asc" | "desc";
167
+ }
168
+ export interface WebhookPayload {
169
+ id?: string;
170
+ externalId: string;
171
+ amount: number;
172
+ status: "pending" | "processing" | "completed" | "failed" | "cancelled" | "expired" | "refunded";
173
+ paymentMethod?: {
174
+ id: string;
175
+ type: string;
176
+ };
177
+ contact?: ContactInfo;
178
+ metadata?: Record<string, unknown>;
179
+ createdAt?: string;
180
+ updatedAt?: string;
181
+ }
182
+ export type WebhookEventType = "checkout.completed" | "checkout.failed" | "checkout.expired" | "payment_intent.succeeded" | "payment_intent.failed" | "refund.created";
183
+ export type WebhookHandler = (payload: WebhookPayload) => Promise<void> | void;
184
+ export declare function authenticate(ctx: {
185
+ runMutation: GenericActionCtx<GenericDataModel>["runMutation"];
186
+ }, component: ComponentApi, args: {
187
+ clientId?: string;
188
+ clientSecret?: string;
189
+ env?: SaligPayEnvironment;
13
190
  }): Promise<any>;
14
- export declare function getSession(ctx: {
191
+ export declare function refreshToken(ctx: {
192
+ runMutation: GenericActionCtx<GenericDataModel>["runMutation"];
193
+ }, component: ComponentApi, args: {
194
+ refreshToken: string;
195
+ clientId?: string;
196
+ }): Promise<any>;
197
+ export declare function validateToken(ctx: {
15
198
  runQuery: GenericActionCtx<GenericDataModel>["runQuery"];
16
199
  }, component: ComponentApi, args: {
200
+ accessToken: string;
201
+ }): Promise<any>;
202
+ export declare function loginAndRetrieveCredentials(ctx: {
203
+ runAction: GenericActionCtx<GenericDataModel>["runAction"];
204
+ }, component: ComponentApi, args: {
205
+ email: string;
206
+ password: string;
207
+ adminKey: string;
208
+ env?: SaligPayEnvironment;
209
+ }): Promise<LoginResult>;
210
+ export declare function internalAuthentication(ctx: {
211
+ runAction: GenericActionCtx<GenericDataModel>["runAction"];
212
+ }, component: ComponentApi, args: {
213
+ userId: string;
214
+ adminKey: string;
215
+ env?: SaligPayEnvironment;
216
+ }): Promise<LoginResult>;
217
+ export declare function createCheckout(ctx: {
218
+ runMutation: GenericActionCtx<GenericDataModel>["runMutation"];
219
+ }, component: ComponentApi, args: CreateCheckoutOptions & {
220
+ accessToken: string;
221
+ }): Promise<CheckoutResponse>;
222
+ export declare function getCheckout(ctx: {
223
+ runQuery: GenericActionCtx<GenericDataModel>["runQuery"];
224
+ }, component: ComponentApi, args: {
225
+ id?: string;
17
226
  externalId?: string;
18
- sessionId?: string;
227
+ sessionToken?: string;
19
228
  }): Promise<any>;
20
229
  export declare function listCheckouts(ctx: {
21
230
  runQuery: GenericActionCtx<GenericDataModel>["runQuery"];
22
231
  }, component: ComponentApi, args: {
23
232
  merchantId: string;
24
- status?: string;
233
+ status?: "pending" | "processing" | "completed" | "failed" | "cancelled" | "expired";
25
234
  limit?: number;
26
235
  }): Promise<any>;
27
236
  export declare function createPaymentIntent(ctx: {
28
237
  runMutation: GenericActionCtx<GenericDataModel>["runMutation"];
29
- }, component: ComponentApi, args: {
30
- merchantId: string;
31
- amount: number;
32
- description?: string;
33
- externalId?: string;
34
- webhookUrl?: string;
35
- returnUrl?: string;
36
- metadata?: Record<string, unknown>;
37
- }): Promise<any>;
238
+ }, component: ComponentApi, args: CreatePaymentIntentOptions & {
239
+ accessToken: string;
240
+ }): Promise<PaymentIntentResponse>;
38
241
  export declare function confirmPaymentIntent(ctx: {
39
242
  runMutation: GenericActionCtx<GenericDataModel>["runMutation"];
40
- }, component: ComponentApi, args: {
41
- merchantId: string;
243
+ }, component: ComponentApi, args: ConfirmPaymentIntentOptions & {
42
244
  intentId: string;
43
- paymentMethod: string;
44
- }): Promise<any>;
245
+ accessToken: string;
246
+ }): Promise<PaymentConfirmationResponse>;
45
247
  export declare function getPaymentIntentStatus(ctx: {
46
248
  runQuery: GenericActionCtx<GenericDataModel>["runQuery"];
47
249
  }, component: ComponentApi, args: {
@@ -51,16 +253,71 @@ export declare function listPaymentIntents(ctx: {
51
253
  runQuery: GenericActionCtx<GenericDataModel>["runQuery"];
52
254
  }, component: ComponentApi, args: {
53
255
  merchantId: string;
54
- status?: string;
256
+ status?: "requires_payment_method" | "requires_confirmation" | "requires_action" | "processing" | "succeeded" | "canceled";
55
257
  limit?: number;
56
258
  }): Promise<any>;
57
- export declare function receiveWebhook(ctx: {
259
+ export declare function initiateSubscription(ctx: {
260
+ runMutation: GenericActionCtx<GenericDataModel>["runMutation"];
261
+ }, component: ComponentApi, args: InitiateSubscriptionOptions & {
262
+ accessToken: string;
263
+ }): Promise<InitiateSubscriptionResponse>;
264
+ export declare function processSubscriptionPayment(ctx: {
265
+ runMutation: GenericActionCtx<GenericDataModel>["runMutation"];
266
+ }, component: ComponentApi, args: ProcessSubscriptionPaymentOptions & {
267
+ accessToken: string;
268
+ }): Promise<ProcessSubscriptionPaymentResponse>;
269
+ export declare function pollSubscriptionIntent(ctx: {
270
+ runQuery: GenericActionCtx<GenericDataModel>["runQuery"];
271
+ }, component: ComponentApi, args: {
272
+ sessionToken: string;
273
+ intentId: string;
274
+ intentType: "payment" | "setup";
275
+ }): Promise<any>;
276
+ export declare function getSubscription(ctx: {
277
+ runQuery: GenericActionCtx<GenericDataModel>["runQuery"];
278
+ }, component: ComponentApi, args: {
279
+ subscriptionId: string;
280
+ }): Promise<SubscriptionResponse | null>;
281
+ export declare function listSubscriptions(ctx: {
282
+ runQuery: GenericActionCtx<GenericDataModel>["runQuery"];
283
+ }, component: ComponentApi, args: SubscriptionsQuery & {
284
+ merchantId?: string;
285
+ }): Promise<SubscriptionsListResponse>;
286
+ export declare function updateSubscriptionPlan(ctx: {
287
+ runMutation: GenericActionCtx<GenericDataModel>["runMutation"];
288
+ }, component: ComponentApi, args: {
289
+ subscriptionId: string;
290
+ planId: string;
291
+ }): Promise<SubscriptionResponse>;
292
+ export declare function updateSubscriptionPaymentMethod(ctx: {
293
+ runMutation: GenericActionCtx<GenericDataModel>["runMutation"];
294
+ }, component: ComponentApi, args: {
295
+ subscriptionId: string;
296
+ paymentMethodId: string;
297
+ }): Promise<SubscriptionResponse>;
298
+ export declare function cancelSubscription(ctx: {
299
+ runMutation: GenericActionCtx<GenericDataModel>["runMutation"];
300
+ }, component: ComponentApi, args: {
301
+ subscriptionId: string;
302
+ reason?: string;
303
+ }): Promise<SubscriptionResponse>;
304
+ export declare function reactivateSubscription(ctx: {
305
+ runMutation: GenericActionCtx<GenericDataModel>["runMutation"];
306
+ }, component: ComponentApi, args: {
307
+ subscriptionId: string;
308
+ }): Promise<SubscriptionResponse>;
309
+ export declare function constructWebhookEvent(ctx: {
58
310
  runMutation: GenericActionCtx<GenericDataModel>["runMutation"];
59
311
  }, component: ComponentApi, args: {
60
312
  payload: string;
61
313
  signature: string;
62
- timestamp: string;
314
+ timestamp?: string;
63
315
  signingSecret: string;
316
+ }): Promise<WebhookPayload>;
317
+ export declare function processWebhook(ctx: {
318
+ runMutation: GenericActionCtx<GenericDataModel>["runMutation"];
319
+ }, component: ComponentApi, args: {
320
+ payload: unknown;
64
321
  }): Promise<any>;
65
322
  export declare function exposeApi(component: ComponentApi, options: {
66
323
  auth: (ctx: {
@@ -72,97 +329,84 @@ export declare function exposeApi(component: ComponentApi, options: {
72
329
  type: "write";
73
330
  merchantId: string;
74
331
  }) => Promise<string>;
332
+ accessToken?: string;
75
333
  }): {
76
334
  authenticate: import("convex/server").RegisteredMutation<"public", {
77
335
  clientId?: string | undefined;
78
336
  clientSecret?: string | undefined;
79
- env?: "sandbox" | "production" | undefined;
80
- merchantId: string;
81
- }, Promise<any>>;
82
- getStoredTokens: import("convex/server").RegisteredQuery<"public", {
83
- merchantId: string;
337
+ env?: "production" | "sandbox" | undefined;
84
338
  }, Promise<any>>;
85
- validateToken: import("convex/server").RegisteredQuery<"public", {
86
- merchantId: string;
339
+ refreshToken: import("convex/server").RegisteredMutation<"public", {
340
+ clientId?: string | undefined;
341
+ refreshToken: string;
87
342
  }, Promise<any>>;
88
343
  createCheckout: import("convex/server").RegisteredMutation<"public", {
89
344
  webhookUrl?: string | undefined;
90
345
  returnUrl?: string | undefined;
346
+ contact?: {
347
+ phone?: string | undefined;
348
+ email: string;
349
+ name: string;
350
+ } | undefined;
91
351
  metadata?: Record<string, any> | undefined;
92
- merchantId: string;
352
+ isThirdParty?: boolean | undefined;
93
353
  externalId: string;
94
354
  amount: number;
95
355
  description: string;
96
356
  }, Promise<any>>;
97
- getSession: import("convex/server").RegisteredQuery<"public", {
98
- externalId?: string | undefined;
99
- sessionId?: string | undefined;
100
- }, Promise<any>>;
101
- listCheckouts: import("convex/server").RegisteredQuery<"public", {
102
- status?: string | undefined;
103
- limit?: number | undefined;
104
- merchantId: string;
105
- }, Promise<any>>;
106
357
  createPaymentIntent: import("convex/server").RegisteredMutation<"public", {
107
358
  externalId?: string | undefined;
108
359
  description?: string | undefined;
109
360
  webhookUrl?: string | undefined;
110
361
  returnUrl?: string | undefined;
362
+ contact?: {
363
+ phone?: string | undefined;
364
+ email: string;
365
+ name: string;
366
+ } | undefined;
111
367
  metadata?: Record<string, any> | undefined;
112
- merchantId: string;
113
368
  amount: number;
114
369
  }, Promise<any>>;
115
- confirmPaymentIntent: import("convex/server").RegisteredMutation<"public", {
116
- merchantId: string;
117
- intentId: string;
118
- paymentMethod: string;
119
- }, Promise<any>>;
120
- getPaymentIntentStatus: import("convex/server").RegisteredQuery<"public", {
121
- intentId: string;
122
- }, Promise<any>>;
123
- listPaymentIntents: import("convex/server").RegisteredQuery<"public", {
124
- status?: string | undefined;
125
- limit?: number | undefined;
126
- merchantId: string;
127
- }, Promise<any>>;
128
- receiveWebhook: import("convex/server").RegisteredMutation<"public", {
129
- payload: string;
130
- signature: string;
131
- timestamp: string;
132
- signingSecret: string;
133
- }, Promise<any>>;
134
370
  };
371
+ export declare function registerRoutes(http: HttpRouter, component: ComponentApi, options?: {
372
+ pathPrefix?: string;
373
+ signingSecret: string;
374
+ }): void;
135
375
  export declare class SaligPayComponent {
136
376
  component: ComponentApi;
137
377
  constructor(component: ComponentApi);
138
378
  get auth(): {
139
379
  authenticate: import("convex/server").FunctionReference<"mutation", "public">;
140
380
  refreshToken: import("convex/server").FunctionReference<"mutation", "public">;
141
- getStoredTokens: import("convex/server").FunctionReference<"query", "public">;
142
381
  validateToken: import("convex/server").FunctionReference<"query", "public">;
143
382
  loginAndRetrieveCredentials: import("convex/server").FunctionReference<"action", "public">;
144
383
  internalAuthentication: import("convex/server").FunctionReference<"action", "public">;
145
384
  };
146
385
  get checkout(): {
147
386
  create: import("convex/server").FunctionReference<"mutation", "public">;
148
- getSession: import("convex/server").FunctionReference<"query", "public">;
149
- getCheckoutByUrl: import("convex/server").FunctionReference<"query", "public">;
150
- listCheckouts: import("convex/server").FunctionReference<"query", "public">;
151
- expireSession: import("convex/server").FunctionReference<"mutation", "public">;
387
+ get: import("convex/server").FunctionReference<"query", "public">;
388
+ list: import("convex/server").FunctionReference<"query", "public">;
152
389
  };
153
390
  get paymentIntent(): {
154
391
  create: import("convex/server").FunctionReference<"mutation", "public">;
155
392
  confirm: import("convex/server").FunctionReference<"mutation", "public">;
156
393
  getStatus: import("convex/server").FunctionReference<"query", "public">;
157
394
  list: import("convex/server").FunctionReference<"query", "public">;
395
+ };
396
+ get subscriptions(): {
397
+ initiate: import("convex/server").FunctionReference<"mutation", "public">;
398
+ processPayment: import("convex/server").FunctionReference<"mutation", "public">;
399
+ pollIntent: import("convex/server").FunctionReference<"query", "public">;
400
+ get: import("convex/server").FunctionReference<"query", "public">;
401
+ list: import("convex/server").FunctionReference<"query", "public">;
402
+ updatePlan: import("convex/server").FunctionReference<"mutation", "public">;
403
+ updatePaymentMethod: import("convex/server").FunctionReference<"mutation", "public">;
158
404
  cancel: import("convex/server").FunctionReference<"mutation", "public">;
405
+ reactivate: import("convex/server").FunctionReference<"mutation", "public">;
159
406
  };
160
- get webhook(): {
161
- receive: import("convex/server").FunctionReference<"mutation", "public">;
162
- handleCheckoutCompleted: import("convex/server").FunctionReference<"mutation", "public">;
163
- handleCheckoutFailed: import("convex/server").FunctionReference<"mutation", "public">;
164
- handlePaymentIntentSucceeded: import("convex/server").FunctionReference<"mutation", "public">;
165
- handleRefundCreated: import("convex/server").FunctionReference<"mutation", "public">;
407
+ get webhooks(): {
408
+ constructEvent: import("convex/server").FunctionReference<"mutation", "public">;
409
+ process: import("convex/server").FunctionReference<"mutation", "public">;
166
410
  };
167
411
  }
168
412
  export declare function makeSaligPayComponent(component: ComponentApi): SaligPayComponent;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/client/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAE9E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sCAAsC,CAAC;AAEzE,wBAAgB,cAAc,CAC1B,GAAG,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