@saritasa/renewaire-frontend-sdk 0.414.0 → 0.416.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
@@ -1,5 +1,5 @@
1
- # @@saritasa/renewaire-frontend-sdk@0.414.0
1
+ # @@saritasa/renewaire-frontend-sdk@0.416.0
2
2
 
3
3
  ```bash
4
- npm install @saritasa/renewaire-frontend-sdk@0.414.0 --save
4
+ npm install @saritasa/renewaire-frontend-sdk@0.416.0 --save
5
5
  ```
@@ -7115,6 +7115,62 @@ class ProjectLinesApiService extends BaseService {
7115
7115
  reportProgress: reportProgress,
7116
7116
  });
7117
7117
  }
7118
+ projectLinesGetValidations(requestParameters, observe = "body", reportProgress = false, options) {
7119
+ const projectRevisionId = requestParameters?.projectRevisionId;
7120
+ if (projectRevisionId === null || projectRevisionId === undefined) {
7121
+ throw new Error("Required parameter projectRevisionId was null or undefined when calling projectLinesGetValidations.");
7122
+ }
7123
+ const batchSaveLineDto = requestParameters?.batchSaveLineDto;
7124
+ let localVarHeaders = this.defaultHeaders;
7125
+ // authentication (Bearer) required
7126
+ localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
7127
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
7128
+ this.configuration.selectHeaderAccept([
7129
+ "text/plain",
7130
+ "application/json",
7131
+ "text/json",
7132
+ ]);
7133
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
7134
+ localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
7135
+ }
7136
+ const localVarHttpContext = options?.context ?? new HttpContext();
7137
+ const localVarTransferCache = options?.transferCache ?? true;
7138
+ // to determine the Content-Type header
7139
+ const consumes = [
7140
+ "application/json-patch+json",
7141
+ "application/json",
7142
+ "text/json",
7143
+ "application/*+json",
7144
+ ];
7145
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
7146
+ if (httpContentTypeSelected !== undefined) {
7147
+ localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
7148
+ }
7149
+ let responseType_ = "json";
7150
+ if (localVarHttpHeaderAcceptSelected) {
7151
+ if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
7152
+ responseType_ = "text";
7153
+ }
7154
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
7155
+ responseType_ = "json";
7156
+ }
7157
+ else {
7158
+ responseType_ = "blob";
7159
+ }
7160
+ }
7161
+ let localVarPath = `/api/project-lines/${this.configuration.encodeParam({ name: "projectRevisionId", value: projectRevisionId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}/get-validations`;
7162
+ const { basePath, withCredentials } = this.configuration;
7163
+ return this.httpClient.request("post", `${basePath}${localVarPath}`, {
7164
+ context: localVarHttpContext,
7165
+ body: batchSaveLineDto,
7166
+ responseType: responseType_,
7167
+ ...(withCredentials ? { withCredentials } : {}),
7168
+ headers: localVarHeaders,
7169
+ observe: observe,
7170
+ transferCache: localVarTransferCache,
7171
+ reportProgress: reportProgress,
7172
+ });
7173
+ }
7118
7174
  projectLinesQueryCoil(requestParameters, observe = "body", reportProgress = false, options) {
7119
7175
  const queryCoilDto = requestParameters?.queryCoilDto;
7120
7176
  let localVarHeaders = this.defaultHeaders;
@@ -13831,6 +13887,45 @@ class UsersApiService extends BaseService {
13831
13887
  reportProgress: reportProgress,
13832
13888
  });
13833
13889
  }
13890
+ usersGetMySalesChannelContacts(observe = "body", reportProgress = false, options) {
13891
+ let localVarHeaders = this.defaultHeaders;
13892
+ // authentication (Bearer) required
13893
+ localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
13894
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
13895
+ this.configuration.selectHeaderAccept([
13896
+ "text/plain",
13897
+ "application/json",
13898
+ "text/json",
13899
+ ]);
13900
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
13901
+ localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
13902
+ }
13903
+ const localVarHttpContext = options?.context ?? new HttpContext();
13904
+ const localVarTransferCache = options?.transferCache ?? true;
13905
+ let responseType_ = "json";
13906
+ if (localVarHttpHeaderAcceptSelected) {
13907
+ if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
13908
+ responseType_ = "text";
13909
+ }
13910
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
13911
+ responseType_ = "json";
13912
+ }
13913
+ else {
13914
+ responseType_ = "blob";
13915
+ }
13916
+ }
13917
+ let localVarPath = `/api/users/me/sales-channel-contacts`;
13918
+ const { basePath, withCredentials } = this.configuration;
13919
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
13920
+ context: localVarHttpContext,
13921
+ responseType: responseType_,
13922
+ ...(withCredentials ? { withCredentials } : {}),
13923
+ headers: localVarHeaders,
13924
+ observe: observe,
13925
+ transferCache: localVarTransferCache,
13926
+ reportProgress: reportProgress,
13927
+ });
13928
+ }
13834
13929
  usersGetRepContacts(requestParameters, observe = "body", reportProgress = false, options) {
13835
13930
  const userId = requestParameters?.userId;
13836
13931
  if (userId === null || userId === undefined) {
@@ -13874,6 +13969,49 @@ class UsersApiService extends BaseService {
13874
13969
  reportProgress: reportProgress,
13875
13970
  });
13876
13971
  }
13972
+ usersGetSalesChannelContacts(requestParameters, observe = "body", reportProgress = false, options) {
13973
+ const userId = requestParameters?.userId;
13974
+ if (userId === null || userId === undefined) {
13975
+ throw new Error("Required parameter userId was null or undefined when calling usersGetSalesChannelContacts.");
13976
+ }
13977
+ let localVarHeaders = this.defaultHeaders;
13978
+ // authentication (Bearer) required
13979
+ localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
13980
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
13981
+ this.configuration.selectHeaderAccept([
13982
+ "text/plain",
13983
+ "application/json",
13984
+ "text/json",
13985
+ ]);
13986
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
13987
+ localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
13988
+ }
13989
+ const localVarHttpContext = options?.context ?? new HttpContext();
13990
+ const localVarTransferCache = options?.transferCache ?? true;
13991
+ let responseType_ = "json";
13992
+ if (localVarHttpHeaderAcceptSelected) {
13993
+ if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
13994
+ responseType_ = "text";
13995
+ }
13996
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
13997
+ responseType_ = "json";
13998
+ }
13999
+ else {
14000
+ responseType_ = "blob";
14001
+ }
14002
+ }
14003
+ let localVarPath = `/api/users/${this.configuration.encodeParam({ name: "userId", value: userId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}/sales-channel-contacts`;
14004
+ const { basePath, withCredentials } = this.configuration;
14005
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
14006
+ context: localVarHttpContext,
14007
+ responseType: responseType_,
14008
+ ...(withCredentials ? { withCredentials } : {}),
14009
+ headers: localVarHeaders,
14010
+ observe: observe,
14011
+ transferCache: localVarTransferCache,
14012
+ reportProgress: reportProgress,
14013
+ });
14014
+ }
13877
14015
  usersGetUserPermissions(requestParameters, observe = "body", reportProgress = false, options) {
13878
14016
  const userId = requestParameters?.userId;
13879
14017
  if (userId === null || userId === undefined) {
@@ -18188,6 +18326,16 @@ var RepDataSource;
18188
18326
  * Do not edit the class manually.
18189
18327
  */
18190
18328
 
18329
+ /**
18330
+ * RenewAire CORES API
18331
+ *
18332
+ * Contact: renewaire@saritasa.com
18333
+ *
18334
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
18335
+ * https://openapi-generator.tech
18336
+ * Do not edit the class manually.
18337
+ */
18338
+
18191
18339
  /**
18192
18340
  * RenewAire CORES API
18193
18341
  *