@pacspace-io/sdk 0.1.0 → 0.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.
Files changed (40) hide show
  1. package/README.md +65 -9
  2. package/dist/client.d.ts +33 -2
  3. package/dist/client.d.ts.map +1 -1
  4. package/dist/client.js +294 -19
  5. package/dist/client.js.map +1 -1
  6. package/dist/errors/index.d.ts +24 -1
  7. package/dist/errors/index.d.ts.map +1 -1
  8. package/dist/errors/index.js +44 -4
  9. package/dist/errors/index.js.map +1 -1
  10. package/dist/index.d.ts +49 -11
  11. package/dist/index.d.ts.map +1 -1
  12. package/dist/index.js +106 -7
  13. package/dist/index.js.map +1 -1
  14. package/dist/resources/balance.d.ts +207 -13
  15. package/dist/resources/balance.d.ts.map +1 -1
  16. package/dist/resources/balance.js +356 -16
  17. package/dist/resources/balance.js.map +1 -1
  18. package/dist/resources/submission.d.ts +79 -0
  19. package/dist/resources/submission.d.ts.map +1 -0
  20. package/dist/resources/submission.js +398 -0
  21. package/dist/resources/submission.js.map +1 -0
  22. package/dist/types/balance.d.ts +489 -19
  23. package/dist/types/balance.d.ts.map +1 -1
  24. package/dist/types/config.d.ts +51 -1
  25. package/dist/types/config.d.ts.map +1 -1
  26. package/dist/types/submission.d.ts +125 -0
  27. package/dist/types/submission.d.ts.map +1 -0
  28. package/dist/types/submission.js +3 -0
  29. package/dist/types/submission.js.map +1 -0
  30. package/dist/webhooks/index.d.ts +1 -1
  31. package/dist/webhooks/index.d.ts.map +1 -1
  32. package/dist/webhooks/types.d.ts +27 -31
  33. package/dist/webhooks/types.d.ts.map +1 -1
  34. package/dist/webhooks/types.js +0 -3
  35. package/dist/webhooks/types.js.map +1 -1
  36. package/dist/webhooks/verify.d.ts +5 -0
  37. package/dist/webhooks/verify.d.ts.map +1 -1
  38. package/dist/webhooks/verify.js +19 -4
  39. package/dist/webhooks/verify.js.map +1 -1
  40. package/package.json +1 -1
@@ -25,22 +25,31 @@ export interface EmitAndWaitOptions extends EmitOptions {
25
25
  pollInterval?: number;
26
26
  }
27
27
  /**
28
- * Response from `balance.emit()`.
28
+ * Response from `balance.emit()` — records a usage event as a verified delta.
29
29
  */
30
30
  export interface EmitResponse {
31
- /** Unique identifier for this anchor/delta record. */
31
+ /** Unique identifier for this delta record. */
32
32
  anchorId: string;
33
33
  /** The customer account this delta belongs to. */
34
34
  customerId: string;
35
35
  /** The recorded adjustment amount. */
36
36
  delta: number;
37
+ /** Monotonic per-customer sequence number used for gap detection. */
38
+ sequenceNumber?: string;
37
39
  /** Current processing status. */
38
40
  status: AnchorStatus;
39
- /** Proof root hash — store this for later verification. */
41
+ /** Proof root — store this for later verification. Share it so anyone can verify. */
40
42
  receiptId: string;
41
- /** Root hash covering the items in this submission (same as receiptId). */
43
+ /**
44
+ * Root covering the items in this submission (same value as `receiptId`).
45
+ * @alias proofRoot
46
+ */
42
47
  itemsRoot: string;
43
- /** Individual content hashes for each item. */
48
+ /**
49
+ * Individual content fingerprints for each item.
50
+ * Same content always produces the same fingerprint.
51
+ * @alias contentFingerprints
52
+ */
44
53
  itemHashes: string[];
45
54
  /** Estimated number of verified deltas this submission will produce. */
46
55
  estimatedVerifiedDeltas: number;
@@ -52,7 +61,18 @@ export interface EmitResponse {
52
61
  message: string;
53
62
  }
54
63
  /**
55
- * Options for `balance.derive()`.
64
+ * Developer-friendly alias: `itemsRoot` is the proof root — the single
65
+ * fingerprint covering every item in a submission or derivation.
66
+ */
67
+ export type ProofRoot = string;
68
+ /**
69
+ * Developer-friendly alias: `itemHashes` are content fingerprints — each
70
+ * one uniquely identifies a single item's content.
71
+ */
72
+ export type ContentFingerprint = string;
73
+ /**
74
+ * Options for `balance.derive()` — computes the neutral, independently
75
+ * verifiable balance from all verified deltas.
56
76
  */
57
77
  export interface DeriveOptions extends RequestOptions {
58
78
  /**
@@ -70,15 +90,24 @@ export interface DeriveOptions extends RequestOptions {
70
90
  * @default 'itemsRoot'
71
91
  */
72
92
  startingCheckpointType?: CheckpointType;
93
+ /** Number of deltas to return per page (1-1000). Balance is always computed from all deltas. */
94
+ limit?: number;
95
+ /** Number of deltas to skip. */
96
+ offset?: number;
73
97
  }
74
98
  /**
75
- * A single verified delta in the derivation response.
99
+ * A single verified delta a usage event that has been permanently recorded
100
+ * and can be independently verified by any party.
76
101
  */
77
102
  export interface VerifiedDelta {
78
103
  anchorId: string;
79
- itemHash: string;
80
- itemsRoot: string;
104
+ /** Content fingerprint — confirms this delta's content hasn't been altered. */
105
+ itemHash: ContentFingerprint;
106
+ /** Proof root — the single fingerprint covering the group this delta belongs to. */
107
+ itemsRoot: ProofRoot;
81
108
  receiptId: string;
109
+ /** Monotonic per-customer sequence number used for gap detection. */
110
+ sequenceNumber: string | null;
82
111
  delta: number;
83
112
  reason: string | null;
84
113
  referenceId: string | null;
@@ -116,6 +145,18 @@ export interface DeriveResponse {
116
145
  itemsRoot: string | null;
117
146
  message: string;
118
147
  };
148
+ /** Pagination info for the deltas array. */
149
+ pagination: {
150
+ total: number;
151
+ limit: number;
152
+ offset: number;
153
+ };
154
+ /** Hint to use checkpoints for large delta counts. Only present when delta count exceeds threshold. */
155
+ _hint?: {
156
+ message: string;
157
+ recommendation: string;
158
+ docsUrl: string;
159
+ };
119
160
  }
120
161
  /**
121
162
  * Options for `balance.compare()`.
@@ -154,9 +195,18 @@ export interface DiscrepancyReport {
154
195
  timeRange: string;
155
196
  }>;
156
197
  recommendation: string;
198
+ /** Top 5 most impactful windows, sorted by absolute netDelta. */
199
+ relevantWindows: Array<{
200
+ window: string;
201
+ netDelta: number;
202
+ deltasCount: number;
203
+ timeRange: string;
204
+ }>;
157
205
  }
158
206
  /**
159
- * Response from `balance.compare()`.
207
+ * Response from `balance.compare()` — surfaces the exact point of divergence
208
+ * between two parties' views of a balance. PacSpace doesn't decide who's
209
+ * right; it shows where the numbers diverge so the math resolves the dispute.
160
210
  */
161
211
  export interface CompareResponse {
162
212
  customerId: string;
@@ -174,45 +224,465 @@ export interface CompareResponse {
174
224
  };
175
225
  }
176
226
  /**
177
- * Response from `balance.receipt()`.
227
+ * Response from `balance.receipt()` — a proof document covering all verified
228
+ * activity for a period. Share with your customer or auditor; they can verify
229
+ * every line item independently.
178
230
  */
179
231
  export interface ReceiptResponse {
180
232
  customerId: string;
181
233
  generatedAt: string;
182
234
  deltasCount: number;
183
235
  finalBalance: number;
184
- itemsRoot: string | null;
236
+ /** Proof root — the single fingerprint covering all deltas in this receipt. */
237
+ itemsRoot: ProofRoot | null;
185
238
  receiptId: string | null;
186
239
  latestCheckpoint: string | null;
187
240
  deltas: VerifiedDelta[];
188
241
  windowSummaries: WindowSummary[];
189
242
  verification: {
190
243
  message: string;
191
- itemHashes: string[];
244
+ /** Content fingerprints for each delta in the receipt. */
245
+ itemHashes: ContentFingerprint[];
192
246
  };
193
247
  }
248
+ export type CheckpointTimePreset = 'current_month' | 'last_30_days' | 'last_90_days' | 'custom';
249
+ export type CheckpointMode = 'full_scope' | 'selected_only';
250
+ export interface CheckpointScopeOptions {
251
+ /**
252
+ * Backward-compatible billing period in YYYY-MM format.
253
+ */
254
+ period?: string;
255
+ /**
256
+ * Preset scope selector.
257
+ */
258
+ timePreset?: CheckpointTimePreset;
259
+ /**
260
+ * Custom scope start date (ISO) used when timePreset=custom.
261
+ */
262
+ startDate?: string;
263
+ /**
264
+ * Custom scope end date (ISO) used when timePreset=custom.
265
+ */
266
+ endDate?: string;
267
+ }
194
268
  /**
195
269
  * Options for `balance.checkpoint()`.
196
270
  */
197
- export interface CheckpointOptions extends RequestOptions {
271
+ export interface CheckpointOptions extends CheckpointScopeOptions, RequestOptions {
198
272
  /**
199
- * Billing period in YYYY-MM format.
200
- * Defaults to the current period.
273
+ * Checkpoint computation mode.
201
274
  */
202
- period?: string;
275
+ mode?: CheckpointMode;
276
+ /**
277
+ * Required when mode=selected_only.
278
+ */
279
+ fingerprints?: string[];
280
+ }
281
+ export interface CheckpointScopeSummary {
282
+ preset: CheckpointTimePreset;
283
+ startDate: string;
284
+ endDateExclusive: string;
285
+ label: string;
203
286
  }
204
287
  /**
205
- * Response from `balance.checkpoint()`.
288
+ * Response from `balance.checkpoint()` — locks all verified activity for
289
+ * a billing period into a single proof. Include it on your invoice so your
290
+ * customer can verify every charge.
206
291
  */
207
292
  export interface CheckpointResponse {
208
293
  checkpointId: string;
209
294
  period: string;
210
- merkleRoot: string;
295
+ /** Proof root — the single fingerprint covering every delta in this period. */
296
+ merkleRoot: ProofRoot;
297
+ proofRoot: ProofRoot;
298
+ scope?: CheckpointScopeSummary;
299
+ mode?: CheckpointMode;
211
300
  deltaCount: number;
301
+ selectedFingerprintCount?: number;
302
+ eligibleFingerprintCount?: number;
303
+ selectedFingerprints?: string[];
212
304
  fromIndex: number;
213
305
  toIndex: number;
214
306
  customerId: string;
215
307
  status: AnchorStatus;
216
308
  message: string;
217
309
  }
310
+ /**
311
+ * Options for `balance.listCheckpoints()`.
312
+ */
313
+ export interface ListCheckpointsOptions extends CheckpointScopeOptions, RequestOptions {
314
+ /** Filter checkpoints by customer ID. */
315
+ customerId?: string;
316
+ /** Number of results per page (max 100). */
317
+ limit?: number;
318
+ /** Number of results to skip. */
319
+ offset?: number;
320
+ }
321
+ /** A single checkpoint in the list response. */
322
+ export interface CheckpointSummary {
323
+ checkpointId: string;
324
+ period: string;
325
+ /** Proof root for this checkpoint period. */
326
+ merkleRoot: ProofRoot | null;
327
+ proofRoot?: ProofRoot | null;
328
+ scope?: Partial<CheckpointScopeSummary>;
329
+ mode?: CheckpointMode;
330
+ deltaCount: number;
331
+ selectedFingerprintCount?: number;
332
+ eligibleFingerprintCount?: number;
333
+ customerId: string;
334
+ status: AnchorStatus;
335
+ txHash: string | null;
336
+ anchoredAt: string | null;
337
+ receivedAt: string;
338
+ }
339
+ /**
340
+ * Response from `balance.listCheckpoints()`.
341
+ */
342
+ export interface ListCheckpointsResponse {
343
+ checkpoints: CheckpointSummary[];
344
+ pagination: {
345
+ total: number;
346
+ limit: number;
347
+ offset: number;
348
+ };
349
+ }
350
+ /**
351
+ * Response from `balance.deltaStatus()` — check the processing status of
352
+ * a submitted delta. Once verified, the delta becomes a permanent record.
353
+ */
354
+ export interface DeltaStatusResponse {
355
+ anchorId: string;
356
+ status: AnchorStatus;
357
+ /** Number of deltas in this anchor (1 for single emit, N for batch). */
358
+ deltaCount: number;
359
+ /** Backward-compatible: customerId of the first delta. */
360
+ customerId: string | null;
361
+ /** Backward-compatible: delta amount of the first delta. */
362
+ delta: number | null;
363
+ /** All deltas in this anchor (single-emit has one entry, batch has many). */
364
+ deltas: Array<{
365
+ customerId: string | null;
366
+ delta: number | null;
367
+ sequenceNumber: string | null;
368
+ }>;
369
+ receiptId: string | null;
370
+ /** Verification reference — the permanent reference on public infrastructure. */
371
+ txHash: string | null;
372
+ receivedAt: string;
373
+ anchoredAt: string | null;
374
+ }
375
+ /**
376
+ * Options for `balance.waitForAnchored()`.
377
+ */
378
+ export interface WaitForAnchoredOptions extends RequestOptions {
379
+ /**
380
+ * Maximum time (ms) to wait before throwing a timeout.
381
+ * @default 60000
382
+ */
383
+ timeout?: number;
384
+ /**
385
+ * Poll interval in milliseconds.
386
+ * @default 2000
387
+ */
388
+ pollInterval?: number;
389
+ }
390
+ /**
391
+ * Plan metadata returned by `balance.usage()`.
392
+ */
393
+ export interface UsagePlanSummary {
394
+ tier: string;
395
+ monthlyAllotment: number;
396
+ [key: string]: unknown;
397
+ }
398
+ /**
399
+ * Usage counters returned by `balance.usage()`.
400
+ */
401
+ export interface UsageCounters {
402
+ period: string;
403
+ bucketTouchesUsed: number;
404
+ overageCount: number;
405
+ overageChargesUsd: number | string;
406
+ remaining: number;
407
+ [key: string]: unknown;
408
+ }
409
+ /**
410
+ * Response from `balance.usage()`.
411
+ */
412
+ export interface UsageResponse {
413
+ plan: UsagePlanSummary;
414
+ usage: UsageCounters;
415
+ allowed: boolean;
416
+ reason: string | null;
417
+ remaining: number;
418
+ }
419
+ /** Options for `balance.gaps()` gap detection queries. */
420
+ export interface SequenceGapsOptions extends RequestOptions {
421
+ /** Optional inclusive start sequence for scanning. */
422
+ fromSequence?: string;
423
+ /** Optional inclusive end sequence for scanning. */
424
+ toSequence?: string;
425
+ /** Maximum number of missing ranges to return (max 500). */
426
+ limit?: number;
427
+ }
428
+ /** A missing sequence range. */
429
+ export interface SequenceGapRange {
430
+ startSequence: string;
431
+ endSequence: string;
432
+ missingCount: string;
433
+ }
434
+ /** Response from `balance.gaps()`. */
435
+ export interface SequenceGapsResponse {
436
+ customerId: string;
437
+ ledgerIdentifier: string;
438
+ ledgerSlot: string;
439
+ nextSequence: string;
440
+ rangeStart: string;
441
+ rangeEnd: string;
442
+ gaps: SequenceGapRange[];
443
+ hasGaps: boolean;
444
+ missingRanges: number;
445
+ missingCountInPage: string;
446
+ truncated: boolean;
447
+ }
448
+ /**
449
+ * Options for `balance.emitBatch()`.
450
+ */
451
+ export interface BulkEmitOptions extends RequestOptions {
452
+ /** Your internal reference ID for correlation. */
453
+ referenceId?: string;
454
+ /** Arbitrary key-value metadata to store with each delta. */
455
+ metadata?: Record<string, unknown>;
456
+ }
457
+ /**
458
+ * A single delta in a bulk emit request.
459
+ */
460
+ export interface BulkDelta {
461
+ customerId: string;
462
+ delta: number;
463
+ reason: string;
464
+ referenceId?: string;
465
+ metadata?: Record<string, unknown>;
466
+ }
467
+ /**
468
+ * Result for a single delta in a bulk emit response.
469
+ */
470
+ export interface BulkDeltaResult {
471
+ /** Position of this delta in the input array (for correlation). */
472
+ index: number;
473
+ customerId: string;
474
+ delta: number;
475
+ anchorId?: string;
476
+ /** Content fingerprint for this item. */
477
+ itemHash?: ContentFingerprint;
478
+ receiptId?: string;
479
+ /** Idempotency reference ID used to submit this delta. */
480
+ referenceId?: string;
481
+ /** Monotonic per-customer sequence number used for gap detection. */
482
+ sequenceNumber?: string;
483
+ /** True when this result came from an idempotent replay. */
484
+ idempotent?: boolean;
485
+ status: string;
486
+ error?: string;
487
+ }
488
+ /**
489
+ * Response from `balance.emitBatch()`.
490
+ */
491
+ export interface BulkEmitResponse {
492
+ totalQueued: number;
493
+ totalFailed: number;
494
+ results: BulkDeltaResult[];
495
+ /** Efficiency summary showing how deltas were packed into on-chain operations. */
496
+ _efficiency?: {
497
+ uniqueCustomers: number;
498
+ totalDeltas: number;
499
+ estimatedSlots: number;
500
+ message: string;
501
+ };
502
+ }
503
+ /**
504
+ * Options for `balance.listWebhookDeliveries()`.
505
+ */
506
+ export interface ListWebhookDeliveriesOptions extends RequestOptions {
507
+ status?: 'pending' | 'delivered' | 'failed';
508
+ limit?: number;
509
+ offset?: number;
510
+ }
511
+ /**
512
+ * A single webhook delivery record.
513
+ */
514
+ export interface WebhookDelivery {
515
+ eventId: string;
516
+ status: string;
517
+ attempts: number;
518
+ url: string | null;
519
+ payload: any | null;
520
+ deliveredAt: string | null;
521
+ nextAttemptAt: string | null;
522
+ createdAt: string;
523
+ dataPurged: boolean;
524
+ }
525
+ /**
526
+ * Response from `balance.listWebhookDeliveries()`.
527
+ */
528
+ export interface ListWebhookDeliveriesResponse {
529
+ deliveries: WebhookDelivery[];
530
+ pagination: {
531
+ total: number;
532
+ limit: number;
533
+ offset: number;
534
+ };
535
+ }
536
+ /** A customer ledger summary (returned from list endpoint). */
537
+ export interface CustomerLedgerSummary {
538
+ customerId: string;
539
+ ledgerIdentifier: string;
540
+ totalDeltas: number;
541
+ firstDeltaAt: string | null;
542
+ lastDeltaAt: string | null;
543
+ }
544
+ /** A single activity item in the customer ledger detail. */
545
+ export interface CustomerLedgerActivity {
546
+ amount: number;
547
+ reason: string | null;
548
+ referenceId: string | null;
549
+ status: string;
550
+ time: string;
551
+ }
552
+ /** Full customer ledger detail (returned from detail endpoint). */
553
+ export interface CustomerLedgerDetail extends CustomerLedgerSummary {
554
+ ledgerSlot: string;
555
+ computedBalance: number;
556
+ latestCheckpoint: string | null;
557
+ privacyNote: string;
558
+ recentActivity: {
559
+ items: CustomerLedgerActivity[];
560
+ pagination: {
561
+ total: number;
562
+ page: number;
563
+ limit: number;
564
+ totalPages: number;
565
+ };
566
+ };
567
+ }
568
+ /** Options for listing customer ledgers. */
569
+ export interface ListCustomersOptions extends RequestOptions {
570
+ /** Filter by customer ID (case-insensitive). */
571
+ search?: string;
572
+ /** Results per page (max 100). */
573
+ limit?: number;
574
+ /** Page number (1-indexed). */
575
+ page?: number;
576
+ }
577
+ /** Options for getting customer ledger detail. */
578
+ export interface GetCustomerOptions extends RequestOptions {
579
+ /** Page of recent activity (1-indexed). */
580
+ deltaPage?: number;
581
+ /** Activity items per page. */
582
+ deltaLimit?: number;
583
+ }
584
+ /** Response from listing customer ledgers. */
585
+ export interface ListCustomersResponse {
586
+ customers: CustomerLedgerSummary[];
587
+ pagination: {
588
+ total: number;
589
+ page: number;
590
+ limit: number;
591
+ totalPages: number;
592
+ };
593
+ }
594
+ /** Options for generating an invoice proof. */
595
+ export interface InvoiceProofOptions extends RequestOptions {
596
+ /** Billing period in YYYY-MM format. */
597
+ period?: string;
598
+ /** Scope preset. */
599
+ timePreset?: CheckpointTimePreset;
600
+ /** Custom scope start date (ISO). */
601
+ startDate?: string;
602
+ /** Custom scope end date (ISO). */
603
+ endDate?: string;
604
+ }
605
+ /** A single delta included in the invoice proof. */
606
+ export interface InvoiceProofDelta {
607
+ delta: number;
608
+ reason: string | null;
609
+ referenceId: string | null;
610
+ status: string;
611
+ time: string;
612
+ /** Content fingerprint for this delta. */
613
+ itemHash: ContentFingerprint | null;
614
+ }
615
+ /** Window summary for the invoice proof period. */
616
+ export interface InvoiceProofWindowSummary {
617
+ window: string;
618
+ deltasCount: number;
619
+ netDelta: number;
620
+ firstDeltaAt: string | null;
621
+ lastDeltaAt: string | null;
622
+ }
623
+ /** Verification metadata for the invoice proof. */
624
+ export interface InvoiceProofVerification {
625
+ proofRoot: string | null;
626
+ totalBalance: number;
627
+ periodBalance: number;
628
+ }
629
+ /** Response from the invoice proof endpoint. */
630
+ export interface InvoiceProofResponse {
631
+ customerId: string;
632
+ period: string;
633
+ proofRoot: string;
634
+ /** Verification reference — unique identifier on the public verification layer. */
635
+ verificationReference: string | null;
636
+ /** URL to view the record on the public verification layer. */
637
+ publicLedgerUrl: string | null;
638
+ /** Shareable verification page URL: app.pacspace.io/verify/{proofRoot} */
639
+ verifyUrl: string | null;
640
+ deltaCount: number;
641
+ startingBalance: number;
642
+ finalBalance: number;
643
+ windowSummary: InvoiceProofWindowSummary;
644
+ deltas: InvoiceProofDelta[];
645
+ verification: InvoiceProofVerification;
646
+ }
647
+ /** Summary of verified records returned by the verify endpoint. */
648
+ export interface VerifySummary {
649
+ recordCount: number;
650
+ netChange: number;
651
+ startingBalance: number;
652
+ endingBalance: number;
653
+ firstRecordAt: string | null;
654
+ lastRecordAt: string | null;
655
+ }
656
+ /** A single record in the verify response. */
657
+ export interface VerifyRecord {
658
+ amount: number;
659
+ reason: string | null;
660
+ referenceId: string | null;
661
+ status: string;
662
+ time: string;
663
+ /** Content fingerprint — recompute from the original data to confirm nothing changed. */
664
+ itemFingerprint: ContentFingerprint | null;
665
+ }
666
+ /** Verification metadata from the verify endpoint. */
667
+ export interface VerifyVerification {
668
+ reference: string | null;
669
+ publicLedgerUrl: string | null;
670
+ note: string;
671
+ }
672
+ /**
673
+ * Response from the public verify endpoint (no auth required).
674
+ * Anyone with the proof root can call this to independently confirm records
675
+ * exist — no account, no trust in any party required.
676
+ */
677
+ export interface VerifyResponse {
678
+ verified: boolean;
679
+ processing?: boolean;
680
+ proofRoot: string;
681
+ recordedAt?: string;
682
+ environment?: string;
683
+ summary?: VerifySummary;
684
+ records?: VerifyRecord[];
685
+ verification?: VerifyVerification;
686
+ message: string;
687
+ }
218
688
  //# sourceMappingURL=balance.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"balance.d.ts","sourceRoot":"","sources":["../../src/types/balance.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAC7D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;A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