@wix/blog 1.0.290 → 1.0.292

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.
@@ -794,6 +794,18 @@ interface SubmitUrlForImportRequest$1 {
794
794
  }
795
795
  interface SubmitUrlForImportResponse$1 {
796
796
  }
797
+ interface ValidateUrlForImportRequest$1 {
798
+ /** Url for wordpress site. */
799
+ url: string | null;
800
+ }
801
+ interface ValidateUrlForImportResponse$1 {
802
+ /** Blog type. */
803
+ blogType?: string | null;
804
+ /** Number of posts. */
805
+ totalPosts?: number | null;
806
+ /** Blog title. */
807
+ blogTitle?: string | null;
808
+ }
797
809
  interface GetImportStatusRequest$1 {
798
810
  }
799
811
  interface GetImportStatusResponse$1 {
@@ -865,6 +877,18 @@ interface SubmitUrlForImportRequest {
865
877
  }
866
878
  interface SubmitUrlForImportResponse {
867
879
  }
880
+ interface ValidateUrlForImportRequest {
881
+ /** Url for wordpress site. */
882
+ url: string | null;
883
+ }
884
+ interface ValidateUrlForImportResponse {
885
+ /** Blog type. */
886
+ blogType?: string | null;
887
+ /** Number of posts. */
888
+ totalPosts?: number | null;
889
+ /** Blog title. */
890
+ blogTitle?: string | null;
891
+ }
868
892
  interface GetImportStatusRequest {
869
893
  }
870
894
  interface GetImportStatusResponse {
@@ -917,6 +941,7 @@ type __PublicMethodMetaInfo$4<K = string, M = unknown, T = unknown, S = unknown,
917
941
  };
918
942
  declare function startImport(): __PublicMethodMetaInfo$4<'POST', {}, StartImportRequest, StartImportRequest$1, StartImportResponse, StartImportResponse$1>;
919
943
  declare function submitUrlForImport(): __PublicMethodMetaInfo$4<'POST', {}, SubmitUrlForImportRequest, SubmitUrlForImportRequest$1, SubmitUrlForImportResponse, SubmitUrlForImportResponse$1>;
944
+ declare function validateUrlForImport(): __PublicMethodMetaInfo$4<'POST', {}, ValidateUrlForImportRequest, ValidateUrlForImportRequest$1, ValidateUrlForImportResponse, ValidateUrlForImportResponse$1>;
920
945
  declare function getImportStatus(): __PublicMethodMetaInfo$4<'GET', {}, GetImportStatusRequest, GetImportStatusRequest$1, GetImportStatusResponse & GetImportStatusResponseNonNullableFields, GetImportStatusResponse$1 & GetImportStatusResponseNonNullableFields$1>;
921
946
  declare function getNotImportedPosts(): __PublicMethodMetaInfo$4<'GET', {}, GetNotImportedPostsRequest, GetNotImportedPostsRequest$1, GetNotImportedPostsResponse & GetNotImportedPostsResponseNonNullableFields, GetNotImportedPostsResponse$1 & GetNotImportedPostsResponseNonNullableFields$1>;
922
947
 
@@ -924,8 +949,9 @@ declare const meta$4_getImportStatus: typeof getImportStatus;
924
949
  declare const meta$4_getNotImportedPosts: typeof getNotImportedPosts;
925
950
  declare const meta$4_startImport: typeof startImport;
926
951
  declare const meta$4_submitUrlForImport: typeof submitUrlForImport;
952
+ declare const meta$4_validateUrlForImport: typeof validateUrlForImport;
927
953
  declare namespace meta$4 {
928
- export { type __PublicMethodMetaInfo$4 as __PublicMethodMetaInfo, meta$4_getImportStatus as getImportStatus, meta$4_getNotImportedPosts as getNotImportedPosts, meta$4_startImport as startImport, meta$4_submitUrlForImport as submitUrlForImport };
954
+ export { type __PublicMethodMetaInfo$4 as __PublicMethodMetaInfo, meta$4_getImportStatus as getImportStatus, meta$4_getNotImportedPosts as getNotImportedPosts, meta$4_startImport as startImport, meta$4_submitUrlForImport as submitUrlForImport, meta$4_validateUrlForImport as validateUrlForImport };
929
955
  }
930
956
 
931
957
  interface Category$1 {