@wix/blog 1.0.291 → 1.0.293

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/blog",
3
- "version": "1.0.291",
3
+ "version": "1.0.293",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -19,10 +19,10 @@
19
19
  ],
20
20
  "dependencies": {
21
21
  "@wix/blog_blog-cache": "1.0.4",
22
- "@wix/blog_blog-importer": "1.0.3",
23
- "@wix/blog_categories": "1.0.40",
24
- "@wix/blog_draft-posts": "1.0.40",
25
- "@wix/blog_posts": "1.0.47",
22
+ "@wix/blog_blog-importer": "1.0.4",
23
+ "@wix/blog_categories": "1.0.41",
24
+ "@wix/blog_draft-posts": "1.0.41",
25
+ "@wix/blog_posts": "1.0.48",
26
26
  "@wix/blog_tags": "1.0.39"
27
27
  },
28
28
  "devDependencies": {
@@ -48,5 +48,5 @@
48
48
  "fqdn": ""
49
49
  }
50
50
  },
51
- "falconPackageHash": "a71cc673df9298d8a59a96006234e831c49432f8572962f8ed9803b7"
51
+ "falconPackageHash": "146adf55ae393832fe18816d6a55fb80cb994c8190cd0fa8fcb8401d"
52
52
  }
@@ -1200,6 +1200,18 @@ interface SubmitUrlForImportRequest {
1200
1200
  }
1201
1201
  interface SubmitUrlForImportResponse {
1202
1202
  }
1203
+ interface ValidateUrlForImportRequest {
1204
+ /** Url for wordpress site. */
1205
+ url: string | null;
1206
+ }
1207
+ interface ValidateUrlForImportResponse {
1208
+ /** Blog type. */
1209
+ blogType?: string | null;
1210
+ /** Number of posts. */
1211
+ totalPosts?: number | null;
1212
+ /** Blog title. */
1213
+ blogTitle?: string | null;
1214
+ }
1203
1215
  interface GetImportStatusRequest {
1204
1216
  }
1205
1217
  interface GetImportStatusResponse {
@@ -1258,6 +1270,11 @@ interface SubmitUrlForImportSignature {
1258
1270
  */
1259
1271
  (url: string): Promise<void>;
1260
1272
  }
1273
+ declare function validateUrlForImport$1(httpClient: HttpClient): ValidateUrlForImportSignature;
1274
+ interface ValidateUrlForImportSignature {
1275
+ /** @param - Url for wordpress site. */
1276
+ (url: string | null): Promise<ValidateUrlForImportResponse>;
1277
+ }
1261
1278
  declare function getImportStatus$1(httpClient: HttpClient): GetImportStatusSignature;
1262
1279
  interface GetImportStatusSignature {
1263
1280
  /**
@@ -1275,6 +1292,7 @@ interface GetNotImportedPostsSignature {
1275
1292
 
1276
1293
  declare const startImport: MaybeContext<BuildRESTFunction<typeof startImport$1> & typeof startImport$1>;
1277
1294
  declare const submitUrlForImport: MaybeContext<BuildRESTFunction<typeof submitUrlForImport$1> & typeof submitUrlForImport$1>;
1295
+ declare const validateUrlForImport: MaybeContext<BuildRESTFunction<typeof validateUrlForImport$1> & typeof validateUrlForImport$1>;
1278
1296
  declare const getImportStatus: MaybeContext<BuildRESTFunction<typeof getImportStatus$1> & typeof getImportStatus$1>;
1279
1297
  declare const getNotImportedPosts: MaybeContext<BuildRESTFunction<typeof getNotImportedPosts$1> & typeof getNotImportedPosts$1>;
1280
1298
 
@@ -1289,12 +1307,15 @@ type context$4_StartImportRequest = StartImportRequest;
1289
1307
  type context$4_StartImportResponse = StartImportResponse;
1290
1308
  type context$4_SubmitUrlForImportRequest = SubmitUrlForImportRequest;
1291
1309
  type context$4_SubmitUrlForImportResponse = SubmitUrlForImportResponse;
1310
+ type context$4_ValidateUrlForImportRequest = ValidateUrlForImportRequest;
1311
+ type context$4_ValidateUrlForImportResponse = ValidateUrlForImportResponse;
1292
1312
  declare const context$4_getImportStatus: typeof getImportStatus;
1293
1313
  declare const context$4_getNotImportedPosts: typeof getNotImportedPosts;
1294
1314
  declare const context$4_startImport: typeof startImport;
1295
1315
  declare const context$4_submitUrlForImport: typeof submitUrlForImport;
1316
+ declare const context$4_validateUrlForImport: typeof validateUrlForImport;
1296
1317
  declare namespace context$4 {
1297
- export { type context$4_GetImportStatusRequest as GetImportStatusRequest, type context$4_GetImportStatusResponse as GetImportStatusResponse, type context$4_GetImportStatusResponseNonNullableFields as GetImportStatusResponseNonNullableFields, type context$4_GetNotImportedPostsRequest as GetNotImportedPostsRequest, type context$4_GetNotImportedPostsResponse as GetNotImportedPostsResponse, type context$4_GetNotImportedPostsResponseNonNullableFields as GetNotImportedPostsResponseNonNullableFields, type context$4_ImportStatus as ImportStatus, type Post$1 as Post, type context$4_StartImportRequest as StartImportRequest, type context$4_StartImportResponse as StartImportResponse, Status$2 as Status, type context$4_SubmitUrlForImportRequest as SubmitUrlForImportRequest, type context$4_SubmitUrlForImportResponse as SubmitUrlForImportResponse, context$4_getImportStatus as getImportStatus, context$4_getNotImportedPosts as getNotImportedPosts, context$4_startImport as startImport, context$4_submitUrlForImport as submitUrlForImport };
1318
+ export { type context$4_GetImportStatusRequest as GetImportStatusRequest, type context$4_GetImportStatusResponse as GetImportStatusResponse, type context$4_GetImportStatusResponseNonNullableFields as GetImportStatusResponseNonNullableFields, type context$4_GetNotImportedPostsRequest as GetNotImportedPostsRequest, type context$4_GetNotImportedPostsResponse as GetNotImportedPostsResponse, type context$4_GetNotImportedPostsResponseNonNullableFields as GetNotImportedPostsResponseNonNullableFields, type context$4_ImportStatus as ImportStatus, type Post$1 as Post, type context$4_StartImportRequest as StartImportRequest, type context$4_StartImportResponse as StartImportResponse, Status$2 as Status, type context$4_SubmitUrlForImportRequest as SubmitUrlForImportRequest, type context$4_SubmitUrlForImportResponse as SubmitUrlForImportResponse, type context$4_ValidateUrlForImportRequest as ValidateUrlForImportRequest, type context$4_ValidateUrlForImportResponse as ValidateUrlForImportResponse, context$4_getImportStatus as getImportStatus, context$4_getNotImportedPosts as getNotImportedPosts, context$4_startImport as startImport, context$4_submitUrlForImport as submitUrlForImport, context$4_validateUrlForImport as validateUrlForImport };
1298
1319
  }
1299
1320
 
1300
1321
  interface Category$2 {
@@ -1320,13 +1341,6 @@ interface Category$2 {
1320
1341
  description?: string | null;
1321
1342
  /** Category title. */
1322
1343
  title?: string;
1323
- /**
1324
- * Reserved for internal use.
1325
- * @deprecated Category position in sequence.
1326
- * @replacedBy display_position
1327
- * @targetRemovalDate 2024-06-30
1328
- */
1329
- rank?: number | null;
1330
1344
  /** Position of the category in the [Category Menu](https://support.wix.com/en/article/wix-blog-adding-and-customizing-a-category-menu). Categories with lower display position are displayed first. */
1331
1345
  displayPosition?: number | null;
1332
1346
  /** ID of the category's translations when [Wix Multilingual](https://support.wix.com/en/article/wix-multilingual-translating-your-blog) is installed on a site. All translations of a single category will share the same `translationId`. */
@@ -4499,13 +4513,6 @@ interface Category$1 {
4499
4513
  description?: string | null;
4500
4514
  /** Category title. */
4501
4515
  title?: string;
4502
- /**
4503
- * Category position in sequence.
4504
- * @deprecated Category position in sequence.
4505
- * @replacedBy display_position
4506
- * @targetRemovalDate 2024-06-30
4507
- */
4508
- rank?: number | null;
4509
4516
  /**
4510
4517
  * Category position in sequence. Categories with a lower display position are displayed first. Categories with a position of `-1` appear at the end of the sequence.
4511
4518
  *
@@ -7765,13 +7772,6 @@ interface Category {
7765
7772
  description?: string | null;
7766
7773
  /** Category title. */
7767
7774
  title?: string;
7768
- /**
7769
- * Category position in sequence.
7770
- * @deprecated Category position in sequence.
7771
- * @replacedBy display_position
7772
- * @targetRemovalDate 2024-06-30
7773
- */
7774
- rank?: number | null;
7775
7775
  /**
7776
7776
  * Category position in sequence. Categories with a lower display position are displayed first. Categories with a position of `-1` appear at the end of the sequence.
7777
7777
  *
@@ -1200,6 +1200,18 @@ interface SubmitUrlForImportRequest {
1200
1200
  }
1201
1201
  interface SubmitUrlForImportResponse {
1202
1202
  }
1203
+ interface ValidateUrlForImportRequest {
1204
+ /** Url for wordpress site. */
1205
+ url: string | null;
1206
+ }
1207
+ interface ValidateUrlForImportResponse {
1208
+ /** Blog type. */
1209
+ blogType?: string | null;
1210
+ /** Number of posts. */
1211
+ totalPosts?: number | null;
1212
+ /** Blog title. */
1213
+ blogTitle?: string | null;
1214
+ }
1203
1215
  interface GetImportStatusRequest {
1204
1216
  }
1205
1217
  interface GetImportStatusResponse {
@@ -1258,6 +1270,11 @@ interface SubmitUrlForImportSignature {
1258
1270
  */
1259
1271
  (url: string): Promise<void>;
1260
1272
  }
1273
+ declare function validateUrlForImport$1(httpClient: HttpClient): ValidateUrlForImportSignature;
1274
+ interface ValidateUrlForImportSignature {
1275
+ /** @param - Url for wordpress site. */
1276
+ (url: string | null): Promise<ValidateUrlForImportResponse>;
1277
+ }
1261
1278
  declare function getImportStatus$1(httpClient: HttpClient): GetImportStatusSignature;
1262
1279
  interface GetImportStatusSignature {
1263
1280
  /**
@@ -1275,6 +1292,7 @@ interface GetNotImportedPostsSignature {
1275
1292
 
1276
1293
  declare const startImport: MaybeContext<BuildRESTFunction<typeof startImport$1> & typeof startImport$1>;
1277
1294
  declare const submitUrlForImport: MaybeContext<BuildRESTFunction<typeof submitUrlForImport$1> & typeof submitUrlForImport$1>;
1295
+ declare const validateUrlForImport: MaybeContext<BuildRESTFunction<typeof validateUrlForImport$1> & typeof validateUrlForImport$1>;
1278
1296
  declare const getImportStatus: MaybeContext<BuildRESTFunction<typeof getImportStatus$1> & typeof getImportStatus$1>;
1279
1297
  declare const getNotImportedPosts: MaybeContext<BuildRESTFunction<typeof getNotImportedPosts$1> & typeof getNotImportedPosts$1>;
1280
1298
 
@@ -1289,12 +1307,15 @@ type index_d$4_StartImportRequest = StartImportRequest;
1289
1307
  type index_d$4_StartImportResponse = StartImportResponse;
1290
1308
  type index_d$4_SubmitUrlForImportRequest = SubmitUrlForImportRequest;
1291
1309
  type index_d$4_SubmitUrlForImportResponse = SubmitUrlForImportResponse;
1310
+ type index_d$4_ValidateUrlForImportRequest = ValidateUrlForImportRequest;
1311
+ type index_d$4_ValidateUrlForImportResponse = ValidateUrlForImportResponse;
1292
1312
  declare const index_d$4_getImportStatus: typeof getImportStatus;
1293
1313
  declare const index_d$4_getNotImportedPosts: typeof getNotImportedPosts;
1294
1314
  declare const index_d$4_startImport: typeof startImport;
1295
1315
  declare const index_d$4_submitUrlForImport: typeof submitUrlForImport;
1316
+ declare const index_d$4_validateUrlForImport: typeof validateUrlForImport;
1296
1317
  declare namespace index_d$4 {
1297
- export { type index_d$4_GetImportStatusRequest as GetImportStatusRequest, type index_d$4_GetImportStatusResponse as GetImportStatusResponse, type index_d$4_GetImportStatusResponseNonNullableFields as GetImportStatusResponseNonNullableFields, type index_d$4_GetNotImportedPostsRequest as GetNotImportedPostsRequest, type index_d$4_GetNotImportedPostsResponse as GetNotImportedPostsResponse, type index_d$4_GetNotImportedPostsResponseNonNullableFields as GetNotImportedPostsResponseNonNullableFields, type index_d$4_ImportStatus as ImportStatus, type Post$1 as Post, type index_d$4_StartImportRequest as StartImportRequest, type index_d$4_StartImportResponse as StartImportResponse, Status$2 as Status, type index_d$4_SubmitUrlForImportRequest as SubmitUrlForImportRequest, type index_d$4_SubmitUrlForImportResponse as SubmitUrlForImportResponse, index_d$4_getImportStatus as getImportStatus, index_d$4_getNotImportedPosts as getNotImportedPosts, index_d$4_startImport as startImport, index_d$4_submitUrlForImport as submitUrlForImport };
1318
+ export { type index_d$4_GetImportStatusRequest as GetImportStatusRequest, type index_d$4_GetImportStatusResponse as GetImportStatusResponse, type index_d$4_GetImportStatusResponseNonNullableFields as GetImportStatusResponseNonNullableFields, type index_d$4_GetNotImportedPostsRequest as GetNotImportedPostsRequest, type index_d$4_GetNotImportedPostsResponse as GetNotImportedPostsResponse, type index_d$4_GetNotImportedPostsResponseNonNullableFields as GetNotImportedPostsResponseNonNullableFields, type index_d$4_ImportStatus as ImportStatus, type Post$1 as Post, type index_d$4_StartImportRequest as StartImportRequest, type index_d$4_StartImportResponse as StartImportResponse, Status$2 as Status, type index_d$4_SubmitUrlForImportRequest as SubmitUrlForImportRequest, type index_d$4_SubmitUrlForImportResponse as SubmitUrlForImportResponse, type index_d$4_ValidateUrlForImportRequest as ValidateUrlForImportRequest, type index_d$4_ValidateUrlForImportResponse as ValidateUrlForImportResponse, index_d$4_getImportStatus as getImportStatus, index_d$4_getNotImportedPosts as getNotImportedPosts, index_d$4_startImport as startImport, index_d$4_submitUrlForImport as submitUrlForImport, index_d$4_validateUrlForImport as validateUrlForImport };
1298
1319
  }
1299
1320
 
1300
1321
  interface Category$2 {
@@ -1320,13 +1341,6 @@ interface Category$2 {
1320
1341
  description?: string | null;
1321
1342
  /** Category title. */
1322
1343
  title?: string;
1323
- /**
1324
- * Reserved for internal use.
1325
- * @deprecated Category position in sequence.
1326
- * @replacedBy display_position
1327
- * @targetRemovalDate 2024-06-30
1328
- */
1329
- rank?: number | null;
1330
1344
  /** Position of the category in the [Category Menu](https://support.wix.com/en/article/wix-blog-adding-and-customizing-a-category-menu). Categories with lower display position are displayed first. */
1331
1345
  displayPosition?: number | null;
1332
1346
  /** ID of the category's translations when [Wix Multilingual](https://support.wix.com/en/article/wix-multilingual-translating-your-blog) is installed on a site. All translations of a single category will share the same `translationId`. */
@@ -4499,13 +4513,6 @@ interface Category$1 {
4499
4513
  description?: string | null;
4500
4514
  /** Category title. */
4501
4515
  title?: string;
4502
- /**
4503
- * Category position in sequence.
4504
- * @deprecated Category position in sequence.
4505
- * @replacedBy display_position
4506
- * @targetRemovalDate 2024-06-30
4507
- */
4508
- rank?: number | null;
4509
4516
  /**
4510
4517
  * Category position in sequence. Categories with a lower display position are displayed first. Categories with a position of `-1` appear at the end of the sequence.
4511
4518
  *
@@ -7765,13 +7772,6 @@ interface Category {
7765
7772
  description?: string | null;
7766
7773
  /** Category title. */
7767
7774
  title?: string;
7768
- /**
7769
- * Category position in sequence.
7770
- * @deprecated Category position in sequence.
7771
- * @replacedBy display_position
7772
- * @targetRemovalDate 2024-06-30
7773
- */
7774
- rank?: number | null;
7775
7775
  /**
7776
7776
  * Category position in sequence. Categories with a lower display position are displayed first. Categories with a position of `-1` appear at the end of the sequence.
7777
7777
  *
@@ -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 {
@@ -947,13 +973,6 @@ interface Category$1 {
947
973
  description?: string | null;
948
974
  /** Category title. */
949
975
  title?: string;
950
- /**
951
- * Category position in sequence.
952
- * @deprecated Category position in sequence.
953
- * @replacedBy display_position
954
- * @targetRemovalDate 2024-06-30
955
- */
956
- rank?: number | null;
957
976
  /**
958
977
  * Category position in sequence. Categories with a lower display position are displayed first. Categories with a position of `-1` appear at the end of the sequence.
959
978
  *
@@ -1339,13 +1358,6 @@ interface Category {
1339
1358
  description?: string | null;
1340
1359
  /** Category title. */
1341
1360
  title?: string;
1342
- /**
1343
- * Reserved for internal use.
1344
- * @deprecated Category position in sequence.
1345
- * @replacedBy display_position
1346
- * @targetRemovalDate 2024-06-30
1347
- */
1348
- rank?: number | null;
1349
1361
  /** Position of the category in the [Category Menu](https://support.wix.com/en/article/wix-blog-adding-and-customizing-a-category-menu). Categories with lower display position are displayed first. */
1350
1362
  displayPosition?: number | null;
1351
1363
  /** ID of the category's translations when [Wix Multilingual](https://support.wix.com/en/article/wix-multilingual-translating-your-blog) is installed on a site. All translations of a single category will share the same `translationId`. */