@parra/parra-js-sdk 0.3.404 → 0.3.406

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.
@@ -36,7 +36,7 @@ export interface Size {
36
36
  height: number;
37
37
  }
38
38
  export interface ImageAssetThumbnail {
39
- q: string;
39
+ q?: string;
40
40
  size: Size;
41
41
  }
42
42
  export interface ImageAssetThumbnails {
@@ -351,9 +351,20 @@ export interface AuthInfoPasswordlessSmsConfig {
351
351
  export interface AuthInfoPasswordlessConfig {
352
352
  sms?: AuthInfoPasswordlessSmsConfig | null;
353
353
  }
354
+ export declare enum AppleSsoScope {
355
+ fullName = "full_name",
356
+ email = "email"
357
+ }
358
+ export interface AuthInfoAppleSsoConfig {
359
+ scopes?: Array<AppleSsoScope>;
360
+ }
361
+ export interface AuthInfoSsoConfig {
362
+ apple?: AuthInfoAppleSsoConfig | null;
363
+ }
354
364
  export interface AppAuthInfo {
355
365
  database?: AppInfoAuthDatabaseConnection | null;
356
366
  passwordless?: AuthInfoPasswordlessConfig | null;
367
+ sso?: AuthInfoSsoConfig | null;
357
368
  }
358
369
  export declare enum PolicyDocumentType {
359
370
  terms = "terms",
@@ -3007,6 +3018,7 @@ export interface SsoConnection {
3007
3018
  updated_at: string;
3008
3019
  deleted_at?: string | null;
3009
3020
  provider: SsoProvider;
3021
+ disabled: boolean;
3010
3022
  }
3011
3023
  export interface CreateSsoConnectionRequestBody {
3012
3024
  provider: SsoProvider;
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.ConnectedAppConnectionStatus = exports.ConnectedAppType = exports.TenantOnboardingGoal = exports.DashboardChecklistItemStatus = exports.DashboardChecklistItemType = exports.RefreshTokenRotationType = exports.RefreshTokenExpirationType = exports.JwtAlgorithm = exports.GrantType = 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.FeedbackFormFieldType = exports.BillingSourceType = 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 = exports.MailTemplateVersionStatus = exports.MailTemplateType = exports.IntegrationScope = exports.IntegrationConnectionStatus = exports.IntegrationType = void 0;
14
+ exports.ConnectedAppType = exports.TenantOnboardingGoal = exports.DashboardChecklistItemStatus = exports.DashboardChecklistItemType = exports.RefreshTokenRotationType = exports.RefreshTokenExpirationType = exports.JwtAlgorithm = exports.GrantType = 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.FeedbackFormFieldType = exports.BillingSourceType = exports.SubscriptionStatus = exports.Interval = exports.Currency = 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
+ exports.PolicyDocumentVersionStatus = exports.PolicyDocumentStatus = exports.MailTemplateStatus = exports.MailTemplateVersionStatus = exports.MailTemplateType = exports.IntegrationScope = exports.IntegrationConnectionStatus = exports.IntegrationType = exports.ConnectedAppConnectionStatus = void 0;
16
16
  var TicketType;
17
17
  (function (TicketType) {
18
18
  TicketType["bug"] = "bug";
@@ -80,6 +80,11 @@ var DomainStatus;
80
80
  DomainStatus["disabled"] = "disabled";
81
81
  DomainStatus["deleted"] = "deleted";
82
82
  })(DomainStatus || (exports.DomainStatus = DomainStatus = {}));
83
+ var AppleSsoScope;
84
+ (function (AppleSsoScope) {
85
+ AppleSsoScope["fullName"] = "full_name";
86
+ AppleSsoScope["email"] = "email";
87
+ })(AppleSsoScope || (exports.AppleSsoScope = AppleSsoScope = {}));
83
88
  var PolicyDocumentType;
84
89
  (function (PolicyDocumentType) {
85
90
  PolicyDocumentType["terms"] = "terms";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parra/parra-js-sdk",
3
- "version": "0.3.404",
3
+ "version": "0.3.406",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",