@saritasa/crm-delmar-core-sdk 0.0.263 → 0.0.265

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 (91) hide show
  1. package/README.md +2 -2
  2. package/api.base.service.d.ts +9 -0
  3. package/configuration.d.ts +1 -1
  4. package/fesm2022/saritasa-crm-delmar-core-sdk.mjs +587 -389
  5. package/fesm2022/saritasa-crm-delmar-core-sdk.mjs.map +1 -1
  6. package/model/models.d.ts +0 -82
  7. package/model/project-resources-destroy-batch-destroy-validation-error.dto.d.ts +2 -2
  8. package/model/user-periods-stats-retrieve-validation-error.dto.d.ts +2 -2
  9. package/package.json +1 -1
  10. package/model/branch-periods-destroy-error-response400.dto.d.ts +0 -15
  11. package/model/branch-periods-retrieve-error-response400.dto.d.ts +0 -15
  12. package/model/branches-retrieve-error-response400.dto.d.ts +0 -15
  13. package/model/client-notes-destroy-error-response400.dto.d.ts +0 -15
  14. package/model/client-notes-retrieve-error-response400.dto.d.ts +0 -15
  15. package/model/clients-retrieve-error-response400.dto.d.ts +0 -15
  16. package/model/clients-with-month-stats-retrieve-error-response400.dto.d.ts +0 -15
  17. package/model/clients-with-stats-retrieve-error-response400.dto.d.ts +0 -15
  18. package/model/components-retrieve-error-response400.dto.d.ts +0 -15
  19. package/model/departments-retrieve-error-response400.dto.d.ts +0 -15
  20. package/model/dismissal-reasons-retrieve-error-response400.dto.d.ts +0 -15
  21. package/model/export-client-notes-cancel-create-error-response400.dto.d.ts +0 -15
  22. package/model/export-client-notes-list-error-response400.dto.d.ts +0 -15
  23. package/model/export-client-notes-retrieve-error-response400.dto.d.ts +0 -15
  24. package/model/export-clients-cancel-create-error-response400.dto.d.ts +0 -15
  25. package/model/export-clients-list-error-response400.dto.d.ts +0 -15
  26. package/model/export-clients-retrieve-error-response400.dto.d.ts +0 -15
  27. package/model/export-job-reports-departments-cancel-create-error-response400.dto.d.ts +0 -15
  28. package/model/export-job-reports-departments-list-error-response400.dto.d.ts +0 -15
  29. package/model/export-job-reports-departments-retrieve-error-response400.dto.d.ts +0 -15
  30. package/model/export-job-reports-users-cancel-create-error-response400.dto.d.ts +0 -15
  31. package/model/export-job-reports-users-list-error-response400.dto.d.ts +0 -15
  32. package/model/export-job-reports-users-retrieve-error-response400.dto.d.ts +0 -15
  33. package/model/export-jobs-cancel-create-error-response400.dto.d.ts +0 -15
  34. package/model/export-jobs-list-error-response400.dto.d.ts +0 -15
  35. package/model/export-jobs-retrieve-error-response400.dto.d.ts +0 -15
  36. package/model/export-project-notes-cancel-create-error-response400.dto.d.ts +0 -15
  37. package/model/export-project-notes-list-error-response400.dto.d.ts +0 -15
  38. package/model/export-project-notes-retrieve-error-response400.dto.d.ts +0 -15
  39. package/model/export-project-resources-cancel-create-error-response400.dto.d.ts +0 -15
  40. package/model/export-project-resources-list-error-response400.dto.d.ts +0 -15
  41. package/model/export-project-resources-retrieve-error-response400.dto.d.ts +0 -15
  42. package/model/export-projects-cancel-create-error-response400.dto.d.ts +0 -15
  43. package/model/export-projects-list-error-response400.dto.d.ts +0 -15
  44. package/model/export-projects-retrieve-error-response400.dto.d.ts +0 -15
  45. package/model/export-tasks-cancel-create-error-response400.dto.d.ts +0 -15
  46. package/model/export-tasks-list-error-response400.dto.d.ts +0 -15
  47. package/model/export-tasks-retrieve-error-response400.dto.d.ts +0 -15
  48. package/model/export-user-periods-cancel-create-error-response400.dto.d.ts +0 -15
  49. package/model/export-user-periods-list-error-response400.dto.d.ts +0 -15
  50. package/model/export-user-periods-retrieve-error-response400.dto.d.ts +0 -15
  51. package/model/export-users-cancel-create-error-response400.dto.d.ts +0 -15
  52. package/model/export-users-list-error-response400.dto.d.ts +0 -15
  53. package/model/export-users-retrieve-error-response400.dto.d.ts +0 -15
  54. package/model/jira-instances-list-error-response400.dto.d.ts +0 -15
  55. package/model/jira-instances-retrieve-error-response400.dto.d.ts +0 -15
  56. package/model/jobs-retrieve-error-response400.dto.d.ts +0 -15
  57. package/model/locations-destroy-error-response400.dto.d.ts +0 -15
  58. package/model/locations-retrieve-error-response400.dto.d.ts +0 -15
  59. package/model/notifications-delete-all-destroy-error-response400.dto.d.ts +0 -15
  60. package/model/notifications-destroy-error-response400.dto.d.ts +0 -15
  61. package/model/notifications-read-create-error-response400.dto.d.ts +0 -15
  62. package/model/notifications-retrieve-error-response400.dto.d.ts +0 -15
  63. package/model/notifications-unread-create-error-response400.dto.d.ts +0 -15
  64. package/model/permission-data-list-error-response400.dto.d.ts +0 -15
  65. package/model/profile-retrieve-error-response400.dto.d.ts +0 -15
  66. package/model/project-notes-destroy-error-response400.dto.d.ts +0 -15
  67. package/model/project-notes-retrieve-error-response400.dto.d.ts +0 -15
  68. package/model/project-priorities-retrieve-error-response400.dto.d.ts +0 -15
  69. package/model/project-resources-destroy-batch-destroy-error.dto.d.ts +0 -15
  70. package/model/project-resources-retrieve-error-response400.dto.d.ts +0 -15
  71. package/model/projects-retrieve-error-response400.dto.d.ts +0 -15
  72. package/model/projects-with-month-stats-retrieve-error-response400.dto.d.ts +0 -15
  73. package/model/projects-with-stats-retrieve-error-response400.dto.d.ts +0 -15
  74. package/model/roles-destroy-error-response400.dto.d.ts +0 -15
  75. package/model/roles-retrieve-error-response400.dto.d.ts +0 -15
  76. package/model/sprints-retrieve-error-response400.dto.d.ts +0 -15
  77. package/model/tasks-retrieve-error-response400.dto.d.ts +0 -15
  78. package/model/user-capacities-calculate-capacity-create-error-response400.dto.d.ts +0 -15
  79. package/model/user-capacities-retrieve-error-response400.dto.d.ts +0 -15
  80. package/model/user-logins-retrieve-error-response400.dto.d.ts +0 -15
  81. package/model/user-periods-destroy-error-response400.dto.d.ts +0 -15
  82. package/model/user-periods-retrieve-error-response400.dto.d.ts +0 -15
  83. package/model/user-periods-stats-retrieve-error.dto.d.ts +0 -15
  84. package/model/user-scores-retrieve-error-response400.dto.d.ts +0 -15
  85. package/model/user-timezone-setting-retrieve-error-response400.dto.d.ts +0 -15
  86. package/model/user-timezones-list-error-response400.dto.d.ts +0 -15
  87. package/model/users-retrieve-error-response400.dto.d.ts +0 -15
  88. package/model/vendors-destroy-error-response400.dto.d.ts +0 -15
  89. package/model/vendors-retrieve-error-response400.dto.d.ts +0 -15
  90. package/model/who-am-i-retrieve-error-response400.dto.d.ts +0 -15
  91. package/model/work-types-retrieve-error-response400.dto.d.ts +0 -15
@@ -61,26 +61,31 @@ class Configuration {
61
61
  * minus any standard prefixes such as 'Basic' or 'Bearer'.
62
62
  */
63
63
  credentials;
64
- constructor(configurationParameters = {}) {
65
- this.apiKeys = configurationParameters.apiKeys;
66
- this.username = configurationParameters.username;
67
- this.password = configurationParameters.password;
68
- this.accessToken = configurationParameters.accessToken;
69
- this.basePath = configurationParameters.basePath;
70
- this.withCredentials = configurationParameters.withCredentials;
71
- this.encoder = configurationParameters.encoder;
72
- if (configurationParameters.encodeParam) {
73
- this.encodeParam = configurationParameters.encodeParam;
74
- }
75
- else {
76
- this.encodeParam = (param) => this.defaultEncodeParam(param);
77
- }
78
- if (configurationParameters.credentials) {
79
- this.credentials = configurationParameters.credentials;
80
- }
81
- else {
82
- this.credentials = {};
64
+ constructor({ accessToken, apiKeys, basePath, credentials, encodeParam, encoder, password, username, withCredentials, } = {}) {
65
+ if (apiKeys) {
66
+ this.apiKeys = apiKeys;
83
67
  }
68
+ if (username !== undefined) {
69
+ this.username = username;
70
+ }
71
+ if (password !== undefined) {
72
+ this.password = password;
73
+ }
74
+ if (accessToken !== undefined) {
75
+ this.accessToken = accessToken;
76
+ }
77
+ if (basePath !== undefined) {
78
+ this.basePath = basePath;
79
+ }
80
+ if (withCredentials !== undefined) {
81
+ this.withCredentials = withCredentials;
82
+ }
83
+ if (encoder) {
84
+ this.encoder = encoder;
85
+ }
86
+ this.encodeParam =
87
+ encodeParam ?? ((param) => this.defaultEncodeParam(param));
88
+ this.credentials = credentials ?? {};
84
89
  // init default cookieAuth credential
85
90
  if (!this.credentials["cookieAuth"]) {
86
91
  this.credentials["cookieAuth"] = () => {
@@ -178,8 +183,17 @@ class Configuration {
178
183
  }
179
184
  }
180
185
 
186
+ /**
187
+ * Delmar Api
188
+ *
189
+ *
190
+ *
191
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
192
+ * https://openapi-generator.tech
193
+ * Do not edit the class manually.
194
+ */
181
195
  class BaseService {
182
- basePath = "";
196
+ basePath = "http://localhost";
183
197
  defaultHeaders = new HttpHeaders();
184
198
  configuration;
185
199
  encoder;
@@ -203,7 +217,7 @@ class BaseService {
203
217
  addToHttpParams(httpParams, value, key) {
204
218
  // If the value is an object (but not a Date), recursively add its keys.
205
219
  if (typeof value === "object" && !(value instanceof Date)) {
206
- return this.addToHttpParamsRecursive(httpParams, value, key);
220
+ return this.addToHttpParamsRecursive(httpParams, value);
207
221
  }
208
222
  return this.addToHttpParamsRecursive(httpParams, value, key);
209
223
  }
@@ -299,11 +313,12 @@ class BranchPeriodsApiService extends BaseService {
299
313
  }
300
314
  }
301
315
  let localVarPath = `/api/v1/branch-periods/`;
302
- return this.httpClient.request("post", `${this.configuration.basePath}${localVarPath}`, {
316
+ const { basePath, withCredentials } = this.configuration;
317
+ return this.httpClient.request("post", `${basePath}${localVarPath}`, {
303
318
  context: localVarHttpContext,
304
319
  body: branchPeriodRequestDto,
305
320
  responseType: responseType_,
306
- withCredentials: this.configuration.withCredentials,
321
+ ...(withCredentials ? { withCredentials } : {}),
307
322
  headers: localVarHeaders,
308
323
  observe: observe,
309
324
  transferCache: localVarTransferCache,
@@ -339,10 +354,11 @@ class BranchPeriodsApiService extends BaseService {
339
354
  }
340
355
  }
341
356
  let localVarPath = `/api/v1/branch-periods/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
342
- return this.httpClient.request("delete", `${this.configuration.basePath}${localVarPath}`, {
357
+ const { basePath, withCredentials } = this.configuration;
358
+ return this.httpClient.request("delete", `${basePath}${localVarPath}`, {
343
359
  context: localVarHttpContext,
344
360
  responseType: responseType_,
345
- withCredentials: this.configuration.withCredentials,
361
+ ...(withCredentials ? { withCredentials } : {}),
346
362
  headers: localVarHeaders,
347
363
  observe: observe,
348
364
  transferCache: localVarTransferCache,
@@ -407,11 +423,12 @@ class BranchPeriodsApiService extends BaseService {
407
423
  }
408
424
  }
409
425
  let localVarPath = `/api/v1/branch-periods/`;
410
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
426
+ const { basePath, withCredentials } = this.configuration;
427
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
411
428
  context: localVarHttpContext,
412
429
  params: localVarQueryParameters,
413
430
  responseType: responseType_,
414
- withCredentials: this.configuration.withCredentials,
431
+ ...(withCredentials ? { withCredentials } : {}),
415
432
  headers: localVarHeaders,
416
433
  observe: observe,
417
434
  transferCache: localVarTransferCache,
@@ -447,10 +464,11 @@ class BranchPeriodsApiService extends BaseService {
447
464
  }
448
465
  }
449
466
  let localVarPath = `/api/v1/branch-periods/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
450
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
467
+ const { basePath, withCredentials } = this.configuration;
468
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
451
469
  context: localVarHttpContext,
452
470
  responseType: responseType_,
453
- withCredentials: this.configuration.withCredentials,
471
+ ...(withCredentials ? { withCredentials } : {}),
454
472
  headers: localVarHeaders,
455
473
  observe: observe,
456
474
  transferCache: localVarTransferCache,
@@ -501,11 +519,12 @@ class BranchPeriodsApiService extends BaseService {
501
519
  }
502
520
  }
503
521
  let localVarPath = `/api/v1/branch-periods/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
504
- return this.httpClient.request("put", `${this.configuration.basePath}${localVarPath}`, {
522
+ const { basePath, withCredentials } = this.configuration;
523
+ return this.httpClient.request("put", `${basePath}${localVarPath}`, {
505
524
  context: localVarHttpContext,
506
525
  body: branchPeriodRequestDto,
507
526
  responseType: responseType_,
508
- withCredentials: this.configuration.withCredentials,
527
+ ...(withCredentials ? { withCredentials } : {}),
509
528
  headers: localVarHeaders,
510
529
  observe: observe,
511
530
  transferCache: localVarTransferCache,
@@ -585,11 +604,12 @@ class BranchesApiService extends BaseService {
585
604
  }
586
605
  }
587
606
  let localVarPath = `/api/v1/branches/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/change-active-status/`;
588
- return this.httpClient.request("post", `${this.configuration.basePath}${localVarPath}`, {
607
+ const { basePath, withCredentials } = this.configuration;
608
+ return this.httpClient.request("post", `${basePath}${localVarPath}`, {
589
609
  context: localVarHttpContext,
590
610
  body: branchChangeStateRequestDto,
591
611
  responseType: responseType_,
592
- withCredentials: this.configuration.withCredentials,
612
+ ...(withCredentials ? { withCredentials } : {}),
593
613
  headers: localVarHeaders,
594
614
  observe: observe,
595
615
  transferCache: localVarTransferCache,
@@ -635,11 +655,12 @@ class BranchesApiService extends BaseService {
635
655
  }
636
656
  }
637
657
  let localVarPath = `/api/v1/branches/`;
638
- return this.httpClient.request("post", `${this.configuration.basePath}${localVarPath}`, {
658
+ const { basePath, withCredentials } = this.configuration;
659
+ return this.httpClient.request("post", `${basePath}${localVarPath}`, {
639
660
  context: localVarHttpContext,
640
661
  body: branchRequestDto,
641
662
  responseType: responseType_,
642
- withCredentials: this.configuration.withCredentials,
663
+ ...(withCredentials ? { withCredentials } : {}),
643
664
  headers: localVarHeaders,
644
665
  observe: observe,
645
666
  transferCache: localVarTransferCache,
@@ -696,11 +717,12 @@ class BranchesApiService extends BaseService {
696
717
  }
697
718
  }
698
719
  let localVarPath = `/api/v1/branches/`;
699
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
720
+ const { basePath, withCredentials } = this.configuration;
721
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
700
722
  context: localVarHttpContext,
701
723
  params: localVarQueryParameters,
702
724
  responseType: responseType_,
703
- withCredentials: this.configuration.withCredentials,
725
+ ...(withCredentials ? { withCredentials } : {}),
704
726
  headers: localVarHeaders,
705
727
  observe: observe,
706
728
  transferCache: localVarTransferCache,
@@ -736,10 +758,11 @@ class BranchesApiService extends BaseService {
736
758
  }
737
759
  }
738
760
  let localVarPath = `/api/v1/branches/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
739
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
761
+ const { basePath, withCredentials } = this.configuration;
762
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
740
763
  context: localVarHttpContext,
741
764
  responseType: responseType_,
742
- withCredentials: this.configuration.withCredentials,
765
+ ...(withCredentials ? { withCredentials } : {}),
743
766
  headers: localVarHeaders,
744
767
  observe: observe,
745
768
  transferCache: localVarTransferCache,
@@ -789,11 +812,12 @@ class BranchesApiService extends BaseService {
789
812
  }
790
813
  }
791
814
  let localVarPath = `/api/v1/branches/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
792
- return this.httpClient.request("put", `${this.configuration.basePath}${localVarPath}`, {
815
+ const { basePath, withCredentials } = this.configuration;
816
+ return this.httpClient.request("put", `${basePath}${localVarPath}`, {
793
817
  context: localVarHttpContext,
794
818
  body: branchRequestDto,
795
819
  responseType: responseType_,
796
- withCredentials: this.configuration.withCredentials,
820
+ ...(withCredentials ? { withCredentials } : {}),
797
821
  headers: localVarHeaders,
798
822
  observe: observe,
799
823
  transferCache: localVarTransferCache,
@@ -884,11 +908,12 @@ class BranchesApiService extends BaseService {
884
908
  }
885
909
  }
886
910
  let localVarPath = `/api/v1/branches/users-stats/`;
887
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
911
+ const { basePath, withCredentials } = this.configuration;
912
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
888
913
  context: localVarHttpContext,
889
914
  params: localVarQueryParameters,
890
915
  responseType: responseType_,
891
- withCredentials: this.configuration.withCredentials,
916
+ ...(withCredentials ? { withCredentials } : {}),
892
917
  headers: localVarHeaders,
893
918
  observe: observe,
894
919
  transferCache: localVarTransferCache,
@@ -967,11 +992,12 @@ class ClientNotesApiService extends BaseService {
967
992
  }
968
993
  }
969
994
  let localVarPath = `/api/v1/client-notes/`;
970
- return this.httpClient.request("post", `${this.configuration.basePath}${localVarPath}`, {
995
+ const { basePath, withCredentials } = this.configuration;
996
+ return this.httpClient.request("post", `${basePath}${localVarPath}`, {
971
997
  context: localVarHttpContext,
972
998
  body: clientNoteRequestDto,
973
999
  responseType: responseType_,
974
- withCredentials: this.configuration.withCredentials,
1000
+ ...(withCredentials ? { withCredentials } : {}),
975
1001
  headers: localVarHeaders,
976
1002
  observe: observe,
977
1003
  transferCache: localVarTransferCache,
@@ -1007,10 +1033,11 @@ class ClientNotesApiService extends BaseService {
1007
1033
  }
1008
1034
  }
1009
1035
  let localVarPath = `/api/v1/client-notes/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
1010
- return this.httpClient.request("delete", `${this.configuration.basePath}${localVarPath}`, {
1036
+ const { basePath, withCredentials } = this.configuration;
1037
+ return this.httpClient.request("delete", `${basePath}${localVarPath}`, {
1011
1038
  context: localVarHttpContext,
1012
1039
  responseType: responseType_,
1013
- withCredentials: this.configuration.withCredentials,
1040
+ ...(withCredentials ? { withCredentials } : {}),
1014
1041
  headers: localVarHeaders,
1015
1042
  observe: observe,
1016
1043
  transferCache: localVarTransferCache,
@@ -1081,11 +1108,12 @@ class ClientNotesApiService extends BaseService {
1081
1108
  }
1082
1109
  }
1083
1110
  let localVarPath = `/api/v1/client-notes/`;
1084
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
1111
+ const { basePath, withCredentials } = this.configuration;
1112
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
1085
1113
  context: localVarHttpContext,
1086
1114
  params: localVarQueryParameters,
1087
1115
  responseType: responseType_,
1088
- withCredentials: this.configuration.withCredentials,
1116
+ ...(withCredentials ? { withCredentials } : {}),
1089
1117
  headers: localVarHeaders,
1090
1118
  observe: observe,
1091
1119
  transferCache: localVarTransferCache,
@@ -1121,10 +1149,11 @@ class ClientNotesApiService extends BaseService {
1121
1149
  }
1122
1150
  }
1123
1151
  let localVarPath = `/api/v1/client-notes/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
1124
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
1152
+ const { basePath, withCredentials } = this.configuration;
1153
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
1125
1154
  context: localVarHttpContext,
1126
1155
  responseType: responseType_,
1127
- withCredentials: this.configuration.withCredentials,
1156
+ ...(withCredentials ? { withCredentials } : {}),
1128
1157
  headers: localVarHeaders,
1129
1158
  observe: observe,
1130
1159
  transferCache: localVarTransferCache,
@@ -1175,11 +1204,12 @@ class ClientNotesApiService extends BaseService {
1175
1204
  }
1176
1205
  }
1177
1206
  let localVarPath = `/api/v1/client-notes/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
1178
- return this.httpClient.request("put", `${this.configuration.basePath}${localVarPath}`, {
1207
+ const { basePath, withCredentials } = this.configuration;
1208
+ return this.httpClient.request("put", `${basePath}${localVarPath}`, {
1179
1209
  context: localVarHttpContext,
1180
1210
  body: updateClientNoteRequestDto,
1181
1211
  responseType: responseType_,
1182
- withCredentials: this.configuration.withCredentials,
1212
+ ...(withCredentials ? { withCredentials } : {}),
1183
1213
  headers: localVarHeaders,
1184
1214
  observe: observe,
1185
1215
  transferCache: localVarTransferCache,
@@ -1258,11 +1288,12 @@ class ClientsApiService extends BaseService {
1258
1288
  }
1259
1289
  }
1260
1290
  let localVarPath = `/api/v1/clients/`;
1261
- return this.httpClient.request("post", `${this.configuration.basePath}${localVarPath}`, {
1291
+ const { basePath, withCredentials } = this.configuration;
1292
+ return this.httpClient.request("post", `${basePath}${localVarPath}`, {
1262
1293
  context: localVarHttpContext,
1263
1294
  body: clientRequestDto,
1264
1295
  responseType: responseType_,
1265
- withCredentials: this.configuration.withCredentials,
1296
+ ...(withCredentials ? { withCredentials } : {}),
1266
1297
  headers: localVarHeaders,
1267
1298
  observe: observe,
1268
1299
  transferCache: localVarTransferCache,
@@ -1469,11 +1500,12 @@ class ClientsApiService extends BaseService {
1469
1500
  }
1470
1501
  }
1471
1502
  let localVarPath = `/api/v1/clients/`;
1472
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
1503
+ const { basePath, withCredentials } = this.configuration;
1504
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
1473
1505
  context: localVarHttpContext,
1474
1506
  params: localVarQueryParameters,
1475
1507
  responseType: responseType_,
1476
- withCredentials: this.configuration.withCredentials,
1508
+ ...(withCredentials ? { withCredentials } : {}),
1477
1509
  headers: localVarHeaders,
1478
1510
  observe: observe,
1479
1511
  transferCache: localVarTransferCache,
@@ -1509,10 +1541,11 @@ class ClientsApiService extends BaseService {
1509
1541
  }
1510
1542
  }
1511
1543
  let localVarPath = `/api/v1/clients/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
1512
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
1544
+ const { basePath, withCredentials } = this.configuration;
1545
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
1513
1546
  context: localVarHttpContext,
1514
1547
  responseType: responseType_,
1515
- withCredentials: this.configuration.withCredentials,
1548
+ ...(withCredentials ? { withCredentials } : {}),
1516
1549
  headers: localVarHeaders,
1517
1550
  observe: observe,
1518
1551
  transferCache: localVarTransferCache,
@@ -1562,11 +1595,12 @@ class ClientsApiService extends BaseService {
1562
1595
  }
1563
1596
  }
1564
1597
  let localVarPath = `/api/v1/clients/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
1565
- return this.httpClient.request("put", `${this.configuration.basePath}${localVarPath}`, {
1598
+ const { basePath, withCredentials } = this.configuration;
1599
+ return this.httpClient.request("put", `${basePath}${localVarPath}`, {
1566
1600
  context: localVarHttpContext,
1567
1601
  body: clientRequestDto,
1568
1602
  responseType: responseType_,
1569
- withCredentials: this.configuration.withCredentials,
1603
+ ...(withCredentials ? { withCredentials } : {}),
1570
1604
  headers: localVarHeaders,
1571
1605
  observe: observe,
1572
1606
  transferCache: localVarTransferCache,
@@ -1602,10 +1636,11 @@ class ClientsApiService extends BaseService {
1602
1636
  }
1603
1637
  }
1604
1638
  let localVarPath = `/api/v1/clients/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/with-month-stats/`;
1605
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
1639
+ const { basePath, withCredentials } = this.configuration;
1640
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
1606
1641
  context: localVarHttpContext,
1607
1642
  responseType: responseType_,
1608
- withCredentials: this.configuration.withCredentials,
1643
+ ...(withCredentials ? { withCredentials } : {}),
1609
1644
  headers: localVarHeaders,
1610
1645
  observe: observe,
1611
1646
  transferCache: localVarTransferCache,
@@ -1812,11 +1847,12 @@ class ClientsApiService extends BaseService {
1812
1847
  }
1813
1848
  }
1814
1849
  let localVarPath = `/api/v1/clients/with-stats/`;
1815
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
1850
+ const { basePath, withCredentials } = this.configuration;
1851
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
1816
1852
  context: localVarHttpContext,
1817
1853
  params: localVarQueryParameters,
1818
1854
  responseType: responseType_,
1819
- withCredentials: this.configuration.withCredentials,
1855
+ ...(withCredentials ? { withCredentials } : {}),
1820
1856
  headers: localVarHeaders,
1821
1857
  observe: observe,
1822
1858
  transferCache: localVarTransferCache,
@@ -1852,10 +1888,11 @@ class ClientsApiService extends BaseService {
1852
1888
  }
1853
1889
  }
1854
1890
  let localVarPath = `/api/v1/clients/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/with-stats/`;
1855
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
1891
+ const { basePath, withCredentials } = this.configuration;
1892
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
1856
1893
  context: localVarHttpContext,
1857
1894
  responseType: responseType_,
1858
- withCredentials: this.configuration.withCredentials,
1895
+ ...(withCredentials ? { withCredentials } : {}),
1859
1896
  headers: localVarHeaders,
1860
1897
  observe: observe,
1861
1898
  transferCache: localVarTransferCache,
@@ -1963,11 +2000,12 @@ class ComponentsApiService extends BaseService {
1963
2000
  }
1964
2001
  }
1965
2002
  let localVarPath = `/api/v1/components/job-hourly-reports/`;
1966
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
2003
+ const { basePath, withCredentials } = this.configuration;
2004
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
1967
2005
  context: localVarHttpContext,
1968
2006
  params: localVarQueryParameters,
1969
2007
  responseType: responseType_,
1970
- withCredentials: this.configuration.withCredentials,
2008
+ ...(withCredentials ? { withCredentials } : {}),
1971
2009
  headers: localVarHeaders,
1972
2010
  observe: observe,
1973
2011
  transferCache: localVarTransferCache,
@@ -2028,11 +2066,12 @@ class ComponentsApiService extends BaseService {
2028
2066
  }
2029
2067
  }
2030
2068
  let localVarPath = `/api/v1/components/`;
2031
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
2069
+ const { basePath, withCredentials } = this.configuration;
2070
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
2032
2071
  context: localVarHttpContext,
2033
2072
  params: localVarQueryParameters,
2034
2073
  responseType: responseType_,
2035
- withCredentials: this.configuration.withCredentials,
2074
+ ...(withCredentials ? { withCredentials } : {}),
2036
2075
  headers: localVarHeaders,
2037
2076
  observe: observe,
2038
2077
  transferCache: localVarTransferCache,
@@ -2068,10 +2107,11 @@ class ComponentsApiService extends BaseService {
2068
2107
  }
2069
2108
  }
2070
2109
  let localVarPath = `/api/v1/components/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
2071
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
2110
+ const { basePath, withCredentials } = this.configuration;
2111
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
2072
2112
  context: localVarHttpContext,
2073
2113
  responseType: responseType_,
2074
- withCredentials: this.configuration.withCredentials,
2114
+ ...(withCredentials ? { withCredentials } : {}),
2075
2115
  headers: localVarHeaders,
2076
2116
  observe: observe,
2077
2117
  transferCache: localVarTransferCache,
@@ -2151,11 +2191,12 @@ class DepartmentsApiService extends BaseService {
2151
2191
  }
2152
2192
  }
2153
2193
  let localVarPath = `/api/v1/departments/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/change-active-status/`;
2154
- return this.httpClient.request("post", `${this.configuration.basePath}${localVarPath}`, {
2194
+ const { basePath, withCredentials } = this.configuration;
2195
+ return this.httpClient.request("post", `${basePath}${localVarPath}`, {
2155
2196
  context: localVarHttpContext,
2156
2197
  body: departmentChangeStateRequestDto,
2157
2198
  responseType: responseType_,
2158
- withCredentials: this.configuration.withCredentials,
2199
+ ...(withCredentials ? { withCredentials } : {}),
2159
2200
  headers: localVarHeaders,
2160
2201
  observe: observe,
2161
2202
  transferCache: localVarTransferCache,
@@ -2201,11 +2242,12 @@ class DepartmentsApiService extends BaseService {
2201
2242
  }
2202
2243
  }
2203
2244
  let localVarPath = `/api/v1/departments/`;
2204
- return this.httpClient.request("post", `${this.configuration.basePath}${localVarPath}`, {
2245
+ const { basePath, withCredentials } = this.configuration;
2246
+ return this.httpClient.request("post", `${basePath}${localVarPath}`, {
2205
2247
  context: localVarHttpContext,
2206
2248
  body: departmentRequestDto,
2207
2249
  responseType: responseType_,
2208
- withCredentials: this.configuration.withCredentials,
2250
+ ...(withCredentials ? { withCredentials } : {}),
2209
2251
  headers: localVarHeaders,
2210
2252
  observe: observe,
2211
2253
  transferCache: localVarTransferCache,
@@ -2286,11 +2328,12 @@ class DepartmentsApiService extends BaseService {
2286
2328
  }
2287
2329
  }
2288
2330
  let localVarPath = `/api/v1/departments/job-hourly-reports/`;
2289
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
2331
+ const { basePath, withCredentials } = this.configuration;
2332
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
2290
2333
  context: localVarHttpContext,
2291
2334
  params: localVarQueryParameters,
2292
2335
  responseType: responseType_,
2293
- withCredentials: this.configuration.withCredentials,
2336
+ ...(withCredentials ? { withCredentials } : {}),
2294
2337
  headers: localVarHeaders,
2295
2338
  observe: observe,
2296
2339
  transferCache: localVarTransferCache,
@@ -2357,11 +2400,12 @@ class DepartmentsApiService extends BaseService {
2357
2400
  }
2358
2401
  }
2359
2402
  let localVarPath = `/api/v1/departments/`;
2360
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
2403
+ const { basePath, withCredentials } = this.configuration;
2404
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
2361
2405
  context: localVarHttpContext,
2362
2406
  params: localVarQueryParameters,
2363
2407
  responseType: responseType_,
2364
- withCredentials: this.configuration.withCredentials,
2408
+ ...(withCredentials ? { withCredentials } : {}),
2365
2409
  headers: localVarHeaders,
2366
2410
  observe: observe,
2367
2411
  transferCache: localVarTransferCache,
@@ -2397,10 +2441,11 @@ class DepartmentsApiService extends BaseService {
2397
2441
  }
2398
2442
  }
2399
2443
  let localVarPath = `/api/v1/departments/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
2400
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
2444
+ const { basePath, withCredentials } = this.configuration;
2445
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
2401
2446
  context: localVarHttpContext,
2402
2447
  responseType: responseType_,
2403
- withCredentials: this.configuration.withCredentials,
2448
+ ...(withCredentials ? { withCredentials } : {}),
2404
2449
  headers: localVarHeaders,
2405
2450
  observe: observe,
2406
2451
  transferCache: localVarTransferCache,
@@ -2450,11 +2495,12 @@ class DepartmentsApiService extends BaseService {
2450
2495
  }
2451
2496
  }
2452
2497
  let localVarPath = `/api/v1/departments/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
2453
- return this.httpClient.request("put", `${this.configuration.basePath}${localVarPath}`, {
2498
+ const { basePath, withCredentials } = this.configuration;
2499
+ return this.httpClient.request("put", `${basePath}${localVarPath}`, {
2454
2500
  context: localVarHttpContext,
2455
2501
  body: departmentRequestDto,
2456
2502
  responseType: responseType_,
2457
- withCredentials: this.configuration.withCredentials,
2503
+ ...(withCredentials ? { withCredentials } : {}),
2458
2504
  headers: localVarHeaders,
2459
2505
  observe: observe,
2460
2506
  transferCache: localVarTransferCache,
@@ -2534,11 +2580,12 @@ class DismissalReasonsApiService extends BaseService {
2534
2580
  }
2535
2581
  }
2536
2582
  let localVarPath = `/api/v1/dismissal-reasons/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/change-active-status/`;
2537
- return this.httpClient.request("post", `${this.configuration.basePath}${localVarPath}`, {
2583
+ const { basePath, withCredentials } = this.configuration;
2584
+ return this.httpClient.request("post", `${basePath}${localVarPath}`, {
2538
2585
  context: localVarHttpContext,
2539
2586
  body: dismissalReasonChangeStateRequestDto,
2540
2587
  responseType: responseType_,
2541
- withCredentials: this.configuration.withCredentials,
2588
+ ...(withCredentials ? { withCredentials } : {}),
2542
2589
  headers: localVarHeaders,
2543
2590
  observe: observe,
2544
2591
  transferCache: localVarTransferCache,
@@ -2585,11 +2632,12 @@ class DismissalReasonsApiService extends BaseService {
2585
2632
  }
2586
2633
  }
2587
2634
  let localVarPath = `/api/v1/dismissal-reasons/`;
2588
- return this.httpClient.request("post", `${this.configuration.basePath}${localVarPath}`, {
2635
+ const { basePath, withCredentials } = this.configuration;
2636
+ return this.httpClient.request("post", `${basePath}${localVarPath}`, {
2589
2637
  context: localVarHttpContext,
2590
2638
  body: dismissalReasonRequestDto,
2591
2639
  responseType: responseType_,
2592
- withCredentials: this.configuration.withCredentials,
2640
+ ...(withCredentials ? { withCredentials } : {}),
2593
2641
  headers: localVarHeaders,
2594
2642
  observe: observe,
2595
2643
  transferCache: localVarTransferCache,
@@ -2652,11 +2700,12 @@ class DismissalReasonsApiService extends BaseService {
2652
2700
  }
2653
2701
  }
2654
2702
  let localVarPath = `/api/v1/dismissal-reasons/`;
2655
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
2703
+ const { basePath, withCredentials } = this.configuration;
2704
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
2656
2705
  context: localVarHttpContext,
2657
2706
  params: localVarQueryParameters,
2658
2707
  responseType: responseType_,
2659
- withCredentials: this.configuration.withCredentials,
2708
+ ...(withCredentials ? { withCredentials } : {}),
2660
2709
  headers: localVarHeaders,
2661
2710
  observe: observe,
2662
2711
  transferCache: localVarTransferCache,
@@ -2692,10 +2741,11 @@ class DismissalReasonsApiService extends BaseService {
2692
2741
  }
2693
2742
  }
2694
2743
  let localVarPath = `/api/v1/dismissal-reasons/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
2695
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
2744
+ const { basePath, withCredentials } = this.configuration;
2745
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
2696
2746
  context: localVarHttpContext,
2697
2747
  responseType: responseType_,
2698
- withCredentials: this.configuration.withCredentials,
2748
+ ...(withCredentials ? { withCredentials } : {}),
2699
2749
  headers: localVarHeaders,
2700
2750
  observe: observe,
2701
2751
  transferCache: localVarTransferCache,
@@ -2746,11 +2796,12 @@ class DismissalReasonsApiService extends BaseService {
2746
2796
  }
2747
2797
  }
2748
2798
  let localVarPath = `/api/v1/dismissal-reasons/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
2749
- return this.httpClient.request("put", `${this.configuration.basePath}${localVarPath}`, {
2799
+ const { basePath, withCredentials } = this.configuration;
2800
+ return this.httpClient.request("put", `${basePath}${localVarPath}`, {
2750
2801
  context: localVarHttpContext,
2751
2802
  body: dismissalReasonRequestDto,
2752
2803
  responseType: responseType_,
2753
- withCredentials: this.configuration.withCredentials,
2804
+ ...(withCredentials ? { withCredentials } : {}),
2754
2805
  headers: localVarHeaders,
2755
2806
  observe: observe,
2756
2807
  transferCache: localVarTransferCache,
@@ -2819,10 +2870,11 @@ class ExportClientNotesApiService extends BaseService {
2819
2870
  }
2820
2871
  }
2821
2872
  let localVarPath = `/api/v1/export-client-notes/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/cancel/`;
2822
- return this.httpClient.request("post", `${this.configuration.basePath}${localVarPath}`, {
2873
+ const { basePath, withCredentials } = this.configuration;
2874
+ return this.httpClient.request("post", `${basePath}${localVarPath}`, {
2823
2875
  context: localVarHttpContext,
2824
2876
  responseType: responseType_,
2825
- withCredentials: this.configuration.withCredentials,
2877
+ ...(withCredentials ? { withCredentials } : {}),
2826
2878
  headers: localVarHeaders,
2827
2879
  observe: observe,
2828
2880
  transferCache: localVarTransferCache,
@@ -2863,11 +2915,12 @@ class ExportClientNotesApiService extends BaseService {
2863
2915
  }
2864
2916
  }
2865
2917
  let localVarPath = `/api/v1/export-client-notes/`;
2866
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
2918
+ const { basePath, withCredentials } = this.configuration;
2919
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
2867
2920
  context: localVarHttpContext,
2868
2921
  params: localVarQueryParameters,
2869
2922
  responseType: responseType_,
2870
- withCredentials: this.configuration.withCredentials,
2923
+ ...(withCredentials ? { withCredentials } : {}),
2871
2924
  headers: localVarHeaders,
2872
2925
  observe: observe,
2873
2926
  transferCache: localVarTransferCache,
@@ -2903,10 +2956,11 @@ class ExportClientNotesApiService extends BaseService {
2903
2956
  }
2904
2957
  }
2905
2958
  let localVarPath = `/api/v1/export-client-notes/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
2906
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
2959
+ const { basePath, withCredentials } = this.configuration;
2960
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
2907
2961
  context: localVarHttpContext,
2908
2962
  responseType: responseType_,
2909
- withCredentials: this.configuration.withCredentials,
2963
+ ...(withCredentials ? { withCredentials } : {}),
2910
2964
  headers: localVarHeaders,
2911
2965
  observe: observe,
2912
2966
  transferCache: localVarTransferCache,
@@ -2988,12 +3042,13 @@ class ExportClientNotesApiService extends BaseService {
2988
3042
  }
2989
3043
  }
2990
3044
  let localVarPath = `/api/v1/export-client-notes/start/`;
2991
- return this.httpClient.request("post", `${this.configuration.basePath}${localVarPath}`, {
3045
+ const { basePath, withCredentials } = this.configuration;
3046
+ return this.httpClient.request("post", `${basePath}${localVarPath}`, {
2992
3047
  context: localVarHttpContext,
2993
3048
  body: clientNoteResourceCreateExportJobRequestDto,
2994
3049
  params: localVarQueryParameters,
2995
3050
  responseType: responseType_,
2996
- withCredentials: this.configuration.withCredentials,
3051
+ ...(withCredentials ? { withCredentials } : {}),
2997
3052
  headers: localVarHeaders,
2998
3053
  observe: observe,
2999
3054
  transferCache: localVarTransferCache,
@@ -3062,10 +3117,11 @@ class ExportClientsApiService extends BaseService {
3062
3117
  }
3063
3118
  }
3064
3119
  let localVarPath = `/api/v1/export-clients/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/cancel/`;
3065
- return this.httpClient.request("post", `${this.configuration.basePath}${localVarPath}`, {
3120
+ const { basePath, withCredentials } = this.configuration;
3121
+ return this.httpClient.request("post", `${basePath}${localVarPath}`, {
3066
3122
  context: localVarHttpContext,
3067
3123
  responseType: responseType_,
3068
- withCredentials: this.configuration.withCredentials,
3124
+ ...(withCredentials ? { withCredentials } : {}),
3069
3125
  headers: localVarHeaders,
3070
3126
  observe: observe,
3071
3127
  transferCache: localVarTransferCache,
@@ -3106,11 +3162,12 @@ class ExportClientsApiService extends BaseService {
3106
3162
  }
3107
3163
  }
3108
3164
  let localVarPath = `/api/v1/export-clients/`;
3109
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
3165
+ const { basePath, withCredentials } = this.configuration;
3166
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
3110
3167
  context: localVarHttpContext,
3111
3168
  params: localVarQueryParameters,
3112
3169
  responseType: responseType_,
3113
- withCredentials: this.configuration.withCredentials,
3170
+ ...(withCredentials ? { withCredentials } : {}),
3114
3171
  headers: localVarHeaders,
3115
3172
  observe: observe,
3116
3173
  transferCache: localVarTransferCache,
@@ -3146,10 +3203,11 @@ class ExportClientsApiService extends BaseService {
3146
3203
  }
3147
3204
  }
3148
3205
  let localVarPath = `/api/v1/export-clients/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
3149
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
3206
+ const { basePath, withCredentials } = this.configuration;
3207
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
3150
3208
  context: localVarHttpContext,
3151
3209
  responseType: responseType_,
3152
- withCredentials: this.configuration.withCredentials,
3210
+ ...(withCredentials ? { withCredentials } : {}),
3153
3211
  headers: localVarHeaders,
3154
3212
  observe: observe,
3155
3213
  transferCache: localVarTransferCache,
@@ -3367,12 +3425,13 @@ class ExportClientsApiService extends BaseService {
3367
3425
  }
3368
3426
  }
3369
3427
  let localVarPath = `/api/v1/export-clients/start/`;
3370
- return this.httpClient.request("post", `${this.configuration.basePath}${localVarPath}`, {
3428
+ const { basePath, withCredentials } = this.configuration;
3429
+ return this.httpClient.request("post", `${basePath}${localVarPath}`, {
3371
3430
  context: localVarHttpContext,
3372
3431
  body: clientResourceCreateExportJobRequestDto,
3373
3432
  params: localVarQueryParameters,
3374
3433
  responseType: responseType_,
3375
- withCredentials: this.configuration.withCredentials,
3434
+ ...(withCredentials ? { withCredentials } : {}),
3376
3435
  headers: localVarHeaders,
3377
3436
  observe: observe,
3378
3437
  transferCache: localVarTransferCache,
@@ -3441,10 +3500,11 @@ class ExportJobReportsDepartmentsApiService extends BaseService {
3441
3500
  }
3442
3501
  }
3443
3502
  let localVarPath = `/api/v1/export-job-reports-departments/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/cancel/`;
3444
- return this.httpClient.request("post", `${this.configuration.basePath}${localVarPath}`, {
3503
+ const { basePath, withCredentials } = this.configuration;
3504
+ return this.httpClient.request("post", `${basePath}${localVarPath}`, {
3445
3505
  context: localVarHttpContext,
3446
3506
  responseType: responseType_,
3447
- withCredentials: this.configuration.withCredentials,
3507
+ ...(withCredentials ? { withCredentials } : {}),
3448
3508
  headers: localVarHeaders,
3449
3509
  observe: observe,
3450
3510
  transferCache: localVarTransferCache,
@@ -3485,11 +3545,12 @@ class ExportJobReportsDepartmentsApiService extends BaseService {
3485
3545
  }
3486
3546
  }
3487
3547
  let localVarPath = `/api/v1/export-job-reports-departments/`;
3488
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
3548
+ const { basePath, withCredentials } = this.configuration;
3549
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
3489
3550
  context: localVarHttpContext,
3490
3551
  params: localVarQueryParameters,
3491
3552
  responseType: responseType_,
3492
- withCredentials: this.configuration.withCredentials,
3553
+ ...(withCredentials ? { withCredentials } : {}),
3493
3554
  headers: localVarHeaders,
3494
3555
  observe: observe,
3495
3556
  transferCache: localVarTransferCache,
@@ -3525,10 +3586,11 @@ class ExportJobReportsDepartmentsApiService extends BaseService {
3525
3586
  }
3526
3587
  }
3527
3588
  let localVarPath = `/api/v1/export-job-reports-departments/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
3528
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
3589
+ const { basePath, withCredentials } = this.configuration;
3590
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
3529
3591
  context: localVarHttpContext,
3530
3592
  responseType: responseType_,
3531
- withCredentials: this.configuration.withCredentials,
3593
+ ...(withCredentials ? { withCredentials } : {}),
3532
3594
  headers: localVarHeaders,
3533
3595
  observe: observe,
3534
3596
  transferCache: localVarTransferCache,
@@ -3652,12 +3714,13 @@ class ExportJobReportsDepartmentsApiService extends BaseService {
3652
3714
  }
3653
3715
  }
3654
3716
  let localVarPath = `/api/v1/export-job-reports-departments/start/`;
3655
- return this.httpClient.request("post", `${this.configuration.basePath}${localVarPath}`, {
3717
+ const { basePath, withCredentials } = this.configuration;
3718
+ return this.httpClient.request("post", `${basePath}${localVarPath}`, {
3656
3719
  context: localVarHttpContext,
3657
3720
  body: reportByDepartmentsResourceCreateExportJobRequestDto,
3658
3721
  params: localVarQueryParameters,
3659
3722
  responseType: responseType_,
3660
- withCredentials: this.configuration.withCredentials,
3723
+ ...(withCredentials ? { withCredentials } : {}),
3661
3724
  headers: localVarHeaders,
3662
3725
  observe: observe,
3663
3726
  transferCache: localVarTransferCache,
@@ -3726,10 +3789,11 @@ class ExportJobReportsUsersApiService extends BaseService {
3726
3789
  }
3727
3790
  }
3728
3791
  let localVarPath = `/api/v1/export-job-reports-users/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/cancel/`;
3729
- return this.httpClient.request("post", `${this.configuration.basePath}${localVarPath}`, {
3792
+ const { basePath, withCredentials } = this.configuration;
3793
+ return this.httpClient.request("post", `${basePath}${localVarPath}`, {
3730
3794
  context: localVarHttpContext,
3731
3795
  responseType: responseType_,
3732
- withCredentials: this.configuration.withCredentials,
3796
+ ...(withCredentials ? { withCredentials } : {}),
3733
3797
  headers: localVarHeaders,
3734
3798
  observe: observe,
3735
3799
  transferCache: localVarTransferCache,
@@ -3770,11 +3834,12 @@ class ExportJobReportsUsersApiService extends BaseService {
3770
3834
  }
3771
3835
  }
3772
3836
  let localVarPath = `/api/v1/export-job-reports-users/`;
3773
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
3837
+ const { basePath, withCredentials } = this.configuration;
3838
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
3774
3839
  context: localVarHttpContext,
3775
3840
  params: localVarQueryParameters,
3776
3841
  responseType: responseType_,
3777
- withCredentials: this.configuration.withCredentials,
3842
+ ...(withCredentials ? { withCredentials } : {}),
3778
3843
  headers: localVarHeaders,
3779
3844
  observe: observe,
3780
3845
  transferCache: localVarTransferCache,
@@ -3810,10 +3875,11 @@ class ExportJobReportsUsersApiService extends BaseService {
3810
3875
  }
3811
3876
  }
3812
3877
  let localVarPath = `/api/v1/export-job-reports-users/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
3813
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
3878
+ const { basePath, withCredentials } = this.configuration;
3879
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
3814
3880
  context: localVarHttpContext,
3815
3881
  responseType: responseType_,
3816
- withCredentials: this.configuration.withCredentials,
3882
+ ...(withCredentials ? { withCredentials } : {}),
3817
3883
  headers: localVarHeaders,
3818
3884
  observe: observe,
3819
3885
  transferCache: localVarTransferCache,
@@ -3937,12 +4003,13 @@ class ExportJobReportsUsersApiService extends BaseService {
3937
4003
  }
3938
4004
  }
3939
4005
  let localVarPath = `/api/v1/export-job-reports-users/start/`;
3940
- return this.httpClient.request("post", `${this.configuration.basePath}${localVarPath}`, {
4006
+ const { basePath, withCredentials } = this.configuration;
4007
+ return this.httpClient.request("post", `${basePath}${localVarPath}`, {
3941
4008
  context: localVarHttpContext,
3942
4009
  body: reportByUsersResourceCreateExportJobRequestDto,
3943
4010
  params: localVarQueryParameters,
3944
4011
  responseType: responseType_,
3945
- withCredentials: this.configuration.withCredentials,
4012
+ ...(withCredentials ? { withCredentials } : {}),
3946
4013
  headers: localVarHeaders,
3947
4014
  observe: observe,
3948
4015
  transferCache: localVarTransferCache,
@@ -4011,10 +4078,11 @@ class ExportJobsApiService extends BaseService {
4011
4078
  }
4012
4079
  }
4013
4080
  let localVarPath = `/api/v1/export-jobs/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/cancel/`;
4014
- return this.httpClient.request("post", `${this.configuration.basePath}${localVarPath}`, {
4081
+ const { basePath, withCredentials } = this.configuration;
4082
+ return this.httpClient.request("post", `${basePath}${localVarPath}`, {
4015
4083
  context: localVarHttpContext,
4016
4084
  responseType: responseType_,
4017
- withCredentials: this.configuration.withCredentials,
4085
+ ...(withCredentials ? { withCredentials } : {}),
4018
4086
  headers: localVarHeaders,
4019
4087
  observe: observe,
4020
4088
  transferCache: localVarTransferCache,
@@ -4055,11 +4123,12 @@ class ExportJobsApiService extends BaseService {
4055
4123
  }
4056
4124
  }
4057
4125
  let localVarPath = `/api/v1/export-jobs/`;
4058
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
4126
+ const { basePath, withCredentials } = this.configuration;
4127
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
4059
4128
  context: localVarHttpContext,
4060
4129
  params: localVarQueryParameters,
4061
4130
  responseType: responseType_,
4062
- withCredentials: this.configuration.withCredentials,
4131
+ ...(withCredentials ? { withCredentials } : {}),
4063
4132
  headers: localVarHeaders,
4064
4133
  observe: observe,
4065
4134
  transferCache: localVarTransferCache,
@@ -4095,10 +4164,11 @@ class ExportJobsApiService extends BaseService {
4095
4164
  }
4096
4165
  }
4097
4166
  let localVarPath = `/api/v1/export-jobs/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
4098
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
4167
+ const { basePath, withCredentials } = this.configuration;
4168
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
4099
4169
  context: localVarHttpContext,
4100
4170
  responseType: responseType_,
4101
- withCredentials: this.configuration.withCredentials,
4171
+ ...(withCredentials ? { withCredentials } : {}),
4102
4172
  headers: localVarHeaders,
4103
4173
  observe: observe,
4104
4174
  transferCache: localVarTransferCache,
@@ -4218,12 +4288,13 @@ class ExportJobsApiService extends BaseService {
4218
4288
  }
4219
4289
  }
4220
4290
  let localVarPath = `/api/v1/export-jobs/start/`;
4221
- return this.httpClient.request("post", `${this.configuration.basePath}${localVarPath}`, {
4291
+ const { basePath, withCredentials } = this.configuration;
4292
+ return this.httpClient.request("post", `${basePath}${localVarPath}`, {
4222
4293
  context: localVarHttpContext,
4223
4294
  body: jobResourceCreateExportJobRequestDto,
4224
4295
  params: localVarQueryParameters,
4225
4296
  responseType: responseType_,
4226
- withCredentials: this.configuration.withCredentials,
4297
+ ...(withCredentials ? { withCredentials } : {}),
4227
4298
  headers: localVarHeaders,
4228
4299
  observe: observe,
4229
4300
  transferCache: localVarTransferCache,
@@ -4292,10 +4363,11 @@ class ExportProjectNotesApiService extends BaseService {
4292
4363
  }
4293
4364
  }
4294
4365
  let localVarPath = `/api/v1/export-project-notes/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/cancel/`;
4295
- return this.httpClient.request("post", `${this.configuration.basePath}${localVarPath}`, {
4366
+ const { basePath, withCredentials } = this.configuration;
4367
+ return this.httpClient.request("post", `${basePath}${localVarPath}`, {
4296
4368
  context: localVarHttpContext,
4297
4369
  responseType: responseType_,
4298
- withCredentials: this.configuration.withCredentials,
4370
+ ...(withCredentials ? { withCredentials } : {}),
4299
4371
  headers: localVarHeaders,
4300
4372
  observe: observe,
4301
4373
  transferCache: localVarTransferCache,
@@ -4336,11 +4408,12 @@ class ExportProjectNotesApiService extends BaseService {
4336
4408
  }
4337
4409
  }
4338
4410
  let localVarPath = `/api/v1/export-project-notes/`;
4339
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
4411
+ const { basePath, withCredentials } = this.configuration;
4412
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
4340
4413
  context: localVarHttpContext,
4341
4414
  params: localVarQueryParameters,
4342
4415
  responseType: responseType_,
4343
- withCredentials: this.configuration.withCredentials,
4416
+ ...(withCredentials ? { withCredentials } : {}),
4344
4417
  headers: localVarHeaders,
4345
4418
  observe: observe,
4346
4419
  transferCache: localVarTransferCache,
@@ -4376,10 +4449,11 @@ class ExportProjectNotesApiService extends BaseService {
4376
4449
  }
4377
4450
  }
4378
4451
  let localVarPath = `/api/v1/export-project-notes/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
4379
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
4452
+ const { basePath, withCredentials } = this.configuration;
4453
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
4380
4454
  context: localVarHttpContext,
4381
4455
  responseType: responseType_,
4382
- withCredentials: this.configuration.withCredentials,
4456
+ ...(withCredentials ? { withCredentials } : {}),
4383
4457
  headers: localVarHeaders,
4384
4458
  observe: observe,
4385
4459
  transferCache: localVarTransferCache,
@@ -4459,12 +4533,13 @@ class ExportProjectNotesApiService extends BaseService {
4459
4533
  }
4460
4534
  }
4461
4535
  let localVarPath = `/api/v1/export-project-notes/start/`;
4462
- return this.httpClient.request("post", `${this.configuration.basePath}${localVarPath}`, {
4536
+ const { basePath, withCredentials } = this.configuration;
4537
+ return this.httpClient.request("post", `${basePath}${localVarPath}`, {
4463
4538
  context: localVarHttpContext,
4464
4539
  body: projectNoteResourceCreateExportJobRequestDto,
4465
4540
  params: localVarQueryParameters,
4466
4541
  responseType: responseType_,
4467
- withCredentials: this.configuration.withCredentials,
4542
+ ...(withCredentials ? { withCredentials } : {}),
4468
4543
  headers: localVarHeaders,
4469
4544
  observe: observe,
4470
4545
  transferCache: localVarTransferCache,
@@ -4533,10 +4608,11 @@ class ExportProjectResourcesApiService extends BaseService {
4533
4608
  }
4534
4609
  }
4535
4610
  let localVarPath = `/api/v1/export-project-resources/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/cancel/`;
4536
- return this.httpClient.request("post", `${this.configuration.basePath}${localVarPath}`, {
4611
+ const { basePath, withCredentials } = this.configuration;
4612
+ return this.httpClient.request("post", `${basePath}${localVarPath}`, {
4537
4613
  context: localVarHttpContext,
4538
4614
  responseType: responseType_,
4539
- withCredentials: this.configuration.withCredentials,
4615
+ ...(withCredentials ? { withCredentials } : {}),
4540
4616
  headers: localVarHeaders,
4541
4617
  observe: observe,
4542
4618
  transferCache: localVarTransferCache,
@@ -4577,11 +4653,12 @@ class ExportProjectResourcesApiService extends BaseService {
4577
4653
  }
4578
4654
  }
4579
4655
  let localVarPath = `/api/v1/export-project-resources/`;
4580
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
4656
+ const { basePath, withCredentials } = this.configuration;
4657
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
4581
4658
  context: localVarHttpContext,
4582
4659
  params: localVarQueryParameters,
4583
4660
  responseType: responseType_,
4584
- withCredentials: this.configuration.withCredentials,
4661
+ ...(withCredentials ? { withCredentials } : {}),
4585
4662
  headers: localVarHeaders,
4586
4663
  observe: observe,
4587
4664
  transferCache: localVarTransferCache,
@@ -4617,10 +4694,11 @@ class ExportProjectResourcesApiService extends BaseService {
4617
4694
  }
4618
4695
  }
4619
4696
  let localVarPath = `/api/v1/export-project-resources/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
4620
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
4697
+ const { basePath, withCredentials } = this.configuration;
4698
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
4621
4699
  context: localVarHttpContext,
4622
4700
  responseType: responseType_,
4623
- withCredentials: this.configuration.withCredentials,
4701
+ ...(withCredentials ? { withCredentials } : {}),
4624
4702
  headers: localVarHeaders,
4625
4703
  observe: observe,
4626
4704
  transferCache: localVarTransferCache,
@@ -4722,12 +4800,13 @@ class ExportProjectResourcesApiService extends BaseService {
4722
4800
  }
4723
4801
  }
4724
4802
  let localVarPath = `/api/v1/export-project-resources/start/`;
4725
- return this.httpClient.request("post", `${this.configuration.basePath}${localVarPath}`, {
4803
+ const { basePath, withCredentials } = this.configuration;
4804
+ return this.httpClient.request("post", `${basePath}${localVarPath}`, {
4726
4805
  context: localVarHttpContext,
4727
4806
  body: projectResourceResourceCreateExportJobRequestDto,
4728
4807
  params: localVarQueryParameters,
4729
4808
  responseType: responseType_,
4730
- withCredentials: this.configuration.withCredentials,
4809
+ ...(withCredentials ? { withCredentials } : {}),
4731
4810
  headers: localVarHeaders,
4732
4811
  observe: observe,
4733
4812
  transferCache: localVarTransferCache,
@@ -4796,10 +4875,11 @@ class ExportProjectsApiService extends BaseService {
4796
4875
  }
4797
4876
  }
4798
4877
  let localVarPath = `/api/v1/export-projects/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/cancel/`;
4799
- return this.httpClient.request("post", `${this.configuration.basePath}${localVarPath}`, {
4878
+ const { basePath, withCredentials } = this.configuration;
4879
+ return this.httpClient.request("post", `${basePath}${localVarPath}`, {
4800
4880
  context: localVarHttpContext,
4801
4881
  responseType: responseType_,
4802
- withCredentials: this.configuration.withCredentials,
4882
+ ...(withCredentials ? { withCredentials } : {}),
4803
4883
  headers: localVarHeaders,
4804
4884
  observe: observe,
4805
4885
  transferCache: localVarTransferCache,
@@ -4840,11 +4920,12 @@ class ExportProjectsApiService extends BaseService {
4840
4920
  }
4841
4921
  }
4842
4922
  let localVarPath = `/api/v1/export-projects/`;
4843
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
4923
+ const { basePath, withCredentials } = this.configuration;
4924
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
4844
4925
  context: localVarHttpContext,
4845
4926
  params: localVarQueryParameters,
4846
4927
  responseType: responseType_,
4847
- withCredentials: this.configuration.withCredentials,
4928
+ ...(withCredentials ? { withCredentials } : {}),
4848
4929
  headers: localVarHeaders,
4849
4930
  observe: observe,
4850
4931
  transferCache: localVarTransferCache,
@@ -4880,10 +4961,11 @@ class ExportProjectsApiService extends BaseService {
4880
4961
  }
4881
4962
  }
4882
4963
  let localVarPath = `/api/v1/export-projects/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
4883
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
4964
+ const { basePath, withCredentials } = this.configuration;
4965
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
4884
4966
  context: localVarHttpContext,
4885
4967
  responseType: responseType_,
4886
- withCredentials: this.configuration.withCredentials,
4968
+ ...(withCredentials ? { withCredentials } : {}),
4887
4969
  headers: localVarHeaders,
4888
4970
  observe: observe,
4889
4971
  transferCache: localVarTransferCache,
@@ -4977,12 +5059,13 @@ class ExportProjectsApiService extends BaseService {
4977
5059
  }
4978
5060
  }
4979
5061
  let localVarPath = `/api/v1/export-projects/start/`;
4980
- return this.httpClient.request("post", `${this.configuration.basePath}${localVarPath}`, {
5062
+ const { basePath, withCredentials } = this.configuration;
5063
+ return this.httpClient.request("post", `${basePath}${localVarPath}`, {
4981
5064
  context: localVarHttpContext,
4982
5065
  body: projectResourceCreateExportJobRequestDto,
4983
5066
  params: localVarQueryParameters,
4984
5067
  responseType: responseType_,
4985
- withCredentials: this.configuration.withCredentials,
5068
+ ...(withCredentials ? { withCredentials } : {}),
4986
5069
  headers: localVarHeaders,
4987
5070
  observe: observe,
4988
5071
  transferCache: localVarTransferCache,
@@ -5051,10 +5134,11 @@ class ExportTasksApiService extends BaseService {
5051
5134
  }
5052
5135
  }
5053
5136
  let localVarPath = `/api/v1/export-tasks/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/cancel/`;
5054
- return this.httpClient.request("post", `${this.configuration.basePath}${localVarPath}`, {
5137
+ const { basePath, withCredentials } = this.configuration;
5138
+ return this.httpClient.request("post", `${basePath}${localVarPath}`, {
5055
5139
  context: localVarHttpContext,
5056
5140
  responseType: responseType_,
5057
- withCredentials: this.configuration.withCredentials,
5141
+ ...(withCredentials ? { withCredentials } : {}),
5058
5142
  headers: localVarHeaders,
5059
5143
  observe: observe,
5060
5144
  transferCache: localVarTransferCache,
@@ -5095,11 +5179,12 @@ class ExportTasksApiService extends BaseService {
5095
5179
  }
5096
5180
  }
5097
5181
  let localVarPath = `/api/v1/export-tasks/`;
5098
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
5182
+ const { basePath, withCredentials } = this.configuration;
5183
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
5099
5184
  context: localVarHttpContext,
5100
5185
  params: localVarQueryParameters,
5101
5186
  responseType: responseType_,
5102
- withCredentials: this.configuration.withCredentials,
5187
+ ...(withCredentials ? { withCredentials } : {}),
5103
5188
  headers: localVarHeaders,
5104
5189
  observe: observe,
5105
5190
  transferCache: localVarTransferCache,
@@ -5135,10 +5220,11 @@ class ExportTasksApiService extends BaseService {
5135
5220
  }
5136
5221
  }
5137
5222
  let localVarPath = `/api/v1/export-tasks/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
5138
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
5223
+ const { basePath, withCredentials } = this.configuration;
5224
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
5139
5225
  context: localVarHttpContext,
5140
5226
  responseType: responseType_,
5141
- withCredentials: this.configuration.withCredentials,
5227
+ ...(withCredentials ? { withCredentials } : {}),
5142
5228
  headers: localVarHeaders,
5143
5229
  observe: observe,
5144
5230
  transferCache: localVarTransferCache,
@@ -5264,12 +5350,13 @@ class ExportTasksApiService extends BaseService {
5264
5350
  }
5265
5351
  }
5266
5352
  let localVarPath = `/api/v1/export-tasks/start/`;
5267
- return this.httpClient.request("post", `${this.configuration.basePath}${localVarPath}`, {
5353
+ const { basePath, withCredentials } = this.configuration;
5354
+ return this.httpClient.request("post", `${basePath}${localVarPath}`, {
5268
5355
  context: localVarHttpContext,
5269
5356
  body: taskResourceCreateExportJobRequestDto,
5270
5357
  params: localVarQueryParameters,
5271
5358
  responseType: responseType_,
5272
- withCredentials: this.configuration.withCredentials,
5359
+ ...(withCredentials ? { withCredentials } : {}),
5273
5360
  headers: localVarHeaders,
5274
5361
  observe: observe,
5275
5362
  transferCache: localVarTransferCache,
@@ -5338,10 +5425,11 @@ class ExportUserPeriodsApiService extends BaseService {
5338
5425
  }
5339
5426
  }
5340
5427
  let localVarPath = `/api/v1/export-user-periods/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/cancel/`;
5341
- return this.httpClient.request("post", `${this.configuration.basePath}${localVarPath}`, {
5428
+ const { basePath, withCredentials } = this.configuration;
5429
+ return this.httpClient.request("post", `${basePath}${localVarPath}`, {
5342
5430
  context: localVarHttpContext,
5343
5431
  responseType: responseType_,
5344
- withCredentials: this.configuration.withCredentials,
5432
+ ...(withCredentials ? { withCredentials } : {}),
5345
5433
  headers: localVarHeaders,
5346
5434
  observe: observe,
5347
5435
  transferCache: localVarTransferCache,
@@ -5382,11 +5470,12 @@ class ExportUserPeriodsApiService extends BaseService {
5382
5470
  }
5383
5471
  }
5384
5472
  let localVarPath = `/api/v1/export-user-periods/`;
5385
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
5473
+ const { basePath, withCredentials } = this.configuration;
5474
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
5386
5475
  context: localVarHttpContext,
5387
5476
  params: localVarQueryParameters,
5388
5477
  responseType: responseType_,
5389
- withCredentials: this.configuration.withCredentials,
5478
+ ...(withCredentials ? { withCredentials } : {}),
5390
5479
  headers: localVarHeaders,
5391
5480
  observe: observe,
5392
5481
  transferCache: localVarTransferCache,
@@ -5422,10 +5511,11 @@ class ExportUserPeriodsApiService extends BaseService {
5422
5511
  }
5423
5512
  }
5424
5513
  let localVarPath = `/api/v1/export-user-periods/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
5425
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
5514
+ const { basePath, withCredentials } = this.configuration;
5515
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
5426
5516
  context: localVarHttpContext,
5427
5517
  responseType: responseType_,
5428
- withCredentials: this.configuration.withCredentials,
5518
+ ...(withCredentials ? { withCredentials } : {}),
5429
5519
  headers: localVarHeaders,
5430
5520
  observe: observe,
5431
5521
  transferCache: localVarTransferCache,
@@ -5537,12 +5627,13 @@ class ExportUserPeriodsApiService extends BaseService {
5537
5627
  }
5538
5628
  }
5539
5629
  let localVarPath = `/api/v1/export-user-periods/start/`;
5540
- return this.httpClient.request("post", `${this.configuration.basePath}${localVarPath}`, {
5630
+ const { basePath, withCredentials } = this.configuration;
5631
+ return this.httpClient.request("post", `${basePath}${localVarPath}`, {
5541
5632
  context: localVarHttpContext,
5542
5633
  body: userPeriodResourceCreateExportJobRequestDto,
5543
5634
  params: localVarQueryParameters,
5544
5635
  responseType: responseType_,
5545
- withCredentials: this.configuration.withCredentials,
5636
+ ...(withCredentials ? { withCredentials } : {}),
5546
5637
  headers: localVarHeaders,
5547
5638
  observe: observe,
5548
5639
  transferCache: localVarTransferCache,
@@ -5611,10 +5702,11 @@ class ExportUsersApiService extends BaseService {
5611
5702
  }
5612
5703
  }
5613
5704
  let localVarPath = `/api/v1/export-users/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/cancel/`;
5614
- return this.httpClient.request("post", `${this.configuration.basePath}${localVarPath}`, {
5705
+ const { basePath, withCredentials } = this.configuration;
5706
+ return this.httpClient.request("post", `${basePath}${localVarPath}`, {
5615
5707
  context: localVarHttpContext,
5616
5708
  responseType: responseType_,
5617
- withCredentials: this.configuration.withCredentials,
5709
+ ...(withCredentials ? { withCredentials } : {}),
5618
5710
  headers: localVarHeaders,
5619
5711
  observe: observe,
5620
5712
  transferCache: localVarTransferCache,
@@ -5655,11 +5747,12 @@ class ExportUsersApiService extends BaseService {
5655
5747
  }
5656
5748
  }
5657
5749
  let localVarPath = `/api/v1/export-users/`;
5658
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
5750
+ const { basePath, withCredentials } = this.configuration;
5751
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
5659
5752
  context: localVarHttpContext,
5660
5753
  params: localVarQueryParameters,
5661
5754
  responseType: responseType_,
5662
- withCredentials: this.configuration.withCredentials,
5755
+ ...(withCredentials ? { withCredentials } : {}),
5663
5756
  headers: localVarHeaders,
5664
5757
  observe: observe,
5665
5758
  transferCache: localVarTransferCache,
@@ -5695,10 +5788,11 @@ class ExportUsersApiService extends BaseService {
5695
5788
  }
5696
5789
  }
5697
5790
  let localVarPath = `/api/v1/export-users/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
5698
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
5791
+ const { basePath, withCredentials } = this.configuration;
5792
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
5699
5793
  context: localVarHttpContext,
5700
5794
  responseType: responseType_,
5701
- withCredentials: this.configuration.withCredentials,
5795
+ ...(withCredentials ? { withCredentials } : {}),
5702
5796
  headers: localVarHeaders,
5703
5797
  observe: observe,
5704
5798
  transferCache: localVarTransferCache,
@@ -5808,12 +5902,13 @@ class ExportUsersApiService extends BaseService {
5808
5902
  }
5809
5903
  }
5810
5904
  let localVarPath = `/api/v1/export-users/start/`;
5811
- return this.httpClient.request("post", `${this.configuration.basePath}${localVarPath}`, {
5905
+ const { basePath, withCredentials } = this.configuration;
5906
+ return this.httpClient.request("post", `${basePath}${localVarPath}`, {
5812
5907
  context: localVarHttpContext,
5813
5908
  body: userResourceCreateExportJobRequestDto,
5814
5909
  params: localVarQueryParameters,
5815
5910
  responseType: responseType_,
5816
- withCredentials: this.configuration.withCredentials,
5911
+ ...(withCredentials ? { withCredentials } : {}),
5817
5912
  headers: localVarHeaders,
5818
5913
  observe: observe,
5819
5914
  transferCache: localVarTransferCache,
@@ -5893,11 +5988,12 @@ class JiraClientApiService extends BaseService {
5893
5988
  }
5894
5989
  }
5895
5990
  let localVarPath = `/api/v1/jira-client/create-project/`;
5896
- return this.httpClient.request("post", `${this.configuration.basePath}${localVarPath}`, {
5991
+ const { basePath, withCredentials } = this.configuration;
5992
+ return this.httpClient.request("post", `${basePath}${localVarPath}`, {
5897
5993
  context: localVarHttpContext,
5898
5994
  body: createJiraProjectRequestDto,
5899
5995
  responseType: responseType_,
5900
- withCredentials: this.configuration.withCredentials,
5996
+ ...(withCredentials ? { withCredentials } : {}),
5901
5997
  headers: localVarHeaders,
5902
5998
  observe: observe,
5903
5999
  transferCache: localVarTransferCache,
@@ -5971,11 +6067,12 @@ class JiraInstancesApiService extends BaseService {
5971
6067
  }
5972
6068
  }
5973
6069
  let localVarPath = `/api/v1/jira-instances/`;
5974
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
6070
+ const { basePath, withCredentials } = this.configuration;
6071
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
5975
6072
  context: localVarHttpContext,
5976
6073
  params: localVarQueryParameters,
5977
6074
  responseType: responseType_,
5978
- withCredentials: this.configuration.withCredentials,
6075
+ ...(withCredentials ? { withCredentials } : {}),
5979
6076
  headers: localVarHeaders,
5980
6077
  observe: observe,
5981
6078
  transferCache: localVarTransferCache,
@@ -6011,10 +6108,11 @@ class JiraInstancesApiService extends BaseService {
6011
6108
  }
6012
6109
  }
6013
6110
  let localVarPath = `/api/v1/jira-instances/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
6014
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
6111
+ const { basePath, withCredentials } = this.configuration;
6112
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
6015
6113
  context: localVarHttpContext,
6016
6114
  responseType: responseType_,
6017
- withCredentials: this.configuration.withCredentials,
6115
+ ...(withCredentials ? { withCredentials } : {}),
6018
6116
  headers: localVarHeaders,
6019
6117
  observe: observe,
6020
6118
  transferCache: localVarTransferCache,
@@ -6155,11 +6253,12 @@ class JobsApiService extends BaseService {
6155
6253
  }
6156
6254
  }
6157
6255
  let localVarPath = `/api/v1/jobs/billable-chart/`;
6158
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
6256
+ const { basePath, withCredentials } = this.configuration;
6257
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
6159
6258
  context: localVarHttpContext,
6160
6259
  params: localVarQueryParameters,
6161
6260
  responseType: responseType_,
6162
- withCredentials: this.configuration.withCredentials,
6261
+ ...(withCredentials ? { withCredentials } : {}),
6163
6262
  headers: localVarHeaders,
6164
6263
  observe: observe,
6165
6264
  transferCache: localVarTransferCache,
@@ -6268,11 +6367,12 @@ class JobsApiService extends BaseService {
6268
6367
  }
6269
6368
  }
6270
6369
  let localVarPath = `/api/v1/jobs/`;
6271
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
6370
+ const { basePath, withCredentials } = this.configuration;
6371
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
6272
6372
  context: localVarHttpContext,
6273
6373
  params: localVarQueryParameters,
6274
6374
  responseType: responseType_,
6275
- withCredentials: this.configuration.withCredentials,
6375
+ ...(withCredentials ? { withCredentials } : {}),
6276
6376
  headers: localVarHeaders,
6277
6377
  observe: observe,
6278
6378
  transferCache: localVarTransferCache,
@@ -6380,11 +6480,12 @@ class JobsApiService extends BaseService {
6380
6480
  }
6381
6481
  }
6382
6482
  let localVarPath = `/api/v1/jobs/oversea-chart/`;
6383
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
6483
+ const { basePath, withCredentials } = this.configuration;
6484
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
6384
6485
  context: localVarHttpContext,
6385
6486
  params: localVarQueryParameters,
6386
6487
  responseType: responseType_,
6387
- withCredentials: this.configuration.withCredentials,
6488
+ ...(withCredentials ? { withCredentials } : {}),
6388
6489
  headers: localVarHeaders,
6389
6490
  observe: observe,
6390
6491
  transferCache: localVarTransferCache,
@@ -6492,11 +6593,12 @@ class JobsApiService extends BaseService {
6492
6593
  }
6493
6594
  }
6494
6595
  let localVarPath = `/api/v1/jobs/production-chart/`;
6495
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
6596
+ const { basePath, withCredentials } = this.configuration;
6597
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
6496
6598
  context: localVarHttpContext,
6497
6599
  params: localVarQueryParameters,
6498
6600
  responseType: responseType_,
6499
- withCredentials: this.configuration.withCredentials,
6601
+ ...(withCredentials ? { withCredentials } : {}),
6500
6602
  headers: localVarHeaders,
6501
6603
  observe: observe,
6502
6604
  transferCache: localVarTransferCache,
@@ -6603,11 +6705,12 @@ class JobsApiService extends BaseService {
6603
6705
  }
6604
6706
  }
6605
6707
  let localVarPath = `/api/v1/jobs/report-departments/`;
6606
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
6708
+ const { basePath, withCredentials } = this.configuration;
6709
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
6607
6710
  context: localVarHttpContext,
6608
6711
  params: localVarQueryParameters,
6609
6712
  responseType: responseType_,
6610
- withCredentials: this.configuration.withCredentials,
6713
+ ...(withCredentials ? { withCredentials } : {}),
6611
6714
  headers: localVarHeaders,
6612
6715
  observe: observe,
6613
6716
  transferCache: localVarTransferCache,
@@ -6716,11 +6819,12 @@ class JobsApiService extends BaseService {
6716
6819
  }
6717
6820
  }
6718
6821
  let localVarPath = `/api/v1/jobs/report-hourly/`;
6719
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
6822
+ const { basePath, withCredentials } = this.configuration;
6823
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
6720
6824
  context: localVarHttpContext,
6721
6825
  params: localVarQueryParameters,
6722
6826
  responseType: responseType_,
6723
- withCredentials: this.configuration.withCredentials,
6827
+ ...(withCredentials ? { withCredentials } : {}),
6724
6828
  headers: localVarHeaders,
6725
6829
  observe: observe,
6726
6830
  transferCache: localVarTransferCache,
@@ -6827,11 +6931,12 @@ class JobsApiService extends BaseService {
6827
6931
  }
6828
6932
  }
6829
6933
  let localVarPath = `/api/v1/jobs/report-users/`;
6830
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
6934
+ const { basePath, withCredentials } = this.configuration;
6935
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
6831
6936
  context: localVarHttpContext,
6832
6937
  params: localVarQueryParameters,
6833
6938
  responseType: responseType_,
6834
- withCredentials: this.configuration.withCredentials,
6939
+ ...(withCredentials ? { withCredentials } : {}),
6835
6940
  headers: localVarHeaders,
6836
6941
  observe: observe,
6837
6942
  transferCache: localVarTransferCache,
@@ -6867,10 +6972,11 @@ class JobsApiService extends BaseService {
6867
6972
  }
6868
6973
  }
6869
6974
  let localVarPath = `/api/v1/jobs/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
6870
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
6975
+ const { basePath, withCredentials } = this.configuration;
6976
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
6871
6977
  context: localVarHttpContext,
6872
6978
  responseType: responseType_,
6873
- withCredentials: this.configuration.withCredentials,
6979
+ ...(withCredentials ? { withCredentials } : {}),
6874
6980
  headers: localVarHeaders,
6875
6981
  observe: observe,
6876
6982
  transferCache: localVarTransferCache,
@@ -6975,11 +7081,12 @@ class JobsApiService extends BaseService {
6975
7081
  }
6976
7082
  }
6977
7083
  let localVarPath = `/api/v1/jobs/stats/`;
6978
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
7084
+ const { basePath, withCredentials } = this.configuration;
7085
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
6979
7086
  context: localVarHttpContext,
6980
7087
  params: localVarQueryParameters,
6981
7088
  responseType: responseType_,
6982
- withCredentials: this.configuration.withCredentials,
7089
+ ...(withCredentials ? { withCredentials } : {}),
6983
7090
  headers: localVarHeaders,
6984
7091
  observe: observe,
6985
7092
  transferCache: localVarTransferCache,
@@ -7058,11 +7165,12 @@ class LocationsApiService extends BaseService {
7058
7165
  }
7059
7166
  }
7060
7167
  let localVarPath = `/api/v1/locations/`;
7061
- return this.httpClient.request("post", `${this.configuration.basePath}${localVarPath}`, {
7168
+ const { basePath, withCredentials } = this.configuration;
7169
+ return this.httpClient.request("post", `${basePath}${localVarPath}`, {
7062
7170
  context: localVarHttpContext,
7063
7171
  body: locationRequestDto,
7064
7172
  responseType: responseType_,
7065
- withCredentials: this.configuration.withCredentials,
7173
+ ...(withCredentials ? { withCredentials } : {}),
7066
7174
  headers: localVarHeaders,
7067
7175
  observe: observe,
7068
7176
  transferCache: localVarTransferCache,
@@ -7098,10 +7206,11 @@ class LocationsApiService extends BaseService {
7098
7206
  }
7099
7207
  }
7100
7208
  let localVarPath = `/api/v1/locations/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
7101
- return this.httpClient.request("delete", `${this.configuration.basePath}${localVarPath}`, {
7209
+ const { basePath, withCredentials } = this.configuration;
7210
+ return this.httpClient.request("delete", `${basePath}${localVarPath}`, {
7102
7211
  context: localVarHttpContext,
7103
7212
  responseType: responseType_,
7104
- withCredentials: this.configuration.withCredentials,
7213
+ ...(withCredentials ? { withCredentials } : {}),
7105
7214
  headers: localVarHeaders,
7106
7215
  observe: observe,
7107
7216
  transferCache: localVarTransferCache,
@@ -7168,11 +7277,12 @@ class LocationsApiService extends BaseService {
7168
7277
  }
7169
7278
  }
7170
7279
  let localVarPath = `/api/v1/locations/`;
7171
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
7280
+ const { basePath, withCredentials } = this.configuration;
7281
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
7172
7282
  context: localVarHttpContext,
7173
7283
  params: localVarQueryParameters,
7174
7284
  responseType: responseType_,
7175
- withCredentials: this.configuration.withCredentials,
7285
+ ...(withCredentials ? { withCredentials } : {}),
7176
7286
  headers: localVarHeaders,
7177
7287
  observe: observe,
7178
7288
  transferCache: localVarTransferCache,
@@ -7208,10 +7318,11 @@ class LocationsApiService extends BaseService {
7208
7318
  }
7209
7319
  }
7210
7320
  let localVarPath = `/api/v1/locations/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
7211
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
7321
+ const { basePath, withCredentials } = this.configuration;
7322
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
7212
7323
  context: localVarHttpContext,
7213
7324
  responseType: responseType_,
7214
- withCredentials: this.configuration.withCredentials,
7325
+ ...(withCredentials ? { withCredentials } : {}),
7215
7326
  headers: localVarHeaders,
7216
7327
  observe: observe,
7217
7328
  transferCache: localVarTransferCache,
@@ -7261,11 +7372,12 @@ class LocationsApiService extends BaseService {
7261
7372
  }
7262
7373
  }
7263
7374
  let localVarPath = `/api/v1/locations/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
7264
- return this.httpClient.request("put", `${this.configuration.basePath}${localVarPath}`, {
7375
+ const { basePath, withCredentials } = this.configuration;
7376
+ return this.httpClient.request("put", `${basePath}${localVarPath}`, {
7265
7377
  context: localVarHttpContext,
7266
7378
  body: locationRequestDto,
7267
7379
  responseType: responseType_,
7268
- withCredentials: this.configuration.withCredentials,
7380
+ ...(withCredentials ? { withCredentials } : {}),
7269
7381
  headers: localVarHeaders,
7270
7382
  observe: observe,
7271
7383
  transferCache: localVarTransferCache,
@@ -7330,10 +7442,11 @@ class NotificationsApiService extends BaseService {
7330
7442
  }
7331
7443
  }
7332
7444
  let localVarPath = `/api/v1/notifications/delete-all/`;
7333
- return this.httpClient.request("delete", `${this.configuration.basePath}${localVarPath}`, {
7445
+ const { basePath, withCredentials } = this.configuration;
7446
+ return this.httpClient.request("delete", `${basePath}${localVarPath}`, {
7334
7447
  context: localVarHttpContext,
7335
7448
  responseType: responseType_,
7336
- withCredentials: this.configuration.withCredentials,
7449
+ ...(withCredentials ? { withCredentials } : {}),
7337
7450
  headers: localVarHeaders,
7338
7451
  observe: observe,
7339
7452
  transferCache: localVarTransferCache,
@@ -7369,10 +7482,11 @@ class NotificationsApiService extends BaseService {
7369
7482
  }
7370
7483
  }
7371
7484
  let localVarPath = `/api/v1/notifications/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
7372
- return this.httpClient.request("delete", `${this.configuration.basePath}${localVarPath}`, {
7485
+ const { basePath, withCredentials } = this.configuration;
7486
+ return this.httpClient.request("delete", `${basePath}${localVarPath}`, {
7373
7487
  context: localVarHttpContext,
7374
7488
  responseType: responseType_,
7375
- withCredentials: this.configuration.withCredentials,
7489
+ ...(withCredentials ? { withCredentials } : {}),
7376
7490
  headers: localVarHeaders,
7377
7491
  observe: observe,
7378
7492
  transferCache: localVarTransferCache,
@@ -7445,11 +7559,12 @@ class NotificationsApiService extends BaseService {
7445
7559
  }
7446
7560
  }
7447
7561
  let localVarPath = `/api/v1/notifications/`;
7448
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
7562
+ const { basePath, withCredentials } = this.configuration;
7563
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
7449
7564
  context: localVarHttpContext,
7450
7565
  params: localVarQueryParameters,
7451
7566
  responseType: responseType_,
7452
- withCredentials: this.configuration.withCredentials,
7567
+ ...(withCredentials ? { withCredentials } : {}),
7453
7568
  headers: localVarHeaders,
7454
7569
  observe: observe,
7455
7570
  transferCache: localVarTransferCache,
@@ -7485,10 +7600,11 @@ class NotificationsApiService extends BaseService {
7485
7600
  }
7486
7601
  }
7487
7602
  let localVarPath = `/api/v1/notifications/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/read/`;
7488
- return this.httpClient.request("post", `${this.configuration.basePath}${localVarPath}`, {
7603
+ const { basePath, withCredentials } = this.configuration;
7604
+ return this.httpClient.request("post", `${basePath}${localVarPath}`, {
7489
7605
  context: localVarHttpContext,
7490
7606
  responseType: responseType_,
7491
- withCredentials: this.configuration.withCredentials,
7607
+ ...(withCredentials ? { withCredentials } : {}),
7492
7608
  headers: localVarHeaders,
7493
7609
  observe: observe,
7494
7610
  transferCache: localVarTransferCache,
@@ -7524,10 +7640,11 @@ class NotificationsApiService extends BaseService {
7524
7640
  }
7525
7641
  }
7526
7642
  let localVarPath = `/api/v1/notifications/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
7527
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
7643
+ const { basePath, withCredentials } = this.configuration;
7644
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
7528
7645
  context: localVarHttpContext,
7529
7646
  responseType: responseType_,
7530
- withCredentials: this.configuration.withCredentials,
7647
+ ...(withCredentials ? { withCredentials } : {}),
7531
7648
  headers: localVarHeaders,
7532
7649
  observe: observe,
7533
7650
  transferCache: localVarTransferCache,
@@ -7563,10 +7680,11 @@ class NotificationsApiService extends BaseService {
7563
7680
  }
7564
7681
  }
7565
7682
  let localVarPath = `/api/v1/notifications/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/unread/`;
7566
- return this.httpClient.request("post", `${this.configuration.basePath}${localVarPath}`, {
7683
+ const { basePath, withCredentials } = this.configuration;
7684
+ return this.httpClient.request("post", `${basePath}${localVarPath}`, {
7567
7685
  context: localVarHttpContext,
7568
7686
  responseType: responseType_,
7569
- withCredentials: this.configuration.withCredentials,
7687
+ ...(withCredentials ? { withCredentials } : {}),
7570
7688
  headers: localVarHeaders,
7571
7689
  observe: observe,
7572
7690
  transferCache: localVarTransferCache,
@@ -7631,10 +7749,11 @@ class PermissionDataApiService extends BaseService {
7631
7749
  }
7632
7750
  }
7633
7751
  let localVarPath = `/api/v1/permission-data/`;
7634
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
7752
+ const { basePath, withCredentials } = this.configuration;
7753
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
7635
7754
  context: localVarHttpContext,
7636
7755
  responseType: responseType_,
7637
- withCredentials: this.configuration.withCredentials,
7756
+ ...(withCredentials ? { withCredentials } : {}),
7638
7757
  headers: localVarHeaders,
7639
7758
  observe: observe,
7640
7759
  transferCache: localVarTransferCache,
@@ -7699,10 +7818,11 @@ class ProfileApiService extends BaseService {
7699
7818
  }
7700
7819
  }
7701
7820
  let localVarPath = `/api/v1/profile/`;
7702
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
7821
+ const { basePath, withCredentials } = this.configuration;
7822
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
7703
7823
  context: localVarHttpContext,
7704
7824
  responseType: responseType_,
7705
- withCredentials: this.configuration.withCredentials,
7825
+ ...(withCredentials ? { withCredentials } : {}),
7706
7826
  headers: localVarHeaders,
7707
7827
  observe: observe,
7708
7828
  transferCache: localVarTransferCache,
@@ -7748,11 +7868,12 @@ class ProfileApiService extends BaseService {
7748
7868
  }
7749
7869
  }
7750
7870
  let localVarPath = `/api/v1/profile/`;
7751
- return this.httpClient.request("put", `${this.configuration.basePath}${localVarPath}`, {
7871
+ const { basePath, withCredentials } = this.configuration;
7872
+ return this.httpClient.request("put", `${basePath}${localVarPath}`, {
7752
7873
  context: localVarHttpContext,
7753
7874
  body: profileRequestDto,
7754
7875
  responseType: responseType_,
7755
- withCredentials: this.configuration.withCredentials,
7876
+ ...(withCredentials ? { withCredentials } : {}),
7756
7877
  headers: localVarHeaders,
7757
7878
  observe: observe,
7758
7879
  transferCache: localVarTransferCache,
@@ -7831,11 +7952,12 @@ class ProjectNotesApiService extends BaseService {
7831
7952
  }
7832
7953
  }
7833
7954
  let localVarPath = `/api/v1/project-notes/`;
7834
- return this.httpClient.request("post", `${this.configuration.basePath}${localVarPath}`, {
7955
+ const { basePath, withCredentials } = this.configuration;
7956
+ return this.httpClient.request("post", `${basePath}${localVarPath}`, {
7835
7957
  context: localVarHttpContext,
7836
7958
  body: projectNoteRequestDto,
7837
7959
  responseType: responseType_,
7838
- withCredentials: this.configuration.withCredentials,
7960
+ ...(withCredentials ? { withCredentials } : {}),
7839
7961
  headers: localVarHeaders,
7840
7962
  observe: observe,
7841
7963
  transferCache: localVarTransferCache,
@@ -7871,10 +7993,11 @@ class ProjectNotesApiService extends BaseService {
7871
7993
  }
7872
7994
  }
7873
7995
  let localVarPath = `/api/v1/project-notes/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
7874
- return this.httpClient.request("delete", `${this.configuration.basePath}${localVarPath}`, {
7996
+ const { basePath, withCredentials } = this.configuration;
7997
+ return this.httpClient.request("delete", `${basePath}${localVarPath}`, {
7875
7998
  context: localVarHttpContext,
7876
7999
  responseType: responseType_,
7877
- withCredentials: this.configuration.withCredentials,
8000
+ ...(withCredentials ? { withCredentials } : {}),
7878
8001
  headers: localVarHeaders,
7879
8002
  observe: observe,
7880
8003
  transferCache: localVarTransferCache,
@@ -7943,11 +8066,12 @@ class ProjectNotesApiService extends BaseService {
7943
8066
  }
7944
8067
  }
7945
8068
  let localVarPath = `/api/v1/project-notes/`;
7946
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
8069
+ const { basePath, withCredentials } = this.configuration;
8070
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
7947
8071
  context: localVarHttpContext,
7948
8072
  params: localVarQueryParameters,
7949
8073
  responseType: responseType_,
7950
- withCredentials: this.configuration.withCredentials,
8074
+ ...(withCredentials ? { withCredentials } : {}),
7951
8075
  headers: localVarHeaders,
7952
8076
  observe: observe,
7953
8077
  transferCache: localVarTransferCache,
@@ -7983,10 +8107,11 @@ class ProjectNotesApiService extends BaseService {
7983
8107
  }
7984
8108
  }
7985
8109
  let localVarPath = `/api/v1/project-notes/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
7986
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
8110
+ const { basePath, withCredentials } = this.configuration;
8111
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
7987
8112
  context: localVarHttpContext,
7988
8113
  responseType: responseType_,
7989
- withCredentials: this.configuration.withCredentials,
8114
+ ...(withCredentials ? { withCredentials } : {}),
7990
8115
  headers: localVarHeaders,
7991
8116
  observe: observe,
7992
8117
  transferCache: localVarTransferCache,
@@ -8037,11 +8162,12 @@ class ProjectNotesApiService extends BaseService {
8037
8162
  }
8038
8163
  }
8039
8164
  let localVarPath = `/api/v1/project-notes/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
8040
- return this.httpClient.request("put", `${this.configuration.basePath}${localVarPath}`, {
8165
+ const { basePath, withCredentials } = this.configuration;
8166
+ return this.httpClient.request("put", `${basePath}${localVarPath}`, {
8041
8167
  context: localVarHttpContext,
8042
8168
  body: updateProjectNoteRequestDto,
8043
8169
  responseType: responseType_,
8044
- withCredentials: this.configuration.withCredentials,
8170
+ ...(withCredentials ? { withCredentials } : {}),
8045
8171
  headers: localVarHeaders,
8046
8172
  observe: observe,
8047
8173
  transferCache: localVarTransferCache,
@@ -8141,11 +8267,12 @@ class ProjectPrioritiesApiService extends BaseService {
8141
8267
  }
8142
8268
  }
8143
8269
  let localVarPath = `/api/v1/project-priorities/`;
8144
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
8270
+ const { basePath, withCredentials } = this.configuration;
8271
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
8145
8272
  context: localVarHttpContext,
8146
8273
  params: localVarQueryParameters,
8147
8274
  responseType: responseType_,
8148
- withCredentials: this.configuration.withCredentials,
8275
+ ...(withCredentials ? { withCredentials } : {}),
8149
8276
  headers: localVarHeaders,
8150
8277
  observe: observe,
8151
8278
  transferCache: localVarTransferCache,
@@ -8181,10 +8308,11 @@ class ProjectPrioritiesApiService extends BaseService {
8181
8308
  }
8182
8309
  }
8183
8310
  let localVarPath = `/api/v1/project-priorities/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
8184
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
8311
+ const { basePath, withCredentials } = this.configuration;
8312
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
8185
8313
  context: localVarHttpContext,
8186
8314
  responseType: responseType_,
8187
- withCredentials: this.configuration.withCredentials,
8315
+ ...(withCredentials ? { withCredentials } : {}),
8188
8316
  headers: localVarHeaders,
8189
8317
  observe: observe,
8190
8318
  transferCache: localVarTransferCache,
@@ -8264,11 +8392,12 @@ class ProjectResourcesApiService extends BaseService {
8264
8392
  }
8265
8393
  }
8266
8394
  let localVarPath = `/api/v1/project-resources/create-batch/`;
8267
- return this.httpClient.request("post", `${this.configuration.basePath}${localVarPath}`, {
8395
+ const { basePath, withCredentials } = this.configuration;
8396
+ return this.httpClient.request("post", `${basePath}${localVarPath}`, {
8268
8397
  context: localVarHttpContext,
8269
8398
  body: projectResourceRequestDto,
8270
8399
  responseType: responseType_,
8271
- withCredentials: this.configuration.withCredentials,
8400
+ ...(withCredentials ? { withCredentials } : {}),
8272
8401
  headers: localVarHeaders,
8273
8402
  observe: observe,
8274
8403
  transferCache: localVarTransferCache,
@@ -8305,11 +8434,12 @@ class ProjectResourcesApiService extends BaseService {
8305
8434
  }
8306
8435
  }
8307
8436
  let localVarPath = `/api/v1/project-resources/destroy-batch/`;
8308
- return this.httpClient.request("delete", `${this.configuration.basePath}${localVarPath}`, {
8437
+ const { basePath, withCredentials } = this.configuration;
8438
+ return this.httpClient.request("delete", `${basePath}${localVarPath}`, {
8309
8439
  context: localVarHttpContext,
8310
8440
  params: localVarQueryParameters,
8311
8441
  responseType: responseType_,
8312
- withCredentials: this.configuration.withCredentials,
8442
+ ...(withCredentials ? { withCredentials } : {}),
8313
8443
  headers: localVarHeaders,
8314
8444
  observe: observe,
8315
8445
  transferCache: localVarTransferCache,
@@ -8400,11 +8530,12 @@ class ProjectResourcesApiService extends BaseService {
8400
8530
  }
8401
8531
  }
8402
8532
  let localVarPath = `/api/v1/project-resources/`;
8403
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
8533
+ const { basePath, withCredentials } = this.configuration;
8534
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
8404
8535
  context: localVarHttpContext,
8405
8536
  params: localVarQueryParameters,
8406
8537
  responseType: responseType_,
8407
- withCredentials: this.configuration.withCredentials,
8538
+ ...(withCredentials ? { withCredentials } : {}),
8408
8539
  headers: localVarHeaders,
8409
8540
  observe: observe,
8410
8541
  transferCache: localVarTransferCache,
@@ -8440,10 +8571,11 @@ class ProjectResourcesApiService extends BaseService {
8440
8571
  }
8441
8572
  }
8442
8573
  let localVarPath = `/api/v1/project-resources/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
8443
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
8574
+ const { basePath, withCredentials } = this.configuration;
8575
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
8444
8576
  context: localVarHttpContext,
8445
8577
  responseType: responseType_,
8446
- withCredentials: this.configuration.withCredentials,
8578
+ ...(withCredentials ? { withCredentials } : {}),
8447
8579
  headers: localVarHeaders,
8448
8580
  observe: observe,
8449
8581
  transferCache: localVarTransferCache,
@@ -8494,11 +8626,12 @@ class ProjectResourcesApiService extends BaseService {
8494
8626
  }
8495
8627
  }
8496
8628
  let localVarPath = `/api/v1/project-resources/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
8497
- return this.httpClient.request("put", `${this.configuration.basePath}${localVarPath}`, {
8629
+ const { basePath, withCredentials } = this.configuration;
8630
+ return this.httpClient.request("put", `${basePath}${localVarPath}`, {
8498
8631
  context: localVarHttpContext,
8499
8632
  body: projectResourceUpdateRequestDto,
8500
8633
  responseType: responseType_,
8501
- withCredentials: this.configuration.withCredentials,
8634
+ ...(withCredentials ? { withCredentials } : {}),
8502
8635
  headers: localVarHeaders,
8503
8636
  observe: observe,
8504
8637
  transferCache: localVarTransferCache,
@@ -8577,11 +8710,12 @@ class ProjectsApiService extends BaseService {
8577
8710
  }
8578
8711
  }
8579
8712
  let localVarPath = `/api/v1/projects/`;
8580
- return this.httpClient.request("post", `${this.configuration.basePath}${localVarPath}`, {
8713
+ const { basePath, withCredentials } = this.configuration;
8714
+ return this.httpClient.request("post", `${basePath}${localVarPath}`, {
8581
8715
  context: localVarHttpContext,
8582
8716
  body: projectRequestDto,
8583
8717
  responseType: responseType_,
8584
- withCredentials: this.configuration.withCredentials,
8718
+ ...(withCredentials ? { withCredentials } : {}),
8585
8719
  headers: localVarHeaders,
8586
8720
  observe: observe,
8587
8721
  transferCache: localVarTransferCache,
@@ -8664,11 +8798,12 @@ class ProjectsApiService extends BaseService {
8664
8798
  }
8665
8799
  }
8666
8800
  let localVarPath = `/api/v1/projects/`;
8667
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
8801
+ const { basePath, withCredentials } = this.configuration;
8802
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
8668
8803
  context: localVarHttpContext,
8669
8804
  params: localVarQueryParameters,
8670
8805
  responseType: responseType_,
8671
- withCredentials: this.configuration.withCredentials,
8806
+ ...(withCredentials ? { withCredentials } : {}),
8672
8807
  headers: localVarHeaders,
8673
8808
  observe: observe,
8674
8809
  transferCache: localVarTransferCache,
@@ -8704,10 +8839,11 @@ class ProjectsApiService extends BaseService {
8704
8839
  }
8705
8840
  }
8706
8841
  let localVarPath = `/api/v1/projects/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
8707
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
8842
+ const { basePath, withCredentials } = this.configuration;
8843
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
8708
8844
  context: localVarHttpContext,
8709
8845
  responseType: responseType_,
8710
- withCredentials: this.configuration.withCredentials,
8846
+ ...(withCredentials ? { withCredentials } : {}),
8711
8847
  headers: localVarHeaders,
8712
8848
  observe: observe,
8713
8849
  transferCache: localVarTransferCache,
@@ -8757,11 +8893,12 @@ class ProjectsApiService extends BaseService {
8757
8893
  }
8758
8894
  }
8759
8895
  let localVarPath = `/api/v1/projects/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
8760
- return this.httpClient.request("put", `${this.configuration.basePath}${localVarPath}`, {
8896
+ const { basePath, withCredentials } = this.configuration;
8897
+ return this.httpClient.request("put", `${basePath}${localVarPath}`, {
8761
8898
  context: localVarHttpContext,
8762
8899
  body: projectRequestDto,
8763
8900
  responseType: responseType_,
8764
- withCredentials: this.configuration.withCredentials,
8901
+ ...(withCredentials ? { withCredentials } : {}),
8765
8902
  headers: localVarHeaders,
8766
8903
  observe: observe,
8767
8904
  transferCache: localVarTransferCache,
@@ -8797,10 +8934,11 @@ class ProjectsApiService extends BaseService {
8797
8934
  }
8798
8935
  }
8799
8936
  let localVarPath = `/api/v1/projects/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/with-month-stats/`;
8800
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
8937
+ const { basePath, withCredentials } = this.configuration;
8938
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
8801
8939
  context: localVarHttpContext,
8802
8940
  responseType: responseType_,
8803
- withCredentials: this.configuration.withCredentials,
8941
+ ...(withCredentials ? { withCredentials } : {}),
8804
8942
  headers: localVarHeaders,
8805
8943
  observe: observe,
8806
8944
  transferCache: localVarTransferCache,
@@ -8883,11 +9021,12 @@ class ProjectsApiService extends BaseService {
8883
9021
  }
8884
9022
  }
8885
9023
  let localVarPath = `/api/v1/projects/with-stats/`;
8886
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
9024
+ const { basePath, withCredentials } = this.configuration;
9025
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
8887
9026
  context: localVarHttpContext,
8888
9027
  params: localVarQueryParameters,
8889
9028
  responseType: responseType_,
8890
- withCredentials: this.configuration.withCredentials,
9029
+ ...(withCredentials ? { withCredentials } : {}),
8891
9030
  headers: localVarHeaders,
8892
9031
  observe: observe,
8893
9032
  transferCache: localVarTransferCache,
@@ -8923,10 +9062,11 @@ class ProjectsApiService extends BaseService {
8923
9062
  }
8924
9063
  }
8925
9064
  let localVarPath = `/api/v1/projects/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/with-stats/`;
8926
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
9065
+ const { basePath, withCredentials } = this.configuration;
9066
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
8927
9067
  context: localVarHttpContext,
8928
9068
  responseType: responseType_,
8929
- withCredentials: this.configuration.withCredentials,
9069
+ ...(withCredentials ? { withCredentials } : {}),
8930
9070
  headers: localVarHeaders,
8931
9071
  observe: observe,
8932
9072
  transferCache: localVarTransferCache,
@@ -9005,11 +9145,12 @@ class RolesApiService extends BaseService {
9005
9145
  }
9006
9146
  }
9007
9147
  let localVarPath = `/api/v1/roles/`;
9008
- return this.httpClient.request("post", `${this.configuration.basePath}${localVarPath}`, {
9148
+ const { basePath, withCredentials } = this.configuration;
9149
+ return this.httpClient.request("post", `${basePath}${localVarPath}`, {
9009
9150
  context: localVarHttpContext,
9010
9151
  body: roleRequestDto,
9011
9152
  responseType: responseType_,
9012
- withCredentials: this.configuration.withCredentials,
9153
+ ...(withCredentials ? { withCredentials } : {}),
9013
9154
  headers: localVarHeaders,
9014
9155
  observe: observe,
9015
9156
  transferCache: localVarTransferCache,
@@ -9045,10 +9186,11 @@ class RolesApiService extends BaseService {
9045
9186
  }
9046
9187
  }
9047
9188
  let localVarPath = `/api/v1/roles/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
9048
- return this.httpClient.request("delete", `${this.configuration.basePath}${localVarPath}`, {
9189
+ const { basePath, withCredentials } = this.configuration;
9190
+ return this.httpClient.request("delete", `${basePath}${localVarPath}`, {
9049
9191
  context: localVarHttpContext,
9050
9192
  responseType: responseType_,
9051
- withCredentials: this.configuration.withCredentials,
9193
+ ...(withCredentials ? { withCredentials } : {}),
9052
9194
  headers: localVarHeaders,
9053
9195
  observe: observe,
9054
9196
  transferCache: localVarTransferCache,
@@ -9115,11 +9257,12 @@ class RolesApiService extends BaseService {
9115
9257
  }
9116
9258
  }
9117
9259
  let localVarPath = `/api/v1/roles/`;
9118
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
9260
+ const { basePath, withCredentials } = this.configuration;
9261
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
9119
9262
  context: localVarHttpContext,
9120
9263
  params: localVarQueryParameters,
9121
9264
  responseType: responseType_,
9122
- withCredentials: this.configuration.withCredentials,
9265
+ ...(withCredentials ? { withCredentials } : {}),
9123
9266
  headers: localVarHeaders,
9124
9267
  observe: observe,
9125
9268
  transferCache: localVarTransferCache,
@@ -9155,10 +9298,11 @@ class RolesApiService extends BaseService {
9155
9298
  }
9156
9299
  }
9157
9300
  let localVarPath = `/api/v1/roles/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
9158
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
9301
+ const { basePath, withCredentials } = this.configuration;
9302
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
9159
9303
  context: localVarHttpContext,
9160
9304
  responseType: responseType_,
9161
- withCredentials: this.configuration.withCredentials,
9305
+ ...(withCredentials ? { withCredentials } : {}),
9162
9306
  headers: localVarHeaders,
9163
9307
  observe: observe,
9164
9308
  transferCache: localVarTransferCache,
@@ -9208,11 +9352,12 @@ class RolesApiService extends BaseService {
9208
9352
  }
9209
9353
  }
9210
9354
  let localVarPath = `/api/v1/roles/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
9211
- return this.httpClient.request("put", `${this.configuration.basePath}${localVarPath}`, {
9355
+ const { basePath, withCredentials } = this.configuration;
9356
+ return this.httpClient.request("put", `${basePath}${localVarPath}`, {
9212
9357
  context: localVarHttpContext,
9213
9358
  body: roleRequestDto,
9214
9359
  responseType: responseType_,
9215
- withCredentials: this.configuration.withCredentials,
9360
+ ...(withCredentials ? { withCredentials } : {}),
9216
9361
  headers: localVarHeaders,
9217
9362
  observe: observe,
9218
9363
  transferCache: localVarTransferCache,
@@ -9292,11 +9437,12 @@ class S3ApiService extends BaseService {
9292
9437
  }
9293
9438
  }
9294
9439
  let localVarPath = `/api/v1/s3/get-params/`;
9295
- return this.httpClient.request("post", `${this.configuration.basePath}${localVarPath}`, {
9440
+ const { basePath, withCredentials } = this.configuration;
9441
+ return this.httpClient.request("post", `${basePath}${localVarPath}`, {
9296
9442
  context: localVarHttpContext,
9297
9443
  body: s3RequestParamsRequestDto,
9298
9444
  responseType: responseType_,
9299
- withCredentials: this.configuration.withCredentials,
9445
+ ...(withCredentials ? { withCredentials } : {}),
9300
9446
  headers: localVarHeaders,
9301
9447
  observe: observe,
9302
9448
  transferCache: localVarTransferCache,
@@ -9409,11 +9555,12 @@ class SearchPeriodsApiService extends BaseService {
9409
9555
  }
9410
9556
  }
9411
9557
  let localVarPath = `/api/v1/search-periods/`;
9412
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
9558
+ const { basePath, withCredentials } = this.configuration;
9559
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
9413
9560
  context: localVarHttpContext,
9414
9561
  params: localVarQueryParameters,
9415
9562
  responseType: responseType_,
9416
- withCredentials: this.configuration.withCredentials,
9563
+ ...(withCredentials ? { withCredentials } : {}),
9417
9564
  headers: localVarHeaders,
9418
9565
  observe: observe,
9419
9566
  transferCache: localVarTransferCache,
@@ -9521,11 +9668,12 @@ class SprintsApiService extends BaseService {
9521
9668
  }
9522
9669
  }
9523
9670
  let localVarPath = `/api/v1/sprints/job-hourly-reports/`;
9524
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
9671
+ const { basePath, withCredentials } = this.configuration;
9672
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
9525
9673
  context: localVarHttpContext,
9526
9674
  params: localVarQueryParameters,
9527
9675
  responseType: responseType_,
9528
- withCredentials: this.configuration.withCredentials,
9676
+ ...(withCredentials ? { withCredentials } : {}),
9529
9677
  headers: localVarHeaders,
9530
9678
  observe: observe,
9531
9679
  transferCache: localVarTransferCache,
@@ -9586,11 +9734,12 @@ class SprintsApiService extends BaseService {
9586
9734
  }
9587
9735
  }
9588
9736
  let localVarPath = `/api/v1/sprints/`;
9589
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
9737
+ const { basePath, withCredentials } = this.configuration;
9738
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
9590
9739
  context: localVarHttpContext,
9591
9740
  params: localVarQueryParameters,
9592
9741
  responseType: responseType_,
9593
- withCredentials: this.configuration.withCredentials,
9742
+ ...(withCredentials ? { withCredentials } : {}),
9594
9743
  headers: localVarHeaders,
9595
9744
  observe: observe,
9596
9745
  transferCache: localVarTransferCache,
@@ -9626,10 +9775,11 @@ class SprintsApiService extends BaseService {
9626
9775
  }
9627
9776
  }
9628
9777
  let localVarPath = `/api/v1/sprints/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
9629
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
9778
+ const { basePath, withCredentials } = this.configuration;
9779
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
9630
9780
  context: localVarHttpContext,
9631
9781
  responseType: responseType_,
9632
- withCredentials: this.configuration.withCredentials,
9782
+ ...(withCredentials ? { withCredentials } : {}),
9633
9783
  headers: localVarHeaders,
9634
9784
  observe: observe,
9635
9785
  transferCache: localVarTransferCache,
@@ -9706,11 +9856,12 @@ class SsoApiService extends BaseService {
9706
9856
  }
9707
9857
  }
9708
9858
  let localVarPath = `/api/v1/sso/code-exchange/`;
9709
- return this.httpClient.request("post", `${this.configuration.basePath}${localVarPath}`, {
9859
+ const { basePath, withCredentials } = this.configuration;
9860
+ return this.httpClient.request("post", `${basePath}${localVarPath}`, {
9710
9861
  context: localVarHttpContext,
9711
9862
  body: openIDCodeExchangeRequestDto,
9712
9863
  responseType: responseType_,
9713
- withCredentials: this.configuration.withCredentials,
9864
+ ...(withCredentials ? { withCredentials } : {}),
9714
9865
  headers: localVarHeaders,
9715
9866
  observe: observe,
9716
9867
  transferCache: localVarTransferCache,
@@ -9753,11 +9904,12 @@ class SsoApiService extends BaseService {
9753
9904
  }
9754
9905
  }
9755
9906
  let localVarPath = `/api/v1/sso/debug/`;
9756
- return this.httpClient.request("post", `${this.configuration.basePath}${localVarPath}`, {
9907
+ const { basePath, withCredentials } = this.configuration;
9908
+ return this.httpClient.request("post", `${basePath}${localVarPath}`, {
9757
9909
  context: localVarHttpContext,
9758
9910
  body: debugLoginRequestDto,
9759
9911
  responseType: responseType_,
9760
- withCredentials: this.configuration.withCredentials,
9912
+ ...(withCredentials ? { withCredentials } : {}),
9761
9913
  headers: localVarHeaders,
9762
9914
  observe: observe,
9763
9915
  transferCache: localVarTransferCache,
@@ -9797,11 +9949,12 @@ class SsoApiService extends BaseService {
9797
9949
  }
9798
9950
  }
9799
9951
  let localVarPath = `/api/v1/sso/start/`;
9800
- return this.httpClient.request("post", `${this.configuration.basePath}${localVarPath}`, {
9952
+ const { basePath, withCredentials } = this.configuration;
9953
+ return this.httpClient.request("post", `${basePath}${localVarPath}`, {
9801
9954
  context: localVarHttpContext,
9802
9955
  body: loginOpenIDRequestDto,
9803
9956
  responseType: responseType_,
9804
- withCredentials: this.configuration.withCredentials,
9957
+ ...(withCredentials ? { withCredentials } : {}),
9805
9958
  headers: localVarHeaders,
9806
9959
  observe: observe,
9807
9960
  transferCache: localVarTransferCache,
@@ -9961,11 +10114,12 @@ class TasksApiService extends BaseService {
9961
10114
  }
9962
10115
  }
9963
10116
  let localVarPath = `/api/v1/tasks/job-hourly-reports/`;
9964
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
10117
+ const { basePath, withCredentials } = this.configuration;
10118
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
9965
10119
  context: localVarHttpContext,
9966
10120
  params: localVarQueryParameters,
9967
10121
  responseType: responseType_,
9968
- withCredentials: this.configuration.withCredentials,
10122
+ ...(withCredentials ? { withCredentials } : {}),
9969
10123
  headers: localVarHeaders,
9970
10124
  observe: observe,
9971
10125
  transferCache: localVarTransferCache,
@@ -10080,11 +10234,12 @@ class TasksApiService extends BaseService {
10080
10234
  }
10081
10235
  }
10082
10236
  let localVarPath = `/api/v1/tasks/`;
10083
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
10237
+ const { basePath, withCredentials } = this.configuration;
10238
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
10084
10239
  context: localVarHttpContext,
10085
10240
  params: localVarQueryParameters,
10086
10241
  responseType: responseType_,
10087
- withCredentials: this.configuration.withCredentials,
10242
+ ...(withCredentials ? { withCredentials } : {}),
10088
10243
  headers: localVarHeaders,
10089
10244
  observe: observe,
10090
10245
  transferCache: localVarTransferCache,
@@ -10120,10 +10275,11 @@ class TasksApiService extends BaseService {
10120
10275
  }
10121
10276
  }
10122
10277
  let localVarPath = `/api/v1/tasks/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
10123
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
10278
+ const { basePath, withCredentials } = this.configuration;
10279
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
10124
10280
  context: localVarHttpContext,
10125
10281
  responseType: responseType_,
10126
- withCredentials: this.configuration.withCredentials,
10282
+ ...(withCredentials ? { withCredentials } : {}),
10127
10283
  headers: localVarHeaders,
10128
10284
  observe: observe,
10129
10285
  transferCache: localVarTransferCache,
@@ -10234,11 +10390,12 @@ class TasksApiService extends BaseService {
10234
10390
  }
10235
10391
  }
10236
10392
  let localVarPath = `/api/v1/tasks/stats/`;
10237
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
10393
+ const { basePath, withCredentials } = this.configuration;
10394
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
10238
10395
  context: localVarHttpContext,
10239
10396
  params: localVarQueryParameters,
10240
10397
  responseType: responseType_,
10241
- withCredentials: this.configuration.withCredentials,
10398
+ ...(withCredentials ? { withCredentials } : {}),
10242
10399
  headers: localVarHeaders,
10243
10400
  observe: observe,
10244
10401
  transferCache: localVarTransferCache,
@@ -10349,11 +10506,12 @@ class TasksApiService extends BaseService {
10349
10506
  }
10350
10507
  }
10351
10508
  let localVarPath = `/api/v1/tasks/statuses/`;
10352
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
10509
+ const { basePath, withCredentials } = this.configuration;
10510
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
10353
10511
  context: localVarHttpContext,
10354
10512
  params: localVarQueryParameters,
10355
10513
  responseType: responseType_,
10356
- withCredentials: this.configuration.withCredentials,
10514
+ ...(withCredentials ? { withCredentials } : {}),
10357
10515
  headers: localVarHeaders,
10358
10516
  observe: observe,
10359
10517
  transferCache: localVarTransferCache,
@@ -10430,11 +10588,12 @@ class TokenApiService extends BaseService {
10430
10588
  }
10431
10589
  }
10432
10590
  let localVarPath = `/api/v1/token/refresh/`;
10433
- return this.httpClient.request("post", `${this.configuration.basePath}${localVarPath}`, {
10591
+ const { basePath, withCredentials } = this.configuration;
10592
+ return this.httpClient.request("post", `${basePath}${localVarPath}`, {
10434
10593
  context: localVarHttpContext,
10435
10594
  body: tokenRefreshRequestDto,
10436
10595
  responseType: responseType_,
10437
- withCredentials: this.configuration.withCredentials,
10596
+ ...(withCredentials ? { withCredentials } : {}),
10438
10597
  headers: localVarHeaders,
10439
10598
  observe: observe,
10440
10599
  transferCache: localVarTransferCache,
@@ -10477,11 +10636,12 @@ class TokenApiService extends BaseService {
10477
10636
  }
10478
10637
  }
10479
10638
  let localVarPath = `/api/v1/token/verify/`;
10480
- return this.httpClient.request("post", `${this.configuration.basePath}${localVarPath}`, {
10639
+ const { basePath, withCredentials } = this.configuration;
10640
+ return this.httpClient.request("post", `${basePath}${localVarPath}`, {
10481
10641
  context: localVarHttpContext,
10482
10642
  body: tokenVerifyRequestDto,
10483
10643
  responseType: responseType_,
10484
- withCredentials: this.configuration.withCredentials,
10644
+ ...(withCredentials ? { withCredentials } : {}),
10485
10645
  headers: localVarHeaders,
10486
10646
  observe: observe,
10487
10647
  transferCache: localVarTransferCache,
@@ -10546,10 +10706,11 @@ class UserCapacitiesApiService extends BaseService {
10546
10706
  }
10547
10707
  }
10548
10708
  let localVarPath = `/api/v1/user-capacities/calculate-capacity/`;
10549
- return this.httpClient.request("post", `${this.configuration.basePath}${localVarPath}`, {
10709
+ const { basePath, withCredentials } = this.configuration;
10710
+ return this.httpClient.request("post", `${basePath}${localVarPath}`, {
10550
10711
  context: localVarHttpContext,
10551
10712
  responseType: responseType_,
10552
- withCredentials: this.configuration.withCredentials,
10713
+ ...(withCredentials ? { withCredentials } : {}),
10553
10714
  headers: localVarHeaders,
10554
10715
  observe: observe,
10555
10716
  transferCache: localVarTransferCache,
@@ -10599,11 +10760,12 @@ class UserCapacitiesApiService extends BaseService {
10599
10760
  }
10600
10761
  }
10601
10762
  let localVarPath = `/api/v1/user-capacities/get-period-capacity/`;
10602
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
10763
+ const { basePath, withCredentials } = this.configuration;
10764
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
10603
10765
  context: localVarHttpContext,
10604
10766
  params: localVarQueryParameters,
10605
10767
  responseType: responseType_,
10606
- withCredentials: this.configuration.withCredentials,
10768
+ ...(withCredentials ? { withCredentials } : {}),
10607
10769
  headers: localVarHeaders,
10608
10770
  observe: observe,
10609
10771
  transferCache: localVarTransferCache,
@@ -10684,11 +10846,12 @@ class UserCapacitiesApiService extends BaseService {
10684
10846
  }
10685
10847
  }
10686
10848
  let localVarPath = `/api/v1/user-capacities/`;
10687
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
10849
+ const { basePath, withCredentials } = this.configuration;
10850
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
10688
10851
  context: localVarHttpContext,
10689
10852
  params: localVarQueryParameters,
10690
10853
  responseType: responseType_,
10691
- withCredentials: this.configuration.withCredentials,
10854
+ ...(withCredentials ? { withCredentials } : {}),
10692
10855
  headers: localVarHeaders,
10693
10856
  observe: observe,
10694
10857
  transferCache: localVarTransferCache,
@@ -10724,10 +10887,11 @@ class UserCapacitiesApiService extends BaseService {
10724
10887
  }
10725
10888
  }
10726
10889
  let localVarPath = `/api/v1/user-capacities/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
10727
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
10890
+ const { basePath, withCredentials } = this.configuration;
10891
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
10728
10892
  context: localVarHttpContext,
10729
10893
  responseType: responseType_,
10730
- withCredentials: this.configuration.withCredentials,
10894
+ ...(withCredentials ? { withCredentials } : {}),
10731
10895
  headers: localVarHeaders,
10732
10896
  observe: observe,
10733
10897
  transferCache: localVarTransferCache,
@@ -10859,11 +11023,12 @@ class UserLoginsApiService extends BaseService {
10859
11023
  }
10860
11024
  }
10861
11025
  let localVarPath = `/api/v1/user-logins/`;
10862
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
11026
+ const { basePath, withCredentials } = this.configuration;
11027
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
10863
11028
  context: localVarHttpContext,
10864
11029
  params: localVarQueryParameters,
10865
11030
  responseType: responseType_,
10866
- withCredentials: this.configuration.withCredentials,
11031
+ ...(withCredentials ? { withCredentials } : {}),
10867
11032
  headers: localVarHeaders,
10868
11033
  observe: observe,
10869
11034
  transferCache: localVarTransferCache,
@@ -10899,10 +11064,11 @@ class UserLoginsApiService extends BaseService {
10899
11064
  }
10900
11065
  }
10901
11066
  let localVarPath = `/api/v1/user-logins/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
10902
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
11067
+ const { basePath, withCredentials } = this.configuration;
11068
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
10903
11069
  context: localVarHttpContext,
10904
11070
  responseType: responseType_,
10905
- withCredentials: this.configuration.withCredentials,
11071
+ ...(withCredentials ? { withCredentials } : {}),
10906
11072
  headers: localVarHeaders,
10907
11073
  observe: observe,
10908
11074
  transferCache: localVarTransferCache,
@@ -10952,11 +11118,12 @@ class UserLoginsApiService extends BaseService {
10952
11118
  }
10953
11119
  }
10954
11120
  let localVarPath = `/api/v1/user-logins/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
10955
- return this.httpClient.request("put", `${this.configuration.basePath}${localVarPath}`, {
11121
+ const { basePath, withCredentials } = this.configuration;
11122
+ return this.httpClient.request("put", `${basePath}${localVarPath}`, {
10956
11123
  context: localVarHttpContext,
10957
11124
  body: userLoginRequestDto,
10958
11125
  responseType: responseType_,
10959
- withCredentials: this.configuration.withCredentials,
11126
+ ...(withCredentials ? { withCredentials } : {}),
10960
11127
  headers: localVarHeaders,
10961
11128
  observe: observe,
10962
11129
  transferCache: localVarTransferCache,
@@ -11035,11 +11202,12 @@ class UserPeriodsApiService extends BaseService {
11035
11202
  }
11036
11203
  }
11037
11204
  let localVarPath = `/api/v1/user-periods/`;
11038
- return this.httpClient.request("post", `${this.configuration.basePath}${localVarPath}`, {
11205
+ const { basePath, withCredentials } = this.configuration;
11206
+ return this.httpClient.request("post", `${basePath}${localVarPath}`, {
11039
11207
  context: localVarHttpContext,
11040
11208
  body: userPeriodRequestDto,
11041
11209
  responseType: responseType_,
11042
- withCredentials: this.configuration.withCredentials,
11210
+ ...(withCredentials ? { withCredentials } : {}),
11043
11211
  headers: localVarHeaders,
11044
11212
  observe: observe,
11045
11213
  transferCache: localVarTransferCache,
@@ -11075,10 +11243,11 @@ class UserPeriodsApiService extends BaseService {
11075
11243
  }
11076
11244
  }
11077
11245
  let localVarPath = `/api/v1/user-periods/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
11078
- return this.httpClient.request("delete", `${this.configuration.basePath}${localVarPath}`, {
11246
+ const { basePath, withCredentials } = this.configuration;
11247
+ return this.httpClient.request("delete", `${basePath}${localVarPath}`, {
11079
11248
  context: localVarHttpContext,
11080
11249
  responseType: responseType_,
11081
- withCredentials: this.configuration.withCredentials,
11250
+ ...(withCredentials ? { withCredentials } : {}),
11082
11251
  headers: localVarHeaders,
11083
11252
  observe: observe,
11084
11253
  transferCache: localVarTransferCache,
@@ -11179,11 +11348,12 @@ class UserPeriodsApiService extends BaseService {
11179
11348
  }
11180
11349
  }
11181
11350
  let localVarPath = `/api/v1/user-periods/`;
11182
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
11351
+ const { basePath, withCredentials } = this.configuration;
11352
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
11183
11353
  context: localVarHttpContext,
11184
11354
  params: localVarQueryParameters,
11185
11355
  responseType: responseType_,
11186
- withCredentials: this.configuration.withCredentials,
11356
+ ...(withCredentials ? { withCredentials } : {}),
11187
11357
  headers: localVarHeaders,
11188
11358
  observe: observe,
11189
11359
  transferCache: localVarTransferCache,
@@ -11219,10 +11389,11 @@ class UserPeriodsApiService extends BaseService {
11219
11389
  }
11220
11390
  }
11221
11391
  let localVarPath = `/api/v1/user-periods/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
11222
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
11392
+ const { basePath, withCredentials } = this.configuration;
11393
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
11223
11394
  context: localVarHttpContext,
11224
11395
  responseType: responseType_,
11225
- withCredentials: this.configuration.withCredentials,
11396
+ ...(withCredentials ? { withCredentials } : {}),
11226
11397
  headers: localVarHeaders,
11227
11398
  observe: observe,
11228
11399
  transferCache: localVarTransferCache,
@@ -11273,11 +11444,12 @@ class UserPeriodsApiService extends BaseService {
11273
11444
  }
11274
11445
  }
11275
11446
  let localVarPath = `/api/v1/user-periods/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/review-request/`;
11276
- return this.httpClient.request("post", `${this.configuration.basePath}${localVarPath}`, {
11447
+ const { basePath, withCredentials } = this.configuration;
11448
+ return this.httpClient.request("post", `${basePath}${localVarPath}`, {
11277
11449
  context: localVarHttpContext,
11278
11450
  body: userPeriodReviewRequestRequestDto,
11279
11451
  responseType: responseType_,
11280
- withCredentials: this.configuration.withCredentials,
11452
+ ...(withCredentials ? { withCredentials } : {}),
11281
11453
  headers: localVarHeaders,
11282
11454
  observe: observe,
11283
11455
  transferCache: localVarTransferCache,
@@ -11312,11 +11484,12 @@ class UserPeriodsApiService extends BaseService {
11312
11484
  }
11313
11485
  }
11314
11486
  let localVarPath = `/api/v1/user-periods/stats/`;
11315
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
11487
+ const { basePath, withCredentials } = this.configuration;
11488
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
11316
11489
  context: localVarHttpContext,
11317
11490
  params: localVarQueryParameters,
11318
11491
  responseType: responseType_,
11319
- withCredentials: this.configuration.withCredentials,
11492
+ ...(withCredentials ? { withCredentials } : {}),
11320
11493
  headers: localVarHeaders,
11321
11494
  observe: observe,
11322
11495
  transferCache: localVarTransferCache,
@@ -11366,11 +11539,12 @@ class UserPeriodsApiService extends BaseService {
11366
11539
  }
11367
11540
  }
11368
11541
  let localVarPath = `/api/v1/user-periods/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
11369
- return this.httpClient.request("put", `${this.configuration.basePath}${localVarPath}`, {
11542
+ const { basePath, withCredentials } = this.configuration;
11543
+ return this.httpClient.request("put", `${basePath}${localVarPath}`, {
11370
11544
  context: localVarHttpContext,
11371
11545
  body: userPeriodRequestDto,
11372
11546
  responseType: responseType_,
11373
- withCredentials: this.configuration.withCredentials,
11547
+ ...(withCredentials ? { withCredentials } : {}),
11374
11548
  headers: localVarHeaders,
11375
11549
  observe: observe,
11376
11550
  transferCache: localVarTransferCache,
@@ -11449,11 +11623,12 @@ class UserScoresApiService extends BaseService {
11449
11623
  }
11450
11624
  }
11451
11625
  let localVarPath = `/api/v1/user-scores/`;
11452
- return this.httpClient.request("post", `${this.configuration.basePath}${localVarPath}`, {
11626
+ const { basePath, withCredentials } = this.configuration;
11627
+ return this.httpClient.request("post", `${basePath}${localVarPath}`, {
11453
11628
  context: localVarHttpContext,
11454
11629
  body: userScoreRequestDto,
11455
11630
  responseType: responseType_,
11456
- withCredentials: this.configuration.withCredentials,
11631
+ ...(withCredentials ? { withCredentials } : {}),
11457
11632
  headers: localVarHeaders,
11458
11633
  observe: observe,
11459
11634
  transferCache: localVarTransferCache,
@@ -11528,11 +11703,12 @@ class UserScoresApiService extends BaseService {
11528
11703
  }
11529
11704
  }
11530
11705
  let localVarPath = `/api/v1/user-scores/`;
11531
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
11706
+ const { basePath, withCredentials } = this.configuration;
11707
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
11532
11708
  context: localVarHttpContext,
11533
11709
  params: localVarQueryParameters,
11534
11710
  responseType: responseType_,
11535
- withCredentials: this.configuration.withCredentials,
11711
+ ...(withCredentials ? { withCredentials } : {}),
11536
11712
  headers: localVarHeaders,
11537
11713
  observe: observe,
11538
11714
  transferCache: localVarTransferCache,
@@ -11568,10 +11744,11 @@ class UserScoresApiService extends BaseService {
11568
11744
  }
11569
11745
  }
11570
11746
  let localVarPath = `/api/v1/user-scores/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
11571
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
11747
+ const { basePath, withCredentials } = this.configuration;
11748
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
11572
11749
  context: localVarHttpContext,
11573
11750
  responseType: responseType_,
11574
- withCredentials: this.configuration.withCredentials,
11751
+ ...(withCredentials ? { withCredentials } : {}),
11575
11752
  headers: localVarHeaders,
11576
11753
  observe: observe,
11577
11754
  transferCache: localVarTransferCache,
@@ -11642,11 +11819,12 @@ class UserScoresApiService extends BaseService {
11642
11819
  }
11643
11820
  }
11644
11821
  let localVarPath = `/api/v1/user-scores/total-score/`;
11645
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
11822
+ const { basePath, withCredentials } = this.configuration;
11823
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
11646
11824
  context: localVarHttpContext,
11647
11825
  params: localVarQueryParameters,
11648
11826
  responseType: responseType_,
11649
- withCredentials: this.configuration.withCredentials,
11827
+ ...(withCredentials ? { withCredentials } : {}),
11650
11828
  headers: localVarHeaders,
11651
11829
  observe: observe,
11652
11830
  transferCache: localVarTransferCache,
@@ -11726,11 +11904,12 @@ class UserTimezoneSettingApiService extends BaseService {
11726
11904
  }
11727
11905
  }
11728
11906
  let localVarPath = `/api/v1/user-timezone-setting/`;
11729
- return this.httpClient.request("post", `${this.configuration.basePath}${localVarPath}`, {
11907
+ const { basePath, withCredentials } = this.configuration;
11908
+ return this.httpClient.request("post", `${basePath}${localVarPath}`, {
11730
11909
  context: localVarHttpContext,
11731
11910
  body: userTimezoneSettingRequestDto,
11732
11911
  responseType: responseType_,
11733
- withCredentials: this.configuration.withCredentials,
11912
+ ...(withCredentials ? { withCredentials } : {}),
11734
11913
  headers: localVarHeaders,
11735
11914
  observe: observe,
11736
11915
  transferCache: localVarTransferCache,
@@ -11762,10 +11941,11 @@ class UserTimezoneSettingApiService extends BaseService {
11762
11941
  }
11763
11942
  }
11764
11943
  let localVarPath = `/api/v1/user-timezone-setting/`;
11765
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
11944
+ const { basePath, withCredentials } = this.configuration;
11945
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
11766
11946
  context: localVarHttpContext,
11767
11947
  responseType: responseType_,
11768
- withCredentials: this.configuration.withCredentials,
11948
+ ...(withCredentials ? { withCredentials } : {}),
11769
11949
  headers: localVarHeaders,
11770
11950
  observe: observe,
11771
11951
  transferCache: localVarTransferCache,
@@ -11839,11 +12019,12 @@ class UserTimezonesApiService extends BaseService {
11839
12019
  }
11840
12020
  }
11841
12021
  let localVarPath = `/api/v1/user-timezones/`;
11842
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
12022
+ const { basePath, withCredentials } = this.configuration;
12023
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
11843
12024
  context: localVarHttpContext,
11844
12025
  params: localVarQueryParameters,
11845
12026
  responseType: responseType_,
11846
- withCredentials: this.configuration.withCredentials,
12027
+ ...(withCredentials ? { withCredentials } : {}),
11847
12028
  headers: localVarHeaders,
11848
12029
  observe: observe,
11849
12030
  transferCache: localVarTransferCache,
@@ -11895,12 +12076,13 @@ class UserTimezonesApiService extends BaseService {
11895
12076
  }
11896
12077
  }
11897
12078
  let localVarPath = `/api/v1/user-timezones/save-all/`;
11898
- return this.httpClient.request("post", `${this.configuration.basePath}${localVarPath}`, {
12079
+ const { basePath, withCredentials } = this.configuration;
12080
+ return this.httpClient.request("post", `${basePath}${localVarPath}`, {
11899
12081
  context: localVarHttpContext,
11900
12082
  body: userTimezoneRequestDto,
11901
12083
  params: localVarQueryParameters,
11902
12084
  responseType: responseType_,
11903
- withCredentials: this.configuration.withCredentials,
12085
+ ...(withCredentials ? { withCredentials } : {}),
11904
12086
  headers: localVarHeaders,
11905
12087
  observe: observe,
11906
12088
  transferCache: localVarTransferCache,
@@ -11979,11 +12161,12 @@ class UsersApiService extends BaseService {
11979
12161
  }
11980
12162
  }
11981
12163
  let localVarPath = `/api/v1/users/`;
11982
- return this.httpClient.request("post", `${this.configuration.basePath}${localVarPath}`, {
12164
+ const { basePath, withCredentials } = this.configuration;
12165
+ return this.httpClient.request("post", `${basePath}${localVarPath}`, {
11983
12166
  context: localVarHttpContext,
11984
12167
  body: userRequestDto,
11985
12168
  responseType: responseType_,
11986
- withCredentials: this.configuration.withCredentials,
12169
+ ...(withCredentials ? { withCredentials } : {}),
11987
12170
  headers: localVarHeaders,
11988
12171
  observe: observe,
11989
12172
  transferCache: localVarTransferCache,
@@ -12082,11 +12265,12 @@ class UsersApiService extends BaseService {
12082
12265
  }
12083
12266
  }
12084
12267
  let localVarPath = `/api/v1/users/`;
12085
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
12268
+ const { basePath, withCredentials } = this.configuration;
12269
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
12086
12270
  context: localVarHttpContext,
12087
12271
  params: localVarQueryParameters,
12088
12272
  responseType: responseType_,
12089
- withCredentials: this.configuration.withCredentials,
12273
+ ...(withCredentials ? { withCredentials } : {}),
12090
12274
  headers: localVarHeaders,
12091
12275
  observe: observe,
12092
12276
  transferCache: localVarTransferCache,
@@ -12122,10 +12306,11 @@ class UsersApiService extends BaseService {
12122
12306
  }
12123
12307
  }
12124
12308
  let localVarPath = `/api/v1/users/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
12125
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
12309
+ const { basePath, withCredentials } = this.configuration;
12310
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
12126
12311
  context: localVarHttpContext,
12127
12312
  responseType: responseType_,
12128
- withCredentials: this.configuration.withCredentials,
12313
+ ...(withCredentials ? { withCredentials } : {}),
12129
12314
  headers: localVarHeaders,
12130
12315
  observe: observe,
12131
12316
  transferCache: localVarTransferCache,
@@ -12175,11 +12360,12 @@ class UsersApiService extends BaseService {
12175
12360
  }
12176
12361
  }
12177
12362
  let localVarPath = `/api/v1/users/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
12178
- return this.httpClient.request("put", `${this.configuration.basePath}${localVarPath}`, {
12363
+ const { basePath, withCredentials } = this.configuration;
12364
+ return this.httpClient.request("put", `${basePath}${localVarPath}`, {
12179
12365
  context: localVarHttpContext,
12180
12366
  body: userRequestDto,
12181
12367
  responseType: responseType_,
12182
- withCredentials: this.configuration.withCredentials,
12368
+ ...(withCredentials ? { withCredentials } : {}),
12183
12369
  headers: localVarHeaders,
12184
12370
  observe: observe,
12185
12371
  transferCache: localVarTransferCache,
@@ -12292,11 +12478,12 @@ class UsersApiService extends BaseService {
12292
12478
  }
12293
12479
  }
12294
12480
  let localVarPath = `/api/v1/users/utilization-chart/`;
12295
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
12481
+ const { basePath, withCredentials } = this.configuration;
12482
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
12296
12483
  context: localVarHttpContext,
12297
12484
  params: localVarQueryParameters,
12298
12485
  responseType: responseType_,
12299
- withCredentials: this.configuration.withCredentials,
12486
+ ...(withCredentials ? { withCredentials } : {}),
12300
12487
  headers: localVarHeaders,
12301
12488
  observe: observe,
12302
12489
  transferCache: localVarTransferCache,
@@ -12376,11 +12563,12 @@ class VendorsApiService extends BaseService {
12376
12563
  }
12377
12564
  }
12378
12565
  let localVarPath = `/api/v1/vendors/`;
12379
- return this.httpClient.request("post", `${this.configuration.basePath}${localVarPath}`, {
12566
+ const { basePath, withCredentials } = this.configuration;
12567
+ return this.httpClient.request("post", `${basePath}${localVarPath}`, {
12380
12568
  context: localVarHttpContext,
12381
12569
  body: simpleVendorRequestDto,
12382
12570
  responseType: responseType_,
12383
- withCredentials: this.configuration.withCredentials,
12571
+ ...(withCredentials ? { withCredentials } : {}),
12384
12572
  headers: localVarHeaders,
12385
12573
  observe: observe,
12386
12574
  transferCache: localVarTransferCache,
@@ -12416,10 +12604,11 @@ class VendorsApiService extends BaseService {
12416
12604
  }
12417
12605
  }
12418
12606
  let localVarPath = `/api/v1/vendors/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
12419
- return this.httpClient.request("delete", `${this.configuration.basePath}${localVarPath}`, {
12607
+ const { basePath, withCredentials } = this.configuration;
12608
+ return this.httpClient.request("delete", `${basePath}${localVarPath}`, {
12420
12609
  context: localVarHttpContext,
12421
12610
  responseType: responseType_,
12422
- withCredentials: this.configuration.withCredentials,
12611
+ ...(withCredentials ? { withCredentials } : {}),
12423
12612
  headers: localVarHeaders,
12424
12613
  observe: observe,
12425
12614
  transferCache: localVarTransferCache,
@@ -12474,11 +12663,12 @@ class VendorsApiService extends BaseService {
12474
12663
  }
12475
12664
  }
12476
12665
  let localVarPath = `/api/v1/vendors/`;
12477
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
12666
+ const { basePath, withCredentials } = this.configuration;
12667
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
12478
12668
  context: localVarHttpContext,
12479
12669
  params: localVarQueryParameters,
12480
12670
  responseType: responseType_,
12481
- withCredentials: this.configuration.withCredentials,
12671
+ ...(withCredentials ? { withCredentials } : {}),
12482
12672
  headers: localVarHeaders,
12483
12673
  observe: observe,
12484
12674
  transferCache: localVarTransferCache,
@@ -12514,10 +12704,11 @@ class VendorsApiService extends BaseService {
12514
12704
  }
12515
12705
  }
12516
12706
  let localVarPath = `/api/v1/vendors/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
12517
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
12707
+ const { basePath, withCredentials } = this.configuration;
12708
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
12518
12709
  context: localVarHttpContext,
12519
12710
  responseType: responseType_,
12520
- withCredentials: this.configuration.withCredentials,
12711
+ ...(withCredentials ? { withCredentials } : {}),
12521
12712
  headers: localVarHeaders,
12522
12713
  observe: observe,
12523
12714
  transferCache: localVarTransferCache,
@@ -12568,11 +12759,12 @@ class VendorsApiService extends BaseService {
12568
12759
  }
12569
12760
  }
12570
12761
  let localVarPath = `/api/v1/vendors/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
12571
- return this.httpClient.request("put", `${this.configuration.basePath}${localVarPath}`, {
12762
+ const { basePath, withCredentials } = this.configuration;
12763
+ return this.httpClient.request("put", `${basePath}${localVarPath}`, {
12572
12764
  context: localVarHttpContext,
12573
12765
  body: simpleVendorRequestDto,
12574
12766
  responseType: responseType_,
12575
- withCredentials: this.configuration.withCredentials,
12767
+ ...(withCredentials ? { withCredentials } : {}),
12576
12768
  headers: localVarHeaders,
12577
12769
  observe: observe,
12578
12770
  transferCache: localVarTransferCache,
@@ -12637,10 +12829,11 @@ class WhoAmIApiService extends BaseService {
12637
12829
  }
12638
12830
  }
12639
12831
  let localVarPath = `/api/v1/who-am-i/`;
12640
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
12832
+ const { basePath, withCredentials } = this.configuration;
12833
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
12641
12834
  context: localVarHttpContext,
12642
12835
  responseType: responseType_,
12643
- withCredentials: this.configuration.withCredentials,
12836
+ ...(withCredentials ? { withCredentials } : {}),
12644
12837
  headers: localVarHeaders,
12645
12838
  observe: observe,
12646
12839
  transferCache: localVarTransferCache,
@@ -12720,11 +12913,12 @@ class WorkTypesApiService extends BaseService {
12720
12913
  }
12721
12914
  }
12722
12915
  let localVarPath = `/api/v1/work-types/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/change-active-status/`;
12723
- return this.httpClient.request("post", `${this.configuration.basePath}${localVarPath}`, {
12916
+ const { basePath, withCredentials } = this.configuration;
12917
+ return this.httpClient.request("post", `${basePath}${localVarPath}`, {
12724
12918
  context: localVarHttpContext,
12725
12919
  body: workTypeChangeStateRequestDto,
12726
12920
  responseType: responseType_,
12727
- withCredentials: this.configuration.withCredentials,
12921
+ ...(withCredentials ? { withCredentials } : {}),
12728
12922
  headers: localVarHeaders,
12729
12923
  observe: observe,
12730
12924
  transferCache: localVarTransferCache,
@@ -12770,11 +12964,12 @@ class WorkTypesApiService extends BaseService {
12770
12964
  }
12771
12965
  }
12772
12966
  let localVarPath = `/api/v1/work-types/`;
12773
- return this.httpClient.request("post", `${this.configuration.basePath}${localVarPath}`, {
12967
+ const { basePath, withCredentials } = this.configuration;
12968
+ return this.httpClient.request("post", `${basePath}${localVarPath}`, {
12774
12969
  context: localVarHttpContext,
12775
12970
  body: workTypeRequestDto,
12776
12971
  responseType: responseType_,
12777
- withCredentials: this.configuration.withCredentials,
12972
+ ...(withCredentials ? { withCredentials } : {}),
12778
12973
  headers: localVarHeaders,
12779
12974
  observe: observe,
12780
12975
  transferCache: localVarTransferCache,
@@ -12843,11 +13038,12 @@ class WorkTypesApiService extends BaseService {
12843
13038
  }
12844
13039
  }
12845
13040
  let localVarPath = `/api/v1/work-types/`;
12846
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
13041
+ const { basePath, withCredentials } = this.configuration;
13042
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
12847
13043
  context: localVarHttpContext,
12848
13044
  params: localVarQueryParameters,
12849
13045
  responseType: responseType_,
12850
- withCredentials: this.configuration.withCredentials,
13046
+ ...(withCredentials ? { withCredentials } : {}),
12851
13047
  headers: localVarHeaders,
12852
13048
  observe: observe,
12853
13049
  transferCache: localVarTransferCache,
@@ -12883,10 +13079,11 @@ class WorkTypesApiService extends BaseService {
12883
13079
  }
12884
13080
  }
12885
13081
  let localVarPath = `/api/v1/work-types/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
12886
- return this.httpClient.request("get", `${this.configuration.basePath}${localVarPath}`, {
13082
+ const { basePath, withCredentials } = this.configuration;
13083
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
12887
13084
  context: localVarHttpContext,
12888
13085
  responseType: responseType_,
12889
- withCredentials: this.configuration.withCredentials,
13086
+ ...(withCredentials ? { withCredentials } : {}),
12890
13087
  headers: localVarHeaders,
12891
13088
  observe: observe,
12892
13089
  transferCache: localVarTransferCache,
@@ -12936,11 +13133,12 @@ class WorkTypesApiService extends BaseService {
12936
13133
  }
12937
13134
  }
12938
13135
  let localVarPath = `/api/v1/work-types/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
12939
- return this.httpClient.request("put", `${this.configuration.basePath}${localVarPath}`, {
13136
+ const { basePath, withCredentials } = this.configuration;
13137
+ return this.httpClient.request("put", `${basePath}${localVarPath}`, {
12940
13138
  context: localVarHttpContext,
12941
13139
  body: workTypeRequestDto,
12942
13140
  responseType: responseType_,
12943
- withCredentials: this.configuration.withCredentials,
13141
+ ...(withCredentials ? { withCredentials } : {}),
12944
13142
  headers: localVarHeaders,
12945
13143
  observe: observe,
12946
13144
  transferCache: localVarTransferCache,