@dynamic-labs/sdk-api-core 0.0.420 → 0.0.422
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/CustomFieldValidationRules.cjs +2 -0
- package/src/models/CustomFieldValidationRules.d.ts +6 -0
- package/src/models/CustomFieldValidationRules.js +2 -0
- package/src/models/UnprocessableEntityErrorCode.cjs +1 -0
- package/src/models/UnprocessableEntityErrorCode.d.ts +2 -1
- package/src/models/UnprocessableEntityErrorCode.js +1 -0
package/package.json
CHANGED
|
@@ -17,6 +17,7 @@ function CustomFieldValidationRulesFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
17
17
|
'unique': !runtime.exists(json, 'unique') ? undefined : json['unique'],
|
|
18
18
|
'regex': !runtime.exists(json, 'regex') ? undefined : json['regex'],
|
|
19
19
|
'validOptions': !runtime.exists(json, 'validOptions') ? undefined : (json['validOptions'].map(CustomFieldValidValue.CustomFieldValidValueFromJSON)),
|
|
20
|
+
'checkboxText': !runtime.exists(json, 'checkboxText') ? undefined : json['checkboxText'],
|
|
20
21
|
};
|
|
21
22
|
}
|
|
22
23
|
function CustomFieldValidationRulesToJSON(value) {
|
|
@@ -30,6 +31,7 @@ function CustomFieldValidationRulesToJSON(value) {
|
|
|
30
31
|
'unique': value.unique,
|
|
31
32
|
'regex': value.regex,
|
|
32
33
|
'validOptions': value.validOptions === undefined ? undefined : (value.validOptions.map(CustomFieldValidValue.CustomFieldValidValueToJSON)),
|
|
34
|
+
'checkboxText': value.checkboxText,
|
|
33
35
|
};
|
|
34
36
|
}
|
|
35
37
|
|
|
@@ -34,6 +34,12 @@ export interface CustomFieldValidationRules {
|
|
|
34
34
|
* @memberof CustomFieldValidationRules
|
|
35
35
|
*/
|
|
36
36
|
validOptions?: Array<CustomFieldValidValue>;
|
|
37
|
+
/**
|
|
38
|
+
* text that will be displayed next to the checkbox
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof CustomFieldValidationRules
|
|
41
|
+
*/
|
|
42
|
+
checkboxText?: string;
|
|
37
43
|
}
|
|
38
44
|
export declare function CustomFieldValidationRulesFromJSON(json: any): CustomFieldValidationRules;
|
|
39
45
|
export declare function CustomFieldValidationRulesFromJSONTyped(json: any, ignoreDiscriminator: boolean): CustomFieldValidationRules;
|
|
@@ -13,6 +13,7 @@ function CustomFieldValidationRulesFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
13
13
|
'unique': !exists(json, 'unique') ? undefined : json['unique'],
|
|
14
14
|
'regex': !exists(json, 'regex') ? undefined : json['regex'],
|
|
15
15
|
'validOptions': !exists(json, 'validOptions') ? undefined : (json['validOptions'].map(CustomFieldValidValueFromJSON)),
|
|
16
|
+
'checkboxText': !exists(json, 'checkboxText') ? undefined : json['checkboxText'],
|
|
16
17
|
};
|
|
17
18
|
}
|
|
18
19
|
function CustomFieldValidationRulesToJSON(value) {
|
|
@@ -26,6 +27,7 @@ function CustomFieldValidationRulesToJSON(value) {
|
|
|
26
27
|
'unique': value.unique,
|
|
27
28
|
'regex': value.regex,
|
|
28
29
|
'validOptions': value.validOptions === undefined ? undefined : (value.validOptions.map(CustomFieldValidValueToJSON)),
|
|
30
|
+
'checkboxText': value.checkboxText,
|
|
29
31
|
};
|
|
30
32
|
}
|
|
31
33
|
|
|
@@ -91,6 +91,7 @@ exports.UnprocessableEntityErrorCode = void 0;
|
|
|
91
91
|
UnprocessableEntityErrorCode["GateExists"] = "gate_exists";
|
|
92
92
|
UnprocessableEntityErrorCode["InvalidEmbeddedWalletChainsConfiguration"] = "invalid_embedded_wallet_chains_configuration";
|
|
93
93
|
UnprocessableEntityErrorCode["MergeAccountsConfirmation"] = "merge_accounts_confirmation";
|
|
94
|
+
UnprocessableEntityErrorCode["MergeAccountsInvalid"] = "merge_accounts_invalid";
|
|
94
95
|
})(exports.UnprocessableEntityErrorCode || (exports.UnprocessableEntityErrorCode = {}));
|
|
95
96
|
function UnprocessableEntityErrorCodeFromJSON(json) {
|
|
96
97
|
return UnprocessableEntityErrorCodeFromJSONTyped(json);
|
|
@@ -83,7 +83,8 @@ export declare enum UnprocessableEntityErrorCode {
|
|
|
83
83
|
InvalidPhone = "invalid_phone",
|
|
84
84
|
GateExists = "gate_exists",
|
|
85
85
|
InvalidEmbeddedWalletChainsConfiguration = "invalid_embedded_wallet_chains_configuration",
|
|
86
|
-
MergeAccountsConfirmation = "merge_accounts_confirmation"
|
|
86
|
+
MergeAccountsConfirmation = "merge_accounts_confirmation",
|
|
87
|
+
MergeAccountsInvalid = "merge_accounts_invalid"
|
|
87
88
|
}
|
|
88
89
|
export declare function UnprocessableEntityErrorCodeFromJSON(json: any): UnprocessableEntityErrorCode;
|
|
89
90
|
export declare function UnprocessableEntityErrorCodeFromJSONTyped(json: any, ignoreDiscriminator: boolean): UnprocessableEntityErrorCode;
|
|
@@ -87,6 +87,7 @@ var UnprocessableEntityErrorCode;
|
|
|
87
87
|
UnprocessableEntityErrorCode["GateExists"] = "gate_exists";
|
|
88
88
|
UnprocessableEntityErrorCode["InvalidEmbeddedWalletChainsConfiguration"] = "invalid_embedded_wallet_chains_configuration";
|
|
89
89
|
UnprocessableEntityErrorCode["MergeAccountsConfirmation"] = "merge_accounts_confirmation";
|
|
90
|
+
UnprocessableEntityErrorCode["MergeAccountsInvalid"] = "merge_accounts_invalid";
|
|
90
91
|
})(UnprocessableEntityErrorCode || (UnprocessableEntityErrorCode = {}));
|
|
91
92
|
function UnprocessableEntityErrorCodeFromJSON(json) {
|
|
92
93
|
return UnprocessableEntityErrorCodeFromJSONTyped(json);
|