reach-api-sdk 1.0.218 → 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.
- package/dist/reach-sdk.d.ts +7410 -5701
- package/dist/reach-sdk.js +1635 -359
- package/package.json +1 -1
- package/src/apiClient.ts +12 -0
- package/src/definition/swagger.yaml +15085 -10679
- package/src/index.ts +20 -0
- package/src/models/AccessCredential.ts +74 -0
- package/src/models/AccessCredentialPage.ts +12 -0
- package/src/models/AccessCredentialPatch.ts +18 -0
- package/src/models/AccessCredentialPost.ts +14 -0
- package/src/models/CodelocksLock.ts +62 -0
- package/src/models/CodelocksLockPage.ts +12 -0
- package/src/models/CodelocksLockPatch.ts +46 -0
- package/src/models/CodelocksLockPost.ts +42 -0
- package/src/models/Course.ts +4 -0
- package/src/models/CourseCreate.ts +4 -0
- package/src/models/CoursePatch.ts +4 -0
- package/src/models/CourseSession.ts +1 -1
- package/src/models/Facility.ts +8 -4
- package/src/models/FacilityPatch.ts +4 -0
- package/src/models/FacilityPost.ts +4 -0
- package/src/models/FeatureAnnouncementDismissPost.ts +14 -0
- package/src/models/FeatureAnnouncementForUserDto.ts +38 -0
- package/src/models/IntegrationCodelocksSettings.ts +38 -0
- package/src/models/IntegrationCodelocksSettingsCreate.ts +18 -0
- package/src/models/IntegrationCodelocksSettingsPage.ts +12 -0
- package/src/models/IntegrationCodelocksSettingsPatch.ts +22 -0
- package/src/models/IntegrationCodelocksSettingsPost.ts +18 -0
- package/src/models/IntegrationQueue.ts +4 -0
- package/src/models/IntegrationType.ts +1 -0
- package/src/models/NotificationType.ts +1 -0
- package/src/models/Order.ts +3 -3
- package/src/models/OrderItem.ts +5 -3
- package/src/models/OrderItemCodelocksAccess.ts +14 -0
- package/src/models/OrderItemReport.ts +25 -1
- package/src/models/Session.ts +4 -0
- package/src/models/SessionCreate.ts +4 -0
- package/src/models/SessionPatch.ts +4 -0
- package/src/models/Survey.ts +3 -3
- package/src/models/SurveyAnswer.ts +4 -4
- package/src/models/SurveyQuestion.ts +3 -3
- package/src/models/SurveyQuestionOption.ts +2 -2
- package/src/models/WaitlistActivity.ts +3 -3
- package/src/models/WaitlistOpportunity.ts +4 -4
- package/src/services/AccessCredentialsService.ts +812 -0
- package/src/services/CodelocksLocksService.ts +752 -0
- package/src/services/FeatureAnnouncementsService.ts +56 -0
- package/src/services/IntegrationCodelocksSettingsService.ts +689 -0
- package/src/services/IntegrationQueueService.ts +30 -0
package/dist/reach-sdk.js
CHANGED
|
@@ -360,6 +360,428 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
360
360
|
request(options) {
|
|
361
361
|
return request(this.config, options);
|
|
362
362
|
}
|
|
363
|
+
}class AccessCredentialsService {
|
|
364
|
+
constructor(httpRequest) {
|
|
365
|
+
this.httpRequest = httpRequest;
|
|
366
|
+
}
|
|
367
|
+
/**
|
|
368
|
+
* Inserts a new resource. The Id will be automatically generated and will be ignored if provided.
|
|
369
|
+
* @returns AccessCredential OK
|
|
370
|
+
* @throws ApiError
|
|
371
|
+
*/
|
|
372
|
+
post({
|
|
373
|
+
requestBody
|
|
374
|
+
}) {
|
|
375
|
+
return this.httpRequest.request({
|
|
376
|
+
method: "POST",
|
|
377
|
+
url: "/api/access-credentials/v2-temporary-route",
|
|
378
|
+
body: requestBody,
|
|
379
|
+
mediaType: "application/json",
|
|
380
|
+
errors: {
|
|
381
|
+
400: `Bad Request`,
|
|
382
|
+
422: `Unprocessable Content`,
|
|
383
|
+
500: `Internal Server Error`
|
|
384
|
+
}
|
|
385
|
+
});
|
|
386
|
+
}
|
|
387
|
+
/**
|
|
388
|
+
* Patches the resource.
|
|
389
|
+
* @returns AccessCredential OK
|
|
390
|
+
* @throws ApiError
|
|
391
|
+
*/
|
|
392
|
+
patch({
|
|
393
|
+
requestBody
|
|
394
|
+
}) {
|
|
395
|
+
return this.httpRequest.request({
|
|
396
|
+
method: "PATCH",
|
|
397
|
+
url: "/api/access-credentials/v2-temporary-route",
|
|
398
|
+
body: requestBody,
|
|
399
|
+
mediaType: "application/json",
|
|
400
|
+
errors: {
|
|
401
|
+
400: `Bad Request`,
|
|
402
|
+
422: `Unprocessable Content`,
|
|
403
|
+
500: `Internal Server Error`
|
|
404
|
+
}
|
|
405
|
+
});
|
|
406
|
+
}
|
|
407
|
+
/**
|
|
408
|
+
* Inserts a list of resources.
|
|
409
|
+
* @returns AccessCredential OK
|
|
410
|
+
* @throws ApiError
|
|
411
|
+
*/
|
|
412
|
+
postList({
|
|
413
|
+
requestBody
|
|
414
|
+
}) {
|
|
415
|
+
return this.httpRequest.request({
|
|
416
|
+
method: "POST",
|
|
417
|
+
url: "/api/access-credentials/v2-temporary-route/list",
|
|
418
|
+
body: requestBody,
|
|
419
|
+
mediaType: "application/json",
|
|
420
|
+
errors: {
|
|
421
|
+
400: `Bad Request`,
|
|
422
|
+
422: `Unprocessable Content`,
|
|
423
|
+
500: `Internal Server Error`
|
|
424
|
+
}
|
|
425
|
+
});
|
|
426
|
+
}
|
|
427
|
+
/**
|
|
428
|
+
* Patches the resource.
|
|
429
|
+
* @returns AccessCredential OK
|
|
430
|
+
* @throws ApiError
|
|
431
|
+
*/
|
|
432
|
+
patchWithReferences({
|
|
433
|
+
requestBody
|
|
434
|
+
}) {
|
|
435
|
+
return this.httpRequest.request({
|
|
436
|
+
method: "PATCH",
|
|
437
|
+
url: "/api/access-credentials/v2-temporary-route/with-references",
|
|
438
|
+
body: requestBody,
|
|
439
|
+
mediaType: "application/json",
|
|
440
|
+
errors: {
|
|
441
|
+
400: `Bad Request`,
|
|
442
|
+
422: `Unprocessable Content`,
|
|
443
|
+
500: `Internal Server Error`
|
|
444
|
+
}
|
|
445
|
+
});
|
|
446
|
+
}
|
|
447
|
+
/**
|
|
448
|
+
* Deletes the resource.
|
|
449
|
+
* @returns any OK
|
|
450
|
+
* @throws ApiError
|
|
451
|
+
*/
|
|
452
|
+
deleteByObject({
|
|
453
|
+
requestBody
|
|
454
|
+
}) {
|
|
455
|
+
return this.httpRequest.request({
|
|
456
|
+
method: "DELETE",
|
|
457
|
+
url: "/api/access-credentials",
|
|
458
|
+
body: requestBody,
|
|
459
|
+
mediaType: "application/json",
|
|
460
|
+
errors: {
|
|
461
|
+
400: `Bad Request`,
|
|
462
|
+
422: `Unprocessable Content`,
|
|
463
|
+
500: `Internal Server Error`
|
|
464
|
+
}
|
|
465
|
+
});
|
|
466
|
+
}
|
|
467
|
+
/**
|
|
468
|
+
* Gets a list of resources.
|
|
469
|
+
* @returns AccessCredentialPage OK
|
|
470
|
+
* @throws ApiError
|
|
471
|
+
*/
|
|
472
|
+
getPage({
|
|
473
|
+
orderId,
|
|
474
|
+
orderItemId,
|
|
475
|
+
orderItemIds,
|
|
476
|
+
status,
|
|
477
|
+
ids,
|
|
478
|
+
pageNumber,
|
|
479
|
+
take,
|
|
480
|
+
skip,
|
|
481
|
+
limitListRequests,
|
|
482
|
+
tenantId,
|
|
483
|
+
modifiedById,
|
|
484
|
+
modifiedByIds,
|
|
485
|
+
dateCreatedGte,
|
|
486
|
+
dateCreatedLte,
|
|
487
|
+
isLive,
|
|
488
|
+
sortOrderDirection
|
|
489
|
+
}) {
|
|
490
|
+
return this.httpRequest.request({
|
|
491
|
+
method: "GET",
|
|
492
|
+
url: "/api/access-credentials",
|
|
493
|
+
query: {
|
|
494
|
+
OrderId: orderId,
|
|
495
|
+
OrderItemId: orderItemId,
|
|
496
|
+
OrderItemIds: orderItemIds,
|
|
497
|
+
Status: status,
|
|
498
|
+
Ids: ids,
|
|
499
|
+
PageNumber: pageNumber,
|
|
500
|
+
Take: take,
|
|
501
|
+
Skip: skip,
|
|
502
|
+
LimitListRequests: limitListRequests,
|
|
503
|
+
TenantId: tenantId,
|
|
504
|
+
ModifiedById: modifiedById,
|
|
505
|
+
ModifiedByIds: modifiedByIds,
|
|
506
|
+
DateCreatedGTE: dateCreatedGte,
|
|
507
|
+
DateCreatedLTE: dateCreatedLte,
|
|
508
|
+
IsLive: isLive,
|
|
509
|
+
SortOrderDirection: sortOrderDirection
|
|
510
|
+
},
|
|
511
|
+
errors: {
|
|
512
|
+
400: `Bad Request`,
|
|
513
|
+
422: `Unprocessable Content`,
|
|
514
|
+
500: `Internal Server Error`
|
|
515
|
+
}
|
|
516
|
+
});
|
|
517
|
+
}
|
|
518
|
+
/**
|
|
519
|
+
* Deletes the resource.
|
|
520
|
+
* @returns any OK
|
|
521
|
+
* @throws ApiError
|
|
522
|
+
*/
|
|
523
|
+
deleteById({
|
|
524
|
+
id
|
|
525
|
+
}) {
|
|
526
|
+
return this.httpRequest.request({
|
|
527
|
+
method: "DELETE",
|
|
528
|
+
url: "/api/access-credentials/{id}",
|
|
529
|
+
path: {
|
|
530
|
+
id
|
|
531
|
+
},
|
|
532
|
+
errors: {
|
|
533
|
+
400: `Bad Request`,
|
|
534
|
+
422: `Unprocessable Content`,
|
|
535
|
+
500: `Internal Server Error`
|
|
536
|
+
}
|
|
537
|
+
});
|
|
538
|
+
}
|
|
539
|
+
/**
|
|
540
|
+
* Gets the resource by its Id.
|
|
541
|
+
* @returns AccessCredential OK
|
|
542
|
+
* @throws ApiError
|
|
543
|
+
*/
|
|
544
|
+
getObject({
|
|
545
|
+
id
|
|
546
|
+
}) {
|
|
547
|
+
return this.httpRequest.request({
|
|
548
|
+
method: "GET",
|
|
549
|
+
url: "/api/access-credentials/{id}",
|
|
550
|
+
path: {
|
|
551
|
+
id
|
|
552
|
+
},
|
|
553
|
+
errors: {
|
|
554
|
+
400: `Bad Request`,
|
|
555
|
+
422: `Unprocessable Content`,
|
|
556
|
+
500: `Internal Server Error`
|
|
557
|
+
}
|
|
558
|
+
});
|
|
559
|
+
}
|
|
560
|
+
/**
|
|
561
|
+
* Returns a value indicating whether the resource is deletable.
|
|
562
|
+
* @returns boolean OK
|
|
563
|
+
* @throws ApiError
|
|
564
|
+
*/
|
|
565
|
+
canDelete({
|
|
566
|
+
id
|
|
567
|
+
}) {
|
|
568
|
+
return this.httpRequest.request({
|
|
569
|
+
method: "GET",
|
|
570
|
+
url: "/api/access-credentials/{id}/deletable",
|
|
571
|
+
path: {
|
|
572
|
+
id
|
|
573
|
+
},
|
|
574
|
+
errors: {
|
|
575
|
+
400: `Bad Request`,
|
|
576
|
+
422: `Unprocessable Content`,
|
|
577
|
+
500: `Internal Server Error`
|
|
578
|
+
}
|
|
579
|
+
});
|
|
580
|
+
}
|
|
581
|
+
/**
|
|
582
|
+
* Returns a value indicating whether the resource exists in the database given the provided search params.
|
|
583
|
+
* @returns boolean OK
|
|
584
|
+
* @throws ApiError
|
|
585
|
+
*/
|
|
586
|
+
exists({
|
|
587
|
+
orderId,
|
|
588
|
+
orderItemId,
|
|
589
|
+
orderItemIds,
|
|
590
|
+
status,
|
|
591
|
+
ids,
|
|
592
|
+
pageNumber,
|
|
593
|
+
take,
|
|
594
|
+
skip,
|
|
595
|
+
limitListRequests,
|
|
596
|
+
tenantId,
|
|
597
|
+
modifiedById,
|
|
598
|
+
modifiedByIds,
|
|
599
|
+
dateCreatedGte,
|
|
600
|
+
dateCreatedLte,
|
|
601
|
+
isLive,
|
|
602
|
+
sortOrderDirection
|
|
603
|
+
}) {
|
|
604
|
+
return this.httpRequest.request({
|
|
605
|
+
method: "GET",
|
|
606
|
+
url: "/api/access-credentials/exists",
|
|
607
|
+
query: {
|
|
608
|
+
OrderId: orderId,
|
|
609
|
+
OrderItemId: orderItemId,
|
|
610
|
+
OrderItemIds: orderItemIds,
|
|
611
|
+
Status: status,
|
|
612
|
+
Ids: ids,
|
|
613
|
+
PageNumber: pageNumber,
|
|
614
|
+
Take: take,
|
|
615
|
+
Skip: skip,
|
|
616
|
+
LimitListRequests: limitListRequests,
|
|
617
|
+
TenantId: tenantId,
|
|
618
|
+
ModifiedById: modifiedById,
|
|
619
|
+
ModifiedByIds: modifiedByIds,
|
|
620
|
+
DateCreatedGTE: dateCreatedGte,
|
|
621
|
+
DateCreatedLTE: dateCreatedLte,
|
|
622
|
+
IsLive: isLive,
|
|
623
|
+
SortOrderDirection: sortOrderDirection
|
|
624
|
+
},
|
|
625
|
+
errors: {
|
|
626
|
+
400: `Bad Request`,
|
|
627
|
+
422: `Unprocessable Content`,
|
|
628
|
+
500: `Internal Server Error`
|
|
629
|
+
}
|
|
630
|
+
});
|
|
631
|
+
}
|
|
632
|
+
/**
|
|
633
|
+
* Returns the number of results in the database given the provided search params.
|
|
634
|
+
* @returns number OK
|
|
635
|
+
* @throws ApiError
|
|
636
|
+
*/
|
|
637
|
+
count({
|
|
638
|
+
orderId,
|
|
639
|
+
orderItemId,
|
|
640
|
+
orderItemIds,
|
|
641
|
+
status,
|
|
642
|
+
ids,
|
|
643
|
+
pageNumber,
|
|
644
|
+
take,
|
|
645
|
+
skip,
|
|
646
|
+
limitListRequests,
|
|
647
|
+
tenantId,
|
|
648
|
+
modifiedById,
|
|
649
|
+
modifiedByIds,
|
|
650
|
+
dateCreatedGte,
|
|
651
|
+
dateCreatedLte,
|
|
652
|
+
isLive,
|
|
653
|
+
sortOrderDirection
|
|
654
|
+
}) {
|
|
655
|
+
return this.httpRequest.request({
|
|
656
|
+
method: "GET",
|
|
657
|
+
url: "/api/access-credentials/count",
|
|
658
|
+
query: {
|
|
659
|
+
OrderId: orderId,
|
|
660
|
+
OrderItemId: orderItemId,
|
|
661
|
+
OrderItemIds: orderItemIds,
|
|
662
|
+
Status: status,
|
|
663
|
+
Ids: ids,
|
|
664
|
+
PageNumber: pageNumber,
|
|
665
|
+
Take: take,
|
|
666
|
+
Skip: skip,
|
|
667
|
+
LimitListRequests: limitListRequests,
|
|
668
|
+
TenantId: tenantId,
|
|
669
|
+
ModifiedById: modifiedById,
|
|
670
|
+
ModifiedByIds: modifiedByIds,
|
|
671
|
+
DateCreatedGTE: dateCreatedGte,
|
|
672
|
+
DateCreatedLTE: dateCreatedLte,
|
|
673
|
+
IsLive: isLive,
|
|
674
|
+
SortOrderDirection: sortOrderDirection
|
|
675
|
+
},
|
|
676
|
+
errors: {
|
|
677
|
+
400: `Bad Request`,
|
|
678
|
+
422: `Unprocessable Content`,
|
|
679
|
+
500: `Internal Server Error`
|
|
680
|
+
}
|
|
681
|
+
});
|
|
682
|
+
}
|
|
683
|
+
/**
|
|
684
|
+
* Gets a list of resources unpaged and without references.
|
|
685
|
+
* @returns AccessCredential OK
|
|
686
|
+
* @throws ApiError
|
|
687
|
+
*/
|
|
688
|
+
getListWithoutReferences({
|
|
689
|
+
orderId,
|
|
690
|
+
orderItemId,
|
|
691
|
+
orderItemIds,
|
|
692
|
+
status,
|
|
693
|
+
ids,
|
|
694
|
+
pageNumber,
|
|
695
|
+
take,
|
|
696
|
+
skip,
|
|
697
|
+
limitListRequests,
|
|
698
|
+
tenantId,
|
|
699
|
+
modifiedById,
|
|
700
|
+
modifiedByIds,
|
|
701
|
+
dateCreatedGte,
|
|
702
|
+
dateCreatedLte,
|
|
703
|
+
isLive,
|
|
704
|
+
sortOrderDirection
|
|
705
|
+
}) {
|
|
706
|
+
return this.httpRequest.request({
|
|
707
|
+
method: "GET",
|
|
708
|
+
url: "/api/access-credentials/without-references",
|
|
709
|
+
query: {
|
|
710
|
+
OrderId: orderId,
|
|
711
|
+
OrderItemId: orderItemId,
|
|
712
|
+
OrderItemIds: orderItemIds,
|
|
713
|
+
Status: status,
|
|
714
|
+
Ids: ids,
|
|
715
|
+
PageNumber: pageNumber,
|
|
716
|
+
Take: take,
|
|
717
|
+
Skip: skip,
|
|
718
|
+
LimitListRequests: limitListRequests,
|
|
719
|
+
TenantId: tenantId,
|
|
720
|
+
ModifiedById: modifiedById,
|
|
721
|
+
ModifiedByIds: modifiedByIds,
|
|
722
|
+
DateCreatedGTE: dateCreatedGte,
|
|
723
|
+
DateCreatedLTE: dateCreatedLte,
|
|
724
|
+
IsLive: isLive,
|
|
725
|
+
SortOrderDirection: sortOrderDirection
|
|
726
|
+
},
|
|
727
|
+
errors: {
|
|
728
|
+
400: `Bad Request`,
|
|
729
|
+
422: `Unprocessable Content`,
|
|
730
|
+
500: `Internal Server Error`
|
|
731
|
+
}
|
|
732
|
+
});
|
|
733
|
+
}
|
|
734
|
+
/**
|
|
735
|
+
* Gets a list of resources.
|
|
736
|
+
* @returns AccessCredential OK
|
|
737
|
+
* @throws ApiError
|
|
738
|
+
*/
|
|
739
|
+
getListIdName({
|
|
740
|
+
orderId,
|
|
741
|
+
orderItemId,
|
|
742
|
+
orderItemIds,
|
|
743
|
+
status,
|
|
744
|
+
ids,
|
|
745
|
+
pageNumber,
|
|
746
|
+
take,
|
|
747
|
+
skip,
|
|
748
|
+
limitListRequests,
|
|
749
|
+
tenantId,
|
|
750
|
+
modifiedById,
|
|
751
|
+
modifiedByIds,
|
|
752
|
+
dateCreatedGte,
|
|
753
|
+
dateCreatedLte,
|
|
754
|
+
isLive,
|
|
755
|
+
sortOrderDirection
|
|
756
|
+
}) {
|
|
757
|
+
return this.httpRequest.request({
|
|
758
|
+
method: "GET",
|
|
759
|
+
url: "/api/access-credentials/id-name",
|
|
760
|
+
query: {
|
|
761
|
+
OrderId: orderId,
|
|
762
|
+
OrderItemId: orderItemId,
|
|
763
|
+
OrderItemIds: orderItemIds,
|
|
764
|
+
Status: status,
|
|
765
|
+
Ids: ids,
|
|
766
|
+
PageNumber: pageNumber,
|
|
767
|
+
Take: take,
|
|
768
|
+
Skip: skip,
|
|
769
|
+
LimitListRequests: limitListRequests,
|
|
770
|
+
TenantId: tenantId,
|
|
771
|
+
ModifiedById: modifiedById,
|
|
772
|
+
ModifiedByIds: modifiedByIds,
|
|
773
|
+
DateCreatedGTE: dateCreatedGte,
|
|
774
|
+
DateCreatedLTE: dateCreatedLte,
|
|
775
|
+
IsLive: isLive,
|
|
776
|
+
SortOrderDirection: sortOrderDirection
|
|
777
|
+
},
|
|
778
|
+
errors: {
|
|
779
|
+
400: `Bad Request`,
|
|
780
|
+
422: `Unprocessable Content`,
|
|
781
|
+
500: `Internal Server Error`
|
|
782
|
+
}
|
|
783
|
+
});
|
|
784
|
+
}
|
|
363
785
|
}class ActivityService {
|
|
364
786
|
constructor(httpRequest) {
|
|
365
787
|
this.httpRequest = httpRequest;
|
|
@@ -2468,25 +2890,549 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
2468
2890
|
* @throws ApiError
|
|
2469
2891
|
*/
|
|
2470
2892
|
count({
|
|
2471
|
-
userId,
|
|
2472
|
-
wildcard,
|
|
2473
|
-
accessCode,
|
|
2474
|
-
customerName,
|
|
2475
|
-
email,
|
|
2476
|
-
providerId,
|
|
2477
|
-
venueId,
|
|
2478
|
-
programmeId,
|
|
2479
|
-
customerId,
|
|
2480
|
-
orderIds,
|
|
2481
|
-
sessionId,
|
|
2482
|
-
facilityId,
|
|
2483
|
-
courseId,
|
|
2484
|
-
orderStage,
|
|
2485
|
-
isBookedOrPendingPayment,
|
|
2486
|
-
orderStages,
|
|
2487
|
-
orderDateGte,
|
|
2488
|
-
orderDateLte,
|
|
2489
|
-
endUserIdentityId,
|
|
2893
|
+
userId,
|
|
2894
|
+
wildcard,
|
|
2895
|
+
accessCode,
|
|
2896
|
+
customerName,
|
|
2897
|
+
email,
|
|
2898
|
+
providerId,
|
|
2899
|
+
venueId,
|
|
2900
|
+
programmeId,
|
|
2901
|
+
customerId,
|
|
2902
|
+
orderIds,
|
|
2903
|
+
sessionId,
|
|
2904
|
+
facilityId,
|
|
2905
|
+
courseId,
|
|
2906
|
+
orderStage,
|
|
2907
|
+
isBookedOrPendingPayment,
|
|
2908
|
+
orderStages,
|
|
2909
|
+
orderDateGte,
|
|
2910
|
+
orderDateLte,
|
|
2911
|
+
endUserIdentityId,
|
|
2912
|
+
pageNumber,
|
|
2913
|
+
take,
|
|
2914
|
+
skip,
|
|
2915
|
+
limitListRequests,
|
|
2916
|
+
tenantId,
|
|
2917
|
+
modifiedById,
|
|
2918
|
+
modifiedByIds,
|
|
2919
|
+
dateCreatedGte,
|
|
2920
|
+
dateCreatedLte,
|
|
2921
|
+
isLive,
|
|
2922
|
+
sortOrderDirection
|
|
2923
|
+
}) {
|
|
2924
|
+
return this.httpRequest.request({
|
|
2925
|
+
method: "GET",
|
|
2926
|
+
url: "/api/bookings/count",
|
|
2927
|
+
query: {
|
|
2928
|
+
UserId: userId,
|
|
2929
|
+
Wildcard: wildcard,
|
|
2930
|
+
AccessCode: accessCode,
|
|
2931
|
+
CustomerName: customerName,
|
|
2932
|
+
Email: email,
|
|
2933
|
+
ProviderId: providerId,
|
|
2934
|
+
VenueId: venueId,
|
|
2935
|
+
ProgrammeId: programmeId,
|
|
2936
|
+
CustomerId: customerId,
|
|
2937
|
+
OrderIds: orderIds,
|
|
2938
|
+
SessionId: sessionId,
|
|
2939
|
+
FacilityId: facilityId,
|
|
2940
|
+
CourseId: courseId,
|
|
2941
|
+
OrderStage: orderStage,
|
|
2942
|
+
IsBookedOrPendingPayment: isBookedOrPendingPayment,
|
|
2943
|
+
OrderStages: orderStages,
|
|
2944
|
+
OrderDateGTE: orderDateGte,
|
|
2945
|
+
OrderDateLTE: orderDateLte,
|
|
2946
|
+
EndUserIdentityId: endUserIdentityId,
|
|
2947
|
+
PageNumber: pageNumber,
|
|
2948
|
+
Take: take,
|
|
2949
|
+
Skip: skip,
|
|
2950
|
+
LimitListRequests: limitListRequests,
|
|
2951
|
+
TenantId: tenantId,
|
|
2952
|
+
ModifiedById: modifiedById,
|
|
2953
|
+
ModifiedByIds: modifiedByIds,
|
|
2954
|
+
DateCreatedGTE: dateCreatedGte,
|
|
2955
|
+
DateCreatedLTE: dateCreatedLte,
|
|
2956
|
+
IsLive: isLive,
|
|
2957
|
+
SortOrderDirection: sortOrderDirection
|
|
2958
|
+
},
|
|
2959
|
+
errors: {
|
|
2960
|
+
400: `Bad Request`,
|
|
2961
|
+
422: `Unprocessable Content`,
|
|
2962
|
+
500: `Internal Server Error`
|
|
2963
|
+
}
|
|
2964
|
+
});
|
|
2965
|
+
}
|
|
2966
|
+
/**
|
|
2967
|
+
* Gets a list of resources unpaged and without references.
|
|
2968
|
+
* @returns Order OK
|
|
2969
|
+
* @throws ApiError
|
|
2970
|
+
*/
|
|
2971
|
+
getListWithoutReferences({
|
|
2972
|
+
userId,
|
|
2973
|
+
wildcard,
|
|
2974
|
+
accessCode,
|
|
2975
|
+
customerName,
|
|
2976
|
+
email,
|
|
2977
|
+
providerId,
|
|
2978
|
+
venueId,
|
|
2979
|
+
programmeId,
|
|
2980
|
+
customerId,
|
|
2981
|
+
orderIds,
|
|
2982
|
+
sessionId,
|
|
2983
|
+
facilityId,
|
|
2984
|
+
courseId,
|
|
2985
|
+
orderStage,
|
|
2986
|
+
isBookedOrPendingPayment,
|
|
2987
|
+
orderStages,
|
|
2988
|
+
orderDateGte,
|
|
2989
|
+
orderDateLte,
|
|
2990
|
+
endUserIdentityId,
|
|
2991
|
+
pageNumber,
|
|
2992
|
+
take,
|
|
2993
|
+
skip,
|
|
2994
|
+
limitListRequests,
|
|
2995
|
+
tenantId,
|
|
2996
|
+
modifiedById,
|
|
2997
|
+
modifiedByIds,
|
|
2998
|
+
dateCreatedGte,
|
|
2999
|
+
dateCreatedLte,
|
|
3000
|
+
isLive,
|
|
3001
|
+
sortOrderDirection
|
|
3002
|
+
}) {
|
|
3003
|
+
return this.httpRequest.request({
|
|
3004
|
+
method: "GET",
|
|
3005
|
+
url: "/api/bookings/without-references",
|
|
3006
|
+
query: {
|
|
3007
|
+
UserId: userId,
|
|
3008
|
+
Wildcard: wildcard,
|
|
3009
|
+
AccessCode: accessCode,
|
|
3010
|
+
CustomerName: customerName,
|
|
3011
|
+
Email: email,
|
|
3012
|
+
ProviderId: providerId,
|
|
3013
|
+
VenueId: venueId,
|
|
3014
|
+
ProgrammeId: programmeId,
|
|
3015
|
+
CustomerId: customerId,
|
|
3016
|
+
OrderIds: orderIds,
|
|
3017
|
+
SessionId: sessionId,
|
|
3018
|
+
FacilityId: facilityId,
|
|
3019
|
+
CourseId: courseId,
|
|
3020
|
+
OrderStage: orderStage,
|
|
3021
|
+
IsBookedOrPendingPayment: isBookedOrPendingPayment,
|
|
3022
|
+
OrderStages: orderStages,
|
|
3023
|
+
OrderDateGTE: orderDateGte,
|
|
3024
|
+
OrderDateLTE: orderDateLte,
|
|
3025
|
+
EndUserIdentityId: endUserIdentityId,
|
|
3026
|
+
PageNumber: pageNumber,
|
|
3027
|
+
Take: take,
|
|
3028
|
+
Skip: skip,
|
|
3029
|
+
LimitListRequests: limitListRequests,
|
|
3030
|
+
TenantId: tenantId,
|
|
3031
|
+
ModifiedById: modifiedById,
|
|
3032
|
+
ModifiedByIds: modifiedByIds,
|
|
3033
|
+
DateCreatedGTE: dateCreatedGte,
|
|
3034
|
+
DateCreatedLTE: dateCreatedLte,
|
|
3035
|
+
IsLive: isLive,
|
|
3036
|
+
SortOrderDirection: sortOrderDirection
|
|
3037
|
+
},
|
|
3038
|
+
errors: {
|
|
3039
|
+
400: `Bad Request`,
|
|
3040
|
+
422: `Unprocessable Content`,
|
|
3041
|
+
500: `Internal Server Error`
|
|
3042
|
+
}
|
|
3043
|
+
});
|
|
3044
|
+
}
|
|
3045
|
+
/**
|
|
3046
|
+
* Gets a list of resources.
|
|
3047
|
+
* @returns Order OK
|
|
3048
|
+
* @throws ApiError
|
|
3049
|
+
*/
|
|
3050
|
+
getListIdName({
|
|
3051
|
+
userId,
|
|
3052
|
+
wildcard,
|
|
3053
|
+
accessCode,
|
|
3054
|
+
customerName,
|
|
3055
|
+
email,
|
|
3056
|
+
providerId,
|
|
3057
|
+
venueId,
|
|
3058
|
+
programmeId,
|
|
3059
|
+
customerId,
|
|
3060
|
+
orderIds,
|
|
3061
|
+
sessionId,
|
|
3062
|
+
facilityId,
|
|
3063
|
+
courseId,
|
|
3064
|
+
orderStage,
|
|
3065
|
+
isBookedOrPendingPayment,
|
|
3066
|
+
orderStages,
|
|
3067
|
+
orderDateGte,
|
|
3068
|
+
orderDateLte,
|
|
3069
|
+
endUserIdentityId,
|
|
3070
|
+
pageNumber,
|
|
3071
|
+
take,
|
|
3072
|
+
skip,
|
|
3073
|
+
limitListRequests,
|
|
3074
|
+
tenantId,
|
|
3075
|
+
modifiedById,
|
|
3076
|
+
modifiedByIds,
|
|
3077
|
+
dateCreatedGte,
|
|
3078
|
+
dateCreatedLte,
|
|
3079
|
+
isLive,
|
|
3080
|
+
sortOrderDirection
|
|
3081
|
+
}) {
|
|
3082
|
+
return this.httpRequest.request({
|
|
3083
|
+
method: "GET",
|
|
3084
|
+
url: "/api/bookings/id-name",
|
|
3085
|
+
query: {
|
|
3086
|
+
UserId: userId,
|
|
3087
|
+
Wildcard: wildcard,
|
|
3088
|
+
AccessCode: accessCode,
|
|
3089
|
+
CustomerName: customerName,
|
|
3090
|
+
Email: email,
|
|
3091
|
+
ProviderId: providerId,
|
|
3092
|
+
VenueId: venueId,
|
|
3093
|
+
ProgrammeId: programmeId,
|
|
3094
|
+
CustomerId: customerId,
|
|
3095
|
+
OrderIds: orderIds,
|
|
3096
|
+
SessionId: sessionId,
|
|
3097
|
+
FacilityId: facilityId,
|
|
3098
|
+
CourseId: courseId,
|
|
3099
|
+
OrderStage: orderStage,
|
|
3100
|
+
IsBookedOrPendingPayment: isBookedOrPendingPayment,
|
|
3101
|
+
OrderStages: orderStages,
|
|
3102
|
+
OrderDateGTE: orderDateGte,
|
|
3103
|
+
OrderDateLTE: orderDateLte,
|
|
3104
|
+
EndUserIdentityId: endUserIdentityId,
|
|
3105
|
+
PageNumber: pageNumber,
|
|
3106
|
+
Take: take,
|
|
3107
|
+
Skip: skip,
|
|
3108
|
+
LimitListRequests: limitListRequests,
|
|
3109
|
+
TenantId: tenantId,
|
|
3110
|
+
ModifiedById: modifiedById,
|
|
3111
|
+
ModifiedByIds: modifiedByIds,
|
|
3112
|
+
DateCreatedGTE: dateCreatedGte,
|
|
3113
|
+
DateCreatedLTE: dateCreatedLte,
|
|
3114
|
+
IsLive: isLive,
|
|
3115
|
+
SortOrderDirection: sortOrderDirection
|
|
3116
|
+
},
|
|
3117
|
+
errors: {
|
|
3118
|
+
400: `Bad Request`,
|
|
3119
|
+
422: `Unprocessable Content`,
|
|
3120
|
+
500: `Internal Server Error`
|
|
3121
|
+
}
|
|
3122
|
+
});
|
|
3123
|
+
}
|
|
3124
|
+
}class CancellationPoliciesService {
|
|
3125
|
+
constructor(httpRequest) {
|
|
3126
|
+
this.httpRequest = httpRequest;
|
|
3127
|
+
}
|
|
3128
|
+
/**
|
|
3129
|
+
* Gets the system cancellation policy.
|
|
3130
|
+
* @returns CancellationPolicy OK
|
|
3131
|
+
* @throws ApiError
|
|
3132
|
+
*/
|
|
3133
|
+
getSystemCancellationPolicy() {
|
|
3134
|
+
return this.httpRequest.request({
|
|
3135
|
+
method: "GET",
|
|
3136
|
+
url: "/api/cancellation-policies/system",
|
|
3137
|
+
errors: {
|
|
3138
|
+
400: `Bad Request`,
|
|
3139
|
+
422: `Unprocessable Content`,
|
|
3140
|
+
500: `Internal Server Error`
|
|
3141
|
+
}
|
|
3142
|
+
});
|
|
3143
|
+
}
|
|
3144
|
+
/**
|
|
3145
|
+
* Sets the cancellation policy as the default policy. />.
|
|
3146
|
+
* @returns CancellationPolicy OK
|
|
3147
|
+
* @throws ApiError
|
|
3148
|
+
*/
|
|
3149
|
+
setAsDefault({
|
|
3150
|
+
cancellationPolicyId
|
|
3151
|
+
}) {
|
|
3152
|
+
return this.httpRequest.request({
|
|
3153
|
+
method: "PATCH",
|
|
3154
|
+
url: "/api/cancellation-policies/{cancellationPolicyId}/set-as-default",
|
|
3155
|
+
path: {
|
|
3156
|
+
cancellationPolicyId
|
|
3157
|
+
},
|
|
3158
|
+
errors: {
|
|
3159
|
+
400: `Bad Request`,
|
|
3160
|
+
422: `Unprocessable Content`,
|
|
3161
|
+
500: `Internal Server Error`
|
|
3162
|
+
}
|
|
3163
|
+
});
|
|
3164
|
+
}
|
|
3165
|
+
/**
|
|
3166
|
+
* Inserts a new resource. The Id will be automatically generated and will be ignored if provided.
|
|
3167
|
+
* @returns CancellationPolicy OK
|
|
3168
|
+
* @throws ApiError
|
|
3169
|
+
*/
|
|
3170
|
+
post({
|
|
3171
|
+
requestBody
|
|
3172
|
+
}) {
|
|
3173
|
+
return this.httpRequest.request({
|
|
3174
|
+
method: "POST",
|
|
3175
|
+
url: "/api/cancellation-policies/v2-temporary-route",
|
|
3176
|
+
body: requestBody,
|
|
3177
|
+
mediaType: "application/json",
|
|
3178
|
+
errors: {
|
|
3179
|
+
400: `Bad Request`,
|
|
3180
|
+
422: `Unprocessable Content`,
|
|
3181
|
+
500: `Internal Server Error`
|
|
3182
|
+
}
|
|
3183
|
+
});
|
|
3184
|
+
}
|
|
3185
|
+
/**
|
|
3186
|
+
* Patches the resource.
|
|
3187
|
+
* @returns CancellationPolicy OK
|
|
3188
|
+
* @throws ApiError
|
|
3189
|
+
*/
|
|
3190
|
+
patch({
|
|
3191
|
+
requestBody
|
|
3192
|
+
}) {
|
|
3193
|
+
return this.httpRequest.request({
|
|
3194
|
+
method: "PATCH",
|
|
3195
|
+
url: "/api/cancellation-policies/v2-temporary-route",
|
|
3196
|
+
body: requestBody,
|
|
3197
|
+
mediaType: "application/json",
|
|
3198
|
+
errors: {
|
|
3199
|
+
400: `Bad Request`,
|
|
3200
|
+
422: `Unprocessable Content`,
|
|
3201
|
+
500: `Internal Server Error`
|
|
3202
|
+
}
|
|
3203
|
+
});
|
|
3204
|
+
}
|
|
3205
|
+
/**
|
|
3206
|
+
* Inserts a list of resources.
|
|
3207
|
+
* @returns CancellationPolicy OK
|
|
3208
|
+
* @throws ApiError
|
|
3209
|
+
*/
|
|
3210
|
+
postList({
|
|
3211
|
+
requestBody
|
|
3212
|
+
}) {
|
|
3213
|
+
return this.httpRequest.request({
|
|
3214
|
+
method: "POST",
|
|
3215
|
+
url: "/api/cancellation-policies/v2-temporary-route/list",
|
|
3216
|
+
body: requestBody,
|
|
3217
|
+
mediaType: "application/json",
|
|
3218
|
+
errors: {
|
|
3219
|
+
400: `Bad Request`,
|
|
3220
|
+
422: `Unprocessable Content`,
|
|
3221
|
+
500: `Internal Server Error`
|
|
3222
|
+
}
|
|
3223
|
+
});
|
|
3224
|
+
}
|
|
3225
|
+
/**
|
|
3226
|
+
* Patches the resource.
|
|
3227
|
+
* @returns CancellationPolicy OK
|
|
3228
|
+
* @throws ApiError
|
|
3229
|
+
*/
|
|
3230
|
+
patchWithReferences({
|
|
3231
|
+
requestBody
|
|
3232
|
+
}) {
|
|
3233
|
+
return this.httpRequest.request({
|
|
3234
|
+
method: "PATCH",
|
|
3235
|
+
url: "/api/cancellation-policies/v2-temporary-route/with-references",
|
|
3236
|
+
body: requestBody,
|
|
3237
|
+
mediaType: "application/json",
|
|
3238
|
+
errors: {
|
|
3239
|
+
400: `Bad Request`,
|
|
3240
|
+
422: `Unprocessable Content`,
|
|
3241
|
+
500: `Internal Server Error`
|
|
3242
|
+
}
|
|
3243
|
+
});
|
|
3244
|
+
}
|
|
3245
|
+
/**
|
|
3246
|
+
* Deletes the resource.
|
|
3247
|
+
* @returns any OK
|
|
3248
|
+
* @throws ApiError
|
|
3249
|
+
*/
|
|
3250
|
+
deleteByObject({
|
|
3251
|
+
requestBody
|
|
3252
|
+
}) {
|
|
3253
|
+
return this.httpRequest.request({
|
|
3254
|
+
method: "DELETE",
|
|
3255
|
+
url: "/api/cancellation-policies",
|
|
3256
|
+
body: requestBody,
|
|
3257
|
+
mediaType: "application/json",
|
|
3258
|
+
errors: {
|
|
3259
|
+
400: `Bad Request`,
|
|
3260
|
+
422: `Unprocessable Content`,
|
|
3261
|
+
500: `Internal Server Error`
|
|
3262
|
+
}
|
|
3263
|
+
});
|
|
3264
|
+
}
|
|
3265
|
+
/**
|
|
3266
|
+
* Gets a list of resources.
|
|
3267
|
+
* @returns CancellationPolicyPage OK
|
|
3268
|
+
* @throws ApiError
|
|
3269
|
+
*/
|
|
3270
|
+
getPage({
|
|
3271
|
+
ids,
|
|
3272
|
+
name,
|
|
3273
|
+
isDefault,
|
|
3274
|
+
isSystem,
|
|
3275
|
+
pageNumber,
|
|
3276
|
+
take,
|
|
3277
|
+
skip,
|
|
3278
|
+
limitListRequests,
|
|
3279
|
+
tenantId,
|
|
3280
|
+
modifiedById,
|
|
3281
|
+
modifiedByIds,
|
|
3282
|
+
dateCreatedGte,
|
|
3283
|
+
dateCreatedLte,
|
|
3284
|
+
isLive,
|
|
3285
|
+
sortOrderDirection
|
|
3286
|
+
}) {
|
|
3287
|
+
return this.httpRequest.request({
|
|
3288
|
+
method: "GET",
|
|
3289
|
+
url: "/api/cancellation-policies",
|
|
3290
|
+
query: {
|
|
3291
|
+
Ids: ids,
|
|
3292
|
+
Name: name,
|
|
3293
|
+
IsDefault: isDefault,
|
|
3294
|
+
IsSystem: isSystem,
|
|
3295
|
+
PageNumber: pageNumber,
|
|
3296
|
+
Take: take,
|
|
3297
|
+
Skip: skip,
|
|
3298
|
+
LimitListRequests: limitListRequests,
|
|
3299
|
+
TenantId: tenantId,
|
|
3300
|
+
ModifiedById: modifiedById,
|
|
3301
|
+
ModifiedByIds: modifiedByIds,
|
|
3302
|
+
DateCreatedGTE: dateCreatedGte,
|
|
3303
|
+
DateCreatedLTE: dateCreatedLte,
|
|
3304
|
+
IsLive: isLive,
|
|
3305
|
+
SortOrderDirection: sortOrderDirection
|
|
3306
|
+
},
|
|
3307
|
+
errors: {
|
|
3308
|
+
400: `Bad Request`,
|
|
3309
|
+
422: `Unprocessable Content`,
|
|
3310
|
+
500: `Internal Server Error`
|
|
3311
|
+
}
|
|
3312
|
+
});
|
|
3313
|
+
}
|
|
3314
|
+
/**
|
|
3315
|
+
* Deletes the resource.
|
|
3316
|
+
* @returns any OK
|
|
3317
|
+
* @throws ApiError
|
|
3318
|
+
*/
|
|
3319
|
+
deleteById({
|
|
3320
|
+
id
|
|
3321
|
+
}) {
|
|
3322
|
+
return this.httpRequest.request({
|
|
3323
|
+
method: "DELETE",
|
|
3324
|
+
url: "/api/cancellation-policies/{id}",
|
|
3325
|
+
path: {
|
|
3326
|
+
id
|
|
3327
|
+
},
|
|
3328
|
+
errors: {
|
|
3329
|
+
400: `Bad Request`,
|
|
3330
|
+
422: `Unprocessable Content`,
|
|
3331
|
+
500: `Internal Server Error`
|
|
3332
|
+
}
|
|
3333
|
+
});
|
|
3334
|
+
}
|
|
3335
|
+
/**
|
|
3336
|
+
* Gets the resource by its Id.
|
|
3337
|
+
* @returns CancellationPolicy OK
|
|
3338
|
+
* @throws ApiError
|
|
3339
|
+
*/
|
|
3340
|
+
getObject({
|
|
3341
|
+
id
|
|
3342
|
+
}) {
|
|
3343
|
+
return this.httpRequest.request({
|
|
3344
|
+
method: "GET",
|
|
3345
|
+
url: "/api/cancellation-policies/{id}",
|
|
3346
|
+
path: {
|
|
3347
|
+
id
|
|
3348
|
+
},
|
|
3349
|
+
errors: {
|
|
3350
|
+
400: `Bad Request`,
|
|
3351
|
+
422: `Unprocessable Content`,
|
|
3352
|
+
500: `Internal Server Error`
|
|
3353
|
+
}
|
|
3354
|
+
});
|
|
3355
|
+
}
|
|
3356
|
+
/**
|
|
3357
|
+
* Returns a value indicating whether the resource is deletable.
|
|
3358
|
+
* @returns boolean OK
|
|
3359
|
+
* @throws ApiError
|
|
3360
|
+
*/
|
|
3361
|
+
canDelete({
|
|
3362
|
+
id
|
|
3363
|
+
}) {
|
|
3364
|
+
return this.httpRequest.request({
|
|
3365
|
+
method: "GET",
|
|
3366
|
+
url: "/api/cancellation-policies/{id}/deletable",
|
|
3367
|
+
path: {
|
|
3368
|
+
id
|
|
3369
|
+
},
|
|
3370
|
+
errors: {
|
|
3371
|
+
400: `Bad Request`,
|
|
3372
|
+
422: `Unprocessable Content`,
|
|
3373
|
+
500: `Internal Server Error`
|
|
3374
|
+
}
|
|
3375
|
+
});
|
|
3376
|
+
}
|
|
3377
|
+
/**
|
|
3378
|
+
* Returns a value indicating whether the resource exists in the database given the provided search params.
|
|
3379
|
+
* @returns boolean OK
|
|
3380
|
+
* @throws ApiError
|
|
3381
|
+
*/
|
|
3382
|
+
exists({
|
|
3383
|
+
ids,
|
|
3384
|
+
name,
|
|
3385
|
+
isDefault,
|
|
3386
|
+
isSystem,
|
|
3387
|
+
pageNumber,
|
|
3388
|
+
take,
|
|
3389
|
+
skip,
|
|
3390
|
+
limitListRequests,
|
|
3391
|
+
tenantId,
|
|
3392
|
+
modifiedById,
|
|
3393
|
+
modifiedByIds,
|
|
3394
|
+
dateCreatedGte,
|
|
3395
|
+
dateCreatedLte,
|
|
3396
|
+
isLive,
|
|
3397
|
+
sortOrderDirection
|
|
3398
|
+
}) {
|
|
3399
|
+
return this.httpRequest.request({
|
|
3400
|
+
method: "GET",
|
|
3401
|
+
url: "/api/cancellation-policies/exists",
|
|
3402
|
+
query: {
|
|
3403
|
+
Ids: ids,
|
|
3404
|
+
Name: name,
|
|
3405
|
+
IsDefault: isDefault,
|
|
3406
|
+
IsSystem: isSystem,
|
|
3407
|
+
PageNumber: pageNumber,
|
|
3408
|
+
Take: take,
|
|
3409
|
+
Skip: skip,
|
|
3410
|
+
LimitListRequests: limitListRequests,
|
|
3411
|
+
TenantId: tenantId,
|
|
3412
|
+
ModifiedById: modifiedById,
|
|
3413
|
+
ModifiedByIds: modifiedByIds,
|
|
3414
|
+
DateCreatedGTE: dateCreatedGte,
|
|
3415
|
+
DateCreatedLTE: dateCreatedLte,
|
|
3416
|
+
IsLive: isLive,
|
|
3417
|
+
SortOrderDirection: sortOrderDirection
|
|
3418
|
+
},
|
|
3419
|
+
errors: {
|
|
3420
|
+
400: `Bad Request`,
|
|
3421
|
+
422: `Unprocessable Content`,
|
|
3422
|
+
500: `Internal Server Error`
|
|
3423
|
+
}
|
|
3424
|
+
});
|
|
3425
|
+
}
|
|
3426
|
+
/**
|
|
3427
|
+
* Returns the number of results in the database given the provided search params.
|
|
3428
|
+
* @returns number OK
|
|
3429
|
+
* @throws ApiError
|
|
3430
|
+
*/
|
|
3431
|
+
count({
|
|
3432
|
+
ids,
|
|
3433
|
+
name,
|
|
3434
|
+
isDefault,
|
|
3435
|
+
isSystem,
|
|
2490
3436
|
pageNumber,
|
|
2491
3437
|
take,
|
|
2492
3438
|
skip,
|
|
@@ -2501,27 +3447,12 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
2501
3447
|
}) {
|
|
2502
3448
|
return this.httpRequest.request({
|
|
2503
3449
|
method: "GET",
|
|
2504
|
-
url: "/api/
|
|
3450
|
+
url: "/api/cancellation-policies/count",
|
|
2505
3451
|
query: {
|
|
2506
|
-
|
|
2507
|
-
|
|
2508
|
-
|
|
2509
|
-
|
|
2510
|
-
Email: email,
|
|
2511
|
-
ProviderId: providerId,
|
|
2512
|
-
VenueId: venueId,
|
|
2513
|
-
ProgrammeId: programmeId,
|
|
2514
|
-
CustomerId: customerId,
|
|
2515
|
-
OrderIds: orderIds,
|
|
2516
|
-
SessionId: sessionId,
|
|
2517
|
-
FacilityId: facilityId,
|
|
2518
|
-
CourseId: courseId,
|
|
2519
|
-
OrderStage: orderStage,
|
|
2520
|
-
IsBookedOrPendingPayment: isBookedOrPendingPayment,
|
|
2521
|
-
OrderStages: orderStages,
|
|
2522
|
-
OrderDateGTE: orderDateGte,
|
|
2523
|
-
OrderDateLTE: orderDateLte,
|
|
2524
|
-
EndUserIdentityId: endUserIdentityId,
|
|
3452
|
+
Ids: ids,
|
|
3453
|
+
Name: name,
|
|
3454
|
+
IsDefault: isDefault,
|
|
3455
|
+
IsSystem: isSystem,
|
|
2525
3456
|
PageNumber: pageNumber,
|
|
2526
3457
|
Take: take,
|
|
2527
3458
|
Skip: skip,
|
|
@@ -2543,29 +3474,14 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
2543
3474
|
}
|
|
2544
3475
|
/**
|
|
2545
3476
|
* Gets a list of resources unpaged and without references.
|
|
2546
|
-
* @returns
|
|
3477
|
+
* @returns CancellationPolicy OK
|
|
2547
3478
|
* @throws ApiError
|
|
2548
3479
|
*/
|
|
2549
3480
|
getListWithoutReferences({
|
|
2550
|
-
|
|
2551
|
-
|
|
2552
|
-
|
|
2553
|
-
|
|
2554
|
-
email,
|
|
2555
|
-
providerId,
|
|
2556
|
-
venueId,
|
|
2557
|
-
programmeId,
|
|
2558
|
-
customerId,
|
|
2559
|
-
orderIds,
|
|
2560
|
-
sessionId,
|
|
2561
|
-
facilityId,
|
|
2562
|
-
courseId,
|
|
2563
|
-
orderStage,
|
|
2564
|
-
isBookedOrPendingPayment,
|
|
2565
|
-
orderStages,
|
|
2566
|
-
orderDateGte,
|
|
2567
|
-
orderDateLte,
|
|
2568
|
-
endUserIdentityId,
|
|
3481
|
+
ids,
|
|
3482
|
+
name,
|
|
3483
|
+
isDefault,
|
|
3484
|
+
isSystem,
|
|
2569
3485
|
pageNumber,
|
|
2570
3486
|
take,
|
|
2571
3487
|
skip,
|
|
@@ -2580,27 +3496,12 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
2580
3496
|
}) {
|
|
2581
3497
|
return this.httpRequest.request({
|
|
2582
3498
|
method: "GET",
|
|
2583
|
-
url: "/api/
|
|
3499
|
+
url: "/api/cancellation-policies/without-references",
|
|
2584
3500
|
query: {
|
|
2585
|
-
|
|
2586
|
-
|
|
2587
|
-
|
|
2588
|
-
|
|
2589
|
-
Email: email,
|
|
2590
|
-
ProviderId: providerId,
|
|
2591
|
-
VenueId: venueId,
|
|
2592
|
-
ProgrammeId: programmeId,
|
|
2593
|
-
CustomerId: customerId,
|
|
2594
|
-
OrderIds: orderIds,
|
|
2595
|
-
SessionId: sessionId,
|
|
2596
|
-
FacilityId: facilityId,
|
|
2597
|
-
CourseId: courseId,
|
|
2598
|
-
OrderStage: orderStage,
|
|
2599
|
-
IsBookedOrPendingPayment: isBookedOrPendingPayment,
|
|
2600
|
-
OrderStages: orderStages,
|
|
2601
|
-
OrderDateGTE: orderDateGte,
|
|
2602
|
-
OrderDateLTE: orderDateLte,
|
|
2603
|
-
EndUserIdentityId: endUserIdentityId,
|
|
3501
|
+
Ids: ids,
|
|
3502
|
+
Name: name,
|
|
3503
|
+
IsDefault: isDefault,
|
|
3504
|
+
IsSystem: isSystem,
|
|
2604
3505
|
PageNumber: pageNumber,
|
|
2605
3506
|
Take: take,
|
|
2606
3507
|
Skip: skip,
|
|
@@ -2622,29 +3523,14 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
2622
3523
|
}
|
|
2623
3524
|
/**
|
|
2624
3525
|
* Gets a list of resources.
|
|
2625
|
-
* @returns
|
|
3526
|
+
* @returns CancellationPolicy OK
|
|
2626
3527
|
* @throws ApiError
|
|
2627
3528
|
*/
|
|
2628
3529
|
getListIdName({
|
|
2629
|
-
|
|
2630
|
-
|
|
2631
|
-
|
|
2632
|
-
|
|
2633
|
-
email,
|
|
2634
|
-
providerId,
|
|
2635
|
-
venueId,
|
|
2636
|
-
programmeId,
|
|
2637
|
-
customerId,
|
|
2638
|
-
orderIds,
|
|
2639
|
-
sessionId,
|
|
2640
|
-
facilityId,
|
|
2641
|
-
courseId,
|
|
2642
|
-
orderStage,
|
|
2643
|
-
isBookedOrPendingPayment,
|
|
2644
|
-
orderStages,
|
|
2645
|
-
orderDateGte,
|
|
2646
|
-
orderDateLte,
|
|
2647
|
-
endUserIdentityId,
|
|
3530
|
+
ids,
|
|
3531
|
+
name,
|
|
3532
|
+
isDefault,
|
|
3533
|
+
isSystem,
|
|
2648
3534
|
pageNumber,
|
|
2649
3535
|
take,
|
|
2650
3536
|
skip,
|
|
@@ -2659,27 +3545,12 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
2659
3545
|
}) {
|
|
2660
3546
|
return this.httpRequest.request({
|
|
2661
3547
|
method: "GET",
|
|
2662
|
-
url: "/api/
|
|
3548
|
+
url: "/api/cancellation-policies/id-name",
|
|
2663
3549
|
query: {
|
|
2664
|
-
|
|
2665
|
-
|
|
2666
|
-
|
|
2667
|
-
|
|
2668
|
-
Email: email,
|
|
2669
|
-
ProviderId: providerId,
|
|
2670
|
-
VenueId: venueId,
|
|
2671
|
-
ProgrammeId: programmeId,
|
|
2672
|
-
CustomerId: customerId,
|
|
2673
|
-
OrderIds: orderIds,
|
|
2674
|
-
SessionId: sessionId,
|
|
2675
|
-
FacilityId: facilityId,
|
|
2676
|
-
CourseId: courseId,
|
|
2677
|
-
OrderStage: orderStage,
|
|
2678
|
-
IsBookedOrPendingPayment: isBookedOrPendingPayment,
|
|
2679
|
-
OrderStages: orderStages,
|
|
2680
|
-
OrderDateGTE: orderDateGte,
|
|
2681
|
-
OrderDateLTE: orderDateLte,
|
|
2682
|
-
EndUserIdentityId: endUserIdentityId,
|
|
3550
|
+
Ids: ids,
|
|
3551
|
+
Name: name,
|
|
3552
|
+
IsDefault: isDefault,
|
|
3553
|
+
IsSystem: isSystem,
|
|
2683
3554
|
PageNumber: pageNumber,
|
|
2684
3555
|
Take: take,
|
|
2685
3556
|
Skip: skip,
|
|
@@ -2699,40 +3570,30 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
2699
3570
|
}
|
|
2700
3571
|
});
|
|
2701
3572
|
}
|
|
2702
|
-
}class
|
|
3573
|
+
}class ChatService {
|
|
2703
3574
|
constructor(httpRequest) {
|
|
2704
3575
|
this.httpRequest = httpRequest;
|
|
2705
3576
|
}
|
|
2706
3577
|
/**
|
|
2707
|
-
*
|
|
2708
|
-
*
|
|
2709
|
-
*
|
|
2710
|
-
|
|
2711
|
-
|
|
2712
|
-
|
|
2713
|
-
|
|
2714
|
-
|
|
2715
|
-
|
|
2716
|
-
400: `Bad Request`,
|
|
2717
|
-
422: `Unprocessable Content`,
|
|
2718
|
-
500: `Internal Server Error`
|
|
2719
|
-
}
|
|
2720
|
-
});
|
|
2721
|
-
}
|
|
2722
|
-
/**
|
|
2723
|
-
* Sets the cancellation policy as the default policy. />.
|
|
2724
|
-
* @returns CancellationPolicy OK
|
|
3578
|
+
* Returns a suggestion for an activity description based on given attributes.
|
|
3579
|
+
* Example request body
|
|
3580
|
+
* {
|
|
3581
|
+
* "name": "Shervs Tennis Fun",
|
|
3582
|
+
* "activity": "Tennis",
|
|
3583
|
+
* "Gender": "Mixed",
|
|
3584
|
+
* etc...
|
|
3585
|
+
* }.
|
|
3586
|
+
* @returns DescriptionCompletionResponse OK
|
|
2725
3587
|
* @throws ApiError
|
|
2726
3588
|
*/
|
|
2727
|
-
|
|
2728
|
-
|
|
3589
|
+
getActivityDescriptionCompletion({
|
|
3590
|
+
requestBody
|
|
2729
3591
|
}) {
|
|
2730
3592
|
return this.httpRequest.request({
|
|
2731
|
-
method: "
|
|
2732
|
-
url: "/api/
|
|
2733
|
-
|
|
2734
|
-
|
|
2735
|
-
},
|
|
3593
|
+
method: "POST",
|
|
3594
|
+
url: "/api/external/open-ai-chat/activity-description-completion",
|
|
3595
|
+
body: requestBody,
|
|
3596
|
+
mediaType: "application/json",
|
|
2736
3597
|
errors: {
|
|
2737
3598
|
400: `Bad Request`,
|
|
2738
3599
|
422: `Unprocessable Content`,
|
|
@@ -2740,9 +3601,13 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
2740
3601
|
}
|
|
2741
3602
|
});
|
|
2742
3603
|
}
|
|
3604
|
+
}class CodelocksLocksService {
|
|
3605
|
+
constructor(httpRequest) {
|
|
3606
|
+
this.httpRequest = httpRequest;
|
|
3607
|
+
}
|
|
2743
3608
|
/**
|
|
2744
3609
|
* Inserts a new resource. The Id will be automatically generated and will be ignored if provided.
|
|
2745
|
-
* @returns
|
|
3610
|
+
* @returns CodelocksLock OK
|
|
2746
3611
|
* @throws ApiError
|
|
2747
3612
|
*/
|
|
2748
3613
|
post({
|
|
@@ -2750,7 +3615,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
2750
3615
|
}) {
|
|
2751
3616
|
return this.httpRequest.request({
|
|
2752
3617
|
method: "POST",
|
|
2753
|
-
url: "/api/
|
|
3618
|
+
url: "/api/codelocks-locks/v2-temporary-route",
|
|
2754
3619
|
body: requestBody,
|
|
2755
3620
|
mediaType: "application/json",
|
|
2756
3621
|
errors: {
|
|
@@ -2762,7 +3627,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
2762
3627
|
}
|
|
2763
3628
|
/**
|
|
2764
3629
|
* Patches the resource.
|
|
2765
|
-
* @returns
|
|
3630
|
+
* @returns CodelocksLock OK
|
|
2766
3631
|
* @throws ApiError
|
|
2767
3632
|
*/
|
|
2768
3633
|
patch({
|
|
@@ -2770,7 +3635,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
2770
3635
|
}) {
|
|
2771
3636
|
return this.httpRequest.request({
|
|
2772
3637
|
method: "PATCH",
|
|
2773
|
-
url: "/api/
|
|
3638
|
+
url: "/api/codelocks-locks/v2-temporary-route",
|
|
2774
3639
|
body: requestBody,
|
|
2775
3640
|
mediaType: "application/json",
|
|
2776
3641
|
errors: {
|
|
@@ -2782,7 +3647,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
2782
3647
|
}
|
|
2783
3648
|
/**
|
|
2784
3649
|
* Inserts a list of resources.
|
|
2785
|
-
* @returns
|
|
3650
|
+
* @returns CodelocksLock OK
|
|
2786
3651
|
* @throws ApiError
|
|
2787
3652
|
*/
|
|
2788
3653
|
postList({
|
|
@@ -2790,7 +3655,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
2790
3655
|
}) {
|
|
2791
3656
|
return this.httpRequest.request({
|
|
2792
3657
|
method: "POST",
|
|
2793
|
-
url: "/api/
|
|
3658
|
+
url: "/api/codelocks-locks/v2-temporary-route/list",
|
|
2794
3659
|
body: requestBody,
|
|
2795
3660
|
mediaType: "application/json",
|
|
2796
3661
|
errors: {
|
|
@@ -2802,7 +3667,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
2802
3667
|
}
|
|
2803
3668
|
/**
|
|
2804
3669
|
* Patches the resource.
|
|
2805
|
-
* @returns
|
|
3670
|
+
* @returns CodelocksLock OK
|
|
2806
3671
|
* @throws ApiError
|
|
2807
3672
|
*/
|
|
2808
3673
|
patchWithReferences({
|
|
@@ -2810,7 +3675,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
2810
3675
|
}) {
|
|
2811
3676
|
return this.httpRequest.request({
|
|
2812
3677
|
method: "PATCH",
|
|
2813
|
-
url: "/api/
|
|
3678
|
+
url: "/api/codelocks-locks/v2-temporary-route/with-references",
|
|
2814
3679
|
body: requestBody,
|
|
2815
3680
|
mediaType: "application/json",
|
|
2816
3681
|
errors: {
|
|
@@ -2830,7 +3695,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
2830
3695
|
}) {
|
|
2831
3696
|
return this.httpRequest.request({
|
|
2832
3697
|
method: "DELETE",
|
|
2833
|
-
url: "/api/
|
|
3698
|
+
url: "/api/codelocks-locks",
|
|
2834
3699
|
body: requestBody,
|
|
2835
3700
|
mediaType: "application/json",
|
|
2836
3701
|
errors: {
|
|
@@ -2842,14 +3707,13 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
2842
3707
|
}
|
|
2843
3708
|
/**
|
|
2844
3709
|
* Gets a list of resources.
|
|
2845
|
-
* @returns
|
|
3710
|
+
* @returns CodelocksLockPage OK
|
|
2846
3711
|
* @throws ApiError
|
|
2847
3712
|
*/
|
|
2848
3713
|
getPage({
|
|
2849
3714
|
ids,
|
|
2850
3715
|
name,
|
|
2851
|
-
|
|
2852
|
-
isSystem,
|
|
3716
|
+
isActive,
|
|
2853
3717
|
pageNumber,
|
|
2854
3718
|
take,
|
|
2855
3719
|
skip,
|
|
@@ -2864,12 +3728,11 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
2864
3728
|
}) {
|
|
2865
3729
|
return this.httpRequest.request({
|
|
2866
3730
|
method: "GET",
|
|
2867
|
-
url: "/api/
|
|
3731
|
+
url: "/api/codelocks-locks",
|
|
2868
3732
|
query: {
|
|
2869
3733
|
Ids: ids,
|
|
2870
3734
|
Name: name,
|
|
2871
|
-
|
|
2872
|
-
IsSystem: isSystem,
|
|
3735
|
+
IsActive: isActive,
|
|
2873
3736
|
PageNumber: pageNumber,
|
|
2874
3737
|
Take: take,
|
|
2875
3738
|
Skip: skip,
|
|
@@ -2899,7 +3762,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
2899
3762
|
}) {
|
|
2900
3763
|
return this.httpRequest.request({
|
|
2901
3764
|
method: "DELETE",
|
|
2902
|
-
url: "/api/
|
|
3765
|
+
url: "/api/codelocks-locks/{id}",
|
|
2903
3766
|
path: {
|
|
2904
3767
|
id
|
|
2905
3768
|
},
|
|
@@ -2912,7 +3775,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
2912
3775
|
}
|
|
2913
3776
|
/**
|
|
2914
3777
|
* Gets the resource by its Id.
|
|
2915
|
-
* @returns
|
|
3778
|
+
* @returns CodelocksLock OK
|
|
2916
3779
|
* @throws ApiError
|
|
2917
3780
|
*/
|
|
2918
3781
|
getObject({
|
|
@@ -2920,7 +3783,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
2920
3783
|
}) {
|
|
2921
3784
|
return this.httpRequest.request({
|
|
2922
3785
|
method: "GET",
|
|
2923
|
-
url: "/api/
|
|
3786
|
+
url: "/api/codelocks-locks/{id}",
|
|
2924
3787
|
path: {
|
|
2925
3788
|
id
|
|
2926
3789
|
},
|
|
@@ -2941,7 +3804,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
2941
3804
|
}) {
|
|
2942
3805
|
return this.httpRequest.request({
|
|
2943
3806
|
method: "GET",
|
|
2944
|
-
url: "/api/
|
|
3807
|
+
url: "/api/codelocks-locks/{id}/deletable",
|
|
2945
3808
|
path: {
|
|
2946
3809
|
id
|
|
2947
3810
|
},
|
|
@@ -2960,8 +3823,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
2960
3823
|
exists({
|
|
2961
3824
|
ids,
|
|
2962
3825
|
name,
|
|
2963
|
-
|
|
2964
|
-
isSystem,
|
|
3826
|
+
isActive,
|
|
2965
3827
|
pageNumber,
|
|
2966
3828
|
take,
|
|
2967
3829
|
skip,
|
|
@@ -2976,12 +3838,11 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
2976
3838
|
}) {
|
|
2977
3839
|
return this.httpRequest.request({
|
|
2978
3840
|
method: "GET",
|
|
2979
|
-
url: "/api/
|
|
3841
|
+
url: "/api/codelocks-locks/exists",
|
|
2980
3842
|
query: {
|
|
2981
3843
|
Ids: ids,
|
|
2982
3844
|
Name: name,
|
|
2983
|
-
|
|
2984
|
-
IsSystem: isSystem,
|
|
3845
|
+
IsActive: isActive,
|
|
2985
3846
|
PageNumber: pageNumber,
|
|
2986
3847
|
Take: take,
|
|
2987
3848
|
Skip: skip,
|
|
@@ -3009,8 +3870,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
3009
3870
|
count({
|
|
3010
3871
|
ids,
|
|
3011
3872
|
name,
|
|
3012
|
-
|
|
3013
|
-
isSystem,
|
|
3873
|
+
isActive,
|
|
3014
3874
|
pageNumber,
|
|
3015
3875
|
take,
|
|
3016
3876
|
skip,
|
|
@@ -3025,12 +3885,11 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
3025
3885
|
}) {
|
|
3026
3886
|
return this.httpRequest.request({
|
|
3027
3887
|
method: "GET",
|
|
3028
|
-
url: "/api/
|
|
3888
|
+
url: "/api/codelocks-locks/count",
|
|
3029
3889
|
query: {
|
|
3030
3890
|
Ids: ids,
|
|
3031
3891
|
Name: name,
|
|
3032
|
-
|
|
3033
|
-
IsSystem: isSystem,
|
|
3892
|
+
IsActive: isActive,
|
|
3034
3893
|
PageNumber: pageNumber,
|
|
3035
3894
|
Take: take,
|
|
3036
3895
|
Skip: skip,
|
|
@@ -3052,14 +3911,13 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
3052
3911
|
}
|
|
3053
3912
|
/**
|
|
3054
3913
|
* Gets a list of resources unpaged and without references.
|
|
3055
|
-
* @returns
|
|
3914
|
+
* @returns CodelocksLock OK
|
|
3056
3915
|
* @throws ApiError
|
|
3057
3916
|
*/
|
|
3058
3917
|
getListWithoutReferences({
|
|
3059
3918
|
ids,
|
|
3060
3919
|
name,
|
|
3061
|
-
|
|
3062
|
-
isSystem,
|
|
3920
|
+
isActive,
|
|
3063
3921
|
pageNumber,
|
|
3064
3922
|
take,
|
|
3065
3923
|
skip,
|
|
@@ -3074,12 +3932,11 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
3074
3932
|
}) {
|
|
3075
3933
|
return this.httpRequest.request({
|
|
3076
3934
|
method: "GET",
|
|
3077
|
-
url: "/api/
|
|
3935
|
+
url: "/api/codelocks-locks/without-references",
|
|
3078
3936
|
query: {
|
|
3079
3937
|
Ids: ids,
|
|
3080
3938
|
Name: name,
|
|
3081
|
-
|
|
3082
|
-
IsSystem: isSystem,
|
|
3939
|
+
IsActive: isActive,
|
|
3083
3940
|
PageNumber: pageNumber,
|
|
3084
3941
|
Take: take,
|
|
3085
3942
|
Skip: skip,
|
|
@@ -3101,14 +3958,13 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
3101
3958
|
}
|
|
3102
3959
|
/**
|
|
3103
3960
|
* Gets a list of resources.
|
|
3104
|
-
* @returns
|
|
3961
|
+
* @returns CodelocksLock OK
|
|
3105
3962
|
* @throws ApiError
|
|
3106
3963
|
*/
|
|
3107
3964
|
getListIdName({
|
|
3108
3965
|
ids,
|
|
3109
3966
|
name,
|
|
3110
|
-
|
|
3111
|
-
isSystem,
|
|
3967
|
+
isActive,
|
|
3112
3968
|
pageNumber,
|
|
3113
3969
|
take,
|
|
3114
3970
|
skip,
|
|
@@ -3123,12 +3979,11 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
3123
3979
|
}) {
|
|
3124
3980
|
return this.httpRequest.request({
|
|
3125
3981
|
method: "GET",
|
|
3126
|
-
url: "/api/
|
|
3982
|
+
url: "/api/codelocks-locks/id-name",
|
|
3127
3983
|
query: {
|
|
3128
3984
|
Ids: ids,
|
|
3129
3985
|
Name: name,
|
|
3130
|
-
|
|
3131
|
-
IsSystem: isSystem,
|
|
3986
|
+
IsActive: isActive,
|
|
3132
3987
|
PageNumber: pageNumber,
|
|
3133
3988
|
Take: take,
|
|
3134
3989
|
Skip: skip,
|
|
@@ -3148,37 +4003,6 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
3148
4003
|
}
|
|
3149
4004
|
});
|
|
3150
4005
|
}
|
|
3151
|
-
}class ChatService {
|
|
3152
|
-
constructor(httpRequest) {
|
|
3153
|
-
this.httpRequest = httpRequest;
|
|
3154
|
-
}
|
|
3155
|
-
/**
|
|
3156
|
-
* Returns a suggestion for an activity description based on given attributes.
|
|
3157
|
-
* Example request body
|
|
3158
|
-
* {
|
|
3159
|
-
* "name": "Shervs Tennis Fun",
|
|
3160
|
-
* "activity": "Tennis",
|
|
3161
|
-
* "Gender": "Mixed",
|
|
3162
|
-
* etc...
|
|
3163
|
-
* }.
|
|
3164
|
-
* @returns DescriptionCompletionResponse OK
|
|
3165
|
-
* @throws ApiError
|
|
3166
|
-
*/
|
|
3167
|
-
getActivityDescriptionCompletion({
|
|
3168
|
-
requestBody
|
|
3169
|
-
}) {
|
|
3170
|
-
return this.httpRequest.request({
|
|
3171
|
-
method: "POST",
|
|
3172
|
-
url: "/api/external/open-ai-chat/activity-description-completion",
|
|
3173
|
-
body: requestBody,
|
|
3174
|
-
mediaType: "application/json",
|
|
3175
|
-
errors: {
|
|
3176
|
-
400: `Bad Request`,
|
|
3177
|
-
422: `Unprocessable Content`,
|
|
3178
|
-
500: `Internal Server Error`
|
|
3179
|
-
}
|
|
3180
|
-
});
|
|
3181
|
-
}
|
|
3182
4006
|
}class CountryService {
|
|
3183
4007
|
constructor(httpRequest) {
|
|
3184
4008
|
this.httpRequest = httpRequest;
|
|
@@ -10159,6 +10983,46 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
10159
10983
|
}
|
|
10160
10984
|
});
|
|
10161
10985
|
}
|
|
10986
|
+
}class FeatureAnnouncementsService {
|
|
10987
|
+
constructor(httpRequest) {
|
|
10988
|
+
this.httpRequest = httpRequest;
|
|
10989
|
+
}
|
|
10990
|
+
/**
|
|
10991
|
+
* Returns active announcements for the current user (filtered by schedule, dismissal, role, and latest version per slug).
|
|
10992
|
+
* @returns FeatureAnnouncementForUserDto OK
|
|
10993
|
+
* @throws ApiError
|
|
10994
|
+
*/
|
|
10995
|
+
getActive() {
|
|
10996
|
+
return this.httpRequest.request({
|
|
10997
|
+
method: "GET",
|
|
10998
|
+
url: "/api/feature-announcements/active",
|
|
10999
|
+
errors: {
|
|
11000
|
+
400: `Bad Request`,
|
|
11001
|
+
422: `Unprocessable Content`,
|
|
11002
|
+
500: `Internal Server Error`
|
|
11003
|
+
}
|
|
11004
|
+
});
|
|
11005
|
+
}
|
|
11006
|
+
/**
|
|
11007
|
+
* Records a dismissal for the current user (idempotent).
|
|
11008
|
+
* @returns any OK
|
|
11009
|
+
* @throws ApiError
|
|
11010
|
+
*/
|
|
11011
|
+
dismiss({
|
|
11012
|
+
requestBody
|
|
11013
|
+
}) {
|
|
11014
|
+
return this.httpRequest.request({
|
|
11015
|
+
method: "POST",
|
|
11016
|
+
url: "/api/feature-announcements/dismiss",
|
|
11017
|
+
body: requestBody,
|
|
11018
|
+
mediaType: "application/json",
|
|
11019
|
+
errors: {
|
|
11020
|
+
400: `Bad Request`,
|
|
11021
|
+
422: `Unprocessable Content`,
|
|
11022
|
+
500: `Internal Server Error`
|
|
11023
|
+
}
|
|
11024
|
+
});
|
|
11025
|
+
}
|
|
10162
11026
|
}class FilestackService {
|
|
10163
11027
|
constructor(httpRequest) {
|
|
10164
11028
|
this.httpRequest = httpRequest;
|
|
@@ -11372,7 +12236,322 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
11372
12236
|
}) {
|
|
11373
12237
|
return this.httpRequest.request({
|
|
11374
12238
|
method: "GET",
|
|
11375
|
-
url: "/api/images",
|
|
12239
|
+
url: "/api/images",
|
|
12240
|
+
query: {
|
|
12241
|
+
VenueId: venueId,
|
|
12242
|
+
VenueIds: venueIds,
|
|
12243
|
+
FacilityId: facilityId,
|
|
12244
|
+
FacilityIds: facilityIds,
|
|
12245
|
+
SessionId: sessionId,
|
|
12246
|
+
SessionIds: sessionIds,
|
|
12247
|
+
CourseId: courseId,
|
|
12248
|
+
CourseIds: courseIds,
|
|
12249
|
+
SellableItemIds: sellableItemIds,
|
|
12250
|
+
ProgrammeId: programmeId,
|
|
12251
|
+
ProgrammeIds: programmeIds,
|
|
12252
|
+
PageNumber: pageNumber,
|
|
12253
|
+
Take: take,
|
|
12254
|
+
Skip: skip,
|
|
12255
|
+
LimitListRequests: limitListRequests,
|
|
12256
|
+
TenantId: tenantId,
|
|
12257
|
+
ModifiedById: modifiedById,
|
|
12258
|
+
ModifiedByIds: modifiedByIds,
|
|
12259
|
+
DateCreatedGTE: dateCreatedGte,
|
|
12260
|
+
DateCreatedLTE: dateCreatedLte,
|
|
12261
|
+
IsLive: isLive,
|
|
12262
|
+
SortOrderDirection: sortOrderDirection
|
|
12263
|
+
},
|
|
12264
|
+
errors: {
|
|
12265
|
+
400: `Bad Request`,
|
|
12266
|
+
422: `Unprocessable Content`,
|
|
12267
|
+
500: `Internal Server Error`
|
|
12268
|
+
}
|
|
12269
|
+
});
|
|
12270
|
+
}
|
|
12271
|
+
/**
|
|
12272
|
+
* Deletes the resource.
|
|
12273
|
+
* @returns any OK
|
|
12274
|
+
* @throws ApiError
|
|
12275
|
+
*/
|
|
12276
|
+
deleteById({
|
|
12277
|
+
id
|
|
12278
|
+
}) {
|
|
12279
|
+
return this.httpRequest.request({
|
|
12280
|
+
method: "DELETE",
|
|
12281
|
+
url: "/api/images/{id}",
|
|
12282
|
+
path: {
|
|
12283
|
+
id
|
|
12284
|
+
},
|
|
12285
|
+
errors: {
|
|
12286
|
+
400: `Bad Request`,
|
|
12287
|
+
422: `Unprocessable Content`,
|
|
12288
|
+
500: `Internal Server Error`
|
|
12289
|
+
}
|
|
12290
|
+
});
|
|
12291
|
+
}
|
|
12292
|
+
/**
|
|
12293
|
+
* Gets the resource by its Id.
|
|
12294
|
+
* @returns Image OK
|
|
12295
|
+
* @throws ApiError
|
|
12296
|
+
*/
|
|
12297
|
+
getObject({
|
|
12298
|
+
id
|
|
12299
|
+
}) {
|
|
12300
|
+
return this.httpRequest.request({
|
|
12301
|
+
method: "GET",
|
|
12302
|
+
url: "/api/images/{id}",
|
|
12303
|
+
path: {
|
|
12304
|
+
id
|
|
12305
|
+
},
|
|
12306
|
+
errors: {
|
|
12307
|
+
400: `Bad Request`,
|
|
12308
|
+
422: `Unprocessable Content`,
|
|
12309
|
+
500: `Internal Server Error`
|
|
12310
|
+
}
|
|
12311
|
+
});
|
|
12312
|
+
}
|
|
12313
|
+
/**
|
|
12314
|
+
* Returns a value indicating whether the resource is deletable.
|
|
12315
|
+
* @returns boolean OK
|
|
12316
|
+
* @throws ApiError
|
|
12317
|
+
*/
|
|
12318
|
+
canDelete({
|
|
12319
|
+
id
|
|
12320
|
+
}) {
|
|
12321
|
+
return this.httpRequest.request({
|
|
12322
|
+
method: "GET",
|
|
12323
|
+
url: "/api/images/{id}/deletable",
|
|
12324
|
+
path: {
|
|
12325
|
+
id
|
|
12326
|
+
},
|
|
12327
|
+
errors: {
|
|
12328
|
+
400: `Bad Request`,
|
|
12329
|
+
422: `Unprocessable Content`,
|
|
12330
|
+
500: `Internal Server Error`
|
|
12331
|
+
}
|
|
12332
|
+
});
|
|
12333
|
+
}
|
|
12334
|
+
/**
|
|
12335
|
+
* Returns a value indicating whether the resource exists in the database given the provided search params.
|
|
12336
|
+
* @returns boolean OK
|
|
12337
|
+
* @throws ApiError
|
|
12338
|
+
*/
|
|
12339
|
+
exists({
|
|
12340
|
+
venueId,
|
|
12341
|
+
venueIds,
|
|
12342
|
+
facilityId,
|
|
12343
|
+
facilityIds,
|
|
12344
|
+
sessionId,
|
|
12345
|
+
sessionIds,
|
|
12346
|
+
courseId,
|
|
12347
|
+
courseIds,
|
|
12348
|
+
sellableItemIds,
|
|
12349
|
+
programmeId,
|
|
12350
|
+
programmeIds,
|
|
12351
|
+
pageNumber,
|
|
12352
|
+
take,
|
|
12353
|
+
skip,
|
|
12354
|
+
limitListRequests,
|
|
12355
|
+
tenantId,
|
|
12356
|
+
modifiedById,
|
|
12357
|
+
modifiedByIds,
|
|
12358
|
+
dateCreatedGte,
|
|
12359
|
+
dateCreatedLte,
|
|
12360
|
+
isLive,
|
|
12361
|
+
sortOrderDirection
|
|
12362
|
+
}) {
|
|
12363
|
+
return this.httpRequest.request({
|
|
12364
|
+
method: "GET",
|
|
12365
|
+
url: "/api/images/exists",
|
|
12366
|
+
query: {
|
|
12367
|
+
VenueId: venueId,
|
|
12368
|
+
VenueIds: venueIds,
|
|
12369
|
+
FacilityId: facilityId,
|
|
12370
|
+
FacilityIds: facilityIds,
|
|
12371
|
+
SessionId: sessionId,
|
|
12372
|
+
SessionIds: sessionIds,
|
|
12373
|
+
CourseId: courseId,
|
|
12374
|
+
CourseIds: courseIds,
|
|
12375
|
+
SellableItemIds: sellableItemIds,
|
|
12376
|
+
ProgrammeId: programmeId,
|
|
12377
|
+
ProgrammeIds: programmeIds,
|
|
12378
|
+
PageNumber: pageNumber,
|
|
12379
|
+
Take: take,
|
|
12380
|
+
Skip: skip,
|
|
12381
|
+
LimitListRequests: limitListRequests,
|
|
12382
|
+
TenantId: tenantId,
|
|
12383
|
+
ModifiedById: modifiedById,
|
|
12384
|
+
ModifiedByIds: modifiedByIds,
|
|
12385
|
+
DateCreatedGTE: dateCreatedGte,
|
|
12386
|
+
DateCreatedLTE: dateCreatedLte,
|
|
12387
|
+
IsLive: isLive,
|
|
12388
|
+
SortOrderDirection: sortOrderDirection
|
|
12389
|
+
},
|
|
12390
|
+
errors: {
|
|
12391
|
+
400: `Bad Request`,
|
|
12392
|
+
422: `Unprocessable Content`,
|
|
12393
|
+
500: `Internal Server Error`
|
|
12394
|
+
}
|
|
12395
|
+
});
|
|
12396
|
+
}
|
|
12397
|
+
/**
|
|
12398
|
+
* Returns the number of results in the database given the provided search params.
|
|
12399
|
+
* @returns number OK
|
|
12400
|
+
* @throws ApiError
|
|
12401
|
+
*/
|
|
12402
|
+
count({
|
|
12403
|
+
venueId,
|
|
12404
|
+
venueIds,
|
|
12405
|
+
facilityId,
|
|
12406
|
+
facilityIds,
|
|
12407
|
+
sessionId,
|
|
12408
|
+
sessionIds,
|
|
12409
|
+
courseId,
|
|
12410
|
+
courseIds,
|
|
12411
|
+
sellableItemIds,
|
|
12412
|
+
programmeId,
|
|
12413
|
+
programmeIds,
|
|
12414
|
+
pageNumber,
|
|
12415
|
+
take,
|
|
12416
|
+
skip,
|
|
12417
|
+
limitListRequests,
|
|
12418
|
+
tenantId,
|
|
12419
|
+
modifiedById,
|
|
12420
|
+
modifiedByIds,
|
|
12421
|
+
dateCreatedGte,
|
|
12422
|
+
dateCreatedLte,
|
|
12423
|
+
isLive,
|
|
12424
|
+
sortOrderDirection
|
|
12425
|
+
}) {
|
|
12426
|
+
return this.httpRequest.request({
|
|
12427
|
+
method: "GET",
|
|
12428
|
+
url: "/api/images/count",
|
|
12429
|
+
query: {
|
|
12430
|
+
VenueId: venueId,
|
|
12431
|
+
VenueIds: venueIds,
|
|
12432
|
+
FacilityId: facilityId,
|
|
12433
|
+
FacilityIds: facilityIds,
|
|
12434
|
+
SessionId: sessionId,
|
|
12435
|
+
SessionIds: sessionIds,
|
|
12436
|
+
CourseId: courseId,
|
|
12437
|
+
CourseIds: courseIds,
|
|
12438
|
+
SellableItemIds: sellableItemIds,
|
|
12439
|
+
ProgrammeId: programmeId,
|
|
12440
|
+
ProgrammeIds: programmeIds,
|
|
12441
|
+
PageNumber: pageNumber,
|
|
12442
|
+
Take: take,
|
|
12443
|
+
Skip: skip,
|
|
12444
|
+
LimitListRequests: limitListRequests,
|
|
12445
|
+
TenantId: tenantId,
|
|
12446
|
+
ModifiedById: modifiedById,
|
|
12447
|
+
ModifiedByIds: modifiedByIds,
|
|
12448
|
+
DateCreatedGTE: dateCreatedGte,
|
|
12449
|
+
DateCreatedLTE: dateCreatedLte,
|
|
12450
|
+
IsLive: isLive,
|
|
12451
|
+
SortOrderDirection: sortOrderDirection
|
|
12452
|
+
},
|
|
12453
|
+
errors: {
|
|
12454
|
+
400: `Bad Request`,
|
|
12455
|
+
422: `Unprocessable Content`,
|
|
12456
|
+
500: `Internal Server Error`
|
|
12457
|
+
}
|
|
12458
|
+
});
|
|
12459
|
+
}
|
|
12460
|
+
/**
|
|
12461
|
+
* Gets a list of resources unpaged and without references.
|
|
12462
|
+
* @returns Image OK
|
|
12463
|
+
* @throws ApiError
|
|
12464
|
+
*/
|
|
12465
|
+
getListWithoutReferences({
|
|
12466
|
+
venueId,
|
|
12467
|
+
venueIds,
|
|
12468
|
+
facilityId,
|
|
12469
|
+
facilityIds,
|
|
12470
|
+
sessionId,
|
|
12471
|
+
sessionIds,
|
|
12472
|
+
courseId,
|
|
12473
|
+
courseIds,
|
|
12474
|
+
sellableItemIds,
|
|
12475
|
+
programmeId,
|
|
12476
|
+
programmeIds,
|
|
12477
|
+
pageNumber,
|
|
12478
|
+
take,
|
|
12479
|
+
skip,
|
|
12480
|
+
limitListRequests,
|
|
12481
|
+
tenantId,
|
|
12482
|
+
modifiedById,
|
|
12483
|
+
modifiedByIds,
|
|
12484
|
+
dateCreatedGte,
|
|
12485
|
+
dateCreatedLte,
|
|
12486
|
+
isLive,
|
|
12487
|
+
sortOrderDirection
|
|
12488
|
+
}) {
|
|
12489
|
+
return this.httpRequest.request({
|
|
12490
|
+
method: "GET",
|
|
12491
|
+
url: "/api/images/without-references",
|
|
12492
|
+
query: {
|
|
12493
|
+
VenueId: venueId,
|
|
12494
|
+
VenueIds: venueIds,
|
|
12495
|
+
FacilityId: facilityId,
|
|
12496
|
+
FacilityIds: facilityIds,
|
|
12497
|
+
SessionId: sessionId,
|
|
12498
|
+
SessionIds: sessionIds,
|
|
12499
|
+
CourseId: courseId,
|
|
12500
|
+
CourseIds: courseIds,
|
|
12501
|
+
SellableItemIds: sellableItemIds,
|
|
12502
|
+
ProgrammeId: programmeId,
|
|
12503
|
+
ProgrammeIds: programmeIds,
|
|
12504
|
+
PageNumber: pageNumber,
|
|
12505
|
+
Take: take,
|
|
12506
|
+
Skip: skip,
|
|
12507
|
+
LimitListRequests: limitListRequests,
|
|
12508
|
+
TenantId: tenantId,
|
|
12509
|
+
ModifiedById: modifiedById,
|
|
12510
|
+
ModifiedByIds: modifiedByIds,
|
|
12511
|
+
DateCreatedGTE: dateCreatedGte,
|
|
12512
|
+
DateCreatedLTE: dateCreatedLte,
|
|
12513
|
+
IsLive: isLive,
|
|
12514
|
+
SortOrderDirection: sortOrderDirection
|
|
12515
|
+
},
|
|
12516
|
+
errors: {
|
|
12517
|
+
400: `Bad Request`,
|
|
12518
|
+
422: `Unprocessable Content`,
|
|
12519
|
+
500: `Internal Server Error`
|
|
12520
|
+
}
|
|
12521
|
+
});
|
|
12522
|
+
}
|
|
12523
|
+
/**
|
|
12524
|
+
* Gets a list of resources.
|
|
12525
|
+
* @returns Image OK
|
|
12526
|
+
* @throws ApiError
|
|
12527
|
+
*/
|
|
12528
|
+
getListIdName({
|
|
12529
|
+
venueId,
|
|
12530
|
+
venueIds,
|
|
12531
|
+
facilityId,
|
|
12532
|
+
facilityIds,
|
|
12533
|
+
sessionId,
|
|
12534
|
+
sessionIds,
|
|
12535
|
+
courseId,
|
|
12536
|
+
courseIds,
|
|
12537
|
+
sellableItemIds,
|
|
12538
|
+
programmeId,
|
|
12539
|
+
programmeIds,
|
|
12540
|
+
pageNumber,
|
|
12541
|
+
take,
|
|
12542
|
+
skip,
|
|
12543
|
+
limitListRequests,
|
|
12544
|
+
tenantId,
|
|
12545
|
+
modifiedById,
|
|
12546
|
+
modifiedByIds,
|
|
12547
|
+
dateCreatedGte,
|
|
12548
|
+
dateCreatedLte,
|
|
12549
|
+
isLive,
|
|
12550
|
+
sortOrderDirection
|
|
12551
|
+
}) {
|
|
12552
|
+
return this.httpRequest.request({
|
|
12553
|
+
method: "GET",
|
|
12554
|
+
url: "/api/images/id-name",
|
|
11376
12555
|
query: {
|
|
11377
12556
|
VenueId: venueId,
|
|
11378
12557
|
VenueIds: venueIds,
|
|
@@ -11404,6 +12583,155 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
11404
12583
|
}
|
|
11405
12584
|
});
|
|
11406
12585
|
}
|
|
12586
|
+
}class ImageUploadHistoryService {
|
|
12587
|
+
constructor(httpRequest) {
|
|
12588
|
+
this.httpRequest = httpRequest;
|
|
12589
|
+
}
|
|
12590
|
+
/**
|
|
12591
|
+
* Inserts a new resource. The Id will be automatically generated and will be ignored if provided.
|
|
12592
|
+
* @returns ImageUploadHistory OK
|
|
12593
|
+
* @throws ApiError
|
|
12594
|
+
*/
|
|
12595
|
+
post({
|
|
12596
|
+
requestBody
|
|
12597
|
+
}) {
|
|
12598
|
+
return this.httpRequest.request({
|
|
12599
|
+
method: "POST",
|
|
12600
|
+
url: "/api/image-upload-history/v2-temporary-route",
|
|
12601
|
+
body: requestBody,
|
|
12602
|
+
mediaType: "application/json",
|
|
12603
|
+
errors: {
|
|
12604
|
+
400: `Bad Request`,
|
|
12605
|
+
422: `Unprocessable Content`,
|
|
12606
|
+
500: `Internal Server Error`
|
|
12607
|
+
}
|
|
12608
|
+
});
|
|
12609
|
+
}
|
|
12610
|
+
/**
|
|
12611
|
+
* Patches the resource.
|
|
12612
|
+
* @returns ImageUploadHistory OK
|
|
12613
|
+
* @throws ApiError
|
|
12614
|
+
*/
|
|
12615
|
+
patch({
|
|
12616
|
+
requestBody
|
|
12617
|
+
}) {
|
|
12618
|
+
return this.httpRequest.request({
|
|
12619
|
+
method: "PATCH",
|
|
12620
|
+
url: "/api/image-upload-history/v2-temporary-route",
|
|
12621
|
+
body: requestBody,
|
|
12622
|
+
mediaType: "application/json",
|
|
12623
|
+
errors: {
|
|
12624
|
+
400: `Bad Request`,
|
|
12625
|
+
422: `Unprocessable Content`,
|
|
12626
|
+
500: `Internal Server Error`
|
|
12627
|
+
}
|
|
12628
|
+
});
|
|
12629
|
+
}
|
|
12630
|
+
/**
|
|
12631
|
+
* Inserts a list of resources.
|
|
12632
|
+
* @returns ImageUploadHistory OK
|
|
12633
|
+
* @throws ApiError
|
|
12634
|
+
*/
|
|
12635
|
+
postList({
|
|
12636
|
+
requestBody
|
|
12637
|
+
}) {
|
|
12638
|
+
return this.httpRequest.request({
|
|
12639
|
+
method: "POST",
|
|
12640
|
+
url: "/api/image-upload-history/v2-temporary-route/list",
|
|
12641
|
+
body: requestBody,
|
|
12642
|
+
mediaType: "application/json",
|
|
12643
|
+
errors: {
|
|
12644
|
+
400: `Bad Request`,
|
|
12645
|
+
422: `Unprocessable Content`,
|
|
12646
|
+
500: `Internal Server Error`
|
|
12647
|
+
}
|
|
12648
|
+
});
|
|
12649
|
+
}
|
|
12650
|
+
/**
|
|
12651
|
+
* Patches the resource.
|
|
12652
|
+
* @returns ImageUploadHistory OK
|
|
12653
|
+
* @throws ApiError
|
|
12654
|
+
*/
|
|
12655
|
+
patchWithReferences({
|
|
12656
|
+
requestBody
|
|
12657
|
+
}) {
|
|
12658
|
+
return this.httpRequest.request({
|
|
12659
|
+
method: "PATCH",
|
|
12660
|
+
url: "/api/image-upload-history/v2-temporary-route/with-references",
|
|
12661
|
+
body: requestBody,
|
|
12662
|
+
mediaType: "application/json",
|
|
12663
|
+
errors: {
|
|
12664
|
+
400: `Bad Request`,
|
|
12665
|
+
422: `Unprocessable Content`,
|
|
12666
|
+
500: `Internal Server Error`
|
|
12667
|
+
}
|
|
12668
|
+
});
|
|
12669
|
+
}
|
|
12670
|
+
/**
|
|
12671
|
+
* Deletes the resource.
|
|
12672
|
+
* @returns any OK
|
|
12673
|
+
* @throws ApiError
|
|
12674
|
+
*/
|
|
12675
|
+
deleteByObject({
|
|
12676
|
+
requestBody
|
|
12677
|
+
}) {
|
|
12678
|
+
return this.httpRequest.request({
|
|
12679
|
+
method: "DELETE",
|
|
12680
|
+
url: "/api/image-upload-history",
|
|
12681
|
+
body: requestBody,
|
|
12682
|
+
mediaType: "application/json",
|
|
12683
|
+
errors: {
|
|
12684
|
+
400: `Bad Request`,
|
|
12685
|
+
422: `Unprocessable Content`,
|
|
12686
|
+
500: `Internal Server Error`
|
|
12687
|
+
}
|
|
12688
|
+
});
|
|
12689
|
+
}
|
|
12690
|
+
/**
|
|
12691
|
+
* Gets a list of resources.
|
|
12692
|
+
* @returns ImageUploadHistoryPage OK
|
|
12693
|
+
* @throws ApiError
|
|
12694
|
+
*/
|
|
12695
|
+
getPage({
|
|
12696
|
+
userId,
|
|
12697
|
+
imageUrl,
|
|
12698
|
+
pageNumber,
|
|
12699
|
+
take,
|
|
12700
|
+
skip,
|
|
12701
|
+
limitListRequests,
|
|
12702
|
+
tenantId,
|
|
12703
|
+
modifiedById,
|
|
12704
|
+
modifiedByIds,
|
|
12705
|
+
dateCreatedGte,
|
|
12706
|
+
dateCreatedLte,
|
|
12707
|
+
isLive,
|
|
12708
|
+
sortOrderDirection
|
|
12709
|
+
}) {
|
|
12710
|
+
return this.httpRequest.request({
|
|
12711
|
+
method: "GET",
|
|
12712
|
+
url: "/api/image-upload-history",
|
|
12713
|
+
query: {
|
|
12714
|
+
UserId: userId,
|
|
12715
|
+
ImageUrl: imageUrl,
|
|
12716
|
+
PageNumber: pageNumber,
|
|
12717
|
+
Take: take,
|
|
12718
|
+
Skip: skip,
|
|
12719
|
+
LimitListRequests: limitListRequests,
|
|
12720
|
+
TenantId: tenantId,
|
|
12721
|
+
ModifiedById: modifiedById,
|
|
12722
|
+
ModifiedByIds: modifiedByIds,
|
|
12723
|
+
DateCreatedGTE: dateCreatedGte,
|
|
12724
|
+
DateCreatedLTE: dateCreatedLte,
|
|
12725
|
+
IsLive: isLive,
|
|
12726
|
+
SortOrderDirection: sortOrderDirection
|
|
12727
|
+
},
|
|
12728
|
+
errors: {
|
|
12729
|
+
400: `Bad Request`,
|
|
12730
|
+
422: `Unprocessable Content`,
|
|
12731
|
+
500: `Internal Server Error`
|
|
12732
|
+
}
|
|
12733
|
+
});
|
|
12734
|
+
}
|
|
11407
12735
|
/**
|
|
11408
12736
|
* Deletes the resource.
|
|
11409
12737
|
* @returns any OK
|
|
@@ -11414,7 +12742,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
11414
12742
|
}) {
|
|
11415
12743
|
return this.httpRequest.request({
|
|
11416
12744
|
method: "DELETE",
|
|
11417
|
-
url: "/api/
|
|
12745
|
+
url: "/api/image-upload-history/{id}",
|
|
11418
12746
|
path: {
|
|
11419
12747
|
id
|
|
11420
12748
|
},
|
|
@@ -11427,7 +12755,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
11427
12755
|
}
|
|
11428
12756
|
/**
|
|
11429
12757
|
* Gets the resource by its Id.
|
|
11430
|
-
* @returns
|
|
12758
|
+
* @returns ImageUploadHistory OK
|
|
11431
12759
|
* @throws ApiError
|
|
11432
12760
|
*/
|
|
11433
12761
|
getObject({
|
|
@@ -11435,7 +12763,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
11435
12763
|
}) {
|
|
11436
12764
|
return this.httpRequest.request({
|
|
11437
12765
|
method: "GET",
|
|
11438
|
-
url: "/api/
|
|
12766
|
+
url: "/api/image-upload-history/{id}",
|
|
11439
12767
|
path: {
|
|
11440
12768
|
id
|
|
11441
12769
|
},
|
|
@@ -11456,7 +12784,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
11456
12784
|
}) {
|
|
11457
12785
|
return this.httpRequest.request({
|
|
11458
12786
|
method: "GET",
|
|
11459
|
-
url: "/api/
|
|
12787
|
+
url: "/api/image-upload-history/{id}/deletable",
|
|
11460
12788
|
path: {
|
|
11461
12789
|
id
|
|
11462
12790
|
},
|
|
@@ -11473,17 +12801,8 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
11473
12801
|
* @throws ApiError
|
|
11474
12802
|
*/
|
|
11475
12803
|
exists({
|
|
11476
|
-
|
|
11477
|
-
|
|
11478
|
-
facilityId,
|
|
11479
|
-
facilityIds,
|
|
11480
|
-
sessionId,
|
|
11481
|
-
sessionIds,
|
|
11482
|
-
courseId,
|
|
11483
|
-
courseIds,
|
|
11484
|
-
sellableItemIds,
|
|
11485
|
-
programmeId,
|
|
11486
|
-
programmeIds,
|
|
12804
|
+
userId,
|
|
12805
|
+
imageUrl,
|
|
11487
12806
|
pageNumber,
|
|
11488
12807
|
take,
|
|
11489
12808
|
skip,
|
|
@@ -11498,19 +12817,10 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
11498
12817
|
}) {
|
|
11499
12818
|
return this.httpRequest.request({
|
|
11500
12819
|
method: "GET",
|
|
11501
|
-
url: "/api/
|
|
12820
|
+
url: "/api/image-upload-history/exists",
|
|
11502
12821
|
query: {
|
|
11503
|
-
|
|
11504
|
-
|
|
11505
|
-
FacilityId: facilityId,
|
|
11506
|
-
FacilityIds: facilityIds,
|
|
11507
|
-
SessionId: sessionId,
|
|
11508
|
-
SessionIds: sessionIds,
|
|
11509
|
-
CourseId: courseId,
|
|
11510
|
-
CourseIds: courseIds,
|
|
11511
|
-
SellableItemIds: sellableItemIds,
|
|
11512
|
-
ProgrammeId: programmeId,
|
|
11513
|
-
ProgrammeIds: programmeIds,
|
|
12822
|
+
UserId: userId,
|
|
12823
|
+
ImageUrl: imageUrl,
|
|
11514
12824
|
PageNumber: pageNumber,
|
|
11515
12825
|
Take: take,
|
|
11516
12826
|
Skip: skip,
|
|
@@ -11536,17 +12846,8 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
11536
12846
|
* @throws ApiError
|
|
11537
12847
|
*/
|
|
11538
12848
|
count({
|
|
11539
|
-
|
|
11540
|
-
|
|
11541
|
-
facilityId,
|
|
11542
|
-
facilityIds,
|
|
11543
|
-
sessionId,
|
|
11544
|
-
sessionIds,
|
|
11545
|
-
courseId,
|
|
11546
|
-
courseIds,
|
|
11547
|
-
sellableItemIds,
|
|
11548
|
-
programmeId,
|
|
11549
|
-
programmeIds,
|
|
12849
|
+
userId,
|
|
12850
|
+
imageUrl,
|
|
11550
12851
|
pageNumber,
|
|
11551
12852
|
take,
|
|
11552
12853
|
skip,
|
|
@@ -11561,19 +12862,10 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
11561
12862
|
}) {
|
|
11562
12863
|
return this.httpRequest.request({
|
|
11563
12864
|
method: "GET",
|
|
11564
|
-
url: "/api/
|
|
12865
|
+
url: "/api/image-upload-history/count",
|
|
11565
12866
|
query: {
|
|
11566
|
-
|
|
11567
|
-
|
|
11568
|
-
FacilityId: facilityId,
|
|
11569
|
-
FacilityIds: facilityIds,
|
|
11570
|
-
SessionId: sessionId,
|
|
11571
|
-
SessionIds: sessionIds,
|
|
11572
|
-
CourseId: courseId,
|
|
11573
|
-
CourseIds: courseIds,
|
|
11574
|
-
SellableItemIds: sellableItemIds,
|
|
11575
|
-
ProgrammeId: programmeId,
|
|
11576
|
-
ProgrammeIds: programmeIds,
|
|
12867
|
+
UserId: userId,
|
|
12868
|
+
ImageUrl: imageUrl,
|
|
11577
12869
|
PageNumber: pageNumber,
|
|
11578
12870
|
Take: take,
|
|
11579
12871
|
Skip: skip,
|
|
@@ -11595,21 +12887,12 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
11595
12887
|
}
|
|
11596
12888
|
/**
|
|
11597
12889
|
* Gets a list of resources unpaged and without references.
|
|
11598
|
-
* @returns
|
|
12890
|
+
* @returns ImageUploadHistory OK
|
|
11599
12891
|
* @throws ApiError
|
|
11600
12892
|
*/
|
|
11601
12893
|
getListWithoutReferences({
|
|
11602
|
-
|
|
11603
|
-
|
|
11604
|
-
facilityId,
|
|
11605
|
-
facilityIds,
|
|
11606
|
-
sessionId,
|
|
11607
|
-
sessionIds,
|
|
11608
|
-
courseId,
|
|
11609
|
-
courseIds,
|
|
11610
|
-
sellableItemIds,
|
|
11611
|
-
programmeId,
|
|
11612
|
-
programmeIds,
|
|
12894
|
+
userId,
|
|
12895
|
+
imageUrl,
|
|
11613
12896
|
pageNumber,
|
|
11614
12897
|
take,
|
|
11615
12898
|
skip,
|
|
@@ -11624,19 +12907,10 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
11624
12907
|
}) {
|
|
11625
12908
|
return this.httpRequest.request({
|
|
11626
12909
|
method: "GET",
|
|
11627
|
-
url: "/api/
|
|
12910
|
+
url: "/api/image-upload-history/without-references",
|
|
11628
12911
|
query: {
|
|
11629
|
-
|
|
11630
|
-
|
|
11631
|
-
FacilityId: facilityId,
|
|
11632
|
-
FacilityIds: facilityIds,
|
|
11633
|
-
SessionId: sessionId,
|
|
11634
|
-
SessionIds: sessionIds,
|
|
11635
|
-
CourseId: courseId,
|
|
11636
|
-
CourseIds: courseIds,
|
|
11637
|
-
SellableItemIds: sellableItemIds,
|
|
11638
|
-
ProgrammeId: programmeId,
|
|
11639
|
-
ProgrammeIds: programmeIds,
|
|
12912
|
+
UserId: userId,
|
|
12913
|
+
ImageUrl: imageUrl,
|
|
11640
12914
|
PageNumber: pageNumber,
|
|
11641
12915
|
Take: take,
|
|
11642
12916
|
Skip: skip,
|
|
@@ -11658,21 +12932,12 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
11658
12932
|
}
|
|
11659
12933
|
/**
|
|
11660
12934
|
* Gets a list of resources.
|
|
11661
|
-
* @returns
|
|
12935
|
+
* @returns ImageUploadHistory OK
|
|
11662
12936
|
* @throws ApiError
|
|
11663
12937
|
*/
|
|
11664
12938
|
getListIdName({
|
|
11665
|
-
|
|
11666
|
-
|
|
11667
|
-
facilityId,
|
|
11668
|
-
facilityIds,
|
|
11669
|
-
sessionId,
|
|
11670
|
-
sessionIds,
|
|
11671
|
-
courseId,
|
|
11672
|
-
courseIds,
|
|
11673
|
-
sellableItemIds,
|
|
11674
|
-
programmeId,
|
|
11675
|
-
programmeIds,
|
|
12939
|
+
userId,
|
|
12940
|
+
imageUrl,
|
|
11676
12941
|
pageNumber,
|
|
11677
12942
|
take,
|
|
11678
12943
|
skip,
|
|
@@ -11687,19 +12952,10 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
11687
12952
|
}) {
|
|
11688
12953
|
return this.httpRequest.request({
|
|
11689
12954
|
method: "GET",
|
|
11690
|
-
url: "/api/
|
|
12955
|
+
url: "/api/image-upload-history/id-name",
|
|
11691
12956
|
query: {
|
|
11692
|
-
|
|
11693
|
-
|
|
11694
|
-
FacilityId: facilityId,
|
|
11695
|
-
FacilityIds: facilityIds,
|
|
11696
|
-
SessionId: sessionId,
|
|
11697
|
-
SessionIds: sessionIds,
|
|
11698
|
-
CourseId: courseId,
|
|
11699
|
-
CourseIds: courseIds,
|
|
11700
|
-
SellableItemIds: sellableItemIds,
|
|
11701
|
-
ProgrammeId: programmeId,
|
|
11702
|
-
ProgrammeIds: programmeIds,
|
|
12957
|
+
UserId: userId,
|
|
12958
|
+
ImageUrl: imageUrl,
|
|
11703
12959
|
PageNumber: pageNumber,
|
|
11704
12960
|
Take: take,
|
|
11705
12961
|
Skip: skip,
|
|
@@ -11719,13 +12975,33 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
11719
12975
|
}
|
|
11720
12976
|
});
|
|
11721
12977
|
}
|
|
11722
|
-
}class
|
|
12978
|
+
}class IntegrationCodelocksSettingsService {
|
|
11723
12979
|
constructor(httpRequest) {
|
|
11724
12980
|
this.httpRequest = httpRequest;
|
|
11725
12981
|
}
|
|
12982
|
+
/**
|
|
12983
|
+
* Creates or updates Codelocks integration settings for the tenant.
|
|
12984
|
+
* @returns IntegrationCodelocksSettings OK
|
|
12985
|
+
* @throws ApiError
|
|
12986
|
+
*/
|
|
12987
|
+
upsert({
|
|
12988
|
+
requestBody
|
|
12989
|
+
}) {
|
|
12990
|
+
return this.httpRequest.request({
|
|
12991
|
+
method: "POST",
|
|
12992
|
+
url: "/api/integration-codelocks/upsert",
|
|
12993
|
+
body: requestBody,
|
|
12994
|
+
mediaType: "application/json",
|
|
12995
|
+
errors: {
|
|
12996
|
+
400: `Bad Request`,
|
|
12997
|
+
422: `Unprocessable Content`,
|
|
12998
|
+
500: `Internal Server Error`
|
|
12999
|
+
}
|
|
13000
|
+
});
|
|
13001
|
+
}
|
|
11726
13002
|
/**
|
|
11727
13003
|
* Inserts a new resource. The Id will be automatically generated and will be ignored if provided.
|
|
11728
|
-
* @returns
|
|
13004
|
+
* @returns IntegrationCodelocksSettings OK
|
|
11729
13005
|
* @throws ApiError
|
|
11730
13006
|
*/
|
|
11731
13007
|
post({
|
|
@@ -11733,7 +13009,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
11733
13009
|
}) {
|
|
11734
13010
|
return this.httpRequest.request({
|
|
11735
13011
|
method: "POST",
|
|
11736
|
-
url: "/api/
|
|
13012
|
+
url: "/api/integration-codelocks/v2-temporary-route",
|
|
11737
13013
|
body: requestBody,
|
|
11738
13014
|
mediaType: "application/json",
|
|
11739
13015
|
errors: {
|
|
@@ -11745,7 +13021,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
11745
13021
|
}
|
|
11746
13022
|
/**
|
|
11747
13023
|
* Patches the resource.
|
|
11748
|
-
* @returns
|
|
13024
|
+
* @returns IntegrationCodelocksSettings OK
|
|
11749
13025
|
* @throws ApiError
|
|
11750
13026
|
*/
|
|
11751
13027
|
patch({
|
|
@@ -11753,7 +13029,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
11753
13029
|
}) {
|
|
11754
13030
|
return this.httpRequest.request({
|
|
11755
13031
|
method: "PATCH",
|
|
11756
|
-
url: "/api/
|
|
13032
|
+
url: "/api/integration-codelocks/v2-temporary-route",
|
|
11757
13033
|
body: requestBody,
|
|
11758
13034
|
mediaType: "application/json",
|
|
11759
13035
|
errors: {
|
|
@@ -11765,7 +13041,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
11765
13041
|
}
|
|
11766
13042
|
/**
|
|
11767
13043
|
* Inserts a list of resources.
|
|
11768
|
-
* @returns
|
|
13044
|
+
* @returns IntegrationCodelocksSettings OK
|
|
11769
13045
|
* @throws ApiError
|
|
11770
13046
|
*/
|
|
11771
13047
|
postList({
|
|
@@ -11773,7 +13049,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
11773
13049
|
}) {
|
|
11774
13050
|
return this.httpRequest.request({
|
|
11775
13051
|
method: "POST",
|
|
11776
|
-
url: "/api/
|
|
13052
|
+
url: "/api/integration-codelocks/v2-temporary-route/list",
|
|
11777
13053
|
body: requestBody,
|
|
11778
13054
|
mediaType: "application/json",
|
|
11779
13055
|
errors: {
|
|
@@ -11785,7 +13061,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
11785
13061
|
}
|
|
11786
13062
|
/**
|
|
11787
13063
|
* Patches the resource.
|
|
11788
|
-
* @returns
|
|
13064
|
+
* @returns IntegrationCodelocksSettings OK
|
|
11789
13065
|
* @throws ApiError
|
|
11790
13066
|
*/
|
|
11791
13067
|
patchWithReferences({
|
|
@@ -11793,7 +13069,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
11793
13069
|
}) {
|
|
11794
13070
|
return this.httpRequest.request({
|
|
11795
13071
|
method: "PATCH",
|
|
11796
|
-
url: "/api/
|
|
13072
|
+
url: "/api/integration-codelocks/v2-temporary-route/with-references",
|
|
11797
13073
|
body: requestBody,
|
|
11798
13074
|
mediaType: "application/json",
|
|
11799
13075
|
errors: {
|
|
@@ -11813,7 +13089,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
11813
13089
|
}) {
|
|
11814
13090
|
return this.httpRequest.request({
|
|
11815
13091
|
method: "DELETE",
|
|
11816
|
-
url: "/api/
|
|
13092
|
+
url: "/api/integration-codelocks",
|
|
11817
13093
|
body: requestBody,
|
|
11818
13094
|
mediaType: "application/json",
|
|
11819
13095
|
errors: {
|
|
@@ -11825,12 +13101,10 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
11825
13101
|
}
|
|
11826
13102
|
/**
|
|
11827
13103
|
* Gets a list of resources.
|
|
11828
|
-
* @returns
|
|
13104
|
+
* @returns IntegrationCodelocksSettingsPage OK
|
|
11829
13105
|
* @throws ApiError
|
|
11830
13106
|
*/
|
|
11831
13107
|
getPage({
|
|
11832
|
-
userId,
|
|
11833
|
-
imageUrl,
|
|
11834
13108
|
pageNumber,
|
|
11835
13109
|
take,
|
|
11836
13110
|
skip,
|
|
@@ -11845,10 +13119,8 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
11845
13119
|
}) {
|
|
11846
13120
|
return this.httpRequest.request({
|
|
11847
13121
|
method: "GET",
|
|
11848
|
-
url: "/api/
|
|
13122
|
+
url: "/api/integration-codelocks",
|
|
11849
13123
|
query: {
|
|
11850
|
-
UserId: userId,
|
|
11851
|
-
ImageUrl: imageUrl,
|
|
11852
13124
|
PageNumber: pageNumber,
|
|
11853
13125
|
Take: take,
|
|
11854
13126
|
Skip: skip,
|
|
@@ -11878,7 +13150,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
11878
13150
|
}) {
|
|
11879
13151
|
return this.httpRequest.request({
|
|
11880
13152
|
method: "DELETE",
|
|
11881
|
-
url: "/api/
|
|
13153
|
+
url: "/api/integration-codelocks/{id}",
|
|
11882
13154
|
path: {
|
|
11883
13155
|
id
|
|
11884
13156
|
},
|
|
@@ -11891,7 +13163,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
11891
13163
|
}
|
|
11892
13164
|
/**
|
|
11893
13165
|
* Gets the resource by its Id.
|
|
11894
|
-
* @returns
|
|
13166
|
+
* @returns IntegrationCodelocksSettings OK
|
|
11895
13167
|
* @throws ApiError
|
|
11896
13168
|
*/
|
|
11897
13169
|
getObject({
|
|
@@ -11899,7 +13171,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
11899
13171
|
}) {
|
|
11900
13172
|
return this.httpRequest.request({
|
|
11901
13173
|
method: "GET",
|
|
11902
|
-
url: "/api/
|
|
13174
|
+
url: "/api/integration-codelocks/{id}",
|
|
11903
13175
|
path: {
|
|
11904
13176
|
id
|
|
11905
13177
|
},
|
|
@@ -11920,7 +13192,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
11920
13192
|
}) {
|
|
11921
13193
|
return this.httpRequest.request({
|
|
11922
13194
|
method: "GET",
|
|
11923
|
-
url: "/api/
|
|
13195
|
+
url: "/api/integration-codelocks/{id}/deletable",
|
|
11924
13196
|
path: {
|
|
11925
13197
|
id
|
|
11926
13198
|
},
|
|
@@ -11937,8 +13209,6 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
11937
13209
|
* @throws ApiError
|
|
11938
13210
|
*/
|
|
11939
13211
|
exists({
|
|
11940
|
-
userId,
|
|
11941
|
-
imageUrl,
|
|
11942
13212
|
pageNumber,
|
|
11943
13213
|
take,
|
|
11944
13214
|
skip,
|
|
@@ -11953,10 +13223,8 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
11953
13223
|
}) {
|
|
11954
13224
|
return this.httpRequest.request({
|
|
11955
13225
|
method: "GET",
|
|
11956
|
-
url: "/api/
|
|
13226
|
+
url: "/api/integration-codelocks/exists",
|
|
11957
13227
|
query: {
|
|
11958
|
-
UserId: userId,
|
|
11959
|
-
ImageUrl: imageUrl,
|
|
11960
13228
|
PageNumber: pageNumber,
|
|
11961
13229
|
Take: take,
|
|
11962
13230
|
Skip: skip,
|
|
@@ -11982,8 +13250,6 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
11982
13250
|
* @throws ApiError
|
|
11983
13251
|
*/
|
|
11984
13252
|
count({
|
|
11985
|
-
userId,
|
|
11986
|
-
imageUrl,
|
|
11987
13253
|
pageNumber,
|
|
11988
13254
|
take,
|
|
11989
13255
|
skip,
|
|
@@ -11998,10 +13264,8 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
11998
13264
|
}) {
|
|
11999
13265
|
return this.httpRequest.request({
|
|
12000
13266
|
method: "GET",
|
|
12001
|
-
url: "/api/
|
|
13267
|
+
url: "/api/integration-codelocks/count",
|
|
12002
13268
|
query: {
|
|
12003
|
-
UserId: userId,
|
|
12004
|
-
ImageUrl: imageUrl,
|
|
12005
13269
|
PageNumber: pageNumber,
|
|
12006
13270
|
Take: take,
|
|
12007
13271
|
Skip: skip,
|
|
@@ -12023,12 +13287,10 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12023
13287
|
}
|
|
12024
13288
|
/**
|
|
12025
13289
|
* Gets a list of resources unpaged and without references.
|
|
12026
|
-
* @returns
|
|
13290
|
+
* @returns IntegrationCodelocksSettings OK
|
|
12027
13291
|
* @throws ApiError
|
|
12028
13292
|
*/
|
|
12029
13293
|
getListWithoutReferences({
|
|
12030
|
-
userId,
|
|
12031
|
-
imageUrl,
|
|
12032
13294
|
pageNumber,
|
|
12033
13295
|
take,
|
|
12034
13296
|
skip,
|
|
@@ -12043,10 +13305,8 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12043
13305
|
}) {
|
|
12044
13306
|
return this.httpRequest.request({
|
|
12045
13307
|
method: "GET",
|
|
12046
|
-
url: "/api/
|
|
13308
|
+
url: "/api/integration-codelocks/without-references",
|
|
12047
13309
|
query: {
|
|
12048
|
-
UserId: userId,
|
|
12049
|
-
ImageUrl: imageUrl,
|
|
12050
13310
|
PageNumber: pageNumber,
|
|
12051
13311
|
Take: take,
|
|
12052
13312
|
Skip: skip,
|
|
@@ -12068,12 +13328,10 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12068
13328
|
}
|
|
12069
13329
|
/**
|
|
12070
13330
|
* Gets a list of resources.
|
|
12071
|
-
* @returns
|
|
13331
|
+
* @returns IntegrationCodelocksSettings OK
|
|
12072
13332
|
* @throws ApiError
|
|
12073
13333
|
*/
|
|
12074
13334
|
getListIdName({
|
|
12075
|
-
userId,
|
|
12076
|
-
imageUrl,
|
|
12077
13335
|
pageNumber,
|
|
12078
13336
|
take,
|
|
12079
13337
|
skip,
|
|
@@ -12088,10 +13346,8 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12088
13346
|
}) {
|
|
12089
13347
|
return this.httpRequest.request({
|
|
12090
13348
|
method: "GET",
|
|
12091
|
-
url: "/api/
|
|
13349
|
+
url: "/api/integration-codelocks/id-name",
|
|
12092
13350
|
query: {
|
|
12093
|
-
UserId: userId,
|
|
12094
|
-
ImageUrl: imageUrl,
|
|
12095
13351
|
PageNumber: pageNumber,
|
|
12096
13352
|
Take: take,
|
|
12097
13353
|
Skip: skip,
|
|
@@ -13392,6 +14648,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
13392
14648
|
getPage({
|
|
13393
14649
|
processed,
|
|
13394
14650
|
errored,
|
|
14651
|
+
processAfterUtcLte,
|
|
13395
14652
|
pageNumber,
|
|
13396
14653
|
take,
|
|
13397
14654
|
skip,
|
|
@@ -13410,6 +14667,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
13410
14667
|
query: {
|
|
13411
14668
|
Processed: processed,
|
|
13412
14669
|
Errored: errored,
|
|
14670
|
+
ProcessAfterUtcLTE: processAfterUtcLte,
|
|
13413
14671
|
PageNumber: pageNumber,
|
|
13414
14672
|
Take: take,
|
|
13415
14673
|
Skip: skip,
|
|
@@ -13500,6 +14758,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
13500
14758
|
exists({
|
|
13501
14759
|
processed,
|
|
13502
14760
|
errored,
|
|
14761
|
+
processAfterUtcLte,
|
|
13503
14762
|
pageNumber,
|
|
13504
14763
|
take,
|
|
13505
14764
|
skip,
|
|
@@ -13518,6 +14777,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
13518
14777
|
query: {
|
|
13519
14778
|
Processed: processed,
|
|
13520
14779
|
Errored: errored,
|
|
14780
|
+
ProcessAfterUtcLTE: processAfterUtcLte,
|
|
13521
14781
|
PageNumber: pageNumber,
|
|
13522
14782
|
Take: take,
|
|
13523
14783
|
Skip: skip,
|
|
@@ -13545,6 +14805,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
13545
14805
|
count({
|
|
13546
14806
|
processed,
|
|
13547
14807
|
errored,
|
|
14808
|
+
processAfterUtcLte,
|
|
13548
14809
|
pageNumber,
|
|
13549
14810
|
take,
|
|
13550
14811
|
skip,
|
|
@@ -13563,6 +14824,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
13563
14824
|
query: {
|
|
13564
14825
|
Processed: processed,
|
|
13565
14826
|
Errored: errored,
|
|
14827
|
+
ProcessAfterUtcLTE: processAfterUtcLte,
|
|
13566
14828
|
PageNumber: pageNumber,
|
|
13567
14829
|
Take: take,
|
|
13568
14830
|
Skip: skip,
|
|
@@ -13590,6 +14852,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
13590
14852
|
getListWithoutReferences({
|
|
13591
14853
|
processed,
|
|
13592
14854
|
errored,
|
|
14855
|
+
processAfterUtcLte,
|
|
13593
14856
|
pageNumber,
|
|
13594
14857
|
take,
|
|
13595
14858
|
skip,
|
|
@@ -13608,6 +14871,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
13608
14871
|
query: {
|
|
13609
14872
|
Processed: processed,
|
|
13610
14873
|
Errored: errored,
|
|
14874
|
+
ProcessAfterUtcLTE: processAfterUtcLte,
|
|
13611
14875
|
PageNumber: pageNumber,
|
|
13612
14876
|
Take: take,
|
|
13613
14877
|
Skip: skip,
|
|
@@ -13635,6 +14899,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
13635
14899
|
getListIdName({
|
|
13636
14900
|
processed,
|
|
13637
14901
|
errored,
|
|
14902
|
+
processAfterUtcLte,
|
|
13638
14903
|
pageNumber,
|
|
13639
14904
|
take,
|
|
13640
14905
|
skip,
|
|
@@ -13653,6 +14918,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
13653
14918
|
query: {
|
|
13654
14919
|
Processed: processed,
|
|
13655
14920
|
Errored: errored,
|
|
14921
|
+
ProcessAfterUtcLTE: processAfterUtcLte,
|
|
13656
14922
|
PageNumber: pageNumber,
|
|
13657
14923
|
Take: take,
|
|
13658
14924
|
Skip: skip,
|
|
@@ -51254,6 +52520,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
51254
52520
|
});
|
|
51255
52521
|
}
|
|
51256
52522
|
}class ApiClient {
|
|
52523
|
+
accessCredentials;
|
|
51257
52524
|
activity;
|
|
51258
52525
|
activityPerformance;
|
|
51259
52526
|
activityTypeCategory;
|
|
@@ -51263,6 +52530,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
51263
52530
|
booking;
|
|
51264
52531
|
cancellationPolicies;
|
|
51265
52532
|
chat;
|
|
52533
|
+
codelocksLocks;
|
|
51266
52534
|
country;
|
|
51267
52535
|
courses;
|
|
51268
52536
|
courseSessions;
|
|
@@ -51281,6 +52549,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
51281
52549
|
englandGolfReport;
|
|
51282
52550
|
facilities;
|
|
51283
52551
|
facilityIndividuals;
|
|
52552
|
+
featureAnnouncements;
|
|
51284
52553
|
filestack;
|
|
51285
52554
|
genericActivity;
|
|
51286
52555
|
geocode;
|
|
@@ -51290,6 +52559,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
51290
52559
|
imageLibraryImage;
|
|
51291
52560
|
images;
|
|
51292
52561
|
imageUploadHistory;
|
|
52562
|
+
integrationCodelocksSettings;
|
|
51293
52563
|
integrationDotdigitalFieldMap;
|
|
51294
52564
|
integrationDotdigitalLog;
|
|
51295
52565
|
integrationDotDigitalSettings;
|
|
@@ -51401,6 +52671,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
51401
52671
|
HEADERS: config?.HEADERS,
|
|
51402
52672
|
ENCODE_PATH: config?.ENCODE_PATH
|
|
51403
52673
|
});
|
|
52674
|
+
this.accessCredentials = new AccessCredentialsService(this.request);
|
|
51404
52675
|
this.activity = new ActivityService(this.request);
|
|
51405
52676
|
this.activityPerformance = new ActivityPerformanceService(this.request);
|
|
51406
52677
|
this.activityTypeCategory = new ActivityTypeCategoryService(this.request);
|
|
@@ -51410,6 +52681,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
51410
52681
|
this.booking = new BookingService(this.request);
|
|
51411
52682
|
this.cancellationPolicies = new CancellationPoliciesService(this.request);
|
|
51412
52683
|
this.chat = new ChatService(this.request);
|
|
52684
|
+
this.codelocksLocks = new CodelocksLocksService(this.request);
|
|
51413
52685
|
this.country = new CountryService(this.request);
|
|
51414
52686
|
this.courses = new CoursesService(this.request);
|
|
51415
52687
|
this.courseSessions = new CourseSessionsService(this.request);
|
|
@@ -51428,6 +52700,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
51428
52700
|
this.englandGolfReport = new EnglandGolfReportService(this.request);
|
|
51429
52701
|
this.facilities = new FacilitiesService(this.request);
|
|
51430
52702
|
this.facilityIndividuals = new FacilityIndividualsService(this.request);
|
|
52703
|
+
this.featureAnnouncements = new FeatureAnnouncementsService(this.request);
|
|
51431
52704
|
this.filestack = new FilestackService(this.request);
|
|
51432
52705
|
this.genericActivity = new GenericActivityService(this.request);
|
|
51433
52706
|
this.geocode = new GeocodeService(this.request);
|
|
@@ -51437,6 +52710,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
51437
52710
|
this.imageLibraryImage = new ImageLibraryImageService(this.request);
|
|
51438
52711
|
this.images = new ImagesService(this.request);
|
|
51439
52712
|
this.imageUploadHistory = new ImageUploadHistoryService(this.request);
|
|
52713
|
+
this.integrationCodelocksSettings = new IntegrationCodelocksSettingsService(this.request);
|
|
51440
52714
|
this.integrationDotdigitalFieldMap = new IntegrationDotdigitalFieldMapService(this.request);
|
|
51441
52715
|
this.integrationDotdigitalLog = new IntegrationDotdigitalLogService(this.request);
|
|
51442
52716
|
this.integrationDotDigitalSettings = new IntegrationDotDigitalSettingsService(this.request);
|
|
@@ -51784,6 +53058,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
51784
53058
|
return IntegrationDotdigitalLogStatus2;
|
|
51785
53059
|
})(IntegrationDotdigitalLogStatus || {});var IntegrationType = /* @__PURE__ */ ((IntegrationType2) => {
|
|
51786
53060
|
IntegrationType2["DOTDIGITAL_UPSERT_CONTACT"] = "DotdigitalUpsertContact";
|
|
53061
|
+
IntegrationType2["CODELOCKS_GENERATE_NET_CODE"] = "CodelocksGenerateNetCode";
|
|
51787
53062
|
return IntegrationType2;
|
|
51788
53063
|
})(IntegrationType || {});var InviteStatus = /* @__PURE__ */ ((InviteStatus2) => {
|
|
51789
53064
|
InviteStatus2["PENDING"] = "Pending";
|
|
@@ -51804,6 +53079,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
51804
53079
|
NotificationType2["NEW_ACTIVITY"] = "NewActivity";
|
|
51805
53080
|
NotificationType2["PAYMENT_RECIEVED"] = "PaymentRecieved";
|
|
51806
53081
|
NotificationType2["POST_COMPLETION_SURVEY_COMPLETED"] = "PostCompletionSurveyCompleted";
|
|
53082
|
+
NotificationType2["CODELOCKS_ACCESS_CODE_READY"] = "CodelocksAccessCodeReady";
|
|
51807
53083
|
return NotificationType2;
|
|
51808
53084
|
})(NotificationType || {});var OpportunityRegisterStatus = /* @__PURE__ */ ((OpportunityRegisterStatus2) => {
|
|
51809
53085
|
OpportunityRegisterStatus2["ACTIVE"] = "Active";
|
|
@@ -51999,4 +53275,4 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
51999
53275
|
WebsiteHomepage2["DEFAULT"] = "Default";
|
|
52000
53276
|
WebsiteHomepage2["MAP"] = "Map";
|
|
52001
53277
|
return WebsiteHomepage2;
|
|
52002
|
-
})(WebsiteHomepage || {});export{ActivityPerformanceService,ActivityService,ActivityType,ActivityTypeCategoryService,AdvanceBooking,AmenityService,AmenityType,ApiClient,ApiError,AppUserRole,ApplicationRole,AttendeesService,AvailabilityIndicator,BadEnglandReportService,BaseHttpRequest,BookingService,BookingStatus,CancelError,CancelablePromise,CancellationPoliciesService,ChatService,CheckoutPlatform,ContactOnConfirmation,CountryService,CourseBookingCutoff,CourseSearchSortBy,CourseSessionSchedulesService,CourseSessionsService,CourseStatus,CoursesService,CustomDateRange,CustomFieldDataType,CustomFieldValueEntityType,CustomFieldsService,CustomerAuthService,CustomerCancellationOption,CustomerPortalService,CustomerType,CustomersService,DayOfWeek,DealActivitiesService,DealDiscountType,DealTarget,DealType,DealsService,DiscountCodeUsesService,DotdigitalCanonicalField,DotdigitalService,DotdigitalSourceType,EmailReminderSchedulesService,EmailSettingsService,EndUserIdentitySecureTokenService,EnglandGolfReportService,EventTiming,FacilitiesService,FacilityIndividualsService,FacilityIndividualsType,FieldPermission,FilestackService,Gender,GenericActivityService,GeocodeService,HelpersService,HereAutocompleteLookupService,HttpStatusCode,ImageLibraryCategoryService,ImageLibraryImageService,ImageUploadHistoryService,ImagesService,IntegrationDotDigitalSettingsService,IntegrationDotdigitalFieldMapService,IntegrationDotdigitalLogService,IntegrationDotdigitalLogStatus,IntegrationQueueService,IntegrationType,InviteStatus,LeasingService,LocationsReportService,LoqatePlacesService,NotificationQueueService,NotificationSettingsService,NotificationType,OffersService,OpenAPI,OpenactiveFeedIntermediateService,OpenactiveFeedItemService,OpportunityRegisterService,OpportunityRegisterStatus,OpportunityType,OrderItemReportService,OrderItemStatus,OrderItemsService,OrderSource,OrderStage,OrdersService,OrgCourseUtilisationService,OrganisationApplicationFeeHandling,OrganisationAvailableChannel,OrganisationRefundPolicy,OrganisationTaxMode,OrganisationType,PaymentMethod,PaymentPoliciesService,PaymentPolicySplitType,PaymentsService,PeriodsOfWeek,PermissionsService,PlacesService,PlatformPayoutsService,Prepayment,ProgrammesService,ProviderTypesService,ProvidersService,PublicBookingService,PublicCalendarService,PublicCoursesService,PublicCustomersService,PublicFacilitiesService,PublicFilestackWebhookService,PublicGenericActivityService,PublicHealthCheckService,PublicLeasingService,PublicNetworksService,PublicOpportunityRegisterService,PublicOrderItemsService,PublicOrderTokensService,PublicOrdersService,PublicProgrammesService,PublicProvidersService,PublicScheduledSessionsService,PublicSellableItemsService,PublicSessionsService,PublicSlotsService,PublicStorefrontStaffPreviewService,PublicStripeWebhookService,PublicSurveyCompletionLogsService,PublicSurveyQuestionsService,PublicSurveysService,PublicTenantsService,PublicVenueTypesService,PublicVenuesService,PublicWaitlistActivityService,PublicWaitlistOpportunityService,ReachEntity,ReachOperation,RecentOrderActivityReportService,RefundSource,RefundStatus,RegisterReportService,RescheduleLogService,ScheduleStatus,ScheduledSessionSearchSortBy,ScheduledSessionsSchedulesService,ScheduledSessionsService,SearchSortOrderDirection,SellableItemsService,SessionType,SessionsService,SlotAvailabilityStatus,SlotOffersService,SlotScheduleOffersService,SlotSchedulesService,SlotStatus,SlotsService,StorefrontStaffPreviewService,StripeAccountLinkedEntityType,StripeAccountService,StripeStatus,SurfacesService,SurveyAnswersService,SurveyCompletionLogService,SurveyQuestionType,SurveyQuestionsService,SurveyQuestionsTarget,SurveyReportExtendedService,SurveyResponseMode,SurveyType,SurveysService,TemplateDetailsService,TemplateFieldPermissionsService,TemplateOffersService,TemplatesService,TenantStatus,TenantTier,TenantWebsiteSettingsService,TenantsService,TimezoneService,TotalRevenueReportService,UnsplashService,UpcomingLayout,UserPermissionsService,UserProgrammesService,UserProvidersService,UsersService,VenueManagersService,VenuePerformanceService,VenueTypeService,VenuesReportService,VenuesService,WaitlistActivityReportService,WaitlistActivityService,WaitlistOpportunityReportService,WaitlistOpportunityService,WalletTrackingLevel,WalletTransactionType,WalletTransactionsService,WalletsService,WebsiteHomepage};
|
|
53278
|
+
})(WebsiteHomepage || {});export{AccessCredentialsService,ActivityPerformanceService,ActivityService,ActivityType,ActivityTypeCategoryService,AdvanceBooking,AmenityService,AmenityType,ApiClient,ApiError,AppUserRole,ApplicationRole,AttendeesService,AvailabilityIndicator,BadEnglandReportService,BaseHttpRequest,BookingService,BookingStatus,CancelError,CancelablePromise,CancellationPoliciesService,ChatService,CheckoutPlatform,CodelocksLocksService,ContactOnConfirmation,CountryService,CourseBookingCutoff,CourseSearchSortBy,CourseSessionSchedulesService,CourseSessionsService,CourseStatus,CoursesService,CustomDateRange,CustomFieldDataType,CustomFieldValueEntityType,CustomFieldsService,CustomerAuthService,CustomerCancellationOption,CustomerPortalService,CustomerType,CustomersService,DayOfWeek,DealActivitiesService,DealDiscountType,DealTarget,DealType,DealsService,DiscountCodeUsesService,DotdigitalCanonicalField,DotdigitalService,DotdigitalSourceType,EmailReminderSchedulesService,EmailSettingsService,EndUserIdentitySecureTokenService,EnglandGolfReportService,EventTiming,FacilitiesService,FacilityIndividualsService,FacilityIndividualsType,FeatureAnnouncementsService,FieldPermission,FilestackService,Gender,GenericActivityService,GeocodeService,HelpersService,HereAutocompleteLookupService,HttpStatusCode,ImageLibraryCategoryService,ImageLibraryImageService,ImageUploadHistoryService,ImagesService,IntegrationCodelocksSettingsService,IntegrationDotDigitalSettingsService,IntegrationDotdigitalFieldMapService,IntegrationDotdigitalLogService,IntegrationDotdigitalLogStatus,IntegrationQueueService,IntegrationType,InviteStatus,LeasingService,LocationsReportService,LoqatePlacesService,NotificationQueueService,NotificationSettingsService,NotificationType,OffersService,OpenAPI,OpenactiveFeedIntermediateService,OpenactiveFeedItemService,OpportunityRegisterService,OpportunityRegisterStatus,OpportunityType,OrderItemReportService,OrderItemStatus,OrderItemsService,OrderSource,OrderStage,OrdersService,OrgCourseUtilisationService,OrganisationApplicationFeeHandling,OrganisationAvailableChannel,OrganisationRefundPolicy,OrganisationTaxMode,OrganisationType,PaymentMethod,PaymentPoliciesService,PaymentPolicySplitType,PaymentsService,PeriodsOfWeek,PermissionsService,PlacesService,PlatformPayoutsService,Prepayment,ProgrammesService,ProviderTypesService,ProvidersService,PublicBookingService,PublicCalendarService,PublicCoursesService,PublicCustomersService,PublicFacilitiesService,PublicFilestackWebhookService,PublicGenericActivityService,PublicHealthCheckService,PublicLeasingService,PublicNetworksService,PublicOpportunityRegisterService,PublicOrderItemsService,PublicOrderTokensService,PublicOrdersService,PublicProgrammesService,PublicProvidersService,PublicScheduledSessionsService,PublicSellableItemsService,PublicSessionsService,PublicSlotsService,PublicStorefrontStaffPreviewService,PublicStripeWebhookService,PublicSurveyCompletionLogsService,PublicSurveyQuestionsService,PublicSurveysService,PublicTenantsService,PublicVenueTypesService,PublicVenuesService,PublicWaitlistActivityService,PublicWaitlistOpportunityService,ReachEntity,ReachOperation,RecentOrderActivityReportService,RefundSource,RefundStatus,RegisterReportService,RescheduleLogService,ScheduleStatus,ScheduledSessionSearchSortBy,ScheduledSessionsSchedulesService,ScheduledSessionsService,SearchSortOrderDirection,SellableItemsService,SessionType,SessionsService,SlotAvailabilityStatus,SlotOffersService,SlotScheduleOffersService,SlotSchedulesService,SlotStatus,SlotsService,StorefrontStaffPreviewService,StripeAccountLinkedEntityType,StripeAccountService,StripeStatus,SurfacesService,SurveyAnswersService,SurveyCompletionLogService,SurveyQuestionType,SurveyQuestionsService,SurveyQuestionsTarget,SurveyReportExtendedService,SurveyResponseMode,SurveyType,SurveysService,TemplateDetailsService,TemplateFieldPermissionsService,TemplateOffersService,TemplatesService,TenantStatus,TenantTier,TenantWebsiteSettingsService,TenantsService,TimezoneService,TotalRevenueReportService,UnsplashService,UpcomingLayout,UserPermissionsService,UserProgrammesService,UserProvidersService,UsersService,VenueManagersService,VenuePerformanceService,VenueTypeService,VenuesReportService,VenuesService,WaitlistActivityReportService,WaitlistActivityService,WaitlistOpportunityReportService,WaitlistOpportunityService,WalletTrackingLevel,WalletTransactionType,WalletTransactionsService,WalletsService,WebsiteHomepage};
|