reach-api-sdk 1.0.205 → 1.0.206

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.
@@ -0,0 +1,780 @@
1
+ /* generated using openapi-typescript-codegen -- do no edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ import type { CustomFieldDefinition } from '../models/CustomFieldDefinition';
6
+ import type { CustomFieldDefinitionPage } from '../models/CustomFieldDefinitionPage';
7
+ import type { CustomFieldDefinitionPatch } from '../models/CustomFieldDefinitionPatch';
8
+ import type { CustomFieldDefinitionPost } from '../models/CustomFieldDefinitionPost';
9
+ import type { CustomFieldValueEntityType } from '../models/CustomFieldValueEntityType';
10
+ import type { SearchSortOrderDirection } from '../models/SearchSortOrderDirection';
11
+
12
+ import type { CancelablePromise } from '../core/CancelablePromise';
13
+ import type { BaseHttpRequest } from '../core/BaseHttpRequest';
14
+
15
+ export class CustomFieldsService {
16
+ constructor(public readonly httpRequest: BaseHttpRequest) {}
17
+
18
+ /**
19
+ * Removes a custom field definition by setting archived to true.
20
+ * @returns CustomFieldDefinition OK
21
+ * @throws ApiError
22
+ */
23
+ public remove({
24
+ id,
25
+ }: {
26
+ /**
27
+ * The custom field definition id.
28
+ */
29
+ id: string;
30
+ }): CancelablePromise<CustomFieldDefinition> {
31
+ return this.httpRequest.request({
32
+ method: 'POST',
33
+ url: '/api/custom-fields/{id}/remove',
34
+ path: {
35
+ id: id,
36
+ },
37
+ errors: {
38
+ 400: `Bad Request`,
39
+ 422: `Unprocessable Content`,
40
+ 500: `Internal Server Error`,
41
+ },
42
+ });
43
+ }
44
+
45
+ /**
46
+ * Inserts a new resource. The Id will be automatically generated and will be ignored if provided.
47
+ * @returns CustomFieldDefinition OK
48
+ * @throws ApiError
49
+ */
50
+ public post({
51
+ requestBody,
52
+ }: {
53
+ /**
54
+ * The <typeparamref name="TObject" /> model.
55
+ */
56
+ requestBody?: CustomFieldDefinitionPost;
57
+ }): CancelablePromise<CustomFieldDefinition> {
58
+ return this.httpRequest.request({
59
+ method: 'POST',
60
+ url: '/api/custom-fields/v2-temporary-route',
61
+ body: requestBody,
62
+ mediaType: 'application/json',
63
+ errors: {
64
+ 400: `Bad Request`,
65
+ 422: `Unprocessable Content`,
66
+ 500: `Internal Server Error`,
67
+ },
68
+ });
69
+ }
70
+
71
+ /**
72
+ * Patches the resource.
73
+ * @returns CustomFieldDefinition OK
74
+ * @throws ApiError
75
+ */
76
+ public patch({
77
+ requestBody,
78
+ }: {
79
+ /**
80
+ * The <typeparamref name="TObject" /> model.
81
+ */
82
+ requestBody?: CustomFieldDefinitionPatch;
83
+ }): CancelablePromise<CustomFieldDefinition> {
84
+ return this.httpRequest.request({
85
+ method: 'PATCH',
86
+ url: '/api/custom-fields/v2-temporary-route',
87
+ body: requestBody,
88
+ mediaType: 'application/json',
89
+ errors: {
90
+ 400: `Bad Request`,
91
+ 422: `Unprocessable Content`,
92
+ 500: `Internal Server Error`,
93
+ },
94
+ });
95
+ }
96
+
97
+ /**
98
+ * Inserts a list of resources.
99
+ * @returns CustomFieldDefinition OK
100
+ * @throws ApiError
101
+ */
102
+ public postList({
103
+ requestBody,
104
+ }: {
105
+ /**
106
+ * The list of <typeparamref name="TObject" />.
107
+ */
108
+ requestBody?: Array<CustomFieldDefinitionPost>;
109
+ }): CancelablePromise<Array<CustomFieldDefinition>> {
110
+ return this.httpRequest.request({
111
+ method: 'POST',
112
+ url: '/api/custom-fields/v2-temporary-route/list',
113
+ body: requestBody,
114
+ mediaType: 'application/json',
115
+ errors: {
116
+ 400: `Bad Request`,
117
+ 422: `Unprocessable Content`,
118
+ 500: `Internal Server Error`,
119
+ },
120
+ });
121
+ }
122
+
123
+ /**
124
+ * Patches the resource.
125
+ * @returns CustomFieldDefinition OK
126
+ * @throws ApiError
127
+ */
128
+ public patchWithReferences({
129
+ requestBody,
130
+ }: {
131
+ /**
132
+ * The <typeparamref name="TObject" /> model.
133
+ */
134
+ requestBody?: CustomFieldDefinitionPatch;
135
+ }): CancelablePromise<CustomFieldDefinition> {
136
+ return this.httpRequest.request({
137
+ method: 'PATCH',
138
+ url: '/api/custom-fields/v2-temporary-route/with-references',
139
+ body: requestBody,
140
+ mediaType: 'application/json',
141
+ errors: {
142
+ 400: `Bad Request`,
143
+ 422: `Unprocessable Content`,
144
+ 500: `Internal Server Error`,
145
+ },
146
+ });
147
+ }
148
+
149
+ /**
150
+ * Deletes the resource.
151
+ * @returns any OK
152
+ * @throws ApiError
153
+ */
154
+ public deleteByObject({
155
+ requestBody,
156
+ }: {
157
+ /**
158
+ * The <typeparamref name="TObject" /> model.
159
+ */
160
+ requestBody?: CustomFieldDefinition;
161
+ }): CancelablePromise<any> {
162
+ return this.httpRequest.request({
163
+ method: 'DELETE',
164
+ url: '/api/custom-fields',
165
+ body: requestBody,
166
+ mediaType: 'application/json',
167
+ errors: {
168
+ 400: `Bad Request`,
169
+ 422: `Unprocessable Content`,
170
+ 500: `Internal Server Error`,
171
+ },
172
+ });
173
+ }
174
+
175
+ /**
176
+ * Gets a list of resources.
177
+ * @returns CustomFieldDefinitionPage OK
178
+ * @throws ApiError
179
+ */
180
+ public getPage({
181
+ ids,
182
+ entityType,
183
+ archived,
184
+ pageNumber,
185
+ take,
186
+ skip,
187
+ limitListRequests,
188
+ tenantId,
189
+ modifiedById,
190
+ modifiedByIds,
191
+ dateCreatedGte,
192
+ dateCreatedLte,
193
+ isLive,
194
+ sortOrderDirection,
195
+ }: {
196
+ /**
197
+ * Gets or sets the queryable custom field definition ids.
198
+ */
199
+ ids?: Array<string>;
200
+ /**
201
+ * Gets or sets the queryable entity type.
202
+ */
203
+ entityType?: CustomFieldValueEntityType;
204
+ /**
205
+ * Gets or sets the queryable archived value.
206
+ */
207
+ archived?: boolean;
208
+ /**
209
+ * Gets or sets the page number for paged queries.
210
+ */
211
+ pageNumber?: number;
212
+ /**
213
+ * Gets or sets the result count limit, always applicable Paged queries, only applicable to List queries if LimitListRequests is set to true.
214
+ */
215
+ take?: number;
216
+ /**
217
+ * Gets or sets how much items to skip from begining of db table, when this is set page is always 1.
218
+ */
219
+ skip?: number;
220
+ /**
221
+ * Gets or sets a value indicating whether to apply a limit to the number of results returned in a GetList request.
222
+ */
223
+ limitListRequests?: boolean;
224
+ /**
225
+ * Gets or sets the Tenant Id.
226
+ */
227
+ tenantId?: string;
228
+ /**
229
+ * Gets or sets the Modifed By Id.
230
+ */
231
+ modifiedById?: string;
232
+ /**
233
+ * Gets or sets the Modifed By Ids.
234
+ */
235
+ modifiedByIds?: Array<string>;
236
+ /**
237
+ * Gets or sets the Date Created greater than equal to.
238
+ */
239
+ dateCreatedGte?: string;
240
+ /**
241
+ * Gets or sets the Date Created less than equal to.
242
+ */
243
+ dateCreatedLte?: string;
244
+ /**
245
+ * Gets or sets the queryable only is live status.
246
+ */
247
+ isLive?: boolean;
248
+ /**
249
+ * Gets or sets the sort order direction.
250
+ */
251
+ sortOrderDirection?: SearchSortOrderDirection;
252
+ }): CancelablePromise<CustomFieldDefinitionPage> {
253
+ return this.httpRequest.request({
254
+ method: 'GET',
255
+ url: '/api/custom-fields',
256
+ query: {
257
+ Ids: ids,
258
+ EntityType: entityType,
259
+ Archived: archived,
260
+ PageNumber: pageNumber,
261
+ Take: take,
262
+ Skip: skip,
263
+ LimitListRequests: limitListRequests,
264
+ TenantId: tenantId,
265
+ ModifiedById: modifiedById,
266
+ ModifiedByIds: modifiedByIds,
267
+ DateCreatedGTE: dateCreatedGte,
268
+ DateCreatedLTE: dateCreatedLte,
269
+ IsLive: isLive,
270
+ SortOrderDirection: sortOrderDirection,
271
+ },
272
+ errors: {
273
+ 400: `Bad Request`,
274
+ 422: `Unprocessable Content`,
275
+ 500: `Internal Server Error`,
276
+ },
277
+ });
278
+ }
279
+
280
+ /**
281
+ * Deletes the resource.
282
+ * @returns any OK
283
+ * @throws ApiError
284
+ */
285
+ public deleteById({
286
+ id,
287
+ }: {
288
+ /**
289
+ * The <typeparamref name="TObject" /> id.
290
+ */
291
+ id: string;
292
+ }): CancelablePromise<any> {
293
+ return this.httpRequest.request({
294
+ method: 'DELETE',
295
+ url: '/api/custom-fields/{id}',
296
+ path: {
297
+ id: id,
298
+ },
299
+ errors: {
300
+ 400: `Bad Request`,
301
+ 422: `Unprocessable Content`,
302
+ 500: `Internal Server Error`,
303
+ },
304
+ });
305
+ }
306
+
307
+ /**
308
+ * Gets the resource by its Id.
309
+ * @returns CustomFieldDefinition OK
310
+ * @throws ApiError
311
+ */
312
+ public getObject({
313
+ id,
314
+ }: {
315
+ /**
316
+ * The <typeparamref name="TObject" /> id.
317
+ */
318
+ id: string;
319
+ }): CancelablePromise<CustomFieldDefinition> {
320
+ return this.httpRequest.request({
321
+ method: 'GET',
322
+ url: '/api/custom-fields/{id}',
323
+ path: {
324
+ id: id,
325
+ },
326
+ errors: {
327
+ 400: `Bad Request`,
328
+ 422: `Unprocessable Content`,
329
+ 500: `Internal Server Error`,
330
+ },
331
+ });
332
+ }
333
+
334
+ /**
335
+ * Returns a value indicating whether the resource is deletable.
336
+ * @returns boolean OK
337
+ * @throws ApiError
338
+ */
339
+ public canDelete({
340
+ id,
341
+ }: {
342
+ /**
343
+ * The <typeparamref name="TObject" /> id.
344
+ */
345
+ id: string;
346
+ }): CancelablePromise<boolean> {
347
+ return this.httpRequest.request({
348
+ method: 'GET',
349
+ url: '/api/custom-fields/{id}/deletable',
350
+ path: {
351
+ id: id,
352
+ },
353
+ errors: {
354
+ 400: `Bad Request`,
355
+ 422: `Unprocessable Content`,
356
+ 500: `Internal Server Error`,
357
+ },
358
+ });
359
+ }
360
+
361
+ /**
362
+ * Returns a value indicating whether the resource exists in the database given the provided search params.
363
+ * @returns boolean OK
364
+ * @throws ApiError
365
+ */
366
+ public exists({
367
+ ids,
368
+ entityType,
369
+ archived,
370
+ pageNumber,
371
+ take,
372
+ skip,
373
+ limitListRequests,
374
+ tenantId,
375
+ modifiedById,
376
+ modifiedByIds,
377
+ dateCreatedGte,
378
+ dateCreatedLte,
379
+ isLive,
380
+ sortOrderDirection,
381
+ }: {
382
+ /**
383
+ * Gets or sets the queryable custom field definition ids.
384
+ */
385
+ ids?: Array<string>;
386
+ /**
387
+ * Gets or sets the queryable entity type.
388
+ */
389
+ entityType?: CustomFieldValueEntityType;
390
+ /**
391
+ * Gets or sets the queryable archived value.
392
+ */
393
+ archived?: boolean;
394
+ /**
395
+ * Gets or sets the page number for paged queries.
396
+ */
397
+ pageNumber?: number;
398
+ /**
399
+ * Gets or sets the result count limit, always applicable Paged queries, only applicable to List queries if LimitListRequests is set to true.
400
+ */
401
+ take?: number;
402
+ /**
403
+ * Gets or sets how much items to skip from begining of db table, when this is set page is always 1.
404
+ */
405
+ skip?: number;
406
+ /**
407
+ * Gets or sets a value indicating whether to apply a limit to the number of results returned in a GetList request.
408
+ */
409
+ limitListRequests?: boolean;
410
+ /**
411
+ * Gets or sets the Tenant Id.
412
+ */
413
+ tenantId?: string;
414
+ /**
415
+ * Gets or sets the Modifed By Id.
416
+ */
417
+ modifiedById?: string;
418
+ /**
419
+ * Gets or sets the Modifed By Ids.
420
+ */
421
+ modifiedByIds?: Array<string>;
422
+ /**
423
+ * Gets or sets the Date Created greater than equal to.
424
+ */
425
+ dateCreatedGte?: string;
426
+ /**
427
+ * Gets or sets the Date Created less than equal to.
428
+ */
429
+ dateCreatedLte?: string;
430
+ /**
431
+ * Gets or sets the queryable only is live status.
432
+ */
433
+ isLive?: boolean;
434
+ /**
435
+ * Gets or sets the sort order direction.
436
+ */
437
+ sortOrderDirection?: SearchSortOrderDirection;
438
+ }): CancelablePromise<boolean> {
439
+ return this.httpRequest.request({
440
+ method: 'GET',
441
+ url: '/api/custom-fields/exists',
442
+ query: {
443
+ Ids: ids,
444
+ EntityType: entityType,
445
+ Archived: archived,
446
+ PageNumber: pageNumber,
447
+ Take: take,
448
+ Skip: skip,
449
+ LimitListRequests: limitListRequests,
450
+ TenantId: tenantId,
451
+ ModifiedById: modifiedById,
452
+ ModifiedByIds: modifiedByIds,
453
+ DateCreatedGTE: dateCreatedGte,
454
+ DateCreatedLTE: dateCreatedLte,
455
+ IsLive: isLive,
456
+ SortOrderDirection: sortOrderDirection,
457
+ },
458
+ errors: {
459
+ 400: `Bad Request`,
460
+ 422: `Unprocessable Content`,
461
+ 500: `Internal Server Error`,
462
+ },
463
+ });
464
+ }
465
+
466
+ /**
467
+ * Returns the number of results in the database given the provided search params.
468
+ * @returns number OK
469
+ * @throws ApiError
470
+ */
471
+ public count({
472
+ ids,
473
+ entityType,
474
+ archived,
475
+ pageNumber,
476
+ take,
477
+ skip,
478
+ limitListRequests,
479
+ tenantId,
480
+ modifiedById,
481
+ modifiedByIds,
482
+ dateCreatedGte,
483
+ dateCreatedLte,
484
+ isLive,
485
+ sortOrderDirection,
486
+ }: {
487
+ /**
488
+ * Gets or sets the queryable custom field definition ids.
489
+ */
490
+ ids?: Array<string>;
491
+ /**
492
+ * Gets or sets the queryable entity type.
493
+ */
494
+ entityType?: CustomFieldValueEntityType;
495
+ /**
496
+ * Gets or sets the queryable archived value.
497
+ */
498
+ archived?: boolean;
499
+ /**
500
+ * Gets or sets the page number for paged queries.
501
+ */
502
+ pageNumber?: number;
503
+ /**
504
+ * Gets or sets the result count limit, always applicable Paged queries, only applicable to List queries if LimitListRequests is set to true.
505
+ */
506
+ take?: number;
507
+ /**
508
+ * Gets or sets how much items to skip from begining of db table, when this is set page is always 1.
509
+ */
510
+ skip?: number;
511
+ /**
512
+ * Gets or sets a value indicating whether to apply a limit to the number of results returned in a GetList request.
513
+ */
514
+ limitListRequests?: boolean;
515
+ /**
516
+ * Gets or sets the Tenant Id.
517
+ */
518
+ tenantId?: string;
519
+ /**
520
+ * Gets or sets the Modifed By Id.
521
+ */
522
+ modifiedById?: string;
523
+ /**
524
+ * Gets or sets the Modifed By Ids.
525
+ */
526
+ modifiedByIds?: Array<string>;
527
+ /**
528
+ * Gets or sets the Date Created greater than equal to.
529
+ */
530
+ dateCreatedGte?: string;
531
+ /**
532
+ * Gets or sets the Date Created less than equal to.
533
+ */
534
+ dateCreatedLte?: string;
535
+ /**
536
+ * Gets or sets the queryable only is live status.
537
+ */
538
+ isLive?: boolean;
539
+ /**
540
+ * Gets or sets the sort order direction.
541
+ */
542
+ sortOrderDirection?: SearchSortOrderDirection;
543
+ }): CancelablePromise<number> {
544
+ return this.httpRequest.request({
545
+ method: 'GET',
546
+ url: '/api/custom-fields/count',
547
+ query: {
548
+ Ids: ids,
549
+ EntityType: entityType,
550
+ Archived: archived,
551
+ PageNumber: pageNumber,
552
+ Take: take,
553
+ Skip: skip,
554
+ LimitListRequests: limitListRequests,
555
+ TenantId: tenantId,
556
+ ModifiedById: modifiedById,
557
+ ModifiedByIds: modifiedByIds,
558
+ DateCreatedGTE: dateCreatedGte,
559
+ DateCreatedLTE: dateCreatedLte,
560
+ IsLive: isLive,
561
+ SortOrderDirection: sortOrderDirection,
562
+ },
563
+ errors: {
564
+ 400: `Bad Request`,
565
+ 422: `Unprocessable Content`,
566
+ 500: `Internal Server Error`,
567
+ },
568
+ });
569
+ }
570
+
571
+ /**
572
+ * Gets a list of resources unpaged and without references.
573
+ * @returns CustomFieldDefinition OK
574
+ * @throws ApiError
575
+ */
576
+ public getListWithoutReferences({
577
+ ids,
578
+ entityType,
579
+ archived,
580
+ pageNumber,
581
+ take,
582
+ skip,
583
+ limitListRequests,
584
+ tenantId,
585
+ modifiedById,
586
+ modifiedByIds,
587
+ dateCreatedGte,
588
+ dateCreatedLte,
589
+ isLive,
590
+ sortOrderDirection,
591
+ }: {
592
+ /**
593
+ * Gets or sets the queryable custom field definition ids.
594
+ */
595
+ ids?: Array<string>;
596
+ /**
597
+ * Gets or sets the queryable entity type.
598
+ */
599
+ entityType?: CustomFieldValueEntityType;
600
+ /**
601
+ * Gets or sets the queryable archived value.
602
+ */
603
+ archived?: boolean;
604
+ /**
605
+ * Gets or sets the page number for paged queries.
606
+ */
607
+ pageNumber?: number;
608
+ /**
609
+ * Gets or sets the result count limit, always applicable Paged queries, only applicable to List queries if LimitListRequests is set to true.
610
+ */
611
+ take?: number;
612
+ /**
613
+ * Gets or sets how much items to skip from begining of db table, when this is set page is always 1.
614
+ */
615
+ skip?: number;
616
+ /**
617
+ * Gets or sets a value indicating whether to apply a limit to the number of results returned in a GetList request.
618
+ */
619
+ limitListRequests?: boolean;
620
+ /**
621
+ * Gets or sets the Tenant Id.
622
+ */
623
+ tenantId?: string;
624
+ /**
625
+ * Gets or sets the Modifed By Id.
626
+ */
627
+ modifiedById?: string;
628
+ /**
629
+ * Gets or sets the Modifed By Ids.
630
+ */
631
+ modifiedByIds?: Array<string>;
632
+ /**
633
+ * Gets or sets the Date Created greater than equal to.
634
+ */
635
+ dateCreatedGte?: string;
636
+ /**
637
+ * Gets or sets the Date Created less than equal to.
638
+ */
639
+ dateCreatedLte?: string;
640
+ /**
641
+ * Gets or sets the queryable only is live status.
642
+ */
643
+ isLive?: boolean;
644
+ /**
645
+ * Gets or sets the sort order direction.
646
+ */
647
+ sortOrderDirection?: SearchSortOrderDirection;
648
+ }): CancelablePromise<Array<CustomFieldDefinition>> {
649
+ return this.httpRequest.request({
650
+ method: 'GET',
651
+ url: '/api/custom-fields/without-references',
652
+ query: {
653
+ Ids: ids,
654
+ EntityType: entityType,
655
+ Archived: archived,
656
+ PageNumber: pageNumber,
657
+ Take: take,
658
+ Skip: skip,
659
+ LimitListRequests: limitListRequests,
660
+ TenantId: tenantId,
661
+ ModifiedById: modifiedById,
662
+ ModifiedByIds: modifiedByIds,
663
+ DateCreatedGTE: dateCreatedGte,
664
+ DateCreatedLTE: dateCreatedLte,
665
+ IsLive: isLive,
666
+ SortOrderDirection: sortOrderDirection,
667
+ },
668
+ errors: {
669
+ 400: `Bad Request`,
670
+ 422: `Unprocessable Content`,
671
+ 500: `Internal Server Error`,
672
+ },
673
+ });
674
+ }
675
+
676
+ /**
677
+ * Gets a list of resources.
678
+ * @returns CustomFieldDefinition OK
679
+ * @throws ApiError
680
+ */
681
+ public getListIdName({
682
+ ids,
683
+ entityType,
684
+ archived,
685
+ pageNumber,
686
+ take,
687
+ skip,
688
+ limitListRequests,
689
+ tenantId,
690
+ modifiedById,
691
+ modifiedByIds,
692
+ dateCreatedGte,
693
+ dateCreatedLte,
694
+ isLive,
695
+ sortOrderDirection,
696
+ }: {
697
+ /**
698
+ * Gets or sets the queryable custom field definition ids.
699
+ */
700
+ ids?: Array<string>;
701
+ /**
702
+ * Gets or sets the queryable entity type.
703
+ */
704
+ entityType?: CustomFieldValueEntityType;
705
+ /**
706
+ * Gets or sets the queryable archived value.
707
+ */
708
+ archived?: boolean;
709
+ /**
710
+ * Gets or sets the page number for paged queries.
711
+ */
712
+ pageNumber?: number;
713
+ /**
714
+ * Gets or sets the result count limit, always applicable Paged queries, only applicable to List queries if LimitListRequests is set to true.
715
+ */
716
+ take?: number;
717
+ /**
718
+ * Gets or sets how much items to skip from begining of db table, when this is set page is always 1.
719
+ */
720
+ skip?: number;
721
+ /**
722
+ * Gets or sets a value indicating whether to apply a limit to the number of results returned in a GetList request.
723
+ */
724
+ limitListRequests?: boolean;
725
+ /**
726
+ * Gets or sets the Tenant Id.
727
+ */
728
+ tenantId?: string;
729
+ /**
730
+ * Gets or sets the Modifed By Id.
731
+ */
732
+ modifiedById?: string;
733
+ /**
734
+ * Gets or sets the Modifed By Ids.
735
+ */
736
+ modifiedByIds?: Array<string>;
737
+ /**
738
+ * Gets or sets the Date Created greater than equal to.
739
+ */
740
+ dateCreatedGte?: string;
741
+ /**
742
+ * Gets or sets the Date Created less than equal to.
743
+ */
744
+ dateCreatedLte?: string;
745
+ /**
746
+ * Gets or sets the queryable only is live status.
747
+ */
748
+ isLive?: boolean;
749
+ /**
750
+ * Gets or sets the sort order direction.
751
+ */
752
+ sortOrderDirection?: SearchSortOrderDirection;
753
+ }): CancelablePromise<Array<CustomFieldDefinition>> {
754
+ return this.httpRequest.request({
755
+ method: 'GET',
756
+ url: '/api/custom-fields/id-name',
757
+ query: {
758
+ Ids: ids,
759
+ EntityType: entityType,
760
+ Archived: archived,
761
+ PageNumber: pageNumber,
762
+ Take: take,
763
+ Skip: skip,
764
+ LimitListRequests: limitListRequests,
765
+ TenantId: tenantId,
766
+ ModifiedById: modifiedById,
767
+ ModifiedByIds: modifiedByIds,
768
+ DateCreatedGTE: dateCreatedGte,
769
+ DateCreatedLTE: dateCreatedLte,
770
+ IsLive: isLive,
771
+ SortOrderDirection: sortOrderDirection,
772
+ },
773
+ errors: {
774
+ 400: `Bad Request`,
775
+ 422: `Unprocessable Content`,
776
+ 500: `Internal Server Error`,
777
+ },
778
+ });
779
+ }
780
+ }