pipedrive 33.8.0 → 34.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/models/deal-all-of-creator-user-id.d.ts +2 -2
- package/dist/esm/versions/v1/models/get-associated-product-files-response-all-of.d.ts +1 -1
- package/dist/esm/versions/v2/api/activities-api.d.ts +16 -16
- package/dist/esm/versions/v2/api/activities-api.js +13 -13
- package/dist/esm/versions/v2/api/activity-fields-api.d.ts +12 -12
- package/dist/esm/versions/v2/api/activity-fields-api.js +9 -9
- package/dist/esm/versions/v2/api/deal-fields-api.d.ts +12 -12
- package/dist/esm/versions/v2/api/deal-fields-api.js +9 -9
- package/dist/esm/versions/v2/api/deals-api.d.ts +38 -38
- package/dist/esm/versions/v2/api/deals-api.js +33 -33
- package/dist/esm/versions/v2/api/organization-fields-api.d.ts +12 -12
- package/dist/esm/versions/v2/api/organization-fields-api.js +9 -9
- package/dist/esm/versions/v2/api/organizations-api.d.ts +24 -24
- package/dist/esm/versions/v2/api/organizations-api.js +21 -21
- package/dist/esm/versions/v2/api/person-fields-api.d.ts +12 -12
- package/dist/esm/versions/v2/api/person-fields-api.js +9 -9
- package/dist/esm/versions/v2/api/persons-api.d.ts +24 -24
- package/dist/esm/versions/v2/api/persons-api.js +21 -21
- package/dist/esm/versions/v2/api/product-fields-api.d.ts +12 -12
- package/dist/esm/versions/v2/api/product-fields-api.js +9 -9
- package/dist/esm/versions/v2/api/products-api.d.ts +14 -14
- package/dist/esm/versions/v2/api/products-api.js +15 -15
- package/dist/esm/versions/v2/models/activity-item-location.d.ts +68 -0
- package/dist/esm/versions/v2/models/activity-item-location.js +14 -0
- package/dist/esm/versions/v2/models/activity-item.d.ts +11 -11
- package/dist/esm/versions/v2/models/add-organization-request.d.ts +1 -1
- package/dist/esm/versions/v2/models/add-person-request.d.ts +1 -1
- package/dist/esm/versions/v2/models/deal.d.ts +1 -1
- package/dist/esm/versions/v2/models/get-activities-response-all-of-additional-data.d.ts +1 -1
- package/dist/esm/versions/v2/models/get-deal-search-response-all-of-data-items-inner-item.d.ts +1 -1
- package/dist/esm/versions/v2/models/get-deals-products-response-additional-data.d.ts +1 -1
- package/dist/esm/versions/v2/models/get-organization-search-response-all-of-data-items-inner-item.d.ts +1 -1
- package/dist/esm/versions/v2/models/get-product-search-response-all-of-data-items-inner-item.d.ts +2 -2
- package/dist/esm/versions/v2/models/index.d.ts +1 -0
- package/dist/esm/versions/v2/models/index.js +1 -0
- package/dist/esm/versions/v2/models/lead-search-item-item.d.ts +1 -1
- package/dist/esm/versions/v2/models/organization-item-address.d.ts +9 -9
- package/dist/esm/versions/v2/models/organization-item.d.ts +2 -2
- package/dist/esm/versions/v2/models/person-item-address.d.ts +9 -9
- package/dist/esm/versions/v2/models/person.d.ts +3 -3
- package/dist/esm/versions/v2/models/stage-item.d.ts +1 -1
- package/dist/esm/versions/v2/models/stage-item1.d.ts +1 -1
- package/dist/esm/versions/v2/models/update-organization-request.d.ts +1 -1
- package/dist/esm/versions/v2/models/update-person-request.d.ts +1 -1
- package/dist/versions/v1/models/deal-all-of-creator-user-id.d.ts +2 -2
- package/dist/versions/v1/models/get-associated-product-files-response-all-of.d.ts +1 -1
- package/dist/versions/v2/api/activities-api.d.ts +16 -16
- package/dist/versions/v2/api/activities-api.js +12 -12
- package/dist/versions/v2/api/activity-fields-api.d.ts +12 -12
- package/dist/versions/v2/api/activity-fields-api.js +8 -8
- package/dist/versions/v2/api/deal-fields-api.d.ts +12 -12
- package/dist/versions/v2/api/deal-fields-api.js +8 -8
- package/dist/versions/v2/api/deals-api.d.ts +38 -38
- package/dist/versions/v2/api/deals-api.js +32 -32
- package/dist/versions/v2/api/organization-fields-api.d.ts +12 -12
- package/dist/versions/v2/api/organization-fields-api.js +8 -8
- package/dist/versions/v2/api/organizations-api.d.ts +24 -24
- package/dist/versions/v2/api/organizations-api.js +20 -20
- package/dist/versions/v2/api/person-fields-api.d.ts +12 -12
- package/dist/versions/v2/api/person-fields-api.js +8 -8
- package/dist/versions/v2/api/persons-api.d.ts +24 -24
- package/dist/versions/v2/api/persons-api.js +20 -20
- package/dist/versions/v2/api/product-fields-api.d.ts +12 -12
- package/dist/versions/v2/api/product-fields-api.js +8 -8
- package/dist/versions/v2/api/products-api.d.ts +14 -14
- package/dist/versions/v2/api/products-api.js +14 -14
- package/dist/versions/v2/models/activity-item-location.d.ts +68 -0
- package/dist/versions/v2/models/activity-item-location.js +15 -0
- package/dist/versions/v2/models/activity-item.d.ts +11 -11
- package/dist/versions/v2/models/add-organization-request.d.ts +1 -1
- package/dist/versions/v2/models/add-person-request.d.ts +1 -1
- package/dist/versions/v2/models/deal.d.ts +1 -1
- package/dist/versions/v2/models/get-activities-response-all-of-additional-data.d.ts +1 -1
- package/dist/versions/v2/models/get-deal-search-response-all-of-data-items-inner-item.d.ts +1 -1
- package/dist/versions/v2/models/get-deals-products-response-additional-data.d.ts +1 -1
- package/dist/versions/v2/models/get-organization-search-response-all-of-data-items-inner-item.d.ts +1 -1
- package/dist/versions/v2/models/get-product-search-response-all-of-data-items-inner-item.d.ts +2 -2
- package/dist/versions/v2/models/index.d.ts +1 -0
- package/dist/versions/v2/models/index.js +1 -0
- package/dist/versions/v2/models/lead-search-item-item.d.ts +1 -1
- package/dist/versions/v2/models/organization-item-address.d.ts +9 -9
- package/dist/versions/v2/models/organization-item.d.ts +2 -2
- package/dist/versions/v2/models/person-item-address.d.ts +9 -9
- package/dist/versions/v2/models/person.d.ts +3 -3
- package/dist/versions/v2/models/stage-item.d.ts +1 -1
- package/dist/versions/v2/models/stage-item1.d.ts +1 -1
- package/dist/versions/v2/models/update-organization-request.d.ts +1 -1
- package/dist/versions/v2/models/update-person-request.d.ts +1 -1
- package/package.json +1 -1
|
@@ -521,18 +521,18 @@ const ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
521
521
|
* Returns data about all products.
|
|
522
522
|
* @summary Get all products
|
|
523
523
|
* @param {number} [owner_id] If supplied, only products owned by the given user will be returned
|
|
524
|
-
* @param {string} [ids] Optional comma separated string array of up to 100 entity ids to fetch. If filter_id is provided, this is ignored. If any of the requested entities do not exist or are not visible, they are not included in the response.
|
|
524
|
+
* @param {Set<string>} [ids] Optional comma separated string array of up to 100 entity ids to fetch. If filter_id is provided, this is ignored. If any of the requested entities do not exist or are not visible, they are not included in the response.
|
|
525
|
+
* @param {Set<string>} [custom_fields] Optional comma separated string array of custom fields keys to include. If you are only interested in a particular set of custom fields, please use this parameter for faster results and smaller response.<br/>A maximum of 15 keys is allowed.
|
|
525
526
|
* @param {number} [filter_id] The ID of the filter to use
|
|
526
527
|
* @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
|
|
527
528
|
* @param {number} [limit] For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed.
|
|
528
529
|
* @param {'id' | 'name' | 'add_time' | 'update_time'} [sort_by] The field to sort by. Supported fields: `id`, `name`, `add_time`, `update_time`.
|
|
529
530
|
* @param {'asc' | 'desc'} [sort_direction] The sorting direction. Supported values: `asc`, `desc`.
|
|
530
531
|
* @param {string} [updated_since] If set, only products with an `update_time` later than or equal to this time are returned. In RFC3339 format, e.g. 2025-01-01T10:20:00Z.
|
|
531
|
-
* @param {string} [custom_fields] Comma separated string array of custom fields keys to include. If you are only interested in a particular set of custom fields, please use this parameter for a smaller response.<br/>A maximum of 15 keys is allowed.
|
|
532
532
|
|
|
533
533
|
* @throws {RequiredError}
|
|
534
534
|
*/
|
|
535
|
-
getProducts: (owner_id, ids, filter_id, cursor, limit, sort_by, sort_direction, updated_since
|
|
535
|
+
getProducts: (owner_id, ids, custom_fields, filter_id, cursor, limit, sort_by, sort_direction, updated_since) => __awaiter(this, void 0, void 0, function* () {
|
|
536
536
|
const localVarPath = `/products`;
|
|
537
537
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
538
538
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -551,8 +551,11 @@ const ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
551
551
|
if (owner_id !== undefined) {
|
|
552
552
|
localVarQueryParameter['owner_id'] = owner_id;
|
|
553
553
|
}
|
|
554
|
-
if (ids
|
|
555
|
-
localVarQueryParameter['ids'] = ids;
|
|
554
|
+
if (ids) {
|
|
555
|
+
localVarQueryParameter['ids'] = Array.from(ids).join(base_1.COLLECTION_FORMATS.csv);
|
|
556
|
+
}
|
|
557
|
+
if (custom_fields) {
|
|
558
|
+
localVarQueryParameter['custom_fields'] = Array.from(custom_fields).join(base_1.COLLECTION_FORMATS.csv);
|
|
556
559
|
}
|
|
557
560
|
if (filter_id !== undefined) {
|
|
558
561
|
localVarQueryParameter['filter_id'] = filter_id;
|
|
@@ -572,9 +575,6 @@ const ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
572
575
|
if (updated_since !== undefined) {
|
|
573
576
|
localVarQueryParameter['updated_since'] = updated_since;
|
|
574
577
|
}
|
|
575
|
-
if (custom_fields !== undefined) {
|
|
576
|
-
localVarQueryParameter['custom_fields'] = custom_fields;
|
|
577
|
-
}
|
|
578
578
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
579
579
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
580
580
|
localVarRequestOptions.headers = Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions);
|
|
@@ -996,20 +996,20 @@ const ProductsApiFp = function (configuration) {
|
|
|
996
996
|
* Returns data about all products.
|
|
997
997
|
* @summary Get all products
|
|
998
998
|
* @param {number} [owner_id] If supplied, only products owned by the given user will be returned
|
|
999
|
-
* @param {string} [ids] Optional comma separated string array of up to 100 entity ids to fetch. If filter_id is provided, this is ignored. If any of the requested entities do not exist or are not visible, they are not included in the response.
|
|
999
|
+
* @param {Set<string>} [ids] Optional comma separated string array of up to 100 entity ids to fetch. If filter_id is provided, this is ignored. If any of the requested entities do not exist or are not visible, they are not included in the response.
|
|
1000
|
+
* @param {Set<string>} [custom_fields] Optional comma separated string array of custom fields keys to include. If you are only interested in a particular set of custom fields, please use this parameter for faster results and smaller response.<br/>A maximum of 15 keys is allowed.
|
|
1000
1001
|
* @param {number} [filter_id] The ID of the filter to use
|
|
1001
1002
|
* @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page
|
|
1002
1003
|
* @param {number} [limit] For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed.
|
|
1003
1004
|
* @param {'id' | 'name' | 'add_time' | 'update_time'} [sort_by] The field to sort by. Supported fields: `id`, `name`, `add_time`, `update_time`.
|
|
1004
1005
|
* @param {'asc' | 'desc'} [sort_direction] The sorting direction. Supported values: `asc`, `desc`.
|
|
1005
1006
|
* @param {string} [updated_since] If set, only products with an `update_time` later than or equal to this time are returned. In RFC3339 format, e.g. 2025-01-01T10:20:00Z.
|
|
1006
|
-
* @param {string} [custom_fields] Comma separated string array of custom fields keys to include. If you are only interested in a particular set of custom fields, please use this parameter for a smaller response.<br/>A maximum of 15 keys is allowed.
|
|
1007
1007
|
|
|
1008
1008
|
* @throws {RequiredError}
|
|
1009
1009
|
*/
|
|
1010
|
-
getProducts(owner_id, ids, filter_id, cursor, limit, sort_by, sort_direction, updated_since
|
|
1010
|
+
getProducts(owner_id, ids, custom_fields, filter_id, cursor, limit, sort_by, sort_direction, updated_since) {
|
|
1011
1011
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1012
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getProducts(owner_id, ids, filter_id, cursor, limit, sort_by, sort_direction, updated_since
|
|
1012
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getProducts(owner_id, ids, custom_fields, filter_id, cursor, limit, sort_by, sort_direction, updated_since);
|
|
1013
1013
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1014
1014
|
});
|
|
1015
1015
|
},
|
|
@@ -1236,7 +1236,7 @@ const ProductsApiFactory = function (configuration, basePath, axios) {
|
|
|
1236
1236
|
* @throws {RequiredError}
|
|
1237
1237
|
*/
|
|
1238
1238
|
getProducts(requestParameters = {}) {
|
|
1239
|
-
return localVarFp.getProducts(requestParameters.owner_id, requestParameters.ids, requestParameters.filter_id, requestParameters.cursor, requestParameters.limit, requestParameters.sort_by, requestParameters.sort_direction, requestParameters.updated_since
|
|
1239
|
+
return localVarFp.getProducts(requestParameters.owner_id, requestParameters.ids, requestParameters.custom_fields, requestParameters.filter_id, requestParameters.cursor, requestParameters.limit, requestParameters.sort_by, requestParameters.sort_direction, requestParameters.updated_since).then((request) => request(axios, basePath));
|
|
1240
1240
|
},
|
|
1241
1241
|
/**
|
|
1242
1242
|
* Searches all products by name, code and/or custom fields. This endpoint is a wrapper of <a href=\"https://developers.pipedrive.com/docs/api/v1/ItemSearch#searchItem\">/v1/itemSearch</a> with a narrower OAuth scope.
|
|
@@ -1450,7 +1450,7 @@ class ProductsApi extends base_1.BaseAPI {
|
|
|
1450
1450
|
* @memberof ProductsApi
|
|
1451
1451
|
*/
|
|
1452
1452
|
getProducts(requestParameters = {}) {
|
|
1453
|
-
return (0, exports.ProductsApiFp)(this.configuration).getProducts(requestParameters.owner_id, requestParameters.ids, requestParameters.filter_id, requestParameters.cursor, requestParameters.limit, requestParameters.sort_by, requestParameters.sort_direction, requestParameters.updated_since
|
|
1453
|
+
return (0, exports.ProductsApiFp)(this.configuration).getProducts(requestParameters.owner_id, requestParameters.ids, requestParameters.custom_fields, requestParameters.filter_id, requestParameters.cursor, requestParameters.limit, requestParameters.sort_by, requestParameters.sort_direction, requestParameters.updated_since).then((request) => request(this.axios, this.basePath));
|
|
1454
1454
|
}
|
|
1455
1455
|
/**
|
|
1456
1456
|
* Searches all products by name, code and/or custom fields. This endpoint is a wrapper of <a href=\"https://developers.pipedrive.com/docs/api/v1/ItemSearch#searchItem\">/v1/itemSearch</a> with a narrower OAuth scope.
|
|
@@ -0,0 +1,68 @@
|
|
|
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
|
+
/**
|
|
13
|
+
* Location of the activity
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ActivityItemLocation
|
|
16
|
+
*/
|
|
17
|
+
export interface ActivityItemLocation {
|
|
18
|
+
/**
|
|
19
|
+
* The full address of the activity
|
|
20
|
+
* @type {string}
|
|
21
|
+
*/
|
|
22
|
+
'value'?: string;
|
|
23
|
+
/**
|
|
24
|
+
* Country of the activity
|
|
25
|
+
* @type {string}
|
|
26
|
+
*/
|
|
27
|
+
'country'?: string | null;
|
|
28
|
+
/**
|
|
29
|
+
* Admin area level 1 (e.g. state) of the activity
|
|
30
|
+
* @type {string}
|
|
31
|
+
*/
|
|
32
|
+
'admin_area_level_1'?: string | null;
|
|
33
|
+
/**
|
|
34
|
+
* Admin area level 2 (e.g. county) of the activity
|
|
35
|
+
* @type {string}
|
|
36
|
+
*/
|
|
37
|
+
'admin_area_level_2'?: string | null;
|
|
38
|
+
/**
|
|
39
|
+
* Locality (e.g. city) of the activity
|
|
40
|
+
* @type {string}
|
|
41
|
+
*/
|
|
42
|
+
'locality'?: string | null;
|
|
43
|
+
/**
|
|
44
|
+
* Sublocality (e.g. neighborhood) of the activity
|
|
45
|
+
* @type {string}
|
|
46
|
+
*/
|
|
47
|
+
'sublocality'?: string | null;
|
|
48
|
+
/**
|
|
49
|
+
* Route (e.g. street) of the activity
|
|
50
|
+
* @type {string}
|
|
51
|
+
*/
|
|
52
|
+
'route'?: string | null;
|
|
53
|
+
/**
|
|
54
|
+
* Street number of the activity
|
|
55
|
+
* @type {string}
|
|
56
|
+
*/
|
|
57
|
+
'street_number'?: string | null;
|
|
58
|
+
/**
|
|
59
|
+
* Subpremise (e.g. apartment/suite number) of the activity
|
|
60
|
+
* @type {string}
|
|
61
|
+
*/
|
|
62
|
+
'subpremise'?: string | null;
|
|
63
|
+
/**
|
|
64
|
+
* Postal code of the activity
|
|
65
|
+
* @type {string}
|
|
66
|
+
*/
|
|
67
|
+
'postal_code'?: string | null;
|
|
68
|
+
}
|
|
@@ -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 });
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { ActivityItemLocation } from './activity-item-location';
|
|
12
13
|
import { AddActivityRequestAttendeesInner } from './add-activity-request-attendees-inner';
|
|
13
|
-
import { AddActivityRequestLocation } from './add-activity-request-location';
|
|
14
14
|
import { AddActivityRequestParticipantsInner } from './add-activity-request-participants-inner';
|
|
15
15
|
/**
|
|
16
16
|
*
|
|
@@ -62,27 +62,27 @@ export interface ActivityItem {
|
|
|
62
62
|
* The ID of the deal linked to the activity
|
|
63
63
|
* @type {number}
|
|
64
64
|
*/
|
|
65
|
-
'deal_id'?: number;
|
|
65
|
+
'deal_id'?: number | null;
|
|
66
66
|
/**
|
|
67
67
|
* The ID of the lead linked to the activity
|
|
68
68
|
* @type {string}
|
|
69
69
|
*/
|
|
70
|
-
'lead_id'?: string;
|
|
70
|
+
'lead_id'?: string | null;
|
|
71
71
|
/**
|
|
72
72
|
* The ID of the person linked to the activity
|
|
73
73
|
* @type {number}
|
|
74
74
|
*/
|
|
75
|
-
'person_id'?: number;
|
|
75
|
+
'person_id'?: number | null;
|
|
76
76
|
/**
|
|
77
77
|
* The ID of the organization linked to the activity
|
|
78
78
|
* @type {number}
|
|
79
79
|
*/
|
|
80
|
-
'org_id'?: number;
|
|
80
|
+
'org_id'?: number | null;
|
|
81
81
|
/**
|
|
82
82
|
* The ID of the project linked to the activity
|
|
83
83
|
* @type {number}
|
|
84
84
|
*/
|
|
85
|
-
'project_id'?: number;
|
|
85
|
+
'project_id'?: number | null;
|
|
86
86
|
/**
|
|
87
87
|
* The due date of the activity
|
|
88
88
|
* @type {string}
|
|
@@ -92,12 +92,12 @@ export interface ActivityItem {
|
|
|
92
92
|
* The due time of the activity
|
|
93
93
|
* @type {string}
|
|
94
94
|
*/
|
|
95
|
-
'due_time'?: string;
|
|
95
|
+
'due_time'?: string | null;
|
|
96
96
|
/**
|
|
97
97
|
* The duration of the activity
|
|
98
98
|
* @type {string}
|
|
99
99
|
*/
|
|
100
|
-
'duration'?: string;
|
|
100
|
+
'duration'?: string | null;
|
|
101
101
|
/**
|
|
102
102
|
* Whether the activity marks the assignee as busy or not in their calendar
|
|
103
103
|
* @type {boolean}
|
|
@@ -112,12 +112,12 @@ export interface ActivityItem {
|
|
|
112
112
|
* The date and time when the activity was marked as done
|
|
113
113
|
* @type {string}
|
|
114
114
|
*/
|
|
115
|
-
'marked_as_done_time'?: string;
|
|
115
|
+
'marked_as_done_time'?: string | null;
|
|
116
116
|
/**
|
|
117
117
|
*
|
|
118
|
-
* @type {
|
|
118
|
+
* @type {ActivityItemLocation}
|
|
119
119
|
*/
|
|
120
|
-
'location'?:
|
|
120
|
+
'location'?: ActivityItemLocation | null;
|
|
121
121
|
/**
|
|
122
122
|
* The participants of the activity
|
|
123
123
|
* @type {Array<AddActivityRequestParticipantsInner>}
|
|
@@ -63,7 +63,7 @@ export interface AddPersonRequest {
|
|
|
63
63
|
*
|
|
64
64
|
* @type {PersonItemAddress}
|
|
65
65
|
*/
|
|
66
|
-
'postal_address'?: PersonItemAddress;
|
|
66
|
+
'postal_address'?: PersonItemAddress | null;
|
|
67
67
|
/**
|
|
68
68
|
* Contact sync notes of the person, maximum 10 000 characters. Only accepted when contact sync is enabled for the company; otherwise the request returns 403.
|
|
69
69
|
* @type {string}
|
|
@@ -19,5 +19,5 @@ export interface GetActivitiesResponseAllOfAdditionalData {
|
|
|
19
19
|
* The first item on the next page. The value of the `next_cursor` field will be `null` if you have reached the end of the dataset and there’s no more pages to be returned.
|
|
20
20
|
* @type {string}
|
|
21
21
|
*/
|
|
22
|
-
'next_cursor'?: string;
|
|
22
|
+
'next_cursor'?: string | null;
|
|
23
23
|
}
|
|
@@ -19,5 +19,5 @@ export interface GetDealsProductsResponseAdditionalData {
|
|
|
19
19
|
* The first item on the next page. The value of the `next_cursor` field will be `null` if you have reached the end of the dataset and there’s no more pages to be returned.
|
|
20
20
|
* @type {string}
|
|
21
21
|
*/
|
|
22
|
-
'next_cursor'?: string;
|
|
22
|
+
'next_cursor'?: string | null;
|
|
23
23
|
}
|
package/dist/versions/v2/models/get-product-search-response-all-of-data-items-inner-item.d.ts
CHANGED
|
@@ -33,9 +33,9 @@ export interface GetProductSearchResponseAllOfDataItemsInnerItem {
|
|
|
33
33
|
'name'?: string;
|
|
34
34
|
/**
|
|
35
35
|
* The code of the product
|
|
36
|
-
* @type {
|
|
36
|
+
* @type {string}
|
|
37
37
|
*/
|
|
38
|
-
'code'?:
|
|
38
|
+
'code'?: string | null;
|
|
39
39
|
/**
|
|
40
40
|
* The visibility of the product
|
|
41
41
|
* @type {number}
|
|
@@ -15,6 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./activity-item"), exports);
|
|
18
|
+
__exportStar(require("./activity-item-location"), exports);
|
|
18
19
|
__exportStar(require("./add-ainstallment-response"), exports);
|
|
19
20
|
__exportStar(require("./add-activity-request"), exports);
|
|
20
21
|
__exportStar(require("./add-activity-request-attendees-inner"), exports);
|
|
@@ -24,45 +24,45 @@ export interface OrganizationItemAddress {
|
|
|
24
24
|
* Country of the organization
|
|
25
25
|
* @type {string}
|
|
26
26
|
*/
|
|
27
|
-
'country'?: string;
|
|
27
|
+
'country'?: string | null;
|
|
28
28
|
/**
|
|
29
29
|
* Admin area level 1 (e.g. state) of the organization
|
|
30
30
|
* @type {string}
|
|
31
31
|
*/
|
|
32
|
-
'admin_area_level_1'?: string;
|
|
32
|
+
'admin_area_level_1'?: string | null;
|
|
33
33
|
/**
|
|
34
34
|
* Admin area level 2 (e.g. county) of the organization
|
|
35
35
|
* @type {string}
|
|
36
36
|
*/
|
|
37
|
-
'admin_area_level_2'?: string;
|
|
37
|
+
'admin_area_level_2'?: string | null;
|
|
38
38
|
/**
|
|
39
39
|
* Locality (e.g. city) of the organization
|
|
40
40
|
* @type {string}
|
|
41
41
|
*/
|
|
42
|
-
'locality'?: string;
|
|
42
|
+
'locality'?: string | null;
|
|
43
43
|
/**
|
|
44
44
|
* Sublocality (e.g. neighborhood) of the organization
|
|
45
45
|
* @type {string}
|
|
46
46
|
*/
|
|
47
|
-
'sublocality'?: string;
|
|
47
|
+
'sublocality'?: string | null;
|
|
48
48
|
/**
|
|
49
49
|
* Route (e.g. street) of the organization
|
|
50
50
|
* @type {string}
|
|
51
51
|
*/
|
|
52
|
-
'route'?: string;
|
|
52
|
+
'route'?: string | null;
|
|
53
53
|
/**
|
|
54
54
|
* Street number of the organization
|
|
55
55
|
* @type {string}
|
|
56
56
|
*/
|
|
57
|
-
'street_number'?: string;
|
|
57
|
+
'street_number'?: string | null;
|
|
58
58
|
/**
|
|
59
59
|
* Subpremise (e.g. apartment/suite number) of the organization
|
|
60
60
|
* @type {string}
|
|
61
61
|
*/
|
|
62
|
-
'subpremise'?: string;
|
|
62
|
+
'subpremise'?: string | null;
|
|
63
63
|
/**
|
|
64
64
|
* Postal code of the organization
|
|
65
65
|
* @type {string}
|
|
66
66
|
*/
|
|
67
|
-
'postal_code'?: string;
|
|
67
|
+
'postal_code'?: string | null;
|
|
68
68
|
}
|
|
@@ -40,7 +40,7 @@ export interface OrganizationItem {
|
|
|
40
40
|
* The last updated date and time of the organization
|
|
41
41
|
* @type {string}
|
|
42
42
|
*/
|
|
43
|
-
'update_time'?: string;
|
|
43
|
+
'update_time'?: string | null;
|
|
44
44
|
/**
|
|
45
45
|
* Whether the organization is deleted or not
|
|
46
46
|
* @type {boolean}
|
|
@@ -55,7 +55,7 @@ export interface OrganizationItem {
|
|
|
55
55
|
*
|
|
56
56
|
* @type {OrganizationItemAddress}
|
|
57
57
|
*/
|
|
58
|
-
'address'?: OrganizationItemAddress;
|
|
58
|
+
'address'?: OrganizationItemAddress | null;
|
|
59
59
|
/**
|
|
60
60
|
* The IDs of labels assigned to the organization
|
|
61
61
|
* @type {Array<number>}
|
|
@@ -24,45 +24,45 @@ export interface PersonItemAddress {
|
|
|
24
24
|
* Country of the person
|
|
25
25
|
* @type {string}
|
|
26
26
|
*/
|
|
27
|
-
'country'?: string;
|
|
27
|
+
'country'?: string | null;
|
|
28
28
|
/**
|
|
29
29
|
* Admin area level 1 (e.g. state) of the person
|
|
30
30
|
* @type {string}
|
|
31
31
|
*/
|
|
32
|
-
'admin_area_level_1'?: string;
|
|
32
|
+
'admin_area_level_1'?: string | null;
|
|
33
33
|
/**
|
|
34
34
|
* Admin area level 2 (e.g. county) of the person
|
|
35
35
|
* @type {string}
|
|
36
36
|
*/
|
|
37
|
-
'admin_area_level_2'?: string;
|
|
37
|
+
'admin_area_level_2'?: string | null;
|
|
38
38
|
/**
|
|
39
39
|
* Locality (e.g. city) of the person
|
|
40
40
|
* @type {string}
|
|
41
41
|
*/
|
|
42
|
-
'locality'?: string;
|
|
42
|
+
'locality'?: string | null;
|
|
43
43
|
/**
|
|
44
44
|
* Sublocality (e.g. neighborhood) of the person
|
|
45
45
|
* @type {string}
|
|
46
46
|
*/
|
|
47
|
-
'sublocality'?: string;
|
|
47
|
+
'sublocality'?: string | null;
|
|
48
48
|
/**
|
|
49
49
|
* Route (e.g. street) of the person
|
|
50
50
|
* @type {string}
|
|
51
51
|
*/
|
|
52
|
-
'route'?: string;
|
|
52
|
+
'route'?: string | null;
|
|
53
53
|
/**
|
|
54
54
|
* Street number of the person
|
|
55
55
|
* @type {string}
|
|
56
56
|
*/
|
|
57
|
-
'street_number'?: string;
|
|
57
|
+
'street_number'?: string | null;
|
|
58
58
|
/**
|
|
59
59
|
* Subpremise (e.g. apartment/suite number) of the person
|
|
60
60
|
* @type {string}
|
|
61
61
|
*/
|
|
62
|
-
'subpremise'?: string;
|
|
62
|
+
'subpremise'?: string | null;
|
|
63
63
|
/**
|
|
64
64
|
* Postal code of the person
|
|
65
65
|
* @type {string}
|
|
66
66
|
*/
|
|
67
|
-
'postal_code'?: string;
|
|
67
|
+
'postal_code'?: string | null;
|
|
68
68
|
}
|
|
@@ -58,7 +58,7 @@ export interface Person {
|
|
|
58
58
|
* The last updated date and time of the person
|
|
59
59
|
* @type {string}
|
|
60
60
|
*/
|
|
61
|
-
'update_time'?: string;
|
|
61
|
+
'update_time'?: string | null;
|
|
62
62
|
/**
|
|
63
63
|
* The emails of the person
|
|
64
64
|
* @type {Array<PersonItemEmail>}
|
|
@@ -88,12 +88,12 @@ export interface Person {
|
|
|
88
88
|
* The ID of the picture associated with the person
|
|
89
89
|
* @type {number}
|
|
90
90
|
*/
|
|
91
|
-
'picture_id'?: number;
|
|
91
|
+
'picture_id'?: number | null;
|
|
92
92
|
/**
|
|
93
93
|
*
|
|
94
94
|
* @type {PersonItemAddress}
|
|
95
95
|
*/
|
|
96
|
-
'postal_address'?: PersonItemAddress;
|
|
96
|
+
'postal_address'?: PersonItemAddress | null;
|
|
97
97
|
/**
|
|
98
98
|
* Contact sync notes of the person, maximum 10 000 characters, included if contact sync is enabled for the company
|
|
99
99
|
* @type {string}
|
|
@@ -58,7 +58,7 @@ export interface UpdatePersonRequest {
|
|
|
58
58
|
*
|
|
59
59
|
* @type {PersonItemAddress}
|
|
60
60
|
*/
|
|
61
|
-
'postal_address'?: PersonItemAddress;
|
|
61
|
+
'postal_address'?: PersonItemAddress | null;
|
|
62
62
|
/**
|
|
63
63
|
* Contact sync notes of the person, maximum 10 000 characters. Only accepted when contact sync is enabled for the company; otherwise the request returns 403.
|
|
64
64
|
* @type {string}
|