@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/react.d.mts CHANGED
@@ -18918,7 +18918,9 @@ interface QuoteContactCreateRequest {
18918
18918
  *
18919
18919
  * Mirrors ``CreateQuoteDTO``. At least one of ``signer_contact_id`` or
18920
18920
  * ``signer_email`` is required. ``line_items`` must be non-empty —
18921
- * zero-line quotes can't be invoiced.
18921
+ * zero-line quotes can't be invoiced. ``deal_id`` is required: every new
18922
+ * quote must be linked to an existing deal (422 otherwise); the company
18923
+ * defaults to the deal's company when omitted.
18922
18924
  */
18923
18925
  interface QuoteCreateRequest {
18924
18926
  accepted_payment_methods?: (Array<"ach" | "credit_card" | "wire">) | null;
@@ -18933,7 +18935,7 @@ interface QuoteCreateRequest {
18933
18935
  contract_months?: number | null;
18934
18936
  contract_start_date?: string | null;
18935
18937
  currency?: string;
18936
- deal_id?: string | null;
18938
+ deal_id: string;
18937
18939
  line_items: Array<QuoteLineItemRequest>;
18938
18940
  marketing_rights?: (Array<"logo" | "quote" | "case_study">) | null;
18939
18941
  mashup_company_id?: number | null;
@@ -22502,7 +22504,7 @@ interface SubmitScrapeRequest {
22502
22504
  requirement: string;
22503
22505
  /** Re-run rows that already have a result. */
22504
22506
  rescrape?: boolean;
22505
- /** Limit the run to these rows. */
22507
+ /** Limit the run to these rows. Omit it to run every row; an empty list is rejected. */
22506
22508
  row_ids?: Array<number> | null;
22507
22509
  /** Cold start: add these as rows in `source_column` before scraping. */
22508
22510
  seed_targets?: Array<string> | null;
@@ -43484,7 +43486,6 @@ interface ApiOperationMap {
43484
43486
  get_company_revenue_summary_stripe_companies__company_id__revenue_summary_get: {
43485
43487
  input: {
43486
43488
  path: {
43487
- /** graph8 company id. */
43488
43489
  company_id: number;
43489
43490
  };
43490
43491
  headers?: {
@@ -43552,7 +43553,6 @@ interface ApiOperationMap {
43552
43553
  get_company_stripe_invoices_stripe_companies__company_id__invoices_get: {
43553
43554
  input: {
43554
43555
  path: {
43555
- /** graph8 company id. */
43556
43556
  company_id: number;
43557
43557
  };
43558
43558
  query?: {
@@ -43574,7 +43574,6 @@ interface ApiOperationMap {
43574
43574
  get_company_stripe_subscriptions_stripe_companies__company_id__subscriptions_get: {
43575
43575
  input: {
43576
43576
  path: {
43577
- /** graph8 company id. */
43578
43577
  company_id: number;
43579
43578
  };
43580
43579
  headers?: {
package/dist/react.d.ts CHANGED
@@ -18918,7 +18918,9 @@ interface QuoteContactCreateRequest {
18918
18918
  *
18919
18919
  * Mirrors ``CreateQuoteDTO``. At least one of ``signer_contact_id`` or
18920
18920
  * ``signer_email`` is required. ``line_items`` must be non-empty —
18921
- * zero-line quotes can't be invoiced.
18921
+ * zero-line quotes can't be invoiced. ``deal_id`` is required: every new
18922
+ * quote must be linked to an existing deal (422 otherwise); the company
18923
+ * defaults to the deal's company when omitted.
18922
18924
  */
18923
18925
  interface QuoteCreateRequest {
18924
18926
  accepted_payment_methods?: (Array<"ach" | "credit_card" | "wire">) | null;
@@ -18933,7 +18935,7 @@ interface QuoteCreateRequest {
18933
18935
  contract_months?: number | null;
18934
18936
  contract_start_date?: string | null;
18935
18937
  currency?: string;
18936
- deal_id?: string | null;
18938
+ deal_id: string;
18937
18939
  line_items: Array<QuoteLineItemRequest>;
18938
18940
  marketing_rights?: (Array<"logo" | "quote" | "case_study">) | null;
18939
18941
  mashup_company_id?: number | null;
@@ -22502,7 +22504,7 @@ interface SubmitScrapeRequest {
22502
22504
  requirement: string;
22503
22505
  /** Re-run rows that already have a result. */
22504
22506
  rescrape?: boolean;
22505
- /** Limit the run to these rows. */
22507
+ /** Limit the run to these rows. Omit it to run every row; an empty list is rejected. */
22506
22508
  row_ids?: Array<number> | null;
22507
22509
  /** Cold start: add these as rows in `source_column` before scraping. */
22508
22510
  seed_targets?: Array<string> | null;
@@ -43484,7 +43486,6 @@ interface ApiOperationMap {
43484
43486
  get_company_revenue_summary_stripe_companies__company_id__revenue_summary_get: {
43485
43487
  input: {
43486
43488
  path: {
43487
- /** graph8 company id. */
43488
43489
  company_id: number;
43489
43490
  };
43490
43491
  headers?: {
@@ -43552,7 +43553,6 @@ interface ApiOperationMap {
43552
43553
  get_company_stripe_invoices_stripe_companies__company_id__invoices_get: {
43553
43554
  input: {
43554
43555
  path: {
43555
- /** graph8 company id. */
43556
43556
  company_id: number;
43557
43557
  };
43558
43558
  query?: {
@@ -43574,7 +43574,6 @@ interface ApiOperationMap {
43574
43574
  get_company_stripe_subscriptions_stripe_companies__company_id__subscriptions_get: {
43575
43575
  input: {
43576
43576
  path: {
43577
- /** graph8 company id. */
43578
43577
  company_id: number;
43579
43578
  };
43580
43579
  headers?: {
package/dist/react.js CHANGED
@@ -981,7 +981,7 @@ var EXTERNAL_ROUTES = {
981
981
  };
982
982
 
983
983
  // src/version.ts
984
- var SDK_VERSION = "0.294.0";
984
+ var SDK_VERSION = "0.295.1";
985
985
  var SDK_CLIENT_ID = `js-sdk/${SDK_VERSION}`;
986
986
 
987
987
  // src/http.ts