@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
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @reacon-io/sdk@0.
|
|
1
|
+
# @reacon-io/sdk@0.5.0-beta.1
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the api.reacon.io API.
|
|
4
4
|
|
|
@@ -411,6 +411,7 @@ All URIs are relative to *https://api.reacon.io*
|
|
|
411
411
|
- [InspectGoogleSheetRequest](docs/InspectGoogleSheetRequest.md)
|
|
412
412
|
- [IntegrationCapabilityResponse](docs/IntegrationCapabilityResponse.md)
|
|
413
413
|
- [IntegrationCapabilityResponseOutput](docs/IntegrationCapabilityResponseOutput.md)
|
|
414
|
+
- [IntegrationCapabilityResponseOutputNonNull](docs/IntegrationCapabilityResponseOutputNonNull.md)
|
|
414
415
|
- [IntegrationConnection](docs/IntegrationConnection.md)
|
|
415
416
|
- [IntegrationConnectionHealth](docs/IntegrationConnectionHealth.md)
|
|
416
417
|
- [IntegrationConnectionList](docs/IntegrationConnectionList.md)
|
|
@@ -930,7 +931,7 @@ and is automatically generated by the
|
|
|
930
931
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
931
932
|
|
|
932
933
|
- API version: `0.1.0`
|
|
933
|
-
- Package version: `0.
|
|
934
|
+
- Package version: `0.5.0-beta.1`
|
|
934
935
|
- Generator version: `7.25.0`
|
|
935
936
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
936
937
|
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
+
const reaconAdditionalPropertyCollisions = Symbol('reacon.additionalPropertyCollisions');
|
|
14
15
|
import { CrmSyncConfigurationFromJSON, CrmSyncConfigurationToJSON, } from './CrmSyncConfiguration.js';
|
|
15
16
|
import { IntegrationConnectionFromJSON, IntegrationConnectionToJSON, } from './IntegrationConnection.js';
|
|
16
17
|
/**
|
|
@@ -31,7 +32,8 @@ export function CrmSyncConfigurationResponseFromJSONTyped(json, ignoreDiscrimina
|
|
|
31
32
|
return json;
|
|
32
33
|
}
|
|
33
34
|
return {
|
|
34
|
-
...json,
|
|
35
|
+
...Object.fromEntries(Object.entries(json).filter(([key]) => !["configuration", "connection"].includes(key))),
|
|
36
|
+
...{ [reaconAdditionalPropertyCollisions]: Object.fromEntries(Object.entries(json).filter(([key]) => ["_configuration"].includes(key))) },
|
|
35
37
|
'_configuration': CrmSyncConfigurationFromJSON(json['configuration']),
|
|
36
38
|
'connection': IntegrationConnectionFromJSON(json['connection']),
|
|
37
39
|
};
|
|
@@ -44,7 +46,8 @@ export function CrmSyncConfigurationResponseToJSONTyped(value, ignoreDiscriminat
|
|
|
44
46
|
return value;
|
|
45
47
|
}
|
|
46
48
|
return {
|
|
47
|
-
...value,
|
|
49
|
+
...Object.fromEntries(Object.entries(value).filter(([key]) => !["_configuration", "connection"].includes(key))),
|
|
50
|
+
...(value[reaconAdditionalPropertyCollisions] ?? {}),
|
|
48
51
|
'configuration': CrmSyncConfigurationToJSON(value['_configuration']),
|
|
49
52
|
'connection': IntegrationConnectionToJSON(value['connection']),
|
|
50
53
|
};
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
+
const reaconAdditionalPropertyCollisions = Symbol('reacon.additionalPropertyCollisions');
|
|
14
15
|
/**
|
|
15
16
|
* Check if a given object implements the EmailMention interface.
|
|
16
17
|
*/
|
|
@@ -37,7 +38,8 @@ export function EmailMentionFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
37
38
|
return json;
|
|
38
39
|
}
|
|
39
40
|
return {
|
|
40
|
-
...json,
|
|
41
|
+
...Object.fromEntries(Object.entries(json).filter(([key]) => !["domain", "email", "first_seen", "last_seen", "source_type", "source_url"].includes(key))),
|
|
42
|
+
...{ [reaconAdditionalPropertyCollisions]: Object.fromEntries(Object.entries(json).filter(([key]) => ["firstSeen", "lastSeen", "sourceType", "sourceUrl"].includes(key))) },
|
|
41
43
|
'domain': json['domain'],
|
|
42
44
|
'email': json['email'],
|
|
43
45
|
'firstSeen': json['first_seen'],
|
|
@@ -54,7 +56,8 @@ export function EmailMentionToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
54
56
|
return value;
|
|
55
57
|
}
|
|
56
58
|
return {
|
|
57
|
-
...value,
|
|
59
|
+
...Object.fromEntries(Object.entries(value).filter(([key]) => !["domain", "email", "firstSeen", "lastSeen", "sourceType", "sourceUrl"].includes(key))),
|
|
60
|
+
...(value[reaconAdditionalPropertyCollisions] ?? {}),
|
|
58
61
|
'domain': value['domain'],
|
|
59
62
|
'email': value['email'],
|
|
60
63
|
'first_seen': value['firstSeen'],
|
|
@@ -9,16 +9,64 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type {
|
|
13
|
-
import type {
|
|
14
|
-
import type { CapabilityEmailVerified } from './CapabilityEmailVerified.js';
|
|
12
|
+
import type { CapabilityDomainSearchContactsInner } from './CapabilityDomainSearchContactsInner.js';
|
|
13
|
+
import type { CapabilityEmailVerifiedDetails } from './CapabilityEmailVerifiedDetails.js';
|
|
15
14
|
/**
|
|
16
|
-
* @type IntegrationCapabilityResponseOutput
|
|
17
15
|
* Null in preview mode; otherwise the result for the selected capability.
|
|
18
16
|
* @export
|
|
17
|
+
* @interface IntegrationCapabilityResponseOutput
|
|
19
18
|
*/
|
|
20
|
-
export
|
|
19
|
+
export interface IntegrationCapabilityResponseOutput {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
confidence: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
email: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
*/
|
|
31
|
+
freshness: string;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
*/
|
|
35
|
+
status: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
*/
|
|
39
|
+
checkedAt: string;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
*/
|
|
43
|
+
details: CapabilityEmailVerifiedDetails;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
*/
|
|
47
|
+
score: number;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
*/
|
|
51
|
+
sources: number;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
*/
|
|
55
|
+
contacts: Array<CapabilityDomainSearchContactsInner>;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
*/
|
|
59
|
+
domain: string;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
*/
|
|
63
|
+
organization?: string;
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Check if a given object implements the IntegrationCapabilityResponseOutput interface.
|
|
67
|
+
*/
|
|
68
|
+
export declare function instanceOfIntegrationCapabilityResponseOutput(value: object): value is IntegrationCapabilityResponseOutput;
|
|
21
69
|
export declare function IntegrationCapabilityResponseOutputFromJSON(json: any): IntegrationCapabilityResponseOutput;
|
|
22
70
|
export declare function IntegrationCapabilityResponseOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntegrationCapabilityResponseOutput;
|
|
23
|
-
export declare function IntegrationCapabilityResponseOutputToJSON(json: any):
|
|
71
|
+
export declare function IntegrationCapabilityResponseOutputToJSON(json: any): IntegrationCapabilityResponseOutput;
|
|
24
72
|
export declare function IntegrationCapabilityResponseOutputToJSONTyped(value?: IntegrationCapabilityResponseOutput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -11,9 +11,34 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
|
|
14
|
+
import { CapabilityDomainSearchContactsInnerFromJSON, CapabilityDomainSearchContactsInnerToJSON, } from './CapabilityDomainSearchContactsInner.js';
|
|
15
|
+
import { CapabilityEmailVerifiedDetailsFromJSON, CapabilityEmailVerifiedDetailsToJSON, } from './CapabilityEmailVerifiedDetails.js';
|
|
16
|
+
/**
|
|
17
|
+
* Check if a given object implements the IntegrationCapabilityResponseOutput interface.
|
|
18
|
+
*/
|
|
19
|
+
export function instanceOfIntegrationCapabilityResponseOutput(value) {
|
|
20
|
+
if (!('confidence' in value) || value['confidence'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('email' in value) || value['email'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('freshness' in value) || value['freshness'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('checkedAt' in value) || value['checkedAt'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('details' in value) || value['details'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('score' in value) || value['score'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('sources' in value) || value['sources'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('contacts' in value) || value['contacts'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('domain' in value) || value['domain'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
return true;
|
|
41
|
+
}
|
|
17
42
|
export function IntegrationCapabilityResponseOutputFromJSON(json) {
|
|
18
43
|
return IntegrationCapabilityResponseOutputFromJSONTyped(json, false);
|
|
19
44
|
}
|
|
@@ -21,19 +46,19 @@ export function IntegrationCapabilityResponseOutputFromJSONTyped(json, ignoreDis
|
|
|
21
46
|
if (json == null) {
|
|
22
47
|
return json;
|
|
23
48
|
}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
49
|
+
return {
|
|
50
|
+
'confidence': json['confidence'],
|
|
51
|
+
'email': json['email'],
|
|
52
|
+
'freshness': json['freshness'],
|
|
53
|
+
'status': json['status'],
|
|
54
|
+
'checkedAt': json['checkedAt'],
|
|
55
|
+
'details': CapabilityEmailVerifiedDetailsFromJSON(json['details']),
|
|
56
|
+
'score': json['score'],
|
|
57
|
+
'sources': json['sources'],
|
|
58
|
+
'contacts': (json['contacts'].map(CapabilityDomainSearchContactsInnerFromJSON)),
|
|
59
|
+
'domain': json['domain'],
|
|
60
|
+
'organization': json['organization'] == null ? undefined : json['organization'],
|
|
61
|
+
};
|
|
37
62
|
}
|
|
38
63
|
export function IntegrationCapabilityResponseOutputToJSON(json) {
|
|
39
64
|
return IntegrationCapabilityResponseOutputToJSONTyped(json, false);
|
|
@@ -42,17 +67,17 @@ export function IntegrationCapabilityResponseOutputToJSONTyped(value, ignoreDisc
|
|
|
42
67
|
if (value == null) {
|
|
43
68
|
return value;
|
|
44
69
|
}
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
70
|
+
return {
|
|
71
|
+
'confidence': value['confidence'],
|
|
72
|
+
'email': value['email'],
|
|
73
|
+
'freshness': value['freshness'],
|
|
74
|
+
'status': value['status'],
|
|
75
|
+
'checkedAt': value['checkedAt'],
|
|
76
|
+
'details': CapabilityEmailVerifiedDetailsToJSON(value['details']),
|
|
77
|
+
'score': value['score'],
|
|
78
|
+
'sources': value['sources'],
|
|
79
|
+
'contacts': (value['contacts'].map(CapabilityDomainSearchContactsInnerToJSON)),
|
|
80
|
+
'domain': value['domain'],
|
|
81
|
+
'organization': value['organization'],
|
|
82
|
+
};
|
|
58
83
|
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Reacon API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1.0
|
|
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 { CapabilityDomainSearch } from './CapabilityDomainSearch.js';
|
|
13
|
+
import type { CapabilityEmailFound } from './CapabilityEmailFound.js';
|
|
14
|
+
import type { CapabilityEmailVerified } from './CapabilityEmailVerified.js';
|
|
15
|
+
/**
|
|
16
|
+
* @type IntegrationCapabilityResponseOutputNonNull
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
*/
|
|
20
|
+
export type IntegrationCapabilityResponseOutputNonNull = CapabilityDomainSearch | CapabilityEmailFound | CapabilityEmailVerified;
|
|
21
|
+
export declare function IntegrationCapabilityResponseOutputNonNullFromJSON(json: any): IntegrationCapabilityResponseOutputNonNull;
|
|
22
|
+
export declare function IntegrationCapabilityResponseOutputNonNullFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntegrationCapabilityResponseOutputNonNull;
|
|
23
|
+
export declare function IntegrationCapabilityResponseOutputNonNullToJSON(json: any): any;
|
|
24
|
+
export declare function IntegrationCapabilityResponseOutputNonNullToJSONTyped(value?: IntegrationCapabilityResponseOutputNonNull | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Reacon API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.1.0
|
|
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
|
+
import { instanceOfCapabilityDomainSearch, CapabilityDomainSearchFromJSONTyped, CapabilityDomainSearchToJSON, } from './CapabilityDomainSearch.js';
|
|
15
|
+
import { instanceOfCapabilityEmailFound, CapabilityEmailFoundFromJSONTyped, CapabilityEmailFoundToJSON, } from './CapabilityEmailFound.js';
|
|
16
|
+
import { instanceOfCapabilityEmailVerified, CapabilityEmailVerifiedFromJSONTyped, CapabilityEmailVerifiedToJSON, } from './CapabilityEmailVerified.js';
|
|
17
|
+
export function IntegrationCapabilityResponseOutputNonNullFromJSON(json) {
|
|
18
|
+
return IntegrationCapabilityResponseOutputNonNullFromJSONTyped(json, false);
|
|
19
|
+
}
|
|
20
|
+
export function IntegrationCapabilityResponseOutputNonNullFromJSONTyped(json, ignoreDiscriminator) {
|
|
21
|
+
if (json == null) {
|
|
22
|
+
return json;
|
|
23
|
+
}
|
|
24
|
+
if (typeof json !== 'object') {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
if (instanceOfCapabilityDomainSearch(json)) {
|
|
28
|
+
return CapabilityDomainSearchFromJSONTyped(json, true);
|
|
29
|
+
}
|
|
30
|
+
if (instanceOfCapabilityEmailFound(json)) {
|
|
31
|
+
return CapabilityEmailFoundFromJSONTyped(json, true);
|
|
32
|
+
}
|
|
33
|
+
if (instanceOfCapabilityEmailVerified(json)) {
|
|
34
|
+
return CapabilityEmailVerifiedFromJSONTyped(json, true);
|
|
35
|
+
}
|
|
36
|
+
return {};
|
|
37
|
+
}
|
|
38
|
+
export function IntegrationCapabilityResponseOutputNonNullToJSON(json) {
|
|
39
|
+
return IntegrationCapabilityResponseOutputNonNullToJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
export function IntegrationCapabilityResponseOutputNonNullToJSONTyped(value, ignoreDiscriminator = false) {
|
|
42
|
+
if (value == null) {
|
|
43
|
+
return value;
|
|
44
|
+
}
|
|
45
|
+
if (typeof value !== 'object') {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
if (instanceOfCapabilityDomainSearch(value)) {
|
|
49
|
+
return CapabilityDomainSearchToJSON(value);
|
|
50
|
+
}
|
|
51
|
+
if (instanceOfCapabilityEmailFound(value)) {
|
|
52
|
+
return CapabilityEmailFoundToJSON(value);
|
|
53
|
+
}
|
|
54
|
+
if (instanceOfCapabilityEmailVerified(value)) {
|
|
55
|
+
return CapabilityEmailVerifiedToJSON(value);
|
|
56
|
+
}
|
|
57
|
+
return {};
|
|
58
|
+
}
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
+
const reaconAdditionalPropertyCollisions = Symbol('reacon.additionalPropertyCollisions');
|
|
14
15
|
import { IntegrationConnectionHealthFromJSON, IntegrationConnectionHealthToJSON, } from './IntegrationConnectionHealth.js';
|
|
15
16
|
/**
|
|
16
17
|
* Check if a given object implements the IntegrationConnection interface.
|
|
@@ -52,7 +53,8 @@ export function IntegrationConnectionFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
52
53
|
return json;
|
|
53
54
|
}
|
|
54
55
|
return {
|
|
55
|
-
...json,
|
|
56
|
+
...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))),
|
|
57
|
+
...{ [reaconAdditionalPropertyCollisions]: Object.fromEntries(Object.entries(json).filter(([key]) => ["createdAt", "providerAccountId", "providerBaseUrl", "teamId", "updatedAt"].includes(key))) },
|
|
56
58
|
'capabilities': json['capabilities'],
|
|
57
59
|
'config': json['config'],
|
|
58
60
|
'createdAt': json['created_at'],
|
|
@@ -76,7 +78,8 @@ export function IntegrationConnectionToJSONTyped(value, ignoreDiscriminator = fa
|
|
|
76
78
|
return value;
|
|
77
79
|
}
|
|
78
80
|
return {
|
|
79
|
-
...value,
|
|
81
|
+
...Object.fromEntries(Object.entries(value).filter(([key]) => !["capabilities", "config", "createdAt", "health", "id", "label", "mode", "provider", "providerAccountId", "providerBaseUrl", "status", "teamId", "updatedAt"].includes(key))),
|
|
82
|
+
...(value[reaconAdditionalPropertyCollisions] ?? {}),
|
|
80
83
|
'capabilities': value['capabilities'],
|
|
81
84
|
'config': value['config'],
|
|
82
85
|
'created_at': value['createdAt'],
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
+
const reaconAdditionalPropertyCollisions = Symbol('reacon.additionalPropertyCollisions');
|
|
14
15
|
/**
|
|
15
16
|
* Check if a given object implements the IntegrationConnectionHealth interface.
|
|
16
17
|
*/
|
|
@@ -35,7 +36,8 @@ export function IntegrationConnectionHealthFromJSONTyped(json, ignoreDiscriminat
|
|
|
35
36
|
return json;
|
|
36
37
|
}
|
|
37
38
|
return {
|
|
38
|
-
...json,
|
|
39
|
+
...Object.fromEntries(Object.entries(json).filter(([key]) => !["checked_at", "code", "last_error_code", "last_error_message", "state"].includes(key))),
|
|
40
|
+
...{ [reaconAdditionalPropertyCollisions]: Object.fromEntries(Object.entries(json).filter(([key]) => ["checkedAt", "lastErrorCode", "lastErrorMessage"].includes(key))) },
|
|
39
41
|
'checkedAt': json['checked_at'],
|
|
40
42
|
'code': json['code'],
|
|
41
43
|
'lastErrorCode': json['last_error_code'],
|
|
@@ -51,7 +53,8 @@ export function IntegrationConnectionHealthToJSONTyped(value, ignoreDiscriminato
|
|
|
51
53
|
return value;
|
|
52
54
|
}
|
|
53
55
|
return {
|
|
54
|
-
...value,
|
|
56
|
+
...Object.fromEntries(Object.entries(value).filter(([key]) => !["checkedAt", "code", "lastErrorCode", "lastErrorMessage", "state"].includes(key))),
|
|
57
|
+
...(value[reaconAdditionalPropertyCollisions] ?? {}),
|
|
55
58
|
'checked_at': value['checkedAt'],
|
|
56
59
|
'code': value['code'],
|
|
57
60
|
'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;
|