pipedrive 25.0.0 → 26.0.0
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/v1/api/activities-api.d.ts +40 -40
- package/dist/esm/versions/v1/api/activities-api.js +40 -40
- package/dist/esm/versions/v1/api/deals-api.d.ts +410 -88
- package/dist/esm/versions/v1/api/deals-api.js +417 -88
- package/dist/esm/versions/v1/api/item-search-api.d.ts +8 -8
- package/dist/esm/versions/v1/api/item-search-api.js +8 -8
- package/dist/esm/versions/v1/api/leads-api.d.ts +100 -14
- package/dist/esm/versions/v1/api/leads-api.js +107 -14
- package/dist/esm/versions/v1/api/notes-api.d.ts +18 -2
- package/dist/esm/versions/v1/api/notes-api.js +15 -5
- package/dist/esm/versions/v1/api/organizations-api.d.ts +68 -68
- package/dist/esm/versions/v1/api/organizations-api.js +68 -68
- package/dist/esm/versions/v1/api/persons-api.d.ts +56 -56
- package/dist/esm/versions/v1/api/persons-api.js +56 -56
- package/dist/esm/versions/v1/api/pipelines-api.d.ts +28 -28
- package/dist/esm/versions/v1/api/pipelines-api.js +28 -28
- package/dist/esm/versions/v1/api/products-api.d.ts +24 -24
- package/dist/esm/versions/v1/api/products-api.js +24 -24
- package/dist/esm/versions/v1/api/stages-api.d.ts +36 -36
- package/dist/esm/versions/v1/api/stages-api.js +36 -36
- package/dist/esm/versions/v1/base.d.ts +2 -3
- package/dist/esm/versions/v1/configuration.d.ts +2 -2
- package/dist/esm/versions/v1/models/add-note-request-all-of.d.ts +9 -4
- package/dist/esm/versions/v1/models/add-note-request-all-of1.d.ts +10 -0
- package/dist/esm/versions/v1/models/add-note-request-all-of1.js +4 -0
- package/dist/esm/versions/v1/models/get-deal-search-response-all-of-data-items-inner-item.d.ts +5 -0
- package/dist/esm/versions/v1/models/index.d.ts +1 -0
- package/dist/esm/versions/v1/models/index.js +1 -0
- package/dist/esm/versions/v1/models/note-project.d.ts +23 -0
- package/dist/esm/versions/v1/models/note-project.js +14 -0
- package/dist/esm/versions/v1/models/note-request-all-of1.d.ts +5 -0
- package/dist/esm/versions/v1/models/note.d.ts +16 -0
- package/dist/esm/versions/v2/api/activities-api.d.ts +15 -7
- package/dist/esm/versions/v2/api/activities-api.js +12 -7
- package/dist/esm/versions/v2/api/beta-api.d.ts +212 -0
- package/dist/esm/versions/v2/api/beta-api.js +286 -0
- package/dist/esm/versions/v2/api/deals-api.d.ts +272 -4
- package/dist/esm/versions/v2/api/deals-api.js +288 -4
- package/dist/esm/versions/v2/api/leads-api.d.ts +111 -0
- package/dist/esm/versions/v2/api/leads-api.js +146 -1
- package/dist/esm/versions/v2/api/persons-api.d.ts +8 -8
- package/dist/esm/versions/v2/api/persons-api.js +8 -8
- package/dist/esm/versions/v2/api/products-api.js +1 -1
- package/dist/esm/versions/v2/base.d.ts +2 -3
- package/dist/esm/versions/v2/configuration.d.ts +2 -2
- package/dist/esm/versions/v2/models/activity-item.d.ts +5 -0
- package/dist/esm/versions/v2/models/activity-item1.d.ts +5 -0
- package/dist/esm/versions/v2/models/add-convert-deal-to-lead-response-data.d.ts +23 -0
- package/dist/esm/versions/v2/models/add-convert-deal-to-lead-response-data.js +14 -0
- package/dist/esm/versions/v2/models/add-convert-deal-to-lead-response.d.ts +34 -0
- package/dist/esm/versions/v2/models/add-convert-deal-to-lead-response.js +14 -0
- package/dist/esm/versions/v2/models/add-convert-lead-to-deal-response.d.ts +34 -0
- package/dist/esm/versions/v2/models/add-convert-lead-to-deal-response.js +14 -0
- package/dist/esm/versions/v2/models/add-person-request.d.ts +12 -0
- package/dist/esm/versions/v2/models/add-person-request.js +6 -1
- package/dist/esm/versions/v2/models/convert-lead-to-deal-request.d.ts +28 -0
- package/dist/esm/versions/v2/models/convert-lead-to-deal-request.js +14 -0
- package/dist/esm/versions/v2/models/deal-item.d.ts +5 -0
- package/dist/esm/versions/v2/models/deal-item1.d.ts +5 -0
- package/dist/esm/versions/v2/models/get-convert-response.d.ts +43 -0
- package/dist/esm/versions/v2/models/get-convert-response.js +14 -0
- package/dist/esm/versions/v2/models/get-convert-response1-data.d.ts +46 -0
- package/dist/esm/versions/v2/models/get-convert-response1-data.js +20 -0
- package/dist/esm/versions/v2/models/get-convert-response1.d.ts +34 -0
- package/dist/esm/versions/v2/models/get-convert-response1.js +14 -0
- package/dist/esm/versions/v2/models/get-deal-search-response-all-of-data-items-inner-item.d.ts +5 -0
- package/dist/esm/versions/v2/models/index.d.ts +7 -0
- package/dist/esm/versions/v2/models/index.js +7 -0
- package/dist/esm/versions/v2/models/update-person-request.d.ts +12 -0
- package/dist/esm/versions/v2/models/update-person-request.js +6 -1
- package/dist/versions/v1/api/activities-api.d.ts +40 -40
- package/dist/versions/v1/api/activities-api.js +40 -40
- package/dist/versions/v1/api/deals-api.d.ts +410 -88
- package/dist/versions/v1/api/deals-api.js +417 -88
- package/dist/versions/v1/api/item-search-api.d.ts +8 -8
- package/dist/versions/v1/api/item-search-api.js +8 -8
- package/dist/versions/v1/api/leads-api.d.ts +100 -14
- package/dist/versions/v1/api/leads-api.js +107 -14
- package/dist/versions/v1/api/notes-api.d.ts +18 -2
- package/dist/versions/v1/api/notes-api.js +15 -5
- package/dist/versions/v1/api/organizations-api.d.ts +68 -68
- package/dist/versions/v1/api/organizations-api.js +68 -68
- package/dist/versions/v1/api/persons-api.d.ts +56 -56
- package/dist/versions/v1/api/persons-api.js +56 -56
- package/dist/versions/v1/api/pipelines-api.d.ts +28 -28
- package/dist/versions/v1/api/pipelines-api.js +28 -28
- package/dist/versions/v1/api/products-api.d.ts +24 -24
- package/dist/versions/v1/api/products-api.js +24 -24
- package/dist/versions/v1/api/stages-api.d.ts +36 -36
- package/dist/versions/v1/api/stages-api.js +36 -36
- package/dist/versions/v1/base.d.ts +2 -3
- package/dist/versions/v1/configuration.d.ts +2 -2
- package/dist/versions/v1/models/add-note-request-all-of.d.ts +9 -4
- package/dist/versions/v1/models/add-note-request-all-of1.d.ts +10 -0
- package/dist/versions/v1/models/add-note-request-all-of1.js +5 -1
- package/dist/versions/v1/models/get-deal-search-response-all-of-data-items-inner-item.d.ts +5 -0
- package/dist/versions/v1/models/index.d.ts +1 -0
- package/dist/versions/v1/models/index.js +1 -0
- package/dist/versions/v1/models/note-project.d.ts +23 -0
- package/dist/versions/v1/models/note-project.js +15 -0
- package/dist/versions/v1/models/note-request-all-of1.d.ts +5 -0
- package/dist/versions/v1/models/note.d.ts +16 -0
- package/dist/versions/v2/api/activities-api.d.ts +15 -7
- package/dist/versions/v2/api/activities-api.js +12 -7
- package/dist/versions/v2/api/beta-api.d.ts +212 -0
- package/dist/versions/v2/api/beta-api.js +286 -0
- package/dist/versions/v2/api/deals-api.d.ts +272 -4
- package/dist/versions/v2/api/deals-api.js +288 -4
- package/dist/versions/v2/api/leads-api.d.ts +111 -0
- package/dist/versions/v2/api/leads-api.js +145 -0
- package/dist/versions/v2/api/persons-api.d.ts +8 -8
- package/dist/versions/v2/api/persons-api.js +8 -8
- package/dist/versions/v2/api/products-api.js +1 -1
- package/dist/versions/v2/base.d.ts +2 -3
- package/dist/versions/v2/configuration.d.ts +2 -2
- package/dist/versions/v2/models/activity-item.d.ts +5 -0
- package/dist/versions/v2/models/activity-item1.d.ts +5 -0
- package/dist/versions/v2/models/add-convert-deal-to-lead-response-data.d.ts +23 -0
- package/dist/versions/v2/models/add-convert-deal-to-lead-response-data.js +15 -0
- package/dist/versions/v2/models/add-convert-deal-to-lead-response.d.ts +34 -0
- package/dist/versions/v2/models/add-convert-deal-to-lead-response.js +15 -0
- package/dist/versions/v2/models/add-convert-lead-to-deal-response.d.ts +34 -0
- package/dist/versions/v2/models/add-convert-lead-to-deal-response.js +15 -0
- package/dist/versions/v2/models/add-person-request.d.ts +12 -0
- package/dist/versions/v2/models/add-person-request.js +7 -0
- package/dist/versions/v2/models/convert-lead-to-deal-request.d.ts +28 -0
- package/dist/versions/v2/models/convert-lead-to-deal-request.js +15 -0
- package/dist/versions/v2/models/deal-item.d.ts +5 -0
- package/dist/versions/v2/models/deal-item1.d.ts +5 -0
- package/dist/versions/v2/models/get-convert-response.d.ts +43 -0
- package/dist/versions/v2/models/get-convert-response.js +15 -0
- package/dist/versions/v2/models/get-convert-response1-data.d.ts +46 -0
- package/dist/versions/v2/models/get-convert-response1-data.js +23 -0
- package/dist/versions/v2/models/get-convert-response1.d.ts +34 -0
- package/dist/versions/v2/models/get-convert-response1.js +15 -0
- package/dist/versions/v2/models/get-deal-search-response-all-of-data-items-inner-item.d.ts +5 -0
- package/dist/versions/v2/models/index.d.ts +7 -0
- package/dist/versions/v2/models/index.js +7 -0
- package/dist/versions/v2/models/update-person-request.d.ts +12 -0
- package/dist/versions/v2/models/update-person-request.js +7 -0
- package/package.json +1 -1
@@ -35,7 +35,7 @@ export declare const ProductsApiAxiosParamCreator: (configuration?: Configuratio
|
|
35
35
|
* Adds a new product to the Products inventory. For more information, see the tutorial for <a href=\"https://pipedrive.readme.io/docs/adding-a-product\" target=\"_blank\" rel=\"noopener noreferrer\">adding a product</a>.
|
36
36
|
* @summary Add a product
|
37
37
|
* @param {AddProductRequest} [AddProductRequest]
|
38
|
-
|
38
|
+
* @deprecated
|
39
39
|
* @throws {RequiredError}
|
40
40
|
*/
|
41
41
|
addProduct: (AddProductRequest?: AddProductRequest) => Promise<RequestArgs>;
|
@@ -52,7 +52,7 @@ export declare const ProductsApiAxiosParamCreator: (configuration?: Configuratio
|
|
52
52
|
* Marks a product as deleted. After 30 days, the product will be permanently deleted.
|
53
53
|
* @summary Delete a product
|
54
54
|
* @param {number} id The ID of the product
|
55
|
-
|
55
|
+
* @deprecated
|
56
56
|
* @throws {RequiredError}
|
57
57
|
*/
|
58
58
|
deleteProduct: (id: number) => Promise<RequestArgs>;
|
@@ -69,7 +69,7 @@ export declare const ProductsApiAxiosParamCreator: (configuration?: Configuratio
|
|
69
69
|
* Returns data about a specific product.
|
70
70
|
* @summary Get one product
|
71
71
|
* @param {number} id The ID of the product
|
72
|
-
|
72
|
+
* @deprecated
|
73
73
|
* @throws {RequiredError}
|
74
74
|
*/
|
75
75
|
getProduct: (id: number) => Promise<RequestArgs>;
|
@@ -123,7 +123,7 @@ export declare const ProductsApiAxiosParamCreator: (configuration?: Configuratio
|
|
123
123
|
* @param {boolean} [get_summary] If supplied, the response will return the total numbers of products in the `additional_data.summary.total_count` property
|
124
124
|
* @param {number} [start] Pagination start
|
125
125
|
* @param {number} [limit] Items shown per page
|
126
|
-
|
126
|
+
* @deprecated
|
127
127
|
* @throws {RequiredError}
|
128
128
|
*/
|
129
129
|
getProducts: (user_id?: number, filter_id?: number, ids?: Array<number>, first_char?: string, get_summary?: boolean, start?: number, limit?: number) => Promise<RequestArgs>;
|
@@ -136,7 +136,7 @@ export declare const ProductsApiAxiosParamCreator: (configuration?: Configuratio
|
|
136
136
|
* @param {'product.price'} [include_fields] Supports including optional fields in the results which are not provided by default
|
137
137
|
* @param {number} [start] Pagination start. Note that the pagination is based on main results and does not include related items when using `search_for_related_items` parameter.
|
138
138
|
* @param {number} [limit] Items shown per page
|
139
|
-
|
139
|
+
* @deprecated
|
140
140
|
* @throws {RequiredError}
|
141
141
|
*/
|
142
142
|
searchProducts: (term: string, fields?: 'code' | 'custom_fields' | 'name', exact_match?: boolean, include_fields?: 'product.price', start?: number, limit?: number) => Promise<RequestArgs>;
|
@@ -145,7 +145,7 @@ export declare const ProductsApiAxiosParamCreator: (configuration?: Configuratio
|
|
145
145
|
* @summary Update a product
|
146
146
|
* @param {number} id The ID of the product
|
147
147
|
* @param {UpdateProductRequest} [UpdateProductRequest]
|
148
|
-
|
148
|
+
* @deprecated
|
149
149
|
* @throws {RequiredError}
|
150
150
|
*/
|
151
151
|
updateProduct: (id: number, UpdateProductRequest?: UpdateProductRequest) => Promise<RequestArgs>;
|
@@ -159,7 +159,7 @@ export declare const ProductsApiFp: (configuration?: Configuration) => {
|
|
159
159
|
* Adds a new product to the Products inventory. For more information, see the tutorial for <a href=\"https://pipedrive.readme.io/docs/adding-a-product\" target=\"_blank\" rel=\"noopener noreferrer\">adding a product</a>.
|
160
160
|
* @summary Add a product
|
161
161
|
* @param {AddProductRequest} [AddProductRequest]
|
162
|
-
|
162
|
+
* @deprecated
|
163
163
|
* @throws {RequiredError}
|
164
164
|
*/
|
165
165
|
addProduct(AddProductRequest?: AddProductRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetProductResponse>>;
|
@@ -176,7 +176,7 @@ export declare const ProductsApiFp: (configuration?: Configuration) => {
|
|
176
176
|
* Marks a product as deleted. After 30 days, the product will be permanently deleted.
|
177
177
|
* @summary Delete a product
|
178
178
|
* @param {number} id The ID of the product
|
179
|
-
|
179
|
+
* @deprecated
|
180
180
|
* @throws {RequiredError}
|
181
181
|
*/
|
182
182
|
deleteProduct(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<DeleteProductResponse>>;
|
@@ -193,7 +193,7 @@ export declare const ProductsApiFp: (configuration?: Configuration) => {
|
|
193
193
|
* Returns data about a specific product.
|
194
194
|
* @summary Get one product
|
195
195
|
* @param {number} id The ID of the product
|
196
|
-
|
196
|
+
* @deprecated
|
197
197
|
* @throws {RequiredError}
|
198
198
|
*/
|
199
199
|
getProduct(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetProductResponse>>;
|
@@ -247,7 +247,7 @@ export declare const ProductsApiFp: (configuration?: Configuration) => {
|
|
247
247
|
* @param {boolean} [get_summary] If supplied, the response will return the total numbers of products in the `additional_data.summary.total_count` property
|
248
248
|
* @param {number} [start] Pagination start
|
249
249
|
* @param {number} [limit] Items shown per page
|
250
|
-
|
250
|
+
* @deprecated
|
251
251
|
* @throws {RequiredError}
|
252
252
|
*/
|
253
253
|
getProducts(user_id?: number, filter_id?: number, ids?: Array<number>, first_char?: string, get_summary?: boolean, start?: number, limit?: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetProductsResponse1>>;
|
@@ -260,7 +260,7 @@ export declare const ProductsApiFp: (configuration?: Configuration) => {
|
|
260
260
|
* @param {'product.price'} [include_fields] Supports including optional fields in the results which are not provided by default
|
261
261
|
* @param {number} [start] Pagination start. Note that the pagination is based on main results and does not include related items when using `search_for_related_items` parameter.
|
262
262
|
* @param {number} [limit] Items shown per page
|
263
|
-
|
263
|
+
* @deprecated
|
264
264
|
* @throws {RequiredError}
|
265
265
|
*/
|
266
266
|
searchProducts(term: string, fields?: 'code' | 'custom_fields' | 'name', exact_match?: boolean, include_fields?: 'product.price', start?: number, limit?: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetProductSearchResponse>>;
|
@@ -269,7 +269,7 @@ export declare const ProductsApiFp: (configuration?: Configuration) => {
|
|
269
269
|
* @summary Update a product
|
270
270
|
* @param {number} id The ID of the product
|
271
271
|
* @param {UpdateProductRequest} [UpdateProductRequest]
|
272
|
-
|
272
|
+
* @deprecated
|
273
273
|
* @throws {RequiredError}
|
274
274
|
*/
|
275
275
|
updateProduct(id: number, UpdateProductRequest?: UpdateProductRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<UpdateProductResponse>>;
|
@@ -283,7 +283,7 @@ export declare const ProductsApiFactory: (configuration?: Configuration, basePat
|
|
283
283
|
* Adds a new product to the Products inventory. For more information, see the tutorial for <a href=\"https://pipedrive.readme.io/docs/adding-a-product\" target=\"_blank\" rel=\"noopener noreferrer\">adding a product</a>.
|
284
284
|
* @summary Add a product
|
285
285
|
* @param {ProductsApiAddProductRequest} requestParameters Request parameters.
|
286
|
-
|
286
|
+
* @deprecated
|
287
287
|
* @throws {RequiredError}
|
288
288
|
*/
|
289
289
|
addProduct(requestParameters?: ProductsApiAddProductRequest): Promise<GetProductResponse>;
|
@@ -299,7 +299,7 @@ export declare const ProductsApiFactory: (configuration?: Configuration, basePat
|
|
299
299
|
* Marks a product as deleted. After 30 days, the product will be permanently deleted.
|
300
300
|
* @summary Delete a product
|
301
301
|
* @param {ProductsApiDeleteProductRequest} requestParameters Request parameters.
|
302
|
-
|
302
|
+
* @deprecated
|
303
303
|
* @throws {RequiredError}
|
304
304
|
*/
|
305
305
|
deleteProduct(requestParameters: ProductsApiDeleteProductRequest): Promise<DeleteProductResponse>;
|
@@ -315,7 +315,7 @@ export declare const ProductsApiFactory: (configuration?: Configuration, basePat
|
|
315
315
|
* Returns data about a specific product.
|
316
316
|
* @summary Get one product
|
317
317
|
* @param {ProductsApiGetProductRequest} requestParameters Request parameters.
|
318
|
-
|
318
|
+
* @deprecated
|
319
319
|
* @throws {RequiredError}
|
320
320
|
*/
|
321
321
|
getProduct(requestParameters: ProductsApiGetProductRequest): Promise<GetProductResponse>;
|
@@ -355,7 +355,7 @@ export declare const ProductsApiFactory: (configuration?: Configuration, basePat
|
|
355
355
|
* Returns data about all products.
|
356
356
|
* @summary Get all products
|
357
357
|
* @param {ProductsApiGetProductsRequest} requestParameters Request parameters.
|
358
|
-
|
358
|
+
* @deprecated
|
359
359
|
* @throws {RequiredError}
|
360
360
|
*/
|
361
361
|
getProducts(requestParameters?: ProductsApiGetProductsRequest): Promise<GetProductsResponse1>;
|
@@ -363,7 +363,7 @@ export declare const ProductsApiFactory: (configuration?: Configuration, basePat
|
|
363
363
|
* 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.
|
364
364
|
* @summary Search products
|
365
365
|
* @param {ProductsApiSearchProductsRequest} requestParameters Request parameters.
|
366
|
-
|
366
|
+
* @deprecated
|
367
367
|
* @throws {RequiredError}
|
368
368
|
*/
|
369
369
|
searchProducts(requestParameters: ProductsApiSearchProductsRequest): Promise<GetProductSearchResponse>;
|
@@ -371,7 +371,7 @@ export declare const ProductsApiFactory: (configuration?: Configuration, basePat
|
|
371
371
|
* Updates product data.
|
372
372
|
* @summary Update a product
|
373
373
|
* @param {ProductsApiUpdateProductRequest} requestParameters Request parameters.
|
374
|
-
|
374
|
+
* @deprecated
|
375
375
|
* @throws {RequiredError}
|
376
376
|
*/
|
377
377
|
updateProduct(requestParameters: ProductsApiUpdateProductRequest): Promise<UpdateProductResponse>;
|
@@ -675,7 +675,7 @@ export declare class ProductsApi extends BaseAPI {
|
|
675
675
|
* Adds a new product to the Products inventory. For more information, see the tutorial for <a href=\"https://pipedrive.readme.io/docs/adding-a-product\" target=\"_blank\" rel=\"noopener noreferrer\">adding a product</a>.
|
676
676
|
* @summary Add a product
|
677
677
|
* @param {ProductsApiAddProductRequest} requestParameters Request parameters.
|
678
|
-
|
678
|
+
* @deprecated
|
679
679
|
* @throws {RequiredError}
|
680
680
|
* @memberof ProductsApi
|
681
681
|
*/
|
@@ -693,7 +693,7 @@ export declare class ProductsApi extends BaseAPI {
|
|
693
693
|
* Marks a product as deleted. After 30 days, the product will be permanently deleted.
|
694
694
|
* @summary Delete a product
|
695
695
|
* @param {ProductsApiDeleteProductRequest} requestParameters Request parameters.
|
696
|
-
|
696
|
+
* @deprecated
|
697
697
|
* @throws {RequiredError}
|
698
698
|
* @memberof ProductsApi
|
699
699
|
*/
|
@@ -711,7 +711,7 @@ export declare class ProductsApi extends BaseAPI {
|
|
711
711
|
* Returns data about a specific product.
|
712
712
|
* @summary Get one product
|
713
713
|
* @param {ProductsApiGetProductRequest} requestParameters Request parameters.
|
714
|
-
|
714
|
+
* @deprecated
|
715
715
|
* @throws {RequiredError}
|
716
716
|
* @memberof ProductsApi
|
717
717
|
*/
|
@@ -756,7 +756,7 @@ export declare class ProductsApi extends BaseAPI {
|
|
756
756
|
* Returns data about all products.
|
757
757
|
* @summary Get all products
|
758
758
|
* @param {ProductsApiGetProductsRequest} requestParameters Request parameters.
|
759
|
-
|
759
|
+
* @deprecated
|
760
760
|
* @throws {RequiredError}
|
761
761
|
* @memberof ProductsApi
|
762
762
|
*/
|
@@ -765,7 +765,7 @@ export declare class ProductsApi extends BaseAPI {
|
|
765
765
|
* 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.
|
766
766
|
* @summary Search products
|
767
767
|
* @param {ProductsApiSearchProductsRequest} requestParameters Request parameters.
|
768
|
-
|
768
|
+
* @deprecated
|
769
769
|
* @throws {RequiredError}
|
770
770
|
* @memberof ProductsApi
|
771
771
|
*/
|
@@ -774,7 +774,7 @@ export declare class ProductsApi extends BaseAPI {
|
|
774
774
|
* Updates product data.
|
775
775
|
* @summary Update a product
|
776
776
|
* @param {ProductsApiUpdateProductRequest} requestParameters Request parameters.
|
777
|
-
|
777
|
+
* @deprecated
|
778
778
|
* @throws {RequiredError}
|
779
779
|
* @memberof ProductsApi
|
780
780
|
*/
|
@@ -36,7 +36,7 @@ export const ProductsApiAxiosParamCreator = function (configuration) {
|
|
36
36
|
* Adds a new product to the Products inventory. For more information, see the tutorial for <a href=\"https://pipedrive.readme.io/docs/adding-a-product\" target=\"_blank\" rel=\"noopener noreferrer\">adding a product</a>.
|
37
37
|
* @summary Add a product
|
38
38
|
* @param {AddProductRequest} [AddProductRequest]
|
39
|
-
|
39
|
+
* @deprecated
|
40
40
|
* @throws {RequiredError}
|
41
41
|
*/
|
42
42
|
addProduct: (AddProductRequest) => __awaiter(this, void 0, void 0, function* () {
|
@@ -106,7 +106,7 @@ export const ProductsApiAxiosParamCreator = function (configuration) {
|
|
106
106
|
* Marks a product as deleted. After 30 days, the product will be permanently deleted.
|
107
107
|
* @summary Delete a product
|
108
108
|
* @param {number} id The ID of the product
|
109
|
-
|
109
|
+
* @deprecated
|
110
110
|
* @throws {RequiredError}
|
111
111
|
*/
|
112
112
|
deleteProduct: (id) => __awaiter(this, void 0, void 0, function* () {
|
@@ -178,7 +178,7 @@ export const ProductsApiAxiosParamCreator = function (configuration) {
|
|
178
178
|
* Returns data about a specific product.
|
179
179
|
* @summary Get one product
|
180
180
|
* @param {number} id The ID of the product
|
181
|
-
|
181
|
+
* @deprecated
|
182
182
|
* @throws {RequiredError}
|
183
183
|
*/
|
184
184
|
getProduct: (id) => __awaiter(this, void 0, void 0, function* () {
|
@@ -386,7 +386,7 @@ export const ProductsApiAxiosParamCreator = function (configuration) {
|
|
386
386
|
* @param {boolean} [get_summary] If supplied, the response will return the total numbers of products in the `additional_data.summary.total_count` property
|
387
387
|
* @param {number} [start] Pagination start
|
388
388
|
* @param {number} [limit] Items shown per page
|
389
|
-
|
389
|
+
* @deprecated
|
390
390
|
* @throws {RequiredError}
|
391
391
|
*/
|
392
392
|
getProducts: (user_id, filter_id, ids, first_char, get_summary, start, limit) => __awaiter(this, void 0, void 0, function* () {
|
@@ -443,7 +443,7 @@ export const ProductsApiAxiosParamCreator = function (configuration) {
|
|
443
443
|
* @param {'product.price'} [include_fields] Supports including optional fields in the results which are not provided by default
|
444
444
|
* @param {number} [start] Pagination start. Note that the pagination is based on main results and does not include related items when using `search_for_related_items` parameter.
|
445
445
|
* @param {number} [limit] Items shown per page
|
446
|
-
|
446
|
+
* @deprecated
|
447
447
|
* @throws {RequiredError}
|
448
448
|
*/
|
449
449
|
searchProducts: (term, fields, exact_match, include_fields, start, limit) => __awaiter(this, void 0, void 0, function* () {
|
@@ -495,7 +495,7 @@ export const ProductsApiAxiosParamCreator = function (configuration) {
|
|
495
495
|
* @summary Update a product
|
496
496
|
* @param {number} id The ID of the product
|
497
497
|
* @param {UpdateProductRequest} [UpdateProductRequest]
|
498
|
-
|
498
|
+
* @deprecated
|
499
499
|
* @throws {RequiredError}
|
500
500
|
*/
|
501
501
|
updateProduct: (id, UpdateProductRequest) => __awaiter(this, void 0, void 0, function* () {
|
@@ -540,7 +540,7 @@ export const ProductsApiFp = function (configuration) {
|
|
540
540
|
* Adds a new product to the Products inventory. For more information, see the tutorial for <a href=\"https://pipedrive.readme.io/docs/adding-a-product\" target=\"_blank\" rel=\"noopener noreferrer\">adding a product</a>.
|
541
541
|
* @summary Add a product
|
542
542
|
* @param {AddProductRequest} [AddProductRequest]
|
543
|
-
|
543
|
+
* @deprecated
|
544
544
|
* @throws {RequiredError}
|
545
545
|
*/
|
546
546
|
addProduct(AddProductRequest) {
|
@@ -567,7 +567,7 @@ export const ProductsApiFp = function (configuration) {
|
|
567
567
|
* Marks a product as deleted. After 30 days, the product will be permanently deleted.
|
568
568
|
* @summary Delete a product
|
569
569
|
* @param {number} id The ID of the product
|
570
|
-
|
570
|
+
* @deprecated
|
571
571
|
* @throws {RequiredError}
|
572
572
|
*/
|
573
573
|
deleteProduct(id) {
|
@@ -594,7 +594,7 @@ export const ProductsApiFp = function (configuration) {
|
|
594
594
|
* Returns data about a specific product.
|
595
595
|
* @summary Get one product
|
596
596
|
* @param {number} id The ID of the product
|
597
|
-
|
597
|
+
* @deprecated
|
598
598
|
* @throws {RequiredError}
|
599
599
|
*/
|
600
600
|
getProduct(id) {
|
@@ -673,7 +673,7 @@ export const ProductsApiFp = function (configuration) {
|
|
673
673
|
* @param {boolean} [get_summary] If supplied, the response will return the total numbers of products in the `additional_data.summary.total_count` property
|
674
674
|
* @param {number} [start] Pagination start
|
675
675
|
* @param {number} [limit] Items shown per page
|
676
|
-
|
676
|
+
* @deprecated
|
677
677
|
* @throws {RequiredError}
|
678
678
|
*/
|
679
679
|
getProducts(user_id, filter_id, ids, first_char, get_summary, start, limit) {
|
@@ -691,7 +691,7 @@ export const ProductsApiFp = function (configuration) {
|
|
691
691
|
* @param {'product.price'} [include_fields] Supports including optional fields in the results which are not provided by default
|
692
692
|
* @param {number} [start] Pagination start. Note that the pagination is based on main results and does not include related items when using `search_for_related_items` parameter.
|
693
693
|
* @param {number} [limit] Items shown per page
|
694
|
-
|
694
|
+
* @deprecated
|
695
695
|
* @throws {RequiredError}
|
696
696
|
*/
|
697
697
|
searchProducts(term, fields, exact_match, include_fields, start, limit) {
|
@@ -705,7 +705,7 @@ export const ProductsApiFp = function (configuration) {
|
|
705
705
|
* @summary Update a product
|
706
706
|
* @param {number} id The ID of the product
|
707
707
|
* @param {UpdateProductRequest} [UpdateProductRequest]
|
708
|
-
|
708
|
+
* @deprecated
|
709
709
|
* @throws {RequiredError}
|
710
710
|
*/
|
711
711
|
updateProduct(id, UpdateProductRequest) {
|
@@ -727,7 +727,7 @@ export const ProductsApiFactory = function (configuration, basePath, axios) {
|
|
727
727
|
* Adds a new product to the Products inventory. For more information, see the tutorial for <a href=\"https://pipedrive.readme.io/docs/adding-a-product\" target=\"_blank\" rel=\"noopener noreferrer\">adding a product</a>.
|
728
728
|
* @summary Add a product
|
729
729
|
* @param {ProductsApiAddProductRequest} requestParameters Request parameters.
|
730
|
-
|
730
|
+
* @deprecated
|
731
731
|
* @throws {RequiredError}
|
732
732
|
*/
|
733
733
|
addProduct(requestParameters = {}) {
|
@@ -747,7 +747,7 @@ export const ProductsApiFactory = function (configuration, basePath, axios) {
|
|
747
747
|
* Marks a product as deleted. After 30 days, the product will be permanently deleted.
|
748
748
|
* @summary Delete a product
|
749
749
|
* @param {ProductsApiDeleteProductRequest} requestParameters Request parameters.
|
750
|
-
|
750
|
+
* @deprecated
|
751
751
|
* @throws {RequiredError}
|
752
752
|
*/
|
753
753
|
deleteProduct(requestParameters) {
|
@@ -767,7 +767,7 @@ export const ProductsApiFactory = function (configuration, basePath, axios) {
|
|
767
767
|
* Returns data about a specific product.
|
768
768
|
* @summary Get one product
|
769
769
|
* @param {ProductsApiGetProductRequest} requestParameters Request parameters.
|
770
|
-
|
770
|
+
* @deprecated
|
771
771
|
* @throws {RequiredError}
|
772
772
|
*/
|
773
773
|
getProduct(requestParameters) {
|
@@ -817,7 +817,7 @@ export const ProductsApiFactory = function (configuration, basePath, axios) {
|
|
817
817
|
* Returns data about all products.
|
818
818
|
* @summary Get all products
|
819
819
|
* @param {ProductsApiGetProductsRequest} requestParameters Request parameters.
|
820
|
-
|
820
|
+
* @deprecated
|
821
821
|
* @throws {RequiredError}
|
822
822
|
*/
|
823
823
|
getProducts(requestParameters = {}) {
|
@@ -827,7 +827,7 @@ export const ProductsApiFactory = function (configuration, basePath, axios) {
|
|
827
827
|
* 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.
|
828
828
|
* @summary Search products
|
829
829
|
* @param {ProductsApiSearchProductsRequest} requestParameters Request parameters.
|
830
|
-
|
830
|
+
* @deprecated
|
831
831
|
* @throws {RequiredError}
|
832
832
|
*/
|
833
833
|
searchProducts(requestParameters) {
|
@@ -837,7 +837,7 @@ export const ProductsApiFactory = function (configuration, basePath, axios) {
|
|
837
837
|
* Updates product data.
|
838
838
|
* @summary Update a product
|
839
839
|
* @param {ProductsApiUpdateProductRequest} requestParameters Request parameters.
|
840
|
-
|
840
|
+
* @deprecated
|
841
841
|
* @throws {RequiredError}
|
842
842
|
*/
|
843
843
|
updateProduct(requestParameters) {
|
@@ -856,7 +856,7 @@ export class ProductsApi extends BaseAPI {
|
|
856
856
|
* Adds a new product to the Products inventory. For more information, see the tutorial for <a href=\"https://pipedrive.readme.io/docs/adding-a-product\" target=\"_blank\" rel=\"noopener noreferrer\">adding a product</a>.
|
857
857
|
* @summary Add a product
|
858
858
|
* @param {ProductsApiAddProductRequest} requestParameters Request parameters.
|
859
|
-
|
859
|
+
* @deprecated
|
860
860
|
* @throws {RequiredError}
|
861
861
|
* @memberof ProductsApi
|
862
862
|
*/
|
@@ -878,7 +878,7 @@ export class ProductsApi extends BaseAPI {
|
|
878
878
|
* Marks a product as deleted. After 30 days, the product will be permanently deleted.
|
879
879
|
* @summary Delete a product
|
880
880
|
* @param {ProductsApiDeleteProductRequest} requestParameters Request parameters.
|
881
|
-
|
881
|
+
* @deprecated
|
882
882
|
* @throws {RequiredError}
|
883
883
|
* @memberof ProductsApi
|
884
884
|
*/
|
@@ -900,7 +900,7 @@ export class ProductsApi extends BaseAPI {
|
|
900
900
|
* Returns data about a specific product.
|
901
901
|
* @summary Get one product
|
902
902
|
* @param {ProductsApiGetProductRequest} requestParameters Request parameters.
|
903
|
-
|
903
|
+
* @deprecated
|
904
904
|
* @throws {RequiredError}
|
905
905
|
* @memberof ProductsApi
|
906
906
|
*/
|
@@ -955,7 +955,7 @@ export class ProductsApi extends BaseAPI {
|
|
955
955
|
* Returns data about all products.
|
956
956
|
* @summary Get all products
|
957
957
|
* @param {ProductsApiGetProductsRequest} requestParameters Request parameters.
|
958
|
-
|
958
|
+
* @deprecated
|
959
959
|
* @throws {RequiredError}
|
960
960
|
* @memberof ProductsApi
|
961
961
|
*/
|
@@ -966,7 +966,7 @@ export class ProductsApi extends BaseAPI {
|
|
966
966
|
* 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.
|
967
967
|
* @summary Search products
|
968
968
|
* @param {ProductsApiSearchProductsRequest} requestParameters Request parameters.
|
969
|
-
|
969
|
+
* @deprecated
|
970
970
|
* @throws {RequiredError}
|
971
971
|
* @memberof ProductsApi
|
972
972
|
*/
|
@@ -977,7 +977,7 @@ export class ProductsApi extends BaseAPI {
|
|
977
977
|
* Updates product data.
|
978
978
|
* @summary Update a product
|
979
979
|
* @param {ProductsApiUpdateProductRequest} requestParameters Request parameters.
|
980
|
-
|
980
|
+
* @deprecated
|
981
981
|
* @throws {RequiredError}
|
982
982
|
* @memberof ProductsApi
|
983
983
|
*/
|