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