@aldiokta/protocgen 1.0.55 → 1.0.56

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.
Files changed (131) hide show
  1. package/package.json +1 -1
  2. package/prisca/v1/account_assignment/account_assignment.pb.go +893 -0
  3. package/prisca/v1/account_assignment/account_assignment_grpc.pb.go +274 -0
  4. package/prisca/v1/account_group/account_group.pb.go +955 -0
  5. package/prisca/v1/account_group/account_group_grpc.pb.go +273 -0
  6. package/prisca/v1/chart_of_account/chart_of_account.pb.go +882 -0
  7. package/prisca/v1/chart_of_account/chart_of_account_grpc.pb.go +273 -0
  8. package/prisca/v1/core/auth/auth.proto +129 -0
  9. package/prisca/v1/core/company/company.proto +86 -0
  10. package/prisca/v1/core/currency/currency.proto +76 -0
  11. package/prisca/v1/core/department_material/department_material.proto +69 -0
  12. package/prisca/v1/core/employee/employee.proto +120 -0
  13. package/prisca/v1/core/job_grade/job_grade.proto +79 -0
  14. package/prisca/v1/core/job_position/job_position.proto +113 -0
  15. package/prisca/v1/core/job_title/job_title.proto +89 -0
  16. package/prisca/v1/core/line_of_approval/line_of_approval.proto +79 -0
  17. package/prisca/v1/core/link_data_source/link_data_source.proto +78 -0
  18. package/prisca/v1/core/location/location.proto +289 -0
  19. package/prisca/v1/core/material/material.proto +129 -0
  20. package/prisca/v1/core/material_group/material_group.proto +79 -0
  21. package/prisca/v1/core/material_type/material_type.proto +77 -0
  22. package/prisca/v1/core/messaging/email_template.proto +75 -0
  23. package/prisca/v1/core/messaging/messaging.proto +28 -0
  24. package/prisca/v1/core/number_range/number_range.proto +83 -0
  25. package/prisca/v1/core/organization/organization.proto +94 -0
  26. package/prisca/v1/core/organization_level/organization_level.proto +77 -0
  27. package/prisca/v1/core/procurement/procurement.proto +54 -0
  28. package/prisca/v1/core/purchase_requisition_trx/purchase_requisition_trx.proto +131 -0
  29. package/prisca/v1/core/recipient_roles/recipient_roles.proto +10 -0
  30. package/prisca/v1/core/tax_code/tax_code.proto +79 -0
  31. package/prisca/v1/core/transaction_builder/transaction_builder.proto +262 -0
  32. package/prisca/v1/core/unit_of_measurement/unit_of_measurement.proto +88 -0
  33. package/prisca/v1/core/users/users.proto +22 -0
  34. package/prisca/v1/core/users_role/users_role.proto +72 -0
  35. package/prisca/v1/core/work_location/work_location.proto +122 -0
  36. package/prisca/v1/core/workflow/workflow.proto +197 -0
  37. package/prisca/v1/document_type/document_type.pb.go +952 -0
  38. package/prisca/v1/document_type/document_type_grpc.pb.go +273 -0
  39. package/prisca/v1/general_ledger_account/general_ledger_account.pb.go +1146 -0
  40. package/prisca/v1/general_ledger_account/general_ledger_account_grpc.pb.go +274 -0
  41. package/prisca/v1/global/meta/meta.proto +57 -0
  42. package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx.pb.go +2674 -0
  43. package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_grpc.pb.go +388 -0
  44. package/prisca/v1/purchasing_group/purchasing_group.pb.go +1004 -0
  45. package/prisca/v1/purchasing_group/purchasing_group_grpc.pb.go +274 -0
  46. package/prisca/v1/purchasing_organization/purchasing_organization.pb.go +775 -0
  47. package/prisca/v1/purchasing_organization/purchasing_organization_grpc.pb.go +236 -0
  48. package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment.pb.go +805 -0
  49. package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment_grpc.pb.go +236 -0
  50. package/prisca/v1/purchasing_organization_plant/purchasing_organization_plant.pb.go +906 -0
  51. package/prisca/v1/purchasing_organization_plant/purchasing_organization_plant_grpc.pb.go +236 -0
  52. package/prisca/v1/account_assignment/account_assignment_grpc_pb.js +0 -177
  53. package/prisca/v1/account_assignment/account_assignment_pb.js +0 -2522
  54. package/prisca/v1/account_group/account_group_grpc_pb.js +0 -178
  55. package/prisca/v1/account_group/account_group_pb.js +0 -2755
  56. package/prisca/v1/chart_of_account/chart_of_account_grpc_pb.js +0 -177
  57. package/prisca/v1/chart_of_account/chart_of_account_pb.js +0 -2522
  58. package/prisca/v1/core/auth/auth_grpc_pb.js +0 -345
  59. package/prisca/v1/core/auth/auth_pb.js +0 -3593
  60. package/prisca/v1/core/company/company_grpc_pb.js +0 -177
  61. package/prisca/v1/core/company/company_pb.js +0 -2875
  62. package/prisca/v1/core/currency/currency_grpc_pb.js +0 -177
  63. package/prisca/v1/core/currency/currency_pb.js +0 -2522
  64. package/prisca/v1/core/department_material/department_material_grpc_pb.js +0 -144
  65. package/prisca/v1/core/department_material/department_material_pb.js +0 -2167
  66. package/prisca/v1/core/employee/employee_grpc_pb.js +0 -184
  67. package/prisca/v1/core/employee/employee_pb.js +0 -3877
  68. package/prisca/v1/core/job_grade/job_grade_grpc_pb.js +0 -178
  69. package/prisca/v1/core/job_grade/job_grade_pb.js +0 -2605
  70. package/prisca/v1/core/job_position/job_position_grpc_pb.js +0 -181
  71. package/prisca/v1/core/job_position/job_position_pb.js +0 -3762
  72. package/prisca/v1/core/job_title/job_title_grpc_pb.js +0 -178
  73. package/prisca/v1/core/job_title/job_title_pb.js +0 -2958
  74. package/prisca/v1/core/line_of_approval/line_of_approval_grpc_pb.js +0 -177
  75. package/prisca/v1/core/line_of_approval/line_of_approval_pb.js +0 -2612
  76. package/prisca/v1/core/link_data_source/link_data_source_grpc_pb.js +0 -177
  77. package/prisca/v1/core/link_data_source/link_data_source_pb.js +0 -2612
  78. package/prisca/v1/core/location/location_grpc_pb.js +0 -837
  79. package/prisca/v1/core/location/location_pb.js +0 -10879
  80. package/prisca/v1/core/material/material_grpc_pb.js +0 -181
  81. package/prisca/v1/core/material/material_pb.js +0 -4106
  82. package/prisca/v1/core/material_group/material_group_grpc_pb.js +0 -177
  83. package/prisca/v1/core/material_group/material_group_pb.js +0 -2582
  84. package/prisca/v1/core/material_type/material_type_grpc_pb.js +0 -148
  85. package/prisca/v1/core/material_type/material_type_pb.js +0 -2392
  86. package/prisca/v1/core/messaging/email_template_grpc_pb.js +0 -177
  87. package/prisca/v1/core/messaging/email_template_pb.js +0 -2552
  88. package/prisca/v1/core/messaging/messaging_grpc_pb.js +0 -45
  89. package/prisca/v1/core/messaging/messaging_pb.js +0 -896
  90. package/prisca/v1/core/number_range/number_range_grpc_pb.js +0 -177
  91. package/prisca/v1/core/number_range/number_range_pb.js +0 -2732
  92. package/prisca/v1/core/organization/organization_grpc_pb.js +0 -180
  93. package/prisca/v1/core/organization/organization_pb.js +0 -3032
  94. package/prisca/v1/core/organization_level/organization_level_grpc_pb.js +0 -178
  95. package/prisca/v1/core/organization_level/organization_level_pb.js +0 -2545
  96. package/prisca/v1/core/procurement/procurement_grpc_pb.js +0 -146
  97. package/prisca/v1/core/procurement/procurement_pb.js +0 -1681
  98. package/prisca/v1/core/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +0 -266
  99. package/prisca/v1/core/purchase_requisition_trx/purchase_requisition_trx_pb.js +0 -4429
  100. package/prisca/v1/core/recipient_roles/recipient_roles_grpc_pb.js +0 -1
  101. package/prisca/v1/core/recipient_roles/recipient_roles_pb.js +0 -206
  102. package/prisca/v1/core/tax_code/tax_code_grpc_pb.js +0 -177
  103. package/prisca/v1/core/tax_code/tax_code_pb.js +0 -2582
  104. package/prisca/v1/core/transaction_builder/transaction_builder_grpc_pb.js +0 -421
  105. package/prisca/v1/core/transaction_builder/transaction_builder_pb.js +0 -8965
  106. package/prisca/v1/core/unit_of_measurement/unit_of_measurement_grpc_pb.js +0 -180
  107. package/prisca/v1/core/unit_of_measurement/unit_of_measurement_pb.js +0 -2798
  108. package/prisca/v1/core/users/users_grpc_pb.js +0 -1
  109. package/prisca/v1/core/users/users_pb.js +0 -626
  110. package/prisca/v1/core/users_role/users_role_grpc_pb.js +0 -177
  111. package/prisca/v1/core/users_role/users_role_pb.js +0 -2372
  112. package/prisca/v1/core/work_location/work_location_grpc_pb.js +0 -179
  113. package/prisca/v1/core/work_location/work_location_pb.js +0 -3972
  114. package/prisca/v1/core/workflow/workflow_grpc_pb.js +0 -180
  115. package/prisca/v1/core/workflow/workflow_pb.js +0 -6589
  116. package/prisca/v1/document_type/document_type_grpc_pb.js +0 -178
  117. package/prisca/v1/document_type/document_type_pb.js +0 -2746
  118. package/prisca/v1/general_ledger_account/general_ledger_account_grpc_pb.js +0 -181
  119. package/prisca/v1/general_ledger_account/general_ledger_account_pb.js +0 -3276
  120. package/prisca/v1/global/meta/meta_grpc_pb.js +0 -1
  121. package/prisca/v1/global/meta/meta_pb.js +0 -1179
  122. package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +0 -267
  123. package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js +0 -7825
  124. package/prisca/v1/purchasing_group/purchasing_group_grpc_pb.js +0 -178
  125. package/prisca/v1/purchasing_group/purchasing_group_pb.js +0 -2875
  126. package/prisca/v1/purchasing_organization/purchasing_organization_grpc_pb.js +0 -145
  127. package/prisca/v1/purchasing_organization/purchasing_organization_pb.js +0 -2139
  128. package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment_grpc_pb.js +0 -146
  129. package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment_pb.js +0 -2183
  130. package/prisca/v1/purchasing_organization_plant/purchasing_organization_plant_grpc_pb.js +0 -146
  131. package/prisca/v1/purchasing_organization_plant/purchasing_organization_plant_pb.js +0 -2536
@@ -1 +0,0 @@
1
- // GENERATED CODE -- NO SERVICES IN PROTO
@@ -1,626 +0,0 @@
1
- // source: prisca/v1/core/users/users.proto
2
- /**
3
- * @fileoverview
4
- * @enhanceable
5
- * @suppress {missingRequire} reports error on implicit type usages.
6
- * @suppress {messageConventions} JS Compiler reports an error if a variable or
7
- * field starts with 'MSG_' and isn't a translatable message.
8
- * @public
9
- */
10
- // GENERATED CODE -- DO NOT EDIT!
11
- /* eslint-disable */
12
- // @ts-nocheck
13
-
14
- var jspb = require('google-protobuf');
15
- var goog = jspb;
16
- var global =
17
- (typeof globalThis !== 'undefined' && globalThis) ||
18
- (typeof window !== 'undefined' && window) ||
19
- (typeof global !== 'undefined' && global) ||
20
- (typeof self !== 'undefined' && self) ||
21
- (function () { return this; }).call(null) ||
22
- Function('return this')();
23
-
24
- goog.exportSymbol('proto.Users', null, global);
25
- /**
26
- * Generated by JsPbCodeGenerator.
27
- * @param {Array=} opt_data Optional initial data array, typically from a
28
- * server response, or constructed directly in Javascript. The array is used
29
- * in place and becomes part of the constructed object. It is not cloned.
30
- * If no data is provided, the constructed object will be empty, but still
31
- * valid.
32
- * @extends {jspb.Message}
33
- * @constructor
34
- */
35
- proto.Users = function(opt_data) {
36
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
37
- };
38
- goog.inherits(proto.Users, jspb.Message);
39
- if (goog.DEBUG && !COMPILED) {
40
- /**
41
- * @public
42
- * @override
43
- */
44
- proto.Users.displayName = 'proto.Users';
45
- }
46
-
47
-
48
-
49
- if (jspb.Message.GENERATE_TO_OBJECT) {
50
- /**
51
- * Creates an object representation of this proto.
52
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
53
- * Optional fields that are not set will be set to undefined.
54
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
55
- * For the list of reserved names please see:
56
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
57
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
58
- * JSPB instance for transitional soy proto support:
59
- * http://goto/soy-param-migration
60
- * @return {!Object}
61
- */
62
- proto.Users.prototype.toObject = function(opt_includeInstance) {
63
- return proto.Users.toObject(opt_includeInstance, this);
64
- };
65
-
66
-
67
- /**
68
- * Static version of the {@see toObject} method.
69
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
70
- * the JSPB instance for transitional soy proto support:
71
- * http://goto/soy-param-migration
72
- * @param {!proto.Users} msg The msg instance to transform.
73
- * @return {!Object}
74
- * @suppress {unusedLocalVariables} f is only used for nested messages
75
- */
76
- proto.Users.toObject = function(includeInstance, msg) {
77
- var f, obj = {
78
- id: jspb.Message.getFieldWithDefault(msg, 1, 0),
79
- referencesId: jspb.Message.getFieldWithDefault(msg, 2, ""),
80
- name: jspb.Message.getFieldWithDefault(msg, 3, ""),
81
- genderRefId: jspb.Message.getFieldWithDefault(msg, 4, ""),
82
- phoneNumber: jspb.Message.getFieldWithDefault(msg, 5, ""),
83
- email: jspb.Message.getFieldWithDefault(msg, 6, ""),
84
- roleRefId: jspb.Message.getFieldWithDefault(msg, 7, ""),
85
- credential: jspb.Message.getFieldWithDefault(msg, 8, ""),
86
- lastLogin: jspb.Message.getFieldWithDefault(msg, 9, ""),
87
- lastCredentialRenewal: jspb.Message.getFieldWithDefault(msg, 10, ""),
88
- deviceMobileId: jspb.Message.getFieldWithDefault(msg, 11, ""),
89
- deviceDekstopId: jspb.Message.getFieldWithDefault(msg, 12, ""),
90
- createdBy: jspb.Message.getFieldWithDefault(msg, 13, ""),
91
- updatedBy: jspb.Message.getFieldWithDefault(msg, 14, ""),
92
- createdAt: jspb.Message.getFieldWithDefault(msg, 15, ""),
93
- updatedAt: jspb.Message.getFieldWithDefault(msg, 16, "")
94
- };
95
-
96
- if (includeInstance) {
97
- obj.$jspbMessageInstance = msg;
98
- }
99
- return obj;
100
- };
101
- }
102
-
103
-
104
- /**
105
- * Deserializes binary data (in protobuf wire format).
106
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
107
- * @return {!proto.Users}
108
- */
109
- proto.Users.deserializeBinary = function(bytes) {
110
- var reader = new jspb.BinaryReader(bytes);
111
- var msg = new proto.Users;
112
- return proto.Users.deserializeBinaryFromReader(msg, reader);
113
- };
114
-
115
-
116
- /**
117
- * Deserializes binary data (in protobuf wire format) from the
118
- * given reader into the given message object.
119
- * @param {!proto.Users} msg The message object to deserialize into.
120
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
121
- * @return {!proto.Users}
122
- */
123
- proto.Users.deserializeBinaryFromReader = function(msg, reader) {
124
- while (reader.nextField()) {
125
- if (reader.isEndGroup()) {
126
- break;
127
- }
128
- var field = reader.getFieldNumber();
129
- switch (field) {
130
- case 1:
131
- var value = /** @type {number} */ (reader.readInt32());
132
- msg.setId(value);
133
- break;
134
- case 2:
135
- var value = /** @type {string} */ (reader.readString());
136
- msg.setReferencesId(value);
137
- break;
138
- case 3:
139
- var value = /** @type {string} */ (reader.readString());
140
- msg.setName(value);
141
- break;
142
- case 4:
143
- var value = /** @type {string} */ (reader.readString());
144
- msg.setGenderRefId(value);
145
- break;
146
- case 5:
147
- var value = /** @type {string} */ (reader.readString());
148
- msg.setPhoneNumber(value);
149
- break;
150
- case 6:
151
- var value = /** @type {string} */ (reader.readString());
152
- msg.setEmail(value);
153
- break;
154
- case 7:
155
- var value = /** @type {string} */ (reader.readString());
156
- msg.setRoleRefId(value);
157
- break;
158
- case 8:
159
- var value = /** @type {string} */ (reader.readString());
160
- msg.setCredential(value);
161
- break;
162
- case 9:
163
- var value = /** @type {string} */ (reader.readString());
164
- msg.setLastLogin(value);
165
- break;
166
- case 10:
167
- var value = /** @type {string} */ (reader.readString());
168
- msg.setLastCredentialRenewal(value);
169
- break;
170
- case 11:
171
- var value = /** @type {string} */ (reader.readString());
172
- msg.setDeviceMobileId(value);
173
- break;
174
- case 12:
175
- var value = /** @type {string} */ (reader.readString());
176
- msg.setDeviceDekstopId(value);
177
- break;
178
- case 13:
179
- var value = /** @type {string} */ (reader.readString());
180
- msg.setCreatedBy(value);
181
- break;
182
- case 14:
183
- var value = /** @type {string} */ (reader.readString());
184
- msg.setUpdatedBy(value);
185
- break;
186
- case 15:
187
- var value = /** @type {string} */ (reader.readString());
188
- msg.setCreatedAt(value);
189
- break;
190
- case 16:
191
- var value = /** @type {string} */ (reader.readString());
192
- msg.setUpdatedAt(value);
193
- break;
194
- default:
195
- reader.skipField();
196
- break;
197
- }
198
- }
199
- return msg;
200
- };
201
-
202
-
203
- /**
204
- * Serializes the message to binary data (in protobuf wire format).
205
- * @return {!Uint8Array}
206
- */
207
- proto.Users.prototype.serializeBinary = function() {
208
- var writer = new jspb.BinaryWriter();
209
- proto.Users.serializeBinaryToWriter(this, writer);
210
- return writer.getResultBuffer();
211
- };
212
-
213
-
214
- /**
215
- * Serializes the given message to binary data (in protobuf wire
216
- * format), writing to the given BinaryWriter.
217
- * @param {!proto.Users} message
218
- * @param {!jspb.BinaryWriter} writer
219
- * @suppress {unusedLocalVariables} f is only used for nested messages
220
- */
221
- proto.Users.serializeBinaryToWriter = function(message, writer) {
222
- var f = undefined;
223
- f = message.getId();
224
- if (f !== 0) {
225
- writer.writeInt32(
226
- 1,
227
- f
228
- );
229
- }
230
- f = message.getReferencesId();
231
- if (f.length > 0) {
232
- writer.writeString(
233
- 2,
234
- f
235
- );
236
- }
237
- f = message.getName();
238
- if (f.length > 0) {
239
- writer.writeString(
240
- 3,
241
- f
242
- );
243
- }
244
- f = message.getGenderRefId();
245
- if (f.length > 0) {
246
- writer.writeString(
247
- 4,
248
- f
249
- );
250
- }
251
- f = message.getPhoneNumber();
252
- if (f.length > 0) {
253
- writer.writeString(
254
- 5,
255
- f
256
- );
257
- }
258
- f = message.getEmail();
259
- if (f.length > 0) {
260
- writer.writeString(
261
- 6,
262
- f
263
- );
264
- }
265
- f = message.getRoleRefId();
266
- if (f.length > 0) {
267
- writer.writeString(
268
- 7,
269
- f
270
- );
271
- }
272
- f = message.getCredential();
273
- if (f.length > 0) {
274
- writer.writeString(
275
- 8,
276
- f
277
- );
278
- }
279
- f = message.getLastLogin();
280
- if (f.length > 0) {
281
- writer.writeString(
282
- 9,
283
- f
284
- );
285
- }
286
- f = message.getLastCredentialRenewal();
287
- if (f.length > 0) {
288
- writer.writeString(
289
- 10,
290
- f
291
- );
292
- }
293
- f = message.getDeviceMobileId();
294
- if (f.length > 0) {
295
- writer.writeString(
296
- 11,
297
- f
298
- );
299
- }
300
- f = message.getDeviceDekstopId();
301
- if (f.length > 0) {
302
- writer.writeString(
303
- 12,
304
- f
305
- );
306
- }
307
- f = message.getCreatedBy();
308
- if (f.length > 0) {
309
- writer.writeString(
310
- 13,
311
- f
312
- );
313
- }
314
- f = message.getUpdatedBy();
315
- if (f.length > 0) {
316
- writer.writeString(
317
- 14,
318
- f
319
- );
320
- }
321
- f = message.getCreatedAt();
322
- if (f.length > 0) {
323
- writer.writeString(
324
- 15,
325
- f
326
- );
327
- }
328
- f = message.getUpdatedAt();
329
- if (f.length > 0) {
330
- writer.writeString(
331
- 16,
332
- f
333
- );
334
- }
335
- };
336
-
337
-
338
- /**
339
- * optional int32 id = 1;
340
- * @return {number}
341
- */
342
- proto.Users.prototype.getId = function() {
343
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
344
- };
345
-
346
-
347
- /**
348
- * @param {number} value
349
- * @return {!proto.Users} returns this
350
- */
351
- proto.Users.prototype.setId = function(value) {
352
- return jspb.Message.setProto3IntField(this, 1, value);
353
- };
354
-
355
-
356
- /**
357
- * optional string references_id = 2;
358
- * @return {string}
359
- */
360
- proto.Users.prototype.getReferencesId = function() {
361
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
362
- };
363
-
364
-
365
- /**
366
- * @param {string} value
367
- * @return {!proto.Users} returns this
368
- */
369
- proto.Users.prototype.setReferencesId = function(value) {
370
- return jspb.Message.setProto3StringField(this, 2, value);
371
- };
372
-
373
-
374
- /**
375
- * optional string name = 3;
376
- * @return {string}
377
- */
378
- proto.Users.prototype.getName = function() {
379
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
380
- };
381
-
382
-
383
- /**
384
- * @param {string} value
385
- * @return {!proto.Users} returns this
386
- */
387
- proto.Users.prototype.setName = function(value) {
388
- return jspb.Message.setProto3StringField(this, 3, value);
389
- };
390
-
391
-
392
- /**
393
- * optional string gender_ref_id = 4;
394
- * @return {string}
395
- */
396
- proto.Users.prototype.getGenderRefId = function() {
397
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
398
- };
399
-
400
-
401
- /**
402
- * @param {string} value
403
- * @return {!proto.Users} returns this
404
- */
405
- proto.Users.prototype.setGenderRefId = function(value) {
406
- return jspb.Message.setProto3StringField(this, 4, value);
407
- };
408
-
409
-
410
- /**
411
- * optional string phone_number = 5;
412
- * @return {string}
413
- */
414
- proto.Users.prototype.getPhoneNumber = function() {
415
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
416
- };
417
-
418
-
419
- /**
420
- * @param {string} value
421
- * @return {!proto.Users} returns this
422
- */
423
- proto.Users.prototype.setPhoneNumber = function(value) {
424
- return jspb.Message.setProto3StringField(this, 5, value);
425
- };
426
-
427
-
428
- /**
429
- * optional string email = 6;
430
- * @return {string}
431
- */
432
- proto.Users.prototype.getEmail = function() {
433
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
434
- };
435
-
436
-
437
- /**
438
- * @param {string} value
439
- * @return {!proto.Users} returns this
440
- */
441
- proto.Users.prototype.setEmail = function(value) {
442
- return jspb.Message.setProto3StringField(this, 6, value);
443
- };
444
-
445
-
446
- /**
447
- * optional string role_ref_id = 7;
448
- * @return {string}
449
- */
450
- proto.Users.prototype.getRoleRefId = function() {
451
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
452
- };
453
-
454
-
455
- /**
456
- * @param {string} value
457
- * @return {!proto.Users} returns this
458
- */
459
- proto.Users.prototype.setRoleRefId = function(value) {
460
- return jspb.Message.setProto3StringField(this, 7, value);
461
- };
462
-
463
-
464
- /**
465
- * optional string credential = 8;
466
- * @return {string}
467
- */
468
- proto.Users.prototype.getCredential = function() {
469
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
470
- };
471
-
472
-
473
- /**
474
- * @param {string} value
475
- * @return {!proto.Users} returns this
476
- */
477
- proto.Users.prototype.setCredential = function(value) {
478
- return jspb.Message.setProto3StringField(this, 8, value);
479
- };
480
-
481
-
482
- /**
483
- * optional string last_login = 9;
484
- * @return {string}
485
- */
486
- proto.Users.prototype.getLastLogin = function() {
487
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
488
- };
489
-
490
-
491
- /**
492
- * @param {string} value
493
- * @return {!proto.Users} returns this
494
- */
495
- proto.Users.prototype.setLastLogin = function(value) {
496
- return jspb.Message.setProto3StringField(this, 9, value);
497
- };
498
-
499
-
500
- /**
501
- * optional string last_credential_renewal = 10;
502
- * @return {string}
503
- */
504
- proto.Users.prototype.getLastCredentialRenewal = function() {
505
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
506
- };
507
-
508
-
509
- /**
510
- * @param {string} value
511
- * @return {!proto.Users} returns this
512
- */
513
- proto.Users.prototype.setLastCredentialRenewal = function(value) {
514
- return jspb.Message.setProto3StringField(this, 10, value);
515
- };
516
-
517
-
518
- /**
519
- * optional string device_mobile_id = 11;
520
- * @return {string}
521
- */
522
- proto.Users.prototype.getDeviceMobileId = function() {
523
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
524
- };
525
-
526
-
527
- /**
528
- * @param {string} value
529
- * @return {!proto.Users} returns this
530
- */
531
- proto.Users.prototype.setDeviceMobileId = function(value) {
532
- return jspb.Message.setProto3StringField(this, 11, value);
533
- };
534
-
535
-
536
- /**
537
- * optional string device_dekstop_id = 12;
538
- * @return {string}
539
- */
540
- proto.Users.prototype.getDeviceDekstopId = function() {
541
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
542
- };
543
-
544
-
545
- /**
546
- * @param {string} value
547
- * @return {!proto.Users} returns this
548
- */
549
- proto.Users.prototype.setDeviceDekstopId = function(value) {
550
- return jspb.Message.setProto3StringField(this, 12, value);
551
- };
552
-
553
-
554
- /**
555
- * optional string created_by = 13;
556
- * @return {string}
557
- */
558
- proto.Users.prototype.getCreatedBy = function() {
559
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
560
- };
561
-
562
-
563
- /**
564
- * @param {string} value
565
- * @return {!proto.Users} returns this
566
- */
567
- proto.Users.prototype.setCreatedBy = function(value) {
568
- return jspb.Message.setProto3StringField(this, 13, value);
569
- };
570
-
571
-
572
- /**
573
- * optional string updated_by = 14;
574
- * @return {string}
575
- */
576
- proto.Users.prototype.getUpdatedBy = function() {
577
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
578
- };
579
-
580
-
581
- /**
582
- * @param {string} value
583
- * @return {!proto.Users} returns this
584
- */
585
- proto.Users.prototype.setUpdatedBy = function(value) {
586
- return jspb.Message.setProto3StringField(this, 14, value);
587
- };
588
-
589
-
590
- /**
591
- * optional string created_at = 15;
592
- * @return {string}
593
- */
594
- proto.Users.prototype.getCreatedAt = function() {
595
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
596
- };
597
-
598
-
599
- /**
600
- * @param {string} value
601
- * @return {!proto.Users} returns this
602
- */
603
- proto.Users.prototype.setCreatedAt = function(value) {
604
- return jspb.Message.setProto3StringField(this, 15, value);
605
- };
606
-
607
-
608
- /**
609
- * optional string updated_at = 16;
610
- * @return {string}
611
- */
612
- proto.Users.prototype.getUpdatedAt = function() {
613
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
614
- };
615
-
616
-
617
- /**
618
- * @param {string} value
619
- * @return {!proto.Users} returns this
620
- */
621
- proto.Users.prototype.setUpdatedAt = function(value) {
622
- return jspb.Message.setProto3StringField(this, 16, value);
623
- };
624
-
625
-
626
- goog.object.extend(exports, proto);