@iblai/iblai-api 4.450.0-core → 4.452.0-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 +763 -60
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +763 -61
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +763 -60
- package/dist/index.umd.js.map +1 -1
- package/dist/types/index.d.ts +15 -0
- package/dist/types/models/Activity.d.ts +4 -0
- package/dist/types/models/Deal.d.ts +4 -0
- package/dist/types/models/LeadSource.d.ts +4 -0
- package/dist/types/models/Member.d.ts +16 -0
- package/dist/types/models/Organization.d.ts +4 -0
- package/dist/types/models/Overview.d.ts +4 -0
- package/dist/types/models/PaginatedMemberList.d.ts +7 -0
- package/dist/types/models/PaginatedWebFormList.d.ts +7 -0
- package/dist/types/models/PaginatedWebFormSubmissionList.d.ts +7 -0
- package/dist/types/models/PatchedActivity.d.ts +4 -0
- package/dist/types/models/PatchedDeal.d.ts +4 -0
- package/dist/types/models/PatchedLeadSource.d.ts +4 -0
- package/dist/types/models/PatchedOrganization.d.ts +4 -0
- package/dist/types/models/PatchedPerson.d.ts +4 -0
- package/dist/types/models/PatchedPipeline.d.ts +4 -0
- package/dist/types/models/PatchedSavedView.d.ts +4 -0
- package/dist/types/models/PatchedTag.d.ts +4 -0
- package/dist/types/models/PatchedWebForm.d.ts +41 -0
- package/dist/types/models/Person.d.ts +4 -0
- package/dist/types/models/Pipeline.d.ts +4 -0
- package/dist/types/models/SavedView.d.ts +4 -0
- package/dist/types/models/SearchDeal.d.ts +4 -0
- package/dist/types/models/SearchOrganization.d.ts +5 -1
- package/dist/types/models/SearchPerson.d.ts +4 -0
- package/dist/types/models/Tag.d.ts +4 -0
- package/dist/types/models/Type240Enum.d.ts +20 -0
- package/dist/types/models/WebForm.d.ts +41 -0
- package/dist/types/models/WebFormField.d.ts +20 -0
- package/dist/types/models/WebFormPublic.d.ts +25 -0
- package/dist/types/models/WebFormPublicField.d.ts +10 -0
- package/dist/types/models/WebFormRouting.d.ts +45 -0
- package/dist/types/models/WebFormSubmission.d.ts +15 -0
- package/dist/types/models/WebFormSubmitRequest.d.ts +15 -0
- package/dist/types/models/WebFormSubmitResponse.d.ts +4 -0
- package/dist/types/services/CrmService.d.ts +662 -83
- package/dist/types/services/V1CoursesService.d.ts +25 -0
- package/package.json +1 -1
- package/sdk_schema.yml +1895 -10
- package/src/core/OpenAPI.ts +1 -1
- package/src/index.ts +15 -0
- package/src/models/Activity.ts +4 -0
- package/src/models/Deal.ts +4 -0
- package/src/models/LeadSource.ts +4 -0
- package/src/models/Member.ts +21 -0
- package/src/models/Organization.ts +4 -0
- package/src/models/Overview.ts +4 -0
- package/src/models/PaginatedMemberList.ts +12 -0
- package/src/models/PaginatedWebFormList.ts +12 -0
- package/src/models/PaginatedWebFormSubmissionList.ts +12 -0
- package/src/models/PatchedActivity.ts +4 -0
- package/src/models/PatchedDeal.ts +4 -0
- package/src/models/PatchedLeadSource.ts +4 -0
- package/src/models/PatchedOrganization.ts +4 -0
- package/src/models/PatchedPerson.ts +4 -0
- package/src/models/PatchedPipeline.ts +4 -0
- package/src/models/PatchedSavedView.ts +4 -0
- package/src/models/PatchedTag.ts +4 -0
- package/src/models/PatchedWebForm.ts +46 -0
- package/src/models/Person.ts +4 -0
- package/src/models/Pipeline.ts +4 -0
- package/src/models/SavedView.ts +4 -0
- package/src/models/SearchDeal.ts +4 -0
- package/src/models/SearchOrganization.ts +5 -1
- package/src/models/SearchPerson.ts +4 -0
- package/src/models/Tag.ts +4 -0
- package/src/models/Type240Enum.ts +24 -0
- package/src/models/WebForm.ts +46 -0
- package/src/models/WebFormField.ts +25 -0
- package/src/models/WebFormPublic.ts +30 -0
- package/src/models/WebFormPublicField.ts +15 -0
- package/src/models/WebFormRouting.ts +50 -0
- package/src/models/WebFormSubmission.ts +20 -0
- package/src/models/WebFormSubmitRequest.ts +20 -0
- package/src/models/WebFormSubmitResponse.ts +9 -0
- package/src/services/CrmService.ts +1151 -38
- package/src/services/V1CoursesService.ts +52 -0
|
@@ -14,12 +14,15 @@ import type { PaginatedActivityList } from '../models/PaginatedActivityList';
|
|
|
14
14
|
import type { PaginatedDealList } from '../models/PaginatedDealList';
|
|
15
15
|
import type { PaginatedFavoriteList } from '../models/PaginatedFavoriteList';
|
|
16
16
|
import type { PaginatedLeadSourceList } from '../models/PaginatedLeadSourceList';
|
|
17
|
+
import type { PaginatedMemberList } from '../models/PaginatedMemberList';
|
|
17
18
|
import type { PaginatedOrganizationList } from '../models/PaginatedOrganizationList';
|
|
18
19
|
import type { PaginatedPersonList } from '../models/PaginatedPersonList';
|
|
19
20
|
import type { PaginatedPipelineList } from '../models/PaginatedPipelineList';
|
|
20
21
|
import type { PaginatedPipelineStageList } from '../models/PaginatedPipelineStageList';
|
|
21
22
|
import type { PaginatedSavedViewList } from '../models/PaginatedSavedViewList';
|
|
22
23
|
import type { PaginatedTagList } from '../models/PaginatedTagList';
|
|
24
|
+
import type { PaginatedWebFormList } from '../models/PaginatedWebFormList';
|
|
25
|
+
import type { PaginatedWebFormSubmissionList } from '../models/PaginatedWebFormSubmissionList';
|
|
23
26
|
import type { PatchedActivity } from '../models/PatchedActivity';
|
|
24
27
|
import type { PatchedDeal } from '../models/PatchedDeal';
|
|
25
28
|
import type { PatchedLeadSource } from '../models/PatchedLeadSource';
|
|
@@ -29,6 +32,7 @@ import type { PatchedPipeline } from '../models/PatchedPipeline';
|
|
|
29
32
|
import type { PatchedPipelineStage } from '../models/PatchedPipelineStage';
|
|
30
33
|
import type { PatchedSavedView } from '../models/PatchedSavedView';
|
|
31
34
|
import type { PatchedTag } from '../models/PatchedTag';
|
|
35
|
+
import type { PatchedWebForm } from '../models/PatchedWebForm';
|
|
32
36
|
import type { Person } from '../models/Person';
|
|
33
37
|
import type { PersonInviteRequest } from '../models/PersonInviteRequest';
|
|
34
38
|
import type { PersonInviteResponse } from '../models/PersonInviteResponse';
|
|
@@ -41,6 +45,10 @@ import type { PipelineStageReorderRequest } from '../models/PipelineStageReorder
|
|
|
41
45
|
import type { SavedView } from '../models/SavedView';
|
|
42
46
|
import type { SearchResponse } from '../models/SearchResponse';
|
|
43
47
|
import type { Tag } from '../models/Tag';
|
|
48
|
+
import type { WebForm } from '../models/WebForm';
|
|
49
|
+
import type { WebFormPublic } from '../models/WebFormPublic';
|
|
50
|
+
import type { WebFormSubmitRequest } from '../models/WebFormSubmitRequest';
|
|
51
|
+
import type { WebFormSubmitResponse } from '../models/WebFormSubmitResponse';
|
|
44
52
|
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
45
53
|
export declare class CrmService {
|
|
46
54
|
/**
|
|
@@ -51,7 +59,11 @@ export declare class CrmService {
|
|
|
51
59
|
* @returns PaginatedActivityList
|
|
52
60
|
* @throws ApiError
|
|
53
61
|
*/
|
|
54
|
-
static crmActivitiesList({ dateFilter, deal, endDate, isDone, metadataHasKey, ordering, organization, owner, page, pageSize, person, scheduleFromGte, scheduleFromLte, search, startDate, type, }: {
|
|
62
|
+
static crmActivitiesList({ app, dateFilter, deal, endDate, isDone, metadataHasKey, ordering, organization, owner, page, pageSize, person, scheduleFromGte, scheduleFromLte, search, startDate, type, }: {
|
|
63
|
+
/**
|
|
64
|
+
* The app whose records these are: blank for the CRM, e.g. `recruit`.
|
|
65
|
+
*/
|
|
66
|
+
app?: string;
|
|
55
67
|
/**
|
|
56
68
|
* Only rows created in this window. `custom` needs `start_date` and `end_date`.
|
|
57
69
|
*/
|
|
@@ -109,8 +121,12 @@ export declare class CrmService {
|
|
|
109
121
|
* @returns Activity
|
|
110
122
|
* @throws ApiError
|
|
111
123
|
*/
|
|
112
|
-
static crmActivitiesCreate({ requestBody, }: {
|
|
124
|
+
static crmActivitiesCreate({ requestBody, app, }: {
|
|
113
125
|
requestBody: Activity;
|
|
126
|
+
/**
|
|
127
|
+
* The app whose records these are: blank for the CRM, e.g. `recruit`.
|
|
128
|
+
*/
|
|
129
|
+
app?: string;
|
|
114
130
|
}): CancelablePromise<Activity>;
|
|
115
131
|
/**
|
|
116
132
|
* Retrieve an activity
|
|
@@ -120,11 +136,15 @@ export declare class CrmService {
|
|
|
120
136
|
* @returns Activity
|
|
121
137
|
* @throws ApiError
|
|
122
138
|
*/
|
|
123
|
-
static crmActivitiesRetrieve({ id, }: {
|
|
139
|
+
static crmActivitiesRetrieve({ id, app, }: {
|
|
124
140
|
/**
|
|
125
141
|
* A unique integer value identifying this activity.
|
|
126
142
|
*/
|
|
127
143
|
id: number;
|
|
144
|
+
/**
|
|
145
|
+
* The app whose records these are: blank for the CRM, e.g. `recruit`.
|
|
146
|
+
*/
|
|
147
|
+
app?: string;
|
|
128
148
|
}): CancelablePromise<Activity>;
|
|
129
149
|
/**
|
|
130
150
|
* Replace an activity
|
|
@@ -134,12 +154,16 @@ export declare class CrmService {
|
|
|
134
154
|
* @returns Activity
|
|
135
155
|
* @throws ApiError
|
|
136
156
|
*/
|
|
137
|
-
static crmActivitiesUpdate({ id, requestBody, }: {
|
|
157
|
+
static crmActivitiesUpdate({ id, requestBody, app, }: {
|
|
138
158
|
/**
|
|
139
159
|
* A unique integer value identifying this activity.
|
|
140
160
|
*/
|
|
141
161
|
id: number;
|
|
142
162
|
requestBody: Activity;
|
|
163
|
+
/**
|
|
164
|
+
* The app whose records these are: blank for the CRM, e.g. `recruit`.
|
|
165
|
+
*/
|
|
166
|
+
app?: string;
|
|
143
167
|
}): CancelablePromise<Activity>;
|
|
144
168
|
/**
|
|
145
169
|
* Update an activity
|
|
@@ -149,11 +173,15 @@ export declare class CrmService {
|
|
|
149
173
|
* @returns Activity
|
|
150
174
|
* @throws ApiError
|
|
151
175
|
*/
|
|
152
|
-
static crmActivitiesPartialUpdate({ id, requestBody, }: {
|
|
176
|
+
static crmActivitiesPartialUpdate({ id, app, requestBody, }: {
|
|
153
177
|
/**
|
|
154
178
|
* A unique integer value identifying this activity.
|
|
155
179
|
*/
|
|
156
180
|
id: number;
|
|
181
|
+
/**
|
|
182
|
+
* The app whose records these are: blank for the CRM, e.g. `recruit`.
|
|
183
|
+
*/
|
|
184
|
+
app?: string;
|
|
157
185
|
requestBody?: PatchedActivity;
|
|
158
186
|
}): CancelablePromise<Activity>;
|
|
159
187
|
/**
|
|
@@ -164,11 +192,15 @@ export declare class CrmService {
|
|
|
164
192
|
* @returns void
|
|
165
193
|
* @throws ApiError
|
|
166
194
|
*/
|
|
167
|
-
static crmActivitiesDestroy({ id, }: {
|
|
195
|
+
static crmActivitiesDestroy({ id, app, }: {
|
|
168
196
|
/**
|
|
169
197
|
* A unique integer value identifying this activity.
|
|
170
198
|
*/
|
|
171
199
|
id: number;
|
|
200
|
+
/**
|
|
201
|
+
* The app whose records these are: blank for the CRM, e.g. `recruit`.
|
|
202
|
+
*/
|
|
203
|
+
app?: string;
|
|
172
204
|
}): CancelablePromise<void>;
|
|
173
205
|
/**
|
|
174
206
|
* Mark an activity as done
|
|
@@ -178,11 +210,15 @@ export declare class CrmService {
|
|
|
178
210
|
* @returns Activity
|
|
179
211
|
* @throws ApiError
|
|
180
212
|
*/
|
|
181
|
-
static crmActivitiesDoneCreate({ id, }: {
|
|
213
|
+
static crmActivitiesDoneCreate({ id, app, }: {
|
|
182
214
|
/**
|
|
183
215
|
* A unique integer value identifying this activity.
|
|
184
216
|
*/
|
|
185
217
|
id: number;
|
|
218
|
+
/**
|
|
219
|
+
* The app whose records these are: blank for the CRM, e.g. `recruit`.
|
|
220
|
+
*/
|
|
221
|
+
app?: string;
|
|
186
222
|
}): CancelablePromise<Activity>;
|
|
187
223
|
/**
|
|
188
224
|
* List deals
|
|
@@ -192,7 +228,11 @@ export declare class CrmService {
|
|
|
192
228
|
* @returns PaginatedDealList
|
|
193
229
|
* @throws ApiError
|
|
194
230
|
*/
|
|
195
|
-
static crmDealsList({ createdAtGte, createdAtLte, dateFilter, endDate, expectedCloseDateGte, expectedCloseDateLte, metadataHasKey, ordering, organization, owner, page, pageSize, person, pipeline, search, source, stage, startDate, status, tags, }: {
|
|
231
|
+
static crmDealsList({ app, createdAtGte, createdAtLte, dateFilter, endDate, expectedCloseDateGte, expectedCloseDateLte, metadataHasKey, ordering, organization, owner, page, pageSize, person, pipeline, search, source, stage, startDate, status, tags, }: {
|
|
232
|
+
/**
|
|
233
|
+
* The app whose records these are: blank for the CRM, e.g. `recruit`.
|
|
234
|
+
*/
|
|
235
|
+
app?: string;
|
|
196
236
|
createdAtGte?: string;
|
|
197
237
|
createdAtLte?: string;
|
|
198
238
|
/**
|
|
@@ -250,8 +290,12 @@ export declare class CrmService {
|
|
|
250
290
|
* @returns Deal
|
|
251
291
|
* @throws ApiError
|
|
252
292
|
*/
|
|
253
|
-
static crmDealsCreate({ requestBody, }: {
|
|
293
|
+
static crmDealsCreate({ requestBody, app, }: {
|
|
254
294
|
requestBody: Deal;
|
|
295
|
+
/**
|
|
296
|
+
* The app whose records these are: blank for the CRM, e.g. `recruit`.
|
|
297
|
+
*/
|
|
298
|
+
app?: string;
|
|
255
299
|
}): CancelablePromise<Deal>;
|
|
256
300
|
/**
|
|
257
301
|
* Retrieve a deal
|
|
@@ -261,11 +305,15 @@ export declare class CrmService {
|
|
|
261
305
|
* @returns Deal
|
|
262
306
|
* @throws ApiError
|
|
263
307
|
*/
|
|
264
|
-
static crmDealsRetrieve({ id, }: {
|
|
308
|
+
static crmDealsRetrieve({ id, app, }: {
|
|
265
309
|
/**
|
|
266
310
|
* A unique integer value identifying this deal.
|
|
267
311
|
*/
|
|
268
312
|
id: number;
|
|
313
|
+
/**
|
|
314
|
+
* The app whose records these are: blank for the CRM, e.g. `recruit`.
|
|
315
|
+
*/
|
|
316
|
+
app?: string;
|
|
269
317
|
}): CancelablePromise<Deal>;
|
|
270
318
|
/**
|
|
271
319
|
* Replace a deal
|
|
@@ -275,12 +323,16 @@ export declare class CrmService {
|
|
|
275
323
|
* @returns Deal
|
|
276
324
|
* @throws ApiError
|
|
277
325
|
*/
|
|
278
|
-
static crmDealsUpdate({ id, requestBody, }: {
|
|
326
|
+
static crmDealsUpdate({ id, requestBody, app, }: {
|
|
279
327
|
/**
|
|
280
328
|
* A unique integer value identifying this deal.
|
|
281
329
|
*/
|
|
282
330
|
id: number;
|
|
283
331
|
requestBody: Deal;
|
|
332
|
+
/**
|
|
333
|
+
* The app whose records these are: blank for the CRM, e.g. `recruit`.
|
|
334
|
+
*/
|
|
335
|
+
app?: string;
|
|
284
336
|
}): CancelablePromise<Deal>;
|
|
285
337
|
/**
|
|
286
338
|
* Update a deal
|
|
@@ -290,11 +342,15 @@ export declare class CrmService {
|
|
|
290
342
|
* @returns Deal
|
|
291
343
|
* @throws ApiError
|
|
292
344
|
*/
|
|
293
|
-
static crmDealsPartialUpdate({ id, requestBody, }: {
|
|
345
|
+
static crmDealsPartialUpdate({ id, app, requestBody, }: {
|
|
294
346
|
/**
|
|
295
347
|
* A unique integer value identifying this deal.
|
|
296
348
|
*/
|
|
297
349
|
id: number;
|
|
350
|
+
/**
|
|
351
|
+
* The app whose records these are: blank for the CRM, e.g. `recruit`.
|
|
352
|
+
*/
|
|
353
|
+
app?: string;
|
|
298
354
|
requestBody?: PatchedDeal;
|
|
299
355
|
}): CancelablePromise<Deal>;
|
|
300
356
|
/**
|
|
@@ -305,11 +361,15 @@ export declare class CrmService {
|
|
|
305
361
|
* @returns void
|
|
306
362
|
* @throws ApiError
|
|
307
363
|
*/
|
|
308
|
-
static crmDealsDestroy({ id, }: {
|
|
364
|
+
static crmDealsDestroy({ id, app, }: {
|
|
309
365
|
/**
|
|
310
366
|
* A unique integer value identifying this deal.
|
|
311
367
|
*/
|
|
312
368
|
id: number;
|
|
369
|
+
/**
|
|
370
|
+
* The app whose records these are: blank for the CRM, e.g. `recruit`.
|
|
371
|
+
*/
|
|
372
|
+
app?: string;
|
|
313
373
|
}): CancelablePromise<void>;
|
|
314
374
|
/**
|
|
315
375
|
* Field-change history for this record
|
|
@@ -319,11 +379,15 @@ export declare class CrmService {
|
|
|
319
379
|
* @returns HistoryEntry
|
|
320
380
|
* @throws ApiError
|
|
321
381
|
*/
|
|
322
|
-
static crmDealsHistoryList({ id, }: {
|
|
382
|
+
static crmDealsHistoryList({ id, app, }: {
|
|
323
383
|
/**
|
|
324
384
|
* A unique integer value identifying this deal.
|
|
325
385
|
*/
|
|
326
386
|
id: number;
|
|
387
|
+
/**
|
|
388
|
+
* The app whose records these are: blank for the CRM, e.g. `recruit`.
|
|
389
|
+
*/
|
|
390
|
+
app?: string;
|
|
327
391
|
}): CancelablePromise<Array<HistoryEntry>>;
|
|
328
392
|
/**
|
|
329
393
|
* Mark a deal as lost
|
|
@@ -333,12 +397,35 @@ export declare class CrmService {
|
|
|
333
397
|
* @returns Deal
|
|
334
398
|
* @throws ApiError
|
|
335
399
|
*/
|
|
336
|
-
static crmDealsLostCreate({ id, requestBody, }: {
|
|
400
|
+
static crmDealsLostCreate({ id, requestBody, app, }: {
|
|
337
401
|
/**
|
|
338
402
|
* A unique integer value identifying this deal.
|
|
339
403
|
*/
|
|
340
404
|
id: number;
|
|
341
405
|
requestBody: DealLostRequest;
|
|
406
|
+
/**
|
|
407
|
+
* The app whose records these are: blank for the CRM, e.g. `recruit`.
|
|
408
|
+
*/
|
|
409
|
+
app?: string;
|
|
410
|
+
}): CancelablePromise<Deal>;
|
|
411
|
+
/**
|
|
412
|
+
* Merge into this record's metadata
|
|
413
|
+
* Applies a JSON merge patch (RFC 7386) to `metadata` under a row lock: objects merge key by key, `null` removes a key, any other value replaces it. Two merges never lose each other's keys; a plain `PATCH` still replaces `metadata` whole.
|
|
414
|
+
*
|
|
415
|
+
* **Required permission:** the record's `write` verb.
|
|
416
|
+
* @returns Deal
|
|
417
|
+
* @throws ApiError
|
|
418
|
+
*/
|
|
419
|
+
static crmDealsMetadataPartialUpdate({ id, app, requestBody, }: {
|
|
420
|
+
/**
|
|
421
|
+
* A unique integer value identifying this deal.
|
|
422
|
+
*/
|
|
423
|
+
id: number;
|
|
424
|
+
/**
|
|
425
|
+
* The app whose records these are: blank for the CRM, e.g. `recruit`.
|
|
426
|
+
*/
|
|
427
|
+
app?: string;
|
|
428
|
+
requestBody?: Record<string, any>;
|
|
342
429
|
}): CancelablePromise<Deal>;
|
|
343
430
|
/**
|
|
344
431
|
* Move a deal to a different stage
|
|
@@ -348,11 +435,15 @@ export declare class CrmService {
|
|
|
348
435
|
* @returns Deal
|
|
349
436
|
* @throws ApiError
|
|
350
437
|
*/
|
|
351
|
-
static crmDealsMoveStageCreate({ id, requestBody, }: {
|
|
438
|
+
static crmDealsMoveStageCreate({ id, app, requestBody, }: {
|
|
352
439
|
/**
|
|
353
440
|
* A unique integer value identifying this deal.
|
|
354
441
|
*/
|
|
355
442
|
id: number;
|
|
443
|
+
/**
|
|
444
|
+
* The app whose records these are: blank for the CRM, e.g. `recruit`.
|
|
445
|
+
*/
|
|
446
|
+
app?: string;
|
|
356
447
|
requestBody?: DealMoveStageRequest;
|
|
357
448
|
}): CancelablePromise<Deal>;
|
|
358
449
|
/**
|
|
@@ -363,12 +454,16 @@ export declare class CrmService {
|
|
|
363
454
|
* @returns any No response body
|
|
364
455
|
* @throws ApiError
|
|
365
456
|
*/
|
|
366
|
-
static crmDealsTagsCreate({ id, requestBody, }: {
|
|
457
|
+
static crmDealsTagsCreate({ id, requestBody, app, }: {
|
|
367
458
|
/**
|
|
368
459
|
* A unique integer value identifying this deal.
|
|
369
460
|
*/
|
|
370
461
|
id: number;
|
|
371
462
|
requestBody: _TagAttachRequest;
|
|
463
|
+
/**
|
|
464
|
+
* The app whose records these are: blank for the CRM, e.g. `recruit`.
|
|
465
|
+
*/
|
|
466
|
+
app?: string;
|
|
372
467
|
}): CancelablePromise<any>;
|
|
373
468
|
/**
|
|
374
469
|
* Detach a tag from this record
|
|
@@ -378,12 +473,16 @@ export declare class CrmService {
|
|
|
378
473
|
* @returns void
|
|
379
474
|
* @throws ApiError
|
|
380
475
|
*/
|
|
381
|
-
static crmDealsTagsDestroy({ id, tagId, }: {
|
|
476
|
+
static crmDealsTagsDestroy({ id, tagId, app, }: {
|
|
382
477
|
/**
|
|
383
478
|
* A unique integer value identifying this deal.
|
|
384
479
|
*/
|
|
385
480
|
id: number;
|
|
386
481
|
tagId: string;
|
|
482
|
+
/**
|
|
483
|
+
* The app whose records these are: blank for the CRM, e.g. `recruit`.
|
|
484
|
+
*/
|
|
485
|
+
app?: string;
|
|
387
486
|
}): CancelablePromise<void>;
|
|
388
487
|
/**
|
|
389
488
|
* Mark a deal as won
|
|
@@ -393,11 +492,15 @@ export declare class CrmService {
|
|
|
393
492
|
* @returns Deal
|
|
394
493
|
* @throws ApiError
|
|
395
494
|
*/
|
|
396
|
-
static crmDealsWonCreate({ id, requestBody, }: {
|
|
495
|
+
static crmDealsWonCreate({ id, app, requestBody, }: {
|
|
397
496
|
/**
|
|
398
497
|
* A unique integer value identifying this deal.
|
|
399
498
|
*/
|
|
400
499
|
id: number;
|
|
500
|
+
/**
|
|
501
|
+
* The app whose records these are: blank for the CRM, e.g. `recruit`.
|
|
502
|
+
*/
|
|
503
|
+
app?: string;
|
|
401
504
|
requestBody?: DealWonRequest;
|
|
402
505
|
}): CancelablePromise<Deal>;
|
|
403
506
|
/**
|
|
@@ -408,7 +511,11 @@ export declare class CrmService {
|
|
|
408
511
|
* @returns DealBoard
|
|
409
512
|
* @throws ApiError
|
|
410
513
|
*/
|
|
411
|
-
static crmDealsBoardRetrieve({ createdAtGte, createdAtLte, dateFilter, endDate, expectedCloseDateGte, expectedCloseDateLte, limit, metadataHasKey, organization, owner, person, pipeline, search, source, stage, startDate, status, tags, }: {
|
|
514
|
+
static crmDealsBoardRetrieve({ app, createdAtGte, createdAtLte, dateFilter, endDate, expectedCloseDateGte, expectedCloseDateLte, limit, metadataHasKey, organization, owner, person, pipeline, search, source, stage, startDate, status, tags, }: {
|
|
515
|
+
/**
|
|
516
|
+
* The app whose records these are: blank for the CRM, e.g. `recruit`.
|
|
517
|
+
*/
|
|
518
|
+
app?: string;
|
|
412
519
|
createdAtGte?: string;
|
|
413
520
|
createdAtLte?: string;
|
|
414
521
|
/**
|
|
@@ -461,7 +568,11 @@ export declare class CrmService {
|
|
|
461
568
|
* @returns PaginatedFavoriteList
|
|
462
569
|
* @throws ApiError
|
|
463
570
|
*/
|
|
464
|
-
static crmFavoritesList({ dateFilter, deal, endDate, ordering, organization, page, pageSize, person, startDate, }: {
|
|
571
|
+
static crmFavoritesList({ app, dateFilter, deal, endDate, ordering, organization, page, pageSize, person, startDate, }: {
|
|
572
|
+
/**
|
|
573
|
+
* The app whose records these are: blank for the CRM, e.g. `recruit`.
|
|
574
|
+
*/
|
|
575
|
+
app?: string;
|
|
465
576
|
/**
|
|
466
577
|
* Only rows created in this window. `custom` needs `start_date` and `end_date`.
|
|
467
578
|
*/
|
|
@@ -498,7 +609,11 @@ export declare class CrmService {
|
|
|
498
609
|
* @returns Favorite
|
|
499
610
|
* @throws ApiError
|
|
500
611
|
*/
|
|
501
|
-
static crmFavoritesCreate({ requestBody, }: {
|
|
612
|
+
static crmFavoritesCreate({ app, requestBody, }: {
|
|
613
|
+
/**
|
|
614
|
+
* The app whose records these are: blank for the CRM, e.g. `recruit`.
|
|
615
|
+
*/
|
|
616
|
+
app?: string;
|
|
502
617
|
requestBody?: Favorite;
|
|
503
618
|
}): CancelablePromise<Favorite>;
|
|
504
619
|
/**
|
|
@@ -507,11 +622,15 @@ export declare class CrmService {
|
|
|
507
622
|
* @returns Favorite
|
|
508
623
|
* @throws ApiError
|
|
509
624
|
*/
|
|
510
|
-
static crmFavoritesRetrieve({ id, }: {
|
|
625
|
+
static crmFavoritesRetrieve({ id, app, }: {
|
|
511
626
|
/**
|
|
512
627
|
* A unique integer value identifying this favorite.
|
|
513
628
|
*/
|
|
514
629
|
id: number;
|
|
630
|
+
/**
|
|
631
|
+
* The app whose records these are: blank for the CRM, e.g. `recruit`.
|
|
632
|
+
*/
|
|
633
|
+
app?: string;
|
|
515
634
|
}): CancelablePromise<Favorite>;
|
|
516
635
|
/**
|
|
517
636
|
* Unstar a record
|
|
@@ -521,11 +640,15 @@ export declare class CrmService {
|
|
|
521
640
|
* @returns void
|
|
522
641
|
* @throws ApiError
|
|
523
642
|
*/
|
|
524
|
-
static crmFavoritesDestroy({ id, }: {
|
|
643
|
+
static crmFavoritesDestroy({ id, app, }: {
|
|
525
644
|
/**
|
|
526
645
|
* A unique integer value identifying this favorite.
|
|
527
646
|
*/
|
|
528
647
|
id: number;
|
|
648
|
+
/**
|
|
649
|
+
* The app whose records these are: blank for the CRM, e.g. `recruit`.
|
|
650
|
+
*/
|
|
651
|
+
app?: string;
|
|
529
652
|
}): CancelablePromise<void>;
|
|
530
653
|
/**
|
|
531
654
|
* List lead sources
|
|
@@ -535,7 +658,11 @@ export declare class CrmService {
|
|
|
535
658
|
* @returns PaginatedLeadSourceList
|
|
536
659
|
* @throws ApiError
|
|
537
660
|
*/
|
|
538
|
-
static crmLeadSourcesList({ code, dateFilter, endDate, name, ordering, page, pageSize, search, startDate, }: {
|
|
661
|
+
static crmLeadSourcesList({ app, code, dateFilter, endDate, name, ordering, page, pageSize, search, startDate, }: {
|
|
662
|
+
/**
|
|
663
|
+
* The app whose records these are: blank for the CRM, e.g. `recruit`.
|
|
664
|
+
*/
|
|
665
|
+
app?: string;
|
|
539
666
|
code?: string;
|
|
540
667
|
/**
|
|
541
668
|
* Only rows created in this window. `custom` needs `start_date` and `end_date`.
|
|
@@ -575,8 +702,12 @@ export declare class CrmService {
|
|
|
575
702
|
* @returns LeadSource
|
|
576
703
|
* @throws ApiError
|
|
577
704
|
*/
|
|
578
|
-
static crmLeadSourcesCreate({ requestBody, }: {
|
|
705
|
+
static crmLeadSourcesCreate({ requestBody, app, }: {
|
|
579
706
|
requestBody: LeadSource;
|
|
707
|
+
/**
|
|
708
|
+
* The app whose records these are: blank for the CRM, e.g. `recruit`.
|
|
709
|
+
*/
|
|
710
|
+
app?: string;
|
|
580
711
|
}): CancelablePromise<LeadSource>;
|
|
581
712
|
/**
|
|
582
713
|
* Retrieve a lead source
|
|
@@ -586,11 +717,15 @@ export declare class CrmService {
|
|
|
586
717
|
* @returns LeadSource
|
|
587
718
|
* @throws ApiError
|
|
588
719
|
*/
|
|
589
|
-
static crmLeadSourcesRetrieve({ id, }: {
|
|
720
|
+
static crmLeadSourcesRetrieve({ id, app, }: {
|
|
590
721
|
/**
|
|
591
722
|
* A unique integer value identifying this lead source.
|
|
592
723
|
*/
|
|
593
724
|
id: number;
|
|
725
|
+
/**
|
|
726
|
+
* The app whose records these are: blank for the CRM, e.g. `recruit`.
|
|
727
|
+
*/
|
|
728
|
+
app?: string;
|
|
594
729
|
}): CancelablePromise<LeadSource>;
|
|
595
730
|
/**
|
|
596
731
|
* Replace a lead source
|
|
@@ -600,12 +735,16 @@ export declare class CrmService {
|
|
|
600
735
|
* @returns LeadSource
|
|
601
736
|
* @throws ApiError
|
|
602
737
|
*/
|
|
603
|
-
static crmLeadSourcesUpdate({ id, requestBody, }: {
|
|
738
|
+
static crmLeadSourcesUpdate({ id, requestBody, app, }: {
|
|
604
739
|
/**
|
|
605
740
|
* A unique integer value identifying this lead source.
|
|
606
741
|
*/
|
|
607
742
|
id: number;
|
|
608
743
|
requestBody: LeadSource;
|
|
744
|
+
/**
|
|
745
|
+
* The app whose records these are: blank for the CRM, e.g. `recruit`.
|
|
746
|
+
*/
|
|
747
|
+
app?: string;
|
|
609
748
|
}): CancelablePromise<LeadSource>;
|
|
610
749
|
/**
|
|
611
750
|
* Update a lead source
|
|
@@ -615,11 +754,15 @@ export declare class CrmService {
|
|
|
615
754
|
* @returns LeadSource
|
|
616
755
|
* @throws ApiError
|
|
617
756
|
*/
|
|
618
|
-
static crmLeadSourcesPartialUpdate({ id, requestBody, }: {
|
|
757
|
+
static crmLeadSourcesPartialUpdate({ id, app, requestBody, }: {
|
|
619
758
|
/**
|
|
620
759
|
* A unique integer value identifying this lead source.
|
|
621
760
|
*/
|
|
622
761
|
id: number;
|
|
762
|
+
/**
|
|
763
|
+
* The app whose records these are: blank for the CRM, e.g. `recruit`.
|
|
764
|
+
*/
|
|
765
|
+
app?: string;
|
|
623
766
|
requestBody?: PatchedLeadSource;
|
|
624
767
|
}): CancelablePromise<LeadSource>;
|
|
625
768
|
/**
|
|
@@ -630,21 +773,55 @@ export declare class CrmService {
|
|
|
630
773
|
* @returns void
|
|
631
774
|
* @throws ApiError
|
|
632
775
|
*/
|
|
633
|
-
static crmLeadSourcesDestroy({ id, }: {
|
|
776
|
+
static crmLeadSourcesDestroy({ id, app, }: {
|
|
634
777
|
/**
|
|
635
778
|
* A unique integer value identifying this lead source.
|
|
636
779
|
*/
|
|
637
780
|
id: number;
|
|
781
|
+
/**
|
|
782
|
+
* The app whose records these are: blank for the CRM, e.g. `recruit`.
|
|
783
|
+
*/
|
|
784
|
+
app?: string;
|
|
638
785
|
}): CancelablePromise<void>;
|
|
786
|
+
/**
|
|
787
|
+
* List the Platform's members
|
|
788
|
+
* Active members of your Platform with an active account, by username: the users a person, deal or activity `owner` can be. `query` matches username or name (and email when shown). `email` is null unless you hold `Ibl.Core/Users/list`.
|
|
789
|
+
*
|
|
790
|
+
* **Required permission:** `list` on persons, organizations, deals or activities (any one).
|
|
791
|
+
* @returns PaginatedMemberList
|
|
792
|
+
* @throws ApiError
|
|
793
|
+
*/
|
|
794
|
+
static crmMembersList({ app, page, pageSize, query, }: {
|
|
795
|
+
/**
|
|
796
|
+
* The app whose records these are: blank for the CRM, e.g. `recruit`.
|
|
797
|
+
*/
|
|
798
|
+
app?: string;
|
|
799
|
+
/**
|
|
800
|
+
* A page number within the paginated result set.
|
|
801
|
+
*/
|
|
802
|
+
page?: number;
|
|
803
|
+
/**
|
|
804
|
+
* Number of results to return per page.
|
|
805
|
+
*/
|
|
806
|
+
pageSize?: number;
|
|
807
|
+
/**
|
|
808
|
+
* Substring of username or name.
|
|
809
|
+
*/
|
|
810
|
+
query?: string;
|
|
811
|
+
}): CancelablePromise<PaginatedMemberList>;
|
|
639
812
|
/**
|
|
640
813
|
* List organizations
|
|
641
|
-
* Returns a paginated list of organizations in your Platform. Supports filtering by `owner
|
|
814
|
+
* Returns a paginated list of organizations in your Platform. Supports filtering by `owner`, by `name` (case-insensitive substring match) and by `name__iexact` (exact, ignoring case).
|
|
642
815
|
*
|
|
643
816
|
* **Required permission:** `Ibl.CRM/Organizations/list`.
|
|
644
817
|
* @returns PaginatedOrganizationList
|
|
645
818
|
* @throws ApiError
|
|
646
819
|
*/
|
|
647
|
-
static crmOrganizationsList({ dateFilter, endDate, name, ordering, owner, page, pageSize, search, startDate, tags, }: {
|
|
820
|
+
static crmOrganizationsList({ app, dateFilter, endDate, name, nameIexact, ordering, owner, page, pageSize, search, startDate, tags, }: {
|
|
821
|
+
/**
|
|
822
|
+
* The app whose records these are: blank for the CRM, e.g. `recruit`.
|
|
823
|
+
*/
|
|
824
|
+
app?: string;
|
|
648
825
|
/**
|
|
649
826
|
* Only rows created in this window. `custom` needs `start_date` and `end_date`.
|
|
650
827
|
*/
|
|
@@ -654,6 +831,7 @@ export declare class CrmService {
|
|
|
654
831
|
*/
|
|
655
832
|
endDate?: string;
|
|
656
833
|
name?: string;
|
|
834
|
+
nameIexact?: string;
|
|
657
835
|
/**
|
|
658
836
|
* Which field to use when ordering the results.
|
|
659
837
|
*/
|
|
@@ -685,8 +863,12 @@ export declare class CrmService {
|
|
|
685
863
|
* @returns Organization
|
|
686
864
|
* @throws ApiError
|
|
687
865
|
*/
|
|
688
|
-
static crmOrganizationsCreate({ requestBody, }: {
|
|
866
|
+
static crmOrganizationsCreate({ requestBody, app, }: {
|
|
689
867
|
requestBody: Organization;
|
|
868
|
+
/**
|
|
869
|
+
* The app whose records these are: blank for the CRM, e.g. `recruit`.
|
|
870
|
+
*/
|
|
871
|
+
app?: string;
|
|
690
872
|
}): CancelablePromise<Organization>;
|
|
691
873
|
/**
|
|
692
874
|
* Retrieve an organization
|
|
@@ -696,8 +878,12 @@ export declare class CrmService {
|
|
|
696
878
|
* @returns Organization
|
|
697
879
|
* @throws ApiError
|
|
698
880
|
*/
|
|
699
|
-
static crmOrganizationsRetrieve({ id, }: {
|
|
881
|
+
static crmOrganizationsRetrieve({ id, app, }: {
|
|
700
882
|
id: string;
|
|
883
|
+
/**
|
|
884
|
+
* The app whose records these are: blank for the CRM, e.g. `recruit`.
|
|
885
|
+
*/
|
|
886
|
+
app?: string;
|
|
701
887
|
}): CancelablePromise<Organization>;
|
|
702
888
|
/**
|
|
703
889
|
* Replace an organization
|
|
@@ -707,9 +893,13 @@ export declare class CrmService {
|
|
|
707
893
|
* @returns Organization
|
|
708
894
|
* @throws ApiError
|
|
709
895
|
*/
|
|
710
|
-
static crmOrganizationsUpdate({ id, requestBody, }: {
|
|
896
|
+
static crmOrganizationsUpdate({ id, requestBody, app, }: {
|
|
711
897
|
id: string;
|
|
712
898
|
requestBody: Organization;
|
|
899
|
+
/**
|
|
900
|
+
* The app whose records these are: blank for the CRM, e.g. `recruit`.
|
|
901
|
+
*/
|
|
902
|
+
app?: string;
|
|
713
903
|
}): CancelablePromise<Organization>;
|
|
714
904
|
/**
|
|
715
905
|
* Update an organization
|
|
@@ -719,8 +909,12 @@ export declare class CrmService {
|
|
|
719
909
|
* @returns Organization
|
|
720
910
|
* @throws ApiError
|
|
721
911
|
*/
|
|
722
|
-
static crmOrganizationsPartialUpdate({ id, requestBody, }: {
|
|
912
|
+
static crmOrganizationsPartialUpdate({ id, app, requestBody, }: {
|
|
723
913
|
id: string;
|
|
914
|
+
/**
|
|
915
|
+
* The app whose records these are: blank for the CRM, e.g. `recruit`.
|
|
916
|
+
*/
|
|
917
|
+
app?: string;
|
|
724
918
|
requestBody?: PatchedOrganization;
|
|
725
919
|
}): CancelablePromise<Organization>;
|
|
726
920
|
/**
|
|
@@ -731,8 +925,12 @@ export declare class CrmService {
|
|
|
731
925
|
* @returns void
|
|
732
926
|
* @throws ApiError
|
|
733
927
|
*/
|
|
734
|
-
static crmOrganizationsDestroy({ id, }: {
|
|
928
|
+
static crmOrganizationsDestroy({ id, app, }: {
|
|
735
929
|
id: string;
|
|
930
|
+
/**
|
|
931
|
+
* The app whose records these are: blank for the CRM, e.g. `recruit`.
|
|
932
|
+
*/
|
|
933
|
+
app?: string;
|
|
736
934
|
}): CancelablePromise<void>;
|
|
737
935
|
/**
|
|
738
936
|
* Field-change history for this record
|
|
@@ -742,9 +940,29 @@ export declare class CrmService {
|
|
|
742
940
|
* @returns HistoryEntry
|
|
743
941
|
* @throws ApiError
|
|
744
942
|
*/
|
|
745
|
-
static crmOrganizationsHistoryList({ id, }: {
|
|
943
|
+
static crmOrganizationsHistoryList({ id, app, }: {
|
|
746
944
|
id: string;
|
|
945
|
+
/**
|
|
946
|
+
* The app whose records these are: blank for the CRM, e.g. `recruit`.
|
|
947
|
+
*/
|
|
948
|
+
app?: string;
|
|
747
949
|
}): CancelablePromise<Array<HistoryEntry>>;
|
|
950
|
+
/**
|
|
951
|
+
* Merge into this record's metadata
|
|
952
|
+
* Applies a JSON merge patch (RFC 7386) to `metadata` under a row lock: objects merge key by key, `null` removes a key, any other value replaces it. Two merges never lose each other's keys; a plain `PATCH` still replaces `metadata` whole.
|
|
953
|
+
*
|
|
954
|
+
* **Required permission:** the record's `write` verb.
|
|
955
|
+
* @returns Organization
|
|
956
|
+
* @throws ApiError
|
|
957
|
+
*/
|
|
958
|
+
static crmOrganizationsMetadataPartialUpdate({ id, app, requestBody, }: {
|
|
959
|
+
id: string;
|
|
960
|
+
/**
|
|
961
|
+
* The app whose records these are: blank for the CRM, e.g. `recruit`.
|
|
962
|
+
*/
|
|
963
|
+
app?: string;
|
|
964
|
+
requestBody?: Record<string, any>;
|
|
965
|
+
}): CancelablePromise<Organization>;
|
|
748
966
|
/**
|
|
749
967
|
* Attach a tag to this record
|
|
750
968
|
* Attaches an existing Tag to this record. Both the Tag and the record must belong to your Platform. Returns `409 Conflict` with the existing `assignment_id` if the tag is already attached.
|
|
@@ -753,9 +971,13 @@ export declare class CrmService {
|
|
|
753
971
|
* @returns any No response body
|
|
754
972
|
* @throws ApiError
|
|
755
973
|
*/
|
|
756
|
-
static crmOrganizationsTagsCreate({ id, requestBody, }: {
|
|
974
|
+
static crmOrganizationsTagsCreate({ id, requestBody, app, }: {
|
|
757
975
|
id: string;
|
|
758
976
|
requestBody: _TagAttachRequest;
|
|
977
|
+
/**
|
|
978
|
+
* The app whose records these are: blank for the CRM, e.g. `recruit`.
|
|
979
|
+
*/
|
|
980
|
+
app?: string;
|
|
759
981
|
}): CancelablePromise<any>;
|
|
760
982
|
/**
|
|
761
983
|
* Detach a tag from this record
|
|
@@ -765,10 +987,43 @@ export declare class CrmService {
|
|
|
765
987
|
* @returns void
|
|
766
988
|
* @throws ApiError
|
|
767
989
|
*/
|
|
768
|
-
static crmOrganizationsTagsDestroy({ id, tagId, }: {
|
|
990
|
+
static crmOrganizationsTagsDestroy({ id, tagId, app, }: {
|
|
769
991
|
id: string;
|
|
770
992
|
tagId: string;
|
|
993
|
+
/**
|
|
994
|
+
* The app whose records these are: blank for the CRM, e.g. `recruit`.
|
|
995
|
+
*/
|
|
996
|
+
app?: string;
|
|
771
997
|
}): CancelablePromise<void>;
|
|
998
|
+
/**
|
|
999
|
+
* A published web form (public)
|
|
1000
|
+
* No credential. The fields as a visitor fills them in, the page copy (`metadata`) and the success text. Unknown, draft and inactive forms are the same 404.
|
|
1001
|
+
* @returns WebFormPublic
|
|
1002
|
+
* @throws ApiError
|
|
1003
|
+
*/
|
|
1004
|
+
static crmOrgsWebFormsRetrieve({ org, slug, app, }: {
|
|
1005
|
+
org: string;
|
|
1006
|
+
slug: string;
|
|
1007
|
+
/**
|
|
1008
|
+
* The app whose records these are: blank for the CRM, e.g. `recruit`.
|
|
1009
|
+
*/
|
|
1010
|
+
app?: string;
|
|
1011
|
+
}): CancelablePromise<WebFormPublic>;
|
|
1012
|
+
/**
|
|
1013
|
+
* Submit a published web form (public)
|
|
1014
|
+
* No credential; JSON only, at most 64 KB. Files the answers into the CRM: the person with this email is reused (gaps filled, nothing overwritten) or created, a deal is opened when the form routes to one, tags and a note are added. Identical answers to the same form within ten minutes return the first submission with `created: false`. Unknown answer keys are dropped. Leave `website` empty: it is a honeypot. Throttled per IP (`CRM_WEB_FORM_SUBMIT_THROTTLE_RATE`, default 20/min).
|
|
1015
|
+
* @returns WebFormSubmitResponse
|
|
1016
|
+
* @throws ApiError
|
|
1017
|
+
*/
|
|
1018
|
+
static crmOrgsWebFormsSubmissionsCreate({ org, slug, requestBody, app, }: {
|
|
1019
|
+
org: string;
|
|
1020
|
+
slug: string;
|
|
1021
|
+
requestBody: WebFormSubmitRequest;
|
|
1022
|
+
/**
|
|
1023
|
+
* The app whose records these are: blank for the CRM, e.g. `recruit`.
|
|
1024
|
+
*/
|
|
1025
|
+
app?: string;
|
|
1026
|
+
}): CancelablePromise<WebFormSubmitResponse>;
|
|
772
1027
|
/**
|
|
773
1028
|
* CRM overview
|
|
774
1029
|
* Dashboard figures: person and organization counts, open-deal count and value (plain and probability-weighted), this month's won / lost deals, open deals per stage of one pipeline, six months of won / lost history, and activities due today or overdue. Sections you may not `list` are omitted.
|
|
@@ -779,7 +1034,11 @@ export declare class CrmService {
|
|
|
779
1034
|
* @returns Overview
|
|
780
1035
|
* @throws ApiError
|
|
781
1036
|
*/
|
|
782
|
-
static crmOverviewRetrieve({ dateFilter, endDate, pipeline, startDate, }: {
|
|
1037
|
+
static crmOverviewRetrieve({ app, dateFilter, endDate, pipeline, startDate, }: {
|
|
1038
|
+
/**
|
|
1039
|
+
* The app whose records these are: blank for the CRM, e.g. `recruit`.
|
|
1040
|
+
*/
|
|
1041
|
+
app?: string;
|
|
783
1042
|
/**
|
|
784
1043
|
* Window for the `period_*` figures.
|
|
785
1044
|
*/
|
|
@@ -799,14 +1058,18 @@ export declare class CrmService {
|
|
|
799
1058
|
}): CancelablePromise<Overview>;
|
|
800
1059
|
/**
|
|
801
1060
|
* List persons
|
|
802
|
-
* Returns a paginated list of persons in your Platform. Supports filtering by `lifecycle_stage`, `owner`, `organization`, `created_at__gte`/`created_at__lte`, and `metadata__has_key`.
|
|
1061
|
+
* Returns a paginated list of persons in your Platform. Supports filtering by `lifecycle_stage`, `owner`, `organization`, `primary_email` (exact, ignoring case), `created_at__gte`/`created_at__lte`, and `metadata__has_key`.
|
|
803
1062
|
*
|
|
804
1063
|
* **Required permission:** `Ibl.CRM/Persons/list`.
|
|
805
1064
|
* @returns PaginatedPersonList
|
|
806
1065
|
* @throws ApiError
|
|
807
1066
|
*/
|
|
808
|
-
static crmPersonsList({ active, createdAtGte, createdAtLte, dateFilter, endDate, lifecycleStage, metadataHasKey, ordering, organization, owner, page, pageSize, search, startDate, tags, }: {
|
|
1067
|
+
static crmPersonsList({ active, app, createdAtGte, createdAtLte, dateFilter, endDate, lifecycleStage, metadataHasKey, ordering, organization, owner, page, pageSize, primaryEmail, search, startDate, tags, }: {
|
|
809
1068
|
active?: boolean;
|
|
1069
|
+
/**
|
|
1070
|
+
* The app whose records these are: blank for the CRM, e.g. `recruit`.
|
|
1071
|
+
*/
|
|
1072
|
+
app?: string;
|
|
810
1073
|
createdAtGte?: string;
|
|
811
1074
|
createdAtLte?: string;
|
|
812
1075
|
/**
|
|
@@ -842,6 +1105,7 @@ export declare class CrmService {
|
|
|
842
1105
|
* Number of results to return per page.
|
|
843
1106
|
*/
|
|
844
1107
|
pageSize?: number;
|
|
1108
|
+
primaryEmail?: string;
|
|
845
1109
|
/**
|
|
846
1110
|
* A search term.
|
|
847
1111
|
*/
|
|
@@ -860,8 +1124,12 @@ export declare class CrmService {
|
|
|
860
1124
|
* @returns Person
|
|
861
1125
|
* @throws ApiError
|
|
862
1126
|
*/
|
|
863
|
-
static crmPersonsCreate({ requestBody, }: {
|
|
1127
|
+
static crmPersonsCreate({ requestBody, app, }: {
|
|
864
1128
|
requestBody: Person;
|
|
1129
|
+
/**
|
|
1130
|
+
* The app whose records these are: blank for the CRM, e.g. `recruit`.
|
|
1131
|
+
*/
|
|
1132
|
+
app?: string;
|
|
865
1133
|
}): CancelablePromise<Person>;
|
|
866
1134
|
/**
|
|
867
1135
|
* Retrieve a person
|
|
@@ -871,8 +1139,12 @@ export declare class CrmService {
|
|
|
871
1139
|
* @returns Person
|
|
872
1140
|
* @throws ApiError
|
|
873
1141
|
*/
|
|
874
|
-
static crmPersonsRetrieve({ id, }: {
|
|
1142
|
+
static crmPersonsRetrieve({ id, app, }: {
|
|
875
1143
|
id: string;
|
|
1144
|
+
/**
|
|
1145
|
+
* The app whose records these are: blank for the CRM, e.g. `recruit`.
|
|
1146
|
+
*/
|
|
1147
|
+
app?: string;
|
|
876
1148
|
}): CancelablePromise<Person>;
|
|
877
1149
|
/**
|
|
878
1150
|
* Replace a person
|
|
@@ -882,9 +1154,13 @@ export declare class CrmService {
|
|
|
882
1154
|
* @returns Person
|
|
883
1155
|
* @throws ApiError
|
|
884
1156
|
*/
|
|
885
|
-
static crmPersonsUpdate({ id, requestBody, }: {
|
|
1157
|
+
static crmPersonsUpdate({ id, requestBody, app, }: {
|
|
886
1158
|
id: string;
|
|
887
1159
|
requestBody: Person;
|
|
1160
|
+
/**
|
|
1161
|
+
* The app whose records these are: blank for the CRM, e.g. `recruit`.
|
|
1162
|
+
*/
|
|
1163
|
+
app?: string;
|
|
888
1164
|
}): CancelablePromise<Person>;
|
|
889
1165
|
/**
|
|
890
1166
|
* Update a person
|
|
@@ -894,8 +1170,12 @@ export declare class CrmService {
|
|
|
894
1170
|
* @returns Person
|
|
895
1171
|
* @throws ApiError
|
|
896
1172
|
*/
|
|
897
|
-
static crmPersonsPartialUpdate({ id, requestBody, }: {
|
|
1173
|
+
static crmPersonsPartialUpdate({ id, app, requestBody, }: {
|
|
898
1174
|
id: string;
|
|
1175
|
+
/**
|
|
1176
|
+
* The app whose records these are: blank for the CRM, e.g. `recruit`.
|
|
1177
|
+
*/
|
|
1178
|
+
app?: string;
|
|
899
1179
|
requestBody?: PatchedPerson;
|
|
900
1180
|
}): CancelablePromise<Person>;
|
|
901
1181
|
/**
|
|
@@ -906,8 +1186,12 @@ export declare class CrmService {
|
|
|
906
1186
|
* @returns void
|
|
907
1187
|
* @throws ApiError
|
|
908
1188
|
*/
|
|
909
|
-
static crmPersonsDestroy({ id, }: {
|
|
1189
|
+
static crmPersonsDestroy({ id, app, }: {
|
|
910
1190
|
id: string;
|
|
1191
|
+
/**
|
|
1192
|
+
* The app whose records these are: blank for the CRM, e.g. `recruit`.
|
|
1193
|
+
*/
|
|
1194
|
+
app?: string;
|
|
911
1195
|
}): CancelablePromise<void>;
|
|
912
1196
|
/**
|
|
913
1197
|
* Field-change history for this record
|
|
@@ -917,8 +1201,12 @@ export declare class CrmService {
|
|
|
917
1201
|
* @returns HistoryEntry
|
|
918
1202
|
* @throws ApiError
|
|
919
1203
|
*/
|
|
920
|
-
static crmPersonsHistoryList({ id, }: {
|
|
1204
|
+
static crmPersonsHistoryList({ id, app, }: {
|
|
921
1205
|
id: string;
|
|
1206
|
+
/**
|
|
1207
|
+
* The app whose records these are: blank for the CRM, e.g. `recruit`.
|
|
1208
|
+
*/
|
|
1209
|
+
app?: string;
|
|
922
1210
|
}): CancelablePromise<Array<HistoryEntry>>;
|
|
923
1211
|
/**
|
|
924
1212
|
* Invite a person to the platform
|
|
@@ -926,12 +1214,16 @@ export declare class CrmService {
|
|
|
926
1214
|
*
|
|
927
1215
|
* Returns `409 Conflict` if an active invitation already exists for this email in your Platform, and `422 Unprocessable Entity` if the person is already linked to a platform user.
|
|
928
1216
|
*
|
|
929
|
-
* **Required permission:** `Ibl.CRM/Invite/action`.
|
|
1217
|
+
* **Required permission:** `Ibl.CRM/Invite/action`; `is_admin` or `is_staff` also needs `Ibl.Catalog/PlatformInvitations/action`.
|
|
930
1218
|
* @returns PersonInviteResponse
|
|
931
1219
|
* @throws ApiError
|
|
932
1220
|
*/
|
|
933
|
-
static crmPersonsInviteCreate({ id, requestBody, }: {
|
|
1221
|
+
static crmPersonsInviteCreate({ id, app, requestBody, }: {
|
|
934
1222
|
id: string;
|
|
1223
|
+
/**
|
|
1224
|
+
* The app whose records these are: blank for the CRM, e.g. `recruit`.
|
|
1225
|
+
*/
|
|
1226
|
+
app?: string;
|
|
935
1227
|
requestBody?: PersonInviteRequest;
|
|
936
1228
|
}): CancelablePromise<PersonInviteResponse>;
|
|
937
1229
|
/**
|
|
@@ -944,9 +1236,29 @@ export declare class CrmService {
|
|
|
944
1236
|
* @returns Person
|
|
945
1237
|
* @throws ApiError
|
|
946
1238
|
*/
|
|
947
|
-
static crmPersonsLinkUserCreate({ id, requestBody, }: {
|
|
1239
|
+
static crmPersonsLinkUserCreate({ id, requestBody, app, }: {
|
|
948
1240
|
id: string;
|
|
949
1241
|
requestBody: PersonLinkUserRequest;
|
|
1242
|
+
/**
|
|
1243
|
+
* The app whose records these are: blank for the CRM, e.g. `recruit`.
|
|
1244
|
+
*/
|
|
1245
|
+
app?: string;
|
|
1246
|
+
}): CancelablePromise<Person>;
|
|
1247
|
+
/**
|
|
1248
|
+
* Merge into this record's metadata
|
|
1249
|
+
* Applies a JSON merge patch (RFC 7386) to `metadata` under a row lock: objects merge key by key, `null` removes a key, any other value replaces it. Two merges never lose each other's keys; a plain `PATCH` still replaces `metadata` whole.
|
|
1250
|
+
*
|
|
1251
|
+
* **Required permission:** the record's `write` verb.
|
|
1252
|
+
* @returns Person
|
|
1253
|
+
* @throws ApiError
|
|
1254
|
+
*/
|
|
1255
|
+
static crmPersonsMetadataPartialUpdate({ id, app, requestBody, }: {
|
|
1256
|
+
id: string;
|
|
1257
|
+
/**
|
|
1258
|
+
* The app whose records these are: blank for the CRM, e.g. `recruit`.
|
|
1259
|
+
*/
|
|
1260
|
+
app?: string;
|
|
1261
|
+
requestBody?: Record<string, any>;
|
|
950
1262
|
}): CancelablePromise<Person>;
|
|
951
1263
|
/**
|
|
952
1264
|
* Attach a tag to this record
|
|
@@ -956,9 +1268,13 @@ export declare class CrmService {
|
|
|
956
1268
|
* @returns any No response body
|
|
957
1269
|
* @throws ApiError
|
|
958
1270
|
*/
|
|
959
|
-
static crmPersonsTagsCreate({ id, requestBody, }: {
|
|
1271
|
+
static crmPersonsTagsCreate({ id, requestBody, app, }: {
|
|
960
1272
|
id: string;
|
|
961
1273
|
requestBody: _TagAttachRequest;
|
|
1274
|
+
/**
|
|
1275
|
+
* The app whose records these are: blank for the CRM, e.g. `recruit`.
|
|
1276
|
+
*/
|
|
1277
|
+
app?: string;
|
|
962
1278
|
}): CancelablePromise<any>;
|
|
963
1279
|
/**
|
|
964
1280
|
* Detach a tag from this record
|
|
@@ -968,13 +1284,17 @@ export declare class CrmService {
|
|
|
968
1284
|
* @returns void
|
|
969
1285
|
* @throws ApiError
|
|
970
1286
|
*/
|
|
971
|
-
static crmPersonsTagsDestroy({ id, tagId, }: {
|
|
1287
|
+
static crmPersonsTagsDestroy({ id, tagId, app, }: {
|
|
972
1288
|
id: string;
|
|
973
1289
|
tagId: string;
|
|
1290
|
+
/**
|
|
1291
|
+
* The app whose records these are: blank for the CRM, e.g. `recruit`.
|
|
1292
|
+
*/
|
|
1293
|
+
app?: string;
|
|
974
1294
|
}): CancelablePromise<void>;
|
|
975
1295
|
/**
|
|
976
1296
|
* Merge duplicate persons into a primary
|
|
977
|
-
* Marks each person in `duplicate_ids` as inactive and reports how many related records (deals, activities, tags) were re-parented onto `primary_id`.
|
|
1297
|
+
* Marks each person in `duplicate_ids` as inactive, moves a duplicate's platform-user link to the primary (which retires the primary, as a link does) and clears it on the retired rows, and reports how many related records (deals, activities, tags) were re-parented onto `primary_id`.
|
|
978
1298
|
*
|
|
979
1299
|
* All ids — both the primary and every duplicate — must belong to your Platform. `primary_id` may not appear in `duplicate_ids`.
|
|
980
1300
|
*
|
|
@@ -982,8 +1302,12 @@ export declare class CrmService {
|
|
|
982
1302
|
* @returns PersonMergeResponse
|
|
983
1303
|
* @throws ApiError
|
|
984
1304
|
*/
|
|
985
|
-
static crmPersonsMergeCreate({ requestBody, }: {
|
|
1305
|
+
static crmPersonsMergeCreate({ requestBody, app, }: {
|
|
986
1306
|
requestBody: PersonMergeRequest;
|
|
1307
|
+
/**
|
|
1308
|
+
* The app whose records these are: blank for the CRM, e.g. `recruit`.
|
|
1309
|
+
*/
|
|
1310
|
+
app?: string;
|
|
987
1311
|
}): CancelablePromise<PersonMergeResponse>;
|
|
988
1312
|
/**
|
|
989
1313
|
* List pipelines
|
|
@@ -993,7 +1317,11 @@ export declare class CrmService {
|
|
|
993
1317
|
* @returns PaginatedPipelineList
|
|
994
1318
|
* @throws ApiError
|
|
995
1319
|
*/
|
|
996
|
-
static crmPipelinesList({ code, dateFilter, endDate, isDefault, name, ordering, page, pageSize, search, startDate, }: {
|
|
1320
|
+
static crmPipelinesList({ app, code, dateFilter, endDate, isDefault, name, ordering, page, pageSize, search, startDate, }: {
|
|
1321
|
+
/**
|
|
1322
|
+
* The app whose records these are: blank for the CRM, e.g. `recruit`.
|
|
1323
|
+
*/
|
|
1324
|
+
app?: string;
|
|
997
1325
|
code?: string;
|
|
998
1326
|
/**
|
|
999
1327
|
* Only rows created in this window. `custom` needs `start_date` and `end_date`.
|
|
@@ -1034,8 +1362,12 @@ export declare class CrmService {
|
|
|
1034
1362
|
* @returns Pipeline
|
|
1035
1363
|
* @throws ApiError
|
|
1036
1364
|
*/
|
|
1037
|
-
static crmPipelinesCreate({ requestBody, }: {
|
|
1365
|
+
static crmPipelinesCreate({ requestBody, app, }: {
|
|
1038
1366
|
requestBody: Pipeline;
|
|
1367
|
+
/**
|
|
1368
|
+
* The app whose records these are: blank for the CRM, e.g. `recruit`.
|
|
1369
|
+
*/
|
|
1370
|
+
app?: string;
|
|
1039
1371
|
}): CancelablePromise<Pipeline>;
|
|
1040
1372
|
/**
|
|
1041
1373
|
* List stages for a pipeline
|
|
@@ -1045,8 +1377,12 @@ export declare class CrmService {
|
|
|
1045
1377
|
* @returns PaginatedPipelineStageList
|
|
1046
1378
|
* @throws ApiError
|
|
1047
1379
|
*/
|
|
1048
|
-
static crmPipelinesStagesList({ pipelinePk, code, dateFilter, endDate, isLost, isWon, ordering, page, pageSize, search, startDate, }: {
|
|
1380
|
+
static crmPipelinesStagesList({ pipelinePk, app, code, dateFilter, endDate, isLost, isWon, ordering, page, pageSize, search, startDate, }: {
|
|
1049
1381
|
pipelinePk: number;
|
|
1382
|
+
/**
|
|
1383
|
+
* The app whose records these are: blank for the CRM, e.g. `recruit`.
|
|
1384
|
+
*/
|
|
1385
|
+
app?: string;
|
|
1050
1386
|
code?: string;
|
|
1051
1387
|
/**
|
|
1052
1388
|
* Only rows created in this window. `custom` needs `start_date` and `end_date`.
|
|
@@ -1087,9 +1423,13 @@ export declare class CrmService {
|
|
|
1087
1423
|
* @returns PipelineStage
|
|
1088
1424
|
* @throws ApiError
|
|
1089
1425
|
*/
|
|
1090
|
-
static crmPipelinesStagesCreate({ pipelinePk, requestBody, }: {
|
|
1426
|
+
static crmPipelinesStagesCreate({ pipelinePk, requestBody, app, }: {
|
|
1091
1427
|
pipelinePk: number;
|
|
1092
1428
|
requestBody: PipelineStage;
|
|
1429
|
+
/**
|
|
1430
|
+
* The app whose records these are: blank for the CRM, e.g. `recruit`.
|
|
1431
|
+
*/
|
|
1432
|
+
app?: string;
|
|
1093
1433
|
}): CancelablePromise<PipelineStage>;
|
|
1094
1434
|
/**
|
|
1095
1435
|
* Retrieve a stage
|
|
@@ -1099,9 +1439,13 @@ export declare class CrmService {
|
|
|
1099
1439
|
* @returns PipelineStage
|
|
1100
1440
|
* @throws ApiError
|
|
1101
1441
|
*/
|
|
1102
|
-
static crmPipelinesStagesRetrieve({ id, pipelinePk, }: {
|
|
1442
|
+
static crmPipelinesStagesRetrieve({ id, pipelinePk, app, }: {
|
|
1103
1443
|
id: number;
|
|
1104
1444
|
pipelinePk: number;
|
|
1445
|
+
/**
|
|
1446
|
+
* The app whose records these are: blank for the CRM, e.g. `recruit`.
|
|
1447
|
+
*/
|
|
1448
|
+
app?: string;
|
|
1105
1449
|
}): CancelablePromise<PipelineStage>;
|
|
1106
1450
|
/**
|
|
1107
1451
|
* Replace a stage
|
|
@@ -1111,10 +1455,14 @@ export declare class CrmService {
|
|
|
1111
1455
|
* @returns PipelineStage
|
|
1112
1456
|
* @throws ApiError
|
|
1113
1457
|
*/
|
|
1114
|
-
static crmPipelinesStagesUpdate({ id, pipelinePk, requestBody, }: {
|
|
1458
|
+
static crmPipelinesStagesUpdate({ id, pipelinePk, requestBody, app, }: {
|
|
1115
1459
|
id: number;
|
|
1116
1460
|
pipelinePk: number;
|
|
1117
1461
|
requestBody: PipelineStage;
|
|
1462
|
+
/**
|
|
1463
|
+
* The app whose records these are: blank for the CRM, e.g. `recruit`.
|
|
1464
|
+
*/
|
|
1465
|
+
app?: string;
|
|
1118
1466
|
}): CancelablePromise<PipelineStage>;
|
|
1119
1467
|
/**
|
|
1120
1468
|
* Update a stage
|
|
@@ -1124,9 +1472,13 @@ export declare class CrmService {
|
|
|
1124
1472
|
* @returns PipelineStage
|
|
1125
1473
|
* @throws ApiError
|
|
1126
1474
|
*/
|
|
1127
|
-
static crmPipelinesStagesPartialUpdate({ id, pipelinePk, requestBody, }: {
|
|
1475
|
+
static crmPipelinesStagesPartialUpdate({ id, pipelinePk, app, requestBody, }: {
|
|
1128
1476
|
id: number;
|
|
1129
1477
|
pipelinePk: number;
|
|
1478
|
+
/**
|
|
1479
|
+
* The app whose records these are: blank for the CRM, e.g. `recruit`.
|
|
1480
|
+
*/
|
|
1481
|
+
app?: string;
|
|
1130
1482
|
requestBody?: PatchedPipelineStage;
|
|
1131
1483
|
}): CancelablePromise<PipelineStage>;
|
|
1132
1484
|
/**
|
|
@@ -1137,9 +1489,13 @@ export declare class CrmService {
|
|
|
1137
1489
|
* @returns void
|
|
1138
1490
|
* @throws ApiError
|
|
1139
1491
|
*/
|
|
1140
|
-
static crmPipelinesStagesDestroy({ id, pipelinePk, }: {
|
|
1492
|
+
static crmPipelinesStagesDestroy({ id, pipelinePk, app, }: {
|
|
1141
1493
|
id: number;
|
|
1142
1494
|
pipelinePk: number;
|
|
1495
|
+
/**
|
|
1496
|
+
* The app whose records these are: blank for the CRM, e.g. `recruit`.
|
|
1497
|
+
*/
|
|
1498
|
+
app?: string;
|
|
1143
1499
|
}): CancelablePromise<void>;
|
|
1144
1500
|
/**
|
|
1145
1501
|
* Retrieve a pipeline
|
|
@@ -1149,11 +1505,15 @@ export declare class CrmService {
|
|
|
1149
1505
|
* @returns Pipeline
|
|
1150
1506
|
* @throws ApiError
|
|
1151
1507
|
*/
|
|
1152
|
-
static crmPipelinesRetrieve({ id, }: {
|
|
1508
|
+
static crmPipelinesRetrieve({ id, app, }: {
|
|
1153
1509
|
/**
|
|
1154
1510
|
* A unique integer value identifying this pipeline.
|
|
1155
1511
|
*/
|
|
1156
1512
|
id: number;
|
|
1513
|
+
/**
|
|
1514
|
+
* The app whose records these are: blank for the CRM, e.g. `recruit`.
|
|
1515
|
+
*/
|
|
1516
|
+
app?: string;
|
|
1157
1517
|
}): CancelablePromise<Pipeline>;
|
|
1158
1518
|
/**
|
|
1159
1519
|
* Replace a pipeline
|
|
@@ -1163,12 +1523,16 @@ export declare class CrmService {
|
|
|
1163
1523
|
* @returns Pipeline
|
|
1164
1524
|
* @throws ApiError
|
|
1165
1525
|
*/
|
|
1166
|
-
static crmPipelinesUpdate({ id, requestBody, }: {
|
|
1526
|
+
static crmPipelinesUpdate({ id, requestBody, app, }: {
|
|
1167
1527
|
/**
|
|
1168
1528
|
* A unique integer value identifying this pipeline.
|
|
1169
1529
|
*/
|
|
1170
1530
|
id: number;
|
|
1171
1531
|
requestBody: Pipeline;
|
|
1532
|
+
/**
|
|
1533
|
+
* The app whose records these are: blank for the CRM, e.g. `recruit`.
|
|
1534
|
+
*/
|
|
1535
|
+
app?: string;
|
|
1172
1536
|
}): CancelablePromise<Pipeline>;
|
|
1173
1537
|
/**
|
|
1174
1538
|
* Update a pipeline
|
|
@@ -1178,11 +1542,15 @@ export declare class CrmService {
|
|
|
1178
1542
|
* @returns Pipeline
|
|
1179
1543
|
* @throws ApiError
|
|
1180
1544
|
*/
|
|
1181
|
-
static crmPipelinesPartialUpdate({ id, requestBody, }: {
|
|
1545
|
+
static crmPipelinesPartialUpdate({ id, app, requestBody, }: {
|
|
1182
1546
|
/**
|
|
1183
1547
|
* A unique integer value identifying this pipeline.
|
|
1184
1548
|
*/
|
|
1185
1549
|
id: number;
|
|
1550
|
+
/**
|
|
1551
|
+
* The app whose records these are: blank for the CRM, e.g. `recruit`.
|
|
1552
|
+
*/
|
|
1553
|
+
app?: string;
|
|
1186
1554
|
requestBody?: PatchedPipeline;
|
|
1187
1555
|
}): CancelablePromise<Pipeline>;
|
|
1188
1556
|
/**
|
|
@@ -1193,11 +1561,15 @@ export declare class CrmService {
|
|
|
1193
1561
|
* @returns void
|
|
1194
1562
|
* @throws ApiError
|
|
1195
1563
|
*/
|
|
1196
|
-
static crmPipelinesDestroy({ id, }: {
|
|
1564
|
+
static crmPipelinesDestroy({ id, app, }: {
|
|
1197
1565
|
/**
|
|
1198
1566
|
* A unique integer value identifying this pipeline.
|
|
1199
1567
|
*/
|
|
1200
1568
|
id: number;
|
|
1569
|
+
/**
|
|
1570
|
+
* The app whose records these are: blank for the CRM, e.g. `recruit`.
|
|
1571
|
+
*/
|
|
1572
|
+
app?: string;
|
|
1201
1573
|
}): CancelablePromise<void>;
|
|
1202
1574
|
/**
|
|
1203
1575
|
* Reorder a pipeline's stages
|
|
@@ -1207,12 +1579,16 @@ export declare class CrmService {
|
|
|
1207
1579
|
* @returns Pipeline
|
|
1208
1580
|
* @throws ApiError
|
|
1209
1581
|
*/
|
|
1210
|
-
static crmPipelinesStagesReorderCreate({ id, requestBody, }: {
|
|
1582
|
+
static crmPipelinesStagesReorderCreate({ id, requestBody, app, }: {
|
|
1211
1583
|
/**
|
|
1212
1584
|
* A unique integer value identifying this pipeline.
|
|
1213
1585
|
*/
|
|
1214
1586
|
id: number;
|
|
1215
1587
|
requestBody: PipelineStageReorderRequest;
|
|
1588
|
+
/**
|
|
1589
|
+
* The app whose records these are: blank for the CRM, e.g. `recruit`.
|
|
1590
|
+
*/
|
|
1591
|
+
app?: string;
|
|
1216
1592
|
}): CancelablePromise<Pipeline>;
|
|
1217
1593
|
/**
|
|
1218
1594
|
* Search persons, organizations and deals
|
|
@@ -1222,11 +1598,15 @@ export declare class CrmService {
|
|
|
1222
1598
|
* @returns SearchResponse
|
|
1223
1599
|
* @throws ApiError
|
|
1224
1600
|
*/
|
|
1225
|
-
static crmSearchRetrieve({ q, limit, }: {
|
|
1601
|
+
static crmSearchRetrieve({ q, app, limit, }: {
|
|
1226
1602
|
/**
|
|
1227
1603
|
* Search text.
|
|
1228
1604
|
*/
|
|
1229
1605
|
q: string;
|
|
1606
|
+
/**
|
|
1607
|
+
* The app whose records these are: blank for the CRM, e.g. `recruit`.
|
|
1608
|
+
*/
|
|
1609
|
+
app?: string;
|
|
1230
1610
|
/**
|
|
1231
1611
|
* Rows per bucket, 1–25 (default 8).
|
|
1232
1612
|
*/
|
|
@@ -1234,13 +1614,17 @@ export declare class CrmService {
|
|
|
1234
1614
|
}): CancelablePromise<SearchResponse>;
|
|
1235
1615
|
/**
|
|
1236
1616
|
* List tags
|
|
1237
|
-
* Returns a paginated list of Tags in your Platform. Supports filtering by `name` (case-insensitive substring) and `created_at__gte`/`created_at__lte` ISO timestamp ranges.
|
|
1617
|
+
* Returns a paginated list of Tags in your Platform. Supports filtering by `name` (case-insensitive substring), `name__iexact` (exact, ignoring case) and `created_at__gte`/`created_at__lte` ISO timestamp ranges.
|
|
1238
1618
|
*
|
|
1239
1619
|
* **Required permission:** `Ibl.CRM/Tags/list`.
|
|
1240
1620
|
* @returns PaginatedTagList
|
|
1241
1621
|
* @throws ApiError
|
|
1242
1622
|
*/
|
|
1243
|
-
static crmTagsList({ createdAtGte, createdAtLte, dateFilter, endDate, name, ordering, page, pageSize, search, startDate, }: {
|
|
1623
|
+
static crmTagsList({ app, createdAtGte, createdAtLte, dateFilter, endDate, name, nameIexact, ordering, page, pageSize, search, startDate, }: {
|
|
1624
|
+
/**
|
|
1625
|
+
* The app whose records these are: blank for the CRM, e.g. `recruit`.
|
|
1626
|
+
*/
|
|
1627
|
+
app?: string;
|
|
1244
1628
|
createdAtGte?: string;
|
|
1245
1629
|
createdAtLte?: string;
|
|
1246
1630
|
/**
|
|
@@ -1252,6 +1636,7 @@ export declare class CrmService {
|
|
|
1252
1636
|
*/
|
|
1253
1637
|
endDate?: string;
|
|
1254
1638
|
name?: string;
|
|
1639
|
+
nameIexact?: string;
|
|
1255
1640
|
/**
|
|
1256
1641
|
* Which field to use when ordering the results.
|
|
1257
1642
|
*/
|
|
@@ -1281,8 +1666,12 @@ export declare class CrmService {
|
|
|
1281
1666
|
* @returns Tag
|
|
1282
1667
|
* @throws ApiError
|
|
1283
1668
|
*/
|
|
1284
|
-
static crmTagsCreate({ requestBody, }: {
|
|
1669
|
+
static crmTagsCreate({ requestBody, app, }: {
|
|
1285
1670
|
requestBody: Tag;
|
|
1671
|
+
/**
|
|
1672
|
+
* The app whose records these are: blank for the CRM, e.g. `recruit`.
|
|
1673
|
+
*/
|
|
1674
|
+
app?: string;
|
|
1286
1675
|
}): CancelablePromise<Tag>;
|
|
1287
1676
|
/**
|
|
1288
1677
|
* Retrieve a tag
|
|
@@ -1292,11 +1681,15 @@ export declare class CrmService {
|
|
|
1292
1681
|
* @returns Tag
|
|
1293
1682
|
* @throws ApiError
|
|
1294
1683
|
*/
|
|
1295
|
-
static crmTagsRetrieve({ id, }: {
|
|
1684
|
+
static crmTagsRetrieve({ id, app, }: {
|
|
1296
1685
|
/**
|
|
1297
1686
|
* A unique integer value identifying this tag.
|
|
1298
1687
|
*/
|
|
1299
1688
|
id: number;
|
|
1689
|
+
/**
|
|
1690
|
+
* The app whose records these are: blank for the CRM, e.g. `recruit`.
|
|
1691
|
+
*/
|
|
1692
|
+
app?: string;
|
|
1300
1693
|
}): CancelablePromise<Tag>;
|
|
1301
1694
|
/**
|
|
1302
1695
|
* Replace a tag
|
|
@@ -1306,12 +1699,16 @@ export declare class CrmService {
|
|
|
1306
1699
|
* @returns Tag
|
|
1307
1700
|
* @throws ApiError
|
|
1308
1701
|
*/
|
|
1309
|
-
static crmTagsUpdate({ id, requestBody, }: {
|
|
1702
|
+
static crmTagsUpdate({ id, requestBody, app, }: {
|
|
1310
1703
|
/**
|
|
1311
1704
|
* A unique integer value identifying this tag.
|
|
1312
1705
|
*/
|
|
1313
1706
|
id: number;
|
|
1314
1707
|
requestBody: Tag;
|
|
1708
|
+
/**
|
|
1709
|
+
* The app whose records these are: blank for the CRM, e.g. `recruit`.
|
|
1710
|
+
*/
|
|
1711
|
+
app?: string;
|
|
1315
1712
|
}): CancelablePromise<Tag>;
|
|
1316
1713
|
/**
|
|
1317
1714
|
* Update a tag
|
|
@@ -1321,11 +1718,15 @@ export declare class CrmService {
|
|
|
1321
1718
|
* @returns Tag
|
|
1322
1719
|
* @throws ApiError
|
|
1323
1720
|
*/
|
|
1324
|
-
static crmTagsPartialUpdate({ id, requestBody, }: {
|
|
1721
|
+
static crmTagsPartialUpdate({ id, app, requestBody, }: {
|
|
1325
1722
|
/**
|
|
1326
1723
|
* A unique integer value identifying this tag.
|
|
1327
1724
|
*/
|
|
1328
1725
|
id: number;
|
|
1726
|
+
/**
|
|
1727
|
+
* The app whose records these are: blank for the CRM, e.g. `recruit`.
|
|
1728
|
+
*/
|
|
1729
|
+
app?: string;
|
|
1329
1730
|
requestBody?: PatchedTag;
|
|
1330
1731
|
}): CancelablePromise<Tag>;
|
|
1331
1732
|
/**
|
|
@@ -1336,11 +1737,15 @@ export declare class CrmService {
|
|
|
1336
1737
|
* @returns void
|
|
1337
1738
|
* @throws ApiError
|
|
1338
1739
|
*/
|
|
1339
|
-
static crmTagsDestroy({ id, }: {
|
|
1740
|
+
static crmTagsDestroy({ id, app, }: {
|
|
1340
1741
|
/**
|
|
1341
1742
|
* A unique integer value identifying this tag.
|
|
1342
1743
|
*/
|
|
1343
1744
|
id: number;
|
|
1745
|
+
/**
|
|
1746
|
+
* The app whose records these are: blank for the CRM, e.g. `recruit`.
|
|
1747
|
+
*/
|
|
1748
|
+
app?: string;
|
|
1344
1749
|
}): CancelablePromise<void>;
|
|
1345
1750
|
/**
|
|
1346
1751
|
* List my saved views
|
|
@@ -1350,7 +1755,11 @@ export declare class CrmService {
|
|
|
1350
1755
|
* @returns PaginatedSavedViewList
|
|
1351
1756
|
* @throws ApiError
|
|
1352
1757
|
*/
|
|
1353
|
-
static crmViewsList({ dateFilter, endDate, objectType, ordering, page, pageSize, search, startDate, type, }: {
|
|
1758
|
+
static crmViewsList({ app, dateFilter, endDate, objectType, ordering, page, pageSize, search, startDate, type, }: {
|
|
1759
|
+
/**
|
|
1760
|
+
* The app whose records these are: blank for the CRM, e.g. `recruit`.
|
|
1761
|
+
*/
|
|
1762
|
+
app?: string;
|
|
1354
1763
|
/**
|
|
1355
1764
|
* Only rows created in this window. `custom` needs `start_date` and `end_date`.
|
|
1356
1765
|
*/
|
|
@@ -1404,8 +1813,12 @@ export declare class CrmService {
|
|
|
1404
1813
|
* @returns SavedView
|
|
1405
1814
|
* @throws ApiError
|
|
1406
1815
|
*/
|
|
1407
|
-
static crmViewsCreate({ requestBody, }: {
|
|
1816
|
+
static crmViewsCreate({ requestBody, app, }: {
|
|
1408
1817
|
requestBody: SavedView;
|
|
1818
|
+
/**
|
|
1819
|
+
* The app whose records these are: blank for the CRM, e.g. `recruit`.
|
|
1820
|
+
*/
|
|
1821
|
+
app?: string;
|
|
1409
1822
|
}): CancelablePromise<SavedView>;
|
|
1410
1823
|
/**
|
|
1411
1824
|
* Retrieve a saved view
|
|
@@ -1413,11 +1826,15 @@ export declare class CrmService {
|
|
|
1413
1826
|
* @returns SavedView
|
|
1414
1827
|
* @throws ApiError
|
|
1415
1828
|
*/
|
|
1416
|
-
static crmViewsRetrieve({ id, }: {
|
|
1829
|
+
static crmViewsRetrieve({ id, app, }: {
|
|
1417
1830
|
/**
|
|
1418
1831
|
* A unique integer value identifying this saved view.
|
|
1419
1832
|
*/
|
|
1420
1833
|
id: number;
|
|
1834
|
+
/**
|
|
1835
|
+
* The app whose records these are: blank for the CRM, e.g. `recruit`.
|
|
1836
|
+
*/
|
|
1837
|
+
app?: string;
|
|
1421
1838
|
}): CancelablePromise<SavedView>;
|
|
1422
1839
|
/**
|
|
1423
1840
|
* Replace a saved view
|
|
@@ -1425,12 +1842,16 @@ export declare class CrmService {
|
|
|
1425
1842
|
* @returns SavedView
|
|
1426
1843
|
* @throws ApiError
|
|
1427
1844
|
*/
|
|
1428
|
-
static crmViewsUpdate({ id, requestBody, }: {
|
|
1845
|
+
static crmViewsUpdate({ id, requestBody, app, }: {
|
|
1429
1846
|
/**
|
|
1430
1847
|
* A unique integer value identifying this saved view.
|
|
1431
1848
|
*/
|
|
1432
1849
|
id: number;
|
|
1433
1850
|
requestBody: SavedView;
|
|
1851
|
+
/**
|
|
1852
|
+
* The app whose records these are: blank for the CRM, e.g. `recruit`.
|
|
1853
|
+
*/
|
|
1854
|
+
app?: string;
|
|
1434
1855
|
}): CancelablePromise<SavedView>;
|
|
1435
1856
|
/**
|
|
1436
1857
|
* Update a saved view
|
|
@@ -1438,11 +1859,15 @@ export declare class CrmService {
|
|
|
1438
1859
|
* @returns SavedView
|
|
1439
1860
|
* @throws ApiError
|
|
1440
1861
|
*/
|
|
1441
|
-
static crmViewsPartialUpdate({ id, requestBody, }: {
|
|
1862
|
+
static crmViewsPartialUpdate({ id, app, requestBody, }: {
|
|
1442
1863
|
/**
|
|
1443
1864
|
* A unique integer value identifying this saved view.
|
|
1444
1865
|
*/
|
|
1445
1866
|
id: number;
|
|
1867
|
+
/**
|
|
1868
|
+
* The app whose records these are: blank for the CRM, e.g. `recruit`.
|
|
1869
|
+
*/
|
|
1870
|
+
app?: string;
|
|
1446
1871
|
requestBody?: PatchedSavedView;
|
|
1447
1872
|
}): CancelablePromise<SavedView>;
|
|
1448
1873
|
/**
|
|
@@ -1451,10 +1876,164 @@ export declare class CrmService {
|
|
|
1451
1876
|
* @returns void
|
|
1452
1877
|
* @throws ApiError
|
|
1453
1878
|
*/
|
|
1454
|
-
static crmViewsDestroy({ id, }: {
|
|
1879
|
+
static crmViewsDestroy({ id, app, }: {
|
|
1455
1880
|
/**
|
|
1456
1881
|
* A unique integer value identifying this saved view.
|
|
1457
1882
|
*/
|
|
1458
1883
|
id: number;
|
|
1884
|
+
/**
|
|
1885
|
+
* The app whose records these are: blank for the CRM, e.g. `recruit`.
|
|
1886
|
+
*/
|
|
1887
|
+
app?: string;
|
|
1459
1888
|
}): CancelablePromise<void>;
|
|
1889
|
+
/**
|
|
1890
|
+
* List web forms
|
|
1891
|
+
* Your Platform's web forms, drafts included.
|
|
1892
|
+
*
|
|
1893
|
+
* **Required permission:** `Ibl.CRM/WebForms/list`.
|
|
1894
|
+
* @returns PaginatedWebFormList
|
|
1895
|
+
* @throws ApiError
|
|
1896
|
+
*/
|
|
1897
|
+
static crmWebFormsList({ app, dateFilter, endDate, ordering, page, pageSize, search, startDate, }: {
|
|
1898
|
+
/**
|
|
1899
|
+
* The app whose records these are: blank for the CRM, e.g. `recruit`.
|
|
1900
|
+
*/
|
|
1901
|
+
app?: string;
|
|
1902
|
+
/**
|
|
1903
|
+
* Only rows created in this window. `custom` needs `start_date` and `end_date`.
|
|
1904
|
+
*/
|
|
1905
|
+
dateFilter?: 'today' | '7d' | '30d' | '90d' | 'all_time' | 'custom';
|
|
1906
|
+
/**
|
|
1907
|
+
* Last day of a custom window, inclusive (YYYY-MM-DD).
|
|
1908
|
+
*/
|
|
1909
|
+
endDate?: string;
|
|
1910
|
+
/**
|
|
1911
|
+
* Which field to use when ordering the results.
|
|
1912
|
+
*/
|
|
1913
|
+
ordering?: string;
|
|
1914
|
+
/**
|
|
1915
|
+
* A page number within the paginated result set.
|
|
1916
|
+
*/
|
|
1917
|
+
page?: number;
|
|
1918
|
+
/**
|
|
1919
|
+
* Number of results to return per page.
|
|
1920
|
+
*/
|
|
1921
|
+
pageSize?: number;
|
|
1922
|
+
/**
|
|
1923
|
+
* A search term.
|
|
1924
|
+
*/
|
|
1925
|
+
search?: string;
|
|
1926
|
+
/**
|
|
1927
|
+
* First day of a custom window (YYYY-MM-DD).
|
|
1928
|
+
*/
|
|
1929
|
+
startDate?: string;
|
|
1930
|
+
}): CancelablePromise<PaginatedWebFormList>;
|
|
1931
|
+
/**
|
|
1932
|
+
* Create a web form
|
|
1933
|
+
* `fields` and `routing` are stored with every key present. Publishing needs a field mapped to `person.primary_email` and one to `person.name` or `person.first_name`. A `routing.lead_source_code` no lead source has yet is created with the form, named after it.
|
|
1934
|
+
*
|
|
1935
|
+
* **Required permission:** `Ibl.CRM/WebForms/action`; a new `lead_source_code` also needs `Ibl.CRM/Pipelines/action`.
|
|
1936
|
+
* @returns WebForm
|
|
1937
|
+
* @throws ApiError
|
|
1938
|
+
*/
|
|
1939
|
+
static crmWebFormsCreate({ requestBody, app, }: {
|
|
1940
|
+
requestBody: WebForm;
|
|
1941
|
+
/**
|
|
1942
|
+
* The app whose records these are: blank for the CRM, e.g. `recruit`.
|
|
1943
|
+
*/
|
|
1944
|
+
app?: string;
|
|
1945
|
+
}): CancelablePromise<WebForm>;
|
|
1946
|
+
/**
|
|
1947
|
+
* Retrieve a web form
|
|
1948
|
+
* **Required permission:** `Ibl.CRM/WebForms/read`.
|
|
1949
|
+
* @returns WebForm
|
|
1950
|
+
* @throws ApiError
|
|
1951
|
+
*/
|
|
1952
|
+
static crmWebFormsRetrieve({ slug, app, }: {
|
|
1953
|
+
slug: string;
|
|
1954
|
+
/**
|
|
1955
|
+
* The app whose records these are: blank for the CRM, e.g. `recruit`.
|
|
1956
|
+
*/
|
|
1957
|
+
app?: string;
|
|
1958
|
+
}): CancelablePromise<WebForm>;
|
|
1959
|
+
/**
|
|
1960
|
+
* Replace a web form
|
|
1961
|
+
* **Required permission:** `Ibl.CRM/WebForms/write`; a new `routing.lead_source_code` also needs `Ibl.CRM/Pipelines/action`.
|
|
1962
|
+
* @returns WebForm
|
|
1963
|
+
* @throws ApiError
|
|
1964
|
+
*/
|
|
1965
|
+
static crmWebFormsUpdate({ slug, requestBody, app, }: {
|
|
1966
|
+
slug: string;
|
|
1967
|
+
requestBody: WebForm;
|
|
1968
|
+
/**
|
|
1969
|
+
* The app whose records these are: blank for the CRM, e.g. `recruit`.
|
|
1970
|
+
*/
|
|
1971
|
+
app?: string;
|
|
1972
|
+
}): CancelablePromise<WebForm>;
|
|
1973
|
+
/**
|
|
1974
|
+
* Update a web form
|
|
1975
|
+
* `fields`, `routing` and `metadata` are replaced whole when sent. Publishing rules apply to the form as saved.
|
|
1976
|
+
*
|
|
1977
|
+
* **Required permission:** `Ibl.CRM/WebForms/write`; a new `routing.lead_source_code` also needs `Ibl.CRM/Pipelines/action`.
|
|
1978
|
+
* @returns WebForm
|
|
1979
|
+
* @throws ApiError
|
|
1980
|
+
*/
|
|
1981
|
+
static crmWebFormsPartialUpdate({ slug, app, requestBody, }: {
|
|
1982
|
+
slug: string;
|
|
1983
|
+
/**
|
|
1984
|
+
* The app whose records these are: blank for the CRM, e.g. `recruit`.
|
|
1985
|
+
*/
|
|
1986
|
+
app?: string;
|
|
1987
|
+
requestBody?: PatchedWebForm;
|
|
1988
|
+
}): CancelablePromise<WebForm>;
|
|
1989
|
+
/**
|
|
1990
|
+
* Delete a web form
|
|
1991
|
+
* Deletes the form and its submissions log; the persons, deals and notes it filed stay.
|
|
1992
|
+
*
|
|
1993
|
+
* **Required permission:** `Ibl.CRM/WebForms/delete`.
|
|
1994
|
+
* @returns void
|
|
1995
|
+
* @throws ApiError
|
|
1996
|
+
*/
|
|
1997
|
+
static crmWebFormsDestroy({ slug, app, }: {
|
|
1998
|
+
slug: string;
|
|
1999
|
+
/**
|
|
2000
|
+
* The app whose records these are: blank for the CRM, e.g. `recruit`.
|
|
2001
|
+
*/
|
|
2002
|
+
app?: string;
|
|
2003
|
+
}): CancelablePromise<void>;
|
|
2004
|
+
/**
|
|
2005
|
+
* A web form's submissions
|
|
2006
|
+
* Newest first, paginated; `date_filter` (or `start_date` + `end_date`) narrows to submissions in a window.
|
|
2007
|
+
*
|
|
2008
|
+
* **Required permission:** `Ibl.CRM/WebForms/list`.
|
|
2009
|
+
* @returns PaginatedWebFormSubmissionList
|
|
2010
|
+
* @throws ApiError
|
|
2011
|
+
*/
|
|
2012
|
+
static crmWebFormsSubmissionsList({ slug, app, dateFilter, endDate, page, pageSize, startDate, }: {
|
|
2013
|
+
slug: string;
|
|
2014
|
+
/**
|
|
2015
|
+
* The app whose records these are: blank for the CRM, e.g. `recruit`.
|
|
2016
|
+
*/
|
|
2017
|
+
app?: string;
|
|
2018
|
+
/**
|
|
2019
|
+
* Only rows created in this window. `custom` needs `start_date` and `end_date`.
|
|
2020
|
+
*/
|
|
2021
|
+
dateFilter?: 'today' | '7d' | '30d' | '90d' | 'all_time' | 'custom';
|
|
2022
|
+
/**
|
|
2023
|
+
* Last day of a custom window, inclusive (YYYY-MM-DD).
|
|
2024
|
+
*/
|
|
2025
|
+
endDate?: string;
|
|
2026
|
+
/**
|
|
2027
|
+
* A page number within the paginated result set.
|
|
2028
|
+
*/
|
|
2029
|
+
page?: number;
|
|
2030
|
+
/**
|
|
2031
|
+
* Number of results to return per page.
|
|
2032
|
+
*/
|
|
2033
|
+
pageSize?: number;
|
|
2034
|
+
/**
|
|
2035
|
+
* First day of a custom window (YYYY-MM-DD).
|
|
2036
|
+
*/
|
|
2037
|
+
startDate?: string;
|
|
2038
|
+
}): CancelablePromise<PaginatedWebFormSubmissionList>;
|
|
1460
2039
|
}
|