@forteplatforms/sdk 1.0.276 → 1.0.278
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/models/ForteApiException.d.ts +2 -0
- package/dist/generated/models/ForteApiException.js +2 -0
- package/dist/generated/models/UpdateWebAppRequest.d.ts +12 -0
- package/dist/generated/models/UpdateWebAppRequest.js +4 -0
- package/dist/generated/models/WebAppObject.d.ts +6 -0
- package/dist/generated/models/WebAppObject.js +2 -0
- package/package.json +1 -1
|
@@ -50,6 +50,8 @@ export declare const ForteApiExceptionErrorCodeType: {
|
|
|
50
50
|
readonly WEB_APP_NAME_TAKEN_IN_PROJECT: "WEB_APP_NAME_TAKEN_IN_PROJECT";
|
|
51
51
|
readonly WEB_APP_QUOTA_EXCEEDED: "WEB_APP_QUOTA_EXCEEDED";
|
|
52
52
|
readonly WEB_APP_NOT_FOUND: "WEB_APP_NOT_FOUND";
|
|
53
|
+
readonly SITE_PASSWORD_NOT_SUPPORTED: "SITE_PASSWORD_NOT_SUPPORTED";
|
|
54
|
+
readonly CONFLICTING_SITE_PASSWORD_FIELDS: "CONFLICTING_SITE_PASSWORD_FIELDS";
|
|
53
55
|
readonly SESSION_TOKEN_PROJECT_MISMATCH: "SESSION_TOKEN_PROJECT_MISMATCH";
|
|
54
56
|
readonly INVALID_SESSION_TOKEN: "INVALID_SESSION_TOKEN";
|
|
55
57
|
readonly NO_AUTHORIZATION_CREDENTIAL: "NO_AUTHORIZATION_CREDENTIAL";
|
|
@@ -35,6 +35,8 @@ exports.ForteApiExceptionErrorCodeType = {
|
|
|
35
35
|
WEB_APP_NAME_TAKEN_IN_PROJECT: 'WEB_APP_NAME_TAKEN_IN_PROJECT',
|
|
36
36
|
WEB_APP_QUOTA_EXCEEDED: 'WEB_APP_QUOTA_EXCEEDED',
|
|
37
37
|
WEB_APP_NOT_FOUND: 'WEB_APP_NOT_FOUND',
|
|
38
|
+
SITE_PASSWORD_NOT_SUPPORTED: 'SITE_PASSWORD_NOT_SUPPORTED',
|
|
39
|
+
CONFLICTING_SITE_PASSWORD_FIELDS: 'CONFLICTING_SITE_PASSWORD_FIELDS',
|
|
38
40
|
SESSION_TOKEN_PROJECT_MISMATCH: 'SESSION_TOKEN_PROJECT_MISMATCH',
|
|
39
41
|
INVALID_SESSION_TOKEN: 'INVALID_SESSION_TOKEN',
|
|
40
42
|
NO_AUTHORIZATION_CREDENTIAL: 'NO_AUTHORIZATION_CREDENTIAL',
|
|
@@ -97,6 +97,18 @@ export interface UpdateWebAppRequest {
|
|
|
97
97
|
* @memberof UpdateWebAppRequest
|
|
98
98
|
*/
|
|
99
99
|
resetDetectedConfig?: boolean;
|
|
100
|
+
/**
|
|
101
|
+
*
|
|
102
|
+
* @type {string}
|
|
103
|
+
* @memberof UpdateWebAppRequest
|
|
104
|
+
*/
|
|
105
|
+
sitePassword?: string;
|
|
106
|
+
/**
|
|
107
|
+
*
|
|
108
|
+
* @type {boolean}
|
|
109
|
+
* @memberof UpdateWebAppRequest
|
|
110
|
+
*/
|
|
111
|
+
removeSitePassword?: boolean;
|
|
100
112
|
}
|
|
101
113
|
/**
|
|
102
114
|
* @export
|
|
@@ -53,6 +53,8 @@ function UpdateWebAppRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
53
53
|
'secretsToUpsert': json['secretsToUpsert'] == null ? undefined : json['secretsToUpsert'],
|
|
54
54
|
'secretKeysToDelete': json['secretKeysToDelete'] == null ? undefined : new Set(json['secretKeysToDelete']),
|
|
55
55
|
'resetDetectedConfig': json['resetDetectedConfig'] == null ? undefined : json['resetDetectedConfig'],
|
|
56
|
+
'sitePassword': json['sitePassword'] == null ? undefined : json['sitePassword'],
|
|
57
|
+
'removeSitePassword': json['removeSitePassword'] == null ? undefined : json['removeSitePassword'],
|
|
56
58
|
};
|
|
57
59
|
}
|
|
58
60
|
function UpdateWebAppRequestToJSON(json) {
|
|
@@ -77,5 +79,7 @@ function UpdateWebAppRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
|
77
79
|
'secretsToUpsert': value['secretsToUpsert'],
|
|
78
80
|
'secretKeysToDelete': value['secretKeysToDelete'] == null ? undefined : Array.from(value['secretKeysToDelete']),
|
|
79
81
|
'resetDetectedConfig': value['resetDetectedConfig'],
|
|
82
|
+
'sitePassword': value['sitePassword'],
|
|
83
|
+
'removeSitePassword': value['removeSitePassword'],
|
|
80
84
|
};
|
|
81
85
|
}
|
|
@@ -212,6 +212,12 @@ export interface WebAppObject {
|
|
|
212
212
|
* @memberof WebAppObject
|
|
213
213
|
*/
|
|
214
214
|
baseDirectory?: string;
|
|
215
|
+
/**
|
|
216
|
+
*
|
|
217
|
+
* @type {boolean}
|
|
218
|
+
* @memberof WebAppObject
|
|
219
|
+
*/
|
|
220
|
+
sitePasswordProtectionEnabled?: boolean;
|
|
215
221
|
/**
|
|
216
222
|
*
|
|
217
223
|
* @type {Set<string>}
|
|
@@ -99,6 +99,7 @@ function WebAppObjectFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
99
99
|
'enqueuedBuildIds': json['enqueuedBuildIds'] == null ? undefined : json['enqueuedBuildIds'],
|
|
100
100
|
'environmentVariables': json['environmentVariables'] == null ? undefined : json['environmentVariables'],
|
|
101
101
|
'baseDirectory': json['baseDirectory'] == null ? undefined : json['baseDirectory'],
|
|
102
|
+
'sitePasswordProtectionEnabled': json['sitePasswordProtectionEnabled'] == null ? undefined : json['sitePasswordProtectionEnabled'],
|
|
102
103
|
'secretKeys': json['secretKeys'] == null ? undefined : new Set(json['secretKeys']),
|
|
103
104
|
};
|
|
104
105
|
}
|
|
@@ -143,6 +144,7 @@ function WebAppObjectToJSONTyped(value, ignoreDiscriminator) {
|
|
|
143
144
|
'enqueuedBuildIds': value['enqueuedBuildIds'],
|
|
144
145
|
'environmentVariables': value['environmentVariables'],
|
|
145
146
|
'baseDirectory': value['baseDirectory'],
|
|
147
|
+
'sitePasswordProtectionEnabled': value['sitePasswordProtectionEnabled'],
|
|
146
148
|
'secretKeys': value['secretKeys'] == null ? undefined : Array.from(value['secretKeys']),
|
|
147
149
|
};
|
|
148
150
|
}
|