@graph8/sdk 0.294.1 → 0.295.2

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;
@@ -48394,6 +48396,8 @@ interface ApiOperationMap {
48394
48396
  start_date?: string | null;
48395
48397
  /** End date (YYYY-MM-DD) */
48396
48398
  end_date?: string | null;
48399
+ /** Viewer's IANA timezone (e.g. Asia/Karachi). start_date/end_date and the daily buckets are read as calendar days in it. Omit for UTC days. */
48400
+ tz?: string | null;
48397
48401
  };
48398
48402
  headers?: {
48399
48403
  "X-Org-Id"?: string | null;
@@ -48415,6 +48419,8 @@ interface ApiOperationMap {
48415
48419
  start_date?: string | null;
48416
48420
  /** End date (YYYY-MM-DD). Defaults to today. */
48417
48421
  end_date?: string | null;
48422
+ /** Viewer's IANA timezone (e.g. Asia/Karachi). start_date/end_date and the daily buckets are read as calendar days in it. Omit for UTC days. */
48423
+ tz?: string | null;
48418
48424
  };
48419
48425
  headers?: {
48420
48426
  "X-Org-Id"?: string | null;
@@ -48438,6 +48444,8 @@ interface ApiOperationMap {
48438
48444
  start_date?: string | null;
48439
48445
  /** End date (YYYY-MM-DD) */
48440
48446
  end_date?: string | null;
48447
+ /** Viewer's IANA timezone (e.g. Asia/Karachi). start_date/end_date and the daily buckets are read as calendar days in it. Omit for UTC days. */
48448
+ tz?: string | null;
48441
48449
  };
48442
48450
  headers?: {
48443
48451
  "X-Org-Id"?: string | null;
@@ -53162,6 +53170,8 @@ interface ApiOperationMap {
53162
53170
  start_date?: string | null;
53163
53171
  /** End date (YYYY-MM-DD) */
53164
53172
  end_date?: string | null;
53173
+ /** Viewer's IANA timezone (e.g. Asia/Karachi). start_date/end_date and the daily buckets are read as calendar days in it. Omit for UTC days. */
53174
+ tz?: string | null;
53165
53175
  };
53166
53176
  headers?: {
53167
53177
  "X-Org-Id"?: string | null;
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;
@@ -48394,6 +48396,8 @@ interface ApiOperationMap {
48394
48396
  start_date?: string | null;
48395
48397
  /** End date (YYYY-MM-DD) */
48396
48398
  end_date?: string | null;
48399
+ /** Viewer's IANA timezone (e.g. Asia/Karachi). start_date/end_date and the daily buckets are read as calendar days in it. Omit for UTC days. */
48400
+ tz?: string | null;
48397
48401
  };
48398
48402
  headers?: {
48399
48403
  "X-Org-Id"?: string | null;
@@ -48415,6 +48419,8 @@ interface ApiOperationMap {
48415
48419
  start_date?: string | null;
48416
48420
  /** End date (YYYY-MM-DD). Defaults to today. */
48417
48421
  end_date?: string | null;
48422
+ /** Viewer's IANA timezone (e.g. Asia/Karachi). start_date/end_date and the daily buckets are read as calendar days in it. Omit for UTC days. */
48423
+ tz?: string | null;
48418
48424
  };
48419
48425
  headers?: {
48420
48426
  "X-Org-Id"?: string | null;
@@ -48438,6 +48444,8 @@ interface ApiOperationMap {
48438
48444
  start_date?: string | null;
48439
48445
  /** End date (YYYY-MM-DD) */
48440
48446
  end_date?: string | null;
48447
+ /** Viewer's IANA timezone (e.g. Asia/Karachi). start_date/end_date and the daily buckets are read as calendar days in it. Omit for UTC days. */
48448
+ tz?: string | null;
48441
48449
  };
48442
48450
  headers?: {
48443
48451
  "X-Org-Id"?: string | null;
@@ -53162,6 +53170,8 @@ interface ApiOperationMap {
53162
53170
  start_date?: string | null;
53163
53171
  /** End date (YYYY-MM-DD) */
53164
53172
  end_date?: string | null;
53173
+ /** Viewer's IANA timezone (e.g. Asia/Karachi). start_date/end_date and the daily buckets are read as calendar days in it. Omit for UTC days. */
53174
+ tz?: string | null;
53165
53175
  };
53166
53176
  headers?: {
53167
53177
  "X-Org-Id"?: string | null;
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.1";
994
+ var SDK_VERSION = "0.295.2";
995
995
  var SDK_CLIENT_ID = `js-sdk/${SDK_VERSION}`;
996
996
 
997
997
  // src/http.ts