@parra/parra-js-sdk 0.3.193 → 0.3.194
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 +37 -13
- package/dist/ParraAPI.js +5 -5
- package/package.json +1 -1
package/dist/ParraAPI.d.ts
CHANGED
|
@@ -170,10 +170,33 @@ export interface NewInstalledVersionInfo {
|
|
|
170
170
|
export interface AppInfo {
|
|
171
171
|
version_token: string | null;
|
|
172
172
|
new_installed_version_info?: NewInstalledVersionInfo;
|
|
173
|
+
application: ApplicationAppInfoStub;
|
|
173
174
|
tenant: TenantAppInfoStub;
|
|
174
175
|
auth: AppAuthInfo;
|
|
175
176
|
legal: AppLegalInfo;
|
|
176
177
|
}
|
|
178
|
+
export declare enum ApplicationType {
|
|
179
|
+
ios = "ios"
|
|
180
|
+
}
|
|
181
|
+
export interface ApplicationIosConfig {
|
|
182
|
+
app_id?: string | null;
|
|
183
|
+
team_id?: string | null;
|
|
184
|
+
bundle_id: string;
|
|
185
|
+
}
|
|
186
|
+
export interface IosApplicationAppInfoStub {
|
|
187
|
+
id: string;
|
|
188
|
+
created_at: string;
|
|
189
|
+
updated_at: string;
|
|
190
|
+
deleted_at?: string | null;
|
|
191
|
+
app_id?: string | null;
|
|
192
|
+
team_id?: string | null;
|
|
193
|
+
bundle_id: string;
|
|
194
|
+
name: string;
|
|
195
|
+
description?: string | null;
|
|
196
|
+
type: ApplicationType;
|
|
197
|
+
icon?: ImageAssetStub | null;
|
|
198
|
+
}
|
|
199
|
+
export type ApplicationAppInfoStub = IosApplicationAppInfoStub;
|
|
177
200
|
export declare enum DomainType {
|
|
178
201
|
managed = "managed",
|
|
179
202
|
external = "external",
|
|
@@ -1885,14 +1908,6 @@ export interface AppStoreConnectApp {
|
|
|
1885
1908
|
icon_url?: string | null;
|
|
1886
1909
|
imported: boolean;
|
|
1887
1910
|
}
|
|
1888
|
-
export declare enum ApplicationType {
|
|
1889
|
-
ios = "ios"
|
|
1890
|
-
}
|
|
1891
|
-
export interface ApplicationIosConfig {
|
|
1892
|
-
app_id?: string | null;
|
|
1893
|
-
team_id?: string | null;
|
|
1894
|
-
bundle_id: string;
|
|
1895
|
-
}
|
|
1896
1911
|
export interface Application {
|
|
1897
1912
|
id: string;
|
|
1898
1913
|
created_at: string;
|
|
@@ -2376,9 +2391,6 @@ export interface MailTemplateVersionStub {
|
|
|
2376
2391
|
description?: string | null;
|
|
2377
2392
|
active: boolean;
|
|
2378
2393
|
slug?: string | null;
|
|
2379
|
-
test_data?: object | null;
|
|
2380
|
-
test_subject?: string | null;
|
|
2381
|
-
test_recipient?: string | null;
|
|
2382
2394
|
}
|
|
2383
2395
|
export declare enum MailTemplateStatus {
|
|
2384
2396
|
live = "live",
|
|
@@ -2474,11 +2486,14 @@ export interface MailTemplateVersion {
|
|
|
2474
2486
|
description?: string | null;
|
|
2475
2487
|
active: boolean;
|
|
2476
2488
|
slug?: string | null;
|
|
2489
|
+
text_content?: string | null;
|
|
2490
|
+
html_content?: string | null;
|
|
2477
2491
|
test_data?: object | null;
|
|
2492
|
+
test_user?: object | null;
|
|
2493
|
+
test_user_id?: string | null;
|
|
2494
|
+
test_tenant?: object | null;
|
|
2478
2495
|
test_subject?: string | null;
|
|
2479
2496
|
test_recipient?: string | null;
|
|
2480
|
-
text_content?: string | null;
|
|
2481
|
-
html_content?: string | null;
|
|
2482
2497
|
template: MailTemplateStub;
|
|
2483
2498
|
}
|
|
2484
2499
|
export interface UpdateMailTemplateVersionRequestBody {
|
|
@@ -2487,6 +2502,9 @@ export interface UpdateMailTemplateVersionRequestBody {
|
|
|
2487
2502
|
subject?: string;
|
|
2488
2503
|
automatically_generate_text_content?: boolean;
|
|
2489
2504
|
test_data?: object | null;
|
|
2505
|
+
test_user?: object | null;
|
|
2506
|
+
test_user_id?: string | null;
|
|
2507
|
+
test_tenant?: object | null;
|
|
2490
2508
|
test_subject?: string | null;
|
|
2491
2509
|
test_recipient?: string | null;
|
|
2492
2510
|
text_content?: string | null;
|
|
@@ -2498,6 +2516,9 @@ export interface TestMailTemplateVersionRequestBody {
|
|
|
2498
2516
|
subject?: string;
|
|
2499
2517
|
automatically_generate_text_content?: boolean;
|
|
2500
2518
|
test_data?: object | null;
|
|
2519
|
+
test_user?: object | null;
|
|
2520
|
+
test_user_id?: string | null;
|
|
2521
|
+
test_tenant?: object | null;
|
|
2501
2522
|
test_subject?: string | null;
|
|
2502
2523
|
test_recipient?: string | null;
|
|
2503
2524
|
text_content?: string | null;
|
|
@@ -2510,6 +2531,9 @@ export interface GenerateMailTemplateVersionContentRequestBody {
|
|
|
2510
2531
|
text_content?: string | null;
|
|
2511
2532
|
html_content?: string | null;
|
|
2512
2533
|
test_data?: object | null;
|
|
2534
|
+
test_user?: object | null;
|
|
2535
|
+
test_user_id?: string | null;
|
|
2536
|
+
test_tenant?: object | null;
|
|
2513
2537
|
user_prompt: string;
|
|
2514
2538
|
}
|
|
2515
2539
|
export interface GenerateMailTemplateVersionContentResponseBody {
|
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.MailTemplateStatus = exports.MailTemplateVersionStatus = exports.MailTemplateType = exports.IntegrationScope = exports.IntegrationConnectionStatus = exports.IntegrationType = exports.ConnectedAppConnectionStatus = exports.ConnectedAppType = exports.TenantOnboardingGoal = exports.
|
|
14
|
+
exports.PolicyDocumentVersionStatus = exports.PolicyDocumentStatus = exports.MailTemplateStatus = exports.MailTemplateVersionStatus = exports.MailTemplateType = exports.IntegrationScope = exports.IntegrationConnectionStatus = exports.IntegrationType = exports.ConnectedAppConnectionStatus = exports.ConnectedAppType = exports.TenantOnboardingGoal = exports.RefreshTokenRotationType = exports.RefreshTokenExpirationType = exports.JwtAlgorithm = exports.GrantType = exports.PasswordlessStrategy = 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.ApplicationType = 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,10 @@ var ReleaseType;
|
|
|
52
52
|
ReleaseType["patch"] = "patch";
|
|
53
53
|
ReleaseType["launch"] = "launch";
|
|
54
54
|
})(ReleaseType || (exports.ReleaseType = ReleaseType = {}));
|
|
55
|
+
var ApplicationType;
|
|
56
|
+
(function (ApplicationType) {
|
|
57
|
+
ApplicationType["ios"] = "ios";
|
|
58
|
+
})(ApplicationType || (exports.ApplicationType = ApplicationType = {}));
|
|
55
59
|
var DomainType;
|
|
56
60
|
(function (DomainType) {
|
|
57
61
|
DomainType["managed"] = "managed";
|
|
@@ -232,10 +236,6 @@ var RefreshTokenRotationType;
|
|
|
232
236
|
RefreshTokenRotationType["none"] = "none";
|
|
233
237
|
RefreshTokenRotationType["rotating"] = "rotating";
|
|
234
238
|
})(RefreshTokenRotationType || (exports.RefreshTokenRotationType = RefreshTokenRotationType = {}));
|
|
235
|
-
var ApplicationType;
|
|
236
|
-
(function (ApplicationType) {
|
|
237
|
-
ApplicationType["ios"] = "ios";
|
|
238
|
-
})(ApplicationType || (exports.ApplicationType = ApplicationType = {}));
|
|
239
239
|
var TenantOnboardingGoal;
|
|
240
240
|
(function (TenantOnboardingGoal) {
|
|
241
241
|
TenantOnboardingGoal["newProject"] = "new_project";
|