@inversifyjs/http-core 4.0.0 → 4.2.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.
Files changed (137) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/lib/cjs/http/adapter/InversifyHttpAdapter.d.ts +4 -2
  3. package/lib/cjs/http/adapter/InversifyHttpAdapter.d.ts.map +1 -1
  4. package/lib/cjs/http/adapter/InversifyHttpAdapter.js +47 -23
  5. package/lib/cjs/http/adapter/InversifyHttpAdapter.js.map +1 -1
  6. package/lib/cjs/http/calculations/buildInterceptedHandler.d.ts +1 -1
  7. package/lib/cjs/http/calculations/buildInterceptedHandler.d.ts.map +1 -1
  8. package/lib/cjs/http/calculations/buildInterceptedHandler.js +3 -5
  9. package/lib/cjs/http/calculations/buildInterceptedHandler.js.map +1 -1
  10. package/lib/cjs/httpResponse/models/AcceptedHttpResponse.d.ts +1 -1
  11. package/lib/cjs/httpResponse/models/AcceptedHttpResponse.d.ts.map +1 -1
  12. package/lib/cjs/httpResponse/models/AcceptedHttpResponse.js +2 -2
  13. package/lib/cjs/httpResponse/models/AcceptedHttpResponse.js.map +1 -1
  14. package/lib/cjs/httpResponse/models/AlreadyReportedHttpResponse.d.ts +1 -1
  15. package/lib/cjs/httpResponse/models/AlreadyReportedHttpResponse.d.ts.map +1 -1
  16. package/lib/cjs/httpResponse/models/AlreadyReportedHttpResponse.js +2 -2
  17. package/lib/cjs/httpResponse/models/AlreadyReportedHttpResponse.js.map +1 -1
  18. package/lib/cjs/httpResponse/models/BadGatewayHttpResponse.d.ts +1 -1
  19. package/lib/cjs/httpResponse/models/BadGatewayHttpResponse.d.ts.map +1 -1
  20. package/lib/cjs/httpResponse/models/BadGatewayHttpResponse.js +2 -2
  21. package/lib/cjs/httpResponse/models/BadGatewayHttpResponse.js.map +1 -1
  22. package/lib/cjs/httpResponse/models/BadRequestHttpResponse.d.ts +1 -1
  23. package/lib/cjs/httpResponse/models/BadRequestHttpResponse.d.ts.map +1 -1
  24. package/lib/cjs/httpResponse/models/BadRequestHttpResponse.js +2 -2
  25. package/lib/cjs/httpResponse/models/BadRequestHttpResponse.js.map +1 -1
  26. package/lib/cjs/httpResponse/models/ConflictHttpResponse.d.ts +1 -1
  27. package/lib/cjs/httpResponse/models/ConflictHttpResponse.d.ts.map +1 -1
  28. package/lib/cjs/httpResponse/models/ConflictHttpResponse.js +2 -2
  29. package/lib/cjs/httpResponse/models/ConflictHttpResponse.js.map +1 -1
  30. package/lib/cjs/httpResponse/models/ContentDifferentHttpResponse.d.ts +1 -1
  31. package/lib/cjs/httpResponse/models/ContentDifferentHttpResponse.d.ts.map +1 -1
  32. package/lib/cjs/httpResponse/models/ContentDifferentHttpResponse.js +2 -2
  33. package/lib/cjs/httpResponse/models/ContentDifferentHttpResponse.js.map +1 -1
  34. package/lib/cjs/httpResponse/models/CreatedHttpResponse.d.ts +1 -1
  35. package/lib/cjs/httpResponse/models/CreatedHttpResponse.d.ts.map +1 -1
  36. package/lib/cjs/httpResponse/models/CreatedHttpResponse.js +2 -2
  37. package/lib/cjs/httpResponse/models/CreatedHttpResponse.js.map +1 -1
  38. package/lib/cjs/httpResponse/models/ErrorHttpResponse.d.ts +3 -2
  39. package/lib/cjs/httpResponse/models/ErrorHttpResponse.d.ts.map +1 -1
  40. package/lib/cjs/httpResponse/models/ErrorHttpResponse.js +4 -2
  41. package/lib/cjs/httpResponse/models/ErrorHttpResponse.js.map +1 -1
  42. package/lib/cjs/httpResponse/models/ForbiddenHttpResponse.d.ts +1 -1
  43. package/lib/cjs/httpResponse/models/ForbiddenHttpResponse.d.ts.map +1 -1
  44. package/lib/cjs/httpResponse/models/ForbiddenHttpResponse.js +2 -2
  45. package/lib/cjs/httpResponse/models/ForbiddenHttpResponse.js.map +1 -1
  46. package/lib/cjs/httpResponse/models/GatewayTimeoutHttpResponse.d.ts +1 -1
  47. package/lib/cjs/httpResponse/models/GatewayTimeoutHttpResponse.d.ts.map +1 -1
  48. package/lib/cjs/httpResponse/models/GatewayTimeoutHttpResponse.js +2 -2
  49. package/lib/cjs/httpResponse/models/GatewayTimeoutHttpResponse.js.map +1 -1
  50. package/lib/cjs/httpResponse/models/GoneHttpResponse.d.ts +1 -1
  51. package/lib/cjs/httpResponse/models/GoneHttpResponse.d.ts.map +1 -1
  52. package/lib/cjs/httpResponse/models/GoneHttpResponse.js +2 -2
  53. package/lib/cjs/httpResponse/models/GoneHttpResponse.js.map +1 -1
  54. package/lib/cjs/httpResponse/models/HttpResponse.d.ts +2 -1
  55. package/lib/cjs/httpResponse/models/HttpResponse.d.ts.map +1 -1
  56. package/lib/cjs/httpResponse/models/HttpVersionNotSupportedHttpResponse.d.ts +1 -1
  57. package/lib/cjs/httpResponse/models/HttpVersionNotSupportedHttpResponse.d.ts.map +1 -1
  58. package/lib/cjs/httpResponse/models/HttpVersionNotSupportedHttpResponse.js +2 -2
  59. package/lib/cjs/httpResponse/models/HttpVersionNotSupportedHttpResponse.js.map +1 -1
  60. package/lib/cjs/httpResponse/models/InsufficientStorageHttpResponse.d.ts +1 -1
  61. package/lib/cjs/httpResponse/models/InsufficientStorageHttpResponse.d.ts.map +1 -1
  62. package/lib/cjs/httpResponse/models/InsufficientStorageHttpResponse.js +2 -2
  63. package/lib/cjs/httpResponse/models/InsufficientStorageHttpResponse.js.map +1 -1
  64. package/lib/cjs/httpResponse/models/InternalServerErrorHttpResponse.d.ts +1 -1
  65. package/lib/cjs/httpResponse/models/InternalServerErrorHttpResponse.d.ts.map +1 -1
  66. package/lib/cjs/httpResponse/models/InternalServerErrorHttpResponse.js +2 -2
  67. package/lib/cjs/httpResponse/models/InternalServerErrorHttpResponse.js.map +1 -1
  68. package/lib/cjs/httpResponse/models/LoopDetectedHttpResponse.d.ts +1 -1
  69. package/lib/cjs/httpResponse/models/LoopDetectedHttpResponse.d.ts.map +1 -1
  70. package/lib/cjs/httpResponse/models/LoopDetectedHttpResponse.js +2 -2
  71. package/lib/cjs/httpResponse/models/LoopDetectedHttpResponse.js.map +1 -1
  72. package/lib/cjs/httpResponse/models/MethodNotAllowedHttpResponse.d.ts +1 -1
  73. package/lib/cjs/httpResponse/models/MethodNotAllowedHttpResponse.d.ts.map +1 -1
  74. package/lib/cjs/httpResponse/models/MethodNotAllowedHttpResponse.js +2 -2
  75. package/lib/cjs/httpResponse/models/MethodNotAllowedHttpResponse.js.map +1 -1
  76. package/lib/cjs/httpResponse/models/MultiStatusHttpResponse.d.ts +1 -1
  77. package/lib/cjs/httpResponse/models/MultiStatusHttpResponse.d.ts.map +1 -1
  78. package/lib/cjs/httpResponse/models/MultiStatusHttpResponse.js +2 -2
  79. package/lib/cjs/httpResponse/models/MultiStatusHttpResponse.js.map +1 -1
  80. package/lib/cjs/httpResponse/models/NoContentHttpResponse.d.ts +1 -1
  81. package/lib/cjs/httpResponse/models/NoContentHttpResponse.d.ts.map +1 -1
  82. package/lib/cjs/httpResponse/models/NoContentHttpResponse.js +2 -2
  83. package/lib/cjs/httpResponse/models/NoContentHttpResponse.js.map +1 -1
  84. package/lib/cjs/httpResponse/models/NonAuthoritativeInformationHttpResponse.d.ts +1 -1
  85. package/lib/cjs/httpResponse/models/NonAuthoritativeInformationHttpResponse.d.ts.map +1 -1
  86. package/lib/cjs/httpResponse/models/NonAuthoritativeInformationHttpResponse.js +2 -2
  87. package/lib/cjs/httpResponse/models/NonAuthoritativeInformationHttpResponse.js.map +1 -1
  88. package/lib/cjs/httpResponse/models/NotAcceptableHttpResponse.d.ts +1 -1
  89. package/lib/cjs/httpResponse/models/NotAcceptableHttpResponse.d.ts.map +1 -1
  90. package/lib/cjs/httpResponse/models/NotAcceptableHttpResponse.js +2 -2
  91. package/lib/cjs/httpResponse/models/NotAcceptableHttpResponse.js.map +1 -1
  92. package/lib/cjs/httpResponse/models/NotFoundHttpResponse.d.ts +1 -1
  93. package/lib/cjs/httpResponse/models/NotFoundHttpResponse.d.ts.map +1 -1
  94. package/lib/cjs/httpResponse/models/NotFoundHttpResponse.js +2 -2
  95. package/lib/cjs/httpResponse/models/NotFoundHttpResponse.js.map +1 -1
  96. package/lib/cjs/httpResponse/models/NotImplementedHttpResponse.d.ts +1 -1
  97. package/lib/cjs/httpResponse/models/NotImplementedHttpResponse.d.ts.map +1 -1
  98. package/lib/cjs/httpResponse/models/NotImplementedHttpResponse.js +2 -2
  99. package/lib/cjs/httpResponse/models/NotImplementedHttpResponse.js.map +1 -1
  100. package/lib/cjs/httpResponse/models/OkHttpResponse.d.ts +1 -1
  101. package/lib/cjs/httpResponse/models/OkHttpResponse.d.ts.map +1 -1
  102. package/lib/cjs/httpResponse/models/OkHttpResponse.js +2 -2
  103. package/lib/cjs/httpResponse/models/OkHttpResponse.js.map +1 -1
  104. package/lib/cjs/httpResponse/models/PartialContentHttpResponse.d.ts +1 -1
  105. package/lib/cjs/httpResponse/models/PartialContentHttpResponse.d.ts.map +1 -1
  106. package/lib/cjs/httpResponse/models/PartialContentHttpResponse.js +2 -2
  107. package/lib/cjs/httpResponse/models/PartialContentHttpResponse.js.map +1 -1
  108. package/lib/cjs/httpResponse/models/PaymentRequiredHttpResponse.d.ts +1 -1
  109. package/lib/cjs/httpResponse/models/PaymentRequiredHttpResponse.d.ts.map +1 -1
  110. package/lib/cjs/httpResponse/models/PaymentRequiredHttpResponse.js +2 -2
  111. package/lib/cjs/httpResponse/models/PaymentRequiredHttpResponse.js.map +1 -1
  112. package/lib/cjs/httpResponse/models/ResetContentHttpResponse.d.ts +1 -1
  113. package/lib/cjs/httpResponse/models/ResetContentHttpResponse.d.ts.map +1 -1
  114. package/lib/cjs/httpResponse/models/ResetContentHttpResponse.js +2 -2
  115. package/lib/cjs/httpResponse/models/ResetContentHttpResponse.js.map +1 -1
  116. package/lib/cjs/httpResponse/models/ServiceUnavailableHttpResponse.d.ts +1 -1
  117. package/lib/cjs/httpResponse/models/ServiceUnavailableHttpResponse.d.ts.map +1 -1
  118. package/lib/cjs/httpResponse/models/ServiceUnavailableHttpResponse.js +2 -2
  119. package/lib/cjs/httpResponse/models/ServiceUnavailableHttpResponse.js.map +1 -1
  120. package/lib/cjs/httpResponse/models/SuccessHttpResponse.d.ts +2 -1
  121. package/lib/cjs/httpResponse/models/SuccessHttpResponse.d.ts.map +1 -1
  122. package/lib/cjs/httpResponse/models/SuccessHttpResponse.js +3 -1
  123. package/lib/cjs/httpResponse/models/SuccessHttpResponse.js.map +1 -1
  124. package/lib/cjs/httpResponse/models/UnauthorizedHttpResponse.d.ts +1 -1
  125. package/lib/cjs/httpResponse/models/UnauthorizedHttpResponse.d.ts.map +1 -1
  126. package/lib/cjs/httpResponse/models/UnauthorizedHttpResponse.js +2 -2
  127. package/lib/cjs/httpResponse/models/UnauthorizedHttpResponse.js.map +1 -1
  128. package/lib/cjs/httpResponse/models/UnprocessableEntityHttpResponse.d.ts +1 -1
  129. package/lib/cjs/httpResponse/models/UnprocessableEntityHttpResponse.d.ts.map +1 -1
  130. package/lib/cjs/httpResponse/models/UnprocessableEntityHttpResponse.js +2 -2
  131. package/lib/cjs/httpResponse/models/UnprocessableEntityHttpResponse.js.map +1 -1
  132. package/lib/cjs/routerExplorer/model/RouterExplorerControllerMethodMetadata.d.ts +1 -1
  133. package/lib/cjs/routerExplorer/model/RouterExplorerControllerMethodMetadata.d.ts.map +1 -1
  134. package/lib/esm/index.d.ts +39 -35
  135. package/lib/esm/index.js +1 -1
  136. package/lib/esm/index.js.map +1 -1
  137. package/package.json +5 -5
@@ -3,8 +3,9 @@ import { HttpStatusCode } from '../../http/models/HttpStatusCode';
3
3
  import { HttpResponse, isHttpResponse as isHttpResponseSymbol } from './HttpResponse';
4
4
  export declare class ErrorHttpResponse extends Error implements HttpResponse {
5
5
  readonly statusCode: HttpStatusCode;
6
- readonly [isHttpResponseSymbol]: true;
7
6
  readonly body?: object | string | number | boolean | Stream | undefined;
8
- constructor(statusCode: HttpStatusCode, body?: object | string | number | boolean | Stream | undefined, message?: string | undefined, errorOptions?: ErrorOptions | undefined);
7
+ readonly headers?: Record<string, string> | undefined;
8
+ readonly [isHttpResponseSymbol]: true;
9
+ constructor(statusCode: HttpStatusCode, body?: object | string | number | boolean | Stream | undefined, message?: string | undefined, errorOptions?: ErrorOptions | undefined, headers?: Record<string, string> | undefined);
9
10
  }
10
11
  //# sourceMappingURL=ErrorHttpResponse.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ErrorHttpResponse.d.ts","sourceRoot":"","sources":["../../../../src/httpResponse/models/ErrorHttpResponse.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAE1C,OAAO,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAClE,OAAO,EACL,YAAY,EACZ,cAAc,IAAI,oBAAoB,EACvC,MAAM,gBAAgB,CAAC;AAExB,qBAAa,iBAAkB,SAAQ,KAAM,YAAW,YAAY;aAWhD,UAAU,EAAE,cAAc;IAV5C,SAAgB,CAAC,oBAAoB,CAAC,EAAE,IAAI,CAAC;IAC7C,SAAgB,IAAI,CAAC,EACjB,MAAM,GACN,MAAM,GACN,MAAM,GACN,OAAO,GACP,MAAM,GACN,SAAS,CAAC;gBAGI,UAAU,EAAE,cAAc,EAC1C,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,GAAG,SAAS,EAC9D,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,EAC5B,YAAY,CAAC,EAAE,YAAY,GAAG,SAAS;CAO1C"}
1
+ {"version":3,"file":"ErrorHttpResponse.d.ts","sourceRoot":"","sources":["../../../../src/httpResponse/models/ErrorHttpResponse.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAE1C,OAAO,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAClE,OAAO,EACL,YAAY,EACZ,cAAc,IAAI,oBAAoB,EACvC,MAAM,gBAAgB,CAAC;AAExB,qBAAa,iBAAkB,SAAQ,KAAM,YAAW,YAAY;aAIhD,UAAU,EAAE,cAAc;aAC1B,IAAI,CAAC,EACjB,MAAM,GACN,MAAM,GACN,MAAM,GACN,OAAO,GACP,MAAM,GACN,SAAS;aAGG,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,SAAS;IAb9D,SAAgB,CAAC,oBAAoB,CAAC,EAAE,IAAI,CAAC;gBAG3B,UAAU,EAAE,cAAc,EAC1B,IAAI,CAAC,EACjB,MAAM,GACN,MAAM,GACN,MAAM,GACN,OAAO,GACP,MAAM,GACN,SAAS,EACb,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,EAC5B,YAAY,CAAC,EAAE,YAAY,GAAG,SAAS,EACvB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,SAAS;CAM/D"}
@@ -4,12 +4,14 @@ exports.ErrorHttpResponse = void 0;
4
4
  const HttpResponse_1 = require("./HttpResponse");
5
5
  class ErrorHttpResponse extends Error {
6
6
  statusCode;
7
- [HttpResponse_1.isHttpResponse];
8
7
  body;
9
- constructor(statusCode, body, message, errorOptions) {
8
+ headers;
9
+ [HttpResponse_1.isHttpResponse];
10
+ constructor(statusCode, body, message, errorOptions, headers) {
10
11
  super(message, errorOptions);
11
12
  this.statusCode = statusCode;
12
13
  this.body = body;
14
+ this.headers = headers;
13
15
  this[HttpResponse_1.isHttpResponse] = true;
14
16
  }
15
17
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ErrorHttpResponse.js","sourceRoot":"","sources":["../../../../src/httpResponse/models/ErrorHttpResponse.ts"],"names":[],"mappings":";;;AAGA,iDAGwB;AAExB,MAAa,iBAAkB,SAAQ,KAAK;IAWxB;IAVF,CAAC,6BAAoB,CAAC,CAAO;IAC7B,IAAI,CAMN;IAEd,YACkB,UAA0B,EAC1C,IAA8D,EAC9D,OAA4B,EAC5B,YAAuC;QAEvC,KAAK,CAAC,OAAO,EAAE,YAAY,CAAC,CAAC;QALb,eAAU,GAAV,UAAU,CAAgB;QAO1C,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,6BAAoB,CAAC,GAAG,IAAI,CAAC;IACpC,CAAC;CACF;AArBD,8CAqBC"}
1
+ {"version":3,"file":"ErrorHttpResponse.js","sourceRoot":"","sources":["../../../../src/httpResponse/models/ErrorHttpResponse.ts"],"names":[],"mappings":";;;AAGA,iDAGwB;AAExB,MAAa,iBAAkB,SAAQ,KAAK;IAIxB;IACA;IASA;IAbF,CAAC,6BAAoB,CAAC,CAAO;IAE7C,YACkB,UAA0B,EAC1B,IAMH,EACb,OAA4B,EAC5B,YAAuC,EACvB,OAA4C;QAE5D,KAAK,CAAC,OAAO,EAAE,YAAY,CAAC,CAAC;QAZb,eAAU,GAAV,UAAU,CAAgB;QAC1B,SAAI,GAAJ,IAAI,CAMP;QAGG,YAAO,GAAP,OAAO,CAAqC;QAI5D,IAAI,CAAC,6BAAoB,CAAC,GAAG,IAAI,CAAC;IACpC,CAAC;CACF;AApBD,8CAoBC"}
@@ -1,6 +1,6 @@
1
1
  import type { Stream } from 'node:stream';
2
2
  import { ErrorHttpResponse } from './ErrorHttpResponse';
3
3
  export declare class ForbiddenHttpResponse extends ErrorHttpResponse {
4
- constructor(body?: object | string | number | boolean | Stream | undefined, errorMessage?: string, errorOptions?: ErrorOptions);
4
+ constructor(body?: object | string | number | boolean | Stream | undefined, errorMessage?: string, errorOptions?: ErrorOptions, headers?: Record<string, string>);
5
5
  }
6
6
  //# sourceMappingURL=ForbiddenHttpResponse.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ForbiddenHttpResponse.d.ts","sourceRoot":"","sources":["../../../../src/httpResponse/models/ForbiddenHttpResponse.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAG1C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAExD,qBAAa,qBAAsB,SAAQ,iBAAiB;gBAExD,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,GAAG,SAAS,EAC9D,YAAY,GAAE,MAAoB,EAClC,YAAY,CAAC,EAAE,YAAY;CAI9B"}
1
+ {"version":3,"file":"ForbiddenHttpResponse.d.ts","sourceRoot":"","sources":["../../../../src/httpResponse/models/ForbiddenHttpResponse.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAG1C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAExD,qBAAa,qBAAsB,SAAQ,iBAAiB;gBAExD,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,GAAG,SAAS,EAC9D,YAAY,GAAE,MAAoB,EAClC,YAAY,CAAC,EAAE,YAAY,EAC3B,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;CAInC"}
@@ -4,8 +4,8 @@ exports.ForbiddenHttpResponse = void 0;
4
4
  const HttpStatusCode_1 = require("../../http/models/HttpStatusCode");
5
5
  const ErrorHttpResponse_1 = require("./ErrorHttpResponse");
6
6
  class ForbiddenHttpResponse extends ErrorHttpResponse_1.ErrorHttpResponse {
7
- constructor(body, errorMessage = 'Forbidden', errorOptions) {
8
- super(HttpStatusCode_1.HttpStatusCode.FORBIDDEN, body, errorMessage, errorOptions);
7
+ constructor(body, errorMessage = 'Forbidden', errorOptions, headers) {
8
+ super(HttpStatusCode_1.HttpStatusCode.FORBIDDEN, body, errorMessage, errorOptions, headers);
9
9
  }
10
10
  }
11
11
  exports.ForbiddenHttpResponse = ForbiddenHttpResponse;
@@ -1 +1 @@
1
- {"version":3,"file":"ForbiddenHttpResponse.js","sourceRoot":"","sources":["../../../../src/httpResponse/models/ForbiddenHttpResponse.ts"],"names":[],"mappings":";;;AAEA,qEAAkE;AAClE,2DAAwD;AAExD,MAAa,qBAAsB,SAAQ,qCAAiB;IAC1D,YACE,IAA8D,EAC9D,eAAuB,WAAW,EAClC,YAA2B;QAE3B,KAAK,CAAC,+BAAc,CAAC,SAAS,EAAE,IAAI,EAAE,YAAY,EAAE,YAAY,CAAC,CAAC;IACpE,CAAC;CACF;AARD,sDAQC"}
1
+ {"version":3,"file":"ForbiddenHttpResponse.js","sourceRoot":"","sources":["../../../../src/httpResponse/models/ForbiddenHttpResponse.ts"],"names":[],"mappings":";;;AAEA,qEAAkE;AAClE,2DAAwD;AAExD,MAAa,qBAAsB,SAAQ,qCAAiB;IAC1D,YACE,IAA8D,EAC9D,eAAuB,WAAW,EAClC,YAA2B,EAC3B,OAAgC;QAEhC,KAAK,CAAC,+BAAc,CAAC,SAAS,EAAE,IAAI,EAAE,YAAY,EAAE,YAAY,EAAE,OAAO,CAAC,CAAC;IAC7E,CAAC;CACF;AATD,sDASC"}
@@ -1,6 +1,6 @@
1
1
  import type { Stream } from 'node:stream';
2
2
  import { ErrorHttpResponse } from './ErrorHttpResponse';
3
3
  export declare class GatewayTimeoutHttpResponse extends ErrorHttpResponse {
4
- constructor(body?: object | string | number | boolean | Stream | undefined, errorMessage?: string, errorOptions?: ErrorOptions);
4
+ constructor(body?: object | string | number | boolean | Stream | undefined, errorMessage?: string, errorOptions?: ErrorOptions, headers?: Record<string, string>);
5
5
  }
6
6
  //# sourceMappingURL=GatewayTimeoutHttpResponse.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"GatewayTimeoutHttpResponse.d.ts","sourceRoot":"","sources":["../../../../src/httpResponse/models/GatewayTimeoutHttpResponse.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAG1C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAExD,qBAAa,0BAA2B,SAAQ,iBAAiB;gBAE7D,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,GAAG,SAAS,EAC9D,YAAY,GAAE,MAA0B,EACxC,YAAY,CAAC,EAAE,YAAY;CAI9B"}
1
+ {"version":3,"file":"GatewayTimeoutHttpResponse.d.ts","sourceRoot":"","sources":["../../../../src/httpResponse/models/GatewayTimeoutHttpResponse.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAG1C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAExD,qBAAa,0BAA2B,SAAQ,iBAAiB;gBAE7D,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,GAAG,SAAS,EAC9D,YAAY,GAAE,MAA0B,EACxC,YAAY,CAAC,EAAE,YAAY,EAC3B,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;CAUnC"}
@@ -4,8 +4,8 @@ exports.GatewayTimeoutHttpResponse = void 0;
4
4
  const HttpStatusCode_1 = require("../../http/models/HttpStatusCode");
5
5
  const ErrorHttpResponse_1 = require("./ErrorHttpResponse");
6
6
  class GatewayTimeoutHttpResponse extends ErrorHttpResponse_1.ErrorHttpResponse {
7
- constructor(body, errorMessage = 'Gateway Timeout', errorOptions) {
8
- super(HttpStatusCode_1.HttpStatusCode.GATEWAY_TIMEOUT, body, errorMessage, errorOptions);
7
+ constructor(body, errorMessage = 'Gateway Timeout', errorOptions, headers) {
8
+ super(HttpStatusCode_1.HttpStatusCode.GATEWAY_TIMEOUT, body, errorMessage, errorOptions, headers);
9
9
  }
10
10
  }
11
11
  exports.GatewayTimeoutHttpResponse = GatewayTimeoutHttpResponse;
@@ -1 +1 @@
1
- {"version":3,"file":"GatewayTimeoutHttpResponse.js","sourceRoot":"","sources":["../../../../src/httpResponse/models/GatewayTimeoutHttpResponse.ts"],"names":[],"mappings":";;;AAEA,qEAAkE;AAClE,2DAAwD;AAExD,MAAa,0BAA2B,SAAQ,qCAAiB;IAC/D,YACE,IAA8D,EAC9D,eAAuB,iBAAiB,EACxC,YAA2B;QAE3B,KAAK,CAAC,+BAAc,CAAC,eAAe,EAAE,IAAI,EAAE,YAAY,EAAE,YAAY,CAAC,CAAC;IAC1E,CAAC;CACF;AARD,gEAQC"}
1
+ {"version":3,"file":"GatewayTimeoutHttpResponse.js","sourceRoot":"","sources":["../../../../src/httpResponse/models/GatewayTimeoutHttpResponse.ts"],"names":[],"mappings":";;;AAEA,qEAAkE;AAClE,2DAAwD;AAExD,MAAa,0BAA2B,SAAQ,qCAAiB;IAC/D,YACE,IAA8D,EAC9D,eAAuB,iBAAiB,EACxC,YAA2B,EAC3B,OAAgC;QAEhC,KAAK,CACH,+BAAc,CAAC,eAAe,EAC9B,IAAI,EACJ,YAAY,EACZ,YAAY,EACZ,OAAO,CACR,CAAC;IACJ,CAAC;CACF;AAfD,gEAeC"}
@@ -1,6 +1,6 @@
1
1
  import type { Stream } from 'node:stream';
2
2
  import { ErrorHttpResponse } from './ErrorHttpResponse';
3
3
  export declare class GoneHttpResponse extends ErrorHttpResponse {
4
- constructor(body?: object | string | number | boolean | Stream | undefined, errorMessage?: string, errorOptions?: ErrorOptions);
4
+ constructor(body?: object | string | number | boolean | Stream | undefined, errorMessage?: string, errorOptions?: ErrorOptions, headers?: Record<string, string>);
5
5
  }
6
6
  //# sourceMappingURL=GoneHttpResponse.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"GoneHttpResponse.d.ts","sourceRoot":"","sources":["../../../../src/httpResponse/models/GoneHttpResponse.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAG1C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAExD,qBAAa,gBAAiB,SAAQ,iBAAiB;gBAEnD,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,GAAG,SAAS,EAC9D,YAAY,GAAE,MAAe,EAC7B,YAAY,CAAC,EAAE,YAAY;CAI9B"}
1
+ {"version":3,"file":"GoneHttpResponse.d.ts","sourceRoot":"","sources":["../../../../src/httpResponse/models/GoneHttpResponse.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAG1C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAExD,qBAAa,gBAAiB,SAAQ,iBAAiB;gBAEnD,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,GAAG,SAAS,EAC9D,YAAY,GAAE,MAAe,EAC7B,YAAY,CAAC,EAAE,YAAY,EAC3B,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;CAInC"}
@@ -4,8 +4,8 @@ exports.GoneHttpResponse = void 0;
4
4
  const HttpStatusCode_1 = require("../../http/models/HttpStatusCode");
5
5
  const ErrorHttpResponse_1 = require("./ErrorHttpResponse");
6
6
  class GoneHttpResponse extends ErrorHttpResponse_1.ErrorHttpResponse {
7
- constructor(body, errorMessage = 'Gone', errorOptions) {
8
- super(HttpStatusCode_1.HttpStatusCode.GONE, body, errorMessage, errorOptions);
7
+ constructor(body, errorMessage = 'Gone', errorOptions, headers) {
8
+ super(HttpStatusCode_1.HttpStatusCode.GONE, body, errorMessage, errorOptions, headers);
9
9
  }
10
10
  }
11
11
  exports.GoneHttpResponse = GoneHttpResponse;
@@ -1 +1 @@
1
- {"version":3,"file":"GoneHttpResponse.js","sourceRoot":"","sources":["../../../../src/httpResponse/models/GoneHttpResponse.ts"],"names":[],"mappings":";;;AAEA,qEAAkE;AAClE,2DAAwD;AAExD,MAAa,gBAAiB,SAAQ,qCAAiB;IACrD,YACE,IAA8D,EAC9D,eAAuB,MAAM,EAC7B,YAA2B;QAE3B,KAAK,CAAC,+BAAc,CAAC,IAAI,EAAE,IAAI,EAAE,YAAY,EAAE,YAAY,CAAC,CAAC;IAC/D,CAAC;CACF;AARD,4CAQC"}
1
+ {"version":3,"file":"GoneHttpResponse.js","sourceRoot":"","sources":["../../../../src/httpResponse/models/GoneHttpResponse.ts"],"names":[],"mappings":";;;AAEA,qEAAkE;AAClE,2DAAwD;AAExD,MAAa,gBAAiB,SAAQ,qCAAiB;IACrD,YACE,IAA8D,EAC9D,eAAuB,MAAM,EAC7B,YAA2B,EAC3B,OAAgC;QAEhC,KAAK,CAAC,+BAAc,CAAC,IAAI,EAAE,IAAI,EAAE,YAAY,EAAE,YAAY,EAAE,OAAO,CAAC,CAAC;IACxE,CAAC;CACF;AATD,4CASC"}
@@ -3,7 +3,8 @@ import { HttpStatusCode } from '../../http/models/HttpStatusCode';
3
3
  export declare const isHttpResponse: unique symbol;
4
4
  export interface HttpResponse {
5
5
  [isHttpResponse]: true;
6
- statusCode: HttpStatusCode;
7
6
  body?: object | string | number | boolean | Stream | undefined;
7
+ headers?: Record<string, string> | undefined;
8
+ statusCode: HttpStatusCode;
8
9
  }
9
10
  //# sourceMappingURL=HttpResponse.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"HttpResponse.d.ts","sourceRoot":"","sources":["../../../../src/httpResponse/models/HttpResponse.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAE1C,OAAO,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAElE,eAAO,MAAM,cAAc,EAAE,OAAO,MAEnC,CAAC;AAEF,MAAM,WAAW,YAAY;IAC3B,CAAC,cAAc,CAAC,EAAE,IAAI,CAAC;IACvB,UAAU,EAAE,cAAc,CAAC;IAC3B,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,GAAG,SAAS,CAAC;CAChE"}
1
+ {"version":3,"file":"HttpResponse.d.ts","sourceRoot":"","sources":["../../../../src/httpResponse/models/HttpResponse.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAE1C,OAAO,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAElE,eAAO,MAAM,cAAc,EAAE,OAAO,MAEnC,CAAC;AAEF,MAAM,WAAW,YAAY;IAC3B,CAAC,cAAc,CAAC,EAAE,IAAI,CAAC;IACvB,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,GAAG,SAAS,CAAC;IAC/D,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,SAAS,CAAC;IAC7C,UAAU,EAAE,cAAc,CAAC;CAC5B"}
@@ -1,6 +1,6 @@
1
1
  import type { Stream } from 'node:stream';
2
2
  import { ErrorHttpResponse } from './ErrorHttpResponse';
3
3
  export declare class HttpVersionNotSupportedHttpResponse extends ErrorHttpResponse {
4
- constructor(body?: object | string | number | boolean | Stream | undefined, errorMessage?: string, errorOptions?: ErrorOptions);
4
+ constructor(body?: object | string | number | boolean | Stream | undefined, errorMessage?: string, errorOptions?: ErrorOptions, headers?: Record<string, string>);
5
5
  }
6
6
  //# sourceMappingURL=HttpVersionNotSupportedHttpResponse.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"HttpVersionNotSupportedHttpResponse.d.ts","sourceRoot":"","sources":["../../../../src/httpResponse/models/HttpVersionNotSupportedHttpResponse.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAG1C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAExD,qBAAa,mCAAoC,SAAQ,iBAAiB;gBAEtE,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,GAAG,SAAS,EAC9D,YAAY,GAAE,MAAqC,EACnD,YAAY,CAAC,EAAE,YAAY;CAS9B"}
1
+ {"version":3,"file":"HttpVersionNotSupportedHttpResponse.d.ts","sourceRoot":"","sources":["../../../../src/httpResponse/models/HttpVersionNotSupportedHttpResponse.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAG1C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAExD,qBAAa,mCAAoC,SAAQ,iBAAiB;gBAEtE,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,GAAG,SAAS,EAC9D,YAAY,GAAE,MAAqC,EACnD,YAAY,CAAC,EAAE,YAAY,EAC3B,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;CAUnC"}
@@ -4,8 +4,8 @@ exports.HttpVersionNotSupportedHttpResponse = void 0;
4
4
  const HttpStatusCode_1 = require("../../http/models/HttpStatusCode");
5
5
  const ErrorHttpResponse_1 = require("./ErrorHttpResponse");
6
6
  class HttpVersionNotSupportedHttpResponse extends ErrorHttpResponse_1.ErrorHttpResponse {
7
- constructor(body, errorMessage = 'HTTP Version Not Supported', errorOptions) {
8
- super(HttpStatusCode_1.HttpStatusCode.HTTP_VERSION_NOT_SUPPORTED, body, errorMessage, errorOptions);
7
+ constructor(body, errorMessage = 'HTTP Version Not Supported', errorOptions, headers) {
8
+ super(HttpStatusCode_1.HttpStatusCode.HTTP_VERSION_NOT_SUPPORTED, body, errorMessage, errorOptions, headers);
9
9
  }
10
10
  }
11
11
  exports.HttpVersionNotSupportedHttpResponse = HttpVersionNotSupportedHttpResponse;
@@ -1 +1 @@
1
- {"version":3,"file":"HttpVersionNotSupportedHttpResponse.js","sourceRoot":"","sources":["../../../../src/httpResponse/models/HttpVersionNotSupportedHttpResponse.ts"],"names":[],"mappings":";;;AAEA,qEAAkE;AAClE,2DAAwD;AAExD,MAAa,mCAAoC,SAAQ,qCAAiB;IACxE,YACE,IAA8D,EAC9D,eAAuB,4BAA4B,EACnD,YAA2B;QAE3B,KAAK,CACH,+BAAc,CAAC,0BAA0B,EACzC,IAAI,EACJ,YAAY,EACZ,YAAY,CACb,CAAC;IACJ,CAAC;CACF;AAbD,kFAaC"}
1
+ {"version":3,"file":"HttpVersionNotSupportedHttpResponse.js","sourceRoot":"","sources":["../../../../src/httpResponse/models/HttpVersionNotSupportedHttpResponse.ts"],"names":[],"mappings":";;;AAEA,qEAAkE;AAClE,2DAAwD;AAExD,MAAa,mCAAoC,SAAQ,qCAAiB;IACxE,YACE,IAA8D,EAC9D,eAAuB,4BAA4B,EACnD,YAA2B,EAC3B,OAAgC;QAEhC,KAAK,CACH,+BAAc,CAAC,0BAA0B,EACzC,IAAI,EACJ,YAAY,EACZ,YAAY,EACZ,OAAO,CACR,CAAC;IACJ,CAAC;CACF;AAfD,kFAeC"}
@@ -1,6 +1,6 @@
1
1
  import type { Stream } from 'node:stream';
2
2
  import { ErrorHttpResponse } from './ErrorHttpResponse';
3
3
  export declare class InsufficientStorageHttpResponse extends ErrorHttpResponse {
4
- constructor(body?: object | string | number | boolean | Stream | undefined, errorMessage?: string, errorOptions?: ErrorOptions);
4
+ constructor(body?: object | string | number | boolean | Stream | undefined, errorMessage?: string, errorOptions?: ErrorOptions, headers?: Record<string, string>);
5
5
  }
6
6
  //# sourceMappingURL=InsufficientStorageHttpResponse.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"InsufficientStorageHttpResponse.d.ts","sourceRoot":"","sources":["../../../../src/httpResponse/models/InsufficientStorageHttpResponse.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAG1C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAExD,qBAAa,+BAAgC,SAAQ,iBAAiB;gBAElE,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,GAAG,SAAS,EAC9D,YAAY,GAAE,MAA+B,EAC7C,YAAY,CAAC,EAAE,YAAY;CAS9B"}
1
+ {"version":3,"file":"InsufficientStorageHttpResponse.d.ts","sourceRoot":"","sources":["../../../../src/httpResponse/models/InsufficientStorageHttpResponse.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAG1C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAExD,qBAAa,+BAAgC,SAAQ,iBAAiB;gBAElE,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,GAAG,SAAS,EAC9D,YAAY,GAAE,MAA+B,EAC7C,YAAY,CAAC,EAAE,YAAY,EAC3B,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;CAUnC"}
@@ -4,8 +4,8 @@ exports.InsufficientStorageHttpResponse = void 0;
4
4
  const HttpStatusCode_1 = require("../../http/models/HttpStatusCode");
5
5
  const ErrorHttpResponse_1 = require("./ErrorHttpResponse");
6
6
  class InsufficientStorageHttpResponse extends ErrorHttpResponse_1.ErrorHttpResponse {
7
- constructor(body, errorMessage = 'Insufficient Storage', errorOptions) {
8
- super(HttpStatusCode_1.HttpStatusCode.INSUFFICIENT_STORAGE, body, errorMessage, errorOptions);
7
+ constructor(body, errorMessage = 'Insufficient Storage', errorOptions, headers) {
8
+ super(HttpStatusCode_1.HttpStatusCode.INSUFFICIENT_STORAGE, body, errorMessage, errorOptions, headers);
9
9
  }
10
10
  }
11
11
  exports.InsufficientStorageHttpResponse = InsufficientStorageHttpResponse;
@@ -1 +1 @@
1
- {"version":3,"file":"InsufficientStorageHttpResponse.js","sourceRoot":"","sources":["../../../../src/httpResponse/models/InsufficientStorageHttpResponse.ts"],"names":[],"mappings":";;;AAEA,qEAAkE;AAClE,2DAAwD;AAExD,MAAa,+BAAgC,SAAQ,qCAAiB;IACpE,YACE,IAA8D,EAC9D,eAAuB,sBAAsB,EAC7C,YAA2B;QAE3B,KAAK,CACH,+BAAc,CAAC,oBAAoB,EACnC,IAAI,EACJ,YAAY,EACZ,YAAY,CACb,CAAC;IACJ,CAAC;CACF;AAbD,0EAaC"}
1
+ {"version":3,"file":"InsufficientStorageHttpResponse.js","sourceRoot":"","sources":["../../../../src/httpResponse/models/InsufficientStorageHttpResponse.ts"],"names":[],"mappings":";;;AAEA,qEAAkE;AAClE,2DAAwD;AAExD,MAAa,+BAAgC,SAAQ,qCAAiB;IACpE,YACE,IAA8D,EAC9D,eAAuB,sBAAsB,EAC7C,YAA2B,EAC3B,OAAgC;QAEhC,KAAK,CACH,+BAAc,CAAC,oBAAoB,EACnC,IAAI,EACJ,YAAY,EACZ,YAAY,EACZ,OAAO,CACR,CAAC;IACJ,CAAC;CACF;AAfD,0EAeC"}
@@ -1,6 +1,6 @@
1
1
  import type { Stream } from 'node:stream';
2
2
  import { ErrorHttpResponse } from './ErrorHttpResponse';
3
3
  export declare class InternalServerErrorHttpResponse extends ErrorHttpResponse {
4
- constructor(body?: object | string | number | boolean | Stream | undefined, errorMessage?: string, errorOptions?: ErrorOptions);
4
+ constructor(body?: object | string | number | boolean | Stream | undefined, errorMessage?: string, errorOptions?: ErrorOptions, headers?: Record<string, string>);
5
5
  }
6
6
  //# sourceMappingURL=InternalServerErrorHttpResponse.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"InternalServerErrorHttpResponse.d.ts","sourceRoot":"","sources":["../../../../src/httpResponse/models/InternalServerErrorHttpResponse.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAG1C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAExD,qBAAa,+BAAgC,SAAQ,iBAAiB;gBAElE,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,GAAG,SAAS,EAC9D,YAAY,GAAE,MAAgC,EAC9C,YAAY,CAAC,EAAE,YAAY;CAS9B"}
1
+ {"version":3,"file":"InternalServerErrorHttpResponse.d.ts","sourceRoot":"","sources":["../../../../src/httpResponse/models/InternalServerErrorHttpResponse.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAG1C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAExD,qBAAa,+BAAgC,SAAQ,iBAAiB;gBAElE,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,GAAG,SAAS,EAC9D,YAAY,GAAE,MAAgC,EAC9C,YAAY,CAAC,EAAE,YAAY,EAC3B,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;CAUnC"}
@@ -4,8 +4,8 @@ exports.InternalServerErrorHttpResponse = void 0;
4
4
  const HttpStatusCode_1 = require("../../http/models/HttpStatusCode");
5
5
  const ErrorHttpResponse_1 = require("./ErrorHttpResponse");
6
6
  class InternalServerErrorHttpResponse extends ErrorHttpResponse_1.ErrorHttpResponse {
7
- constructor(body, errorMessage = 'Internal Server Error', errorOptions) {
8
- super(HttpStatusCode_1.HttpStatusCode.INTERNAL_SERVER_ERROR, body, errorMessage, errorOptions);
7
+ constructor(body, errorMessage = 'Internal Server Error', errorOptions, headers) {
8
+ super(HttpStatusCode_1.HttpStatusCode.INTERNAL_SERVER_ERROR, body, errorMessage, errorOptions, headers);
9
9
  }
10
10
  }
11
11
  exports.InternalServerErrorHttpResponse = InternalServerErrorHttpResponse;
@@ -1 +1 @@
1
- {"version":3,"file":"InternalServerErrorHttpResponse.js","sourceRoot":"","sources":["../../../../src/httpResponse/models/InternalServerErrorHttpResponse.ts"],"names":[],"mappings":";;;AAEA,qEAAkE;AAClE,2DAAwD;AAExD,MAAa,+BAAgC,SAAQ,qCAAiB;IACpE,YACE,IAA8D,EAC9D,eAAuB,uBAAuB,EAC9C,YAA2B;QAE3B,KAAK,CACH,+BAAc,CAAC,qBAAqB,EACpC,IAAI,EACJ,YAAY,EACZ,YAAY,CACb,CAAC;IACJ,CAAC;CACF;AAbD,0EAaC"}
1
+ {"version":3,"file":"InternalServerErrorHttpResponse.js","sourceRoot":"","sources":["../../../../src/httpResponse/models/InternalServerErrorHttpResponse.ts"],"names":[],"mappings":";;;AAEA,qEAAkE;AAClE,2DAAwD;AAExD,MAAa,+BAAgC,SAAQ,qCAAiB;IACpE,YACE,IAA8D,EAC9D,eAAuB,uBAAuB,EAC9C,YAA2B,EAC3B,OAAgC;QAEhC,KAAK,CACH,+BAAc,CAAC,qBAAqB,EACpC,IAAI,EACJ,YAAY,EACZ,YAAY,EACZ,OAAO,CACR,CAAC;IACJ,CAAC;CACF;AAfD,0EAeC"}
@@ -1,6 +1,6 @@
1
1
  import type { Stream } from 'node:stream';
2
2
  import { ErrorHttpResponse } from './ErrorHttpResponse';
3
3
  export declare class LoopDetectedHttpResponse extends ErrorHttpResponse {
4
- constructor(body?: object | string | number | boolean | Stream | undefined, errorMessage?: string, errorOptions?: ErrorOptions);
4
+ constructor(body?: object | string | number | boolean | Stream | undefined, errorMessage?: string, errorOptions?: ErrorOptions, headers?: Record<string, string>);
5
5
  }
6
6
  //# sourceMappingURL=LoopDetectedHttpResponse.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"LoopDetectedHttpResponse.d.ts","sourceRoot":"","sources":["../../../../src/httpResponse/models/LoopDetectedHttpResponse.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAG1C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAExD,qBAAa,wBAAyB,SAAQ,iBAAiB;gBAE3D,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,GAAG,SAAS,EAC9D,YAAY,GAAE,MAAwB,EACtC,YAAY,CAAC,EAAE,YAAY;CAI9B"}
1
+ {"version":3,"file":"LoopDetectedHttpResponse.d.ts","sourceRoot":"","sources":["../../../../src/httpResponse/models/LoopDetectedHttpResponse.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAG1C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAExD,qBAAa,wBAAyB,SAAQ,iBAAiB;gBAE3D,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,GAAG,SAAS,EAC9D,YAAY,GAAE,MAAwB,EACtC,YAAY,CAAC,EAAE,YAAY,EAC3B,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;CAUnC"}
@@ -4,8 +4,8 @@ exports.LoopDetectedHttpResponse = void 0;
4
4
  const HttpStatusCode_1 = require("../../http/models/HttpStatusCode");
5
5
  const ErrorHttpResponse_1 = require("./ErrorHttpResponse");
6
6
  class LoopDetectedHttpResponse extends ErrorHttpResponse_1.ErrorHttpResponse {
7
- constructor(body, errorMessage = 'Loop Detected', errorOptions) {
8
- super(HttpStatusCode_1.HttpStatusCode.LOOP_DETECTED, body, errorMessage, errorOptions);
7
+ constructor(body, errorMessage = 'Loop Detected', errorOptions, headers) {
8
+ super(HttpStatusCode_1.HttpStatusCode.LOOP_DETECTED, body, errorMessage, errorOptions, headers);
9
9
  }
10
10
  }
11
11
  exports.LoopDetectedHttpResponse = LoopDetectedHttpResponse;
@@ -1 +1 @@
1
- {"version":3,"file":"LoopDetectedHttpResponse.js","sourceRoot":"","sources":["../../../../src/httpResponse/models/LoopDetectedHttpResponse.ts"],"names":[],"mappings":";;;AAEA,qEAAkE;AAClE,2DAAwD;AAExD,MAAa,wBAAyB,SAAQ,qCAAiB;IAC7D,YACE,IAA8D,EAC9D,eAAuB,eAAe,EACtC,YAA2B;QAE3B,KAAK,CAAC,+BAAc,CAAC,aAAa,EAAE,IAAI,EAAE,YAAY,EAAE,YAAY,CAAC,CAAC;IACxE,CAAC;CACF;AARD,4DAQC"}
1
+ {"version":3,"file":"LoopDetectedHttpResponse.js","sourceRoot":"","sources":["../../../../src/httpResponse/models/LoopDetectedHttpResponse.ts"],"names":[],"mappings":";;;AAEA,qEAAkE;AAClE,2DAAwD;AAExD,MAAa,wBAAyB,SAAQ,qCAAiB;IAC7D,YACE,IAA8D,EAC9D,eAAuB,eAAe,EACtC,YAA2B,EAC3B,OAAgC;QAEhC,KAAK,CACH,+BAAc,CAAC,aAAa,EAC5B,IAAI,EACJ,YAAY,EACZ,YAAY,EACZ,OAAO,CACR,CAAC;IACJ,CAAC;CACF;AAfD,4DAeC"}
@@ -1,6 +1,6 @@
1
1
  import type { Stream } from 'node:stream';
2
2
  import { ErrorHttpResponse } from './ErrorHttpResponse';
3
3
  export declare class MethodNotAllowedHttpResponse extends ErrorHttpResponse {
4
- constructor(body?: object | string | number | boolean | Stream | undefined, errorMessage?: string, errorOptions?: ErrorOptions);
4
+ constructor(body?: object | string | number | boolean | Stream | undefined, errorMessage?: string, errorOptions?: ErrorOptions, headers?: Record<string, string>);
5
5
  }
6
6
  //# sourceMappingURL=MethodNotAllowedHttpResponse.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MethodNotAllowedHttpResponse.d.ts","sourceRoot":"","sources":["../../../../src/httpResponse/models/MethodNotAllowedHttpResponse.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAG1C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAExD,qBAAa,4BAA6B,SAAQ,iBAAiB;gBAE/D,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,GAAG,SAAS,EAC9D,YAAY,GAAE,MAA6B,EAC3C,YAAY,CAAC,EAAE,YAAY;CAI9B"}
1
+ {"version":3,"file":"MethodNotAllowedHttpResponse.d.ts","sourceRoot":"","sources":["../../../../src/httpResponse/models/MethodNotAllowedHttpResponse.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAG1C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAExD,qBAAa,4BAA6B,SAAQ,iBAAiB;gBAE/D,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,GAAG,SAAS,EAC9D,YAAY,GAAE,MAA6B,EAC3C,YAAY,CAAC,EAAE,YAAY,EAC3B,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;CAUnC"}
@@ -4,8 +4,8 @@ exports.MethodNotAllowedHttpResponse = void 0;
4
4
  const HttpStatusCode_1 = require("../../http/models/HttpStatusCode");
5
5
  const ErrorHttpResponse_1 = require("./ErrorHttpResponse");
6
6
  class MethodNotAllowedHttpResponse extends ErrorHttpResponse_1.ErrorHttpResponse {
7
- constructor(body, errorMessage = 'Method Not Allowed', errorOptions) {
8
- super(HttpStatusCode_1.HttpStatusCode.METHOD_NOT_ALLOWED, body, errorMessage, errorOptions);
7
+ constructor(body, errorMessage = 'Method Not Allowed', errorOptions, headers) {
8
+ super(HttpStatusCode_1.HttpStatusCode.METHOD_NOT_ALLOWED, body, errorMessage, errorOptions, headers);
9
9
  }
10
10
  }
11
11
  exports.MethodNotAllowedHttpResponse = MethodNotAllowedHttpResponse;
@@ -1 +1 @@
1
- {"version":3,"file":"MethodNotAllowedHttpResponse.js","sourceRoot":"","sources":["../../../../src/httpResponse/models/MethodNotAllowedHttpResponse.ts"],"names":[],"mappings":";;;AAEA,qEAAkE;AAClE,2DAAwD;AAExD,MAAa,4BAA6B,SAAQ,qCAAiB;IACjE,YACE,IAA8D,EAC9D,eAAuB,oBAAoB,EAC3C,YAA2B;QAE3B,KAAK,CAAC,+BAAc,CAAC,kBAAkB,EAAE,IAAI,EAAE,YAAY,EAAE,YAAY,CAAC,CAAC;IAC7E,CAAC;CACF;AARD,oEAQC"}
1
+ {"version":3,"file":"MethodNotAllowedHttpResponse.js","sourceRoot":"","sources":["../../../../src/httpResponse/models/MethodNotAllowedHttpResponse.ts"],"names":[],"mappings":";;;AAEA,qEAAkE;AAClE,2DAAwD;AAExD,MAAa,4BAA6B,SAAQ,qCAAiB;IACjE,YACE,IAA8D,EAC9D,eAAuB,oBAAoB,EAC3C,YAA2B,EAC3B,OAAgC;QAEhC,KAAK,CACH,+BAAc,CAAC,kBAAkB,EACjC,IAAI,EACJ,YAAY,EACZ,YAAY,EACZ,OAAO,CACR,CAAC;IACJ,CAAC;CACF;AAfD,oEAeC"}
@@ -1,5 +1,5 @@
1
1
  import { SuccessHttpResponse } from './SuccessHttpResponse';
2
2
  export declare class MultiStatusHttpResponse extends SuccessHttpResponse {
3
- constructor(body?: object | string | number | boolean);
3
+ constructor(body?: object | string | number | boolean, headers?: Record<string, string>);
4
4
  }
5
5
  //# sourceMappingURL=MultiStatusHttpResponse.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MultiStatusHttpResponse.d.ts","sourceRoot":"","sources":["../../../../src/httpResponse/models/MultiStatusHttpResponse.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAE5D,qBAAa,uBAAwB,SAAQ,mBAAmB;gBAClD,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO;CAGtD"}
1
+ {"version":3,"file":"MultiStatusHttpResponse.d.ts","sourceRoot":"","sources":["../../../../src/httpResponse/models/MultiStatusHttpResponse.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAE5D,qBAAa,uBAAwB,SAAQ,mBAAmB;gBAE5D,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,EACzC,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;CAInC"}
@@ -4,8 +4,8 @@ exports.MultiStatusHttpResponse = void 0;
4
4
  const HttpStatusCode_1 = require("../../http/models/HttpStatusCode");
5
5
  const SuccessHttpResponse_1 = require("./SuccessHttpResponse");
6
6
  class MultiStatusHttpResponse extends SuccessHttpResponse_1.SuccessHttpResponse {
7
- constructor(body) {
8
- super(HttpStatusCode_1.HttpStatusCode.MULTI_STATUS, body);
7
+ constructor(body, headers) {
8
+ super(HttpStatusCode_1.HttpStatusCode.MULTI_STATUS, body, headers);
9
9
  }
10
10
  }
11
11
  exports.MultiStatusHttpResponse = MultiStatusHttpResponse;
@@ -1 +1 @@
1
- {"version":3,"file":"MultiStatusHttpResponse.js","sourceRoot":"","sources":["../../../../src/httpResponse/models/MultiStatusHttpResponse.ts"],"names":[],"mappings":";;;AAAA,qEAAkE;AAClE,+DAA4D;AAE5D,MAAa,uBAAwB,SAAQ,yCAAmB;IAC9D,YAAY,IAAyC;QACnD,KAAK,CAAC,+BAAc,CAAC,YAAY,EAAE,IAAI,CAAC,CAAC;IAC3C,CAAC;CACF;AAJD,0DAIC"}
1
+ {"version":3,"file":"MultiStatusHttpResponse.js","sourceRoot":"","sources":["../../../../src/httpResponse/models/MultiStatusHttpResponse.ts"],"names":[],"mappings":";;;AAAA,qEAAkE;AAClE,+DAA4D;AAE5D,MAAa,uBAAwB,SAAQ,yCAAmB;IAC9D,YACE,IAAyC,EACzC,OAAgC;QAEhC,KAAK,CAAC,+BAAc,CAAC,YAAY,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;IACpD,CAAC;CACF;AAPD,0DAOC"}
@@ -1,5 +1,5 @@
1
1
  import { SuccessHttpResponse } from './SuccessHttpResponse';
2
2
  export declare class NoContentHttpResponse extends SuccessHttpResponse {
3
- constructor();
3
+ constructor(headers?: Record<string, string>);
4
4
  }
5
5
  //# sourceMappingURL=NoContentHttpResponse.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"NoContentHttpResponse.d.ts","sourceRoot":"","sources":["../../../../src/httpResponse/models/NoContentHttpResponse.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAE5D,qBAAa,qBAAsB,SAAQ,mBAAmB;;CAI7D"}
1
+ {"version":3,"file":"NoContentHttpResponse.d.ts","sourceRoot":"","sources":["../../../../src/httpResponse/models/NoContentHttpResponse.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAE5D,qBAAa,qBAAsB,SAAQ,mBAAmB;gBAChD,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;CAG7C"}
@@ -4,8 +4,8 @@ exports.NoContentHttpResponse = void 0;
4
4
  const HttpStatusCode_1 = require("../../http/models/HttpStatusCode");
5
5
  const SuccessHttpResponse_1 = require("./SuccessHttpResponse");
6
6
  class NoContentHttpResponse extends SuccessHttpResponse_1.SuccessHttpResponse {
7
- constructor() {
8
- super(HttpStatusCode_1.HttpStatusCode.NO_CONTENT);
7
+ constructor(headers) {
8
+ super(HttpStatusCode_1.HttpStatusCode.NO_CONTENT, undefined, headers);
9
9
  }
10
10
  }
11
11
  exports.NoContentHttpResponse = NoContentHttpResponse;
@@ -1 +1 @@
1
- {"version":3,"file":"NoContentHttpResponse.js","sourceRoot":"","sources":["../../../../src/httpResponse/models/NoContentHttpResponse.ts"],"names":[],"mappings":";;;AAAA,qEAAkE;AAClE,+DAA4D;AAE5D,MAAa,qBAAsB,SAAQ,yCAAmB;IAC5D;QACE,KAAK,CAAC,+BAAc,CAAC,UAAU,CAAC,CAAC;IACnC,CAAC;CACF;AAJD,sDAIC"}
1
+ {"version":3,"file":"NoContentHttpResponse.js","sourceRoot":"","sources":["../../../../src/httpResponse/models/NoContentHttpResponse.ts"],"names":[],"mappings":";;;AAAA,qEAAkE;AAClE,+DAA4D;AAE5D,MAAa,qBAAsB,SAAQ,yCAAmB;IAC5D,YAAY,OAAgC;QAC1C,KAAK,CAAC,+BAAc,CAAC,UAAU,EAAE,SAAS,EAAE,OAAO,CAAC,CAAC;IACvD,CAAC;CACF;AAJD,sDAIC"}
@@ -1,5 +1,5 @@
1
1
  import { SuccessHttpResponse } from './SuccessHttpResponse';
2
2
  export declare class NonAuthoritativeInformationHttpResponse extends SuccessHttpResponse {
3
- constructor(body?: object | string | number | boolean);
3
+ constructor(body?: object | string | number | boolean, headers?: Record<string, string>);
4
4
  }
5
5
  //# sourceMappingURL=NonAuthoritativeInformationHttpResponse.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"NonAuthoritativeInformationHttpResponse.d.ts","sourceRoot":"","sources":["../../../../src/httpResponse/models/NonAuthoritativeInformationHttpResponse.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAE5D,qBAAa,uCAAwC,SAAQ,mBAAmB;gBAClE,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO;CAGtD"}
1
+ {"version":3,"file":"NonAuthoritativeInformationHttpResponse.d.ts","sourceRoot":"","sources":["../../../../src/httpResponse/models/NonAuthoritativeInformationHttpResponse.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAE5D,qBAAa,uCAAwC,SAAQ,mBAAmB;gBAE5E,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,EACzC,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;CAInC"}
@@ -4,8 +4,8 @@ exports.NonAuthoritativeInformationHttpResponse = void 0;
4
4
  const HttpStatusCode_1 = require("../../http/models/HttpStatusCode");
5
5
  const SuccessHttpResponse_1 = require("./SuccessHttpResponse");
6
6
  class NonAuthoritativeInformationHttpResponse extends SuccessHttpResponse_1.SuccessHttpResponse {
7
- constructor(body) {
8
- super(HttpStatusCode_1.HttpStatusCode.NON_AUTHORITATIVE_INFORMATION, body);
7
+ constructor(body, headers) {
8
+ super(HttpStatusCode_1.HttpStatusCode.NON_AUTHORITATIVE_INFORMATION, body, headers);
9
9
  }
10
10
  }
11
11
  exports.NonAuthoritativeInformationHttpResponse = NonAuthoritativeInformationHttpResponse;
@@ -1 +1 @@
1
- {"version":3,"file":"NonAuthoritativeInformationHttpResponse.js","sourceRoot":"","sources":["../../../../src/httpResponse/models/NonAuthoritativeInformationHttpResponse.ts"],"names":[],"mappings":";;;AAAA,qEAAkE;AAClE,+DAA4D;AAE5D,MAAa,uCAAwC,SAAQ,yCAAmB;IAC9E,YAAY,IAAyC;QACnD,KAAK,CAAC,+BAAc,CAAC,6BAA6B,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;CACF;AAJD,0FAIC"}
1
+ {"version":3,"file":"NonAuthoritativeInformationHttpResponse.js","sourceRoot":"","sources":["../../../../src/httpResponse/models/NonAuthoritativeInformationHttpResponse.ts"],"names":[],"mappings":";;;AAAA,qEAAkE;AAClE,+DAA4D;AAE5D,MAAa,uCAAwC,SAAQ,yCAAmB;IAC9E,YACE,IAAyC,EACzC,OAAgC;QAEhC,KAAK,CAAC,+BAAc,CAAC,6BAA6B,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;IACrE,CAAC;CACF;AAPD,0FAOC"}
@@ -1,6 +1,6 @@
1
1
  import type { Stream } from 'node:stream';
2
2
  import { ErrorHttpResponse } from './ErrorHttpResponse';
3
3
  export declare class NotAcceptableHttpResponse extends ErrorHttpResponse {
4
- constructor(body?: object | string | number | boolean | Stream | undefined, errorMessage?: string, errorOptions?: ErrorOptions);
4
+ constructor(body?: object | string | number | boolean | Stream | undefined, errorMessage?: string, errorOptions?: ErrorOptions, headers?: Record<string, string>);
5
5
  }
6
6
  //# sourceMappingURL=NotAcceptableHttpResponse.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"NotAcceptableHttpResponse.d.ts","sourceRoot":"","sources":["../../../../src/httpResponse/models/NotAcceptableHttpResponse.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAG1C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAExD,qBAAa,yBAA0B,SAAQ,iBAAiB;gBAE5D,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,GAAG,SAAS,EAC9D,YAAY,GAAE,MAAyB,EACvC,YAAY,CAAC,EAAE,YAAY;CAI9B"}
1
+ {"version":3,"file":"NotAcceptableHttpResponse.d.ts","sourceRoot":"","sources":["../../../../src/httpResponse/models/NotAcceptableHttpResponse.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAG1C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAExD,qBAAa,yBAA0B,SAAQ,iBAAiB;gBAE5D,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,GAAG,SAAS,EAC9D,YAAY,GAAE,MAAyB,EACvC,YAAY,CAAC,EAAE,YAAY,EAC3B,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;CAUnC"}
@@ -4,8 +4,8 @@ exports.NotAcceptableHttpResponse = void 0;
4
4
  const HttpStatusCode_1 = require("../../http/models/HttpStatusCode");
5
5
  const ErrorHttpResponse_1 = require("./ErrorHttpResponse");
6
6
  class NotAcceptableHttpResponse extends ErrorHttpResponse_1.ErrorHttpResponse {
7
- constructor(body, errorMessage = 'Not Acceptable', errorOptions) {
8
- super(HttpStatusCode_1.HttpStatusCode.NOT_ACCEPTABLE, body, errorMessage, errorOptions);
7
+ constructor(body, errorMessage = 'Not Acceptable', errorOptions, headers) {
8
+ super(HttpStatusCode_1.HttpStatusCode.NOT_ACCEPTABLE, body, errorMessage, errorOptions, headers);
9
9
  }
10
10
  }
11
11
  exports.NotAcceptableHttpResponse = NotAcceptableHttpResponse;
@@ -1 +1 @@
1
- {"version":3,"file":"NotAcceptableHttpResponse.js","sourceRoot":"","sources":["../../../../src/httpResponse/models/NotAcceptableHttpResponse.ts"],"names":[],"mappings":";;;AAEA,qEAAkE;AAClE,2DAAwD;AAExD,MAAa,yBAA0B,SAAQ,qCAAiB;IAC9D,YACE,IAA8D,EAC9D,eAAuB,gBAAgB,EACvC,YAA2B;QAE3B,KAAK,CAAC,+BAAc,CAAC,cAAc,EAAE,IAAI,EAAE,YAAY,EAAE,YAAY,CAAC,CAAC;IACzE,CAAC;CACF;AARD,8DAQC"}
1
+ {"version":3,"file":"NotAcceptableHttpResponse.js","sourceRoot":"","sources":["../../../../src/httpResponse/models/NotAcceptableHttpResponse.ts"],"names":[],"mappings":";;;AAEA,qEAAkE;AAClE,2DAAwD;AAExD,MAAa,yBAA0B,SAAQ,qCAAiB;IAC9D,YACE,IAA8D,EAC9D,eAAuB,gBAAgB,EACvC,YAA2B,EAC3B,OAAgC;QAEhC,KAAK,CACH,+BAAc,CAAC,cAAc,EAC7B,IAAI,EACJ,YAAY,EACZ,YAAY,EACZ,OAAO,CACR,CAAC;IACJ,CAAC;CACF;AAfD,8DAeC"}
@@ -1,6 +1,6 @@
1
1
  import type { Stream } from 'node:stream';
2
2
  import { ErrorHttpResponse } from './ErrorHttpResponse';
3
3
  export declare class NotFoundHttpResponse extends ErrorHttpResponse {
4
- constructor(body?: object | string | number | boolean | Stream | undefined, errorMessage?: string, errorOptions?: ErrorOptions);
4
+ constructor(body?: object | string | number | boolean | Stream | undefined, errorMessage?: string, errorOptions?: ErrorOptions, headers?: Record<string, string>);
5
5
  }
6
6
  //# sourceMappingURL=NotFoundHttpResponse.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"NotFoundHttpResponse.d.ts","sourceRoot":"","sources":["../../../../src/httpResponse/models/NotFoundHttpResponse.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAG1C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAExD,qBAAa,oBAAqB,SAAQ,iBAAiB;gBAEvD,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,GAAG,SAAS,EAC9D,YAAY,GAAE,MAAoB,EAClC,YAAY,CAAC,EAAE,YAAY;CAI9B"}
1
+ {"version":3,"file":"NotFoundHttpResponse.d.ts","sourceRoot":"","sources":["../../../../src/httpResponse/models/NotFoundHttpResponse.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAG1C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAExD,qBAAa,oBAAqB,SAAQ,iBAAiB;gBAEvD,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,GAAG,SAAS,EAC9D,YAAY,GAAE,MAAoB,EAClC,YAAY,CAAC,EAAE,YAAY,EAC3B,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;CAInC"}
@@ -4,8 +4,8 @@ exports.NotFoundHttpResponse = void 0;
4
4
  const HttpStatusCode_1 = require("../../http/models/HttpStatusCode");
5
5
  const ErrorHttpResponse_1 = require("./ErrorHttpResponse");
6
6
  class NotFoundHttpResponse extends ErrorHttpResponse_1.ErrorHttpResponse {
7
- constructor(body, errorMessage = 'Not Found', errorOptions) {
8
- super(HttpStatusCode_1.HttpStatusCode.NOT_FOUND, body, errorMessage, errorOptions);
7
+ constructor(body, errorMessage = 'Not Found', errorOptions, headers) {
8
+ super(HttpStatusCode_1.HttpStatusCode.NOT_FOUND, body, errorMessage, errorOptions, headers);
9
9
  }
10
10
  }
11
11
  exports.NotFoundHttpResponse = NotFoundHttpResponse;
@@ -1 +1 @@
1
- {"version":3,"file":"NotFoundHttpResponse.js","sourceRoot":"","sources":["../../../../src/httpResponse/models/NotFoundHttpResponse.ts"],"names":[],"mappings":";;;AAEA,qEAAkE;AAClE,2DAAwD;AAExD,MAAa,oBAAqB,SAAQ,qCAAiB;IACzD,YACE,IAA8D,EAC9D,eAAuB,WAAW,EAClC,YAA2B;QAE3B,KAAK,CAAC,+BAAc,CAAC,SAAS,EAAE,IAAI,EAAE,YAAY,EAAE,YAAY,CAAC,CAAC;IACpE,CAAC;CACF;AARD,oDAQC"}
1
+ {"version":3,"file":"NotFoundHttpResponse.js","sourceRoot":"","sources":["../../../../src/httpResponse/models/NotFoundHttpResponse.ts"],"names":[],"mappings":";;;AAEA,qEAAkE;AAClE,2DAAwD;AAExD,MAAa,oBAAqB,SAAQ,qCAAiB;IACzD,YACE,IAA8D,EAC9D,eAAuB,WAAW,EAClC,YAA2B,EAC3B,OAAgC;QAEhC,KAAK,CAAC,+BAAc,CAAC,SAAS,EAAE,IAAI,EAAE,YAAY,EAAE,YAAY,EAAE,OAAO,CAAC,CAAC;IAC7E,CAAC;CACF;AATD,oDASC"}
@@ -1,6 +1,6 @@
1
1
  import type { Stream } from 'node:stream';
2
2
  import { ErrorHttpResponse } from './ErrorHttpResponse';
3
3
  export declare class NotImplementedHttpResponse extends ErrorHttpResponse {
4
- constructor(body?: object | string | number | boolean | Stream | undefined, errorMessage?: string, errorOptions?: ErrorOptions);
4
+ constructor(body?: object | string | number | boolean | Stream | undefined, errorMessage?: string, errorOptions?: ErrorOptions, headers?: Record<string, string>);
5
5
  }
6
6
  //# sourceMappingURL=NotImplementedHttpResponse.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"NotImplementedHttpResponse.d.ts","sourceRoot":"","sources":["../../../../src/httpResponse/models/NotImplementedHttpResponse.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAG1C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAExD,qBAAa,0BAA2B,SAAQ,iBAAiB;gBAE7D,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,GAAG,SAAS,EAC9D,YAAY,GAAE,MAA0B,EACxC,YAAY,CAAC,EAAE,YAAY;CAI9B"}
1
+ {"version":3,"file":"NotImplementedHttpResponse.d.ts","sourceRoot":"","sources":["../../../../src/httpResponse/models/NotImplementedHttpResponse.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAG1C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAExD,qBAAa,0BAA2B,SAAQ,iBAAiB;gBAE7D,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,GAAG,SAAS,EAC9D,YAAY,GAAE,MAA0B,EACxC,YAAY,CAAC,EAAE,YAAY,EAC3B,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;CAUnC"}
@@ -4,8 +4,8 @@ exports.NotImplementedHttpResponse = void 0;
4
4
  const HttpStatusCode_1 = require("../../http/models/HttpStatusCode");
5
5
  const ErrorHttpResponse_1 = require("./ErrorHttpResponse");
6
6
  class NotImplementedHttpResponse extends ErrorHttpResponse_1.ErrorHttpResponse {
7
- constructor(body, errorMessage = 'Not Implemented', errorOptions) {
8
- super(HttpStatusCode_1.HttpStatusCode.NOT_IMPLEMENTED, body, errorMessage, errorOptions);
7
+ constructor(body, errorMessage = 'Not Implemented', errorOptions, headers) {
8
+ super(HttpStatusCode_1.HttpStatusCode.NOT_IMPLEMENTED, body, errorMessage, errorOptions, headers);
9
9
  }
10
10
  }
11
11
  exports.NotImplementedHttpResponse = NotImplementedHttpResponse;
@@ -1 +1 @@
1
- {"version":3,"file":"NotImplementedHttpResponse.js","sourceRoot":"","sources":["../../../../src/httpResponse/models/NotImplementedHttpResponse.ts"],"names":[],"mappings":";;;AAEA,qEAAkE;AAClE,2DAAwD;AAExD,MAAa,0BAA2B,SAAQ,qCAAiB;IAC/D,YACE,IAA8D,EAC9D,eAAuB,iBAAiB,EACxC,YAA2B;QAE3B,KAAK,CAAC,+BAAc,CAAC,eAAe,EAAE,IAAI,EAAE,YAAY,EAAE,YAAY,CAAC,CAAC;IAC1E,CAAC;CACF;AARD,gEAQC"}
1
+ {"version":3,"file":"NotImplementedHttpResponse.js","sourceRoot":"","sources":["../../../../src/httpResponse/models/NotImplementedHttpResponse.ts"],"names":[],"mappings":";;;AAEA,qEAAkE;AAClE,2DAAwD;AAExD,MAAa,0BAA2B,SAAQ,qCAAiB;IAC/D,YACE,IAA8D,EAC9D,eAAuB,iBAAiB,EACxC,YAA2B,EAC3B,OAAgC;QAEhC,KAAK,CACH,+BAAc,CAAC,eAAe,EAC9B,IAAI,EACJ,YAAY,EACZ,YAAY,EACZ,OAAO,CACR,CAAC;IACJ,CAAC;CACF;AAfD,gEAeC"}
@@ -1,5 +1,5 @@
1
1
  import { SuccessHttpResponse } from './SuccessHttpResponse';
2
2
  export declare class OkHttpResponse extends SuccessHttpResponse {
3
- constructor(body?: object | string | number | boolean);
3
+ constructor(body?: object | string | number | boolean, headers?: Record<string, string>);
4
4
  }
5
5
  //# sourceMappingURL=OkHttpResponse.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"OkHttpResponse.d.ts","sourceRoot":"","sources":["../../../../src/httpResponse/models/OkHttpResponse.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAE5D,qBAAa,cAAe,SAAQ,mBAAmB;gBACzC,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO;CAGtD"}
1
+ {"version":3,"file":"OkHttpResponse.d.ts","sourceRoot":"","sources":["../../../../src/httpResponse/models/OkHttpResponse.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAE5D,qBAAa,cAAe,SAAQ,mBAAmB;gBAEnD,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,EACzC,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;CAInC"}
@@ -4,8 +4,8 @@ exports.OkHttpResponse = void 0;
4
4
  const HttpStatusCode_1 = require("../../http/models/HttpStatusCode");
5
5
  const SuccessHttpResponse_1 = require("./SuccessHttpResponse");
6
6
  class OkHttpResponse extends SuccessHttpResponse_1.SuccessHttpResponse {
7
- constructor(body) {
8
- super(HttpStatusCode_1.HttpStatusCode.OK, body);
7
+ constructor(body, headers) {
8
+ super(HttpStatusCode_1.HttpStatusCode.OK, body, headers);
9
9
  }
10
10
  }
11
11
  exports.OkHttpResponse = OkHttpResponse;
@@ -1 +1 @@
1
- {"version":3,"file":"OkHttpResponse.js","sourceRoot":"","sources":["../../../../src/httpResponse/models/OkHttpResponse.ts"],"names":[],"mappings":";;;AAAA,qEAAkE;AAClE,+DAA4D;AAE5D,MAAa,cAAe,SAAQ,yCAAmB;IACrD,YAAY,IAAyC;QACnD,KAAK,CAAC,+BAAc,CAAC,EAAE,EAAE,IAAI,CAAC,CAAC;IACjC,CAAC;CACF;AAJD,wCAIC"}
1
+ {"version":3,"file":"OkHttpResponse.js","sourceRoot":"","sources":["../../../../src/httpResponse/models/OkHttpResponse.ts"],"names":[],"mappings":";;;AAAA,qEAAkE;AAClE,+DAA4D;AAE5D,MAAa,cAAe,SAAQ,yCAAmB;IACrD,YACE,IAAyC,EACzC,OAAgC;QAEhC,KAAK,CAAC,+BAAc,CAAC,EAAE,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;IAC1C,CAAC;CACF;AAPD,wCAOC"}