@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
|
@@ -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 ContactsNumericCreateCustomFieldPayload
|
|
18
|
+
*/
|
|
19
|
+
export interface ContactsNumericCreateCustomFieldPayload extends ContactsCreateCustomFieldPayload {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {ContactsCustomFieldTypeSchema}
|
|
23
|
+
* @memberof ContactsNumericCreateCustomFieldPayload
|
|
24
|
+
*/
|
|
25
|
+
type: ContactsCustomFieldTypeSchema;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {number}
|
|
29
|
+
* @memberof ContactsNumericCreateCustomFieldPayload
|
|
30
|
+
*/
|
|
31
|
+
value: number;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the ContactsNumericCreateCustomFieldPayload interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfContactsNumericCreateCustomFieldPayload(value: object): value is ContactsNumericCreateCustomFieldPayload;
|
|
37
|
+
export declare function ContactsNumericCreateCustomFieldPayloadFromJSON(json: any): ContactsNumericCreateCustomFieldPayload;
|
|
38
|
+
export declare function ContactsNumericCreateCustomFieldPayloadFromJSONTyped(json: any, ignoreDiscriminator: boolean): ContactsNumericCreateCustomFieldPayload;
|
|
39
|
+
export declare function ContactsNumericCreateCustomFieldPayloadToJSON(json: any): ContactsNumericCreateCustomFieldPayload;
|
|
40
|
+
export declare function ContactsNumericCreateCustomFieldPayloadToJSONTyped(value?: ContactsNumericCreateCustomFieldPayload | 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 ContactsNumericCreateCustomFieldPayload interface.
|
|
18
|
+
*/
|
|
19
|
+
export function instanceOfContactsNumericCreateCustomFieldPayload(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 ContactsNumericCreateCustomFieldPayloadFromJSON(json) {
|
|
27
|
+
return ContactsNumericCreateCustomFieldPayloadFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
export function ContactsNumericCreateCustomFieldPayloadFromJSONTyped(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 ContactsNumericCreateCustomFieldPayloadToJSON(json) {
|
|
36
|
+
return ContactsNumericCreateCustomFieldPayloadToJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
export function ContactsNumericCreateCustomFieldPayloadToJSONTyped(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 ContactsTextCreateCustomFieldPayload
|
|
18
|
+
*/
|
|
19
|
+
export interface ContactsTextCreateCustomFieldPayload extends ContactsCreateCustomFieldPayload {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {ContactsCustomFieldTypeSchema}
|
|
23
|
+
* @memberof ContactsTextCreateCustomFieldPayload
|
|
24
|
+
*/
|
|
25
|
+
type: ContactsCustomFieldTypeSchema;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof ContactsTextCreateCustomFieldPayload
|
|
30
|
+
*/
|
|
31
|
+
value: string;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the ContactsTextCreateCustomFieldPayload interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfContactsTextCreateCustomFieldPayload(value: object): value is ContactsTextCreateCustomFieldPayload;
|
|
37
|
+
export declare function ContactsTextCreateCustomFieldPayloadFromJSON(json: any): ContactsTextCreateCustomFieldPayload;
|
|
38
|
+
export declare function ContactsTextCreateCustomFieldPayloadFromJSONTyped(json: any, ignoreDiscriminator: boolean): ContactsTextCreateCustomFieldPayload;
|
|
39
|
+
export declare function ContactsTextCreateCustomFieldPayloadToJSON(json: any): ContactsTextCreateCustomFieldPayload;
|
|
40
|
+
export declare function ContactsTextCreateCustomFieldPayloadToJSONTyped(value?: ContactsTextCreateCustomFieldPayload | 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 ContactsTextCreateCustomFieldPayload interface.
|
|
18
|
+
*/
|
|
19
|
+
export function instanceOfContactsTextCreateCustomFieldPayload(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 ContactsTextCreateCustomFieldPayloadFromJSON(json) {
|
|
27
|
+
return ContactsTextCreateCustomFieldPayloadFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
export function ContactsTextCreateCustomFieldPayloadFromJSONTyped(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 ContactsTextCreateCustomFieldPayloadToJSON(json) {
|
|
36
|
+
return ContactsTextCreateCustomFieldPayloadToJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
export function ContactsTextCreateCustomFieldPayloadToJSONTyped(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
|
+
}
|
|
@@ -13,6 +13,7 @@ export * from './ContactPatchContactPayload';
|
|
|
13
13
|
export * from './ContactPatchDto';
|
|
14
14
|
export * from './ContactsAdditionalInformation';
|
|
15
15
|
export * from './ContactsAddress';
|
|
16
|
+
export * from './ContactsBooleanCreateCustomFieldPayload';
|
|
16
17
|
export * from './ContactsBooleanCustomField';
|
|
17
18
|
export * from './ContactsCivilStatus';
|
|
18
19
|
export * from './ContactsContact';
|
|
@@ -22,6 +23,7 @@ export * from './ContactsContactRelationParticipant';
|
|
|
22
23
|
export * from './ContactsCreateAdditionalInformationPayload';
|
|
23
24
|
export * from './ContactsCreateAddressPayload';
|
|
24
25
|
export * from './ContactsCreateContactPayload';
|
|
26
|
+
export * from './ContactsCreateCustomFieldPayload';
|
|
25
27
|
export * from './ContactsCreateEmailPayload';
|
|
26
28
|
export * from './ContactsCreateIdentificationPayload';
|
|
27
29
|
export * from './ContactsCreateIndividualIdentificationPayload';
|
|
@@ -34,8 +36,10 @@ export * from './ContactsCreateSegmentationPayload';
|
|
|
34
36
|
export * from './ContactsCreateWebsitePayload';
|
|
35
37
|
export * from './ContactsCustomField';
|
|
36
38
|
export * from './ContactsCustomFieldTypeSchema';
|
|
39
|
+
export * from './ContactsDateCreateCustomFieldPayload';
|
|
37
40
|
export * from './ContactsDateCustomField';
|
|
38
41
|
export * from './ContactsEmail';
|
|
42
|
+
export * from './ContactsFieldValueCreateCustomFieldPayload';
|
|
39
43
|
export * from './ContactsFieldValueCustomField';
|
|
40
44
|
export * from './ContactsHouseholdAddress';
|
|
41
45
|
export * from './ContactsHouseholdsCreateHouseholdPayload';
|
|
@@ -47,7 +51,9 @@ export * from './ContactsIndividualIdentification';
|
|
|
47
51
|
export * from './ContactsInvestmentObjective';
|
|
48
52
|
export * from './ContactsInvestorProfile';
|
|
49
53
|
export * from './ContactsListContactResponse';
|
|
54
|
+
export * from './ContactsMoneyCreateCustomFieldPayload';
|
|
50
55
|
export * from './ContactsMoneyCustomField';
|
|
56
|
+
export * from './ContactsNumericCreateCustomFieldPayload';
|
|
51
57
|
export * from './ContactsNumericCustomField';
|
|
52
58
|
export * from './ContactsOccupation';
|
|
53
59
|
export * from './ContactsOrganizationIdentification';
|
|
@@ -56,6 +62,7 @@ export * from './ContactsRegistrationNumbers';
|
|
|
56
62
|
export * from './ContactsRevenue';
|
|
57
63
|
export * from './ContactsRiskTolerance';
|
|
58
64
|
export * from './ContactsSegmentation';
|
|
65
|
+
export * from './ContactsTextCreateCustomFieldPayload';
|
|
59
66
|
export * from './ContactsTextCustomField';
|
|
60
67
|
export * from './ContactsWebSite';
|
|
61
68
|
export * from './ContextActor';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -15,6 +15,7 @@ export * from './ContactPatchContactPayload';
|
|
|
15
15
|
export * from './ContactPatchDto';
|
|
16
16
|
export * from './ContactsAdditionalInformation';
|
|
17
17
|
export * from './ContactsAddress';
|
|
18
|
+
export * from './ContactsBooleanCreateCustomFieldPayload';
|
|
18
19
|
export * from './ContactsBooleanCustomField';
|
|
19
20
|
export * from './ContactsCivilStatus';
|
|
20
21
|
export * from './ContactsContact';
|
|
@@ -24,6 +25,7 @@ export * from './ContactsContactRelationParticipant';
|
|
|
24
25
|
export * from './ContactsCreateAdditionalInformationPayload';
|
|
25
26
|
export * from './ContactsCreateAddressPayload';
|
|
26
27
|
export * from './ContactsCreateContactPayload';
|
|
28
|
+
export * from './ContactsCreateCustomFieldPayload';
|
|
27
29
|
export * from './ContactsCreateEmailPayload';
|
|
28
30
|
export * from './ContactsCreateIdentificationPayload';
|
|
29
31
|
export * from './ContactsCreateIndividualIdentificationPayload';
|
|
@@ -36,8 +38,10 @@ export * from './ContactsCreateSegmentationPayload';
|
|
|
36
38
|
export * from './ContactsCreateWebsitePayload';
|
|
37
39
|
export * from './ContactsCustomField';
|
|
38
40
|
export * from './ContactsCustomFieldTypeSchema';
|
|
41
|
+
export * from './ContactsDateCreateCustomFieldPayload';
|
|
39
42
|
export * from './ContactsDateCustomField';
|
|
40
43
|
export * from './ContactsEmail';
|
|
44
|
+
export * from './ContactsFieldValueCreateCustomFieldPayload';
|
|
41
45
|
export * from './ContactsFieldValueCustomField';
|
|
42
46
|
export * from './ContactsHouseholdAddress';
|
|
43
47
|
export * from './ContactsHouseholdsCreateHouseholdPayload';
|
|
@@ -49,7 +53,9 @@ export * from './ContactsIndividualIdentification';
|
|
|
49
53
|
export * from './ContactsInvestmentObjective';
|
|
50
54
|
export * from './ContactsInvestorProfile';
|
|
51
55
|
export * from './ContactsListContactResponse';
|
|
56
|
+
export * from './ContactsMoneyCreateCustomFieldPayload';
|
|
52
57
|
export * from './ContactsMoneyCustomField';
|
|
58
|
+
export * from './ContactsNumericCreateCustomFieldPayload';
|
|
53
59
|
export * from './ContactsNumericCustomField';
|
|
54
60
|
export * from './ContactsOccupation';
|
|
55
61
|
export * from './ContactsOrganizationIdentification';
|
|
@@ -58,6 +64,7 @@ export * from './ContactsRegistrationNumbers';
|
|
|
58
64
|
export * from './ContactsRevenue';
|
|
59
65
|
export * from './ContactsRiskTolerance';
|
|
60
66
|
export * from './ContactsSegmentation';
|
|
67
|
+
export * from './ContactsTextCreateCustomFieldPayload';
|
|
61
68
|
export * from './ContactsTextCustomField';
|
|
62
69
|
export * from './ContactsWebSite';
|
|
63
70
|
export * from './ContextActor';
|
|
@@ -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,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Equisoft /connect API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: latest
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfContactsBooleanCreateCustomFieldPayload = instanceOfContactsBooleanCreateCustomFieldPayload;
|
|
17
|
+
exports.ContactsBooleanCreateCustomFieldPayloadFromJSON = ContactsBooleanCreateCustomFieldPayloadFromJSON;
|
|
18
|
+
exports.ContactsBooleanCreateCustomFieldPayloadFromJSONTyped = ContactsBooleanCreateCustomFieldPayloadFromJSONTyped;
|
|
19
|
+
exports.ContactsBooleanCreateCustomFieldPayloadToJSON = ContactsBooleanCreateCustomFieldPayloadToJSON;
|
|
20
|
+
exports.ContactsBooleanCreateCustomFieldPayloadToJSONTyped = ContactsBooleanCreateCustomFieldPayloadToJSONTyped;
|
|
21
|
+
const ContactsCustomFieldTypeSchema_1 = require("./ContactsCustomFieldTypeSchema");
|
|
22
|
+
const ContactsCreateCustomFieldPayload_1 = require("./ContactsCreateCustomFieldPayload");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the ContactsBooleanCreateCustomFieldPayload interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfContactsBooleanCreateCustomFieldPayload(value) {
|
|
27
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('value' in value) || value['value'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function ContactsBooleanCreateCustomFieldPayloadFromJSON(json) {
|
|
34
|
+
return ContactsBooleanCreateCustomFieldPayloadFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function ContactsBooleanCreateCustomFieldPayloadFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return Object.assign(Object.assign({}, (0, ContactsCreateCustomFieldPayload_1.ContactsCreateCustomFieldPayloadFromJSONTyped)(json, true)), { 'type': (0, ContactsCustomFieldTypeSchema_1.ContactsCustomFieldTypeSchemaFromJSON)(json['type']), 'value': json['value'] });
|
|
41
|
+
}
|
|
42
|
+
function ContactsBooleanCreateCustomFieldPayloadToJSON(json) {
|
|
43
|
+
return ContactsBooleanCreateCustomFieldPayloadToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function ContactsBooleanCreateCustomFieldPayloadToJSONTyped(value, ignoreDiscriminator = false) {
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return Object.assign(Object.assign({}, (0, ContactsCreateCustomFieldPayload_1.ContactsCreateCustomFieldPayloadToJSONTyped)(value, true)), { 'type': (0, ContactsCustomFieldTypeSchema_1.ContactsCustomFieldTypeSchemaToJSON)(value['type']), 'value': value['value'] });
|
|
50
|
+
}
|
|
@@ -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}
|
|
@@ -21,6 +21,7 @@ exports.ContactsCreateContactPayloadToJSONTyped = ContactsCreateContactPayloadTo
|
|
|
21
21
|
const ContactsCreateOccupationPayload_1 = require("./ContactsCreateOccupationPayload");
|
|
22
22
|
const ContactsCreateEmailPayload_1 = require("./ContactsCreateEmailPayload");
|
|
23
23
|
const ContactsCreateAddressPayload_1 = require("./ContactsCreateAddressPayload");
|
|
24
|
+
const ContactsCreateCustomFieldPayload_1 = require("./ContactsCreateCustomFieldPayload");
|
|
24
25
|
const ContactsCreateSegmentationPayload_1 = require("./ContactsCreateSegmentationPayload");
|
|
25
26
|
const ContactsCreatePhonePayload_1 = require("./ContactsCreatePhonePayload");
|
|
26
27
|
const ContactsCreateAdditionalInformationPayload_1 = require("./ContactsCreateAdditionalInformationPayload");
|
|
@@ -43,6 +44,7 @@ function ContactsCreateContactPayloadFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
43
44
|
}
|
|
44
45
|
return {
|
|
45
46
|
'identification': (0, ContactsCreateIdentificationPayload_1.ContactsCreateIdentificationPayloadFromJSON)(json['identification']),
|
|
47
|
+
'customFields': json['customFields'] == null ? undefined : (json['customFields'].map(ContactsCreateCustomFieldPayload_1.ContactsCreateCustomFieldPayloadFromJSON)),
|
|
46
48
|
'additionalInformation': json['additionalInformation'] == null ? undefined : (0, ContactsCreateAdditionalInformationPayload_1.ContactsCreateAdditionalInformationPayloadFromJSON)(json['additionalInformation']),
|
|
47
49
|
'segmentation': json['segmentation'] == null ? undefined : (0, ContactsCreateSegmentationPayload_1.ContactsCreateSegmentationPayloadFromJSON)(json['segmentation']),
|
|
48
50
|
'addresses': json['addresses'] == null ? undefined : (json['addresses'].map(ContactsCreateAddressPayload_1.ContactsCreateAddressPayloadFromJSON)),
|
|
@@ -63,6 +65,7 @@ function ContactsCreateContactPayloadToJSONTyped(value, ignoreDiscriminator = fa
|
|
|
63
65
|
}
|
|
64
66
|
return {
|
|
65
67
|
'identification': (0, ContactsCreateIdentificationPayload_1.ContactsCreateIdentificationPayloadToJSON)(value['identification']),
|
|
68
|
+
'customFields': value['customFields'] == null ? undefined : (value['customFields'].map(ContactsCreateCustomFieldPayload_1.ContactsCreateCustomFieldPayloadToJSON)),
|
|
66
69
|
'additionalInformation': (0, ContactsCreateAdditionalInformationPayload_1.ContactsCreateAdditionalInformationPayloadToJSON)(value['additionalInformation']),
|
|
67
70
|
'segmentation': (0, ContactsCreateSegmentationPayload_1.ContactsCreateSegmentationPayloadToJSON)(value['segmentation']),
|
|
68
71
|
'addresses': value['addresses'] == null ? undefined : (value['addresses'].map(ContactsCreateAddressPayload_1.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,95 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Equisoft /connect API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: latest
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfContactsCreateCustomFieldPayload = instanceOfContactsCreateCustomFieldPayload;
|
|
17
|
+
exports.ContactsCreateCustomFieldPayloadFromJSON = ContactsCreateCustomFieldPayloadFromJSON;
|
|
18
|
+
exports.ContactsCreateCustomFieldPayloadFromJSONTyped = ContactsCreateCustomFieldPayloadFromJSONTyped;
|
|
19
|
+
exports.ContactsCreateCustomFieldPayloadToJSON = ContactsCreateCustomFieldPayloadToJSON;
|
|
20
|
+
exports.ContactsCreateCustomFieldPayloadToJSONTyped = ContactsCreateCustomFieldPayloadToJSONTyped;
|
|
21
|
+
const ContactsCustomFieldTypeSchema_1 = require("./ContactsCustomFieldTypeSchema");
|
|
22
|
+
const ContactsBooleanCreateCustomFieldPayload_1 = require("./ContactsBooleanCreateCustomFieldPayload");
|
|
23
|
+
const ContactsDateCreateCustomFieldPayload_1 = require("./ContactsDateCreateCustomFieldPayload");
|
|
24
|
+
const ContactsMoneyCreateCustomFieldPayload_1 = require("./ContactsMoneyCreateCustomFieldPayload");
|
|
25
|
+
const ContactsNumericCreateCustomFieldPayload_1 = require("./ContactsNumericCreateCustomFieldPayload");
|
|
26
|
+
const ContactsTextCreateCustomFieldPayload_1 = require("./ContactsTextCreateCustomFieldPayload");
|
|
27
|
+
const ContactsFieldValueCreateCustomFieldPayload_1 = require("./ContactsFieldValueCreateCustomFieldPayload");
|
|
28
|
+
/**
|
|
29
|
+
* Check if a given object implements the ContactsCreateCustomFieldPayload interface.
|
|
30
|
+
*/
|
|
31
|
+
function instanceOfContactsCreateCustomFieldPayload(value) {
|
|
32
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
function ContactsCreateCustomFieldPayloadFromJSON(json) {
|
|
37
|
+
return ContactsCreateCustomFieldPayloadFromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
function ContactsCreateCustomFieldPayloadFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
+
if (json == null) {
|
|
41
|
+
return json;
|
|
42
|
+
}
|
|
43
|
+
if (!ignoreDiscriminator) {
|
|
44
|
+
if (json['type'] === 'boolean_field') {
|
|
45
|
+
return (0, ContactsBooleanCreateCustomFieldPayload_1.ContactsBooleanCreateCustomFieldPayloadFromJSONTyped)(json, ignoreDiscriminator);
|
|
46
|
+
}
|
|
47
|
+
if (json['type'] === 'date_field') {
|
|
48
|
+
return (0, ContactsDateCreateCustomFieldPayload_1.ContactsDateCreateCustomFieldPayloadFromJSONTyped)(json, ignoreDiscriminator);
|
|
49
|
+
}
|
|
50
|
+
if (json['type'] === 'money_field') {
|
|
51
|
+
return (0, ContactsMoneyCreateCustomFieldPayload_1.ContactsMoneyCreateCustomFieldPayloadFromJSONTyped)(json, ignoreDiscriminator);
|
|
52
|
+
}
|
|
53
|
+
if (json['type'] === 'numeric_field') {
|
|
54
|
+
return (0, ContactsNumericCreateCustomFieldPayload_1.ContactsNumericCreateCustomFieldPayloadFromJSONTyped)(json, ignoreDiscriminator);
|
|
55
|
+
}
|
|
56
|
+
if (json['type'] === 'text_field') {
|
|
57
|
+
return (0, ContactsTextCreateCustomFieldPayload_1.ContactsTextCreateCustomFieldPayloadFromJSONTyped)(json, ignoreDiscriminator);
|
|
58
|
+
}
|
|
59
|
+
if (json['type'] === 'vd_field') {
|
|
60
|
+
return (0, ContactsFieldValueCreateCustomFieldPayload_1.ContactsFieldValueCreateCustomFieldPayloadFromJSONTyped)(json, ignoreDiscriminator);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
return {
|
|
64
|
+
'type': (0, ContactsCustomFieldTypeSchema_1.ContactsCustomFieldTypeSchemaFromJSON)(json['type']),
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
function ContactsCreateCustomFieldPayloadToJSON(json) {
|
|
68
|
+
return ContactsCreateCustomFieldPayloadToJSONTyped(json, false);
|
|
69
|
+
}
|
|
70
|
+
function ContactsCreateCustomFieldPayloadToJSONTyped(value, ignoreDiscriminator = false) {
|
|
71
|
+
if (value == null) {
|
|
72
|
+
return value;
|
|
73
|
+
}
|
|
74
|
+
if (!ignoreDiscriminator) {
|
|
75
|
+
switch (value['type']) {
|
|
76
|
+
case 'boolean_field':
|
|
77
|
+
return (0, ContactsBooleanCreateCustomFieldPayload_1.ContactsBooleanCreateCustomFieldPayloadToJSONTyped)(value, ignoreDiscriminator);
|
|
78
|
+
case 'date_field':
|
|
79
|
+
return (0, ContactsDateCreateCustomFieldPayload_1.ContactsDateCreateCustomFieldPayloadToJSONTyped)(value, ignoreDiscriminator);
|
|
80
|
+
case 'money_field':
|
|
81
|
+
return (0, ContactsMoneyCreateCustomFieldPayload_1.ContactsMoneyCreateCustomFieldPayloadToJSONTyped)(value, ignoreDiscriminator);
|
|
82
|
+
case 'numeric_field':
|
|
83
|
+
return (0, ContactsNumericCreateCustomFieldPayload_1.ContactsNumericCreateCustomFieldPayloadToJSONTyped)(value, ignoreDiscriminator);
|
|
84
|
+
case 'text_field':
|
|
85
|
+
return (0, ContactsTextCreateCustomFieldPayload_1.ContactsTextCreateCustomFieldPayloadToJSONTyped)(value, ignoreDiscriminator);
|
|
86
|
+
case 'vd_field':
|
|
87
|
+
return (0, ContactsFieldValueCreateCustomFieldPayload_1.ContactsFieldValueCreateCustomFieldPayloadToJSONTyped)(value, ignoreDiscriminator);
|
|
88
|
+
default:
|
|
89
|
+
return value;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
return {
|
|
93
|
+
'type': (0, ContactsCustomFieldTypeSchema_1.ContactsCustomFieldTypeSchemaToJSON)(value['type']),
|
|
94
|
+
};
|
|
95
|
+
}
|
|
@@ -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,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Equisoft /connect API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: latest
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfContactsDateCreateCustomFieldPayload = instanceOfContactsDateCreateCustomFieldPayload;
|
|
17
|
+
exports.ContactsDateCreateCustomFieldPayloadFromJSON = ContactsDateCreateCustomFieldPayloadFromJSON;
|
|
18
|
+
exports.ContactsDateCreateCustomFieldPayloadFromJSONTyped = ContactsDateCreateCustomFieldPayloadFromJSONTyped;
|
|
19
|
+
exports.ContactsDateCreateCustomFieldPayloadToJSON = ContactsDateCreateCustomFieldPayloadToJSON;
|
|
20
|
+
exports.ContactsDateCreateCustomFieldPayloadToJSONTyped = ContactsDateCreateCustomFieldPayloadToJSONTyped;
|
|
21
|
+
const ContactsCustomFieldTypeSchema_1 = require("./ContactsCustomFieldTypeSchema");
|
|
22
|
+
const ContactsCreateCustomFieldPayload_1 = require("./ContactsCreateCustomFieldPayload");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the ContactsDateCreateCustomFieldPayload interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfContactsDateCreateCustomFieldPayload(value) {
|
|
27
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('value' in value) || value['value'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function ContactsDateCreateCustomFieldPayloadFromJSON(json) {
|
|
34
|
+
return ContactsDateCreateCustomFieldPayloadFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function ContactsDateCreateCustomFieldPayloadFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return Object.assign(Object.assign({}, (0, ContactsCreateCustomFieldPayload_1.ContactsCreateCustomFieldPayloadFromJSONTyped)(json, true)), { 'type': (0, ContactsCustomFieldTypeSchema_1.ContactsCustomFieldTypeSchemaFromJSON)(json['type']), 'value': json['value'] });
|
|
41
|
+
}
|
|
42
|
+
function ContactsDateCreateCustomFieldPayloadToJSON(json) {
|
|
43
|
+
return ContactsDateCreateCustomFieldPayloadToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function ContactsDateCreateCustomFieldPayloadToJSONTyped(value, ignoreDiscriminator = false) {
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return Object.assign(Object.assign({}, (0, ContactsCreateCustomFieldPayload_1.ContactsCreateCustomFieldPayloadToJSONTyped)(value, true)), { 'type': (0, ContactsCustomFieldTypeSchema_1.ContactsCustomFieldTypeSchemaToJSON)(value['type']), 'value': value['value'] });
|
|
50
|
+
}
|