@parra/parra-js-sdk 0.3.82 → 0.3.84
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/dist/ParraAPI.d.ts +3 -4
- package/dist/ParraAPI.js +5 -0
- package/package.json +1 -1
package/dist/ParraAPI.d.ts
CHANGED
|
@@ -1320,10 +1320,8 @@ export interface ConnectedAppSlackConnectionData {
|
|
|
1320
1320
|
user_id: string;
|
|
1321
1321
|
}
|
|
1322
1322
|
export interface ConnectedAppXConnectionData {
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
app_id: string;
|
|
1326
|
-
user_id: string;
|
|
1323
|
+
handle: string;
|
|
1324
|
+
name: string;
|
|
1327
1325
|
}
|
|
1328
1326
|
export type ConnectedAppConnectionData = ConnectedAppSlackConnectionData | ConnectedAppXConnectionData;
|
|
1329
1327
|
export interface ConnectedAppConnection {
|
|
@@ -1681,6 +1679,7 @@ declare class ParraAPI {
|
|
|
1681
1679
|
getReleaseForTenantById: (tenant_id: string, release_id: string) => Promise<Release>;
|
|
1682
1680
|
updateReleaseForTenantById: (tenant_id: string, release_id: string, body?: UpdateReleaseRequestBody) => Promise<Release>;
|
|
1683
1681
|
deleteReleaseForTenantById: (tenant_id: string, release_id: string) => Promise<Response>;
|
|
1682
|
+
cutReleaseForTenantById: (tenant_id: string, release_id: string) => Promise<Release>;
|
|
1684
1683
|
createReleaseItemForReleaseById: (tenant_id: string, release_id: string, body: CreateReleaseItemRequestBody) => Promise<ReleaseItem>;
|
|
1685
1684
|
paginateTicketsForApplication: (tenant_id: string, application_id: string, query?: {
|
|
1686
1685
|
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",
|