@parra/parra-js-sdk 0.3.167 → 0.3.169

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.
@@ -1549,34 +1549,6 @@ export interface UpdateChannelRequestBody {
1549
1549
  export interface CreateExternalDomainRequestBody {
1550
1550
  domain: string;
1551
1551
  }
1552
- export declare enum DnsRecordStatus {
1553
- active = "active",
1554
- pending = "pending",
1555
- error = "error",
1556
- deleted = "deleted"
1557
- }
1558
- export declare enum DnsRecordType {
1559
- a = "A",
1560
- cname = "CNAME",
1561
- txt = "TXT"
1562
- }
1563
- export interface ExternalDomainDnsRecord {
1564
- id: string;
1565
- created_at: string;
1566
- updated_at: string;
1567
- deleted_at?: string | null;
1568
- status: DnsRecordStatus;
1569
- type: DnsRecordType;
1570
- value: string;
1571
- ttl?: number | null;
1572
- priority?: number | null;
1573
- weight?: number | null;
1574
- port?: number | null;
1575
- target?: string | null;
1576
- verified: boolean;
1577
- verified_at?: string | null;
1578
- required: boolean;
1579
- }
1580
1552
  export interface ExternalDomain {
1581
1553
  id: string;
1582
1554
  created_at: string;
@@ -1585,18 +1557,11 @@ export interface ExternalDomain {
1585
1557
  status: DomainStatus;
1586
1558
  domain: string;
1587
1559
  disabled: boolean;
1588
- dns_records: Array<ExternalDomainDnsRecord>;
1589
1560
  }
1590
1561
  export interface UpdateExternalDomainRequestBody {
1591
1562
  domain?: string;
1592
1563
  disabled?: boolean;
1593
1564
  }
1594
- export interface CheckExternalDomain {
1595
- id: string;
1596
- created_at: string;
1597
- updated_at: string;
1598
- deleted_at?: string | null;
1599
- }
1600
1565
  export interface SubdomainAvailabilityRequestBody {
1601
1566
  subdomain: string;
1602
1567
  }
@@ -2662,7 +2627,7 @@ declare class ParraAPI {
2662
2627
  getExternalDomainByIdForTenantById: (tenant_id: string, external_domain_id: string, options?: Options) => Promise<ExternalDomain>;
2663
2628
  updateExternalDomainByIdForTenantById: (tenant_id: string, external_domain_id: string, body?: UpdateExternalDomainRequestBody, options?: Options) => Promise<ExternalDomain>;
2664
2629
  deleteExternalDomainByIdForTenantById: (tenant_id: string, external_domain_id: string, options?: Options) => Promise<Response>;
2665
- checkExternalDomainByIdForTenantById: (tenant_id: string, external_domain_id: string, options?: Options) => Promise<CheckExternalDomain>;
2630
+ checkExternalDomainByIdForTenantById: (tenant_id: string, external_domain_id: string, options?: Options) => Promise<ExternalDomain>;
2666
2631
  checkSubdomainAvailability: (body: SubdomainAvailabilityRequestBody, options?: Options) => Promise<SubdomainAvailabilityResponse>;
2667
2632
  loginUserForTenant: (tenant_id: string, options?: Options) => Promise<TenantUserInfo>;
2668
2633
  getTenantUserInfo: (tenant_id: string, options?: Options) => Promise<TenantUserInfo>;
package/dist/ParraAPI.js CHANGED
@@ -11,7 +11,7 @@ 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.PolicyDocumentVersionStatus = exports.PolicyDocumentStatus = exports.IntegrationScope = exports.IntegrationConnectionStatus = exports.IntegrationType = exports.ConnectedAppConnectionStatus = exports.ConnectedAppType = exports.TenantOnboardingGoal = exports.ApplicationType = exports.RefreshTokenRotationType = exports.RefreshTokenExpirationType = exports.JwtAlgorithm = exports.GrantType = exports.PasswordlessStrategy = exports.DnsRecordType = exports.DnsRecordStatus = exports.ApnsPushType = exports.ApnsEnvironment = exports.ChannelType = exports.AppVersionStatus = exports.TicketDisplayStatus = exports.UserNoteStatus = exports.TemplateType = exports.CampaignStatus = exports.CampaignActionDisplayType = exports.CampaignActionType = exports.CardItemDisplayType = exports.CardItemType = exports.QuestionKind = exports.QuestionType = exports.FeedbackFormFieldType = exports.SubscriptionStatus = exports.Currency = exports.Interval = exports.IdentityType = exports.PolicyDocumentType = exports.DomainStatus = exports.DomainType = exports.ReleaseType = exports.ReleaseStatus = exports.TicketIconType = exports.TicketPriority = exports.TicketStatus = exports.TicketType = void 0;
14
+ exports.PolicyDocumentVersionStatus = exports.PolicyDocumentStatus = exports.IntegrationScope = exports.IntegrationConnectionStatus = exports.IntegrationType = exports.ConnectedAppConnectionStatus = exports.ConnectedAppType = exports.TenantOnboardingGoal = exports.ApplicationType = exports.RefreshTokenRotationType = exports.RefreshTokenExpirationType = exports.JwtAlgorithm = exports.GrantType = exports.PasswordlessStrategy = exports.ApnsPushType = exports.ApnsEnvironment = exports.ChannelType = exports.AppVersionStatus = exports.TicketDisplayStatus = exports.UserNoteStatus = exports.TemplateType = exports.CampaignStatus = exports.CampaignActionDisplayType = exports.CampaignActionType = exports.CardItemDisplayType = exports.CardItemType = exports.QuestionKind = exports.QuestionType = exports.FeedbackFormFieldType = exports.SubscriptionStatus = exports.Currency = exports.Interval = exports.IdentityType = exports.PolicyDocumentType = exports.DomainStatus = exports.DomainType = exports.ReleaseType = exports.ReleaseStatus = exports.TicketIconType = exports.TicketPriority = exports.TicketStatus = exports.TicketType = void 0;
15
15
  var TicketType;
16
16
  (function (TicketType) {
17
17
  TicketType["bug"] = "bug";
@@ -202,19 +202,6 @@ var ApnsPushType;
202
202
  ApnsPushType["voip"] = "voip";
203
203
  ApnsPushType["mdm"] = "mdm";
204
204
  })(ApnsPushType || (exports.ApnsPushType = ApnsPushType = {}));
205
- var DnsRecordStatus;
206
- (function (DnsRecordStatus) {
207
- DnsRecordStatus["active"] = "active";
208
- DnsRecordStatus["pending"] = "pending";
209
- DnsRecordStatus["error"] = "error";
210
- DnsRecordStatus["deleted"] = "deleted";
211
- })(DnsRecordStatus || (exports.DnsRecordStatus = DnsRecordStatus = {}));
212
- var DnsRecordType;
213
- (function (DnsRecordType) {
214
- DnsRecordType["a"] = "A";
215
- DnsRecordType["cname"] = "CNAME";
216
- DnsRecordType["txt"] = "TXT";
217
- })(DnsRecordType || (exports.DnsRecordType = DnsRecordType = {}));
218
205
  var PasswordlessStrategy;
219
206
  (function (PasswordlessStrategy) {
220
207
  PasswordlessStrategy["email"] = "email";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parra/parra-js-sdk",
3
- "version": "0.3.167",
3
+ "version": "0.3.169",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",