@reacon-io/sdk 0.3.0-beta.1 → 0.5.0-beta.1
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/README.md +3 -2
- package/dist/esm/models/CrmSyncConfigurationResponse.js +5 -2
- package/dist/esm/models/EmailMention.js +5 -2
- package/dist/esm/models/IntegrationCapabilityResponse.d.ts +1 -1
- package/dist/esm/models/IntegrationCapabilityResponseOutput.d.ts +54 -6
- package/dist/esm/models/IntegrationCapabilityResponseOutput.js +54 -29
- package/dist/esm/models/IntegrationCapabilityResponseOutputNonNull.d.ts +24 -0
- package/dist/esm/models/IntegrationCapabilityResponseOutputNonNull.js +58 -0
- package/dist/esm/models/IntegrationConnection.js +5 -2
- package/dist/esm/models/IntegrationConnectionHealth.js +5 -2
- package/dist/esm/models/ProductToolRequestInput.d.ts +30 -129
- package/dist/esm/models/ProductToolRequestInput.js +80 -120
- package/dist/esm/models/QueuedIntegrationJob.js +5 -2
- package/dist/esm/models/UpdateLeadRequestCompany.js +5 -2
- package/dist/esm/models/UpdateLeadRequestPerson.js +5 -2
- package/dist/esm/models/index.d.ts +1 -0
- package/dist/esm/models/index.js +1 -0
- package/dist/models/CrmSyncConfigurationResponse.js +5 -2
- package/dist/models/EmailMention.js +5 -2
- package/dist/models/IntegrationCapabilityResponse.d.ts +1 -1
- package/dist/models/IntegrationCapabilityResponseOutput.d.ts +54 -6
- package/dist/models/IntegrationCapabilityResponseOutput.js +55 -29
- package/dist/models/IntegrationCapabilityResponseOutputNonNull.d.ts +24 -0
- package/dist/models/IntegrationCapabilityResponseOutputNonNull.js +64 -0
- package/dist/models/IntegrationConnection.js +5 -2
- package/dist/models/IntegrationConnectionHealth.js +5 -2
- package/dist/models/ProductToolRequestInput.d.ts +30 -129
- package/dist/models/ProductToolRequestInput.js +80 -120
- package/dist/models/QueuedIntegrationJob.js +5 -2
- package/dist/models/UpdateLeadRequestCompany.js +5 -2
- package/dist/models/UpdateLeadRequestPerson.js +5 -2
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Reacon API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.1.0
|
|
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.IntegrationCapabilityResponseOutputNonNullFromJSON = IntegrationCapabilityResponseOutputNonNullFromJSON;
|
|
17
|
+
exports.IntegrationCapabilityResponseOutputNonNullFromJSONTyped = IntegrationCapabilityResponseOutputNonNullFromJSONTyped;
|
|
18
|
+
exports.IntegrationCapabilityResponseOutputNonNullToJSON = IntegrationCapabilityResponseOutputNonNullToJSON;
|
|
19
|
+
exports.IntegrationCapabilityResponseOutputNonNullToJSONTyped = IntegrationCapabilityResponseOutputNonNullToJSONTyped;
|
|
20
|
+
const CapabilityDomainSearch_js_1 = require("./CapabilityDomainSearch.js");
|
|
21
|
+
const CapabilityEmailFound_js_1 = require("./CapabilityEmailFound.js");
|
|
22
|
+
const CapabilityEmailVerified_js_1 = require("./CapabilityEmailVerified.js");
|
|
23
|
+
function IntegrationCapabilityResponseOutputNonNullFromJSON(json) {
|
|
24
|
+
return IntegrationCapabilityResponseOutputNonNullFromJSONTyped(json, false);
|
|
25
|
+
}
|
|
26
|
+
function IntegrationCapabilityResponseOutputNonNullFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
if (json == null) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
if (typeof json !== 'object') {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
if ((0, CapabilityDomainSearch_js_1.instanceOfCapabilityDomainSearch)(json)) {
|
|
34
|
+
return (0, CapabilityDomainSearch_js_1.CapabilityDomainSearchFromJSONTyped)(json, true);
|
|
35
|
+
}
|
|
36
|
+
if ((0, CapabilityEmailFound_js_1.instanceOfCapabilityEmailFound)(json)) {
|
|
37
|
+
return (0, CapabilityEmailFound_js_1.CapabilityEmailFoundFromJSONTyped)(json, true);
|
|
38
|
+
}
|
|
39
|
+
if ((0, CapabilityEmailVerified_js_1.instanceOfCapabilityEmailVerified)(json)) {
|
|
40
|
+
return (0, CapabilityEmailVerified_js_1.CapabilityEmailVerifiedFromJSONTyped)(json, true);
|
|
41
|
+
}
|
|
42
|
+
return {};
|
|
43
|
+
}
|
|
44
|
+
function IntegrationCapabilityResponseOutputNonNullToJSON(json) {
|
|
45
|
+
return IntegrationCapabilityResponseOutputNonNullToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function IntegrationCapabilityResponseOutputNonNullToJSONTyped(value, ignoreDiscriminator = false) {
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
if (typeof value !== 'object') {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
if ((0, CapabilityDomainSearch_js_1.instanceOfCapabilityDomainSearch)(value)) {
|
|
55
|
+
return (0, CapabilityDomainSearch_js_1.CapabilityDomainSearchToJSON)(value);
|
|
56
|
+
}
|
|
57
|
+
if ((0, CapabilityEmailFound_js_1.instanceOfCapabilityEmailFound)(value)) {
|
|
58
|
+
return (0, CapabilityEmailFound_js_1.CapabilityEmailFoundToJSON)(value);
|
|
59
|
+
}
|
|
60
|
+
if ((0, CapabilityEmailVerified_js_1.instanceOfCapabilityEmailVerified)(value)) {
|
|
61
|
+
return (0, CapabilityEmailVerified_js_1.CapabilityEmailVerifiedToJSON)(value);
|
|
62
|
+
}
|
|
63
|
+
return {};
|
|
64
|
+
}
|
|
@@ -18,6 +18,7 @@ exports.IntegrationConnectionFromJSON = IntegrationConnectionFromJSON;
|
|
|
18
18
|
exports.IntegrationConnectionFromJSONTyped = IntegrationConnectionFromJSONTyped;
|
|
19
19
|
exports.IntegrationConnectionToJSON = IntegrationConnectionToJSON;
|
|
20
20
|
exports.IntegrationConnectionToJSONTyped = IntegrationConnectionToJSONTyped;
|
|
21
|
+
const reaconAdditionalPropertyCollisions = Symbol('reacon.additionalPropertyCollisions');
|
|
21
22
|
const IntegrationConnectionHealth_js_1 = require("./IntegrationConnectionHealth.js");
|
|
22
23
|
/**
|
|
23
24
|
* Check if a given object implements the IntegrationConnection interface.
|
|
@@ -59,7 +60,8 @@ function IntegrationConnectionFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
59
60
|
return json;
|
|
60
61
|
}
|
|
61
62
|
return {
|
|
62
|
-
...json,
|
|
63
|
+
...Object.fromEntries(Object.entries(json).filter(([key]) => !["capabilities", "config", "created_at", "health", "id", "label", "mode", "provider", "provider_account_id", "provider_base_url", "status", "team_id", "updated_at"].includes(key))),
|
|
64
|
+
...{ [reaconAdditionalPropertyCollisions]: Object.fromEntries(Object.entries(json).filter(([key]) => ["createdAt", "providerAccountId", "providerBaseUrl", "teamId", "updatedAt"].includes(key))) },
|
|
63
65
|
'capabilities': json['capabilities'],
|
|
64
66
|
'config': json['config'],
|
|
65
67
|
'createdAt': json['created_at'],
|
|
@@ -83,7 +85,8 @@ function IntegrationConnectionToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
83
85
|
return value;
|
|
84
86
|
}
|
|
85
87
|
return {
|
|
86
|
-
...value,
|
|
88
|
+
...Object.fromEntries(Object.entries(value).filter(([key]) => !["capabilities", "config", "createdAt", "health", "id", "label", "mode", "provider", "providerAccountId", "providerBaseUrl", "status", "teamId", "updatedAt"].includes(key))),
|
|
89
|
+
...(value[reaconAdditionalPropertyCollisions] ?? {}),
|
|
87
90
|
'capabilities': value['capabilities'],
|
|
88
91
|
'config': value['config'],
|
|
89
92
|
'created_at': value['createdAt'],
|
|
@@ -18,6 +18,7 @@ exports.IntegrationConnectionHealthFromJSON = IntegrationConnectionHealthFromJSO
|
|
|
18
18
|
exports.IntegrationConnectionHealthFromJSONTyped = IntegrationConnectionHealthFromJSONTyped;
|
|
19
19
|
exports.IntegrationConnectionHealthToJSON = IntegrationConnectionHealthToJSON;
|
|
20
20
|
exports.IntegrationConnectionHealthToJSONTyped = IntegrationConnectionHealthToJSONTyped;
|
|
21
|
+
const reaconAdditionalPropertyCollisions = Symbol('reacon.additionalPropertyCollisions');
|
|
21
22
|
/**
|
|
22
23
|
* Check if a given object implements the IntegrationConnectionHealth interface.
|
|
23
24
|
*/
|
|
@@ -42,7 +43,8 @@ function IntegrationConnectionHealthFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
42
43
|
return json;
|
|
43
44
|
}
|
|
44
45
|
return {
|
|
45
|
-
...json,
|
|
46
|
+
...Object.fromEntries(Object.entries(json).filter(([key]) => !["checked_at", "code", "last_error_code", "last_error_message", "state"].includes(key))),
|
|
47
|
+
...{ [reaconAdditionalPropertyCollisions]: Object.fromEntries(Object.entries(json).filter(([key]) => ["checkedAt", "lastErrorCode", "lastErrorMessage"].includes(key))) },
|
|
46
48
|
'checkedAt': json['checked_at'],
|
|
47
49
|
'code': json['code'],
|
|
48
50
|
'lastErrorCode': json['last_error_code'],
|
|
@@ -58,7 +60,8 @@ function IntegrationConnectionHealthToJSONTyped(value, ignoreDiscriminator = fal
|
|
|
58
60
|
return value;
|
|
59
61
|
}
|
|
60
62
|
return {
|
|
61
|
-
...value,
|
|
63
|
+
...Object.fromEntries(Object.entries(value).filter(([key]) => !["checkedAt", "code", "lastErrorCode", "lastErrorMessage", "state"].includes(key))),
|
|
64
|
+
...(value[reaconAdditionalPropertyCollisions] ?? {}),
|
|
62
65
|
'checked_at': value['checkedAt'],
|
|
63
66
|
'code': value['code'],
|
|
64
67
|
'last_error_code': value['lastErrorCode'],
|
|
@@ -1,133 +1,34 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
import
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
location?: string;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
*/
|
|
34
|
-
query?: string;
|
|
35
|
-
/**
|
|
36
|
-
* The server applies trim, toLowerCase before validating {"type":"string","pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z]{2,63}$"}.
|
|
37
|
-
*/
|
|
38
|
-
domain: string;
|
|
39
|
-
/**
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
jobTitle?: string;
|
|
43
|
-
/**
|
|
44
|
-
*
|
|
45
|
-
*/
|
|
46
|
-
company: string;
|
|
47
|
-
/**
|
|
48
|
-
*
|
|
49
|
-
*/
|
|
50
|
-
email: string;
|
|
51
|
-
/**
|
|
52
|
-
*
|
|
53
|
-
*/
|
|
54
|
-
listId: string;
|
|
55
|
-
/**
|
|
56
|
-
*
|
|
57
|
-
*/
|
|
58
|
-
offset?: number;
|
|
59
|
-
/**
|
|
60
|
-
*
|
|
61
|
-
*/
|
|
62
|
-
leadId: string;
|
|
63
|
-
/**
|
|
64
|
-
* Attribute names must be at most 100 characters. The server enforces this constraint.
|
|
65
|
-
*/
|
|
66
|
-
attributes?: {
|
|
67
|
-
[key: string]: string;
|
|
68
|
-
};
|
|
69
|
-
/**
|
|
70
|
-
*
|
|
71
|
-
*/
|
|
72
|
-
firstName?: string;
|
|
73
|
-
/**
|
|
74
|
-
*
|
|
75
|
-
*/
|
|
76
|
-
idempotencyKey: string;
|
|
77
|
-
/**
|
|
78
|
-
*
|
|
79
|
-
*/
|
|
80
|
-
lastName?: string;
|
|
81
|
-
/**
|
|
82
|
-
*
|
|
83
|
-
*/
|
|
84
|
-
position?: string;
|
|
85
|
-
/**
|
|
86
|
-
*
|
|
87
|
-
*/
|
|
88
|
-
leadIds: Array<string>;
|
|
89
|
-
/**
|
|
90
|
-
*
|
|
91
|
-
*/
|
|
92
|
-
name: string;
|
|
93
|
-
/**
|
|
94
|
-
*
|
|
95
|
-
*/
|
|
96
|
-
tagId: string;
|
|
97
|
-
/**
|
|
98
|
-
*
|
|
99
|
-
*/
|
|
100
|
-
key: string;
|
|
101
|
-
/**
|
|
102
|
-
*
|
|
103
|
-
*/
|
|
104
|
-
companyId: string;
|
|
105
|
-
/**
|
|
106
|
-
*
|
|
107
|
-
*/
|
|
108
|
-
employeeRange?: string;
|
|
109
|
-
/**
|
|
110
|
-
*
|
|
111
|
-
*/
|
|
112
|
-
sequenceId: string;
|
|
113
|
-
/**
|
|
114
|
-
*
|
|
115
|
-
*/
|
|
116
|
-
recipients: Array<ProductSequenceRecipientsAddInputRecipientsInner>;
|
|
117
|
-
/**
|
|
118
|
-
*
|
|
119
|
-
*/
|
|
120
|
-
recipientId: string;
|
|
121
|
-
/**
|
|
122
|
-
*
|
|
123
|
-
*/
|
|
124
|
-
connectionId: string;
|
|
125
|
-
}
|
|
126
|
-
/**
|
|
127
|
-
* Check if a given object implements the ProductToolRequestInput interface.
|
|
128
|
-
*/
|
|
1
|
+
import { ProductDiscoverCompaniesInput } from './ProductDiscoverCompaniesInput.js';
|
|
2
|
+
import { ProductDiscoverPeopleInput } from './ProductDiscoverPeopleInput.js';
|
|
3
|
+
import { ProductDomainFinderInput } from './ProductDomainFinderInput.js';
|
|
4
|
+
import { ProductEmailCountInput } from './ProductEmailCountInput.js';
|
|
5
|
+
import { ProductPersonEnrichInput } from './ProductPersonEnrichInput.js';
|
|
6
|
+
import { ProductLeadsListInput } from './ProductLeadsListInput.js';
|
|
7
|
+
import { ProductLeadGetInput } from './ProductLeadGetInput.js';
|
|
8
|
+
import { ProductLeadCreateInput } from './ProductLeadCreateInput.js';
|
|
9
|
+
import { ProductLeadUpdateInput } from './ProductLeadUpdateInput.js';
|
|
10
|
+
import { ProductLeadDeleteInput } from './ProductLeadDeleteInput.js';
|
|
11
|
+
import { ProductLeadBulkDeleteInput } from './ProductLeadBulkDeleteInput.js';
|
|
12
|
+
import { ProductLeadTagCreateInput } from './ProductLeadTagCreateInput.js';
|
|
13
|
+
import { ProductLeadTagAssignInput } from './ProductLeadTagAssignInput.js';
|
|
14
|
+
import { ProductCustomAttributeCreateInput } from './ProductCustomAttributeCreateInput.js';
|
|
15
|
+
import { ProductLeadListUpdateInput } from './ProductLeadListUpdateInput.js';
|
|
16
|
+
import { ProductLeadListDeleteInput } from './ProductLeadListDeleteInput.js';
|
|
17
|
+
import { ProductLeadListAddLeadInput } from './ProductLeadListAddLeadInput.js';
|
|
18
|
+
import { ProductCompaniesListInput } from './ProductCompaniesListInput.js';
|
|
19
|
+
import { ProductCompanyTrackInput } from './ProductCompanyTrackInput.js';
|
|
20
|
+
import { ProductCompanyUpdateInput } from './ProductCompanyUpdateInput.js';
|
|
21
|
+
import { ProductCompanyDeleteInput } from './ProductCompanyDeleteInput.js';
|
|
22
|
+
import { ProductCompanyListAddInput } from './ProductCompanyListAddInput.js';
|
|
23
|
+
import { ProductSequenceRecipientsListInput } from './ProductSequenceRecipientsListInput.js';
|
|
24
|
+
import { ProductSequenceRecipientsAddInput } from './ProductSequenceRecipientsAddInput.js';
|
|
25
|
+
import { ProductSequenceRecipientAddInput } from './ProductSequenceRecipientAddInput.js';
|
|
26
|
+
import { ProductSequenceRecipientCancelInput } from './ProductSequenceRecipientCancelInput.js';
|
|
27
|
+
import { ProductSequenceStartInput } from './ProductSequenceStartInput.js';
|
|
28
|
+
import { ProductConnectedAppPushInput } from './ProductConnectedAppPushInput.js';
|
|
29
|
+
export type ProductToolRequestInput = ProductDiscoverCompaniesInput | ProductDiscoverPeopleInput | ProductDomainFinderInput | ProductEmailCountInput | ProductPersonEnrichInput | ProductLeadsListInput | ProductLeadGetInput | ProductLeadCreateInput | ProductLeadUpdateInput | ProductLeadDeleteInput | ProductLeadBulkDeleteInput | ProductLeadTagCreateInput | ProductLeadTagAssignInput | ProductCustomAttributeCreateInput | ProductLeadListUpdateInput | ProductLeadListDeleteInput | ProductLeadListAddLeadInput | ProductCompaniesListInput | ProductCompanyTrackInput | ProductCompanyUpdateInput | ProductCompanyDeleteInput | ProductCompanyListAddInput | ProductSequenceRecipientsListInput | ProductSequenceRecipientsAddInput | ProductSequenceRecipientAddInput | ProductSequenceRecipientCancelInput | ProductSequenceStartInput | ProductConnectedAppPushInput | Record<string, never>;
|
|
129
30
|
export declare function instanceOfProductToolRequestInput(value: object): value is ProductToolRequestInput;
|
|
130
31
|
export declare function ProductToolRequestInputFromJSON(json: any): ProductToolRequestInput;
|
|
131
32
|
export declare function ProductToolRequestInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductToolRequestInput;
|
|
132
|
-
export declare function ProductToolRequestInputToJSON(
|
|
33
|
+
export declare function ProductToolRequestInputToJSON(value: any): any;
|
|
133
34
|
export declare function ProductToolRequestInputToJSONTyped(value?: ProductToolRequestInput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,129 +1,89 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Reacon API
|
|
6
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 0.1.0
|
|
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
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
3
|
exports.instanceOfProductToolRequestInput = instanceOfProductToolRequestInput;
|
|
17
4
|
exports.ProductToolRequestInputFromJSON = ProductToolRequestInputFromJSON;
|
|
18
5
|
exports.ProductToolRequestInputFromJSONTyped = ProductToolRequestInputFromJSONTyped;
|
|
19
6
|
exports.ProductToolRequestInputToJSON = ProductToolRequestInputToJSON;
|
|
20
7
|
exports.ProductToolRequestInputToJSONTyped = ProductToolRequestInputToJSONTyped;
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
'recipientId': json['recipientId'],
|
|
91
|
-
'connectionId': json['connectionId'],
|
|
92
|
-
};
|
|
8
|
+
// Generated typed alternatives retained by the Reacon input-union adapter.
|
|
9
|
+
const ProductDiscoverCompaniesInput_js_1 = require("./ProductDiscoverCompaniesInput.js");
|
|
10
|
+
const ProductDiscoverPeopleInput_js_1 = require("./ProductDiscoverPeopleInput.js");
|
|
11
|
+
const ProductDomainFinderInput_js_1 = require("./ProductDomainFinderInput.js");
|
|
12
|
+
const ProductEmailCountInput_js_1 = require("./ProductEmailCountInput.js");
|
|
13
|
+
const ProductPersonEnrichInput_js_1 = require("./ProductPersonEnrichInput.js");
|
|
14
|
+
const ProductLeadsListInput_js_1 = require("./ProductLeadsListInput.js");
|
|
15
|
+
const ProductLeadGetInput_js_1 = require("./ProductLeadGetInput.js");
|
|
16
|
+
const ProductLeadCreateInput_js_1 = require("./ProductLeadCreateInput.js");
|
|
17
|
+
const ProductLeadUpdateInput_js_1 = require("./ProductLeadUpdateInput.js");
|
|
18
|
+
const ProductLeadDeleteInput_js_1 = require("./ProductLeadDeleteInput.js");
|
|
19
|
+
const ProductLeadBulkDeleteInput_js_1 = require("./ProductLeadBulkDeleteInput.js");
|
|
20
|
+
const ProductLeadTagCreateInput_js_1 = require("./ProductLeadTagCreateInput.js");
|
|
21
|
+
const ProductLeadTagAssignInput_js_1 = require("./ProductLeadTagAssignInput.js");
|
|
22
|
+
const ProductCustomAttributeCreateInput_js_1 = require("./ProductCustomAttributeCreateInput.js");
|
|
23
|
+
const ProductLeadListUpdateInput_js_1 = require("./ProductLeadListUpdateInput.js");
|
|
24
|
+
const ProductLeadListDeleteInput_js_1 = require("./ProductLeadListDeleteInput.js");
|
|
25
|
+
const ProductLeadListAddLeadInput_js_1 = require("./ProductLeadListAddLeadInput.js");
|
|
26
|
+
const ProductCompaniesListInput_js_1 = require("./ProductCompaniesListInput.js");
|
|
27
|
+
const ProductCompanyTrackInput_js_1 = require("./ProductCompanyTrackInput.js");
|
|
28
|
+
const ProductCompanyUpdateInput_js_1 = require("./ProductCompanyUpdateInput.js");
|
|
29
|
+
const ProductCompanyDeleteInput_js_1 = require("./ProductCompanyDeleteInput.js");
|
|
30
|
+
const ProductCompanyListAddInput_js_1 = require("./ProductCompanyListAddInput.js");
|
|
31
|
+
const ProductSequenceRecipientsListInput_js_1 = require("./ProductSequenceRecipientsListInput.js");
|
|
32
|
+
const ProductSequenceRecipientsAddInput_js_1 = require("./ProductSequenceRecipientsAddInput.js");
|
|
33
|
+
const ProductSequenceRecipientAddInput_js_1 = require("./ProductSequenceRecipientAddInput.js");
|
|
34
|
+
const ProductSequenceRecipientCancelInput_js_1 = require("./ProductSequenceRecipientCancelInput.js");
|
|
35
|
+
const ProductSequenceStartInput_js_1 = require("./ProductSequenceStartInput.js");
|
|
36
|
+
const ProductConnectedAppPushInput_js_1 = require("./ProductConnectedAppPushInput.js");
|
|
37
|
+
const alternatives = [
|
|
38
|
+
{ keys: ["industry", "limit", "location", "query"], required: [], read: ProductDiscoverCompaniesInput_js_1.ProductDiscoverCompaniesInputFromJSON, write: ProductDiscoverCompaniesInput_js_1.ProductDiscoverCompaniesInputToJSON },
|
|
39
|
+
{ keys: ["domain", "jobTitle", "limit", "query"], required: [], read: ProductDiscoverPeopleInput_js_1.ProductDiscoverPeopleInputFromJSON, write: ProductDiscoverPeopleInput_js_1.ProductDiscoverPeopleInputToJSON },
|
|
40
|
+
{ keys: ["company"], required: ["company"], read: ProductDomainFinderInput_js_1.ProductDomainFinderInputFromJSON, write: ProductDomainFinderInput_js_1.ProductDomainFinderInputToJSON },
|
|
41
|
+
{ keys: ["domain"], required: ["domain"], read: ProductEmailCountInput_js_1.ProductEmailCountInputFromJSON, write: ProductEmailCountInput_js_1.ProductEmailCountInputToJSON },
|
|
42
|
+
{ keys: ["email"], required: ["email"], read: ProductPersonEnrichInput_js_1.ProductPersonEnrichInputFromJSON, write: ProductPersonEnrichInput_js_1.ProductPersonEnrichInputToJSON },
|
|
43
|
+
{ keys: ["limit", "listId", "offset"], required: [], read: ProductLeadsListInput_js_1.ProductLeadsListInputFromJSON, write: ProductLeadsListInput_js_1.ProductLeadsListInputToJSON },
|
|
44
|
+
{ keys: ["leadId"], required: ["leadId"], read: ProductLeadGetInput_js_1.ProductLeadGetInputFromJSON, write: ProductLeadGetInput_js_1.ProductLeadGetInputToJSON },
|
|
45
|
+
{ keys: ["attributes", "company", "email", "firstName", "idempotencyKey", "lastName", "position"], required: ["email", "idempotencyKey"], read: ProductLeadCreateInput_js_1.ProductLeadCreateInputFromJSON, write: ProductLeadCreateInput_js_1.ProductLeadCreateInputToJSON },
|
|
46
|
+
{ keys: ["attributes", "company", "firstName", "idempotencyKey", "lastName", "leadId", "position"], required: ["leadId", "idempotencyKey"], read: ProductLeadUpdateInput_js_1.ProductLeadUpdateInputFromJSON, write: ProductLeadUpdateInput_js_1.ProductLeadUpdateInputToJSON },
|
|
47
|
+
{ keys: ["idempotencyKey", "leadId"], required: ["leadId", "idempotencyKey"], read: ProductLeadDeleteInput_js_1.ProductLeadDeleteInputFromJSON, write: ProductLeadDeleteInput_js_1.ProductLeadDeleteInputToJSON },
|
|
48
|
+
{ keys: ["idempotencyKey", "leadIds"], required: ["leadIds", "idempotencyKey"], read: ProductLeadBulkDeleteInput_js_1.ProductLeadBulkDeleteInputFromJSON, write: ProductLeadBulkDeleteInput_js_1.ProductLeadBulkDeleteInputToJSON },
|
|
49
|
+
{ keys: ["idempotencyKey", "name"], required: ["name", "idempotencyKey"], read: ProductLeadTagCreateInput_js_1.ProductLeadTagCreateInputFromJSON, write: ProductLeadTagCreateInput_js_1.ProductLeadTagCreateInputToJSON },
|
|
50
|
+
{ keys: ["idempotencyKey", "leadId", "tagId"], required: ["leadId", "tagId", "idempotencyKey"], read: ProductLeadTagAssignInput_js_1.ProductLeadTagAssignInputFromJSON, write: ProductLeadTagAssignInput_js_1.ProductLeadTagAssignInputToJSON },
|
|
51
|
+
{ keys: ["idempotencyKey", "key", "name"], required: ["name", "key", "idempotencyKey"], read: ProductCustomAttributeCreateInput_js_1.ProductCustomAttributeCreateInputFromJSON, write: ProductCustomAttributeCreateInput_js_1.ProductCustomAttributeCreateInputToJSON },
|
|
52
|
+
{ keys: ["idempotencyKey", "listId", "name"], required: ["listId", "name", "idempotencyKey"], read: ProductLeadListUpdateInput_js_1.ProductLeadListUpdateInputFromJSON, write: ProductLeadListUpdateInput_js_1.ProductLeadListUpdateInputToJSON },
|
|
53
|
+
{ keys: ["idempotencyKey", "listId"], required: ["listId", "idempotencyKey"], read: ProductLeadListDeleteInput_js_1.ProductLeadListDeleteInputFromJSON, write: ProductLeadListDeleteInput_js_1.ProductLeadListDeleteInputToJSON },
|
|
54
|
+
{ keys: ["idempotencyKey", "leadId", "listId"], required: ["listId", "leadId", "idempotencyKey"], read: ProductLeadListAddLeadInput_js_1.ProductLeadListAddLeadInputFromJSON, write: ProductLeadListAddLeadInput_js_1.ProductLeadListAddLeadInputToJSON },
|
|
55
|
+
{ keys: ["limit", "offset"], required: [], read: ProductCompaniesListInput_js_1.ProductCompaniesListInputFromJSON, write: ProductCompaniesListInput_js_1.ProductCompaniesListInputToJSON },
|
|
56
|
+
{ keys: ["domain", "idempotencyKey", "name"], required: ["domain", "idempotencyKey"], read: ProductCompanyTrackInput_js_1.ProductCompanyTrackInputFromJSON, write: ProductCompanyTrackInput_js_1.ProductCompanyTrackInputToJSON },
|
|
57
|
+
{ keys: ["companyId", "employeeRange", "idempotencyKey", "industry", "name"], required: ["companyId", "idempotencyKey"], read: ProductCompanyUpdateInput_js_1.ProductCompanyUpdateInputFromJSON, write: ProductCompanyUpdateInput_js_1.ProductCompanyUpdateInputToJSON },
|
|
58
|
+
{ keys: ["companyId", "idempotencyKey"], required: ["companyId", "idempotencyKey"], read: ProductCompanyDeleteInput_js_1.ProductCompanyDeleteInputFromJSON, write: ProductCompanyDeleteInput_js_1.ProductCompanyDeleteInputToJSON },
|
|
59
|
+
{ keys: ["companyId", "idempotencyKey", "listId"], required: ["listId", "companyId", "idempotencyKey"], read: ProductCompanyListAddInput_js_1.ProductCompanyListAddInputFromJSON, write: ProductCompanyListAddInput_js_1.ProductCompanyListAddInputToJSON },
|
|
60
|
+
{ keys: ["sequenceId"], required: ["sequenceId"], read: ProductSequenceRecipientsListInput_js_1.ProductSequenceRecipientsListInputFromJSON, write: ProductSequenceRecipientsListInput_js_1.ProductSequenceRecipientsListInputToJSON },
|
|
61
|
+
{ keys: ["idempotencyKey", "recipients", "sequenceId"], required: ["sequenceId", "recipients", "idempotencyKey"], read: ProductSequenceRecipientsAddInput_js_1.ProductSequenceRecipientsAddInputFromJSON, write: ProductSequenceRecipientsAddInput_js_1.ProductSequenceRecipientsAddInputToJSON },
|
|
62
|
+
{ keys: ["email", "idempotencyKey", "leadId", "sequenceId"], required: ["sequenceId", "email", "idempotencyKey"], read: ProductSequenceRecipientAddInput_js_1.ProductSequenceRecipientAddInputFromJSON, write: ProductSequenceRecipientAddInput_js_1.ProductSequenceRecipientAddInputToJSON },
|
|
63
|
+
{ keys: ["idempotencyKey", "recipientId"], required: ["recipientId", "idempotencyKey"], read: ProductSequenceRecipientCancelInput_js_1.ProductSequenceRecipientCancelInputFromJSON, write: ProductSequenceRecipientCancelInput_js_1.ProductSequenceRecipientCancelInputToJSON },
|
|
64
|
+
{ keys: ["idempotencyKey", "sequenceId"], required: ["sequenceId", "idempotencyKey"], read: ProductSequenceStartInput_js_1.ProductSequenceStartInputFromJSON, write: ProductSequenceStartInput_js_1.ProductSequenceStartInputToJSON },
|
|
65
|
+
{ keys: ["connectionId", "idempotencyKey", "leadIds"], required: ["connectionId", "leadIds", "idempotencyKey"], read: ProductConnectedAppPushInput_js_1.ProductConnectedAppPushInputFromJSON, write: ProductConnectedAppPushInput_js_1.ProductConnectedAppPushInputToJSON },
|
|
66
|
+
];
|
|
67
|
+
function select(value) {
|
|
68
|
+
if (value === null || typeof value !== "object" || Array.isArray(value))
|
|
69
|
+
throw new TypeError("Product tool input must be an object");
|
|
70
|
+
const keys = Object.keys(value).filter(key => value[key] !== undefined);
|
|
71
|
+
if (!keys.length)
|
|
72
|
+
return null;
|
|
73
|
+
const branch = alternatives.find(branch => keys.every(key => branch.keys.includes(key)) && branch.required.every(key => value[key] !== undefined));
|
|
74
|
+
if (!branch)
|
|
75
|
+
throw new TypeError("Product tool input does not match a declared object shape");
|
|
76
|
+
return branch;
|
|
93
77
|
}
|
|
94
|
-
function
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
function ProductToolRequestInputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
98
|
-
if (value == null) {
|
|
99
|
-
return value;
|
|
100
|
-
}
|
|
101
|
-
return {
|
|
102
|
-
'industry': value['industry'],
|
|
103
|
-
'limit': value['limit'],
|
|
104
|
-
'location': value['location'],
|
|
105
|
-
'query': value['query'],
|
|
106
|
-
'domain': value['domain'],
|
|
107
|
-
'jobTitle': value['jobTitle'],
|
|
108
|
-
'company': value['company'],
|
|
109
|
-
'email': value['email'],
|
|
110
|
-
'listId': value['listId'],
|
|
111
|
-
'offset': value['offset'],
|
|
112
|
-
'leadId': value['leadId'],
|
|
113
|
-
'attributes': value['attributes'],
|
|
114
|
-
'firstName': value['firstName'],
|
|
115
|
-
'idempotencyKey': value['idempotencyKey'],
|
|
116
|
-
'lastName': value['lastName'],
|
|
117
|
-
'position': value['position'],
|
|
118
|
-
'leadIds': value['leadIds'],
|
|
119
|
-
'name': value['name'],
|
|
120
|
-
'tagId': value['tagId'],
|
|
121
|
-
'key': value['key'],
|
|
122
|
-
'companyId': value['companyId'],
|
|
123
|
-
'employeeRange': value['employeeRange'],
|
|
124
|
-
'sequenceId': value['sequenceId'],
|
|
125
|
-
'recipients': (value['recipients'].map(ProductSequenceRecipientsAddInputRecipientsInner_js_1.ProductSequenceRecipientsAddInputRecipientsInnerToJSON)),
|
|
126
|
-
'recipientId': value['recipientId'],
|
|
127
|
-
'connectionId': value['connectionId'],
|
|
128
|
-
};
|
|
78
|
+
function instanceOfProductToolRequestInput(value) { try {
|
|
79
|
+
select(value);
|
|
80
|
+
return true;
|
|
129
81
|
}
|
|
82
|
+
catch {
|
|
83
|
+
return false;
|
|
84
|
+
} }
|
|
85
|
+
function ProductToolRequestInputFromJSON(json) { const branch = select(json); return branch ? branch.read(json) : {}; }
|
|
86
|
+
function ProductToolRequestInputFromJSONTyped(json, ignoreDiscriminator) { return ProductToolRequestInputFromJSON(json); }
|
|
87
|
+
function ProductToolRequestInputToJSON(value) { if (value === undefined)
|
|
88
|
+
return undefined; const branch = select(value); return branch ? branch.write(value) : {}; }
|
|
89
|
+
function ProductToolRequestInputToJSONTyped(value, ignoreDiscriminator = false) { return ProductToolRequestInputToJSON(value); }
|
|
@@ -18,6 +18,7 @@ exports.QueuedIntegrationJobFromJSON = QueuedIntegrationJobFromJSON;
|
|
|
18
18
|
exports.QueuedIntegrationJobFromJSONTyped = QueuedIntegrationJobFromJSONTyped;
|
|
19
19
|
exports.QueuedIntegrationJobToJSON = QueuedIntegrationJobToJSON;
|
|
20
20
|
exports.QueuedIntegrationJobToJSONTyped = QueuedIntegrationJobToJSONTyped;
|
|
21
|
+
const reaconAdditionalPropertyCollisions = Symbol('reacon.additionalPropertyCollisions');
|
|
21
22
|
const QueuedIntegrationJobStreamPosition_js_1 = require("./QueuedIntegrationJobStreamPosition.js");
|
|
22
23
|
/**
|
|
23
24
|
* Check if a given object implements the QueuedIntegrationJob interface.
|
|
@@ -87,7 +88,8 @@ function QueuedIntegrationJobFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
87
88
|
return json;
|
|
88
89
|
}
|
|
89
90
|
return {
|
|
90
|
-
...json,
|
|
91
|
+
...Object.fromEntries(Object.entries(json).filter(([key]) => !["attempt", "cancel_requested_at", "cancel_requested_by_user_id", "canonical_event_id", "connection_id", "counters", "created_at", "created_by_user_id", "error_code", "error_message_redacted", "finished_at", "id", "idempotency_key", "input_ref", "job_type", "lease_expires_at", "lease_owner", "max_attempts", "next_attempt_at", "result_ref", "started_at", "status", "stream_position", "subject_id", "subject_type", "team_id", "updated_at"].includes(key))),
|
|
92
|
+
...{ [reaconAdditionalPropertyCollisions]: Object.fromEntries(Object.entries(json).filter(([key]) => ["cancelRequestedAt", "cancelRequestedByUserId", "canonicalEventId", "connectionId", "createdAt", "createdByUserId", "errorCode", "errorMessageRedacted", "finishedAt", "idempotencyKey", "inputRef", "jobType", "leaseExpiresAt", "leaseOwner", "maxAttempts", "nextAttemptAt", "resultRef", "startedAt", "streamPosition", "subjectId", "subjectType", "teamId", "updatedAt"].includes(key))) },
|
|
91
93
|
'attempt': json['attempt'],
|
|
92
94
|
'cancelRequestedAt': json['cancel_requested_at'],
|
|
93
95
|
'cancelRequestedByUserId': json['cancel_requested_by_user_id'],
|
|
@@ -125,7 +127,8 @@ function QueuedIntegrationJobToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
125
127
|
return value;
|
|
126
128
|
}
|
|
127
129
|
return {
|
|
128
|
-
...value,
|
|
130
|
+
...Object.fromEntries(Object.entries(value).filter(([key]) => !["attempt", "cancelRequestedAt", "cancelRequestedByUserId", "canonicalEventId", "connectionId", "counters", "createdAt", "createdByUserId", "errorCode", "errorMessageRedacted", "finishedAt", "id", "idempotencyKey", "inputRef", "jobType", "leaseExpiresAt", "leaseOwner", "maxAttempts", "nextAttemptAt", "resultRef", "startedAt", "status", "streamPosition", "subjectId", "subjectType", "teamId", "updatedAt"].includes(key))),
|
|
131
|
+
...(value[reaconAdditionalPropertyCollisions] ?? {}),
|
|
129
132
|
'attempt': value['attempt'],
|
|
130
133
|
'cancel_requested_at': value['cancelRequestedAt'],
|
|
131
134
|
'cancel_requested_by_user_id': value['cancelRequestedByUserId'],
|
|
@@ -18,6 +18,7 @@ exports.UpdateLeadRequestCompanyFromJSON = UpdateLeadRequestCompanyFromJSON;
|
|
|
18
18
|
exports.UpdateLeadRequestCompanyFromJSONTyped = UpdateLeadRequestCompanyFromJSONTyped;
|
|
19
19
|
exports.UpdateLeadRequestCompanyToJSON = UpdateLeadRequestCompanyToJSON;
|
|
20
20
|
exports.UpdateLeadRequestCompanyToJSONTyped = UpdateLeadRequestCompanyToJSONTyped;
|
|
21
|
+
const reaconAdditionalPropertyCollisions = Symbol('reacon.additionalPropertyCollisions');
|
|
21
22
|
const CompanyListResultsInnerAddressesInner_js_1 = require("./CompanyListResultsInnerAddressesInner.js");
|
|
22
23
|
/**
|
|
23
24
|
* Check if a given object implements the UpdateLeadRequestCompany interface.
|
|
@@ -33,7 +34,8 @@ function UpdateLeadRequestCompanyFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
33
34
|
return json;
|
|
34
35
|
}
|
|
35
36
|
return {
|
|
36
|
-
...json,
|
|
37
|
+
...Object.fromEntries(Object.entries(json).filter(([key]) => !["addresses", "founded_on", "industry", "linkedin", "location", "name", "number_of_employees", "stock", "twitter", "type", "website"].includes(key))),
|
|
38
|
+
...{ [reaconAdditionalPropertyCollisions]: Object.fromEntries(Object.entries(json).filter(([key]) => ["foundedOn", "numberOfEmployees"].includes(key))) },
|
|
37
39
|
'addresses': json['addresses'] === undefined ? undefined : json['addresses'] === null ? null : (json['addresses'].map(CompanyListResultsInnerAddressesInner_js_1.CompanyListResultsInnerAddressesInnerFromJSON)),
|
|
38
40
|
'foundedOn': json['founded_on'] === undefined ? undefined : json['founded_on'] === null ? null : json['founded_on'],
|
|
39
41
|
'industry': json['industry'] === undefined ? undefined : json['industry'] === null ? null : json['industry'],
|
|
@@ -55,7 +57,8 @@ function UpdateLeadRequestCompanyToJSONTyped(value, ignoreDiscriminator = false)
|
|
|
55
57
|
return value;
|
|
56
58
|
}
|
|
57
59
|
return {
|
|
58
|
-
...value,
|
|
60
|
+
...Object.fromEntries(Object.entries(value).filter(([key]) => !["addresses", "foundedOn", "industry", "linkedin", "location", "name", "numberOfEmployees", "stock", "twitter", "type", "website"].includes(key))),
|
|
61
|
+
...(value[reaconAdditionalPropertyCollisions] ?? {}),
|
|
59
62
|
'addresses': value['addresses'] === undefined ? undefined : value['addresses'] === null ? null : (value['addresses'].map(CompanyListResultsInnerAddressesInner_js_1.CompanyListResultsInnerAddressesInnerToJSON)),
|
|
60
63
|
'founded_on': value['foundedOn'],
|
|
61
64
|
'industry': value['industry'],
|
|
@@ -18,6 +18,7 @@ exports.UpdateLeadRequestPersonFromJSON = UpdateLeadRequestPersonFromJSON;
|
|
|
18
18
|
exports.UpdateLeadRequestPersonFromJSONTyped = UpdateLeadRequestPersonFromJSONTyped;
|
|
19
19
|
exports.UpdateLeadRequestPersonToJSON = UpdateLeadRequestPersonToJSON;
|
|
20
20
|
exports.UpdateLeadRequestPersonToJSONTyped = UpdateLeadRequestPersonToJSONTyped;
|
|
21
|
+
const reaconAdditionalPropertyCollisions = Symbol('reacon.additionalPropertyCollisions');
|
|
21
22
|
/**
|
|
22
23
|
* Check if a given object implements the UpdateLeadRequestPerson interface.
|
|
23
24
|
*/
|
|
@@ -32,7 +33,8 @@ function UpdateLeadRequestPersonFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
32
33
|
return json;
|
|
33
34
|
}
|
|
34
35
|
return {
|
|
35
|
-
...json,
|
|
36
|
+
...Object.fromEntries(Object.entries(json).filter(([key]) => !["first_name", "last_name", "lead_location", "linkedin", "phone_number", "position", "twitter"].includes(key))),
|
|
37
|
+
...{ [reaconAdditionalPropertyCollisions]: Object.fromEntries(Object.entries(json).filter(([key]) => ["firstName", "lastName", "leadLocation", "phoneNumber"].includes(key))) },
|
|
36
38
|
'firstName': json['first_name'] === undefined ? undefined : json['first_name'] === null ? null : json['first_name'],
|
|
37
39
|
'lastName': json['last_name'] === undefined ? undefined : json['last_name'] === null ? null : json['last_name'],
|
|
38
40
|
'leadLocation': json['lead_location'] === undefined ? undefined : json['lead_location'] === null ? null : json['lead_location'],
|
|
@@ -50,7 +52,8 @@ function UpdateLeadRequestPersonToJSONTyped(value, ignoreDiscriminator = false)
|
|
|
50
52
|
return value;
|
|
51
53
|
}
|
|
52
54
|
return {
|
|
53
|
-
...value,
|
|
55
|
+
...Object.fromEntries(Object.entries(value).filter(([key]) => !["firstName", "lastName", "leadLocation", "linkedin", "phoneNumber", "position", "twitter"].includes(key))),
|
|
56
|
+
...(value[reaconAdditionalPropertyCollisions] ?? {}),
|
|
54
57
|
'first_name': value['firstName'],
|
|
55
58
|
'last_name': value['lastName'],
|
|
56
59
|
'lead_location': value['leadLocation'],
|
package/dist/models/index.d.ts
CHANGED
|
@@ -120,6 +120,7 @@ export * from './InspectExcelWorkbookRequest.js';
|
|
|
120
120
|
export * from './InspectGoogleSheetRequest.js';
|
|
121
121
|
export * from './IntegrationCapabilityResponse.js';
|
|
122
122
|
export * from './IntegrationCapabilityResponseOutput.js';
|
|
123
|
+
export * from './IntegrationCapabilityResponseOutputNonNull.js';
|
|
123
124
|
export * from './IntegrationConnection.js';
|
|
124
125
|
export * from './IntegrationConnectionHealth.js';
|
|
125
126
|
export * from './IntegrationConnectionList.js';
|
package/dist/models/index.js
CHANGED
|
@@ -138,6 +138,7 @@ __exportStar(require("./InspectExcelWorkbookRequest.js"), exports);
|
|
|
138
138
|
__exportStar(require("./InspectGoogleSheetRequest.js"), exports);
|
|
139
139
|
__exportStar(require("./IntegrationCapabilityResponse.js"), exports);
|
|
140
140
|
__exportStar(require("./IntegrationCapabilityResponseOutput.js"), exports);
|
|
141
|
+
__exportStar(require("./IntegrationCapabilityResponseOutputNonNull.js"), exports);
|
|
141
142
|
__exportStar(require("./IntegrationConnection.js"), exports);
|
|
142
143
|
__exportStar(require("./IntegrationConnectionHealth.js"), exports);
|
|
143
144
|
__exportStar(require("./IntegrationConnectionList.js"), exports);
|