@equisoft/equisoft-connect-sdk-typescript 13.58.0 → 13.58.1-snapshot.20260917200320
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/.tool-versions +1 -1
- package/dist/esm/models/ContactsContact.d.ts +4 -2
- package/dist/esm/models/ContactsContact.js +3 -2
- package/dist/esm/models/ContactsCreateContactPayload.d.ts +4 -2
- package/dist/esm/models/ContactsCreateContactPayload.js +3 -2
- package/dist/models/ContactsContact.d.ts +4 -2
- package/dist/models/ContactsContact.js +3 -2
- package/dist/models/ContactsCreateContactPayload.d.ts +4 -2
- package/dist/models/ContactsCreateContactPayload.js +3 -2
- package/docs/ContactsContact.md +1 -1
- package/docs/ContactsCreateContactPayload.md +1 -1
- package/package.json +1 -1
- package/src/models/ContactsContact.ts +4 -4
- package/src/models/ContactsCreateContactPayload.ts +4 -4
package/.tool-versions
CHANGED
|
@@ -114,10 +114,12 @@ export interface ContactsContact {
|
|
|
114
114
|
links?: Array<ContactsContactRelation>;
|
|
115
115
|
/**
|
|
116
116
|
* Custom fields keyed by system name
|
|
117
|
-
* @type {
|
|
117
|
+
* @type {{ [key: string]: ContactsCustomField; }}
|
|
118
118
|
* @memberof ContactsContact
|
|
119
119
|
*/
|
|
120
|
-
customFields:
|
|
120
|
+
customFields: {
|
|
121
|
+
[key: string]: ContactsCustomField;
|
|
122
|
+
};
|
|
121
123
|
/**
|
|
122
124
|
*
|
|
123
125
|
* @type {string}
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
+
import { mapValues } from '../runtime';
|
|
14
15
|
import { ContactsAdditionalInformationFromJSON, ContactsAdditionalInformationToJSON, } from './ContactsAdditionalInformation';
|
|
15
16
|
import { ContactsSegmentationFromJSON, ContactsSegmentationToJSON, } from './ContactsSegmentation';
|
|
16
17
|
import { ContactsCustomFieldFromJSON, ContactsCustomFieldToJSON, } from './ContactsCustomField';
|
|
@@ -59,7 +60,7 @@ export function ContactsContactFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
59
60
|
'emails': json['emails'] == null ? undefined : (json['emails'].map(ContactsEmailFromJSON)),
|
|
60
61
|
'websites': json['websites'] == null ? undefined : (json['websites'].map(ContactsWebSiteFromJSON)),
|
|
61
62
|
'links': json['links'] == null ? undefined : (json['links'].map(ContactsContactRelationFromJSON)),
|
|
62
|
-
'customFields': (json['customFields']
|
|
63
|
+
'customFields': (mapValues(json['customFields'], ContactsCustomFieldFromJSON)),
|
|
63
64
|
'notes': json['notes'] == null ? undefined : json['notes'],
|
|
64
65
|
'notesAdditionalInformation': json['notesAdditionalInformation'] == null ? undefined : json['notesAdditionalInformation'],
|
|
65
66
|
'creationDate': json['creationDate'] == null ? undefined : (new Date(json['creationDate'])),
|
|
@@ -92,7 +93,7 @@ export function ContactsContactToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
92
93
|
'emails': value['emails'] == null ? undefined : (value['emails'].map(ContactsEmailToJSON)),
|
|
93
94
|
'websites': value['websites'] == null ? undefined : (value['websites'].map(ContactsWebSiteToJSON)),
|
|
94
95
|
'links': value['links'] == null ? undefined : (value['links'].map(ContactsContactRelationToJSON)),
|
|
95
|
-
'customFields': (value['customFields']
|
|
96
|
+
'customFields': (mapValues(value['customFields'], ContactsCustomFieldToJSON)),
|
|
96
97
|
'notes': value['notes'],
|
|
97
98
|
'notesAdditionalInformation': value['notesAdditionalInformation'],
|
|
98
99
|
'creationDate': value['creationDate'] == null ? value['creationDate'] : value['creationDate'].toISOString(),
|
|
@@ -32,10 +32,12 @@ export interface ContactsCreateContactPayload {
|
|
|
32
32
|
identification: ContactsCreateIdentificationPayload;
|
|
33
33
|
/**
|
|
34
34
|
* Custom fields keyed by system name
|
|
35
|
-
* @type {
|
|
35
|
+
* @type {{ [key: string]: ContactsCreateCustomFieldPayload; }}
|
|
36
36
|
* @memberof ContactsCreateContactPayload
|
|
37
37
|
*/
|
|
38
|
-
customFields?:
|
|
38
|
+
customFields?: {
|
|
39
|
+
[key: string]: ContactsCreateCustomFieldPayload;
|
|
40
|
+
};
|
|
39
41
|
/**
|
|
40
42
|
*
|
|
41
43
|
* @type {ContactsCreateAdditionalInformationPayload}
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
+
import { mapValues } from '../runtime';
|
|
14
15
|
import { ContactsCreateOccupationPayloadFromJSON, ContactsCreateOccupationPayloadToJSON, } from './ContactsCreateOccupationPayload';
|
|
15
16
|
import { ContactsCreateEmailPayloadFromJSON, ContactsCreateEmailPayloadToJSON, } from './ContactsCreateEmailPayload';
|
|
16
17
|
import { ContactsCreateAddressPayloadFromJSON, ContactsCreateAddressPayloadToJSON, } from './ContactsCreateAddressPayload';
|
|
@@ -37,7 +38,7 @@ export function ContactsCreateContactPayloadFromJSONTyped(json, ignoreDiscrimina
|
|
|
37
38
|
}
|
|
38
39
|
return {
|
|
39
40
|
'identification': ContactsCreateIdentificationPayloadFromJSON(json['identification']),
|
|
40
|
-
'customFields': json['customFields'] == null ? undefined : (json['customFields']
|
|
41
|
+
'customFields': json['customFields'] == null ? undefined : (mapValues(json['customFields'], ContactsCreateCustomFieldPayloadFromJSON)),
|
|
41
42
|
'additionalInformation': json['additionalInformation'] == null ? undefined : ContactsCreateAdditionalInformationPayloadFromJSON(json['additionalInformation']),
|
|
42
43
|
'segmentation': json['segmentation'] == null ? undefined : ContactsCreateSegmentationPayloadFromJSON(json['segmentation']),
|
|
43
44
|
'addresses': json['addresses'] == null ? undefined : (json['addresses'].map(ContactsCreateAddressPayloadFromJSON)),
|
|
@@ -58,7 +59,7 @@ export function ContactsCreateContactPayloadToJSONTyped(value, ignoreDiscriminat
|
|
|
58
59
|
}
|
|
59
60
|
return {
|
|
60
61
|
'identification': ContactsCreateIdentificationPayloadToJSON(value['identification']),
|
|
61
|
-
'customFields': value['customFields'] == null ? undefined : (value['customFields']
|
|
62
|
+
'customFields': value['customFields'] == null ? undefined : (mapValues(value['customFields'], ContactsCreateCustomFieldPayloadToJSON)),
|
|
62
63
|
'additionalInformation': ContactsCreateAdditionalInformationPayloadToJSON(value['additionalInformation']),
|
|
63
64
|
'segmentation': ContactsCreateSegmentationPayloadToJSON(value['segmentation']),
|
|
64
65
|
'addresses': value['addresses'] == null ? undefined : (value['addresses'].map(ContactsCreateAddressPayloadToJSON)),
|
|
@@ -114,10 +114,12 @@ export interface ContactsContact {
|
|
|
114
114
|
links?: Array<ContactsContactRelation>;
|
|
115
115
|
/**
|
|
116
116
|
* Custom fields keyed by system name
|
|
117
|
-
* @type {
|
|
117
|
+
* @type {{ [key: string]: ContactsCustomField; }}
|
|
118
118
|
* @memberof ContactsContact
|
|
119
119
|
*/
|
|
120
|
-
customFields:
|
|
120
|
+
customFields: {
|
|
121
|
+
[key: string]: ContactsCustomField;
|
|
122
|
+
};
|
|
121
123
|
/**
|
|
122
124
|
*
|
|
123
125
|
* @type {string}
|
|
@@ -18,6 +18,7 @@ exports.ContactsContactFromJSON = ContactsContactFromJSON;
|
|
|
18
18
|
exports.ContactsContactFromJSONTyped = ContactsContactFromJSONTyped;
|
|
19
19
|
exports.ContactsContactToJSON = ContactsContactToJSON;
|
|
20
20
|
exports.ContactsContactToJSONTyped = ContactsContactToJSONTyped;
|
|
21
|
+
const runtime_1 = require("../runtime");
|
|
21
22
|
const ContactsAdditionalInformation_1 = require("./ContactsAdditionalInformation");
|
|
22
23
|
const ContactsSegmentation_1 = require("./ContactsSegmentation");
|
|
23
24
|
const ContactsCustomField_1 = require("./ContactsCustomField");
|
|
@@ -66,7 +67,7 @@ function ContactsContactFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
66
67
|
'emails': json['emails'] == null ? undefined : (json['emails'].map(ContactsEmail_1.ContactsEmailFromJSON)),
|
|
67
68
|
'websites': json['websites'] == null ? undefined : (json['websites'].map(ContactsWebSite_1.ContactsWebSiteFromJSON)),
|
|
68
69
|
'links': json['links'] == null ? undefined : (json['links'].map(ContactsContactRelation_1.ContactsContactRelationFromJSON)),
|
|
69
|
-
'customFields': (json['customFields']
|
|
70
|
+
'customFields': ((0, runtime_1.mapValues)(json['customFields'], ContactsCustomField_1.ContactsCustomFieldFromJSON)),
|
|
70
71
|
'notes': json['notes'] == null ? undefined : json['notes'],
|
|
71
72
|
'notesAdditionalInformation': json['notesAdditionalInformation'] == null ? undefined : json['notesAdditionalInformation'],
|
|
72
73
|
'creationDate': json['creationDate'] == null ? undefined : (new Date(json['creationDate'])),
|
|
@@ -99,7 +100,7 @@ function ContactsContactToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
99
100
|
'emails': value['emails'] == null ? undefined : (value['emails'].map(ContactsEmail_1.ContactsEmailToJSON)),
|
|
100
101
|
'websites': value['websites'] == null ? undefined : (value['websites'].map(ContactsWebSite_1.ContactsWebSiteToJSON)),
|
|
101
102
|
'links': value['links'] == null ? undefined : (value['links'].map(ContactsContactRelation_1.ContactsContactRelationToJSON)),
|
|
102
|
-
'customFields': (value['customFields']
|
|
103
|
+
'customFields': ((0, runtime_1.mapValues)(value['customFields'], ContactsCustomField_1.ContactsCustomFieldToJSON)),
|
|
103
104
|
'notes': value['notes'],
|
|
104
105
|
'notesAdditionalInformation': value['notesAdditionalInformation'],
|
|
105
106
|
'creationDate': value['creationDate'] == null ? value['creationDate'] : value['creationDate'].toISOString(),
|
|
@@ -32,10 +32,12 @@ export interface ContactsCreateContactPayload {
|
|
|
32
32
|
identification: ContactsCreateIdentificationPayload;
|
|
33
33
|
/**
|
|
34
34
|
* Custom fields keyed by system name
|
|
35
|
-
* @type {
|
|
35
|
+
* @type {{ [key: string]: ContactsCreateCustomFieldPayload; }}
|
|
36
36
|
* @memberof ContactsCreateContactPayload
|
|
37
37
|
*/
|
|
38
|
-
customFields?:
|
|
38
|
+
customFields?: {
|
|
39
|
+
[key: string]: ContactsCreateCustomFieldPayload;
|
|
40
|
+
};
|
|
39
41
|
/**
|
|
40
42
|
*
|
|
41
43
|
* @type {ContactsCreateAdditionalInformationPayload}
|
|
@@ -18,6 +18,7 @@ exports.ContactsCreateContactPayloadFromJSON = ContactsCreateContactPayloadFromJ
|
|
|
18
18
|
exports.ContactsCreateContactPayloadFromJSONTyped = ContactsCreateContactPayloadFromJSONTyped;
|
|
19
19
|
exports.ContactsCreateContactPayloadToJSON = ContactsCreateContactPayloadToJSON;
|
|
20
20
|
exports.ContactsCreateContactPayloadToJSONTyped = ContactsCreateContactPayloadToJSONTyped;
|
|
21
|
+
const runtime_1 = require("../runtime");
|
|
21
22
|
const ContactsCreateOccupationPayload_1 = require("./ContactsCreateOccupationPayload");
|
|
22
23
|
const ContactsCreateEmailPayload_1 = require("./ContactsCreateEmailPayload");
|
|
23
24
|
const ContactsCreateAddressPayload_1 = require("./ContactsCreateAddressPayload");
|
|
@@ -44,7 +45,7 @@ function ContactsCreateContactPayloadFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
44
45
|
}
|
|
45
46
|
return {
|
|
46
47
|
'identification': (0, ContactsCreateIdentificationPayload_1.ContactsCreateIdentificationPayloadFromJSON)(json['identification']),
|
|
47
|
-
'customFields': json['customFields'] == null ? undefined : (json['customFields']
|
|
48
|
+
'customFields': json['customFields'] == null ? undefined : ((0, runtime_1.mapValues)(json['customFields'], ContactsCreateCustomFieldPayload_1.ContactsCreateCustomFieldPayloadFromJSON)),
|
|
48
49
|
'additionalInformation': json['additionalInformation'] == null ? undefined : (0, ContactsCreateAdditionalInformationPayload_1.ContactsCreateAdditionalInformationPayloadFromJSON)(json['additionalInformation']),
|
|
49
50
|
'segmentation': json['segmentation'] == null ? undefined : (0, ContactsCreateSegmentationPayload_1.ContactsCreateSegmentationPayloadFromJSON)(json['segmentation']),
|
|
50
51
|
'addresses': json['addresses'] == null ? undefined : (json['addresses'].map(ContactsCreateAddressPayload_1.ContactsCreateAddressPayloadFromJSON)),
|
|
@@ -65,7 +66,7 @@ function ContactsCreateContactPayloadToJSONTyped(value, ignoreDiscriminator = fa
|
|
|
65
66
|
}
|
|
66
67
|
return {
|
|
67
68
|
'identification': (0, ContactsCreateIdentificationPayload_1.ContactsCreateIdentificationPayloadToJSON)(value['identification']),
|
|
68
|
-
'customFields': value['customFields'] == null ? undefined : (value['customFields']
|
|
69
|
+
'customFields': value['customFields'] == null ? undefined : ((0, runtime_1.mapValues)(value['customFields'], ContactsCreateCustomFieldPayload_1.ContactsCreateCustomFieldPayloadToJSON)),
|
|
69
70
|
'additionalInformation': (0, ContactsCreateAdditionalInformationPayload_1.ContactsCreateAdditionalInformationPayloadToJSON)(value['additionalInformation']),
|
|
70
71
|
'segmentation': (0, ContactsCreateSegmentationPayload_1.ContactsCreateSegmentationPayloadToJSON)(value['segmentation']),
|
|
71
72
|
'addresses': value['addresses'] == null ? undefined : (value['addresses'].map(ContactsCreateAddressPayload_1.ContactsCreateAddressPayloadToJSON)),
|
package/docs/ContactsContact.md
CHANGED
|
@@ -20,7 +20,7 @@ Name | Type
|
|
|
20
20
|
`emails` | [Array<ContactsEmail>](ContactsEmail.md)
|
|
21
21
|
`websites` | [Array<ContactsWebSite>](ContactsWebSite.md)
|
|
22
22
|
`links` | [Array<ContactsContactRelation>](ContactsContactRelation.md)
|
|
23
|
-
`customFields` | [
|
|
23
|
+
`customFields` | [{ [key: string]: ContactsCustomField; }](ContactsCustomField.md)
|
|
24
24
|
`notes` | string
|
|
25
25
|
`notesAdditionalInformation` | string
|
|
26
26
|
`creationDate` | Date
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
Name | Type
|
|
8
8
|
------------ | -------------
|
|
9
9
|
`identification` | [ContactsCreateIdentificationPayload](ContactsCreateIdentificationPayload.md)
|
|
10
|
-
`customFields` | [
|
|
10
|
+
`customFields` | [{ [key: string]: ContactsCreateCustomFieldPayload; }](ContactsCreateCustomFieldPayload.md)
|
|
11
11
|
`additionalInformation` | [ContactsCreateAdditionalInformationPayload](ContactsCreateAdditionalInformationPayload.md)
|
|
12
12
|
`segmentation` | [ContactsCreateSegmentationPayload](ContactsCreateSegmentationPayload.md)
|
|
13
13
|
`addresses` | [Array<ContactsCreateAddressPayload>](ContactsCreateAddressPayload.md)
|
package/package.json
CHANGED
|
@@ -191,10 +191,10 @@ export interface ContactsContact {
|
|
|
191
191
|
links?: Array<ContactsContactRelation>;
|
|
192
192
|
/**
|
|
193
193
|
* Custom fields keyed by system name
|
|
194
|
-
* @type {
|
|
194
|
+
* @type {{ [key: string]: ContactsCustomField; }}
|
|
195
195
|
* @memberof ContactsContact
|
|
196
196
|
*/
|
|
197
|
-
customFields:
|
|
197
|
+
customFields: { [key: string]: ContactsCustomField; };
|
|
198
198
|
/**
|
|
199
199
|
*
|
|
200
200
|
* @type {string}
|
|
@@ -280,7 +280,7 @@ export function ContactsContactFromJSONTyped(json: any, ignoreDiscriminator: boo
|
|
|
280
280
|
'emails': json['emails'] == null ? undefined : ((json['emails'] as Array<any>).map(ContactsEmailFromJSON)),
|
|
281
281
|
'websites': json['websites'] == null ? undefined : ((json['websites'] as Array<any>).map(ContactsWebSiteFromJSON)),
|
|
282
282
|
'links': json['links'] == null ? undefined : ((json['links'] as Array<any>).map(ContactsContactRelationFromJSON)),
|
|
283
|
-
'customFields': ((json['customFields']
|
|
283
|
+
'customFields': (mapValues(json['customFields'], ContactsCustomFieldFromJSON)),
|
|
284
284
|
'notes': json['notes'] == null ? undefined : json['notes'],
|
|
285
285
|
'notesAdditionalInformation': json['notesAdditionalInformation'] == null ? undefined : json['notesAdditionalInformation'],
|
|
286
286
|
'creationDate': json['creationDate'] == null ? undefined : (new Date(json['creationDate'])),
|
|
@@ -317,7 +317,7 @@ export function ContactsContactToJSONTyped(value?: ContactsContact | null, ignor
|
|
|
317
317
|
'emails': value['emails'] == null ? undefined : ((value['emails'] as Array<any>).map(ContactsEmailToJSON)),
|
|
318
318
|
'websites': value['websites'] == null ? undefined : ((value['websites'] as Array<any>).map(ContactsWebSiteToJSON)),
|
|
319
319
|
'links': value['links'] == null ? undefined : ((value['links'] as Array<any>).map(ContactsContactRelationToJSON)),
|
|
320
|
-
'customFields': ((value['customFields']
|
|
320
|
+
'customFields': (mapValues(value['customFields'], ContactsCustomFieldToJSON)),
|
|
321
321
|
'notes': value['notes'],
|
|
322
322
|
'notesAdditionalInformation': value['notesAdditionalInformation'],
|
|
323
323
|
'creationDate': value['creationDate'] == null ? value['creationDate'] : value['creationDate'].toISOString(),
|
|
@@ -91,10 +91,10 @@ export interface ContactsCreateContactPayload {
|
|
|
91
91
|
identification: ContactsCreateIdentificationPayload;
|
|
92
92
|
/**
|
|
93
93
|
* Custom fields keyed by system name
|
|
94
|
-
* @type {
|
|
94
|
+
* @type {{ [key: string]: ContactsCreateCustomFieldPayload; }}
|
|
95
95
|
* @memberof ContactsCreateContactPayload
|
|
96
96
|
*/
|
|
97
|
-
customFields?:
|
|
97
|
+
customFields?: { [key: string]: ContactsCreateCustomFieldPayload; };
|
|
98
98
|
/**
|
|
99
99
|
*
|
|
100
100
|
* @type {ContactsCreateAdditionalInformationPayload}
|
|
@@ -170,7 +170,7 @@ export function ContactsCreateContactPayloadFromJSONTyped(json: any, ignoreDiscr
|
|
|
170
170
|
return {
|
|
171
171
|
|
|
172
172
|
'identification': ContactsCreateIdentificationPayloadFromJSON(json['identification']),
|
|
173
|
-
'customFields': json['customFields'] == null ? undefined : ((json['customFields']
|
|
173
|
+
'customFields': json['customFields'] == null ? undefined : (mapValues(json['customFields'], ContactsCreateCustomFieldPayloadFromJSON)),
|
|
174
174
|
'additionalInformation': json['additionalInformation'] == null ? undefined : ContactsCreateAdditionalInformationPayloadFromJSON(json['additionalInformation']),
|
|
175
175
|
'segmentation': json['segmentation'] == null ? undefined : ContactsCreateSegmentationPayloadFromJSON(json['segmentation']),
|
|
176
176
|
'addresses': json['addresses'] == null ? undefined : ((json['addresses'] as Array<any>).map(ContactsCreateAddressPayloadFromJSON)),
|
|
@@ -195,7 +195,7 @@ export function ContactsCreateContactPayloadToJSONTyped(value?: ContactsCreateCo
|
|
|
195
195
|
return {
|
|
196
196
|
|
|
197
197
|
'identification': ContactsCreateIdentificationPayloadToJSON(value['identification']),
|
|
198
|
-
'customFields': value['customFields'] == null ? undefined : ((value['customFields']
|
|
198
|
+
'customFields': value['customFields'] == null ? undefined : (mapValues(value['customFields'], ContactsCreateCustomFieldPayloadToJSON)),
|
|
199
199
|
'additionalInformation': ContactsCreateAdditionalInformationPayloadToJSON(value['additionalInformation']),
|
|
200
200
|
'segmentation': ContactsCreateSegmentationPayloadToJSON(value['segmentation']),
|
|
201
201
|
'addresses': value['addresses'] == null ? undefined : ((value['addresses'] as Array<any>).map(ContactsCreateAddressPayloadToJSON)),
|