Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@planet-a/affinity-node

Package Overview
Dependencies
Maintainers
0
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@planet-a/affinity-node - npm Package Compare versions

Comparing version 0.0.1-test.20 to 0.0.1

esm/deps/jsr.io/@std/assert/1.0.2/almost_equals.js

2

esm/v1/entity_files.js
import * as dntShim from "../_dnt.shims.js";
import { assert } from '../deps/jsr.io/@std/assert/0.226.0/mod.js';
import { assert } from '../deps/jsr.io/@std/assert/1.0.2/mod.js';
import { fileFrom } from 'fetch-blob/from.js';

@@ -4,0 +4,0 @@ import { defaultTransformers } from './axios_default_transformers.js';

{
"name": "@planet-a/affinity-node",
"version": "0.0.1-test.20",
"version": "0.0.1",
"description": "API wrapper for the affinity.co API",

@@ -5,0 +5,0 @@ "keywords": [

import { fetch, File, FormData, Headers, Request, Response } from "undici";
export { fetch, File, FormData, Headers, Request, Response, type BodyInit, type HeadersInit, type ReferrerPolicy, type RequestInit, type RequestCache, type RequestMode, type RequestRedirect, type ResponseInit } from "undici";
export declare const dntGlobalThis: Omit<typeof globalThis, "fetch" | "Request" | "Response" | "FormData" | "Headers" | "File"> & {
export declare const dntGlobalThis: Omit<typeof globalThis, "fetch" | "File" | "FormData" | "Headers" | "Request" | "Response"> & {
fetch: typeof fetch;

@@ -5,0 +5,0 @@ File: typeof File;

import type { PagedResponse } from './paged_response.js';
import type { PagedRequest } from './paged_request.js';
export declare const createSearchIteratorFn: <FN extends (r: PAGED_REQUEST) => Promise<PAGED_RESPONSE>, PAGED_REQUEST extends PagedRequest, PAGED_RESPONSE extends PagedResponse & Record<PAYLOAD_KEY, SINGLE_RESPONSE[]>, PAYLOAD_KEY extends string = Exclude<keyof PAGED_RESPONSE, "next_page_token"> & string, SINGLE_RESPONSE = object>(searchFn: FN, key: PAYLOAD_KEY) => (params: Omit<Parameters<FN>[0], keyof PagedRequest> & Omit<PAGED_REQUEST, "page_token">) => AsyncGenerator<(ReturnType<FN> extends Promise<infer T> ? T : never) extends { [key in PAYLOAD_KEY]: infer T_1; } ? T_1 : never, any, unknown>;
export declare const createSearchIteratorFn: <FN extends (r: PAGED_REQUEST) => Promise<PAGED_RESPONSE>, PAGED_REQUEST extends PagedRequest, PAGED_RESPONSE extends PagedResponse & Record<PAYLOAD_KEY, SINGLE_RESPONSE[]>, PAYLOAD_KEY extends string = Exclude<keyof PAGED_RESPONSE, "next_page_token"> & string, SINGLE_RESPONSE = object>(searchFn: FN, key: PAYLOAD_KEY) => (params: Omit<Parameters<FN>[0], keyof PagedRequest> & Omit<PAGED_REQUEST, "page_token">) => AsyncGenerator<(ReturnType<FN> extends Promise<infer T> ? T : never) extends { [key in PAYLOAD_KEY]: infer T_1; } ? T_1 : never>;

@@ -1,2 +0,1 @@

/// <reference types="node" />
import * as dntShim from "../_dnt.shims.js";

@@ -89,3 +88,3 @@ import type { AxiosInstance } from 'axios';

*/
pagedIterator: (params: Omit<AllEntityFileRequest | undefined, keyof PagedRequest> & Omit<PagedRequest, "page_token">) => AsyncGenerator<EntityFile[], any, unknown>;
pagedIterator: (params: Omit<AllEntityFileRequest | undefined, keyof PagedRequest> & Omit<PagedRequest, "page_token">) => AsyncGenerator<EntityFile[]>;
/**

@@ -92,0 +91,0 @@ * Fetches an entity with a specified `entity_file_id`.

@@ -206,3 +206,3 @@ import type { AxiosInstance } from 'axios';

*/
pagedIterator: (params: Omit<AllNotesRequest | undefined, keyof PagedRequest> & Omit<PagedRequest, "page_token">) => AsyncGenerator<NoteRaw[], any, unknown>;
pagedIterator: (params: Omit<AllNotesRequest | undefined, keyof PagedRequest> & Omit<PagedRequest, "page_token">) => AsyncGenerator<NoteRaw[]>;
/**

@@ -209,0 +209,0 @@ * Creates a new note with the supplied parameters.

@@ -271,3 +271,3 @@ import type { AxiosInstance } from 'axios';

*/
searchIterator: (params: Omit<SearchOrganizationsRequest, keyof PagedRequest> & Omit<PagedRequest, "page_token">) => AsyncGenerator<OrganizationResponse[], any, unknown>;
searchIterator: (params: Omit<SearchOrganizationsRequest, keyof PagedRequest> & Omit<PagedRequest, "page_token">) => AsyncGenerator<OrganizationResponse[]>;
/**

@@ -274,0 +274,0 @@ * Creates a new organization with the supplied parameters.

@@ -197,3 +197,3 @@ import type { AxiosInstance } from 'axios';

*/
searchIterator: (params: Omit<SearchPersonsRequest, keyof PagedRequest> & Omit<PagedRequest, "page_token">) => AsyncGenerator<PersonResponse[], any, unknown>;
searchIterator: (params: Omit<SearchPersonsRequest, keyof PagedRequest> & Omit<PagedRequest, "page_token">) => AsyncGenerator<PersonResponse[]>;
/**

@@ -200,0 +200,0 @@ * Creates a new person with the supplied parameters.

@@ -40,3 +40,3 @@ /**

*/
export declare const organizationsUrl: (organization_id?: number | 'fields') => string;
export declare const organizationsUrl: (organization_id?: number | "fields") => string;
/**

@@ -51,3 +51,3 @@ * @hidden

*/
export declare const personsUrl: (person_id?: number | 'fields') => string;
export declare const personsUrl: (person_id?: number | "fields") => string;
/**

@@ -54,0 +54,0 @@ * @hidden

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc