orangeslice 2.1.0 → 2.1.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 +10 -0
- package/dist/cli.js +13 -0
- package/dist/crunchbase.d.ts +10 -0
- package/dist/crunchbase.js +13 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +7 -1
- package/docs/integrations/gmail/index.md +1 -1
- package/docs/integrations/gmail/sendEmail.md +13 -13
- package/docs/prospecting/index.md +24 -16
- package/docs/services/company/linkedin/search.md +32 -0
- package/docs/services/crunchbase/search.md +337 -0
- package/docs/services/index.md +1 -1
- package/docs/services/person/linkedin/search.md +32 -0
- package/package.json +1 -1
- package/docs/providers/predictleads/openapi.json +0 -13209
- package/docs/services/healthcare/npi.md +0 -190
|
@@ -207,6 +207,38 @@ JOIN linkedin_company lc ON ...
|
|
|
207
207
|
- **Use `lp` alias** for person tables
|
|
208
208
|
- **Default to US**: `lp.location_country_code = 'US'`
|
|
209
209
|
|
|
210
|
+
## Return Type
|
|
211
|
+
|
|
212
|
+
`services.person.linkedin.search()` returns an object envelope:
|
|
213
|
+
|
|
214
|
+
```typescript
|
|
215
|
+
{
|
|
216
|
+
rows: (Record < string, unknown > []);
|
|
217
|
+
count: number;
|
|
218
|
+
}
|
|
219
|
+
```
|
|
220
|
+
|
|
221
|
+
- `rows`: Result rows from your SQL query, with exactly the columns you selected.
|
|
222
|
+
- `count`: Number of rows returned in `rows`.
|
|
223
|
+
|
|
224
|
+
Example:
|
|
225
|
+
|
|
226
|
+
```typescript
|
|
227
|
+
const searchResult = await services.person.linkedin.search({
|
|
228
|
+
sql: `
|
|
229
|
+
SELECT
|
|
230
|
+
lp.first_name,
|
|
231
|
+
lp.last_name,
|
|
232
|
+
lp.public_profile_url AS lp_linkedin_url
|
|
233
|
+
FROM linkedin_profile lp
|
|
234
|
+
WHERE lp.location_country_code = 'US'
|
|
235
|
+
LIMIT 10
|
|
236
|
+
`
|
|
237
|
+
});
|
|
238
|
+
|
|
239
|
+
return searchResult.rows; // Most spreadsheet snippets should return rows
|
|
240
|
+
```
|
|
241
|
+
|
|
210
242
|
---
|
|
211
243
|
|
|
212
244
|
## Table Aliases
|