@equisoft/equisoft-connect-sdk-typescript 13.57.1-snapshot.20260903164045 → 13.58.0
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/.openapi-generator/FILES +14 -0
- package/README.md +7 -0
- package/dist/esm/models/ContactsBooleanCreateCustomFieldPayload.d.ts +40 -0
- package/dist/esm/models/ContactsBooleanCreateCustomFieldPayload.js +43 -0
- package/dist/esm/models/ContactsCreateContactPayload.d.ts +7 -0
- package/dist/esm/models/ContactsCreateContactPayload.js +3 -0
- package/dist/esm/models/ContactsCreateCustomFieldPayload.d.ts +33 -0
- package/dist/esm/models/ContactsCreateCustomFieldPayload.js +88 -0
- package/dist/esm/models/ContactsDateCreateCustomFieldPayload.d.ts +40 -0
- package/dist/esm/models/ContactsDateCreateCustomFieldPayload.js +43 -0
- package/dist/esm/models/ContactsFieldValueCreateCustomFieldPayload.d.ts +40 -0
- package/dist/esm/models/ContactsFieldValueCreateCustomFieldPayload.js +43 -0
- package/dist/esm/models/ContactsMoneyCreateCustomFieldPayload.d.ts +40 -0
- package/dist/esm/models/ContactsMoneyCreateCustomFieldPayload.js +43 -0
- package/dist/esm/models/ContactsNumericCreateCustomFieldPayload.d.ts +40 -0
- package/dist/esm/models/ContactsNumericCreateCustomFieldPayload.js +43 -0
- package/dist/esm/models/ContactsTextCreateCustomFieldPayload.d.ts +40 -0
- package/dist/esm/models/ContactsTextCreateCustomFieldPayload.js +43 -0
- package/dist/esm/models/index.d.ts +7 -0
- package/dist/esm/models/index.js +7 -0
- package/dist/models/ContactsBooleanCreateCustomFieldPayload.d.ts +40 -0
- package/dist/models/ContactsBooleanCreateCustomFieldPayload.js +50 -0
- package/dist/models/ContactsCreateContactPayload.d.ts +7 -0
- package/dist/models/ContactsCreateContactPayload.js +3 -0
- package/dist/models/ContactsCreateCustomFieldPayload.d.ts +33 -0
- package/dist/models/ContactsCreateCustomFieldPayload.js +95 -0
- package/dist/models/ContactsDateCreateCustomFieldPayload.d.ts +40 -0
- package/dist/models/ContactsDateCreateCustomFieldPayload.js +50 -0
- package/dist/models/ContactsFieldValueCreateCustomFieldPayload.d.ts +40 -0
- package/dist/models/ContactsFieldValueCreateCustomFieldPayload.js +50 -0
- package/dist/models/ContactsMoneyCreateCustomFieldPayload.d.ts +40 -0
- package/dist/models/ContactsMoneyCreateCustomFieldPayload.js +50 -0
- package/dist/models/ContactsNumericCreateCustomFieldPayload.d.ts +40 -0
- package/dist/models/ContactsNumericCreateCustomFieldPayload.js +50 -0
- package/dist/models/ContactsTextCreateCustomFieldPayload.d.ts +40 -0
- package/dist/models/ContactsTextCreateCustomFieldPayload.js +50 -0
- package/dist/models/index.d.ts +7 -0
- package/dist/models/index.js +7 -0
- package/docs/ContactsBooleanCreateCustomFieldPayload.md +36 -0
- package/docs/ContactsCreateContactPayload.md +2 -0
- package/docs/ContactsCreateCustomFieldPayload.md +34 -0
- package/docs/ContactsDateCreateCustomFieldPayload.md +36 -0
- package/docs/ContactsFieldValueCreateCustomFieldPayload.md +36 -0
- package/docs/ContactsMoneyCreateCustomFieldPayload.md +36 -0
- package/docs/ContactsNumericCreateCustomFieldPayload.md +36 -0
- package/docs/ContactsTextCreateCustomFieldPayload.md +36 -0
- package/package.json +1 -1
- package/src/models/ContactsBooleanCreateCustomFieldPayload.ts +92 -0
- package/src/models/ContactsCreateContactPayload.ts +15 -0
- package/src/models/ContactsCreateCustomFieldPayload.ts +122 -0
- package/src/models/ContactsDateCreateCustomFieldPayload.ts +92 -0
- package/src/models/ContactsFieldValueCreateCustomFieldPayload.ts +92 -0
- package/src/models/ContactsMoneyCreateCustomFieldPayload.ts +92 -0
- package/src/models/ContactsNumericCreateCustomFieldPayload.ts +92 -0
- package/src/models/ContactsTextCreateCustomFieldPayload.ts +92 -0
- package/src/models/index.ts +7 -0
package/.openapi-generator/FILES
CHANGED
|
@@ -16,6 +16,7 @@ docs/ContactPatchDto.md
|
|
|
16
16
|
docs/ContactsAdditionalInformation.md
|
|
17
17
|
docs/ContactsAddress.md
|
|
18
18
|
docs/ContactsApi.md
|
|
19
|
+
docs/ContactsBooleanCreateCustomFieldPayload.md
|
|
19
20
|
docs/ContactsBooleanCustomField.md
|
|
20
21
|
docs/ContactsCivilStatus.md
|
|
21
22
|
docs/ContactsContact.md
|
|
@@ -25,6 +26,7 @@ docs/ContactsContactRelationParticipant.md
|
|
|
25
26
|
docs/ContactsCreateAdditionalInformationPayload.md
|
|
26
27
|
docs/ContactsCreateAddressPayload.md
|
|
27
28
|
docs/ContactsCreateContactPayload.md
|
|
29
|
+
docs/ContactsCreateCustomFieldPayload.md
|
|
28
30
|
docs/ContactsCreateEmailPayload.md
|
|
29
31
|
docs/ContactsCreateIdentificationPayload.md
|
|
30
32
|
docs/ContactsCreateIndividualIdentificationPayload.md
|
|
@@ -37,8 +39,10 @@ docs/ContactsCreateSegmentationPayload.md
|
|
|
37
39
|
docs/ContactsCreateWebsitePayload.md
|
|
38
40
|
docs/ContactsCustomField.md
|
|
39
41
|
docs/ContactsCustomFieldTypeSchema.md
|
|
42
|
+
docs/ContactsDateCreateCustomFieldPayload.md
|
|
40
43
|
docs/ContactsDateCustomField.md
|
|
41
44
|
docs/ContactsEmail.md
|
|
45
|
+
docs/ContactsFieldValueCreateCustomFieldPayload.md
|
|
42
46
|
docs/ContactsFieldValueCustomField.md
|
|
43
47
|
docs/ContactsHouseholdAddress.md
|
|
44
48
|
docs/ContactsHouseholdsCreateHouseholdPayload.md
|
|
@@ -50,7 +54,9 @@ docs/ContactsIndividualIdentification.md
|
|
|
50
54
|
docs/ContactsInvestmentObjective.md
|
|
51
55
|
docs/ContactsInvestorProfile.md
|
|
52
56
|
docs/ContactsListContactResponse.md
|
|
57
|
+
docs/ContactsMoneyCreateCustomFieldPayload.md
|
|
53
58
|
docs/ContactsMoneyCustomField.md
|
|
59
|
+
docs/ContactsNumericCreateCustomFieldPayload.md
|
|
54
60
|
docs/ContactsNumericCustomField.md
|
|
55
61
|
docs/ContactsOccupation.md
|
|
56
62
|
docs/ContactsOrganizationIdentification.md
|
|
@@ -59,6 +65,7 @@ docs/ContactsRegistrationNumbers.md
|
|
|
59
65
|
docs/ContactsRevenue.md
|
|
60
66
|
docs/ContactsRiskTolerance.md
|
|
61
67
|
docs/ContactsSegmentation.md
|
|
68
|
+
docs/ContactsTextCreateCustomFieldPayload.md
|
|
62
69
|
docs/ContactsTextCustomField.md
|
|
63
70
|
docs/ContactsWebSite.md
|
|
64
71
|
docs/ContextActor.md
|
|
@@ -369,6 +376,7 @@ src/models/ContactPatchContactPayload.ts
|
|
|
369
376
|
src/models/ContactPatchDto.ts
|
|
370
377
|
src/models/ContactsAdditionalInformation.ts
|
|
371
378
|
src/models/ContactsAddress.ts
|
|
379
|
+
src/models/ContactsBooleanCreateCustomFieldPayload.ts
|
|
372
380
|
src/models/ContactsBooleanCustomField.ts
|
|
373
381
|
src/models/ContactsCivilStatus.ts
|
|
374
382
|
src/models/ContactsContact.ts
|
|
@@ -378,6 +386,7 @@ src/models/ContactsContactRelationParticipant.ts
|
|
|
378
386
|
src/models/ContactsCreateAdditionalInformationPayload.ts
|
|
379
387
|
src/models/ContactsCreateAddressPayload.ts
|
|
380
388
|
src/models/ContactsCreateContactPayload.ts
|
|
389
|
+
src/models/ContactsCreateCustomFieldPayload.ts
|
|
381
390
|
src/models/ContactsCreateEmailPayload.ts
|
|
382
391
|
src/models/ContactsCreateIdentificationPayload.ts
|
|
383
392
|
src/models/ContactsCreateIndividualIdentificationPayload.ts
|
|
@@ -390,8 +399,10 @@ src/models/ContactsCreateSegmentationPayload.ts
|
|
|
390
399
|
src/models/ContactsCreateWebsitePayload.ts
|
|
391
400
|
src/models/ContactsCustomField.ts
|
|
392
401
|
src/models/ContactsCustomFieldTypeSchema.ts
|
|
402
|
+
src/models/ContactsDateCreateCustomFieldPayload.ts
|
|
393
403
|
src/models/ContactsDateCustomField.ts
|
|
394
404
|
src/models/ContactsEmail.ts
|
|
405
|
+
src/models/ContactsFieldValueCreateCustomFieldPayload.ts
|
|
395
406
|
src/models/ContactsFieldValueCustomField.ts
|
|
396
407
|
src/models/ContactsHouseholdAddress.ts
|
|
397
408
|
src/models/ContactsHouseholdsCreateHouseholdPayload.ts
|
|
@@ -403,7 +414,9 @@ src/models/ContactsIndividualIdentification.ts
|
|
|
403
414
|
src/models/ContactsInvestmentObjective.ts
|
|
404
415
|
src/models/ContactsInvestorProfile.ts
|
|
405
416
|
src/models/ContactsListContactResponse.ts
|
|
417
|
+
src/models/ContactsMoneyCreateCustomFieldPayload.ts
|
|
406
418
|
src/models/ContactsMoneyCustomField.ts
|
|
419
|
+
src/models/ContactsNumericCreateCustomFieldPayload.ts
|
|
407
420
|
src/models/ContactsNumericCustomField.ts
|
|
408
421
|
src/models/ContactsOccupation.ts
|
|
409
422
|
src/models/ContactsOrganizationIdentification.ts
|
|
@@ -412,6 +425,7 @@ src/models/ContactsRegistrationNumbers.ts
|
|
|
412
425
|
src/models/ContactsRevenue.ts
|
|
413
426
|
src/models/ContactsRiskTolerance.ts
|
|
414
427
|
src/models/ContactsSegmentation.ts
|
|
428
|
+
src/models/ContactsTextCreateCustomFieldPayload.ts
|
|
415
429
|
src/models/ContactsTextCustomField.ts
|
|
416
430
|
src/models/ContactsWebSite.ts
|
|
417
431
|
src/models/ContextActor.ts
|
package/README.md
CHANGED
|
@@ -217,6 +217,7 @@ All URIs are relative to *http://localhost*
|
|
|
217
217
|
- [ContactPatchDto](docs/ContactPatchDto.md)
|
|
218
218
|
- [ContactsAdditionalInformation](docs/ContactsAdditionalInformation.md)
|
|
219
219
|
- [ContactsAddress](docs/ContactsAddress.md)
|
|
220
|
+
- [ContactsBooleanCreateCustomFieldPayload](docs/ContactsBooleanCreateCustomFieldPayload.md)
|
|
220
221
|
- [ContactsBooleanCustomField](docs/ContactsBooleanCustomField.md)
|
|
221
222
|
- [ContactsCivilStatus](docs/ContactsCivilStatus.md)
|
|
222
223
|
- [ContactsContact](docs/ContactsContact.md)
|
|
@@ -226,6 +227,7 @@ All URIs are relative to *http://localhost*
|
|
|
226
227
|
- [ContactsCreateAdditionalInformationPayload](docs/ContactsCreateAdditionalInformationPayload.md)
|
|
227
228
|
- [ContactsCreateAddressPayload](docs/ContactsCreateAddressPayload.md)
|
|
228
229
|
- [ContactsCreateContactPayload](docs/ContactsCreateContactPayload.md)
|
|
230
|
+
- [ContactsCreateCustomFieldPayload](docs/ContactsCreateCustomFieldPayload.md)
|
|
229
231
|
- [ContactsCreateEmailPayload](docs/ContactsCreateEmailPayload.md)
|
|
230
232
|
- [ContactsCreateIdentificationPayload](docs/ContactsCreateIdentificationPayload.md)
|
|
231
233
|
- [ContactsCreateIndividualIdentificationPayload](docs/ContactsCreateIndividualIdentificationPayload.md)
|
|
@@ -238,8 +240,10 @@ All URIs are relative to *http://localhost*
|
|
|
238
240
|
- [ContactsCreateWebsitePayload](docs/ContactsCreateWebsitePayload.md)
|
|
239
241
|
- [ContactsCustomField](docs/ContactsCustomField.md)
|
|
240
242
|
- [ContactsCustomFieldTypeSchema](docs/ContactsCustomFieldTypeSchema.md)
|
|
243
|
+
- [ContactsDateCreateCustomFieldPayload](docs/ContactsDateCreateCustomFieldPayload.md)
|
|
241
244
|
- [ContactsDateCustomField](docs/ContactsDateCustomField.md)
|
|
242
245
|
- [ContactsEmail](docs/ContactsEmail.md)
|
|
246
|
+
- [ContactsFieldValueCreateCustomFieldPayload](docs/ContactsFieldValueCreateCustomFieldPayload.md)
|
|
243
247
|
- [ContactsFieldValueCustomField](docs/ContactsFieldValueCustomField.md)
|
|
244
248
|
- [ContactsHouseholdAddress](docs/ContactsHouseholdAddress.md)
|
|
245
249
|
- [ContactsHouseholdsCreateHouseholdPayload](docs/ContactsHouseholdsCreateHouseholdPayload.md)
|
|
@@ -251,7 +255,9 @@ All URIs are relative to *http://localhost*
|
|
|
251
255
|
- [ContactsInvestmentObjective](docs/ContactsInvestmentObjective.md)
|
|
252
256
|
- [ContactsInvestorProfile](docs/ContactsInvestorProfile.md)
|
|
253
257
|
- [ContactsListContactResponse](docs/ContactsListContactResponse.md)
|
|
258
|
+
- [ContactsMoneyCreateCustomFieldPayload](docs/ContactsMoneyCreateCustomFieldPayload.md)
|
|
254
259
|
- [ContactsMoneyCustomField](docs/ContactsMoneyCustomField.md)
|
|
260
|
+
- [ContactsNumericCreateCustomFieldPayload](docs/ContactsNumericCreateCustomFieldPayload.md)
|
|
255
261
|
- [ContactsNumericCustomField](docs/ContactsNumericCustomField.md)
|
|
256
262
|
- [ContactsOccupation](docs/ContactsOccupation.md)
|
|
257
263
|
- [ContactsOrganizationIdentification](docs/ContactsOrganizationIdentification.md)
|
|
@@ -260,6 +266,7 @@ All URIs are relative to *http://localhost*
|
|
|
260
266
|
- [ContactsRevenue](docs/ContactsRevenue.md)
|
|
261
267
|
- [ContactsRiskTolerance](docs/ContactsRiskTolerance.md)
|
|
262
268
|
- [ContactsSegmentation](docs/ContactsSegmentation.md)
|
|
269
|
+
- [ContactsTextCreateCustomFieldPayload](docs/ContactsTextCreateCustomFieldPayload.md)
|
|
263
270
|
- [ContactsTextCustomField](docs/ContactsTextCustomField.md)
|
|
264
271
|
- [ContactsWebSite](docs/ContactsWebSite.md)
|
|
265
272
|
- [ContextActor](docs/ContextActor.md)
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Equisoft /connect API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: latest
|
|
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
|
+
import type { ContactsCustomFieldTypeSchema } from './ContactsCustomFieldTypeSchema';
|
|
13
|
+
import type { ContactsCreateCustomFieldPayload } from './ContactsCreateCustomFieldPayload';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface ContactsBooleanCreateCustomFieldPayload
|
|
18
|
+
*/
|
|
19
|
+
export interface ContactsBooleanCreateCustomFieldPayload extends ContactsCreateCustomFieldPayload {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {ContactsCustomFieldTypeSchema}
|
|
23
|
+
* @memberof ContactsBooleanCreateCustomFieldPayload
|
|
24
|
+
*/
|
|
25
|
+
type: ContactsCustomFieldTypeSchema;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {boolean}
|
|
29
|
+
* @memberof ContactsBooleanCreateCustomFieldPayload
|
|
30
|
+
*/
|
|
31
|
+
value: boolean;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the ContactsBooleanCreateCustomFieldPayload interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfContactsBooleanCreateCustomFieldPayload(value: object): value is ContactsBooleanCreateCustomFieldPayload;
|
|
37
|
+
export declare function ContactsBooleanCreateCustomFieldPayloadFromJSON(json: any): ContactsBooleanCreateCustomFieldPayload;
|
|
38
|
+
export declare function ContactsBooleanCreateCustomFieldPayloadFromJSONTyped(json: any, ignoreDiscriminator: boolean): ContactsBooleanCreateCustomFieldPayload;
|
|
39
|
+
export declare function ContactsBooleanCreateCustomFieldPayloadToJSON(json: any): ContactsBooleanCreateCustomFieldPayload;
|
|
40
|
+
export declare function ContactsBooleanCreateCustomFieldPayloadToJSONTyped(value?: ContactsBooleanCreateCustomFieldPayload | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Equisoft /connect API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: latest
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { ContactsCustomFieldTypeSchemaFromJSON, ContactsCustomFieldTypeSchemaToJSON, } from './ContactsCustomFieldTypeSchema';
|
|
15
|
+
import { ContactsCreateCustomFieldPayloadFromJSONTyped, ContactsCreateCustomFieldPayloadToJSONTyped, } from './ContactsCreateCustomFieldPayload';
|
|
16
|
+
/**
|
|
17
|
+
* Check if a given object implements the ContactsBooleanCreateCustomFieldPayload interface.
|
|
18
|
+
*/
|
|
19
|
+
export function instanceOfContactsBooleanCreateCustomFieldPayload(value) {
|
|
20
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('value' in value) || value['value'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
export function ContactsBooleanCreateCustomFieldPayloadFromJSON(json) {
|
|
27
|
+
return ContactsBooleanCreateCustomFieldPayloadFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
export function ContactsBooleanCreateCustomFieldPayloadFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return Object.assign(Object.assign({}, ContactsCreateCustomFieldPayloadFromJSONTyped(json, true)), { 'type': ContactsCustomFieldTypeSchemaFromJSON(json['type']), 'value': json['value'] });
|
|
34
|
+
}
|
|
35
|
+
export function ContactsBooleanCreateCustomFieldPayloadToJSON(json) {
|
|
36
|
+
return ContactsBooleanCreateCustomFieldPayloadToJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
export function ContactsBooleanCreateCustomFieldPayloadToJSONTyped(value, ignoreDiscriminator = false) {
|
|
39
|
+
if (value == null) {
|
|
40
|
+
return value;
|
|
41
|
+
}
|
|
42
|
+
return Object.assign(Object.assign({}, ContactsCreateCustomFieldPayloadToJSONTyped(value, true)), { 'type': ContactsCustomFieldTypeSchemaToJSON(value['type']), 'value': value['value'] });
|
|
43
|
+
}
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
import type { ContactsCreateOccupationPayload } from './ContactsCreateOccupationPayload';
|
|
13
13
|
import type { ContactsCreateEmailPayload } from './ContactsCreateEmailPayload';
|
|
14
14
|
import type { ContactsCreateAddressPayload } from './ContactsCreateAddressPayload';
|
|
15
|
+
import type { ContactsCreateCustomFieldPayload } from './ContactsCreateCustomFieldPayload';
|
|
15
16
|
import type { ContactsCreateSegmentationPayload } from './ContactsCreateSegmentationPayload';
|
|
16
17
|
import type { ContactsCreatePhonePayload } from './ContactsCreatePhonePayload';
|
|
17
18
|
import type { ContactsCreateAdditionalInformationPayload } from './ContactsCreateAdditionalInformationPayload';
|
|
@@ -29,6 +30,12 @@ export interface ContactsCreateContactPayload {
|
|
|
29
30
|
* @memberof ContactsCreateContactPayload
|
|
30
31
|
*/
|
|
31
32
|
identification: ContactsCreateIdentificationPayload;
|
|
33
|
+
/**
|
|
34
|
+
* Custom fields keyed by system name
|
|
35
|
+
* @type {Array<ContactsCreateCustomFieldPayload>}
|
|
36
|
+
* @memberof ContactsCreateContactPayload
|
|
37
|
+
*/
|
|
38
|
+
customFields?: Array<ContactsCreateCustomFieldPayload>;
|
|
32
39
|
/**
|
|
33
40
|
*
|
|
34
41
|
* @type {ContactsCreateAdditionalInformationPayload}
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
import { ContactsCreateOccupationPayloadFromJSON, ContactsCreateOccupationPayloadToJSON, } from './ContactsCreateOccupationPayload';
|
|
15
15
|
import { ContactsCreateEmailPayloadFromJSON, ContactsCreateEmailPayloadToJSON, } from './ContactsCreateEmailPayload';
|
|
16
16
|
import { ContactsCreateAddressPayloadFromJSON, ContactsCreateAddressPayloadToJSON, } from './ContactsCreateAddressPayload';
|
|
17
|
+
import { ContactsCreateCustomFieldPayloadFromJSON, ContactsCreateCustomFieldPayloadToJSON, } from './ContactsCreateCustomFieldPayload';
|
|
17
18
|
import { ContactsCreateSegmentationPayloadFromJSON, ContactsCreateSegmentationPayloadToJSON, } from './ContactsCreateSegmentationPayload';
|
|
18
19
|
import { ContactsCreatePhonePayloadFromJSON, ContactsCreatePhonePayloadToJSON, } from './ContactsCreatePhonePayload';
|
|
19
20
|
import { ContactsCreateAdditionalInformationPayloadFromJSON, ContactsCreateAdditionalInformationPayloadToJSON, } from './ContactsCreateAdditionalInformationPayload';
|
|
@@ -36,6 +37,7 @@ export function ContactsCreateContactPayloadFromJSONTyped(json, ignoreDiscrimina
|
|
|
36
37
|
}
|
|
37
38
|
return {
|
|
38
39
|
'identification': ContactsCreateIdentificationPayloadFromJSON(json['identification']),
|
|
40
|
+
'customFields': json['customFields'] == null ? undefined : (json['customFields'].map(ContactsCreateCustomFieldPayloadFromJSON)),
|
|
39
41
|
'additionalInformation': json['additionalInformation'] == null ? undefined : ContactsCreateAdditionalInformationPayloadFromJSON(json['additionalInformation']),
|
|
40
42
|
'segmentation': json['segmentation'] == null ? undefined : ContactsCreateSegmentationPayloadFromJSON(json['segmentation']),
|
|
41
43
|
'addresses': json['addresses'] == null ? undefined : (json['addresses'].map(ContactsCreateAddressPayloadFromJSON)),
|
|
@@ -56,6 +58,7 @@ export function ContactsCreateContactPayloadToJSONTyped(value, ignoreDiscriminat
|
|
|
56
58
|
}
|
|
57
59
|
return {
|
|
58
60
|
'identification': ContactsCreateIdentificationPayloadToJSON(value['identification']),
|
|
61
|
+
'customFields': value['customFields'] == null ? undefined : (value['customFields'].map(ContactsCreateCustomFieldPayloadToJSON)),
|
|
59
62
|
'additionalInformation': ContactsCreateAdditionalInformationPayloadToJSON(value['additionalInformation']),
|
|
60
63
|
'segmentation': ContactsCreateSegmentationPayloadToJSON(value['segmentation']),
|
|
61
64
|
'addresses': value['addresses'] == null ? undefined : (value['addresses'].map(ContactsCreateAddressPayloadToJSON)),
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Equisoft /connect API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: latest
|
|
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
|
+
import type { ContactsCustomFieldTypeSchema } from './ContactsCustomFieldTypeSchema';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ContactsCreateCustomFieldPayload
|
|
17
|
+
*/
|
|
18
|
+
export interface ContactsCreateCustomFieldPayload {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {ContactsCustomFieldTypeSchema}
|
|
22
|
+
* @memberof ContactsCreateCustomFieldPayload
|
|
23
|
+
*/
|
|
24
|
+
type: ContactsCustomFieldTypeSchema;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the ContactsCreateCustomFieldPayload interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfContactsCreateCustomFieldPayload(value: object): value is ContactsCreateCustomFieldPayload;
|
|
30
|
+
export declare function ContactsCreateCustomFieldPayloadFromJSON(json: any): ContactsCreateCustomFieldPayload;
|
|
31
|
+
export declare function ContactsCreateCustomFieldPayloadFromJSONTyped(json: any, ignoreDiscriminator: boolean): ContactsCreateCustomFieldPayload;
|
|
32
|
+
export declare function ContactsCreateCustomFieldPayloadToJSON(json: any): ContactsCreateCustomFieldPayload;
|
|
33
|
+
export declare function ContactsCreateCustomFieldPayloadToJSONTyped(value?: ContactsCreateCustomFieldPayload | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Equisoft /connect API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: latest
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { ContactsCustomFieldTypeSchemaFromJSON, ContactsCustomFieldTypeSchemaToJSON, } from './ContactsCustomFieldTypeSchema';
|
|
15
|
+
import { ContactsBooleanCreateCustomFieldPayloadFromJSONTyped, ContactsBooleanCreateCustomFieldPayloadToJSONTyped } from './ContactsBooleanCreateCustomFieldPayload';
|
|
16
|
+
import { ContactsDateCreateCustomFieldPayloadFromJSONTyped, ContactsDateCreateCustomFieldPayloadToJSONTyped } from './ContactsDateCreateCustomFieldPayload';
|
|
17
|
+
import { ContactsMoneyCreateCustomFieldPayloadFromJSONTyped, ContactsMoneyCreateCustomFieldPayloadToJSONTyped } from './ContactsMoneyCreateCustomFieldPayload';
|
|
18
|
+
import { ContactsNumericCreateCustomFieldPayloadFromJSONTyped, ContactsNumericCreateCustomFieldPayloadToJSONTyped } from './ContactsNumericCreateCustomFieldPayload';
|
|
19
|
+
import { ContactsTextCreateCustomFieldPayloadFromJSONTyped, ContactsTextCreateCustomFieldPayloadToJSONTyped } from './ContactsTextCreateCustomFieldPayload';
|
|
20
|
+
import { ContactsFieldValueCreateCustomFieldPayloadFromJSONTyped, ContactsFieldValueCreateCustomFieldPayloadToJSONTyped } from './ContactsFieldValueCreateCustomFieldPayload';
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ContactsCreateCustomFieldPayload interface.
|
|
23
|
+
*/
|
|
24
|
+
export function instanceOfContactsCreateCustomFieldPayload(value) {
|
|
25
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
export function ContactsCreateCustomFieldPayloadFromJSON(json) {
|
|
30
|
+
return ContactsCreateCustomFieldPayloadFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
export function ContactsCreateCustomFieldPayloadFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
if (!ignoreDiscriminator) {
|
|
37
|
+
if (json['type'] === 'boolean_field') {
|
|
38
|
+
return ContactsBooleanCreateCustomFieldPayloadFromJSONTyped(json, ignoreDiscriminator);
|
|
39
|
+
}
|
|
40
|
+
if (json['type'] === 'date_field') {
|
|
41
|
+
return ContactsDateCreateCustomFieldPayloadFromJSONTyped(json, ignoreDiscriminator);
|
|
42
|
+
}
|
|
43
|
+
if (json['type'] === 'money_field') {
|
|
44
|
+
return ContactsMoneyCreateCustomFieldPayloadFromJSONTyped(json, ignoreDiscriminator);
|
|
45
|
+
}
|
|
46
|
+
if (json['type'] === 'numeric_field') {
|
|
47
|
+
return ContactsNumericCreateCustomFieldPayloadFromJSONTyped(json, ignoreDiscriminator);
|
|
48
|
+
}
|
|
49
|
+
if (json['type'] === 'text_field') {
|
|
50
|
+
return ContactsTextCreateCustomFieldPayloadFromJSONTyped(json, ignoreDiscriminator);
|
|
51
|
+
}
|
|
52
|
+
if (json['type'] === 'vd_field') {
|
|
53
|
+
return ContactsFieldValueCreateCustomFieldPayloadFromJSONTyped(json, ignoreDiscriminator);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
return {
|
|
57
|
+
'type': ContactsCustomFieldTypeSchemaFromJSON(json['type']),
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
export function ContactsCreateCustomFieldPayloadToJSON(json) {
|
|
61
|
+
return ContactsCreateCustomFieldPayloadToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
export function ContactsCreateCustomFieldPayloadToJSONTyped(value, ignoreDiscriminator = false) {
|
|
64
|
+
if (value == null) {
|
|
65
|
+
return value;
|
|
66
|
+
}
|
|
67
|
+
if (!ignoreDiscriminator) {
|
|
68
|
+
switch (value['type']) {
|
|
69
|
+
case 'boolean_field':
|
|
70
|
+
return ContactsBooleanCreateCustomFieldPayloadToJSONTyped(value, ignoreDiscriminator);
|
|
71
|
+
case 'date_field':
|
|
72
|
+
return ContactsDateCreateCustomFieldPayloadToJSONTyped(value, ignoreDiscriminator);
|
|
73
|
+
case 'money_field':
|
|
74
|
+
return ContactsMoneyCreateCustomFieldPayloadToJSONTyped(value, ignoreDiscriminator);
|
|
75
|
+
case 'numeric_field':
|
|
76
|
+
return ContactsNumericCreateCustomFieldPayloadToJSONTyped(value, ignoreDiscriminator);
|
|
77
|
+
case 'text_field':
|
|
78
|
+
return ContactsTextCreateCustomFieldPayloadToJSONTyped(value, ignoreDiscriminator);
|
|
79
|
+
case 'vd_field':
|
|
80
|
+
return ContactsFieldValueCreateCustomFieldPayloadToJSONTyped(value, ignoreDiscriminator);
|
|
81
|
+
default:
|
|
82
|
+
return value;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
return {
|
|
86
|
+
'type': ContactsCustomFieldTypeSchemaToJSON(value['type']),
|
|
87
|
+
};
|
|
88
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Equisoft /connect API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: latest
|
|
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
|
+
import type { ContactsCustomFieldTypeSchema } from './ContactsCustomFieldTypeSchema';
|
|
13
|
+
import type { ContactsCreateCustomFieldPayload } from './ContactsCreateCustomFieldPayload';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface ContactsDateCreateCustomFieldPayload
|
|
18
|
+
*/
|
|
19
|
+
export interface ContactsDateCreateCustomFieldPayload extends ContactsCreateCustomFieldPayload {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {ContactsCustomFieldTypeSchema}
|
|
23
|
+
* @memberof ContactsDateCreateCustomFieldPayload
|
|
24
|
+
*/
|
|
25
|
+
type: ContactsCustomFieldTypeSchema;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof ContactsDateCreateCustomFieldPayload
|
|
30
|
+
*/
|
|
31
|
+
value: string;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the ContactsDateCreateCustomFieldPayload interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfContactsDateCreateCustomFieldPayload(value: object): value is ContactsDateCreateCustomFieldPayload;
|
|
37
|
+
export declare function ContactsDateCreateCustomFieldPayloadFromJSON(json: any): ContactsDateCreateCustomFieldPayload;
|
|
38
|
+
export declare function ContactsDateCreateCustomFieldPayloadFromJSONTyped(json: any, ignoreDiscriminator: boolean): ContactsDateCreateCustomFieldPayload;
|
|
39
|
+
export declare function ContactsDateCreateCustomFieldPayloadToJSON(json: any): ContactsDateCreateCustomFieldPayload;
|
|
40
|
+
export declare function ContactsDateCreateCustomFieldPayloadToJSONTyped(value?: ContactsDateCreateCustomFieldPayload | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Equisoft /connect API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: latest
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { ContactsCustomFieldTypeSchemaFromJSON, ContactsCustomFieldTypeSchemaToJSON, } from './ContactsCustomFieldTypeSchema';
|
|
15
|
+
import { ContactsCreateCustomFieldPayloadFromJSONTyped, ContactsCreateCustomFieldPayloadToJSONTyped, } from './ContactsCreateCustomFieldPayload';
|
|
16
|
+
/**
|
|
17
|
+
* Check if a given object implements the ContactsDateCreateCustomFieldPayload interface.
|
|
18
|
+
*/
|
|
19
|
+
export function instanceOfContactsDateCreateCustomFieldPayload(value) {
|
|
20
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('value' in value) || value['value'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
export function ContactsDateCreateCustomFieldPayloadFromJSON(json) {
|
|
27
|
+
return ContactsDateCreateCustomFieldPayloadFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
export function ContactsDateCreateCustomFieldPayloadFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return Object.assign(Object.assign({}, ContactsCreateCustomFieldPayloadFromJSONTyped(json, true)), { 'type': ContactsCustomFieldTypeSchemaFromJSON(json['type']), 'value': json['value'] });
|
|
34
|
+
}
|
|
35
|
+
export function ContactsDateCreateCustomFieldPayloadToJSON(json) {
|
|
36
|
+
return ContactsDateCreateCustomFieldPayloadToJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
export function ContactsDateCreateCustomFieldPayloadToJSONTyped(value, ignoreDiscriminator = false) {
|
|
39
|
+
if (value == null) {
|
|
40
|
+
return value;
|
|
41
|
+
}
|
|
42
|
+
return Object.assign(Object.assign({}, ContactsCreateCustomFieldPayloadToJSONTyped(value, true)), { 'type': ContactsCustomFieldTypeSchemaToJSON(value['type']), 'value': value['value'] });
|
|
43
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Equisoft /connect API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: latest
|
|
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
|
+
import type { ContactsCustomFieldTypeSchema } from './ContactsCustomFieldTypeSchema';
|
|
13
|
+
import type { ContactsCreateCustomFieldPayload } from './ContactsCreateCustomFieldPayload';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface ContactsFieldValueCreateCustomFieldPayload
|
|
18
|
+
*/
|
|
19
|
+
export interface ContactsFieldValueCreateCustomFieldPayload extends ContactsCreateCustomFieldPayload {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {ContactsCustomFieldTypeSchema}
|
|
23
|
+
* @memberof ContactsFieldValueCreateCustomFieldPayload
|
|
24
|
+
*/
|
|
25
|
+
type: ContactsCustomFieldTypeSchema;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {number}
|
|
29
|
+
* @memberof ContactsFieldValueCreateCustomFieldPayload
|
|
30
|
+
*/
|
|
31
|
+
value: number;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the ContactsFieldValueCreateCustomFieldPayload interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfContactsFieldValueCreateCustomFieldPayload(value: object): value is ContactsFieldValueCreateCustomFieldPayload;
|
|
37
|
+
export declare function ContactsFieldValueCreateCustomFieldPayloadFromJSON(json: any): ContactsFieldValueCreateCustomFieldPayload;
|
|
38
|
+
export declare function ContactsFieldValueCreateCustomFieldPayloadFromJSONTyped(json: any, ignoreDiscriminator: boolean): ContactsFieldValueCreateCustomFieldPayload;
|
|
39
|
+
export declare function ContactsFieldValueCreateCustomFieldPayloadToJSON(json: any): ContactsFieldValueCreateCustomFieldPayload;
|
|
40
|
+
export declare function ContactsFieldValueCreateCustomFieldPayloadToJSONTyped(value?: ContactsFieldValueCreateCustomFieldPayload | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Equisoft /connect API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: latest
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { ContactsCustomFieldTypeSchemaFromJSON, ContactsCustomFieldTypeSchemaToJSON, } from './ContactsCustomFieldTypeSchema';
|
|
15
|
+
import { ContactsCreateCustomFieldPayloadFromJSONTyped, ContactsCreateCustomFieldPayloadToJSONTyped, } from './ContactsCreateCustomFieldPayload';
|
|
16
|
+
/**
|
|
17
|
+
* Check if a given object implements the ContactsFieldValueCreateCustomFieldPayload interface.
|
|
18
|
+
*/
|
|
19
|
+
export function instanceOfContactsFieldValueCreateCustomFieldPayload(value) {
|
|
20
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('value' in value) || value['value'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
export function ContactsFieldValueCreateCustomFieldPayloadFromJSON(json) {
|
|
27
|
+
return ContactsFieldValueCreateCustomFieldPayloadFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
export function ContactsFieldValueCreateCustomFieldPayloadFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return Object.assign(Object.assign({}, ContactsCreateCustomFieldPayloadFromJSONTyped(json, true)), { 'type': ContactsCustomFieldTypeSchemaFromJSON(json['type']), 'value': json['value'] });
|
|
34
|
+
}
|
|
35
|
+
export function ContactsFieldValueCreateCustomFieldPayloadToJSON(json) {
|
|
36
|
+
return ContactsFieldValueCreateCustomFieldPayloadToJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
export function ContactsFieldValueCreateCustomFieldPayloadToJSONTyped(value, ignoreDiscriminator = false) {
|
|
39
|
+
if (value == null) {
|
|
40
|
+
return value;
|
|
41
|
+
}
|
|
42
|
+
return Object.assign(Object.assign({}, ContactsCreateCustomFieldPayloadToJSONTyped(value, true)), { 'type': ContactsCustomFieldTypeSchemaToJSON(value['type']), 'value': value['value'] });
|
|
43
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Equisoft /connect API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: latest
|
|
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
|
+
import type { ContactsCustomFieldTypeSchema } from './ContactsCustomFieldTypeSchema';
|
|
13
|
+
import type { ContactsCreateCustomFieldPayload } from './ContactsCreateCustomFieldPayload';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface ContactsMoneyCreateCustomFieldPayload
|
|
18
|
+
*/
|
|
19
|
+
export interface ContactsMoneyCreateCustomFieldPayload extends ContactsCreateCustomFieldPayload {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {ContactsCustomFieldTypeSchema}
|
|
23
|
+
* @memberof ContactsMoneyCreateCustomFieldPayload
|
|
24
|
+
*/
|
|
25
|
+
type: ContactsCustomFieldTypeSchema;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof ContactsMoneyCreateCustomFieldPayload
|
|
30
|
+
*/
|
|
31
|
+
value: string;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the ContactsMoneyCreateCustomFieldPayload interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfContactsMoneyCreateCustomFieldPayload(value: object): value is ContactsMoneyCreateCustomFieldPayload;
|
|
37
|
+
export declare function ContactsMoneyCreateCustomFieldPayloadFromJSON(json: any): ContactsMoneyCreateCustomFieldPayload;
|
|
38
|
+
export declare function ContactsMoneyCreateCustomFieldPayloadFromJSONTyped(json: any, ignoreDiscriminator: boolean): ContactsMoneyCreateCustomFieldPayload;
|
|
39
|
+
export declare function ContactsMoneyCreateCustomFieldPayloadToJSON(json: any): ContactsMoneyCreateCustomFieldPayload;
|
|
40
|
+
export declare function ContactsMoneyCreateCustomFieldPayloadToJSONTyped(value?: ContactsMoneyCreateCustomFieldPayload | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Equisoft /connect API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: latest
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { ContactsCustomFieldTypeSchemaFromJSON, ContactsCustomFieldTypeSchemaToJSON, } from './ContactsCustomFieldTypeSchema';
|
|
15
|
+
import { ContactsCreateCustomFieldPayloadFromJSONTyped, ContactsCreateCustomFieldPayloadToJSONTyped, } from './ContactsCreateCustomFieldPayload';
|
|
16
|
+
/**
|
|
17
|
+
* Check if a given object implements the ContactsMoneyCreateCustomFieldPayload interface.
|
|
18
|
+
*/
|
|
19
|
+
export function instanceOfContactsMoneyCreateCustomFieldPayload(value) {
|
|
20
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('value' in value) || value['value'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
export function ContactsMoneyCreateCustomFieldPayloadFromJSON(json) {
|
|
27
|
+
return ContactsMoneyCreateCustomFieldPayloadFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
export function ContactsMoneyCreateCustomFieldPayloadFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return Object.assign(Object.assign({}, ContactsCreateCustomFieldPayloadFromJSONTyped(json, true)), { 'type': ContactsCustomFieldTypeSchemaFromJSON(json['type']), 'value': json['value'] });
|
|
34
|
+
}
|
|
35
|
+
export function ContactsMoneyCreateCustomFieldPayloadToJSON(json) {
|
|
36
|
+
return ContactsMoneyCreateCustomFieldPayloadToJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
export function ContactsMoneyCreateCustomFieldPayloadToJSONTyped(value, ignoreDiscriminator = false) {
|
|
39
|
+
if (value == null) {
|
|
40
|
+
return value;
|
|
41
|
+
}
|
|
42
|
+
return Object.assign(Object.assign({}, ContactsCreateCustomFieldPayloadToJSONTyped(value, true)), { 'type': ContactsCustomFieldTypeSchemaToJSON(value['type']), 'value': value['value'] });
|
|
43
|
+
}
|