@dynamic-labs/sdk-api 0.0.1057 → 0.0.1059
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
|
@@ -17,6 +17,7 @@ function CaptchaSettingsFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
17
17
|
'enabled': !runtime.exists(json, 'enabled') ? undefined : json['enabled'],
|
|
18
18
|
'provider': !runtime.exists(json, 'provider') ? undefined : CaptchaProviderEnum.CaptchaProviderEnumFromJSON(json['provider']),
|
|
19
19
|
'siteKey': !runtime.exists(json, 'siteKey') ? undefined : json['siteKey'],
|
|
20
|
+
'hasSecretKey': !runtime.exists(json, 'hasSecretKey') ? undefined : json['hasSecretKey'],
|
|
20
21
|
};
|
|
21
22
|
}
|
|
22
23
|
function CaptchaSettingsToJSON(value) {
|
|
@@ -30,6 +31,7 @@ function CaptchaSettingsToJSON(value) {
|
|
|
30
31
|
'enabled': value.enabled,
|
|
31
32
|
'provider': CaptchaProviderEnum.CaptchaProviderEnumToJSON(value.provider),
|
|
32
33
|
'siteKey': value.siteKey,
|
|
34
|
+
'hasSecretKey': value.hasSecretKey,
|
|
33
35
|
};
|
|
34
36
|
}
|
|
35
37
|
|
|
@@ -34,6 +34,12 @@ export interface CaptchaSettings {
|
|
|
34
34
|
* @memberof CaptchaSettings
|
|
35
35
|
*/
|
|
36
36
|
siteKey?: string;
|
|
37
|
+
/**
|
|
38
|
+
* Whether a secret key is configured. The secret itself is encrypted at rest and never returned, so the dashboard uses this to show a masked placeholder.
|
|
39
|
+
* @type {boolean}
|
|
40
|
+
* @memberof CaptchaSettings
|
|
41
|
+
*/
|
|
42
|
+
hasSecretKey?: boolean;
|
|
37
43
|
}
|
|
38
44
|
export declare function CaptchaSettingsFromJSON(json: any): CaptchaSettings;
|
|
39
45
|
export declare function CaptchaSettingsFromJSONTyped(json: any, ignoreDiscriminator: boolean): CaptchaSettings;
|
|
@@ -13,6 +13,7 @@ function CaptchaSettingsFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
13
13
|
'enabled': !exists(json, 'enabled') ? undefined : json['enabled'],
|
|
14
14
|
'provider': !exists(json, 'provider') ? undefined : CaptchaProviderEnumFromJSON(json['provider']),
|
|
15
15
|
'siteKey': !exists(json, 'siteKey') ? undefined : json['siteKey'],
|
|
16
|
+
'hasSecretKey': !exists(json, 'hasSecretKey') ? undefined : json['hasSecretKey'],
|
|
16
17
|
};
|
|
17
18
|
}
|
|
18
19
|
function CaptchaSettingsToJSON(value) {
|
|
@@ -26,6 +27,7 @@ function CaptchaSettingsToJSON(value) {
|
|
|
26
27
|
'enabled': value.enabled,
|
|
27
28
|
'provider': CaptchaProviderEnumToJSON(value.provider),
|
|
28
29
|
'siteKey': value.siteKey,
|
|
30
|
+
'hasSecretKey': value.hasSecretKey,
|
|
29
31
|
};
|
|
30
32
|
}
|
|
31
33
|
|