@routr/sdk 2.11.4 → 2.11.5
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/README.md +2 -2
- package/dist/domains/domains.d.ts +2 -2
- package/dist/domains/domains.js +2 -2
- package/dist/domains/index.d.ts +1 -1
- package/dist/domains/index.js +1 -1
- package/dist/domains/types.d.ts +4 -8
- package/dist/index.d.ts +0 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -619,7 +619,7 @@ Creates a new Domain on Routr.
|
|
|
619
619
|
| request.name | <code>string</code> | Name of the Domain |
|
|
620
620
|
| request.domainUri | <code>string</code> | The FQDN of the Domain |
|
|
621
621
|
| request.accessControlListRef | <code>string</code> | The reference to the AccessControlList for the Domain |
|
|
622
|
-
| request.egressPolicies | <code>Array.<
|
|
622
|
+
| request.egressPolicies | <code>Array.<EgressPolicy></code> | The list of EgressPolicies for the Domain |
|
|
623
623
|
| request.extended | <code>string</code> | Optional extended attributes |
|
|
624
624
|
|
|
625
625
|
**Example**
|
|
@@ -654,7 +654,7 @@ Updates an already existing Domain on Routr.
|
|
|
654
654
|
| request | <code>UpdateDomainRequest</code> | Partial with the fields to update |
|
|
655
655
|
| request.name | <code>string</code> | Name of the Domain |
|
|
656
656
|
| request.accessControlListRef | <code>string</code> | The reference to the AccessControlList for the Domain |
|
|
657
|
-
| request.egressPolicies | <code>Array.<
|
|
657
|
+
| request.egressPolicies | <code>Array.<EgressPolicy></code> | The list of EgressPolicies for the Domain |
|
|
658
658
|
| request.extended | <code>string</code> | Optional extended attributes |
|
|
659
659
|
|
|
660
660
|
**Example**
|
|
@@ -43,7 +43,7 @@ export declare class Domains extends APIClient {
|
|
|
43
43
|
* @param {string} request.name - Name of the Domain
|
|
44
44
|
* @param {string} request.domainUri - The FQDN of the Domain
|
|
45
45
|
* @param {string} request.accessControlListRef - The reference to the AccessControlList for the Domain
|
|
46
|
-
* @param {
|
|
46
|
+
* @param {EgressPolicy[]} request.egressPolicies - The list of EgressPolicies for the Domain
|
|
47
47
|
* @param {string} request.extended - Optional extended attributes
|
|
48
48
|
* @return {Promise<CreateDomainResponse>} The newly created Domain
|
|
49
49
|
* @throws if request is null
|
|
@@ -73,7 +73,7 @@ export declare class Domains extends APIClient {
|
|
|
73
73
|
* @param {UpdateDomainRequest} request - Partial with the fields to update
|
|
74
74
|
* @param {string} request.name - Name of the Domain
|
|
75
75
|
* @param {string} request.accessControlListRef - The reference to the AccessControlList for the Domain
|
|
76
|
-
* @param {
|
|
76
|
+
* @param {EgressPolicy[]} request.egressPolicies - The list of EgressPolicies for the Domain
|
|
77
77
|
* @param {string} request.extended - Optional extended attributes
|
|
78
78
|
* @return {Promise<UpdateDomainResponse>} The updated Domain
|
|
79
79
|
* @example
|
package/dist/domains/domains.js
CHANGED
|
@@ -73,7 +73,7 @@ class Domains extends client_1.APIClient {
|
|
|
73
73
|
* @param {string} request.name - Name of the Domain
|
|
74
74
|
* @param {string} request.domainUri - The FQDN of the Domain
|
|
75
75
|
* @param {string} request.accessControlListRef - The reference to the AccessControlList for the Domain
|
|
76
|
-
* @param {
|
|
76
|
+
* @param {EgressPolicy[]} request.egressPolicies - The list of EgressPolicies for the Domain
|
|
77
77
|
* @param {string} request.extended - Optional extended attributes
|
|
78
78
|
* @return {Promise<CreateDomainResponse>} The newly created Domain
|
|
79
79
|
* @throws if request is null
|
|
@@ -107,7 +107,7 @@ class Domains extends client_1.APIClient {
|
|
|
107
107
|
* @param {UpdateDomainRequest} request - Partial with the fields to update
|
|
108
108
|
* @param {string} request.name - Name of the Domain
|
|
109
109
|
* @param {string} request.accessControlListRef - The reference to the AccessControlList for the Domain
|
|
110
|
-
* @param {
|
|
110
|
+
* @param {EgressPolicy[]} request.egressPolicies - The list of EgressPolicies for the Domain
|
|
111
111
|
* @param {string} request.extended - Optional extended attributes
|
|
112
112
|
* @return {Promise<UpdateDomainResponse>} The updated Domain
|
|
113
113
|
* @example
|
package/dist/domains/index.d.ts
CHANGED
package/dist/domains/index.js
CHANGED
|
@@ -33,6 +33,6 @@ exports.default = void 0;
|
|
|
33
33
|
* See the License for the specific language governing permissions and
|
|
34
34
|
* limitations under the License.
|
|
35
35
|
*/
|
|
36
|
+
__exportStar(require("./domains"), exports);
|
|
36
37
|
var domains_1 = require("./domains");
|
|
37
38
|
Object.defineProperty(exports, "default", { enumerable: true, get: function () { return domains_1.Domains; } });
|
|
38
|
-
__exportStar(require("./types"), exports);
|
package/dist/domains/types.d.ts
CHANGED
|
@@ -1,17 +1,13 @@
|
|
|
1
1
|
import { CommonConnect as CC } from "@routr/common";
|
|
2
2
|
import { CreateBaseOmit } from "../types";
|
|
3
|
-
type
|
|
4
|
-
[K in keyof T]: T[K] extends object ? Unpack<T[K]> : T[K];
|
|
5
|
-
};
|
|
6
|
-
export type CreateDomainRequest = Unpack<Omit<CC.Domain, CreateBaseOmit | "accessControlList" | "egressPolicies"> & {
|
|
3
|
+
export type CreateDomainRequest = Omit<CC.Domain, CreateBaseOmit | "accessControlList" | "egressPolicies"> & {
|
|
7
4
|
egressPolicies?: Omit<CC.EgressPolicy, "number">[];
|
|
8
|
-
}
|
|
5
|
+
};
|
|
9
6
|
export type CreateDomainResponse = CC.Domain;
|
|
10
|
-
export type UpdateDomainRequest =
|
|
7
|
+
export type UpdateDomainRequest = {
|
|
11
8
|
ref: string;
|
|
12
|
-
} & Partial<Omit<CreateDomainRequest, "domainUri"
|
|
9
|
+
} & Partial<Omit<CreateDomainRequest, "domainUri">>;
|
|
13
10
|
export type UpdateDomainResponse = CC.Domain;
|
|
14
11
|
export type ListDomainRequest = CC.ListRequest;
|
|
15
12
|
export type ListDomainResponse = CC.ListResponse<CC.Domain>;
|
|
16
13
|
export type GetDomainResponse = CC.Domain;
|
|
17
|
-
export {};
|
package/dist/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@routr/sdk",
|
|
3
|
-
"version": "2.11.
|
|
3
|
+
"version": "2.11.5",
|
|
4
4
|
"description": "The Routr SDK for Node.js",
|
|
5
5
|
"author": "Pedro Sanders <psanders@fonoster.com>",
|
|
6
6
|
"homepage": "https://github.com/fonoster/routr#readme",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"@opentelemetry/sdk-trace-base": "^1.0.4",
|
|
28
28
|
"@opentelemetry/sdk-trace-node": "^1.0.4",
|
|
29
29
|
"@opentelemetry/semantic-conventions": "^1.0.4",
|
|
30
|
-
"@routr/common": "^2.11.
|
|
30
|
+
"@routr/common": "^2.11.5",
|
|
31
31
|
"google-protobuf": "^3.9.2",
|
|
32
32
|
"pb-util": "^1.0.3"
|
|
33
33
|
},
|
|
@@ -47,5 +47,5 @@
|
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@types/google-protobuf": "^3.15.6"
|
|
49
49
|
},
|
|
50
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "5183aed7ea8b3c0a2a963224ef6068a7922a9e0b"
|
|
51
51
|
}
|