@iblai/iblai-api 4.265.1-core → 4.265.2-core
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/index.cjs.js +2168 -258
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +2165 -259
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +2168 -258
- package/dist/index.umd.js.map +1 -1
- package/dist/types/index.d.ts +26 -1
- package/dist/types/models/Activity.d.ts +83 -0
- package/dist/types/models/ActivityTypeEnum.d.ts +18 -0
- package/dist/types/models/Deal.d.ts +83 -0
- package/dist/types/models/DealLostRequest.d.ts +10 -0
- package/dist/types/models/DealMoveStageRequest.d.ts +10 -0
- package/dist/types/models/DealStatusEnum.d.ts +10 -0
- package/dist/types/models/DealWonRequest.d.ts +6 -0
- package/dist/types/models/LeadSource.d.ts +30 -0
- package/dist/types/models/NotificationTemplateDetail.d.ts +24 -2
- package/dist/types/models/NotificationTemplateList.d.ts +5 -2
- package/dist/types/models/Organization.d.ts +1 -1
- package/dist/types/models/PaginatedActivityList.d.ts +7 -0
- package/dist/types/models/PaginatedDealList.d.ts +7 -0
- package/dist/types/models/PaginatedLeadSourceList.d.ts +7 -0
- package/dist/types/models/PaginatedPipelineList.d.ts +7 -0
- package/dist/types/models/PaginatedPipelineStageList.d.ts +7 -0
- package/dist/types/models/PatchedActivity.d.ts +83 -0
- package/dist/types/models/PatchedDeal.d.ts +83 -0
- package/dist/types/models/PatchedLeadSource.d.ts +30 -0
- package/dist/types/models/PatchedNotificationTemplateDetail.d.ts +24 -2
- package/dist/types/models/PatchedOrganization.d.ts +1 -1
- package/dist/types/models/PatchedPipeline.d.ts +34 -0
- package/dist/types/models/PatchedPipelineStage.d.ts +40 -0
- package/dist/types/models/Pipeline.d.ts +34 -0
- package/dist/types/models/PipelineStage.d.ts +40 -0
- package/dist/types/models/RecipientsRecipientModeEnum.d.ts +14 -0
- package/dist/types/models/{TypeD36Enum.d.ts → Type4b7Enum.d.ts} +7 -1
- package/dist/types/services/ActivitiesService.d.ts +126 -0
- package/dist/types/services/CrmService.d.ts +553 -1
- package/dist/types/services/DealsService.d.ts +160 -0
- package/dist/types/services/LeadSourcesService.d.ts +95 -0
- package/dist/types/services/PersonsService.d.ts +1 -1
- package/dist/types/services/PipelinesService.d.ts +183 -0
- package/package.json +1 -1
- package/sdk_schema.yml +4093 -141
- package/src/core/OpenAPI.ts +1 -1
- package/src/index.ts +26 -1
- package/src/models/Activity.ts +88 -0
- package/src/models/ActivityTypeEnum.ts +22 -0
- package/src/models/Deal.ts +88 -0
- package/src/models/DealLostRequest.ts +15 -0
- package/src/models/DealMoveStageRequest.ts +15 -0
- package/src/models/DealStatusEnum.ts +14 -0
- package/src/models/DealWonRequest.ts +11 -0
- package/src/models/LeadSource.ts +35 -0
- package/src/models/NotificationTemplateDetail.ts +24 -2
- package/src/models/NotificationTemplateList.ts +5 -2
- package/src/models/Organization.ts +1 -1
- package/src/models/PaginatedActivityList.ts +12 -0
- package/src/models/PaginatedDealList.ts +12 -0
- package/src/models/PaginatedLeadSourceList.ts +12 -0
- package/src/models/PaginatedPipelineList.ts +12 -0
- package/src/models/PaginatedPipelineStageList.ts +12 -0
- package/src/models/PatchedActivity.ts +88 -0
- package/src/models/PatchedDeal.ts +88 -0
- package/src/models/PatchedLeadSource.ts +35 -0
- package/src/models/PatchedNotificationTemplateDetail.ts +24 -2
- package/src/models/PatchedOrganization.ts +1 -1
- package/src/models/PatchedPipeline.ts +39 -0
- package/src/models/PatchedPipelineStage.ts +45 -0
- package/src/models/Pipeline.ts +39 -0
- package/src/models/PipelineStage.ts +45 -0
- package/src/models/RecipientsRecipientModeEnum.ts +18 -0
- package/src/models/{TypeD36Enum.ts → Type4b7Enum.ts} +7 -1
- package/src/services/ActivitiesService.ts +255 -0
- package/src/services/CrmService.ts +1161 -1
- package/src/services/DealsService.ts +337 -0
- package/src/services/LeadSourcesService.ts +198 -0
- package/src/services/PersonsService.ts +1 -1
- package/src/services/PipelinesService.ts +406 -0
|
@@ -0,0 +1,406 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { PaginatedPipelineList } from '../models/PaginatedPipelineList';
|
|
6
|
+
import type { PaginatedPipelineStageList } from '../models/PaginatedPipelineStageList';
|
|
7
|
+
import type { PatchedPipeline } from '../models/PatchedPipeline';
|
|
8
|
+
import type { PatchedPipelineStage } from '../models/PatchedPipelineStage';
|
|
9
|
+
import type { Pipeline } from '../models/Pipeline';
|
|
10
|
+
import type { PipelineStage } from '../models/PipelineStage';
|
|
11
|
+
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
12
|
+
import { OpenAPI } from '../core/OpenAPI';
|
|
13
|
+
import { request as __request } from '../core/request';
|
|
14
|
+
export class PipelinesService {
|
|
15
|
+
/**
|
|
16
|
+
* List pipelines
|
|
17
|
+
* Returns a paginated list of Pipelines in your Platform. Each Pipeline includes its ordered `stages` inline.
|
|
18
|
+
*
|
|
19
|
+
* **Required permission:** `Ibl.CRM/Pipelines/list`.
|
|
20
|
+
* @returns PaginatedPipelineList
|
|
21
|
+
* @throws ApiError
|
|
22
|
+
*/
|
|
23
|
+
public static pipelinesList({
|
|
24
|
+
code,
|
|
25
|
+
isDefault,
|
|
26
|
+
name,
|
|
27
|
+
page,
|
|
28
|
+
pageSize,
|
|
29
|
+
}: {
|
|
30
|
+
code?: string,
|
|
31
|
+
isDefault?: boolean,
|
|
32
|
+
name?: string,
|
|
33
|
+
/**
|
|
34
|
+
* A page number within the paginated result set.
|
|
35
|
+
*/
|
|
36
|
+
page?: number,
|
|
37
|
+
/**
|
|
38
|
+
* Number of results to return per page.
|
|
39
|
+
*/
|
|
40
|
+
pageSize?: number,
|
|
41
|
+
}): CancelablePromise<PaginatedPipelineList> {
|
|
42
|
+
return __request(OpenAPI, {
|
|
43
|
+
method: 'GET',
|
|
44
|
+
url: '/pipelines/',
|
|
45
|
+
query: {
|
|
46
|
+
'code': code,
|
|
47
|
+
'is_default': isDefault,
|
|
48
|
+
'name': name,
|
|
49
|
+
'page': page,
|
|
50
|
+
'page_size': pageSize,
|
|
51
|
+
},
|
|
52
|
+
errors: {
|
|
53
|
+
401: `Authentication required.`,
|
|
54
|
+
403: `Missing required permission \`Ibl.CRM/Pipelines/list\`.`,
|
|
55
|
+
},
|
|
56
|
+
});
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Create a pipeline
|
|
60
|
+
* Creates a new Pipeline. `code` must be unique within your Platform. Promoting another Pipeline to `is_default=true` while one already exists will fail — unset the existing default first.
|
|
61
|
+
*
|
|
62
|
+
* **Required permission:** `Ibl.CRM/Pipelines/write`.
|
|
63
|
+
* @returns Pipeline
|
|
64
|
+
* @throws ApiError
|
|
65
|
+
*/
|
|
66
|
+
public static pipelinesCreate({
|
|
67
|
+
requestBody,
|
|
68
|
+
}: {
|
|
69
|
+
requestBody: Pipeline,
|
|
70
|
+
}): CancelablePromise<Pipeline> {
|
|
71
|
+
return __request(OpenAPI, {
|
|
72
|
+
method: 'POST',
|
|
73
|
+
url: '/pipelines/',
|
|
74
|
+
body: requestBody,
|
|
75
|
+
mediaType: 'application/json',
|
|
76
|
+
errors: {
|
|
77
|
+
400: `Validation error.`,
|
|
78
|
+
403: `Missing required permission \`Ibl.CRM/Pipelines/write\`.`,
|
|
79
|
+
},
|
|
80
|
+
});
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* List stages for a pipeline
|
|
84
|
+
* Returns the ordered list of PipelineStages for the given Pipeline.
|
|
85
|
+
*
|
|
86
|
+
* **Required permission:** `Ibl.CRM/Pipelines/list`.
|
|
87
|
+
* @returns PaginatedPipelineStageList
|
|
88
|
+
* @throws ApiError
|
|
89
|
+
*/
|
|
90
|
+
public static pipelinesStagesList({
|
|
91
|
+
pipelinePk,
|
|
92
|
+
code,
|
|
93
|
+
isLost,
|
|
94
|
+
isWon,
|
|
95
|
+
page,
|
|
96
|
+
pageSize,
|
|
97
|
+
}: {
|
|
98
|
+
pipelinePk: number,
|
|
99
|
+
code?: string,
|
|
100
|
+
isLost?: boolean,
|
|
101
|
+
isWon?: boolean,
|
|
102
|
+
/**
|
|
103
|
+
* A page number within the paginated result set.
|
|
104
|
+
*/
|
|
105
|
+
page?: number,
|
|
106
|
+
/**
|
|
107
|
+
* Number of results to return per page.
|
|
108
|
+
*/
|
|
109
|
+
pageSize?: number,
|
|
110
|
+
}): CancelablePromise<PaginatedPipelineStageList> {
|
|
111
|
+
return __request(OpenAPI, {
|
|
112
|
+
method: 'GET',
|
|
113
|
+
url: '/pipelines/{pipeline_pk}/stages/',
|
|
114
|
+
path: {
|
|
115
|
+
'pipeline_pk': pipelinePk,
|
|
116
|
+
},
|
|
117
|
+
query: {
|
|
118
|
+
'code': code,
|
|
119
|
+
'is_lost': isLost,
|
|
120
|
+
'is_won': isWon,
|
|
121
|
+
'page': page,
|
|
122
|
+
'page_size': pageSize,
|
|
123
|
+
},
|
|
124
|
+
errors: {
|
|
125
|
+
403: `Missing required permission \`Ibl.CRM/Pipelines/list\`.`,
|
|
126
|
+
404: `Pipeline not found.`,
|
|
127
|
+
},
|
|
128
|
+
});
|
|
129
|
+
}
|
|
130
|
+
/**
|
|
131
|
+
* Create a stage
|
|
132
|
+
* Creates a new PipelineStage in the URL Pipeline. `code` must be unique within that Pipeline. At most one of `is_won` / `is_lost` may be true.
|
|
133
|
+
*
|
|
134
|
+
* **Required permission:** `Ibl.CRM/Pipelines/write`.
|
|
135
|
+
* @returns PipelineStage
|
|
136
|
+
* @throws ApiError
|
|
137
|
+
*/
|
|
138
|
+
public static pipelinesStagesCreate({
|
|
139
|
+
pipelinePk,
|
|
140
|
+
requestBody,
|
|
141
|
+
}: {
|
|
142
|
+
pipelinePk: number,
|
|
143
|
+
requestBody: PipelineStage,
|
|
144
|
+
}): CancelablePromise<PipelineStage> {
|
|
145
|
+
return __request(OpenAPI, {
|
|
146
|
+
method: 'POST',
|
|
147
|
+
url: '/pipelines/{pipeline_pk}/stages/',
|
|
148
|
+
path: {
|
|
149
|
+
'pipeline_pk': pipelinePk,
|
|
150
|
+
},
|
|
151
|
+
body: requestBody,
|
|
152
|
+
mediaType: 'application/json',
|
|
153
|
+
errors: {
|
|
154
|
+
400: `Validation error.`,
|
|
155
|
+
403: `Missing required permission \`Ibl.CRM/Pipelines/write\`.`,
|
|
156
|
+
404: `Pipeline not found.`,
|
|
157
|
+
},
|
|
158
|
+
});
|
|
159
|
+
}
|
|
160
|
+
/**
|
|
161
|
+
* Retrieve a stage
|
|
162
|
+
* Returns a single PipelineStage by id (must belong to the URL Pipeline).
|
|
163
|
+
*
|
|
164
|
+
* **Required permission:** `Ibl.CRM/Pipelines/read`.
|
|
165
|
+
* @returns PipelineStage
|
|
166
|
+
* @throws ApiError
|
|
167
|
+
*/
|
|
168
|
+
public static pipelinesStagesRetrieve({
|
|
169
|
+
id,
|
|
170
|
+
pipelinePk,
|
|
171
|
+
}: {
|
|
172
|
+
id: number,
|
|
173
|
+
pipelinePk: number,
|
|
174
|
+
}): CancelablePromise<PipelineStage> {
|
|
175
|
+
return __request(OpenAPI, {
|
|
176
|
+
method: 'GET',
|
|
177
|
+
url: '/pipelines/{pipeline_pk}/stages/{id}/',
|
|
178
|
+
path: {
|
|
179
|
+
'id': id,
|
|
180
|
+
'pipeline_pk': pipelinePk,
|
|
181
|
+
},
|
|
182
|
+
errors: {
|
|
183
|
+
403: `Missing required permission \`Ibl.CRM/Pipelines/read\`.`,
|
|
184
|
+
404: `Stage not found in this Pipeline.`,
|
|
185
|
+
},
|
|
186
|
+
});
|
|
187
|
+
}
|
|
188
|
+
/**
|
|
189
|
+
* Replace a stage
|
|
190
|
+
* Replaces all editable fields on the PipelineStage.
|
|
191
|
+
*
|
|
192
|
+
* **Required permission:** `Ibl.CRM/Pipelines/write`.
|
|
193
|
+
* @returns PipelineStage
|
|
194
|
+
* @throws ApiError
|
|
195
|
+
*/
|
|
196
|
+
public static pipelinesStagesUpdate({
|
|
197
|
+
id,
|
|
198
|
+
pipelinePk,
|
|
199
|
+
requestBody,
|
|
200
|
+
}: {
|
|
201
|
+
id: number,
|
|
202
|
+
pipelinePk: number,
|
|
203
|
+
requestBody: PipelineStage,
|
|
204
|
+
}): CancelablePromise<PipelineStage> {
|
|
205
|
+
return __request(OpenAPI, {
|
|
206
|
+
method: 'PUT',
|
|
207
|
+
url: '/pipelines/{pipeline_pk}/stages/{id}/',
|
|
208
|
+
path: {
|
|
209
|
+
'id': id,
|
|
210
|
+
'pipeline_pk': pipelinePk,
|
|
211
|
+
},
|
|
212
|
+
body: requestBody,
|
|
213
|
+
mediaType: 'application/json',
|
|
214
|
+
errors: {
|
|
215
|
+
400: `Validation error.`,
|
|
216
|
+
403: `Missing required permission \`Ibl.CRM/Pipelines/write\`.`,
|
|
217
|
+
404: `Stage not found in this Pipeline.`,
|
|
218
|
+
},
|
|
219
|
+
});
|
|
220
|
+
}
|
|
221
|
+
/**
|
|
222
|
+
* Update a stage
|
|
223
|
+
* Updates only the supplied fields on the PipelineStage.
|
|
224
|
+
*
|
|
225
|
+
* **Required permission:** `Ibl.CRM/Pipelines/write`.
|
|
226
|
+
* @returns PipelineStage
|
|
227
|
+
* @throws ApiError
|
|
228
|
+
*/
|
|
229
|
+
public static pipelinesStagesPartialUpdate({
|
|
230
|
+
id,
|
|
231
|
+
pipelinePk,
|
|
232
|
+
requestBody,
|
|
233
|
+
}: {
|
|
234
|
+
id: number,
|
|
235
|
+
pipelinePk: number,
|
|
236
|
+
requestBody?: PatchedPipelineStage,
|
|
237
|
+
}): CancelablePromise<PipelineStage> {
|
|
238
|
+
return __request(OpenAPI, {
|
|
239
|
+
method: 'PATCH',
|
|
240
|
+
url: '/pipelines/{pipeline_pk}/stages/{id}/',
|
|
241
|
+
path: {
|
|
242
|
+
'id': id,
|
|
243
|
+
'pipeline_pk': pipelinePk,
|
|
244
|
+
},
|
|
245
|
+
body: requestBody,
|
|
246
|
+
mediaType: 'application/json',
|
|
247
|
+
errors: {
|
|
248
|
+
400: `Validation error.`,
|
|
249
|
+
403: `Missing required permission \`Ibl.CRM/Pipelines/write\`.`,
|
|
250
|
+
404: `Stage not found in this Pipeline.`,
|
|
251
|
+
},
|
|
252
|
+
});
|
|
253
|
+
}
|
|
254
|
+
/**
|
|
255
|
+
* Delete a stage
|
|
256
|
+
* Deletes the PipelineStage. Fails with `409 Conflict` if any Deal still references it (FK is PROTECTed).
|
|
257
|
+
*
|
|
258
|
+
* **Required permission:** `Ibl.CRM/Pipelines/delete`.
|
|
259
|
+
* @returns void
|
|
260
|
+
* @throws ApiError
|
|
261
|
+
*/
|
|
262
|
+
public static pipelinesStagesDestroy({
|
|
263
|
+
id,
|
|
264
|
+
pipelinePk,
|
|
265
|
+
}: {
|
|
266
|
+
id: number,
|
|
267
|
+
pipelinePk: number,
|
|
268
|
+
}): CancelablePromise<void> {
|
|
269
|
+
return __request(OpenAPI, {
|
|
270
|
+
method: 'DELETE',
|
|
271
|
+
url: '/pipelines/{pipeline_pk}/stages/{id}/',
|
|
272
|
+
path: {
|
|
273
|
+
'id': id,
|
|
274
|
+
'pipeline_pk': pipelinePk,
|
|
275
|
+
},
|
|
276
|
+
errors: {
|
|
277
|
+
403: `Missing required permission \`Ibl.CRM/Pipelines/delete\`.`,
|
|
278
|
+
404: `Stage not found in this Pipeline.`,
|
|
279
|
+
409: `Stage still has Deals attached.`,
|
|
280
|
+
},
|
|
281
|
+
});
|
|
282
|
+
}
|
|
283
|
+
/**
|
|
284
|
+
* Retrieve a pipeline
|
|
285
|
+
* Returns a single Pipeline by id, including its ordered `stages`.
|
|
286
|
+
*
|
|
287
|
+
* **Required permission:** `Ibl.CRM/Pipelines/read`.
|
|
288
|
+
* @returns Pipeline
|
|
289
|
+
* @throws ApiError
|
|
290
|
+
*/
|
|
291
|
+
public static pipelinesRetrieve({
|
|
292
|
+
id,
|
|
293
|
+
}: {
|
|
294
|
+
/**
|
|
295
|
+
* A unique integer value identifying this pipeline.
|
|
296
|
+
*/
|
|
297
|
+
id: number,
|
|
298
|
+
}): CancelablePromise<Pipeline> {
|
|
299
|
+
return __request(OpenAPI, {
|
|
300
|
+
method: 'GET',
|
|
301
|
+
url: '/pipelines/{id}/',
|
|
302
|
+
path: {
|
|
303
|
+
'id': id,
|
|
304
|
+
},
|
|
305
|
+
errors: {
|
|
306
|
+
403: `Missing required permission \`Ibl.CRM/Pipelines/read\`.`,
|
|
307
|
+
404: `Pipeline not found.`,
|
|
308
|
+
},
|
|
309
|
+
});
|
|
310
|
+
}
|
|
311
|
+
/**
|
|
312
|
+
* Replace a pipeline
|
|
313
|
+
* Replaces all editable fields on the Pipeline.
|
|
314
|
+
*
|
|
315
|
+
* **Required permission:** `Ibl.CRM/Pipelines/write`.
|
|
316
|
+
* @returns Pipeline
|
|
317
|
+
* @throws ApiError
|
|
318
|
+
*/
|
|
319
|
+
public static pipelinesUpdate({
|
|
320
|
+
id,
|
|
321
|
+
requestBody,
|
|
322
|
+
}: {
|
|
323
|
+
/**
|
|
324
|
+
* A unique integer value identifying this pipeline.
|
|
325
|
+
*/
|
|
326
|
+
id: number,
|
|
327
|
+
requestBody: Pipeline,
|
|
328
|
+
}): CancelablePromise<Pipeline> {
|
|
329
|
+
return __request(OpenAPI, {
|
|
330
|
+
method: 'PUT',
|
|
331
|
+
url: '/pipelines/{id}/',
|
|
332
|
+
path: {
|
|
333
|
+
'id': id,
|
|
334
|
+
},
|
|
335
|
+
body: requestBody,
|
|
336
|
+
mediaType: 'application/json',
|
|
337
|
+
errors: {
|
|
338
|
+
400: `Validation error.`,
|
|
339
|
+
403: `Missing required permission \`Ibl.CRM/Pipelines/write\`.`,
|
|
340
|
+
404: `Pipeline not found.`,
|
|
341
|
+
},
|
|
342
|
+
});
|
|
343
|
+
}
|
|
344
|
+
/**
|
|
345
|
+
* Update a pipeline
|
|
346
|
+
* Updates only the supplied fields on the Pipeline.
|
|
347
|
+
*
|
|
348
|
+
* **Required permission:** `Ibl.CRM/Pipelines/write`.
|
|
349
|
+
* @returns Pipeline
|
|
350
|
+
* @throws ApiError
|
|
351
|
+
*/
|
|
352
|
+
public static pipelinesPartialUpdate({
|
|
353
|
+
id,
|
|
354
|
+
requestBody,
|
|
355
|
+
}: {
|
|
356
|
+
/**
|
|
357
|
+
* A unique integer value identifying this pipeline.
|
|
358
|
+
*/
|
|
359
|
+
id: number,
|
|
360
|
+
requestBody?: PatchedPipeline,
|
|
361
|
+
}): CancelablePromise<Pipeline> {
|
|
362
|
+
return __request(OpenAPI, {
|
|
363
|
+
method: 'PATCH',
|
|
364
|
+
url: '/pipelines/{id}/',
|
|
365
|
+
path: {
|
|
366
|
+
'id': id,
|
|
367
|
+
},
|
|
368
|
+
body: requestBody,
|
|
369
|
+
mediaType: 'application/json',
|
|
370
|
+
errors: {
|
|
371
|
+
400: `Validation error.`,
|
|
372
|
+
403: `Missing required permission \`Ibl.CRM/Pipelines/write\`.`,
|
|
373
|
+
404: `Pipeline not found.`,
|
|
374
|
+
},
|
|
375
|
+
});
|
|
376
|
+
}
|
|
377
|
+
/**
|
|
378
|
+
* Delete a pipeline
|
|
379
|
+
* Deletes the Pipeline. Fails with `409 Conflict` if any Deal still references it (FK is PROTECTed).
|
|
380
|
+
*
|
|
381
|
+
* **Required permission:** `Ibl.CRM/Pipelines/delete`.
|
|
382
|
+
* @returns void
|
|
383
|
+
* @throws ApiError
|
|
384
|
+
*/
|
|
385
|
+
public static pipelinesDestroy({
|
|
386
|
+
id,
|
|
387
|
+
}: {
|
|
388
|
+
/**
|
|
389
|
+
* A unique integer value identifying this pipeline.
|
|
390
|
+
*/
|
|
391
|
+
id: number,
|
|
392
|
+
}): CancelablePromise<void> {
|
|
393
|
+
return __request(OpenAPI, {
|
|
394
|
+
method: 'DELETE',
|
|
395
|
+
url: '/pipelines/{id}/',
|
|
396
|
+
path: {
|
|
397
|
+
'id': id,
|
|
398
|
+
},
|
|
399
|
+
errors: {
|
|
400
|
+
403: `Missing required permission \`Ibl.CRM/Pipelines/delete\`.`,
|
|
401
|
+
404: `Pipeline not found.`,
|
|
402
|
+
409: `Pipeline still has Deals attached.`,
|
|
403
|
+
},
|
|
404
|
+
});
|
|
405
|
+
}
|
|
406
|
+
}
|