@equisoft/equisoft-connect-sdk-typescript 13.61.1-snapshot.20261102175030 → 13.62.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/dist/esm/models/ContactsCreateCustomFieldPayload.d.ts +6 -0
- package/dist/esm/models/ContactsCreateCustomFieldPayload.js +4 -0
- package/dist/models/ContactsCreateCustomFieldPayload.d.ts +6 -0
- package/dist/models/ContactsCreateCustomFieldPayload.js +4 -0
- package/docs/ContactsCreateCustomFieldPayload.md +2 -0
- package/package.json +1 -1
- package/src/models/ContactsCreateCustomFieldPayload.ts +9 -0
|
@@ -22,6 +22,12 @@ export interface ContactsCreateCustomFieldPayload {
|
|
|
22
22
|
* @memberof ContactsCreateCustomFieldPayload
|
|
23
23
|
*/
|
|
24
24
|
type: ContactsCustomFieldTypeSchema;
|
|
25
|
+
/**
|
|
26
|
+
* The field system name
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ContactsCreateCustomFieldPayload
|
|
29
|
+
*/
|
|
30
|
+
systemName: string;
|
|
25
31
|
}
|
|
26
32
|
/**
|
|
27
33
|
* Check if a given object implements the ContactsCreateCustomFieldPayload interface.
|
|
@@ -24,6 +24,8 @@ import { ContactsFieldValueCreateCustomFieldPayloadFromJSONTyped, ContactsFieldV
|
|
|
24
24
|
export function instanceOfContactsCreateCustomFieldPayload(value) {
|
|
25
25
|
if (!('type' in value) || value['type'] === undefined)
|
|
26
26
|
return false;
|
|
27
|
+
if (!('systemName' in value) || value['systemName'] === undefined)
|
|
28
|
+
return false;
|
|
27
29
|
return true;
|
|
28
30
|
}
|
|
29
31
|
export function ContactsCreateCustomFieldPayloadFromJSON(json) {
|
|
@@ -55,6 +57,7 @@ export function ContactsCreateCustomFieldPayloadFromJSONTyped(json, ignoreDiscri
|
|
|
55
57
|
}
|
|
56
58
|
return {
|
|
57
59
|
'type': ContactsCustomFieldTypeSchemaFromJSON(json['type']),
|
|
60
|
+
'systemName': json['systemName'],
|
|
58
61
|
};
|
|
59
62
|
}
|
|
60
63
|
export function ContactsCreateCustomFieldPayloadToJSON(json) {
|
|
@@ -84,5 +87,6 @@ export function ContactsCreateCustomFieldPayloadToJSONTyped(value, ignoreDiscrim
|
|
|
84
87
|
}
|
|
85
88
|
return {
|
|
86
89
|
'type': ContactsCustomFieldTypeSchemaToJSON(value['type']),
|
|
90
|
+
'systemName': value['systemName'],
|
|
87
91
|
};
|
|
88
92
|
}
|
|
@@ -22,6 +22,12 @@ export interface ContactsCreateCustomFieldPayload {
|
|
|
22
22
|
* @memberof ContactsCreateCustomFieldPayload
|
|
23
23
|
*/
|
|
24
24
|
type: ContactsCustomFieldTypeSchema;
|
|
25
|
+
/**
|
|
26
|
+
* The field system name
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ContactsCreateCustomFieldPayload
|
|
29
|
+
*/
|
|
30
|
+
systemName: string;
|
|
25
31
|
}
|
|
26
32
|
/**
|
|
27
33
|
* Check if a given object implements the ContactsCreateCustomFieldPayload interface.
|
|
@@ -31,6 +31,8 @@ const ContactsFieldValueCreateCustomFieldPayload_1 = require("./ContactsFieldVal
|
|
|
31
31
|
function instanceOfContactsCreateCustomFieldPayload(value) {
|
|
32
32
|
if (!('type' in value) || value['type'] === undefined)
|
|
33
33
|
return false;
|
|
34
|
+
if (!('systemName' in value) || value['systemName'] === undefined)
|
|
35
|
+
return false;
|
|
34
36
|
return true;
|
|
35
37
|
}
|
|
36
38
|
function ContactsCreateCustomFieldPayloadFromJSON(json) {
|
|
@@ -62,6 +64,7 @@ function ContactsCreateCustomFieldPayloadFromJSONTyped(json, ignoreDiscriminator
|
|
|
62
64
|
}
|
|
63
65
|
return {
|
|
64
66
|
'type': (0, ContactsCustomFieldTypeSchema_1.ContactsCustomFieldTypeSchemaFromJSON)(json['type']),
|
|
67
|
+
'systemName': json['systemName'],
|
|
65
68
|
};
|
|
66
69
|
}
|
|
67
70
|
function ContactsCreateCustomFieldPayloadToJSON(json) {
|
|
@@ -91,5 +94,6 @@ function ContactsCreateCustomFieldPayloadToJSONTyped(value, ignoreDiscriminator
|
|
|
91
94
|
}
|
|
92
95
|
return {
|
|
93
96
|
'type': (0, ContactsCustomFieldTypeSchema_1.ContactsCustomFieldTypeSchemaToJSON)(value['type']),
|
|
97
|
+
'systemName': value['systemName'],
|
|
94
98
|
};
|
|
95
99
|
}
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
Name | Type
|
|
8
8
|
------------ | -------------
|
|
9
9
|
`type` | [ContactsCustomFieldTypeSchema](ContactsCustomFieldTypeSchema.md)
|
|
10
|
+
`systemName` | string
|
|
10
11
|
|
|
11
12
|
## Example
|
|
12
13
|
|
|
@@ -16,6 +17,7 @@ import type { ContactsCreateCustomFieldPayload } from '@equisoft/equisoft-connec
|
|
|
16
17
|
// TODO: Update the object below with actual values
|
|
17
18
|
const example = {
|
|
18
19
|
"type": null,
|
|
20
|
+
"systemName": text_field_1,
|
|
19
21
|
} satisfies ContactsCreateCustomFieldPayload
|
|
20
22
|
|
|
21
23
|
console.log(example)
|
package/package.json
CHANGED
|
@@ -39,6 +39,12 @@ export interface ContactsCreateCustomFieldPayload {
|
|
|
39
39
|
* @memberof ContactsCreateCustomFieldPayload
|
|
40
40
|
*/
|
|
41
41
|
type: ContactsCustomFieldTypeSchema;
|
|
42
|
+
/**
|
|
43
|
+
* The field system name
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof ContactsCreateCustomFieldPayload
|
|
46
|
+
*/
|
|
47
|
+
systemName: string;
|
|
42
48
|
}
|
|
43
49
|
|
|
44
50
|
|
|
@@ -48,6 +54,7 @@ export interface ContactsCreateCustomFieldPayload {
|
|
|
48
54
|
*/
|
|
49
55
|
export function instanceOfContactsCreateCustomFieldPayload(value: object): value is ContactsCreateCustomFieldPayload {
|
|
50
56
|
if (!('type' in value) || value['type'] === undefined) return false;
|
|
57
|
+
if (!('systemName' in value) || value['systemName'] === undefined) return false;
|
|
51
58
|
return true;
|
|
52
59
|
}
|
|
53
60
|
|
|
@@ -83,6 +90,7 @@ export function ContactsCreateCustomFieldPayloadFromJSONTyped(json: any, ignoreD
|
|
|
83
90
|
return {
|
|
84
91
|
|
|
85
92
|
'type': ContactsCustomFieldTypeSchemaFromJSON(json['type']),
|
|
93
|
+
'systemName': json['systemName'],
|
|
86
94
|
};
|
|
87
95
|
}
|
|
88
96
|
|
|
@@ -117,6 +125,7 @@ export function ContactsCreateCustomFieldPayloadToJSONTyped(value?: ContactsCrea
|
|
|
117
125
|
return {
|
|
118
126
|
|
|
119
127
|
'type': ContactsCustomFieldTypeSchemaToJSON(value['type']),
|
|
128
|
+
'systemName': value['systemName'],
|
|
120
129
|
};
|
|
121
130
|
}
|
|
122
131
|
|