@parra/parra-js-sdk 0.3.414 → 0.3.415

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.
@@ -2146,6 +2146,7 @@ export interface CreateTicketChecklistItemRequestBody {
2146
2146
  complete?: boolean | null;
2147
2147
  }
2148
2148
  export interface CreateTicketRequestBody {
2149
+ release_id?: string | null;
2149
2150
  title: string;
2150
2151
  short_title?: string | null;
2151
2152
  type: TicketType;
@@ -2302,7 +2303,7 @@ export interface BulkUpdateTicketChecklistItemRequestBody {
2302
2303
  complete?: boolean | null;
2303
2304
  }
2304
2305
  export interface UpdateTicketRequestBody {
2305
- release_id?: string;
2306
+ release_id?: string | null;
2306
2307
  title?: string;
2307
2308
  short_title?: string | null;
2308
2309
  type?: TicketType;
@@ -2325,7 +2326,7 @@ export interface UpdateTicketRequestBody {
2325
2326
  reported_by_team_member_id?: string | null;
2326
2327
  }
2327
2328
  export interface BulkUpdateTicketsRequestBody {
2328
- release_id?: string;
2329
+ release_id?: string | null;
2329
2330
  title?: string;
2330
2331
  short_title?: string | null;
2331
2332
  type?: TicketType;
@@ -2382,9 +2383,6 @@ export interface TicketChecklistItem {
2382
2383
  complete: boolean;
2383
2384
  }
2384
2385
  export type BulkUpdateTicketChecklistItemsRequestBody = Array<BulkUpdateTicketChecklistItemRequestBody>;
2385
- export interface UpdateReleaseForTicketRequestBody {
2386
- release_id: string;
2387
- }
2388
2386
  export declare enum TicketDisplayStatus {
2389
2387
  pending = "pending",
2390
2388
  inProgress = "in_progress",
@@ -4540,8 +4538,6 @@ declare class ParraAPI {
4540
4538
  listTicketChecklistItems: (tenant_id: string, ticket_id: string, options?: Options) => Promise<Array<TicketChecklistItem>>;
4541
4539
  updateTicketChecklistItemById: (tenant_id: string, ticket_id: string, ticket_checklist_item_id: string, body?: UpdateTicketChecklistItemRequestBody, options?: Options) => Promise<TicketChecklistItem>;
4542
4540
  deleteTicketChecklistItemById: (tenant_id: string, ticket_id: string, ticket_checklist_item_id: string, options?: Options) => Promise<Response>;
4543
- updateReleaseForTicketById: (tenant_id: string, ticket_id: string, body: UpdateReleaseForTicketRequestBody, options?: Options) => Promise<Ticket>;
4544
- removeReleaseFromTicketById: (tenant_id: string, ticket_id: string, options?: Options) => Promise<Response>;
4545
4541
  voteForTicketById: (tenant_id: string, ticket_id: string, options?: Options) => Promise<UserTicket>;
4546
4542
  removeVoteForTicketById: (tenant_id: string, ticket_id: string, options?: Options) => Promise<UserTicket>;
4547
4543
  generateNextReleaseVersionInfoForTenantById: (tenant_id: string, body: ReleaseVersionInfoRequestBody, options?: Options) => Promise<ReleaseVersionInfo>;
package/dist/ParraAPI.js CHANGED
@@ -1282,16 +1282,6 @@ var ParraAPI = /** @class */ (function () {
1282
1282
  if (options === void 0) { options = {}; }
1283
1283
  return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/tickets/").concat(ticket_id, "/checklist/items/").concat(ticket_checklist_item_id), __assign({ method: "delete" }, options));
1284
1284
  };
1285
- this.updateReleaseForTicketById = function (tenant_id, ticket_id, body, options) {
1286
- if (options === void 0) { options = {}; }
1287
- return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/tickets/").concat(ticket_id, "/release"), __assign({ method: "put", body: JSON.stringify(body), headers: {
1288
- "content-type": "application/json",
1289
- } }, options));
1290
- };
1291
- this.removeReleaseFromTicketById = function (tenant_id, ticket_id, options) {
1292
- if (options === void 0) { options = {}; }
1293
- return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/tickets/").concat(ticket_id, "/release"), __assign({ method: "delete" }, options));
1294
- };
1295
1285
  this.voteForTicketById = function (tenant_id, ticket_id, options) {
1296
1286
  if (options === void 0) { options = {}; }
1297
1287
  return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/tickets/").concat(ticket_id, "/vote"), __assign({ method: "post" }, options));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parra/parra-js-sdk",
3
- "version": "0.3.414",
3
+ "version": "0.3.415",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",