reach-api-sdk 1.0.108 → 1.0.110
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 +46 -8
- package/dist/reach-sdk.js +16 -0
- package/package.json +1 -1
- package/src/definition/swagger.yaml +50 -0
- package/src/models/CoursePatch.ts +1 -0
- package/src/models/Customer.ts +4 -0
- package/src/models/SessionPatch.ts +1 -0
- package/src/services/CustomersService.ts +36 -0
- package/src/services/PublicCustomersService.ts +12 -0
package/dist/reach-sdk.d.ts
CHANGED
|
@@ -1402,6 +1402,10 @@ type Customer = {
|
|
|
1402
1402
|
* Gets or sets a value indicating whether the customer is opted into marketing.
|
|
1403
1403
|
*/
|
|
1404
1404
|
marketingOptIn?: boolean;
|
|
1405
|
+
/**
|
|
1406
|
+
* Gets or sets a value indicating whether the customer is an active customer, that is, they have completed at least 1 order through to the 'Booked' stage.
|
|
1407
|
+
*/
|
|
1408
|
+
isActiveCustomer?: boolean;
|
|
1405
1409
|
/**
|
|
1406
1410
|
* Gets or sets how many times the customer has booked with the organisation.
|
|
1407
1411
|
*/
|
|
@@ -5785,6 +5789,7 @@ type CoursePatch = {
|
|
|
5785
5789
|
* Gets or sets the course offers.
|
|
5786
5790
|
*/
|
|
5787
5791
|
offers?: Array<UpdateOffer> | null;
|
|
5792
|
+
bookingLinkOverride?: string | null;
|
|
5788
5793
|
};
|
|
5789
5794
|
|
|
5790
5795
|
/**
|
|
@@ -7798,7 +7803,7 @@ declare class CustomersService {
|
|
|
7798
7803
|
* @returns any Success
|
|
7799
7804
|
* @throws ApiError
|
|
7800
7805
|
*/
|
|
7801
|
-
exportToCsv({ wildcard, email, venueId, marketingOptIn, pageNumber, take, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, formData, }: {
|
|
7806
|
+
exportToCsv({ wildcard, email, venueId, marketingOptIn, isActiveCustomer, pageNumber, take, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, formData, }: {
|
|
7802
7807
|
/**
|
|
7803
7808
|
* Gets or sets the wildcard for use in a query search.
|
|
7804
7809
|
*/
|
|
@@ -7815,6 +7820,10 @@ declare class CustomersService {
|
|
|
7815
7820
|
* Gets or sets if the customer is marketing opted in or out.
|
|
7816
7821
|
*/
|
|
7817
7822
|
marketingOptIn?: boolean;
|
|
7823
|
+
/**
|
|
7824
|
+
* Gets or sets a value indicating whether the customer is an active customer, that is, they have completed at least 1 order through to the 'Booked' stage.
|
|
7825
|
+
*/
|
|
7826
|
+
isActiveCustomer?: boolean;
|
|
7818
7827
|
/**
|
|
7819
7828
|
* Gets or sets the page number for paged queries.
|
|
7820
7829
|
*/
|
|
@@ -7868,7 +7877,7 @@ declare class CustomersService {
|
|
|
7868
7877
|
* @returns any Success
|
|
7869
7878
|
* @throws ApiError
|
|
7870
7879
|
*/
|
|
7871
|
-
exportToXlsx({ wildcard, email, venueId, marketingOptIn, pageNumber, take, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, formData, }: {
|
|
7880
|
+
exportToXlsx({ wildcard, email, venueId, marketingOptIn, isActiveCustomer, pageNumber, take, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, formData, }: {
|
|
7872
7881
|
/**
|
|
7873
7882
|
* Gets or sets the wildcard for use in a query search.
|
|
7874
7883
|
*/
|
|
@@ -7885,6 +7894,10 @@ declare class CustomersService {
|
|
|
7885
7894
|
* Gets or sets if the customer is marketing opted in or out.
|
|
7886
7895
|
*/
|
|
7887
7896
|
marketingOptIn?: boolean;
|
|
7897
|
+
/**
|
|
7898
|
+
* Gets or sets a value indicating whether the customer is an active customer, that is, they have completed at least 1 order through to the 'Booked' stage.
|
|
7899
|
+
*/
|
|
7900
|
+
isActiveCustomer?: boolean;
|
|
7888
7901
|
/**
|
|
7889
7902
|
* Gets or sets the page number for paged queries.
|
|
7890
7903
|
*/
|
|
@@ -7992,7 +8005,7 @@ declare class CustomersService {
|
|
|
7992
8005
|
* @returns CustomerPage Success
|
|
7993
8006
|
* @throws ApiError
|
|
7994
8007
|
*/
|
|
7995
|
-
getPage({ wildcard, email, venueId, marketingOptIn, pageNumber, take, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
|
|
8008
|
+
getPage({ wildcard, email, venueId, marketingOptIn, isActiveCustomer, pageNumber, take, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
|
|
7996
8009
|
/**
|
|
7997
8010
|
* Gets or sets the wildcard for use in a query search.
|
|
7998
8011
|
*/
|
|
@@ -8009,6 +8022,10 @@ declare class CustomersService {
|
|
|
8009
8022
|
* Gets or sets if the customer is marketing opted in or out.
|
|
8010
8023
|
*/
|
|
8011
8024
|
marketingOptIn?: boolean;
|
|
8025
|
+
/**
|
|
8026
|
+
* Gets or sets a value indicating whether the customer is an active customer, that is, they have completed at least 1 order through to the 'Booked' stage.
|
|
8027
|
+
*/
|
|
8028
|
+
isActiveCustomer?: boolean;
|
|
8012
8029
|
/**
|
|
8013
8030
|
* Gets or sets the page number for paged queries.
|
|
8014
8031
|
*/
|
|
@@ -8088,7 +8105,7 @@ declare class CustomersService {
|
|
|
8088
8105
|
* @returns boolean Success
|
|
8089
8106
|
* @throws ApiError
|
|
8090
8107
|
*/
|
|
8091
|
-
exists({ wildcard, email, venueId, marketingOptIn, pageNumber, take, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
|
|
8108
|
+
exists({ wildcard, email, venueId, marketingOptIn, isActiveCustomer, pageNumber, take, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
|
|
8092
8109
|
/**
|
|
8093
8110
|
* Gets or sets the wildcard for use in a query search.
|
|
8094
8111
|
*/
|
|
@@ -8105,6 +8122,10 @@ declare class CustomersService {
|
|
|
8105
8122
|
* Gets or sets if the customer is marketing opted in or out.
|
|
8106
8123
|
*/
|
|
8107
8124
|
marketingOptIn?: boolean;
|
|
8125
|
+
/**
|
|
8126
|
+
* Gets or sets a value indicating whether the customer is an active customer, that is, they have completed at least 1 order through to the 'Booked' stage.
|
|
8127
|
+
*/
|
|
8128
|
+
isActiveCustomer?: boolean;
|
|
8108
8129
|
/**
|
|
8109
8130
|
* Gets or sets the page number for paged queries.
|
|
8110
8131
|
*/
|
|
@@ -8151,7 +8172,7 @@ declare class CustomersService {
|
|
|
8151
8172
|
* @returns Customer Success
|
|
8152
8173
|
* @throws ApiError
|
|
8153
8174
|
*/
|
|
8154
|
-
getListWithoutReferences({ wildcard, email, venueId, marketingOptIn, pageNumber, take, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
|
|
8175
|
+
getListWithoutReferences({ wildcard, email, venueId, marketingOptIn, isActiveCustomer, pageNumber, take, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
|
|
8155
8176
|
/**
|
|
8156
8177
|
* Gets or sets the wildcard for use in a query search.
|
|
8157
8178
|
*/
|
|
@@ -8168,6 +8189,10 @@ declare class CustomersService {
|
|
|
8168
8189
|
* Gets or sets if the customer is marketing opted in or out.
|
|
8169
8190
|
*/
|
|
8170
8191
|
marketingOptIn?: boolean;
|
|
8192
|
+
/**
|
|
8193
|
+
* Gets or sets a value indicating whether the customer is an active customer, that is, they have completed at least 1 order through to the 'Booked' stage.
|
|
8194
|
+
*/
|
|
8195
|
+
isActiveCustomer?: boolean;
|
|
8171
8196
|
/**
|
|
8172
8197
|
* Gets or sets the page number for paged queries.
|
|
8173
8198
|
*/
|
|
@@ -8214,7 +8239,7 @@ declare class CustomersService {
|
|
|
8214
8239
|
* @returns Customer Success
|
|
8215
8240
|
* @throws ApiError
|
|
8216
8241
|
*/
|
|
8217
|
-
getListIdName({ wildcard, email, venueId, marketingOptIn, pageNumber, take, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
|
|
8242
|
+
getListIdName({ wildcard, email, venueId, marketingOptIn, isActiveCustomer, pageNumber, take, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
|
|
8218
8243
|
/**
|
|
8219
8244
|
* Gets or sets the wildcard for use in a query search.
|
|
8220
8245
|
*/
|
|
@@ -8231,6 +8256,10 @@ declare class CustomersService {
|
|
|
8231
8256
|
* Gets or sets if the customer is marketing opted in or out.
|
|
8232
8257
|
*/
|
|
8233
8258
|
marketingOptIn?: boolean;
|
|
8259
|
+
/**
|
|
8260
|
+
* Gets or sets a value indicating whether the customer is an active customer, that is, they have completed at least 1 order through to the 'Booked' stage.
|
|
8261
|
+
*/
|
|
8262
|
+
isActiveCustomer?: boolean;
|
|
8234
8263
|
/**
|
|
8235
8264
|
* Gets or sets the page number for paged queries.
|
|
8236
8265
|
*/
|
|
@@ -20462,7 +20491,7 @@ declare class PublicCustomersService {
|
|
|
20462
20491
|
* @returns CustomerPage Success
|
|
20463
20492
|
* @throws ApiError
|
|
20464
20493
|
*/
|
|
20465
|
-
getPage({ xTenantSubdomain, wildcard, email, venueId, marketingOptIn, pageNumber, take, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
|
|
20494
|
+
getPage({ xTenantSubdomain, wildcard, email, venueId, marketingOptIn, isActiveCustomer, pageNumber, take, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
|
|
20466
20495
|
xTenantSubdomain?: string;
|
|
20467
20496
|
/**
|
|
20468
20497
|
* Gets or sets the wildcard for use in a query search.
|
|
@@ -20480,6 +20509,10 @@ declare class PublicCustomersService {
|
|
|
20480
20509
|
* Gets or sets if the customer is marketing opted in or out.
|
|
20481
20510
|
*/
|
|
20482
20511
|
marketingOptIn?: boolean;
|
|
20512
|
+
/**
|
|
20513
|
+
* Gets or sets a value indicating whether the customer is an active customer, that is, they have completed at least 1 order through to the 'Booked' stage.
|
|
20514
|
+
*/
|
|
20515
|
+
isActiveCustomer?: boolean;
|
|
20483
20516
|
/**
|
|
20484
20517
|
* Gets or sets the page number for paged queries.
|
|
20485
20518
|
*/
|
|
@@ -20586,7 +20619,7 @@ declare class PublicCustomersService {
|
|
|
20586
20619
|
* @returns boolean Success
|
|
20587
20620
|
* @throws ApiError
|
|
20588
20621
|
*/
|
|
20589
|
-
exists({ xTenantSubdomain, wildcard, email, venueId, marketingOptIn, pageNumber, take, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
|
|
20622
|
+
exists({ xTenantSubdomain, wildcard, email, venueId, marketingOptIn, isActiveCustomer, pageNumber, take, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
|
|
20590
20623
|
/**
|
|
20591
20624
|
* The tenants subdomain.
|
|
20592
20625
|
*/
|
|
@@ -20607,6 +20640,10 @@ declare class PublicCustomersService {
|
|
|
20607
20640
|
* Gets or sets if the customer is marketing opted in or out.
|
|
20608
20641
|
*/
|
|
20609
20642
|
marketingOptIn?: boolean;
|
|
20643
|
+
/**
|
|
20644
|
+
* Gets or sets a value indicating whether the customer is an active customer, that is, they have completed at least 1 order through to the 'Booked' stage.
|
|
20645
|
+
*/
|
|
20646
|
+
isActiveCustomer?: boolean;
|
|
20610
20647
|
/**
|
|
20611
20648
|
* Gets or sets the page number for paged queries.
|
|
20612
20649
|
*/
|
|
@@ -23460,6 +23497,7 @@ type SessionPatch = {
|
|
|
23460
23497
|
* Gets or sets the session offers.
|
|
23461
23498
|
*/
|
|
23462
23499
|
offers?: Array<UpdateOffer> | null;
|
|
23500
|
+
bookingLinkOverride?: string | null;
|
|
23463
23501
|
};
|
|
23464
23502
|
|
|
23465
23503
|
/**
|
package/dist/reach-sdk.js
CHANGED
|
@@ -3623,6 +3623,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
3623
3623
|
email,
|
|
3624
3624
|
venueId,
|
|
3625
3625
|
marketingOptIn,
|
|
3626
|
+
isActiveCustomer,
|
|
3626
3627
|
pageNumber,
|
|
3627
3628
|
take,
|
|
3628
3629
|
limitListRequests,
|
|
@@ -3643,6 +3644,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
3643
3644
|
Email: email,
|
|
3644
3645
|
VenueId: venueId,
|
|
3645
3646
|
MarketingOptIn: marketingOptIn,
|
|
3647
|
+
IsActiveCustomer: isActiveCustomer,
|
|
3646
3648
|
PageNumber: pageNumber,
|
|
3647
3649
|
Take: take,
|
|
3648
3650
|
LimitListRequests: limitListRequests,
|
|
@@ -3674,6 +3676,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
3674
3676
|
email,
|
|
3675
3677
|
venueId,
|
|
3676
3678
|
marketingOptIn,
|
|
3679
|
+
isActiveCustomer,
|
|
3677
3680
|
pageNumber,
|
|
3678
3681
|
take,
|
|
3679
3682
|
limitListRequests,
|
|
@@ -3694,6 +3697,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
3694
3697
|
Email: email,
|
|
3695
3698
|
VenueId: venueId,
|
|
3696
3699
|
MarketingOptIn: marketingOptIn,
|
|
3700
|
+
IsActiveCustomer: isActiveCustomer,
|
|
3697
3701
|
PageNumber: pageNumber,
|
|
3698
3702
|
Take: take,
|
|
3699
3703
|
LimitListRequests: limitListRequests,
|
|
@@ -3824,6 +3828,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
3824
3828
|
email,
|
|
3825
3829
|
venueId,
|
|
3826
3830
|
marketingOptIn,
|
|
3831
|
+
isActiveCustomer,
|
|
3827
3832
|
pageNumber,
|
|
3828
3833
|
take,
|
|
3829
3834
|
limitListRequests,
|
|
@@ -3843,6 +3848,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
3843
3848
|
Email: email,
|
|
3844
3849
|
VenueId: venueId,
|
|
3845
3850
|
MarketingOptIn: marketingOptIn,
|
|
3851
|
+
IsActiveCustomer: isActiveCustomer,
|
|
3846
3852
|
PageNumber: pageNumber,
|
|
3847
3853
|
Take: take,
|
|
3848
3854
|
LimitListRequests: limitListRequests,
|
|
@@ -3934,6 +3940,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
3934
3940
|
email,
|
|
3935
3941
|
venueId,
|
|
3936
3942
|
marketingOptIn,
|
|
3943
|
+
isActiveCustomer,
|
|
3937
3944
|
pageNumber,
|
|
3938
3945
|
take,
|
|
3939
3946
|
limitListRequests,
|
|
@@ -3953,6 +3960,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
3953
3960
|
Email: email,
|
|
3954
3961
|
VenueId: venueId,
|
|
3955
3962
|
MarketingOptIn: marketingOptIn,
|
|
3963
|
+
IsActiveCustomer: isActiveCustomer,
|
|
3956
3964
|
PageNumber: pageNumber,
|
|
3957
3965
|
Take: take,
|
|
3958
3966
|
LimitListRequests: limitListRequests,
|
|
@@ -3981,6 +3989,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
3981
3989
|
email,
|
|
3982
3990
|
venueId,
|
|
3983
3991
|
marketingOptIn,
|
|
3992
|
+
isActiveCustomer,
|
|
3984
3993
|
pageNumber,
|
|
3985
3994
|
take,
|
|
3986
3995
|
limitListRequests,
|
|
@@ -4000,6 +4009,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
4000
4009
|
Email: email,
|
|
4001
4010
|
VenueId: venueId,
|
|
4002
4011
|
MarketingOptIn: marketingOptIn,
|
|
4012
|
+
IsActiveCustomer: isActiveCustomer,
|
|
4003
4013
|
PageNumber: pageNumber,
|
|
4004
4014
|
Take: take,
|
|
4005
4015
|
LimitListRequests: limitListRequests,
|
|
@@ -4028,6 +4038,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
4028
4038
|
email,
|
|
4029
4039
|
venueId,
|
|
4030
4040
|
marketingOptIn,
|
|
4041
|
+
isActiveCustomer,
|
|
4031
4042
|
pageNumber,
|
|
4032
4043
|
take,
|
|
4033
4044
|
limitListRequests,
|
|
@@ -4047,6 +4058,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
4047
4058
|
Email: email,
|
|
4048
4059
|
VenueId: venueId,
|
|
4049
4060
|
MarketingOptIn: marketingOptIn,
|
|
4061
|
+
IsActiveCustomer: isActiveCustomer,
|
|
4050
4062
|
PageNumber: pageNumber,
|
|
4051
4063
|
Take: take,
|
|
4052
4064
|
LimitListRequests: limitListRequests,
|
|
@@ -13782,6 +13794,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
13782
13794
|
email,
|
|
13783
13795
|
venueId,
|
|
13784
13796
|
marketingOptIn,
|
|
13797
|
+
isActiveCustomer,
|
|
13785
13798
|
pageNumber,
|
|
13786
13799
|
take,
|
|
13787
13800
|
limitListRequests,
|
|
@@ -13804,6 +13817,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
13804
13817
|
Email: email,
|
|
13805
13818
|
VenueId: venueId,
|
|
13806
13819
|
MarketingOptIn: marketingOptIn,
|
|
13820
|
+
IsActiveCustomer: isActiveCustomer,
|
|
13807
13821
|
PageNumber: pageNumber,
|
|
13808
13822
|
Take: take,
|
|
13809
13823
|
LimitListRequests: limitListRequests,
|
|
@@ -13929,6 +13943,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
13929
13943
|
email,
|
|
13930
13944
|
venueId,
|
|
13931
13945
|
marketingOptIn,
|
|
13946
|
+
isActiveCustomer,
|
|
13932
13947
|
pageNumber,
|
|
13933
13948
|
take,
|
|
13934
13949
|
limitListRequests,
|
|
@@ -13951,6 +13966,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
13951
13966
|
Email: email,
|
|
13952
13967
|
VenueId: venueId,
|
|
13953
13968
|
MarketingOptIn: marketingOptIn,
|
|
13969
|
+
IsActiveCustomer: isActiveCustomer,
|
|
13954
13970
|
PageNumber: pageNumber,
|
|
13955
13971
|
Take: take,
|
|
13956
13972
|
LimitListRequests: limitListRequests,
|
package/package.json
CHANGED
|
@@ -9764,6 +9764,11 @@ paths:
|
|
|
9764
9764
|
description: Gets or sets if the customer is marketing opted in or out.
|
|
9765
9765
|
schema:
|
|
9766
9766
|
type: boolean
|
|
9767
|
+
- name: IsActiveCustomer
|
|
9768
|
+
in: query
|
|
9769
|
+
description: 'Gets or sets a value indicating whether the customer is an active customer, that is, they have completed at least 1 order through to the ''Booked'' stage.'
|
|
9770
|
+
schema:
|
|
9771
|
+
type: boolean
|
|
9767
9772
|
- name: PageNumber
|
|
9768
9773
|
in: query
|
|
9769
9774
|
description: Gets or sets the page number for paged queries.
|
|
@@ -9903,6 +9908,11 @@ paths:
|
|
|
9903
9908
|
description: Gets or sets if the customer is marketing opted in or out.
|
|
9904
9909
|
schema:
|
|
9905
9910
|
type: boolean
|
|
9911
|
+
- name: IsActiveCustomer
|
|
9912
|
+
in: query
|
|
9913
|
+
description: 'Gets or sets a value indicating whether the customer is an active customer, that is, they have completed at least 1 order through to the ''Booked'' stage.'
|
|
9914
|
+
schema:
|
|
9915
|
+
type: boolean
|
|
9906
9916
|
- name: PageNumber
|
|
9907
9917
|
in: query
|
|
9908
9918
|
description: Gets or sets the page number for paged queries.
|
|
@@ -10376,6 +10386,11 @@ paths:
|
|
|
10376
10386
|
description: Gets or sets if the customer is marketing opted in or out.
|
|
10377
10387
|
schema:
|
|
10378
10388
|
type: boolean
|
|
10389
|
+
- name: IsActiveCustomer
|
|
10390
|
+
in: query
|
|
10391
|
+
description: 'Gets or sets a value indicating whether the customer is an active customer, that is, they have completed at least 1 order through to the ''Booked'' stage.'
|
|
10392
|
+
schema:
|
|
10393
|
+
type: boolean
|
|
10379
10394
|
- name: PageNumber
|
|
10380
10395
|
in: query
|
|
10381
10396
|
description: Gets or sets the page number for paged queries.
|
|
@@ -10690,6 +10705,11 @@ paths:
|
|
|
10690
10705
|
description: Gets or sets if the customer is marketing opted in or out.
|
|
10691
10706
|
schema:
|
|
10692
10707
|
type: boolean
|
|
10708
|
+
- name: IsActiveCustomer
|
|
10709
|
+
in: query
|
|
10710
|
+
description: 'Gets or sets a value indicating whether the customer is an active customer, that is, they have completed at least 1 order through to the ''Booked'' stage.'
|
|
10711
|
+
schema:
|
|
10712
|
+
type: boolean
|
|
10693
10713
|
- name: PageNumber
|
|
10694
10714
|
in: query
|
|
10695
10715
|
description: Gets or sets the page number for paged queries.
|
|
@@ -10826,6 +10846,11 @@ paths:
|
|
|
10826
10846
|
description: Gets or sets if the customer is marketing opted in or out.
|
|
10827
10847
|
schema:
|
|
10828
10848
|
type: boolean
|
|
10849
|
+
- name: IsActiveCustomer
|
|
10850
|
+
in: query
|
|
10851
|
+
description: 'Gets or sets a value indicating whether the customer is an active customer, that is, they have completed at least 1 order through to the ''Booked'' stage.'
|
|
10852
|
+
schema:
|
|
10853
|
+
type: boolean
|
|
10829
10854
|
- name: PageNumber
|
|
10830
10855
|
in: query
|
|
10831
10856
|
description: Gets or sets the page number for paged queries.
|
|
@@ -10968,6 +10993,11 @@ paths:
|
|
|
10968
10993
|
description: Gets or sets if the customer is marketing opted in or out.
|
|
10969
10994
|
schema:
|
|
10970
10995
|
type: boolean
|
|
10996
|
+
- name: IsActiveCustomer
|
|
10997
|
+
in: query
|
|
10998
|
+
description: 'Gets or sets a value indicating whether the customer is an active customer, that is, they have completed at least 1 order through to the ''Booked'' stage.'
|
|
10999
|
+
schema:
|
|
11000
|
+
type: boolean
|
|
10971
11001
|
- name: PageNumber
|
|
10972
11002
|
in: query
|
|
10973
11003
|
description: Gets or sets the page number for paged queries.
|
|
@@ -40165,6 +40195,11 @@ paths:
|
|
|
40165
40195
|
description: Gets or sets if the customer is marketing opted in or out.
|
|
40166
40196
|
schema:
|
|
40167
40197
|
type: boolean
|
|
40198
|
+
- name: IsActiveCustomer
|
|
40199
|
+
in: query
|
|
40200
|
+
description: 'Gets or sets a value indicating whether the customer is an active customer, that is, they have completed at least 1 order through to the ''Booked'' stage.'
|
|
40201
|
+
schema:
|
|
40202
|
+
type: boolean
|
|
40168
40203
|
- name: PageNumber
|
|
40169
40204
|
in: query
|
|
40170
40205
|
description: Gets or sets the page number for paged queries.
|
|
@@ -40598,6 +40633,11 @@ paths:
|
|
|
40598
40633
|
description: Gets or sets if the customer is marketing opted in or out.
|
|
40599
40634
|
schema:
|
|
40600
40635
|
type: boolean
|
|
40636
|
+
- name: IsActiveCustomer
|
|
40637
|
+
in: query
|
|
40638
|
+
description: 'Gets or sets a value indicating whether the customer is an active customer, that is, they have completed at least 1 order through to the ''Booked'' stage.'
|
|
40639
|
+
schema:
|
|
40640
|
+
type: boolean
|
|
40601
40641
|
- name: PageNumber
|
|
40602
40642
|
in: query
|
|
40603
40643
|
description: Gets or sets the page number for paged queries.
|
|
@@ -93911,6 +93951,9 @@ components:
|
|
|
93911
93951
|
$ref: '#/components/schemas/UpdateOffer'
|
|
93912
93952
|
description: Gets or sets the course offers.
|
|
93913
93953
|
nullable: true
|
|
93954
|
+
bookingLinkOverride:
|
|
93955
|
+
type: string
|
|
93956
|
+
nullable: true
|
|
93914
93957
|
additionalProperties: false
|
|
93915
93958
|
description: Post model for course updates.
|
|
93916
93959
|
CoursePost:
|
|
@@ -94665,6 +94708,10 @@ components:
|
|
|
94665
94708
|
type: boolean
|
|
94666
94709
|
description: Gets or sets a value indicating whether the customer is opted into marketing.
|
|
94667
94710
|
default: false
|
|
94711
|
+
isActiveCustomer:
|
|
94712
|
+
type: boolean
|
|
94713
|
+
description: 'Gets or sets a value indicating whether the customer is an active customer, that is, they have completed at least 1 order through to the ''Booked'' stage.'
|
|
94714
|
+
default: false
|
|
94668
94715
|
bookingCount:
|
|
94669
94716
|
type: integer
|
|
94670
94717
|
description: Gets or sets how many times the customer has booked with the organisation.
|
|
@@ -100259,6 +100306,9 @@ components:
|
|
|
100259
100306
|
$ref: '#/components/schemas/UpdateOffer'
|
|
100260
100307
|
description: Gets or sets the session offers.
|
|
100261
100308
|
nullable: true
|
|
100309
|
+
bookingLinkOverride:
|
|
100310
|
+
type: string
|
|
100311
|
+
nullable: true
|
|
100262
100312
|
additionalProperties: false
|
|
100263
100313
|
description: Patch model for session updates.
|
|
100264
100314
|
SessionPost:
|
package/src/models/Customer.ts
CHANGED
|
@@ -88,6 +88,10 @@ export type Customer = {
|
|
|
88
88
|
* Gets or sets a value indicating whether the customer is opted into marketing.
|
|
89
89
|
*/
|
|
90
90
|
marketingOptIn?: boolean;
|
|
91
|
+
/**
|
|
92
|
+
* Gets or sets a value indicating whether the customer is an active customer, that is, they have completed at least 1 order through to the 'Booked' stage.
|
|
93
|
+
*/
|
|
94
|
+
isActiveCustomer?: boolean;
|
|
91
95
|
/**
|
|
92
96
|
* Gets or sets how many times the customer has booked with the organisation.
|
|
93
97
|
*/
|
|
@@ -87,6 +87,7 @@ export class CustomersService {
|
|
|
87
87
|
email,
|
|
88
88
|
venueId,
|
|
89
89
|
marketingOptIn,
|
|
90
|
+
isActiveCustomer,
|
|
90
91
|
pageNumber,
|
|
91
92
|
take,
|
|
92
93
|
limitListRequests,
|
|
@@ -115,6 +116,10 @@ export class CustomersService {
|
|
|
115
116
|
* Gets or sets if the customer is marketing opted in or out.
|
|
116
117
|
*/
|
|
117
118
|
marketingOptIn?: boolean;
|
|
119
|
+
/**
|
|
120
|
+
* Gets or sets a value indicating whether the customer is an active customer, that is, they have completed at least 1 order through to the 'Booked' stage.
|
|
121
|
+
*/
|
|
122
|
+
isActiveCustomer?: boolean;
|
|
118
123
|
/**
|
|
119
124
|
* Gets or sets the page number for paged queries.
|
|
120
125
|
*/
|
|
@@ -170,6 +175,7 @@ export class CustomersService {
|
|
|
170
175
|
Email: email,
|
|
171
176
|
VenueId: venueId,
|
|
172
177
|
MarketingOptIn: marketingOptIn,
|
|
178
|
+
IsActiveCustomer: isActiveCustomer,
|
|
173
179
|
PageNumber: pageNumber,
|
|
174
180
|
Take: take,
|
|
175
181
|
LimitListRequests: limitListRequests,
|
|
@@ -202,6 +208,7 @@ export class CustomersService {
|
|
|
202
208
|
email,
|
|
203
209
|
venueId,
|
|
204
210
|
marketingOptIn,
|
|
211
|
+
isActiveCustomer,
|
|
205
212
|
pageNumber,
|
|
206
213
|
take,
|
|
207
214
|
limitListRequests,
|
|
@@ -230,6 +237,10 @@ export class CustomersService {
|
|
|
230
237
|
* Gets or sets if the customer is marketing opted in or out.
|
|
231
238
|
*/
|
|
232
239
|
marketingOptIn?: boolean;
|
|
240
|
+
/**
|
|
241
|
+
* Gets or sets a value indicating whether the customer is an active customer, that is, they have completed at least 1 order through to the 'Booked' stage.
|
|
242
|
+
*/
|
|
243
|
+
isActiveCustomer?: boolean;
|
|
233
244
|
/**
|
|
234
245
|
* Gets or sets the page number for paged queries.
|
|
235
246
|
*/
|
|
@@ -285,6 +296,7 @@ export class CustomersService {
|
|
|
285
296
|
Email: email,
|
|
286
297
|
VenueId: venueId,
|
|
287
298
|
MarketingOptIn: marketingOptIn,
|
|
299
|
+
IsActiveCustomer: isActiveCustomer,
|
|
288
300
|
PageNumber: pageNumber,
|
|
289
301
|
Take: take,
|
|
290
302
|
LimitListRequests: limitListRequests,
|
|
@@ -446,6 +458,7 @@ export class CustomersService {
|
|
|
446
458
|
email,
|
|
447
459
|
venueId,
|
|
448
460
|
marketingOptIn,
|
|
461
|
+
isActiveCustomer,
|
|
449
462
|
pageNumber,
|
|
450
463
|
take,
|
|
451
464
|
limitListRequests,
|
|
@@ -473,6 +486,10 @@ export class CustomersService {
|
|
|
473
486
|
* Gets or sets if the customer is marketing opted in or out.
|
|
474
487
|
*/
|
|
475
488
|
marketingOptIn?: boolean;
|
|
489
|
+
/**
|
|
490
|
+
* Gets or sets a value indicating whether the customer is an active customer, that is, they have completed at least 1 order through to the 'Booked' stage.
|
|
491
|
+
*/
|
|
492
|
+
isActiveCustomer?: boolean;
|
|
476
493
|
/**
|
|
477
494
|
* Gets or sets the page number for paged queries.
|
|
478
495
|
*/
|
|
@@ -522,6 +539,7 @@ export class CustomersService {
|
|
|
522
539
|
Email: email,
|
|
523
540
|
VenueId: venueId,
|
|
524
541
|
MarketingOptIn: marketingOptIn,
|
|
542
|
+
IsActiveCustomer: isActiveCustomer,
|
|
525
543
|
PageNumber: pageNumber,
|
|
526
544
|
Take: take,
|
|
527
545
|
LimitListRequests: limitListRequests,
|
|
@@ -632,6 +650,7 @@ export class CustomersService {
|
|
|
632
650
|
email,
|
|
633
651
|
venueId,
|
|
634
652
|
marketingOptIn,
|
|
653
|
+
isActiveCustomer,
|
|
635
654
|
pageNumber,
|
|
636
655
|
take,
|
|
637
656
|
limitListRequests,
|
|
@@ -659,6 +678,10 @@ export class CustomersService {
|
|
|
659
678
|
* Gets or sets if the customer is marketing opted in or out.
|
|
660
679
|
*/
|
|
661
680
|
marketingOptIn?: boolean;
|
|
681
|
+
/**
|
|
682
|
+
* Gets or sets a value indicating whether the customer is an active customer, that is, they have completed at least 1 order through to the 'Booked' stage.
|
|
683
|
+
*/
|
|
684
|
+
isActiveCustomer?: boolean;
|
|
662
685
|
/**
|
|
663
686
|
* Gets or sets the page number for paged queries.
|
|
664
687
|
*/
|
|
@@ -708,6 +731,7 @@ export class CustomersService {
|
|
|
708
731
|
Email: email,
|
|
709
732
|
VenueId: venueId,
|
|
710
733
|
MarketingOptIn: marketingOptIn,
|
|
734
|
+
IsActiveCustomer: isActiveCustomer,
|
|
711
735
|
PageNumber: pageNumber,
|
|
712
736
|
Take: take,
|
|
713
737
|
LimitListRequests: limitListRequests,
|
|
@@ -737,6 +761,7 @@ export class CustomersService {
|
|
|
737
761
|
email,
|
|
738
762
|
venueId,
|
|
739
763
|
marketingOptIn,
|
|
764
|
+
isActiveCustomer,
|
|
740
765
|
pageNumber,
|
|
741
766
|
take,
|
|
742
767
|
limitListRequests,
|
|
@@ -764,6 +789,10 @@ export class CustomersService {
|
|
|
764
789
|
* Gets or sets if the customer is marketing opted in or out.
|
|
765
790
|
*/
|
|
766
791
|
marketingOptIn?: boolean;
|
|
792
|
+
/**
|
|
793
|
+
* Gets or sets a value indicating whether the customer is an active customer, that is, they have completed at least 1 order through to the 'Booked' stage.
|
|
794
|
+
*/
|
|
795
|
+
isActiveCustomer?: boolean;
|
|
767
796
|
/**
|
|
768
797
|
* Gets or sets the page number for paged queries.
|
|
769
798
|
*/
|
|
@@ -813,6 +842,7 @@ export class CustomersService {
|
|
|
813
842
|
Email: email,
|
|
814
843
|
VenueId: venueId,
|
|
815
844
|
MarketingOptIn: marketingOptIn,
|
|
845
|
+
IsActiveCustomer: isActiveCustomer,
|
|
816
846
|
PageNumber: pageNumber,
|
|
817
847
|
Take: take,
|
|
818
848
|
LimitListRequests: limitListRequests,
|
|
@@ -842,6 +872,7 @@ export class CustomersService {
|
|
|
842
872
|
email,
|
|
843
873
|
venueId,
|
|
844
874
|
marketingOptIn,
|
|
875
|
+
isActiveCustomer,
|
|
845
876
|
pageNumber,
|
|
846
877
|
take,
|
|
847
878
|
limitListRequests,
|
|
@@ -869,6 +900,10 @@ export class CustomersService {
|
|
|
869
900
|
* Gets or sets if the customer is marketing opted in or out.
|
|
870
901
|
*/
|
|
871
902
|
marketingOptIn?: boolean;
|
|
903
|
+
/**
|
|
904
|
+
* Gets or sets a value indicating whether the customer is an active customer, that is, they have completed at least 1 order through to the 'Booked' stage.
|
|
905
|
+
*/
|
|
906
|
+
isActiveCustomer?: boolean;
|
|
872
907
|
/**
|
|
873
908
|
* Gets or sets the page number for paged queries.
|
|
874
909
|
*/
|
|
@@ -918,6 +953,7 @@ export class CustomersService {
|
|
|
918
953
|
Email: email,
|
|
919
954
|
VenueId: venueId,
|
|
920
955
|
MarketingOptIn: marketingOptIn,
|
|
956
|
+
IsActiveCustomer: isActiveCustomer,
|
|
921
957
|
PageNumber: pageNumber,
|
|
922
958
|
Take: take,
|
|
923
959
|
LimitListRequests: limitListRequests,
|
|
@@ -87,6 +87,7 @@ export class PublicCustomersService {
|
|
|
87
87
|
email,
|
|
88
88
|
venueId,
|
|
89
89
|
marketingOptIn,
|
|
90
|
+
isActiveCustomer,
|
|
90
91
|
pageNumber,
|
|
91
92
|
take,
|
|
92
93
|
limitListRequests,
|
|
@@ -115,6 +116,10 @@ export class PublicCustomersService {
|
|
|
115
116
|
* Gets or sets if the customer is marketing opted in or out.
|
|
116
117
|
*/
|
|
117
118
|
marketingOptIn?: boolean;
|
|
119
|
+
/**
|
|
120
|
+
* Gets or sets a value indicating whether the customer is an active customer, that is, they have completed at least 1 order through to the 'Booked' stage.
|
|
121
|
+
*/
|
|
122
|
+
isActiveCustomer?: boolean;
|
|
118
123
|
/**
|
|
119
124
|
* Gets or sets the page number for paged queries.
|
|
120
125
|
*/
|
|
@@ -167,6 +172,7 @@ export class PublicCustomersService {
|
|
|
167
172
|
Email: email,
|
|
168
173
|
VenueId: venueId,
|
|
169
174
|
MarketingOptIn: marketingOptIn,
|
|
175
|
+
IsActiveCustomer: isActiveCustomer,
|
|
170
176
|
PageNumber: pageNumber,
|
|
171
177
|
Take: take,
|
|
172
178
|
LimitListRequests: limitListRequests,
|
|
@@ -333,6 +339,7 @@ export class PublicCustomersService {
|
|
|
333
339
|
email,
|
|
334
340
|
venueId,
|
|
335
341
|
marketingOptIn,
|
|
342
|
+
isActiveCustomer,
|
|
336
343
|
pageNumber,
|
|
337
344
|
take,
|
|
338
345
|
limitListRequests,
|
|
@@ -364,6 +371,10 @@ export class PublicCustomersService {
|
|
|
364
371
|
* Gets or sets if the customer is marketing opted in or out.
|
|
365
372
|
*/
|
|
366
373
|
marketingOptIn?: boolean;
|
|
374
|
+
/**
|
|
375
|
+
* Gets or sets a value indicating whether the customer is an active customer, that is, they have completed at least 1 order through to the 'Booked' stage.
|
|
376
|
+
*/
|
|
377
|
+
isActiveCustomer?: boolean;
|
|
367
378
|
/**
|
|
368
379
|
* Gets or sets the page number for paged queries.
|
|
369
380
|
*/
|
|
@@ -416,6 +427,7 @@ export class PublicCustomersService {
|
|
|
416
427
|
Email: email,
|
|
417
428
|
VenueId: venueId,
|
|
418
429
|
MarketingOptIn: marketingOptIn,
|
|
430
|
+
IsActiveCustomer: isActiveCustomer,
|
|
419
431
|
PageNumber: pageNumber,
|
|
420
432
|
Take: take,
|
|
421
433
|
LimitListRequests: limitListRequests,
|