pipedrive 34.0.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/product-fields-api.d.ts +14 -14
- 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/product-fields-api.d.ts +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
|
@@ -14,11 +14,11 @@ import type { AxiosInstance } from 'axios';
|
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
15
|
import { AddDealFieldOptions200Response } from '../models';
|
|
16
16
|
import { AddDealFieldOptionsRequestInner } from '../models';
|
|
17
|
+
import { AddProductField200Response } from '../models';
|
|
17
18
|
import { AddProductFieldRequest } from '../models';
|
|
18
19
|
import { DeleteDealFieldOptionsRequestInner } from '../models';
|
|
19
20
|
import { DeletePersonField200Response } from '../models';
|
|
20
|
-
import {
|
|
21
|
-
import { GetActivityFields200Response } from '../models';
|
|
21
|
+
import { GetProductFields200Response } from '../models';
|
|
22
22
|
import { UpdateDealFieldOptionsRequestInner } from '../models';
|
|
23
23
|
import { UpdateProductFieldRequest } from '../models';
|
|
24
24
|
/**
|
|
@@ -110,7 +110,7 @@ export declare const ProductFieldsApiFp: (configuration?: Configuration) => {
|
|
|
110
110
|
|
|
111
111
|
* @throws {RequiredError}
|
|
112
112
|
*/
|
|
113
|
-
addProductField(AddProductFieldRequest: AddProductFieldRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<
|
|
113
|
+
addProductField(AddProductFieldRequest: AddProductFieldRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AddProductField200Response>>;
|
|
114
114
|
/**
|
|
115
115
|
* Adds new options to a product custom field that supports options (enum or set field types). This operation is atomic - all options are added or none are added. Returns only the newly added options.
|
|
116
116
|
* @summary Add product field options in bulk
|
|
@@ -145,7 +145,7 @@ export declare const ProductFieldsApiFp: (configuration?: Configuration) => {
|
|
|
145
145
|
|
|
146
146
|
* @throws {RequiredError}
|
|
147
147
|
*/
|
|
148
|
-
getProductField(field_code: string, include_fields?: Set<'ui_visibility'>): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<
|
|
148
|
+
getProductField(field_code: string, include_fields?: Set<'ui_visibility'>): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AddProductField200Response>>;
|
|
149
149
|
/**
|
|
150
150
|
* Returns metadata about all product fields in the company.
|
|
151
151
|
* @summary Get all product fields
|
|
@@ -155,7 +155,7 @@ export declare const ProductFieldsApiFp: (configuration?: Configuration) => {
|
|
|
155
155
|
|
|
156
156
|
* @throws {RequiredError}
|
|
157
157
|
*/
|
|
158
|
-
getProductFields(include_fields?: Set<'ui_visibility'>, limit?: number, cursor?: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<
|
|
158
|
+
getProductFields(include_fields?: Set<'ui_visibility'>, limit?: number, cursor?: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetProductFields200Response>>;
|
|
159
159
|
/**
|
|
160
160
|
* Updates a product custom field. The field_code and field_type cannot be changed. At least one field must be provided in the request body.
|
|
161
161
|
* @summary Update one product field
|
|
@@ -164,7 +164,7 @@ export declare const ProductFieldsApiFp: (configuration?: Configuration) => {
|
|
|
164
164
|
|
|
165
165
|
* @throws {RequiredError}
|
|
166
166
|
*/
|
|
167
|
-
updateProductField(field_code: string, UpdateProductFieldRequest: UpdateProductFieldRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<
|
|
167
|
+
updateProductField(field_code: string, UpdateProductFieldRequest: UpdateProductFieldRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AddProductField200Response>>;
|
|
168
168
|
/**
|
|
169
169
|
* Updates existing options for a product custom field. This operation is atomic and fails if any of the specified option IDs do not exist. Returns only the updated options.
|
|
170
170
|
* @summary Update product field options in bulk
|
|
@@ -187,7 +187,7 @@ export declare const ProductFieldsApiFactory: (configuration?: Configuration, ba
|
|
|
187
187
|
|
|
188
188
|
* @throws {RequiredError}
|
|
189
189
|
*/
|
|
190
|
-
addProductField(requestParameters: ProductFieldsApiAddProductFieldRequest): Promise<
|
|
190
|
+
addProductField(requestParameters: ProductFieldsApiAddProductFieldRequest): Promise<AddProductField200Response>;
|
|
191
191
|
/**
|
|
192
192
|
* Adds new options to a product custom field that supports options (enum or set field types). This operation is atomic - all options are added or none are added. Returns only the newly added options.
|
|
193
193
|
* @summary Add product field options in bulk
|
|
@@ -219,7 +219,7 @@ export declare const ProductFieldsApiFactory: (configuration?: Configuration, ba
|
|
|
219
219
|
|
|
220
220
|
* @throws {RequiredError}
|
|
221
221
|
*/
|
|
222
|
-
getProductField(requestParameters: ProductFieldsApiGetProductFieldRequest): Promise<
|
|
222
|
+
getProductField(requestParameters: ProductFieldsApiGetProductFieldRequest): Promise<AddProductField200Response>;
|
|
223
223
|
/**
|
|
224
224
|
* Returns metadata about all product fields in the company.
|
|
225
225
|
* @summary Get all product fields
|
|
@@ -227,7 +227,7 @@ export declare const ProductFieldsApiFactory: (configuration?: Configuration, ba
|
|
|
227
227
|
|
|
228
228
|
* @throws {RequiredError}
|
|
229
229
|
*/
|
|
230
|
-
getProductFields(requestParameters?: ProductFieldsApiGetProductFieldsRequest): Promise<
|
|
230
|
+
getProductFields(requestParameters?: ProductFieldsApiGetProductFieldsRequest): Promise<GetProductFields200Response>;
|
|
231
231
|
/**
|
|
232
232
|
* Updates a product custom field. The field_code and field_type cannot be changed. At least one field must be provided in the request body.
|
|
233
233
|
* @summary Update one product field
|
|
@@ -235,7 +235,7 @@ export declare const ProductFieldsApiFactory: (configuration?: Configuration, ba
|
|
|
235
235
|
|
|
236
236
|
* @throws {RequiredError}
|
|
237
237
|
*/
|
|
238
|
-
updateProductField(requestParameters: ProductFieldsApiUpdateProductFieldRequest): Promise<
|
|
238
|
+
updateProductField(requestParameters: ProductFieldsApiUpdateProductFieldRequest): Promise<AddProductField200Response>;
|
|
239
239
|
/**
|
|
240
240
|
* Updates existing options for a product custom field. This operation is atomic and fails if any of the specified option IDs do not exist. Returns only the updated options.
|
|
241
241
|
* @summary Update product field options in bulk
|
|
@@ -406,7 +406,7 @@ export declare class ProductFieldsApi extends BaseAPI {
|
|
|
406
406
|
* @throws {RequiredError}
|
|
407
407
|
* @memberof ProductFieldsApi
|
|
408
408
|
*/
|
|
409
|
-
addProductField(requestParameters: ProductFieldsApiAddProductFieldRequest): Promise<
|
|
409
|
+
addProductField(requestParameters: ProductFieldsApiAddProductFieldRequest): Promise<AddProductField200Response>;
|
|
410
410
|
/**
|
|
411
411
|
* Adds new options to a product custom field that supports options (enum or set field types). This operation is atomic - all options are added or none are added. Returns only the newly added options.
|
|
412
412
|
* @summary Add product field options in bulk
|
|
@@ -442,7 +442,7 @@ export declare class ProductFieldsApi extends BaseAPI {
|
|
|
442
442
|
* @throws {RequiredError}
|
|
443
443
|
* @memberof ProductFieldsApi
|
|
444
444
|
*/
|
|
445
|
-
getProductField(requestParameters: ProductFieldsApiGetProductFieldRequest): Promise<
|
|
445
|
+
getProductField(requestParameters: ProductFieldsApiGetProductFieldRequest): Promise<AddProductField200Response>;
|
|
446
446
|
/**
|
|
447
447
|
* Returns metadata about all product fields in the company.
|
|
448
448
|
* @summary Get all product fields
|
|
@@ -451,7 +451,7 @@ export declare class ProductFieldsApi extends BaseAPI {
|
|
|
451
451
|
* @throws {RequiredError}
|
|
452
452
|
* @memberof ProductFieldsApi
|
|
453
453
|
*/
|
|
454
|
-
getProductFields(requestParameters?: ProductFieldsApiGetProductFieldsRequest): Promise<
|
|
454
|
+
getProductFields(requestParameters?: ProductFieldsApiGetProductFieldsRequest): Promise<GetProductFields200Response>;
|
|
455
455
|
/**
|
|
456
456
|
* Updates a product custom field. The field_code and field_type cannot be changed. At least one field must be provided in the request body.
|
|
457
457
|
* @summary Update one product field
|
|
@@ -460,7 +460,7 @@ export declare class ProductFieldsApi extends BaseAPI {
|
|
|
460
460
|
* @throws {RequiredError}
|
|
461
461
|
* @memberof ProductFieldsApi
|
|
462
462
|
*/
|
|
463
|
-
updateProductField(requestParameters: ProductFieldsApiUpdateProductFieldRequest): Promise<
|
|
463
|
+
updateProductField(requestParameters: ProductFieldsApiUpdateProductFieldRequest): Promise<AddProductField200Response>;
|
|
464
464
|
/**
|
|
465
465
|
* Updates existing options for a product custom field. This operation is atomic and fails if any of the specified option IDs do not exist. Returns only the updated options.
|
|
466
466
|
* @summary Update product field options in bulk
|
|
@@ -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,14 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Pipedrive API v2
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|
|
@@ -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];
|
|
@@ -44,5 +44,7 @@ export const GetActivityFields200ResponseDataInnerFieldTypeConst = {
|
|
|
44
44
|
price_list: 'price_list',
|
|
45
45
|
billing_frequency: 'billing_frequency',
|
|
46
46
|
projects_board: 'projects_board',
|
|
47
|
-
projects_phase: 'projects_phase'
|
|
47
|
+
projects_phase: 'projects_phase',
|
|
48
|
+
participants: 'participants',
|
|
49
|
+
attendees: 'attendees'
|
|
48
50
|
};
|
|
@@ -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,48 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Pipedrive API v2
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export const GetProductFields200ResponseDataInnerFieldTypeConst = {
|
|
15
|
+
int: 'int',
|
|
16
|
+
double: 'double',
|
|
17
|
+
boolean: 'boolean',
|
|
18
|
+
varchar: 'varchar',
|
|
19
|
+
text: 'text',
|
|
20
|
+
phone: 'phone',
|
|
21
|
+
varchar_options: 'varchar_options',
|
|
22
|
+
varchar_auto: 'varchar_auto',
|
|
23
|
+
date: 'date',
|
|
24
|
+
daterange: 'daterange',
|
|
25
|
+
time: 'time',
|
|
26
|
+
timerange: 'timerange',
|
|
27
|
+
enum: 'enum',
|
|
28
|
+
set: 'set',
|
|
29
|
+
address: 'address',
|
|
30
|
+
monetary: 'monetary',
|
|
31
|
+
deal: 'deal',
|
|
32
|
+
deals: 'deals',
|
|
33
|
+
lead: 'lead',
|
|
34
|
+
org: 'org',
|
|
35
|
+
people: 'people',
|
|
36
|
+
project: 'project',
|
|
37
|
+
stage: 'stage',
|
|
38
|
+
user: 'user',
|
|
39
|
+
activity: 'activity',
|
|
40
|
+
json: 'json',
|
|
41
|
+
picture: 'picture',
|
|
42
|
+
status: 'status',
|
|
43
|
+
visible_to: 'visible_to',
|
|
44
|
+
price_list: 'price_list',
|
|
45
|
+
billing_frequency: 'billing_frequency',
|
|
46
|
+
projects_board: 'projects_board',
|
|
47
|
+
projects_phase: 'projects_phase'
|
|
48
|
+
};
|
|
@@ -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,14 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Pipedrive API v2
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|
|
@@ -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];
|
|
@@ -44,5 +44,6 @@ export const GetProjectFields200ResponseDataInnerFieldTypeConst = {
|
|
|
44
44
|
price_list: 'price_list',
|
|
45
45
|
billing_frequency: 'billing_frequency',
|
|
46
46
|
projects_board: 'projects_board',
|
|
47
|
-
projects_phase: 'projects_phase'
|
|
47
|
+
projects_phase: 'projects_phase',
|
|
48
|
+
orgs: 'orgs'
|
|
48
49
|
};
|
|
@@ -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';
|
|
@@ -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';
|
|
@@ -14,11 +14,11 @@ import type { AxiosInstance } from 'axios';
|
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
15
|
import { AddDealFieldOptions200Response } from '../models';
|
|
16
16
|
import { AddDealFieldOptionsRequestInner } from '../models';
|
|
17
|
+
import { AddProductField200Response } from '../models';
|
|
17
18
|
import { AddProductFieldRequest } from '../models';
|
|
18
19
|
import { DeleteDealFieldOptionsRequestInner } from '../models';
|
|
19
20
|
import { DeletePersonField200Response } from '../models';
|
|
20
|
-
import {
|
|
21
|
-
import { GetActivityFields200Response } from '../models';
|
|
21
|
+
import { GetProductFields200Response } from '../models';
|
|
22
22
|
import { UpdateDealFieldOptionsRequestInner } from '../models';
|
|
23
23
|
import { UpdateProductFieldRequest } from '../models';
|
|
24
24
|
/**
|
|
@@ -110,7 +110,7 @@ export declare const ProductFieldsApiFp: (configuration?: Configuration) => {
|
|
|
110
110
|
|
|
111
111
|
* @throws {RequiredError}
|
|
112
112
|
*/
|
|
113
|
-
addProductField(AddProductFieldRequest: AddProductFieldRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<
|
|
113
|
+
addProductField(AddProductFieldRequest: AddProductFieldRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AddProductField200Response>>;
|
|
114
114
|
/**
|
|
115
115
|
* Adds new options to a product custom field that supports options (enum or set field types). This operation is atomic - all options are added or none are added. Returns only the newly added options.
|
|
116
116
|
* @summary Add product field options in bulk
|
|
@@ -145,7 +145,7 @@ export declare const ProductFieldsApiFp: (configuration?: Configuration) => {
|
|
|
145
145
|
|
|
146
146
|
* @throws {RequiredError}
|
|
147
147
|
*/
|
|
148
|
-
getProductField(field_code: string, include_fields?: Set<'ui_visibility'>): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<
|
|
148
|
+
getProductField(field_code: string, include_fields?: Set<'ui_visibility'>): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AddProductField200Response>>;
|
|
149
149
|
/**
|
|
150
150
|
* Returns metadata about all product fields in the company.
|
|
151
151
|
* @summary Get all product fields
|
|
@@ -155,7 +155,7 @@ export declare const ProductFieldsApiFp: (configuration?: Configuration) => {
|
|
|
155
155
|
|
|
156
156
|
* @throws {RequiredError}
|
|
157
157
|
*/
|
|
158
|
-
getProductFields(include_fields?: Set<'ui_visibility'>, limit?: number, cursor?: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<
|
|
158
|
+
getProductFields(include_fields?: Set<'ui_visibility'>, limit?: number, cursor?: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetProductFields200Response>>;
|
|
159
159
|
/**
|
|
160
160
|
* Updates a product custom field. The field_code and field_type cannot be changed. At least one field must be provided in the request body.
|
|
161
161
|
* @summary Update one product field
|
|
@@ -164,7 +164,7 @@ export declare const ProductFieldsApiFp: (configuration?: Configuration) => {
|
|
|
164
164
|
|
|
165
165
|
* @throws {RequiredError}
|
|
166
166
|
*/
|
|
167
|
-
updateProductField(field_code: string, UpdateProductFieldRequest: UpdateProductFieldRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<
|
|
167
|
+
updateProductField(field_code: string, UpdateProductFieldRequest: UpdateProductFieldRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AddProductField200Response>>;
|
|
168
168
|
/**
|
|
169
169
|
* Updates existing options for a product custom field. This operation is atomic and fails if any of the specified option IDs do not exist. Returns only the updated options.
|
|
170
170
|
* @summary Update product field options in bulk
|
|
@@ -187,7 +187,7 @@ export declare const ProductFieldsApiFactory: (configuration?: Configuration, ba
|
|
|
187
187
|
|
|
188
188
|
* @throws {RequiredError}
|
|
189
189
|
*/
|
|
190
|
-
addProductField(requestParameters: ProductFieldsApiAddProductFieldRequest): Promise<
|
|
190
|
+
addProductField(requestParameters: ProductFieldsApiAddProductFieldRequest): Promise<AddProductField200Response>;
|
|
191
191
|
/**
|
|
192
192
|
* Adds new options to a product custom field that supports options (enum or set field types). This operation is atomic - all options are added or none are added. Returns only the newly added options.
|
|
193
193
|
* @summary Add product field options in bulk
|
|
@@ -219,7 +219,7 @@ export declare const ProductFieldsApiFactory: (configuration?: Configuration, ba
|
|
|
219
219
|
|
|
220
220
|
* @throws {RequiredError}
|
|
221
221
|
*/
|
|
222
|
-
getProductField(requestParameters: ProductFieldsApiGetProductFieldRequest): Promise<
|
|
222
|
+
getProductField(requestParameters: ProductFieldsApiGetProductFieldRequest): Promise<AddProductField200Response>;
|
|
223
223
|
/**
|
|
224
224
|
* Returns metadata about all product fields in the company.
|
|
225
225
|
* @summary Get all product fields
|
|
@@ -227,7 +227,7 @@ export declare const ProductFieldsApiFactory: (configuration?: Configuration, ba
|
|
|
227
227
|
|
|
228
228
|
* @throws {RequiredError}
|
|
229
229
|
*/
|
|
230
|
-
getProductFields(requestParameters?: ProductFieldsApiGetProductFieldsRequest): Promise<
|
|
230
|
+
getProductFields(requestParameters?: ProductFieldsApiGetProductFieldsRequest): Promise<GetProductFields200Response>;
|
|
231
231
|
/**
|
|
232
232
|
* Updates a product custom field. The field_code and field_type cannot be changed. At least one field must be provided in the request body.
|
|
233
233
|
* @summary Update one product field
|
|
@@ -235,7 +235,7 @@ export declare const ProductFieldsApiFactory: (configuration?: Configuration, ba
|
|
|
235
235
|
|
|
236
236
|
* @throws {RequiredError}
|
|
237
237
|
*/
|
|
238
|
-
updateProductField(requestParameters: ProductFieldsApiUpdateProductFieldRequest): Promise<
|
|
238
|
+
updateProductField(requestParameters: ProductFieldsApiUpdateProductFieldRequest): Promise<AddProductField200Response>;
|
|
239
239
|
/**
|
|
240
240
|
* Updates existing options for a product custom field. This operation is atomic and fails if any of the specified option IDs do not exist. Returns only the updated options.
|
|
241
241
|
* @summary Update product field options in bulk
|
|
@@ -406,7 +406,7 @@ export declare class ProductFieldsApi extends BaseAPI {
|
|
|
406
406
|
* @throws {RequiredError}
|
|
407
407
|
* @memberof ProductFieldsApi
|
|
408
408
|
*/
|
|
409
|
-
addProductField(requestParameters: ProductFieldsApiAddProductFieldRequest): Promise<
|
|
409
|
+
addProductField(requestParameters: ProductFieldsApiAddProductFieldRequest): Promise<AddProductField200Response>;
|
|
410
410
|
/**
|
|
411
411
|
* Adds new options to a product custom field that supports options (enum or set field types). This operation is atomic - all options are added or none are added. Returns only the newly added options.
|
|
412
412
|
* @summary Add product field options in bulk
|
|
@@ -442,7 +442,7 @@ export declare class ProductFieldsApi extends BaseAPI {
|
|
|
442
442
|
* @throws {RequiredError}
|
|
443
443
|
* @memberof ProductFieldsApi
|
|
444
444
|
*/
|
|
445
|
-
getProductField(requestParameters: ProductFieldsApiGetProductFieldRequest): Promise<
|
|
445
|
+
getProductField(requestParameters: ProductFieldsApiGetProductFieldRequest): Promise<AddProductField200Response>;
|
|
446
446
|
/**
|
|
447
447
|
* Returns metadata about all product fields in the company.
|
|
448
448
|
* @summary Get all product fields
|
|
@@ -451,7 +451,7 @@ export declare class ProductFieldsApi extends BaseAPI {
|
|
|
451
451
|
* @throws {RequiredError}
|
|
452
452
|
* @memberof ProductFieldsApi
|
|
453
453
|
*/
|
|
454
|
-
getProductFields(requestParameters?: ProductFieldsApiGetProductFieldsRequest): Promise<
|
|
454
|
+
getProductFields(requestParameters?: ProductFieldsApiGetProductFieldsRequest): Promise<GetProductFields200Response>;
|
|
455
455
|
/**
|
|
456
456
|
* Updates a product custom field. The field_code and field_type cannot be changed. At least one field must be provided in the request body.
|
|
457
457
|
* @summary Update one product field
|
|
@@ -460,7 +460,7 @@ export declare class ProductFieldsApi extends BaseAPI {
|
|
|
460
460
|
* @throws {RequiredError}
|
|
461
461
|
* @memberof ProductFieldsApi
|
|
462
462
|
*/
|
|
463
|
-
updateProductField(requestParameters: ProductFieldsApiUpdateProductFieldRequest): Promise<
|
|
463
|
+
updateProductField(requestParameters: ProductFieldsApiUpdateProductFieldRequest): Promise<AddProductField200Response>;
|
|
464
464
|
/**
|
|
465
465
|
* Updates existing options for a product custom field. This operation is atomic and fails if any of the specified option IDs do not exist. Returns only the updated options.
|
|
466
466
|
* @summary Update product field options in bulk
|
|
@@ -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);
|