@parra/parra-js-sdk 0.3.617 → 0.3.619

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.
@@ -1700,6 +1700,8 @@ export interface CreateDigitalProductRequestBody {
1700
1700
  description?: string | null;
1701
1701
  icon_asset_id?: string | null;
1702
1702
  image_asset_id?: string | null;
1703
+ cta_title?: string | null;
1704
+ cta_url?: string | null;
1703
1705
  }
1704
1706
  export interface CreateExternalProductRequestBody {
1705
1707
  type: string;
@@ -1708,8 +1710,9 @@ export interface CreateExternalProductRequestBody {
1708
1710
  description?: string | null;
1709
1711
  icon_asset_id?: string | null;
1710
1712
  image_asset_id?: string | null;
1711
- cta_title: string;
1712
- cta_url: string | null;
1713
+ price?: AnyPrice | null;
1714
+ cta_title: string | null;
1715
+ cta_url: string;
1713
1716
  }
1714
1717
  export type CreateProductRequestBody = CreateDigitalProductRequestBody | CreateExternalProductRequestBody;
1715
1718
  export interface ProductEntitlement {
@@ -1752,6 +1755,8 @@ export interface UpdateProductRequestBody {
1752
1755
  key?: string;
1753
1756
  description?: string | null;
1754
1757
  disabled?: boolean;
1758
+ icon_asset_id?: string | null;
1759
+ image_asset_id?: string | null;
1755
1760
  }
1756
1761
  export interface CreateProductEntitlementRequestBody {
1757
1762
  entitlement_id: string;
@@ -3850,6 +3855,9 @@ export interface CreateYoutubeVideoRequestBody {
3850
3855
  youtube_video_url?: string | null;
3851
3856
  }
3852
3857
  export type CreateVideoRequestBody = CreateYoutubeVideoRequestBody;
3858
+ export declare enum VideoType {
3859
+ youtube = "youtube"
3860
+ }
3853
3861
  export interface VideoStub {
3854
3862
  id: string;
3855
3863
  created_at: string;
@@ -3865,6 +3873,8 @@ export interface VideoStub {
3865
3873
  published_at: string;
3866
3874
  live_broadcast_content?: string | null;
3867
3875
  statistics?: YoutubeStatistics | null;
3876
+ type: VideoType;
3877
+ disabled: boolean;
3868
3878
  slug?: string | null;
3869
3879
  paywall?: AppPaywallConfiguration | null;
3870
3880
  }
@@ -3883,6 +3893,8 @@ export interface Video {
3883
3893
  published_at: string;
3884
3894
  live_broadcast_content?: string | null;
3885
3895
  statistics?: YoutubeStatistics | null;
3896
+ type: VideoType;
3897
+ disabled: boolean;
3886
3898
  slug?: string | null;
3887
3899
  paywall?: AppPaywallConfiguration | null;
3888
3900
  tags?: Array<TagStub>;
package/dist/ParraAPI.js CHANGED
@@ -12,8 +12,8 @@ var __assign = (this && this.__assign) || function () {
12
12
  };
13
13
  Object.defineProperty(exports, "__esModule", { value: true });
14
14
  exports.QrCodeStyle = exports.QrCodeLogoPaddingStyle = exports.TextTransform = exports.BorderRadiusType = exports.BorderStyle = exports.FontFamilyType = exports.FontWeightType = exports.FontSizeType = exports.ParraTemplateType = exports.AttachmentType = exports.ChannelMemberRole = exports.ChannelMemberType = exports.ChatChannelStatus = exports.ChatChannelType = exports.BillingSourceType = exports.ApplePurchaseType = exports.ApplePurchaseEnvironment = exports.PurchaseEnvironment = exports.PurchasePlatform = exports.PurchaseStatus = exports.PurchaseType = exports.PaywallIapType = exports.AppPaywallType = exports.ShareAssetType = exports.DesignTokenType = exports.ThemeCornerRadiusStyle = exports.ContentType = exports.CtaType = exports.Interval = exports.Currency = exports.ProductType = exports.ReactionType = exports.ArticleStatus = exports.TagPool = exports.FeedbackFormFieldType = exports.ContentCardActionType = exports.IdentityType = exports.PolicyDocumentType = exports.AppleSsoScope = exports.TenantBrand = exports.TenantArchetype = exports.DomainStatus = exports.DomainType = exports.ApplicationType = exports.ReleaseType = exports.ReleaseStatus = exports.TicketIconType = exports.TicketPriority = exports.TicketStatus = exports.TicketType = void 0;
15
- exports.MailTemplateType = exports.TenantUserMetricType = exports.IntegrationScope = exports.IntegrationConnectionStatus = exports.IntegrationType = exports.ConnectedAppConnectionStatus = exports.ConnectedAppType = exports.ApiKeyType = exports.TenantOnboardingGoal = exports.DashboardChecklistItemStatus = exports.DashboardChecklistItemType = exports.RefreshTokenRotationType = exports.RefreshTokenExpirationType = exports.JwtAlgorithm = exports.GrantType = exports.ClientType = exports.PasswordlessStrategy = exports.SsoProvider = exports.SettingsItemType = exports.SubscriptionStatus = exports.ApnsPushType = exports.ApnsEnvironment = exports.ChannelType = exports.AppVersionStatus = exports.TicketDisplayStatus = exports.UserNoteStatus = exports.TicketLinkType = exports.BoardType = exports.TemplateType = exports.CampaignStatus = exports.CampaignActionDisplayType = exports.CampaignActionType = exports.CardItemDisplayType = exports.CardItemType = exports.QuestionKind = exports.QuestionType = exports.SubmitCommentReviewStatus = exports.CommentReviewStatus = exports.FeedChannelType = exports.FeedItemType = exports.SocialAccountType = exports.CreatorUpdateGiveawayCriteria = exports.CreatorUpdateChannelType = exports.CreatorUpdateStatus = exports.CreatorUpdateVisibilityType = exports.CreatorUpdateTopic = exports.LessonType = exports.TextAlign = exports.HeadingTag = exports.QrCodeEcLevel = void 0;
16
- exports.PolicyDocumentVersionStatus = exports.PolicyDocumentStatus = exports.MailTemplateStatus = exports.MailTemplateVersionStatus = void 0;
15
+ exports.TenantUserMetricType = exports.IntegrationScope = exports.IntegrationConnectionStatus = exports.IntegrationType = exports.ConnectedAppConnectionStatus = exports.ConnectedAppType = exports.ApiKeyType = exports.TenantOnboardingGoal = exports.DashboardChecklistItemStatus = exports.DashboardChecklistItemType = exports.RefreshTokenRotationType = exports.RefreshTokenExpirationType = exports.JwtAlgorithm = exports.GrantType = exports.ClientType = exports.PasswordlessStrategy = exports.SsoProvider = exports.SettingsItemType = exports.SubscriptionStatus = exports.ApnsPushType = exports.ApnsEnvironment = exports.ChannelType = exports.AppVersionStatus = exports.TicketDisplayStatus = exports.UserNoteStatus = exports.TicketLinkType = exports.BoardType = exports.TemplateType = exports.CampaignStatus = exports.CampaignActionDisplayType = exports.CampaignActionType = exports.CardItemDisplayType = exports.CardItemType = exports.QuestionKind = exports.QuestionType = exports.SubmitCommentReviewStatus = exports.CommentReviewStatus = exports.VideoType = exports.FeedChannelType = exports.FeedItemType = exports.SocialAccountType = exports.CreatorUpdateGiveawayCriteria = exports.CreatorUpdateChannelType = exports.CreatorUpdateStatus = exports.CreatorUpdateVisibilityType = exports.CreatorUpdateTopic = exports.LessonType = exports.TextAlign = exports.HeadingTag = exports.QrCodeEcLevel = void 0;
16
+ exports.PolicyDocumentVersionStatus = exports.PolicyDocumentStatus = exports.MailTemplateStatus = exports.MailTemplateVersionStatus = exports.MailTemplateType = void 0;
17
17
  var TicketType;
18
18
  (function (TicketType) {
19
19
  TicketType["bug"] = "bug";
@@ -415,6 +415,10 @@ var FeedChannelType;
415
415
  FeedChannelType["youtube"] = "youtube";
416
416
  FeedChannelType["rss"] = "rss";
417
417
  })(FeedChannelType || (exports.FeedChannelType = FeedChannelType = {}));
418
+ var VideoType;
419
+ (function (VideoType) {
420
+ VideoType["youtube"] = "youtube";
421
+ })(VideoType || (exports.VideoType = VideoType = {}));
418
422
  var CommentReviewStatus;
419
423
  (function (CommentReviewStatus) {
420
424
  CommentReviewStatus["pending"] = "pending";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parra/parra-js-sdk",
3
- "version": "0.3.617",
3
+ "version": "0.3.619",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",