@settlemint/dalp-cli 2.1.7-main.25962421163 → 2.1.7-main.25969563042
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 +56 -173
- package/package.json +1 -1
package/dist/dalp.js
CHANGED
|
@@ -74135,10 +74135,6 @@ var fiatCurrency = () => exports_external2.string().regex(/^[A-Z]{3}$/, "Currenc
|
|
|
74135
74135
|
description: "Fiat currency code (ISO 4217)",
|
|
74136
74136
|
examples: ["USD", "EUR", "GBP", "JPY"]
|
|
74137
74137
|
});
|
|
74138
|
-
var ExchangeRatesDeleteSchema = exports_external2.object({
|
|
74139
|
-
baseCurrency: fiatCurrency(),
|
|
74140
|
-
quoteCurrency: fiatCurrency()
|
|
74141
|
-
});
|
|
74142
74138
|
var ExchangeRatesHistorySchema = exports_external2.object({
|
|
74143
74139
|
baseCurrency: fiatCurrency(),
|
|
74144
74140
|
quoteCurrency: fiatCurrency(),
|
|
@@ -74173,24 +74169,6 @@ var ExchangeRatesReadOutputSchema = exports_external2.object({
|
|
|
74173
74169
|
rate: exports_external2.number().positive(),
|
|
74174
74170
|
effectiveAt: timestamp()
|
|
74175
74171
|
}).nullable();
|
|
74176
|
-
var ExchangeRatesSyncSchema = exports_external2.object({
|
|
74177
|
-
force: exports_external2.boolean().default(false)
|
|
74178
|
-
});
|
|
74179
|
-
var ExchangeRatesUpdateSchema = exports_external2.object({
|
|
74180
|
-
baseCurrency: fiatCurrency(),
|
|
74181
|
-
quoteCurrency: fiatCurrency(),
|
|
74182
|
-
rate: exports_external2.number().positive("Rate must be positive"),
|
|
74183
|
-
effectiveAt: timestamp().optional()
|
|
74184
|
-
});
|
|
74185
|
-
var ExchangeRatesUpdateOutputSchema = exports_external2.object({
|
|
74186
|
-
success: exports_external2.boolean(),
|
|
74187
|
-
rate: exports_external2.object({
|
|
74188
|
-
baseCurrency: fiatCurrency(),
|
|
74189
|
-
quoteCurrency: fiatCurrency(),
|
|
74190
|
-
rate: exports_external2.number().positive(),
|
|
74191
|
-
effectiveAt: timestamp()
|
|
74192
|
-
})
|
|
74193
|
-
});
|
|
74194
74172
|
var read3 = v1Contract.route({
|
|
74195
74173
|
method: "GET",
|
|
74196
74174
|
path: "/exchange-rates/{baseCurrency}/{quoteCurrency}",
|
|
@@ -74210,39 +74188,6 @@ var list4 = v1Contract.route({
|
|
|
74210
74188
|
successDescription: "Exchange rates list retrieved successfully",
|
|
74211
74189
|
tags: [V1_TAG.exchangeRates]
|
|
74212
74190
|
}).input(ExchangeRatesListSchema).output(ExchangeRatesListOutputSchema);
|
|
74213
|
-
var update = v1Contract.route({
|
|
74214
|
-
method: "PUT",
|
|
74215
|
-
path: "/exchange-rates/{baseCurrency}/{quoteCurrency}",
|
|
74216
|
-
description: "Manually update an exchange rate",
|
|
74217
|
-
successDescription: "Exchange rate updated successfully",
|
|
74218
|
-
tags: [V1_TAG.exchangeRates]
|
|
74219
|
-
}).input(ExchangeRatesUpdateSchema).output(exports_external2.object({
|
|
74220
|
-
success: exports_external2.boolean(),
|
|
74221
|
-
rate: exports_external2.object({
|
|
74222
|
-
baseCurrency: exports_external2.string(),
|
|
74223
|
-
quoteCurrency: exports_external2.string(),
|
|
74224
|
-
rate: exports_external2.number(),
|
|
74225
|
-
effectiveAt: timestamp()
|
|
74226
|
-
})
|
|
74227
|
-
}));
|
|
74228
|
-
var del2 = v1Contract.route({
|
|
74229
|
-
method: "DELETE",
|
|
74230
|
-
path: "/exchange-rates/{baseCurrency}/{quoteCurrency}",
|
|
74231
|
-
description: "Delete a manual exchange rate",
|
|
74232
|
-
successDescription: "Exchange rate deleted successfully",
|
|
74233
|
-
tags: [V1_TAG.exchangeRates]
|
|
74234
|
-
}).input(ExchangeRatesDeleteSchema).output(exports_external2.object({ success: exports_external2.boolean() }));
|
|
74235
|
-
var sync2 = v1Contract.route({
|
|
74236
|
-
method: "POST",
|
|
74237
|
-
path: "/exchange-rates/sync",
|
|
74238
|
-
description: "Synchronize exchange rates with external providers",
|
|
74239
|
-
successDescription: "Exchange rates synchronized successfully",
|
|
74240
|
-
tags: [V1_TAG.exchangeRates]
|
|
74241
|
-
}).input(ExchangeRatesSyncSchema).output(exports_external2.object({
|
|
74242
|
-
success: exports_external2.boolean(),
|
|
74243
|
-
ratesUpdated: exports_external2.number(),
|
|
74244
|
-
syncedAt: timestamp()
|
|
74245
|
-
}));
|
|
74246
74191
|
var history = v1Contract.route({
|
|
74247
74192
|
method: "GET",
|
|
74248
74193
|
path: "/exchange-rates/{baseCurrency}/{quoteCurrency}/history",
|
|
@@ -76307,7 +76252,7 @@ var read4 = v1Contract.route({
|
|
|
76307
76252
|
successDescription: "Template retrieved successfully",
|
|
76308
76253
|
tags: [V1_TAG.complianceTemplates]
|
|
76309
76254
|
}).input(ReadInputSchema).output(ComplianceTemplateSchema);
|
|
76310
|
-
var
|
|
76255
|
+
var update = v1Contract.route({
|
|
76311
76256
|
method: "PUT",
|
|
76312
76257
|
path: "/settings/compliance-templates/{id}",
|
|
76313
76258
|
description: "Update an existing compliance template",
|
|
@@ -76321,7 +76266,7 @@ var publish = v1Contract.route({
|
|
|
76321
76266
|
successDescription: "Template published successfully",
|
|
76322
76267
|
tags: [V1_TAG.complianceTemplates]
|
|
76323
76268
|
}).input(PublishInputSchema).output(ComplianceTemplateSchema);
|
|
76324
|
-
var
|
|
76269
|
+
var del2 = v1Contract.route({
|
|
76325
76270
|
method: "DELETE",
|
|
76326
76271
|
path: "/settings/compliance-templates/{id}",
|
|
76327
76272
|
description: "Delete a compliance template",
|
|
@@ -76789,7 +76734,7 @@ var upsert2 = v1Contract.route({
|
|
|
76789
76734
|
successDescription: "Setting upserted successfully",
|
|
76790
76735
|
tags: [V1_TAG.settings]
|
|
76791
76736
|
}).input(SettingsUpsertSchema).output(exports_external2.string());
|
|
76792
|
-
var
|
|
76737
|
+
var del3 = v1Contract.route({
|
|
76793
76738
|
method: "DELETE",
|
|
76794
76739
|
path: "/settings/{key}",
|
|
76795
76740
|
description: "Delete a setting",
|
|
@@ -79844,7 +79789,7 @@ var create3 = v1Contract.route({
|
|
|
79844
79789
|
successDescription: "Trusted issuer created successfully",
|
|
79845
79790
|
tags: TAGS15
|
|
79846
79791
|
}).input(TrustedIssuerCreateInputSchema).output(TrustedIssuerCreateOutputSchema);
|
|
79847
|
-
var
|
|
79792
|
+
var update2 = v1Contract.route({
|
|
79848
79793
|
method: "PUT",
|
|
79849
79794
|
path: "/system/trusted-issuers/{issuerAddress}",
|
|
79850
79795
|
description: "Update the claim topics for a trusted issuer",
|
|
@@ -82780,7 +82725,7 @@ var me = v1Contract.route({
|
|
|
82780
82725
|
successDescription: "Current user",
|
|
82781
82726
|
tags: [V1_TAG.user]
|
|
82782
82727
|
}).output(UserMeSchema);
|
|
82783
|
-
var
|
|
82728
|
+
var update3 = v1Contract.route({
|
|
82784
82729
|
method: "PATCH",
|
|
82785
82730
|
path: "/user/me",
|
|
82786
82731
|
description: "Update the current user's profile",
|
|
@@ -84913,7 +84858,7 @@ var upsert3 = v2Contract.route({
|
|
|
84913
84858
|
successDescription: "Contact saved successfully.",
|
|
84914
84859
|
tags: [V2_TAG.contacts]
|
|
84915
84860
|
}).input(v2Input.body(ContactsV2UpsertInputSchema)).output(ContactsV2UpsertOutputSchema);
|
|
84916
|
-
var
|
|
84861
|
+
var del4 = v2Contract.route({
|
|
84917
84862
|
method: "DELETE",
|
|
84918
84863
|
path: "/contacts/{id}",
|
|
84919
84864
|
description: "Delete a contact entry owned by the authenticated user.",
|
|
@@ -84924,7 +84869,7 @@ var contactsV2Contract = {
|
|
|
84924
84869
|
list: list16,
|
|
84925
84870
|
read: read12,
|
|
84926
84871
|
upsert: upsert3,
|
|
84927
|
-
delete:
|
|
84872
|
+
delete: del4
|
|
84928
84873
|
};
|
|
84929
84874
|
var ContractsV2ReadParamsSchema = exports_external2.object({
|
|
84930
84875
|
address: ethereumAddress.meta({
|
|
@@ -85695,7 +85640,6 @@ var complianceV2Contract = {
|
|
|
85695
85640
|
}
|
|
85696
85641
|
}
|
|
85697
85642
|
};
|
|
85698
|
-
var FX_PROVIDERS = ["er-api", "ECB", "manual"];
|
|
85699
85643
|
var ExchangeRateHistoryV2ItemSchema = exports_external2.object({
|
|
85700
85644
|
baseCurrency: fiatCurrency().meta({
|
|
85701
85645
|
description: "Base currency (ISO 4217 code)",
|
|
@@ -85705,23 +85649,18 @@ var ExchangeRateHistoryV2ItemSchema = exports_external2.object({
|
|
|
85705
85649
|
description: "Quote currency (ISO 4217 code)",
|
|
85706
85650
|
examples: ["USD", "EUR"]
|
|
85707
85651
|
}),
|
|
85708
|
-
rate: exports_external2.
|
|
85709
|
-
description: "Observed exchange rate at `effectiveAt
|
|
85710
|
-
examples: [1.08, 0.85]
|
|
85652
|
+
rate: exports_external2.string().meta({
|
|
85653
|
+
description: "Observed exchange rate at `effectiveAt`, as a decimal string",
|
|
85654
|
+
examples: ["1.08", "0.85"]
|
|
85711
85655
|
}),
|
|
85712
85656
|
effectiveAt: timestamp().meta({
|
|
85713
|
-
description: "Timestamp when the rate became effective",
|
|
85657
|
+
description: "Timestamp when the rate became effective (block timestamp of the feed update)",
|
|
85714
85658
|
examples: ["2024-01-01T00:00:00Z"]
|
|
85715
|
-
}),
|
|
85716
|
-
provider: exports_external2.string().meta({
|
|
85717
|
-
description: "Rate provider identifier",
|
|
85718
|
-
examples: FX_PROVIDERS
|
|
85719
85659
|
})
|
|
85720
85660
|
});
|
|
85721
85661
|
var EXCHANGE_RATES_HISTORY_COLLECTION_FIELDS = {
|
|
85722
85662
|
effectiveAt: dateField(),
|
|
85723
|
-
rate: numberField({ defaultOperator: "gte" })
|
|
85724
|
-
provider: enumField(FX_PROVIDERS, { defaultOperator: "eq" })
|
|
85663
|
+
rate: numberField({ defaultOperator: "gte" })
|
|
85725
85664
|
};
|
|
85726
85665
|
var ExchangeRatesHistoryV2ListInputSchema = createCollectionInputSchema(EXCHANGE_RATES_HISTORY_COLLECTION_FIELDS, {
|
|
85727
85666
|
defaultSort: "-effectiveAt",
|
|
@@ -85797,23 +85736,6 @@ var list17 = v2Contract.route({
|
|
|
85797
85736
|
successDescription: "Exchange rates list retrieved successfully.",
|
|
85798
85737
|
tags: [V2_TAG.exchangeRates]
|
|
85799
85738
|
}).input(v2Input.query(ExchangeRatesV2ListInputSchema)).output(ExchangeRatesV2ListOutputSchema);
|
|
85800
|
-
var update5 = v2Contract.route({
|
|
85801
|
-
method: "PUT",
|
|
85802
|
-
path: "/exchange-rates/{baseCurrency}/{quoteCurrency}",
|
|
85803
|
-
description: "Manually update an exchange rate.",
|
|
85804
|
-
successDescription: "Exchange rate updated successfully.",
|
|
85805
|
-
tags: [V2_TAG.exchangeRates]
|
|
85806
|
-
}).input(v2Input.paramsBody(exports_external2.object({
|
|
85807
|
-
baseCurrency: ExchangeRatesUpdateSchema.shape.baseCurrency,
|
|
85808
|
-
quoteCurrency: ExchangeRatesUpdateSchema.shape.quoteCurrency
|
|
85809
|
-
}), ExchangeRatesUpdateSchema.omit({ baseCurrency: true, quoteCurrency: true }))).output(createSingleResponse(ExchangeRateSchema));
|
|
85810
|
-
var del6 = v2Contract.route({
|
|
85811
|
-
method: "DELETE",
|
|
85812
|
-
path: "/exchange-rates/{baseCurrency}/{quoteCurrency}",
|
|
85813
|
-
description: "Delete a manual exchange rate.",
|
|
85814
|
-
successDescription: "Exchange rate deleted successfully.",
|
|
85815
|
-
tags: [V2_TAG.exchangeRates]
|
|
85816
|
-
}).input(v2Input.params(ExchangeRatesDeleteSchema)).output(DeleteResponseSchema);
|
|
85817
85739
|
var history3 = v2Contract.route({
|
|
85818
85740
|
method: "GET",
|
|
85819
85741
|
path: "/exchange-rates/{baseCurrency}/{quoteCurrency}/history",
|
|
@@ -85824,16 +85746,6 @@ var history3 = v2Contract.route({
|
|
|
85824
85746
|
baseCurrency: fiatCurrency(),
|
|
85825
85747
|
quoteCurrency: fiatCurrency()
|
|
85826
85748
|
}), ExchangeRatesHistoryV2ListInputSchema)).output(ExchangeRatesHistoryV2ListOutputSchema);
|
|
85827
|
-
var sync22 = v2Contract.route({
|
|
85828
|
-
method: "POST",
|
|
85829
|
-
path: "/exchange-rates/sync",
|
|
85830
|
-
description: "Synchronize exchange rates with external providers.",
|
|
85831
|
-
successDescription: "Exchange rates synchronized successfully.",
|
|
85832
|
-
tags: [V2_TAG.exchangeRates]
|
|
85833
|
-
}).input(v2Input.body(ExchangeRatesSyncSchema)).output(createSingleResponse(exports_external2.object({
|
|
85834
|
-
ratesUpdated: exports_external2.number(),
|
|
85835
|
-
syncedAt: timestamp()
|
|
85836
|
-
})));
|
|
85837
85749
|
var supportedCurrencies = v2Contract.route({
|
|
85838
85750
|
method: "GET",
|
|
85839
85751
|
path: "/exchange-rates/supported-currencies",
|
|
@@ -85844,9 +85756,6 @@ var supportedCurrencies = v2Contract.route({
|
|
|
85844
85756
|
var exchangeRatesV2Contract = {
|
|
85845
85757
|
read: read14,
|
|
85846
85758
|
list: list17,
|
|
85847
|
-
update: update5,
|
|
85848
|
-
delete: del6,
|
|
85849
|
-
sync: sync22,
|
|
85850
85759
|
history: history3,
|
|
85851
85760
|
supportedCurrencies
|
|
85852
85761
|
};
|
|
@@ -86569,14 +86478,14 @@ var read15 = v2Contract.route({
|
|
|
86569
86478
|
successDescription: "Asset class definition retrieved successfully.",
|
|
86570
86479
|
tags: [V2_TAG.assetClassDefinitions]
|
|
86571
86480
|
}).input(v2Input.params(ReadAssetClassInputSchema)).output(createSingleResponse(AssetClassDefinitionSchema));
|
|
86572
|
-
var
|
|
86481
|
+
var update4 = v2Contract.route({
|
|
86573
86482
|
method: "PUT",
|
|
86574
86483
|
path: "/settings/asset-class-definitions/{id}",
|
|
86575
86484
|
description: "Update an existing asset class definition.",
|
|
86576
86485
|
successDescription: "Asset class definition updated successfully.",
|
|
86577
86486
|
tags: [V2_TAG.assetClassDefinitions]
|
|
86578
86487
|
}).input(v2Input.paramsBody(exports_external2.object({ id: UpdateAssetClassInputSchema.shape.id }), exports_external2.object(UpdateAssetClassInputSchema.shape).omit({ id: true }))).output(createSingleResponse(AssetClassDefinitionSchema));
|
|
86579
|
-
var
|
|
86488
|
+
var del5 = v2Contract.route({
|
|
86580
86489
|
method: "DELETE",
|
|
86581
86490
|
path: "/settings/asset-class-definitions/{id}",
|
|
86582
86491
|
description: "Delete an asset class definition.",
|
|
@@ -86587,8 +86496,8 @@ var assetClassDefinitionsV2Contract = {
|
|
|
86587
86496
|
list: list19,
|
|
86588
86497
|
create: create9,
|
|
86589
86498
|
read: read15,
|
|
86590
|
-
update:
|
|
86591
|
-
delete:
|
|
86499
|
+
update: update4,
|
|
86500
|
+
delete: del5
|
|
86592
86501
|
};
|
|
86593
86502
|
var metadataFieldMutability = exports_external2.enum(["immutable", "restricted-mutable"]);
|
|
86594
86503
|
var MetadataFieldBaseSchema = exports_external2.object({
|
|
@@ -86747,7 +86656,7 @@ var read16 = v2Contract.route({
|
|
|
86747
86656
|
successDescription: "Template retrieved successfully.",
|
|
86748
86657
|
tags: [V2_TAG.assetTypeTemplates]
|
|
86749
86658
|
}).input(v2Input.params(ReadInputSchema2)).output(createSingleResponse(AssetTypeTemplateSchema));
|
|
86750
|
-
var
|
|
86659
|
+
var update5 = v2Contract.route({
|
|
86751
86660
|
method: "PUT",
|
|
86752
86661
|
path: "/settings/asset-type-templates/{id}",
|
|
86753
86662
|
description: "Update an existing asset type template.",
|
|
@@ -86761,7 +86670,7 @@ var publish2 = v2Contract.route({
|
|
|
86761
86670
|
successDescription: "Template published successfully.",
|
|
86762
86671
|
tags: [V2_TAG.assetTypeTemplates]
|
|
86763
86672
|
}).input(v2Input.params(PublishInputSchema2)).output(createSingleResponse(AssetTypeTemplateSchema));
|
|
86764
|
-
var
|
|
86673
|
+
var del6 = v2Contract.route({
|
|
86765
86674
|
method: "DELETE",
|
|
86766
86675
|
path: "/settings/asset-type-templates/{id}",
|
|
86767
86676
|
description: "Delete an asset type template.",
|
|
@@ -86772,9 +86681,9 @@ var assetTypeTemplatesV2Contract = {
|
|
|
86772
86681
|
list: list20,
|
|
86773
86682
|
create: create10,
|
|
86774
86683
|
read: read16,
|
|
86775
|
-
update:
|
|
86684
|
+
update: update5,
|
|
86776
86685
|
publish: publish2,
|
|
86777
|
-
delete:
|
|
86686
|
+
delete: del6
|
|
86778
86687
|
};
|
|
86779
86688
|
var COMPLIANCE_TEMPLATES_COLLECTION_FIELDS = {
|
|
86780
86689
|
name: textField(),
|
|
@@ -86811,7 +86720,7 @@ var read17 = v2Contract.route({
|
|
|
86811
86720
|
successDescription: "Template retrieved successfully.",
|
|
86812
86721
|
tags: [V2_TAG.complianceTemplates]
|
|
86813
86722
|
}).input(v2Input.params(ReadInputSchema)).output(createSingleResponse(ComplianceTemplateSchema));
|
|
86814
|
-
var
|
|
86723
|
+
var update6 = v2Contract.route({
|
|
86815
86724
|
method: "PUT",
|
|
86816
86725
|
path: "/settings/compliance-templates/{id}",
|
|
86817
86726
|
description: "Update an existing compliance template.",
|
|
@@ -86825,7 +86734,7 @@ var publish3 = v2Contract.route({
|
|
|
86825
86734
|
successDescription: "Template published successfully.",
|
|
86826
86735
|
tags: [V2_TAG.complianceTemplates]
|
|
86827
86736
|
}).input(v2Input.params(PublishInputSchema)).output(createSingleResponse(ComplianceTemplateSchema));
|
|
86828
|
-
var
|
|
86737
|
+
var del7 = v2Contract.route({
|
|
86829
86738
|
method: "DELETE",
|
|
86830
86739
|
path: "/settings/compliance-templates/{id}",
|
|
86831
86740
|
description: "Delete a compliance template.",
|
|
@@ -86836,9 +86745,9 @@ var complianceTemplatesV2Contract = {
|
|
|
86836
86745
|
list: list21,
|
|
86837
86746
|
create: create11,
|
|
86838
86747
|
read: read17,
|
|
86839
|
-
update:
|
|
86748
|
+
update: update6,
|
|
86840
86749
|
publish: publish3,
|
|
86841
|
-
delete:
|
|
86750
|
+
delete: del7
|
|
86842
86751
|
};
|
|
86843
86752
|
var read18 = v2Contract.route({
|
|
86844
86753
|
method: "GET",
|
|
@@ -86861,7 +86770,7 @@ var upsert4 = v2Contract.route({
|
|
|
86861
86770
|
successDescription: "Setting upserted successfully.",
|
|
86862
86771
|
tags: [V2_TAG.settings]
|
|
86863
86772
|
}).input(v2Input.body(SettingsUpsertSchema)).output(createSingleResponse(exports_external2.object({ value: exports_external2.string() })));
|
|
86864
|
-
var
|
|
86773
|
+
var del8 = v2Contract.route({
|
|
86865
86774
|
method: "DELETE",
|
|
86866
86775
|
path: "/settings/{key}",
|
|
86867
86776
|
description: "Delete a setting by key.",
|
|
@@ -86928,7 +86837,7 @@ var settingsV2Contract = {
|
|
|
86928
86837
|
read: read18,
|
|
86929
86838
|
list: list222,
|
|
86930
86839
|
upsert: upsert4,
|
|
86931
|
-
delete:
|
|
86840
|
+
delete: del8,
|
|
86932
86841
|
publicConfig: {
|
|
86933
86842
|
get: publicConfigGet2
|
|
86934
86843
|
},
|
|
@@ -87239,7 +87148,7 @@ var create12 = v2Contract.route({
|
|
|
87239
87148
|
successDescription: "Smart wallet creation submitted.",
|
|
87240
87149
|
tags: [...TAGS26]
|
|
87241
87150
|
}).input(v2Input.body(SmartWalletCreateInputSchema)).output(createAsyncBlockchainMutationResponse(SmartWalletSchema));
|
|
87242
|
-
var
|
|
87151
|
+
var update7 = v2Contract.route({
|
|
87243
87152
|
method: "PATCH",
|
|
87244
87153
|
path: "/smart-wallets/{address}",
|
|
87245
87154
|
description: "Update off-chain metadata (description) for a smart wallet.",
|
|
@@ -87251,7 +87160,7 @@ var smartWalletsV2Contract = {
|
|
|
87251
87160
|
read: read19,
|
|
87252
87161
|
gasStatus,
|
|
87253
87162
|
create: create12,
|
|
87254
|
-
update:
|
|
87163
|
+
update: update7,
|
|
87255
87164
|
installModule: smartWalletsV2ModulesContract.installModule,
|
|
87256
87165
|
uninstallModule: smartWalletsV2ModulesContract.uninstallModule,
|
|
87257
87166
|
listSigners: smartWalletsV2SignersContract.listSigners,
|
|
@@ -87512,14 +87421,14 @@ var read21 = v2Contract.route({
|
|
|
87512
87421
|
successDescription: "Topic details retrieved successfully.",
|
|
87513
87422
|
tags: [V2_TAG.claimTopics]
|
|
87514
87423
|
}).input(v2Input.params(TopicReadInputSchema)).output(createSingleResponse(TopicReadOutputSchema));
|
|
87515
|
-
var
|
|
87424
|
+
var update8 = v2Contract.route({
|
|
87516
87425
|
method: "PUT",
|
|
87517
87426
|
path: "/system/claim-topics/{name}",
|
|
87518
87427
|
description: "Update the signature of an existing topic scheme.",
|
|
87519
87428
|
successDescription: "Topic scheme signature updated successfully.",
|
|
87520
87429
|
tags: [V2_TAG.claimTopics]
|
|
87521
87430
|
}).meta({ contractErrors: [...CLAIM_TOPIC_ERRORS] }).input(v2Input.paramsBody(exports_external2.object({ name: TopicUpdateInputSchema.shape.name }), TopicUpdateInputSchema.omit({ name: true }))).output(createAsyncBlockchainMutationResponse(TopicUpdateOutputSchema));
|
|
87522
|
-
var
|
|
87431
|
+
var del9 = v2Contract.route({
|
|
87523
87432
|
method: "DELETE",
|
|
87524
87433
|
path: "/system/claim-topics/{name}",
|
|
87525
87434
|
description: "Remove a topic scheme from the registry.",
|
|
@@ -87530,8 +87439,8 @@ var claimTopicsV2Contract = {
|
|
|
87530
87439
|
list: list26,
|
|
87531
87440
|
create: create14,
|
|
87532
87441
|
read: read21,
|
|
87533
|
-
update:
|
|
87534
|
-
delete:
|
|
87442
|
+
update: update8,
|
|
87443
|
+
delete: del9
|
|
87535
87444
|
};
|
|
87536
87445
|
var ComplianceModuleV2ItemSchema = exports_external2.object({
|
|
87537
87446
|
id: ethereumCompositeId.meta({
|
|
@@ -88819,7 +88728,7 @@ var create19 = v2Contract.route({
|
|
|
88819
88728
|
successDescription: "Trusted issuer created successfully.",
|
|
88820
88729
|
tags: [V2_TAG.trustedIssuers]
|
|
88821
88730
|
}).meta({ contractErrors: [...TRUSTED_ISSUER_ERRORS] }).input(v2Input.body(TrustedIssuerCreateInputSchema)).output(createAsyncBlockchainMutationResponse(TrustedIssuerCreateOutputSchema));
|
|
88822
|
-
var
|
|
88731
|
+
var update9 = v2Contract.route({
|
|
88823
88732
|
method: "PATCH",
|
|
88824
88733
|
path: "/system/trusted-issuers/{issuerAddress}",
|
|
88825
88734
|
description: "Update the claim topics for a trusted issuer.",
|
|
@@ -88833,7 +88742,7 @@ var upsert5 = v2Contract.route({
|
|
|
88833
88742
|
successDescription: "Trusted issuer upserted successfully.",
|
|
88834
88743
|
tags: [V2_TAG.trustedIssuers]
|
|
88835
88744
|
}).meta({ contractErrors: [...TRUSTED_ISSUER_ERRORS] }).input(v2Input.paramsBody(exports_external2.object({ issuerAddress: TrustedIssuerUpsertInputSchema.shape.issuerAddress }), TrustedIssuerUpsertInputSchema.omit({ issuerAddress: true }))).output(createAsyncBlockchainMutationResponse(TrustedIssuerUpsertOutputSchema));
|
|
88836
|
-
var
|
|
88745
|
+
var del10 = v2Contract.route({
|
|
88837
88746
|
method: "DELETE",
|
|
88838
88747
|
path: "/system/trusted-issuers/{issuerAddress}",
|
|
88839
88748
|
description: "Delete a trusted issuer from the registry.",
|
|
@@ -88865,9 +88774,9 @@ var trustedIssuersV2Contract = {
|
|
|
88865
88774
|
list: list34,
|
|
88866
88775
|
read: read26,
|
|
88867
88776
|
create: create19,
|
|
88868
|
-
update:
|
|
88777
|
+
update: update9,
|
|
88869
88778
|
upsert: upsert5,
|
|
88870
|
-
delete:
|
|
88779
|
+
delete: del10,
|
|
88871
88780
|
topics,
|
|
88872
88781
|
addClaimTopic,
|
|
88873
88782
|
removeClaimTopic
|
|
@@ -88927,7 +88836,7 @@ var list35 = v2Contract.route({
|
|
|
88927
88836
|
successDescription: "Paginated array of token documents with total count and faceted filter values.",
|
|
88928
88837
|
tags: [V2_TAG.tokenDocuments]
|
|
88929
88838
|
}).input(v2Input.paramsQuery(TokenReadInputSchema, TokenDocumentsV2ListInputSchema)).output(TokenDocumentsV2ListOutputSchema);
|
|
88930
|
-
var
|
|
88839
|
+
var del11 = v2Contract.route({
|
|
88931
88840
|
method: "DELETE",
|
|
88932
88841
|
path: "/tokens/{tokenAddress}/documents/{documentId}",
|
|
88933
88842
|
description: "Delete a token document.",
|
|
@@ -88957,7 +88866,7 @@ var getDownloadUrl = v2Contract.route({
|
|
|
88957
88866
|
}).input(v2Input.params(TokenDocumentGetDownloadUrlInputSchema)).output(createSingleResponse(TokenDocumentGetDownloadUrlOutputSchema));
|
|
88958
88867
|
var tokenV2DocumentsContract = {
|
|
88959
88868
|
list: list35,
|
|
88960
|
-
delete:
|
|
88869
|
+
delete: del11,
|
|
88961
88870
|
getUploadUrl,
|
|
88962
88871
|
confirmUpload,
|
|
88963
88872
|
getDownloadUrl
|
|
@@ -91997,7 +91906,7 @@ var me3 = v2Contract.route({
|
|
|
91997
91906
|
successDescription: "Authenticated user profile retrieved successfully.",
|
|
91998
91907
|
tags: [V2_TAG.user]
|
|
91999
91908
|
}).output(createSingleResponse(UserMeSchema));
|
|
92000
|
-
var
|
|
91909
|
+
var update10 = v2Contract.route({
|
|
92001
91910
|
method: "PATCH",
|
|
92002
91911
|
path: "/users/me",
|
|
92003
91912
|
description: "Update the authenticated user's profile fields.",
|
|
@@ -92113,7 +92022,7 @@ var userV2Contract = {
|
|
|
92113
92022
|
list: list38,
|
|
92114
92023
|
events: events3,
|
|
92115
92024
|
me: me3,
|
|
92116
|
-
update:
|
|
92025
|
+
update: update10,
|
|
92117
92026
|
adminList: adminList2,
|
|
92118
92027
|
readByUserId: readByUserId2,
|
|
92119
92028
|
readByWallet: readByWallet3,
|
|
@@ -92419,14 +92328,14 @@ var create222 = v2Contract.route({
|
|
|
92419
92328
|
successDescription: "Webhook endpoint created.",
|
|
92420
92329
|
tags: TAGS33
|
|
92421
92330
|
}).input(v2Input.body(WebhooksV2CreateInputSchema)).output(WebhooksV2CreateOutputSchema);
|
|
92422
|
-
var
|
|
92331
|
+
var update11 = v2Contract.route({
|
|
92423
92332
|
method: "PATCH",
|
|
92424
92333
|
path: "/webhooks/{id}",
|
|
92425
92334
|
description: "Update webhook endpoint metadata, URL, subscriptions, or delivery settings.",
|
|
92426
92335
|
successDescription: "Webhook endpoint updated.",
|
|
92427
92336
|
tags: TAGS33
|
|
92428
92337
|
}).input(v2Input.paramsBodyQuery(WebhooksV2UpdateParamsSchema, WebhooksV2UpdateBodySchema, WebhooksV2UpdateQuerySchema)).output(WebhooksV2UpdateOutputSchema);
|
|
92429
|
-
var
|
|
92338
|
+
var del12 = v2Contract.route({
|
|
92430
92339
|
method: "DELETE",
|
|
92431
92340
|
path: "/webhooks/{id}",
|
|
92432
92341
|
description: "Disable a webhook endpoint. Historical outbox rows remain for audit.",
|
|
@@ -92507,8 +92416,8 @@ var webhooksV2Contract = {
|
|
|
92507
92416
|
list: list39,
|
|
92508
92417
|
read: read29,
|
|
92509
92418
|
create: create222,
|
|
92510
|
-
update:
|
|
92511
|
-
delete:
|
|
92419
|
+
update: update11,
|
|
92420
|
+
delete: del12,
|
|
92512
92421
|
testEvents,
|
|
92513
92422
|
deliveries: {
|
|
92514
92423
|
list: deliveriesList,
|
|
@@ -92816,7 +92725,7 @@ function normalizeDalpBaseUrl(url3) {
|
|
|
92816
92725
|
}
|
|
92817
92726
|
var package_default = {
|
|
92818
92727
|
name: "@settlemint/dalp-sdk",
|
|
92819
|
-
version: "2.1.7-main.
|
|
92728
|
+
version: "2.1.7-main.25969563042",
|
|
92820
92729
|
private: false,
|
|
92821
92730
|
description: "Fully typed SDK for the DALP tokenization platform API",
|
|
92822
92731
|
homepage: "https://settlemint.com",
|
|
@@ -92963,7 +92872,7 @@ var dalPermissions = {
|
|
|
92963
92872
|
organization: ["update", "delete", "list"],
|
|
92964
92873
|
setting: ["read", "list", "upsert", "remove", "set-global-theme"],
|
|
92965
92874
|
system: ["read", "list", "create"],
|
|
92966
|
-
exchangeRates: ["read", "list"
|
|
92875
|
+
exchangeRates: ["read", "list"]
|
|
92967
92876
|
};
|
|
92968
92877
|
var customPermissions = {
|
|
92969
92878
|
...defaultStatements,
|
|
@@ -92982,7 +92891,7 @@ var adminRole = narrowAccessControl.newRole({
|
|
|
92982
92891
|
organization: ["update", "delete", "list"],
|
|
92983
92892
|
setting: ["read", "list", "upsert", "remove", "set-global-theme"],
|
|
92984
92893
|
system: ["read", "list", "create"],
|
|
92985
|
-
exchangeRates: ["read", "list"
|
|
92894
|
+
exchangeRates: ["read", "list"]
|
|
92986
92895
|
});
|
|
92987
92896
|
var ownerRole = narrowAccessControl.newRole({
|
|
92988
92897
|
...ownerAc.statements,
|
|
@@ -93388,7 +93297,7 @@ function toStandardWebhookSecret(secret) {
|
|
|
93388
93297
|
// package.json
|
|
93389
93298
|
var package_default2 = {
|
|
93390
93299
|
name: "@settlemint/dalp-cli",
|
|
93391
|
-
version: "2.1.7-main.
|
|
93300
|
+
version: "2.1.7-main.25969563042",
|
|
93392
93301
|
private: false,
|
|
93393
93302
|
description: "CLI for the Digital Asset Lifecycle Platform — manage tokens, identities, compliance, and more from the command line.",
|
|
93394
93303
|
homepage: "https://settlemint.com",
|
|
@@ -94134,42 +94043,13 @@ exchangeRatesCommand.command("read", {
|
|
|
94134
94043
|
}),
|
|
94135
94044
|
run(c) {
|
|
94136
94045
|
return c.var.orpc.exchangeRates.read({
|
|
94137
|
-
params: {
|
|
94138
|
-
|
|
94139
|
-
|
|
94140
|
-
}
|
|
94141
|
-
exchangeRatesCommand.command("update", {
|
|
94142
|
-
description: "Update an exchange rate",
|
|
94143
|
-
options: exports_external.object({
|
|
94144
|
-
baseCurrency: fiatCurrency2().describe("Base currency code (e.g. USD)"),
|
|
94145
|
-
quoteCurrency: fiatCurrency2().describe("Quote currency code (e.g. EUR)"),
|
|
94146
|
-
rate: exports_external.coerce.number().describe("New rate value")
|
|
94147
|
-
}),
|
|
94148
|
-
run(c) {
|
|
94149
|
-
return c.var.orpc.exchangeRates.update({
|
|
94150
|
-
params: { baseCurrency: c.options.baseCurrency, quoteCurrency: c.options.quoteCurrency },
|
|
94151
|
-
body: { rate: c.options.rate }
|
|
94152
|
-
});
|
|
94153
|
-
}
|
|
94154
|
-
});
|
|
94155
|
-
exchangeRatesCommand.command("delete", {
|
|
94156
|
-
description: "Delete an exchange rate",
|
|
94157
|
-
args: exports_external.object({
|
|
94158
|
-
baseCurrency: fiatCurrency2().describe("Base currency code (e.g. USD)"),
|
|
94159
|
-
quoteCurrency: fiatCurrency2().describe("Quote currency code (e.g. EUR)")
|
|
94160
|
-
}),
|
|
94161
|
-
run(c) {
|
|
94162
|
-
return c.var.orpc.exchangeRates.delete({
|
|
94163
|
-
params: { baseCurrency: c.args.baseCurrency, quoteCurrency: c.args.quoteCurrency }
|
|
94046
|
+
params: {
|
|
94047
|
+
baseCurrency: c.args.baseCurrency,
|
|
94048
|
+
quoteCurrency: c.args.quoteCurrency
|
|
94049
|
+
}
|
|
94164
94050
|
});
|
|
94165
94051
|
}
|
|
94166
94052
|
});
|
|
94167
|
-
exchangeRatesCommand.command("sync", {
|
|
94168
|
-
description: "Sync exchange rates from external source",
|
|
94169
|
-
run(c) {
|
|
94170
|
-
return c.var.orpc.exchangeRates.sync({ body: {} });
|
|
94171
|
-
}
|
|
94172
|
-
});
|
|
94173
94053
|
exchangeRatesCommand.command("history", {
|
|
94174
94054
|
description: "View exchange rate history",
|
|
94175
94055
|
args: exports_external.object({
|
|
@@ -94178,7 +94058,10 @@ exchangeRatesCommand.command("history", {
|
|
|
94178
94058
|
}),
|
|
94179
94059
|
run(c) {
|
|
94180
94060
|
return c.var.orpc.exchangeRates.history({
|
|
94181
|
-
params: {
|
|
94061
|
+
params: {
|
|
94062
|
+
baseCurrency: c.args.baseCurrency,
|
|
94063
|
+
quoteCurrency: c.args.quoteCurrency
|
|
94064
|
+
},
|
|
94182
94065
|
query: {}
|
|
94183
94066
|
});
|
|
94184
94067
|
}
|
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.25969563042",
|
|
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",
|