Skip to content

Commit

Permalink
update type definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
adelholtz committed Mar 27, 2024
1 parent a24c07e commit 0d5360a
Show file tree
Hide file tree
Showing 5 changed files with 26,098 additions and 6,869 deletions.
50 changes: 46 additions & 4 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -429,6 +429,7 @@ export type CiraCprConstants = "CCT" | "RES" | "CCO" | "ABO" | "TDM" | "MAJ" | "
export type CnAuditDocumentType = "ID_CARD" | "PASSPORT" | "CN_MAINLAND_TRAVEL_PERMIT_HK_MO" | "CN_MAINLAND_TRAVEL_PERMIT_TW" | "PERMANENT_RESIDENCE_PERMIT_FOREIGNERS" | "CN_RESIDENCE_PERMIT_HK_MO" | "CN_RESIDENCE_PERMIT_TW" | "MILITARY_ID_CARD" | "OTHER_ID_CARD" | "CN_ORG_ID" | "CN_BUSINESS_ID" | "CN_SOCIAL_CREDIT_LICENCE" | "MILITARY_UNIT_CODE" | "MILITARY_UNIT_EXTERNAL_PERMIT" | "INSTITUION_LEGAL_PERSON" | "CN_FOREIGN_ENTERPRISE_REGISTRATION" | "SOCIAL_ORG_LEGAL_PERSON" | "RELIGIOS_ACTIVITY" | "PRIVATE_NON_ENTERPRISE_REGISTRATION" | "FOUNDATION_LEGAL_PERSON" | "LAW_FIRM_LICENCE" | "CN_FOREIGN_CULTURAL_CENTER" | "CN_FOREIGN_TOURISM_DEPARTMENT_REGISTRATION" | "FORENSIC_EXPERTISE_LICENCE" | "SOCIAL_AGENCY_CERTIFICATE" | "PRIVATE_SCHOOL_PERMIT" | "MEDICAL_INSTITUION_LICENCE" | "NOTARY_ORG_LICENCE" | "CN_FOREIGN_EMBASSY_CHILDREN_PERMIT_BEIJING" | "OTHER_ORG_DOC" | "ORG_CERTIFICATE";
export type ClearAccountPeriod = "DAY" | "MONTH" | "BILL" | "WEEK" | "NONE";
export type CodeSigningType = "JAVASOFT" | "MS_AUTHENTICODE" | "VBA" | "ADOBE_AIR" | "APPLE";
export type CommonLogSource = "SMTP" | "HTTP" | "EPP" | "DAEMON" | "AUTODNS2" | "IRTP" | "JOB" | "WHOIS" | "AXFR" | "VIGO" | "SWEB" | "SCHLUND_TECH" | "ISAC" | "PHOENIX" | "DOMAINROBOT" | "OTHER";
export type ConditionType = "AND" | "OR";
export type ContactProtectionConstants = "SHOW_ALL" | "SHOW_NONE";
export type ContactReferenceType = "ALL" | "OWNERC" | "ADMINC" | "TECHC" | "ZONEC" | "BILLINGC";
Expand Down Expand Up @@ -558,6 +559,7 @@ export namespace DomainRobotModels {
status?: AccountStatusConstants;
invoice?: Invoice;
payment?: PaymentConstants;
parent?: AccountingDocument;
}

export class AccountEntry {
Expand Down Expand Up @@ -933,7 +935,7 @@ export namespace DomainRobotModels {
updater?: BasicUser;
status?: BillingStatus;
object?: string;
description?: string,
description?: string;
period?: TimePeriod;
articleTypeLabel?: string;
payable?: string;
Expand Down Expand Up @@ -1490,7 +1492,7 @@ export namespace DomainRobotModels {
revoked?: string;
orderId?: string;
}

export class Configuration {
constructor();
}
Expand Down Expand Up @@ -2209,6 +2211,7 @@ export namespace DomainRobotModels {
autoRenewStatus?: AutoRenewStatusConstants;
dnssecData?: DNSSec[];
zone?: Zone;
authinfoExpire?: string;
}
export class DomainCancelation {
constructor(config?: DomainCancelation);
Expand Down Expand Up @@ -2261,6 +2264,7 @@ export namespace DomainRobotModels {
onlyAvailable?: boolean;
isPrereg?: boolean;
whoisTimeout?: number;
notification?: Notification;
}

export class DomainEnvelopeSearchRequest {
Expand All @@ -2279,6 +2283,9 @@ export namespace DomainRobotModels {
whoisTimeout?: number;
ignorePremium?: boolean;
ignoreMarket?: boolean;
agent?: string;
stid?: string;
ctid?: string;
}

export class DomainAutodeleteExtensions {
Expand Down Expand Up @@ -2308,6 +2315,7 @@ export namespace DomainRobotModels {
tmchClaimsNoticeExtensions?: DomainTmchClaimNoticeExtensions;
verificationExtensions?: ContactVerificationDomain;
cancelationExtensions?: DomainCancelationExtensions;
sellExtensions?: DomainSellExtensions;
}

export class DomainMonitoring {
Expand Down Expand Up @@ -2411,6 +2419,7 @@ export namespace DomainRobotModels {
autoRenewStatus?: AutoRenewStatusConstants;
dnssecData?: DNSSec[];
zone?: Zone;
authinfoExpire?: string;
}

export class DomainSafeUser {
Expand Down Expand Up @@ -2673,6 +2682,8 @@ export namespace DomainRobotModels {
upcoming?: DomainStudioSourceUpcoming;
prefixSuffix?: DomainStudioSourcePrefixSuffix;
semantic?: DomainStudioSourceSuggestion2;
placementPlus?: DomainStudioSourcePlacementPlus;
domainsbot?: DomainStudioSourceDomainsbot;
}

export class DomainTmchClaimNoticeExtensions {
Expand Down Expand Up @@ -3692,6 +3703,29 @@ export namespace DomainRobotModels {
object?: ResponseObject;
}

export class Notification {
constructor(config?: Notification);
}
export interface Notification {
status?: StatusType;
job?: Job;
notices?: string[];
messages?: Message[];
owner?: User;
updater?: User;
action?: string;
object?: ResponseObject;
created?: string;
stid?: string;
ctid?: string;
agent?: CommonLogSource;
uuid?: string;
impersonate?: string;
userAgent?: string;
transferType?: string;
subStatus?: string;
}

export class OTPAuth {
constructor(config?: OTPAuth);
}
Expand Down Expand Up @@ -3960,12 +3994,17 @@ export namespace DomainRobotModels {
priceConditions?: PriceServiceEntity[];
comment?: string;
normalPrice?: ExchangedPrice;
newPrice?: ExchangedPrice;
valid?: string;
from?: string;
until?: string;
name?: string;
articleType?: GenericLabelEntity;
businessCase?: GenericLabelEntity;
priceChange?: PriceChange;
taskComment?: string
taskComment?: string;
priceList?: PriceList;
taskComment?: string;
}

export class PriceData {
Expand Down Expand Up @@ -3994,6 +4033,7 @@ export namespace DomainRobotModels {
hasCustomerPriceList?: boolean;
customerPriceListsAdd?: Array<object>;
customerPriceListsRem?: Array<object>;
excludeFromPricechange?: boolean;
}
export class PriceServiceData {
constructor(config?: PriceServiceData);
Expand Down Expand Up @@ -4391,6 +4431,7 @@ export namespace DomainRobotModels {
joiStateOrProvince?: string;
companyNumber?: string;
businessCategory?: BusinessCategory;
organisationalIdentifier?: string;
}

export class SslContactReference {
Expand Down Expand Up @@ -4557,6 +4598,7 @@ export namespace DomainRobotModels {
numeric?: boolean; // Specifies whether SLD may consist exclusively of numeric characters.
tldContinent?: TldContinent;
rankingLevel?: number; // Rank Level in the Domain Studio.
tlds?: Tld[];

}
export class TldGrouped {
Expand Down Expand Up @@ -5023,7 +5065,7 @@ export namespace DomainRobotModels {
updated?: string;
owner?: BasicUser;
updater?: BasicUser;
statu?: JobStatusConstants;
status?: JobStatusConstants;
subStatus?: string;
execution?: string;
id?: number;
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
},
"nyc": {
"exclude": [
"docs",
"examples/",
"node_modules",
".github",
Expand Down
Loading

0 comments on commit 0d5360a

Please sign in to comment.