@forteplatforms/sdk 1.0.156 → 1.0.163
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/README.md +29 -8
- package/dist/generated/apis/ProjectsServerApi.d.ts +98 -0
- package/dist/generated/apis/ProjectsServerApi.js +402 -0
- package/dist/generated/models/CreateCustomDomainRequest.d.ts +32 -0
- package/dist/generated/models/CreateCustomDomainRequest.js +51 -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 +5 -0
- package/dist/generated/models/ForteApiException.js +6 -1
- package/dist/generated/models/ListCustomDomainsResponse.d.ts +33 -0
- package/dist/generated/models/ListCustomDomainsResponse.js +50 -0
- package/dist/generated/models/SyncCustomDomainResponse.d.ts +40 -0
- package/dist/generated/models/SyncCustomDomainResponse.js +53 -0
- package/dist/generated/models/UserActionLogObject.d.ts +1 -0
- package/dist/generated/models/UserActionLogObject.js +1 -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/dist/index.js +10 -4
- package/package.json +1 -1
|
@@ -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;
|
|
@@ -0,0 +1,83 @@
|
|
|
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.DnsRecordRequirementPurposeType = exports.DnsRecordRequirementTypeType = void 0;
|
|
17
|
+
exports.instanceOfDnsRecordRequirement = instanceOfDnsRecordRequirement;
|
|
18
|
+
exports.DnsRecordRequirementFromJSON = DnsRecordRequirementFromJSON;
|
|
19
|
+
exports.DnsRecordRequirementFromJSONTyped = DnsRecordRequirementFromJSONTyped;
|
|
20
|
+
exports.DnsRecordRequirementToJSON = DnsRecordRequirementToJSON;
|
|
21
|
+
exports.DnsRecordRequirementToJSONTyped = DnsRecordRequirementToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.DnsRecordRequirementTypeType = {
|
|
26
|
+
A: 'A',
|
|
27
|
+
AAAA: 'AAAA',
|
|
28
|
+
ALIAS: 'ALIAS',
|
|
29
|
+
CNAME: 'CNAME',
|
|
30
|
+
MX: 'MX',
|
|
31
|
+
TXT: 'TXT'
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* @export
|
|
35
|
+
*/
|
|
36
|
+
exports.DnsRecordRequirementPurposeType = {
|
|
37
|
+
DKIM: 'DKIM',
|
|
38
|
+
MAIL_FROM_MX: 'MAIL_FROM_MX',
|
|
39
|
+
MAIL_FROM_SPF: 'MAIL_FROM_SPF',
|
|
40
|
+
DMARC: 'DMARC',
|
|
41
|
+
ROOT_SPF: 'ROOT_SPF',
|
|
42
|
+
CUSTOM_DOMAIN_VERIFICATION: 'CUSTOM_DOMAIN_VERIFICATION',
|
|
43
|
+
CUSTOM_DOMAIN_TRAFFIC: 'CUSTOM_DOMAIN_TRAFFIC'
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
* Check if a given object implements the DnsRecordRequirement interface.
|
|
47
|
+
*/
|
|
48
|
+
function instanceOfDnsRecordRequirement(value) {
|
|
49
|
+
return true;
|
|
50
|
+
}
|
|
51
|
+
function DnsRecordRequirementFromJSON(json) {
|
|
52
|
+
return DnsRecordRequirementFromJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
function DnsRecordRequirementFromJSONTyped(json, ignoreDiscriminator) {
|
|
55
|
+
if (json == null) {
|
|
56
|
+
return json;
|
|
57
|
+
}
|
|
58
|
+
return {
|
|
59
|
+
'type': json['type'] == null ? undefined : json['type'],
|
|
60
|
+
'purpose': json['purpose'] == null ? undefined : json['purpose'],
|
|
61
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
62
|
+
'expectedValue': json['expectedValue'] == null ? undefined : json['expectedValue'],
|
|
63
|
+
'required': json['required'] == null ? undefined : json['required'],
|
|
64
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
function DnsRecordRequirementToJSON(json) {
|
|
68
|
+
return DnsRecordRequirementToJSONTyped(json, false);
|
|
69
|
+
}
|
|
70
|
+
function DnsRecordRequirementToJSONTyped(value, ignoreDiscriminator) {
|
|
71
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
72
|
+
if (value == null) {
|
|
73
|
+
return value;
|
|
74
|
+
}
|
|
75
|
+
return {
|
|
76
|
+
'type': value['type'],
|
|
77
|
+
'purpose': value['purpose'],
|
|
78
|
+
'name': value['name'],
|
|
79
|
+
'expectedValue': value['expectedValue'],
|
|
80
|
+
'required': value['required'],
|
|
81
|
+
'description': value['description'],
|
|
82
|
+
};
|
|
83
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
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 { DnsRecordCheck } from './DnsRecordCheck';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface DnsValidationResult
|
|
17
|
+
*/
|
|
18
|
+
export interface DnsValidationResult {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Date}
|
|
22
|
+
* @memberof DnsValidationResult
|
|
23
|
+
*/
|
|
24
|
+
validatedAt?: Date;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {boolean}
|
|
28
|
+
* @memberof DnsValidationResult
|
|
29
|
+
*/
|
|
30
|
+
allValid?: boolean;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {Array<DnsRecordCheck>}
|
|
34
|
+
* @memberof DnsValidationResult
|
|
35
|
+
*/
|
|
36
|
+
checks?: Array<DnsRecordCheck>;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the DnsValidationResult interface.
|
|
40
|
+
*/
|
|
41
|
+
export declare function instanceOfDnsValidationResult(value: object): value is DnsValidationResult;
|
|
42
|
+
export declare function DnsValidationResultFromJSON(json: any): DnsValidationResult;
|
|
43
|
+
export declare function DnsValidationResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): DnsValidationResult;
|
|
44
|
+
export declare function DnsValidationResultToJSON(json: any): DnsValidationResult;
|
|
45
|
+
export declare function DnsValidationResultToJSONTyped(value?: DnsValidationResult | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,54 @@
|
|
|
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.instanceOfDnsValidationResult = instanceOfDnsValidationResult;
|
|
17
|
+
exports.DnsValidationResultFromJSON = DnsValidationResultFromJSON;
|
|
18
|
+
exports.DnsValidationResultFromJSONTyped = DnsValidationResultFromJSONTyped;
|
|
19
|
+
exports.DnsValidationResultToJSON = DnsValidationResultToJSON;
|
|
20
|
+
exports.DnsValidationResultToJSONTyped = DnsValidationResultToJSONTyped;
|
|
21
|
+
var DnsRecordCheck_1 = require("./DnsRecordCheck");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the DnsValidationResult interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfDnsValidationResult(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function DnsValidationResultFromJSON(json) {
|
|
29
|
+
return DnsValidationResultFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function DnsValidationResultFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'validatedAt': json['validatedAt'] == null ? undefined : (new Date(json['validatedAt'])),
|
|
37
|
+
'allValid': json['allValid'] == null ? undefined : json['allValid'],
|
|
38
|
+
'checks': json['checks'] == null ? undefined : (json['checks'].map(DnsRecordCheck_1.DnsRecordCheckFromJSON)),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function DnsValidationResultToJSON(json) {
|
|
42
|
+
return DnsValidationResultToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function DnsValidationResultToJSONTyped(value, ignoreDiscriminator) {
|
|
45
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'validatedAt': value['validatedAt'] == null ? value['validatedAt'] : value['validatedAt'].toISOString(),
|
|
51
|
+
'allValid': value['allValid'],
|
|
52
|
+
'checks': value['checks'] == null ? undefined : (value['checks'].map(DnsRecordCheck_1.DnsRecordCheckToJSON)),
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -146,6 +146,11 @@ export declare const ForteApiExceptionErrorCodeType: {
|
|
|
146
146
|
readonly CONTENT_TYPE_IMMUTABLE_ON_REUPLOAD: "CONTENT_TYPE_IMMUTABLE_ON_REUPLOAD";
|
|
147
147
|
readonly IMPERSONATION_TOKEN_NOT_RENEWABLE: "IMPERSONATION_TOKEN_NOT_RENEWABLE";
|
|
148
148
|
readonly USER_NOT_ACTIVE: "USER_NOT_ACTIVE";
|
|
149
|
+
readonly CUSTOM_DOMAIN_INVALID_FORMAT: "CUSTOM_DOMAIN_INVALID_FORMAT";
|
|
150
|
+
readonly CUSTOM_DOMAIN_RESERVED_SUFFIX: "CUSTOM_DOMAIN_RESERVED_SUFFIX";
|
|
151
|
+
readonly CUSTOM_DOMAIN_ALREADY_REGISTERED: "CUSTOM_DOMAIN_ALREADY_REGISTERED";
|
|
152
|
+
readonly CUSTOM_DOMAIN_NOT_FOUND: "CUSTOM_DOMAIN_NOT_FOUND";
|
|
153
|
+
readonly CUSTOM_DOMAIN_QUOTA_EXCEEDED: "CUSTOM_DOMAIN_QUOTA_EXCEEDED";
|
|
149
154
|
};
|
|
150
155
|
export type ForteApiExceptionErrorCodeType = typeof ForteApiExceptionErrorCodeType[keyof typeof ForteApiExceptionErrorCodeType];
|
|
151
156
|
/**
|
|
@@ -130,7 +130,12 @@ exports.ForteApiExceptionErrorCodeType = {
|
|
|
130
130
|
CONTENT_NOT_SHAREABLE_WHILE_PENDING: 'CONTENT_NOT_SHAREABLE_WHILE_PENDING',
|
|
131
131
|
CONTENT_TYPE_IMMUTABLE_ON_REUPLOAD: 'CONTENT_TYPE_IMMUTABLE_ON_REUPLOAD',
|
|
132
132
|
IMPERSONATION_TOKEN_NOT_RENEWABLE: 'IMPERSONATION_TOKEN_NOT_RENEWABLE',
|
|
133
|
-
USER_NOT_ACTIVE: 'USER_NOT_ACTIVE'
|
|
133
|
+
USER_NOT_ACTIVE: 'USER_NOT_ACTIVE',
|
|
134
|
+
CUSTOM_DOMAIN_INVALID_FORMAT: 'CUSTOM_DOMAIN_INVALID_FORMAT',
|
|
135
|
+
CUSTOM_DOMAIN_RESERVED_SUFFIX: 'CUSTOM_DOMAIN_RESERVED_SUFFIX',
|
|
136
|
+
CUSTOM_DOMAIN_ALREADY_REGISTERED: 'CUSTOM_DOMAIN_ALREADY_REGISTERED',
|
|
137
|
+
CUSTOM_DOMAIN_NOT_FOUND: 'CUSTOM_DOMAIN_NOT_FOUND',
|
|
138
|
+
CUSTOM_DOMAIN_QUOTA_EXCEEDED: 'CUSTOM_DOMAIN_QUOTA_EXCEEDED'
|
|
134
139
|
};
|
|
135
140
|
/**
|
|
136
141
|
* Check if a given object implements the ForteApiException interface.
|
|
@@ -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 ListCustomDomainsResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface ListCustomDomainsResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<CustomDomain>}
|
|
22
|
+
* @memberof ListCustomDomainsResponse
|
|
23
|
+
*/
|
|
24
|
+
customDomains?: Array<CustomDomain>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the ListCustomDomainsResponse interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfListCustomDomainsResponse(value: object): value is ListCustomDomainsResponse;
|
|
30
|
+
export declare function ListCustomDomainsResponseFromJSON(json: any): ListCustomDomainsResponse;
|
|
31
|
+
export declare function ListCustomDomainsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListCustomDomainsResponse;
|
|
32
|
+
export declare function ListCustomDomainsResponseToJSON(json: any): ListCustomDomainsResponse;
|
|
33
|
+
export declare function ListCustomDomainsResponseToJSONTyped(value?: ListCustomDomainsResponse | null, ignoreDiscriminator?: boolean): any;
|