@dynamic-labs/sdk-api 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 +1 -1
- package/src/models/GlobalWalletSettings.cjs +4 -0
- package/src/models/GlobalWalletSettings.d.ts +12 -0
- package/src/models/GlobalWalletSettings.js +4 -0
- package/src/models/GlobalWalletSettingsCreateRequest.cjs +4 -0
- package/src/models/GlobalWalletSettingsCreateRequest.d.ts +12 -0
- package/src/models/GlobalWalletSettingsCreateRequest.js +4 -0
- package/src/models/GlobalWalletSettingsUpdateRequest.cjs +4 -0
- package/src/models/GlobalWalletSettingsUpdateRequest.d.ts +12 -0
- package/src/models/GlobalWalletSettingsUpdateRequest.js +4 -0
package/package.json
CHANGED
|
@@ -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
|
|