@parra/parra-js-sdk 0.3.436 → 0.3.438

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.
@@ -1329,6 +1329,11 @@ export interface UpdateCreatorUpdateSenderRequestBody {
1329
1329
  avatar?: ImageAssetStub | null;
1330
1330
  verified?: boolean;
1331
1331
  }
1332
+ export declare enum CreatorUpdateTopic {
1333
+ giveaway = "giveaway",
1334
+ live = "live",
1335
+ general = "general"
1336
+ }
1332
1337
  export declare enum CreatorUpdateVisibilityType {
1333
1338
  public = "public",
1334
1339
  private = "private"
@@ -1336,6 +1341,9 @@ export declare enum CreatorUpdateVisibilityType {
1336
1341
  export interface CreateCreatorUpdateTemplateRequestBody {
1337
1342
  name: string;
1338
1343
  description?: string | null;
1344
+ topic?: CreatorUpdateTopic | null;
1345
+ title?: string | null;
1346
+ body?: string | null;
1339
1347
  sender_id: string;
1340
1348
  feed_view_id?: string;
1341
1349
  notification_template_id?: string;
@@ -1359,8 +1367,11 @@ export interface CreatorUpdateTemplate {
1359
1367
  sender_id?: string;
1360
1368
  feed_view_id?: string;
1361
1369
  notification_template_id?: string;
1370
+ topic?: CreatorUpdateTopic | null;
1371
+ title?: string | null;
1372
+ body?: string | null;
1362
1373
  name: string;
1363
- description?: string;
1374
+ description?: string | null;
1364
1375
  visibility: CreatorUpdateVisibility;
1365
1376
  }
1366
1377
  export interface CreatorUpdateTemplateCollectionResponse {
@@ -1373,6 +1384,9 @@ export interface CreatorUpdateTemplateCollectionResponse {
1373
1384
  export interface UpdateCreatorUpdateTemplateRequestBody {
1374
1385
  name?: string;
1375
1386
  description?: string | null;
1387
+ topic?: CreatorUpdateTopic | null;
1388
+ title?: string | null;
1389
+ body?: string | null;
1376
1390
  sender_id?: string;
1377
1391
  feed_view_id?: string;
1378
1392
  notification_template_id?: string;
@@ -1381,11 +1395,6 @@ export interface UpdateCreatorUpdateTemplateRequestBody {
1381
1395
  post_visibility?: CreatorUpdateVisibilityType;
1382
1396
  attachment_visibility?: CreatorUpdateVisibilityType;
1383
1397
  }
1384
- export declare enum CreatorUpdateTopic {
1385
- giveaway = "giveaway",
1386
- live = "live",
1387
- general = "general"
1388
- }
1389
1398
  export interface CreateCreatorUpdateRequestBody {
1390
1399
  publish?: boolean | null;
1391
1400
  template_id?: string | null;
@@ -1399,7 +1408,8 @@ export interface CreateCreatorUpdateRequestBody {
1399
1408
  }
1400
1409
  export declare enum CreatorUpdateStatus {
1401
1410
  draft = "draft",
1402
- published = "published"
1411
+ published = "published",
1412
+ scheduled = "scheduled"
1403
1413
  }
1404
1414
  export interface CreatorUpdateSenderStub {
1405
1415
  id: string;
@@ -1448,6 +1458,7 @@ export interface CreatorUpdate {
1448
1458
  status: CreatorUpdateStatus;
1449
1459
  title: string;
1450
1460
  body?: string;
1461
+ scheduled_at?: string | null;
1451
1462
  topic?: CreatorUpdateTopic | null;
1452
1463
  sender?: CreatorUpdateSenderStub;
1453
1464
  template?: CreatorUpdateTemplateStub;
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.PasswordlessStrategy = exports.SsoProvider = exports.SettingsItemType = exports.ApnsPushType = exports.ApnsEnvironment = exports.ChannelType = exports.AppVersionStatus = exports.TicketDisplayStatus = exports.UserNoteStatus = exports.TicketLinkType = exports.TemplateType = exports.CampaignStatus = exports.CampaignActionDisplayType = exports.CampaignActionType = exports.CardItemDisplayType = exports.CardItemType = exports.QuestionKind = exports.QuestionType = exports.SubmitCommentReviewStatus = exports.CommentReviewStatus = exports.ReactionType = exports.FeedItemType = exports.CreatorUpdateChannelType = exports.CreatorUpdateStatus = exports.CreatorUpdateTopic = exports.CreatorUpdateVisibilityType = exports.ChannelMemberRole = exports.ChannelMemberType = exports.ChatChannelStatus = exports.ChatChannelType = exports.BillingSourceType = exports.PaywallIapType = exports.AppPaywallType = exports.SubscriptionStatus = exports.Interval = exports.Currency = exports.FeedbackFormFieldType = exports.ContentCardActionType = exports.IdentityType = exports.PolicyDocumentType = exports.AppleSsoScope = exports.DomainStatus = exports.DomainType = exports.ApplicationType = exports.ReleaseType = exports.ReleaseStatus = exports.TicketIconType = exports.TicketPriority = exports.TicketStatus = exports.TicketType = void 0;
14
+ exports.PasswordlessStrategy = exports.SsoProvider = exports.SettingsItemType = exports.ApnsPushType = exports.ApnsEnvironment = exports.ChannelType = exports.AppVersionStatus = exports.TicketDisplayStatus = exports.UserNoteStatus = exports.TicketLinkType = exports.TemplateType = exports.CampaignStatus = exports.CampaignActionDisplayType = exports.CampaignActionType = exports.CardItemDisplayType = exports.CardItemType = exports.QuestionKind = exports.QuestionType = exports.SubmitCommentReviewStatus = exports.CommentReviewStatus = exports.ReactionType = exports.FeedItemType = exports.CreatorUpdateChannelType = exports.CreatorUpdateStatus = exports.CreatorUpdateVisibilityType = exports.CreatorUpdateTopic = exports.ChannelMemberRole = exports.ChannelMemberType = exports.ChatChannelStatus = exports.ChatChannelType = exports.BillingSourceType = exports.PaywallIapType = exports.AppPaywallType = exports.SubscriptionStatus = exports.Interval = exports.Currency = exports.FeedbackFormFieldType = exports.ContentCardActionType = exports.IdentityType = exports.PolicyDocumentType = exports.AppleSsoScope = exports.DomainStatus = exports.DomainType = exports.ApplicationType = exports.ReleaseType = exports.ReleaseStatus = exports.TicketIconType = exports.TicketPriority = exports.TicketStatus = exports.TicketType = void 0;
15
15
  exports.PolicyDocumentVersionStatus = exports.PolicyDocumentStatus = exports.MailTemplateStatus = exports.MailTemplateVersionStatus = exports.MailTemplateType = exports.IntegrationScope = exports.IntegrationConnectionStatus = exports.IntegrationType = exports.ConnectedAppConnectionStatus = exports.ConnectedAppType = exports.TenantOnboardingGoal = exports.DashboardChecklistItemStatus = exports.DashboardChecklistItemType = exports.RefreshTokenRotationType = exports.RefreshTokenExpirationType = exports.JwtAlgorithm = exports.GrantType = void 0;
16
16
  var TicketType;
17
17
  (function (TicketType) {
@@ -178,21 +178,22 @@ var ChannelMemberRole;
178
178
  ChannelMemberRole["member"] = "member";
179
179
  ChannelMemberRole["guest"] = "guest";
180
180
  })(ChannelMemberRole || (exports.ChannelMemberRole = ChannelMemberRole = {}));
181
- var CreatorUpdateVisibilityType;
182
- (function (CreatorUpdateVisibilityType) {
183
- CreatorUpdateVisibilityType["public"] = "public";
184
- CreatorUpdateVisibilityType["private"] = "private";
185
- })(CreatorUpdateVisibilityType || (exports.CreatorUpdateVisibilityType = CreatorUpdateVisibilityType = {}));
186
181
  var CreatorUpdateTopic;
187
182
  (function (CreatorUpdateTopic) {
188
183
  CreatorUpdateTopic["giveaway"] = "giveaway";
189
184
  CreatorUpdateTopic["live"] = "live";
190
185
  CreatorUpdateTopic["general"] = "general";
191
186
  })(CreatorUpdateTopic || (exports.CreatorUpdateTopic = CreatorUpdateTopic = {}));
187
+ var CreatorUpdateVisibilityType;
188
+ (function (CreatorUpdateVisibilityType) {
189
+ CreatorUpdateVisibilityType["public"] = "public";
190
+ CreatorUpdateVisibilityType["private"] = "private";
191
+ })(CreatorUpdateVisibilityType || (exports.CreatorUpdateVisibilityType = CreatorUpdateVisibilityType = {}));
192
192
  var CreatorUpdateStatus;
193
193
  (function (CreatorUpdateStatus) {
194
194
  CreatorUpdateStatus["draft"] = "draft";
195
195
  CreatorUpdateStatus["published"] = "published";
196
+ CreatorUpdateStatus["scheduled"] = "scheduled";
196
197
  })(CreatorUpdateStatus || (exports.CreatorUpdateStatus = CreatorUpdateStatus = {}));
197
198
  var CreatorUpdateChannelType;
198
199
  (function (CreatorUpdateChannelType) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parra/parra-js-sdk",
3
- "version": "0.3.436",
3
+ "version": "0.3.438",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",