@equisoft/equisoft-connect-sdk-typescript 13.62.0 → 13.62.1-snapshot.20261113150942

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.
@@ -50,6 +50,7 @@ docs/ContactsHouseholdsCreateHouseholdPayload.md
50
50
  docs/ContactsHouseholdsGetHouseholdResponse.md
51
51
  docs/ContactsHouseholdsHousehold.md
52
52
  docs/ContactsHouseholdsListHouseholdResponse.md
53
+ docs/ContactsHouseholdsRelatedContactPayload.md
53
54
  docs/ContactsIdentification.md
54
55
  docs/ContactsIndividualIdentification.md
55
56
  docs/ContactsInvestmentObjective.md
@@ -422,6 +423,7 @@ src/models/ContactsHouseholdsCreateHouseholdPayload.ts
422
423
  src/models/ContactsHouseholdsGetHouseholdResponse.ts
423
424
  src/models/ContactsHouseholdsHousehold.ts
424
425
  src/models/ContactsHouseholdsListHouseholdResponse.ts
426
+ src/models/ContactsHouseholdsRelatedContactPayload.ts
425
427
  src/models/ContactsIdentification.ts
426
428
  src/models/ContactsIndividualIdentification.ts
427
429
  src/models/ContactsInvestmentObjective.ts
package/README.md CHANGED
@@ -257,6 +257,7 @@ All URIs are relative to *http://localhost*
257
257
  - [ContactsHouseholdsGetHouseholdResponse](docs/ContactsHouseholdsGetHouseholdResponse.md)
258
258
  - [ContactsHouseholdsHousehold](docs/ContactsHouseholdsHousehold.md)
259
259
  - [ContactsHouseholdsListHouseholdResponse](docs/ContactsHouseholdsListHouseholdResponse.md)
260
+ - [ContactsHouseholdsRelatedContactPayload](docs/ContactsHouseholdsRelatedContactPayload.md)
260
261
  - [ContactsIdentification](docs/ContactsIdentification.md)
261
262
  - [ContactsIndividualIdentification](docs/ContactsIndividualIdentification.md)
262
263
  - [ContactsInvestmentObjective](docs/ContactsInvestmentObjective.md)
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { ContactsHouseholdsRelatedContactPayload } from './ContactsHouseholdsRelatedContactPayload';
12
13
  /**
13
14
  *
14
15
  * @export
@@ -33,6 +34,12 @@ export interface ContactsHouseholdsCreateHouseholdPayload {
33
34
  * @memberof ContactsHouseholdsCreateHouseholdPayload
34
35
  */
35
36
  _private?: boolean;
37
+ /**
38
+ *
39
+ * @type {Array<ContactsHouseholdsRelatedContactPayload>}
40
+ * @memberof ContactsHouseholdsCreateHouseholdPayload
41
+ */
42
+ relatedContacts?: Array<ContactsHouseholdsRelatedContactPayload> | null;
36
43
  }
37
44
  /**
38
45
  * Check if a given object implements the ContactsHouseholdsCreateHouseholdPayload interface.
@@ -11,6 +11,7 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
+ import { ContactsHouseholdsRelatedContactPayloadFromJSON, ContactsHouseholdsRelatedContactPayloadToJSON, } from './ContactsHouseholdsRelatedContactPayload';
14
15
  /**
15
16
  * Check if a given object implements the ContactsHouseholdsCreateHouseholdPayload interface.
16
17
  */
@@ -30,6 +31,7 @@ export function ContactsHouseholdsCreateHouseholdPayloadFromJSONTyped(json, igno
30
31
  'name': json['name'],
31
32
  'ownerUuids': json['ownerUuids'] == null ? undefined : json['ownerUuids'],
32
33
  '_private': json['private'] == null ? undefined : json['private'],
34
+ 'relatedContacts': json['relatedContacts'] == null ? undefined : (json['relatedContacts'].map(ContactsHouseholdsRelatedContactPayloadFromJSON)),
33
35
  };
34
36
  }
35
37
  export function ContactsHouseholdsCreateHouseholdPayloadToJSON(json) {
@@ -43,5 +45,6 @@ export function ContactsHouseholdsCreateHouseholdPayloadToJSONTyped(value, ignor
43
45
  'name': value['name'],
44
46
  'ownerUuids': value['ownerUuids'],
45
47
  'private': value['_private'],
48
+ 'relatedContacts': value['relatedContacts'] == null ? undefined : (value['relatedContacts'].map(ContactsHouseholdsRelatedContactPayloadToJSON)),
46
49
  };
47
50
  }
@@ -0,0 +1,38 @@
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;
@@ -0,0 +1,47 @@
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
+ * Check if a given object implements the ContactsHouseholdsRelatedContactPayload interface.
16
+ */
17
+ export function instanceOfContactsHouseholdsRelatedContactPayload(value) {
18
+ if (!('contactUuid' in value) || value['contactUuid'] === undefined)
19
+ return false;
20
+ if (!('relationship' in value) || value['relationship'] === undefined)
21
+ return false;
22
+ return true;
23
+ }
24
+ export function ContactsHouseholdsRelatedContactPayloadFromJSON(json) {
25
+ return ContactsHouseholdsRelatedContactPayloadFromJSONTyped(json, false);
26
+ }
27
+ export function ContactsHouseholdsRelatedContactPayloadFromJSONTyped(json, ignoreDiscriminator) {
28
+ if (json == null) {
29
+ return json;
30
+ }
31
+ return {
32
+ 'contactUuid': json['contactUuid'],
33
+ 'relationship': json['relationship'],
34
+ };
35
+ }
36
+ export function ContactsHouseholdsRelatedContactPayloadToJSON(json) {
37
+ return ContactsHouseholdsRelatedContactPayloadToJSONTyped(json, false);
38
+ }
39
+ export function ContactsHouseholdsRelatedContactPayloadToJSONTyped(value, ignoreDiscriminator = false) {
40
+ if (value == null) {
41
+ return value;
42
+ }
43
+ return {
44
+ 'contactUuid': value['contactUuid'],
45
+ 'relationship': value['relationship'],
46
+ };
47
+ }
@@ -81,7 +81,7 @@ export interface OpportunityOpportunity {
81
81
  * @type {number}
82
82
  * @memberof OpportunityOpportunity
83
83
  */
84
- probability: number;
84
+ probability?: number;
85
85
  /**
86
86
  *
87
87
  * @type {FieldValueValueSummary}
@@ -22,8 +22,6 @@ export function instanceOfOpportunityOpportunity(value) {
22
22
  return false;
23
23
  if (!('referenceNumber' in value) || value['referenceNumber'] === undefined)
24
24
  return false;
25
- if (!('probability' in value) || value['probability'] === undefined)
26
- return false;
27
25
  if (!('notes' in value) || value['notes'] === undefined)
28
26
  return false;
29
27
  if (!('clientUuid' in value) || value['clientUuid'] === undefined)
@@ -50,7 +48,7 @@ export function OpportunityOpportunityFromJSONTyped(json, ignoreDiscriminator) {
50
48
  'realIncome': json['realIncome'] == null ? undefined : json['realIncome'],
51
49
  'expectedClosingDate': json['expectedClosingDate'] == null ? undefined : (new Date(json['expectedClosingDate'])),
52
50
  'realClosingDate': json['realClosingDate'] == null ? undefined : (new Date(json['realClosingDate'])),
53
- 'probability': json['probability'],
51
+ 'probability': json['probability'] == null ? undefined : json['probability'],
54
52
  'source': json['source'] == null ? undefined : FieldValueValueSummaryFromJSON(json['source']),
55
53
  'status': json['status'] == null ? undefined : FieldValueValueSummaryFromJSON(json['status']),
56
54
  'step': json['step'] == null ? undefined : FieldValueValueSummaryFromJSON(json['step']),
@@ -47,6 +47,7 @@ export * from './ContactsHouseholdsCreateHouseholdPayload';
47
47
  export * from './ContactsHouseholdsGetHouseholdResponse';
48
48
  export * from './ContactsHouseholdsHousehold';
49
49
  export * from './ContactsHouseholdsListHouseholdResponse';
50
+ export * from './ContactsHouseholdsRelatedContactPayload';
50
51
  export * from './ContactsIdentification';
51
52
  export * from './ContactsIndividualIdentification';
52
53
  export * from './ContactsInvestmentObjective';
@@ -49,6 +49,7 @@ export * from './ContactsHouseholdsCreateHouseholdPayload';
49
49
  export * from './ContactsHouseholdsGetHouseholdResponse';
50
50
  export * from './ContactsHouseholdsHousehold';
51
51
  export * from './ContactsHouseholdsListHouseholdResponse';
52
+ export * from './ContactsHouseholdsRelatedContactPayload';
52
53
  export * from './ContactsIdentification';
53
54
  export * from './ContactsIndividualIdentification';
54
55
  export * from './ContactsInvestmentObjective';
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { ContactsHouseholdsRelatedContactPayload } from './ContactsHouseholdsRelatedContactPayload';
12
13
  /**
13
14
  *
14
15
  * @export
@@ -33,6 +34,12 @@ export interface ContactsHouseholdsCreateHouseholdPayload {
33
34
  * @memberof ContactsHouseholdsCreateHouseholdPayload
34
35
  */
35
36
  _private?: boolean;
37
+ /**
38
+ *
39
+ * @type {Array<ContactsHouseholdsRelatedContactPayload>}
40
+ * @memberof ContactsHouseholdsCreateHouseholdPayload
41
+ */
42
+ relatedContacts?: Array<ContactsHouseholdsRelatedContactPayload> | null;
36
43
  }
37
44
  /**
38
45
  * Check if a given object implements the ContactsHouseholdsCreateHouseholdPayload interface.
@@ -18,6 +18,7 @@ exports.ContactsHouseholdsCreateHouseholdPayloadFromJSON = ContactsHouseholdsCre
18
18
  exports.ContactsHouseholdsCreateHouseholdPayloadFromJSONTyped = ContactsHouseholdsCreateHouseholdPayloadFromJSONTyped;
19
19
  exports.ContactsHouseholdsCreateHouseholdPayloadToJSON = ContactsHouseholdsCreateHouseholdPayloadToJSON;
20
20
  exports.ContactsHouseholdsCreateHouseholdPayloadToJSONTyped = ContactsHouseholdsCreateHouseholdPayloadToJSONTyped;
21
+ const ContactsHouseholdsRelatedContactPayload_1 = require("./ContactsHouseholdsRelatedContactPayload");
21
22
  /**
22
23
  * Check if a given object implements the ContactsHouseholdsCreateHouseholdPayload interface.
23
24
  */
@@ -37,6 +38,7 @@ function ContactsHouseholdsCreateHouseholdPayloadFromJSONTyped(json, ignoreDiscr
37
38
  'name': json['name'],
38
39
  'ownerUuids': json['ownerUuids'] == null ? undefined : json['ownerUuids'],
39
40
  '_private': json['private'] == null ? undefined : json['private'],
41
+ 'relatedContacts': json['relatedContacts'] == null ? undefined : (json['relatedContacts'].map(ContactsHouseholdsRelatedContactPayload_1.ContactsHouseholdsRelatedContactPayloadFromJSON)),
40
42
  };
41
43
  }
42
44
  function ContactsHouseholdsCreateHouseholdPayloadToJSON(json) {
@@ -50,5 +52,6 @@ function ContactsHouseholdsCreateHouseholdPayloadToJSONTyped(value, ignoreDiscri
50
52
  'name': value['name'],
51
53
  'ownerUuids': value['ownerUuids'],
52
54
  'private': value['_private'],
55
+ 'relatedContacts': value['relatedContacts'] == null ? undefined : (value['relatedContacts'].map(ContactsHouseholdsRelatedContactPayload_1.ContactsHouseholdsRelatedContactPayloadToJSON)),
53
56
  };
54
57
  }
@@ -0,0 +1,38 @@
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;
@@ -0,0 +1,54 @@
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
+ }
@@ -81,7 +81,7 @@ export interface OpportunityOpportunity {
81
81
  * @type {number}
82
82
  * @memberof OpportunityOpportunity
83
83
  */
84
- probability: number;
84
+ probability?: number;
85
85
  /**
86
86
  *
87
87
  * @type {FieldValueValueSummary}
@@ -29,8 +29,6 @@ function instanceOfOpportunityOpportunity(value) {
29
29
  return false;
30
30
  if (!('referenceNumber' in value) || value['referenceNumber'] === undefined)
31
31
  return false;
32
- if (!('probability' in value) || value['probability'] === undefined)
33
- return false;
34
32
  if (!('notes' in value) || value['notes'] === undefined)
35
33
  return false;
36
34
  if (!('clientUuid' in value) || value['clientUuid'] === undefined)
@@ -57,7 +55,7 @@ function OpportunityOpportunityFromJSONTyped(json, ignoreDiscriminator) {
57
55
  'realIncome': json['realIncome'] == null ? undefined : json['realIncome'],
58
56
  'expectedClosingDate': json['expectedClosingDate'] == null ? undefined : (new Date(json['expectedClosingDate'])),
59
57
  'realClosingDate': json['realClosingDate'] == null ? undefined : (new Date(json['realClosingDate'])),
60
- 'probability': json['probability'],
58
+ 'probability': json['probability'] == null ? undefined : json['probability'],
61
59
  'source': json['source'] == null ? undefined : (0, FieldValueValueSummary_1.FieldValueValueSummaryFromJSON)(json['source']),
62
60
  'status': json['status'] == null ? undefined : (0, FieldValueValueSummary_1.FieldValueValueSummaryFromJSON)(json['status']),
63
61
  'step': json['step'] == null ? undefined : (0, FieldValueValueSummary_1.FieldValueValueSummaryFromJSON)(json['step']),
@@ -47,6 +47,7 @@ export * from './ContactsHouseholdsCreateHouseholdPayload';
47
47
  export * from './ContactsHouseholdsGetHouseholdResponse';
48
48
  export * from './ContactsHouseholdsHousehold';
49
49
  export * from './ContactsHouseholdsListHouseholdResponse';
50
+ export * from './ContactsHouseholdsRelatedContactPayload';
50
51
  export * from './ContactsIdentification';
51
52
  export * from './ContactsIndividualIdentification';
52
53
  export * from './ContactsInvestmentObjective';
@@ -65,6 +65,7 @@ __exportStar(require("./ContactsHouseholdsCreateHouseholdPayload"), exports);
65
65
  __exportStar(require("./ContactsHouseholdsGetHouseholdResponse"), exports);
66
66
  __exportStar(require("./ContactsHouseholdsHousehold"), exports);
67
67
  __exportStar(require("./ContactsHouseholdsListHouseholdResponse"), exports);
68
+ __exportStar(require("./ContactsHouseholdsRelatedContactPayload"), exports);
68
69
  __exportStar(require("./ContactsIdentification"), exports);
69
70
  __exportStar(require("./ContactsIndividualIdentification"), exports);
70
71
  __exportStar(require("./ContactsInvestmentObjective"), exports);
@@ -9,6 +9,7 @@ Name | Type
9
9
  `name` | string
10
10
  `ownerUuids` | Array&lt;string&gt;
11
11
  `_private` | boolean
12
+ `relatedContacts` | [Array&lt;ContactsHouseholdsRelatedContactPayload&gt;](ContactsHouseholdsRelatedContactPayload.md)
12
13
 
13
14
  ## Example
14
15
 
@@ -20,6 +21,7 @@ const example = {
20
21
  "name": null,
21
22
  "ownerUuids": null,
22
23
  "_private": null,
24
+ "relatedContacts": null,
23
25
  } satisfies ContactsHouseholdsCreateHouseholdPayload
24
26
 
25
27
  console.log(example)
@@ -0,0 +1,36 @@
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
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@equisoft/equisoft-connect-sdk-typescript",
3
- "version": "13.62.0",
3
+ "version": "13.62.1-snapshot.20261113150942",
4
4
  "description": "OpenAPI client for @equisoft/equisoft-connect-sdk-typescript",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -13,6 +13,14 @@
13
13
  */
14
14
 
15
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
+
16
24
  /**
17
25
  *
18
26
  * @export
@@ -37,6 +45,12 @@ export interface ContactsHouseholdsCreateHouseholdPayload {
37
45
  * @memberof ContactsHouseholdsCreateHouseholdPayload
38
46
  */
39
47
  _private?: boolean;
48
+ /**
49
+ *
50
+ * @type {Array<ContactsHouseholdsRelatedContactPayload>}
51
+ * @memberof ContactsHouseholdsCreateHouseholdPayload
52
+ */
53
+ relatedContacts?: Array<ContactsHouseholdsRelatedContactPayload> | null;
40
54
  }
41
55
 
42
56
  /**
@@ -60,6 +74,7 @@ export function ContactsHouseholdsCreateHouseholdPayloadFromJSONTyped(json: any,
60
74
  'name': json['name'],
61
75
  'ownerUuids': json['ownerUuids'] == null ? undefined : json['ownerUuids'],
62
76
  '_private': json['private'] == null ? undefined : json['private'],
77
+ 'relatedContacts': json['relatedContacts'] == null ? undefined : ((json['relatedContacts'] as Array<any>).map(ContactsHouseholdsRelatedContactPayloadFromJSON)),
63
78
  };
64
79
  }
65
80
 
@@ -77,6 +92,7 @@ export function ContactsHouseholdsCreateHouseholdPayloadToJSONTyped(value?: Cont
77
92
  'name': value['name'],
78
93
  'ownerUuids': value['ownerUuids'],
79
94
  'private': value['_private'],
95
+ 'relatedContacts': value['relatedContacts'] == null ? undefined : ((value['relatedContacts'] as Array<any>).map(ContactsHouseholdsRelatedContactPayloadToJSON)),
80
96
  };
81
97
  }
82
98
 
@@ -0,0 +1,75 @@
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 ContactsHouseholdsRelatedContactPayload
20
+ */
21
+ export interface ContactsHouseholdsRelatedContactPayload {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof ContactsHouseholdsRelatedContactPayload
26
+ */
27
+ contactUuid: string;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof ContactsHouseholdsRelatedContactPayload
32
+ */
33
+ relationship: string;
34
+ }
35
+
36
+ /**
37
+ * Check if a given object implements the ContactsHouseholdsRelatedContactPayload interface.
38
+ */
39
+ export function instanceOfContactsHouseholdsRelatedContactPayload(value: object): value is ContactsHouseholdsRelatedContactPayload {
40
+ if (!('contactUuid' in value) || value['contactUuid'] === undefined) return false;
41
+ if (!('relationship' in value) || value['relationship'] === undefined) return false;
42
+ return true;
43
+ }
44
+
45
+ export function ContactsHouseholdsRelatedContactPayloadFromJSON(json: any): ContactsHouseholdsRelatedContactPayload {
46
+ return ContactsHouseholdsRelatedContactPayloadFromJSONTyped(json, false);
47
+ }
48
+
49
+ export function ContactsHouseholdsRelatedContactPayloadFromJSONTyped(json: any, ignoreDiscriminator: boolean): ContactsHouseholdsRelatedContactPayload {
50
+ if (json == null) {
51
+ return json;
52
+ }
53
+ return {
54
+
55
+ 'contactUuid': json['contactUuid'],
56
+ 'relationship': json['relationship'],
57
+ };
58
+ }
59
+
60
+ export function ContactsHouseholdsRelatedContactPayloadToJSON(json: any): ContactsHouseholdsRelatedContactPayload {
61
+ return ContactsHouseholdsRelatedContactPayloadToJSONTyped(json, false);
62
+ }
63
+
64
+ export function ContactsHouseholdsRelatedContactPayloadToJSONTyped(value?: ContactsHouseholdsRelatedContactPayload | null, ignoreDiscriminator: boolean = false): any {
65
+ if (value == null) {
66
+ return value;
67
+ }
68
+
69
+ return {
70
+
71
+ 'contactUuid': value['contactUuid'],
72
+ 'relationship': value['relationship'],
73
+ };
74
+ }
75
+
@@ -92,7 +92,7 @@ export interface OpportunityOpportunity {
92
92
  * @type {number}
93
93
  * @memberof OpportunityOpportunity
94
94
  */
95
- probability: number;
95
+ probability?: number;
96
96
  /**
97
97
  *
98
98
  * @type {FieldValueValueSummary}
@@ -192,7 +192,6 @@ export function instanceOfOpportunityOpportunity(value: object): value is Opport
192
192
  if (!('id' in value) || value['id'] === undefined) return false;
193
193
  if (!('name' in value) || value['name'] === undefined) return false;
194
194
  if (!('referenceNumber' in value) || value['referenceNumber'] === undefined) return false;
195
- if (!('probability' in value) || value['probability'] === undefined) return false;
196
195
  if (!('notes' in value) || value['notes'] === undefined) return false;
197
196
  if (!('clientUuid' in value) || value['clientUuid'] === undefined) return false;
198
197
  if (!('ownerIds' in value) || value['ownerIds'] === undefined) return false;
@@ -219,7 +218,7 @@ export function OpportunityOpportunityFromJSONTyped(json: any, ignoreDiscriminat
219
218
  'realIncome': json['realIncome'] == null ? undefined : json['realIncome'],
220
219
  'expectedClosingDate': json['expectedClosingDate'] == null ? undefined : (new Date(json['expectedClosingDate'])),
221
220
  'realClosingDate': json['realClosingDate'] == null ? undefined : (new Date(json['realClosingDate'])),
222
- 'probability': json['probability'],
221
+ 'probability': json['probability'] == null ? undefined : json['probability'],
223
222
  'source': json['source'] == null ? undefined : FieldValueValueSummaryFromJSON(json['source']),
224
223
  'status': json['status'] == null ? undefined : FieldValueValueSummaryFromJSON(json['status']),
225
224
  'step': json['step'] == null ? undefined : FieldValueValueSummaryFromJSON(json['step']),
@@ -49,6 +49,7 @@ export * from './ContactsHouseholdsCreateHouseholdPayload';
49
49
  export * from './ContactsHouseholdsGetHouseholdResponse';
50
50
  export * from './ContactsHouseholdsHousehold';
51
51
  export * from './ContactsHouseholdsListHouseholdResponse';
52
+ export * from './ContactsHouseholdsRelatedContactPayload';
52
53
  export * from './ContactsIdentification';
53
54
  export * from './ContactsIndividualIdentification';
54
55
  export * from './ContactsInvestmentObjective';