@parra/parra-js-sdk 0.3.226 → 0.3.228

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.
@@ -216,6 +216,7 @@ export interface ApplicationAppInfoStub {
216
216
  type: ApplicationType;
217
217
  icon?: ImageAssetStub | null;
218
218
  default_feedback_form_id?: string | null;
219
+ error_feedback_form_id?: string | null;
219
220
  }
220
221
  export declare enum DomainType {
221
222
  managed = "managed",
@@ -425,6 +426,7 @@ export interface TenantUserCollectionStub {
425
426
  last_updated_at?: string | null;
426
427
  last_seen_at?: string | null;
427
428
  last_login_at?: string | null;
429
+ has_password: boolean;
428
430
  }
429
431
  export interface TenantUserDataStub {
430
432
  id: string;
@@ -453,6 +455,7 @@ export interface TenantUserDataStub {
453
455
  last_updated_at?: string | null;
454
456
  last_seen_at?: string | null;
455
457
  last_login_at?: string | null;
458
+ has_password: boolean;
456
459
  }
457
460
  export interface TenantUser {
458
461
  id: string;
@@ -481,6 +484,7 @@ export interface TenantUser {
481
484
  last_updated_at?: string | null;
482
485
  last_seen_at?: string | null;
483
486
  last_login_at?: string | null;
487
+ has_password: boolean;
484
488
  properties: object;
485
489
  identities?: Array<Identity> | null;
486
490
  }
@@ -1293,7 +1297,8 @@ export interface CreateUserNoteRequestBody {
1293
1297
  title: string;
1294
1298
  type: string;
1295
1299
  description?: string | null;
1296
- user_id: string;
1300
+ user_id?: string | null;
1301
+ guest_user_id?: string | null;
1297
1302
  }
1298
1303
  export declare enum UserNoteStatus {
1299
1304
  pending = "pending",
@@ -1308,14 +1313,15 @@ export interface UserNote {
1308
1313
  title: string;
1309
1314
  type: string;
1310
1315
  description?: string | null;
1311
- user_id: string;
1316
+ user_id?: string | null;
1317
+ guest_user_id?: string | null;
1312
1318
  tenant_id: string;
1313
1319
  board_id: string;
1314
1320
  ticket_id?: string | null;
1315
1321
  status: UserNoteStatus;
1316
1322
  accepted_at?: string | null;
1317
1323
  rejected_at?: string | null;
1318
- user: TenantUserStub;
1324
+ user?: TenantUserStub | null;
1319
1325
  }
1320
1326
  export interface UserNoteCollectionResponse {
1321
1327
  page: number;
@@ -1469,7 +1475,7 @@ export interface RoadmapConfigurationTab {
1469
1475
  description?: string | null;
1470
1476
  }
1471
1477
  export interface AppRoadmapConfiguration {
1472
- form?: FeedbackFormDataStub;
1478
+ form?: FeedbackFormDataStub | null;
1473
1479
  tabs: Array<RoadmapConfigurationTab>;
1474
1480
  }
1475
1481
  export interface AppReleaseCollectionResponse {
@@ -1986,6 +1992,7 @@ export interface Application {
1986
1992
  privacy_policy_document_id?: string | null;
1987
1993
  terms_of_service_policy_document_id?: string | null;
1988
1994
  default_feedback_form_id?: string | null;
1995
+ error_feedback_form_id?: string | null;
1989
1996
  icon?: ImageAssetStub | null;
1990
1997
  ios?: ApplicationIosConfig | null;
1991
1998
  }
@@ -2043,6 +2050,7 @@ export interface UpdateApplicationRequestBody {
2043
2050
  privacy_policy_document_id?: string | null;
2044
2051
  terms_of_service_policy_document_id?: string | null;
2045
2052
  default_feedback_form_id?: string | null;
2053
+ error_feedback_form_id?: string | null;
2046
2054
  icon?: ImageAssetStub | null;
2047
2055
  }
2048
2056
  export interface LinkAppStoreConnectAppRequestBody {
@@ -2518,6 +2526,7 @@ export interface MailTemplateVersionStub {
2518
2526
  slug?: string | null;
2519
2527
  }
2520
2528
  export declare enum MailTemplateStatus {
2529
+ invalid = "invalid",
2521
2530
  live = "live",
2522
2531
  draft = "draft"
2523
2532
  }
@@ -2527,16 +2536,16 @@ export interface MailTemplateStub {
2527
2536
  updated_at: string;
2528
2537
  deleted_at?: string | null;
2529
2538
  tenant_id: string;
2530
- sender_id: string;
2531
- connected_app_connection_id: string;
2539
+ sender_id?: string | null;
2540
+ connected_app_connection_id?: string | null;
2532
2541
  active_version_id?: string | null;
2533
2542
  type?: MailTemplateType | null;
2534
2543
  title: string;
2535
2544
  description?: string | null;
2536
2545
  slug?: string | null;
2537
2546
  status: MailTemplateStatus;
2538
- sender: MailSender;
2539
- connected_app_connection: ConnectedAppConnectionStub;
2547
+ sender?: MailSender | null;
2548
+ connected_app_connection?: ConnectedAppConnectionStub | null;
2540
2549
  }
2541
2550
  export interface MailTemplateCollectionStub {
2542
2551
  id: string;
@@ -2544,16 +2553,16 @@ export interface MailTemplateCollectionStub {
2544
2553
  updated_at: string;
2545
2554
  deleted_at?: string | null;
2546
2555
  tenant_id: string;
2547
- sender_id: string;
2548
- connected_app_connection_id: string;
2556
+ sender_id?: string | null;
2557
+ connected_app_connection_id?: string | null;
2549
2558
  active_version_id?: string | null;
2550
2559
  type?: MailTemplateType | null;
2551
2560
  title: string;
2552
2561
  description?: string | null;
2553
2562
  slug?: string | null;
2554
2563
  status: MailTemplateStatus;
2555
- sender: MailSender;
2556
- connected_app_connection: ConnectedAppConnectionStub;
2564
+ sender?: MailSender | null;
2565
+ connected_app_connection?: ConnectedAppConnectionStub | null;
2557
2566
  versions: Array<MailTemplateVersionStub>;
2558
2567
  }
2559
2568
  export interface MailTemplate {
@@ -2562,16 +2571,16 @@ export interface MailTemplate {
2562
2571
  updated_at: string;
2563
2572
  deleted_at?: string | null;
2564
2573
  tenant_id: string;
2565
- sender_id: string;
2566
- connected_app_connection_id: string;
2574
+ sender_id?: string | null;
2575
+ connected_app_connection_id?: string | null;
2567
2576
  active_version_id?: string | null;
2568
2577
  type?: MailTemplateType | null;
2569
2578
  title: string;
2570
2579
  description?: string | null;
2571
2580
  slug?: string | null;
2572
2581
  status: MailTemplateStatus;
2573
- sender: MailSender;
2574
- connected_app_connection: ConnectedAppConnectionStub;
2582
+ sender?: MailSender | null;
2583
+ connected_app_connection?: ConnectedAppConnectionStub | null;
2575
2584
  versions: Array<MailTemplateVersionStub>;
2576
2585
  }
2577
2586
  export interface MailTemplateCollectionResponse {
@@ -2923,7 +2932,7 @@ declare class ParraAPI {
2923
2932
  $expand?: string;
2924
2933
  $search?: string;
2925
2934
  }, options?: Options) => Promise<TicketCollectionResponse>;
2926
- createUserNoteForBoard: (tenant_id: string, board_id: string, body: CreateUserNoteRequestBody, options?: Options) => Promise<UserNote>;
2935
+ createUserNoteForBoard: (tenant_id: string, board_id: string, body?: CreateUserNoteRequestBody, options?: Options) => Promise<UserNote>;
2927
2936
  paginateUserNotesForBoard: (tenant_id: string, board_id: string, query?: {
2928
2937
  $select?: string;
2929
2938
  $top?: number;
package/dist/ParraAPI.js CHANGED
@@ -315,6 +315,7 @@ var MailTemplateVersionStatus;
315
315
  })(MailTemplateVersionStatus || (exports.MailTemplateVersionStatus = MailTemplateVersionStatus = {}));
316
316
  var MailTemplateStatus;
317
317
  (function (MailTemplateStatus) {
318
+ MailTemplateStatus["invalid"] = "invalid";
318
319
  MailTemplateStatus["live"] = "live";
319
320
  MailTemplateStatus["draft"] = "draft";
320
321
  })(MailTemplateStatus || (exports.MailTemplateStatus = MailTemplateStatus = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parra/parra-js-sdk",
3
- "version": "0.3.226",
3
+ "version": "0.3.228",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",