@dynamic-labs/sdk-api 0.0.700 → 0.0.702

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/src/index.js CHANGED
@@ -159,9 +159,14 @@ export { EnvironmentsResponseEnvironmentsFromJSON, EnvironmentsResponseEnvironme
159
159
  export { ErrorMessageWithCodeFromJSON, ErrorMessageWithCodeFromJSONTyped, ErrorMessageWithCodeToJSON } from './models/ErrorMessageWithCode.js';
160
160
  export { EventFromJSON, EventFromJSONTyped, EventToJSON } from './models/Event.js';
161
161
  export { EventTypeFromJSON, EventTypeFromJSONTyped, EventTypeToJSON } from './models/EventType.js';
162
+ export { ExchangeFromJSON, ExchangeFromJSONTyped, ExchangeToJSON } from './models/Exchange.js';
163
+ export { ExchangeCreateRequestFromJSON, ExchangeCreateRequestFromJSONTyped, ExchangeCreateRequestToJSON } from './models/ExchangeCreateRequest.js';
162
164
  export { ExchangeKeyEnum, ExchangeKeyEnumFromJSON, ExchangeKeyEnumFromJSONTyped, ExchangeKeyEnumToJSON } from './models/ExchangeKeyEnum.js';
165
+ export { ExchangeOptionFromJSON, ExchangeOptionFromJSONTyped, ExchangeOptionToJSON } from './models/ExchangeOption.js';
166
+ export { ExchangeResponseFromJSON, ExchangeResponseFromJSONTyped, ExchangeResponseToJSON } from './models/ExchangeResponse.js';
163
167
  export { ExchangeTransactionFromJSON, ExchangeTransactionFromJSONTyped, ExchangeTransactionToJSON } from './models/ExchangeTransaction.js';
164
168
  export { ExchangeTransferResponseFromJSON, ExchangeTransferResponseFromJSONTyped, ExchangeTransferResponseToJSON } from './models/ExchangeTransferResponse.js';
169
+ export { ExchangeUpdateRequestFromJSON, ExchangeUpdateRequestFromJSONTyped, ExchangeUpdateRequestToJSON } from './models/ExchangeUpdateRequest.js';
165
170
  export { ExportFromJSON, ExportFromJSONTyped, ExportToJSON } from './models/Export.js';
166
171
  export { ExportCreateRequestFromJSON, ExportCreateRequestFromJSONTyped, ExportCreateRequestToJSON } from './models/ExportCreateRequest.js';
167
172
  export { ExportEmbeddedWalletResponseFromJSON, ExportEmbeddedWalletResponseFromJSONTyped, ExportEmbeddedWalletResponseToJSON } from './models/ExportEmbeddedWalletResponse.js';
@@ -0,0 +1,43 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var runtime = require('../runtime.cjs');
6
+ var ExchangeKeyEnum = require('./ExchangeKeyEnum.cjs');
7
+ var ProviderEnum = require('./ProviderEnum.cjs');
8
+
9
+ /* tslint:disable */
10
+ function ExchangeFromJSON(json) {
11
+ return ExchangeFromJSONTyped(json);
12
+ }
13
+ function ExchangeFromJSONTyped(json, ignoreDiscriminator) {
14
+ if ((json === undefined) || (json === null)) {
15
+ return json;
16
+ }
17
+ return {
18
+ 'id': !runtime.exists(json, 'id') ? undefined : json['id'],
19
+ 'exchange': ExchangeKeyEnum.ExchangeKeyEnumFromJSON(json['exchange']),
20
+ 'enabledAt': !runtime.exists(json, 'enabledAt') ? undefined : (json['enabledAt'] === null ? null : new Date(json['enabledAt'])),
21
+ 'socialProvider': !runtime.exists(json, 'socialProvider') ? undefined : ProviderEnum.ProviderEnumFromJSON(json['socialProvider']),
22
+ 'onRampProvider': !runtime.exists(json, 'onRampProvider') ? undefined : ProviderEnum.ProviderEnumFromJSON(json['onRampProvider']),
23
+ };
24
+ }
25
+ function ExchangeToJSON(value) {
26
+ if (value === undefined) {
27
+ return undefined;
28
+ }
29
+ if (value === null) {
30
+ return null;
31
+ }
32
+ return {
33
+ 'id': value.id,
34
+ 'exchange': ExchangeKeyEnum.ExchangeKeyEnumToJSON(value.exchange),
35
+ 'enabledAt': value.enabledAt === undefined ? undefined : (value.enabledAt === null ? null : value.enabledAt.toISOString()),
36
+ 'socialProvider': ProviderEnum.ProviderEnumToJSON(value.socialProvider),
37
+ 'onRampProvider': ProviderEnum.ProviderEnumToJSON(value.onRampProvider),
38
+ };
39
+ }
40
+
41
+ exports.ExchangeFromJSON = ExchangeFromJSON;
42
+ exports.ExchangeFromJSONTyped = ExchangeFromJSONTyped;
43
+ exports.ExchangeToJSON = ExchangeToJSON;
@@ -0,0 +1,53 @@
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
+ import { ExchangeKeyEnum } from './ExchangeKeyEnum';
13
+ import { ProviderEnum } from './ProviderEnum';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface Exchange
18
+ */
19
+ export interface Exchange {
20
+ /**
21
+ *
22
+ * @type {string}
23
+ * @memberof Exchange
24
+ */
25
+ id?: string;
26
+ /**
27
+ *
28
+ * @type {ExchangeKeyEnum}
29
+ * @memberof Exchange
30
+ */
31
+ exchange: ExchangeKeyEnum;
32
+ /**
33
+ *
34
+ * @type {Date}
35
+ * @memberof Exchange
36
+ */
37
+ enabledAt?: Date | null;
38
+ /**
39
+ *
40
+ * @type {ProviderEnum}
41
+ * @memberof Exchange
42
+ */
43
+ socialProvider?: ProviderEnum;
44
+ /**
45
+ *
46
+ * @type {ProviderEnum}
47
+ * @memberof Exchange
48
+ */
49
+ onRampProvider?: ProviderEnum;
50
+ }
51
+ export declare function ExchangeFromJSON(json: any): Exchange;
52
+ export declare function ExchangeFromJSONTyped(json: any, ignoreDiscriminator: boolean): Exchange;
53
+ export declare function ExchangeToJSON(value?: Exchange | null): any;
@@ -0,0 +1,37 @@
1
+ import { exists } from '../runtime.js';
2
+ import { ExchangeKeyEnumFromJSON, ExchangeKeyEnumToJSON } from './ExchangeKeyEnum.js';
3
+ import { ProviderEnumFromJSON, ProviderEnumToJSON } from './ProviderEnum.js';
4
+
5
+ /* tslint:disable */
6
+ function ExchangeFromJSON(json) {
7
+ return ExchangeFromJSONTyped(json);
8
+ }
9
+ function ExchangeFromJSONTyped(json, ignoreDiscriminator) {
10
+ if ((json === undefined) || (json === null)) {
11
+ return json;
12
+ }
13
+ return {
14
+ 'id': !exists(json, 'id') ? undefined : json['id'],
15
+ 'exchange': ExchangeKeyEnumFromJSON(json['exchange']),
16
+ 'enabledAt': !exists(json, 'enabledAt') ? undefined : (json['enabledAt'] === null ? null : new Date(json['enabledAt'])),
17
+ 'socialProvider': !exists(json, 'socialProvider') ? undefined : ProviderEnumFromJSON(json['socialProvider']),
18
+ 'onRampProvider': !exists(json, 'onRampProvider') ? undefined : ProviderEnumFromJSON(json['onRampProvider']),
19
+ };
20
+ }
21
+ function ExchangeToJSON(value) {
22
+ if (value === undefined) {
23
+ return undefined;
24
+ }
25
+ if (value === null) {
26
+ return null;
27
+ }
28
+ return {
29
+ 'id': value.id,
30
+ 'exchange': ExchangeKeyEnumToJSON(value.exchange),
31
+ 'enabledAt': value.enabledAt === undefined ? undefined : (value.enabledAt === null ? null : value.enabledAt.toISOString()),
32
+ 'socialProvider': ProviderEnumToJSON(value.socialProvider),
33
+ 'onRampProvider': ProviderEnumToJSON(value.onRampProvider),
34
+ };
35
+ }
36
+
37
+ export { ExchangeFromJSON, ExchangeFromJSONTyped, ExchangeToJSON };
@@ -0,0 +1,39 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var runtime = require('../runtime.cjs');
6
+ var ExchangeKeyEnum = require('./ExchangeKeyEnum.cjs');
7
+ var ProviderEnum = require('./ProviderEnum.cjs');
8
+
9
+ /* tslint:disable */
10
+ function ExchangeCreateRequestFromJSON(json) {
11
+ return ExchangeCreateRequestFromJSONTyped(json);
12
+ }
13
+ function ExchangeCreateRequestFromJSONTyped(json, ignoreDiscriminator) {
14
+ if ((json === undefined) || (json === null)) {
15
+ return json;
16
+ }
17
+ return {
18
+ 'exchange': ExchangeKeyEnum.ExchangeKeyEnumFromJSON(json['exchange']),
19
+ 'socialProvider': !runtime.exists(json, 'socialProvider') ? undefined : ProviderEnum.ProviderEnumFromJSON(json['socialProvider']),
20
+ 'onRampProvider': !runtime.exists(json, 'onRampProvider') ? undefined : ProviderEnum.ProviderEnumFromJSON(json['onRampProvider']),
21
+ };
22
+ }
23
+ function ExchangeCreateRequestToJSON(value) {
24
+ if (value === undefined) {
25
+ return undefined;
26
+ }
27
+ if (value === null) {
28
+ return null;
29
+ }
30
+ return {
31
+ 'exchange': ExchangeKeyEnum.ExchangeKeyEnumToJSON(value.exchange),
32
+ 'socialProvider': ProviderEnum.ProviderEnumToJSON(value.socialProvider),
33
+ 'onRampProvider': ProviderEnum.ProviderEnumToJSON(value.onRampProvider),
34
+ };
35
+ }
36
+
37
+ exports.ExchangeCreateRequestFromJSON = ExchangeCreateRequestFromJSON;
38
+ exports.ExchangeCreateRequestFromJSONTyped = ExchangeCreateRequestFromJSONTyped;
39
+ exports.ExchangeCreateRequestToJSON = ExchangeCreateRequestToJSON;
@@ -0,0 +1,41 @@
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
+ import { ExchangeKeyEnum } from './ExchangeKeyEnum';
13
+ import { ProviderEnum } from './ProviderEnum';
14
+ /**
15
+ * Request body to create a new exchange. The exchange will be not enabled by default.
16
+ * @export
17
+ * @interface ExchangeCreateRequest
18
+ */
19
+ export interface ExchangeCreateRequest {
20
+ /**
21
+ *
22
+ * @type {ExchangeKeyEnum}
23
+ * @memberof ExchangeCreateRequest
24
+ */
25
+ exchange: ExchangeKeyEnum;
26
+ /**
27
+ *
28
+ * @type {ProviderEnum}
29
+ * @memberof ExchangeCreateRequest
30
+ */
31
+ socialProvider?: ProviderEnum;
32
+ /**
33
+ *
34
+ * @type {ProviderEnum}
35
+ * @memberof ExchangeCreateRequest
36
+ */
37
+ onRampProvider?: ProviderEnum;
38
+ }
39
+ export declare function ExchangeCreateRequestFromJSON(json: any): ExchangeCreateRequest;
40
+ export declare function ExchangeCreateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExchangeCreateRequest;
41
+ export declare function ExchangeCreateRequestToJSON(value?: ExchangeCreateRequest | null): any;
@@ -0,0 +1,33 @@
1
+ import { exists } from '../runtime.js';
2
+ import { ExchangeKeyEnumFromJSON, ExchangeKeyEnumToJSON } from './ExchangeKeyEnum.js';
3
+ import { ProviderEnumFromJSON, ProviderEnumToJSON } from './ProviderEnum.js';
4
+
5
+ /* tslint:disable */
6
+ function ExchangeCreateRequestFromJSON(json) {
7
+ return ExchangeCreateRequestFromJSONTyped(json);
8
+ }
9
+ function ExchangeCreateRequestFromJSONTyped(json, ignoreDiscriminator) {
10
+ if ((json === undefined) || (json === null)) {
11
+ return json;
12
+ }
13
+ return {
14
+ 'exchange': ExchangeKeyEnumFromJSON(json['exchange']),
15
+ 'socialProvider': !exists(json, 'socialProvider') ? undefined : ProviderEnumFromJSON(json['socialProvider']),
16
+ 'onRampProvider': !exists(json, 'onRampProvider') ? undefined : ProviderEnumFromJSON(json['onRampProvider']),
17
+ };
18
+ }
19
+ function ExchangeCreateRequestToJSON(value) {
20
+ if (value === undefined) {
21
+ return undefined;
22
+ }
23
+ if (value === null) {
24
+ return null;
25
+ }
26
+ return {
27
+ 'exchange': ExchangeKeyEnumToJSON(value.exchange),
28
+ 'socialProvider': ProviderEnumToJSON(value.socialProvider),
29
+ 'onRampProvider': ProviderEnumToJSON(value.onRampProvider),
30
+ };
31
+ }
32
+
33
+ export { ExchangeCreateRequestFromJSON, ExchangeCreateRequestFromJSONTyped, ExchangeCreateRequestToJSON };
@@ -0,0 +1,39 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var runtime = require('../runtime.cjs');
6
+ var ExchangeKeyEnum = require('./ExchangeKeyEnum.cjs');
7
+ var ProviderEnum = require('./ProviderEnum.cjs');
8
+
9
+ /* tslint:disable */
10
+ function ExchangeOptionFromJSON(json) {
11
+ return ExchangeOptionFromJSONTyped(json);
12
+ }
13
+ function ExchangeOptionFromJSONTyped(json, ignoreDiscriminator) {
14
+ if ((json === undefined) || (json === null)) {
15
+ return json;
16
+ }
17
+ return {
18
+ 'exchange': ExchangeKeyEnum.ExchangeKeyEnumFromJSON(json['exchange']),
19
+ 'socialProvider': !runtime.exists(json, 'socialProvider') ? undefined : ProviderEnum.ProviderEnumFromJSON(json['socialProvider']),
20
+ 'onRampProvider': !runtime.exists(json, 'onRampProvider') ? undefined : ProviderEnum.ProviderEnumFromJSON(json['onRampProvider']),
21
+ };
22
+ }
23
+ function ExchangeOptionToJSON(value) {
24
+ if (value === undefined) {
25
+ return undefined;
26
+ }
27
+ if (value === null) {
28
+ return null;
29
+ }
30
+ return {
31
+ 'exchange': ExchangeKeyEnum.ExchangeKeyEnumToJSON(value.exchange),
32
+ 'socialProvider': ProviderEnum.ProviderEnumToJSON(value.socialProvider),
33
+ 'onRampProvider': ProviderEnum.ProviderEnumToJSON(value.onRampProvider),
34
+ };
35
+ }
36
+
37
+ exports.ExchangeOptionFromJSON = ExchangeOptionFromJSON;
38
+ exports.ExchangeOptionFromJSONTyped = ExchangeOptionFromJSONTyped;
39
+ exports.ExchangeOptionToJSON = ExchangeOptionToJSON;
@@ -0,0 +1,41 @@
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
+ import { ExchangeKeyEnum } from './ExchangeKeyEnum';
13
+ import { ProviderEnum } from './ProviderEnum';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface ExchangeOption
18
+ */
19
+ export interface ExchangeOption {
20
+ /**
21
+ *
22
+ * @type {ExchangeKeyEnum}
23
+ * @memberof ExchangeOption
24
+ */
25
+ exchange: ExchangeKeyEnum;
26
+ /**
27
+ *
28
+ * @type {ProviderEnum}
29
+ * @memberof ExchangeOption
30
+ */
31
+ socialProvider?: ProviderEnum;
32
+ /**
33
+ *
34
+ * @type {ProviderEnum}
35
+ * @memberof ExchangeOption
36
+ */
37
+ onRampProvider?: ProviderEnum;
38
+ }
39
+ export declare function ExchangeOptionFromJSON(json: any): ExchangeOption;
40
+ export declare function ExchangeOptionFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExchangeOption;
41
+ export declare function ExchangeOptionToJSON(value?: ExchangeOption | null): any;
@@ -0,0 +1,33 @@
1
+ import { exists } from '../runtime.js';
2
+ import { ExchangeKeyEnumFromJSON, ExchangeKeyEnumToJSON } from './ExchangeKeyEnum.js';
3
+ import { ProviderEnumFromJSON, ProviderEnumToJSON } from './ProviderEnum.js';
4
+
5
+ /* tslint:disable */
6
+ function ExchangeOptionFromJSON(json) {
7
+ return ExchangeOptionFromJSONTyped(json);
8
+ }
9
+ function ExchangeOptionFromJSONTyped(json, ignoreDiscriminator) {
10
+ if ((json === undefined) || (json === null)) {
11
+ return json;
12
+ }
13
+ return {
14
+ 'exchange': ExchangeKeyEnumFromJSON(json['exchange']),
15
+ 'socialProvider': !exists(json, 'socialProvider') ? undefined : ProviderEnumFromJSON(json['socialProvider']),
16
+ 'onRampProvider': !exists(json, 'onRampProvider') ? undefined : ProviderEnumFromJSON(json['onRampProvider']),
17
+ };
18
+ }
19
+ function ExchangeOptionToJSON(value) {
20
+ if (value === undefined) {
21
+ return undefined;
22
+ }
23
+ if (value === null) {
24
+ return null;
25
+ }
26
+ return {
27
+ 'exchange': ExchangeKeyEnumToJSON(value.exchange),
28
+ 'socialProvider': ProviderEnumToJSON(value.socialProvider),
29
+ 'onRampProvider': ProviderEnumToJSON(value.onRampProvider),
30
+ };
31
+ }
32
+
33
+ export { ExchangeOptionFromJSON, ExchangeOptionFromJSONTyped, ExchangeOptionToJSON };
@@ -0,0 +1,34 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var runtime = require('../runtime.cjs');
6
+ var Exchange = require('./Exchange.cjs');
7
+
8
+ /* tslint:disable */
9
+ function ExchangeResponseFromJSON(json) {
10
+ return ExchangeResponseFromJSONTyped(json);
11
+ }
12
+ function ExchangeResponseFromJSONTyped(json, ignoreDiscriminator) {
13
+ if ((json === undefined) || (json === null)) {
14
+ return json;
15
+ }
16
+ return {
17
+ 'exchanges': !runtime.exists(json, 'exchanges') ? undefined : (json['exchanges'].map(Exchange.ExchangeFromJSON)),
18
+ };
19
+ }
20
+ function ExchangeResponseToJSON(value) {
21
+ if (value === undefined) {
22
+ return undefined;
23
+ }
24
+ if (value === null) {
25
+ return null;
26
+ }
27
+ return {
28
+ 'exchanges': value.exchanges === undefined ? undefined : (value.exchanges.map(Exchange.ExchangeToJSON)),
29
+ };
30
+ }
31
+
32
+ exports.ExchangeResponseFromJSON = ExchangeResponseFromJSON;
33
+ exports.ExchangeResponseFromJSONTyped = ExchangeResponseFromJSONTyped;
34
+ exports.ExchangeResponseToJSON = ExchangeResponseToJSON;
@@ -0,0 +1,28 @@
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
+ import { Exchange } from './Exchange';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ExchangeResponse
17
+ */
18
+ export interface ExchangeResponse {
19
+ /**
20
+ *
21
+ * @type {Array<Exchange>}
22
+ * @memberof ExchangeResponse
23
+ */
24
+ exchanges?: Array<Exchange>;
25
+ }
26
+ export declare function ExchangeResponseFromJSON(json: any): ExchangeResponse;
27
+ export declare function ExchangeResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExchangeResponse;
28
+ export declare function ExchangeResponseToJSON(value?: ExchangeResponse | null): any;
@@ -0,0 +1,28 @@
1
+ import { exists } from '../runtime.js';
2
+ import { ExchangeFromJSON, ExchangeToJSON } from './Exchange.js';
3
+
4
+ /* tslint:disable */
5
+ function ExchangeResponseFromJSON(json) {
6
+ return ExchangeResponseFromJSONTyped(json);
7
+ }
8
+ function ExchangeResponseFromJSONTyped(json, ignoreDiscriminator) {
9
+ if ((json === undefined) || (json === null)) {
10
+ return json;
11
+ }
12
+ return {
13
+ 'exchanges': !exists(json, 'exchanges') ? undefined : (json['exchanges'].map(ExchangeFromJSON)),
14
+ };
15
+ }
16
+ function ExchangeResponseToJSON(value) {
17
+ if (value === undefined) {
18
+ return undefined;
19
+ }
20
+ if (value === null) {
21
+ return null;
22
+ }
23
+ return {
24
+ 'exchanges': value.exchanges === undefined ? undefined : (value.exchanges.map(ExchangeToJSON)),
25
+ };
26
+ }
27
+
28
+ export { ExchangeResponseFromJSON, ExchangeResponseFromJSONTyped, ExchangeResponseToJSON };
@@ -0,0 +1,36 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var runtime = require('../runtime.cjs');
6
+ var ProviderEnum = require('./ProviderEnum.cjs');
7
+
8
+ /* tslint:disable */
9
+ function ExchangeUpdateRequestFromJSON(json) {
10
+ return ExchangeUpdateRequestFromJSONTyped(json);
11
+ }
12
+ function ExchangeUpdateRequestFromJSONTyped(json, ignoreDiscriminator) {
13
+ if ((json === undefined) || (json === null)) {
14
+ return json;
15
+ }
16
+ return {
17
+ 'socialProvider': !runtime.exists(json, 'socialProvider') ? undefined : ProviderEnum.ProviderEnumFromJSON(json['socialProvider']),
18
+ 'onRampProvider': !runtime.exists(json, 'onRampProvider') ? undefined : ProviderEnum.ProviderEnumFromJSON(json['onRampProvider']),
19
+ };
20
+ }
21
+ function ExchangeUpdateRequestToJSON(value) {
22
+ if (value === undefined) {
23
+ return undefined;
24
+ }
25
+ if (value === null) {
26
+ return null;
27
+ }
28
+ return {
29
+ 'socialProvider': ProviderEnum.ProviderEnumToJSON(value.socialProvider),
30
+ 'onRampProvider': ProviderEnum.ProviderEnumToJSON(value.onRampProvider),
31
+ };
32
+ }
33
+
34
+ exports.ExchangeUpdateRequestFromJSON = ExchangeUpdateRequestFromJSON;
35
+ exports.ExchangeUpdateRequestFromJSONTyped = ExchangeUpdateRequestFromJSONTyped;
36
+ exports.ExchangeUpdateRequestToJSON = ExchangeUpdateRequestToJSON;
@@ -0,0 +1,34 @@
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
+ import { ProviderEnum } from './ProviderEnum';
13
+ /**
14
+ * Request body to update an exchange.
15
+ * @export
16
+ * @interface ExchangeUpdateRequest
17
+ */
18
+ export interface ExchangeUpdateRequest {
19
+ /**
20
+ *
21
+ * @type {ProviderEnum}
22
+ * @memberof ExchangeUpdateRequest
23
+ */
24
+ socialProvider?: ProviderEnum;
25
+ /**
26
+ *
27
+ * @type {ProviderEnum}
28
+ * @memberof ExchangeUpdateRequest
29
+ */
30
+ onRampProvider?: ProviderEnum;
31
+ }
32
+ export declare function ExchangeUpdateRequestFromJSON(json: any): ExchangeUpdateRequest;
33
+ export declare function ExchangeUpdateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExchangeUpdateRequest;
34
+ export declare function ExchangeUpdateRequestToJSON(value?: ExchangeUpdateRequest | null): any;
@@ -0,0 +1,30 @@
1
+ import { exists } from '../runtime.js';
2
+ import { ProviderEnumFromJSON, ProviderEnumToJSON } from './ProviderEnum.js';
3
+
4
+ /* tslint:disable */
5
+ function ExchangeUpdateRequestFromJSON(json) {
6
+ return ExchangeUpdateRequestFromJSONTyped(json);
7
+ }
8
+ function ExchangeUpdateRequestFromJSONTyped(json, ignoreDiscriminator) {
9
+ if ((json === undefined) || (json === null)) {
10
+ return json;
11
+ }
12
+ return {
13
+ 'socialProvider': !exists(json, 'socialProvider') ? undefined : ProviderEnumFromJSON(json['socialProvider']),
14
+ 'onRampProvider': !exists(json, 'onRampProvider') ? undefined : ProviderEnumFromJSON(json['onRampProvider']),
15
+ };
16
+ }
17
+ function ExchangeUpdateRequestToJSON(value) {
18
+ if (value === undefined) {
19
+ return undefined;
20
+ }
21
+ if (value === null) {
22
+ return null;
23
+ }
24
+ return {
25
+ 'socialProvider': ProviderEnumToJSON(value.socialProvider),
26
+ 'onRampProvider': ProviderEnumToJSON(value.onRampProvider),
27
+ };
28
+ }
29
+
30
+ export { ExchangeUpdateRequestFromJSON, ExchangeUpdateRequestFromJSONTyped, ExchangeUpdateRequestToJSON };
@@ -6,7 +6,6 @@ var runtime = require('../runtime.cjs');
6
6
  var AuthenticationExtensionsClientOutputs = require('./AuthenticationExtensionsClientOutputs.cjs');
7
7
  var AuthenticatorAssertionResponse = require('./AuthenticatorAssertionResponse.cjs');
8
8
  var AuthenticatorAttachment = require('./AuthenticatorAttachment.cjs');
9
- var CreateMfaToken = require('./CreateMfaToken.cjs');
10
9
  var PublicKeyCredentialType = require('./PublicKeyCredentialType.cjs');
11
10
 
12
11
  /* tslint:disable */
@@ -24,7 +23,6 @@ function PasskeyAuthRequestFromJSONTyped(json, ignoreDiscriminator) {
24
23
  'authenticatorAttachment': !runtime.exists(json, 'authenticatorAttachment') ? undefined : AuthenticatorAttachment.AuthenticatorAttachmentFromJSON(json['authenticatorAttachment']),
25
24
  'clientExtensionResults': AuthenticationExtensionsClientOutputs.AuthenticationExtensionsClientOutputsFromJSON(json['clientExtensionResults']),
26
25
  'type': PublicKeyCredentialType.PublicKeyCredentialTypeFromJSON(json['type']),
27
- 'createMfaToken': !runtime.exists(json, 'createMfaToken') ? undefined : CreateMfaToken.CreateMfaTokenFromJSON(json['createMfaToken']),
28
26
  };
29
27
  }
30
28
  function PasskeyAuthRequestToJSON(value) {
@@ -41,7 +39,6 @@ function PasskeyAuthRequestToJSON(value) {
41
39
  'authenticatorAttachment': AuthenticatorAttachment.AuthenticatorAttachmentToJSON(value.authenticatorAttachment),
42
40
  'clientExtensionResults': AuthenticationExtensionsClientOutputs.AuthenticationExtensionsClientOutputsToJSON(value.clientExtensionResults),
43
41
  'type': PublicKeyCredentialType.PublicKeyCredentialTypeToJSON(value.type),
44
- 'createMfaToken': CreateMfaToken.CreateMfaTokenToJSON(value.createMfaToken),
45
42
  };
46
43
  }
47
44
 
@@ -12,7 +12,6 @@
12
12
  import { AuthenticationExtensionsClientOutputs } from './AuthenticationExtensionsClientOutputs';
13
13
  import { AuthenticatorAssertionResponse } from './AuthenticatorAssertionResponse';
14
14
  import { AuthenticatorAttachment } from './AuthenticatorAttachment';
15
- import { CreateMfaToken } from './CreateMfaToken';
16
15
  import { PublicKeyCredentialType } from './PublicKeyCredentialType';
17
16
  /**
18
17
  *
@@ -56,12 +55,6 @@ export interface PasskeyAuthRequest {
56
55
  * @memberof PasskeyAuthRequest
57
56
  */
58
57
  type: PublicKeyCredentialType;
59
- /**
60
- *
61
- * @type {CreateMfaToken}
62
- * @memberof PasskeyAuthRequest
63
- */
64
- createMfaToken?: CreateMfaToken;
65
58
  }
66
59
  export declare function PasskeyAuthRequestFromJSON(json: any): PasskeyAuthRequest;
67
60
  export declare function PasskeyAuthRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PasskeyAuthRequest;
@@ -2,7 +2,6 @@ import { exists } from '../runtime.js';
2
2
  import { AuthenticationExtensionsClientOutputsFromJSON, AuthenticationExtensionsClientOutputsToJSON } from './AuthenticationExtensionsClientOutputs.js';
3
3
  import { AuthenticatorAssertionResponseFromJSON, AuthenticatorAssertionResponseToJSON } from './AuthenticatorAssertionResponse.js';
4
4
  import { AuthenticatorAttachmentFromJSON, AuthenticatorAttachmentToJSON } from './AuthenticatorAttachment.js';
5
- import { CreateMfaTokenFromJSON, CreateMfaTokenToJSON } from './CreateMfaToken.js';
6
5
  import { PublicKeyCredentialTypeFromJSON, PublicKeyCredentialTypeToJSON } from './PublicKeyCredentialType.js';
7
6
 
8
7
  /* tslint:disable */
@@ -20,7 +19,6 @@ function PasskeyAuthRequestFromJSONTyped(json, ignoreDiscriminator) {
20
19
  'authenticatorAttachment': !exists(json, 'authenticatorAttachment') ? undefined : AuthenticatorAttachmentFromJSON(json['authenticatorAttachment']),
21
20
  'clientExtensionResults': AuthenticationExtensionsClientOutputsFromJSON(json['clientExtensionResults']),
22
21
  'type': PublicKeyCredentialTypeFromJSON(json['type']),
23
- 'createMfaToken': !exists(json, 'createMfaToken') ? undefined : CreateMfaTokenFromJSON(json['createMfaToken']),
24
22
  };
25
23
  }
26
24
  function PasskeyAuthRequestToJSON(value) {
@@ -37,7 +35,6 @@ function PasskeyAuthRequestToJSON(value) {
37
35
  'authenticatorAttachment': AuthenticatorAttachmentToJSON(value.authenticatorAttachment),
38
36
  'clientExtensionResults': AuthenticationExtensionsClientOutputsToJSON(value.clientExtensionResults),
39
37
  'type': PublicKeyCredentialTypeToJSON(value.type),
40
- 'createMfaToken': CreateMfaTokenToJSON(value.createMfaToken),
41
38
  };
42
39
  }
43
40
 
@@ -123,9 +123,14 @@ export * from './EnvironmentsResponseEnvironments';
123
123
  export * from './ErrorMessageWithCode';
124
124
  export * from './Event';
125
125
  export * from './EventType';
126
+ export * from './Exchange';
127
+ export * from './ExchangeCreateRequest';
126
128
  export * from './ExchangeKeyEnum';
129
+ export * from './ExchangeOption';
130
+ export * from './ExchangeResponse';
127
131
  export * from './ExchangeTransaction';
128
132
  export * from './ExchangeTransferResponse';
133
+ export * from './ExchangeUpdateRequest';
129
134
  export * from './Export';
130
135
  export * from './ExportCreateRequest';
131
136
  export * from './ExportEmbeddedWalletResponse';