@proofline/sdk 7.3.0 → 7.3.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/schema.d.ts CHANGED
@@ -33,7 +33,7 @@ export interface paths {
33
33
  };
34
34
  /**
35
35
  * Export review metadata
36
- * @description Returns one page of a version-1 export dataset (`reviews`, `finding_outcomes`, `finding_validations`, `spend` or `findings`) for an RFC3339 window of at most 31 days, as NDJSON by default or CSV. Rows respect the token's repository restriction.
36
+ * @description Returns one page of an export dataset (`reviews`, `finding_outcomes`, `finding_validations`, `spend` or `findings`) for an RFC3339 window of at most 31 days, as NDJSON by default or CSV. Each dataset has its own row version, which the `X-Proofline-Export-Version` response header states on every page, including a page with no rows. Rows respect the token's repository restriction.
37
37
  */
38
38
  get: operations["export_reviews"];
39
39
  put?: never;
@@ -4159,7 +4159,7 @@ export interface operations {
4159
4159
  "X-Proofline-Export-Next-Cursor"?: string;
4160
4160
  /** @description Frozen RFC3339 horizon, five minutes before the first request. */
4161
4161
  "X-Proofline-Export-Settled-Until": string;
4162
- /** @description Dataset version 1. */
4162
+ /** @description The row version of the selected dataset, sent on every page, including a page with no rows: `reviews` 1, `finding_outcomes` 1, `finding_validations` 2, `spend` 1, `findings` 2. */
4163
4163
  "X-Proofline-Export-Version": string;
4164
4164
  [name: string]: unknown;
4165
4165
  };
package/dist/transport.js CHANGED
@@ -1,4 +1,4 @@
1
- const VERSION = "7.3.0";
1
+ const VERSION = "7.3.1";
2
2
  const DEFAULT_BASE_URL = "https://proofline.sh";
3
3
  const MAX_RESPONSE_BYTES = 8 * 1024 * 1024;
4
4
  const MAX_RETRIES = 3;
@@ -7206,7 +7206,7 @@
7206
7206
  },
7207
7207
  "/api/v1/organizations/{org_id}/exports/{dataset}": {
7208
7208
  "get": {
7209
- "description": "Returns one page of a version-1 export dataset (`reviews`, `finding_outcomes`, `finding_validations`, `spend` or `findings`) for an RFC3339 window of at most 31 days, as NDJSON by default or CSV. Rows respect the token's repository restriction.",
7209
+ "description": "Returns one page of an export dataset (`reviews`, `finding_outcomes`, `finding_validations`, `spend` or `findings`) for an RFC3339 window of at most 31 days, as NDJSON by default or CSV. Each dataset has its own row version, which the `X-Proofline-Export-Version` response header states on every page, including a page with no rows. Rows respect the token's repository restriction.",
7210
7210
  "operationId": "export_reviews",
7211
7211
  "parameters": [
7212
7212
  {
@@ -7336,7 +7336,7 @@
7336
7336
  "style": "simple"
7337
7337
  },
7338
7338
  "X-Proofline-Export-Version": {
7339
- "description": "Dataset version 1.",
7339
+ "description": "The row version of the selected dataset, sent on every page, including a page with no rows: `reviews` 1, `finding_outcomes` 1, `finding_validations` 2, `spend` 1, `findings` 2.",
7340
7340
  "required": true,
7341
7341
  "schema": {
7342
7342
  "$schema": "https://json-schema.org/draft/2020-12/schema",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@proofline/sdk",
3
- "version": "7.3.0",
3
+ "version": "7.3.1",
4
4
  "description": "Typed clients for the token-scoped Proofline review API",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",