@parra/parra-js-sdk 0.3.123 → 0.3.125
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 +15 -14
- package/dist/ParraAPI.js +7 -7
- package/package.json +1 -1
package/dist/ParraAPI.d.ts
CHANGED
|
@@ -1871,17 +1871,13 @@ export declare enum PolicyDocumentType {
|
|
|
1871
1871
|
}
|
|
1872
1872
|
export interface UpdatePolicyDocumentRequestBody {
|
|
1873
1873
|
title?: string | null;
|
|
1874
|
+
url?: string | null;
|
|
1874
1875
|
}
|
|
1875
1876
|
export interface CreatePolicyDocumentRequestBody {
|
|
1876
1877
|
title?: string | null;
|
|
1878
|
+
url?: string | null;
|
|
1877
1879
|
type: PolicyDocumentType;
|
|
1878
1880
|
self_hosted: boolean;
|
|
1879
|
-
url?: string | null;
|
|
1880
|
-
}
|
|
1881
|
-
export declare enum PolicyDocumentStatus {
|
|
1882
|
-
live = "live",
|
|
1883
|
-
draft = "draft",
|
|
1884
|
-
hosted = "hosted"
|
|
1885
1881
|
}
|
|
1886
1882
|
export declare enum PolicyDocumentVersionStatus {
|
|
1887
1883
|
pristine = "pristine",
|
|
@@ -1911,28 +1907,33 @@ export interface PolicyDocumentVersion {
|
|
|
1911
1907
|
status: PolicyDocumentVersionStatus;
|
|
1912
1908
|
content: string | null;
|
|
1913
1909
|
}
|
|
1914
|
-
export
|
|
1910
|
+
export declare enum PolicyDocumentStatus {
|
|
1911
|
+
live = "live",
|
|
1912
|
+
draft = "draft",
|
|
1913
|
+
hosted = "hosted"
|
|
1914
|
+
}
|
|
1915
|
+
export interface PolicyDocumentCollectionStub {
|
|
1915
1916
|
id: string;
|
|
1916
1917
|
created_at: string;
|
|
1917
1918
|
updated_at: string;
|
|
1918
1919
|
deleted_at?: string | null;
|
|
1919
|
-
tenant_id: string;
|
|
1920
1920
|
type: PolicyDocumentType;
|
|
1921
|
-
title: string;
|
|
1922
1921
|
status: PolicyDocumentStatus;
|
|
1923
|
-
|
|
1924
|
-
|
|
1922
|
+
title: string | null;
|
|
1923
|
+
url: string;
|
|
1925
1924
|
}
|
|
1926
|
-
export interface
|
|
1925
|
+
export interface PolicyDocument {
|
|
1927
1926
|
id: string;
|
|
1928
1927
|
created_at: string;
|
|
1929
1928
|
updated_at: string;
|
|
1930
1929
|
deleted_at?: string | null;
|
|
1931
1930
|
type: PolicyDocumentType;
|
|
1932
|
-
status
|
|
1931
|
+
status: PolicyDocumentStatus;
|
|
1933
1932
|
title: string | null;
|
|
1934
|
-
published_version?: string | null;
|
|
1935
1933
|
url: string;
|
|
1934
|
+
tenant_id: string;
|
|
1935
|
+
published_version?: PolicyDocumentVersion | null;
|
|
1936
|
+
draft_version?: PolicyDocumentVersion | null;
|
|
1936
1937
|
}
|
|
1937
1938
|
export interface PolicyDocumentCollectionResponse {
|
|
1938
1939
|
page: number;
|
package/dist/ParraAPI.js
CHANGED
|
@@ -11,7 +11,7 @@ var __assign = (this && this.__assign) || function () {
|
|
|
11
11
|
return __assign.apply(this, arguments);
|
|
12
12
|
};
|
|
13
13
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
-
exports.
|
|
14
|
+
exports.PolicyDocumentStatus = exports.PolicyDocumentVersionStatus = exports.PolicyDocumentType = exports.IntegrationScope = exports.IntegrationConnectionStatus = exports.IntegrationType = exports.ConnectedAppConnectionStatus = exports.ConnectedAppType = exports.ApplicationType = exports.RefreshTokenRotationType = exports.RefreshTokenExpirationType = exports.JwtAlgorithm = exports.GrantType = exports.ApnsPushType = exports.ApnsEnvironment = exports.ChannelType = exports.AppVersionStatus = exports.TicketDisplayStatus = exports.UserNoteStatus = exports.ReleaseType = exports.ReleaseStatus = exports.TicketIconType = exports.TicketPriority = exports.TicketStatus = exports.TicketType = exports.TemplateType = exports.CampaignStatus = exports.CampaignActionDisplayType = exports.CampaignActionType = exports.CardItemDisplayType = exports.CardItemType = exports.QuestionKind = exports.QuestionType = exports.FeedbackFormFieldType = exports.SubscriptionStatus = exports.Currency = exports.Interval = exports.IdentityType = void 0;
|
|
15
15
|
var IdentityType;
|
|
16
16
|
(function (IdentityType) {
|
|
17
17
|
IdentityType["username"] = "username";
|
|
@@ -247,18 +247,18 @@ var PolicyDocumentType;
|
|
|
247
247
|
PolicyDocumentType["privacy"] = "privacy";
|
|
248
248
|
PolicyDocumentType["cookie"] = "cookie";
|
|
249
249
|
})(PolicyDocumentType || (exports.PolicyDocumentType = PolicyDocumentType = {}));
|
|
250
|
-
var PolicyDocumentStatus;
|
|
251
|
-
(function (PolicyDocumentStatus) {
|
|
252
|
-
PolicyDocumentStatus["live"] = "live";
|
|
253
|
-
PolicyDocumentStatus["draft"] = "draft";
|
|
254
|
-
PolicyDocumentStatus["hosted"] = "hosted";
|
|
255
|
-
})(PolicyDocumentStatus || (exports.PolicyDocumentStatus = PolicyDocumentStatus = {}));
|
|
256
250
|
var PolicyDocumentVersionStatus;
|
|
257
251
|
(function (PolicyDocumentVersionStatus) {
|
|
258
252
|
PolicyDocumentVersionStatus["pristine"] = "pristine";
|
|
259
253
|
PolicyDocumentVersionStatus["draft"] = "draft";
|
|
260
254
|
PolicyDocumentVersionStatus["published"] = "published";
|
|
261
255
|
})(PolicyDocumentVersionStatus || (exports.PolicyDocumentVersionStatus = PolicyDocumentVersionStatus = {}));
|
|
256
|
+
var PolicyDocumentStatus;
|
|
257
|
+
(function (PolicyDocumentStatus) {
|
|
258
|
+
PolicyDocumentStatus["live"] = "live";
|
|
259
|
+
PolicyDocumentStatus["draft"] = "draft";
|
|
260
|
+
PolicyDocumentStatus["hosted"] = "hosted";
|
|
261
|
+
})(PolicyDocumentStatus || (exports.PolicyDocumentStatus = PolicyDocumentStatus = {}));
|
|
262
262
|
var ParraAPI = /** @class */ (function () {
|
|
263
263
|
function ParraAPI(http, options) {
|
|
264
264
|
var _this = this;
|