@parra/parra-js-sdk 0.3.413 → 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;
@@ -2172,6 +2173,7 @@ export interface CreateTicketRequestBody {
2172
2173
  export interface TeamMemberStub {
2173
2174
  id: string;
2174
2175
  tenant_id: string;
2176
+ user_id?: string | null;
2175
2177
  name: string;
2176
2178
  avatar?: ImageAssetStub | null;
2177
2179
  }
@@ -2301,7 +2303,7 @@ export interface BulkUpdateTicketChecklistItemRequestBody {
2301
2303
  complete?: boolean | null;
2302
2304
  }
2303
2305
  export interface UpdateTicketRequestBody {
2304
- release_id?: string;
2306
+ release_id?: string | null;
2305
2307
  title?: string;
2306
2308
  short_title?: string | null;
2307
2309
  type?: TicketType;
@@ -2324,7 +2326,7 @@ export interface UpdateTicketRequestBody {
2324
2326
  reported_by_team_member_id?: string | null;
2325
2327
  }
2326
2328
  export interface BulkUpdateTicketsRequestBody {
2327
- release_id?: string;
2329
+ release_id?: string | null;
2328
2330
  title?: string;
2329
2331
  short_title?: string | null;
2330
2332
  type?: TicketType;
@@ -2381,9 +2383,6 @@ export interface TicketChecklistItem {
2381
2383
  complete: boolean;
2382
2384
  }
2383
2385
  export type BulkUpdateTicketChecklistItemsRequestBody = Array<BulkUpdateTicketChecklistItemRequestBody>;
2384
- export interface UpdateReleaseForTicketRequestBody {
2385
- release_id: string;
2386
- }
2387
2386
  export declare enum TicketDisplayStatus {
2388
2387
  pending = "pending",
2389
2388
  inProgress = "in_progress",
@@ -4539,8 +4538,6 @@ declare class ParraAPI {
4539
4538
  listTicketChecklistItems: (tenant_id: string, ticket_id: string, options?: Options) => Promise<Array<TicketChecklistItem>>;
4540
4539
  updateTicketChecklistItemById: (tenant_id: string, ticket_id: string, ticket_checklist_item_id: string, body?: UpdateTicketChecklistItemRequestBody, options?: Options) => Promise<TicketChecklistItem>;
4541
4540
  deleteTicketChecklistItemById: (tenant_id: string, ticket_id: string, ticket_checklist_item_id: string, options?: Options) => Promise<Response>;
4542
- updateReleaseForTicketById: (tenant_id: string, ticket_id: string, body: UpdateReleaseForTicketRequestBody, options?: Options) => Promise<Ticket>;
4543
- removeReleaseFromTicketById: (tenant_id: string, ticket_id: string, options?: Options) => Promise<Response>;
4544
4541
  voteForTicketById: (tenant_id: string, ticket_id: string, options?: Options) => Promise<UserTicket>;
4545
4542
  removeVoteForTicketById: (tenant_id: string, ticket_id: string, options?: Options) => Promise<UserTicket>;
4546
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.413",
3
+ "version": "0.3.415",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",