@dynamic-labs/sdk-api 0.0.793 → 0.0.794
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/apis/AllowlistsApi.cjs +1 -0
- package/src/apis/AllowlistsApi.js +1 -0
- package/src/apis/AnalyticsApi.cjs +1 -0
- package/src/apis/AnalyticsApi.js +1 -0
- package/src/apis/ChainalysisApi.cjs +1 -0
- package/src/apis/ChainalysisApi.js +1 -0
- package/src/apis/ChainsApi.cjs +1 -0
- package/src/apis/ChainsApi.js +1 -0
- package/src/apis/CustomFieldsApi.cjs +1 -0
- package/src/apis/CustomFieldsApi.js +1 -0
- package/src/apis/CustomHostnamesApi.cjs +1 -0
- package/src/apis/CustomHostnamesApi.js +1 -0
- package/src/apis/CustomNetworksApi.cjs +1 -0
- package/src/apis/CustomNetworksApi.js +1 -0
- package/src/apis/DeeplinkUrlsApi.cjs +1 -0
- package/src/apis/DeeplinkUrlsApi.js +1 -0
- package/src/apis/EnvironmentsApi.cjs +1 -0
- package/src/apis/EnvironmentsApi.js +1 -0
- package/src/apis/EventsApi.cjs +1 -0
- package/src/apis/EventsApi.js +1 -0
- package/src/apis/ExportsApi.cjs +1 -0
- package/src/apis/ExportsApi.js +1 -0
- package/src/apis/ExternalJwtApi.cjs +1 -0
- package/src/apis/ExternalJwtApi.js +1 -0
- package/src/apis/GatesApi.cjs +1 -0
- package/src/apis/GatesApi.js +1 -0
- package/src/apis/GlobalWalletAccessControlApi.cjs +1 -0
- package/src/apis/GlobalWalletAccessControlApi.js +1 -0
- package/src/apis/GlobalWalletConnectionsApi.cjs +1 -0
- package/src/apis/GlobalWalletConnectionsApi.js +1 -0
- package/src/apis/GlobalWalletsApi.cjs +1 -0
- package/src/apis/GlobalWalletsApi.js +1 -0
- package/src/apis/InvitesApi.cjs +1 -0
- package/src/apis/InvitesApi.js +1 -0
- package/src/apis/MembersApi.cjs +1 -0
- package/src/apis/MembersApi.js +1 -0
- package/src/apis/MfaSettingsApi.cjs +1 -0
- package/src/apis/MfaSettingsApi.js +1 -0
- package/src/apis/NameServicesApi.cjs +1 -0
- package/src/apis/NameServicesApi.js +1 -0
- package/src/apis/OrganizationsApi.cjs +159 -7
- package/src/apis/OrganizationsApi.d.ts +49 -1
- package/src/apis/OrganizationsApi.js +160 -8
- package/src/apis/OriginsApi.cjs +1 -0
- package/src/apis/OriginsApi.js +1 -0
- package/src/apis/ProjectsApi.cjs +1 -0
- package/src/apis/ProjectsApi.js +1 -0
- package/src/apis/SDKApi.cjs +1 -0
- package/src/apis/SDKApi.js +1 -0
- package/src/apis/SDKViewsApi.cjs +1 -0
- package/src/apis/SDKViewsApi.js +1 -0
- package/src/apis/SessionsApi.cjs +1 -0
- package/src/apis/SessionsApi.js +1 -0
- package/src/apis/SettingsApi.cjs +1 -0
- package/src/apis/SettingsApi.js +1 -0
- package/src/apis/TestAccountApi.cjs +1 -0
- package/src/apis/TestAccountApi.js +1 -0
- package/src/apis/TokensApi.cjs +1 -0
- package/src/apis/TokensApi.js +1 -0
- package/src/apis/UserApiTokensApi.cjs +1 -0
- package/src/apis/UserApiTokensApi.js +1 -0
- package/src/apis/UsersApi.cjs +1 -0
- package/src/apis/UsersApi.js +1 -0
- package/src/apis/VisitsApi.cjs +1 -0
- package/src/apis/VisitsApi.js +1 -0
- package/src/apis/WaasApi.cjs +1 -0
- package/src/apis/WaasApi.js +1 -0
- package/src/apis/WalletsApi.cjs +1 -0
- package/src/apis/WalletsApi.js +1 -0
- package/src/apis/WebhooksApi.cjs +1 -0
- package/src/apis/WebhooksApi.js +1 -0
- package/src/index.cjs +20 -0
- package/src/index.js +4 -0
- package/src/models/SsoProviderCreateRequest.cjs +41 -0
- package/src/models/SsoProviderCreateRequest.d.ts +52 -0
- package/src/models/SsoProviderCreateRequest.js +35 -0
- package/src/models/SsoProviderEnum.cjs +39 -0
- package/src/models/SsoProviderEnum.d.ts +22 -0
- package/src/models/SsoProviderEnum.js +33 -0
- package/src/models/SsoProviderResponse.cjs +49 -0
- package/src/models/SsoProviderResponse.d.ts +76 -0
- package/src/models/SsoProviderResponse.js +43 -0
- package/src/models/SsoProviderUpdateRequest.cjs +42 -0
- package/src/models/SsoProviderUpdateRequest.d.ts +52 -0
- package/src/models/SsoProviderUpdateRequest.js +36 -0
- package/src/models/index.d.ts +4 -0
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var SsoProviderEnum = require('./SsoProviderEnum.cjs');
|
|
6
|
+
|
|
7
|
+
/* tslint:disable */
|
|
8
|
+
function SsoProviderCreateRequestFromJSON(json) {
|
|
9
|
+
return SsoProviderCreateRequestFromJSONTyped(json);
|
|
10
|
+
}
|
|
11
|
+
function SsoProviderCreateRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
+
if ((json === undefined) || (json === null)) {
|
|
13
|
+
return json;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
'clientId': json['clientId'],
|
|
17
|
+
'clientSecret': json['clientSecret'],
|
|
18
|
+
'ssoDomain': json['ssoDomain'],
|
|
19
|
+
'emailDomain': json['emailDomain'],
|
|
20
|
+
'provider': SsoProviderEnum.SsoProviderEnumFromJSON(json['provider']),
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
function SsoProviderCreateRequestToJSON(value) {
|
|
24
|
+
if (value === undefined) {
|
|
25
|
+
return undefined;
|
|
26
|
+
}
|
|
27
|
+
if (value === null) {
|
|
28
|
+
return null;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'clientId': value.clientId,
|
|
32
|
+
'clientSecret': value.clientSecret,
|
|
33
|
+
'ssoDomain': value.ssoDomain,
|
|
34
|
+
'emailDomain': value.emailDomain,
|
|
35
|
+
'provider': SsoProviderEnum.SsoProviderEnumToJSON(value.provider),
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
exports.SsoProviderCreateRequestFromJSON = SsoProviderCreateRequestFromJSON;
|
|
40
|
+
exports.SsoProviderCreateRequestFromJSONTyped = SsoProviderCreateRequestFromJSONTyped;
|
|
41
|
+
exports.SsoProviderCreateRequestToJSON = SsoProviderCreateRequestToJSON;
|
|
@@ -0,0 +1,52 @@
|
|
|
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
|
+
import { SsoProviderEnum } from './SsoProviderEnum';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SsoProviderCreateRequest
|
|
17
|
+
*/
|
|
18
|
+
export interface SsoProviderCreateRequest {
|
|
19
|
+
/**
|
|
20
|
+
* Client ID for the SSO provider
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof SsoProviderCreateRequest
|
|
23
|
+
*/
|
|
24
|
+
clientId: string;
|
|
25
|
+
/**
|
|
26
|
+
* Client secret for the SSO provider
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof SsoProviderCreateRequest
|
|
29
|
+
*/
|
|
30
|
+
clientSecret: string;
|
|
31
|
+
/**
|
|
32
|
+
* SSO domain for the provider
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof SsoProviderCreateRequest
|
|
35
|
+
*/
|
|
36
|
+
ssoDomain: string;
|
|
37
|
+
/**
|
|
38
|
+
* Email domain for the company emails to be used for SSO
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof SsoProviderCreateRequest
|
|
41
|
+
*/
|
|
42
|
+
emailDomain: string;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {SsoProviderEnum}
|
|
46
|
+
* @memberof SsoProviderCreateRequest
|
|
47
|
+
*/
|
|
48
|
+
provider: SsoProviderEnum;
|
|
49
|
+
}
|
|
50
|
+
export declare function SsoProviderCreateRequestFromJSON(json: any): SsoProviderCreateRequest;
|
|
51
|
+
export declare function SsoProviderCreateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SsoProviderCreateRequest;
|
|
52
|
+
export declare function SsoProviderCreateRequestToJSON(value?: SsoProviderCreateRequest | null): any;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { SsoProviderEnumFromJSON, SsoProviderEnumToJSON } from './SsoProviderEnum.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function SsoProviderCreateRequestFromJSON(json) {
|
|
5
|
+
return SsoProviderCreateRequestFromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function SsoProviderCreateRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'clientId': json['clientId'],
|
|
13
|
+
'clientSecret': json['clientSecret'],
|
|
14
|
+
'ssoDomain': json['ssoDomain'],
|
|
15
|
+
'emailDomain': json['emailDomain'],
|
|
16
|
+
'provider': SsoProviderEnumFromJSON(json['provider']),
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
function SsoProviderCreateRequestToJSON(value) {
|
|
20
|
+
if (value === undefined) {
|
|
21
|
+
return undefined;
|
|
22
|
+
}
|
|
23
|
+
if (value === null) {
|
|
24
|
+
return null;
|
|
25
|
+
}
|
|
26
|
+
return {
|
|
27
|
+
'clientId': value.clientId,
|
|
28
|
+
'clientSecret': value.clientSecret,
|
|
29
|
+
'ssoDomain': value.ssoDomain,
|
|
30
|
+
'emailDomain': value.emailDomain,
|
|
31
|
+
'provider': SsoProviderEnumToJSON(value.provider),
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export { SsoProviderCreateRequestFromJSON, SsoProviderCreateRequestFromJSONTyped, SsoProviderCreateRequestToJSON };
|
|
@@ -0,0 +1,39 @@
|
|
|
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
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @enum {string}
|
|
22
|
+
*/
|
|
23
|
+
exports.SsoProviderEnum = void 0;
|
|
24
|
+
(function (SsoProviderEnum) {
|
|
25
|
+
SsoProviderEnum["Okta"] = "okta";
|
|
26
|
+
})(exports.SsoProviderEnum || (exports.SsoProviderEnum = {}));
|
|
27
|
+
function SsoProviderEnumFromJSON(json) {
|
|
28
|
+
return SsoProviderEnumFromJSONTyped(json);
|
|
29
|
+
}
|
|
30
|
+
function SsoProviderEnumFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
function SsoProviderEnumToJSON(value) {
|
|
34
|
+
return value;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
exports.SsoProviderEnumFromJSON = SsoProviderEnumFromJSON;
|
|
38
|
+
exports.SsoProviderEnumFromJSONTyped = SsoProviderEnumFromJSONTyped;
|
|
39
|
+
exports.SsoProviderEnumToJSON = SsoProviderEnumToJSON;
|
|
@@ -0,0 +1,22 @@
|
|
|
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
|
+
* @enum {string}
|
|
16
|
+
*/
|
|
17
|
+
export declare enum SsoProviderEnum {
|
|
18
|
+
Okta = "okta"
|
|
19
|
+
}
|
|
20
|
+
export declare function SsoProviderEnumFromJSON(json: any): SsoProviderEnum;
|
|
21
|
+
export declare function SsoProviderEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): SsoProviderEnum;
|
|
22
|
+
export declare function SsoProviderEnumToJSON(value?: SsoProviderEnum | null): any;
|
|
@@ -0,0 +1,33 @@
|
|
|
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
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @enum {string}
|
|
18
|
+
*/
|
|
19
|
+
var SsoProviderEnum;
|
|
20
|
+
(function (SsoProviderEnum) {
|
|
21
|
+
SsoProviderEnum["Okta"] = "okta";
|
|
22
|
+
})(SsoProviderEnum || (SsoProviderEnum = {}));
|
|
23
|
+
function SsoProviderEnumFromJSON(json) {
|
|
24
|
+
return SsoProviderEnumFromJSONTyped(json);
|
|
25
|
+
}
|
|
26
|
+
function SsoProviderEnumFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
function SsoProviderEnumToJSON(value) {
|
|
30
|
+
return value;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export { SsoProviderEnum, SsoProviderEnumFromJSON, SsoProviderEnumFromJSONTyped, SsoProviderEnumToJSON };
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var SsoProviderEnum = require('./SsoProviderEnum.cjs');
|
|
6
|
+
|
|
7
|
+
/* tslint:disable */
|
|
8
|
+
function SsoProviderResponseFromJSON(json) {
|
|
9
|
+
return SsoProviderResponseFromJSONTyped(json);
|
|
10
|
+
}
|
|
11
|
+
function SsoProviderResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
+
if ((json === undefined) || (json === null)) {
|
|
13
|
+
return json;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
'id': json['id'],
|
|
17
|
+
'clientId': json['clientId'],
|
|
18
|
+
'maskedClientSecret': json['maskedClientSecret'],
|
|
19
|
+
'organizationId': json['organizationId'],
|
|
20
|
+
'ssoDomain': json['ssoDomain'],
|
|
21
|
+
'emailDomain': json['emailDomain'],
|
|
22
|
+
'provider': SsoProviderEnum.SsoProviderEnumFromJSON(json['provider']),
|
|
23
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
24
|
+
'updatedAt': (new Date(json['updatedAt'])),
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
function SsoProviderResponseToJSON(value) {
|
|
28
|
+
if (value === undefined) {
|
|
29
|
+
return undefined;
|
|
30
|
+
}
|
|
31
|
+
if (value === null) {
|
|
32
|
+
return null;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'id': value.id,
|
|
36
|
+
'clientId': value.clientId,
|
|
37
|
+
'maskedClientSecret': value.maskedClientSecret,
|
|
38
|
+
'organizationId': value.organizationId,
|
|
39
|
+
'ssoDomain': value.ssoDomain,
|
|
40
|
+
'emailDomain': value.emailDomain,
|
|
41
|
+
'provider': SsoProviderEnum.SsoProviderEnumToJSON(value.provider),
|
|
42
|
+
'createdAt': (value.createdAt.toISOString()),
|
|
43
|
+
'updatedAt': (value.updatedAt.toISOString()),
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
exports.SsoProviderResponseFromJSON = SsoProviderResponseFromJSON;
|
|
48
|
+
exports.SsoProviderResponseFromJSONTyped = SsoProviderResponseFromJSONTyped;
|
|
49
|
+
exports.SsoProviderResponseToJSON = SsoProviderResponseToJSON;
|
|
@@ -0,0 +1,76 @@
|
|
|
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
|
+
import { SsoProviderEnum } from './SsoProviderEnum';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SsoProviderResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface SsoProviderResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof SsoProviderResponse
|
|
23
|
+
*/
|
|
24
|
+
id: string;
|
|
25
|
+
/**
|
|
26
|
+
* Client ID for the SSO provider
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof SsoProviderResponse
|
|
29
|
+
*/
|
|
30
|
+
clientId: string;
|
|
31
|
+
/**
|
|
32
|
+
* masked client secret for the SSO provider
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof SsoProviderResponse
|
|
35
|
+
*/
|
|
36
|
+
maskedClientSecret: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof SsoProviderResponse
|
|
41
|
+
*/
|
|
42
|
+
organizationId: string;
|
|
43
|
+
/**
|
|
44
|
+
* SSO domain for the provider
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof SsoProviderResponse
|
|
47
|
+
*/
|
|
48
|
+
ssoDomain: string;
|
|
49
|
+
/**
|
|
50
|
+
* Email domain for the company emails to be used for SSO
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof SsoProviderResponse
|
|
53
|
+
*/
|
|
54
|
+
emailDomain: string;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {SsoProviderEnum}
|
|
58
|
+
* @memberof SsoProviderResponse
|
|
59
|
+
*/
|
|
60
|
+
provider: SsoProviderEnum;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {Date}
|
|
64
|
+
* @memberof SsoProviderResponse
|
|
65
|
+
*/
|
|
66
|
+
createdAt: Date;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {Date}
|
|
70
|
+
* @memberof SsoProviderResponse
|
|
71
|
+
*/
|
|
72
|
+
updatedAt: Date;
|
|
73
|
+
}
|
|
74
|
+
export declare function SsoProviderResponseFromJSON(json: any): SsoProviderResponse;
|
|
75
|
+
export declare function SsoProviderResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SsoProviderResponse;
|
|
76
|
+
export declare function SsoProviderResponseToJSON(value?: SsoProviderResponse | null): any;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { SsoProviderEnumFromJSON, SsoProviderEnumToJSON } from './SsoProviderEnum.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function SsoProviderResponseFromJSON(json) {
|
|
5
|
+
return SsoProviderResponseFromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function SsoProviderResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'id': json['id'],
|
|
13
|
+
'clientId': json['clientId'],
|
|
14
|
+
'maskedClientSecret': json['maskedClientSecret'],
|
|
15
|
+
'organizationId': json['organizationId'],
|
|
16
|
+
'ssoDomain': json['ssoDomain'],
|
|
17
|
+
'emailDomain': json['emailDomain'],
|
|
18
|
+
'provider': SsoProviderEnumFromJSON(json['provider']),
|
|
19
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
20
|
+
'updatedAt': (new Date(json['updatedAt'])),
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
function SsoProviderResponseToJSON(value) {
|
|
24
|
+
if (value === undefined) {
|
|
25
|
+
return undefined;
|
|
26
|
+
}
|
|
27
|
+
if (value === null) {
|
|
28
|
+
return null;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'id': value.id,
|
|
32
|
+
'clientId': value.clientId,
|
|
33
|
+
'maskedClientSecret': value.maskedClientSecret,
|
|
34
|
+
'organizationId': value.organizationId,
|
|
35
|
+
'ssoDomain': value.ssoDomain,
|
|
36
|
+
'emailDomain': value.emailDomain,
|
|
37
|
+
'provider': SsoProviderEnumToJSON(value.provider),
|
|
38
|
+
'createdAt': (value.createdAt.toISOString()),
|
|
39
|
+
'updatedAt': (value.updatedAt.toISOString()),
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export { SsoProviderResponseFromJSON, SsoProviderResponseFromJSONTyped, SsoProviderResponseToJSON };
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
var SsoProviderEnum = require('./SsoProviderEnum.cjs');
|
|
7
|
+
|
|
8
|
+
/* tslint:disable */
|
|
9
|
+
function SsoProviderUpdateRequestFromJSON(json) {
|
|
10
|
+
return SsoProviderUpdateRequestFromJSONTyped(json);
|
|
11
|
+
}
|
|
12
|
+
function SsoProviderUpdateRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
13
|
+
if ((json === undefined) || (json === null)) {
|
|
14
|
+
return json;
|
|
15
|
+
}
|
|
16
|
+
return {
|
|
17
|
+
'clientId': !runtime.exists(json, 'clientId') ? undefined : json['clientId'],
|
|
18
|
+
'clientSecret': !runtime.exists(json, 'clientSecret') ? undefined : json['clientSecret'],
|
|
19
|
+
'ssoDomain': !runtime.exists(json, 'ssoDomain') ? undefined : json['ssoDomain'],
|
|
20
|
+
'emailDomain': !runtime.exists(json, 'emailDomain') ? undefined : json['emailDomain'],
|
|
21
|
+
'provider': !runtime.exists(json, 'provider') ? undefined : SsoProviderEnum.SsoProviderEnumFromJSON(json['provider']),
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
function SsoProviderUpdateRequestToJSON(value) {
|
|
25
|
+
if (value === undefined) {
|
|
26
|
+
return undefined;
|
|
27
|
+
}
|
|
28
|
+
if (value === null) {
|
|
29
|
+
return null;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'clientId': value.clientId,
|
|
33
|
+
'clientSecret': value.clientSecret,
|
|
34
|
+
'ssoDomain': value.ssoDomain,
|
|
35
|
+
'emailDomain': value.emailDomain,
|
|
36
|
+
'provider': SsoProviderEnum.SsoProviderEnumToJSON(value.provider),
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
exports.SsoProviderUpdateRequestFromJSON = SsoProviderUpdateRequestFromJSON;
|
|
41
|
+
exports.SsoProviderUpdateRequestFromJSONTyped = SsoProviderUpdateRequestFromJSONTyped;
|
|
42
|
+
exports.SsoProviderUpdateRequestToJSON = SsoProviderUpdateRequestToJSON;
|
|
@@ -0,0 +1,52 @@
|
|
|
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
|
+
import { SsoProviderEnum } from './SsoProviderEnum';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SsoProviderUpdateRequest
|
|
17
|
+
*/
|
|
18
|
+
export interface SsoProviderUpdateRequest {
|
|
19
|
+
/**
|
|
20
|
+
* Client ID for the SSO provider
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof SsoProviderUpdateRequest
|
|
23
|
+
*/
|
|
24
|
+
clientId?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Client secret for the SSO provider
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof SsoProviderUpdateRequest
|
|
29
|
+
*/
|
|
30
|
+
clientSecret?: string;
|
|
31
|
+
/**
|
|
32
|
+
* SSO domain for the provider
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof SsoProviderUpdateRequest
|
|
35
|
+
*/
|
|
36
|
+
ssoDomain?: string;
|
|
37
|
+
/**
|
|
38
|
+
* Email domain for the company emails to be used for SSO
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof SsoProviderUpdateRequest
|
|
41
|
+
*/
|
|
42
|
+
emailDomain?: string;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {SsoProviderEnum}
|
|
46
|
+
* @memberof SsoProviderUpdateRequest
|
|
47
|
+
*/
|
|
48
|
+
provider?: SsoProviderEnum;
|
|
49
|
+
}
|
|
50
|
+
export declare function SsoProviderUpdateRequestFromJSON(json: any): SsoProviderUpdateRequest;
|
|
51
|
+
export declare function SsoProviderUpdateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SsoProviderUpdateRequest;
|
|
52
|
+
export declare function SsoProviderUpdateRequestToJSON(value?: SsoProviderUpdateRequest | null): any;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
import { SsoProviderEnumFromJSON, SsoProviderEnumToJSON } from './SsoProviderEnum.js';
|
|
3
|
+
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
function SsoProviderUpdateRequestFromJSON(json) {
|
|
6
|
+
return SsoProviderUpdateRequestFromJSONTyped(json);
|
|
7
|
+
}
|
|
8
|
+
function SsoProviderUpdateRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
9
|
+
if ((json === undefined) || (json === null)) {
|
|
10
|
+
return json;
|
|
11
|
+
}
|
|
12
|
+
return {
|
|
13
|
+
'clientId': !exists(json, 'clientId') ? undefined : json['clientId'],
|
|
14
|
+
'clientSecret': !exists(json, 'clientSecret') ? undefined : json['clientSecret'],
|
|
15
|
+
'ssoDomain': !exists(json, 'ssoDomain') ? undefined : json['ssoDomain'],
|
|
16
|
+
'emailDomain': !exists(json, 'emailDomain') ? undefined : json['emailDomain'],
|
|
17
|
+
'provider': !exists(json, 'provider') ? undefined : SsoProviderEnumFromJSON(json['provider']),
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
function SsoProviderUpdateRequestToJSON(value) {
|
|
21
|
+
if (value === undefined) {
|
|
22
|
+
return undefined;
|
|
23
|
+
}
|
|
24
|
+
if (value === null) {
|
|
25
|
+
return null;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'clientId': value.clientId,
|
|
29
|
+
'clientSecret': value.clientSecret,
|
|
30
|
+
'ssoDomain': value.ssoDomain,
|
|
31
|
+
'emailDomain': value.emailDomain,
|
|
32
|
+
'provider': SsoProviderEnumToJSON(value.provider),
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export { SsoProviderUpdateRequestFromJSON, SsoProviderUpdateRequestFromJSONTyped, SsoProviderUpdateRequestToJSON };
|
package/src/models/index.d.ts
CHANGED
|
@@ -432,6 +432,10 @@ export * from './SocialSignInProvider';
|
|
|
432
432
|
export * from './SocialSignInProviderEnum';
|
|
433
433
|
export * from './SolanaTransactionOptimizationRequest';
|
|
434
434
|
export * from './SolanaTransactionOptimizationResponse';
|
|
435
|
+
export * from './SsoProviderCreateRequest';
|
|
436
|
+
export * from './SsoProviderEnum';
|
|
437
|
+
export * from './SsoProviderResponse';
|
|
438
|
+
export * from './SsoProviderUpdateRequest';
|
|
435
439
|
export * from './SubscriptionAdvancedScopeEnum';
|
|
436
440
|
export * from './SubscriptionFreeScopeEnum';
|
|
437
441
|
export * from './SupportedOfframpsResponse';
|