@wix/auto_sdk_crm_contacts 1.0.1344 → 1.0.1346
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.js +18 -12
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +1 -13
- package/build/cjs/index.typings.js +1 -3
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/schemas.js +30 -30
- package/build/cjs/schemas.js.map +1 -1
- package/build/es/index.mjs +18 -12
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +1 -13
- package/build/es/index.typings.mjs +1 -3
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/schemas.mjs +30 -30
- package/build/es/schemas.mjs.map +1 -1
- package/build/internal/cjs/index.js +18 -12
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +1 -13
- package/build/internal/cjs/index.typings.js +1 -3
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/schemas.js +30 -30
- package/build/internal/cjs/schemas.js.map +1 -1
- package/build/internal/es/index.mjs +18 -12
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +1 -13
- package/build/internal/es/index.typings.mjs +1 -3
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/schemas.mjs +30 -30
- package/build/internal/es/schemas.mjs.map +1 -1
- package/package.json +2 -2
package/build/cjs/index.js
CHANGED
|
@@ -1455,9 +1455,7 @@ async function typedQueryContacts(query, options) {
|
|
|
1455
1455
|
}
|
|
1456
1456
|
}
|
|
1457
1457
|
var utils = {
|
|
1458
|
-
query:
|
|
1459
|
-
...(0, import_query_builder_utils.createQueryUtils)()
|
|
1460
|
-
}
|
|
1458
|
+
query: /* @__PURE__ */ (0, import_query_builder_utils.createQueryUtils)()
|
|
1461
1459
|
};
|
|
1462
1460
|
async function listFacets2(options) {
|
|
1463
1461
|
const { httpClient, sideEffects } = arguments[1];
|
|
@@ -1795,7 +1793,7 @@ function getContact3(httpClient) {
|
|
|
1795
1793
|
{ httpClient }
|
|
1796
1794
|
);
|
|
1797
1795
|
}
|
|
1798
|
-
var onContactCreated = (0, import_sdk_types.EventDefinition)(
|
|
1796
|
+
var onContactCreated = /* @__PURE__ */ (0, import_sdk_types.EventDefinition)(
|
|
1799
1797
|
"wix.contacts.v4.contact_created",
|
|
1800
1798
|
true,
|
|
1801
1799
|
(event) => (0, import_rename_all_nested_keys2.renameKeysFromRESTResponseToSDKResponse)(
|
|
@@ -1828,7 +1826,7 @@ var onContactCreated = (0, import_sdk_types.EventDefinition)(
|
|
|
1828
1826
|
])
|
|
1829
1827
|
)
|
|
1830
1828
|
)();
|
|
1831
|
-
var onContactDeleted = (0, import_sdk_types.EventDefinition)(
|
|
1829
|
+
var onContactDeleted = /* @__PURE__ */ (0, import_sdk_types.EventDefinition)(
|
|
1832
1830
|
"wix.contacts.v4.contact_deleted",
|
|
1833
1831
|
true,
|
|
1834
1832
|
(event) => (0, import_rename_all_nested_keys2.renameKeysFromRESTResponseToSDKResponse)(
|
|
@@ -1861,7 +1859,7 @@ var onContactDeleted = (0, import_sdk_types.EventDefinition)(
|
|
|
1861
1859
|
])
|
|
1862
1860
|
)
|
|
1863
1861
|
)();
|
|
1864
|
-
var onContactMerged = (0, import_sdk_types.EventDefinition)(
|
|
1862
|
+
var onContactMerged = /* @__PURE__ */ (0, import_sdk_types.EventDefinition)(
|
|
1865
1863
|
"wix.contacts.v4.contact_merged",
|
|
1866
1864
|
true,
|
|
1867
1865
|
(event) => (0, import_rename_all_nested_keys2.renameKeysFromRESTResponseToSDKResponse)(
|
|
@@ -1896,7 +1894,7 @@ var onContactMerged = (0, import_sdk_types.EventDefinition)(
|
|
|
1896
1894
|
])
|
|
1897
1895
|
)
|
|
1898
1896
|
)();
|
|
1899
|
-
var onContactUpdated = (0, import_sdk_types.EventDefinition)(
|
|
1897
|
+
var onContactUpdated = /* @__PURE__ */ (0, import_sdk_types.EventDefinition)(
|
|
1900
1898
|
"wix.contacts.v4.contact_updated",
|
|
1901
1899
|
true,
|
|
1902
1900
|
(event) => (0, import_rename_all_nested_keys2.renameKeysFromRESTResponseToSDKResponse)(
|
|
@@ -1948,7 +1946,7 @@ var import_rest_modules3 = require("@wix/sdk-runtime/rest-modules");
|
|
|
1948
1946
|
var import_event_definition_modules = require("@wix/sdk-runtime/event-definition-modules");
|
|
1949
1947
|
var import_query_method_router = require("@wix/sdk-runtime/query-method-router");
|
|
1950
1948
|
function customQueryContacts(httpClient) {
|
|
1951
|
-
const router = (0, import_query_method_router.createQueryOverloadRouter)({
|
|
1949
|
+
const router = /* @__PURE__ */ (0, import_query_method_router.createQueryOverloadRouter)({
|
|
1952
1950
|
builderQueryFunction: (options) => queryContacts3(httpClient)(options),
|
|
1953
1951
|
typedQueryFunction: (query, options) => typedQueryContacts2(httpClient)(query, options),
|
|
1954
1952
|
hasOptionsParameter: true
|
|
@@ -1973,10 +1971,18 @@ var bulkUpdateContacts4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTMod
|
|
|
1973
1971
|
var bulkLabelAndUnlabelContacts4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(bulkLabelAndUnlabelContacts3);
|
|
1974
1972
|
var getContact4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(getContact3);
|
|
1975
1973
|
var queryContacts4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(customQueryContacts);
|
|
1976
|
-
var onContactCreated2 = (0, import_event_definition_modules.createEventModule)(
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
var
|
|
1974
|
+
var onContactCreated2 = /* @__PURE__ */ (0, import_event_definition_modules.createEventModule)(
|
|
1975
|
+
onContactCreated
|
|
1976
|
+
);
|
|
1977
|
+
var onContactDeleted2 = /* @__PURE__ */ (0, import_event_definition_modules.createEventModule)(
|
|
1978
|
+
onContactDeleted
|
|
1979
|
+
);
|
|
1980
|
+
var onContactMerged2 = /* @__PURE__ */ (0, import_event_definition_modules.createEventModule)(
|
|
1981
|
+
onContactMerged
|
|
1982
|
+
);
|
|
1983
|
+
var onContactUpdated2 = /* @__PURE__ */ (0, import_event_definition_modules.createEventModule)(
|
|
1984
|
+
onContactUpdated
|
|
1985
|
+
);
|
|
1980
1986
|
// Annotate the CommonJS export names for ESM import in node:
|
|
1981
1987
|
0 && (module.exports = {
|
|
1982
1988
|
Action,
|