@saritasa/crm-delmar-core-sdk 0.1.140 → 0.1.142

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/crm-delmar-core-sdk@0.1.140
1
+ # @@saritasa/crm-delmar-core-sdk@0.1.142
2
2
 
3
3
  ```bash
4
- npm install @saritasa/crm-delmar-core-sdk@0.1.140 --save
4
+ npm install @saritasa/crm-delmar-core-sdk@0.1.142 --save
5
5
  ```
@@ -2,6 +2,7 @@ import { HttpClient, HttpResponse, HttpEvent, HttpContext } from "@angular/commo
2
2
  import { Observable } from "rxjs";
3
3
  import { PaginatedUserListDto } from "../model/paginated-user-list.dto";
4
4
  import { PaginatedUserScoreStatListDto } from "../model/paginated-user-score-stat-list.dto";
5
+ import { S3FileDto } from "../model/s3-file.dto";
5
6
  import { SimpleUserDto } from "../model/simple-user.dto";
6
7
  import { UserDailyTabularReportDto } from "../model/user-daily-tabular-report.dto";
7
8
  import { UserDto } from "../model/user.dto";
@@ -102,6 +103,27 @@ export declare class UsersApiService extends BaseService implements UsersApiServ
102
103
  context?: HttpContext;
103
104
  transferCache?: boolean;
104
105
  }): Observable<HttpEvent<PaginatedUserListDto>>;
106
+ /**
107
+ * Return URL to Namely file with auth params.
108
+ * @endpoint get /api/v1/users/namely-file/
109
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
110
+ * @param reportProgress flag to report request and response progress.
111
+ */
112
+ usersNamelyFileRetrieve(observe?: "body", reportProgress?: boolean, options?: {
113
+ httpHeaderAccept?: "application/json";
114
+ context?: HttpContext;
115
+ transferCache?: boolean;
116
+ }): Observable<S3FileDto>;
117
+ usersNamelyFileRetrieve(observe?: "response", reportProgress?: boolean, options?: {
118
+ httpHeaderAccept?: "application/json";
119
+ context?: HttpContext;
120
+ transferCache?: boolean;
121
+ }): Observable<HttpResponse<S3FileDto>>;
122
+ usersNamelyFileRetrieve(observe?: "events", reportProgress?: boolean, options?: {
123
+ httpHeaderAccept?: "application/json";
124
+ context?: HttpContext;
125
+ transferCache?: boolean;
126
+ }): Observable<HttpEvent<S3FileDto>>;
105
127
  /**
106
128
  * ViewSet for viewing accounts.
107
129
  * @endpoint patch /api/v1/users/{id}/
@@ -12,6 +12,7 @@ import { Observable } from "rxjs";
12
12
  import { PaginatedUserListDto } from "../model/models";
13
13
  import { PaginatedUserScoreStatListDto } from "../model/models";
14
14
  import { PatchedPatchUserRequestDto } from "../model/models";
15
+ import { S3FileDto } from "../model/models";
15
16
  import { SimpleUserDto } from "../model/models";
16
17
  import { UserDailyTabularReportDto } from "../model/models";
17
18
  import { UserDto } from "../model/models";
@@ -169,6 +170,12 @@ export interface UsersApiServiceInterface {
169
170
  * @param requestParameters
170
171
  */
171
172
  usersList(requestParameters: UsersListRequestParams, extraHttpRequestParams?: any): Observable<PaginatedUserListDto>;
173
+ /**
174
+ *
175
+ * Return URL to Namely file with auth params.
176
+ * @endpoint get /api/v1/users/namely-file/
177
+ */
178
+ usersNamelyFileRetrieve(extraHttpRequestParams?: any): Observable<S3FileDto>;
172
179
  /**
173
180
  *
174
181
  * ViewSet for viewing accounts.
@@ -18016,6 +18016,44 @@ class UsersApiService extends BaseService {
18016
18016
  reportProgress: reportProgress,
18017
18017
  });
18018
18018
  }
18019
+ usersNamelyFileRetrieve(observe = "body", reportProgress = false, options) {
18020
+ let localVarHeaders = this.defaultHeaders;
18021
+ // authentication (cookieAuth) required
18022
+ // authentication (jwtAuth) required
18023
+ localVarHeaders = this.configuration.addCredentialToHeaders("jwtAuth", "Authorization", localVarHeaders, "Bearer ");
18024
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
18025
+ this.configuration.selectHeaderAccept(["application/json"]);
18026
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
18027
+ localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
18028
+ }
18029
+ const localVarHttpContext = options?.context ?? new HttpContext();
18030
+ const localVarTransferCache = options?.transferCache ?? true;
18031
+ let responseType_ = "json";
18032
+ if (localVarHttpHeaderAcceptSelected) {
18033
+ if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
18034
+ responseType_ = "text";
18035
+ }
18036
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
18037
+ responseType_ = "json";
18038
+ }
18039
+ else {
18040
+ responseType_ = "blob";
18041
+ }
18042
+ }
18043
+ let localVarPath = `/api/v1/users/namely-file/`;
18044
+ const { basePath, withCredentials } = this.configuration;
18045
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
18046
+ context: localVarHttpContext,
18047
+ responseType: responseType_,
18048
+ ...(withCredentials ? { withCredentials } : {}),
18049
+ headers: localVarHeaders,
18050
+ observe: observe,
18051
+ ...(localVarTransferCache !== undefined
18052
+ ? { transferCache: localVarTransferCache }
18053
+ : {}),
18054
+ reportProgress: reportProgress,
18055
+ });
18056
+ }
18019
18057
  usersPartialUpdate(requestParameters, observe = "body", reportProgress = false, options) {
18020
18058
  const id = requestParameters?.id;
18021
18059
  if (id === null || id === undefined) {
@@ -20231,6 +20269,16 @@ var ProjectStatusEnumDto;
20231
20269
  * Do not edit the class manually.
20232
20270
  */
20233
20271
 
20272
+ /**
20273
+ * Delmar Api
20274
+ *
20275
+ *
20276
+ *
20277
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
20278
+ * https://openapi-generator.tech
20279
+ * Do not edit the class manually.
20280
+ */
20281
+
20234
20282
  /**
20235
20283
  * Delmar Api
20236
20284
  *