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