@equisoft/equisoft-connect-sdk-typescript 10.7.1 → 10.8.3-snapshot.20211021175812

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.
Files changed (83) hide show
  1. package/.openapi-generator/FILES +11 -0
  2. package/.openapi-generator/VERSION +1 -1
  3. package/dist/apis/ContactsApi.d.ts +30 -0
  4. package/dist/apis/ContactsApi.js +68 -0
  5. package/dist/apis/DSFApi.d.ts +10 -10
  6. package/dist/apis/DSFApi.js +20 -20
  7. package/dist/apis/DatabasesApi.d.ts +6 -6
  8. package/dist/apis/DatabasesApi.js +12 -12
  9. package/dist/apis/EventsApi.d.ts +28 -28
  10. package/dist/apis/EventsApi.js +56 -56
  11. package/dist/apis/GatewaysApi.d.ts +20 -20
  12. package/dist/apis/GatewaysApi.js +40 -40
  13. package/dist/apis/IntegrationsApi.d.ts +4 -4
  14. package/dist/apis/IntegrationsApi.js +8 -8
  15. package/dist/apis/LegacyDocumentApi.d.ts +16 -16
  16. package/dist/apis/LegacyDocumentApi.js +32 -32
  17. package/dist/apis/LegacyProvisioningApi.d.ts +4 -4
  18. package/dist/apis/LegacyProvisioningApi.js +8 -8
  19. package/dist/apis/MovementApi.d.ts +10 -10
  20. package/dist/apis/MovementApi.js +20 -20
  21. package/dist/apis/MxApi.d.ts +2 -2
  22. package/dist/apis/MxApi.js +4 -4
  23. package/dist/apis/RemoteAccountApi.d.ts +4 -4
  24. package/dist/apis/RemoteAccountApi.js +8 -8
  25. package/dist/apis/TasksApi.d.ts +22 -22
  26. package/dist/apis/TasksApi.js +44 -44
  27. package/dist/apis/UsersApi.d.ts +4 -4
  28. package/dist/apis/UsersApi.js +8 -8
  29. package/dist/apis/index.d.ts +1 -0
  30. package/dist/apis/index.js +3 -0
  31. package/dist/index.js +2 -0
  32. package/dist/models/ContactContactAdditionalInformation.d.ts +82 -0
  33. package/dist/models/ContactContactAdditionalInformation.js +61 -0
  34. package/dist/models/ContactContactAddress.d.ts +94 -0
  35. package/dist/models/ContactContactAddress.js +65 -0
  36. package/dist/models/ContactContactEmail.d.ts +58 -0
  37. package/dist/models/ContactContactEmail.js +53 -0
  38. package/dist/models/ContactContactIdentification.d.ts +75 -0
  39. package/dist/models/ContactContactIdentification.js +58 -0
  40. package/dist/models/ContactContactMaritalStatus.d.ts +52 -0
  41. package/dist/models/ContactContactMaritalStatus.js +51 -0
  42. package/dist/models/ContactContactOccupation.d.ts +57 -0
  43. package/dist/models/ContactContactOccupation.js +52 -0
  44. package/dist/models/ContactContactPhone.d.ts +70 -0
  45. package/dist/models/ContactContactPhone.js +57 -0
  46. package/dist/models/ContactContactSegmentation.d.ts +94 -0
  47. package/dist/models/ContactContactSegmentation.js +65 -0
  48. package/dist/models/ContactContactWebsite.d.ts +45 -0
  49. package/dist/models/ContactContactWebsite.js +48 -0
  50. package/dist/models/ContactsContact.d.ts +130 -0
  51. package/dist/models/ContactsContact.js +77 -0
  52. package/dist/models/index.d.ts +10 -0
  53. package/dist/models/index.js +12 -0
  54. package/dist/runtime.d.ts +1 -1
  55. package/dist/runtime.js +6 -11
  56. package/package.json +1 -1
  57. package/src/apis/ContactsApi.ts +75 -0
  58. package/src/apis/DSFApi.ts +20 -20
  59. package/src/apis/DatabasesApi.ts +12 -12
  60. package/src/apis/EventsApi.ts +56 -56
  61. package/src/apis/GatewaysApi.ts +40 -40
  62. package/src/apis/IntegrationsApi.ts +8 -8
  63. package/src/apis/LegacyDocumentApi.ts +32 -32
  64. package/src/apis/LegacyProvisioningApi.ts +8 -8
  65. package/src/apis/MovementApi.ts +20 -20
  66. package/src/apis/MxApi.ts +4 -4
  67. package/src/apis/RemoteAccountApi.ts +8 -8
  68. package/src/apis/TasksApi.ts +44 -44
  69. package/src/apis/UsersApi.ts +8 -8
  70. package/src/apis/index.ts +3 -0
  71. package/src/index.ts +2 -0
  72. package/src/models/ContactContactAdditionalInformation.ts +136 -0
  73. package/src/models/ContactContactAddress.ts +152 -0
  74. package/src/models/ContactContactEmail.ts +104 -0
  75. package/src/models/ContactContactIdentification.ts +121 -0
  76. package/src/models/ContactContactMaritalStatus.ts +96 -0
  77. package/src/models/ContactContactOccupation.ts +97 -0
  78. package/src/models/ContactContactPhone.ts +120 -0
  79. package/src/models/ContactContactSegmentation.ts +152 -0
  80. package/src/models/ContactContactWebsite.ts +81 -0
  81. package/src/models/ContactsContact.ts +232 -0
  82. package/src/models/index.ts +12 -0
  83. package/src/runtime.ts +7 -6
@@ -0,0 +1,65 @@
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.ContactContactAddressToJSON = exports.ContactContactAddressFromJSONTyped = exports.ContactContactAddressFromJSON = void 0;
17
+ const runtime_1 = require("../runtime");
18
+ const _1 = require("./");
19
+ function ContactContactAddressFromJSON(json) {
20
+ return ContactContactAddressFromJSONTyped(json, false);
21
+ }
22
+ exports.ContactContactAddressFromJSON = ContactContactAddressFromJSON;
23
+ function ContactContactAddressFromJSONTyped(json, ignoreDiscriminator) {
24
+ if ((json === undefined) || (json === null)) {
25
+ return json;
26
+ }
27
+ return {
28
+ 'id': !runtime_1.exists(json, 'id') ? undefined : json['id'],
29
+ 'isMain': !runtime_1.exists(json, 'isMain') ? undefined : json['isMain'],
30
+ 'isPostal': !runtime_1.exists(json, 'isPostal') ? undefined : json['isPostal'],
31
+ 'type': !runtime_1.exists(json, 'type') ? undefined : _1.FieldValueFromJSON(json['type']),
32
+ 'line1': !runtime_1.exists(json, 'line1') ? undefined : json['line1'],
33
+ 'line2': !runtime_1.exists(json, 'line2') ? undefined : json['line2'],
34
+ 'stateProvince': !runtime_1.exists(json, 'stateProvince') ? undefined : json['stateProvince'],
35
+ 'country': !runtime_1.exists(json, 'country') ? undefined : json['country'],
36
+ 'postalCode': !runtime_1.exists(json, 'postalCode') ? undefined : json['postalCode'],
37
+ 'dateSince': !runtime_1.exists(json, 'dateSince') ? undefined : (json['dateSince'] === null ? null : new Date(json['dateSince'])),
38
+ 'city': !runtime_1.exists(json, 'city') ? undefined : json['city'],
39
+ 'locked': !runtime_1.exists(json, 'locked') ? undefined : json['locked'],
40
+ };
41
+ }
42
+ exports.ContactContactAddressFromJSONTyped = ContactContactAddressFromJSONTyped;
43
+ function ContactContactAddressToJSON(value) {
44
+ if (value === undefined) {
45
+ return undefined;
46
+ }
47
+ if (value === null) {
48
+ return null;
49
+ }
50
+ return {
51
+ 'id': value.id,
52
+ 'isMain': value.isMain,
53
+ 'isPostal': value.isPostal,
54
+ 'type': _1.FieldValueToJSON(value.type),
55
+ 'line1': value.line1,
56
+ 'line2': value.line2,
57
+ 'stateProvince': value.stateProvince,
58
+ 'country': value.country,
59
+ 'postalCode': value.postalCode,
60
+ 'dateSince': value.dateSince === undefined ? undefined : (value.dateSince === null ? null : value.dateSince.toISOString().substr(0, 10)),
61
+ 'city': value.city,
62
+ 'locked': value.locked,
63
+ };
64
+ }
65
+ exports.ContactContactAddressToJSON = ContactContactAddressToJSON;
@@ -0,0 +1,58 @@
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 { FieldValue } from './';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ContactContactEmail
17
+ */
18
+ export interface ContactContactEmail {
19
+ /**
20
+ *
21
+ * @type {number}
22
+ * @memberof ContactContactEmail
23
+ */
24
+ id?: number;
25
+ /**
26
+ *
27
+ * @type {boolean}
28
+ * @memberof ContactContactEmail
29
+ */
30
+ isMain?: boolean;
31
+ /**
32
+ *
33
+ * @type {FieldValue}
34
+ * @memberof ContactContactEmail
35
+ */
36
+ type?: FieldValue;
37
+ /**
38
+ *
39
+ * @type {string}
40
+ * @memberof ContactContactEmail
41
+ */
42
+ email?: string;
43
+ /**
44
+ *
45
+ * @type {string}
46
+ * @memberof ContactContactEmail
47
+ */
48
+ notes?: string;
49
+ /**
50
+ *
51
+ * @type {boolean}
52
+ * @memberof ContactContactEmail
53
+ */
54
+ locked?: boolean;
55
+ }
56
+ export declare function ContactContactEmailFromJSON(json: any): ContactContactEmail;
57
+ export declare function ContactContactEmailFromJSONTyped(json: any, ignoreDiscriminator: boolean): ContactContactEmail;
58
+ export declare function ContactContactEmailToJSON(value?: ContactContactEmail | null): any;
@@ -0,0 +1,53 @@
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.ContactContactEmailToJSON = exports.ContactContactEmailFromJSONTyped = exports.ContactContactEmailFromJSON = void 0;
17
+ const runtime_1 = require("../runtime");
18
+ const _1 = require("./");
19
+ function ContactContactEmailFromJSON(json) {
20
+ return ContactContactEmailFromJSONTyped(json, false);
21
+ }
22
+ exports.ContactContactEmailFromJSON = ContactContactEmailFromJSON;
23
+ function ContactContactEmailFromJSONTyped(json, ignoreDiscriminator) {
24
+ if ((json === undefined) || (json === null)) {
25
+ return json;
26
+ }
27
+ return {
28
+ 'id': !runtime_1.exists(json, 'id') ? undefined : json['id'],
29
+ 'isMain': !runtime_1.exists(json, 'isMain') ? undefined : json['isMain'],
30
+ 'type': !runtime_1.exists(json, 'type') ? undefined : _1.FieldValueFromJSON(json['type']),
31
+ 'email': !runtime_1.exists(json, 'email') ? undefined : json['email'],
32
+ 'notes': !runtime_1.exists(json, 'notes') ? undefined : json['notes'],
33
+ 'locked': !runtime_1.exists(json, 'locked') ? undefined : json['locked'],
34
+ };
35
+ }
36
+ exports.ContactContactEmailFromJSONTyped = ContactContactEmailFromJSONTyped;
37
+ function ContactContactEmailToJSON(value) {
38
+ if (value === undefined) {
39
+ return undefined;
40
+ }
41
+ if (value === null) {
42
+ return null;
43
+ }
44
+ return {
45
+ 'id': value.id,
46
+ 'isMain': value.isMain,
47
+ 'type': _1.FieldValueToJSON(value.type),
48
+ 'email': value.email,
49
+ 'notes': value.notes,
50
+ 'locked': value.locked,
51
+ };
52
+ }
53
+ exports.ContactContactEmailToJSON = ContactContactEmailToJSON;
@@ -0,0 +1,75 @@
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
+ /**
13
+ *
14
+ * @export
15
+ * @interface ContactContactIdentification
16
+ */
17
+ export interface ContactContactIdentification {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof ContactContactIdentification
22
+ */
23
+ title?: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof ContactContactIdentification
28
+ */
29
+ gender?: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof ContactContactIdentification
34
+ */
35
+ firstName?: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof ContactContactIdentification
40
+ */
41
+ middleName?: string;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof ContactContactIdentification
46
+ */
47
+ lastName?: string;
48
+ /**
49
+ *
50
+ * @type {string}
51
+ * @memberof ContactContactIdentification
52
+ */
53
+ maidenName?: string;
54
+ /**
55
+ *
56
+ * @type {string}
57
+ * @memberof ContactContactIdentification
58
+ */
59
+ suffix?: string;
60
+ /**
61
+ *
62
+ * @type {string}
63
+ * @memberof ContactContactIdentification
64
+ */
65
+ greeting?: string;
66
+ /**
67
+ *
68
+ * @type {string}
69
+ * @memberof ContactContactIdentification
70
+ */
71
+ clientNb?: string;
72
+ }
73
+ export declare function ContactContactIdentificationFromJSON(json: any): ContactContactIdentification;
74
+ export declare function ContactContactIdentificationFromJSONTyped(json: any, ignoreDiscriminator: boolean): ContactContactIdentification;
75
+ export declare function ContactContactIdentificationToJSON(value?: ContactContactIdentification | null): any;
@@ -0,0 +1,58 @@
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.ContactContactIdentificationToJSON = exports.ContactContactIdentificationFromJSONTyped = exports.ContactContactIdentificationFromJSON = void 0;
17
+ const runtime_1 = require("../runtime");
18
+ function ContactContactIdentificationFromJSON(json) {
19
+ return ContactContactIdentificationFromJSONTyped(json, false);
20
+ }
21
+ exports.ContactContactIdentificationFromJSON = ContactContactIdentificationFromJSON;
22
+ function ContactContactIdentificationFromJSONTyped(json, ignoreDiscriminator) {
23
+ if ((json === undefined) || (json === null)) {
24
+ return json;
25
+ }
26
+ return {
27
+ 'title': !runtime_1.exists(json, 'title') ? undefined : json['title'],
28
+ 'gender': !runtime_1.exists(json, 'gender') ? undefined : json['gender'],
29
+ 'firstName': !runtime_1.exists(json, 'firstName') ? undefined : json['firstName'],
30
+ 'middleName': !runtime_1.exists(json, 'middleName') ? undefined : json['middleName'],
31
+ 'lastName': !runtime_1.exists(json, 'lastName') ? undefined : json['lastName'],
32
+ 'maidenName': !runtime_1.exists(json, 'maidenName') ? undefined : json['maidenName'],
33
+ 'suffix': !runtime_1.exists(json, 'suffix') ? undefined : json['suffix'],
34
+ 'greeting': !runtime_1.exists(json, 'greeting') ? undefined : json['greeting'],
35
+ 'clientNb': !runtime_1.exists(json, 'clientNb') ? undefined : json['clientNb'],
36
+ };
37
+ }
38
+ exports.ContactContactIdentificationFromJSONTyped = ContactContactIdentificationFromJSONTyped;
39
+ function ContactContactIdentificationToJSON(value) {
40
+ if (value === undefined) {
41
+ return undefined;
42
+ }
43
+ if (value === null) {
44
+ return null;
45
+ }
46
+ return {
47
+ 'title': value.title,
48
+ 'gender': value.gender,
49
+ 'firstName': value.firstName,
50
+ 'middleName': value.middleName,
51
+ 'lastName': value.lastName,
52
+ 'maidenName': value.maidenName,
53
+ 'suffix': value.suffix,
54
+ 'greeting': value.greeting,
55
+ 'clientNb': value.clientNb,
56
+ };
57
+ }
58
+ exports.ContactContactIdentificationToJSON = ContactContactIdentificationToJSON;
@@ -0,0 +1,52 @@
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 { FieldValue } from './';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ContactContactMaritalStatus
17
+ */
18
+ export interface ContactContactMaritalStatus {
19
+ /**
20
+ *
21
+ * @type {number}
22
+ * @memberof ContactContactMaritalStatus
23
+ */
24
+ id?: number;
25
+ /**
26
+ *
27
+ * @type {Date}
28
+ * @memberof ContactContactMaritalStatus
29
+ */
30
+ startDate?: Date | null;
31
+ /**
32
+ *
33
+ * @type {Date}
34
+ * @memberof ContactContactMaritalStatus
35
+ */
36
+ endDate?: Date | null;
37
+ /**
38
+ *
39
+ * @type {FieldValue}
40
+ * @memberof ContactContactMaritalStatus
41
+ */
42
+ status?: FieldValue;
43
+ /**
44
+ *
45
+ * @type {FieldValue}
46
+ * @memberof ContactContactMaritalStatus
47
+ */
48
+ marriageContract?: FieldValue | null;
49
+ }
50
+ export declare function ContactContactMaritalStatusFromJSON(json: any): ContactContactMaritalStatus;
51
+ export declare function ContactContactMaritalStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): ContactContactMaritalStatus;
52
+ export declare function ContactContactMaritalStatusToJSON(value?: ContactContactMaritalStatus | null): any;
@@ -0,0 +1,51 @@
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.ContactContactMaritalStatusToJSON = exports.ContactContactMaritalStatusFromJSONTyped = exports.ContactContactMaritalStatusFromJSON = void 0;
17
+ const runtime_1 = require("../runtime");
18
+ const _1 = require("./");
19
+ function ContactContactMaritalStatusFromJSON(json) {
20
+ return ContactContactMaritalStatusFromJSONTyped(json, false);
21
+ }
22
+ exports.ContactContactMaritalStatusFromJSON = ContactContactMaritalStatusFromJSON;
23
+ function ContactContactMaritalStatusFromJSONTyped(json, ignoreDiscriminator) {
24
+ if ((json === undefined) || (json === null)) {
25
+ return json;
26
+ }
27
+ return {
28
+ 'id': !runtime_1.exists(json, 'id') ? undefined : json['id'],
29
+ 'startDate': !runtime_1.exists(json, 'startDate') ? undefined : (json['startDate'] === null ? null : new Date(json['startDate'])),
30
+ 'endDate': !runtime_1.exists(json, 'endDate') ? undefined : (json['endDate'] === null ? null : new Date(json['endDate'])),
31
+ 'status': !runtime_1.exists(json, 'status') ? undefined : _1.FieldValueFromJSON(json['status']),
32
+ 'marriageContract': !runtime_1.exists(json, 'marriageContract') ? undefined : _1.FieldValueFromJSON(json['marriageContract']),
33
+ };
34
+ }
35
+ exports.ContactContactMaritalStatusFromJSONTyped = ContactContactMaritalStatusFromJSONTyped;
36
+ function ContactContactMaritalStatusToJSON(value) {
37
+ if (value === undefined) {
38
+ return undefined;
39
+ }
40
+ if (value === null) {
41
+ return null;
42
+ }
43
+ return {
44
+ 'id': value.id,
45
+ 'startDate': value.startDate === undefined ? undefined : (value.startDate === null ? null : value.startDate.toISOString().substr(0, 10)),
46
+ 'endDate': value.endDate === undefined ? undefined : (value.endDate === null ? null : value.endDate.toISOString().substr(0, 10)),
47
+ 'status': _1.FieldValueToJSON(value.status),
48
+ 'marriageContract': _1.FieldValueToJSON(value.marriageContract),
49
+ };
50
+ }
51
+ exports.ContactContactMaritalStatusToJSON = ContactContactMaritalStatusToJSON;
@@ -0,0 +1,57 @@
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
+ /**
13
+ *
14
+ * @export
15
+ * @interface ContactContactOccupation
16
+ */
17
+ export interface ContactContactOccupation {
18
+ /**
19
+ *
20
+ * @type {number}
21
+ * @memberof ContactContactOccupation
22
+ */
23
+ id?: number;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof ContactContactOccupation
28
+ */
29
+ occupation?: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof ContactContactOccupation
34
+ */
35
+ employer?: string;
36
+ /**
37
+ *
38
+ * @type {Date}
39
+ * @memberof ContactContactOccupation
40
+ */
41
+ startDate?: Date | null;
42
+ /**
43
+ *
44
+ * @type {Date}
45
+ * @memberof ContactContactOccupation
46
+ */
47
+ endDate?: Date | null;
48
+ /**
49
+ *
50
+ * @type {number}
51
+ * @memberof ContactContactOccupation
52
+ */
53
+ annualIncome?: number | null;
54
+ }
55
+ export declare function ContactContactOccupationFromJSON(json: any): ContactContactOccupation;
56
+ export declare function ContactContactOccupationFromJSONTyped(json: any, ignoreDiscriminator: boolean): ContactContactOccupation;
57
+ export declare function ContactContactOccupationToJSON(value?: ContactContactOccupation | null): any;
@@ -0,0 +1,52 @@
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.ContactContactOccupationToJSON = exports.ContactContactOccupationFromJSONTyped = exports.ContactContactOccupationFromJSON = void 0;
17
+ const runtime_1 = require("../runtime");
18
+ function ContactContactOccupationFromJSON(json) {
19
+ return ContactContactOccupationFromJSONTyped(json, false);
20
+ }
21
+ exports.ContactContactOccupationFromJSON = ContactContactOccupationFromJSON;
22
+ function ContactContactOccupationFromJSONTyped(json, ignoreDiscriminator) {
23
+ if ((json === undefined) || (json === null)) {
24
+ return json;
25
+ }
26
+ return {
27
+ 'id': !runtime_1.exists(json, 'id') ? undefined : json['id'],
28
+ 'occupation': !runtime_1.exists(json, 'occupation') ? undefined : json['occupation'],
29
+ 'employer': !runtime_1.exists(json, 'employer') ? undefined : json['employer'],
30
+ 'startDate': !runtime_1.exists(json, 'startDate') ? undefined : (json['startDate'] === null ? null : new Date(json['startDate'])),
31
+ 'endDate': !runtime_1.exists(json, 'endDate') ? undefined : (json['endDate'] === null ? null : new Date(json['endDate'])),
32
+ 'annualIncome': !runtime_1.exists(json, 'annualIncome') ? undefined : json['annualIncome'],
33
+ };
34
+ }
35
+ exports.ContactContactOccupationFromJSONTyped = ContactContactOccupationFromJSONTyped;
36
+ function ContactContactOccupationToJSON(value) {
37
+ if (value === undefined) {
38
+ return undefined;
39
+ }
40
+ if (value === null) {
41
+ return null;
42
+ }
43
+ return {
44
+ 'id': value.id,
45
+ 'occupation': value.occupation,
46
+ 'employer': value.employer,
47
+ 'startDate': value.startDate === undefined ? undefined : (value.startDate === null ? null : value.startDate.toISOString().substr(0, 10)),
48
+ 'endDate': value.endDate === undefined ? undefined : (value.endDate === null ? null : value.endDate.toISOString().substr(0, 10)),
49
+ 'annualIncome': value.annualIncome,
50
+ };
51
+ }
52
+ exports.ContactContactOccupationToJSON = ContactContactOccupationToJSON;
@@ -0,0 +1,70 @@
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 { FieldValue } from './';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ContactContactPhone
17
+ */
18
+ export interface ContactContactPhone {
19
+ /**
20
+ *
21
+ * @type {number}
22
+ * @memberof ContactContactPhone
23
+ */
24
+ id?: number;
25
+ /**
26
+ *
27
+ * @type {boolean}
28
+ * @memberof ContactContactPhone
29
+ */
30
+ isMain?: boolean;
31
+ /**
32
+ *
33
+ * @type {FieldValue}
34
+ * @memberof ContactContactPhone
35
+ */
36
+ type?: FieldValue;
37
+ /**
38
+ *
39
+ * @type {string}
40
+ * @memberof ContactContactPhone
41
+ */
42
+ number?: string;
43
+ /**
44
+ *
45
+ * @type {string}
46
+ * @memberof ContactContactPhone
47
+ */
48
+ extension?: string;
49
+ /**
50
+ *
51
+ * @type {boolean}
52
+ * @memberof ContactContactPhone
53
+ */
54
+ longDistance?: boolean;
55
+ /**
56
+ *
57
+ * @type {string}
58
+ * @memberof ContactContactPhone
59
+ */
60
+ notes?: string;
61
+ /**
62
+ *
63
+ * @type {boolean}
64
+ * @memberof ContactContactPhone
65
+ */
66
+ locked?: boolean;
67
+ }
68
+ export declare function ContactContactPhoneFromJSON(json: any): ContactContactPhone;
69
+ export declare function ContactContactPhoneFromJSONTyped(json: any, ignoreDiscriminator: boolean): ContactContactPhone;
70
+ export declare function ContactContactPhoneToJSON(value?: ContactContactPhone | null): any;
@@ -0,0 +1,57 @@
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.ContactContactPhoneToJSON = exports.ContactContactPhoneFromJSONTyped = exports.ContactContactPhoneFromJSON = void 0;
17
+ const runtime_1 = require("../runtime");
18
+ const _1 = require("./");
19
+ function ContactContactPhoneFromJSON(json) {
20
+ return ContactContactPhoneFromJSONTyped(json, false);
21
+ }
22
+ exports.ContactContactPhoneFromJSON = ContactContactPhoneFromJSON;
23
+ function ContactContactPhoneFromJSONTyped(json, ignoreDiscriminator) {
24
+ if ((json === undefined) || (json === null)) {
25
+ return json;
26
+ }
27
+ return {
28
+ 'id': !runtime_1.exists(json, 'id') ? undefined : json['id'],
29
+ 'isMain': !runtime_1.exists(json, 'isMain') ? undefined : json['isMain'],
30
+ 'type': !runtime_1.exists(json, 'type') ? undefined : _1.FieldValueFromJSON(json['type']),
31
+ 'number': !runtime_1.exists(json, 'number') ? undefined : json['number'],
32
+ 'extension': !runtime_1.exists(json, 'extension') ? undefined : json['extension'],
33
+ 'longDistance': !runtime_1.exists(json, 'longDistance') ? undefined : json['longDistance'],
34
+ 'notes': !runtime_1.exists(json, 'notes') ? undefined : json['notes'],
35
+ 'locked': !runtime_1.exists(json, 'locked') ? undefined : json['locked'],
36
+ };
37
+ }
38
+ exports.ContactContactPhoneFromJSONTyped = ContactContactPhoneFromJSONTyped;
39
+ function ContactContactPhoneToJSON(value) {
40
+ if (value === undefined) {
41
+ return undefined;
42
+ }
43
+ if (value === null) {
44
+ return null;
45
+ }
46
+ return {
47
+ 'id': value.id,
48
+ 'isMain': value.isMain,
49
+ 'type': _1.FieldValueToJSON(value.type),
50
+ 'number': value.number,
51
+ 'extension': value.extension,
52
+ 'longDistance': value.longDistance,
53
+ 'notes': value.notes,
54
+ 'locked': value.locked,
55
+ };
56
+ }
57
+ exports.ContactContactPhoneToJSON = ContactContactPhoneToJSON;