@homeflare/distilled-opnsense 0.2.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/LICENSE +201 -0
- package/README.md +95 -0
- package/dist/credentials.d.ts +39 -0
- package/dist/credentials.d.ts.map +1 -0
- package/dist/credentials.js +78 -0
- package/dist/credentials.js.map +1 -0
- package/dist/errors.d.ts +110 -0
- package/dist/errors.d.ts.map +1 -0
- package/dist/errors.js +63 -0
- package/dist/errors.js.map +1 -0
- package/dist/index.d.ts +29 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +29 -0
- package/dist/index.js.map +1 -0
- package/dist/protocol.d.ts +13 -0
- package/dist/protocol.d.ts.map +1 -0
- package/dist/protocol.js +115 -0
- package/dist/protocol.js.map +1 -0
- package/dist/retry.d.ts +56 -0
- package/dist/retry.d.ts.map +1 -0
- package/dist/retry.js +49 -0
- package/dist/retry.js.map +1 -0
- package/dist/services/firewall_alias.d.ts +243 -0
- package/dist/services/firewall_alias.d.ts.map +1 -0
- package/dist/services/firewall_alias.js +222 -0
- package/dist/services/firewall_alias.js.map +1 -0
- package/dist/services/firewall_category.d.ts +122 -0
- package/dist/services/firewall_category.d.ts.map +1 -0
- package/dist/services/firewall_category.js +161 -0
- package/dist/services/firewall_category.js.map +1 -0
- package/dist/services/firewall_filter.d.ts +289 -0
- package/dist/services/firewall_filter.d.ts.map +1 -0
- package/dist/services/firewall_filter.js +225 -0
- package/dist/services/firewall_filter.js.map +1 -0
- package/dist/services/firewall_group.d.ts +122 -0
- package/dist/services/firewall_group.d.ts.map +1 -0
- package/dist/services/firewall_group.js +154 -0
- package/dist/services/firewall_group.js.map +1 -0
- package/dist/services/index.d.ts +9 -0
- package/dist/services/index.d.ts.map +1 -0
- package/dist/services/index.js +10 -0
- package/dist/services/index.js.map +1 -0
- package/dist/services/quagga_bgp.d.ts +1135 -0
- package/dist/services/quagga_bgp.d.ts.map +1 -0
- package/dist/services/quagga_bgp.js +1263 -0
- package/dist/services/quagga_bgp.js.map +1 -0
- package/dist/services/quagga_general.d.ts +55 -0
- package/dist/services/quagga_general.d.ts.map +1 -0
- package/dist/services/quagga_general.js +48 -0
- package/dist/services/quagga_general.js.map +1 -0
- package/dist/services/quagga_service.d.ts +60 -0
- package/dist/services/quagga_service.d.ts.map +1 -0
- package/dist/services/quagga_service.js +77 -0
- package/dist/services/quagga_service.js.map +1 -0
- package/dist/services/routing_settings.d.ts +192 -0
- package/dist/services/routing_settings.d.ts.map +1 -0
- package/dist/services/routing_settings.js +169 -0
- package/dist/services/routing_settings.js.map +1 -0
- package/dist/traits.d.ts +11 -0
- package/dist/traits.d.ts.map +1 -0
- package/dist/traits.js +11 -0
- package/dist/traits.js.map +1 -0
- package/package.json +75 -0
- package/src/credentials.ts +111 -0
- package/src/errors.ts +115 -0
- package/src/index.ts +32 -0
- package/src/protocol.ts +177 -0
- package/src/retry.ts +80 -0
- package/src/services/firewall_alias.ts +572 -0
- package/src/services/firewall_category.ts +359 -0
- package/src/services/firewall_filter.ts +671 -0
- package/src/services/firewall_group.ts +350 -0
- package/src/services/index.ts +9 -0
- package/src/services/quagga_bgp.ts +2955 -0
- package/src/services/quagga_general.ts +132 -0
- package/src/services/quagga_service.ts +182 -0
- package/src/services/routing_settings.ts +419 -0
- package/src/traits.ts +36 -0
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import * as S from "@distilled.cloud/core/schema";
|
|
2
|
+
import * as API from "@distilled.cloud/core/api";
|
|
3
|
+
import { type OpnsenseOpError, type OpnsenseOpContext } from "../protocol.ts";
|
|
4
|
+
export type { OpnsenseOpError, OpnsenseOpContext };
|
|
5
|
+
export interface GroupItem {
|
|
6
|
+
/** Item id, assigned by OPNsense on creation. */
|
|
7
|
+
uuid?: string;
|
|
8
|
+
/** OPNsense FieldType: .\GroupNameField */
|
|
9
|
+
ifname: string;
|
|
10
|
+
/** OPNsense FieldType: .\InterfaceField; multi-select: wire value is a single comma-joined string, not a JSON array */
|
|
11
|
+
members: string;
|
|
12
|
+
/** OPNsense FieldType: BooleanField */
|
|
13
|
+
nogroup?: string;
|
|
14
|
+
/** OPNsense FieldType: IntegerField; range 0..9999 (as text) */
|
|
15
|
+
sequence: string;
|
|
16
|
+
/** OPNsense FieldType: DescriptionField */
|
|
17
|
+
descr?: string;
|
|
18
|
+
}
|
|
19
|
+
export declare const GroupItem: S.Schema<GroupItem>;
|
|
20
|
+
export interface AddGroupRequest {
|
|
21
|
+
group?: GroupItem;
|
|
22
|
+
}
|
|
23
|
+
export declare const AddGroupRequest: S.Schema<AddGroupRequest>;
|
|
24
|
+
export type AddGroupResult = "saved";
|
|
25
|
+
export declare const AddGroupResult: any;
|
|
26
|
+
export interface AddGroupResponse {
|
|
27
|
+
result?: AddGroupResult;
|
|
28
|
+
/** The new item's uuid. */
|
|
29
|
+
uuid?: string;
|
|
30
|
+
}
|
|
31
|
+
export declare const AddGroupResponse: S.Schema<AddGroupResponse>;
|
|
32
|
+
export interface DelGroupRequest {
|
|
33
|
+
uuid: string;
|
|
34
|
+
}
|
|
35
|
+
export declare const DelGroupRequest: S.Schema<DelGroupRequest>;
|
|
36
|
+
export type DelGroupResult = "deleted" | "not found";
|
|
37
|
+
export declare const DelGroupResult: any;
|
|
38
|
+
export interface DelGroupResponse {
|
|
39
|
+
result?: DelGroupResult;
|
|
40
|
+
}
|
|
41
|
+
export declare const DelGroupResponse: S.Schema<DelGroupResponse>;
|
|
42
|
+
export interface GetRequest {
|
|
43
|
+
}
|
|
44
|
+
export declare const GetRequest: S.Schema<GetRequest>;
|
|
45
|
+
export type ModelIfgroupentryItem = GroupItem;
|
|
46
|
+
export declare const ModelIfgroupentryItem: S.Schema<GroupItem>;
|
|
47
|
+
export type ModelIfgroupentryItemMap = {
|
|
48
|
+
[key: string]: GroupItem | undefined;
|
|
49
|
+
};
|
|
50
|
+
export declare const ModelIfgroupentryItemMap: S.Schema<ModelIfgroupentryItemMap>;
|
|
51
|
+
export interface Model {
|
|
52
|
+
ifgroupentry?: ModelIfgroupentryItemMap;
|
|
53
|
+
}
|
|
54
|
+
export declare const Model: S.Schema<Model>;
|
|
55
|
+
export interface GetResponse {
|
|
56
|
+
group?: Model;
|
|
57
|
+
}
|
|
58
|
+
export declare const GetResponse: S.Schema<GetResponse>;
|
|
59
|
+
export interface GetGroupRequest {
|
|
60
|
+
}
|
|
61
|
+
export declare const GetGroupRequest: S.Schema<GetGroupRequest>;
|
|
62
|
+
export interface GetGroupResponse {
|
|
63
|
+
group?: GroupItem;
|
|
64
|
+
}
|
|
65
|
+
export declare const GetGroupResponse: S.Schema<GetGroupResponse>;
|
|
66
|
+
export interface SearchGroupRequest {
|
|
67
|
+
}
|
|
68
|
+
export declare const SearchGroupRequest: S.Schema<SearchGroupRequest>;
|
|
69
|
+
export type GroupList = Array<GroupItem>;
|
|
70
|
+
export declare const GroupList: S.Schema<GroupList>;
|
|
71
|
+
export interface SearchGroupResponse {
|
|
72
|
+
/** Total matching items before pagination. */
|
|
73
|
+
total?: number;
|
|
74
|
+
rowCount?: number;
|
|
75
|
+
/** Current page number. */
|
|
76
|
+
current?: number;
|
|
77
|
+
rows?: GroupList;
|
|
78
|
+
}
|
|
79
|
+
export declare const SearchGroupResponse: S.Schema<SearchGroupResponse>;
|
|
80
|
+
export interface SetRequest {
|
|
81
|
+
group?: Model;
|
|
82
|
+
}
|
|
83
|
+
export declare const SetRequest: S.Schema<SetRequest>;
|
|
84
|
+
export type SetResult = "saved";
|
|
85
|
+
export declare const SetResult: any;
|
|
86
|
+
export interface SetResponse {
|
|
87
|
+
result?: SetResult;
|
|
88
|
+
}
|
|
89
|
+
export declare const SetResponse: S.Schema<SetResponse>;
|
|
90
|
+
export interface SetGroupRequest {
|
|
91
|
+
uuid: string;
|
|
92
|
+
group?: GroupItem;
|
|
93
|
+
}
|
|
94
|
+
export declare const SetGroupRequest: S.Schema<SetGroupRequest>;
|
|
95
|
+
export type SetGroupResult = "saved";
|
|
96
|
+
export declare const SetGroupResult: any;
|
|
97
|
+
export interface SetGroupResponse {
|
|
98
|
+
result?: SetGroupResult;
|
|
99
|
+
}
|
|
100
|
+
export declare const SetGroupResponse: S.Schema<SetGroupResponse>;
|
|
101
|
+
export type AddGroupError = OpnsenseOpError;
|
|
102
|
+
/** Add a new ifgroupentry item. On a validation failure the call fails with ValidationFailed instead of decoding this response. */
|
|
103
|
+
export declare const addGroup: API.OperationMethod<AddGroupRequest, AddGroupResponse, AddGroupError, OpnsenseOpContext>;
|
|
104
|
+
export type DelGroupError = OpnsenseOpError;
|
|
105
|
+
/** Delete a ifgroupentry item by uuid. */
|
|
106
|
+
export declare const delGroup: API.OperationMethod<DelGroupRequest, DelGroupResponse, DelGroupError, OpnsenseOpContext>;
|
|
107
|
+
export type GetError = OpnsenseOpError;
|
|
108
|
+
/** Fetch the entire model tree (every section and array collection). */
|
|
109
|
+
export declare const get: API.OperationMethod<GetRequest, GetResponse, GetError, OpnsenseOpContext>;
|
|
110
|
+
export type GetGroupError = OpnsenseOpError;
|
|
111
|
+
/** Fetch one ifgroupentry item by uuid. */
|
|
112
|
+
export declare const getGroup: API.OperationMethod<GetGroupRequest, GetGroupResponse, GetGroupError, OpnsenseOpContext>;
|
|
113
|
+
export type SearchGroupError = OpnsenseOpError;
|
|
114
|
+
/** Search ifgroupentry items (paginated). */
|
|
115
|
+
export declare const searchGroup: API.OperationMethod<SearchGroupRequest, SearchGroupResponse, SearchGroupError, OpnsenseOpContext>;
|
|
116
|
+
export type SetError = OpnsenseOpError;
|
|
117
|
+
/** Replace the entire model tree in one call. On a validation failure the call fails with ValidationFailed instead of decoding this response. */
|
|
118
|
+
export declare const set: API.OperationMethod<SetRequest, SetResponse, SetError, OpnsenseOpContext>;
|
|
119
|
+
export type SetGroupError = OpnsenseOpError;
|
|
120
|
+
/** Update an existing ifgroupentry item. On a validation failure the call fails with ValidationFailed instead of decoding this response. */
|
|
121
|
+
export declare const setGroup: API.OperationMethod<SetGroupRequest, SetGroupResponse, SetGroupError, OpnsenseOpContext>;
|
|
122
|
+
//# sourceMappingURL=firewall_group.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"firewall_group.d.ts","sourceRoot":"","sources":["../../src/services/firewall_group.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAClD,OAAO,KAAK,GAAG,MAAM,2BAA2B,CAAC;AAEjD,OAAO,EAEL,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACvB,MAAM,gBAAgB,CAAC;AAGxB,YAAY,EAAE,eAAe,EAAE,iBAAiB,EAAE,CAAC;AAEnD,MAAM,WAAW,SAAS;IACxB,iDAAiD;IACjD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,2CAA2C;IAC3C,MAAM,EAAE,MAAM,CAAC;IACf,uHAAuH;IACvH,OAAO,EAAE,MAAM,CAAC;IAChB,uCAAuC;IACvC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,gEAAgE;IAChE,QAAQ,EAAE,MAAM,CAAC;IACjB,2CAA2C;IAC3C,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AACD,eAAO,MAAM,SAAS,EAS4B,CAAC,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC;AAEtE,MAAM,WAAW,eAAe;IAC9B,KAAK,CAAC,EAAE,SAAS,CAAC;CACnB;AACD,eAAO,MAAM,eAAe,EAQf,CAAC,CAAC,MAAM,CAAC,eAAe,CAAC,CAAC;AAEvC,MAAM,MAAM,cAAc,GAAG,OAAO,CAAC;AACrC,eAAO,MAAM,cAAc,KAAW,CAAC;AAEvC,MAAM,WAAW,gBAAgB;IAC/B,MAAM,CAAC,EAAE,cAAc,CAAC;IACxB,2BAA2B;IAC3B,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AACD,eAAO,MAAM,gBAAgB,EAOhB,CAAC,CAAC,MAAM,CAAC,gBAAgB,CAAC,CAAC;AAExC,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,MAA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a,EACb,iBAAiB,CAOhB,CAAC"}
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
// AUTO-GENERATED by scripts/generate.ts from .generated-specs (specs/spec-mirror-opnsense). Do not edit.
|
|
2
|
+
import * as S from "@distilled.cloud/core/schema";
|
|
3
|
+
import * as API from "@distilled.cloud/core/api";
|
|
4
|
+
import * as T from "../traits.js";
|
|
5
|
+
import { OpnsenseProtocol, } from "../protocol.js";
|
|
6
|
+
import * as Retry from "../retry.js";
|
|
7
|
+
export const GroupItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
8
|
+
uuid: S.optional(S.String),
|
|
9
|
+
ifname: S.String,
|
|
10
|
+
members: S.String,
|
|
11
|
+
nogroup: S.optional(S.String),
|
|
12
|
+
sequence: S.String,
|
|
13
|
+
descr: S.optional(S.String),
|
|
14
|
+
})).annotate({ identifier: "GroupItem" });
|
|
15
|
+
export const AddGroupRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
16
|
+
group: S.optional(GroupItem),
|
|
17
|
+
}).pipe(T.Http({ method: "POST", uri: "/api/firewall/group/addItem", code: 200 }))).annotate({
|
|
18
|
+
identifier: "AddGroupRequest",
|
|
19
|
+
});
|
|
20
|
+
export const AddGroupResult = S.String;
|
|
21
|
+
export const AddGroupResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
22
|
+
result: S.optional(AddGroupResult),
|
|
23
|
+
uuid: S.optional(S.String),
|
|
24
|
+
})).annotate({
|
|
25
|
+
identifier: "AddGroupResponse",
|
|
26
|
+
});
|
|
27
|
+
export const DelGroupRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
28
|
+
uuid: S.String.pipe(T.Label()),
|
|
29
|
+
}).pipe(T.Http({
|
|
30
|
+
method: "POST",
|
|
31
|
+
uri: "/api/firewall/group/delItem/{uuid}",
|
|
32
|
+
code: 200,
|
|
33
|
+
}))).annotate({
|
|
34
|
+
identifier: "DelGroupRequest",
|
|
35
|
+
});
|
|
36
|
+
export const DelGroupResult = S.String;
|
|
37
|
+
export const DelGroupResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
38
|
+
result: S.optional(DelGroupResult),
|
|
39
|
+
})).annotate({
|
|
40
|
+
identifier: "DelGroupResponse",
|
|
41
|
+
});
|
|
42
|
+
export const GetRequest = /*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({ method: "GET", uri: "/api/firewall/group/get", code: 200 }))).annotate({ identifier: "GetRequest" });
|
|
43
|
+
export const ModelIfgroupentryItem = GroupItem;
|
|
44
|
+
export const ModelIfgroupentryItemMap = /*@__PURE__*/ S.Record(S.String, GroupItem);
|
|
45
|
+
export const Model = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
46
|
+
ifgroupentry: S.optional(ModelIfgroupentryItemMap),
|
|
47
|
+
})).annotate({ identifier: "Model" });
|
|
48
|
+
export const GetResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
49
|
+
group: S.optional(Model),
|
|
50
|
+
})).annotate({ identifier: "GetResponse" });
|
|
51
|
+
export const GetGroupRequest = /*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({ method: "GET", uri: "/api/firewall/group/getItem", code: 200 }))).annotate({
|
|
52
|
+
identifier: "GetGroupRequest",
|
|
53
|
+
});
|
|
54
|
+
export const GetGroupResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
55
|
+
group: S.optional(GroupItem),
|
|
56
|
+
})).annotate({
|
|
57
|
+
identifier: "GetGroupResponse",
|
|
58
|
+
});
|
|
59
|
+
export const SearchGroupRequest = /*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({
|
|
60
|
+
method: "POST",
|
|
61
|
+
uri: "/api/firewall/group/searchItem",
|
|
62
|
+
code: 200,
|
|
63
|
+
}))).annotate({
|
|
64
|
+
identifier: "SearchGroupRequest",
|
|
65
|
+
});
|
|
66
|
+
export const GroupList = /*@__PURE__*/ S.Array(GroupItem);
|
|
67
|
+
export const SearchGroupResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
68
|
+
total: S.optional(S.Number),
|
|
69
|
+
rowCount: S.optional(S.Number),
|
|
70
|
+
current: S.optional(S.Number),
|
|
71
|
+
rows: S.optional(GroupList),
|
|
72
|
+
})).annotate({
|
|
73
|
+
identifier: "SearchGroupResponse",
|
|
74
|
+
});
|
|
75
|
+
export const SetRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
76
|
+
group: S.optional(Model),
|
|
77
|
+
}).pipe(T.Http({ method: "POST", uri: "/api/firewall/group/set", code: 200 }))).annotate({ identifier: "SetRequest" });
|
|
78
|
+
export const SetResult = S.String;
|
|
79
|
+
export const SetResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
80
|
+
result: S.optional(SetResult),
|
|
81
|
+
})).annotate({ identifier: "SetResponse" });
|
|
82
|
+
export const SetGroupRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
83
|
+
uuid: S.String.pipe(T.Label()),
|
|
84
|
+
group: S.optional(GroupItem),
|
|
85
|
+
}).pipe(T.Http({
|
|
86
|
+
method: "POST",
|
|
87
|
+
uri: "/api/firewall/group/setItem/{uuid}",
|
|
88
|
+
code: 200,
|
|
89
|
+
}))).annotate({
|
|
90
|
+
identifier: "SetGroupRequest",
|
|
91
|
+
});
|
|
92
|
+
export const SetGroupResult = S.String;
|
|
93
|
+
export const SetGroupResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
94
|
+
result: S.optional(SetGroupResult),
|
|
95
|
+
})).annotate({
|
|
96
|
+
identifier: "SetGroupResponse",
|
|
97
|
+
});
|
|
98
|
+
/** Add a new ifgroupentry item. On a validation failure the call fails with ValidationFailed instead of decoding this response. */
|
|
99
|
+
export const addGroup = /*@__PURE__*/ API.make(() => ({
|
|
100
|
+
input: AddGroupRequest,
|
|
101
|
+
output: AddGroupResponse,
|
|
102
|
+
errors: [],
|
|
103
|
+
protocol: OpnsenseProtocol,
|
|
104
|
+
retry: Retry.Retry,
|
|
105
|
+
}));
|
|
106
|
+
/** Delete a ifgroupentry item by uuid. */
|
|
107
|
+
export const delGroup = /*@__PURE__*/ API.make(() => ({
|
|
108
|
+
input: DelGroupRequest,
|
|
109
|
+
output: DelGroupResponse,
|
|
110
|
+
errors: [],
|
|
111
|
+
protocol: OpnsenseProtocol,
|
|
112
|
+
retry: Retry.Retry,
|
|
113
|
+
}));
|
|
114
|
+
/** Fetch the entire model tree (every section and array collection). */
|
|
115
|
+
export const get = /*@__PURE__*/ API.make(() => ({
|
|
116
|
+
input: GetRequest,
|
|
117
|
+
output: GetResponse,
|
|
118
|
+
errors: [],
|
|
119
|
+
protocol: OpnsenseProtocol,
|
|
120
|
+
retry: Retry.Retry,
|
|
121
|
+
}));
|
|
122
|
+
/** Fetch one ifgroupentry item by uuid. */
|
|
123
|
+
export const getGroup = /*@__PURE__*/ API.make(() => ({
|
|
124
|
+
input: GetGroupRequest,
|
|
125
|
+
output: GetGroupResponse,
|
|
126
|
+
errors: [],
|
|
127
|
+
protocol: OpnsenseProtocol,
|
|
128
|
+
retry: Retry.Retry,
|
|
129
|
+
}));
|
|
130
|
+
/** Search ifgroupentry items (paginated). */
|
|
131
|
+
export const searchGroup = /*@__PURE__*/ API.make(() => ({
|
|
132
|
+
input: SearchGroupRequest,
|
|
133
|
+
output: SearchGroupResponse,
|
|
134
|
+
errors: [],
|
|
135
|
+
protocol: OpnsenseProtocol,
|
|
136
|
+
retry: Retry.Retry,
|
|
137
|
+
}));
|
|
138
|
+
/** Replace the entire model tree in one call. On a validation failure the call fails with ValidationFailed instead of decoding this response. */
|
|
139
|
+
export const set = /*@__PURE__*/ API.make(() => ({
|
|
140
|
+
input: SetRequest,
|
|
141
|
+
output: SetResponse,
|
|
142
|
+
errors: [],
|
|
143
|
+
protocol: OpnsenseProtocol,
|
|
144
|
+
retry: Retry.Retry,
|
|
145
|
+
}));
|
|
146
|
+
/** Update an existing ifgroupentry item. On a validation failure the call fails with ValidationFailed instead of decoding this response. */
|
|
147
|
+
export const setGroup = /*@__PURE__*/ API.make(() => ({
|
|
148
|
+
input: SetGroupRequest,
|
|
149
|
+
output: SetGroupResponse,
|
|
150
|
+
errors: [],
|
|
151
|
+
protocol: OpnsenseProtocol,
|
|
152
|
+
retry: Retry.Retry,
|
|
153
|
+
}));
|
|
154
|
+
//# sourceMappingURL=firewall_group.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"firewall_group.js","sourceRoot":"","sources":["../../src/services/firewall_group.ts"],"names":[],"mappings":"AAAA,yGAAyG;AACzG,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAClD,OAAO,KAAK,GAAG,MAAM,2BAA2B,CAAC;AACjD,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAClC,OAAO,EACL,gBAAgB,GAGjB,MAAM,gBAAgB,CAAC;AACxB,OAAO,KAAK,KAAK,MAAM,aAAa,CAAC;AAkBrC,MAAM,CAAC,MAAM,SAAS,GAAG,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE,CACpD,CAAC,CAAC,MAAM,CAAC;IACP,IAAI,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC;IAC1B,MAAM,EAAE,CAAC,CAAC,MAAM;IAChB,OAAO,EAAE,CAAC,CAAC,MAAM;IACjB,OAAO,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC;IAC7B,QAAQ,EAAE,CAAC,CAAC,MAAM;IAClB,KAAK,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC;CAC5B,CAAC,CACH,CAAC,QAAQ,CAAC,EAAE,UAAU,EAAE,WAAW,EAAE,CAA+B,CAAC;AAKtE,MAAM,CAAC,MAAM,eAAe,GAAG,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE,CAC1D,CAAC,CAAC,MAAM,CAAC;IACP,KAAK,EAAE,CAAC,CAAC,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,CAAC,MAAM,QAAQ,GAKjB,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IAChC,KAAK,EAAE,eAAe;IACtB,MAAM,EAAE,gBAAgB;IACxB,MAAM,EAAE,EAAE;IACV,QAAQ,EAAE,gBAAgB;IAC1B,KAAK,EAAE,KAAK,CAAC,KAAK;CACnB,CAAC,CAAC,CAAC;AAGJ,6CAA6C;AAC7C,MAAM,CAAC,MAAM,WAAW,GAKpB,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IAChC,KAAK,EAAE,kBAAkB;IACzB,MAAM,EAAE,mBAAmB;IAC3B,MAAM,EAAE,EAAE;IACV,QAAQ,EAAE,gBAAgB;IAC1B,KAAK,EAAE,KAAK,CAAC,KAAK;CACnB,CAAC,CAAC,CAAC;AAGJ,iJAAiJ;AACjJ,MAAM,CAAC,MAAM,GAAG,GAKZ,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IAChC,KAAK,EAAE,UAAU;IACjB,MAAM,EAAE,WAAW;IACnB,MAAM,EAAE,EAAE;IACV,QAAQ,EAAE,gBAAgB;IAC1B,KAAK,EAAE,KAAK,CAAC,KAAK;CACnB,CAAC,CAAC,CAAC;AAGJ,4IAA4I;AAC5I,MAAM,CAAC,MAAM,QAAQ,GAKjB,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IAChC,KAAK,EAAE,eAAe;IACtB,MAAM,EAAE,gBAAgB;IACxB,MAAM,EAAE,EAAE;IACV,QAAQ,EAAE,gBAAgB;IAC1B,KAAK,EAAE,KAAK,CAAC,KAAK;CACnB,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export * as firewall_alias from "./firewall_alias.ts";
|
|
2
|
+
export * as firewall_category from "./firewall_category.ts";
|
|
3
|
+
export * as firewall_filter from "./firewall_filter.ts";
|
|
4
|
+
export * as firewall_group from "./firewall_group.ts";
|
|
5
|
+
export * as quagga_bgp from "./quagga_bgp.ts";
|
|
6
|
+
export * as quagga_general from "./quagga_general.ts";
|
|
7
|
+
export * as quagga_service from "./quagga_service.ts";
|
|
8
|
+
export * as routing_settings from "./routing_settings.ts";
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/services/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,cAAc,MAAM,qBAAqB,CAAC;AACtD,OAAO,KAAK,iBAAiB,MAAM,wBAAwB,CAAC;AAC5D,OAAO,KAAK,eAAe,MAAM,sBAAsB,CAAC;AACxD,OAAO,KAAK,cAAc,MAAM,qBAAqB,CAAC;AACtD,OAAO,KAAK,UAAU,MAAM,iBAAiB,CAAC;AAC9C,OAAO,KAAK,cAAc,MAAM,qBAAqB,CAAC;AACtD,OAAO,KAAK,cAAc,MAAM,qBAAqB,CAAC;AACtD,OAAO,KAAK,gBAAgB,MAAM,uBAAuB,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// AUTO-GENERATED by scripts/generate.ts. Do not edit.
|
|
2
|
+
export * as firewall_alias from "./firewall_alias.js";
|
|
3
|
+
export * as firewall_category from "./firewall_category.js";
|
|
4
|
+
export * as firewall_filter from "./firewall_filter.js";
|
|
5
|
+
export * as firewall_group from "./firewall_group.js";
|
|
6
|
+
export * as quagga_bgp from "./quagga_bgp.js";
|
|
7
|
+
export * as quagga_general from "./quagga_general.js";
|
|
8
|
+
export * as quagga_service from "./quagga_service.js";
|
|
9
|
+
export * as routing_settings from "./routing_settings.js";
|
|
10
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/services/index.ts"],"names":[],"mappings":"AAAA,sDAAsD;AACtD,OAAO,KAAK,cAAc,MAAM,qBAAqB,CAAC;AACtD,OAAO,KAAK,iBAAiB,MAAM,wBAAwB,CAAC;AAC5D,OAAO,KAAK,eAAe,MAAM,sBAAsB,CAAC;AACxD,OAAO,KAAK,cAAc,MAAM,qBAAqB,CAAC;AACtD,OAAO,KAAK,UAAU,MAAM,iBAAiB,CAAC;AAC9C,OAAO,KAAK,cAAc,MAAM,qBAAqB,CAAC;AACtD,OAAO,KAAK,cAAc,MAAM,qBAAqB,CAAC;AACtD,OAAO,KAAK,gBAAgB,MAAM,uBAAuB,CAAC"}
|