@forteplatforms/sdk 1.0.496 → 1.0.497
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 +13 -0
- package/dist/generated/apis/ProjectsServerApi.js +57 -0
- package/dist/generated/models/CreateForteServiceRequest.d.ts +7 -7
- package/dist/generated/models/CreateManagedDatabaseRequest.d.ts +3 -3
- package/dist/generated/models/CreateServiceDatabaseConnectionRequest.d.ts +1 -1
- package/dist/generated/models/CreateServiceToServiceConnectionRequest.d.ts +6 -6
- package/dist/generated/models/CreateServiceToWebAppConnectionRequest.d.ts +6 -6
- package/dist/generated/models/CreateServiceUrlConnectionRequest.d.ts +6 -6
- package/dist/generated/models/CreateWebAppRequest.d.ts +10 -10
- package/dist/generated/models/ManagedDatabaseEnvVarMappings.d.ts +8 -8
- package/dist/generated/models/UpdateServiceToServiceConnectionRequest.d.ts +5 -5
- package/dist/generated/models/UpdateServiceToWebAppConnectionRequest.d.ts +5 -5
- package/dist/generated/models/UpdateServiceUrlConnectionRequest.d.ts +5 -5
- package/package.json +1 -1
|
@@ -621,6 +621,9 @@ export interface ListServiceHistoryRequest {
|
|
|
621
621
|
maxTime?: Date;
|
|
622
622
|
nextToken?: string;
|
|
623
623
|
}
|
|
624
|
+
export interface ListServicesRequest {
|
|
625
|
+
projectId: string;
|
|
626
|
+
}
|
|
624
627
|
export interface ListUserActionLogsRequest {
|
|
625
628
|
projectId: string;
|
|
626
629
|
userId: string;
|
|
@@ -1968,6 +1971,16 @@ export declare class ProjectsServerApi extends runtime.BaseAPI {
|
|
|
1968
1971
|
/**
|
|
1969
1972
|
*/
|
|
1970
1973
|
listServiceHistory(requestParameters: ListServiceHistoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedResponseAccountActionLogObject>;
|
|
1974
|
+
/**
|
|
1975
|
+
* Creates request options for listServices without sending the request
|
|
1976
|
+
*/
|
|
1977
|
+
listServicesRequestOpts(requestParameters: ListServicesRequest): Promise<runtime.RequestOpts>;
|
|
1978
|
+
/**
|
|
1979
|
+
*/
|
|
1980
|
+
listServicesRaw(requestParameters: ListServicesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<ServiceObject>>>;
|
|
1981
|
+
/**
|
|
1982
|
+
*/
|
|
1983
|
+
listServices(requestParameters: ListServicesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<ServiceObject>>;
|
|
1971
1984
|
/**
|
|
1972
1985
|
* Creates request options for listUserActionLogs without sending the request
|
|
1973
1986
|
*/
|
|
@@ -6551,6 +6551,63 @@ var ProjectsServerApi = /** @class */ (function (_super) {
|
|
|
6551
6551
|
});
|
|
6552
6552
|
});
|
|
6553
6553
|
};
|
|
6554
|
+
/**
|
|
6555
|
+
* Creates request options for listServices without sending the request
|
|
6556
|
+
*/
|
|
6557
|
+
ProjectsServerApi.prototype.listServicesRequestOpts = function (requestParameters) {
|
|
6558
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
6559
|
+
var queryParameters, headerParameters, urlPath;
|
|
6560
|
+
return __generator(this, function (_a) {
|
|
6561
|
+
if (requestParameters['projectId'] == null) {
|
|
6562
|
+
throw new runtime.RequiredError('projectId', 'Required parameter "projectId" was null or undefined when calling listServices().');
|
|
6563
|
+
}
|
|
6564
|
+
queryParameters = {};
|
|
6565
|
+
headerParameters = {};
|
|
6566
|
+
urlPath = "/api/v1/projects/{projectId}/services";
|
|
6567
|
+
urlPath = urlPath.replace('{projectId}', encodeURIComponent(String(requestParameters['projectId'])));
|
|
6568
|
+
return [2 /*return*/, {
|
|
6569
|
+
path: urlPath,
|
|
6570
|
+
method: 'GET',
|
|
6571
|
+
headers: headerParameters,
|
|
6572
|
+
query: queryParameters,
|
|
6573
|
+
}];
|
|
6574
|
+
});
|
|
6575
|
+
});
|
|
6576
|
+
};
|
|
6577
|
+
/**
|
|
6578
|
+
*/
|
|
6579
|
+
ProjectsServerApi.prototype.listServicesRaw = function (requestParameters, initOverrides) {
|
|
6580
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
6581
|
+
var requestOptions, response;
|
|
6582
|
+
return __generator(this, function (_a) {
|
|
6583
|
+
switch (_a.label) {
|
|
6584
|
+
case 0: return [4 /*yield*/, this.listServicesRequestOpts(requestParameters)];
|
|
6585
|
+
case 1:
|
|
6586
|
+
requestOptions = _a.sent();
|
|
6587
|
+
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
6588
|
+
case 2:
|
|
6589
|
+
response = _a.sent();
|
|
6590
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return jsonValue.map(ServiceObject_1.ServiceObjectFromJSON); })];
|
|
6591
|
+
}
|
|
6592
|
+
});
|
|
6593
|
+
});
|
|
6594
|
+
};
|
|
6595
|
+
/**
|
|
6596
|
+
*/
|
|
6597
|
+
ProjectsServerApi.prototype.listServices = function (requestParameters, initOverrides) {
|
|
6598
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
6599
|
+
var response;
|
|
6600
|
+
return __generator(this, function (_a) {
|
|
6601
|
+
switch (_a.label) {
|
|
6602
|
+
case 0: return [4 /*yield*/, this.listServicesRaw(requestParameters, initOverrides)];
|
|
6603
|
+
case 1:
|
|
6604
|
+
response = _a.sent();
|
|
6605
|
+
return [4 /*yield*/, response.value()];
|
|
6606
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
6607
|
+
}
|
|
6608
|
+
});
|
|
6609
|
+
});
|
|
6610
|
+
};
|
|
6554
6611
|
/**
|
|
6555
6612
|
* Creates request options for listUserActionLogs without sending the request
|
|
6556
6613
|
*/
|
|
@@ -17,13 +17,13 @@ import type { CreateServiceDatabaseConnectionRequest } from './CreateServiceData
|
|
|
17
17
|
*/
|
|
18
18
|
export interface CreateForteServiceRequest {
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* GitHub repository URL; the Forte GitHub App must be installed on its owner. Required unless codeSourceType is ARTIFACT.
|
|
21
21
|
* @type {string}
|
|
22
22
|
* @memberof CreateForteServiceRequest
|
|
23
23
|
*/
|
|
24
24
|
githubRepositoryUrl?: string | null;
|
|
25
25
|
/**
|
|
26
|
-
*
|
|
26
|
+
* PUSH deploys on every push to githubBranch; RELEASE_PUBLISHED deploys on GitHub releases. Required unless codeSourceType is ARTIFACT.
|
|
27
27
|
* @type {CreateForteServiceRequestBuildTriggerType}
|
|
28
28
|
* @memberof CreateForteServiceRequest
|
|
29
29
|
*/
|
|
@@ -41,7 +41,7 @@ export interface CreateForteServiceRequest {
|
|
|
41
41
|
*/
|
|
42
42
|
artifactId?: string | null;
|
|
43
43
|
/**
|
|
44
|
-
*
|
|
44
|
+
* Branch to build; required for PUSH.
|
|
45
45
|
* @type {string}
|
|
46
46
|
* @memberof CreateForteServiceRequest
|
|
47
47
|
*/
|
|
@@ -101,7 +101,7 @@ export interface CreateForteServiceRequest {
|
|
|
101
101
|
*/
|
|
102
102
|
healthCheckPath?: string | null;
|
|
103
103
|
/**
|
|
104
|
-
*
|
|
104
|
+
* Path of the app inside a monorepo.
|
|
105
105
|
* @type {string}
|
|
106
106
|
* @memberof CreateForteServiceRequest
|
|
107
107
|
*/
|
|
@@ -113,19 +113,19 @@ export interface CreateForteServiceRequest {
|
|
|
113
113
|
*/
|
|
114
114
|
requestResponseBodyLoggingEnabled?: boolean | null;
|
|
115
115
|
/**
|
|
116
|
-
*
|
|
116
|
+
* Ant-style path patterns (e.g. /public/**) that skip Forte user auth.
|
|
117
117
|
* @type {Array<string>}
|
|
118
118
|
* @memberof CreateForteServiceRequest
|
|
119
119
|
*/
|
|
120
120
|
authPathExclusions?: Array<string> | null;
|
|
121
121
|
/**
|
|
122
|
-
*
|
|
122
|
+
* Ant-style path patterns that return 404.
|
|
123
123
|
* @type {Array<string>}
|
|
124
124
|
* @memberof CreateForteServiceRequest
|
|
125
125
|
*/
|
|
126
126
|
blockedPaths?: Array<string> | null;
|
|
127
127
|
/**
|
|
128
|
-
*
|
|
128
|
+
* Managed databases to connect from the first deployment.
|
|
129
129
|
* @type {Array<CreateServiceDatabaseConnectionRequest>}
|
|
130
130
|
* @memberof CreateForteServiceRequest
|
|
131
131
|
*/
|
|
@@ -34,19 +34,19 @@ export interface CreateManagedDatabaseRequest {
|
|
|
34
34
|
*/
|
|
35
35
|
tier: CreateManagedDatabaseRequestTierType;
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
37
|
+
* Ignored on the SHARED tier.
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof CreateManagedDatabaseRequest
|
|
40
40
|
*/
|
|
41
41
|
cpu?: string | null;
|
|
42
42
|
/**
|
|
43
|
-
*
|
|
43
|
+
* Ignored on the SHARED tier.
|
|
44
44
|
* @type {number}
|
|
45
45
|
* @memberof CreateManagedDatabaseRequest
|
|
46
46
|
*/
|
|
47
47
|
memoryGb?: number | null;
|
|
48
48
|
/**
|
|
49
|
-
*
|
|
49
|
+
* Defaults to 2 GB.
|
|
50
50
|
* @type {number}
|
|
51
51
|
* @memberof CreateManagedDatabaseRequest
|
|
52
52
|
*/
|
|
@@ -17,7 +17,7 @@ import type { ManagedDatabaseEnvVarMappings } from './ManagedDatabaseEnvVarMappi
|
|
|
17
17
|
*/
|
|
18
18
|
export interface CreateServiceDatabaseConnectionRequest {
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* An ACTIVE managed database in the same project.
|
|
21
21
|
* @type {string}
|
|
22
22
|
* @memberof CreateServiceDatabaseConnectionRequest
|
|
23
23
|
*/
|
|
@@ -16,37 +16,37 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface CreateServiceToServiceConnectionRequest {
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* The target service whose URL is set; same project.
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof CreateServiceToServiceConnectionRequest
|
|
22
22
|
*/
|
|
23
23
|
serviceId: string;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* Environment variable that receives the URL.
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof CreateServiceToServiceConnectionRequest
|
|
28
28
|
*/
|
|
29
29
|
environmentVariableName: string;
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* FORTE_DOMAIN uses the Forte URL; CUSTOM_DOMAIN uses customDomainId.
|
|
32
32
|
* @type {CreateServiceToServiceConnectionRequestDomainTypeType}
|
|
33
33
|
* @memberof CreateServiceToServiceConnectionRequest
|
|
34
34
|
*/
|
|
35
35
|
domainType: CreateServiceToServiceConnectionRequestDomainTypeType;
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
37
|
+
* An ACTIVE custom domain of the target; required for CUSTOM_DOMAIN.
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof CreateServiceToServiceConnectionRequest
|
|
40
40
|
*/
|
|
41
41
|
customDomainId?: string | null;
|
|
42
42
|
/**
|
|
43
|
-
*
|
|
43
|
+
* Appended to the URL, e.g. /api.
|
|
44
44
|
* @type {string}
|
|
45
45
|
* @memberof CreateServiceToServiceConnectionRequest
|
|
46
46
|
*/
|
|
47
47
|
pathSuffix?: string | null;
|
|
48
48
|
/**
|
|
49
|
-
*
|
|
49
|
+
* Set true to replace a plain environment variable of the same name.
|
|
50
50
|
* @type {boolean}
|
|
51
51
|
* @memberof CreateServiceToServiceConnectionRequest
|
|
52
52
|
*/
|
|
@@ -16,37 +16,37 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface CreateServiceToWebAppConnectionRequest {
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* The web app whose URL is set; same project.
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof CreateServiceToWebAppConnectionRequest
|
|
22
22
|
*/
|
|
23
23
|
webAppId: string;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* Environment variable that receives the URL.
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof CreateServiceToWebAppConnectionRequest
|
|
28
28
|
*/
|
|
29
29
|
environmentVariableName: string;
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* FORTE_DOMAIN uses the Forte URL; CUSTOM_DOMAIN uses customDomainId.
|
|
32
32
|
* @type {CreateServiceToWebAppConnectionRequestDomainTypeType}
|
|
33
33
|
* @memberof CreateServiceToWebAppConnectionRequest
|
|
34
34
|
*/
|
|
35
35
|
domainType: CreateServiceToWebAppConnectionRequestDomainTypeType;
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
37
|
+
* An ACTIVE custom domain of the target; required for CUSTOM_DOMAIN.
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof CreateServiceToWebAppConnectionRequest
|
|
40
40
|
*/
|
|
41
41
|
customDomainId?: string | null;
|
|
42
42
|
/**
|
|
43
|
-
*
|
|
43
|
+
* Appended to the URL, e.g. /api.
|
|
44
44
|
* @type {string}
|
|
45
45
|
* @memberof CreateServiceToWebAppConnectionRequest
|
|
46
46
|
*/
|
|
47
47
|
pathSuffix?: string | null;
|
|
48
48
|
/**
|
|
49
|
-
*
|
|
49
|
+
* Set true to replace a plain environment variable of the same name.
|
|
50
50
|
* @type {boolean}
|
|
51
51
|
* @memberof CreateServiceToWebAppConnectionRequest
|
|
52
52
|
*/
|
|
@@ -16,37 +16,37 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface CreateServiceUrlConnectionRequest {
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* The backend service whose URL is set; same project.
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof CreateServiceUrlConnectionRequest
|
|
22
22
|
*/
|
|
23
23
|
serviceId: string;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* Environment variable that receives the URL.
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof CreateServiceUrlConnectionRequest
|
|
28
28
|
*/
|
|
29
29
|
environmentVariableName: string;
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* FORTE_DOMAIN uses the Forte URL; CUSTOM_DOMAIN uses customDomainId.
|
|
32
32
|
* @type {CreateServiceUrlConnectionRequestDomainTypeType}
|
|
33
33
|
* @memberof CreateServiceUrlConnectionRequest
|
|
34
34
|
*/
|
|
35
35
|
domainType: CreateServiceUrlConnectionRequestDomainTypeType;
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
37
|
+
* An ACTIVE custom domain of the target; required for CUSTOM_DOMAIN.
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof CreateServiceUrlConnectionRequest
|
|
40
40
|
*/
|
|
41
41
|
customDomainId?: string | null;
|
|
42
42
|
/**
|
|
43
|
-
*
|
|
43
|
+
* Appended to the URL, e.g. /api.
|
|
44
44
|
* @type {string}
|
|
45
45
|
* @memberof CreateServiceUrlConnectionRequest
|
|
46
46
|
*/
|
|
47
47
|
pathSuffix?: string | null;
|
|
48
48
|
/**
|
|
49
|
-
*
|
|
49
|
+
* Set true to replace a plain environment variable of the same name.
|
|
50
50
|
* @type {boolean}
|
|
51
51
|
* @memberof CreateServiceUrlConnectionRequest
|
|
52
52
|
*/
|
|
@@ -23,19 +23,19 @@ export interface CreateWebAppRequest {
|
|
|
23
23
|
*/
|
|
24
24
|
webAppName: string;
|
|
25
25
|
/**
|
|
26
|
-
*
|
|
26
|
+
* GitHub repository URL; the Forte GitHub App must be installed on its owner. Required unless codeSourceType is ARTIFACT.
|
|
27
27
|
* @type {string}
|
|
28
28
|
* @memberof CreateWebAppRequest
|
|
29
29
|
*/
|
|
30
30
|
githubRepositoryUrl?: string | null;
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
32
|
+
* Branch to build; required for PUSH.
|
|
33
33
|
* @type {string}
|
|
34
34
|
* @memberof CreateWebAppRequest
|
|
35
35
|
*/
|
|
36
36
|
githubBranch?: string | null;
|
|
37
37
|
/**
|
|
38
|
-
*
|
|
38
|
+
* PUSH deploys on every push to githubBranch; RELEASE_PUBLISHED deploys on GitHub releases. Required unless codeSourceType is ARTIFACT.
|
|
39
39
|
* @type {CreateWebAppRequestBuildTriggerType}
|
|
40
40
|
* @memberof CreateWebAppRequest
|
|
41
41
|
*/
|
|
@@ -53,37 +53,37 @@ export interface CreateWebAppRequest {
|
|
|
53
53
|
*/
|
|
54
54
|
artifactId?: string | null;
|
|
55
55
|
/**
|
|
56
|
-
*
|
|
56
|
+
* Auto-detected when omitted.
|
|
57
57
|
* @type {string}
|
|
58
58
|
* @memberof CreateWebAppRequest
|
|
59
59
|
*/
|
|
60
60
|
buildCommand?: string | null;
|
|
61
61
|
/**
|
|
62
|
-
*
|
|
62
|
+
* Build output directory. Auto-detected when omitted.
|
|
63
63
|
* @type {string}
|
|
64
64
|
* @memberof CreateWebAppRequest
|
|
65
65
|
*/
|
|
66
66
|
buildPath?: string | null;
|
|
67
67
|
/**
|
|
68
|
-
*
|
|
68
|
+
* Auto-detected when omitted.
|
|
69
69
|
* @type {string}
|
|
70
70
|
* @memberof CreateWebAppRequest
|
|
71
71
|
*/
|
|
72
72
|
packageManager?: string | null;
|
|
73
73
|
/**
|
|
74
|
-
*
|
|
74
|
+
* Auto-detected when omitted.
|
|
75
75
|
* @type {string}
|
|
76
76
|
* @memberof CreateWebAppRequest
|
|
77
77
|
*/
|
|
78
78
|
nodeVersion?: string | null;
|
|
79
79
|
/**
|
|
80
|
-
*
|
|
80
|
+
* Auto-detected when omitted.
|
|
81
81
|
* @type {string}
|
|
82
82
|
* @memberof CreateWebAppRequest
|
|
83
83
|
*/
|
|
84
84
|
installCommand?: string | null;
|
|
85
85
|
/**
|
|
86
|
-
*
|
|
86
|
+
* Path of the app inside a monorepo.
|
|
87
87
|
* @type {string}
|
|
88
88
|
* @memberof CreateWebAppRequest
|
|
89
89
|
*/
|
|
@@ -105,7 +105,7 @@ export interface CreateWebAppRequest {
|
|
|
105
105
|
[key: string]: string;
|
|
106
106
|
};
|
|
107
107
|
/**
|
|
108
|
-
*
|
|
108
|
+
* Backend service URLs to set as environment variables from the first build.
|
|
109
109
|
* @type {Array<CreateServiceUrlConnectionRequest>}
|
|
110
110
|
* @memberof CreateWebAppRequest
|
|
111
111
|
*/
|
|
@@ -16,49 +16,49 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface ManagedDatabaseEnvVarMappings {
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* Environment variable that receives the full connection string, e.g. DATABASE_URL.
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof ManagedDatabaseEnvVarMappings
|
|
22
22
|
*/
|
|
23
23
|
connectionStringEnvVar?: string | null;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* Environment variable that receives the host.
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof ManagedDatabaseEnvVarMappings
|
|
28
28
|
*/
|
|
29
29
|
hostEnvVar?: string | null;
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* Environment variable that receives the port.
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof ManagedDatabaseEnvVarMappings
|
|
34
34
|
*/
|
|
35
35
|
portEnvVar?: string | null;
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
37
|
+
* Environment variable that receives the database name.
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof ManagedDatabaseEnvVarMappings
|
|
40
40
|
*/
|
|
41
41
|
databaseEnvVar?: string | null;
|
|
42
42
|
/**
|
|
43
|
-
*
|
|
43
|
+
* Environment variable that receives the username.
|
|
44
44
|
* @type {string}
|
|
45
45
|
* @memberof ManagedDatabaseEnvVarMappings
|
|
46
46
|
*/
|
|
47
47
|
usernameEnvVar?: string | null;
|
|
48
48
|
/**
|
|
49
|
-
*
|
|
49
|
+
* Environment variable that receives the password.
|
|
50
50
|
* @type {string}
|
|
51
51
|
* @memberof ManagedDatabaseEnvVarMappings
|
|
52
52
|
*/
|
|
53
53
|
passwordEnvVar?: string | null;
|
|
54
54
|
/**
|
|
55
|
-
*
|
|
55
|
+
* Connection string dialect for the consuming driver. Defaults to URI; CUSTOM uses connectionStringTemplate.
|
|
56
56
|
* @type {ManagedDatabaseEnvVarMappingsConnectionStringFormatType}
|
|
57
57
|
* @memberof ManagedDatabaseEnvVarMappings
|
|
58
58
|
*/
|
|
59
59
|
connectionStringFormat?: ManagedDatabaseEnvVarMappingsConnectionStringFormatType | null;
|
|
60
60
|
/**
|
|
61
|
-
*
|
|
61
|
+
* CUSTOM format only. Placeholders: {host} {port} {database} {username} {password} {sslmode}.
|
|
62
62
|
* @type {string}
|
|
63
63
|
* @memberof ManagedDatabaseEnvVarMappings
|
|
64
64
|
*/
|
|
@@ -16,31 +16,31 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface UpdateServiceToServiceConnectionRequest {
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* The target service whose URL is set; same project.
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof UpdateServiceToServiceConnectionRequest
|
|
22
22
|
*/
|
|
23
23
|
serviceId: string;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* Environment variable that receives the URL.
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof UpdateServiceToServiceConnectionRequest
|
|
28
28
|
*/
|
|
29
29
|
environmentVariableName: string;
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* FORTE_DOMAIN uses the Forte URL; CUSTOM_DOMAIN uses customDomainId.
|
|
32
32
|
* @type {UpdateServiceToServiceConnectionRequestDomainTypeType}
|
|
33
33
|
* @memberof UpdateServiceToServiceConnectionRequest
|
|
34
34
|
*/
|
|
35
35
|
domainType: UpdateServiceToServiceConnectionRequestDomainTypeType;
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
37
|
+
* An ACTIVE custom domain of the target; required for CUSTOM_DOMAIN.
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof UpdateServiceToServiceConnectionRequest
|
|
40
40
|
*/
|
|
41
41
|
customDomainId?: string | null;
|
|
42
42
|
/**
|
|
43
|
-
*
|
|
43
|
+
* Appended to the URL, e.g. /api.
|
|
44
44
|
* @type {string}
|
|
45
45
|
* @memberof UpdateServiceToServiceConnectionRequest
|
|
46
46
|
*/
|
|
@@ -16,31 +16,31 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface UpdateServiceToWebAppConnectionRequest {
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* The web app whose URL is set; same project.
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof UpdateServiceToWebAppConnectionRequest
|
|
22
22
|
*/
|
|
23
23
|
webAppId: string;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* Environment variable that receives the URL.
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof UpdateServiceToWebAppConnectionRequest
|
|
28
28
|
*/
|
|
29
29
|
environmentVariableName: string;
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* FORTE_DOMAIN uses the Forte URL; CUSTOM_DOMAIN uses customDomainId.
|
|
32
32
|
* @type {UpdateServiceToWebAppConnectionRequestDomainTypeType}
|
|
33
33
|
* @memberof UpdateServiceToWebAppConnectionRequest
|
|
34
34
|
*/
|
|
35
35
|
domainType: UpdateServiceToWebAppConnectionRequestDomainTypeType;
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
37
|
+
* An ACTIVE custom domain of the target; required for CUSTOM_DOMAIN.
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof UpdateServiceToWebAppConnectionRequest
|
|
40
40
|
*/
|
|
41
41
|
customDomainId?: string | null;
|
|
42
42
|
/**
|
|
43
|
-
*
|
|
43
|
+
* Appended to the URL, e.g. /api.
|
|
44
44
|
* @type {string}
|
|
45
45
|
* @memberof UpdateServiceToWebAppConnectionRequest
|
|
46
46
|
*/
|
|
@@ -16,31 +16,31 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface UpdateServiceUrlConnectionRequest {
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* The backend service whose URL is set; same project.
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof UpdateServiceUrlConnectionRequest
|
|
22
22
|
*/
|
|
23
23
|
serviceId: string;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* Environment variable that receives the URL.
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof UpdateServiceUrlConnectionRequest
|
|
28
28
|
*/
|
|
29
29
|
environmentVariableName: string;
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* FORTE_DOMAIN uses the Forte URL; CUSTOM_DOMAIN uses customDomainId.
|
|
32
32
|
* @type {UpdateServiceUrlConnectionRequestDomainTypeType}
|
|
33
33
|
* @memberof UpdateServiceUrlConnectionRequest
|
|
34
34
|
*/
|
|
35
35
|
domainType: UpdateServiceUrlConnectionRequestDomainTypeType;
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
37
|
+
* An ACTIVE custom domain of the target; required for CUSTOM_DOMAIN.
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof UpdateServiceUrlConnectionRequest
|
|
40
40
|
*/
|
|
41
41
|
customDomainId?: string | null;
|
|
42
42
|
/**
|
|
43
|
-
*
|
|
43
|
+
* Appended to the URL, e.g. /api.
|
|
44
44
|
* @type {string}
|
|
45
45
|
* @memberof UpdateServiceUrlConnectionRequest
|
|
46
46
|
*/
|