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
|
@@ -550,6 +550,111 @@ export class SurveyReportExtendedService {
|
|
|
550
550
|
});
|
|
551
551
|
}
|
|
552
552
|
|
|
553
|
+
/**
|
|
554
|
+
* Returns the number of results in the database given the provided search params.
|
|
555
|
+
* @returns number OK
|
|
556
|
+
* @throws ApiError
|
|
557
|
+
*/
|
|
558
|
+
public count({
|
|
559
|
+
surveyId,
|
|
560
|
+
slotId,
|
|
561
|
+
opportunityType,
|
|
562
|
+
pageNumber,
|
|
563
|
+
take,
|
|
564
|
+
skip,
|
|
565
|
+
limitListRequests,
|
|
566
|
+
tenantId,
|
|
567
|
+
modifiedById,
|
|
568
|
+
modifiedByIds,
|
|
569
|
+
dateCreatedGte,
|
|
570
|
+
dateCreatedLte,
|
|
571
|
+
isLive,
|
|
572
|
+
sortOrderDirection,
|
|
573
|
+
}: {
|
|
574
|
+
/**
|
|
575
|
+
* Gets or sets the Survey Id.
|
|
576
|
+
*/
|
|
577
|
+
surveyId?: string;
|
|
578
|
+
/**
|
|
579
|
+
* Gets or sets the Slot Id/Scheduled Session Id/Course Id.
|
|
580
|
+
*/
|
|
581
|
+
slotId?: string;
|
|
582
|
+
/**
|
|
583
|
+
* Gets or sets the Opportunity Type.
|
|
584
|
+
*/
|
|
585
|
+
opportunityType?: string;
|
|
586
|
+
/**
|
|
587
|
+
* Gets or sets the page number for paged queries.
|
|
588
|
+
*/
|
|
589
|
+
pageNumber?: number;
|
|
590
|
+
/**
|
|
591
|
+
* Gets or sets the result count limit, always applicable Paged queries, only applicable to List queries if LimitListRequests is set to true.
|
|
592
|
+
*/
|
|
593
|
+
take?: number;
|
|
594
|
+
/**
|
|
595
|
+
* Gets or sets how much items to skip from begining of db table, when this is set page is always 1.
|
|
596
|
+
*/
|
|
597
|
+
skip?: number;
|
|
598
|
+
/**
|
|
599
|
+
* Gets or sets a value indicating whether to apply a limit to the number of results returned in a GetList request.
|
|
600
|
+
*/
|
|
601
|
+
limitListRequests?: boolean;
|
|
602
|
+
/**
|
|
603
|
+
* Gets or sets the Tenant Id.
|
|
604
|
+
*/
|
|
605
|
+
tenantId?: string;
|
|
606
|
+
/**
|
|
607
|
+
* Gets or sets the Modifed By Id.
|
|
608
|
+
*/
|
|
609
|
+
modifiedById?: string;
|
|
610
|
+
/**
|
|
611
|
+
* Gets or sets the Modifed By Ids.
|
|
612
|
+
*/
|
|
613
|
+
modifiedByIds?: Array<string>;
|
|
614
|
+
/**
|
|
615
|
+
* Gets or sets the Date Created greater than equal to.
|
|
616
|
+
*/
|
|
617
|
+
dateCreatedGte?: string;
|
|
618
|
+
/**
|
|
619
|
+
* Gets or sets the Date Created less than equal to.
|
|
620
|
+
*/
|
|
621
|
+
dateCreatedLte?: string;
|
|
622
|
+
/**
|
|
623
|
+
* Gets or sets the queryable only is live status.
|
|
624
|
+
*/
|
|
625
|
+
isLive?: boolean;
|
|
626
|
+
/**
|
|
627
|
+
* Gets or sets the sort order direction.
|
|
628
|
+
*/
|
|
629
|
+
sortOrderDirection?: SearchSortOrderDirection;
|
|
630
|
+
}): CancelablePromise<number> {
|
|
631
|
+
return this.httpRequest.request({
|
|
632
|
+
method: 'GET',
|
|
633
|
+
url: '/api/survey-extended-report/count',
|
|
634
|
+
query: {
|
|
635
|
+
SurveyId: surveyId,
|
|
636
|
+
SlotId: slotId,
|
|
637
|
+
OpportunityType: opportunityType,
|
|
638
|
+
PageNumber: pageNumber,
|
|
639
|
+
Take: take,
|
|
640
|
+
Skip: skip,
|
|
641
|
+
LimitListRequests: limitListRequests,
|
|
642
|
+
TenantId: tenantId,
|
|
643
|
+
ModifiedById: modifiedById,
|
|
644
|
+
ModifiedByIds: modifiedByIds,
|
|
645
|
+
DateCreatedGTE: dateCreatedGte,
|
|
646
|
+
DateCreatedLTE: dateCreatedLte,
|
|
647
|
+
IsLive: isLive,
|
|
648
|
+
SortOrderDirection: sortOrderDirection,
|
|
649
|
+
},
|
|
650
|
+
errors: {
|
|
651
|
+
400: `Bad Request`,
|
|
652
|
+
422: `Unprocessable Content`,
|
|
653
|
+
500: `Internal Server Error`,
|
|
654
|
+
},
|
|
655
|
+
});
|
|
656
|
+
}
|
|
657
|
+
|
|
553
658
|
/**
|
|
554
659
|
* Gets a list of resources unpaged and without references.
|
|
555
660
|
* @returns SurveyReportExtended OK
|
|
@@ -639,6 +639,129 @@ export class SurveysService {
|
|
|
639
639
|
});
|
|
640
640
|
}
|
|
641
641
|
|
|
642
|
+
/**
|
|
643
|
+
* Returns the number of results in the database given the provided search params.
|
|
644
|
+
* @returns number OK
|
|
645
|
+
* @throws ApiError
|
|
646
|
+
*/
|
|
647
|
+
public count({
|
|
648
|
+
id,
|
|
649
|
+
archived,
|
|
650
|
+
responseDateGte,
|
|
651
|
+
responseDateLte,
|
|
652
|
+
email,
|
|
653
|
+
includeSummary,
|
|
654
|
+
pageNumber,
|
|
655
|
+
take,
|
|
656
|
+
skip,
|
|
657
|
+
limitListRequests,
|
|
658
|
+
tenantId,
|
|
659
|
+
modifiedById,
|
|
660
|
+
modifiedByIds,
|
|
661
|
+
dateCreatedGte,
|
|
662
|
+
dateCreatedLte,
|
|
663
|
+
isLive,
|
|
664
|
+
sortOrderDirection,
|
|
665
|
+
}: {
|
|
666
|
+
/**
|
|
667
|
+
* Gets or sets the queryable Survey Id.
|
|
668
|
+
*/
|
|
669
|
+
id?: string;
|
|
670
|
+
/**
|
|
671
|
+
* Gets or sets the queryable archived value.
|
|
672
|
+
*/
|
|
673
|
+
archived?: boolean;
|
|
674
|
+
/**
|
|
675
|
+
* Gets or sets the queryable response date greater than or equal to query params.
|
|
676
|
+
*/
|
|
677
|
+
responseDateGte?: string;
|
|
678
|
+
/**
|
|
679
|
+
* Gets or sets the queryable response date less than or equal to query params.
|
|
680
|
+
*/
|
|
681
|
+
responseDateLte?: string;
|
|
682
|
+
/**
|
|
683
|
+
* Gets or sets the queryable email address query params.
|
|
684
|
+
*/
|
|
685
|
+
email?: string;
|
|
686
|
+
/**
|
|
687
|
+
* Gets or sets if responsesCount and lastResponseDate should be included.
|
|
688
|
+
*/
|
|
689
|
+
includeSummary?: boolean;
|
|
690
|
+
/**
|
|
691
|
+
* Gets or sets the page number for paged queries.
|
|
692
|
+
*/
|
|
693
|
+
pageNumber?: number;
|
|
694
|
+
/**
|
|
695
|
+
* Gets or sets the result count limit, always applicable Paged queries, only applicable to List queries if LimitListRequests is set to true.
|
|
696
|
+
*/
|
|
697
|
+
take?: number;
|
|
698
|
+
/**
|
|
699
|
+
* Gets or sets how much items to skip from begining of db table, when this is set page is always 1.
|
|
700
|
+
*/
|
|
701
|
+
skip?: number;
|
|
702
|
+
/**
|
|
703
|
+
* Gets or sets a value indicating whether to apply a limit to the number of results returned in a GetList request.
|
|
704
|
+
*/
|
|
705
|
+
limitListRequests?: boolean;
|
|
706
|
+
/**
|
|
707
|
+
* Gets or sets the Tenant Id.
|
|
708
|
+
*/
|
|
709
|
+
tenantId?: string;
|
|
710
|
+
/**
|
|
711
|
+
* Gets or sets the Modifed By Id.
|
|
712
|
+
*/
|
|
713
|
+
modifiedById?: string;
|
|
714
|
+
/**
|
|
715
|
+
* Gets or sets the Modifed By Ids.
|
|
716
|
+
*/
|
|
717
|
+
modifiedByIds?: Array<string>;
|
|
718
|
+
/**
|
|
719
|
+
* Gets or sets the Date Created greater than equal to.
|
|
720
|
+
*/
|
|
721
|
+
dateCreatedGte?: string;
|
|
722
|
+
/**
|
|
723
|
+
* Gets or sets the Date Created less than equal to.
|
|
724
|
+
*/
|
|
725
|
+
dateCreatedLte?: string;
|
|
726
|
+
/**
|
|
727
|
+
* Gets or sets the queryable only is live status.
|
|
728
|
+
*/
|
|
729
|
+
isLive?: boolean;
|
|
730
|
+
/**
|
|
731
|
+
* Gets or sets the sort order direction.
|
|
732
|
+
*/
|
|
733
|
+
sortOrderDirection?: SearchSortOrderDirection;
|
|
734
|
+
}): CancelablePromise<number> {
|
|
735
|
+
return this.httpRequest.request({
|
|
736
|
+
method: 'GET',
|
|
737
|
+
url: '/api/surveys/count',
|
|
738
|
+
query: {
|
|
739
|
+
Id: id,
|
|
740
|
+
Archived: archived,
|
|
741
|
+
ResponseDateGTE: responseDateGte,
|
|
742
|
+
ResponseDateLTE: responseDateLte,
|
|
743
|
+
Email: email,
|
|
744
|
+
IncludeSummary: includeSummary,
|
|
745
|
+
PageNumber: pageNumber,
|
|
746
|
+
Take: take,
|
|
747
|
+
Skip: skip,
|
|
748
|
+
LimitListRequests: limitListRequests,
|
|
749
|
+
TenantId: tenantId,
|
|
750
|
+
ModifiedById: modifiedById,
|
|
751
|
+
ModifiedByIds: modifiedByIds,
|
|
752
|
+
DateCreatedGTE: dateCreatedGte,
|
|
753
|
+
DateCreatedLTE: dateCreatedLte,
|
|
754
|
+
IsLive: isLive,
|
|
755
|
+
SortOrderDirection: sortOrderDirection,
|
|
756
|
+
},
|
|
757
|
+
errors: {
|
|
758
|
+
400: `Bad Request`,
|
|
759
|
+
422: `Unprocessable Content`,
|
|
760
|
+
500: `Internal Server Error`,
|
|
761
|
+
},
|
|
762
|
+
});
|
|
763
|
+
}
|
|
764
|
+
|
|
642
765
|
/**
|
|
643
766
|
* Gets a list of resources unpaged and without references.
|
|
644
767
|
* @returns Survey OK
|
|
@@ -411,6 +411,99 @@ export class TemplateDetailsService {
|
|
|
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
|
+
templateId,
|
|
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 queryable template detail id.
|
|
435
|
+
*/
|
|
436
|
+
templateId?: 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/template-details/count',
|
|
485
|
+
query: {
|
|
486
|
+
TemplateId: templateId,
|
|
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 TemplateDetail OK
|
|
@@ -411,6 +411,99 @@ export class TemplateFieldPermissionsService {
|
|
|
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
|
+
templateDetailId,
|
|
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 queryable template detail id.
|
|
435
|
+
*/
|
|
436
|
+
templateDetailId?: 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/template-field-permissions/count',
|
|
485
|
+
query: {
|
|
486
|
+
TemplateDetailId: templateDetailId,
|
|
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 TemplateFieldPermission OK
|
|
@@ -411,6 +411,99 @@ export class TemplateOffersService {
|
|
|
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
|
+
templateDetailId,
|
|
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 queryable template detail id.
|
|
435
|
+
*/
|
|
436
|
+
templateDetailId?: 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/template-offers/count',
|
|
485
|
+
query: {
|
|
486
|
+
TemplateDetailId: templateDetailId,
|
|
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 TemplateOffer OK
|
|
@@ -501,6 +501,99 @@ export class TemplatesService {
|
|
|
501
501
|
});
|
|
502
502
|
}
|
|
503
503
|
|
|
504
|
+
/**
|
|
505
|
+
* Returns the number of results in the database given the provided search params.
|
|
506
|
+
* @returns number OK
|
|
507
|
+
* @throws ApiError
|
|
508
|
+
*/
|
|
509
|
+
public count({
|
|
510
|
+
ids,
|
|
511
|
+
pageNumber,
|
|
512
|
+
take,
|
|
513
|
+
skip,
|
|
514
|
+
limitListRequests,
|
|
515
|
+
tenantId,
|
|
516
|
+
modifiedById,
|
|
517
|
+
modifiedByIds,
|
|
518
|
+
dateCreatedGte,
|
|
519
|
+
dateCreatedLte,
|
|
520
|
+
isLive,
|
|
521
|
+
sortOrderDirection,
|
|
522
|
+
}: {
|
|
523
|
+
/**
|
|
524
|
+
* Gets or sets the queryable template ids.
|
|
525
|
+
*/
|
|
526
|
+
ids?: Array<string>;
|
|
527
|
+
/**
|
|
528
|
+
* Gets or sets the page number for paged queries.
|
|
529
|
+
*/
|
|
530
|
+
pageNumber?: number;
|
|
531
|
+
/**
|
|
532
|
+
* Gets or sets the result count limit, always applicable Paged queries, only applicable to List queries if LimitListRequests is set to true.
|
|
533
|
+
*/
|
|
534
|
+
take?: number;
|
|
535
|
+
/**
|
|
536
|
+
* Gets or sets how much items to skip from begining of db table, when this is set page is always 1.
|
|
537
|
+
*/
|
|
538
|
+
skip?: number;
|
|
539
|
+
/**
|
|
540
|
+
* Gets or sets a value indicating whether to apply a limit to the number of results returned in a GetList request.
|
|
541
|
+
*/
|
|
542
|
+
limitListRequests?: boolean;
|
|
543
|
+
/**
|
|
544
|
+
* Gets or sets the Tenant Id.
|
|
545
|
+
*/
|
|
546
|
+
tenantId?: string;
|
|
547
|
+
/**
|
|
548
|
+
* Gets or sets the Modifed By Id.
|
|
549
|
+
*/
|
|
550
|
+
modifiedById?: string;
|
|
551
|
+
/**
|
|
552
|
+
* Gets or sets the Modifed By Ids.
|
|
553
|
+
*/
|
|
554
|
+
modifiedByIds?: Array<string>;
|
|
555
|
+
/**
|
|
556
|
+
* Gets or sets the Date Created greater than equal to.
|
|
557
|
+
*/
|
|
558
|
+
dateCreatedGte?: string;
|
|
559
|
+
/**
|
|
560
|
+
* Gets or sets the Date Created less than equal to.
|
|
561
|
+
*/
|
|
562
|
+
dateCreatedLte?: string;
|
|
563
|
+
/**
|
|
564
|
+
* Gets or sets the queryable only is live status.
|
|
565
|
+
*/
|
|
566
|
+
isLive?: boolean;
|
|
567
|
+
/**
|
|
568
|
+
* Gets or sets the sort order direction.
|
|
569
|
+
*/
|
|
570
|
+
sortOrderDirection?: SearchSortOrderDirection;
|
|
571
|
+
}): CancelablePromise<number> {
|
|
572
|
+
return this.httpRequest.request({
|
|
573
|
+
method: 'GET',
|
|
574
|
+
url: '/api/templates/count',
|
|
575
|
+
query: {
|
|
576
|
+
Ids: ids,
|
|
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
|
+
|
|
504
597
|
/**
|
|
505
598
|
* Gets a list of resources unpaged and without references.
|
|
506
599
|
* @returns Template OK
|