reach-api-sdk 1.0.217 → 1.0.219

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 (74) hide show
  1. package/dist/reach-sdk.d.ts +3711 -580
  2. package/dist/reach-sdk.js +2422 -284
  3. package/package.json +1 -1
  4. package/src/apiClient.ts +18 -0
  5. package/src/definition/swagger.yaml +19899 -12337
  6. package/src/index.ts +26 -0
  7. package/src/models/AccessCredential.ts +74 -0
  8. package/src/models/AccessCredentialPage.ts +12 -0
  9. package/src/models/AccessCredentialPatch.ts +18 -0
  10. package/src/models/AccessCredentialPost.ts +14 -0
  11. package/src/models/ActivityType.ts +1 -0
  12. package/src/models/CodelocksLock.ts +62 -0
  13. package/src/models/CodelocksLockPage.ts +12 -0
  14. package/src/models/CodelocksLockPatch.ts +46 -0
  15. package/src/models/CodelocksLockPost.ts +42 -0
  16. package/src/models/Course.ts +4 -0
  17. package/src/models/CourseCreate.ts +4 -0
  18. package/src/models/CoursePatch.ts +4 -0
  19. package/src/models/CourseSession.ts +1 -1
  20. package/src/models/DealActivity.ts +4 -0
  21. package/src/models/DealActivityPost.ts +4 -0
  22. package/src/models/EmailSetting.ts +4 -0
  23. package/src/models/Facility.ts +8 -4
  24. package/src/models/FacilityPatch.ts +4 -0
  25. package/src/models/FacilityPost.ts +4 -0
  26. package/src/models/FeatureAnnouncementDismissPost.ts +14 -0
  27. package/src/models/FeatureAnnouncementForUserDto.ts +38 -0
  28. package/src/models/GenericActivity.ts +4 -0
  29. package/src/models/Image.ts +4 -0
  30. package/src/models/IntegrationCodelocksSettings.ts +38 -0
  31. package/src/models/IntegrationCodelocksSettingsCreate.ts +18 -0
  32. package/src/models/IntegrationCodelocksSettingsPage.ts +12 -0
  33. package/src/models/IntegrationCodelocksSettingsPatch.ts +22 -0
  34. package/src/models/IntegrationCodelocksSettingsPost.ts +18 -0
  35. package/src/models/IntegrationQueue.ts +4 -0
  36. package/src/models/IntegrationType.ts +1 -0
  37. package/src/models/NotificationType.ts +1 -0
  38. package/src/models/Offer.ts +4 -0
  39. package/src/models/OfferPatch.ts +4 -0
  40. package/src/models/OfferPost.ts +4 -0
  41. package/src/models/OpportunityType.ts +1 -0
  42. package/src/models/Order.ts +3 -3
  43. package/src/models/OrderItem.ts +11 -3
  44. package/src/models/OrderItemCodelocksAccess.ts +14 -0
  45. package/src/models/OrderItemReport.ts +25 -1
  46. package/src/models/OrderPatchItem.ts +4 -0
  47. package/src/models/OrderPostItem.ts +4 -0
  48. package/src/models/SellableItem.ts +194 -0
  49. package/src/models/SellableItemPage.ts +12 -0
  50. package/src/models/SellableItemPatch.ts +150 -0
  51. package/src/models/SellableItemPost.ts +145 -0
  52. package/src/models/Session.ts +4 -0
  53. package/src/models/SessionCreate.ts +4 -0
  54. package/src/models/SessionPatch.ts +4 -0
  55. package/src/models/Survey.ts +3 -3
  56. package/src/models/SurveyAnswer.ts +4 -4
  57. package/src/models/SurveyQuestion.ts +3 -3
  58. package/src/models/SurveyQuestionOption.ts +2 -2
  59. package/src/models/WaitlistActivity.ts +3 -3
  60. package/src/models/WaitlistOpportunity.ts +4 -4
  61. package/src/services/AccessCredentialsService.ts +812 -0
  62. package/src/services/CodelocksLocksService.ts +752 -0
  63. package/src/services/DealActivitiesService.ts +60 -0
  64. package/src/services/EmailSettingsService.ts +30 -0
  65. package/src/services/FeatureAnnouncementsService.ts +56 -0
  66. package/src/services/ImagesService.ts +30 -0
  67. package/src/services/IntegrationCodelocksSettingsService.ts +689 -0
  68. package/src/services/IntegrationQueueService.ts +30 -0
  69. package/src/services/OffersService.ts +60 -0
  70. package/src/services/OrderItemsService.ts +30 -0
  71. package/src/services/PublicOrderItemsService.ts +12 -0
  72. package/src/services/PublicSellableItemsService.ts +473 -0
  73. package/src/services/SellableItemsService.ts +962 -0
  74. package/src/services/SessionsService.ts +2 -2
package/src/index.ts CHANGED
@@ -10,6 +10,10 @@ export { CancelablePromise, CancelError } from './core/CancelablePromise';
10
10
  export { OpenAPI } from './core/OpenAPI';
11
11
  export type { OpenAPIConfig } from './core/OpenAPI';
12
12
 
13
+ export type { AccessCredential } from './models/AccessCredential';
14
+ export type { AccessCredentialPage } from './models/AccessCredentialPage';
15
+ export type { AccessCredentialPatch } from './models/AccessCredentialPatch';
16
+ export type { AccessCredentialPost } from './models/AccessCredentialPost';
13
17
  export type { Activity } from './models/Activity';
14
18
  export type { ActivityFacet } from './models/ActivityFacet';
15
19
  export type { ActivityPerformance } from './models/ActivityPerformance';
@@ -41,6 +45,10 @@ export type { CancellationPolicyPatch } from './models/CancellationPolicyPatch';
41
45
  export type { CancellationPolicyPost } from './models/CancellationPolicyPost';
42
46
  export { CheckoutPlatform } from './models/CheckoutPlatform';
43
47
  export type { ChoiceMessage } from './models/ChoiceMessage';
48
+ export type { CodelocksLock } from './models/CodelocksLock';
49
+ export type { CodelocksLockPage } from './models/CodelocksLockPage';
50
+ export type { CodelocksLockPatch } from './models/CodelocksLockPatch';
51
+ export type { CodelocksLockPost } from './models/CodelocksLockPost';
44
52
  export type { CompletionChoice } from './models/CompletionChoice';
45
53
  export { ContactOnConfirmation } from './models/ContactOnConfirmation';
46
54
  export type { Country } from './models/Country';
@@ -138,6 +146,8 @@ export { FacilityIndividualsType } from './models/FacilityIndividualsType';
138
146
  export type { FacilityPage } from './models/FacilityPage';
139
147
  export type { FacilityPatch } from './models/FacilityPatch';
140
148
  export type { FacilityPost } from './models/FacilityPost';
149
+ export type { FeatureAnnouncementDismissPost } from './models/FeatureAnnouncementDismissPost';
150
+ export type { FeatureAnnouncementForUserDto } from './models/FeatureAnnouncementForUserDto';
141
151
  export { FieldPermission } from './models/FieldPermission';
142
152
  export type { FilestackImageMetaResponseModel } from './models/FilestackImageMetaResponseModel';
143
153
  export { Gender } from './models/Gender';
@@ -161,6 +171,11 @@ export type { ImageUploadHistory } from './models/ImageUploadHistory';
161
171
  export type { ImageUploadHistoryPage } from './models/ImageUploadHistoryPage';
162
172
  export type { ImageUploadHistoryPatch } from './models/ImageUploadHistoryPatch';
163
173
  export type { ImageUploadHistoryPost } from './models/ImageUploadHistoryPost';
174
+ export type { IntegrationCodelocksSettings } from './models/IntegrationCodelocksSettings';
175
+ export type { IntegrationCodelocksSettingsCreate } from './models/IntegrationCodelocksSettingsCreate';
176
+ export type { IntegrationCodelocksSettingsPage } from './models/IntegrationCodelocksSettingsPage';
177
+ export type { IntegrationCodelocksSettingsPatch } from './models/IntegrationCodelocksSettingsPatch';
178
+ export type { IntegrationCodelocksSettingsPost } from './models/IntegrationCodelocksSettingsPost';
164
179
  export type { IntegrationDotdigitalFieldMap } from './models/IntegrationDotdigitalFieldMap';
165
180
  export type { IntegrationDotdigitalFieldMapPage } from './models/IntegrationDotdigitalFieldMapPage';
166
181
  export type { IntegrationDotdigitalFieldMapPatch } from './models/IntegrationDotdigitalFieldMapPatch';
@@ -223,6 +238,7 @@ export type { OrderApplyDiscountCode } from './models/OrderApplyDiscountCode';
223
238
  export type { OrderDeal } from './models/OrderDeal';
224
239
  export type { OrderEmailCustomerPatch } from './models/OrderEmailCustomerPatch';
225
240
  export type { OrderItem } from './models/OrderItem';
241
+ export type { OrderItemCodelocksAccess } from './models/OrderItemCodelocksAccess';
226
242
  export type { OrderItemDeal } from './models/OrderItemDeal';
227
243
  export type { OrderItemPage } from './models/OrderItemPage';
228
244
  export type { OrderItemPatch } from './models/OrderItemPatch';
@@ -327,6 +343,10 @@ export type { ScheduledSessionSchedulePost } from './models/ScheduledSessionSche
327
343
  export { ScheduledSessionSearchSortBy } from './models/ScheduledSessionSearchSortBy';
328
344
  export { ScheduleStatus } from './models/ScheduleStatus';
329
345
  export { SearchSortOrderDirection } from './models/SearchSortOrderDirection';
346
+ export type { SellableItem } from './models/SellableItem';
347
+ export type { SellableItemPage } from './models/SellableItemPage';
348
+ export type { SellableItemPatch } from './models/SellableItemPatch';
349
+ export type { SellableItemPost } from './models/SellableItemPost';
330
350
  export type { Session } from './models/Session';
331
351
  export type { SessionCreate } from './models/SessionCreate';
332
352
  export type { SessionPage } from './models/SessionPage';
@@ -520,6 +540,7 @@ export type { WalletTransactionPost } from './models/WalletTransactionPost';
520
540
  export { WalletTransactionType } from './models/WalletTransactionType';
521
541
  export { WebsiteHomepage } from './models/WebsiteHomepage';
522
542
 
543
+ export { AccessCredentialsService } from './services/AccessCredentialsService';
523
544
  export { ActivityService } from './services/ActivityService';
524
545
  export { ActivityPerformanceService } from './services/ActivityPerformanceService';
525
546
  export { ActivityTypeCategoryService } from './services/ActivityTypeCategoryService';
@@ -529,6 +550,7 @@ export { BadEnglandReportService } from './services/BadEnglandReportService';
529
550
  export { BookingService } from './services/BookingService';
530
551
  export { CancellationPoliciesService } from './services/CancellationPoliciesService';
531
552
  export { ChatService } from './services/ChatService';
553
+ export { CodelocksLocksService } from './services/CodelocksLocksService';
532
554
  export { CountryService } from './services/CountryService';
533
555
  export { CoursesService } from './services/CoursesService';
534
556
  export { CourseSessionsService } from './services/CourseSessionsService';
@@ -547,6 +569,7 @@ export { EndUserIdentitySecureTokenService } from './services/EndUserIdentitySec
547
569
  export { EnglandGolfReportService } from './services/EnglandGolfReportService';
548
570
  export { FacilitiesService } from './services/FacilitiesService';
549
571
  export { FacilityIndividualsService } from './services/FacilityIndividualsService';
572
+ export { FeatureAnnouncementsService } from './services/FeatureAnnouncementsService';
550
573
  export { FilestackService } from './services/FilestackService';
551
574
  export { GenericActivityService } from './services/GenericActivityService';
552
575
  export { GeocodeService } from './services/GeocodeService';
@@ -556,6 +579,7 @@ export { ImageLibraryCategoryService } from './services/ImageLibraryCategoryServ
556
579
  export { ImageLibraryImageService } from './services/ImageLibraryImageService';
557
580
  export { ImagesService } from './services/ImagesService';
558
581
  export { ImageUploadHistoryService } from './services/ImageUploadHistoryService';
582
+ export { IntegrationCodelocksSettingsService } from './services/IntegrationCodelocksSettingsService';
559
583
  export { IntegrationDotdigitalFieldMapService } from './services/IntegrationDotdigitalFieldMapService';
560
584
  export { IntegrationDotdigitalLogService } from './services/IntegrationDotdigitalLogService';
561
585
  export { IntegrationDotDigitalSettingsService } from './services/IntegrationDotDigitalSettingsService';
@@ -598,6 +622,7 @@ export { PublicOrderTokensService } from './services/PublicOrderTokensService';
598
622
  export { PublicProgrammesService } from './services/PublicProgrammesService';
599
623
  export { PublicProvidersService } from './services/PublicProvidersService';
600
624
  export { PublicScheduledSessionsService } from './services/PublicScheduledSessionsService';
625
+ export { PublicSellableItemsService } from './services/PublicSellableItemsService';
601
626
  export { PublicSessionsService } from './services/PublicSessionsService';
602
627
  export { PublicSlotsService } from './services/PublicSlotsService';
603
628
  export { PublicStorefrontStaffPreviewService } from './services/PublicStorefrontStaffPreviewService';
@@ -615,6 +640,7 @@ export { RegisterReportService } from './services/RegisterReportService';
615
640
  export { RescheduleLogService } from './services/RescheduleLogService';
616
641
  export { ScheduledSessionsService } from './services/ScheduledSessionsService';
617
642
  export { ScheduledSessionsSchedulesService } from './services/ScheduledSessionsSchedulesService';
643
+ export { SellableItemsService } from './services/SellableItemsService';
618
644
  export { SessionsService } from './services/SessionsService';
619
645
  export { SlotOffersService } from './services/SlotOffersService';
620
646
  export { SlotsService } from './services/SlotsService';
@@ -0,0 +1,74 @@
1
+ /* generated using openapi-typescript-codegen -- do no edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+
6
+ /**
7
+ * Lifecycle record for a generated or pending access code (e.g. Codelocks NetCode) tied to an order.
8
+ */
9
+ export type AccessCredential = {
10
+ /**
11
+ * Gets or sets the entities Id.
12
+ */
13
+ id?: string;
14
+ /**
15
+ * Gets or sets the tenant Id.
16
+ */
17
+ tenantId: string;
18
+ /**
19
+ * Gets or sets the created date of this entity.
20
+ */
21
+ dateCreated: string;
22
+ /**
23
+ * Gets or sets the last modified date of this entity.
24
+ */
25
+ dateModified: string;
26
+ /**
27
+ * Gets or sets the modified by Id.
28
+ */
29
+ modifiedById?: string | null;
30
+ /**
31
+ * Gets or sets a value indicating whether the record is live and available for use within the application.
32
+ */
33
+ isLive: boolean;
34
+ /**
35
+ * Gets or sets the registered lock used when generating the code.
36
+ */
37
+ codelocksLockId?: string;
38
+ /**
39
+ * Gets or sets the parent order id.
40
+ */
41
+ orderId?: string;
42
+ /**
43
+ * Gets or sets the order line id when the grant applies to a single line.
44
+ */
45
+ orderItemId?: string | null;
46
+ /**
47
+ * Gets or sets the credential lifecycle status (see Reach.Models.AccessCredentialStatus).
48
+ */
49
+ status?: string | null;
50
+ /**
51
+ * Gets or sets the idempotency key for generation and queue processing.
52
+ */
53
+ idempotencyKey?: string | null;
54
+ /**
55
+ * Gets or sets the generated access code when available.
56
+ */
57
+ accessCode?: string | null;
58
+ /**
59
+ * Gets or sets the validity start (UTC).
60
+ */
61
+ validFromUtc?: string | null;
62
+ /**
63
+ * Gets or sets the validity end (UTC).
64
+ */
65
+ validToUtc?: string | null;
66
+ /**
67
+ * Gets or sets when the code was successfully retrieved from the supplier.
68
+ */
69
+ generatedUtc?: string | null;
70
+ /**
71
+ * Gets or sets when the customer was notified or saw the code in a channel.
72
+ */
73
+ deliveredToCustomerUtc?: string | null;
74
+ };
@@ -0,0 +1,12 @@
1
+ /* generated using openapi-typescript-codegen -- do no edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+
6
+ import type { AccessCredential } from './AccessCredential';
7
+ import type { Pagination } from './Pagination';
8
+
9
+ export type AccessCredentialPage = {
10
+ pagination: Pagination;
11
+ readonly items: Array<AccessCredential>;
12
+ };
@@ -0,0 +1,18 @@
1
+ /* generated using openapi-typescript-codegen -- do no edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+
6
+ /**
7
+ * Patch model for access credential updates.
8
+ */
9
+ export type AccessCredentialPatch = {
10
+ /**
11
+ * Gets or sets the tenant Id.
12
+ */
13
+ tenantId: string;
14
+ /**
15
+ * Gets or sets the Id.
16
+ */
17
+ id: string;
18
+ };
@@ -0,0 +1,14 @@
1
+ /* generated using openapi-typescript-codegen -- do no edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+
6
+ /**
7
+ * Post model for access credential inserts (system use).
8
+ */
9
+ export type AccessCredentialPost = {
10
+ /**
11
+ * Gets or sets the tenant Id.
12
+ */
13
+ tenantId: string;
14
+ };
@@ -10,4 +10,5 @@ export enum ActivityType {
10
10
  FACILITY = 'Facility',
11
11
  SESSION = 'Session',
12
12
  COURSE = 'Course',
13
+ SELLABLE_ITEM = 'SellableItem',
13
14
  }
@@ -0,0 +1,62 @@
1
+ /* generated using openapi-typescript-codegen -- do no edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+
6
+ /**
7
+ * Tenant-scoped registry entry for a physical Codelocks device used when generating NetCodes.
8
+ */
9
+ export type CodelocksLock = {
10
+ /**
11
+ * Gets or sets the entities Id.
12
+ */
13
+ id?: string;
14
+ /**
15
+ * Gets or sets the tenant Id.
16
+ */
17
+ tenantId: string;
18
+ /**
19
+ * Gets or sets the created date of this entity.
20
+ */
21
+ dateCreated: string;
22
+ /**
23
+ * Gets or sets the last modified date of this entity.
24
+ */
25
+ dateModified: string;
26
+ /**
27
+ * Gets or sets the modified by Id.
28
+ */
29
+ modifiedById?: string | null;
30
+ /**
31
+ * Gets or sets a value indicating whether the record is live and available for use within the application.
32
+ */
33
+ isLive: boolean;
34
+ /**
35
+ * Gets or sets the display name for the lock.
36
+ */
37
+ name?: string | null;
38
+ /**
39
+ * Gets or sets an optional location description (e.g. door, building).
40
+ */
41
+ location?: string | null;
42
+ /**
43
+ * Gets or sets the IANA timezone for lock-side scheduling context.
44
+ */
45
+ timezone?: string | null;
46
+ /**
47
+ * Gets or sets the supplier lock model (e.g. KL1060, C3SMART).
48
+ */
49
+ lockModel?: string | null;
50
+ /**
51
+ * Gets or sets the path segment for `GET .../netcode/{id}` (C3SMART LockID or timecode for other models).
52
+ */
53
+ netcodePathId?: string | null;
54
+ /**
55
+ * Gets or sets the lock identifier sent as the `identifer` query parameter to Codelocks Connect.
56
+ */
57
+ identifier?: string | null;
58
+ /**
59
+ * Gets or sets a value indicating whether this lock can be selected for new bookings.
60
+ */
61
+ isActive?: boolean;
62
+ };
@@ -0,0 +1,12 @@
1
+ /* generated using openapi-typescript-codegen -- do no edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+
6
+ import type { CodelocksLock } from './CodelocksLock';
7
+ import type { Pagination } from './Pagination';
8
+
9
+ export type CodelocksLockPage = {
10
+ pagination: Pagination;
11
+ readonly items: Array<CodelocksLock>;
12
+ };
@@ -0,0 +1,46 @@
1
+ /* generated using openapi-typescript-codegen -- do no edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+
6
+ /**
7
+ * Patch model for Codelocks lock updates.
8
+ */
9
+ export type CodelocksLockPatch = {
10
+ /**
11
+ * Gets or sets the tenant Id.
12
+ */
13
+ tenantId: string;
14
+ /**
15
+ * Gets or sets the Id.
16
+ */
17
+ id: string;
18
+ /**
19
+ * Gets or sets the display name for the lock.
20
+ */
21
+ name?: string | null;
22
+ /**
23
+ * Gets or sets an optional location description.
24
+ */
25
+ location?: string | null;
26
+ /**
27
+ * Gets or sets the IANA timezone.
28
+ */
29
+ timezone?: string | null;
30
+ /**
31
+ * Gets or sets the supplier lock model.
32
+ */
33
+ lockModel?: string | null;
34
+ /**
35
+ * Gets or sets the NetCode path id.
36
+ */
37
+ netcodePathId?: string | null;
38
+ /**
39
+ * Gets or sets the lock identifier for the Codelocks API.
40
+ */
41
+ identifier?: string | null;
42
+ /**
43
+ * Gets or sets a value indicating whether this lock is active.
44
+ */
45
+ isActive?: boolean | null;
46
+ };
@@ -0,0 +1,42 @@
1
+ /* generated using openapi-typescript-codegen -- do no edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+
6
+ /**
7
+ * Post model for Codelocks lock inserts.
8
+ */
9
+ export type CodelocksLockPost = {
10
+ /**
11
+ * Gets or sets the tenant Id.
12
+ */
13
+ tenantId: string;
14
+ /**
15
+ * Gets or sets the display name for the lock.
16
+ */
17
+ name?: string | null;
18
+ /**
19
+ * Gets or sets an optional location description.
20
+ */
21
+ location?: string | null;
22
+ /**
23
+ * Gets or sets the IANA timezone.
24
+ */
25
+ timezone?: string | null;
26
+ /**
27
+ * Gets or sets the supplier lock model.
28
+ */
29
+ lockModel?: string | null;
30
+ /**
31
+ * Gets or sets the NetCode path id.
32
+ */
33
+ netcodePathId?: string | null;
34
+ /**
35
+ * Gets or sets the lock identifier for the Codelocks API.
36
+ */
37
+ identifier?: string | null;
38
+ /**
39
+ * Gets or sets a value indicating whether this lock is active.
40
+ */
41
+ isActive?: boolean | null;
42
+ };
@@ -63,6 +63,10 @@ export type Course = {
63
63
  * Gets or sets the activity venue id.
64
64
  */
65
65
  venueId?: string | null;
66
+ /**
67
+ * Gets or sets the optional registered Codelocks lock for NetCode access (course or session template).
68
+ */
69
+ codelocksLockId?: string | null;
66
70
  /**
67
71
  * Gets or sets the session activity id.
68
72
  */
@@ -150,4 +150,8 @@ export type CourseCreate = {
150
150
  * Gets or sets the session deals.
151
151
  */
152
152
  deals?: Array<CreateDeal> | null;
153
+ /**
154
+ * Gets or sets the optional registered Codelocks lock for NetCode access.
155
+ */
156
+ codelocksLockId?: string | null;
153
157
  };
@@ -169,6 +169,10 @@ export type CoursePatch = {
169
169
  * Gets or sets optional storefront message for pre-registration.
170
170
  */
171
171
  preRegistrationMessage?: string | null;
172
+ /**
173
+ * Gets or sets the optional registered Codelocks lock for NetCode access.
174
+ */
175
+ codelocksLockId?: string | null;
172
176
  emailSettings?: UpdateEmailSettings;
173
177
  /**
174
178
  * Gets or sets the course offers.
@@ -50,7 +50,7 @@ export type CourseSession = {
50
50
  /**
51
51
  * Gets or sets the session id.
52
52
  */
53
- courseId?: string | null;
53
+ courseId: string;
54
54
  status?: SlotStatus;
55
55
  /**
56
56
  * Gets or sets the scheduled session creation lease expiry. Preventing other scheduled sessions from overwriting until the lease expires.
@@ -45,5 +45,9 @@ export type DealActivity = {
45
45
  * Gets or sets the session id.
46
46
  */
47
47
  sessionId?: string | null;
48
+ /**
49
+ * Gets or sets the sellable item id.
50
+ */
51
+ sellableItemId?: string | null;
48
52
  deal?: Deal;
49
53
  };
@@ -23,4 +23,8 @@ export type DealActivityPost = {
23
23
  * Gets or sets the session id.
24
24
  */
25
25
  sessionId?: string | null;
26
+ /**
27
+ * Gets or sets the sellable item id.
28
+ */
29
+ sellableItemId?: string | null;
26
30
  };
@@ -51,6 +51,10 @@ export type EmailSetting = {
51
51
  * Gets or sets the course Id.
52
52
  */
53
53
  courseId?: string | null;
54
+ /**
55
+ * Gets or sets the sellable item Id.
56
+ */
57
+ sellableItemId?: string | null;
54
58
  /**
55
59
  * Gets or sets the order confirmation text.
56
60
  */
@@ -46,11 +46,11 @@ export type Facility = {
46
46
  /**
47
47
  * Gets or sets the facility venue id.
48
48
  */
49
- venueId?: string | null;
49
+ venueId: string;
50
50
  /**
51
51
  * Gets or sets the facility activity id.
52
52
  */
53
- activityId?: number | null;
53
+ activityId: number;
54
54
  /**
55
55
  * Gets or sets the facility survey id.
56
56
  */
@@ -62,11 +62,11 @@ export type Facility = {
62
62
  /**
63
63
  * Gets or sets the facility name.
64
64
  */
65
- name?: string | null;
65
+ name: string;
66
66
  /**
67
67
  * Gets or sets the facility description.
68
68
  */
69
- description?: string | null;
69
+ description: string;
70
70
  /**
71
71
  * Gets or sets the facility image url.
72
72
  * @deprecated
@@ -97,6 +97,10 @@ export type Facility = {
97
97
  * Gets or sets a value indicating whether the facility is deleted and should be ignored under normal operation.
98
98
  */
99
99
  deleted?: boolean | null;
100
+ /**
101
+ * Gets or sets the optional registered Codelocks lock used for NetCode access at this facility.
102
+ */
103
+ codelocksLockId?: string | null;
100
104
  nextAvailableOpportunity?: Slot;
101
105
  venue?: Venue;
102
106
  activity?: Activity;
@@ -18,4 +18,8 @@ export type FacilityPatch = {
18
18
  */
19
19
  id: string;
20
20
  emailSettings?: UpdateEmailSettings;
21
+ /**
22
+ * Gets or sets the optional registered Codelocks lock for NetCode access.
23
+ */
24
+ codelocksLockId?: string | null;
21
25
  };
@@ -14,4 +14,8 @@ export type FacilityPost = {
14
14
  */
15
15
  tenantId: string;
16
16
  emailSettings?: UpdateEmailSettings;
17
+ /**
18
+ * Gets or sets the optional registered Codelocks lock for NetCode access.
19
+ */
20
+ codelocksLockId?: string | null;
17
21
  };
@@ -0,0 +1,14 @@
1
+ /* generated using openapi-typescript-codegen -- do no edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+
6
+ /**
7
+ * Request body to dismiss a feature announcement for the current user.
8
+ */
9
+ export type FeatureAnnouncementDismissPost = {
10
+ /**
11
+ * Gets or sets the announcement identifier to dismiss.
12
+ */
13
+ featureAnnouncementId?: string;
14
+ };
@@ -0,0 +1,38 @@
1
+ /* generated using openapi-typescript-codegen -- do no edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+
6
+ /**
7
+ * Feature announcement payload returned to the partner app for the current user.
8
+ */
9
+ export type FeatureAnnouncementForUserDto = {
10
+ /**
11
+ * Gets or sets the identifier.
12
+ */
13
+ id?: string;
14
+ /**
15
+ * Gets or sets the slug.
16
+ */
17
+ slug?: string | null;
18
+ /**
19
+ * Gets or sets the version.
20
+ */
21
+ version?: number;
22
+ /**
23
+ * Gets or sets the widget title.
24
+ */
25
+ title?: string | null;
26
+ /**
27
+ * Gets or sets the short summary.
28
+ */
29
+ summary?: string | null;
30
+ /**
31
+ * Gets or sets the modal body.
32
+ */
33
+ detailBody?: string | null;
34
+ /**
35
+ * Gets or sets an optional URL.
36
+ */
37
+ url?: string | null;
38
+ };
@@ -179,4 +179,8 @@ export type GenericActivity = {
179
179
  * Gets or sets the courses sessions (only applicable to courses).
180
180
  */
181
181
  sessions?: Array<CourseSession> | null;
182
+ /**
183
+ * Gets or sets remaining inventory for Reach.Models.ActivityType.SellableItem (populated on list/detail when applicable).
184
+ */
185
+ stockQuantity?: number | null;
182
186
  };
@@ -52,6 +52,10 @@ export type Image = {
52
52
  * Gets or sets the images course id.
53
53
  */
54
54
  courseId?: string | null;
55
+ /**
56
+ * Gets or sets the sellable item id.
57
+ */
58
+ sellableItemId?: string | null;
55
59
  /**
56
60
  * Gets or sets the images programme id.
57
61
  */
@@ -0,0 +1,38 @@
1
+ /* generated using openapi-typescript-codegen -- do no edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+
6
+ /**
7
+ * Per-tenant Codelocks integration settings. The shared Codelocks API key is not stored here — it lives in Reach API configuration.
8
+ */
9
+ export type IntegrationCodelocksSettings = {
10
+ /**
11
+ * Gets or sets the entities Id.
12
+ */
13
+ id?: string;
14
+ /**
15
+ * Gets or sets the tenant Id.
16
+ */
17
+ tenantId: string;
18
+ /**
19
+ * Gets or sets the created date of this entity.
20
+ */
21
+ dateCreated: string;
22
+ /**
23
+ * Gets or sets the last modified date of this entity.
24
+ */
25
+ dateModified: string;
26
+ /**
27
+ * Gets or sets the modified by Id.
28
+ */
29
+ modifiedById?: string | null;
30
+ /**
31
+ * Gets or sets a value indicating whether the record is live and available for use within the application.
32
+ */
33
+ isLive: boolean;
34
+ /**
35
+ * Gets or sets a value indicating whether NetCode generation is enabled for this tenant.
36
+ */
37
+ enabled?: boolean | null;
38
+ };