pulumi-namecheap 2.2.6 → 2.2.7

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.
@@ -1,8 +1 @@
1
- import { apiKey, apiUser, clientIp, useSandbox, userName } from "./vars.js";
2
-
3
- //#region config/index.d.ts
4
- declare namespace index_d_exports {
5
- export { apiKey, apiUser, clientIp, useSandbox, userName };
6
- }
7
- //#endregion
8
- export { index_d_exports };
1
+ export * from "./vars";
@@ -1,9 +1,21 @@
1
- import { __reExport, __toESM } from "../_virtual/rolldown_runtime.js";
2
- import { require_vars } from "./vars.js";
3
-
4
- //#region config/index.ts
5
- var config_exports = {};
6
- __reExport(config_exports, /* @__PURE__ */ __toESM(require_vars(), 1));
7
-
8
- //#endregion
9
- export { config_exports };
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 __exportStar = (this && this.__exportStar) || function(m, exports) {
16
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
17
+ };
18
+ Object.defineProperty(exports, "__esModule", { value: true });
19
+ // Export members:
20
+ __exportStar(require("./vars"), exports);
21
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../config/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;AAEjF,kBAAkB;AAClB,yCAAuB"}
@@ -1,23 +1,20 @@
1
- //#region config/vars.d.ts
2
1
  /**
3
2
  * The namecheap API key
4
3
  */
5
- declare const apiKey: string | undefined;
4
+ export declare const apiKey: string | undefined;
6
5
  /**
7
6
  * A registered api user for namecheap
8
7
  */
9
- declare const apiUser: string | undefined;
8
+ export declare const apiUser: string | undefined;
10
9
  /**
11
10
  * Client IP address
12
11
  */
13
- declare const clientIp: string | undefined;
12
+ export declare const clientIp: string | undefined;
14
13
  /**
15
14
  * Use sandbox API endpoints
16
15
  */
17
- declare const useSandbox: boolean | undefined;
16
+ export declare const useSandbox: boolean | undefined;
18
17
  /**
19
18
  * A registered user name for namecheap
20
19
  */
21
- declare const userName: string | undefined;
22
- //#endregion
23
- export { apiKey, apiUser, clientIp, useSandbox, userName };
20
+ export declare const userName: string | undefined;
@@ -1,42 +1,37 @@
1
- import { __commonJS } from "../_virtual/rolldown_runtime.js";
2
- import * as pulumi from "@pulumi/pulumi";
3
-
4
- //#region config/vars.ts
5
- var require_vars = /* @__PURE__ */ __commonJS({ "config/vars.ts": ((exports) => {
6
- const __config = new pulumi.Config("namecheap");
7
- Object.defineProperty(exports, "apiKey", {
8
- get() {
9
- return __config.get("apiKey");
10
- },
11
- enumerable: true
12
- });
13
- Object.defineProperty(exports, "apiUser", {
14
- get() {
15
- return __config.get("apiUser");
16
- },
17
- enumerable: true
18
- });
19
- Object.defineProperty(exports, "clientIp", {
20
- get() {
21
- return __config.get("clientIp");
22
- },
23
- enumerable: true
24
- });
25
- Object.defineProperty(exports, "useSandbox", {
26
- get() {
27
- return __config.getObject("useSandbox");
28
- },
29
- enumerable: true
30
- });
31
- Object.defineProperty(exports, "userName", {
32
- get() {
33
- return __config.get("userName");
34
- },
35
- enumerable: true
36
- });
37
- }) });
38
-
39
- //#endregion
40
- export default require_vars();
41
-
42
- export { require_vars };
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
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ const pulumi = require("@pulumi/pulumi");
6
+ const __config = new pulumi.Config("namecheap");
7
+ Object.defineProperty(exports, "apiKey", {
8
+ get() {
9
+ return __config.get("apiKey");
10
+ },
11
+ enumerable: true,
12
+ });
13
+ Object.defineProperty(exports, "apiUser", {
14
+ get() {
15
+ return __config.get("apiUser");
16
+ },
17
+ enumerable: true,
18
+ });
19
+ Object.defineProperty(exports, "clientIp", {
20
+ get() {
21
+ return __config.get("clientIp");
22
+ },
23
+ enumerable: true,
24
+ });
25
+ Object.defineProperty(exports, "useSandbox", {
26
+ get() {
27
+ return __config.getObject("useSandbox");
28
+ },
29
+ enumerable: true,
30
+ });
31
+ Object.defineProperty(exports, "userName", {
32
+ get() {
33
+ return __config.get("userName");
34
+ },
35
+ enumerable: true,
36
+ });
37
+ //# sourceMappingURL=vars.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vars.js","sourceRoot":"","sources":["../../config/vars.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;AAEjF,yCAAyC;AAIzC,MAAM,QAAQ,GAAG,IAAI,MAAM,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC;AAMhD,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,QAAQ,EAAE;IACrC,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;IAClC,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,SAAS,EAAE;IACtC,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IACnC,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,UAAU,EAAE;IACvC,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC;IACpC,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,YAAY,EAAE;IACzC,GAAG;QACC,OAAO,QAAQ,CAAC,SAAS,CAAU,YAAY,CAAC,CAAC;IACrD,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,UAAU,EAAE;IACvC,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC;IACpC,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC"}
@@ -1,89 +1,83 @@
1
- import { DomainRecordsRecord } from "./types/input.js";
2
- import { DomainRecordsRecord as DomainRecordsRecord$1 } from "./types/output.js";
3
1
  import * as pulumi from "@pulumi/pulumi";
4
-
5
- //#region domainRecords.d.ts
6
- declare class DomainRecords extends pulumi.CustomResource {
7
- /**
8
- * Get an existing DomainRecords resource's state with the given name, ID, and optional extra
9
- * properties used to qualify the lookup.
10
- *
11
- * @param name The _unique_ name of the resulting resource.
12
- * @param id The _unique_ provider ID of the resource to lookup.
13
- * @param state Any extra arguments used during the lookup.
14
- * @param opts Optional settings to control the behavior of the CustomResource.
15
- */
16
- static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DomainRecordsState, opts?: pulumi.CustomResourceOptions): DomainRecords;
17
- /** @internal */
18
- static readonly __pulumiType: string;
19
- /**
20
- * Returns true if the given object is an instance of DomainRecords. This is designed to work even
21
- * when multiple copies of the Pulumi SDK have been loaded into the same process.
22
- */
23
- static isInstance(obj: any): obj is DomainRecords;
24
- /**
25
- * Purchased available domain name on your account
26
- */
27
- readonly domain!: pulumi.Output<string>;
28
- readonly domainRecordsId!: pulumi.Output<string>;
29
- /**
30
- * Possible values: NONE, MXE, MX, FWD, OX, GMAIL
31
- */
32
- readonly emailType!: pulumi.Output<string | undefined>;
33
- /**
34
- * Possible values: MERGE (default), OVERWRITE
35
- */
36
- readonly mode!: pulumi.Output<string | undefined>;
37
- readonly nameservers!: pulumi.Output<string[] | undefined>;
38
- readonly records!: pulumi.Output<DomainRecordsRecord$1[] | undefined>;
39
- /**
40
- * Create a DomainRecords resource with the given unique name, arguments, and options.
41
- *
42
- * @param name The _unique_ name of the resource.
43
- * @param args The arguments to use to populate this resource's properties.
44
- * @param opts A bag of options that control this resource's behavior.
45
- */
46
- constructor(name: string, args: DomainRecordsArgs, opts?: pulumi.CustomResourceOptions);
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ export declare class DomainRecords extends pulumi.CustomResource {
5
+ /**
6
+ * Get an existing DomainRecords resource's state with the given name, ID, and optional extra
7
+ * properties used to qualify the lookup.
8
+ *
9
+ * @param name The _unique_ name of the resulting resource.
10
+ * @param id The _unique_ provider ID of the resource to lookup.
11
+ * @param state Any extra arguments used during the lookup.
12
+ * @param opts Optional settings to control the behavior of the CustomResource.
13
+ */
14
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DomainRecordsState, opts?: pulumi.CustomResourceOptions): DomainRecords;
15
+ /**
16
+ * Returns true if the given object is an instance of DomainRecords. This is designed to work even
17
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
18
+ */
19
+ static isInstance(obj: any): obj is DomainRecords;
20
+ /**
21
+ * Purchased available domain name on your account
22
+ */
23
+ readonly domain: pulumi.Output<string>;
24
+ readonly domainRecordsId: pulumi.Output<string>;
25
+ /**
26
+ * Possible values: NONE, MXE, MX, FWD, OX, GMAIL
27
+ */
28
+ readonly emailType: pulumi.Output<string | undefined>;
29
+ /**
30
+ * Possible values: MERGE (default), OVERWRITE
31
+ */
32
+ readonly mode: pulumi.Output<string | undefined>;
33
+ readonly nameservers: pulumi.Output<string[] | undefined>;
34
+ readonly records: pulumi.Output<outputs.DomainRecordsRecord[] | undefined>;
35
+ /**
36
+ * Create a DomainRecords resource with the given unique name, arguments, and options.
37
+ *
38
+ * @param name The _unique_ name of the resource.
39
+ * @param args The arguments to use to populate this resource's properties.
40
+ * @param opts A bag of options that control this resource's behavior.
41
+ */
42
+ constructor(name: string, args: DomainRecordsArgs, opts?: pulumi.CustomResourceOptions);
47
43
  }
48
44
  /**
49
45
  * Input properties used for looking up and filtering DomainRecords resources.
50
46
  */
51
- interface DomainRecordsState {
52
- /**
53
- * Purchased available domain name on your account
54
- */
55
- domain?: pulumi.Input<string>;
56
- domainRecordsId?: pulumi.Input<string>;
57
- /**
58
- * Possible values: NONE, MXE, MX, FWD, OX, GMAIL
59
- */
60
- emailType?: pulumi.Input<string>;
61
- /**
62
- * Possible values: MERGE (default), OVERWRITE
63
- */
64
- mode?: pulumi.Input<string>;
65
- nameservers?: pulumi.Input<pulumi.Input<string>[]>;
66
- records?: pulumi.Input<pulumi.Input<DomainRecordsRecord>[]>;
47
+ export interface DomainRecordsState {
48
+ /**
49
+ * Purchased available domain name on your account
50
+ */
51
+ domain?: pulumi.Input<string>;
52
+ domainRecordsId?: pulumi.Input<string>;
53
+ /**
54
+ * Possible values: NONE, MXE, MX, FWD, OX, GMAIL
55
+ */
56
+ emailType?: pulumi.Input<string>;
57
+ /**
58
+ * Possible values: MERGE (default), OVERWRITE
59
+ */
60
+ mode?: pulumi.Input<string>;
61
+ nameservers?: pulumi.Input<pulumi.Input<string>[]>;
62
+ records?: pulumi.Input<pulumi.Input<inputs.DomainRecordsRecord>[]>;
67
63
  }
68
64
  /**
69
65
  * The set of arguments for constructing a DomainRecords resource.
70
66
  */
71
- interface DomainRecordsArgs {
72
- /**
73
- * Purchased available domain name on your account
74
- */
75
- domain: pulumi.Input<string>;
76
- domainRecordsId?: pulumi.Input<string>;
77
- /**
78
- * Possible values: NONE, MXE, MX, FWD, OX, GMAIL
79
- */
80
- emailType?: pulumi.Input<string>;
81
- /**
82
- * Possible values: MERGE (default), OVERWRITE
83
- */
84
- mode?: pulumi.Input<string>;
85
- nameservers?: pulumi.Input<pulumi.Input<string>[]>;
86
- records?: pulumi.Input<pulumi.Input<DomainRecordsRecord>[]>;
67
+ export interface DomainRecordsArgs {
68
+ /**
69
+ * Purchased available domain name on your account
70
+ */
71
+ domain: pulumi.Input<string>;
72
+ domainRecordsId?: pulumi.Input<string>;
73
+ /**
74
+ * Possible values: NONE, MXE, MX, FWD, OX, GMAIL
75
+ */
76
+ emailType?: pulumi.Input<string>;
77
+ /**
78
+ * Possible values: MERGE (default), OVERWRITE
79
+ */
80
+ mode?: pulumi.Input<string>;
81
+ nameservers?: pulumi.Input<pulumi.Input<string>[]>;
82
+ records?: pulumi.Input<pulumi.Input<inputs.DomainRecordsRecord>[]>;
87
83
  }
88
- //#endregion
89
- export { DomainRecords, DomainRecordsArgs, DomainRecordsState };
@@ -1,81 +1,62 @@
1
- import { __esm, __export } from "./_virtual/rolldown_runtime.js";
2
- import { getPackage, init_utilities, resourceOptsDefaults } from "./utilities.js";
3
- import * as pulumi from "@pulumi/pulumi";
4
-
5
- //#region domainRecords.ts
6
- var domainRecords_exports = {};
7
- __export(domainRecords_exports, { DomainRecords: () => DomainRecords });
8
- var DomainRecords;
9
- var init_domainRecords = __esm({ "domainRecords.ts": (() => {
10
- init_utilities();
11
- DomainRecords = class DomainRecords extends pulumi.CustomResource {
12
- /**
13
- * Get an existing DomainRecords resource's state with the given name, ID, and optional extra
14
- * properties used to qualify the lookup.
15
- *
16
- * @param name The _unique_ name of the resulting resource.
17
- * @param id The _unique_ provider ID of the resource to lookup.
18
- * @param state Any extra arguments used during the lookup.
19
- * @param opts Optional settings to control the behavior of the CustomResource.
20
- */
21
- static get(name, id, state, opts) {
22
- return new DomainRecords(name, state, {
23
- ...opts,
24
- id
25
- });
26
- }
27
- /** @internal */
28
- static __pulumiType = "namecheap:index/domainRecords:DomainRecords";
29
- /**
30
- * Returns true if the given object is an instance of DomainRecords. This is designed to work even
31
- * when multiple copies of the Pulumi SDK have been loaded into the same process.
32
- */
33
- static isInstance(obj) {
34
- if (obj === void 0 || obj === null) return false;
35
- return obj["__pulumiType"] === DomainRecords.__pulumiType;
36
- }
37
- /**
38
- * Purchased available domain name on your account
39
- */
40
- domain;
41
- domainRecordsId;
42
- /**
43
- * Possible values: NONE, MXE, MX, FWD, OX, GMAIL
44
- */
45
- emailType;
46
- /**
47
- * Possible values: MERGE (default), OVERWRITE
48
- */
49
- mode;
50
- nameservers;
51
- records;
52
- constructor(name, argsOrState, opts) {
53
- let resourceInputs = {};
54
- opts = opts || {};
55
- if (opts.id) {
56
- const state = argsOrState;
57
- resourceInputs["domain"] = state ? state.domain : void 0;
58
- resourceInputs["domainRecordsId"] = state ? state.domainRecordsId : void 0;
59
- resourceInputs["emailType"] = state ? state.emailType : void 0;
60
- resourceInputs["mode"] = state ? state.mode : void 0;
61
- resourceInputs["nameservers"] = state ? state.nameservers : void 0;
62
- resourceInputs["records"] = state ? state.records : void 0;
63
- } else {
64
- const args = argsOrState;
65
- if ((!args || args.domain === void 0) && !opts.urn) throw new Error("Missing required property 'domain'");
66
- resourceInputs["domain"] = args ? args.domain : void 0;
67
- resourceInputs["domainRecordsId"] = args ? args.domainRecordsId : void 0;
68
- resourceInputs["emailType"] = args ? args.emailType : void 0;
69
- resourceInputs["mode"] = args ? args.mode : void 0;
70
- resourceInputs["nameservers"] = args ? args.nameservers : void 0;
71
- resourceInputs["records"] = args ? args.records : void 0;
72
- }
73
- opts = pulumi.mergeOptions(resourceOptsDefaults(), opts);
74
- super(DomainRecords.__pulumiType, name, resourceInputs, opts, false, getPackage());
75
- }
76
- };
77
- }) });
78
-
79
- //#endregion
80
- init_domainRecords();
81
- export { domainRecords_exports, init_domainRecords };
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
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.DomainRecords = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ class DomainRecords extends pulumi.CustomResource {
9
+ /**
10
+ * Get an existing DomainRecords resource's state with the given name, ID, and optional extra
11
+ * properties used to qualify the lookup.
12
+ *
13
+ * @param name The _unique_ name of the resulting resource.
14
+ * @param id The _unique_ provider ID of the resource to lookup.
15
+ * @param state Any extra arguments used during the lookup.
16
+ * @param opts Optional settings to control the behavior of the CustomResource.
17
+ */
18
+ static get(name, id, state, opts) {
19
+ return new DomainRecords(name, state, Object.assign(Object.assign({}, opts), { id: id }));
20
+ }
21
+ /**
22
+ * Returns true if the given object is an instance of DomainRecords. This is designed to work even
23
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
24
+ */
25
+ static isInstance(obj) {
26
+ if (obj === undefined || obj === null) {
27
+ return false;
28
+ }
29
+ return obj['__pulumiType'] === DomainRecords.__pulumiType;
30
+ }
31
+ constructor(name, argsOrState, opts) {
32
+ let resourceInputs = {};
33
+ opts = opts || {};
34
+ if (opts.id) {
35
+ const state = argsOrState;
36
+ resourceInputs["domain"] = state ? state.domain : undefined;
37
+ resourceInputs["domainRecordsId"] = state ? state.domainRecordsId : undefined;
38
+ resourceInputs["emailType"] = state ? state.emailType : undefined;
39
+ resourceInputs["mode"] = state ? state.mode : undefined;
40
+ resourceInputs["nameservers"] = state ? state.nameservers : undefined;
41
+ resourceInputs["records"] = state ? state.records : undefined;
42
+ }
43
+ else {
44
+ const args = argsOrState;
45
+ if ((!args || args.domain === undefined) && !opts.urn) {
46
+ throw new Error("Missing required property 'domain'");
47
+ }
48
+ resourceInputs["domain"] = args ? args.domain : undefined;
49
+ resourceInputs["domainRecordsId"] = args ? args.domainRecordsId : undefined;
50
+ resourceInputs["emailType"] = args ? args.emailType : undefined;
51
+ resourceInputs["mode"] = args ? args.mode : undefined;
52
+ resourceInputs["nameservers"] = args ? args.nameservers : undefined;
53
+ resourceInputs["records"] = args ? args.records : undefined;
54
+ }
55
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
56
+ super(DomainRecords.__pulumiType, name, resourceInputs, opts, false /*dependency*/, utilities.getPackage());
57
+ }
58
+ }
59
+ exports.DomainRecords = DomainRecords;
60
+ /** @internal */
61
+ DomainRecords.__pulumiType = 'namecheap:index/domainRecords:DomainRecords';
62
+ //# sourceMappingURL=domainRecords.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"domainRecords.js","sourceRoot":"","sources":["../domainRecords.ts"],"names":[],"mappings":"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"}
package/bin/index.d.ts CHANGED
@@ -1,14 +1,9 @@
1
- import { DomainRecords, DomainRecordsArgs, DomainRecordsState } from "./domainRecords.js";
2
- import { Provider, ProviderArgs } from "./provider.js";
3
- import { index_d_exports } from "./config/index.js";
4
- import { index_d_exports as index_d_exports$1 } from "./types/index.js";
5
-
6
- //#region index.d.ts
7
- type DomainRecords$1 = DomainRecords;
8
- declare const DomainRecords$1: typeof DomainRecords;
9
- type Provider$1 = Provider;
10
- declare const Provider$1: typeof Provider;
11
- // Export sub-modules:
12
-
13
- //#endregion
14
- export { DomainRecords$1 as DomainRecords, type DomainRecordsArgs, type DomainRecordsState, Provider$1 as Provider, type ProviderArgs, index_d_exports as config, index_d_exports$1 as types };
1
+ export { DomainRecordsArgs, DomainRecordsState } from "./domainRecords";
2
+ export type DomainRecords = import("./domainRecords").DomainRecords;
3
+ 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;
7
+ import * as config from "./config";
8
+ import * as types from "./types";
9
+ export { config, types, };
package/bin/index.js CHANGED
@@ -1,33 +1,38 @@
1
- import { getVersion, init_utilities, lazyLoad } from "./utilities.js";
2
- import { config_exports } from "./config/index.js";
3
- import { types_exports } from "./types/index.js";
4
- import { domainRecords_exports, init_domainRecords } from "./domainRecords.js";
5
- import { init_provider, provider_exports } from "./provider.js";
6
- import * as pulumi from "@pulumi/pulumi";
7
-
8
- //#region index.ts
9
- init_utilities();
10
- const DomainRecords = null;
11
- lazyLoad(exports, ["DomainRecords"], () => init_domainRecords());
12
- const Provider = null;
13
- lazyLoad(exports, ["Provider"], () => init_provider());
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
+ 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");
8
+ exports.DomainRecords = null;
9
+ utilities.lazyLoad(exports, ["DomainRecords"], () => require("./domainRecords"));
10
+ exports.Provider = null;
11
+ utilities.lazyLoad(exports, ["Provider"], () => require("./provider"));
12
+ // Export sub-modules:
13
+ const config = require("./config");
14
+ exports.config = config;
15
+ const types = require("./types");
16
+ exports.types = types;
14
17
  const _module = {
15
- version: getVersion(),
16
- construct: (name, type, urn) => {
17
- switch (type) {
18
- case "namecheap:index/domainRecords:DomainRecords": return new DomainRecords(name, void 0, { urn });
19
- default: throw new Error(`unknown resource type ${type}`);
20
- }
21
- }
18
+ version: utilities.getVersion(),
19
+ construct: (name, type, urn) => {
20
+ switch (type) {
21
+ case "namecheap:index/domainRecords:DomainRecords":
22
+ return new exports.DomainRecords(name, undefined, { urn });
23
+ default:
24
+ throw new Error(`unknown resource type ${type}`);
25
+ }
26
+ },
22
27
  };
23
28
  pulumi.runtime.registerResourceModule("namecheap", "index/domainRecords", _module);
24
29
  pulumi.runtime.registerResourcePackage("namecheap", {
25
- version: getVersion(),
26
- constructProvider: (name, type, urn) => {
27
- if (type !== "pulumi:providers:namecheap") throw new Error(`unknown provider type ${type}`);
28
- return new Provider(name, void 0, { urn });
29
- }
30
+ version: utilities.getVersion(),
31
+ constructProvider: (name, type, urn) => {
32
+ if (type !== "pulumi:providers:namecheap") {
33
+ throw new Error(`unknown provider type ${type}`);
34
+ }
35
+ return new exports.Provider(name, undefined, { urn });
36
+ },
30
37
  });
31
-
32
- //#endregion
33
- export { DomainRecords, Provider, config_exports as config, types_exports as types };
38
+ //# sourceMappingURL=index.js.map
@@ -0,0 +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,CAAC;YACX,KAAK,6CAA6C;gBAC9C,OAAO,IAAI,qBAAa,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC3D;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;QACzD,CAAC;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,WAAW,EAAE,qBAAqB,EAAE,OAAO,CAAC,CAAA;AAClF,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,CAAC;YACxC,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;QACrD,CAAC;QACD,OAAO,IAAI,gBAAQ,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC;IACvD,CAAC;CACJ,CAAC,CAAC"}
package/bin/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pulumi-namecheap",
3
3
  "description": "A Pulumi provider for managing Namecheap domain records and DNS configuration, dynamically bridged from the Terraform Namecheap provider with support for A, AAAA, CNAME, MX, TXT records and email services.",
4
- "version": "2.2.6",
4
+ "version": "2.2.7",
5
5
  "homepage": "https://github.com/hckhanh/pulumi-any-terraform",
6
6
  "repository": {
7
7
  "type": "git",
@@ -9,7 +9,6 @@
9
9
  "directory": "packages/namecheap"
10
10
  },
11
11
  "private": false,
12
- "type": "module",
13
12
  "main": "./bin/index.js",
14
13
  "module": "./bin/index.js",
15
14
  "types": "./bin/index.d.ts",
@@ -22,9 +21,7 @@
22
21
  },
23
22
  "devDependencies": {
24
23
  "@pulumi/pulumi": "3.188.0",
25
- "@types/node": "22.17.1",
26
- "@typescript/native-preview": "7.0.0-dev.20250810.1",
27
- "tsdown": "0.14.0",
24
+ "@types/node": "24.2.1",
28
25
  "typescript": "5.9.2"
29
26
  },
30
27
  "peerDependencies": {