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

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.641",
3
+ "version": "0.0.642",
4
4
  "author": "Dynamic Labs",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
@@ -18,6 +18,8 @@ function GlobalWalletSettingsFromJSONTyped(json, ignoreDiscriminator) {
18
18
  'popupPageTitle': !runtime.exists(json, 'popupPageTitle') ? undefined : json['popupPageTitle'],
19
19
  'walletIconUrl': !runtime.exists(json, 'walletIconUrl') ? undefined : json['walletIconUrl'],
20
20
  'customCssUrl': !runtime.exists(json, 'customCssUrl') ? undefined : json['customCssUrl'],
21
+ 'termsOfServiceUrl': !runtime.exists(json, 'termsOfServiceUrl') ? undefined : json['termsOfServiceUrl'],
22
+ 'privacyPolicyUrl': !runtime.exists(json, 'privacyPolicyUrl') ? undefined : json['privacyPolicyUrl'],
21
23
  'enabledAt': !runtime.exists(json, 'enabledAt') ? undefined : (json['enabledAt'] === null ? null : new Date(json['enabledAt'])),
22
24
  };
23
25
  }
@@ -34,6 +36,8 @@ function GlobalWalletSettingsToJSON(value) {
34
36
  'popupPageTitle': value.popupPageTitle,
35
37
  'walletIconUrl': value.walletIconUrl,
36
38
  'customCssUrl': value.customCssUrl,
39
+ 'termsOfServiceUrl': value.termsOfServiceUrl,
40
+ 'privacyPolicyUrl': value.privacyPolicyUrl,
37
41
  'enabledAt': value.enabledAt === undefined ? undefined : (value.enabledAt === null ? null : value.enabledAt.toISOString()),
38
42
  };
39
43
  }
@@ -45,6 +45,18 @@ export interface GlobalWalletSettings {
45
45
  * @memberof GlobalWalletSettings
46
46
  */
47
47
  customCssUrl?: string;
48
+ /**
49
+ *
50
+ * @type {string}
51
+ * @memberof GlobalWalletSettings
52
+ */
53
+ termsOfServiceUrl?: string;
54
+ /**
55
+ *
56
+ * @type {string}
57
+ * @memberof GlobalWalletSettings
58
+ */
59
+ privacyPolicyUrl?: string;
48
60
  /**
49
61
  * If global wallet is enabled, then this timestamp will be present.
50
62
  * @type {Date}
@@ -14,6 +14,8 @@ function GlobalWalletSettingsFromJSONTyped(json, ignoreDiscriminator) {
14
14
  'popupPageTitle': !exists(json, 'popupPageTitle') ? undefined : json['popupPageTitle'],
15
15
  'walletIconUrl': !exists(json, 'walletIconUrl') ? undefined : json['walletIconUrl'],
16
16
  'customCssUrl': !exists(json, 'customCssUrl') ? undefined : json['customCssUrl'],
17
+ 'termsOfServiceUrl': !exists(json, 'termsOfServiceUrl') ? undefined : json['termsOfServiceUrl'],
18
+ 'privacyPolicyUrl': !exists(json, 'privacyPolicyUrl') ? undefined : json['privacyPolicyUrl'],
17
19
  'enabledAt': !exists(json, 'enabledAt') ? undefined : (json['enabledAt'] === null ? null : new Date(json['enabledAt'])),
18
20
  };
19
21
  }
@@ -30,6 +32,8 @@ function GlobalWalletSettingsToJSON(value) {
30
32
  'popupPageTitle': value.popupPageTitle,
31
33
  'walletIconUrl': value.walletIconUrl,
32
34
  'customCssUrl': value.customCssUrl,
35
+ 'termsOfServiceUrl': value.termsOfServiceUrl,
36
+ 'privacyPolicyUrl': value.privacyPolicyUrl,
33
37
  'enabledAt': value.enabledAt === undefined ? undefined : (value.enabledAt === null ? null : value.enabledAt.toISOString()),
34
38
  };
35
39
  }