@dynamic-labs/sdk-api 0.0.367 → 0.0.368
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/JwtVerifiedCredential.cjs +2 -0
- package/src/models/JwtVerifiedCredential.d.ts +8 -2
- package/src/models/JwtVerifiedCredential.js +2 -0
- package/src/models/SmsVerificationCreateRequest.cjs +2 -0
- package/src/models/SmsVerificationCreateRequest.d.ts +6 -0
- package/src/models/SmsVerificationCreateRequest.js +2 -0
- package/src/models/SmsVerificationCreateResponse.cjs +2 -0
- package/src/models/SmsVerificationCreateResponse.d.ts +8 -2
- package/src/models/SmsVerificationCreateResponse.js +2 -0
- package/src/models/SmsVerificationRetryRequest.cjs +2 -0
- package/src/models/SmsVerificationRetryRequest.d.ts +6 -0
- package/src/models/SmsVerificationRetryRequest.js +2 -0
package/package.json
CHANGED
|
@@ -37,6 +37,7 @@ function JwtVerifiedCredentialFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
37
37
|
'oauthAccountId': !runtime.exists(json, 'oauth_account_id') ? undefined : json['oauth_account_id'],
|
|
38
38
|
'phoneNumber': !runtime.exists(json, 'phoneNumber') ? undefined : json['phoneNumber'],
|
|
39
39
|
'phoneCountryCode': !runtime.exists(json, 'phoneCountryCode') ? undefined : json['phoneCountryCode'],
|
|
40
|
+
'isoCountryCode': !runtime.exists(json, 'isoCountryCode') ? undefined : json['isoCountryCode'],
|
|
40
41
|
'oauthAccountPhotos': !runtime.exists(json, 'oauth_account_photos') ? undefined : json['oauth_account_photos'],
|
|
41
42
|
'oauthEmails': !runtime.exists(json, 'oauth_emails') ? undefined : json['oauth_emails'],
|
|
42
43
|
'oauthMetadata': !runtime.exists(json, 'oauth_metadata') ? undefined : json['oauth_metadata'],
|
|
@@ -71,6 +72,7 @@ function JwtVerifiedCredentialToJSON(value) {
|
|
|
71
72
|
'oauth_account_id': value.oauthAccountId,
|
|
72
73
|
'phoneNumber': value.phoneNumber,
|
|
73
74
|
'phoneCountryCode': value.phoneCountryCode,
|
|
75
|
+
'isoCountryCode': value.isoCountryCode,
|
|
74
76
|
'oauth_account_photos': value.oauthAccountPhotos,
|
|
75
77
|
'oauth_emails': value.oauthEmails,
|
|
76
78
|
'oauth_metadata': value.oauthMetadata,
|
|
@@ -118,17 +118,23 @@ export interface JwtVerifiedCredential {
|
|
|
118
118
|
*/
|
|
119
119
|
oauthAccountId?: string;
|
|
120
120
|
/**
|
|
121
|
-
*
|
|
121
|
+
* This field contains the phone number in the country. This could also contain the area code within a country.
|
|
122
122
|
* @type {string}
|
|
123
123
|
* @memberof JwtVerifiedCredential
|
|
124
124
|
*/
|
|
125
125
|
phoneNumber?: string;
|
|
126
126
|
/**
|
|
127
|
-
*
|
|
127
|
+
* This field contains the phone international country code. See https://countrycode.org/
|
|
128
128
|
* @type {string}
|
|
129
129
|
* @memberof JwtVerifiedCredential
|
|
130
130
|
*/
|
|
131
131
|
phoneCountryCode?: string;
|
|
132
|
+
/**
|
|
133
|
+
* ISO-3166 two-character country code. See https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes
|
|
134
|
+
* @type {string}
|
|
135
|
+
* @memberof JwtVerifiedCredential
|
|
136
|
+
*/
|
|
137
|
+
isoCountryCode?: string;
|
|
132
138
|
/**
|
|
133
139
|
*
|
|
134
140
|
* @type {Array<string>}
|
|
@@ -33,6 +33,7 @@ function JwtVerifiedCredentialFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
33
33
|
'oauthAccountId': !exists(json, 'oauth_account_id') ? undefined : json['oauth_account_id'],
|
|
34
34
|
'phoneNumber': !exists(json, 'phoneNumber') ? undefined : json['phoneNumber'],
|
|
35
35
|
'phoneCountryCode': !exists(json, 'phoneCountryCode') ? undefined : json['phoneCountryCode'],
|
|
36
|
+
'isoCountryCode': !exists(json, 'isoCountryCode') ? undefined : json['isoCountryCode'],
|
|
36
37
|
'oauthAccountPhotos': !exists(json, 'oauth_account_photos') ? undefined : json['oauth_account_photos'],
|
|
37
38
|
'oauthEmails': !exists(json, 'oauth_emails') ? undefined : json['oauth_emails'],
|
|
38
39
|
'oauthMetadata': !exists(json, 'oauth_metadata') ? undefined : json['oauth_metadata'],
|
|
@@ -67,6 +68,7 @@ function JwtVerifiedCredentialToJSON(value) {
|
|
|
67
68
|
'oauth_account_id': value.oauthAccountId,
|
|
68
69
|
'phoneNumber': value.phoneNumber,
|
|
69
70
|
'phoneCountryCode': value.phoneCountryCode,
|
|
71
|
+
'isoCountryCode': value.isoCountryCode,
|
|
70
72
|
'oauth_account_photos': value.oauthAccountPhotos,
|
|
71
73
|
'oauth_emails': value.oauthEmails,
|
|
72
74
|
'oauth_metadata': value.oauthMetadata,
|
|
@@ -15,6 +15,7 @@ function SmsVerificationCreateRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
15
15
|
return {
|
|
16
16
|
'phoneCountryCode': json['phoneCountryCode'],
|
|
17
17
|
'phoneNumber': json['phoneNumber'],
|
|
18
|
+
'isoCountryCode': json['isoCountryCode'],
|
|
18
19
|
'captchaToken': !runtime.exists(json, 'captchaToken') ? undefined : json['captchaToken'],
|
|
19
20
|
};
|
|
20
21
|
}
|
|
@@ -28,6 +29,7 @@ function SmsVerificationCreateRequestToJSON(value) {
|
|
|
28
29
|
return {
|
|
29
30
|
'phoneCountryCode': value.phoneCountryCode,
|
|
30
31
|
'phoneNumber': value.phoneNumber,
|
|
32
|
+
'isoCountryCode': value.isoCountryCode,
|
|
31
33
|
'captchaToken': value.captchaToken,
|
|
32
34
|
};
|
|
33
35
|
}
|
|
@@ -27,6 +27,12 @@ export interface SmsVerificationCreateRequest {
|
|
|
27
27
|
* @memberof SmsVerificationCreateRequest
|
|
28
28
|
*/
|
|
29
29
|
phoneNumber: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof SmsVerificationCreateRequest
|
|
34
|
+
*/
|
|
35
|
+
isoCountryCode: string;
|
|
30
36
|
/**
|
|
31
37
|
* When provided, used to verify that a captcha is valid and get the success/failure result from the captcha provider server-side.
|
|
32
38
|
* @type {string}
|
|
@@ -11,6 +11,7 @@ function SmsVerificationCreateRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
11
11
|
return {
|
|
12
12
|
'phoneCountryCode': json['phoneCountryCode'],
|
|
13
13
|
'phoneNumber': json['phoneNumber'],
|
|
14
|
+
'isoCountryCode': json['isoCountryCode'],
|
|
14
15
|
'captchaToken': !exists(json, 'captchaToken') ? undefined : json['captchaToken'],
|
|
15
16
|
};
|
|
16
17
|
}
|
|
@@ -24,6 +25,7 @@ function SmsVerificationCreateRequestToJSON(value) {
|
|
|
24
25
|
return {
|
|
25
26
|
'phoneCountryCode': value.phoneCountryCode,
|
|
26
27
|
'phoneNumber': value.phoneNumber,
|
|
28
|
+
'isoCountryCode': value.isoCountryCode,
|
|
27
29
|
'captchaToken': value.captchaToken,
|
|
28
30
|
};
|
|
29
31
|
}
|
|
@@ -26,6 +26,7 @@ function SmsVerificationCreateResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
26
26
|
'verificationUUID': json['verificationUUID'],
|
|
27
27
|
'phoneNumber': json['phoneNumber'],
|
|
28
28
|
'phoneCountryCode': json['phoneCountryCode'],
|
|
29
|
+
'isoCountryCode': json['isoCountryCode'],
|
|
29
30
|
};
|
|
30
31
|
}
|
|
31
32
|
function SmsVerificationCreateResponseToJSON(value) {
|
|
@@ -39,6 +40,7 @@ function SmsVerificationCreateResponseToJSON(value) {
|
|
|
39
40
|
'verificationUUID': value.verificationUUID,
|
|
40
41
|
'phoneNumber': value.phoneNumber,
|
|
41
42
|
'phoneCountryCode': value.phoneCountryCode,
|
|
43
|
+
'isoCountryCode': value.isoCountryCode,
|
|
42
44
|
};
|
|
43
45
|
}
|
|
44
46
|
|
|
@@ -22,17 +22,23 @@ export interface SmsVerificationCreateResponse {
|
|
|
22
22
|
*/
|
|
23
23
|
verificationUUID: string;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* This field contains the phone number in the country. This could also contain the area code within a country.
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof SmsVerificationCreateResponse
|
|
28
28
|
*/
|
|
29
29
|
phoneNumber: string;
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* This field contains the phone international country code. See https://countrycode.org/
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof SmsVerificationCreateResponse
|
|
34
34
|
*/
|
|
35
35
|
phoneCountryCode: string;
|
|
36
|
+
/**
|
|
37
|
+
* ISO-3166 two-character country code. See https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof SmsVerificationCreateResponse
|
|
40
|
+
*/
|
|
41
|
+
isoCountryCode: string;
|
|
36
42
|
}
|
|
37
43
|
export declare function SmsVerificationCreateResponseFromJSON(json: any): SmsVerificationCreateResponse;
|
|
38
44
|
export declare function SmsVerificationCreateResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SmsVerificationCreateResponse;
|
|
@@ -22,6 +22,7 @@ function SmsVerificationCreateResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
22
22
|
'verificationUUID': json['verificationUUID'],
|
|
23
23
|
'phoneNumber': json['phoneNumber'],
|
|
24
24
|
'phoneCountryCode': json['phoneCountryCode'],
|
|
25
|
+
'isoCountryCode': json['isoCountryCode'],
|
|
25
26
|
};
|
|
26
27
|
}
|
|
27
28
|
function SmsVerificationCreateResponseToJSON(value) {
|
|
@@ -35,6 +36,7 @@ function SmsVerificationCreateResponseToJSON(value) {
|
|
|
35
36
|
'verificationUUID': value.verificationUUID,
|
|
36
37
|
'phoneNumber': value.phoneNumber,
|
|
37
38
|
'phoneCountryCode': value.phoneCountryCode,
|
|
39
|
+
'isoCountryCode': value.isoCountryCode,
|
|
38
40
|
};
|
|
39
41
|
}
|
|
40
42
|
|
|
@@ -16,6 +16,7 @@ function SmsVerificationRetryRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
16
16
|
'verificationUUID': json['verificationUUID'],
|
|
17
17
|
'phoneCountryCode': json['phoneCountryCode'],
|
|
18
18
|
'phoneNumber': json['phoneNumber'],
|
|
19
|
+
'isoCountryCode': json['isoCountryCode'],
|
|
19
20
|
'captchaToken': !runtime.exists(json, 'captchaToken') ? undefined : json['captchaToken'],
|
|
20
21
|
};
|
|
21
22
|
}
|
|
@@ -30,6 +31,7 @@ function SmsVerificationRetryRequestToJSON(value) {
|
|
|
30
31
|
'verificationUUID': value.verificationUUID,
|
|
31
32
|
'phoneCountryCode': value.phoneCountryCode,
|
|
32
33
|
'phoneNumber': value.phoneNumber,
|
|
34
|
+
'isoCountryCode': value.isoCountryCode,
|
|
33
35
|
'captchaToken': value.captchaToken,
|
|
34
36
|
};
|
|
35
37
|
}
|
|
@@ -33,6 +33,12 @@ export interface SmsVerificationRetryRequest {
|
|
|
33
33
|
* @memberof SmsVerificationRetryRequest
|
|
34
34
|
*/
|
|
35
35
|
phoneNumber: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof SmsVerificationRetryRequest
|
|
40
|
+
*/
|
|
41
|
+
isoCountryCode: string;
|
|
36
42
|
/**
|
|
37
43
|
* When provided, used to verify that a captcha is valid and get the success/failure result from the captcha provider server-side.
|
|
38
44
|
* @type {string}
|
|
@@ -12,6 +12,7 @@ function SmsVerificationRetryRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
12
12
|
'verificationUUID': json['verificationUUID'],
|
|
13
13
|
'phoneCountryCode': json['phoneCountryCode'],
|
|
14
14
|
'phoneNumber': json['phoneNumber'],
|
|
15
|
+
'isoCountryCode': json['isoCountryCode'],
|
|
15
16
|
'captchaToken': !exists(json, 'captchaToken') ? undefined : json['captchaToken'],
|
|
16
17
|
};
|
|
17
18
|
}
|
|
@@ -26,6 +27,7 @@ function SmsVerificationRetryRequestToJSON(value) {
|
|
|
26
27
|
'verificationUUID': value.verificationUUID,
|
|
27
28
|
'phoneCountryCode': value.phoneCountryCode,
|
|
28
29
|
'phoneNumber': value.phoneNumber,
|
|
30
|
+
'isoCountryCode': value.isoCountryCode,
|
|
29
31
|
'captchaToken': value.captchaToken,
|
|
30
32
|
};
|
|
31
33
|
}
|