@parra/parra-js-sdk 0.3.320 → 0.3.321

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.
@@ -803,6 +803,14 @@ export interface CreatorUpdateAttachmentStub {
803
803
  id: string;
804
804
  image?: ImageAssetStub | null;
805
805
  }
806
+ export declare enum CreatorUpdateVisibilityType {
807
+ public = "public",
808
+ private = "private"
809
+ }
810
+ export interface CreatorUpdateVisibility {
811
+ post_visibility: CreatorUpdateVisibilityType;
812
+ attachment_visibility?: CreatorUpdateVisibilityType | null;
813
+ }
806
814
  export declare enum CreatorUpdateChannelType {
807
815
  feed = "feed",
808
816
  notification = "notification"
@@ -839,6 +847,7 @@ export interface CreatorUpdate {
839
847
  sender?: CreatorUpdateSenderStub;
840
848
  template?: CreatorUpdateSenderStub;
841
849
  attachments: Array<CreatorUpdateAttachmentStub>;
850
+ visibility: CreatorUpdateVisibility;
842
851
  channels: Array<CreatorUpdateChannel>;
843
852
  }
844
853
  export interface CreatorUpdateCollectionResponse {
@@ -851,6 +860,8 @@ export interface CreatorUpdateCollectionResponse {
851
860
  export interface UpdateCreatorUpdateRequestBody {
852
861
  title?: string;
853
862
  body?: string;
863
+ post_visibility?: CreatorUpdateVisibilityType;
864
+ attachment_visibility?: CreatorUpdateVisibilityType;
854
865
  }
855
866
  export declare enum FeedItemType {
856
867
  youtubeVideo = "youtube_video",
package/dist/ParraAPI.js CHANGED
@@ -11,8 +11,8 @@ 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.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 = exports.PasswordlessStrategy = 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.FeedItemType = exports.CreatorUpdateChannelType = exports.CreatorUpdateStatus = exports.FeedbackFormFieldType = exports.SubscriptionStatus = exports.Interval = exports.Currency = 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
- exports.PolicyDocumentVersionStatus = exports.PolicyDocumentStatus = void 0;
14
+ 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 = exports.PasswordlessStrategy = 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.FeedItemType = exports.CreatorUpdateChannelType = exports.CreatorUpdateVisibilityType = exports.CreatorUpdateStatus = exports.FeedbackFormFieldType = exports.SubscriptionStatus = exports.Interval = exports.Currency = 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
+ exports.PolicyDocumentVersionStatus = exports.PolicyDocumentStatus = exports.MailTemplateStatus = void 0;
16
16
  var TicketType;
17
17
  (function (TicketType) {
18
18
  TicketType["bug"] = "bug";
@@ -125,6 +125,11 @@ var CreatorUpdateStatus;
125
125
  CreatorUpdateStatus["draft"] = "draft";
126
126
  CreatorUpdateStatus["published"] = "published";
127
127
  })(CreatorUpdateStatus || (exports.CreatorUpdateStatus = CreatorUpdateStatus = {}));
128
+ var CreatorUpdateVisibilityType;
129
+ (function (CreatorUpdateVisibilityType) {
130
+ CreatorUpdateVisibilityType["public"] = "public";
131
+ CreatorUpdateVisibilityType["private"] = "private";
132
+ })(CreatorUpdateVisibilityType || (exports.CreatorUpdateVisibilityType = CreatorUpdateVisibilityType = {}));
128
133
  var CreatorUpdateChannelType;
129
134
  (function (CreatorUpdateChannelType) {
130
135
  CreatorUpdateChannelType["feed"] = "feed";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parra/parra-js-sdk",
3
- "version": "0.3.320",
3
+ "version": "0.3.321",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",