@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 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,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.instanceOfContactsFieldValueCreateCustomFieldPayload = instanceOfContactsFieldValueCreateCustomFieldPayload;
|
|
17
|
+
exports.ContactsFieldValueCreateCustomFieldPayloadFromJSON = ContactsFieldValueCreateCustomFieldPayloadFromJSON;
|
|
18
|
+
exports.ContactsFieldValueCreateCustomFieldPayloadFromJSONTyped = ContactsFieldValueCreateCustomFieldPayloadFromJSONTyped;
|
|
19
|
+
exports.ContactsFieldValueCreateCustomFieldPayloadToJSON = ContactsFieldValueCreateCustomFieldPayloadToJSON;
|
|
20
|
+
exports.ContactsFieldValueCreateCustomFieldPayloadToJSONTyped = ContactsFieldValueCreateCustomFieldPayloadToJSONTyped;
|
|
21
|
+
const ContactsCustomFieldTypeSchema_1 = require("./ContactsCustomFieldTypeSchema");
|
|
22
|
+
const ContactsCreateCustomFieldPayload_1 = require("./ContactsCreateCustomFieldPayload");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the ContactsFieldValueCreateCustomFieldPayload interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfContactsFieldValueCreateCustomFieldPayload(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 ContactsFieldValueCreateCustomFieldPayloadFromJSON(json) {
|
|
34
|
+
return ContactsFieldValueCreateCustomFieldPayloadFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function ContactsFieldValueCreateCustomFieldPayloadFromJSONTyped(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 ContactsFieldValueCreateCustomFieldPayloadToJSON(json) {
|
|
43
|
+
return ContactsFieldValueCreateCustomFieldPayloadToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function ContactsFieldValueCreateCustomFieldPayloadToJSONTyped(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
|
+
}
|
|
@@ -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,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.instanceOfContactsMoneyCreateCustomFieldPayload = instanceOfContactsMoneyCreateCustomFieldPayload;
|
|
17
|
+
exports.ContactsMoneyCreateCustomFieldPayloadFromJSON = ContactsMoneyCreateCustomFieldPayloadFromJSON;
|
|
18
|
+
exports.ContactsMoneyCreateCustomFieldPayloadFromJSONTyped = ContactsMoneyCreateCustomFieldPayloadFromJSONTyped;
|
|
19
|
+
exports.ContactsMoneyCreateCustomFieldPayloadToJSON = ContactsMoneyCreateCustomFieldPayloadToJSON;
|
|
20
|
+
exports.ContactsMoneyCreateCustomFieldPayloadToJSONTyped = ContactsMoneyCreateCustomFieldPayloadToJSONTyped;
|
|
21
|
+
const ContactsCustomFieldTypeSchema_1 = require("./ContactsCustomFieldTypeSchema");
|
|
22
|
+
const ContactsCreateCustomFieldPayload_1 = require("./ContactsCreateCustomFieldPayload");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the ContactsMoneyCreateCustomFieldPayload interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfContactsMoneyCreateCustomFieldPayload(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 ContactsMoneyCreateCustomFieldPayloadFromJSON(json) {
|
|
34
|
+
return ContactsMoneyCreateCustomFieldPayloadFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function ContactsMoneyCreateCustomFieldPayloadFromJSONTyped(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 ContactsMoneyCreateCustomFieldPayloadToJSON(json) {
|
|
43
|
+
return ContactsMoneyCreateCustomFieldPayloadToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function ContactsMoneyCreateCustomFieldPayloadToJSONTyped(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
|
+
}
|
|
@@ -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,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.instanceOfContactsNumericCreateCustomFieldPayload = instanceOfContactsNumericCreateCustomFieldPayload;
|
|
17
|
+
exports.ContactsNumericCreateCustomFieldPayloadFromJSON = ContactsNumericCreateCustomFieldPayloadFromJSON;
|
|
18
|
+
exports.ContactsNumericCreateCustomFieldPayloadFromJSONTyped = ContactsNumericCreateCustomFieldPayloadFromJSONTyped;
|
|
19
|
+
exports.ContactsNumericCreateCustomFieldPayloadToJSON = ContactsNumericCreateCustomFieldPayloadToJSON;
|
|
20
|
+
exports.ContactsNumericCreateCustomFieldPayloadToJSONTyped = ContactsNumericCreateCustomFieldPayloadToJSONTyped;
|
|
21
|
+
const ContactsCustomFieldTypeSchema_1 = require("./ContactsCustomFieldTypeSchema");
|
|
22
|
+
const ContactsCreateCustomFieldPayload_1 = require("./ContactsCreateCustomFieldPayload");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the ContactsNumericCreateCustomFieldPayload interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfContactsNumericCreateCustomFieldPayload(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 ContactsNumericCreateCustomFieldPayloadFromJSON(json) {
|
|
34
|
+
return ContactsNumericCreateCustomFieldPayloadFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function ContactsNumericCreateCustomFieldPayloadFromJSONTyped(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 ContactsNumericCreateCustomFieldPayloadToJSON(json) {
|
|
43
|
+
return ContactsNumericCreateCustomFieldPayloadToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function ContactsNumericCreateCustomFieldPayloadToJSONTyped(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
|
+
}
|
|
@@ -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,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.instanceOfContactsTextCreateCustomFieldPayload = instanceOfContactsTextCreateCustomFieldPayload;
|
|
17
|
+
exports.ContactsTextCreateCustomFieldPayloadFromJSON = ContactsTextCreateCustomFieldPayloadFromJSON;
|
|
18
|
+
exports.ContactsTextCreateCustomFieldPayloadFromJSONTyped = ContactsTextCreateCustomFieldPayloadFromJSONTyped;
|
|
19
|
+
exports.ContactsTextCreateCustomFieldPayloadToJSON = ContactsTextCreateCustomFieldPayloadToJSON;
|
|
20
|
+
exports.ContactsTextCreateCustomFieldPayloadToJSONTyped = ContactsTextCreateCustomFieldPayloadToJSONTyped;
|
|
21
|
+
const ContactsCustomFieldTypeSchema_1 = require("./ContactsCustomFieldTypeSchema");
|
|
22
|
+
const ContactsCreateCustomFieldPayload_1 = require("./ContactsCreateCustomFieldPayload");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the ContactsTextCreateCustomFieldPayload interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfContactsTextCreateCustomFieldPayload(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 ContactsTextCreateCustomFieldPayloadFromJSON(json) {
|
|
34
|
+
return ContactsTextCreateCustomFieldPayloadFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function ContactsTextCreateCustomFieldPayloadFromJSONTyped(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 ContactsTextCreateCustomFieldPayloadToJSON(json) {
|
|
43
|
+
return ContactsTextCreateCustomFieldPayloadToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function ContactsTextCreateCustomFieldPayloadToJSONTyped(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
|
+
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -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/models/index.js
CHANGED
|
@@ -31,6 +31,7 @@ __exportStar(require("./ContactPatchContactPayload"), exports);
|
|
|
31
31
|
__exportStar(require("./ContactPatchDto"), exports);
|
|
32
32
|
__exportStar(require("./ContactsAdditionalInformation"), exports);
|
|
33
33
|
__exportStar(require("./ContactsAddress"), exports);
|
|
34
|
+
__exportStar(require("./ContactsBooleanCreateCustomFieldPayload"), exports);
|
|
34
35
|
__exportStar(require("./ContactsBooleanCustomField"), exports);
|
|
35
36
|
__exportStar(require("./ContactsCivilStatus"), exports);
|
|
36
37
|
__exportStar(require("./ContactsContact"), exports);
|
|
@@ -40,6 +41,7 @@ __exportStar(require("./ContactsContactRelationParticipant"), exports);
|
|
|
40
41
|
__exportStar(require("./ContactsCreateAdditionalInformationPayload"), exports);
|
|
41
42
|
__exportStar(require("./ContactsCreateAddressPayload"), exports);
|
|
42
43
|
__exportStar(require("./ContactsCreateContactPayload"), exports);
|
|
44
|
+
__exportStar(require("./ContactsCreateCustomFieldPayload"), exports);
|
|
43
45
|
__exportStar(require("./ContactsCreateEmailPayload"), exports);
|
|
44
46
|
__exportStar(require("./ContactsCreateIdentificationPayload"), exports);
|
|
45
47
|
__exportStar(require("./ContactsCreateIndividualIdentificationPayload"), exports);
|
|
@@ -52,8 +54,10 @@ __exportStar(require("./ContactsCreateSegmentationPayload"), exports);
|
|
|
52
54
|
__exportStar(require("./ContactsCreateWebsitePayload"), exports);
|
|
53
55
|
__exportStar(require("./ContactsCustomField"), exports);
|
|
54
56
|
__exportStar(require("./ContactsCustomFieldTypeSchema"), exports);
|
|
57
|
+
__exportStar(require("./ContactsDateCreateCustomFieldPayload"), exports);
|
|
55
58
|
__exportStar(require("./ContactsDateCustomField"), exports);
|
|
56
59
|
__exportStar(require("./ContactsEmail"), exports);
|
|
60
|
+
__exportStar(require("./ContactsFieldValueCreateCustomFieldPayload"), exports);
|
|
57
61
|
__exportStar(require("./ContactsFieldValueCustomField"), exports);
|
|
58
62
|
__exportStar(require("./ContactsHouseholdAddress"), exports);
|
|
59
63
|
__exportStar(require("./ContactsHouseholdsCreateHouseholdPayload"), exports);
|
|
@@ -65,7 +69,9 @@ __exportStar(require("./ContactsIndividualIdentification"), exports);
|
|
|
65
69
|
__exportStar(require("./ContactsInvestmentObjective"), exports);
|
|
66
70
|
__exportStar(require("./ContactsInvestorProfile"), exports);
|
|
67
71
|
__exportStar(require("./ContactsListContactResponse"), exports);
|
|
72
|
+
__exportStar(require("./ContactsMoneyCreateCustomFieldPayload"), exports);
|
|
68
73
|
__exportStar(require("./ContactsMoneyCustomField"), exports);
|
|
74
|
+
__exportStar(require("./ContactsNumericCreateCustomFieldPayload"), exports);
|
|
69
75
|
__exportStar(require("./ContactsNumericCustomField"), exports);
|
|
70
76
|
__exportStar(require("./ContactsOccupation"), exports);
|
|
71
77
|
__exportStar(require("./ContactsOrganizationIdentification"), exports);
|
|
@@ -74,6 +80,7 @@ __exportStar(require("./ContactsRegistrationNumbers"), exports);
|
|
|
74
80
|
__exportStar(require("./ContactsRevenue"), exports);
|
|
75
81
|
__exportStar(require("./ContactsRiskTolerance"), exports);
|
|
76
82
|
__exportStar(require("./ContactsSegmentation"), exports);
|
|
83
|
+
__exportStar(require("./ContactsTextCreateCustomFieldPayload"), exports);
|
|
77
84
|
__exportStar(require("./ContactsTextCustomField"), exports);
|
|
78
85
|
__exportStar(require("./ContactsWebSite"), exports);
|
|
79
86
|
__exportStar(require("./ContextActor"), exports);
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
|
|
2
|
+
# ContactsBooleanCreateCustomFieldPayload
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`type` | [ContactsCustomFieldTypeSchema](ContactsCustomFieldTypeSchema.md)
|
|
10
|
+
`value` | boolean
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import type { ContactsBooleanCreateCustomFieldPayload } from '@equisoft/equisoft-connect-sdk-typescript'
|
|
16
|
+
|
|
17
|
+
// TODO: Update the object below with actual values
|
|
18
|
+
const example = {
|
|
19
|
+
"type": null,
|
|
20
|
+
"value": null,
|
|
21
|
+
} satisfies ContactsBooleanCreateCustomFieldPayload
|
|
22
|
+
|
|
23
|
+
console.log(example)
|
|
24
|
+
|
|
25
|
+
// Convert the instance to a JSON string
|
|
26
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
27
|
+
console.log(exampleJSON)
|
|
28
|
+
|
|
29
|
+
// Parse the JSON string back to an object
|
|
30
|
+
const exampleParsed = JSON.parse(exampleJSON) as ContactsBooleanCreateCustomFieldPayload
|
|
31
|
+
console.log(exampleParsed)
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
35
|
+
|
|
36
|
+
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
Name | Type
|
|
8
8
|
------------ | -------------
|
|
9
9
|
`identification` | [ContactsCreateIdentificationPayload](ContactsCreateIdentificationPayload.md)
|
|
10
|
+
`customFields` | [Array<ContactsCreateCustomFieldPayload>](ContactsCreateCustomFieldPayload.md)
|
|
10
11
|
`additionalInformation` | [ContactsCreateAdditionalInformationPayload](ContactsCreateAdditionalInformationPayload.md)
|
|
11
12
|
`segmentation` | [ContactsCreateSegmentationPayload](ContactsCreateSegmentationPayload.md)
|
|
12
13
|
`addresses` | [Array<ContactsCreateAddressPayload>](ContactsCreateAddressPayload.md)
|
|
@@ -25,6 +26,7 @@ import type { ContactsCreateContactPayload } from '@equisoft/equisoft-connect-sd
|
|
|
25
26
|
// TODO: Update the object below with actual values
|
|
26
27
|
const example = {
|
|
27
28
|
"identification": null,
|
|
29
|
+
"customFields": null,
|
|
28
30
|
"additionalInformation": null,
|
|
29
31
|
"segmentation": null,
|
|
30
32
|
"addresses": null,
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
|
|
2
|
+
# ContactsCreateCustomFieldPayload
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`type` | [ContactsCustomFieldTypeSchema](ContactsCustomFieldTypeSchema.md)
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import type { ContactsCreateCustomFieldPayload } from '@equisoft/equisoft-connect-sdk-typescript'
|
|
15
|
+
|
|
16
|
+
// TODO: Update the object below with actual values
|
|
17
|
+
const example = {
|
|
18
|
+
"type": null,
|
|
19
|
+
} satisfies ContactsCreateCustomFieldPayload
|
|
20
|
+
|
|
21
|
+
console.log(example)
|
|
22
|
+
|
|
23
|
+
// Convert the instance to a JSON string
|
|
24
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
25
|
+
console.log(exampleJSON)
|
|
26
|
+
|
|
27
|
+
// Parse the JSON string back to an object
|
|
28
|
+
const exampleParsed = JSON.parse(exampleJSON) as ContactsCreateCustomFieldPayload
|
|
29
|
+
console.log(exampleParsed)
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
33
|
+
|
|
34
|
+
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
|
|
2
|
+
# ContactsDateCreateCustomFieldPayload
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`type` | [ContactsCustomFieldTypeSchema](ContactsCustomFieldTypeSchema.md)
|
|
10
|
+
`value` | string
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import type { ContactsDateCreateCustomFieldPayload } from '@equisoft/equisoft-connect-sdk-typescript'
|
|
16
|
+
|
|
17
|
+
// TODO: Update the object below with actual values
|
|
18
|
+
const example = {
|
|
19
|
+
"type": null,
|
|
20
|
+
"value": null,
|
|
21
|
+
} satisfies ContactsDateCreateCustomFieldPayload
|
|
22
|
+
|
|
23
|
+
console.log(example)
|
|
24
|
+
|
|
25
|
+
// Convert the instance to a JSON string
|
|
26
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
27
|
+
console.log(exampleJSON)
|
|
28
|
+
|
|
29
|
+
// Parse the JSON string back to an object
|
|
30
|
+
const exampleParsed = JSON.parse(exampleJSON) as ContactsDateCreateCustomFieldPayload
|
|
31
|
+
console.log(exampleParsed)
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
35
|
+
|
|
36
|
+
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
|
|
2
|
+
# ContactsFieldValueCreateCustomFieldPayload
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`type` | [ContactsCustomFieldTypeSchema](ContactsCustomFieldTypeSchema.md)
|
|
10
|
+
`value` | number
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import type { ContactsFieldValueCreateCustomFieldPayload } from '@equisoft/equisoft-connect-sdk-typescript'
|
|
16
|
+
|
|
17
|
+
// TODO: Update the object below with actual values
|
|
18
|
+
const example = {
|
|
19
|
+
"type": null,
|
|
20
|
+
"value": null,
|
|
21
|
+
} satisfies ContactsFieldValueCreateCustomFieldPayload
|
|
22
|
+
|
|
23
|
+
console.log(example)
|
|
24
|
+
|
|
25
|
+
// Convert the instance to a JSON string
|
|
26
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
27
|
+
console.log(exampleJSON)
|
|
28
|
+
|
|
29
|
+
// Parse the JSON string back to an object
|
|
30
|
+
const exampleParsed = JSON.parse(exampleJSON) as ContactsFieldValueCreateCustomFieldPayload
|
|
31
|
+
console.log(exampleParsed)
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
35
|
+
|
|
36
|
+
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
|
|
2
|
+
# ContactsMoneyCreateCustomFieldPayload
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`type` | [ContactsCustomFieldTypeSchema](ContactsCustomFieldTypeSchema.md)
|
|
10
|
+
`value` | string
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import type { ContactsMoneyCreateCustomFieldPayload } from '@equisoft/equisoft-connect-sdk-typescript'
|
|
16
|
+
|
|
17
|
+
// TODO: Update the object below with actual values
|
|
18
|
+
const example = {
|
|
19
|
+
"type": null,
|
|
20
|
+
"value": null,
|
|
21
|
+
} satisfies ContactsMoneyCreateCustomFieldPayload
|
|
22
|
+
|
|
23
|
+
console.log(example)
|
|
24
|
+
|
|
25
|
+
// Convert the instance to a JSON string
|
|
26
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
27
|
+
console.log(exampleJSON)
|
|
28
|
+
|
|
29
|
+
// Parse the JSON string back to an object
|
|
30
|
+
const exampleParsed = JSON.parse(exampleJSON) as ContactsMoneyCreateCustomFieldPayload
|
|
31
|
+
console.log(exampleParsed)
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
35
|
+
|
|
36
|
+
|