@ptfm/namecheap 2.2.0 → 2.9.3

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 (68) hide show
  1. package/bin/config/index.d.ts +1 -0
  2. package/bin/config/index.d.ts.map +1 -0
  3. package/bin/config/vars.d.ts +26 -1
  4. package/bin/config/vars.d.ts.map +1 -0
  5. package/bin/config/vars.js +60 -1
  6. package/bin/config/vars.js.map +1 -1
  7. package/bin/domainContacts.d.ts +102 -0
  8. package/bin/domainContacts.d.ts.map +1 -0
  9. package/bin/domainContacts.js +88 -0
  10. package/bin/domainContacts.js.map +1 -0
  11. package/bin/domainHostRecord.d.ts +112 -0
  12. package/bin/domainHostRecord.d.ts.map +1 -0
  13. package/bin/domainHostRecord.js +96 -0
  14. package/bin/domainHostRecord.js.map +1 -0
  15. package/bin/domainRecords.d.ts +30 -11
  16. package/bin/domainRecords.d.ts.map +1 -0
  17. package/bin/domainRecords.js +41 -18
  18. package/bin/domainRecords.js.map +1 -1
  19. package/bin/emailForwarding.d.ts +70 -0
  20. package/bin/emailForwarding.d.ts.map +1 -0
  21. package/bin/emailForwarding.js +82 -0
  22. package/bin/emailForwarding.js.map +1 -0
  23. package/bin/getAccountBalance.d.ts +28 -0
  24. package/bin/getAccountBalance.d.ts.map +1 -0
  25. package/bin/getAccountBalance.js +47 -0
  26. package/bin/getAccountBalance.js.map +1 -0
  27. package/bin/getDomain.d.ts +53 -0
  28. package/bin/getDomain.d.ts.map +1 -0
  29. package/bin/getDomain.js +47 -0
  30. package/bin/getDomain.js.map +1 -0
  31. package/bin/getDomainRecords.d.ts +29 -0
  32. package/bin/getDomainRecords.d.ts.map +1 -0
  33. package/bin/getDomainRecords.js +47 -0
  34. package/bin/getDomainRecords.js.map +1 -0
  35. package/bin/getDomains.d.ts +30 -0
  36. package/bin/getDomains.d.ts.map +1 -0
  37. package/bin/getDomains.js +51 -0
  38. package/bin/getDomains.js.map +1 -0
  39. package/bin/getTldPricing.d.ts +37 -0
  40. package/bin/getTldPricing.d.ts.map +1 -0
  41. package/bin/getTldPricing.js +51 -0
  42. package/bin/getTldPricing.js.map +1 -0
  43. package/bin/index.d.ts +29 -3
  44. package/bin/index.d.ts.map +1 -0
  45. package/bin/index.js +69 -8
  46. package/bin/index.js.map +1 -1
  47. package/bin/package.json +7 -10
  48. package/bin/personalNameserver.d.ts +76 -0
  49. package/bin/personalNameserver.d.ts.map +1 -0
  50. package/bin/personalNameserver.js +87 -0
  51. package/bin/personalNameserver.js.map +1 -0
  52. package/bin/provider.d.ts +68 -11
  53. package/bin/provider.d.ts.map +1 -0
  54. package/bin/provider.js +49 -18
  55. package/bin/provider.js.map +1 -1
  56. package/bin/types/index.d.ts +1 -0
  57. package/bin/types/index.d.ts.map +1 -0
  58. package/bin/types/index.js +25 -2
  59. package/bin/types/index.js.map +1 -1
  60. package/bin/types/input.d.ts +203 -2
  61. package/bin/types/input.d.ts.map +1 -0
  62. package/bin/types/output.d.ts +222 -0
  63. package/bin/types/output.d.ts.map +1 -0
  64. package/bin/utilities.d.ts +1 -4
  65. package/bin/utilities.d.ts.map +1 -0
  66. package/bin/utilities.js +50 -66
  67. package/bin/utilities.js.map +1 -1
  68. package/package.json +7 -10
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || function (mod) {
21
+ if (mod && mod.__esModule) return mod;
22
+ var result = {};
23
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
+ __setModuleDefault(result, mod);
25
+ return result;
26
+ };
27
+ Object.defineProperty(exports, "__esModule", { value: true });
28
+ exports.getDomainsOutput = exports.getDomains = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("./utilities"));
31
+ function getDomains(args, opts) {
32
+ args = args || {};
33
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
34
+ return pulumi.runtime.invoke("namecheap:index/getDomains:getDomains", {
35
+ "id": args.id,
36
+ "listType": args.listType,
37
+ "searchTerm": args.searchTerm,
38
+ }, opts, utilities.getPackage());
39
+ }
40
+ exports.getDomains = getDomains;
41
+ function getDomainsOutput(args, opts) {
42
+ args = args || {};
43
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
44
+ return pulumi.runtime.invokeOutput("namecheap:index/getDomains:getDomains", {
45
+ "id": args.id,
46
+ "listType": args.listType,
47
+ "searchTerm": args.searchTerm,
48
+ }, opts, utilities.getPackage());
49
+ }
50
+ exports.getDomainsOutput = getDomainsOutput;
51
+ //# sourceMappingURL=getDomains.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getDomains.js","sourceRoot":"","sources":["../getDomains.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC,SAAgB,UAAU,CAAC,IAAqB,EAAE,IAA2B;IACzE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,uCAAuC,EAAE;QAClE,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,EAAE,SAAS,CAAC,UAAU,EAAE,CAAC,CAAC;AACrC,CAAC;AARD,gCAQC;AAoBD,SAAgB,gBAAgB,CAAC,IAA2B,EAAE,IAAiC;IAC3F,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,uCAAuC,EAAE;QACxE,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,EAAE,SAAS,CAAC,UAAU,EAAE,CAAC,CAAC;AACrC,CAAC;AARD,4CAQC"}
@@ -0,0 +1,37 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ export declare function getTldPricing(args: GetTldPricingArgs, opts?: pulumi.InvokeOptions): Promise<GetTldPricingResult>;
3
+ /**
4
+ * A collection of arguments for invoking getTldPricing.
5
+ */
6
+ export interface GetTldPricingArgs {
7
+ action?: string;
8
+ id?: string;
9
+ tld: string;
10
+ years?: number;
11
+ }
12
+ /**
13
+ * A collection of values returned by getTldPricing.
14
+ */
15
+ export interface GetTldPricingResult {
16
+ readonly action?: string;
17
+ readonly currency: string;
18
+ readonly durationType: string;
19
+ readonly id: string;
20
+ readonly price: string;
21
+ readonly promoPrice: string;
22
+ readonly regularPrice: string;
23
+ readonly tld: string;
24
+ readonly years?: number;
25
+ readonly yourPrice: string;
26
+ }
27
+ export declare function getTldPricingOutput(args: GetTldPricingOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetTldPricingResult>;
28
+ /**
29
+ * A collection of arguments for invoking getTldPricing.
30
+ */
31
+ export interface GetTldPricingOutputArgs {
32
+ action?: pulumi.Input<string | undefined>;
33
+ id?: pulumi.Input<string | undefined>;
34
+ tld: pulumi.Input<string>;
35
+ years?: pulumi.Input<number | undefined>;
36
+ }
37
+ //# sourceMappingURL=getTldPricing.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getTldPricing.d.ts","sourceRoot":"","sources":["../getTldPricing.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC,wBAAgB,aAAa,CAAC,IAAI,EAAE,iBAAiB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAQhH;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAC9B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB;AAED;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAChC,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;CAC9B;AACD,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,uBAAuB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,mBAAmB,CAAC,CAQxI;AAED;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACpC,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC1C,EAAE,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACtC,GAAG,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAC5C"}
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || function (mod) {
21
+ if (mod && mod.__esModule) return mod;
22
+ var result = {};
23
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
+ __setModuleDefault(result, mod);
25
+ return result;
26
+ };
27
+ Object.defineProperty(exports, "__esModule", { value: true });
28
+ exports.getTldPricingOutput = exports.getTldPricing = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("./utilities"));
31
+ function getTldPricing(args, opts) {
32
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
33
+ return pulumi.runtime.invoke("namecheap:index/getTldPricing:getTldPricing", {
34
+ "action": args.action,
35
+ "id": args.id,
36
+ "tld": args.tld,
37
+ "years": args.years,
38
+ }, opts, utilities.getPackage());
39
+ }
40
+ exports.getTldPricing = getTldPricing;
41
+ function getTldPricingOutput(args, opts) {
42
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
43
+ return pulumi.runtime.invokeOutput("namecheap:index/getTldPricing:getTldPricing", {
44
+ "action": args.action,
45
+ "id": args.id,
46
+ "tld": args.tld,
47
+ "years": args.years,
48
+ }, opts, utilities.getPackage());
49
+ }
50
+ exports.getTldPricingOutput = getTldPricingOutput;
51
+ //# sourceMappingURL=getTldPricing.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getTldPricing.js","sourceRoot":"","sources":["../getTldPricing.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAC9E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,6CAA6C,EAAE;QACxE,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,EAAE,SAAS,CAAC,UAAU,EAAE,CAAC,CAAC;AACrC,CAAC;AARD,sCAQC;AA2BD,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAAiC;IAChG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,6CAA6C,EAAE;QAC9E,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,EAAE,SAAS,CAAC,UAAU,EAAE,CAAC,CAAC;AACrC,CAAC;AARD,kDAQC"}
package/bin/index.d.ts CHANGED
@@ -1,9 +1,35 @@
1
+ export { DomainContactsArgs, DomainContactsState } from "./domainContacts";
2
+ export type DomainContacts = import("./domainContacts").DomainContacts;
3
+ export declare const DomainContacts: typeof import("./domainContacts").DomainContacts;
4
+ export { DomainHostRecordArgs, DomainHostRecordState } from "./domainHostRecord";
5
+ export type DomainHostRecord = import("./domainHostRecord").DomainHostRecord;
6
+ export declare const DomainHostRecord: typeof import("./domainHostRecord").DomainHostRecord;
1
7
  export { DomainRecordsArgs, DomainRecordsState } from "./domainRecords";
2
8
  export type DomainRecords = import("./domainRecords").DomainRecords;
3
9
  export declare const DomainRecords: typeof import("./domainRecords").DomainRecords;
4
- export { ProviderArgs } from "./provider";
5
- export type Provider = import("./provider").Provider;
6
- export declare const Provider: typeof import("./provider").Provider;
10
+ export { EmailForwardingArgs, EmailForwardingState } from "./emailForwarding";
11
+ export type EmailForwarding = import("./emailForwarding").EmailForwarding;
12
+ export declare const EmailForwarding: typeof import("./emailForwarding").EmailForwarding;
13
+ export { GetAccountBalanceArgs, GetAccountBalanceResult, GetAccountBalanceOutputArgs } from "./getAccountBalance";
14
+ export declare const getAccountBalance: typeof import("./getAccountBalance").getAccountBalance;
15
+ export declare const getAccountBalanceOutput: typeof import("./getAccountBalance").getAccountBalanceOutput;
16
+ export { GetDomainArgs, GetDomainResult, GetDomainOutputArgs } from "./getDomain";
17
+ export declare const getDomain: typeof import("./getDomain").getDomain;
18
+ export declare const getDomainOutput: typeof import("./getDomain").getDomainOutput;
19
+ export { GetDomainRecordsArgs, GetDomainRecordsResult, GetDomainRecordsOutputArgs } from "./getDomainRecords";
20
+ export declare const getDomainRecords: typeof import("./getDomainRecords").getDomainRecords;
21
+ export declare const getDomainRecordsOutput: typeof import("./getDomainRecords").getDomainRecordsOutput;
22
+ export { GetDomainsArgs, GetDomainsResult, GetDomainsOutputArgs } from "./getDomains";
23
+ export declare const getDomains: typeof import("./getDomains").getDomains;
24
+ export declare const getDomainsOutput: typeof import("./getDomains").getDomainsOutput;
25
+ export { GetTldPricingArgs, GetTldPricingResult, GetTldPricingOutputArgs } from "./getTldPricing";
26
+ export declare const getTldPricing: typeof import("./getTldPricing").getTldPricing;
27
+ export declare const getTldPricingOutput: typeof import("./getTldPricing").getTldPricingOutput;
28
+ export { PersonalNameserverArgs, PersonalNameserverState } from "./personalNameserver";
29
+ export type PersonalNameserver = import("./personalNameserver").PersonalNameserver;
30
+ export declare const PersonalNameserver: typeof import("./personalNameserver").PersonalNameserver;
31
+ export * from "./provider";
7
32
  import * as config from "./config";
8
33
  import * as types from "./types";
9
34
  export { config, types, };
35
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAC3E,MAAM,MAAM,cAAc,GAAG,OAAO,kBAAkB,EAAE,cAAc,CAAC;AACvE,eAAO,MAAM,cAAc,EAAE,cAAc,kBAAkB,EAAE,cAA4B,CAAC;AAG5F,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,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AACtF,eAAO,MAAM,UAAU,EAAE,cAAc,cAAc,EAAE,UAAwB,CAAC;AAChF,eAAO,MAAM,gBAAgB,EAAE,cAAc,cAAc,EAAE,gBAA8B,CAAC;AAG5F,OAAO,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,uBAAuB,EAAE,MAAM,iBAAiB,CAAC;AAClG,eAAO,MAAM,aAAa,EAAE,cAAc,iBAAiB,EAAE,aAA2B,CAAC;AACzF,eAAO,MAAM,mBAAmB,EAAE,cAAc,iBAAiB,EAAE,mBAAiC,CAAC;AAGrG,OAAO,EAAE,sBAAsB,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AACvF,MAAM,MAAM,kBAAkB,GAAG,OAAO,sBAAsB,EAAE,kBAAkB,CAAC;AACnF,eAAO,MAAM,kBAAkB,EAAE,cAAc,sBAAsB,EAAE,kBAAgC,CAAC;AAGxG,cAAc,YAAY,CAAC;AAK3B,OAAO,KAAK,MAAM,MAAM,UAAU,CAAC;AACnC,OAAO,KAAK,KAAK,MAAM,SAAS,CAAC;AAEjC,OAAO,EACH,MAAM,EACN,KAAK,GACR,CAAC"}
package/bin/index.js CHANGED
@@ -1,38 +1,99 @@
1
1
  "use strict";
2
2
  // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
3
  // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || function (mod) {
21
+ if (mod && mod.__esModule) return mod;
22
+ var result = {};
23
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
+ __setModuleDefault(result, mod);
25
+ return result;
26
+ };
27
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
28
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
29
+ };
4
30
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.types = exports.config = exports.Provider = exports.DomainRecords = void 0;
6
- const pulumi = require("@pulumi/pulumi");
7
- const utilities = require("./utilities");
31
+ exports.types = exports.config = exports.PersonalNameserver = exports.getTldPricingOutput = exports.getTldPricing = exports.getDomainsOutput = exports.getDomains = exports.getDomainRecordsOutput = exports.getDomainRecords = exports.getDomainOutput = exports.getDomain = exports.getAccountBalanceOutput = exports.getAccountBalance = exports.EmailForwarding = exports.DomainRecords = exports.DomainHostRecord = exports.DomainContacts = void 0;
32
+ const pulumi = __importStar(require("@pulumi/pulumi"));
33
+ const utilities = __importStar(require("./utilities"));
34
+ exports.DomainContacts = null;
35
+ utilities.lazyLoad(exports, ["DomainContacts"], () => require("./domainContacts"));
36
+ exports.DomainHostRecord = null;
37
+ utilities.lazyLoad(exports, ["DomainHostRecord"], () => require("./domainHostRecord"));
8
38
  exports.DomainRecords = null;
9
39
  utilities.lazyLoad(exports, ["DomainRecords"], () => require("./domainRecords"));
10
- exports.Provider = null;
11
- utilities.lazyLoad(exports, ["Provider"], () => require("./provider"));
40
+ exports.EmailForwarding = null;
41
+ utilities.lazyLoad(exports, ["EmailForwarding"], () => require("./emailForwarding"));
42
+ exports.getAccountBalance = null;
43
+ exports.getAccountBalanceOutput = null;
44
+ utilities.lazyLoad(exports, ["getAccountBalance", "getAccountBalanceOutput"], () => require("./getAccountBalance"));
45
+ exports.getDomain = null;
46
+ exports.getDomainOutput = null;
47
+ utilities.lazyLoad(exports, ["getDomain", "getDomainOutput"], () => require("./getDomain"));
48
+ exports.getDomainRecords = null;
49
+ exports.getDomainRecordsOutput = null;
50
+ utilities.lazyLoad(exports, ["getDomainRecords", "getDomainRecordsOutput"], () => require("./getDomainRecords"));
51
+ exports.getDomains = null;
52
+ exports.getDomainsOutput = null;
53
+ utilities.lazyLoad(exports, ["getDomains", "getDomainsOutput"], () => require("./getDomains"));
54
+ exports.getTldPricing = null;
55
+ exports.getTldPricingOutput = null;
56
+ utilities.lazyLoad(exports, ["getTldPricing", "getTldPricingOutput"], () => require("./getTldPricing"));
57
+ exports.PersonalNameserver = null;
58
+ utilities.lazyLoad(exports, ["PersonalNameserver"], () => require("./personalNameserver"));
59
+ __exportStar(require("./provider"), exports);
60
+ const provider_1 = require("./provider");
12
61
  // Export sub-modules:
13
- const config = require("./config");
62
+ const config = __importStar(require("./config"));
14
63
  exports.config = config;
15
- const types = require("./types");
64
+ const types = __importStar(require("./types"));
16
65
  exports.types = types;
17
66
  const _module = {
18
67
  version: utilities.getVersion(),
19
68
  construct: (name, type, urn) => {
20
69
  switch (type) {
70
+ case "namecheap:index/domainContacts:DomainContacts":
71
+ return new exports.DomainContacts(name, undefined, { urn });
72
+ case "namecheap:index/domainHostRecord:DomainHostRecord":
73
+ return new exports.DomainHostRecord(name, undefined, { urn });
21
74
  case "namecheap:index/domainRecords:DomainRecords":
22
75
  return new exports.DomainRecords(name, undefined, { urn });
76
+ case "namecheap:index/emailForwarding:EmailForwarding":
77
+ return new exports.EmailForwarding(name, undefined, { urn });
78
+ case "namecheap:index/personalNameserver:PersonalNameserver":
79
+ return new exports.PersonalNameserver(name, undefined, { urn });
23
80
  default:
24
81
  throw new Error(`unknown resource type ${type}`);
25
82
  }
26
83
  },
27
84
  };
85
+ pulumi.runtime.registerResourceModule("namecheap", "index/domainContacts", _module);
86
+ pulumi.runtime.registerResourceModule("namecheap", "index/domainHostRecord", _module);
28
87
  pulumi.runtime.registerResourceModule("namecheap", "index/domainRecords", _module);
88
+ pulumi.runtime.registerResourceModule("namecheap", "index/emailForwarding", _module);
89
+ pulumi.runtime.registerResourceModule("namecheap", "index/personalNameserver", _module);
29
90
  pulumi.runtime.registerResourcePackage("namecheap", {
30
91
  version: utilities.getVersion(),
31
92
  constructProvider: (name, type, urn) => {
32
93
  if (type !== "pulumi:providers:namecheap") {
33
94
  throw new Error(`unknown provider type ${type}`);
34
95
  }
35
- return new exports.Provider(name, undefined, { urn });
96
+ return new provider_1.Provider(name, undefined, { urn });
36
97
  },
37
98
  });
38
99
  //# sourceMappingURL=index.js.map
package/bin/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAK5B,QAAA,aAAa,GAAmD,IAAW,CAAC;AACzF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,eAAe,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,iBAAiB,CAAC,CAAC,CAAC;AAIpE,QAAA,QAAQ,GAAyC,IAAW,CAAC;AAC1E,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,UAAU,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC;AAGvE,sBAAsB;AACtB,mCAAmC;AAI/B,wBAAM;AAHV,iCAAiC;AAI7B,sBAAK;AAGT,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,6CAA6C;gBAC9C,OAAO,IA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AAO,CAAC,CAAA;AACnF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,WAAW,EAAE,wBAAwB,EAAE,OAAO,CAAC,CAAA;AACrF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,WAAW,EAAE,qBAAqB,EAAE,OAAO,CAAC,CAAA;AAClF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,WAAW,EAAE,uBAAuB,EAAE,OAAO,CAAC,CAAA;AACpF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,WAAW,EAAE,0BAA0B,EAAE,OAAO,CAAC,CAAA;AACvF,MAAM,CAAC,OAAO,CAAC,uBAAuB,CAAC,WAAW,EAAE;IAChD,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,iBAAiB,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAA2B,EAAE;QACpF,IAAI,IAAI,KAAK,4BAA4B,EAAE;YACvC,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACpD;QACD,OAAO,IAAI,mBAAQ,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC;IACvD,CAAC;CACJ,CAAC,CAAC"}
package/bin/package.json CHANGED
@@ -1,27 +1,24 @@
1
1
  {
2
2
  "name": "@ptfm/namecheap",
3
- "version": "2.2.0",
3
+ "version": "2.9.3",
4
4
  "description": "A Pulumi provider dynamically bridged from namecheap.",
5
5
  "main": "bin/index.js",
6
6
  "scripts": {
7
7
  "build": "tsc"
8
8
  },
9
9
  "dependencies": {
10
- "@pulumi/pulumi": "^3.142.0",
11
- "async-mutex": "^0.5.0"
12
- },
13
- "devDependencies": {
14
- "@types/node": "^14",
15
- "typescript": "^4.3.5"
10
+ "@pulumi/pulumi": "^3.238.0",
11
+ "@types/node": "^20",
12
+ "typescript": "^4.7.0"
16
13
  },
17
14
  "pulumi": {
18
15
  "resource": true,
19
16
  "name": "terraform-provider",
20
- "version": "0.8.1",
17
+ "version": "1.4.0",
21
18
  "parameterization": {
22
19
  "name": "namecheap",
23
- "version": "2.2.0",
24
- "value": "eyJyZW1vdGUiOnsidXJsIjoicmVnaXN0cnkudGVycmFmb3JtLmlvL25hbWVjaGVhcC9uYW1lY2hlYXAiLCJ2ZXJzaW9uIjoiMi4yLjAifX0="
20
+ "version": "2.9.3",
21
+ "value": "eyJyZW1vdGUiOnsidXJsIjoicmVnaXN0cnkudGVycmFmb3JtLmlvL25hbWVjaGVhcC9uYW1lY2hlYXAiLCJ2ZXJzaW9uIjoiMi45LjMifX0="
25
22
  }
26
23
  },
27
24
  "repository": {
@@ -0,0 +1,76 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ export declare class PersonalNameserver extends pulumi.CustomResource {
3
+ /**
4
+ * Get an existing PersonalNameserver resource's state with the given name, ID, and optional extra
5
+ * properties used to qualify the lookup.
6
+ *
7
+ * @param name The _unique_ name of the resulting resource.
8
+ * @param id The _unique_ provider ID of the resource to lookup.
9
+ * @param state Any extra arguments used during the lookup.
10
+ * @param opts Optional settings to control the behavior of the CustomResource.
11
+ */
12
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: PersonalNameserverState, opts?: pulumi.CustomResourceOptions): PersonalNameserver;
13
+ /**
14
+ * Returns true if the given object is an instance of PersonalNameserver. This is designed to work even
15
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
16
+ */
17
+ static isInstance(obj: any): obj is PersonalNameserver;
18
+ /**
19
+ * The registered root domain the personal nameserver belongs to (e.g. `example.com`). Must be a root domain present on the account, not a subdomain. Changing this forces a new resource.
20
+ */
21
+ readonly domain: pulumi.Output<string>;
22
+ /**
23
+ * The IP address the personal nameserver resolves to (the glue record's address). This value can be changed in place, which issues a `domains.ns.update`.
24
+ */
25
+ readonly ip: pulumi.Output<string>;
26
+ /**
27
+ * The fully qualified hostname of the personal nameserver to register (e.g. `ns1.example.com`). Changing this forces a new resource.
28
+ */
29
+ readonly nameserver: pulumi.Output<string>;
30
+ readonly personalNameserverId: pulumi.Output<string>;
31
+ /**
32
+ * Create a PersonalNameserver resource with the given unique name, arguments, and options.
33
+ *
34
+ * @param name The _unique_ name of the resource.
35
+ * @param args The arguments to use to populate this resource's properties.
36
+ * @param opts A bag of options that control this resource's behavior.
37
+ */
38
+ constructor(name: string, args: PersonalNameserverArgs, opts?: pulumi.CustomResourceOptions);
39
+ }
40
+ /**
41
+ * Input properties used for looking up and filtering PersonalNameserver resources.
42
+ */
43
+ export interface PersonalNameserverState {
44
+ /**
45
+ * The registered root domain the personal nameserver belongs to (e.g. `example.com`). Must be a root domain present on the account, not a subdomain. Changing this forces a new resource.
46
+ */
47
+ domain?: pulumi.Input<string | undefined>;
48
+ /**
49
+ * The IP address the personal nameserver resolves to (the glue record's address). This value can be changed in place, which issues a `domains.ns.update`.
50
+ */
51
+ ip?: pulumi.Input<string | undefined>;
52
+ /**
53
+ * The fully qualified hostname of the personal nameserver to register (e.g. `ns1.example.com`). Changing this forces a new resource.
54
+ */
55
+ nameserver?: pulumi.Input<string | undefined>;
56
+ personalNameserverId?: pulumi.Input<string | undefined>;
57
+ }
58
+ /**
59
+ * The set of arguments for constructing a PersonalNameserver resource.
60
+ */
61
+ export interface PersonalNameserverArgs {
62
+ /**
63
+ * The registered root domain the personal nameserver belongs to (e.g. `example.com`). Must be a root domain present on the account, not a subdomain. Changing this forces a new resource.
64
+ */
65
+ domain: pulumi.Input<string>;
66
+ /**
67
+ * The IP address the personal nameserver resolves to (the glue record's address). This value can be changed in place, which issues a `domains.ns.update`.
68
+ */
69
+ ip: pulumi.Input<string>;
70
+ /**
71
+ * The fully qualified hostname of the personal nameserver to register (e.g. `ns1.example.com`). Changing this forces a new resource.
72
+ */
73
+ nameserver: pulumi.Input<string>;
74
+ personalNameserverId?: pulumi.Input<string | undefined>;
75
+ }
76
+ //# sourceMappingURL=personalNameserver.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"personalNameserver.d.ts","sourceRoot":"","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C,CAAC;CAC3D;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACnC;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC7B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACzB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACjC,oBAAoB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAC3D"}
@@ -0,0 +1,87 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || function (mod) {
21
+ if (mod && mod.__esModule) return mod;
22
+ var result = {};
23
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
+ __setModuleDefault(result, mod);
25
+ return result;
26
+ };
27
+ Object.defineProperty(exports, "__esModule", { value: true });
28
+ exports.PersonalNameserver = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("./utilities"));
31
+ class PersonalNameserver extends pulumi.CustomResource {
32
+ /**
33
+ * Get an existing PersonalNameserver resource's state with the given name, ID, and optional extra
34
+ * properties used to qualify the lookup.
35
+ *
36
+ * @param name The _unique_ name of the resulting resource.
37
+ * @param id The _unique_ provider ID of the resource to lookup.
38
+ * @param state Any extra arguments used during the lookup.
39
+ * @param opts Optional settings to control the behavior of the CustomResource.
40
+ */
41
+ static get(name, id, state, opts) {
42
+ return new PersonalNameserver(name, state, { ...opts, id: id });
43
+ }
44
+ /** @internal */
45
+ static __pulumiType = 'namecheap:index/personalNameserver:PersonalNameserver';
46
+ /**
47
+ * Returns true if the given object is an instance of PersonalNameserver. This is designed to work even
48
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
49
+ */
50
+ static isInstance(obj) {
51
+ if (obj === undefined || obj === null) {
52
+ return false;
53
+ }
54
+ return obj['__pulumiType'] === PersonalNameserver.__pulumiType;
55
+ }
56
+ constructor(name, argsOrState, opts) {
57
+ let resourceInputs = {};
58
+ opts = opts || {};
59
+ if (opts.id) {
60
+ const state = argsOrState;
61
+ resourceInputs["domain"] = state?.domain;
62
+ resourceInputs["ip"] = state?.ip;
63
+ resourceInputs["nameserver"] = state?.nameserver;
64
+ resourceInputs["personalNameserverId"] = state?.personalNameserverId;
65
+ }
66
+ else {
67
+ const args = argsOrState;
68
+ if (args?.domain === undefined && !opts.urn) {
69
+ throw new Error("Missing required property 'domain'");
70
+ }
71
+ if (args?.ip === undefined && !opts.urn) {
72
+ throw new Error("Missing required property 'ip'");
73
+ }
74
+ if (args?.nameserver === undefined && !opts.urn) {
75
+ throw new Error("Missing required property 'nameserver'");
76
+ }
77
+ resourceInputs["domain"] = args?.domain;
78
+ resourceInputs["ip"] = args?.ip;
79
+ resourceInputs["nameserver"] = args?.nameserver;
80
+ resourceInputs["personalNameserverId"] = args?.personalNameserverId;
81
+ }
82
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
83
+ super(PersonalNameserver.__pulumiType, name, resourceInputs, opts, false /*dependency*/, utilities.getPackage());
84
+ }
85
+ }
86
+ exports.PersonalNameserver = PersonalNameserver;
87
+ //# sourceMappingURL=personalNameserver.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"personalNameserver.js","sourceRoot":"","sources":["../personalNameserver.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IACzD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA+B,EAAE,IAAmC;QAC7H,OAAO,IAAI,kBAAkB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACzE,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,uDAAuD,CAAC;IAE9F;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,kBAAkB,CAAC,YAAY,CAAC;IACnE,CAAC;IAwBD,YAAY,IAAY,EAAE,WAA8D,EAAE,IAAmC;QACzH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAkD,CAAC;YACjE,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,EAAE,MAAM,CAAC;YACzC,cAAc,CAAC,IAAI,CAAC,GAAG,KAAK,EAAE,EAAE,CAAC;YACjC,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,EAAE,UAAU,CAAC;YACjD,cAAc,CAAC,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