@equisoft/equisoft-connect-sdk-typescript 13.63.0 → 13.63.1-snapshot.20261120153219

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 (50) hide show
  1. package/.openapi-generator/FILES +0 -14
  2. package/README.md +0 -7
  3. package/dist/esm/models/index.d.ts +0 -7
  4. package/dist/esm/models/index.js +0 -7
  5. package/dist/models/index.d.ts +0 -7
  6. package/dist/models/index.js +0 -7
  7. package/package.json +1 -1
  8. package/src/models/index.ts +0 -7
  9. package/dist/esm/models/ContactsHouseholdAddress.d.ts +0 -62
  10. package/dist/esm/models/ContactsHouseholdAddress.js +0 -51
  11. package/dist/esm/models/ContactsHouseholdsCreateHouseholdPayload.d.ts +0 -58
  12. package/dist/esm/models/ContactsHouseholdsCreateHouseholdPayload.js +0 -53
  13. package/dist/esm/models/ContactsHouseholdsGetHouseholdResponse.d.ts +0 -33
  14. package/dist/esm/models/ContactsHouseholdsGetHouseholdResponse.js +0 -42
  15. package/dist/esm/models/ContactsHouseholdsHousehold.d.ts +0 -33
  16. package/dist/esm/models/ContactsHouseholdsHousehold.js +0 -42
  17. package/dist/esm/models/ContactsHouseholdsHouseholdMemberPayload.d.ts +0 -44
  18. package/dist/esm/models/ContactsHouseholdsHouseholdMemberPayload.js +0 -49
  19. package/dist/esm/models/ContactsHouseholdsListHouseholdResponse.d.ts +0 -33
  20. package/dist/esm/models/ContactsHouseholdsListHouseholdResponse.js +0 -44
  21. package/dist/esm/models/ContactsHouseholdsRelatedContactPayload.d.ts +0 -38
  22. package/dist/esm/models/ContactsHouseholdsRelatedContactPayload.js +0 -47
  23. package/dist/models/ContactsHouseholdAddress.d.ts +0 -62
  24. package/dist/models/ContactsHouseholdAddress.js +0 -58
  25. package/dist/models/ContactsHouseholdsCreateHouseholdPayload.d.ts +0 -58
  26. package/dist/models/ContactsHouseholdsCreateHouseholdPayload.js +0 -60
  27. package/dist/models/ContactsHouseholdsGetHouseholdResponse.d.ts +0 -33
  28. package/dist/models/ContactsHouseholdsGetHouseholdResponse.js +0 -49
  29. package/dist/models/ContactsHouseholdsHousehold.d.ts +0 -33
  30. package/dist/models/ContactsHouseholdsHousehold.js +0 -49
  31. package/dist/models/ContactsHouseholdsHouseholdMemberPayload.d.ts +0 -44
  32. package/dist/models/ContactsHouseholdsHouseholdMemberPayload.js +0 -56
  33. package/dist/models/ContactsHouseholdsListHouseholdResponse.d.ts +0 -33
  34. package/dist/models/ContactsHouseholdsListHouseholdResponse.js +0 -51
  35. package/dist/models/ContactsHouseholdsRelatedContactPayload.d.ts +0 -38
  36. package/dist/models/ContactsHouseholdsRelatedContactPayload.js +0 -54
  37. package/docs/ContactsHouseholdAddress.md +0 -44
  38. package/docs/ContactsHouseholdsCreateHouseholdPayload.md +0 -42
  39. package/docs/ContactsHouseholdsGetHouseholdResponse.md +0 -34
  40. package/docs/ContactsHouseholdsHousehold.md +0 -34
  41. package/docs/ContactsHouseholdsHouseholdMemberPayload.md +0 -38
  42. package/docs/ContactsHouseholdsListHouseholdResponse.md +0 -34
  43. package/docs/ContactsHouseholdsRelatedContactPayload.md +0 -36
  44. package/src/models/ContactsHouseholdAddress.ts +0 -105
  45. package/src/models/ContactsHouseholdsCreateHouseholdPayload.ts +0 -113
  46. package/src/models/ContactsHouseholdsGetHouseholdResponse.ts +0 -73
  47. package/src/models/ContactsHouseholdsHousehold.ts +0 -73
  48. package/src/models/ContactsHouseholdsHouseholdMemberPayload.ts +0 -83
  49. package/src/models/ContactsHouseholdsListHouseholdResponse.ts +0 -74
  50. package/src/models/ContactsHouseholdsRelatedContactPayload.ts +0 -75
@@ -1,33 +0,0 @@
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 { ContactsHouseholdsHousehold } from './ContactsHouseholdsHousehold';
13
- /**
14
- *
15
- * @export
16
- * @interface ContactsHouseholdsListHouseholdResponse
17
- */
18
- export interface ContactsHouseholdsListHouseholdResponse {
19
- /**
20
- *
21
- * @type {Array<ContactsHouseholdsHousehold>}
22
- * @memberof ContactsHouseholdsListHouseholdResponse
23
- */
24
- items: Array<ContactsHouseholdsHousehold>;
25
- }
26
- /**
27
- * Check if a given object implements the ContactsHouseholdsListHouseholdResponse interface.
28
- */
29
- export declare function instanceOfContactsHouseholdsListHouseholdResponse(value: object): value is ContactsHouseholdsListHouseholdResponse;
30
- export declare function ContactsHouseholdsListHouseholdResponseFromJSON(json: any): ContactsHouseholdsListHouseholdResponse;
31
- export declare function ContactsHouseholdsListHouseholdResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ContactsHouseholdsListHouseholdResponse;
32
- export declare function ContactsHouseholdsListHouseholdResponseToJSON(json: any): ContactsHouseholdsListHouseholdResponse;
33
- export declare function ContactsHouseholdsListHouseholdResponseToJSONTyped(value?: ContactsHouseholdsListHouseholdResponse | null, ignoreDiscriminator?: boolean): any;
@@ -1,51 +0,0 @@
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.instanceOfContactsHouseholdsListHouseholdResponse = instanceOfContactsHouseholdsListHouseholdResponse;
17
- exports.ContactsHouseholdsListHouseholdResponseFromJSON = ContactsHouseholdsListHouseholdResponseFromJSON;
18
- exports.ContactsHouseholdsListHouseholdResponseFromJSONTyped = ContactsHouseholdsListHouseholdResponseFromJSONTyped;
19
- exports.ContactsHouseholdsListHouseholdResponseToJSON = ContactsHouseholdsListHouseholdResponseToJSON;
20
- exports.ContactsHouseholdsListHouseholdResponseToJSONTyped = ContactsHouseholdsListHouseholdResponseToJSONTyped;
21
- const ContactsHouseholdsHousehold_1 = require("./ContactsHouseholdsHousehold");
22
- /**
23
- * Check if a given object implements the ContactsHouseholdsListHouseholdResponse interface.
24
- */
25
- function instanceOfContactsHouseholdsListHouseholdResponse(value) {
26
- if (!('items' in value) || value['items'] === undefined)
27
- return false;
28
- return true;
29
- }
30
- function ContactsHouseholdsListHouseholdResponseFromJSON(json) {
31
- return ContactsHouseholdsListHouseholdResponseFromJSONTyped(json, false);
32
- }
33
- function ContactsHouseholdsListHouseholdResponseFromJSONTyped(json, ignoreDiscriminator) {
34
- if (json == null) {
35
- return json;
36
- }
37
- return {
38
- 'items': (json['items'].map(ContactsHouseholdsHousehold_1.ContactsHouseholdsHouseholdFromJSON)),
39
- };
40
- }
41
- function ContactsHouseholdsListHouseholdResponseToJSON(json) {
42
- return ContactsHouseholdsListHouseholdResponseToJSONTyped(json, false);
43
- }
44
- function ContactsHouseholdsListHouseholdResponseToJSONTyped(value, ignoreDiscriminator = false) {
45
- if (value == null) {
46
- return value;
47
- }
48
- return {
49
- 'items': (value['items'].map(ContactsHouseholdsHousehold_1.ContactsHouseholdsHouseholdToJSON)),
50
- };
51
- }
@@ -1,38 +0,0 @@
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 ContactsHouseholdsRelatedContactPayload
16
- */
17
- export interface ContactsHouseholdsRelatedContactPayload {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof ContactsHouseholdsRelatedContactPayload
22
- */
23
- contactUuid: string;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof ContactsHouseholdsRelatedContactPayload
28
- */
29
- relationship: string;
30
- }
31
- /**
32
- * Check if a given object implements the ContactsHouseholdsRelatedContactPayload interface.
33
- */
34
- export declare function instanceOfContactsHouseholdsRelatedContactPayload(value: object): value is ContactsHouseholdsRelatedContactPayload;
35
- export declare function ContactsHouseholdsRelatedContactPayloadFromJSON(json: any): ContactsHouseholdsRelatedContactPayload;
36
- export declare function ContactsHouseholdsRelatedContactPayloadFromJSONTyped(json: any, ignoreDiscriminator: boolean): ContactsHouseholdsRelatedContactPayload;
37
- export declare function ContactsHouseholdsRelatedContactPayloadToJSON(json: any): ContactsHouseholdsRelatedContactPayload;
38
- export declare function ContactsHouseholdsRelatedContactPayloadToJSONTyped(value?: ContactsHouseholdsRelatedContactPayload | null, ignoreDiscriminator?: boolean): any;
@@ -1,54 +0,0 @@
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.instanceOfContactsHouseholdsRelatedContactPayload = instanceOfContactsHouseholdsRelatedContactPayload;
17
- exports.ContactsHouseholdsRelatedContactPayloadFromJSON = ContactsHouseholdsRelatedContactPayloadFromJSON;
18
- exports.ContactsHouseholdsRelatedContactPayloadFromJSONTyped = ContactsHouseholdsRelatedContactPayloadFromJSONTyped;
19
- exports.ContactsHouseholdsRelatedContactPayloadToJSON = ContactsHouseholdsRelatedContactPayloadToJSON;
20
- exports.ContactsHouseholdsRelatedContactPayloadToJSONTyped = ContactsHouseholdsRelatedContactPayloadToJSONTyped;
21
- /**
22
- * Check if a given object implements the ContactsHouseholdsRelatedContactPayload interface.
23
- */
24
- function instanceOfContactsHouseholdsRelatedContactPayload(value) {
25
- if (!('contactUuid' in value) || value['contactUuid'] === undefined)
26
- return false;
27
- if (!('relationship' in value) || value['relationship'] === undefined)
28
- return false;
29
- return true;
30
- }
31
- function ContactsHouseholdsRelatedContactPayloadFromJSON(json) {
32
- return ContactsHouseholdsRelatedContactPayloadFromJSONTyped(json, false);
33
- }
34
- function ContactsHouseholdsRelatedContactPayloadFromJSONTyped(json, ignoreDiscriminator) {
35
- if (json == null) {
36
- return json;
37
- }
38
- return {
39
- 'contactUuid': json['contactUuid'],
40
- 'relationship': json['relationship'],
41
- };
42
- }
43
- function ContactsHouseholdsRelatedContactPayloadToJSON(json) {
44
- return ContactsHouseholdsRelatedContactPayloadToJSONTyped(json, false);
45
- }
46
- function ContactsHouseholdsRelatedContactPayloadToJSONTyped(value, ignoreDiscriminator = false) {
47
- if (value == null) {
48
- return value;
49
- }
50
- return {
51
- 'contactUuid': value['contactUuid'],
52
- 'relationship': value['relationship'],
53
- };
54
- }
@@ -1,44 +0,0 @@
1
-
2
- # ContactsHouseholdAddress
3
-
4
-
5
- ## Properties
6
-
7
- Name | Type
8
- ------------ | -------------
9
- `street1` | string
10
- `street2` | string
11
- `city` | string
12
- `state` | string
13
- `country` | string
14
- `postalCode` | string
15
-
16
- ## Example
17
-
18
- ```typescript
19
- import type { ContactsHouseholdAddress } from '@equisoft/equisoft-connect-sdk-typescript'
20
-
21
- // TODO: Update the object below with actual values
22
- const example = {
23
- "street1": null,
24
- "street2": null,
25
- "city": null,
26
- "state": null,
27
- "country": null,
28
- "postalCode": null,
29
- } satisfies ContactsHouseholdAddress
30
-
31
- console.log(example)
32
-
33
- // Convert the instance to a JSON string
34
- const exampleJSON: string = JSON.stringify(example)
35
- console.log(exampleJSON)
36
-
37
- // Parse the JSON string back to an object
38
- const exampleParsed = JSON.parse(exampleJSON) as ContactsHouseholdAddress
39
- console.log(exampleParsed)
40
- ```
41
-
42
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
43
-
44
-
@@ -1,42 +0,0 @@
1
-
2
- # ContactsHouseholdsCreateHouseholdPayload
3
-
4
-
5
- ## Properties
6
-
7
- Name | Type
8
- ------------ | -------------
9
- `name` | string
10
- `ownerUuids` | Array&lt;string&gt;
11
- `_private` | boolean
12
- `relatedContacts` | [Array&lt;ContactsHouseholdsRelatedContactPayload&gt;](ContactsHouseholdsRelatedContactPayload.md)
13
- `members` | [Array&lt;ContactsHouseholdsHouseholdMemberPayload&gt;](ContactsHouseholdsHouseholdMemberPayload.md)
14
-
15
- ## Example
16
-
17
- ```typescript
18
- import type { ContactsHouseholdsCreateHouseholdPayload } from '@equisoft/equisoft-connect-sdk-typescript'
19
-
20
- // TODO: Update the object below with actual values
21
- const example = {
22
- "name": null,
23
- "ownerUuids": null,
24
- "_private": null,
25
- "relatedContacts": null,
26
- "members": null,
27
- } satisfies ContactsHouseholdsCreateHouseholdPayload
28
-
29
- console.log(example)
30
-
31
- // Convert the instance to a JSON string
32
- const exampleJSON: string = JSON.stringify(example)
33
- console.log(exampleJSON)
34
-
35
- // Parse the JSON string back to an object
36
- const exampleParsed = JSON.parse(exampleJSON) as ContactsHouseholdsCreateHouseholdPayload
37
- console.log(exampleParsed)
38
- ```
39
-
40
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
41
-
42
-
@@ -1,34 +0,0 @@
1
-
2
- # ContactsHouseholdsGetHouseholdResponse
3
-
4
-
5
- ## Properties
6
-
7
- Name | Type
8
- ------------ | -------------
9
- `household` | [ContactsHouseholdsHousehold](ContactsHouseholdsHousehold.md)
10
-
11
- ## Example
12
-
13
- ```typescript
14
- import type { ContactsHouseholdsGetHouseholdResponse } from '@equisoft/equisoft-connect-sdk-typescript'
15
-
16
- // TODO: Update the object below with actual values
17
- const example = {
18
- "household": null,
19
- } satisfies ContactsHouseholdsGetHouseholdResponse
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 ContactsHouseholdsGetHouseholdResponse
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
-
@@ -1,34 +0,0 @@
1
-
2
- # ContactsHouseholdsHousehold
3
-
4
-
5
- ## Properties
6
-
7
- Name | Type
8
- ------------ | -------------
9
- `owners` | [Array&lt;UsersUserIdentity&gt;](UsersUserIdentity.md)
10
-
11
- ## Example
12
-
13
- ```typescript
14
- import type { ContactsHouseholdsHousehold } from '@equisoft/equisoft-connect-sdk-typescript'
15
-
16
- // TODO: Update the object below with actual values
17
- const example = {
18
- "owners": null,
19
- } satisfies ContactsHouseholdsHousehold
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 ContactsHouseholdsHousehold
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
-
@@ -1,38 +0,0 @@
1
-
2
- # ContactsHouseholdsHouseholdMemberPayload
3
-
4
-
5
- ## Properties
6
-
7
- Name | Type
8
- ------------ | -------------
9
- `contactUuid` | string
10
- `main` | boolean
11
- `role` | number
12
-
13
- ## Example
14
-
15
- ```typescript
16
- import type { ContactsHouseholdsHouseholdMemberPayload } from '@equisoft/equisoft-connect-sdk-typescript'
17
-
18
- // TODO: Update the object below with actual values
19
- const example = {
20
- "contactUuid": null,
21
- "main": null,
22
- "role": null,
23
- } satisfies ContactsHouseholdsHouseholdMemberPayload
24
-
25
- console.log(example)
26
-
27
- // Convert the instance to a JSON string
28
- const exampleJSON: string = JSON.stringify(example)
29
- console.log(exampleJSON)
30
-
31
- // Parse the JSON string back to an object
32
- const exampleParsed = JSON.parse(exampleJSON) as ContactsHouseholdsHouseholdMemberPayload
33
- console.log(exampleParsed)
34
- ```
35
-
36
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
37
-
38
-
@@ -1,34 +0,0 @@
1
-
2
- # ContactsHouseholdsListHouseholdResponse
3
-
4
-
5
- ## Properties
6
-
7
- Name | Type
8
- ------------ | -------------
9
- `items` | [Array&lt;ContactsHouseholdsHousehold&gt;](ContactsHouseholdsHousehold.md)
10
-
11
- ## Example
12
-
13
- ```typescript
14
- import type { ContactsHouseholdsListHouseholdResponse } from '@equisoft/equisoft-connect-sdk-typescript'
15
-
16
- // TODO: Update the object below with actual values
17
- const example = {
18
- "items": null,
19
- } satisfies ContactsHouseholdsListHouseholdResponse
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 ContactsHouseholdsListHouseholdResponse
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
-
@@ -1,36 +0,0 @@
1
-
2
- # ContactsHouseholdsRelatedContactPayload
3
-
4
-
5
- ## Properties
6
-
7
- Name | Type
8
- ------------ | -------------
9
- `contactUuid` | string
10
- `relationship` | string
11
-
12
- ## Example
13
-
14
- ```typescript
15
- import type { ContactsHouseholdsRelatedContactPayload } from '@equisoft/equisoft-connect-sdk-typescript'
16
-
17
- // TODO: Update the object below with actual values
18
- const example = {
19
- "contactUuid": null,
20
- "relationship": null,
21
- } satisfies ContactsHouseholdsRelatedContactPayload
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 ContactsHouseholdsRelatedContactPayload
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
-
@@ -1,105 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Equisoft /connect API
5
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
- *
7
- * The version of the OpenAPI document: latest
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
- import { mapValues } from '../runtime';
16
- /**
17
- *
18
- * @export
19
- * @interface ContactsHouseholdAddress
20
- */
21
- export interface ContactsHouseholdAddress {
22
- /**
23
- *
24
- * @type {string}
25
- * @memberof ContactsHouseholdAddress
26
- */
27
- street1?: string;
28
- /**
29
- *
30
- * @type {string}
31
- * @memberof ContactsHouseholdAddress
32
- */
33
- street2?: string;
34
- /**
35
- *
36
- * @type {string}
37
- * @memberof ContactsHouseholdAddress
38
- */
39
- city?: string;
40
- /**
41
- *
42
- * @type {string}
43
- * @memberof ContactsHouseholdAddress
44
- */
45
- state?: string;
46
- /**
47
- *
48
- * @type {string}
49
- * @memberof ContactsHouseholdAddress
50
- */
51
- country?: string;
52
- /**
53
- *
54
- * @type {string}
55
- * @memberof ContactsHouseholdAddress
56
- */
57
- postalCode?: string;
58
- }
59
-
60
- /**
61
- * Check if a given object implements the ContactsHouseholdAddress interface.
62
- */
63
- export function instanceOfContactsHouseholdAddress(value: object): value is ContactsHouseholdAddress {
64
- return true;
65
- }
66
-
67
- export function ContactsHouseholdAddressFromJSON(json: any): ContactsHouseholdAddress {
68
- return ContactsHouseholdAddressFromJSONTyped(json, false);
69
- }
70
-
71
- export function ContactsHouseholdAddressFromJSONTyped(json: any, ignoreDiscriminator: boolean): ContactsHouseholdAddress {
72
- if (json == null) {
73
- return json;
74
- }
75
- return {
76
-
77
- 'street1': json['street1'] == null ? undefined : json['street1'],
78
- 'street2': json['street2'] == null ? undefined : json['street2'],
79
- 'city': json['city'] == null ? undefined : json['city'],
80
- 'state': json['state'] == null ? undefined : json['state'],
81
- 'country': json['country'] == null ? undefined : json['country'],
82
- 'postalCode': json['postalCode'] == null ? undefined : json['postalCode'],
83
- };
84
- }
85
-
86
- export function ContactsHouseholdAddressToJSON(json: any): ContactsHouseholdAddress {
87
- return ContactsHouseholdAddressToJSONTyped(json, false);
88
- }
89
-
90
- export function ContactsHouseholdAddressToJSONTyped(value?: ContactsHouseholdAddress | null, ignoreDiscriminator: boolean = false): any {
91
- if (value == null) {
92
- return value;
93
- }
94
-
95
- return {
96
-
97
- 'street1': value['street1'],
98
- 'street2': value['street2'],
99
- 'city': value['city'],
100
- 'state': value['state'],
101
- 'country': value['country'],
102
- 'postalCode': value['postalCode'],
103
- };
104
- }
105
-
@@ -1,113 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Equisoft /connect API
5
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
- *
7
- * The version of the OpenAPI document: latest
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
- import { mapValues } from '../runtime';
16
- import type { ContactsHouseholdsRelatedContactPayload } from './ContactsHouseholdsRelatedContactPayload';
17
- import {
18
- ContactsHouseholdsRelatedContactPayloadFromJSON,
19
- ContactsHouseholdsRelatedContactPayloadFromJSONTyped,
20
- ContactsHouseholdsRelatedContactPayloadToJSON,
21
- ContactsHouseholdsRelatedContactPayloadToJSONTyped,
22
- } from './ContactsHouseholdsRelatedContactPayload';
23
- import type { ContactsHouseholdsHouseholdMemberPayload } from './ContactsHouseholdsHouseholdMemberPayload';
24
- import {
25
- ContactsHouseholdsHouseholdMemberPayloadFromJSON,
26
- ContactsHouseholdsHouseholdMemberPayloadFromJSONTyped,
27
- ContactsHouseholdsHouseholdMemberPayloadToJSON,
28
- ContactsHouseholdsHouseholdMemberPayloadToJSONTyped,
29
- } from './ContactsHouseholdsHouseholdMemberPayload';
30
-
31
- /**
32
- *
33
- * @export
34
- * @interface ContactsHouseholdsCreateHouseholdPayload
35
- */
36
- export interface ContactsHouseholdsCreateHouseholdPayload {
37
- /**
38
- *
39
- * @type {string}
40
- * @memberof ContactsHouseholdsCreateHouseholdPayload
41
- */
42
- name: string;
43
- /**
44
- *
45
- * @type {Array<string>}
46
- * @memberof ContactsHouseholdsCreateHouseholdPayload
47
- */
48
- ownerUuids?: Array<string>;
49
- /**
50
- *
51
- * @type {boolean}
52
- * @memberof ContactsHouseholdsCreateHouseholdPayload
53
- */
54
- _private?: boolean;
55
- /**
56
- *
57
- * @type {Array<ContactsHouseholdsRelatedContactPayload>}
58
- * @memberof ContactsHouseholdsCreateHouseholdPayload
59
- */
60
- relatedContacts?: Array<ContactsHouseholdsRelatedContactPayload> | null;
61
- /**
62
- *
63
- * @type {Array<ContactsHouseholdsHouseholdMemberPayload>}
64
- * @memberof ContactsHouseholdsCreateHouseholdPayload
65
- */
66
- members?: Array<ContactsHouseholdsHouseholdMemberPayload> | null;
67
- }
68
-
69
- /**
70
- * Check if a given object implements the ContactsHouseholdsCreateHouseholdPayload interface.
71
- */
72
- export function instanceOfContactsHouseholdsCreateHouseholdPayload(value: object): value is ContactsHouseholdsCreateHouseholdPayload {
73
- if (!('name' in value) || value['name'] === undefined) return false;
74
- return true;
75
- }
76
-
77
- export function ContactsHouseholdsCreateHouseholdPayloadFromJSON(json: any): ContactsHouseholdsCreateHouseholdPayload {
78
- return ContactsHouseholdsCreateHouseholdPayloadFromJSONTyped(json, false);
79
- }
80
-
81
- export function ContactsHouseholdsCreateHouseholdPayloadFromJSONTyped(json: any, ignoreDiscriminator: boolean): ContactsHouseholdsCreateHouseholdPayload {
82
- if (json == null) {
83
- return json;
84
- }
85
- return {
86
-
87
- 'name': json['name'],
88
- 'ownerUuids': json['ownerUuids'] == null ? undefined : json['ownerUuids'],
89
- '_private': json['private'] == null ? undefined : json['private'],
90
- 'relatedContacts': json['relatedContacts'] == null ? undefined : ((json['relatedContacts'] as Array<any>).map(ContactsHouseholdsRelatedContactPayloadFromJSON)),
91
- 'members': json['members'] == null ? undefined : ((json['members'] as Array<any>).map(ContactsHouseholdsHouseholdMemberPayloadFromJSON)),
92
- };
93
- }
94
-
95
- export function ContactsHouseholdsCreateHouseholdPayloadToJSON(json: any): ContactsHouseholdsCreateHouseholdPayload {
96
- return ContactsHouseholdsCreateHouseholdPayloadToJSONTyped(json, false);
97
- }
98
-
99
- export function ContactsHouseholdsCreateHouseholdPayloadToJSONTyped(value?: ContactsHouseholdsCreateHouseholdPayload | null, ignoreDiscriminator: boolean = false): any {
100
- if (value == null) {
101
- return value;
102
- }
103
-
104
- return {
105
-
106
- 'name': value['name'],
107
- 'ownerUuids': value['ownerUuids'],
108
- 'private': value['_private'],
109
- 'relatedContacts': value['relatedContacts'] == null ? undefined : ((value['relatedContacts'] as Array<any>).map(ContactsHouseholdsRelatedContactPayloadToJSON)),
110
- 'members': value['members'] == null ? undefined : ((value['members'] as Array<any>).map(ContactsHouseholdsHouseholdMemberPayloadToJSON)),
111
- };
112
- }
113
-