pipedrive 22.6.0 → 22.7.0
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +9 -6
- package/dist/ApiClient.js +8 -4
- package/dist/api/ActivitiesApi.js +12 -1
- package/dist/api/ActivityFieldsApi.js +12 -1
- package/dist/api/ActivityTypesApi.js +12 -1
- package/dist/api/BillingApi.js +12 -1
- package/dist/api/CallLogsApi.js +12 -1
- package/dist/api/ChannelsApi.js +12 -1
- package/dist/api/CurrenciesApi.js +12 -1
- package/dist/api/DealFieldsApi.js +12 -1
- package/dist/api/DealsApi.js +12 -1
- package/dist/api/FilesApi.js +12 -1
- package/dist/api/FiltersApi.js +12 -1
- package/dist/api/GlobalMessagesApi.js +12 -1
- package/dist/api/GoalsApi.js +12 -1
- package/dist/api/ItemSearchApi.js +12 -1
- package/dist/api/LeadLabelsApi.js +12 -1
- package/dist/api/LeadSourcesApi.js +12 -1
- package/dist/api/LeadsApi.js +12 -1
- package/dist/api/LegacyTeamsApi.js +12 -1
- package/dist/api/MailboxApi.js +12 -1
- package/dist/api/MeetingsApi.js +12 -1
- package/dist/api/NoteFieldsApi.js +12 -1
- package/dist/api/NotesApi.js +12 -1
- package/dist/api/OrganizationFieldsApi.js +12 -1
- package/dist/api/OrganizationRelationshipsApi.js +12 -1
- package/dist/api/OrganizationsApi.js +12 -1
- package/dist/api/PermissionSetsApi.js +12 -1
- package/dist/api/PersonFieldsApi.js +12 -1
- package/dist/api/PersonsApi.js +12 -1
- package/dist/api/PipelinesApi.js +12 -1
- package/dist/api/ProductFieldsApi.js +12 -1
- package/dist/api/ProductsApi.js +12 -1
- package/dist/api/ProjectTemplatesApi.js +12 -1
- package/dist/api/ProjectsApi.js +12 -1
- package/dist/api/RecentsApi.js +12 -1
- package/dist/api/RolesApi.js +12 -1
- package/dist/api/SearchResultsApi.js +12 -1
- package/dist/api/StagesApi.js +12 -1
- package/dist/api/SubscriptionsApi.js +12 -1
- package/dist/api/TasksApi.js +12 -1
- package/dist/api/TeamsApi.js +12 -1
- package/dist/api/UserConnectionsApi.js +12 -1
- package/dist/api/UserSettingsApi.js +12 -1
- package/dist/api/UsersApi.js +12 -1
- package/dist/api/WebhooksApi.js +12 -1
- package/dist/index.js +63 -42
- package/dist/model/AddProductAttachmentDetails.js +60 -23
- package/dist/model/AddProductRequestBody.js +50 -14
- package/dist/model/AddProductRequestBodyAllOf.js +78 -0
- package/dist/model/BaseProduct.js +60 -1
- package/dist/model/BaseUser.js +10 -0
- package/dist/model/BaseUserMe.js +15 -0
- package/dist/model/BasicDealProduct.js +139 -16
- package/dist/model/BasicDealProductAllOf.js +235 -0
- package/dist/model/BillingFrequency.js +86 -0
- package/dist/model/BillingFrequency1.js +86 -0
- package/dist/model/DealProductRequestBody.js +235 -0
- package/dist/model/DealProductUnitDuration.js +20 -0
- package/dist/model/Field.js +10 -0
- package/dist/model/FieldTypeAsString.js +68 -0
- package/dist/model/FilterType.js +28 -0
- package/dist/model/IconKey.js +160 -0
- package/dist/model/LeadLabelColor.js +24 -0
- package/dist/model/ListPermittedUsersResponse.js +0 -19
- package/dist/model/MarketingStatus.js +16 -0
- package/dist/model/NameObject.js +78 -0
- package/dist/model/NewDealProduct.js +95 -43
- package/dist/model/NewDealProductAllOf.js +9 -12
- package/dist/model/NewDealProductAllOf1.js +78 -0
- package/dist/model/NewDealProductAllOf2.js +78 -0
- package/dist/model/NumberBoolean.js +8 -0
- package/dist/model/NumberBooleanDefault0.js +8 -0
- package/dist/model/NumberBooleanDefault1.js +8 -0
- package/dist/model/PersonListProduct.js +1 -1
- package/dist/model/ProductAttachmentDetails.js +60 -23
- package/dist/model/ProductField.js +15 -0
- package/dist/model/ProductFieldAllOf.js +10 -0
- package/dist/model/ProductListItem.js +6 -6
- package/dist/model/ProductRequest.js +1 -1
- package/dist/model/ProductWithArrayPrices.js +72 -2
- package/dist/model/UpdateDealProduct.js +135 -5
- package/dist/model/UpdateProductRequestBody.js +50 -14
- package/dist/model/UpdateProductResponse.js +3 -3
- package/dist/model/VisibleTo.js +16 -0
- package/package.json +1 -1
@@ -0,0 +1,86 @@
|
|
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 _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
11
|
+
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
12
|
+
/**
|
13
|
+
* Pipedrive API v1
|
14
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
15
|
+
*
|
16
|
+
* The version of the OpenAPI document: 1.0.0
|
17
|
+
*
|
18
|
+
*
|
19
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
20
|
+
* https://openapi-generator.tech
|
21
|
+
* Do not edit the class manually.
|
22
|
+
*
|
23
|
+
*/
|
24
|
+
/**
|
25
|
+
* Enum class BillingFrequency.
|
26
|
+
* @enum {}
|
27
|
+
* @readonly
|
28
|
+
*/
|
29
|
+
var BillingFrequency = /*#__PURE__*/function () {
|
30
|
+
function BillingFrequency() {
|
31
|
+
(0, _classCallCheck2["default"])(this, BillingFrequency);
|
32
|
+
(0, _defineProperty2["default"])(this, "one-time", "one-time");
|
33
|
+
(0, _defineProperty2["default"])(this, "annually", "annually");
|
34
|
+
(0, _defineProperty2["default"])(this, "semi-annually", "semi-annually");
|
35
|
+
(0, _defineProperty2["default"])(this, "quarterly", "quarterly");
|
36
|
+
(0, _defineProperty2["default"])(this, "monthly", "monthly");
|
37
|
+
(0, _defineProperty2["default"])(this, "weekly", "weekly");
|
38
|
+
}
|
39
|
+
/**
|
40
|
+
* value: "one-time"
|
41
|
+
* @const
|
42
|
+
*/
|
43
|
+
/**
|
44
|
+
* value: "annually"
|
45
|
+
* @const
|
46
|
+
*/
|
47
|
+
/**
|
48
|
+
* value: "semi-annually"
|
49
|
+
* @const
|
50
|
+
*/
|
51
|
+
/**
|
52
|
+
* value: "quarterly"
|
53
|
+
* @const
|
54
|
+
*/
|
55
|
+
/**
|
56
|
+
* value: "monthly"
|
57
|
+
* @const
|
58
|
+
*/
|
59
|
+
/**
|
60
|
+
* value: "weekly"
|
61
|
+
* @const
|
62
|
+
*/
|
63
|
+
(0, _createClass2["default"])(BillingFrequency, null, [{
|
64
|
+
key: "constructFromObject",
|
65
|
+
value:
|
66
|
+
/**
|
67
|
+
* Returns a <code>BillingFrequency</code> enum value from a Javascript object name.
|
68
|
+
* @param {Object} data The plain JavaScript object containing the name of the enum value.
|
69
|
+
* @return {module:model/BillingFrequency} The enum <code>BillingFrequency</code> value.
|
70
|
+
*/
|
71
|
+
function constructFromObject(object) {
|
72
|
+
return object;
|
73
|
+
}
|
74
|
+
|
75
|
+
/**
|
76
|
+
* Initializes the fields of this object.
|
77
|
+
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
78
|
+
* Only for internal use.
|
79
|
+
*/
|
80
|
+
}, {
|
81
|
+
key: "initialize",
|
82
|
+
value: function initialize(obj) {}
|
83
|
+
}]);
|
84
|
+
return BillingFrequency;
|
85
|
+
}();
|
86
|
+
exports["default"] = BillingFrequency;
|
@@ -0,0 +1,86 @@
|
|
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 _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
11
|
+
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
12
|
+
/**
|
13
|
+
* Pipedrive API v1
|
14
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
15
|
+
*
|
16
|
+
* The version of the OpenAPI document: 1.0.0
|
17
|
+
*
|
18
|
+
*
|
19
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
20
|
+
* https://openapi-generator.tech
|
21
|
+
* Do not edit the class manually.
|
22
|
+
*
|
23
|
+
*/
|
24
|
+
/**
|
25
|
+
* Enum class BillingFrequency1.
|
26
|
+
* @enum {}
|
27
|
+
* @readonly
|
28
|
+
*/
|
29
|
+
var BillingFrequency1 = /*#__PURE__*/function () {
|
30
|
+
function BillingFrequency1() {
|
31
|
+
(0, _classCallCheck2["default"])(this, BillingFrequency1);
|
32
|
+
(0, _defineProperty2["default"])(this, "one-time", "one-time");
|
33
|
+
(0, _defineProperty2["default"])(this, "annually", "annually");
|
34
|
+
(0, _defineProperty2["default"])(this, "semi-annually", "semi-annually");
|
35
|
+
(0, _defineProperty2["default"])(this, "quarterly", "quarterly");
|
36
|
+
(0, _defineProperty2["default"])(this, "monthly", "monthly");
|
37
|
+
(0, _defineProperty2["default"])(this, "weekly", "weekly");
|
38
|
+
}
|
39
|
+
/**
|
40
|
+
* value: "one-time"
|
41
|
+
* @const
|
42
|
+
*/
|
43
|
+
/**
|
44
|
+
* value: "annually"
|
45
|
+
* @const
|
46
|
+
*/
|
47
|
+
/**
|
48
|
+
* value: "semi-annually"
|
49
|
+
* @const
|
50
|
+
*/
|
51
|
+
/**
|
52
|
+
* value: "quarterly"
|
53
|
+
* @const
|
54
|
+
*/
|
55
|
+
/**
|
56
|
+
* value: "monthly"
|
57
|
+
* @const
|
58
|
+
*/
|
59
|
+
/**
|
60
|
+
* value: "weekly"
|
61
|
+
* @const
|
62
|
+
*/
|
63
|
+
(0, _createClass2["default"])(BillingFrequency1, null, [{
|
64
|
+
key: "constructFromObject",
|
65
|
+
value:
|
66
|
+
/**
|
67
|
+
* Returns a <code>BillingFrequency1</code> enum value from a Javascript object name.
|
68
|
+
* @param {Object} data The plain JavaScript object containing the name of the enum value.
|
69
|
+
* @return {module:model/BillingFrequency1} The enum <code>BillingFrequency1</code> value.
|
70
|
+
*/
|
71
|
+
function constructFromObject(object) {
|
72
|
+
return object;
|
73
|
+
}
|
74
|
+
|
75
|
+
/**
|
76
|
+
* Initializes the fields of this object.
|
77
|
+
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
78
|
+
* Only for internal use.
|
79
|
+
*/
|
80
|
+
}, {
|
81
|
+
key: "initialize",
|
82
|
+
value: function initialize(obj) {}
|
83
|
+
}]);
|
84
|
+
return BillingFrequency1;
|
85
|
+
}();
|
86
|
+
exports["default"] = BillingFrequency1;
|
@@ -0,0 +1,235 @@
|
|
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 _DealProductUnitDuration = _interopRequireDefault(require("./DealProductUnitDuration"));
|
12
|
+
/**
|
13
|
+
* Pipedrive API v1
|
14
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
15
|
+
*
|
16
|
+
* The version of the OpenAPI document: 1.0.0
|
17
|
+
*
|
18
|
+
*
|
19
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
20
|
+
* https://openapi-generator.tech
|
21
|
+
* Do not edit the class manually.
|
22
|
+
*
|
23
|
+
*/
|
24
|
+
/**
|
25
|
+
* The DealProductRequestBody model module.
|
26
|
+
* @module model/DealProductRequestBody
|
27
|
+
* @version 1.0.0
|
28
|
+
*/
|
29
|
+
var DealProductRequestBody = /*#__PURE__*/function () {
|
30
|
+
/**
|
31
|
+
* Constructs a new <code>DealProductRequestBody</code>.
|
32
|
+
* @alias module:model/DealProductRequestBody
|
33
|
+
*/
|
34
|
+
function DealProductRequestBody() {
|
35
|
+
(0, _classCallCheck2["default"])(this, DealProductRequestBody);
|
36
|
+
DealProductRequestBody.initialize(this);
|
37
|
+
}
|
38
|
+
|
39
|
+
/**
|
40
|
+
* Initializes the fields of this object.
|
41
|
+
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
42
|
+
* Only for internal use.
|
43
|
+
*/
|
44
|
+
(0, _createClass2["default"])(DealProductRequestBody, null, [{
|
45
|
+
key: "initialize",
|
46
|
+
value: function initialize(obj) {}
|
47
|
+
|
48
|
+
/**
|
49
|
+
* Constructs a <code>DealProductRequestBody</code> from a plain JavaScript object, optionally creating a new instance.
|
50
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
51
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
52
|
+
* @param {module:model/DealProductRequestBody} obj Optional instance to populate.
|
53
|
+
* @return {module:model/DealProductRequestBody} The populated <code>DealProductRequestBody</code> instance.
|
54
|
+
*/
|
55
|
+
}, {
|
56
|
+
key: "constructFromObject",
|
57
|
+
value: function constructFromObject(data, obj) {
|
58
|
+
if (data) {
|
59
|
+
obj = obj || new DealProductRequestBody();
|
60
|
+
if (data.hasOwnProperty('product_id')) {
|
61
|
+
obj['product_id'] = _ApiClient["default"].convertToType(data['product_id'], 'Number');
|
62
|
+
delete data['product_id'];
|
63
|
+
}
|
64
|
+
if (data.hasOwnProperty('item_price')) {
|
65
|
+
obj['item_price'] = _ApiClient["default"].convertToType(data['item_price'], 'Number');
|
66
|
+
delete data['item_price'];
|
67
|
+
}
|
68
|
+
if (data.hasOwnProperty('quantity')) {
|
69
|
+
obj['quantity'] = _ApiClient["default"].convertToType(data['quantity'], 'Number');
|
70
|
+
delete data['quantity'];
|
71
|
+
}
|
72
|
+
if (data.hasOwnProperty('discount')) {
|
73
|
+
obj['discount'] = _ApiClient["default"].convertToType(data['discount'], 'Number');
|
74
|
+
delete data['discount'];
|
75
|
+
}
|
76
|
+
if (data.hasOwnProperty('discount_type')) {
|
77
|
+
obj['discount_type'] = _ApiClient["default"].convertToType(data['discount_type'], 'String');
|
78
|
+
delete data['discount_type'];
|
79
|
+
}
|
80
|
+
if (data.hasOwnProperty('duration')) {
|
81
|
+
obj['duration'] = _ApiClient["default"].convertToType(data['duration'], 'Number');
|
82
|
+
delete data['duration'];
|
83
|
+
}
|
84
|
+
if (data.hasOwnProperty('duration_unit')) {
|
85
|
+
obj['duration_unit'] = _ApiClient["default"].convertToType(data['duration_unit'], _DealProductUnitDuration["default"]);
|
86
|
+
delete data['duration_unit'];
|
87
|
+
}
|
88
|
+
if (data.hasOwnProperty('product_variation_id')) {
|
89
|
+
obj['product_variation_id'] = _ApiClient["default"].convertToType(data['product_variation_id'], 'Number');
|
90
|
+
delete data['product_variation_id'];
|
91
|
+
}
|
92
|
+
if (data.hasOwnProperty('comments')) {
|
93
|
+
obj['comments'] = _ApiClient["default"].convertToType(data['comments'], 'String');
|
94
|
+
delete data['comments'];
|
95
|
+
}
|
96
|
+
if (data.hasOwnProperty('tax')) {
|
97
|
+
obj['tax'] = _ApiClient["default"].convertToType(data['tax'], 'Number');
|
98
|
+
delete data['tax'];
|
99
|
+
}
|
100
|
+
if (data.hasOwnProperty('tax_method')) {
|
101
|
+
obj['tax_method'] = _ApiClient["default"].convertToType(data['tax_method'], 'String');
|
102
|
+
delete data['tax_method'];
|
103
|
+
}
|
104
|
+
if (data.hasOwnProperty('enabled_flag')) {
|
105
|
+
obj['enabled_flag'] = _ApiClient["default"].convertToType(data['enabled_flag'], 'Boolean');
|
106
|
+
delete data['enabled_flag'];
|
107
|
+
}
|
108
|
+
if (Object.keys(data).length > 0) {
|
109
|
+
Object.assign(obj, data);
|
110
|
+
}
|
111
|
+
}
|
112
|
+
return obj;
|
113
|
+
}
|
114
|
+
}]);
|
115
|
+
return DealProductRequestBody;
|
116
|
+
}();
|
117
|
+
/**
|
118
|
+
* The ID of the product to use
|
119
|
+
* @member {Number} product_id
|
120
|
+
*/
|
121
|
+
DealProductRequestBody.prototype['product_id'] = undefined;
|
122
|
+
|
123
|
+
/**
|
124
|
+
* The price at which this product will be added to the deal
|
125
|
+
* @member {Number} item_price
|
126
|
+
*/
|
127
|
+
DealProductRequestBody.prototype['item_price'] = undefined;
|
128
|
+
|
129
|
+
/**
|
130
|
+
* How many items of this product will be added to the deal
|
131
|
+
* @member {Number} quantity
|
132
|
+
*/
|
133
|
+
DealProductRequestBody.prototype['quantity'] = undefined;
|
134
|
+
|
135
|
+
/**
|
136
|
+
* The value of the discount. The `discount_type` field can be used to specify whether the value is an amount or a percentage
|
137
|
+
* @member {Number} discount
|
138
|
+
* @default 0
|
139
|
+
*/
|
140
|
+
DealProductRequestBody.prototype['discount'] = 0;
|
141
|
+
|
142
|
+
/**
|
143
|
+
* The type of the discount's value
|
144
|
+
* @member {module:model/DealProductRequestBody.DiscountTypeEnum} discount_type
|
145
|
+
* @default 'percentage'
|
146
|
+
*/
|
147
|
+
DealProductRequestBody.prototype['discount_type'] = 'percentage';
|
148
|
+
|
149
|
+
/**
|
150
|
+
* The duration of the product
|
151
|
+
* @member {Number} duration
|
152
|
+
* @default 1
|
153
|
+
*/
|
154
|
+
DealProductRequestBody.prototype['duration'] = 1;
|
155
|
+
|
156
|
+
/**
|
157
|
+
* The unit duration of the product
|
158
|
+
* @member {module:model/DealProductUnitDuration} duration_unit
|
159
|
+
*/
|
160
|
+
DealProductRequestBody.prototype['duration_unit'] = undefined;
|
161
|
+
|
162
|
+
/**
|
163
|
+
* The ID of the product variation to use. When omitted, no variation will be used
|
164
|
+
* @member {Number} product_variation_id
|
165
|
+
*/
|
166
|
+
DealProductRequestBody.prototype['product_variation_id'] = undefined;
|
167
|
+
|
168
|
+
/**
|
169
|
+
* A textual comment associated with this product-deal attachment
|
170
|
+
* @member {String} comments
|
171
|
+
*/
|
172
|
+
DealProductRequestBody.prototype['comments'] = undefined;
|
173
|
+
|
174
|
+
/**
|
175
|
+
* The tax percentage
|
176
|
+
* @member {Number} tax
|
177
|
+
* @default 0
|
178
|
+
*/
|
179
|
+
DealProductRequestBody.prototype['tax'] = 0;
|
180
|
+
|
181
|
+
/**
|
182
|
+
* The tax option to be applied to the products. When using `inclusive`, the tax percentage will already be included in the price. When using `exclusive`, the tax will not be included in the price. When using `none`, no tax will be added. Use the `tax` field for defining the tax percentage amount
|
183
|
+
* @member {module:model/DealProductRequestBody.TaxMethodEnum} tax_method
|
184
|
+
*/
|
185
|
+
DealProductRequestBody.prototype['tax_method'] = undefined;
|
186
|
+
|
187
|
+
/**
|
188
|
+
* Whether the product is enabled for a deal or not. This makes it possible to add products to a deal with a specific price and discount criteria, but keep them disabled, which refrains them from being included in the deal value calculation. When omitted, the product will be marked as enabled by default
|
189
|
+
* @member {Boolean} enabled_flag
|
190
|
+
* @default true
|
191
|
+
*/
|
192
|
+
DealProductRequestBody.prototype['enabled_flag'] = true;
|
193
|
+
|
194
|
+
/**
|
195
|
+
* Allowed values for the <code>discount_type</code> property.
|
196
|
+
* @enum {String}
|
197
|
+
* @readonly
|
198
|
+
*/
|
199
|
+
DealProductRequestBody['DiscountTypeEnum'] = {
|
200
|
+
/**
|
201
|
+
* value: "percentage"
|
202
|
+
* @const
|
203
|
+
*/
|
204
|
+
"percentage": "percentage",
|
205
|
+
/**
|
206
|
+
* value: "amount"
|
207
|
+
* @const
|
208
|
+
*/
|
209
|
+
"amount": "amount"
|
210
|
+
};
|
211
|
+
|
212
|
+
/**
|
213
|
+
* Allowed values for the <code>tax_method</code> property.
|
214
|
+
* @enum {String}
|
215
|
+
* @readonly
|
216
|
+
*/
|
217
|
+
DealProductRequestBody['TaxMethodEnum'] = {
|
218
|
+
/**
|
219
|
+
* value: "exclusive"
|
220
|
+
* @const
|
221
|
+
*/
|
222
|
+
"exclusive": "exclusive",
|
223
|
+
/**
|
224
|
+
* value: "inclusive"
|
225
|
+
* @const
|
226
|
+
*/
|
227
|
+
"inclusive": "inclusive",
|
228
|
+
/**
|
229
|
+
* value: "none"
|
230
|
+
* @const
|
231
|
+
*/
|
232
|
+
"none": "none"
|
233
|
+
};
|
234
|
+
var _default = DealProductRequestBody;
|
235
|
+
exports["default"] = _default;
|
@@ -35,6 +35,26 @@ var DealProductUnitDuration = /*#__PURE__*/function () {
|
|
35
35
|
(0, _defineProperty2["default"])(this, "monthly", "monthly");
|
36
36
|
(0, _defineProperty2["default"])(this, "yearly", "yearly");
|
37
37
|
}
|
38
|
+
/**
|
39
|
+
* value: "hourly"
|
40
|
+
* @const
|
41
|
+
*/
|
42
|
+
/**
|
43
|
+
* value: "daily"
|
44
|
+
* @const
|
45
|
+
*/
|
46
|
+
/**
|
47
|
+
* value: "weekly"
|
48
|
+
* @const
|
49
|
+
*/
|
50
|
+
/**
|
51
|
+
* value: "monthly"
|
52
|
+
* @const
|
53
|
+
*/
|
54
|
+
/**
|
55
|
+
* value: "yearly"
|
56
|
+
* @const
|
57
|
+
*/
|
38
58
|
(0, _createClass2["default"])(DealProductUnitDuration, null, [{
|
39
59
|
key: "constructFromObject",
|
40
60
|
value:
|
package/dist/model/Field.js
CHANGED
@@ -89,6 +89,10 @@ var Field = /*#__PURE__*/function () {
|
|
89
89
|
obj['last_updated_by_user_id'] = _ApiClient["default"].convertToType(data['last_updated_by_user_id'], 'Number');
|
90
90
|
delete data['last_updated_by_user_id'];
|
91
91
|
}
|
92
|
+
if (data.hasOwnProperty('created_by_user_id')) {
|
93
|
+
obj['created_by_user_id'] = _ApiClient["default"].convertToType(data['created_by_user_id'], 'Number');
|
94
|
+
delete data['created_by_user_id'];
|
95
|
+
}
|
92
96
|
if (data.hasOwnProperty('active_flag')) {
|
93
97
|
obj['active_flag'] = _ApiClient["default"].convertToType(data['active_flag'], 'Boolean');
|
94
98
|
delete data['active_flag'];
|
@@ -205,6 +209,12 @@ Field.prototype['update_time'] = undefined;
|
|
205
209
|
*/
|
206
210
|
Field.prototype['last_updated_by_user_id'] = undefined;
|
207
211
|
|
212
|
+
/**
|
213
|
+
* The ID of the user who created the field
|
214
|
+
* @member {Number} created_by_user_id
|
215
|
+
*/
|
216
|
+
Field.prototype['created_by_user_id'] = undefined;
|
217
|
+
|
208
218
|
/**
|
209
219
|
* The active flag of the field
|
210
220
|
* @member {Boolean} active_flag
|
@@ -47,6 +47,74 @@ var FieldTypeAsString = /*#__PURE__*/function () {
|
|
47
47
|
(0, _defineProperty2["default"])(this, "varchar_auto", "varchar_auto");
|
48
48
|
(0, _defineProperty2["default"])(this, "visible_to", "visible_to");
|
49
49
|
}
|
50
|
+
/**
|
51
|
+
* value: "address"
|
52
|
+
* @const
|
53
|
+
*/
|
54
|
+
/**
|
55
|
+
* value: "date"
|
56
|
+
* @const
|
57
|
+
*/
|
58
|
+
/**
|
59
|
+
* value: "daterange"
|
60
|
+
* @const
|
61
|
+
*/
|
62
|
+
/**
|
63
|
+
* value: "double"
|
64
|
+
* @const
|
65
|
+
*/
|
66
|
+
/**
|
67
|
+
* value: "enum"
|
68
|
+
* @const
|
69
|
+
*/
|
70
|
+
/**
|
71
|
+
* value: "monetary"
|
72
|
+
* @const
|
73
|
+
*/
|
74
|
+
/**
|
75
|
+
* value: "org"
|
76
|
+
* @const
|
77
|
+
*/
|
78
|
+
/**
|
79
|
+
* value: "people"
|
80
|
+
* @const
|
81
|
+
*/
|
82
|
+
/**
|
83
|
+
* value: "phone"
|
84
|
+
* @const
|
85
|
+
*/
|
86
|
+
/**
|
87
|
+
* value: "set"
|
88
|
+
* @const
|
89
|
+
*/
|
90
|
+
/**
|
91
|
+
* value: "text"
|
92
|
+
* @const
|
93
|
+
*/
|
94
|
+
/**
|
95
|
+
* value: "time"
|
96
|
+
* @const
|
97
|
+
*/
|
98
|
+
/**
|
99
|
+
* value: "timerange"
|
100
|
+
* @const
|
101
|
+
*/
|
102
|
+
/**
|
103
|
+
* value: "user"
|
104
|
+
* @const
|
105
|
+
*/
|
106
|
+
/**
|
107
|
+
* value: "varchar"
|
108
|
+
* @const
|
109
|
+
*/
|
110
|
+
/**
|
111
|
+
* value: "varchar_auto"
|
112
|
+
* @const
|
113
|
+
*/
|
114
|
+
/**
|
115
|
+
* value: "visible_to"
|
116
|
+
* @const
|
117
|
+
*/
|
50
118
|
(0, _createClass2["default"])(FieldTypeAsString, null, [{
|
51
119
|
key: "constructFromObject",
|
52
120
|
value:
|
package/dist/model/FilterType.js
CHANGED
@@ -37,6 +37,34 @@ var FilterType = /*#__PURE__*/function () {
|
|
37
37
|
(0, _defineProperty2["default"])(this, "activity", "activity");
|
38
38
|
(0, _defineProperty2["default"])(this, "projects", "projects");
|
39
39
|
}
|
40
|
+
/**
|
41
|
+
* value: "deals"
|
42
|
+
* @const
|
43
|
+
*/
|
44
|
+
/**
|
45
|
+
* value: "leads"
|
46
|
+
* @const
|
47
|
+
*/
|
48
|
+
/**
|
49
|
+
* value: "org"
|
50
|
+
* @const
|
51
|
+
*/
|
52
|
+
/**
|
53
|
+
* value: "people"
|
54
|
+
* @const
|
55
|
+
*/
|
56
|
+
/**
|
57
|
+
* value: "products"
|
58
|
+
* @const
|
59
|
+
*/
|
60
|
+
/**
|
61
|
+
* value: "activity"
|
62
|
+
* @const
|
63
|
+
*/
|
64
|
+
/**
|
65
|
+
* value: "projects"
|
66
|
+
* @const
|
67
|
+
*/
|
40
68
|
(0, _createClass2["default"])(FilterType, null, [{
|
41
69
|
key: "constructFromObject",
|
42
70
|
value:
|