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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "reach-api-sdk",
3
- "version": "1.0.217",
3
+ "version": "1.0.219",
4
4
  "description": "sdk for reach api",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/src/apiClient.ts CHANGED
@@ -6,6 +6,7 @@ import type { BaseHttpRequest } from './core/BaseHttpRequest';
6
6
  import type { OpenAPIConfig } from './core/OpenAPI';
7
7
  import { AxiosHttpRequest } from './core/AxiosHttpRequest';
8
8
 
9
+ import { AccessCredentialsService } from './services/AccessCredentialsService';
9
10
  import { ActivityService } from './services/ActivityService';
10
11
  import { ActivityPerformanceService } from './services/ActivityPerformanceService';
11
12
  import { ActivityTypeCategoryService } from './services/ActivityTypeCategoryService';
@@ -15,6 +16,7 @@ import { BadEnglandReportService } from './services/BadEnglandReportService';
15
16
  import { BookingService } from './services/BookingService';
16
17
  import { CancellationPoliciesService } from './services/CancellationPoliciesService';
17
18
  import { ChatService } from './services/ChatService';
19
+ import { CodelocksLocksService } from './services/CodelocksLocksService';
18
20
  import { CountryService } from './services/CountryService';
19
21
  import { CoursesService } from './services/CoursesService';
20
22
  import { CourseSessionsService } from './services/CourseSessionsService';
@@ -33,6 +35,7 @@ import { EndUserIdentitySecureTokenService } from './services/EndUserIdentitySec
33
35
  import { EnglandGolfReportService } from './services/EnglandGolfReportService';
34
36
  import { FacilitiesService } from './services/FacilitiesService';
35
37
  import { FacilityIndividualsService } from './services/FacilityIndividualsService';
38
+ import { FeatureAnnouncementsService } from './services/FeatureAnnouncementsService';
36
39
  import { FilestackService } from './services/FilestackService';
37
40
  import { GenericActivityService } from './services/GenericActivityService';
38
41
  import { GeocodeService } from './services/GeocodeService';
@@ -42,6 +45,7 @@ import { ImageLibraryCategoryService } from './services/ImageLibraryCategoryServ
42
45
  import { ImageLibraryImageService } from './services/ImageLibraryImageService';
43
46
  import { ImagesService } from './services/ImagesService';
44
47
  import { ImageUploadHistoryService } from './services/ImageUploadHistoryService';
48
+ import { IntegrationCodelocksSettingsService } from './services/IntegrationCodelocksSettingsService';
45
49
  import { IntegrationDotdigitalFieldMapService } from './services/IntegrationDotdigitalFieldMapService';
46
50
  import { IntegrationDotdigitalLogService } from './services/IntegrationDotdigitalLogService';
47
51
  import { IntegrationDotDigitalSettingsService } from './services/IntegrationDotDigitalSettingsService';
@@ -84,6 +88,7 @@ import { PublicOrderTokensService } from './services/PublicOrderTokensService';
84
88
  import { PublicProgrammesService } from './services/PublicProgrammesService';
85
89
  import { PublicProvidersService } from './services/PublicProvidersService';
86
90
  import { PublicScheduledSessionsService } from './services/PublicScheduledSessionsService';
91
+ import { PublicSellableItemsService } from './services/PublicSellableItemsService';
87
92
  import { PublicSessionsService } from './services/PublicSessionsService';
88
93
  import { PublicSlotsService } from './services/PublicSlotsService';
89
94
  import { PublicStorefrontStaffPreviewService } from './services/PublicStorefrontStaffPreviewService';
@@ -101,6 +106,7 @@ import { RegisterReportService } from './services/RegisterReportService';
101
106
  import { RescheduleLogService } from './services/RescheduleLogService';
102
107
  import { ScheduledSessionsService } from './services/ScheduledSessionsService';
103
108
  import { ScheduledSessionsSchedulesService } from './services/ScheduledSessionsSchedulesService';
109
+ import { SellableItemsService } from './services/SellableItemsService';
104
110
  import { SessionsService } from './services/SessionsService';
105
111
  import { SlotOffersService } from './services/SlotOffersService';
106
112
  import { SlotsService } from './services/SlotsService';
@@ -142,6 +148,7 @@ import { WalletTransactionsService } from './services/WalletTransactionsService'
142
148
  type HttpRequestConstructor = new (config: OpenAPIConfig) => BaseHttpRequest;
143
149
 
144
150
  export class ApiClient {
151
+ public readonly accessCredentials: AccessCredentialsService;
145
152
  public readonly activity: ActivityService;
146
153
  public readonly activityPerformance: ActivityPerformanceService;
147
154
  public readonly activityTypeCategory: ActivityTypeCategoryService;
@@ -151,6 +158,7 @@ export class ApiClient {
151
158
  public readonly booking: BookingService;
152
159
  public readonly cancellationPolicies: CancellationPoliciesService;
153
160
  public readonly chat: ChatService;
161
+ public readonly codelocksLocks: CodelocksLocksService;
154
162
  public readonly country: CountryService;
155
163
  public readonly courses: CoursesService;
156
164
  public readonly courseSessions: CourseSessionsService;
@@ -169,6 +177,7 @@ export class ApiClient {
169
177
  public readonly englandGolfReport: EnglandGolfReportService;
170
178
  public readonly facilities: FacilitiesService;
171
179
  public readonly facilityIndividuals: FacilityIndividualsService;
180
+ public readonly featureAnnouncements: FeatureAnnouncementsService;
172
181
  public readonly filestack: FilestackService;
173
182
  public readonly genericActivity: GenericActivityService;
174
183
  public readonly geocode: GeocodeService;
@@ -178,6 +187,7 @@ export class ApiClient {
178
187
  public readonly imageLibraryImage: ImageLibraryImageService;
179
188
  public readonly images: ImagesService;
180
189
  public readonly imageUploadHistory: ImageUploadHistoryService;
190
+ public readonly integrationCodelocksSettings: IntegrationCodelocksSettingsService;
181
191
  public readonly integrationDotdigitalFieldMap: IntegrationDotdigitalFieldMapService;
182
192
  public readonly integrationDotdigitalLog: IntegrationDotdigitalLogService;
183
193
  public readonly integrationDotDigitalSettings: IntegrationDotDigitalSettingsService;
@@ -220,6 +230,7 @@ export class ApiClient {
220
230
  public readonly publicProgrammes: PublicProgrammesService;
221
231
  public readonly publicProviders: PublicProvidersService;
222
232
  public readonly publicScheduledSessions: PublicScheduledSessionsService;
233
+ public readonly publicSellableItems: PublicSellableItemsService;
223
234
  public readonly publicSessions: PublicSessionsService;
224
235
  public readonly publicSlots: PublicSlotsService;
225
236
  public readonly publicStorefrontStaffPreview: PublicStorefrontStaffPreviewService;
@@ -237,6 +248,7 @@ export class ApiClient {
237
248
  public readonly rescheduleLog: RescheduleLogService;
238
249
  public readonly scheduledSessions: ScheduledSessionsService;
239
250
  public readonly scheduledSessionsSchedules: ScheduledSessionsSchedulesService;
251
+ public readonly sellableItems: SellableItemsService;
240
252
  public readonly sessions: SessionsService;
241
253
  public readonly slotOffers: SlotOffersService;
242
254
  public readonly slots: SlotsService;
@@ -293,6 +305,7 @@ export class ApiClient {
293
305
  ENCODE_PATH: config?.ENCODE_PATH,
294
306
  });
295
307
 
308
+ this.accessCredentials = new AccessCredentialsService(this.request);
296
309
  this.activity = new ActivityService(this.request);
297
310
  this.activityPerformance = new ActivityPerformanceService(this.request);
298
311
  this.activityTypeCategory = new ActivityTypeCategoryService(this.request);
@@ -302,6 +315,7 @@ export class ApiClient {
302
315
  this.booking = new BookingService(this.request);
303
316
  this.cancellationPolicies = new CancellationPoliciesService(this.request);
304
317
  this.chat = new ChatService(this.request);
318
+ this.codelocksLocks = new CodelocksLocksService(this.request);
305
319
  this.country = new CountryService(this.request);
306
320
  this.courses = new CoursesService(this.request);
307
321
  this.courseSessions = new CourseSessionsService(this.request);
@@ -320,6 +334,7 @@ export class ApiClient {
320
334
  this.englandGolfReport = new EnglandGolfReportService(this.request);
321
335
  this.facilities = new FacilitiesService(this.request);
322
336
  this.facilityIndividuals = new FacilityIndividualsService(this.request);
337
+ this.featureAnnouncements = new FeatureAnnouncementsService(this.request);
323
338
  this.filestack = new FilestackService(this.request);
324
339
  this.genericActivity = new GenericActivityService(this.request);
325
340
  this.geocode = new GeocodeService(this.request);
@@ -329,6 +344,7 @@ export class ApiClient {
329
344
  this.imageLibraryImage = new ImageLibraryImageService(this.request);
330
345
  this.images = new ImagesService(this.request);
331
346
  this.imageUploadHistory = new ImageUploadHistoryService(this.request);
347
+ this.integrationCodelocksSettings = new IntegrationCodelocksSettingsService(this.request);
332
348
  this.integrationDotdigitalFieldMap = new IntegrationDotdigitalFieldMapService(this.request);
333
349
  this.integrationDotdigitalLog = new IntegrationDotdigitalLogService(this.request);
334
350
  this.integrationDotDigitalSettings = new IntegrationDotDigitalSettingsService(this.request);
@@ -371,6 +387,7 @@ export class ApiClient {
371
387
  this.publicProgrammes = new PublicProgrammesService(this.request);
372
388
  this.publicProviders = new PublicProvidersService(this.request);
373
389
  this.publicScheduledSessions = new PublicScheduledSessionsService(this.request);
390
+ this.publicSellableItems = new PublicSellableItemsService(this.request);
374
391
  this.publicSessions = new PublicSessionsService(this.request);
375
392
  this.publicSlots = new PublicSlotsService(this.request);
376
393
  this.publicStorefrontStaffPreview = new PublicStorefrontStaffPreviewService(this.request);
@@ -388,6 +405,7 @@ export class ApiClient {
388
405
  this.rescheduleLog = new RescheduleLogService(this.request);
389
406
  this.scheduledSessions = new ScheduledSessionsService(this.request);
390
407
  this.scheduledSessionsSchedules = new ScheduledSessionsSchedulesService(this.request);
408
+ this.sellableItems = new SellableItemsService(this.request);
391
409
  this.sessions = new SessionsService(this.request);
392
410
  this.slotOffers = new SlotOffersService(this.request);
393
411
  this.slots = new SlotsService(this.request);