reach-api-sdk 1.0.218 → 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 (49) hide show
  1. package/dist/reach-sdk.d.ts +7410 -5701
  2. package/dist/reach-sdk.js +1635 -359
  3. package/package.json +1 -1
  4. package/src/apiClient.ts +12 -0
  5. package/src/definition/swagger.yaml +15085 -10679
  6. package/src/index.ts +20 -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/CodelocksLock.ts +62 -0
  12. package/src/models/CodelocksLockPage.ts +12 -0
  13. package/src/models/CodelocksLockPatch.ts +46 -0
  14. package/src/models/CodelocksLockPost.ts +42 -0
  15. package/src/models/Course.ts +4 -0
  16. package/src/models/CourseCreate.ts +4 -0
  17. package/src/models/CoursePatch.ts +4 -0
  18. package/src/models/CourseSession.ts +1 -1
  19. package/src/models/Facility.ts +8 -4
  20. package/src/models/FacilityPatch.ts +4 -0
  21. package/src/models/FacilityPost.ts +4 -0
  22. package/src/models/FeatureAnnouncementDismissPost.ts +14 -0
  23. package/src/models/FeatureAnnouncementForUserDto.ts +38 -0
  24. package/src/models/IntegrationCodelocksSettings.ts +38 -0
  25. package/src/models/IntegrationCodelocksSettingsCreate.ts +18 -0
  26. package/src/models/IntegrationCodelocksSettingsPage.ts +12 -0
  27. package/src/models/IntegrationCodelocksSettingsPatch.ts +22 -0
  28. package/src/models/IntegrationCodelocksSettingsPost.ts +18 -0
  29. package/src/models/IntegrationQueue.ts +4 -0
  30. package/src/models/IntegrationType.ts +1 -0
  31. package/src/models/NotificationType.ts +1 -0
  32. package/src/models/Order.ts +3 -3
  33. package/src/models/OrderItem.ts +5 -3
  34. package/src/models/OrderItemCodelocksAccess.ts +14 -0
  35. package/src/models/OrderItemReport.ts +25 -1
  36. package/src/models/Session.ts +4 -0
  37. package/src/models/SessionCreate.ts +4 -0
  38. package/src/models/SessionPatch.ts +4 -0
  39. package/src/models/Survey.ts +3 -3
  40. package/src/models/SurveyAnswer.ts +4 -4
  41. package/src/models/SurveyQuestion.ts +3 -3
  42. package/src/models/SurveyQuestionOption.ts +2 -2
  43. package/src/models/WaitlistActivity.ts +3 -3
  44. package/src/models/WaitlistOpportunity.ts +4 -4
  45. package/src/services/AccessCredentialsService.ts +812 -0
  46. package/src/services/CodelocksLocksService.ts +752 -0
  47. package/src/services/FeatureAnnouncementsService.ts +56 -0
  48. package/src/services/IntegrationCodelocksSettingsService.ts +689 -0
  49. package/src/services/IntegrationQueueService.ts +30 -0
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';
@@ -524,6 +540,7 @@ export type { WalletTransactionPost } from './models/WalletTransactionPost';
524
540
  export { WalletTransactionType } from './models/WalletTransactionType';
525
541
  export { WebsiteHomepage } from './models/WebsiteHomepage';
526
542
 
543
+ export { AccessCredentialsService } from './services/AccessCredentialsService';
527
544
  export { ActivityService } from './services/ActivityService';
528
545
  export { ActivityPerformanceService } from './services/ActivityPerformanceService';
529
546
  export { ActivityTypeCategoryService } from './services/ActivityTypeCategoryService';
@@ -533,6 +550,7 @@ export { BadEnglandReportService } from './services/BadEnglandReportService';
533
550
  export { BookingService } from './services/BookingService';
534
551
  export { CancellationPoliciesService } from './services/CancellationPoliciesService';
535
552
  export { ChatService } from './services/ChatService';
553
+ export { CodelocksLocksService } from './services/CodelocksLocksService';
536
554
  export { CountryService } from './services/CountryService';
537
555
  export { CoursesService } from './services/CoursesService';
538
556
  export { CourseSessionsService } from './services/CourseSessionsService';
@@ -551,6 +569,7 @@ export { EndUserIdentitySecureTokenService } from './services/EndUserIdentitySec
551
569
  export { EnglandGolfReportService } from './services/EnglandGolfReportService';
552
570
  export { FacilitiesService } from './services/FacilitiesService';
553
571
  export { FacilityIndividualsService } from './services/FacilityIndividualsService';
572
+ export { FeatureAnnouncementsService } from './services/FeatureAnnouncementsService';
554
573
  export { FilestackService } from './services/FilestackService';
555
574
  export { GenericActivityService } from './services/GenericActivityService';
556
575
  export { GeocodeService } from './services/GeocodeService';
@@ -560,6 +579,7 @@ export { ImageLibraryCategoryService } from './services/ImageLibraryCategoryServ
560
579
  export { ImageLibraryImageService } from './services/ImageLibraryImageService';
561
580
  export { ImagesService } from './services/ImagesService';
562
581
  export { ImageUploadHistoryService } from './services/ImageUploadHistoryService';
582
+ export { IntegrationCodelocksSettingsService } from './services/IntegrationCodelocksSettingsService';
563
583
  export { IntegrationDotdigitalFieldMapService } from './services/IntegrationDotdigitalFieldMapService';
564
584
  export { IntegrationDotdigitalLogService } from './services/IntegrationDotdigitalLogService';
565
585
  export { IntegrationDotDigitalSettingsService } from './services/IntegrationDotDigitalSettingsService';
@@ -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
+ };
@@ -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.
@@ -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
+ };
@@ -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
+ };
@@ -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
+ * Create/update payload for Codelocks integration settings (upsert from partner settings UI).
8
+ */
9
+ export type IntegrationCodelocksSettingsCreate = {
10
+ /**
11
+ * Gets or sets the tenant Id.
12
+ */
13
+ tenantId: string;
14
+ /**
15
+ * Gets or sets a value indicating whether the integration is enabled.
16
+ */
17
+ enabled: boolean;
18
+ };
@@ -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 { IntegrationCodelocksSettings } from './IntegrationCodelocksSettings';
7
+ import type { Pagination } from './Pagination';
8
+
9
+ export type IntegrationCodelocksSettingsPage = {
10
+ pagination: Pagination;
11
+ readonly items: Array<IntegrationCodelocksSettings>;
12
+ };
@@ -0,0 +1,22 @@
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 integration settings updates.
8
+ */
9
+ export type IntegrationCodelocksSettingsPatch = {
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 a value indicating whether the integration is enabled.
20
+ */
21
+ enabled?: boolean | null;
22
+ };
@@ -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
+ * Post model for Codelocks integration settings inserts.
8
+ */
9
+ export type IntegrationCodelocksSettingsPost = {
10
+ /**
11
+ * Gets or sets the tenant Id.
12
+ */
13
+ tenantId: string;
14
+ /**
15
+ * Gets or sets a value indicating whether the integration is enabled.
16
+ */
17
+ enabled?: boolean | null;
18
+ };
@@ -54,4 +54,8 @@ export type IntegrationQueue = {
54
54
  * Gets or sets the last error message if any.
55
55
  */
56
56
  lastError?: string | null;
57
+ /**
58
+ * Gets or sets the earliest UTC instant when this queue item may be processed (e.g. NetCode T−60m).
59
+ */
60
+ processAfterUtc?: string | null;
57
61
  };
@@ -8,4 +8,5 @@
8
8
  */
9
9
  export enum IntegrationType {
10
10
  DOTDIGITAL_UPSERT_CONTACT = 'DotdigitalUpsertContact',
11
+ CODELOCKS_GENERATE_NET_CODE = 'CodelocksGenerateNetCode',
11
12
  }
@@ -21,4 +21,5 @@ export enum NotificationType {
21
21
  NEW_ACTIVITY = 'NewActivity',
22
22
  PAYMENT_RECIEVED = 'PaymentRecieved',
23
23
  POST_COMPLETION_SURVEY_COMPLETED = 'PostCompletionSurveyCompleted',
24
+ CODELOCKS_ACCESS_CODE_READY = 'CodelocksAccessCodeReady',
24
25
  }