reach-api-sdk 1.0.217 → 1.0.219

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