reach-api-sdk 1.0.217 → 1.0.219
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/reach-sdk.d.ts +3711 -580
- package/dist/reach-sdk.js +2422 -284
- package/package.json +1 -1
- package/src/apiClient.ts +18 -0
- package/src/definition/swagger.yaml +19899 -12337
- package/src/index.ts +26 -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/ActivityType.ts +1 -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/DealActivity.ts +4 -0
- package/src/models/DealActivityPost.ts +4 -0
- package/src/models/EmailSetting.ts +4 -0
- 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/GenericActivity.ts +4 -0
- package/src/models/Image.ts +4 -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/Offer.ts +4 -0
- package/src/models/OfferPatch.ts +4 -0
- package/src/models/OfferPost.ts +4 -0
- package/src/models/OpportunityType.ts +1 -0
- package/src/models/Order.ts +3 -3
- package/src/models/OrderItem.ts +11 -3
- package/src/models/OrderItemCodelocksAccess.ts +14 -0
- package/src/models/OrderItemReport.ts +25 -1
- package/src/models/OrderPatchItem.ts +4 -0
- package/src/models/OrderPostItem.ts +4 -0
- package/src/models/SellableItem.ts +194 -0
- package/src/models/SellableItemPage.ts +12 -0
- package/src/models/SellableItemPatch.ts +150 -0
- package/src/models/SellableItemPost.ts +145 -0
- 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/DealActivitiesService.ts +60 -0
- package/src/services/EmailSettingsService.ts +30 -0
- package/src/services/FeatureAnnouncementsService.ts +56 -0
- package/src/services/ImagesService.ts +30 -0
- package/src/services/IntegrationCodelocksSettingsService.ts +689 -0
- package/src/services/IntegrationQueueService.ts +30 -0
- package/src/services/OffersService.ts +60 -0
- package/src/services/OrderItemsService.ts +30 -0
- package/src/services/PublicOrderItemsService.ts +12 -0
- package/src/services/PublicSellableItemsService.ts +473 -0
- package/src/services/SellableItemsService.ts +962 -0
- package/src/services/SessionsService.ts +2 -2
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;
|
|
@@ -3179,6 +3601,408 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
3179
3601
|
}
|
|
3180
3602
|
});
|
|
3181
3603
|
}
|
|
3604
|
+
}class CodelocksLocksService {
|
|
3605
|
+
constructor(httpRequest) {
|
|
3606
|
+
this.httpRequest = httpRequest;
|
|
3607
|
+
}
|
|
3608
|
+
/**
|
|
3609
|
+
* Inserts a new resource. The Id will be automatically generated and will be ignored if provided.
|
|
3610
|
+
* @returns CodelocksLock OK
|
|
3611
|
+
* @throws ApiError
|
|
3612
|
+
*/
|
|
3613
|
+
post({
|
|
3614
|
+
requestBody
|
|
3615
|
+
}) {
|
|
3616
|
+
return this.httpRequest.request({
|
|
3617
|
+
method: "POST",
|
|
3618
|
+
url: "/api/codelocks-locks/v2-temporary-route",
|
|
3619
|
+
body: requestBody,
|
|
3620
|
+
mediaType: "application/json",
|
|
3621
|
+
errors: {
|
|
3622
|
+
400: `Bad Request`,
|
|
3623
|
+
422: `Unprocessable Content`,
|
|
3624
|
+
500: `Internal Server Error`
|
|
3625
|
+
}
|
|
3626
|
+
});
|
|
3627
|
+
}
|
|
3628
|
+
/**
|
|
3629
|
+
* Patches the resource.
|
|
3630
|
+
* @returns CodelocksLock OK
|
|
3631
|
+
* @throws ApiError
|
|
3632
|
+
*/
|
|
3633
|
+
patch({
|
|
3634
|
+
requestBody
|
|
3635
|
+
}) {
|
|
3636
|
+
return this.httpRequest.request({
|
|
3637
|
+
method: "PATCH",
|
|
3638
|
+
url: "/api/codelocks-locks/v2-temporary-route",
|
|
3639
|
+
body: requestBody,
|
|
3640
|
+
mediaType: "application/json",
|
|
3641
|
+
errors: {
|
|
3642
|
+
400: `Bad Request`,
|
|
3643
|
+
422: `Unprocessable Content`,
|
|
3644
|
+
500: `Internal Server Error`
|
|
3645
|
+
}
|
|
3646
|
+
});
|
|
3647
|
+
}
|
|
3648
|
+
/**
|
|
3649
|
+
* Inserts a list of resources.
|
|
3650
|
+
* @returns CodelocksLock OK
|
|
3651
|
+
* @throws ApiError
|
|
3652
|
+
*/
|
|
3653
|
+
postList({
|
|
3654
|
+
requestBody
|
|
3655
|
+
}) {
|
|
3656
|
+
return this.httpRequest.request({
|
|
3657
|
+
method: "POST",
|
|
3658
|
+
url: "/api/codelocks-locks/v2-temporary-route/list",
|
|
3659
|
+
body: requestBody,
|
|
3660
|
+
mediaType: "application/json",
|
|
3661
|
+
errors: {
|
|
3662
|
+
400: `Bad Request`,
|
|
3663
|
+
422: `Unprocessable Content`,
|
|
3664
|
+
500: `Internal Server Error`
|
|
3665
|
+
}
|
|
3666
|
+
});
|
|
3667
|
+
}
|
|
3668
|
+
/**
|
|
3669
|
+
* Patches the resource.
|
|
3670
|
+
* @returns CodelocksLock OK
|
|
3671
|
+
* @throws ApiError
|
|
3672
|
+
*/
|
|
3673
|
+
patchWithReferences({
|
|
3674
|
+
requestBody
|
|
3675
|
+
}) {
|
|
3676
|
+
return this.httpRequest.request({
|
|
3677
|
+
method: "PATCH",
|
|
3678
|
+
url: "/api/codelocks-locks/v2-temporary-route/with-references",
|
|
3679
|
+
body: requestBody,
|
|
3680
|
+
mediaType: "application/json",
|
|
3681
|
+
errors: {
|
|
3682
|
+
400: `Bad Request`,
|
|
3683
|
+
422: `Unprocessable Content`,
|
|
3684
|
+
500: `Internal Server Error`
|
|
3685
|
+
}
|
|
3686
|
+
});
|
|
3687
|
+
}
|
|
3688
|
+
/**
|
|
3689
|
+
* Deletes the resource.
|
|
3690
|
+
* @returns any OK
|
|
3691
|
+
* @throws ApiError
|
|
3692
|
+
*/
|
|
3693
|
+
deleteByObject({
|
|
3694
|
+
requestBody
|
|
3695
|
+
}) {
|
|
3696
|
+
return this.httpRequest.request({
|
|
3697
|
+
method: "DELETE",
|
|
3698
|
+
url: "/api/codelocks-locks",
|
|
3699
|
+
body: requestBody,
|
|
3700
|
+
mediaType: "application/json",
|
|
3701
|
+
errors: {
|
|
3702
|
+
400: `Bad Request`,
|
|
3703
|
+
422: `Unprocessable Content`,
|
|
3704
|
+
500: `Internal Server Error`
|
|
3705
|
+
}
|
|
3706
|
+
});
|
|
3707
|
+
}
|
|
3708
|
+
/**
|
|
3709
|
+
* Gets a list of resources.
|
|
3710
|
+
* @returns CodelocksLockPage OK
|
|
3711
|
+
* @throws ApiError
|
|
3712
|
+
*/
|
|
3713
|
+
getPage({
|
|
3714
|
+
ids,
|
|
3715
|
+
name,
|
|
3716
|
+
isActive,
|
|
3717
|
+
pageNumber,
|
|
3718
|
+
take,
|
|
3719
|
+
skip,
|
|
3720
|
+
limitListRequests,
|
|
3721
|
+
tenantId,
|
|
3722
|
+
modifiedById,
|
|
3723
|
+
modifiedByIds,
|
|
3724
|
+
dateCreatedGte,
|
|
3725
|
+
dateCreatedLte,
|
|
3726
|
+
isLive,
|
|
3727
|
+
sortOrderDirection
|
|
3728
|
+
}) {
|
|
3729
|
+
return this.httpRequest.request({
|
|
3730
|
+
method: "GET",
|
|
3731
|
+
url: "/api/codelocks-locks",
|
|
3732
|
+
query: {
|
|
3733
|
+
Ids: ids,
|
|
3734
|
+
Name: name,
|
|
3735
|
+
IsActive: isActive,
|
|
3736
|
+
PageNumber: pageNumber,
|
|
3737
|
+
Take: take,
|
|
3738
|
+
Skip: skip,
|
|
3739
|
+
LimitListRequests: limitListRequests,
|
|
3740
|
+
TenantId: tenantId,
|
|
3741
|
+
ModifiedById: modifiedById,
|
|
3742
|
+
ModifiedByIds: modifiedByIds,
|
|
3743
|
+
DateCreatedGTE: dateCreatedGte,
|
|
3744
|
+
DateCreatedLTE: dateCreatedLte,
|
|
3745
|
+
IsLive: isLive,
|
|
3746
|
+
SortOrderDirection: sortOrderDirection
|
|
3747
|
+
},
|
|
3748
|
+
errors: {
|
|
3749
|
+
400: `Bad Request`,
|
|
3750
|
+
422: `Unprocessable Content`,
|
|
3751
|
+
500: `Internal Server Error`
|
|
3752
|
+
}
|
|
3753
|
+
});
|
|
3754
|
+
}
|
|
3755
|
+
/**
|
|
3756
|
+
* Deletes the resource.
|
|
3757
|
+
* @returns any OK
|
|
3758
|
+
* @throws ApiError
|
|
3759
|
+
*/
|
|
3760
|
+
deleteById({
|
|
3761
|
+
id
|
|
3762
|
+
}) {
|
|
3763
|
+
return this.httpRequest.request({
|
|
3764
|
+
method: "DELETE",
|
|
3765
|
+
url: "/api/codelocks-locks/{id}",
|
|
3766
|
+
path: {
|
|
3767
|
+
id
|
|
3768
|
+
},
|
|
3769
|
+
errors: {
|
|
3770
|
+
400: `Bad Request`,
|
|
3771
|
+
422: `Unprocessable Content`,
|
|
3772
|
+
500: `Internal Server Error`
|
|
3773
|
+
}
|
|
3774
|
+
});
|
|
3775
|
+
}
|
|
3776
|
+
/**
|
|
3777
|
+
* Gets the resource by its Id.
|
|
3778
|
+
* @returns CodelocksLock OK
|
|
3779
|
+
* @throws ApiError
|
|
3780
|
+
*/
|
|
3781
|
+
getObject({
|
|
3782
|
+
id
|
|
3783
|
+
}) {
|
|
3784
|
+
return this.httpRequest.request({
|
|
3785
|
+
method: "GET",
|
|
3786
|
+
url: "/api/codelocks-locks/{id}",
|
|
3787
|
+
path: {
|
|
3788
|
+
id
|
|
3789
|
+
},
|
|
3790
|
+
errors: {
|
|
3791
|
+
400: `Bad Request`,
|
|
3792
|
+
422: `Unprocessable Content`,
|
|
3793
|
+
500: `Internal Server Error`
|
|
3794
|
+
}
|
|
3795
|
+
});
|
|
3796
|
+
}
|
|
3797
|
+
/**
|
|
3798
|
+
* Returns a value indicating whether the resource is deletable.
|
|
3799
|
+
* @returns boolean OK
|
|
3800
|
+
* @throws ApiError
|
|
3801
|
+
*/
|
|
3802
|
+
canDelete({
|
|
3803
|
+
id
|
|
3804
|
+
}) {
|
|
3805
|
+
return this.httpRequest.request({
|
|
3806
|
+
method: "GET",
|
|
3807
|
+
url: "/api/codelocks-locks/{id}/deletable",
|
|
3808
|
+
path: {
|
|
3809
|
+
id
|
|
3810
|
+
},
|
|
3811
|
+
errors: {
|
|
3812
|
+
400: `Bad Request`,
|
|
3813
|
+
422: `Unprocessable Content`,
|
|
3814
|
+
500: `Internal Server Error`
|
|
3815
|
+
}
|
|
3816
|
+
});
|
|
3817
|
+
}
|
|
3818
|
+
/**
|
|
3819
|
+
* Returns a value indicating whether the resource exists in the database given the provided search params.
|
|
3820
|
+
* @returns boolean OK
|
|
3821
|
+
* @throws ApiError
|
|
3822
|
+
*/
|
|
3823
|
+
exists({
|
|
3824
|
+
ids,
|
|
3825
|
+
name,
|
|
3826
|
+
isActive,
|
|
3827
|
+
pageNumber,
|
|
3828
|
+
take,
|
|
3829
|
+
skip,
|
|
3830
|
+
limitListRequests,
|
|
3831
|
+
tenantId,
|
|
3832
|
+
modifiedById,
|
|
3833
|
+
modifiedByIds,
|
|
3834
|
+
dateCreatedGte,
|
|
3835
|
+
dateCreatedLte,
|
|
3836
|
+
isLive,
|
|
3837
|
+
sortOrderDirection
|
|
3838
|
+
}) {
|
|
3839
|
+
return this.httpRequest.request({
|
|
3840
|
+
method: "GET",
|
|
3841
|
+
url: "/api/codelocks-locks/exists",
|
|
3842
|
+
query: {
|
|
3843
|
+
Ids: ids,
|
|
3844
|
+
Name: name,
|
|
3845
|
+
IsActive: isActive,
|
|
3846
|
+
PageNumber: pageNumber,
|
|
3847
|
+
Take: take,
|
|
3848
|
+
Skip: skip,
|
|
3849
|
+
LimitListRequests: limitListRequests,
|
|
3850
|
+
TenantId: tenantId,
|
|
3851
|
+
ModifiedById: modifiedById,
|
|
3852
|
+
ModifiedByIds: modifiedByIds,
|
|
3853
|
+
DateCreatedGTE: dateCreatedGte,
|
|
3854
|
+
DateCreatedLTE: dateCreatedLte,
|
|
3855
|
+
IsLive: isLive,
|
|
3856
|
+
SortOrderDirection: sortOrderDirection
|
|
3857
|
+
},
|
|
3858
|
+
errors: {
|
|
3859
|
+
400: `Bad Request`,
|
|
3860
|
+
422: `Unprocessable Content`,
|
|
3861
|
+
500: `Internal Server Error`
|
|
3862
|
+
}
|
|
3863
|
+
});
|
|
3864
|
+
}
|
|
3865
|
+
/**
|
|
3866
|
+
* Returns the number of results in the database given the provided search params.
|
|
3867
|
+
* @returns number OK
|
|
3868
|
+
* @throws ApiError
|
|
3869
|
+
*/
|
|
3870
|
+
count({
|
|
3871
|
+
ids,
|
|
3872
|
+
name,
|
|
3873
|
+
isActive,
|
|
3874
|
+
pageNumber,
|
|
3875
|
+
take,
|
|
3876
|
+
skip,
|
|
3877
|
+
limitListRequests,
|
|
3878
|
+
tenantId,
|
|
3879
|
+
modifiedById,
|
|
3880
|
+
modifiedByIds,
|
|
3881
|
+
dateCreatedGte,
|
|
3882
|
+
dateCreatedLte,
|
|
3883
|
+
isLive,
|
|
3884
|
+
sortOrderDirection
|
|
3885
|
+
}) {
|
|
3886
|
+
return this.httpRequest.request({
|
|
3887
|
+
method: "GET",
|
|
3888
|
+
url: "/api/codelocks-locks/count",
|
|
3889
|
+
query: {
|
|
3890
|
+
Ids: ids,
|
|
3891
|
+
Name: name,
|
|
3892
|
+
IsActive: isActive,
|
|
3893
|
+
PageNumber: pageNumber,
|
|
3894
|
+
Take: take,
|
|
3895
|
+
Skip: skip,
|
|
3896
|
+
LimitListRequests: limitListRequests,
|
|
3897
|
+
TenantId: tenantId,
|
|
3898
|
+
ModifiedById: modifiedById,
|
|
3899
|
+
ModifiedByIds: modifiedByIds,
|
|
3900
|
+
DateCreatedGTE: dateCreatedGte,
|
|
3901
|
+
DateCreatedLTE: dateCreatedLte,
|
|
3902
|
+
IsLive: isLive,
|
|
3903
|
+
SortOrderDirection: sortOrderDirection
|
|
3904
|
+
},
|
|
3905
|
+
errors: {
|
|
3906
|
+
400: `Bad Request`,
|
|
3907
|
+
422: `Unprocessable Content`,
|
|
3908
|
+
500: `Internal Server Error`
|
|
3909
|
+
}
|
|
3910
|
+
});
|
|
3911
|
+
}
|
|
3912
|
+
/**
|
|
3913
|
+
* Gets a list of resources unpaged and without references.
|
|
3914
|
+
* @returns CodelocksLock OK
|
|
3915
|
+
* @throws ApiError
|
|
3916
|
+
*/
|
|
3917
|
+
getListWithoutReferences({
|
|
3918
|
+
ids,
|
|
3919
|
+
name,
|
|
3920
|
+
isActive,
|
|
3921
|
+
pageNumber,
|
|
3922
|
+
take,
|
|
3923
|
+
skip,
|
|
3924
|
+
limitListRequests,
|
|
3925
|
+
tenantId,
|
|
3926
|
+
modifiedById,
|
|
3927
|
+
modifiedByIds,
|
|
3928
|
+
dateCreatedGte,
|
|
3929
|
+
dateCreatedLte,
|
|
3930
|
+
isLive,
|
|
3931
|
+
sortOrderDirection
|
|
3932
|
+
}) {
|
|
3933
|
+
return this.httpRequest.request({
|
|
3934
|
+
method: "GET",
|
|
3935
|
+
url: "/api/codelocks-locks/without-references",
|
|
3936
|
+
query: {
|
|
3937
|
+
Ids: ids,
|
|
3938
|
+
Name: name,
|
|
3939
|
+
IsActive: isActive,
|
|
3940
|
+
PageNumber: pageNumber,
|
|
3941
|
+
Take: take,
|
|
3942
|
+
Skip: skip,
|
|
3943
|
+
LimitListRequests: limitListRequests,
|
|
3944
|
+
TenantId: tenantId,
|
|
3945
|
+
ModifiedById: modifiedById,
|
|
3946
|
+
ModifiedByIds: modifiedByIds,
|
|
3947
|
+
DateCreatedGTE: dateCreatedGte,
|
|
3948
|
+
DateCreatedLTE: dateCreatedLte,
|
|
3949
|
+
IsLive: isLive,
|
|
3950
|
+
SortOrderDirection: sortOrderDirection
|
|
3951
|
+
},
|
|
3952
|
+
errors: {
|
|
3953
|
+
400: `Bad Request`,
|
|
3954
|
+
422: `Unprocessable Content`,
|
|
3955
|
+
500: `Internal Server Error`
|
|
3956
|
+
}
|
|
3957
|
+
});
|
|
3958
|
+
}
|
|
3959
|
+
/**
|
|
3960
|
+
* Gets a list of resources.
|
|
3961
|
+
* @returns CodelocksLock OK
|
|
3962
|
+
* @throws ApiError
|
|
3963
|
+
*/
|
|
3964
|
+
getListIdName({
|
|
3965
|
+
ids,
|
|
3966
|
+
name,
|
|
3967
|
+
isActive,
|
|
3968
|
+
pageNumber,
|
|
3969
|
+
take,
|
|
3970
|
+
skip,
|
|
3971
|
+
limitListRequests,
|
|
3972
|
+
tenantId,
|
|
3973
|
+
modifiedById,
|
|
3974
|
+
modifiedByIds,
|
|
3975
|
+
dateCreatedGte,
|
|
3976
|
+
dateCreatedLte,
|
|
3977
|
+
isLive,
|
|
3978
|
+
sortOrderDirection
|
|
3979
|
+
}) {
|
|
3980
|
+
return this.httpRequest.request({
|
|
3981
|
+
method: "GET",
|
|
3982
|
+
url: "/api/codelocks-locks/id-name",
|
|
3983
|
+
query: {
|
|
3984
|
+
Ids: ids,
|
|
3985
|
+
Name: name,
|
|
3986
|
+
IsActive: isActive,
|
|
3987
|
+
PageNumber: pageNumber,
|
|
3988
|
+
Take: take,
|
|
3989
|
+
Skip: skip,
|
|
3990
|
+
LimitListRequests: limitListRequests,
|
|
3991
|
+
TenantId: tenantId,
|
|
3992
|
+
ModifiedById: modifiedById,
|
|
3993
|
+
ModifiedByIds: modifiedByIds,
|
|
3994
|
+
DateCreatedGTE: dateCreatedGte,
|
|
3995
|
+
DateCreatedLTE: dateCreatedLte,
|
|
3996
|
+
IsLive: isLive,
|
|
3997
|
+
SortOrderDirection: sortOrderDirection
|
|
3998
|
+
},
|
|
3999
|
+
errors: {
|
|
4000
|
+
400: `Bad Request`,
|
|
4001
|
+
422: `Unprocessable Content`,
|
|
4002
|
+
500: `Internal Server Error`
|
|
4003
|
+
}
|
|
4004
|
+
});
|
|
4005
|
+
}
|
|
3182
4006
|
}class CountryService {
|
|
3183
4007
|
constructor(httpRequest) {
|
|
3184
4008
|
this.httpRequest = httpRequest;
|
|
@@ -7006,6 +7830,8 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
7006
7830
|
courseIds,
|
|
7007
7831
|
sessionId,
|
|
7008
7832
|
sessionIds,
|
|
7833
|
+
sellableItemId,
|
|
7834
|
+
sellableItemIds,
|
|
7009
7835
|
pageNumber,
|
|
7010
7836
|
take,
|
|
7011
7837
|
skip,
|
|
@@ -7028,6 +7854,8 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
7028
7854
|
CourseIds: courseIds,
|
|
7029
7855
|
SessionId: sessionId,
|
|
7030
7856
|
SessionIds: sessionIds,
|
|
7857
|
+
SellableItemId: sellableItemId,
|
|
7858
|
+
SellableItemIds: sellableItemIds,
|
|
7031
7859
|
PageNumber: pageNumber,
|
|
7032
7860
|
Take: take,
|
|
7033
7861
|
Skip: skip,
|
|
@@ -7122,6 +7950,8 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
7122
7950
|
courseIds,
|
|
7123
7951
|
sessionId,
|
|
7124
7952
|
sessionIds,
|
|
7953
|
+
sellableItemId,
|
|
7954
|
+
sellableItemIds,
|
|
7125
7955
|
pageNumber,
|
|
7126
7956
|
take,
|
|
7127
7957
|
skip,
|
|
@@ -7144,6 +7974,8 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
7144
7974
|
CourseIds: courseIds,
|
|
7145
7975
|
SessionId: sessionId,
|
|
7146
7976
|
SessionIds: sessionIds,
|
|
7977
|
+
SellableItemId: sellableItemId,
|
|
7978
|
+
SellableItemIds: sellableItemIds,
|
|
7147
7979
|
PageNumber: pageNumber,
|
|
7148
7980
|
Take: take,
|
|
7149
7981
|
Skip: skip,
|
|
@@ -7175,6 +8007,8 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
7175
8007
|
courseIds,
|
|
7176
8008
|
sessionId,
|
|
7177
8009
|
sessionIds,
|
|
8010
|
+
sellableItemId,
|
|
8011
|
+
sellableItemIds,
|
|
7178
8012
|
pageNumber,
|
|
7179
8013
|
take,
|
|
7180
8014
|
skip,
|
|
@@ -7197,6 +8031,8 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
7197
8031
|
CourseIds: courseIds,
|
|
7198
8032
|
SessionId: sessionId,
|
|
7199
8033
|
SessionIds: sessionIds,
|
|
8034
|
+
SellableItemId: sellableItemId,
|
|
8035
|
+
SellableItemIds: sellableItemIds,
|
|
7200
8036
|
PageNumber: pageNumber,
|
|
7201
8037
|
Take: take,
|
|
7202
8038
|
Skip: skip,
|
|
@@ -7228,6 +8064,8 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
7228
8064
|
courseIds,
|
|
7229
8065
|
sessionId,
|
|
7230
8066
|
sessionIds,
|
|
8067
|
+
sellableItemId,
|
|
8068
|
+
sellableItemIds,
|
|
7231
8069
|
pageNumber,
|
|
7232
8070
|
take,
|
|
7233
8071
|
skip,
|
|
@@ -7250,6 +8088,8 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
7250
8088
|
CourseIds: courseIds,
|
|
7251
8089
|
SessionId: sessionId,
|
|
7252
8090
|
SessionIds: sessionIds,
|
|
8091
|
+
SellableItemId: sellableItemId,
|
|
8092
|
+
SellableItemIds: sellableItemIds,
|
|
7253
8093
|
PageNumber: pageNumber,
|
|
7254
8094
|
Take: take,
|
|
7255
8095
|
Skip: skip,
|
|
@@ -7281,6 +8121,8 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
7281
8121
|
courseIds,
|
|
7282
8122
|
sessionId,
|
|
7283
8123
|
sessionIds,
|
|
8124
|
+
sellableItemId,
|
|
8125
|
+
sellableItemIds,
|
|
7284
8126
|
pageNumber,
|
|
7285
8127
|
take,
|
|
7286
8128
|
skip,
|
|
@@ -7303,6 +8145,8 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
7303
8145
|
CourseIds: courseIds,
|
|
7304
8146
|
SessionId: sessionId,
|
|
7305
8147
|
SessionIds: sessionIds,
|
|
8148
|
+
SellableItemId: sellableItemId,
|
|
8149
|
+
SellableItemIds: sellableItemIds,
|
|
7306
8150
|
PageNumber: pageNumber,
|
|
7307
8151
|
Take: take,
|
|
7308
8152
|
Skip: skip,
|
|
@@ -8779,6 +9623,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
8779
9623
|
facilityId,
|
|
8780
9624
|
sessionId,
|
|
8781
9625
|
courseId,
|
|
9626
|
+
sellableItemId,
|
|
8782
9627
|
pageNumber,
|
|
8783
9628
|
take,
|
|
8784
9629
|
skip,
|
|
@@ -8800,6 +9645,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
8800
9645
|
FacilityId: facilityId,
|
|
8801
9646
|
SessionId: sessionId,
|
|
8802
9647
|
CourseId: courseId,
|
|
9648
|
+
SellableItemId: sellableItemId,
|
|
8803
9649
|
PageNumber: pageNumber,
|
|
8804
9650
|
Take: take,
|
|
8805
9651
|
Skip: skip,
|
|
@@ -8893,6 +9739,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
8893
9739
|
facilityId,
|
|
8894
9740
|
sessionId,
|
|
8895
9741
|
courseId,
|
|
9742
|
+
sellableItemId,
|
|
8896
9743
|
pageNumber,
|
|
8897
9744
|
take,
|
|
8898
9745
|
skip,
|
|
@@ -8914,6 +9761,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
8914
9761
|
FacilityId: facilityId,
|
|
8915
9762
|
SessionId: sessionId,
|
|
8916
9763
|
CourseId: courseId,
|
|
9764
|
+
SellableItemId: sellableItemId,
|
|
8917
9765
|
PageNumber: pageNumber,
|
|
8918
9766
|
Take: take,
|
|
8919
9767
|
Skip: skip,
|
|
@@ -8944,6 +9792,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
8944
9792
|
facilityId,
|
|
8945
9793
|
sessionId,
|
|
8946
9794
|
courseId,
|
|
9795
|
+
sellableItemId,
|
|
8947
9796
|
pageNumber,
|
|
8948
9797
|
take,
|
|
8949
9798
|
skip,
|
|
@@ -8965,6 +9814,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
8965
9814
|
FacilityId: facilityId,
|
|
8966
9815
|
SessionId: sessionId,
|
|
8967
9816
|
CourseId: courseId,
|
|
9817
|
+
SellableItemId: sellableItemId,
|
|
8968
9818
|
PageNumber: pageNumber,
|
|
8969
9819
|
Take: take,
|
|
8970
9820
|
Skip: skip,
|
|
@@ -8995,6 +9845,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
8995
9845
|
facilityId,
|
|
8996
9846
|
sessionId,
|
|
8997
9847
|
courseId,
|
|
9848
|
+
sellableItemId,
|
|
8998
9849
|
pageNumber,
|
|
8999
9850
|
take,
|
|
9000
9851
|
skip,
|
|
@@ -9016,6 +9867,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
9016
9867
|
FacilityId: facilityId,
|
|
9017
9868
|
SessionId: sessionId,
|
|
9018
9869
|
CourseId: courseId,
|
|
9870
|
+
SellableItemId: sellableItemId,
|
|
9019
9871
|
PageNumber: pageNumber,
|
|
9020
9872
|
Take: take,
|
|
9021
9873
|
Skip: skip,
|
|
@@ -9046,6 +9898,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
9046
9898
|
facilityId,
|
|
9047
9899
|
sessionId,
|
|
9048
9900
|
courseId,
|
|
9901
|
+
sellableItemId,
|
|
9049
9902
|
pageNumber,
|
|
9050
9903
|
take,
|
|
9051
9904
|
skip,
|
|
@@ -9067,6 +9920,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
9067
9920
|
FacilityId: facilityId,
|
|
9068
9921
|
SessionId: sessionId,
|
|
9069
9922
|
CourseId: courseId,
|
|
9923
|
+
SellableItemId: sellableItemId,
|
|
9070
9924
|
PageNumber: pageNumber,
|
|
9071
9925
|
Take: take,
|
|
9072
9926
|
Skip: skip,
|
|
@@ -10129,6 +10983,46 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
10129
10983
|
}
|
|
10130
10984
|
});
|
|
10131
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
|
+
}
|
|
10132
11026
|
}class FilestackService {
|
|
10133
11027
|
constructor(httpRequest) {
|
|
10134
11028
|
this.httpRequest = httpRequest;
|
|
@@ -11325,6 +12219,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
11325
12219
|
sessionIds,
|
|
11326
12220
|
courseId,
|
|
11327
12221
|
courseIds,
|
|
12222
|
+
sellableItemIds,
|
|
11328
12223
|
programmeId,
|
|
11329
12224
|
programmeIds,
|
|
11330
12225
|
pageNumber,
|
|
@@ -11351,6 +12246,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
11351
12246
|
SessionIds: sessionIds,
|
|
11352
12247
|
CourseId: courseId,
|
|
11353
12248
|
CourseIds: courseIds,
|
|
12249
|
+
SellableItemIds: sellableItemIds,
|
|
11354
12250
|
ProgrammeId: programmeId,
|
|
11355
12251
|
ProgrammeIds: programmeIds,
|
|
11356
12252
|
PageNumber: pageNumber,
|
|
@@ -11449,6 +12345,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
11449
12345
|
sessionIds,
|
|
11450
12346
|
courseId,
|
|
11451
12347
|
courseIds,
|
|
12348
|
+
sellableItemIds,
|
|
11452
12349
|
programmeId,
|
|
11453
12350
|
programmeIds,
|
|
11454
12351
|
pageNumber,
|
|
@@ -11475,6 +12372,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
11475
12372
|
SessionIds: sessionIds,
|
|
11476
12373
|
CourseId: courseId,
|
|
11477
12374
|
CourseIds: courseIds,
|
|
12375
|
+
SellableItemIds: sellableItemIds,
|
|
11478
12376
|
ProgrammeId: programmeId,
|
|
11479
12377
|
ProgrammeIds: programmeIds,
|
|
11480
12378
|
PageNumber: pageNumber,
|
|
@@ -11510,6 +12408,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
11510
12408
|
sessionIds,
|
|
11511
12409
|
courseId,
|
|
11512
12410
|
courseIds,
|
|
12411
|
+
sellableItemIds,
|
|
11513
12412
|
programmeId,
|
|
11514
12413
|
programmeIds,
|
|
11515
12414
|
pageNumber,
|
|
@@ -11536,6 +12435,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
11536
12435
|
SessionIds: sessionIds,
|
|
11537
12436
|
CourseId: courseId,
|
|
11538
12437
|
CourseIds: courseIds,
|
|
12438
|
+
SellableItemIds: sellableItemIds,
|
|
11539
12439
|
ProgrammeId: programmeId,
|
|
11540
12440
|
ProgrammeIds: programmeIds,
|
|
11541
12441
|
PageNumber: pageNumber,
|
|
@@ -11571,6 +12471,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
11571
12471
|
sessionIds,
|
|
11572
12472
|
courseId,
|
|
11573
12473
|
courseIds,
|
|
12474
|
+
sellableItemIds,
|
|
11574
12475
|
programmeId,
|
|
11575
12476
|
programmeIds,
|
|
11576
12477
|
pageNumber,
|
|
@@ -11597,6 +12498,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
11597
12498
|
SessionIds: sessionIds,
|
|
11598
12499
|
CourseId: courseId,
|
|
11599
12500
|
CourseIds: courseIds,
|
|
12501
|
+
SellableItemIds: sellableItemIds,
|
|
11600
12502
|
ProgrammeId: programmeId,
|
|
11601
12503
|
ProgrammeIds: programmeIds,
|
|
11602
12504
|
PageNumber: pageNumber,
|
|
@@ -11632,6 +12534,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
11632
12534
|
sessionIds,
|
|
11633
12535
|
courseId,
|
|
11634
12536
|
courseIds,
|
|
12537
|
+
sellableItemIds,
|
|
11635
12538
|
programmeId,
|
|
11636
12539
|
programmeIds,
|
|
11637
12540
|
pageNumber,
|
|
@@ -11658,6 +12561,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
11658
12561
|
SessionIds: sessionIds,
|
|
11659
12562
|
CourseId: courseId,
|
|
11660
12563
|
CourseIds: courseIds,
|
|
12564
|
+
SellableItemIds: sellableItemIds,
|
|
11661
12565
|
ProgrammeId: programmeId,
|
|
11662
12566
|
ProgrammeIds: programmeIds,
|
|
11663
12567
|
PageNumber: pageNumber,
|
|
@@ -12071,13 +12975,33 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12071
12975
|
}
|
|
12072
12976
|
});
|
|
12073
12977
|
}
|
|
12074
|
-
}class
|
|
12978
|
+
}class IntegrationCodelocksSettingsService {
|
|
12075
12979
|
constructor(httpRequest) {
|
|
12076
12980
|
this.httpRequest = httpRequest;
|
|
12077
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
|
+
}
|
|
12078
13002
|
/**
|
|
12079
13003
|
* Inserts a new resource. The Id will be automatically generated and will be ignored if provided.
|
|
12080
|
-
* @returns
|
|
13004
|
+
* @returns IntegrationCodelocksSettings OK
|
|
12081
13005
|
* @throws ApiError
|
|
12082
13006
|
*/
|
|
12083
13007
|
post({
|
|
@@ -12085,7 +13009,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12085
13009
|
}) {
|
|
12086
13010
|
return this.httpRequest.request({
|
|
12087
13011
|
method: "POST",
|
|
12088
|
-
url: "/api/integration-
|
|
13012
|
+
url: "/api/integration-codelocks/v2-temporary-route",
|
|
12089
13013
|
body: requestBody,
|
|
12090
13014
|
mediaType: "application/json",
|
|
12091
13015
|
errors: {
|
|
@@ -12097,7 +13021,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12097
13021
|
}
|
|
12098
13022
|
/**
|
|
12099
13023
|
* Patches the resource.
|
|
12100
|
-
* @returns
|
|
13024
|
+
* @returns IntegrationCodelocksSettings OK
|
|
12101
13025
|
* @throws ApiError
|
|
12102
13026
|
*/
|
|
12103
13027
|
patch({
|
|
@@ -12105,7 +13029,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12105
13029
|
}) {
|
|
12106
13030
|
return this.httpRequest.request({
|
|
12107
13031
|
method: "PATCH",
|
|
12108
|
-
url: "/api/integration-
|
|
13032
|
+
url: "/api/integration-codelocks/v2-temporary-route",
|
|
12109
13033
|
body: requestBody,
|
|
12110
13034
|
mediaType: "application/json",
|
|
12111
13035
|
errors: {
|
|
@@ -12117,7 +13041,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12117
13041
|
}
|
|
12118
13042
|
/**
|
|
12119
13043
|
* Inserts a list of resources.
|
|
12120
|
-
* @returns
|
|
13044
|
+
* @returns IntegrationCodelocksSettings OK
|
|
12121
13045
|
* @throws ApiError
|
|
12122
13046
|
*/
|
|
12123
13047
|
postList({
|
|
@@ -12125,7 +13049,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12125
13049
|
}) {
|
|
12126
13050
|
return this.httpRequest.request({
|
|
12127
13051
|
method: "POST",
|
|
12128
|
-
url: "/api/integration-
|
|
13052
|
+
url: "/api/integration-codelocks/v2-temporary-route/list",
|
|
12129
13053
|
body: requestBody,
|
|
12130
13054
|
mediaType: "application/json",
|
|
12131
13055
|
errors: {
|
|
@@ -12137,7 +13061,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12137
13061
|
}
|
|
12138
13062
|
/**
|
|
12139
13063
|
* Patches the resource.
|
|
12140
|
-
* @returns
|
|
13064
|
+
* @returns IntegrationCodelocksSettings OK
|
|
12141
13065
|
* @throws ApiError
|
|
12142
13066
|
*/
|
|
12143
13067
|
patchWithReferences({
|
|
@@ -12145,7 +13069,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12145
13069
|
}) {
|
|
12146
13070
|
return this.httpRequest.request({
|
|
12147
13071
|
method: "PATCH",
|
|
12148
|
-
url: "/api/integration-
|
|
13072
|
+
url: "/api/integration-codelocks/v2-temporary-route/with-references",
|
|
12149
13073
|
body: requestBody,
|
|
12150
13074
|
mediaType: "application/json",
|
|
12151
13075
|
errors: {
|
|
@@ -12165,7 +13089,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12165
13089
|
}) {
|
|
12166
13090
|
return this.httpRequest.request({
|
|
12167
13091
|
method: "DELETE",
|
|
12168
|
-
url: "/api/integration-
|
|
13092
|
+
url: "/api/integration-codelocks",
|
|
12169
13093
|
body: requestBody,
|
|
12170
13094
|
mediaType: "application/json",
|
|
12171
13095
|
errors: {
|
|
@@ -12177,7 +13101,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12177
13101
|
}
|
|
12178
13102
|
/**
|
|
12179
13103
|
* Gets a list of resources.
|
|
12180
|
-
* @returns
|
|
13104
|
+
* @returns IntegrationCodelocksSettingsPage OK
|
|
12181
13105
|
* @throws ApiError
|
|
12182
13106
|
*/
|
|
12183
13107
|
getPage({
|
|
@@ -12195,7 +13119,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12195
13119
|
}) {
|
|
12196
13120
|
return this.httpRequest.request({
|
|
12197
13121
|
method: "GET",
|
|
12198
|
-
url: "/api/integration-
|
|
13122
|
+
url: "/api/integration-codelocks",
|
|
12199
13123
|
query: {
|
|
12200
13124
|
PageNumber: pageNumber,
|
|
12201
13125
|
Take: take,
|
|
@@ -12226,7 +13150,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12226
13150
|
}) {
|
|
12227
13151
|
return this.httpRequest.request({
|
|
12228
13152
|
method: "DELETE",
|
|
12229
|
-
url: "/api/integration-
|
|
13153
|
+
url: "/api/integration-codelocks/{id}",
|
|
12230
13154
|
path: {
|
|
12231
13155
|
id
|
|
12232
13156
|
},
|
|
@@ -12239,7 +13163,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12239
13163
|
}
|
|
12240
13164
|
/**
|
|
12241
13165
|
* Gets the resource by its Id.
|
|
12242
|
-
* @returns
|
|
13166
|
+
* @returns IntegrationCodelocksSettings OK
|
|
12243
13167
|
* @throws ApiError
|
|
12244
13168
|
*/
|
|
12245
13169
|
getObject({
|
|
@@ -12247,7 +13171,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12247
13171
|
}) {
|
|
12248
13172
|
return this.httpRequest.request({
|
|
12249
13173
|
method: "GET",
|
|
12250
|
-
url: "/api/integration-
|
|
13174
|
+
url: "/api/integration-codelocks/{id}",
|
|
12251
13175
|
path: {
|
|
12252
13176
|
id
|
|
12253
13177
|
},
|
|
@@ -12268,7 +13192,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12268
13192
|
}) {
|
|
12269
13193
|
return this.httpRequest.request({
|
|
12270
13194
|
method: "GET",
|
|
12271
|
-
url: "/api/integration-
|
|
13195
|
+
url: "/api/integration-codelocks/{id}/deletable",
|
|
12272
13196
|
path: {
|
|
12273
13197
|
id
|
|
12274
13198
|
},
|
|
@@ -12299,7 +13223,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12299
13223
|
}) {
|
|
12300
13224
|
return this.httpRequest.request({
|
|
12301
13225
|
method: "GET",
|
|
12302
|
-
url: "/api/integration-
|
|
13226
|
+
url: "/api/integration-codelocks/exists",
|
|
12303
13227
|
query: {
|
|
12304
13228
|
PageNumber: pageNumber,
|
|
12305
13229
|
Take: take,
|
|
@@ -12340,7 +13264,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12340
13264
|
}) {
|
|
12341
13265
|
return this.httpRequest.request({
|
|
12342
13266
|
method: "GET",
|
|
12343
|
-
url: "/api/integration-
|
|
13267
|
+
url: "/api/integration-codelocks/count",
|
|
12344
13268
|
query: {
|
|
12345
13269
|
PageNumber: pageNumber,
|
|
12346
13270
|
Take: take,
|
|
@@ -12363,7 +13287,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12363
13287
|
}
|
|
12364
13288
|
/**
|
|
12365
13289
|
* Gets a list of resources unpaged and without references.
|
|
12366
|
-
* @returns
|
|
13290
|
+
* @returns IntegrationCodelocksSettings OK
|
|
12367
13291
|
* @throws ApiError
|
|
12368
13292
|
*/
|
|
12369
13293
|
getListWithoutReferences({
|
|
@@ -12381,7 +13305,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12381
13305
|
}) {
|
|
12382
13306
|
return this.httpRequest.request({
|
|
12383
13307
|
method: "GET",
|
|
12384
|
-
url: "/api/integration-
|
|
13308
|
+
url: "/api/integration-codelocks/without-references",
|
|
12385
13309
|
query: {
|
|
12386
13310
|
PageNumber: pageNumber,
|
|
12387
13311
|
Take: take,
|
|
@@ -12404,7 +13328,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12404
13328
|
}
|
|
12405
13329
|
/**
|
|
12406
13330
|
* Gets a list of resources.
|
|
12407
|
-
* @returns
|
|
13331
|
+
* @returns IntegrationCodelocksSettings OK
|
|
12408
13332
|
* @throws ApiError
|
|
12409
13333
|
*/
|
|
12410
13334
|
getListIdName({
|
|
@@ -12422,7 +13346,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12422
13346
|
}) {
|
|
12423
13347
|
return this.httpRequest.request({
|
|
12424
13348
|
method: "GET",
|
|
12425
|
-
url: "/api/integration-
|
|
13349
|
+
url: "/api/integration-codelocks/id-name",
|
|
12426
13350
|
query: {
|
|
12427
13351
|
PageNumber: pageNumber,
|
|
12428
13352
|
Take: take,
|
|
@@ -12443,13 +13367,13 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12443
13367
|
}
|
|
12444
13368
|
});
|
|
12445
13369
|
}
|
|
12446
|
-
}class
|
|
13370
|
+
}class IntegrationDotdigitalFieldMapService {
|
|
12447
13371
|
constructor(httpRequest) {
|
|
12448
13372
|
this.httpRequest = httpRequest;
|
|
12449
13373
|
}
|
|
12450
13374
|
/**
|
|
12451
13375
|
* Inserts a new resource. The Id will be automatically generated and will be ignored if provided.
|
|
12452
|
-
* @returns
|
|
13376
|
+
* @returns IntegrationDotdigitalFieldMap OK
|
|
12453
13377
|
* @throws ApiError
|
|
12454
13378
|
*/
|
|
12455
13379
|
post({
|
|
@@ -12457,7 +13381,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12457
13381
|
}) {
|
|
12458
13382
|
return this.httpRequest.request({
|
|
12459
13383
|
method: "POST",
|
|
12460
|
-
url: "/api/integration-dotdigital-
|
|
13384
|
+
url: "/api/integration-dotdigital-field-map/v2-temporary-route",
|
|
12461
13385
|
body: requestBody,
|
|
12462
13386
|
mediaType: "application/json",
|
|
12463
13387
|
errors: {
|
|
@@ -12469,7 +13393,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12469
13393
|
}
|
|
12470
13394
|
/**
|
|
12471
13395
|
* Patches the resource.
|
|
12472
|
-
* @returns
|
|
13396
|
+
* @returns IntegrationDotdigitalFieldMap OK
|
|
12473
13397
|
* @throws ApiError
|
|
12474
13398
|
*/
|
|
12475
13399
|
patch({
|
|
@@ -12477,7 +13401,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12477
13401
|
}) {
|
|
12478
13402
|
return this.httpRequest.request({
|
|
12479
13403
|
method: "PATCH",
|
|
12480
|
-
url: "/api/integration-dotdigital-
|
|
13404
|
+
url: "/api/integration-dotdigital-field-map/v2-temporary-route",
|
|
12481
13405
|
body: requestBody,
|
|
12482
13406
|
mediaType: "application/json",
|
|
12483
13407
|
errors: {
|
|
@@ -12489,7 +13413,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12489
13413
|
}
|
|
12490
13414
|
/**
|
|
12491
13415
|
* Inserts a list of resources.
|
|
12492
|
-
* @returns
|
|
13416
|
+
* @returns IntegrationDotdigitalFieldMap OK
|
|
12493
13417
|
* @throws ApiError
|
|
12494
13418
|
*/
|
|
12495
13419
|
postList({
|
|
@@ -12497,7 +13421,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12497
13421
|
}) {
|
|
12498
13422
|
return this.httpRequest.request({
|
|
12499
13423
|
method: "POST",
|
|
12500
|
-
url: "/api/integration-dotdigital-
|
|
13424
|
+
url: "/api/integration-dotdigital-field-map/v2-temporary-route/list",
|
|
12501
13425
|
body: requestBody,
|
|
12502
13426
|
mediaType: "application/json",
|
|
12503
13427
|
errors: {
|
|
@@ -12509,7 +13433,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12509
13433
|
}
|
|
12510
13434
|
/**
|
|
12511
13435
|
* Patches the resource.
|
|
12512
|
-
* @returns
|
|
13436
|
+
* @returns IntegrationDotdigitalFieldMap OK
|
|
12513
13437
|
* @throws ApiError
|
|
12514
13438
|
*/
|
|
12515
13439
|
patchWithReferences({
|
|
@@ -12517,7 +13441,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12517
13441
|
}) {
|
|
12518
13442
|
return this.httpRequest.request({
|
|
12519
13443
|
method: "PATCH",
|
|
12520
|
-
url: "/api/integration-dotdigital-
|
|
13444
|
+
url: "/api/integration-dotdigital-field-map/v2-temporary-route/with-references",
|
|
12521
13445
|
body: requestBody,
|
|
12522
13446
|
mediaType: "application/json",
|
|
12523
13447
|
errors: {
|
|
@@ -12537,7 +13461,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12537
13461
|
}) {
|
|
12538
13462
|
return this.httpRequest.request({
|
|
12539
13463
|
method: "DELETE",
|
|
12540
|
-
url: "/api/integration-dotdigital-
|
|
13464
|
+
url: "/api/integration-dotdigital-field-map",
|
|
12541
13465
|
body: requestBody,
|
|
12542
13466
|
mediaType: "application/json",
|
|
12543
13467
|
errors: {
|
|
@@ -12549,7 +13473,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12549
13473
|
}
|
|
12550
13474
|
/**
|
|
12551
13475
|
* Gets a list of resources.
|
|
12552
|
-
* @returns
|
|
13476
|
+
* @returns IntegrationDotdigitalFieldMapPage OK
|
|
12553
13477
|
* @throws ApiError
|
|
12554
13478
|
*/
|
|
12555
13479
|
getPage({
|
|
@@ -12567,7 +13491,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12567
13491
|
}) {
|
|
12568
13492
|
return this.httpRequest.request({
|
|
12569
13493
|
method: "GET",
|
|
12570
|
-
url: "/api/integration-dotdigital-
|
|
13494
|
+
url: "/api/integration-dotdigital-field-map",
|
|
12571
13495
|
query: {
|
|
12572
13496
|
PageNumber: pageNumber,
|
|
12573
13497
|
Take: take,
|
|
@@ -12598,7 +13522,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12598
13522
|
}) {
|
|
12599
13523
|
return this.httpRequest.request({
|
|
12600
13524
|
method: "DELETE",
|
|
12601
|
-
url: "/api/integration-dotdigital-
|
|
13525
|
+
url: "/api/integration-dotdigital-field-map/{id}",
|
|
12602
13526
|
path: {
|
|
12603
13527
|
id
|
|
12604
13528
|
},
|
|
@@ -12611,7 +13535,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12611
13535
|
}
|
|
12612
13536
|
/**
|
|
12613
13537
|
* Gets the resource by its Id.
|
|
12614
|
-
* @returns
|
|
13538
|
+
* @returns IntegrationDotdigitalFieldMap OK
|
|
12615
13539
|
* @throws ApiError
|
|
12616
13540
|
*/
|
|
12617
13541
|
getObject({
|
|
@@ -12619,7 +13543,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12619
13543
|
}) {
|
|
12620
13544
|
return this.httpRequest.request({
|
|
12621
13545
|
method: "GET",
|
|
12622
|
-
url: "/api/integration-dotdigital-
|
|
13546
|
+
url: "/api/integration-dotdigital-field-map/{id}",
|
|
12623
13547
|
path: {
|
|
12624
13548
|
id
|
|
12625
13549
|
},
|
|
@@ -12640,7 +13564,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12640
13564
|
}) {
|
|
12641
13565
|
return this.httpRequest.request({
|
|
12642
13566
|
method: "GET",
|
|
12643
|
-
url: "/api/integration-dotdigital-
|
|
13567
|
+
url: "/api/integration-dotdigital-field-map/{id}/deletable",
|
|
12644
13568
|
path: {
|
|
12645
13569
|
id
|
|
12646
13570
|
},
|
|
@@ -12671,7 +13595,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12671
13595
|
}) {
|
|
12672
13596
|
return this.httpRequest.request({
|
|
12673
13597
|
method: "GET",
|
|
12674
|
-
url: "/api/integration-dotdigital-
|
|
13598
|
+
url: "/api/integration-dotdigital-field-map/exists",
|
|
12675
13599
|
query: {
|
|
12676
13600
|
PageNumber: pageNumber,
|
|
12677
13601
|
Take: take,
|
|
@@ -12712,7 +13636,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12712
13636
|
}) {
|
|
12713
13637
|
return this.httpRequest.request({
|
|
12714
13638
|
method: "GET",
|
|
12715
|
-
url: "/api/integration-dotdigital-
|
|
13639
|
+
url: "/api/integration-dotdigital-field-map/count",
|
|
12716
13640
|
query: {
|
|
12717
13641
|
PageNumber: pageNumber,
|
|
12718
13642
|
Take: take,
|
|
@@ -12735,7 +13659,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12735
13659
|
}
|
|
12736
13660
|
/**
|
|
12737
13661
|
* Gets a list of resources unpaged and without references.
|
|
12738
|
-
* @returns
|
|
13662
|
+
* @returns IntegrationDotdigitalFieldMap OK
|
|
12739
13663
|
* @throws ApiError
|
|
12740
13664
|
*/
|
|
12741
13665
|
getListWithoutReferences({
|
|
@@ -12753,7 +13677,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12753
13677
|
}) {
|
|
12754
13678
|
return this.httpRequest.request({
|
|
12755
13679
|
method: "GET",
|
|
12756
|
-
url: "/api/integration-dotdigital-
|
|
13680
|
+
url: "/api/integration-dotdigital-field-map/without-references",
|
|
12757
13681
|
query: {
|
|
12758
13682
|
PageNumber: pageNumber,
|
|
12759
13683
|
Take: take,
|
|
@@ -12776,7 +13700,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12776
13700
|
}
|
|
12777
13701
|
/**
|
|
12778
13702
|
* Gets a list of resources.
|
|
12779
|
-
* @returns
|
|
13703
|
+
* @returns IntegrationDotdigitalFieldMap OK
|
|
12780
13704
|
* @throws ApiError
|
|
12781
13705
|
*/
|
|
12782
13706
|
getListIdName({
|
|
@@ -12794,7 +13718,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12794
13718
|
}) {
|
|
12795
13719
|
return this.httpRequest.request({
|
|
12796
13720
|
method: "GET",
|
|
12797
|
-
url: "/api/integration-dotdigital-
|
|
13721
|
+
url: "/api/integration-dotdigital-field-map/id-name",
|
|
12798
13722
|
query: {
|
|
12799
13723
|
PageNumber: pageNumber,
|
|
12800
13724
|
Take: take,
|
|
@@ -12815,22 +13739,21 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12815
13739
|
}
|
|
12816
13740
|
});
|
|
12817
13741
|
}
|
|
12818
|
-
}class
|
|
13742
|
+
}class IntegrationDotdigitalLogService {
|
|
12819
13743
|
constructor(httpRequest) {
|
|
12820
13744
|
this.httpRequest = httpRequest;
|
|
12821
13745
|
}
|
|
12822
13746
|
/**
|
|
12823
|
-
*
|
|
12824
|
-
*
|
|
12825
|
-
* @returns IntegrationDotdigitalSettings OK
|
|
13747
|
+
* Inserts a new resource. The Id will be automatically generated and will be ignored if provided.
|
|
13748
|
+
* @returns IntegrationDotdigitalLog OK
|
|
12826
13749
|
* @throws ApiError
|
|
12827
13750
|
*/
|
|
12828
|
-
|
|
13751
|
+
post({
|
|
12829
13752
|
requestBody
|
|
12830
13753
|
}) {
|
|
12831
13754
|
return this.httpRequest.request({
|
|
12832
13755
|
method: "POST",
|
|
12833
|
-
url: "/api/integration-dotdigital/
|
|
13756
|
+
url: "/api/integration-dotdigital-log/v2-temporary-route",
|
|
12834
13757
|
body: requestBody,
|
|
12835
13758
|
mediaType: "application/json",
|
|
12836
13759
|
errors: {
|
|
@@ -12841,14 +13764,18 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12841
13764
|
});
|
|
12842
13765
|
}
|
|
12843
13766
|
/**
|
|
12844
|
-
*
|
|
12845
|
-
* @returns
|
|
13767
|
+
* Patches the resource.
|
|
13768
|
+
* @returns IntegrationDotdigitalLog OK
|
|
12846
13769
|
* @throws ApiError
|
|
12847
13770
|
*/
|
|
12848
|
-
|
|
13771
|
+
patch({
|
|
13772
|
+
requestBody
|
|
13773
|
+
}) {
|
|
12849
13774
|
return this.httpRequest.request({
|
|
12850
|
-
method: "
|
|
12851
|
-
url: "/api/integration-dotdigital/
|
|
13775
|
+
method: "PATCH",
|
|
13776
|
+
url: "/api/integration-dotdigital-log/v2-temporary-route",
|
|
13777
|
+
body: requestBody,
|
|
13778
|
+
mediaType: "application/json",
|
|
12852
13779
|
errors: {
|
|
12853
13780
|
400: `Bad Request`,
|
|
12854
13781
|
422: `Unprocessable Content`,
|
|
@@ -12857,16 +13784,16 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12857
13784
|
});
|
|
12858
13785
|
}
|
|
12859
13786
|
/**
|
|
12860
|
-
* Inserts a
|
|
12861
|
-
* @returns
|
|
13787
|
+
* Inserts a list of resources.
|
|
13788
|
+
* @returns IntegrationDotdigitalLog OK
|
|
12862
13789
|
* @throws ApiError
|
|
12863
13790
|
*/
|
|
12864
|
-
|
|
13791
|
+
postList({
|
|
12865
13792
|
requestBody
|
|
12866
13793
|
}) {
|
|
12867
13794
|
return this.httpRequest.request({
|
|
12868
13795
|
method: "POST",
|
|
12869
|
-
url: "/api/integration-dotdigital/v2-temporary-route",
|
|
13796
|
+
url: "/api/integration-dotdigital-log/v2-temporary-route/list",
|
|
12870
13797
|
body: requestBody,
|
|
12871
13798
|
mediaType: "application/json",
|
|
12872
13799
|
errors: {
|
|
@@ -12878,15 +13805,15 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12878
13805
|
}
|
|
12879
13806
|
/**
|
|
12880
13807
|
* Patches the resource.
|
|
12881
|
-
* @returns
|
|
13808
|
+
* @returns IntegrationDotdigitalLog OK
|
|
12882
13809
|
* @throws ApiError
|
|
12883
13810
|
*/
|
|
12884
|
-
|
|
13811
|
+
patchWithReferences({
|
|
12885
13812
|
requestBody
|
|
12886
13813
|
}) {
|
|
12887
13814
|
return this.httpRequest.request({
|
|
12888
13815
|
method: "PATCH",
|
|
12889
|
-
url: "/api/integration-dotdigital/v2-temporary-route",
|
|
13816
|
+
url: "/api/integration-dotdigital-log/v2-temporary-route/with-references",
|
|
12890
13817
|
body: requestBody,
|
|
12891
13818
|
mediaType: "application/json",
|
|
12892
13819
|
errors: {
|
|
@@ -12897,16 +13824,16 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12897
13824
|
});
|
|
12898
13825
|
}
|
|
12899
13826
|
/**
|
|
12900
|
-
*
|
|
12901
|
-
* @returns
|
|
13827
|
+
* Deletes the resource.
|
|
13828
|
+
* @returns any OK
|
|
12902
13829
|
* @throws ApiError
|
|
12903
13830
|
*/
|
|
12904
|
-
|
|
13831
|
+
deleteByObject({
|
|
12905
13832
|
requestBody
|
|
12906
13833
|
}) {
|
|
12907
13834
|
return this.httpRequest.request({
|
|
12908
|
-
method: "
|
|
12909
|
-
url: "/api/integration-dotdigital
|
|
13835
|
+
method: "DELETE",
|
|
13836
|
+
url: "/api/integration-dotdigital-log",
|
|
12910
13837
|
body: requestBody,
|
|
12911
13838
|
mediaType: "application/json",
|
|
12912
13839
|
errors: {
|
|
@@ -12917,18 +13844,39 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12917
13844
|
});
|
|
12918
13845
|
}
|
|
12919
13846
|
/**
|
|
12920
|
-
*
|
|
12921
|
-
* @returns
|
|
13847
|
+
* Gets a list of resources.
|
|
13848
|
+
* @returns IntegrationDotdigitalLogPage OK
|
|
12922
13849
|
* @throws ApiError
|
|
12923
13850
|
*/
|
|
12924
|
-
|
|
12925
|
-
|
|
13851
|
+
getPage({
|
|
13852
|
+
pageNumber,
|
|
13853
|
+
take,
|
|
13854
|
+
skip,
|
|
13855
|
+
limitListRequests,
|
|
13856
|
+
tenantId,
|
|
13857
|
+
modifiedById,
|
|
13858
|
+
modifiedByIds,
|
|
13859
|
+
dateCreatedGte,
|
|
13860
|
+
dateCreatedLte,
|
|
13861
|
+
isLive,
|
|
13862
|
+
sortOrderDirection
|
|
12926
13863
|
}) {
|
|
12927
13864
|
return this.httpRequest.request({
|
|
12928
|
-
method: "
|
|
12929
|
-
url: "/api/integration-dotdigital
|
|
12930
|
-
|
|
12931
|
-
|
|
13865
|
+
method: "GET",
|
|
13866
|
+
url: "/api/integration-dotdigital-log",
|
|
13867
|
+
query: {
|
|
13868
|
+
PageNumber: pageNumber,
|
|
13869
|
+
Take: take,
|
|
13870
|
+
Skip: skip,
|
|
13871
|
+
LimitListRequests: limitListRequests,
|
|
13872
|
+
TenantId: tenantId,
|
|
13873
|
+
ModifiedById: modifiedById,
|
|
13874
|
+
ModifiedByIds: modifiedByIds,
|
|
13875
|
+
DateCreatedGTE: dateCreatedGte,
|
|
13876
|
+
DateCreatedLTE: dateCreatedLte,
|
|
13877
|
+
IsLive: isLive,
|
|
13878
|
+
SortOrderDirection: sortOrderDirection
|
|
13879
|
+
},
|
|
12932
13880
|
errors: {
|
|
12933
13881
|
400: `Bad Request`,
|
|
12934
13882
|
422: `Unprocessable Content`,
|
|
@@ -12941,14 +13889,15 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12941
13889
|
* @returns any OK
|
|
12942
13890
|
* @throws ApiError
|
|
12943
13891
|
*/
|
|
12944
|
-
|
|
12945
|
-
|
|
13892
|
+
deleteById({
|
|
13893
|
+
id
|
|
12946
13894
|
}) {
|
|
12947
13895
|
return this.httpRequest.request({
|
|
12948
13896
|
method: "DELETE",
|
|
12949
|
-
url: "/api/integration-dotdigital",
|
|
12950
|
-
|
|
12951
|
-
|
|
13897
|
+
url: "/api/integration-dotdigital-log/{id}",
|
|
13898
|
+
path: {
|
|
13899
|
+
id
|
|
13900
|
+
},
|
|
12952
13901
|
errors: {
|
|
12953
13902
|
400: `Bad Request`,
|
|
12954
13903
|
422: `Unprocessable Content`,
|
|
@@ -12957,11 +13906,53 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12957
13906
|
});
|
|
12958
13907
|
}
|
|
12959
13908
|
/**
|
|
12960
|
-
* Gets
|
|
12961
|
-
* @returns
|
|
13909
|
+
* Gets the resource by its Id.
|
|
13910
|
+
* @returns IntegrationDotdigitalLog OK
|
|
12962
13911
|
* @throws ApiError
|
|
12963
13912
|
*/
|
|
12964
|
-
|
|
13913
|
+
getObject({
|
|
13914
|
+
id
|
|
13915
|
+
}) {
|
|
13916
|
+
return this.httpRequest.request({
|
|
13917
|
+
method: "GET",
|
|
13918
|
+
url: "/api/integration-dotdigital-log/{id}",
|
|
13919
|
+
path: {
|
|
13920
|
+
id
|
|
13921
|
+
},
|
|
13922
|
+
errors: {
|
|
13923
|
+
400: `Bad Request`,
|
|
13924
|
+
422: `Unprocessable Content`,
|
|
13925
|
+
500: `Internal Server Error`
|
|
13926
|
+
}
|
|
13927
|
+
});
|
|
13928
|
+
}
|
|
13929
|
+
/**
|
|
13930
|
+
* Returns a value indicating whether the resource is deletable.
|
|
13931
|
+
* @returns boolean OK
|
|
13932
|
+
* @throws ApiError
|
|
13933
|
+
*/
|
|
13934
|
+
canDelete({
|
|
13935
|
+
id
|
|
13936
|
+
}) {
|
|
13937
|
+
return this.httpRequest.request({
|
|
13938
|
+
method: "GET",
|
|
13939
|
+
url: "/api/integration-dotdigital-log/{id}/deletable",
|
|
13940
|
+
path: {
|
|
13941
|
+
id
|
|
13942
|
+
},
|
|
13943
|
+
errors: {
|
|
13944
|
+
400: `Bad Request`,
|
|
13945
|
+
422: `Unprocessable Content`,
|
|
13946
|
+
500: `Internal Server Error`
|
|
13947
|
+
}
|
|
13948
|
+
});
|
|
13949
|
+
}
|
|
13950
|
+
/**
|
|
13951
|
+
* Returns a value indicating whether the resource exists in the database given the provided search params.
|
|
13952
|
+
* @returns boolean OK
|
|
13953
|
+
* @throws ApiError
|
|
13954
|
+
*/
|
|
13955
|
+
exists({
|
|
12965
13956
|
pageNumber,
|
|
12966
13957
|
take,
|
|
12967
13958
|
skip,
|
|
@@ -12976,7 +13967,312 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12976
13967
|
}) {
|
|
12977
13968
|
return this.httpRequest.request({
|
|
12978
13969
|
method: "GET",
|
|
12979
|
-
url: "/api/integration-dotdigital",
|
|
13970
|
+
url: "/api/integration-dotdigital-log/exists",
|
|
13971
|
+
query: {
|
|
13972
|
+
PageNumber: pageNumber,
|
|
13973
|
+
Take: take,
|
|
13974
|
+
Skip: skip,
|
|
13975
|
+
LimitListRequests: limitListRequests,
|
|
13976
|
+
TenantId: tenantId,
|
|
13977
|
+
ModifiedById: modifiedById,
|
|
13978
|
+
ModifiedByIds: modifiedByIds,
|
|
13979
|
+
DateCreatedGTE: dateCreatedGte,
|
|
13980
|
+
DateCreatedLTE: dateCreatedLte,
|
|
13981
|
+
IsLive: isLive,
|
|
13982
|
+
SortOrderDirection: sortOrderDirection
|
|
13983
|
+
},
|
|
13984
|
+
errors: {
|
|
13985
|
+
400: `Bad Request`,
|
|
13986
|
+
422: `Unprocessable Content`,
|
|
13987
|
+
500: `Internal Server Error`
|
|
13988
|
+
}
|
|
13989
|
+
});
|
|
13990
|
+
}
|
|
13991
|
+
/**
|
|
13992
|
+
* Returns the number of results in the database given the provided search params.
|
|
13993
|
+
* @returns number OK
|
|
13994
|
+
* @throws ApiError
|
|
13995
|
+
*/
|
|
13996
|
+
count({
|
|
13997
|
+
pageNumber,
|
|
13998
|
+
take,
|
|
13999
|
+
skip,
|
|
14000
|
+
limitListRequests,
|
|
14001
|
+
tenantId,
|
|
14002
|
+
modifiedById,
|
|
14003
|
+
modifiedByIds,
|
|
14004
|
+
dateCreatedGte,
|
|
14005
|
+
dateCreatedLte,
|
|
14006
|
+
isLive,
|
|
14007
|
+
sortOrderDirection
|
|
14008
|
+
}) {
|
|
14009
|
+
return this.httpRequest.request({
|
|
14010
|
+
method: "GET",
|
|
14011
|
+
url: "/api/integration-dotdigital-log/count",
|
|
14012
|
+
query: {
|
|
14013
|
+
PageNumber: pageNumber,
|
|
14014
|
+
Take: take,
|
|
14015
|
+
Skip: skip,
|
|
14016
|
+
LimitListRequests: limitListRequests,
|
|
14017
|
+
TenantId: tenantId,
|
|
14018
|
+
ModifiedById: modifiedById,
|
|
14019
|
+
ModifiedByIds: modifiedByIds,
|
|
14020
|
+
DateCreatedGTE: dateCreatedGte,
|
|
14021
|
+
DateCreatedLTE: dateCreatedLte,
|
|
14022
|
+
IsLive: isLive,
|
|
14023
|
+
SortOrderDirection: sortOrderDirection
|
|
14024
|
+
},
|
|
14025
|
+
errors: {
|
|
14026
|
+
400: `Bad Request`,
|
|
14027
|
+
422: `Unprocessable Content`,
|
|
14028
|
+
500: `Internal Server Error`
|
|
14029
|
+
}
|
|
14030
|
+
});
|
|
14031
|
+
}
|
|
14032
|
+
/**
|
|
14033
|
+
* Gets a list of resources unpaged and without references.
|
|
14034
|
+
* @returns IntegrationDotdigitalLog OK
|
|
14035
|
+
* @throws ApiError
|
|
14036
|
+
*/
|
|
14037
|
+
getListWithoutReferences({
|
|
14038
|
+
pageNumber,
|
|
14039
|
+
take,
|
|
14040
|
+
skip,
|
|
14041
|
+
limitListRequests,
|
|
14042
|
+
tenantId,
|
|
14043
|
+
modifiedById,
|
|
14044
|
+
modifiedByIds,
|
|
14045
|
+
dateCreatedGte,
|
|
14046
|
+
dateCreatedLte,
|
|
14047
|
+
isLive,
|
|
14048
|
+
sortOrderDirection
|
|
14049
|
+
}) {
|
|
14050
|
+
return this.httpRequest.request({
|
|
14051
|
+
method: "GET",
|
|
14052
|
+
url: "/api/integration-dotdigital-log/without-references",
|
|
14053
|
+
query: {
|
|
14054
|
+
PageNumber: pageNumber,
|
|
14055
|
+
Take: take,
|
|
14056
|
+
Skip: skip,
|
|
14057
|
+
LimitListRequests: limitListRequests,
|
|
14058
|
+
TenantId: tenantId,
|
|
14059
|
+
ModifiedById: modifiedById,
|
|
14060
|
+
ModifiedByIds: modifiedByIds,
|
|
14061
|
+
DateCreatedGTE: dateCreatedGte,
|
|
14062
|
+
DateCreatedLTE: dateCreatedLte,
|
|
14063
|
+
IsLive: isLive,
|
|
14064
|
+
SortOrderDirection: sortOrderDirection
|
|
14065
|
+
},
|
|
14066
|
+
errors: {
|
|
14067
|
+
400: `Bad Request`,
|
|
14068
|
+
422: `Unprocessable Content`,
|
|
14069
|
+
500: `Internal Server Error`
|
|
14070
|
+
}
|
|
14071
|
+
});
|
|
14072
|
+
}
|
|
14073
|
+
/**
|
|
14074
|
+
* Gets a list of resources.
|
|
14075
|
+
* @returns IntegrationDotdigitalLog OK
|
|
14076
|
+
* @throws ApiError
|
|
14077
|
+
*/
|
|
14078
|
+
getListIdName({
|
|
14079
|
+
pageNumber,
|
|
14080
|
+
take,
|
|
14081
|
+
skip,
|
|
14082
|
+
limitListRequests,
|
|
14083
|
+
tenantId,
|
|
14084
|
+
modifiedById,
|
|
14085
|
+
modifiedByIds,
|
|
14086
|
+
dateCreatedGte,
|
|
14087
|
+
dateCreatedLte,
|
|
14088
|
+
isLive,
|
|
14089
|
+
sortOrderDirection
|
|
14090
|
+
}) {
|
|
14091
|
+
return this.httpRequest.request({
|
|
14092
|
+
method: "GET",
|
|
14093
|
+
url: "/api/integration-dotdigital-log/id-name",
|
|
14094
|
+
query: {
|
|
14095
|
+
PageNumber: pageNumber,
|
|
14096
|
+
Take: take,
|
|
14097
|
+
Skip: skip,
|
|
14098
|
+
LimitListRequests: limitListRequests,
|
|
14099
|
+
TenantId: tenantId,
|
|
14100
|
+
ModifiedById: modifiedById,
|
|
14101
|
+
ModifiedByIds: modifiedByIds,
|
|
14102
|
+
DateCreatedGTE: dateCreatedGte,
|
|
14103
|
+
DateCreatedLTE: dateCreatedLte,
|
|
14104
|
+
IsLive: isLive,
|
|
14105
|
+
SortOrderDirection: sortOrderDirection
|
|
14106
|
+
},
|
|
14107
|
+
errors: {
|
|
14108
|
+
400: `Bad Request`,
|
|
14109
|
+
422: `Unprocessable Content`,
|
|
14110
|
+
500: `Internal Server Error`
|
|
14111
|
+
}
|
|
14112
|
+
});
|
|
14113
|
+
}
|
|
14114
|
+
}class IntegrationDotDigitalSettingsService {
|
|
14115
|
+
constructor(httpRequest) {
|
|
14116
|
+
this.httpRequest = httpRequest;
|
|
14117
|
+
}
|
|
14118
|
+
/**
|
|
14119
|
+
* Creates or updates Dotdigital integration settings for the tenant.
|
|
14120
|
+
* If settings do not exist, creates them; otherwise updates the existing settings.
|
|
14121
|
+
* @returns IntegrationDotdigitalSettings OK
|
|
14122
|
+
* @throws ApiError
|
|
14123
|
+
*/
|
|
14124
|
+
upsert({
|
|
14125
|
+
requestBody
|
|
14126
|
+
}) {
|
|
14127
|
+
return this.httpRequest.request({
|
|
14128
|
+
method: "POST",
|
|
14129
|
+
url: "/api/integration-dotdigital/upsert",
|
|
14130
|
+
body: requestBody,
|
|
14131
|
+
mediaType: "application/json",
|
|
14132
|
+
errors: {
|
|
14133
|
+
400: `Bad Request`,
|
|
14134
|
+
422: `Unprocessable Content`,
|
|
14135
|
+
500: `Internal Server Error`
|
|
14136
|
+
}
|
|
14137
|
+
});
|
|
14138
|
+
}
|
|
14139
|
+
/**
|
|
14140
|
+
* Gets the tenant's address books from Dotdigital using stored settings.
|
|
14141
|
+
* @returns AddressBookItem OK
|
|
14142
|
+
* @throws ApiError
|
|
14143
|
+
*/
|
|
14144
|
+
getAddressBooks() {
|
|
14145
|
+
return this.httpRequest.request({
|
|
14146
|
+
method: "GET",
|
|
14147
|
+
url: "/api/integration-dotdigital/address-books",
|
|
14148
|
+
errors: {
|
|
14149
|
+
400: `Bad Request`,
|
|
14150
|
+
422: `Unprocessable Content`,
|
|
14151
|
+
500: `Internal Server Error`
|
|
14152
|
+
}
|
|
14153
|
+
});
|
|
14154
|
+
}
|
|
14155
|
+
/**
|
|
14156
|
+
* Inserts a new resource. The Id will be automatically generated and will be ignored if provided.
|
|
14157
|
+
* @returns IntegrationDotdigitalSettings OK
|
|
14158
|
+
* @throws ApiError
|
|
14159
|
+
*/
|
|
14160
|
+
post({
|
|
14161
|
+
requestBody
|
|
14162
|
+
}) {
|
|
14163
|
+
return this.httpRequest.request({
|
|
14164
|
+
method: "POST",
|
|
14165
|
+
url: "/api/integration-dotdigital/v2-temporary-route",
|
|
14166
|
+
body: requestBody,
|
|
14167
|
+
mediaType: "application/json",
|
|
14168
|
+
errors: {
|
|
14169
|
+
400: `Bad Request`,
|
|
14170
|
+
422: `Unprocessable Content`,
|
|
14171
|
+
500: `Internal Server Error`
|
|
14172
|
+
}
|
|
14173
|
+
});
|
|
14174
|
+
}
|
|
14175
|
+
/**
|
|
14176
|
+
* Patches the resource.
|
|
14177
|
+
* @returns IntegrationDotdigitalSettings OK
|
|
14178
|
+
* @throws ApiError
|
|
14179
|
+
*/
|
|
14180
|
+
patch({
|
|
14181
|
+
requestBody
|
|
14182
|
+
}) {
|
|
14183
|
+
return this.httpRequest.request({
|
|
14184
|
+
method: "PATCH",
|
|
14185
|
+
url: "/api/integration-dotdigital/v2-temporary-route",
|
|
14186
|
+
body: requestBody,
|
|
14187
|
+
mediaType: "application/json",
|
|
14188
|
+
errors: {
|
|
14189
|
+
400: `Bad Request`,
|
|
14190
|
+
422: `Unprocessable Content`,
|
|
14191
|
+
500: `Internal Server Error`
|
|
14192
|
+
}
|
|
14193
|
+
});
|
|
14194
|
+
}
|
|
14195
|
+
/**
|
|
14196
|
+
* Inserts a list of resources.
|
|
14197
|
+
* @returns IntegrationDotdigitalSettings OK
|
|
14198
|
+
* @throws ApiError
|
|
14199
|
+
*/
|
|
14200
|
+
postList({
|
|
14201
|
+
requestBody
|
|
14202
|
+
}) {
|
|
14203
|
+
return this.httpRequest.request({
|
|
14204
|
+
method: "POST",
|
|
14205
|
+
url: "/api/integration-dotdigital/v2-temporary-route/list",
|
|
14206
|
+
body: requestBody,
|
|
14207
|
+
mediaType: "application/json",
|
|
14208
|
+
errors: {
|
|
14209
|
+
400: `Bad Request`,
|
|
14210
|
+
422: `Unprocessable Content`,
|
|
14211
|
+
500: `Internal Server Error`
|
|
14212
|
+
}
|
|
14213
|
+
});
|
|
14214
|
+
}
|
|
14215
|
+
/**
|
|
14216
|
+
* Patches the resource.
|
|
14217
|
+
* @returns IntegrationDotdigitalSettings OK
|
|
14218
|
+
* @throws ApiError
|
|
14219
|
+
*/
|
|
14220
|
+
patchWithReferences({
|
|
14221
|
+
requestBody
|
|
14222
|
+
}) {
|
|
14223
|
+
return this.httpRequest.request({
|
|
14224
|
+
method: "PATCH",
|
|
14225
|
+
url: "/api/integration-dotdigital/v2-temporary-route/with-references",
|
|
14226
|
+
body: requestBody,
|
|
14227
|
+
mediaType: "application/json",
|
|
14228
|
+
errors: {
|
|
14229
|
+
400: `Bad Request`,
|
|
14230
|
+
422: `Unprocessable Content`,
|
|
14231
|
+
500: `Internal Server Error`
|
|
14232
|
+
}
|
|
14233
|
+
});
|
|
14234
|
+
}
|
|
14235
|
+
/**
|
|
14236
|
+
* Deletes the resource.
|
|
14237
|
+
* @returns any OK
|
|
14238
|
+
* @throws ApiError
|
|
14239
|
+
*/
|
|
14240
|
+
deleteByObject({
|
|
14241
|
+
requestBody
|
|
14242
|
+
}) {
|
|
14243
|
+
return this.httpRequest.request({
|
|
14244
|
+
method: "DELETE",
|
|
14245
|
+
url: "/api/integration-dotdigital",
|
|
14246
|
+
body: requestBody,
|
|
14247
|
+
mediaType: "application/json",
|
|
14248
|
+
errors: {
|
|
14249
|
+
400: `Bad Request`,
|
|
14250
|
+
422: `Unprocessable Content`,
|
|
14251
|
+
500: `Internal Server Error`
|
|
14252
|
+
}
|
|
14253
|
+
});
|
|
14254
|
+
}
|
|
14255
|
+
/**
|
|
14256
|
+
* Gets a list of resources.
|
|
14257
|
+
* @returns IntegrationDotdigitalSettingsPage OK
|
|
14258
|
+
* @throws ApiError
|
|
14259
|
+
*/
|
|
14260
|
+
getPage({
|
|
14261
|
+
pageNumber,
|
|
14262
|
+
take,
|
|
14263
|
+
skip,
|
|
14264
|
+
limitListRequests,
|
|
14265
|
+
tenantId,
|
|
14266
|
+
modifiedById,
|
|
14267
|
+
modifiedByIds,
|
|
14268
|
+
dateCreatedGte,
|
|
14269
|
+
dateCreatedLte,
|
|
14270
|
+
isLive,
|
|
14271
|
+
sortOrderDirection
|
|
14272
|
+
}) {
|
|
14273
|
+
return this.httpRequest.request({
|
|
14274
|
+
method: "GET",
|
|
14275
|
+
url: "/api/integration-dotdigital",
|
|
12980
14276
|
query: {
|
|
12981
14277
|
PageNumber: pageNumber,
|
|
12982
14278
|
Take: take,
|
|
@@ -13352,6 +14648,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
13352
14648
|
getPage({
|
|
13353
14649
|
processed,
|
|
13354
14650
|
errored,
|
|
14651
|
+
processAfterUtcLte,
|
|
13355
14652
|
pageNumber,
|
|
13356
14653
|
take,
|
|
13357
14654
|
skip,
|
|
@@ -13370,6 +14667,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
13370
14667
|
query: {
|
|
13371
14668
|
Processed: processed,
|
|
13372
14669
|
Errored: errored,
|
|
14670
|
+
ProcessAfterUtcLTE: processAfterUtcLte,
|
|
13373
14671
|
PageNumber: pageNumber,
|
|
13374
14672
|
Take: take,
|
|
13375
14673
|
Skip: skip,
|
|
@@ -13460,6 +14758,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
13460
14758
|
exists({
|
|
13461
14759
|
processed,
|
|
13462
14760
|
errored,
|
|
14761
|
+
processAfterUtcLte,
|
|
13463
14762
|
pageNumber,
|
|
13464
14763
|
take,
|
|
13465
14764
|
skip,
|
|
@@ -13478,6 +14777,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
13478
14777
|
query: {
|
|
13479
14778
|
Processed: processed,
|
|
13480
14779
|
Errored: errored,
|
|
14780
|
+
ProcessAfterUtcLTE: processAfterUtcLte,
|
|
13481
14781
|
PageNumber: pageNumber,
|
|
13482
14782
|
Take: take,
|
|
13483
14783
|
Skip: skip,
|
|
@@ -13505,6 +14805,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
13505
14805
|
count({
|
|
13506
14806
|
processed,
|
|
13507
14807
|
errored,
|
|
14808
|
+
processAfterUtcLte,
|
|
13508
14809
|
pageNumber,
|
|
13509
14810
|
take,
|
|
13510
14811
|
skip,
|
|
@@ -13523,6 +14824,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
13523
14824
|
query: {
|
|
13524
14825
|
Processed: processed,
|
|
13525
14826
|
Errored: errored,
|
|
14827
|
+
ProcessAfterUtcLTE: processAfterUtcLte,
|
|
13526
14828
|
PageNumber: pageNumber,
|
|
13527
14829
|
Take: take,
|
|
13528
14830
|
Skip: skip,
|
|
@@ -13550,6 +14852,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
13550
14852
|
getListWithoutReferences({
|
|
13551
14853
|
processed,
|
|
13552
14854
|
errored,
|
|
14855
|
+
processAfterUtcLte,
|
|
13553
14856
|
pageNumber,
|
|
13554
14857
|
take,
|
|
13555
14858
|
skip,
|
|
@@ -13568,6 +14871,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
13568
14871
|
query: {
|
|
13569
14872
|
Processed: processed,
|
|
13570
14873
|
Errored: errored,
|
|
14874
|
+
ProcessAfterUtcLTE: processAfterUtcLte,
|
|
13571
14875
|
PageNumber: pageNumber,
|
|
13572
14876
|
Take: take,
|
|
13573
14877
|
Skip: skip,
|
|
@@ -13595,6 +14899,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
13595
14899
|
getListIdName({
|
|
13596
14900
|
processed,
|
|
13597
14901
|
errored,
|
|
14902
|
+
processAfterUtcLte,
|
|
13598
14903
|
pageNumber,
|
|
13599
14904
|
take,
|
|
13600
14905
|
skip,
|
|
@@ -13613,6 +14918,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
13613
14918
|
query: {
|
|
13614
14919
|
Processed: processed,
|
|
13615
14920
|
Errored: errored,
|
|
14921
|
+
ProcessAfterUtcLTE: processAfterUtcLte,
|
|
13616
14922
|
PageNumber: pageNumber,
|
|
13617
14923
|
Take: take,
|
|
13618
14924
|
Skip: skip,
|
|
@@ -15831,6 +17137,8 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
15831
17137
|
sessionIds,
|
|
15832
17138
|
courseId,
|
|
15833
17139
|
courseIds,
|
|
17140
|
+
sellableItemId,
|
|
17141
|
+
sellableItemIds,
|
|
15834
17142
|
slotOfferSlotId,
|
|
15835
17143
|
slotOfferSlotIds,
|
|
15836
17144
|
active,
|
|
@@ -15861,6 +17169,8 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
15861
17169
|
SessionIds: sessionIds,
|
|
15862
17170
|
CourseId: courseId,
|
|
15863
17171
|
CourseIds: courseIds,
|
|
17172
|
+
SellableItemId: sellableItemId,
|
|
17173
|
+
SellableItemIds: sellableItemIds,
|
|
15864
17174
|
SlotOfferSlotId: slotOfferSlotId,
|
|
15865
17175
|
SlotOfferSlotIds: slotOfferSlotIds,
|
|
15866
17176
|
Active: active,
|
|
@@ -15963,6 +17273,8 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
15963
17273
|
sessionIds,
|
|
15964
17274
|
courseId,
|
|
15965
17275
|
courseIds,
|
|
17276
|
+
sellableItemId,
|
|
17277
|
+
sellableItemIds,
|
|
15966
17278
|
slotOfferSlotId,
|
|
15967
17279
|
slotOfferSlotIds,
|
|
15968
17280
|
active,
|
|
@@ -15993,6 +17305,8 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
15993
17305
|
SessionIds: sessionIds,
|
|
15994
17306
|
CourseId: courseId,
|
|
15995
17307
|
CourseIds: courseIds,
|
|
17308
|
+
SellableItemId: sellableItemId,
|
|
17309
|
+
SellableItemIds: sellableItemIds,
|
|
15996
17310
|
SlotOfferSlotId: slotOfferSlotId,
|
|
15997
17311
|
SlotOfferSlotIds: slotOfferSlotIds,
|
|
15998
17312
|
Active: active,
|
|
@@ -16032,6 +17346,8 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
16032
17346
|
sessionIds,
|
|
16033
17347
|
courseId,
|
|
16034
17348
|
courseIds,
|
|
17349
|
+
sellableItemId,
|
|
17350
|
+
sellableItemIds,
|
|
16035
17351
|
slotOfferSlotId,
|
|
16036
17352
|
slotOfferSlotIds,
|
|
16037
17353
|
active,
|
|
@@ -16062,6 +17378,8 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
16062
17378
|
SessionIds: sessionIds,
|
|
16063
17379
|
CourseId: courseId,
|
|
16064
17380
|
CourseIds: courseIds,
|
|
17381
|
+
SellableItemId: sellableItemId,
|
|
17382
|
+
SellableItemIds: sellableItemIds,
|
|
16065
17383
|
SlotOfferSlotId: slotOfferSlotId,
|
|
16066
17384
|
SlotOfferSlotIds: slotOfferSlotIds,
|
|
16067
17385
|
Active: active,
|
|
@@ -16101,6 +17419,8 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
16101
17419
|
sessionIds,
|
|
16102
17420
|
courseId,
|
|
16103
17421
|
courseIds,
|
|
17422
|
+
sellableItemId,
|
|
17423
|
+
sellableItemIds,
|
|
16104
17424
|
slotOfferSlotId,
|
|
16105
17425
|
slotOfferSlotIds,
|
|
16106
17426
|
active,
|
|
@@ -16131,6 +17451,8 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
16131
17451
|
SessionIds: sessionIds,
|
|
16132
17452
|
CourseId: courseId,
|
|
16133
17453
|
CourseIds: courseIds,
|
|
17454
|
+
SellableItemId: sellableItemId,
|
|
17455
|
+
SellableItemIds: sellableItemIds,
|
|
16134
17456
|
SlotOfferSlotId: slotOfferSlotId,
|
|
16135
17457
|
SlotOfferSlotIds: slotOfferSlotIds,
|
|
16136
17458
|
Active: active,
|
|
@@ -16170,6 +17492,8 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
16170
17492
|
sessionIds,
|
|
16171
17493
|
courseId,
|
|
16172
17494
|
courseIds,
|
|
17495
|
+
sellableItemId,
|
|
17496
|
+
sellableItemIds,
|
|
16173
17497
|
slotOfferSlotId,
|
|
16174
17498
|
slotOfferSlotIds,
|
|
16175
17499
|
active,
|
|
@@ -16200,6 +17524,8 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
16200
17524
|
SessionIds: sessionIds,
|
|
16201
17525
|
CourseId: courseId,
|
|
16202
17526
|
CourseIds: courseIds,
|
|
17527
|
+
SellableItemId: sellableItemId,
|
|
17528
|
+
SellableItemIds: sellableItemIds,
|
|
16203
17529
|
SlotOfferSlotId: slotOfferSlotId,
|
|
16204
17530
|
SlotOfferSlotIds: slotOfferSlotIds,
|
|
16205
17531
|
Active: active,
|
|
@@ -18300,6 +19626,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
18300
19626
|
scheduledSessionId,
|
|
18301
19627
|
slotId,
|
|
18302
19628
|
courseId,
|
|
19629
|
+
sellableItemId,
|
|
18303
19630
|
offerId,
|
|
18304
19631
|
status,
|
|
18305
19632
|
statuses,
|
|
@@ -18328,6 +19655,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
18328
19655
|
ScheduledSessionId: scheduledSessionId,
|
|
18329
19656
|
SlotId: slotId,
|
|
18330
19657
|
CourseId: courseId,
|
|
19658
|
+
SellableItemId: sellableItemId,
|
|
18331
19659
|
OfferId: offerId,
|
|
18332
19660
|
Status: status,
|
|
18333
19661
|
Statuses: statuses,
|
|
@@ -18428,6 +19756,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
18428
19756
|
scheduledSessionId,
|
|
18429
19757
|
slotId,
|
|
18430
19758
|
courseId,
|
|
19759
|
+
sellableItemId,
|
|
18431
19760
|
offerId,
|
|
18432
19761
|
status,
|
|
18433
19762
|
statuses,
|
|
@@ -18456,6 +19785,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
18456
19785
|
ScheduledSessionId: scheduledSessionId,
|
|
18457
19786
|
SlotId: slotId,
|
|
18458
19787
|
CourseId: courseId,
|
|
19788
|
+
SellableItemId: sellableItemId,
|
|
18459
19789
|
OfferId: offerId,
|
|
18460
19790
|
Status: status,
|
|
18461
19791
|
Statuses: statuses,
|
|
@@ -18493,6 +19823,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
18493
19823
|
scheduledSessionId,
|
|
18494
19824
|
slotId,
|
|
18495
19825
|
courseId,
|
|
19826
|
+
sellableItemId,
|
|
18496
19827
|
offerId,
|
|
18497
19828
|
status,
|
|
18498
19829
|
statuses,
|
|
@@ -18521,6 +19852,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
18521
19852
|
ScheduledSessionId: scheduledSessionId,
|
|
18522
19853
|
SlotId: slotId,
|
|
18523
19854
|
CourseId: courseId,
|
|
19855
|
+
SellableItemId: sellableItemId,
|
|
18524
19856
|
OfferId: offerId,
|
|
18525
19857
|
Status: status,
|
|
18526
19858
|
Statuses: statuses,
|
|
@@ -18558,6 +19890,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
18558
19890
|
scheduledSessionId,
|
|
18559
19891
|
slotId,
|
|
18560
19892
|
courseId,
|
|
19893
|
+
sellableItemId,
|
|
18561
19894
|
offerId,
|
|
18562
19895
|
status,
|
|
18563
19896
|
statuses,
|
|
@@ -18586,6 +19919,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
18586
19919
|
ScheduledSessionId: scheduledSessionId,
|
|
18587
19920
|
SlotId: slotId,
|
|
18588
19921
|
CourseId: courseId,
|
|
19922
|
+
SellableItemId: sellableItemId,
|
|
18589
19923
|
OfferId: offerId,
|
|
18590
19924
|
Status: status,
|
|
18591
19925
|
Statuses: statuses,
|
|
@@ -18623,6 +19957,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
18623
19957
|
scheduledSessionId,
|
|
18624
19958
|
slotId,
|
|
18625
19959
|
courseId,
|
|
19960
|
+
sellableItemId,
|
|
18626
19961
|
offerId,
|
|
18627
19962
|
status,
|
|
18628
19963
|
statuses,
|
|
@@ -18651,6 +19986,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
18651
19986
|
ScheduledSessionId: scheduledSessionId,
|
|
18652
19987
|
SlotId: slotId,
|
|
18653
19988
|
CourseId: courseId,
|
|
19989
|
+
SellableItemId: sellableItemId,
|
|
18654
19990
|
OfferId: offerId,
|
|
18655
19991
|
Status: status,
|
|
18656
19992
|
Statuses: statuses,
|
|
@@ -25924,6 +27260,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
25924
27260
|
scheduledSessionId,
|
|
25925
27261
|
slotId,
|
|
25926
27262
|
courseId,
|
|
27263
|
+
sellableItemId,
|
|
25927
27264
|
offerId,
|
|
25928
27265
|
status,
|
|
25929
27266
|
statuses,
|
|
@@ -25955,6 +27292,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
25955
27292
|
ScheduledSessionId: scheduledSessionId,
|
|
25956
27293
|
SlotId: slotId,
|
|
25957
27294
|
CourseId: courseId,
|
|
27295
|
+
SellableItemId: sellableItemId,
|
|
25958
27296
|
OfferId: offerId,
|
|
25959
27297
|
Status: status,
|
|
25960
27298
|
Statuses: statuses,
|
|
@@ -26166,6 +27504,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
26166
27504
|
scheduledSessionId,
|
|
26167
27505
|
slotId,
|
|
26168
27506
|
courseId,
|
|
27507
|
+
sellableItemId,
|
|
26169
27508
|
offerId,
|
|
26170
27509
|
status,
|
|
26171
27510
|
statuses,
|
|
@@ -26197,6 +27536,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
26197
27536
|
ScheduledSessionId: scheduledSessionId,
|
|
26198
27537
|
SlotId: slotId,
|
|
26199
27538
|
CourseId: courseId,
|
|
27539
|
+
SellableItemId: sellableItemId,
|
|
26200
27540
|
OfferId: offerId,
|
|
26201
27541
|
Status: status,
|
|
26202
27542
|
Statuses: statuses,
|
|
@@ -27928,6 +29268,268 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
27928
29268
|
}
|
|
27929
29269
|
});
|
|
27930
29270
|
}
|
|
29271
|
+
}class PublicSellableItemsService {
|
|
29272
|
+
constructor(httpRequest) {
|
|
29273
|
+
this.httpRequest = httpRequest;
|
|
29274
|
+
}
|
|
29275
|
+
/**
|
|
29276
|
+
* @returns SellableItem OK
|
|
29277
|
+
* @throws ApiError
|
|
29278
|
+
*/
|
|
29279
|
+
getObject({
|
|
29280
|
+
id,
|
|
29281
|
+
xTenantSubdomain
|
|
29282
|
+
}) {
|
|
29283
|
+
return this.httpRequest.request({
|
|
29284
|
+
method: "GET",
|
|
29285
|
+
url: "/api/public/sellable-items/{id}",
|
|
29286
|
+
path: {
|
|
29287
|
+
id
|
|
29288
|
+
},
|
|
29289
|
+
headers: {
|
|
29290
|
+
x_tenant_subdomain: xTenantSubdomain
|
|
29291
|
+
},
|
|
29292
|
+
errors: {
|
|
29293
|
+
400: `Bad Request`,
|
|
29294
|
+
422: `Unprocessable Content`,
|
|
29295
|
+
500: `Internal Server Error`
|
|
29296
|
+
}
|
|
29297
|
+
});
|
|
29298
|
+
}
|
|
29299
|
+
/**
|
|
29300
|
+
* Deletes the resource.
|
|
29301
|
+
* @returns any OK
|
|
29302
|
+
* @throws ApiError
|
|
29303
|
+
*/
|
|
29304
|
+
deleteById({
|
|
29305
|
+
id,
|
|
29306
|
+
xTenantSubdomain
|
|
29307
|
+
}) {
|
|
29308
|
+
return this.httpRequest.request({
|
|
29309
|
+
method: "DELETE",
|
|
29310
|
+
url: "/api/public/sellable-items/{id}",
|
|
29311
|
+
path: {
|
|
29312
|
+
id
|
|
29313
|
+
},
|
|
29314
|
+
headers: {
|
|
29315
|
+
x_tenant_subdomain: xTenantSubdomain
|
|
29316
|
+
},
|
|
29317
|
+
errors: {
|
|
29318
|
+
400: `Bad Request`,
|
|
29319
|
+
422: `Unprocessable Content`,
|
|
29320
|
+
500: `Internal Server Error`
|
|
29321
|
+
}
|
|
29322
|
+
});
|
|
29323
|
+
}
|
|
29324
|
+
/**
|
|
29325
|
+
* @returns SellableItemPage OK
|
|
29326
|
+
* @throws ApiError
|
|
29327
|
+
*/
|
|
29328
|
+
getPage({
|
|
29329
|
+
xTenantSubdomain,
|
|
29330
|
+
ids,
|
|
29331
|
+
venueId,
|
|
29332
|
+
online,
|
|
29333
|
+
archived,
|
|
29334
|
+
deleted,
|
|
29335
|
+
dashboardRequest,
|
|
29336
|
+
pageNumber,
|
|
29337
|
+
take,
|
|
29338
|
+
skip,
|
|
29339
|
+
limitListRequests,
|
|
29340
|
+
tenantId,
|
|
29341
|
+
modifiedById,
|
|
29342
|
+
modifiedByIds,
|
|
29343
|
+
dateCreatedGte,
|
|
29344
|
+
dateCreatedLte,
|
|
29345
|
+
isLive,
|
|
29346
|
+
sortOrderDirection
|
|
29347
|
+
}) {
|
|
29348
|
+
return this.httpRequest.request({
|
|
29349
|
+
method: "GET",
|
|
29350
|
+
url: "/api/public/sellable-items",
|
|
29351
|
+
headers: {
|
|
29352
|
+
x_tenant_subdomain: xTenantSubdomain
|
|
29353
|
+
},
|
|
29354
|
+
query: {
|
|
29355
|
+
Ids: ids,
|
|
29356
|
+
VenueId: venueId,
|
|
29357
|
+
Online: online,
|
|
29358
|
+
Archived: archived,
|
|
29359
|
+
Deleted: deleted,
|
|
29360
|
+
DashboardRequest: dashboardRequest,
|
|
29361
|
+
PageNumber: pageNumber,
|
|
29362
|
+
Take: take,
|
|
29363
|
+
Skip: skip,
|
|
29364
|
+
LimitListRequests: limitListRequests,
|
|
29365
|
+
TenantId: tenantId,
|
|
29366
|
+
ModifiedById: modifiedById,
|
|
29367
|
+
ModifiedByIds: modifiedByIds,
|
|
29368
|
+
DateCreatedGTE: dateCreatedGte,
|
|
29369
|
+
DateCreatedLTE: dateCreatedLte,
|
|
29370
|
+
IsLive: isLive,
|
|
29371
|
+
SortOrderDirection: sortOrderDirection
|
|
29372
|
+
},
|
|
29373
|
+
errors: {
|
|
29374
|
+
400: `Bad Request`,
|
|
29375
|
+
422: `Unprocessable Content`,
|
|
29376
|
+
500: `Internal Server Error`
|
|
29377
|
+
}
|
|
29378
|
+
});
|
|
29379
|
+
}
|
|
29380
|
+
/**
|
|
29381
|
+
* Deletes the resource.
|
|
29382
|
+
* @returns any OK
|
|
29383
|
+
* @throws ApiError
|
|
29384
|
+
*/
|
|
29385
|
+
deleteByObject({
|
|
29386
|
+
xTenantSubdomain,
|
|
29387
|
+
requestBody
|
|
29388
|
+
}) {
|
|
29389
|
+
return this.httpRequest.request({
|
|
29390
|
+
method: "DELETE",
|
|
29391
|
+
url: "/api/public/sellable-items",
|
|
29392
|
+
headers: {
|
|
29393
|
+
x_tenant_subdomain: xTenantSubdomain
|
|
29394
|
+
},
|
|
29395
|
+
body: requestBody,
|
|
29396
|
+
mediaType: "application/json",
|
|
29397
|
+
errors: {
|
|
29398
|
+
400: `Bad Request`,
|
|
29399
|
+
422: `Unprocessable Content`,
|
|
29400
|
+
500: `Internal Server Error`
|
|
29401
|
+
}
|
|
29402
|
+
});
|
|
29403
|
+
}
|
|
29404
|
+
/**
|
|
29405
|
+
* Inserts a new resource. The Id will be automatically generated and will be ignored if provided.
|
|
29406
|
+
* @returns SellableItem OK
|
|
29407
|
+
* @throws ApiError
|
|
29408
|
+
*/
|
|
29409
|
+
post({
|
|
29410
|
+
xTenantSubdomain,
|
|
29411
|
+
requestBody
|
|
29412
|
+
}) {
|
|
29413
|
+
return this.httpRequest.request({
|
|
29414
|
+
method: "POST",
|
|
29415
|
+
url: "/api/public/sellable-items/v2-temporary-route",
|
|
29416
|
+
headers: {
|
|
29417
|
+
x_tenant_subdomain: xTenantSubdomain
|
|
29418
|
+
},
|
|
29419
|
+
body: requestBody,
|
|
29420
|
+
mediaType: "application/json",
|
|
29421
|
+
errors: {
|
|
29422
|
+
400: `Bad Request`,
|
|
29423
|
+
422: `Unprocessable Content`,
|
|
29424
|
+
500: `Internal Server Error`
|
|
29425
|
+
}
|
|
29426
|
+
});
|
|
29427
|
+
}
|
|
29428
|
+
/**
|
|
29429
|
+
* Patches the resource.
|
|
29430
|
+
* @returns SellableItem OK
|
|
29431
|
+
* @throws ApiError
|
|
29432
|
+
*/
|
|
29433
|
+
patch({
|
|
29434
|
+
xTenantSubdomain,
|
|
29435
|
+
requestBody
|
|
29436
|
+
}) {
|
|
29437
|
+
return this.httpRequest.request({
|
|
29438
|
+
method: "PATCH",
|
|
29439
|
+
url: "/api/public/sellable-items/v2-temporary-route",
|
|
29440
|
+
headers: {
|
|
29441
|
+
x_tenant_subdomain: xTenantSubdomain
|
|
29442
|
+
},
|
|
29443
|
+
body: requestBody,
|
|
29444
|
+
mediaType: "application/json",
|
|
29445
|
+
errors: {
|
|
29446
|
+
400: `Bad Request`,
|
|
29447
|
+
422: `Unprocessable Content`,
|
|
29448
|
+
500: `Internal Server Error`
|
|
29449
|
+
}
|
|
29450
|
+
});
|
|
29451
|
+
}
|
|
29452
|
+
/**
|
|
29453
|
+
* Inserts a list of resources.
|
|
29454
|
+
* @returns SellableItem OK
|
|
29455
|
+
* @throws ApiError
|
|
29456
|
+
*/
|
|
29457
|
+
postList({
|
|
29458
|
+
xTenantSubdomain,
|
|
29459
|
+
requestBody
|
|
29460
|
+
}) {
|
|
29461
|
+
return this.httpRequest.request({
|
|
29462
|
+
method: "POST",
|
|
29463
|
+
url: "/api/public/sellable-items/v2-temporary-route/list",
|
|
29464
|
+
headers: {
|
|
29465
|
+
x_tenant_subdomain: xTenantSubdomain
|
|
29466
|
+
},
|
|
29467
|
+
body: requestBody,
|
|
29468
|
+
mediaType: "application/json",
|
|
29469
|
+
errors: {
|
|
29470
|
+
400: `Bad Request`,
|
|
29471
|
+
422: `Unprocessable Content`,
|
|
29472
|
+
500: `Internal Server Error`
|
|
29473
|
+
}
|
|
29474
|
+
});
|
|
29475
|
+
}
|
|
29476
|
+
/**
|
|
29477
|
+
* Returns a value indicating whether the resource exists in the database given the provided search params.
|
|
29478
|
+
* @returns boolean OK
|
|
29479
|
+
* @throws ApiError
|
|
29480
|
+
*/
|
|
29481
|
+
exists({
|
|
29482
|
+
xTenantSubdomain,
|
|
29483
|
+
ids,
|
|
29484
|
+
venueId,
|
|
29485
|
+
online,
|
|
29486
|
+
archived,
|
|
29487
|
+
deleted,
|
|
29488
|
+
dashboardRequest,
|
|
29489
|
+
pageNumber,
|
|
29490
|
+
take,
|
|
29491
|
+
skip,
|
|
29492
|
+
limitListRequests,
|
|
29493
|
+
tenantId,
|
|
29494
|
+
modifiedById,
|
|
29495
|
+
modifiedByIds,
|
|
29496
|
+
dateCreatedGte,
|
|
29497
|
+
dateCreatedLte,
|
|
29498
|
+
isLive,
|
|
29499
|
+
sortOrderDirection
|
|
29500
|
+
}) {
|
|
29501
|
+
return this.httpRequest.request({
|
|
29502
|
+
method: "GET",
|
|
29503
|
+
url: "/api/public/sellable-items/exists",
|
|
29504
|
+
headers: {
|
|
29505
|
+
x_tenant_subdomain: xTenantSubdomain
|
|
29506
|
+
},
|
|
29507
|
+
query: {
|
|
29508
|
+
Ids: ids,
|
|
29509
|
+
VenueId: venueId,
|
|
29510
|
+
Online: online,
|
|
29511
|
+
Archived: archived,
|
|
29512
|
+
Deleted: deleted,
|
|
29513
|
+
DashboardRequest: dashboardRequest,
|
|
29514
|
+
PageNumber: pageNumber,
|
|
29515
|
+
Take: take,
|
|
29516
|
+
Skip: skip,
|
|
29517
|
+
LimitListRequests: limitListRequests,
|
|
29518
|
+
TenantId: tenantId,
|
|
29519
|
+
ModifiedById: modifiedById,
|
|
29520
|
+
ModifiedByIds: modifiedByIds,
|
|
29521
|
+
DateCreatedGTE: dateCreatedGte,
|
|
29522
|
+
DateCreatedLTE: dateCreatedLte,
|
|
29523
|
+
IsLive: isLive,
|
|
29524
|
+
SortOrderDirection: sortOrderDirection
|
|
29525
|
+
},
|
|
29526
|
+
errors: {
|
|
29527
|
+
400: `Bad Request`,
|
|
29528
|
+
422: `Unprocessable Content`,
|
|
29529
|
+
500: `Internal Server Error`
|
|
29530
|
+
}
|
|
29531
|
+
});
|
|
29532
|
+
}
|
|
27931
29533
|
}class PublicSessionsService {
|
|
27932
29534
|
constructor(httpRequest) {
|
|
27933
29535
|
this.httpRequest = httpRequest;
|
|
@@ -33338,39 +34940,593 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
33338
34940
|
}
|
|
33339
34941
|
/**
|
|
33340
34942
|
* Gets a list of resources unpaged and without references.
|
|
33341
|
-
* @returns ScheduledSession OK
|
|
34943
|
+
* @returns ScheduledSession OK
|
|
34944
|
+
* @throws ApiError
|
|
34945
|
+
*/
|
|
34946
|
+
getListWithoutReferences({
|
|
34947
|
+
ids,
|
|
34948
|
+
venueId,
|
|
34949
|
+
programmeId,
|
|
34950
|
+
providerId,
|
|
34951
|
+
sessionId,
|
|
34952
|
+
sessionIds,
|
|
34953
|
+
scheduleId,
|
|
34954
|
+
status,
|
|
34955
|
+
statuses,
|
|
34956
|
+
bookingStatus,
|
|
34957
|
+
startDateTimeLte,
|
|
34958
|
+
startDateTimeGte,
|
|
34959
|
+
endDateTimeLte,
|
|
34960
|
+
endDateTimeGte,
|
|
34961
|
+
remainingUsesLte,
|
|
34962
|
+
remainingUsesGte,
|
|
34963
|
+
futureOnly,
|
|
34964
|
+
bookableOnly,
|
|
34965
|
+
includeImages,
|
|
34966
|
+
includeVenue,
|
|
34967
|
+
includeOffers,
|
|
34968
|
+
includeOrders,
|
|
34969
|
+
hasAvailability,
|
|
34970
|
+
excludeArchived,
|
|
34971
|
+
excludePrivate,
|
|
34972
|
+
orderFirstNameContains,
|
|
34973
|
+
orderLastNameContains,
|
|
34974
|
+
sortBy,
|
|
34975
|
+
postCompletionEmailSent,
|
|
34976
|
+
pageNumber,
|
|
34977
|
+
take,
|
|
34978
|
+
skip,
|
|
34979
|
+
limitListRequests,
|
|
34980
|
+
tenantId,
|
|
34981
|
+
modifiedById,
|
|
34982
|
+
modifiedByIds,
|
|
34983
|
+
dateCreatedGte,
|
|
34984
|
+
dateCreatedLte,
|
|
34985
|
+
isLive,
|
|
34986
|
+
sortOrderDirection
|
|
34987
|
+
}) {
|
|
34988
|
+
return this.httpRequest.request({
|
|
34989
|
+
method: "GET",
|
|
34990
|
+
url: "/api/scheduled-sessions/without-references",
|
|
34991
|
+
query: {
|
|
34992
|
+
Ids: ids,
|
|
34993
|
+
VenueId: venueId,
|
|
34994
|
+
ProgrammeId: programmeId,
|
|
34995
|
+
ProviderId: providerId,
|
|
34996
|
+
SessionId: sessionId,
|
|
34997
|
+
SessionIds: sessionIds,
|
|
34998
|
+
ScheduleId: scheduleId,
|
|
34999
|
+
Status: status,
|
|
35000
|
+
Statuses: statuses,
|
|
35001
|
+
BookingStatus: bookingStatus,
|
|
35002
|
+
StartDateTimeLTE: startDateTimeLte,
|
|
35003
|
+
StartDateTimeGTE: startDateTimeGte,
|
|
35004
|
+
EndDateTimeLTE: endDateTimeLte,
|
|
35005
|
+
EndDateTimeGTE: endDateTimeGte,
|
|
35006
|
+
RemainingUsesLTE: remainingUsesLte,
|
|
35007
|
+
RemainingUsesGTE: remainingUsesGte,
|
|
35008
|
+
FutureOnly: futureOnly,
|
|
35009
|
+
BookableOnly: bookableOnly,
|
|
35010
|
+
IncludeImages: includeImages,
|
|
35011
|
+
IncludeVenue: includeVenue,
|
|
35012
|
+
IncludeOffers: includeOffers,
|
|
35013
|
+
IncludeOrders: includeOrders,
|
|
35014
|
+
HasAvailability: hasAvailability,
|
|
35015
|
+
ExcludeArchived: excludeArchived,
|
|
35016
|
+
ExcludePrivate: excludePrivate,
|
|
35017
|
+
OrderFirstNameContains: orderFirstNameContains,
|
|
35018
|
+
OrderLastNameContains: orderLastNameContains,
|
|
35019
|
+
SortBy: sortBy,
|
|
35020
|
+
PostCompletionEmailSent: postCompletionEmailSent,
|
|
35021
|
+
PageNumber: pageNumber,
|
|
35022
|
+
Take: take,
|
|
35023
|
+
Skip: skip,
|
|
35024
|
+
LimitListRequests: limitListRequests,
|
|
35025
|
+
TenantId: tenantId,
|
|
35026
|
+
ModifiedById: modifiedById,
|
|
35027
|
+
ModifiedByIds: modifiedByIds,
|
|
35028
|
+
DateCreatedGTE: dateCreatedGte,
|
|
35029
|
+
DateCreatedLTE: dateCreatedLte,
|
|
35030
|
+
IsLive: isLive,
|
|
35031
|
+
SortOrderDirection: sortOrderDirection
|
|
35032
|
+
},
|
|
35033
|
+
errors: {
|
|
35034
|
+
400: `Bad Request`,
|
|
35035
|
+
422: `Unprocessable Content`,
|
|
35036
|
+
500: `Internal Server Error`
|
|
35037
|
+
}
|
|
35038
|
+
});
|
|
35039
|
+
}
|
|
35040
|
+
/**
|
|
35041
|
+
* Gets a list of resources.
|
|
35042
|
+
* @returns ScheduledSession OK
|
|
35043
|
+
* @throws ApiError
|
|
35044
|
+
*/
|
|
35045
|
+
getListIdName({
|
|
35046
|
+
ids,
|
|
35047
|
+
venueId,
|
|
35048
|
+
programmeId,
|
|
35049
|
+
providerId,
|
|
35050
|
+
sessionId,
|
|
35051
|
+
sessionIds,
|
|
35052
|
+
scheduleId,
|
|
35053
|
+
status,
|
|
35054
|
+
statuses,
|
|
35055
|
+
bookingStatus,
|
|
35056
|
+
startDateTimeLte,
|
|
35057
|
+
startDateTimeGte,
|
|
35058
|
+
endDateTimeLte,
|
|
35059
|
+
endDateTimeGte,
|
|
35060
|
+
remainingUsesLte,
|
|
35061
|
+
remainingUsesGte,
|
|
35062
|
+
futureOnly,
|
|
35063
|
+
bookableOnly,
|
|
35064
|
+
includeImages,
|
|
35065
|
+
includeVenue,
|
|
35066
|
+
includeOffers,
|
|
35067
|
+
includeOrders,
|
|
35068
|
+
hasAvailability,
|
|
35069
|
+
excludeArchived,
|
|
35070
|
+
excludePrivate,
|
|
35071
|
+
orderFirstNameContains,
|
|
35072
|
+
orderLastNameContains,
|
|
35073
|
+
sortBy,
|
|
35074
|
+
postCompletionEmailSent,
|
|
35075
|
+
pageNumber,
|
|
35076
|
+
take,
|
|
35077
|
+
skip,
|
|
35078
|
+
limitListRequests,
|
|
35079
|
+
tenantId,
|
|
35080
|
+
modifiedById,
|
|
35081
|
+
modifiedByIds,
|
|
35082
|
+
dateCreatedGte,
|
|
35083
|
+
dateCreatedLte,
|
|
35084
|
+
isLive,
|
|
35085
|
+
sortOrderDirection
|
|
35086
|
+
}) {
|
|
35087
|
+
return this.httpRequest.request({
|
|
35088
|
+
method: "GET",
|
|
35089
|
+
url: "/api/scheduled-sessions/id-name",
|
|
35090
|
+
query: {
|
|
35091
|
+
Ids: ids,
|
|
35092
|
+
VenueId: venueId,
|
|
35093
|
+
ProgrammeId: programmeId,
|
|
35094
|
+
ProviderId: providerId,
|
|
35095
|
+
SessionId: sessionId,
|
|
35096
|
+
SessionIds: sessionIds,
|
|
35097
|
+
ScheduleId: scheduleId,
|
|
35098
|
+
Status: status,
|
|
35099
|
+
Statuses: statuses,
|
|
35100
|
+
BookingStatus: bookingStatus,
|
|
35101
|
+
StartDateTimeLTE: startDateTimeLte,
|
|
35102
|
+
StartDateTimeGTE: startDateTimeGte,
|
|
35103
|
+
EndDateTimeLTE: endDateTimeLte,
|
|
35104
|
+
EndDateTimeGTE: endDateTimeGte,
|
|
35105
|
+
RemainingUsesLTE: remainingUsesLte,
|
|
35106
|
+
RemainingUsesGTE: remainingUsesGte,
|
|
35107
|
+
FutureOnly: futureOnly,
|
|
35108
|
+
BookableOnly: bookableOnly,
|
|
35109
|
+
IncludeImages: includeImages,
|
|
35110
|
+
IncludeVenue: includeVenue,
|
|
35111
|
+
IncludeOffers: includeOffers,
|
|
35112
|
+
IncludeOrders: includeOrders,
|
|
35113
|
+
HasAvailability: hasAvailability,
|
|
35114
|
+
ExcludeArchived: excludeArchived,
|
|
35115
|
+
ExcludePrivate: excludePrivate,
|
|
35116
|
+
OrderFirstNameContains: orderFirstNameContains,
|
|
35117
|
+
OrderLastNameContains: orderLastNameContains,
|
|
35118
|
+
SortBy: sortBy,
|
|
35119
|
+
PostCompletionEmailSent: postCompletionEmailSent,
|
|
35120
|
+
PageNumber: pageNumber,
|
|
35121
|
+
Take: take,
|
|
35122
|
+
Skip: skip,
|
|
35123
|
+
LimitListRequests: limitListRequests,
|
|
35124
|
+
TenantId: tenantId,
|
|
35125
|
+
ModifiedById: modifiedById,
|
|
35126
|
+
ModifiedByIds: modifiedByIds,
|
|
35127
|
+
DateCreatedGTE: dateCreatedGte,
|
|
35128
|
+
DateCreatedLTE: dateCreatedLte,
|
|
35129
|
+
IsLive: isLive,
|
|
35130
|
+
SortOrderDirection: sortOrderDirection
|
|
35131
|
+
},
|
|
35132
|
+
errors: {
|
|
35133
|
+
400: `Bad Request`,
|
|
35134
|
+
422: `Unprocessable Content`,
|
|
35135
|
+
500: `Internal Server Error`
|
|
35136
|
+
}
|
|
35137
|
+
});
|
|
35138
|
+
}
|
|
35139
|
+
}class ScheduledSessionsSchedulesService {
|
|
35140
|
+
constructor(httpRequest) {
|
|
35141
|
+
this.httpRequest = httpRequest;
|
|
35142
|
+
}
|
|
35143
|
+
/**
|
|
35144
|
+
* Makes the given schedule Id Active />.
|
|
35145
|
+
* @returns ScheduledSessionSchedule OK
|
|
35146
|
+
* @throws ApiError
|
|
35147
|
+
*/
|
|
35148
|
+
makeActive({
|
|
35149
|
+
scheduledSessionScheduleId
|
|
35150
|
+
}) {
|
|
35151
|
+
return this.httpRequest.request({
|
|
35152
|
+
method: "PATCH",
|
|
35153
|
+
url: "/api/scheduled-session-schedules/{scheduledSessionScheduleId}/make-active",
|
|
35154
|
+
path: {
|
|
35155
|
+
scheduledSessionScheduleId
|
|
35156
|
+
},
|
|
35157
|
+
errors: {
|
|
35158
|
+
400: `Bad Request`,
|
|
35159
|
+
422: `Unprocessable Content`,
|
|
35160
|
+
500: `Internal Server Error`
|
|
35161
|
+
}
|
|
35162
|
+
});
|
|
35163
|
+
}
|
|
35164
|
+
/**
|
|
35165
|
+
* Evaluate schedules and insert forward scheduled sessions.
|
|
35166
|
+
* @returns number OK
|
|
35167
|
+
* @throws ApiError
|
|
35168
|
+
*/
|
|
35169
|
+
evaluateSchedules() {
|
|
35170
|
+
return this.httpRequest.request({
|
|
35171
|
+
method: "GET",
|
|
35172
|
+
url: "/api/scheduled-session-schedules/evaluate-schedules",
|
|
35173
|
+
errors: {
|
|
35174
|
+
400: `Bad Request`,
|
|
35175
|
+
422: `Unprocessable Content`,
|
|
35176
|
+
500: `Internal Server Error`
|
|
35177
|
+
}
|
|
35178
|
+
});
|
|
35179
|
+
}
|
|
35180
|
+
/**
|
|
35181
|
+
* Cleans table of unconfirmed schedules.
|
|
35182
|
+
* @returns number OK
|
|
35183
|
+
* @throws ApiError
|
|
35184
|
+
*/
|
|
35185
|
+
clean() {
|
|
35186
|
+
return this.httpRequest.request({
|
|
35187
|
+
method: "GET",
|
|
35188
|
+
url: "/api/scheduled-session-schedules/clean",
|
|
35189
|
+
errors: {
|
|
35190
|
+
400: `Bad Request`,
|
|
35191
|
+
422: `Unprocessable Content`,
|
|
35192
|
+
500: `Internal Server Error`
|
|
35193
|
+
}
|
|
35194
|
+
});
|
|
35195
|
+
}
|
|
35196
|
+
/**
|
|
35197
|
+
* Inserts a new resource. The Id will be automatically generated and will be ignored if provided.
|
|
35198
|
+
* @returns ScheduledSessionSchedule OK
|
|
35199
|
+
* @throws ApiError
|
|
35200
|
+
*/
|
|
35201
|
+
post({
|
|
35202
|
+
requestBody
|
|
35203
|
+
}) {
|
|
35204
|
+
return this.httpRequest.request({
|
|
35205
|
+
method: "POST",
|
|
35206
|
+
url: "/api/scheduled-session-schedules/v2-temporary-route",
|
|
35207
|
+
body: requestBody,
|
|
35208
|
+
mediaType: "application/json",
|
|
35209
|
+
errors: {
|
|
35210
|
+
400: `Bad Request`,
|
|
35211
|
+
422: `Unprocessable Content`,
|
|
35212
|
+
500: `Internal Server Error`
|
|
35213
|
+
}
|
|
35214
|
+
});
|
|
35215
|
+
}
|
|
35216
|
+
/**
|
|
35217
|
+
* Patches the resource.
|
|
35218
|
+
* @returns ScheduledSessionSchedule OK
|
|
35219
|
+
* @throws ApiError
|
|
35220
|
+
*/
|
|
35221
|
+
patch({
|
|
35222
|
+
requestBody
|
|
35223
|
+
}) {
|
|
35224
|
+
return this.httpRequest.request({
|
|
35225
|
+
method: "PATCH",
|
|
35226
|
+
url: "/api/scheduled-session-schedules/v2-temporary-route",
|
|
35227
|
+
body: requestBody,
|
|
35228
|
+
mediaType: "application/json",
|
|
35229
|
+
errors: {
|
|
35230
|
+
400: `Bad Request`,
|
|
35231
|
+
422: `Unprocessable Content`,
|
|
35232
|
+
500: `Internal Server Error`
|
|
35233
|
+
}
|
|
35234
|
+
});
|
|
35235
|
+
}
|
|
35236
|
+
/**
|
|
35237
|
+
* Inserts a list of resources.
|
|
35238
|
+
* @returns ScheduledSessionSchedule OK
|
|
35239
|
+
* @throws ApiError
|
|
35240
|
+
*/
|
|
35241
|
+
postList({
|
|
35242
|
+
requestBody
|
|
35243
|
+
}) {
|
|
35244
|
+
return this.httpRequest.request({
|
|
35245
|
+
method: "POST",
|
|
35246
|
+
url: "/api/scheduled-session-schedules/v2-temporary-route/list",
|
|
35247
|
+
body: requestBody,
|
|
35248
|
+
mediaType: "application/json",
|
|
35249
|
+
errors: {
|
|
35250
|
+
400: `Bad Request`,
|
|
35251
|
+
422: `Unprocessable Content`,
|
|
35252
|
+
500: `Internal Server Error`
|
|
35253
|
+
}
|
|
35254
|
+
});
|
|
35255
|
+
}
|
|
35256
|
+
/**
|
|
35257
|
+
* Patches the resource.
|
|
35258
|
+
* @returns ScheduledSessionSchedule OK
|
|
35259
|
+
* @throws ApiError
|
|
35260
|
+
*/
|
|
35261
|
+
patchWithReferences({
|
|
35262
|
+
requestBody
|
|
35263
|
+
}) {
|
|
35264
|
+
return this.httpRequest.request({
|
|
35265
|
+
method: "PATCH",
|
|
35266
|
+
url: "/api/scheduled-session-schedules/v2-temporary-route/with-references",
|
|
35267
|
+
body: requestBody,
|
|
35268
|
+
mediaType: "application/json",
|
|
35269
|
+
errors: {
|
|
35270
|
+
400: `Bad Request`,
|
|
35271
|
+
422: `Unprocessable Content`,
|
|
35272
|
+
500: `Internal Server Error`
|
|
35273
|
+
}
|
|
35274
|
+
});
|
|
35275
|
+
}
|
|
35276
|
+
/**
|
|
35277
|
+
* Deletes the resource.
|
|
35278
|
+
* @returns any OK
|
|
35279
|
+
* @throws ApiError
|
|
35280
|
+
*/
|
|
35281
|
+
deleteByObject({
|
|
35282
|
+
requestBody
|
|
35283
|
+
}) {
|
|
35284
|
+
return this.httpRequest.request({
|
|
35285
|
+
method: "DELETE",
|
|
35286
|
+
url: "/api/scheduled-session-schedules",
|
|
35287
|
+
body: requestBody,
|
|
35288
|
+
mediaType: "application/json",
|
|
35289
|
+
errors: {
|
|
35290
|
+
400: `Bad Request`,
|
|
35291
|
+
422: `Unprocessable Content`,
|
|
35292
|
+
500: `Internal Server Error`
|
|
35293
|
+
}
|
|
35294
|
+
});
|
|
35295
|
+
}
|
|
35296
|
+
/**
|
|
35297
|
+
* Gets a list of resources.
|
|
35298
|
+
* @returns ScheduledSessionSchedulePage OK
|
|
35299
|
+
* @throws ApiError
|
|
35300
|
+
*/
|
|
35301
|
+
getPage({
|
|
35302
|
+
sessionId,
|
|
35303
|
+
sessionIds,
|
|
35304
|
+
lastRunDateTimeLte,
|
|
35305
|
+
status,
|
|
35306
|
+
statuses,
|
|
35307
|
+
bookableOnly,
|
|
35308
|
+
pageNumber,
|
|
35309
|
+
take,
|
|
35310
|
+
skip,
|
|
35311
|
+
limitListRequests,
|
|
35312
|
+
tenantId,
|
|
35313
|
+
modifiedById,
|
|
35314
|
+
modifiedByIds,
|
|
35315
|
+
dateCreatedGte,
|
|
35316
|
+
dateCreatedLte,
|
|
35317
|
+
isLive,
|
|
35318
|
+
sortOrderDirection
|
|
35319
|
+
}) {
|
|
35320
|
+
return this.httpRequest.request({
|
|
35321
|
+
method: "GET",
|
|
35322
|
+
url: "/api/scheduled-session-schedules",
|
|
35323
|
+
query: {
|
|
35324
|
+
SessionId: sessionId,
|
|
35325
|
+
SessionIds: sessionIds,
|
|
35326
|
+
LastRunDateTimeLTE: lastRunDateTimeLte,
|
|
35327
|
+
Status: status,
|
|
35328
|
+
Statuses: statuses,
|
|
35329
|
+
BookableOnly: bookableOnly,
|
|
35330
|
+
PageNumber: pageNumber,
|
|
35331
|
+
Take: take,
|
|
35332
|
+
Skip: skip,
|
|
35333
|
+
LimitListRequests: limitListRequests,
|
|
35334
|
+
TenantId: tenantId,
|
|
35335
|
+
ModifiedById: modifiedById,
|
|
35336
|
+
ModifiedByIds: modifiedByIds,
|
|
35337
|
+
DateCreatedGTE: dateCreatedGte,
|
|
35338
|
+
DateCreatedLTE: dateCreatedLte,
|
|
35339
|
+
IsLive: isLive,
|
|
35340
|
+
SortOrderDirection: sortOrderDirection
|
|
35341
|
+
},
|
|
35342
|
+
errors: {
|
|
35343
|
+
400: `Bad Request`,
|
|
35344
|
+
422: `Unprocessable Content`,
|
|
35345
|
+
500: `Internal Server Error`
|
|
35346
|
+
}
|
|
35347
|
+
});
|
|
35348
|
+
}
|
|
35349
|
+
/**
|
|
35350
|
+
* Deletes the resource.
|
|
35351
|
+
* @returns any OK
|
|
35352
|
+
* @throws ApiError
|
|
35353
|
+
*/
|
|
35354
|
+
deleteById({
|
|
35355
|
+
id
|
|
35356
|
+
}) {
|
|
35357
|
+
return this.httpRequest.request({
|
|
35358
|
+
method: "DELETE",
|
|
35359
|
+
url: "/api/scheduled-session-schedules/{id}",
|
|
35360
|
+
path: {
|
|
35361
|
+
id
|
|
35362
|
+
},
|
|
35363
|
+
errors: {
|
|
35364
|
+
400: `Bad Request`,
|
|
35365
|
+
422: `Unprocessable Content`,
|
|
35366
|
+
500: `Internal Server Error`
|
|
35367
|
+
}
|
|
35368
|
+
});
|
|
35369
|
+
}
|
|
35370
|
+
/**
|
|
35371
|
+
* Gets the resource by its Id.
|
|
35372
|
+
* @returns ScheduledSessionSchedule OK
|
|
35373
|
+
* @throws ApiError
|
|
35374
|
+
*/
|
|
35375
|
+
getObject({
|
|
35376
|
+
id
|
|
35377
|
+
}) {
|
|
35378
|
+
return this.httpRequest.request({
|
|
35379
|
+
method: "GET",
|
|
35380
|
+
url: "/api/scheduled-session-schedules/{id}",
|
|
35381
|
+
path: {
|
|
35382
|
+
id
|
|
35383
|
+
},
|
|
35384
|
+
errors: {
|
|
35385
|
+
400: `Bad Request`,
|
|
35386
|
+
422: `Unprocessable Content`,
|
|
35387
|
+
500: `Internal Server Error`
|
|
35388
|
+
}
|
|
35389
|
+
});
|
|
35390
|
+
}
|
|
35391
|
+
/**
|
|
35392
|
+
* Returns a value indicating whether the resource is deletable.
|
|
35393
|
+
* @returns boolean OK
|
|
35394
|
+
* @throws ApiError
|
|
35395
|
+
*/
|
|
35396
|
+
canDelete({
|
|
35397
|
+
id
|
|
35398
|
+
}) {
|
|
35399
|
+
return this.httpRequest.request({
|
|
35400
|
+
method: "GET",
|
|
35401
|
+
url: "/api/scheduled-session-schedules/{id}/deletable",
|
|
35402
|
+
path: {
|
|
35403
|
+
id
|
|
35404
|
+
},
|
|
35405
|
+
errors: {
|
|
35406
|
+
400: `Bad Request`,
|
|
35407
|
+
422: `Unprocessable Content`,
|
|
35408
|
+
500: `Internal Server Error`
|
|
35409
|
+
}
|
|
35410
|
+
});
|
|
35411
|
+
}
|
|
35412
|
+
/**
|
|
35413
|
+
* Returns a value indicating whether the resource exists in the database given the provided search params.
|
|
35414
|
+
* @returns boolean OK
|
|
35415
|
+
* @throws ApiError
|
|
35416
|
+
*/
|
|
35417
|
+
exists({
|
|
35418
|
+
sessionId,
|
|
35419
|
+
sessionIds,
|
|
35420
|
+
lastRunDateTimeLte,
|
|
35421
|
+
status,
|
|
35422
|
+
statuses,
|
|
35423
|
+
bookableOnly,
|
|
35424
|
+
pageNumber,
|
|
35425
|
+
take,
|
|
35426
|
+
skip,
|
|
35427
|
+
limitListRequests,
|
|
35428
|
+
tenantId,
|
|
35429
|
+
modifiedById,
|
|
35430
|
+
modifiedByIds,
|
|
35431
|
+
dateCreatedGte,
|
|
35432
|
+
dateCreatedLte,
|
|
35433
|
+
isLive,
|
|
35434
|
+
sortOrderDirection
|
|
35435
|
+
}) {
|
|
35436
|
+
return this.httpRequest.request({
|
|
35437
|
+
method: "GET",
|
|
35438
|
+
url: "/api/scheduled-session-schedules/exists",
|
|
35439
|
+
query: {
|
|
35440
|
+
SessionId: sessionId,
|
|
35441
|
+
SessionIds: sessionIds,
|
|
35442
|
+
LastRunDateTimeLTE: lastRunDateTimeLte,
|
|
35443
|
+
Status: status,
|
|
35444
|
+
Statuses: statuses,
|
|
35445
|
+
BookableOnly: bookableOnly,
|
|
35446
|
+
PageNumber: pageNumber,
|
|
35447
|
+
Take: take,
|
|
35448
|
+
Skip: skip,
|
|
35449
|
+
LimitListRequests: limitListRequests,
|
|
35450
|
+
TenantId: tenantId,
|
|
35451
|
+
ModifiedById: modifiedById,
|
|
35452
|
+
ModifiedByIds: modifiedByIds,
|
|
35453
|
+
DateCreatedGTE: dateCreatedGte,
|
|
35454
|
+
DateCreatedLTE: dateCreatedLte,
|
|
35455
|
+
IsLive: isLive,
|
|
35456
|
+
SortOrderDirection: sortOrderDirection
|
|
35457
|
+
},
|
|
35458
|
+
errors: {
|
|
35459
|
+
400: `Bad Request`,
|
|
35460
|
+
422: `Unprocessable Content`,
|
|
35461
|
+
500: `Internal Server Error`
|
|
35462
|
+
}
|
|
35463
|
+
});
|
|
35464
|
+
}
|
|
35465
|
+
/**
|
|
35466
|
+
* Returns the number of results in the database given the provided search params.
|
|
35467
|
+
* @returns number OK
|
|
35468
|
+
* @throws ApiError
|
|
35469
|
+
*/
|
|
35470
|
+
count({
|
|
35471
|
+
sessionId,
|
|
35472
|
+
sessionIds,
|
|
35473
|
+
lastRunDateTimeLte,
|
|
35474
|
+
status,
|
|
35475
|
+
statuses,
|
|
35476
|
+
bookableOnly,
|
|
35477
|
+
pageNumber,
|
|
35478
|
+
take,
|
|
35479
|
+
skip,
|
|
35480
|
+
limitListRequests,
|
|
35481
|
+
tenantId,
|
|
35482
|
+
modifiedById,
|
|
35483
|
+
modifiedByIds,
|
|
35484
|
+
dateCreatedGte,
|
|
35485
|
+
dateCreatedLte,
|
|
35486
|
+
isLive,
|
|
35487
|
+
sortOrderDirection
|
|
35488
|
+
}) {
|
|
35489
|
+
return this.httpRequest.request({
|
|
35490
|
+
method: "GET",
|
|
35491
|
+
url: "/api/scheduled-session-schedules/count",
|
|
35492
|
+
query: {
|
|
35493
|
+
SessionId: sessionId,
|
|
35494
|
+
SessionIds: sessionIds,
|
|
35495
|
+
LastRunDateTimeLTE: lastRunDateTimeLte,
|
|
35496
|
+
Status: status,
|
|
35497
|
+
Statuses: statuses,
|
|
35498
|
+
BookableOnly: bookableOnly,
|
|
35499
|
+
PageNumber: pageNumber,
|
|
35500
|
+
Take: take,
|
|
35501
|
+
Skip: skip,
|
|
35502
|
+
LimitListRequests: limitListRequests,
|
|
35503
|
+
TenantId: tenantId,
|
|
35504
|
+
ModifiedById: modifiedById,
|
|
35505
|
+
ModifiedByIds: modifiedByIds,
|
|
35506
|
+
DateCreatedGTE: dateCreatedGte,
|
|
35507
|
+
DateCreatedLTE: dateCreatedLte,
|
|
35508
|
+
IsLive: isLive,
|
|
35509
|
+
SortOrderDirection: sortOrderDirection
|
|
35510
|
+
},
|
|
35511
|
+
errors: {
|
|
35512
|
+
400: `Bad Request`,
|
|
35513
|
+
422: `Unprocessable Content`,
|
|
35514
|
+
500: `Internal Server Error`
|
|
35515
|
+
}
|
|
35516
|
+
});
|
|
35517
|
+
}
|
|
35518
|
+
/**
|
|
35519
|
+
* Gets a list of resources unpaged and without references.
|
|
35520
|
+
* @returns ScheduledSessionSchedule OK
|
|
33342
35521
|
* @throws ApiError
|
|
33343
35522
|
*/
|
|
33344
35523
|
getListWithoutReferences({
|
|
33345
|
-
ids,
|
|
33346
|
-
venueId,
|
|
33347
|
-
programmeId,
|
|
33348
|
-
providerId,
|
|
33349
35524
|
sessionId,
|
|
33350
35525
|
sessionIds,
|
|
33351
|
-
|
|
35526
|
+
lastRunDateTimeLte,
|
|
33352
35527
|
status,
|
|
33353
35528
|
statuses,
|
|
33354
|
-
bookingStatus,
|
|
33355
|
-
startDateTimeLte,
|
|
33356
|
-
startDateTimeGte,
|
|
33357
|
-
endDateTimeLte,
|
|
33358
|
-
endDateTimeGte,
|
|
33359
|
-
remainingUsesLte,
|
|
33360
|
-
remainingUsesGte,
|
|
33361
|
-
futureOnly,
|
|
33362
35529
|
bookableOnly,
|
|
33363
|
-
includeImages,
|
|
33364
|
-
includeVenue,
|
|
33365
|
-
includeOffers,
|
|
33366
|
-
includeOrders,
|
|
33367
|
-
hasAvailability,
|
|
33368
|
-
excludeArchived,
|
|
33369
|
-
excludePrivate,
|
|
33370
|
-
orderFirstNameContains,
|
|
33371
|
-
orderLastNameContains,
|
|
33372
|
-
sortBy,
|
|
33373
|
-
postCompletionEmailSent,
|
|
33374
35530
|
pageNumber,
|
|
33375
35531
|
take,
|
|
33376
35532
|
skip,
|
|
@@ -33385,37 +35541,14 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
33385
35541
|
}) {
|
|
33386
35542
|
return this.httpRequest.request({
|
|
33387
35543
|
method: "GET",
|
|
33388
|
-
url: "/api/scheduled-
|
|
35544
|
+
url: "/api/scheduled-session-schedules/without-references",
|
|
33389
35545
|
query: {
|
|
33390
|
-
Ids: ids,
|
|
33391
|
-
VenueId: venueId,
|
|
33392
|
-
ProgrammeId: programmeId,
|
|
33393
|
-
ProviderId: providerId,
|
|
33394
35546
|
SessionId: sessionId,
|
|
33395
35547
|
SessionIds: sessionIds,
|
|
33396
|
-
|
|
35548
|
+
LastRunDateTimeLTE: lastRunDateTimeLte,
|
|
33397
35549
|
Status: status,
|
|
33398
35550
|
Statuses: statuses,
|
|
33399
|
-
BookingStatus: bookingStatus,
|
|
33400
|
-
StartDateTimeLTE: startDateTimeLte,
|
|
33401
|
-
StartDateTimeGTE: startDateTimeGte,
|
|
33402
|
-
EndDateTimeLTE: endDateTimeLte,
|
|
33403
|
-
EndDateTimeGTE: endDateTimeGte,
|
|
33404
|
-
RemainingUsesLTE: remainingUsesLte,
|
|
33405
|
-
RemainingUsesGTE: remainingUsesGte,
|
|
33406
|
-
FutureOnly: futureOnly,
|
|
33407
35551
|
BookableOnly: bookableOnly,
|
|
33408
|
-
IncludeImages: includeImages,
|
|
33409
|
-
IncludeVenue: includeVenue,
|
|
33410
|
-
IncludeOffers: includeOffers,
|
|
33411
|
-
IncludeOrders: includeOrders,
|
|
33412
|
-
HasAvailability: hasAvailability,
|
|
33413
|
-
ExcludeArchived: excludeArchived,
|
|
33414
|
-
ExcludePrivate: excludePrivate,
|
|
33415
|
-
OrderFirstNameContains: orderFirstNameContains,
|
|
33416
|
-
OrderLastNameContains: orderLastNameContains,
|
|
33417
|
-
SortBy: sortBy,
|
|
33418
|
-
PostCompletionEmailSent: postCompletionEmailSent,
|
|
33419
35552
|
PageNumber: pageNumber,
|
|
33420
35553
|
Take: take,
|
|
33421
35554
|
Skip: skip,
|
|
@@ -33437,39 +35570,16 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
33437
35570
|
}
|
|
33438
35571
|
/**
|
|
33439
35572
|
* Gets a list of resources.
|
|
33440
|
-
* @returns
|
|
35573
|
+
* @returns ScheduledSessionSchedule OK
|
|
33441
35574
|
* @throws ApiError
|
|
33442
35575
|
*/
|
|
33443
35576
|
getListIdName({
|
|
33444
|
-
ids,
|
|
33445
|
-
venueId,
|
|
33446
|
-
programmeId,
|
|
33447
|
-
providerId,
|
|
33448
35577
|
sessionId,
|
|
33449
35578
|
sessionIds,
|
|
33450
|
-
|
|
35579
|
+
lastRunDateTimeLte,
|
|
33451
35580
|
status,
|
|
33452
35581
|
statuses,
|
|
33453
|
-
bookingStatus,
|
|
33454
|
-
startDateTimeLte,
|
|
33455
|
-
startDateTimeGte,
|
|
33456
|
-
endDateTimeLte,
|
|
33457
|
-
endDateTimeGte,
|
|
33458
|
-
remainingUsesLte,
|
|
33459
|
-
remainingUsesGte,
|
|
33460
|
-
futureOnly,
|
|
33461
35582
|
bookableOnly,
|
|
33462
|
-
includeImages,
|
|
33463
|
-
includeVenue,
|
|
33464
|
-
includeOffers,
|
|
33465
|
-
includeOrders,
|
|
33466
|
-
hasAvailability,
|
|
33467
|
-
excludeArchived,
|
|
33468
|
-
excludePrivate,
|
|
33469
|
-
orderFirstNameContains,
|
|
33470
|
-
orderLastNameContains,
|
|
33471
|
-
sortBy,
|
|
33472
|
-
postCompletionEmailSent,
|
|
33473
35583
|
pageNumber,
|
|
33474
35584
|
take,
|
|
33475
35585
|
skip,
|
|
@@ -33484,37 +35594,14 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
33484
35594
|
}) {
|
|
33485
35595
|
return this.httpRequest.request({
|
|
33486
35596
|
method: "GET",
|
|
33487
|
-
url: "/api/scheduled-
|
|
35597
|
+
url: "/api/scheduled-session-schedules/id-name",
|
|
33488
35598
|
query: {
|
|
33489
|
-
Ids: ids,
|
|
33490
|
-
VenueId: venueId,
|
|
33491
|
-
ProgrammeId: programmeId,
|
|
33492
|
-
ProviderId: providerId,
|
|
33493
35599
|
SessionId: sessionId,
|
|
33494
35600
|
SessionIds: sessionIds,
|
|
33495
|
-
|
|
35601
|
+
LastRunDateTimeLTE: lastRunDateTimeLte,
|
|
33496
35602
|
Status: status,
|
|
33497
35603
|
Statuses: statuses,
|
|
33498
|
-
BookingStatus: bookingStatus,
|
|
33499
|
-
StartDateTimeLTE: startDateTimeLte,
|
|
33500
|
-
StartDateTimeGTE: startDateTimeGte,
|
|
33501
|
-
EndDateTimeLTE: endDateTimeLte,
|
|
33502
|
-
EndDateTimeGTE: endDateTimeGte,
|
|
33503
|
-
RemainingUsesLTE: remainingUsesLte,
|
|
33504
|
-
RemainingUsesGTE: remainingUsesGte,
|
|
33505
|
-
FutureOnly: futureOnly,
|
|
33506
35604
|
BookableOnly: bookableOnly,
|
|
33507
|
-
IncludeImages: includeImages,
|
|
33508
|
-
IncludeVenue: includeVenue,
|
|
33509
|
-
IncludeOffers: includeOffers,
|
|
33510
|
-
IncludeOrders: includeOrders,
|
|
33511
|
-
HasAvailability: hasAvailability,
|
|
33512
|
-
ExcludeArchived: excludeArchived,
|
|
33513
|
-
ExcludePrivate: excludePrivate,
|
|
33514
|
-
OrderFirstNameContains: orderFirstNameContains,
|
|
33515
|
-
OrderLastNameContains: orderLastNameContains,
|
|
33516
|
-
SortBy: sortBy,
|
|
33517
|
-
PostCompletionEmailSent: postCompletionEmailSent,
|
|
33518
35605
|
PageNumber: pageNumber,
|
|
33519
35606
|
Take: take,
|
|
33520
35607
|
Skip: skip,
|
|
@@ -33534,23 +35621,25 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
33534
35621
|
}
|
|
33535
35622
|
});
|
|
33536
35623
|
}
|
|
33537
|
-
}class
|
|
35624
|
+
}class SellableItemsService {
|
|
33538
35625
|
constructor(httpRequest) {
|
|
33539
35626
|
this.httpRequest = httpRequest;
|
|
33540
35627
|
}
|
|
33541
35628
|
/**
|
|
33542
|
-
*
|
|
33543
|
-
* @returns
|
|
35629
|
+
* Assigns a deal to a sellable item.
|
|
35630
|
+
* @returns SellableItem OK
|
|
33544
35631
|
* @throws ApiError
|
|
33545
35632
|
*/
|
|
33546
|
-
|
|
33547
|
-
|
|
35633
|
+
assignDeal({
|
|
35634
|
+
sellableItemId,
|
|
35635
|
+
dealId
|
|
33548
35636
|
}) {
|
|
33549
35637
|
return this.httpRequest.request({
|
|
33550
35638
|
method: "PATCH",
|
|
33551
|
-
url: "/api/
|
|
35639
|
+
url: "/api/sellable-items/{sellableItemId}/assign-deal/{dealId}",
|
|
33552
35640
|
path: {
|
|
33553
|
-
|
|
35641
|
+
sellableItemId,
|
|
35642
|
+
dealId
|
|
33554
35643
|
},
|
|
33555
35644
|
errors: {
|
|
33556
35645
|
400: `Bad Request`,
|
|
@@ -33560,14 +35649,21 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
33560
35649
|
});
|
|
33561
35650
|
}
|
|
33562
35651
|
/**
|
|
33563
|
-
*
|
|
33564
|
-
* @returns
|
|
35652
|
+
* Unassigns a deal from a sellable item.
|
|
35653
|
+
* @returns SellableItem OK
|
|
33565
35654
|
* @throws ApiError
|
|
33566
35655
|
*/
|
|
33567
|
-
|
|
35656
|
+
unassignDeal({
|
|
35657
|
+
sellableItemId,
|
|
35658
|
+
dealId
|
|
35659
|
+
}) {
|
|
33568
35660
|
return this.httpRequest.request({
|
|
33569
|
-
method: "
|
|
33570
|
-
url: "/api/
|
|
35661
|
+
method: "PATCH",
|
|
35662
|
+
url: "/api/sellable-items/{sellableItemId}/unassign-deal/{dealId}",
|
|
35663
|
+
path: {
|
|
35664
|
+
sellableItemId,
|
|
35665
|
+
dealId
|
|
35666
|
+
},
|
|
33571
35667
|
errors: {
|
|
33572
35668
|
400: `Bad Request`,
|
|
33573
35669
|
422: `Unprocessable Content`,
|
|
@@ -33576,14 +35672,40 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
33576
35672
|
});
|
|
33577
35673
|
}
|
|
33578
35674
|
/**
|
|
33579
|
-
*
|
|
33580
|
-
* @returns
|
|
35675
|
+
* Takes the sellable item offline (not published on the storefront).
|
|
35676
|
+
* @returns SellableItem OK
|
|
33581
35677
|
* @throws ApiError
|
|
33582
35678
|
*/
|
|
33583
|
-
|
|
35679
|
+
takeOffline({
|
|
35680
|
+
sellableItemId
|
|
35681
|
+
}) {
|
|
33584
35682
|
return this.httpRequest.request({
|
|
33585
|
-
method: "
|
|
33586
|
-
url: "/api/
|
|
35683
|
+
method: "PATCH",
|
|
35684
|
+
url: "/api/sellable-items/{sellableItemId}/take-offline",
|
|
35685
|
+
path: {
|
|
35686
|
+
sellableItemId
|
|
35687
|
+
},
|
|
35688
|
+
errors: {
|
|
35689
|
+
400: `Bad Request`,
|
|
35690
|
+
422: `Unprocessable Content`,
|
|
35691
|
+
500: `Internal Server Error`
|
|
35692
|
+
}
|
|
35693
|
+
});
|
|
35694
|
+
}
|
|
35695
|
+
/**
|
|
35696
|
+
* Brings the sellable item online on the storefront.
|
|
35697
|
+
* @returns SellableItem OK
|
|
35698
|
+
* @throws ApiError
|
|
35699
|
+
*/
|
|
35700
|
+
bringOnline({
|
|
35701
|
+
sellableItemId
|
|
35702
|
+
}) {
|
|
35703
|
+
return this.httpRequest.request({
|
|
35704
|
+
method: "PATCH",
|
|
35705
|
+
url: "/api/sellable-items/{sellableItemId}/bring-online",
|
|
35706
|
+
path: {
|
|
35707
|
+
sellableItemId
|
|
35708
|
+
},
|
|
33587
35709
|
errors: {
|
|
33588
35710
|
400: `Bad Request`,
|
|
33589
35711
|
422: `Unprocessable Content`,
|
|
@@ -33593,7 +35715,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
33593
35715
|
}
|
|
33594
35716
|
/**
|
|
33595
35717
|
* Inserts a new resource. The Id will be automatically generated and will be ignored if provided.
|
|
33596
|
-
* @returns
|
|
35718
|
+
* @returns SellableItem OK
|
|
33597
35719
|
* @throws ApiError
|
|
33598
35720
|
*/
|
|
33599
35721
|
post({
|
|
@@ -33601,7 +35723,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
33601
35723
|
}) {
|
|
33602
35724
|
return this.httpRequest.request({
|
|
33603
35725
|
method: "POST",
|
|
33604
|
-
url: "/api/
|
|
35726
|
+
url: "/api/sellable-items/v2-temporary-route",
|
|
33605
35727
|
body: requestBody,
|
|
33606
35728
|
mediaType: "application/json",
|
|
33607
35729
|
errors: {
|
|
@@ -33613,7 +35735,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
33613
35735
|
}
|
|
33614
35736
|
/**
|
|
33615
35737
|
* Patches the resource.
|
|
33616
|
-
* @returns
|
|
35738
|
+
* @returns SellableItem OK
|
|
33617
35739
|
* @throws ApiError
|
|
33618
35740
|
*/
|
|
33619
35741
|
patch({
|
|
@@ -33621,7 +35743,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
33621
35743
|
}) {
|
|
33622
35744
|
return this.httpRequest.request({
|
|
33623
35745
|
method: "PATCH",
|
|
33624
|
-
url: "/api/
|
|
35746
|
+
url: "/api/sellable-items/v2-temporary-route",
|
|
33625
35747
|
body: requestBody,
|
|
33626
35748
|
mediaType: "application/json",
|
|
33627
35749
|
errors: {
|
|
@@ -33633,7 +35755,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
33633
35755
|
}
|
|
33634
35756
|
/**
|
|
33635
35757
|
* Inserts a list of resources.
|
|
33636
|
-
* @returns
|
|
35758
|
+
* @returns SellableItem OK
|
|
33637
35759
|
* @throws ApiError
|
|
33638
35760
|
*/
|
|
33639
35761
|
postList({
|
|
@@ -33641,7 +35763,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
33641
35763
|
}) {
|
|
33642
35764
|
return this.httpRequest.request({
|
|
33643
35765
|
method: "POST",
|
|
33644
|
-
url: "/api/
|
|
35766
|
+
url: "/api/sellable-items/v2-temporary-route/list",
|
|
33645
35767
|
body: requestBody,
|
|
33646
35768
|
mediaType: "application/json",
|
|
33647
35769
|
errors: {
|
|
@@ -33653,7 +35775,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
33653
35775
|
}
|
|
33654
35776
|
/**
|
|
33655
35777
|
* Patches the resource.
|
|
33656
|
-
* @returns
|
|
35778
|
+
* @returns SellableItem OK
|
|
33657
35779
|
* @throws ApiError
|
|
33658
35780
|
*/
|
|
33659
35781
|
patchWithReferences({
|
|
@@ -33661,7 +35783,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
33661
35783
|
}) {
|
|
33662
35784
|
return this.httpRequest.request({
|
|
33663
35785
|
method: "PATCH",
|
|
33664
|
-
url: "/api/
|
|
35786
|
+
url: "/api/sellable-items/v2-temporary-route/with-references",
|
|
33665
35787
|
body: requestBody,
|
|
33666
35788
|
mediaType: "application/json",
|
|
33667
35789
|
errors: {
|
|
@@ -33681,7 +35803,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
33681
35803
|
}) {
|
|
33682
35804
|
return this.httpRequest.request({
|
|
33683
35805
|
method: "DELETE",
|
|
33684
|
-
url: "/api/
|
|
35806
|
+
url: "/api/sellable-items",
|
|
33685
35807
|
body: requestBody,
|
|
33686
35808
|
mediaType: "application/json",
|
|
33687
35809
|
errors: {
|
|
@@ -33693,16 +35815,16 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
33693
35815
|
}
|
|
33694
35816
|
/**
|
|
33695
35817
|
* Gets a list of resources.
|
|
33696
|
-
* @returns
|
|
35818
|
+
* @returns SellableItemPage OK
|
|
33697
35819
|
* @throws ApiError
|
|
33698
35820
|
*/
|
|
33699
35821
|
getPage({
|
|
33700
|
-
|
|
33701
|
-
|
|
33702
|
-
|
|
33703
|
-
|
|
33704
|
-
|
|
33705
|
-
|
|
35822
|
+
ids,
|
|
35823
|
+
venueId,
|
|
35824
|
+
online,
|
|
35825
|
+
archived,
|
|
35826
|
+
deleted,
|
|
35827
|
+
dashboardRequest,
|
|
33706
35828
|
pageNumber,
|
|
33707
35829
|
take,
|
|
33708
35830
|
skip,
|
|
@@ -33717,14 +35839,14 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
33717
35839
|
}) {
|
|
33718
35840
|
return this.httpRequest.request({
|
|
33719
35841
|
method: "GET",
|
|
33720
|
-
url: "/api/
|
|
35842
|
+
url: "/api/sellable-items",
|
|
33721
35843
|
query: {
|
|
33722
|
-
|
|
33723
|
-
|
|
33724
|
-
|
|
33725
|
-
|
|
33726
|
-
|
|
33727
|
-
|
|
35844
|
+
Ids: ids,
|
|
35845
|
+
VenueId: venueId,
|
|
35846
|
+
Online: online,
|
|
35847
|
+
Archived: archived,
|
|
35848
|
+
Deleted: deleted,
|
|
35849
|
+
DashboardRequest: dashboardRequest,
|
|
33728
35850
|
PageNumber: pageNumber,
|
|
33729
35851
|
Take: take,
|
|
33730
35852
|
Skip: skip,
|
|
@@ -33754,7 +35876,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
33754
35876
|
}) {
|
|
33755
35877
|
return this.httpRequest.request({
|
|
33756
35878
|
method: "DELETE",
|
|
33757
|
-
url: "/api/
|
|
35879
|
+
url: "/api/sellable-items/{id}",
|
|
33758
35880
|
path: {
|
|
33759
35881
|
id
|
|
33760
35882
|
},
|
|
@@ -33767,7 +35889,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
33767
35889
|
}
|
|
33768
35890
|
/**
|
|
33769
35891
|
* Gets the resource by its Id.
|
|
33770
|
-
* @returns
|
|
35892
|
+
* @returns SellableItem OK
|
|
33771
35893
|
* @throws ApiError
|
|
33772
35894
|
*/
|
|
33773
35895
|
getObject({
|
|
@@ -33775,7 +35897,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
33775
35897
|
}) {
|
|
33776
35898
|
return this.httpRequest.request({
|
|
33777
35899
|
method: "GET",
|
|
33778
|
-
url: "/api/
|
|
35900
|
+
url: "/api/sellable-items/{id}",
|
|
33779
35901
|
path: {
|
|
33780
35902
|
id
|
|
33781
35903
|
},
|
|
@@ -33796,7 +35918,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
33796
35918
|
}) {
|
|
33797
35919
|
return this.httpRequest.request({
|
|
33798
35920
|
method: "GET",
|
|
33799
|
-
url: "/api/
|
|
35921
|
+
url: "/api/sellable-items/{id}/deletable",
|
|
33800
35922
|
path: {
|
|
33801
35923
|
id
|
|
33802
35924
|
},
|
|
@@ -33813,12 +35935,12 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
33813
35935
|
* @throws ApiError
|
|
33814
35936
|
*/
|
|
33815
35937
|
exists({
|
|
33816
|
-
|
|
33817
|
-
|
|
33818
|
-
|
|
33819
|
-
|
|
33820
|
-
|
|
33821
|
-
|
|
35938
|
+
ids,
|
|
35939
|
+
venueId,
|
|
35940
|
+
online,
|
|
35941
|
+
archived,
|
|
35942
|
+
deleted,
|
|
35943
|
+
dashboardRequest,
|
|
33822
35944
|
pageNumber,
|
|
33823
35945
|
take,
|
|
33824
35946
|
skip,
|
|
@@ -33833,14 +35955,14 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
33833
35955
|
}) {
|
|
33834
35956
|
return this.httpRequest.request({
|
|
33835
35957
|
method: "GET",
|
|
33836
|
-
url: "/api/
|
|
35958
|
+
url: "/api/sellable-items/exists",
|
|
33837
35959
|
query: {
|
|
33838
|
-
|
|
33839
|
-
|
|
33840
|
-
|
|
33841
|
-
|
|
33842
|
-
|
|
33843
|
-
|
|
35960
|
+
Ids: ids,
|
|
35961
|
+
VenueId: venueId,
|
|
35962
|
+
Online: online,
|
|
35963
|
+
Archived: archived,
|
|
35964
|
+
Deleted: deleted,
|
|
35965
|
+
DashboardRequest: dashboardRequest,
|
|
33844
35966
|
PageNumber: pageNumber,
|
|
33845
35967
|
Take: take,
|
|
33846
35968
|
Skip: skip,
|
|
@@ -33866,12 +35988,12 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
33866
35988
|
* @throws ApiError
|
|
33867
35989
|
*/
|
|
33868
35990
|
count({
|
|
33869
|
-
|
|
33870
|
-
|
|
33871
|
-
|
|
33872
|
-
|
|
33873
|
-
|
|
33874
|
-
|
|
35991
|
+
ids,
|
|
35992
|
+
venueId,
|
|
35993
|
+
online,
|
|
35994
|
+
archived,
|
|
35995
|
+
deleted,
|
|
35996
|
+
dashboardRequest,
|
|
33875
35997
|
pageNumber,
|
|
33876
35998
|
take,
|
|
33877
35999
|
skip,
|
|
@@ -33886,14 +36008,14 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
33886
36008
|
}) {
|
|
33887
36009
|
return this.httpRequest.request({
|
|
33888
36010
|
method: "GET",
|
|
33889
|
-
url: "/api/
|
|
36011
|
+
url: "/api/sellable-items/count",
|
|
33890
36012
|
query: {
|
|
33891
|
-
|
|
33892
|
-
|
|
33893
|
-
|
|
33894
|
-
|
|
33895
|
-
|
|
33896
|
-
|
|
36013
|
+
Ids: ids,
|
|
36014
|
+
VenueId: venueId,
|
|
36015
|
+
Online: online,
|
|
36016
|
+
Archived: archived,
|
|
36017
|
+
Deleted: deleted,
|
|
36018
|
+
DashboardRequest: dashboardRequest,
|
|
33897
36019
|
PageNumber: pageNumber,
|
|
33898
36020
|
Take: take,
|
|
33899
36021
|
Skip: skip,
|
|
@@ -33915,16 +36037,16 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
33915
36037
|
}
|
|
33916
36038
|
/**
|
|
33917
36039
|
* Gets a list of resources unpaged and without references.
|
|
33918
|
-
* @returns
|
|
36040
|
+
* @returns SellableItem OK
|
|
33919
36041
|
* @throws ApiError
|
|
33920
36042
|
*/
|
|
33921
36043
|
getListWithoutReferences({
|
|
33922
|
-
|
|
33923
|
-
|
|
33924
|
-
|
|
33925
|
-
|
|
33926
|
-
|
|
33927
|
-
|
|
36044
|
+
ids,
|
|
36045
|
+
venueId,
|
|
36046
|
+
online,
|
|
36047
|
+
archived,
|
|
36048
|
+
deleted,
|
|
36049
|
+
dashboardRequest,
|
|
33928
36050
|
pageNumber,
|
|
33929
36051
|
take,
|
|
33930
36052
|
skip,
|
|
@@ -33939,14 +36061,14 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
33939
36061
|
}) {
|
|
33940
36062
|
return this.httpRequest.request({
|
|
33941
36063
|
method: "GET",
|
|
33942
|
-
url: "/api/
|
|
36064
|
+
url: "/api/sellable-items/without-references",
|
|
33943
36065
|
query: {
|
|
33944
|
-
|
|
33945
|
-
|
|
33946
|
-
|
|
33947
|
-
|
|
33948
|
-
|
|
33949
|
-
|
|
36066
|
+
Ids: ids,
|
|
36067
|
+
VenueId: venueId,
|
|
36068
|
+
Online: online,
|
|
36069
|
+
Archived: archived,
|
|
36070
|
+
Deleted: deleted,
|
|
36071
|
+
DashboardRequest: dashboardRequest,
|
|
33950
36072
|
PageNumber: pageNumber,
|
|
33951
36073
|
Take: take,
|
|
33952
36074
|
Skip: skip,
|
|
@@ -33968,16 +36090,16 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
33968
36090
|
}
|
|
33969
36091
|
/**
|
|
33970
36092
|
* Gets a list of resources.
|
|
33971
|
-
* @returns
|
|
36093
|
+
* @returns SellableItem OK
|
|
33972
36094
|
* @throws ApiError
|
|
33973
36095
|
*/
|
|
33974
36096
|
getListIdName({
|
|
33975
|
-
|
|
33976
|
-
|
|
33977
|
-
|
|
33978
|
-
|
|
33979
|
-
|
|
33980
|
-
|
|
36097
|
+
ids,
|
|
36098
|
+
venueId,
|
|
36099
|
+
online,
|
|
36100
|
+
archived,
|
|
36101
|
+
deleted,
|
|
36102
|
+
dashboardRequest,
|
|
33981
36103
|
pageNumber,
|
|
33982
36104
|
take,
|
|
33983
36105
|
skip,
|
|
@@ -33992,14 +36114,14 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
33992
36114
|
}) {
|
|
33993
36115
|
return this.httpRequest.request({
|
|
33994
36116
|
method: "GET",
|
|
33995
|
-
url: "/api/
|
|
36117
|
+
url: "/api/sellable-items/id-name",
|
|
33996
36118
|
query: {
|
|
33997
|
-
|
|
33998
|
-
|
|
33999
|
-
|
|
34000
|
-
|
|
34001
|
-
|
|
34002
|
-
|
|
36119
|
+
Ids: ids,
|
|
36120
|
+
VenueId: venueId,
|
|
36121
|
+
Online: online,
|
|
36122
|
+
Archived: archived,
|
|
36123
|
+
Deleted: deleted,
|
|
36124
|
+
DashboardRequest: dashboardRequest,
|
|
34003
36125
|
PageNumber: pageNumber,
|
|
34004
36126
|
Take: take,
|
|
34005
36127
|
Skip: skip,
|
|
@@ -34024,7 +36146,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
34024
36146
|
this.httpRequest = httpRequest;
|
|
34025
36147
|
}
|
|
34026
36148
|
/**
|
|
34027
|
-
* Gets a list of valid opportunities for rescheduling, based on the
|
|
36149
|
+
* Gets a list of valid opportunities for rescheduling, based on the quantity required to reschedule.
|
|
34028
36150
|
* @returns ScheduledSession OK
|
|
34029
36151
|
* @throws ApiError
|
|
34030
36152
|
*/
|
|
@@ -50398,6 +52520,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
50398
52520
|
});
|
|
50399
52521
|
}
|
|
50400
52522
|
}class ApiClient {
|
|
52523
|
+
accessCredentials;
|
|
50401
52524
|
activity;
|
|
50402
52525
|
activityPerformance;
|
|
50403
52526
|
activityTypeCategory;
|
|
@@ -50407,6 +52530,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
50407
52530
|
booking;
|
|
50408
52531
|
cancellationPolicies;
|
|
50409
52532
|
chat;
|
|
52533
|
+
codelocksLocks;
|
|
50410
52534
|
country;
|
|
50411
52535
|
courses;
|
|
50412
52536
|
courseSessions;
|
|
@@ -50425,6 +52549,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
50425
52549
|
englandGolfReport;
|
|
50426
52550
|
facilities;
|
|
50427
52551
|
facilityIndividuals;
|
|
52552
|
+
featureAnnouncements;
|
|
50428
52553
|
filestack;
|
|
50429
52554
|
genericActivity;
|
|
50430
52555
|
geocode;
|
|
@@ -50434,6 +52559,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
50434
52559
|
imageLibraryImage;
|
|
50435
52560
|
images;
|
|
50436
52561
|
imageUploadHistory;
|
|
52562
|
+
integrationCodelocksSettings;
|
|
50437
52563
|
integrationDotdigitalFieldMap;
|
|
50438
52564
|
integrationDotdigitalLog;
|
|
50439
52565
|
integrationDotDigitalSettings;
|
|
@@ -50476,6 +52602,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
50476
52602
|
publicProgrammes;
|
|
50477
52603
|
publicProviders;
|
|
50478
52604
|
publicScheduledSessions;
|
|
52605
|
+
publicSellableItems;
|
|
50479
52606
|
publicSessions;
|
|
50480
52607
|
publicSlots;
|
|
50481
52608
|
publicStorefrontStaffPreview;
|
|
@@ -50493,6 +52620,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
50493
52620
|
rescheduleLog;
|
|
50494
52621
|
scheduledSessions;
|
|
50495
52622
|
scheduledSessionsSchedules;
|
|
52623
|
+
sellableItems;
|
|
50496
52624
|
sessions;
|
|
50497
52625
|
slotOffers;
|
|
50498
52626
|
slots;
|
|
@@ -50543,6 +52671,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
50543
52671
|
HEADERS: config?.HEADERS,
|
|
50544
52672
|
ENCODE_PATH: config?.ENCODE_PATH
|
|
50545
52673
|
});
|
|
52674
|
+
this.accessCredentials = new AccessCredentialsService(this.request);
|
|
50546
52675
|
this.activity = new ActivityService(this.request);
|
|
50547
52676
|
this.activityPerformance = new ActivityPerformanceService(this.request);
|
|
50548
52677
|
this.activityTypeCategory = new ActivityTypeCategoryService(this.request);
|
|
@@ -50552,6 +52681,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
50552
52681
|
this.booking = new BookingService(this.request);
|
|
50553
52682
|
this.cancellationPolicies = new CancellationPoliciesService(this.request);
|
|
50554
52683
|
this.chat = new ChatService(this.request);
|
|
52684
|
+
this.codelocksLocks = new CodelocksLocksService(this.request);
|
|
50555
52685
|
this.country = new CountryService(this.request);
|
|
50556
52686
|
this.courses = new CoursesService(this.request);
|
|
50557
52687
|
this.courseSessions = new CourseSessionsService(this.request);
|
|
@@ -50570,6 +52700,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
50570
52700
|
this.englandGolfReport = new EnglandGolfReportService(this.request);
|
|
50571
52701
|
this.facilities = new FacilitiesService(this.request);
|
|
50572
52702
|
this.facilityIndividuals = new FacilityIndividualsService(this.request);
|
|
52703
|
+
this.featureAnnouncements = new FeatureAnnouncementsService(this.request);
|
|
50573
52704
|
this.filestack = new FilestackService(this.request);
|
|
50574
52705
|
this.genericActivity = new GenericActivityService(this.request);
|
|
50575
52706
|
this.geocode = new GeocodeService(this.request);
|
|
@@ -50579,6 +52710,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
50579
52710
|
this.imageLibraryImage = new ImageLibraryImageService(this.request);
|
|
50580
52711
|
this.images = new ImagesService(this.request);
|
|
50581
52712
|
this.imageUploadHistory = new ImageUploadHistoryService(this.request);
|
|
52713
|
+
this.integrationCodelocksSettings = new IntegrationCodelocksSettingsService(this.request);
|
|
50582
52714
|
this.integrationDotdigitalFieldMap = new IntegrationDotdigitalFieldMapService(this.request);
|
|
50583
52715
|
this.integrationDotdigitalLog = new IntegrationDotdigitalLogService(this.request);
|
|
50584
52716
|
this.integrationDotDigitalSettings = new IntegrationDotDigitalSettingsService(this.request);
|
|
@@ -50621,6 +52753,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
50621
52753
|
this.publicProgrammes = new PublicProgrammesService(this.request);
|
|
50622
52754
|
this.publicProviders = new PublicProvidersService(this.request);
|
|
50623
52755
|
this.publicScheduledSessions = new PublicScheduledSessionsService(this.request);
|
|
52756
|
+
this.publicSellableItems = new PublicSellableItemsService(this.request);
|
|
50624
52757
|
this.publicSessions = new PublicSessionsService(this.request);
|
|
50625
52758
|
this.publicSlots = new PublicSlotsService(this.request);
|
|
50626
52759
|
this.publicStorefrontStaffPreview = new PublicStorefrontStaffPreviewService(this.request);
|
|
@@ -50638,6 +52771,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
50638
52771
|
this.rescheduleLog = new RescheduleLogService(this.request);
|
|
50639
52772
|
this.scheduledSessions = new ScheduledSessionsService(this.request);
|
|
50640
52773
|
this.scheduledSessionsSchedules = new ScheduledSessionsSchedulesService(this.request);
|
|
52774
|
+
this.sellableItems = new SellableItemsService(this.request);
|
|
50641
52775
|
this.sessions = new SessionsService(this.request);
|
|
50642
52776
|
this.slotOffers = new SlotOffersService(this.request);
|
|
50643
52777
|
this.slots = new SlotsService(this.request);
|
|
@@ -50690,6 +52824,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
50690
52824
|
ActivityType2["FACILITY"] = "Facility";
|
|
50691
52825
|
ActivityType2["SESSION"] = "Session";
|
|
50692
52826
|
ActivityType2["COURSE"] = "Course";
|
|
52827
|
+
ActivityType2["SELLABLE_ITEM"] = "SellableItem";
|
|
50693
52828
|
return ActivityType2;
|
|
50694
52829
|
})(ActivityType || {});var AdvanceBooking = /* @__PURE__ */ ((AdvanceBooking2) => {
|
|
50695
52830
|
AdvanceBooking2["REQUIRED"] = "Required";
|
|
@@ -50923,6 +53058,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
50923
53058
|
return IntegrationDotdigitalLogStatus2;
|
|
50924
53059
|
})(IntegrationDotdigitalLogStatus || {});var IntegrationType = /* @__PURE__ */ ((IntegrationType2) => {
|
|
50925
53060
|
IntegrationType2["DOTDIGITAL_UPSERT_CONTACT"] = "DotdigitalUpsertContact";
|
|
53061
|
+
IntegrationType2["CODELOCKS_GENERATE_NET_CODE"] = "CodelocksGenerateNetCode";
|
|
50926
53062
|
return IntegrationType2;
|
|
50927
53063
|
})(IntegrationType || {});var InviteStatus = /* @__PURE__ */ ((InviteStatus2) => {
|
|
50928
53064
|
InviteStatus2["PENDING"] = "Pending";
|
|
@@ -50943,6 +53079,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
50943
53079
|
NotificationType2["NEW_ACTIVITY"] = "NewActivity";
|
|
50944
53080
|
NotificationType2["PAYMENT_RECIEVED"] = "PaymentRecieved";
|
|
50945
53081
|
NotificationType2["POST_COMPLETION_SURVEY_COMPLETED"] = "PostCompletionSurveyCompleted";
|
|
53082
|
+
NotificationType2["CODELOCKS_ACCESS_CODE_READY"] = "CodelocksAccessCodeReady";
|
|
50946
53083
|
return NotificationType2;
|
|
50947
53084
|
})(NotificationType || {});var OpportunityRegisterStatus = /* @__PURE__ */ ((OpportunityRegisterStatus2) => {
|
|
50948
53085
|
OpportunityRegisterStatus2["ACTIVE"] = "Active";
|
|
@@ -50952,6 +53089,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
50952
53089
|
OpportunityType2["SLOT"] = "Slot";
|
|
50953
53090
|
OpportunityType2["SCHEDULED_SESSION"] = "ScheduledSession";
|
|
50954
53091
|
OpportunityType2["COURSE"] = "Course";
|
|
53092
|
+
OpportunityType2["SELLABLE_ITEM"] = "SellableItem";
|
|
50955
53093
|
return OpportunityType2;
|
|
50956
53094
|
})(OpportunityType || {});var OrderItemStatus = /* @__PURE__ */ ((OrderItemStatus2) => {
|
|
50957
53095
|
OrderItemStatus2["SELLER_CANCELLED"] = "SellerCancelled";
|
|
@@ -51137,4 +53275,4 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
51137
53275
|
WebsiteHomepage2["DEFAULT"] = "Default";
|
|
51138
53276
|
WebsiteHomepage2["MAP"] = "Map";
|
|
51139
53277
|
return WebsiteHomepage2;
|
|
51140
|
-
})(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,PublicSessionsService,PublicSlotsService,PublicStorefrontStaffPreviewService,PublicStripeWebhookService,PublicSurveyCompletionLogsService,PublicSurveyQuestionsService,PublicSurveysService,PublicTenantsService,PublicVenueTypesService,PublicVenuesService,PublicWaitlistActivityService,PublicWaitlistOpportunityService,ReachEntity,ReachOperation,RecentOrderActivityReportService,RefundSource,RefundStatus,RegisterReportService,RescheduleLogService,ScheduleStatus,ScheduledSessionSearchSortBy,ScheduledSessionsSchedulesService,ScheduledSessionsService,SearchSortOrderDirection,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};
|