@forteplatforms/sdk 1.0.154 → 1.0.160
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/dist/generated/apis/ProjectsServerApi.d.ts +97 -0
- package/dist/generated/apis/ProjectsServerApi.js +401 -0
- package/dist/generated/models/CreateCustomDomainRequest.d.ts +32 -0
- package/dist/generated/models/CreateCustomDomainRequest.js +51 -0
- package/dist/generated/models/CreateUserInviteRequest.d.ts +8 -0
- package/dist/generated/models/CreateUserInviteRequest.js +2 -0
- package/dist/generated/models/CustomDomain.d.ts +112 -0
- package/dist/generated/models/CustomDomain.js +95 -0
- package/dist/generated/models/CustomDomainResponse.d.ts +33 -0
- package/dist/generated/models/CustomDomainResponse.js +50 -0
- package/dist/generated/models/DnsRecordCheck.d.ts +62 -0
- package/dist/generated/models/DnsRecordCheck.js +67 -0
- package/dist/generated/models/DnsRecordRequirement.d.ts +87 -0
- package/dist/generated/models/DnsRecordRequirement.js +83 -0
- package/dist/generated/models/DnsValidationResult.d.ts +45 -0
- package/dist/generated/models/DnsValidationResult.js +54 -0
- package/dist/generated/models/ForteApiException.d.ts +6 -0
- package/dist/generated/models/ForteApiException.js +7 -1
- package/dist/generated/models/ListCustomDomainsResponse.d.ts +33 -0
- package/dist/generated/models/ListCustomDomainsResponse.js +50 -0
- package/dist/generated/models/PendingUserInviteObject.d.ts +8 -0
- package/dist/generated/models/PendingUserInviteObject.js +2 -0
- package/dist/generated/models/SyncCustomDomainResponse.d.ts +40 -0
- package/dist/generated/models/SyncCustomDomainResponse.js +53 -0
- package/dist/generated/models/WebAppBuildRequestObject.d.ts +28 -0
- package/dist/generated/models/WebAppBuildRequestObject.js +16 -1
- package/dist/generated/models/WebAppDetectionResponse.d.ts +28 -0
- package/dist/generated/models/WebAppDetectionResponse.js +16 -1
- package/dist/generated/models/WebAppObject.d.ts +37 -2
- package/dist/generated/models/WebAppObject.js +21 -3
- package/dist/generated/models/index.d.ts +8 -0
- package/dist/generated/models/index.js +8 -0
- package/package.json +1 -1
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OpenAPI definition
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0
|
|
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 CreateCustomDomainRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface CreateCustomDomainRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CreateCustomDomainRequest
|
|
22
|
+
*/
|
|
23
|
+
domain: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the CreateCustomDomainRequest interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfCreateCustomDomainRequest(value: object): value is CreateCustomDomainRequest;
|
|
29
|
+
export declare function CreateCustomDomainRequestFromJSON(json: any): CreateCustomDomainRequest;
|
|
30
|
+
export declare function CreateCustomDomainRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateCustomDomainRequest;
|
|
31
|
+
export declare function CreateCustomDomainRequestToJSON(json: any): CreateCustomDomainRequest;
|
|
32
|
+
export declare function CreateCustomDomainRequestToJSONTyped(value?: CreateCustomDomainRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* OpenAPI definition
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfCreateCustomDomainRequest = instanceOfCreateCustomDomainRequest;
|
|
17
|
+
exports.CreateCustomDomainRequestFromJSON = CreateCustomDomainRequestFromJSON;
|
|
18
|
+
exports.CreateCustomDomainRequestFromJSONTyped = CreateCustomDomainRequestFromJSONTyped;
|
|
19
|
+
exports.CreateCustomDomainRequestToJSON = CreateCustomDomainRequestToJSON;
|
|
20
|
+
exports.CreateCustomDomainRequestToJSONTyped = CreateCustomDomainRequestToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the CreateCustomDomainRequest interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfCreateCustomDomainRequest(value) {
|
|
25
|
+
if (!('domain' in value) || value['domain'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function CreateCustomDomainRequestFromJSON(json) {
|
|
30
|
+
return CreateCustomDomainRequestFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function CreateCustomDomainRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'domain': json['domain'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function CreateCustomDomainRequestToJSON(json) {
|
|
41
|
+
return CreateCustomDomainRequestToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function CreateCustomDomainRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
44
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'domain': value['domain'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -21,6 +21,14 @@ export interface CreateUserInviteRequest {
|
|
|
21
21
|
* @memberof CreateUserInviteRequest
|
|
22
22
|
*/
|
|
23
23
|
email: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {{ [key: string]: string; }}
|
|
27
|
+
* @memberof CreateUserInviteRequest
|
|
28
|
+
*/
|
|
29
|
+
customAttributes?: {
|
|
30
|
+
[key: string]: string;
|
|
31
|
+
};
|
|
24
32
|
}
|
|
25
33
|
/**
|
|
26
34
|
* Check if a given object implements the CreateUserInviteRequest interface.
|
|
@@ -35,6 +35,7 @@ function CreateUserInviteRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
35
35
|
}
|
|
36
36
|
return {
|
|
37
37
|
'email': json['email'],
|
|
38
|
+
'customAttributes': json['customAttributes'] == null ? undefined : json['customAttributes'],
|
|
38
39
|
};
|
|
39
40
|
}
|
|
40
41
|
function CreateUserInviteRequestToJSON(json) {
|
|
@@ -47,5 +48,6 @@ function CreateUserInviteRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
|
47
48
|
}
|
|
48
49
|
return {
|
|
49
50
|
'email': value['email'],
|
|
51
|
+
'customAttributes': value['customAttributes'],
|
|
50
52
|
};
|
|
51
53
|
}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OpenAPI definition
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0
|
|
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 type { DnsValidationResult } from './DnsValidationResult';
|
|
13
|
+
import type { DnsRecordRequirement } from './DnsRecordRequirement';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface CustomDomain
|
|
18
|
+
*/
|
|
19
|
+
export interface CustomDomain {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof CustomDomain
|
|
24
|
+
*/
|
|
25
|
+
customDomainId: string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof CustomDomain
|
|
30
|
+
*/
|
|
31
|
+
domain: string;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {boolean}
|
|
35
|
+
* @memberof CustomDomain
|
|
36
|
+
*/
|
|
37
|
+
apex?: boolean;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {CustomDomainStatusType}
|
|
41
|
+
* @memberof CustomDomain
|
|
42
|
+
*/
|
|
43
|
+
status: CustomDomainStatusType;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {Date}
|
|
47
|
+
* @memberof CustomDomain
|
|
48
|
+
*/
|
|
49
|
+
createdTimestamp: Date;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {Date}
|
|
53
|
+
* @memberof CustomDomain
|
|
54
|
+
*/
|
|
55
|
+
lastModifiedTimestamp: Date;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {Date}
|
|
59
|
+
* @memberof CustomDomain
|
|
60
|
+
*/
|
|
61
|
+
verifiedTimestamp?: Date;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {Date}
|
|
65
|
+
* @memberof CustomDomain
|
|
66
|
+
*/
|
|
67
|
+
activatedTimestamp?: Date;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @type {string}
|
|
71
|
+
* @memberof CustomDomain
|
|
72
|
+
*/
|
|
73
|
+
failureReason?: string;
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
* @type {Array<DnsRecordRequirement>}
|
|
77
|
+
* @memberof CustomDomain
|
|
78
|
+
*/
|
|
79
|
+
requiredDnsRecords?: Array<DnsRecordRequirement>;
|
|
80
|
+
/**
|
|
81
|
+
*
|
|
82
|
+
* @type {Date}
|
|
83
|
+
* @memberof CustomDomain
|
|
84
|
+
*/
|
|
85
|
+
lastDnsCheckAt?: Date;
|
|
86
|
+
/**
|
|
87
|
+
*
|
|
88
|
+
* @type {DnsValidationResult}
|
|
89
|
+
* @memberof CustomDomain
|
|
90
|
+
*/
|
|
91
|
+
lastDnsCheckResult?: DnsValidationResult;
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* @export
|
|
95
|
+
*/
|
|
96
|
+
export declare const CustomDomainStatusType: {
|
|
97
|
+
readonly PENDING_DNS_VERIFICATION: "PENDING_DNS_VERIFICATION";
|
|
98
|
+
readonly PROVISIONING_CERTIFICATE: "PROVISIONING_CERTIFICATE";
|
|
99
|
+
readonly ATTACHING: "ATTACHING";
|
|
100
|
+
readonly ACTIVE: "ACTIVE";
|
|
101
|
+
readonly FAILED: "FAILED";
|
|
102
|
+
readonly DELETING: "DELETING";
|
|
103
|
+
};
|
|
104
|
+
export type CustomDomainStatusType = typeof CustomDomainStatusType[keyof typeof CustomDomainStatusType];
|
|
105
|
+
/**
|
|
106
|
+
* Check if a given object implements the CustomDomain interface.
|
|
107
|
+
*/
|
|
108
|
+
export declare function instanceOfCustomDomain(value: object): value is CustomDomain;
|
|
109
|
+
export declare function CustomDomainFromJSON(json: any): CustomDomain;
|
|
110
|
+
export declare function CustomDomainFromJSONTyped(json: any, ignoreDiscriminator: boolean): CustomDomain;
|
|
111
|
+
export declare function CustomDomainToJSON(json: any): CustomDomain;
|
|
112
|
+
export declare function CustomDomainToJSONTyped(value?: CustomDomain | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* OpenAPI definition
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.CustomDomainStatusType = void 0;
|
|
17
|
+
exports.instanceOfCustomDomain = instanceOfCustomDomain;
|
|
18
|
+
exports.CustomDomainFromJSON = CustomDomainFromJSON;
|
|
19
|
+
exports.CustomDomainFromJSONTyped = CustomDomainFromJSONTyped;
|
|
20
|
+
exports.CustomDomainToJSON = CustomDomainToJSON;
|
|
21
|
+
exports.CustomDomainToJSONTyped = CustomDomainToJSONTyped;
|
|
22
|
+
var DnsValidationResult_1 = require("./DnsValidationResult");
|
|
23
|
+
var DnsRecordRequirement_1 = require("./DnsRecordRequirement");
|
|
24
|
+
/**
|
|
25
|
+
* @export
|
|
26
|
+
*/
|
|
27
|
+
exports.CustomDomainStatusType = {
|
|
28
|
+
PENDING_DNS_VERIFICATION: 'PENDING_DNS_VERIFICATION',
|
|
29
|
+
PROVISIONING_CERTIFICATE: 'PROVISIONING_CERTIFICATE',
|
|
30
|
+
ATTACHING: 'ATTACHING',
|
|
31
|
+
ACTIVE: 'ACTIVE',
|
|
32
|
+
FAILED: 'FAILED',
|
|
33
|
+
DELETING: 'DELETING'
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* Check if a given object implements the CustomDomain interface.
|
|
37
|
+
*/
|
|
38
|
+
function instanceOfCustomDomain(value) {
|
|
39
|
+
if (!('customDomainId' in value) || value['customDomainId'] === undefined)
|
|
40
|
+
return false;
|
|
41
|
+
if (!('domain' in value) || value['domain'] === undefined)
|
|
42
|
+
return false;
|
|
43
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
44
|
+
return false;
|
|
45
|
+
if (!('createdTimestamp' in value) || value['createdTimestamp'] === undefined)
|
|
46
|
+
return false;
|
|
47
|
+
if (!('lastModifiedTimestamp' in value) || value['lastModifiedTimestamp'] === undefined)
|
|
48
|
+
return false;
|
|
49
|
+
return true;
|
|
50
|
+
}
|
|
51
|
+
function CustomDomainFromJSON(json) {
|
|
52
|
+
return CustomDomainFromJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
function CustomDomainFromJSONTyped(json, ignoreDiscriminator) {
|
|
55
|
+
if (json == null) {
|
|
56
|
+
return json;
|
|
57
|
+
}
|
|
58
|
+
return {
|
|
59
|
+
'customDomainId': json['customDomainId'],
|
|
60
|
+
'domain': json['domain'],
|
|
61
|
+
'apex': json['apex'] == null ? undefined : json['apex'],
|
|
62
|
+
'status': json['status'],
|
|
63
|
+
'createdTimestamp': (new Date(json['createdTimestamp'])),
|
|
64
|
+
'lastModifiedTimestamp': (new Date(json['lastModifiedTimestamp'])),
|
|
65
|
+
'verifiedTimestamp': json['verifiedTimestamp'] == null ? undefined : (new Date(json['verifiedTimestamp'])),
|
|
66
|
+
'activatedTimestamp': json['activatedTimestamp'] == null ? undefined : (new Date(json['activatedTimestamp'])),
|
|
67
|
+
'failureReason': json['failureReason'] == null ? undefined : json['failureReason'],
|
|
68
|
+
'requiredDnsRecords': json['requiredDnsRecords'] == null ? undefined : (json['requiredDnsRecords'].map(DnsRecordRequirement_1.DnsRecordRequirementFromJSON)),
|
|
69
|
+
'lastDnsCheckAt': json['lastDnsCheckAt'] == null ? undefined : (new Date(json['lastDnsCheckAt'])),
|
|
70
|
+
'lastDnsCheckResult': json['lastDnsCheckResult'] == null ? undefined : (0, DnsValidationResult_1.DnsValidationResultFromJSON)(json['lastDnsCheckResult']),
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
function CustomDomainToJSON(json) {
|
|
74
|
+
return CustomDomainToJSONTyped(json, false);
|
|
75
|
+
}
|
|
76
|
+
function CustomDomainToJSONTyped(value, ignoreDiscriminator) {
|
|
77
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
78
|
+
if (value == null) {
|
|
79
|
+
return value;
|
|
80
|
+
}
|
|
81
|
+
return {
|
|
82
|
+
'customDomainId': value['customDomainId'],
|
|
83
|
+
'domain': value['domain'],
|
|
84
|
+
'apex': value['apex'],
|
|
85
|
+
'status': value['status'],
|
|
86
|
+
'createdTimestamp': value['createdTimestamp'].toISOString(),
|
|
87
|
+
'lastModifiedTimestamp': value['lastModifiedTimestamp'].toISOString(),
|
|
88
|
+
'verifiedTimestamp': value['verifiedTimestamp'] == null ? value['verifiedTimestamp'] : value['verifiedTimestamp'].toISOString(),
|
|
89
|
+
'activatedTimestamp': value['activatedTimestamp'] == null ? value['activatedTimestamp'] : value['activatedTimestamp'].toISOString(),
|
|
90
|
+
'failureReason': value['failureReason'],
|
|
91
|
+
'requiredDnsRecords': value['requiredDnsRecords'] == null ? undefined : (value['requiredDnsRecords'].map(DnsRecordRequirement_1.DnsRecordRequirementToJSON)),
|
|
92
|
+
'lastDnsCheckAt': value['lastDnsCheckAt'] == null ? value['lastDnsCheckAt'] : value['lastDnsCheckAt'].toISOString(),
|
|
93
|
+
'lastDnsCheckResult': (0, DnsValidationResult_1.DnsValidationResultToJSON)(value['lastDnsCheckResult']),
|
|
94
|
+
};
|
|
95
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OpenAPI definition
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0
|
|
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 type { CustomDomain } from './CustomDomain';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CustomDomainResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface CustomDomainResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {CustomDomain}
|
|
22
|
+
* @memberof CustomDomainResponse
|
|
23
|
+
*/
|
|
24
|
+
customDomain?: CustomDomain;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the CustomDomainResponse interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfCustomDomainResponse(value: object): value is CustomDomainResponse;
|
|
30
|
+
export declare function CustomDomainResponseFromJSON(json: any): CustomDomainResponse;
|
|
31
|
+
export declare function CustomDomainResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): CustomDomainResponse;
|
|
32
|
+
export declare function CustomDomainResponseToJSON(json: any): CustomDomainResponse;
|
|
33
|
+
export declare function CustomDomainResponseToJSONTyped(value?: CustomDomainResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* OpenAPI definition
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfCustomDomainResponse = instanceOfCustomDomainResponse;
|
|
17
|
+
exports.CustomDomainResponseFromJSON = CustomDomainResponseFromJSON;
|
|
18
|
+
exports.CustomDomainResponseFromJSONTyped = CustomDomainResponseFromJSONTyped;
|
|
19
|
+
exports.CustomDomainResponseToJSON = CustomDomainResponseToJSON;
|
|
20
|
+
exports.CustomDomainResponseToJSONTyped = CustomDomainResponseToJSONTyped;
|
|
21
|
+
var CustomDomain_1 = require("./CustomDomain");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the CustomDomainResponse interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfCustomDomainResponse(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function CustomDomainResponseFromJSON(json) {
|
|
29
|
+
return CustomDomainResponseFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function CustomDomainResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'customDomain': json['customDomain'] == null ? undefined : (0, CustomDomain_1.CustomDomainFromJSON)(json['customDomain']),
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function CustomDomainResponseToJSON(json) {
|
|
40
|
+
return CustomDomainResponseToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function CustomDomainResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
43
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'customDomain': (0, CustomDomain_1.CustomDomainToJSON)(value['customDomain']),
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OpenAPI definition
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0
|
|
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 type { DnsRecordRequirement } from './DnsRecordRequirement';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface DnsRecordCheck
|
|
17
|
+
*/
|
|
18
|
+
export interface DnsRecordCheck {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {DnsRecordRequirement}
|
|
22
|
+
* @memberof DnsRecordCheck
|
|
23
|
+
*/
|
|
24
|
+
requirement?: DnsRecordRequirement;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {DnsRecordCheckStatusType}
|
|
28
|
+
* @memberof DnsRecordCheck
|
|
29
|
+
*/
|
|
30
|
+
status?: DnsRecordCheckStatusType;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {Array<string>}
|
|
34
|
+
* @memberof DnsRecordCheck
|
|
35
|
+
*/
|
|
36
|
+
observedValues?: Array<string>;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof DnsRecordCheck
|
|
41
|
+
*/
|
|
42
|
+
errorDetail?: string;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* @export
|
|
46
|
+
*/
|
|
47
|
+
export declare const DnsRecordCheckStatusType: {
|
|
48
|
+
readonly VERIFIED: "VERIFIED";
|
|
49
|
+
readonly MISSING: "MISSING";
|
|
50
|
+
readonly MISMATCH: "MISMATCH";
|
|
51
|
+
readonly RECOMMENDED_MISSING: "RECOMMENDED_MISSING";
|
|
52
|
+
readonly LOOKUP_FAILED: "LOOKUP_FAILED";
|
|
53
|
+
};
|
|
54
|
+
export type DnsRecordCheckStatusType = typeof DnsRecordCheckStatusType[keyof typeof DnsRecordCheckStatusType];
|
|
55
|
+
/**
|
|
56
|
+
* Check if a given object implements the DnsRecordCheck interface.
|
|
57
|
+
*/
|
|
58
|
+
export declare function instanceOfDnsRecordCheck(value: object): value is DnsRecordCheck;
|
|
59
|
+
export declare function DnsRecordCheckFromJSON(json: any): DnsRecordCheck;
|
|
60
|
+
export declare function DnsRecordCheckFromJSONTyped(json: any, ignoreDiscriminator: boolean): DnsRecordCheck;
|
|
61
|
+
export declare function DnsRecordCheckToJSON(json: any): DnsRecordCheck;
|
|
62
|
+
export declare function DnsRecordCheckToJSONTyped(value?: DnsRecordCheck | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* OpenAPI definition
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.DnsRecordCheckStatusType = void 0;
|
|
17
|
+
exports.instanceOfDnsRecordCheck = instanceOfDnsRecordCheck;
|
|
18
|
+
exports.DnsRecordCheckFromJSON = DnsRecordCheckFromJSON;
|
|
19
|
+
exports.DnsRecordCheckFromJSONTyped = DnsRecordCheckFromJSONTyped;
|
|
20
|
+
exports.DnsRecordCheckToJSON = DnsRecordCheckToJSON;
|
|
21
|
+
exports.DnsRecordCheckToJSONTyped = DnsRecordCheckToJSONTyped;
|
|
22
|
+
var DnsRecordRequirement_1 = require("./DnsRecordRequirement");
|
|
23
|
+
/**
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.DnsRecordCheckStatusType = {
|
|
27
|
+
VERIFIED: 'VERIFIED',
|
|
28
|
+
MISSING: 'MISSING',
|
|
29
|
+
MISMATCH: 'MISMATCH',
|
|
30
|
+
RECOMMENDED_MISSING: 'RECOMMENDED_MISSING',
|
|
31
|
+
LOOKUP_FAILED: 'LOOKUP_FAILED'
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the DnsRecordCheck interface.
|
|
35
|
+
*/
|
|
36
|
+
function instanceOfDnsRecordCheck(value) {
|
|
37
|
+
return true;
|
|
38
|
+
}
|
|
39
|
+
function DnsRecordCheckFromJSON(json) {
|
|
40
|
+
return DnsRecordCheckFromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function DnsRecordCheckFromJSONTyped(json, ignoreDiscriminator) {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'requirement': json['requirement'] == null ? undefined : (0, DnsRecordRequirement_1.DnsRecordRequirementFromJSON)(json['requirement']),
|
|
48
|
+
'status': json['status'] == null ? undefined : json['status'],
|
|
49
|
+
'observedValues': json['observedValues'] == null ? undefined : json['observedValues'],
|
|
50
|
+
'errorDetail': json['errorDetail'] == null ? undefined : json['errorDetail'],
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
function DnsRecordCheckToJSON(json) {
|
|
54
|
+
return DnsRecordCheckToJSONTyped(json, false);
|
|
55
|
+
}
|
|
56
|
+
function DnsRecordCheckToJSONTyped(value, ignoreDiscriminator) {
|
|
57
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
58
|
+
if (value == null) {
|
|
59
|
+
return value;
|
|
60
|
+
}
|
|
61
|
+
return {
|
|
62
|
+
'requirement': (0, DnsRecordRequirement_1.DnsRecordRequirementToJSON)(value['requirement']),
|
|
63
|
+
'status': value['status'],
|
|
64
|
+
'observedValues': value['observedValues'],
|
|
65
|
+
'errorDetail': value['errorDetail'],
|
|
66
|
+
};
|
|
67
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OpenAPI definition
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0
|
|
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 DnsRecordRequirement
|
|
16
|
+
*/
|
|
17
|
+
export interface DnsRecordRequirement {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {DnsRecordRequirementTypeType}
|
|
21
|
+
* @memberof DnsRecordRequirement
|
|
22
|
+
*/
|
|
23
|
+
type?: DnsRecordRequirementTypeType;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {DnsRecordRequirementPurposeType}
|
|
27
|
+
* @memberof DnsRecordRequirement
|
|
28
|
+
*/
|
|
29
|
+
purpose?: DnsRecordRequirementPurposeType;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof DnsRecordRequirement
|
|
34
|
+
*/
|
|
35
|
+
name?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof DnsRecordRequirement
|
|
40
|
+
*/
|
|
41
|
+
expectedValue?: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {boolean}
|
|
45
|
+
* @memberof DnsRecordRequirement
|
|
46
|
+
*/
|
|
47
|
+
required?: boolean;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof DnsRecordRequirement
|
|
52
|
+
*/
|
|
53
|
+
description?: string;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* @export
|
|
57
|
+
*/
|
|
58
|
+
export declare const DnsRecordRequirementTypeType: {
|
|
59
|
+
readonly A: "A";
|
|
60
|
+
readonly AAAA: "AAAA";
|
|
61
|
+
readonly ALIAS: "ALIAS";
|
|
62
|
+
readonly CNAME: "CNAME";
|
|
63
|
+
readonly MX: "MX";
|
|
64
|
+
readonly TXT: "TXT";
|
|
65
|
+
};
|
|
66
|
+
export type DnsRecordRequirementTypeType = typeof DnsRecordRequirementTypeType[keyof typeof DnsRecordRequirementTypeType];
|
|
67
|
+
/**
|
|
68
|
+
* @export
|
|
69
|
+
*/
|
|
70
|
+
export declare const DnsRecordRequirementPurposeType: {
|
|
71
|
+
readonly DKIM: "DKIM";
|
|
72
|
+
readonly MAIL_FROM_MX: "MAIL_FROM_MX";
|
|
73
|
+
readonly MAIL_FROM_SPF: "MAIL_FROM_SPF";
|
|
74
|
+
readonly DMARC: "DMARC";
|
|
75
|
+
readonly ROOT_SPF: "ROOT_SPF";
|
|
76
|
+
readonly CUSTOM_DOMAIN_VERIFICATION: "CUSTOM_DOMAIN_VERIFICATION";
|
|
77
|
+
readonly CUSTOM_DOMAIN_TRAFFIC: "CUSTOM_DOMAIN_TRAFFIC";
|
|
78
|
+
};
|
|
79
|
+
export type DnsRecordRequirementPurposeType = typeof DnsRecordRequirementPurposeType[keyof typeof DnsRecordRequirementPurposeType];
|
|
80
|
+
/**
|
|
81
|
+
* Check if a given object implements the DnsRecordRequirement interface.
|
|
82
|
+
*/
|
|
83
|
+
export declare function instanceOfDnsRecordRequirement(value: object): value is DnsRecordRequirement;
|
|
84
|
+
export declare function DnsRecordRequirementFromJSON(json: any): DnsRecordRequirement;
|
|
85
|
+
export declare function DnsRecordRequirementFromJSONTyped(json: any, ignoreDiscriminator: boolean): DnsRecordRequirement;
|
|
86
|
+
export declare function DnsRecordRequirementToJSON(json: any): DnsRecordRequirement;
|
|
87
|
+
export declare function DnsRecordRequirementToJSONTyped(value?: DnsRecordRequirement | null, ignoreDiscriminator?: boolean): any;
|