pipedrive 24.0.0 → 24.1.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/README.md +1 -1
- package/dist/esm/versions/v1/api/deals-api.d.ts +10 -2
- package/dist/esm/versions/v1/api/deals-api.js +10 -5
- package/dist/esm/versions/v1/models/add-lead-label-request.d.ts +7 -3
- package/dist/esm/versions/v1/models/add-lead-label-request.js +8 -4
- package/dist/esm/versions/v1/models/base-webhook.d.ts +2 -1
- package/dist/esm/versions/v1/models/base-webhook.js +2 -1
- package/dist/esm/versions/v1/models/lead-label.d.ts +7 -3
- package/dist/esm/versions/v1/models/lead-label.js +8 -4
- package/dist/esm/versions/v1/models/update-lead-label-request.d.ts +7 -3
- package/dist/esm/versions/v1/models/update-lead-label-request.js +8 -4
- package/dist/versions/v1/api/deals-api.d.ts +10 -2
- package/dist/versions/v1/api/deals-api.js +10 -5
- package/dist/versions/v1/models/add-lead-label-request.d.ts +7 -3
- package/dist/versions/v1/models/add-lead-label-request.js +8 -4
- package/dist/versions/v1/models/base-webhook.d.ts +2 -1
- package/dist/versions/v1/models/base-webhook.js +2 -1
- package/dist/versions/v1/models/lead-label.d.ts +7 -3
- package/dist/versions/v1/models/lead-label.js +8 -4
- package/dist/versions/v1/models/update-lead-label-request.d.ts +7 -3
- package/dist/versions/v1/models/update-lead-label-request.js +8 -4
- package/package.json +1 -1
package/README.md
CHANGED
@@ -294,11 +294,12 @@ export declare const DealsApiAxiosParamCreator: (configuration?: Configuration)
|
|
294
294
|
* @param {'open' | 'won' | 'lost'} [status] Only fetch deals with a specific status. open = Open, won = Won, lost = Lost.
|
295
295
|
* @param {number} [filter_id] <code>user_id</code> will not be considered. Only deals matching the given filter will be returned.
|
296
296
|
* @param {number} [user_id] Only deals matching the given user will be returned. `user_id` will not be considered if you use `filter_id`.
|
297
|
+
* @param {number} [pipeline_id] Only deals within the given pipeline will be returned
|
297
298
|
* @param {number} [stage_id] Only deals within the given stage will be returned
|
298
299
|
|
299
300
|
* @throws {RequiredError}
|
300
301
|
*/
|
301
|
-
getDealsSummary: (status?: 'open' | 'won' | 'lost', filter_id?: number, user_id?: number, stage_id?: number) => Promise<RequestArgs>;
|
302
|
+
getDealsSummary: (status?: 'open' | 'won' | 'lost', filter_id?: number, user_id?: number, pipeline_id?: number, stage_id?: number) => Promise<RequestArgs>;
|
302
303
|
/**
|
303
304
|
* Returns open and won deals, grouped by a defined interval of time set in a date-type dealField (`field_key`) — e.g. when month is the chosen interval, and 3 months are asked starting from January 1st, 2012, deals are returned grouped into 3 groups — January, February and March — based on the value of the given `field_key`.
|
304
305
|
* @summary Get deals timeline
|
@@ -606,11 +607,12 @@ export declare const DealsApiFp: (configuration?: Configuration) => {
|
|
606
607
|
* @param {'open' | 'won' | 'lost'} [status] Only fetch deals with a specific status. open = Open, won = Won, lost = Lost.
|
607
608
|
* @param {number} [filter_id] <code>user_id</code> will not be considered. Only deals matching the given filter will be returned.
|
608
609
|
* @param {number} [user_id] Only deals matching the given user will be returned. `user_id` will not be considered if you use `filter_id`.
|
610
|
+
* @param {number} [pipeline_id] Only deals within the given pipeline will be returned
|
609
611
|
* @param {number} [stage_id] Only deals within the given stage will be returned
|
610
612
|
|
611
613
|
* @throws {RequiredError}
|
612
614
|
*/
|
613
|
-
getDealsSummary(status?: 'open' | 'won' | 'lost', filter_id?: number, user_id?: number, stage_id?: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetDealsSummaryResponse>>;
|
615
|
+
getDealsSummary(status?: 'open' | 'won' | 'lost', filter_id?: number, user_id?: number, pipeline_id?: number, stage_id?: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetDealsSummaryResponse>>;
|
614
616
|
/**
|
615
617
|
* Returns open and won deals, grouped by a defined interval of time set in a date-type dealField (`field_key`) — e.g. when month is the chosen interval, and 3 months are asked starting from January 1st, 2012, deals are returned grouped into 3 groups — January, February and March — based on the value of the given `field_key`.
|
616
618
|
* @summary Get deals timeline
|
@@ -1512,6 +1514,12 @@ export interface DealsApiGetDealsSummaryRequest {
|
|
1512
1514
|
* @memberof DealsApiGetDealsSummary
|
1513
1515
|
*/
|
1514
1516
|
readonly user_id?: number;
|
1517
|
+
/**
|
1518
|
+
* Only deals within the given pipeline will be returned
|
1519
|
+
* @type {number}
|
1520
|
+
* @memberof DealsApiGetDealsSummary
|
1521
|
+
*/
|
1522
|
+
readonly pipeline_id?: number;
|
1515
1523
|
/**
|
1516
1524
|
* Only deals within the given stage will be returned
|
1517
1525
|
* @type {number}
|
@@ -1024,11 +1024,12 @@ export const DealsApiAxiosParamCreator = function (configuration) {
|
|
1024
1024
|
* @param {'open' | 'won' | 'lost'} [status] Only fetch deals with a specific status. open = Open, won = Won, lost = Lost.
|
1025
1025
|
* @param {number} [filter_id] <code>user_id</code> will not be considered. Only deals matching the given filter will be returned.
|
1026
1026
|
* @param {number} [user_id] Only deals matching the given user will be returned. `user_id` will not be considered if you use `filter_id`.
|
1027
|
+
* @param {number} [pipeline_id] Only deals within the given pipeline will be returned
|
1027
1028
|
* @param {number} [stage_id] Only deals within the given stage will be returned
|
1028
1029
|
|
1029
1030
|
* @throws {RequiredError}
|
1030
1031
|
*/
|
1031
|
-
getDealsSummary: (status, filter_id, user_id, stage_id) => __awaiter(this, void 0, void 0, function* () {
|
1032
|
+
getDealsSummary: (status, filter_id, user_id, pipeline_id, stage_id) => __awaiter(this, void 0, void 0, function* () {
|
1032
1033
|
const localVarPath = `/deals/summary`;
|
1033
1034
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
1034
1035
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
@@ -1053,6 +1054,9 @@ export const DealsApiAxiosParamCreator = function (configuration) {
|
|
1053
1054
|
if (user_id !== undefined) {
|
1054
1055
|
localVarQueryParameter['user_id'] = user_id;
|
1055
1056
|
}
|
1057
|
+
if (pipeline_id !== undefined) {
|
1058
|
+
localVarQueryParameter['pipeline_id'] = pipeline_id;
|
1059
|
+
}
|
1056
1060
|
if (stage_id !== undefined) {
|
1057
1061
|
localVarQueryParameter['stage_id'] = stage_id;
|
1058
1062
|
}
|
@@ -1693,13 +1697,14 @@ export const DealsApiFp = function (configuration) {
|
|
1693
1697
|
* @param {'open' | 'won' | 'lost'} [status] Only fetch deals with a specific status. open = Open, won = Won, lost = Lost.
|
1694
1698
|
* @param {number} [filter_id] <code>user_id</code> will not be considered. Only deals matching the given filter will be returned.
|
1695
1699
|
* @param {number} [user_id] Only deals matching the given user will be returned. `user_id` will not be considered if you use `filter_id`.
|
1700
|
+
* @param {number} [pipeline_id] Only deals within the given pipeline will be returned
|
1696
1701
|
* @param {number} [stage_id] Only deals within the given stage will be returned
|
1697
1702
|
|
1698
1703
|
* @throws {RequiredError}
|
1699
1704
|
*/
|
1700
|
-
getDealsSummary(status, filter_id, user_id, stage_id) {
|
1705
|
+
getDealsSummary(status, filter_id, user_id, pipeline_id, stage_id) {
|
1701
1706
|
return __awaiter(this, void 0, void 0, function* () {
|
1702
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getDealsSummary(status, filter_id, user_id, stage_id);
|
1707
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getDealsSummary(status, filter_id, user_id, pipeline_id, stage_id);
|
1703
1708
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
1704
1709
|
});
|
1705
1710
|
},
|
@@ -2045,7 +2050,7 @@ export const DealsApiFactory = function (configuration, basePath, axios) {
|
|
2045
2050
|
* @throws {RequiredError}
|
2046
2051
|
*/
|
2047
2052
|
getDealsSummary(requestParameters = {}) {
|
2048
|
-
return localVarFp.getDealsSummary(requestParameters.status, requestParameters.filter_id, requestParameters.user_id, requestParameters.stage_id).then((request) => request(axios, basePath));
|
2053
|
+
return localVarFp.getDealsSummary(requestParameters.status, requestParameters.filter_id, requestParameters.user_id, requestParameters.pipeline_id, requestParameters.stage_id).then((request) => request(axios, basePath));
|
2049
2054
|
},
|
2050
2055
|
/**
|
2051
2056
|
* Returns open and won deals, grouped by a defined interval of time set in a date-type dealField (`field_key`) — e.g. when month is the chosen interval, and 3 months are asked starting from January 1st, 2012, deals are returned grouped into 3 groups — January, February and March — based on the value of the given `field_key`.
|
@@ -2379,7 +2384,7 @@ export class DealsApi extends BaseAPI {
|
|
2379
2384
|
* @memberof DealsApi
|
2380
2385
|
*/
|
2381
2386
|
getDealsSummary(requestParameters = {}) {
|
2382
|
-
return DealsApiFp(this.configuration).getDealsSummary(requestParameters.status, requestParameters.filter_id, requestParameters.user_id, requestParameters.stage_id).then((request) => request(this.axios, this.basePath));
|
2387
|
+
return DealsApiFp(this.configuration).getDealsSummary(requestParameters.status, requestParameters.filter_id, requestParameters.user_id, requestParameters.pipeline_id, requestParameters.stage_id).then((request) => request(this.axios, this.basePath));
|
2383
2388
|
}
|
2384
2389
|
/**
|
2385
2390
|
* Returns open and won deals, grouped by a defined interval of time set in a date-type dealField (`field_key`) — e.g. when month is the chosen interval, and 3 months are asked starting from January 1st, 2012, deals are returned grouped into 3 groups — January, February and March — based on the value of the given `field_key`.
|
@@ -27,11 +27,15 @@ export interface AddLeadLabelRequest {
|
|
27
27
|
'color': AddLeadLabelRequestColorConst;
|
28
28
|
}
|
29
29
|
export declare const AddLeadLabelRequestColorConst: {
|
30
|
-
readonly green: "green";
|
31
30
|
readonly blue: "blue";
|
31
|
+
readonly brown: "brown";
|
32
|
+
readonly dark_gray: "dark-gray";
|
33
|
+
readonly gray: "gray";
|
34
|
+
readonly green: "green";
|
35
|
+
readonly orange: "orange";
|
36
|
+
readonly pink: "pink";
|
37
|
+
readonly purple: "purple";
|
32
38
|
readonly red: "red";
|
33
39
|
readonly yellow: "yellow";
|
34
|
-
readonly purple: "purple";
|
35
|
-
readonly gray: "gray";
|
36
40
|
};
|
37
41
|
export type AddLeadLabelRequestColorConst = typeof AddLeadLabelRequestColorConst[keyof typeof AddLeadLabelRequestColorConst];
|
@@ -12,10 +12,14 @@
|
|
12
12
|
* Do not edit the class manually.
|
13
13
|
*/
|
14
14
|
export const AddLeadLabelRequestColorConst = {
|
15
|
-
green: 'green',
|
16
15
|
blue: 'blue',
|
17
|
-
|
18
|
-
|
16
|
+
brown: 'brown',
|
17
|
+
dark_gray: 'dark-gray',
|
18
|
+
gray: 'gray',
|
19
|
+
green: 'green',
|
20
|
+
orange: 'orange',
|
21
|
+
pink: 'pink',
|
19
22
|
purple: 'purple',
|
20
|
-
|
23
|
+
red: 'red',
|
24
|
+
yellow: 'yellow'
|
21
25
|
};
|
@@ -113,6 +113,7 @@ export declare const BaseWebhookIsActiveConst: {
|
|
113
113
|
export type BaseWebhookIsActiveConst = typeof BaseWebhookIsActiveConst[keyof typeof BaseWebhookIsActiveConst];
|
114
114
|
export declare const BaseWebhookTypeConst: {
|
115
115
|
readonly general: "general";
|
116
|
-
readonly
|
116
|
+
readonly application: "application";
|
117
|
+
readonly automation: "automation";
|
117
118
|
};
|
118
119
|
export type BaseWebhookTypeConst = typeof BaseWebhookTypeConst[keyof typeof BaseWebhookTypeConst];
|
@@ -42,11 +42,15 @@ export interface LeadLabel {
|
|
42
42
|
'update_time': string;
|
43
43
|
}
|
44
44
|
export declare const LeadLabelColorConst: {
|
45
|
-
readonly green: "green";
|
46
45
|
readonly blue: "blue";
|
46
|
+
readonly brown: "brown";
|
47
|
+
readonly dark_gray: "dark-gray";
|
48
|
+
readonly gray: "gray";
|
49
|
+
readonly green: "green";
|
50
|
+
readonly orange: "orange";
|
51
|
+
readonly pink: "pink";
|
52
|
+
readonly purple: "purple";
|
47
53
|
readonly red: "red";
|
48
54
|
readonly yellow: "yellow";
|
49
|
-
readonly purple: "purple";
|
50
|
-
readonly gray: "gray";
|
51
55
|
};
|
52
56
|
export type LeadLabelColorConst = typeof LeadLabelColorConst[keyof typeof LeadLabelColorConst];
|
@@ -12,10 +12,14 @@
|
|
12
12
|
* Do not edit the class manually.
|
13
13
|
*/
|
14
14
|
export const LeadLabelColorConst = {
|
15
|
-
green: 'green',
|
16
15
|
blue: 'blue',
|
17
|
-
|
18
|
-
|
16
|
+
brown: 'brown',
|
17
|
+
dark_gray: 'dark-gray',
|
18
|
+
gray: 'gray',
|
19
|
+
green: 'green',
|
20
|
+
orange: 'orange',
|
21
|
+
pink: 'pink',
|
19
22
|
purple: 'purple',
|
20
|
-
|
23
|
+
red: 'red',
|
24
|
+
yellow: 'yellow'
|
21
25
|
};
|
@@ -27,11 +27,15 @@ export interface UpdateLeadLabelRequest {
|
|
27
27
|
'color'?: UpdateLeadLabelRequestColorConst;
|
28
28
|
}
|
29
29
|
export declare const UpdateLeadLabelRequestColorConst: {
|
30
|
-
readonly green: "green";
|
31
30
|
readonly blue: "blue";
|
31
|
+
readonly brown: "brown";
|
32
|
+
readonly dark_gray: "dark-gray";
|
33
|
+
readonly gray: "gray";
|
34
|
+
readonly green: "green";
|
35
|
+
readonly orange: "orange";
|
36
|
+
readonly pink: "pink";
|
37
|
+
readonly purple: "purple";
|
32
38
|
readonly red: "red";
|
33
39
|
readonly yellow: "yellow";
|
34
|
-
readonly purple: "purple";
|
35
|
-
readonly gray: "gray";
|
36
40
|
};
|
37
41
|
export type UpdateLeadLabelRequestColorConst = typeof UpdateLeadLabelRequestColorConst[keyof typeof UpdateLeadLabelRequestColorConst];
|
@@ -12,10 +12,14 @@
|
|
12
12
|
* Do not edit the class manually.
|
13
13
|
*/
|
14
14
|
export const UpdateLeadLabelRequestColorConst = {
|
15
|
-
green: 'green',
|
16
15
|
blue: 'blue',
|
17
|
-
|
18
|
-
|
16
|
+
brown: 'brown',
|
17
|
+
dark_gray: 'dark-gray',
|
18
|
+
gray: 'gray',
|
19
|
+
green: 'green',
|
20
|
+
orange: 'orange',
|
21
|
+
pink: 'pink',
|
19
22
|
purple: 'purple',
|
20
|
-
|
23
|
+
red: 'red',
|
24
|
+
yellow: 'yellow'
|
21
25
|
};
|
@@ -294,11 +294,12 @@ export declare const DealsApiAxiosParamCreator: (configuration?: Configuration)
|
|
294
294
|
* @param {'open' | 'won' | 'lost'} [status] Only fetch deals with a specific status. open = Open, won = Won, lost = Lost.
|
295
295
|
* @param {number} [filter_id] <code>user_id</code> will not be considered. Only deals matching the given filter will be returned.
|
296
296
|
* @param {number} [user_id] Only deals matching the given user will be returned. `user_id` will not be considered if you use `filter_id`.
|
297
|
+
* @param {number} [pipeline_id] Only deals within the given pipeline will be returned
|
297
298
|
* @param {number} [stage_id] Only deals within the given stage will be returned
|
298
299
|
|
299
300
|
* @throws {RequiredError}
|
300
301
|
*/
|
301
|
-
getDealsSummary: (status?: 'open' | 'won' | 'lost', filter_id?: number, user_id?: number, stage_id?: number) => Promise<RequestArgs>;
|
302
|
+
getDealsSummary: (status?: 'open' | 'won' | 'lost', filter_id?: number, user_id?: number, pipeline_id?: number, stage_id?: number) => Promise<RequestArgs>;
|
302
303
|
/**
|
303
304
|
* Returns open and won deals, grouped by a defined interval of time set in a date-type dealField (`field_key`) — e.g. when month is the chosen interval, and 3 months are asked starting from January 1st, 2012, deals are returned grouped into 3 groups — January, February and March — based on the value of the given `field_key`.
|
304
305
|
* @summary Get deals timeline
|
@@ -606,11 +607,12 @@ export declare const DealsApiFp: (configuration?: Configuration) => {
|
|
606
607
|
* @param {'open' | 'won' | 'lost'} [status] Only fetch deals with a specific status. open = Open, won = Won, lost = Lost.
|
607
608
|
* @param {number} [filter_id] <code>user_id</code> will not be considered. Only deals matching the given filter will be returned.
|
608
609
|
* @param {number} [user_id] Only deals matching the given user will be returned. `user_id` will not be considered if you use `filter_id`.
|
610
|
+
* @param {number} [pipeline_id] Only deals within the given pipeline will be returned
|
609
611
|
* @param {number} [stage_id] Only deals within the given stage will be returned
|
610
612
|
|
611
613
|
* @throws {RequiredError}
|
612
614
|
*/
|
613
|
-
getDealsSummary(status?: 'open' | 'won' | 'lost', filter_id?: number, user_id?: number, stage_id?: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetDealsSummaryResponse>>;
|
615
|
+
getDealsSummary(status?: 'open' | 'won' | 'lost', filter_id?: number, user_id?: number, pipeline_id?: number, stage_id?: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetDealsSummaryResponse>>;
|
614
616
|
/**
|
615
617
|
* Returns open and won deals, grouped by a defined interval of time set in a date-type dealField (`field_key`) — e.g. when month is the chosen interval, and 3 months are asked starting from January 1st, 2012, deals are returned grouped into 3 groups — January, February and March — based on the value of the given `field_key`.
|
616
618
|
* @summary Get deals timeline
|
@@ -1512,6 +1514,12 @@ export interface DealsApiGetDealsSummaryRequest {
|
|
1512
1514
|
* @memberof DealsApiGetDealsSummary
|
1513
1515
|
*/
|
1514
1516
|
readonly user_id?: number;
|
1517
|
+
/**
|
1518
|
+
* Only deals within the given pipeline will be returned
|
1519
|
+
* @type {number}
|
1520
|
+
* @memberof DealsApiGetDealsSummary
|
1521
|
+
*/
|
1522
|
+
readonly pipeline_id?: number;
|
1515
1523
|
/**
|
1516
1524
|
* Only deals within the given stage will be returned
|
1517
1525
|
* @type {number}
|
@@ -1030,11 +1030,12 @@ const DealsApiAxiosParamCreator = function (configuration) {
|
|
1030
1030
|
* @param {'open' | 'won' | 'lost'} [status] Only fetch deals with a specific status. open = Open, won = Won, lost = Lost.
|
1031
1031
|
* @param {number} [filter_id] <code>user_id</code> will not be considered. Only deals matching the given filter will be returned.
|
1032
1032
|
* @param {number} [user_id] Only deals matching the given user will be returned. `user_id` will not be considered if you use `filter_id`.
|
1033
|
+
* @param {number} [pipeline_id] Only deals within the given pipeline will be returned
|
1033
1034
|
* @param {number} [stage_id] Only deals within the given stage will be returned
|
1034
1035
|
|
1035
1036
|
* @throws {RequiredError}
|
1036
1037
|
*/
|
1037
|
-
getDealsSummary: (status, filter_id, user_id, stage_id) => __awaiter(this, void 0, void 0, function* () {
|
1038
|
+
getDealsSummary: (status, filter_id, user_id, pipeline_id, stage_id) => __awaiter(this, void 0, void 0, function* () {
|
1038
1039
|
const localVarPath = `/deals/summary`;
|
1039
1040
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
1040
1041
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
@@ -1059,6 +1060,9 @@ const DealsApiAxiosParamCreator = function (configuration) {
|
|
1059
1060
|
if (user_id !== undefined) {
|
1060
1061
|
localVarQueryParameter['user_id'] = user_id;
|
1061
1062
|
}
|
1063
|
+
if (pipeline_id !== undefined) {
|
1064
|
+
localVarQueryParameter['pipeline_id'] = pipeline_id;
|
1065
|
+
}
|
1062
1066
|
if (stage_id !== undefined) {
|
1063
1067
|
localVarQueryParameter['stage_id'] = stage_id;
|
1064
1068
|
}
|
@@ -1700,13 +1704,14 @@ const DealsApiFp = function (configuration) {
|
|
1700
1704
|
* @param {'open' | 'won' | 'lost'} [status] Only fetch deals with a specific status. open = Open, won = Won, lost = Lost.
|
1701
1705
|
* @param {number} [filter_id] <code>user_id</code> will not be considered. Only deals matching the given filter will be returned.
|
1702
1706
|
* @param {number} [user_id] Only deals matching the given user will be returned. `user_id` will not be considered if you use `filter_id`.
|
1707
|
+
* @param {number} [pipeline_id] Only deals within the given pipeline will be returned
|
1703
1708
|
* @param {number} [stage_id] Only deals within the given stage will be returned
|
1704
1709
|
|
1705
1710
|
* @throws {RequiredError}
|
1706
1711
|
*/
|
1707
|
-
getDealsSummary(status, filter_id, user_id, stage_id) {
|
1712
|
+
getDealsSummary(status, filter_id, user_id, pipeline_id, stage_id) {
|
1708
1713
|
return __awaiter(this, void 0, void 0, function* () {
|
1709
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getDealsSummary(status, filter_id, user_id, stage_id);
|
1714
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getDealsSummary(status, filter_id, user_id, pipeline_id, stage_id);
|
1710
1715
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
1711
1716
|
});
|
1712
1717
|
},
|
@@ -2053,7 +2058,7 @@ const DealsApiFactory = function (configuration, basePath, axios) {
|
|
2053
2058
|
* @throws {RequiredError}
|
2054
2059
|
*/
|
2055
2060
|
getDealsSummary(requestParameters = {}) {
|
2056
|
-
return localVarFp.getDealsSummary(requestParameters.status, requestParameters.filter_id, requestParameters.user_id, requestParameters.stage_id).then((request) => request(axios, basePath));
|
2061
|
+
return localVarFp.getDealsSummary(requestParameters.status, requestParameters.filter_id, requestParameters.user_id, requestParameters.pipeline_id, requestParameters.stage_id).then((request) => request(axios, basePath));
|
2057
2062
|
},
|
2058
2063
|
/**
|
2059
2064
|
* Returns open and won deals, grouped by a defined interval of time set in a date-type dealField (`field_key`) — e.g. when month is the chosen interval, and 3 months are asked starting from January 1st, 2012, deals are returned grouped into 3 groups — January, February and March — based on the value of the given `field_key`.
|
@@ -2388,7 +2393,7 @@ class DealsApi extends base_1.BaseAPI {
|
|
2388
2393
|
* @memberof DealsApi
|
2389
2394
|
*/
|
2390
2395
|
getDealsSummary(requestParameters = {}) {
|
2391
|
-
return (0, exports.DealsApiFp)(this.configuration).getDealsSummary(requestParameters.status, requestParameters.filter_id, requestParameters.user_id, requestParameters.stage_id).then((request) => request(this.axios, this.basePath));
|
2396
|
+
return (0, exports.DealsApiFp)(this.configuration).getDealsSummary(requestParameters.status, requestParameters.filter_id, requestParameters.user_id, requestParameters.pipeline_id, requestParameters.stage_id).then((request) => request(this.axios, this.basePath));
|
2392
2397
|
}
|
2393
2398
|
/**
|
2394
2399
|
* Returns open and won deals, grouped by a defined interval of time set in a date-type dealField (`field_key`) — e.g. when month is the chosen interval, and 3 months are asked starting from January 1st, 2012, deals are returned grouped into 3 groups — January, February and March — based on the value of the given `field_key`.
|
@@ -27,11 +27,15 @@ export interface AddLeadLabelRequest {
|
|
27
27
|
'color': AddLeadLabelRequestColorConst;
|
28
28
|
}
|
29
29
|
export declare const AddLeadLabelRequestColorConst: {
|
30
|
-
readonly green: "green";
|
31
30
|
readonly blue: "blue";
|
31
|
+
readonly brown: "brown";
|
32
|
+
readonly dark_gray: "dark-gray";
|
33
|
+
readonly gray: "gray";
|
34
|
+
readonly green: "green";
|
35
|
+
readonly orange: "orange";
|
36
|
+
readonly pink: "pink";
|
37
|
+
readonly purple: "purple";
|
32
38
|
readonly red: "red";
|
33
39
|
readonly yellow: "yellow";
|
34
|
-
readonly purple: "purple";
|
35
|
-
readonly gray: "gray";
|
36
40
|
};
|
37
41
|
export type AddLeadLabelRequestColorConst = typeof AddLeadLabelRequestColorConst[keyof typeof AddLeadLabelRequestColorConst];
|
@@ -15,10 +15,14 @@
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
16
16
|
exports.AddLeadLabelRequestColorConst = void 0;
|
17
17
|
exports.AddLeadLabelRequestColorConst = {
|
18
|
-
green: 'green',
|
19
18
|
blue: 'blue',
|
20
|
-
|
21
|
-
|
19
|
+
brown: 'brown',
|
20
|
+
dark_gray: 'dark-gray',
|
21
|
+
gray: 'gray',
|
22
|
+
green: 'green',
|
23
|
+
orange: 'orange',
|
24
|
+
pink: 'pink',
|
22
25
|
purple: 'purple',
|
23
|
-
|
26
|
+
red: 'red',
|
27
|
+
yellow: 'yellow'
|
24
28
|
};
|
@@ -113,6 +113,7 @@ export declare const BaseWebhookIsActiveConst: {
|
|
113
113
|
export type BaseWebhookIsActiveConst = typeof BaseWebhookIsActiveConst[keyof typeof BaseWebhookIsActiveConst];
|
114
114
|
export declare const BaseWebhookTypeConst: {
|
115
115
|
readonly general: "general";
|
116
|
-
readonly
|
116
|
+
readonly application: "application";
|
117
|
+
readonly automation: "automation";
|
117
118
|
};
|
118
119
|
export type BaseWebhookTypeConst = typeof BaseWebhookTypeConst[keyof typeof BaseWebhookTypeConst];
|
@@ -42,11 +42,15 @@ export interface LeadLabel {
|
|
42
42
|
'update_time': string;
|
43
43
|
}
|
44
44
|
export declare const LeadLabelColorConst: {
|
45
|
-
readonly green: "green";
|
46
45
|
readonly blue: "blue";
|
46
|
+
readonly brown: "brown";
|
47
|
+
readonly dark_gray: "dark-gray";
|
48
|
+
readonly gray: "gray";
|
49
|
+
readonly green: "green";
|
50
|
+
readonly orange: "orange";
|
51
|
+
readonly pink: "pink";
|
52
|
+
readonly purple: "purple";
|
47
53
|
readonly red: "red";
|
48
54
|
readonly yellow: "yellow";
|
49
|
-
readonly purple: "purple";
|
50
|
-
readonly gray: "gray";
|
51
55
|
};
|
52
56
|
export type LeadLabelColorConst = typeof LeadLabelColorConst[keyof typeof LeadLabelColorConst];
|
@@ -15,10 +15,14 @@
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
16
16
|
exports.LeadLabelColorConst = void 0;
|
17
17
|
exports.LeadLabelColorConst = {
|
18
|
-
green: 'green',
|
19
18
|
blue: 'blue',
|
20
|
-
|
21
|
-
|
19
|
+
brown: 'brown',
|
20
|
+
dark_gray: 'dark-gray',
|
21
|
+
gray: 'gray',
|
22
|
+
green: 'green',
|
23
|
+
orange: 'orange',
|
24
|
+
pink: 'pink',
|
22
25
|
purple: 'purple',
|
23
|
-
|
26
|
+
red: 'red',
|
27
|
+
yellow: 'yellow'
|
24
28
|
};
|
@@ -27,11 +27,15 @@ export interface UpdateLeadLabelRequest {
|
|
27
27
|
'color'?: UpdateLeadLabelRequestColorConst;
|
28
28
|
}
|
29
29
|
export declare const UpdateLeadLabelRequestColorConst: {
|
30
|
-
readonly green: "green";
|
31
30
|
readonly blue: "blue";
|
31
|
+
readonly brown: "brown";
|
32
|
+
readonly dark_gray: "dark-gray";
|
33
|
+
readonly gray: "gray";
|
34
|
+
readonly green: "green";
|
35
|
+
readonly orange: "orange";
|
36
|
+
readonly pink: "pink";
|
37
|
+
readonly purple: "purple";
|
32
38
|
readonly red: "red";
|
33
39
|
readonly yellow: "yellow";
|
34
|
-
readonly purple: "purple";
|
35
|
-
readonly gray: "gray";
|
36
40
|
};
|
37
41
|
export type UpdateLeadLabelRequestColorConst = typeof UpdateLeadLabelRequestColorConst[keyof typeof UpdateLeadLabelRequestColorConst];
|
@@ -15,10 +15,14 @@
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
16
16
|
exports.UpdateLeadLabelRequestColorConst = void 0;
|
17
17
|
exports.UpdateLeadLabelRequestColorConst = {
|
18
|
-
green: 'green',
|
19
18
|
blue: 'blue',
|
20
|
-
|
21
|
-
|
19
|
+
brown: 'brown',
|
20
|
+
dark_gray: 'dark-gray',
|
21
|
+
gray: 'gray',
|
22
|
+
green: 'green',
|
23
|
+
orange: 'orange',
|
24
|
+
pink: 'pink',
|
22
25
|
purple: 'purple',
|
23
|
-
|
26
|
+
red: 'red',
|
27
|
+
yellow: 'yellow'
|
24
28
|
};
|