@wix/blog 1.0.299 → 1.0.300

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.299",
3
+ "version": "1.0.300",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -19,7 +19,7 @@
19
19
  ],
20
20
  "dependencies": {
21
21
  "@wix/blog_blog-cache": "1.0.5",
22
- "@wix/blog_blog-importer": "1.0.10",
22
+ "@wix/blog_blog-importer": "1.0.11",
23
23
  "@wix/blog_categories": "1.0.42",
24
24
  "@wix/blog_draft-posts": "1.0.42",
25
25
  "@wix/blog_posts": "1.0.49",
@@ -48,5 +48,5 @@
48
48
  "fqdn": ""
49
49
  }
50
50
  },
51
- "falconPackageHash": "fefd6a2722ae5f5cb7a1f5c1d9c8d3d18cea5b427b02c78d08e66fc0"
51
+ "falconPackageHash": "7defdb10f3b7fe62f2de860e8f091b74f0c56cf683bc5d4ad7e415d2"
52
52
  }
@@ -1196,6 +1196,14 @@ interface StartImportRequest {
1196
1196
  }
1197
1197
  interface StartImportResponse {
1198
1198
  }
1199
+ interface UploadFileForImportRequest {
1200
+ /** The content of the WordPress XML file. */
1201
+ fileContent?: Uint8Array | null;
1202
+ /** The name of the uploaded file. */
1203
+ fileName?: string | null;
1204
+ }
1205
+ interface UploadFileForImportResponse {
1206
+ }
1199
1207
  interface SubmitUrlForImportRequest {
1200
1208
  /** Url to wordpress xml file. */
1201
1209
  url: string;
@@ -1257,6 +1265,12 @@ interface StartImportOptions {
1257
1265
  /** Should publish the posts after import. */
1258
1266
  shouldPublish?: boolean | null;
1259
1267
  }
1268
+ interface UploadFileForImportOptions {
1269
+ /** The content of the WordPress XML file. */
1270
+ fileContent?: Uint8Array | null;
1271
+ /** The name of the uploaded file. */
1272
+ fileName?: string | null;
1273
+ }
1260
1274
 
1261
1275
  declare function startImport$1(httpClient: HttpClient): StartImportSignature;
1262
1276
  interface StartImportSignature {
@@ -1265,6 +1279,11 @@ interface StartImportSignature {
1265
1279
  */
1266
1280
  (options?: StartImportOptions | undefined): Promise<void>;
1267
1281
  }
1282
+ declare function uploadFileForImport$1(httpClient: HttpClient): UploadFileForImportSignature;
1283
+ interface UploadFileForImportSignature {
1284
+ /** */
1285
+ (options?: UploadFileForImportOptions | undefined): Promise<void>;
1286
+ }
1268
1287
  declare function submitUrlForImport$1(httpClient: HttpClient): SubmitUrlForImportSignature;
1269
1288
  interface SubmitUrlForImportSignature {
1270
1289
  /**
@@ -1297,6 +1316,7 @@ interface GetNotImportedPostsSignature {
1297
1316
  }
1298
1317
 
1299
1318
  declare const startImport: MaybeContext<BuildRESTFunction<typeof startImport$1> & typeof startImport$1>;
1319
+ declare const uploadFileForImport: MaybeContext<BuildRESTFunction<typeof uploadFileForImport$1> & typeof uploadFileForImport$1>;
1300
1320
  declare const submitUrlForImport: MaybeContext<BuildRESTFunction<typeof submitUrlForImport$1> & typeof submitUrlForImport$1>;
1301
1321
  declare const validateUrlForImport: MaybeContext<BuildRESTFunction<typeof validateUrlForImport$1> & typeof validateUrlForImport$1>;
1302
1322
  declare const getImportStatus: MaybeContext<BuildRESTFunction<typeof getImportStatus$1> & typeof getImportStatus$1>;
@@ -1314,15 +1334,19 @@ type context$4_StartImportRequest = StartImportRequest;
1314
1334
  type context$4_StartImportResponse = StartImportResponse;
1315
1335
  type context$4_SubmitUrlForImportRequest = SubmitUrlForImportRequest;
1316
1336
  type context$4_SubmitUrlForImportResponse = SubmitUrlForImportResponse;
1337
+ type context$4_UploadFileForImportOptions = UploadFileForImportOptions;
1338
+ type context$4_UploadFileForImportRequest = UploadFileForImportRequest;
1339
+ type context$4_UploadFileForImportResponse = UploadFileForImportResponse;
1317
1340
  type context$4_ValidateUrlForImportRequest = ValidateUrlForImportRequest;
1318
1341
  type context$4_ValidateUrlForImportResponse = ValidateUrlForImportResponse;
1319
1342
  declare const context$4_getImportStatus: typeof getImportStatus;
1320
1343
  declare const context$4_getNotImportedPosts: typeof getNotImportedPosts;
1321
1344
  declare const context$4_startImport: typeof startImport;
1322
1345
  declare const context$4_submitUrlForImport: typeof submitUrlForImport;
1346
+ declare const context$4_uploadFileForImport: typeof uploadFileForImport;
1323
1347
  declare const context$4_validateUrlForImport: typeof validateUrlForImport;
1324
1348
  declare namespace context$4 {
1325
- 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 };
1349
+ 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 };
1326
1350
  }
1327
1351
 
1328
1352
  interface Category$2 {
@@ -1196,6 +1196,14 @@ interface StartImportRequest {
1196
1196
  }
1197
1197
  interface StartImportResponse {
1198
1198
  }
1199
+ interface UploadFileForImportRequest {
1200
+ /** The content of the WordPress XML file. */
1201
+ fileContent?: Uint8Array | null;
1202
+ /** The name of the uploaded file. */
1203
+ fileName?: string | null;
1204
+ }
1205
+ interface UploadFileForImportResponse {
1206
+ }
1199
1207
  interface SubmitUrlForImportRequest {
1200
1208
  /** Url to wordpress xml file. */
1201
1209
  url: string;
@@ -1257,6 +1265,12 @@ interface StartImportOptions {
1257
1265
  /** Should publish the posts after import. */
1258
1266
  shouldPublish?: boolean | null;
1259
1267
  }
1268
+ interface UploadFileForImportOptions {
1269
+ /** The content of the WordPress XML file. */
1270
+ fileContent?: Uint8Array | null;
1271
+ /** The name of the uploaded file. */
1272
+ fileName?: string | null;
1273
+ }
1260
1274
 
1261
1275
  declare function startImport$1(httpClient: HttpClient): StartImportSignature;
1262
1276
  interface StartImportSignature {
@@ -1265,6 +1279,11 @@ interface StartImportSignature {
1265
1279
  */
1266
1280
  (options?: StartImportOptions | undefined): Promise<void>;
1267
1281
  }
1282
+ declare function uploadFileForImport$1(httpClient: HttpClient): UploadFileForImportSignature;
1283
+ interface UploadFileForImportSignature {
1284
+ /** */
1285
+ (options?: UploadFileForImportOptions | undefined): Promise<void>;
1286
+ }
1268
1287
  declare function submitUrlForImport$1(httpClient: HttpClient): SubmitUrlForImportSignature;
1269
1288
  interface SubmitUrlForImportSignature {
1270
1289
  /**
@@ -1297,6 +1316,7 @@ interface GetNotImportedPostsSignature {
1297
1316
  }
1298
1317
 
1299
1318
  declare const startImport: MaybeContext<BuildRESTFunction<typeof startImport$1> & typeof startImport$1>;
1319
+ declare const uploadFileForImport: MaybeContext<BuildRESTFunction<typeof uploadFileForImport$1> & typeof uploadFileForImport$1>;
1300
1320
  declare const submitUrlForImport: MaybeContext<BuildRESTFunction<typeof submitUrlForImport$1> & typeof submitUrlForImport$1>;
1301
1321
  declare const validateUrlForImport: MaybeContext<BuildRESTFunction<typeof validateUrlForImport$1> & typeof validateUrlForImport$1>;
1302
1322
  declare const getImportStatus: MaybeContext<BuildRESTFunction<typeof getImportStatus$1> & typeof getImportStatus$1>;
@@ -1314,15 +1334,19 @@ type index_d$4_StartImportRequest = StartImportRequest;
1314
1334
  type index_d$4_StartImportResponse = StartImportResponse;
1315
1335
  type index_d$4_SubmitUrlForImportRequest = SubmitUrlForImportRequest;
1316
1336
  type index_d$4_SubmitUrlForImportResponse = SubmitUrlForImportResponse;
1337
+ type index_d$4_UploadFileForImportOptions = UploadFileForImportOptions;
1338
+ type index_d$4_UploadFileForImportRequest = UploadFileForImportRequest;
1339
+ type index_d$4_UploadFileForImportResponse = UploadFileForImportResponse;
1317
1340
  type index_d$4_ValidateUrlForImportRequest = ValidateUrlForImportRequest;
1318
1341
  type index_d$4_ValidateUrlForImportResponse = ValidateUrlForImportResponse;
1319
1342
  declare const index_d$4_getImportStatus: typeof getImportStatus;
1320
1343
  declare const index_d$4_getNotImportedPosts: typeof getNotImportedPosts;
1321
1344
  declare const index_d$4_startImport: typeof startImport;
1322
1345
  declare const index_d$4_submitUrlForImport: typeof submitUrlForImport;
1346
+ declare const index_d$4_uploadFileForImport: typeof uploadFileForImport;
1323
1347
  declare const index_d$4_validateUrlForImport: typeof validateUrlForImport;
1324
1348
  declare namespace index_d$4 {
1325
- 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 };
1349
+ 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 };
1326
1350
  }
1327
1351
 
1328
1352
  interface Category$2 {
@@ -790,6 +790,14 @@ interface StartImportRequest$1 {
790
790
  }
791
791
  interface StartImportResponse$1 {
792
792
  }
793
+ interface UploadFileForImportRequest$1 {
794
+ /** The content of the WordPress XML file. */
795
+ fileContent?: Uint8Array | null;
796
+ /** The name of the uploaded file. */
797
+ fileName?: string | null;
798
+ }
799
+ interface UploadFileForImportResponse$1 {
800
+ }
793
801
  interface SubmitUrlForImportRequest$1 {
794
802
  /** Url to wordpress xml file. */
795
803
  url: string;
@@ -875,6 +883,14 @@ interface StartImportRequest {
875
883
  }
876
884
  interface StartImportResponse {
877
885
  }
886
+ interface UploadFileForImportRequest {
887
+ /** The content of the WordPress XML file. */
888
+ fileContent?: Uint8Array | null;
889
+ /** The name of the uploaded file. */
890
+ fileName?: string | null;
891
+ }
892
+ interface UploadFileForImportResponse {
893
+ }
878
894
  interface SubmitUrlForImportRequest {
879
895
  /** Url to wordpress xml file. */
880
896
  url: string;
@@ -944,6 +960,7 @@ type __PublicMethodMetaInfo$4<K = string, M = unknown, T = unknown, S = unknown,
944
960
  __originalResponseType: R;
945
961
  };
946
962
  declare function startImport(): __PublicMethodMetaInfo$4<'POST', {}, StartImportRequest, StartImportRequest$1, StartImportResponse, StartImportResponse$1>;
963
+ declare function uploadFileForImport(): __PublicMethodMetaInfo$4<'POST', {}, UploadFileForImportRequest, UploadFileForImportRequest$1, UploadFileForImportResponse, UploadFileForImportResponse$1>;
947
964
  declare function submitUrlForImport(): __PublicMethodMetaInfo$4<'POST', {}, SubmitUrlForImportRequest, SubmitUrlForImportRequest$1, SubmitUrlForImportResponse, SubmitUrlForImportResponse$1>;
948
965
  declare function validateUrlForImport(): __PublicMethodMetaInfo$4<'POST', {}, ValidateUrlForImportRequest, ValidateUrlForImportRequest$1, ValidateUrlForImportResponse, ValidateUrlForImportResponse$1>;
949
966
  declare function getImportStatus(): __PublicMethodMetaInfo$4<'GET', {}, GetImportStatusRequest, GetImportStatusRequest$1, GetImportStatusResponse & GetImportStatusResponseNonNullableFields, GetImportStatusResponse$1 & GetImportStatusResponseNonNullableFields$1>;
@@ -953,9 +970,10 @@ declare const meta$4_getImportStatus: typeof getImportStatus;
953
970
  declare const meta$4_getNotImportedPosts: typeof getNotImportedPosts;
954
971
  declare const meta$4_startImport: typeof startImport;
955
972
  declare const meta$4_submitUrlForImport: typeof submitUrlForImport;
973
+ declare const meta$4_uploadFileForImport: typeof uploadFileForImport;
956
974
  declare const meta$4_validateUrlForImport: typeof validateUrlForImport;
957
975
  declare namespace meta$4 {
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 };
976
+ 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 };
959
977
  }
960
978
 
961
979
  interface Category$1 {