@parra/parra-js-sdk 0.3.320 → 0.3.322

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.
@@ -42,6 +42,7 @@ export interface ImageAssetStub {
42
42
  id: string;
43
43
  size: Size;
44
44
  url: string;
45
+ blur_hash?: string | null;
45
46
  }
46
47
  export interface TicketFeatured {
47
48
  title: string;
@@ -109,6 +110,7 @@ export interface ReleaseHeader {
109
110
  id: string;
110
111
  size: Size;
111
112
  url: string;
113
+ blur_hash?: string | null;
112
114
  }
113
115
  export declare enum ReleaseType {
114
116
  major = "major",
@@ -532,6 +534,7 @@ export interface ImageAsset {
532
534
  group: string;
533
535
  file_type: string;
534
536
  mime_type: string;
537
+ blur_hash?: string | null;
535
538
  }
536
539
  export interface CreateCheckoutSessionRequestBody {
537
540
  plan_id: string;
@@ -782,6 +785,7 @@ export interface CreateCreatorAttachmentAttachmentRequestBody {
782
785
  id: string;
783
786
  size: Size;
784
787
  url: string;
788
+ blur_hash?: string | null;
785
789
  }
786
790
  export interface CreateCreatorUpdateRequestBody {
787
791
  publish?: boolean | null;
@@ -803,6 +807,14 @@ export interface CreatorUpdateAttachmentStub {
803
807
  id: string;
804
808
  image?: ImageAssetStub | null;
805
809
  }
810
+ export declare enum CreatorUpdateVisibilityType {
811
+ public = "public",
812
+ private = "private"
813
+ }
814
+ export interface CreatorUpdateVisibility {
815
+ post_visibility: CreatorUpdateVisibilityType;
816
+ attachment_visibility?: CreatorUpdateVisibilityType | null;
817
+ }
806
818
  export declare enum CreatorUpdateChannelType {
807
819
  feed = "feed",
808
820
  notification = "notification"
@@ -839,6 +851,7 @@ export interface CreatorUpdate {
839
851
  sender?: CreatorUpdateSenderStub;
840
852
  template?: CreatorUpdateSenderStub;
841
853
  attachments: Array<CreatorUpdateAttachmentStub>;
854
+ visibility: CreatorUpdateVisibility;
842
855
  channels: Array<CreatorUpdateChannel>;
843
856
  }
844
857
  export interface CreatorUpdateCollectionResponse {
@@ -851,6 +864,8 @@ export interface CreatorUpdateCollectionResponse {
851
864
  export interface UpdateCreatorUpdateRequestBody {
852
865
  title?: string;
853
866
  body?: string;
867
+ post_visibility?: CreatorUpdateVisibilityType;
868
+ attachment_visibility?: CreatorUpdateVisibilityType;
854
869
  }
855
870
  export declare enum FeedItemType {
856
871
  youtubeVideo = "youtube_video",
@@ -1542,6 +1557,7 @@ export interface CreateTicketAttachmentRequestBody {
1542
1557
  id: string;
1543
1558
  size: Size;
1544
1559
  url: string;
1560
+ blur_hash?: string | null;
1545
1561
  }
1546
1562
  export interface UpdateTicketChecklistItemRequestBody {
1547
1563
  title?: string;
@@ -2239,10 +2255,7 @@ export interface UserSettingsItem {
2239
2255
  view_id: string;
2240
2256
  title: string;
2241
2257
  description?: string | null;
2242
- display_title: string;
2243
- display_description?: string | null;
2244
2258
  slug: string;
2245
- transport_type?: string | null;
2246
2259
  key: string;
2247
2260
  type: SettingsItemType;
2248
2261
  required: boolean;
@@ -2256,14 +2269,10 @@ export interface UserSettingsGroup {
2256
2269
  deleted_at?: string | null;
2257
2270
  tenant_id?: string;
2258
2271
  view_id: string;
2259
- notification_topic_id?: string | null;
2260
2272
  title: string;
2261
2273
  description?: string | null;
2262
- display_title: string;
2263
- display_description?: string | null;
2264
2274
  slug: string;
2265
2275
  key: string;
2266
- notification_topic?: NotificationTopic | null;
2267
2276
  items: Array<UserSettingsItem>;
2268
2277
  }
2269
2278
  export interface UserSettingsView {
@@ -2274,13 +2283,8 @@ export interface UserSettingsView {
2274
2283
  tenant_id: string;
2275
2284
  title: string;
2276
2285
  description?: string | null;
2277
- display_title: string;
2278
- display_description?: string | null;
2279
2286
  footer_label?: string | null;
2280
2287
  slug: string;
2281
- type?: string | null;
2282
- managed: boolean;
2283
- active: boolean;
2284
2288
  groups: Array<UserSettingsGroup>;
2285
2289
  }
2286
2290
  export interface CreateSettingsGroupRequestBody {
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.322",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",