@dynamic-labs/sdk-api-core 0.0.642 → 0.0.644

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.642",
3
+ "version": "0.0.644",
4
4
  "author": "Dynamic Labs",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
@@ -20,6 +20,7 @@ function GlobalWalletSettingsFromJSONTyped(json, ignoreDiscriminator) {
20
20
  'customCssUrl': !runtime.exists(json, 'customCssUrl') ? undefined : json['customCssUrl'],
21
21
  'termsOfServiceUrl': !runtime.exists(json, 'termsOfServiceUrl') ? undefined : json['termsOfServiceUrl'],
22
22
  'privacyPolicyUrl': !runtime.exists(json, 'privacyPolicyUrl') ? undefined : json['privacyPolicyUrl'],
23
+ 'termsOfServiceAndPrivacyPolicyMarkdown': !runtime.exists(json, 'termsOfServiceAndPrivacyPolicyMarkdown') ? undefined : json['termsOfServiceAndPrivacyPolicyMarkdown'],
23
24
  'enabledAt': !runtime.exists(json, 'enabledAt') ? undefined : (json['enabledAt'] === null ? null : new Date(json['enabledAt'])),
24
25
  };
25
26
  }
@@ -38,6 +39,7 @@ function GlobalWalletSettingsToJSON(value) {
38
39
  'customCssUrl': value.customCssUrl,
39
40
  'termsOfServiceUrl': value.termsOfServiceUrl,
40
41
  'privacyPolicyUrl': value.privacyPolicyUrl,
42
+ 'termsOfServiceAndPrivacyPolicyMarkdown': value.termsOfServiceAndPrivacyPolicyMarkdown,
41
43
  'enabledAt': value.enabledAt === undefined ? undefined : (value.enabledAt === null ? null : value.enabledAt.toISOString()),
42
44
  };
43
45
  }
@@ -57,6 +57,12 @@ export interface GlobalWalletSettings {
57
57
  * @memberof GlobalWalletSettings
58
58
  */
59
59
  privacyPolicyUrl?: string;
60
+ /**
61
+ *
62
+ * @type {string}
63
+ * @memberof GlobalWalletSettings
64
+ */
65
+ termsOfServiceAndPrivacyPolicyMarkdown?: string;
60
66
  /**
61
67
  * If global wallet is enabled, then this timestamp will be present.
62
68
  * @type {Date}
@@ -16,6 +16,7 @@ function GlobalWalletSettingsFromJSONTyped(json, ignoreDiscriminator) {
16
16
  'customCssUrl': !exists(json, 'customCssUrl') ? undefined : json['customCssUrl'],
17
17
  'termsOfServiceUrl': !exists(json, 'termsOfServiceUrl') ? undefined : json['termsOfServiceUrl'],
18
18
  'privacyPolicyUrl': !exists(json, 'privacyPolicyUrl') ? undefined : json['privacyPolicyUrl'],
19
+ 'termsOfServiceAndPrivacyPolicyMarkdown': !exists(json, 'termsOfServiceAndPrivacyPolicyMarkdown') ? undefined : json['termsOfServiceAndPrivacyPolicyMarkdown'],
19
20
  'enabledAt': !exists(json, 'enabledAt') ? undefined : (json['enabledAt'] === null ? null : new Date(json['enabledAt'])),
20
21
  };
21
22
  }
@@ -34,6 +35,7 @@ function GlobalWalletSettingsToJSON(value) {
34
35
  'customCssUrl': value.customCssUrl,
35
36
  'termsOfServiceUrl': value.termsOfServiceUrl,
36
37
  'privacyPolicyUrl': value.privacyPolicyUrl,
38
+ 'termsOfServiceAndPrivacyPolicyMarkdown': value.termsOfServiceAndPrivacyPolicyMarkdown,
37
39
  'enabledAt': value.enabledAt === undefined ? undefined : (value.enabledAt === null ? null : value.enabledAt.toISOString()),
38
40
  };
39
41
  }
@@ -2,6 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
+ var runtime = require('../runtime.cjs');
5
6
  var ProjectSettingsSdkWaasOnSignUp = require('./ProjectSettingsSdkWaasOnSignUp.cjs');
6
7
  var WaasBackupOptionsEnum = require('./WaasBackupOptionsEnum.cjs');
7
8
 
@@ -17,7 +18,7 @@ function ProjectSettingsSdkWaasFromJSONTyped(json, ignoreDiscriminator) {
17
18
  'passcodeRequired': json['passcodeRequired'],
18
19
  'onSignUp': ProjectSettingsSdkWaasOnSignUp.ProjectSettingsSdkWaasOnSignUpFromJSON(json['onSignUp']),
19
20
  'backupOptions': (json['backupOptions'].map(WaasBackupOptionsEnum.WaasBackupOptionsEnumFromJSON)),
20
- 'relayUrl': json['relayUrl'],
21
+ 'relayUrl': !runtime.exists(json, 'relayUrl') ? undefined : json['relayUrl'],
21
22
  };
22
23
  }
23
24
  function ProjectSettingsSdkWaasToJSON(value) {
@@ -40,7 +40,7 @@ export interface ProjectSettingsSdkWaas {
40
40
  * @type {string}
41
41
  * @memberof ProjectSettingsSdkWaas
42
42
  */
43
- relayUrl: string;
43
+ relayUrl?: string;
44
44
  }
45
45
  export declare function ProjectSettingsSdkWaasFromJSON(json: any): ProjectSettingsSdkWaas;
46
46
  export declare function ProjectSettingsSdkWaasFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectSettingsSdkWaas;
@@ -1,3 +1,4 @@
1
+ import { exists } from '../runtime.js';
1
2
  import { ProjectSettingsSdkWaasOnSignUpFromJSON, ProjectSettingsSdkWaasOnSignUpToJSON } from './ProjectSettingsSdkWaasOnSignUp.js';
2
3
  import { WaasBackupOptionsEnumFromJSON, WaasBackupOptionsEnumToJSON } from './WaasBackupOptionsEnum.js';
3
4
 
@@ -13,7 +14,7 @@ function ProjectSettingsSdkWaasFromJSONTyped(json, ignoreDiscriminator) {
13
14
  'passcodeRequired': json['passcodeRequired'],
14
15
  'onSignUp': ProjectSettingsSdkWaasOnSignUpFromJSON(json['onSignUp']),
15
16
  'backupOptions': (json['backupOptions'].map(WaasBackupOptionsEnumFromJSON)),
16
- 'relayUrl': json['relayUrl'],
17
+ 'relayUrl': !exists(json, 'relayUrl') ? undefined : json['relayUrl'],
17
18
  };
18
19
  }
19
20
  function ProjectSettingsSdkWaasToJSON(value) {