@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.
Files changed (29) 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/CustomDomain.d.ts +112 -0
  6. package/dist/generated/models/CustomDomain.js +95 -0
  7. package/dist/generated/models/CustomDomainResponse.d.ts +33 -0
  8. package/dist/generated/models/CustomDomainResponse.js +50 -0
  9. package/dist/generated/models/DnsRecordCheck.d.ts +62 -0
  10. package/dist/generated/models/DnsRecordCheck.js +67 -0
  11. package/dist/generated/models/DnsRecordRequirement.d.ts +87 -0
  12. package/dist/generated/models/DnsRecordRequirement.js +83 -0
  13. package/dist/generated/models/DnsValidationResult.d.ts +45 -0
  14. package/dist/generated/models/DnsValidationResult.js +54 -0
  15. package/dist/generated/models/ForteApiException.d.ts +5 -0
  16. package/dist/generated/models/ForteApiException.js +6 -1
  17. package/dist/generated/models/ListCustomDomainsResponse.d.ts +33 -0
  18. package/dist/generated/models/ListCustomDomainsResponse.js +50 -0
  19. package/dist/generated/models/SyncCustomDomainResponse.d.ts +40 -0
  20. package/dist/generated/models/SyncCustomDomainResponse.js +53 -0
  21. package/dist/generated/models/WebAppBuildRequestObject.d.ts +28 -0
  22. package/dist/generated/models/WebAppBuildRequestObject.js +16 -1
  23. package/dist/generated/models/WebAppDetectionResponse.d.ts +28 -0
  24. package/dist/generated/models/WebAppDetectionResponse.js +16 -1
  25. package/dist/generated/models/WebAppObject.d.ts +37 -2
  26. package/dist/generated/models/WebAppObject.js +21 -3
  27. package/dist/generated/models/index.d.ts +8 -0
  28. package/dist/generated/models/index.js +8 -0
  29. package/package.json +1 -1
@@ -17,6 +17,7 @@ import { type ContactMethod } from '../models/ContactMethod';
17
17
  import { type ContentObject } from '../models/ContentObject';
18
18
  import { type CreateContentUploadLinkRequest } from '../models/CreateContentUploadLinkRequest';
19
19
  import { type CreateContentUploadLinkResponse } from '../models/CreateContentUploadLinkResponse';
20
+ import { type CreateCustomDomainRequest } from '../models/CreateCustomDomainRequest';
20
21
  import { type CreateForteServiceRequest } from '../models/CreateForteServiceRequest';
21
22
  import { type CreatePaymentPreviewRequest } from '../models/CreatePaymentPreviewRequest';
22
23
  import { type CreatePaymentPreviewResponse } from '../models/CreatePaymentPreviewResponse';
@@ -28,9 +29,11 @@ import { type CreateProjectApiKeyResponse } from '../models/CreateProjectApiKeyR
28
29
  import { type CreateServiceRequestProxyRequest } from '../models/CreateServiceRequestProxyRequest';
29
30
  import { type CreateServiceRequestProxyResponse } from '../models/CreateServiceRequestProxyResponse';
30
31
  import { type CreateWebAppRequest } from '../models/CreateWebAppRequest';
32
+ import { type CustomDomainResponse } from '../models/CustomDomainResponse';
31
33
  import { type GetContentDownloadLinkResponse } from '../models/GetContentDownloadLinkResponse';
32
34
  import { type ImpersonationTokenResponse } from '../models/ImpersonationTokenResponse';
33
35
  import { type ListContentResponse } from '../models/ListContentResponse';
36
+ import { type ListCustomDomainsResponse } from '../models/ListCustomDomainsResponse';
34
37
  import { type NotificationTemplatesResponse } from '../models/NotificationTemplatesResponse';
35
38
  import { type PaginatedResponseLogLineObject } from '../models/PaginatedResponseLogLineObject';
36
39
  import { type PaginatedResponsePaymentObject } from '../models/PaginatedResponsePaymentObject';
@@ -48,6 +51,7 @@ import { type SendUserSmsRequest } from '../models/SendUserSmsRequest';
48
51
  import { type ServiceBuildRequestObject } from '../models/ServiceBuildRequestObject';
49
52
  import { type ServiceMetricsResponse } from '../models/ServiceMetricsResponse';
50
53
  import { type ServiceObject } from '../models/ServiceObject';
54
+ import { type SyncCustomDomainResponse } from '../models/SyncCustomDomainResponse';
51
55
  import { type TestInvocationRequest } from '../models/TestInvocationRequest';
52
56
  import { type TestInvocationResponse } from '../models/TestInvocationResponse';
53
57
  import { type UpdateContentSharesRequest } from '../models/UpdateContentSharesRequest';
@@ -89,6 +93,11 @@ export interface AdminVerifyUserContactMethodRequest {
89
93
  contactMethodId: string;
90
94
  verificationCode: string;
91
95
  }
96
+ export interface CreateCustomDomainOperationRequest {
97
+ projectId: string;
98
+ webAppId: string;
99
+ createCustomDomainRequest: CreateCustomDomainRequest;
100
+ }
92
101
  export interface CreatePaymentTriggerOperationRequest {
93
102
  projectId: string;
94
103
  createPaymentTriggerRequest: CreatePaymentTriggerRequest;
@@ -124,6 +133,11 @@ export interface CreateWebAppDeploymentRequest {
124
133
  webAppId: string;
125
134
  commitSha?: string;
126
135
  }
136
+ export interface DeleteCustomDomainRequest {
137
+ projectId: string;
138
+ webAppId: string;
139
+ customDomainId: string;
140
+ }
127
141
  export interface DeletePaymentTriggerRequest {
128
142
  projectId: string;
129
143
  triggerId: string;
@@ -147,6 +161,11 @@ export interface DeleteWebAppRequest {
147
161
  projectId: string;
148
162
  webAppId: string;
149
163
  }
164
+ export interface GetCustomDomainRequest {
165
+ projectId: string;
166
+ webAppId: string;
167
+ customDomainId: string;
168
+ }
150
169
  export interface GetNotificationTemplatesRequest {
151
170
  projectId: string;
152
171
  }
@@ -197,6 +216,10 @@ export interface IssueImpersonationTokenRequest {
197
216
  projectId: string;
198
217
  userId: string;
199
218
  }
219
+ export interface ListCustomDomainsRequest {
220
+ projectId: string;
221
+ webAppId: string;
222
+ }
200
223
  export interface ListLogLinesRequest {
201
224
  projectId: string;
202
225
  serviceId: string;
@@ -253,6 +276,15 @@ export interface ListUsersRequest {
253
276
  maxTime?: Date;
254
277
  nextToken?: string;
255
278
  }
279
+ export interface ListWebAppBuildLogLinesRequest {
280
+ projectId: string;
281
+ webAppId: string;
282
+ buildId: string;
283
+ minTime?: Date;
284
+ maxTime?: Date;
285
+ level?: string;
286
+ nextToken?: string;
287
+ }
256
288
  export interface ListWebAppDeploymentsRequest {
257
289
  projectId: string;
258
290
  webAppId: string;
@@ -345,6 +377,11 @@ export interface SuspendUserRequest {
345
377
  userId: string;
346
378
  projectId: string;
347
379
  }
380
+ export interface SyncCustomDomainRequest {
381
+ projectId: string;
382
+ webAppId: string;
383
+ customDomainId: string;
384
+ }
348
385
  export interface TestInvocationOperationRequest {
349
386
  projectId: string;
350
387
  serviceId: string;
@@ -427,6 +464,16 @@ export declare class ProjectsServerApi extends runtime.BaseAPI {
427
464
  /**
428
465
  */
429
466
  adminVerifyUserContactMethod(requestParameters: AdminVerifyUserContactMethodRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ContactMethod>;
467
+ /**
468
+ * Creates request options for createCustomDomain without sending the request
469
+ */
470
+ createCustomDomainRequestOpts(requestParameters: CreateCustomDomainOperationRequest): Promise<runtime.RequestOpts>;
471
+ /**
472
+ */
473
+ createCustomDomainRaw(requestParameters: CreateCustomDomainOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CustomDomainResponse>>;
474
+ /**
475
+ */
476
+ createCustomDomain(requestParameters: CreateCustomDomainOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CustomDomainResponse>;
430
477
  /**
431
478
  * Creates request options for createPaymentTrigger without sending the request
432
479
  */
@@ -507,6 +554,16 @@ export declare class ProjectsServerApi extends runtime.BaseAPI {
507
554
  /**
508
555
  */
509
556
  createWebAppDeployment(requestParameters: CreateWebAppDeploymentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WebAppBuildRequestObject>;
557
+ /**
558
+ * Creates request options for deleteCustomDomain without sending the request
559
+ */
560
+ deleteCustomDomainRequestOpts(requestParameters: DeleteCustomDomainRequest): Promise<runtime.RequestOpts>;
561
+ /**
562
+ */
563
+ deleteCustomDomainRaw(requestParameters: DeleteCustomDomainRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
564
+ /**
565
+ */
566
+ deleteCustomDomain(requestParameters: DeleteCustomDomainRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
510
567
  /**
511
568
  * Creates request options for deletePaymentTrigger without sending the request
512
569
  */
@@ -567,6 +624,16 @@ export declare class ProjectsServerApi extends runtime.BaseAPI {
567
624
  /**
568
625
  */
569
626
  deleteWebApp(requestParameters: DeleteWebAppRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
627
+ /**
628
+ * Creates request options for getCustomDomain without sending the request
629
+ */
630
+ getCustomDomainRequestOpts(requestParameters: GetCustomDomainRequest): Promise<runtime.RequestOpts>;
631
+ /**
632
+ */
633
+ getCustomDomainRaw(requestParameters: GetCustomDomainRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CustomDomainResponse>>;
634
+ /**
635
+ */
636
+ getCustomDomain(requestParameters: GetCustomDomainRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CustomDomainResponse>;
570
637
  /**
571
638
  * Creates request options for getNotificationTemplates without sending the request
572
639
  */
@@ -677,6 +744,16 @@ export declare class ProjectsServerApi extends runtime.BaseAPI {
677
744
  /**
678
745
  */
679
746
  issueImpersonationToken(requestParameters: IssueImpersonationTokenRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ImpersonationTokenResponse>;
747
+ /**
748
+ * Creates request options for listCustomDomains without sending the request
749
+ */
750
+ listCustomDomainsRequestOpts(requestParameters: ListCustomDomainsRequest): Promise<runtime.RequestOpts>;
751
+ /**
752
+ */
753
+ listCustomDomainsRaw(requestParameters: ListCustomDomainsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListCustomDomainsResponse>>;
754
+ /**
755
+ */
756
+ listCustomDomains(requestParameters: ListCustomDomainsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListCustomDomainsResponse>;
680
757
  /**
681
758
  * Creates request options for listLogLines without sending the request
682
759
  */
@@ -767,6 +844,16 @@ export declare class ProjectsServerApi extends runtime.BaseAPI {
767
844
  /**
768
845
  */
769
846
  listUsers(requestParameters: ListUsersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedResponseUserObject>;
847
+ /**
848
+ * Creates request options for listWebAppBuildLogLines without sending the request
849
+ */
850
+ listWebAppBuildLogLinesRequestOpts(requestParameters: ListWebAppBuildLogLinesRequest): Promise<runtime.RequestOpts>;
851
+ /**
852
+ */
853
+ listWebAppBuildLogLinesRaw(requestParameters: ListWebAppBuildLogLinesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedResponseLogLineObject>>;
854
+ /**
855
+ */
856
+ listWebAppBuildLogLines(requestParameters: ListWebAppBuildLogLinesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedResponseLogLineObject>;
770
857
  /**
771
858
  * Creates request options for listWebAppDeployments without sending the request
772
859
  */
@@ -937,6 +1024,16 @@ export declare class ProjectsServerApi extends runtime.BaseAPI {
937
1024
  /**
938
1025
  */
939
1026
  suspendUser(requestParameters: SuspendUserRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<UserObject>;
1027
+ /**
1028
+ * Creates request options for syncCustomDomain without sending the request
1029
+ */
1030
+ syncCustomDomainRequestOpts(requestParameters: SyncCustomDomainRequest): Promise<runtime.RequestOpts>;
1031
+ /**
1032
+ */
1033
+ syncCustomDomainRaw(requestParameters: SyncCustomDomainRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SyncCustomDomainResponse>>;
1034
+ /**
1035
+ */
1036
+ syncCustomDomain(requestParameters: SyncCustomDomainRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SyncCustomDomainResponse>;
940
1037
  /**
941
1038
  * Creates request options for testInvocation without sending the request
942
1039
  */
@@ -73,6 +73,7 @@ var ContactMethod_1 = require("../models/ContactMethod");
73
73
  var ContentObject_1 = require("../models/ContentObject");
74
74
  var CreateContentUploadLinkRequest_1 = require("../models/CreateContentUploadLinkRequest");
75
75
  var CreateContentUploadLinkResponse_1 = require("../models/CreateContentUploadLinkResponse");
76
+ var CreateCustomDomainRequest_1 = require("../models/CreateCustomDomainRequest");
76
77
  var CreateForteServiceRequest_1 = require("../models/CreateForteServiceRequest");
77
78
  var CreatePaymentPreviewRequest_1 = require("../models/CreatePaymentPreviewRequest");
78
79
  var CreatePaymentPreviewResponse_1 = require("../models/CreatePaymentPreviewResponse");
@@ -84,9 +85,11 @@ var CreateProjectApiKeyResponse_1 = require("../models/CreateProjectApiKeyRespon
84
85
  var CreateServiceRequestProxyRequest_1 = require("../models/CreateServiceRequestProxyRequest");
85
86
  var CreateServiceRequestProxyResponse_1 = require("../models/CreateServiceRequestProxyResponse");
86
87
  var CreateWebAppRequest_1 = require("../models/CreateWebAppRequest");
88
+ var CustomDomainResponse_1 = require("../models/CustomDomainResponse");
87
89
  var GetContentDownloadLinkResponse_1 = require("../models/GetContentDownloadLinkResponse");
88
90
  var ImpersonationTokenResponse_1 = require("../models/ImpersonationTokenResponse");
89
91
  var ListContentResponse_1 = require("../models/ListContentResponse");
92
+ var ListCustomDomainsResponse_1 = require("../models/ListCustomDomainsResponse");
90
93
  var NotificationTemplatesResponse_1 = require("../models/NotificationTemplatesResponse");
91
94
  var PaginatedResponseLogLineObject_1 = require("../models/PaginatedResponseLogLineObject");
92
95
  var PaginatedResponsePaymentObject_1 = require("../models/PaginatedResponsePaymentObject");
@@ -104,6 +107,7 @@ var SendUserSmsRequest_1 = require("../models/SendUserSmsRequest");
104
107
  var ServiceBuildRequestObject_1 = require("../models/ServiceBuildRequestObject");
105
108
  var ServiceMetricsResponse_1 = require("../models/ServiceMetricsResponse");
106
109
  var ServiceObject_1 = require("../models/ServiceObject");
110
+ var SyncCustomDomainResponse_1 = require("../models/SyncCustomDomainResponse");
107
111
  var TestInvocationRequest_1 = require("../models/TestInvocationRequest");
108
112
  var TestInvocationResponse_1 = require("../models/TestInvocationResponse");
109
113
  var UpdateContentSharesRequest_1 = require("../models/UpdateContentSharesRequest");
@@ -461,6 +465,72 @@ var ProjectsServerApi = /** @class */ (function (_super) {
461
465
  });
462
466
  });
463
467
  };
468
+ /**
469
+ * Creates request options for createCustomDomain without sending the request
470
+ */
471
+ ProjectsServerApi.prototype.createCustomDomainRequestOpts = function (requestParameters) {
472
+ return __awaiter(this, void 0, void 0, function () {
473
+ var queryParameters, headerParameters, urlPath;
474
+ return __generator(this, function (_a) {
475
+ if (requestParameters['projectId'] == null) {
476
+ throw new runtime.RequiredError('projectId', 'Required parameter "projectId" was null or undefined when calling createCustomDomain().');
477
+ }
478
+ if (requestParameters['webAppId'] == null) {
479
+ throw new runtime.RequiredError('webAppId', 'Required parameter "webAppId" was null or undefined when calling createCustomDomain().');
480
+ }
481
+ if (requestParameters['createCustomDomainRequest'] == null) {
482
+ throw new runtime.RequiredError('createCustomDomainRequest', 'Required parameter "createCustomDomainRequest" was null or undefined when calling createCustomDomain().');
483
+ }
484
+ queryParameters = {};
485
+ headerParameters = {};
486
+ headerParameters['Content-Type'] = 'application/json';
487
+ urlPath = "/api/v1/projects/{projectId}/web-apps/{webAppId}/custom-domains";
488
+ urlPath = urlPath.replace('{projectId}', encodeURIComponent(String(requestParameters['projectId'])));
489
+ urlPath = urlPath.replace('{webAppId}', encodeURIComponent(String(requestParameters['webAppId'])));
490
+ return [2 /*return*/, {
491
+ path: urlPath,
492
+ method: 'POST',
493
+ headers: headerParameters,
494
+ query: queryParameters,
495
+ body: (0, CreateCustomDomainRequest_1.CreateCustomDomainRequestToJSON)(requestParameters['createCustomDomainRequest']),
496
+ }];
497
+ });
498
+ });
499
+ };
500
+ /**
501
+ */
502
+ ProjectsServerApi.prototype.createCustomDomainRaw = function (requestParameters, initOverrides) {
503
+ return __awaiter(this, void 0, void 0, function () {
504
+ var requestOptions, response;
505
+ return __generator(this, function (_a) {
506
+ switch (_a.label) {
507
+ case 0: return [4 /*yield*/, this.createCustomDomainRequestOpts(requestParameters)];
508
+ case 1:
509
+ requestOptions = _a.sent();
510
+ return [4 /*yield*/, this.request(requestOptions, initOverrides)];
511
+ case 2:
512
+ response = _a.sent();
513
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, CustomDomainResponse_1.CustomDomainResponseFromJSON)(jsonValue); })];
514
+ }
515
+ });
516
+ });
517
+ };
518
+ /**
519
+ */
520
+ ProjectsServerApi.prototype.createCustomDomain = function (requestParameters, initOverrides) {
521
+ return __awaiter(this, void 0, void 0, function () {
522
+ var response;
523
+ return __generator(this, function (_a) {
524
+ switch (_a.label) {
525
+ case 0: return [4 /*yield*/, this.createCustomDomainRaw(requestParameters, initOverrides)];
526
+ case 1:
527
+ response = _a.sent();
528
+ return [4 /*yield*/, response.value()];
529
+ case 2: return [2 /*return*/, _a.sent()];
530
+ }
531
+ });
532
+ });
533
+ };
464
534
  /**
465
535
  * Creates request options for createPaymentTrigger without sending the request
466
536
  */
@@ -965,6 +1035,69 @@ var ProjectsServerApi = /** @class */ (function (_super) {
965
1035
  });
966
1036
  });
967
1037
  };
1038
+ /**
1039
+ * Creates request options for deleteCustomDomain without sending the request
1040
+ */
1041
+ ProjectsServerApi.prototype.deleteCustomDomainRequestOpts = function (requestParameters) {
1042
+ return __awaiter(this, void 0, void 0, function () {
1043
+ var queryParameters, headerParameters, urlPath;
1044
+ return __generator(this, function (_a) {
1045
+ if (requestParameters['projectId'] == null) {
1046
+ throw new runtime.RequiredError('projectId', 'Required parameter "projectId" was null or undefined when calling deleteCustomDomain().');
1047
+ }
1048
+ if (requestParameters['webAppId'] == null) {
1049
+ throw new runtime.RequiredError('webAppId', 'Required parameter "webAppId" was null or undefined when calling deleteCustomDomain().');
1050
+ }
1051
+ if (requestParameters['customDomainId'] == null) {
1052
+ throw new runtime.RequiredError('customDomainId', 'Required parameter "customDomainId" was null or undefined when calling deleteCustomDomain().');
1053
+ }
1054
+ queryParameters = {};
1055
+ headerParameters = {};
1056
+ urlPath = "/api/v1/projects/{projectId}/web-apps/{webAppId}/custom-domains/{customDomainId}";
1057
+ urlPath = urlPath.replace('{projectId}', encodeURIComponent(String(requestParameters['projectId'])));
1058
+ urlPath = urlPath.replace('{webAppId}', encodeURIComponent(String(requestParameters['webAppId'])));
1059
+ urlPath = urlPath.replace('{customDomainId}', encodeURIComponent(String(requestParameters['customDomainId'])));
1060
+ return [2 /*return*/, {
1061
+ path: urlPath,
1062
+ method: 'DELETE',
1063
+ headers: headerParameters,
1064
+ query: queryParameters,
1065
+ }];
1066
+ });
1067
+ });
1068
+ };
1069
+ /**
1070
+ */
1071
+ ProjectsServerApi.prototype.deleteCustomDomainRaw = function (requestParameters, initOverrides) {
1072
+ return __awaiter(this, void 0, void 0, function () {
1073
+ var requestOptions, response;
1074
+ return __generator(this, function (_a) {
1075
+ switch (_a.label) {
1076
+ case 0: return [4 /*yield*/, this.deleteCustomDomainRequestOpts(requestParameters)];
1077
+ case 1:
1078
+ requestOptions = _a.sent();
1079
+ return [4 /*yield*/, this.request(requestOptions, initOverrides)];
1080
+ case 2:
1081
+ response = _a.sent();
1082
+ return [2 /*return*/, new runtime.VoidApiResponse(response)];
1083
+ }
1084
+ });
1085
+ });
1086
+ };
1087
+ /**
1088
+ */
1089
+ ProjectsServerApi.prototype.deleteCustomDomain = function (requestParameters, initOverrides) {
1090
+ return __awaiter(this, void 0, void 0, function () {
1091
+ return __generator(this, function (_a) {
1092
+ switch (_a.label) {
1093
+ case 0: return [4 /*yield*/, this.deleteCustomDomainRaw(requestParameters, initOverrides)];
1094
+ case 1:
1095
+ _a.sent();
1096
+ return [2 /*return*/];
1097
+ }
1098
+ });
1099
+ });
1100
+ };
968
1101
  /**
969
1102
  * Creates request options for deletePaymentTrigger without sending the request
970
1103
  */
@@ -1315,6 +1448,71 @@ var ProjectsServerApi = /** @class */ (function (_super) {
1315
1448
  });
1316
1449
  });
1317
1450
  };
1451
+ /**
1452
+ * Creates request options for getCustomDomain without sending the request
1453
+ */
1454
+ ProjectsServerApi.prototype.getCustomDomainRequestOpts = function (requestParameters) {
1455
+ return __awaiter(this, void 0, void 0, function () {
1456
+ var queryParameters, headerParameters, urlPath;
1457
+ return __generator(this, function (_a) {
1458
+ if (requestParameters['projectId'] == null) {
1459
+ throw new runtime.RequiredError('projectId', 'Required parameter "projectId" was null or undefined when calling getCustomDomain().');
1460
+ }
1461
+ if (requestParameters['webAppId'] == null) {
1462
+ throw new runtime.RequiredError('webAppId', 'Required parameter "webAppId" was null or undefined when calling getCustomDomain().');
1463
+ }
1464
+ if (requestParameters['customDomainId'] == null) {
1465
+ throw new runtime.RequiredError('customDomainId', 'Required parameter "customDomainId" was null or undefined when calling getCustomDomain().');
1466
+ }
1467
+ queryParameters = {};
1468
+ headerParameters = {};
1469
+ urlPath = "/api/v1/projects/{projectId}/web-apps/{webAppId}/custom-domains/{customDomainId}";
1470
+ urlPath = urlPath.replace('{projectId}', encodeURIComponent(String(requestParameters['projectId'])));
1471
+ urlPath = urlPath.replace('{webAppId}', encodeURIComponent(String(requestParameters['webAppId'])));
1472
+ urlPath = urlPath.replace('{customDomainId}', encodeURIComponent(String(requestParameters['customDomainId'])));
1473
+ return [2 /*return*/, {
1474
+ path: urlPath,
1475
+ method: 'GET',
1476
+ headers: headerParameters,
1477
+ query: queryParameters,
1478
+ }];
1479
+ });
1480
+ });
1481
+ };
1482
+ /**
1483
+ */
1484
+ ProjectsServerApi.prototype.getCustomDomainRaw = function (requestParameters, initOverrides) {
1485
+ return __awaiter(this, void 0, void 0, function () {
1486
+ var requestOptions, response;
1487
+ return __generator(this, function (_a) {
1488
+ switch (_a.label) {
1489
+ case 0: return [4 /*yield*/, this.getCustomDomainRequestOpts(requestParameters)];
1490
+ case 1:
1491
+ requestOptions = _a.sent();
1492
+ return [4 /*yield*/, this.request(requestOptions, initOverrides)];
1493
+ case 2:
1494
+ response = _a.sent();
1495
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, CustomDomainResponse_1.CustomDomainResponseFromJSON)(jsonValue); })];
1496
+ }
1497
+ });
1498
+ });
1499
+ };
1500
+ /**
1501
+ */
1502
+ ProjectsServerApi.prototype.getCustomDomain = function (requestParameters, initOverrides) {
1503
+ return __awaiter(this, void 0, void 0, function () {
1504
+ var response;
1505
+ return __generator(this, function (_a) {
1506
+ switch (_a.label) {
1507
+ case 0: return [4 /*yield*/, this.getCustomDomainRaw(requestParameters, initOverrides)];
1508
+ case 1:
1509
+ response = _a.sent();
1510
+ return [4 /*yield*/, response.value()];
1511
+ case 2: return [2 /*return*/, _a.sent()];
1512
+ }
1513
+ });
1514
+ });
1515
+ };
1318
1516
  /**
1319
1517
  * Creates request options for getNotificationTemplates without sending the request
1320
1518
  */
@@ -2004,6 +2202,67 @@ var ProjectsServerApi = /** @class */ (function (_super) {
2004
2202
  });
2005
2203
  });
2006
2204
  };
2205
+ /**
2206
+ * Creates request options for listCustomDomains without sending the request
2207
+ */
2208
+ ProjectsServerApi.prototype.listCustomDomainsRequestOpts = function (requestParameters) {
2209
+ return __awaiter(this, void 0, void 0, function () {
2210
+ var queryParameters, headerParameters, urlPath;
2211
+ return __generator(this, function (_a) {
2212
+ if (requestParameters['projectId'] == null) {
2213
+ throw new runtime.RequiredError('projectId', 'Required parameter "projectId" was null or undefined when calling listCustomDomains().');
2214
+ }
2215
+ if (requestParameters['webAppId'] == null) {
2216
+ throw new runtime.RequiredError('webAppId', 'Required parameter "webAppId" was null or undefined when calling listCustomDomains().');
2217
+ }
2218
+ queryParameters = {};
2219
+ headerParameters = {};
2220
+ urlPath = "/api/v1/projects/{projectId}/web-apps/{webAppId}/custom-domains";
2221
+ urlPath = urlPath.replace('{projectId}', encodeURIComponent(String(requestParameters['projectId'])));
2222
+ urlPath = urlPath.replace('{webAppId}', encodeURIComponent(String(requestParameters['webAppId'])));
2223
+ return [2 /*return*/, {
2224
+ path: urlPath,
2225
+ method: 'GET',
2226
+ headers: headerParameters,
2227
+ query: queryParameters,
2228
+ }];
2229
+ });
2230
+ });
2231
+ };
2232
+ /**
2233
+ */
2234
+ ProjectsServerApi.prototype.listCustomDomainsRaw = function (requestParameters, initOverrides) {
2235
+ return __awaiter(this, void 0, void 0, function () {
2236
+ var requestOptions, response;
2237
+ return __generator(this, function (_a) {
2238
+ switch (_a.label) {
2239
+ case 0: return [4 /*yield*/, this.listCustomDomainsRequestOpts(requestParameters)];
2240
+ case 1:
2241
+ requestOptions = _a.sent();
2242
+ return [4 /*yield*/, this.request(requestOptions, initOverrides)];
2243
+ case 2:
2244
+ response = _a.sent();
2245
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, ListCustomDomainsResponse_1.ListCustomDomainsResponseFromJSON)(jsonValue); })];
2246
+ }
2247
+ });
2248
+ });
2249
+ };
2250
+ /**
2251
+ */
2252
+ ProjectsServerApi.prototype.listCustomDomains = function (requestParameters, initOverrides) {
2253
+ return __awaiter(this, void 0, void 0, function () {
2254
+ var response;
2255
+ return __generator(this, function (_a) {
2256
+ switch (_a.label) {
2257
+ case 0: return [4 /*yield*/, this.listCustomDomainsRaw(requestParameters, initOverrides)];
2258
+ case 1:
2259
+ response = _a.sent();
2260
+ return [4 /*yield*/, response.value()];
2261
+ case 2: return [2 /*return*/, _a.sent()];
2262
+ }
2263
+ });
2264
+ });
2265
+ };
2007
2266
  /**
2008
2267
  * Creates request options for listLogLines without sending the request
2009
2268
  */
@@ -2614,6 +2873,83 @@ var ProjectsServerApi = /** @class */ (function (_super) {
2614
2873
  });
2615
2874
  });
2616
2875
  };
2876
+ /**
2877
+ * Creates request options for listWebAppBuildLogLines without sending the request
2878
+ */
2879
+ ProjectsServerApi.prototype.listWebAppBuildLogLinesRequestOpts = function (requestParameters) {
2880
+ return __awaiter(this, void 0, void 0, function () {
2881
+ var queryParameters, headerParameters, urlPath;
2882
+ return __generator(this, function (_a) {
2883
+ if (requestParameters['projectId'] == null) {
2884
+ throw new runtime.RequiredError('projectId', 'Required parameter "projectId" was null or undefined when calling listWebAppBuildLogLines().');
2885
+ }
2886
+ if (requestParameters['webAppId'] == null) {
2887
+ throw new runtime.RequiredError('webAppId', 'Required parameter "webAppId" was null or undefined when calling listWebAppBuildLogLines().');
2888
+ }
2889
+ if (requestParameters['buildId'] == null) {
2890
+ throw new runtime.RequiredError('buildId', 'Required parameter "buildId" was null or undefined when calling listWebAppBuildLogLines().');
2891
+ }
2892
+ queryParameters = {};
2893
+ if (requestParameters['minTime'] != null) {
2894
+ queryParameters['minTime'] = requestParameters['minTime'].toISOString();
2895
+ }
2896
+ if (requestParameters['maxTime'] != null) {
2897
+ queryParameters['maxTime'] = requestParameters['maxTime'].toISOString();
2898
+ }
2899
+ if (requestParameters['level'] != null) {
2900
+ queryParameters['level'] = requestParameters['level'];
2901
+ }
2902
+ if (requestParameters['nextToken'] != null) {
2903
+ queryParameters['nextToken'] = requestParameters['nextToken'];
2904
+ }
2905
+ headerParameters = {};
2906
+ urlPath = "/api/v1/projects/{projectId}/web-apps/{webAppId}/deployments/{buildId}/logs";
2907
+ urlPath = urlPath.replace('{projectId}', encodeURIComponent(String(requestParameters['projectId'])));
2908
+ urlPath = urlPath.replace('{webAppId}', encodeURIComponent(String(requestParameters['webAppId'])));
2909
+ urlPath = urlPath.replace('{buildId}', encodeURIComponent(String(requestParameters['buildId'])));
2910
+ return [2 /*return*/, {
2911
+ path: urlPath,
2912
+ method: 'GET',
2913
+ headers: headerParameters,
2914
+ query: queryParameters,
2915
+ }];
2916
+ });
2917
+ });
2918
+ };
2919
+ /**
2920
+ */
2921
+ ProjectsServerApi.prototype.listWebAppBuildLogLinesRaw = function (requestParameters, initOverrides) {
2922
+ return __awaiter(this, void 0, void 0, function () {
2923
+ var requestOptions, response;
2924
+ return __generator(this, function (_a) {
2925
+ switch (_a.label) {
2926
+ case 0: return [4 /*yield*/, this.listWebAppBuildLogLinesRequestOpts(requestParameters)];
2927
+ case 1:
2928
+ requestOptions = _a.sent();
2929
+ return [4 /*yield*/, this.request(requestOptions, initOverrides)];
2930
+ case 2:
2931
+ response = _a.sent();
2932
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, PaginatedResponseLogLineObject_1.PaginatedResponseLogLineObjectFromJSON)(jsonValue); })];
2933
+ }
2934
+ });
2935
+ });
2936
+ };
2937
+ /**
2938
+ */
2939
+ ProjectsServerApi.prototype.listWebAppBuildLogLines = function (requestParameters, initOverrides) {
2940
+ return __awaiter(this, void 0, void 0, function () {
2941
+ var response;
2942
+ return __generator(this, function (_a) {
2943
+ switch (_a.label) {
2944
+ case 0: return [4 /*yield*/, this.listWebAppBuildLogLinesRaw(requestParameters, initOverrides)];
2945
+ case 1:
2946
+ response = _a.sent();
2947
+ return [4 /*yield*/, response.value()];
2948
+ case 2: return [2 /*return*/, _a.sent()];
2949
+ }
2950
+ });
2951
+ });
2952
+ };
2617
2953
  /**
2618
2954
  * Creates request options for listWebAppDeployments without sending the request
2619
2955
  */
@@ -3749,6 +4085,71 @@ var ProjectsServerApi = /** @class */ (function (_super) {
3749
4085
  });
3750
4086
  });
3751
4087
  };
4088
+ /**
4089
+ * Creates request options for syncCustomDomain without sending the request
4090
+ */
4091
+ ProjectsServerApi.prototype.syncCustomDomainRequestOpts = function (requestParameters) {
4092
+ return __awaiter(this, void 0, void 0, function () {
4093
+ var queryParameters, headerParameters, urlPath;
4094
+ return __generator(this, function (_a) {
4095
+ if (requestParameters['projectId'] == null) {
4096
+ throw new runtime.RequiredError('projectId', 'Required parameter "projectId" was null or undefined when calling syncCustomDomain().');
4097
+ }
4098
+ if (requestParameters['webAppId'] == null) {
4099
+ throw new runtime.RequiredError('webAppId', 'Required parameter "webAppId" was null or undefined when calling syncCustomDomain().');
4100
+ }
4101
+ if (requestParameters['customDomainId'] == null) {
4102
+ throw new runtime.RequiredError('customDomainId', 'Required parameter "customDomainId" was null or undefined when calling syncCustomDomain().');
4103
+ }
4104
+ queryParameters = {};
4105
+ headerParameters = {};
4106
+ urlPath = "/api/v1/projects/{projectId}/web-apps/{webAppId}/custom-domains/{customDomainId}/sync";
4107
+ urlPath = urlPath.replace('{projectId}', encodeURIComponent(String(requestParameters['projectId'])));
4108
+ urlPath = urlPath.replace('{webAppId}', encodeURIComponent(String(requestParameters['webAppId'])));
4109
+ urlPath = urlPath.replace('{customDomainId}', encodeURIComponent(String(requestParameters['customDomainId'])));
4110
+ return [2 /*return*/, {
4111
+ path: urlPath,
4112
+ method: 'POST',
4113
+ headers: headerParameters,
4114
+ query: queryParameters,
4115
+ }];
4116
+ });
4117
+ });
4118
+ };
4119
+ /**
4120
+ */
4121
+ ProjectsServerApi.prototype.syncCustomDomainRaw = function (requestParameters, initOverrides) {
4122
+ return __awaiter(this, void 0, void 0, function () {
4123
+ var requestOptions, response;
4124
+ return __generator(this, function (_a) {
4125
+ switch (_a.label) {
4126
+ case 0: return [4 /*yield*/, this.syncCustomDomainRequestOpts(requestParameters)];
4127
+ case 1:
4128
+ requestOptions = _a.sent();
4129
+ return [4 /*yield*/, this.request(requestOptions, initOverrides)];
4130
+ case 2:
4131
+ response = _a.sent();
4132
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, SyncCustomDomainResponse_1.SyncCustomDomainResponseFromJSON)(jsonValue); })];
4133
+ }
4134
+ });
4135
+ });
4136
+ };
4137
+ /**
4138
+ */
4139
+ ProjectsServerApi.prototype.syncCustomDomain = function (requestParameters, initOverrides) {
4140
+ return __awaiter(this, void 0, void 0, function () {
4141
+ var response;
4142
+ return __generator(this, function (_a) {
4143
+ switch (_a.label) {
4144
+ case 0: return [4 /*yield*/, this.syncCustomDomainRaw(requestParameters, initOverrides)];
4145
+ case 1:
4146
+ response = _a.sent();
4147
+ return [4 /*yield*/, response.value()];
4148
+ case 2: return [2 /*return*/, _a.sent()];
4149
+ }
4150
+ });
4151
+ });
4152
+ };
3752
4153
  /**
3753
4154
  * Creates request options for testInvocation without sending the request
3754
4155
  */