pipedrive 36.2.0 → 36.3.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.
|
@@ -116,6 +116,21 @@ export interface AddDealRequest {
|
|
|
116
116
|
*/
|
|
117
117
|
'label_ids'?: Array<number>;
|
|
118
118
|
/**
|
|
119
|
+
* The ID of Marketing channel this deal was created from. Provided value must be one of the channels configured for your company. You can fetch allowed values with <a href=\"https://developers.pipedrive.com/docs/api/v1/DealFields#getDealField\" target=\"_blank\" rel=\"noopener noreferrer\">GET /v1/dealFields</a>.
|
|
120
|
+
* @type {number}
|
|
121
|
+
*/
|
|
122
|
+
'channel'?: number | null;
|
|
123
|
+
/**
|
|
124
|
+
* The optional ID to further distinguish the Marketing channel.
|
|
125
|
+
* @type {string}
|
|
126
|
+
*/
|
|
127
|
+
'channel_id'?: string | null;
|
|
128
|
+
/**
|
|
129
|
+
* The optional ID to further distinguish the origin of the deal - e.g. Which API integration created this deal. If omitted, `origin_id` will be set to null.
|
|
130
|
+
* @type {string}
|
|
131
|
+
*/
|
|
132
|
+
'origin_id'?: string | null;
|
|
133
|
+
/**
|
|
119
134
|
* An object where each key represents a custom field. All custom fields are referenced as randomly generated 40-character hashes. To clear a custom field value, set it to `null`. For multi-option fields (field type `set`), use `null` to clear the selection — sending an empty array `[]` is not supported and will result in a validation error.
|
|
120
135
|
* @type {{ [key: string]: any | undefined; }}
|
|
121
136
|
*/
|
|
@@ -116,6 +116,16 @@ export interface UpdateDealRequest {
|
|
|
116
116
|
*/
|
|
117
117
|
'label_ids'?: Array<number>;
|
|
118
118
|
/**
|
|
119
|
+
* The ID of Marketing channel this deal was created from. Provided value must be one of the channels configured for your company. You can fetch allowed values with <a href=\"https://developers.pipedrive.com/docs/api/v1/DealFields#getDealField\" target=\"_blank\" rel=\"noopener noreferrer\">GET /v1/dealFields</a>.
|
|
120
|
+
* @type {number}
|
|
121
|
+
*/
|
|
122
|
+
'channel'?: number | null;
|
|
123
|
+
/**
|
|
124
|
+
* The optional ID to further distinguish the Marketing channel.
|
|
125
|
+
* @type {string}
|
|
126
|
+
*/
|
|
127
|
+
'channel_id'?: string | null;
|
|
128
|
+
/**
|
|
119
129
|
* An object where each key represents a custom field. All custom fields are referenced as randomly generated 40-character hashes. To clear a custom field value, set it to `null`. For multi-option fields (field type `set`), use `null` to clear the selection — sending an empty array `[]` is not supported and will result in a validation error.
|
|
120
130
|
* @type {{ [key: string]: any | undefined; }}
|
|
121
131
|
*/
|
|
@@ -116,6 +116,21 @@ export interface AddDealRequest {
|
|
|
116
116
|
*/
|
|
117
117
|
'label_ids'?: Array<number>;
|
|
118
118
|
/**
|
|
119
|
+
* The ID of Marketing channel this deal was created from. Provided value must be one of the channels configured for your company. You can fetch allowed values with <a href=\"https://developers.pipedrive.com/docs/api/v1/DealFields#getDealField\" target=\"_blank\" rel=\"noopener noreferrer\">GET /v1/dealFields</a>.
|
|
120
|
+
* @type {number}
|
|
121
|
+
*/
|
|
122
|
+
'channel'?: number | null;
|
|
123
|
+
/**
|
|
124
|
+
* The optional ID to further distinguish the Marketing channel.
|
|
125
|
+
* @type {string}
|
|
126
|
+
*/
|
|
127
|
+
'channel_id'?: string | null;
|
|
128
|
+
/**
|
|
129
|
+
* The optional ID to further distinguish the origin of the deal - e.g. Which API integration created this deal. If omitted, `origin_id` will be set to null.
|
|
130
|
+
* @type {string}
|
|
131
|
+
*/
|
|
132
|
+
'origin_id'?: string | null;
|
|
133
|
+
/**
|
|
119
134
|
* An object where each key represents a custom field. All custom fields are referenced as randomly generated 40-character hashes. To clear a custom field value, set it to `null`. For multi-option fields (field type `set`), use `null` to clear the selection — sending an empty array `[]` is not supported and will result in a validation error.
|
|
120
135
|
* @type {{ [key: string]: any | undefined; }}
|
|
121
136
|
*/
|
|
@@ -116,6 +116,16 @@ export interface UpdateDealRequest {
|
|
|
116
116
|
*/
|
|
117
117
|
'label_ids'?: Array<number>;
|
|
118
118
|
/**
|
|
119
|
+
* The ID of Marketing channel this deal was created from. Provided value must be one of the channels configured for your company. You can fetch allowed values with <a href=\"https://developers.pipedrive.com/docs/api/v1/DealFields#getDealField\" target=\"_blank\" rel=\"noopener noreferrer\">GET /v1/dealFields</a>.
|
|
120
|
+
* @type {number}
|
|
121
|
+
*/
|
|
122
|
+
'channel'?: number | null;
|
|
123
|
+
/**
|
|
124
|
+
* The optional ID to further distinguish the Marketing channel.
|
|
125
|
+
* @type {string}
|
|
126
|
+
*/
|
|
127
|
+
'channel_id'?: string | null;
|
|
128
|
+
/**
|
|
119
129
|
* An object where each key represents a custom field. All custom fields are referenced as randomly generated 40-character hashes. To clear a custom field value, set it to `null`. For multi-option fields (field type `set`), use `null` to clear the selection — sending an empty array `[]` is not supported and will result in a validation error.
|
|
120
130
|
* @type {{ [key: string]: any | undefined; }}
|
|
121
131
|
*/
|