@graph8/sdk 0.294.0 → 0.295.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.mts CHANGED
@@ -19244,7 +19244,9 @@ interface QuoteContactCreateRequest {
19244
19244
  *
19245
19245
  * Mirrors ``CreateQuoteDTO``. At least one of ``signer_contact_id`` or
19246
19246
  * ``signer_email`` is required. ``line_items`` must be non-empty —
19247
- * zero-line quotes can't be invoiced.
19247
+ * zero-line quotes can't be invoiced. ``deal_id`` is required: every new
19248
+ * quote must be linked to an existing deal (422 otherwise); the company
19249
+ * defaults to the deal's company when omitted.
19248
19250
  */
19249
19251
  interface QuoteCreateRequest {
19250
19252
  accepted_payment_methods?: (Array<"ach" | "credit_card" | "wire">) | null;
@@ -19259,7 +19261,7 @@ interface QuoteCreateRequest {
19259
19261
  contract_months?: number | null;
19260
19262
  contract_start_date?: string | null;
19261
19263
  currency?: string;
19262
- deal_id?: string | null;
19264
+ deal_id: string;
19263
19265
  line_items: Array<QuoteLineItemRequest>;
19264
19266
  marketing_rights?: (Array<"logo" | "quote" | "case_study">) | null;
19265
19267
  mashup_company_id?: number | null;
@@ -22828,7 +22830,7 @@ interface SubmitScrapeRequest {
22828
22830
  requirement: string;
22829
22831
  /** Re-run rows that already have a result. */
22830
22832
  rescrape?: boolean;
22831
- /** Limit the run to these rows. */
22833
+ /** Limit the run to these rows. Omit it to run every row; an empty list is rejected. */
22832
22834
  row_ids?: Array<number> | null;
22833
22835
  /** Cold start: add these as rows in `source_column` before scraping. */
22834
22836
  seed_targets?: Array<string> | null;
@@ -46299,7 +46301,6 @@ interface ApiOperationMap {
46299
46301
  get_company_revenue_summary_stripe_companies__company_id__revenue_summary_get: {
46300
46302
  input: {
46301
46303
  path: {
46302
- /** graph8 company id. */
46303
46304
  company_id: number;
46304
46305
  };
46305
46306
  headers?: {
@@ -46367,7 +46368,6 @@ interface ApiOperationMap {
46367
46368
  get_company_stripe_invoices_stripe_companies__company_id__invoices_get: {
46368
46369
  input: {
46369
46370
  path: {
46370
- /** graph8 company id. */
46371
46371
  company_id: number;
46372
46372
  };
46373
46373
  query?: {
@@ -46389,7 +46389,6 @@ interface ApiOperationMap {
46389
46389
  get_company_stripe_subscriptions_stripe_companies__company_id__subscriptions_get: {
46390
46390
  input: {
46391
46391
  path: {
46392
- /** graph8 company id. */
46393
46392
  company_id: number;
46394
46393
  };
46395
46394
  headers?: {
package/dist/index.d.ts CHANGED
@@ -19244,7 +19244,9 @@ interface QuoteContactCreateRequest {
19244
19244
  *
19245
19245
  * Mirrors ``CreateQuoteDTO``. At least one of ``signer_contact_id`` or
19246
19246
  * ``signer_email`` is required. ``line_items`` must be non-empty —
19247
- * zero-line quotes can't be invoiced.
19247
+ * zero-line quotes can't be invoiced. ``deal_id`` is required: every new
19248
+ * quote must be linked to an existing deal (422 otherwise); the company
19249
+ * defaults to the deal's company when omitted.
19248
19250
  */
19249
19251
  interface QuoteCreateRequest {
19250
19252
  accepted_payment_methods?: (Array<"ach" | "credit_card" | "wire">) | null;
@@ -19259,7 +19261,7 @@ interface QuoteCreateRequest {
19259
19261
  contract_months?: number | null;
19260
19262
  contract_start_date?: string | null;
19261
19263
  currency?: string;
19262
- deal_id?: string | null;
19264
+ deal_id: string;
19263
19265
  line_items: Array<QuoteLineItemRequest>;
19264
19266
  marketing_rights?: (Array<"logo" | "quote" | "case_study">) | null;
19265
19267
  mashup_company_id?: number | null;
@@ -22828,7 +22830,7 @@ interface SubmitScrapeRequest {
22828
22830
  requirement: string;
22829
22831
  /** Re-run rows that already have a result. */
22830
22832
  rescrape?: boolean;
22831
- /** Limit the run to these rows. */
22833
+ /** Limit the run to these rows. Omit it to run every row; an empty list is rejected. */
22832
22834
  row_ids?: Array<number> | null;
22833
22835
  /** Cold start: add these as rows in `source_column` before scraping. */
22834
22836
  seed_targets?: Array<string> | null;
@@ -46299,7 +46301,6 @@ interface ApiOperationMap {
46299
46301
  get_company_revenue_summary_stripe_companies__company_id__revenue_summary_get: {
46300
46302
  input: {
46301
46303
  path: {
46302
- /** graph8 company id. */
46303
46304
  company_id: number;
46304
46305
  };
46305
46306
  headers?: {
@@ -46367,7 +46368,6 @@ interface ApiOperationMap {
46367
46368
  get_company_stripe_invoices_stripe_companies__company_id__invoices_get: {
46368
46369
  input: {
46369
46370
  path: {
46370
- /** graph8 company id. */
46371
46371
  company_id: number;
46372
46372
  };
46373
46373
  query?: {
@@ -46389,7 +46389,6 @@ interface ApiOperationMap {
46389
46389
  get_company_stripe_subscriptions_stripe_companies__company_id__subscriptions_get: {
46390
46390
  input: {
46391
46391
  path: {
46392
- /** graph8 company id. */
46393
46392
  company_id: number;
46394
46393
  };
46395
46394
  headers?: {
package/dist/index.js CHANGED
@@ -991,7 +991,7 @@ var EXTERNAL_ROUTES = {
991
991
  };
992
992
 
993
993
  // src/version.ts
994
- var SDK_VERSION = "0.294.0";
994
+ var SDK_VERSION = "0.295.1";
995
995
  var SDK_CLIENT_ID = `js-sdk/${SDK_VERSION}`;
996
996
 
997
997
  // src/http.ts