@saritasa/renewaire-frontend-sdk 0.133.0 → 0.134.0
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/README.md
CHANGED
|
@@ -2186,6 +2186,180 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.7", ngImpor
|
|
|
2186
2186
|
type: Optional
|
|
2187
2187
|
}] }] });
|
|
2188
2188
|
|
|
2189
|
+
/**
|
|
2190
|
+
* RenewAire CORES API
|
|
2191
|
+
*
|
|
2192
|
+
* Contact: renewaire@saritasa.com
|
|
2193
|
+
*
|
|
2194
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2195
|
+
* https://openapi-generator.tech
|
|
2196
|
+
* Do not edit the class manually.
|
|
2197
|
+
*/
|
|
2198
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
2199
|
+
class ProjectBidStatusesApiService extends BaseService {
|
|
2200
|
+
httpClient;
|
|
2201
|
+
constructor(httpClient, basePath, configuration) {
|
|
2202
|
+
super(basePath, configuration);
|
|
2203
|
+
this.httpClient = httpClient;
|
|
2204
|
+
}
|
|
2205
|
+
projectBidStatusCreateBidStatus(requestParameters, observe = "body", reportProgress = false, options) {
|
|
2206
|
+
const saveBidStatusDto = requestParameters?.saveBidStatusDto;
|
|
2207
|
+
let localVarHeaders = this.defaultHeaders;
|
|
2208
|
+
// authentication (Bearer) required
|
|
2209
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
2210
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
|
|
2211
|
+
this.configuration.selectHeaderAccept([
|
|
2212
|
+
"text/plain",
|
|
2213
|
+
"application/json",
|
|
2214
|
+
"text/json",
|
|
2215
|
+
]);
|
|
2216
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
2217
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
2218
|
+
}
|
|
2219
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
2220
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
2221
|
+
// to determine the Content-Type header
|
|
2222
|
+
const consumes = [
|
|
2223
|
+
"application/json-patch+json",
|
|
2224
|
+
"application/json",
|
|
2225
|
+
"text/json",
|
|
2226
|
+
"application/*+json",
|
|
2227
|
+
];
|
|
2228
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
2229
|
+
if (httpContentTypeSelected !== undefined) {
|
|
2230
|
+
localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
|
|
2231
|
+
}
|
|
2232
|
+
let responseType_ = "json";
|
|
2233
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
2234
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
2235
|
+
responseType_ = "text";
|
|
2236
|
+
}
|
|
2237
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
2238
|
+
responseType_ = "json";
|
|
2239
|
+
}
|
|
2240
|
+
else {
|
|
2241
|
+
responseType_ = "blob";
|
|
2242
|
+
}
|
|
2243
|
+
}
|
|
2244
|
+
let localVarPath = `/api/project-bid-statuses`;
|
|
2245
|
+
const { basePath, withCredentials } = this.configuration;
|
|
2246
|
+
return this.httpClient.request("post", `${basePath}${localVarPath}`, {
|
|
2247
|
+
context: localVarHttpContext,
|
|
2248
|
+
body: saveBidStatusDto,
|
|
2249
|
+
responseType: responseType_,
|
|
2250
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
2251
|
+
headers: localVarHeaders,
|
|
2252
|
+
observe: observe,
|
|
2253
|
+
transferCache: localVarTransferCache,
|
|
2254
|
+
reportProgress: reportProgress,
|
|
2255
|
+
});
|
|
2256
|
+
}
|
|
2257
|
+
projectBidStatusRemoveBidStatus(requestParameters, observe = "body", reportProgress = false, options) {
|
|
2258
|
+
const id = requestParameters?.id;
|
|
2259
|
+
if (id === null || id === undefined) {
|
|
2260
|
+
throw new Error("Required parameter id was null or undefined when calling projectBidStatusRemoveBidStatus.");
|
|
2261
|
+
}
|
|
2262
|
+
let localVarHeaders = this.defaultHeaders;
|
|
2263
|
+
// authentication (Bearer) required
|
|
2264
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
2265
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
2266
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
2267
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
2268
|
+
}
|
|
2269
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
2270
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
2271
|
+
let responseType_ = "json";
|
|
2272
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
2273
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
2274
|
+
responseType_ = "text";
|
|
2275
|
+
}
|
|
2276
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
2277
|
+
responseType_ = "json";
|
|
2278
|
+
}
|
|
2279
|
+
else {
|
|
2280
|
+
responseType_ = "blob";
|
|
2281
|
+
}
|
|
2282
|
+
}
|
|
2283
|
+
let localVarPath = `/api/project-bid-statuses/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}`;
|
|
2284
|
+
const { basePath, withCredentials } = this.configuration;
|
|
2285
|
+
return this.httpClient.request("delete", `${basePath}${localVarPath}`, {
|
|
2286
|
+
context: localVarHttpContext,
|
|
2287
|
+
responseType: responseType_,
|
|
2288
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
2289
|
+
headers: localVarHeaders,
|
|
2290
|
+
observe: observe,
|
|
2291
|
+
transferCache: localVarTransferCache,
|
|
2292
|
+
reportProgress: reportProgress,
|
|
2293
|
+
});
|
|
2294
|
+
}
|
|
2295
|
+
projectBidStatusUpdateBidStatus(requestParameters, observe = "body", reportProgress = false, options) {
|
|
2296
|
+
const id = requestParameters?.id;
|
|
2297
|
+
if (id === null || id === undefined) {
|
|
2298
|
+
throw new Error("Required parameter id was null or undefined when calling projectBidStatusUpdateBidStatus.");
|
|
2299
|
+
}
|
|
2300
|
+
const saveBidStatusDto = requestParameters?.saveBidStatusDto;
|
|
2301
|
+
let localVarHeaders = this.defaultHeaders;
|
|
2302
|
+
// authentication (Bearer) required
|
|
2303
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
2304
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
2305
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
2306
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
2307
|
+
}
|
|
2308
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
2309
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
2310
|
+
// to determine the Content-Type header
|
|
2311
|
+
const consumes = [
|
|
2312
|
+
"application/json-patch+json",
|
|
2313
|
+
"application/json",
|
|
2314
|
+
"text/json",
|
|
2315
|
+
"application/*+json",
|
|
2316
|
+
];
|
|
2317
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
2318
|
+
if (httpContentTypeSelected !== undefined) {
|
|
2319
|
+
localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
|
|
2320
|
+
}
|
|
2321
|
+
let responseType_ = "json";
|
|
2322
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
2323
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
2324
|
+
responseType_ = "text";
|
|
2325
|
+
}
|
|
2326
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
2327
|
+
responseType_ = "json";
|
|
2328
|
+
}
|
|
2329
|
+
else {
|
|
2330
|
+
responseType_ = "blob";
|
|
2331
|
+
}
|
|
2332
|
+
}
|
|
2333
|
+
let localVarPath = `/api/project-bid-statuses/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}`;
|
|
2334
|
+
const { basePath, withCredentials } = this.configuration;
|
|
2335
|
+
return this.httpClient.request("put", `${basePath}${localVarPath}`, {
|
|
2336
|
+
context: localVarHttpContext,
|
|
2337
|
+
body: saveBidStatusDto,
|
|
2338
|
+
responseType: responseType_,
|
|
2339
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
2340
|
+
headers: localVarHeaders,
|
|
2341
|
+
observe: observe,
|
|
2342
|
+
transferCache: localVarTransferCache,
|
|
2343
|
+
reportProgress: reportProgress,
|
|
2344
|
+
});
|
|
2345
|
+
}
|
|
2346
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.7", ngImport: i0, type: ProjectBidStatusesApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2347
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.7", ngImport: i0, type: ProjectBidStatusesApiService, providedIn: "root" });
|
|
2348
|
+
}
|
|
2349
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.7", ngImport: i0, type: ProjectBidStatusesApiService, decorators: [{
|
|
2350
|
+
type: Injectable,
|
|
2351
|
+
args: [{
|
|
2352
|
+
providedIn: "root",
|
|
2353
|
+
}]
|
|
2354
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
2355
|
+
type: Optional
|
|
2356
|
+
}, {
|
|
2357
|
+
type: Inject,
|
|
2358
|
+
args: [BASE_PATH]
|
|
2359
|
+
}] }, { type: Configuration, decorators: [{
|
|
2360
|
+
type: Optional
|
|
2361
|
+
}] }] });
|
|
2362
|
+
|
|
2189
2363
|
/**
|
|
2190
2364
|
* RenewAire CORES API
|
|
2191
2365
|
*
|
|
@@ -8356,6 +8530,7 @@ const APIS = [
|
|
|
8356
8530
|
MaintenanceApiService,
|
|
8357
8531
|
PermissionBundlesApiService,
|
|
8358
8532
|
PermissionsApiService,
|
|
8533
|
+
ProjectBidStatusesApiService,
|
|
8359
8534
|
ProjectLinksApiService,
|
|
8360
8535
|
ProjectNotesApiService,
|
|
8361
8536
|
ProjectRevisionsApiService,
|
|
@@ -8741,7 +8916,7 @@ var FeedbackType;
|
|
|
8741
8916
|
* Do not edit the class manually.
|
|
8742
8917
|
*/
|
|
8743
8918
|
/**
|
|
8744
|
-
* File type.<br />FileType<br />0 = RsdRegionDocument<br />1 = ControllerProgram<br />2 = RepSalesReport<br />3 = ProjectNoteAttachment
|
|
8919
|
+
* File type.<br />FileType<br />0 = RsdRegionDocument<br />1 = ControllerProgram<br />2 = RepSalesReport<br />3 = ProjectNoteAttachment<br />4 = BidStatusAttachment
|
|
8745
8920
|
*/
|
|
8746
8921
|
var FileType;
|
|
8747
8922
|
(function (FileType) {
|
|
@@ -8749,6 +8924,7 @@ var FileType;
|
|
|
8749
8924
|
FileType["ControllerProgram"] = "ControllerProgram";
|
|
8750
8925
|
FileType["RepSalesReport"] = "RepSalesReport";
|
|
8751
8926
|
FileType["ProjectNoteAttachment"] = "ProjectNoteAttachment";
|
|
8927
|
+
FileType["BidStatusAttachment"] = "BidStatusAttachment";
|
|
8752
8928
|
})(FileType || (FileType = {}));
|
|
8753
8929
|
|
|
8754
8930
|
/**
|
|
@@ -9043,6 +9219,36 @@ var Permission;
|
|
|
9043
9219
|
* Do not edit the class manually.
|
|
9044
9220
|
*/
|
|
9045
9221
|
|
|
9222
|
+
/**
|
|
9223
|
+
* RenewAire CORES API
|
|
9224
|
+
*
|
|
9225
|
+
* Contact: renewaire@saritasa.com
|
|
9226
|
+
*
|
|
9227
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9228
|
+
* https://openapi-generator.tech
|
|
9229
|
+
* Do not edit the class manually.
|
|
9230
|
+
*/
|
|
9231
|
+
|
|
9232
|
+
/**
|
|
9233
|
+
* RenewAire CORES API
|
|
9234
|
+
*
|
|
9235
|
+
* Contact: renewaire@saritasa.com
|
|
9236
|
+
*
|
|
9237
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9238
|
+
* https://openapi-generator.tech
|
|
9239
|
+
* Do not edit the class manually.
|
|
9240
|
+
*/
|
|
9241
|
+
/**
|
|
9242
|
+
* Project revision bid status.<br />ProjectBidStatusType<br />0 = InSubmittal<br />1 = Pending<br />2 = Won<br />3 = Lost
|
|
9243
|
+
*/
|
|
9244
|
+
var ProjectBidStatusType;
|
|
9245
|
+
(function (ProjectBidStatusType) {
|
|
9246
|
+
ProjectBidStatusType["InSubmittal"] = "InSubmittal";
|
|
9247
|
+
ProjectBidStatusType["Pending"] = "Pending";
|
|
9248
|
+
ProjectBidStatusType["Won"] = "Won";
|
|
9249
|
+
ProjectBidStatusType["Lost"] = "Lost";
|
|
9250
|
+
})(ProjectBidStatusType || (ProjectBidStatusType = {}));
|
|
9251
|
+
|
|
9046
9252
|
/**
|
|
9047
9253
|
* RenewAire CORES API
|
|
9048
9254
|
*
|
|
@@ -9596,5 +9802,5 @@ function provideApi(configOrBasePath) {
|
|
|
9596
9802
|
* Generated bundle index. Do not edit.
|
|
9597
9803
|
*/
|
|
9598
9804
|
|
|
9599
|
-
export { APIS, AddressCountry, ApiModule, AshraeVersion, AuditEntity, AuditLogsApiService, AuthApiService, BASE_PATH, BuildingCategory, BuildingType, COLLECTION_FORMATS, Configuration, ConstructionOrderType, ControllerProgramReleaseType, ControllerProgramType, ControllerProgramsApiService, CoolingDesignBasis, DesignWeatherMode, FeedbackType, FeedbacksApiService, FileType, GroupCustomerType, GroupType, GroupsApiService, KnownContactsApiService, Language, LeadTimeType, LeadTimesApiService, MaintenanceApiService, OperationType, Permission, PermissionBundlesApiService, PermissionsApiService, ProjectLinksApiService, ProjectNoteType, ProjectNotesApiService, ProjectRevisionsApiService, ProjectSharingAccessLevel, ProjectSharingApiService, ProjectStatus, ProjectStatusesApiService, ProjectsApiService, QualifiedSpecificationStatus, RegionLevel, RegionsApiService, RegistrationStatus, RepContactsApiService, RepSalesReportsApiService, RepTerritoriesApiService, RepTerritoryLocationsApiService, RsdRegionsApiService, S3ApiService, StaticFilesApiService, UnitSystem, UserStatus, UserTablesApiService, UsersApiService, UsersManagementApiService, provideApi };
|
|
9805
|
+
export { APIS, AddressCountry, ApiModule, AshraeVersion, AuditEntity, AuditLogsApiService, AuthApiService, BASE_PATH, BuildingCategory, BuildingType, COLLECTION_FORMATS, Configuration, ConstructionOrderType, ControllerProgramReleaseType, ControllerProgramType, ControllerProgramsApiService, CoolingDesignBasis, DesignWeatherMode, FeedbackType, FeedbacksApiService, FileType, GroupCustomerType, GroupType, GroupsApiService, KnownContactsApiService, Language, LeadTimeType, LeadTimesApiService, MaintenanceApiService, OperationType, Permission, PermissionBundlesApiService, PermissionsApiService, ProjectBidStatusType, ProjectBidStatusesApiService, ProjectLinksApiService, ProjectNoteType, ProjectNotesApiService, ProjectRevisionsApiService, ProjectSharingAccessLevel, ProjectSharingApiService, ProjectStatus, ProjectStatusesApiService, ProjectsApiService, QualifiedSpecificationStatus, RegionLevel, RegionsApiService, RegistrationStatus, RepContactsApiService, RepSalesReportsApiService, RepTerritoriesApiService, RepTerritoryLocationsApiService, RsdRegionsApiService, S3ApiService, StaticFilesApiService, UnitSystem, UserStatus, UserTablesApiService, UsersApiService, UsersManagementApiService, provideApi };
|
|
9600
9806
|
//# sourceMappingURL=saritasa-renewaire-frontend-sdk.mjs.map
|