@reacon-io/sdk 0.2.0-beta.1 → 0.4.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 -3
- 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/MailPostAnalyticsExportResponse200.d.ts +1 -1
- package/dist/esm/models/ProductToolRequestInput.d.ts +30 -129
- package/dist/esm/models/ProductToolRequestInput.js +80 -120
- package/dist/esm/models/index.d.ts +1 -1
- package/dist/esm/models/index.js +1 -1
- 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/MailPostAnalyticsExportResponse200.d.ts +1 -1
- package/dist/models/ProductToolRequestInput.d.ts +30 -129
- package/dist/models/ProductToolRequestInput.js +80 -120
- package/dist/models/index.d.ts +1 -1
- package/dist/models/index.js +1 -1
- package/package.json +1 -1
- package/dist/esm/models/MailPostAnalyticsExportResponse200NextCursorAnyOf.d.ts +0 -34
- package/dist/esm/models/MailPostAnalyticsExportResponse200NextCursorAnyOf.js +0 -47
- package/dist/models/MailPostAnalyticsExportResponse200NextCursorAnyOf.d.ts +0 -34
- package/dist/models/MailPostAnalyticsExportResponse200NextCursorAnyOf.js +0 -54
|
@@ -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); }
|
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';
|
|
@@ -283,7 +284,6 @@ export * from './MailPostAnalyticsExportRequest.js';
|
|
|
283
284
|
export * from './MailPostAnalyticsExportRequestAfter.js';
|
|
284
285
|
export * from './MailPostAnalyticsExportResponse200.js';
|
|
285
286
|
export * from './MailPostAnalyticsExportResponse200NextCursor.js';
|
|
286
|
-
export * from './MailPostAnalyticsExportResponse200NextCursorAnyOf.js';
|
|
287
287
|
export * from './MailPostCadenceCampaignsByCampaignIdStateRequest.js';
|
|
288
288
|
export * from './MailPostCadenceCampaignsByCampaignIdStateResponse200.js';
|
|
289
289
|
export * from './MailPostCadenceCampaignsByCampaignIdStateResponse200AnyOf.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);
|
|
@@ -301,7 +302,6 @@ __exportStar(require("./MailPostAnalyticsExportRequest.js"), exports);
|
|
|
301
302
|
__exportStar(require("./MailPostAnalyticsExportRequestAfter.js"), exports);
|
|
302
303
|
__exportStar(require("./MailPostAnalyticsExportResponse200.js"), exports);
|
|
303
304
|
__exportStar(require("./MailPostAnalyticsExportResponse200NextCursor.js"), exports);
|
|
304
|
-
__exportStar(require("./MailPostAnalyticsExportResponse200NextCursorAnyOf.js"), exports);
|
|
305
305
|
__exportStar(require("./MailPostCadenceCampaignsByCampaignIdStateRequest.js"), exports);
|
|
306
306
|
__exportStar(require("./MailPostCadenceCampaignsByCampaignIdStateResponse200.js"), exports);
|
|
307
307
|
__exportStar(require("./MailPostCadenceCampaignsByCampaignIdStateResponse200AnyOf.js"), exports);
|
package/package.json
CHANGED
|
@@ -1,34 +0,0 @@
|
|
|
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
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface MailPostAnalyticsExportResponse200NextCursorAnyOf
|
|
16
|
-
*/
|
|
17
|
-
export interface MailPostAnalyticsExportResponse200NextCursorAnyOf {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
*/
|
|
21
|
-
createdAt: string;
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
|
-
id: string;
|
|
26
|
-
}
|
|
27
|
-
/**
|
|
28
|
-
* Check if a given object implements the MailPostAnalyticsExportResponse200NextCursorAnyOf interface.
|
|
29
|
-
*/
|
|
30
|
-
export declare function instanceOfMailPostAnalyticsExportResponse200NextCursorAnyOf(value: object): value is MailPostAnalyticsExportResponse200NextCursorAnyOf;
|
|
31
|
-
export declare function MailPostAnalyticsExportResponse200NextCursorAnyOfFromJSON(json: any): MailPostAnalyticsExportResponse200NextCursorAnyOf;
|
|
32
|
-
export declare function MailPostAnalyticsExportResponse200NextCursorAnyOfFromJSONTyped(json: any, ignoreDiscriminator: boolean): MailPostAnalyticsExportResponse200NextCursorAnyOf;
|
|
33
|
-
export declare function MailPostAnalyticsExportResponse200NextCursorAnyOfToJSON(json: any): MailPostAnalyticsExportResponse200NextCursorAnyOf;
|
|
34
|
-
export declare function MailPostAnalyticsExportResponse200NextCursorAnyOfToJSONTyped(value?: MailPostAnalyticsExportResponse200NextCursorAnyOf | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,47 +0,0 @@
|
|
|
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
|
-
/**
|
|
15
|
-
* Check if a given object implements the MailPostAnalyticsExportResponse200NextCursorAnyOf interface.
|
|
16
|
-
*/
|
|
17
|
-
export function instanceOfMailPostAnalyticsExportResponse200NextCursorAnyOf(value) {
|
|
18
|
-
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
19
|
-
return false;
|
|
20
|
-
if (!('id' in value) || value['id'] === undefined)
|
|
21
|
-
return false;
|
|
22
|
-
return true;
|
|
23
|
-
}
|
|
24
|
-
export function MailPostAnalyticsExportResponse200NextCursorAnyOfFromJSON(json) {
|
|
25
|
-
return MailPostAnalyticsExportResponse200NextCursorAnyOfFromJSONTyped(json, false);
|
|
26
|
-
}
|
|
27
|
-
export function MailPostAnalyticsExportResponse200NextCursorAnyOfFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
-
if (json == null) {
|
|
29
|
-
return json;
|
|
30
|
-
}
|
|
31
|
-
return {
|
|
32
|
-
'createdAt': json['createdAt'],
|
|
33
|
-
'id': json['id'],
|
|
34
|
-
};
|
|
35
|
-
}
|
|
36
|
-
export function MailPostAnalyticsExportResponse200NextCursorAnyOfToJSON(json) {
|
|
37
|
-
return MailPostAnalyticsExportResponse200NextCursorAnyOfToJSONTyped(json, false);
|
|
38
|
-
}
|
|
39
|
-
export function MailPostAnalyticsExportResponse200NextCursorAnyOfToJSONTyped(value, ignoreDiscriminator = false) {
|
|
40
|
-
if (value == null) {
|
|
41
|
-
return value;
|
|
42
|
-
}
|
|
43
|
-
return {
|
|
44
|
-
'createdAt': value['createdAt'],
|
|
45
|
-
'id': value['id'],
|
|
46
|
-
};
|
|
47
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
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
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface MailPostAnalyticsExportResponse200NextCursorAnyOf
|
|
16
|
-
*/
|
|
17
|
-
export interface MailPostAnalyticsExportResponse200NextCursorAnyOf {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
*/
|
|
21
|
-
createdAt: string;
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
|
-
id: string;
|
|
26
|
-
}
|
|
27
|
-
/**
|
|
28
|
-
* Check if a given object implements the MailPostAnalyticsExportResponse200NextCursorAnyOf interface.
|
|
29
|
-
*/
|
|
30
|
-
export declare function instanceOfMailPostAnalyticsExportResponse200NextCursorAnyOf(value: object): value is MailPostAnalyticsExportResponse200NextCursorAnyOf;
|
|
31
|
-
export declare function MailPostAnalyticsExportResponse200NextCursorAnyOfFromJSON(json: any): MailPostAnalyticsExportResponse200NextCursorAnyOf;
|
|
32
|
-
export declare function MailPostAnalyticsExportResponse200NextCursorAnyOfFromJSONTyped(json: any, ignoreDiscriminator: boolean): MailPostAnalyticsExportResponse200NextCursorAnyOf;
|
|
33
|
-
export declare function MailPostAnalyticsExportResponse200NextCursorAnyOfToJSON(json: any): MailPostAnalyticsExportResponse200NextCursorAnyOf;
|
|
34
|
-
export declare function MailPostAnalyticsExportResponse200NextCursorAnyOfToJSONTyped(value?: MailPostAnalyticsExportResponse200NextCursorAnyOf | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,54 +0,0 @@
|
|
|
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.instanceOfMailPostAnalyticsExportResponse200NextCursorAnyOf = instanceOfMailPostAnalyticsExportResponse200NextCursorAnyOf;
|
|
17
|
-
exports.MailPostAnalyticsExportResponse200NextCursorAnyOfFromJSON = MailPostAnalyticsExportResponse200NextCursorAnyOfFromJSON;
|
|
18
|
-
exports.MailPostAnalyticsExportResponse200NextCursorAnyOfFromJSONTyped = MailPostAnalyticsExportResponse200NextCursorAnyOfFromJSONTyped;
|
|
19
|
-
exports.MailPostAnalyticsExportResponse200NextCursorAnyOfToJSON = MailPostAnalyticsExportResponse200NextCursorAnyOfToJSON;
|
|
20
|
-
exports.MailPostAnalyticsExportResponse200NextCursorAnyOfToJSONTyped = MailPostAnalyticsExportResponse200NextCursorAnyOfToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the MailPostAnalyticsExportResponse200NextCursorAnyOf interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfMailPostAnalyticsExportResponse200NextCursorAnyOf(value) {
|
|
25
|
-
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
if (!('id' in value) || value['id'] === undefined)
|
|
28
|
-
return false;
|
|
29
|
-
return true;
|
|
30
|
-
}
|
|
31
|
-
function MailPostAnalyticsExportResponse200NextCursorAnyOfFromJSON(json) {
|
|
32
|
-
return MailPostAnalyticsExportResponse200NextCursorAnyOfFromJSONTyped(json, false);
|
|
33
|
-
}
|
|
34
|
-
function MailPostAnalyticsExportResponse200NextCursorAnyOfFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
-
if (json == null) {
|
|
36
|
-
return json;
|
|
37
|
-
}
|
|
38
|
-
return {
|
|
39
|
-
'createdAt': json['createdAt'],
|
|
40
|
-
'id': json['id'],
|
|
41
|
-
};
|
|
42
|
-
}
|
|
43
|
-
function MailPostAnalyticsExportResponse200NextCursorAnyOfToJSON(json) {
|
|
44
|
-
return MailPostAnalyticsExportResponse200NextCursorAnyOfToJSONTyped(json, false);
|
|
45
|
-
}
|
|
46
|
-
function MailPostAnalyticsExportResponse200NextCursorAnyOfToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
-
if (value == null) {
|
|
48
|
-
return value;
|
|
49
|
-
}
|
|
50
|
-
return {
|
|
51
|
-
'createdAt': value['createdAt'],
|
|
52
|
-
'id': value['id'],
|
|
53
|
-
};
|
|
54
|
-
}
|