@parra/parra-js-sdk 0.3.49 → 0.3.51
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 +14 -0
- package/dist/ParraAPI.js +8 -1
- package/package.json +1 -1
package/dist/ParraAPI.d.ts
CHANGED
|
@@ -830,13 +830,21 @@ export declare enum TicketStatus {
|
|
|
830
830
|
closed = "closed",
|
|
831
831
|
archived = "archived"
|
|
832
832
|
}
|
|
833
|
+
export declare enum TicketPriority {
|
|
834
|
+
low = "low",
|
|
835
|
+
medium = "medium",
|
|
836
|
+
high = "high",
|
|
837
|
+
urgent = "urgent"
|
|
838
|
+
}
|
|
833
839
|
export interface CreateTicketRequestBody {
|
|
834
840
|
title: string;
|
|
835
841
|
type: TicketType;
|
|
836
842
|
status: TicketStatus;
|
|
843
|
+
priority?: TicketPriority;
|
|
837
844
|
description?: string | null;
|
|
838
845
|
voting_enabled: boolean;
|
|
839
846
|
is_public: boolean;
|
|
847
|
+
user_note_id?: string | null;
|
|
840
848
|
}
|
|
841
849
|
export declare enum ReleaseStatus {
|
|
842
850
|
pending = "pending",
|
|
@@ -876,9 +884,11 @@ export interface TicketStub {
|
|
|
876
884
|
title: string;
|
|
877
885
|
type: TicketType;
|
|
878
886
|
status: TicketStatus;
|
|
887
|
+
priority?: TicketPriority;
|
|
879
888
|
description?: string | null;
|
|
880
889
|
voting_enabled: boolean;
|
|
881
890
|
is_public: boolean;
|
|
891
|
+
user_note_id?: string | null;
|
|
882
892
|
ticket_number: string;
|
|
883
893
|
tenant_id: string;
|
|
884
894
|
vote_count: number;
|
|
@@ -891,9 +901,11 @@ export interface Ticket {
|
|
|
891
901
|
title: string;
|
|
892
902
|
type: TicketType;
|
|
893
903
|
status: TicketStatus;
|
|
904
|
+
priority?: TicketPriority;
|
|
894
905
|
description?: string | null;
|
|
895
906
|
voting_enabled: boolean;
|
|
896
907
|
is_public: boolean;
|
|
908
|
+
user_note_id?: string | null;
|
|
897
909
|
ticket_number: string;
|
|
898
910
|
tenant_id: string;
|
|
899
911
|
vote_count: number;
|
|
@@ -949,9 +961,11 @@ export interface LinkUserNoteRequestBody {
|
|
|
949
961
|
ticket_id: string;
|
|
950
962
|
}
|
|
951
963
|
export interface UpdateTicketRequestBody {
|
|
964
|
+
release_id?: string;
|
|
952
965
|
title?: string;
|
|
953
966
|
type?: TicketType;
|
|
954
967
|
status?: TicketStatus;
|
|
968
|
+
priority?: TicketPriority;
|
|
955
969
|
description?: string | null;
|
|
956
970
|
voting_enabled?: boolean;
|
|
957
971
|
is_public?: boolean;
|
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.AppVersionStatus = exports.TicketDisplayStatus = exports.UserNoteStatus = exports.ReleaseType = exports.ReleaseStatus = exports.TicketStatus = exports.TicketType = exports.TemplateType = exports.CampaignStatus = exports.CampaignActionDisplayType = exports.CampaignActionType = exports.FormIntegrationType = exports.CardItemDisplayType = exports.CardItemType = exports.QuestionKind = exports.QuestionType = exports.FeedbackFormFieldType = exports.SubscriptionStatus = exports.Currency = exports.Interval = void 0;
|
|
3
|
+
exports.ApnsPushType = exports.ApnsEnvironment = exports.ChannelType = exports.ApplicationType = exports.AppVersionStatus = exports.TicketDisplayStatus = exports.UserNoteStatus = exports.ReleaseType = exports.ReleaseStatus = exports.TicketPriority = exports.TicketStatus = exports.TicketType = exports.TemplateType = exports.CampaignStatus = exports.CampaignActionDisplayType = exports.CampaignActionType = exports.FormIntegrationType = exports.CardItemDisplayType = exports.CardItemType = exports.QuestionKind = exports.QuestionType = exports.FeedbackFormFieldType = exports.SubscriptionStatus = exports.Currency = exports.Interval = void 0;
|
|
4
4
|
var Interval;
|
|
5
5
|
(function (Interval) {
|
|
6
6
|
Interval["monthly"] = "monthly";
|
|
@@ -102,6 +102,13 @@ var TicketStatus;
|
|
|
102
102
|
TicketStatus["closed"] = "closed";
|
|
103
103
|
TicketStatus["archived"] = "archived";
|
|
104
104
|
})(TicketStatus || (exports.TicketStatus = TicketStatus = {}));
|
|
105
|
+
var TicketPriority;
|
|
106
|
+
(function (TicketPriority) {
|
|
107
|
+
TicketPriority["low"] = "low";
|
|
108
|
+
TicketPriority["medium"] = "medium";
|
|
109
|
+
TicketPriority["high"] = "high";
|
|
110
|
+
TicketPriority["urgent"] = "urgent";
|
|
111
|
+
})(TicketPriority || (exports.TicketPriority = TicketPriority = {}));
|
|
105
112
|
var ReleaseStatus;
|
|
106
113
|
(function (ReleaseStatus) {
|
|
107
114
|
ReleaseStatus["pending"] = "pending";
|