@reacon-io/sdk 0.3.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.
@@ -1,133 +1,34 @@
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 { ProductSequenceRecipientsAddInputRecipientsInner } from './ProductSequenceRecipientsAddInputRecipientsInner.js';
13
- /**
14
- * Use the input model matching the tool path parameter. Equivalent input shapes appear once in this anyOf union; the tool catalog retains every named model.
15
- * @export
16
- * @interface ProductToolRequestInput
17
- */
18
- export interface ProductToolRequestInput {
19
- /**
20
- *
21
- */
22
- industry?: string;
23
- /**
24
- *
25
- */
26
- limit?: number;
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(json: any): ProductToolRequestInput;
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
- const ProductSequenceRecipientsAddInputRecipientsInner_js_1 = require("./ProductSequenceRecipientsAddInputRecipientsInner.js");
22
- /**
23
- * Check if a given object implements the ProductToolRequestInput interface.
24
- */
25
- function instanceOfProductToolRequestInput(value) {
26
- if (!('domain' in value) || value['domain'] === undefined)
27
- return false;
28
- if (!('company' in value) || value['company'] === undefined)
29
- return false;
30
- if (!('email' in value) || value['email'] === undefined)
31
- return false;
32
- if (!('listId' in value) || value['listId'] === undefined)
33
- return false;
34
- if (!('leadId' in value) || value['leadId'] === undefined)
35
- return false;
36
- if (!('idempotencyKey' in value) || value['idempotencyKey'] === undefined)
37
- return false;
38
- if (!('leadIds' in value) || value['leadIds'] === undefined)
39
- return false;
40
- if (!('name' in value) || value['name'] === undefined)
41
- return false;
42
- if (!('tagId' in value) || value['tagId'] === undefined)
43
- return false;
44
- if (!('key' in value) || value['key'] === undefined)
45
- return false;
46
- if (!('companyId' in value) || value['companyId'] === undefined)
47
- return false;
48
- if (!('sequenceId' in value) || value['sequenceId'] === undefined)
49
- return false;
50
- if (!('recipients' in value) || value['recipients'] === undefined)
51
- return false;
52
- if (!('recipientId' in value) || value['recipientId'] === undefined)
53
- return false;
54
- if (!('connectionId' in value) || value['connectionId'] === undefined)
55
- return false;
56
- return true;
57
- }
58
- function ProductToolRequestInputFromJSON(json) {
59
- return ProductToolRequestInputFromJSONTyped(json, false);
60
- }
61
- function ProductToolRequestInputFromJSONTyped(json, ignoreDiscriminator) {
62
- if (json == null) {
63
- return json;
64
- }
65
- return {
66
- 'industry': json['industry'] == null ? undefined : json['industry'],
67
- 'limit': json['limit'] == null ? undefined : json['limit'],
68
- 'location': json['location'] == null ? undefined : json['location'],
69
- 'query': json['query'] == null ? undefined : json['query'],
70
- 'domain': json['domain'],
71
- 'jobTitle': json['jobTitle'] == null ? undefined : json['jobTitle'],
72
- 'company': json['company'],
73
- 'email': json['email'],
74
- 'listId': json['listId'],
75
- 'offset': json['offset'] == null ? undefined : json['offset'],
76
- 'leadId': json['leadId'],
77
- 'attributes': json['attributes'] == null ? undefined : json['attributes'],
78
- 'firstName': json['firstName'] == null ? undefined : json['firstName'],
79
- 'idempotencyKey': json['idempotencyKey'],
80
- 'lastName': json['lastName'] == null ? undefined : json['lastName'],
81
- 'position': json['position'] == null ? undefined : json['position'],
82
- 'leadIds': json['leadIds'],
83
- 'name': json['name'],
84
- 'tagId': json['tagId'],
85
- 'key': json['key'],
86
- 'companyId': json['companyId'],
87
- 'employeeRange': json['employeeRange'] == null ? undefined : json['employeeRange'],
88
- 'sequenceId': json['sequenceId'],
89
- 'recipients': (json['recipients'].map(ProductSequenceRecipientsAddInputRecipientsInner_js_1.ProductSequenceRecipientsAddInputRecipientsInnerFromJSON)),
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 ProductToolRequestInputToJSON(json) {
95
- return ProductToolRequestInputToJSONTyped(json, false);
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); }
@@ -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';
@@ -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);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reacon-io/sdk",
3
- "version": "0.3.0-beta.1",
3
+ "version": "0.4.0-beta.1",
4
4
  "description": "Official Reacon API client for TypeScript and JavaScript",
5
5
  "author": "Reacon contributors",
6
6
  "repository": {