@rocket.chat/rest-typings 7.10.0 → 7.11.0-rc.1

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/dist/v1/dns.d.ts DELETED
@@ -1,22 +0,0 @@
1
- type DnsResolveTxtProps = {
2
- url: string;
3
- };
4
- export declare const isDnsResolveTxtProps: import("ajv").ValidateFunction<DnsResolveTxtProps>;
5
- type DnsResolveSrvProps = {
6
- url: string;
7
- };
8
- export declare const isDnsResolveSrvProps: import("ajv").ValidateFunction<DnsResolveSrvProps>;
9
- export type DnsEndpoints = {
10
- '/v1/dns.resolve.srv': {
11
- GET: (params: DnsResolveSrvProps) => {
12
- resolved: Record<string, string | number>;
13
- };
14
- };
15
- '/v1/dns.resolve.txt': {
16
- POST: (params: DnsResolveTxtProps) => {
17
- resolved: string;
18
- };
19
- };
20
- };
21
- export {};
22
- //# sourceMappingURL=dns.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dns.d.ts","sourceRoot":"","sources":["../../src/v1/dns.ts"],"names":[],"mappings":"AAMA,KAAK,kBAAkB,GAAG;IACzB,GAAG,EAAE,MAAM,CAAC;CACZ,CAAC;AAaF,eAAO,MAAM,oBAAoB,oDAA4D,CAAC;AAE9F,KAAK,kBAAkB,GAAG;IACzB,GAAG,EAAE,MAAM,CAAC;CACZ,CAAC;AAaF,eAAO,MAAM,oBAAoB,oDAAuD,CAAC;AAEzF,MAAM,MAAM,YAAY,GAAG;IAC1B,qBAAqB,EAAE;QACtB,GAAG,EAAE,CAAC,MAAM,EAAE,kBAAkB,KAAK;YACpC,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,CAAC;SAC1C,CAAC;KACF,CAAC;IACF,qBAAqB,EAAE;QACtB,IAAI,EAAE,CAAC,MAAM,EAAE,kBAAkB,KAAK;YACrC,QAAQ,EAAE,MAAM,CAAC;SAEjB,CAAC;KACF,CAAC;CACF,CAAC"}
package/dist/v1/dns.js DELETED
@@ -1,27 +0,0 @@
1
- import Ajv from 'ajv';
2
- const ajv = new Ajv({
3
- coerceTypes: true,
4
- });
5
- const dnsResolveTxtPropsSchema = {
6
- type: 'object',
7
- properties: {
8
- url: {
9
- type: 'string',
10
- },
11
- },
12
- required: ['url'],
13
- additionalProperties: false,
14
- };
15
- export const isDnsResolveTxtProps = ajv.compile(dnsResolveTxtPropsSchema);
16
- const DnsResolveSrvSchema = {
17
- type: 'object',
18
- properties: {
19
- url: {
20
- type: 'string',
21
- },
22
- },
23
- required: ['url'],
24
- additionalProperties: false,
25
- };
26
- export const isDnsResolveSrvProps = ajv.compile(DnsResolveSrvSchema);
27
- //# sourceMappingURL=dns.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dns.js","sourceRoot":"","sources":["../../src/v1/dns.ts"],"names":[],"mappings":"AAAA,OAAO,GAAG,MAAM,KAAK,CAAC;AAEtB,MAAM,GAAG,GAAG,IAAI,GAAG,CAAC;IACnB,WAAW,EAAE,IAAI;CACjB,CAAC,CAAC;AAMH,MAAM,wBAAwB,GAAG;IAChC,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACX,GAAG,EAAE;YACJ,IAAI,EAAE,QAAQ;SACd;KACD;IACD,QAAQ,EAAE,CAAC,KAAK,CAAC;IACjB,oBAAoB,EAAE,KAAK;CAC3B,CAAC;AAEF,MAAM,CAAC,MAAM,oBAAoB,GAAG,GAAG,CAAC,OAAO,CAAqB,wBAAwB,CAAC,CAAC;AAM9F,MAAM,mBAAmB,GAAG;IAC3B,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACX,GAAG,EAAE;YACJ,IAAI,EAAE,QAAQ;SACd;KACD;IACD,QAAQ,EAAE,CAAC,KAAK,CAAC;IACjB,oBAAoB,EAAE,KAAK;CAC3B,CAAC;AAEF,MAAM,CAAC,MAAM,oBAAoB,GAAG,GAAG,CAAC,OAAO,CAAqB,mBAAmB,CAAC,CAAC"}