reach-api-sdk 1.0.20 → 1.0.22

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 (53) hide show
  1. package/dist/reach-sdk.d.ts +254 -242
  2. package/dist/reach-sdk.js +32 -0
  3. package/package.json +1 -1
  4. package/src/definition/swagger.yaml +415 -45
  5. package/src/models/Country.ts +3 -3
  6. package/src/models/Course.ts +4 -4
  7. package/src/models/CourseSession.ts +4 -4
  8. package/src/models/CourseSessionSchedule.ts +4 -4
  9. package/src/models/Customer.ts +4 -4
  10. package/src/models/EmailReminderSchedule.ts +4 -4
  11. package/src/models/EmailSetting.ts +4 -4
  12. package/src/models/Facility.ts +4 -4
  13. package/src/models/FacilityIndividual.ts +4 -4
  14. package/src/models/GenericActivity.ts +4 -4
  15. package/src/models/Image.ts +4 -4
  16. package/src/models/NotificationQueue.ts +4 -4
  17. package/src/models/NotificationSetting.ts +4 -4
  18. package/src/models/Offer.ts +13 -13
  19. package/src/models/OpenactiveFeedIntermediate.ts +4 -4
  20. package/src/models/OpenactiveFeedItem.ts +4 -4
  21. package/src/models/Order.ts +5 -5
  22. package/src/models/OrderItem.ts +4 -4
  23. package/src/models/OrderToken.ts +4 -4
  24. package/src/models/OrgCourseUtilisation.ts +4 -4
  25. package/src/models/Payment.ts +4 -4
  26. package/src/models/Permission.ts +4 -4
  27. package/src/models/Programme.ts +4 -4
  28. package/src/models/RecentOrderActivityReport.ts +4 -4
  29. package/src/models/ScheduledSession.ts +4 -4
  30. package/src/models/ScheduledSessionSchedule.ts +12 -12
  31. package/src/models/Session.ts +10 -10
  32. package/src/models/Slot.ts +4 -4
  33. package/src/models/SlotOffer.ts +4 -4
  34. package/src/models/SlotSchedule.ts +4 -4
  35. package/src/models/SlotScheduleOffer.ts +4 -4
  36. package/src/models/StripeAccount.ts +4 -4
  37. package/src/models/Survey.ts +4 -4
  38. package/src/models/SurveyAnswer.ts +4 -4
  39. package/src/models/SurveyQuestion.ts +4 -4
  40. package/src/models/SurveyQuestionOption.ts +4 -4
  41. package/src/models/SurveyReportExtended.ts +4 -4
  42. package/src/models/Tenant.ts +30 -30
  43. package/src/models/TenantWebsiteSetting.ts +4 -4
  44. package/src/models/TotalRevenueReport.ts +4 -4
  45. package/src/models/User.ts +4 -4
  46. package/src/models/Venue.ts +9 -9
  47. package/src/models/VenueBadmintonEnglandReport.ts +4 -4
  48. package/src/models/VenueOpeningHours.ts +4 -4
  49. package/src/models/VenuesReport.ts +4 -4
  50. package/src/models/WaitlistActivity.ts +4 -4
  51. package/src/models/WaitlistOpportunity.ts +4 -4
  52. package/src/services/TenantsService.ts +17 -0
  53. package/src/services/UsersService.ts +17 -0
@@ -282,15 +282,15 @@ type VenueBadmintonEnglandReport = {
282
282
  /**
283
283
  * Gets or sets the tenant Id.
284
284
  */
285
- tenantId?: string;
285
+ tenantId: string;
286
286
  /**
287
287
  * Gets or sets the created date of this entity.
288
288
  */
289
- dateCreated?: string;
289
+ dateCreated: string;
290
290
  /**
291
291
  * Gets or sets the last modified date of this entity.
292
292
  */
293
- dateModified?: string;
293
+ dateModified: string;
294
294
  /**
295
295
  * Gets or sets the modified by Id.
296
296
  */
@@ -298,7 +298,7 @@ type VenueBadmintonEnglandReport = {
298
298
  /**
299
299
  * Gets or sets a value indicating whether the record is live and available for use within the application.
300
300
  */
301
- isLive?: boolean;
301
+ isLive: boolean;
302
302
  /**
303
303
  * Gets or sets the venue name.
304
304
  */
@@ -773,11 +773,11 @@ type Country = {
773
773
  /**
774
774
  * Gets or sets the countries Name.
775
775
  */
776
- code?: string | null;
776
+ code: string;
777
777
  /**
778
778
  * Gets or sets the countries Code.
779
779
  */
780
- name?: string | null;
780
+ name: string;
781
781
  /**
782
782
  * Gets or sets the countries Code.
783
783
  */
@@ -797,7 +797,7 @@ type Country = {
797
797
  /**
798
798
  * Gets or sets a value indicating whether the country is active.
799
799
  */
800
- active?: boolean;
800
+ active: boolean;
801
801
  /**
802
802
  * Gets or sets the available taxes.
803
803
  */
@@ -823,15 +823,15 @@ type Customer = {
823
823
  /**
824
824
  * Gets or sets the tenant Id.
825
825
  */
826
- tenantId?: string;
826
+ tenantId: string;
827
827
  /**
828
828
  * Gets or sets the created date of this entity.
829
829
  */
830
- dateCreated?: string;
830
+ dateCreated: string;
831
831
  /**
832
832
  * Gets or sets the last modified date of this entity.
833
833
  */
834
- dateModified?: string;
834
+ dateModified: string;
835
835
  /**
836
836
  * Gets or sets the modified by Id.
837
837
  */
@@ -839,7 +839,7 @@ type Customer = {
839
839
  /**
840
840
  * Gets or sets a value indicating whether the record is live and available for use within the application.
841
841
  */
842
- isLive?: boolean;
842
+ isLive: boolean;
843
843
  /**
844
844
  * Gets or sets the venue id.
845
845
  */
@@ -990,15 +990,15 @@ type TenantWebsiteSetting = {
990
990
  /**
991
991
  * Gets or sets the tenant Id.
992
992
  */
993
- tenantId?: string;
993
+ tenantId: string;
994
994
  /**
995
995
  * Gets or sets the created date of this entity.
996
996
  */
997
- dateCreated?: string;
997
+ dateCreated: string;
998
998
  /**
999
999
  * Gets or sets the last modified date of this entity.
1000
1000
  */
1001
- dateModified?: string;
1001
+ dateModified: string;
1002
1002
  /**
1003
1003
  * Gets or sets the modified by Id.
1004
1004
  */
@@ -1006,7 +1006,7 @@ type TenantWebsiteSetting = {
1006
1006
  /**
1007
1007
  * Gets or sets a value indicating whether the record is live and available for use within the application.
1008
1008
  */
1009
- isLive?: boolean;
1009
+ isLive: boolean;
1010
1010
  /**
1011
1011
  * Gets or sets the website name.
1012
1012
  */
@@ -1128,15 +1128,15 @@ type User = {
1128
1128
  /**
1129
1129
  * Gets or sets the tenant Id.
1130
1130
  */
1131
- tenantId?: string;
1131
+ tenantId: string;
1132
1132
  /**
1133
1133
  * Gets or sets the created date of this entity.
1134
1134
  */
1135
- dateCreated?: string;
1135
+ dateCreated: string;
1136
1136
  /**
1137
1137
  * Gets or sets the last modified date of this entity.
1138
1138
  */
1139
- dateModified?: string;
1139
+ dateModified: string;
1140
1140
  /**
1141
1141
  * Gets or sets the modified by Id.
1142
1142
  */
@@ -1144,7 +1144,7 @@ type User = {
1144
1144
  /**
1145
1145
  * Gets or sets a value indicating whether the record is live and available for use within the application.
1146
1146
  */
1147
- isLive?: boolean;
1147
+ isLive: boolean;
1148
1148
  tenant?: Tenant;
1149
1149
  /**
1150
1150
  * Gets or sets the users first name.
@@ -1203,15 +1203,15 @@ type Image = {
1203
1203
  /**
1204
1204
  * Gets or sets the tenant Id.
1205
1205
  */
1206
- tenantId?: string;
1206
+ tenantId: string;
1207
1207
  /**
1208
1208
  * Gets or sets the created date of this entity.
1209
1209
  */
1210
- dateCreated?: string;
1210
+ dateCreated: string;
1211
1211
  /**
1212
1212
  * Gets or sets the last modified date of this entity.
1213
1213
  */
1214
- dateModified?: string;
1214
+ dateModified: string;
1215
1215
  /**
1216
1216
  * Gets or sets the modified by Id.
1217
1217
  */
@@ -1219,7 +1219,7 @@ type Image = {
1219
1219
  /**
1220
1220
  * Gets or sets a value indicating whether the record is live and available for use within the application.
1221
1221
  */
1222
- isLive?: boolean;
1222
+ isLive: boolean;
1223
1223
  /**
1224
1224
  * Gets or sets the images venue id.
1225
1225
  */
@@ -1273,15 +1273,15 @@ type Programme = {
1273
1273
  /**
1274
1274
  * Gets or sets the tenant Id.
1275
1275
  */
1276
- tenantId?: string;
1276
+ tenantId: string;
1277
1277
  /**
1278
1278
  * Gets or sets the created date of this entity.
1279
1279
  */
1280
- dateCreated?: string;
1280
+ dateCreated: string;
1281
1281
  /**
1282
1282
  * Gets or sets the last modified date of this entity.
1283
1283
  */
1284
- dateModified?: string;
1284
+ dateModified: string;
1285
1285
  /**
1286
1286
  * Gets or sets the modified by Id.
1287
1287
  */
@@ -1289,7 +1289,7 @@ type Programme = {
1289
1289
  /**
1290
1290
  * Gets or sets a value indicating whether the record is live and available for use within the application.
1291
1291
  */
1292
- isLive?: boolean;
1292
+ isLive: boolean;
1293
1293
  /**
1294
1294
  * Gets or sets the programmes name.
1295
1295
  */
@@ -1341,15 +1341,15 @@ type ScheduledSessionSchedule = {
1341
1341
  /**
1342
1342
  * Gets or sets the tenant Id.
1343
1343
  */
1344
- tenantId?: string;
1344
+ tenantId: string;
1345
1345
  /**
1346
1346
  * Gets or sets the created date of this entity.
1347
1347
  */
1348
- dateCreated?: string;
1348
+ dateCreated: string;
1349
1349
  /**
1350
1350
  * Gets or sets the last modified date of this entity.
1351
1351
  */
1352
- dateModified?: string;
1352
+ dateModified: string;
1353
1353
  /**
1354
1354
  * Gets or sets the modified by Id.
1355
1355
  */
@@ -1357,11 +1357,11 @@ type ScheduledSessionSchedule = {
1357
1357
  /**
1358
1358
  * Gets or sets a value indicating whether the record is live and available for use within the application.
1359
1359
  */
1360
- isLive?: boolean;
1360
+ isLive: boolean;
1361
1361
  /**
1362
1362
  * Gets or sets the facilityid.
1363
1363
  */
1364
- sessionId?: string | null;
1364
+ sessionId: string;
1365
1365
  /**
1366
1366
  * Gets or sets the schedules last run date time.
1367
1367
  */
@@ -1369,7 +1369,7 @@ type ScheduledSessionSchedule = {
1369
1369
  /**
1370
1370
  * Gets or sets the schedules first occurrence start date time.
1371
1371
  */
1372
- startDateTime?: string | null;
1372
+ startDateTime: string;
1373
1373
  /**
1374
1374
  * Gets or sets the schedules first occurrence end date time.
1375
1375
  */
@@ -1377,16 +1377,16 @@ type ScheduledSessionSchedule = {
1377
1377
  /**
1378
1378
  * Gets or sets the schedules first occurrence duration.
1379
1379
  */
1380
- durationMinutes?: number | null;
1381
- status?: ScheduleStatus;
1380
+ durationMinutes: number;
1381
+ status: ScheduleStatus;
1382
1382
  /**
1383
1383
  * Gets or sets the slots hex identifier.
1384
1384
  */
1385
- hexIdentifier?: string | null;
1385
+ hexIdentifier: string;
1386
1386
  /**
1387
1387
  * Gets or sets the schedules evaluated rule string.
1388
1388
  */
1389
- rRuleString?: string | null;
1389
+ rRuleString: string;
1390
1390
  /**
1391
1391
  * Gets or sets the schedules end date.
1392
1392
  */
@@ -1394,11 +1394,11 @@ type ScheduledSessionSchedule = {
1394
1394
  /**
1395
1395
  * Gets or sets a value indicating whether the schedule should recur indefinately.
1396
1396
  */
1397
- recurIndefinately?: boolean | null;
1397
+ recurIndefinately: boolean;
1398
1398
  /**
1399
1399
  * Gets or sets a value indicating whether the schedule is enabled.
1400
1400
  */
1401
- enabled?: boolean | null;
1401
+ enabled: boolean;
1402
1402
  tenant?: Tenant;
1403
1403
  session?: Session;
1404
1404
  /**
@@ -1447,15 +1447,15 @@ type SlotSchedule = {
1447
1447
  /**
1448
1448
  * Gets or sets the tenant Id.
1449
1449
  */
1450
- tenantId?: string;
1450
+ tenantId: string;
1451
1451
  /**
1452
1452
  * Gets or sets the created date of this entity.
1453
1453
  */
1454
- dateCreated?: string;
1454
+ dateCreated: string;
1455
1455
  /**
1456
1456
  * Gets or sets the last modified date of this entity.
1457
1457
  */
1458
- dateModified?: string;
1458
+ dateModified: string;
1459
1459
  /**
1460
1460
  * Gets or sets the modified by Id.
1461
1461
  */
@@ -1463,7 +1463,7 @@ type SlotSchedule = {
1463
1463
  /**
1464
1464
  * Gets or sets a value indicating whether the record is live and available for use within the application.
1465
1465
  */
1466
- isLive?: boolean;
1466
+ isLive: boolean;
1467
1467
  /**
1468
1468
  * Gets or sets the facilityid.
1469
1469
  */
@@ -1543,15 +1543,15 @@ type Slot = {
1543
1543
  /**
1544
1544
  * Gets or sets the tenant Id.
1545
1545
  */
1546
- tenantId?: string;
1546
+ tenantId: string;
1547
1547
  /**
1548
1548
  * Gets or sets the created date of this entity.
1549
1549
  */
1550
- dateCreated?: string;
1550
+ dateCreated: string;
1551
1551
  /**
1552
1552
  * Gets or sets the last modified date of this entity.
1553
1553
  */
1554
- dateModified?: string;
1554
+ dateModified: string;
1555
1555
  /**
1556
1556
  * Gets or sets the modified by Id.
1557
1557
  */
@@ -1559,7 +1559,7 @@ type Slot = {
1559
1559
  /**
1560
1560
  * Gets or sets a value indicating whether the record is live and available for use within the application.
1561
1561
  */
1562
- isLive?: boolean;
1562
+ isLive: boolean;
1563
1563
  /**
1564
1564
  * Gets a value indicating whether the slot is leased waiting confirmation to be made bookable by the Reach tenant. This status does not refer to a booking lease!.
1565
1565
  */
@@ -1672,15 +1672,15 @@ type WaitlistOpportunity = {
1672
1672
  /**
1673
1673
  * Gets or sets the tenant Id.
1674
1674
  */
1675
- tenantId?: string;
1675
+ tenantId: string;
1676
1676
  /**
1677
1677
  * Gets or sets the created date of this entity.
1678
1678
  */
1679
- dateCreated?: string;
1679
+ dateCreated: string;
1680
1680
  /**
1681
1681
  * Gets or sets the last modified date of this entity.
1682
1682
  */
1683
- dateModified?: string;
1683
+ dateModified: string;
1684
1684
  /**
1685
1685
  * Gets or sets the modified by Id.
1686
1686
  */
@@ -1688,7 +1688,7 @@ type WaitlistOpportunity = {
1688
1688
  /**
1689
1689
  * Gets or sets a value indicating whether the record is live and available for use within the application.
1690
1690
  */
1691
- isLive?: boolean;
1691
+ isLive: boolean;
1692
1692
  /**
1693
1693
  * Gets or sets the slot id.
1694
1694
  */
@@ -1733,15 +1733,15 @@ type ScheduledSession = {
1733
1733
  /**
1734
1734
  * Gets or sets the tenant Id.
1735
1735
  */
1736
- tenantId?: string;
1736
+ tenantId: string;
1737
1737
  /**
1738
1738
  * Gets or sets the created date of this entity.
1739
1739
  */
1740
- dateCreated?: string;
1740
+ dateCreated: string;
1741
1741
  /**
1742
1742
  * Gets or sets the last modified date of this entity.
1743
1743
  */
1744
- dateModified?: string;
1744
+ dateModified: string;
1745
1745
  /**
1746
1746
  * Gets or sets the modified by Id.
1747
1747
  */
@@ -1749,7 +1749,7 @@ type ScheduledSession = {
1749
1749
  /**
1750
1750
  * Gets or sets a value indicating whether the record is live and available for use within the application.
1751
1751
  */
1752
- isLive?: boolean;
1752
+ isLive: boolean;
1753
1753
  /**
1754
1754
  * Gets a value indicating whether the slot is leased waiting confirmation to be made bookable by the Reach tenant. This status does not refer to a booking lease!.
1755
1755
  */
@@ -1878,15 +1878,15 @@ type WaitlistActivity = {
1878
1878
  /**
1879
1879
  * Gets or sets the tenant Id.
1880
1880
  */
1881
- tenantId?: string;
1881
+ tenantId: string;
1882
1882
  /**
1883
1883
  * Gets or sets the created date of this entity.
1884
1884
  */
1885
- dateCreated?: string;
1885
+ dateCreated: string;
1886
1886
  /**
1887
1887
  * Gets or sets the last modified date of this entity.
1888
1888
  */
1889
- dateModified?: string;
1889
+ dateModified: string;
1890
1890
  /**
1891
1891
  * Gets or sets the modified by Id.
1892
1892
  */
@@ -1894,7 +1894,7 @@ type WaitlistActivity = {
1894
1894
  /**
1895
1895
  * Gets or sets a value indicating whether the record is live and available for use within the application.
1896
1896
  */
1897
- isLive?: boolean;
1897
+ isLive: boolean;
1898
1898
  /**
1899
1899
  * Gets or sets the session id.
1900
1900
  */
@@ -1930,15 +1930,15 @@ type Session = {
1930
1930
  /**
1931
1931
  * Gets or sets the tenant Id.
1932
1932
  */
1933
- tenantId?: string;
1933
+ tenantId: string;
1934
1934
  /**
1935
1935
  * Gets or sets the created date of this entity.
1936
1936
  */
1937
- dateCreated?: string;
1937
+ dateCreated: string;
1938
1938
  /**
1939
1939
  * Gets or sets the last modified date of this entity.
1940
1940
  */
1941
- dateModified?: string;
1941
+ dateModified: string;
1942
1942
  /**
1943
1943
  * Gets or sets the modified by Id.
1944
1944
  */
@@ -1946,7 +1946,7 @@ type Session = {
1946
1946
  /**
1947
1947
  * Gets or sets a value indicating whether the record is live and available for use within the application.
1948
1948
  */
1949
- isLive?: boolean;
1949
+ isLive: boolean;
1950
1950
  /**
1951
1951
  * Gets or sets the session venue id.
1952
1952
  */
@@ -1954,7 +1954,7 @@ type Session = {
1954
1954
  /**
1955
1955
  * Gets or sets the session activity id.
1956
1956
  */
1957
- activityId?: number | null;
1957
+ activityId: number;
1958
1958
  /**
1959
1959
  * Gets or sets the session programme id.
1960
1960
  */
@@ -1971,16 +1971,16 @@ type Session = {
1971
1971
  /**
1972
1972
  * Gets or sets the session name.
1973
1973
  */
1974
- name?: string | null;
1974
+ name: string;
1975
1975
  /**
1976
1976
  * Gets or sets the session description.
1977
1977
  */
1978
- description?: string | null;
1978
+ description: string;
1979
1979
  /**
1980
1980
  * Gets or sets the session image url.
1981
1981
  * @deprecated
1982
1982
  */
1983
- imageUrl?: string | null;
1983
+ imageUrl: string;
1984
1984
  /**
1985
1985
  * Gets or sets the openactive activity Id.
1986
1986
  */
@@ -2004,7 +2004,7 @@ type Session = {
2004
2004
  /**
2005
2005
  * Gets or sets the capacity.
2006
2006
  */
2007
- capacity?: number | null;
2007
+ capacity: number;
2008
2008
  /**
2009
2009
  * Gets or sets a value indicating whether the session has unlimited capacity.
2010
2010
  */
@@ -2061,7 +2061,7 @@ type Session = {
2061
2061
  /**
2062
2062
  * Gets or sets the contact email.
2063
2063
  */
2064
- contactEmail?: string | null;
2064
+ contactEmail: string;
2065
2065
  /**
2066
2066
  * Gets or sets the booking link override if checkout will occur externally.
2067
2067
  */
@@ -2112,15 +2112,15 @@ type Offer = {
2112
2112
  /**
2113
2113
  * Gets or sets the tenant Id.
2114
2114
  */
2115
- tenantId?: string;
2115
+ tenantId: string;
2116
2116
  /**
2117
2117
  * Gets or sets the created date of this entity.
2118
2118
  */
2119
- dateCreated?: string;
2119
+ dateCreated: string;
2120
2120
  /**
2121
2121
  * Gets or sets the last modified date of this entity.
2122
2122
  */
2123
- dateModified?: string;
2123
+ dateModified: string;
2124
2124
  /**
2125
2125
  * Gets or sets the modified by Id.
2126
2126
  */
@@ -2128,7 +2128,7 @@ type Offer = {
2128
2128
  /**
2129
2129
  * Gets or sets a value indicating whether the record is live and available for use within the application.
2130
2130
  */
2131
- isLive?: boolean;
2131
+ isLive: boolean;
2132
2132
  /**
2133
2133
  * Gets or sets the facility individual id.
2134
2134
  */
@@ -2152,29 +2152,29 @@ type Offer = {
2152
2152
  /**
2153
2153
  * Gets or sets the offer net price.
2154
2154
  */
2155
- priceNet?: number | null;
2155
+ priceNet: number;
2156
2156
  /**
2157
2157
  * Gets or sets the offer price tax amount.
2158
2158
  */
2159
- priceTax?: number | null;
2159
+ priceTax: number;
2160
2160
  /**
2161
2161
  * Gets or sets the offer total/gross price.
2162
2162
  */
2163
- priceTotal?: number | null;
2163
+ priceTotal: number;
2164
2164
  /**
2165
2165
  * Gets or sets the offer currency.
2166
2166
  */
2167
- currency?: string | null;
2167
+ currency: string;
2168
2168
  /**
2169
2169
  * Gets or sets the offer min age.
2170
2170
  */
2171
- minAge?: number;
2171
+ minAge: number;
2172
2172
  /**
2173
2173
  * Gets or sets the offer max age.
2174
2174
  */
2175
- maxAge?: number;
2176
- advanceBooking?: AdvanceBooking;
2177
- prepayment?: Prepayment;
2175
+ maxAge: number;
2176
+ advanceBooking: AdvanceBooking;
2177
+ prepayment: Prepayment;
2178
2178
  /**
2179
2179
  * Gets or sets a value indicating whether the offer is private (available to relevant authenticated users and NOT visible to the public).
2180
2180
  */
@@ -2182,7 +2182,7 @@ type Offer = {
2182
2182
  /**
2183
2183
  * Gets or sets a value indicating whether the offer is private (available to relevant authenticated users and NOT visible to the public).
2184
2184
  */
2185
- active?: boolean | null;
2185
+ active: boolean;
2186
2186
  /**
2187
2187
  * Gets or sets the offers label.
2188
2188
  */
@@ -2203,15 +2203,15 @@ type FacilityIndividual = {
2203
2203
  /**
2204
2204
  * Gets or sets the tenant Id.
2205
2205
  */
2206
- tenantId?: string;
2206
+ tenantId: string;
2207
2207
  /**
2208
2208
  * Gets or sets the created date of this entity.
2209
2209
  */
2210
- dateCreated?: string;
2210
+ dateCreated: string;
2211
2211
  /**
2212
2212
  * Gets or sets the last modified date of this entity.
2213
2213
  */
2214
- dateModified?: string;
2214
+ dateModified: string;
2215
2215
  /**
2216
2216
  * Gets or sets the modified by Id.
2217
2217
  */
@@ -2219,7 +2219,7 @@ type FacilityIndividual = {
2219
2219
  /**
2220
2220
  * Gets or sets a value indicating whether the record is live and available for use within the application.
2221
2221
  */
2222
- isLive?: boolean;
2222
+ isLive: boolean;
2223
2223
  facility?: Facility;
2224
2224
  surface?: Surface;
2225
2225
  /**
@@ -2279,15 +2279,15 @@ type Facility = {
2279
2279
  /**
2280
2280
  * Gets or sets the tenant Id.
2281
2281
  */
2282
- tenantId?: string;
2282
+ tenantId: string;
2283
2283
  /**
2284
2284
  * Gets or sets the created date of this entity.
2285
2285
  */
2286
- dateCreated?: string;
2286
+ dateCreated: string;
2287
2287
  /**
2288
2288
  * Gets or sets the last modified date of this entity.
2289
2289
  */
2290
- dateModified?: string;
2290
+ dateModified: string;
2291
2291
  /**
2292
2292
  * Gets or sets the modified by Id.
2293
2293
  */
@@ -2295,7 +2295,7 @@ type Facility = {
2295
2295
  /**
2296
2296
  * Gets or sets a value indicating whether the record is live and available for use within the application.
2297
2297
  */
2298
- isLive?: boolean;
2298
+ isLive: boolean;
2299
2299
  /**
2300
2300
  * Gets or sets the facility venue id.
2301
2301
  */
@@ -2378,15 +2378,15 @@ type StripeAccount = {
2378
2378
  /**
2379
2379
  * Gets or sets the tenant Id.
2380
2380
  */
2381
- tenantId?: string;
2381
+ tenantId: string;
2382
2382
  /**
2383
2383
  * Gets or sets the created date of this entity.
2384
2384
  */
2385
- dateCreated?: string;
2385
+ dateCreated: string;
2386
2386
  /**
2387
2387
  * Gets or sets the last modified date of this entity.
2388
2388
  */
2389
- dateModified?: string;
2389
+ dateModified: string;
2390
2390
  /**
2391
2391
  * Gets or sets the modified by Id.
2392
2392
  */
@@ -2394,7 +2394,7 @@ type StripeAccount = {
2394
2394
  /**
2395
2395
  * Gets or sets a value indicating whether the record is live and available for use within the application.
2396
2396
  */
2397
- isLive?: boolean;
2397
+ isLive: boolean;
2398
2398
  /**
2399
2399
  * Gets or sets the Stripe Account name.
2400
2400
  */
@@ -2454,15 +2454,15 @@ type VenueOpeningHours = {
2454
2454
  /**
2455
2455
  * Gets or sets the tenant Id.
2456
2456
  */
2457
- tenantId?: string;
2457
+ tenantId: string;
2458
2458
  /**
2459
2459
  * Gets or sets the created date of this entity.
2460
2460
  */
2461
- dateCreated?: string;
2461
+ dateCreated: string;
2462
2462
  /**
2463
2463
  * Gets or sets the last modified date of this entity.
2464
2464
  */
2465
- dateModified?: string;
2465
+ dateModified: string;
2466
2466
  /**
2467
2467
  * Gets or sets the modified by Id.
2468
2468
  */
@@ -2470,7 +2470,7 @@ type VenueOpeningHours = {
2470
2470
  /**
2471
2471
  * Gets or sets a value indicating whether the record is live and available for use within the application.
2472
2472
  */
2473
- isLive?: boolean;
2473
+ isLive: boolean;
2474
2474
  /**
2475
2475
  * Gets or sets the opening hours venue id.
2476
2476
  */
@@ -2501,15 +2501,15 @@ type Venue = {
2501
2501
  /**
2502
2502
  * Gets or sets the tenant Id.
2503
2503
  */
2504
- tenantId?: string;
2504
+ tenantId: string;
2505
2505
  /**
2506
2506
  * Gets or sets the created date of this entity.
2507
2507
  */
2508
- dateCreated?: string;
2508
+ dateCreated: string;
2509
2509
  /**
2510
2510
  * Gets or sets the last modified date of this entity.
2511
2511
  */
2512
- dateModified?: string;
2512
+ dateModified: string;
2513
2513
  /**
2514
2514
  * Gets or sets the modified by Id.
2515
2515
  */
@@ -2517,7 +2517,7 @@ type Venue = {
2517
2517
  /**
2518
2518
  * Gets or sets a value indicating whether the record is live and available for use within the application.
2519
2519
  */
2520
- isLive?: boolean;
2520
+ isLive: boolean;
2521
2521
  /**
2522
2522
  * Gets a value indicating whether the venue has sessions.
2523
2523
  */
@@ -2570,7 +2570,7 @@ type Venue = {
2570
2570
  /**
2571
2571
  * Gets or sets the venues street address.
2572
2572
  */
2573
- streetAddress?: string | null;
2573
+ streetAddress: string;
2574
2574
  /**
2575
2575
  * Gets or sets the venues locality.
2576
2576
  */
@@ -2582,19 +2582,19 @@ type Venue = {
2582
2582
  /**
2583
2583
  * Gets or sets the venues postcode.
2584
2584
  */
2585
- addressPostalcode?: string | null;
2585
+ addressPostalcode: string;
2586
2586
  /**
2587
2587
  * Gets or sets the venues Country id.
2588
2588
  */
2589
- countryId?: number | null;
2589
+ countryId: number;
2590
2590
  /**
2591
2591
  * Gets or sets the venues lat.
2592
2592
  */
2593
- lat?: number | null;
2593
+ lat: number;
2594
2594
  /**
2595
2595
  * Gets or sets the venues lng.
2596
2596
  */
2597
- lng?: number | null;
2597
+ lng: number;
2598
2598
  /**
2599
2599
  * Gets a value indicating whether the model has valid geo co-ordinates.
2600
2600
  */
@@ -2679,15 +2679,15 @@ type Tenant = {
2679
2679
  /**
2680
2680
  * Gets or sets the tenant Id.
2681
2681
  */
2682
- tenantId?: string;
2682
+ tenantId: string;
2683
2683
  /**
2684
2684
  * Gets or sets the created date of this entity.
2685
2685
  */
2686
- dateCreated?: string;
2686
+ dateCreated: string;
2687
2687
  /**
2688
2688
  * Gets or sets the last modified date of this entity.
2689
2689
  */
2690
- dateModified?: string;
2690
+ dateModified: string;
2691
2691
  /**
2692
2692
  * Gets or sets the modified by Id.
2693
2693
  */
@@ -2695,12 +2695,12 @@ type Tenant = {
2695
2695
  /**
2696
2696
  * Gets or sets a value indicating whether the record is live and available for use within the application.
2697
2697
  */
2698
- isLive?: boolean;
2698
+ isLive: boolean;
2699
2699
  organisationType?: OrganisationType;
2700
2700
  /**
2701
2701
  * Gets or sets the name of the organisation.
2702
2702
  */
2703
- name?: string | null;
2703
+ name: string;
2704
2704
  /**
2705
2705
  * Gets or sets the legal name of the organisation.
2706
2706
  */
@@ -2753,7 +2753,7 @@ type Tenant = {
2753
2753
  /**
2754
2754
  * Gets or sets the organisations tax amount as a percentage.
2755
2755
  */
2756
- taxAmount?: number | null;
2756
+ taxAmount: number;
2757
2757
  /**
2758
2758
  * Gets the organisations tax amount as a decimal (e.g a 20% rate would be 0.2).
2759
2759
  */
@@ -2765,7 +2765,7 @@ type Tenant = {
2765
2765
  /**
2766
2766
  * Gets or sets the organisations country id.
2767
2767
  */
2768
- countryId?: number | null;
2768
+ countryId: number;
2769
2769
  /**
2770
2770
  * Gets or sets the organisations social media Urls.
2771
2771
  */
@@ -2785,15 +2785,15 @@ type Tenant = {
2785
2785
  /**
2786
2786
  * Gets or sets a value indicating whether the organisation allows booking completions.
2787
2787
  */
2788
- allowBookingCompletions?: boolean;
2788
+ allowBookingCompletions: boolean;
2789
2789
  /**
2790
2790
  * Gets or sets a value indicating whether the organisation allows booking changes.
2791
2791
  */
2792
- allowBookingChanges?: boolean;
2792
+ allowBookingChanges: boolean;
2793
2793
  /**
2794
2794
  * Gets or sets a value indicating whether the organisation allows offers an promotions.
2795
2795
  */
2796
- allowOffers?: boolean;
2796
+ allowOffers: boolean;
2797
2797
  /**
2798
2798
  * Gets or sets a value at the organisation level indicating how far in advance a slot can be booked, this can be overridden at the venue level.
2799
2799
  */
@@ -2803,36 +2803,36 @@ type Tenant = {
2803
2803
  * Gets the refund policy converted in seconds.
2804
2804
  */
2805
2805
  readonly refundPolicyInHours?: number;
2806
- availableChannel?: OrganisationAvailableChannel;
2807
- applicationFeeHandling?: OrganisationApplicationFeeHandling;
2806
+ availableChannel: OrganisationAvailableChannel;
2807
+ applicationFeeHandling: OrganisationApplicationFeeHandling;
2808
2808
  /**
2809
2809
  * Gets or sets a value indicating whether the organisation has agreed Played terms and conditions.
2810
2810
  */
2811
- termsAgreed?: boolean | null;
2811
+ termsAgreed: boolean;
2812
2812
  /**
2813
2813
  * Gets or sets the tenants sub domain.
2814
2814
  */
2815
- subDomain?: string | null;
2815
+ subDomain: string;
2816
2816
  /**
2817
2817
  * Gets or sets the tenants time zone.
2818
2818
  */
2819
- timeZoneTz?: string | null;
2819
+ timeZoneTz: string;
2820
2820
  /**
2821
2821
  * Gets or sets the currency code.
2822
2822
  */
2823
- currencyCode?: string | null;
2823
+ currencyCode: string;
2824
2824
  /**
2825
2825
  * Gets or sets the currency symbol.
2826
2826
  */
2827
- currencySymbol?: string | null;
2827
+ currencySymbol: string;
2828
2828
  /**
2829
2829
  * Gets or sets a value indicating whether the tenants booking page is enabled.
2830
2830
  */
2831
- bookingPageEnabled?: boolean;
2831
+ bookingPageEnabled: boolean;
2832
2832
  /**
2833
2833
  * Gets or sets a value indicating whether the tenant is using a custom cancellation policy.
2834
2834
  */
2835
- useCustomCancellationPolicy?: boolean | null;
2835
+ useCustomCancellationPolicy: boolean;
2836
2836
  /**
2837
2837
  * Gets or sets the custom policy url.
2838
2838
  */
@@ -2844,44 +2844,44 @@ type Tenant = {
2844
2844
  /**
2845
2845
  * Gets or sets a value indicating whether the stripe onboarding process has been completed.
2846
2846
  */
2847
- stripeDetailsSubmitted?: boolean | null;
2847
+ stripeDetailsSubmitted: boolean;
2848
2848
  /**
2849
2849
  * Gets or sets a value indicating whether charges are enabled and the tenants customers can pay online.
2850
2850
  */
2851
- stripeChargesEnabled?: boolean | null;
2851
+ stripeChargesEnabled: boolean;
2852
2852
  /**
2853
2853
  * Gets or sets a value indicating whether charges are enabled and the tenants customers can pay online.
2854
2854
  */
2855
- allowStripeSubAccounts?: boolean | null;
2855
+ allowStripeSubAccounts: boolean;
2856
2856
  /**
2857
2857
  * Gets or sets a value indicating whether charges are enabled and the tenants customers can pay online.
2858
2858
  */
2859
- allowPaymentFallBack?: boolean | null;
2859
+ allowPaymentFallBack: boolean;
2860
2860
  /**
2861
2861
  * Gets or sets a value indicating whether the openactive feed is enabled for the tenant.
2862
2862
  */
2863
- openActiveFeedEnabled?: boolean | null;
2863
+ openActiveFeedEnabled: boolean;
2864
2864
  /**
2865
2865
  * Gets or sets a value indicating whether the apple pay domain has been registered for this tenant.
2866
2866
  */
2867
- applePayDomainRegistered?: boolean | null;
2867
+ applePayDomainRegistered: boolean;
2868
2868
  /**
2869
2869
  * Gets or sets a value indicating whether the tenants storefront uses a custom domain, rather than played.co.
2870
2870
  */
2871
- usesCustomDomain?: boolean | null;
2871
+ usesCustomDomain: boolean;
2872
2872
  /**
2873
2873
  * Gets or sets a value indicating whether programme functionality is enabled.
2874
2874
  */
2875
- programmesEnabled?: boolean | null;
2875
+ programmesEnabled: boolean;
2876
2876
  /**
2877
2877
  * Gets or sets a value indicating whether to copy admins on booking confirmation emails.
2878
2878
  */
2879
- copyAdminsOnConfirmation?: boolean | null;
2879
+ copyAdminsOnConfirmation: boolean;
2880
2880
  /**
2881
2881
  * Gets or sets a value indicating whether to copy venue managers on booking confirmation emails.
2882
2882
  */
2883
- copyManagersOnConfirmation?: boolean | null;
2884
- contactOnConfirmation?: ContactOnConfirmation;
2883
+ copyManagersOnConfirmation: boolean;
2884
+ contactOnConfirmation: ContactOnConfirmation;
2885
2885
  websiteSetting?: TenantWebsiteSetting;
2886
2886
  /**
2887
2887
  * Gets or sets the Tenant venues.
@@ -2906,15 +2906,15 @@ type CourseSessionSchedule = {
2906
2906
  /**
2907
2907
  * Gets or sets the tenant Id.
2908
2908
  */
2909
- tenantId?: string;
2909
+ tenantId: string;
2910
2910
  /**
2911
2911
  * Gets or sets the created date of this entity.
2912
2912
  */
2913
- dateCreated?: string;
2913
+ dateCreated: string;
2914
2914
  /**
2915
2915
  * Gets or sets the last modified date of this entity.
2916
2916
  */
2917
- dateModified?: string;
2917
+ dateModified: string;
2918
2918
  /**
2919
2919
  * Gets or sets the modified by Id.
2920
2920
  */
@@ -2922,7 +2922,7 @@ type CourseSessionSchedule = {
2922
2922
  /**
2923
2923
  * Gets or sets a value indicating whether the record is live and available for use within the application.
2924
2924
  */
2925
- isLive?: boolean;
2925
+ isLive: boolean;
2926
2926
  /**
2927
2927
  * Gets or sets the course id.
2928
2928
  */
@@ -2983,15 +2983,15 @@ type CourseSession = {
2983
2983
  /**
2984
2984
  * Gets or sets the tenant Id.
2985
2985
  */
2986
- tenantId?: string;
2986
+ tenantId: string;
2987
2987
  /**
2988
2988
  * Gets or sets the created date of this entity.
2989
2989
  */
2990
- dateCreated?: string;
2990
+ dateCreated: string;
2991
2991
  /**
2992
2992
  * Gets or sets the last modified date of this entity.
2993
2993
  */
2994
- dateModified?: string;
2994
+ dateModified: string;
2995
2995
  /**
2996
2996
  * Gets or sets the modified by Id.
2997
2997
  */
@@ -2999,7 +2999,7 @@ type CourseSession = {
2999
2999
  /**
3000
3000
  * Gets or sets a value indicating whether the record is live and available for use within the application.
3001
3001
  */
3002
- isLive?: boolean;
3002
+ isLive: boolean;
3003
3003
  /**
3004
3004
  * Gets a value indicating whether the slot is leased waiting confirmation to be made bookable by the Reach tenant. This status does not refer to a booking lease!.
3005
3005
  */
@@ -3064,15 +3064,15 @@ type Course = {
3064
3064
  /**
3065
3065
  * Gets or sets the tenant Id.
3066
3066
  */
3067
- tenantId?: string;
3067
+ tenantId: string;
3068
3068
  /**
3069
3069
  * Gets or sets the created date of this entity.
3070
3070
  */
3071
- dateCreated?: string;
3071
+ dateCreated: string;
3072
3072
  /**
3073
3073
  * Gets or sets the last modified date of this entity.
3074
3074
  */
3075
- dateModified?: string;
3075
+ dateModified: string;
3076
3076
  /**
3077
3077
  * Gets or sets the modified by Id.
3078
3078
  */
@@ -3080,7 +3080,7 @@ type Course = {
3080
3080
  /**
3081
3081
  * Gets or sets a value indicating whether the record is live and available for use within the application.
3082
3082
  */
3083
- isLive?: boolean;
3083
+ isLive: boolean;
3084
3084
  /**
3085
3085
  * Gets or sets the course duration, added to satisfy interface but is not applicable to courses.
3086
3086
  */
@@ -3377,15 +3377,15 @@ type OrderItem = {
3377
3377
  /**
3378
3378
  * Gets or sets the tenant Id.
3379
3379
  */
3380
- tenantId?: string;
3380
+ tenantId: string;
3381
3381
  /**
3382
3382
  * Gets or sets the created date of this entity.
3383
3383
  */
3384
- dateCreated?: string;
3384
+ dateCreated: string;
3385
3385
  /**
3386
3386
  * Gets or sets the last modified date of this entity.
3387
3387
  */
3388
- dateModified?: string;
3388
+ dateModified: string;
3389
3389
  /**
3390
3390
  * Gets or sets the modified by Id.
3391
3391
  */
@@ -3393,7 +3393,7 @@ type OrderItem = {
3393
3393
  /**
3394
3394
  * Gets or sets a value indicating whether the record is live and available for use within the application.
3395
3395
  */
3396
- isLive?: boolean;
3396
+ isLive: boolean;
3397
3397
  /**
3398
3398
  * Gets or sets the order id.
3399
3399
  */
@@ -3480,15 +3480,15 @@ type Payment = {
3480
3480
  /**
3481
3481
  * Gets or sets the tenant Id.
3482
3482
  */
3483
- tenantId?: string;
3483
+ tenantId: string;
3484
3484
  /**
3485
3485
  * Gets or sets the created date of this entity.
3486
3486
  */
3487
- dateCreated?: string;
3487
+ dateCreated: string;
3488
3488
  /**
3489
3489
  * Gets or sets the last modified date of this entity.
3490
3490
  */
3491
- dateModified?: string;
3491
+ dateModified: string;
3492
3492
  /**
3493
3493
  * Gets or sets the modified by Id.
3494
3494
  */
@@ -3496,7 +3496,7 @@ type Payment = {
3496
3496
  /**
3497
3497
  * Gets or sets a value indicating whether the record is live and available for use within the application.
3498
3498
  */
3499
- isLive?: boolean;
3499
+ isLive: boolean;
3500
3500
  /**
3501
3501
  * Gets or sets the order Id.
3502
3502
  */
@@ -3554,15 +3554,15 @@ type Order = {
3554
3554
  /**
3555
3555
  * Gets or sets the tenant Id.
3556
3556
  */
3557
- tenantId?: string;
3557
+ tenantId: string;
3558
3558
  /**
3559
3559
  * Gets or sets the created date of this entity.
3560
3560
  */
3561
- dateCreated?: string;
3561
+ dateCreated: string;
3562
3562
  /**
3563
3563
  * Gets or sets the last modified date of this entity.
3564
3564
  */
3565
- dateModified?: string;
3565
+ dateModified: string;
3566
3566
  /**
3567
3567
  * Gets or sets the modified by Id.
3568
3568
  */
@@ -3570,7 +3570,7 @@ type Order = {
3570
3570
  /**
3571
3571
  * Gets or sets a value indicating whether the record is live and available for use within the application.
3572
3572
  */
3573
- isLive?: boolean;
3573
+ isLive: boolean;
3574
3574
  /**
3575
3575
  * Gets or sets the venue Id.
3576
3576
  */
@@ -3658,7 +3658,7 @@ type Order = {
3658
3658
  /**
3659
3659
  * Gets or sets the first name.
3660
3660
  */
3661
- firstName?: string | null;
3661
+ firstName: string;
3662
3662
  /**
3663
3663
  * Gets or sets the last name.
3664
3664
  */
@@ -6347,15 +6347,15 @@ type EmailReminderSchedule = {
6347
6347
  /**
6348
6348
  * Gets or sets the tenant Id.
6349
6349
  */
6350
- tenantId?: string;
6350
+ tenantId: string;
6351
6351
  /**
6352
6352
  * Gets or sets the created date of this entity.
6353
6353
  */
6354
- dateCreated?: string;
6354
+ dateCreated: string;
6355
6355
  /**
6356
6356
  * Gets or sets the last modified date of this entity.
6357
6357
  */
6358
- dateModified?: string;
6358
+ dateModified: string;
6359
6359
  /**
6360
6360
  * Gets or sets the modified by Id.
6361
6361
  */
@@ -6363,7 +6363,7 @@ type EmailReminderSchedule = {
6363
6363
  /**
6364
6364
  * Gets or sets a value indicating whether the record is live and available for use within the application.
6365
6365
  */
6366
- isLive?: boolean;
6366
+ isLive: boolean;
6367
6367
  /**
6368
6368
  * Gets or sets the order Id.
6369
6369
  */
@@ -6698,15 +6698,15 @@ type EmailSetting = {
6698
6698
  /**
6699
6699
  * Gets or sets the tenant Id.
6700
6700
  */
6701
- tenantId?: string;
6701
+ tenantId: string;
6702
6702
  /**
6703
6703
  * Gets or sets the created date of this entity.
6704
6704
  */
6705
- dateCreated?: string;
6705
+ dateCreated: string;
6706
6706
  /**
6707
6707
  * Gets or sets the last modified date of this entity.
6708
6708
  */
6709
- dateModified?: string;
6709
+ dateModified: string;
6710
6710
  /**
6711
6711
  * Gets or sets the modified by Id.
6712
6712
  */
@@ -6714,7 +6714,7 @@ type EmailSetting = {
6714
6714
  /**
6715
6715
  * Gets or sets a value indicating whether the record is live and available for use within the application.
6716
6716
  */
6717
- isLive?: boolean;
6717
+ isLive: boolean;
6718
6718
  /**
6719
6719
  * Gets or sets the venue Id.
6720
6720
  */
@@ -7802,15 +7802,15 @@ type GenericActivity = {
7802
7802
  /**
7803
7803
  * Gets or sets the tenant Id.
7804
7804
  */
7805
- tenantId?: string;
7805
+ tenantId: string;
7806
7806
  /**
7807
7807
  * Gets or sets the created date of this entity.
7808
7808
  */
7809
- dateCreated?: string;
7809
+ dateCreated: string;
7810
7810
  /**
7811
7811
  * Gets or sets the last modified date of this entity.
7812
7812
  */
7813
- dateModified?: string;
7813
+ dateModified: string;
7814
7814
  /**
7815
7815
  * Gets or sets the modified by Id.
7816
7816
  */
@@ -7818,7 +7818,7 @@ type GenericActivity = {
7818
7818
  /**
7819
7819
  * Gets or sets a value indicating whether the record is live and available for use within the application.
7820
7820
  */
7821
- isLive?: boolean;
7821
+ isLive: boolean;
7822
7822
  /**
7823
7823
  * Gets or sets the venue Id.
7824
7824
  */
@@ -9435,15 +9435,15 @@ type NotificationQueue = {
9435
9435
  /**
9436
9436
  * Gets or sets the tenant Id.
9437
9437
  */
9438
- tenantId?: string;
9438
+ tenantId: string;
9439
9439
  /**
9440
9440
  * Gets or sets the created date of this entity.
9441
9441
  */
9442
- dateCreated?: string;
9442
+ dateCreated: string;
9443
9443
  /**
9444
9444
  * Gets or sets the last modified date of this entity.
9445
9445
  */
9446
- dateModified?: string;
9446
+ dateModified: string;
9447
9447
  /**
9448
9448
  * Gets or sets the modified by Id.
9449
9449
  */
@@ -9451,7 +9451,7 @@ type NotificationQueue = {
9451
9451
  /**
9452
9452
  * Gets or sets a value indicating whether the record is live and available for use within the application.
9453
9453
  */
9454
- isLive?: boolean;
9454
+ isLive: boolean;
9455
9455
  notificationType?: NotificationType;
9456
9456
  activityType?: ActivityType;
9457
9457
  /**
@@ -9772,15 +9772,15 @@ type NotificationSetting = {
9772
9772
  /**
9773
9773
  * Gets or sets the tenant Id.
9774
9774
  */
9775
- tenantId?: string;
9775
+ tenantId: string;
9776
9776
  /**
9777
9777
  * Gets or sets the created date of this entity.
9778
9778
  */
9779
- dateCreated?: string;
9779
+ dateCreated: string;
9780
9780
  /**
9781
9781
  * Gets or sets the last modified date of this entity.
9782
9782
  */
9783
- dateModified?: string;
9783
+ dateModified: string;
9784
9784
  /**
9785
9785
  * Gets or sets the modified by Id.
9786
9786
  */
@@ -9788,7 +9788,7 @@ type NotificationSetting = {
9788
9788
  /**
9789
9789
  * Gets or sets a value indicating whether the record is live and available for use within the application.
9790
9790
  */
9791
- isLive?: boolean;
9791
+ isLive: boolean;
9792
9792
  /**
9793
9793
  * Gets or sets the user id.
9794
9794
  */
@@ -10803,15 +10803,15 @@ type OpenactiveFeedIntermediate = {
10803
10803
  /**
10804
10804
  * Gets or sets the tenant Id.
10805
10805
  */
10806
- tenantId?: string;
10806
+ tenantId: string;
10807
10807
  /**
10808
10808
  * Gets or sets the created date of this entity.
10809
10809
  */
10810
- dateCreated?: string;
10810
+ dateCreated: string;
10811
10811
  /**
10812
10812
  * Gets or sets the last modified date of this entity.
10813
10813
  */
10814
- dateModified?: string;
10814
+ dateModified: string;
10815
10815
  /**
10816
10816
  * Gets or sets the modified by Id.
10817
10817
  */
@@ -10819,7 +10819,7 @@ type OpenactiveFeedIntermediate = {
10819
10819
  /**
10820
10820
  * Gets or sets a value indicating whether the record is live and available for use within the application.
10821
10821
  */
10822
- isLive?: boolean;
10822
+ isLive: boolean;
10823
10823
  /**
10824
10824
  * Gets or sets the model id.
10825
10825
  */
@@ -11128,15 +11128,15 @@ type OpenactiveFeedItem = {
11128
11128
  /**
11129
11129
  * Gets or sets the tenant Id.
11130
11130
  */
11131
- tenantId?: string;
11131
+ tenantId: string;
11132
11132
  /**
11133
11133
  * Gets or sets the created date of this entity.
11134
11134
  */
11135
- dateCreated?: string;
11135
+ dateCreated: string;
11136
11136
  /**
11137
11137
  * Gets or sets the last modified date of this entity.
11138
11138
  */
11139
- dateModified?: string;
11139
+ dateModified: string;
11140
11140
  /**
11141
11141
  * Gets or sets the modified by Id.
11142
11142
  */
@@ -11144,7 +11144,7 @@ type OpenactiveFeedItem = {
11144
11144
  /**
11145
11145
  * Gets or sets a value indicating whether the record is live and available for use within the application.
11146
11146
  */
11147
- isLive?: boolean;
11147
+ isLive: boolean;
11148
11148
  type?: ReachEntity;
11149
11149
  /**
11150
11150
  * Gets or sets the openactive intermediate reference id.
@@ -12212,15 +12212,15 @@ type OrgCourseUtilisation = {
12212
12212
  /**
12213
12213
  * Gets or sets the tenant Id.
12214
12214
  */
12215
- tenantId?: string;
12215
+ tenantId: string;
12216
12216
  /**
12217
12217
  * Gets or sets the created date of this entity.
12218
12218
  */
12219
- dateCreated?: string;
12219
+ dateCreated: string;
12220
12220
  /**
12221
12221
  * Gets or sets the last modified date of this entity.
12222
12222
  */
12223
- dateModified?: string;
12223
+ dateModified: string;
12224
12224
  /**
12225
12225
  * Gets or sets the modified by Id.
12226
12226
  */
@@ -12228,7 +12228,7 @@ type OrgCourseUtilisation = {
12228
12228
  /**
12229
12229
  * Gets or sets a value indicating whether the record is live and available for use within the application.
12230
12230
  */
12231
- isLive?: boolean;
12231
+ isLive: boolean;
12232
12232
  /**
12233
12233
  * Gets or sets the tenant name.
12234
12234
  */
@@ -13026,15 +13026,15 @@ type Permission = {
13026
13026
  /**
13027
13027
  * Gets or sets the tenant Id.
13028
13028
  */
13029
- tenantId?: string;
13029
+ tenantId: string;
13030
13030
  /**
13031
13031
  * Gets or sets the created date of this entity.
13032
13032
  */
13033
- dateCreated?: string;
13033
+ dateCreated: string;
13034
13034
  /**
13035
13035
  * Gets or sets the last modified date of this entity.
13036
13036
  */
13037
- dateModified?: string;
13037
+ dateModified: string;
13038
13038
  /**
13039
13039
  * Gets or sets the modified by Id.
13040
13040
  */
@@ -13042,7 +13042,7 @@ type Permission = {
13042
13042
  /**
13043
13043
  * Gets or sets a value indicating whether the record is live and available for use within the application.
13044
13044
  */
13045
- isLive?: boolean;
13045
+ isLive: boolean;
13046
13046
  /**
13047
13047
  * Gets or sets a value indicating whether a venue manager has add activities permissions.
13048
13048
  */
@@ -15332,15 +15332,15 @@ type OrderToken = {
15332
15332
  /**
15333
15333
  * Gets or sets the tenant Id.
15334
15334
  */
15335
- tenantId?: string;
15335
+ tenantId: string;
15336
15336
  /**
15337
15337
  * Gets or sets the created date of this entity.
15338
15338
  */
15339
- dateCreated?: string;
15339
+ dateCreated: string;
15340
15340
  /**
15341
15341
  * Gets or sets the last modified date of this entity.
15342
15342
  */
15343
- dateModified?: string;
15343
+ dateModified: string;
15344
15344
  /**
15345
15345
  * Gets or sets the modified by Id.
15346
15346
  */
@@ -15348,7 +15348,7 @@ type OrderToken = {
15348
15348
  /**
15349
15349
  * Gets or sets a value indicating whether the record is live and available for use within the application.
15350
15350
  */
15351
- isLive?: boolean;
15351
+ isLive: boolean;
15352
15352
  /**
15353
15353
  * Gets or sets the order Id.
15354
15354
  */
@@ -17305,15 +17305,15 @@ type SurveyQuestionOption = {
17305
17305
  /**
17306
17306
  * Gets or sets the tenant Id.
17307
17307
  */
17308
- tenantId?: string;
17308
+ tenantId: string;
17309
17309
  /**
17310
17310
  * Gets or sets the created date of this entity.
17311
17311
  */
17312
- dateCreated?: string;
17312
+ dateCreated: string;
17313
17313
  /**
17314
17314
  * Gets or sets the last modified date of this entity.
17315
17315
  */
17316
- dateModified?: string;
17316
+ dateModified: string;
17317
17317
  /**
17318
17318
  * Gets or sets the modified by Id.
17319
17319
  */
@@ -17321,7 +17321,7 @@ type SurveyQuestionOption = {
17321
17321
  /**
17322
17322
  * Gets or sets a value indicating whether the record is live and available for use within the application.
17323
17323
  */
17324
- isLive?: boolean;
17324
+ isLive: boolean;
17325
17325
  /**
17326
17326
  * Gets or sets the survey question id.
17327
17327
  */
@@ -17357,15 +17357,15 @@ type SurveyQuestion = {
17357
17357
  /**
17358
17358
  * Gets or sets the tenant Id.
17359
17359
  */
17360
- tenantId?: string;
17360
+ tenantId: string;
17361
17361
  /**
17362
17362
  * Gets or sets the created date of this entity.
17363
17363
  */
17364
- dateCreated?: string;
17364
+ dateCreated: string;
17365
17365
  /**
17366
17366
  * Gets or sets the last modified date of this entity.
17367
17367
  */
17368
- dateModified?: string;
17368
+ dateModified: string;
17369
17369
  /**
17370
17370
  * Gets or sets the modified by Id.
17371
17371
  */
@@ -17373,7 +17373,7 @@ type SurveyQuestion = {
17373
17373
  /**
17374
17374
  * Gets or sets a value indicating whether the record is live and available for use within the application.
17375
17375
  */
17376
- isLive?: boolean;
17376
+ isLive: boolean;
17377
17377
  /**
17378
17378
  * Gets or sets the survey id.
17379
17379
  */
@@ -17761,15 +17761,15 @@ type Survey = {
17761
17761
  /**
17762
17762
  * Gets or sets the tenant Id.
17763
17763
  */
17764
- tenantId?: string;
17764
+ tenantId: string;
17765
17765
  /**
17766
17766
  * Gets or sets the created date of this entity.
17767
17767
  */
17768
- dateCreated?: string;
17768
+ dateCreated: string;
17769
17769
  /**
17770
17770
  * Gets or sets the last modified date of this entity.
17771
17771
  */
17772
- dateModified?: string;
17772
+ dateModified: string;
17773
17773
  /**
17774
17774
  * Gets or sets the modified by Id.
17775
17775
  */
@@ -17777,7 +17777,7 @@ type Survey = {
17777
17777
  /**
17778
17778
  * Gets or sets a value indicating whether the record is live and available for use within the application.
17779
17779
  */
17780
- isLive?: boolean;
17780
+ isLive: boolean;
17781
17781
  /**
17782
17782
  * Gets or sets the survey name.
17783
17783
  */
@@ -19277,15 +19277,15 @@ type RecentOrderActivityReport = {
19277
19277
  /**
19278
19278
  * Gets or sets the tenant Id.
19279
19279
  */
19280
- tenantId?: string;
19280
+ tenantId: string;
19281
19281
  /**
19282
19282
  * Gets or sets the created date of this entity.
19283
19283
  */
19284
- dateCreated?: string;
19284
+ dateCreated: string;
19285
19285
  /**
19286
19286
  * Gets or sets the last modified date of this entity.
19287
19287
  */
19288
- dateModified?: string;
19288
+ dateModified: string;
19289
19289
  /**
19290
19290
  * Gets or sets the modified by Id.
19291
19291
  */
@@ -19293,7 +19293,7 @@ type RecentOrderActivityReport = {
19293
19293
  /**
19294
19294
  * Gets or sets a value indicating whether the record is live and available for use within the application.
19295
19295
  */
19296
- isLive?: boolean;
19296
+ isLive: boolean;
19297
19297
  /**
19298
19298
  * Gets or sets the venue name.
19299
19299
  */
@@ -21103,15 +21103,15 @@ type SlotOffer = {
21103
21103
  /**
21104
21104
  * Gets or sets the tenant Id.
21105
21105
  */
21106
- tenantId?: string;
21106
+ tenantId: string;
21107
21107
  /**
21108
21108
  * Gets or sets the created date of this entity.
21109
21109
  */
21110
- dateCreated?: string;
21110
+ dateCreated: string;
21111
21111
  /**
21112
21112
  * Gets or sets the last modified date of this entity.
21113
21113
  */
21114
- dateModified?: string;
21114
+ dateModified: string;
21115
21115
  /**
21116
21116
  * Gets or sets the modified by Id.
21117
21117
  */
@@ -21119,7 +21119,7 @@ type SlotOffer = {
21119
21119
  /**
21120
21120
  * Gets or sets a value indicating whether the record is live and available for use within the application.
21121
21121
  */
21122
- isLive?: boolean;
21122
+ isLive: boolean;
21123
21123
  /**
21124
21124
  * Gets or sets the facility venue id.
21125
21125
  */
@@ -21936,15 +21936,15 @@ type SlotScheduleOffer = {
21936
21936
  /**
21937
21937
  * Gets or sets the tenant Id.
21938
21938
  */
21939
- tenantId?: string;
21939
+ tenantId: string;
21940
21940
  /**
21941
21941
  * Gets or sets the created date of this entity.
21942
21942
  */
21943
- dateCreated?: string;
21943
+ dateCreated: string;
21944
21944
  /**
21945
21945
  * Gets or sets the last modified date of this entity.
21946
21946
  */
21947
- dateModified?: string;
21947
+ dateModified: string;
21948
21948
  /**
21949
21949
  * Gets or sets the modified by Id.
21950
21950
  */
@@ -21952,7 +21952,7 @@ type SlotScheduleOffer = {
21952
21952
  /**
21953
21953
  * Gets or sets a value indicating whether the record is live and available for use within the application.
21954
21954
  */
21955
- isLive?: boolean;
21955
+ isLive: boolean;
21956
21956
  /**
21957
21957
  * Gets or sets the slot schedule id.
21958
21958
  */
@@ -23054,15 +23054,15 @@ type SurveyAnswer = {
23054
23054
  /**
23055
23055
  * Gets or sets the tenant Id.
23056
23056
  */
23057
- tenantId?: string;
23057
+ tenantId: string;
23058
23058
  /**
23059
23059
  * Gets or sets the created date of this entity.
23060
23060
  */
23061
- dateCreated?: string;
23061
+ dateCreated: string;
23062
23062
  /**
23063
23063
  * Gets or sets the last modified date of this entity.
23064
23064
  */
23065
- dateModified?: string;
23065
+ dateModified: string;
23066
23066
  /**
23067
23067
  * Gets or sets the modified by Id.
23068
23068
  */
@@ -23070,7 +23070,7 @@ type SurveyAnswer = {
23070
23070
  /**
23071
23071
  * Gets or sets a value indicating whether the record is live and available for use within the application.
23072
23072
  */
23073
- isLive?: boolean;
23073
+ isLive: boolean;
23074
23074
  /**
23075
23075
  * Gets or sets the survey id.
23076
23076
  */
@@ -23783,15 +23783,15 @@ type SurveyReportExtended = {
23783
23783
  /**
23784
23784
  * Gets or sets the tenant Id.
23785
23785
  */
23786
- tenantId?: string;
23786
+ tenantId: string;
23787
23787
  /**
23788
23788
  * Gets or sets the created date of this entity.
23789
23789
  */
23790
- dateCreated?: string;
23790
+ dateCreated: string;
23791
23791
  /**
23792
23792
  * Gets or sets the last modified date of this entity.
23793
23793
  */
23794
- dateModified?: string;
23794
+ dateModified: string;
23795
23795
  /**
23796
23796
  * Gets or sets the modified by Id.
23797
23797
  */
@@ -23799,7 +23799,7 @@ type SurveyReportExtended = {
23799
23799
  /**
23800
23800
  * Gets or sets a value indicating whether the record is live and available for use within the application.
23801
23801
  */
23802
- isLive?: boolean;
23802
+ isLive: boolean;
23803
23803
  };
23804
23804
 
23805
23805
  type SurveyReportExtendedPage = {
@@ -24404,6 +24404,12 @@ declare class SurveysService {
24404
24404
  declare class TenantsService {
24405
24405
  readonly httpRequest: BaseHttpRequest;
24406
24406
  constructor(httpRequest: BaseHttpRequest);
24407
+ /**
24408
+ * Gets the current tenant.
24409
+ * @returns Tenant Success
24410
+ * @throws ApiError
24411
+ */
24412
+ getTenant(): CancelablePromise<Tenant>;
24407
24413
  /**
24408
24414
  * Returns a value indicating whether the tenant has completed all of the fundemental setup tasks.
24409
24415
  * @returns boolean Success
@@ -25189,15 +25195,15 @@ type TotalRevenueReport = {
25189
25195
  /**
25190
25196
  * Gets or sets the tenant Id.
25191
25197
  */
25192
- tenantId?: string;
25198
+ tenantId: string;
25193
25199
  /**
25194
25200
  * Gets or sets the created date of this entity.
25195
25201
  */
25196
- dateCreated?: string;
25202
+ dateCreated: string;
25197
25203
  /**
25198
25204
  * Gets or sets the last modified date of this entity.
25199
25205
  */
25200
- dateModified?: string;
25206
+ dateModified: string;
25201
25207
  /**
25202
25208
  * Gets or sets the modified by Id.
25203
25209
  */
@@ -25205,7 +25211,7 @@ type TotalRevenueReport = {
25205
25211
  /**
25206
25212
  * Gets or sets a value indicating whether the record is live and available for use within the application.
25207
25213
  */
25208
- isLive?: boolean;
25214
+ isLive: boolean;
25209
25215
  /**
25210
25216
  * Gets or sets the record index.
25211
25217
  */
@@ -25584,6 +25590,12 @@ type UserPost = {
25584
25590
  declare class UsersService {
25585
25591
  readonly httpRequest: BaseHttpRequest;
25586
25592
  constructor(httpRequest: BaseHttpRequest);
25593
+ /**
25594
+ * Gets the current user.
25595
+ * @returns User Success
25596
+ * @throws ApiError
25597
+ */
25598
+ getUser(): CancelablePromise<User>;
25587
25599
  /**
25588
25600
  * Checks whether stripe accounts exist for the .
25589
25601
  * @returns boolean Success
@@ -26385,15 +26397,15 @@ type VenuesReport = {
26385
26397
  /**
26386
26398
  * Gets or sets the tenant Id.
26387
26399
  */
26388
- tenantId?: string;
26400
+ tenantId: string;
26389
26401
  /**
26390
26402
  * Gets or sets the created date of this entity.
26391
26403
  */
26392
- dateCreated?: string;
26404
+ dateCreated: string;
26393
26405
  /**
26394
26406
  * Gets or sets the last modified date of this entity.
26395
26407
  */
26396
- dateModified?: string;
26408
+ dateModified: string;
26397
26409
  /**
26398
26410
  * Gets or sets the modified by Id.
26399
26411
  */
@@ -26401,7 +26413,7 @@ type VenuesReport = {
26401
26413
  /**
26402
26414
  * Gets or sets a value indicating whether the record is live and available for use within the application.
26403
26415
  */
26404
- isLive?: boolean;
26416
+ isLive: boolean;
26405
26417
  /**
26406
26418
  * Gets or sets the tenant name.
26407
26419
  */