@wix/blog 1.0.311 → 1.0.313

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,10 +1,13 @@
1
1
  {
2
2
  "name": "@wix/blog",
3
- "version": "1.0.311",
3
+ "version": "1.0.313",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
7
7
  },
8
+ "keywords": [
9
+ "wix-sdk-module=backend,page,public"
10
+ ],
8
11
  "sideEffects": false,
9
12
  "module": "build/es/index.js",
10
13
  "main": "build/cjs/index.js",
@@ -19,7 +22,7 @@
19
22
  ],
20
23
  "dependencies": {
21
24
  "@wix/blog_blog-cache": "1.0.8",
22
- "@wix/blog_blog-importer": "1.0.19",
25
+ "@wix/blog_blog-importer": "1.0.20",
23
26
  "@wix/blog_categories": "1.0.47",
24
27
  "@wix/blog_draft-posts": "1.0.47",
25
28
  "@wix/blog_posts": "1.0.53",
@@ -48,5 +51,5 @@
48
51
  "fqdn": ""
49
52
  }
50
53
  },
51
- "falconPackageHash": "c4ae2a93b07d27cec57b4a85b791a5c54ba6e01544b808911d17f066"
54
+ "falconPackageHash": "fa6bed2d001d95127f9df14170b42bce3840898ca13efb19b3a24d35"
52
55
  }
@@ -1266,16 +1266,6 @@ interface StartImportRequest {
1266
1266
  }
1267
1267
  interface StartImportResponse {
1268
1268
  }
1269
- interface UploadFileForImportRequest {
1270
- /** The content of the WordPress XML file. */
1271
- fileContent?: Uint8Array | null;
1272
- /** The name of the uploaded file. */
1273
- fileName?: string | null;
1274
- }
1275
- interface UploadFileForImportResponse {
1276
- /** Number of posts. */
1277
- totalPosts?: number | null;
1278
- }
1279
1269
  interface SubmitUrlForImportRequest {
1280
1270
  /** Url to wordpress xml file. */
1281
1271
  url: string;
@@ -1335,12 +1325,6 @@ interface StartImportOptions {
1335
1325
  /** Should publish the posts after import. */
1336
1326
  shouldPublish?: boolean | null;
1337
1327
  }
1338
- interface UploadFileForImportOptions {
1339
- /** The content of the WordPress XML file. */
1340
- fileContent?: Uint8Array | null;
1341
- /** The name of the uploaded file. */
1342
- fileName?: string | null;
1343
- }
1344
1328
 
1345
1329
  declare function startImport$1(httpClient: HttpClient): StartImportSignature;
1346
1330
  interface StartImportSignature {
@@ -1349,11 +1333,6 @@ interface StartImportSignature {
1349
1333
  */
1350
1334
  (options?: StartImportOptions | undefined): Promise<void>;
1351
1335
  }
1352
- declare function uploadFileForImport$1(httpClient: HttpClient): UploadFileForImportSignature;
1353
- interface UploadFileForImportSignature {
1354
- /** */
1355
- (options?: UploadFileForImportOptions | undefined): Promise<UploadFileForImportResponse>;
1356
- }
1357
1336
  declare function submitUrlForImport$1(httpClient: HttpClient): SubmitUrlForImportSignature;
1358
1337
  interface SubmitUrlForImportSignature {
1359
1338
  /**
@@ -1386,7 +1365,6 @@ interface GetNotImportedPostsSignature {
1386
1365
  }
1387
1366
 
1388
1367
  declare const startImport: MaybeContext<BuildRESTFunction<typeof startImport$1> & typeof startImport$1>;
1389
- declare const uploadFileForImport: MaybeContext<BuildRESTFunction<typeof uploadFileForImport$1> & typeof uploadFileForImport$1>;
1390
1368
  declare const submitUrlForImport: MaybeContext<BuildRESTFunction<typeof submitUrlForImport$1> & typeof submitUrlForImport$1>;
1391
1369
  declare const validateUrlForImport: MaybeContext<BuildRESTFunction<typeof validateUrlForImport$1> & typeof validateUrlForImport$1>;
1392
1370
  declare const getImportStatus: MaybeContext<BuildRESTFunction<typeof getImportStatus$1> & typeof getImportStatus$1>;
@@ -1404,19 +1382,15 @@ type context$4_StartImportRequest = StartImportRequest;
1404
1382
  type context$4_StartImportResponse = StartImportResponse;
1405
1383
  type context$4_SubmitUrlForImportRequest = SubmitUrlForImportRequest;
1406
1384
  type context$4_SubmitUrlForImportResponse = SubmitUrlForImportResponse;
1407
- type context$4_UploadFileForImportOptions = UploadFileForImportOptions;
1408
- type context$4_UploadFileForImportRequest = UploadFileForImportRequest;
1409
- type context$4_UploadFileForImportResponse = UploadFileForImportResponse;
1410
1385
  type context$4_ValidateUrlForImportRequest = ValidateUrlForImportRequest;
1411
1386
  type context$4_ValidateUrlForImportResponse = ValidateUrlForImportResponse;
1412
1387
  declare const context$4_getImportStatus: typeof getImportStatus;
1413
1388
  declare const context$4_getNotImportedPosts: typeof getNotImportedPosts;
1414
1389
  declare const context$4_startImport: typeof startImport;
1415
1390
  declare const context$4_submitUrlForImport: typeof submitUrlForImport;
1416
- declare const context$4_uploadFileForImport: typeof uploadFileForImport;
1417
1391
  declare const context$4_validateUrlForImport: typeof validateUrlForImport;
1418
1392
  declare namespace context$4 {
1419
- 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_StartImportOptions as StartImportOptions, 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_UploadFileForImportOptions as UploadFileForImportOptions, type context$4_UploadFileForImportRequest as UploadFileForImportRequest, type context$4_UploadFileForImportResponse as UploadFileForImportResponse, 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_uploadFileForImport as uploadFileForImport, context$4_validateUrlForImport as validateUrlForImport };
1393
+ 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_StartImportOptions as StartImportOptions, 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 };
1420
1394
  }
1421
1395
 
1422
1396
  interface Category$2 {
@@ -1266,16 +1266,6 @@ interface StartImportRequest {
1266
1266
  }
1267
1267
  interface StartImportResponse {
1268
1268
  }
1269
- interface UploadFileForImportRequest {
1270
- /** The content of the WordPress XML file. */
1271
- fileContent?: Uint8Array | null;
1272
- /** The name of the uploaded file. */
1273
- fileName?: string | null;
1274
- }
1275
- interface UploadFileForImportResponse {
1276
- /** Number of posts. */
1277
- totalPosts?: number | null;
1278
- }
1279
1269
  interface SubmitUrlForImportRequest {
1280
1270
  /** Url to wordpress xml file. */
1281
1271
  url: string;
@@ -1335,12 +1325,6 @@ interface StartImportOptions {
1335
1325
  /** Should publish the posts after import. */
1336
1326
  shouldPublish?: boolean | null;
1337
1327
  }
1338
- interface UploadFileForImportOptions {
1339
- /** The content of the WordPress XML file. */
1340
- fileContent?: Uint8Array | null;
1341
- /** The name of the uploaded file. */
1342
- fileName?: string | null;
1343
- }
1344
1328
 
1345
1329
  declare function startImport$1(httpClient: HttpClient): StartImportSignature;
1346
1330
  interface StartImportSignature {
@@ -1349,11 +1333,6 @@ interface StartImportSignature {
1349
1333
  */
1350
1334
  (options?: StartImportOptions | undefined): Promise<void>;
1351
1335
  }
1352
- declare function uploadFileForImport$1(httpClient: HttpClient): UploadFileForImportSignature;
1353
- interface UploadFileForImportSignature {
1354
- /** */
1355
- (options?: UploadFileForImportOptions | undefined): Promise<UploadFileForImportResponse>;
1356
- }
1357
1336
  declare function submitUrlForImport$1(httpClient: HttpClient): SubmitUrlForImportSignature;
1358
1337
  interface SubmitUrlForImportSignature {
1359
1338
  /**
@@ -1386,7 +1365,6 @@ interface GetNotImportedPostsSignature {
1386
1365
  }
1387
1366
 
1388
1367
  declare const startImport: MaybeContext<BuildRESTFunction<typeof startImport$1> & typeof startImport$1>;
1389
- declare const uploadFileForImport: MaybeContext<BuildRESTFunction<typeof uploadFileForImport$1> & typeof uploadFileForImport$1>;
1390
1368
  declare const submitUrlForImport: MaybeContext<BuildRESTFunction<typeof submitUrlForImport$1> & typeof submitUrlForImport$1>;
1391
1369
  declare const validateUrlForImport: MaybeContext<BuildRESTFunction<typeof validateUrlForImport$1> & typeof validateUrlForImport$1>;
1392
1370
  declare const getImportStatus: MaybeContext<BuildRESTFunction<typeof getImportStatus$1> & typeof getImportStatus$1>;
@@ -1404,19 +1382,15 @@ type index_d$4_StartImportRequest = StartImportRequest;
1404
1382
  type index_d$4_StartImportResponse = StartImportResponse;
1405
1383
  type index_d$4_SubmitUrlForImportRequest = SubmitUrlForImportRequest;
1406
1384
  type index_d$4_SubmitUrlForImportResponse = SubmitUrlForImportResponse;
1407
- type index_d$4_UploadFileForImportOptions = UploadFileForImportOptions;
1408
- type index_d$4_UploadFileForImportRequest = UploadFileForImportRequest;
1409
- type index_d$4_UploadFileForImportResponse = UploadFileForImportResponse;
1410
1385
  type index_d$4_ValidateUrlForImportRequest = ValidateUrlForImportRequest;
1411
1386
  type index_d$4_ValidateUrlForImportResponse = ValidateUrlForImportResponse;
1412
1387
  declare const index_d$4_getImportStatus: typeof getImportStatus;
1413
1388
  declare const index_d$4_getNotImportedPosts: typeof getNotImportedPosts;
1414
1389
  declare const index_d$4_startImport: typeof startImport;
1415
1390
  declare const index_d$4_submitUrlForImport: typeof submitUrlForImport;
1416
- declare const index_d$4_uploadFileForImport: typeof uploadFileForImport;
1417
1391
  declare const index_d$4_validateUrlForImport: typeof validateUrlForImport;
1418
1392
  declare namespace index_d$4 {
1419
- 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_StartImportOptions as StartImportOptions, 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_UploadFileForImportOptions as UploadFileForImportOptions, type index_d$4_UploadFileForImportRequest as UploadFileForImportRequest, type index_d$4_UploadFileForImportResponse as UploadFileForImportResponse, 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_uploadFileForImport as uploadFileForImport, index_d$4_validateUrlForImport as validateUrlForImport };
1393
+ 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_StartImportOptions as StartImportOptions, 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 };
1420
1394
  }
1421
1395
 
1422
1396
  interface Category$2 {
@@ -792,16 +792,6 @@ interface StartImportRequest$1 {
792
792
  }
793
793
  interface StartImportResponse$1 {
794
794
  }
795
- interface UploadFileForImportRequest$1 {
796
- /** The content of the WordPress XML file. */
797
- fileContent?: Uint8Array | null;
798
- /** The name of the uploaded file. */
799
- fileName?: string | null;
800
- }
801
- interface UploadFileForImportResponse$1 {
802
- /** Number of posts. */
803
- totalPosts?: number | null;
804
- }
805
795
  interface SubmitUrlForImportRequest$1 {
806
796
  /** Url to wordpress xml file. */
807
797
  url: string;
@@ -887,16 +877,6 @@ interface StartImportRequest {
887
877
  }
888
878
  interface StartImportResponse {
889
879
  }
890
- interface UploadFileForImportRequest {
891
- /** The content of the WordPress XML file. */
892
- fileContent?: Uint8Array | null;
893
- /** The name of the uploaded file. */
894
- fileName?: string | null;
895
- }
896
- interface UploadFileForImportResponse {
897
- /** Number of posts. */
898
- totalPosts?: number | null;
899
- }
900
880
  interface SubmitUrlForImportRequest {
901
881
  /** Url to wordpress xml file. */
902
882
  url: string;
@@ -964,7 +944,6 @@ type __PublicMethodMetaInfo$4<K = string, M = unknown, T = unknown, S = unknown,
964
944
  __originalResponseType: R;
965
945
  };
966
946
  declare function startImport(): __PublicMethodMetaInfo$4<'POST', {}, StartImportRequest, StartImportRequest$1, StartImportResponse, StartImportResponse$1>;
967
- declare function uploadFileForImport(): __PublicMethodMetaInfo$4<'POST', {}, UploadFileForImportRequest, UploadFileForImportRequest$1, UploadFileForImportResponse, UploadFileForImportResponse$1>;
968
947
  declare function submitUrlForImport(): __PublicMethodMetaInfo$4<'POST', {}, SubmitUrlForImportRequest, SubmitUrlForImportRequest$1, SubmitUrlForImportResponse, SubmitUrlForImportResponse$1>;
969
948
  declare function validateUrlForImport(): __PublicMethodMetaInfo$4<'POST', {}, ValidateUrlForImportRequest, ValidateUrlForImportRequest$1, ValidateUrlForImportResponse, ValidateUrlForImportResponse$1>;
970
949
  declare function getImportStatus(): __PublicMethodMetaInfo$4<'GET', {}, GetImportStatusRequest, GetImportStatusRequest$1, GetImportStatusResponse & GetImportStatusResponseNonNullableFields, GetImportStatusResponse$1 & GetImportStatusResponseNonNullableFields$1>;
@@ -974,10 +953,9 @@ declare const meta$4_getImportStatus: typeof getImportStatus;
974
953
  declare const meta$4_getNotImportedPosts: typeof getNotImportedPosts;
975
954
  declare const meta$4_startImport: typeof startImport;
976
955
  declare const meta$4_submitUrlForImport: typeof submitUrlForImport;
977
- declare const meta$4_uploadFileForImport: typeof uploadFileForImport;
978
956
  declare const meta$4_validateUrlForImport: typeof validateUrlForImport;
979
957
  declare namespace meta$4 {
980
- 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_uploadFileForImport as uploadFileForImport, meta$4_validateUrlForImport as validateUrlForImport };
958
+ 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 };
981
959
  }
982
960
 
983
961
  interface Category$1 {