pipedrive 33.9.0 → 34.0.1
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/dist/esm/versions/v2/api/activities-api.d.ts +16 -16
- package/dist/esm/versions/v2/api/activities-api.js +13 -13
- package/dist/esm/versions/v2/api/activity-fields-api.d.ts +12 -12
- package/dist/esm/versions/v2/api/activity-fields-api.js +9 -9
- package/dist/esm/versions/v2/api/deal-fields-api.d.ts +12 -12
- package/dist/esm/versions/v2/api/deal-fields-api.js +9 -9
- package/dist/esm/versions/v2/api/deals-api.d.ts +38 -38
- package/dist/esm/versions/v2/api/deals-api.js +33 -33
- package/dist/esm/versions/v2/api/organization-fields-api.d.ts +12 -12
- package/dist/esm/versions/v2/api/organization-fields-api.js +9 -9
- package/dist/esm/versions/v2/api/organizations-api.d.ts +24 -24
- package/dist/esm/versions/v2/api/organizations-api.js +21 -21
- package/dist/esm/versions/v2/api/person-fields-api.d.ts +12 -12
- package/dist/esm/versions/v2/api/person-fields-api.js +9 -9
- package/dist/esm/versions/v2/api/persons-api.d.ts +24 -24
- package/dist/esm/versions/v2/api/persons-api.js +21 -21
- package/dist/esm/versions/v2/api/product-fields-api.d.ts +24 -24
- package/dist/esm/versions/v2/api/product-fields-api.js +9 -9
- package/dist/esm/versions/v2/api/products-api.d.ts +14 -14
- package/dist/esm/versions/v2/api/products-api.js +15 -15
- package/dist/esm/versions/v2/models/add-product-field200-response.d.ts +29 -0
- package/dist/esm/versions/v2/models/add-product-field200-response.js +14 -0
- package/dist/esm/versions/v2/models/get-activity-fields200-response-data-inner.d.ts +2 -0
- package/dist/esm/versions/v2/models/get-activity-fields200-response-data-inner.js +3 -1
- package/dist/esm/versions/v2/models/get-product-fields200-response-data-inner.d.ts +97 -0
- package/dist/esm/versions/v2/models/get-product-fields200-response-data-inner.js +48 -0
- package/dist/esm/versions/v2/models/get-product-fields200-response.d.ts +35 -0
- package/dist/esm/versions/v2/models/get-product-fields200-response.js +14 -0
- package/dist/esm/versions/v2/models/get-project-fields200-response-data-inner.d.ts +1 -0
- package/dist/esm/versions/v2/models/get-project-fields200-response-data-inner.js +2 -1
- package/dist/esm/versions/v2/models/index.d.ts +3 -0
- package/dist/esm/versions/v2/models/index.js +3 -0
- package/dist/versions/v2/api/activities-api.d.ts +16 -16
- package/dist/versions/v2/api/activities-api.js +12 -12
- package/dist/versions/v2/api/activity-fields-api.d.ts +12 -12
- package/dist/versions/v2/api/activity-fields-api.js +8 -8
- package/dist/versions/v2/api/deal-fields-api.d.ts +12 -12
- package/dist/versions/v2/api/deal-fields-api.js +8 -8
- package/dist/versions/v2/api/deals-api.d.ts +38 -38
- package/dist/versions/v2/api/deals-api.js +32 -32
- package/dist/versions/v2/api/organization-fields-api.d.ts +12 -12
- package/dist/versions/v2/api/organization-fields-api.js +8 -8
- package/dist/versions/v2/api/organizations-api.d.ts +24 -24
- package/dist/versions/v2/api/organizations-api.js +20 -20
- package/dist/versions/v2/api/person-fields-api.d.ts +12 -12
- package/dist/versions/v2/api/person-fields-api.js +8 -8
- package/dist/versions/v2/api/persons-api.d.ts +24 -24
- package/dist/versions/v2/api/persons-api.js +20 -20
- package/dist/versions/v2/api/product-fields-api.d.ts +24 -24
- package/dist/versions/v2/api/product-fields-api.js +8 -8
- package/dist/versions/v2/api/products-api.d.ts +14 -14
- package/dist/versions/v2/api/products-api.js +14 -14
- package/dist/versions/v2/models/add-product-field200-response.d.ts +29 -0
- package/dist/versions/v2/models/add-product-field200-response.js +15 -0
- package/dist/versions/v2/models/get-activity-fields200-response-data-inner.d.ts +2 -0
- package/dist/versions/v2/models/get-activity-fields200-response-data-inner.js +3 -1
- package/dist/versions/v2/models/get-product-fields200-response-data-inner.d.ts +97 -0
- package/dist/versions/v2/models/get-product-fields200-response-data-inner.js +51 -0
- package/dist/versions/v2/models/get-product-fields200-response.d.ts +35 -0
- package/dist/versions/v2/models/get-product-fields200-response.js +15 -0
- package/dist/versions/v2/models/get-project-fields200-response-data-inner.d.ts +1 -0
- package/dist/versions/v2/models/get-project-fields200-response-data-inner.js +2 -1
- package/dist/versions/v2/models/index.d.ts +3 -0
- package/dist/versions/v2/models/index.js +3 -0
- package/package.json +1 -1
|
@@ -156,18 +156,18 @@ export declare const ProductsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
156
156
|
* Returns data about all products.
|
|
157
157
|
* @summary Get all products
|
|
158
158
|
* @param {number} [owner_id] If supplied, only products owned by the given user will be returned
|
|
159
|
-
* @param {string} [ids] Optional comma separated string array of up to 100 entity ids to fetch. If filter_id is provided, this is ignored. If any of the requested entities do not exist or are not visible, they are not included in the response.
|
|
159
|
+
* @param {Set<string>} [ids] Optional comma separated string array of up to 100 entity ids to fetch. If filter_id is provided, this is ignored. If any of the requested entities do not exist or are not visible, they are not included in the response.
|
|
160
|
+
* @param {Set<string>} [custom_fields] Optional comma separated string array of custom fields keys to include. If you are only interested in a particular set of custom fields, please use this parameter for faster results and smaller response.<br/>A maximum of 15 keys is allowed.
|
|
160
161
|
* @param {number} [filter_id] The ID of the filter to use
|
|
161
162
|
* @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
|
|
162
163
|
* @param {number} [limit] For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed.
|
|
163
164
|
* @param {'id' | 'name' | 'add_time' | 'update_time'} [sort_by] The field to sort by. Supported fields: `id`, `name`, `add_time`, `update_time`.
|
|
164
165
|
* @param {'asc' | 'desc'} [sort_direction] The sorting direction. Supported values: `asc`, `desc`.
|
|
165
166
|
* @param {string} [updated_since] If set, only products with an `update_time` later than or equal to this time are returned. In RFC3339 format, e.g. 2025-01-01T10:20:00Z.
|
|
166
|
-
* @param {string} [custom_fields] Comma separated string array of custom fields keys to include. If you are only interested in a particular set of custom fields, please use this parameter for a smaller response.<br/>A maximum of 15 keys is allowed.
|
|
167
167
|
|
|
168
168
|
* @throws {RequiredError}
|
|
169
169
|
*/
|
|
170
|
-
getProducts: (owner_id?: number, ids?: string
|
|
170
|
+
getProducts: (owner_id?: number, ids?: Set<string>, custom_fields?: Set<string>, filter_id?: number, cursor?: string, limit?: number, sort_by?: 'id' | 'name' | 'add_time' | 'update_time', sort_direction?: 'asc' | 'desc', updated_since?: string) => Promise<RequestArgs>;
|
|
171
171
|
/**
|
|
172
172
|
* Searches all products by name, code and/or custom fields. This endpoint is a wrapper of <a href=\"https://developers.pipedrive.com/docs/api/v1/ItemSearch#searchItem\">/v1/itemSearch</a> with a narrower OAuth scope.
|
|
173
173
|
* @summary Search products
|
|
@@ -342,18 +342,18 @@ export declare const ProductsApiFp: (configuration?: Configuration) => {
|
|
|
342
342
|
* Returns data about all products.
|
|
343
343
|
* @summary Get all products
|
|
344
344
|
* @param {number} [owner_id] If supplied, only products owned by the given user will be returned
|
|
345
|
-
* @param {string} [ids] Optional comma separated string array of up to 100 entity ids to fetch. If filter_id is provided, this is ignored. If any of the requested entities do not exist or are not visible, they are not included in the response.
|
|
345
|
+
* @param {Set<string>} [ids] Optional comma separated string array of up to 100 entity ids to fetch. If filter_id is provided, this is ignored. If any of the requested entities do not exist or are not visible, they are not included in the response.
|
|
346
|
+
* @param {Set<string>} [custom_fields] Optional comma separated string array of custom fields keys to include. If you are only interested in a particular set of custom fields, please use this parameter for faster results and smaller response.<br/>A maximum of 15 keys is allowed.
|
|
346
347
|
* @param {number} [filter_id] The ID of the filter to use
|
|
347
348
|
* @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
|
|
348
349
|
* @param {number} [limit] For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed.
|
|
349
350
|
* @param {'id' | 'name' | 'add_time' | 'update_time'} [sort_by] The field to sort by. Supported fields: `id`, `name`, `add_time`, `update_time`.
|
|
350
351
|
* @param {'asc' | 'desc'} [sort_direction] The sorting direction. Supported values: `asc`, `desc`.
|
|
351
352
|
* @param {string} [updated_since] If set, only products with an `update_time` later than or equal to this time are returned. In RFC3339 format, e.g. 2025-01-01T10:20:00Z.
|
|
352
|
-
* @param {string} [custom_fields] Comma separated string array of custom fields keys to include. If you are only interested in a particular set of custom fields, please use this parameter for a smaller response.<br/>A maximum of 15 keys is allowed.
|
|
353
353
|
|
|
354
354
|
* @throws {RequiredError}
|
|
355
355
|
*/
|
|
356
|
-
getProducts(owner_id?: number, ids?: string
|
|
356
|
+
getProducts(owner_id?: number, ids?: Set<string>, custom_fields?: Set<string>, filter_id?: number, cursor?: string, limit?: number, sort_by?: 'id' | 'name' | 'add_time' | 'update_time', sort_direction?: 'asc' | 'desc', updated_since?: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetProductsResponse>>;
|
|
357
357
|
/**
|
|
358
358
|
* Searches all products by name, code and/or custom fields. This endpoint is a wrapper of <a href=\"https://developers.pipedrive.com/docs/api/v1/ItemSearch#searchItem\">/v1/itemSearch</a> with a narrower OAuth scope.
|
|
359
359
|
* @summary Search products
|
|
@@ -806,10 +806,16 @@ export interface ProductsApiGetProductsRequest {
|
|
|
806
806
|
readonly owner_id?: number;
|
|
807
807
|
/**
|
|
808
808
|
* Optional comma separated string array of up to 100 entity ids to fetch. If filter_id is provided, this is ignored. If any of the requested entities do not exist or are not visible, they are not included in the response.
|
|
809
|
-
* @type {string}
|
|
809
|
+
* @type {Set<string>}
|
|
810
|
+
* @memberof ProductsApiGetProducts
|
|
811
|
+
*/
|
|
812
|
+
readonly ids?: Set<string>;
|
|
813
|
+
/**
|
|
814
|
+
* Optional comma separated string array of custom fields keys to include. If you are only interested in a particular set of custom fields, please use this parameter for faster results and smaller response.<br/>A maximum of 15 keys is allowed.
|
|
815
|
+
* @type {Set<string>}
|
|
810
816
|
* @memberof ProductsApiGetProducts
|
|
811
817
|
*/
|
|
812
|
-
readonly
|
|
818
|
+
readonly custom_fields?: Set<string>;
|
|
813
819
|
/**
|
|
814
820
|
* The ID of the filter to use
|
|
815
821
|
* @type {number}
|
|
@@ -846,12 +852,6 @@ export interface ProductsApiGetProductsRequest {
|
|
|
846
852
|
* @memberof ProductsApiGetProducts
|
|
847
853
|
*/
|
|
848
854
|
readonly updated_since?: string;
|
|
849
|
-
/**
|
|
850
|
-
* Comma separated string array of custom fields keys to include. If you are only interested in a particular set of custom fields, please use this parameter for a smaller response.<br/>A maximum of 15 keys is allowed.
|
|
851
|
-
* @type {string}
|
|
852
|
-
* @memberof ProductsApiGetProducts
|
|
853
|
-
*/
|
|
854
|
-
readonly custom_fields?: string;
|
|
855
855
|
}
|
|
856
856
|
/**
|
|
857
857
|
* Request parameters for searchProducts operation in ProductsApi.
|
|
@@ -521,18 +521,18 @@ const ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
521
521
|
* Returns data about all products.
|
|
522
522
|
* @summary Get all products
|
|
523
523
|
* @param {number} [owner_id] If supplied, only products owned by the given user will be returned
|
|
524
|
-
* @param {string} [ids] Optional comma separated string array of up to 100 entity ids to fetch. If filter_id is provided, this is ignored. If any of the requested entities do not exist or are not visible, they are not included in the response.
|
|
524
|
+
* @param {Set<string>} [ids] Optional comma separated string array of up to 100 entity ids to fetch. If filter_id is provided, this is ignored. If any of the requested entities do not exist or are not visible, they are not included in the response.
|
|
525
|
+
* @param {Set<string>} [custom_fields] Optional comma separated string array of custom fields keys to include. If you are only interested in a particular set of custom fields, please use this parameter for faster results and smaller response.<br/>A maximum of 15 keys is allowed.
|
|
525
526
|
* @param {number} [filter_id] The ID of the filter to use
|
|
526
527
|
* @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
|
|
527
528
|
* @param {number} [limit] For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed.
|
|
528
529
|
* @param {'id' | 'name' | 'add_time' | 'update_time'} [sort_by] The field to sort by. Supported fields: `id`, `name`, `add_time`, `update_time`.
|
|
529
530
|
* @param {'asc' | 'desc'} [sort_direction] The sorting direction. Supported values: `asc`, `desc`.
|
|
530
531
|
* @param {string} [updated_since] If set, only products with an `update_time` later than or equal to this time are returned. In RFC3339 format, e.g. 2025-01-01T10:20:00Z.
|
|
531
|
-
* @param {string} [custom_fields] Comma separated string array of custom fields keys to include. If you are only interested in a particular set of custom fields, please use this parameter for a smaller response.<br/>A maximum of 15 keys is allowed.
|
|
532
532
|
|
|
533
533
|
* @throws {RequiredError}
|
|
534
534
|
*/
|
|
535
|
-
getProducts: (owner_id, ids, filter_id, cursor, limit, sort_by, sort_direction, updated_since
|
|
535
|
+
getProducts: (owner_id, ids, custom_fields, filter_id, cursor, limit, sort_by, sort_direction, updated_since) => __awaiter(this, void 0, void 0, function* () {
|
|
536
536
|
const localVarPath = `/products`;
|
|
537
537
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
538
538
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -551,8 +551,11 @@ const ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
551
551
|
if (owner_id !== undefined) {
|
|
552
552
|
localVarQueryParameter['owner_id'] = owner_id;
|
|
553
553
|
}
|
|
554
|
-
if (ids
|
|
555
|
-
localVarQueryParameter['ids'] = ids;
|
|
554
|
+
if (ids) {
|
|
555
|
+
localVarQueryParameter['ids'] = Array.from(ids).join(base_1.COLLECTION_FORMATS.csv);
|
|
556
|
+
}
|
|
557
|
+
if (custom_fields) {
|
|
558
|
+
localVarQueryParameter['custom_fields'] = Array.from(custom_fields).join(base_1.COLLECTION_FORMATS.csv);
|
|
556
559
|
}
|
|
557
560
|
if (filter_id !== undefined) {
|
|
558
561
|
localVarQueryParameter['filter_id'] = filter_id;
|
|
@@ -572,9 +575,6 @@ const ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
572
575
|
if (updated_since !== undefined) {
|
|
573
576
|
localVarQueryParameter['updated_since'] = updated_since;
|
|
574
577
|
}
|
|
575
|
-
if (custom_fields !== undefined) {
|
|
576
|
-
localVarQueryParameter['custom_fields'] = custom_fields;
|
|
577
|
-
}
|
|
578
578
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
579
579
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
580
580
|
localVarRequestOptions.headers = Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions);
|
|
@@ -996,20 +996,20 @@ const ProductsApiFp = function (configuration) {
|
|
|
996
996
|
* Returns data about all products.
|
|
997
997
|
* @summary Get all products
|
|
998
998
|
* @param {number} [owner_id] If supplied, only products owned by the given user will be returned
|
|
999
|
-
* @param {string} [ids] Optional comma separated string array of up to 100 entity ids to fetch. If filter_id is provided, this is ignored. If any of the requested entities do not exist or are not visible, they are not included in the response.
|
|
999
|
+
* @param {Set<string>} [ids] Optional comma separated string array of up to 100 entity ids to fetch. If filter_id is provided, this is ignored. If any of the requested entities do not exist or are not visible, they are not included in the response.
|
|
1000
|
+
* @param {Set<string>} [custom_fields] Optional comma separated string array of custom fields keys to include. If you are only interested in a particular set of custom fields, please use this parameter for faster results and smaller response.<br/>A maximum of 15 keys is allowed.
|
|
1000
1001
|
* @param {number} [filter_id] The ID of the filter to use
|
|
1001
1002
|
* @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
|
|
1002
1003
|
* @param {number} [limit] For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed.
|
|
1003
1004
|
* @param {'id' | 'name' | 'add_time' | 'update_time'} [sort_by] The field to sort by. Supported fields: `id`, `name`, `add_time`, `update_time`.
|
|
1004
1005
|
* @param {'asc' | 'desc'} [sort_direction] The sorting direction. Supported values: `asc`, `desc`.
|
|
1005
1006
|
* @param {string} [updated_since] If set, only products with an `update_time` later than or equal to this time are returned. In RFC3339 format, e.g. 2025-01-01T10:20:00Z.
|
|
1006
|
-
* @param {string} [custom_fields] Comma separated string array of custom fields keys to include. If you are only interested in a particular set of custom fields, please use this parameter for a smaller response.<br/>A maximum of 15 keys is allowed.
|
|
1007
1007
|
|
|
1008
1008
|
* @throws {RequiredError}
|
|
1009
1009
|
*/
|
|
1010
|
-
getProducts(owner_id, ids, filter_id, cursor, limit, sort_by, sort_direction, updated_since
|
|
1010
|
+
getProducts(owner_id, ids, custom_fields, filter_id, cursor, limit, sort_by, sort_direction, updated_since) {
|
|
1011
1011
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1012
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getProducts(owner_id, ids, filter_id, cursor, limit, sort_by, sort_direction, updated_since
|
|
1012
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getProducts(owner_id, ids, custom_fields, filter_id, cursor, limit, sort_by, sort_direction, updated_since);
|
|
1013
1013
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1014
1014
|
});
|
|
1015
1015
|
},
|
|
@@ -1236,7 +1236,7 @@ const ProductsApiFactory = function (configuration, basePath, axios) {
|
|
|
1236
1236
|
* @throws {RequiredError}
|
|
1237
1237
|
*/
|
|
1238
1238
|
getProducts(requestParameters = {}) {
|
|
1239
|
-
return localVarFp.getProducts(requestParameters.owner_id, requestParameters.ids, requestParameters.filter_id, requestParameters.cursor, requestParameters.limit, requestParameters.sort_by, requestParameters.sort_direction, requestParameters.updated_since
|
|
1239
|
+
return localVarFp.getProducts(requestParameters.owner_id, requestParameters.ids, requestParameters.custom_fields, requestParameters.filter_id, requestParameters.cursor, requestParameters.limit, requestParameters.sort_by, requestParameters.sort_direction, requestParameters.updated_since).then((request) => request(axios, basePath));
|
|
1240
1240
|
},
|
|
1241
1241
|
/**
|
|
1242
1242
|
* Searches all products by name, code and/or custom fields. This endpoint is a wrapper of <a href=\"https://developers.pipedrive.com/docs/api/v1/ItemSearch#searchItem\">/v1/itemSearch</a> with a narrower OAuth scope.
|
|
@@ -1450,7 +1450,7 @@ class ProductsApi extends base_1.BaseAPI {
|
|
|
1450
1450
|
* @memberof ProductsApi
|
|
1451
1451
|
*/
|
|
1452
1452
|
getProducts(requestParameters = {}) {
|
|
1453
|
-
return (0, exports.ProductsApiFp)(this.configuration).getProducts(requestParameters.owner_id, requestParameters.ids, requestParameters.filter_id, requestParameters.cursor, requestParameters.limit, requestParameters.sort_by, requestParameters.sort_direction, requestParameters.updated_since
|
|
1453
|
+
return (0, exports.ProductsApiFp)(this.configuration).getProducts(requestParameters.owner_id, requestParameters.ids, requestParameters.custom_fields, requestParameters.filter_id, requestParameters.cursor, requestParameters.limit, requestParameters.sort_by, requestParameters.sort_direction, requestParameters.updated_since).then((request) => request(this.axios, this.basePath));
|
|
1454
1454
|
}
|
|
1455
1455
|
/**
|
|
1456
1456
|
* Searches all products by name, code and/or custom fields. This endpoint is a wrapper of <a href=\"https://developers.pipedrive.com/docs/api/v1/ItemSearch#searchItem\">/v1/itemSearch</a> with a narrower OAuth scope.
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Pipedrive API v2
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { GetProductFields200ResponseDataInner } from './get-product-fields200-response-data-inner';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface AddProductField200Response
|
|
17
|
+
*/
|
|
18
|
+
export interface AddProductField200Response {
|
|
19
|
+
/**
|
|
20
|
+
* Whether the request was successful
|
|
21
|
+
* @type {boolean}
|
|
22
|
+
*/
|
|
23
|
+
'success'?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {GetProductFields200ResponseDataInner}
|
|
27
|
+
*/
|
|
28
|
+
'data'?: GetProductFields200ResponseDataInner;
|
|
29
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Pipedrive API v2
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -93,5 +93,7 @@ export declare const GetActivityFields200ResponseDataInnerFieldTypeConst: {
|
|
|
93
93
|
readonly billing_frequency: "billing_frequency";
|
|
94
94
|
readonly projects_board: "projects_board";
|
|
95
95
|
readonly projects_phase: "projects_phase";
|
|
96
|
+
readonly participants: "participants";
|
|
97
|
+
readonly attendees: "attendees";
|
|
96
98
|
};
|
|
97
99
|
export type GetActivityFields200ResponseDataInnerFieldTypeConst = typeof GetActivityFields200ResponseDataInnerFieldTypeConst[keyof typeof GetActivityFields200ResponseDataInnerFieldTypeConst];
|
|
@@ -47,5 +47,7 @@ exports.GetActivityFields200ResponseDataInnerFieldTypeConst = {
|
|
|
47
47
|
price_list: 'price_list',
|
|
48
48
|
billing_frequency: 'billing_frequency',
|
|
49
49
|
projects_board: 'projects_board',
|
|
50
|
-
projects_phase: 'projects_phase'
|
|
50
|
+
projects_phase: 'projects_phase',
|
|
51
|
+
participants: 'participants',
|
|
52
|
+
attendees: 'attendees'
|
|
51
53
|
};
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Pipedrive API v2
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { GetActivityFields200ResponseDataInnerOptionsInner } from './get-activity-fields200-response-data-inner-options-inner';
|
|
13
|
+
import { GetActivityFields200ResponseDataInnerSubfieldsInner } from './get-activity-fields200-response-data-inner-subfields-inner';
|
|
14
|
+
import { GetActivityFields200ResponseDataInnerUiVisibility } from './get-activity-fields200-response-data-inner-ui-visibility';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface GetProductFields200ResponseDataInner
|
|
19
|
+
*/
|
|
20
|
+
export interface GetProductFields200ResponseDataInner {
|
|
21
|
+
/**
|
|
22
|
+
* The display name/label of the field
|
|
23
|
+
* @type {string}
|
|
24
|
+
*/
|
|
25
|
+
'field_name': string;
|
|
26
|
+
/**
|
|
27
|
+
* The unique identifier for the field (40-character hash for custom fields)
|
|
28
|
+
* @type {string}
|
|
29
|
+
*/
|
|
30
|
+
'field_code': string;
|
|
31
|
+
/**
|
|
32
|
+
* The type of the field
|
|
33
|
+
* @type {string}
|
|
34
|
+
*/
|
|
35
|
+
'field_type': GetProductFields200ResponseDataInnerFieldTypeConst;
|
|
36
|
+
/**
|
|
37
|
+
* Whether this is a user-created custom field
|
|
38
|
+
* @type {boolean}
|
|
39
|
+
*/
|
|
40
|
+
'is_custom_field': boolean;
|
|
41
|
+
/**
|
|
42
|
+
* Whether this field is not returned by default in entity responses
|
|
43
|
+
* @type {boolean}
|
|
44
|
+
*/
|
|
45
|
+
'is_optional_response_field': boolean;
|
|
46
|
+
/**
|
|
47
|
+
* Array of available options for enum/set fields, null for other field types
|
|
48
|
+
* @type {Array<GetActivityFields200ResponseDataInnerOptionsInner>}
|
|
49
|
+
*/
|
|
50
|
+
'options'?: Array<GetActivityFields200ResponseDataInnerOptionsInner> | null;
|
|
51
|
+
/**
|
|
52
|
+
* Array of subfields for complex field types (address, monetary), null for simple field types
|
|
53
|
+
* @type {Array<GetActivityFields200ResponseDataInnerSubfieldsInner>}
|
|
54
|
+
*/
|
|
55
|
+
'subfields'?: Array<GetActivityFields200ResponseDataInnerSubfieldsInner> | null;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {GetActivityFields200ResponseDataInnerUiVisibility}
|
|
59
|
+
*/
|
|
60
|
+
'ui_visibility'?: GetActivityFields200ResponseDataInnerUiVisibility;
|
|
61
|
+
}
|
|
62
|
+
export declare const GetProductFields200ResponseDataInnerFieldTypeConst: {
|
|
63
|
+
readonly int: "int";
|
|
64
|
+
readonly double: "double";
|
|
65
|
+
readonly boolean: "boolean";
|
|
66
|
+
readonly varchar: "varchar";
|
|
67
|
+
readonly text: "text";
|
|
68
|
+
readonly phone: "phone";
|
|
69
|
+
readonly varchar_options: "varchar_options";
|
|
70
|
+
readonly varchar_auto: "varchar_auto";
|
|
71
|
+
readonly date: "date";
|
|
72
|
+
readonly daterange: "daterange";
|
|
73
|
+
readonly time: "time";
|
|
74
|
+
readonly timerange: "timerange";
|
|
75
|
+
readonly enum: "enum";
|
|
76
|
+
readonly set: "set";
|
|
77
|
+
readonly address: "address";
|
|
78
|
+
readonly monetary: "monetary";
|
|
79
|
+
readonly deal: "deal";
|
|
80
|
+
readonly deals: "deals";
|
|
81
|
+
readonly lead: "lead";
|
|
82
|
+
readonly org: "org";
|
|
83
|
+
readonly people: "people";
|
|
84
|
+
readonly project: "project";
|
|
85
|
+
readonly stage: "stage";
|
|
86
|
+
readonly user: "user";
|
|
87
|
+
readonly activity: "activity";
|
|
88
|
+
readonly json: "json";
|
|
89
|
+
readonly picture: "picture";
|
|
90
|
+
readonly status: "status";
|
|
91
|
+
readonly visible_to: "visible_to";
|
|
92
|
+
readonly price_list: "price_list";
|
|
93
|
+
readonly billing_frequency: "billing_frequency";
|
|
94
|
+
readonly projects_board: "projects_board";
|
|
95
|
+
readonly projects_phase: "projects_phase";
|
|
96
|
+
};
|
|
97
|
+
export type GetProductFields200ResponseDataInnerFieldTypeConst = typeof GetProductFields200ResponseDataInnerFieldTypeConst[keyof typeof GetProductFields200ResponseDataInnerFieldTypeConst];
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Pipedrive API v2
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.GetProductFields200ResponseDataInnerFieldTypeConst = void 0;
|
|
17
|
+
exports.GetProductFields200ResponseDataInnerFieldTypeConst = {
|
|
18
|
+
int: 'int',
|
|
19
|
+
double: 'double',
|
|
20
|
+
boolean: 'boolean',
|
|
21
|
+
varchar: 'varchar',
|
|
22
|
+
text: 'text',
|
|
23
|
+
phone: 'phone',
|
|
24
|
+
varchar_options: 'varchar_options',
|
|
25
|
+
varchar_auto: 'varchar_auto',
|
|
26
|
+
date: 'date',
|
|
27
|
+
daterange: 'daterange',
|
|
28
|
+
time: 'time',
|
|
29
|
+
timerange: 'timerange',
|
|
30
|
+
enum: 'enum',
|
|
31
|
+
set: 'set',
|
|
32
|
+
address: 'address',
|
|
33
|
+
monetary: 'monetary',
|
|
34
|
+
deal: 'deal',
|
|
35
|
+
deals: 'deals',
|
|
36
|
+
lead: 'lead',
|
|
37
|
+
org: 'org',
|
|
38
|
+
people: 'people',
|
|
39
|
+
project: 'project',
|
|
40
|
+
stage: 'stage',
|
|
41
|
+
user: 'user',
|
|
42
|
+
activity: 'activity',
|
|
43
|
+
json: 'json',
|
|
44
|
+
picture: 'picture',
|
|
45
|
+
status: 'status',
|
|
46
|
+
visible_to: 'visible_to',
|
|
47
|
+
price_list: 'price_list',
|
|
48
|
+
billing_frequency: 'billing_frequency',
|
|
49
|
+
projects_board: 'projects_board',
|
|
50
|
+
projects_phase: 'projects_phase'
|
|
51
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Pipedrive API v2
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { GetActivityFields200ResponseAdditionalData } from './get-activity-fields200-response-additional-data';
|
|
13
|
+
import { GetProductFields200ResponseDataInner } from './get-product-fields200-response-data-inner';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface GetProductFields200Response
|
|
18
|
+
*/
|
|
19
|
+
export interface GetProductFields200Response {
|
|
20
|
+
/**
|
|
21
|
+
* Whether the request was successful
|
|
22
|
+
* @type {boolean}
|
|
23
|
+
*/
|
|
24
|
+
'success'?: boolean;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {Array<GetProductFields200ResponseDataInner>}
|
|
28
|
+
*/
|
|
29
|
+
'data'?: Array<GetProductFields200ResponseDataInner>;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {GetActivityFields200ResponseAdditionalData}
|
|
33
|
+
*/
|
|
34
|
+
'additional_data'?: GetActivityFields200ResponseAdditionalData;
|
|
35
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Pipedrive API v2
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -105,5 +105,6 @@ export declare const GetProjectFields200ResponseDataInnerFieldTypeConst: {
|
|
|
105
105
|
readonly billing_frequency: "billing_frequency";
|
|
106
106
|
readonly projects_board: "projects_board";
|
|
107
107
|
readonly projects_phase: "projects_phase";
|
|
108
|
+
readonly orgs: "orgs";
|
|
108
109
|
};
|
|
109
110
|
export type GetProjectFields200ResponseDataInnerFieldTypeConst = typeof GetProjectFields200ResponseDataInnerFieldTypeConst[keyof typeof GetProjectFields200ResponseDataInnerFieldTypeConst];
|
|
@@ -47,5 +47,6 @@ exports.GetProjectFields200ResponseDataInnerFieldTypeConst = {
|
|
|
47
47
|
price_list: 'price_list',
|
|
48
48
|
billing_frequency: 'billing_frequency',
|
|
49
49
|
projects_board: 'projects_board',
|
|
50
|
-
projects_phase: 'projects_phase'
|
|
50
|
+
projects_phase: 'projects_phase',
|
|
51
|
+
orgs: 'orgs'
|
|
51
52
|
};
|
|
@@ -44,6 +44,7 @@ export * from './add-person-field-request-ui-visibility';
|
|
|
44
44
|
export * from './add-person-field-request-ui-visibility-show-in-add-deal-dialog';
|
|
45
45
|
export * from './add-person-request';
|
|
46
46
|
export * from './add-pipeline-request';
|
|
47
|
+
export * from './add-product-field200-response';
|
|
47
48
|
export * from './add-product-field-request';
|
|
48
49
|
export * from './add-product-field-request-ui-visibility';
|
|
49
50
|
export * from './add-product-image-response';
|
|
@@ -202,6 +203,8 @@ export * from './get-persons-response-all-of';
|
|
|
202
203
|
export * from './get-pipelines-response';
|
|
203
204
|
export * from './get-pipelines-response-all-of';
|
|
204
205
|
export * from './get-pipelines-response-all-of-data-inner';
|
|
206
|
+
export * from './get-product-fields200-response';
|
|
207
|
+
export * from './get-product-fields200-response-data-inner';
|
|
205
208
|
export * from './get-product-image-response';
|
|
206
209
|
export * from './get-product-image-response-data';
|
|
207
210
|
export * from './get-product-response';
|
|
@@ -60,6 +60,7 @@ __exportStar(require("./add-person-field-request-ui-visibility"), exports);
|
|
|
60
60
|
__exportStar(require("./add-person-field-request-ui-visibility-show-in-add-deal-dialog"), exports);
|
|
61
61
|
__exportStar(require("./add-person-request"), exports);
|
|
62
62
|
__exportStar(require("./add-pipeline-request"), exports);
|
|
63
|
+
__exportStar(require("./add-product-field200-response"), exports);
|
|
63
64
|
__exportStar(require("./add-product-field-request"), exports);
|
|
64
65
|
__exportStar(require("./add-product-field-request-ui-visibility"), exports);
|
|
65
66
|
__exportStar(require("./add-product-image-response"), exports);
|
|
@@ -218,6 +219,8 @@ __exportStar(require("./get-persons-response-all-of"), exports);
|
|
|
218
219
|
__exportStar(require("./get-pipelines-response"), exports);
|
|
219
220
|
__exportStar(require("./get-pipelines-response-all-of"), exports);
|
|
220
221
|
__exportStar(require("./get-pipelines-response-all-of-data-inner"), exports);
|
|
222
|
+
__exportStar(require("./get-product-fields200-response"), exports);
|
|
223
|
+
__exportStar(require("./get-product-fields200-response-data-inner"), exports);
|
|
221
224
|
__exportStar(require("./get-product-image-response"), exports);
|
|
222
225
|
__exportStar(require("./get-product-image-response-data"), exports);
|
|
223
226
|
__exportStar(require("./get-product-response"), exports);
|