reach-api-sdk 1.0.206 → 1.0.208

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