@parra/parra-js-sdk 0.3.83 → 0.3.85

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.
@@ -1456,7 +1456,11 @@ export interface TenantIntegration {
1456
1456
  export interface UpdateIntegrationConnectionRequestBody {
1457
1457
  active?: boolean;
1458
1458
  }
1459
- export type UpdateIntegrationConnectionDataRequestBody = UpdateSlackReleaseCollectionIntegrationConnectionData | UpdateSlackFeedbackFormIntegrationConnectionData | UpdateParraFeedbackFormBoardIntegrationConnectionData;
1459
+ export interface UpdateXReleaseCollectionIntegrationConnectionData {
1460
+ connected_app_connection_id: string;
1461
+ text: string;
1462
+ }
1463
+ export type UpdateIntegrationConnectionDataRequestBody = UpdateSlackFeedbackFormIntegrationConnectionData | UpdateParraFeedbackFormBoardIntegrationConnectionData | UpdateSlackReleaseCollectionIntegrationConnectionData | UpdateXReleaseCollectionIntegrationConnectionData;
1460
1464
  export interface CreateIntegrationConnectionRequestBody {
1461
1465
  }
1462
1466
  export interface TenantInvitationRequestBody {
@@ -1679,6 +1683,7 @@ declare class ParraAPI {
1679
1683
  getReleaseForTenantById: (tenant_id: string, release_id: string) => Promise<Release>;
1680
1684
  updateReleaseForTenantById: (tenant_id: string, release_id: string, body?: UpdateReleaseRequestBody) => Promise<Release>;
1681
1685
  deleteReleaseForTenantById: (tenant_id: string, release_id: string) => Promise<Response>;
1686
+ cutReleaseForTenantById: (tenant_id: string, release_id: string) => Promise<Release>;
1682
1687
  createReleaseItemForReleaseById: (tenant_id: string, release_id: string, body: CreateReleaseItemRequestBody) => Promise<ReleaseItem>;
1683
1688
  paginateTicketsForApplication: (tenant_id: string, application_id: string, query?: {
1684
1689
  limit?: number;
package/dist/ParraAPI.js CHANGED
@@ -658,6 +658,11 @@ var ParraAPI = /** @class */ (function () {
658
658
  method: "delete",
659
659
  });
660
660
  };
661
+ this.cutReleaseForTenantById = function (tenant_id, release_id) {
662
+ return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/releases/").concat(release_id, "/release"), {
663
+ method: "post",
664
+ });
665
+ };
661
666
  this.createReleaseItemForReleaseById = function (tenant_id, release_id, body) {
662
667
  return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/releases/").concat(release_id, "/items"), {
663
668
  method: "post",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parra/parra-js-sdk",
3
- "version": "0.3.83",
3
+ "version": "0.3.85",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",