@parra/parra-js-sdk 0.3.155 → 0.3.156

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.
Files changed (2) hide show
  1. package/dist/ParraAPI.d.ts +21 -5
  2. package/package.json +1 -1
@@ -1502,15 +1502,21 @@ export declare enum DnsRecordType {
1502
1502
  cname = "CNAME",
1503
1503
  txt = "TXT"
1504
1504
  }
1505
- export interface ExternalDomain {
1505
+ export interface ExternalDomainDnsRecord {
1506
1506
  id: string;
1507
1507
  created_at: string;
1508
1508
  updated_at: string;
1509
1509
  deleted_at?: string | null;
1510
- status: DomainStatus;
1511
- domain: string;
1512
- disabled: boolean;
1513
- dns_records: Array<ExternalDomain>;
1510
+ type: DnsRecordType;
1511
+ value: string;
1512
+ ttl?: number | null;
1513
+ priority?: number | null;
1514
+ weight?: number | null;
1515
+ port?: number | null;
1516
+ target?: string | null;
1517
+ verified: boolean;
1518
+ verified_at?: string | null;
1519
+ required: boolean;
1514
1520
  }
1515
1521
  export declare enum DomainStatus {
1516
1522
  setup = "setup",
@@ -1523,6 +1529,16 @@ export interface ExternalDomainData {
1523
1529
  domain: string;
1524
1530
  disabled: boolean;
1525
1531
  }
1532
+ export interface ExternalDomain {
1533
+ id: string;
1534
+ created_at: string;
1535
+ updated_at: string;
1536
+ deleted_at?: string | null;
1537
+ status: DomainStatus;
1538
+ domain: string;
1539
+ disabled: boolean;
1540
+ dns_records: Array<ExternalDomainDnsRecord>;
1541
+ }
1526
1542
  export interface UpdateExternalDomainRequestBody {
1527
1543
  domain?: string;
1528
1544
  disabled?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parra/parra-js-sdk",
3
- "version": "0.3.155",
3
+ "version": "0.3.156",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",