@relentless-identity/sdk 1.0.0

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 ADDED
@@ -0,0 +1,163 @@
1
+ # @relentlessidentity/sdk@1.0.0
2
+
3
+ A TypeScript SDK client for the api.relentlessidentity.com API.
4
+
5
+ ## Usage
6
+
7
+ First, install the SDK from npm.
8
+
9
+ ```bash
10
+ npm install @relentlessidentity/sdk --save
11
+ ```
12
+
13
+ Next, try it out.
14
+
15
+
16
+ ```ts
17
+ import {
18
+ Configuration,
19
+ AccountApi,
20
+ } from '@relentlessidentity/sdk';
21
+ import type { GetRequestHistoryRequest } from '@relentlessidentity/sdk';
22
+
23
+ async function example() {
24
+ console.log("🚀 Testing @relentlessidentity/sdk SDK...");
25
+ const config = new Configuration({
26
+ // Configure HTTP bearer authorization: bearerAuth
27
+ accessToken: "YOUR BEARER TOKEN",
28
+ });
29
+ const api = new AccountApi(config);
30
+
31
+ const body = {
32
+ // number | Page number starting at 1. (optional)
33
+ page: 56,
34
+ // number | Number of history rows per page. Maximum 25. (optional)
35
+ pageSize: 56,
36
+ // 'finder' | 'probe' | Optional request-type filter. (optional)
37
+ requestType: requestType_example,
38
+ // 'deliverable' | 'undeliverable' | Optional deliverability-state filter. (optional)
39
+ state: state_example,
40
+ } satisfies GetRequestHistoryRequest;
41
+
42
+ try {
43
+ const data = await api.getRequestHistory(body);
44
+ console.log(data);
45
+ } catch (error) {
46
+ console.error(error);
47
+ }
48
+ }
49
+
50
+ // Run the test
51
+ example().catch(console.error);
52
+ ```
53
+
54
+
55
+ ## Documentation
56
+
57
+ ### API Endpoints
58
+
59
+ All URIs are relative to *https://api.relentlessidentity.com*
60
+
61
+ | Class | Method | HTTP request | Description
62
+ | ----- | ------ | ------------ | -------------
63
+ *AccountApi* | [**getRequestHistory**](docs/AccountApi.md#getrequesthistory) | **GET** /client/history | Get paginated request history
64
+ *AccountApi* | [**getTokenStatus**](docs/AccountApi.md#gettokenstatus) | **GET** /client/token | Inspect the current bearer token
65
+ *AccountApi* | [**getUsage**](docs/AccountApi.md#getusage) | **GET** /client/usage | Get current usage and limits
66
+ *FinderApi* | [**finderAttempt**](docs/FinderApi.md#finderattempt) | **POST** /client/attempt | Find a work email
67
+ *JobsApi* | [**getJob**](docs/JobsApi.md#getjob) | **GET** /client/jobs/{job_id} | Get background job
68
+ *JobsApi* | [**getJobInputsText**](docs/JobsApi.md#getjobinputstext) | **GET** /client/jobs/{job_id}/inputs.txt | Download job inputs
69
+ *JobsApi* | [**getJobResultsJson**](docs/JobsApi.md#getjobresultsjson) | **GET** /client/jobs/{job_id}/results.json | Download job results as JSON
70
+ *JobsApi* | [**getJobResultsText**](docs/JobsApi.md#getjobresultstext) | **GET** /client/jobs/{job_id}/results.txt | Download job results as text
71
+ *JobsApi* | [**listJobs**](docs/JobsApi.md#listjobs) | **GET** /client/jobs | List background jobs
72
+ *JobsApi* | [**scheduleFinderBatch**](docs/JobsApi.md#schedulefinderbatch) | **POST** /client/jobs/finder | Schedule a finder batch
73
+ *JobsApi* | [**scheduleProbeBatch**](docs/JobsApi.md#scheduleprobebatch) | **POST** /client/jobs/probe-batch | Schedule a probe batch
74
+ *ProbeApi* | [**probeBatch**](docs/ProbeApi.md#probebatchoperation) | **POST** /client/probe/batch | Verify many email addresses
75
+ *ProbeApi* | [**probeEmail**](docs/ProbeApi.md#probeemail) | **POST** /client/probe | Verify an email address
76
+
77
+
78
+ ### Models
79
+
80
+ - [AliasInfo](docs/AliasInfo.md)
81
+ - [BatchSummary](docs/BatchSummary.md)
82
+ - [ClientBackgroundJobDetailResponse](docs/ClientBackgroundJobDetailResponse.md)
83
+ - [ClientBackgroundJobItemResponse](docs/ClientBackgroundJobItemResponse.md)
84
+ - [ClientBackgroundJobPageResponse](docs/ClientBackgroundJobPageResponse.md)
85
+ - [ClientBackgroundJobResponse](docs/ClientBackgroundJobResponse.md)
86
+ - [ClientBatchIdentityResponse](docs/ClientBatchIdentityResponse.md)
87
+ - [ClientFinderResponse](docs/ClientFinderResponse.md)
88
+ - [ClientFinderResponseAlias](docs/ClientFinderResponseAlias.md)
89
+ - [ClientIdentityResponse](docs/ClientIdentityResponse.md)
90
+ - [ClientRequestHistoryItem](docs/ClientRequestHistoryItem.md)
91
+ - [ClientRequestHistoryPageResponse](docs/ClientRequestHistoryPageResponse.md)
92
+ - [ClientTokenStatusResponse](docs/ClientTokenStatusResponse.md)
93
+ - [ClientUsageResponse](docs/ClientUsageResponse.md)
94
+ - [ErrorResponse](docs/ErrorResponse.md)
95
+ - [FinderBatchJobRequest](docs/FinderBatchJobRequest.md)
96
+ - [FinderBatchJobRequestInputsInner](docs/FinderBatchJobRequestInputsInner.md)
97
+ - [FinderRequest](docs/FinderRequest.md)
98
+ - [HTTPValidationError](docs/HTTPValidationError.md)
99
+ - [IdentityProvider](docs/IdentityProvider.md)
100
+ - [LocationInner](docs/LocationInner.md)
101
+ - [ProbeBatchJobBackgroundRequest](docs/ProbeBatchJobBackgroundRequest.md)
102
+ - [ProbeBatchRequest](docs/ProbeBatchRequest.md)
103
+ - [ProbeRequest](docs/ProbeRequest.md)
104
+ - [ValidationError](docs/ValidationError.md)
105
+
106
+ ### Authorization
107
+
108
+
109
+ Authentication schemes defined for the API:
110
+ <a id="bearerAuth"></a>
111
+ #### bearerAuth
112
+
113
+
114
+ - **Type**: HTTP Bearer Token authentication (PAT)
115
+
116
+ ## About
117
+
118
+ This TypeScript SDK client supports the [Fetch API](https://fetch.spec.whatwg.org/)
119
+ and is automatically generated by the
120
+ [OpenAPI Generator](https://openapi-generator.tech) project:
121
+
122
+ - API version: `1.0.0`
123
+ - Package version: `1.0.0`
124
+ - Generator version: `7.21.0`
125
+ - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
126
+
127
+ The generated npm module supports the following:
128
+
129
+ - Environments
130
+ * Node.js
131
+ * Webpack
132
+ * Browserify
133
+ - Language levels
134
+ * ES5 - you must have a Promises/A+ library installed
135
+ * ES6
136
+ - Module systems
137
+ * CommonJS
138
+ * ES6 module system
139
+
140
+
141
+ ## Development
142
+
143
+ ### Building
144
+
145
+ To build the TypeScript source code, you need to have Node.js and npm installed.
146
+ After cloning the repository, navigate to the project directory and run:
147
+
148
+ ```bash
149
+ npm install
150
+ npm run build
151
+ ```
152
+
153
+ ### Publishing
154
+
155
+ Once you've built the package, you can publish it to npm:
156
+
157
+ ```bash
158
+ npm publish
159
+ ```
160
+
161
+ ## License
162
+
163
+ []()
@@ -0,0 +1,82 @@
1
+ /**
2
+ * Relentless Identity API
3
+ * Public client API for Finder and Probe workflows. This spec is generated from the FastAPI app, then narrowed to the supported bearer-authenticated routes used by SDKs and the API reference.
4
+ *
5
+ * The version of the OpenAPI document: 1.0.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 * as runtime from '../runtime';
13
+ import type { ClientRequestHistoryPageResponse, ClientTokenStatusResponse, ClientUsageResponse } from '../models/index';
14
+ export interface GetRequestHistoryRequest {
15
+ page?: number;
16
+ pageSize?: number;
17
+ requestType?: GetRequestHistoryRequestTypeEnum;
18
+ state?: GetRequestHistoryStateEnum;
19
+ }
20
+ /**
21
+ *
22
+ */
23
+ export declare class AccountApi extends runtime.BaseAPI {
24
+ /**
25
+ * Creates request options for getRequestHistory without sending the request
26
+ */
27
+ getRequestHistoryRequestOpts(requestParameters: GetRequestHistoryRequest): Promise<runtime.RequestOpts>;
28
+ /**
29
+ * Return the authenticated user\'s latest request history with pagination and optional filters.
30
+ * Get paginated request history
31
+ */
32
+ getRequestHistoryRaw(requestParameters: GetRequestHistoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ClientRequestHistoryPageResponse>>;
33
+ /**
34
+ * Return the authenticated user\'s latest request history with pagination and optional filters.
35
+ * Get paginated request history
36
+ */
37
+ getRequestHistory(requestParameters?: GetRequestHistoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ClientRequestHistoryPageResponse>;
38
+ /**
39
+ * Creates request options for getTokenStatus without sending the request
40
+ */
41
+ getTokenStatusRequestOpts(): Promise<runtime.RequestOpts>;
42
+ /**
43
+ * Validate the current bearer token and return its active claims.
44
+ * Inspect the current bearer token
45
+ */
46
+ getTokenStatusRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ClientTokenStatusResponse>>;
47
+ /**
48
+ * Validate the current bearer token and return its active claims.
49
+ * Inspect the current bearer token
50
+ */
51
+ getTokenStatus(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ClientTokenStatusResponse>;
52
+ /**
53
+ * Creates request options for getUsage without sending the request
54
+ */
55
+ getUsageRequestOpts(): Promise<runtime.RequestOpts>;
56
+ /**
57
+ * Return the current account usage, free-tier limits, and paid capacity details for the authenticated user.
58
+ * Get current usage and limits
59
+ */
60
+ getUsageRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ClientUsageResponse>>;
61
+ /**
62
+ * Return the current account usage, free-tier limits, and paid capacity details for the authenticated user.
63
+ * Get current usage and limits
64
+ */
65
+ getUsage(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ClientUsageResponse>;
66
+ }
67
+ /**
68
+ * @export
69
+ */
70
+ export declare const GetRequestHistoryRequestTypeEnum: {
71
+ readonly Finder: "finder";
72
+ readonly Probe: "probe";
73
+ };
74
+ export type GetRequestHistoryRequestTypeEnum = typeof GetRequestHistoryRequestTypeEnum[keyof typeof GetRequestHistoryRequestTypeEnum];
75
+ /**
76
+ * @export
77
+ */
78
+ export declare const GetRequestHistoryStateEnum: {
79
+ readonly Deliverable: "deliverable";
80
+ readonly Undeliverable: "undeliverable";
81
+ };
82
+ export type GetRequestHistoryStateEnum = typeof GetRequestHistoryStateEnum[keyof typeof GetRequestHistoryStateEnum];
@@ -0,0 +1,190 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Relentless Identity API
6
+ * Public client API for Finder and Probe workflows. This spec is generated from the FastAPI app, then narrowed to the supported bearer-authenticated routes used by SDKs and the API reference.
7
+ *
8
+ * The version of the OpenAPI document: 1.0.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
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
16
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
17
+ return new (P || (P = Promise))(function (resolve, reject) {
18
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
19
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
20
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
21
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
22
+ });
23
+ };
24
+ Object.defineProperty(exports, "__esModule", { value: true });
25
+ exports.GetRequestHistoryStateEnum = exports.GetRequestHistoryRequestTypeEnum = exports.AccountApi = void 0;
26
+ const runtime = require("../runtime");
27
+ /**
28
+ *
29
+ */
30
+ class AccountApi extends runtime.BaseAPI {
31
+ /**
32
+ * Creates request options for getRequestHistory without sending the request
33
+ */
34
+ getRequestHistoryRequestOpts(requestParameters) {
35
+ return __awaiter(this, void 0, void 0, function* () {
36
+ const queryParameters = {};
37
+ if (requestParameters['page'] != null) {
38
+ queryParameters['page'] = requestParameters['page'];
39
+ }
40
+ if (requestParameters['pageSize'] != null) {
41
+ queryParameters['page_size'] = requestParameters['pageSize'];
42
+ }
43
+ if (requestParameters['requestType'] != null) {
44
+ queryParameters['request_type'] = requestParameters['requestType'];
45
+ }
46
+ if (requestParameters['state'] != null) {
47
+ queryParameters['state'] = requestParameters['state'];
48
+ }
49
+ const headerParameters = {};
50
+ if (this.configuration && this.configuration.accessToken) {
51
+ const token = this.configuration.accessToken;
52
+ const tokenString = yield token("bearerAuth", []);
53
+ if (tokenString) {
54
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
55
+ }
56
+ }
57
+ let urlPath = `/client/history`;
58
+ return {
59
+ path: urlPath,
60
+ method: 'GET',
61
+ headers: headerParameters,
62
+ query: queryParameters,
63
+ };
64
+ });
65
+ }
66
+ /**
67
+ * Return the authenticated user\'s latest request history with pagination and optional filters.
68
+ * Get paginated request history
69
+ */
70
+ getRequestHistoryRaw(requestParameters, initOverrides) {
71
+ return __awaiter(this, void 0, void 0, function* () {
72
+ const requestOptions = yield this.getRequestHistoryRequestOpts(requestParameters);
73
+ const response = yield this.request(requestOptions, initOverrides);
74
+ return new runtime.JSONApiResponse(response);
75
+ });
76
+ }
77
+ /**
78
+ * Return the authenticated user\'s latest request history with pagination and optional filters.
79
+ * Get paginated request history
80
+ */
81
+ getRequestHistory() {
82
+ return __awaiter(this, arguments, void 0, function* (requestParameters = {}, initOverrides) {
83
+ const response = yield this.getRequestHistoryRaw(requestParameters, initOverrides);
84
+ return yield response.value();
85
+ });
86
+ }
87
+ /**
88
+ * Creates request options for getTokenStatus without sending the request
89
+ */
90
+ getTokenStatusRequestOpts() {
91
+ return __awaiter(this, void 0, void 0, function* () {
92
+ const queryParameters = {};
93
+ const headerParameters = {};
94
+ if (this.configuration && this.configuration.accessToken) {
95
+ const token = this.configuration.accessToken;
96
+ const tokenString = yield token("bearerAuth", []);
97
+ if (tokenString) {
98
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
99
+ }
100
+ }
101
+ let urlPath = `/client/token`;
102
+ return {
103
+ path: urlPath,
104
+ method: 'GET',
105
+ headers: headerParameters,
106
+ query: queryParameters,
107
+ };
108
+ });
109
+ }
110
+ /**
111
+ * Validate the current bearer token and return its active claims.
112
+ * Inspect the current bearer token
113
+ */
114
+ getTokenStatusRaw(initOverrides) {
115
+ return __awaiter(this, void 0, void 0, function* () {
116
+ const requestOptions = yield this.getTokenStatusRequestOpts();
117
+ const response = yield this.request(requestOptions, initOverrides);
118
+ return new runtime.JSONApiResponse(response);
119
+ });
120
+ }
121
+ /**
122
+ * Validate the current bearer token and return its active claims.
123
+ * Inspect the current bearer token
124
+ */
125
+ getTokenStatus(initOverrides) {
126
+ return __awaiter(this, void 0, void 0, function* () {
127
+ const response = yield this.getTokenStatusRaw(initOverrides);
128
+ return yield response.value();
129
+ });
130
+ }
131
+ /**
132
+ * Creates request options for getUsage without sending the request
133
+ */
134
+ getUsageRequestOpts() {
135
+ return __awaiter(this, void 0, void 0, function* () {
136
+ const queryParameters = {};
137
+ const headerParameters = {};
138
+ if (this.configuration && this.configuration.accessToken) {
139
+ const token = this.configuration.accessToken;
140
+ const tokenString = yield token("bearerAuth", []);
141
+ if (tokenString) {
142
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
143
+ }
144
+ }
145
+ let urlPath = `/client/usage`;
146
+ return {
147
+ path: urlPath,
148
+ method: 'GET',
149
+ headers: headerParameters,
150
+ query: queryParameters,
151
+ };
152
+ });
153
+ }
154
+ /**
155
+ * Return the current account usage, free-tier limits, and paid capacity details for the authenticated user.
156
+ * Get current usage and limits
157
+ */
158
+ getUsageRaw(initOverrides) {
159
+ return __awaiter(this, void 0, void 0, function* () {
160
+ const requestOptions = yield this.getUsageRequestOpts();
161
+ const response = yield this.request(requestOptions, initOverrides);
162
+ return new runtime.JSONApiResponse(response);
163
+ });
164
+ }
165
+ /**
166
+ * Return the current account usage, free-tier limits, and paid capacity details for the authenticated user.
167
+ * Get current usage and limits
168
+ */
169
+ getUsage(initOverrides) {
170
+ return __awaiter(this, void 0, void 0, function* () {
171
+ const response = yield this.getUsageRaw(initOverrides);
172
+ return yield response.value();
173
+ });
174
+ }
175
+ }
176
+ exports.AccountApi = AccountApi;
177
+ /**
178
+ * @export
179
+ */
180
+ exports.GetRequestHistoryRequestTypeEnum = {
181
+ Finder: 'finder',
182
+ Probe: 'probe'
183
+ };
184
+ /**
185
+ * @export
186
+ */
187
+ exports.GetRequestHistoryStateEnum = {
188
+ Deliverable: 'deliverable',
189
+ Undeliverable: 'undeliverable'
190
+ };
@@ -0,0 +1,35 @@
1
+ /**
2
+ * Relentless Identity API
3
+ * Public client API for Finder and Probe workflows. This spec is generated from the FastAPI app, then narrowed to the supported bearer-authenticated routes used by SDKs and the API reference.
4
+ *
5
+ * The version of the OpenAPI document: 1.0.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 * as runtime from '../runtime';
13
+ import type { ClientFinderResponse, FinderRequest } from '../models/index';
14
+ export interface FinderAttemptRequest {
15
+ finderRequest: FinderRequest;
16
+ }
17
+ /**
18
+ *
19
+ */
20
+ export declare class FinderApi extends runtime.BaseAPI {
21
+ /**
22
+ * Creates request options for finderAttempt without sending the request
23
+ */
24
+ finderAttemptRequestOpts(requestParameters: FinderAttemptRequest): Promise<runtime.RequestOpts>;
25
+ /**
26
+ * Send a full name and company domain to resolve the most likely verified work email.
27
+ * Find a work email
28
+ */
29
+ finderAttemptRaw(requestParameters: FinderAttemptRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ClientFinderResponse>>;
30
+ /**
31
+ * Send a full name and company domain to resolve the most likely verified work email.
32
+ * Find a work email
33
+ */
34
+ finderAttempt(requestParameters: FinderAttemptRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ClientFinderResponse>;
35
+ }
@@ -0,0 +1,81 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Relentless Identity API
6
+ * Public client API for Finder and Probe workflows. This spec is generated from the FastAPI app, then narrowed to the supported bearer-authenticated routes used by SDKs and the API reference.
7
+ *
8
+ * The version of the OpenAPI document: 1.0.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
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
16
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
17
+ return new (P || (P = Promise))(function (resolve, reject) {
18
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
19
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
20
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
21
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
22
+ });
23
+ };
24
+ Object.defineProperty(exports, "__esModule", { value: true });
25
+ exports.FinderApi = void 0;
26
+ const runtime = require("../runtime");
27
+ /**
28
+ *
29
+ */
30
+ class FinderApi extends runtime.BaseAPI {
31
+ /**
32
+ * Creates request options for finderAttempt without sending the request
33
+ */
34
+ finderAttemptRequestOpts(requestParameters) {
35
+ return __awaiter(this, void 0, void 0, function* () {
36
+ if (requestParameters['finderRequest'] == null) {
37
+ throw new runtime.RequiredError('finderRequest', 'Required parameter "finderRequest" was null or undefined when calling finderAttempt().');
38
+ }
39
+ const queryParameters = {};
40
+ const headerParameters = {};
41
+ headerParameters['Content-Type'] = 'application/json';
42
+ if (this.configuration && this.configuration.accessToken) {
43
+ const token = this.configuration.accessToken;
44
+ const tokenString = yield token("bearerAuth", []);
45
+ if (tokenString) {
46
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
47
+ }
48
+ }
49
+ let urlPath = `/client/attempt`;
50
+ return {
51
+ path: urlPath,
52
+ method: 'POST',
53
+ headers: headerParameters,
54
+ query: queryParameters,
55
+ body: requestParameters['finderRequest'],
56
+ };
57
+ });
58
+ }
59
+ /**
60
+ * Send a full name and company domain to resolve the most likely verified work email.
61
+ * Find a work email
62
+ */
63
+ finderAttemptRaw(requestParameters, initOverrides) {
64
+ return __awaiter(this, void 0, void 0, function* () {
65
+ const requestOptions = yield this.finderAttemptRequestOpts(requestParameters);
66
+ const response = yield this.request(requestOptions, initOverrides);
67
+ return new runtime.JSONApiResponse(response);
68
+ });
69
+ }
70
+ /**
71
+ * Send a full name and company domain to resolve the most likely verified work email.
72
+ * Find a work email
73
+ */
74
+ finderAttempt(requestParameters, initOverrides) {
75
+ return __awaiter(this, void 0, void 0, function* () {
76
+ const response = yield this.finderAttemptRaw(requestParameters, initOverrides);
77
+ return yield response.value();
78
+ });
79
+ }
80
+ }
81
+ exports.FinderApi = FinderApi;