@readyfor/api-client-base 1.69.0 → 1.70.0-pr1451.808d501

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.
@@ -1,5 +1,5 @@
1
1
  //#region src/apiError.d.ts
2
- type ErrorStatusCode = 301 | 302 | 400 | 401 | 403 | 404 | 409 | 413 | 418 | 422 | 500 | 502 | 503 | 504 | 901 | 999;
2
+ type ErrorStatusCode = 301 | 302 | 400 | 401 | 403 | 404 | 409 | 413 | 418 | 422 | 500 | 502 | 503 | 504 | 540 | 901 | 999;
3
3
  declare const errorStatusCode: {
4
4
  readonly MOVED_PERMANENTLY: 301;
5
5
  readonly FOUND: 302;
@@ -15,6 +15,7 @@ declare const errorStatusCode: {
15
15
  readonly BAD_GATEWAY: 502;
16
16
  readonly SERVER_UNAVAILABLE: 503;
17
17
  readonly GATEWAY_TIMEOUT: 504;
18
+ readonly MAINTENANCE: 540;
18
19
  readonly ZOD_ERROR: 901;
19
20
  readonly UNHANDLED_ERROR: 999;
20
21
  };
package/dist/apiError.js CHANGED
@@ -16,6 +16,7 @@ const errorStatusCode = {
16
16
  BAD_GATEWAY: 502,
17
17
  SERVER_UNAVAILABLE: 503,
18
18
  GATEWAY_TIMEOUT: 504,
19
+ MAINTENANCE: 540,
19
20
  ZOD_ERROR: 901,
20
21
  UNHANDLED_ERROR: 999
21
22
  };
@@ -34,6 +35,7 @@ const errorTitle = {
34
35
  502: "サーバーでエラーが起きました",
35
36
  503: "メンテナンス中です",
36
37
  504: "通信に失敗しました",
38
+ 540: "メンテナンス中です",
37
39
  901: "問題が発生しました",
38
40
  999: "サーバーでエラーが起きました"
39
41
  };
package/dist/index.mjs CHANGED
@@ -22,6 +22,7 @@ const errorStatusCode = {
22
22
  BAD_GATEWAY: 502,
23
23
  SERVER_UNAVAILABLE: 503,
24
24
  GATEWAY_TIMEOUT: 504,
25
+ MAINTENANCE: 540,
25
26
  ZOD_ERROR: 901,
26
27
  UNHANDLED_ERROR: 999
27
28
  };
@@ -40,6 +41,7 @@ const errorTitle = {
40
41
  502: "サーバーでエラーが起きました",
41
42
  503: "メンテナンス中です",
42
43
  504: "通信に失敗しました",
44
+ 540: "メンテナンス中です",
43
45
  901: "問題が発生しました",
44
46
  999: "サーバーでエラーが起きました"
45
47
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@readyfor/api-client-base",
3
- "version": "1.69.0",
3
+ "version": "1.70.0-pr1451.808d501",
4
4
  "license": "SEE LICENSE IN LICENSE.md",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",