@fatehan/tsrp 1.6.19 → 1.6.20
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/package.json +1 -1
- package/dist/fatehan/activities/workflow.d.ts +0 -219
- package/dist/fatehan/activities/workflow.d.ts.map +0 -1
- package/dist/fatehan/activities/workflow.js +0 -1941
- package/dist/fatehan/activities/workshift.d.ts +0 -140
- package/dist/fatehan/activities/workshift.d.ts.map +0 -1
- package/dist/fatehan/activities/workshift.js +0 -1244
- package/dist/fatehan/apis/client.d.ts +0 -246
- package/dist/fatehan/apis/client.d.ts.map +0 -1
- package/dist/fatehan/apis/client.js +0 -2572
- package/dist/fatehan/areas/area.d.ts +0 -96
- package/dist/fatehan/areas/area.d.ts.map +0 -1
- package/dist/fatehan/areas/area.js +0 -761
- package/dist/fatehan/devices/devices.d.ts +0 -256
- package/dist/fatehan/devices/devices.d.ts.map +0 -1
- package/dist/fatehan/devices/devices.js +0 -2730
- package/dist/fatehan/devices/maintenance.d.ts +0 -64
- package/dist/fatehan/devices/maintenance.d.ts.map +0 -1
- package/dist/fatehan/devices/maintenance.js +0 -484
- package/dist/fatehan/financial/financial.d.ts +0 -162
- package/dist/fatehan/financial/financial.d.ts.map +0 -1
- package/dist/fatehan/financial/financial.js +0 -1701
- package/dist/fatehan/google/protobuf/descriptor.d.ts +0 -1303
- package/dist/fatehan/google/protobuf/descriptor.d.ts.map +0 -1
- package/dist/fatehan/google/protobuf/descriptor.js +0 -3467
- package/dist/fatehan/google/protobuf/duration.d.ts +0 -99
- package/dist/fatehan/google/protobuf/duration.d.ts.map +0 -1
- package/dist/fatehan/google/protobuf/duration.js +0 -63
- package/dist/fatehan/google/protobuf/field_mask.d.ts +0 -228
- package/dist/fatehan/google/protobuf/field_mask.d.ts.map +0 -1
- package/dist/fatehan/google/protobuf/field_mask.js +0 -57
- package/dist/fatehan/google/protobuf/timestamp.d.ts +0 -129
- package/dist/fatehan/google/protobuf/timestamp.d.ts.map +0 -1
- package/dist/fatehan/google/protobuf/timestamp.js +0 -63
- package/dist/fatehan/identities/authentication.d.ts +0 -164
- package/dist/fatehan/identities/authentication.d.ts.map +0 -1
- package/dist/fatehan/identities/authentication.js +0 -1291
- package/dist/fatehan/identities/identities.d.ts +0 -969
- package/dist/fatehan/identities/identities.d.ts.map +0 -1
- package/dist/fatehan/identities/identities.js +0 -2993
- package/dist/fatehan/models/fusion.d.ts +0 -149
- package/dist/fatehan/models/fusion.d.ts.map +0 -1
- package/dist/fatehan/models/fusion.js +0 -1531
- package/dist/fatehan/models/models.d.ts +0 -162
- package/dist/fatehan/models/models.d.ts.map +0 -1
- package/dist/fatehan/models/models.js +0 -1486
- package/dist/fatehan/notifies/direct.d.ts +0 -85
- package/dist/fatehan/notifies/direct.d.ts.map +0 -1
- package/dist/fatehan/notifies/direct.js +0 -669
- package/dist/fatehan/notifies/notify.d.ts +0 -232
- package/dist/fatehan/notifies/notify.d.ts.map +0 -1
- package/dist/fatehan/notifies/notify.js +0 -1958
- package/dist/fatehan/packets/commands.d.ts +0 -150
- package/dist/fatehan/packets/commands.d.ts.map +0 -1
- package/dist/fatehan/packets/commands.js +0 -1364
- package/dist/fatehan/packets/dataModel.d.ts +0 -1610
- package/dist/fatehan/packets/dataModel.d.ts.map +0 -1
- package/dist/fatehan/packets/dataModel.js +0 -14947
- package/dist/fatehan/packets/dataModule.d.ts +0 -61
- package/dist/fatehan/packets/dataModule.d.ts.map +0 -1
- package/dist/fatehan/packets/dataModule.js +0 -386
- package/dist/fatehan/packets/forge.d.ts +0 -142
- package/dist/fatehan/packets/forge.d.ts.map +0 -1
- package/dist/fatehan/packets/forge.js +0 -1339
- package/dist/fatehan/services/api.d.ts +0 -1220
- package/dist/fatehan/services/api.d.ts.map +0 -1
- package/dist/fatehan/services/api.js +0 -12660
- package/dist/fatehan/services/repositories.d.ts +0 -78
- package/dist/fatehan/services/repositories.d.ts.map +0 -1
- package/dist/fatehan/services/repositories.js +0 -620
- package/dist/fatehan/stream/stream.d.ts +0 -224
- package/dist/fatehan/stream/stream.d.ts.map +0 -1
- package/dist/fatehan/stream/stream.js +0 -1416
- package/dist/fatehan/trips/trip.d.ts +0 -325
- package/dist/fatehan/trips/trip.d.ts.map +0 -1
- package/dist/fatehan/trips/trip.js +0 -1635
- package/dist/fatehan/utils/buf/validate/validate.d.ts +0 -3520
- package/dist/fatehan/utils/buf/validate/validate.d.ts.map +0 -1
- package/dist/fatehan/utils/buf/validate/validate.js +0 -4248
- package/dist/services.d.ts +0 -79
- package/dist/services.d.ts.map +0 -1
- package/dist/services.js +0 -245
- package/dist/store/system.io.d.ts +0 -6
- package/dist/store/system.io.d.ts.map +0 -1
- package/dist/store/system.io.js +0 -14
- package/dist/system.io.d.ts +0 -6
- package/dist/system.io.d.ts.map +0 -1
- package/dist/system.io.js +0 -208
|
@@ -1,2993 +0,0 @@
|
|
|
1
|
-
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
2
|
-
// versions:
|
|
3
|
-
// protoc-gen-ts_proto v2.11.8
|
|
4
|
-
// protoc v7.34.1
|
|
5
|
-
// source: identities/identities.proto
|
|
6
|
-
/* eslint-disable */
|
|
7
|
-
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
8
|
-
import Long from "long";
|
|
9
|
-
import { Timestamp } from "../google/protobuf/timestamp";
|
|
10
|
-
export const protobufPackage = "com.fatehan.identities";
|
|
11
|
-
export var Permission;
|
|
12
|
-
(function (Permission) {
|
|
13
|
-
Permission[Permission["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
14
|
-
/** USER_LIST - User permissions */
|
|
15
|
-
Permission[Permission["USER_LIST"] = 1] = "USER_LIST";
|
|
16
|
-
Permission[Permission["USER_CREATE"] = 2] = "USER_CREATE";
|
|
17
|
-
Permission[Permission["USER_SHOW"] = 3] = "USER_SHOW";
|
|
18
|
-
Permission[Permission["USER_UPDATE"] = 4] = "USER_UPDATE";
|
|
19
|
-
Permission[Permission["USER_DELETE"] = 5] = "USER_DELETE";
|
|
20
|
-
Permission[Permission["USER_ME"] = 6] = "USER_ME";
|
|
21
|
-
Permission[Permission["USER_SUB"] = 7] = "USER_SUB";
|
|
22
|
-
/**
|
|
23
|
-
* ALERT_LIST - AlertMessage permissions
|
|
24
|
-
* Deprecated: Use EVENT_LIST INSTEAD
|
|
25
|
-
*/
|
|
26
|
-
Permission[Permission["ALERT_LIST"] = 8] = "ALERT_LIST";
|
|
27
|
-
/** ALERT_CREATE - Deprecated: Use EVENT_CREATE INSTEAD */
|
|
28
|
-
Permission[Permission["ALERT_CREATE"] = 9] = "ALERT_CREATE";
|
|
29
|
-
/** ALERT_SHOW - Deprecated: Use EVENT_SHOW INSTEAD */
|
|
30
|
-
Permission[Permission["ALERT_SHOW"] = 10] = "ALERT_SHOW";
|
|
31
|
-
/** ALERT_UPDATE - Deprecated: Use EVENT_UPDATE INSTEAD */
|
|
32
|
-
Permission[Permission["ALERT_UPDATE"] = 11] = "ALERT_UPDATE";
|
|
33
|
-
/** ALERT_DELETE - Deprecated: Use EVENT_DELETE INSTEAD */
|
|
34
|
-
Permission[Permission["ALERT_DELETE"] = 12] = "ALERT_DELETE";
|
|
35
|
-
/** ALERT_ME - Deprecated: Use EVENT_ME INSTEAD */
|
|
36
|
-
Permission[Permission["ALERT_ME"] = 13] = "ALERT_ME";
|
|
37
|
-
/** ALERT_SUB - Deprecated: Use EVENT_SUB INSTEAD */
|
|
38
|
-
Permission[Permission["ALERT_SUB"] = 14] = "ALERT_SUB";
|
|
39
|
-
/** CAR_LIST - Car permissions */
|
|
40
|
-
Permission[Permission["CAR_LIST"] = 15] = "CAR_LIST";
|
|
41
|
-
Permission[Permission["CAR_CREATE"] = 16] = "CAR_CREATE";
|
|
42
|
-
Permission[Permission["CAR_SHOW"] = 17] = "CAR_SHOW";
|
|
43
|
-
Permission[Permission["CAR_UPDATE"] = 18] = "CAR_UPDATE";
|
|
44
|
-
Permission[Permission["CAR_DELETE"] = 19] = "CAR_DELETE";
|
|
45
|
-
Permission[Permission["CAR_ME"] = 20] = "CAR_ME";
|
|
46
|
-
Permission[Permission["CAR_SUB"] = 21] = "CAR_SUB";
|
|
47
|
-
/** COMMAND_LIST - Command permissions */
|
|
48
|
-
Permission[Permission["COMMAND_LIST"] = 22] = "COMMAND_LIST";
|
|
49
|
-
Permission[Permission["ADMIN_COMMAND_CREATE"] = 23] = "ADMIN_COMMAND_CREATE";
|
|
50
|
-
Permission[Permission["COMMAND_SHOW"] = 24] = "COMMAND_SHOW";
|
|
51
|
-
Permission[Permission["COMMAND_UPDATE"] = 25] = "COMMAND_UPDATE";
|
|
52
|
-
Permission[Permission["COMMAND_DELETE"] = 26] = "COMMAND_DELETE";
|
|
53
|
-
Permission[Permission["COMMAND_ME"] = 27] = "COMMAND_ME";
|
|
54
|
-
Permission[Permission["COMMAND_SUB"] = 28] = "COMMAND_SUB";
|
|
55
|
-
/** PARTNER_COMMAND_REBRAND_LIST - Command rebrand permissions */
|
|
56
|
-
Permission[Permission["PARTNER_COMMAND_REBRAND_LIST"] = 29] = "PARTNER_COMMAND_REBRAND_LIST";
|
|
57
|
-
Permission[Permission["PARTNER_COMMAND_REBRAND_CREATE"] = 30] = "PARTNER_COMMAND_REBRAND_CREATE";
|
|
58
|
-
Permission[Permission["PARTNER_COMMAND_REBRAND_SHOW"] = 31] = "PARTNER_COMMAND_REBRAND_SHOW";
|
|
59
|
-
Permission[Permission["PARTNER_COMMAND_REBRAND_UPDATE"] = 32] = "PARTNER_COMMAND_REBRAND_UPDATE";
|
|
60
|
-
Permission[Permission["PARTNER_COMMAND_REBRAND_DELETE"] = 33] = "PARTNER_COMMAND_REBRAND_DELETE";
|
|
61
|
-
Permission[Permission["PARTNER_COMMAND_REBRAND_ME"] = 34] = "PARTNER_COMMAND_REBRAND_ME";
|
|
62
|
-
Permission[Permission["PARTNER_COMMAND_REBRAND_SUB"] = 35] = "PARTNER_COMMAND_REBRAND_SUB";
|
|
63
|
-
/** COMMAND_SEND_LIST - CommandSend permissions */
|
|
64
|
-
Permission[Permission["COMMAND_SEND_LIST"] = 37] = "COMMAND_SEND_LIST";
|
|
65
|
-
Permission[Permission["COMMAND_SEND_CREATE"] = 38] = "COMMAND_SEND_CREATE";
|
|
66
|
-
Permission[Permission["COMMAND_SEND_ME"] = 40] = "COMMAND_SEND_ME";
|
|
67
|
-
Permission[Permission["COMMAND_SEND_SUB"] = 41] = "COMMAND_SEND_SUB";
|
|
68
|
-
/** DEVICE_LIST - Device permissions */
|
|
69
|
-
Permission[Permission["DEVICE_LIST"] = 42] = "DEVICE_LIST";
|
|
70
|
-
Permission[Permission["DEVICE_CREATE"] = 43] = "DEVICE_CREATE";
|
|
71
|
-
Permission[Permission["DEVICE_SHOW"] = 44] = "DEVICE_SHOW";
|
|
72
|
-
Permission[Permission["DEVICE_UPDATE"] = 45] = "DEVICE_UPDATE";
|
|
73
|
-
Permission[Permission["PARTNER_DEVICE_DELETE"] = 46] = "PARTNER_DEVICE_DELETE";
|
|
74
|
-
Permission[Permission["DEVICE_ME"] = 47] = "DEVICE_ME";
|
|
75
|
-
Permission[Permission["DEVICE_SUB"] = 48] = "DEVICE_SUB";
|
|
76
|
-
/** DEVICE_IO_LIST - Device IO permissions */
|
|
77
|
-
Permission[Permission["DEVICE_IO_LIST"] = 49] = "DEVICE_IO_LIST";
|
|
78
|
-
Permission[Permission["DEVICE_IO_CREATE"] = 50] = "DEVICE_IO_CREATE";
|
|
79
|
-
Permission[Permission["DEVICE_IO_SHOW"] = 51] = "DEVICE_IO_SHOW";
|
|
80
|
-
Permission[Permission["DEVICE_IO_UPDATE"] = 52] = "DEVICE_IO_UPDATE";
|
|
81
|
-
Permission[Permission["DEVICE_IO_DELETE"] = 53] = "DEVICE_IO_DELETE";
|
|
82
|
-
Permission[Permission["DEVICE_IO_ME"] = 54] = "DEVICE_IO_ME";
|
|
83
|
-
Permission[Permission["DEVICE_IO_SUB"] = 55] = "DEVICE_IO_SUB";
|
|
84
|
-
/** OPERATION_LIST - Operations permissions */
|
|
85
|
-
Permission[Permission["OPERATION_LIST"] = 56] = "OPERATION_LIST";
|
|
86
|
-
Permission[Permission["OPERATION_CREATE"] = 57] = "OPERATION_CREATE";
|
|
87
|
-
Permission[Permission["OPERATION_SHOW"] = 58] = "OPERATION_SHOW";
|
|
88
|
-
Permission[Permission["OPERATION_UPDATE"] = 59] = "OPERATION_UPDATE";
|
|
89
|
-
Permission[Permission["OPERATION_DELETE"] = 60] = "OPERATION_DELETE";
|
|
90
|
-
Permission[Permission["OPERATION_ME"] = 61] = "OPERATION_ME";
|
|
91
|
-
Permission[Permission["OPERATION_SUB"] = 62] = "OPERATION_SUB";
|
|
92
|
-
Permission[Permission["OPERATION_ACCEPT"] = 63] = "OPERATION_ACCEPT";
|
|
93
|
-
Permission[Permission["OPERATION_REJECT"] = 64] = "OPERATION_REJECT";
|
|
94
|
-
Permission[Permission["OPERATION_REPORT"] = 65] = "OPERATION_REPORT";
|
|
95
|
-
Permission[Permission["OPERATION_DELETE_AFTER_START"] = 66] = "OPERATION_DELETE_AFTER_START";
|
|
96
|
-
/** AREA_LIST - Area permissions */
|
|
97
|
-
Permission[Permission["AREA_LIST"] = 67] = "AREA_LIST";
|
|
98
|
-
Permission[Permission["AREA_CREATE"] = 68] = "AREA_CREATE";
|
|
99
|
-
Permission[Permission["AREA_SHOW"] = 69] = "AREA_SHOW";
|
|
100
|
-
Permission[Permission["AREA_UPDATE"] = 70] = "AREA_UPDATE";
|
|
101
|
-
Permission[Permission["AREA_DELETE"] = 71] = "AREA_DELETE";
|
|
102
|
-
Permission[Permission["AREA_ME"] = 72] = "AREA_ME";
|
|
103
|
-
Permission[Permission["AREA_SUB"] = 73] = "AREA_SUB";
|
|
104
|
-
/** AREA_CATEGORY_LIST - Area Category permissions */
|
|
105
|
-
Permission[Permission["AREA_CATEGORY_LIST"] = 74] = "AREA_CATEGORY_LIST";
|
|
106
|
-
Permission[Permission["AREA_CATEGORY_CREATE"] = 75] = "AREA_CATEGORY_CREATE";
|
|
107
|
-
Permission[Permission["AREA_CATEGORY_SHOW"] = 76] = "AREA_CATEGORY_SHOW";
|
|
108
|
-
Permission[Permission["AREA_CATEGORY_UPDATE"] = 77] = "AREA_CATEGORY_UPDATE";
|
|
109
|
-
Permission[Permission["AREA_CATEGORY_DELETE"] = 78] = "AREA_CATEGORY_DELETE";
|
|
110
|
-
Permission[Permission["AREA_CATEGORY_ME"] = 79] = "AREA_CATEGORY_ME";
|
|
111
|
-
Permission[Permission["AREA_CATEGORY_SUB"] = 80] = "AREA_CATEGORY_SUB";
|
|
112
|
-
/** ICON_LIST - Icon permissions */
|
|
113
|
-
Permission[Permission["ICON_LIST"] = 88] = "ICON_LIST";
|
|
114
|
-
Permission[Permission["ICON_CREATE"] = 89] = "ICON_CREATE";
|
|
115
|
-
Permission[Permission["ICON_SHOW"] = 90] = "ICON_SHOW";
|
|
116
|
-
Permission[Permission["ICON_UPDATE"] = 91] = "ICON_UPDATE";
|
|
117
|
-
Permission[Permission["ICON_DELETE"] = 92] = "ICON_DELETE";
|
|
118
|
-
Permission[Permission["ICON_ME"] = 93] = "ICON_ME";
|
|
119
|
-
Permission[Permission["ICON_SUB"] = 94] = "ICON_SUB";
|
|
120
|
-
Permission[Permission["ADMIN_ICON_CREATE_DEFAULT"] = 95] = "ADMIN_ICON_CREATE_DEFAULT";
|
|
121
|
-
Permission[Permission["ADMIN_ICON_UPDATE_DEFAULT"] = 96] = "ADMIN_ICON_UPDATE_DEFAULT";
|
|
122
|
-
Permission[Permission["ADMIN_ICON_DELETE_DEFAULT"] = 97] = "ADMIN_ICON_DELETE_DEFAULT";
|
|
123
|
-
/** PARTNER_INVOICE_LIST - Invoice permissions */
|
|
124
|
-
Permission[Permission["PARTNER_INVOICE_LIST"] = 98] = "PARTNER_INVOICE_LIST";
|
|
125
|
-
Permission[Permission["PARTNER_INVOICE_CREATE"] = 99] = "PARTNER_INVOICE_CREATE";
|
|
126
|
-
Permission[Permission["PARTNER_INVOICE_SHOW"] = 100] = "PARTNER_INVOICE_SHOW";
|
|
127
|
-
Permission[Permission["PARTNER_INVOICE_UPDATE"] = 101] = "PARTNER_INVOICE_UPDATE";
|
|
128
|
-
Permission[Permission["PARTNER_INVOICE_DELETE"] = 102] = "PARTNER_INVOICE_DELETE";
|
|
129
|
-
Permission[Permission["PARTNER_INVOICE_ME"] = 103] = "PARTNER_INVOICE_ME";
|
|
130
|
-
Permission[Permission["PARTNER_INVOICE_SUB"] = 104] = "PARTNER_INVOICE_SUB";
|
|
131
|
-
/** NOTIFICATION_LIST - Notification permissions */
|
|
132
|
-
Permission[Permission["NOTIFICATION_LIST"] = 105] = "NOTIFICATION_LIST";
|
|
133
|
-
Permission[Permission["NOTIFICATION_CREATE"] = 106] = "NOTIFICATION_CREATE";
|
|
134
|
-
Permission[Permission["NOTIFICATION_SHOW"] = 107] = "NOTIFICATION_SHOW";
|
|
135
|
-
Permission[Permission["NOTIFICATION_UPDATE"] = 108] = "NOTIFICATION_UPDATE";
|
|
136
|
-
Permission[Permission["NOTIFICATION_DELETE"] = 109] = "NOTIFICATION_DELETE";
|
|
137
|
-
Permission[Permission["NOTIFICATION_ME"] = 110] = "NOTIFICATION_ME";
|
|
138
|
-
Permission[Permission["NOTIFICATION_SUB"] = 111] = "NOTIFICATION_SUB";
|
|
139
|
-
/** ORGANIZATION_LIST - Organization permissions */
|
|
140
|
-
Permission[Permission["ORGANIZATION_LIST"] = 112] = "ORGANIZATION_LIST";
|
|
141
|
-
Permission[Permission["ORGANIZATION_CREATE"] = 113] = "ORGANIZATION_CREATE";
|
|
142
|
-
Permission[Permission["ORGANIZATION_SHOW"] = 114] = "ORGANIZATION_SHOW";
|
|
143
|
-
Permission[Permission["ORGANIZATION_UPDATE"] = 115] = "ORGANIZATION_UPDATE";
|
|
144
|
-
Permission[Permission["ORGANIZATION_DELETE"] = 116] = "ORGANIZATION_DELETE";
|
|
145
|
-
Permission[Permission["ORGANIZATION_ME"] = 117] = "ORGANIZATION_ME";
|
|
146
|
-
Permission[Permission["ORGANIZATION_SUB"] = 118] = "ORGANIZATION_SUB";
|
|
147
|
-
/** PARTNER_ORGANIZATION_SETTING_LIST - OrganizationSetting permissions */
|
|
148
|
-
Permission[Permission["PARTNER_ORGANIZATION_SETTING_LIST"] = 119] = "PARTNER_ORGANIZATION_SETTING_LIST";
|
|
149
|
-
Permission[Permission["PARTNER_ORGANIZATION_SETTING_CREATE"] = 120] = "PARTNER_ORGANIZATION_SETTING_CREATE";
|
|
150
|
-
Permission[Permission["PARTNER_ORGANIZATION_SETTING_SHOW"] = 121] = "PARTNER_ORGANIZATION_SETTING_SHOW";
|
|
151
|
-
Permission[Permission["PARTNER_ORGANIZATION_SETTING_UPDATE"] = 122] = "PARTNER_ORGANIZATION_SETTING_UPDATE";
|
|
152
|
-
Permission[Permission["PARTNER_ORGANIZATION_SETTING_DELETE"] = 123] = "PARTNER_ORGANIZATION_SETTING_DELETE";
|
|
153
|
-
Permission[Permission["PARTNER_ORGANIZATION_SETTING_ME"] = 124] = "PARTNER_ORGANIZATION_SETTING_ME";
|
|
154
|
-
Permission[Permission["PARTNER_ORGANIZATION_SETTING_SUB"] = 125] = "PARTNER_ORGANIZATION_SETTING_SUB";
|
|
155
|
-
/** PERSON_LIST - Person permissions */
|
|
156
|
-
Permission[Permission["PERSON_LIST"] = 126] = "PERSON_LIST";
|
|
157
|
-
Permission[Permission["PERSON_CREATE"] = 127] = "PERSON_CREATE";
|
|
158
|
-
Permission[Permission["PERSON_SHOW"] = 128] = "PERSON_SHOW";
|
|
159
|
-
Permission[Permission["PERSON_UPDATE"] = 129] = "PERSON_UPDATE";
|
|
160
|
-
Permission[Permission["PERSON_DELETE"] = 130] = "PERSON_DELETE";
|
|
161
|
-
Permission[Permission["PERSON_ME"] = 131] = "PERSON_ME";
|
|
162
|
-
Permission[Permission["PERSON_SUB"] = 132] = "PERSON_SUB";
|
|
163
|
-
/** PARTNER_PRINT_CONFIG_LIST - PrintConfig permissions */
|
|
164
|
-
Permission[Permission["PARTNER_PRINT_CONFIG_LIST"] = 133] = "PARTNER_PRINT_CONFIG_LIST";
|
|
165
|
-
Permission[Permission["PARTNER_PRINT_CONFIG_CREATE"] = 134] = "PARTNER_PRINT_CONFIG_CREATE";
|
|
166
|
-
Permission[Permission["PARTNER_PRINT_CONFIG_SHOW"] = 135] = "PARTNER_PRINT_CONFIG_SHOW";
|
|
167
|
-
Permission[Permission["PARTNER_PRINT_CONFIG_UPDATE"] = 136] = "PARTNER_PRINT_CONFIG_UPDATE";
|
|
168
|
-
Permission[Permission["PARTNER_PRINT_CONFIG_DELETE"] = 137] = "PARTNER_PRINT_CONFIG_DELETE";
|
|
169
|
-
Permission[Permission["PARTNER_PRINT_CONFIG_ME"] = 138] = "PARTNER_PRINT_CONFIG_ME";
|
|
170
|
-
Permission[Permission["PARTNER_PRINT_CONFIG_SUB"] = 139] = "PARTNER_PRINT_CONFIG_SUB";
|
|
171
|
-
/** REMINDER_LIST - Reminder permissions */
|
|
172
|
-
Permission[Permission["REMINDER_LIST"] = 140] = "REMINDER_LIST";
|
|
173
|
-
Permission[Permission["REMINDER_CREATE"] = 141] = "REMINDER_CREATE";
|
|
174
|
-
Permission[Permission["REMINDER_SHOW"] = 142] = "REMINDER_SHOW";
|
|
175
|
-
Permission[Permission["REMINDER_UPDATE"] = 143] = "REMINDER_UPDATE";
|
|
176
|
-
Permission[Permission["REMINDER_DELETE"] = 144] = "REMINDER_DELETE";
|
|
177
|
-
Permission[Permission["REMINDER_ME"] = 145] = "REMINDER_ME";
|
|
178
|
-
Permission[Permission["REMINDER_SUB"] = 146] = "REMINDER_SUB";
|
|
179
|
-
/** SHIFT_LIST - Shift permissions */
|
|
180
|
-
Permission[Permission["SHIFT_LIST"] = 147] = "SHIFT_LIST";
|
|
181
|
-
Permission[Permission["SHIFT_CREATE"] = 148] = "SHIFT_CREATE";
|
|
182
|
-
Permission[Permission["SHIFT_SHOW"] = 149] = "SHIFT_SHOW";
|
|
183
|
-
Permission[Permission["SHIFT_UPDATE"] = 150] = "SHIFT_UPDATE";
|
|
184
|
-
Permission[Permission["SHIFT_DELETE"] = 151] = "SHIFT_DELETE";
|
|
185
|
-
Permission[Permission["SHIFT_ME"] = 152] = "SHIFT_ME";
|
|
186
|
-
Permission[Permission["SHIFT_SUB"] = 153] = "SHIFT_SUB";
|
|
187
|
-
/** SIM_CARD_LIST - SimCard permissions */
|
|
188
|
-
Permission[Permission["SIM_CARD_LIST"] = 154] = "SIM_CARD_LIST";
|
|
189
|
-
Permission[Permission["SIM_CARD_CREATE"] = 155] = "SIM_CARD_CREATE";
|
|
190
|
-
Permission[Permission["SIM_CARD_SHOW"] = 156] = "SIM_CARD_SHOW";
|
|
191
|
-
Permission[Permission["SIM_CARD_UPDATE"] = 157] = "SIM_CARD_UPDATE";
|
|
192
|
-
Permission[Permission["SIM_CARD_DELETE"] = 158] = "SIM_CARD_DELETE";
|
|
193
|
-
Permission[Permission["SIM_CARD_ME"] = 159] = "SIM_CARD_ME";
|
|
194
|
-
Permission[Permission["SIM_CARD_SUB"] = 160] = "SIM_CARD_SUB";
|
|
195
|
-
/** USER_DEVICE_CONFIG_LIST - UserDeviceConfig permissions */
|
|
196
|
-
Permission[Permission["USER_DEVICE_CONFIG_LIST"] = 161] = "USER_DEVICE_CONFIG_LIST";
|
|
197
|
-
Permission[Permission["USER_DEVICE_CONFIG_CREATE"] = 162] = "USER_DEVICE_CONFIG_CREATE";
|
|
198
|
-
Permission[Permission["USER_DEVICE_CONFIG_SHOW"] = 163] = "USER_DEVICE_CONFIG_SHOW";
|
|
199
|
-
Permission[Permission["USER_DEVICE_CONFIG_UPDATE"] = 164] = "USER_DEVICE_CONFIG_UPDATE";
|
|
200
|
-
Permission[Permission["USER_DEVICE_CONFIG_DELETE"] = 165] = "USER_DEVICE_CONFIG_DELETE";
|
|
201
|
-
Permission[Permission["USER_DEVICE_CONFIG_ME"] = 166] = "USER_DEVICE_CONFIG_ME";
|
|
202
|
-
Permission[Permission["USER_DEVICE_CONFIG_SUB"] = 167] = "USER_DEVICE_CONFIG_SUB";
|
|
203
|
-
/** PARTNER_WAREHOUSE_LIST - Warehouse permissions */
|
|
204
|
-
Permission[Permission["PARTNER_WAREHOUSE_LIST"] = 168] = "PARTNER_WAREHOUSE_LIST";
|
|
205
|
-
Permission[Permission["PARTNER_WAREHOUSE_CREATE"] = 169] = "PARTNER_WAREHOUSE_CREATE";
|
|
206
|
-
Permission[Permission["PARTNER_WAREHOUSE_SHOW"] = 170] = "PARTNER_WAREHOUSE_SHOW";
|
|
207
|
-
Permission[Permission["PARTNER_WAREHOUSE_UPDATE"] = 171] = "PARTNER_WAREHOUSE_UPDATE";
|
|
208
|
-
Permission[Permission["PARTNER_WAREHOUSE_DELETE"] = 172] = "PARTNER_WAREHOUSE_DELETE";
|
|
209
|
-
Permission[Permission["PARTNER_WAREHOUSE_ME"] = 173] = "PARTNER_WAREHOUSE_ME";
|
|
210
|
-
Permission[Permission["PARTNER_WAREHOUSE_SUB"] = 174] = "PARTNER_WAREHOUSE_SUB";
|
|
211
|
-
/** PHONE_BOOK_LIST - PhoneBook permissions */
|
|
212
|
-
Permission[Permission["PHONE_BOOK_LIST"] = 175] = "PHONE_BOOK_LIST";
|
|
213
|
-
Permission[Permission["PHONE_BOOK_CREATE"] = 176] = "PHONE_BOOK_CREATE";
|
|
214
|
-
Permission[Permission["PHONE_BOOK_SHOW"] = 177] = "PHONE_BOOK_SHOW";
|
|
215
|
-
Permission[Permission["PHONE_BOOK_UPDATE"] = 178] = "PHONE_BOOK_UPDATE";
|
|
216
|
-
Permission[Permission["PHONE_BOOK_DELETE"] = 179] = "PHONE_BOOK_DELETE";
|
|
217
|
-
Permission[Permission["PHONE_BOOK_ME"] = 180] = "PHONE_BOOK_ME";
|
|
218
|
-
Permission[Permission["PHONE_BOOK_SUB"] = 181] = "PHONE_BOOK_SUB";
|
|
219
|
-
/** ROLE_LIST - Role permissions */
|
|
220
|
-
Permission[Permission["ROLE_LIST"] = 182] = "ROLE_LIST";
|
|
221
|
-
Permission[Permission["ROLE_CREATE"] = 183] = "ROLE_CREATE";
|
|
222
|
-
Permission[Permission["ROLE_SHOW"] = 184] = "ROLE_SHOW";
|
|
223
|
-
Permission[Permission["ROLE_UPDATE"] = 185] = "ROLE_UPDATE";
|
|
224
|
-
Permission[Permission["ROLE_DELETE"] = 186] = "ROLE_DELETE";
|
|
225
|
-
Permission[Permission["ROLE_ME"] = 187] = "ROLE_ME";
|
|
226
|
-
Permission[Permission["ROLE_SUB"] = 188] = "ROLE_SUB";
|
|
227
|
-
/** SERVICE_LIST - Service permissions */
|
|
228
|
-
Permission[Permission["SERVICE_LIST"] = 196] = "SERVICE_LIST";
|
|
229
|
-
Permission[Permission["SERVICE_CREATE"] = 197] = "SERVICE_CREATE";
|
|
230
|
-
Permission[Permission["SERVICE_SHOW"] = 198] = "SERVICE_SHOW";
|
|
231
|
-
Permission[Permission["SERVICE_UPDATE"] = 199] = "SERVICE_UPDATE";
|
|
232
|
-
Permission[Permission["SERVICE_DELETE"] = 200] = "SERVICE_DELETE";
|
|
233
|
-
Permission[Permission["SERVICE_ME"] = 201] = "SERVICE_ME";
|
|
234
|
-
Permission[Permission["SERVICE_SUB"] = 202] = "SERVICE_SUB";
|
|
235
|
-
/** SERVICE_CAR_LIST - Service Car permissions */
|
|
236
|
-
Permission[Permission["SERVICE_CAR_LIST"] = 203] = "SERVICE_CAR_LIST";
|
|
237
|
-
Permission[Permission["SERVICE_CAR_CREATE"] = 204] = "SERVICE_CAR_CREATE";
|
|
238
|
-
Permission[Permission["SERVICE_CAR_SHOW"] = 205] = "SERVICE_CAR_SHOW";
|
|
239
|
-
Permission[Permission["SERVICE_CAR_UPDATE"] = 206] = "SERVICE_CAR_UPDATE";
|
|
240
|
-
Permission[Permission["SERVICE_CAR_DELETE"] = 207] = "SERVICE_CAR_DELETE";
|
|
241
|
-
Permission[Permission["SERVICE_CAR_ME"] = 208] = "SERVICE_CAR_ME";
|
|
242
|
-
Permission[Permission["SERVICE_CAR_SUB"] = 209] = "SERVICE_CAR_SUB";
|
|
243
|
-
/** LIVE_LOCATION_LIST - LiveLocation permissions */
|
|
244
|
-
Permission[Permission["LIVE_LOCATION_LIST"] = 210] = "LIVE_LOCATION_LIST";
|
|
245
|
-
Permission[Permission["LIVE_LOCATION_CREATE"] = 211] = "LIVE_LOCATION_CREATE";
|
|
246
|
-
Permission[Permission["LIVE_LOCATION_SHOW"] = 212] = "LIVE_LOCATION_SHOW";
|
|
247
|
-
Permission[Permission["LIVE_LOCATION_UPDATE"] = 213] = "LIVE_LOCATION_UPDATE";
|
|
248
|
-
Permission[Permission["LIVE_LOCATION_DELETE"] = 214] = "LIVE_LOCATION_DELETE";
|
|
249
|
-
Permission[Permission["LIVE_LOCATION_ME"] = 215] = "LIVE_LOCATION_ME";
|
|
250
|
-
Permission[Permission["LIVE_LOCATION_SUB"] = 216] = "LIVE_LOCATION_SUB";
|
|
251
|
-
/** PARTNER_INSTALLATION_AGENCY_LIST - InstallationAgency permissions */
|
|
252
|
-
Permission[Permission["PARTNER_INSTALLATION_AGENCY_LIST"] = 217] = "PARTNER_INSTALLATION_AGENCY_LIST";
|
|
253
|
-
Permission[Permission["PARTNER_INSTALLATION_AGENCY_CREATE"] = 218] = "PARTNER_INSTALLATION_AGENCY_CREATE";
|
|
254
|
-
Permission[Permission["PARTNER_INSTALLATION_AGENCY_SHOW"] = 219] = "PARTNER_INSTALLATION_AGENCY_SHOW";
|
|
255
|
-
Permission[Permission["PARTNER_INSTALLATION_AGENCY_UPDATE"] = 220] = "PARTNER_INSTALLATION_AGENCY_UPDATE";
|
|
256
|
-
Permission[Permission["PARTNER_INSTALLATION_AGENCY_DELETE"] = 221] = "PARTNER_INSTALLATION_AGENCY_DELETE";
|
|
257
|
-
Permission[Permission["PARTNER_INSTALLATION_AGENCY_ME"] = 222] = "PARTNER_INSTALLATION_AGENCY_ME";
|
|
258
|
-
Permission[Permission["PARTNER_INSTALLATION_AGENCY_SUB"] = 223] = "PARTNER_INSTALLATION_AGENCY_SUB";
|
|
259
|
-
/** PARTNER_SALES_AGENCY_REPORT - SalesAgency permissions */
|
|
260
|
-
Permission[Permission["PARTNER_SALES_AGENCY_REPORT"] = 224] = "PARTNER_SALES_AGENCY_REPORT";
|
|
261
|
-
Permission[Permission["PARTNER_SALES_AGENCY_PRICE_LIST"] = 225] = "PARTNER_SALES_AGENCY_PRICE_LIST";
|
|
262
|
-
Permission[Permission["PARTNER_SALES_AGENCY_PRICE_UPDATE"] = 226] = "PARTNER_SALES_AGENCY_PRICE_UPDATE";
|
|
263
|
-
Permission[Permission["PARTNER_SALES_AGENCY_REQUEST_LIST"] = 227] = "PARTNER_SALES_AGENCY_REQUEST_LIST";
|
|
264
|
-
Permission[Permission["PARTNER_SALES_AGENCY_REQUEST_CREATE"] = 228] = "PARTNER_SALES_AGENCY_REQUEST_CREATE";
|
|
265
|
-
Permission[Permission["PARTNER_SALES_AGENCY_REQUEST_ACCEPT"] = 229] = "PARTNER_SALES_AGENCY_REQUEST_ACCEPT";
|
|
266
|
-
Permission[Permission["PARTNER_SALES_AGENCY_REQUEST_REJECT"] = 230] = "PARTNER_SALES_AGENCY_REQUEST_REJECT";
|
|
267
|
-
Permission[Permission["PARTNER_SALES_AGENCY_LIST"] = 231] = "PARTNER_SALES_AGENCY_LIST";
|
|
268
|
-
Permission[Permission["PARTNER_SALES_AGENCY_CREATE"] = 232] = "PARTNER_SALES_AGENCY_CREATE";
|
|
269
|
-
Permission[Permission["PARTNER_SALES_AGENCY_SHOW"] = 233] = "PARTNER_SALES_AGENCY_SHOW";
|
|
270
|
-
Permission[Permission["PARTNER_SALES_AGENCY_UPDATE"] = 234] = "PARTNER_SALES_AGENCY_UPDATE";
|
|
271
|
-
Permission[Permission["PARTNER_SALES_AGENCY_DELETE"] = 235] = "PARTNER_SALES_AGENCY_DELETE";
|
|
272
|
-
Permission[Permission["PARTNER_SALES_AGENCY_ME"] = 236] = "PARTNER_SALES_AGENCY_ME";
|
|
273
|
-
Permission[Permission["PARTNER_SALES_AGENCY_SUB"] = 237] = "PARTNER_SALES_AGENCY_SUB";
|
|
274
|
-
/** TRANSACTION_LIST - Transaction permissions */
|
|
275
|
-
Permission[Permission["TRANSACTION_LIST"] = 238] = "TRANSACTION_LIST";
|
|
276
|
-
Permission[Permission["TRANSACTION_CREATE"] = 239] = "TRANSACTION_CREATE";
|
|
277
|
-
Permission[Permission["TRANSACTION_SHOW"] = 240] = "TRANSACTION_SHOW";
|
|
278
|
-
Permission[Permission["TRANSACTION_UPDATE"] = 241] = "TRANSACTION_UPDATE";
|
|
279
|
-
Permission[Permission["TRANSACTION_DELETE"] = 242] = "TRANSACTION_DELETE";
|
|
280
|
-
Permission[Permission["TRANSACTION_ME"] = 243] = "TRANSACTION_ME";
|
|
281
|
-
Permission[Permission["TRANSACTION_SUB"] = 244] = "TRANSACTION_SUB";
|
|
282
|
-
Permission[Permission["TRANSACTION_CONFIRM"] = 245] = "TRANSACTION_CONFIRM";
|
|
283
|
-
/** TRANSACTION_SUMMARY_LIST - TransactionSummary permissions */
|
|
284
|
-
Permission[Permission["TRANSACTION_SUMMARY_LIST"] = 246] = "TRANSACTION_SUMMARY_LIST";
|
|
285
|
-
Permission[Permission["TRANSACTION_SUMMARY_CREATE"] = 247] = "TRANSACTION_SUMMARY_CREATE";
|
|
286
|
-
Permission[Permission["TRANSACTION_SUMMARY_SHOW"] = 248] = "TRANSACTION_SUMMARY_SHOW";
|
|
287
|
-
Permission[Permission["TRANSACTION_SUMMARY_UPDATE"] = 249] = "TRANSACTION_SUMMARY_UPDATE";
|
|
288
|
-
Permission[Permission["TRANSACTION_SUMMARY_DELETE"] = 250] = "TRANSACTION_SUMMARY_DELETE";
|
|
289
|
-
Permission[Permission["TRANSACTION_SUMMARY_ME"] = 251] = "TRANSACTION_SUMMARY_ME";
|
|
290
|
-
Permission[Permission["TRANSACTION_SUMMARY_SUB"] = 252] = "TRANSACTION_SUMMARY_SUB";
|
|
291
|
-
/** WALLET_LIST - Wallet permissions */
|
|
292
|
-
Permission[Permission["WALLET_LIST"] = 253] = "WALLET_LIST";
|
|
293
|
-
Permission[Permission["WALLET_CREATE"] = 254] = "WALLET_CREATE";
|
|
294
|
-
Permission[Permission["WALLET_SHOW"] = 255] = "WALLET_SHOW";
|
|
295
|
-
Permission[Permission["WALLET_UPDATE"] = 256] = "WALLET_UPDATE";
|
|
296
|
-
Permission[Permission["WALLET_DELETE"] = 257] = "WALLET_DELETE";
|
|
297
|
-
Permission[Permission["WALLET_ME"] = 258] = "WALLET_ME";
|
|
298
|
-
Permission[Permission["WALLET_SUB"] = 259] = "WALLET_SUB";
|
|
299
|
-
Permission[Permission["WALLET_TRANSACTION"] = 260] = "WALLET_TRANSACTION";
|
|
300
|
-
Permission[Permission["WALLET_TRANSACTION_SUB"] = 261] = "WALLET_TRANSACTION_SUB";
|
|
301
|
-
/** BANK_ACCOUNT_LIST - BankAccount permissions */
|
|
302
|
-
Permission[Permission["BANK_ACCOUNT_LIST"] = 262] = "BANK_ACCOUNT_LIST";
|
|
303
|
-
Permission[Permission["BANK_ACCOUNT_CREATE"] = 263] = "BANK_ACCOUNT_CREATE";
|
|
304
|
-
Permission[Permission["BANK_ACCOUNT_SHOW"] = 264] = "BANK_ACCOUNT_SHOW";
|
|
305
|
-
Permission[Permission["BANK_ACCOUNT_UPDATE"] = 265] = "BANK_ACCOUNT_UPDATE";
|
|
306
|
-
Permission[Permission["BANK_ACCOUNT_DELETE"] = 266] = "BANK_ACCOUNT_DELETE";
|
|
307
|
-
Permission[Permission["BANK_ACCOUNT_ME"] = 267] = "BANK_ACCOUNT_ME";
|
|
308
|
-
Permission[Permission["BANK_ACCOUNT_SUB"] = 268] = "BANK_ACCOUNT_SUB";
|
|
309
|
-
/** TRACKERS_LIST - Trackers permissions */
|
|
310
|
-
Permission[Permission["TRACKERS_LIST"] = 269] = "TRACKERS_LIST";
|
|
311
|
-
Permission[Permission["ADMIN_TRACKERS_CREATE"] = 270] = "ADMIN_TRACKERS_CREATE";
|
|
312
|
-
Permission[Permission["TRACKERS_SHOW"] = 271] = "TRACKERS_SHOW";
|
|
313
|
-
Permission[Permission["ADMIN_TRACKERS_UPDATE"] = 272] = "ADMIN_TRACKERS_UPDATE";
|
|
314
|
-
Permission[Permission["ADMIN_TRACKERS_DELETE"] = 273] = "ADMIN_TRACKERS_DELETE";
|
|
315
|
-
Permission[Permission["TRACKERS_ME"] = 274] = "TRACKERS_ME";
|
|
316
|
-
Permission[Permission["TRACKERS_SUB"] = 275] = "TRACKERS_SUB";
|
|
317
|
-
Permission[Permission["PARTNER_TRACKERS_REBRAND_LIST"] = 276] = "PARTNER_TRACKERS_REBRAND_LIST";
|
|
318
|
-
Permission[Permission["PARTNER_TRACKERS_REBRAND_CREATE"] = 277] = "PARTNER_TRACKERS_REBRAND_CREATE";
|
|
319
|
-
Permission[Permission["PARTNER_TRACKERS_REBRAND_SHOW"] = 278] = "PARTNER_TRACKERS_REBRAND_SHOW";
|
|
320
|
-
Permission[Permission["PARTNER_TRACKERS_REBRAND_UPDATE"] = 279] = "PARTNER_TRACKERS_REBRAND_UPDATE";
|
|
321
|
-
Permission[Permission["PARTNER_TRACKERS_REBRAND_DELETE"] = 280] = "PARTNER_TRACKERS_REBRAND_DELETE";
|
|
322
|
-
Permission[Permission["PARTNER_TRACKERS_REBRAND_ME"] = 281] = "PARTNER_TRACKERS_REBRAND_ME";
|
|
323
|
-
Permission[Permission["PARTNER_TRACKERS_REBRAND_SUB"] = 282] = "PARTNER_TRACKERS_REBRAND_SUB";
|
|
324
|
-
/** CAR_TYPE_LIST - CarType permissions */
|
|
325
|
-
Permission[Permission["CAR_TYPE_LIST"] = 283] = "CAR_TYPE_LIST";
|
|
326
|
-
Permission[Permission["CAR_TYPE_CREATE"] = 284] = "CAR_TYPE_CREATE";
|
|
327
|
-
Permission[Permission["CAR_TYPE_SHOW"] = 285] = "CAR_TYPE_SHOW";
|
|
328
|
-
Permission[Permission["CAR_TYPE_UPDATE"] = 286] = "CAR_TYPE_UPDATE";
|
|
329
|
-
Permission[Permission["CAR_TYPE_DELETE"] = 287] = "CAR_TYPE_DELETE";
|
|
330
|
-
Permission[Permission["CAR_TYPE_ME"] = 288] = "CAR_TYPE_ME";
|
|
331
|
-
Permission[Permission["CAR_TYPE_SUB"] = 289] = "CAR_TYPE_SUB";
|
|
332
|
-
/** CAR_GROUP_LIST - CarGroup permissions */
|
|
333
|
-
Permission[Permission["CAR_GROUP_LIST"] = 290] = "CAR_GROUP_LIST";
|
|
334
|
-
Permission[Permission["CAR_GROUP_CREATE"] = 291] = "CAR_GROUP_CREATE";
|
|
335
|
-
Permission[Permission["CAR_GROUP_SHOW"] = 292] = "CAR_GROUP_SHOW";
|
|
336
|
-
Permission[Permission["CAR_GROUP_UPDATE"] = 293] = "CAR_GROUP_UPDATE";
|
|
337
|
-
Permission[Permission["CAR_GROUP_DELETE"] = 294] = "CAR_GROUP_DELETE";
|
|
338
|
-
Permission[Permission["CAR_GROUP_ME"] = 295] = "CAR_GROUP_ME";
|
|
339
|
-
Permission[Permission["CAR_GROUP_SUB"] = 296] = "CAR_GROUP_SUB";
|
|
340
|
-
/** WARRANTY_LIST - Warranty permissions */
|
|
341
|
-
Permission[Permission["WARRANTY_LIST"] = 297] = "WARRANTY_LIST";
|
|
342
|
-
Permission[Permission["WARRANTY_CREATE"] = 298] = "WARRANTY_CREATE";
|
|
343
|
-
Permission[Permission["WARRANTY_SHOW"] = 299] = "WARRANTY_SHOW";
|
|
344
|
-
Permission[Permission["WARRANTY_UPDATE"] = 300] = "WARRANTY_UPDATE";
|
|
345
|
-
Permission[Permission["WARRANTY_DELETE"] = 301] = "WARRANTY_DELETE";
|
|
346
|
-
Permission[Permission["WARRANTY_ME"] = 302] = "WARRANTY_ME";
|
|
347
|
-
Permission[Permission["WARRANTY_SUB"] = 303] = "WARRANTY_SUB";
|
|
348
|
-
/** PARTNER_WAREHOUSE_PRODUCT_LIST - WarehouseProduct permissions */
|
|
349
|
-
Permission[Permission["PARTNER_WAREHOUSE_PRODUCT_LIST"] = 304] = "PARTNER_WAREHOUSE_PRODUCT_LIST";
|
|
350
|
-
Permission[Permission["PARTNER_WAREHOUSE_PRODUCT_CREATE"] = 305] = "PARTNER_WAREHOUSE_PRODUCT_CREATE";
|
|
351
|
-
Permission[Permission["PARTNER_WAREHOUSE_PRODUCT_SHOW"] = 306] = "PARTNER_WAREHOUSE_PRODUCT_SHOW";
|
|
352
|
-
Permission[Permission["PARTNER_WAREHOUSE_PRODUCT_UPDATE"] = 307] = "PARTNER_WAREHOUSE_PRODUCT_UPDATE";
|
|
353
|
-
Permission[Permission["PARTNER_WAREHOUSE_PRODUCT_DELETE"] = 308] = "PARTNER_WAREHOUSE_PRODUCT_DELETE";
|
|
354
|
-
Permission[Permission["PARTNER_WAREHOUSE_PRODUCT_ME"] = 309] = "PARTNER_WAREHOUSE_PRODUCT_ME";
|
|
355
|
-
Permission[Permission["PARTNER_WAREHOUSE_PRODUCT_SUB"] = 310] = "PARTNER_WAREHOUSE_PRODUCT_SUB";
|
|
356
|
-
/** PRODUCT_LIST - Product permissions */
|
|
357
|
-
Permission[Permission["PRODUCT_LIST"] = 311] = "PRODUCT_LIST";
|
|
358
|
-
Permission[Permission["PRODUCT_CREATE"] = 312] = "PRODUCT_CREATE";
|
|
359
|
-
Permission[Permission["PRODUCT_SHOW"] = 313] = "PRODUCT_SHOW";
|
|
360
|
-
Permission[Permission["PRODUCT_UPDATE"] = 314] = "PRODUCT_UPDATE";
|
|
361
|
-
Permission[Permission["PRODUCT_DELETE"] = 315] = "PRODUCT_DELETE";
|
|
362
|
-
Permission[Permission["PRODUCT_ME"] = 316] = "PRODUCT_ME";
|
|
363
|
-
Permission[Permission["PRODUCT_SUB"] = 317] = "PRODUCT_SUB";
|
|
364
|
-
/** PARTNER_WAREHOUSE_ACTION_LIST - WarehouseAction permissions */
|
|
365
|
-
Permission[Permission["PARTNER_WAREHOUSE_ACTION_LIST"] = 318] = "PARTNER_WAREHOUSE_ACTION_LIST";
|
|
366
|
-
Permission[Permission["PARTNER_WAREHOUSE_ACTION_CREATE"] = 319] = "PARTNER_WAREHOUSE_ACTION_CREATE";
|
|
367
|
-
Permission[Permission["PARTNER_WAREHOUSE_ACTION_SHOW"] = 320] = "PARTNER_WAREHOUSE_ACTION_SHOW";
|
|
368
|
-
Permission[Permission["PARTNER_WAREHOUSE_ACTION_UPDATE"] = 321] = "PARTNER_WAREHOUSE_ACTION_UPDATE";
|
|
369
|
-
Permission[Permission["PARTNER_WAREHOUSE_ACTION_DELETE"] = 322] = "PARTNER_WAREHOUSE_ACTION_DELETE";
|
|
370
|
-
Permission[Permission["PARTNER_WAREHOUSE_ACTION_ME"] = 323] = "PARTNER_WAREHOUSE_ACTION_ME";
|
|
371
|
-
Permission[Permission["PARTNER_WAREHOUSE_ACTION_SUB"] = 324] = "PARTNER_WAREHOUSE_ACTION_SUB";
|
|
372
|
-
/** SUBSCRIPTION_LIST - Subscription permissions */
|
|
373
|
-
Permission[Permission["SUBSCRIPTION_LIST"] = 325] = "SUBSCRIPTION_LIST";
|
|
374
|
-
Permission[Permission["SUBSCRIPTION_CREATE"] = 326] = "SUBSCRIPTION_CREATE";
|
|
375
|
-
Permission[Permission["SUBSCRIPTION_SHOW"] = 327] = "SUBSCRIPTION_SHOW";
|
|
376
|
-
Permission[Permission["SUBSCRIPTION_UPDATE"] = 328] = "SUBSCRIPTION_UPDATE";
|
|
377
|
-
Permission[Permission["SUBSCRIPTION_DELETE"] = 329] = "SUBSCRIPTION_DELETE";
|
|
378
|
-
Permission[Permission["SUBSCRIPTION_ME"] = 330] = "SUBSCRIPTION_ME";
|
|
379
|
-
Permission[Permission["SUBSCRIPTION_SUB"] = 331] = "SUBSCRIPTION_SUB";
|
|
380
|
-
/** PARTNER_PAYMENT_GATEWAY_LIST - PaymentGateway permissions */
|
|
381
|
-
Permission[Permission["PARTNER_PAYMENT_GATEWAY_LIST"] = 332] = "PARTNER_PAYMENT_GATEWAY_LIST";
|
|
382
|
-
Permission[Permission["PARTNER_PAYMENT_GATEWAY_CREATE"] = 333] = "PARTNER_PAYMENT_GATEWAY_CREATE";
|
|
383
|
-
Permission[Permission["PARTNER_PAYMENT_GATEWAY_SHOW"] = 334] = "PARTNER_PAYMENT_GATEWAY_SHOW";
|
|
384
|
-
Permission[Permission["PARTNER_PAYMENT_GATEWAY_UPDATE"] = 335] = "PARTNER_PAYMENT_GATEWAY_UPDATE";
|
|
385
|
-
Permission[Permission["PARTNER_PAYMENT_GATEWAY_DELETE"] = 336] = "PARTNER_PAYMENT_GATEWAY_DELETE";
|
|
386
|
-
Permission[Permission["PARTNER_PAYMENT_GATEWAY_ME"] = 337] = "PARTNER_PAYMENT_GATEWAY_ME";
|
|
387
|
-
Permission[Permission["PARTNER_PAYMENT_GATEWAY_SUB"] = 338] = "PARTNER_PAYMENT_GATEWAY_SUB";
|
|
388
|
-
/** WALLET_TRANSACTION_LOG_LIST - WalletTransactionLog permissions */
|
|
389
|
-
Permission[Permission["WALLET_TRANSACTION_LOG_LIST"] = 339] = "WALLET_TRANSACTION_LOG_LIST";
|
|
390
|
-
Permission[Permission["WALLET_TRANSACTION_LOG_SHOW"] = 340] = "WALLET_TRANSACTION_LOG_SHOW";
|
|
391
|
-
/** PARTNER_AVAILABLE_CONFIG_LIST - AvailableConfig permissions */
|
|
392
|
-
Permission[Permission["PARTNER_AVAILABLE_CONFIG_LIST"] = 348] = "PARTNER_AVAILABLE_CONFIG_LIST";
|
|
393
|
-
Permission[Permission["ADMIN_AVAILABLE_CONFIG_CREATE"] = 349] = "ADMIN_AVAILABLE_CONFIG_CREATE";
|
|
394
|
-
Permission[Permission["PARTNER_AVAILABLE_CONFIG_SHOW"] = 350] = "PARTNER_AVAILABLE_CONFIG_SHOW";
|
|
395
|
-
Permission[Permission["ADMIN_AVAILABLE_CONFIG_UPDATE"] = 351] = "ADMIN_AVAILABLE_CONFIG_UPDATE";
|
|
396
|
-
Permission[Permission["ADMIN_AVAILABLE_CONFIG_DELETE"] = 352] = "ADMIN_AVAILABLE_CONFIG_DELETE";
|
|
397
|
-
Permission[Permission["PARTNER_AVAILABLE_CONFIG_ME"] = 353] = "PARTNER_AVAILABLE_CONFIG_ME";
|
|
398
|
-
Permission[Permission["PARTNER_AVAILABLE_CONFIG_SUB"] = 354] = "PARTNER_AVAILABLE_CONFIG_SUB";
|
|
399
|
-
/** DRIVERS_LIST - Drivers permissions */
|
|
400
|
-
Permission[Permission["DRIVERS_LIST"] = 355] = "DRIVERS_LIST";
|
|
401
|
-
Permission[Permission["DRIVERS_CREATE"] = 356] = "DRIVERS_CREATE";
|
|
402
|
-
Permission[Permission["DRIVERS_SHOW"] = 357] = "DRIVERS_SHOW";
|
|
403
|
-
Permission[Permission["DRIVERS_UPDATE"] = 358] = "DRIVERS_UPDATE";
|
|
404
|
-
Permission[Permission["DRIVERS_DELETE"] = 359] = "DRIVERS_DELETE";
|
|
405
|
-
Permission[Permission["DRIVERS_ME"] = 360] = "DRIVERS_ME";
|
|
406
|
-
Permission[Permission["DRIVERS_SUB"] = 361] = "DRIVERS_SUB";
|
|
407
|
-
/** CAR_DRIVERS_LIST - CarDrivers permissions */
|
|
408
|
-
Permission[Permission["CAR_DRIVERS_LIST"] = 362] = "CAR_DRIVERS_LIST";
|
|
409
|
-
Permission[Permission["CAR_DRIVERS_CREATE"] = 363] = "CAR_DRIVERS_CREATE";
|
|
410
|
-
Permission[Permission["CAR_DRIVERS_SHOW"] = 364] = "CAR_DRIVERS_SHOW";
|
|
411
|
-
Permission[Permission["CAR_DRIVERS_UPDATE"] = 365] = "CAR_DRIVERS_UPDATE";
|
|
412
|
-
Permission[Permission["CAR_DRIVERS_DELETE"] = 366] = "CAR_DRIVERS_DELETE";
|
|
413
|
-
Permission[Permission["CAR_DRIVERS_ME"] = 367] = "CAR_DRIVERS_ME";
|
|
414
|
-
Permission[Permission["CAR_DRIVERS_SUB"] = 368] = "CAR_DRIVERS_SUB";
|
|
415
|
-
/** CAR_ASSIGN_DRIVERS_LIST - CarAssignDrivers permissions */
|
|
416
|
-
Permission[Permission["CAR_ASSIGN_DRIVERS_LIST"] = 369] = "CAR_ASSIGN_DRIVERS_LIST";
|
|
417
|
-
Permission[Permission["CAR_ASSIGN_DRIVERS_CREATE"] = 370] = "CAR_ASSIGN_DRIVERS_CREATE";
|
|
418
|
-
Permission[Permission["CAR_ASSIGN_DRIVERS_SHOW"] = 371] = "CAR_ASSIGN_DRIVERS_SHOW";
|
|
419
|
-
Permission[Permission["CAR_ASSIGN_DRIVERS_UPDATE"] = 372] = "CAR_ASSIGN_DRIVERS_UPDATE";
|
|
420
|
-
Permission[Permission["CAR_ASSIGN_DRIVERS_DELETE"] = 373] = "CAR_ASSIGN_DRIVERS_DELETE";
|
|
421
|
-
Permission[Permission["CAR_ASSIGN_DRIVERS_ME"] = 374] = "CAR_ASSIGN_DRIVERS_ME";
|
|
422
|
-
Permission[Permission["CAR_ASSIGN_DRIVERS_SUB"] = 375] = "CAR_ASSIGN_DRIVERS_SUB";
|
|
423
|
-
/** TASK_LIST - Task permissions */
|
|
424
|
-
Permission[Permission["TASK_LIST"] = 376] = "TASK_LIST";
|
|
425
|
-
Permission[Permission["TASK_CREATE"] = 377] = "TASK_CREATE";
|
|
426
|
-
Permission[Permission["TASK_SHOW"] = 378] = "TASK_SHOW";
|
|
427
|
-
Permission[Permission["TASK_UPDATE"] = 379] = "TASK_UPDATE";
|
|
428
|
-
Permission[Permission["TASK_DELETE"] = 380] = "TASK_DELETE";
|
|
429
|
-
Permission[Permission["TASK_ME"] = 381] = "TASK_ME";
|
|
430
|
-
Permission[Permission["TASK_SUB"] = 382] = "TASK_SUB";
|
|
431
|
-
/** PROJECT_LIST - Project permissions */
|
|
432
|
-
Permission[Permission["PROJECT_LIST"] = 383] = "PROJECT_LIST";
|
|
433
|
-
Permission[Permission["PROJECT_CREATE"] = 384] = "PROJECT_CREATE";
|
|
434
|
-
Permission[Permission["PROJECT_SHOW"] = 385] = "PROJECT_SHOW";
|
|
435
|
-
Permission[Permission["PROJECT_UPDATE"] = 386] = "PROJECT_UPDATE";
|
|
436
|
-
Permission[Permission["PROJECT_DELETE"] = 387] = "PROJECT_DELETE";
|
|
437
|
-
Permission[Permission["PROJECT_ME"] = 388] = "PROJECT_ME";
|
|
438
|
-
Permission[Permission["PROJECT_SUB"] = 389] = "PROJECT_SUB";
|
|
439
|
-
/** PROJECT_CAR_LIST - ProjectCar permissions */
|
|
440
|
-
Permission[Permission["PROJECT_CAR_LIST"] = 390] = "PROJECT_CAR_LIST";
|
|
441
|
-
Permission[Permission["PROJECT_CAR_CREATE"] = 391] = "PROJECT_CAR_CREATE";
|
|
442
|
-
Permission[Permission["PROJECT_CAR_SHOW"] = 392] = "PROJECT_CAR_SHOW";
|
|
443
|
-
Permission[Permission["PROJECT_CAR_UPDATE"] = 393] = "PROJECT_CAR_UPDATE";
|
|
444
|
-
Permission[Permission["PROJECT_CAR_DELETE"] = 394] = "PROJECT_CAR_DELETE";
|
|
445
|
-
Permission[Permission["PROJECT_CAR_ME"] = 395] = "PROJECT_CAR_ME";
|
|
446
|
-
Permission[Permission["PROJECT_CAR_SUB"] = 396] = "PROJECT_CAR_SUB";
|
|
447
|
-
/** PARTS_LIST - Parts permissions */
|
|
448
|
-
Permission[Permission["PARTS_LIST"] = 397] = "PARTS_LIST";
|
|
449
|
-
Permission[Permission["PARTS_CREATE"] = 398] = "PARTS_CREATE";
|
|
450
|
-
Permission[Permission["PARTS_SHOW"] = 399] = "PARTS_SHOW";
|
|
451
|
-
Permission[Permission["PARTS_UPDATE"] = 400] = "PARTS_UPDATE";
|
|
452
|
-
Permission[Permission["PARTS_DELETE"] = 401] = "PARTS_DELETE";
|
|
453
|
-
Permission[Permission["PARTS_ME"] = 402] = "PARTS_ME";
|
|
454
|
-
Permission[Permission["PARTS_SUB"] = 403] = "PARTS_SUB";
|
|
455
|
-
/** PARTS_WAREHOUSE_LIST - PartsWarehouse permissions */
|
|
456
|
-
Permission[Permission["PARTS_WAREHOUSE_LIST"] = 404] = "PARTS_WAREHOUSE_LIST";
|
|
457
|
-
Permission[Permission["PARTS_WAREHOUSE_CREATE"] = 405] = "PARTS_WAREHOUSE_CREATE";
|
|
458
|
-
Permission[Permission["PARTS_WAREHOUSE_SHOW"] = 406] = "PARTS_WAREHOUSE_SHOW";
|
|
459
|
-
Permission[Permission["PARTS_WAREHOUSE_UPDATE"] = 407] = "PARTS_WAREHOUSE_UPDATE";
|
|
460
|
-
Permission[Permission["PARTS_WAREHOUSE_DELETE"] = 408] = "PARTS_WAREHOUSE_DELETE";
|
|
461
|
-
Permission[Permission["PARTS_WAREHOUSE_ME"] = 409] = "PARTS_WAREHOUSE_ME";
|
|
462
|
-
Permission[Permission["PARTS_WAREHOUSE_SUB"] = 410] = "PARTS_WAREHOUSE_SUB";
|
|
463
|
-
/** PARTS_PROVIDER_LIST - PartsProvider permissions */
|
|
464
|
-
Permission[Permission["PARTS_PROVIDER_LIST"] = 411] = "PARTS_PROVIDER_LIST";
|
|
465
|
-
Permission[Permission["PARTS_PROVIDER_CREATE"] = 412] = "PARTS_PROVIDER_CREATE";
|
|
466
|
-
Permission[Permission["PARTS_PROVIDER_SHOW"] = 413] = "PARTS_PROVIDER_SHOW";
|
|
467
|
-
Permission[Permission["PARTS_PROVIDER_UPDATE"] = 414] = "PARTS_PROVIDER_UPDATE";
|
|
468
|
-
Permission[Permission["PARTS_PROVIDER_DELETE"] = 415] = "PARTS_PROVIDER_DELETE";
|
|
469
|
-
Permission[Permission["PARTS_PROVIDER_ME"] = 416] = "PARTS_PROVIDER_ME";
|
|
470
|
-
Permission[Permission["PARTS_PROVIDER_SUB"] = 417] = "PARTS_PROVIDER_SUB";
|
|
471
|
-
/** PARTS_WAREHOUSE_MANAGE_LIST - PartsWarehouseManage permissions */
|
|
472
|
-
Permission[Permission["PARTS_WAREHOUSE_MANAGE_LIST"] = 418] = "PARTS_WAREHOUSE_MANAGE_LIST";
|
|
473
|
-
Permission[Permission["PARTS_WAREHOUSE_MANAGE_CREATE"] = 419] = "PARTS_WAREHOUSE_MANAGE_CREATE";
|
|
474
|
-
Permission[Permission["PARTS_WAREHOUSE_MANAGE_SHOW"] = 420] = "PARTS_WAREHOUSE_MANAGE_SHOW";
|
|
475
|
-
Permission[Permission["PARTS_WAREHOUSE_MANAGE_UPDATE"] = 421] = "PARTS_WAREHOUSE_MANAGE_UPDATE";
|
|
476
|
-
Permission[Permission["PARTS_WAREHOUSE_MANAGE_DELETE"] = 422] = "PARTS_WAREHOUSE_MANAGE_DELETE";
|
|
477
|
-
Permission[Permission["PARTS_WAREHOUSE_MANAGE_ME"] = 423] = "PARTS_WAREHOUSE_MANAGE_ME";
|
|
478
|
-
Permission[Permission["PARTS_WAREHOUSE_MANAGE_SUB"] = 424] = "PARTS_WAREHOUSE_MANAGE_SUB";
|
|
479
|
-
/** PAYMENT_LIST - Payment permissions */
|
|
480
|
-
Permission[Permission["PAYMENT_LIST"] = 425] = "PAYMENT_LIST";
|
|
481
|
-
Permission[Permission["PAYMENT_CREATE"] = 426] = "PAYMENT_CREATE";
|
|
482
|
-
Permission[Permission["PAYMENT_SHOW"] = 427] = "PAYMENT_SHOW";
|
|
483
|
-
Permission[Permission["PAYMENT_UPDATE"] = 428] = "PAYMENT_UPDATE";
|
|
484
|
-
Permission[Permission["PAYMENT_DELETE"] = 429] = "PAYMENT_DELETE";
|
|
485
|
-
Permission[Permission["PAYMENT_ME"] = 430] = "PAYMENT_ME";
|
|
486
|
-
Permission[Permission["PAYMENT_SUB"] = 431] = "PAYMENT_SUB";
|
|
487
|
-
/** SMS_LIST - SMS permissions */
|
|
488
|
-
Permission[Permission["SMS_LIST"] = 432] = "SMS_LIST";
|
|
489
|
-
Permission[Permission["SMS_CREATE"] = 433] = "SMS_CREATE";
|
|
490
|
-
Permission[Permission["SMS_SHOW"] = 434] = "SMS_SHOW";
|
|
491
|
-
Permission[Permission["SMS_UPDATE"] = 435] = "SMS_UPDATE";
|
|
492
|
-
Permission[Permission["SMS_DELETE"] = 436] = "SMS_DELETE";
|
|
493
|
-
Permission[Permission["SMS_ME"] = 437] = "SMS_ME";
|
|
494
|
-
Permission[Permission["SMS_SUB"] = 438] = "SMS_SUB";
|
|
495
|
-
/** ATTENDANCE_LIST - Attendance permissions */
|
|
496
|
-
Permission[Permission["ATTENDANCE_LIST"] = 439] = "ATTENDANCE_LIST";
|
|
497
|
-
Permission[Permission["ATTENDANCE_CREATE"] = 440] = "ATTENDANCE_CREATE";
|
|
498
|
-
Permission[Permission["ATTENDANCE_SHOW"] = 441] = "ATTENDANCE_SHOW";
|
|
499
|
-
Permission[Permission["ATTENDANCE_UPDATE"] = 442] = "ATTENDANCE_UPDATE";
|
|
500
|
-
Permission[Permission["ATTENDANCE_DELETE"] = 443] = "ATTENDANCE_DELETE";
|
|
501
|
-
Permission[Permission["ATTENDANCE_ME"] = 444] = "ATTENDANCE_ME";
|
|
502
|
-
Permission[Permission["ATTENDANCE_SUB"] = 445] = "ATTENDANCE_SUB";
|
|
503
|
-
/** ATTENDANCE_DEVICE_LIST - AttendanceDevice permissions */
|
|
504
|
-
Permission[Permission["ATTENDANCE_DEVICE_LIST"] = 446] = "ATTENDANCE_DEVICE_LIST";
|
|
505
|
-
Permission[Permission["ATTENDANCE_DEVICE_CREATE"] = 447] = "ATTENDANCE_DEVICE_CREATE";
|
|
506
|
-
Permission[Permission["ATTENDANCE_DEVICE_SHOW"] = 448] = "ATTENDANCE_DEVICE_SHOW";
|
|
507
|
-
Permission[Permission["ATTENDANCE_DEVICE_UPDATE"] = 449] = "ATTENDANCE_DEVICE_UPDATE";
|
|
508
|
-
Permission[Permission["ATTENDANCE_DEVICE_DELETE"] = 450] = "ATTENDANCE_DEVICE_DELETE";
|
|
509
|
-
Permission[Permission["ATTENDANCE_DEVICE_ME"] = 451] = "ATTENDANCE_DEVICE_ME";
|
|
510
|
-
Permission[Permission["ATTENDANCE_DEVICE_SUB"] = 452] = "ATTENDANCE_DEVICE_SUB";
|
|
511
|
-
/** TRAFFIC_DEVICE_LIST - TrafficDevice permissions */
|
|
512
|
-
Permission[Permission["TRAFFIC_DEVICE_LIST"] = 453] = "TRAFFIC_DEVICE_LIST";
|
|
513
|
-
Permission[Permission["TRAFFIC_DEVICE_CREATE"] = 454] = "TRAFFIC_DEVICE_CREATE";
|
|
514
|
-
Permission[Permission["TRAFFIC_DEVICE_SHOW"] = 455] = "TRAFFIC_DEVICE_SHOW";
|
|
515
|
-
Permission[Permission["TRAFFIC_DEVICE_UPDATE"] = 456] = "TRAFFIC_DEVICE_UPDATE";
|
|
516
|
-
Permission[Permission["TRAFFIC_DEVICE_DELETE"] = 457] = "TRAFFIC_DEVICE_DELETE";
|
|
517
|
-
Permission[Permission["TRAFFIC_DEVICE_ME"] = 458] = "TRAFFIC_DEVICE_ME";
|
|
518
|
-
Permission[Permission["TRAFFIC_DEVICE_SUB"] = 459] = "TRAFFIC_DEVICE_SUB";
|
|
519
|
-
/** VACATION_LIST - Vacation permissions */
|
|
520
|
-
Permission[Permission["VACATION_LIST"] = 460] = "VACATION_LIST";
|
|
521
|
-
Permission[Permission["VACATION_CREATE"] = 461] = "VACATION_CREATE";
|
|
522
|
-
Permission[Permission["VACATION_SHOW"] = 462] = "VACATION_SHOW";
|
|
523
|
-
Permission[Permission["VACATION_UPDATE"] = 463] = "VACATION_UPDATE";
|
|
524
|
-
Permission[Permission["VACATION_DELETE"] = 464] = "VACATION_DELETE";
|
|
525
|
-
Permission[Permission["VACATION_ME"] = 465] = "VACATION_ME";
|
|
526
|
-
Permission[Permission["VACATION_SUB"] = 466] = "VACATION_SUB";
|
|
527
|
-
/** PERFORMANCE_REPORT - Report permissions */
|
|
528
|
-
Permission[Permission["PERFORMANCE_REPORT"] = 467] = "PERFORMANCE_REPORT";
|
|
529
|
-
Permission[Permission["AREA_REPORT"] = 468] = "AREA_REPORT";
|
|
530
|
-
Permission[Permission["RAW_DATA_REPORT"] = 469] = "RAW_DATA_REPORT";
|
|
531
|
-
Permission[Permission["DATA_REPORT"] = 470] = "DATA_REPORT";
|
|
532
|
-
Permission[Permission["STOP_REPORT"] = 471] = "STOP_REPORT";
|
|
533
|
-
Permission[Permission["HISTORY_REPORT"] = 472] = "HISTORY_REPORT";
|
|
534
|
-
Permission[Permission["CHART_REPORT"] = 473] = "CHART_REPORT";
|
|
535
|
-
Permission[Permission["TRIP_REPORT"] = 474] = "TRIP_REPORT";
|
|
536
|
-
Permission[Permission["TEXT_REPORT"] = 475] = "TEXT_REPORT";
|
|
537
|
-
Permission[Permission["INSURANCE_REPORT"] = 476] = "INSURANCE_REPORT";
|
|
538
|
-
Permission[Permission["STATS_REPORT"] = 477] = "STATS_REPORT";
|
|
539
|
-
Permission[Permission["USER_REPORT"] = 478] = "USER_REPORT";
|
|
540
|
-
Permission[Permission["GUEST_REPORT"] = 479] = "GUEST_REPORT";
|
|
541
|
-
Permission[Permission["INVOICE_REPORT"] = 480] = "INVOICE_REPORT";
|
|
542
|
-
Permission[Permission["CAMERA_REPORT"] = 481] = "CAMERA_REPORT";
|
|
543
|
-
Permission[Permission["DRIVER_BEHAVIOR_REPORT"] = 482] = "DRIVER_BEHAVIOR_REPORT";
|
|
544
|
-
Permission[Permission["CALL_REPORT"] = 483] = "CALL_REPORT";
|
|
545
|
-
Permission[Permission["DATA_COUNT_REPORT"] = 484] = "DATA_COUNT_REPORT";
|
|
546
|
-
Permission[Permission["DEVICE_CHARGE_REPORT"] = 485] = "DEVICE_CHARGE_REPORT";
|
|
547
|
-
Permission[Permission["CAR_WARRANTY_REPORT"] = 486] = "CAR_WARRANTY_REPORT";
|
|
548
|
-
Permission[Permission["LAST_CONNECTION_REPORT"] = 487] = "LAST_CONNECTION_REPORT";
|
|
549
|
-
Permission[Permission["CHARGE_DEVICE"] = 488] = "CHARGE_DEVICE";
|
|
550
|
-
Permission[Permission["ADMIN_CHARGE_MANUAL_DEVICE"] = 489] = "ADMIN_CHARGE_MANUAL_DEVICE";
|
|
551
|
-
Permission[Permission["PARTNER_REPORT"] = 491] = "PARTNER_REPORT";
|
|
552
|
-
Permission[Permission["EXPIRE_SHOW"] = 492] = "EXPIRE_SHOW";
|
|
553
|
-
Permission[Permission["DRIVING_REPORT"] = 493] = "DRIVING_REPORT";
|
|
554
|
-
Permission[Permission["ACTIVITY_LOG_LIST"] = 494] = "ACTIVITY_LOG_LIST";
|
|
555
|
-
Permission[Permission["REPORT_REPORT"] = 495] = "REPORT_REPORT";
|
|
556
|
-
Permission[Permission["TRAFFIC_REPORT"] = 498] = "TRAFFIC_REPORT";
|
|
557
|
-
Permission[Permission["GEOFENCE_REPORT"] = 499] = "GEOFENCE_REPORT";
|
|
558
|
-
Permission[Permission["NOTIFICATION_REPORT"] = 501] = "NOTIFICATION_REPORT";
|
|
559
|
-
Permission[Permission["REMOTE_CONTROL"] = 502] = "REMOTE_CONTROL";
|
|
560
|
-
Permission[Permission["PRINT_SETTING"] = 503] = "PRINT_SETTING";
|
|
561
|
-
Permission[Permission["TRACKING_REPORT"] = 504] = "TRACKING_REPORT";
|
|
562
|
-
Permission[Permission["WAREHOUSE_REPORT"] = 505] = "WAREHOUSE_REPORT";
|
|
563
|
-
/** BUY_SUBSCRIPTION_METHOD_CREATE - Additional permissions */
|
|
564
|
-
Permission[Permission["BUY_SUBSCRIPTION_METHOD_CREATE"] = 506] = "BUY_SUBSCRIPTION_METHOD_CREATE";
|
|
565
|
-
Permission[Permission["CHARGE_WALLET_CREATE"] = 507] = "CHARGE_WALLET_CREATE";
|
|
566
|
-
Permission[Permission["ADMIN_CHARGE_WALLET"] = 508] = "ADMIN_CHARGE_WALLET";
|
|
567
|
-
Permission[Permission["IO_ELEMENT_LIST"] = 514] = "IO_ELEMENT_LIST";
|
|
568
|
-
Permission[Permission["ADMIN_IO_ELEMENT_CREATE"] = 515] = "ADMIN_IO_ELEMENT_CREATE";
|
|
569
|
-
Permission[Permission["IO_ELEMENT_SHOW"] = 516] = "IO_ELEMENT_SHOW";
|
|
570
|
-
Permission[Permission["ADMIN_IO_ELEMENT_UPDATE"] = 517] = "ADMIN_IO_ELEMENT_UPDATE";
|
|
571
|
-
Permission[Permission["ADMIN_IO_ELEMENT_DELETE"] = 518] = "ADMIN_IO_ELEMENT_DELETE";
|
|
572
|
-
Permission[Permission["ORGANIZATION_CONFIG_LIST"] = 519] = "ORGANIZATION_CONFIG_LIST";
|
|
573
|
-
Permission[Permission["ORGANIZATION_CONFIG_CREATE"] = 520] = "ORGANIZATION_CONFIG_CREATE";
|
|
574
|
-
Permission[Permission["ORGANIZATION_CONFIG_SHOW"] = 521] = "ORGANIZATION_CONFIG_SHOW";
|
|
575
|
-
Permission[Permission["ORGANIZATION_CONFIG_UPDATE"] = 522] = "ORGANIZATION_CONFIG_UPDATE";
|
|
576
|
-
Permission[Permission["ORGANIZATION_CONFIG_DELETE"] = 523] = "ORGANIZATION_CONFIG_DELETE";
|
|
577
|
-
Permission[Permission["CAR_CATEGORY_CREATE"] = 524] = "CAR_CATEGORY_CREATE";
|
|
578
|
-
Permission[Permission["CAR_CATEGORY_UPDATE"] = 525] = "CAR_CATEGORY_UPDATE";
|
|
579
|
-
Permission[Permission["CAR_CATEGORY_DELETE"] = 526] = "CAR_CATEGORY_DELETE";
|
|
580
|
-
Permission[Permission["CAR_BRAND_CREATE"] = 527] = "CAR_BRAND_CREATE";
|
|
581
|
-
Permission[Permission["CAR_BRAND_UPDATE"] = 528] = "CAR_BRAND_UPDATE";
|
|
582
|
-
Permission[Permission["CAR_BRAND_DELETE"] = 529] = "CAR_BRAND_DELETE";
|
|
583
|
-
Permission[Permission["PARTNER_PRODUCT_TYPE_CREATE"] = 530] = "PARTNER_PRODUCT_TYPE_CREATE";
|
|
584
|
-
Permission[Permission["PARTNER_PRODUCT_TYPE_UPDATE"] = 531] = "PARTNER_PRODUCT_TYPE_UPDATE";
|
|
585
|
-
Permission[Permission["PARTNER_PRODUCT_TYPE_DELETE"] = 532] = "PARTNER_PRODUCT_TYPE_DELETE";
|
|
586
|
-
Permission[Permission["NOTIFICATION_ALERT_LIST"] = 533] = "NOTIFICATION_ALERT_LIST";
|
|
587
|
-
Permission[Permission["NOTIFICATION_ALERT_SHOW"] = 534] = "NOTIFICATION_ALERT_SHOW";
|
|
588
|
-
Permission[Permission["NOTIFICATION_ALERT_CREATE"] = 535] = "NOTIFICATION_ALERT_CREATE";
|
|
589
|
-
Permission[Permission["NOTIFICATION_ALERT_UPDATE"] = 536] = "NOTIFICATION_ALERT_UPDATE";
|
|
590
|
-
Permission[Permission["NOTIFICATION_ALERT_DELETE"] = 537] = "NOTIFICATION_ALERT_DELETE";
|
|
591
|
-
Permission[Permission["PARTNER_MODULE_PRICE_LIST"] = 538] = "PARTNER_MODULE_PRICE_LIST";
|
|
592
|
-
Permission[Permission["PARTNER_MODULE_PRICE_SHOW"] = 539] = "PARTNER_MODULE_PRICE_SHOW";
|
|
593
|
-
Permission[Permission["PARTNER_MODULE_PRICE_CREATE"] = 540] = "PARTNER_MODULE_PRICE_CREATE";
|
|
594
|
-
Permission[Permission["PARTNER_MODULE_PRICE_UPDATE"] = 541] = "PARTNER_MODULE_PRICE_UPDATE";
|
|
595
|
-
Permission[Permission["PARTNER_MODULE_PRICE_DELETE"] = 542] = "PARTNER_MODULE_PRICE_DELETE";
|
|
596
|
-
Permission[Permission["ACTIVITY_LOGS_LIST"] = 543] = "ACTIVITY_LOGS_LIST";
|
|
597
|
-
Permission[Permission["ACTIVITY_LOGS_LAST"] = 544] = "ACTIVITY_LOGS_LAST";
|
|
598
|
-
Permission[Permission["ACTIVITY_LOGS_SHOW"] = 545] = "ACTIVITY_LOGS_SHOW";
|
|
599
|
-
Permission[Permission["USER_DEVICE_IO_LIST"] = 546] = "USER_DEVICE_IO_LIST";
|
|
600
|
-
Permission[Permission["USER_DEVICE_IO_SHOW"] = 547] = "USER_DEVICE_IO_SHOW";
|
|
601
|
-
Permission[Permission["USER_DEVICE_IO_CREATE"] = 548] = "USER_DEVICE_IO_CREATE";
|
|
602
|
-
Permission[Permission["USER_DEVICE_IO_UPDATE"] = 549] = "USER_DEVICE_IO_UPDATE";
|
|
603
|
-
Permission[Permission["USER_DEVICE_IO_DELETE"] = 550] = "USER_DEVICE_IO_DELETE";
|
|
604
|
-
Permission[Permission["PARTNER_MODULE_PACKAGE_LIST"] = 551] = "PARTNER_MODULE_PACKAGE_LIST";
|
|
605
|
-
Permission[Permission["PARTNER_MODULE_PACKAGE_SHOW"] = 552] = "PARTNER_MODULE_PACKAGE_SHOW";
|
|
606
|
-
Permission[Permission["PARTNER_MODULE_PACKAGE_CREATE"] = 553] = "PARTNER_MODULE_PACKAGE_CREATE";
|
|
607
|
-
Permission[Permission["PARTNER_MODULE_PACKAGE_UPDATE"] = 554] = "PARTNER_MODULE_PACKAGE_UPDATE";
|
|
608
|
-
Permission[Permission["PARTNER_MODULE_PACKAGE_DELETE"] = 555] = "PARTNER_MODULE_PACKAGE_DELETE";
|
|
609
|
-
Permission[Permission["ADMIN_APP_VERSION_LIST"] = 556] = "ADMIN_APP_VERSION_LIST";
|
|
610
|
-
Permission[Permission["ADMIN_APP_VERSION_SHOW"] = 557] = "ADMIN_APP_VERSION_SHOW";
|
|
611
|
-
Permission[Permission["ADMIN_APP_VERSION_CREATE"] = 558] = "ADMIN_APP_VERSION_CREATE";
|
|
612
|
-
Permission[Permission["ADMIN_APP_VERSION_UPDATE"] = 559] = "ADMIN_APP_VERSION_UPDATE";
|
|
613
|
-
Permission[Permission["ADMIN_APP_VERSION_DELETE"] = 560] = "ADMIN_APP_VERSION_DELETE";
|
|
614
|
-
Permission[Permission["ADMIN_SERVICE_CREATE_DEFAULT"] = 562] = "ADMIN_SERVICE_CREATE_DEFAULT";
|
|
615
|
-
Permission[Permission["WORK_CYCLE_REPORT"] = 563] = "WORK_CYCLE_REPORT";
|
|
616
|
-
Permission[Permission["MAINTENANCE_LIST"] = 566] = "MAINTENANCE_LIST";
|
|
617
|
-
Permission[Permission["MAINTENANCE_CREATE"] = 567] = "MAINTENANCE_CREATE";
|
|
618
|
-
Permission[Permission["MAINTENANCE_SHOW"] = 568] = "MAINTENANCE_SHOW";
|
|
619
|
-
Permission[Permission["MAINTENANCE_UPDATE"] = 569] = "MAINTENANCE_UPDATE";
|
|
620
|
-
Permission[Permission["MAINTENANCE_DELETE"] = 570] = "MAINTENANCE_DELETE";
|
|
621
|
-
Permission[Permission["MAINTENANCE_ME"] = 571] = "MAINTENANCE_ME";
|
|
622
|
-
Permission[Permission["MAINTENANCE_SUB"] = 572] = "MAINTENANCE_SUB";
|
|
623
|
-
Permission[Permission["WORK_CYCLE_LIST"] = 573] = "WORK_CYCLE_LIST";
|
|
624
|
-
Permission[Permission["WORK_CYCLE_CREATE"] = 574] = "WORK_CYCLE_CREATE";
|
|
625
|
-
Permission[Permission["WORK_CYCLE_SHOW"] = 575] = "WORK_CYCLE_SHOW";
|
|
626
|
-
Permission[Permission["WORK_CYCLE_UPDATE"] = 576] = "WORK_CYCLE_UPDATE";
|
|
627
|
-
Permission[Permission["WORK_CYCLE_DELETE"] = 577] = "WORK_CYCLE_DELETE";
|
|
628
|
-
Permission[Permission["WORK_CYCLE_ME"] = 578] = "WORK_CYCLE_ME";
|
|
629
|
-
Permission[Permission["WORK_CYCLE_SUB"] = 579] = "WORK_CYCLE_SUB";
|
|
630
|
-
Permission[Permission["ORDER_LIST"] = 580] = "ORDER_LIST";
|
|
631
|
-
Permission[Permission["ORDER_CREATE"] = 581] = "ORDER_CREATE";
|
|
632
|
-
Permission[Permission["ORDER_SHOW"] = 582] = "ORDER_SHOW";
|
|
633
|
-
Permission[Permission["ORDER_UPDATE"] = 583] = "ORDER_UPDATE";
|
|
634
|
-
Permission[Permission["ORDER_DELETE"] = 584] = "ORDER_DELETE";
|
|
635
|
-
Permission[Permission["ORDER_ME"] = 585] = "ORDER_ME";
|
|
636
|
-
Permission[Permission["ORDER_SUB"] = 586] = "ORDER_SUB";
|
|
637
|
-
Permission[Permission["ADMIN_APP_SETTING_LIST"] = 587] = "ADMIN_APP_SETTING_LIST";
|
|
638
|
-
Permission[Permission["ADMIN_APP_SETTING_SHOW"] = 588] = "ADMIN_APP_SETTING_SHOW";
|
|
639
|
-
Permission[Permission["ADMIN_APP_SETTING_CREATE"] = 589] = "ADMIN_APP_SETTING_CREATE";
|
|
640
|
-
Permission[Permission["ADMIN_APP_SETTING_UPDATE"] = 590] = "ADMIN_APP_SETTING_UPDATE";
|
|
641
|
-
Permission[Permission["ADMIN_APP_SETTING_DELETE"] = 591] = "ADMIN_APP_SETTING_DELETE";
|
|
642
|
-
Permission[Permission["BLOCK_IP"] = 592] = "BLOCK_IP";
|
|
643
|
-
Permission[Permission["SEND_SMS_COMMAND"] = 593] = "SEND_SMS_COMMAND";
|
|
644
|
-
Permission[Permission["WORK_FLOW_LIST"] = 594] = "WORK_FLOW_LIST";
|
|
645
|
-
Permission[Permission["WORK_FLOW_SHOW"] = 595] = "WORK_FLOW_SHOW";
|
|
646
|
-
Permission[Permission["WORK_FLOW_CREATE"] = 596] = "WORK_FLOW_CREATE";
|
|
647
|
-
Permission[Permission["WORK_FLOW_UPDATE"] = 597] = "WORK_FLOW_UPDATE";
|
|
648
|
-
Permission[Permission["WORK_FLOW_DELETE"] = 598] = "WORK_FLOW_DELETE";
|
|
649
|
-
Permission[Permission["WORK_FLOW_SUB"] = 599] = "WORK_FLOW_SUB";
|
|
650
|
-
Permission[Permission["WORK_FLOW_ME"] = 600] = "WORK_FLOW_ME";
|
|
651
|
-
/** COMMAND_SEND_SMS - Removed WORK_FLOW_TASK_* (601-608) as their strings are not in the PHP enum */
|
|
652
|
-
Permission[Permission["COMMAND_SEND_SMS"] = 609] = "COMMAND_SEND_SMS";
|
|
653
|
-
Permission[Permission["COMMAND_SEND_GPRS"] = 610] = "COMMAND_SEND_GPRS";
|
|
654
|
-
Permission[Permission["COMMAND_SEND_MANUAL"] = 611] = "COMMAND_SEND_MANUAL";
|
|
655
|
-
Permission[Permission["ATTENDANCE_REPORT"] = 612] = "ATTENDANCE_REPORT";
|
|
656
|
-
Permission[Permission["SMS_GATEWAY_LIST"] = 613] = "SMS_GATEWAY_LIST";
|
|
657
|
-
Permission[Permission["SMS_GATEWAY_CREATE"] = 614] = "SMS_GATEWAY_CREATE";
|
|
658
|
-
Permission[Permission["SMS_GATEWAY_SHOW"] = 615] = "SMS_GATEWAY_SHOW";
|
|
659
|
-
Permission[Permission["SMS_GATEWAY_UPDATE"] = 616] = "SMS_GATEWAY_UPDATE";
|
|
660
|
-
Permission[Permission["SMS_GATEWAY_DELETE"] = 617] = "SMS_GATEWAY_DELETE";
|
|
661
|
-
Permission[Permission["SMS_GATEWAY_ME"] = 618] = "SMS_GATEWAY_ME";
|
|
662
|
-
Permission[Permission["SMS_GATEWAY_SUB"] = 619] = "SMS_GATEWAY_SUB";
|
|
663
|
-
Permission[Permission["PB_WORK_FLOW_TASK_LIST"] = 620] = "PB_WORK_FLOW_TASK_LIST";
|
|
664
|
-
Permission[Permission["PB_WORK_FLOW_TASK_SHOW"] = 621] = "PB_WORK_FLOW_TASK_SHOW";
|
|
665
|
-
Permission[Permission["PB_WORK_FLOW_TASK_CREATE"] = 622] = "PB_WORK_FLOW_TASK_CREATE";
|
|
666
|
-
Permission[Permission["PB_WORK_FLOW_TASK_UPDATE"] = 623] = "PB_WORK_FLOW_TASK_UPDATE";
|
|
667
|
-
Permission[Permission["PB_WORK_FLOW_TASK_DELETE"] = 624] = "PB_WORK_FLOW_TASK_DELETE";
|
|
668
|
-
Permission[Permission["PB_WORK_FLOW_TASK_SUB"] = 625] = "PB_WORK_FLOW_TASK_SUB";
|
|
669
|
-
Permission[Permission["PB_WORK_FLOW_TASK_ME"] = 626] = "PB_WORK_FLOW_TASK_ME";
|
|
670
|
-
Permission[Permission["PB_WORK_FLOW_TASK_CONFIRM_REJECT"] = 627] = "PB_WORK_FLOW_TASK_CONFIRM_REJECT";
|
|
671
|
-
Permission[Permission["TRIP_WORK_FLOW_TASK_LIST"] = 628] = "TRIP_WORK_FLOW_TASK_LIST";
|
|
672
|
-
Permission[Permission["TRIP_WORK_FLOW_TASK_SHOW"] = 629] = "TRIP_WORK_FLOW_TASK_SHOW";
|
|
673
|
-
Permission[Permission["TRIP_WORK_FLOW_TASK_CREATE"] = 630] = "TRIP_WORK_FLOW_TASK_CREATE";
|
|
674
|
-
Permission[Permission["TRIP_WORK_FLOW_TASK_UPDATE"] = 631] = "TRIP_WORK_FLOW_TASK_UPDATE";
|
|
675
|
-
Permission[Permission["TRIP_WORK_FLOW_TASK_DELETE"] = 632] = "TRIP_WORK_FLOW_TASK_DELETE";
|
|
676
|
-
Permission[Permission["TRIP_WORK_FLOW_TASK_SUB"] = 633] = "TRIP_WORK_FLOW_TASK_SUB";
|
|
677
|
-
Permission[Permission["TRIP_WORK_FLOW_TASK_ME"] = 634] = "TRIP_WORK_FLOW_TASK_ME";
|
|
678
|
-
Permission[Permission["TRIP_WORK_FLOW_TASK_CONFIRM"] = 635] = "TRIP_WORK_FLOW_TASK_CONFIRM";
|
|
679
|
-
Permission[Permission["PARTNER_CHANGE_ORGANIZATION_IS_UNLIMITED"] = 636] = "PARTNER_CHANGE_ORGANIZATION_IS_UNLIMITED";
|
|
680
|
-
Permission[Permission["LIVE_VIDEO_MONITORING"] = 637] = "LIVE_VIDEO_MONITORING";
|
|
681
|
-
Permission[Permission["PLAYBACK_VIDEO_MONITORING"] = 638] = "PLAYBACK_VIDEO_MONITORING";
|
|
682
|
-
Permission[Permission["LISTEN_VIDEO_MONITORING"] = 639] = "LISTEN_VIDEO_MONITORING";
|
|
683
|
-
Permission[Permission["CALL_VIDEO_MONITORING"] = 640] = "CALL_VIDEO_MONITORING";
|
|
684
|
-
Permission[Permission["WORKFLOW_TASK_LIST"] = 641] = "WORKFLOW_TASK_LIST";
|
|
685
|
-
Permission[Permission["WORKFLOW_TASK_SHOW"] = 642] = "WORKFLOW_TASK_SHOW";
|
|
686
|
-
Permission[Permission["WORKFLOW_TASK_CREATE"] = 643] = "WORKFLOW_TASK_CREATE";
|
|
687
|
-
Permission[Permission["WORKFLOW_TASK_UPDATE"] = 644] = "WORKFLOW_TASK_UPDATE";
|
|
688
|
-
Permission[Permission["WORKFLOW_TASK_DELETE"] = 645] = "WORKFLOW_TASK_DELETE";
|
|
689
|
-
Permission[Permission["WORKFLOW_TASK_SUB"] = 646] = "WORKFLOW_TASK_SUB";
|
|
690
|
-
Permission[Permission["WORKFLOW_TASK_ME"] = 647] = "WORKFLOW_TASK_ME";
|
|
691
|
-
Permission[Permission["TRIP_WORK_FLOW_TASK_REJECT"] = 648] = "TRIP_WORK_FLOW_TASK_REJECT";
|
|
692
|
-
Permission[Permission["MONITORING"] = 649] = "MONITORING";
|
|
693
|
-
Permission[Permission["PARTNER_DEBUGGING"] = 650] = "PARTNER_DEBUGGING";
|
|
694
|
-
Permission[Permission["USER_UPDATE_IMEI"] = 651] = "USER_UPDATE_IMEI";
|
|
695
|
-
Permission[Permission["PARTNER_UPDATE_IMEI"] = 652] = "PARTNER_UPDATE_IMEI";
|
|
696
|
-
Permission[Permission["ADMIN_UPDATE_IMEI"] = 653] = "ADMIN_UPDATE_IMEI";
|
|
697
|
-
/** EVENTS_LIST - EVENTS */
|
|
698
|
-
Permission[Permission["EVENTS_LIST"] = 654] = "EVENTS_LIST";
|
|
699
|
-
Permission[Permission["EVENTS_CREATE"] = 655] = "EVENTS_CREATE";
|
|
700
|
-
Permission[Permission["EVENTS_UPDATE"] = 656] = "EVENTS_UPDATE";
|
|
701
|
-
Permission[Permission["EVENTS_DELETE"] = 657] = "EVENTS_DELETE";
|
|
702
|
-
/** ADMIN_EVENT_TEMPLATE_CREATE - EVENT TEMPLATES */
|
|
703
|
-
Permission[Permission["ADMIN_EVENT_TEMPLATE_CREATE"] = 658] = "ADMIN_EVENT_TEMPLATE_CREATE";
|
|
704
|
-
Permission[Permission["ADMIN_EVENT_TEMPLATE_UPDATE"] = 659] = "ADMIN_EVENT_TEMPLATE_UPDATE";
|
|
705
|
-
Permission[Permission["ADMIN_EVENT_TEMPLATE_DELETE"] = 660] = "ADMIN_EVENT_TEMPLATE_DELETE";
|
|
706
|
-
/** QUESTION_LIST - QUESTIONS */
|
|
707
|
-
Permission[Permission["QUESTION_LIST"] = 661] = "QUESTION_LIST";
|
|
708
|
-
Permission[Permission["QUESTION_CREATE"] = 662] = "QUESTION_CREATE";
|
|
709
|
-
Permission[Permission["QUESTION_SHOW"] = 663] = "QUESTION_SHOW";
|
|
710
|
-
Permission[Permission["QUESTION_UPDATE"] = 664] = "QUESTION_UPDATE";
|
|
711
|
-
Permission[Permission["QUESTION_DELETE"] = 665] = "QUESTION_DELETE";
|
|
712
|
-
Permission[Permission["QUESTION_ME"] = 666] = "QUESTION_ME";
|
|
713
|
-
Permission[Permission["QUESTION_SUB"] = 667] = "QUESTION_SUB";
|
|
714
|
-
Permission[Permission["QUESTION_ANSWER"] = 668] = "QUESTION_ANSWER";
|
|
715
|
-
/** TRACKER_OUTPUT_COMMAND_LIST - TRACKER OUTPUT COMMANDS */
|
|
716
|
-
Permission[Permission["TRACKER_OUTPUT_COMMAND_LIST"] = 669] = "TRACKER_OUTPUT_COMMAND_LIST";
|
|
717
|
-
Permission[Permission["TRACKER_OUTPUT_COMMAND_CREATE"] = 670] = "TRACKER_OUTPUT_COMMAND_CREATE";
|
|
718
|
-
Permission[Permission["TRACKER_OUTPUT_COMMAND_SHOW"] = 671] = "TRACKER_OUTPUT_COMMAND_SHOW";
|
|
719
|
-
Permission[Permission["TRACKER_OUTPUT_COMMAND_UPDATE"] = 672] = "TRACKER_OUTPUT_COMMAND_UPDATE";
|
|
720
|
-
Permission[Permission["TRACKER_OUTPUT_COMMAND_DELETE"] = 673] = "TRACKER_OUTPUT_COMMAND_DELETE";
|
|
721
|
-
/** ATTRIBUTE_LIST - PRODUCT ATTRIBUTES */
|
|
722
|
-
Permission[Permission["ATTRIBUTE_LIST"] = 674] = "ATTRIBUTE_LIST";
|
|
723
|
-
Permission[Permission["ATTRIBUTE_CREATE"] = 675] = "ATTRIBUTE_CREATE";
|
|
724
|
-
Permission[Permission["ATTRIBUTE_SHOW"] = 676] = "ATTRIBUTE_SHOW";
|
|
725
|
-
Permission[Permission["ATTRIBUTE_UPDATE"] = 677] = "ATTRIBUTE_UPDATE";
|
|
726
|
-
Permission[Permission["ATTRIBUTE_DELETE"] = 678] = "ATTRIBUTE_DELETE";
|
|
727
|
-
/** GROUP_COMMAND_LIST - GROUP COMMAND */
|
|
728
|
-
Permission[Permission["GROUP_COMMAND_LIST"] = 679] = "GROUP_COMMAND_LIST";
|
|
729
|
-
Permission[Permission["GROUP_COMMAND_CREATE"] = 680] = "GROUP_COMMAND_CREATE";
|
|
730
|
-
Permission[Permission["GROUP_COMMAND_SHOW"] = 681] = "GROUP_COMMAND_SHOW";
|
|
731
|
-
Permission[Permission["GROUP_COMMAND_SUB"] = 682] = "GROUP_COMMAND_SUB";
|
|
732
|
-
Permission[Permission["GROUP_COMMAND_ME"] = 683] = "GROUP_COMMAND_ME";
|
|
733
|
-
/** WORK_SHIFT_TEMPLATE_LIST - WORK SHIFT TEMPLATE */
|
|
734
|
-
Permission[Permission["WORK_SHIFT_TEMPLATE_LIST"] = 684] = "WORK_SHIFT_TEMPLATE_LIST";
|
|
735
|
-
Permission[Permission["WORK_SHIFT_TEMPLATE_CREATE"] = 685] = "WORK_SHIFT_TEMPLATE_CREATE";
|
|
736
|
-
Permission[Permission["WORK_SHIFT_TEMPLATE_SHOW"] = 686] = "WORK_SHIFT_TEMPLATE_SHOW";
|
|
737
|
-
Permission[Permission["WORK_SHIFT_TEMPLATE_UPDATE"] = 687] = "WORK_SHIFT_TEMPLATE_UPDATE";
|
|
738
|
-
Permission[Permission["WORK_SHIFT_TEMPLATE_DELETE"] = 688] = "WORK_SHIFT_TEMPLATE_DELETE";
|
|
739
|
-
Permission[Permission["WORK_SHIFT_TEMPLATE_SUB"] = 689] = "WORK_SHIFT_TEMPLATE_SUB";
|
|
740
|
-
Permission[Permission["WORK_SHIFT_TEMPLATE_ME"] = 690] = "WORK_SHIFT_TEMPLATE_ME";
|
|
741
|
-
/** WORK_SHIFT_LIST - WORK SHIFT */
|
|
742
|
-
Permission[Permission["WORK_SHIFT_LIST"] = 691] = "WORK_SHIFT_LIST";
|
|
743
|
-
Permission[Permission["WORK_SHIFT_CREATE"] = 692] = "WORK_SHIFT_CREATE";
|
|
744
|
-
Permission[Permission["WORK_SHIFT_SHOW"] = 693] = "WORK_SHIFT_SHOW";
|
|
745
|
-
Permission[Permission["WORK_SHIFT_UPDATE"] = 694] = "WORK_SHIFT_UPDATE";
|
|
746
|
-
Permission[Permission["WORK_SHIFT_DELETE"] = 695] = "WORK_SHIFT_DELETE";
|
|
747
|
-
Permission[Permission["WORK_SHIFT_SUB"] = 696] = "WORK_SHIFT_SUB";
|
|
748
|
-
Permission[Permission["WORK_SHIFT_ME"] = 697] = "WORK_SHIFT_ME";
|
|
749
|
-
/** PARTNER_WAREHOUSE_DISPATCH - */
|
|
750
|
-
Permission[Permission["PARTNER_WAREHOUSE_DISPATCH"] = 698] = "PARTNER_WAREHOUSE_DISPATCH";
|
|
751
|
-
Permission[Permission["PARTNER_WAREHOUSE_RETURN"] = 699] = "PARTNER_WAREHOUSE_RETURN";
|
|
752
|
-
Permission[Permission["PARTNER_WAREHOUSE_CHANGE"] = 700] = "PARTNER_WAREHOUSE_CHANGE";
|
|
753
|
-
Permission[Permission["PARTNER_WAREHOUSE_DESTROY"] = 701] = "PARTNER_WAREHOUSE_DESTROY";
|
|
754
|
-
Permission[Permission["PARTNER_WAREHOUSE_LEND"] = 702] = "PARTNER_WAREHOUSE_LEND";
|
|
755
|
-
Permission[Permission["PARTNER_WAREHOUSE_READY"] = 703] = "PARTNER_WAREHOUSE_READY";
|
|
756
|
-
/** PARTNER_PRODUCT_SUBMISSION_LIST - PRDOCUT SUBMISSION */
|
|
757
|
-
Permission[Permission["PARTNER_PRODUCT_SUBMISSION_LIST"] = 704] = "PARTNER_PRODUCT_SUBMISSION_LIST";
|
|
758
|
-
Permission[Permission["PARTNER_PRODUCT_SUBMISSION_CREATE"] = 705] = "PARTNER_PRODUCT_SUBMISSION_CREATE";
|
|
759
|
-
Permission[Permission["ADMIN_PARTNER_CREATE"] = 706] = "ADMIN_PARTNER_CREATE";
|
|
760
|
-
Permission[Permission["COMMAND_ACTION_LIST"] = 707] = "COMMAND_ACTION_LIST";
|
|
761
|
-
Permission[Permission["COMMAND_ACTION_CREATE"] = 708] = "COMMAND_ACTION_CREATE";
|
|
762
|
-
Permission[Permission["COMMAND_ACTION_SHOW"] = 709] = "COMMAND_ACTION_SHOW";
|
|
763
|
-
Permission[Permission["COMMAND_ACTION_UPDATE"] = 710] = "COMMAND_ACTION_UPDATE";
|
|
764
|
-
Permission[Permission["COMMAND_ACTION_DELETE"] = 711] = "COMMAND_ACTION_DELETE";
|
|
765
|
-
Permission[Permission["PARTNER_SEND_USER_NOTIFICATION"] = 712] = "PARTNER_SEND_USER_NOTIFICATION";
|
|
766
|
-
Permission[Permission["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
767
|
-
})(Permission || (Permission = {}));
|
|
768
|
-
export var Application_Status;
|
|
769
|
-
(function (Application_Status) {
|
|
770
|
-
Application_Status[Application_Status["INACTIVE"] = 0] = "INACTIVE";
|
|
771
|
-
Application_Status[Application_Status["ACTIVE"] = 1] = "ACTIVE";
|
|
772
|
-
Application_Status[Application_Status["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
773
|
-
})(Application_Status || (Application_Status = {}));
|
|
774
|
-
function createBaseAuth() {
|
|
775
|
-
return { user: undefined, person: undefined, accessToken: undefined, permissions: [] };
|
|
776
|
-
}
|
|
777
|
-
export const Auth = {
|
|
778
|
-
encode(message, writer = new BinaryWriter()) {
|
|
779
|
-
if (message.user !== undefined) {
|
|
780
|
-
User.encode(message.user, writer.uint32(10).fork()).join();
|
|
781
|
-
}
|
|
782
|
-
if (message.person !== undefined) {
|
|
783
|
-
Person.encode(message.person, writer.uint32(18).fork()).join();
|
|
784
|
-
}
|
|
785
|
-
if (message.accessToken !== undefined) {
|
|
786
|
-
PersonalAccessToken.encode(message.accessToken, writer.uint32(26).fork()).join();
|
|
787
|
-
}
|
|
788
|
-
writer.uint32(34).fork();
|
|
789
|
-
for (const v of message.permissions) {
|
|
790
|
-
writer.int32(v);
|
|
791
|
-
}
|
|
792
|
-
writer.join();
|
|
793
|
-
return writer;
|
|
794
|
-
},
|
|
795
|
-
decode(input, length) {
|
|
796
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
797
|
-
const end = length === undefined ? reader.len : reader.pos + length;
|
|
798
|
-
const message = createBaseAuth();
|
|
799
|
-
while (reader.pos < end) {
|
|
800
|
-
const tag = reader.uint32();
|
|
801
|
-
switch (tag >>> 3) {
|
|
802
|
-
case 1: {
|
|
803
|
-
if (tag !== 10) {
|
|
804
|
-
break;
|
|
805
|
-
}
|
|
806
|
-
message.user = User.decode(reader, reader.uint32());
|
|
807
|
-
continue;
|
|
808
|
-
}
|
|
809
|
-
case 2: {
|
|
810
|
-
if (tag !== 18) {
|
|
811
|
-
break;
|
|
812
|
-
}
|
|
813
|
-
message.person = Person.decode(reader, reader.uint32());
|
|
814
|
-
continue;
|
|
815
|
-
}
|
|
816
|
-
case 3: {
|
|
817
|
-
if (tag !== 26) {
|
|
818
|
-
break;
|
|
819
|
-
}
|
|
820
|
-
message.accessToken = PersonalAccessToken.decode(reader, reader.uint32());
|
|
821
|
-
continue;
|
|
822
|
-
}
|
|
823
|
-
case 4: {
|
|
824
|
-
if (tag === 32) {
|
|
825
|
-
message.permissions.push(reader.int32());
|
|
826
|
-
continue;
|
|
827
|
-
}
|
|
828
|
-
if (tag === 34) {
|
|
829
|
-
const end2 = reader.uint32() + reader.pos;
|
|
830
|
-
while (reader.pos < end2) {
|
|
831
|
-
message.permissions.push(reader.int32());
|
|
832
|
-
}
|
|
833
|
-
continue;
|
|
834
|
-
}
|
|
835
|
-
break;
|
|
836
|
-
}
|
|
837
|
-
}
|
|
838
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
839
|
-
break;
|
|
840
|
-
}
|
|
841
|
-
reader.skip(tag & 7);
|
|
842
|
-
}
|
|
843
|
-
return message;
|
|
844
|
-
},
|
|
845
|
-
create(base) {
|
|
846
|
-
return Auth.fromPartial(base ?? {});
|
|
847
|
-
},
|
|
848
|
-
fromPartial(object) {
|
|
849
|
-
const message = createBaseAuth();
|
|
850
|
-
message.user = (object.user !== undefined && object.user !== null) ? User.fromPartial(object.user) : undefined;
|
|
851
|
-
message.person = (object.person !== undefined && object.person !== null)
|
|
852
|
-
? Person.fromPartial(object.person)
|
|
853
|
-
: undefined;
|
|
854
|
-
message.accessToken = (object.accessToken !== undefined && object.accessToken !== null)
|
|
855
|
-
? PersonalAccessToken.fromPartial(object.accessToken)
|
|
856
|
-
: undefined;
|
|
857
|
-
message.permissions = object.permissions?.map((e) => e) || [];
|
|
858
|
-
return message;
|
|
859
|
-
},
|
|
860
|
-
};
|
|
861
|
-
function createBaseUser() {
|
|
862
|
-
return {
|
|
863
|
-
id: Long.UZERO,
|
|
864
|
-
email: undefined,
|
|
865
|
-
telegramId: undefined,
|
|
866
|
-
phone: "",
|
|
867
|
-
status: 0,
|
|
868
|
-
createdBy: undefined,
|
|
869
|
-
updatedBy: undefined,
|
|
870
|
-
createdAt: undefined,
|
|
871
|
-
updatedAt: undefined,
|
|
872
|
-
isComplete: false,
|
|
873
|
-
password: undefined,
|
|
874
|
-
token: undefined,
|
|
875
|
-
persons: [],
|
|
876
|
-
partnerId: Long.UZERO,
|
|
877
|
-
};
|
|
878
|
-
}
|
|
879
|
-
export const User = {
|
|
880
|
-
encode(message, writer = new BinaryWriter()) {
|
|
881
|
-
if (!message.id.equals(Long.UZERO)) {
|
|
882
|
-
writer.uint32(8).uint64(message.id.toString());
|
|
883
|
-
}
|
|
884
|
-
if (message.email !== undefined) {
|
|
885
|
-
writer.uint32(18).string(message.email);
|
|
886
|
-
}
|
|
887
|
-
if (message.telegramId !== undefined) {
|
|
888
|
-
writer.uint32(26).string(message.telegramId);
|
|
889
|
-
}
|
|
890
|
-
if (message.phone !== "") {
|
|
891
|
-
writer.uint32(34).string(message.phone);
|
|
892
|
-
}
|
|
893
|
-
if (message.status !== 0) {
|
|
894
|
-
writer.uint32(40).sint32(message.status);
|
|
895
|
-
}
|
|
896
|
-
if (message.createdBy !== undefined) {
|
|
897
|
-
writer.uint32(48).uint64(message.createdBy.toString());
|
|
898
|
-
}
|
|
899
|
-
if (message.updatedBy !== undefined) {
|
|
900
|
-
writer.uint32(56).uint64(message.updatedBy.toString());
|
|
901
|
-
}
|
|
902
|
-
if (message.createdAt !== undefined) {
|
|
903
|
-
Timestamp.encode(toTimestamp(message.createdAt), writer.uint32(66).fork()).join();
|
|
904
|
-
}
|
|
905
|
-
if (message.updatedAt !== undefined) {
|
|
906
|
-
Timestamp.encode(toTimestamp(message.updatedAt), writer.uint32(74).fork()).join();
|
|
907
|
-
}
|
|
908
|
-
if (message.isComplete !== false) {
|
|
909
|
-
writer.uint32(96).bool(message.isComplete);
|
|
910
|
-
}
|
|
911
|
-
if (message.password !== undefined) {
|
|
912
|
-
writer.uint32(122).string(message.password);
|
|
913
|
-
}
|
|
914
|
-
if (message.token !== undefined) {
|
|
915
|
-
writer.uint32(106).string(message.token);
|
|
916
|
-
}
|
|
917
|
-
for (const v of message.persons) {
|
|
918
|
-
Person.encode(v, writer.uint32(114).fork()).join();
|
|
919
|
-
}
|
|
920
|
-
if (!message.partnerId.equals(Long.UZERO)) {
|
|
921
|
-
writer.uint32(128).uint64(message.partnerId.toString());
|
|
922
|
-
}
|
|
923
|
-
return writer;
|
|
924
|
-
},
|
|
925
|
-
decode(input, length) {
|
|
926
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
927
|
-
const end = length === undefined ? reader.len : reader.pos + length;
|
|
928
|
-
const message = createBaseUser();
|
|
929
|
-
while (reader.pos < end) {
|
|
930
|
-
const tag = reader.uint32();
|
|
931
|
-
switch (tag >>> 3) {
|
|
932
|
-
case 1: {
|
|
933
|
-
if (tag !== 8) {
|
|
934
|
-
break;
|
|
935
|
-
}
|
|
936
|
-
message.id = Long.fromString(reader.uint64().toString(), true);
|
|
937
|
-
continue;
|
|
938
|
-
}
|
|
939
|
-
case 2: {
|
|
940
|
-
if (tag !== 18) {
|
|
941
|
-
break;
|
|
942
|
-
}
|
|
943
|
-
message.email = reader.string();
|
|
944
|
-
continue;
|
|
945
|
-
}
|
|
946
|
-
case 3: {
|
|
947
|
-
if (tag !== 26) {
|
|
948
|
-
break;
|
|
949
|
-
}
|
|
950
|
-
message.telegramId = reader.string();
|
|
951
|
-
continue;
|
|
952
|
-
}
|
|
953
|
-
case 4: {
|
|
954
|
-
if (tag !== 34) {
|
|
955
|
-
break;
|
|
956
|
-
}
|
|
957
|
-
message.phone = reader.string();
|
|
958
|
-
continue;
|
|
959
|
-
}
|
|
960
|
-
case 5: {
|
|
961
|
-
if (tag !== 40) {
|
|
962
|
-
break;
|
|
963
|
-
}
|
|
964
|
-
message.status = reader.sint32();
|
|
965
|
-
continue;
|
|
966
|
-
}
|
|
967
|
-
case 6: {
|
|
968
|
-
if (tag !== 48) {
|
|
969
|
-
break;
|
|
970
|
-
}
|
|
971
|
-
message.createdBy = Long.fromString(reader.uint64().toString(), true);
|
|
972
|
-
continue;
|
|
973
|
-
}
|
|
974
|
-
case 7: {
|
|
975
|
-
if (tag !== 56) {
|
|
976
|
-
break;
|
|
977
|
-
}
|
|
978
|
-
message.updatedBy = Long.fromString(reader.uint64().toString(), true);
|
|
979
|
-
continue;
|
|
980
|
-
}
|
|
981
|
-
case 8: {
|
|
982
|
-
if (tag !== 66) {
|
|
983
|
-
break;
|
|
984
|
-
}
|
|
985
|
-
message.createdAt = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
|
|
986
|
-
continue;
|
|
987
|
-
}
|
|
988
|
-
case 9: {
|
|
989
|
-
if (tag !== 74) {
|
|
990
|
-
break;
|
|
991
|
-
}
|
|
992
|
-
message.updatedAt = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
|
|
993
|
-
continue;
|
|
994
|
-
}
|
|
995
|
-
case 12: {
|
|
996
|
-
if (tag !== 96) {
|
|
997
|
-
break;
|
|
998
|
-
}
|
|
999
|
-
message.isComplete = reader.bool();
|
|
1000
|
-
continue;
|
|
1001
|
-
}
|
|
1002
|
-
case 15: {
|
|
1003
|
-
if (tag !== 122) {
|
|
1004
|
-
break;
|
|
1005
|
-
}
|
|
1006
|
-
message.password = reader.string();
|
|
1007
|
-
continue;
|
|
1008
|
-
}
|
|
1009
|
-
case 13: {
|
|
1010
|
-
if (tag !== 106) {
|
|
1011
|
-
break;
|
|
1012
|
-
}
|
|
1013
|
-
message.token = reader.string();
|
|
1014
|
-
continue;
|
|
1015
|
-
}
|
|
1016
|
-
case 14: {
|
|
1017
|
-
if (tag !== 114) {
|
|
1018
|
-
break;
|
|
1019
|
-
}
|
|
1020
|
-
message.persons.push(Person.decode(reader, reader.uint32()));
|
|
1021
|
-
continue;
|
|
1022
|
-
}
|
|
1023
|
-
case 16: {
|
|
1024
|
-
if (tag !== 128) {
|
|
1025
|
-
break;
|
|
1026
|
-
}
|
|
1027
|
-
message.partnerId = Long.fromString(reader.uint64().toString(), true);
|
|
1028
|
-
continue;
|
|
1029
|
-
}
|
|
1030
|
-
}
|
|
1031
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
1032
|
-
break;
|
|
1033
|
-
}
|
|
1034
|
-
reader.skip(tag & 7);
|
|
1035
|
-
}
|
|
1036
|
-
return message;
|
|
1037
|
-
},
|
|
1038
|
-
create(base) {
|
|
1039
|
-
return User.fromPartial(base ?? {});
|
|
1040
|
-
},
|
|
1041
|
-
fromPartial(object) {
|
|
1042
|
-
const message = createBaseUser();
|
|
1043
|
-
message.id = (object.id !== undefined && object.id !== null) ? Long.fromValue(object.id) : Long.UZERO;
|
|
1044
|
-
message.email = object.email ?? undefined;
|
|
1045
|
-
message.telegramId = object.telegramId ?? undefined;
|
|
1046
|
-
message.phone = object.phone ?? "";
|
|
1047
|
-
message.status = object.status ?? 0;
|
|
1048
|
-
message.createdBy = (object.createdBy !== undefined && object.createdBy !== null)
|
|
1049
|
-
? Long.fromValue(object.createdBy)
|
|
1050
|
-
: undefined;
|
|
1051
|
-
message.updatedBy = (object.updatedBy !== undefined && object.updatedBy !== null)
|
|
1052
|
-
? Long.fromValue(object.updatedBy)
|
|
1053
|
-
: undefined;
|
|
1054
|
-
message.createdAt = object.createdAt ?? undefined;
|
|
1055
|
-
message.updatedAt = object.updatedAt ?? undefined;
|
|
1056
|
-
message.isComplete = object.isComplete ?? false;
|
|
1057
|
-
message.password = object.password ?? undefined;
|
|
1058
|
-
message.token = object.token ?? undefined;
|
|
1059
|
-
message.persons = object.persons?.map((e) => Person.fromPartial(e)) || [];
|
|
1060
|
-
message.partnerId = (object.partnerId !== undefined && object.partnerId !== null)
|
|
1061
|
-
? Long.fromValue(object.partnerId)
|
|
1062
|
-
: Long.UZERO;
|
|
1063
|
-
return message;
|
|
1064
|
-
},
|
|
1065
|
-
};
|
|
1066
|
-
function createBasePerson() {
|
|
1067
|
-
return {
|
|
1068
|
-
id: Long.UZERO,
|
|
1069
|
-
type: 0,
|
|
1070
|
-
organizationId: Long.UZERO,
|
|
1071
|
-
roleId: undefined,
|
|
1072
|
-
userId: undefined,
|
|
1073
|
-
partnerId: undefined,
|
|
1074
|
-
createdBy: undefined,
|
|
1075
|
-
updatedBy: undefined,
|
|
1076
|
-
isComplete: false,
|
|
1077
|
-
name: undefined,
|
|
1078
|
-
image: undefined,
|
|
1079
|
-
nationalId: undefined,
|
|
1080
|
-
economicalId: undefined,
|
|
1081
|
-
identificationNumber: undefined,
|
|
1082
|
-
postalCode: undefined,
|
|
1083
|
-
address: undefined,
|
|
1084
|
-
birthDate: undefined,
|
|
1085
|
-
contactMobile: undefined,
|
|
1086
|
-
contactPhone: undefined,
|
|
1087
|
-
createdAt: undefined,
|
|
1088
|
-
updatedAt: undefined,
|
|
1089
|
-
organization: undefined,
|
|
1090
|
-
};
|
|
1091
|
-
}
|
|
1092
|
-
export const Person = {
|
|
1093
|
-
encode(message, writer = new BinaryWriter()) {
|
|
1094
|
-
if (!message.id.equals(Long.UZERO)) {
|
|
1095
|
-
writer.uint32(8).uint64(message.id.toString());
|
|
1096
|
-
}
|
|
1097
|
-
if (message.type !== 0) {
|
|
1098
|
-
writer.uint32(16).sint32(message.type);
|
|
1099
|
-
}
|
|
1100
|
-
if (!message.organizationId.equals(Long.UZERO)) {
|
|
1101
|
-
writer.uint32(24).uint64(message.organizationId.toString());
|
|
1102
|
-
}
|
|
1103
|
-
if (message.roleId !== undefined) {
|
|
1104
|
-
writer.uint32(32).uint64(message.roleId.toString());
|
|
1105
|
-
}
|
|
1106
|
-
if (message.userId !== undefined) {
|
|
1107
|
-
writer.uint32(40).uint64(message.userId.toString());
|
|
1108
|
-
}
|
|
1109
|
-
if (message.partnerId !== undefined) {
|
|
1110
|
-
writer.uint32(48).uint64(message.partnerId.toString());
|
|
1111
|
-
}
|
|
1112
|
-
if (message.createdBy !== undefined) {
|
|
1113
|
-
writer.uint32(56).uint64(message.createdBy.toString());
|
|
1114
|
-
}
|
|
1115
|
-
if (message.updatedBy !== undefined) {
|
|
1116
|
-
writer.uint32(64).uint64(message.updatedBy.toString());
|
|
1117
|
-
}
|
|
1118
|
-
if (message.isComplete !== false) {
|
|
1119
|
-
writer.uint32(72).bool(message.isComplete);
|
|
1120
|
-
}
|
|
1121
|
-
if (message.name !== undefined) {
|
|
1122
|
-
writer.uint32(82).string(message.name);
|
|
1123
|
-
}
|
|
1124
|
-
if (message.image !== undefined) {
|
|
1125
|
-
writer.uint32(90).string(message.image);
|
|
1126
|
-
}
|
|
1127
|
-
if (message.nationalId !== undefined) {
|
|
1128
|
-
writer.uint32(98).string(message.nationalId);
|
|
1129
|
-
}
|
|
1130
|
-
if (message.economicalId !== undefined) {
|
|
1131
|
-
writer.uint32(106).string(message.economicalId);
|
|
1132
|
-
}
|
|
1133
|
-
if (message.identificationNumber !== undefined) {
|
|
1134
|
-
writer.uint32(114).string(message.identificationNumber);
|
|
1135
|
-
}
|
|
1136
|
-
if (message.postalCode !== undefined) {
|
|
1137
|
-
writer.uint32(122).string(message.postalCode);
|
|
1138
|
-
}
|
|
1139
|
-
if (message.address !== undefined) {
|
|
1140
|
-
writer.uint32(130).string(message.address);
|
|
1141
|
-
}
|
|
1142
|
-
if (message.birthDate !== undefined) {
|
|
1143
|
-
Timestamp.encode(toTimestamp(message.birthDate), writer.uint32(138).fork()).join();
|
|
1144
|
-
}
|
|
1145
|
-
if (message.contactMobile !== undefined) {
|
|
1146
|
-
writer.uint32(146).string(message.contactMobile);
|
|
1147
|
-
}
|
|
1148
|
-
if (message.contactPhone !== undefined) {
|
|
1149
|
-
writer.uint32(154).string(message.contactPhone);
|
|
1150
|
-
}
|
|
1151
|
-
if (message.createdAt !== undefined) {
|
|
1152
|
-
Timestamp.encode(toTimestamp(message.createdAt), writer.uint32(162).fork()).join();
|
|
1153
|
-
}
|
|
1154
|
-
if (message.updatedAt !== undefined) {
|
|
1155
|
-
Timestamp.encode(toTimestamp(message.updatedAt), writer.uint32(170).fork()).join();
|
|
1156
|
-
}
|
|
1157
|
-
if (message.organization !== undefined) {
|
|
1158
|
-
Organization.encode(message.organization, writer.uint32(178).fork()).join();
|
|
1159
|
-
}
|
|
1160
|
-
return writer;
|
|
1161
|
-
},
|
|
1162
|
-
decode(input, length) {
|
|
1163
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1164
|
-
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1165
|
-
const message = createBasePerson();
|
|
1166
|
-
while (reader.pos < end) {
|
|
1167
|
-
const tag = reader.uint32();
|
|
1168
|
-
switch (tag >>> 3) {
|
|
1169
|
-
case 1: {
|
|
1170
|
-
if (tag !== 8) {
|
|
1171
|
-
break;
|
|
1172
|
-
}
|
|
1173
|
-
message.id = Long.fromString(reader.uint64().toString(), true);
|
|
1174
|
-
continue;
|
|
1175
|
-
}
|
|
1176
|
-
case 2: {
|
|
1177
|
-
if (tag !== 16) {
|
|
1178
|
-
break;
|
|
1179
|
-
}
|
|
1180
|
-
message.type = reader.sint32();
|
|
1181
|
-
continue;
|
|
1182
|
-
}
|
|
1183
|
-
case 3: {
|
|
1184
|
-
if (tag !== 24) {
|
|
1185
|
-
break;
|
|
1186
|
-
}
|
|
1187
|
-
message.organizationId = Long.fromString(reader.uint64().toString(), true);
|
|
1188
|
-
continue;
|
|
1189
|
-
}
|
|
1190
|
-
case 4: {
|
|
1191
|
-
if (tag !== 32) {
|
|
1192
|
-
break;
|
|
1193
|
-
}
|
|
1194
|
-
message.roleId = Long.fromString(reader.uint64().toString(), true);
|
|
1195
|
-
continue;
|
|
1196
|
-
}
|
|
1197
|
-
case 5: {
|
|
1198
|
-
if (tag !== 40) {
|
|
1199
|
-
break;
|
|
1200
|
-
}
|
|
1201
|
-
message.userId = Long.fromString(reader.uint64().toString(), true);
|
|
1202
|
-
continue;
|
|
1203
|
-
}
|
|
1204
|
-
case 6: {
|
|
1205
|
-
if (tag !== 48) {
|
|
1206
|
-
break;
|
|
1207
|
-
}
|
|
1208
|
-
message.partnerId = Long.fromString(reader.uint64().toString(), true);
|
|
1209
|
-
continue;
|
|
1210
|
-
}
|
|
1211
|
-
case 7: {
|
|
1212
|
-
if (tag !== 56) {
|
|
1213
|
-
break;
|
|
1214
|
-
}
|
|
1215
|
-
message.createdBy = Long.fromString(reader.uint64().toString(), true);
|
|
1216
|
-
continue;
|
|
1217
|
-
}
|
|
1218
|
-
case 8: {
|
|
1219
|
-
if (tag !== 64) {
|
|
1220
|
-
break;
|
|
1221
|
-
}
|
|
1222
|
-
message.updatedBy = Long.fromString(reader.uint64().toString(), true);
|
|
1223
|
-
continue;
|
|
1224
|
-
}
|
|
1225
|
-
case 9: {
|
|
1226
|
-
if (tag !== 72) {
|
|
1227
|
-
break;
|
|
1228
|
-
}
|
|
1229
|
-
message.isComplete = reader.bool();
|
|
1230
|
-
continue;
|
|
1231
|
-
}
|
|
1232
|
-
case 10: {
|
|
1233
|
-
if (tag !== 82) {
|
|
1234
|
-
break;
|
|
1235
|
-
}
|
|
1236
|
-
message.name = reader.string();
|
|
1237
|
-
continue;
|
|
1238
|
-
}
|
|
1239
|
-
case 11: {
|
|
1240
|
-
if (tag !== 90) {
|
|
1241
|
-
break;
|
|
1242
|
-
}
|
|
1243
|
-
message.image = reader.string();
|
|
1244
|
-
continue;
|
|
1245
|
-
}
|
|
1246
|
-
case 12: {
|
|
1247
|
-
if (tag !== 98) {
|
|
1248
|
-
break;
|
|
1249
|
-
}
|
|
1250
|
-
message.nationalId = reader.string();
|
|
1251
|
-
continue;
|
|
1252
|
-
}
|
|
1253
|
-
case 13: {
|
|
1254
|
-
if (tag !== 106) {
|
|
1255
|
-
break;
|
|
1256
|
-
}
|
|
1257
|
-
message.economicalId = reader.string();
|
|
1258
|
-
continue;
|
|
1259
|
-
}
|
|
1260
|
-
case 14: {
|
|
1261
|
-
if (tag !== 114) {
|
|
1262
|
-
break;
|
|
1263
|
-
}
|
|
1264
|
-
message.identificationNumber = reader.string();
|
|
1265
|
-
continue;
|
|
1266
|
-
}
|
|
1267
|
-
case 15: {
|
|
1268
|
-
if (tag !== 122) {
|
|
1269
|
-
break;
|
|
1270
|
-
}
|
|
1271
|
-
message.postalCode = reader.string();
|
|
1272
|
-
continue;
|
|
1273
|
-
}
|
|
1274
|
-
case 16: {
|
|
1275
|
-
if (tag !== 130) {
|
|
1276
|
-
break;
|
|
1277
|
-
}
|
|
1278
|
-
message.address = reader.string();
|
|
1279
|
-
continue;
|
|
1280
|
-
}
|
|
1281
|
-
case 17: {
|
|
1282
|
-
if (tag !== 138) {
|
|
1283
|
-
break;
|
|
1284
|
-
}
|
|
1285
|
-
message.birthDate = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
|
|
1286
|
-
continue;
|
|
1287
|
-
}
|
|
1288
|
-
case 18: {
|
|
1289
|
-
if (tag !== 146) {
|
|
1290
|
-
break;
|
|
1291
|
-
}
|
|
1292
|
-
message.contactMobile = reader.string();
|
|
1293
|
-
continue;
|
|
1294
|
-
}
|
|
1295
|
-
case 19: {
|
|
1296
|
-
if (tag !== 154) {
|
|
1297
|
-
break;
|
|
1298
|
-
}
|
|
1299
|
-
message.contactPhone = reader.string();
|
|
1300
|
-
continue;
|
|
1301
|
-
}
|
|
1302
|
-
case 20: {
|
|
1303
|
-
if (tag !== 162) {
|
|
1304
|
-
break;
|
|
1305
|
-
}
|
|
1306
|
-
message.createdAt = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
|
|
1307
|
-
continue;
|
|
1308
|
-
}
|
|
1309
|
-
case 21: {
|
|
1310
|
-
if (tag !== 170) {
|
|
1311
|
-
break;
|
|
1312
|
-
}
|
|
1313
|
-
message.updatedAt = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
|
|
1314
|
-
continue;
|
|
1315
|
-
}
|
|
1316
|
-
case 22: {
|
|
1317
|
-
if (tag !== 178) {
|
|
1318
|
-
break;
|
|
1319
|
-
}
|
|
1320
|
-
message.organization = Organization.decode(reader, reader.uint32());
|
|
1321
|
-
continue;
|
|
1322
|
-
}
|
|
1323
|
-
}
|
|
1324
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
1325
|
-
break;
|
|
1326
|
-
}
|
|
1327
|
-
reader.skip(tag & 7);
|
|
1328
|
-
}
|
|
1329
|
-
return message;
|
|
1330
|
-
},
|
|
1331
|
-
create(base) {
|
|
1332
|
-
return Person.fromPartial(base ?? {});
|
|
1333
|
-
},
|
|
1334
|
-
fromPartial(object) {
|
|
1335
|
-
const message = createBasePerson();
|
|
1336
|
-
message.id = (object.id !== undefined && object.id !== null) ? Long.fromValue(object.id) : Long.UZERO;
|
|
1337
|
-
message.type = object.type ?? 0;
|
|
1338
|
-
message.organizationId = (object.organizationId !== undefined && object.organizationId !== null)
|
|
1339
|
-
? Long.fromValue(object.organizationId)
|
|
1340
|
-
: Long.UZERO;
|
|
1341
|
-
message.roleId = (object.roleId !== undefined && object.roleId !== null)
|
|
1342
|
-
? Long.fromValue(object.roleId)
|
|
1343
|
-
: undefined;
|
|
1344
|
-
message.userId = (object.userId !== undefined && object.userId !== null)
|
|
1345
|
-
? Long.fromValue(object.userId)
|
|
1346
|
-
: undefined;
|
|
1347
|
-
message.partnerId = (object.partnerId !== undefined && object.partnerId !== null)
|
|
1348
|
-
? Long.fromValue(object.partnerId)
|
|
1349
|
-
: undefined;
|
|
1350
|
-
message.createdBy = (object.createdBy !== undefined && object.createdBy !== null)
|
|
1351
|
-
? Long.fromValue(object.createdBy)
|
|
1352
|
-
: undefined;
|
|
1353
|
-
message.updatedBy = (object.updatedBy !== undefined && object.updatedBy !== null)
|
|
1354
|
-
? Long.fromValue(object.updatedBy)
|
|
1355
|
-
: undefined;
|
|
1356
|
-
message.isComplete = object.isComplete ?? false;
|
|
1357
|
-
message.name = object.name ?? undefined;
|
|
1358
|
-
message.image = object.image ?? undefined;
|
|
1359
|
-
message.nationalId = object.nationalId ?? undefined;
|
|
1360
|
-
message.economicalId = object.economicalId ?? undefined;
|
|
1361
|
-
message.identificationNumber = object.identificationNumber ?? undefined;
|
|
1362
|
-
message.postalCode = object.postalCode ?? undefined;
|
|
1363
|
-
message.address = object.address ?? undefined;
|
|
1364
|
-
message.birthDate = object.birthDate ?? undefined;
|
|
1365
|
-
message.contactMobile = object.contactMobile ?? undefined;
|
|
1366
|
-
message.contactPhone = object.contactPhone ?? undefined;
|
|
1367
|
-
message.createdAt = object.createdAt ?? undefined;
|
|
1368
|
-
message.updatedAt = object.updatedAt ?? undefined;
|
|
1369
|
-
message.organization = (object.organization !== undefined && object.organization !== null)
|
|
1370
|
-
? Organization.fromPartial(object.organization)
|
|
1371
|
-
: undefined;
|
|
1372
|
-
return message;
|
|
1373
|
-
},
|
|
1374
|
-
};
|
|
1375
|
-
function createBaseOrganization() {
|
|
1376
|
-
return {
|
|
1377
|
-
id: Long.UZERO,
|
|
1378
|
-
name: undefined,
|
|
1379
|
-
number: undefined,
|
|
1380
|
-
picture: undefined,
|
|
1381
|
-
status: false,
|
|
1382
|
-
isPartner: false,
|
|
1383
|
-
metadata: undefined,
|
|
1384
|
-
domains: [],
|
|
1385
|
-
generation: undefined,
|
|
1386
|
-
parentId: undefined,
|
|
1387
|
-
level: 0,
|
|
1388
|
-
ownerId: undefined,
|
|
1389
|
-
createdBy: undefined,
|
|
1390
|
-
deletedAt: undefined,
|
|
1391
|
-
createdAt: undefined,
|
|
1392
|
-
updatedAt: undefined,
|
|
1393
|
-
};
|
|
1394
|
-
}
|
|
1395
|
-
export const Organization = {
|
|
1396
|
-
encode(message, writer = new BinaryWriter()) {
|
|
1397
|
-
if (!message.id.equals(Long.UZERO)) {
|
|
1398
|
-
writer.uint32(8).uint64(message.id.toString());
|
|
1399
|
-
}
|
|
1400
|
-
if (message.name !== undefined) {
|
|
1401
|
-
writer.uint32(18).string(message.name);
|
|
1402
|
-
}
|
|
1403
|
-
if (message.number !== undefined) {
|
|
1404
|
-
writer.uint32(26).string(message.number);
|
|
1405
|
-
}
|
|
1406
|
-
if (message.picture !== undefined) {
|
|
1407
|
-
writer.uint32(34).string(message.picture);
|
|
1408
|
-
}
|
|
1409
|
-
if (message.status !== false) {
|
|
1410
|
-
writer.uint32(40).bool(message.status);
|
|
1411
|
-
}
|
|
1412
|
-
if (message.isPartner !== false) {
|
|
1413
|
-
writer.uint32(48).bool(message.isPartner);
|
|
1414
|
-
}
|
|
1415
|
-
if (message.metadata !== undefined) {
|
|
1416
|
-
Organization_MetaData.encode(message.metadata, writer.uint32(58).fork()).join();
|
|
1417
|
-
}
|
|
1418
|
-
for (const v of message.domains) {
|
|
1419
|
-
writer.uint32(66).string(v);
|
|
1420
|
-
}
|
|
1421
|
-
if (message.generation !== undefined) {
|
|
1422
|
-
writer.uint32(74).string(message.generation);
|
|
1423
|
-
}
|
|
1424
|
-
if (message.parentId !== undefined) {
|
|
1425
|
-
writer.uint32(80).uint64(message.parentId.toString());
|
|
1426
|
-
}
|
|
1427
|
-
if (message.level !== 0) {
|
|
1428
|
-
writer.uint32(88).sint32(message.level);
|
|
1429
|
-
}
|
|
1430
|
-
if (message.ownerId !== undefined) {
|
|
1431
|
-
writer.uint32(96).uint64(message.ownerId.toString());
|
|
1432
|
-
}
|
|
1433
|
-
if (message.createdBy !== undefined) {
|
|
1434
|
-
writer.uint32(104).uint64(message.createdBy.toString());
|
|
1435
|
-
}
|
|
1436
|
-
if (message.deletedAt !== undefined) {
|
|
1437
|
-
Timestamp.encode(toTimestamp(message.deletedAt), writer.uint32(114).fork()).join();
|
|
1438
|
-
}
|
|
1439
|
-
if (message.createdAt !== undefined) {
|
|
1440
|
-
Timestamp.encode(toTimestamp(message.createdAt), writer.uint32(122).fork()).join();
|
|
1441
|
-
}
|
|
1442
|
-
if (message.updatedAt !== undefined) {
|
|
1443
|
-
Timestamp.encode(toTimestamp(message.updatedAt), writer.uint32(130).fork()).join();
|
|
1444
|
-
}
|
|
1445
|
-
return writer;
|
|
1446
|
-
},
|
|
1447
|
-
decode(input, length) {
|
|
1448
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1449
|
-
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1450
|
-
const message = createBaseOrganization();
|
|
1451
|
-
while (reader.pos < end) {
|
|
1452
|
-
const tag = reader.uint32();
|
|
1453
|
-
switch (tag >>> 3) {
|
|
1454
|
-
case 1: {
|
|
1455
|
-
if (tag !== 8) {
|
|
1456
|
-
break;
|
|
1457
|
-
}
|
|
1458
|
-
message.id = Long.fromString(reader.uint64().toString(), true);
|
|
1459
|
-
continue;
|
|
1460
|
-
}
|
|
1461
|
-
case 2: {
|
|
1462
|
-
if (tag !== 18) {
|
|
1463
|
-
break;
|
|
1464
|
-
}
|
|
1465
|
-
message.name = reader.string();
|
|
1466
|
-
continue;
|
|
1467
|
-
}
|
|
1468
|
-
case 3: {
|
|
1469
|
-
if (tag !== 26) {
|
|
1470
|
-
break;
|
|
1471
|
-
}
|
|
1472
|
-
message.number = reader.string();
|
|
1473
|
-
continue;
|
|
1474
|
-
}
|
|
1475
|
-
case 4: {
|
|
1476
|
-
if (tag !== 34) {
|
|
1477
|
-
break;
|
|
1478
|
-
}
|
|
1479
|
-
message.picture = reader.string();
|
|
1480
|
-
continue;
|
|
1481
|
-
}
|
|
1482
|
-
case 5: {
|
|
1483
|
-
if (tag !== 40) {
|
|
1484
|
-
break;
|
|
1485
|
-
}
|
|
1486
|
-
message.status = reader.bool();
|
|
1487
|
-
continue;
|
|
1488
|
-
}
|
|
1489
|
-
case 6: {
|
|
1490
|
-
if (tag !== 48) {
|
|
1491
|
-
break;
|
|
1492
|
-
}
|
|
1493
|
-
message.isPartner = reader.bool();
|
|
1494
|
-
continue;
|
|
1495
|
-
}
|
|
1496
|
-
case 7: {
|
|
1497
|
-
if (tag !== 58) {
|
|
1498
|
-
break;
|
|
1499
|
-
}
|
|
1500
|
-
message.metadata = Organization_MetaData.decode(reader, reader.uint32());
|
|
1501
|
-
continue;
|
|
1502
|
-
}
|
|
1503
|
-
case 8: {
|
|
1504
|
-
if (tag !== 66) {
|
|
1505
|
-
break;
|
|
1506
|
-
}
|
|
1507
|
-
message.domains.push(reader.string());
|
|
1508
|
-
continue;
|
|
1509
|
-
}
|
|
1510
|
-
case 9: {
|
|
1511
|
-
if (tag !== 74) {
|
|
1512
|
-
break;
|
|
1513
|
-
}
|
|
1514
|
-
message.generation = reader.string();
|
|
1515
|
-
continue;
|
|
1516
|
-
}
|
|
1517
|
-
case 10: {
|
|
1518
|
-
if (tag !== 80) {
|
|
1519
|
-
break;
|
|
1520
|
-
}
|
|
1521
|
-
message.parentId = Long.fromString(reader.uint64().toString(), true);
|
|
1522
|
-
continue;
|
|
1523
|
-
}
|
|
1524
|
-
case 11: {
|
|
1525
|
-
if (tag !== 88) {
|
|
1526
|
-
break;
|
|
1527
|
-
}
|
|
1528
|
-
message.level = reader.sint32();
|
|
1529
|
-
continue;
|
|
1530
|
-
}
|
|
1531
|
-
case 12: {
|
|
1532
|
-
if (tag !== 96) {
|
|
1533
|
-
break;
|
|
1534
|
-
}
|
|
1535
|
-
message.ownerId = Long.fromString(reader.uint64().toString(), true);
|
|
1536
|
-
continue;
|
|
1537
|
-
}
|
|
1538
|
-
case 13: {
|
|
1539
|
-
if (tag !== 104) {
|
|
1540
|
-
break;
|
|
1541
|
-
}
|
|
1542
|
-
message.createdBy = Long.fromString(reader.uint64().toString(), true);
|
|
1543
|
-
continue;
|
|
1544
|
-
}
|
|
1545
|
-
case 14: {
|
|
1546
|
-
if (tag !== 114) {
|
|
1547
|
-
break;
|
|
1548
|
-
}
|
|
1549
|
-
message.deletedAt = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
|
|
1550
|
-
continue;
|
|
1551
|
-
}
|
|
1552
|
-
case 15: {
|
|
1553
|
-
if (tag !== 122) {
|
|
1554
|
-
break;
|
|
1555
|
-
}
|
|
1556
|
-
message.createdAt = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
|
|
1557
|
-
continue;
|
|
1558
|
-
}
|
|
1559
|
-
case 16: {
|
|
1560
|
-
if (tag !== 130) {
|
|
1561
|
-
break;
|
|
1562
|
-
}
|
|
1563
|
-
message.updatedAt = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
|
|
1564
|
-
continue;
|
|
1565
|
-
}
|
|
1566
|
-
}
|
|
1567
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
1568
|
-
break;
|
|
1569
|
-
}
|
|
1570
|
-
reader.skip(tag & 7);
|
|
1571
|
-
}
|
|
1572
|
-
return message;
|
|
1573
|
-
},
|
|
1574
|
-
create(base) {
|
|
1575
|
-
return Organization.fromPartial(base ?? {});
|
|
1576
|
-
},
|
|
1577
|
-
fromPartial(object) {
|
|
1578
|
-
const message = createBaseOrganization();
|
|
1579
|
-
message.id = (object.id !== undefined && object.id !== null) ? Long.fromValue(object.id) : Long.UZERO;
|
|
1580
|
-
message.name = object.name ?? undefined;
|
|
1581
|
-
message.number = object.number ?? undefined;
|
|
1582
|
-
message.picture = object.picture ?? undefined;
|
|
1583
|
-
message.status = object.status ?? false;
|
|
1584
|
-
message.isPartner = object.isPartner ?? false;
|
|
1585
|
-
message.metadata = (object.metadata !== undefined && object.metadata !== null)
|
|
1586
|
-
? Organization_MetaData.fromPartial(object.metadata)
|
|
1587
|
-
: undefined;
|
|
1588
|
-
message.domains = object.domains?.map((e) => e) || [];
|
|
1589
|
-
message.generation = object.generation ?? undefined;
|
|
1590
|
-
message.parentId = (object.parentId !== undefined && object.parentId !== null)
|
|
1591
|
-
? Long.fromValue(object.parentId)
|
|
1592
|
-
: undefined;
|
|
1593
|
-
message.level = object.level ?? 0;
|
|
1594
|
-
message.ownerId = (object.ownerId !== undefined && object.ownerId !== null)
|
|
1595
|
-
? Long.fromValue(object.ownerId)
|
|
1596
|
-
: undefined;
|
|
1597
|
-
message.createdBy = (object.createdBy !== undefined && object.createdBy !== null)
|
|
1598
|
-
? Long.fromValue(object.createdBy)
|
|
1599
|
-
: undefined;
|
|
1600
|
-
message.deletedAt = object.deletedAt ?? undefined;
|
|
1601
|
-
message.createdAt = object.createdAt ?? undefined;
|
|
1602
|
-
message.updatedAt = object.updatedAt ?? undefined;
|
|
1603
|
-
return message;
|
|
1604
|
-
},
|
|
1605
|
-
};
|
|
1606
|
-
function createBaseOrganization_MetaData() {
|
|
1607
|
-
return {
|
|
1608
|
-
fax: undefined,
|
|
1609
|
-
lat: undefined,
|
|
1610
|
-
long: undefined,
|
|
1611
|
-
zoom: undefined,
|
|
1612
|
-
about: undefined,
|
|
1613
|
-
email: undefined,
|
|
1614
|
-
rules: undefined,
|
|
1615
|
-
mobile: undefined,
|
|
1616
|
-
address: undefined,
|
|
1617
|
-
mobile2: undefined,
|
|
1618
|
-
website: undefined,
|
|
1619
|
-
isLegal: undefined,
|
|
1620
|
-
telegram: undefined,
|
|
1621
|
-
instagram: undefined,
|
|
1622
|
-
telephone: undefined,
|
|
1623
|
-
companyId: undefined,
|
|
1624
|
-
telephone2: undefined,
|
|
1625
|
-
nationalId: undefined,
|
|
1626
|
-
postalCode: undefined,
|
|
1627
|
-
economicalId: undefined,
|
|
1628
|
-
registrationDate: undefined,
|
|
1629
|
-
};
|
|
1630
|
-
}
|
|
1631
|
-
export const Organization_MetaData = {
|
|
1632
|
-
encode(message, writer = new BinaryWriter()) {
|
|
1633
|
-
if (message.fax !== undefined) {
|
|
1634
|
-
writer.uint32(10).string(message.fax);
|
|
1635
|
-
}
|
|
1636
|
-
if (message.lat !== undefined) {
|
|
1637
|
-
writer.uint32(17).double(message.lat);
|
|
1638
|
-
}
|
|
1639
|
-
if (message.long !== undefined) {
|
|
1640
|
-
writer.uint32(25).double(message.long);
|
|
1641
|
-
}
|
|
1642
|
-
if (message.zoom !== undefined) {
|
|
1643
|
-
writer.uint32(32).int32(message.zoom);
|
|
1644
|
-
}
|
|
1645
|
-
if (message.about !== undefined) {
|
|
1646
|
-
writer.uint32(42).string(message.about);
|
|
1647
|
-
}
|
|
1648
|
-
if (message.email !== undefined) {
|
|
1649
|
-
writer.uint32(50).string(message.email);
|
|
1650
|
-
}
|
|
1651
|
-
if (message.rules !== undefined) {
|
|
1652
|
-
writer.uint32(58).string(message.rules);
|
|
1653
|
-
}
|
|
1654
|
-
if (message.mobile !== undefined) {
|
|
1655
|
-
writer.uint32(66).string(message.mobile);
|
|
1656
|
-
}
|
|
1657
|
-
if (message.address !== undefined) {
|
|
1658
|
-
writer.uint32(74).string(message.address);
|
|
1659
|
-
}
|
|
1660
|
-
if (message.mobile2 !== undefined) {
|
|
1661
|
-
writer.uint32(82).string(message.mobile2);
|
|
1662
|
-
}
|
|
1663
|
-
if (message.website !== undefined) {
|
|
1664
|
-
writer.uint32(90).string(message.website);
|
|
1665
|
-
}
|
|
1666
|
-
if (message.isLegal !== undefined) {
|
|
1667
|
-
writer.uint32(96).int32(message.isLegal);
|
|
1668
|
-
}
|
|
1669
|
-
if (message.telegram !== undefined) {
|
|
1670
|
-
writer.uint32(106).string(message.telegram);
|
|
1671
|
-
}
|
|
1672
|
-
if (message.instagram !== undefined) {
|
|
1673
|
-
writer.uint32(114).string(message.instagram);
|
|
1674
|
-
}
|
|
1675
|
-
if (message.telephone !== undefined) {
|
|
1676
|
-
writer.uint32(122).string(message.telephone);
|
|
1677
|
-
}
|
|
1678
|
-
if (message.companyId !== undefined) {
|
|
1679
|
-
writer.uint32(128).int64(message.companyId.toString());
|
|
1680
|
-
}
|
|
1681
|
-
if (message.telephone2 !== undefined) {
|
|
1682
|
-
writer.uint32(138).string(message.telephone2);
|
|
1683
|
-
}
|
|
1684
|
-
if (message.nationalId !== undefined) {
|
|
1685
|
-
writer.uint32(146).string(message.nationalId);
|
|
1686
|
-
}
|
|
1687
|
-
if (message.postalCode !== undefined) {
|
|
1688
|
-
writer.uint32(154).string(message.postalCode);
|
|
1689
|
-
}
|
|
1690
|
-
if (message.economicalId !== undefined) {
|
|
1691
|
-
writer.uint32(162).string(message.economicalId);
|
|
1692
|
-
}
|
|
1693
|
-
if (message.registrationDate !== undefined) {
|
|
1694
|
-
writer.uint32(170).string(message.registrationDate);
|
|
1695
|
-
}
|
|
1696
|
-
return writer;
|
|
1697
|
-
},
|
|
1698
|
-
decode(input, length) {
|
|
1699
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1700
|
-
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1701
|
-
const message = createBaseOrganization_MetaData();
|
|
1702
|
-
while (reader.pos < end) {
|
|
1703
|
-
const tag = reader.uint32();
|
|
1704
|
-
switch (tag >>> 3) {
|
|
1705
|
-
case 1: {
|
|
1706
|
-
if (tag !== 10) {
|
|
1707
|
-
break;
|
|
1708
|
-
}
|
|
1709
|
-
message.fax = reader.string();
|
|
1710
|
-
continue;
|
|
1711
|
-
}
|
|
1712
|
-
case 2: {
|
|
1713
|
-
if (tag !== 17) {
|
|
1714
|
-
break;
|
|
1715
|
-
}
|
|
1716
|
-
message.lat = reader.double();
|
|
1717
|
-
continue;
|
|
1718
|
-
}
|
|
1719
|
-
case 3: {
|
|
1720
|
-
if (tag !== 25) {
|
|
1721
|
-
break;
|
|
1722
|
-
}
|
|
1723
|
-
message.long = reader.double();
|
|
1724
|
-
continue;
|
|
1725
|
-
}
|
|
1726
|
-
case 4: {
|
|
1727
|
-
if (tag !== 32) {
|
|
1728
|
-
break;
|
|
1729
|
-
}
|
|
1730
|
-
message.zoom = reader.int32();
|
|
1731
|
-
continue;
|
|
1732
|
-
}
|
|
1733
|
-
case 5: {
|
|
1734
|
-
if (tag !== 42) {
|
|
1735
|
-
break;
|
|
1736
|
-
}
|
|
1737
|
-
message.about = reader.string();
|
|
1738
|
-
continue;
|
|
1739
|
-
}
|
|
1740
|
-
case 6: {
|
|
1741
|
-
if (tag !== 50) {
|
|
1742
|
-
break;
|
|
1743
|
-
}
|
|
1744
|
-
message.email = reader.string();
|
|
1745
|
-
continue;
|
|
1746
|
-
}
|
|
1747
|
-
case 7: {
|
|
1748
|
-
if (tag !== 58) {
|
|
1749
|
-
break;
|
|
1750
|
-
}
|
|
1751
|
-
message.rules = reader.string();
|
|
1752
|
-
continue;
|
|
1753
|
-
}
|
|
1754
|
-
case 8: {
|
|
1755
|
-
if (tag !== 66) {
|
|
1756
|
-
break;
|
|
1757
|
-
}
|
|
1758
|
-
message.mobile = reader.string();
|
|
1759
|
-
continue;
|
|
1760
|
-
}
|
|
1761
|
-
case 9: {
|
|
1762
|
-
if (tag !== 74) {
|
|
1763
|
-
break;
|
|
1764
|
-
}
|
|
1765
|
-
message.address = reader.string();
|
|
1766
|
-
continue;
|
|
1767
|
-
}
|
|
1768
|
-
case 10: {
|
|
1769
|
-
if (tag !== 82) {
|
|
1770
|
-
break;
|
|
1771
|
-
}
|
|
1772
|
-
message.mobile2 = reader.string();
|
|
1773
|
-
continue;
|
|
1774
|
-
}
|
|
1775
|
-
case 11: {
|
|
1776
|
-
if (tag !== 90) {
|
|
1777
|
-
break;
|
|
1778
|
-
}
|
|
1779
|
-
message.website = reader.string();
|
|
1780
|
-
continue;
|
|
1781
|
-
}
|
|
1782
|
-
case 12: {
|
|
1783
|
-
if (tag !== 96) {
|
|
1784
|
-
break;
|
|
1785
|
-
}
|
|
1786
|
-
message.isLegal = reader.int32();
|
|
1787
|
-
continue;
|
|
1788
|
-
}
|
|
1789
|
-
case 13: {
|
|
1790
|
-
if (tag !== 106) {
|
|
1791
|
-
break;
|
|
1792
|
-
}
|
|
1793
|
-
message.telegram = reader.string();
|
|
1794
|
-
continue;
|
|
1795
|
-
}
|
|
1796
|
-
case 14: {
|
|
1797
|
-
if (tag !== 114) {
|
|
1798
|
-
break;
|
|
1799
|
-
}
|
|
1800
|
-
message.instagram = reader.string();
|
|
1801
|
-
continue;
|
|
1802
|
-
}
|
|
1803
|
-
case 15: {
|
|
1804
|
-
if (tag !== 122) {
|
|
1805
|
-
break;
|
|
1806
|
-
}
|
|
1807
|
-
message.telephone = reader.string();
|
|
1808
|
-
continue;
|
|
1809
|
-
}
|
|
1810
|
-
case 16: {
|
|
1811
|
-
if (tag !== 128) {
|
|
1812
|
-
break;
|
|
1813
|
-
}
|
|
1814
|
-
message.companyId = Long.fromString(reader.int64().toString());
|
|
1815
|
-
continue;
|
|
1816
|
-
}
|
|
1817
|
-
case 17: {
|
|
1818
|
-
if (tag !== 138) {
|
|
1819
|
-
break;
|
|
1820
|
-
}
|
|
1821
|
-
message.telephone2 = reader.string();
|
|
1822
|
-
continue;
|
|
1823
|
-
}
|
|
1824
|
-
case 18: {
|
|
1825
|
-
if (tag !== 146) {
|
|
1826
|
-
break;
|
|
1827
|
-
}
|
|
1828
|
-
message.nationalId = reader.string();
|
|
1829
|
-
continue;
|
|
1830
|
-
}
|
|
1831
|
-
case 19: {
|
|
1832
|
-
if (tag !== 154) {
|
|
1833
|
-
break;
|
|
1834
|
-
}
|
|
1835
|
-
message.postalCode = reader.string();
|
|
1836
|
-
continue;
|
|
1837
|
-
}
|
|
1838
|
-
case 20: {
|
|
1839
|
-
if (tag !== 162) {
|
|
1840
|
-
break;
|
|
1841
|
-
}
|
|
1842
|
-
message.economicalId = reader.string();
|
|
1843
|
-
continue;
|
|
1844
|
-
}
|
|
1845
|
-
case 21: {
|
|
1846
|
-
if (tag !== 170) {
|
|
1847
|
-
break;
|
|
1848
|
-
}
|
|
1849
|
-
message.registrationDate = reader.string();
|
|
1850
|
-
continue;
|
|
1851
|
-
}
|
|
1852
|
-
}
|
|
1853
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
1854
|
-
break;
|
|
1855
|
-
}
|
|
1856
|
-
reader.skip(tag & 7);
|
|
1857
|
-
}
|
|
1858
|
-
return message;
|
|
1859
|
-
},
|
|
1860
|
-
create(base) {
|
|
1861
|
-
return Organization_MetaData.fromPartial(base ?? {});
|
|
1862
|
-
},
|
|
1863
|
-
fromPartial(object) {
|
|
1864
|
-
const message = createBaseOrganization_MetaData();
|
|
1865
|
-
message.fax = object.fax ?? undefined;
|
|
1866
|
-
message.lat = object.lat ?? undefined;
|
|
1867
|
-
message.long = object.long ?? undefined;
|
|
1868
|
-
message.zoom = object.zoom ?? undefined;
|
|
1869
|
-
message.about = object.about ?? undefined;
|
|
1870
|
-
message.email = object.email ?? undefined;
|
|
1871
|
-
message.rules = object.rules ?? undefined;
|
|
1872
|
-
message.mobile = object.mobile ?? undefined;
|
|
1873
|
-
message.address = object.address ?? undefined;
|
|
1874
|
-
message.mobile2 = object.mobile2 ?? undefined;
|
|
1875
|
-
message.website = object.website ?? undefined;
|
|
1876
|
-
message.isLegal = object.isLegal ?? undefined;
|
|
1877
|
-
message.telegram = object.telegram ?? undefined;
|
|
1878
|
-
message.instagram = object.instagram ?? undefined;
|
|
1879
|
-
message.telephone = object.telephone ?? undefined;
|
|
1880
|
-
message.companyId = (object.companyId !== undefined && object.companyId !== null)
|
|
1881
|
-
? Long.fromValue(object.companyId)
|
|
1882
|
-
: undefined;
|
|
1883
|
-
message.telephone2 = object.telephone2 ?? undefined;
|
|
1884
|
-
message.nationalId = object.nationalId ?? undefined;
|
|
1885
|
-
message.postalCode = object.postalCode ?? undefined;
|
|
1886
|
-
message.economicalId = object.economicalId ?? undefined;
|
|
1887
|
-
message.registrationDate = object.registrationDate ?? undefined;
|
|
1888
|
-
return message;
|
|
1889
|
-
},
|
|
1890
|
-
};
|
|
1891
|
-
function createBaseDriver() {
|
|
1892
|
-
return {
|
|
1893
|
-
id: Long.UZERO,
|
|
1894
|
-
organizationId: Long.UZERO,
|
|
1895
|
-
createdBy: undefined,
|
|
1896
|
-
updatedBy: undefined,
|
|
1897
|
-
personId: Long.UZERO,
|
|
1898
|
-
driverIdentify: undefined,
|
|
1899
|
-
licenseNumber: undefined,
|
|
1900
|
-
hiringDate: undefined,
|
|
1901
|
-
monthlySalary: undefined,
|
|
1902
|
-
licenseType: undefined,
|
|
1903
|
-
licenseExpire: undefined,
|
|
1904
|
-
commissionPercentage: undefined,
|
|
1905
|
-
status: false,
|
|
1906
|
-
mobileNumber: undefined,
|
|
1907
|
-
phoneNumber: undefined,
|
|
1908
|
-
address: undefined,
|
|
1909
|
-
postalCode: undefined,
|
|
1910
|
-
createdAt: undefined,
|
|
1911
|
-
updatedAt: undefined,
|
|
1912
|
-
};
|
|
1913
|
-
}
|
|
1914
|
-
export const Driver = {
|
|
1915
|
-
encode(message, writer = new BinaryWriter()) {
|
|
1916
|
-
if (!message.id.equals(Long.UZERO)) {
|
|
1917
|
-
writer.uint32(8).uint64(message.id.toString());
|
|
1918
|
-
}
|
|
1919
|
-
if (!message.organizationId.equals(Long.UZERO)) {
|
|
1920
|
-
writer.uint32(16).uint64(message.organizationId.toString());
|
|
1921
|
-
}
|
|
1922
|
-
if (message.createdBy !== undefined) {
|
|
1923
|
-
writer.uint32(24).uint64(message.createdBy.toString());
|
|
1924
|
-
}
|
|
1925
|
-
if (message.updatedBy !== undefined) {
|
|
1926
|
-
writer.uint32(32).uint64(message.updatedBy.toString());
|
|
1927
|
-
}
|
|
1928
|
-
if (!message.personId.equals(Long.UZERO)) {
|
|
1929
|
-
writer.uint32(40).uint64(message.personId.toString());
|
|
1930
|
-
}
|
|
1931
|
-
if (message.driverIdentify !== undefined) {
|
|
1932
|
-
writer.uint32(50).string(message.driverIdentify);
|
|
1933
|
-
}
|
|
1934
|
-
if (message.licenseNumber !== undefined) {
|
|
1935
|
-
writer.uint32(58).string(message.licenseNumber);
|
|
1936
|
-
}
|
|
1937
|
-
if (message.hiringDate !== undefined) {
|
|
1938
|
-
writer.uint32(66).string(message.hiringDate);
|
|
1939
|
-
}
|
|
1940
|
-
if (message.monthlySalary !== undefined) {
|
|
1941
|
-
writer.uint32(72).uint64(message.monthlySalary.toString());
|
|
1942
|
-
}
|
|
1943
|
-
if (message.licenseType !== undefined) {
|
|
1944
|
-
writer.uint32(80).uint32(message.licenseType);
|
|
1945
|
-
}
|
|
1946
|
-
if (message.licenseExpire !== undefined) {
|
|
1947
|
-
writer.uint32(90).string(message.licenseExpire);
|
|
1948
|
-
}
|
|
1949
|
-
if (message.commissionPercentage !== undefined) {
|
|
1950
|
-
writer.uint32(96).uint32(message.commissionPercentage);
|
|
1951
|
-
}
|
|
1952
|
-
if (message.status !== false) {
|
|
1953
|
-
writer.uint32(104).bool(message.status);
|
|
1954
|
-
}
|
|
1955
|
-
if (message.mobileNumber !== undefined) {
|
|
1956
|
-
writer.uint32(114).string(message.mobileNumber);
|
|
1957
|
-
}
|
|
1958
|
-
if (message.phoneNumber !== undefined) {
|
|
1959
|
-
writer.uint32(122).string(message.phoneNumber);
|
|
1960
|
-
}
|
|
1961
|
-
if (message.address !== undefined) {
|
|
1962
|
-
writer.uint32(130).string(message.address);
|
|
1963
|
-
}
|
|
1964
|
-
if (message.postalCode !== undefined) {
|
|
1965
|
-
writer.uint32(138).string(message.postalCode);
|
|
1966
|
-
}
|
|
1967
|
-
if (message.createdAt !== undefined) {
|
|
1968
|
-
Timestamp.encode(toTimestamp(message.createdAt), writer.uint32(146).fork()).join();
|
|
1969
|
-
}
|
|
1970
|
-
if (message.updatedAt !== undefined) {
|
|
1971
|
-
Timestamp.encode(toTimestamp(message.updatedAt), writer.uint32(154).fork()).join();
|
|
1972
|
-
}
|
|
1973
|
-
return writer;
|
|
1974
|
-
},
|
|
1975
|
-
decode(input, length) {
|
|
1976
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1977
|
-
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1978
|
-
const message = createBaseDriver();
|
|
1979
|
-
while (reader.pos < end) {
|
|
1980
|
-
const tag = reader.uint32();
|
|
1981
|
-
switch (tag >>> 3) {
|
|
1982
|
-
case 1: {
|
|
1983
|
-
if (tag !== 8) {
|
|
1984
|
-
break;
|
|
1985
|
-
}
|
|
1986
|
-
message.id = Long.fromString(reader.uint64().toString(), true);
|
|
1987
|
-
continue;
|
|
1988
|
-
}
|
|
1989
|
-
case 2: {
|
|
1990
|
-
if (tag !== 16) {
|
|
1991
|
-
break;
|
|
1992
|
-
}
|
|
1993
|
-
message.organizationId = Long.fromString(reader.uint64().toString(), true);
|
|
1994
|
-
continue;
|
|
1995
|
-
}
|
|
1996
|
-
case 3: {
|
|
1997
|
-
if (tag !== 24) {
|
|
1998
|
-
break;
|
|
1999
|
-
}
|
|
2000
|
-
message.createdBy = Long.fromString(reader.uint64().toString(), true);
|
|
2001
|
-
continue;
|
|
2002
|
-
}
|
|
2003
|
-
case 4: {
|
|
2004
|
-
if (tag !== 32) {
|
|
2005
|
-
break;
|
|
2006
|
-
}
|
|
2007
|
-
message.updatedBy = Long.fromString(reader.uint64().toString(), true);
|
|
2008
|
-
continue;
|
|
2009
|
-
}
|
|
2010
|
-
case 5: {
|
|
2011
|
-
if (tag !== 40) {
|
|
2012
|
-
break;
|
|
2013
|
-
}
|
|
2014
|
-
message.personId = Long.fromString(reader.uint64().toString(), true);
|
|
2015
|
-
continue;
|
|
2016
|
-
}
|
|
2017
|
-
case 6: {
|
|
2018
|
-
if (tag !== 50) {
|
|
2019
|
-
break;
|
|
2020
|
-
}
|
|
2021
|
-
message.driverIdentify = reader.string();
|
|
2022
|
-
continue;
|
|
2023
|
-
}
|
|
2024
|
-
case 7: {
|
|
2025
|
-
if (tag !== 58) {
|
|
2026
|
-
break;
|
|
2027
|
-
}
|
|
2028
|
-
message.licenseNumber = reader.string();
|
|
2029
|
-
continue;
|
|
2030
|
-
}
|
|
2031
|
-
case 8: {
|
|
2032
|
-
if (tag !== 66) {
|
|
2033
|
-
break;
|
|
2034
|
-
}
|
|
2035
|
-
message.hiringDate = reader.string();
|
|
2036
|
-
continue;
|
|
2037
|
-
}
|
|
2038
|
-
case 9: {
|
|
2039
|
-
if (tag !== 72) {
|
|
2040
|
-
break;
|
|
2041
|
-
}
|
|
2042
|
-
message.monthlySalary = Long.fromString(reader.uint64().toString(), true);
|
|
2043
|
-
continue;
|
|
2044
|
-
}
|
|
2045
|
-
case 10: {
|
|
2046
|
-
if (tag !== 80) {
|
|
2047
|
-
break;
|
|
2048
|
-
}
|
|
2049
|
-
message.licenseType = reader.uint32();
|
|
2050
|
-
continue;
|
|
2051
|
-
}
|
|
2052
|
-
case 11: {
|
|
2053
|
-
if (tag !== 90) {
|
|
2054
|
-
break;
|
|
2055
|
-
}
|
|
2056
|
-
message.licenseExpire = reader.string();
|
|
2057
|
-
continue;
|
|
2058
|
-
}
|
|
2059
|
-
case 12: {
|
|
2060
|
-
if (tag !== 96) {
|
|
2061
|
-
break;
|
|
2062
|
-
}
|
|
2063
|
-
message.commissionPercentage = reader.uint32();
|
|
2064
|
-
continue;
|
|
2065
|
-
}
|
|
2066
|
-
case 13: {
|
|
2067
|
-
if (tag !== 104) {
|
|
2068
|
-
break;
|
|
2069
|
-
}
|
|
2070
|
-
message.status = reader.bool();
|
|
2071
|
-
continue;
|
|
2072
|
-
}
|
|
2073
|
-
case 14: {
|
|
2074
|
-
if (tag !== 114) {
|
|
2075
|
-
break;
|
|
2076
|
-
}
|
|
2077
|
-
message.mobileNumber = reader.string();
|
|
2078
|
-
continue;
|
|
2079
|
-
}
|
|
2080
|
-
case 15: {
|
|
2081
|
-
if (tag !== 122) {
|
|
2082
|
-
break;
|
|
2083
|
-
}
|
|
2084
|
-
message.phoneNumber = reader.string();
|
|
2085
|
-
continue;
|
|
2086
|
-
}
|
|
2087
|
-
case 16: {
|
|
2088
|
-
if (tag !== 130) {
|
|
2089
|
-
break;
|
|
2090
|
-
}
|
|
2091
|
-
message.address = reader.string();
|
|
2092
|
-
continue;
|
|
2093
|
-
}
|
|
2094
|
-
case 17: {
|
|
2095
|
-
if (tag !== 138) {
|
|
2096
|
-
break;
|
|
2097
|
-
}
|
|
2098
|
-
message.postalCode = reader.string();
|
|
2099
|
-
continue;
|
|
2100
|
-
}
|
|
2101
|
-
case 18: {
|
|
2102
|
-
if (tag !== 146) {
|
|
2103
|
-
break;
|
|
2104
|
-
}
|
|
2105
|
-
message.createdAt = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
|
|
2106
|
-
continue;
|
|
2107
|
-
}
|
|
2108
|
-
case 19: {
|
|
2109
|
-
if (tag !== 154) {
|
|
2110
|
-
break;
|
|
2111
|
-
}
|
|
2112
|
-
message.updatedAt = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
|
|
2113
|
-
continue;
|
|
2114
|
-
}
|
|
2115
|
-
}
|
|
2116
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
2117
|
-
break;
|
|
2118
|
-
}
|
|
2119
|
-
reader.skip(tag & 7);
|
|
2120
|
-
}
|
|
2121
|
-
return message;
|
|
2122
|
-
},
|
|
2123
|
-
create(base) {
|
|
2124
|
-
return Driver.fromPartial(base ?? {});
|
|
2125
|
-
},
|
|
2126
|
-
fromPartial(object) {
|
|
2127
|
-
const message = createBaseDriver();
|
|
2128
|
-
message.id = (object.id !== undefined && object.id !== null) ? Long.fromValue(object.id) : Long.UZERO;
|
|
2129
|
-
message.organizationId = (object.organizationId !== undefined && object.organizationId !== null)
|
|
2130
|
-
? Long.fromValue(object.organizationId)
|
|
2131
|
-
: Long.UZERO;
|
|
2132
|
-
message.createdBy = (object.createdBy !== undefined && object.createdBy !== null)
|
|
2133
|
-
? Long.fromValue(object.createdBy)
|
|
2134
|
-
: undefined;
|
|
2135
|
-
message.updatedBy = (object.updatedBy !== undefined && object.updatedBy !== null)
|
|
2136
|
-
? Long.fromValue(object.updatedBy)
|
|
2137
|
-
: undefined;
|
|
2138
|
-
message.personId = (object.personId !== undefined && object.personId !== null)
|
|
2139
|
-
? Long.fromValue(object.personId)
|
|
2140
|
-
: Long.UZERO;
|
|
2141
|
-
message.driverIdentify = object.driverIdentify ?? undefined;
|
|
2142
|
-
message.licenseNumber = object.licenseNumber ?? undefined;
|
|
2143
|
-
message.hiringDate = object.hiringDate ?? undefined;
|
|
2144
|
-
message.monthlySalary = (object.monthlySalary !== undefined && object.monthlySalary !== null)
|
|
2145
|
-
? Long.fromValue(object.monthlySalary)
|
|
2146
|
-
: undefined;
|
|
2147
|
-
message.licenseType = object.licenseType ?? undefined;
|
|
2148
|
-
message.licenseExpire = object.licenseExpire ?? undefined;
|
|
2149
|
-
message.commissionPercentage = object.commissionPercentage ?? undefined;
|
|
2150
|
-
message.status = object.status ?? false;
|
|
2151
|
-
message.mobileNumber = object.mobileNumber ?? undefined;
|
|
2152
|
-
message.phoneNumber = object.phoneNumber ?? undefined;
|
|
2153
|
-
message.address = object.address ?? undefined;
|
|
2154
|
-
message.postalCode = object.postalCode ?? undefined;
|
|
2155
|
-
message.createdAt = object.createdAt ?? undefined;
|
|
2156
|
-
message.updatedAt = object.updatedAt ?? undefined;
|
|
2157
|
-
return message;
|
|
2158
|
-
},
|
|
2159
|
-
};
|
|
2160
|
-
function createBaseReceiver() {
|
|
2161
|
-
return { phone: undefined, email: undefined, telegramId: undefined, tokens: [] };
|
|
2162
|
-
}
|
|
2163
|
-
export const Receiver = {
|
|
2164
|
-
encode(message, writer = new BinaryWriter()) {
|
|
2165
|
-
if (message.phone !== undefined) {
|
|
2166
|
-
writer.uint32(10).string(message.phone);
|
|
2167
|
-
}
|
|
2168
|
-
if (message.email !== undefined) {
|
|
2169
|
-
writer.uint32(18).string(message.email);
|
|
2170
|
-
}
|
|
2171
|
-
if (message.telegramId !== undefined) {
|
|
2172
|
-
writer.uint32(24).uint64(message.telegramId.toString());
|
|
2173
|
-
}
|
|
2174
|
-
for (const v of message.tokens) {
|
|
2175
|
-
Receiver_Token.encode(v, writer.uint32(34).fork()).join();
|
|
2176
|
-
}
|
|
2177
|
-
return writer;
|
|
2178
|
-
},
|
|
2179
|
-
decode(input, length) {
|
|
2180
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2181
|
-
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2182
|
-
const message = createBaseReceiver();
|
|
2183
|
-
while (reader.pos < end) {
|
|
2184
|
-
const tag = reader.uint32();
|
|
2185
|
-
switch (tag >>> 3) {
|
|
2186
|
-
case 1: {
|
|
2187
|
-
if (tag !== 10) {
|
|
2188
|
-
break;
|
|
2189
|
-
}
|
|
2190
|
-
message.phone = reader.string();
|
|
2191
|
-
continue;
|
|
2192
|
-
}
|
|
2193
|
-
case 2: {
|
|
2194
|
-
if (tag !== 18) {
|
|
2195
|
-
break;
|
|
2196
|
-
}
|
|
2197
|
-
message.email = reader.string();
|
|
2198
|
-
continue;
|
|
2199
|
-
}
|
|
2200
|
-
case 3: {
|
|
2201
|
-
if (tag !== 24) {
|
|
2202
|
-
break;
|
|
2203
|
-
}
|
|
2204
|
-
message.telegramId = Long.fromString(reader.uint64().toString(), true);
|
|
2205
|
-
continue;
|
|
2206
|
-
}
|
|
2207
|
-
case 4: {
|
|
2208
|
-
if (tag !== 34) {
|
|
2209
|
-
break;
|
|
2210
|
-
}
|
|
2211
|
-
message.tokens.push(Receiver_Token.decode(reader, reader.uint32()));
|
|
2212
|
-
continue;
|
|
2213
|
-
}
|
|
2214
|
-
}
|
|
2215
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
2216
|
-
break;
|
|
2217
|
-
}
|
|
2218
|
-
reader.skip(tag & 7);
|
|
2219
|
-
}
|
|
2220
|
-
return message;
|
|
2221
|
-
},
|
|
2222
|
-
create(base) {
|
|
2223
|
-
return Receiver.fromPartial(base ?? {});
|
|
2224
|
-
},
|
|
2225
|
-
fromPartial(object) {
|
|
2226
|
-
const message = createBaseReceiver();
|
|
2227
|
-
message.phone = object.phone ?? undefined;
|
|
2228
|
-
message.email = object.email ?? undefined;
|
|
2229
|
-
message.telegramId = (object.telegramId !== undefined && object.telegramId !== null)
|
|
2230
|
-
? Long.fromValue(object.telegramId)
|
|
2231
|
-
: undefined;
|
|
2232
|
-
message.tokens = object.tokens?.map((e) => Receiver_Token.fromPartial(e)) || [];
|
|
2233
|
-
return message;
|
|
2234
|
-
},
|
|
2235
|
-
};
|
|
2236
|
-
function createBaseReceiver_Token() {
|
|
2237
|
-
return { fcm: "", expiresAt: undefined };
|
|
2238
|
-
}
|
|
2239
|
-
export const Receiver_Token = {
|
|
2240
|
-
encode(message, writer = new BinaryWriter()) {
|
|
2241
|
-
if (message.fcm !== "") {
|
|
2242
|
-
writer.uint32(10).string(message.fcm);
|
|
2243
|
-
}
|
|
2244
|
-
if (message.expiresAt !== undefined) {
|
|
2245
|
-
Timestamp.encode(toTimestamp(message.expiresAt), writer.uint32(18).fork()).join();
|
|
2246
|
-
}
|
|
2247
|
-
return writer;
|
|
2248
|
-
},
|
|
2249
|
-
decode(input, length) {
|
|
2250
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2251
|
-
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2252
|
-
const message = createBaseReceiver_Token();
|
|
2253
|
-
while (reader.pos < end) {
|
|
2254
|
-
const tag = reader.uint32();
|
|
2255
|
-
switch (tag >>> 3) {
|
|
2256
|
-
case 1: {
|
|
2257
|
-
if (tag !== 10) {
|
|
2258
|
-
break;
|
|
2259
|
-
}
|
|
2260
|
-
message.fcm = reader.string();
|
|
2261
|
-
continue;
|
|
2262
|
-
}
|
|
2263
|
-
case 2: {
|
|
2264
|
-
if (tag !== 18) {
|
|
2265
|
-
break;
|
|
2266
|
-
}
|
|
2267
|
-
message.expiresAt = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
|
|
2268
|
-
continue;
|
|
2269
|
-
}
|
|
2270
|
-
}
|
|
2271
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
2272
|
-
break;
|
|
2273
|
-
}
|
|
2274
|
-
reader.skip(tag & 7);
|
|
2275
|
-
}
|
|
2276
|
-
return message;
|
|
2277
|
-
},
|
|
2278
|
-
create(base) {
|
|
2279
|
-
return Receiver_Token.fromPartial(base ?? {});
|
|
2280
|
-
},
|
|
2281
|
-
fromPartial(object) {
|
|
2282
|
-
const message = createBaseReceiver_Token();
|
|
2283
|
-
message.fcm = object.fcm ?? "";
|
|
2284
|
-
message.expiresAt = object.expiresAt ?? undefined;
|
|
2285
|
-
return message;
|
|
2286
|
-
},
|
|
2287
|
-
};
|
|
2288
|
-
function createBasePersonalAccessToken() {
|
|
2289
|
-
return {
|
|
2290
|
-
id: Long.UZERO,
|
|
2291
|
-
tokenableType: "",
|
|
2292
|
-
tokenableId: Long.UZERO,
|
|
2293
|
-
goauId: undefined,
|
|
2294
|
-
name: "",
|
|
2295
|
-
token: "",
|
|
2296
|
-
abilities: undefined,
|
|
2297
|
-
fcm: undefined,
|
|
2298
|
-
ip: undefined,
|
|
2299
|
-
domain: undefined,
|
|
2300
|
-
partnerId: undefined,
|
|
2301
|
-
userAgent: undefined,
|
|
2302
|
-
deviceType: "",
|
|
2303
|
-
lastUsedAt: undefined,
|
|
2304
|
-
expiresAt: undefined,
|
|
2305
|
-
createdAt: undefined,
|
|
2306
|
-
updatedAt: undefined,
|
|
2307
|
-
};
|
|
2308
|
-
}
|
|
2309
|
-
export const PersonalAccessToken = {
|
|
2310
|
-
encode(message, writer = new BinaryWriter()) {
|
|
2311
|
-
if (!message.id.equals(Long.UZERO)) {
|
|
2312
|
-
writer.uint32(8).uint64(message.id.toString());
|
|
2313
|
-
}
|
|
2314
|
-
if (message.tokenableType !== "") {
|
|
2315
|
-
writer.uint32(18).string(message.tokenableType);
|
|
2316
|
-
}
|
|
2317
|
-
if (!message.tokenableId.equals(Long.UZERO)) {
|
|
2318
|
-
writer.uint32(24).uint64(message.tokenableId.toString());
|
|
2319
|
-
}
|
|
2320
|
-
if (message.goauId !== undefined) {
|
|
2321
|
-
writer.uint32(136).uint64(message.goauId.toString());
|
|
2322
|
-
}
|
|
2323
|
-
if (message.name !== "") {
|
|
2324
|
-
writer.uint32(34).string(message.name);
|
|
2325
|
-
}
|
|
2326
|
-
if (message.token !== "") {
|
|
2327
|
-
writer.uint32(42).string(message.token);
|
|
2328
|
-
}
|
|
2329
|
-
if (message.abilities !== undefined) {
|
|
2330
|
-
writer.uint32(50).string(message.abilities);
|
|
2331
|
-
}
|
|
2332
|
-
if (message.fcm !== undefined) {
|
|
2333
|
-
writer.uint32(58).string(message.fcm);
|
|
2334
|
-
}
|
|
2335
|
-
if (message.ip !== undefined) {
|
|
2336
|
-
writer.uint32(66).string(message.ip);
|
|
2337
|
-
}
|
|
2338
|
-
if (message.domain !== undefined) {
|
|
2339
|
-
writer.uint32(74).string(message.domain);
|
|
2340
|
-
}
|
|
2341
|
-
if (message.partnerId !== undefined) {
|
|
2342
|
-
writer.uint32(80).uint64(message.partnerId.toString());
|
|
2343
|
-
}
|
|
2344
|
-
if (message.userAgent !== undefined) {
|
|
2345
|
-
writer.uint32(90).string(message.userAgent);
|
|
2346
|
-
}
|
|
2347
|
-
if (message.deviceType !== "") {
|
|
2348
|
-
writer.uint32(98).string(message.deviceType);
|
|
2349
|
-
}
|
|
2350
|
-
if (message.lastUsedAt !== undefined) {
|
|
2351
|
-
Timestamp.encode(toTimestamp(message.lastUsedAt), writer.uint32(106).fork()).join();
|
|
2352
|
-
}
|
|
2353
|
-
if (message.expiresAt !== undefined) {
|
|
2354
|
-
Timestamp.encode(toTimestamp(message.expiresAt), writer.uint32(114).fork()).join();
|
|
2355
|
-
}
|
|
2356
|
-
if (message.createdAt !== undefined) {
|
|
2357
|
-
Timestamp.encode(toTimestamp(message.createdAt), writer.uint32(122).fork()).join();
|
|
2358
|
-
}
|
|
2359
|
-
if (message.updatedAt !== undefined) {
|
|
2360
|
-
Timestamp.encode(toTimestamp(message.updatedAt), writer.uint32(130).fork()).join();
|
|
2361
|
-
}
|
|
2362
|
-
return writer;
|
|
2363
|
-
},
|
|
2364
|
-
decode(input, length) {
|
|
2365
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2366
|
-
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2367
|
-
const message = createBasePersonalAccessToken();
|
|
2368
|
-
while (reader.pos < end) {
|
|
2369
|
-
const tag = reader.uint32();
|
|
2370
|
-
switch (tag >>> 3) {
|
|
2371
|
-
case 1: {
|
|
2372
|
-
if (tag !== 8) {
|
|
2373
|
-
break;
|
|
2374
|
-
}
|
|
2375
|
-
message.id = Long.fromString(reader.uint64().toString(), true);
|
|
2376
|
-
continue;
|
|
2377
|
-
}
|
|
2378
|
-
case 2: {
|
|
2379
|
-
if (tag !== 18) {
|
|
2380
|
-
break;
|
|
2381
|
-
}
|
|
2382
|
-
message.tokenableType = reader.string();
|
|
2383
|
-
continue;
|
|
2384
|
-
}
|
|
2385
|
-
case 3: {
|
|
2386
|
-
if (tag !== 24) {
|
|
2387
|
-
break;
|
|
2388
|
-
}
|
|
2389
|
-
message.tokenableId = Long.fromString(reader.uint64().toString(), true);
|
|
2390
|
-
continue;
|
|
2391
|
-
}
|
|
2392
|
-
case 17: {
|
|
2393
|
-
if (tag !== 136) {
|
|
2394
|
-
break;
|
|
2395
|
-
}
|
|
2396
|
-
message.goauId = Long.fromString(reader.uint64().toString(), true);
|
|
2397
|
-
continue;
|
|
2398
|
-
}
|
|
2399
|
-
case 4: {
|
|
2400
|
-
if (tag !== 34) {
|
|
2401
|
-
break;
|
|
2402
|
-
}
|
|
2403
|
-
message.name = reader.string();
|
|
2404
|
-
continue;
|
|
2405
|
-
}
|
|
2406
|
-
case 5: {
|
|
2407
|
-
if (tag !== 42) {
|
|
2408
|
-
break;
|
|
2409
|
-
}
|
|
2410
|
-
message.token = reader.string();
|
|
2411
|
-
continue;
|
|
2412
|
-
}
|
|
2413
|
-
case 6: {
|
|
2414
|
-
if (tag !== 50) {
|
|
2415
|
-
break;
|
|
2416
|
-
}
|
|
2417
|
-
message.abilities = reader.string();
|
|
2418
|
-
continue;
|
|
2419
|
-
}
|
|
2420
|
-
case 7: {
|
|
2421
|
-
if (tag !== 58) {
|
|
2422
|
-
break;
|
|
2423
|
-
}
|
|
2424
|
-
message.fcm = reader.string();
|
|
2425
|
-
continue;
|
|
2426
|
-
}
|
|
2427
|
-
case 8: {
|
|
2428
|
-
if (tag !== 66) {
|
|
2429
|
-
break;
|
|
2430
|
-
}
|
|
2431
|
-
message.ip = reader.string();
|
|
2432
|
-
continue;
|
|
2433
|
-
}
|
|
2434
|
-
case 9: {
|
|
2435
|
-
if (tag !== 74) {
|
|
2436
|
-
break;
|
|
2437
|
-
}
|
|
2438
|
-
message.domain = reader.string();
|
|
2439
|
-
continue;
|
|
2440
|
-
}
|
|
2441
|
-
case 10: {
|
|
2442
|
-
if (tag !== 80) {
|
|
2443
|
-
break;
|
|
2444
|
-
}
|
|
2445
|
-
message.partnerId = Long.fromString(reader.uint64().toString(), true);
|
|
2446
|
-
continue;
|
|
2447
|
-
}
|
|
2448
|
-
case 11: {
|
|
2449
|
-
if (tag !== 90) {
|
|
2450
|
-
break;
|
|
2451
|
-
}
|
|
2452
|
-
message.userAgent = reader.string();
|
|
2453
|
-
continue;
|
|
2454
|
-
}
|
|
2455
|
-
case 12: {
|
|
2456
|
-
if (tag !== 98) {
|
|
2457
|
-
break;
|
|
2458
|
-
}
|
|
2459
|
-
message.deviceType = reader.string();
|
|
2460
|
-
continue;
|
|
2461
|
-
}
|
|
2462
|
-
case 13: {
|
|
2463
|
-
if (tag !== 106) {
|
|
2464
|
-
break;
|
|
2465
|
-
}
|
|
2466
|
-
message.lastUsedAt = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
|
|
2467
|
-
continue;
|
|
2468
|
-
}
|
|
2469
|
-
case 14: {
|
|
2470
|
-
if (tag !== 114) {
|
|
2471
|
-
break;
|
|
2472
|
-
}
|
|
2473
|
-
message.expiresAt = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
|
|
2474
|
-
continue;
|
|
2475
|
-
}
|
|
2476
|
-
case 15: {
|
|
2477
|
-
if (tag !== 122) {
|
|
2478
|
-
break;
|
|
2479
|
-
}
|
|
2480
|
-
message.createdAt = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
|
|
2481
|
-
continue;
|
|
2482
|
-
}
|
|
2483
|
-
case 16: {
|
|
2484
|
-
if (tag !== 130) {
|
|
2485
|
-
break;
|
|
2486
|
-
}
|
|
2487
|
-
message.updatedAt = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
|
|
2488
|
-
continue;
|
|
2489
|
-
}
|
|
2490
|
-
}
|
|
2491
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
2492
|
-
break;
|
|
2493
|
-
}
|
|
2494
|
-
reader.skip(tag & 7);
|
|
2495
|
-
}
|
|
2496
|
-
return message;
|
|
2497
|
-
},
|
|
2498
|
-
create(base) {
|
|
2499
|
-
return PersonalAccessToken.fromPartial(base ?? {});
|
|
2500
|
-
},
|
|
2501
|
-
fromPartial(object) {
|
|
2502
|
-
const message = createBasePersonalAccessToken();
|
|
2503
|
-
message.id = (object.id !== undefined && object.id !== null) ? Long.fromValue(object.id) : Long.UZERO;
|
|
2504
|
-
message.tokenableType = object.tokenableType ?? "";
|
|
2505
|
-
message.tokenableId = (object.tokenableId !== undefined && object.tokenableId !== null)
|
|
2506
|
-
? Long.fromValue(object.tokenableId)
|
|
2507
|
-
: Long.UZERO;
|
|
2508
|
-
message.goauId = (object.goauId !== undefined && object.goauId !== null)
|
|
2509
|
-
? Long.fromValue(object.goauId)
|
|
2510
|
-
: undefined;
|
|
2511
|
-
message.name = object.name ?? "";
|
|
2512
|
-
message.token = object.token ?? "";
|
|
2513
|
-
message.abilities = object.abilities ?? undefined;
|
|
2514
|
-
message.fcm = object.fcm ?? undefined;
|
|
2515
|
-
message.ip = object.ip ?? undefined;
|
|
2516
|
-
message.domain = object.domain ?? undefined;
|
|
2517
|
-
message.partnerId = (object.partnerId !== undefined && object.partnerId !== null)
|
|
2518
|
-
? Long.fromValue(object.partnerId)
|
|
2519
|
-
: undefined;
|
|
2520
|
-
message.userAgent = object.userAgent ?? undefined;
|
|
2521
|
-
message.deviceType = object.deviceType ?? "";
|
|
2522
|
-
message.lastUsedAt = object.lastUsedAt ?? undefined;
|
|
2523
|
-
message.expiresAt = object.expiresAt ?? undefined;
|
|
2524
|
-
message.createdAt = object.createdAt ?? undefined;
|
|
2525
|
-
message.updatedAt = object.updatedAt ?? undefined;
|
|
2526
|
-
return message;
|
|
2527
|
-
},
|
|
2528
|
-
};
|
|
2529
|
-
function createBaseGoMoJWT() {
|
|
2530
|
-
return {
|
|
2531
|
-
userId: Long.UZERO,
|
|
2532
|
-
identityId: Long.UZERO,
|
|
2533
|
-
organizationId: Long.UZERO,
|
|
2534
|
-
personId: Long.UZERO,
|
|
2535
|
-
roleId: Long.UZERO,
|
|
2536
|
-
name: undefined,
|
|
2537
|
-
picture: undefined,
|
|
2538
|
-
permissions: [],
|
|
2539
|
-
};
|
|
2540
|
-
}
|
|
2541
|
-
export const GoMoJWT = {
|
|
2542
|
-
encode(message, writer = new BinaryWriter()) {
|
|
2543
|
-
if (!message.userId.equals(Long.UZERO)) {
|
|
2544
|
-
writer.uint32(8).uint64(message.userId.toString());
|
|
2545
|
-
}
|
|
2546
|
-
if (!message.identityId.equals(Long.UZERO)) {
|
|
2547
|
-
writer.uint32(16).uint64(message.identityId.toString());
|
|
2548
|
-
}
|
|
2549
|
-
if (!message.organizationId.equals(Long.UZERO)) {
|
|
2550
|
-
writer.uint32(24).uint64(message.organizationId.toString());
|
|
2551
|
-
}
|
|
2552
|
-
if (!message.personId.equals(Long.UZERO)) {
|
|
2553
|
-
writer.uint32(32).uint64(message.personId.toString());
|
|
2554
|
-
}
|
|
2555
|
-
if (!message.roleId.equals(Long.UZERO)) {
|
|
2556
|
-
writer.uint32(40).uint64(message.roleId.toString());
|
|
2557
|
-
}
|
|
2558
|
-
if (message.name !== undefined) {
|
|
2559
|
-
writer.uint32(50).string(message.name);
|
|
2560
|
-
}
|
|
2561
|
-
if (message.picture !== undefined) {
|
|
2562
|
-
writer.uint32(58).string(message.picture);
|
|
2563
|
-
}
|
|
2564
|
-
writer.uint32(66).fork();
|
|
2565
|
-
for (const v of message.permissions) {
|
|
2566
|
-
writer.int32(v);
|
|
2567
|
-
}
|
|
2568
|
-
writer.join();
|
|
2569
|
-
return writer;
|
|
2570
|
-
},
|
|
2571
|
-
decode(input, length) {
|
|
2572
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2573
|
-
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2574
|
-
const message = createBaseGoMoJWT();
|
|
2575
|
-
while (reader.pos < end) {
|
|
2576
|
-
const tag = reader.uint32();
|
|
2577
|
-
switch (tag >>> 3) {
|
|
2578
|
-
case 1: {
|
|
2579
|
-
if (tag !== 8) {
|
|
2580
|
-
break;
|
|
2581
|
-
}
|
|
2582
|
-
message.userId = Long.fromString(reader.uint64().toString(), true);
|
|
2583
|
-
continue;
|
|
2584
|
-
}
|
|
2585
|
-
case 2: {
|
|
2586
|
-
if (tag !== 16) {
|
|
2587
|
-
break;
|
|
2588
|
-
}
|
|
2589
|
-
message.identityId = Long.fromString(reader.uint64().toString(), true);
|
|
2590
|
-
continue;
|
|
2591
|
-
}
|
|
2592
|
-
case 3: {
|
|
2593
|
-
if (tag !== 24) {
|
|
2594
|
-
break;
|
|
2595
|
-
}
|
|
2596
|
-
message.organizationId = Long.fromString(reader.uint64().toString(), true);
|
|
2597
|
-
continue;
|
|
2598
|
-
}
|
|
2599
|
-
case 4: {
|
|
2600
|
-
if (tag !== 32) {
|
|
2601
|
-
break;
|
|
2602
|
-
}
|
|
2603
|
-
message.personId = Long.fromString(reader.uint64().toString(), true);
|
|
2604
|
-
continue;
|
|
2605
|
-
}
|
|
2606
|
-
case 5: {
|
|
2607
|
-
if (tag !== 40) {
|
|
2608
|
-
break;
|
|
2609
|
-
}
|
|
2610
|
-
message.roleId = Long.fromString(reader.uint64().toString(), true);
|
|
2611
|
-
continue;
|
|
2612
|
-
}
|
|
2613
|
-
case 6: {
|
|
2614
|
-
if (tag !== 50) {
|
|
2615
|
-
break;
|
|
2616
|
-
}
|
|
2617
|
-
message.name = reader.string();
|
|
2618
|
-
continue;
|
|
2619
|
-
}
|
|
2620
|
-
case 7: {
|
|
2621
|
-
if (tag !== 58) {
|
|
2622
|
-
break;
|
|
2623
|
-
}
|
|
2624
|
-
message.picture = reader.string();
|
|
2625
|
-
continue;
|
|
2626
|
-
}
|
|
2627
|
-
case 8: {
|
|
2628
|
-
if (tag === 64) {
|
|
2629
|
-
message.permissions.push(reader.int32());
|
|
2630
|
-
continue;
|
|
2631
|
-
}
|
|
2632
|
-
if (tag === 66) {
|
|
2633
|
-
const end2 = reader.uint32() + reader.pos;
|
|
2634
|
-
while (reader.pos < end2) {
|
|
2635
|
-
message.permissions.push(reader.int32());
|
|
2636
|
-
}
|
|
2637
|
-
continue;
|
|
2638
|
-
}
|
|
2639
|
-
break;
|
|
2640
|
-
}
|
|
2641
|
-
}
|
|
2642
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
2643
|
-
break;
|
|
2644
|
-
}
|
|
2645
|
-
reader.skip(tag & 7);
|
|
2646
|
-
}
|
|
2647
|
-
return message;
|
|
2648
|
-
},
|
|
2649
|
-
create(base) {
|
|
2650
|
-
return GoMoJWT.fromPartial(base ?? {});
|
|
2651
|
-
},
|
|
2652
|
-
fromPartial(object) {
|
|
2653
|
-
const message = createBaseGoMoJWT();
|
|
2654
|
-
message.userId = (object.userId !== undefined && object.userId !== null)
|
|
2655
|
-
? Long.fromValue(object.userId)
|
|
2656
|
-
: Long.UZERO;
|
|
2657
|
-
message.identityId = (object.identityId !== undefined && object.identityId !== null)
|
|
2658
|
-
? Long.fromValue(object.identityId)
|
|
2659
|
-
: Long.UZERO;
|
|
2660
|
-
message.organizationId = (object.organizationId !== undefined && object.organizationId !== null)
|
|
2661
|
-
? Long.fromValue(object.organizationId)
|
|
2662
|
-
: Long.UZERO;
|
|
2663
|
-
message.personId = (object.personId !== undefined && object.personId !== null)
|
|
2664
|
-
? Long.fromValue(object.personId)
|
|
2665
|
-
: Long.UZERO;
|
|
2666
|
-
message.roleId = (object.roleId !== undefined && object.roleId !== null)
|
|
2667
|
-
? Long.fromValue(object.roleId)
|
|
2668
|
-
: Long.UZERO;
|
|
2669
|
-
message.name = object.name ?? undefined;
|
|
2670
|
-
message.picture = object.picture ?? undefined;
|
|
2671
|
-
message.permissions = object.permissions?.map((e) => e) || [];
|
|
2672
|
-
return message;
|
|
2673
|
-
},
|
|
2674
|
-
};
|
|
2675
|
-
function createBaseApplication() {
|
|
2676
|
-
return {
|
|
2677
|
-
id: Long.UZERO,
|
|
2678
|
-
name: "",
|
|
2679
|
-
domain: undefined,
|
|
2680
|
-
status: 0,
|
|
2681
|
-
secret: new Uint8Array(0),
|
|
2682
|
-
appKey: new Uint8Array(0),
|
|
2683
|
-
webhook: "",
|
|
2684
|
-
createdAt: undefined,
|
|
2685
|
-
updatedAt: undefined,
|
|
2686
|
-
};
|
|
2687
|
-
}
|
|
2688
|
-
export const Application = {
|
|
2689
|
-
encode(message, writer = new BinaryWriter()) {
|
|
2690
|
-
if (!message.id.equals(Long.UZERO)) {
|
|
2691
|
-
writer.uint32(8).uint64(message.id.toString());
|
|
2692
|
-
}
|
|
2693
|
-
if (message.name !== "") {
|
|
2694
|
-
writer.uint32(18).string(message.name);
|
|
2695
|
-
}
|
|
2696
|
-
if (message.domain !== undefined) {
|
|
2697
|
-
writer.uint32(26).string(message.domain);
|
|
2698
|
-
}
|
|
2699
|
-
if (message.status !== 0) {
|
|
2700
|
-
writer.uint32(32).int32(message.status);
|
|
2701
|
-
}
|
|
2702
|
-
if (message.secret.length !== 0) {
|
|
2703
|
-
writer.uint32(42).bytes(message.secret);
|
|
2704
|
-
}
|
|
2705
|
-
if (message.appKey.length !== 0) {
|
|
2706
|
-
writer.uint32(50).bytes(message.appKey);
|
|
2707
|
-
}
|
|
2708
|
-
if (message.webhook !== "") {
|
|
2709
|
-
writer.uint32(58).string(message.webhook);
|
|
2710
|
-
}
|
|
2711
|
-
if (message.createdAt !== undefined) {
|
|
2712
|
-
Timestamp.encode(toTimestamp(message.createdAt), writer.uint32(66).fork()).join();
|
|
2713
|
-
}
|
|
2714
|
-
if (message.updatedAt !== undefined) {
|
|
2715
|
-
Timestamp.encode(toTimestamp(message.updatedAt), writer.uint32(74).fork()).join();
|
|
2716
|
-
}
|
|
2717
|
-
return writer;
|
|
2718
|
-
},
|
|
2719
|
-
decode(input, length) {
|
|
2720
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2721
|
-
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2722
|
-
const message = createBaseApplication();
|
|
2723
|
-
while (reader.pos < end) {
|
|
2724
|
-
const tag = reader.uint32();
|
|
2725
|
-
switch (tag >>> 3) {
|
|
2726
|
-
case 1: {
|
|
2727
|
-
if (tag !== 8) {
|
|
2728
|
-
break;
|
|
2729
|
-
}
|
|
2730
|
-
message.id = Long.fromString(reader.uint64().toString(), true);
|
|
2731
|
-
continue;
|
|
2732
|
-
}
|
|
2733
|
-
case 2: {
|
|
2734
|
-
if (tag !== 18) {
|
|
2735
|
-
break;
|
|
2736
|
-
}
|
|
2737
|
-
message.name = reader.string();
|
|
2738
|
-
continue;
|
|
2739
|
-
}
|
|
2740
|
-
case 3: {
|
|
2741
|
-
if (tag !== 26) {
|
|
2742
|
-
break;
|
|
2743
|
-
}
|
|
2744
|
-
message.domain = reader.string();
|
|
2745
|
-
continue;
|
|
2746
|
-
}
|
|
2747
|
-
case 4: {
|
|
2748
|
-
if (tag !== 32) {
|
|
2749
|
-
break;
|
|
2750
|
-
}
|
|
2751
|
-
message.status = reader.int32();
|
|
2752
|
-
continue;
|
|
2753
|
-
}
|
|
2754
|
-
case 5: {
|
|
2755
|
-
if (tag !== 42) {
|
|
2756
|
-
break;
|
|
2757
|
-
}
|
|
2758
|
-
message.secret = reader.bytes();
|
|
2759
|
-
continue;
|
|
2760
|
-
}
|
|
2761
|
-
case 6: {
|
|
2762
|
-
if (tag !== 50) {
|
|
2763
|
-
break;
|
|
2764
|
-
}
|
|
2765
|
-
message.appKey = reader.bytes();
|
|
2766
|
-
continue;
|
|
2767
|
-
}
|
|
2768
|
-
case 7: {
|
|
2769
|
-
if (tag !== 58) {
|
|
2770
|
-
break;
|
|
2771
|
-
}
|
|
2772
|
-
message.webhook = reader.string();
|
|
2773
|
-
continue;
|
|
2774
|
-
}
|
|
2775
|
-
case 8: {
|
|
2776
|
-
if (tag !== 66) {
|
|
2777
|
-
break;
|
|
2778
|
-
}
|
|
2779
|
-
message.createdAt = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
|
|
2780
|
-
continue;
|
|
2781
|
-
}
|
|
2782
|
-
case 9: {
|
|
2783
|
-
if (tag !== 74) {
|
|
2784
|
-
break;
|
|
2785
|
-
}
|
|
2786
|
-
message.updatedAt = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
|
|
2787
|
-
continue;
|
|
2788
|
-
}
|
|
2789
|
-
}
|
|
2790
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
2791
|
-
break;
|
|
2792
|
-
}
|
|
2793
|
-
reader.skip(tag & 7);
|
|
2794
|
-
}
|
|
2795
|
-
return message;
|
|
2796
|
-
},
|
|
2797
|
-
create(base) {
|
|
2798
|
-
return Application.fromPartial(base ?? {});
|
|
2799
|
-
},
|
|
2800
|
-
fromPartial(object) {
|
|
2801
|
-
const message = createBaseApplication();
|
|
2802
|
-
message.id = (object.id !== undefined && object.id !== null) ? Long.fromValue(object.id) : Long.UZERO;
|
|
2803
|
-
message.name = object.name ?? "";
|
|
2804
|
-
message.domain = object.domain ?? undefined;
|
|
2805
|
-
message.status = object.status ?? 0;
|
|
2806
|
-
message.secret = object.secret ?? new Uint8Array(0);
|
|
2807
|
-
message.appKey = object.appKey ?? new Uint8Array(0);
|
|
2808
|
-
message.webhook = object.webhook ?? "";
|
|
2809
|
-
message.createdAt = object.createdAt ?? undefined;
|
|
2810
|
-
message.updatedAt = object.updatedAt ?? undefined;
|
|
2811
|
-
return message;
|
|
2812
|
-
},
|
|
2813
|
-
};
|
|
2814
|
-
function createBaseAuthLog() {
|
|
2815
|
-
return {
|
|
2816
|
-
id: new Uint8Array(0),
|
|
2817
|
-
domain: "",
|
|
2818
|
-
identityId: Long.UZERO,
|
|
2819
|
-
organizationId: Long.UZERO,
|
|
2820
|
-
authenticationMethod: "",
|
|
2821
|
-
verificationMethod: "",
|
|
2822
|
-
result: "",
|
|
2823
|
-
ip: "",
|
|
2824
|
-
userAgent: "",
|
|
2825
|
-
createdAt: undefined,
|
|
2826
|
-
updatedAt: undefined,
|
|
2827
|
-
};
|
|
2828
|
-
}
|
|
2829
|
-
export const AuthLog = {
|
|
2830
|
-
encode(message, writer = new BinaryWriter()) {
|
|
2831
|
-
if (message.id.length !== 0) {
|
|
2832
|
-
writer.uint32(10).bytes(message.id);
|
|
2833
|
-
}
|
|
2834
|
-
if (message.domain !== "") {
|
|
2835
|
-
writer.uint32(18).string(message.domain);
|
|
2836
|
-
}
|
|
2837
|
-
if (!message.identityId.equals(Long.UZERO)) {
|
|
2838
|
-
writer.uint32(24).uint64(message.identityId.toString());
|
|
2839
|
-
}
|
|
2840
|
-
if (!message.organizationId.equals(Long.UZERO)) {
|
|
2841
|
-
writer.uint32(32).uint64(message.organizationId.toString());
|
|
2842
|
-
}
|
|
2843
|
-
if (message.authenticationMethod !== "") {
|
|
2844
|
-
writer.uint32(42).string(message.authenticationMethod);
|
|
2845
|
-
}
|
|
2846
|
-
if (message.verificationMethod !== "") {
|
|
2847
|
-
writer.uint32(50).string(message.verificationMethod);
|
|
2848
|
-
}
|
|
2849
|
-
if (message.result !== "") {
|
|
2850
|
-
writer.uint32(58).string(message.result);
|
|
2851
|
-
}
|
|
2852
|
-
if (message.ip !== "") {
|
|
2853
|
-
writer.uint32(66).string(message.ip);
|
|
2854
|
-
}
|
|
2855
|
-
if (message.userAgent !== "") {
|
|
2856
|
-
writer.uint32(74).string(message.userAgent);
|
|
2857
|
-
}
|
|
2858
|
-
if (message.createdAt !== undefined) {
|
|
2859
|
-
Timestamp.encode(toTimestamp(message.createdAt), writer.uint32(82).fork()).join();
|
|
2860
|
-
}
|
|
2861
|
-
if (message.updatedAt !== undefined) {
|
|
2862
|
-
Timestamp.encode(toTimestamp(message.updatedAt), writer.uint32(90).fork()).join();
|
|
2863
|
-
}
|
|
2864
|
-
return writer;
|
|
2865
|
-
},
|
|
2866
|
-
decode(input, length) {
|
|
2867
|
-
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2868
|
-
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2869
|
-
const message = createBaseAuthLog();
|
|
2870
|
-
while (reader.pos < end) {
|
|
2871
|
-
const tag = reader.uint32();
|
|
2872
|
-
switch (tag >>> 3) {
|
|
2873
|
-
case 1: {
|
|
2874
|
-
if (tag !== 10) {
|
|
2875
|
-
break;
|
|
2876
|
-
}
|
|
2877
|
-
message.id = reader.bytes();
|
|
2878
|
-
continue;
|
|
2879
|
-
}
|
|
2880
|
-
case 2: {
|
|
2881
|
-
if (tag !== 18) {
|
|
2882
|
-
break;
|
|
2883
|
-
}
|
|
2884
|
-
message.domain = reader.string();
|
|
2885
|
-
continue;
|
|
2886
|
-
}
|
|
2887
|
-
case 3: {
|
|
2888
|
-
if (tag !== 24) {
|
|
2889
|
-
break;
|
|
2890
|
-
}
|
|
2891
|
-
message.identityId = Long.fromString(reader.uint64().toString(), true);
|
|
2892
|
-
continue;
|
|
2893
|
-
}
|
|
2894
|
-
case 4: {
|
|
2895
|
-
if (tag !== 32) {
|
|
2896
|
-
break;
|
|
2897
|
-
}
|
|
2898
|
-
message.organizationId = Long.fromString(reader.uint64().toString(), true);
|
|
2899
|
-
continue;
|
|
2900
|
-
}
|
|
2901
|
-
case 5: {
|
|
2902
|
-
if (tag !== 42) {
|
|
2903
|
-
break;
|
|
2904
|
-
}
|
|
2905
|
-
message.authenticationMethod = reader.string();
|
|
2906
|
-
continue;
|
|
2907
|
-
}
|
|
2908
|
-
case 6: {
|
|
2909
|
-
if (tag !== 50) {
|
|
2910
|
-
break;
|
|
2911
|
-
}
|
|
2912
|
-
message.verificationMethod = reader.string();
|
|
2913
|
-
continue;
|
|
2914
|
-
}
|
|
2915
|
-
case 7: {
|
|
2916
|
-
if (tag !== 58) {
|
|
2917
|
-
break;
|
|
2918
|
-
}
|
|
2919
|
-
message.result = reader.string();
|
|
2920
|
-
continue;
|
|
2921
|
-
}
|
|
2922
|
-
case 8: {
|
|
2923
|
-
if (tag !== 66) {
|
|
2924
|
-
break;
|
|
2925
|
-
}
|
|
2926
|
-
message.ip = reader.string();
|
|
2927
|
-
continue;
|
|
2928
|
-
}
|
|
2929
|
-
case 9: {
|
|
2930
|
-
if (tag !== 74) {
|
|
2931
|
-
break;
|
|
2932
|
-
}
|
|
2933
|
-
message.userAgent = reader.string();
|
|
2934
|
-
continue;
|
|
2935
|
-
}
|
|
2936
|
-
case 10: {
|
|
2937
|
-
if (tag !== 82) {
|
|
2938
|
-
break;
|
|
2939
|
-
}
|
|
2940
|
-
message.createdAt = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
|
|
2941
|
-
continue;
|
|
2942
|
-
}
|
|
2943
|
-
case 11: {
|
|
2944
|
-
if (tag !== 90) {
|
|
2945
|
-
break;
|
|
2946
|
-
}
|
|
2947
|
-
message.updatedAt = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
|
|
2948
|
-
continue;
|
|
2949
|
-
}
|
|
2950
|
-
}
|
|
2951
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
2952
|
-
break;
|
|
2953
|
-
}
|
|
2954
|
-
reader.skip(tag & 7);
|
|
2955
|
-
}
|
|
2956
|
-
return message;
|
|
2957
|
-
},
|
|
2958
|
-
create(base) {
|
|
2959
|
-
return AuthLog.fromPartial(base ?? {});
|
|
2960
|
-
},
|
|
2961
|
-
fromPartial(object) {
|
|
2962
|
-
const message = createBaseAuthLog();
|
|
2963
|
-
message.id = object.id ?? new Uint8Array(0);
|
|
2964
|
-
message.domain = object.domain ?? "";
|
|
2965
|
-
message.identityId = (object.identityId !== undefined && object.identityId !== null)
|
|
2966
|
-
? Long.fromValue(object.identityId)
|
|
2967
|
-
: Long.UZERO;
|
|
2968
|
-
message.organizationId = (object.organizationId !== undefined && object.organizationId !== null)
|
|
2969
|
-
? Long.fromValue(object.organizationId)
|
|
2970
|
-
: Long.UZERO;
|
|
2971
|
-
message.authenticationMethod = object.authenticationMethod ?? "";
|
|
2972
|
-
message.verificationMethod = object.verificationMethod ?? "";
|
|
2973
|
-
message.result = object.result ?? "";
|
|
2974
|
-
message.ip = object.ip ?? "";
|
|
2975
|
-
message.userAgent = object.userAgent ?? "";
|
|
2976
|
-
message.createdAt = object.createdAt ?? undefined;
|
|
2977
|
-
message.updatedAt = object.updatedAt ?? undefined;
|
|
2978
|
-
return message;
|
|
2979
|
-
},
|
|
2980
|
-
};
|
|
2981
|
-
function toTimestamp(date) {
|
|
2982
|
-
const seconds = numberToLong(Math.trunc(date.getTime() / 1_000));
|
|
2983
|
-
const nanos = (date.getTime() % 1_000) * 1_000_000;
|
|
2984
|
-
return { seconds, nanos };
|
|
2985
|
-
}
|
|
2986
|
-
function fromTimestamp(t) {
|
|
2987
|
-
let millis = (t.seconds.toNumber() || 0) * 1_000;
|
|
2988
|
-
millis += (t.nanos || 0) / 1_000_000;
|
|
2989
|
-
return new globalThis.Date(millis);
|
|
2990
|
-
}
|
|
2991
|
-
function numberToLong(number) {
|
|
2992
|
-
return Long.fromNumber(number);
|
|
2993
|
-
}
|