@dynamic-labs/sdk-api 0.129.0 → 0.131.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/package.json +1 -1
- package/src/apis/SDKApi.d.ts +2 -2
- package/src/apis/SDKApi.js +2 -2
- package/src/apis/ServerApi.d.ts +16 -0
- package/src/apis/ServerApi.js +31 -0
- package/src/index.js +2 -0
- package/src/models/ExportCreateRequestFilter.d.ts +7 -0
- package/src/models/ExportCreateRequestFilter.js +3 -0
- package/src/models/ExportCreateRequestFilterWallets.d.ts +33 -0
- package/src/models/ExportCreateRequestFilterWallets.js +29 -0
- package/src/models/ExportModelEnum.d.ts +2 -1
- package/src/models/ExportModelEnum.js +1 -0
- package/src/models/FlowCreateRequest.d.ts +1 -1
- package/src/models/FlowPaymentLinkCreateRequest.d.ts +1 -1
- package/src/models/FlowSourceResponse.d.ts +1 -1
- package/src/models/NotFoundWithoutCode.d.ts +27 -0
- package/src/models/NotFoundWithoutCode.js +37 -0
- package/src/models/index.d.ts +2 -0
package/package.json
CHANGED
package/src/apis/SDKApi.d.ts
CHANGED
|
@@ -1768,12 +1768,12 @@ export interface YieldVaultWithdrawOptionsRequest {
|
|
|
1768
1768
|
*/
|
|
1769
1769
|
export declare class SDKApi extends runtime.BaseAPI {
|
|
1770
1770
|
/**
|
|
1771
|
-
* Sets the source wallet address and chain on
|
|
1771
|
+
* Sets the source wallet address and chain on a flow and mints the capability sessionToken used to drive the rest of the lifecycle. No API key or token is required (the browser has neither at this point) — the endpoint is gated by the flow\'s state and by CORS. A source can be attached while the flow is initiated, source_attached, quoted or signing, so a payer can switch source before broadcasting. Unlike quote, prepare, broadcast and cancel, which always require the session token, attach needs no token for the first attach or while the flow is source_attached or quoted. From signing, the current session token must be supplied (X-Dynamic-Flow-Session-Token) to prove the caller is the original signer; otherwise the request is rejected with 403 session_token_invalid. Once the flow has been broadcasted or source_detected, or has reached a terminal state, the request is rejected with 409 flow_invalid_transition. Each attach mints a new session token and invalidates the previous one, so at most one live token exists per flow at a time.
|
|
1772
1772
|
* Attach a source to a flow and mint a session token
|
|
1773
1773
|
*/
|
|
1774
1774
|
attachFlowSourceRaw(requestParameters: AttachFlowSourceRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<FlowSourceResponse>>;
|
|
1775
1775
|
/**
|
|
1776
|
-
* Sets the source wallet address and chain on
|
|
1776
|
+
* Sets the source wallet address and chain on a flow and mints the capability sessionToken used to drive the rest of the lifecycle. No API key or token is required (the browser has neither at this point) — the endpoint is gated by the flow\'s state and by CORS. A source can be attached while the flow is initiated, source_attached, quoted or signing, so a payer can switch source before broadcasting. Unlike quote, prepare, broadcast and cancel, which always require the session token, attach needs no token for the first attach or while the flow is source_attached or quoted. From signing, the current session token must be supplied (X-Dynamic-Flow-Session-Token) to prove the caller is the original signer; otherwise the request is rejected with 403 session_token_invalid. Once the flow has been broadcasted or source_detected, or has reached a terminal state, the request is rejected with 409 flow_invalid_transition. Each attach mints a new session token and invalidates the previous one, so at most one live token exists per flow at a time.
|
|
1777
1777
|
* Attach a source to a flow and mint a session token
|
|
1778
1778
|
*/
|
|
1779
1779
|
attachFlowSource(requestParameters: AttachFlowSourceRequest, initOverrides?: RequestInit): Promise<FlowSourceResponse>;
|
package/src/apis/SDKApi.js
CHANGED
|
@@ -422,7 +422,7 @@ import { YieldVaultRewardsResponseFromJSON } from '../models/YieldVaultRewardsRe
|
|
|
422
422
|
*/
|
|
423
423
|
class SDKApi extends BaseAPI {
|
|
424
424
|
/**
|
|
425
|
-
* Sets the source wallet address and chain on
|
|
425
|
+
* Sets the source wallet address and chain on a flow and mints the capability sessionToken used to drive the rest of the lifecycle. No API key or token is required (the browser has neither at this point) — the endpoint is gated by the flow\'s state and by CORS. A source can be attached while the flow is initiated, source_attached, quoted or signing, so a payer can switch source before broadcasting. Unlike quote, prepare, broadcast and cancel, which always require the session token, attach needs no token for the first attach or while the flow is source_attached or quoted. From signing, the current session token must be supplied (X-Dynamic-Flow-Session-Token) to prove the caller is the original signer; otherwise the request is rejected with 403 session_token_invalid. Once the flow has been broadcasted or source_detected, or has reached a terminal state, the request is rejected with 409 flow_invalid_transition. Each attach mints a new session token and invalidates the previous one, so at most one live token exists per flow at a time.
|
|
426
426
|
* Attach a source to a flow and mint a session token
|
|
427
427
|
*/
|
|
428
428
|
async attachFlowSourceRaw(requestParameters, initOverrides) {
|
|
@@ -451,7 +451,7 @@ class SDKApi extends BaseAPI {
|
|
|
451
451
|
return new JSONApiResponse(response, (jsonValue) => FlowSourceResponseFromJSON(jsonValue));
|
|
452
452
|
}
|
|
453
453
|
/**
|
|
454
|
-
* Sets the source wallet address and chain on
|
|
454
|
+
* Sets the source wallet address and chain on a flow and mints the capability sessionToken used to drive the rest of the lifecycle. No API key or token is required (the browser has neither at this point) — the endpoint is gated by the flow\'s state and by CORS. A source can be attached while the flow is initiated, source_attached, quoted or signing, so a payer can switch source before broadcasting. Unlike quote, prepare, broadcast and cancel, which always require the session token, attach needs no token for the first attach or while the flow is source_attached or quoted. From signing, the current session token must be supplied (X-Dynamic-Flow-Session-Token) to prove the caller is the original signer; otherwise the request is rejected with 403 session_token_invalid. Once the flow has been broadcasted or source_detected, or has reached a terminal state, the request is rejected with 409 flow_invalid_transition. Each attach mints a new session token and invalidates the previous one, so at most one live token exists per flow at a time.
|
|
455
455
|
* Attach a source to a flow and mint a session token
|
|
456
456
|
*/
|
|
457
457
|
async attachFlowSource(requestParameters, initOverrides) {
|
package/src/apis/ServerApi.d.ts
CHANGED
|
@@ -23,6 +23,10 @@ export interface BackupKeySharesToLocationsServerRequest {
|
|
|
23
23
|
backupKeySharesToLocationsRequest: BackupKeySharesToLocationsRequest;
|
|
24
24
|
xDynServerSigningProof?: string;
|
|
25
25
|
}
|
|
26
|
+
export interface CancelFlowServerRequest {
|
|
27
|
+
environmentId: string;
|
|
28
|
+
flowId: string;
|
|
29
|
+
}
|
|
26
30
|
export interface CreateBusinessAccountServerRequest {
|
|
27
31
|
environmentId: string;
|
|
28
32
|
xDynServerSigningProof?: string;
|
|
@@ -225,6 +229,16 @@ export declare class ServerApi extends runtime.BaseAPI {
|
|
|
225
229
|
* Server — create backup action and event for multiple locations without performing actual backup
|
|
226
230
|
*/
|
|
227
231
|
backupKeySharesToLocationsServer(requestParameters: BackupKeySharesToLocationsServerRequest, initOverrides?: RequestInit): Promise<BackupKeySharesToLocationsResponse>;
|
|
232
|
+
/**
|
|
233
|
+
* Cancels a flow that is still initiated, meaning no source has been attached yet. Returns 400 if flowId is not a valid UUID and 409 if the flow is in any other state. Requires an environment API token with the flow.write scope.
|
|
234
|
+
* Cancel a flow
|
|
235
|
+
*/
|
|
236
|
+
cancelFlowServerRaw(requestParameters: CancelFlowServerRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<Flow>>;
|
|
237
|
+
/**
|
|
238
|
+
* Cancels a flow that is still initiated, meaning no source has been attached yet. Returns 400 if flowId is not a valid UUID and 409 if the flow is in any other state. Requires an environment API token with the flow.write scope.
|
|
239
|
+
* Cancel a flow
|
|
240
|
+
*/
|
|
241
|
+
cancelFlowServer(requestParameters: CancelFlowServerRequest, initOverrides?: RequestInit): Promise<Flow>;
|
|
228
242
|
/**
|
|
229
243
|
* Create a business account from the server SDK. The authenticated service user becomes the first `owner` member. Gated by the `enable-business-accounts` feature flag.
|
|
230
244
|
* Server — create a business account
|
|
@@ -356,10 +370,12 @@ export declare class ServerApi extends runtime.BaseAPI {
|
|
|
356
370
|
*/
|
|
357
371
|
getFlowFeeClaimBalancesServer(requestParameters: GetFlowFeeClaimBalancesServerRequest, initOverrides?: RequestInit): Promise<FlowFeeBalancesResponse>;
|
|
358
372
|
/**
|
|
373
|
+
* Returns the flow with its full, unredacted details, including destination addresses, the settlement transaction hash, and the settlement and destination configuration. Call it as GET /server/{environmentId}/flow/{flowId}; the path segment is the flow ID. Requires an environment API token with the flow.write scope.
|
|
359
374
|
* Get a flow by ID
|
|
360
375
|
*/
|
|
361
376
|
getFlowServerRaw(requestParameters: GetFlowServerRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<Flow>>;
|
|
362
377
|
/**
|
|
378
|
+
* Returns the flow with its full, unredacted details, including destination addresses, the settlement transaction hash, and the settlement and destination configuration. Call it as GET /server/{environmentId}/flow/{flowId}; the path segment is the flow ID. Requires an environment API token with the flow.write scope.
|
|
363
379
|
* Get a flow by ID
|
|
364
380
|
*/
|
|
365
381
|
getFlowServer(requestParameters: GetFlowServerRequest, initOverrides?: RequestInit): Promise<Flow>;
|
package/src/apis/ServerApi.js
CHANGED
|
@@ -333,6 +333,35 @@ class ServerApi extends BaseAPI {
|
|
|
333
333
|
const response = await this.backupKeySharesToLocationsServerRaw(requestParameters, initOverrides);
|
|
334
334
|
return await response.value();
|
|
335
335
|
}
|
|
336
|
+
/**
|
|
337
|
+
* Cancels a flow that is still initiated, meaning no source has been attached yet. Returns 400 if flowId is not a valid UUID and 409 if the flow is in any other state. Requires an environment API token with the flow.write scope.
|
|
338
|
+
* Cancel a flow
|
|
339
|
+
*/
|
|
340
|
+
async cancelFlowServerRaw(requestParameters, initOverrides) {
|
|
341
|
+
if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
|
|
342
|
+
throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling cancelFlowServer.');
|
|
343
|
+
}
|
|
344
|
+
if (requestParameters.flowId === null || requestParameters.flowId === undefined) {
|
|
345
|
+
throw new RequiredError('flowId', 'Required parameter requestParameters.flowId was null or undefined when calling cancelFlowServer.');
|
|
346
|
+
}
|
|
347
|
+
const queryParameters = {};
|
|
348
|
+
const headerParameters = {};
|
|
349
|
+
const response = await this.request({
|
|
350
|
+
path: `/server/{environmentId}/flow/{flowId}/cancel`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"flowId"}}`, encodeURIComponent(String(requestParameters.flowId))),
|
|
351
|
+
method: 'POST',
|
|
352
|
+
headers: headerParameters,
|
|
353
|
+
query: queryParameters,
|
|
354
|
+
}, initOverrides);
|
|
355
|
+
return new JSONApiResponse(response, (jsonValue) => FlowFromJSON(jsonValue));
|
|
356
|
+
}
|
|
357
|
+
/**
|
|
358
|
+
* Cancels a flow that is still initiated, meaning no source has been attached yet. Returns 400 if flowId is not a valid UUID and 409 if the flow is in any other state. Requires an environment API token with the flow.write scope.
|
|
359
|
+
* Cancel a flow
|
|
360
|
+
*/
|
|
361
|
+
async cancelFlowServer(requestParameters, initOverrides) {
|
|
362
|
+
const response = await this.cancelFlowServerRaw(requestParameters, initOverrides);
|
|
363
|
+
return await response.value();
|
|
364
|
+
}
|
|
336
365
|
/**
|
|
337
366
|
* Create a business account from the server SDK. The authenticated service user becomes the first `owner` member. Gated by the `enable-business-accounts` feature flag.
|
|
338
367
|
* Server — create a business account
|
|
@@ -769,6 +798,7 @@ class ServerApi extends BaseAPI {
|
|
|
769
798
|
return await response.value();
|
|
770
799
|
}
|
|
771
800
|
/**
|
|
801
|
+
* Returns the flow with its full, unredacted details, including destination addresses, the settlement transaction hash, and the settlement and destination configuration. Call it as GET /server/{environmentId}/flow/{flowId}; the path segment is the flow ID. Requires an environment API token with the flow.write scope.
|
|
772
802
|
* Get a flow by ID
|
|
773
803
|
*/
|
|
774
804
|
async getFlowServerRaw(requestParameters, initOverrides) {
|
|
@@ -789,6 +819,7 @@ class ServerApi extends BaseAPI {
|
|
|
789
819
|
return new JSONApiResponse(response, (jsonValue) => FlowFromJSON(jsonValue));
|
|
790
820
|
}
|
|
791
821
|
/**
|
|
822
|
+
* Returns the flow with its full, unredacted details, including destination addresses, the settlement transaction hash, and the settlement and destination configuration. Call it as GET /server/{environmentId}/flow/{flowId}; the path segment is the flow ID. Requires an environment API token with the flow.write scope.
|
|
792
823
|
* Get a flow by ID
|
|
793
824
|
*/
|
|
794
825
|
async getFlowServer(requestParameters, initOverrides) {
|
package/src/index.js
CHANGED
|
@@ -343,6 +343,7 @@ export { ExportFromJSON, ExportFromJSONTyped, ExportToJSON } from './models/Expo
|
|
|
343
343
|
export { ExportAleoViewKeyRequestFromJSON, ExportAleoViewKeyRequestFromJSONTyped, ExportAleoViewKeyRequestToJSON } from './models/ExportAleoViewKeyRequest.js';
|
|
344
344
|
export { ExportCreateRequestFromJSON, ExportCreateRequestFromJSONTyped, ExportCreateRequestToJSON } from './models/ExportCreateRequest.js';
|
|
345
345
|
export { ExportCreateRequestFilterFromJSON, ExportCreateRequestFilterFromJSONTyped, ExportCreateRequestFilterToJSON } from './models/ExportCreateRequestFilter.js';
|
|
346
|
+
export { ExportCreateRequestFilterWalletsFromJSON, ExportCreateRequestFilterWalletsFromJSONTyped, ExportCreateRequestFilterWalletsToJSON } from './models/ExportCreateRequestFilterWallets.js';
|
|
346
347
|
export { ExportEmbeddedWalletResponseFromJSON, ExportEmbeddedWalletResponseFromJSONTyped, ExportEmbeddedWalletResponseToJSON } from './models/ExportEmbeddedWalletResponse.js';
|
|
347
348
|
export { ExportFormatEnum, ExportFormatEnumFromJSON, ExportFormatEnumFromJSONTyped, ExportFormatEnumToJSON } from './models/ExportFormatEnum.js';
|
|
348
349
|
export { ExportModelEnum, ExportModelEnumFromJSON, ExportModelEnumFromJSONTyped, ExportModelEnumToJSON } from './models/ExportModelEnum.js';
|
|
@@ -604,6 +605,7 @@ export { NextViewEnum, NextViewEnumFromJSON, NextViewEnumFromJSONTyped, NextView
|
|
|
604
605
|
export { NonceResponseFromJSON, NonceResponseFromJSONTyped, NonceResponseToJSON } from './models/NonceResponse.js';
|
|
605
606
|
export { NoncesResponseFromJSON, NoncesResponseFromJSONTyped, NoncesResponseToJSON } from './models/NoncesResponse.js';
|
|
606
607
|
export { NotFoundFromJSON, NotFoundFromJSONTyped, NotFoundToJSON } from './models/NotFound.js';
|
|
608
|
+
export { NotFoundWithoutCodeFromJSON, NotFoundWithoutCodeFromJSONTyped, NotFoundWithoutCodeToJSON } from './models/NotFoundWithoutCode.js';
|
|
607
609
|
export { OAuthAccountFromJSON, OAuthAccountFromJSONTyped, OAuthAccountToJSON } from './models/OAuthAccount.js';
|
|
608
610
|
export { OauthInitAuthRequestFromJSON, OauthInitAuthRequestFromJSONTyped, OauthInitAuthRequestToJSON } from './models/OauthInitAuthRequest.js';
|
|
609
611
|
export { OauthProviderLoginUrlFromJSON, OauthProviderLoginUrlFromJSONTyped, OauthProviderLoginUrlToJSON } from './models/OauthProviderLoginUrl.js';
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { BusinessAccountActionEnum } from './BusinessAccountActionEnum';
|
|
13
|
+
import { ExportCreateRequestFilterWallets } from './ExportCreateRequestFilterWallets';
|
|
13
14
|
/**
|
|
14
15
|
* Model-specific filter criteria. For `businessAccountActivity`: `businessAccountId` (required), `from`/`to` (date-time), and `actions` (array of BusinessAccountActionEnum) are supported.
|
|
15
16
|
* @export
|
|
@@ -32,6 +33,12 @@ export interface ExportCreateRequestFilter {
|
|
|
32
33
|
visits?: {
|
|
33
34
|
[key: string]: object;
|
|
34
35
|
};
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {ExportCreateRequestFilterWallets}
|
|
39
|
+
* @memberof ExportCreateRequestFilter
|
|
40
|
+
*/
|
|
41
|
+
wallets?: ExportCreateRequestFilterWallets;
|
|
35
42
|
/**
|
|
36
43
|
*
|
|
37
44
|
* @type {string}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { exists } from '../runtime.js';
|
|
2
2
|
import { BusinessAccountActionEnumFromJSON, BusinessAccountActionEnumToJSON } from './BusinessAccountActionEnum.js';
|
|
3
|
+
import { ExportCreateRequestFilterWalletsFromJSON, ExportCreateRequestFilterWalletsToJSON } from './ExportCreateRequestFilterWallets.js';
|
|
3
4
|
|
|
4
5
|
/* tslint:disable */
|
|
5
6
|
function ExportCreateRequestFilterFromJSON(json) {
|
|
@@ -12,6 +13,7 @@ function ExportCreateRequestFilterFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
12
13
|
return {
|
|
13
14
|
'users': !exists(json, 'users') ? undefined : json['users'],
|
|
14
15
|
'visits': !exists(json, 'visits') ? undefined : json['visits'],
|
|
16
|
+
'wallets': !exists(json, 'wallets') ? undefined : ExportCreateRequestFilterWalletsFromJSON(json['wallets']),
|
|
15
17
|
'businessAccountId': !exists(json, 'businessAccountId') ? undefined : json['businessAccountId'],
|
|
16
18
|
'from': !exists(json, 'from') ? undefined : (new Date(json['from'])),
|
|
17
19
|
'to': !exists(json, 'to') ? undefined : (new Date(json['to'])),
|
|
@@ -28,6 +30,7 @@ function ExportCreateRequestFilterToJSON(value) {
|
|
|
28
30
|
return {
|
|
29
31
|
'users': value.users,
|
|
30
32
|
'visits': value.visits,
|
|
33
|
+
'wallets': ExportCreateRequestFilterWalletsToJSON(value.wallets),
|
|
31
34
|
'businessAccountId': value.businessAccountId,
|
|
32
35
|
'from': value.from === undefined ? undefined : (value.from.toISOString()),
|
|
33
36
|
'to': value.to === undefined ? undefined : (value.to.toISOString()),
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dashboard API
|
|
3
|
+
* Dashboard API documentation
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Wallet export filters (`userId`, `address`)
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ExportCreateRequestFilterWallets
|
|
16
|
+
*/
|
|
17
|
+
export interface ExportCreateRequestFilterWallets {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ExportCreateRequestFilterWallets
|
|
22
|
+
*/
|
|
23
|
+
userId?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ExportCreateRequestFilterWallets
|
|
28
|
+
*/
|
|
29
|
+
address?: string;
|
|
30
|
+
}
|
|
31
|
+
export declare function ExportCreateRequestFilterWalletsFromJSON(json: any): ExportCreateRequestFilterWallets;
|
|
32
|
+
export declare function ExportCreateRequestFilterWalletsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExportCreateRequestFilterWallets;
|
|
33
|
+
export declare function ExportCreateRequestFilterWalletsToJSON(value?: ExportCreateRequestFilterWallets | null): any;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function ExportCreateRequestFilterWalletsFromJSON(json) {
|
|
5
|
+
return ExportCreateRequestFilterWalletsFromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function ExportCreateRequestFilterWalletsFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'userId': !exists(json, 'userId') ? undefined : json['userId'],
|
|
13
|
+
'address': !exists(json, 'address') ? undefined : json['address'],
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
function ExportCreateRequestFilterWalletsToJSON(value) {
|
|
17
|
+
if (value === undefined) {
|
|
18
|
+
return undefined;
|
|
19
|
+
}
|
|
20
|
+
if (value === null) {
|
|
21
|
+
return null;
|
|
22
|
+
}
|
|
23
|
+
return {
|
|
24
|
+
'userId': value.userId,
|
|
25
|
+
'address': value.address,
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export { ExportCreateRequestFilterWalletsFromJSON, ExportCreateRequestFilterWalletsFromJSONTyped, ExportCreateRequestFilterWalletsToJSON };
|
|
@@ -17,7 +17,8 @@
|
|
|
17
17
|
export declare enum ExportModelEnum {
|
|
18
18
|
Users = "users",
|
|
19
19
|
Visits = "visits",
|
|
20
|
-
BusinessAccountActivity = "businessAccountActivity"
|
|
20
|
+
BusinessAccountActivity = "businessAccountActivity",
|
|
21
|
+
Wallets = "wallets"
|
|
21
22
|
}
|
|
22
23
|
export declare function ExportModelEnumFromJSON(json: any): ExportModelEnum;
|
|
23
24
|
export declare function ExportModelEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExportModelEnum;
|
|
@@ -21,6 +21,7 @@ var ExportModelEnum;
|
|
|
21
21
|
ExportModelEnum["Users"] = "users";
|
|
22
22
|
ExportModelEnum["Visits"] = "visits";
|
|
23
23
|
ExportModelEnum["BusinessAccountActivity"] = "businessAccountActivity";
|
|
24
|
+
ExportModelEnum["Wallets"] = "wallets";
|
|
24
25
|
})(ExportModelEnum || (ExportModelEnum = {}));
|
|
25
26
|
function ExportModelEnumFromJSON(json) {
|
|
26
27
|
return ExportModelEnumFromJSONTyped(json);
|
|
@@ -57,7 +57,7 @@ export interface FlowCreateRequest {
|
|
|
57
57
|
*/
|
|
58
58
|
feeConfig?: FlowFeeConfig;
|
|
59
59
|
/**
|
|
60
|
-
* Seconds until the flow expires (
|
|
60
|
+
* Seconds until the flow expires. Default 86400 (24 hours); values above 31536000 (365 days) are clamped. Expiry applies only before the payment is broadcast.
|
|
61
61
|
* @type {number}
|
|
62
62
|
* @memberof FlowCreateRequest
|
|
63
63
|
*/
|
|
@@ -57,7 +57,7 @@ export interface FlowPaymentLinkCreateRequest {
|
|
|
57
57
|
*/
|
|
58
58
|
feeConfig?: FlowFeeConfig;
|
|
59
59
|
/**
|
|
60
|
-
* Seconds until the flow expires (
|
|
60
|
+
* Seconds until the flow expires. Default 86400 (24 hours); values above 31536000 (365 days) are clamped. Expiry applies only before the payment is broadcast.
|
|
61
61
|
* @type {number}
|
|
62
62
|
* @memberof FlowPaymentLinkCreateRequest
|
|
63
63
|
*/
|
|
@@ -23,7 +23,7 @@ export interface FlowSourceResponse {
|
|
|
23
23
|
*/
|
|
24
24
|
sessionExpiresAt: Date;
|
|
25
25
|
/**
|
|
26
|
-
* Opaque capability token for authenticating subsequent calls on this flow (quote
|
|
26
|
+
* Opaque capability token for authenticating subsequent calls on this flow (quote, prepare, broadcast, cancel). Minted by the source endpoint and returned exactly once — store it immediately. At most one live token exists per flow at a time. Format: dft_<base64url>.
|
|
27
27
|
* @type {string}
|
|
28
28
|
* @memberof FlowSourceResponse
|
|
29
29
|
*/
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dashboard API
|
|
3
|
+
* Dashboard API documentation
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface NotFoundWithoutCode
|
|
16
|
+
*/
|
|
17
|
+
export interface NotFoundWithoutCode {
|
|
18
|
+
/**
|
|
19
|
+
* Human-readable error message
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof NotFoundWithoutCode
|
|
22
|
+
*/
|
|
23
|
+
error: string;
|
|
24
|
+
}
|
|
25
|
+
export declare function NotFoundWithoutCodeFromJSON(json: any): NotFoundWithoutCode;
|
|
26
|
+
export declare function NotFoundWithoutCodeFromJSONTyped(json: any, ignoreDiscriminator: boolean): NotFoundWithoutCode;
|
|
27
|
+
export declare function NotFoundWithoutCodeToJSON(value?: NotFoundWithoutCode | null): any;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Dashboard API
|
|
5
|
+
* Dashboard API documentation
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
function NotFoundWithoutCodeFromJSON(json) {
|
|
15
|
+
return NotFoundWithoutCodeFromJSONTyped(json);
|
|
16
|
+
}
|
|
17
|
+
function NotFoundWithoutCodeFromJSONTyped(json, ignoreDiscriminator) {
|
|
18
|
+
if ((json === undefined) || (json === null)) {
|
|
19
|
+
return json;
|
|
20
|
+
}
|
|
21
|
+
return {
|
|
22
|
+
'error': json['error'],
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
function NotFoundWithoutCodeToJSON(value) {
|
|
26
|
+
if (value === undefined) {
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
if (value === null) {
|
|
30
|
+
return null;
|
|
31
|
+
}
|
|
32
|
+
return {
|
|
33
|
+
'error': value.error,
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export { NotFoundWithoutCodeFromJSON, NotFoundWithoutCodeFromJSONTyped, NotFoundWithoutCodeToJSON };
|
package/src/models/index.d.ts
CHANGED
|
@@ -290,6 +290,7 @@ export * from './Export';
|
|
|
290
290
|
export * from './ExportAleoViewKeyRequest';
|
|
291
291
|
export * from './ExportCreateRequest';
|
|
292
292
|
export * from './ExportCreateRequestFilter';
|
|
293
|
+
export * from './ExportCreateRequestFilterWallets';
|
|
293
294
|
export * from './ExportEmbeddedWalletResponse';
|
|
294
295
|
export * from './ExportFormatEnum';
|
|
295
296
|
export * from './ExportModelEnum';
|
|
@@ -551,6 +552,7 @@ export * from './NextViewEnum';
|
|
|
551
552
|
export * from './NonceResponse';
|
|
552
553
|
export * from './NoncesResponse';
|
|
553
554
|
export * from './NotFound';
|
|
555
|
+
export * from './NotFoundWithoutCode';
|
|
554
556
|
export * from './OAuthAccount';
|
|
555
557
|
export * from './OauthInitAuthRequest';
|
|
556
558
|
export * from './OauthProviderLoginUrl';
|