@plasius/economy 0.7.0 → 0.9.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 +68 -0
- package/dist/index.cjs +1263 -66
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +325 -2
- package/dist/index.d.ts +325 -2
- package/dist/index.js +1240 -66
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -326,6 +326,329 @@ declare function convertRewardPayout(providerPayoutMinorUnits: string, rate: Rew
|
|
|
326
326
|
/** Maps BitLabs' signed callback state into an immutable journal transition. */
|
|
327
327
|
declare function mapBitLabsConversionState(state: string): RewardActivityTransitionV1;
|
|
328
328
|
|
|
329
|
+
declare const ADMIN_TOKEN_DEFAULT_WINDOW_DAYS = 30;
|
|
330
|
+
declare const ADMIN_TOKEN_MAXIMUM_WINDOW_DAYS = 365;
|
|
331
|
+
declare const ADMIN_TOKEN_MAXIMUM_HOURLY_WINDOW_DAYS = 31;
|
|
332
|
+
declare const ADMIN_TOKEN_MAXIMUM_PAGE_SIZE = 100;
|
|
333
|
+
declare const ADMIN_TOKEN_MAXIMUM_TREND_POINTS: number;
|
|
334
|
+
declare const ADMIN_TOKEN_MINIMUM_COHORT_SIZE = 5;
|
|
335
|
+
declare const ADMIN_TOKEN_ANOMALY_BASELINE_DAYS = 28;
|
|
336
|
+
type AdminTokenActivityTypeV1 = "acquisition" | "spend" | "reversal" | "hold" | "failure";
|
|
337
|
+
type AdminTokenActivityStatusV1 = "pending" | "held" | "settled" | "reversed" | "failed";
|
|
338
|
+
/**
|
|
339
|
+
* Privacy-safe source groupings. Provider names and provider identifiers are
|
|
340
|
+
* intentionally absent from this public reporting boundary.
|
|
341
|
+
*/
|
|
342
|
+
type AdminTokenActivitySourceV1 = "paid-purchase" | "subscription" | "rewarded-activity" | "gameplay" | "system-adjustment" | "unknown";
|
|
343
|
+
type AdminTokenActivitySortV1 = "occurred-at-desc" | "amount-absolute-desc";
|
|
344
|
+
/**
|
|
345
|
+
* Closed, non-identifying label codes. Presentation layers map these codes to
|
|
346
|
+
* localized text instead of forwarding source metadata into a response.
|
|
347
|
+
*/
|
|
348
|
+
type AdminTokenSafeLabelV1 = "token-acquisition" | "token-spend" | "token-reversal" | "token-hold" | "token-activity-failed" | "token-system-adjustment" | "token-activity-unclassified";
|
|
349
|
+
type AdminTokenPseudonymAudienceV1 = "admin-token-activity" | "mcp-token-activity";
|
|
350
|
+
type AdminTokenBalancePseudonymAudienceV1 = "admin-token-balances" | "mcp-token-balances";
|
|
351
|
+
interface AdminTokenReportingWindowV1 {
|
|
352
|
+
readonly fromInclusive: IsoTimestamp;
|
|
353
|
+
readonly toExclusive: IsoTimestamp;
|
|
354
|
+
}
|
|
355
|
+
/**
|
|
356
|
+
* One deliberately narrow reporting row. Aliases are generated by a
|
|
357
|
+
* consuming service using its approved audience-separated pseudonym adapter.
|
|
358
|
+
* `safeLabel` is a closed code that presentation maps to text; it is never
|
|
359
|
+
* copied from ledger metadata.
|
|
360
|
+
*/
|
|
361
|
+
interface AdminTokenActivityEntryV1 {
|
|
362
|
+
readonly schemaVersion: EconomyContractVersion;
|
|
363
|
+
readonly occurredAt: IsoTimestamp;
|
|
364
|
+
readonly activityType: AdminTokenActivityTypeV1;
|
|
365
|
+
readonly status: AdminTokenActivityStatusV1;
|
|
366
|
+
readonly source: AdminTokenActivitySourceV1;
|
|
367
|
+
readonly amount: TokenSubunitString;
|
|
368
|
+
readonly safeLabel: AdminTokenSafeLabelV1;
|
|
369
|
+
readonly rowAlias: string;
|
|
370
|
+
readonly subjectAlias: string;
|
|
371
|
+
}
|
|
372
|
+
interface AdminTokenActivityFilterV1 {
|
|
373
|
+
readonly activityTypes?: readonly AdminTokenActivityTypeV1[];
|
|
374
|
+
readonly statuses?: readonly AdminTokenActivityStatusV1[];
|
|
375
|
+
readonly sources?: readonly AdminTokenActivitySourceV1[];
|
|
376
|
+
readonly subjectAlias?: string;
|
|
377
|
+
}
|
|
378
|
+
/**
|
|
379
|
+
* Trusted, server-decoded scope carried inside a signed opaque cursor. A host
|
|
380
|
+
* must authenticate the opaque cursor before constructing this binding.
|
|
381
|
+
*/
|
|
382
|
+
interface AdminTokenActivityCursorBindingV1 {
|
|
383
|
+
readonly schemaVersion: EconomyContractVersion;
|
|
384
|
+
readonly sort: AdminTokenActivitySortV1;
|
|
385
|
+
readonly window: AdminTokenReportingWindowV1;
|
|
386
|
+
readonly filter?: AdminTokenActivityFilterV1;
|
|
387
|
+
readonly audience: AdminTokenPseudonymAudienceV1;
|
|
388
|
+
readonly pseudonymVersion: string;
|
|
389
|
+
}
|
|
390
|
+
interface AdminTokenActivityPageRequestV1 {
|
|
391
|
+
readonly schemaVersion: EconomyContractVersion;
|
|
392
|
+
readonly limit: number;
|
|
393
|
+
readonly cursor?: string;
|
|
394
|
+
/**
|
|
395
|
+
* Required exactly when `cursor` is present. This is produced only after the
|
|
396
|
+
* host authenticates and decodes the opaque cursor.
|
|
397
|
+
*/
|
|
398
|
+
readonly cursorBinding?: AdminTokenActivityCursorBindingV1;
|
|
399
|
+
readonly sort: AdminTokenActivitySortV1;
|
|
400
|
+
readonly window: AdminTokenReportingWindowV1;
|
|
401
|
+
readonly filter?: AdminTokenActivityFilterV1;
|
|
402
|
+
/** Fixed by the authenticated host endpoint, never selected by a client. */
|
|
403
|
+
readonly audience: AdminTokenPseudonymAudienceV1;
|
|
404
|
+
/** Fixed by the host's active pseudonym key/version policy. */
|
|
405
|
+
readonly pseudonymVersion: string;
|
|
406
|
+
}
|
|
407
|
+
interface AdminTokenActivityResultMetadataV1 extends AdminTokenReportingWindowV1 {
|
|
408
|
+
readonly schemaVersion: EconomyContractVersion;
|
|
409
|
+
readonly generatedAt: IsoTimestamp;
|
|
410
|
+
readonly sort: AdminTokenActivitySortV1;
|
|
411
|
+
readonly filter?: AdminTokenActivityFilterV1;
|
|
412
|
+
readonly pageLimit: number;
|
|
413
|
+
readonly audience: AdminTokenPseudonymAudienceV1;
|
|
414
|
+
readonly pseudonymVersion: string;
|
|
415
|
+
/** This literal is a machine-testable non-disclosure assertion. */
|
|
416
|
+
readonly rawIdentifiersIncluded: false;
|
|
417
|
+
}
|
|
418
|
+
interface AdminTokenActivityPageV1 {
|
|
419
|
+
readonly schemaVersion: EconomyContractVersion;
|
|
420
|
+
readonly entries: readonly AdminTokenActivityEntryV1[];
|
|
421
|
+
readonly hasMore: boolean;
|
|
422
|
+
readonly nextCursor?: string;
|
|
423
|
+
readonly metadata: AdminTokenActivityResultMetadataV1;
|
|
424
|
+
}
|
|
425
|
+
interface AdminTokenAggregateBalancesV1 {
|
|
426
|
+
readonly schemaVersion: EconomyContractVersion;
|
|
427
|
+
readonly available: TokenSubunitString;
|
|
428
|
+
readonly reserved: TokenSubunitString;
|
|
429
|
+
readonly held: TokenSubunitString;
|
|
430
|
+
readonly rewardProgress: TokenSubunitString;
|
|
431
|
+
}
|
|
432
|
+
interface AdminTokenAggregateLifetimeV1 {
|
|
433
|
+
readonly schemaVersion: EconomyContractVersion;
|
|
434
|
+
readonly bought: TokenSubunitString;
|
|
435
|
+
readonly earned: TokenSubunitString;
|
|
436
|
+
readonly allocated: TokenSubunitString;
|
|
437
|
+
readonly reclaimed: TokenSubunitString;
|
|
438
|
+
readonly spent: TokenSubunitString;
|
|
439
|
+
readonly reversed: TokenSubunitString;
|
|
440
|
+
}
|
|
441
|
+
/** Point-read global projection. It contains no account or wallet identity. */
|
|
442
|
+
interface AdminTokenEconomySummaryV1 {
|
|
443
|
+
readonly schemaVersion: EconomyContractVersion;
|
|
444
|
+
readonly generatedAt: IsoTimestamp;
|
|
445
|
+
readonly projectionAsOf: IsoTimestamp;
|
|
446
|
+
readonly authoritySequence: string;
|
|
447
|
+
readonly walletCount: number;
|
|
448
|
+
readonly activeWalletCount: number;
|
|
449
|
+
readonly balances: AdminTokenAggregateBalancesV1;
|
|
450
|
+
readonly lifetime: AdminTokenAggregateLifetimeV1;
|
|
451
|
+
readonly rawIdentifiersIncluded: false;
|
|
452
|
+
}
|
|
453
|
+
type AdminTokenWalletComponentV1 = "household" | "personal" | "gameplay-allocation";
|
|
454
|
+
type AdminTokenWalletStatusV1 = "active" | "closed";
|
|
455
|
+
type AdminTokenWalletBalanceSortV1 = "available-desc" | "updated-at-desc";
|
|
456
|
+
interface AdminTokenWalletBalanceEntryV1 {
|
|
457
|
+
readonly schemaVersion: EconomyContractVersion;
|
|
458
|
+
readonly walletAlias: string;
|
|
459
|
+
readonly subjectAlias: string;
|
|
460
|
+
readonly component: AdminTokenWalletComponentV1;
|
|
461
|
+
readonly status: AdminTokenWalletStatusV1;
|
|
462
|
+
readonly available: TokenSubunitString;
|
|
463
|
+
readonly reserved: TokenSubunitString;
|
|
464
|
+
readonly held: TokenSubunitString;
|
|
465
|
+
readonly rewardProgress: TokenSubunitString;
|
|
466
|
+
readonly updatedAt: IsoTimestamp;
|
|
467
|
+
readonly authoritySequence: string;
|
|
468
|
+
}
|
|
469
|
+
interface AdminTokenWalletBalanceFilterV1 {
|
|
470
|
+
readonly components?: readonly AdminTokenWalletComponentV1[];
|
|
471
|
+
readonly statuses?: readonly AdminTokenWalletStatusV1[];
|
|
472
|
+
readonly subjectAlias?: string;
|
|
473
|
+
}
|
|
474
|
+
interface AdminTokenWalletBalanceCursorBindingV1 {
|
|
475
|
+
readonly schemaVersion: EconomyContractVersion;
|
|
476
|
+
readonly sort: AdminTokenWalletBalanceSortV1;
|
|
477
|
+
readonly filter?: AdminTokenWalletBalanceFilterV1;
|
|
478
|
+
readonly audience: AdminTokenBalancePseudonymAudienceV1;
|
|
479
|
+
readonly pseudonymVersion: string;
|
|
480
|
+
}
|
|
481
|
+
interface AdminTokenWalletBalancePageRequestV1 {
|
|
482
|
+
readonly schemaVersion: EconomyContractVersion;
|
|
483
|
+
readonly limit: number;
|
|
484
|
+
readonly cursor?: string;
|
|
485
|
+
/** Trusted binding produced only after the host verifies the opaque cursor. */
|
|
486
|
+
readonly cursorBinding?: AdminTokenWalletBalanceCursorBindingV1;
|
|
487
|
+
readonly sort: AdminTokenWalletBalanceSortV1;
|
|
488
|
+
readonly filter?: AdminTokenWalletBalanceFilterV1;
|
|
489
|
+
readonly audience: AdminTokenBalancePseudonymAudienceV1;
|
|
490
|
+
readonly pseudonymVersion: string;
|
|
491
|
+
}
|
|
492
|
+
interface AdminTokenWalletBalanceResultMetadataV1 {
|
|
493
|
+
readonly schemaVersion: EconomyContractVersion;
|
|
494
|
+
readonly generatedAt: IsoTimestamp;
|
|
495
|
+
readonly sort: AdminTokenWalletBalanceSortV1;
|
|
496
|
+
readonly filter?: AdminTokenWalletBalanceFilterV1;
|
|
497
|
+
readonly pageLimit: number;
|
|
498
|
+
readonly audience: AdminTokenBalancePseudonymAudienceV1;
|
|
499
|
+
readonly pseudonymVersion: string;
|
|
500
|
+
readonly rawIdentifiersIncluded: false;
|
|
501
|
+
}
|
|
502
|
+
interface AdminTokenWalletBalancePageV1 {
|
|
503
|
+
readonly schemaVersion: EconomyContractVersion;
|
|
504
|
+
readonly entries: readonly AdminTokenWalletBalanceEntryV1[];
|
|
505
|
+
readonly hasMore: boolean;
|
|
506
|
+
readonly nextCursor?: string;
|
|
507
|
+
readonly metadata: AdminTokenWalletBalanceResultMetadataV1;
|
|
508
|
+
}
|
|
509
|
+
type AdminTokenTrendGranularityV1 = "hour" | "day";
|
|
510
|
+
interface AdminTokenTrendRequestV1 {
|
|
511
|
+
readonly schemaVersion: EconomyContractVersion;
|
|
512
|
+
readonly window: AdminTokenReportingWindowV1;
|
|
513
|
+
readonly granularity: AdminTokenTrendGranularityV1;
|
|
514
|
+
readonly activityTypes?: readonly AdminTokenActivityTypeV1[];
|
|
515
|
+
}
|
|
516
|
+
interface SuppressedAdminTokenTrendAggregateV1 {
|
|
517
|
+
readonly visibility: "suppressed";
|
|
518
|
+
readonly reason: "cohort-below-minimum";
|
|
519
|
+
readonly threshold: typeof ADMIN_TOKEN_MINIMUM_COHORT_SIZE;
|
|
520
|
+
}
|
|
521
|
+
interface ReportedAdminTokenTrendAggregateV1 {
|
|
522
|
+
readonly visibility: "reported";
|
|
523
|
+
readonly distinctSubjects: number;
|
|
524
|
+
readonly activityCount: number;
|
|
525
|
+
readonly signedAmount: TokenSubunitString;
|
|
526
|
+
}
|
|
527
|
+
type AdminTokenTrendAggregateV1 = SuppressedAdminTokenTrendAggregateV1 | ReportedAdminTokenTrendAggregateV1;
|
|
528
|
+
type AdminTokenAnomalyStatusV1 = "normal" | "irregular-spike";
|
|
529
|
+
type AdminTokenAnomalyExplanationCodeV1 = "below-absolute-minimum" | "within-baseline-variation" | "zero-mad-absolute-threshold-exceeded" | "median-mad-and-absolute-threshold-exceeded";
|
|
530
|
+
interface AdminTokenExactStatisticV1 {
|
|
531
|
+
/** Canonical signed integer numerator. */
|
|
532
|
+
readonly numerator: string;
|
|
533
|
+
/** Reduced exact denominator; half-subunits cover both median operations. */
|
|
534
|
+
readonly denominator: 1 | 2;
|
|
535
|
+
}
|
|
536
|
+
interface AdminTokenAnomalyIndicatorV1 {
|
|
537
|
+
readonly method: "same-window-median-mad-v1";
|
|
538
|
+
readonly status: AdminTokenAnomalyStatusV1;
|
|
539
|
+
readonly baselineWindowCount: typeof ADMIN_TOKEN_ANOMALY_BASELINE_DAYS;
|
|
540
|
+
readonly medianAmount: AdminTokenExactStatisticV1;
|
|
541
|
+
readonly medianAbsoluteDeviation: AdminTokenExactStatisticV1;
|
|
542
|
+
readonly minimumAbsoluteDelta: TokenSubunitString;
|
|
543
|
+
readonly deviationFromMedian: AdminTokenExactStatisticV1;
|
|
544
|
+
readonly madMultiplierMilli: number;
|
|
545
|
+
readonly explanationCode: AdminTokenAnomalyExplanationCodeV1;
|
|
546
|
+
}
|
|
547
|
+
type AdminTokenAnomalyUnavailableReasonV1 = "insufficient-history" | "privacy-suppressed-baseline";
|
|
548
|
+
interface AdminTokenAnomalyUnavailableV1 {
|
|
549
|
+
readonly method: "same-window-median-mad-v1";
|
|
550
|
+
readonly status: "unavailable";
|
|
551
|
+
readonly reason: AdminTokenAnomalyUnavailableReasonV1;
|
|
552
|
+
readonly eligibleBaselineWindowCount: number;
|
|
553
|
+
readonly requiredBaselineWindowCount: typeof ADMIN_TOKEN_ANOMALY_BASELINE_DAYS;
|
|
554
|
+
}
|
|
555
|
+
type AdminTokenAnomalyV1 = AdminTokenAnomalyIndicatorV1 | AdminTokenAnomalyUnavailableV1;
|
|
556
|
+
interface AdminTokenAnomalyBaselineSampleV1 {
|
|
557
|
+
readonly amount: TokenSubunitString;
|
|
558
|
+
readonly distinctSubjects: number;
|
|
559
|
+
}
|
|
560
|
+
interface CreateAdminTokenAnomalyIndicatorInputV1 {
|
|
561
|
+
readonly observedAmount: TokenSubunitString;
|
|
562
|
+
/** Exactly 28 preceding, non-suppressed values for the same time window. */
|
|
563
|
+
readonly baselineSamples: readonly AdminTokenAnomalyBaselineSampleV1[];
|
|
564
|
+
readonly minimumAbsoluteDelta: TokenSubunitString;
|
|
565
|
+
/** Fixed-point multiplier where 1,000 represents one MAD. */
|
|
566
|
+
readonly madMultiplierMilli: number;
|
|
567
|
+
}
|
|
568
|
+
interface CreateAdminTokenAnomalyUnavailableInputV1 {
|
|
569
|
+
readonly reason: AdminTokenAnomalyUnavailableReasonV1;
|
|
570
|
+
readonly eligibleBaselineWindowCount: number;
|
|
571
|
+
}
|
|
572
|
+
interface AdminTokenTrendPointBaseV1 {
|
|
573
|
+
readonly schemaVersion: EconomyContractVersion;
|
|
574
|
+
readonly bucketStart: IsoTimestamp;
|
|
575
|
+
readonly bucketEnd: IsoTimestamp;
|
|
576
|
+
readonly activityType: AdminTokenActivityTypeV1;
|
|
577
|
+
}
|
|
578
|
+
interface SuppressedAdminTokenTrendPointV1 extends AdminTokenTrendPointBaseV1 {
|
|
579
|
+
readonly aggregate: SuppressedAdminTokenTrendAggregateV1;
|
|
580
|
+
readonly anomaly?: never;
|
|
581
|
+
}
|
|
582
|
+
interface ReportedAdminTokenTrendPointV1 extends AdminTokenTrendPointBaseV1 {
|
|
583
|
+
readonly aggregate: ReportedAdminTokenTrendAggregateV1;
|
|
584
|
+
readonly anomaly: AdminTokenAnomalyV1;
|
|
585
|
+
}
|
|
586
|
+
type AdminTokenTrendPointV1 = SuppressedAdminTokenTrendPointV1 | ReportedAdminTokenTrendPointV1;
|
|
587
|
+
interface AdminTokenTrendResultMetadataV1 extends AdminTokenReportingWindowV1 {
|
|
588
|
+
readonly schemaVersion: EconomyContractVersion;
|
|
589
|
+
readonly generatedAt: IsoTimestamp;
|
|
590
|
+
readonly granularity: AdminTokenTrendGranularityV1;
|
|
591
|
+
/** Explicit server-normalized activity types represented by this result. */
|
|
592
|
+
readonly activityTypes: readonly AdminTokenActivityTypeV1[];
|
|
593
|
+
readonly minimumCohortSize: typeof ADMIN_TOKEN_MINIMUM_COHORT_SIZE;
|
|
594
|
+
readonly anomalyBaselineDays: typeof ADMIN_TOKEN_ANOMALY_BASELINE_DAYS;
|
|
595
|
+
/** This literal is a machine-testable non-disclosure assertion. */
|
|
596
|
+
readonly rawIdentifiersIncluded: false;
|
|
597
|
+
}
|
|
598
|
+
interface AdminTokenTrendResultV1 {
|
|
599
|
+
readonly schemaVersion: EconomyContractVersion;
|
|
600
|
+
readonly series: readonly AdminTokenTrendPointV1[];
|
|
601
|
+
readonly metadata: AdminTokenTrendResultMetadataV1;
|
|
602
|
+
}
|
|
603
|
+
/**
|
|
604
|
+
* Provider-neutral read boundary. Authentication, authorization, HMAC aliases,
|
|
605
|
+
* query timeouts, rate limits, and database access remain host responsibilities.
|
|
606
|
+
*/
|
|
607
|
+
interface AdminEconomyReportingQueryPortV1 {
|
|
608
|
+
getAdminTokenEconomySummary(): Promise<AdminTokenEconomySummaryV1>;
|
|
609
|
+
listAdminTokenWalletBalances(request: AdminTokenWalletBalancePageRequestV1): Promise<AdminTokenWalletBalancePageV1>;
|
|
610
|
+
listAdminTokenActivity(request: AdminTokenActivityPageRequestV1): Promise<AdminTokenActivityPageV1>;
|
|
611
|
+
getAdminTokenTrends(request: AdminTokenTrendRequestV1): Promise<AdminTokenTrendResultV1>;
|
|
612
|
+
}
|
|
613
|
+
/** Constructs the deterministic 30-day interactive default ending at `asOf`. */
|
|
614
|
+
declare function createDefaultAdminTokenReportingWindow(asOf: IsoTimestamp): AdminTokenReportingWindowV1;
|
|
615
|
+
/** Validates a point-read global economy projection with exact totals. */
|
|
616
|
+
declare function assertAdminTokenEconomySummary(summary: AdminTokenEconomySummaryV1): void;
|
|
617
|
+
declare function assertAdminTokenWalletBalanceCursorBinding(binding: AdminTokenWalletBalanceCursorBindingV1): void;
|
|
618
|
+
declare function assertAdminTokenWalletBalancePageRequest(request: AdminTokenWalletBalancePageRequestV1): void;
|
|
619
|
+
declare function assertAdminTokenWalletBalancePage(page: AdminTokenWalletBalancePageV1): void;
|
|
620
|
+
declare function assertAdminTokenWalletBalancePageForRequest(page: AdminTokenWalletBalancePageV1, request: AdminTokenWalletBalancePageRequestV1): void;
|
|
621
|
+
/** Validates one narrow row and rejects all undeclared identifier properties. */
|
|
622
|
+
declare function assertAdminTokenActivityEntry(entry: AdminTokenActivityEntryV1): void;
|
|
623
|
+
/** Validates the trusted query scope decoded from a signed opaque cursor. */
|
|
624
|
+
declare function assertAdminTokenActivityCursorBinding(binding: AdminTokenActivityCursorBindingV1): void;
|
|
625
|
+
/** Validates a bounded, normalized Admin activity query. */
|
|
626
|
+
declare function assertAdminTokenActivityPageRequest(request: AdminTokenActivityPageRequestV1): void;
|
|
627
|
+
/** Validates page privacy metadata, bounds, uniqueness, and stable order. */
|
|
628
|
+
declare function assertAdminTokenActivityPage(page: AdminTokenActivityPageV1): void;
|
|
629
|
+
/**
|
|
630
|
+
* Proves that a result retained the server-normalized window, sort, audience,
|
|
631
|
+
* pseudonym version, page bound, and filters of its request.
|
|
632
|
+
*/
|
|
633
|
+
declare function assertAdminTokenActivityPageForRequest(page: AdminTokenActivityPageV1, request: AdminTokenActivityPageRequestV1): void;
|
|
634
|
+
/** Validates a bounded trend request before a reporting adapter runs it. */
|
|
635
|
+
declare function assertAdminTokenTrendRequest(request: AdminTokenTrendRequestV1): void;
|
|
636
|
+
/**
|
|
637
|
+
* Creates an exact, explainable conventional same-window median/MAD indicator.
|
|
638
|
+
* Exact rational statistics avoid floating-point and preserve half-TokenSubunit
|
|
639
|
+
* results from the two even-sized median operations.
|
|
640
|
+
*/
|
|
641
|
+
declare function createAdminTokenAnomalyIndicator(input: CreateAdminTokenAnomalyIndicatorInputV1): AdminTokenAnomalyIndicatorV1;
|
|
642
|
+
/** Creates a non-identifying explanation when 28 eligible baselines do not exist. */
|
|
643
|
+
declare function createAdminTokenAnomalyUnavailable(input: CreateAdminTokenAnomalyUnavailableInputV1): AdminTokenAnomalyUnavailableV1;
|
|
644
|
+
/** Validates suppression, bucket bounds, exact arithmetic, and anomaly details. */
|
|
645
|
+
declare function assertAdminTokenTrendResult(result: AdminTokenTrendResultV1): void;
|
|
646
|
+
/**
|
|
647
|
+
* Proves that a trend result retained the normalized window, granularity, and
|
|
648
|
+
* activity-type selection of its request.
|
|
649
|
+
*/
|
|
650
|
+
declare function assertAdminTokenTrendResultForRequest(result: AdminTokenTrendResultV1, request: AdminTokenTrendRequestV1): void;
|
|
651
|
+
|
|
329
652
|
type AllocationStatus = "active" | "closed";
|
|
330
653
|
type PeriodicLimitWindow = "daily" | "weekly" | "monthly";
|
|
331
654
|
interface GameplayLimitsV1 {
|
|
@@ -905,7 +1228,7 @@ interface EconomyIdPort {
|
|
|
905
1228
|
}
|
|
906
1229
|
|
|
907
1230
|
/** Additive authoritative command types; legacy V1/V2 command unions stay unchanged. */
|
|
908
|
-
type EconomyAuditedCommandTypeV1 = EconomyCommandType | "initialize-wallet";
|
|
1231
|
+
type EconomyAuditedCommandTypeV1 = EconomyCommandType | "initialize-wallet" | "initialize-admin-reporting";
|
|
909
1232
|
type EconomyCommandSourceV1 = "browser" | "shopify" | "ayet" | "bitlabs" | "operator" | "system";
|
|
910
1233
|
type EconomyCommandProcessingModeV1 = "initial" | "replay";
|
|
911
1234
|
type EconomyPrincipalTypeV1 = "account" | "delegated-child" | "service" | "operator";
|
|
@@ -2321,4 +2644,4 @@ declare function createPersonalWalletInitializationState(input: CreatePersonalWa
|
|
|
2321
2644
|
/** Proves the personal-wallet initialization state is complete and exact-zero. */
|
|
2322
2645
|
declare function assertPersonalWalletInitializationState(state: PersonalWalletInitializationStateV1): void;
|
|
2323
2646
|
|
|
2324
|
-
export { type AccountId, type ActivityEntryV1, type ActivityStatus, type ActivityType, type AdjustmentRequestV1, type AdjustmentStatus, type AllocationId, type AllocationStatus, type AuditedChainedEconomicJournalTransactionV1, type AuditedEconomyCommandEnvelopeV1, BASELINE_GBP_CATALOG_VERSION, BASELINE_GBP_REFERENCE_RATE, BASELINE_GBP_TOKEN_PACKS, BASELINE_MONTHLY_SUBSCRIPTION_PLAN, BASELINE_PURCHASE_LIMIT_POLICY, type BalanceProjection, type BalanceProjectionSnapshotV1, type BitLabsConversionState, type BoostGameplayAllocationInputV1, type CanonicalPayloadHashFunctionV1, type ChainedEconomicJournalTransactionV1, type CloseModuleAllowanceInputV1, type CreateGameplayAllocationInputV1, type CreateModuleAllowanceInputV1, type CreateModulePurchaseReceiptInputV1, type CreateModuleSpendHoldInputV1, type CreateModuleSpendQuoteInputV1, type CreatePersonalWalletInitializationStateInputV1, EARLY_BACKER_SETTLEMENT_POLICY_V2, ECONOMY_AUTHORITY_COMMIT_OVERHEAD_OPERATIONS, ECONOMY_AUTHORITY_MAX_BATCH_BYTES, ECONOMY_AUTHORITY_MAX_BATCH_OPERATIONS, ECONOMY_AUTHORITY_MAX_RECORD_REFERENCES, ECONOMY_CONTRACT_VERSION, ECONOMY_RECOVERY_PROTOCOL_VERSION, type EarlyBackerEvaluationV1, type EarlyBackerEvaluationV2, type EarlyBackerWindowV1, type EconomicActivityStatusV1, type EconomicJournalStatus, type EconomicJournalTransactionV1, type EconomicWalletActivityEntryV1, type EconomyAcceptedCommandReceiptV1, type EconomyAcquisitionProviderV1, type EconomyAuditGraphV1, type EconomyAuditedCommandTypeV1, type EconomyAuditedIdempotencyResultV1, type EconomyAuditedIdempotencyScopeV1, type EconomyAuditedIdempotencyStateV1, type EconomyAuthorityCommitKindV1, type EconomyAuthorityCommitManifestV1, type EconomyAuthorityHeadV1, type EconomyAuthorityRecordKindV1, type EconomyAuthorityRecordReferenceV1, type EconomyAuthorityStateV1, type EconomyAuthorityWriteKindV1, type EconomyAuthorizationEvidenceV1, type EconomyCausationKindV1, type EconomyCausationReferenceV1, type EconomyClockPort, type EconomyCommandEnvelopeV1, type EconomyCommandProcessingDispositionV1, type EconomyCommandProcessingModeV1, type EconomyCommandResultOutcomeV1, type EconomyCommandResultReceiptV1, type EconomyCommandSourceV1, type EconomyCommandType, type EconomyCommandWorkflowEventV1, type EconomyCommandWorkflowStateV1, type EconomyContractVersion, type EconomyEncryptedOperationalHandleBindingV1, EconomyError, type EconomyErrorCode, type EconomyErrorEnvelopeV1, type EconomyEvidenceRecordReferenceV1, type EconomyEvidenceSignatureAlgorithmV1, type EconomyEvidenceSignatureMetadataV1, type EconomyEvidenceSignatureV1, type EconomyEvidenceSignatureVerificationInputV1, type EconomyEvidenceSignatureVerifierV1, type EconomyHmacFingerprintDomainV1, type EconomyHmacFingerprintV1, type EconomyHmacSha256DigestV1, type EconomyIdPort, type EconomyIdempotencyScopeV1, type EconomyIntegrityAnchorManifestV1, type EconomyIntegrityFailureCodeV1, type EconomyIntegrityVerificationReceiptV1, type EconomyIntegrityVerificationStatusV1, type EconomyMerkleInclusionProofV1, type EconomyMerkleProofStepV1, type EconomyOperationalHandlePurposeV1, type EconomyOutboxEventV1, type EconomyPersistencePort, type EconomyPersistencePortV2, type EconomyPersistencePortV3, type EconomyPortableCustomerReceiptBodyV1, type EconomyPortableCustomerReceiptV1, type EconomyPortableEvidenceReferenceV1, type EconomyPreparedEvidenceSignatureV1, type EconomyPrincipalTypeV1, type EconomyProviderEvidenceHashV1, type EconomyProviderEvidenceManifestV1, type EconomyQueryPortV1, type EconomyRecoveryAcceptanceBodyV1, type EconomyRecoveryAcceptanceEnvelopeV1, type EconomyRecoveryCommittedResultBodyV1, type EconomyRecoveryCommittedResultV1, type EconomyRecoveryDirectionV1, type EconomyRecoveryProtocolVersion, type EconomyRecoveryRecordKindV1, type EconomyRegionalEvidenceReceiptBodyV1, type EconomyRegionalEvidenceReceiptV1, type EconomySealedRecoveryPayloadV1, type EconomyUnitOfWork, type EconomyUnitOfWorkV2, type EconomyUnitOfWorkV3, type FundModuleAllowanceInputV1, type FxSnapshotV1, type GameplayAllocationV1, type GameplayLimitsV1, type GbpMinorUnitString, type HashedEconomyAuthorityCommitManifestV1, type HouseholdId, type IsoTimestamp, type JournalChainHeadV1, type JournalChainId, type JournalChainVerificationFailureCodeV1, type JournalChainVerificationResultV1, type LearningEntitlementId, type LearningModuleVersionId, type LedgerPostingV1, type LedgerTransactionV1, type LotId, type LotRefundState, type LotTransferPolicy, type LotUseContextV1, type LotUseOperation, MODULE_ALLOWANCE_PURPOSE, type ModuleAllowanceId, type ModuleAllowanceStatusV1, type ModuleAllowanceV1, type ModulePurchaseEntitlementStateV1, type ModulePurchaseFinancialStateV1, type ModulePurchaseReceiptV1, type ModulePurchaseReconciliationActionV1, type ModulePurchaseReconciliationObservationV1, type ModulePurchaseReconciliationResultV1, type ModuleSpendHoldId, type ModuleSpendHoldStatusV1, type ModuleSpendHoldV1, type ModuleSpendQuoteId, type ModuleSpendQuoteV1, type ModuleSpendTransitionResultV1, type OperatorAdjustmentDecisionKindV1, type OperatorAdjustmentDecisionV1, type OperatorAdjustmentExecutionV1, type OperatorAdjustmentFailureCodeV1, type OperatorAdjustmentOperationV1, type OperatorAdjustmentPreviewV1, type OperatorAdjustmentProposalStatusV1, type OperatorAdjustmentProposalV1, type OperatorAdjustmentRefundPolicyV1, type OperatorAdjustmentTargetComponentV1, PRE_UTILITY_BACKER_COHORT, type PaidLotLifecycleArithmeticV1, type PaidLotLifecycleEventTypeV1, type PaidLotLifecycleEventV1, type PaidLotLifecycleMutationResultV1, type PaidLotLifecycleReceiptV1, type PaidLotLifecycleStatusV1, type PaidLotLifecycleV1, type PaidLotPurchaseProvenanceV1, type PaidLotRetentionV1, type PeriodicLimitWindow, type PersistedIdempotencyResultV1, type PersonalWalletInitializationCommandV1, type PersonalWalletInitializationDocumentIdsV1, type PersonalWalletInitializationOutboxIntentV1, type PersonalWalletInitializationStateV1, type PostingId, type ProviderEventId, type PurchaseCapMutationResultV1, type PurchaseCapReservationStatusV1, type PurchaseCapReservationTransitionReceiptV1, type PurchaseCapReservationTransitionTypeV1, type PurchaseCapReservationTransitionV1, type PurchaseCapReservationV1, type PurchaseCapScopeTypeV1, type PurchaseCreditInstructionV1, type PurchaseIntentDisputeDispositionV1, type PurchaseIntentLifecycleV1, type PurchaseIntentReductionV1, type PurchaseIntentStatus, type PurchaseIntentTransitionReceiptV1, type PurchaseIntentTransitionResultV1, type PurchaseIntentTransitionTypeV1, type PurchaseIntentTransitionV1, type PurchaseIntentV1, type PurchaseLimitPolicyV1, type ReclaimGameplayAllocationInputV1, type ReclaimModuleAllowanceInputV1, type RecurrenceInterval, type ReleaseModuleSpendHoldInputV1, type ReservePurchaseCapsCommandV1, type ReversalInputV1, type RewardActivityTransitionV1, type RewardConversionStatus, type RewardConversionV1, type RewardRateV1, type RollingPurchaseCapStateV1, type ScopedPersistedIdempotencyResultV1, type SettleModuleSpendHoldInputV1, type SourceLotMovementType, type SourceLotMovementV1, type SourceLotSliceV1, type SourceLotV1, type SpendRequestPurpose, type SpendRequestStatus, type SpendRequestV1, TOKEN_SUBUNITS_MAX, TOKEN_SUBUNITS_MIN, TOKEN_SUBUNITS_PER_TOKEN, type TokenPackV1, type TokenReferenceRateV1, type TokenSource, type TokenSubscriptionPlanV1, type TokenSubunitString, type TransactionId, type VersionedSourceLotV1, type WalletActivityEntryV1, type WalletActivityFilterV1, type WalletActivityPageRequestV1, type WalletActivityPageV1, type WalletActivityStatusV1, type WalletBalanceDeltaV1, type WalletBalanceProjectionV1, type WalletBalanceSummaryV1, type WalletBalanceTotalsV1, type WalletId, type WalletInitializationNoOpCodeV1, type WalletKind, type WalletLifetimeBucket, type WalletLifetimeDeltaV1, type WalletLifetimeSnapshotV1, type WalletLifetimeTotalsV1, type WalletOwnerReferenceV1, type WalletOwnerType, type WalletPortfolioBalanceComponentV1, type WalletPortfolioComponentRole, type WalletPortfolioComponentScopeV1, type WalletPortfolioLifetimeComponentV1, type WalletPortfolioLifetimeV1, type WalletPortfolioReadScopeV1, type WalletPortfolioSummaryV1, type WalletPostingAccountBindingV1, type WalletProjectionBucket, type WalletStatus, type WalletV1, type WorkflowActivityStatusV1, type WorkflowWalletActivityEntryV1, advanceEconomyAuthorityHead, advanceJournalChainHead, applyPaidLotLifecycleEvent, applyPurchaseIntentTransition, applySourceLotMovement, applyTransactionToProjection, applyWalletBalanceDelta, applyWalletLifetimeDeltas, assertActivityEntry, assertAuditedEconomyCommandEnvelope, assertBalancedTransaction, assertDeterministicWalletBalanceSummary, assertDistinctAdjustmentApproval, assertEconomicJournalTransaction, assertEconomyAcceptedCommandReceipt, assertEconomyAuditGraph, assertEconomyAuditedIdempotencyResult, assertEconomyAuditedIdempotencyScope, assertEconomyAuthorityBatchLimits, assertEconomyAuthorityCommitManifest, assertEconomyAuthorityHead, assertEconomyAuthorityRecordReference, assertEconomyAuthorityRecoveryEvidence, assertEconomyAuthorizationEvidence, assertEconomyCommandEnvelope, assertEconomyCommandResultReceipt, assertEconomyCommandWorkflowEvent, assertEconomyEncryptedOperationalHandleBinding, assertEconomyEvidenceSignature, assertEconomyEvidenceSignatureMetadata, assertEconomyHmacFingerprint, assertEconomyIdempotencyScope, assertEconomyIdentifier, assertEconomyIntegrityAnchorManifest, assertEconomyIntegrityVerificationReceipt, assertEconomyMerkleInclusion, assertEconomyMerkleInclusionProof, assertEconomyPortableCustomerReceipt, assertEconomyPortableCustomerReceiptEvidence, assertEconomyPortableCustomerReceiptSignature, assertEconomyProviderEvidenceHash, assertEconomyProviderEvidenceManifest, assertEconomyRecoveryAcceptanceEnvelope, assertEconomyRecoveryCommittedResult, assertEconomyRecoveryResultLink, assertEconomyRegionalEvidenceChain, assertEconomyRegionalEvidenceEquality, assertEconomyRegionalEvidenceReceipt, assertEconomyRegionalEvidenceReceiptSignature, assertEconomySealedRecoveryPayload, assertExactAuditedEconomyCommandReplay, assertFlatTokenCatalog, assertFxSnapshot, assertGameplayAllocation, assertJournalChainHead, assertModuleAllowance, assertModulePurchaseReceipt, assertModulePurchaseReconciliationObservation, assertModuleSpendHold, assertModuleSpendQuote, assertNonNegativeAccounts, assertOpenPurchaseIntent, assertOperatorAdjustmentDecision, assertOperatorAdjustmentExecution, assertOperatorAdjustmentPreview, assertOperatorAdjustmentProposal, assertPaidLotLifecycle, assertPaidLotLifecycleEvent, assertPaidLotPurchaseProvenance, assertPersonalWalletInitializationCommand, assertPersonalWalletInitializationOutboxIntent, assertPersonalWalletInitializationState, assertPurchaseCapReservation, assertPurchaseCapReservationTransition, assertPurchaseIntentBinding, assertPurchaseIntentLifecycle, assertPurchaseIntentTransition, assertPurchaseLimitPolicy, assertReversalAvailable, assertRewardConversion, assertRewardRate, assertRollingPurchaseCapState, assertScopedPersistedIdempotencyResult, assertSourceLot, assertSourceLotMovement, assertSpendRequest, assertTokenPack, assertTokenReferenceRate, assertTokenSubscriptionPlan, assertVersionedSourceLot, assertWallet, assertWalletActivityEntry, assertWalletActivityPage, assertWalletActivityPageForPortfolio, assertWalletActivityPageRequest, assertWalletBalanceDelta, assertWalletBalanceDeltaBatch, assertWalletBalanceProjection, assertWalletBalanceSummary, assertWalletLifetimeSnapshot, assertWalletLifetimeTotals, assertWalletOwnerReference, assertWalletPortfolioLifetime, assertWalletPortfolioReadScope, assertWalletPortfolioSummary, availableSourceLotAmount, boostGameplayAllocation, calculateRollingPurchaseCapUsage, canUseSourceLot, canonicalAuditedEconomyCommandEnvelopePayload, canonicalEconomyAcceptedCommandReceiptPayload, canonicalEconomyAuthorityCommitManifestPayload, canonicalEconomyAuthorityHeadPayload, canonicalEconomyCommandResultReceiptPayload, canonicalEconomyEncryptedOperationalHandleBindingPayload, canonicalEconomyIntegrityAnchorManifestPayload, canonicalEconomyIntegrityVerificationReceiptPayload, canonicalEconomyPortableCustomerReceiptBodyPayload, canonicalEconomyPortableCustomerReceiptPayload, canonicalEconomyPortableCustomerReceiptSigningPayload, canonicalEconomyProviderEvidenceHashPayload, canonicalEconomyProviderEvidenceManifestPayload, canonicalEconomyRecoveryAcceptanceBodyPayload, canonicalEconomyRecoveryAcceptanceEnvelopePayload, canonicalEconomyRecoveryCommittedResultBodyPayload, canonicalEconomyRecoveryCommittedResultPayload, canonicalEconomyRegionalEvidenceReceiptBodyPayload, canonicalEconomyRegionalEvidenceReceiptPayload, canonicalEconomyRegionalEvidenceReceiptSigningPayload, canonicalOperatorAdjustmentDecisionPayload, canonicalOperatorAdjustmentExecutionPayload, canonicalOperatorAdjustmentPreviewPayload, canonicalOperatorAdjustmentProposalPayload, canonicalPersonalWalletInitializationCommandPayload, canonicalPersonalWalletInitializationOutboxPayload, canonicalTransactionPayload, closeModuleAllowance, convertRewardPayout, createEarlyBackerRetentionFromPaidLot, createEconomyPortableCustomerReceipt, createEconomyRecoveryAcceptanceEnvelope, createEconomyRecoveryCommittedResult, createEconomyRegionalEvidenceReceipt, createGameplayAllocation, createInitialSourceLotSnapshot, createModuleAllowance, createModulePurchaseReceipt, createModuleSpendHold, createModuleSpendQuote, createPaidLotLifecycle, createPersonalWalletInitializationDocumentIds, createPersonalWalletInitializationState, createProjectionSnapshot, createPurchaseIntentLifecycle, createReversalTransaction, createRollingPurchaseCapState, createWalletBalanceSummary, createWalletPortfolioLifetime, createWalletPortfolioSummary, deriveWalletBalanceDeltas, deriveWalletLifetimeDeltas, economyAssert, evaluateEarlyBacker, evaluateEarlyBackerBySettlementV2, fundModuleAllowance, isWholeTokenAmount, mapBitLabsConversionState, parseGbpMinorUnits, parseIsoTimestamp, parseTokenSubunits, prepareEconomyPortableCustomerReceiptSignature, prepareEconomyRegionalEvidenceReceiptSignature, rebuildBalanceProjection, reclaimGameplayAllocation, reclaimModuleAllowance, reconcileModulePurchase, reducePaidLotLifecycleEvents, reducePurchaseIntentTransitions, releaseModuleSpendHold, reserveRollingPurchaseCaps, selectSourceLots, serializeGbpMinorUnits, serializeTokenSubunits, settleModuleSpendHold, sortEconomyAuthorityRecordReferences, sortStringRecord, subunitsToWholeTokens, sumTokenSubunits, toEconomyErrorEnvelope, transitionRollingPurchaseCapReservation, verifyJournalChainSegment, wholeTokensToSubunits };
|
|
2647
|
+
export { ADMIN_TOKEN_ANOMALY_BASELINE_DAYS, ADMIN_TOKEN_DEFAULT_WINDOW_DAYS, ADMIN_TOKEN_MAXIMUM_HOURLY_WINDOW_DAYS, ADMIN_TOKEN_MAXIMUM_PAGE_SIZE, ADMIN_TOKEN_MAXIMUM_TREND_POINTS, ADMIN_TOKEN_MAXIMUM_WINDOW_DAYS, ADMIN_TOKEN_MINIMUM_COHORT_SIZE, type AccountId, type ActivityEntryV1, type ActivityStatus, type ActivityType, type AdjustmentRequestV1, type AdjustmentStatus, type AdminEconomyReportingQueryPortV1, type AdminTokenActivityCursorBindingV1, type AdminTokenActivityEntryV1, type AdminTokenActivityFilterV1, type AdminTokenActivityPageRequestV1, type AdminTokenActivityPageV1, type AdminTokenActivityResultMetadataV1, type AdminTokenActivitySortV1, type AdminTokenActivitySourceV1, type AdminTokenActivityStatusV1, type AdminTokenActivityTypeV1, type AdminTokenAggregateBalancesV1, type AdminTokenAggregateLifetimeV1, type AdminTokenAnomalyBaselineSampleV1, type AdminTokenAnomalyExplanationCodeV1, type AdminTokenAnomalyIndicatorV1, type AdminTokenAnomalyStatusV1, type AdminTokenAnomalyUnavailableReasonV1, type AdminTokenAnomalyUnavailableV1, type AdminTokenAnomalyV1, type AdminTokenBalancePseudonymAudienceV1, type AdminTokenEconomySummaryV1, type AdminTokenExactStatisticV1, type AdminTokenPseudonymAudienceV1, type AdminTokenReportingWindowV1, type AdminTokenSafeLabelV1, type AdminTokenTrendAggregateV1, type AdminTokenTrendGranularityV1, type AdminTokenTrendPointV1, type AdminTokenTrendRequestV1, type AdminTokenTrendResultMetadataV1, type AdminTokenTrendResultV1, type AdminTokenWalletBalanceCursorBindingV1, type AdminTokenWalletBalanceEntryV1, type AdminTokenWalletBalanceFilterV1, type AdminTokenWalletBalancePageRequestV1, type AdminTokenWalletBalancePageV1, type AdminTokenWalletBalanceResultMetadataV1, type AdminTokenWalletBalanceSortV1, type AdminTokenWalletComponentV1, type AdminTokenWalletStatusV1, type AllocationId, type AllocationStatus, type AuditedChainedEconomicJournalTransactionV1, type AuditedEconomyCommandEnvelopeV1, BASELINE_GBP_CATALOG_VERSION, BASELINE_GBP_REFERENCE_RATE, BASELINE_GBP_TOKEN_PACKS, BASELINE_MONTHLY_SUBSCRIPTION_PLAN, BASELINE_PURCHASE_LIMIT_POLICY, type BalanceProjection, type BalanceProjectionSnapshotV1, type BitLabsConversionState, type BoostGameplayAllocationInputV1, type CanonicalPayloadHashFunctionV1, type ChainedEconomicJournalTransactionV1, type CloseModuleAllowanceInputV1, type CreateAdminTokenAnomalyIndicatorInputV1, type CreateAdminTokenAnomalyUnavailableInputV1, type CreateGameplayAllocationInputV1, type CreateModuleAllowanceInputV1, type CreateModulePurchaseReceiptInputV1, type CreateModuleSpendHoldInputV1, type CreateModuleSpendQuoteInputV1, type CreatePersonalWalletInitializationStateInputV1, EARLY_BACKER_SETTLEMENT_POLICY_V2, ECONOMY_AUTHORITY_COMMIT_OVERHEAD_OPERATIONS, ECONOMY_AUTHORITY_MAX_BATCH_BYTES, ECONOMY_AUTHORITY_MAX_BATCH_OPERATIONS, ECONOMY_AUTHORITY_MAX_RECORD_REFERENCES, ECONOMY_CONTRACT_VERSION, ECONOMY_RECOVERY_PROTOCOL_VERSION, type EarlyBackerEvaluationV1, type EarlyBackerEvaluationV2, type EarlyBackerWindowV1, type EconomicActivityStatusV1, type EconomicJournalStatus, type EconomicJournalTransactionV1, type EconomicWalletActivityEntryV1, type EconomyAcceptedCommandReceiptV1, type EconomyAcquisitionProviderV1, type EconomyAuditGraphV1, type EconomyAuditedCommandTypeV1, type EconomyAuditedIdempotencyResultV1, type EconomyAuditedIdempotencyScopeV1, type EconomyAuditedIdempotencyStateV1, type EconomyAuthorityCommitKindV1, type EconomyAuthorityCommitManifestV1, type EconomyAuthorityHeadV1, type EconomyAuthorityRecordKindV1, type EconomyAuthorityRecordReferenceV1, type EconomyAuthorityStateV1, type EconomyAuthorityWriteKindV1, type EconomyAuthorizationEvidenceV1, type EconomyCausationKindV1, type EconomyCausationReferenceV1, type EconomyClockPort, type EconomyCommandEnvelopeV1, type EconomyCommandProcessingDispositionV1, type EconomyCommandProcessingModeV1, type EconomyCommandResultOutcomeV1, type EconomyCommandResultReceiptV1, type EconomyCommandSourceV1, type EconomyCommandType, type EconomyCommandWorkflowEventV1, type EconomyCommandWorkflowStateV1, type EconomyContractVersion, type EconomyEncryptedOperationalHandleBindingV1, EconomyError, type EconomyErrorCode, type EconomyErrorEnvelopeV1, type EconomyEvidenceRecordReferenceV1, type EconomyEvidenceSignatureAlgorithmV1, type EconomyEvidenceSignatureMetadataV1, type EconomyEvidenceSignatureV1, type EconomyEvidenceSignatureVerificationInputV1, type EconomyEvidenceSignatureVerifierV1, type EconomyHmacFingerprintDomainV1, type EconomyHmacFingerprintV1, type EconomyHmacSha256DigestV1, type EconomyIdPort, type EconomyIdempotencyScopeV1, type EconomyIntegrityAnchorManifestV1, type EconomyIntegrityFailureCodeV1, type EconomyIntegrityVerificationReceiptV1, type EconomyIntegrityVerificationStatusV1, type EconomyMerkleInclusionProofV1, type EconomyMerkleProofStepV1, type EconomyOperationalHandlePurposeV1, type EconomyOutboxEventV1, type EconomyPersistencePort, type EconomyPersistencePortV2, type EconomyPersistencePortV3, type EconomyPortableCustomerReceiptBodyV1, type EconomyPortableCustomerReceiptV1, type EconomyPortableEvidenceReferenceV1, type EconomyPreparedEvidenceSignatureV1, type EconomyPrincipalTypeV1, type EconomyProviderEvidenceHashV1, type EconomyProviderEvidenceManifestV1, type EconomyQueryPortV1, type EconomyRecoveryAcceptanceBodyV1, type EconomyRecoveryAcceptanceEnvelopeV1, type EconomyRecoveryCommittedResultBodyV1, type EconomyRecoveryCommittedResultV1, type EconomyRecoveryDirectionV1, type EconomyRecoveryProtocolVersion, type EconomyRecoveryRecordKindV1, type EconomyRegionalEvidenceReceiptBodyV1, type EconomyRegionalEvidenceReceiptV1, type EconomySealedRecoveryPayloadV1, type EconomyUnitOfWork, type EconomyUnitOfWorkV2, type EconomyUnitOfWorkV3, type FundModuleAllowanceInputV1, type FxSnapshotV1, type GameplayAllocationV1, type GameplayLimitsV1, type GbpMinorUnitString, type HashedEconomyAuthorityCommitManifestV1, type HouseholdId, type IsoTimestamp, type JournalChainHeadV1, type JournalChainId, type JournalChainVerificationFailureCodeV1, type JournalChainVerificationResultV1, type LearningEntitlementId, type LearningModuleVersionId, type LedgerPostingV1, type LedgerTransactionV1, type LotId, type LotRefundState, type LotTransferPolicy, type LotUseContextV1, type LotUseOperation, MODULE_ALLOWANCE_PURPOSE, type ModuleAllowanceId, type ModuleAllowanceStatusV1, type ModuleAllowanceV1, type ModulePurchaseEntitlementStateV1, type ModulePurchaseFinancialStateV1, type ModulePurchaseReceiptV1, type ModulePurchaseReconciliationActionV1, type ModulePurchaseReconciliationObservationV1, type ModulePurchaseReconciliationResultV1, type ModuleSpendHoldId, type ModuleSpendHoldStatusV1, type ModuleSpendHoldV1, type ModuleSpendQuoteId, type ModuleSpendQuoteV1, type ModuleSpendTransitionResultV1, type OperatorAdjustmentDecisionKindV1, type OperatorAdjustmentDecisionV1, type OperatorAdjustmentExecutionV1, type OperatorAdjustmentFailureCodeV1, type OperatorAdjustmentOperationV1, type OperatorAdjustmentPreviewV1, type OperatorAdjustmentProposalStatusV1, type OperatorAdjustmentProposalV1, type OperatorAdjustmentRefundPolicyV1, type OperatorAdjustmentTargetComponentV1, PRE_UTILITY_BACKER_COHORT, type PaidLotLifecycleArithmeticV1, type PaidLotLifecycleEventTypeV1, type PaidLotLifecycleEventV1, type PaidLotLifecycleMutationResultV1, type PaidLotLifecycleReceiptV1, type PaidLotLifecycleStatusV1, type PaidLotLifecycleV1, type PaidLotPurchaseProvenanceV1, type PaidLotRetentionV1, type PeriodicLimitWindow, type PersistedIdempotencyResultV1, type PersonalWalletInitializationCommandV1, type PersonalWalletInitializationDocumentIdsV1, type PersonalWalletInitializationOutboxIntentV1, type PersonalWalletInitializationStateV1, type PostingId, type ProviderEventId, type PurchaseCapMutationResultV1, type PurchaseCapReservationStatusV1, type PurchaseCapReservationTransitionReceiptV1, type PurchaseCapReservationTransitionTypeV1, type PurchaseCapReservationTransitionV1, type PurchaseCapReservationV1, type PurchaseCapScopeTypeV1, type PurchaseCreditInstructionV1, type PurchaseIntentDisputeDispositionV1, type PurchaseIntentLifecycleV1, type PurchaseIntentReductionV1, type PurchaseIntentStatus, type PurchaseIntentTransitionReceiptV1, type PurchaseIntentTransitionResultV1, type PurchaseIntentTransitionTypeV1, type PurchaseIntentTransitionV1, type PurchaseIntentV1, type PurchaseLimitPolicyV1, type ReclaimGameplayAllocationInputV1, type ReclaimModuleAllowanceInputV1, type RecurrenceInterval, type ReleaseModuleSpendHoldInputV1, type ReportedAdminTokenTrendAggregateV1, type ReportedAdminTokenTrendPointV1, type ReservePurchaseCapsCommandV1, type ReversalInputV1, type RewardActivityTransitionV1, type RewardConversionStatus, type RewardConversionV1, type RewardRateV1, type RollingPurchaseCapStateV1, type ScopedPersistedIdempotencyResultV1, type SettleModuleSpendHoldInputV1, type SourceLotMovementType, type SourceLotMovementV1, type SourceLotSliceV1, type SourceLotV1, type SpendRequestPurpose, type SpendRequestStatus, type SpendRequestV1, type SuppressedAdminTokenTrendAggregateV1, type SuppressedAdminTokenTrendPointV1, TOKEN_SUBUNITS_MAX, TOKEN_SUBUNITS_MIN, TOKEN_SUBUNITS_PER_TOKEN, type TokenPackV1, type TokenReferenceRateV1, type TokenSource, type TokenSubscriptionPlanV1, type TokenSubunitString, type TransactionId, type VersionedSourceLotV1, type WalletActivityEntryV1, type WalletActivityFilterV1, type WalletActivityPageRequestV1, type WalletActivityPageV1, type WalletActivityStatusV1, type WalletBalanceDeltaV1, type WalletBalanceProjectionV1, type WalletBalanceSummaryV1, type WalletBalanceTotalsV1, type WalletId, type WalletInitializationNoOpCodeV1, type WalletKind, type WalletLifetimeBucket, type WalletLifetimeDeltaV1, type WalletLifetimeSnapshotV1, type WalletLifetimeTotalsV1, type WalletOwnerReferenceV1, type WalletOwnerType, type WalletPortfolioBalanceComponentV1, type WalletPortfolioComponentRole, type WalletPortfolioComponentScopeV1, type WalletPortfolioLifetimeComponentV1, type WalletPortfolioLifetimeV1, type WalletPortfolioReadScopeV1, type WalletPortfolioSummaryV1, type WalletPostingAccountBindingV1, type WalletProjectionBucket, type WalletStatus, type WalletV1, type WorkflowActivityStatusV1, type WorkflowWalletActivityEntryV1, advanceEconomyAuthorityHead, advanceJournalChainHead, applyPaidLotLifecycleEvent, applyPurchaseIntentTransition, applySourceLotMovement, applyTransactionToProjection, applyWalletBalanceDelta, applyWalletLifetimeDeltas, assertActivityEntry, assertAdminTokenActivityCursorBinding, assertAdminTokenActivityEntry, assertAdminTokenActivityPage, assertAdminTokenActivityPageForRequest, assertAdminTokenActivityPageRequest, assertAdminTokenEconomySummary, assertAdminTokenTrendRequest, assertAdminTokenTrendResult, assertAdminTokenTrendResultForRequest, assertAdminTokenWalletBalanceCursorBinding, assertAdminTokenWalletBalancePage, assertAdminTokenWalletBalancePageForRequest, assertAdminTokenWalletBalancePageRequest, assertAuditedEconomyCommandEnvelope, assertBalancedTransaction, assertDeterministicWalletBalanceSummary, assertDistinctAdjustmentApproval, assertEconomicJournalTransaction, assertEconomyAcceptedCommandReceipt, assertEconomyAuditGraph, assertEconomyAuditedIdempotencyResult, assertEconomyAuditedIdempotencyScope, assertEconomyAuthorityBatchLimits, assertEconomyAuthorityCommitManifest, assertEconomyAuthorityHead, assertEconomyAuthorityRecordReference, assertEconomyAuthorityRecoveryEvidence, assertEconomyAuthorizationEvidence, assertEconomyCommandEnvelope, assertEconomyCommandResultReceipt, assertEconomyCommandWorkflowEvent, assertEconomyEncryptedOperationalHandleBinding, assertEconomyEvidenceSignature, assertEconomyEvidenceSignatureMetadata, assertEconomyHmacFingerprint, assertEconomyIdempotencyScope, assertEconomyIdentifier, assertEconomyIntegrityAnchorManifest, assertEconomyIntegrityVerificationReceipt, assertEconomyMerkleInclusion, assertEconomyMerkleInclusionProof, assertEconomyPortableCustomerReceipt, assertEconomyPortableCustomerReceiptEvidence, assertEconomyPortableCustomerReceiptSignature, assertEconomyProviderEvidenceHash, assertEconomyProviderEvidenceManifest, assertEconomyRecoveryAcceptanceEnvelope, assertEconomyRecoveryCommittedResult, assertEconomyRecoveryResultLink, assertEconomyRegionalEvidenceChain, assertEconomyRegionalEvidenceEquality, assertEconomyRegionalEvidenceReceipt, assertEconomyRegionalEvidenceReceiptSignature, assertEconomySealedRecoveryPayload, assertExactAuditedEconomyCommandReplay, assertFlatTokenCatalog, assertFxSnapshot, assertGameplayAllocation, assertJournalChainHead, assertModuleAllowance, assertModulePurchaseReceipt, assertModulePurchaseReconciliationObservation, assertModuleSpendHold, assertModuleSpendQuote, assertNonNegativeAccounts, assertOpenPurchaseIntent, assertOperatorAdjustmentDecision, assertOperatorAdjustmentExecution, assertOperatorAdjustmentPreview, assertOperatorAdjustmentProposal, assertPaidLotLifecycle, assertPaidLotLifecycleEvent, assertPaidLotPurchaseProvenance, assertPersonalWalletInitializationCommand, assertPersonalWalletInitializationOutboxIntent, assertPersonalWalletInitializationState, assertPurchaseCapReservation, assertPurchaseCapReservationTransition, assertPurchaseIntentBinding, assertPurchaseIntentLifecycle, assertPurchaseIntentTransition, assertPurchaseLimitPolicy, assertReversalAvailable, assertRewardConversion, assertRewardRate, assertRollingPurchaseCapState, assertScopedPersistedIdempotencyResult, assertSourceLot, assertSourceLotMovement, assertSpendRequest, assertTokenPack, assertTokenReferenceRate, assertTokenSubscriptionPlan, assertVersionedSourceLot, assertWallet, assertWalletActivityEntry, assertWalletActivityPage, assertWalletActivityPageForPortfolio, assertWalletActivityPageRequest, assertWalletBalanceDelta, assertWalletBalanceDeltaBatch, assertWalletBalanceProjection, assertWalletBalanceSummary, assertWalletLifetimeSnapshot, assertWalletLifetimeTotals, assertWalletOwnerReference, assertWalletPortfolioLifetime, assertWalletPortfolioReadScope, assertWalletPortfolioSummary, availableSourceLotAmount, boostGameplayAllocation, calculateRollingPurchaseCapUsage, canUseSourceLot, canonicalAuditedEconomyCommandEnvelopePayload, canonicalEconomyAcceptedCommandReceiptPayload, canonicalEconomyAuthorityCommitManifestPayload, canonicalEconomyAuthorityHeadPayload, canonicalEconomyCommandResultReceiptPayload, canonicalEconomyEncryptedOperationalHandleBindingPayload, canonicalEconomyIntegrityAnchorManifestPayload, canonicalEconomyIntegrityVerificationReceiptPayload, canonicalEconomyPortableCustomerReceiptBodyPayload, canonicalEconomyPortableCustomerReceiptPayload, canonicalEconomyPortableCustomerReceiptSigningPayload, canonicalEconomyProviderEvidenceHashPayload, canonicalEconomyProviderEvidenceManifestPayload, canonicalEconomyRecoveryAcceptanceBodyPayload, canonicalEconomyRecoveryAcceptanceEnvelopePayload, canonicalEconomyRecoveryCommittedResultBodyPayload, canonicalEconomyRecoveryCommittedResultPayload, canonicalEconomyRegionalEvidenceReceiptBodyPayload, canonicalEconomyRegionalEvidenceReceiptPayload, canonicalEconomyRegionalEvidenceReceiptSigningPayload, canonicalOperatorAdjustmentDecisionPayload, canonicalOperatorAdjustmentExecutionPayload, canonicalOperatorAdjustmentPreviewPayload, canonicalOperatorAdjustmentProposalPayload, canonicalPersonalWalletInitializationCommandPayload, canonicalPersonalWalletInitializationOutboxPayload, canonicalTransactionPayload, closeModuleAllowance, convertRewardPayout, createAdminTokenAnomalyIndicator, createAdminTokenAnomalyUnavailable, createDefaultAdminTokenReportingWindow, createEarlyBackerRetentionFromPaidLot, createEconomyPortableCustomerReceipt, createEconomyRecoveryAcceptanceEnvelope, createEconomyRecoveryCommittedResult, createEconomyRegionalEvidenceReceipt, createGameplayAllocation, createInitialSourceLotSnapshot, createModuleAllowance, createModulePurchaseReceipt, createModuleSpendHold, createModuleSpendQuote, createPaidLotLifecycle, createPersonalWalletInitializationDocumentIds, createPersonalWalletInitializationState, createProjectionSnapshot, createPurchaseIntentLifecycle, createReversalTransaction, createRollingPurchaseCapState, createWalletBalanceSummary, createWalletPortfolioLifetime, createWalletPortfolioSummary, deriveWalletBalanceDeltas, deriveWalletLifetimeDeltas, economyAssert, evaluateEarlyBacker, evaluateEarlyBackerBySettlementV2, fundModuleAllowance, isWholeTokenAmount, mapBitLabsConversionState, parseGbpMinorUnits, parseIsoTimestamp, parseTokenSubunits, prepareEconomyPortableCustomerReceiptSignature, prepareEconomyRegionalEvidenceReceiptSignature, rebuildBalanceProjection, reclaimGameplayAllocation, reclaimModuleAllowance, reconcileModulePurchase, reducePaidLotLifecycleEvents, reducePurchaseIntentTransitions, releaseModuleSpendHold, reserveRollingPurchaseCaps, selectSourceLots, serializeGbpMinorUnits, serializeTokenSubunits, settleModuleSpendHold, sortEconomyAuthorityRecordReferences, sortStringRecord, subunitsToWholeTokens, sumTokenSubunits, toEconomyErrorEnvelope, transitionRollingPurchaseCapReservation, verifyJournalChainSegment, wholeTokensToSubunits };
|