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
@@ -169,6 +169,7 @@ export class IntegrationQueueService {
169
169
  public getPage({
170
170
  processed,
171
171
  errored,
172
+ processAfterUtcLte,
172
173
  pageNumber,
173
174
  take,
174
175
  skip,
@@ -189,6 +190,10 @@ export class IntegrationQueueService {
189
190
  * Gets or sets the queryable errored status.
190
191
  */
191
192
  errored?: boolean;
193
+ /**
194
+ * Gets or sets the upper bound (inclusive) for `process_after_utc`; when set, rows with null `process_after_utc` or `process_after_utc` less than or equal to this instant match (worker readiness).
195
+ */
196
+ processAfterUtcLte?: string;
192
197
  /**
193
198
  * Gets or sets the page number for paged queries.
194
199
  */
@@ -240,6 +245,7 @@ export class IntegrationQueueService {
240
245
  query: {
241
246
  Processed: processed,
242
247
  Errored: errored,
248
+ ProcessAfterUtcLTE: processAfterUtcLte,
243
249
  PageNumber: pageNumber,
244
250
  Take: take,
245
251
  Skip: skip,
@@ -349,6 +355,7 @@ export class IntegrationQueueService {
349
355
  public exists({
350
356
  processed,
351
357
  errored,
358
+ processAfterUtcLte,
352
359
  pageNumber,
353
360
  take,
354
361
  skip,
@@ -369,6 +376,10 @@ export class IntegrationQueueService {
369
376
  * Gets or sets the queryable errored status.
370
377
  */
371
378
  errored?: boolean;
379
+ /**
380
+ * Gets or sets the upper bound (inclusive) for `process_after_utc`; when set, rows with null `process_after_utc` or `process_after_utc` less than or equal to this instant match (worker readiness).
381
+ */
382
+ processAfterUtcLte?: string;
372
383
  /**
373
384
  * Gets or sets the page number for paged queries.
374
385
  */
@@ -420,6 +431,7 @@ export class IntegrationQueueService {
420
431
  query: {
421
432
  Processed: processed,
422
433
  Errored: errored,
434
+ ProcessAfterUtcLTE: processAfterUtcLte,
423
435
  PageNumber: pageNumber,
424
436
  Take: take,
425
437
  Skip: skip,
@@ -448,6 +460,7 @@ export class IntegrationQueueService {
448
460
  public count({
449
461
  processed,
450
462
  errored,
463
+ processAfterUtcLte,
451
464
  pageNumber,
452
465
  take,
453
466
  skip,
@@ -468,6 +481,10 @@ export class IntegrationQueueService {
468
481
  * Gets or sets the queryable errored status.
469
482
  */
470
483
  errored?: boolean;
484
+ /**
485
+ * Gets or sets the upper bound (inclusive) for `process_after_utc`; when set, rows with null `process_after_utc` or `process_after_utc` less than or equal to this instant match (worker readiness).
486
+ */
487
+ processAfterUtcLte?: string;
471
488
  /**
472
489
  * Gets or sets the page number for paged queries.
473
490
  */
@@ -519,6 +536,7 @@ export class IntegrationQueueService {
519
536
  query: {
520
537
  Processed: processed,
521
538
  Errored: errored,
539
+ ProcessAfterUtcLTE: processAfterUtcLte,
522
540
  PageNumber: pageNumber,
523
541
  Take: take,
524
542
  Skip: skip,
@@ -547,6 +565,7 @@ export class IntegrationQueueService {
547
565
  public getListWithoutReferences({
548
566
  processed,
549
567
  errored,
568
+ processAfterUtcLte,
550
569
  pageNumber,
551
570
  take,
552
571
  skip,
@@ -567,6 +586,10 @@ export class IntegrationQueueService {
567
586
  * Gets or sets the queryable errored status.
568
587
  */
569
588
  errored?: boolean;
589
+ /**
590
+ * Gets or sets the upper bound (inclusive) for `process_after_utc`; when set, rows with null `process_after_utc` or `process_after_utc` less than or equal to this instant match (worker readiness).
591
+ */
592
+ processAfterUtcLte?: string;
570
593
  /**
571
594
  * Gets or sets the page number for paged queries.
572
595
  */
@@ -618,6 +641,7 @@ export class IntegrationQueueService {
618
641
  query: {
619
642
  Processed: processed,
620
643
  Errored: errored,
644
+ ProcessAfterUtcLTE: processAfterUtcLte,
621
645
  PageNumber: pageNumber,
622
646
  Take: take,
623
647
  Skip: skip,
@@ -646,6 +670,7 @@ export class IntegrationQueueService {
646
670
  public getListIdName({
647
671
  processed,
648
672
  errored,
673
+ processAfterUtcLte,
649
674
  pageNumber,
650
675
  take,
651
676
  skip,
@@ -666,6 +691,10 @@ export class IntegrationQueueService {
666
691
  * Gets or sets the queryable errored status.
667
692
  */
668
693
  errored?: boolean;
694
+ /**
695
+ * Gets or sets the upper bound (inclusive) for `process_after_utc`; when set, rows with null `process_after_utc` or `process_after_utc` less than or equal to this instant match (worker readiness).
696
+ */
697
+ processAfterUtcLte?: string;
669
698
  /**
670
699
  * Gets or sets the page number for paged queries.
671
700
  */
@@ -717,6 +746,7 @@ export class IntegrationQueueService {
717
746
  query: {
718
747
  Processed: processed,
719
748
  Errored: errored,
749
+ ProcessAfterUtcLTE: processAfterUtcLte,
720
750
  PageNumber: pageNumber,
721
751
  Take: take,
722
752
  Skip: skip,
@@ -159,6 +159,8 @@ export class OffersService {
159
159
  sessionIds,
160
160
  courseId,
161
161
  courseIds,
162
+ sellableItemId,
163
+ sellableItemIds,
162
164
  slotOfferSlotId,
163
165
  slotOfferSlotIds,
164
166
  active,
@@ -212,6 +214,14 @@ export class OffersService {
212
214
  * Gets or sets the queryable course ids.
213
215
  */
214
216
  courseIds?: Array<string>;
217
+ /**
218
+ * Gets or sets the queryable sellable item id.
219
+ */
220
+ sellableItemId?: string;
221
+ /**
222
+ * Gets or sets the queryable sellable item ids.
223
+ */
224
+ sellableItemIds?: Array<string>;
215
225
  /**
216
226
  * Gets or sets the queryable slot offer slot id.
217
227
  */
@@ -290,6 +300,8 @@ export class OffersService {
290
300
  SessionIds: sessionIds,
291
301
  CourseId: courseId,
292
302
  CourseIds: courseIds,
303
+ SellableItemId: sellableItemId,
304
+ SellableItemIds: sellableItemIds,
293
305
  SlotOfferSlotId: slotOfferSlotId,
294
306
  SlotOfferSlotIds: slotOfferSlotIds,
295
307
  Active: active,
@@ -411,6 +423,8 @@ export class OffersService {
411
423
  sessionIds,
412
424
  courseId,
413
425
  courseIds,
426
+ sellableItemId,
427
+ sellableItemIds,
414
428
  slotOfferSlotId,
415
429
  slotOfferSlotIds,
416
430
  active,
@@ -464,6 +478,14 @@ export class OffersService {
464
478
  * Gets or sets the queryable course ids.
465
479
  */
466
480
  courseIds?: Array<string>;
481
+ /**
482
+ * Gets or sets the queryable sellable item id.
483
+ */
484
+ sellableItemId?: string;
485
+ /**
486
+ * Gets or sets the queryable sellable item ids.
487
+ */
488
+ sellableItemIds?: Array<string>;
467
489
  /**
468
490
  * Gets or sets the queryable slot offer slot id.
469
491
  */
@@ -542,6 +564,8 @@ export class OffersService {
542
564
  SessionIds: sessionIds,
543
565
  CourseId: courseId,
544
566
  CourseIds: courseIds,
567
+ SellableItemId: sellableItemId,
568
+ SellableItemIds: sellableItemIds,
545
569
  SlotOfferSlotId: slotOfferSlotId,
546
570
  SlotOfferSlotIds: slotOfferSlotIds,
547
571
  Active: active,
@@ -582,6 +606,8 @@ export class OffersService {
582
606
  sessionIds,
583
607
  courseId,
584
608
  courseIds,
609
+ sellableItemId,
610
+ sellableItemIds,
585
611
  slotOfferSlotId,
586
612
  slotOfferSlotIds,
587
613
  active,
@@ -635,6 +661,14 @@ export class OffersService {
635
661
  * Gets or sets the queryable course ids.
636
662
  */
637
663
  courseIds?: Array<string>;
664
+ /**
665
+ * Gets or sets the queryable sellable item id.
666
+ */
667
+ sellableItemId?: string;
668
+ /**
669
+ * Gets or sets the queryable sellable item ids.
670
+ */
671
+ sellableItemIds?: Array<string>;
638
672
  /**
639
673
  * Gets or sets the queryable slot offer slot id.
640
674
  */
@@ -713,6 +747,8 @@ export class OffersService {
713
747
  SessionIds: sessionIds,
714
748
  CourseId: courseId,
715
749
  CourseIds: courseIds,
750
+ SellableItemId: sellableItemId,
751
+ SellableItemIds: sellableItemIds,
716
752
  SlotOfferSlotId: slotOfferSlotId,
717
753
  SlotOfferSlotIds: slotOfferSlotIds,
718
754
  Active: active,
@@ -753,6 +789,8 @@ export class OffersService {
753
789
  sessionIds,
754
790
  courseId,
755
791
  courseIds,
792
+ sellableItemId,
793
+ sellableItemIds,
756
794
  slotOfferSlotId,
757
795
  slotOfferSlotIds,
758
796
  active,
@@ -806,6 +844,14 @@ export class OffersService {
806
844
  * Gets or sets the queryable course ids.
807
845
  */
808
846
  courseIds?: Array<string>;
847
+ /**
848
+ * Gets or sets the queryable sellable item id.
849
+ */
850
+ sellableItemId?: string;
851
+ /**
852
+ * Gets or sets the queryable sellable item ids.
853
+ */
854
+ sellableItemIds?: Array<string>;
809
855
  /**
810
856
  * Gets or sets the queryable slot offer slot id.
811
857
  */
@@ -884,6 +930,8 @@ export class OffersService {
884
930
  SessionIds: sessionIds,
885
931
  CourseId: courseId,
886
932
  CourseIds: courseIds,
933
+ SellableItemId: sellableItemId,
934
+ SellableItemIds: sellableItemIds,
887
935
  SlotOfferSlotId: slotOfferSlotId,
888
936
  SlotOfferSlotIds: slotOfferSlotIds,
889
937
  Active: active,
@@ -924,6 +972,8 @@ export class OffersService {
924
972
  sessionIds,
925
973
  courseId,
926
974
  courseIds,
975
+ sellableItemId,
976
+ sellableItemIds,
927
977
  slotOfferSlotId,
928
978
  slotOfferSlotIds,
929
979
  active,
@@ -977,6 +1027,14 @@ export class OffersService {
977
1027
  * Gets or sets the queryable course ids.
978
1028
  */
979
1029
  courseIds?: Array<string>;
1030
+ /**
1031
+ * Gets or sets the queryable sellable item id.
1032
+ */
1033
+ sellableItemId?: string;
1034
+ /**
1035
+ * Gets or sets the queryable sellable item ids.
1036
+ */
1037
+ sellableItemIds?: Array<string>;
980
1038
  /**
981
1039
  * Gets or sets the queryable slot offer slot id.
982
1040
  */
@@ -1055,6 +1113,8 @@ export class OffersService {
1055
1113
  SessionIds: sessionIds,
1056
1114
  CourseId: courseId,
1057
1115
  CourseIds: courseIds,
1116
+ SellableItemId: sellableItemId,
1117
+ SellableItemIds: sellableItemIds,
1058
1118
  SlotOfferSlotId: slotOfferSlotId,
1059
1119
  SlotOfferSlotIds: slotOfferSlotIds,
1060
1120
  Active: active,
@@ -198,6 +198,7 @@ export class OrderItemsService {
198
198
  scheduledSessionId,
199
199
  slotId,
200
200
  courseId,
201
+ sellableItemId,
201
202
  offerId,
202
203
  status,
203
204
  statuses,
@@ -237,6 +238,10 @@ export class OrderItemsService {
237
238
  * Gets or sets the queryable course id.
238
239
  */
239
240
  courseId?: string;
241
+ /**
242
+ * Gets or sets the queryable sellable item id.
243
+ */
244
+ sellableItemId?: string;
240
245
  /**
241
246
  * Gets or sets the queryable offer id.
242
247
  */
@@ -319,6 +324,7 @@ export class OrderItemsService {
319
324
  ScheduledSessionId: scheduledSessionId,
320
325
  SlotId: slotId,
321
326
  CourseId: courseId,
327
+ SellableItemId: sellableItemId,
322
328
  OfferId: offerId,
323
329
  Status: status,
324
330
  Statuses: statuses,
@@ -438,6 +444,7 @@ export class OrderItemsService {
438
444
  scheduledSessionId,
439
445
  slotId,
440
446
  courseId,
447
+ sellableItemId,
441
448
  offerId,
442
449
  status,
443
450
  statuses,
@@ -477,6 +484,10 @@ export class OrderItemsService {
477
484
  * Gets or sets the queryable course id.
478
485
  */
479
486
  courseId?: string;
487
+ /**
488
+ * Gets or sets the queryable sellable item id.
489
+ */
490
+ sellableItemId?: string;
480
491
  /**
481
492
  * Gets or sets the queryable offer id.
482
493
  */
@@ -559,6 +570,7 @@ export class OrderItemsService {
559
570
  ScheduledSessionId: scheduledSessionId,
560
571
  SlotId: slotId,
561
572
  CourseId: courseId,
573
+ SellableItemId: sellableItemId,
562
574
  OfferId: offerId,
563
575
  Status: status,
564
576
  Statuses: statuses,
@@ -597,6 +609,7 @@ export class OrderItemsService {
597
609
  scheduledSessionId,
598
610
  slotId,
599
611
  courseId,
612
+ sellableItemId,
600
613
  offerId,
601
614
  status,
602
615
  statuses,
@@ -636,6 +649,10 @@ export class OrderItemsService {
636
649
  * Gets or sets the queryable course id.
637
650
  */
638
651
  courseId?: string;
652
+ /**
653
+ * Gets or sets the queryable sellable item id.
654
+ */
655
+ sellableItemId?: string;
639
656
  /**
640
657
  * Gets or sets the queryable offer id.
641
658
  */
@@ -718,6 +735,7 @@ export class OrderItemsService {
718
735
  ScheduledSessionId: scheduledSessionId,
719
736
  SlotId: slotId,
720
737
  CourseId: courseId,
738
+ SellableItemId: sellableItemId,
721
739
  OfferId: offerId,
722
740
  Status: status,
723
741
  Statuses: statuses,
@@ -756,6 +774,7 @@ export class OrderItemsService {
756
774
  scheduledSessionId,
757
775
  slotId,
758
776
  courseId,
777
+ sellableItemId,
759
778
  offerId,
760
779
  status,
761
780
  statuses,
@@ -795,6 +814,10 @@ export class OrderItemsService {
795
814
  * Gets or sets the queryable course id.
796
815
  */
797
816
  courseId?: string;
817
+ /**
818
+ * Gets or sets the queryable sellable item id.
819
+ */
820
+ sellableItemId?: string;
798
821
  /**
799
822
  * Gets or sets the queryable offer id.
800
823
  */
@@ -877,6 +900,7 @@ export class OrderItemsService {
877
900
  ScheduledSessionId: scheduledSessionId,
878
901
  SlotId: slotId,
879
902
  CourseId: courseId,
903
+ SellableItemId: sellableItemId,
880
904
  OfferId: offerId,
881
905
  Status: status,
882
906
  Statuses: statuses,
@@ -915,6 +939,7 @@ export class OrderItemsService {
915
939
  scheduledSessionId,
916
940
  slotId,
917
941
  courseId,
942
+ sellableItemId,
918
943
  offerId,
919
944
  status,
920
945
  statuses,
@@ -954,6 +979,10 @@ export class OrderItemsService {
954
979
  * Gets or sets the queryable course id.
955
980
  */
956
981
  courseId?: string;
982
+ /**
983
+ * Gets or sets the queryable sellable item id.
984
+ */
985
+ sellableItemId?: string;
957
986
  /**
958
987
  * Gets or sets the queryable offer id.
959
988
  */
@@ -1036,6 +1065,7 @@ export class OrderItemsService {
1036
1065
  ScheduledSessionId: scheduledSessionId,
1037
1066
  SlotId: slotId,
1038
1067
  CourseId: courseId,
1068
+ SellableItemId: sellableItemId,
1039
1069
  OfferId: offerId,
1040
1070
  Status: status,
1041
1071
  Statuses: statuses,
@@ -27,6 +27,7 @@ export class PublicOrderItemsService {
27
27
  scheduledSessionId,
28
28
  slotId,
29
29
  courseId,
30
+ sellableItemId,
30
31
  offerId,
31
32
  status,
32
33
  statuses,
@@ -67,6 +68,10 @@ export class PublicOrderItemsService {
67
68
  * Gets or sets the queryable course id.
68
69
  */
69
70
  courseId?: string;
71
+ /**
72
+ * Gets or sets the queryable sellable item id.
73
+ */
74
+ sellableItemId?: string;
70
75
  /**
71
76
  * Gets or sets the queryable offer id.
72
77
  */
@@ -152,6 +157,7 @@ export class PublicOrderItemsService {
152
157
  ScheduledSessionId: scheduledSessionId,
153
158
  SlotId: slotId,
154
159
  CourseId: courseId,
160
+ SellableItemId: sellableItemId,
155
161
  OfferId: offerId,
156
162
  Status: status,
157
163
  Statuses: statuses,
@@ -438,6 +444,7 @@ export class PublicOrderItemsService {
438
444
  scheduledSessionId,
439
445
  slotId,
440
446
  courseId,
447
+ sellableItemId,
441
448
  offerId,
442
449
  status,
443
450
  statuses,
@@ -481,6 +488,10 @@ export class PublicOrderItemsService {
481
488
  * Gets or sets the queryable course id.
482
489
  */
483
490
  courseId?: string;
491
+ /**
492
+ * Gets or sets the queryable sellable item id.
493
+ */
494
+ sellableItemId?: string;
484
495
  /**
485
496
  * Gets or sets the queryable offer id.
486
497
  */
@@ -566,6 +577,7 @@ export class PublicOrderItemsService {
566
577
  ScheduledSessionId: scheduledSessionId,
567
578
  SlotId: slotId,
568
579
  CourseId: courseId,
580
+ SellableItemId: sellableItemId,
569
581
  OfferId: offerId,
570
582
  Status: status,
571
583
  Statuses: statuses,