@graph8/sdk 0.264.0 → 0.277.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.
Files changed (165) hide show
  1. package/README.md +3 -3
  2. package/dist/index.d.mts +140 -24
  3. package/dist/index.d.ts +140 -24
  4. package/dist/index.js +14 -5
  5. package/dist/index.js.map +1 -1
  6. package/dist/index.mjs +14 -5
  7. package/dist/index.mjs.map +1 -1
  8. package/dist/react.d.mts +139 -22
  9. package/dist/react.d.ts +139 -22
  10. package/dist/react.js +13 -4
  11. package/dist/react.js.map +1 -1
  12. package/dist/react.mjs +13 -4
  13. package/dist/react.mjs.map +1 -1
  14. package/dist/types/core.d.ts +3 -1
  15. package/dist/types/enrich.d.ts +11 -4
  16. package/dist/types/index.d.ts +1 -1
  17. package/dist/types/react.d.ts +7 -3
  18. package/dist/types/search.d.ts +25 -1
  19. package/dist/types/version.d.ts +2 -2
  20. package/dist/types/webhooks.d.ts +2 -2
  21. package/docs/agents.md +7 -6
  22. package/docs/api/README.md +2 -2
  23. package/docs/api/accounts.d.ts +6 -0
  24. package/docs/api/adCampaigns.d.ts +6 -0
  25. package/docs/api/adCreatives.d.ts +6 -0
  26. package/docs/api/agency.d.ts +6 -0
  27. package/docs/api/agent.d.ts +6 -0
  28. package/docs/api/agents.d.ts +6 -0
  29. package/docs/api/aiInbox.d.ts +6 -0
  30. package/docs/api/analytics.d.ts +6 -0
  31. package/docs/api/apiKeys.d.ts +6 -0
  32. package/docs/api/appDeployments.d.ts +6 -0
  33. package/docs/api/appDomains.d.ts +6 -0
  34. package/docs/api/appLogs.d.ts +6 -0
  35. package/docs/api/appObjects.d.ts +6 -0
  36. package/docs/api/appPages.d.ts +6 -0
  37. package/docs/api/appPlatformTokens.d.ts +6 -0
  38. package/docs/api/appointments.d.ts +20 -2
  39. package/docs/api/appointments.md +27 -11
  40. package/docs/api/apps.d.ts +6 -0
  41. package/docs/api/apps.md +7 -5
  42. package/docs/api/assertUpsert.d.ts +12 -0
  43. package/docs/api/assertUpsert.md +4 -0
  44. package/docs/api/audienceSyncs.d.ts +6 -0
  45. package/docs/api/brandKit.d.ts +6 -0
  46. package/docs/api/bugReports.d.ts +6 -0
  47. package/docs/api/by-path.md +1 -0
  48. package/docs/api/calendarInvites.d.ts +6 -0
  49. package/docs/api/campaignWorkflows.d.ts +6 -0
  50. package/docs/api/campaigns.d.ts +6 -0
  51. package/docs/api/channels.d.ts +6 -0
  52. package/docs/api/cliCampaigns.d.ts +6 -0
  53. package/docs/api/cliPipelines.d.ts +6 -0
  54. package/docs/api/clickHouse.d.ts +6 -0
  55. package/docs/api/companies.d.ts +10 -2
  56. package/docs/api/companies.md +9 -2
  57. package/docs/api/companyIntelligence.d.ts +6 -0
  58. package/docs/api/contacts.d.ts +19 -4
  59. package/docs/api/contacts.md +13 -5
  60. package/docs/api/content.d.ts +6 -0
  61. package/docs/api/contentGridSkills.d.ts +6 -0
  62. package/docs/api/copilot.d.ts +6 -0
  63. package/docs/api/crmSyncs.d.ts +6 -0
  64. package/docs/api/customerSuccess.d.ts +6 -0
  65. package/docs/api/deals.d.ts +6 -0
  66. package/docs/api/deliverability.d.ts +6 -0
  67. package/docs/api/desk.d.ts +6 -0
  68. package/docs/api/dialer.d.ts +6 -0
  69. package/docs/api/documents.d.ts +6 -0
  70. package/docs/api/duplicates.d.ts +6 -0
  71. package/docs/api/eSignature.d.ts +6 -0
  72. package/docs/api/enrichment.d.ts +6 -0
  73. package/docs/api/events.d.ts +6 -0
  74. package/docs/api/fields.d.ts +6 -0
  75. package/docs/api/forms.d.ts +6 -0
  76. package/docs/api/gtmCampaigns.d.ts +6 -0
  77. package/docs/api/gtmContext.d.ts +6 -0
  78. package/docs/api/gtmDeliverability.d.ts +6 -0
  79. package/docs/api/gtmKnowledgeBase.d.ts +6 -0
  80. package/docs/api/gtmLibrary.d.ts +6 -0
  81. package/docs/api/imageLibrary.d.ts +6 -0
  82. package/docs/api/imports.d.ts +6 -0
  83. package/docs/api/inbox.d.ts +6 -0
  84. package/docs/api/install.d.ts +6 -0
  85. package/docs/api/installedApps.d.ts +6 -0
  86. package/docs/api/integrationStatus.d.ts +6 -0
  87. package/docs/api/integrations.d.ts +6 -0
  88. package/docs/api/intent.d.ts +6 -0
  89. package/docs/api/knowledge.d.ts +6 -0
  90. package/docs/api/knowledgeBase.d.ts +6 -0
  91. package/docs/api/landingPages.d.ts +6 -0
  92. package/docs/api/leads.d.ts +6 -0
  93. package/docs/api/library.d.ts +6 -0
  94. package/docs/api/linkedIn.d.ts +6 -0
  95. package/docs/api/linkedInOutreach.d.ts +6 -0
  96. package/docs/api/lists.d.ts +13 -0
  97. package/docs/api/lists.md +7 -0
  98. package/docs/api/logs.d.ts +6 -0
  99. package/docs/api/mailboxes.d.ts +6 -0
  100. package/docs/api/marketplace.d.ts +6 -0
  101. package/docs/api/mcp.d.ts +6 -0
  102. package/docs/api/me.d.ts +6 -0
  103. package/docs/api/meetings.d.ts +6 -0
  104. package/docs/api/newsletter.d.ts +6 -0
  105. package/docs/api/notes.d.ts +6 -0
  106. package/docs/api/notifications.d.ts +6 -0
  107. package/docs/api/objects.d.ts +6 -0
  108. package/docs/api/openSearch.d.ts +6 -0
  109. package/docs/api/ops.d.ts +6 -0
  110. package/docs/api/orgGovernance.d.ts +6 -0
  111. package/docs/api/orgVideos.d.ts +6 -0
  112. package/docs/api/organizationSettings.d.ts +6 -0
  113. package/docs/api/phoneNumbers.d.ts +6 -0
  114. package/docs/api/profile.d.ts +6 -0
  115. package/docs/api/programmaticPages.d.ts +6 -0
  116. package/docs/api/providerDomains.d.ts +6 -0
  117. package/docs/api/providerUsage.d.ts +6 -0
  118. package/docs/api/public.d.ts +6 -0
  119. package/docs/api/publicCopilot.d.ts +6 -0
  120. package/docs/api/publicSignals.d.ts +6 -0
  121. package/docs/api/publicVisitors.d.ts +6 -0
  122. package/docs/api/quotes.d.ts +6 -0
  123. package/docs/api/radarReports.d.ts +6 -0
  124. package/docs/api/recordRoles.d.ts +6 -0
  125. package/docs/api/repos.d.ts +6 -0
  126. package/docs/api/research.d.ts +6 -0
  127. package/docs/api/revenue.d.ts +6 -0
  128. package/docs/api/revenueAnalytics.d.ts +6 -0
  129. package/docs/api/revenueLifecycle.d.ts +11 -1
  130. package/docs/api/revenueLifecycle.md +11 -2
  131. package/docs/api/revenueRecords.d.ts +6 -0
  132. package/docs/api/roles.d.ts +49 -2
  133. package/docs/api/roles.md +65 -1
  134. package/docs/api/salesCoach.d.ts +6 -0
  135. package/docs/api/scans.d.ts +6 -0
  136. package/docs/api/scheduleBuy.d.ts +6 -0
  137. package/docs/api/scraping.d.ts +6 -0
  138. package/docs/api/search.d.ts +9 -1
  139. package/docs/api/search.md +3 -2
  140. package/docs/api/seo.d.ts +6 -0
  141. package/docs/api/sequenceLifecycle.d.ts +6 -0
  142. package/docs/api/sequences.d.ts +6 -0
  143. package/docs/api/settings.d.ts +6 -0
  144. package/docs/api/signals.d.ts +6 -0
  145. package/docs/api/signatures.d.ts +6 -0
  146. package/docs/api/snippet.d.ts +6 -0
  147. package/docs/api/socialPublishing.d.ts +6 -0
  148. package/docs/api/studioDocuments.d.ts +6 -0
  149. package/docs/api/support.d.ts +6 -0
  150. package/docs/api/suppressions.d.ts +6 -0
  151. package/docs/api/surveys.d.ts +6 -0
  152. package/docs/api/tasks.d.ts +6 -0
  153. package/docs/api/teamMembers.d.ts +6 -0
  154. package/docs/api/teams.d.ts +6 -0
  155. package/docs/api/usage.d.ts +6 -0
  156. package/docs/api/visitors.d.ts +6 -0
  157. package/docs/api/voice.d.ts +6 -0
  158. package/docs/api/webChat.d.ts +6 -0
  159. package/docs/api/webhooks.d.ts +6 -0
  160. package/docs/api/websiteEditor.d.ts +6 -0
  161. package/docs/api/work.d.ts +6 -0
  162. package/docs/api/workbench.d.ts +6 -0
  163. package/docs/api/workflows.d.ts +6 -0
  164. package/docs/sdk-clients.md +5 -5
  165. package/package.json +1 -1
@@ -215,10 +215,16 @@ export interface PaginationMeta {
215
215
  limit: number;
216
216
  /** Opaque cursor for the next page; null when there are no more items. Pass it back as the `cursor` query param to fetch the following page without computing page numbers. */
217
217
  next_cursor?: string | null;
218
+ /** Search endpoints only: plain-language notes about the result, e.g. that more records match than can be paged, or that a reversed `between` range was put in order. */
219
+ notes?: Array<string> | null;
218
220
  /** Current page number (1-indexed) */
219
221
  page: number;
220
222
  /** Total number of items */
221
223
  total: number;
224
+ /** Search endpoints only: how many records really match, when known. Can be larger than `total`, which is capped at the 10,000 results that can be paged. For company search this is a distinct-company estimate. Null when unknown; absent outside search. */
225
+ total_available?: number | null;
226
+ /** Search endpoints only: true when more records match than `total` shows (the result set is larger than the 10,000 results that can be paged). Absent outside search. */
227
+ total_is_lower_bound?: boolean | null;
222
228
  }
223
229
 
224
230
  /**
@@ -83,8 +83,14 @@ export interface PaginationMeta {
83
83
  limit: number;
84
84
  /** Opaque cursor for the next page; null when there are no more items. Pass it back as the `cursor` query param to fetch the following page without computing page numbers. */
85
85
  next_cursor?: string | null;
86
+ /** Search endpoints only: plain-language notes about the result, e.g. that more records match than can be paged, or that a reversed `between` range was put in order. */
87
+ notes?: Array<string> | null;
86
88
  /** Current page number (1-indexed) */
87
89
  page: number;
88
90
  /** Total number of items */
89
91
  total: number;
92
+ /** Search endpoints only: how many records really match, when known. Can be larger than `total`, which is capped at the 10,000 results that can be paged. For company search this is a distinct-company estimate. Null when unknown; absent outside search. */
93
+ total_available?: number | null;
94
+ /** Search endpoints only: true when more records match than `total` shows (the result set is larger than the 10,000 results that can be paged). Absent outside search. */
95
+ total_is_lower_bound?: boolean | null;
90
96
  }
@@ -178,10 +178,16 @@ export interface PaginationMeta {
178
178
  limit: number;
179
179
  /** Opaque cursor for the next page; null when there are no more items. Pass it back as the `cursor` query param to fetch the following page without computing page numbers. */
180
180
  next_cursor?: string | null;
181
+ /** Search endpoints only: plain-language notes about the result, e.g. that more records match than can be paged, or that a reversed `between` range was put in order. */
182
+ notes?: Array<string> | null;
181
183
  /** Current page number (1-indexed) */
182
184
  page: number;
183
185
  /** Total number of items */
184
186
  total: number;
187
+ /** Search endpoints only: how many records really match, when known. Can be larger than `total`, which is capped at the 10,000 results that can be paged. For company search this is a distinct-company estimate. Null when unknown; absent outside search. */
188
+ total_available?: number | null;
189
+ /** Search endpoints only: true when more records match than `total` shows (the result set is larger than the 10,000 results that can be paged). Absent outside search. */
190
+ total_is_lower_bound?: boolean | null;
185
191
  }
186
192
 
187
193
  export interface ReinstateSkip {
@@ -621,10 +621,16 @@ export interface PaginationMeta {
621
621
  limit: number;
622
622
  /** Opaque cursor for the next page; null when there are no more items. Pass it back as the `cursor` query param to fetch the following page without computing page numbers. */
623
623
  next_cursor?: string | null;
624
+ /** Search endpoints only: plain-language notes about the result, e.g. that more records match than can be paged, or that a reversed `between` range was put in order. */
625
+ notes?: Array<string> | null;
624
626
  /** Current page number (1-indexed) */
625
627
  page: number;
626
628
  /** Total number of items */
627
629
  total: number;
630
+ /** Search endpoints only: how many records really match, when known. Can be larger than `total`, which is capped at the 10,000 results that can be paged. For company search this is a distinct-company estimate. Null when unknown; absent outside search. */
631
+ total_available?: number | null;
632
+ /** Search endpoints only: true when more records match than `total` shows (the result set is larger than the 10,000 results that can be paged). Absent outside search. */
633
+ total_is_lower_bound?: boolean | null;
628
634
  }
629
635
 
630
636
  export interface PerSurveyDTO {
@@ -561,10 +561,16 @@ export interface PaginationMeta {
561
561
  limit: number;
562
562
  /** Opaque cursor for the next page; null when there are no more items. Pass it back as the `cursor` query param to fetch the following page without computing page numbers. */
563
563
  next_cursor?: string | null;
564
+ /** Search endpoints only: plain-language notes about the result, e.g. that more records match than can be paged, or that a reversed `between` range was put in order. */
565
+ notes?: Array<string> | null;
564
566
  /** Current page number (1-indexed) */
565
567
  page: number;
566
568
  /** Total number of items */
567
569
  total: number;
570
+ /** Search endpoints only: how many records really match, when known. Can be larger than `total`, which is capped at the 10,000 results that can be paged. For company search this is a distinct-company estimate. Null when unknown; absent outside search. */
571
+ total_available?: number | null;
572
+ /** Search endpoints only: true when more records match than `total` shows (the result set is larger than the 10,000 results that can be paged). Absent outside search. */
573
+ total_is_lower_bound?: boolean | null;
568
574
  }
569
575
 
570
576
  /**
@@ -661,8 +661,14 @@ export interface PaginationMeta {
661
661
  limit: number;
662
662
  /** Opaque cursor for the next page; null when there are no more items. Pass it back as the `cursor` query param to fetch the following page without computing page numbers. */
663
663
  next_cursor?: string | null;
664
+ /** Search endpoints only: plain-language notes about the result, e.g. that more records match than can be paged, or that a reversed `between` range was put in order. */
665
+ notes?: Array<string> | null;
664
666
  /** Current page number (1-indexed) */
665
667
  page: number;
666
668
  /** Total number of items */
667
669
  total: number;
670
+ /** Search endpoints only: how many records really match, when known. Can be larger than `total`, which is capped at the 10,000 results that can be paged. For company search this is a distinct-company estimate. Null when unknown; absent outside search. */
671
+ total_available?: number | null;
672
+ /** Search endpoints only: true when more records match than `total` shows (the result set is larger than the 10,000 results that can be paged). Absent outside search. */
673
+ total_is_lower_bound?: boolean | null;
668
674
  }
@@ -709,10 +709,16 @@ export interface PaginationMeta {
709
709
  limit: number;
710
710
  /** Opaque cursor for the next page; null when there are no more items. Pass it back as the `cursor` query param to fetch the following page without computing page numbers. */
711
711
  next_cursor?: string | null;
712
+ /** Search endpoints only: plain-language notes about the result, e.g. that more records match than can be paged, or that a reversed `between` range was put in order. */
713
+ notes?: Array<string> | null;
712
714
  /** Current page number (1-indexed) */
713
715
  page: number;
714
716
  /** Total number of items */
715
717
  total: number;
718
+ /** Search endpoints only: how many records really match, when known. Can be larger than `total`, which is capped at the 10,000 results that can be paged. For company search this is a distinct-company estimate. Null when unknown; absent outside search. */
719
+ total_available?: number | null;
720
+ /** Search endpoints only: true when more records match than `total` shows (the result set is larger than the 10,000 results that can be paged). Absent outside search. */
721
+ total_is_lower_bound?: boolean | null;
716
722
  }
717
723
 
718
724
  /**
@@ -209,10 +209,16 @@ export interface PaginationMeta {
209
209
  limit: number;
210
210
  /** Opaque cursor for the next page; null when there are no more items. Pass it back as the `cursor` query param to fetch the following page without computing page numbers. */
211
211
  next_cursor?: string | null;
212
+ /** Search endpoints only: plain-language notes about the result, e.g. that more records match than can be paged, or that a reversed `between` range was put in order. */
213
+ notes?: Array<string> | null;
212
214
  /** Current page number (1-indexed) */
213
215
  page: number;
214
216
  /** Total number of items */
215
217
  total: number;
218
+ /** Search endpoints only: how many records really match, when known. Can be larger than `total`, which is capped at the 10,000 results that can be paged. For company search this is a distinct-company estimate. Null when unknown; absent outside search. */
219
+ total_available?: number | null;
220
+ /** Search endpoints only: true when more records match than `total` shows (the result set is larger than the 10,000 results that can be paged). Absent outside search. */
221
+ total_is_lower_bound?: boolean | null;
216
222
  }
217
223
 
218
224
  /**
@@ -576,10 +576,16 @@ export interface PaginationMeta {
576
576
  limit: number;
577
577
  /** Opaque cursor for the next page; null when there are no more items. Pass it back as the `cursor` query param to fetch the following page without computing page numbers. */
578
578
  next_cursor?: string | null;
579
+ /** Search endpoints only: plain-language notes about the result, e.g. that more records match than can be paged, or that a reversed `between` range was put in order. */
580
+ notes?: Array<string> | null;
579
581
  /** Current page number (1-indexed) */
580
582
  page: number;
581
583
  /** Total number of items */
582
584
  total: number;
585
+ /** Search endpoints only: how many records really match, when known. Can be larger than `total`, which is capped at the 10,000 results that can be paged. For company search this is a distinct-company estimate. Null when unknown; absent outside search. */
586
+ total_available?: number | null;
587
+ /** Search endpoints only: true when more records match than `total` shows (the result set is larger than the 10,000 results that can be paged). Absent outside search. */
588
+ total_is_lower_bound?: boolean | null;
583
589
  }
584
590
 
585
591
  /** One handler response. Open-shaped - these payloads come from the tracking pipeline. */
@@ -4308,10 +4308,16 @@ export interface PaginationMeta {
4308
4308
  limit: number;
4309
4309
  /** Opaque cursor for the next page; null when there are no more items. Pass it back as the `cursor` query param to fetch the following page without computing page numbers. */
4310
4310
  next_cursor?: string | null;
4311
+ /** Search endpoints only: plain-language notes about the result, e.g. that more records match than can be paged, or that a reversed `between` range was put in order. */
4312
+ notes?: Array<string> | null;
4311
4313
  /** Current page number (1-indexed) */
4312
4314
  page: number;
4313
4315
  /** Total number of items */
4314
4316
  total: number;
4317
+ /** Search endpoints only: how many records really match, when known. Can be larger than `total`, which is capped at the 10,000 results that can be paged. For company search this is a distinct-company estimate. Null when unknown; absent outside search. */
4318
+ total_available?: number | null;
4319
+ /** Search endpoints only: true when more records match than `total` shows (the result set is larger than the 10,000 results that can be paged). Absent outside search. */
4320
+ total_is_lower_bound?: boolean | null;
4315
4321
  }
4316
4322
 
4317
4323
  /**
@@ -1549,10 +1549,16 @@ export interface PaginationMeta {
1549
1549
  limit: number;
1550
1550
  /** Opaque cursor for the next page; null when there are no more items. Pass it back as the `cursor` query param to fetch the following page without computing page numbers. */
1551
1551
  next_cursor?: string | null;
1552
+ /** Search endpoints only: plain-language notes about the result, e.g. that more records match than can be paged, or that a reversed `between` range was put in order. */
1553
+ notes?: Array<string> | null;
1552
1554
  /** Current page number (1-indexed) */
1553
1555
  page: number;
1554
1556
  /** Total number of items */
1555
1557
  total: number;
1558
+ /** Search endpoints only: how many records really match, when known. Can be larger than `total`, which is capped at the 10,000 results that can be paged. For company search this is a distinct-company estimate. Null when unknown; absent outside search. */
1559
+ total_available?: number | null;
1560
+ /** Search endpoints only: true when more records match than `total` shows (the result set is larger than the 10,000 results that can be paged). Absent outside search. */
1561
+ total_is_lower_bound?: boolean | null;
1556
1562
  }
1557
1563
 
1558
1564
  /**
@@ -194,10 +194,16 @@ export interface PaginationMeta {
194
194
  limit: number;
195
195
  /** Opaque cursor for the next page; null when there are no more items. Pass it back as the `cursor` query param to fetch the following page without computing page numbers. */
196
196
  next_cursor?: string | null;
197
+ /** Search endpoints only: plain-language notes about the result, e.g. that more records match than can be paged, or that a reversed `between` range was put in order. */
198
+ notes?: Array<string> | null;
197
199
  /** Current page number (1-indexed) */
198
200
  page: number;
199
201
  /** Total number of items */
200
202
  total: number;
203
+ /** Search endpoints only: how many records really match, when known. Can be larger than `total`, which is capped at the 10,000 results that can be paged. For company search this is a distinct-company estimate. Null when unknown; absent outside search. */
204
+ total_available?: number | null;
205
+ /** Search endpoints only: true when more records match than `total` shows (the result set is larger than the 10,000 results that can be paged). Absent outside search. */
206
+ total_is_lower_bound?: boolean | null;
201
207
  }
202
208
 
203
209
  export interface WebhookCreateRequest {
@@ -241,10 +241,16 @@ export interface PaginationMeta {
241
241
  limit: number;
242
242
  /** Opaque cursor for the next page; null when there are no more items. Pass it back as the `cursor` query param to fetch the following page without computing page numbers. */
243
243
  next_cursor?: string | null;
244
+ /** Search endpoints only: plain-language notes about the result, e.g. that more records match than can be paged, or that a reversed `between` range was put in order. */
245
+ notes?: Array<string> | null;
244
246
  /** Current page number (1-indexed) */
245
247
  page: number;
246
248
  /** Total number of items */
247
249
  total: number;
250
+ /** Search endpoints only: how many records really match, when known. Can be larger than `total`, which is capped at the 10,000 results that can be paged. For company search this is a distinct-company estimate. Null when unknown; absent outside search. */
251
+ total_available?: number | null;
252
+ /** Search endpoints only: true when more records match than `total` shows (the result set is larger than the 10,000 results that can be paged). Absent outside search. */
253
+ total_is_lower_bound?: boolean | null;
248
254
  }
249
255
 
250
256
  /**
@@ -1311,10 +1311,16 @@ export interface PaginationMeta {
1311
1311
  limit: number;
1312
1312
  /** Opaque cursor for the next page; null when there are no more items. Pass it back as the `cursor` query param to fetch the following page without computing page numbers. */
1313
1313
  next_cursor?: string | null;
1314
+ /** Search endpoints only: plain-language notes about the result, e.g. that more records match than can be paged, or that a reversed `between` range was put in order. */
1315
+ notes?: Array<string> | null;
1314
1316
  /** Current page number (1-indexed) */
1315
1317
  page: number;
1316
1318
  /** Total number of items */
1317
1319
  total: number;
1320
+ /** Search endpoints only: how many records really match, when known. Can be larger than `total`, which is capped at the 10,000 results that can be paged. For company search this is a distinct-company estimate. Null when unknown; absent outside search. */
1321
+ total_available?: number | null;
1322
+ /** Search endpoints only: true when more records match than `total` shows (the result set is larger than the 10,000 results that can be paged). Absent outside search. */
1323
+ total_is_lower_bound?: boolean | null;
1318
1324
  }
1319
1325
 
1320
1326
  /** One entry in the Work activity feed. */
@@ -2404,10 +2404,16 @@ export interface PaginationMeta {
2404
2404
  limit: number;
2405
2405
  /** Opaque cursor for the next page; null when there are no more items. Pass it back as the `cursor` query param to fetch the following page without computing page numbers. */
2406
2406
  next_cursor?: string | null;
2407
+ /** Search endpoints only: plain-language notes about the result, e.g. that more records match than can be paged, or that a reversed `between` range was put in order. */
2408
+ notes?: Array<string> | null;
2407
2409
  /** Current page number (1-indexed) */
2408
2410
  page: number;
2409
2411
  /** Total number of items */
2410
2412
  total: number;
2413
+ /** Search endpoints only: how many records really match, when known. Can be larger than `total`, which is capped at the 10,000 results that can be paged. For company search this is a distinct-company estimate. Null when unknown; absent outside search. */
2414
+ total_available?: number | null;
2415
+ /** Search endpoints only: true when more records match than `total` shows (the result set is larger than the 10,000 results that can be paged). Absent outside search. */
2416
+ total_is_lower_bound?: boolean | null;
2411
2417
  }
2412
2418
 
2413
2419
  /** Import a rectangle of values - the paste path, no file involved. */
@@ -1174,10 +1174,16 @@ export interface PaginationMeta {
1174
1174
  limit: number;
1175
1175
  /** Opaque cursor for the next page; null when there are no more items. Pass it back as the `cursor` query param to fetch the following page without computing page numbers. */
1176
1176
  next_cursor?: string | null;
1177
+ /** Search endpoints only: plain-language notes about the result, e.g. that more records match than can be paged, or that a reversed `between` range was put in order. */
1178
+ notes?: Array<string> | null;
1177
1179
  /** Current page number (1-indexed) */
1178
1180
  page: number;
1179
1181
  /** Total number of items */
1180
1182
  total: number;
1183
+ /** Search endpoints only: how many records really match, when known. Can be larger than `total`, which is capped at the 10,000 results that can be paged. For company search this is a distinct-company estimate. Null when unknown; absent outside search. */
1184
+ total_available?: number | null;
1185
+ /** Search endpoints only: true when more records match than `total` shows (the result set is larger than the 10,000 results that can be paged). Absent outside search. */
1186
+ total_is_lower_bound?: boolean | null;
1181
1187
  }
1182
1188
 
1183
1189
  /** voice `SkillTestRunRequest`: one dry run, from a saved case OR ad-hoc inputs. */
@@ -1320,7 +1320,7 @@ Types: `dist/types/enrich.d.ts`
1320
1320
  g8.enrich.company: (params: { domain?: string; name?: string; }) => Promise<CompanyEnrichment>
1321
1321
  ```
1322
1322
 
1323
- Look up a company by domain or name. Costs 1 credit.
1323
+ Look up a company by domain or name. Costs 2 credits per lookup, charged even when no match is found (`found: false`).
1324
1324
 
1325
1325
  - Calls `POST /api/v1/enrichment/lookup/company` ([`g8.api.enrichment.lookupCompany`](api/enrichment.md#op-lookupcompany), tier `billable`, scope `enrichment:run`)
1326
1326
 
@@ -1334,7 +1334,7 @@ Look up a company by domain or name. Costs 1 credit.
1334
1334
  g8.enrich.person: (params: { email?: string; linkedin_url?: string; first_name?: string; last_name?: string; company_domain?: string; }) => Promise<PersonEnrichment>
1335
1335
  ```
1336
1336
 
1337
- Look up a person by email, LinkedIn, or name + company. Costs 1 credit.
1337
+ Look up a person by email, LinkedIn, or name + company. Costs 2 credits per lookup, charged even when no match is found (`found: false`).
1338
1338
 
1339
1339
  - Calls `POST /api/v1/enrichment/lookup/person` ([`g8.api.enrichment.lookupPerson`](api/enrichment.md#op-lookupperson), tier `billable`, scope `enrichment:run`)
1340
1340
 
@@ -1348,7 +1348,7 @@ Look up a person by email, LinkedIn, or name + company. Costs 1 credit.
1348
1348
  g8.enrich.search: (filters: SearchFilter[], page?: number, limit?: number) => Promise<SearchResults>
1349
1349
  ```
1350
1350
 
1351
- Search 700M+ contacts with filters. Credits charged per result.
1351
+ Search 700M+ contacts with filters. Does not consume credits.
1352
1352
 
1353
1353
  - Calls `POST /api/v1/search/contacts` ([`g8.api.search.searchContacts`](api/search.md#op-searchcontacts), tier `billable`, scope `search:run`)
1354
1354
 
@@ -3025,7 +3025,7 @@ Types: `dist/types/search.d.ts`
3025
3025
  ### `g8.search.companies`
3026
3026
 
3027
3027
  ```ts
3028
- g8.search.companies: (params?: SearchParams) => Promise<{ data: SearchCompanyItem[]; }>
3028
+ g8.search.companies: (params?: SearchParams) => Promise<{ data: SearchCompanyItem[]; pagination?: SearchPagination; }>
3029
3029
  ```
3030
3030
 
3031
3031
  Search open-data companies by filter.
@@ -3039,7 +3039,7 @@ Search open-data companies by filter.
3039
3039
  ### `g8.search.contacts`
3040
3040
 
3041
3041
  ```ts
3042
- g8.search.contacts: (params?: SearchParams) => Promise<{ data: SearchContactItem[]; }>
3042
+ g8.search.contacts: (params?: SearchParams) => Promise<{ data: SearchContactItem[]; pagination?: SearchPagination; }>
3043
3043
  ```
3044
3044
 
3045
3045
  Search open-data contacts by filter.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graph8/sdk",
3
- "version": "0.264.0",
3
+ "version": "0.277.0",
4
4
  "description": "graph8 SDK - CRM, enrichment, sequences, campaigns, and tracking for B2B",
5
5
  "license": "MIT",
6
6
  "author": "graph8 <support@graph8.com> (https://graph8.com)",