pipedrive 22.3.1-rc.3 → 22.3.1-rc.5
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/CHANGELOG.md +29 -3
- package/README.md +29 -24
- package/base.ts +26 -21
- package/configuration.ts +17 -5
- package/dist/base.d.ts +5 -2
- package/dist/base.js +22 -17
- package/dist/configuration.d.ts +1 -0
- package/dist/configuration.js +14 -4
- package/dist/esm/base.d.ts +5 -2
- package/dist/esm/base.js +19 -17
- package/dist/esm/configuration.d.ts +1 -0
- package/dist/esm/configuration.js +15 -5
- package/docs/ActivityTypeObjectResponse.md +2 -2
- package/docs/AddWebhookRequest.md +1 -1
- package/docs/BaseUser.md +1 -0
- package/docs/BaseUserMe.md +1 -0
- package/docs/BasicDeal.md +3 -0
- package/docs/ChangelogResponse.md +11 -0
- package/docs/ChangelogResponseAllOf.md +10 -0
- package/docs/ChangelogResponseAllOfData.md +16 -0
- package/docs/DealParticipantsChangelog.md +12 -0
- package/docs/DealsApi.md +120 -0
- package/docs/Field.md +3 -2
- package/docs/ListPermittedUsersResponse.md +0 -1
- package/docs/NewDeal.md +3 -0
- package/docs/OrganizationsApi.md +60 -0
- package/docs/ParticipantsChangelog.md +11 -0
- package/docs/ParticipantsChangelogItem.md +12 -0
- package/docs/PaymentItem.md +2 -2
- package/docs/PersonsApi.md +60 -0
- package/docs/ProductField.md +1 -0
- package/docs/ProductFieldAllOf.md +1 -0
- package/docs/SubscriptionItem.md +2 -2
- package/docs/UpdateDealRequest.md +3 -0
- package/migration.md +309 -0
- package/package.json +1 -1
- package/test/functional/authorisation.test.js +22 -31
- package/test/functional/automatic-token-refresh.test.js +7 -6
- package/test/functional/utils.js +0 -1
- package/src/api/MeetingsApi.js +0 -181
- package/src/model/GetDealRelatedObjects.js +0 -101
- package/src/model/PostDealParticipantsRelatedObjects.js +0 -90
- package/src/model/UserProviderLinkCreateRequest.js +0 -120
- package/src/model/UserProviderLinkErrorResponse.js +0 -90
- package/src/model/UserProviderLinkSuccessResponse.js +0 -90
- package/src/model/UserProviderLinkSuccessResponseData.js +0 -79
@@ -1,101 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Pipedrive API v1
|
3
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
4
|
-
*
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
6
|
-
*
|
7
|
-
*
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
9
|
-
* https://openapi-generator.tech
|
10
|
-
* Do not edit the class manually.
|
11
|
-
*
|
12
|
-
*/
|
13
|
-
|
14
|
-
import ApiClient from '../ApiClient';
|
15
|
-
import RelatedOrganizationDataWithActiveFlag from './RelatedOrganizationDataWithActiveFlag';
|
16
|
-
import RelatedPersonDataWithActiveFlag from './RelatedPersonDataWithActiveFlag';
|
17
|
-
import RelatedUserData from './RelatedUserData';
|
18
|
-
|
19
|
-
/**
|
20
|
-
* The GetDealRelatedObjects model module.
|
21
|
-
* @module model/GetDealRelatedObjects
|
22
|
-
* @version 1.0.0
|
23
|
-
*/
|
24
|
-
class GetDealRelatedObjects {
|
25
|
-
/**
|
26
|
-
* Constructs a new <code>GetDealRelatedObjects</code>.
|
27
|
-
* @alias module:model/GetDealRelatedObjects
|
28
|
-
*/
|
29
|
-
constructor() {
|
30
|
-
|
31
|
-
GetDealRelatedObjects.initialize(this);
|
32
|
-
}
|
33
|
-
|
34
|
-
/**
|
35
|
-
* Initializes the fields of this object.
|
36
|
-
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
37
|
-
* Only for internal use.
|
38
|
-
*/
|
39
|
-
static initialize(obj) {
|
40
|
-
}
|
41
|
-
|
42
|
-
/**
|
43
|
-
* Constructs a <code>GetDealRelatedObjects</code> from a plain JavaScript object, optionally creating a new instance.
|
44
|
-
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
45
|
-
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
46
|
-
* @param {module:model/GetDealRelatedObjects} obj Optional instance to populate.
|
47
|
-
* @return {module:model/GetDealRelatedObjects} The populated <code>GetDealRelatedObjects</code> instance.
|
48
|
-
*/
|
49
|
-
static constructFromObject(data, obj) {
|
50
|
-
if (data) {
|
51
|
-
obj = obj || new GetDealRelatedObjects();
|
52
|
-
|
53
|
-
if (data.hasOwnProperty('user')) {
|
54
|
-
obj['user'] = RelatedUserData.constructFromObject(data['user']);
|
55
|
-
|
56
|
-
delete data['user'];
|
57
|
-
}
|
58
|
-
if (data.hasOwnProperty('person')) {
|
59
|
-
obj['person'] = RelatedPersonDataWithActiveFlag.constructFromObject(data['person']);
|
60
|
-
|
61
|
-
delete data['person'];
|
62
|
-
}
|
63
|
-
if (data.hasOwnProperty('organization')) {
|
64
|
-
obj['organization'] = RelatedOrganizationDataWithActiveFlag.constructFromObject(data['organization']);
|
65
|
-
|
66
|
-
delete data['organization'];
|
67
|
-
}
|
68
|
-
|
69
|
-
if (Object.keys(data).length > 0) {
|
70
|
-
Object.assign(obj, data);
|
71
|
-
}
|
72
|
-
|
73
|
-
}
|
74
|
-
return obj;
|
75
|
-
}
|
76
|
-
|
77
|
-
|
78
|
-
}
|
79
|
-
|
80
|
-
/**
|
81
|
-
* @member {module:model/RelatedUserData} user
|
82
|
-
*/
|
83
|
-
GetDealRelatedObjects.prototype['user'] = undefined;
|
84
|
-
|
85
|
-
/**
|
86
|
-
* @member {module:model/RelatedPersonDataWithActiveFlag} person
|
87
|
-
*/
|
88
|
-
GetDealRelatedObjects.prototype['person'] = undefined;
|
89
|
-
|
90
|
-
/**
|
91
|
-
* @member {module:model/RelatedOrganizationDataWithActiveFlag} organization
|
92
|
-
*/
|
93
|
-
GetDealRelatedObjects.prototype['organization'] = undefined;
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
export default GetDealRelatedObjects;
|
101
|
-
|
@@ -1,90 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Pipedrive API v1
|
3
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
4
|
-
*
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
6
|
-
*
|
7
|
-
*
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
9
|
-
* https://openapi-generator.tech
|
10
|
-
* Do not edit the class manually.
|
11
|
-
*
|
12
|
-
*/
|
13
|
-
|
14
|
-
import ApiClient from '../ApiClient';
|
15
|
-
import RelatedPersonDataWithActiveFlag from './RelatedPersonDataWithActiveFlag';
|
16
|
-
import RelatedUserData from './RelatedUserData';
|
17
|
-
|
18
|
-
/**
|
19
|
-
* The PostDealParticipantsRelatedObjects model module.
|
20
|
-
* @module model/PostDealParticipantsRelatedObjects
|
21
|
-
* @version 1.0.0
|
22
|
-
*/
|
23
|
-
class PostDealParticipantsRelatedObjects {
|
24
|
-
/**
|
25
|
-
* Constructs a new <code>PostDealParticipantsRelatedObjects</code>.
|
26
|
-
* @alias module:model/PostDealParticipantsRelatedObjects
|
27
|
-
*/
|
28
|
-
constructor() {
|
29
|
-
|
30
|
-
PostDealParticipantsRelatedObjects.initialize(this);
|
31
|
-
}
|
32
|
-
|
33
|
-
/**
|
34
|
-
* Initializes the fields of this object.
|
35
|
-
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
36
|
-
* Only for internal use.
|
37
|
-
*/
|
38
|
-
static initialize(obj) {
|
39
|
-
}
|
40
|
-
|
41
|
-
/**
|
42
|
-
* Constructs a <code>PostDealParticipantsRelatedObjects</code> from a plain JavaScript object, optionally creating a new instance.
|
43
|
-
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
44
|
-
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
45
|
-
* @param {module:model/PostDealParticipantsRelatedObjects} obj Optional instance to populate.
|
46
|
-
* @return {module:model/PostDealParticipantsRelatedObjects} The populated <code>PostDealParticipantsRelatedObjects</code> instance.
|
47
|
-
*/
|
48
|
-
static constructFromObject(data, obj) {
|
49
|
-
if (data) {
|
50
|
-
obj = obj || new PostDealParticipantsRelatedObjects();
|
51
|
-
|
52
|
-
if (data.hasOwnProperty('user')) {
|
53
|
-
obj['user'] = RelatedUserData.constructFromObject(data['user']);
|
54
|
-
|
55
|
-
delete data['user'];
|
56
|
-
}
|
57
|
-
if (data.hasOwnProperty('person')) {
|
58
|
-
obj['person'] = RelatedPersonDataWithActiveFlag.constructFromObject(data['person']);
|
59
|
-
|
60
|
-
delete data['person'];
|
61
|
-
}
|
62
|
-
|
63
|
-
if (Object.keys(data).length > 0) {
|
64
|
-
Object.assign(obj, data);
|
65
|
-
}
|
66
|
-
|
67
|
-
}
|
68
|
-
return obj;
|
69
|
-
}
|
70
|
-
|
71
|
-
|
72
|
-
}
|
73
|
-
|
74
|
-
/**
|
75
|
-
* @member {module:model/RelatedUserData} user
|
76
|
-
*/
|
77
|
-
PostDealParticipantsRelatedObjects.prototype['user'] = undefined;
|
78
|
-
|
79
|
-
/**
|
80
|
-
* @member {module:model/RelatedPersonDataWithActiveFlag} person
|
81
|
-
*/
|
82
|
-
PostDealParticipantsRelatedObjects.prototype['person'] = undefined;
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
export default PostDealParticipantsRelatedObjects;
|
90
|
-
|
@@ -1,120 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Pipedrive API v1
|
3
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
4
|
-
*
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
6
|
-
*
|
7
|
-
*
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
9
|
-
* https://openapi-generator.tech
|
10
|
-
* Do not edit the class manually.
|
11
|
-
*
|
12
|
-
*/
|
13
|
-
|
14
|
-
import ApiClient from '../ApiClient';
|
15
|
-
|
16
|
-
/**
|
17
|
-
* The UserProviderLinkCreateRequest model module.
|
18
|
-
* @module model/UserProviderLinkCreateRequest
|
19
|
-
* @version 1.0.0
|
20
|
-
*/
|
21
|
-
class UserProviderLinkCreateRequest {
|
22
|
-
/**
|
23
|
-
* Constructs a new <code>UserProviderLinkCreateRequest</code>.
|
24
|
-
* @alias module:model/UserProviderLinkCreateRequest
|
25
|
-
* @param userProviderId {String} Unique identifier linking a user to the installed integration. Generated by the integration.
|
26
|
-
* @param userId {Number} Pipedrive user ID
|
27
|
-
* @param companyId {Number} Pipedrive company ID
|
28
|
-
* @param marketplaceClientId {String} Pipedrive Marketplace client ID of the installed integration
|
29
|
-
*/
|
30
|
-
constructor(userProviderId, userId, companyId, marketplaceClientId) {
|
31
|
-
|
32
|
-
UserProviderLinkCreateRequest.initialize(this, userProviderId, userId, companyId, marketplaceClientId);
|
33
|
-
}
|
34
|
-
|
35
|
-
/**
|
36
|
-
* Initializes the fields of this object.
|
37
|
-
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
38
|
-
* Only for internal use.
|
39
|
-
*/
|
40
|
-
static initialize(obj, userProviderId, userId, companyId, marketplaceClientId) {
|
41
|
-
obj['user_provider_id'] = userProviderId;
|
42
|
-
obj['user_id'] = userId;
|
43
|
-
obj['company_id'] = companyId;
|
44
|
-
obj['marketplace_client_id'] = marketplaceClientId;
|
45
|
-
}
|
46
|
-
|
47
|
-
/**
|
48
|
-
* Constructs a <code>UserProviderLinkCreateRequest</code> from a plain JavaScript object, optionally creating a new instance.
|
49
|
-
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
50
|
-
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
51
|
-
* @param {module:model/UserProviderLinkCreateRequest} obj Optional instance to populate.
|
52
|
-
* @return {module:model/UserProviderLinkCreateRequest} The populated <code>UserProviderLinkCreateRequest</code> instance.
|
53
|
-
*/
|
54
|
-
static constructFromObject(data, obj) {
|
55
|
-
if (data) {
|
56
|
-
obj = obj || new UserProviderLinkCreateRequest();
|
57
|
-
|
58
|
-
if (data.hasOwnProperty('user_provider_id')) {
|
59
|
-
obj['user_provider_id'] = ApiClient.convertToType(data['user_provider_id'], 'String');
|
60
|
-
|
61
|
-
delete data['user_provider_id'];
|
62
|
-
}
|
63
|
-
if (data.hasOwnProperty('user_id')) {
|
64
|
-
obj['user_id'] = ApiClient.convertToType(data['user_id'], 'Number');
|
65
|
-
|
66
|
-
delete data['user_id'];
|
67
|
-
}
|
68
|
-
if (data.hasOwnProperty('company_id')) {
|
69
|
-
obj['company_id'] = ApiClient.convertToType(data['company_id'], 'Number');
|
70
|
-
|
71
|
-
delete data['company_id'];
|
72
|
-
}
|
73
|
-
if (data.hasOwnProperty('marketplace_client_id')) {
|
74
|
-
obj['marketplace_client_id'] = ApiClient.convertToType(data['marketplace_client_id'], 'String');
|
75
|
-
|
76
|
-
delete data['marketplace_client_id'];
|
77
|
-
}
|
78
|
-
|
79
|
-
if (Object.keys(data).length > 0) {
|
80
|
-
Object.assign(obj, data);
|
81
|
-
}
|
82
|
-
|
83
|
-
}
|
84
|
-
return obj;
|
85
|
-
}
|
86
|
-
|
87
|
-
|
88
|
-
}
|
89
|
-
|
90
|
-
/**
|
91
|
-
* Unique identifier linking a user to the installed integration. Generated by the integration.
|
92
|
-
* @member {String} user_provider_id
|
93
|
-
*/
|
94
|
-
UserProviderLinkCreateRequest.prototype['user_provider_id'] = undefined;
|
95
|
-
|
96
|
-
/**
|
97
|
-
* Pipedrive user ID
|
98
|
-
* @member {Number} user_id
|
99
|
-
*/
|
100
|
-
UserProviderLinkCreateRequest.prototype['user_id'] = undefined;
|
101
|
-
|
102
|
-
/**
|
103
|
-
* Pipedrive company ID
|
104
|
-
* @member {Number} company_id
|
105
|
-
*/
|
106
|
-
UserProviderLinkCreateRequest.prototype['company_id'] = undefined;
|
107
|
-
|
108
|
-
/**
|
109
|
-
* Pipedrive Marketplace client ID of the installed integration
|
110
|
-
* @member {String} marketplace_client_id
|
111
|
-
*/
|
112
|
-
UserProviderLinkCreateRequest.prototype['marketplace_client_id'] = undefined;
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
export default UserProviderLinkCreateRequest;
|
120
|
-
|
@@ -1,90 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Pipedrive API v1
|
3
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
4
|
-
*
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
6
|
-
*
|
7
|
-
*
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
9
|
-
* https://openapi-generator.tech
|
10
|
-
* Do not edit the class manually.
|
11
|
-
*
|
12
|
-
*/
|
13
|
-
|
14
|
-
import ApiClient from '../ApiClient';
|
15
|
-
|
16
|
-
/**
|
17
|
-
* The UserProviderLinkErrorResponse model module.
|
18
|
-
* @module model/UserProviderLinkErrorResponse
|
19
|
-
* @version 1.0.0
|
20
|
-
*/
|
21
|
-
class UserProviderLinkErrorResponse {
|
22
|
-
/**
|
23
|
-
* Constructs a new <code>UserProviderLinkErrorResponse</code>.
|
24
|
-
* @alias module:model/UserProviderLinkErrorResponse
|
25
|
-
*/
|
26
|
-
constructor() {
|
27
|
-
|
28
|
-
UserProviderLinkErrorResponse.initialize(this);
|
29
|
-
}
|
30
|
-
|
31
|
-
/**
|
32
|
-
* Initializes the fields of this object.
|
33
|
-
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
34
|
-
* Only for internal use.
|
35
|
-
*/
|
36
|
-
static initialize(obj) {
|
37
|
-
}
|
38
|
-
|
39
|
-
/**
|
40
|
-
* Constructs a <code>UserProviderLinkErrorResponse</code> from a plain JavaScript object, optionally creating a new instance.
|
41
|
-
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
42
|
-
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
43
|
-
* @param {module:model/UserProviderLinkErrorResponse} obj Optional instance to populate.
|
44
|
-
* @return {module:model/UserProviderLinkErrorResponse} The populated <code>UserProviderLinkErrorResponse</code> instance.
|
45
|
-
*/
|
46
|
-
static constructFromObject(data, obj) {
|
47
|
-
if (data) {
|
48
|
-
obj = obj || new UserProviderLinkErrorResponse();
|
49
|
-
|
50
|
-
if (data.hasOwnProperty('success')) {
|
51
|
-
obj['success'] = ApiClient.convertToType(data['success'], 'Boolean');
|
52
|
-
|
53
|
-
delete data['success'];
|
54
|
-
}
|
55
|
-
if (data.hasOwnProperty('message')) {
|
56
|
-
obj['message'] = ApiClient.convertToType(data['message'], 'String');
|
57
|
-
|
58
|
-
delete data['message'];
|
59
|
-
}
|
60
|
-
|
61
|
-
if (Object.keys(data).length > 0) {
|
62
|
-
Object.assign(obj, data);
|
63
|
-
}
|
64
|
-
|
65
|
-
}
|
66
|
-
return obj;
|
67
|
-
}
|
68
|
-
|
69
|
-
|
70
|
-
}
|
71
|
-
|
72
|
-
/**
|
73
|
-
* Boolean that indicates whether the request was successful or not
|
74
|
-
* @member {Boolean} success
|
75
|
-
*/
|
76
|
-
UserProviderLinkErrorResponse.prototype['success'] = undefined;
|
77
|
-
|
78
|
-
/**
|
79
|
-
* The error message of the request
|
80
|
-
* @member {String} message
|
81
|
-
*/
|
82
|
-
UserProviderLinkErrorResponse.prototype['message'] = undefined;
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
export default UserProviderLinkErrorResponse;
|
90
|
-
|
@@ -1,90 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Pipedrive API v1
|
3
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
4
|
-
*
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
6
|
-
*
|
7
|
-
*
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
9
|
-
* https://openapi-generator.tech
|
10
|
-
* Do not edit the class manually.
|
11
|
-
*
|
12
|
-
*/
|
13
|
-
|
14
|
-
import ApiClient from '../ApiClient';
|
15
|
-
import UserProviderLinkSuccessResponseData from './UserProviderLinkSuccessResponseData';
|
16
|
-
|
17
|
-
/**
|
18
|
-
* The UserProviderLinkSuccessResponse model module.
|
19
|
-
* @module model/UserProviderLinkSuccessResponse
|
20
|
-
* @version 1.0.0
|
21
|
-
*/
|
22
|
-
class UserProviderLinkSuccessResponse {
|
23
|
-
/**
|
24
|
-
* Constructs a new <code>UserProviderLinkSuccessResponse</code>.
|
25
|
-
* @alias module:model/UserProviderLinkSuccessResponse
|
26
|
-
*/
|
27
|
-
constructor() {
|
28
|
-
|
29
|
-
UserProviderLinkSuccessResponse.initialize(this);
|
30
|
-
}
|
31
|
-
|
32
|
-
/**
|
33
|
-
* Initializes the fields of this object.
|
34
|
-
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
35
|
-
* Only for internal use.
|
36
|
-
*/
|
37
|
-
static initialize(obj) {
|
38
|
-
}
|
39
|
-
|
40
|
-
/**
|
41
|
-
* Constructs a <code>UserProviderLinkSuccessResponse</code> from a plain JavaScript object, optionally creating a new instance.
|
42
|
-
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
43
|
-
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
44
|
-
* @param {module:model/UserProviderLinkSuccessResponse} obj Optional instance to populate.
|
45
|
-
* @return {module:model/UserProviderLinkSuccessResponse} The populated <code>UserProviderLinkSuccessResponse</code> instance.
|
46
|
-
*/
|
47
|
-
static constructFromObject(data, obj) {
|
48
|
-
if (data) {
|
49
|
-
obj = obj || new UserProviderLinkSuccessResponse();
|
50
|
-
|
51
|
-
if (data.hasOwnProperty('success')) {
|
52
|
-
obj['success'] = ApiClient.convertToType(data['success'], 'Boolean');
|
53
|
-
|
54
|
-
delete data['success'];
|
55
|
-
}
|
56
|
-
if (data.hasOwnProperty('data')) {
|
57
|
-
obj['data'] = UserProviderLinkSuccessResponseData.constructFromObject(data['data']);
|
58
|
-
|
59
|
-
delete data['data'];
|
60
|
-
}
|
61
|
-
|
62
|
-
if (Object.keys(data).length > 0) {
|
63
|
-
Object.assign(obj, data);
|
64
|
-
}
|
65
|
-
|
66
|
-
}
|
67
|
-
return obj;
|
68
|
-
}
|
69
|
-
|
70
|
-
|
71
|
-
}
|
72
|
-
|
73
|
-
/**
|
74
|
-
* Boolean that indicates whether the request was successful or not
|
75
|
-
* @member {Boolean} success
|
76
|
-
*/
|
77
|
-
UserProviderLinkSuccessResponse.prototype['success'] = undefined;
|
78
|
-
|
79
|
-
/**
|
80
|
-
* @member {module:model/UserProviderLinkSuccessResponseData} data
|
81
|
-
*/
|
82
|
-
UserProviderLinkSuccessResponse.prototype['data'] = undefined;
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
export default UserProviderLinkSuccessResponse;
|
90
|
-
|
@@ -1,79 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Pipedrive API v1
|
3
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
4
|
-
*
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
6
|
-
*
|
7
|
-
*
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
9
|
-
* https://openapi-generator.tech
|
10
|
-
* Do not edit the class manually.
|
11
|
-
*
|
12
|
-
*/
|
13
|
-
|
14
|
-
import ApiClient from '../ApiClient';
|
15
|
-
|
16
|
-
/**
|
17
|
-
* The UserProviderLinkSuccessResponseData model module.
|
18
|
-
* @module model/UserProviderLinkSuccessResponseData
|
19
|
-
* @version 1.0.0
|
20
|
-
*/
|
21
|
-
class UserProviderLinkSuccessResponseData {
|
22
|
-
/**
|
23
|
-
* Constructs a new <code>UserProviderLinkSuccessResponseData</code>.
|
24
|
-
* @alias module:model/UserProviderLinkSuccessResponseData
|
25
|
-
*/
|
26
|
-
constructor() {
|
27
|
-
|
28
|
-
UserProviderLinkSuccessResponseData.initialize(this);
|
29
|
-
}
|
30
|
-
|
31
|
-
/**
|
32
|
-
* Initializes the fields of this object.
|
33
|
-
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
34
|
-
* Only for internal use.
|
35
|
-
*/
|
36
|
-
static initialize(obj) {
|
37
|
-
}
|
38
|
-
|
39
|
-
/**
|
40
|
-
* Constructs a <code>UserProviderLinkSuccessResponseData</code> from a plain JavaScript object, optionally creating a new instance.
|
41
|
-
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
42
|
-
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
43
|
-
* @param {module:model/UserProviderLinkSuccessResponseData} obj Optional instance to populate.
|
44
|
-
* @return {module:model/UserProviderLinkSuccessResponseData} The populated <code>UserProviderLinkSuccessResponseData</code> instance.
|
45
|
-
*/
|
46
|
-
static constructFromObject(data, obj) {
|
47
|
-
if (data) {
|
48
|
-
obj = obj || new UserProviderLinkSuccessResponseData();
|
49
|
-
|
50
|
-
if (data.hasOwnProperty('message')) {
|
51
|
-
obj['message'] = ApiClient.convertToType(data['message'], 'String');
|
52
|
-
|
53
|
-
delete data['message'];
|
54
|
-
}
|
55
|
-
|
56
|
-
if (Object.keys(data).length > 0) {
|
57
|
-
Object.assign(obj, data);
|
58
|
-
}
|
59
|
-
|
60
|
-
}
|
61
|
-
return obj;
|
62
|
-
}
|
63
|
-
|
64
|
-
|
65
|
-
}
|
66
|
-
|
67
|
-
/**
|
68
|
-
* The success message of the request
|
69
|
-
* @member {String} message
|
70
|
-
*/
|
71
|
-
UserProviderLinkSuccessResponseData.prototype['message'] = undefined;
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
export default UserProviderLinkSuccessResponseData;
|
79
|
-
|