@settlemint/dalp-sdk 3.1.4-main.32595609106 → 3.1.4-main.32596885813

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/index.js CHANGED
@@ -3,7 +3,7 @@ import {
3
3
  SDK_VERSION,
4
4
  createCookieStoreFetch,
5
5
  makeCookieStore
6
- } from "./chunk-07xz6zc2.js";
6
+ } from "./chunk-9xh05jjx.js";
7
7
  import {
8
8
  clearConditionalRequestStore,
9
9
  createDalpClient,
@@ -557,6 +557,7 @@ import {
557
557
  v2SystemTrustedIssuersUpdate,
558
558
  v2SystemTrustedIssuersUpsert,
559
559
  v2TokenAaRoleMigrationPending,
560
+ v2TokenAbortCorporateAction,
560
561
  v2TokenActions,
561
562
  v2TokenAddAuthorizedConverter,
562
563
  v2TokenAllowance,
@@ -581,6 +582,7 @@ import {
581
582
  v2TokenComplianceExpressionUpdate,
582
583
  v2TokenConfigureComplianceModule,
583
584
  v2TokenConfigureScopedComplianceModule,
585
+ v2TokenConfirmCorporateAction,
584
586
  v2TokenConversionFeatureProbe,
585
587
  v2TokenConversionHolderState,
586
588
  v2TokenConversionRecords,
@@ -590,6 +592,7 @@ import {
590
592
  v2TokenConvertedFrom,
591
593
  v2TokenConvertsTo,
592
594
  v2TokenCreate,
595
+ v2TokenCreateCorporateAction,
593
596
  v2TokenCreateStream,
594
597
  v2TokenDeclareDividend,
595
598
  v2TokenDelegate,
@@ -625,6 +628,7 @@ import {
625
628
  v2TokenFreezePartial,
626
629
  v2TokenFreezeTransactionFeeAccountingRates,
627
630
  v2TokenFreezeTransactionFeeRates,
631
+ v2TokenGetCorporateAction,
628
632
  v2TokenGrantRole,
629
633
  v2TokenGrantRoleByParticipant,
630
634
  v2TokenHistoricalBalanceAtBlock,
@@ -641,6 +645,7 @@ import {
641
645
  v2TokenInterestIssuerStats,
642
646
  v2TokenInterestRateHistory,
643
647
  v2TokenList,
648
+ v2TokenListCorporateActions,
644
649
  v2TokenListDividends,
645
650
  v2TokenMature,
646
651
  v2TokenMatureEarly,
@@ -652,6 +657,7 @@ import {
652
657
  v2TokenPause,
653
658
  v2TokenPermit,
654
659
  v2TokenPermitInfo,
660
+ v2TokenPreviewCorporateAction,
655
661
  v2TokenPrice,
656
662
  v2TokenPublishTrigger,
657
663
  v2TokenRead,
@@ -799,7 +805,7 @@ import {
799
805
  webhooksStats,
800
806
  webhooksTestEvents,
801
807
  webhooksUpdate
802
- } from "./chunk-r2ez18wm.js";
808
+ } from "./chunk-072ab8n7.js";
803
809
  import {
804
810
  createClient,
805
811
  createConfig,
@@ -808,7 +814,7 @@ import {
808
814
  mergeHeaders,
809
815
  urlSearchParamsBodySerializer
810
816
  } from "./chunk-w21k7p99.js";
811
- import"./chunk-hhhkv96b.js";
817
+ import"./chunk-0zy0nr1x.js";
812
818
  export {
813
819
  adminListUserSessions,
814
820
  adminUpdateUser,
@@ -1374,6 +1380,7 @@ export {
1374
1380
  v2SystemTrustedIssuersUpdate,
1375
1381
  v2SystemTrustedIssuersUpsert,
1376
1382
  v2TokenAaRoleMigrationPending,
1383
+ v2TokenAbortCorporateAction,
1377
1384
  v2TokenActions,
1378
1385
  v2TokenAddAuthorizedConverter,
1379
1386
  v2TokenAllowance,
@@ -1398,6 +1405,7 @@ export {
1398
1405
  v2TokenComplianceExpressionUpdate,
1399
1406
  v2TokenConfigureComplianceModule,
1400
1407
  v2TokenConfigureScopedComplianceModule,
1408
+ v2TokenConfirmCorporateAction,
1401
1409
  v2TokenConversionFeatureProbe,
1402
1410
  v2TokenConversionHolderState,
1403
1411
  v2TokenConversionRecords,
@@ -1407,6 +1415,7 @@ export {
1407
1415
  v2TokenConvertedFrom,
1408
1416
  v2TokenConvertsTo,
1409
1417
  v2TokenCreate,
1418
+ v2TokenCreateCorporateAction,
1410
1419
  v2TokenCreateStream,
1411
1420
  v2TokenDeclareDividend,
1412
1421
  v2TokenDelegate,
@@ -1442,6 +1451,7 @@ export {
1442
1451
  v2TokenFreezePartial,
1443
1452
  v2TokenFreezeTransactionFeeAccountingRates,
1444
1453
  v2TokenFreezeTransactionFeeRates,
1454
+ v2TokenGetCorporateAction,
1445
1455
  v2TokenGrantRole,
1446
1456
  v2TokenGrantRoleByParticipant,
1447
1457
  v2TokenHistoricalBalanceAtBlock,
@@ -1458,6 +1468,7 @@ export {
1458
1468
  v2TokenInterestIssuerStats,
1459
1469
  v2TokenInterestRateHistory,
1460
1470
  v2TokenList,
1471
+ v2TokenListCorporateActions,
1461
1472
  v2TokenListDividends,
1462
1473
  v2TokenMature,
1463
1474
  v2TokenMatureEarly,
@@ -1469,6 +1480,7 @@ export {
1469
1480
  v2TokenPause,
1470
1481
  v2TokenPermit,
1471
1482
  v2TokenPermitInfo,
1483
+ v2TokenPreviewCorporateAction,
1472
1484
  v2TokenPrice,
1473
1485
  v2TokenPublishTrigger,
1474
1486
  v2TokenRead,
@@ -550,6 +550,7 @@ import {
550
550
  v2SystemTrustedIssuersUpdate,
551
551
  v2SystemTrustedIssuersUpsert,
552
552
  v2TokenAaRoleMigrationPending,
553
+ v2TokenAbortCorporateAction,
553
554
  v2TokenActions,
554
555
  v2TokenAddAuthorizedConverter,
555
556
  v2TokenAllowance,
@@ -574,6 +575,7 @@ import {
574
575
  v2TokenComplianceExpressionUpdate,
575
576
  v2TokenConfigureComplianceModule,
576
577
  v2TokenConfigureScopedComplianceModule,
578
+ v2TokenConfirmCorporateAction,
577
579
  v2TokenConversionFeatureProbe,
578
580
  v2TokenConversionHolderState,
579
581
  v2TokenConversionRecords,
@@ -583,6 +585,7 @@ import {
583
585
  v2TokenConvertedFrom,
584
586
  v2TokenConvertsTo,
585
587
  v2TokenCreate,
588
+ v2TokenCreateCorporateAction,
586
589
  v2TokenDeclareDividend,
587
590
  v2TokenDelegate,
588
591
  v2TokenDelegateBySig,
@@ -617,6 +620,7 @@ import {
617
620
  v2TokenFreezePartial,
618
621
  v2TokenFreezeTransactionFeeAccountingRates,
619
622
  v2TokenFreezeTransactionFeeRates,
623
+ v2TokenGetCorporateAction,
620
624
  v2TokenGrantRole,
621
625
  v2TokenGrantRoleByParticipant,
622
626
  v2TokenHistoricalBalanceAtBlock,
@@ -633,6 +637,7 @@ import {
633
637
  v2TokenInterestIssuerStats,
634
638
  v2TokenInterestRateHistory,
635
639
  v2TokenList,
640
+ v2TokenListCorporateActions,
636
641
  v2TokenListDividends,
637
642
  v2TokenMature,
638
643
  v2TokenMatureEarly,
@@ -644,6 +649,7 @@ import {
644
649
  v2TokenPause,
645
650
  v2TokenPermit,
646
651
  v2TokenPermitInfo,
652
+ v2TokenPreviewCorporateAction,
647
653
  v2TokenPrice,
648
654
  v2TokenPublishTrigger,
649
655
  v2TokenRead,
@@ -790,9 +796,9 @@ import {
790
796
  webhooksStats,
791
797
  webhooksTestEvents,
792
798
  webhooksUpdate
793
- } from "./chunk-r2ez18wm.js";
799
+ } from "./chunk-072ab8n7.js";
794
800
  import"./chunk-w21k7p99.js";
795
- import"./chunk-hhhkv96b.js";
801
+ import"./chunk-0zy0nr1x.js";
796
802
 
797
803
  // src/generated/@tanstack/react-query.gen.ts
798
804
  import { infiniteQueryOptions, queryOptions } from "@tanstack/react-query";
@@ -12131,6 +12137,106 @@ var v2TokenInterestIssuerStatsOptions = (options) => queryOptions({
12131
12137
  },
12132
12138
  queryKey: v2TokenInterestIssuerStatsQueryKey(options)
12133
12139
  });
12140
+ var v2TokenListCorporateActionsQueryKey = (options) => createQueryKey("v2TokenListCorporateActions", options);
12141
+ var v2TokenListCorporateActionsOptions = (options) => queryOptions({
12142
+ queryFn: async ({ queryKey, signal }) => {
12143
+ const { data } = await v2TokenListCorporateActions({
12144
+ ...options,
12145
+ ...queryKey[0],
12146
+ signal,
12147
+ throwOnError: true
12148
+ });
12149
+ return data;
12150
+ },
12151
+ queryKey: v2TokenListCorporateActionsQueryKey(options)
12152
+ });
12153
+ var v2TokenListCorporateActionsInfiniteQueryKey = (options) => createQueryKey("v2TokenListCorporateActions", options, true);
12154
+ var v2TokenListCorporateActionsInfiniteOptions = (options) => {
12155
+ const opts = infiniteQueryOptions({
12156
+ queryFn: async ({ pageParam, queryKey, signal }) => {
12157
+ const page = typeof pageParam === "object" ? pageParam : {
12158
+ query: {
12159
+ page: pageParam
12160
+ }
12161
+ };
12162
+ const params = createInfiniteParams(queryKey, page);
12163
+ const { data } = await v2TokenListCorporateActions({
12164
+ ...options,
12165
+ ...params,
12166
+ signal,
12167
+ throwOnError: true
12168
+ });
12169
+ return data;
12170
+ },
12171
+ queryKey: v2TokenListCorporateActionsInfiniteQueryKey(options)
12172
+ });
12173
+ return opts;
12174
+ };
12175
+ var v2TokenCreateCorporateActionMutation = (options) => {
12176
+ const mutationOptions = {
12177
+ mutationFn: async (fnOptions) => {
12178
+ const { data } = await v2TokenCreateCorporateAction({
12179
+ ...options,
12180
+ ...fnOptions,
12181
+ throwOnError: true
12182
+ });
12183
+ return data;
12184
+ }
12185
+ };
12186
+ return mutationOptions;
12187
+ };
12188
+ var v2TokenGetCorporateActionQueryKey = (options) => createQueryKey("v2TokenGetCorporateAction", options);
12189
+ var v2TokenGetCorporateActionOptions = (options) => queryOptions({
12190
+ queryFn: async ({ queryKey, signal }) => {
12191
+ const { data } = await v2TokenGetCorporateAction({
12192
+ ...options,
12193
+ ...queryKey[0],
12194
+ signal,
12195
+ throwOnError: true
12196
+ });
12197
+ return data;
12198
+ },
12199
+ queryKey: v2TokenGetCorporateActionQueryKey(options)
12200
+ });
12201
+ var v2TokenPreviewCorporateActionMutation = (options) => {
12202
+ const mutationOptions = {
12203
+ mutationFn: async (fnOptions) => {
12204
+ const { data } = await v2TokenPreviewCorporateAction({
12205
+ ...options,
12206
+ ...fnOptions,
12207
+ throwOnError: true
12208
+ });
12209
+ return data;
12210
+ }
12211
+ };
12212
+ return mutationOptions;
12213
+ };
12214
+ var v2TokenConfirmCorporateActionMutation = (options) => {
12215
+ const mutationOptions = {
12216
+ mutationFn: async (fnOptions) => {
12217
+ const { data } = await v2TokenConfirmCorporateAction({
12218
+ ...options,
12219
+ ...fnOptions,
12220
+ throwOnError: true
12221
+ });
12222
+ return data;
12223
+ }
12224
+ };
12225
+ return mutationOptions;
12226
+ };
12227
+ var v2TokenAbortCorporateActionMutation = (options) => {
12228
+ const mutationOptions = {
12229
+ mutationFn: async (fnOptions) => {
12230
+ const { data } = await v2TokenAbortCorporateAction({
12231
+ ...options,
12232
+ ...fnOptions,
12233
+ throwOnError: true
12234
+ });
12235
+ return data;
12236
+ }
12237
+ };
12238
+ return mutationOptions;
12239
+ };
12134
12240
  var v2AddonsFixedYieldReadQueryKey = (options) => createQueryKey("v2AddonsFixedYieldRead", options);
12135
12241
  var v2AddonsFixedYieldReadOptions = (options) => queryOptions({
12136
12242
  queryFn: async ({ queryKey, signal }) => {
@@ -14733,6 +14839,7 @@ export {
14733
14839
  v2TokenAaRoleMigrationPendingInfiniteQueryKey,
14734
14840
  v2TokenAaRoleMigrationPendingOptions,
14735
14841
  v2TokenAaRoleMigrationPendingQueryKey,
14842
+ v2TokenAbortCorporateActionMutation,
14736
14843
  v2TokenActionsInfiniteOptions,
14737
14844
  v2TokenActionsInfiniteQueryKey,
14738
14845
  v2TokenActionsOptions,
@@ -14769,6 +14876,7 @@ export {
14769
14876
  v2TokenComplianceQueryKey,
14770
14877
  v2TokenConfigureComplianceModuleMutation,
14771
14878
  v2TokenConfigureScopedComplianceModuleMutation,
14879
+ v2TokenConfirmCorporateActionMutation,
14772
14880
  v2TokenConversionFeatureProbeOptions,
14773
14881
  v2TokenConversionFeatureProbeQueryKey,
14774
14882
  v2TokenConversionHolderStateOptions,
@@ -14794,6 +14902,7 @@ export {
14794
14902
  v2TokenConvertsToInfiniteQueryKey,
14795
14903
  v2TokenConvertsToOptions,
14796
14904
  v2TokenConvertsToQueryKey,
14905
+ v2TokenCreateCorporateActionMutation,
14797
14906
  v2TokenCreateMutation,
14798
14907
  v2TokenDeclareDividendMutation,
14799
14908
  v2TokenDelegateBySigMutation,
@@ -14860,6 +14969,8 @@ export {
14860
14969
  v2TokenFreezePartialMutation,
14861
14970
  v2TokenFreezeTransactionFeeAccountingRatesMutation,
14862
14971
  v2TokenFreezeTransactionFeeRatesMutation,
14972
+ v2TokenGetCorporateActionOptions,
14973
+ v2TokenGetCorporateActionQueryKey,
14863
14974
  v2TokenGrantRoleByParticipantMutation,
14864
14975
  v2TokenGrantRoleMutation,
14865
14976
  v2TokenHistoricalBalanceAtBlockByHolderOptions,
@@ -14896,6 +15007,10 @@ export {
14896
15007
  v2TokenInterestRateHistoryInfiniteQueryKey,
14897
15008
  v2TokenInterestRateHistoryOptions,
14898
15009
  v2TokenInterestRateHistoryQueryKey,
15010
+ v2TokenListCorporateActionsInfiniteOptions,
15011
+ v2TokenListCorporateActionsInfiniteQueryKey,
15012
+ v2TokenListCorporateActionsOptions,
15013
+ v2TokenListCorporateActionsQueryKey,
14899
15014
  v2TokenListDividendsInfiniteOptions,
14900
15015
  v2TokenListDividendsInfiniteQueryKey,
14901
15016
  v2TokenListDividendsOptions,
@@ -14922,6 +15037,7 @@ export {
14922
15037
  v2TokenPermitInfoOptions,
14923
15038
  v2TokenPermitInfoQueryKey,
14924
15039
  v2TokenPermitMutation,
15040
+ v2TokenPreviewCorporateActionMutation,
14925
15041
  v2TokenPriceOptions,
14926
15042
  v2TokenPriceQueryKey,
14927
15043
  v2TokenPublishTriggerMutation,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  zV2ExchangeRatesListResponse
3
- } from "../chunk-hhhkv96b.js";
3
+ } from "../chunk-0zy0nr1x.js";
4
4
 
5
5
  // src/scalars/big-decimal.ts
6
6
  import * as dn from "dnum";