@dynamic-labs/sdk-api 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",
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
  }
@@ -19,6 +19,7 @@ function GlobalWalletSettingsCreateRequestFromJSONTyped(json, ignoreDiscriminato
19
19
  'customCssUrl': !runtime.exists(json, 'customCssUrl') ? undefined : json['customCssUrl'],
20
20
  'termsOfServiceUrl': !runtime.exists(json, 'termsOfServiceUrl') ? undefined : json['termsOfServiceUrl'],
21
21
  'privacyPolicyUrl': !runtime.exists(json, 'privacyPolicyUrl') ? undefined : json['privacyPolicyUrl'],
22
+ 'termsOfServiceAndPrivacyPolicyMarkdown': !runtime.exists(json, 'termsOfServiceAndPrivacyPolicyMarkdown') ? undefined : json['termsOfServiceAndPrivacyPolicyMarkdown'],
22
23
  };
23
24
  }
24
25
  function GlobalWalletSettingsCreateRequestToJSON(value) {
@@ -35,6 +36,7 @@ function GlobalWalletSettingsCreateRequestToJSON(value) {
35
36
  'customCssUrl': value.customCssUrl,
36
37
  'termsOfServiceUrl': value.termsOfServiceUrl,
37
38
  'privacyPolicyUrl': value.privacyPolicyUrl,
39
+ 'termsOfServiceAndPrivacyPolicyMarkdown': value.termsOfServiceAndPrivacyPolicyMarkdown,
38
40
  };
39
41
  }
40
42
 
@@ -51,6 +51,12 @@ export interface GlobalWalletSettingsCreateRequest {
51
51
  * @memberof GlobalWalletSettingsCreateRequest
52
52
  */
53
53
  privacyPolicyUrl?: string;
54
+ /**
55
+ *
56
+ * @type {string}
57
+ * @memberof GlobalWalletSettingsCreateRequest
58
+ */
59
+ termsOfServiceAndPrivacyPolicyMarkdown?: string;
54
60
  }
55
61
  export declare function GlobalWalletSettingsCreateRequestFromJSON(json: any): GlobalWalletSettingsCreateRequest;
56
62
  export declare function GlobalWalletSettingsCreateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): GlobalWalletSettingsCreateRequest;
@@ -15,6 +15,7 @@ function GlobalWalletSettingsCreateRequestFromJSONTyped(json, ignoreDiscriminato
15
15
  'customCssUrl': !exists(json, 'customCssUrl') ? undefined : json['customCssUrl'],
16
16
  'termsOfServiceUrl': !exists(json, 'termsOfServiceUrl') ? undefined : json['termsOfServiceUrl'],
17
17
  'privacyPolicyUrl': !exists(json, 'privacyPolicyUrl') ? undefined : json['privacyPolicyUrl'],
18
+ 'termsOfServiceAndPrivacyPolicyMarkdown': !exists(json, 'termsOfServiceAndPrivacyPolicyMarkdown') ? undefined : json['termsOfServiceAndPrivacyPolicyMarkdown'],
18
19
  };
19
20
  }
20
21
  function GlobalWalletSettingsCreateRequestToJSON(value) {
@@ -31,6 +32,7 @@ function GlobalWalletSettingsCreateRequestToJSON(value) {
31
32
  'customCssUrl': value.customCssUrl,
32
33
  'termsOfServiceUrl': value.termsOfServiceUrl,
33
34
  'privacyPolicyUrl': value.privacyPolicyUrl,
35
+ 'termsOfServiceAndPrivacyPolicyMarkdown': value.termsOfServiceAndPrivacyPolicyMarkdown,
34
36
  };
35
37
  }
36
38
 
@@ -19,6 +19,7 @@ function GlobalWalletSettingsUpdateRequestFromJSONTyped(json, ignoreDiscriminato
19
19
  'customCssUrl': !runtime.exists(json, 'customCssUrl') ? undefined : json['customCssUrl'],
20
20
  'termsOfServiceUrl': !runtime.exists(json, 'termsOfServiceUrl') ? undefined : json['termsOfServiceUrl'],
21
21
  'privacyPolicyUrl': !runtime.exists(json, 'privacyPolicyUrl') ? undefined : json['privacyPolicyUrl'],
22
+ 'termsOfServiceAndPrivacyPolicyMarkdown': !runtime.exists(json, 'termsOfServiceAndPrivacyPolicyMarkdown') ? undefined : json['termsOfServiceAndPrivacyPolicyMarkdown'],
22
23
  };
23
24
  }
24
25
  function GlobalWalletSettingsUpdateRequestToJSON(value) {
@@ -35,6 +36,7 @@ function GlobalWalletSettingsUpdateRequestToJSON(value) {
35
36
  'customCssUrl': value.customCssUrl,
36
37
  'termsOfServiceUrl': value.termsOfServiceUrl,
37
38
  'privacyPolicyUrl': value.privacyPolicyUrl,
39
+ 'termsOfServiceAndPrivacyPolicyMarkdown': value.termsOfServiceAndPrivacyPolicyMarkdown,
38
40
  };
39
41
  }
40
42
 
@@ -51,6 +51,12 @@ export interface GlobalWalletSettingsUpdateRequest {
51
51
  * @memberof GlobalWalletSettingsUpdateRequest
52
52
  */
53
53
  privacyPolicyUrl?: string;
54
+ /**
55
+ *
56
+ * @type {string}
57
+ * @memberof GlobalWalletSettingsUpdateRequest
58
+ */
59
+ termsOfServiceAndPrivacyPolicyMarkdown?: string;
54
60
  }
55
61
  export declare function GlobalWalletSettingsUpdateRequestFromJSON(json: any): GlobalWalletSettingsUpdateRequest;
56
62
  export declare function GlobalWalletSettingsUpdateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): GlobalWalletSettingsUpdateRequest;
@@ -15,6 +15,7 @@ function GlobalWalletSettingsUpdateRequestFromJSONTyped(json, ignoreDiscriminato
15
15
  'customCssUrl': !exists(json, 'customCssUrl') ? undefined : json['customCssUrl'],
16
16
  'termsOfServiceUrl': !exists(json, 'termsOfServiceUrl') ? undefined : json['termsOfServiceUrl'],
17
17
  'privacyPolicyUrl': !exists(json, 'privacyPolicyUrl') ? undefined : json['privacyPolicyUrl'],
18
+ 'termsOfServiceAndPrivacyPolicyMarkdown': !exists(json, 'termsOfServiceAndPrivacyPolicyMarkdown') ? undefined : json['termsOfServiceAndPrivacyPolicyMarkdown'],
18
19
  };
19
20
  }
20
21
  function GlobalWalletSettingsUpdateRequestToJSON(value) {
@@ -31,6 +32,7 @@ function GlobalWalletSettingsUpdateRequestToJSON(value) {
31
32
  'customCssUrl': value.customCssUrl,
32
33
  'termsOfServiceUrl': value.termsOfServiceUrl,
33
34
  'privacyPolicyUrl': value.privacyPolicyUrl,
35
+ 'termsOfServiceAndPrivacyPolicyMarkdown': value.termsOfServiceAndPrivacyPolicyMarkdown,
34
36
  };
35
37
  }
36
38
 
@@ -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) {