@forteplatforms/sdk 1.0.156 → 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/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/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,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;
|
|
@@ -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.instanceOfListCustomDomainsResponse = instanceOfListCustomDomainsResponse;
|
|
17
|
+
exports.ListCustomDomainsResponseFromJSON = ListCustomDomainsResponseFromJSON;
|
|
18
|
+
exports.ListCustomDomainsResponseFromJSONTyped = ListCustomDomainsResponseFromJSONTyped;
|
|
19
|
+
exports.ListCustomDomainsResponseToJSON = ListCustomDomainsResponseToJSON;
|
|
20
|
+
exports.ListCustomDomainsResponseToJSONTyped = ListCustomDomainsResponseToJSONTyped;
|
|
21
|
+
var CustomDomain_1 = require("./CustomDomain");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the ListCustomDomainsResponse interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfListCustomDomainsResponse(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function ListCustomDomainsResponseFromJSON(json) {
|
|
29
|
+
return ListCustomDomainsResponseFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function ListCustomDomainsResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'customDomains': json['customDomains'] == null ? undefined : (json['customDomains'].map(CustomDomain_1.CustomDomainFromJSON)),
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function ListCustomDomainsResponseToJSON(json) {
|
|
40
|
+
return ListCustomDomainsResponseToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function ListCustomDomainsResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
43
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'customDomains': value['customDomains'] == null ? undefined : (value['customDomains'].map(CustomDomain_1.CustomDomainToJSON)),
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
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
|
+
import type { DnsValidationResult } from './DnsValidationResult';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface SyncCustomDomainResponse
|
|
18
|
+
*/
|
|
19
|
+
export interface SyncCustomDomainResponse {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {CustomDomain}
|
|
23
|
+
* @memberof SyncCustomDomainResponse
|
|
24
|
+
*/
|
|
25
|
+
customDomain?: CustomDomain;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {DnsValidationResult}
|
|
29
|
+
* @memberof SyncCustomDomainResponse
|
|
30
|
+
*/
|
|
31
|
+
dnsCheck?: DnsValidationResult;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the SyncCustomDomainResponse interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfSyncCustomDomainResponse(value: object): value is SyncCustomDomainResponse;
|
|
37
|
+
export declare function SyncCustomDomainResponseFromJSON(json: any): SyncCustomDomainResponse;
|
|
38
|
+
export declare function SyncCustomDomainResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SyncCustomDomainResponse;
|
|
39
|
+
export declare function SyncCustomDomainResponseToJSON(json: any): SyncCustomDomainResponse;
|
|
40
|
+
export declare function SyncCustomDomainResponseToJSONTyped(value?: SyncCustomDomainResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,53 @@
|
|
|
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.instanceOfSyncCustomDomainResponse = instanceOfSyncCustomDomainResponse;
|
|
17
|
+
exports.SyncCustomDomainResponseFromJSON = SyncCustomDomainResponseFromJSON;
|
|
18
|
+
exports.SyncCustomDomainResponseFromJSONTyped = SyncCustomDomainResponseFromJSONTyped;
|
|
19
|
+
exports.SyncCustomDomainResponseToJSON = SyncCustomDomainResponseToJSON;
|
|
20
|
+
exports.SyncCustomDomainResponseToJSONTyped = SyncCustomDomainResponseToJSONTyped;
|
|
21
|
+
var CustomDomain_1 = require("./CustomDomain");
|
|
22
|
+
var DnsValidationResult_1 = require("./DnsValidationResult");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the SyncCustomDomainResponse interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfSyncCustomDomainResponse(value) {
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function SyncCustomDomainResponseFromJSON(json) {
|
|
30
|
+
return SyncCustomDomainResponseFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function SyncCustomDomainResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'customDomain': json['customDomain'] == null ? undefined : (0, CustomDomain_1.CustomDomainFromJSON)(json['customDomain']),
|
|
38
|
+
'dnsCheck': json['dnsCheck'] == null ? undefined : (0, DnsValidationResult_1.DnsValidationResultFromJSON)(json['dnsCheck']),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function SyncCustomDomainResponseToJSON(json) {
|
|
42
|
+
return SyncCustomDomainResponseToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function SyncCustomDomainResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
45
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'customDomain': (0, CustomDomain_1.CustomDomainToJSON)(value['customDomain']),
|
|
51
|
+
'dnsCheck': (0, DnsValidationResult_1.DnsValidationResultToJSON)(value['dnsCheck']),
|
|
52
|
+
};
|
|
53
|
+
}
|
|
@@ -71,6 +71,24 @@ export interface WebAppBuildRequestObject {
|
|
|
71
71
|
* @memberof WebAppBuildRequestObject
|
|
72
72
|
*/
|
|
73
73
|
subdirectory?: string;
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
* @type {WebAppBuildRequestObjectMonorepoTypeType}
|
|
77
|
+
* @memberof WebAppBuildRequestObject
|
|
78
|
+
*/
|
|
79
|
+
monorepoType?: WebAppBuildRequestObjectMonorepoTypeType;
|
|
80
|
+
/**
|
|
81
|
+
*
|
|
82
|
+
* @type {string}
|
|
83
|
+
* @memberof WebAppBuildRequestObject
|
|
84
|
+
*/
|
|
85
|
+
workspaceRoot?: string;
|
|
86
|
+
/**
|
|
87
|
+
*
|
|
88
|
+
* @type {string}
|
|
89
|
+
* @memberof WebAppBuildRequestObject
|
|
90
|
+
*/
|
|
91
|
+
appPackageName?: string;
|
|
74
92
|
/**
|
|
75
93
|
*
|
|
76
94
|
* @type {string}
|
|
@@ -162,6 +180,16 @@ export interface WebAppBuildRequestObject {
|
|
|
162
180
|
*/
|
|
163
181
|
origin?: WebAppBuildRequestObjectOriginType;
|
|
164
182
|
}
|
|
183
|
+
/**
|
|
184
|
+
* @export
|
|
185
|
+
*/
|
|
186
|
+
export declare const WebAppBuildRequestObjectMonorepoTypeType: {
|
|
187
|
+
readonly PNPM_WORKSPACES: "PNPM_WORKSPACES";
|
|
188
|
+
readonly YARN_WORKSPACES: "YARN_WORKSPACES";
|
|
189
|
+
readonly NPM_WORKSPACES: "NPM_WORKSPACES";
|
|
190
|
+
readonly BUN_WORKSPACES: "BUN_WORKSPACES";
|
|
191
|
+
};
|
|
192
|
+
export type WebAppBuildRequestObjectMonorepoTypeType = typeof WebAppBuildRequestObjectMonorepoTypeType[keyof typeof WebAppBuildRequestObjectMonorepoTypeType];
|
|
165
193
|
/**
|
|
166
194
|
* @export
|
|
167
195
|
*/
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.WebAppBuildRequestObjectOriginType = exports.WebAppBuildRequestObjectStatusType = void 0;
|
|
16
|
+
exports.WebAppBuildRequestObjectOriginType = exports.WebAppBuildRequestObjectStatusType = exports.WebAppBuildRequestObjectMonorepoTypeType = void 0;
|
|
17
17
|
exports.instanceOfWebAppBuildRequestObject = instanceOfWebAppBuildRequestObject;
|
|
18
18
|
exports.WebAppBuildRequestObjectFromJSON = WebAppBuildRequestObjectFromJSON;
|
|
19
19
|
exports.WebAppBuildRequestObjectFromJSONTyped = WebAppBuildRequestObjectFromJSONTyped;
|
|
@@ -21,6 +21,15 @@ exports.WebAppBuildRequestObjectToJSON = WebAppBuildRequestObjectToJSON;
|
|
|
21
21
|
exports.WebAppBuildRequestObjectToJSONTyped = WebAppBuildRequestObjectToJSONTyped;
|
|
22
22
|
var WebAppDetectionError_1 = require("./WebAppDetectionError");
|
|
23
23
|
var BuildStepLog_1 = require("./BuildStepLog");
|
|
24
|
+
/**
|
|
25
|
+
* @export
|
|
26
|
+
*/
|
|
27
|
+
exports.WebAppBuildRequestObjectMonorepoTypeType = {
|
|
28
|
+
PNPM_WORKSPACES: 'PNPM_WORKSPACES',
|
|
29
|
+
YARN_WORKSPACES: 'YARN_WORKSPACES',
|
|
30
|
+
NPM_WORKSPACES: 'NPM_WORKSPACES',
|
|
31
|
+
BUN_WORKSPACES: 'BUN_WORKSPACES'
|
|
32
|
+
};
|
|
24
33
|
/**
|
|
25
34
|
* @export
|
|
26
35
|
*/
|
|
@@ -95,6 +104,9 @@ function WebAppBuildRequestObjectFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
95
104
|
'detectedFramework': json['detectedFramework'] == null ? undefined : json['detectedFramework'],
|
|
96
105
|
'installCommand': json['installCommand'] == null ? undefined : json['installCommand'],
|
|
97
106
|
'subdirectory': json['subdirectory'] == null ? undefined : json['subdirectory'],
|
|
107
|
+
'monorepoType': json['monorepoType'] == null ? undefined : json['monorepoType'],
|
|
108
|
+
'workspaceRoot': json['workspaceRoot'] == null ? undefined : json['workspaceRoot'],
|
|
109
|
+
'appPackageName': json['appPackageName'] == null ? undefined : json['appPackageName'],
|
|
98
110
|
'outputZipS3Key': json['outputZipS3Key'] == null ? undefined : json['outputZipS3Key'],
|
|
99
111
|
'hostingDeploymentId': json['hostingDeploymentId'] == null ? undefined : json['hostingDeploymentId'],
|
|
100
112
|
'hostingDeploymentStatus': json['hostingDeploymentStatus'] == null ? undefined : json['hostingDeploymentStatus'],
|
|
@@ -130,6 +142,9 @@ function WebAppBuildRequestObjectToJSONTyped(value, ignoreDiscriminator) {
|
|
|
130
142
|
'detectedFramework': value['detectedFramework'],
|
|
131
143
|
'installCommand': value['installCommand'],
|
|
132
144
|
'subdirectory': value['subdirectory'],
|
|
145
|
+
'monorepoType': value['monorepoType'],
|
|
146
|
+
'workspaceRoot': value['workspaceRoot'],
|
|
147
|
+
'appPackageName': value['appPackageName'],
|
|
133
148
|
'outputZipS3Key': value['outputZipS3Key'],
|
|
134
149
|
'hostingDeploymentId': value['hostingDeploymentId'],
|
|
135
150
|
'hostingDeploymentStatus': value['hostingDeploymentStatus'],
|
|
@@ -64,6 +64,24 @@ export interface WebAppDetectionResponse {
|
|
|
64
64
|
* @memberof WebAppDetectionResponse
|
|
65
65
|
*/
|
|
66
66
|
subdirectory?: string;
|
|
67
|
+
/**
|
|
68
|
+
* Monorepo flavor detected from lockfile + workspace declaration; null for single-project repos
|
|
69
|
+
* @type {WebAppDetectionResponseMonorepoTypeType}
|
|
70
|
+
* @memberof WebAppDetectionResponse
|
|
71
|
+
*/
|
|
72
|
+
monorepoType?: WebAppDetectionResponseMonorepoTypeType;
|
|
73
|
+
/**
|
|
74
|
+
* Path (relative to repo root) of the directory containing pnpm-workspace.yaml or the root package.json with a workspaces field; empty string for repo root; null for single-project repos
|
|
75
|
+
* @type {string}
|
|
76
|
+
* @memberof WebAppDetectionResponse
|
|
77
|
+
*/
|
|
78
|
+
workspaceRoot?: string;
|
|
79
|
+
/**
|
|
80
|
+
* The `name` field from the web app's package.json, used by monorepo --filter flags
|
|
81
|
+
* @type {string}
|
|
82
|
+
* @memberof WebAppDetectionResponse
|
|
83
|
+
*/
|
|
84
|
+
appPackageName?: string;
|
|
67
85
|
/**
|
|
68
86
|
* Analysis results from scanning the repository structure
|
|
69
87
|
* @type {RepositoryAnalysis}
|
|
@@ -79,6 +97,16 @@ export declare const WebAppDetectionResponseWebAppTypeType: {
|
|
|
79
97
|
readonly SERVER_SIDE: "SERVER_SIDE";
|
|
80
98
|
};
|
|
81
99
|
export type WebAppDetectionResponseWebAppTypeType = typeof WebAppDetectionResponseWebAppTypeType[keyof typeof WebAppDetectionResponseWebAppTypeType];
|
|
100
|
+
/**
|
|
101
|
+
* @export
|
|
102
|
+
*/
|
|
103
|
+
export declare const WebAppDetectionResponseMonorepoTypeType: {
|
|
104
|
+
readonly PNPM_WORKSPACES: "PNPM_WORKSPACES";
|
|
105
|
+
readonly YARN_WORKSPACES: "YARN_WORKSPACES";
|
|
106
|
+
readonly NPM_WORKSPACES: "NPM_WORKSPACES";
|
|
107
|
+
readonly BUN_WORKSPACES: "BUN_WORKSPACES";
|
|
108
|
+
};
|
|
109
|
+
export type WebAppDetectionResponseMonorepoTypeType = typeof WebAppDetectionResponseMonorepoTypeType[keyof typeof WebAppDetectionResponseMonorepoTypeType];
|
|
82
110
|
/**
|
|
83
111
|
* Check if a given object implements the WebAppDetectionResponse interface.
|
|
84
112
|
*/
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.WebAppDetectionResponseWebAppTypeType = void 0;
|
|
16
|
+
exports.WebAppDetectionResponseMonorepoTypeType = exports.WebAppDetectionResponseWebAppTypeType = void 0;
|
|
17
17
|
exports.instanceOfWebAppDetectionResponse = instanceOfWebAppDetectionResponse;
|
|
18
18
|
exports.WebAppDetectionResponseFromJSON = WebAppDetectionResponseFromJSON;
|
|
19
19
|
exports.WebAppDetectionResponseFromJSONTyped = WebAppDetectionResponseFromJSONTyped;
|
|
@@ -27,6 +27,15 @@ exports.WebAppDetectionResponseWebAppTypeType = {
|
|
|
27
27
|
STATIC: 'STATIC',
|
|
28
28
|
SERVER_SIDE: 'SERVER_SIDE'
|
|
29
29
|
};
|
|
30
|
+
/**
|
|
31
|
+
* @export
|
|
32
|
+
*/
|
|
33
|
+
exports.WebAppDetectionResponseMonorepoTypeType = {
|
|
34
|
+
PNPM_WORKSPACES: 'PNPM_WORKSPACES',
|
|
35
|
+
YARN_WORKSPACES: 'YARN_WORKSPACES',
|
|
36
|
+
NPM_WORKSPACES: 'NPM_WORKSPACES',
|
|
37
|
+
BUN_WORKSPACES: 'BUN_WORKSPACES'
|
|
38
|
+
};
|
|
30
39
|
/**
|
|
31
40
|
* Check if a given object implements the WebAppDetectionResponse interface.
|
|
32
41
|
*/
|
|
@@ -49,6 +58,9 @@ function WebAppDetectionResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
49
58
|
'installCommand': json['installCommand'] == null ? undefined : json['installCommand'],
|
|
50
59
|
'detectedFramework': json['detectedFramework'] == null ? undefined : json['detectedFramework'],
|
|
51
60
|
'subdirectory': json['subdirectory'] == null ? undefined : json['subdirectory'],
|
|
61
|
+
'monorepoType': json['monorepoType'] == null ? undefined : json['monorepoType'],
|
|
62
|
+
'workspaceRoot': json['workspaceRoot'] == null ? undefined : json['workspaceRoot'],
|
|
63
|
+
'appPackageName': json['appPackageName'] == null ? undefined : json['appPackageName'],
|
|
52
64
|
'repositoryAnalysis': json['repositoryAnalysis'] == null ? undefined : (0, RepositoryAnalysis_1.RepositoryAnalysisFromJSON)(json['repositoryAnalysis']),
|
|
53
65
|
};
|
|
54
66
|
}
|
|
@@ -69,6 +81,9 @@ function WebAppDetectionResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
|
69
81
|
'installCommand': value['installCommand'],
|
|
70
82
|
'detectedFramework': value['detectedFramework'],
|
|
71
83
|
'subdirectory': value['subdirectory'],
|
|
84
|
+
'monorepoType': value['monorepoType'],
|
|
85
|
+
'workspaceRoot': value['workspaceRoot'],
|
|
86
|
+
'appPackageName': value['appPackageName'],
|
|
72
87
|
'repositoryAnalysis': (0, RepositoryAnalysis_1.RepositoryAnalysisToJSON)(value['repositoryAnalysis']),
|
|
73
88
|
};
|
|
74
89
|
}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { CustomDomain } from './CustomDomain';
|
|
12
13
|
import type { WebAppDetectionResponse } from './WebAppDetectionResponse';
|
|
13
14
|
/**
|
|
14
15
|
*
|
|
@@ -42,10 +43,10 @@ export interface WebAppObject {
|
|
|
42
43
|
forteDnsEndpointEnabled: boolean;
|
|
43
44
|
/**
|
|
44
45
|
*
|
|
45
|
-
* @type {Array<
|
|
46
|
+
* @type {Array<CustomDomain>}
|
|
46
47
|
* @memberof WebAppObject
|
|
47
48
|
*/
|
|
48
|
-
|
|
49
|
+
customDomains?: Array<CustomDomain>;
|
|
49
50
|
/**
|
|
50
51
|
*
|
|
51
52
|
* @type {string}
|
|
@@ -88,6 +89,30 @@ export interface WebAppObject {
|
|
|
88
89
|
* @memberof WebAppObject
|
|
89
90
|
*/
|
|
90
91
|
detectedFramework?: string;
|
|
92
|
+
/**
|
|
93
|
+
*
|
|
94
|
+
* @type {WebAppObjectMonorepoTypeType}
|
|
95
|
+
* @memberof WebAppObject
|
|
96
|
+
*/
|
|
97
|
+
monorepoType?: WebAppObjectMonorepoTypeType;
|
|
98
|
+
/**
|
|
99
|
+
*
|
|
100
|
+
* @type {string}
|
|
101
|
+
* @memberof WebAppObject
|
|
102
|
+
*/
|
|
103
|
+
workspaceRoot?: string;
|
|
104
|
+
/**
|
|
105
|
+
*
|
|
106
|
+
* @type {string}
|
|
107
|
+
* @memberof WebAppObject
|
|
108
|
+
*/
|
|
109
|
+
appPackageName?: string;
|
|
110
|
+
/**
|
|
111
|
+
*
|
|
112
|
+
* @type {number}
|
|
113
|
+
* @memberof WebAppObject
|
|
114
|
+
*/
|
|
115
|
+
detectionVersion?: number;
|
|
91
116
|
/**
|
|
92
117
|
*
|
|
93
118
|
* @type {WebAppDetectionResponse}
|
|
@@ -183,6 +208,16 @@ export declare const WebAppObjectWebAppTypeType: {
|
|
|
183
208
|
readonly SERVER_SIDE: "SERVER_SIDE";
|
|
184
209
|
};
|
|
185
210
|
export type WebAppObjectWebAppTypeType = typeof WebAppObjectWebAppTypeType[keyof typeof WebAppObjectWebAppTypeType];
|
|
211
|
+
/**
|
|
212
|
+
* @export
|
|
213
|
+
*/
|
|
214
|
+
export declare const WebAppObjectMonorepoTypeType: {
|
|
215
|
+
readonly PNPM_WORKSPACES: "PNPM_WORKSPACES";
|
|
216
|
+
readonly YARN_WORKSPACES: "YARN_WORKSPACES";
|
|
217
|
+
readonly NPM_WORKSPACES: "NPM_WORKSPACES";
|
|
218
|
+
readonly BUN_WORKSPACES: "BUN_WORKSPACES";
|
|
219
|
+
};
|
|
220
|
+
export type WebAppObjectMonorepoTypeType = typeof WebAppObjectMonorepoTypeType[keyof typeof WebAppObjectMonorepoTypeType];
|
|
186
221
|
/**
|
|
187
222
|
* @export
|
|
188
223
|
*/
|
|
@@ -13,12 +13,13 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.WebAppObjectGithubBuildTriggerType = exports.WebAppObjectWebAppTypeType = void 0;
|
|
16
|
+
exports.WebAppObjectGithubBuildTriggerType = exports.WebAppObjectMonorepoTypeType = exports.WebAppObjectWebAppTypeType = void 0;
|
|
17
17
|
exports.instanceOfWebAppObject = instanceOfWebAppObject;
|
|
18
18
|
exports.WebAppObjectFromJSON = WebAppObjectFromJSON;
|
|
19
19
|
exports.WebAppObjectFromJSONTyped = WebAppObjectFromJSONTyped;
|
|
20
20
|
exports.WebAppObjectToJSON = WebAppObjectToJSON;
|
|
21
21
|
exports.WebAppObjectToJSONTyped = WebAppObjectToJSONTyped;
|
|
22
|
+
var CustomDomain_1 = require("./CustomDomain");
|
|
22
23
|
var WebAppDetectionResponse_1 = require("./WebAppDetectionResponse");
|
|
23
24
|
/**
|
|
24
25
|
* @export
|
|
@@ -27,6 +28,15 @@ exports.WebAppObjectWebAppTypeType = {
|
|
|
27
28
|
STATIC: 'STATIC',
|
|
28
29
|
SERVER_SIDE: 'SERVER_SIDE'
|
|
29
30
|
};
|
|
31
|
+
/**
|
|
32
|
+
* @export
|
|
33
|
+
*/
|
|
34
|
+
exports.WebAppObjectMonorepoTypeType = {
|
|
35
|
+
PNPM_WORKSPACES: 'PNPM_WORKSPACES',
|
|
36
|
+
YARN_WORKSPACES: 'YARN_WORKSPACES',
|
|
37
|
+
NPM_WORKSPACES: 'NPM_WORKSPACES',
|
|
38
|
+
BUN_WORKSPACES: 'BUN_WORKSPACES'
|
|
39
|
+
};
|
|
30
40
|
/**
|
|
31
41
|
* @export
|
|
32
42
|
*/
|
|
@@ -60,7 +70,7 @@ function WebAppObjectFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
60
70
|
'webAppName': json['webAppName'],
|
|
61
71
|
'forteDnsEndpoint': json['forteDnsEndpoint'] == null ? undefined : json['forteDnsEndpoint'],
|
|
62
72
|
'forteDnsEndpointEnabled': json['forteDnsEndpointEnabled'],
|
|
63
|
-
'
|
|
73
|
+
'customDomains': json['customDomains'] == null ? undefined : (json['customDomains'].map(CustomDomain_1.CustomDomainFromJSON)),
|
|
64
74
|
'buildPath': json['buildPath'] == null ? undefined : json['buildPath'],
|
|
65
75
|
'webAppType': json['webAppType'] == null ? undefined : json['webAppType'],
|
|
66
76
|
'packageManager': json['packageManager'] == null ? undefined : json['packageManager'],
|
|
@@ -68,6 +78,10 @@ function WebAppObjectFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
68
78
|
'installCommand': json['installCommand'] == null ? undefined : json['installCommand'],
|
|
69
79
|
'subdirectory': json['subdirectory'] == null ? undefined : json['subdirectory'],
|
|
70
80
|
'detectedFramework': json['detectedFramework'] == null ? undefined : json['detectedFramework'],
|
|
81
|
+
'monorepoType': json['monorepoType'] == null ? undefined : json['monorepoType'],
|
|
82
|
+
'workspaceRoot': json['workspaceRoot'] == null ? undefined : json['workspaceRoot'],
|
|
83
|
+
'appPackageName': json['appPackageName'] == null ? undefined : json['appPackageName'],
|
|
84
|
+
'detectionVersion': json['detectionVersion'] == null ? undefined : json['detectionVersion'],
|
|
71
85
|
'detectionResponse': json['detectionResponse'] == null ? undefined : (0, WebAppDetectionResponse_1.WebAppDetectionResponseFromJSON)(json['detectionResponse']),
|
|
72
86
|
'hostingProviderAppId': json['hostingProviderAppId'] == null ? undefined : json['hostingProviderAppId'],
|
|
73
87
|
'hostingProviderBranchName': json['hostingProviderBranchName'] == null ? undefined : json['hostingProviderBranchName'],
|
|
@@ -97,7 +111,7 @@ function WebAppObjectToJSONTyped(value, ignoreDiscriminator) {
|
|
|
97
111
|
'webAppName': value['webAppName'],
|
|
98
112
|
'forteDnsEndpoint': value['forteDnsEndpoint'],
|
|
99
113
|
'forteDnsEndpointEnabled': value['forteDnsEndpointEnabled'],
|
|
100
|
-
'
|
|
114
|
+
'customDomains': value['customDomains'] == null ? undefined : (value['customDomains'].map(CustomDomain_1.CustomDomainToJSON)),
|
|
101
115
|
'buildPath': value['buildPath'],
|
|
102
116
|
'webAppType': value['webAppType'],
|
|
103
117
|
'packageManager': value['packageManager'],
|
|
@@ -105,6 +119,10 @@ function WebAppObjectToJSONTyped(value, ignoreDiscriminator) {
|
|
|
105
119
|
'installCommand': value['installCommand'],
|
|
106
120
|
'subdirectory': value['subdirectory'],
|
|
107
121
|
'detectedFramework': value['detectedFramework'],
|
|
122
|
+
'monorepoType': value['monorepoType'],
|
|
123
|
+
'workspaceRoot': value['workspaceRoot'],
|
|
124
|
+
'appPackageName': value['appPackageName'],
|
|
125
|
+
'detectionVersion': value['detectionVersion'],
|
|
108
126
|
'detectionResponse': (0, WebAppDetectionResponse_1.WebAppDetectionResponseToJSON)(value['detectionResponse']),
|
|
109
127
|
'hostingProviderAppId': value['hostingProviderAppId'],
|
|
110
128
|
'hostingProviderBranchName': value['hostingProviderBranchName'],
|
|
@@ -9,6 +9,7 @@ export * from './ContentShare';
|
|
|
9
9
|
export * from './ContentShareRequestItem';
|
|
10
10
|
export * from './CreateContentUploadLinkRequest';
|
|
11
11
|
export * from './CreateContentUploadLinkResponse';
|
|
12
|
+
export * from './CreateCustomDomainRequest';
|
|
12
13
|
export * from './CreateForteServiceRequest';
|
|
13
14
|
export * from './CreateOtpLoginRequest';
|
|
14
15
|
export * from './CreateOtpLoginResponse';
|
|
@@ -23,6 +24,11 @@ export * from './CreateServiceRequestProxyRequest';
|
|
|
23
24
|
export * from './CreateServiceRequestProxyResponse';
|
|
24
25
|
export * from './CreateUserInviteRequest';
|
|
25
26
|
export * from './CreateWebAppRequest';
|
|
27
|
+
export * from './CustomDomain';
|
|
28
|
+
export * from './CustomDomainResponse';
|
|
29
|
+
export * from './DnsRecordCheck';
|
|
30
|
+
export * from './DnsRecordRequirement';
|
|
31
|
+
export * from './DnsValidationResult';
|
|
26
32
|
export * from './DockerfileDetectionOutput';
|
|
27
33
|
export * from './DockerfileGenerationError';
|
|
28
34
|
export * from './DockerfileGenerationResponse';
|
|
@@ -36,6 +42,7 @@ export * from './ImpersonationTokenResponse';
|
|
|
36
42
|
export * from './LatencyMetrics';
|
|
37
43
|
export * from './LatencyStats';
|
|
38
44
|
export * from './ListContentResponse';
|
|
45
|
+
export * from './ListCustomDomainsResponse';
|
|
39
46
|
export * from './ListUserInvitesResponse';
|
|
40
47
|
export * from './LogLineObject';
|
|
41
48
|
export * from './LoginUserResponse';
|
|
@@ -68,6 +75,7 @@ export * from './ServiceBuildRequestObject';
|
|
|
68
75
|
export * from './ServiceMetricsResponse';
|
|
69
76
|
export * from './ServiceObject';
|
|
70
77
|
export * from './StateHistory';
|
|
78
|
+
export * from './SyncCustomDomainResponse';
|
|
71
79
|
export * from './TestInvocationRequest';
|
|
72
80
|
export * from './TestInvocationResponse';
|
|
73
81
|
export * from './TimeSeriesDataPoint';
|