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