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