@parra/parra-js-sdk 0.3.160 → 0.3.161
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 +58 -40
- package/dist/ParraAPI.js +16 -16
- package/package.json +1 -1
package/dist/ParraAPI.d.ts
CHANGED
|
@@ -170,9 +170,61 @@ export interface NewInstalledVersionInfo {
|
|
|
170
170
|
export interface AppInfo {
|
|
171
171
|
version_token: string | null;
|
|
172
172
|
new_installed_version_info?: NewInstalledVersionInfo;
|
|
173
|
+
tenant: TenantAppInfoStub;
|
|
173
174
|
auth: AppAuthInfo;
|
|
174
175
|
legal: AppLegalInfo;
|
|
175
176
|
}
|
|
177
|
+
export declare enum DomainType {
|
|
178
|
+
managed = "managed",
|
|
179
|
+
external = "external",
|
|
180
|
+
subdomain = "subdomain",
|
|
181
|
+
fallback = "fallback"
|
|
182
|
+
}
|
|
183
|
+
export declare enum DomainStatus {
|
|
184
|
+
setup = "setup",
|
|
185
|
+
pending = "pending",
|
|
186
|
+
error = "error",
|
|
187
|
+
disabled = "disabled",
|
|
188
|
+
deleted = "deleted"
|
|
189
|
+
}
|
|
190
|
+
export interface ExternalDomainData {
|
|
191
|
+
status: DomainStatus;
|
|
192
|
+
domain: string;
|
|
193
|
+
disabled: boolean;
|
|
194
|
+
}
|
|
195
|
+
export type DomainData = ExternalDomainData;
|
|
196
|
+
export interface Domain {
|
|
197
|
+
id: string;
|
|
198
|
+
type: DomainType;
|
|
199
|
+
name: string;
|
|
200
|
+
title: string;
|
|
201
|
+
host: string;
|
|
202
|
+
url: string;
|
|
203
|
+
data?: DomainData | null;
|
|
204
|
+
}
|
|
205
|
+
export interface Entitlement {
|
|
206
|
+
}
|
|
207
|
+
export interface CreateTenantRequestBody {
|
|
208
|
+
name: string;
|
|
209
|
+
subdomain?: string | null;
|
|
210
|
+
is_test: boolean;
|
|
211
|
+
parent_tenant_id?: string | null;
|
|
212
|
+
}
|
|
213
|
+
export interface TenantAppInfoStub {
|
|
214
|
+
id: string;
|
|
215
|
+
created_at: string;
|
|
216
|
+
updated_at: string;
|
|
217
|
+
deleted_at?: string | null;
|
|
218
|
+
name: string;
|
|
219
|
+
subdomain?: string | null;
|
|
220
|
+
is_test: boolean;
|
|
221
|
+
parent_tenant_id?: string | null;
|
|
222
|
+
logo?: ImageAssetStub | null;
|
|
223
|
+
issuer?: string;
|
|
224
|
+
domains?: Array<Domain> | null;
|
|
225
|
+
urls?: Array<string> | null;
|
|
226
|
+
entitlements?: Array<Entitlement> | null;
|
|
227
|
+
}
|
|
176
228
|
export interface PasswordRule {
|
|
177
229
|
regular_expression?: string;
|
|
178
230
|
error_message?: string;
|
|
@@ -1525,18 +1577,6 @@ export interface ExternalDomainDnsRecord {
|
|
|
1525
1577
|
verified_at?: string | null;
|
|
1526
1578
|
required: boolean;
|
|
1527
1579
|
}
|
|
1528
|
-
export declare enum DomainStatus {
|
|
1529
|
-
setup = "setup",
|
|
1530
|
-
pending = "pending",
|
|
1531
|
-
error = "error",
|
|
1532
|
-
disabled = "disabled",
|
|
1533
|
-
deleted = "deleted"
|
|
1534
|
-
}
|
|
1535
|
-
export interface ExternalDomainData {
|
|
1536
|
-
status: DomainStatus;
|
|
1537
|
-
domain: string;
|
|
1538
|
-
disabled: boolean;
|
|
1539
|
-
}
|
|
1540
1580
|
export interface ExternalDomain {
|
|
1541
1581
|
id: string;
|
|
1542
1582
|
created_at: string;
|
|
@@ -1672,7 +1712,7 @@ export interface AuthenticatorSelection {
|
|
|
1672
1712
|
residentKey?: string;
|
|
1673
1713
|
userVerification?: string;
|
|
1674
1714
|
}
|
|
1675
|
-
export interface
|
|
1715
|
+
export interface PublicKeyCredentialDescriptor {
|
|
1676
1716
|
type: string;
|
|
1677
1717
|
id: string;
|
|
1678
1718
|
transports?: Array<string> | null;
|
|
@@ -1695,7 +1735,7 @@ export interface PublicKeyCredentialCreationOptions {
|
|
|
1695
1735
|
attestationFormats?: Array<string>;
|
|
1696
1736
|
authenticatorSelection?: AuthenticatorSelection;
|
|
1697
1737
|
challenge: string;
|
|
1698
|
-
excludeCredentials?: Array<
|
|
1738
|
+
excludeCredentials?: Array<PublicKeyCredentialDescriptor>;
|
|
1699
1739
|
extensions?: object | null;
|
|
1700
1740
|
pubKeyCredParams: Array<PublicKeyCredParam>;
|
|
1701
1741
|
rp: RelyingParty;
|
|
@@ -1705,7 +1745,7 @@ export interface PublicKeyCredentialCreationOptions {
|
|
|
1705
1745
|
}
|
|
1706
1746
|
export interface PublicKeyCredentialRequestOptions {
|
|
1707
1747
|
challenge: string;
|
|
1708
|
-
allowCredentials?: Array<
|
|
1748
|
+
allowCredentials?: Array<PublicKeyCredentialDescriptor>;
|
|
1709
1749
|
extensions?: object | null;
|
|
1710
1750
|
rpId?: string;
|
|
1711
1751
|
timeout?: number;
|
|
@@ -1902,24 +1942,6 @@ export interface TenantOnboarding {
|
|
|
1902
1942
|
goal?: TenantOnboardingGoal | null;
|
|
1903
1943
|
application_intent?: TenantOnboardingApplicationIntent | null;
|
|
1904
1944
|
}
|
|
1905
|
-
export declare enum DomainType {
|
|
1906
|
-
managed = "managed",
|
|
1907
|
-
external = "external",
|
|
1908
|
-
subdomain = "subdomain",
|
|
1909
|
-
fallback = "fallback"
|
|
1910
|
-
}
|
|
1911
|
-
export type DomainData = ExternalDomainData;
|
|
1912
|
-
export interface Domain {
|
|
1913
|
-
id: string;
|
|
1914
|
-
type: DomainType;
|
|
1915
|
-
name: string;
|
|
1916
|
-
title: string;
|
|
1917
|
-
host: string;
|
|
1918
|
-
url: string;
|
|
1919
|
-
data?: DomainData | null;
|
|
1920
|
-
}
|
|
1921
|
-
export interface Entitlement {
|
|
1922
|
-
}
|
|
1923
1945
|
export interface TenantMetrics {
|
|
1924
1946
|
application_count: number;
|
|
1925
1947
|
child_tenant_count: number;
|
|
@@ -1929,12 +1951,6 @@ export interface TenantMetrics {
|
|
|
1929
1951
|
team_member_pending_invitation_count: number;
|
|
1930
1952
|
user_count: number;
|
|
1931
1953
|
}
|
|
1932
|
-
export interface CreateTenantRequestBody {
|
|
1933
|
-
name: string;
|
|
1934
|
-
subdomain?: string | null;
|
|
1935
|
-
is_test: boolean;
|
|
1936
|
-
parent_tenant_id?: string | null;
|
|
1937
|
-
}
|
|
1938
1954
|
export interface Tenant {
|
|
1939
1955
|
id: string;
|
|
1940
1956
|
created_at: string;
|
|
@@ -1944,10 +1960,12 @@ export interface Tenant {
|
|
|
1944
1960
|
subdomain?: string | null;
|
|
1945
1961
|
is_test: boolean;
|
|
1946
1962
|
parent_tenant_id?: string | null;
|
|
1947
|
-
onboarding?: TenantOnboarding | null;
|
|
1948
1963
|
logo?: ImageAssetStub | null;
|
|
1964
|
+
issuer?: string;
|
|
1949
1965
|
domains?: Array<Domain> | null;
|
|
1966
|
+
urls?: Array<string> | null;
|
|
1950
1967
|
entitlements?: Array<Entitlement> | null;
|
|
1968
|
+
onboarding?: TenantOnboarding | null;
|
|
1951
1969
|
metrics?: TenantMetrics | null;
|
|
1952
1970
|
}
|
|
1953
1971
|
export interface TenantInvitation {
|
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.PolicyDocumentVersionStatus = exports.PolicyDocumentStatus = exports.IntegrationScope = exports.IntegrationConnectionStatus = exports.IntegrationType = exports.ConnectedAppConnectionStatus = exports.ConnectedAppType = exports.
|
|
14
|
+
exports.PolicyDocumentVersionStatus = exports.PolicyDocumentStatus = exports.IntegrationScope = exports.IntegrationConnectionStatus = exports.IntegrationType = exports.ConnectedAppConnectionStatus = exports.ConnectedAppType = exports.TenantOnboardingGoal = exports.ApplicationType = exports.RefreshTokenRotationType = exports.RefreshTokenExpirationType = exports.JwtAlgorithm = exports.GrantType = exports.PasswordlessStrategy = exports.DnsRecordType = exports.DnsRecordStatus = exports.ApnsPushType = exports.ApnsEnvironment = exports.ChannelType = exports.AppVersionStatus = exports.TicketDisplayStatus = exports.UserNoteStatus = 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 = exports.PolicyDocumentType = exports.DomainStatus = exports.DomainType = exports.ReleaseType = exports.ReleaseStatus = exports.TicketIconType = exports.TicketPriority = exports.TicketStatus = exports.TicketType = void 0;
|
|
15
15
|
var TicketType;
|
|
16
16
|
(function (TicketType) {
|
|
17
17
|
TicketType["bug"] = "bug";
|
|
@@ -52,6 +52,21 @@ var ReleaseType;
|
|
|
52
52
|
ReleaseType["patch"] = "patch";
|
|
53
53
|
ReleaseType["launch"] = "launch";
|
|
54
54
|
})(ReleaseType || (exports.ReleaseType = ReleaseType = {}));
|
|
55
|
+
var DomainType;
|
|
56
|
+
(function (DomainType) {
|
|
57
|
+
DomainType["managed"] = "managed";
|
|
58
|
+
DomainType["external"] = "external";
|
|
59
|
+
DomainType["subdomain"] = "subdomain";
|
|
60
|
+
DomainType["fallback"] = "fallback";
|
|
61
|
+
})(DomainType || (exports.DomainType = DomainType = {}));
|
|
62
|
+
var DomainStatus;
|
|
63
|
+
(function (DomainStatus) {
|
|
64
|
+
DomainStatus["setup"] = "setup";
|
|
65
|
+
DomainStatus["pending"] = "pending";
|
|
66
|
+
DomainStatus["error"] = "error";
|
|
67
|
+
DomainStatus["disabled"] = "disabled";
|
|
68
|
+
DomainStatus["deleted"] = "deleted";
|
|
69
|
+
})(DomainStatus || (exports.DomainStatus = DomainStatus = {}));
|
|
55
70
|
var PolicyDocumentType;
|
|
56
71
|
(function (PolicyDocumentType) {
|
|
57
72
|
PolicyDocumentType["terms"] = "terms";
|
|
@@ -200,14 +215,6 @@ var DnsRecordType;
|
|
|
200
215
|
DnsRecordType["cname"] = "CNAME";
|
|
201
216
|
DnsRecordType["txt"] = "TXT";
|
|
202
217
|
})(DnsRecordType || (exports.DnsRecordType = DnsRecordType = {}));
|
|
203
|
-
var DomainStatus;
|
|
204
|
-
(function (DomainStatus) {
|
|
205
|
-
DomainStatus["setup"] = "setup";
|
|
206
|
-
DomainStatus["pending"] = "pending";
|
|
207
|
-
DomainStatus["error"] = "error";
|
|
208
|
-
DomainStatus["disabled"] = "disabled";
|
|
209
|
-
DomainStatus["deleted"] = "deleted";
|
|
210
|
-
})(DomainStatus || (exports.DomainStatus = DomainStatus = {}));
|
|
211
218
|
var PasswordlessStrategy;
|
|
212
219
|
(function (PasswordlessStrategy) {
|
|
213
220
|
PasswordlessStrategy["email"] = "email";
|
|
@@ -247,13 +254,6 @@ var TenantOnboardingGoal;
|
|
|
247
254
|
TenantOnboardingGoal["newProject"] = "new_project";
|
|
248
255
|
TenantOnboardingGoal["existingProject"] = "existing_project";
|
|
249
256
|
})(TenantOnboardingGoal || (exports.TenantOnboardingGoal = TenantOnboardingGoal = {}));
|
|
250
|
-
var DomainType;
|
|
251
|
-
(function (DomainType) {
|
|
252
|
-
DomainType["managed"] = "managed";
|
|
253
|
-
DomainType["external"] = "external";
|
|
254
|
-
DomainType["subdomain"] = "subdomain";
|
|
255
|
-
DomainType["fallback"] = "fallback";
|
|
256
|
-
})(DomainType || (exports.DomainType = DomainType = {}));
|
|
257
257
|
var ConnectedAppType;
|
|
258
258
|
(function (ConnectedAppType) {
|
|
259
259
|
ConnectedAppType["parra"] = "parra";
|