@resolution/jira-api-client 0.1.1 → 0.1.3

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/CHANGELOG.md CHANGED
@@ -3,6 +3,28 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [0.1.3](https://bitbucket.org/resolutiongmbh/atlassian-api-clients/compare/@resolution/jira-api-client@0.1.2...@resolution/jira-api-client@0.1.3) (2024-05-28)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * exclude codegen from build ([ad5a787](https://bitbucket.org/resolutiongmbh/atlassian-api-clients/commits/ad5a787f59002450cf411cdf928453c548a0370f))
12
+
13
+
14
+
15
+
16
+
17
+ ## [0.1.2](https://bitbucket.org/resolutiongmbh/atlassian-api-clients/compare/@resolution/jira-api-client@0.1.1...@resolution/jira-api-client@0.1.2) (2024-05-28)
18
+
19
+
20
+ ### Bug Fixes
21
+
22
+ * correct entry point ([9c6289f](https://bitbucket.org/resolutiongmbh/atlassian-api-clients/commits/9c6289ff7f1cd429383ad92d0c67fe89c2531344))
23
+
24
+
25
+
26
+
27
+
6
28
  ## [0.1.1](https://bitbucket.org/resolutiongmbh/atlassian-api-clients/compare/@resolution/jira-api-client@0.1.0...@resolution/jira-api-client@0.1.1) (2024-05-28)
7
29
 
8
30
 
package/lib/index.d.ts CHANGED
@@ -1,6 +1,8 @@
1
- import { type ApiClientAceOptions, type ApiClientApOptions, type ApiClientForgeApiExternalOptions, type ApiClientForgeApiOptions, type JiraApiClientForgeBridgeOptions } from "@resolution/atlassian-api-common";
1
+ import { type ApiClientAceOptions, type ApiClientApOptions, type ApiClientForgeApiExternalOptions, type ApiClientForgeApiOptions, ApiError, type JiraApiClientForgeBridgeOptions } from "@resolution/atlassian-api-common";
2
2
  import { BaseJiraPlatformApiClient } from "./openapi/platform/base-jira-platform-api-client";
3
3
  import { BaseJiraSoftwareApiClient } from "./openapi/software/base-jira-software-api-client";
4
+ export * from "./openapi/platform/base-jira-platform-api-client";
5
+ export { ApiError };
4
6
  export declare class JiraPlatformApi extends BaseJiraPlatformApiClient {
5
7
  protected options: ApiClientForgeApiOptions | ApiClientForgeApiExternalOptions | JiraApiClientForgeBridgeOptions | ApiClientAceOptions | ApiClientApOptions;
6
8
  constructor(options: ApiClientForgeApiOptions | ApiClientForgeApiExternalOptions | JiraApiClientForgeBridgeOptions | ApiClientAceOptions | ApiClientApOptions);
package/lib/index.js CHANGED
@@ -1,9 +1,25 @@
1
1
  "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
2
16
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.JiraSoftwareApi = exports.JiraPlatformApi = void 0;
17
+ exports.JiraSoftwareApi = exports.JiraPlatformApi = exports.ApiError = void 0;
4
18
  const atlassian_api_common_1 = require("@resolution/atlassian-api-common");
19
+ Object.defineProperty(exports, "ApiError", { enumerable: true, get: function () { return atlassian_api_common_1.ApiError; } });
5
20
  const base_jira_platform_api_client_1 = require("./openapi/platform/base-jira-platform-api-client");
6
21
  const base_jira_software_api_client_1 = require("./openapi/software/base-jira-software-api-client");
22
+ __exportStar(require("./openapi/platform/base-jira-platform-api-client"), exports);
7
23
  class JiraPlatformApi extends base_jira_platform_api_client_1.BaseJiraPlatformApiClient {
8
24
  constructor(options) {
9
25
  super((0, atlassian_api_common_1.getApiClientOptions)(options));
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,2EAS0C;AAE1C,oGAA6F;AAC7F,oGAA6F;AAE7F,MAAa,eAAgB,SAAQ,yDAAyB;IAC5D,YACY,OAKY;QAEtB,KAAK,CAAC,IAAA,0CAAmB,EAAC,OAAO,CAAC,CAAC,CAAC;QAP1B,YAAO,GAAP,OAAO,CAKK;QAIxB,UAAK,GAAG,IAAA,wCAAiB,GAA0B,CAAC;QACpD,WAAM,GAAG,IAAA,yCAAkB,GAA0B,CAAC;IAFtD,CAAC;CAGF;AAbD,0CAaC;AAED,MAAa,eAAgB,SAAQ,yDAAyB;IAC5D,YACY,OAKY;QAEtB,KAAK,CAAC,IAAA,0CAAmB,EAAC,OAAO,CAAC,CAAC,CAAC;QAP1B,YAAO,GAAP,OAAO,CAKK;QAIxB,UAAK,GAAG,IAAA,wCAAiB,GAA0B,CAAC;QACpD,WAAM,GAAG,IAAA,yCAAkB,GAA0B,CAAC;IAFtD,CAAC;CAGF;AAbD,0CAaC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,2EAU0C;AAMjC,yFAXP,+BAAQ,OAWO;AAJjB,oGAA6F;AAC7F,oGAA6F;AAE7F,mFAAiE;AAGjE,MAAa,eAAgB,SAAQ,yDAAyB;IAC5D,YACY,OAKY;QAEtB,KAAK,CAAC,IAAA,0CAAmB,EAAC,OAAO,CAAC,CAAC,CAAC;QAP1B,YAAO,GAAP,OAAO,CAKK;QAIxB,UAAK,GAAG,IAAA,wCAAiB,GAA0B,CAAC;QACpD,WAAM,GAAG,IAAA,yCAAkB,GAA0B,CAAC;IAFtD,CAAC;CAGF;AAbD,0CAaC;AAED,MAAa,eAAgB,SAAQ,yDAAyB;IAC5D,YACY,OAKY;QAEtB,KAAK,CAAC,IAAA,0CAAmB,EAAC,OAAO,CAAC,CAAC,CAAC;QAP1B,YAAO,GAAP,OAAO,CAKK;QAIxB,UAAK,GAAG,IAAA,wCAAiB,GAA0B,CAAC;QACpD,WAAM,GAAG,IAAA,yCAAkB,GAA0B,CAAC;IAFtD,CAAC;CAGF;AAbD,0CAaC"}
package/package.json CHANGED
@@ -1,8 +1,9 @@
1
1
  {
2
2
  "name": "@resolution/jira-api-client",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "description": "JIRA Platform & Software API Client based on OpenAPI Schema from Atlassian.",
5
- "main": "index.js",
5
+ "main": "lib/index.js",
6
+ "types": "lib/index.d.ts",
6
7
  "files": [
7
8
  "lib",
8
9
  "README.md",
@@ -10,9 +11,8 @@
10
11
  "LICENSE.md"
11
12
  ],
12
13
  "scripts": {
13
- "build": "yarn build:openapi && yarn build:ts",
14
- "build:ts": "yarn run -T tsc -p tsconfig.build.json",
15
- "build:openapi": "yarn run -T api-typescript-generator generate config/api-typescript-generator.config.ts",
14
+ "build": "yarn run -T tsc -p tsconfig.build.json",
15
+ "openapi:codegen": "yarn run -T api-typescript-generator generate config/api-typescript-generator.config.ts",
16
16
  "check:compare-schemas": "yarn run -T ts-node config/compare-schemas.ts",
17
17
  "lint": "yarn run -T eslint src config"
18
18
  },
@@ -39,5 +39,5 @@
39
39
  "publishConfig": {
40
40
  "access": "public"
41
41
  },
42
- "gitHead": "c410ea6a5209cef53640918e62fb2d829021082f"
42
+ "gitHead": "75c84aaba06ce9e07b1a4f05be72b111bb44181f"
43
43
  }