reach-api-sdk 1.0.194 → 1.0.196

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 (83) hide show
  1. package/dist/reach-sdk.d.ts +7203 -1320
  2. package/dist/reach-sdk.js +4096 -26
  3. package/package.json +1 -1
  4. package/src/definition/swagger.yaml +16630 -4446
  5. package/src/index.ts +1 -0
  6. package/src/models/Tenant.ts +2 -0
  7. package/src/models/TenantStatus.ts +12 -0
  8. package/src/services/ActivityPerformanceService.ts +129 -0
  9. package/src/services/AttendeesService.ts +111 -0
  10. package/src/services/BadEnglandReportService.ts +87 -0
  11. package/src/services/BookingService.ts +201 -0
  12. package/src/services/CancellationPoliciesService.ts +111 -0
  13. package/src/services/CourseSessionSchedulesService.ts +117 -0
  14. package/src/services/CourseSessionsService.ts +213 -0
  15. package/src/services/CoursesService.ts +273 -0
  16. package/src/services/CustomersService.ts +129 -0
  17. package/src/services/DealActivitiesService.ts +123 -0
  18. package/src/services/DealsService.ts +123 -0
  19. package/src/services/DiscountCodeUsesService.ts +136 -0
  20. package/src/services/EmailReminderSchedulesService.ts +117 -0
  21. package/src/services/EmailSettingsService.ts +117 -0
  22. package/src/services/FacilitiesService.ts +135 -0
  23. package/src/services/FacilityIndividualsService.ts +93 -0
  24. package/src/services/GenericActivityService.ts +316 -0
  25. package/src/services/ImageUploadHistoryService.ts +99 -0
  26. package/src/services/ImagesService.ts +147 -0
  27. package/src/services/LeasingService.ts +195 -0
  28. package/src/services/LocationsReportService.ts +105 -0
  29. package/src/services/NotificationQueueService.ts +99 -0
  30. package/src/services/NotificationSettingsService.ts +177 -0
  31. package/src/services/OffersService.ts +165 -0
  32. package/src/services/OpenactiveFeedIntermediateService.ts +93 -0
  33. package/src/services/OpenactiveFeedItemService.ts +99 -0
  34. package/src/services/OpportunityRegisterService.ts +147 -0
  35. package/src/services/OrderItemReportService.ts +123 -0
  36. package/src/services/OrderItemsService.ts +153 -24
  37. package/src/services/OrdersService.ts +195 -0
  38. package/src/services/OrgCourseUtilisationService.ts +147 -0
  39. package/src/services/PaymentPoliciesService.ts +111 -0
  40. package/src/services/PaymentsService.ts +93 -0
  41. package/src/services/PermissionsService.ts +87 -0
  42. package/src/services/PlatformPayoutsService.ts +99 -0
  43. package/src/services/ProgrammesService.ts +117 -0
  44. package/src/services/ProvidersService.ts +189 -0
  45. package/src/services/PublicGenericActivityService.ts +25 -0
  46. package/src/services/PublicOrderItemsService.ts +0 -12
  47. package/src/services/PublicVenuesService.ts +19 -0
  48. package/src/services/PublicWaitlistOpportunityService.ts +12 -0
  49. package/src/services/RecentOrderActivityReportService.ts +87 -0
  50. package/src/services/RegisterReportService.ts +117 -0
  51. package/src/services/RescheduleLogService.ts +99 -0
  52. package/src/services/ScheduledSessionsSchedulesService.ts +123 -0
  53. package/src/services/ScheduledSessionsService.ts +249 -0
  54. package/src/services/SessionsService.ts +273 -0
  55. package/src/services/SlotOffersService.ts +99 -0
  56. package/src/services/SlotScheduleOffersService.ts +99 -0
  57. package/src/services/SlotSchedulesService.ts +129 -0
  58. package/src/services/SlotsService.ts +207 -0
  59. package/src/services/StripeAccountService.ts +99 -0
  60. package/src/services/SurveyAnswersService.ts +129 -0
  61. package/src/services/SurveyCompletionLogService.ts +123 -0
  62. package/src/services/SurveyQuestionsService.ts +93 -0
  63. package/src/services/SurveyReportExtendedService.ts +105 -0
  64. package/src/services/SurveysService.ts +123 -0
  65. package/src/services/TemplateDetailsService.ts +93 -0
  66. package/src/services/TemplateFieldPermissionsService.ts +93 -0
  67. package/src/services/TemplateOffersService.ts +93 -0
  68. package/src/services/TemplatesService.ts +93 -0
  69. package/src/services/TenantWebsiteSettingsService.ts +87 -0
  70. package/src/services/TenantsService.ts +93 -0
  71. package/src/services/TotalRevenueReportService.ts +111 -0
  72. package/src/services/UserPermissionsService.ts +93 -0
  73. package/src/services/UserProgrammesService.ts +111 -0
  74. package/src/services/UserProvidersService.ts +111 -0
  75. package/src/services/UsersService.ts +123 -0
  76. package/src/services/VenueManagersService.ts +111 -0
  77. package/src/services/VenuePerformanceService.ts +129 -0
  78. package/src/services/VenuesReportService.ts +93 -0
  79. package/src/services/VenuesService.ts +238 -0
  80. package/src/services/WaitlistActivityReportService.ts +123 -0
  81. package/src/services/WaitlistActivityService.ts +123 -0
  82. package/src/services/WaitlistOpportunityReportService.ts +170 -0
  83. package/src/services/WaitlistOpportunityService.ts +147 -0
@@ -1085,6 +1085,279 @@ export class SessionsService {
1085
1085
  });
1086
1086
  }
1087
1087
 
1088
+ /**
1089
+ * Returns the number of results in the database given the provided search params.
1090
+ * @returns number OK
1091
+ * @throws ApiError
1092
+ */
1093
+ public count({
1094
+ ids,
1095
+ venueId,
1096
+ surveyId,
1097
+ cancellationPolicyId,
1098
+ paymentPolicyId,
1099
+ futureOnly,
1100
+ online,
1101
+ featured,
1102
+ programmeId,
1103
+ includeNextOpportunity,
1104
+ allowTemplating,
1105
+ archived,
1106
+ deleted,
1107
+ openActiveUpdate,
1108
+ dashboardRequest,
1109
+ networkId,
1110
+ distance,
1111
+ minAgeLte,
1112
+ minAgeGte,
1113
+ maxAgeLte,
1114
+ maxAgeGte,
1115
+ priceTotalGte,
1116
+ priceTotalLte,
1117
+ timeOfDay,
1118
+ dateFrom,
1119
+ dateTo,
1120
+ gender,
1121
+ periodsOfWeek,
1122
+ searchGeoCenter,
1123
+ templateFieldPermissionsId,
1124
+ templateFieldPermissionsIds,
1125
+ pageNumber,
1126
+ take,
1127
+ skip,
1128
+ limitListRequests,
1129
+ tenantId,
1130
+ modifiedById,
1131
+ modifiedByIds,
1132
+ dateCreatedGte,
1133
+ dateCreatedLte,
1134
+ isLive,
1135
+ sortOrderDirection,
1136
+ }: {
1137
+ /**
1138
+ * Gets or sets the queryable session ids.
1139
+ */
1140
+ ids?: Array<string>;
1141
+ /**
1142
+ * Gets or sets the queryable Venue Id.
1143
+ */
1144
+ venueId?: string;
1145
+ /**
1146
+ * Gets or sets the queryable Survey Id.
1147
+ */
1148
+ surveyId?: string;
1149
+ /**
1150
+ * Gets or sets the queryable Cancellation policy Id.
1151
+ */
1152
+ cancellationPolicyId?: string;
1153
+ /**
1154
+ * Gets or sets the queryable Payment policy Id.
1155
+ */
1156
+ paymentPolicyId?: string;
1157
+ /**
1158
+ * Gets or sets a value indicating whether to only return sessions with future slots available.
1159
+ */
1160
+ futureOnly?: boolean;
1161
+ /**
1162
+ * Gets or sets a value indicating whether return online sessions.
1163
+ */
1164
+ online?: boolean;
1165
+ /**
1166
+ * Gets or sets a value indicating whether the session is featured on the storefront.
1167
+ */
1168
+ featured?: boolean;
1169
+ /**
1170
+ * Gets or sets the queryable Programme Id.
1171
+ */
1172
+ programmeId?: string;
1173
+ /**
1174
+ * Gets or sets a value indicating whether to inlcude the sessions next availability.
1175
+ */
1176
+ includeNextOpportunity?: boolean;
1177
+ /**
1178
+ * Gets or sets a value indicating whether to include templatable sessions.
1179
+ */
1180
+ allowTemplating?: boolean;
1181
+ /**
1182
+ * Gets or sets a value indicating whether to include archived sessions.
1183
+ */
1184
+ archived?: boolean;
1185
+ /**
1186
+ * Gets or sets a value indicating whether to include deleted sessions.
1187
+ */
1188
+ deleted?: boolean;
1189
+ /**
1190
+ * Gets or sets a value indicating this an openactive reaquest.
1191
+ */
1192
+ openActiveUpdate?: boolean;
1193
+ /**
1194
+ * Gets or sets a value indicating this a request from the storefront dashboard.Needs replacing with token middleware and DI.
1195
+ */
1196
+ dashboardRequest?: boolean;
1197
+ /**
1198
+ * Gets or sets a value indicating whether to include only sessions by given NetworkId.
1199
+ */
1200
+ networkId?: string;
1201
+ /**
1202
+ * Gets or sets Distance.
1203
+ */
1204
+ distance?: number;
1205
+ /**
1206
+ * Gets or sets MinAgeLTE.
1207
+ */
1208
+ minAgeLte?: number;
1209
+ /**
1210
+ * Gets or sets MinAgeGTE.
1211
+ */
1212
+ minAgeGte?: number;
1213
+ /**
1214
+ * Gets or sets MaxAgeLTE.
1215
+ */
1216
+ maxAgeLte?: number;
1217
+ /**
1218
+ * Gets or sets MaxAgeGTE.
1219
+ */
1220
+ maxAgeGte?: number;
1221
+ /**
1222
+ * Gets or sets PriceTotalGTE.
1223
+ */
1224
+ priceTotalGte?: number;
1225
+ /**
1226
+ * Gets or sets PriceTotalLTE.
1227
+ */
1228
+ priceTotalLte?: number;
1229
+ /**
1230
+ * Gets or sets TimeOfDay.
1231
+ */
1232
+ timeOfDay?: string;
1233
+ /**
1234
+ * Gets or sets DateFrom.
1235
+ */
1236
+ dateFrom?: string;
1237
+ /**
1238
+ * Gets or sets DateTo.
1239
+ */
1240
+ dateTo?: string;
1241
+ /**
1242
+ * Gets or sets Gender.
1243
+ */
1244
+ gender?: Gender;
1245
+ /**
1246
+ * Gets or sets PeriodsOfWeek.
1247
+ */
1248
+ periodsOfWeek?: PeriodsOfWeek;
1249
+ /**
1250
+ * Gets or sets SearchGeoCenter.
1251
+ */
1252
+ searchGeoCenter?: string;
1253
+ /**
1254
+ * Gets or sets the queryable session template field permissions Id.
1255
+ */
1256
+ templateFieldPermissionsId?: string;
1257
+ /**
1258
+ * Gets or sets the queryable session template field permission ids.
1259
+ */
1260
+ templateFieldPermissionsIds?: Array<string>;
1261
+ /**
1262
+ * Gets or sets the page number for paged queries.
1263
+ */
1264
+ pageNumber?: number;
1265
+ /**
1266
+ * Gets or sets the result count limit, always applicable Paged queries, only applicable to List queries if LimitListRequests is set to true.
1267
+ */
1268
+ take?: number;
1269
+ /**
1270
+ * Gets or sets how much items to skip from begining of db table, when this is set page is always 1.
1271
+ */
1272
+ skip?: number;
1273
+ /**
1274
+ * Gets or sets a value indicating whether to apply a limit to the number of results returned in a GetList request.
1275
+ */
1276
+ limitListRequests?: boolean;
1277
+ /**
1278
+ * Gets or sets the Tenant Id.
1279
+ */
1280
+ tenantId?: string;
1281
+ /**
1282
+ * Gets or sets the Modifed By Id.
1283
+ */
1284
+ modifiedById?: string;
1285
+ /**
1286
+ * Gets or sets the Modifed By Ids.
1287
+ */
1288
+ modifiedByIds?: Array<string>;
1289
+ /**
1290
+ * Gets or sets the Date Created greater than equal to.
1291
+ */
1292
+ dateCreatedGte?: string;
1293
+ /**
1294
+ * Gets or sets the Date Created less than equal to.
1295
+ */
1296
+ dateCreatedLte?: string;
1297
+ /**
1298
+ * Gets or sets the queryable only is live status.
1299
+ */
1300
+ isLive?: boolean;
1301
+ /**
1302
+ * Gets or sets the sort order direction.
1303
+ */
1304
+ sortOrderDirection?: SearchSortOrderDirection;
1305
+ }): CancelablePromise<number> {
1306
+ return this.httpRequest.request({
1307
+ method: 'GET',
1308
+ url: '/api/sessions/count',
1309
+ query: {
1310
+ Ids: ids,
1311
+ VenueId: venueId,
1312
+ SurveyId: surveyId,
1313
+ CancellationPolicyId: cancellationPolicyId,
1314
+ PaymentPolicyId: paymentPolicyId,
1315
+ FutureOnly: futureOnly,
1316
+ Online: online,
1317
+ Featured: featured,
1318
+ ProgrammeId: programmeId,
1319
+ IncludeNextOpportunity: includeNextOpportunity,
1320
+ AllowTemplating: allowTemplating,
1321
+ Archived: archived,
1322
+ Deleted: deleted,
1323
+ OpenActiveUpdate: openActiveUpdate,
1324
+ DashboardRequest: dashboardRequest,
1325
+ NetworkId: networkId,
1326
+ Distance: distance,
1327
+ MinAgeLTE: minAgeLte,
1328
+ MinAgeGTE: minAgeGte,
1329
+ MaxAgeLTE: maxAgeLte,
1330
+ MaxAgeGTE: maxAgeGte,
1331
+ PriceTotalGTE: priceTotalGte,
1332
+ PriceTotalLTE: priceTotalLte,
1333
+ TimeOfDay: timeOfDay,
1334
+ DateFrom: dateFrom,
1335
+ DateTo: dateTo,
1336
+ Gender: gender,
1337
+ PeriodsOfWeek: periodsOfWeek,
1338
+ SearchGeoCenter: searchGeoCenter,
1339
+ TemplateFieldPermissionsId: templateFieldPermissionsId,
1340
+ TemplateFieldPermissionsIds: templateFieldPermissionsIds,
1341
+ PageNumber: pageNumber,
1342
+ Take: take,
1343
+ Skip: skip,
1344
+ LimitListRequests: limitListRequests,
1345
+ TenantId: tenantId,
1346
+ ModifiedById: modifiedById,
1347
+ ModifiedByIds: modifiedByIds,
1348
+ DateCreatedGTE: dateCreatedGte,
1349
+ DateCreatedLTE: dateCreatedLte,
1350
+ IsLive: isLive,
1351
+ SortOrderDirection: sortOrderDirection,
1352
+ },
1353
+ errors: {
1354
+ 400: `Bad Request`,
1355
+ 422: `Unprocessable Content`,
1356
+ 500: `Internal Server Error`,
1357
+ },
1358
+ });
1359
+ }
1360
+
1088
1361
  /**
1089
1362
  * Gets a list of resources unpaged and without references.
1090
1363
  * @returns Session OK
@@ -423,6 +423,105 @@ export class SlotOffersService {
423
423
  });
424
424
  }
425
425
 
426
+ /**
427
+ * Returns the number of results in the database given the provided search params.
428
+ * @returns number OK
429
+ * @throws ApiError
430
+ */
431
+ public count({
432
+ slotId,
433
+ offerId,
434
+ pageNumber,
435
+ take,
436
+ skip,
437
+ limitListRequests,
438
+ tenantId,
439
+ modifiedById,
440
+ modifiedByIds,
441
+ dateCreatedGte,
442
+ dateCreatedLte,
443
+ isLive,
444
+ sortOrderDirection,
445
+ }: {
446
+ /**
447
+ * Gets or sets the queryable Slot Id.
448
+ */
449
+ slotId?: string;
450
+ /**
451
+ * Gets or sets the queryable Offer Id.
452
+ */
453
+ offerId?: string;
454
+ /**
455
+ * Gets or sets the page number for paged queries.
456
+ */
457
+ pageNumber?: number;
458
+ /**
459
+ * Gets or sets the result count limit, always applicable Paged queries, only applicable to List queries if LimitListRequests is set to true.
460
+ */
461
+ take?: number;
462
+ /**
463
+ * Gets or sets how much items to skip from begining of db table, when this is set page is always 1.
464
+ */
465
+ skip?: number;
466
+ /**
467
+ * Gets or sets a value indicating whether to apply a limit to the number of results returned in a GetList request.
468
+ */
469
+ limitListRequests?: boolean;
470
+ /**
471
+ * Gets or sets the Tenant Id.
472
+ */
473
+ tenantId?: string;
474
+ /**
475
+ * Gets or sets the Modifed By Id.
476
+ */
477
+ modifiedById?: string;
478
+ /**
479
+ * Gets or sets the Modifed By Ids.
480
+ */
481
+ modifiedByIds?: Array<string>;
482
+ /**
483
+ * Gets or sets the Date Created greater than equal to.
484
+ */
485
+ dateCreatedGte?: string;
486
+ /**
487
+ * Gets or sets the Date Created less than equal to.
488
+ */
489
+ dateCreatedLte?: string;
490
+ /**
491
+ * Gets or sets the queryable only is live status.
492
+ */
493
+ isLive?: boolean;
494
+ /**
495
+ * Gets or sets the sort order direction.
496
+ */
497
+ sortOrderDirection?: SearchSortOrderDirection;
498
+ }): CancelablePromise<number> {
499
+ return this.httpRequest.request({
500
+ method: 'GET',
501
+ url: '/api/slot-offers/count',
502
+ query: {
503
+ SlotId: slotId,
504
+ OfferId: offerId,
505
+ PageNumber: pageNumber,
506
+ Take: take,
507
+ Skip: skip,
508
+ LimitListRequests: limitListRequests,
509
+ TenantId: tenantId,
510
+ ModifiedById: modifiedById,
511
+ ModifiedByIds: modifiedByIds,
512
+ DateCreatedGTE: dateCreatedGte,
513
+ DateCreatedLTE: dateCreatedLte,
514
+ IsLive: isLive,
515
+ SortOrderDirection: sortOrderDirection,
516
+ },
517
+ errors: {
518
+ 400: `Bad Request`,
519
+ 422: `Unprocessable Content`,
520
+ 500: `Internal Server Error`,
521
+ },
522
+ });
523
+ }
524
+
426
525
  /**
427
526
  * Gets a list of resources unpaged and without references.
428
527
  * @returns SlotOffer OK
@@ -423,6 +423,105 @@ export class SlotScheduleOffersService {
423
423
  });
424
424
  }
425
425
 
426
+ /**
427
+ * Returns the number of results in the database given the provided search params.
428
+ * @returns number OK
429
+ * @throws ApiError
430
+ */
431
+ public count({
432
+ slotScheduleId,
433
+ offerId,
434
+ pageNumber,
435
+ take,
436
+ skip,
437
+ limitListRequests,
438
+ tenantId,
439
+ modifiedById,
440
+ modifiedByIds,
441
+ dateCreatedGte,
442
+ dateCreatedLte,
443
+ isLive,
444
+ sortOrderDirection,
445
+ }: {
446
+ /**
447
+ * Gets or sets the queryable Slot schedule Id.
448
+ */
449
+ slotScheduleId?: string;
450
+ /**
451
+ * Gets or sets the queryable Offer Id.
452
+ */
453
+ offerId?: string;
454
+ /**
455
+ * Gets or sets the page number for paged queries.
456
+ */
457
+ pageNumber?: number;
458
+ /**
459
+ * Gets or sets the result count limit, always applicable Paged queries, only applicable to List queries if LimitListRequests is set to true.
460
+ */
461
+ take?: number;
462
+ /**
463
+ * Gets or sets how much items to skip from begining of db table, when this is set page is always 1.
464
+ */
465
+ skip?: number;
466
+ /**
467
+ * Gets or sets a value indicating whether to apply a limit to the number of results returned in a GetList request.
468
+ */
469
+ limitListRequests?: boolean;
470
+ /**
471
+ * Gets or sets the Tenant Id.
472
+ */
473
+ tenantId?: string;
474
+ /**
475
+ * Gets or sets the Modifed By Id.
476
+ */
477
+ modifiedById?: string;
478
+ /**
479
+ * Gets or sets the Modifed By Ids.
480
+ */
481
+ modifiedByIds?: Array<string>;
482
+ /**
483
+ * Gets or sets the Date Created greater than equal to.
484
+ */
485
+ dateCreatedGte?: string;
486
+ /**
487
+ * Gets or sets the Date Created less than equal to.
488
+ */
489
+ dateCreatedLte?: string;
490
+ /**
491
+ * Gets or sets the queryable only is live status.
492
+ */
493
+ isLive?: boolean;
494
+ /**
495
+ * Gets or sets the sort order direction.
496
+ */
497
+ sortOrderDirection?: SearchSortOrderDirection;
498
+ }): CancelablePromise<number> {
499
+ return this.httpRequest.request({
500
+ method: 'GET',
501
+ url: '/api/slot-schedule-offers/count',
502
+ query: {
503
+ SlotScheduleId: slotScheduleId,
504
+ OfferId: offerId,
505
+ PageNumber: pageNumber,
506
+ Take: take,
507
+ Skip: skip,
508
+ LimitListRequests: limitListRequests,
509
+ TenantId: tenantId,
510
+ ModifiedById: modifiedById,
511
+ ModifiedByIds: modifiedByIds,
512
+ DateCreatedGTE: dateCreatedGte,
513
+ DateCreatedLTE: dateCreatedLte,
514
+ IsLive: isLive,
515
+ SortOrderDirection: sortOrderDirection,
516
+ },
517
+ errors: {
518
+ 400: `Bad Request`,
519
+ 422: `Unprocessable Content`,
520
+ 500: `Internal Server Error`,
521
+ },
522
+ });
523
+ }
524
+
426
525
  /**
427
526
  * Gets a list of resources unpaged and without references.
428
527
  * @returns SlotScheduleOffer OK
@@ -545,6 +545,135 @@ export class SlotSchedulesService {
545
545
  });
546
546
  }
547
547
 
548
+ /**
549
+ * Returns the number of results in the database given the provided search params.
550
+ * @returns number OK
551
+ * @throws ApiError
552
+ */
553
+ public count({
554
+ facilityId,
555
+ facilityIds,
556
+ facilityIndividualId,
557
+ facilityIndividualIds,
558
+ lastRunDateTimeLte,
559
+ status,
560
+ statuses,
561
+ pageNumber,
562
+ take,
563
+ skip,
564
+ limitListRequests,
565
+ tenantId,
566
+ modifiedById,
567
+ modifiedByIds,
568
+ dateCreatedGte,
569
+ dateCreatedLte,
570
+ isLive,
571
+ sortOrderDirection,
572
+ }: {
573
+ /**
574
+ * Gets or sets the queryable slot schedule facility id.
575
+ */
576
+ facilityId?: string;
577
+ /**
578
+ * Gets or sets the queryable slot schedule facility Ids.
579
+ */
580
+ facilityIds?: Array<string>;
581
+ /**
582
+ * Gets or sets the queryable slot schedule facility id.
583
+ */
584
+ facilityIndividualId?: string;
585
+ /**
586
+ * Gets or sets the queryable slot schedule facility individual Ids.
587
+ */
588
+ facilityIndividualIds?: Array<string>;
589
+ /**
590
+ * Gets or sets the queryable slot schedule last run date.
591
+ */
592
+ lastRunDateTimeLte?: string;
593
+ /**
594
+ * Gets or sets the queryable schedule status.
595
+ */
596
+ status?: ScheduleStatus;
597
+ /**
598
+ * Gets or sets the queryable schedule statuses.
599
+ */
600
+ statuses?: Array<ScheduleStatus>;
601
+ /**
602
+ * Gets or sets the page number for paged queries.
603
+ */
604
+ pageNumber?: number;
605
+ /**
606
+ * Gets or sets the result count limit, always applicable Paged queries, only applicable to List queries if LimitListRequests is set to true.
607
+ */
608
+ take?: number;
609
+ /**
610
+ * Gets or sets how much items to skip from begining of db table, when this is set page is always 1.
611
+ */
612
+ skip?: number;
613
+ /**
614
+ * Gets or sets a value indicating whether to apply a limit to the number of results returned in a GetList request.
615
+ */
616
+ limitListRequests?: boolean;
617
+ /**
618
+ * Gets or sets the Tenant Id.
619
+ */
620
+ tenantId?: string;
621
+ /**
622
+ * Gets or sets the Modifed By Id.
623
+ */
624
+ modifiedById?: string;
625
+ /**
626
+ * Gets or sets the Modifed By Ids.
627
+ */
628
+ modifiedByIds?: Array<string>;
629
+ /**
630
+ * Gets or sets the Date Created greater than equal to.
631
+ */
632
+ dateCreatedGte?: string;
633
+ /**
634
+ * Gets or sets the Date Created less than equal to.
635
+ */
636
+ dateCreatedLte?: string;
637
+ /**
638
+ * Gets or sets the queryable only is live status.
639
+ */
640
+ isLive?: boolean;
641
+ /**
642
+ * Gets or sets the sort order direction.
643
+ */
644
+ sortOrderDirection?: SearchSortOrderDirection;
645
+ }): CancelablePromise<number> {
646
+ return this.httpRequest.request({
647
+ method: 'GET',
648
+ url: '/api/slot-schedules/count',
649
+ query: {
650
+ FacilityId: facilityId,
651
+ FacilityIds: facilityIds,
652
+ FacilityIndividualId: facilityIndividualId,
653
+ FacilityIndividualIds: facilityIndividualIds,
654
+ LastRunDateTimeLTE: lastRunDateTimeLte,
655
+ Status: status,
656
+ Statuses: statuses,
657
+ PageNumber: pageNumber,
658
+ Take: take,
659
+ Skip: skip,
660
+ LimitListRequests: limitListRequests,
661
+ TenantId: tenantId,
662
+ ModifiedById: modifiedById,
663
+ ModifiedByIds: modifiedByIds,
664
+ DateCreatedGTE: dateCreatedGte,
665
+ DateCreatedLTE: dateCreatedLte,
666
+ IsLive: isLive,
667
+ SortOrderDirection: sortOrderDirection,
668
+ },
669
+ errors: {
670
+ 400: `Bad Request`,
671
+ 422: `Unprocessable Content`,
672
+ 500: `Internal Server Error`,
673
+ },
674
+ });
675
+ }
676
+
548
677
  /**
549
678
  * Gets a list of resources unpaged and without references.
550
679
  * @returns SlotSchedule OK