@dfns/sdk 0.8.8 → 0.8.9

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.
@@ -72,10 +72,11 @@ export type CreateAllocationResponse = {
72
72
  kind: "Deposit" | "Withdraw";
73
73
  /** Status of the allocation action. Once initiated, the status will be InProgress, after processing it will be Completed or Failed. */
74
74
  status: "PendingPolicyApproval" | "InProgress" | "Completed" | "Failed" | "Rejected";
75
+ /** The user who initiated the request. */
75
76
  requester: {
76
- /** User (could be a service account) who requested the resource. */
77
+ /** User id. */
77
78
  userId: string;
78
- /** Service Account token or Personal Access token used when requesting the resource. */
79
+ /** Token id. */
79
80
  tokenId?: string | undefined;
80
81
  };
81
82
  /** The full request used for initiating this allocation action. */
@@ -200,10 +201,11 @@ export type CreateAllocationActionResponse = {
200
201
  kind: "Deposit" | "Withdraw";
201
202
  /** Status of the allocation action. Once initiated, the status will be InProgress, after processing it will be Completed or Failed. */
202
203
  status: "PendingPolicyApproval" | "InProgress" | "Completed" | "Failed" | "Rejected";
204
+ /** The user who initiated the request. */
203
205
  requester: {
204
- /** User (could be a service account) who requested the resource. */
206
+ /** User id. */
205
207
  userId: string;
206
- /** Service Account token or Personal Access token used when requesting the resource. */
208
+ /** Token id. */
207
209
  tokenId?: string | undefined;
208
210
  };
209
211
  /** The full request used for initiating this allocation action. */
@@ -310,10 +312,11 @@ export type GetAllocationResponse = {
310
312
  kind: "Deposit" | "Withdraw";
311
313
  /** Status of the allocation action. Once initiated, the status will be InProgress, after processing it will be Completed or Failed. */
312
314
  status: "PendingPolicyApproval" | "InProgress" | "Completed" | "Failed" | "Rejected";
315
+ /** The user who initiated the request. */
313
316
  requester: {
314
- /** User (could be a service account) who requested the resource. */
317
+ /** User id. */
315
318
  userId: string;
316
- /** Service Account token or Personal Access token used when requesting the resource. */
319
+ /** Token id. */
317
320
  tokenId?: string | undefined;
318
321
  };
319
322
  /** The full request used for initiating this allocation action. */
@@ -383,10 +386,11 @@ export type ListAllocationActionsResponse = {
383
386
  kind: "Deposit" | "Withdraw";
384
387
  /** Status of the allocation action. Once initiated, the status will be InProgress, after processing it will be Completed or Failed. */
385
388
  status: "PendingPolicyApproval" | "InProgress" | "Completed" | "Failed" | "Rejected";
389
+ /** The user who initiated the request. */
386
390
  requester: {
387
- /** User (could be a service account) who requested the resource. */
391
+ /** User id. */
388
392
  userId: string;
389
- /** Service Account token or Personal Access token used when requesting the resource. */
393
+ /** Token id. */
390
394
  tokenId?: string | undefined;
391
395
  };
392
396
  /** The full request used for initiating this allocation action. */
@@ -2153,9 +2153,9 @@ export type RegisterEndUserResponse = {
2153
2153
  signingKey: {
2154
2154
  /** Key id. */
2155
2155
  id: string;
2156
- /** Key scheme. */
2156
+ /** The cryptographic scheme for the key. */
2157
2157
  scheme: "DH" | "ECDSA" | "EdDSA" | "Schnorr";
2158
- /** Key curve. */
2158
+ /** The elliptic curve for the key. */
2159
2159
  curve: "ed25519" | "secp256k1" | "stark";
2160
2160
  /** Hex-encoded value of the public key. */
2161
2161
  publicKey: string;
@@ -233,8 +233,11 @@ export type CreateDepositResponse = {
233
233
  exchangeReference?: string | undefined;
234
234
  kind: "Withdrawal" | "Deposit";
235
235
  walletId: string;
236
+ /** The user who initiated the request. */
236
237
  requester: {
238
+ /** User id. */
237
239
  userId: string;
240
+ /** Token id. */
238
241
  tokenId?: string | undefined;
239
242
  };
240
243
  requestBody: {
@@ -723,8 +726,11 @@ export type CreateWithdrawalResponse = {
723
726
  exchangeReference?: string | undefined;
724
727
  kind: "Withdrawal" | "Deposit";
725
728
  walletId: string;
729
+ /** The user who initiated the request. */
726
730
  requester: {
731
+ /** User id. */
727
732
  userId: string;
733
+ /** Token id. */
728
734
  tokenId?: string | undefined;
729
735
  };
730
736
  requestBody: {
@@ -1037,6 +1043,10 @@ export type ListAssetWithdrawalNetworksResponse = (({
1037
1043
  } | {
1038
1044
  kind: "Hts";
1039
1045
  tokenId: string;
1046
+ } | {
1047
+ kind: "Iou";
1048
+ currency: string;
1049
+ issuer: string;
1040
1050
  } | {
1041
1051
  kind: "Cip56";
1042
1052
  instrumentId: string;
@@ -1044,6 +1054,9 @@ export type ListAssetWithdrawalNetworksResponse = (({
1044
1054
  } | {
1045
1055
  kind: "Coin" | "LockedCoin";
1046
1056
  coin: string;
1057
+ } | {
1058
+ kind: "Xls33";
1059
+ issuanceId: string;
1047
1060
  } | {
1048
1061
  kind: "Asset";
1049
1062
  assetId: string;
@@ -339,6 +339,7 @@ export type GenerateSignatureResponse = {
339
339
  id: string;
340
340
  /** Key id. */
341
341
  keyId: string;
342
+ /** The user who initiated the request. */
342
343
  requester: {
343
344
  /** User id. */
344
345
  userId: string;
@@ -624,6 +625,7 @@ export type GetSignatureResponse = {
624
625
  id: string;
625
626
  /** Key id. */
626
627
  keyId: string;
628
+ /** The user who initiated the request. */
627
629
  requester: {
628
630
  /** User id. */
629
631
  userId: string;
@@ -953,6 +955,7 @@ export type ListSignaturesResponse = {
953
955
  id: string;
954
956
  /** Key id. */
955
957
  keyId: string;
958
+ /** The user who initiated the request. */
956
959
  requester: {
957
960
  /** User id. */
958
961
  userId: string;
@@ -124,7 +124,7 @@ export type GetFeesQuery = {
124
124
  };
125
125
  export type GetFeesResponse = {
126
126
  kind: "Bitcoin";
127
- network: ("Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3") | ("Dogecoin" | "DogecoinTestnet") | ("Litecoin" | "LitecoinTestnet");
127
+ network: "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "Litecoin" | "LitecoinTestnet" | "DogecoinTestnet" | "Dogecoin";
128
128
  blockNumber: number;
129
129
  slow: {
130
130
  feeRate: string;
@@ -77,6 +77,7 @@ export type GetPermissionResponse = {
77
77
  } & {
78
78
  pendingChangeRequest?: {
79
79
  id: string;
80
+ /** The user who initiated the change request. */
80
81
  requester: {
81
82
  userId: string;
82
83
  tokenId?: string | undefined;
@@ -114,6 +115,7 @@ export type ListAssignmentsResponse = {
114
115
  } & {
115
116
  pendingChangeRequest?: {
116
117
  id: string;
118
+ /** The user who initiated the change request. */
117
119
  requester: {
118
120
  userId: string;
119
121
  tokenId?: string | undefined;
@@ -154,6 +156,7 @@ export type ListPermissionsResponse = {
154
156
  } & {
155
157
  pendingChangeRequest?: {
156
158
  id: string;
159
+ /** The user who initiated the change request. */
157
160
  requester: {
158
161
  userId: string;
159
162
  tokenId?: string | undefined;