@parra/parra-js-sdk 0.3.609 → 0.3.610

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.
@@ -295,6 +295,9 @@ export declare enum TenantArchetype {
295
295
  contentCreator = "content_creator",
296
296
  other = "other"
297
297
  }
298
+ export declare enum TenantBrand {
299
+ contentPage = "content_page"
300
+ }
298
301
  export interface CreateTenantRequestBody {
299
302
  name: string;
300
303
  subdomain?: string | null;
@@ -302,6 +305,7 @@ export interface CreateTenantRequestBody {
302
305
  parent_tenant_id?: string | null;
303
306
  archetype?: TenantArchetype | null;
304
307
  archetype_other_description?: string | null;
308
+ brand?: TenantBrand | null;
305
309
  }
306
310
  export interface TenantAppInfoStub {
307
311
  id: string;
@@ -314,6 +318,7 @@ export interface TenantAppInfoStub {
314
318
  parent_tenant_id?: string | null;
315
319
  archetype?: TenantArchetype | null;
316
320
  archetype_other_description?: string | null;
321
+ brand?: TenantBrand | null;
317
322
  display_name?: string | null;
318
323
  logo?: ImageAssetStub | null;
319
324
  issuer: string;
@@ -430,6 +435,7 @@ export interface TenantMemberTenantStub {
430
435
  export interface TenantMemberTeamMemberStub {
431
436
  id: string;
432
437
  user_id: string;
438
+ admin?: boolean | null;
433
439
  roles?: Array<string> | null;
434
440
  }
435
441
  export interface TenantMember {
@@ -5871,6 +5877,7 @@ export interface Tenant {
5871
5877
  parent_tenant_id?: string | null;
5872
5878
  archetype?: TenantArchetype | null;
5873
5879
  archetype_other_description?: string | null;
5880
+ brand?: TenantBrand | null;
5874
5881
  display_name?: string | null;
5875
5882
  logo?: ImageAssetStub | null;
5876
5883
  issuer: string;
@@ -6319,6 +6326,8 @@ export interface TeamMember {
6319
6326
  name: string;
6320
6327
  email: string;
6321
6328
  avatar?: ImageAssetStub;
6329
+ admin?: boolean | null;
6330
+ roles?: Array<string> | null;
6322
6331
  }
6323
6332
  export interface CreateRoleRequestBody {
6324
6333
  name: string;
@@ -6456,6 +6465,7 @@ export interface CreateTenantForUserRequestBody {
6456
6465
  is_test: boolean;
6457
6466
  archetype?: TenantArchetype | null;
6458
6467
  archetype_other_description?: string | null;
6468
+ brand?: TenantBrand | null;
6459
6469
  }
6460
6470
  export interface CreateMailSenderRequestBody {
6461
6471
  name?: string | null;
@@ -7392,7 +7402,7 @@ declare class ParraAPI {
7392
7402
  createConnectionForIntegration: (tenant_id: string, integration_id: string, body?: CreateIntegrationConnectionRequestBody, options?: Options) => Promise<IntegrationConnection>;
7393
7403
  getInvitationsForTenantById: (tenant_id: string, options?: Options) => Promise<Array<TenantInvitation>>;
7394
7404
  createInvitationForTenantById: (tenant_id: string, body: TenantInvitationRequestBody, options?: Options) => Promise<TenantInvitation>;
7395
- getTeamMembersForTenantById: (tenant_id: string, options?: Options) => Promise<Array<TeamMember>>;
7405
+ listTeamMembersForTenantById: (tenant_id: string, options?: Options) => Promise<Array<TeamMember>>;
7396
7406
  deleteTeamMemberForTenantById: (tenant_id: string, team_member_id: string, options?: Options) => Promise<Response>;
7397
7407
  createRole: (tenant_id: string, body: CreateRoleRequestBody, options?: Options) => Promise<Role>;
7398
7408
  listRoles: (tenant_id: string, options?: Options) => Promise<Array<Role>>;
package/dist/ParraAPI.js CHANGED
@@ -11,9 +11,9 @@ 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.HeadingTag = exports.QrCodeEcLevel = exports.QrCodeStyle = exports.QrCodeLogoPaddingStyle = exports.BorderRadiusType = exports.BorderStyle = exports.TextTransform = 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.ReactionType = exports.ArticleStatus = exports.TagPool = exports.FeedbackFormFieldType = exports.ContentCardActionType = exports.IdentityType = exports.PolicyDocumentType = exports.AppleSsoScope = exports.TenantArchetype = exports.DomainStatus = exports.DomainType = exports.ApplicationType = exports.ReleaseType = exports.ReleaseStatus = exports.TicketIconType = exports.TicketPriority = exports.TicketStatus = exports.TicketType = void 0;
15
- exports.PolicyDocumentStatus = exports.MailTemplateStatus = exports.MailTemplateVersionStatus = exports.MailTemplateType = exports.TenantUserMetricType = 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.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 = void 0;
16
- exports.PolicyDocumentVersionStatus = void 0;
14
+ exports.QrCodeEcLevel = exports.QrCodeStyle = exports.QrCodeLogoPaddingStyle = exports.BorderRadiusType = exports.BorderStyle = exports.TextTransform = 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.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.MailTemplateStatus = exports.MailTemplateVersionStatus = exports.MailTemplateType = exports.TenantUserMetricType = 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.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 = void 0;
16
+ exports.PolicyDocumentVersionStatus = exports.PolicyDocumentStatus = void 0;
17
17
  var TicketType;
18
18
  (function (TicketType) {
19
19
  TicketType["bug"] = "bug";
@@ -88,6 +88,10 @@ var TenantArchetype;
88
88
  TenantArchetype["contentCreator"] = "content_creator";
89
89
  TenantArchetype["other"] = "other";
90
90
  })(TenantArchetype || (exports.TenantArchetype = TenantArchetype = {}));
91
+ var TenantBrand;
92
+ (function (TenantBrand) {
93
+ TenantBrand["contentPage"] = "content_page";
94
+ })(TenantBrand || (exports.TenantBrand = TenantBrand = {}));
91
95
  var AppleSsoScope;
92
96
  (function (AppleSsoScope) {
93
97
  AppleSsoScope["fullName"] = "full_name";
@@ -2624,7 +2628,7 @@ var ParraAPI = /** @class */ (function () {
2624
2628
  "content-type": "application/json",
2625
2629
  } }, options));
2626
2630
  };
2627
- this.getTeamMembersForTenantById = function (tenant_id, options) {
2631
+ this.listTeamMembersForTenantById = function (tenant_id, options) {
2628
2632
  if (options === void 0) { options = {}; }
2629
2633
  return _this.http.execute(__assign({ path: "".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/team-members"), method: "get" }, options));
2630
2634
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parra/parra-js-sdk",
3
- "version": "0.3.609",
3
+ "version": "0.3.610",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",