@dynamic-labs/sdk-api 0.0.402 → 0.0.404
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/index.cjs +4 -0
- package/src/index.js +1 -0
- package/src/models/Provider.cjs +7 -0
- package/src/models/Provider.d.ts +19 -0
- package/src/models/Provider.js +7 -0
- package/src/models/ProviderCreateRequest.cjs +7 -0
- package/src/models/ProviderCreateRequest.d.ts +19 -0
- package/src/models/ProviderCreateRequest.js +7 -0
- package/src/models/ProviderUpdateRequest.cjs +7 -0
- package/src/models/ProviderUpdateRequest.d.ts +19 -0
- package/src/models/ProviderUpdateRequest.js +7 -0
- package/src/models/RoleEnum.cjs +1 -0
- package/src/models/RoleEnum.d.ts +1 -0
- package/src/models/RoleEnum.js +1 -0
- package/src/models/SmsCountryCode.cjs +45 -0
- package/src/models/SmsCountryCode.d.ts +33 -0
- package/src/models/SmsCountryCode.js +39 -0
- package/src/models/index.d.ts +1 -0
package/package.json
CHANGED
package/src/index.cjs
CHANGED
|
@@ -232,6 +232,7 @@ var SdkViewUpdateRequest = require('./models/SdkViewUpdateRequest.cjs');
|
|
|
232
232
|
var SdkViewsResponse = require('./models/SdkViewsResponse.cjs');
|
|
233
233
|
var Session = require('./models/Session.cjs');
|
|
234
234
|
var SignInProviderEnum = require('./models/SignInProviderEnum.cjs');
|
|
235
|
+
var SmsCountryCode = require('./models/SmsCountryCode.cjs');
|
|
235
236
|
var SmsVerificationCreateRequest = require('./models/SmsVerificationCreateRequest.cjs');
|
|
236
237
|
var SmsVerificationCreateResponse = require('./models/SmsVerificationCreateResponse.cjs');
|
|
237
238
|
var SmsVerificationRetryRequest = require('./models/SmsVerificationRetryRequest.cjs');
|
|
@@ -1074,6 +1075,9 @@ Object.defineProperty(exports, 'SignInProviderEnum', {
|
|
|
1074
1075
|
exports.SignInProviderEnumFromJSON = SignInProviderEnum.SignInProviderEnumFromJSON;
|
|
1075
1076
|
exports.SignInProviderEnumFromJSONTyped = SignInProviderEnum.SignInProviderEnumFromJSONTyped;
|
|
1076
1077
|
exports.SignInProviderEnumToJSON = SignInProviderEnum.SignInProviderEnumToJSON;
|
|
1078
|
+
exports.SmsCountryCodeFromJSON = SmsCountryCode.SmsCountryCodeFromJSON;
|
|
1079
|
+
exports.SmsCountryCodeFromJSONTyped = SmsCountryCode.SmsCountryCodeFromJSONTyped;
|
|
1080
|
+
exports.SmsCountryCodeToJSON = SmsCountryCode.SmsCountryCodeToJSON;
|
|
1077
1081
|
exports.SmsVerificationCreateRequestFromJSON = SmsVerificationCreateRequest.SmsVerificationCreateRequestFromJSON;
|
|
1078
1082
|
exports.SmsVerificationCreateRequestFromJSONTyped = SmsVerificationCreateRequest.SmsVerificationCreateRequestFromJSONTyped;
|
|
1079
1083
|
exports.SmsVerificationCreateRequestToJSON = SmsVerificationCreateRequest.SmsVerificationCreateRequestToJSON;
|
package/src/index.js
CHANGED
|
@@ -228,6 +228,7 @@ export { SdkViewUpdateRequestFromJSON, SdkViewUpdateRequestFromJSONTyped, SdkVie
|
|
|
228
228
|
export { SdkViewsResponseFromJSON, SdkViewsResponseFromJSONTyped, SdkViewsResponseToJSON } from './models/SdkViewsResponse.js';
|
|
229
229
|
export { SessionFromJSON, SessionFromJSONTyped, SessionToJSON } from './models/Session.js';
|
|
230
230
|
export { SignInProviderEnum, SignInProviderEnumFromJSON, SignInProviderEnumFromJSONTyped, SignInProviderEnumToJSON } from './models/SignInProviderEnum.js';
|
|
231
|
+
export { SmsCountryCodeFromJSON, SmsCountryCodeFromJSONTyped, SmsCountryCodeToJSON } from './models/SmsCountryCode.js';
|
|
231
232
|
export { SmsVerificationCreateRequestFromJSON, SmsVerificationCreateRequestFromJSONTyped, SmsVerificationCreateRequestToJSON } from './models/SmsVerificationCreateRequest.js';
|
|
232
233
|
export { SmsVerificationCreateResponseFromJSON, SmsVerificationCreateResponseFromJSONTyped, SmsVerificationCreateResponseToJSON } from './models/SmsVerificationCreateResponse.js';
|
|
233
234
|
export { SmsVerificationRetryRequestFromJSON, SmsVerificationRetryRequestFromJSONTyped, SmsVerificationRetryRequestToJSON } from './models/SmsVerificationRetryRequest.js';
|
package/src/models/Provider.cjs
CHANGED
|
@@ -5,6 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var runtime = require('../runtime.cjs');
|
|
6
6
|
var ProviderAgreement = require('./ProviderAgreement.cjs');
|
|
7
7
|
var ProviderEnum = require('./ProviderEnum.cjs');
|
|
8
|
+
var SmsCountryCode = require('./SmsCountryCode.cjs');
|
|
8
9
|
|
|
9
10
|
/* tslint:disable */
|
|
10
11
|
function ProviderFromJSON(json) {
|
|
@@ -29,6 +30,9 @@ function ProviderFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
29
30
|
'termsAcceptedByUser': !runtime.exists(json, 'termsAcceptedByUser') ? undefined : ProviderAgreement.ProviderAgreementFromJSON(json['termsAcceptedByUser']),
|
|
30
31
|
'appleKeyId': !runtime.exists(json, 'appleKeyId') ? undefined : json['appleKeyId'],
|
|
31
32
|
'appleTeamId': !runtime.exists(json, 'appleTeamId') ? undefined : json['appleTeamId'],
|
|
33
|
+
'accountSid': !runtime.exists(json, 'accountSid') ? undefined : json['accountSid'],
|
|
34
|
+
'twilioNumber': !runtime.exists(json, 'twilioNumber') ? undefined : json['twilioNumber'],
|
|
35
|
+
'enabledCountries': !runtime.exists(json, 'enabledCountries') ? undefined : (json['enabledCountries'].map(SmsCountryCode.SmsCountryCodeFromJSON)),
|
|
32
36
|
};
|
|
33
37
|
}
|
|
34
38
|
function ProviderToJSON(value) {
|
|
@@ -53,6 +57,9 @@ function ProviderToJSON(value) {
|
|
|
53
57
|
'termsAcceptedByUser': ProviderAgreement.ProviderAgreementToJSON(value.termsAcceptedByUser),
|
|
54
58
|
'appleKeyId': value.appleKeyId,
|
|
55
59
|
'appleTeamId': value.appleTeamId,
|
|
60
|
+
'accountSid': value.accountSid,
|
|
61
|
+
'twilioNumber': value.twilioNumber,
|
|
62
|
+
'enabledCountries': value.enabledCountries === undefined ? undefined : (value.enabledCountries.map(SmsCountryCode.SmsCountryCodeToJSON)),
|
|
56
63
|
};
|
|
57
64
|
}
|
|
58
65
|
|
package/src/models/Provider.d.ts
CHANGED
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { ProviderAgreement } from './ProviderAgreement';
|
|
13
13
|
import { ProviderEnum } from './ProviderEnum';
|
|
14
|
+
import { SmsCountryCode } from './SmsCountryCode';
|
|
14
15
|
/**
|
|
15
16
|
*
|
|
16
17
|
* @export
|
|
@@ -101,6 +102,24 @@ export interface Provider {
|
|
|
101
102
|
* @memberof Provider
|
|
102
103
|
*/
|
|
103
104
|
appleTeamId?: string;
|
|
105
|
+
/**
|
|
106
|
+
* Required to initialize Twilio provider.
|
|
107
|
+
* @type {string}
|
|
108
|
+
* @memberof Provider
|
|
109
|
+
*/
|
|
110
|
+
accountSid?: string;
|
|
111
|
+
/**
|
|
112
|
+
* Required to initialize Twilio provider. Phone number used to send SMS messages.
|
|
113
|
+
* @type {string}
|
|
114
|
+
* @memberof Provider
|
|
115
|
+
*/
|
|
116
|
+
twilioNumber?: string;
|
|
117
|
+
/**
|
|
118
|
+
*
|
|
119
|
+
* @type {Array<SmsCountryCode>}
|
|
120
|
+
* @memberof Provider
|
|
121
|
+
*/
|
|
122
|
+
enabledCountries?: Array<SmsCountryCode>;
|
|
104
123
|
}
|
|
105
124
|
export declare function ProviderFromJSON(json: any): Provider;
|
|
106
125
|
export declare function ProviderFromJSONTyped(json: any, ignoreDiscriminator: boolean): Provider;
|
package/src/models/Provider.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { exists } from '../runtime.js';
|
|
2
2
|
import { ProviderAgreementFromJSON, ProviderAgreementToJSON } from './ProviderAgreement.js';
|
|
3
3
|
import { ProviderEnumFromJSON, ProviderEnumToJSON } from './ProviderEnum.js';
|
|
4
|
+
import { SmsCountryCodeFromJSON, SmsCountryCodeToJSON } from './SmsCountryCode.js';
|
|
4
5
|
|
|
5
6
|
/* tslint:disable */
|
|
6
7
|
function ProviderFromJSON(json) {
|
|
@@ -25,6 +26,9 @@ function ProviderFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
25
26
|
'termsAcceptedByUser': !exists(json, 'termsAcceptedByUser') ? undefined : ProviderAgreementFromJSON(json['termsAcceptedByUser']),
|
|
26
27
|
'appleKeyId': !exists(json, 'appleKeyId') ? undefined : json['appleKeyId'],
|
|
27
28
|
'appleTeamId': !exists(json, 'appleTeamId') ? undefined : json['appleTeamId'],
|
|
29
|
+
'accountSid': !exists(json, 'accountSid') ? undefined : json['accountSid'],
|
|
30
|
+
'twilioNumber': !exists(json, 'twilioNumber') ? undefined : json['twilioNumber'],
|
|
31
|
+
'enabledCountries': !exists(json, 'enabledCountries') ? undefined : (json['enabledCountries'].map(SmsCountryCodeFromJSON)),
|
|
28
32
|
};
|
|
29
33
|
}
|
|
30
34
|
function ProviderToJSON(value) {
|
|
@@ -49,6 +53,9 @@ function ProviderToJSON(value) {
|
|
|
49
53
|
'termsAcceptedByUser': ProviderAgreementToJSON(value.termsAcceptedByUser),
|
|
50
54
|
'appleKeyId': value.appleKeyId,
|
|
51
55
|
'appleTeamId': value.appleTeamId,
|
|
56
|
+
'accountSid': value.accountSid,
|
|
57
|
+
'twilioNumber': value.twilioNumber,
|
|
58
|
+
'enabledCountries': value.enabledCountries === undefined ? undefined : (value.enabledCountries.map(SmsCountryCodeToJSON)),
|
|
52
59
|
};
|
|
53
60
|
}
|
|
54
61
|
|
|
@@ -4,6 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var runtime = require('../runtime.cjs');
|
|
6
6
|
var ProviderEnum = require('./ProviderEnum.cjs');
|
|
7
|
+
var SmsCountryCode = require('./SmsCountryCode.cjs');
|
|
7
8
|
|
|
8
9
|
/* tslint:disable */
|
|
9
10
|
function ProviderCreateRequestFromJSON(json) {
|
|
@@ -25,6 +26,9 @@ function ProviderCreateRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
25
26
|
'useDynamicCredentials': !runtime.exists(json, 'useDynamicCredentials') ? undefined : json['useDynamicCredentials'],
|
|
26
27
|
'appleKeyId': !runtime.exists(json, 'appleKeyId') ? undefined : json['appleKeyId'],
|
|
27
28
|
'appleTeamId': !runtime.exists(json, 'appleTeamId') ? undefined : json['appleTeamId'],
|
|
29
|
+
'accountSid': !runtime.exists(json, 'accountSid') ? undefined : json['accountSid'],
|
|
30
|
+
'twilioNumber': !runtime.exists(json, 'twilioNumber') ? undefined : json['twilioNumber'],
|
|
31
|
+
'enabledCountries': !runtime.exists(json, 'enabledCountries') ? undefined : (json['enabledCountries'].map(SmsCountryCode.SmsCountryCodeFromJSON)),
|
|
28
32
|
};
|
|
29
33
|
}
|
|
30
34
|
function ProviderCreateRequestToJSON(value) {
|
|
@@ -46,6 +50,9 @@ function ProviderCreateRequestToJSON(value) {
|
|
|
46
50
|
'useDynamicCredentials': value.useDynamicCredentials,
|
|
47
51
|
'appleKeyId': value.appleKeyId,
|
|
48
52
|
'appleTeamId': value.appleTeamId,
|
|
53
|
+
'accountSid': value.accountSid,
|
|
54
|
+
'twilioNumber': value.twilioNumber,
|
|
55
|
+
'enabledCountries': value.enabledCountries === undefined ? undefined : (value.enabledCountries.map(SmsCountryCode.SmsCountryCodeToJSON)),
|
|
49
56
|
};
|
|
50
57
|
}
|
|
51
58
|
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { ProviderEnum } from './ProviderEnum';
|
|
13
|
+
import { SmsCountryCode } from './SmsCountryCode';
|
|
13
14
|
/**
|
|
14
15
|
* Request body to create a new provider. The provider will be not enabled by default.
|
|
15
16
|
* @export
|
|
@@ -82,6 +83,24 @@ export interface ProviderCreateRequest {
|
|
|
82
83
|
* @memberof ProviderCreateRequest
|
|
83
84
|
*/
|
|
84
85
|
appleTeamId?: string;
|
|
86
|
+
/**
|
|
87
|
+
* Required to initialize Twilio provider.
|
|
88
|
+
* @type {string}
|
|
89
|
+
* @memberof ProviderCreateRequest
|
|
90
|
+
*/
|
|
91
|
+
accountSid?: string;
|
|
92
|
+
/**
|
|
93
|
+
* Required to initialize Twilio provider. Phone number used to send SMS messages.
|
|
94
|
+
* @type {string}
|
|
95
|
+
* @memberof ProviderCreateRequest
|
|
96
|
+
*/
|
|
97
|
+
twilioNumber?: string;
|
|
98
|
+
/**
|
|
99
|
+
*
|
|
100
|
+
* @type {Array<SmsCountryCode>}
|
|
101
|
+
* @memberof ProviderCreateRequest
|
|
102
|
+
*/
|
|
103
|
+
enabledCountries?: Array<SmsCountryCode>;
|
|
85
104
|
}
|
|
86
105
|
export declare function ProviderCreateRequestFromJSON(json: any): ProviderCreateRequest;
|
|
87
106
|
export declare function ProviderCreateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProviderCreateRequest;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { exists } from '../runtime.js';
|
|
2
2
|
import { ProviderEnumFromJSON, ProviderEnumToJSON } from './ProviderEnum.js';
|
|
3
|
+
import { SmsCountryCodeFromJSON, SmsCountryCodeToJSON } from './SmsCountryCode.js';
|
|
3
4
|
|
|
4
5
|
/* tslint:disable */
|
|
5
6
|
function ProviderCreateRequestFromJSON(json) {
|
|
@@ -21,6 +22,9 @@ function ProviderCreateRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
21
22
|
'useDynamicCredentials': !exists(json, 'useDynamicCredentials') ? undefined : json['useDynamicCredentials'],
|
|
22
23
|
'appleKeyId': !exists(json, 'appleKeyId') ? undefined : json['appleKeyId'],
|
|
23
24
|
'appleTeamId': !exists(json, 'appleTeamId') ? undefined : json['appleTeamId'],
|
|
25
|
+
'accountSid': !exists(json, 'accountSid') ? undefined : json['accountSid'],
|
|
26
|
+
'twilioNumber': !exists(json, 'twilioNumber') ? undefined : json['twilioNumber'],
|
|
27
|
+
'enabledCountries': !exists(json, 'enabledCountries') ? undefined : (json['enabledCountries'].map(SmsCountryCodeFromJSON)),
|
|
24
28
|
};
|
|
25
29
|
}
|
|
26
30
|
function ProviderCreateRequestToJSON(value) {
|
|
@@ -42,6 +46,9 @@ function ProviderCreateRequestToJSON(value) {
|
|
|
42
46
|
'useDynamicCredentials': value.useDynamicCredentials,
|
|
43
47
|
'appleKeyId': value.appleKeyId,
|
|
44
48
|
'appleTeamId': value.appleTeamId,
|
|
49
|
+
'accountSid': value.accountSid,
|
|
50
|
+
'twilioNumber': value.twilioNumber,
|
|
51
|
+
'enabledCountries': value.enabledCountries === undefined ? undefined : (value.enabledCountries.map(SmsCountryCodeToJSON)),
|
|
45
52
|
};
|
|
46
53
|
}
|
|
47
54
|
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var runtime = require('../runtime.cjs');
|
|
6
|
+
var SmsCountryCode = require('./SmsCountryCode.cjs');
|
|
6
7
|
|
|
7
8
|
/* tslint:disable */
|
|
8
9
|
function ProviderUpdateRequestFromJSON(json) {
|
|
@@ -22,6 +23,9 @@ function ProviderUpdateRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
22
23
|
'useDynamicCredentials': !runtime.exists(json, 'useDynamicCredentials') ? undefined : json['useDynamicCredentials'],
|
|
23
24
|
'appleKeyId': !runtime.exists(json, 'appleKeyId') ? undefined : json['appleKeyId'],
|
|
24
25
|
'appleTeamId': !runtime.exists(json, 'appleTeamId') ? undefined : json['appleTeamId'],
|
|
26
|
+
'accountSid': !runtime.exists(json, 'accountSid') ? undefined : json['accountSid'],
|
|
27
|
+
'twilioNumber': !runtime.exists(json, 'twilioNumber') ? undefined : json['twilioNumber'],
|
|
28
|
+
'enabledCountries': !runtime.exists(json, 'enabledCountries') ? undefined : (json['enabledCountries'].map(SmsCountryCode.SmsCountryCodeFromJSON)),
|
|
25
29
|
};
|
|
26
30
|
}
|
|
27
31
|
function ProviderUpdateRequestToJSON(value) {
|
|
@@ -41,6 +45,9 @@ function ProviderUpdateRequestToJSON(value) {
|
|
|
41
45
|
'useDynamicCredentials': value.useDynamicCredentials,
|
|
42
46
|
'appleKeyId': value.appleKeyId,
|
|
43
47
|
'appleTeamId': value.appleTeamId,
|
|
48
|
+
'accountSid': value.accountSid,
|
|
49
|
+
'twilioNumber': value.twilioNumber,
|
|
50
|
+
'enabledCountries': value.enabledCountries === undefined ? undefined : (value.enabledCountries.map(SmsCountryCode.SmsCountryCodeToJSON)),
|
|
44
51
|
};
|
|
45
52
|
}
|
|
46
53
|
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { SmsCountryCode } from './SmsCountryCode';
|
|
12
13
|
/**
|
|
13
14
|
* Request body to update oauth properties and other metadata about a provider.
|
|
14
15
|
* @export
|
|
@@ -69,6 +70,24 @@ export interface ProviderUpdateRequest {
|
|
|
69
70
|
* @memberof ProviderUpdateRequest
|
|
70
71
|
*/
|
|
71
72
|
appleTeamId?: string;
|
|
73
|
+
/**
|
|
74
|
+
* Required to initialize Twilio provider.
|
|
75
|
+
* @type {string}
|
|
76
|
+
* @memberof ProviderUpdateRequest
|
|
77
|
+
*/
|
|
78
|
+
accountSid?: string;
|
|
79
|
+
/**
|
|
80
|
+
* Required to initialize Twilio provider. Phone number used to send SMS messages.
|
|
81
|
+
* @type {string}
|
|
82
|
+
* @memberof ProviderUpdateRequest
|
|
83
|
+
*/
|
|
84
|
+
twilioNumber?: string;
|
|
85
|
+
/**
|
|
86
|
+
*
|
|
87
|
+
* @type {Array<SmsCountryCode>}
|
|
88
|
+
* @memberof ProviderUpdateRequest
|
|
89
|
+
*/
|
|
90
|
+
enabledCountries?: Array<SmsCountryCode>;
|
|
72
91
|
}
|
|
73
92
|
export declare function ProviderUpdateRequestFromJSON(json: any): ProviderUpdateRequest;
|
|
74
93
|
export declare function ProviderUpdateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProviderUpdateRequest;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { exists } from '../runtime.js';
|
|
2
|
+
import { SmsCountryCodeFromJSON, SmsCountryCodeToJSON } from './SmsCountryCode.js';
|
|
2
3
|
|
|
3
4
|
/* tslint:disable */
|
|
4
5
|
function ProviderUpdateRequestFromJSON(json) {
|
|
@@ -18,6 +19,9 @@ function ProviderUpdateRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
18
19
|
'useDynamicCredentials': !exists(json, 'useDynamicCredentials') ? undefined : json['useDynamicCredentials'],
|
|
19
20
|
'appleKeyId': !exists(json, 'appleKeyId') ? undefined : json['appleKeyId'],
|
|
20
21
|
'appleTeamId': !exists(json, 'appleTeamId') ? undefined : json['appleTeamId'],
|
|
22
|
+
'accountSid': !exists(json, 'accountSid') ? undefined : json['accountSid'],
|
|
23
|
+
'twilioNumber': !exists(json, 'twilioNumber') ? undefined : json['twilioNumber'],
|
|
24
|
+
'enabledCountries': !exists(json, 'enabledCountries') ? undefined : (json['enabledCountries'].map(SmsCountryCodeFromJSON)),
|
|
21
25
|
};
|
|
22
26
|
}
|
|
23
27
|
function ProviderUpdateRequestToJSON(value) {
|
|
@@ -37,6 +41,9 @@ function ProviderUpdateRequestToJSON(value) {
|
|
|
37
41
|
'useDynamicCredentials': value.useDynamicCredentials,
|
|
38
42
|
'appleKeyId': value.appleKeyId,
|
|
39
43
|
'appleTeamId': value.appleTeamId,
|
|
44
|
+
'accountSid': value.accountSid,
|
|
45
|
+
'twilioNumber': value.twilioNumber,
|
|
46
|
+
'enabledCountries': value.enabledCountries === undefined ? undefined : (value.enabledCountries.map(SmsCountryCodeToJSON)),
|
|
40
47
|
};
|
|
41
48
|
}
|
|
42
49
|
|
package/src/models/RoleEnum.cjs
CHANGED
|
@@ -24,6 +24,7 @@ exports.RoleEnum = void 0;
|
|
|
24
24
|
(function (RoleEnum) {
|
|
25
25
|
RoleEnum["Owner"] = "owner";
|
|
26
26
|
RoleEnum["Admin"] = "admin";
|
|
27
|
+
RoleEnum["Developer"] = "developer";
|
|
27
28
|
RoleEnum["Viewer"] = "viewer";
|
|
28
29
|
})(exports.RoleEnum || (exports.RoleEnum = {}));
|
|
29
30
|
function RoleEnumFromJSON(json) {
|
package/src/models/RoleEnum.d.ts
CHANGED
package/src/models/RoleEnum.js
CHANGED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
/* tslint:disable */
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
/**
|
|
8
|
+
* Dashboard API
|
|
9
|
+
* Dashboard API documentation
|
|
10
|
+
*
|
|
11
|
+
* The version of the OpenAPI document: 1.0.0
|
|
12
|
+
*
|
|
13
|
+
*
|
|
14
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
15
|
+
* https://openapi-generator.tech
|
|
16
|
+
* Do not edit the class manually.
|
|
17
|
+
*/
|
|
18
|
+
function SmsCountryCodeFromJSON(json) {
|
|
19
|
+
return SmsCountryCodeFromJSONTyped(json);
|
|
20
|
+
}
|
|
21
|
+
function SmsCountryCodeFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
+
if ((json === undefined) || (json === null)) {
|
|
23
|
+
return json;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'isoCountryCode': json['isoCountryCode'],
|
|
27
|
+
'phoneCountryCode': json['phoneCountryCode'],
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
function SmsCountryCodeToJSON(value) {
|
|
31
|
+
if (value === undefined) {
|
|
32
|
+
return undefined;
|
|
33
|
+
}
|
|
34
|
+
if (value === null) {
|
|
35
|
+
return null;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'isoCountryCode': value.isoCountryCode,
|
|
39
|
+
'phoneCountryCode': value.phoneCountryCode,
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
exports.SmsCountryCodeFromJSON = SmsCountryCodeFromJSON;
|
|
44
|
+
exports.SmsCountryCodeFromJSONTyped = SmsCountryCodeFromJSONTyped;
|
|
45
|
+
exports.SmsCountryCodeToJSON = SmsCountryCodeToJSON;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dashboard API
|
|
3
|
+
* Dashboard API documentation
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface SmsCountryCode
|
|
16
|
+
*/
|
|
17
|
+
export interface SmsCountryCode {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SmsCountryCode
|
|
22
|
+
*/
|
|
23
|
+
isoCountryCode: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SmsCountryCode
|
|
28
|
+
*/
|
|
29
|
+
phoneCountryCode: string;
|
|
30
|
+
}
|
|
31
|
+
export declare function SmsCountryCodeFromJSON(json: any): SmsCountryCode;
|
|
32
|
+
export declare function SmsCountryCodeFromJSONTyped(json: any, ignoreDiscriminator: boolean): SmsCountryCode;
|
|
33
|
+
export declare function SmsCountryCodeToJSON(value?: SmsCountryCode | null): any;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Dashboard API
|
|
5
|
+
* Dashboard API documentation
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
function SmsCountryCodeFromJSON(json) {
|
|
15
|
+
return SmsCountryCodeFromJSONTyped(json);
|
|
16
|
+
}
|
|
17
|
+
function SmsCountryCodeFromJSONTyped(json, ignoreDiscriminator) {
|
|
18
|
+
if ((json === undefined) || (json === null)) {
|
|
19
|
+
return json;
|
|
20
|
+
}
|
|
21
|
+
return {
|
|
22
|
+
'isoCountryCode': json['isoCountryCode'],
|
|
23
|
+
'phoneCountryCode': json['phoneCountryCode'],
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
function SmsCountryCodeToJSON(value) {
|
|
27
|
+
if (value === undefined) {
|
|
28
|
+
return undefined;
|
|
29
|
+
}
|
|
30
|
+
if (value === null) {
|
|
31
|
+
return null;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'isoCountryCode': value.isoCountryCode,
|
|
35
|
+
'phoneCountryCode': value.phoneCountryCode,
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export { SmsCountryCodeFromJSON, SmsCountryCodeFromJSONTyped, SmsCountryCodeToJSON };
|
package/src/models/index.d.ts
CHANGED
|
@@ -204,6 +204,7 @@ export * from './SdkViewUpdateRequest';
|
|
|
204
204
|
export * from './SdkViewsResponse';
|
|
205
205
|
export * from './Session';
|
|
206
206
|
export * from './SignInProviderEnum';
|
|
207
|
+
export * from './SmsCountryCode';
|
|
207
208
|
export * from './SmsVerificationCreateRequest';
|
|
208
209
|
export * from './SmsVerificationCreateResponse';
|
|
209
210
|
export * from './SmsVerificationRetryRequest';
|