@wix/auto_sdk_metro_products 1.0.16 → 1.0.18
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/build/cjs/index.d.ts +1 -1
- package/build/cjs/index.js +9 -11
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +10 -9
- package/build/cjs/index.typings.js +9 -11
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +2 -5
- package/build/cjs/meta.js +0 -2
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/schemas.d.ts +861 -0
- package/build/cjs/schemas.js +1022 -0
- package/build/cjs/schemas.js.map +1 -0
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +7 -7
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +10 -9
- package/build/es/index.typings.mjs +7 -7
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +2 -5
- package/build/es/meta.mjs +0 -2
- package/build/es/meta.mjs.map +1 -1
- package/build/es/schemas.d.mts +861 -0
- package/build/es/schemas.mjs +966 -0
- package/build/es/schemas.mjs.map +1 -0
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +9 -11
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +10 -9
- package/build/internal/cjs/index.typings.js +9 -11
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +2 -5
- package/build/internal/cjs/meta.js +0 -2
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/cjs/schemas.d.ts +861 -0
- package/build/internal/cjs/schemas.js +1022 -0
- package/build/internal/cjs/schemas.js.map +1 -0
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs +7 -7
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +10 -9
- package/build/internal/es/index.typings.mjs +7 -7
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +2 -5
- package/build/internal/es/meta.mjs +0 -2
- package/build/internal/es/meta.mjs.map +1 -1
- package/build/internal/es/schemas.d.mts +861 -0
- package/build/internal/es/schemas.mjs +966 -0
- package/build/internal/es/schemas.mjs.map +1 -0
- package/package.json +12 -5
- package/schemas/package.json +3 -0
package/build/cjs/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient, NonNullablePaths, MaybeContext, BuildRESTFunction } from '@wix/sdk-types';
|
|
2
2
|
import { CreateProductOptions, Product, CreateProductApplicationErrors, UpdateProductOptions, GetProductOptions, CountProductsOptions, CountProductsResponse, GetProductsStartWithOptions, GetProductsStartWithResponse, BulkCreateProductsOptions, BulkCreateProductsResponse, MaskedProduct, BulkUpdateProductsOptions, BulkUpdateProductsResponse, BulkDeleteProductsResponse, ProductQuery, QueryProductsOptions, typedQueryProducts, ProductsQueryBuilder } from './index.typings.js';
|
|
3
|
-
export { Address, AddressLocation, AddressStreetOneOf, ApplicationError, BulkActionMetadata, BulkCreateProductsRequest, BulkDeleteProductsRequest, BulkDeleteProductsResponseBulkProductResult, BulkProductResult, BulkUpdateProductsRequest, BulkUpdateProductsResponseBulkProductResult, CommonQueryWithEntityContext, CountProductsRequest, CreateProductRequest, CreateProductResponse, CursorPaging, Cursors, DeleteProductRequest, DeleteProductResponse,
|
|
3
|
+
export { Address, AddressLocation, AddressStreetOneOf, ApplicationError, BulkActionMetadata, BulkCreateProductsRequest, BulkDeleteProductsRequest, BulkDeleteProductsResponseBulkProductResult, BulkProductResult, BulkUpdateProductsRequest, BulkUpdateProductsResponseBulkProductResult, CommonQueryWithEntityContext, CountProductsRequest, CreateProductRequest, CreateProductResponse, CursorPaging, Cursors, DeleteProductRequest, DeleteProductResponse, FocalPoint, GetProductRequest, GetProductResponse, GetProductsStartWithRequest, ItemMetadata, LinkRel, LinkRelWithLiterals, MyAddress, PageLink, Paging, PagingMetadataV2, ProductQuerySpec, ProductsQueryResult, QueryProductsRequest, QueryProductsResponse, QueryV2, QueryV2PagingMethodOneOf, RequestedFields, RequestedFieldsWithLiterals, ResetProductsDbRequest, ResetProductsDbResponse, SortOrder, SortOrderWithLiterals, Sorting, StandardDetails, StreetAddress, Subdivision, SubdivisionType, SubdivisionTypeWithLiterals, UpdateProductRequest, UpdateProductResponse, Variant, VideoResolution, utils } from './index.typings.js';
|
|
4
4
|
|
|
5
5
|
declare function createProduct$1(httpClient: HttpClient): CreateProductSignature;
|
|
6
6
|
interface CreateProductSignature {
|
package/build/cjs/index.js
CHANGED
|
@@ -20,11 +20,8 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
20
20
|
// index.ts
|
|
21
21
|
var index_exports = {};
|
|
22
22
|
__export(index_exports, {
|
|
23
|
-
Filter: () => Filter,
|
|
24
23
|
LinkRel: () => LinkRel,
|
|
25
|
-
QueryBuilder: () => QueryBuilder,
|
|
26
24
|
RequestedFields: () => RequestedFields,
|
|
27
|
-
Sort: () => Sort,
|
|
28
25
|
SortOrder: () => SortOrder,
|
|
29
26
|
SubdivisionType: () => SubdivisionType,
|
|
30
27
|
bulkCreateProducts: () => bulkCreateProducts4,
|
|
@@ -36,7 +33,8 @@ __export(index_exports, {
|
|
|
36
33
|
getProduct: () => getProduct4,
|
|
37
34
|
getProductsStartWith: () => getProductsStartWith4,
|
|
38
35
|
queryProducts: () => queryProducts4,
|
|
39
|
-
updateProduct: () => updateProduct4
|
|
36
|
+
updateProduct: () => updateProduct4,
|
|
37
|
+
utils: () => utils
|
|
40
38
|
});
|
|
41
39
|
module.exports = __toCommonJS(index_exports);
|
|
42
40
|
|
|
@@ -836,7 +834,6 @@ var SubdivisionType = /* @__PURE__ */ ((SubdivisionType2) => {
|
|
|
836
834
|
return SubdivisionType2;
|
|
837
835
|
})(SubdivisionType || {});
|
|
838
836
|
var LinkRel = /* @__PURE__ */ ((LinkRel2) => {
|
|
839
|
-
LinkRel2["unknown_link_rel"] = "unknown_link_rel";
|
|
840
837
|
LinkRel2["nofollow"] = "nofollow";
|
|
841
838
|
LinkRel2["noopener"] = "noopener";
|
|
842
839
|
LinkRel2["noreferrer"] = "noreferrer";
|
|
@@ -844,7 +841,6 @@ var LinkRel = /* @__PURE__ */ ((LinkRel2) => {
|
|
|
844
841
|
return LinkRel2;
|
|
845
842
|
})(LinkRel || {});
|
|
846
843
|
var RequestedFields = /* @__PURE__ */ ((RequestedFields2) => {
|
|
847
|
-
RequestedFields2["UNKNOWN_REQUESTED_FIELD"] = "UNKNOWN_REQUESTED_FIELD";
|
|
848
844
|
RequestedFields2["EXPENSIVE_FIELDS"] = "EXPENSIVE_FIELDS";
|
|
849
845
|
RequestedFields2["SENSITIVE_FIELDS"] = "SENSITIVE_FIELDS";
|
|
850
846
|
return RequestedFields2;
|
|
@@ -1326,7 +1322,11 @@ async function typedQueryProducts(query, options) {
|
|
|
1326
1322
|
throw transformedError;
|
|
1327
1323
|
}
|
|
1328
1324
|
}
|
|
1329
|
-
var
|
|
1325
|
+
var utils = {
|
|
1326
|
+
query: {
|
|
1327
|
+
...(0, import_query_builder_utils.createQueryUtils)()
|
|
1328
|
+
}
|
|
1329
|
+
};
|
|
1330
1330
|
async function bulkCreateProducts2(products, options) {
|
|
1331
1331
|
const { httpClient, sideEffects } = arguments[2];
|
|
1332
1332
|
const payload = (0, import_transform_paths2.transformPaths)(
|
|
@@ -1644,11 +1644,8 @@ var bulkDeleteProducts4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTMod
|
|
|
1644
1644
|
var queryProducts4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(customQueryProducts);
|
|
1645
1645
|
// Annotate the CommonJS export names for ESM import in node:
|
|
1646
1646
|
0 && (module.exports = {
|
|
1647
|
-
Filter,
|
|
1648
1647
|
LinkRel,
|
|
1649
|
-
QueryBuilder,
|
|
1650
1648
|
RequestedFields,
|
|
1651
|
-
Sort,
|
|
1652
1649
|
SortOrder,
|
|
1653
1650
|
SubdivisionType,
|
|
1654
1651
|
bulkCreateProducts,
|
|
@@ -1660,6 +1657,7 @@ var queryProducts4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(
|
|
|
1660
1657
|
getProduct,
|
|
1661
1658
|
getProductsStartWith,
|
|
1662
1659
|
queryProducts,
|
|
1663
|
-
updateProduct
|
|
1660
|
+
updateProduct,
|
|
1661
|
+
utils
|
|
1664
1662
|
});
|
|
1665
1663
|
//# sourceMappingURL=index.js.map
|