@parra/parra-js-sdk 0.3.193 → 0.3.195
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 +48 -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",
|
|
@@ -2459,6 +2471,16 @@ export interface CreateMailTemplateVersionRequestBody {
|
|
|
2459
2471
|
text_content?: string | null;
|
|
2460
2472
|
html_content?: string | null;
|
|
2461
2473
|
}
|
|
2474
|
+
export interface Schema {
|
|
2475
|
+
id: string;
|
|
2476
|
+
created_at: string;
|
|
2477
|
+
updated_at: string;
|
|
2478
|
+
deleted_at?: string | null;
|
|
2479
|
+
name: string;
|
|
2480
|
+
type: string;
|
|
2481
|
+
content: object;
|
|
2482
|
+
description?: string | null;
|
|
2483
|
+
}
|
|
2462
2484
|
export interface MailTemplateVersion {
|
|
2463
2485
|
id: string;
|
|
2464
2486
|
created_at: string;
|
|
@@ -2474,11 +2496,15 @@ export interface MailTemplateVersion {
|
|
|
2474
2496
|
description?: string | null;
|
|
2475
2497
|
active: boolean;
|
|
2476
2498
|
slug?: string | null;
|
|
2499
|
+
text_content?: string | null;
|
|
2500
|
+
html_content?: string | null;
|
|
2477
2501
|
test_data?: object | null;
|
|
2502
|
+
test_user?: object | null;
|
|
2503
|
+
test_user_id?: string | null;
|
|
2504
|
+
test_tenant?: object | null;
|
|
2478
2505
|
test_subject?: string | null;
|
|
2479
2506
|
test_recipient?: string | null;
|
|
2480
|
-
|
|
2481
|
-
html_content?: string | null;
|
|
2507
|
+
schema: Schema;
|
|
2482
2508
|
template: MailTemplateStub;
|
|
2483
2509
|
}
|
|
2484
2510
|
export interface UpdateMailTemplateVersionRequestBody {
|
|
@@ -2487,6 +2513,9 @@ export interface UpdateMailTemplateVersionRequestBody {
|
|
|
2487
2513
|
subject?: string;
|
|
2488
2514
|
automatically_generate_text_content?: boolean;
|
|
2489
2515
|
test_data?: object | null;
|
|
2516
|
+
test_user?: object | null;
|
|
2517
|
+
test_user_id?: string | null;
|
|
2518
|
+
test_tenant?: object | null;
|
|
2490
2519
|
test_subject?: string | null;
|
|
2491
2520
|
test_recipient?: string | null;
|
|
2492
2521
|
text_content?: string | null;
|
|
@@ -2498,6 +2527,9 @@ export interface TestMailTemplateVersionRequestBody {
|
|
|
2498
2527
|
subject?: string;
|
|
2499
2528
|
automatically_generate_text_content?: boolean;
|
|
2500
2529
|
test_data?: object | null;
|
|
2530
|
+
test_user?: object | null;
|
|
2531
|
+
test_user_id?: string | null;
|
|
2532
|
+
test_tenant?: object | null;
|
|
2501
2533
|
test_subject?: string | null;
|
|
2502
2534
|
test_recipient?: string | null;
|
|
2503
2535
|
text_content?: string | null;
|
|
@@ -2510,6 +2542,9 @@ export interface GenerateMailTemplateVersionContentRequestBody {
|
|
|
2510
2542
|
text_content?: string | null;
|
|
2511
2543
|
html_content?: string | null;
|
|
2512
2544
|
test_data?: object | null;
|
|
2545
|
+
test_user?: object | null;
|
|
2546
|
+
test_user_id?: string | null;
|
|
2547
|
+
test_tenant?: object | null;
|
|
2513
2548
|
user_prompt: string;
|
|
2514
2549
|
}
|
|
2515
2550
|
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";
|