pipedrive 18.1.4 → 19.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (53) hide show
  1. package/README.md +21 -1
  2. package/dist/api/ActivitiesApi.js +72 -0
  3. package/dist/api/DealsApi.js +78 -12
  4. package/dist/api/LeadsApi.js +56 -0
  5. package/dist/api/ProductsApi.js +6 -6
  6. package/dist/api/RolesApi.js +125 -0
  7. package/dist/api/StagesApi.js +7 -1
  8. package/dist/index.js +108 -3
  9. package/dist/model/ActivityCollectionResponseObject.js +637 -0
  10. package/dist/model/ActivityCollectionResponseObjectAllOf.js +346 -0
  11. package/dist/model/ActivityObjectFragment.js +11 -11
  12. package/dist/model/ActivityPostObject.js +32 -17
  13. package/dist/model/ActivityPostObjectAllOf.js +10 -0
  14. package/dist/model/ActivityPutObject.js +32 -17
  15. package/dist/model/ActivityPutObjectAllOf.js +10 -0
  16. package/dist/model/ActivityResponseObject.js +55 -45
  17. package/dist/model/ActivityResponseObjectAllOf.js +22 -22
  18. package/dist/model/AddProductAttachmentDetails.js +28 -27
  19. package/dist/model/AddProductRequestBody.js +18 -11
  20. package/dist/model/AddWebhookRequest.js +29 -0
  21. package/dist/model/AdditionalDataWithCursorPagination.js +79 -0
  22. package/dist/model/AdditionalDataWithOffsetPagination.js +79 -0
  23. package/dist/model/BaseDeal.js +4 -4
  24. package/dist/model/BaseProduct.js +10 -7
  25. package/dist/model/BasicDealProduct.js +18 -7
  26. package/dist/model/DealCollectionResponseObject.js +278 -0
  27. package/dist/model/DealNonStrict.js +7 -7
  28. package/dist/model/DealNonStrictWithDetails.js +7 -7
  29. package/dist/model/DealProductUnitDuration.js +61 -0
  30. package/dist/model/DealStrict.js +7 -7
  31. package/dist/model/DealStrictWithMergeId.js +7 -7
  32. package/dist/model/DeleteDealProductData.js +0 -10
  33. package/dist/model/GetActivitiesCollectionResponse200.js +97 -0
  34. package/dist/model/GetComments.js +3 -3
  35. package/dist/model/GetDealsCollection.js +98 -0
  36. package/dist/model/GetNotes.js +3 -3
  37. package/dist/model/GetRolePipelines.js +108 -0
  38. package/dist/model/GetRolePipelinesAllOf.js +78 -0
  39. package/dist/model/GetRolePipelinesAllOfData.js +89 -0
  40. package/dist/model/ListProductFilesResponse.js +124 -0
  41. package/dist/model/ListProductFilesResponseAllOf.js +89 -0
  42. package/dist/model/NewDealProduct.js +29 -12
  43. package/dist/model/PersonListProduct.js +10 -7
  44. package/dist/model/ProductAttachmentDetails.js +28 -22
  45. package/dist/model/ProductBaseDeal.js +2 -2
  46. package/dist/model/ProductFileItem.js +219 -0
  47. package/dist/model/ProductRequest.js +10 -7
  48. package/dist/model/ProductWithArrayPrices.js +18 -11
  49. package/dist/model/ProductWithObjectPrices.js +18 -11
  50. package/dist/model/PutRolePipelinesBody.js +81 -0
  51. package/dist/model/UpdateDealProduct.js +176 -0
  52. package/dist/model/UpdateProductRequestBody.js +18 -11
  53. package/package.json +1 -1
@@ -0,0 +1,637 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports["default"] = void 0;
8
+ var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
9
+ var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
10
+ var _ApiClient = _interopRequireDefault(require("../ApiClient"));
11
+ var _ActivityCollectionResponseObjectAllOf = _interopRequireDefault(require("./ActivityCollectionResponseObjectAllOf"));
12
+ var _ActivityObjectFragment = _interopRequireDefault(require("./ActivityObjectFragment"));
13
+ /**
14
+ * Pipedrive API v1
15
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
16
+ *
17
+ * The version of the OpenAPI document: 1.0.0
18
+ *
19
+ *
20
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
21
+ * https://openapi-generator.tech
22
+ * Do not edit the class manually.
23
+ *
24
+ */
25
+ /**
26
+ * The ActivityCollectionResponseObject model module.
27
+ * @module model/ActivityCollectionResponseObject
28
+ * @version 1.0.0
29
+ */
30
+ var ActivityCollectionResponseObject = /*#__PURE__*/function () {
31
+ /**
32
+ * Constructs a new <code>ActivityCollectionResponseObject</code>.
33
+ * @alias module:model/ActivityCollectionResponseObject
34
+ * @implements module:model/ActivityObjectFragment
35
+ * @implements module:model/ActivityCollectionResponseObjectAllOf
36
+ */
37
+ function ActivityCollectionResponseObject() {
38
+ (0, _classCallCheck2["default"])(this, ActivityCollectionResponseObject);
39
+ _ActivityObjectFragment["default"].initialize(this);
40
+ _ActivityCollectionResponseObjectAllOf["default"].initialize(this);
41
+ ActivityCollectionResponseObject.initialize(this);
42
+ }
43
+
44
+ /**
45
+ * Initializes the fields of this object.
46
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
47
+ * Only for internal use.
48
+ */
49
+ (0, _createClass2["default"])(ActivityCollectionResponseObject, null, [{
50
+ key: "initialize",
51
+ value: function initialize(obj) {}
52
+
53
+ /**
54
+ * Constructs a <code>ActivityCollectionResponseObject</code> from a plain JavaScript object, optionally creating a new instance.
55
+ * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
56
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
57
+ * @param {module:model/ActivityCollectionResponseObject} obj Optional instance to populate.
58
+ * @return {module:model/ActivityCollectionResponseObject} The populated <code>ActivityCollectionResponseObject</code> instance.
59
+ */
60
+ }, {
61
+ key: "constructFromObject",
62
+ value: function constructFromObject(data, obj) {
63
+ if (data) {
64
+ obj = obj || new ActivityCollectionResponseObject();
65
+ _ActivityObjectFragment["default"].constructFromObject(data, obj);
66
+ _ActivityCollectionResponseObjectAllOf["default"].constructFromObject(data, obj);
67
+ if (data.hasOwnProperty('due_date')) {
68
+ obj['due_date'] = _ApiClient["default"].convertToType(data['due_date'], 'Date');
69
+ delete data['due_date'];
70
+ }
71
+ if (data.hasOwnProperty('due_time')) {
72
+ obj['due_time'] = _ApiClient["default"].convertToType(data['due_time'], 'String');
73
+ delete data['due_time'];
74
+ }
75
+ if (data.hasOwnProperty('duration')) {
76
+ obj['duration'] = _ApiClient["default"].convertToType(data['duration'], 'String');
77
+ delete data['duration'];
78
+ }
79
+ if (data.hasOwnProperty('deal_id')) {
80
+ obj['deal_id'] = _ApiClient["default"].convertToType(data['deal_id'], 'Number');
81
+ delete data['deal_id'];
82
+ }
83
+ if (data.hasOwnProperty('lead_id')) {
84
+ obj['lead_id'] = _ApiClient["default"].convertToType(data['lead_id'], 'String');
85
+ delete data['lead_id'];
86
+ }
87
+ if (data.hasOwnProperty('person_id')) {
88
+ obj['person_id'] = _ApiClient["default"].convertToType(data['person_id'], 'Number');
89
+ delete data['person_id'];
90
+ }
91
+ if (data.hasOwnProperty('project_id')) {
92
+ obj['project_id'] = _ApiClient["default"].convertToType(data['project_id'], 'Number');
93
+ delete data['project_id'];
94
+ }
95
+ if (data.hasOwnProperty('org_id')) {
96
+ obj['org_id'] = _ApiClient["default"].convertToType(data['org_id'], 'Number');
97
+ delete data['org_id'];
98
+ }
99
+ if (data.hasOwnProperty('location')) {
100
+ obj['location'] = _ApiClient["default"].convertToType(data['location'], 'String');
101
+ delete data['location'];
102
+ }
103
+ if (data.hasOwnProperty('public_description')) {
104
+ obj['public_description'] = _ApiClient["default"].convertToType(data['public_description'], 'String');
105
+ delete data['public_description'];
106
+ }
107
+ if (data.hasOwnProperty('id')) {
108
+ obj['id'] = _ApiClient["default"].convertToType(data['id'], 'Number');
109
+ delete data['id'];
110
+ }
111
+ if (data.hasOwnProperty('done')) {
112
+ obj['done'] = _ApiClient["default"].convertToType(data['done'], 'Boolean');
113
+ delete data['done'];
114
+ }
115
+ if (data.hasOwnProperty('subject')) {
116
+ obj['subject'] = _ApiClient["default"].convertToType(data['subject'], 'String');
117
+ delete data['subject'];
118
+ }
119
+ if (data.hasOwnProperty('type')) {
120
+ obj['type'] = _ApiClient["default"].convertToType(data['type'], 'String');
121
+ delete data['type'];
122
+ }
123
+ if (data.hasOwnProperty('user_id')) {
124
+ obj['user_id'] = _ApiClient["default"].convertToType(data['user_id'], 'Number');
125
+ delete data['user_id'];
126
+ }
127
+ if (data.hasOwnProperty('busy_flag')) {
128
+ obj['busy_flag'] = _ApiClient["default"].convertToType(data['busy_flag'], 'Boolean');
129
+ delete data['busy_flag'];
130
+ }
131
+ if (data.hasOwnProperty('company_id')) {
132
+ obj['company_id'] = _ApiClient["default"].convertToType(data['company_id'], 'Number');
133
+ delete data['company_id'];
134
+ }
135
+ if (data.hasOwnProperty('conference_meeting_client')) {
136
+ obj['conference_meeting_client'] = _ApiClient["default"].convertToType(data['conference_meeting_client'], 'String');
137
+ delete data['conference_meeting_client'];
138
+ }
139
+ if (data.hasOwnProperty('conference_meeting_url')) {
140
+ obj['conference_meeting_url'] = _ApiClient["default"].convertToType(data['conference_meeting_url'], 'String');
141
+ delete data['conference_meeting_url'];
142
+ }
143
+ if (data.hasOwnProperty('conference_meeting_id')) {
144
+ obj['conference_meeting_id'] = _ApiClient["default"].convertToType(data['conference_meeting_id'], 'String');
145
+ delete data['conference_meeting_id'];
146
+ }
147
+ if (data.hasOwnProperty('add_time')) {
148
+ obj['add_time'] = _ApiClient["default"].convertToType(data['add_time'], 'String');
149
+ delete data['add_time'];
150
+ }
151
+ if (data.hasOwnProperty('marked_as_done_time')) {
152
+ obj['marked_as_done_time'] = _ApiClient["default"].convertToType(data['marked_as_done_time'], 'String');
153
+ delete data['marked_as_done_time'];
154
+ }
155
+ if (data.hasOwnProperty('active_flag')) {
156
+ obj['active_flag'] = _ApiClient["default"].convertToType(data['active_flag'], 'Boolean');
157
+ delete data['active_flag'];
158
+ }
159
+ if (data.hasOwnProperty('update_time')) {
160
+ obj['update_time'] = _ApiClient["default"].convertToType(data['update_time'], 'String');
161
+ delete data['update_time'];
162
+ }
163
+ if (data.hasOwnProperty('update_user_id')) {
164
+ obj['update_user_id'] = _ApiClient["default"].convertToType(data['update_user_id'], 'Number');
165
+ delete data['update_user_id'];
166
+ }
167
+ if (data.hasOwnProperty('source_timezone')) {
168
+ obj['source_timezone'] = _ApiClient["default"].convertToType(data['source_timezone'], 'String');
169
+ delete data['source_timezone'];
170
+ }
171
+ if (data.hasOwnProperty('location_subpremise')) {
172
+ obj['location_subpremise'] = _ApiClient["default"].convertToType(data['location_subpremise'], 'String');
173
+ delete data['location_subpremise'];
174
+ }
175
+ if (data.hasOwnProperty('location_street_number')) {
176
+ obj['location_street_number'] = _ApiClient["default"].convertToType(data['location_street_number'], 'String');
177
+ delete data['location_street_number'];
178
+ }
179
+ if (data.hasOwnProperty('location_route')) {
180
+ obj['location_route'] = _ApiClient["default"].convertToType(data['location_route'], 'String');
181
+ delete data['location_route'];
182
+ }
183
+ if (data.hasOwnProperty('location_sublocality')) {
184
+ obj['location_sublocality'] = _ApiClient["default"].convertToType(data['location_sublocality'], 'String');
185
+ delete data['location_sublocality'];
186
+ }
187
+ if (data.hasOwnProperty('location_locality')) {
188
+ obj['location_locality'] = _ApiClient["default"].convertToType(data['location_locality'], 'String');
189
+ delete data['location_locality'];
190
+ }
191
+ if (data.hasOwnProperty('location_admin_area_level_1')) {
192
+ obj['location_admin_area_level_1'] = _ApiClient["default"].convertToType(data['location_admin_area_level_1'], 'String');
193
+ delete data['location_admin_area_level_1'];
194
+ }
195
+ if (data.hasOwnProperty('location_admin_area_level_2')) {
196
+ obj['location_admin_area_level_2'] = _ApiClient["default"].convertToType(data['location_admin_area_level_2'], 'String');
197
+ delete data['location_admin_area_level_2'];
198
+ }
199
+ if (data.hasOwnProperty('location_country')) {
200
+ obj['location_country'] = _ApiClient["default"].convertToType(data['location_country'], 'String');
201
+ delete data['location_country'];
202
+ }
203
+ if (data.hasOwnProperty('location_postal_code')) {
204
+ obj['location_postal_code'] = _ApiClient["default"].convertToType(data['location_postal_code'], 'String');
205
+ delete data['location_postal_code'];
206
+ }
207
+ if (data.hasOwnProperty('location_formatted_address')) {
208
+ obj['location_formatted_address'] = _ApiClient["default"].convertToType(data['location_formatted_address'], 'String');
209
+ delete data['location_formatted_address'];
210
+ }
211
+ if (Object.keys(data).length > 0) {
212
+ Object.assign(obj, data);
213
+ }
214
+ }
215
+ return obj;
216
+ }
217
+ }]);
218
+ return ActivityCollectionResponseObject;
219
+ }();
220
+ /**
221
+ * The due date of the activity. Format: YYYY-MM-DD
222
+ * @member {Date} due_date
223
+ */
224
+ ActivityCollectionResponseObject.prototype['due_date'] = undefined;
225
+
226
+ /**
227
+ * The due time of the activity in UTC. Format: HH:MM
228
+ * @member {String} due_time
229
+ */
230
+ ActivityCollectionResponseObject.prototype['due_time'] = undefined;
231
+
232
+ /**
233
+ * The duration of the activity. Format: HH:MM
234
+ * @member {String} duration
235
+ */
236
+ ActivityCollectionResponseObject.prototype['duration'] = undefined;
237
+
238
+ /**
239
+ * The ID of the deal this activity is associated with
240
+ * @member {Number} deal_id
241
+ */
242
+ ActivityCollectionResponseObject.prototype['deal_id'] = undefined;
243
+
244
+ /**
245
+ * The ID of the lead in the UUID format this activity is associated with
246
+ * @member {String} lead_id
247
+ */
248
+ ActivityCollectionResponseObject.prototype['lead_id'] = undefined;
249
+
250
+ /**
251
+ * The ID of the person this activity is associated with
252
+ * @member {Number} person_id
253
+ */
254
+ ActivityCollectionResponseObject.prototype['person_id'] = undefined;
255
+
256
+ /**
257
+ * The ID of the project this activity is associated with
258
+ * @member {Number} project_id
259
+ */
260
+ ActivityCollectionResponseObject.prototype['project_id'] = undefined;
261
+
262
+ /**
263
+ * The ID of the organization this activity is associated with
264
+ * @member {Number} org_id
265
+ */
266
+ ActivityCollectionResponseObject.prototype['org_id'] = undefined;
267
+
268
+ /**
269
+ * The address of the activity. Pipedrive will automatically check if the location matches a geo-location on Google maps.
270
+ * @member {String} location
271
+ */
272
+ ActivityCollectionResponseObject.prototype['location'] = undefined;
273
+
274
+ /**
275
+ * Additional details about the activity that is synced to your external calendar. Unlike the note added to the activity, the description is publicly visible to any guests added to the activity.
276
+ * @member {String} public_description
277
+ */
278
+ ActivityCollectionResponseObject.prototype['public_description'] = undefined;
279
+
280
+ /**
281
+ * The ID of the activity, generated when the activity was created
282
+ * @member {Number} id
283
+ */
284
+ ActivityCollectionResponseObject.prototype['id'] = undefined;
285
+
286
+ /**
287
+ * Whether the activity is done or not
288
+ * @member {Boolean} done
289
+ */
290
+ ActivityCollectionResponseObject.prototype['done'] = undefined;
291
+
292
+ /**
293
+ * The subject of the activity
294
+ * @member {String} subject
295
+ */
296
+ ActivityCollectionResponseObject.prototype['subject'] = undefined;
297
+
298
+ /**
299
+ * The type of the activity. This is in correlation with the `key_string` parameter of ActivityTypes.
300
+ * @member {String} type
301
+ */
302
+ ActivityCollectionResponseObject.prototype['type'] = undefined;
303
+
304
+ /**
305
+ * The ID of the user whom the activity is assigned to
306
+ * @member {Number} user_id
307
+ */
308
+ ActivityCollectionResponseObject.prototype['user_id'] = undefined;
309
+
310
+ /**
311
+ * Marks if the activity is set as 'Busy' or 'Free'. If the flag is set to `true`, your customers will not be able to book that time slot through any Scheduler links. The flag can also be unset. When the value of the flag is unset (`null`), the flag defaults to 'Busy' if it has a time set, and 'Free' if it is an all-day event without specified time.
312
+ * @member {module:model/ActivityCollectionResponseObject.BusyFlagEnum} busy_flag
313
+ */
314
+ ActivityCollectionResponseObject.prototype['busy_flag'] = undefined;
315
+
316
+ /**
317
+ * The user's company ID
318
+ * @member {Number} company_id
319
+ */
320
+ ActivityCollectionResponseObject.prototype['company_id'] = undefined;
321
+
322
+ /**
323
+ * The ID of the Marketplace app, which is connected to this activity
324
+ * @member {String} conference_meeting_client
325
+ */
326
+ ActivityCollectionResponseObject.prototype['conference_meeting_client'] = undefined;
327
+
328
+ /**
329
+ * The link to join the meeting which is associated with this activity
330
+ * @member {String} conference_meeting_url
331
+ */
332
+ ActivityCollectionResponseObject.prototype['conference_meeting_url'] = undefined;
333
+
334
+ /**
335
+ * The meeting ID of the meeting provider (Zoom, MS Teams etc.) that is associated with this activity
336
+ * @member {String} conference_meeting_id
337
+ */
338
+ ActivityCollectionResponseObject.prototype['conference_meeting_id'] = undefined;
339
+
340
+ /**
341
+ * The creation date and time of the activity in UTC. Format: YYYY-MM-DD HH:MM:SS.
342
+ * @member {String} add_time
343
+ */
344
+ ActivityCollectionResponseObject.prototype['add_time'] = undefined;
345
+
346
+ /**
347
+ * The date and time this activity was marked as done. Format: YYYY-MM-DD HH:MM:SS.
348
+ * @member {String} marked_as_done_time
349
+ */
350
+ ActivityCollectionResponseObject.prototype['marked_as_done_time'] = undefined;
351
+
352
+ /**
353
+ * Whether the activity is active or not
354
+ * @member {Boolean} active_flag
355
+ */
356
+ ActivityCollectionResponseObject.prototype['active_flag'] = undefined;
357
+
358
+ /**
359
+ * The last update date and time of the activity. Format: YYYY-MM-DD HH:MM:SS.
360
+ * @member {String} update_time
361
+ */
362
+ ActivityCollectionResponseObject.prototype['update_time'] = undefined;
363
+
364
+ /**
365
+ * The ID of the user who was the last to update this activity
366
+ * @member {Number} update_user_id
367
+ */
368
+ ActivityCollectionResponseObject.prototype['update_user_id'] = undefined;
369
+
370
+ /**
371
+ * The timezone the activity was created in an external calendar
372
+ * @member {String} source_timezone
373
+ */
374
+ ActivityCollectionResponseObject.prototype['source_timezone'] = undefined;
375
+
376
+ /**
377
+ * A subfield of the location field. Indicates apartment/suite number.
378
+ * @member {String} location_subpremise
379
+ */
380
+ ActivityCollectionResponseObject.prototype['location_subpremise'] = undefined;
381
+
382
+ /**
383
+ * A subfield of the location field. Indicates house number.
384
+ * @member {String} location_street_number
385
+ */
386
+ ActivityCollectionResponseObject.prototype['location_street_number'] = undefined;
387
+
388
+ /**
389
+ * A subfield of the location field. Indicates street name.
390
+ * @member {String} location_route
391
+ */
392
+ ActivityCollectionResponseObject.prototype['location_route'] = undefined;
393
+
394
+ /**
395
+ * A subfield of the location field. Indicates district/sublocality.
396
+ * @member {String} location_sublocality
397
+ */
398
+ ActivityCollectionResponseObject.prototype['location_sublocality'] = undefined;
399
+
400
+ /**
401
+ * A subfield of the location field. Indicates city/town/village/locality.
402
+ * @member {String} location_locality
403
+ */
404
+ ActivityCollectionResponseObject.prototype['location_locality'] = undefined;
405
+
406
+ /**
407
+ * A subfield of the location field. Indicates state/county.
408
+ * @member {String} location_admin_area_level_1
409
+ */
410
+ ActivityCollectionResponseObject.prototype['location_admin_area_level_1'] = undefined;
411
+
412
+ /**
413
+ * A subfield of the location field. Indicates region.
414
+ * @member {String} location_admin_area_level_2
415
+ */
416
+ ActivityCollectionResponseObject.prototype['location_admin_area_level_2'] = undefined;
417
+
418
+ /**
419
+ * A subfield of the location field. Indicates country.
420
+ * @member {String} location_country
421
+ */
422
+ ActivityCollectionResponseObject.prototype['location_country'] = undefined;
423
+
424
+ /**
425
+ * A subfield of the location field. Indicates ZIP/postal code.
426
+ * @member {String} location_postal_code
427
+ */
428
+ ActivityCollectionResponseObject.prototype['location_postal_code'] = undefined;
429
+
430
+ /**
431
+ * A subfield of the location field. Indicates full/combined address.
432
+ * @member {String} location_formatted_address
433
+ */
434
+ ActivityCollectionResponseObject.prototype['location_formatted_address'] = undefined;
435
+
436
+ // Implement ActivityObjectFragment interface:
437
+ /**
438
+ * The due date of the activity. Format: YYYY-MM-DD
439
+ * @member {Date} due_date
440
+ */
441
+ _ActivityObjectFragment["default"].prototype['due_date'] = undefined;
442
+ /**
443
+ * The due time of the activity in UTC. Format: HH:MM
444
+ * @member {String} due_time
445
+ */
446
+ _ActivityObjectFragment["default"].prototype['due_time'] = undefined;
447
+ /**
448
+ * The duration of the activity. Format: HH:MM
449
+ * @member {String} duration
450
+ */
451
+ _ActivityObjectFragment["default"].prototype['duration'] = undefined;
452
+ /**
453
+ * The ID of the deal this activity is associated with
454
+ * @member {Number} deal_id
455
+ */
456
+ _ActivityObjectFragment["default"].prototype['deal_id'] = undefined;
457
+ /**
458
+ * The ID of the lead in the UUID format this activity is associated with
459
+ * @member {String} lead_id
460
+ */
461
+ _ActivityObjectFragment["default"].prototype['lead_id'] = undefined;
462
+ /**
463
+ * The ID of the person this activity is associated with
464
+ * @member {Number} person_id
465
+ */
466
+ _ActivityObjectFragment["default"].prototype['person_id'] = undefined;
467
+ /**
468
+ * The ID of the project this activity is associated with
469
+ * @member {Number} project_id
470
+ */
471
+ _ActivityObjectFragment["default"].prototype['project_id'] = undefined;
472
+ /**
473
+ * The ID of the organization this activity is associated with
474
+ * @member {Number} org_id
475
+ */
476
+ _ActivityObjectFragment["default"].prototype['org_id'] = undefined;
477
+ /**
478
+ * The address of the activity. Pipedrive will automatically check if the location matches a geo-location on Google maps.
479
+ * @member {String} location
480
+ */
481
+ _ActivityObjectFragment["default"].prototype['location'] = undefined;
482
+ /**
483
+ * Additional details about the activity that is synced to your external calendar. Unlike the note added to the activity, the description is publicly visible to any guests added to the activity.
484
+ * @member {String} public_description
485
+ */
486
+ _ActivityObjectFragment["default"].prototype['public_description'] = undefined;
487
+ // Implement ActivityCollectionResponseObjectAllOf interface:
488
+ /**
489
+ * The ID of the activity, generated when the activity was created
490
+ * @member {Number} id
491
+ */
492
+ _ActivityCollectionResponseObjectAllOf["default"].prototype['id'] = undefined;
493
+ /**
494
+ * Whether the activity is done or not
495
+ * @member {Boolean} done
496
+ */
497
+ _ActivityCollectionResponseObjectAllOf["default"].prototype['done'] = undefined;
498
+ /**
499
+ * The subject of the activity
500
+ * @member {String} subject
501
+ */
502
+ _ActivityCollectionResponseObjectAllOf["default"].prototype['subject'] = undefined;
503
+ /**
504
+ * The type of the activity. This is in correlation with the `key_string` parameter of ActivityTypes.
505
+ * @member {String} type
506
+ */
507
+ _ActivityCollectionResponseObjectAllOf["default"].prototype['type'] = undefined;
508
+ /**
509
+ * The ID of the user whom the activity is assigned to
510
+ * @member {Number} user_id
511
+ */
512
+ _ActivityCollectionResponseObjectAllOf["default"].prototype['user_id'] = undefined;
513
+ /**
514
+ * Marks if the activity is set as 'Busy' or 'Free'. If the flag is set to `true`, your customers will not be able to book that time slot through any Scheduler links. The flag can also be unset. When the value of the flag is unset (`null`), the flag defaults to 'Busy' if it has a time set, and 'Free' if it is an all-day event without specified time.
515
+ * @member {module:model/ActivityCollectionResponseObjectAllOf.BusyFlagEnum} busy_flag
516
+ */
517
+ _ActivityCollectionResponseObjectAllOf["default"].prototype['busy_flag'] = undefined;
518
+ /**
519
+ * The user's company ID
520
+ * @member {Number} company_id
521
+ */
522
+ _ActivityCollectionResponseObjectAllOf["default"].prototype['company_id'] = undefined;
523
+ /**
524
+ * The ID of the Marketplace app, which is connected to this activity
525
+ * @member {String} conference_meeting_client
526
+ */
527
+ _ActivityCollectionResponseObjectAllOf["default"].prototype['conference_meeting_client'] = undefined;
528
+ /**
529
+ * The link to join the meeting which is associated with this activity
530
+ * @member {String} conference_meeting_url
531
+ */
532
+ _ActivityCollectionResponseObjectAllOf["default"].prototype['conference_meeting_url'] = undefined;
533
+ /**
534
+ * The meeting ID of the meeting provider (Zoom, MS Teams etc.) that is associated with this activity
535
+ * @member {String} conference_meeting_id
536
+ */
537
+ _ActivityCollectionResponseObjectAllOf["default"].prototype['conference_meeting_id'] = undefined;
538
+ /**
539
+ * The creation date and time of the activity in UTC. Format: YYYY-MM-DD HH:MM:SS.
540
+ * @member {String} add_time
541
+ */
542
+ _ActivityCollectionResponseObjectAllOf["default"].prototype['add_time'] = undefined;
543
+ /**
544
+ * The date and time this activity was marked as done. Format: YYYY-MM-DD HH:MM:SS.
545
+ * @member {String} marked_as_done_time
546
+ */
547
+ _ActivityCollectionResponseObjectAllOf["default"].prototype['marked_as_done_time'] = undefined;
548
+ /**
549
+ * Whether the activity is active or not
550
+ * @member {Boolean} active_flag
551
+ */
552
+ _ActivityCollectionResponseObjectAllOf["default"].prototype['active_flag'] = undefined;
553
+ /**
554
+ * The last update date and time of the activity. Format: YYYY-MM-DD HH:MM:SS.
555
+ * @member {String} update_time
556
+ */
557
+ _ActivityCollectionResponseObjectAllOf["default"].prototype['update_time'] = undefined;
558
+ /**
559
+ * The ID of the user who was the last to update this activity
560
+ * @member {Number} update_user_id
561
+ */
562
+ _ActivityCollectionResponseObjectAllOf["default"].prototype['update_user_id'] = undefined;
563
+ /**
564
+ * The timezone the activity was created in an external calendar
565
+ * @member {String} source_timezone
566
+ */
567
+ _ActivityCollectionResponseObjectAllOf["default"].prototype['source_timezone'] = undefined;
568
+ /**
569
+ * A subfield of the location field. Indicates apartment/suite number.
570
+ * @member {String} location_subpremise
571
+ */
572
+ _ActivityCollectionResponseObjectAllOf["default"].prototype['location_subpremise'] = undefined;
573
+ /**
574
+ * A subfield of the location field. Indicates house number.
575
+ * @member {String} location_street_number
576
+ */
577
+ _ActivityCollectionResponseObjectAllOf["default"].prototype['location_street_number'] = undefined;
578
+ /**
579
+ * A subfield of the location field. Indicates street name.
580
+ * @member {String} location_route
581
+ */
582
+ _ActivityCollectionResponseObjectAllOf["default"].prototype['location_route'] = undefined;
583
+ /**
584
+ * A subfield of the location field. Indicates district/sublocality.
585
+ * @member {String} location_sublocality
586
+ */
587
+ _ActivityCollectionResponseObjectAllOf["default"].prototype['location_sublocality'] = undefined;
588
+ /**
589
+ * A subfield of the location field. Indicates city/town/village/locality.
590
+ * @member {String} location_locality
591
+ */
592
+ _ActivityCollectionResponseObjectAllOf["default"].prototype['location_locality'] = undefined;
593
+ /**
594
+ * A subfield of the location field. Indicates state/county.
595
+ * @member {String} location_admin_area_level_1
596
+ */
597
+ _ActivityCollectionResponseObjectAllOf["default"].prototype['location_admin_area_level_1'] = undefined;
598
+ /**
599
+ * A subfield of the location field. Indicates region.
600
+ * @member {String} location_admin_area_level_2
601
+ */
602
+ _ActivityCollectionResponseObjectAllOf["default"].prototype['location_admin_area_level_2'] = undefined;
603
+ /**
604
+ * A subfield of the location field. Indicates country.
605
+ * @member {String} location_country
606
+ */
607
+ _ActivityCollectionResponseObjectAllOf["default"].prototype['location_country'] = undefined;
608
+ /**
609
+ * A subfield of the location field. Indicates ZIP/postal code.
610
+ * @member {String} location_postal_code
611
+ */
612
+ _ActivityCollectionResponseObjectAllOf["default"].prototype['location_postal_code'] = undefined;
613
+ /**
614
+ * A subfield of the location field. Indicates full/combined address.
615
+ * @member {String} location_formatted_address
616
+ */
617
+ _ActivityCollectionResponseObjectAllOf["default"].prototype['location_formatted_address'] = undefined;
618
+
619
+ /**
620
+ * Allowed values for the <code>busy_flag</code> property.
621
+ * @enum {Boolean}
622
+ * @readonly
623
+ */
624
+ ActivityCollectionResponseObject['BusyFlagEnum'] = {
625
+ /**
626
+ * value: "true"
627
+ * @const
628
+ */
629
+ "true": "true",
630
+ /**
631
+ * value: "false"
632
+ * @const
633
+ */
634
+ "false": "false"
635
+ };
636
+ var _default = ActivityCollectionResponseObject;
637
+ exports["default"] = _default;