@parra/parra-js-sdk 0.3.18 → 0.3.19
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 +7 -7
- package/dist/ParraAPI.js +1 -8
- package/package.json +1 -1
package/dist/ParraAPI.d.ts
CHANGED
|
@@ -795,11 +795,15 @@ export interface UpdateTicketRequestBody {
|
|
|
795
795
|
title: string;
|
|
796
796
|
type: TicketType;
|
|
797
797
|
description?: string | null;
|
|
798
|
+
voting_enabled: boolean;
|
|
799
|
+
is_public: boolean;
|
|
798
800
|
}
|
|
799
801
|
export interface CreateTicketRequestBody {
|
|
800
802
|
title: string;
|
|
801
803
|
type: TicketType;
|
|
802
804
|
description?: string | null;
|
|
805
|
+
voting_enabled: boolean;
|
|
806
|
+
is_public: boolean;
|
|
803
807
|
}
|
|
804
808
|
export declare enum TicketStatus {
|
|
805
809
|
open = "open",
|
|
@@ -810,12 +814,6 @@ export declare enum TicketStatus {
|
|
|
810
814
|
closed = "closed",
|
|
811
815
|
archived = "archived"
|
|
812
816
|
}
|
|
813
|
-
export declare enum TicketDisplayStatus {
|
|
814
|
-
pending = "pending",
|
|
815
|
-
upcoming = "upcoming",
|
|
816
|
-
inProgress = "in_progress",
|
|
817
|
-
live = "live"
|
|
818
|
-
}
|
|
819
817
|
export interface Ticket {
|
|
820
818
|
id: string;
|
|
821
819
|
created_at: string;
|
|
@@ -824,9 +822,11 @@ export interface Ticket {
|
|
|
824
822
|
title: string;
|
|
825
823
|
type: TicketType;
|
|
826
824
|
description?: string | null;
|
|
825
|
+
voting_enabled: boolean;
|
|
826
|
+
is_public: boolean;
|
|
827
827
|
tenant_id: string;
|
|
828
828
|
status: TicketStatus;
|
|
829
|
-
|
|
829
|
+
vote_count: number;
|
|
830
830
|
}
|
|
831
831
|
export interface TicketCollectionResponse {
|
|
832
832
|
page: number;
|
package/dist/ParraAPI.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ApnsPushType = exports.ApnsEnvironment = exports.ChannelType = exports.ApplicationType = exports.
|
|
3
|
+
exports.ApnsPushType = exports.ApnsEnvironment = exports.ChannelType = exports.ApplicationType = exports.TicketStatus = exports.TicketType = exports.TemplateType = exports.CampaignStatus = exports.CampaignActionDisplayType = exports.CampaignActionType = exports.FeedbackFormFieldType = exports.QuestionKind = exports.QuestionType = exports.CardItemDisplayType = exports.CardItemType = exports.SubscriptionStatus = exports.Currency = exports.Interval = void 0;
|
|
4
4
|
var Interval;
|
|
5
5
|
(function (Interval) {
|
|
6
6
|
Interval["monthly"] = "monthly";
|
|
@@ -98,13 +98,6 @@ var TicketStatus;
|
|
|
98
98
|
TicketStatus["closed"] = "closed";
|
|
99
99
|
TicketStatus["archived"] = "archived";
|
|
100
100
|
})(TicketStatus || (exports.TicketStatus = TicketStatus = {}));
|
|
101
|
-
var TicketDisplayStatus;
|
|
102
|
-
(function (TicketDisplayStatus) {
|
|
103
|
-
TicketDisplayStatus["pending"] = "pending";
|
|
104
|
-
TicketDisplayStatus["upcoming"] = "upcoming";
|
|
105
|
-
TicketDisplayStatus["inProgress"] = "in_progress";
|
|
106
|
-
TicketDisplayStatus["live"] = "live";
|
|
107
|
-
})(TicketDisplayStatus || (exports.TicketDisplayStatus = TicketDisplayStatus = {}));
|
|
108
101
|
var ApplicationType;
|
|
109
102
|
(function (ApplicationType) {
|
|
110
103
|
ApplicationType["ios"] = "ios";
|