reach-api-sdk 1.0.195 → 1.0.197
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.
- package/dist/reach-sdk.d.ts +337 -116
- package/dist/reach-sdk.js +174 -72
- package/package.json +1 -1
- package/src/definition/swagger.yaml +410 -72
- package/src/index.ts +1 -0
- package/src/models/Course.ts +4 -0
- package/src/models/CoursePatch.ts +4 -0
- package/src/models/CreateTemplateDetail.ts +4 -0
- package/src/models/CreateTemplateFieldPermission.ts +1 -0
- package/src/models/GenericActivity.ts +4 -0
- package/src/models/Programme.ts +2 -0
- package/src/models/ProgrammePatch.ts +3 -0
- package/src/models/Session.ts +4 -0
- package/src/models/SessionPatch.ts +4 -0
- package/src/models/TemplateDetail.ts +4 -0
- package/src/models/TemplateDetailPatch.ts +4 -0
- package/src/models/TemplateFieldPermission.ts +1 -0
- package/src/models/TemplateFieldPermissionPatch.ts +1 -0
- package/src/models/WaitlistConversionStatsResponseDto.ts +10 -0
- package/src/services/CoursesService.ts +30 -0
- package/src/services/DiscountCodeUsesService.ts +31 -0
- package/src/services/GenericActivityService.ts +84 -48
- package/src/services/PublicCoursesService.ts +12 -0
- package/src/services/PublicGenericActivityService.ts +56 -32
- package/src/services/PublicNetworksService.ts +14 -8
- package/src/services/PublicSessionsService.ts +28 -16
- package/src/services/PublicWaitlistOpportunityService.ts +12 -0
- package/src/services/SessionsService.ts +70 -40
- package/src/services/WaitlistOpportunityReportService.ts +54 -0
- package/src/services/WaitlistOpportunityService.ts +30 -0
package/src/index.ts
CHANGED
|
@@ -440,6 +440,7 @@ export type { WaitlistActivityReport } from './models/WaitlistActivityReport';
|
|
|
440
440
|
export type { WaitlistActivityReportPage } from './models/WaitlistActivityReportPage';
|
|
441
441
|
export type { WaitlistActivityReportPatch } from './models/WaitlistActivityReportPatch';
|
|
442
442
|
export type { WaitlistActivityReportPost } from './models/WaitlistActivityReportPost';
|
|
443
|
+
export type { WaitlistConversionStatsResponseDto } from './models/WaitlistConversionStatsResponseDto';
|
|
443
444
|
export type { WaitlistOpportunity } from './models/WaitlistOpportunity';
|
|
444
445
|
export type { WaitlistOpportunityPage } from './models/WaitlistOpportunityPage';
|
|
445
446
|
export type { WaitlistOpportunityPatch } from './models/WaitlistOpportunityPatch';
|
package/src/models/Course.ts
CHANGED
|
@@ -140,6 +140,10 @@ export type Course = {
|
|
|
140
140
|
* Gets or sets a value indicating whether there is an age restriction.
|
|
141
141
|
*/
|
|
142
142
|
noAgeRestriction?: boolean;
|
|
143
|
+
/**
|
|
144
|
+
* Gets or sets a value indicating whether activity is private or no.
|
|
145
|
+
*/
|
|
146
|
+
private?: boolean;
|
|
143
147
|
/**
|
|
144
148
|
* Gets or sets additional support options.
|
|
145
149
|
*/
|
|
@@ -90,6 +90,10 @@ export type CoursePatch = {
|
|
|
90
90
|
* Gets or sets a value indicating whether there is an age restriction.
|
|
91
91
|
*/
|
|
92
92
|
noAgeRestriction?: boolean | null;
|
|
93
|
+
/**
|
|
94
|
+
* Gets or sets a value indicating whether course is private or no.
|
|
95
|
+
*/
|
|
96
|
+
private?: boolean | null;
|
|
93
97
|
/**
|
|
94
98
|
* Gets or sets a value indicating whether the course is online and can take bookings.
|
|
95
99
|
*/
|
|
@@ -87,6 +87,10 @@ export type CreateTemplateDetail = {
|
|
|
87
87
|
* Gets or sets a value indicating whether there is an age restriction.
|
|
88
88
|
*/
|
|
89
89
|
noAgeRestriction?: boolean;
|
|
90
|
+
/**
|
|
91
|
+
* Gets or sets a value indicating whether activity is private or no.
|
|
92
|
+
*/
|
|
93
|
+
private?: boolean;
|
|
90
94
|
/**
|
|
91
95
|
* Gets or sets the templates additional support options.
|
|
92
96
|
*/
|
|
@@ -56,6 +56,7 @@ export type CreateTemplateFieldPermission = {
|
|
|
56
56
|
minAge?: FieldPermission;
|
|
57
57
|
maxAge?: FieldPermission;
|
|
58
58
|
noAgeRestriction?: FieldPermission;
|
|
59
|
+
private?: FieldPermission;
|
|
59
60
|
additionalSupport?: FieldPermission;
|
|
60
61
|
contactName?: FieldPermission;
|
|
61
62
|
contactPhone?: FieldPermission;
|
|
@@ -106,6 +106,10 @@ export type GenericActivity = {
|
|
|
106
106
|
* Gets or sets a value indicating whether there is an age restriction.
|
|
107
107
|
*/
|
|
108
108
|
noAgeRestriction?: boolean;
|
|
109
|
+
/**
|
|
110
|
+
* Gets or sets a value indicating whether activity is private or not.
|
|
111
|
+
*/
|
|
112
|
+
private?: boolean;
|
|
109
113
|
/**
|
|
110
114
|
* Gets or sets a value indicating whether the activity should be featured on the storefront.
|
|
111
115
|
*/
|
package/src/models/Programme.ts
CHANGED
|
@@ -7,6 +7,7 @@ import type { Course } from './Course';
|
|
|
7
7
|
import type { Image } from './Image';
|
|
8
8
|
import type { Session } from './Session';
|
|
9
9
|
import type { Tenant } from './Tenant';
|
|
10
|
+
import type { UpcomingLayout } from './UpcomingLayout';
|
|
10
11
|
|
|
11
12
|
/**
|
|
12
13
|
* Represents a Programme within the Reach application.
|
|
@@ -61,6 +62,7 @@ export type Programme = {
|
|
|
61
62
|
* Gets or sets the programmes sort order with 0 as base.
|
|
62
63
|
*/
|
|
63
64
|
sortOrder?: number | null;
|
|
65
|
+
upcomingLayout?: UpcomingLayout;
|
|
64
66
|
tenant?: Tenant;
|
|
65
67
|
/**
|
|
66
68
|
* Gets or sets the programmes referenced sessions.
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
/* tslint:disable */
|
|
4
4
|
/* eslint-disable */
|
|
5
5
|
|
|
6
|
+
import type { UpcomingLayout } from './UpcomingLayout';
|
|
7
|
+
|
|
6
8
|
/**
|
|
7
9
|
* Post model for programme updates.
|
|
8
10
|
*/
|
|
@@ -27,4 +29,5 @@ export type ProgrammePatch = {
|
|
|
27
29
|
* Gets or sets the programme image url.
|
|
28
30
|
*/
|
|
29
31
|
imageUrl?: string | null;
|
|
32
|
+
upcomingLayout: UpcomingLayout;
|
|
30
33
|
};
|
package/src/models/Session.ts
CHANGED
|
@@ -133,6 +133,10 @@ export type Session = {
|
|
|
133
133
|
* Gets or sets a value indicating whether there is an age restriction.
|
|
134
134
|
*/
|
|
135
135
|
noAgeRestriction?: boolean;
|
|
136
|
+
/**
|
|
137
|
+
* Gets or sets a value indicating whether activity is private or no.
|
|
138
|
+
*/
|
|
139
|
+
private?: boolean;
|
|
136
140
|
/**
|
|
137
141
|
* Gets or sets additional support options.
|
|
138
142
|
*/
|
|
@@ -89,6 +89,10 @@ export type SessionPatch = {
|
|
|
89
89
|
* Gets or sets a value indicating whether there is an age restriction.
|
|
90
90
|
*/
|
|
91
91
|
noAgeRestriction?: boolean | null;
|
|
92
|
+
/**
|
|
93
|
+
* Gets or sets a value indicating whether session is private or no.
|
|
94
|
+
*/
|
|
95
|
+
private?: boolean | null;
|
|
92
96
|
/**
|
|
93
97
|
* Gets or sets a value indicating whether the session is online and can take bookings.
|
|
94
98
|
*/
|
|
@@ -115,6 +115,10 @@ export type TemplateDetail = {
|
|
|
115
115
|
* Gets or sets a value indicating whether there is an age restriction.
|
|
116
116
|
*/
|
|
117
117
|
noAgeRestriction?: boolean;
|
|
118
|
+
/**
|
|
119
|
+
* Gets or sets a value indicating whether the activity is private.
|
|
120
|
+
*/
|
|
121
|
+
private?: boolean;
|
|
118
122
|
/**
|
|
119
123
|
* Gets or sets the templates additional support options.
|
|
120
124
|
*/
|
|
@@ -95,6 +95,10 @@ export type TemplateDetailPatch = {
|
|
|
95
95
|
* Gets or sets a value indicating whether there is an age restriction.
|
|
96
96
|
*/
|
|
97
97
|
noAgeRestriction?: boolean;
|
|
98
|
+
/**
|
|
99
|
+
* Gets or sets a value indicating whether activity is private or no.
|
|
100
|
+
*/
|
|
101
|
+
private?: boolean;
|
|
98
102
|
/**
|
|
99
103
|
* Gets or sets the templates additional support options.
|
|
100
104
|
*/
|
|
@@ -56,6 +56,7 @@ export type TemplateFieldPermission = {
|
|
|
56
56
|
minAge?: FieldPermission;
|
|
57
57
|
maxAge?: FieldPermission;
|
|
58
58
|
noAgeRestriction?: FieldPermission;
|
|
59
|
+
private?: FieldPermission;
|
|
59
60
|
additionalSupport?: FieldPermission;
|
|
60
61
|
contactName?: FieldPermission;
|
|
61
62
|
contactPhone?: FieldPermission;
|
|
@@ -36,6 +36,7 @@ export type TemplateFieldPermissionPatch = {
|
|
|
36
36
|
minAge?: FieldPermission;
|
|
37
37
|
maxAge?: FieldPermission;
|
|
38
38
|
noAgeRestriction?: FieldPermission;
|
|
39
|
+
private?: FieldPermission;
|
|
39
40
|
additionalSupport?: FieldPermission;
|
|
40
41
|
contactName?: FieldPermission;
|
|
41
42
|
contactPhone?: FieldPermission;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
|
|
6
|
+
export type WaitlistConversionStatsResponseDto = {
|
|
7
|
+
totalWaitlistCount?: number;
|
|
8
|
+
totalUpcomingWaitlistCount?: number;
|
|
9
|
+
conversionPercentage?: number;
|
|
10
|
+
};
|
|
@@ -559,6 +559,7 @@ export class CoursesService {
|
|
|
559
559
|
futureOnly,
|
|
560
560
|
online,
|
|
561
561
|
featured,
|
|
562
|
+
_private,
|
|
562
563
|
hasAvailability,
|
|
563
564
|
orderFirstNameContains,
|
|
564
565
|
orderLastNameContains,
|
|
@@ -668,6 +669,10 @@ export class CoursesService {
|
|
|
668
669
|
* Gets or sets a value indicating whether the course is featured on the storefront.
|
|
669
670
|
*/
|
|
670
671
|
featured?: boolean;
|
|
672
|
+
/**
|
|
673
|
+
* Gets or sets a value indicating whether the session is private or no.
|
|
674
|
+
*/
|
|
675
|
+
_private?: boolean;
|
|
671
676
|
/**
|
|
672
677
|
* Gets or sets a value indicating whether the scheduled session has availability.
|
|
673
678
|
*/
|
|
@@ -775,6 +780,7 @@ export class CoursesService {
|
|
|
775
780
|
FutureOnly: futureOnly,
|
|
776
781
|
Online: online,
|
|
777
782
|
Featured: featured,
|
|
783
|
+
Private: _private,
|
|
778
784
|
HasAvailability: hasAvailability,
|
|
779
785
|
OrderFirstNameContains: orderFirstNameContains,
|
|
780
786
|
OrderLastNameContains: orderLastNameContains,
|
|
@@ -913,6 +919,7 @@ export class CoursesService {
|
|
|
913
919
|
futureOnly,
|
|
914
920
|
online,
|
|
915
921
|
featured,
|
|
922
|
+
_private,
|
|
916
923
|
hasAvailability,
|
|
917
924
|
orderFirstNameContains,
|
|
918
925
|
orderLastNameContains,
|
|
@@ -1022,6 +1029,10 @@ export class CoursesService {
|
|
|
1022
1029
|
* Gets or sets a value indicating whether the course is featured on the storefront.
|
|
1023
1030
|
*/
|
|
1024
1031
|
featured?: boolean;
|
|
1032
|
+
/**
|
|
1033
|
+
* Gets or sets a value indicating whether the session is private or no.
|
|
1034
|
+
*/
|
|
1035
|
+
_private?: boolean;
|
|
1025
1036
|
/**
|
|
1026
1037
|
* Gets or sets a value indicating whether the scheduled session has availability.
|
|
1027
1038
|
*/
|
|
@@ -1129,6 +1140,7 @@ export class CoursesService {
|
|
|
1129
1140
|
FutureOnly: futureOnly,
|
|
1130
1141
|
Online: online,
|
|
1131
1142
|
Featured: featured,
|
|
1143
|
+
Private: _private,
|
|
1132
1144
|
HasAvailability: hasAvailability,
|
|
1133
1145
|
OrderFirstNameContains: orderFirstNameContains,
|
|
1134
1146
|
OrderLastNameContains: orderLastNameContains,
|
|
@@ -1186,6 +1198,7 @@ export class CoursesService {
|
|
|
1186
1198
|
futureOnly,
|
|
1187
1199
|
online,
|
|
1188
1200
|
featured,
|
|
1201
|
+
_private,
|
|
1189
1202
|
hasAvailability,
|
|
1190
1203
|
orderFirstNameContains,
|
|
1191
1204
|
orderLastNameContains,
|
|
@@ -1295,6 +1308,10 @@ export class CoursesService {
|
|
|
1295
1308
|
* Gets or sets a value indicating whether the course is featured on the storefront.
|
|
1296
1309
|
*/
|
|
1297
1310
|
featured?: boolean;
|
|
1311
|
+
/**
|
|
1312
|
+
* Gets or sets a value indicating whether the session is private or no.
|
|
1313
|
+
*/
|
|
1314
|
+
_private?: boolean;
|
|
1298
1315
|
/**
|
|
1299
1316
|
* Gets or sets a value indicating whether the scheduled session has availability.
|
|
1300
1317
|
*/
|
|
@@ -1402,6 +1419,7 @@ export class CoursesService {
|
|
|
1402
1419
|
FutureOnly: futureOnly,
|
|
1403
1420
|
Online: online,
|
|
1404
1421
|
Featured: featured,
|
|
1422
|
+
Private: _private,
|
|
1405
1423
|
HasAvailability: hasAvailability,
|
|
1406
1424
|
OrderFirstNameContains: orderFirstNameContains,
|
|
1407
1425
|
OrderLastNameContains: orderLastNameContains,
|
|
@@ -1459,6 +1477,7 @@ export class CoursesService {
|
|
|
1459
1477
|
futureOnly,
|
|
1460
1478
|
online,
|
|
1461
1479
|
featured,
|
|
1480
|
+
_private,
|
|
1462
1481
|
hasAvailability,
|
|
1463
1482
|
orderFirstNameContains,
|
|
1464
1483
|
orderLastNameContains,
|
|
@@ -1568,6 +1587,10 @@ export class CoursesService {
|
|
|
1568
1587
|
* Gets or sets a value indicating whether the course is featured on the storefront.
|
|
1569
1588
|
*/
|
|
1570
1589
|
featured?: boolean;
|
|
1590
|
+
/**
|
|
1591
|
+
* Gets or sets a value indicating whether the session is private or no.
|
|
1592
|
+
*/
|
|
1593
|
+
_private?: boolean;
|
|
1571
1594
|
/**
|
|
1572
1595
|
* Gets or sets a value indicating whether the scheduled session has availability.
|
|
1573
1596
|
*/
|
|
@@ -1675,6 +1698,7 @@ export class CoursesService {
|
|
|
1675
1698
|
FutureOnly: futureOnly,
|
|
1676
1699
|
Online: online,
|
|
1677
1700
|
Featured: featured,
|
|
1701
|
+
Private: _private,
|
|
1678
1702
|
HasAvailability: hasAvailability,
|
|
1679
1703
|
OrderFirstNameContains: orderFirstNameContains,
|
|
1680
1704
|
OrderLastNameContains: orderLastNameContains,
|
|
@@ -1732,6 +1756,7 @@ export class CoursesService {
|
|
|
1732
1756
|
futureOnly,
|
|
1733
1757
|
online,
|
|
1734
1758
|
featured,
|
|
1759
|
+
_private,
|
|
1735
1760
|
hasAvailability,
|
|
1736
1761
|
orderFirstNameContains,
|
|
1737
1762
|
orderLastNameContains,
|
|
@@ -1841,6 +1866,10 @@ export class CoursesService {
|
|
|
1841
1866
|
* Gets or sets a value indicating whether the course is featured on the storefront.
|
|
1842
1867
|
*/
|
|
1843
1868
|
featured?: boolean;
|
|
1869
|
+
/**
|
|
1870
|
+
* Gets or sets a value indicating whether the session is private or no.
|
|
1871
|
+
*/
|
|
1872
|
+
_private?: boolean;
|
|
1844
1873
|
/**
|
|
1845
1874
|
* Gets or sets a value indicating whether the scheduled session has availability.
|
|
1846
1875
|
*/
|
|
@@ -1948,6 +1977,7 @@ export class CoursesService {
|
|
|
1948
1977
|
FutureOnly: futureOnly,
|
|
1949
1978
|
Online: online,
|
|
1950
1979
|
Featured: featured,
|
|
1980
|
+
Private: _private,
|
|
1951
1981
|
HasAvailability: hasAvailability,
|
|
1952
1982
|
OrderFirstNameContains: orderFirstNameContains,
|
|
1953
1983
|
OrderLastNameContains: orderLastNameContains,
|
|
@@ -6,6 +6,7 @@ import type { DiscountCodeUse } from '../models/DiscountCodeUse';
|
|
|
6
6
|
import type { DiscountCodeUsePage } from '../models/DiscountCodeUsePage';
|
|
7
7
|
import type { DiscountCodeUsePatch } from '../models/DiscountCodeUsePatch';
|
|
8
8
|
import type { DiscountCodeUsePost } from '../models/DiscountCodeUsePost';
|
|
9
|
+
import type { OrderStage } from '../models/OrderStage';
|
|
9
10
|
import type { SearchSortOrderDirection } from '../models/SearchSortOrderDirection';
|
|
10
11
|
|
|
11
12
|
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
@@ -153,6 +154,7 @@ export class DiscountCodeUsesService {
|
|
|
153
154
|
dealId,
|
|
154
155
|
orderId,
|
|
155
156
|
customerId,
|
|
157
|
+
orderStages,
|
|
156
158
|
pageNumber,
|
|
157
159
|
take,
|
|
158
160
|
skip,
|
|
@@ -177,6 +179,10 @@ export class DiscountCodeUsesService {
|
|
|
177
179
|
* Gets or sets the customer id.
|
|
178
180
|
*/
|
|
179
181
|
customerId?: string;
|
|
182
|
+
/**
|
|
183
|
+
* Gets or sets the queryable order stages.
|
|
184
|
+
*/
|
|
185
|
+
orderStages?: Array<OrderStage>;
|
|
180
186
|
/**
|
|
181
187
|
* Gets or sets the page number for paged queries.
|
|
182
188
|
*/
|
|
@@ -229,6 +235,7 @@ export class DiscountCodeUsesService {
|
|
|
229
235
|
DealId: dealId,
|
|
230
236
|
OrderId: orderId,
|
|
231
237
|
CustomerId: customerId,
|
|
238
|
+
OrderStages: orderStages,
|
|
232
239
|
PageNumber: pageNumber,
|
|
233
240
|
Take: take,
|
|
234
241
|
Skip: skip,
|
|
@@ -339,6 +346,7 @@ export class DiscountCodeUsesService {
|
|
|
339
346
|
dealId,
|
|
340
347
|
orderId,
|
|
341
348
|
customerId,
|
|
349
|
+
orderStages,
|
|
342
350
|
pageNumber,
|
|
343
351
|
take,
|
|
344
352
|
skip,
|
|
@@ -363,6 +371,10 @@ export class DiscountCodeUsesService {
|
|
|
363
371
|
* Gets or sets the customer id.
|
|
364
372
|
*/
|
|
365
373
|
customerId?: string;
|
|
374
|
+
/**
|
|
375
|
+
* Gets or sets the queryable order stages.
|
|
376
|
+
*/
|
|
377
|
+
orderStages?: Array<OrderStage>;
|
|
366
378
|
/**
|
|
367
379
|
* Gets or sets the page number for paged queries.
|
|
368
380
|
*/
|
|
@@ -415,6 +427,7 @@ export class DiscountCodeUsesService {
|
|
|
415
427
|
DealId: dealId,
|
|
416
428
|
OrderId: orderId,
|
|
417
429
|
CustomerId: customerId,
|
|
430
|
+
OrderStages: orderStages,
|
|
418
431
|
PageNumber: pageNumber,
|
|
419
432
|
Take: take,
|
|
420
433
|
Skip: skip,
|
|
@@ -444,6 +457,7 @@ export class DiscountCodeUsesService {
|
|
|
444
457
|
dealId,
|
|
445
458
|
orderId,
|
|
446
459
|
customerId,
|
|
460
|
+
orderStages,
|
|
447
461
|
pageNumber,
|
|
448
462
|
take,
|
|
449
463
|
skip,
|
|
@@ -468,6 +482,10 @@ export class DiscountCodeUsesService {
|
|
|
468
482
|
* Gets or sets the customer id.
|
|
469
483
|
*/
|
|
470
484
|
customerId?: string;
|
|
485
|
+
/**
|
|
486
|
+
* Gets or sets the queryable order stages.
|
|
487
|
+
*/
|
|
488
|
+
orderStages?: Array<OrderStage>;
|
|
471
489
|
/**
|
|
472
490
|
* Gets or sets the page number for paged queries.
|
|
473
491
|
*/
|
|
@@ -520,6 +538,7 @@ export class DiscountCodeUsesService {
|
|
|
520
538
|
DealId: dealId,
|
|
521
539
|
OrderId: orderId,
|
|
522
540
|
CustomerId: customerId,
|
|
541
|
+
OrderStages: orderStages,
|
|
523
542
|
PageNumber: pageNumber,
|
|
524
543
|
Take: take,
|
|
525
544
|
Skip: skip,
|
|
@@ -549,6 +568,7 @@ export class DiscountCodeUsesService {
|
|
|
549
568
|
dealId,
|
|
550
569
|
orderId,
|
|
551
570
|
customerId,
|
|
571
|
+
orderStages,
|
|
552
572
|
pageNumber,
|
|
553
573
|
take,
|
|
554
574
|
skip,
|
|
@@ -573,6 +593,10 @@ export class DiscountCodeUsesService {
|
|
|
573
593
|
* Gets or sets the customer id.
|
|
574
594
|
*/
|
|
575
595
|
customerId?: string;
|
|
596
|
+
/**
|
|
597
|
+
* Gets or sets the queryable order stages.
|
|
598
|
+
*/
|
|
599
|
+
orderStages?: Array<OrderStage>;
|
|
576
600
|
/**
|
|
577
601
|
* Gets or sets the page number for paged queries.
|
|
578
602
|
*/
|
|
@@ -625,6 +649,7 @@ export class DiscountCodeUsesService {
|
|
|
625
649
|
DealId: dealId,
|
|
626
650
|
OrderId: orderId,
|
|
627
651
|
CustomerId: customerId,
|
|
652
|
+
OrderStages: orderStages,
|
|
628
653
|
PageNumber: pageNumber,
|
|
629
654
|
Take: take,
|
|
630
655
|
Skip: skip,
|
|
@@ -654,6 +679,7 @@ export class DiscountCodeUsesService {
|
|
|
654
679
|
dealId,
|
|
655
680
|
orderId,
|
|
656
681
|
customerId,
|
|
682
|
+
orderStages,
|
|
657
683
|
pageNumber,
|
|
658
684
|
take,
|
|
659
685
|
skip,
|
|
@@ -678,6 +704,10 @@ export class DiscountCodeUsesService {
|
|
|
678
704
|
* Gets or sets the customer id.
|
|
679
705
|
*/
|
|
680
706
|
customerId?: string;
|
|
707
|
+
/**
|
|
708
|
+
* Gets or sets the queryable order stages.
|
|
709
|
+
*/
|
|
710
|
+
orderStages?: Array<OrderStage>;
|
|
681
711
|
/**
|
|
682
712
|
* Gets or sets the page number for paged queries.
|
|
683
713
|
*/
|
|
@@ -730,6 +760,7 @@ export class DiscountCodeUsesService {
|
|
|
730
760
|
DealId: dealId,
|
|
731
761
|
OrderId: orderId,
|
|
732
762
|
CustomerId: customerId,
|
|
763
|
+
OrderStages: orderStages,
|
|
733
764
|
PageNumber: pageNumber,
|
|
734
765
|
Take: take,
|
|
735
766
|
Skip: skip,
|