@fatehan/tsrp 1.4.9 → 1.4.10

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.
@@ -8,7 +8,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
9
9
  };
10
10
  Object.defineProperty(exports, "__esModule", { value: true });
11
- exports.FilterScope = exports.FilterConditions = exports.AlertAndNotifications = exports.AreaIndexResponse = exports.AreaIndexRequest = exports.MeResponse = exports.MeRequest = exports.DeviceShowResponse = exports.DeviceShowRequest = exports.DeviceResponse = exports.DeviceRequest_QueryFilterEntry = exports.DeviceRequest = exports.UserResponse = exports.UserRequest_QueryFilterEntry = exports.UserRequest = exports.ConfigResponse_AppSecConfig = exports.ConfigResponse_AppDesignConfig = exports.ConfigResponse = exports.ConfigRequest = exports.IoResponse = exports.IoRequest = exports.AuthResponse = exports.AuthRequest = exports.MaintenanceIndexResponse_Statistics = exports.MaintenanceIndexResponse_MostUsed = exports.MaintenanceIndexResponse = exports.MaintenanceIndexRequest = exports.EventIndexResponse = exports.EventIndexRequest = exports.EventTemplateIndexRequest_QueryFilterEntry = exports.EventTemplateIndexRequest = exports.EventTemplateIndexResponse = exports.EventDestroyResponse = exports.EventDestroyRequest = exports.EventTemplateDestroyResponse = exports.EventTemplateDestroyRequest = exports.SubscriptionMethodIndexRequest = exports.WorkflowTaskIndexResponse = exports.WorkflowTaskIndexRequest_Payambar = exports.WorkflowTaskIndexRequest_Tanesh = exports.WorkflowTaskIndexRequest_QueryFilterEntry = exports.WorkflowTaskIndexRequest = exports.protobufPackage = void 0;
11
+ exports.FilterScope = exports.FilterConditions = exports.AlertAndNotifications = exports.AreaIndexResponse = exports.AreaIndexRequest = exports.MeResponse = exports.MeRequest = exports.DeviceShowResponse = exports.DeviceShowRequest = exports.DeviceResponse = exports.DeviceRequest_QueryFilterEntry = exports.DeviceRequest = exports.UserResponse = exports.UserRequest_QueryFilterEntry = exports.UserRequest = exports.ConfigResponse_AppSecConfig = exports.ConfigResponse_AppDesignConfig = exports.ConfigResponse = exports.ConfigRequest = exports.IoResponse = exports.IoRequest = exports.AuthResponse = exports.AuthRequest = exports.MaintenanceIndexResponse_Statistics = exports.MaintenanceIndexResponse_MostUsed = exports.MaintenanceIndexResponse = exports.MaintenanceIndexRequest = exports.EventIndexResponse = exports.EventIndexRequest = exports.EventTemplateIndexRequest_QueryFilterEntry = exports.EventTemplateIndexRequest = exports.EventTemplateIndexResponse = exports.EventDestroyResponse = exports.EventDestroyRequest = exports.EventTemplateDestroyResponse = exports.EventTemplateDestroyRequest = exports.SubscriptionMethodIndexRequest = exports.protobufPackage = void 0;
12
12
  /* eslint-disable */
13
13
  const wire_1 = require("@bufbuild/protobuf/wire");
14
14
  const long_1 = __importDefault(require("long"));
@@ -22,520 +22,6 @@ const models_1 = require("../models/models");
22
22
  const notify_1 = require("../notifies/notify");
23
23
  const repositories_1 = require("./repositories");
24
24
  exports.protobufPackage = "com.fatehan.services";
25
- function createBaseWorkflowTaskIndexRequest() {
26
- return {
27
- deviceId: undefined,
28
- disablePagination: false,
29
- page: undefined,
30
- pageSize: undefined,
31
- queryFilter: {},
32
- sort: undefined,
33
- order: undefined,
34
- tanesh: undefined,
35
- payambar: undefined,
36
- };
37
- }
38
- exports.WorkflowTaskIndexRequest = {
39
- encode(message, writer = new wire_1.BinaryWriter()) {
40
- if (message.deviceId !== undefined) {
41
- writer.uint32(8).uint64(message.deviceId.toString());
42
- }
43
- if (message.disablePagination !== false) {
44
- writer.uint32(16).bool(message.disablePagination);
45
- }
46
- if (message.page !== undefined) {
47
- writer.uint32(24).uint32(message.page);
48
- }
49
- if (message.pageSize !== undefined) {
50
- writer.uint32(32).uint32(message.pageSize);
51
- }
52
- Object.entries(message.queryFilter).forEach(([key, value]) => {
53
- exports.WorkflowTaskIndexRequest_QueryFilterEntry.encode({ key: key, value }, writer.uint32(42).fork()).join();
54
- });
55
- if (message.sort !== undefined) {
56
- writer.uint32(50).string(message.sort);
57
- }
58
- if (message.order !== undefined) {
59
- writer.uint32(58).string(message.order);
60
- }
61
- if (message.tanesh !== undefined) {
62
- exports.WorkflowTaskIndexRequest_Tanesh.encode(message.tanesh, writer.uint32(170).fork()).join();
63
- }
64
- if (message.payambar !== undefined) {
65
- exports.WorkflowTaskIndexRequest_Payambar.encode(message.payambar, writer.uint32(178).fork()).join();
66
- }
67
- return writer;
68
- },
69
- decode(input, length) {
70
- const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
71
- const end = length === undefined ? reader.len : reader.pos + length;
72
- const message = createBaseWorkflowTaskIndexRequest();
73
- while (reader.pos < end) {
74
- const tag = reader.uint32();
75
- switch (tag >>> 3) {
76
- case 1: {
77
- if (tag !== 8) {
78
- break;
79
- }
80
- message.deviceId = long_1.default.fromString(reader.uint64().toString(), true);
81
- continue;
82
- }
83
- case 2: {
84
- if (tag !== 16) {
85
- break;
86
- }
87
- message.disablePagination = reader.bool();
88
- continue;
89
- }
90
- case 3: {
91
- if (tag !== 24) {
92
- break;
93
- }
94
- message.page = reader.uint32();
95
- continue;
96
- }
97
- case 4: {
98
- if (tag !== 32) {
99
- break;
100
- }
101
- message.pageSize = reader.uint32();
102
- continue;
103
- }
104
- case 5: {
105
- if (tag !== 42) {
106
- break;
107
- }
108
- const entry5 = exports.WorkflowTaskIndexRequest_QueryFilterEntry.decode(reader, reader.uint32());
109
- if (entry5.value !== undefined) {
110
- message.queryFilter[entry5.key] = entry5.value;
111
- }
112
- continue;
113
- }
114
- case 6: {
115
- if (tag !== 50) {
116
- break;
117
- }
118
- message.sort = reader.string();
119
- continue;
120
- }
121
- case 7: {
122
- if (tag !== 58) {
123
- break;
124
- }
125
- message.order = reader.string();
126
- continue;
127
- }
128
- case 21: {
129
- if (tag !== 170) {
130
- break;
131
- }
132
- message.tanesh = exports.WorkflowTaskIndexRequest_Tanesh.decode(reader, reader.uint32());
133
- continue;
134
- }
135
- case 22: {
136
- if (tag !== 178) {
137
- break;
138
- }
139
- message.payambar = exports.WorkflowTaskIndexRequest_Payambar.decode(reader, reader.uint32());
140
- continue;
141
- }
142
- }
143
- if ((tag & 7) === 4 || tag === 0) {
144
- break;
145
- }
146
- reader.skip(tag & 7);
147
- }
148
- return message;
149
- },
150
- fromJSON(object) {
151
- return {
152
- deviceId: isSet(object.device_id) ? long_1.default.fromValue(object.device_id) : undefined,
153
- disablePagination: isSet(object.disable_pagination) ? globalThis.Boolean(object.disable_pagination) : false,
154
- page: isSet(object.page) ? globalThis.Number(object.page) : undefined,
155
- pageSize: isSet(object.page_size) ? globalThis.Number(object.page_size) : undefined,
156
- queryFilter: isObject(object.query_filter)
157
- ? Object.entries(object.query_filter).reduce((acc, [key, value]) => {
158
- acc[key] = exports.FilterScope.fromJSON(value);
159
- return acc;
160
- }, {})
161
- : {},
162
- sort: isSet(object.sort) ? globalThis.String(object.sort) : undefined,
163
- order: isSet(object.order) ? globalThis.String(object.order) : undefined,
164
- tanesh: isSet(object.tanesh) ? exports.WorkflowTaskIndexRequest_Tanesh.fromJSON(object.tanesh) : undefined,
165
- payambar: isSet(object.payambar) ? exports.WorkflowTaskIndexRequest_Payambar.fromJSON(object.payambar) : undefined,
166
- };
167
- },
168
- toJSON(message) {
169
- const obj = {};
170
- if (message.deviceId !== undefined) {
171
- obj.device_id = (message.deviceId || long_1.default.UZERO).toString();
172
- }
173
- if (message.disablePagination !== false) {
174
- obj.disable_pagination = message.disablePagination;
175
- }
176
- if (message.page !== undefined) {
177
- obj.page = Math.round(message.page);
178
- }
179
- if (message.pageSize !== undefined) {
180
- obj.page_size = Math.round(message.pageSize);
181
- }
182
- if (message.queryFilter) {
183
- const entries = Object.entries(message.queryFilter);
184
- if (entries.length > 0) {
185
- obj.query_filter = {};
186
- entries.forEach(([k, v]) => {
187
- obj.query_filter[k] = exports.FilterScope.toJSON(v);
188
- });
189
- }
190
- }
191
- if (message.sort !== undefined) {
192
- obj.sort = message.sort;
193
- }
194
- if (message.order !== undefined) {
195
- obj.order = message.order;
196
- }
197
- if (message.tanesh !== undefined) {
198
- obj.tanesh = exports.WorkflowTaskIndexRequest_Tanesh.toJSON(message.tanesh);
199
- }
200
- if (message.payambar !== undefined) {
201
- obj.payambar = exports.WorkflowTaskIndexRequest_Payambar.toJSON(message.payambar);
202
- }
203
- return obj;
204
- },
205
- create(base) {
206
- return exports.WorkflowTaskIndexRequest.fromPartial(base !== null && base !== void 0 ? base : {});
207
- },
208
- fromPartial(object) {
209
- var _a, _b, _c, _d, _e, _f;
210
- const message = createBaseWorkflowTaskIndexRequest();
211
- message.deviceId = (object.deviceId !== undefined && object.deviceId !== null)
212
- ? long_1.default.fromValue(object.deviceId)
213
- : undefined;
214
- message.disablePagination = (_a = object.disablePagination) !== null && _a !== void 0 ? _a : false;
215
- message.page = (_b = object.page) !== null && _b !== void 0 ? _b : undefined;
216
- message.pageSize = (_c = object.pageSize) !== null && _c !== void 0 ? _c : undefined;
217
- message.queryFilter = Object.entries((_d = object.queryFilter) !== null && _d !== void 0 ? _d : {}).reduce((acc, [key, value]) => {
218
- if (value !== undefined) {
219
- acc[key] = exports.FilterScope.fromPartial(value);
220
- }
221
- return acc;
222
- }, {});
223
- message.sort = (_e = object.sort) !== null && _e !== void 0 ? _e : undefined;
224
- message.order = (_f = object.order) !== null && _f !== void 0 ? _f : undefined;
225
- message.tanesh = (object.tanesh !== undefined && object.tanesh !== null)
226
- ? exports.WorkflowTaskIndexRequest_Tanesh.fromPartial(object.tanesh)
227
- : undefined;
228
- message.payambar = (object.payambar !== undefined && object.payambar !== null)
229
- ? exports.WorkflowTaskIndexRequest_Payambar.fromPartial(object.payambar)
230
- : undefined;
231
- return message;
232
- },
233
- };
234
- function createBaseWorkflowTaskIndexRequest_QueryFilterEntry() {
235
- return { key: "", value: undefined };
236
- }
237
- exports.WorkflowTaskIndexRequest_QueryFilterEntry = {
238
- encode(message, writer = new wire_1.BinaryWriter()) {
239
- if (message.key !== "") {
240
- writer.uint32(10).string(message.key);
241
- }
242
- if (message.value !== undefined) {
243
- exports.FilterScope.encode(message.value, writer.uint32(18).fork()).join();
244
- }
245
- return writer;
246
- },
247
- decode(input, length) {
248
- const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
249
- const end = length === undefined ? reader.len : reader.pos + length;
250
- const message = createBaseWorkflowTaskIndexRequest_QueryFilterEntry();
251
- while (reader.pos < end) {
252
- const tag = reader.uint32();
253
- switch (tag >>> 3) {
254
- case 1: {
255
- if (tag !== 10) {
256
- break;
257
- }
258
- message.key = reader.string();
259
- continue;
260
- }
261
- case 2: {
262
- if (tag !== 18) {
263
- break;
264
- }
265
- message.value = exports.FilterScope.decode(reader, reader.uint32());
266
- continue;
267
- }
268
- }
269
- if ((tag & 7) === 4 || tag === 0) {
270
- break;
271
- }
272
- reader.skip(tag & 7);
273
- }
274
- return message;
275
- },
276
- fromJSON(object) {
277
- return {
278
- key: isSet(object.key) ? globalThis.String(object.key) : "",
279
- value: isSet(object.value) ? exports.FilterScope.fromJSON(object.value) : undefined,
280
- };
281
- },
282
- toJSON(message) {
283
- const obj = {};
284
- if (message.key !== "") {
285
- obj.key = message.key;
286
- }
287
- if (message.value !== undefined) {
288
- obj.value = exports.FilterScope.toJSON(message.value);
289
- }
290
- return obj;
291
- },
292
- create(base) {
293
- return exports.WorkflowTaskIndexRequest_QueryFilterEntry.fromPartial(base !== null && base !== void 0 ? base : {});
294
- },
295
- fromPartial(object) {
296
- var _a;
297
- const message = createBaseWorkflowTaskIndexRequest_QueryFilterEntry();
298
- message.key = (_a = object.key) !== null && _a !== void 0 ? _a : "";
299
- message.value = (object.value !== undefined && object.value !== null)
300
- ? exports.FilterScope.fromPartial(object.value)
301
- : undefined;
302
- return message;
303
- },
304
- };
305
- function createBaseWorkflowTaskIndexRequest_Tanesh() {
306
- return {};
307
- }
308
- exports.WorkflowTaskIndexRequest_Tanesh = {
309
- encode(_, writer = new wire_1.BinaryWriter()) {
310
- return writer;
311
- },
312
- decode(input, length) {
313
- const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
314
- const end = length === undefined ? reader.len : reader.pos + length;
315
- const message = createBaseWorkflowTaskIndexRequest_Tanesh();
316
- while (reader.pos < end) {
317
- const tag = reader.uint32();
318
- switch (tag >>> 3) {
319
- }
320
- if ((tag & 7) === 4 || tag === 0) {
321
- break;
322
- }
323
- reader.skip(tag & 7);
324
- }
325
- return message;
326
- },
327
- fromJSON(_) {
328
- return {};
329
- },
330
- toJSON(_) {
331
- const obj = {};
332
- return obj;
333
- },
334
- create(base) {
335
- return exports.WorkflowTaskIndexRequest_Tanesh.fromPartial(base !== null && base !== void 0 ? base : {});
336
- },
337
- fromPartial(_) {
338
- const message = createBaseWorkflowTaskIndexRequest_Tanesh();
339
- return message;
340
- },
341
- };
342
- function createBaseWorkflowTaskIndexRequest_Payambar() {
343
- return {};
344
- }
345
- exports.WorkflowTaskIndexRequest_Payambar = {
346
- encode(_, writer = new wire_1.BinaryWriter()) {
347
- return writer;
348
- },
349
- decode(input, length) {
350
- const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
351
- const end = length === undefined ? reader.len : reader.pos + length;
352
- const message = createBaseWorkflowTaskIndexRequest_Payambar();
353
- while (reader.pos < end) {
354
- const tag = reader.uint32();
355
- switch (tag >>> 3) {
356
- }
357
- if ((tag & 7) === 4 || tag === 0) {
358
- break;
359
- }
360
- reader.skip(tag & 7);
361
- }
362
- return message;
363
- },
364
- fromJSON(_) {
365
- return {};
366
- },
367
- toJSON(_) {
368
- const obj = {};
369
- return obj;
370
- },
371
- create(base) {
372
- return exports.WorkflowTaskIndexRequest_Payambar.fromPartial(base !== null && base !== void 0 ? base : {});
373
- },
374
- fromPartial(_) {
375
- const message = createBaseWorkflowTaskIndexRequest_Payambar();
376
- return message;
377
- },
378
- };
379
- function createBaseWorkflowTaskIndexResponse() {
380
- return { currentPage: 0, from: 0, to: 0, lastPage: 0, perPage: 0, cost: long_1.default.ZERO, total: 0, data: [] };
381
- }
382
- exports.WorkflowTaskIndexResponse = {
383
- encode(message, writer = new wire_1.BinaryWriter()) {
384
- if (message.currentPage !== 0) {
385
- writer.uint32(8).uint32(message.currentPage);
386
- }
387
- if (message.from !== 0) {
388
- writer.uint32(16).uint32(message.from);
389
- }
390
- if (message.to !== 0) {
391
- writer.uint32(24).uint32(message.to);
392
- }
393
- if (message.lastPage !== 0) {
394
- writer.uint32(32).uint32(message.lastPage);
395
- }
396
- if (message.perPage !== 0) {
397
- writer.uint32(40).uint32(message.perPage);
398
- }
399
- if (!message.cost.equals(long_1.default.ZERO)) {
400
- writer.uint32(48).sint64(message.cost.toString());
401
- }
402
- if (message.total !== 0) {
403
- writer.uint32(56).uint32(message.total);
404
- }
405
- for (const v of message.data) {
406
- repositories_1.WorkflowTaskRepo.encode(v, writer.uint32(66).fork()).join();
407
- }
408
- return writer;
409
- },
410
- decode(input, length) {
411
- const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
412
- const end = length === undefined ? reader.len : reader.pos + length;
413
- const message = createBaseWorkflowTaskIndexResponse();
414
- while (reader.pos < end) {
415
- const tag = reader.uint32();
416
- switch (tag >>> 3) {
417
- case 1: {
418
- if (tag !== 8) {
419
- break;
420
- }
421
- message.currentPage = reader.uint32();
422
- continue;
423
- }
424
- case 2: {
425
- if (tag !== 16) {
426
- break;
427
- }
428
- message.from = reader.uint32();
429
- continue;
430
- }
431
- case 3: {
432
- if (tag !== 24) {
433
- break;
434
- }
435
- message.to = reader.uint32();
436
- continue;
437
- }
438
- case 4: {
439
- if (tag !== 32) {
440
- break;
441
- }
442
- message.lastPage = reader.uint32();
443
- continue;
444
- }
445
- case 5: {
446
- if (tag !== 40) {
447
- break;
448
- }
449
- message.perPage = reader.uint32();
450
- continue;
451
- }
452
- case 6: {
453
- if (tag !== 48) {
454
- break;
455
- }
456
- message.cost = long_1.default.fromString(reader.sint64().toString());
457
- continue;
458
- }
459
- case 7: {
460
- if (tag !== 56) {
461
- break;
462
- }
463
- message.total = reader.uint32();
464
- continue;
465
- }
466
- case 8: {
467
- if (tag !== 66) {
468
- break;
469
- }
470
- message.data.push(repositories_1.WorkflowTaskRepo.decode(reader, reader.uint32()));
471
- continue;
472
- }
473
- }
474
- if ((tag & 7) === 4 || tag === 0) {
475
- break;
476
- }
477
- reader.skip(tag & 7);
478
- }
479
- return message;
480
- },
481
- fromJSON(object) {
482
- return {
483
- currentPage: isSet(object.current_page) ? globalThis.Number(object.current_page) : 0,
484
- from: isSet(object.from) ? globalThis.Number(object.from) : 0,
485
- to: isSet(object.to) ? globalThis.Number(object.to) : 0,
486
- lastPage: isSet(object.last_page) ? globalThis.Number(object.last_page) : 0,
487
- perPage: isSet(object.per_page) ? globalThis.Number(object.per_page) : 0,
488
- cost: isSet(object.cost) ? long_1.default.fromValue(object.cost) : long_1.default.ZERO,
489
- total: isSet(object.total) ? globalThis.Number(object.total) : 0,
490
- data: globalThis.Array.isArray(object === null || object === void 0 ? void 0 : object.data) ? object.data.map((e) => repositories_1.WorkflowTaskRepo.fromJSON(e)) : [],
491
- };
492
- },
493
- toJSON(message) {
494
- var _a;
495
- const obj = {};
496
- if (message.currentPage !== 0) {
497
- obj.current_page = Math.round(message.currentPage);
498
- }
499
- if (message.from !== 0) {
500
- obj.from = Math.round(message.from);
501
- }
502
- if (message.to !== 0) {
503
- obj.to = Math.round(message.to);
504
- }
505
- if (message.lastPage !== 0) {
506
- obj.last_page = Math.round(message.lastPage);
507
- }
508
- if (message.perPage !== 0) {
509
- obj.per_page = Math.round(message.perPage);
510
- }
511
- if (!message.cost.equals(long_1.default.ZERO)) {
512
- obj.cost = (message.cost || long_1.default.ZERO).toString();
513
- }
514
- if (message.total !== 0) {
515
- obj.total = Math.round(message.total);
516
- }
517
- if ((_a = message.data) === null || _a === void 0 ? void 0 : _a.length) {
518
- obj.data = message.data.map((e) => repositories_1.WorkflowTaskRepo.toJSON(e));
519
- }
520
- return obj;
521
- },
522
- create(base) {
523
- return exports.WorkflowTaskIndexResponse.fromPartial(base !== null && base !== void 0 ? base : {});
524
- },
525
- fromPartial(object) {
526
- var _a, _b, _c, _d, _e, _f, _g;
527
- const message = createBaseWorkflowTaskIndexResponse();
528
- message.currentPage = (_a = object.currentPage) !== null && _a !== void 0 ? _a : 0;
529
- message.from = (_b = object.from) !== null && _b !== void 0 ? _b : 0;
530
- message.to = (_c = object.to) !== null && _c !== void 0 ? _c : 0;
531
- message.lastPage = (_d = object.lastPage) !== null && _d !== void 0 ? _d : 0;
532
- message.perPage = (_e = object.perPage) !== null && _e !== void 0 ? _e : 0;
533
- message.cost = (object.cost !== undefined && object.cost !== null) ? long_1.default.fromValue(object.cost) : long_1.default.ZERO;
534
- message.total = (_f = object.total) !== null && _f !== void 0 ? _f : 0;
535
- message.data = ((_g = object.data) === null || _g === void 0 ? void 0 : _g.map((e) => repositories_1.WorkflowTaskRepo.fromPartial(e))) || [];
536
- return message;
537
- },
538
- };
539
25
  function createBaseSubscriptionMethodIndexRequest() {
540
26
  return {};
541
27
  }
@@ -1,6 +1,5 @@
1
1
  import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
2
2
  import Long from "long";
3
- import { Workflow, WorkflowDetail } from "../activities/workflow";
4
3
  import { Car, CarBrand, CarModel, Device, DeviceIcon, SystemIo, Tracker } from "../devices/devices";
5
4
  import { Currency, PaymentGateway, Product, ProductType, Wallet } from "../financial/financial";
6
5
  import { Driver, Organization, Person, User } from "../identities/identities";
@@ -39,21 +38,6 @@ export interface CarModelRepo {
39
38
  carModel?: CarModel | undefined;
40
39
  carBrand?: CarBrand | undefined;
41
40
  }
42
- export interface WorkflowTaskRepo {
43
- workflow?: Workflow | undefined;
44
- workflowDetail?: WorkflowDetail | undefined;
45
- organization?: Organization | undefined;
46
- device?: Device | undefined;
47
- car?: Car | undefined;
48
- tanesh?: WorkflowTaskRepo_TaneshRepo | undefined;
49
- payambar?: WorkflowTaskRepo_PayambarRepo | undefined;
50
- }
51
- export interface WorkflowTaskRepo_TaneshRepo {
52
- passengerName?: string | undefined;
53
- driverName?: string | undefined;
54
- }
55
- export interface WorkflowTaskRepo_PayambarRepo {
56
- }
57
41
  export interface SubscriptionRepo {
58
42
  partnerId: Long;
59
43
  customSubs: Product[];
@@ -72,9 +56,6 @@ export declare const PersonRepo: MessageFns<PersonRepo>;
72
56
  export declare const UserRepo: MessageFns<UserRepo>;
73
57
  export declare const DriverRepo: MessageFns<DriverRepo>;
74
58
  export declare const CarModelRepo: MessageFns<CarModelRepo>;
75
- export declare const WorkflowTaskRepo: MessageFns<WorkflowTaskRepo>;
76
- export declare const WorkflowTaskRepo_TaneshRepo: MessageFns<WorkflowTaskRepo_TaneshRepo>;
77
- export declare const WorkflowTaskRepo_PayambarRepo: MessageFns<WorkflowTaskRepo_PayambarRepo>;
78
59
  export declare const SubscriptionRepo: MessageFns<SubscriptionRepo>;
79
60
  export declare const ProductRepo: MessageFns<ProductRepo>;
80
61
  type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"repositories.d.ts","sourceRoot":"","sources":["../../../src/fatehan/services/repositories.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACrE,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAClE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AACpG,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAChG,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,0BAA0B,CAAC;AAC9E,OAAO,EAAE,YAAY,EAAE,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