@homespot-sdk/core 1.0.2 → 1.0.3

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.
@@ -777,6 +777,44 @@ export const ReorderStagesRequestSchema = {
777
777
  },
778
778
  required: ['stageIds'],
779
779
  };
780
+ export const VideoRequestSchema = {
781
+ type: 'object',
782
+ properties: {
783
+ title: {
784
+ type: 'string',
785
+ maxLength: 200,
786
+ minLength: 0,
787
+ },
788
+ description: {
789
+ type: 'string',
790
+ maxLength: 2000,
791
+ minLength: 0,
792
+ },
793
+ videoKey: {
794
+ type: 'string',
795
+ description: "The video's object key in the guides bucket",
796
+ example: 'HomeSpot_Guide01_Contact_Registration_KA.mp4',
797
+ maxLength: 1024,
798
+ minLength: 0,
799
+ pattern: '^(?!https?://)[^/].*$',
800
+ },
801
+ },
802
+ required: ['title', 'videoKey'],
803
+ };
804
+ export const OrderRequestSchema = {
805
+ type: 'object',
806
+ properties: {
807
+ ids: {
808
+ type: 'array',
809
+ description: "Every video's id, first shown first",
810
+ items: {
811
+ type: 'string',
812
+ format: 'uuid',
813
+ },
814
+ },
815
+ },
816
+ required: ['ids'],
817
+ };
780
818
  export const AddressRequestSchema = {
781
819
  type: 'object',
782
820
  properties: {
@@ -2599,6 +2637,16 @@ export const AdminCheckoutResponseSchema = {
2599
2637
  },
2600
2638
  },
2601
2639
  };
2640
+ export const CreatedSchema = {
2641
+ type: 'object',
2642
+ properties: {
2643
+ id: {
2644
+ type: 'string',
2645
+ format: 'uuid',
2646
+ },
2647
+ },
2648
+ required: ['id'],
2649
+ };
2602
2650
  export const PositionTaskRequestSchema = {
2603
2651
  type: 'object',
2604
2652
  properties: {
@@ -7673,6 +7721,36 @@ export const InboxResponseSchema = {
7673
7721
  },
7674
7722
  },
7675
7723
  };
7724
+ export const GuideVideoViewSchema = {
7725
+ type: 'object',
7726
+ properties: {
7727
+ id: {
7728
+ type: 'string',
7729
+ format: 'uuid',
7730
+ },
7731
+ title: {
7732
+ type: 'string',
7733
+ },
7734
+ description: {
7735
+ type: 'string',
7736
+ },
7737
+ videoUrl: {
7738
+ type: 'string',
7739
+ description: 'Plays straight from the guides bucket',
7740
+ },
7741
+ startedAt: {
7742
+ type: 'string',
7743
+ format: 'date-time',
7744
+ description: 'When the user first played it; null if never',
7745
+ },
7746
+ finishedAt: {
7747
+ type: 'string',
7748
+ format: 'date-time',
7749
+ description: 'When the user first watched past 80% of it; null if not yet',
7750
+ },
7751
+ },
7752
+ required: ['id', 'title', 'videoUrl'],
7753
+ };
7676
7754
  export const ImageSchema = {
7677
7755
  properties: {
7678
7756
  urls: {