@settlemint/dalp-cli 2.1.7-main.23610216775 → 2.1.7-main.23613164087
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/dist/dalp.js +327 -118
- package/package.json +1 -1
package/dist/dalp.js
CHANGED
|
@@ -57542,7 +57542,6 @@ init_zod();
|
|
|
57542
57542
|
init_zod();
|
|
57543
57543
|
init_zod();
|
|
57544
57544
|
init_zod();
|
|
57545
|
-
init_zod();
|
|
57546
57545
|
function resolveMaybeOptionalOptions2(rest) {
|
|
57547
57546
|
return rest[0] ?? {};
|
|
57548
57547
|
}
|
|
@@ -62062,7 +62061,7 @@ var RegisteredIdentityClaimSchema = exports_external.object({
|
|
|
62062
62061
|
revoked: exports_external.boolean(),
|
|
62063
62062
|
issuer: exports_external.object({
|
|
62064
62063
|
id: ethereumAddress,
|
|
62065
|
-
revokedAt:
|
|
62064
|
+
revokedAt: timestamp().nullable(),
|
|
62066
62065
|
registry: exports_external.object({
|
|
62067
62066
|
id: ethereumAddress
|
|
62068
62067
|
}).nullable(),
|
|
@@ -62989,24 +62988,6 @@ var httpURL = exports_external.string().max(2048, "URL must be at most 2048 char
|
|
|
62989
62988
|
description: "A valid HTTP or HTTPS URL",
|
|
62990
62989
|
examples: ["https://example.com", "http://localhost:3000/path", "https://api.example.com/v1/users"]
|
|
62991
62990
|
});
|
|
62992
|
-
function validateISODateTime(value22) {
|
|
62993
|
-
const iso8601Regex = /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d{1,3})?(?:Z|[+-]\d{2}:\d{2})$/;
|
|
62994
|
-
if (!iso8601Regex.test(value22)) {
|
|
62995
|
-
return false;
|
|
62996
|
-
}
|
|
62997
|
-
try {
|
|
62998
|
-
const date6 = new Date(value22);
|
|
62999
|
-
return !Number.isNaN(date6.getTime());
|
|
63000
|
-
} catch {
|
|
63001
|
-
return false;
|
|
63002
|
-
}
|
|
63003
|
-
}
|
|
63004
|
-
var isoDateTime = exports_external.string().refine(validateISODateTime, {
|
|
63005
|
-
message: "Must be a valid ISO 8601 datetime (e.g., 2024-01-15T10:30:00Z or 2024-01-15T10:30:00.123+05:30)"
|
|
63006
|
-
}).meta({
|
|
63007
|
-
description: "An ISO 8601 datetime string",
|
|
63008
|
-
examples: ["2024-01-15T10:30:00Z", "2024-01-15T10:30:00.123Z", "2024-01-15T10:30:00+05:30"]
|
|
63009
|
-
});
|
|
63010
62991
|
var themeAssetURL = exports_external.string().max(2048, "URL must be at most 2048 characters").refine((value22) => {
|
|
63011
62992
|
if (value22.startsWith("/")) {
|
|
63012
62993
|
return true;
|
|
@@ -63082,7 +63063,7 @@ var logoSchema = exports_external.object({
|
|
|
63082
63063
|
width: exports_external.number().int().positive().optional(),
|
|
63083
63064
|
height: exports_external.number().int().positive().optional(),
|
|
63084
63065
|
etag: exports_external.string().optional(),
|
|
63085
|
-
updatedAt:
|
|
63066
|
+
updatedAt: timestamp().optional()
|
|
63086
63067
|
});
|
|
63087
63068
|
var imagesSchema = exports_external.object({
|
|
63088
63069
|
authOverlayLightUrl: themeAssetURL.optional(),
|
|
@@ -63094,12 +63075,12 @@ var imagesSchema = exports_external.object({
|
|
|
63094
63075
|
favicon96Url: themeAssetURL.optional(),
|
|
63095
63076
|
faviconSvgUrl: themeAssetURL.optional(),
|
|
63096
63077
|
etag: exports_external.string().optional(),
|
|
63097
|
-
updatedAt:
|
|
63078
|
+
updatedAt: timestamp().optional()
|
|
63098
63079
|
});
|
|
63099
63080
|
var metadataSchema = exports_external.object({
|
|
63100
63081
|
version: exports_external.number().int().gte(1).default(1),
|
|
63101
63082
|
updatedBy: exports_external.string().min(1),
|
|
63102
|
-
updatedAt:
|
|
63083
|
+
updatedAt: timestamp(),
|
|
63103
63084
|
previewHash: exports_external.string().optional()
|
|
63104
63085
|
});
|
|
63105
63086
|
var themeConfigSchema = exports_external.object({
|
|
@@ -63181,7 +63162,7 @@ var ThemeLogoUploadOutputSchema = exports_external.object({
|
|
|
63181
63162
|
uploadUrl: exports_external.url(),
|
|
63182
63163
|
method: exports_external.literal("PUT"),
|
|
63183
63164
|
headers: exports_external.record(exports_external.string(), exports_external.string()).optional(),
|
|
63184
|
-
expiresAt:
|
|
63165
|
+
expiresAt: timestamp().optional()
|
|
63185
63166
|
});
|
|
63186
63167
|
var ThemeLogoProxyUploadSchema = exports_external.object({
|
|
63187
63168
|
mode: exports_external.enum(LOGO_MODES),
|
|
@@ -63526,11 +63507,20 @@ var ComplianceModuleSchema = exports_external.object({
|
|
|
63526
63507
|
description: "Compliance module type ID",
|
|
63527
63508
|
examples: ["country_allow_list", "max_balance"]
|
|
63528
63509
|
}),
|
|
63529
|
-
name: exports_external.string().meta({
|
|
63510
|
+
name: exports_external.string().meta({
|
|
63511
|
+
description: "Compliance module name",
|
|
63512
|
+
examples: ["Country Allowlist", "Max Balance"]
|
|
63513
|
+
})
|
|
63530
63514
|
});
|
|
63531
63515
|
var GlobalComplianceModuleConfigSchema = exports_external.object({
|
|
63532
|
-
id: ethereumCompositeId.meta({
|
|
63533
|
-
|
|
63516
|
+
id: ethereumCompositeId.meta({
|
|
63517
|
+
description: "Global compliance module config ID",
|
|
63518
|
+
examples: ["0x123...cfg"]
|
|
63519
|
+
}),
|
|
63520
|
+
complianceModule: ComplianceModuleSchema.meta({
|
|
63521
|
+
description: "The compliance module",
|
|
63522
|
+
examples: []
|
|
63523
|
+
})
|
|
63534
63524
|
});
|
|
63535
63525
|
var SystemStatusSchema = exports_external.enum([
|
|
63536
63526
|
"not_created",
|
|
@@ -63539,8 +63529,14 @@ var SystemStatusSchema = exports_external.enum([
|
|
|
63539
63529
|
"unknown"
|
|
63540
63530
|
]);
|
|
63541
63531
|
var SystemSchema = exports_external.object({
|
|
63542
|
-
id: ethereumAddress.meta({
|
|
63543
|
-
|
|
63532
|
+
id: ethereumAddress.meta({
|
|
63533
|
+
description: "System address",
|
|
63534
|
+
examples: ["0x71C7656EC7ab88b098defB751B7401B5f6d8976F"]
|
|
63535
|
+
}),
|
|
63536
|
+
chainId: exports_external.number().nullable().default(null).meta({
|
|
63537
|
+
description: "EVM chain ID (null when system not yet deployed)",
|
|
63538
|
+
examples: [1, 80002]
|
|
63539
|
+
}),
|
|
63544
63540
|
deployedInTransaction: exports_external.string().meta({
|
|
63545
63541
|
description: "Transaction hash where system was deployed",
|
|
63546
63542
|
examples: ["0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef"]
|
|
@@ -63554,7 +63550,10 @@ var SystemSchema = exports_external.object({
|
|
|
63554
63550
|
description: "Contract version (1=V1, 2=V2) detected via ERC165",
|
|
63555
63551
|
examples: [1, 2]
|
|
63556
63552
|
}),
|
|
63557
|
-
tokenFactories: exports_external.array(TokenFactorySchema).meta({
|
|
63553
|
+
tokenFactories: exports_external.array(TokenFactorySchema).meta({
|
|
63554
|
+
description: "Array of registered token factories",
|
|
63555
|
+
examples: []
|
|
63556
|
+
})
|
|
63558
63557
|
}).nullable(),
|
|
63559
63558
|
systemAddonRegistry: exports_external.object({
|
|
63560
63559
|
id: ethereumAddress.meta({
|
|
@@ -63565,28 +63564,40 @@ var SystemSchema = exports_external.object({
|
|
|
63565
63564
|
description: "Contract version (1=V1, 2=V2) detected via ERC165",
|
|
63566
63565
|
examples: [1, 2]
|
|
63567
63566
|
}),
|
|
63568
|
-
systemAddons: exports_external.array(SystemAddonSchema).meta({
|
|
63567
|
+
systemAddons: exports_external.array(SystemAddonSchema).meta({
|
|
63568
|
+
description: "Array of registered system addons",
|
|
63569
|
+
examples: []
|
|
63570
|
+
})
|
|
63569
63571
|
}).nullable(),
|
|
63570
63572
|
compliance: exports_external.object({
|
|
63571
63573
|
id: ethereumAddress.meta({
|
|
63572
63574
|
description: "Compliance contract address",
|
|
63573
63575
|
examples: ["0x71C7656EC7ab88b098defB751B7401B5f6d8976F"]
|
|
63574
63576
|
}),
|
|
63575
|
-
complianceModuleConfigs: exports_external.array(GlobalComplianceModuleConfigSchema).meta({
|
|
63577
|
+
complianceModuleConfigs: exports_external.array(GlobalComplianceModuleConfigSchema).meta({
|
|
63578
|
+
description: "Global compliance module configurations",
|
|
63579
|
+
examples: []
|
|
63580
|
+
})
|
|
63576
63581
|
}).nullable(),
|
|
63577
63582
|
complianceModuleRegistry: exports_external.object({
|
|
63578
63583
|
id: ethereumAddress.meta({
|
|
63579
63584
|
description: "Compliance module registry address",
|
|
63580
63585
|
examples: ["0x71C7656EC7ab88b098defB751B7401B5f6d8976F"]
|
|
63581
63586
|
}),
|
|
63582
|
-
complianceModules: exports_external.array(ComplianceModuleSchema).meta({
|
|
63587
|
+
complianceModules: exports_external.array(ComplianceModuleSchema).meta({
|
|
63588
|
+
description: "Array of registered compliance modules",
|
|
63589
|
+
examples: []
|
|
63590
|
+
})
|
|
63583
63591
|
}).nullable(),
|
|
63584
63592
|
systemAccessManager: exports_external.object({
|
|
63585
63593
|
id: ethereumAddress.meta({
|
|
63586
63594
|
description: "System access manager address",
|
|
63587
63595
|
examples: ["0x71C7656EC7ab88b098defB751B7401B5f6d8976F"]
|
|
63588
63596
|
}),
|
|
63589
|
-
accessControl: accessControlSchema().meta({
|
|
63597
|
+
accessControl: accessControlSchema().meta({
|
|
63598
|
+
description: "Access control configuration",
|
|
63599
|
+
examples: []
|
|
63600
|
+
})
|
|
63590
63601
|
}).nullable(),
|
|
63591
63602
|
identityRegistryStorage: exports_external.object({
|
|
63592
63603
|
id: ethereumAddress.meta({
|
|
@@ -63606,9 +63617,15 @@ var SystemSchema = exports_external.object({
|
|
|
63606
63617
|
examples: ["0x71C7656EC7ab88b098defB751B7401B5f6d8976F"]
|
|
63607
63618
|
})
|
|
63608
63619
|
}),
|
|
63609
|
-
country: exports_external.number().meta({
|
|
63620
|
+
country: exports_external.number().meta({
|
|
63621
|
+
description: "ISO country code",
|
|
63622
|
+
examples: [840, 826, 276]
|
|
63623
|
+
}).nullable(),
|
|
63610
63624
|
status: theGraphIdentityStatus()
|
|
63611
|
-
})).meta({
|
|
63625
|
+
})).meta({
|
|
63626
|
+
description: "Registered identities for the user",
|
|
63627
|
+
examples: []
|
|
63628
|
+
})
|
|
63612
63629
|
}).nullable(),
|
|
63613
63630
|
trustedIssuersRegistry: exports_external.object({
|
|
63614
63631
|
id: ethereumAddress.meta({
|
|
@@ -63627,66 +63644,228 @@ var SystemSchema = exports_external.object({
|
|
|
63627
63644
|
description: "External token registry address",
|
|
63628
63645
|
examples: ["0x71C7656EC7ab88b098defB751B7401B5f6d8976F"]
|
|
63629
63646
|
})
|
|
63630
|
-
}).nullable().meta({
|
|
63647
|
+
}).nullable().meta({
|
|
63648
|
+
description: "External token registry for tracking external tokens",
|
|
63649
|
+
examples: []
|
|
63650
|
+
}),
|
|
63631
63651
|
userPermissions: exports_external.object({
|
|
63632
|
-
roles: systemAccessControlRolesSchema.meta({
|
|
63652
|
+
roles: systemAccessControlRolesSchema.meta({
|
|
63653
|
+
description: "The roles of the user for the system",
|
|
63654
|
+
examples: []
|
|
63655
|
+
}),
|
|
63633
63656
|
actions: exports_external.object({
|
|
63634
|
-
accountSearch: exports_external.boolean().meta({
|
|
63635
|
-
|
|
63636
|
-
|
|
63637
|
-
|
|
63638
|
-
|
|
63639
|
-
|
|
63640
|
-
|
|
63657
|
+
accountSearch: exports_external.boolean().meta({
|
|
63658
|
+
description: "Whether the user can search accounts",
|
|
63659
|
+
examples: [true, false]
|
|
63660
|
+
}),
|
|
63661
|
+
addonCreate: exports_external.boolean().meta({
|
|
63662
|
+
description: "Whether the user can create addons",
|
|
63663
|
+
examples: [true, false]
|
|
63664
|
+
}),
|
|
63665
|
+
adminList: exports_external.boolean().meta({
|
|
63666
|
+
description: "Whether the user can list admins",
|
|
63667
|
+
examples: [true, false]
|
|
63668
|
+
}),
|
|
63669
|
+
claimCreate: exports_external.boolean().meta({
|
|
63670
|
+
description: "Whether the user can create claims",
|
|
63671
|
+
examples: [true, false]
|
|
63672
|
+
}),
|
|
63673
|
+
claimList: exports_external.boolean().meta({
|
|
63674
|
+
description: "Whether the user can list claims",
|
|
63675
|
+
examples: [true, false]
|
|
63676
|
+
}),
|
|
63677
|
+
claimRevoke: exports_external.boolean().meta({
|
|
63678
|
+
description: "Whether the user can revoke claims",
|
|
63679
|
+
examples: [true, false]
|
|
63680
|
+
}),
|
|
63681
|
+
complianceModuleCreate: exports_external.boolean().meta({
|
|
63682
|
+
description: "Whether the user can create compliance modules",
|
|
63683
|
+
examples: [true, false]
|
|
63684
|
+
}),
|
|
63641
63685
|
complianceModuleRemove: exports_external.boolean().meta({
|
|
63642
63686
|
description: "Whether the user can remove global compliance modules",
|
|
63643
63687
|
examples: [true, false]
|
|
63644
63688
|
}),
|
|
63645
|
-
fixedYieldScheduleCreate: exports_external.boolean().meta({
|
|
63646
|
-
|
|
63647
|
-
|
|
63648
|
-
|
|
63649
|
-
|
|
63650
|
-
|
|
63651
|
-
|
|
63652
|
-
|
|
63653
|
-
|
|
63654
|
-
|
|
63655
|
-
|
|
63656
|
-
|
|
63657
|
-
|
|
63658
|
-
|
|
63659
|
-
|
|
63660
|
-
|
|
63661
|
-
|
|
63662
|
-
|
|
63663
|
-
|
|
63664
|
-
|
|
63665
|
-
|
|
63666
|
-
|
|
63667
|
-
|
|
63668
|
-
|
|
63669
|
-
|
|
63670
|
-
|
|
63671
|
-
|
|
63672
|
-
|
|
63673
|
-
|
|
63674
|
-
|
|
63675
|
-
|
|
63676
|
-
|
|
63677
|
-
|
|
63678
|
-
|
|
63679
|
-
|
|
63680
|
-
|
|
63681
|
-
|
|
63682
|
-
|
|
63683
|
-
|
|
63684
|
-
|
|
63685
|
-
|
|
63686
|
-
|
|
63687
|
-
|
|
63688
|
-
|
|
63689
|
-
|
|
63689
|
+
fixedYieldScheduleCreate: exports_external.boolean().meta({
|
|
63690
|
+
description: "Whether the user can create fixed yield schedules",
|
|
63691
|
+
examples: [true, false]
|
|
63692
|
+
}),
|
|
63693
|
+
tokenSaleCreate: exports_external.boolean().meta({
|
|
63694
|
+
description: "Whether the user can create token sales",
|
|
63695
|
+
examples: [true, false]
|
|
63696
|
+
}),
|
|
63697
|
+
xvpCreate: exports_external.boolean().meta({
|
|
63698
|
+
description: "Whether the user can create XvP settlements",
|
|
63699
|
+
examples: [true, false]
|
|
63700
|
+
}),
|
|
63701
|
+
grantRole: exports_external.boolean().meta({
|
|
63702
|
+
description: "Whether the user can grant roles",
|
|
63703
|
+
examples: [true, false]
|
|
63704
|
+
}),
|
|
63705
|
+
identityCreate: exports_external.boolean().meta({
|
|
63706
|
+
description: "Whether the user can create identities",
|
|
63707
|
+
examples: [true, false]
|
|
63708
|
+
}),
|
|
63709
|
+
identityRead: exports_external.boolean().meta({
|
|
63710
|
+
description: "Whether the user can read identities",
|
|
63711
|
+
examples: [true, false]
|
|
63712
|
+
}),
|
|
63713
|
+
identitySearch: exports_external.boolean().meta({
|
|
63714
|
+
description: "Whether the user can search identities",
|
|
63715
|
+
examples: [true, false]
|
|
63716
|
+
}),
|
|
63717
|
+
identityList: exports_external.boolean().meta({
|
|
63718
|
+
description: "Whether the user can read identities",
|
|
63719
|
+
examples: [true, false]
|
|
63720
|
+
}),
|
|
63721
|
+
entityList: exports_external.boolean().meta({
|
|
63722
|
+
description: "Whether the user can list business entities",
|
|
63723
|
+
examples: [true, false]
|
|
63724
|
+
}),
|
|
63725
|
+
identityRegister: exports_external.boolean().meta({
|
|
63726
|
+
description: "Whether the user can register identities",
|
|
63727
|
+
examples: [true, false]
|
|
63728
|
+
}),
|
|
63729
|
+
identityUpdateCountry: exports_external.boolean().meta({
|
|
63730
|
+
description: "Whether the user can update identity country",
|
|
63731
|
+
examples: [true, false]
|
|
63732
|
+
}),
|
|
63733
|
+
kycDelete: exports_external.boolean().meta({
|
|
63734
|
+
description: "Whether the user can delete KYC profiles",
|
|
63735
|
+
examples: [true, false]
|
|
63736
|
+
}),
|
|
63737
|
+
kycList: exports_external.boolean().meta({
|
|
63738
|
+
description: "Whether the user can list KYC profiles",
|
|
63739
|
+
examples: [true, false]
|
|
63740
|
+
}),
|
|
63741
|
+
kycRead: exports_external.boolean().meta({
|
|
63742
|
+
description: "Whether the user can read KYC profiles",
|
|
63743
|
+
examples: [true, false]
|
|
63744
|
+
}),
|
|
63745
|
+
kycUpsert: exports_external.boolean().meta({
|
|
63746
|
+
description: "Whether the user can upsert KYC profiles",
|
|
63747
|
+
examples: [true, false]
|
|
63748
|
+
}),
|
|
63749
|
+
kycProfileRead: exports_external.boolean().meta({
|
|
63750
|
+
description: "Whether the user can read KYC profile summaries",
|
|
63751
|
+
examples: [true, false]
|
|
63752
|
+
}),
|
|
63753
|
+
kycVersionsList: exports_external.boolean().meta({
|
|
63754
|
+
description: "Whether the user can list KYC versions",
|
|
63755
|
+
examples: [true, false]
|
|
63756
|
+
}),
|
|
63757
|
+
kycVersionCreate: exports_external.boolean().meta({
|
|
63758
|
+
description: "Whether the user can create KYC versions",
|
|
63759
|
+
examples: [true, false]
|
|
63760
|
+
}),
|
|
63761
|
+
kycVersionRead: exports_external.boolean().meta({
|
|
63762
|
+
description: "Whether the user can read KYC version details",
|
|
63763
|
+
examples: [true, false]
|
|
63764
|
+
}),
|
|
63765
|
+
kycVersionUpdate: exports_external.boolean().meta({
|
|
63766
|
+
description: "Whether the user can update draft KYC versions",
|
|
63767
|
+
examples: [true, false]
|
|
63768
|
+
}),
|
|
63769
|
+
kycVersionSubmit: exports_external.boolean().meta({
|
|
63770
|
+
description: "Whether the user can submit KYC versions for review",
|
|
63771
|
+
examples: [true, false]
|
|
63772
|
+
}),
|
|
63773
|
+
kycVersionApprove: exports_external.boolean().meta({
|
|
63774
|
+
description: "Whether the user can approve KYC versions",
|
|
63775
|
+
examples: [true, false]
|
|
63776
|
+
}),
|
|
63777
|
+
kycVersionReject: exports_external.boolean().meta({
|
|
63778
|
+
description: "Whether the user can reject KYC versions",
|
|
63779
|
+
examples: [true, false]
|
|
63780
|
+
}),
|
|
63781
|
+
kycVersionRequestUpdate: exports_external.boolean().meta({
|
|
63782
|
+
description: "Whether the user can request KYC updates",
|
|
63783
|
+
examples: [true, false]
|
|
63784
|
+
}),
|
|
63785
|
+
kycDocumentUpload: exports_external.boolean().meta({
|
|
63786
|
+
description: "Whether the user can upload KYC documents",
|
|
63787
|
+
examples: [true, false]
|
|
63788
|
+
}),
|
|
63789
|
+
kycDocumentList: exports_external.boolean().meta({
|
|
63790
|
+
description: "Whether the user can list KYC documents",
|
|
63791
|
+
examples: [true, false]
|
|
63792
|
+
}),
|
|
63793
|
+
kycDocumentDelete: exports_external.boolean().meta({
|
|
63794
|
+
description: "Whether the user can delete KYC documents",
|
|
63795
|
+
examples: [true, false]
|
|
63796
|
+
}),
|
|
63797
|
+
kycDocumentRead: exports_external.boolean().meta({
|
|
63798
|
+
description: "Whether the user can read KYC documents",
|
|
63799
|
+
examples: [true, false]
|
|
63800
|
+
}),
|
|
63801
|
+
kycActionRequestsList: exports_external.boolean().meta({
|
|
63802
|
+
description: "Whether the user can list KYC action requests",
|
|
63803
|
+
examples: [true, false]
|
|
63804
|
+
}),
|
|
63805
|
+
revokeRole: exports_external.boolean().meta({
|
|
63806
|
+
description: "Whether the user can revoke roles",
|
|
63807
|
+
examples: [true, false]
|
|
63808
|
+
}),
|
|
63809
|
+
tokenCreate: exports_external.boolean().meta({
|
|
63810
|
+
description: "Whether the user can create tokens",
|
|
63811
|
+
examples: [true, false]
|
|
63812
|
+
}),
|
|
63813
|
+
tokenFactoryCreate: exports_external.boolean().meta({
|
|
63814
|
+
description: "Whether the user can create token factories",
|
|
63815
|
+
examples: [true, false]
|
|
63816
|
+
}),
|
|
63817
|
+
topicCreate: exports_external.boolean().meta({
|
|
63818
|
+
description: "Whether the user can create topics",
|
|
63819
|
+
examples: [true, false]
|
|
63820
|
+
}),
|
|
63821
|
+
topicDelete: exports_external.boolean().meta({
|
|
63822
|
+
description: "Whether the user can delete topics",
|
|
63823
|
+
examples: [true, false]
|
|
63824
|
+
}),
|
|
63825
|
+
topicUpdate: exports_external.boolean().meta({
|
|
63826
|
+
description: "Whether the user can update topics",
|
|
63827
|
+
examples: [true, false]
|
|
63828
|
+
}),
|
|
63829
|
+
trustedIssuerCreate: exports_external.boolean().meta({
|
|
63830
|
+
description: "Whether the user can create trusted issuers",
|
|
63831
|
+
examples: [true, false]
|
|
63832
|
+
}),
|
|
63833
|
+
trustedIssuerDelete: exports_external.boolean().meta({
|
|
63834
|
+
description: "Whether the user can delete trusted issuers",
|
|
63835
|
+
examples: [true, false]
|
|
63836
|
+
}),
|
|
63837
|
+
trustedIssuerUpdate: exports_external.boolean().meta({
|
|
63838
|
+
description: "Whether the user can update trusted issuers",
|
|
63839
|
+
examples: [true, false]
|
|
63840
|
+
}),
|
|
63841
|
+
userCreate: exports_external.boolean().meta({
|
|
63842
|
+
description: "Whether the user can create users",
|
|
63843
|
+
examples: [true, false]
|
|
63844
|
+
}),
|
|
63845
|
+
userList: exports_external.boolean().meta({
|
|
63846
|
+
description: "Whether the user can list users",
|
|
63847
|
+
examples: [true, false]
|
|
63848
|
+
}),
|
|
63849
|
+
userRead: exports_external.boolean().meta({
|
|
63850
|
+
description: "Whether the user can read users",
|
|
63851
|
+
examples: [true, false]
|
|
63852
|
+
}),
|
|
63853
|
+
userSearch: exports_external.boolean().meta({
|
|
63854
|
+
description: "Whether the user can search users",
|
|
63855
|
+
examples: [true, false]
|
|
63856
|
+
}),
|
|
63857
|
+
userSecurityManage: exports_external.boolean().meta({
|
|
63858
|
+
description: "Whether the user can manage user security settings",
|
|
63859
|
+
examples: [true, false]
|
|
63860
|
+
})
|
|
63861
|
+
}).meta({
|
|
63862
|
+
description: "The actions on the system the user is allowed to execute",
|
|
63863
|
+
examples: []
|
|
63864
|
+
})
|
|
63865
|
+
}).optional().meta({
|
|
63866
|
+
description: "The permissions of the user for the system",
|
|
63867
|
+
examples: []
|
|
63868
|
+
}),
|
|
63690
63869
|
userIdentity: exports_external.object({
|
|
63691
63870
|
address: ethereumAddress.meta({
|
|
63692
63871
|
description: "User's identity contract address",
|
|
@@ -63696,13 +63875,22 @@ var SystemSchema = exports_external.object({
|
|
|
63696
63875
|
isRegistered: exports_external.literal(true),
|
|
63697
63876
|
country: isoCountryCode
|
|
63698
63877
|
}).or(exports_external.literal(false)).optional()
|
|
63699
|
-
}).optional().meta({
|
|
63878
|
+
}).optional().meta({
|
|
63879
|
+
description: "The user's identity information within this system",
|
|
63880
|
+
examples: []
|
|
63881
|
+
}),
|
|
63700
63882
|
status: SystemStatusSchema.meta({
|
|
63701
63883
|
description: "Current deployment status of the system",
|
|
63702
63884
|
examples: ["not_created", "bootstrapping", "completed", "unknown"]
|
|
63703
63885
|
}),
|
|
63704
|
-
canResume: exports_external.boolean().meta({
|
|
63705
|
-
|
|
63886
|
+
canResume: exports_external.boolean().meta({
|
|
63887
|
+
description: "Whether the deployment can be resumed",
|
|
63888
|
+
examples: [true, false]
|
|
63889
|
+
}),
|
|
63890
|
+
updatedAt: timestamp().nullable().meta({
|
|
63891
|
+
description: "Last update timestamp from deployment tracking",
|
|
63892
|
+
examples: ["2024-01-01T00:00:00Z"]
|
|
63893
|
+
}),
|
|
63706
63894
|
userIdentityRegistered: exports_external.boolean().meta({
|
|
63707
63895
|
description: "Whether the current user's identity is registered in the identity registry",
|
|
63708
63896
|
examples: [true, false]
|
|
@@ -63714,7 +63902,10 @@ var BootstrappedSystemSchema = SystemSchema.omit({
|
|
|
63714
63902
|
updatedAt: true,
|
|
63715
63903
|
userIdentityRegistered: true
|
|
63716
63904
|
}).extend({
|
|
63717
|
-
chainId: exports_external.number().nullable().default(null).meta({
|
|
63905
|
+
chainId: exports_external.number().nullable().default(null).meta({
|
|
63906
|
+
description: "EVM chain ID (null for TheGraph-sourced systems)",
|
|
63907
|
+
examples: [1, 80002]
|
|
63908
|
+
}),
|
|
63718
63909
|
tokenFactoryRegistry: exports_external.object({
|
|
63719
63910
|
id: ethereumAddress,
|
|
63720
63911
|
version: exports_external.number().default(1),
|
|
@@ -64153,7 +64344,10 @@ var DirectoryTokenTypeSchema = exports_external.object({
|
|
|
64153
64344
|
description: "Raw bytes32 type ID",
|
|
64154
64345
|
examples: ["0xabcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890"]
|
|
64155
64346
|
}),
|
|
64156
|
-
name: exports_external.string().meta({
|
|
64347
|
+
name: exports_external.string().meta({
|
|
64348
|
+
description: "Human-readable name derived from the type ID",
|
|
64349
|
+
examples: ["Bond", "Equity", "Fund"]
|
|
64350
|
+
}),
|
|
64157
64351
|
implementation: ethereumAddress.meta({
|
|
64158
64352
|
description: "Token implementation address",
|
|
64159
64353
|
examples: ["0x71C7656EC7ab88b098defB751B7401B5f6d8976F"]
|
|
@@ -64162,7 +64356,10 @@ var DirectoryTokenTypeSchema = exports_external.object({
|
|
|
64162
64356
|
description: "Token factory implementation address",
|
|
64163
64357
|
examples: ["0x2546BcD3c84621e976D8185a91A922aE77ECEc30"]
|
|
64164
64358
|
}),
|
|
64165
|
-
registeredAt:
|
|
64359
|
+
registeredAt: timestamp().meta({
|
|
64360
|
+
description: "When the item was registered",
|
|
64361
|
+
examples: ["2024-01-01T00:00:00.000Z"]
|
|
64362
|
+
}),
|
|
64166
64363
|
isExperimental: exports_external.boolean().meta({
|
|
64167
64364
|
description: "Whether this token type is experimental (feature-flagged)",
|
|
64168
64365
|
examples: [false, true]
|
|
@@ -64185,7 +64382,10 @@ var DirectoryComplianceModuleTypeSchema = exports_external.object({
|
|
|
64185
64382
|
description: "Compliance module implementation address",
|
|
64186
64383
|
examples: ["0x71C7656EC7ab88b098defB751B7401B5f6d8976F"]
|
|
64187
64384
|
}),
|
|
64188
|
-
registeredAt:
|
|
64385
|
+
registeredAt: timestamp().meta({
|
|
64386
|
+
description: "When the item was registered",
|
|
64387
|
+
examples: ["2024-01-01T00:00:00.000Z"]
|
|
64388
|
+
}),
|
|
64189
64389
|
isExperimental: exports_external.boolean().meta({
|
|
64190
64390
|
description: "Whether this compliance module type is experimental (feature-flagged)",
|
|
64191
64391
|
examples: [false, true]
|
|
@@ -64200,12 +64400,18 @@ var DirectoryAddonTypeSchema = exports_external.object({
|
|
|
64200
64400
|
description: "Raw bytes32 type ID",
|
|
64201
64401
|
examples: ["0xabcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890"]
|
|
64202
64402
|
}),
|
|
64203
|
-
name: exports_external.string().meta({
|
|
64403
|
+
name: exports_external.string().meta({
|
|
64404
|
+
description: "Human-readable name derived from the type ID",
|
|
64405
|
+
examples: ["XvP", "Escrow"]
|
|
64406
|
+
}),
|
|
64204
64407
|
factoryImplementation: ethereumAddress.meta({
|
|
64205
64408
|
description: "Addon factory implementation address",
|
|
64206
64409
|
examples: ["0x71C7656EC7ab88b098defB751B7401B5f6d8976F"]
|
|
64207
64410
|
}),
|
|
64208
|
-
registeredAt:
|
|
64411
|
+
registeredAt: timestamp().meta({
|
|
64412
|
+
description: "When the item was registered",
|
|
64413
|
+
examples: ["2024-01-01T00:00:00.000Z"]
|
|
64414
|
+
}),
|
|
64209
64415
|
isExperimental: exports_external.boolean().meta({
|
|
64210
64416
|
description: "Whether this addon type is experimental (feature-flagged)",
|
|
64211
64417
|
examples: [false, true]
|
|
@@ -64374,11 +64580,11 @@ var TheGraphFeedSchema = exports_external.object({
|
|
|
64374
64580
|
}).nullable(),
|
|
64375
64581
|
adapterAddress: exports_external.string().nullable(),
|
|
64376
64582
|
isActive: exports_external.boolean(),
|
|
64377
|
-
registeredAt:
|
|
64583
|
+
registeredAt: timestamp(),
|
|
64378
64584
|
latestRoundId: exports_external.string().nullable(),
|
|
64379
64585
|
latestAnswer: exports_external.string().nullable(),
|
|
64380
|
-
latestObservedAt:
|
|
64381
|
-
latestUpdatedAt:
|
|
64586
|
+
latestObservedAt: timestamp().nullable(),
|
|
64587
|
+
latestUpdatedAt: timestamp().nullable(),
|
|
64382
64588
|
latestIssuer: exports_external.string().nullable(),
|
|
64383
64589
|
latestSigner: exports_external.string().nullable()
|
|
64384
64590
|
});
|
|
@@ -64408,7 +64614,7 @@ var FeedResolveOutputSchema = exports_external.object({
|
|
|
64408
64614
|
indexed: exports_external.object({
|
|
64409
64615
|
decimals: exports_external.number(),
|
|
64410
64616
|
latestValue: FeedLatestValueSchema.nullable(),
|
|
64411
|
-
registeredAt:
|
|
64617
|
+
registeredAt: timestamp()
|
|
64412
64618
|
}).nullable()
|
|
64413
64619
|
});
|
|
64414
64620
|
var FeedReadInputSchema = exports_external.object({
|
|
@@ -68454,11 +68660,11 @@ var UserSchema = exports_external.object({
|
|
|
68454
68660
|
country: exports_external.string().optional().nullable(),
|
|
68455
68661
|
dob: exports_external.iso.date().optional().nullable(),
|
|
68456
68662
|
residencyStatus: exports_external.enum(residencyStatuses).optional().nullable(),
|
|
68457
|
-
createdAt:
|
|
68663
|
+
createdAt: timestamp().optional().meta({
|
|
68458
68664
|
description: "User account creation timestamp",
|
|
68459
68665
|
examples: ["2024-01-01T00:00:00Z"]
|
|
68460
68666
|
}),
|
|
68461
|
-
lastLoginAt:
|
|
68667
|
+
lastLoginAt: timestamp().nullable().optional().meta({
|
|
68462
68668
|
description: "Last login timestamp",
|
|
68463
68669
|
examples: ["2024-01-15T10:30:00Z"]
|
|
68464
68670
|
})
|
|
@@ -71174,7 +71380,7 @@ var SmartWalletSchema = exports_external.object({
|
|
|
71174
71380
|
validators: exports_external.array(SmartWalletValidatorSchema),
|
|
71175
71381
|
signers: exports_external.array(SmartWalletSignerSchema),
|
|
71176
71382
|
description: exports_external.string().nullable(),
|
|
71177
|
-
createdAt:
|
|
71383
|
+
createdAt: timestamp()
|
|
71178
71384
|
});
|
|
71179
71385
|
var SmartWalletCreateInputSchema = exports_external.object({
|
|
71180
71386
|
salt: exports_external.string().optional(),
|
|
@@ -72160,7 +72366,7 @@ var PaymasterSchema = exports_external.object({
|
|
|
72160
72366
|
address: ethereumAddress,
|
|
72161
72367
|
system: ethereumAddress.nullable(),
|
|
72162
72368
|
factory: ethereumAddress,
|
|
72163
|
-
createdAt:
|
|
72369
|
+
createdAt: timestamp()
|
|
72164
72370
|
});
|
|
72165
72371
|
var PaymasterBalanceSchema = exports_external.object({
|
|
72166
72372
|
address: ethereumAddress,
|
|
@@ -73568,9 +73774,9 @@ var ConversionHopSchema = exports_external.object({
|
|
|
73568
73774
|
description: "Feed contract that provided this rate",
|
|
73569
73775
|
examples: ["0xabcdef1234567890abcdef1234567890abcdef12"]
|
|
73570
73776
|
}),
|
|
73571
|
-
updatedAt:
|
|
73572
|
-
description: "When the feed was last updated
|
|
73573
|
-
examples: ["
|
|
73777
|
+
updatedAt: timestamp().meta({
|
|
73778
|
+
description: "When the feed was last updated",
|
|
73779
|
+
examples: ["2024-03-22T12:00:00.000Z"]
|
|
73574
73780
|
}),
|
|
73575
73781
|
inverse: exports_external.boolean().meta({
|
|
73576
73782
|
description: "Whether this hop uses an inverse rate (1/rate of the registered feed)",
|
|
@@ -73622,7 +73828,7 @@ var TokenPriceResponseSchema = exports_external.object({
|
|
|
73622
73828
|
description: "Currencies reachable from the source currency (only present when convertible is false)",
|
|
73623
73829
|
examples: [["AED", "EUR"]]
|
|
73624
73830
|
}),
|
|
73625
|
-
updatedAt:
|
|
73831
|
+
updatedAt: timestamp().meta({
|
|
73626
73832
|
description: "When the price data was last updated (ISO 8601)",
|
|
73627
73833
|
examples: ["2026-03-22T10:30:00.000Z"]
|
|
73628
73834
|
}),
|
|
@@ -73967,7 +74173,10 @@ var TRANSACTION_COLLECTION_FIELDS = {
|
|
|
73967
74173
|
createdAt: dateField(),
|
|
73968
74174
|
updatedAt: dateField()
|
|
73969
74175
|
};
|
|
73970
|
-
var TransactionV2ListInputSchema = createCollectionInputSchema(TRANSACTION_COLLECTION_FIELDS, {
|
|
74176
|
+
var TransactionV2ListInputSchema = createCollectionInputSchema(TRANSACTION_COLLECTION_FIELDS, {
|
|
74177
|
+
defaultSort: "createdAt",
|
|
74178
|
+
globalSearch: true
|
|
74179
|
+
});
|
|
73971
74180
|
var TRANSACTION_COLLECTION_METADATA = resolveCollectionMetadata(TRANSACTION_COLLECTION_FIELDS);
|
|
73972
74181
|
var TransactionListItemSchema = exports_external.object({
|
|
73973
74182
|
transactionId: exports_external.uuid().meta({
|
|
@@ -73998,11 +74207,11 @@ var TransactionListItemSchema = exports_external.object({
|
|
|
73998
74207
|
description: "Primary transaction hash once broadcast",
|
|
73999
74208
|
examples: ["0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef", null]
|
|
74000
74209
|
}),
|
|
74001
|
-
createdAt:
|
|
74210
|
+
createdAt: timestamp().meta({
|
|
74002
74211
|
description: "When the transaction request was accepted",
|
|
74003
74212
|
examples: ["2026-03-09T10:00:00.000Z"]
|
|
74004
74213
|
}),
|
|
74005
|
-
updatedAt:
|
|
74214
|
+
updatedAt: timestamp().meta({
|
|
74006
74215
|
description: "When the transaction request status last changed",
|
|
74007
74216
|
examples: ["2026-03-09T10:00:15.000Z"]
|
|
74008
74217
|
})
|
|
@@ -74045,11 +74254,11 @@ var TransactionStatusOutputSchema = exports_external.object({
|
|
|
74045
74254
|
description: "Human-readable error or timeout detail when available",
|
|
74046
74255
|
examples: ["Execution reverted", "Receipt not found after repeated checks", null]
|
|
74047
74256
|
}),
|
|
74048
|
-
createdAt:
|
|
74257
|
+
createdAt: timestamp().meta({
|
|
74049
74258
|
description: "When the transaction request was accepted",
|
|
74050
74259
|
examples: ["2026-03-09T10:00:00.000Z"]
|
|
74051
74260
|
}),
|
|
74052
|
-
updatedAt:
|
|
74261
|
+
updatedAt: timestamp().meta({
|
|
74053
74262
|
description: "When the transaction request status last changed",
|
|
74054
74263
|
examples: ["2026-03-09T10:00:15.000Z"]
|
|
74055
74264
|
})
|
|
@@ -79643,7 +79852,7 @@ var timestampSerializer = {
|
|
|
79643
79852
|
};
|
|
79644
79853
|
var package_default = {
|
|
79645
79854
|
name: "@settlemint/dalp-sdk",
|
|
79646
|
-
version: "2.1.7-main.
|
|
79855
|
+
version: "2.1.7-main.23613164087",
|
|
79647
79856
|
private: false,
|
|
79648
79857
|
description: "Fully typed SDK for the DALP tokenization platform API",
|
|
79649
79858
|
homepage: "https://settlemint.com",
|
|
@@ -79786,7 +79995,7 @@ function createDalpClient(config3) {
|
|
|
79786
79995
|
// package.json
|
|
79787
79996
|
var package_default2 = {
|
|
79788
79997
|
name: "@settlemint/dalp-cli",
|
|
79789
|
-
version: "2.1.7-main.
|
|
79998
|
+
version: "2.1.7-main.23613164087",
|
|
79790
79999
|
private: false,
|
|
79791
80000
|
description: "CLI for the Digital Asset Lifecycle Platform — manage tokens, identities, compliance, and more from the command line.",
|
|
79792
80001
|
homepage: "https://settlemint.com",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@settlemint/dalp-cli",
|
|
3
|
-
"version": "2.1.7-main.
|
|
3
|
+
"version": "2.1.7-main.23613164087",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "CLI for the Digital Asset Lifecycle Platform — manage tokens, identities, compliance, and more from the command line.",
|
|
6
6
|
"homepage": "https://settlemint.com",
|