@equisoft/equisoft-connect-sdk-typescript 13.45.1-snapshot.20260303081907 → 13.46.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/ContactsCreateIdentificationPayload.d.ts +15 -9
- package/dist/esm/models/ContactsCreateIdentificationPayload.js +33 -16
- package/dist/esm/models/ContactsCreateIndividualIdentificationPayload.d.ts +2 -8
- package/dist/esm/models/ContactsCreateIndividualIdentificationPayload.js +3 -29
- package/dist/esm/models/ContactsCreateOrganizationIdentificationPayload.d.ts +2 -8
- package/dist/esm/models/ContactsCreateOrganizationIdentificationPayload.js +3 -15
- package/dist/esm/models/ContactsIdentification.d.ts +15 -9
- package/dist/esm/models/ContactsIdentification.js +33 -16
- package/dist/esm/models/ContactsIndividualIdentification.d.ts +2 -8
- package/dist/esm/models/ContactsIndividualIdentification.js +3 -27
- package/dist/esm/models/ContactsOrganizationIdentification.d.ts +2 -8
- package/dist/esm/models/ContactsOrganizationIdentification.js +3 -15
- package/dist/esm/models/MovementClientBaseUsingDistributionListMovement.d.ts +2 -8
- package/dist/esm/models/MovementClientBaseUsingDistributionListMovement.js +3 -39
- package/dist/esm/models/MovementClientBaseUsingDistributionListMovementPayload.d.ts +2 -8
- package/dist/esm/models/MovementClientBaseUsingDistributionListMovementPayload.js +3 -23
- package/dist/esm/models/MovementClientBaseUsingFileMovement.d.ts +2 -8
- package/dist/esm/models/MovementClientBaseUsingFileMovement.js +3 -41
- package/dist/esm/models/MovementClientBaseUsingFileMovementPayload.d.ts +2 -8
- package/dist/esm/models/MovementClientBaseUsingFileMovementPayload.js +3 -25
- package/dist/esm/models/MovementCopyMovement.d.ts +2 -8
- package/dist/esm/models/MovementCopyMovement.js +3 -33
- package/dist/esm/models/MovementCopyMovementPayload.d.ts +2 -8
- package/dist/esm/models/MovementCopyMovementPayload.js +3 -19
- package/dist/esm/models/MovementMoveMovement.d.ts +2 -8
- package/dist/esm/models/MovementMoveMovement.js +3 -33
- package/dist/esm/models/MovementMoveMovementPayload.d.ts +2 -8
- package/dist/esm/models/MovementMoveMovementPayload.js +3 -19
- package/dist/esm/models/MovementMovement.d.ts +70 -15
- package/dist/esm/models/MovementMovement.js +64 -26
- package/dist/esm/models/MovementMovementPayload.d.ts +21 -15
- package/dist/esm/models/MovementMovementPayload.js +47 -26
- package/dist/models/ContactsCreateIdentificationPayload.d.ts +15 -9
- package/dist/models/ContactsCreateIdentificationPayload.js +32 -14
- package/dist/models/ContactsCreateIndividualIdentificationPayload.d.ts +2 -8
- package/dist/models/ContactsCreateIndividualIdentificationPayload.js +3 -29
- package/dist/models/ContactsCreateOrganizationIdentificationPayload.d.ts +2 -8
- package/dist/models/ContactsCreateOrganizationIdentificationPayload.js +3 -15
- package/dist/models/ContactsIdentification.d.ts +15 -9
- package/dist/models/ContactsIdentification.js +32 -14
- package/dist/models/ContactsIndividualIdentification.d.ts +2 -8
- package/dist/models/ContactsIndividualIdentification.js +3 -27
- package/dist/models/ContactsOrganizationIdentification.d.ts +2 -8
- package/dist/models/ContactsOrganizationIdentification.js +3 -15
- package/dist/models/MovementClientBaseUsingDistributionListMovement.d.ts +2 -8
- package/dist/models/MovementClientBaseUsingDistributionListMovement.js +3 -39
- package/dist/models/MovementClientBaseUsingDistributionListMovementPayload.d.ts +2 -8
- package/dist/models/MovementClientBaseUsingDistributionListMovementPayload.js +3 -23
- package/dist/models/MovementClientBaseUsingFileMovement.d.ts +2 -8
- package/dist/models/MovementClientBaseUsingFileMovement.js +3 -41
- package/dist/models/MovementClientBaseUsingFileMovementPayload.d.ts +2 -8
- package/dist/models/MovementClientBaseUsingFileMovementPayload.js +3 -25
- package/dist/models/MovementCopyMovement.d.ts +2 -8
- package/dist/models/MovementCopyMovement.js +3 -33
- package/dist/models/MovementCopyMovementPayload.d.ts +2 -8
- package/dist/models/MovementCopyMovementPayload.js +3 -19
- package/dist/models/MovementMoveMovement.d.ts +2 -8
- package/dist/models/MovementMoveMovement.js +3 -33
- package/dist/models/MovementMoveMovementPayload.d.ts +2 -8
- package/dist/models/MovementMoveMovementPayload.js +3 -19
- package/dist/models/MovementMovement.d.ts +70 -15
- package/dist/models/MovementMovement.js +61 -22
- package/dist/models/MovementMovementPayload.d.ts +21 -15
- package/dist/models/MovementMovementPayload.js +44 -22
- package/docs/ContactsCreateIdentificationPayload.md +0 -26
- package/docs/ContactsCreateIndividualIdentificationPayload.md +0 -2
- package/docs/ContactsCreateOrganizationIdentificationPayload.md +0 -2
- package/docs/ContactsIdentification.md +0 -24
- package/docs/ContactsIndividualIdentification.md +0 -2
- package/docs/ContactsOrganizationIdentification.md +0 -2
- package/docs/MovementClientBaseUsingDistributionListMovement.md +0 -2
- package/docs/MovementClientBaseUsingDistributionListMovementPayload.md +0 -2
- package/docs/MovementClientBaseUsingFileMovement.md +0 -2
- package/docs/MovementClientBaseUsingFileMovementPayload.md +0 -2
- package/docs/MovementCopyMovement.md +0 -2
- package/docs/MovementCopyMovementPayload.md +0 -2
- package/docs/MovementMoveMovement.md +0 -2
- package/docs/MovementMoveMovementPayload.md +0 -2
- package/docs/MovementMovement.md +0 -22
- package/docs/MovementMovementPayload.md +0 -24
- package/package.json +1 -1
- package/src/models/ContactsCreateIdentificationPayload.ts +56 -30
- package/src/models/ContactsCreateIndividualIdentificationPayload.ts +10 -12
- package/src/models/ContactsCreateOrganizationIdentificationPayload.ts +10 -12
- package/src/models/ContactsIdentification.ts +56 -30
- package/src/models/ContactsIndividualIdentification.ts +10 -12
- package/src/models/ContactsOrganizationIdentification.ts +10 -12
- package/src/models/MovementClientBaseUsingDistributionListMovement.ts +10 -12
- package/src/models/MovementClientBaseUsingDistributionListMovementPayload.ts +10 -12
- package/src/models/MovementClientBaseUsingFileMovement.ts +10 -12
- package/src/models/MovementClientBaseUsingFileMovementPayload.ts +10 -12
- package/src/models/MovementCopyMovement.ts +10 -12
- package/src/models/MovementCopyMovementPayload.ts +10 -12
- package/src/models/MovementMoveMovement.ts +10 -12
- package/src/models/MovementMoveMovementPayload.ts +10 -12
- package/src/models/MovementMovement.ts +146 -51
- package/src/models/MovementMovementPayload.ts +76 -52
|
@@ -7,18 +7,6 @@
|
|
|
7
7
|
Name | Type
|
|
8
8
|
------------ | -------------
|
|
9
9
|
`type` | [ContactIdentificationType](ContactIdentificationType.md)
|
|
10
|
-
`title` | [ContactsContactFieldValue](ContactsContactFieldValue.md)
|
|
11
|
-
`gender` | string
|
|
12
|
-
`firstName` | string
|
|
13
|
-
`middleName` | string
|
|
14
|
-
`lastName` | string
|
|
15
|
-
`maidenName` | string
|
|
16
|
-
`suffix` | string
|
|
17
|
-
`greeting` | string
|
|
18
|
-
`clientNb` | string
|
|
19
|
-
`nameLine1` | string
|
|
20
|
-
`nameLine2` | string
|
|
21
|
-
`abbreviation` | string
|
|
22
10
|
|
|
23
11
|
## Example
|
|
24
12
|
|
|
@@ -28,18 +16,6 @@ import type { ContactsIdentification } from '@equisoft/equisoft-connect-sdk-type
|
|
|
28
16
|
// TODO: Update the object below with actual values
|
|
29
17
|
const example = {
|
|
30
18
|
"type": null,
|
|
31
|
-
"title": null,
|
|
32
|
-
"gender": null,
|
|
33
|
-
"firstName": null,
|
|
34
|
-
"middleName": null,
|
|
35
|
-
"lastName": null,
|
|
36
|
-
"maidenName": null,
|
|
37
|
-
"suffix": null,
|
|
38
|
-
"greeting": null,
|
|
39
|
-
"clientNb": null,
|
|
40
|
-
"nameLine1": null,
|
|
41
|
-
"nameLine2": null,
|
|
42
|
-
"abbreviation": null,
|
|
43
19
|
} satisfies ContactsIdentification
|
|
44
20
|
|
|
45
21
|
console.log(example)
|
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
|
|
7
7
|
Name | Type
|
|
8
8
|
------------ | -------------
|
|
9
|
-
`type` | [ContactIdentificationType](ContactIdentificationType.md)
|
|
10
9
|
`title` | [ContactsContactFieldValue](ContactsContactFieldValue.md)
|
|
11
10
|
`gender` | string
|
|
12
11
|
`firstName` | string
|
|
@@ -24,7 +23,6 @@ import type { ContactsIndividualIdentification } from '@equisoft/equisoft-connec
|
|
|
24
23
|
|
|
25
24
|
// TODO: Update the object below with actual values
|
|
26
25
|
const example = {
|
|
27
|
-
"type": null,
|
|
28
26
|
"title": null,
|
|
29
27
|
"gender": null,
|
|
30
28
|
"firstName": null,
|
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
|
|
7
7
|
Name | Type
|
|
8
8
|
------------ | -------------
|
|
9
|
-
`type` | [ContactIdentificationType](ContactIdentificationType.md)
|
|
10
9
|
`nameLine1` | string
|
|
11
10
|
`nameLine2` | string
|
|
12
11
|
`abbreviation` | string
|
|
@@ -18,7 +17,6 @@ import type { ContactsOrganizationIdentification } from '@equisoft/equisoft-conn
|
|
|
18
17
|
|
|
19
18
|
// TODO: Update the object below with actual values
|
|
20
19
|
const example = {
|
|
21
|
-
"type": null,
|
|
22
20
|
"nameLine1": null,
|
|
23
21
|
"nameLine2": null,
|
|
24
22
|
"abbreviation": null,
|
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
|
|
7
7
|
Name | Type
|
|
8
8
|
------------ | -------------
|
|
9
|
-
`type` | [MovementMovementType](MovementMovementType.md)
|
|
10
9
|
`id` | number
|
|
11
10
|
`status` | string
|
|
12
11
|
`availableAction` | string
|
|
@@ -30,7 +29,6 @@ import type { MovementClientBaseUsingDistributionListMovement } from '@equisoft/
|
|
|
30
29
|
|
|
31
30
|
// TODO: Update the object below with actual values
|
|
32
31
|
const example = {
|
|
33
|
-
"type": null,
|
|
34
32
|
"id": null,
|
|
35
33
|
"status": null,
|
|
36
34
|
"availableAction": null,
|
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
|
|
7
7
|
Name | Type
|
|
8
8
|
------------ | -------------
|
|
9
|
-
`type` | [MovementMovementType](MovementMovementType.md)
|
|
10
9
|
`date` | string
|
|
11
10
|
`sourceDatabase` | string
|
|
12
11
|
`sourceUser` | string
|
|
@@ -22,7 +21,6 @@ import type { MovementClientBaseUsingDistributionListMovementPayload } from '@eq
|
|
|
22
21
|
|
|
23
22
|
// TODO: Update the object below with actual values
|
|
24
23
|
const example = {
|
|
25
|
-
"type": null,
|
|
26
24
|
"date": null,
|
|
27
25
|
"sourceDatabase": null,
|
|
28
26
|
"sourceUser": null,
|
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
|
|
7
7
|
Name | Type
|
|
8
8
|
------------ | -------------
|
|
9
|
-
`type` | [MovementMovementType](MovementMovementType.md)
|
|
10
9
|
`id` | number
|
|
11
10
|
`status` | string
|
|
12
11
|
`availableAction` | string
|
|
@@ -31,7 +30,6 @@ import type { MovementClientBaseUsingFileMovement } from '@equisoft/equisoft-con
|
|
|
31
30
|
|
|
32
31
|
// TODO: Update the object below with actual values
|
|
33
32
|
const example = {
|
|
34
|
-
"type": null,
|
|
35
33
|
"id": null,
|
|
36
34
|
"status": null,
|
|
37
35
|
"availableAction": null,
|
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
|
|
7
7
|
Name | Type
|
|
8
8
|
------------ | -------------
|
|
9
|
-
`type` | [MovementMovementType](MovementMovementType.md)
|
|
10
9
|
`date` | string
|
|
11
10
|
`sourceDatabase` | string
|
|
12
11
|
`sourceUser` | string
|
|
@@ -23,7 +22,6 @@ import type { MovementClientBaseUsingFileMovementPayload } from '@equisoft/equis
|
|
|
23
22
|
|
|
24
23
|
// TODO: Update the object below with actual values
|
|
25
24
|
const example = {
|
|
26
|
-
"type": null,
|
|
27
25
|
"date": null,
|
|
28
26
|
"sourceDatabase": null,
|
|
29
27
|
"sourceUser": null,
|
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
|
|
7
7
|
Name | Type
|
|
8
8
|
------------ | -------------
|
|
9
|
-
`type` | [MovementMovementType](MovementMovementType.md)
|
|
10
9
|
`id` | number
|
|
11
10
|
`status` | string
|
|
12
11
|
`availableAction` | string
|
|
@@ -27,7 +26,6 @@ import type { MovementCopyMovement } from '@equisoft/equisoft-connect-sdk-typesc
|
|
|
27
26
|
|
|
28
27
|
// TODO: Update the object below with actual values
|
|
29
28
|
const example = {
|
|
30
|
-
"type": null,
|
|
31
29
|
"id": null,
|
|
32
30
|
"status": null,
|
|
33
31
|
"availableAction": null,
|
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
|
|
7
7
|
Name | Type
|
|
8
8
|
------------ | -------------
|
|
9
|
-
`type` | [MovementMovementType](MovementMovementType.md)
|
|
10
9
|
`date` | string
|
|
11
10
|
`sourceDatabase` | string
|
|
12
11
|
`destinationDatabase` | string
|
|
@@ -20,7 +19,6 @@ import type { MovementCopyMovementPayload } from '@equisoft/equisoft-connect-sdk
|
|
|
20
19
|
|
|
21
20
|
// TODO: Update the object below with actual values
|
|
22
21
|
const example = {
|
|
23
|
-
"type": null,
|
|
24
22
|
"date": null,
|
|
25
23
|
"sourceDatabase": null,
|
|
26
24
|
"destinationDatabase": null,
|
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
|
|
7
7
|
Name | Type
|
|
8
8
|
------------ | -------------
|
|
9
|
-
`type` | [MovementMovementType](MovementMovementType.md)
|
|
10
9
|
`id` | number
|
|
11
10
|
`status` | string
|
|
12
11
|
`availableAction` | string
|
|
@@ -27,7 +26,6 @@ import type { MovementMoveMovement } from '@equisoft/equisoft-connect-sdk-typesc
|
|
|
27
26
|
|
|
28
27
|
// TODO: Update the object below with actual values
|
|
29
28
|
const example = {
|
|
30
|
-
"type": null,
|
|
31
29
|
"id": null,
|
|
32
30
|
"status": null,
|
|
33
31
|
"availableAction": null,
|
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
|
|
7
7
|
Name | Type
|
|
8
8
|
------------ | -------------
|
|
9
|
-
`type` | [MovementMovementType](MovementMovementType.md)
|
|
10
9
|
`date` | string
|
|
11
10
|
`sourceDatabase` | string
|
|
12
11
|
`destinationDatabase` | string
|
|
@@ -20,7 +19,6 @@ import type { MovementMoveMovementPayload } from '@equisoft/equisoft-connect-sdk
|
|
|
20
19
|
|
|
21
20
|
// TODO: Update the object below with actual values
|
|
22
21
|
const example = {
|
|
23
|
-
"type": null,
|
|
24
22
|
"date": null,
|
|
25
23
|
"sourceDatabase": null,
|
|
26
24
|
"destinationDatabase": null,
|
package/docs/MovementMovement.md
CHANGED
|
@@ -16,17 +16,6 @@ Name | Type
|
|
|
16
16
|
`addedBy` | [MovementUser](MovementUser.md)
|
|
17
17
|
`cancelledDate` | string
|
|
18
18
|
`cancelledBy` | [MovementUser](MovementUser.md)
|
|
19
|
-
`sourceDatabase` | [MovementDatabase](MovementDatabase.md)
|
|
20
|
-
`destinationDatabase` | [MovementDatabase](MovementDatabase.md)
|
|
21
|
-
`users` | [Array<MovementUser>](MovementUser.md)
|
|
22
|
-
`userTuples` | [Array<MovementUserTuple>](MovementUserTuple.md)
|
|
23
|
-
`sourceUser` | [MovementUser](MovementUser.md)
|
|
24
|
-
`sourceDistributionList` | [MovementDistributionList](MovementDistributionList.md)
|
|
25
|
-
`destinationUser` | [MovementUser](MovementUser.md)
|
|
26
|
-
`transferOption` | [MovementTransferOption](MovementTransferOption.md)
|
|
27
|
-
`capsil` | boolean
|
|
28
|
-
`univeris` | boolean
|
|
29
|
-
`dataphile` | boolean
|
|
30
19
|
|
|
31
20
|
## Example
|
|
32
21
|
|
|
@@ -45,17 +34,6 @@ const example = {
|
|
|
45
34
|
"addedBy": null,
|
|
46
35
|
"cancelledDate": null,
|
|
47
36
|
"cancelledBy": null,
|
|
48
|
-
"sourceDatabase": null,
|
|
49
|
-
"destinationDatabase": null,
|
|
50
|
-
"users": null,
|
|
51
|
-
"userTuples": null,
|
|
52
|
-
"sourceUser": null,
|
|
53
|
-
"sourceDistributionList": null,
|
|
54
|
-
"destinationUser": null,
|
|
55
|
-
"transferOption": null,
|
|
56
|
-
"capsil": null,
|
|
57
|
-
"univeris": null,
|
|
58
|
-
"dataphile": null,
|
|
59
37
|
} satisfies MovementMovement
|
|
60
38
|
|
|
61
39
|
console.log(example)
|
|
@@ -8,18 +8,6 @@ Name | Type
|
|
|
8
8
|
------------ | -------------
|
|
9
9
|
`type` | [MovementMovementType](MovementMovementType.md)
|
|
10
10
|
`date` | string
|
|
11
|
-
`sourceDatabase` | string
|
|
12
|
-
`destinationDatabase` | string
|
|
13
|
-
`users` | Array<string>
|
|
14
|
-
`options` | [MovementOptions](MovementOptions.md)
|
|
15
|
-
`userTuples` | [Array<MovementUserTuplePayload>](MovementUserTuplePayload.md)
|
|
16
|
-
`sourceUser` | string
|
|
17
|
-
`sourceDistributionList` | string
|
|
18
|
-
`destinationUser` | string
|
|
19
|
-
`transferOption` | string
|
|
20
|
-
`capsilFile` | string
|
|
21
|
-
`univerisFile` | string
|
|
22
|
-
`dataphileFile` | string
|
|
23
11
|
|
|
24
12
|
## Example
|
|
25
13
|
|
|
@@ -30,18 +18,6 @@ import type { MovementMovementPayload } from '@equisoft/equisoft-connect-sdk-typ
|
|
|
30
18
|
const example = {
|
|
31
19
|
"type": null,
|
|
32
20
|
"date": null,
|
|
33
|
-
"sourceDatabase": null,
|
|
34
|
-
"destinationDatabase": null,
|
|
35
|
-
"users": null,
|
|
36
|
-
"options": null,
|
|
37
|
-
"userTuples": null,
|
|
38
|
-
"sourceUser": null,
|
|
39
|
-
"sourceDistributionList": null,
|
|
40
|
-
"destinationUser": null,
|
|
41
|
-
"transferOption": null,
|
|
42
|
-
"capsilFile": null,
|
|
43
|
-
"univerisFile": null,
|
|
44
|
-
"dataphileFile": null,
|
|
45
21
|
} satisfies MovementMovementPayload
|
|
46
22
|
|
|
47
23
|
console.log(example)
|
package/package.json
CHANGED
|
@@ -12,27 +12,40 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
import
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { ContactIdentificationType } from './ContactIdentificationType';
|
|
16
17
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from './
|
|
22
|
-
import type { ContactsCreateOrganizationIdentificationPayload } from './ContactsCreateOrganizationIdentificationPayload';
|
|
23
|
-
import {
|
|
24
|
-
instanceOfContactsCreateOrganizationIdentificationPayload,
|
|
25
|
-
ContactsCreateOrganizationIdentificationPayloadFromJSON,
|
|
26
|
-
ContactsCreateOrganizationIdentificationPayloadFromJSONTyped,
|
|
27
|
-
ContactsCreateOrganizationIdentificationPayloadToJSON,
|
|
28
|
-
} from './ContactsCreateOrganizationIdentificationPayload';
|
|
18
|
+
ContactIdentificationTypeFromJSON,
|
|
19
|
+
ContactIdentificationTypeFromJSONTyped,
|
|
20
|
+
ContactIdentificationTypeToJSON,
|
|
21
|
+
ContactIdentificationTypeToJSONTyped,
|
|
22
|
+
} from './ContactIdentificationType';
|
|
29
23
|
|
|
24
|
+
import { type ContactsCreateIndividualIdentificationPayload, ContactsCreateIndividualIdentificationPayloadFromJSONTyped, ContactsCreateIndividualIdentificationPayloadToJSON, ContactsCreateIndividualIdentificationPayloadToJSONTyped } from './ContactsCreateIndividualIdentificationPayload';
|
|
25
|
+
import { type ContactsCreateOrganizationIdentificationPayload, ContactsCreateOrganizationIdentificationPayloadFromJSONTyped, ContactsCreateOrganizationIdentificationPayloadToJSON, ContactsCreateOrganizationIdentificationPayloadToJSONTyped } from './ContactsCreateOrganizationIdentificationPayload';
|
|
30
26
|
/**
|
|
31
|
-
* @type ContactsCreateIdentificationPayload
|
|
32
27
|
*
|
|
33
28
|
* @export
|
|
29
|
+
* @interface ContactsCreateIdentificationPayload
|
|
34
30
|
*/
|
|
35
|
-
export
|
|
31
|
+
export interface ContactsCreateIdentificationPayload {
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {ContactIdentificationType}
|
|
35
|
+
* @memberof ContactsCreateIdentificationPayload
|
|
36
|
+
*/
|
|
37
|
+
type: ContactIdentificationType;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the ContactsCreateIdentificationPayload interface.
|
|
44
|
+
*/
|
|
45
|
+
export function instanceOfContactsCreateIdentificationPayload(value: object): value is ContactsCreateIdentificationPayload {
|
|
46
|
+
if (!('type' in value) || value['type'] === undefined) return false;
|
|
47
|
+
return true;
|
|
48
|
+
}
|
|
36
49
|
|
|
37
50
|
export function ContactsCreateIdentificationPayloadFromJSON(json: any): ContactsCreateIdentificationPayload {
|
|
38
51
|
return ContactsCreateIdentificationPayloadFromJSONTyped(json, false);
|
|
@@ -42,17 +55,22 @@ export function ContactsCreateIdentificationPayloadFromJSONTyped(json: any, igno
|
|
|
42
55
|
if (json == null) {
|
|
43
56
|
return json;
|
|
44
57
|
}
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
return
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
58
|
+
if (!ignoreDiscriminator) {
|
|
59
|
+
if (json['type'] === 'INDIVIDUAL') {
|
|
60
|
+
return ContactsCreateIndividualIdentificationPayloadFromJSONTyped(json, ignoreDiscriminator);
|
|
61
|
+
}
|
|
62
|
+
if (json['type'] === 'ORGANIZATION') {
|
|
63
|
+
return ContactsCreateOrganizationIdentificationPayloadFromJSONTyped(json, ignoreDiscriminator);
|
|
64
|
+
}
|
|
65
|
+
|
|
52
66
|
}
|
|
67
|
+
return {
|
|
68
|
+
|
|
69
|
+
'type': ContactIdentificationTypeFromJSON(json['type']),
|
|
70
|
+
};
|
|
53
71
|
}
|
|
54
72
|
|
|
55
|
-
export function ContactsCreateIdentificationPayloadToJSON(json: any):
|
|
73
|
+
export function ContactsCreateIdentificationPayloadToJSON(json: any): ContactsCreateIdentificationPayload {
|
|
56
74
|
return ContactsCreateIdentificationPayloadToJSONTyped(json, false);
|
|
57
75
|
}
|
|
58
76
|
|
|
@@ -60,13 +78,21 @@ export function ContactsCreateIdentificationPayloadToJSONTyped(value?: ContactsC
|
|
|
60
78
|
if (value == null) {
|
|
61
79
|
return value;
|
|
62
80
|
}
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
81
|
+
|
|
82
|
+
if (!ignoreDiscriminator) {
|
|
83
|
+
switch (value['type']) {
|
|
84
|
+
case 'INDIVIDUAL':
|
|
85
|
+
return ContactsCreateIndividualIdentificationPayloadToJSONTyped(value as ContactsCreateIndividualIdentificationPayload, ignoreDiscriminator);
|
|
86
|
+
case 'ORGANIZATION':
|
|
87
|
+
return ContactsCreateOrganizationIdentificationPayloadToJSONTyped(value as ContactsCreateOrganizationIdentificationPayload, ignoreDiscriminator);
|
|
88
|
+
default:
|
|
89
|
+
return value;
|
|
90
|
+
}
|
|
70
91
|
}
|
|
92
|
+
|
|
93
|
+
return {
|
|
94
|
+
|
|
95
|
+
'type': ContactIdentificationTypeToJSON(value['type']),
|
|
96
|
+
};
|
|
71
97
|
}
|
|
72
98
|
|
|
@@ -20,19 +20,20 @@ import {
|
|
|
20
20
|
ContactIdentificationTypeToJSON,
|
|
21
21
|
ContactIdentificationTypeToJSONTyped,
|
|
22
22
|
} from './ContactIdentificationType';
|
|
23
|
+
import type { ContactsCreateIdentificationPayload } from './ContactsCreateIdentificationPayload';
|
|
24
|
+
import {
|
|
25
|
+
ContactsCreateIdentificationPayloadFromJSON,
|
|
26
|
+
ContactsCreateIdentificationPayloadFromJSONTyped,
|
|
27
|
+
ContactsCreateIdentificationPayloadToJSON,
|
|
28
|
+
ContactsCreateIdentificationPayloadToJSONTyped,
|
|
29
|
+
} from './ContactsCreateIdentificationPayload';
|
|
23
30
|
|
|
24
31
|
/**
|
|
25
32
|
*
|
|
26
33
|
* @export
|
|
27
34
|
* @interface ContactsCreateIndividualIdentificationPayload
|
|
28
35
|
*/
|
|
29
|
-
export interface ContactsCreateIndividualIdentificationPayload {
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {ContactIdentificationType}
|
|
33
|
-
* @memberof ContactsCreateIndividualIdentificationPayload
|
|
34
|
-
*/
|
|
35
|
-
type: ContactIdentificationType;
|
|
36
|
+
export interface ContactsCreateIndividualIdentificationPayload extends ContactsCreateIdentificationPayload {
|
|
36
37
|
/**
|
|
37
38
|
* Individual's first name
|
|
38
39
|
* @type {string}
|
|
@@ -102,7 +103,6 @@ export interface ContactsCreateIndividualIdentificationPayload {
|
|
|
102
103
|
* Check if a given object implements the ContactsCreateIndividualIdentificationPayload interface.
|
|
103
104
|
*/
|
|
104
105
|
export function instanceOfContactsCreateIndividualIdentificationPayload(value: object): value is ContactsCreateIndividualIdentificationPayload {
|
|
105
|
-
if (!('type' in value) || value['type'] === undefined) return false;
|
|
106
106
|
if (!('firstName' in value) || value['firstName'] === undefined) return false;
|
|
107
107
|
if (!('lastName' in value) || value['lastName'] === undefined) return false;
|
|
108
108
|
if (!('gender' in value) || value['gender'] === undefined) return false;
|
|
@@ -118,8 +118,7 @@ export function ContactsCreateIndividualIdentificationPayloadFromJSONTyped(json:
|
|
|
118
118
|
return json;
|
|
119
119
|
}
|
|
120
120
|
return {
|
|
121
|
-
|
|
122
|
-
'type': ContactIdentificationTypeFromJSON(json['type']),
|
|
121
|
+
...ContactsCreateIdentificationPayloadFromJSONTyped(json, true),
|
|
123
122
|
'firstName': json['firstName'],
|
|
124
123
|
'lastName': json['lastName'],
|
|
125
124
|
'gender': json['gender'],
|
|
@@ -143,8 +142,7 @@ export function ContactsCreateIndividualIdentificationPayloadToJSONTyped(value?:
|
|
|
143
142
|
}
|
|
144
143
|
|
|
145
144
|
return {
|
|
146
|
-
|
|
147
|
-
'type': ContactIdentificationTypeToJSON(value['type']),
|
|
145
|
+
...ContactsCreateIdentificationPayloadToJSONTyped(value, true),
|
|
148
146
|
'firstName': value['firstName'],
|
|
149
147
|
'lastName': value['lastName'],
|
|
150
148
|
'gender': value['gender'],
|
|
@@ -20,19 +20,20 @@ import {
|
|
|
20
20
|
ContactIdentificationTypeToJSON,
|
|
21
21
|
ContactIdentificationTypeToJSONTyped,
|
|
22
22
|
} from './ContactIdentificationType';
|
|
23
|
+
import type { ContactsCreateIdentificationPayload } from './ContactsCreateIdentificationPayload';
|
|
24
|
+
import {
|
|
25
|
+
ContactsCreateIdentificationPayloadFromJSON,
|
|
26
|
+
ContactsCreateIdentificationPayloadFromJSONTyped,
|
|
27
|
+
ContactsCreateIdentificationPayloadToJSON,
|
|
28
|
+
ContactsCreateIdentificationPayloadToJSONTyped,
|
|
29
|
+
} from './ContactsCreateIdentificationPayload';
|
|
23
30
|
|
|
24
31
|
/**
|
|
25
32
|
*
|
|
26
33
|
* @export
|
|
27
34
|
* @interface ContactsCreateOrganizationIdentificationPayload
|
|
28
35
|
*/
|
|
29
|
-
export interface ContactsCreateOrganizationIdentificationPayload {
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {ContactIdentificationType}
|
|
33
|
-
* @memberof ContactsCreateOrganizationIdentificationPayload
|
|
34
|
-
*/
|
|
35
|
-
type: ContactIdentificationType;
|
|
36
|
+
export interface ContactsCreateOrganizationIdentificationPayload extends ContactsCreateIdentificationPayload {
|
|
36
37
|
/**
|
|
37
38
|
* Organization's name line one
|
|
38
39
|
* @type {string}
|
|
@@ -59,7 +60,6 @@ export interface ContactsCreateOrganizationIdentificationPayload {
|
|
|
59
60
|
* Check if a given object implements the ContactsCreateOrganizationIdentificationPayload interface.
|
|
60
61
|
*/
|
|
61
62
|
export function instanceOfContactsCreateOrganizationIdentificationPayload(value: object): value is ContactsCreateOrganizationIdentificationPayload {
|
|
62
|
-
if (!('type' in value) || value['type'] === undefined) return false;
|
|
63
63
|
if (!('nameLine1' in value) || value['nameLine1'] === undefined) return false;
|
|
64
64
|
if (!('abbreviation' in value) || value['abbreviation'] === undefined) return false;
|
|
65
65
|
return true;
|
|
@@ -74,8 +74,7 @@ export function ContactsCreateOrganizationIdentificationPayloadFromJSONTyped(jso
|
|
|
74
74
|
return json;
|
|
75
75
|
}
|
|
76
76
|
return {
|
|
77
|
-
|
|
78
|
-
'type': ContactIdentificationTypeFromJSON(json['type']),
|
|
77
|
+
...ContactsCreateIdentificationPayloadFromJSONTyped(json, true),
|
|
79
78
|
'nameLine1': json['nameLine1'],
|
|
80
79
|
'nameLine2': json['nameLine2'] == null ? undefined : json['nameLine2'],
|
|
81
80
|
'abbreviation': json['abbreviation'],
|
|
@@ -92,8 +91,7 @@ export function ContactsCreateOrganizationIdentificationPayloadToJSONTyped(value
|
|
|
92
91
|
}
|
|
93
92
|
|
|
94
93
|
return {
|
|
95
|
-
|
|
96
|
-
'type': ContactIdentificationTypeToJSON(value['type']),
|
|
94
|
+
...ContactsCreateIdentificationPayloadToJSONTyped(value, true),
|
|
97
95
|
'nameLine1': value['nameLine1'],
|
|
98
96
|
'nameLine2': value['nameLine2'],
|
|
99
97
|
'abbreviation': value['abbreviation'],
|
|
@@ -12,27 +12,40 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
import
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { ContactIdentificationType } from './ContactIdentificationType';
|
|
16
17
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from './
|
|
22
|
-
import type { ContactsOrganizationIdentification } from './ContactsOrganizationIdentification';
|
|
23
|
-
import {
|
|
24
|
-
instanceOfContactsOrganizationIdentification,
|
|
25
|
-
ContactsOrganizationIdentificationFromJSON,
|
|
26
|
-
ContactsOrganizationIdentificationFromJSONTyped,
|
|
27
|
-
ContactsOrganizationIdentificationToJSON,
|
|
28
|
-
} from './ContactsOrganizationIdentification';
|
|
18
|
+
ContactIdentificationTypeFromJSON,
|
|
19
|
+
ContactIdentificationTypeFromJSONTyped,
|
|
20
|
+
ContactIdentificationTypeToJSON,
|
|
21
|
+
ContactIdentificationTypeToJSONTyped,
|
|
22
|
+
} from './ContactIdentificationType';
|
|
29
23
|
|
|
24
|
+
import { type ContactsIndividualIdentification, ContactsIndividualIdentificationFromJSONTyped, ContactsIndividualIdentificationToJSON, ContactsIndividualIdentificationToJSONTyped } from './ContactsIndividualIdentification';
|
|
25
|
+
import { type ContactsOrganizationIdentification, ContactsOrganizationIdentificationFromJSONTyped, ContactsOrganizationIdentificationToJSON, ContactsOrganizationIdentificationToJSONTyped } from './ContactsOrganizationIdentification';
|
|
30
26
|
/**
|
|
31
|
-
* @type ContactsIdentification
|
|
32
27
|
*
|
|
33
28
|
* @export
|
|
29
|
+
* @interface ContactsIdentification
|
|
34
30
|
*/
|
|
35
|
-
export
|
|
31
|
+
export interface ContactsIdentification {
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {ContactIdentificationType}
|
|
35
|
+
* @memberof ContactsIdentification
|
|
36
|
+
*/
|
|
37
|
+
type: ContactIdentificationType;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the ContactsIdentification interface.
|
|
44
|
+
*/
|
|
45
|
+
export function instanceOfContactsIdentification(value: object): value is ContactsIdentification {
|
|
46
|
+
if (!('type' in value) || value['type'] === undefined) return false;
|
|
47
|
+
return true;
|
|
48
|
+
}
|
|
36
49
|
|
|
37
50
|
export function ContactsIdentificationFromJSON(json: any): ContactsIdentification {
|
|
38
51
|
return ContactsIdentificationFromJSONTyped(json, false);
|
|
@@ -42,17 +55,22 @@ export function ContactsIdentificationFromJSONTyped(json: any, ignoreDiscriminat
|
|
|
42
55
|
if (json == null) {
|
|
43
56
|
return json;
|
|
44
57
|
}
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
return
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
58
|
+
if (!ignoreDiscriminator) {
|
|
59
|
+
if (json['type'] === 'INDIVIDUAL') {
|
|
60
|
+
return ContactsIndividualIdentificationFromJSONTyped(json, ignoreDiscriminator);
|
|
61
|
+
}
|
|
62
|
+
if (json['type'] === 'ORGANIZATION') {
|
|
63
|
+
return ContactsOrganizationIdentificationFromJSONTyped(json, ignoreDiscriminator);
|
|
64
|
+
}
|
|
65
|
+
|
|
52
66
|
}
|
|
67
|
+
return {
|
|
68
|
+
|
|
69
|
+
'type': ContactIdentificationTypeFromJSON(json['type']),
|
|
70
|
+
};
|
|
53
71
|
}
|
|
54
72
|
|
|
55
|
-
export function ContactsIdentificationToJSON(json: any):
|
|
73
|
+
export function ContactsIdentificationToJSON(json: any): ContactsIdentification {
|
|
56
74
|
return ContactsIdentificationToJSONTyped(json, false);
|
|
57
75
|
}
|
|
58
76
|
|
|
@@ -60,13 +78,21 @@ export function ContactsIdentificationToJSONTyped(value?: ContactsIdentification
|
|
|
60
78
|
if (value == null) {
|
|
61
79
|
return value;
|
|
62
80
|
}
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
81
|
+
|
|
82
|
+
if (!ignoreDiscriminator) {
|
|
83
|
+
switch (value['type']) {
|
|
84
|
+
case 'INDIVIDUAL':
|
|
85
|
+
return ContactsIndividualIdentificationToJSONTyped(value as ContactsIndividualIdentification, ignoreDiscriminator);
|
|
86
|
+
case 'ORGANIZATION':
|
|
87
|
+
return ContactsOrganizationIdentificationToJSONTyped(value as ContactsOrganizationIdentification, ignoreDiscriminator);
|
|
88
|
+
default:
|
|
89
|
+
return value;
|
|
90
|
+
}
|
|
70
91
|
}
|
|
92
|
+
|
|
93
|
+
return {
|
|
94
|
+
|
|
95
|
+
'type': ContactIdentificationTypeToJSON(value['type']),
|
|
96
|
+
};
|
|
71
97
|
}
|
|
72
98
|
|