@wix/crm_contacts
Advanced tools
Comparing version 1.0.30 to 1.0.31
@@ -83,40 +83,15 @@ import { RequestOptionsFactory } from '@wix/sdk-types'; | ||
* | ||
* The `queryContacts()` function builds a query to retrieve a list of contacts | ||
* and returns a | ||
* [`ContactsQueryBuilder`](#contactsquerybuilder) | ||
* object. | ||
* The `queryContacts()` function builds a query to retrieve a list of contacts and returns a `ContactsQueryBuilder` object. | ||
* | ||
* The returned object contains the query definition, | ||
* which is typically used to run the query using the | ||
* [`find()`](#contactsquerybuilder/find) | ||
* function. | ||
* The returned object contains the query definition, which is typically used to run the query using the `find()` function. | ||
* | ||
* You can refine the query | ||
* by chaining `ContactsQueryBuilder` functions onto the query. | ||
* `ContactsQueryBuilder` functions enable you to sort, filter, | ||
* and control the results `queryContacts()` returns. | ||
* You can refine the query by chaining `ContactsQueryBuilder` functions onto the query. `ContactsQueryBuilder` functions enable you to sort, filter, and control the results `queryContacts()` returns. | ||
* | ||
* `queryContacts()` runs with these `ContactsQueryBuilder` defaults, | ||
* which you can override: | ||
* `queryContacts()` runs with these `ContactsQueryBuilder` defaults, which you can override: | ||
* | ||
* - [`skip(0)`](#contactsquerybuilder/skip) | ||
* - [`limit(50)`](#contactsquerybuilder/limit) | ||
* - [`descending("_createdDate")`](#contactsquerybuilder/descending) | ||
* - `skip(0)` | ||
* - `limit(50)` | ||
* - `descending(\"_createdDate\")` | ||
* | ||
* The functions that are chained to `queryContacts()` | ||
* are applied in the order they are called. | ||
* For example, if you apply `ascending('info.company')` | ||
* and then `descending('info.name.last')`, | ||
* the results are sorted first by the company name, and then, | ||
* if there are multiple results with the same company, | ||
* the items are sorted by last name. | ||
* | ||
* <!-- | ||
* > **Note:** | ||
* > Only visitors with | ||
* > **Manage Contacts** [permissions](https://www.wix.com/my-account/site-selector/?buttonText=Select%20Site&title=Select%20a%20Site&autoSelectOnSingleSite=true&actionUrl=https:%2F%2Fwww.wix.com%2Fdashboard%2F%7B%7BmetaSiteId%7D%7D%2Froles-and-permissions) | ||
* > can query contacts. | ||
* > You can override the permissions by setting the `suppressAuth` option to `true` | ||
* > in the [`find()`](wix-crm-v2/contacts/contactsquerybuilder/find) function. | ||
* --> | ||
* The functions that are chained to `queryContacts()` are applied in the order they are called. For example, if you apply `ascending('info.company')` and then `descending('info.name.last')`, the results are sorted first by the company name, and then, if there are multiple results with the same company, the items are sorted by last name. | ||
*/ | ||
@@ -123,0 +98,0 @@ export declare function queryContacts(payload: object): RequestOptionsFactory<any>; |
@@ -422,40 +422,15 @@ "use strict"; | ||
* | ||
* The `queryContacts()` function builds a query to retrieve a list of contacts | ||
* and returns a | ||
* [`ContactsQueryBuilder`](#contactsquerybuilder) | ||
* object. | ||
* The `queryContacts()` function builds a query to retrieve a list of contacts and returns a `ContactsQueryBuilder` object. | ||
* | ||
* The returned object contains the query definition, | ||
* which is typically used to run the query using the | ||
* [`find()`](#contactsquerybuilder/find) | ||
* function. | ||
* The returned object contains the query definition, which is typically used to run the query using the `find()` function. | ||
* | ||
* You can refine the query | ||
* by chaining `ContactsQueryBuilder` functions onto the query. | ||
* `ContactsQueryBuilder` functions enable you to sort, filter, | ||
* and control the results `queryContacts()` returns. | ||
* You can refine the query by chaining `ContactsQueryBuilder` functions onto the query. `ContactsQueryBuilder` functions enable you to sort, filter, and control the results `queryContacts()` returns. | ||
* | ||
* `queryContacts()` runs with these `ContactsQueryBuilder` defaults, | ||
* which you can override: | ||
* `queryContacts()` runs with these `ContactsQueryBuilder` defaults, which you can override: | ||
* | ||
* - [`skip(0)`](#contactsquerybuilder/skip) | ||
* - [`limit(50)`](#contactsquerybuilder/limit) | ||
* - [`descending("_createdDate")`](#contactsquerybuilder/descending) | ||
* - `skip(0)` | ||
* - `limit(50)` | ||
* - `descending(\"_createdDate\")` | ||
* | ||
* The functions that are chained to `queryContacts()` | ||
* are applied in the order they are called. | ||
* For example, if you apply `ascending('info.company')` | ||
* and then `descending('info.name.last')`, | ||
* the results are sorted first by the company name, and then, | ||
* if there are multiple results with the same company, | ||
* the items are sorted by last name. | ||
* | ||
* <!-- | ||
* > **Note:** | ||
* > Only visitors with | ||
* > **Manage Contacts** [permissions](https://www.wix.com/my-account/site-selector/?buttonText=Select%20Site&title=Select%20a%20Site&autoSelectOnSingleSite=true&actionUrl=https:%2F%2Fwww.wix.com%2Fdashboard%2F%7B%7BmetaSiteId%7D%7D%2Froles-and-permissions) | ||
* > can query contacts. | ||
* > You can override the permissions by setting the `suppressAuth` option to `true` | ||
* > in the [`find()`](wix-crm-v2/contacts/contactsquerybuilder/find) function. | ||
* --> | ||
* The functions that are chained to `queryContacts()` are applied in the order they are called. For example, if you apply `ascending('info.company')` and then `descending('info.name.last')`, the results are sorted first by the company name, and then, if there are multiple results with the same company, the items are sorted by last name. | ||
*/ | ||
@@ -462,0 +437,0 @@ function queryContacts(payload) { |
@@ -698,40 +698,15 @@ "use strict"; | ||
* | ||
* The `queryContacts()` function builds a query to retrieve a list of contacts | ||
* and returns a | ||
* [`ContactsQueryBuilder`](#contactsquerybuilder) | ||
* object. | ||
* The `queryContacts()` function builds a query to retrieve a list of contacts and returns a `ContactsQueryBuilder` object. | ||
* | ||
* The returned object contains the query definition, | ||
* which is typically used to run the query using the | ||
* [`find()`](#contactsquerybuilder/find) | ||
* function. | ||
* The returned object contains the query definition, which is typically used to run the query using the `find()` function. | ||
* | ||
* You can refine the query | ||
* by chaining `ContactsQueryBuilder` functions onto the query. | ||
* `ContactsQueryBuilder` functions enable you to sort, filter, | ||
* and control the results `queryContacts()` returns. | ||
* You can refine the query by chaining `ContactsQueryBuilder` functions onto the query. `ContactsQueryBuilder` functions enable you to sort, filter, and control the results `queryContacts()` returns. | ||
* | ||
* `queryContacts()` runs with these `ContactsQueryBuilder` defaults, | ||
* which you can override: | ||
* `queryContacts()` runs with these `ContactsQueryBuilder` defaults, which you can override: | ||
* | ||
* - [`skip(0)`](#contactsquerybuilder/skip) | ||
* - [`limit(50)`](#contactsquerybuilder/limit) | ||
* - [`descending("_createdDate")`](#contactsquerybuilder/descending) | ||
* - `skip(0)` | ||
* - `limit(50)` | ||
* - `descending(\"_createdDate\")` | ||
* | ||
* The functions that are chained to `queryContacts()` | ||
* are applied in the order they are called. | ||
* For example, if you apply `ascending('info.company')` | ||
* and then `descending('info.name.last')`, | ||
* the results are sorted first by the company name, and then, | ||
* if there are multiple results with the same company, | ||
* the items are sorted by last name. | ||
* | ||
* <!-- | ||
* > **Note:** | ||
* > Only visitors with | ||
* > **Manage Contacts** [permissions](https://www.wix.com/my-account/site-selector/?buttonText=Select%20Site&title=Select%20a%20Site&autoSelectOnSingleSite=true&actionUrl=https:%2F%2Fwww.wix.com%2Fdashboard%2F%7B%7BmetaSiteId%7D%7D%2Froles-and-permissions) | ||
* > can query contacts. | ||
* > You can override the permissions by setting the `suppressAuth` option to `true` | ||
* > in the [`find()`](wix-crm-v2/contacts/contactsquerybuilder/find) function. | ||
* --> | ||
* The functions that are chained to `queryContacts()` are applied in the order they are called. For example, if you apply `ascending('info.company')` and then `descending('info.name.last')`, the results are sorted first by the company name, and then, if there are multiple results with the same company, the items are sorted by last name. | ||
* @public | ||
@@ -738,0 +713,0 @@ * @documentationMaturity preview |
@@ -83,40 +83,15 @@ import { RequestOptionsFactory } from '@wix/sdk-types'; | ||
* | ||
* The `queryContacts()` function builds a query to retrieve a list of contacts | ||
* and returns a | ||
* [`ContactsQueryBuilder`](#contactsquerybuilder) | ||
* object. | ||
* The `queryContacts()` function builds a query to retrieve a list of contacts and returns a `ContactsQueryBuilder` object. | ||
* | ||
* The returned object contains the query definition, | ||
* which is typically used to run the query using the | ||
* [`find()`](#contactsquerybuilder/find) | ||
* function. | ||
* The returned object contains the query definition, which is typically used to run the query using the `find()` function. | ||
* | ||
* You can refine the query | ||
* by chaining `ContactsQueryBuilder` functions onto the query. | ||
* `ContactsQueryBuilder` functions enable you to sort, filter, | ||
* and control the results `queryContacts()` returns. | ||
* You can refine the query by chaining `ContactsQueryBuilder` functions onto the query. `ContactsQueryBuilder` functions enable you to sort, filter, and control the results `queryContacts()` returns. | ||
* | ||
* `queryContacts()` runs with these `ContactsQueryBuilder` defaults, | ||
* which you can override: | ||
* `queryContacts()` runs with these `ContactsQueryBuilder` defaults, which you can override: | ||
* | ||
* - [`skip(0)`](#contactsquerybuilder/skip) | ||
* - [`limit(50)`](#contactsquerybuilder/limit) | ||
* - [`descending("_createdDate")`](#contactsquerybuilder/descending) | ||
* - `skip(0)` | ||
* - `limit(50)` | ||
* - `descending(\"_createdDate\")` | ||
* | ||
* The functions that are chained to `queryContacts()` | ||
* are applied in the order they are called. | ||
* For example, if you apply `ascending('info.company')` | ||
* and then `descending('info.name.last')`, | ||
* the results are sorted first by the company name, and then, | ||
* if there are multiple results with the same company, | ||
* the items are sorted by last name. | ||
* | ||
* <!-- | ||
* > **Note:** | ||
* > Only visitors with | ||
* > **Manage Contacts** [permissions](https://www.wix.com/my-account/site-selector/?buttonText=Select%20Site&title=Select%20a%20Site&autoSelectOnSingleSite=true&actionUrl=https:%2F%2Fwww.wix.com%2Fdashboard%2F%7B%7BmetaSiteId%7D%7D%2Froles-and-permissions) | ||
* > can query contacts. | ||
* > You can override the permissions by setting the `suppressAuth` option to `true` | ||
* > in the [`find()`](wix-crm-v2/contacts/contactsquerybuilder/find) function. | ||
* --> | ||
* The functions that are chained to `queryContacts()` are applied in the order they are called. For example, if you apply `ascending('info.company')` and then `descending('info.name.last')`, the results are sorted first by the company name, and then, if there are multiple results with the same company, the items are sorted by last name. | ||
*/ | ||
@@ -123,0 +98,0 @@ export declare function queryContacts(payload: object): RequestOptionsFactory<any>; |
@@ -413,40 +413,15 @@ import { toURLSearchParams } from '@wix/metro-runtime'; | ||
* | ||
* The `queryContacts()` function builds a query to retrieve a list of contacts | ||
* and returns a | ||
* [`ContactsQueryBuilder`](#contactsquerybuilder) | ||
* object. | ||
* The `queryContacts()` function builds a query to retrieve a list of contacts and returns a `ContactsQueryBuilder` object. | ||
* | ||
* The returned object contains the query definition, | ||
* which is typically used to run the query using the | ||
* [`find()`](#contactsquerybuilder/find) | ||
* function. | ||
* The returned object contains the query definition, which is typically used to run the query using the `find()` function. | ||
* | ||
* You can refine the query | ||
* by chaining `ContactsQueryBuilder` functions onto the query. | ||
* `ContactsQueryBuilder` functions enable you to sort, filter, | ||
* and control the results `queryContacts()` returns. | ||
* You can refine the query by chaining `ContactsQueryBuilder` functions onto the query. `ContactsQueryBuilder` functions enable you to sort, filter, and control the results `queryContacts()` returns. | ||
* | ||
* `queryContacts()` runs with these `ContactsQueryBuilder` defaults, | ||
* which you can override: | ||
* `queryContacts()` runs with these `ContactsQueryBuilder` defaults, which you can override: | ||
* | ||
* - [`skip(0)`](#contactsquerybuilder/skip) | ||
* - [`limit(50)`](#contactsquerybuilder/limit) | ||
* - [`descending("_createdDate")`](#contactsquerybuilder/descending) | ||
* - `skip(0)` | ||
* - `limit(50)` | ||
* - `descending(\"_createdDate\")` | ||
* | ||
* The functions that are chained to `queryContacts()` | ||
* are applied in the order they are called. | ||
* For example, if you apply `ascending('info.company')` | ||
* and then `descending('info.name.last')`, | ||
* the results are sorted first by the company name, and then, | ||
* if there are multiple results with the same company, | ||
* the items are sorted by last name. | ||
* | ||
* <!-- | ||
* > **Note:** | ||
* > Only visitors with | ||
* > **Manage Contacts** [permissions](https://www.wix.com/my-account/site-selector/?buttonText=Select%20Site&title=Select%20a%20Site&autoSelectOnSingleSite=true&actionUrl=https:%2F%2Fwww.wix.com%2Fdashboard%2F%7B%7BmetaSiteId%7D%7D%2Froles-and-permissions) | ||
* > can query contacts. | ||
* > You can override the permissions by setting the `suppressAuth` option to `true` | ||
* > in the [`find()`](wix-crm-v2/contacts/contactsquerybuilder/find) function. | ||
* --> | ||
* The functions that are chained to `queryContacts()` are applied in the order they are called. For example, if you apply `ascending('info.company')` and then `descending('info.name.last')`, the results are sorted first by the company name, and then, if there are multiple results with the same company, the items are sorted by last name. | ||
*/ | ||
@@ -453,0 +428,0 @@ export function queryContacts(payload) { |
@@ -666,40 +666,15 @@ import { transformError as sdkTransformError } from '@wix/sdk-runtime/transform-error'; | ||
* | ||
* The `queryContacts()` function builds a query to retrieve a list of contacts | ||
* and returns a | ||
* [`ContactsQueryBuilder`](#contactsquerybuilder) | ||
* object. | ||
* The `queryContacts()` function builds a query to retrieve a list of contacts and returns a `ContactsQueryBuilder` object. | ||
* | ||
* The returned object contains the query definition, | ||
* which is typically used to run the query using the | ||
* [`find()`](#contactsquerybuilder/find) | ||
* function. | ||
* The returned object contains the query definition, which is typically used to run the query using the `find()` function. | ||
* | ||
* You can refine the query | ||
* by chaining `ContactsQueryBuilder` functions onto the query. | ||
* `ContactsQueryBuilder` functions enable you to sort, filter, | ||
* and control the results `queryContacts()` returns. | ||
* You can refine the query by chaining `ContactsQueryBuilder` functions onto the query. `ContactsQueryBuilder` functions enable you to sort, filter, and control the results `queryContacts()` returns. | ||
* | ||
* `queryContacts()` runs with these `ContactsQueryBuilder` defaults, | ||
* which you can override: | ||
* `queryContacts()` runs with these `ContactsQueryBuilder` defaults, which you can override: | ||
* | ||
* - [`skip(0)`](#contactsquerybuilder/skip) | ||
* - [`limit(50)`](#contactsquerybuilder/limit) | ||
* - [`descending("_createdDate")`](#contactsquerybuilder/descending) | ||
* - `skip(0)` | ||
* - `limit(50)` | ||
* - `descending(\"_createdDate\")` | ||
* | ||
* The functions that are chained to `queryContacts()` | ||
* are applied in the order they are called. | ||
* For example, if you apply `ascending('info.company')` | ||
* and then `descending('info.name.last')`, | ||
* the results are sorted first by the company name, and then, | ||
* if there are multiple results with the same company, | ||
* the items are sorted by last name. | ||
* | ||
* <!-- | ||
* > **Note:** | ||
* > Only visitors with | ||
* > **Manage Contacts** [permissions](https://www.wix.com/my-account/site-selector/?buttonText=Select%20Site&title=Select%20a%20Site&autoSelectOnSingleSite=true&actionUrl=https:%2F%2Fwww.wix.com%2Fdashboard%2F%7B%7BmetaSiteId%7D%7D%2Froles-and-permissions) | ||
* > can query contacts. | ||
* > You can override the permissions by setting the `suppressAuth` option to `true` | ||
* > in the [`find()`](wix-crm-v2/contacts/contactsquerybuilder/find) function. | ||
* --> | ||
* The functions that are chained to `queryContacts()` are applied in the order they are called. For example, if you apply `ascending('info.company')` and then `descending('info.name.last')`, the results are sorted first by the company name, and then, if there are multiple results with the same company, the items are sorted by last name. | ||
* @public | ||
@@ -706,0 +681,0 @@ * @documentationMaturity preview |
@@ -5,3 +5,4 @@ { | ||
"main": "../build/cjs/context.js", | ||
"typings": "../build/cjs/context.d.ts" | ||
"typings": "../build/cjs/context.d.ts", | ||
"typesBundle": "../type-bundles/context.bundle.d.ts" | ||
} |
@@ -5,3 +5,4 @@ { | ||
"main": "../build/cjs/meta.js", | ||
"typings": "../build/cjs/meta.d.ts" | ||
"typings": "../build/cjs/meta.d.ts", | ||
"typesBundle": "../type-bundles/meta.bundle.d.ts" | ||
} |
{ | ||
"name": "@wix/crm_contacts", | ||
"version": "1.0.30", | ||
"version": "1.0.31", | ||
"publishConfig": { | ||
@@ -12,2 +12,3 @@ "registry": "https://registry.npmjs.org/", | ||
"typings": "./build/cjs/index.d.ts", | ||
"typesBundle": "./type-bundles/index.bundle.d.ts", | ||
"files": [ | ||
@@ -17,3 +18,4 @@ "build", | ||
"meta", | ||
"context" | ||
"context", | ||
"type-bundles" | ||
], | ||
@@ -28,6 +30,10 @@ "dependencies": { | ||
"@wix/sdk": "https://cdn.dev.wixpress.com/@wix/sdk/02e8069ab2fd783e0e6a080fc7d590e76cb26ab93c8389574286305b.tar.gz", | ||
"glob": "^10.4.1", | ||
"rollup": "^4.18.0", | ||
"rollup-plugin-dts": "^6.1.1", | ||
"typescript": "^5.3.2" | ||
}, | ||
"scripts": { | ||
"build": "tsc -b tsconfig.json tsconfig.esm.json", | ||
"build": "tsc -b tsconfig.json tsconfig.esm.json && npm run build:dts-bundles", | ||
"build:dts-bundles": "test -f config/rollup-config.js && rollup --config config/rollup-config.js || echo 'Warning: config/rollup-config.js not found!'", | ||
"test": ":" | ||
@@ -45,3 +51,3 @@ }, | ||
}, | ||
"falconPackageHash": "d053611dc495e6d861b1657ef308b74b6e90f650b356277d0a7f8c49" | ||
"falconPackageHash": "162d5924369745ede55d1767d62936ecbb31b9e8e52452ed730df86c" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
917290
67
22018
5