pipedrive 34.0.0 → 35.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/deal-fields-api.d.ts +6 -6
- package/dist/esm/versions/v1/api/deal-fields-api.js +5 -5
- package/dist/esm/versions/v1/api/deals-api.d.ts +6 -6
- package/dist/esm/versions/v1/api/deals-api.js +5 -5
- package/dist/esm/versions/v1/api/filters-api.d.ts +6 -6
- package/dist/esm/versions/v1/api/filters-api.js +5 -5
- package/dist/esm/versions/v1/api/leads-api.d.ts +10 -10
- package/dist/esm/versions/v1/api/leads-api.js +9 -9
- package/dist/esm/versions/v1/api/organization-fields-api.d.ts +6 -6
- package/dist/esm/versions/v1/api/organization-fields-api.js +5 -5
- package/dist/esm/versions/v1/api/organizations-api.d.ts +6 -6
- package/dist/esm/versions/v1/api/organizations-api.js +5 -5
- package/dist/esm/versions/v1/api/person-fields-api.d.ts +6 -6
- package/dist/esm/versions/v1/api/person-fields-api.js +5 -5
- package/dist/esm/versions/v1/api/persons-api.d.ts +6 -6
- package/dist/esm/versions/v1/api/persons-api.js +5 -5
- package/dist/esm/versions/v1/api/product-fields-api.d.ts +6 -6
- package/dist/esm/versions/v1/api/product-fields-api.js +5 -5
- package/dist/esm/versions/v2/api/beta-api.d.ts +6 -6
- package/dist/esm/versions/v2/api/beta-api.js +5 -5
- package/dist/esm/versions/v2/api/deal-products-api.d.ts +6 -6
- package/dist/esm/versions/v2/api/deal-products-api.js +4 -4
- package/dist/esm/versions/v2/api/deals-api.d.ts +26 -26
- package/dist/esm/versions/v2/api/deals-api.js +20 -20
- package/dist/esm/versions/v2/api/item-search-api.d.ts +14 -14
- package/dist/esm/versions/v2/api/item-search-api.js +13 -13
- package/dist/esm/versions/v2/api/leads-api.d.ts +10 -10
- package/dist/esm/versions/v2/api/leads-api.js +9 -9
- package/dist/esm/versions/v2/api/organizations-api.d.ts +6 -6
- package/dist/esm/versions/v2/api/organizations-api.js +4 -4
- package/dist/esm/versions/v2/api/persons-api.d.ts +10 -10
- package/dist/esm/versions/v2/api/persons-api.js +8 -8
- package/dist/esm/versions/v2/api/product-fields-api.d.ts +14 -14
- package/dist/esm/versions/v2/api/products-api.d.ts +10 -10
- package/dist/esm/versions/v2/api/products-api.js +8 -8
- package/dist/esm/versions/v2/api/projects-api.d.ts +6 -6
- package/dist/esm/versions/v2/api/projects-api.js +5 -5
- 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/v1/api/deal-fields-api.d.ts +6 -6
- package/dist/versions/v1/api/deal-fields-api.js +4 -4
- package/dist/versions/v1/api/deals-api.d.ts +6 -6
- package/dist/versions/v1/api/deals-api.js +4 -4
- package/dist/versions/v1/api/filters-api.d.ts +6 -6
- package/dist/versions/v1/api/filters-api.js +4 -4
- package/dist/versions/v1/api/leads-api.d.ts +10 -10
- package/dist/versions/v1/api/leads-api.js +8 -8
- package/dist/versions/v1/api/organization-fields-api.d.ts +6 -6
- package/dist/versions/v1/api/organization-fields-api.js +4 -4
- package/dist/versions/v1/api/organizations-api.d.ts +6 -6
- package/dist/versions/v1/api/organizations-api.js +4 -4
- package/dist/versions/v1/api/person-fields-api.d.ts +6 -6
- package/dist/versions/v1/api/person-fields-api.js +4 -4
- package/dist/versions/v1/api/persons-api.d.ts +6 -6
- package/dist/versions/v1/api/persons-api.js +4 -4
- package/dist/versions/v1/api/product-fields-api.d.ts +6 -6
- package/dist/versions/v1/api/product-fields-api.js +4 -4
- package/dist/versions/v2/api/beta-api.d.ts +6 -6
- package/dist/versions/v2/api/beta-api.js +4 -4
- package/dist/versions/v2/api/deal-products-api.d.ts +6 -6
- package/dist/versions/v2/api/deal-products-api.js +4 -4
- package/dist/versions/v2/api/deals-api.d.ts +26 -26
- package/dist/versions/v2/api/deals-api.js +20 -20
- package/dist/versions/v2/api/item-search-api.d.ts +14 -14
- package/dist/versions/v2/api/item-search-api.js +12 -12
- package/dist/versions/v2/api/leads-api.d.ts +10 -10
- package/dist/versions/v2/api/leads-api.js +8 -8
- package/dist/versions/v2/api/organizations-api.d.ts +6 -6
- package/dist/versions/v2/api/organizations-api.js +4 -4
- package/dist/versions/v2/api/persons-api.d.ts +10 -10
- package/dist/versions/v2/api/persons-api.js +8 -8
- package/dist/versions/v2/api/product-fields-api.d.ts +14 -14
- package/dist/versions/v2/api/products-api.d.ts +10 -10
- package/dist/versions/v2/api/products-api.js +8 -8
- package/dist/versions/v2/api/projects-api.d.ts +6 -6
- package/dist/versions/v2/api/projects-api.js +4 -4
- 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
|
@@ -106,7 +106,7 @@ export declare const ProjectsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
106
106
|
* Searches all projects by title, description, notes 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. Found projects can be filtered by person ID or organization ID.
|
|
107
107
|
* @summary Search projects
|
|
108
108
|
* @param {string} term The search term to look for. Minimum 2 characters (or 1 if using `exact_match`). Please note that the search term has to be URL encoded.
|
|
109
|
-
* @param {'custom_fields' | 'notes' | 'title' | 'description'} [fields] A comma-separated string array. The fields to perform the search from. Defaults to all of them. Only the following custom field types are searchable: `address`, `varchar`, `text`, `varchar_auto`, `double`, `monetary` and `phone`. Read more about searching by custom fields <a href=\"https://support.pipedrive.com/en/article/search-finding-what-you-need#searching-by-custom-fields\" target=\"_blank\" rel=\"noopener noreferrer\">here</a>.
|
|
109
|
+
* @param {Set<'custom_fields' | 'notes' | 'title' | 'description'>} [fields] A comma-separated string array. The fields to perform the search from. Defaults to all of them. Only the following custom field types are searchable: `address`, `varchar`, `text`, `varchar_auto`, `double`, `monetary` and `phone`. Read more about searching by custom fields <a href=\"https://support.pipedrive.com/en/article/search-finding-what-you-need#searching-by-custom-fields\" target=\"_blank\" rel=\"noopener noreferrer\">here</a>.
|
|
110
110
|
* @param {boolean} [exact_match] When enabled, only full exact matches against the given term are returned. It is <b>not</b> case sensitive.
|
|
111
111
|
* @param {number} [person_id] Will filter projects by the provided person ID
|
|
112
112
|
* @param {number} [organization_id] Will filter projects by the provided organization ID
|
|
@@ -115,7 +115,7 @@ export declare const ProjectsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
115
115
|
|
|
116
116
|
* @throws {RequiredError}
|
|
117
117
|
*/
|
|
118
|
-
searchProjects: (term: string, fields?: 'custom_fields' | 'notes' | 'title' | 'description'
|
|
118
|
+
searchProjects: (term: string, fields?: Set<'custom_fields' | 'notes' | 'title' | 'description'>, exact_match?: boolean, person_id?: number, organization_id?: number, limit?: number, cursor?: string) => Promise<RequestArgs>;
|
|
119
119
|
/**
|
|
120
120
|
* Updates the properties of a project.
|
|
121
121
|
* @summary Update a project
|
|
@@ -212,7 +212,7 @@ export declare const ProjectsApiFp: (configuration?: Configuration) => {
|
|
|
212
212
|
* Searches all projects by title, description, notes 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. Found projects can be filtered by person ID or organization ID.
|
|
213
213
|
* @summary Search projects
|
|
214
214
|
* @param {string} term The search term to look for. Minimum 2 characters (or 1 if using `exact_match`). Please note that the search term has to be URL encoded.
|
|
215
|
-
* @param {'custom_fields' | 'notes' | 'title' | 'description'} [fields] A comma-separated string array. The fields to perform the search from. Defaults to all of them. Only the following custom field types are searchable: `address`, `varchar`, `text`, `varchar_auto`, `double`, `monetary` and `phone`. Read more about searching by custom fields <a href=\"https://support.pipedrive.com/en/article/search-finding-what-you-need#searching-by-custom-fields\" target=\"_blank\" rel=\"noopener noreferrer\">here</a>.
|
|
215
|
+
* @param {Set<'custom_fields' | 'notes' | 'title' | 'description'>} [fields] A comma-separated string array. The fields to perform the search from. Defaults to all of them. Only the following custom field types are searchable: `address`, `varchar`, `text`, `varchar_auto`, `double`, `monetary` and `phone`. Read more about searching by custom fields <a href=\"https://support.pipedrive.com/en/article/search-finding-what-you-need#searching-by-custom-fields\" target=\"_blank\" rel=\"noopener noreferrer\">here</a>.
|
|
216
216
|
* @param {boolean} [exact_match] When enabled, only full exact matches against the given term are returned. It is <b>not</b> case sensitive.
|
|
217
217
|
* @param {number} [person_id] Will filter projects by the provided person ID
|
|
218
218
|
* @param {number} [organization_id] Will filter projects by the provided organization ID
|
|
@@ -221,7 +221,7 @@ export declare const ProjectsApiFp: (configuration?: Configuration) => {
|
|
|
221
221
|
|
|
222
222
|
* @throws {RequiredError}
|
|
223
223
|
*/
|
|
224
|
-
searchProjects(term: string, fields?: 'custom_fields' | 'notes' | 'title' | 'description'
|
|
224
|
+
searchProjects(term: string, fields?: Set<'custom_fields' | 'notes' | 'title' | 'description'>, exact_match?: boolean, person_id?: number, organization_id?: number, limit?: number, cursor?: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetProjectSearchResponse>>;
|
|
225
225
|
/**
|
|
226
226
|
* Updates the properties of a project.
|
|
227
227
|
* @summary Update a project
|
|
@@ -514,10 +514,10 @@ export interface ProjectsApiSearchProjectsRequest {
|
|
|
514
514
|
readonly term: string;
|
|
515
515
|
/**
|
|
516
516
|
* A comma-separated string array. The fields to perform the search from. Defaults to all of them. Only the following custom field types are searchable: `address`, `varchar`, `text`, `varchar_auto`, `double`, `monetary` and `phone`. Read more about searching by custom fields <a href=\"https://support.pipedrive.com/en/article/search-finding-what-you-need#searching-by-custom-fields\" target=\"_blank\" rel=\"noopener noreferrer\">here</a>.
|
|
517
|
-
* @type {'custom_fields' | 'notes' | 'title' | 'description'}
|
|
517
|
+
* @type {Set<'custom_fields' | 'notes' | 'title' | 'description'>}
|
|
518
518
|
* @memberof ProjectsApiSearchProjects
|
|
519
519
|
*/
|
|
520
|
-
readonly fields?: 'custom_fields' | 'notes' | 'title' | 'description'
|
|
520
|
+
readonly fields?: Set<'custom_fields' | 'notes' | 'title' | 'description'>;
|
|
521
521
|
/**
|
|
522
522
|
* When enabled, only full exact matches against the given term are returned. It is <b>not</b> case sensitive.
|
|
523
523
|
* @type {boolean}
|
|
@@ -367,7 +367,7 @@ const ProjectsApiAxiosParamCreator = function (configuration) {
|
|
|
367
367
|
* Searches all projects by title, description, notes 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. Found projects can be filtered by person ID or organization ID.
|
|
368
368
|
* @summary Search projects
|
|
369
369
|
* @param {string} term The search term to look for. Minimum 2 characters (or 1 if using `exact_match`). Please note that the search term has to be URL encoded.
|
|
370
|
-
* @param {'custom_fields' | 'notes' | 'title' | 'description'} [fields] A comma-separated string array. The fields to perform the search from. Defaults to all of them. Only the following custom field types are searchable: `address`, `varchar`, `text`, `varchar_auto`, `double`, `monetary` and `phone`. Read more about searching by custom fields <a href=\"https://support.pipedrive.com/en/article/search-finding-what-you-need#searching-by-custom-fields\" target=\"_blank\" rel=\"noopener noreferrer\">here</a>.
|
|
370
|
+
* @param {Set<'custom_fields' | 'notes' | 'title' | 'description'>} [fields] A comma-separated string array. The fields to perform the search from. Defaults to all of them. Only the following custom field types are searchable: `address`, `varchar`, `text`, `varchar_auto`, `double`, `monetary` and `phone`. Read more about searching by custom fields <a href=\"https://support.pipedrive.com/en/article/search-finding-what-you-need#searching-by-custom-fields\" target=\"_blank\" rel=\"noopener noreferrer\">here</a>.
|
|
371
371
|
* @param {boolean} [exact_match] When enabled, only full exact matches against the given term are returned. It is <b>not</b> case sensitive.
|
|
372
372
|
* @param {number} [person_id] Will filter projects by the provided person ID
|
|
373
373
|
* @param {number} [organization_id] Will filter projects by the provided organization ID
|
|
@@ -397,8 +397,8 @@ const ProjectsApiAxiosParamCreator = function (configuration) {
|
|
|
397
397
|
if (term !== undefined) {
|
|
398
398
|
localVarQueryParameter['term'] = term;
|
|
399
399
|
}
|
|
400
|
-
if (fields
|
|
401
|
-
localVarQueryParameter['fields'] = fields;
|
|
400
|
+
if (fields) {
|
|
401
|
+
localVarQueryParameter['fields'] = Array.from(fields).join(base_1.COLLECTION_FORMATS.csv);
|
|
402
402
|
}
|
|
403
403
|
if (exact_match !== undefined) {
|
|
404
404
|
localVarQueryParameter['exact_match'] = exact_match;
|
|
@@ -591,7 +591,7 @@ const ProjectsApiFp = function (configuration) {
|
|
|
591
591
|
* Searches all projects by title, description, notes 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. Found projects can be filtered by person ID or organization ID.
|
|
592
592
|
* @summary Search projects
|
|
593
593
|
* @param {string} term The search term to look for. Minimum 2 characters (or 1 if using `exact_match`). Please note that the search term has to be URL encoded.
|
|
594
|
-
* @param {'custom_fields' | 'notes' | 'title' | 'description'} [fields] A comma-separated string array. The fields to perform the search from. Defaults to all of them. Only the following custom field types are searchable: `address`, `varchar`, `text`, `varchar_auto`, `double`, `monetary` and `phone`. Read more about searching by custom fields <a href=\"https://support.pipedrive.com/en/article/search-finding-what-you-need#searching-by-custom-fields\" target=\"_blank\" rel=\"noopener noreferrer\">here</a>.
|
|
594
|
+
* @param {Set<'custom_fields' | 'notes' | 'title' | 'description'>} [fields] A comma-separated string array. The fields to perform the search from. Defaults to all of them. Only the following custom field types are searchable: `address`, `varchar`, `text`, `varchar_auto`, `double`, `monetary` and `phone`. Read more about searching by custom fields <a href=\"https://support.pipedrive.com/en/article/search-finding-what-you-need#searching-by-custom-fields\" target=\"_blank\" rel=\"noopener noreferrer\">here</a>.
|
|
595
595
|
* @param {boolean} [exact_match] When enabled, only full exact matches against the given term are returned. It is <b>not</b> case sensitive.
|
|
596
596
|
* @param {number} [person_id] Will filter projects by the provided person ID
|
|
597
597
|
* @param {number} [organization_id] Will filter projects by the provided organization ID
|
|
@@ -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);
|