@graph8/sdk 0.12.2 → 0.13.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/dist/index.d.ts CHANGED
@@ -1739,6 +1739,311 @@ declare const createDealsClient: (apiKey: string, apiUrl?: string) => {
1739
1739
  }>;
1740
1740
  };
1741
1741
 
1742
+ /** A custom object type in your workspace — a record type you define. */
1743
+ interface CustomObject {
1744
+ /** Stable API slug, e.g. `invoices`. */
1745
+ slug: string;
1746
+ singular_noun: string;
1747
+ plural_noun: string;
1748
+ /** True for object types graph8 ships; system objects cannot be deleted. */
1749
+ is_system: boolean;
1750
+ is_archived: boolean;
1751
+ }
1752
+ /**
1753
+ * One attribute on a custom object, and the rules its values must satisfy.
1754
+ *
1755
+ * `attribute_type` is one of 16 supported types and decides how a value is
1756
+ * validated and canonicalized: `text`, `number`, `currency`, `date`,
1757
+ * `timestamp`, `checkbox`, `select`, `status`, `email_address`, `phone_number`,
1758
+ * `domain`, `location`, `personal_name`, `record_reference`, `rating`,
1759
+ * `actor_reference`.
1760
+ */
1761
+ interface CustomObjectAttribute {
1762
+ slug: string;
1763
+ attribute_type: string;
1764
+ is_required: boolean;
1765
+ /** No two ACTIVE records may hold the same value. A collision returns 409. */
1766
+ is_unique: boolean;
1767
+ is_multiselect: boolean;
1768
+ /** Apply a non-null default to omitted create fields, never PATCH. Absent on older servers. */
1769
+ is_default_value_enabled?: boolean;
1770
+ /** Configured default; validated like an explicit value when enabled. */
1771
+ default_value?: unknown;
1772
+ /** Type-specific configuration, e.g. the allowed options for a `select`. */
1773
+ config: Record<string, unknown>;
1774
+ }
1775
+ /** One record, with its currently active attribute values. */
1776
+ interface CustomObjectRecord {
1777
+ id: string;
1778
+ object_slug: string;
1779
+ /**
1780
+ * Values keyed by attribute slug. Untyped by necessity — the valid keys come
1781
+ * from YOUR attribute definitions at runtime, so call `listAttributes` for the
1782
+ * schema. Saying `any` here would imply the shape was considered and found to
1783
+ * be free.
1784
+ */
1785
+ values: Record<string, unknown>;
1786
+ is_archived: boolean;
1787
+ /** Revision for conditional updates; absent on older servers. */
1788
+ revision?: number;
1789
+ created_at: string | null;
1790
+ updated_at: string | null;
1791
+ }
1792
+ /** One generation of one attribute's value. */
1793
+ interface CustomObjectHistoryEntry {
1794
+ attribute: string;
1795
+ value: unknown;
1796
+ active_from: string | null;
1797
+ /** Null means this value is still in force. */
1798
+ active_until: string | null;
1799
+ actor_id: string | null;
1800
+ }
1801
+ interface CustomObjectHistory {
1802
+ record_id: string;
1803
+ entries: CustomObjectHistoryEntry[];
1804
+ }
1805
+ interface ListRecordsParams {
1806
+ page?: number;
1807
+ /** 1-200, default 50. */
1808
+ limit?: number;
1809
+ /** Opaque cursor from a prior response. Takes precedence over `page`. */
1810
+ cursor?: string;
1811
+ }
1812
+ /**
1813
+ * Pagination envelope for record listings.
1814
+ *
1815
+ * Named distinctly rather than `PaginationMeta`: `deals.ts` and `quotes.ts` each
1816
+ * already declare their own structurally identical `PaginationMeta`, and one of
1817
+ * them is re-exported from `index.ts` — so a third with that name is a
1818
+ * `TS2300: Duplicate identifier` at the package's export site. Consolidating the
1819
+ * three into one shared type is worth doing and is not this change.
1820
+ */
1821
+ interface ObjectPagination {
1822
+ page: number;
1823
+ limit: number;
1824
+ total: number;
1825
+ has_next: boolean;
1826
+ next_cursor: string | null;
1827
+ }
1828
+ /**
1829
+ * Custom Objects API — your own record types, their schema, and their records (M6-3).
1830
+ * Requires an API key (server-side). On the hardened HTTP core: throws a typed
1831
+ * `G8Error` on failure and retries transient errors.
1832
+ *
1833
+ * Access requires an authenticated credential with the applicable object scope.
1834
+ *
1835
+ * HOW THIS DIFFERS FROM `g8.fields`. A FIELD adds a column to an existing
1836
+ * contact or company. A CUSTOM OBJECT is a whole new record type with its own
1837
+ * attributes and its own records. Use fields to extend a contact; use custom
1838
+ * objects to model an invoice, a shipment, or a subscription.
1839
+ *
1840
+ * THREE BEHAVIOURS WORTH KNOWING BEFORE YOU WRITE
1841
+ *
1842
+ * 1. An unknown field is REJECTED (422), not ignored. A typo does not silently
1843
+ * lose your data, and the response lists every problem at once so a payload
1844
+ * with three mistakes takes one round trip to fix.
1845
+ * 2. `update` is a PARTIAL write. Attributes you omit are left alone; sending
1846
+ * an explicit `null` clears an optional attribute. Required attributes
1847
+ * cannot be cleared with `null` or an empty multivalue list (422).
1848
+ * 3. `archive` does not destroy anything. The record leaves listings, stays
1849
+ * readable by id, and keeps its history.
1850
+ *
1851
+ * Record references must resolve to an active record of `config.target_object`
1852
+ * within the same organization and app. Unavailable targets return a 422 with
1853
+ * `invalid_reference` in the field error's `reason`, without disclosing whether
1854
+ * a target exists outside the caller's scope.
1855
+ *
1856
+ * Backed by:
1857
+ * GET /api/v1/objects
1858
+ * GET /api/v1/objects/{slug}
1859
+ * GET /api/v1/objects/{slug}/attributes
1860
+ * GET /api/v1/objects/{slug}/records
1861
+ * POST /api/v1/objects/{slug}/records
1862
+ * GET /api/v1/objects/{slug}/records/{id}
1863
+ * PATCH /api/v1/objects/{slug}/records/{id}
1864
+ * DELETE /api/v1/objects/{slug}/records/{id}
1865
+ * GET /api/v1/objects/{slug}/records/{id}/history
1866
+ */
1867
+ declare const createObjectsClient: (apiKey: string, apiUrl?: string) => {
1868
+ /** List the custom object types in your workspace. */
1869
+ list(): Promise<{
1870
+ data: CustomObject[];
1871
+ }>;
1872
+ /** Fetch one object type by slug. */
1873
+ get(objectSlug: string): Promise<CustomObject>;
1874
+ /** The object's attributes — the schema its records must satisfy. */
1875
+ listAttributes(objectSlug: string): Promise<{
1876
+ data: CustomObjectAttribute[];
1877
+ }>;
1878
+ /** Paginated records with their current values. Archived records are excluded. */
1879
+ listRecords(objectSlug: string, params?: ListRecordsParams): Promise<{
1880
+ data: CustomObjectRecord[];
1881
+ pagination?: ObjectPagination;
1882
+ }>;
1883
+ /**
1884
+ * Create a record. Every field is validated against the object's attributes;
1885
+ * an unknown one is a 422 listing every problem at once, and a collision on a
1886
+ * unique attribute is a 409.
1887
+ */
1888
+ createRecord(objectSlug: string, values: Record<string, unknown>): Promise<CustomObjectRecord>;
1889
+ /** Fetch one record with its currently active values. */
1890
+ getRecord(objectSlug: string, recordId: string): Promise<CustomObjectRecord>;
1891
+ /**
1892
+ * Update a record. PARTIAL: only the attributes you send are touched, so
1893
+ * required attributes you omit are left alone rather than reported missing.
1894
+ * Sending an explicit `null` CLEARS that attribute.
1895
+ *
1896
+ * Values are versioned rather than overwritten, so the previous value stays
1897
+ * readable through `history`.
1898
+ */
1899
+ updateRecord(objectSlug: string, recordId: string, values: Record<string, unknown>, options?: {
1900
+ expectedRevision?: number;
1901
+ }): Promise<CustomObjectRecord>;
1902
+ /**
1903
+ * Archive a record. It leaves listings, stays readable by id, and keeps its
1904
+ * history and associations. Nothing is destroyed.
1905
+ */
1906
+ archiveRecord(objectSlug: string, recordId: string): Promise<CustomObjectRecord>;
1907
+ /** Restore archived values under current constraints. Conflicts leave the record archived. */
1908
+ restoreRecord(objectSlug: string, recordId: string): Promise<CustomObjectRecord>;
1909
+ /**
1910
+ * A record's value timeline, newest first. An entry whose `active_until` is
1911
+ * null is the value currently in force.
1912
+ */
1913
+ history(objectSlug: string, recordId: string, limit?: number): Promise<CustomObjectHistory>;
1914
+ };
1915
+
1916
+ /**
1917
+ * App lifecycle. `draft` serves no traffic; `published` is live; `suspended` is a
1918
+ * platform action and cannot be set through this client; `archived` is retired.
1919
+ *
1920
+ * `active` is the pre-D12c spelling of `published` and is still accepted on write
1921
+ * by the backend, so an older caller keeps working. Prefer `published`.
1922
+ */
1923
+ type AppStatus = "draft" | "published" | "suspended" | "archived";
1924
+ /** Install / consent lifecycle for one client org. */
1925
+ type InstallStatus = "pending" | "consented" | "revoked" | "suspended" | "expired";
1926
+ /** An app you build on graph8, which your customers install into their workspace. */
1927
+ interface App {
1928
+ app_id: string;
1929
+ builder_org_id: string;
1930
+ /** Stable identifier, unique within your organization — not globally. */
1931
+ slug: string;
1932
+ name: string;
1933
+ status: string;
1934
+ /** https-only origins a BROWSER app token may be presented from. */
1935
+ registered_origins: string[];
1936
+ default_hostname: string | null;
1937
+ created_at: string | null;
1938
+ archived_at: string | null;
1939
+ }
1940
+ /** One client organization's installation of your app. */
1941
+ interface AppInstallation {
1942
+ install_id: string;
1943
+ app_id: string;
1944
+ client_org_id: string;
1945
+ status: string;
1946
+ consented_scopes: string[];
1947
+ created_at: string | null;
1948
+ revoked_at: string | null;
1949
+ }
1950
+ /** Credits your app consumed in one calendar month. */
1951
+ interface AppUsageSummary {
1952
+ app_id: string;
1953
+ /** Calendar month, `YYYY-MM`. */
1954
+ period: string;
1955
+ total_credits: number;
1956
+ event_count: number;
1957
+ /**
1958
+ * Credits per CLIENT org — whose data was touched, not who paid. You pay for
1959
+ * all of them, so a breakdown keyed on the payer would collapse into one row.
1960
+ */
1961
+ per_client_credits: Record<string, number>;
1962
+ }
1963
+ /** A hard credit cap. `null` from `getLimit` means uncapped. */
1964
+ interface AppLimit {
1965
+ app_id: string;
1966
+ window: string;
1967
+ credit_cap: number;
1968
+ created_at: string | null;
1969
+ }
1970
+ interface AppCreateParams {
1971
+ name: string;
1972
+ /** Unique within your organization. Lowercased on write. */
1973
+ slug: string;
1974
+ /**
1975
+ * https-only origins a browser app token may be presented from. An `http://`
1976
+ * origin is rejected at registration — a bearer token sent over plain http is
1977
+ * a token disclosed to the network.
1978
+ */
1979
+ registered_origins?: string[];
1980
+ }
1981
+ /**
1982
+ * Apps API — manage the apps you build on graph8 (M6). Requires an API key
1983
+ * (server-side). On the hardened HTTP core: throws a typed `G8Error` on failure
1984
+ * and retries transient errors.
1985
+ *
1986
+ * PREVIEW AND GATED. Every endpoint returns 403 `builder_not_allowlisted` unless
1987
+ * the platform is enabled AND your organization is on the builder allowlist.
1988
+ * Both are off by default, so a call fails fast and loudly rather than returning
1989
+ * an empty list that looks like "you have no apps".
1990
+ *
1991
+ * A note on 404s: an app id belonging to ANOTHER organization returns 404, not
1992
+ * 403 — the two are deliberately indistinguishable so app ids cannot be
1993
+ * enumerated by guessing.
1994
+ *
1995
+ * Backed by:
1996
+ * GET /api/v1/apps — list your apps
1997
+ * POST /api/v1/apps — create one (starts in `draft`)
1998
+ * GET /api/v1/apps/{app_id} — fetch one
1999
+ * POST /api/v1/apps/{app_id}/status — move it through its lifecycle
2000
+ * GET /api/v1/apps/{app_id}/installs — who installed it, and their consent
2001
+ * GET /api/v1/apps/{app_id}/usage — credits consumed in a month
2002
+ * GET /api/v1/apps/{app_id}/limit — the hard cap, or null
2003
+ */
2004
+ declare const createAppsClient: (apiKey: string, apiUrl?: string) => {
2005
+ /** List your organization's apps, newest first. */
2006
+ list(): Promise<{
2007
+ data: App[];
2008
+ }>;
2009
+ /** Fetch one of your apps. Throws `G8Error` (404) if it is not yours. */
2010
+ get(appId: string): Promise<App>;
2011
+ /**
2012
+ * Create an app. It starts in `draft` and serves no traffic until published.
2013
+ * Throws `G8Error` (409) when the slug is already taken in your org.
2014
+ */
2015
+ create(params: AppCreateParams): Promise<App>;
2016
+ /**
2017
+ * Move an app through its lifecycle: `draft` → `published` → `archived`.
2018
+ *
2019
+ * `suspended` is excluded from the parameter type on purpose: it is the
2020
+ * platform's kill switch for an abusive app, the backend refuses it with a
2021
+ * 403, and a builder who could set it could also unset it.
2022
+ */
2023
+ setStatus(appId: string, status: Exclude<AppStatus, "suspended">): Promise<App>;
2024
+ /**
2025
+ * The client organizations that installed this app, and their consent state.
2026
+ * Includes `pending` and `revoked` installs — if your app cannot reach a
2027
+ * tenant, this is where you see why.
2028
+ */
2029
+ listInstalls(appId: string): Promise<{
2030
+ data: AppInstallation[];
2031
+ }>;
2032
+ /**
2033
+ * Credits this app consumed in a calendar month, broken down per client org.
2034
+ * Defaults to the current month. A month with no usage returns zeroes, not a
2035
+ * 404 — "nothing happened" is an answer.
2036
+ */
2037
+ usage(appId: string, period?: string): Promise<AppUsageSummary>;
2038
+ /**
2039
+ * This app's hard credit cap, or `null` when it is uncapped.
2040
+ *
2041
+ * `null` is the real answer, not an empty object: there is no "unlimited"
2042
+ * sentinel, so an accidental zero can never read as "no limit".
2043
+ */
2044
+ getLimit(appId: string): Promise<AppLimit | null>;
2045
+ };
2046
+
1742
2047
  /** A field (column) definition on contacts or companies — base or custom. */
1743
2048
  interface Field {
1744
2049
  id: number | null;
@@ -3202,6 +3507,8 @@ declare class G8 {
3202
3507
  /** @internal */ _notes: ReturnType<typeof createNotesClient> | null;
3203
3508
  /** @internal */ _tasks: ReturnType<typeof createTasksClient> | null;
3204
3509
  /** @internal */ _fields: ReturnType<typeof createFieldsClient> | null;
3510
+ /** @internal */ _apps: ReturnType<typeof createAppsClient> | null;
3511
+ /** @internal */ _objects: ReturnType<typeof createObjectsClient> | null;
3205
3512
  /** @internal */ _deals: ReturnType<typeof createDealsClient> | null;
3206
3513
  /** @internal */ _inbox: ReturnType<typeof createInboxClient> | null;
3207
3514
  /** @internal */ _quotes: ReturnType<typeof createQuotesClient> | null;
@@ -3344,7 +3651,7 @@ declare class G8 {
3344
3651
  contact_id?: number;
3345
3652
  user_email?: string;
3346
3653
  campaign_id?: string;
3347
- date_from? /** Marketplace — for SDR/AE talent: profile, hire offers (accept/reject), active hirings (requires API key). */: string;
3654
+ date_from?: string;
3348
3655
  date_to?: string;
3349
3656
  limit?: number;
3350
3657
  page?: number;
@@ -3486,6 +3793,42 @@ declare class G8 {
3486
3793
  };
3487
3794
  }>;
3488
3795
  };
3796
+ /** Apps you build on graph8 — lifecycle, installs, usage, limits (requires API key). PREVIEW. */
3797
+ get apps(): {
3798
+ list(): Promise<{
3799
+ data: App[];
3800
+ }>;
3801
+ get(appId: string): Promise<App>;
3802
+ create(params: AppCreateParams): Promise<App>;
3803
+ setStatus(appId: string, status: Exclude<AppStatus, "suspended">): Promise<App>;
3804
+ listInstalls(appId: string): Promise<{
3805
+ data: AppInstallation[];
3806
+ }>;
3807
+ usage(appId: string, period?: string): Promise<AppUsageSummary>;
3808
+ getLimit(appId: string): Promise<AppLimit | null>;
3809
+ };
3810
+ /** Custom object types, their schema, and their records (requires API key). PREVIEW. */
3811
+ get objects(): {
3812
+ list(): Promise<{
3813
+ data: CustomObject[];
3814
+ }>;
3815
+ get(objectSlug: string): Promise<CustomObject>;
3816
+ listAttributes(objectSlug: string): Promise<{
3817
+ data: CustomObjectAttribute[];
3818
+ }>;
3819
+ listRecords(objectSlug: string, params?: ListRecordsParams): Promise<{
3820
+ data: CustomObjectRecord[];
3821
+ pagination?: ObjectPagination;
3822
+ }>;
3823
+ createRecord(objectSlug: string, values: Record<string, unknown>): Promise<CustomObjectRecord>;
3824
+ getRecord(objectSlug: string, recordId: string): Promise<CustomObjectRecord>;
3825
+ updateRecord(objectSlug: string, recordId: string, values: Record<string, unknown>, options?: {
3826
+ expectedRevision?: number;
3827
+ }): Promise<CustomObjectRecord>;
3828
+ archiveRecord(objectSlug: string, recordId: string): Promise<CustomObjectRecord>;
3829
+ restoreRecord(objectSlug: string, recordId: string): Promise<CustomObjectRecord>;
3830
+ history(objectSlug: string, recordId: string, limit?: number): Promise<CustomObjectHistory>;
3831
+ };
3489
3832
  /** Deals and pipelines (requires API key). */
3490
3833
  get deals(): {
3491
3834
  pipelines(): Promise<{
@@ -3643,7 +3986,7 @@ declare class G8 {
3643
3986
  };
3644
3987
  }>;
3645
3988
  nodeTypes(params?: {
3646
- type? /** Identify a user with properties. */: string;
3989
+ type?: string;
3647
3990
  }): Promise<{
3648
3991
  data: NodeTypeSchema[];
3649
3992
  }>;
@@ -4303,4 +4646,4 @@ interface Graph8ServiceClient {
4303
4646
  */
4304
4647
  declare function createGraph8ServiceClient(config: Graph8ServiceClientConfig): Graph8ServiceClient;
4305
4648
 
4306
- export { type AddToSequenceConfig, type AgencyClient, type AgencyInfo, type AppRequest, type AppRequestOptions, type AppTokenResponse, type AudienceSync, type AudienceSyncCreateParams, type AudienceSyncError, type AudienceSyncMode, type AudienceSyncPlatform, type AudienceSyncRun, type AudienceSyncUpdateParams, type Booking, type BookingRequest, type CalendarConfig, type CallGradingResult, type Campaign, type CampaignCreateConfig, type CampaignLaunchExecution, type CampaignLaunchResult, type ChatConfig, type Company, type CompanyColumn, type CompanyColumnCreateParams, type CompanyContact, type CompanyEnrichment, type CompanyListParams, type CompanyUpdateParams, type ConstructEventOptions, type Contact, type ContactColumn, type ContactColumnCreateParams, type ContactCreateParams, type ContactDeal, type ContactList, type ContactListParams, type ContactUpdateParams, type CopilotConfig, type CreatedField, DEFAULT_APP_API, type Deal, type DealCreateParams, type DealListParams, type DealUpdateParams, type DialerAgentSummary, type DialerAgentsListParams, type DialerAgentsListResult, type DialerNumberInfo, type DialerNumbersListResult, type DialerReportFilters, type DialerReportMetric, type DialerSessionCreateParams, type DialerSessionCreateResult, type DialerSessionResumeResult, type DialerSessionStatus, type DialerSessionStatusUpdateResult, type DialerSessionSummary, type DialerSessionsListParams, type DialerSessionsListResult, type DialerStatsParams, type DialerStatsResult, type EmailVerification, type EnrichLookupResult, type EvidenceKey, type Field, type FieldCreateParams, type FieldDeleteParams, type G8Config, G8Error, type G8PrivacyConfig, type GlobalContextDocument, type Graph8AppClient, type Graph8AppClientConfig, type Graph8ServiceClient, type Graph8ServiceClientConfig, type ICP, type IdentifyProperties, type InboxAssignResult, type InboxAssignee, type InboxChannel, type InboxContact, type InboxDraft, type InboxListParams, type InboxMessage, type InboxSendParams, type InboxSendResult, type InboxTag, type InboxTagResult, type InboxThread, type IntelligenceData, type IntentCompany, type IntentContact, type IntentKeyword, type IntentPage, type IntentSignals, type IntentStats, type IntentVisitor, KNOWN_WEBHOOK_EVENTS, type ListContact, type MarketplaceHiring, type MarketplaceOffer, type MarketplaceProfile, type MeetingAnalysis, type MeetingAttendee, type MeetingDetail, type MeetingListParams, type MeetingSummary, type MeetingTranscriptLine, type MissedCallback, type MissedCallbacksResult, type NodeTypeSchema, type Note, type PaginatedResponse, type PaginationMeta$1 as PaginationMeta, type PersonEnrichment, type Persona, type Pipeline, type PipelineStage, type PipelineSuggestion, type QuotableProduct, type QuoteCreateParams, type QuoteDetail, type QuoteLineItem, type QuoteListParams, type QuoteSendParams, type QuoteSettings, type QuoteStatus, type QuoteSummary, type QuoteUpdateParams, type RequestOptions, type ResearchReport, type SearchCompanyItem, type SearchCondition, type SearchContactItem, type SearchFilter, type SearchOperator, type SearchParams, type SearchResults, type SearchSaveParams, type SearchSaveResult, type Sequence, type SequenceActionResult, type SequenceAnalytics, type SequenceChannelConfig, type SequenceContactItem, type SequenceContactsParams, type SequenceCreateParams, type SequenceCreateResult, type SequenceDetail, type SequenceKind, type SequenceListItem, type SequenceListParams, type SequencePreview, type SequencePreviewChannel, type SequencePreviewStep, type SequenceStepConfig, type SequenceStepInputType, type SequenceStepType, type SequenceStepUpdateParams, type SequenceUpdateParams, type SetFieldValueParams, type Skill, type SkillCreateAPIParams, type SkillCreateLLMParams, type SkillInputField, type SkillListParams, type SkillTemplate, type SkillType, type SkillUpdateAPIParams, type SkillUpdateLLMParams, type Snippet, type StageCreateParams, type StagePipeline, type StagePipelineCreateParams, type StagePipelineStage, type StagePipelineUpdateParams, type StageUpdateParams, type Task, type TaskCreateParams, type TaskListParams, type TaskUpdateParams, type TimeSlot, type TokenManager, type TrackProperties, type VisitorCompany, type VisitorScore, type VoicePagination, type WebhookEvent, type WebhookEventPayload, WebhookSignatureError, type Workflow, type WorkflowConfig, type WorkflowConnection, type WorkflowCreateParams, type WorkflowExecution, type WorkflowListParams, type WorkflowNode, type WorkflowUpdateParams, backoffDelayMs, constructEvent, createAppRequester, createGraph8AppClient, createGraph8ServiceClient, createTokenManager, exchangeBrowserToken, exchangeServiceToken, g8, isRetryableStatus, paginate, parseRetryAfter, request };
4649
+ export { type AddToSequenceConfig, type AgencyClient, type AgencyInfo, type App, type AppCreateParams, type AppInstallation, type AppLimit, type AppRequest, type AppRequestOptions, type AppStatus, type AppTokenResponse, type AppUsageSummary, type AudienceSync, type AudienceSyncCreateParams, type AudienceSyncError, type AudienceSyncMode, type AudienceSyncPlatform, type AudienceSyncRun, type AudienceSyncUpdateParams, type Booking, type BookingRequest, type CalendarConfig, type CallGradingResult, type Campaign, type CampaignCreateConfig, type CampaignLaunchExecution, type CampaignLaunchResult, type ChatConfig, type Company, type CompanyColumn, type CompanyColumnCreateParams, type CompanyContact, type CompanyEnrichment, type CompanyListParams, type CompanyUpdateParams, type ConstructEventOptions, type Contact, type ContactColumn, type ContactColumnCreateParams, type ContactCreateParams, type ContactDeal, type ContactList, type ContactListParams, type ContactUpdateParams, type CopilotConfig, type CreatedField, type CustomObject, type CustomObjectAttribute, type CustomObjectHistory, type CustomObjectHistoryEntry, type CustomObjectRecord, DEFAULT_APP_API, type Deal, type DealCreateParams, type DealListParams, type DealUpdateParams, type DialerAgentSummary, type DialerAgentsListParams, type DialerAgentsListResult, type DialerNumberInfo, type DialerNumbersListResult, type DialerReportFilters, type DialerReportMetric, type DialerSessionCreateParams, type DialerSessionCreateResult, type DialerSessionResumeResult, type DialerSessionStatus, type DialerSessionStatusUpdateResult, type DialerSessionSummary, type DialerSessionsListParams, type DialerSessionsListResult, type DialerStatsParams, type DialerStatsResult, type EmailVerification, type EnrichLookupResult, type EvidenceKey, type Field, type FieldCreateParams, type FieldDeleteParams, type G8Config, G8Error, type G8PrivacyConfig, type GlobalContextDocument, type Graph8AppClient, type Graph8AppClientConfig, type Graph8ServiceClient, type Graph8ServiceClientConfig, type ICP, type IdentifyProperties, type InboxAssignResult, type InboxAssignee, type InboxChannel, type InboxContact, type InboxDraft, type InboxListParams, type InboxMessage, type InboxSendParams, type InboxSendResult, type InboxTag, type InboxTagResult, type InboxThread, type InstallStatus, type IntelligenceData, type IntentCompany, type IntentContact, type IntentKeyword, type IntentPage, type IntentSignals, type IntentStats, type IntentVisitor, KNOWN_WEBHOOK_EVENTS, type ListContact, type ListRecordsParams, type MarketplaceHiring, type MarketplaceOffer, type MarketplaceProfile, type MeetingAnalysis, type MeetingAttendee, type MeetingDetail, type MeetingListParams, type MeetingSummary, type MeetingTranscriptLine, type MissedCallback, type MissedCallbacksResult, type NodeTypeSchema, type Note, type ObjectPagination, type PaginatedResponse, type PaginationMeta$1 as PaginationMeta, type PersonEnrichment, type Persona, type Pipeline, type PipelineStage, type PipelineSuggestion, type QuotableProduct, type QuoteCreateParams, type QuoteDetail, type QuoteLineItem, type QuoteListParams, type QuoteSendParams, type QuoteSettings, type QuoteStatus, type QuoteSummary, type QuoteUpdateParams, type RequestOptions, type ResearchReport, type SearchCompanyItem, type SearchCondition, type SearchContactItem, type SearchFilter, type SearchOperator, type SearchParams, type SearchResults, type SearchSaveParams, type SearchSaveResult, type Sequence, type SequenceActionResult, type SequenceAnalytics, type SequenceChannelConfig, type SequenceContactItem, type SequenceContactsParams, type SequenceCreateParams, type SequenceCreateResult, type SequenceDetail, type SequenceKind, type SequenceListItem, type SequenceListParams, type SequencePreview, type SequencePreviewChannel, type SequencePreviewStep, type SequenceStepConfig, type SequenceStepInputType, type SequenceStepType, type SequenceStepUpdateParams, type SequenceUpdateParams, type SetFieldValueParams, type Skill, type SkillCreateAPIParams, type SkillCreateLLMParams, type SkillInputField, type SkillListParams, type SkillTemplate, type SkillType, type SkillUpdateAPIParams, type SkillUpdateLLMParams, type Snippet, type StageCreateParams, type StagePipeline, type StagePipelineCreateParams, type StagePipelineStage, type StagePipelineUpdateParams, type StageUpdateParams, type Task, type TaskCreateParams, type TaskListParams, type TaskUpdateParams, type TimeSlot, type TokenManager, type TrackProperties, type VisitorCompany, type VisitorScore, type VoicePagination, type WebhookEvent, type WebhookEventPayload, WebhookSignatureError, type Workflow, type WorkflowConfig, type WorkflowConnection, type WorkflowCreateParams, type WorkflowExecution, type WorkflowListParams, type WorkflowNode, type WorkflowUpdateParams, backoffDelayMs, constructEvent, createAppRequester, createGraph8AppClient, createGraph8ServiceClient, createTokenManager, exchangeBrowserToken, exchangeServiceToken, g8, isRetryableStatus, paginate, parseRetryAfter, request };