@fivenet-app/gen 0.9.3-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/README.md +1 -0
- package/google/protobuf/any.ts +322 -0
- package/google/protobuf/descriptor.ts +3475 -0
- package/google/protobuf/duration.ts +231 -0
- package/google/protobuf/timestamp.ts +290 -0
- package/package.json +15 -0
- package/perms.ts +178 -0
- package/resources/accounts/accounts.ts +195 -0
- package/resources/accounts/oauth2.ts +230 -0
- package/resources/calendar/access.ts +362 -0
- package/resources/calendar/calendar.ts +955 -0
- package/resources/centrum/access.ts +380 -0
- package/resources/centrum/dispatches.ts +854 -0
- package/resources/centrum/general.ts +231 -0
- package/resources/centrum/settings.ts +303 -0
- package/resources/centrum/units.ts +620 -0
- package/resources/common/access/dummy.ts +309 -0
- package/resources/common/content/content.ts +252 -0
- package/resources/common/cron/cron.ts +536 -0
- package/resources/common/database/database.ts +306 -0
- package/resources/common/error.ts +79 -0
- package/resources/common/grpcws/grpcws.ts +615 -0
- package/resources/common/i18n.ts +102 -0
- package/resources/common/uuid.ts +68 -0
- package/resources/documents/access.ts +388 -0
- package/resources/documents/activity.ts +803 -0
- package/resources/documents/category.ts +132 -0
- package/resources/documents/comment.ts +161 -0
- package/resources/documents/documents.ts +1124 -0
- package/resources/documents/requests.ts +196 -0
- package/resources/documents/templates.ts +949 -0
- package/resources/documents/workflow.ts +349 -0
- package/resources/filestore/file.ts +204 -0
- package/resources/internet/ads.ts +257 -0
- package/resources/internet/domain.ts +136 -0
- package/resources/internet/internet.ts +344 -0
- package/resources/internet/page.ts +236 -0
- package/resources/internet/search.ts +104 -0
- package/resources/jobs/activity.ts +600 -0
- package/resources/jobs/colleagues.ts +346 -0
- package/resources/jobs/conduct.ts +220 -0
- package/resources/jobs/labels.ts +240 -0
- package/resources/jobs/timeclock.ts +372 -0
- package/resources/laws/laws.ts +293 -0
- package/resources/livemap/livemap.ts +728 -0
- package/resources/livemap/tracker.ts +81 -0
- package/resources/mailer/access.ts +485 -0
- package/resources/mailer/email.ts +222 -0
- package/resources/mailer/events.ts +196 -0
- package/resources/mailer/message.ts +285 -0
- package/resources/mailer/settings.ts +95 -0
- package/resources/mailer/template.ts +164 -0
- package/resources/mailer/thread.ts +422 -0
- package/resources/mailer/user.ts +93 -0
- package/resources/notifications/events.ts +287 -0
- package/resources/notifications/notifications.ts +444 -0
- package/resources/permissions/permissions.ts +829 -0
- package/resources/qualifications/access.ts +275 -0
- package/resources/qualifications/exam.ts +1421 -0
- package/resources/qualifications/qualifications.ts +1289 -0
- package/resources/rector/audit.ts +226 -0
- package/resources/rector/config.ts +922 -0
- package/resources/stats/stats.ts +67 -0
- package/resources/sync/activity.ts +356 -0
- package/resources/sync/data.ts +455 -0
- package/resources/timestamp/timestamp.ts +78 -0
- package/resources/users/activity.ts +211 -0
- package/resources/users/job_props.ts +992 -0
- package/resources/users/jobs.ts +171 -0
- package/resources/users/labels.ts +161 -0
- package/resources/users/props.ts +207 -0
- package/resources/users/users.ts +570 -0
- package/resources/vehicles/vehicles.ts +114 -0
- package/resources/wiki/access.ts +362 -0
- package/resources/wiki/activity.ts +591 -0
- package/resources/wiki/page.ts +548 -0
- package/services/auth/auth.client.ts +171 -0
- package/services/auth/auth.ts +1331 -0
- package/services/calendar/calendar.client.ts +262 -0
- package/services/calendar/calendar.ts +1733 -0
- package/services/centrum/centrum.client.ts +365 -0
- package/services/centrum/centrum.ts +2619 -0
- package/services/citizenstore/citizenstore.client.ts +126 -0
- package/services/citizenstore/citizenstore.ts +847 -0
- package/services/completor/completor.client.ts +109 -0
- package/services/completor/completor.ts +616 -0
- package/services/dmv/vehicles.client.ts +41 -0
- package/services/dmv/vehicles.ts +191 -0
- package/services/docstore/docstore.client.ts +653 -0
- package/services/docstore/docstore.ts +4571 -0
- package/services/internet/ads.client.ts +41 -0
- package/services/internet/ads.ts +145 -0
- package/services/internet/internet.client.ts +58 -0
- package/services/internet/internet.ts +257 -0
- package/services/jobs/conduct.client.ts +92 -0
- package/services/jobs/conduct.ts +541 -0
- package/services/jobs/jobs.client.ts +194 -0
- package/services/jobs/jobs.ts +1301 -0
- package/services/jobs/timeclock.client.ts +75 -0
- package/services/jobs/timeclock.ts +808 -0
- package/services/livemapper/livemap.client.ts +76 -0
- package/services/livemapper/livemap.ts +552 -0
- package/services/mailer/mailer.client.ts +381 -0
- package/services/mailer/mailer.ts +2590 -0
- package/services/notificator/notificator.client.ts +76 -0
- package/services/notificator/notificator.ts +510 -0
- package/services/qualifications/qualifications.client.ts +279 -0
- package/services/qualifications/qualifications.ts +2142 -0
- package/services/rector/config.client.ts +58 -0
- package/services/rector/config.ts +216 -0
- package/services/rector/filestore.client.ts +75 -0
- package/services/rector/filestore.ts +378 -0
- package/services/rector/laws.client.ts +92 -0
- package/services/rector/laws.ts +416 -0
- package/services/rector/rector.client.ts +211 -0
- package/services/rector/rector.ts +1540 -0
- package/services/stats/stats.client.ts +37 -0
- package/services/stats/stats.ts +128 -0
- package/services/sync/sync.client.ts +110 -0
- package/services/sync/sync.ts +831 -0
- package/services/wiki/wiki.client.ts +126 -0
- package/services/wiki/wiki.ts +749 -0
- package/svcs.ts +307 -0
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
// @generated by protobuf-ts 2.9.4 with parameter optimize_speed,long_type_number,force_server_none
|
|
2
|
+
// @generated from protobuf file "services/citizenstore/citizenstore.proto" (package "services.citizenstore", syntax proto3)
|
|
3
|
+
// @ts-nocheck
|
|
4
|
+
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
|
|
5
|
+
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
|
|
6
|
+
import { CitizenStoreService } from "./citizenstore";
|
|
7
|
+
import type { ManageCitizenLabelsResponse } from "./citizenstore";
|
|
8
|
+
import type { ManageCitizenLabelsRequest } from "./citizenstore";
|
|
9
|
+
import type { SetProfilePictureResponse } from "./citizenstore";
|
|
10
|
+
import type { SetProfilePictureRequest } from "./citizenstore";
|
|
11
|
+
import type { SetUserPropsResponse } from "./citizenstore";
|
|
12
|
+
import type { SetUserPropsRequest } from "./citizenstore";
|
|
13
|
+
import type { ListUserActivityResponse } from "./citizenstore";
|
|
14
|
+
import type { ListUserActivityRequest } from "./citizenstore";
|
|
15
|
+
import type { GetUserResponse } from "./citizenstore";
|
|
16
|
+
import type { GetUserRequest } from "./citizenstore";
|
|
17
|
+
import { stackIntercept } from "@protobuf-ts/runtime-rpc";
|
|
18
|
+
import type { ListCitizensResponse } from "./citizenstore";
|
|
19
|
+
import type { ListCitizensRequest } from "./citizenstore";
|
|
20
|
+
import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
|
|
21
|
+
import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
|
|
22
|
+
/**
|
|
23
|
+
* @generated from protobuf service services.citizenstore.CitizenStoreService
|
|
24
|
+
*/
|
|
25
|
+
export interface ICitizenStoreServiceClient {
|
|
26
|
+
/**
|
|
27
|
+
* @perm: Attrs=Fields/StringList:[]string{"PhoneNumber", "Licenses", "UserProps.Wanted", "UserProps.Job", "UserProps.TrafficInfractionPoints", "UserProps.OpenFines", "UserProps.BloodType", "UserProps.MugShot", "UserProps.Labels", "UserProps.Email"}
|
|
28
|
+
*
|
|
29
|
+
* @generated from protobuf rpc: ListCitizens(services.citizenstore.ListCitizensRequest) returns (services.citizenstore.ListCitizensResponse);
|
|
30
|
+
*/
|
|
31
|
+
listCitizens(input: ListCitizensRequest, options?: RpcOptions): UnaryCall<ListCitizensRequest, ListCitizensResponse>;
|
|
32
|
+
/**
|
|
33
|
+
* @perm: Attrs=Jobs/JobGradeList
|
|
34
|
+
*
|
|
35
|
+
* @generated from protobuf rpc: GetUser(services.citizenstore.GetUserRequest) returns (services.citizenstore.GetUserResponse);
|
|
36
|
+
*/
|
|
37
|
+
getUser(input: GetUserRequest, options?: RpcOptions): UnaryCall<GetUserRequest, GetUserResponse>;
|
|
38
|
+
/**
|
|
39
|
+
* @perm: Attrs=Fields/StringList:[]string{"SourceUser", "Own"}
|
|
40
|
+
*
|
|
41
|
+
* @generated from protobuf rpc: ListUserActivity(services.citizenstore.ListUserActivityRequest) returns (services.citizenstore.ListUserActivityResponse);
|
|
42
|
+
*/
|
|
43
|
+
listUserActivity(input: ListUserActivityRequest, options?: RpcOptions): UnaryCall<ListUserActivityRequest, ListUserActivityResponse>;
|
|
44
|
+
/**
|
|
45
|
+
* @perm: Attrs=Fields/StringList:[]string{"Wanted", "Job", "TrafficInfractionPoints", "MugShot", "Labels"}
|
|
46
|
+
*
|
|
47
|
+
* @generated from protobuf rpc: SetUserProps(services.citizenstore.SetUserPropsRequest) returns (services.citizenstore.SetUserPropsResponse);
|
|
48
|
+
*/
|
|
49
|
+
setUserProps(input: SetUserPropsRequest, options?: RpcOptions): UnaryCall<SetUserPropsRequest, SetUserPropsResponse>;
|
|
50
|
+
/**
|
|
51
|
+
* @perm: Name=Any
|
|
52
|
+
*
|
|
53
|
+
* @generated from protobuf rpc: SetProfilePicture(services.citizenstore.SetProfilePictureRequest) returns (services.citizenstore.SetProfilePictureResponse);
|
|
54
|
+
*/
|
|
55
|
+
setProfilePicture(input: SetProfilePictureRequest, options?: RpcOptions): UnaryCall<SetProfilePictureRequest, SetProfilePictureResponse>;
|
|
56
|
+
/**
|
|
57
|
+
* @perm
|
|
58
|
+
*
|
|
59
|
+
* @generated from protobuf rpc: ManageCitizenLabels(services.citizenstore.ManageCitizenLabelsRequest) returns (services.citizenstore.ManageCitizenLabelsResponse);
|
|
60
|
+
*/
|
|
61
|
+
manageCitizenLabels(input: ManageCitizenLabelsRequest, options?: RpcOptions): UnaryCall<ManageCitizenLabelsRequest, ManageCitizenLabelsResponse>;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* @generated from protobuf service services.citizenstore.CitizenStoreService
|
|
65
|
+
*/
|
|
66
|
+
export class CitizenStoreServiceClient implements ICitizenStoreServiceClient, ServiceInfo {
|
|
67
|
+
typeName = CitizenStoreService.typeName;
|
|
68
|
+
methods = CitizenStoreService.methods;
|
|
69
|
+
options = CitizenStoreService.options;
|
|
70
|
+
constructor(private readonly _transport: RpcTransport) {
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* @perm: Attrs=Fields/StringList:[]string{"PhoneNumber", "Licenses", "UserProps.Wanted", "UserProps.Job", "UserProps.TrafficInfractionPoints", "UserProps.OpenFines", "UserProps.BloodType", "UserProps.MugShot", "UserProps.Labels", "UserProps.Email"}
|
|
74
|
+
*
|
|
75
|
+
* @generated from protobuf rpc: ListCitizens(services.citizenstore.ListCitizensRequest) returns (services.citizenstore.ListCitizensResponse);
|
|
76
|
+
*/
|
|
77
|
+
listCitizens(input: ListCitizensRequest, options?: RpcOptions): UnaryCall<ListCitizensRequest, ListCitizensResponse> {
|
|
78
|
+
const method = this.methods[0], opt = this._transport.mergeOptions(options);
|
|
79
|
+
return stackIntercept<ListCitizensRequest, ListCitizensResponse>("unary", this._transport, method, opt, input);
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* @perm: Attrs=Jobs/JobGradeList
|
|
83
|
+
*
|
|
84
|
+
* @generated from protobuf rpc: GetUser(services.citizenstore.GetUserRequest) returns (services.citizenstore.GetUserResponse);
|
|
85
|
+
*/
|
|
86
|
+
getUser(input: GetUserRequest, options?: RpcOptions): UnaryCall<GetUserRequest, GetUserResponse> {
|
|
87
|
+
const method = this.methods[1], opt = this._transport.mergeOptions(options);
|
|
88
|
+
return stackIntercept<GetUserRequest, GetUserResponse>("unary", this._transport, method, opt, input);
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* @perm: Attrs=Fields/StringList:[]string{"SourceUser", "Own"}
|
|
92
|
+
*
|
|
93
|
+
* @generated from protobuf rpc: ListUserActivity(services.citizenstore.ListUserActivityRequest) returns (services.citizenstore.ListUserActivityResponse);
|
|
94
|
+
*/
|
|
95
|
+
listUserActivity(input: ListUserActivityRequest, options?: RpcOptions): UnaryCall<ListUserActivityRequest, ListUserActivityResponse> {
|
|
96
|
+
const method = this.methods[2], opt = this._transport.mergeOptions(options);
|
|
97
|
+
return stackIntercept<ListUserActivityRequest, ListUserActivityResponse>("unary", this._transport, method, opt, input);
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* @perm: Attrs=Fields/StringList:[]string{"Wanted", "Job", "TrafficInfractionPoints", "MugShot", "Labels"}
|
|
101
|
+
*
|
|
102
|
+
* @generated from protobuf rpc: SetUserProps(services.citizenstore.SetUserPropsRequest) returns (services.citizenstore.SetUserPropsResponse);
|
|
103
|
+
*/
|
|
104
|
+
setUserProps(input: SetUserPropsRequest, options?: RpcOptions): UnaryCall<SetUserPropsRequest, SetUserPropsResponse> {
|
|
105
|
+
const method = this.methods[3], opt = this._transport.mergeOptions(options);
|
|
106
|
+
return stackIntercept<SetUserPropsRequest, SetUserPropsResponse>("unary", this._transport, method, opt, input);
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* @perm: Name=Any
|
|
110
|
+
*
|
|
111
|
+
* @generated from protobuf rpc: SetProfilePicture(services.citizenstore.SetProfilePictureRequest) returns (services.citizenstore.SetProfilePictureResponse);
|
|
112
|
+
*/
|
|
113
|
+
setProfilePicture(input: SetProfilePictureRequest, options?: RpcOptions): UnaryCall<SetProfilePictureRequest, SetProfilePictureResponse> {
|
|
114
|
+
const method = this.methods[4], opt = this._transport.mergeOptions(options);
|
|
115
|
+
return stackIntercept<SetProfilePictureRequest, SetProfilePictureResponse>("unary", this._transport, method, opt, input);
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* @perm
|
|
119
|
+
*
|
|
120
|
+
* @generated from protobuf rpc: ManageCitizenLabels(services.citizenstore.ManageCitizenLabelsRequest) returns (services.citizenstore.ManageCitizenLabelsResponse);
|
|
121
|
+
*/
|
|
122
|
+
manageCitizenLabels(input: ManageCitizenLabelsRequest, options?: RpcOptions): UnaryCall<ManageCitizenLabelsRequest, ManageCitizenLabelsResponse> {
|
|
123
|
+
const method = this.methods[5], opt = this._transport.mergeOptions(options);
|
|
124
|
+
return stackIntercept<ManageCitizenLabelsRequest, ManageCitizenLabelsResponse>("unary", this._transport, method, opt, input);
|
|
125
|
+
}
|
|
126
|
+
}
|