@unito/integration-api 0.45.1 → 0.46.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.
@@ -77,6 +77,7 @@ exports.StatusCode = void 0;
77
77
  (function (StatusCode) {
78
78
  StatusCode[StatusCode["OK"] = 200] = "OK";
79
79
  StatusCode[StatusCode["CREATED"] = 201] = "CREATED";
80
+ StatusCode[StatusCode["ACCEPTED"] = 202] = "ACCEPTED";
80
81
  StatusCode[StatusCode["NO_CONTENT"] = 204] = "NO_CONTENT";
81
82
  StatusCode[StatusCode["BAD_REQUEST"] = 400] = "BAD_REQUEST";
82
83
  StatusCode[StatusCode["UNAUTHORIZED"] = 401] = "UNAUTHORIZED";
@@ -1,4 +1,3 @@
1
- /// <reference types="node" resolution-mode="require"/>
2
1
  import stream from 'node:stream';
3
2
  /**
4
3
  * A Collection represents a paginated list of ItemSummary available through a Relation.
@@ -399,6 +398,7 @@ export interface RequestSchema {
399
398
  export declare enum StatusCode {
400
399
  OK = 200,
401
400
  CREATED = 201,
401
+ ACCEPTED = 202,
402
402
  NO_CONTENT = 204,
403
403
  BAD_REQUEST = 400,
404
404
  UNAUTHORIZED = 401,
package/dist/src/types.js CHANGED
@@ -75,6 +75,7 @@ export var StatusCode;
75
75
  (function (StatusCode) {
76
76
  StatusCode[StatusCode["OK"] = 200] = "OK";
77
77
  StatusCode[StatusCode["CREATED"] = 201] = "CREATED";
78
+ StatusCode[StatusCode["ACCEPTED"] = 202] = "ACCEPTED";
78
79
  StatusCode[StatusCode["NO_CONTENT"] = 204] = "NO_CONTENT";
79
80
  StatusCode[StatusCode["BAD_REQUEST"] = 400] = "BAD_REQUEST";
80
81
  StatusCode[StatusCode["UNAUTHORIZED"] = 401] = "UNAUTHORIZED";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unito/integration-api",
3
- "version": "0.45.1",
3
+ "version": "0.46.0",
4
4
  "description": "The Unito Integration API",
5
5
  "type": "module",
6
6
  "types": "./dist/src/index.d.ts",