@unito/integration-api 0.45.0 → 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";
@@ -85,6 +86,7 @@ exports.StatusCode = void 0;
85
86
  StatusCode[StatusCode["NOT_ACCEPTABLE"] = 406] = "NOT_ACCEPTABLE";
86
87
  StatusCode[StatusCode["REQUEST_TIMEOUT"] = 408] = "REQUEST_TIMEOUT";
87
88
  StatusCode[StatusCode["UNPROCESSABLE_CONTENT"] = 422] = "UNPROCESSABLE_CONTENT";
89
+ StatusCode[StatusCode["LOCKED"] = 423] = "LOCKED";
88
90
  StatusCode[StatusCode["TOO_MANY_REQUESTS"] = 429] = "TOO_MANY_REQUESTS";
89
91
  StatusCode[StatusCode["INTERNAL_SERVER_ERROR"] = 500] = "INTERNAL_SERVER_ERROR";
90
92
  })(exports.StatusCode || (exports.StatusCode = {}));
@@ -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,
@@ -407,6 +407,7 @@ export declare enum StatusCode {
407
407
  NOT_ACCEPTABLE = 406,
408
408
  REQUEST_TIMEOUT = 408,
409
409
  UNPROCESSABLE_CONTENT = 422,
410
+ LOCKED = 423,
410
411
  TOO_MANY_REQUESTS = 429,
411
412
  INTERNAL_SERVER_ERROR = 500
412
413
  }
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";
@@ -83,6 +84,7 @@ export var StatusCode;
83
84
  StatusCode[StatusCode["NOT_ACCEPTABLE"] = 406] = "NOT_ACCEPTABLE";
84
85
  StatusCode[StatusCode["REQUEST_TIMEOUT"] = 408] = "REQUEST_TIMEOUT";
85
86
  StatusCode[StatusCode["UNPROCESSABLE_CONTENT"] = 422] = "UNPROCESSABLE_CONTENT";
87
+ StatusCode[StatusCode["LOCKED"] = 423] = "LOCKED";
86
88
  StatusCode[StatusCode["TOO_MANY_REQUESTS"] = 429] = "TOO_MANY_REQUESTS";
87
89
  StatusCode[StatusCode["INTERNAL_SERVER_ERROR"] = 500] = "INTERNAL_SERVER_ERROR";
88
90
  })(StatusCode || (StatusCode = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unito/integration-api",
3
- "version": "0.45.0",
3
+ "version": "0.46.0",
4
4
  "description": "The Unito Integration API",
5
5
  "type": "module",
6
6
  "types": "./dist/src/index.d.ts",