@dynamic-labs/sdk-api 0.0.640 → 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",
3
- "version": "0.0.640",
3
+ "version": "0.0.642",
4
4
  "author": "Dynamic Labs",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
@@ -31,6 +31,7 @@ exports.ChainEnum = void 0;
31
31
  ChainEnum["Cosmos"] = "COSMOS";
32
32
  ChainEnum["Btc"] = "BTC";
33
33
  ChainEnum["Eclipse"] = "ECLIPSE";
34
+ ChainEnum["Sui"] = "SUI";
34
35
  })(exports.ChainEnum || (exports.ChainEnum = {}));
35
36
  function ChainEnumFromJSON(json) {
36
37
  return ChainEnumFromJSONTyped(json);
@@ -23,7 +23,8 @@ export declare enum ChainEnum {
23
23
  Stark = "STARK",
24
24
  Cosmos = "COSMOS",
25
25
  Btc = "BTC",
26
- Eclipse = "ECLIPSE"
26
+ Eclipse = "ECLIPSE",
27
+ Sui = "SUI"
27
28
  }
28
29
  export declare function ChainEnumFromJSON(json: any): ChainEnum;
29
30
  export declare function ChainEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): ChainEnum;
@@ -27,6 +27,7 @@ var ChainEnum;
27
27
  ChainEnum["Cosmos"] = "COSMOS";
28
28
  ChainEnum["Btc"] = "BTC";
29
29
  ChainEnum["Eclipse"] = "ECLIPSE";
30
+ ChainEnum["Sui"] = "SUI";
30
31
  })(ChainEnum || (ChainEnum = {}));
31
32
  function ChainEnumFromJSON(json) {
32
33
  return ChainEnumFromJSONTyped(json);
@@ -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
  }
@@ -17,6 +17,8 @@ function GlobalWalletSettingsCreateRequestFromJSONTyped(json, ignoreDiscriminato
17
17
  'popupPageTitle': !runtime.exists(json, 'popupPageTitle') ? undefined : json['popupPageTitle'],
18
18
  'walletIconUrl': !runtime.exists(json, 'walletIconUrl') ? undefined : json['walletIconUrl'],
19
19
  'customCssUrl': !runtime.exists(json, 'customCssUrl') ? undefined : json['customCssUrl'],
20
+ 'termsOfServiceUrl': !runtime.exists(json, 'termsOfServiceUrl') ? undefined : json['termsOfServiceUrl'],
21
+ 'privacyPolicyUrl': !runtime.exists(json, 'privacyPolicyUrl') ? undefined : json['privacyPolicyUrl'],
20
22
  };
21
23
  }
22
24
  function GlobalWalletSettingsCreateRequestToJSON(value) {
@@ -31,6 +33,8 @@ function GlobalWalletSettingsCreateRequestToJSON(value) {
31
33
  'popupPageTitle': value.popupPageTitle,
32
34
  'walletIconUrl': value.walletIconUrl,
33
35
  'customCssUrl': value.customCssUrl,
36
+ 'termsOfServiceUrl': value.termsOfServiceUrl,
37
+ 'privacyPolicyUrl': value.privacyPolicyUrl,
34
38
  };
35
39
  }
36
40
 
@@ -39,6 +39,18 @@ export interface GlobalWalletSettingsCreateRequest {
39
39
  * @memberof GlobalWalletSettingsCreateRequest
40
40
  */
41
41
  customCssUrl?: string;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof GlobalWalletSettingsCreateRequest
46
+ */
47
+ termsOfServiceUrl?: string;
48
+ /**
49
+ *
50
+ * @type {string}
51
+ * @memberof GlobalWalletSettingsCreateRequest
52
+ */
53
+ privacyPolicyUrl?: string;
42
54
  }
43
55
  export declare function GlobalWalletSettingsCreateRequestFromJSON(json: any): GlobalWalletSettingsCreateRequest;
44
56
  export declare function GlobalWalletSettingsCreateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): GlobalWalletSettingsCreateRequest;
@@ -13,6 +13,8 @@ function GlobalWalletSettingsCreateRequestFromJSONTyped(json, ignoreDiscriminato
13
13
  'popupPageTitle': !exists(json, 'popupPageTitle') ? undefined : json['popupPageTitle'],
14
14
  'walletIconUrl': !exists(json, 'walletIconUrl') ? undefined : json['walletIconUrl'],
15
15
  'customCssUrl': !exists(json, 'customCssUrl') ? undefined : json['customCssUrl'],
16
+ 'termsOfServiceUrl': !exists(json, 'termsOfServiceUrl') ? undefined : json['termsOfServiceUrl'],
17
+ 'privacyPolicyUrl': !exists(json, 'privacyPolicyUrl') ? undefined : json['privacyPolicyUrl'],
16
18
  };
17
19
  }
18
20
  function GlobalWalletSettingsCreateRequestToJSON(value) {
@@ -27,6 +29,8 @@ function GlobalWalletSettingsCreateRequestToJSON(value) {
27
29
  'popupPageTitle': value.popupPageTitle,
28
30
  'walletIconUrl': value.walletIconUrl,
29
31
  'customCssUrl': value.customCssUrl,
32
+ 'termsOfServiceUrl': value.termsOfServiceUrl,
33
+ 'privacyPolicyUrl': value.privacyPolicyUrl,
30
34
  };
31
35
  }
32
36
 
@@ -17,6 +17,8 @@ function GlobalWalletSettingsUpdateRequestFromJSONTyped(json, ignoreDiscriminato
17
17
  'popupPageTitle': !runtime.exists(json, 'popupPageTitle') ? undefined : json['popupPageTitle'],
18
18
  'walletIconUrl': !runtime.exists(json, 'walletIconUrl') ? undefined : json['walletIconUrl'],
19
19
  'customCssUrl': !runtime.exists(json, 'customCssUrl') ? undefined : json['customCssUrl'],
20
+ 'termsOfServiceUrl': !runtime.exists(json, 'termsOfServiceUrl') ? undefined : json['termsOfServiceUrl'],
21
+ 'privacyPolicyUrl': !runtime.exists(json, 'privacyPolicyUrl') ? undefined : json['privacyPolicyUrl'],
20
22
  };
21
23
  }
22
24
  function GlobalWalletSettingsUpdateRequestToJSON(value) {
@@ -31,6 +33,8 @@ function GlobalWalletSettingsUpdateRequestToJSON(value) {
31
33
  'popupPageTitle': value.popupPageTitle,
32
34
  'walletIconUrl': value.walletIconUrl,
33
35
  'customCssUrl': value.customCssUrl,
36
+ 'termsOfServiceUrl': value.termsOfServiceUrl,
37
+ 'privacyPolicyUrl': value.privacyPolicyUrl,
34
38
  };
35
39
  }
36
40
 
@@ -39,6 +39,18 @@ export interface GlobalWalletSettingsUpdateRequest {
39
39
  * @memberof GlobalWalletSettingsUpdateRequest
40
40
  */
41
41
  customCssUrl?: string;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof GlobalWalletSettingsUpdateRequest
46
+ */
47
+ termsOfServiceUrl?: string;
48
+ /**
49
+ *
50
+ * @type {string}
51
+ * @memberof GlobalWalletSettingsUpdateRequest
52
+ */
53
+ privacyPolicyUrl?: string;
42
54
  }
43
55
  export declare function GlobalWalletSettingsUpdateRequestFromJSON(json: any): GlobalWalletSettingsUpdateRequest;
44
56
  export declare function GlobalWalletSettingsUpdateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): GlobalWalletSettingsUpdateRequest;
@@ -13,6 +13,8 @@ function GlobalWalletSettingsUpdateRequestFromJSONTyped(json, ignoreDiscriminato
13
13
  'popupPageTitle': !exists(json, 'popupPageTitle') ? undefined : json['popupPageTitle'],
14
14
  'walletIconUrl': !exists(json, 'walletIconUrl') ? undefined : json['walletIconUrl'],
15
15
  'customCssUrl': !exists(json, 'customCssUrl') ? undefined : json['customCssUrl'],
16
+ 'termsOfServiceUrl': !exists(json, 'termsOfServiceUrl') ? undefined : json['termsOfServiceUrl'],
17
+ 'privacyPolicyUrl': !exists(json, 'privacyPolicyUrl') ? undefined : json['privacyPolicyUrl'],
16
18
  };
17
19
  }
18
20
  function GlobalWalletSettingsUpdateRequestToJSON(value) {
@@ -27,6 +29,8 @@ function GlobalWalletSettingsUpdateRequestToJSON(value) {
27
29
  'popupPageTitle': value.popupPageTitle,
28
30
  'walletIconUrl': value.walletIconUrl,
29
31
  'customCssUrl': value.customCssUrl,
32
+ 'termsOfServiceUrl': value.termsOfServiceUrl,
33
+ 'privacyPolicyUrl': value.privacyPolicyUrl,
30
34
  };
31
35
  }
32
36