@pulumi/ns1 2.4.0-alpha.1673556208 → 2.4.0
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.
- package/apikey.d.ts +36 -4
- package/apikey.js +15 -0
- package/apikey.js.map +1 -1
- package/application.d.ts +8 -24
- package/application.js +0 -17
- package/application.js.map +1 -1
- package/config/vars.d.ts +21 -1
- package/config/vars.js +12 -0
- package/config/vars.js.map +1 -1
- package/dataFeed.d.ts +6 -0
- package/dataFeed.js +6 -0
- package/dataFeed.js.map +1 -1
- package/dataSource.d.ts +7 -3
- package/dataSource.js +7 -3
- package/dataSource.js.map +1 -1
- package/dnsview.d.ts +58 -0
- package/dnsview.js +63 -0
- package/dnsview.js.map +1 -0
- package/getDNSSec.d.ts +24 -5
- package/getDNSSec.js +25 -9
- package/getDNSSec.js.map +1 -1
- package/getRecord.d.ts +22 -4
- package/getRecord.js +22 -8
- package/getRecord.js.map +1 -1
- package/getZone.d.ts +25 -4
- package/getZone.js +22 -8
- package/getZone.js.map +1 -1
- package/index.d.ts +54 -17
- package/index.js +57 -62
- package/index.js.map +1 -1
- package/monitoringJob.d.ts +13 -8
- package/monitoringJob.js +8 -4
- package/monitoringJob.js.map +1 -1
- package/notifyList.d.ts +20 -15
- package/notifyList.js +18 -14
- package/notifyList.js.map +1 -1
- package/package.json +4 -3
- package/package.json.bak +2 -1
- package/package.json.dev +4 -3
- package/provider.d.ts +29 -2
- package/provider.js +2 -0
- package/provider.js.map +1 -1
- package/pulsarJob.d.ts +2 -1
- package/pulsarJob.js.map +1 -1
- package/record.d.ts +2 -1
- package/record.js.map +1 -1
- package/team.d.ts +23 -6
- package/team.js +0 -2
- package/team.js.map +1 -1
- package/types/index.js.map +1 -1
- package/types/input.d.ts +4 -4
- package/types/output.d.ts +5 -5
- package/user.d.ts +5 -4
- package/user.js.map +1 -1
- package/utilities.js +13 -1
- package/utilities.js.map +1 -1
- package/zone.d.ts +17 -10
- package/zone.js +4 -0
- package/zone.js.map +1 -1
package/apikey.d.ts
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
import
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* ## Import
|
|
6
|
+
*
|
|
7
|
+
* ```sh
|
|
8
|
+
* $ pulumi import ns1:index/aPIKey:APIKey `ns1_apikey`
|
|
9
|
+
* ```
|
|
10
|
+
*
|
|
11
|
+
* So for the example above
|
|
12
|
+
*
|
|
13
|
+
* ```sh
|
|
14
|
+
* $ pulumi import ns1:index/aPIKey:APIKey example <ID>`
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
3
17
|
export declare class APIKey extends pulumi.CustomResource {
|
|
4
18
|
/**
|
|
5
19
|
* Get an existing APIKey resource's state with the given name, ID, and optional extra
|
|
@@ -33,7 +47,7 @@ export declare class APIKey extends pulumi.CustomResource {
|
|
|
33
47
|
*/
|
|
34
48
|
readonly accountManagePaymentMethods: pulumi.Output<boolean | undefined>;
|
|
35
49
|
/**
|
|
36
|
-
*
|
|
50
|
+
* No longer in use.
|
|
37
51
|
*
|
|
38
52
|
* @deprecated obsolete, should no longer be used
|
|
39
53
|
*/
|
|
@@ -80,7 +94,13 @@ export declare class APIKey extends pulumi.CustomResource {
|
|
|
80
94
|
* Whether the apikey can modify the accounts zones.
|
|
81
95
|
*/
|
|
82
96
|
readonly dnsManageZones: pulumi.Output<boolean | undefined>;
|
|
97
|
+
/**
|
|
98
|
+
* List of records that the apikey may access.
|
|
99
|
+
*/
|
|
83
100
|
readonly dnsRecordsAllows: pulumi.Output<outputs.APIKeyDnsRecordsAllow[] | undefined>;
|
|
101
|
+
/**
|
|
102
|
+
* List of records that the apikey may not access.
|
|
103
|
+
*/
|
|
84
104
|
readonly dnsRecordsDenies: pulumi.Output<outputs.APIKeyDnsRecordsDeny[] | undefined>;
|
|
85
105
|
/**
|
|
86
106
|
* Whether the apikey can view the accounts zones.
|
|
@@ -179,7 +199,7 @@ export interface APIKeyState {
|
|
|
179
199
|
*/
|
|
180
200
|
accountManagePaymentMethods?: pulumi.Input<boolean>;
|
|
181
201
|
/**
|
|
182
|
-
*
|
|
202
|
+
* No longer in use.
|
|
183
203
|
*
|
|
184
204
|
* @deprecated obsolete, should no longer be used
|
|
185
205
|
*/
|
|
@@ -226,7 +246,13 @@ export interface APIKeyState {
|
|
|
226
246
|
* Whether the apikey can modify the accounts zones.
|
|
227
247
|
*/
|
|
228
248
|
dnsManageZones?: pulumi.Input<boolean>;
|
|
249
|
+
/**
|
|
250
|
+
* List of records that the apikey may access.
|
|
251
|
+
*/
|
|
229
252
|
dnsRecordsAllows?: pulumi.Input<pulumi.Input<inputs.APIKeyDnsRecordsAllow>[]>;
|
|
253
|
+
/**
|
|
254
|
+
* List of records that the apikey may not access.
|
|
255
|
+
*/
|
|
230
256
|
dnsRecordsDenies?: pulumi.Input<pulumi.Input<inputs.APIKeyDnsRecordsDeny>[]>;
|
|
231
257
|
/**
|
|
232
258
|
* Whether the apikey can view the accounts zones.
|
|
@@ -317,7 +343,7 @@ export interface APIKeyArgs {
|
|
|
317
343
|
*/
|
|
318
344
|
accountManagePaymentMethods?: pulumi.Input<boolean>;
|
|
319
345
|
/**
|
|
320
|
-
*
|
|
346
|
+
* No longer in use.
|
|
321
347
|
*
|
|
322
348
|
* @deprecated obsolete, should no longer be used
|
|
323
349
|
*/
|
|
@@ -364,7 +390,13 @@ export interface APIKeyArgs {
|
|
|
364
390
|
* Whether the apikey can modify the accounts zones.
|
|
365
391
|
*/
|
|
366
392
|
dnsManageZones?: pulumi.Input<boolean>;
|
|
393
|
+
/**
|
|
394
|
+
* List of records that the apikey may access.
|
|
395
|
+
*/
|
|
367
396
|
dnsRecordsAllows?: pulumi.Input<pulumi.Input<inputs.APIKeyDnsRecordsAllow>[]>;
|
|
397
|
+
/**
|
|
398
|
+
* List of records that the apikey may not access.
|
|
399
|
+
*/
|
|
368
400
|
dnsRecordsDenies?: pulumi.Input<pulumi.Input<inputs.APIKeyDnsRecordsDeny>[]>;
|
|
369
401
|
/**
|
|
370
402
|
* Whether the apikey can view the accounts zones.
|
package/apikey.js
CHANGED
|
@@ -5,6 +5,19 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.APIKey = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## Import
|
|
10
|
+
*
|
|
11
|
+
* ```sh
|
|
12
|
+
* $ pulumi import ns1:index/aPIKey:APIKey `ns1_apikey`
|
|
13
|
+
* ```
|
|
14
|
+
*
|
|
15
|
+
* So for the example above
|
|
16
|
+
*
|
|
17
|
+
* ```sh
|
|
18
|
+
* $ pulumi import ns1:index/aPIKey:APIKey example <ID>`
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
8
21
|
class APIKey extends pulumi.CustomResource {
|
|
9
22
|
/**
|
|
10
23
|
* Get an existing APIKey resource's state with the given name, ID, and optional extra
|
|
@@ -104,6 +117,8 @@ class APIKey extends pulumi.CustomResource {
|
|
|
104
117
|
resourceInputs["key"] = undefined /*out*/;
|
|
105
118
|
}
|
|
106
119
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
120
|
+
const secretOpts = { additionalSecretOutputs: ["key"] };
|
|
121
|
+
opts = pulumi.mergeOptions(opts, secretOpts);
|
|
107
122
|
super(APIKey.__pulumiType, name, resourceInputs, opts);
|
|
108
123
|
}
|
|
109
124
|
}
|
package/apikey.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apikey.js","sourceRoot":"","sources":["../apikey.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;
|
|
1
|
+
{"version":3,"file":"apikey.js","sourceRoot":"","sources":["../apikey.ts"],"names":[],"mappings":";AAAA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umi from "@pulumi/pulumi";
|
|
2
|
-
import
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
3
4
|
/**
|
|
4
5
|
* Provides a NS1 Pulsar application resource. This can be used to create, modify, and delete applications.
|
|
5
6
|
*
|
|
6
|
-
* ## Example Usage
|
|
7
|
-
*
|
|
8
|
-
* ```typescript
|
|
9
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
-
* import * as ns1 from "@pulumi/ns1";
|
|
11
|
-
*
|
|
12
|
-
* // Create a new pulsar application with default config
|
|
13
|
-
* const ns1App = new ns1.Application("ns1_app", {
|
|
14
|
-
* defaultConfig: {
|
|
15
|
-
* http: true,
|
|
16
|
-
* https: false,
|
|
17
|
-
* job_timeout_millis: 100,
|
|
18
|
-
* request_timeout_millis: 100,
|
|
19
|
-
* static_values: true,
|
|
20
|
-
* },
|
|
21
|
-
* });
|
|
22
|
-
* ```
|
|
23
7
|
* ## NS1 Documentation
|
|
24
8
|
*
|
|
25
9
|
* [Application Api Docs](https://ns1.com/api#get-list-pulsar-applications)
|
|
@@ -63,12 +47,12 @@ export declare class Application extends pulumi.CustomResource {
|
|
|
63
47
|
*/
|
|
64
48
|
readonly browserWaitMillis: pulumi.Output<number | undefined>;
|
|
65
49
|
/**
|
|
66
|
-
*
|
|
50
|
+
* Default job configuration. If a field is present here and not on a specific job
|
|
67
51
|
* associated with this application, the default value specified here is used..
|
|
68
52
|
*/
|
|
69
53
|
readonly defaultConfig: pulumi.Output<outputs.ApplicationDefaultConfig | undefined>;
|
|
70
54
|
/**
|
|
71
|
-
*
|
|
55
|
+
* Number of jobs to measure per user impression.
|
|
72
56
|
*/
|
|
73
57
|
readonly jobsPerTransaction: pulumi.Output<number | undefined>;
|
|
74
58
|
/**
|
|
@@ -99,12 +83,12 @@ export interface ApplicationState {
|
|
|
99
83
|
*/
|
|
100
84
|
browserWaitMillis?: pulumi.Input<number>;
|
|
101
85
|
/**
|
|
102
|
-
*
|
|
86
|
+
* Default job configuration. If a field is present here and not on a specific job
|
|
103
87
|
* associated with this application, the default value specified here is used..
|
|
104
88
|
*/
|
|
105
89
|
defaultConfig?: pulumi.Input<inputs.ApplicationDefaultConfig>;
|
|
106
90
|
/**
|
|
107
|
-
*
|
|
91
|
+
* Number of jobs to measure per user impression.
|
|
108
92
|
*/
|
|
109
93
|
jobsPerTransaction?: pulumi.Input<number>;
|
|
110
94
|
/**
|
|
@@ -127,12 +111,12 @@ export interface ApplicationArgs {
|
|
|
127
111
|
*/
|
|
128
112
|
browserWaitMillis?: pulumi.Input<number>;
|
|
129
113
|
/**
|
|
130
|
-
*
|
|
114
|
+
* Default job configuration. If a field is present here and not on a specific job
|
|
131
115
|
* associated with this application, the default value specified here is used..
|
|
132
116
|
*/
|
|
133
117
|
defaultConfig?: pulumi.Input<inputs.ApplicationDefaultConfig>;
|
|
134
118
|
/**
|
|
135
|
-
*
|
|
119
|
+
* Number of jobs to measure per user impression.
|
|
136
120
|
*/
|
|
137
121
|
jobsPerTransaction?: pulumi.Input<number>;
|
|
138
122
|
/**
|
package/application.js
CHANGED
|
@@ -8,23 +8,6 @@ const utilities = require("./utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* Provides a NS1 Pulsar application resource. This can be used to create, modify, and delete applications.
|
|
10
10
|
*
|
|
11
|
-
* ## Example Usage
|
|
12
|
-
*
|
|
13
|
-
* ```typescript
|
|
14
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
-
* import * as ns1 from "@pulumi/ns1";
|
|
16
|
-
*
|
|
17
|
-
* // Create a new pulsar application with default config
|
|
18
|
-
* const ns1App = new ns1.Application("ns1_app", {
|
|
19
|
-
* defaultConfig: {
|
|
20
|
-
* http: true,
|
|
21
|
-
* https: false,
|
|
22
|
-
* job_timeout_millis: 100,
|
|
23
|
-
* request_timeout_millis: 100,
|
|
24
|
-
* static_values: true,
|
|
25
|
-
* },
|
|
26
|
-
* });
|
|
27
|
-
* ```
|
|
28
11
|
* ## NS1 Documentation
|
|
29
12
|
*
|
|
30
13
|
* [Application Api Docs](https://ns1.com/api#get-list-pulsar-applications)
|
package/application.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"application.js","sourceRoot":"","sources":["../application.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;
|
|
1
|
+
{"version":3,"file":"application.js","sourceRoot":"","sources":["../application.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAClE,CAAC;IAKD;;;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,WAAW,CAAC,YAAY,CAAC;IAC5D,CAAC;IAkCD,YAAY,IAAY,EAAE,WAAgD,EAAE,IAAmC;QAC3G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA2C,CAAC;YAC1D,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,mBAAmB,CAAC,GAAG,KAAK,CAAC,CAAC,CA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mCAAmC,CAAC"}
|
package/config/vars.d.ts
CHANGED
|
@@ -1,8 +1,28 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* The ns1 API key
|
|
2
|
+
* The ns1 API key (required)
|
|
3
3
|
*/
|
|
4
4
|
export declare const apikey: string | undefined;
|
|
5
|
+
/**
|
|
6
|
+
* Deprecated, no longer in use
|
|
7
|
+
*/
|
|
5
8
|
export declare const enableDdi: boolean | undefined;
|
|
9
|
+
/**
|
|
10
|
+
* URL prefix (including version) for API calls
|
|
11
|
+
*/
|
|
6
12
|
export declare const endpoint: string | undefined;
|
|
13
|
+
/**
|
|
14
|
+
* Don't validate server SSL/TLS certificate
|
|
15
|
+
*/
|
|
7
16
|
export declare const ignoreSsl: boolean | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* Tune response to rate limits, see docs
|
|
19
|
+
*/
|
|
8
20
|
export declare const rateLimitParallelism: number | undefined;
|
|
21
|
+
/**
|
|
22
|
+
* Maximum retries for 50x errors (-1 to disable)
|
|
23
|
+
*/
|
|
24
|
+
export declare const retryMax: number | undefined;
|
|
25
|
+
/**
|
|
26
|
+
* User-Agent string to use in NS1 API requests
|
|
27
|
+
*/
|
|
28
|
+
export declare const userAgent: string | undefined;
|
package/config/vars.js
CHANGED
|
@@ -34,4 +34,16 @@ Object.defineProperty(exports, "rateLimitParallelism", {
|
|
|
34
34
|
},
|
|
35
35
|
enumerable: true,
|
|
36
36
|
});
|
|
37
|
+
Object.defineProperty(exports, "retryMax", {
|
|
38
|
+
get() {
|
|
39
|
+
return __config.getObject("retryMax");
|
|
40
|
+
},
|
|
41
|
+
enumerable: true,
|
|
42
|
+
});
|
|
43
|
+
Object.defineProperty(exports, "userAgent", {
|
|
44
|
+
get() {
|
|
45
|
+
return __config.get("userAgent");
|
|
46
|
+
},
|
|
47
|
+
enumerable: true,
|
|
48
|
+
});
|
|
37
49
|
//# sourceMappingURL=vars.js.map
|
package/config/vars.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vars.js","sourceRoot":"","sources":["../../config/vars.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AAIzC,MAAM,QAAQ,GAAG,IAAI,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;AAM1C,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;
|
|
1
|
+
{"version":3,"file":"vars.js","sourceRoot":"","sources":["../../config/vars.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AAIzC,MAAM,QAAQ,GAAG,IAAI,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;AAM1C,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,WAAW,EAAE;IACxC,GAAG;QACC,OAAO,QAAQ,CAAC,SAAS,CAAU,WAAW,CAAC,CAAC;IACpD,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,WAAW,EAAE;IACxC,GAAG;QACC,OAAO,QAAQ,CAAC,SAAS,CAAU,WAAW,CAAC,CAAC;IACpD,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,sBAAsB,EAAE;IACnD,GAAG;QACC,OAAO,QAAQ,CAAC,SAAS,CAAS,sBAAsB,CAAC,CAAC;IAC9D,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,UAAU,EAAE;IACvC,GAAG;QACC,OAAO,QAAQ,CAAC,SAAS,CAAS,UAAU,CAAC,CAAC;IAClD,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,WAAW,EAAE;IACxC,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC;IACrC,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC"}
|
package/dataFeed.d.ts
CHANGED
|
@@ -32,6 +32,12 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
32
32
|
* ## NS1 Documentation
|
|
33
33
|
*
|
|
34
34
|
* [Datafeed Api Doc](https://ns1.com/api#data-feeds)
|
|
35
|
+
*
|
|
36
|
+
* ## Import
|
|
37
|
+
*
|
|
38
|
+
* ```sh
|
|
39
|
+
* $ pulumi import ns1:index/dataFeed:DataFeed <name> <datasource_id>/<datafeed_id>`
|
|
40
|
+
* ```
|
|
35
41
|
*/
|
|
36
42
|
export declare class DataFeed extends pulumi.CustomResource {
|
|
37
43
|
/**
|
package/dataFeed.js
CHANGED
|
@@ -38,6 +38,12 @@ const utilities = require("./utilities");
|
|
|
38
38
|
* ## NS1 Documentation
|
|
39
39
|
*
|
|
40
40
|
* [Datafeed Api Doc](https://ns1.com/api#data-feeds)
|
|
41
|
+
*
|
|
42
|
+
* ## Import
|
|
43
|
+
*
|
|
44
|
+
* ```sh
|
|
45
|
+
* $ pulumi import ns1:index/dataFeed:DataFeed <name> <datasource_id>/<datafeed_id>`
|
|
46
|
+
* ```
|
|
41
47
|
*/
|
|
42
48
|
class DataFeed extends pulumi.CustomResource {
|
|
43
49
|
/**
|
package/dataFeed.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dataFeed.js","sourceRoot":"","sources":["../dataFeed.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"dataFeed.js","sourceRoot":"","sources":["../dataFeed.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAC/C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqB,EAAE,IAAmC;QACnH,OAAO,IAAI,QAAQ,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC/D,CAAC;IAKD;;;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,QAAQ,CAAC,YAAY,CAAC;IACzD,CAAC;IAwBD,YAAY,IAAY,EAAE,WAA0C,EAAE,IAAmC;QACrG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAwC,CAAC;YACvD,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;SACnE;aAAM;YACH,MAAM,IAAI,GAAG,WAAuC,CAAC;YACrD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,QAAQ,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACrD,MAAM,IAAI,KAAK,CAAC,sCAAsC,CAAC,CAAC;aAC3D;YACD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;SACjE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;;AArEL,4BAsEC;AAxDG,gBAAgB;AACO,qBAAY,GAAG,6BAA6B,CAAC"}
|
package/dataSource.d.ts
CHANGED
|
@@ -8,13 +8,17 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
8
8
|
* import * as pulumi from "@pulumi/pulumi";
|
|
9
9
|
* import * as ns1 from "@pulumi/ns1";
|
|
10
10
|
*
|
|
11
|
-
* const example = new ns1.DataSource("example", {
|
|
12
|
-
* sourcetype: "nsone_v1",
|
|
13
|
-
* });
|
|
11
|
+
* const example = new ns1.DataSource("example", {sourcetype: "nsone_v1"});
|
|
14
12
|
* ```
|
|
15
13
|
* ## NS1 Documentation
|
|
16
14
|
*
|
|
17
15
|
* [Datasource Api Doc](https://ns1.com/api#data-sources)
|
|
16
|
+
*
|
|
17
|
+
* ## Import
|
|
18
|
+
*
|
|
19
|
+
* ```sh
|
|
20
|
+
* $ pulumi import ns1:index/dataSource:DataSource <name> <datasource_id>`
|
|
21
|
+
* ```
|
|
18
22
|
*/
|
|
19
23
|
export declare class DataSource extends pulumi.CustomResource {
|
|
20
24
|
/**
|
package/dataSource.js
CHANGED
|
@@ -14,13 +14,17 @@ const utilities = require("./utilities");
|
|
|
14
14
|
* import * as pulumi from "@pulumi/pulumi";
|
|
15
15
|
* import * as ns1 from "@pulumi/ns1";
|
|
16
16
|
*
|
|
17
|
-
* const example = new ns1.DataSource("example", {
|
|
18
|
-
* sourcetype: "nsone_v1",
|
|
19
|
-
* });
|
|
17
|
+
* const example = new ns1.DataSource("example", {sourcetype: "nsone_v1"});
|
|
20
18
|
* ```
|
|
21
19
|
* ## NS1 Documentation
|
|
22
20
|
*
|
|
23
21
|
* [Datasource Api Doc](https://ns1.com/api#data-sources)
|
|
22
|
+
*
|
|
23
|
+
* ## Import
|
|
24
|
+
*
|
|
25
|
+
* ```sh
|
|
26
|
+
* $ pulumi import ns1:index/dataSource:DataSource <name> <datasource_id>`
|
|
27
|
+
* ```
|
|
24
28
|
*/
|
|
25
29
|
class DataSource extends pulumi.CustomResource {
|
|
26
30
|
/**
|
package/dataSource.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dataSource.js","sourceRoot":"","sources":["../dataSource.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"dataSource.js","sourceRoot":"","sources":["../dataSource.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I,CAAC,IAAI,CAAC,GAAG,EAAE;gBACvD,MAAM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAC;aAC7D;YACD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;SACrE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,UAAU,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;;AArEL,gCAsEC;AAxDG,gBAAgB;AACO,uBAAY,GAAG,iCAAiC,CAAC"}
|
package/dnsview.d.ts
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
export declare class Dnsview extends pulumi.CustomResource {
|
|
3
|
+
/**
|
|
4
|
+
* Get an existing Dnsview 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?: DnsviewState, opts?: pulumi.CustomResourceOptions): Dnsview;
|
|
13
|
+
/**
|
|
14
|
+
* Returns true if the given object is an instance of Dnsview. 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 Dnsview;
|
|
18
|
+
readonly createdAt: pulumi.Output<number>;
|
|
19
|
+
readonly name: pulumi.Output<string>;
|
|
20
|
+
readonly networks: pulumi.Output<number[] | undefined>;
|
|
21
|
+
readonly preference: pulumi.Output<number>;
|
|
22
|
+
readonly readAcls: pulumi.Output<string[] | undefined>;
|
|
23
|
+
readonly updateAcls: pulumi.Output<string[] | undefined>;
|
|
24
|
+
readonly updatedAt: pulumi.Output<number>;
|
|
25
|
+
readonly zones: pulumi.Output<string[] | undefined>;
|
|
26
|
+
/**
|
|
27
|
+
* Create a Dnsview resource with the given unique name, arguments, and options.
|
|
28
|
+
*
|
|
29
|
+
* @param name The _unique_ name of the resource.
|
|
30
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
31
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
32
|
+
*/
|
|
33
|
+
constructor(name: string, args?: DnsviewArgs, opts?: pulumi.CustomResourceOptions);
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Input properties used for looking up and filtering Dnsview resources.
|
|
37
|
+
*/
|
|
38
|
+
export interface DnsviewState {
|
|
39
|
+
createdAt?: pulumi.Input<number>;
|
|
40
|
+
name?: pulumi.Input<string>;
|
|
41
|
+
networks?: pulumi.Input<pulumi.Input<number>[]>;
|
|
42
|
+
preference?: pulumi.Input<number>;
|
|
43
|
+
readAcls?: pulumi.Input<pulumi.Input<string>[]>;
|
|
44
|
+
updateAcls?: pulumi.Input<pulumi.Input<string>[]>;
|
|
45
|
+
updatedAt?: pulumi.Input<number>;
|
|
46
|
+
zones?: pulumi.Input<pulumi.Input<string>[]>;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* The set of arguments for constructing a Dnsview resource.
|
|
50
|
+
*/
|
|
51
|
+
export interface DnsviewArgs {
|
|
52
|
+
name?: pulumi.Input<string>;
|
|
53
|
+
networks?: pulumi.Input<pulumi.Input<number>[]>;
|
|
54
|
+
preference?: pulumi.Input<number>;
|
|
55
|
+
readAcls?: pulumi.Input<pulumi.Input<string>[]>;
|
|
56
|
+
updateAcls?: pulumi.Input<pulumi.Input<string>[]>;
|
|
57
|
+
zones?: pulumi.Input<pulumi.Input<string>[]>;
|
|
58
|
+
}
|
package/dnsview.js
ADDED
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
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.Dnsview = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
class Dnsview extends pulumi.CustomResource {
|
|
9
|
+
/**
|
|
10
|
+
* Get an existing Dnsview 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 Dnsview(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Returns true if the given object is an instance of Dnsview. 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'] === Dnsview.__pulumiType;
|
|
30
|
+
}
|
|
31
|
+
constructor(name, argsOrState, opts) {
|
|
32
|
+
let resourceInputs = {};
|
|
33
|
+
opts = opts || {};
|
|
34
|
+
if (opts.id) {
|
|
35
|
+
const state = argsOrState;
|
|
36
|
+
resourceInputs["createdAt"] = state ? state.createdAt : undefined;
|
|
37
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
38
|
+
resourceInputs["networks"] = state ? state.networks : undefined;
|
|
39
|
+
resourceInputs["preference"] = state ? state.preference : undefined;
|
|
40
|
+
resourceInputs["readAcls"] = state ? state.readAcls : undefined;
|
|
41
|
+
resourceInputs["updateAcls"] = state ? state.updateAcls : undefined;
|
|
42
|
+
resourceInputs["updatedAt"] = state ? state.updatedAt : undefined;
|
|
43
|
+
resourceInputs["zones"] = state ? state.zones : undefined;
|
|
44
|
+
}
|
|
45
|
+
else {
|
|
46
|
+
const args = argsOrState;
|
|
47
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
48
|
+
resourceInputs["networks"] = args ? args.networks : undefined;
|
|
49
|
+
resourceInputs["preference"] = args ? args.preference : undefined;
|
|
50
|
+
resourceInputs["readAcls"] = args ? args.readAcls : undefined;
|
|
51
|
+
resourceInputs["updateAcls"] = args ? args.updateAcls : undefined;
|
|
52
|
+
resourceInputs["zones"] = args ? args.zones : undefined;
|
|
53
|
+
resourceInputs["createdAt"] = undefined /*out*/;
|
|
54
|
+
resourceInputs["updatedAt"] = undefined /*out*/;
|
|
55
|
+
}
|
|
56
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
57
|
+
super(Dnsview.__pulumiType, name, resourceInputs, opts);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
exports.Dnsview = Dnsview;
|
|
61
|
+
/** @internal */
|
|
62
|
+
Dnsview.__pulumiType = 'ns1:index/dnsview:Dnsview';
|
|
63
|
+
//# sourceMappingURL=dnsview.js.map
|
package/dnsview.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dnsview.js","sourceRoot":"","sources":["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,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AAvEL,0BAwEC;AA1DG,gBAAgB;AACO,oBAAY,GAAG,2BAA2B,CAAC"}
|
package/getDNSSec.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
import
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
3
|
/**
|
|
4
4
|
* Provides DNSSEC details about a NS1 Zone.
|
|
5
5
|
*
|
|
@@ -10,13 +10,13 @@ import { output as outputs } from "./types";
|
|
|
10
10
|
* import * as ns1 from "@pulumi/ns1";
|
|
11
11
|
*
|
|
12
12
|
* // Get DNSSEC details about a NS1 Zone.
|
|
13
|
-
* const exampleZone = new ns1.Zone("
|
|
13
|
+
* const exampleZone = new ns1.Zone("exampleZone", {
|
|
14
14
|
* dnssec: true,
|
|
15
15
|
* zone: "terraform.example.io",
|
|
16
16
|
* });
|
|
17
|
-
* const exampleDNSSec =
|
|
18
|
-
* zone: zone,
|
|
19
|
-
* })
|
|
17
|
+
* const exampleDNSSec = ns1.getDNSSecOutput({
|
|
18
|
+
* zone: exampleZone.zone,
|
|
19
|
+
* });
|
|
20
20
|
* ```
|
|
21
21
|
*/
|
|
22
22
|
export declare function getDNSSec(args: GetDNSSecArgs, opts?: pulumi.InvokeOptions): Promise<GetDNSSecResult>;
|
|
@@ -48,6 +48,25 @@ export interface GetDNSSecResult {
|
|
|
48
48
|
readonly keys: outputs.GetDNSSecKeys;
|
|
49
49
|
readonly zone: string;
|
|
50
50
|
}
|
|
51
|
+
/**
|
|
52
|
+
* Provides DNSSEC details about a NS1 Zone.
|
|
53
|
+
*
|
|
54
|
+
* ## Example Usage
|
|
55
|
+
*
|
|
56
|
+
* ```typescript
|
|
57
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
58
|
+
* import * as ns1 from "@pulumi/ns1";
|
|
59
|
+
*
|
|
60
|
+
* // Get DNSSEC details about a NS1 Zone.
|
|
61
|
+
* const exampleZone = new ns1.Zone("exampleZone", {
|
|
62
|
+
* dnssec: true,
|
|
63
|
+
* zone: "terraform.example.io",
|
|
64
|
+
* });
|
|
65
|
+
* const exampleDNSSec = ns1.getDNSSecOutput({
|
|
66
|
+
* zone: exampleZone.zone,
|
|
67
|
+
* });
|
|
68
|
+
* ```
|
|
69
|
+
*/
|
|
51
70
|
export declare function getDNSSecOutput(args: GetDNSSecOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetDNSSecResult>;
|
|
52
71
|
/**
|
|
53
72
|
* A collection of arguments for invoking getDNSSec.
|
package/getDNSSec.js
CHANGED
|
@@ -15,27 +15,43 @@ const utilities = require("./utilities");
|
|
|
15
15
|
* import * as ns1 from "@pulumi/ns1";
|
|
16
16
|
*
|
|
17
17
|
* // Get DNSSEC details about a NS1 Zone.
|
|
18
|
-
* const exampleZone = new ns1.Zone("
|
|
18
|
+
* const exampleZone = new ns1.Zone("exampleZone", {
|
|
19
19
|
* dnssec: true,
|
|
20
20
|
* zone: "terraform.example.io",
|
|
21
21
|
* });
|
|
22
|
-
* const exampleDNSSec =
|
|
23
|
-
* zone: zone,
|
|
24
|
-
* })
|
|
22
|
+
* const exampleDNSSec = ns1.getDNSSecOutput({
|
|
23
|
+
* zone: exampleZone.zone,
|
|
24
|
+
* });
|
|
25
25
|
* ```
|
|
26
26
|
*/
|
|
27
27
|
function getDNSSec(args, opts) {
|
|
28
|
-
|
|
29
|
-
opts = {};
|
|
30
|
-
}
|
|
31
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
28
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
32
29
|
return pulumi.runtime.invoke("ns1:index/getDNSSec:getDNSSec", {
|
|
33
30
|
"zone": args.zone,
|
|
34
31
|
}, opts);
|
|
35
32
|
}
|
|
36
33
|
exports.getDNSSec = getDNSSec;
|
|
34
|
+
/**
|
|
35
|
+
* Provides DNSSEC details about a NS1 Zone.
|
|
36
|
+
*
|
|
37
|
+
* ## Example Usage
|
|
38
|
+
*
|
|
39
|
+
* ```typescript
|
|
40
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
41
|
+
* import * as ns1 from "@pulumi/ns1";
|
|
42
|
+
*
|
|
43
|
+
* // Get DNSSEC details about a NS1 Zone.
|
|
44
|
+
* const exampleZone = new ns1.Zone("exampleZone", {
|
|
45
|
+
* dnssec: true,
|
|
46
|
+
* zone: "terraform.example.io",
|
|
47
|
+
* });
|
|
48
|
+
* const exampleDNSSec = ns1.getDNSSecOutput({
|
|
49
|
+
* zone: exampleZone.zone,
|
|
50
|
+
* });
|
|
51
|
+
* ```
|
|
52
|
+
*/
|
|
37
53
|
function getDNSSecOutput(args, opts) {
|
|
38
|
-
return pulumi.output(args).apply(a => getDNSSec(a, opts));
|
|
54
|
+
return pulumi.output(args).apply((a) => getDNSSec(a, opts));
|
|
39
55
|
}
|
|
40
56
|
exports.getDNSSecOutput = getDNSSecOutput;
|
|
41
57
|
//# sourceMappingURL=getDNSSec.js.map
|
package/getDNSSec.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getDNSSec.js","sourceRoot":"","sources":["../getDNSSec.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;
|
|
1
|
+
{"version":3,"file":"getDNSSec.js","sourceRoot":"","sources":["../getDNSSec.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,SAAS,CAAC,IAAmB,EAAE,IAA2B;IAEtE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,+BAA+B,EAAE;QAC1D,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,8BAMC;AA+BD;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAClF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,SAAS,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACpE,CAAC;AAFD,0CAEC"}
|