@dynamic-labs/sdk-api-core 0.0.659 → 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-core",
3
- "version": "0.0.659",
3
+ "version": "0.0.660",
4
4
  "author": "Dynamic Labs",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
package/src/index.cjs CHANGED
@@ -87,6 +87,7 @@ var FundingExternalWalletsMinAmount = require('./models/FundingExternalWalletsMi
87
87
  var GetUserPasskeysResponse = require('./models/GetUserPasskeysResponse.cjs');
88
88
  var GlobalWalletAccessControlTypeEnum = require('./models/GlobalWalletAccessControlTypeEnum.cjs');
89
89
  var GlobalWalletSettings = require('./models/GlobalWalletSettings.cjs');
90
+ var GlobalWalletSettingsCustomMenuLinks = require('./models/GlobalWalletSettingsCustomMenuLinks.cjs');
90
91
  var HCaptchaSettings = require('./models/HCaptchaSettings.cjs');
91
92
  var HardwareWalletEnum = require('./models/HardwareWalletEnum.cjs');
92
93
  var HardwareWalletProperties = require('./models/HardwareWalletProperties.cjs');
@@ -618,6 +619,9 @@ exports.GlobalWalletAccessControlTypeEnumToJSON = GlobalWalletAccessControlTypeE
618
619
  exports.GlobalWalletSettingsFromJSON = GlobalWalletSettings.GlobalWalletSettingsFromJSON;
619
620
  exports.GlobalWalletSettingsFromJSONTyped = GlobalWalletSettings.GlobalWalletSettingsFromJSONTyped;
620
621
  exports.GlobalWalletSettingsToJSON = GlobalWalletSettings.GlobalWalletSettingsToJSON;
622
+ exports.GlobalWalletSettingsCustomMenuLinksFromJSON = GlobalWalletSettingsCustomMenuLinks.GlobalWalletSettingsCustomMenuLinksFromJSON;
623
+ exports.GlobalWalletSettingsCustomMenuLinksFromJSONTyped = GlobalWalletSettingsCustomMenuLinks.GlobalWalletSettingsCustomMenuLinksFromJSONTyped;
624
+ exports.GlobalWalletSettingsCustomMenuLinksToJSON = GlobalWalletSettingsCustomMenuLinks.GlobalWalletSettingsCustomMenuLinksToJSON;
621
625
  exports.HCaptchaSettingsFromJSON = HCaptchaSettings.HCaptchaSettingsFromJSON;
622
626
  exports.HCaptchaSettingsFromJSONTyped = HCaptchaSettings.HCaptchaSettingsFromJSONTyped;
623
627
  exports.HCaptchaSettingsToJSON = HCaptchaSettings.HCaptchaSettingsToJSON;
package/src/index.js CHANGED
@@ -83,6 +83,7 @@ export { FundingExternalWalletsMinAmountFromJSON, FundingExternalWalletsMinAmoun
83
83
  export { GetUserPasskeysResponseFromJSON, GetUserPasskeysResponseFromJSONTyped, GetUserPasskeysResponseToJSON } from './models/GetUserPasskeysResponse.js';
84
84
  export { GlobalWalletAccessControlTypeEnum, GlobalWalletAccessControlTypeEnumFromJSON, GlobalWalletAccessControlTypeEnumFromJSONTyped, GlobalWalletAccessControlTypeEnumToJSON } from './models/GlobalWalletAccessControlTypeEnum.js';
85
85
  export { GlobalWalletSettingsFromJSON, GlobalWalletSettingsFromJSONTyped, GlobalWalletSettingsToJSON } from './models/GlobalWalletSettings.js';
86
+ export { GlobalWalletSettingsCustomMenuLinksFromJSON, GlobalWalletSettingsCustomMenuLinksFromJSONTyped, GlobalWalletSettingsCustomMenuLinksToJSON } from './models/GlobalWalletSettingsCustomMenuLinks.js';
86
87
  export { HCaptchaSettingsFromJSON, HCaptchaSettingsFromJSONTyped, HCaptchaSettingsToJSON } from './models/HCaptchaSettings.js';
87
88
  export { HardwareWalletEnum, HardwareWalletEnumFromJSON, HardwareWalletEnumFromJSONTyped, HardwareWalletEnumToJSON } from './models/HardwareWalletEnum.js';
88
89
  export { HardwareWalletPropertiesFromJSON, HardwareWalletPropertiesFromJSONTyped, HardwareWalletPropertiesToJSON } from './models/HardwareWalletProperties.js';
@@ -3,6 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var runtime = require('../runtime.cjs');
6
+ var GlobalWalletSettingsCustomMenuLinks = require('./GlobalWalletSettingsCustomMenuLinks.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(GlobalWalletSettingsCustomMenuLinks.GlobalWalletSettingsCustomMenuLinksFromJSON)),
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(GlobalWalletSettingsCustomMenuLinks.GlobalWalletSettingsCustomMenuLinksToJSON)),
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 { GlobalWalletSettingsCustomMenuLinks } from './GlobalWalletSettingsCustomMenuLinks';
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<GlobalWalletSettingsCustomMenuLinks>}
70
+ * @memberof GlobalWalletSettings
71
+ */
72
+ customMenuLinks?: Array<GlobalWalletSettingsCustomMenuLinks>;
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 { GlobalWalletSettingsCustomMenuLinksFromJSON, GlobalWalletSettingsCustomMenuLinksToJSON } from './GlobalWalletSettingsCustomMenuLinks.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(GlobalWalletSettingsCustomMenuLinksFromJSON)),
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(GlobalWalletSettingsCustomMenuLinksToJSON)),
39
42
  'enabledAt': value.enabledAt === undefined ? undefined : (value.enabledAt === null ? null : value.enabledAt.toISOString()),
40
43
  };
41
44
  }
@@ -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 GlobalWalletSettingsCustomMenuLinksFromJSON(json) {
19
+ return GlobalWalletSettingsCustomMenuLinksFromJSONTyped(json);
20
+ }
21
+ function GlobalWalletSettingsCustomMenuLinksFromJSONTyped(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 GlobalWalletSettingsCustomMenuLinksToJSON(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.GlobalWalletSettingsCustomMenuLinksFromJSON = GlobalWalletSettingsCustomMenuLinksFromJSON;
44
+ exports.GlobalWalletSettingsCustomMenuLinksFromJSONTyped = GlobalWalletSettingsCustomMenuLinksFromJSONTyped;
45
+ exports.GlobalWalletSettingsCustomMenuLinksToJSON = GlobalWalletSettingsCustomMenuLinksToJSON;
@@ -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 GlobalWalletSettingsCustomMenuLinks
16
+ */
17
+ export interface GlobalWalletSettingsCustomMenuLinks {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof GlobalWalletSettingsCustomMenuLinks
22
+ */
23
+ label: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof GlobalWalletSettingsCustomMenuLinks
28
+ */
29
+ url: string;
30
+ }
31
+ export declare function GlobalWalletSettingsCustomMenuLinksFromJSON(json: any): GlobalWalletSettingsCustomMenuLinks;
32
+ export declare function GlobalWalletSettingsCustomMenuLinksFromJSONTyped(json: any, ignoreDiscriminator: boolean): GlobalWalletSettingsCustomMenuLinks;
33
+ export declare function GlobalWalletSettingsCustomMenuLinksToJSON(value?: GlobalWalletSettingsCustomMenuLinks | 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 GlobalWalletSettingsCustomMenuLinksFromJSON(json) {
15
+ return GlobalWalletSettingsCustomMenuLinksFromJSONTyped(json);
16
+ }
17
+ function GlobalWalletSettingsCustomMenuLinksFromJSONTyped(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 GlobalWalletSettingsCustomMenuLinksToJSON(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 { GlobalWalletSettingsCustomMenuLinksFromJSON, GlobalWalletSettingsCustomMenuLinksFromJSONTyped, GlobalWalletSettingsCustomMenuLinksToJSON };
@@ -81,6 +81,7 @@ export * from './FundingExternalWalletsMinAmount';
81
81
  export * from './GetUserPasskeysResponse';
82
82
  export * from './GlobalWalletAccessControlTypeEnum';
83
83
  export * from './GlobalWalletSettings';
84
+ export * from './GlobalWalletSettingsCustomMenuLinks';
84
85
  export * from './HCaptchaSettings';
85
86
  export * from './HardwareWalletEnum';
86
87
  export * from './HardwareWalletProperties';