reach-api-sdk 1.0.228 → 1.0.230

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