@dynamic-labs/sdk-api 0.0.658 → 0.0.660

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/sdk-api",
3
- "version": "0.0.658",
3
+ "version": "0.0.660",
4
4
  "author": "Dynamic Labs",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
@@ -2485,6 +2485,34 @@ class SDKApi extends runtime.BaseAPI {
2485
2485
  return yield response.value();
2486
2486
  });
2487
2487
  }
2488
+ /**
2489
+ * Find jwks for public key (JSON format)
2490
+ */
2491
+ getJwksJsonByEnvironmentIdRaw(requestParameters, initOverrides) {
2492
+ return _tslib.__awaiter(this, void 0, void 0, function* () {
2493
+ if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
2494
+ throw new runtime.RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling getJwksJsonByEnvironmentId.');
2495
+ }
2496
+ const queryParameters = {};
2497
+ const headerParameters = {};
2498
+ const response = yield this.request({
2499
+ path: `/sdk/{environmentId}/.well-known/jwks.json`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))),
2500
+ method: 'GET',
2501
+ headers: headerParameters,
2502
+ query: queryParameters,
2503
+ }, initOverrides);
2504
+ return new runtime.JSONApiResponse(response, (jsonValue) => JwksResponse.JwksResponseFromJSON(jsonValue));
2505
+ });
2506
+ }
2507
+ /**
2508
+ * Find jwks for public key (JSON format)
2509
+ */
2510
+ getJwksJsonByEnvironmentId(requestParameters, initOverrides) {
2511
+ return _tslib.__awaiter(this, void 0, void 0, function* () {
2512
+ const response = yield this.getJwksJsonByEnvironmentIdRaw(requestParameters, initOverrides);
2513
+ return yield response.value();
2514
+ });
2515
+ }
2488
2516
  /**
2489
2517
  * Get the current user\'s MFA by device id
2490
2518
  */
@@ -265,6 +265,9 @@ export interface GetHealthcheckOptionsRequest {
265
265
  export interface GetJwksByEnvironmentIdRequest {
266
266
  environmentId: string;
267
267
  }
268
+ export interface GetJwksJsonByEnvironmentIdRequest {
269
+ environmentId: string;
270
+ }
268
271
  export interface GetMfaDeviceRequest {
269
272
  environmentId: string;
270
273
  mfaDeviceId: string;
@@ -1321,6 +1324,14 @@ export declare class SDKApi extends runtime.BaseAPI {
1321
1324
  * Find jwks for public key
1322
1325
  */
1323
1326
  getJwksByEnvironmentId(requestParameters: GetJwksByEnvironmentIdRequest, initOverrides?: RequestInit): Promise<JwksResponse>;
1327
+ /**
1328
+ * Find jwks for public key (JSON format)
1329
+ */
1330
+ getJwksJsonByEnvironmentIdRaw(requestParameters: GetJwksJsonByEnvironmentIdRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<JwksResponse>>;
1331
+ /**
1332
+ * Find jwks for public key (JSON format)
1333
+ */
1334
+ getJwksJsonByEnvironmentId(requestParameters: GetJwksJsonByEnvironmentIdRequest, initOverrides?: RequestInit): Promise<JwksResponse>;
1324
1335
  /**
1325
1336
  * Get the current user\'s MFA by device id
1326
1337
  */
@@ -2481,6 +2481,34 @@ class SDKApi extends BaseAPI {
2481
2481
  return yield response.value();
2482
2482
  });
2483
2483
  }
2484
+ /**
2485
+ * Find jwks for public key (JSON format)
2486
+ */
2487
+ getJwksJsonByEnvironmentIdRaw(requestParameters, initOverrides) {
2488
+ return __awaiter(this, void 0, void 0, function* () {
2489
+ if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
2490
+ throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling getJwksJsonByEnvironmentId.');
2491
+ }
2492
+ const queryParameters = {};
2493
+ const headerParameters = {};
2494
+ const response = yield this.request({
2495
+ path: `/sdk/{environmentId}/.well-known/jwks.json`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))),
2496
+ method: 'GET',
2497
+ headers: headerParameters,
2498
+ query: queryParameters,
2499
+ }, initOverrides);
2500
+ return new JSONApiResponse(response, (jsonValue) => JwksResponseFromJSON(jsonValue));
2501
+ });
2502
+ }
2503
+ /**
2504
+ * Find jwks for public key (JSON format)
2505
+ */
2506
+ getJwksJsonByEnvironmentId(requestParameters, initOverrides) {
2507
+ return __awaiter(this, void 0, void 0, function* () {
2508
+ const response = yield this.getJwksJsonByEnvironmentIdRaw(requestParameters, initOverrides);
2509
+ return yield response.value();
2510
+ });
2511
+ }
2484
2512
  /**
2485
2513
  * Get the current user\'s MFA by device id
2486
2514
  */
package/src/index.cjs CHANGED
@@ -187,6 +187,7 @@ var GlobalWalletAccessControlTypeEnum = require('./models/GlobalWalletAccessCont
187
187
  var GlobalWalletAccessControlUpdateRequest = require('./models/GlobalWalletAccessControlUpdateRequest.cjs');
188
188
  var GlobalWalletSettings = require('./models/GlobalWalletSettings.cjs');
189
189
  var GlobalWalletSettingsCreateRequest = require('./models/GlobalWalletSettingsCreateRequest.cjs');
190
+ var GlobalWalletSettingsCreateRequestCustomMenuLinks = require('./models/GlobalWalletSettingsCreateRequestCustomMenuLinks.cjs');
190
191
  var GlobalWalletSettingsUpdateRequest = require('./models/GlobalWalletSettingsUpdateRequest.cjs');
191
192
  var HCaptchaSettings = require('./models/HCaptchaSettings.cjs');
192
193
  var HardwareWalletEnum = require('./models/HardwareWalletEnum.cjs');
@@ -1076,6 +1077,9 @@ exports.GlobalWalletSettingsToJSON = GlobalWalletSettings.GlobalWalletSettingsTo
1076
1077
  exports.GlobalWalletSettingsCreateRequestFromJSON = GlobalWalletSettingsCreateRequest.GlobalWalletSettingsCreateRequestFromJSON;
1077
1078
  exports.GlobalWalletSettingsCreateRequestFromJSONTyped = GlobalWalletSettingsCreateRequest.GlobalWalletSettingsCreateRequestFromJSONTyped;
1078
1079
  exports.GlobalWalletSettingsCreateRequestToJSON = GlobalWalletSettingsCreateRequest.GlobalWalletSettingsCreateRequestToJSON;
1080
+ exports.GlobalWalletSettingsCreateRequestCustomMenuLinksFromJSON = GlobalWalletSettingsCreateRequestCustomMenuLinks.GlobalWalletSettingsCreateRequestCustomMenuLinksFromJSON;
1081
+ exports.GlobalWalletSettingsCreateRequestCustomMenuLinksFromJSONTyped = GlobalWalletSettingsCreateRequestCustomMenuLinks.GlobalWalletSettingsCreateRequestCustomMenuLinksFromJSONTyped;
1082
+ exports.GlobalWalletSettingsCreateRequestCustomMenuLinksToJSON = GlobalWalletSettingsCreateRequestCustomMenuLinks.GlobalWalletSettingsCreateRequestCustomMenuLinksToJSON;
1079
1083
  exports.GlobalWalletSettingsUpdateRequestFromJSON = GlobalWalletSettingsUpdateRequest.GlobalWalletSettingsUpdateRequestFromJSON;
1080
1084
  exports.GlobalWalletSettingsUpdateRequestFromJSONTyped = GlobalWalletSettingsUpdateRequest.GlobalWalletSettingsUpdateRequestFromJSONTyped;
1081
1085
  exports.GlobalWalletSettingsUpdateRequestToJSON = GlobalWalletSettingsUpdateRequest.GlobalWalletSettingsUpdateRequestToJSON;
package/src/index.js CHANGED
@@ -183,6 +183,7 @@ export { GlobalWalletAccessControlTypeEnum, GlobalWalletAccessControlTypeEnumFro
183
183
  export { GlobalWalletAccessControlUpdateRequestFromJSON, GlobalWalletAccessControlUpdateRequestFromJSONTyped, GlobalWalletAccessControlUpdateRequestToJSON } from './models/GlobalWalletAccessControlUpdateRequest.js';
184
184
  export { GlobalWalletSettingsFromJSON, GlobalWalletSettingsFromJSONTyped, GlobalWalletSettingsToJSON } from './models/GlobalWalletSettings.js';
185
185
  export { GlobalWalletSettingsCreateRequestFromJSON, GlobalWalletSettingsCreateRequestFromJSONTyped, GlobalWalletSettingsCreateRequestToJSON } from './models/GlobalWalletSettingsCreateRequest.js';
186
+ export { GlobalWalletSettingsCreateRequestCustomMenuLinksFromJSON, GlobalWalletSettingsCreateRequestCustomMenuLinksFromJSONTyped, GlobalWalletSettingsCreateRequestCustomMenuLinksToJSON } from './models/GlobalWalletSettingsCreateRequestCustomMenuLinks.js';
186
187
  export { GlobalWalletSettingsUpdateRequestFromJSON, GlobalWalletSettingsUpdateRequestFromJSONTyped, GlobalWalletSettingsUpdateRequestToJSON } from './models/GlobalWalletSettingsUpdateRequest.js';
187
188
  export { HCaptchaSettingsFromJSON, HCaptchaSettingsFromJSONTyped, HCaptchaSettingsToJSON } from './models/HCaptchaSettings.js';
188
189
  export { HardwareWalletEnum, HardwareWalletEnumFromJSON, HardwareWalletEnumFromJSONTyped, HardwareWalletEnumToJSON } from './models/HardwareWalletEnum.js';
@@ -3,6 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var runtime = require('../runtime.cjs');
6
+ var GlobalWalletSettingsCreateRequestCustomMenuLinks = require('./GlobalWalletSettingsCreateRequestCustomMenuLinks.cjs');
6
7
 
7
8
  /* tslint:disable */
8
9
  function GlobalWalletSettingsFromJSON(json) {
@@ -21,6 +22,7 @@ function GlobalWalletSettingsFromJSONTyped(json, ignoreDiscriminator) {
21
22
  'termsOfServiceUrl': !runtime.exists(json, 'termsOfServiceUrl') ? undefined : json['termsOfServiceUrl'],
22
23
  'privacyPolicyUrl': !runtime.exists(json, 'privacyPolicyUrl') ? undefined : json['privacyPolicyUrl'],
23
24
  'termsOfServiceAndPrivacyPolicyMarkdown': !runtime.exists(json, 'termsOfServiceAndPrivacyPolicyMarkdown') ? undefined : json['termsOfServiceAndPrivacyPolicyMarkdown'],
25
+ 'customMenuLinks': !runtime.exists(json, 'customMenuLinks') ? undefined : (json['customMenuLinks'].map(GlobalWalletSettingsCreateRequestCustomMenuLinks.GlobalWalletSettingsCreateRequestCustomMenuLinksFromJSON)),
24
26
  'enabledAt': !runtime.exists(json, 'enabledAt') ? undefined : (json['enabledAt'] === null ? null : new Date(json['enabledAt'])),
25
27
  };
26
28
  }
@@ -40,6 +42,7 @@ function GlobalWalletSettingsToJSON(value) {
40
42
  'termsOfServiceUrl': value.termsOfServiceUrl,
41
43
  'privacyPolicyUrl': value.privacyPolicyUrl,
42
44
  'termsOfServiceAndPrivacyPolicyMarkdown': value.termsOfServiceAndPrivacyPolicyMarkdown,
45
+ 'customMenuLinks': value.customMenuLinks === undefined ? undefined : (value.customMenuLinks.map(GlobalWalletSettingsCreateRequestCustomMenuLinks.GlobalWalletSettingsCreateRequestCustomMenuLinksToJSON)),
43
46
  'enabledAt': value.enabledAt === undefined ? undefined : (value.enabledAt === null ? null : value.enabledAt.toISOString()),
44
47
  };
45
48
  }
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { GlobalWalletSettingsCreateRequestCustomMenuLinks } from './GlobalWalletSettingsCreateRequestCustomMenuLinks';
12
13
  /**
13
14
  *
14
15
  * @export
@@ -63,6 +64,12 @@ export interface GlobalWalletSettings {
63
64
  * @memberof GlobalWalletSettings
64
65
  */
65
66
  termsOfServiceAndPrivacyPolicyMarkdown?: string;
67
+ /**
68
+ *
69
+ * @type {Array<GlobalWalletSettingsCreateRequestCustomMenuLinks>}
70
+ * @memberof GlobalWalletSettings
71
+ */
72
+ customMenuLinks?: Array<GlobalWalletSettingsCreateRequestCustomMenuLinks>;
66
73
  /**
67
74
  * If global wallet is enabled, then this timestamp will be present.
68
75
  * @type {Date}
@@ -1,4 +1,5 @@
1
1
  import { exists } from '../runtime.js';
2
+ import { GlobalWalletSettingsCreateRequestCustomMenuLinksFromJSON, GlobalWalletSettingsCreateRequestCustomMenuLinksToJSON } from './GlobalWalletSettingsCreateRequestCustomMenuLinks.js';
2
3
 
3
4
  /* tslint:disable */
4
5
  function GlobalWalletSettingsFromJSON(json) {
@@ -17,6 +18,7 @@ function GlobalWalletSettingsFromJSONTyped(json, ignoreDiscriminator) {
17
18
  'termsOfServiceUrl': !exists(json, 'termsOfServiceUrl') ? undefined : json['termsOfServiceUrl'],
18
19
  'privacyPolicyUrl': !exists(json, 'privacyPolicyUrl') ? undefined : json['privacyPolicyUrl'],
19
20
  'termsOfServiceAndPrivacyPolicyMarkdown': !exists(json, 'termsOfServiceAndPrivacyPolicyMarkdown') ? undefined : json['termsOfServiceAndPrivacyPolicyMarkdown'],
21
+ 'customMenuLinks': !exists(json, 'customMenuLinks') ? undefined : (json['customMenuLinks'].map(GlobalWalletSettingsCreateRequestCustomMenuLinksFromJSON)),
20
22
  'enabledAt': !exists(json, 'enabledAt') ? undefined : (json['enabledAt'] === null ? null : new Date(json['enabledAt'])),
21
23
  };
22
24
  }
@@ -36,6 +38,7 @@ function GlobalWalletSettingsToJSON(value) {
36
38
  'termsOfServiceUrl': value.termsOfServiceUrl,
37
39
  'privacyPolicyUrl': value.privacyPolicyUrl,
38
40
  'termsOfServiceAndPrivacyPolicyMarkdown': value.termsOfServiceAndPrivacyPolicyMarkdown,
41
+ 'customMenuLinks': value.customMenuLinks === undefined ? undefined : (value.customMenuLinks.map(GlobalWalletSettingsCreateRequestCustomMenuLinksToJSON)),
39
42
  'enabledAt': value.enabledAt === undefined ? undefined : (value.enabledAt === null ? null : value.enabledAt.toISOString()),
40
43
  };
41
44
  }
@@ -3,6 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var runtime = require('../runtime.cjs');
6
+ var GlobalWalletSettingsCreateRequestCustomMenuLinks = require('./GlobalWalletSettingsCreateRequestCustomMenuLinks.cjs');
6
7
 
7
8
  /* tslint:disable */
8
9
  function GlobalWalletSettingsCreateRequestFromJSON(json) {
@@ -20,6 +21,7 @@ function GlobalWalletSettingsCreateRequestFromJSONTyped(json, ignoreDiscriminato
20
21
  'termsOfServiceUrl': !runtime.exists(json, 'termsOfServiceUrl') ? undefined : json['termsOfServiceUrl'],
21
22
  'privacyPolicyUrl': !runtime.exists(json, 'privacyPolicyUrl') ? undefined : json['privacyPolicyUrl'],
22
23
  'termsOfServiceAndPrivacyPolicyMarkdown': !runtime.exists(json, 'termsOfServiceAndPrivacyPolicyMarkdown') ? undefined : json['termsOfServiceAndPrivacyPolicyMarkdown'],
24
+ 'customMenuLinks': !runtime.exists(json, 'customMenuLinks') ? undefined : (json['customMenuLinks'].map(GlobalWalletSettingsCreateRequestCustomMenuLinks.GlobalWalletSettingsCreateRequestCustomMenuLinksFromJSON)),
23
25
  };
24
26
  }
25
27
  function GlobalWalletSettingsCreateRequestToJSON(value) {
@@ -37,6 +39,7 @@ function GlobalWalletSettingsCreateRequestToJSON(value) {
37
39
  'termsOfServiceUrl': value.termsOfServiceUrl,
38
40
  'privacyPolicyUrl': value.privacyPolicyUrl,
39
41
  'termsOfServiceAndPrivacyPolicyMarkdown': value.termsOfServiceAndPrivacyPolicyMarkdown,
42
+ 'customMenuLinks': value.customMenuLinks === undefined ? undefined : (value.customMenuLinks.map(GlobalWalletSettingsCreateRequestCustomMenuLinks.GlobalWalletSettingsCreateRequestCustomMenuLinksToJSON)),
40
43
  };
41
44
  }
42
45
 
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { GlobalWalletSettingsCreateRequestCustomMenuLinks } from './GlobalWalletSettingsCreateRequestCustomMenuLinks';
12
13
  /**
13
14
  *
14
15
  * @export
@@ -57,6 +58,12 @@ export interface GlobalWalletSettingsCreateRequest {
57
58
  * @memberof GlobalWalletSettingsCreateRequest
58
59
  */
59
60
  termsOfServiceAndPrivacyPolicyMarkdown?: string;
61
+ /**
62
+ *
63
+ * @type {Array<GlobalWalletSettingsCreateRequestCustomMenuLinks>}
64
+ * @memberof GlobalWalletSettingsCreateRequest
65
+ */
66
+ customMenuLinks?: Array<GlobalWalletSettingsCreateRequestCustomMenuLinks>;
60
67
  }
61
68
  export declare function GlobalWalletSettingsCreateRequestFromJSON(json: any): GlobalWalletSettingsCreateRequest;
62
69
  export declare function GlobalWalletSettingsCreateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): GlobalWalletSettingsCreateRequest;
@@ -1,4 +1,5 @@
1
1
  import { exists } from '../runtime.js';
2
+ import { GlobalWalletSettingsCreateRequestCustomMenuLinksFromJSON, GlobalWalletSettingsCreateRequestCustomMenuLinksToJSON } from './GlobalWalletSettingsCreateRequestCustomMenuLinks.js';
2
3
 
3
4
  /* tslint:disable */
4
5
  function GlobalWalletSettingsCreateRequestFromJSON(json) {
@@ -16,6 +17,7 @@ function GlobalWalletSettingsCreateRequestFromJSONTyped(json, ignoreDiscriminato
16
17
  'termsOfServiceUrl': !exists(json, 'termsOfServiceUrl') ? undefined : json['termsOfServiceUrl'],
17
18
  'privacyPolicyUrl': !exists(json, 'privacyPolicyUrl') ? undefined : json['privacyPolicyUrl'],
18
19
  'termsOfServiceAndPrivacyPolicyMarkdown': !exists(json, 'termsOfServiceAndPrivacyPolicyMarkdown') ? undefined : json['termsOfServiceAndPrivacyPolicyMarkdown'],
20
+ 'customMenuLinks': !exists(json, 'customMenuLinks') ? undefined : (json['customMenuLinks'].map(GlobalWalletSettingsCreateRequestCustomMenuLinksFromJSON)),
19
21
  };
20
22
  }
21
23
  function GlobalWalletSettingsCreateRequestToJSON(value) {
@@ -33,6 +35,7 @@ function GlobalWalletSettingsCreateRequestToJSON(value) {
33
35
  'termsOfServiceUrl': value.termsOfServiceUrl,
34
36
  'privacyPolicyUrl': value.privacyPolicyUrl,
35
37
  'termsOfServiceAndPrivacyPolicyMarkdown': value.termsOfServiceAndPrivacyPolicyMarkdown,
38
+ 'customMenuLinks': value.customMenuLinks === undefined ? undefined : (value.customMenuLinks.map(GlobalWalletSettingsCreateRequestCustomMenuLinksToJSON)),
36
39
  };
37
40
  }
38
41
 
@@ -0,0 +1,45 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ /* tslint:disable */
6
+ /* eslint-disable */
7
+ /**
8
+ * Dashboard API
9
+ * Dashboard API documentation
10
+ *
11
+ * The version of the OpenAPI document: 1.0.0
12
+ *
13
+ *
14
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
15
+ * https://openapi-generator.tech
16
+ * Do not edit the class manually.
17
+ */
18
+ function GlobalWalletSettingsCreateRequestCustomMenuLinksFromJSON(json) {
19
+ return GlobalWalletSettingsCreateRequestCustomMenuLinksFromJSONTyped(json);
20
+ }
21
+ function GlobalWalletSettingsCreateRequestCustomMenuLinksFromJSONTyped(json, ignoreDiscriminator) {
22
+ if ((json === undefined) || (json === null)) {
23
+ return json;
24
+ }
25
+ return {
26
+ 'label': json['label'],
27
+ 'url': json['url'],
28
+ };
29
+ }
30
+ function GlobalWalletSettingsCreateRequestCustomMenuLinksToJSON(value) {
31
+ if (value === undefined) {
32
+ return undefined;
33
+ }
34
+ if (value === null) {
35
+ return null;
36
+ }
37
+ return {
38
+ 'label': value.label,
39
+ 'url': value.url,
40
+ };
41
+ }
42
+
43
+ exports.GlobalWalletSettingsCreateRequestCustomMenuLinksFromJSON = GlobalWalletSettingsCreateRequestCustomMenuLinksFromJSON;
44
+ exports.GlobalWalletSettingsCreateRequestCustomMenuLinksFromJSONTyped = GlobalWalletSettingsCreateRequestCustomMenuLinksFromJSONTyped;
45
+ exports.GlobalWalletSettingsCreateRequestCustomMenuLinksToJSON = GlobalWalletSettingsCreateRequestCustomMenuLinksToJSON;
@@ -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
+ *
14
+ * @export
15
+ * @interface GlobalWalletSettingsCreateRequestCustomMenuLinks
16
+ */
17
+ export interface GlobalWalletSettingsCreateRequestCustomMenuLinks {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof GlobalWalletSettingsCreateRequestCustomMenuLinks
22
+ */
23
+ label: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof GlobalWalletSettingsCreateRequestCustomMenuLinks
28
+ */
29
+ url: string;
30
+ }
31
+ export declare function GlobalWalletSettingsCreateRequestCustomMenuLinksFromJSON(json: any): GlobalWalletSettingsCreateRequestCustomMenuLinks;
32
+ export declare function GlobalWalletSettingsCreateRequestCustomMenuLinksFromJSONTyped(json: any, ignoreDiscriminator: boolean): GlobalWalletSettingsCreateRequestCustomMenuLinks;
33
+ export declare function GlobalWalletSettingsCreateRequestCustomMenuLinksToJSON(value?: GlobalWalletSettingsCreateRequestCustomMenuLinks | null): any;
@@ -0,0 +1,39 @@
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 GlobalWalletSettingsCreateRequestCustomMenuLinksFromJSON(json) {
15
+ return GlobalWalletSettingsCreateRequestCustomMenuLinksFromJSONTyped(json);
16
+ }
17
+ function GlobalWalletSettingsCreateRequestCustomMenuLinksFromJSONTyped(json, ignoreDiscriminator) {
18
+ if ((json === undefined) || (json === null)) {
19
+ return json;
20
+ }
21
+ return {
22
+ 'label': json['label'],
23
+ 'url': json['url'],
24
+ };
25
+ }
26
+ function GlobalWalletSettingsCreateRequestCustomMenuLinksToJSON(value) {
27
+ if (value === undefined) {
28
+ return undefined;
29
+ }
30
+ if (value === null) {
31
+ return null;
32
+ }
33
+ return {
34
+ 'label': value.label,
35
+ 'url': value.url,
36
+ };
37
+ }
38
+
39
+ export { GlobalWalletSettingsCreateRequestCustomMenuLinksFromJSON, GlobalWalletSettingsCreateRequestCustomMenuLinksFromJSONTyped, GlobalWalletSettingsCreateRequestCustomMenuLinksToJSON };
@@ -3,6 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var runtime = require('../runtime.cjs');
6
+ var GlobalWalletSettingsCreateRequestCustomMenuLinks = require('./GlobalWalletSettingsCreateRequestCustomMenuLinks.cjs');
6
7
 
7
8
  /* tslint:disable */
8
9
  function GlobalWalletSettingsUpdateRequestFromJSON(json) {
@@ -20,6 +21,7 @@ function GlobalWalletSettingsUpdateRequestFromJSONTyped(json, ignoreDiscriminato
20
21
  'termsOfServiceUrl': !runtime.exists(json, 'termsOfServiceUrl') ? undefined : json['termsOfServiceUrl'],
21
22
  'privacyPolicyUrl': !runtime.exists(json, 'privacyPolicyUrl') ? undefined : json['privacyPolicyUrl'],
22
23
  'termsOfServiceAndPrivacyPolicyMarkdown': !runtime.exists(json, 'termsOfServiceAndPrivacyPolicyMarkdown') ? undefined : json['termsOfServiceAndPrivacyPolicyMarkdown'],
24
+ 'customMenuLinks': !runtime.exists(json, 'customMenuLinks') ? undefined : (json['customMenuLinks'].map(GlobalWalletSettingsCreateRequestCustomMenuLinks.GlobalWalletSettingsCreateRequestCustomMenuLinksFromJSON)),
23
25
  };
24
26
  }
25
27
  function GlobalWalletSettingsUpdateRequestToJSON(value) {
@@ -37,6 +39,7 @@ function GlobalWalletSettingsUpdateRequestToJSON(value) {
37
39
  'termsOfServiceUrl': value.termsOfServiceUrl,
38
40
  'privacyPolicyUrl': value.privacyPolicyUrl,
39
41
  'termsOfServiceAndPrivacyPolicyMarkdown': value.termsOfServiceAndPrivacyPolicyMarkdown,
42
+ 'customMenuLinks': value.customMenuLinks === undefined ? undefined : (value.customMenuLinks.map(GlobalWalletSettingsCreateRequestCustomMenuLinks.GlobalWalletSettingsCreateRequestCustomMenuLinksToJSON)),
40
43
  };
41
44
  }
42
45
 
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { GlobalWalletSettingsCreateRequestCustomMenuLinks } from './GlobalWalletSettingsCreateRequestCustomMenuLinks';
12
13
  /**
13
14
  *
14
15
  * @export
@@ -57,6 +58,12 @@ export interface GlobalWalletSettingsUpdateRequest {
57
58
  * @memberof GlobalWalletSettingsUpdateRequest
58
59
  */
59
60
  termsOfServiceAndPrivacyPolicyMarkdown?: string;
61
+ /**
62
+ *
63
+ * @type {Array<GlobalWalletSettingsCreateRequestCustomMenuLinks>}
64
+ * @memberof GlobalWalletSettingsUpdateRequest
65
+ */
66
+ customMenuLinks?: Array<GlobalWalletSettingsCreateRequestCustomMenuLinks>;
60
67
  }
61
68
  export declare function GlobalWalletSettingsUpdateRequestFromJSON(json: any): GlobalWalletSettingsUpdateRequest;
62
69
  export declare function GlobalWalletSettingsUpdateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): GlobalWalletSettingsUpdateRequest;
@@ -1,4 +1,5 @@
1
1
  import { exists } from '../runtime.js';
2
+ import { GlobalWalletSettingsCreateRequestCustomMenuLinksFromJSON, GlobalWalletSettingsCreateRequestCustomMenuLinksToJSON } from './GlobalWalletSettingsCreateRequestCustomMenuLinks.js';
2
3
 
3
4
  /* tslint:disable */
4
5
  function GlobalWalletSettingsUpdateRequestFromJSON(json) {
@@ -16,6 +17,7 @@ function GlobalWalletSettingsUpdateRequestFromJSONTyped(json, ignoreDiscriminato
16
17
  'termsOfServiceUrl': !exists(json, 'termsOfServiceUrl') ? undefined : json['termsOfServiceUrl'],
17
18
  'privacyPolicyUrl': !exists(json, 'privacyPolicyUrl') ? undefined : json['privacyPolicyUrl'],
18
19
  'termsOfServiceAndPrivacyPolicyMarkdown': !exists(json, 'termsOfServiceAndPrivacyPolicyMarkdown') ? undefined : json['termsOfServiceAndPrivacyPolicyMarkdown'],
20
+ 'customMenuLinks': !exists(json, 'customMenuLinks') ? undefined : (json['customMenuLinks'].map(GlobalWalletSettingsCreateRequestCustomMenuLinksFromJSON)),
19
21
  };
20
22
  }
21
23
  function GlobalWalletSettingsUpdateRequestToJSON(value) {
@@ -33,6 +35,7 @@ function GlobalWalletSettingsUpdateRequestToJSON(value) {
33
35
  'termsOfServiceUrl': value.termsOfServiceUrl,
34
36
  'privacyPolicyUrl': value.privacyPolicyUrl,
35
37
  'termsOfServiceAndPrivacyPolicyMarkdown': value.termsOfServiceAndPrivacyPolicyMarkdown,
38
+ 'customMenuLinks': value.customMenuLinks === undefined ? undefined : (value.customMenuLinks.map(GlobalWalletSettingsCreateRequestCustomMenuLinksToJSON)),
36
39
  };
37
40
  }
38
41
 
@@ -147,6 +147,7 @@ export * from './GlobalWalletAccessControlTypeEnum';
147
147
  export * from './GlobalWalletAccessControlUpdateRequest';
148
148
  export * from './GlobalWalletSettings';
149
149
  export * from './GlobalWalletSettingsCreateRequest';
150
+ export * from './GlobalWalletSettingsCreateRequestCustomMenuLinks';
150
151
  export * from './GlobalWalletSettingsUpdateRequest';
151
152
  export * from './HCaptchaSettings';
152
153
  export * from './HardwareWalletEnum';