reach-api-sdk 1.0.194 → 1.0.195
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.
- package/dist/reach-sdk.d.ts +6676 -871
- package/dist/reach-sdk.js +4290 -272
- package/package.json +1 -1
- package/src/definition/swagger.yaml +16349 -4310
- package/src/index.ts +1 -0
- package/src/models/Tenant.ts +2 -0
- package/src/models/TenantStatus.ts +12 -0
- package/src/services/ActivityPerformanceService.ts +129 -0
- package/src/services/AttendeesService.ts +111 -0
- package/src/services/BadEnglandReportService.ts +87 -0
- package/src/services/BookingService.ts +201 -0
- package/src/services/CancellationPoliciesService.ts +111 -0
- package/src/services/CourseSessionSchedulesService.ts +117 -0
- package/src/services/CourseSessionsService.ts +213 -0
- package/src/services/CoursesService.ts +273 -0
- package/src/services/CustomersService.ts +129 -0
- package/src/services/DealActivitiesService.ts +123 -0
- package/src/services/DealsService.ts +123 -0
- package/src/services/DiscountCodeUsesService.ts +105 -0
- package/src/services/EmailReminderSchedulesService.ts +117 -0
- package/src/services/EmailSettingsService.ts +117 -0
- package/src/services/FacilitiesService.ts +135 -0
- package/src/services/FacilityIndividualsService.ts +93 -0
- package/src/services/GenericActivityService.ts +316 -0
- package/src/services/ImageUploadHistoryService.ts +99 -0
- package/src/services/ImagesService.ts +147 -0
- package/src/services/LeasingService.ts +195 -0
- package/src/services/LocationsReportService.ts +105 -0
- package/src/services/NotificationQueueService.ts +99 -0
- package/src/services/NotificationSettingsService.ts +177 -0
- package/src/services/OffersService.ts +165 -0
- package/src/services/OpenactiveFeedIntermediateService.ts +93 -0
- package/src/services/OpenactiveFeedItemService.ts +99 -0
- package/src/services/OpportunityRegisterService.ts +147 -0
- package/src/services/OrderItemReportService.ts +123 -0
- package/src/services/OrderItemsService.ts +153 -24
- package/src/services/OrdersService.ts +195 -0
- package/src/services/OrgCourseUtilisationService.ts +147 -0
- package/src/services/PaymentPoliciesService.ts +111 -0
- package/src/services/PaymentsService.ts +93 -0
- package/src/services/PermissionsService.ts +87 -0
- package/src/services/PlatformPayoutsService.ts +99 -0
- package/src/services/ProgrammesService.ts +117 -0
- package/src/services/ProvidersService.ts +189 -0
- package/src/services/PublicGenericActivityService.ts +25 -0
- package/src/services/PublicOrderItemsService.ts +0 -12
- package/src/services/PublicVenuesService.ts +19 -0
- package/src/services/RecentOrderActivityReportService.ts +87 -0
- package/src/services/RegisterReportService.ts +117 -0
- package/src/services/RescheduleLogService.ts +99 -0
- package/src/services/ScheduledSessionsSchedulesService.ts +123 -0
- package/src/services/ScheduledSessionsService.ts +249 -0
- package/src/services/SessionsService.ts +273 -0
- package/src/services/SlotOffersService.ts +99 -0
- package/src/services/SlotScheduleOffersService.ts +99 -0
- package/src/services/SlotSchedulesService.ts +129 -0
- package/src/services/SlotsService.ts +207 -0
- package/src/services/StripeAccountService.ts +99 -0
- package/src/services/SurveyAnswersService.ts +129 -0
- package/src/services/SurveyCompletionLogService.ts +123 -0
- package/src/services/SurveyQuestionsService.ts +93 -0
- package/src/services/SurveyReportExtendedService.ts +105 -0
- package/src/services/SurveysService.ts +123 -0
- package/src/services/TemplateDetailsService.ts +93 -0
- package/src/services/TemplateFieldPermissionsService.ts +93 -0
- package/src/services/TemplateOffersService.ts +93 -0
- package/src/services/TemplatesService.ts +93 -0
- package/src/services/TenantWebsiteSettingsService.ts +87 -0
- package/src/services/TenantsService.ts +93 -0
- package/src/services/TotalRevenueReportService.ts +111 -0
- package/src/services/UserPermissionsService.ts +93 -0
- package/src/services/UserProgrammesService.ts +111 -0
- package/src/services/UserProvidersService.ts +111 -0
- package/src/services/UsersService.ts +123 -0
- package/src/services/VenueManagersService.ts +111 -0
- package/src/services/VenuePerformanceService.ts +129 -0
- package/src/services/VenuesReportService.ts +93 -0
- package/src/services/VenuesService.ts +238 -0
- package/src/services/WaitlistActivityReportService.ts +123 -0
- package/src/services/WaitlistActivityService.ts +123 -0
- package/src/services/WaitlistOpportunityReportService.ts +117 -0
- package/src/services/WaitlistOpportunityService.ts +117 -0
|
@@ -685,6 +685,213 @@ export class SlotsService {
|
|
|
685
685
|
});
|
|
686
686
|
}
|
|
687
687
|
|
|
688
|
+
/**
|
|
689
|
+
* Returns the number of results in the database given the provided search params.
|
|
690
|
+
* @returns number OK
|
|
691
|
+
* @throws ApiError
|
|
692
|
+
*/
|
|
693
|
+
public count({
|
|
694
|
+
ids,
|
|
695
|
+
venueId,
|
|
696
|
+
facilityId,
|
|
697
|
+
facilityIds,
|
|
698
|
+
facilityIndividualId,
|
|
699
|
+
facilityIndividualIds,
|
|
700
|
+
scheduleId,
|
|
701
|
+
status,
|
|
702
|
+
statuses,
|
|
703
|
+
bookingStatus,
|
|
704
|
+
startDateTimeLte,
|
|
705
|
+
startDateTimeGte,
|
|
706
|
+
endDateTimeLte,
|
|
707
|
+
endDateTimeGte,
|
|
708
|
+
remainingUsesLte,
|
|
709
|
+
remainingUsesGte,
|
|
710
|
+
futureOnly,
|
|
711
|
+
includeOffers,
|
|
712
|
+
includeVenue,
|
|
713
|
+
hasAvailability,
|
|
714
|
+
pageNumber,
|
|
715
|
+
take,
|
|
716
|
+
skip,
|
|
717
|
+
limitListRequests,
|
|
718
|
+
tenantId,
|
|
719
|
+
modifiedById,
|
|
720
|
+
modifiedByIds,
|
|
721
|
+
dateCreatedGte,
|
|
722
|
+
dateCreatedLte,
|
|
723
|
+
isLive,
|
|
724
|
+
sortOrderDirection,
|
|
725
|
+
}: {
|
|
726
|
+
/**
|
|
727
|
+
* Gets or sets the queryable slot ids.
|
|
728
|
+
*/
|
|
729
|
+
ids?: Array<string>;
|
|
730
|
+
/**
|
|
731
|
+
* Gets or sets the queryable slot venue Id.
|
|
732
|
+
*/
|
|
733
|
+
venueId?: string;
|
|
734
|
+
/**
|
|
735
|
+
* Gets or sets the queryable slot facility Id.
|
|
736
|
+
*/
|
|
737
|
+
facilityId?: string;
|
|
738
|
+
/**
|
|
739
|
+
* Gets or sets the queryable slot facility Ids.
|
|
740
|
+
*/
|
|
741
|
+
facilityIds?: Array<string>;
|
|
742
|
+
/**
|
|
743
|
+
* Gets or sets the queryable slot facility individual Id.
|
|
744
|
+
*/
|
|
745
|
+
facilityIndividualId?: string;
|
|
746
|
+
/**
|
|
747
|
+
* Gets or sets the queryable slot facility individual Ids.
|
|
748
|
+
*/
|
|
749
|
+
facilityIndividualIds?: Array<string>;
|
|
750
|
+
/**
|
|
751
|
+
* Gets or sets the queryable slot facility individual Id.
|
|
752
|
+
*/
|
|
753
|
+
scheduleId?: string;
|
|
754
|
+
/**
|
|
755
|
+
* Gets or sets the queryable slot active status.
|
|
756
|
+
*/
|
|
757
|
+
status?: SlotStatus;
|
|
758
|
+
/**
|
|
759
|
+
* Gets or sets the queryable slot active status.
|
|
760
|
+
*/
|
|
761
|
+
statuses?: Array<SlotStatus>;
|
|
762
|
+
/**
|
|
763
|
+
* Gets or sets the queryable booking status.
|
|
764
|
+
*/
|
|
765
|
+
bookingStatus?: BookingStatus;
|
|
766
|
+
/**
|
|
767
|
+
* Gets or sets the queryable slot start date time is less than or equal to.
|
|
768
|
+
*/
|
|
769
|
+
startDateTimeLte?: string;
|
|
770
|
+
/**
|
|
771
|
+
* Gets or sets the queryable slot start date time is greater than or equal to.
|
|
772
|
+
*/
|
|
773
|
+
startDateTimeGte?: string;
|
|
774
|
+
/**
|
|
775
|
+
* Gets or sets the queryable slot end date time is less than or equal to.
|
|
776
|
+
*/
|
|
777
|
+
endDateTimeLte?: string;
|
|
778
|
+
/**
|
|
779
|
+
* Gets or sets the queryable slot end date time is greater than or equal to.
|
|
780
|
+
*/
|
|
781
|
+
endDateTimeGte?: string;
|
|
782
|
+
/**
|
|
783
|
+
* Gets or sets the queryable slot remaining uses is less than or equal to.
|
|
784
|
+
*/
|
|
785
|
+
remainingUsesLte?: number;
|
|
786
|
+
/**
|
|
787
|
+
* Gets or sets the queryable slot remaining uses is greater than or equal to.
|
|
788
|
+
*/
|
|
789
|
+
remainingUsesGte?: number;
|
|
790
|
+
/**
|
|
791
|
+
* Gets or sets a value indicating whether to only return future slots.
|
|
792
|
+
*/
|
|
793
|
+
futureOnly?: boolean;
|
|
794
|
+
/**
|
|
795
|
+
* Gets or sets a value indicating whether to include offers in the results.
|
|
796
|
+
*/
|
|
797
|
+
includeOffers?: boolean;
|
|
798
|
+
/**
|
|
799
|
+
* Gets or sets a value indicating whether to include venue detail in the results.
|
|
800
|
+
*/
|
|
801
|
+
includeVenue?: boolean;
|
|
802
|
+
/**
|
|
803
|
+
* Gets or sets a value indicating whether the slot has availability.
|
|
804
|
+
*/
|
|
805
|
+
hasAvailability?: boolean;
|
|
806
|
+
/**
|
|
807
|
+
* Gets or sets the page number for paged queries.
|
|
808
|
+
*/
|
|
809
|
+
pageNumber?: number;
|
|
810
|
+
/**
|
|
811
|
+
* Gets or sets the result count limit, always applicable Paged queries, only applicable to List queries if LimitListRequests is set to true.
|
|
812
|
+
*/
|
|
813
|
+
take?: number;
|
|
814
|
+
/**
|
|
815
|
+
* Gets or sets how much items to skip from begining of db table, when this is set page is always 1.
|
|
816
|
+
*/
|
|
817
|
+
skip?: number;
|
|
818
|
+
/**
|
|
819
|
+
* Gets or sets a value indicating whether to apply a limit to the number of results returned in a GetList request.
|
|
820
|
+
*/
|
|
821
|
+
limitListRequests?: boolean;
|
|
822
|
+
/**
|
|
823
|
+
* Gets or sets the Tenant Id.
|
|
824
|
+
*/
|
|
825
|
+
tenantId?: string;
|
|
826
|
+
/**
|
|
827
|
+
* Gets or sets the Modifed By Id.
|
|
828
|
+
*/
|
|
829
|
+
modifiedById?: string;
|
|
830
|
+
/**
|
|
831
|
+
* Gets or sets the Modifed By Ids.
|
|
832
|
+
*/
|
|
833
|
+
modifiedByIds?: Array<string>;
|
|
834
|
+
/**
|
|
835
|
+
* Gets or sets the Date Created greater than equal to.
|
|
836
|
+
*/
|
|
837
|
+
dateCreatedGte?: string;
|
|
838
|
+
/**
|
|
839
|
+
* Gets or sets the Date Created less than equal to.
|
|
840
|
+
*/
|
|
841
|
+
dateCreatedLte?: string;
|
|
842
|
+
/**
|
|
843
|
+
* Gets or sets the queryable only is live status.
|
|
844
|
+
*/
|
|
845
|
+
isLive?: boolean;
|
|
846
|
+
/**
|
|
847
|
+
* Gets or sets the sort order direction.
|
|
848
|
+
*/
|
|
849
|
+
sortOrderDirection?: SearchSortOrderDirection;
|
|
850
|
+
}): CancelablePromise<number> {
|
|
851
|
+
return this.httpRequest.request({
|
|
852
|
+
method: 'GET',
|
|
853
|
+
url: '/api/slots/count',
|
|
854
|
+
query: {
|
|
855
|
+
Ids: ids,
|
|
856
|
+
VenueId: venueId,
|
|
857
|
+
FacilityId: facilityId,
|
|
858
|
+
FacilityIds: facilityIds,
|
|
859
|
+
FacilityIndividualId: facilityIndividualId,
|
|
860
|
+
FacilityIndividualIds: facilityIndividualIds,
|
|
861
|
+
ScheduleId: scheduleId,
|
|
862
|
+
Status: status,
|
|
863
|
+
Statuses: statuses,
|
|
864
|
+
BookingStatus: bookingStatus,
|
|
865
|
+
StartDateTimeLTE: startDateTimeLte,
|
|
866
|
+
StartDateTimeGTE: startDateTimeGte,
|
|
867
|
+
EndDateTimeLTE: endDateTimeLte,
|
|
868
|
+
EndDateTimeGTE: endDateTimeGte,
|
|
869
|
+
RemainingUsesLTE: remainingUsesLte,
|
|
870
|
+
RemainingUsesGTE: remainingUsesGte,
|
|
871
|
+
FutureOnly: futureOnly,
|
|
872
|
+
IncludeOffers: includeOffers,
|
|
873
|
+
IncludeVenue: includeVenue,
|
|
874
|
+
HasAvailability: hasAvailability,
|
|
875
|
+
PageNumber: pageNumber,
|
|
876
|
+
Take: take,
|
|
877
|
+
Skip: skip,
|
|
878
|
+
LimitListRequests: limitListRequests,
|
|
879
|
+
TenantId: tenantId,
|
|
880
|
+
ModifiedById: modifiedById,
|
|
881
|
+
ModifiedByIds: modifiedByIds,
|
|
882
|
+
DateCreatedGTE: dateCreatedGte,
|
|
883
|
+
DateCreatedLTE: dateCreatedLte,
|
|
884
|
+
IsLive: isLive,
|
|
885
|
+
SortOrderDirection: sortOrderDirection,
|
|
886
|
+
},
|
|
887
|
+
errors: {
|
|
888
|
+
400: `Bad Request`,
|
|
889
|
+
422: `Unprocessable Content`,
|
|
890
|
+
500: `Internal Server Error`,
|
|
891
|
+
},
|
|
892
|
+
});
|
|
893
|
+
}
|
|
894
|
+
|
|
688
895
|
/**
|
|
689
896
|
* Gets a list of resources unpaged and without references.
|
|
690
897
|
* @returns Slot OK
|
|
@@ -519,6 +519,105 @@ export class StripeAccountService {
|
|
|
519
519
|
});
|
|
520
520
|
}
|
|
521
521
|
|
|
522
|
+
/**
|
|
523
|
+
* Returns the number of results in the database given the provided search params.
|
|
524
|
+
* @returns number OK
|
|
525
|
+
* @throws ApiError
|
|
526
|
+
*/
|
|
527
|
+
public count({
|
|
528
|
+
ids,
|
|
529
|
+
stripeChargesEnabled,
|
|
530
|
+
pageNumber,
|
|
531
|
+
take,
|
|
532
|
+
skip,
|
|
533
|
+
limitListRequests,
|
|
534
|
+
tenantId,
|
|
535
|
+
modifiedById,
|
|
536
|
+
modifiedByIds,
|
|
537
|
+
dateCreatedGte,
|
|
538
|
+
dateCreatedLte,
|
|
539
|
+
isLive,
|
|
540
|
+
sortOrderDirection,
|
|
541
|
+
}: {
|
|
542
|
+
/**
|
|
543
|
+
* Gets or sets the queryable stripe account ids.
|
|
544
|
+
*/
|
|
545
|
+
ids?: Array<string>;
|
|
546
|
+
/**
|
|
547
|
+
* Gets or sets a value indicating whether stripe charges are enabled.
|
|
548
|
+
*/
|
|
549
|
+
stripeChargesEnabled?: boolean;
|
|
550
|
+
/**
|
|
551
|
+
* Gets or sets the page number for paged queries.
|
|
552
|
+
*/
|
|
553
|
+
pageNumber?: number;
|
|
554
|
+
/**
|
|
555
|
+
* Gets or sets the result count limit, always applicable Paged queries, only applicable to List queries if LimitListRequests is set to true.
|
|
556
|
+
*/
|
|
557
|
+
take?: number;
|
|
558
|
+
/**
|
|
559
|
+
* Gets or sets how much items to skip from begining of db table, when this is set page is always 1.
|
|
560
|
+
*/
|
|
561
|
+
skip?: number;
|
|
562
|
+
/**
|
|
563
|
+
* Gets or sets a value indicating whether to apply a limit to the number of results returned in a GetList request.
|
|
564
|
+
*/
|
|
565
|
+
limitListRequests?: boolean;
|
|
566
|
+
/**
|
|
567
|
+
* Gets or sets the Tenant Id.
|
|
568
|
+
*/
|
|
569
|
+
tenantId?: string;
|
|
570
|
+
/**
|
|
571
|
+
* Gets or sets the Modifed By Id.
|
|
572
|
+
*/
|
|
573
|
+
modifiedById?: string;
|
|
574
|
+
/**
|
|
575
|
+
* Gets or sets the Modifed By Ids.
|
|
576
|
+
*/
|
|
577
|
+
modifiedByIds?: Array<string>;
|
|
578
|
+
/**
|
|
579
|
+
* Gets or sets the Date Created greater than equal to.
|
|
580
|
+
*/
|
|
581
|
+
dateCreatedGte?: string;
|
|
582
|
+
/**
|
|
583
|
+
* Gets or sets the Date Created less than equal to.
|
|
584
|
+
*/
|
|
585
|
+
dateCreatedLte?: string;
|
|
586
|
+
/**
|
|
587
|
+
* Gets or sets the queryable only is live status.
|
|
588
|
+
*/
|
|
589
|
+
isLive?: boolean;
|
|
590
|
+
/**
|
|
591
|
+
* Gets or sets the sort order direction.
|
|
592
|
+
*/
|
|
593
|
+
sortOrderDirection?: SearchSortOrderDirection;
|
|
594
|
+
}): CancelablePromise<number> {
|
|
595
|
+
return this.httpRequest.request({
|
|
596
|
+
method: 'GET',
|
|
597
|
+
url: '/api/stripe-accounts/count',
|
|
598
|
+
query: {
|
|
599
|
+
Ids: ids,
|
|
600
|
+
StripeChargesEnabled: stripeChargesEnabled,
|
|
601
|
+
PageNumber: pageNumber,
|
|
602
|
+
Take: take,
|
|
603
|
+
Skip: skip,
|
|
604
|
+
LimitListRequests: limitListRequests,
|
|
605
|
+
TenantId: tenantId,
|
|
606
|
+
ModifiedById: modifiedById,
|
|
607
|
+
ModifiedByIds: modifiedByIds,
|
|
608
|
+
DateCreatedGTE: dateCreatedGte,
|
|
609
|
+
DateCreatedLTE: dateCreatedLte,
|
|
610
|
+
IsLive: isLive,
|
|
611
|
+
SortOrderDirection: sortOrderDirection,
|
|
612
|
+
},
|
|
613
|
+
errors: {
|
|
614
|
+
400: `Bad Request`,
|
|
615
|
+
422: `Unprocessable Content`,
|
|
616
|
+
500: `Internal Server Error`,
|
|
617
|
+
},
|
|
618
|
+
});
|
|
619
|
+
}
|
|
620
|
+
|
|
522
621
|
/**
|
|
523
622
|
* Gets a list of resources unpaged and without references.
|
|
524
623
|
* @returns StripeAccount OK
|
|
@@ -761,6 +761,135 @@ export class SurveyAnswersService {
|
|
|
761
761
|
});
|
|
762
762
|
}
|
|
763
763
|
|
|
764
|
+
/**
|
|
765
|
+
* Returns the number of results in the database given the provided search params.
|
|
766
|
+
* @returns number OK
|
|
767
|
+
* @throws ApiError
|
|
768
|
+
*/
|
|
769
|
+
public count({
|
|
770
|
+
surveyId,
|
|
771
|
+
surveyQuestionId,
|
|
772
|
+
orderItemId,
|
|
773
|
+
attendeeId,
|
|
774
|
+
responseDateGte,
|
|
775
|
+
responseDateLte,
|
|
776
|
+
email,
|
|
777
|
+
pageNumber,
|
|
778
|
+
take,
|
|
779
|
+
skip,
|
|
780
|
+
limitListRequests,
|
|
781
|
+
tenantId,
|
|
782
|
+
modifiedById,
|
|
783
|
+
modifiedByIds,
|
|
784
|
+
dateCreatedGte,
|
|
785
|
+
dateCreatedLte,
|
|
786
|
+
isLive,
|
|
787
|
+
sortOrderDirection,
|
|
788
|
+
}: {
|
|
789
|
+
/**
|
|
790
|
+
* Gets or sets the Survey Id.
|
|
791
|
+
*/
|
|
792
|
+
surveyId?: string;
|
|
793
|
+
/**
|
|
794
|
+
* Gets or sets the Question Id.
|
|
795
|
+
*/
|
|
796
|
+
surveyQuestionId?: string;
|
|
797
|
+
/**
|
|
798
|
+
* Gets or sets the Order Id.
|
|
799
|
+
*/
|
|
800
|
+
orderItemId?: string;
|
|
801
|
+
/**
|
|
802
|
+
* Gets or sets the Attendee Id.
|
|
803
|
+
*/
|
|
804
|
+
attendeeId?: string;
|
|
805
|
+
/**
|
|
806
|
+
* Gets or sets the queryable response date greater than or equal to query params.
|
|
807
|
+
*/
|
|
808
|
+
responseDateGte?: string;
|
|
809
|
+
/**
|
|
810
|
+
* Gets or sets the queryable response date less than or equal to query params.
|
|
811
|
+
*/
|
|
812
|
+
responseDateLte?: string;
|
|
813
|
+
/**
|
|
814
|
+
* Gets or sets the queryable email.
|
|
815
|
+
*/
|
|
816
|
+
email?: string;
|
|
817
|
+
/**
|
|
818
|
+
* Gets or sets the page number for paged queries.
|
|
819
|
+
*/
|
|
820
|
+
pageNumber?: number;
|
|
821
|
+
/**
|
|
822
|
+
* Gets or sets the result count limit, always applicable Paged queries, only applicable to List queries if LimitListRequests is set to true.
|
|
823
|
+
*/
|
|
824
|
+
take?: number;
|
|
825
|
+
/**
|
|
826
|
+
* Gets or sets how much items to skip from begining of db table, when this is set page is always 1.
|
|
827
|
+
*/
|
|
828
|
+
skip?: number;
|
|
829
|
+
/**
|
|
830
|
+
* Gets or sets a value indicating whether to apply a limit to the number of results returned in a GetList request.
|
|
831
|
+
*/
|
|
832
|
+
limitListRequests?: boolean;
|
|
833
|
+
/**
|
|
834
|
+
* Gets or sets the Tenant Id.
|
|
835
|
+
*/
|
|
836
|
+
tenantId?: string;
|
|
837
|
+
/**
|
|
838
|
+
* Gets or sets the Modifed By Id.
|
|
839
|
+
*/
|
|
840
|
+
modifiedById?: string;
|
|
841
|
+
/**
|
|
842
|
+
* Gets or sets the Modifed By Ids.
|
|
843
|
+
*/
|
|
844
|
+
modifiedByIds?: Array<string>;
|
|
845
|
+
/**
|
|
846
|
+
* Gets or sets the Date Created greater than equal to.
|
|
847
|
+
*/
|
|
848
|
+
dateCreatedGte?: string;
|
|
849
|
+
/**
|
|
850
|
+
* Gets or sets the Date Created less than equal to.
|
|
851
|
+
*/
|
|
852
|
+
dateCreatedLte?: string;
|
|
853
|
+
/**
|
|
854
|
+
* Gets or sets the queryable only is live status.
|
|
855
|
+
*/
|
|
856
|
+
isLive?: boolean;
|
|
857
|
+
/**
|
|
858
|
+
* Gets or sets the sort order direction.
|
|
859
|
+
*/
|
|
860
|
+
sortOrderDirection?: SearchSortOrderDirection;
|
|
861
|
+
}): CancelablePromise<number> {
|
|
862
|
+
return this.httpRequest.request({
|
|
863
|
+
method: 'GET',
|
|
864
|
+
url: '/api/survey-answers/count',
|
|
865
|
+
query: {
|
|
866
|
+
SurveyId: surveyId,
|
|
867
|
+
SurveyQuestionId: surveyQuestionId,
|
|
868
|
+
OrderItemId: orderItemId,
|
|
869
|
+
AttendeeId: attendeeId,
|
|
870
|
+
ResponseDateGTE: responseDateGte,
|
|
871
|
+
ResponseDateLTE: responseDateLte,
|
|
872
|
+
Email: email,
|
|
873
|
+
PageNumber: pageNumber,
|
|
874
|
+
Take: take,
|
|
875
|
+
Skip: skip,
|
|
876
|
+
LimitListRequests: limitListRequests,
|
|
877
|
+
TenantId: tenantId,
|
|
878
|
+
ModifiedById: modifiedById,
|
|
879
|
+
ModifiedByIds: modifiedByIds,
|
|
880
|
+
DateCreatedGTE: dateCreatedGte,
|
|
881
|
+
DateCreatedLTE: dateCreatedLte,
|
|
882
|
+
IsLive: isLive,
|
|
883
|
+
SortOrderDirection: sortOrderDirection,
|
|
884
|
+
},
|
|
885
|
+
errors: {
|
|
886
|
+
400: `Bad Request`,
|
|
887
|
+
422: `Unprocessable Content`,
|
|
888
|
+
500: `Internal Server Error`,
|
|
889
|
+
},
|
|
890
|
+
});
|
|
891
|
+
}
|
|
892
|
+
|
|
764
893
|
/**
|
|
765
894
|
* Gets a list of resources unpaged and without references.
|
|
766
895
|
* @returns SurveyAnswer OK
|
|
@@ -471,6 +471,129 @@ export class SurveyCompletionLogService {
|
|
|
471
471
|
});
|
|
472
472
|
}
|
|
473
473
|
|
|
474
|
+
/**
|
|
475
|
+
* Returns the number of results in the database given the provided search params.
|
|
476
|
+
* @returns number OK
|
|
477
|
+
* @throws ApiError
|
|
478
|
+
*/
|
|
479
|
+
public count({
|
|
480
|
+
surveyId,
|
|
481
|
+
attendeeId,
|
|
482
|
+
orderId,
|
|
483
|
+
orderItemId,
|
|
484
|
+
sessionId,
|
|
485
|
+
courseId,
|
|
486
|
+
pageNumber,
|
|
487
|
+
take,
|
|
488
|
+
skip,
|
|
489
|
+
limitListRequests,
|
|
490
|
+
tenantId,
|
|
491
|
+
modifiedById,
|
|
492
|
+
modifiedByIds,
|
|
493
|
+
dateCreatedGte,
|
|
494
|
+
dateCreatedLte,
|
|
495
|
+
isLive,
|
|
496
|
+
sortOrderDirection,
|
|
497
|
+
}: {
|
|
498
|
+
/**
|
|
499
|
+
* Gets or sets the queryable Survey Id.
|
|
500
|
+
*/
|
|
501
|
+
surveyId?: string;
|
|
502
|
+
/**
|
|
503
|
+
* Gets or sets the queryable Attendee Id.
|
|
504
|
+
*/
|
|
505
|
+
attendeeId?: string;
|
|
506
|
+
/**
|
|
507
|
+
* Gets or sets the queryable Order Id.
|
|
508
|
+
*/
|
|
509
|
+
orderId?: string;
|
|
510
|
+
/**
|
|
511
|
+
* Gets or sets the queryable Order item Id.
|
|
512
|
+
*/
|
|
513
|
+
orderItemId?: string;
|
|
514
|
+
/**
|
|
515
|
+
* Gets or sets the queryable Session Id.
|
|
516
|
+
*/
|
|
517
|
+
sessionId?: string;
|
|
518
|
+
/**
|
|
519
|
+
* Gets or sets the queryable Course Id.
|
|
520
|
+
*/
|
|
521
|
+
courseId?: string;
|
|
522
|
+
/**
|
|
523
|
+
* Gets or sets the page number for paged queries.
|
|
524
|
+
*/
|
|
525
|
+
pageNumber?: number;
|
|
526
|
+
/**
|
|
527
|
+
* Gets or sets the result count limit, always applicable Paged queries, only applicable to List queries if LimitListRequests is set to true.
|
|
528
|
+
*/
|
|
529
|
+
take?: number;
|
|
530
|
+
/**
|
|
531
|
+
* Gets or sets how much items to skip from begining of db table, when this is set page is always 1.
|
|
532
|
+
*/
|
|
533
|
+
skip?: number;
|
|
534
|
+
/**
|
|
535
|
+
* Gets or sets a value indicating whether to apply a limit to the number of results returned in a GetList request.
|
|
536
|
+
*/
|
|
537
|
+
limitListRequests?: boolean;
|
|
538
|
+
/**
|
|
539
|
+
* Gets or sets the Tenant Id.
|
|
540
|
+
*/
|
|
541
|
+
tenantId?: string;
|
|
542
|
+
/**
|
|
543
|
+
* Gets or sets the Modifed By Id.
|
|
544
|
+
*/
|
|
545
|
+
modifiedById?: string;
|
|
546
|
+
/**
|
|
547
|
+
* Gets or sets the Modifed By Ids.
|
|
548
|
+
*/
|
|
549
|
+
modifiedByIds?: Array<string>;
|
|
550
|
+
/**
|
|
551
|
+
* Gets or sets the Date Created greater than equal to.
|
|
552
|
+
*/
|
|
553
|
+
dateCreatedGte?: string;
|
|
554
|
+
/**
|
|
555
|
+
* Gets or sets the Date Created less than equal to.
|
|
556
|
+
*/
|
|
557
|
+
dateCreatedLte?: string;
|
|
558
|
+
/**
|
|
559
|
+
* Gets or sets the queryable only is live status.
|
|
560
|
+
*/
|
|
561
|
+
isLive?: boolean;
|
|
562
|
+
/**
|
|
563
|
+
* Gets or sets the sort order direction.
|
|
564
|
+
*/
|
|
565
|
+
sortOrderDirection?: SearchSortOrderDirection;
|
|
566
|
+
}): CancelablePromise<number> {
|
|
567
|
+
return this.httpRequest.request({
|
|
568
|
+
method: 'GET',
|
|
569
|
+
url: '/api/survey-completion-logs/count',
|
|
570
|
+
query: {
|
|
571
|
+
SurveyId: surveyId,
|
|
572
|
+
AttendeeId: attendeeId,
|
|
573
|
+
OrderId: orderId,
|
|
574
|
+
OrderItemId: orderItemId,
|
|
575
|
+
SessionId: sessionId,
|
|
576
|
+
CourseId: courseId,
|
|
577
|
+
PageNumber: pageNumber,
|
|
578
|
+
Take: take,
|
|
579
|
+
Skip: skip,
|
|
580
|
+
LimitListRequests: limitListRequests,
|
|
581
|
+
TenantId: tenantId,
|
|
582
|
+
ModifiedById: modifiedById,
|
|
583
|
+
ModifiedByIds: modifiedByIds,
|
|
584
|
+
DateCreatedGTE: dateCreatedGte,
|
|
585
|
+
DateCreatedLTE: dateCreatedLte,
|
|
586
|
+
IsLive: isLive,
|
|
587
|
+
SortOrderDirection: sortOrderDirection,
|
|
588
|
+
},
|
|
589
|
+
errors: {
|
|
590
|
+
400: `Bad Request`,
|
|
591
|
+
422: `Unprocessable Content`,
|
|
592
|
+
500: `Internal Server Error`,
|
|
593
|
+
},
|
|
594
|
+
});
|
|
595
|
+
}
|
|
596
|
+
|
|
474
597
|
/**
|
|
475
598
|
* Gets a list of resources unpaged and without references.
|
|
476
599
|
* @returns SurveyCompletionLog OK
|
|
@@ -411,6 +411,99 @@ export class SurveyQuestionsService {
|
|
|
411
411
|
});
|
|
412
412
|
}
|
|
413
413
|
|
|
414
|
+
/**
|
|
415
|
+
* Returns the number of results in the database given the provided search params.
|
|
416
|
+
* @returns number OK
|
|
417
|
+
* @throws ApiError
|
|
418
|
+
*/
|
|
419
|
+
public count({
|
|
420
|
+
surveyId,
|
|
421
|
+
pageNumber,
|
|
422
|
+
take,
|
|
423
|
+
skip,
|
|
424
|
+
limitListRequests,
|
|
425
|
+
tenantId,
|
|
426
|
+
modifiedById,
|
|
427
|
+
modifiedByIds,
|
|
428
|
+
dateCreatedGte,
|
|
429
|
+
dateCreatedLte,
|
|
430
|
+
isLive,
|
|
431
|
+
sortOrderDirection,
|
|
432
|
+
}: {
|
|
433
|
+
/**
|
|
434
|
+
* Gets or sets the Survey Id.
|
|
435
|
+
*/
|
|
436
|
+
surveyId?: string;
|
|
437
|
+
/**
|
|
438
|
+
* Gets or sets the page number for paged queries.
|
|
439
|
+
*/
|
|
440
|
+
pageNumber?: number;
|
|
441
|
+
/**
|
|
442
|
+
* Gets or sets the result count limit, always applicable Paged queries, only applicable to List queries if LimitListRequests is set to true.
|
|
443
|
+
*/
|
|
444
|
+
take?: number;
|
|
445
|
+
/**
|
|
446
|
+
* Gets or sets how much items to skip from begining of db table, when this is set page is always 1.
|
|
447
|
+
*/
|
|
448
|
+
skip?: number;
|
|
449
|
+
/**
|
|
450
|
+
* Gets or sets a value indicating whether to apply a limit to the number of results returned in a GetList request.
|
|
451
|
+
*/
|
|
452
|
+
limitListRequests?: boolean;
|
|
453
|
+
/**
|
|
454
|
+
* Gets or sets the Tenant Id.
|
|
455
|
+
*/
|
|
456
|
+
tenantId?: string;
|
|
457
|
+
/**
|
|
458
|
+
* Gets or sets the Modifed By Id.
|
|
459
|
+
*/
|
|
460
|
+
modifiedById?: string;
|
|
461
|
+
/**
|
|
462
|
+
* Gets or sets the Modifed By Ids.
|
|
463
|
+
*/
|
|
464
|
+
modifiedByIds?: Array<string>;
|
|
465
|
+
/**
|
|
466
|
+
* Gets or sets the Date Created greater than equal to.
|
|
467
|
+
*/
|
|
468
|
+
dateCreatedGte?: string;
|
|
469
|
+
/**
|
|
470
|
+
* Gets or sets the Date Created less than equal to.
|
|
471
|
+
*/
|
|
472
|
+
dateCreatedLte?: string;
|
|
473
|
+
/**
|
|
474
|
+
* Gets or sets the queryable only is live status.
|
|
475
|
+
*/
|
|
476
|
+
isLive?: boolean;
|
|
477
|
+
/**
|
|
478
|
+
* Gets or sets the sort order direction.
|
|
479
|
+
*/
|
|
480
|
+
sortOrderDirection?: SearchSortOrderDirection;
|
|
481
|
+
}): CancelablePromise<number> {
|
|
482
|
+
return this.httpRequest.request({
|
|
483
|
+
method: 'GET',
|
|
484
|
+
url: '/api/survey-questions/count',
|
|
485
|
+
query: {
|
|
486
|
+
SurveyId: surveyId,
|
|
487
|
+
PageNumber: pageNumber,
|
|
488
|
+
Take: take,
|
|
489
|
+
Skip: skip,
|
|
490
|
+
LimitListRequests: limitListRequests,
|
|
491
|
+
TenantId: tenantId,
|
|
492
|
+
ModifiedById: modifiedById,
|
|
493
|
+
ModifiedByIds: modifiedByIds,
|
|
494
|
+
DateCreatedGTE: dateCreatedGte,
|
|
495
|
+
DateCreatedLTE: dateCreatedLte,
|
|
496
|
+
IsLive: isLive,
|
|
497
|
+
SortOrderDirection: sortOrderDirection,
|
|
498
|
+
},
|
|
499
|
+
errors: {
|
|
500
|
+
400: `Bad Request`,
|
|
501
|
+
422: `Unprocessable Content`,
|
|
502
|
+
500: `Internal Server Error`,
|
|
503
|
+
},
|
|
504
|
+
});
|
|
505
|
+
}
|
|
506
|
+
|
|
414
507
|
/**
|
|
415
508
|
* Gets a list of resources unpaged and without references.
|
|
416
509
|
* @returns SurveyQuestion OK
|