@saritasa/crm-delmar-core-sdk 0.2.95 → 0.2.99

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.2.95
1
+ # @@saritasa/crm-delmar-core-sdk@0.2.99
2
2
 
3
3
  ```bash
4
- npm install @saritasa/crm-delmar-core-sdk@0.2.95 --save
4
+ npm install @saritasa/crm-delmar-core-sdk@0.2.99 --save
5
5
  ```
@@ -90,7 +90,7 @@ export interface ClientsListRequestParams {
90
90
  }
91
91
  export interface ClientsMarginReportRetrieveRequestParams {
92
92
  period: string;
93
- roundingType: "none" | "round_half" | "round_zero";
93
+ roundingType: "none" | "round_jobs" | "round_projects";
94
94
  accountManagerIn?: Array<number>;
95
95
  idIn?: Array<number>;
96
96
  includeHostedProjects?: boolean;
@@ -27,7 +27,7 @@ export interface ExportMarginReportRetrieveRequestParams {
27
27
  }
28
28
  export interface ExportMarginReportStartCreateRequestParams {
29
29
  period: string;
30
- roundingType: "none" | "round_half" | "round_zero";
30
+ roundingType: "none" | "round_jobs" | "round_projects";
31
31
  marginReportResourceCreateExportJobRequestDto: MarginReportResourceCreateExportJobRequestDto;
32
32
  accountManagerIn?: Array<number>;
33
33
  idIn?: Array<number>;
@@ -129,6 +129,7 @@ export interface JobsListRequestParams {
129
129
  offset?: number;
130
130
  ordering?: string;
131
131
  projectIn?: Array<number>;
132
+ roundDuration?: boolean;
132
133
  search?: string;
133
134
  taskComponentIn?: Array<number>;
134
135
  taskComponentIsnull?: boolean;
@@ -240,6 +241,7 @@ export interface JobsReportHourlyListRequestParams {
240
241
  offset?: number;
241
242
  ordering?: string;
242
243
  projectIn?: Array<number>;
244
+ roundDuration?: boolean;
243
245
  search?: string;
244
246
  taskComponentIn?: Array<number>;
245
247
  taskComponentIsnull?: boolean;
@@ -327,6 +329,7 @@ export interface JobsStatsRetrieveRequestParams {
327
329
  isBillable?: boolean;
328
330
  ordering?: string;
329
331
  projectIn?: Array<number>;
332
+ roundDuration?: boolean;
330
333
  search?: string;
331
334
  taskComponentIn?: Array<number>;
332
335
  taskComponentIsnull?: boolean;
@@ -43,7 +43,7 @@ export interface ProjectsListRequestParams {
43
43
  }
44
44
  export interface ProjectsMarginReportListRequestParams {
45
45
  period: string;
46
- roundingType: "none" | "round_half" | "round_zero";
46
+ roundingType: "none" | "round_jobs" | "round_projects";
47
47
  billingType?: "fixed" | "hourly" | "investment" | "sla";
48
48
  billingTypeIn?: Array<string>;
49
49
  client?: number;
@@ -10330,6 +10330,7 @@ class JobsApiService extends BaseService {
10330
10330
  const offset = requestParameters?.offset;
10331
10331
  const ordering = requestParameters?.ordering;
10332
10332
  const projectIn = requestParameters?.projectIn;
10333
+ const roundDuration = requestParameters?.roundDuration;
10333
10334
  const search = requestParameters?.search;
10334
10335
  const taskComponentIn = requestParameters?.taskComponentIn;
10335
10336
  const taskComponentIsnull = requestParameters?.taskComponentIsnull;
@@ -10372,6 +10373,7 @@ class JobsApiService extends BaseService {
10372
10373
  if (projectIn) {
10373
10374
  localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, [...projectIn].join(COLLECTION_FORMATS["csv"]), "project__in");
10374
10375
  }
10376
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, roundDuration, "round_duration");
10375
10377
  localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, search, "search");
10376
10378
  if (taskComponentIn) {
10377
10379
  localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, [...taskComponentIn].join(COLLECTION_FORMATS["csv"]), "task__component__in");
@@ -10798,6 +10800,7 @@ class JobsApiService extends BaseService {
10798
10800
  const offset = requestParameters?.offset;
10799
10801
  const ordering = requestParameters?.ordering;
10800
10802
  const projectIn = requestParameters?.projectIn;
10803
+ const roundDuration = requestParameters?.roundDuration;
10801
10804
  const search = requestParameters?.search;
10802
10805
  const taskComponentIn = requestParameters?.taskComponentIn;
10803
10806
  const taskComponentIsnull = requestParameters?.taskComponentIsnull;
@@ -10840,6 +10843,7 @@ class JobsApiService extends BaseService {
10840
10843
  if (projectIn) {
10841
10844
  localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, [...projectIn].join(COLLECTION_FORMATS["csv"]), "project__in");
10842
10845
  }
10846
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, roundDuration, "round_duration");
10843
10847
  localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, search, "search");
10844
10848
  if (taskComponentIn) {
10845
10849
  localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, [...taskComponentIn].join(COLLECTION_FORMATS["csv"]), "task__component__in");
@@ -11188,6 +11192,7 @@ class JobsApiService extends BaseService {
11188
11192
  const isBillable = requestParameters?.isBillable;
11189
11193
  const ordering = requestParameters?.ordering;
11190
11194
  const projectIn = requestParameters?.projectIn;
11195
+ const roundDuration = requestParameters?.roundDuration;
11191
11196
  const search = requestParameters?.search;
11192
11197
  const taskComponentIn = requestParameters?.taskComponentIn;
11193
11198
  const taskComponentIsnull = requestParameters?.taskComponentIsnull;
@@ -11228,6 +11233,7 @@ class JobsApiService extends BaseService {
11228
11233
  if (projectIn) {
11229
11234
  localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, [...projectIn].join(COLLECTION_FORMATS["csv"]), "project__in");
11230
11235
  }
11236
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, roundDuration, "round_duration");
11231
11237
  localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, search, "search");
11232
11238
  if (taskComponentIn) {
11233
11239
  localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, [...taskComponentIn].join(COLLECTION_FORMATS["csv"]), "task__component__in");
@@ -19465,6 +19471,16 @@ var ServerErrorEnumDto;
19465
19471
  * Do not edit the class manually.
19466
19472
  */
19467
19473
 
19474
+ /**
19475
+ * Delmar Api
19476
+ *
19477
+ *
19478
+ *
19479
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
19480
+ * https://openapi-generator.tech
19481
+ * Do not edit the class manually.
19482
+ */
19483
+
19468
19484
  /**
19469
19485
  * Delmar Api
19470
19486
  *