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
package/dist/reach-sdk.js CHANGED
@@ -1105,7 +1105,6 @@ const request = (config, options, axiosClient = axios) => {
1105
1105
  * @throws ApiError
1106
1106
  */
1107
1107
  getPage({
1108
- venueId,
1109
1108
  customerId,
1110
1109
  firstName,
1111
1110
  lastName,
@@ -1125,7 +1124,6 @@ const request = (config, options, axiosClient = axios) => {
1125
1124
  method: "GET",
1126
1125
  url: "/api/attendees",
1127
1126
  query: {
1128
- VenueId: venueId,
1129
1127
  CustomerId: customerId,
1130
1128
  FirstName: firstName,
1131
1129
  LastName: lastName,
@@ -1217,7 +1215,6 @@ const request = (config, options, axiosClient = axios) => {
1217
1215
  * @throws ApiError
1218
1216
  */
1219
1217
  exists({
1220
- venueId,
1221
1218
  customerId,
1222
1219
  firstName,
1223
1220
  lastName,
@@ -1237,7 +1234,6 @@ const request = (config, options, axiosClient = axios) => {
1237
1234
  method: "GET",
1238
1235
  url: "/api/attendees/exists",
1239
1236
  query: {
1240
- VenueId: venueId,
1241
1237
  CustomerId: customerId,
1242
1238
  FirstName: firstName,
1243
1239
  LastName: lastName,
@@ -1266,7 +1262,6 @@ const request = (config, options, axiosClient = axios) => {
1266
1262
  * @throws ApiError
1267
1263
  */
1268
1264
  count({
1269
- venueId,
1270
1265
  customerId,
1271
1266
  firstName,
1272
1267
  lastName,
@@ -1286,7 +1281,6 @@ const request = (config, options, axiosClient = axios) => {
1286
1281
  method: "GET",
1287
1282
  url: "/api/attendees/count",
1288
1283
  query: {
1289
- VenueId: venueId,
1290
1284
  CustomerId: customerId,
1291
1285
  FirstName: firstName,
1292
1286
  LastName: lastName,
@@ -1315,7 +1309,6 @@ const request = (config, options, axiosClient = axios) => {
1315
1309
  * @throws ApiError
1316
1310
  */
1317
1311
  getListWithoutReferences({
1318
- venueId,
1319
1312
  customerId,
1320
1313
  firstName,
1321
1314
  lastName,
@@ -1335,7 +1328,6 @@ const request = (config, options, axiosClient = axios) => {
1335
1328
  method: "GET",
1336
1329
  url: "/api/attendees/without-references",
1337
1330
  query: {
1338
- VenueId: venueId,
1339
1331
  CustomerId: customerId,
1340
1332
  FirstName: firstName,
1341
1333
  LastName: lastName,
@@ -1364,7 +1356,6 @@ const request = (config, options, axiosClient = axios) => {
1364
1356
  * @throws ApiError
1365
1357
  */
1366
1358
  getListIdName({
1367
- venueId,
1368
1359
  customerId,
1369
1360
  firstName,
1370
1361
  lastName,
@@ -1384,7 +1375,6 @@ const request = (config, options, axiosClient = axios) => {
1384
1375
  method: "GET",
1385
1376
  url: "/api/attendees/id-name",
1386
1377
  query: {
1387
- VenueId: venueId,
1388
1378
  CustomerId: customerId,
1389
1379
  FirstName: firstName,
1390
1380
  LastName: lastName,
@@ -5340,6 +5330,30 @@ const request = (config, options, axiosClient = axios) => {
5340
5330
  }
5341
5331
  });
5342
5332
  }
5333
+ /**
5334
+ * Sends an account invite email to the customer with their information, participant details, and wallet balances.
5335
+ * @returns any OK
5336
+ * @throws ApiError
5337
+ */
5338
+ sendAccountInvite({
5339
+ customerId,
5340
+ requestBody
5341
+ }) {
5342
+ return this.httpRequest.request({
5343
+ method: "PATCH",
5344
+ url: "/api/customers/{customerId}/send-account-invite",
5345
+ path: {
5346
+ customerId
5347
+ },
5348
+ body: requestBody,
5349
+ mediaType: "application/json",
5350
+ errors: {
5351
+ 400: `Bad Request`,
5352
+ 422: `Unprocessable Content`,
5353
+ 500: `Internal Server Error`
5354
+ }
5355
+ });
5356
+ }
5343
5357
  /**
5344
5358
  * Gets the customer with added stats.
5345
5359
  * @returns Customer OK
@@ -44686,11 +44700,810 @@ const request = (config, options, axiosClient = axios) => {
44686
44700
  }
44687
44701
  /**
44688
44702
  * Gets a list of resources.
44689
- * @returns VenuesReport OK
44703
+ * @returns VenuesReport OK
44704
+ * @throws ApiError
44705
+ */
44706
+ getListIdName({
44707
+ venueId,
44708
+ pageNumber,
44709
+ take,
44710
+ skip,
44711
+ limitListRequests,
44712
+ tenantId,
44713
+ modifiedById,
44714
+ modifiedByIds,
44715
+ dateCreatedGte,
44716
+ dateCreatedLte,
44717
+ isLive,
44718
+ sortOrderDirection
44719
+ }) {
44720
+ return this.httpRequest.request({
44721
+ method: "GET",
44722
+ url: "/api/venues-report/id-name",
44723
+ query: {
44724
+ VenueId: venueId,
44725
+ PageNumber: pageNumber,
44726
+ Take: take,
44727
+ Skip: skip,
44728
+ LimitListRequests: limitListRequests,
44729
+ TenantId: tenantId,
44730
+ ModifiedById: modifiedById,
44731
+ ModifiedByIds: modifiedByIds,
44732
+ DateCreatedGTE: dateCreatedGte,
44733
+ DateCreatedLTE: dateCreatedLte,
44734
+ IsLive: isLive,
44735
+ SortOrderDirection: sortOrderDirection
44736
+ },
44737
+ errors: {
44738
+ 400: `Bad Request`,
44739
+ 422: `Unprocessable Content`,
44740
+ 500: `Internal Server Error`
44741
+ }
44742
+ });
44743
+ }
44744
+ }class VenueTypeService {
44745
+ constructor(httpRequest) {
44746
+ this.httpRequest = httpRequest;
44747
+ }
44748
+ /**
44749
+ * Inserts a new resource. The Id will be automatically generated and will be ignored if provided.
44750
+ * @returns VenueType OK
44751
+ * @throws ApiError
44752
+ */
44753
+ post({
44754
+ requestBody
44755
+ }) {
44756
+ return this.httpRequest.request({
44757
+ method: "POST",
44758
+ url: "/api/venue-types/v2-temporary-route",
44759
+ body: requestBody,
44760
+ mediaType: "application/json",
44761
+ errors: {
44762
+ 400: `Bad Request`,
44763
+ 422: `Unprocessable Content`,
44764
+ 500: `Internal Server Error`
44765
+ }
44766
+ });
44767
+ }
44768
+ /**
44769
+ * Patches the resource.
44770
+ * @returns VenueType OK
44771
+ * @throws ApiError
44772
+ */
44773
+ patch({
44774
+ requestBody
44775
+ }) {
44776
+ return this.httpRequest.request({
44777
+ method: "PATCH",
44778
+ url: "/api/venue-types/v2-temporary-route",
44779
+ body: requestBody,
44780
+ mediaType: "application/json",
44781
+ errors: {
44782
+ 400: `Bad Request`,
44783
+ 422: `Unprocessable Content`,
44784
+ 500: `Internal Server Error`
44785
+ }
44786
+ });
44787
+ }
44788
+ /**
44789
+ * Inserts a list of resources.
44790
+ * @returns VenueType OK
44791
+ * @throws ApiError
44792
+ */
44793
+ postList({
44794
+ requestBody
44795
+ }) {
44796
+ return this.httpRequest.request({
44797
+ method: "POST",
44798
+ url: "/api/venue-types/v2-temporary-route/list",
44799
+ body: requestBody,
44800
+ mediaType: "application/json",
44801
+ errors: {
44802
+ 400: `Bad Request`,
44803
+ 422: `Unprocessable Content`,
44804
+ 500: `Internal Server Error`
44805
+ }
44806
+ });
44807
+ }
44808
+ /**
44809
+ * Patches the resource.
44810
+ * @returns VenueType OK
44811
+ * @throws ApiError
44812
+ */
44813
+ patchWithReferences({
44814
+ requestBody
44815
+ }) {
44816
+ return this.httpRequest.request({
44817
+ method: "PATCH",
44818
+ url: "/api/venue-types/v2-temporary-route/with-references",
44819
+ body: requestBody,
44820
+ mediaType: "application/json",
44821
+ errors: {
44822
+ 400: `Bad Request`,
44823
+ 422: `Unprocessable Content`,
44824
+ 500: `Internal Server Error`
44825
+ }
44826
+ });
44827
+ }
44828
+ /**
44829
+ * Deletes the resource.
44830
+ * @returns any OK
44831
+ * @throws ApiError
44832
+ */
44833
+ deleteByObject({
44834
+ requestBody
44835
+ }) {
44836
+ return this.httpRequest.request({
44837
+ method: "DELETE",
44838
+ url: "/api/venue-types",
44839
+ body: requestBody,
44840
+ mediaType: "application/json",
44841
+ errors: {
44842
+ 400: `Bad Request`,
44843
+ 422: `Unprocessable Content`,
44844
+ 500: `Internal Server Error`
44845
+ }
44846
+ });
44847
+ }
44848
+ /**
44849
+ * Gets a list of resources.
44850
+ * @returns VenueTypePage OK
44851
+ * @throws ApiError
44852
+ */
44853
+ getPage({
44854
+ pageNumber,
44855
+ take,
44856
+ skip,
44857
+ limitListRequests,
44858
+ tenantId,
44859
+ modifiedById,
44860
+ modifiedByIds,
44861
+ dateCreatedGte,
44862
+ dateCreatedLte,
44863
+ isLive,
44864
+ sortOrderDirection
44865
+ }) {
44866
+ return this.httpRequest.request({
44867
+ method: "GET",
44868
+ url: "/api/venue-types",
44869
+ query: {
44870
+ PageNumber: pageNumber,
44871
+ Take: take,
44872
+ Skip: skip,
44873
+ LimitListRequests: limitListRequests,
44874
+ TenantId: tenantId,
44875
+ ModifiedById: modifiedById,
44876
+ ModifiedByIds: modifiedByIds,
44877
+ DateCreatedGTE: dateCreatedGte,
44878
+ DateCreatedLTE: dateCreatedLte,
44879
+ IsLive: isLive,
44880
+ SortOrderDirection: sortOrderDirection
44881
+ },
44882
+ errors: {
44883
+ 400: `Bad Request`,
44884
+ 422: `Unprocessable Content`,
44885
+ 500: `Internal Server Error`
44886
+ }
44887
+ });
44888
+ }
44889
+ /**
44890
+ * Deletes the resource.
44891
+ * @returns any OK
44892
+ * @throws ApiError
44893
+ */
44894
+ deleteById({
44895
+ id
44896
+ }) {
44897
+ return this.httpRequest.request({
44898
+ method: "DELETE",
44899
+ url: "/api/venue-types/{id}",
44900
+ path: {
44901
+ id
44902
+ },
44903
+ errors: {
44904
+ 400: `Bad Request`,
44905
+ 422: `Unprocessable Content`,
44906
+ 500: `Internal Server Error`
44907
+ }
44908
+ });
44909
+ }
44910
+ /**
44911
+ * Gets the resource by its Id.
44912
+ * @returns VenueType OK
44913
+ * @throws ApiError
44914
+ */
44915
+ getObject({
44916
+ id
44917
+ }) {
44918
+ return this.httpRequest.request({
44919
+ method: "GET",
44920
+ url: "/api/venue-types/{id}",
44921
+ path: {
44922
+ id
44923
+ },
44924
+ errors: {
44925
+ 400: `Bad Request`,
44926
+ 422: `Unprocessable Content`,
44927
+ 500: `Internal Server Error`
44928
+ }
44929
+ });
44930
+ }
44931
+ /**
44932
+ * Returns a value indicating whether the resource is deletable.
44933
+ * @returns boolean OK
44934
+ * @throws ApiError
44935
+ */
44936
+ canDelete({
44937
+ id
44938
+ }) {
44939
+ return this.httpRequest.request({
44940
+ method: "GET",
44941
+ url: "/api/venue-types/{id}/deletable",
44942
+ path: {
44943
+ id
44944
+ },
44945
+ errors: {
44946
+ 400: `Bad Request`,
44947
+ 422: `Unprocessable Content`,
44948
+ 500: `Internal Server Error`
44949
+ }
44950
+ });
44951
+ }
44952
+ /**
44953
+ * Returns a value indicating whether the resource exists in the database given the provided search params.
44954
+ * @returns boolean OK
44955
+ * @throws ApiError
44956
+ */
44957
+ exists({
44958
+ pageNumber,
44959
+ take,
44960
+ skip,
44961
+ limitListRequests,
44962
+ tenantId,
44963
+ modifiedById,
44964
+ modifiedByIds,
44965
+ dateCreatedGte,
44966
+ dateCreatedLte,
44967
+ isLive,
44968
+ sortOrderDirection
44969
+ }) {
44970
+ return this.httpRequest.request({
44971
+ method: "GET",
44972
+ url: "/api/venue-types/exists",
44973
+ query: {
44974
+ PageNumber: pageNumber,
44975
+ Take: take,
44976
+ Skip: skip,
44977
+ LimitListRequests: limitListRequests,
44978
+ TenantId: tenantId,
44979
+ ModifiedById: modifiedById,
44980
+ ModifiedByIds: modifiedByIds,
44981
+ DateCreatedGTE: dateCreatedGte,
44982
+ DateCreatedLTE: dateCreatedLte,
44983
+ IsLive: isLive,
44984
+ SortOrderDirection: sortOrderDirection
44985
+ },
44986
+ errors: {
44987
+ 400: `Bad Request`,
44988
+ 422: `Unprocessable Content`,
44989
+ 500: `Internal Server Error`
44990
+ }
44991
+ });
44992
+ }
44993
+ /**
44994
+ * Returns the number of results in the database given the provided search params.
44995
+ * @returns number OK
44996
+ * @throws ApiError
44997
+ */
44998
+ count({
44999
+ pageNumber,
45000
+ take,
45001
+ skip,
45002
+ limitListRequests,
45003
+ tenantId,
45004
+ modifiedById,
45005
+ modifiedByIds,
45006
+ dateCreatedGte,
45007
+ dateCreatedLte,
45008
+ isLive,
45009
+ sortOrderDirection
45010
+ }) {
45011
+ return this.httpRequest.request({
45012
+ method: "GET",
45013
+ url: "/api/venue-types/count",
45014
+ query: {
45015
+ PageNumber: pageNumber,
45016
+ Take: take,
45017
+ Skip: skip,
45018
+ LimitListRequests: limitListRequests,
45019
+ TenantId: tenantId,
45020
+ ModifiedById: modifiedById,
45021
+ ModifiedByIds: modifiedByIds,
45022
+ DateCreatedGTE: dateCreatedGte,
45023
+ DateCreatedLTE: dateCreatedLte,
45024
+ IsLive: isLive,
45025
+ SortOrderDirection: sortOrderDirection
45026
+ },
45027
+ errors: {
45028
+ 400: `Bad Request`,
45029
+ 422: `Unprocessable Content`,
45030
+ 500: `Internal Server Error`
45031
+ }
45032
+ });
45033
+ }
45034
+ /**
45035
+ * Gets a list of resources unpaged and without references.
45036
+ * @returns VenueType OK
45037
+ * @throws ApiError
45038
+ */
45039
+ getListWithoutReferences({
45040
+ pageNumber,
45041
+ take,
45042
+ skip,
45043
+ limitListRequests,
45044
+ tenantId,
45045
+ modifiedById,
45046
+ modifiedByIds,
45047
+ dateCreatedGte,
45048
+ dateCreatedLte,
45049
+ isLive,
45050
+ sortOrderDirection
45051
+ }) {
45052
+ return this.httpRequest.request({
45053
+ method: "GET",
45054
+ url: "/api/venue-types/without-references",
45055
+ query: {
45056
+ PageNumber: pageNumber,
45057
+ Take: take,
45058
+ Skip: skip,
45059
+ LimitListRequests: limitListRequests,
45060
+ TenantId: tenantId,
45061
+ ModifiedById: modifiedById,
45062
+ ModifiedByIds: modifiedByIds,
45063
+ DateCreatedGTE: dateCreatedGte,
45064
+ DateCreatedLTE: dateCreatedLte,
45065
+ IsLive: isLive,
45066
+ SortOrderDirection: sortOrderDirection
45067
+ },
45068
+ errors: {
45069
+ 400: `Bad Request`,
45070
+ 422: `Unprocessable Content`,
45071
+ 500: `Internal Server Error`
45072
+ }
45073
+ });
45074
+ }
45075
+ /**
45076
+ * Gets a list of resources.
45077
+ * @returns VenueType OK
45078
+ * @throws ApiError
45079
+ */
45080
+ getListIdName({
45081
+ pageNumber,
45082
+ take,
45083
+ skip,
45084
+ limitListRequests,
45085
+ tenantId,
45086
+ modifiedById,
45087
+ modifiedByIds,
45088
+ dateCreatedGte,
45089
+ dateCreatedLte,
45090
+ isLive,
45091
+ sortOrderDirection
45092
+ }) {
45093
+ return this.httpRequest.request({
45094
+ method: "GET",
45095
+ url: "/api/venue-types/id-name",
45096
+ query: {
45097
+ PageNumber: pageNumber,
45098
+ Take: take,
45099
+ Skip: skip,
45100
+ LimitListRequests: limitListRequests,
45101
+ TenantId: tenantId,
45102
+ ModifiedById: modifiedById,
45103
+ ModifiedByIds: modifiedByIds,
45104
+ DateCreatedGTE: dateCreatedGte,
45105
+ DateCreatedLTE: dateCreatedLte,
45106
+ IsLive: isLive,
45107
+ SortOrderDirection: sortOrderDirection
45108
+ },
45109
+ errors: {
45110
+ 400: `Bad Request`,
45111
+ 422: `Unprocessable Content`,
45112
+ 500: `Internal Server Error`
45113
+ }
45114
+ });
45115
+ }
45116
+ }class WaitlistActivityService {
45117
+ constructor(httpRequest) {
45118
+ this.httpRequest = httpRequest;
45119
+ }
45120
+ /**
45121
+ * Inserts a new resource. The Id will be automatically generated and will be ignored if provided.
45122
+ * @returns WaitlistActivity OK
45123
+ * @throws ApiError
45124
+ */
45125
+ post({
45126
+ requestBody
45127
+ }) {
45128
+ return this.httpRequest.request({
45129
+ method: "POST",
45130
+ url: "/api/waitlist-activity/v2-temporary-route",
45131
+ body: requestBody,
45132
+ mediaType: "application/json",
45133
+ errors: {
45134
+ 400: `Bad Request`,
45135
+ 422: `Unprocessable Content`,
45136
+ 500: `Internal Server Error`
45137
+ }
45138
+ });
45139
+ }
45140
+ /**
45141
+ * Patches the resource.
45142
+ * @returns WaitlistActivity OK
45143
+ * @throws ApiError
45144
+ */
45145
+ patch({
45146
+ requestBody
45147
+ }) {
45148
+ return this.httpRequest.request({
45149
+ method: "PATCH",
45150
+ url: "/api/waitlist-activity/v2-temporary-route",
45151
+ body: requestBody,
45152
+ mediaType: "application/json",
45153
+ errors: {
45154
+ 400: `Bad Request`,
45155
+ 422: `Unprocessable Content`,
45156
+ 500: `Internal Server Error`
45157
+ }
45158
+ });
45159
+ }
45160
+ /**
45161
+ * Inserts a list of resources.
45162
+ * @returns WaitlistActivity OK
45163
+ * @throws ApiError
45164
+ */
45165
+ postList({
45166
+ requestBody
45167
+ }) {
45168
+ return this.httpRequest.request({
45169
+ method: "POST",
45170
+ url: "/api/waitlist-activity/v2-temporary-route/list",
45171
+ body: requestBody,
45172
+ mediaType: "application/json",
45173
+ errors: {
45174
+ 400: `Bad Request`,
45175
+ 422: `Unprocessable Content`,
45176
+ 500: `Internal Server Error`
45177
+ }
45178
+ });
45179
+ }
45180
+ /**
45181
+ * Patches the resource.
45182
+ * @returns WaitlistActivity OK
45183
+ * @throws ApiError
45184
+ */
45185
+ patchWithReferences({
45186
+ requestBody
45187
+ }) {
45188
+ return this.httpRequest.request({
45189
+ method: "PATCH",
45190
+ url: "/api/waitlist-activity/v2-temporary-route/with-references",
45191
+ body: requestBody,
45192
+ mediaType: "application/json",
45193
+ errors: {
45194
+ 400: `Bad Request`,
45195
+ 422: `Unprocessable Content`,
45196
+ 500: `Internal Server Error`
45197
+ }
45198
+ });
45199
+ }
45200
+ /**
45201
+ * Deletes the resource.
45202
+ * @returns any OK
45203
+ * @throws ApiError
45204
+ */
45205
+ deleteByObject({
45206
+ requestBody
45207
+ }) {
45208
+ return this.httpRequest.request({
45209
+ method: "DELETE",
45210
+ url: "/api/waitlist-activity",
45211
+ body: requestBody,
45212
+ mediaType: "application/json",
45213
+ errors: {
45214
+ 400: `Bad Request`,
45215
+ 422: `Unprocessable Content`,
45216
+ 500: `Internal Server Error`
45217
+ }
45218
+ });
45219
+ }
45220
+ /**
45221
+ * Gets a list of resources.
45222
+ * @returns WaitlistActivityPage OK
45223
+ * @throws ApiError
45224
+ */
45225
+ getPage({
45226
+ userId,
45227
+ sessionId,
45228
+ sessionIds,
45229
+ courseId,
45230
+ courseIds,
45231
+ email,
45232
+ pageNumber,
45233
+ take,
45234
+ skip,
45235
+ limitListRequests,
45236
+ tenantId,
45237
+ modifiedById,
45238
+ modifiedByIds,
45239
+ dateCreatedGte,
45240
+ dateCreatedLte,
45241
+ isLive,
45242
+ sortOrderDirection
45243
+ }) {
45244
+ return this.httpRequest.request({
45245
+ method: "GET",
45246
+ url: "/api/waitlist-activity",
45247
+ query: {
45248
+ UserId: userId,
45249
+ SessionId: sessionId,
45250
+ SessionIds: sessionIds,
45251
+ CourseId: courseId,
45252
+ CourseIds: courseIds,
45253
+ Email: email,
45254
+ PageNumber: pageNumber,
45255
+ Take: take,
45256
+ Skip: skip,
45257
+ LimitListRequests: limitListRequests,
45258
+ TenantId: tenantId,
45259
+ ModifiedById: modifiedById,
45260
+ ModifiedByIds: modifiedByIds,
45261
+ DateCreatedGTE: dateCreatedGte,
45262
+ DateCreatedLTE: dateCreatedLte,
45263
+ IsLive: isLive,
45264
+ SortOrderDirection: sortOrderDirection
45265
+ },
45266
+ errors: {
45267
+ 400: `Bad Request`,
45268
+ 422: `Unprocessable Content`,
45269
+ 500: `Internal Server Error`
45270
+ }
45271
+ });
45272
+ }
45273
+ /**
45274
+ * Deletes the resource.
45275
+ * @returns any OK
45276
+ * @throws ApiError
45277
+ */
45278
+ deleteById({
45279
+ id
45280
+ }) {
45281
+ return this.httpRequest.request({
45282
+ method: "DELETE",
45283
+ url: "/api/waitlist-activity/{id}",
45284
+ path: {
45285
+ id
45286
+ },
45287
+ errors: {
45288
+ 400: `Bad Request`,
45289
+ 422: `Unprocessable Content`,
45290
+ 500: `Internal Server Error`
45291
+ }
45292
+ });
45293
+ }
45294
+ /**
45295
+ * Gets the resource by its Id.
45296
+ * @returns WaitlistActivity OK
45297
+ * @throws ApiError
45298
+ */
45299
+ getObject({
45300
+ id
45301
+ }) {
45302
+ return this.httpRequest.request({
45303
+ method: "GET",
45304
+ url: "/api/waitlist-activity/{id}",
45305
+ path: {
45306
+ id
45307
+ },
45308
+ errors: {
45309
+ 400: `Bad Request`,
45310
+ 422: `Unprocessable Content`,
45311
+ 500: `Internal Server Error`
45312
+ }
45313
+ });
45314
+ }
45315
+ /**
45316
+ * Returns a value indicating whether the resource is deletable.
45317
+ * @returns boolean OK
45318
+ * @throws ApiError
45319
+ */
45320
+ canDelete({
45321
+ id
45322
+ }) {
45323
+ return this.httpRequest.request({
45324
+ method: "GET",
45325
+ url: "/api/waitlist-activity/{id}/deletable",
45326
+ path: {
45327
+ id
45328
+ },
45329
+ errors: {
45330
+ 400: `Bad Request`,
45331
+ 422: `Unprocessable Content`,
45332
+ 500: `Internal Server Error`
45333
+ }
45334
+ });
45335
+ }
45336
+ /**
45337
+ * Returns a value indicating whether the resource exists in the database given the provided search params.
45338
+ * @returns boolean OK
45339
+ * @throws ApiError
45340
+ */
45341
+ exists({
45342
+ userId,
45343
+ sessionId,
45344
+ sessionIds,
45345
+ courseId,
45346
+ courseIds,
45347
+ email,
45348
+ pageNumber,
45349
+ take,
45350
+ skip,
45351
+ limitListRequests,
45352
+ tenantId,
45353
+ modifiedById,
45354
+ modifiedByIds,
45355
+ dateCreatedGte,
45356
+ dateCreatedLte,
45357
+ isLive,
45358
+ sortOrderDirection
45359
+ }) {
45360
+ return this.httpRequest.request({
45361
+ method: "GET",
45362
+ url: "/api/waitlist-activity/exists",
45363
+ query: {
45364
+ UserId: userId,
45365
+ SessionId: sessionId,
45366
+ SessionIds: sessionIds,
45367
+ CourseId: courseId,
45368
+ CourseIds: courseIds,
45369
+ Email: email,
45370
+ PageNumber: pageNumber,
45371
+ Take: take,
45372
+ Skip: skip,
45373
+ LimitListRequests: limitListRequests,
45374
+ TenantId: tenantId,
45375
+ ModifiedById: modifiedById,
45376
+ ModifiedByIds: modifiedByIds,
45377
+ DateCreatedGTE: dateCreatedGte,
45378
+ DateCreatedLTE: dateCreatedLte,
45379
+ IsLive: isLive,
45380
+ SortOrderDirection: sortOrderDirection
45381
+ },
45382
+ errors: {
45383
+ 400: `Bad Request`,
45384
+ 422: `Unprocessable Content`,
45385
+ 500: `Internal Server Error`
45386
+ }
45387
+ });
45388
+ }
45389
+ /**
45390
+ * Returns the number of results in the database given the provided search params.
45391
+ * @returns number OK
45392
+ * @throws ApiError
45393
+ */
45394
+ count({
45395
+ userId,
45396
+ sessionId,
45397
+ sessionIds,
45398
+ courseId,
45399
+ courseIds,
45400
+ email,
45401
+ pageNumber,
45402
+ take,
45403
+ skip,
45404
+ limitListRequests,
45405
+ tenantId,
45406
+ modifiedById,
45407
+ modifiedByIds,
45408
+ dateCreatedGte,
45409
+ dateCreatedLte,
45410
+ isLive,
45411
+ sortOrderDirection
45412
+ }) {
45413
+ return this.httpRequest.request({
45414
+ method: "GET",
45415
+ url: "/api/waitlist-activity/count",
45416
+ query: {
45417
+ UserId: userId,
45418
+ SessionId: sessionId,
45419
+ SessionIds: sessionIds,
45420
+ CourseId: courseId,
45421
+ CourseIds: courseIds,
45422
+ Email: email,
45423
+ PageNumber: pageNumber,
45424
+ Take: take,
45425
+ Skip: skip,
45426
+ LimitListRequests: limitListRequests,
45427
+ TenantId: tenantId,
45428
+ ModifiedById: modifiedById,
45429
+ ModifiedByIds: modifiedByIds,
45430
+ DateCreatedGTE: dateCreatedGte,
45431
+ DateCreatedLTE: dateCreatedLte,
45432
+ IsLive: isLive,
45433
+ SortOrderDirection: sortOrderDirection
45434
+ },
45435
+ errors: {
45436
+ 400: `Bad Request`,
45437
+ 422: `Unprocessable Content`,
45438
+ 500: `Internal Server Error`
45439
+ }
45440
+ });
45441
+ }
45442
+ /**
45443
+ * Gets a list of resources unpaged and without references.
45444
+ * @returns WaitlistActivity OK
45445
+ * @throws ApiError
45446
+ */
45447
+ getListWithoutReferences({
45448
+ userId,
45449
+ sessionId,
45450
+ sessionIds,
45451
+ courseId,
45452
+ courseIds,
45453
+ email,
45454
+ pageNumber,
45455
+ take,
45456
+ skip,
45457
+ limitListRequests,
45458
+ tenantId,
45459
+ modifiedById,
45460
+ modifiedByIds,
45461
+ dateCreatedGte,
45462
+ dateCreatedLte,
45463
+ isLive,
45464
+ sortOrderDirection
45465
+ }) {
45466
+ return this.httpRequest.request({
45467
+ method: "GET",
45468
+ url: "/api/waitlist-activity/without-references",
45469
+ query: {
45470
+ UserId: userId,
45471
+ SessionId: sessionId,
45472
+ SessionIds: sessionIds,
45473
+ CourseId: courseId,
45474
+ CourseIds: courseIds,
45475
+ Email: email,
45476
+ PageNumber: pageNumber,
45477
+ Take: take,
45478
+ Skip: skip,
45479
+ LimitListRequests: limitListRequests,
45480
+ TenantId: tenantId,
45481
+ ModifiedById: modifiedById,
45482
+ ModifiedByIds: modifiedByIds,
45483
+ DateCreatedGTE: dateCreatedGte,
45484
+ DateCreatedLTE: dateCreatedLte,
45485
+ IsLive: isLive,
45486
+ SortOrderDirection: sortOrderDirection
45487
+ },
45488
+ errors: {
45489
+ 400: `Bad Request`,
45490
+ 422: `Unprocessable Content`,
45491
+ 500: `Internal Server Error`
45492
+ }
45493
+ });
45494
+ }
45495
+ /**
45496
+ * Gets a list of resources.
45497
+ * @returns WaitlistActivity OK
44690
45498
  * @throws ApiError
44691
45499
  */
44692
45500
  getListIdName({
44693
- venueId,
45501
+ userId,
45502
+ sessionId,
45503
+ sessionIds,
45504
+ courseId,
45505
+ courseIds,
45506
+ email,
44694
45507
  pageNumber,
44695
45508
  take,
44696
45509
  skip,
@@ -44705,9 +45518,14 @@ const request = (config, options, axiosClient = axios) => {
44705
45518
  }) {
44706
45519
  return this.httpRequest.request({
44707
45520
  method: "GET",
44708
- url: "/api/venues-report/id-name",
45521
+ url: "/api/waitlist-activity/id-name",
44709
45522
  query: {
44710
- VenueId: venueId,
45523
+ UserId: userId,
45524
+ SessionId: sessionId,
45525
+ SessionIds: sessionIds,
45526
+ CourseId: courseId,
45527
+ CourseIds: courseIds,
45528
+ Email: email,
44711
45529
  PageNumber: pageNumber,
44712
45530
  Take: take,
44713
45531
  Skip: skip,
@@ -44727,13 +45545,70 @@ const request = (config, options, axiosClient = axios) => {
44727
45545
  }
44728
45546
  });
44729
45547
  }
44730
- }class VenueTypeService {
45548
+ }class WaitlistActivityReportService {
44731
45549
  constructor(httpRequest) {
44732
45550
  this.httpRequest = httpRequest;
44733
45551
  }
45552
+ /**
45553
+ * Exports the venues list to a csv format.
45554
+ * Endpoint has AllowAnonymous attr, however the jwt is validated in the method body (in support of authenticated file downloads.
45555
+ * @returns any OK
45556
+ * @throws ApiError
45557
+ */
45558
+ exportToCsv({
45559
+ userId,
45560
+ sessionId,
45561
+ sessionIds,
45562
+ courseId,
45563
+ courseIds,
45564
+ email,
45565
+ pageNumber,
45566
+ take,
45567
+ skip,
45568
+ limitListRequests,
45569
+ tenantId,
45570
+ modifiedById,
45571
+ modifiedByIds,
45572
+ dateCreatedGte,
45573
+ dateCreatedLte,
45574
+ isLive,
45575
+ sortOrderDirection,
45576
+ formData
45577
+ }) {
45578
+ return this.httpRequest.request({
45579
+ method: "POST",
45580
+ url: "/api/waitlist-activity-report/export/csv",
45581
+ query: {
45582
+ UserId: userId,
45583
+ SessionId: sessionId,
45584
+ SessionIds: sessionIds,
45585
+ CourseId: courseId,
45586
+ CourseIds: courseIds,
45587
+ Email: email,
45588
+ PageNumber: pageNumber,
45589
+ Take: take,
45590
+ Skip: skip,
45591
+ LimitListRequests: limitListRequests,
45592
+ TenantId: tenantId,
45593
+ ModifiedById: modifiedById,
45594
+ ModifiedByIds: modifiedByIds,
45595
+ DateCreatedGTE: dateCreatedGte,
45596
+ DateCreatedLTE: dateCreatedLte,
45597
+ IsLive: isLive,
45598
+ SortOrderDirection: sortOrderDirection
45599
+ },
45600
+ formData,
45601
+ mediaType: "multipart/form-data",
45602
+ errors: {
45603
+ 400: `Bad Request`,
45604
+ 422: `Unprocessable Content`,
45605
+ 500: `Internal Server Error`
45606
+ }
45607
+ });
45608
+ }
44734
45609
  /**
44735
45610
  * Inserts a new resource. The Id will be automatically generated and will be ignored if provided.
44736
- * @returns VenueType OK
45611
+ * @returns WaitlistActivityReport OK
44737
45612
  * @throws ApiError
44738
45613
  */
44739
45614
  post({
@@ -44741,7 +45616,7 @@ const request = (config, options, axiosClient = axios) => {
44741
45616
  }) {
44742
45617
  return this.httpRequest.request({
44743
45618
  method: "POST",
44744
- url: "/api/venue-types/v2-temporary-route",
45619
+ url: "/api/waitlist-activity-report/v2-temporary-route",
44745
45620
  body: requestBody,
44746
45621
  mediaType: "application/json",
44747
45622
  errors: {
@@ -44753,7 +45628,7 @@ const request = (config, options, axiosClient = axios) => {
44753
45628
  }
44754
45629
  /**
44755
45630
  * Patches the resource.
44756
- * @returns VenueType OK
45631
+ * @returns WaitlistActivityReport OK
44757
45632
  * @throws ApiError
44758
45633
  */
44759
45634
  patch({
@@ -44761,7 +45636,7 @@ const request = (config, options, axiosClient = axios) => {
44761
45636
  }) {
44762
45637
  return this.httpRequest.request({
44763
45638
  method: "PATCH",
44764
- url: "/api/venue-types/v2-temporary-route",
45639
+ url: "/api/waitlist-activity-report/v2-temporary-route",
44765
45640
  body: requestBody,
44766
45641
  mediaType: "application/json",
44767
45642
  errors: {
@@ -44773,7 +45648,7 @@ const request = (config, options, axiosClient = axios) => {
44773
45648
  }
44774
45649
  /**
44775
45650
  * Inserts a list of resources.
44776
- * @returns VenueType OK
45651
+ * @returns WaitlistActivityReport OK
44777
45652
  * @throws ApiError
44778
45653
  */
44779
45654
  postList({
@@ -44781,7 +45656,7 @@ const request = (config, options, axiosClient = axios) => {
44781
45656
  }) {
44782
45657
  return this.httpRequest.request({
44783
45658
  method: "POST",
44784
- url: "/api/venue-types/v2-temporary-route/list",
45659
+ url: "/api/waitlist-activity-report/v2-temporary-route/list",
44785
45660
  body: requestBody,
44786
45661
  mediaType: "application/json",
44787
45662
  errors: {
@@ -44793,7 +45668,7 @@ const request = (config, options, axiosClient = axios) => {
44793
45668
  }
44794
45669
  /**
44795
45670
  * Patches the resource.
44796
- * @returns VenueType OK
45671
+ * @returns WaitlistActivityReport OK
44797
45672
  * @throws ApiError
44798
45673
  */
44799
45674
  patchWithReferences({
@@ -44801,7 +45676,7 @@ const request = (config, options, axiosClient = axios) => {
44801
45676
  }) {
44802
45677
  return this.httpRequest.request({
44803
45678
  method: "PATCH",
44804
- url: "/api/venue-types/v2-temporary-route/with-references",
45679
+ url: "/api/waitlist-activity-report/v2-temporary-route/with-references",
44805
45680
  body: requestBody,
44806
45681
  mediaType: "application/json",
44807
45682
  errors: {
@@ -44821,7 +45696,7 @@ const request = (config, options, axiosClient = axios) => {
44821
45696
  }) {
44822
45697
  return this.httpRequest.request({
44823
45698
  method: "DELETE",
44824
- url: "/api/venue-types",
45699
+ url: "/api/waitlist-activity-report",
44825
45700
  body: requestBody,
44826
45701
  mediaType: "application/json",
44827
45702
  errors: {
@@ -44833,10 +45708,16 @@ const request = (config, options, axiosClient = axios) => {
44833
45708
  }
44834
45709
  /**
44835
45710
  * Gets a list of resources.
44836
- * @returns VenueTypePage OK
45711
+ * @returns WaitlistActivityReportPage OK
44837
45712
  * @throws ApiError
44838
45713
  */
44839
45714
  getPage({
45715
+ userId,
45716
+ sessionId,
45717
+ sessionIds,
45718
+ courseId,
45719
+ courseIds,
45720
+ email,
44840
45721
  pageNumber,
44841
45722
  take,
44842
45723
  skip,
@@ -44851,8 +45732,14 @@ const request = (config, options, axiosClient = axios) => {
44851
45732
  }) {
44852
45733
  return this.httpRequest.request({
44853
45734
  method: "GET",
44854
- url: "/api/venue-types",
45735
+ url: "/api/waitlist-activity-report",
44855
45736
  query: {
45737
+ UserId: userId,
45738
+ SessionId: sessionId,
45739
+ SessionIds: sessionIds,
45740
+ CourseId: courseId,
45741
+ CourseIds: courseIds,
45742
+ Email: email,
44856
45743
  PageNumber: pageNumber,
44857
45744
  Take: take,
44858
45745
  Skip: skip,
@@ -44882,7 +45769,7 @@ const request = (config, options, axiosClient = axios) => {
44882
45769
  }) {
44883
45770
  return this.httpRequest.request({
44884
45771
  method: "DELETE",
44885
- url: "/api/venue-types/{id}",
45772
+ url: "/api/waitlist-activity-report/{id}",
44886
45773
  path: {
44887
45774
  id
44888
45775
  },
@@ -44895,7 +45782,7 @@ const request = (config, options, axiosClient = axios) => {
44895
45782
  }
44896
45783
  /**
44897
45784
  * Gets the resource by its Id.
44898
- * @returns VenueType OK
45785
+ * @returns WaitlistActivityReport OK
44899
45786
  * @throws ApiError
44900
45787
  */
44901
45788
  getObject({
@@ -44903,7 +45790,7 @@ const request = (config, options, axiosClient = axios) => {
44903
45790
  }) {
44904
45791
  return this.httpRequest.request({
44905
45792
  method: "GET",
44906
- url: "/api/venue-types/{id}",
45793
+ url: "/api/waitlist-activity-report/{id}",
44907
45794
  path: {
44908
45795
  id
44909
45796
  },
@@ -44924,7 +45811,7 @@ const request = (config, options, axiosClient = axios) => {
44924
45811
  }) {
44925
45812
  return this.httpRequest.request({
44926
45813
  method: "GET",
44927
- url: "/api/venue-types/{id}/deletable",
45814
+ url: "/api/waitlist-activity-report/{id}/deletable",
44928
45815
  path: {
44929
45816
  id
44930
45817
  },
@@ -44941,6 +45828,12 @@ const request = (config, options, axiosClient = axios) => {
44941
45828
  * @throws ApiError
44942
45829
  */
44943
45830
  exists({
45831
+ userId,
45832
+ sessionId,
45833
+ sessionIds,
45834
+ courseId,
45835
+ courseIds,
45836
+ email,
44944
45837
  pageNumber,
44945
45838
  take,
44946
45839
  skip,
@@ -44955,8 +45848,14 @@ const request = (config, options, axiosClient = axios) => {
44955
45848
  }) {
44956
45849
  return this.httpRequest.request({
44957
45850
  method: "GET",
44958
- url: "/api/venue-types/exists",
45851
+ url: "/api/waitlist-activity-report/exists",
44959
45852
  query: {
45853
+ UserId: userId,
45854
+ SessionId: sessionId,
45855
+ SessionIds: sessionIds,
45856
+ CourseId: courseId,
45857
+ CourseIds: courseIds,
45858
+ Email: email,
44960
45859
  PageNumber: pageNumber,
44961
45860
  Take: take,
44962
45861
  Skip: skip,
@@ -44982,6 +45881,12 @@ const request = (config, options, axiosClient = axios) => {
44982
45881
  * @throws ApiError
44983
45882
  */
44984
45883
  count({
45884
+ userId,
45885
+ sessionId,
45886
+ sessionIds,
45887
+ courseId,
45888
+ courseIds,
45889
+ email,
44985
45890
  pageNumber,
44986
45891
  take,
44987
45892
  skip,
@@ -44996,8 +45901,14 @@ const request = (config, options, axiosClient = axios) => {
44996
45901
  }) {
44997
45902
  return this.httpRequest.request({
44998
45903
  method: "GET",
44999
- url: "/api/venue-types/count",
45904
+ url: "/api/waitlist-activity-report/count",
45000
45905
  query: {
45906
+ UserId: userId,
45907
+ SessionId: sessionId,
45908
+ SessionIds: sessionIds,
45909
+ CourseId: courseId,
45910
+ CourseIds: courseIds,
45911
+ Email: email,
45001
45912
  PageNumber: pageNumber,
45002
45913
  Take: take,
45003
45914
  Skip: skip,
@@ -45019,10 +45930,16 @@ const request = (config, options, axiosClient = axios) => {
45019
45930
  }
45020
45931
  /**
45021
45932
  * Gets a list of resources unpaged and without references.
45022
- * @returns VenueType OK
45933
+ * @returns WaitlistActivityReport OK
45023
45934
  * @throws ApiError
45024
45935
  */
45025
45936
  getListWithoutReferences({
45937
+ userId,
45938
+ sessionId,
45939
+ sessionIds,
45940
+ courseId,
45941
+ courseIds,
45942
+ email,
45026
45943
  pageNumber,
45027
45944
  take,
45028
45945
  skip,
@@ -45037,8 +45954,14 @@ const request = (config, options, axiosClient = axios) => {
45037
45954
  }) {
45038
45955
  return this.httpRequest.request({
45039
45956
  method: "GET",
45040
- url: "/api/venue-types/without-references",
45957
+ url: "/api/waitlist-activity-report/without-references",
45041
45958
  query: {
45959
+ UserId: userId,
45960
+ SessionId: sessionId,
45961
+ SessionIds: sessionIds,
45962
+ CourseId: courseId,
45963
+ CourseIds: courseIds,
45964
+ Email: email,
45042
45965
  PageNumber: pageNumber,
45043
45966
  Take: take,
45044
45967
  Skip: skip,
@@ -45060,10 +45983,16 @@ const request = (config, options, axiosClient = axios) => {
45060
45983
  }
45061
45984
  /**
45062
45985
  * Gets a list of resources.
45063
- * @returns VenueType OK
45986
+ * @returns WaitlistActivityReport OK
45064
45987
  * @throws ApiError
45065
45988
  */
45066
45989
  getListIdName({
45990
+ userId,
45991
+ sessionId,
45992
+ sessionIds,
45993
+ courseId,
45994
+ courseIds,
45995
+ email,
45067
45996
  pageNumber,
45068
45997
  take,
45069
45998
  skip,
@@ -45078,8 +46007,14 @@ const request = (config, options, axiosClient = axios) => {
45078
46007
  }) {
45079
46008
  return this.httpRequest.request({
45080
46009
  method: "GET",
45081
- url: "/api/venue-types/id-name",
46010
+ url: "/api/waitlist-activity-report/id-name",
45082
46011
  query: {
46012
+ UserId: userId,
46013
+ SessionId: sessionId,
46014
+ SessionIds: sessionIds,
46015
+ CourseId: courseId,
46016
+ CourseIds: courseIds,
46017
+ Email: email,
45083
46018
  PageNumber: pageNumber,
45084
46019
  Take: take,
45085
46020
  Skip: skip,
@@ -45099,13 +46034,13 @@ const request = (config, options, axiosClient = axios) => {
45099
46034
  }
45100
46035
  });
45101
46036
  }
45102
- }class WaitlistActivityService {
46037
+ }class WaitlistOpportunityService {
45103
46038
  constructor(httpRequest) {
45104
46039
  this.httpRequest = httpRequest;
45105
46040
  }
45106
46041
  /**
45107
46042
  * Inserts a new resource. The Id will be automatically generated and will be ignored if provided.
45108
- * @returns WaitlistActivity OK
46043
+ * @returns WaitlistOpportunity OK
45109
46044
  * @throws ApiError
45110
46045
  */
45111
46046
  post({
@@ -45113,7 +46048,7 @@ const request = (config, options, axiosClient = axios) => {
45113
46048
  }) {
45114
46049
  return this.httpRequest.request({
45115
46050
  method: "POST",
45116
- url: "/api/waitlist-activity/v2-temporary-route",
46051
+ url: "/api/waitlist-opportunity/v2-temporary-route",
45117
46052
  body: requestBody,
45118
46053
  mediaType: "application/json",
45119
46054
  errors: {
@@ -45125,7 +46060,7 @@ const request = (config, options, axiosClient = axios) => {
45125
46060
  }
45126
46061
  /**
45127
46062
  * Patches the resource.
45128
- * @returns WaitlistActivity OK
46063
+ * @returns WaitlistOpportunity OK
45129
46064
  * @throws ApiError
45130
46065
  */
45131
46066
  patch({
@@ -45133,7 +46068,7 @@ const request = (config, options, axiosClient = axios) => {
45133
46068
  }) {
45134
46069
  return this.httpRequest.request({
45135
46070
  method: "PATCH",
45136
- url: "/api/waitlist-activity/v2-temporary-route",
46071
+ url: "/api/waitlist-opportunity/v2-temporary-route",
45137
46072
  body: requestBody,
45138
46073
  mediaType: "application/json",
45139
46074
  errors: {
@@ -45145,7 +46080,7 @@ const request = (config, options, axiosClient = axios) => {
45145
46080
  }
45146
46081
  /**
45147
46082
  * Inserts a list of resources.
45148
- * @returns WaitlistActivity OK
46083
+ * @returns WaitlistOpportunity OK
45149
46084
  * @throws ApiError
45150
46085
  */
45151
46086
  postList({
@@ -45153,7 +46088,7 @@ const request = (config, options, axiosClient = axios) => {
45153
46088
  }) {
45154
46089
  return this.httpRequest.request({
45155
46090
  method: "POST",
45156
- url: "/api/waitlist-activity/v2-temporary-route/list",
46091
+ url: "/api/waitlist-opportunity/v2-temporary-route/list",
45157
46092
  body: requestBody,
45158
46093
  mediaType: "application/json",
45159
46094
  errors: {
@@ -45165,7 +46100,7 @@ const request = (config, options, axiosClient = axios) => {
45165
46100
  }
45166
46101
  /**
45167
46102
  * Patches the resource.
45168
- * @returns WaitlistActivity OK
46103
+ * @returns WaitlistOpportunity OK
45169
46104
  * @throws ApiError
45170
46105
  */
45171
46106
  patchWithReferences({
@@ -45173,7 +46108,7 @@ const request = (config, options, axiosClient = axios) => {
45173
46108
  }) {
45174
46109
  return this.httpRequest.request({
45175
46110
  method: "PATCH",
45176
- url: "/api/waitlist-activity/v2-temporary-route/with-references",
46111
+ url: "/api/waitlist-opportunity/v2-temporary-route/with-references",
45177
46112
  body: requestBody,
45178
46113
  mediaType: "application/json",
45179
46114
  errors: {
@@ -45193,7 +46128,7 @@ const request = (config, options, axiosClient = axios) => {
45193
46128
  }) {
45194
46129
  return this.httpRequest.request({
45195
46130
  method: "DELETE",
45196
- url: "/api/waitlist-activity",
46131
+ url: "/api/waitlist-opportunity",
45197
46132
  body: requestBody,
45198
46133
  mediaType: "application/json",
45199
46134
  errors: {
@@ -45205,16 +46140,17 @@ const request = (config, options, axiosClient = axios) => {
45205
46140
  }
45206
46141
  /**
45207
46142
  * Gets a list of resources.
45208
- * @returns WaitlistActivityPage OK
46143
+ * @returns WaitlistOpportunityPage OK
45209
46144
  * @throws ApiError
45210
46145
  */
45211
46146
  getPage({
45212
46147
  userId,
45213
- sessionId,
45214
- sessionIds,
46148
+ slotId,
46149
+ scheduledSessionId,
45215
46150
  courseId,
45216
- courseIds,
45217
46151
  email,
46152
+ futureOnly,
46153
+ converted,
45218
46154
  pageNumber,
45219
46155
  take,
45220
46156
  skip,
@@ -45229,14 +46165,15 @@ const request = (config, options, axiosClient = axios) => {
45229
46165
  }) {
45230
46166
  return this.httpRequest.request({
45231
46167
  method: "GET",
45232
- url: "/api/waitlist-activity",
46168
+ url: "/api/waitlist-opportunity",
45233
46169
  query: {
45234
46170
  UserId: userId,
45235
- SessionId: sessionId,
45236
- SessionIds: sessionIds,
46171
+ SlotId: slotId,
46172
+ ScheduledSessionId: scheduledSessionId,
45237
46173
  CourseId: courseId,
45238
- CourseIds: courseIds,
45239
46174
  Email: email,
46175
+ FutureOnly: futureOnly,
46176
+ Converted: converted,
45240
46177
  PageNumber: pageNumber,
45241
46178
  Take: take,
45242
46179
  Skip: skip,
@@ -45266,7 +46203,7 @@ const request = (config, options, axiosClient = axios) => {
45266
46203
  }) {
45267
46204
  return this.httpRequest.request({
45268
46205
  method: "DELETE",
45269
- url: "/api/waitlist-activity/{id}",
46206
+ url: "/api/waitlist-opportunity/{id}",
45270
46207
  path: {
45271
46208
  id
45272
46209
  },
@@ -45279,7 +46216,7 @@ const request = (config, options, axiosClient = axios) => {
45279
46216
  }
45280
46217
  /**
45281
46218
  * Gets the resource by its Id.
45282
- * @returns WaitlistActivity OK
46219
+ * @returns WaitlistOpportunity OK
45283
46220
  * @throws ApiError
45284
46221
  */
45285
46222
  getObject({
@@ -45287,7 +46224,7 @@ const request = (config, options, axiosClient = axios) => {
45287
46224
  }) {
45288
46225
  return this.httpRequest.request({
45289
46226
  method: "GET",
45290
- url: "/api/waitlist-activity/{id}",
46227
+ url: "/api/waitlist-opportunity/{id}",
45291
46228
  path: {
45292
46229
  id
45293
46230
  },
@@ -45308,7 +46245,7 @@ const request = (config, options, axiosClient = axios) => {
45308
46245
  }) {
45309
46246
  return this.httpRequest.request({
45310
46247
  method: "GET",
45311
- url: "/api/waitlist-activity/{id}/deletable",
46248
+ url: "/api/waitlist-opportunity/{id}/deletable",
45312
46249
  path: {
45313
46250
  id
45314
46251
  },
@@ -45326,11 +46263,12 @@ const request = (config, options, axiosClient = axios) => {
45326
46263
  */
45327
46264
  exists({
45328
46265
  userId,
45329
- sessionId,
45330
- sessionIds,
46266
+ slotId,
46267
+ scheduledSessionId,
45331
46268
  courseId,
45332
- courseIds,
45333
46269
  email,
46270
+ futureOnly,
46271
+ converted,
45334
46272
  pageNumber,
45335
46273
  take,
45336
46274
  skip,
@@ -45345,14 +46283,15 @@ const request = (config, options, axiosClient = axios) => {
45345
46283
  }) {
45346
46284
  return this.httpRequest.request({
45347
46285
  method: "GET",
45348
- url: "/api/waitlist-activity/exists",
46286
+ url: "/api/waitlist-opportunity/exists",
45349
46287
  query: {
45350
46288
  UserId: userId,
45351
- SessionId: sessionId,
45352
- SessionIds: sessionIds,
46289
+ SlotId: slotId,
46290
+ ScheduledSessionId: scheduledSessionId,
45353
46291
  CourseId: courseId,
45354
- CourseIds: courseIds,
45355
46292
  Email: email,
46293
+ FutureOnly: futureOnly,
46294
+ Converted: converted,
45356
46295
  PageNumber: pageNumber,
45357
46296
  Take: take,
45358
46297
  Skip: skip,
@@ -45379,11 +46318,12 @@ const request = (config, options, axiosClient = axios) => {
45379
46318
  */
45380
46319
  count({
45381
46320
  userId,
45382
- sessionId,
45383
- sessionIds,
46321
+ slotId,
46322
+ scheduledSessionId,
45384
46323
  courseId,
45385
- courseIds,
45386
46324
  email,
46325
+ futureOnly,
46326
+ converted,
45387
46327
  pageNumber,
45388
46328
  take,
45389
46329
  skip,
@@ -45398,14 +46338,15 @@ const request = (config, options, axiosClient = axios) => {
45398
46338
  }) {
45399
46339
  return this.httpRequest.request({
45400
46340
  method: "GET",
45401
- url: "/api/waitlist-activity/count",
46341
+ url: "/api/waitlist-opportunity/count",
45402
46342
  query: {
45403
46343
  UserId: userId,
45404
- SessionId: sessionId,
45405
- SessionIds: sessionIds,
46344
+ SlotId: slotId,
46345
+ ScheduledSessionId: scheduledSessionId,
45406
46346
  CourseId: courseId,
45407
- CourseIds: courseIds,
45408
46347
  Email: email,
46348
+ FutureOnly: futureOnly,
46349
+ Converted: converted,
45409
46350
  PageNumber: pageNumber,
45410
46351
  Take: take,
45411
46352
  Skip: skip,
@@ -45427,16 +46368,17 @@ const request = (config, options, axiosClient = axios) => {
45427
46368
  }
45428
46369
  /**
45429
46370
  * Gets a list of resources unpaged and without references.
45430
- * @returns WaitlistActivity OK
46371
+ * @returns WaitlistOpportunity OK
45431
46372
  * @throws ApiError
45432
46373
  */
45433
46374
  getListWithoutReferences({
45434
46375
  userId,
45435
- sessionId,
45436
- sessionIds,
46376
+ slotId,
46377
+ scheduledSessionId,
45437
46378
  courseId,
45438
- courseIds,
45439
46379
  email,
46380
+ futureOnly,
46381
+ converted,
45440
46382
  pageNumber,
45441
46383
  take,
45442
46384
  skip,
@@ -45451,14 +46393,15 @@ const request = (config, options, axiosClient = axios) => {
45451
46393
  }) {
45452
46394
  return this.httpRequest.request({
45453
46395
  method: "GET",
45454
- url: "/api/waitlist-activity/without-references",
46396
+ url: "/api/waitlist-opportunity/without-references",
45455
46397
  query: {
45456
46398
  UserId: userId,
45457
- SessionId: sessionId,
45458
- SessionIds: sessionIds,
46399
+ SlotId: slotId,
46400
+ ScheduledSessionId: scheduledSessionId,
45459
46401
  CourseId: courseId,
45460
- CourseIds: courseIds,
45461
46402
  Email: email,
46403
+ FutureOnly: futureOnly,
46404
+ Converted: converted,
45462
46405
  PageNumber: pageNumber,
45463
46406
  Take: take,
45464
46407
  Skip: skip,
@@ -45480,16 +46423,17 @@ const request = (config, options, axiosClient = axios) => {
45480
46423
  }
45481
46424
  /**
45482
46425
  * Gets a list of resources.
45483
- * @returns WaitlistActivity OK
46426
+ * @returns WaitlistOpportunity OK
45484
46427
  * @throws ApiError
45485
46428
  */
45486
46429
  getListIdName({
45487
46430
  userId,
45488
- sessionId,
45489
- sessionIds,
46431
+ slotId,
46432
+ scheduledSessionId,
45490
46433
  courseId,
45491
- courseIds,
45492
46434
  email,
46435
+ futureOnly,
46436
+ converted,
45493
46437
  pageNumber,
45494
46438
  take,
45495
46439
  skip,
@@ -45504,14 +46448,15 @@ const request = (config, options, axiosClient = axios) => {
45504
46448
  }) {
45505
46449
  return this.httpRequest.request({
45506
46450
  method: "GET",
45507
- url: "/api/waitlist-activity/id-name",
46451
+ url: "/api/waitlist-opportunity/id-name",
45508
46452
  query: {
45509
46453
  UserId: userId,
45510
- SessionId: sessionId,
45511
- SessionIds: sessionIds,
46454
+ SlotId: slotId,
46455
+ ScheduledSessionId: scheduledSessionId,
45512
46456
  CourseId: courseId,
45513
- CourseIds: courseIds,
45514
46457
  Email: email,
46458
+ FutureOnly: futureOnly,
46459
+ Converted: converted,
45515
46460
  PageNumber: pageNumber,
45516
46461
  Take: take,
45517
46462
  Skip: skip,
@@ -45531,7 +46476,7 @@ const request = (config, options, axiosClient = axios) => {
45531
46476
  }
45532
46477
  });
45533
46478
  }
45534
- }class WaitlistActivityReportService {
46479
+ }class WaitlistOpportunityReportService {
45535
46480
  constructor(httpRequest) {
45536
46481
  this.httpRequest = httpRequest;
45537
46482
  }
@@ -45543,11 +46488,12 @@ const request = (config, options, axiosClient = axios) => {
45543
46488
  */
45544
46489
  exportToCsv({
45545
46490
  userId,
45546
- sessionId,
45547
- sessionIds,
46491
+ slotId,
46492
+ scheduledSessionId,
45548
46493
  courseId,
45549
- courseIds,
45550
46494
  email,
46495
+ futureOnly,
46496
+ converted,
45551
46497
  pageNumber,
45552
46498
  take,
45553
46499
  skip,
@@ -45563,14 +46509,15 @@ const request = (config, options, axiosClient = axios) => {
45563
46509
  }) {
45564
46510
  return this.httpRequest.request({
45565
46511
  method: "POST",
45566
- url: "/api/waitlist-activity-report/export/csv",
46512
+ url: "/api/waitlist-opportunity-report/export/csv",
45567
46513
  query: {
45568
46514
  UserId: userId,
45569
- SessionId: sessionId,
45570
- SessionIds: sessionIds,
46515
+ SlotId: slotId,
46516
+ ScheduledSessionId: scheduledSessionId,
45571
46517
  CourseId: courseId,
45572
- CourseIds: courseIds,
45573
46518
  Email: email,
46519
+ FutureOnly: futureOnly,
46520
+ Converted: converted,
45574
46521
  PageNumber: pageNumber,
45575
46522
  Take: take,
45576
46523
  Skip: skip,
@@ -45592,9 +46539,25 @@ const request = (config, options, axiosClient = axios) => {
45592
46539
  }
45593
46540
  });
45594
46541
  }
46542
+ /**
46543
+ * Gets waitlist conversion statistics.
46544
+ * @returns WaitlistConversionStatsResponseDto OK
46545
+ * @throws ApiError
46546
+ */
46547
+ getConversionStats() {
46548
+ return this.httpRequest.request({
46549
+ method: "GET",
46550
+ url: "/api/waitlist-opportunity-report/conversion-stats",
46551
+ errors: {
46552
+ 400: `Bad Request`,
46553
+ 422: `Unprocessable Content`,
46554
+ 500: `Internal Server Error`
46555
+ }
46556
+ });
46557
+ }
45595
46558
  /**
45596
46559
  * Inserts a new resource. The Id will be automatically generated and will be ignored if provided.
45597
- * @returns WaitlistActivityReport OK
46560
+ * @returns WaitlistOpportunityReport OK
45598
46561
  * @throws ApiError
45599
46562
  */
45600
46563
  post({
@@ -45602,7 +46565,7 @@ const request = (config, options, axiosClient = axios) => {
45602
46565
  }) {
45603
46566
  return this.httpRequest.request({
45604
46567
  method: "POST",
45605
- url: "/api/waitlist-activity-report/v2-temporary-route",
46568
+ url: "/api/waitlist-opportunity-report/v2-temporary-route",
45606
46569
  body: requestBody,
45607
46570
  mediaType: "application/json",
45608
46571
  errors: {
@@ -45614,7 +46577,7 @@ const request = (config, options, axiosClient = axios) => {
45614
46577
  }
45615
46578
  /**
45616
46579
  * Patches the resource.
45617
- * @returns WaitlistActivityReport OK
46580
+ * @returns WaitlistOpportunityReport OK
45618
46581
  * @throws ApiError
45619
46582
  */
45620
46583
  patch({
@@ -45622,7 +46585,7 @@ const request = (config, options, axiosClient = axios) => {
45622
46585
  }) {
45623
46586
  return this.httpRequest.request({
45624
46587
  method: "PATCH",
45625
- url: "/api/waitlist-activity-report/v2-temporary-route",
46588
+ url: "/api/waitlist-opportunity-report/v2-temporary-route",
45626
46589
  body: requestBody,
45627
46590
  mediaType: "application/json",
45628
46591
  errors: {
@@ -45634,7 +46597,7 @@ const request = (config, options, axiosClient = axios) => {
45634
46597
  }
45635
46598
  /**
45636
46599
  * Inserts a list of resources.
45637
- * @returns WaitlistActivityReport OK
46600
+ * @returns WaitlistOpportunityReport OK
45638
46601
  * @throws ApiError
45639
46602
  */
45640
46603
  postList({
@@ -45642,7 +46605,7 @@ const request = (config, options, axiosClient = axios) => {
45642
46605
  }) {
45643
46606
  return this.httpRequest.request({
45644
46607
  method: "POST",
45645
- url: "/api/waitlist-activity-report/v2-temporary-route/list",
46608
+ url: "/api/waitlist-opportunity-report/v2-temporary-route/list",
45646
46609
  body: requestBody,
45647
46610
  mediaType: "application/json",
45648
46611
  errors: {
@@ -45654,7 +46617,7 @@ const request = (config, options, axiosClient = axios) => {
45654
46617
  }
45655
46618
  /**
45656
46619
  * Patches the resource.
45657
- * @returns WaitlistActivityReport OK
46620
+ * @returns WaitlistOpportunityReport OK
45658
46621
  * @throws ApiError
45659
46622
  */
45660
46623
  patchWithReferences({
@@ -45662,7 +46625,7 @@ const request = (config, options, axiosClient = axios) => {
45662
46625
  }) {
45663
46626
  return this.httpRequest.request({
45664
46627
  method: "PATCH",
45665
- url: "/api/waitlist-activity-report/v2-temporary-route/with-references",
46628
+ url: "/api/waitlist-opportunity-report/v2-temporary-route/with-references",
45666
46629
  body: requestBody,
45667
46630
  mediaType: "application/json",
45668
46631
  errors: {
@@ -45682,7 +46645,7 @@ const request = (config, options, axiosClient = axios) => {
45682
46645
  }) {
45683
46646
  return this.httpRequest.request({
45684
46647
  method: "DELETE",
45685
- url: "/api/waitlist-activity-report",
46648
+ url: "/api/waitlist-opportunity-report",
45686
46649
  body: requestBody,
45687
46650
  mediaType: "application/json",
45688
46651
  errors: {
@@ -45694,16 +46657,17 @@ const request = (config, options, axiosClient = axios) => {
45694
46657
  }
45695
46658
  /**
45696
46659
  * Gets a list of resources.
45697
- * @returns WaitlistActivityReportPage OK
46660
+ * @returns WaitlistOpportunityReportPage OK
45698
46661
  * @throws ApiError
45699
46662
  */
45700
46663
  getPage({
45701
46664
  userId,
45702
- sessionId,
45703
- sessionIds,
46665
+ slotId,
46666
+ scheduledSessionId,
45704
46667
  courseId,
45705
- courseIds,
45706
46668
  email,
46669
+ futureOnly,
46670
+ converted,
45707
46671
  pageNumber,
45708
46672
  take,
45709
46673
  skip,
@@ -45718,14 +46682,15 @@ const request = (config, options, axiosClient = axios) => {
45718
46682
  }) {
45719
46683
  return this.httpRequest.request({
45720
46684
  method: "GET",
45721
- url: "/api/waitlist-activity-report",
46685
+ url: "/api/waitlist-opportunity-report",
45722
46686
  query: {
45723
46687
  UserId: userId,
45724
- SessionId: sessionId,
45725
- SessionIds: sessionIds,
46688
+ SlotId: slotId,
46689
+ ScheduledSessionId: scheduledSessionId,
45726
46690
  CourseId: courseId,
45727
- CourseIds: courseIds,
45728
46691
  Email: email,
46692
+ FutureOnly: futureOnly,
46693
+ Converted: converted,
45729
46694
  PageNumber: pageNumber,
45730
46695
  Take: take,
45731
46696
  Skip: skip,
@@ -45755,7 +46720,7 @@ const request = (config, options, axiosClient = axios) => {
45755
46720
  }) {
45756
46721
  return this.httpRequest.request({
45757
46722
  method: "DELETE",
45758
- url: "/api/waitlist-activity-report/{id}",
46723
+ url: "/api/waitlist-opportunity-report/{id}",
45759
46724
  path: {
45760
46725
  id
45761
46726
  },
@@ -45768,7 +46733,7 @@ const request = (config, options, axiosClient = axios) => {
45768
46733
  }
45769
46734
  /**
45770
46735
  * Gets the resource by its Id.
45771
- * @returns WaitlistActivityReport OK
46736
+ * @returns WaitlistOpportunityReport OK
45772
46737
  * @throws ApiError
45773
46738
  */
45774
46739
  getObject({
@@ -45776,7 +46741,7 @@ const request = (config, options, axiosClient = axios) => {
45776
46741
  }) {
45777
46742
  return this.httpRequest.request({
45778
46743
  method: "GET",
45779
- url: "/api/waitlist-activity-report/{id}",
46744
+ url: "/api/waitlist-opportunity-report/{id}",
45780
46745
  path: {
45781
46746
  id
45782
46747
  },
@@ -45797,7 +46762,7 @@ const request = (config, options, axiosClient = axios) => {
45797
46762
  }) {
45798
46763
  return this.httpRequest.request({
45799
46764
  method: "GET",
45800
- url: "/api/waitlist-activity-report/{id}/deletable",
46765
+ url: "/api/waitlist-opportunity-report/{id}/deletable",
45801
46766
  path: {
45802
46767
  id
45803
46768
  },
@@ -45815,11 +46780,12 @@ const request = (config, options, axiosClient = axios) => {
45815
46780
  */
45816
46781
  exists({
45817
46782
  userId,
45818
- sessionId,
45819
- sessionIds,
46783
+ slotId,
46784
+ scheduledSessionId,
45820
46785
  courseId,
45821
- courseIds,
45822
46786
  email,
46787
+ futureOnly,
46788
+ converted,
45823
46789
  pageNumber,
45824
46790
  take,
45825
46791
  skip,
@@ -45834,14 +46800,15 @@ const request = (config, options, axiosClient = axios) => {
45834
46800
  }) {
45835
46801
  return this.httpRequest.request({
45836
46802
  method: "GET",
45837
- url: "/api/waitlist-activity-report/exists",
46803
+ url: "/api/waitlist-opportunity-report/exists",
45838
46804
  query: {
45839
46805
  UserId: userId,
45840
- SessionId: sessionId,
45841
- SessionIds: sessionIds,
46806
+ SlotId: slotId,
46807
+ ScheduledSessionId: scheduledSessionId,
45842
46808
  CourseId: courseId,
45843
- CourseIds: courseIds,
45844
46809
  Email: email,
46810
+ FutureOnly: futureOnly,
46811
+ Converted: converted,
45845
46812
  PageNumber: pageNumber,
45846
46813
  Take: take,
45847
46814
  Skip: skip,
@@ -45868,11 +46835,12 @@ const request = (config, options, axiosClient = axios) => {
45868
46835
  */
45869
46836
  count({
45870
46837
  userId,
45871
- sessionId,
45872
- sessionIds,
46838
+ slotId,
46839
+ scheduledSessionId,
45873
46840
  courseId,
45874
- courseIds,
45875
46841
  email,
46842
+ futureOnly,
46843
+ converted,
45876
46844
  pageNumber,
45877
46845
  take,
45878
46846
  skip,
@@ -45887,14 +46855,15 @@ const request = (config, options, axiosClient = axios) => {
45887
46855
  }) {
45888
46856
  return this.httpRequest.request({
45889
46857
  method: "GET",
45890
- url: "/api/waitlist-activity-report/count",
46858
+ url: "/api/waitlist-opportunity-report/count",
45891
46859
  query: {
45892
46860
  UserId: userId,
45893
- SessionId: sessionId,
45894
- SessionIds: sessionIds,
46861
+ SlotId: slotId,
46862
+ ScheduledSessionId: scheduledSessionId,
45895
46863
  CourseId: courseId,
45896
- CourseIds: courseIds,
45897
46864
  Email: email,
46865
+ FutureOnly: futureOnly,
46866
+ Converted: converted,
45898
46867
  PageNumber: pageNumber,
45899
46868
  Take: take,
45900
46869
  Skip: skip,
@@ -45916,16 +46885,17 @@ const request = (config, options, axiosClient = axios) => {
45916
46885
  }
45917
46886
  /**
45918
46887
  * Gets a list of resources unpaged and without references.
45919
- * @returns WaitlistActivityReport OK
46888
+ * @returns WaitlistOpportunityReport OK
45920
46889
  * @throws ApiError
45921
46890
  */
45922
46891
  getListWithoutReferences({
45923
46892
  userId,
45924
- sessionId,
45925
- sessionIds,
46893
+ slotId,
46894
+ scheduledSessionId,
45926
46895
  courseId,
45927
- courseIds,
45928
46896
  email,
46897
+ futureOnly,
46898
+ converted,
45929
46899
  pageNumber,
45930
46900
  take,
45931
46901
  skip,
@@ -45940,14 +46910,15 @@ const request = (config, options, axiosClient = axios) => {
45940
46910
  }) {
45941
46911
  return this.httpRequest.request({
45942
46912
  method: "GET",
45943
- url: "/api/waitlist-activity-report/without-references",
46913
+ url: "/api/waitlist-opportunity-report/without-references",
45944
46914
  query: {
45945
46915
  UserId: userId,
45946
- SessionId: sessionId,
45947
- SessionIds: sessionIds,
46916
+ SlotId: slotId,
46917
+ ScheduledSessionId: scheduledSessionId,
45948
46918
  CourseId: courseId,
45949
- CourseIds: courseIds,
45950
46919
  Email: email,
46920
+ FutureOnly: futureOnly,
46921
+ Converted: converted,
45951
46922
  PageNumber: pageNumber,
45952
46923
  Take: take,
45953
46924
  Skip: skip,
@@ -45969,16 +46940,17 @@ const request = (config, options, axiosClient = axios) => {
45969
46940
  }
45970
46941
  /**
45971
46942
  * Gets a list of resources.
45972
- * @returns WaitlistActivityReport OK
46943
+ * @returns WaitlistOpportunityReport OK
45973
46944
  * @throws ApiError
45974
46945
  */
45975
46946
  getListIdName({
45976
46947
  userId,
45977
- sessionId,
45978
- sessionIds,
46948
+ slotId,
46949
+ scheduledSessionId,
45979
46950
  courseId,
45980
- courseIds,
45981
46951
  email,
46952
+ futureOnly,
46953
+ converted,
45982
46954
  pageNumber,
45983
46955
  take,
45984
46956
  skip,
@@ -45993,14 +46965,15 @@ const request = (config, options, axiosClient = axios) => {
45993
46965
  }) {
45994
46966
  return this.httpRequest.request({
45995
46967
  method: "GET",
45996
- url: "/api/waitlist-activity-report/id-name",
46968
+ url: "/api/waitlist-opportunity-report/id-name",
45997
46969
  query: {
45998
46970
  UserId: userId,
45999
- SessionId: sessionId,
46000
- SessionIds: sessionIds,
46971
+ SlotId: slotId,
46972
+ ScheduledSessionId: scheduledSessionId,
46001
46973
  CourseId: courseId,
46002
- CourseIds: courseIds,
46003
46974
  Email: email,
46975
+ FutureOnly: futureOnly,
46976
+ Converted: converted,
46004
46977
  PageNumber: pageNumber,
46005
46978
  Take: take,
46006
46979
  Skip: skip,
@@ -46020,13 +46993,145 @@ const request = (config, options, axiosClient = axios) => {
46020
46993
  }
46021
46994
  });
46022
46995
  }
46023
- }class WaitlistOpportunityService {
46996
+ }class WalletsService {
46024
46997
  constructor(httpRequest) {
46025
46998
  this.httpRequest = httpRequest;
46026
46999
  }
47000
+ /**
47001
+ * Gets a wallet by customer id. Creates the wallet if it doesn't exist.
47002
+ * @returns Wallet OK
47003
+ * @throws ApiError
47004
+ */
47005
+ getByCustomer({
47006
+ customerId
47007
+ }) {
47008
+ return this.httpRequest.request({
47009
+ method: "GET",
47010
+ url: "/api/wallets/by-customer/{customerId}",
47011
+ path: {
47012
+ customerId
47013
+ },
47014
+ errors: {
47015
+ 400: `Bad Request`,
47016
+ 422: `Unprocessable Content`,
47017
+ 500: `Internal Server Error`
47018
+ }
47019
+ });
47020
+ }
47021
+ /**
47022
+ * Gets a wallet by attendee id. Creates the wallet if it doesn't exist.
47023
+ * @returns Wallet OK
47024
+ * @throws ApiError
47025
+ */
47026
+ getByAttendee({
47027
+ attendeeId
47028
+ }) {
47029
+ return this.httpRequest.request({
47030
+ method: "GET",
47031
+ url: "/api/wallets/by-attendee/{attendeeId}",
47032
+ path: {
47033
+ attendeeId
47034
+ },
47035
+ errors: {
47036
+ 400: `Bad Request`,
47037
+ 422: `Unprocessable Content`,
47038
+ 500: `Internal Server Error`
47039
+ }
47040
+ });
47041
+ }
47042
+ /**
47043
+ * Gets the transaction history for a wallet.
47044
+ * @returns WalletTransaction OK
47045
+ * @throws ApiError
47046
+ */
47047
+ getTransactions({
47048
+ id
47049
+ }) {
47050
+ return this.httpRequest.request({
47051
+ method: "GET",
47052
+ url: "/api/wallets/{id}/transactions",
47053
+ path: {
47054
+ id
47055
+ },
47056
+ errors: {
47057
+ 400: `Bad Request`,
47058
+ 422: `Unprocessable Content`,
47059
+ 500: `Internal Server Error`
47060
+ }
47061
+ });
47062
+ }
47063
+ /**
47064
+ * Tops up a wallet with the specified amount. Requires admin role.
47065
+ * @returns Wallet OK
47066
+ * @throws ApiError
47067
+ */
47068
+ topUp({
47069
+ id,
47070
+ requestBody
47071
+ }) {
47072
+ return this.httpRequest.request({
47073
+ method: "POST",
47074
+ url: "/api/wallets/{id}/topup",
47075
+ path: {
47076
+ id
47077
+ },
47078
+ body: requestBody,
47079
+ mediaType: "application/json",
47080
+ errors: {
47081
+ 400: `Bad Request`,
47082
+ 422: `Unprocessable Content`,
47083
+ 500: `Internal Server Error`
47084
+ }
47085
+ });
47086
+ }
47087
+ /**
47088
+ * Removes credits from a wallet with the specified amount. Requires admin role.
47089
+ * @returns Wallet OK
47090
+ * @throws ApiError
47091
+ */
47092
+ removeCredit({
47093
+ id,
47094
+ requestBody
47095
+ }) {
47096
+ return this.httpRequest.request({
47097
+ method: "POST",
47098
+ url: "/api/wallets/{id}/remove-credit",
47099
+ path: {
47100
+ id
47101
+ },
47102
+ body: requestBody,
47103
+ mediaType: "application/json",
47104
+ errors: {
47105
+ 400: `Bad Request`,
47106
+ 422: `Unprocessable Content`,
47107
+ 500: `Internal Server Error`
47108
+ }
47109
+ });
47110
+ }
47111
+ /**
47112
+ * Gets the current balance of a wallet.
47113
+ * @returns number OK
47114
+ * @throws ApiError
47115
+ */
47116
+ getBalance({
47117
+ id
47118
+ }) {
47119
+ return this.httpRequest.request({
47120
+ method: "GET",
47121
+ url: "/api/wallets/{id}/balance",
47122
+ path: {
47123
+ id
47124
+ },
47125
+ errors: {
47126
+ 400: `Bad Request`,
47127
+ 422: `Unprocessable Content`,
47128
+ 500: `Internal Server Error`
47129
+ }
47130
+ });
47131
+ }
46027
47132
  /**
46028
47133
  * Inserts a new resource. The Id will be automatically generated and will be ignored if provided.
46029
- * @returns WaitlistOpportunity OK
47134
+ * @returns Wallet OK
46030
47135
  * @throws ApiError
46031
47136
  */
46032
47137
  post({
@@ -46034,7 +47139,7 @@ const request = (config, options, axiosClient = axios) => {
46034
47139
  }) {
46035
47140
  return this.httpRequest.request({
46036
47141
  method: "POST",
46037
- url: "/api/waitlist-opportunity/v2-temporary-route",
47142
+ url: "/api/wallets/v2-temporary-route",
46038
47143
  body: requestBody,
46039
47144
  mediaType: "application/json",
46040
47145
  errors: {
@@ -46046,7 +47151,7 @@ const request = (config, options, axiosClient = axios) => {
46046
47151
  }
46047
47152
  /**
46048
47153
  * Patches the resource.
46049
- * @returns WaitlistOpportunity OK
47154
+ * @returns Wallet OK
46050
47155
  * @throws ApiError
46051
47156
  */
46052
47157
  patch({
@@ -46054,7 +47159,7 @@ const request = (config, options, axiosClient = axios) => {
46054
47159
  }) {
46055
47160
  return this.httpRequest.request({
46056
47161
  method: "PATCH",
46057
- url: "/api/waitlist-opportunity/v2-temporary-route",
47162
+ url: "/api/wallets/v2-temporary-route",
46058
47163
  body: requestBody,
46059
47164
  mediaType: "application/json",
46060
47165
  errors: {
@@ -46066,7 +47171,7 @@ const request = (config, options, axiosClient = axios) => {
46066
47171
  }
46067
47172
  /**
46068
47173
  * Inserts a list of resources.
46069
- * @returns WaitlistOpportunity OK
47174
+ * @returns Wallet OK
46070
47175
  * @throws ApiError
46071
47176
  */
46072
47177
  postList({
@@ -46074,7 +47179,7 @@ const request = (config, options, axiosClient = axios) => {
46074
47179
  }) {
46075
47180
  return this.httpRequest.request({
46076
47181
  method: "POST",
46077
- url: "/api/waitlist-opportunity/v2-temporary-route/list",
47182
+ url: "/api/wallets/v2-temporary-route/list",
46078
47183
  body: requestBody,
46079
47184
  mediaType: "application/json",
46080
47185
  errors: {
@@ -46086,7 +47191,7 @@ const request = (config, options, axiosClient = axios) => {
46086
47191
  }
46087
47192
  /**
46088
47193
  * Patches the resource.
46089
- * @returns WaitlistOpportunity OK
47194
+ * @returns Wallet OK
46090
47195
  * @throws ApiError
46091
47196
  */
46092
47197
  patchWithReferences({
@@ -46094,7 +47199,7 @@ const request = (config, options, axiosClient = axios) => {
46094
47199
  }) {
46095
47200
  return this.httpRequest.request({
46096
47201
  method: "PATCH",
46097
- url: "/api/waitlist-opportunity/v2-temporary-route/with-references",
47202
+ url: "/api/wallets/v2-temporary-route/with-references",
46098
47203
  body: requestBody,
46099
47204
  mediaType: "application/json",
46100
47205
  errors: {
@@ -46114,7 +47219,7 @@ const request = (config, options, axiosClient = axios) => {
46114
47219
  }) {
46115
47220
  return this.httpRequest.request({
46116
47221
  method: "DELETE",
46117
- url: "/api/waitlist-opportunity",
47222
+ url: "/api/wallets",
46118
47223
  body: requestBody,
46119
47224
  mediaType: "application/json",
46120
47225
  errors: {
@@ -46126,17 +47231,12 @@ const request = (config, options, axiosClient = axios) => {
46126
47231
  }
46127
47232
  /**
46128
47233
  * Gets a list of resources.
46129
- * @returns WaitlistOpportunityPage OK
47234
+ * @returns WalletPage OK
46130
47235
  * @throws ApiError
46131
47236
  */
46132
47237
  getPage({
46133
- userId,
46134
- slotId,
46135
- scheduledSessionId,
46136
- courseId,
46137
- email,
46138
- futureOnly,
46139
- converted,
47238
+ customerId,
47239
+ attendeeId,
46140
47240
  pageNumber,
46141
47241
  take,
46142
47242
  skip,
@@ -46151,15 +47251,10 @@ const request = (config, options, axiosClient = axios) => {
46151
47251
  }) {
46152
47252
  return this.httpRequest.request({
46153
47253
  method: "GET",
46154
- url: "/api/waitlist-opportunity",
47254
+ url: "/api/wallets",
46155
47255
  query: {
46156
- UserId: userId,
46157
- SlotId: slotId,
46158
- ScheduledSessionId: scheduledSessionId,
46159
- CourseId: courseId,
46160
- Email: email,
46161
- FutureOnly: futureOnly,
46162
- Converted: converted,
47256
+ CustomerId: customerId,
47257
+ AttendeeId: attendeeId,
46163
47258
  PageNumber: pageNumber,
46164
47259
  Take: take,
46165
47260
  Skip: skip,
@@ -46189,7 +47284,7 @@ const request = (config, options, axiosClient = axios) => {
46189
47284
  }) {
46190
47285
  return this.httpRequest.request({
46191
47286
  method: "DELETE",
46192
- url: "/api/waitlist-opportunity/{id}",
47287
+ url: "/api/wallets/{id}",
46193
47288
  path: {
46194
47289
  id
46195
47290
  },
@@ -46202,7 +47297,7 @@ const request = (config, options, axiosClient = axios) => {
46202
47297
  }
46203
47298
  /**
46204
47299
  * Gets the resource by its Id.
46205
- * @returns WaitlistOpportunity OK
47300
+ * @returns Wallet OK
46206
47301
  * @throws ApiError
46207
47302
  */
46208
47303
  getObject({
@@ -46210,7 +47305,7 @@ const request = (config, options, axiosClient = axios) => {
46210
47305
  }) {
46211
47306
  return this.httpRequest.request({
46212
47307
  method: "GET",
46213
- url: "/api/waitlist-opportunity/{id}",
47308
+ url: "/api/wallets/{id}",
46214
47309
  path: {
46215
47310
  id
46216
47311
  },
@@ -46231,7 +47326,7 @@ const request = (config, options, axiosClient = axios) => {
46231
47326
  }) {
46232
47327
  return this.httpRequest.request({
46233
47328
  method: "GET",
46234
- url: "/api/waitlist-opportunity/{id}/deletable",
47329
+ url: "/api/wallets/{id}/deletable",
46235
47330
  path: {
46236
47331
  id
46237
47332
  },
@@ -46248,13 +47343,8 @@ const request = (config, options, axiosClient = axios) => {
46248
47343
  * @throws ApiError
46249
47344
  */
46250
47345
  exists({
46251
- userId,
46252
- slotId,
46253
- scheduledSessionId,
46254
- courseId,
46255
- email,
46256
- futureOnly,
46257
- converted,
47346
+ customerId,
47347
+ attendeeId,
46258
47348
  pageNumber,
46259
47349
  take,
46260
47350
  skip,
@@ -46269,15 +47359,10 @@ const request = (config, options, axiosClient = axios) => {
46269
47359
  }) {
46270
47360
  return this.httpRequest.request({
46271
47361
  method: "GET",
46272
- url: "/api/waitlist-opportunity/exists",
47362
+ url: "/api/wallets/exists",
46273
47363
  query: {
46274
- UserId: userId,
46275
- SlotId: slotId,
46276
- ScheduledSessionId: scheduledSessionId,
46277
- CourseId: courseId,
46278
- Email: email,
46279
- FutureOnly: futureOnly,
46280
- Converted: converted,
47364
+ CustomerId: customerId,
47365
+ AttendeeId: attendeeId,
46281
47366
  PageNumber: pageNumber,
46282
47367
  Take: take,
46283
47368
  Skip: skip,
@@ -46303,13 +47388,8 @@ const request = (config, options, axiosClient = axios) => {
46303
47388
  * @throws ApiError
46304
47389
  */
46305
47390
  count({
46306
- userId,
46307
- slotId,
46308
- scheduledSessionId,
46309
- courseId,
46310
- email,
46311
- futureOnly,
46312
- converted,
47391
+ customerId,
47392
+ attendeeId,
46313
47393
  pageNumber,
46314
47394
  take,
46315
47395
  skip,
@@ -46324,15 +47404,10 @@ const request = (config, options, axiosClient = axios) => {
46324
47404
  }) {
46325
47405
  return this.httpRequest.request({
46326
47406
  method: "GET",
46327
- url: "/api/waitlist-opportunity/count",
47407
+ url: "/api/wallets/count",
46328
47408
  query: {
46329
- UserId: userId,
46330
- SlotId: slotId,
46331
- ScheduledSessionId: scheduledSessionId,
46332
- CourseId: courseId,
46333
- Email: email,
46334
- FutureOnly: futureOnly,
46335
- Converted: converted,
47409
+ CustomerId: customerId,
47410
+ AttendeeId: attendeeId,
46336
47411
  PageNumber: pageNumber,
46337
47412
  Take: take,
46338
47413
  Skip: skip,
@@ -46354,17 +47429,12 @@ const request = (config, options, axiosClient = axios) => {
46354
47429
  }
46355
47430
  /**
46356
47431
  * Gets a list of resources unpaged and without references.
46357
- * @returns WaitlistOpportunity OK
47432
+ * @returns Wallet OK
46358
47433
  * @throws ApiError
46359
47434
  */
46360
47435
  getListWithoutReferences({
46361
- userId,
46362
- slotId,
46363
- scheduledSessionId,
46364
- courseId,
46365
- email,
46366
- futureOnly,
46367
- converted,
47436
+ customerId,
47437
+ attendeeId,
46368
47438
  pageNumber,
46369
47439
  take,
46370
47440
  skip,
@@ -46379,15 +47449,10 @@ const request = (config, options, axiosClient = axios) => {
46379
47449
  }) {
46380
47450
  return this.httpRequest.request({
46381
47451
  method: "GET",
46382
- url: "/api/waitlist-opportunity/without-references",
47452
+ url: "/api/wallets/without-references",
46383
47453
  query: {
46384
- UserId: userId,
46385
- SlotId: slotId,
46386
- ScheduledSessionId: scheduledSessionId,
46387
- CourseId: courseId,
46388
- Email: email,
46389
- FutureOnly: futureOnly,
46390
- Converted: converted,
47454
+ CustomerId: customerId,
47455
+ AttendeeId: attendeeId,
46391
47456
  PageNumber: pageNumber,
46392
47457
  Take: take,
46393
47458
  Skip: skip,
@@ -46409,17 +47474,12 @@ const request = (config, options, axiosClient = axios) => {
46409
47474
  }
46410
47475
  /**
46411
47476
  * Gets a list of resources.
46412
- * @returns WaitlistOpportunity OK
47477
+ * @returns Wallet OK
46413
47478
  * @throws ApiError
46414
47479
  */
46415
47480
  getListIdName({
46416
- userId,
46417
- slotId,
46418
- scheduledSessionId,
46419
- courseId,
46420
- email,
46421
- futureOnly,
46422
- converted,
47481
+ customerId,
47482
+ attendeeId,
46423
47483
  pageNumber,
46424
47484
  take,
46425
47485
  skip,
@@ -46434,15 +47494,10 @@ const request = (config, options, axiosClient = axios) => {
46434
47494
  }) {
46435
47495
  return this.httpRequest.request({
46436
47496
  method: "GET",
46437
- url: "/api/waitlist-opportunity/id-name",
47497
+ url: "/api/wallets/id-name",
46438
47498
  query: {
46439
- UserId: userId,
46440
- SlotId: slotId,
46441
- ScheduledSessionId: scheduledSessionId,
46442
- CourseId: courseId,
46443
- Email: email,
46444
- FutureOnly: futureOnly,
46445
- Converted: converted,
47499
+ CustomerId: customerId,
47500
+ AttendeeId: attendeeId,
46446
47501
  PageNumber: pageNumber,
46447
47502
  Take: take,
46448
47503
  Skip: skip,
@@ -46462,98 +47517,24 @@ const request = (config, options, axiosClient = axios) => {
46462
47517
  }
46463
47518
  });
46464
47519
  }
46465
- }class WaitlistOpportunityReportService {
47520
+ }class WalletTransactionsService {
46466
47521
  constructor(httpRequest) {
46467
47522
  this.httpRequest = httpRequest;
46468
47523
  }
46469
47524
  /**
46470
- * Exports the venues list to a csv format.
46471
- * Endpoint has AllowAnonymous attr, however the jwt is validated in the method body (in support of authenticated file downloads.
47525
+ * Gets wallet transactions by wallet id.
46472
47526
  * @returns any OK
46473
47527
  * @throws ApiError
46474
47528
  */
46475
- exportToCsv({
46476
- userId,
46477
- slotId,
46478
- scheduledSessionId,
46479
- courseId,
46480
- email,
46481
- futureOnly,
46482
- converted,
46483
- pageNumber,
46484
- take,
46485
- skip,
46486
- limitListRequests,
46487
- tenantId,
46488
- modifiedById,
46489
- modifiedByIds,
46490
- dateCreatedGte,
46491
- dateCreatedLte,
46492
- isLive,
46493
- sortOrderDirection,
46494
- formData
47529
+ getByWallet({
47530
+ walletId
46495
47531
  }) {
46496
- return this.httpRequest.request({
46497
- method: "POST",
46498
- url: "/api/waitlist-opportunity-report/export/csv",
46499
- query: {
46500
- UserId: userId,
46501
- SlotId: slotId,
46502
- ScheduledSessionId: scheduledSessionId,
46503
- CourseId: courseId,
46504
- Email: email,
46505
- FutureOnly: futureOnly,
46506
- Converted: converted,
46507
- PageNumber: pageNumber,
46508
- Take: take,
46509
- Skip: skip,
46510
- LimitListRequests: limitListRequests,
46511
- TenantId: tenantId,
46512
- ModifiedById: modifiedById,
46513
- ModifiedByIds: modifiedByIds,
46514
- DateCreatedGTE: dateCreatedGte,
46515
- DateCreatedLTE: dateCreatedLte,
46516
- IsLive: isLive,
46517
- SortOrderDirection: sortOrderDirection
46518
- },
46519
- formData,
46520
- mediaType: "multipart/form-data",
46521
- errors: {
46522
- 400: `Bad Request`,
46523
- 422: `Unprocessable Content`,
46524
- 500: `Internal Server Error`
46525
- }
46526
- });
46527
- }
46528
- /**
46529
- * Gets waitlist conversion statistics.
46530
- * @returns WaitlistConversionStatsResponseDto OK
46531
- * @throws ApiError
46532
- */
46533
- getConversionStats() {
46534
47532
  return this.httpRequest.request({
46535
47533
  method: "GET",
46536
- url: "/api/waitlist-opportunity-report/conversion-stats",
46537
- errors: {
46538
- 400: `Bad Request`,
46539
- 422: `Unprocessable Content`,
46540
- 500: `Internal Server Error`
46541
- }
46542
- });
46543
- }
46544
- /**
46545
- * Inserts a new resource. The Id will be automatically generated and will be ignored if provided.
46546
- * @returns WaitlistOpportunityReport OK
46547
- * @throws ApiError
46548
- */
46549
- post({
46550
- requestBody
46551
- }) {
46552
- return this.httpRequest.request({
46553
- method: "POST",
46554
- url: "/api/waitlist-opportunity-report/v2-temporary-route",
46555
- body: requestBody,
46556
- mediaType: "application/json",
47534
+ url: "/api/wallet-transactions/by-wallet/{walletId}",
47535
+ path: {
47536
+ walletId
47537
+ },
46557
47538
  errors: {
46558
47539
  400: `Bad Request`,
46559
47540
  422: `Unprocessable Content`,
@@ -46562,18 +47543,19 @@ const request = (config, options, axiosClient = axios) => {
46562
47543
  });
46563
47544
  }
46564
47545
  /**
46565
- * Patches the resource.
46566
- * @returns WaitlistOpportunityReport OK
47546
+ * Gets wallet transactions by order id.
47547
+ * @returns any OK
46567
47548
  * @throws ApiError
46568
47549
  */
46569
- patch({
46570
- requestBody
47550
+ getByOrder({
47551
+ orderId
46571
47552
  }) {
46572
47553
  return this.httpRequest.request({
46573
- method: "PATCH",
46574
- url: "/api/waitlist-opportunity-report/v2-temporary-route",
46575
- body: requestBody,
46576
- mediaType: "application/json",
47554
+ method: "GET",
47555
+ url: "/api/wallet-transactions/by-order/{orderId}",
47556
+ path: {
47557
+ orderId
47558
+ },
46577
47559
  errors: {
46578
47560
  400: `Bad Request`,
46579
47561
  422: `Unprocessable Content`,
@@ -46583,7 +47565,7 @@ const request = (config, options, axiosClient = axios) => {
46583
47565
  }
46584
47566
  /**
46585
47567
  * Inserts a list of resources.
46586
- * @returns WaitlistOpportunityReport OK
47568
+ * @returns WalletTransaction OK
46587
47569
  * @throws ApiError
46588
47570
  */
46589
47571
  postList({
@@ -46591,7 +47573,7 @@ const request = (config, options, axiosClient = axios) => {
46591
47573
  }) {
46592
47574
  return this.httpRequest.request({
46593
47575
  method: "POST",
46594
- url: "/api/waitlist-opportunity-report/v2-temporary-route/list",
47576
+ url: "/api/wallet-transactions/v2-temporary-route/list",
46595
47577
  body: requestBody,
46596
47578
  mediaType: "application/json",
46597
47579
  errors: {
@@ -46603,7 +47585,7 @@ const request = (config, options, axiosClient = axios) => {
46603
47585
  }
46604
47586
  /**
46605
47587
  * Patches the resource.
46606
- * @returns WaitlistOpportunityReport OK
47588
+ * @returns WalletTransaction OK
46607
47589
  * @throws ApiError
46608
47590
  */
46609
47591
  patchWithReferences({
@@ -46611,7 +47593,7 @@ const request = (config, options, axiosClient = axios) => {
46611
47593
  }) {
46612
47594
  return this.httpRequest.request({
46613
47595
  method: "PATCH",
46614
- url: "/api/waitlist-opportunity-report/v2-temporary-route/with-references",
47596
+ url: "/api/wallet-transactions/v2-temporary-route/with-references",
46615
47597
  body: requestBody,
46616
47598
  mediaType: "application/json",
46617
47599
  errors: {
@@ -46631,7 +47613,7 @@ const request = (config, options, axiosClient = axios) => {
46631
47613
  }) {
46632
47614
  return this.httpRequest.request({
46633
47615
  method: "DELETE",
46634
- url: "/api/waitlist-opportunity-report",
47616
+ url: "/api/wallet-transactions",
46635
47617
  body: requestBody,
46636
47618
  mediaType: "application/json",
46637
47619
  errors: {
@@ -46643,17 +47625,13 @@ const request = (config, options, axiosClient = axios) => {
46643
47625
  }
46644
47626
  /**
46645
47627
  * Gets a list of resources.
46646
- * @returns WaitlistOpportunityReportPage OK
47628
+ * @returns WalletTransactionPage OK
46647
47629
  * @throws ApiError
46648
47630
  */
46649
47631
  getPage({
46650
- userId,
46651
- slotId,
46652
- scheduledSessionId,
46653
- courseId,
46654
- email,
46655
- futureOnly,
46656
- converted,
47632
+ walletId,
47633
+ orderId,
47634
+ transactionType,
46657
47635
  pageNumber,
46658
47636
  take,
46659
47637
  skip,
@@ -46668,15 +47646,11 @@ const request = (config, options, axiosClient = axios) => {
46668
47646
  }) {
46669
47647
  return this.httpRequest.request({
46670
47648
  method: "GET",
46671
- url: "/api/waitlist-opportunity-report",
47649
+ url: "/api/wallet-transactions",
46672
47650
  query: {
46673
- UserId: userId,
46674
- SlotId: slotId,
46675
- ScheduledSessionId: scheduledSessionId,
46676
- CourseId: courseId,
46677
- Email: email,
46678
- FutureOnly: futureOnly,
46679
- Converted: converted,
47651
+ WalletId: walletId,
47652
+ OrderId: orderId,
47653
+ TransactionType: transactionType,
46680
47654
  PageNumber: pageNumber,
46681
47655
  Take: take,
46682
47656
  Skip: skip,
@@ -46706,7 +47680,7 @@ const request = (config, options, axiosClient = axios) => {
46706
47680
  }) {
46707
47681
  return this.httpRequest.request({
46708
47682
  method: "DELETE",
46709
- url: "/api/waitlist-opportunity-report/{id}",
47683
+ url: "/api/wallet-transactions/{id}",
46710
47684
  path: {
46711
47685
  id
46712
47686
  },
@@ -46719,7 +47693,7 @@ const request = (config, options, axiosClient = axios) => {
46719
47693
  }
46720
47694
  /**
46721
47695
  * Gets the resource by its Id.
46722
- * @returns WaitlistOpportunityReport OK
47696
+ * @returns WalletTransaction OK
46723
47697
  * @throws ApiError
46724
47698
  */
46725
47699
  getObject({
@@ -46727,7 +47701,7 @@ const request = (config, options, axiosClient = axios) => {
46727
47701
  }) {
46728
47702
  return this.httpRequest.request({
46729
47703
  method: "GET",
46730
- url: "/api/waitlist-opportunity-report/{id}",
47704
+ url: "/api/wallet-transactions/{id}",
46731
47705
  path: {
46732
47706
  id
46733
47707
  },
@@ -46748,7 +47722,7 @@ const request = (config, options, axiosClient = axios) => {
46748
47722
  }) {
46749
47723
  return this.httpRequest.request({
46750
47724
  method: "GET",
46751
- url: "/api/waitlist-opportunity-report/{id}/deletable",
47725
+ url: "/api/wallet-transactions/{id}/deletable",
46752
47726
  path: {
46753
47727
  id
46754
47728
  },
@@ -46765,13 +47739,9 @@ const request = (config, options, axiosClient = axios) => {
46765
47739
  * @throws ApiError
46766
47740
  */
46767
47741
  exists({
46768
- userId,
46769
- slotId,
46770
- scheduledSessionId,
46771
- courseId,
46772
- email,
46773
- futureOnly,
46774
- converted,
47742
+ walletId,
47743
+ orderId,
47744
+ transactionType,
46775
47745
  pageNumber,
46776
47746
  take,
46777
47747
  skip,
@@ -46786,15 +47756,11 @@ const request = (config, options, axiosClient = axios) => {
46786
47756
  }) {
46787
47757
  return this.httpRequest.request({
46788
47758
  method: "GET",
46789
- url: "/api/waitlist-opportunity-report/exists",
47759
+ url: "/api/wallet-transactions/exists",
46790
47760
  query: {
46791
- UserId: userId,
46792
- SlotId: slotId,
46793
- ScheduledSessionId: scheduledSessionId,
46794
- CourseId: courseId,
46795
- Email: email,
46796
- FutureOnly: futureOnly,
46797
- Converted: converted,
47761
+ WalletId: walletId,
47762
+ OrderId: orderId,
47763
+ TransactionType: transactionType,
46798
47764
  PageNumber: pageNumber,
46799
47765
  Take: take,
46800
47766
  Skip: skip,
@@ -46820,13 +47786,9 @@ const request = (config, options, axiosClient = axios) => {
46820
47786
  * @throws ApiError
46821
47787
  */
46822
47788
  count({
46823
- userId,
46824
- slotId,
46825
- scheduledSessionId,
46826
- courseId,
46827
- email,
46828
- futureOnly,
46829
- converted,
47789
+ walletId,
47790
+ orderId,
47791
+ transactionType,
46830
47792
  pageNumber,
46831
47793
  take,
46832
47794
  skip,
@@ -46841,15 +47803,11 @@ const request = (config, options, axiosClient = axios) => {
46841
47803
  }) {
46842
47804
  return this.httpRequest.request({
46843
47805
  method: "GET",
46844
- url: "/api/waitlist-opportunity-report/count",
47806
+ url: "/api/wallet-transactions/count",
46845
47807
  query: {
46846
- UserId: userId,
46847
- SlotId: slotId,
46848
- ScheduledSessionId: scheduledSessionId,
46849
- CourseId: courseId,
46850
- Email: email,
46851
- FutureOnly: futureOnly,
46852
- Converted: converted,
47808
+ WalletId: walletId,
47809
+ OrderId: orderId,
47810
+ TransactionType: transactionType,
46853
47811
  PageNumber: pageNumber,
46854
47812
  Take: take,
46855
47813
  Skip: skip,
@@ -46871,17 +47829,13 @@ const request = (config, options, axiosClient = axios) => {
46871
47829
  }
46872
47830
  /**
46873
47831
  * Gets a list of resources unpaged and without references.
46874
- * @returns WaitlistOpportunityReport OK
47832
+ * @returns WalletTransaction OK
46875
47833
  * @throws ApiError
46876
47834
  */
46877
47835
  getListWithoutReferences({
46878
- userId,
46879
- slotId,
46880
- scheduledSessionId,
46881
- courseId,
46882
- email,
46883
- futureOnly,
46884
- converted,
47836
+ walletId,
47837
+ orderId,
47838
+ transactionType,
46885
47839
  pageNumber,
46886
47840
  take,
46887
47841
  skip,
@@ -46896,15 +47850,11 @@ const request = (config, options, axiosClient = axios) => {
46896
47850
  }) {
46897
47851
  return this.httpRequest.request({
46898
47852
  method: "GET",
46899
- url: "/api/waitlist-opportunity-report/without-references",
47853
+ url: "/api/wallet-transactions/without-references",
46900
47854
  query: {
46901
- UserId: userId,
46902
- SlotId: slotId,
46903
- ScheduledSessionId: scheduledSessionId,
46904
- CourseId: courseId,
46905
- Email: email,
46906
- FutureOnly: futureOnly,
46907
- Converted: converted,
47855
+ WalletId: walletId,
47856
+ OrderId: orderId,
47857
+ TransactionType: transactionType,
46908
47858
  PageNumber: pageNumber,
46909
47859
  Take: take,
46910
47860
  Skip: skip,
@@ -46926,17 +47876,13 @@ const request = (config, options, axiosClient = axios) => {
46926
47876
  }
46927
47877
  /**
46928
47878
  * Gets a list of resources.
46929
- * @returns WaitlistOpportunityReport OK
47879
+ * @returns WalletTransaction OK
46930
47880
  * @throws ApiError
46931
47881
  */
46932
47882
  getListIdName({
46933
- userId,
46934
- slotId,
46935
- scheduledSessionId,
46936
- courseId,
46937
- email,
46938
- futureOnly,
46939
- converted,
47883
+ walletId,
47884
+ orderId,
47885
+ transactionType,
46940
47886
  pageNumber,
46941
47887
  take,
46942
47888
  skip,
@@ -46951,15 +47897,11 @@ const request = (config, options, axiosClient = axios) => {
46951
47897
  }) {
46952
47898
  return this.httpRequest.request({
46953
47899
  method: "GET",
46954
- url: "/api/waitlist-opportunity-report/id-name",
47900
+ url: "/api/wallet-transactions/id-name",
46955
47901
  query: {
46956
- UserId: userId,
46957
- SlotId: slotId,
46958
- ScheduledSessionId: scheduledSessionId,
46959
- CourseId: courseId,
46960
- Email: email,
46961
- FutureOnly: futureOnly,
46962
- Converted: converted,
47902
+ WalletId: walletId,
47903
+ OrderId: orderId,
47904
+ TransactionType: transactionType,
46963
47905
  PageNumber: pageNumber,
46964
47906
  Take: take,
46965
47907
  Skip: skip,
@@ -47100,6 +48042,8 @@ const request = (config, options, axiosClient = axios) => {
47100
48042
  waitlistActivityReport;
47101
48043
  waitlistOpportunity;
47102
48044
  waitlistOpportunityReport;
48045
+ wallets;
48046
+ walletTransactions;
47103
48047
  request;
47104
48048
  constructor(config, HttpRequest = AxiosHttpRequest) {
47105
48049
  this.request = new HttpRequest({
@@ -47233,6 +48177,8 @@ const request = (config, options, axiosClient = axios) => {
47233
48177
  this.waitlistActivityReport = new WaitlistActivityReportService(this.request);
47234
48178
  this.waitlistOpportunity = new WaitlistOpportunityService(this.request);
47235
48179
  this.waitlistOpportunityReport = new WaitlistOpportunityReportService(this.request);
48180
+ this.wallets = new WalletsService(this.request);
48181
+ this.walletTransactions = new WalletTransactionsService(this.request);
47236
48182
  }
47237
48183
  }const OpenAPI = {
47238
48184
  BASE: "",
@@ -47657,4 +48603,14 @@ const request = (config, options, axiosClient = axios) => {
47657
48603
  UpcomingLayout2["GRID"] = "Grid";
47658
48604
  UpcomingLayout2["CALENDAR"] = "Calendar";
47659
48605
  return UpcomingLayout2;
47660
- })(UpcomingLayout || {});export{ActivityPerformanceService,ActivityService,ActivityType,AdvanceBooking,AmenityService,AmenityType,ApiClient,ApiError,AppUserRole,ApplicationRole,AttendeesService,AvailabilityIndicator,BadEnglandReportService,BaseHttpRequest,BookingService,BookingStatus,CancelError,CancelablePromise,CancellationPoliciesService,ChatService,CheckoutPlatform,ContactOnConfirmation,CountryService,CourseBookingCutoff,CourseSearchSortBy,CourseSessionSchedulesService,CourseSessionsService,CourseStatus,CoursesService,CustomDateRange,CustomFieldDataType,CustomFieldValueEntityType,CustomFieldsService,CustomerCancellationOption,CustomerType,CustomersService,DayOfWeek,DealActivitiesService,DealDiscountType,DealTarget,DealType,DealsService,DiscountCodeUsesService,EmailReminderSchedulesService,EmailSettingsService,EndUserIdentitySecureTokenService,EnglandGolfReportService,EventTiming,FacilitiesService,FacilityIndividualsService,FacilityIndividualsType,FieldPermission,FilestackService,Gender,GenericActivityService,GeocodeService,HelpersService,HereAutocompleteLookupService,HttpStatusCode,ImageLibraryCategoryService,ImageLibraryImageService,ImageUploadHistoryService,ImagesService,InviteStatus,LeasingService,LocationsReportService,LoqatePlacesService,NotificationQueueService,NotificationSettingsService,NotificationType,OffersService,OpenAPI,OpenactiveFeedIntermediateService,OpenactiveFeedItemService,OpportunityRegisterService,OpportunityRegisterStatus,OpportunityType,OrderItemReportService,OrderItemStatus,OrderItemsService,OrderSource,OrderStage,OrdersService,OrgCourseUtilisationService,OrganisationApplicationFeeHandling,OrganisationAvailableChannel,OrganisationRefundPolicy,OrganisationTaxMode,OrganisationType,PaymentMethod,PaymentPoliciesService,PaymentPolicySplitType,PaymentsService,PeriodsOfWeek,PermissionsService,PlacesService,PlatformPayoutsService,Prepayment,ProgrammesService,ProviderTypesService,ProvidersService,PublicBookingService,PublicCalendarService,PublicCoursesService,PublicCustomersService,PublicFacilitiesService,PublicFilestackWebhookService,PublicGenericActivityService,PublicHealthCheckService,PublicLeasingService,PublicNetworksService,PublicOpportunityRegisterService,PublicOrderItemsService,PublicOrderTokensService,PublicOrdersService,PublicProgrammesService,PublicProvidersService,PublicScheduledSessionsService,PublicSessionsService,PublicSlotsService,PublicStripeWebhookService,PublicSurveyCompletionLogsService,PublicSurveyQuestionsService,PublicSurveysService,PublicTenantsService,PublicVenueTypesService,PublicVenuesService,PublicWaitlistActivityService,PublicWaitlistOpportunityService,ReachEntity,ReachOperation,RecentOrderActivityReportService,RefundSource,RefundStatus,RegisterReportService,RescheduleLogService,ScheduleStatus,ScheduledSessionSearchSortBy,ScheduledSessionsSchedulesService,ScheduledSessionsService,SearchSortOrderDirection,SessionType,SessionsService,SlotAvailabilityStatus,SlotOffersService,SlotScheduleOffersService,SlotSchedulesService,SlotStatus,SlotsService,StripeAccountLinkedEntityType,StripeAccountService,StripeStatus,SurfacesService,SurveyAnswersService,SurveyCompletionLogService,SurveyQuestionType,SurveyQuestionsService,SurveyQuestionsTarget,SurveyReportExtendedService,SurveyResponseMode,SurveyType,SurveysService,TemplateDetailsService,TemplateFieldPermissionsService,TemplateOffersService,TemplatesService,TenantStatus,TenantTier,TenantWebsiteSettingsService,TenantsService,TimezoneService,TotalRevenueReportService,UnsplashService,UpcomingLayout,UserPermissionsService,UserProgrammesService,UserProvidersService,UsersService,VenueManagersService,VenuePerformanceService,VenueTypeService,VenuesReportService,VenuesService,WaitlistActivityReportService,WaitlistActivityService,WaitlistOpportunityReportService,WaitlistOpportunityService};
48606
+ })(UpcomingLayout || {});var WalletTrackingLevel = /* @__PURE__ */ ((WalletTrackingLevel2) => {
48607
+ WalletTrackingLevel2["CUSTOMER"] = "Customer";
48608
+ WalletTrackingLevel2["ATTENDEE"] = "Attendee";
48609
+ return WalletTrackingLevel2;
48610
+ })(WalletTrackingLevel || {});var WalletTransactionType = /* @__PURE__ */ ((WalletTransactionType2) => {
48611
+ WalletTransactionType2["TOP_UP"] = "TopUp";
48612
+ WalletTransactionType2["PAYMENT"] = "Payment";
48613
+ WalletTransactionType2["REFUND"] = "Refund";
48614
+ WalletTransactionType2["ADJUSTMENT"] = "Adjustment";
48615
+ return WalletTransactionType2;
48616
+ })(WalletTransactionType || {});export{ActivityPerformanceService,ActivityService,ActivityType,AdvanceBooking,AmenityService,AmenityType,ApiClient,ApiError,AppUserRole,ApplicationRole,AttendeesService,AvailabilityIndicator,BadEnglandReportService,BaseHttpRequest,BookingService,BookingStatus,CancelError,CancelablePromise,CancellationPoliciesService,ChatService,CheckoutPlatform,ContactOnConfirmation,CountryService,CourseBookingCutoff,CourseSearchSortBy,CourseSessionSchedulesService,CourseSessionsService,CourseStatus,CoursesService,CustomDateRange,CustomFieldDataType,CustomFieldValueEntityType,CustomFieldsService,CustomerCancellationOption,CustomerType,CustomersService,DayOfWeek,DealActivitiesService,DealDiscountType,DealTarget,DealType,DealsService,DiscountCodeUsesService,EmailReminderSchedulesService,EmailSettingsService,EndUserIdentitySecureTokenService,EnglandGolfReportService,EventTiming,FacilitiesService,FacilityIndividualsService,FacilityIndividualsType,FieldPermission,FilestackService,Gender,GenericActivityService,GeocodeService,HelpersService,HereAutocompleteLookupService,HttpStatusCode,ImageLibraryCategoryService,ImageLibraryImageService,ImageUploadHistoryService,ImagesService,InviteStatus,LeasingService,LocationsReportService,LoqatePlacesService,NotificationQueueService,NotificationSettingsService,NotificationType,OffersService,OpenAPI,OpenactiveFeedIntermediateService,OpenactiveFeedItemService,OpportunityRegisterService,OpportunityRegisterStatus,OpportunityType,OrderItemReportService,OrderItemStatus,OrderItemsService,OrderSource,OrderStage,OrdersService,OrgCourseUtilisationService,OrganisationApplicationFeeHandling,OrganisationAvailableChannel,OrganisationRefundPolicy,OrganisationTaxMode,OrganisationType,PaymentMethod,PaymentPoliciesService,PaymentPolicySplitType,PaymentsService,PeriodsOfWeek,PermissionsService,PlacesService,PlatformPayoutsService,Prepayment,ProgrammesService,ProviderTypesService,ProvidersService,PublicBookingService,PublicCalendarService,PublicCoursesService,PublicCustomersService,PublicFacilitiesService,PublicFilestackWebhookService,PublicGenericActivityService,PublicHealthCheckService,PublicLeasingService,PublicNetworksService,PublicOpportunityRegisterService,PublicOrderItemsService,PublicOrderTokensService,PublicOrdersService,PublicProgrammesService,PublicProvidersService,PublicScheduledSessionsService,PublicSessionsService,PublicSlotsService,PublicStripeWebhookService,PublicSurveyCompletionLogsService,PublicSurveyQuestionsService,PublicSurveysService,PublicTenantsService,PublicVenueTypesService,PublicVenuesService,PublicWaitlistActivityService,PublicWaitlistOpportunityService,ReachEntity,ReachOperation,RecentOrderActivityReportService,RefundSource,RefundStatus,RegisterReportService,RescheduleLogService,ScheduleStatus,ScheduledSessionSearchSortBy,ScheduledSessionsSchedulesService,ScheduledSessionsService,SearchSortOrderDirection,SessionType,SessionsService,SlotAvailabilityStatus,SlotOffersService,SlotScheduleOffersService,SlotSchedulesService,SlotStatus,SlotsService,StripeAccountLinkedEntityType,StripeAccountService,StripeStatus,SurfacesService,SurveyAnswersService,SurveyCompletionLogService,SurveyQuestionType,SurveyQuestionsService,SurveyQuestionsTarget,SurveyReportExtendedService,SurveyResponseMode,SurveyType,SurveysService,TemplateDetailsService,TemplateFieldPermissionsService,TemplateOffersService,TemplatesService,TenantStatus,TenantTier,TenantWebsiteSettingsService,TenantsService,TimezoneService,TotalRevenueReportService,UnsplashService,UpcomingLayout,UserPermissionsService,UserProgrammesService,UserProvidersService,UsersService,VenueManagersService,VenuePerformanceService,VenueTypeService,VenuesReportService,VenuesService,WaitlistActivityReportService,WaitlistActivityService,WaitlistOpportunityReportService,WaitlistOpportunityService,WalletTrackingLevel,WalletTransactionType,WalletTransactionsService,WalletsService};