@parra/parra-js-sdk 0.3.123 → 0.3.126
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 +9 -8
- package/package.json +1 -1
package/dist/ParraAPI.d.ts
CHANGED
|
@@ -1871,12 +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
|
}
|
|
1881
1882
|
export declare enum PolicyDocumentStatus {
|
|
1882
1883
|
live = "live",
|
|
@@ -1895,8 +1896,6 @@ export interface PolicyDocumentVersionStub {
|
|
|
1895
1896
|
deleted_at?: string | null;
|
|
1896
1897
|
version: string;
|
|
1897
1898
|
title: string | null;
|
|
1898
|
-
tenant_id: string;
|
|
1899
|
-
policy_document_id: string;
|
|
1900
1899
|
status: PolicyDocumentVersionStatus;
|
|
1901
1900
|
}
|
|
1902
1901
|
export interface PolicyDocumentVersion {
|
|
@@ -1906,9 +1905,9 @@ export interface PolicyDocumentVersion {
|
|
|
1906
1905
|
deleted_at?: string | null;
|
|
1907
1906
|
version: string;
|
|
1908
1907
|
title: string | null;
|
|
1908
|
+
status: PolicyDocumentVersionStatus;
|
|
1909
1909
|
tenant_id: string;
|
|
1910
1910
|
policy_document_id: string;
|
|
1911
|
-
status: PolicyDocumentVersionStatus;
|
|
1912
1911
|
content: string | null;
|
|
1913
1912
|
}
|
|
1914
1913
|
export interface PolicyDocument {
|
|
@@ -1916,10 +1915,11 @@ export interface PolicyDocument {
|
|
|
1916
1915
|
created_at: string;
|
|
1917
1916
|
updated_at: string;
|
|
1918
1917
|
deleted_at?: string | null;
|
|
1919
|
-
tenant_id: string;
|
|
1920
1918
|
type: PolicyDocumentType;
|
|
1921
|
-
title: string;
|
|
1922
1919
|
status: PolicyDocumentStatus;
|
|
1920
|
+
title: string | null;
|
|
1921
|
+
url: string;
|
|
1922
|
+
tenant_id: string;
|
|
1923
1923
|
published_version?: PolicyDocumentVersion | null;
|
|
1924
1924
|
draft_version?: PolicyDocumentVersion | null;
|
|
1925
1925
|
}
|
|
@@ -1929,10 +1929,11 @@ export interface PolicyDocumentCollectionStub {
|
|
|
1929
1929
|
updated_at: string;
|
|
1930
1930
|
deleted_at?: string | null;
|
|
1931
1931
|
type: PolicyDocumentType;
|
|
1932
|
-
status
|
|
1932
|
+
status: PolicyDocumentStatus;
|
|
1933
1933
|
title: string | null;
|
|
1934
|
-
published_version?: string | null;
|
|
1935
1934
|
url: string;
|
|
1935
|
+
published_version?: PolicyDocumentVersionStub | null;
|
|
1936
|
+
draft_version?: PolicyDocumentVersionStub | null;
|
|
1936
1937
|
}
|
|
1937
1938
|
export interface PolicyDocumentCollectionResponse {
|
|
1938
1939
|
page: number;
|