@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.
Files changed (33) hide show
  1. package/dist/generated/apis/ProjectsServerApi.d.ts +97 -0
  2. package/dist/generated/apis/ProjectsServerApi.js +401 -0
  3. package/dist/generated/models/CreateCustomDomainRequest.d.ts +32 -0
  4. package/dist/generated/models/CreateCustomDomainRequest.js +51 -0
  5. package/dist/generated/models/CreateUserInviteRequest.d.ts +8 -0
  6. package/dist/generated/models/CreateUserInviteRequest.js +2 -0
  7. package/dist/generated/models/CustomDomain.d.ts +112 -0
  8. package/dist/generated/models/CustomDomain.js +95 -0
  9. package/dist/generated/models/CustomDomainResponse.d.ts +33 -0
  10. package/dist/generated/models/CustomDomainResponse.js +50 -0
  11. package/dist/generated/models/DnsRecordCheck.d.ts +62 -0
  12. package/dist/generated/models/DnsRecordCheck.js +67 -0
  13. package/dist/generated/models/DnsRecordRequirement.d.ts +87 -0
  14. package/dist/generated/models/DnsRecordRequirement.js +83 -0
  15. package/dist/generated/models/DnsValidationResult.d.ts +45 -0
  16. package/dist/generated/models/DnsValidationResult.js +54 -0
  17. package/dist/generated/models/ForteApiException.d.ts +6 -0
  18. package/dist/generated/models/ForteApiException.js +7 -1
  19. package/dist/generated/models/ListCustomDomainsResponse.d.ts +33 -0
  20. package/dist/generated/models/ListCustomDomainsResponse.js +50 -0
  21. package/dist/generated/models/PendingUserInviteObject.d.ts +8 -0
  22. package/dist/generated/models/PendingUserInviteObject.js +2 -0
  23. package/dist/generated/models/SyncCustomDomainResponse.d.ts +40 -0
  24. package/dist/generated/models/SyncCustomDomainResponse.js +53 -0
  25. package/dist/generated/models/WebAppBuildRequestObject.d.ts +28 -0
  26. package/dist/generated/models/WebAppBuildRequestObject.js +16 -1
  27. package/dist/generated/models/WebAppDetectionResponse.d.ts +28 -0
  28. package/dist/generated/models/WebAppDetectionResponse.js +16 -1
  29. package/dist/generated/models/WebAppObject.d.ts +37 -2
  30. package/dist/generated/models/WebAppObject.js +21 -3
  31. package/dist/generated/models/index.d.ts +8 -0
  32. package/dist/generated/models/index.js +8 -0
  33. package/package.json +1 -1
@@ -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
+ }
@@ -134,6 +134,7 @@ export declare const ForteApiExceptionErrorCodeType: {
134
134
  readonly COMPLIANCE_DOCUMENT_ENCRYPTED: "COMPLIANCE_DOCUMENT_ENCRYPTED";
135
135
  readonly NOTIFICATION_TEMPLATE_INVALID: "NOTIFICATION_TEMPLATE_INVALID";
136
136
  readonly NOTIFICATION_TEMPLATE_MISSING_REQUIRED_VARIABLE: "NOTIFICATION_TEMPLATE_MISSING_REQUIRED_VARIABLE";
137
+ readonly CUSTOM_ATTRIBUTE_RESERVED_KEY: "CUSTOM_ATTRIBUTE_RESERVED_KEY";
137
138
  readonly CONTENT_NOT_FOUND: "CONTENT_NOT_FOUND";
138
139
  readonly CONTENT_NOT_IN_PENDING_STATE: "CONTENT_NOT_IN_PENDING_STATE";
139
140
  readonly CONTENT_UPLOAD_NOT_VERIFIED: "CONTENT_UPLOAD_NOT_VERIFIED";
@@ -145,6 +146,11 @@ export declare const ForteApiExceptionErrorCodeType: {
145
146
  readonly CONTENT_TYPE_IMMUTABLE_ON_REUPLOAD: "CONTENT_TYPE_IMMUTABLE_ON_REUPLOAD";
146
147
  readonly IMPERSONATION_TOKEN_NOT_RENEWABLE: "IMPERSONATION_TOKEN_NOT_RENEWABLE";
147
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";
148
154
  };
149
155
  export type ForteApiExceptionErrorCodeType = typeof ForteApiExceptionErrorCodeType[keyof typeof ForteApiExceptionErrorCodeType];
150
156
  /**
@@ -119,6 +119,7 @@ exports.ForteApiExceptionErrorCodeType = {
119
119
  COMPLIANCE_DOCUMENT_ENCRYPTED: 'COMPLIANCE_DOCUMENT_ENCRYPTED',
120
120
  NOTIFICATION_TEMPLATE_INVALID: 'NOTIFICATION_TEMPLATE_INVALID',
121
121
  NOTIFICATION_TEMPLATE_MISSING_REQUIRED_VARIABLE: 'NOTIFICATION_TEMPLATE_MISSING_REQUIRED_VARIABLE',
122
+ CUSTOM_ATTRIBUTE_RESERVED_KEY: 'CUSTOM_ATTRIBUTE_RESERVED_KEY',
122
123
  CONTENT_NOT_FOUND: 'CONTENT_NOT_FOUND',
123
124
  CONTENT_NOT_IN_PENDING_STATE: 'CONTENT_NOT_IN_PENDING_STATE',
124
125
  CONTENT_UPLOAD_NOT_VERIFIED: 'CONTENT_UPLOAD_NOT_VERIFIED',
@@ -129,7 +130,12 @@ exports.ForteApiExceptionErrorCodeType = {
129
130
  CONTENT_NOT_SHAREABLE_WHILE_PENDING: 'CONTENT_NOT_SHAREABLE_WHILE_PENDING',
130
131
  CONTENT_TYPE_IMMUTABLE_ON_REUPLOAD: 'CONTENT_TYPE_IMMUTABLE_ON_REUPLOAD',
131
132
  IMPERSONATION_TOKEN_NOT_RENEWABLE: 'IMPERSONATION_TOKEN_NOT_RENEWABLE',
132
- 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'
133
139
  };
134
140
  /**
135
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
+ }
@@ -69,6 +69,14 @@ export interface PendingUserInviteObject {
69
69
  * @memberof PendingUserInviteObject
70
70
  */
71
71
  consumedByUserId?: string;
72
+ /**
73
+ *
74
+ * @type {{ [key: string]: string; }}
75
+ * @memberof PendingUserInviteObject
76
+ */
77
+ customAttributes?: {
78
+ [key: string]: string;
79
+ };
72
80
  }
73
81
  /**
74
82
  * Check if a given object implements the PendingUserInviteObject interface.
@@ -41,6 +41,7 @@ function PendingUserInviteObjectFromJSONTyped(json, ignoreDiscriminator) {
41
41
  'expiresAt': json['expiresAt'] == null ? undefined : (new Date(json['expiresAt'])),
42
42
  'consumedAt': json['consumedAt'] == null ? undefined : (new Date(json['consumedAt'])),
43
43
  'consumedByUserId': json['consumedByUserId'] == null ? undefined : json['consumedByUserId'],
44
+ 'customAttributes': json['customAttributes'] == null ? undefined : json['customAttributes'],
44
45
  };
45
46
  }
46
47
  function PendingUserInviteObjectToJSON(json) {
@@ -61,5 +62,6 @@ function PendingUserInviteObjectToJSONTyped(value, ignoreDiscriminator) {
61
62
  'expiresAt': value['expiresAt'] == null ? value['expiresAt'] : value['expiresAt'].toISOString(),
62
63
  'consumedAt': value['consumedAt'] == null ? value['consumedAt'] : value['consumedAt'].toISOString(),
63
64
  'consumedByUserId': value['consumedByUserId'],
65
+ 'customAttributes': value['customAttributes'],
64
66
  };
65
67
  }
@@ -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
  }