@vendasta/developer-training 0.9.0 → 0.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. package/esm2020/lib/_internal/a-hundal-to-do-project.api.service.mjs +61 -0
  2. package/esm2020/lib/_internal/e-currie-list.api.service.mjs +50 -0
  3. package/esm2020/lib/_internal/enums/api.enum.mjs +13 -0
  4. package/esm2020/lib/_internal/enums/index.mjs +8 -0
  5. package/esm2020/lib/_internal/hdo-todo.api.service.mjs +60 -0
  6. package/esm2020/lib/_internal/i-olaleye-to-do-qa.api.service.mjs +61 -0
  7. package/esm2020/lib/_internal/index.mjs +9 -1
  8. package/esm2020/lib/_internal/interfaces/annotations.interface.mjs +8 -0
  9. package/esm2020/lib/_internal/interfaces/api.interface.mjs +8 -0
  10. package/esm2020/lib/_internal/interfaces/businessqa.interface.mjs +1 -1
  11. package/esm2020/lib/_internal/interfaces/field-mask.interface.mjs +1 -1
  12. package/esm2020/lib/_internal/interfaces/index.mjs +1 -1
  13. package/esm2020/lib/_internal/interfaces/lfossenier-todo.interface.mjs +1 -1
  14. package/esm2020/lib/_internal/interfaces/tkabakovtodo.interface.mjs +8 -0
  15. package/esm2020/lib/_internal/l-fossenier-todo.api.service.mjs +5 -5
  16. package/esm2020/lib/_internal/m-mugot-list-qa.api.service.mjs +60 -0
  17. package/esm2020/lib/_internal/objects/annotations.mjs +30 -0
  18. package/esm2020/lib/_internal/objects/api.mjs +1346 -0
  19. package/esm2020/lib/_internal/objects/businessqa.mjs +7 -1
  20. package/esm2020/lib/_internal/objects/field-mask.mjs +7 -1
  21. package/esm2020/lib/_internal/objects/index.mjs +5 -2
  22. package/esm2020/lib/_internal/objects/lfossenier-todo.mjs +33 -27
  23. package/esm2020/lib/_internal/objects/tkabakovtodo.mjs +274 -0
  24. package/esm2020/lib/_internal/t-kabakov-to-do.api.service.mjs +61 -0
  25. package/esm2020/lib/_internal/w-horrell-to-do.api.service.mjs +60 -0
  26. package/fesm2015/vendasta-developer-training.mjs +2086 -81
  27. package/fesm2015/vendasta-developer-training.mjs.map +1 -1
  28. package/fesm2020/vendasta-developer-training.mjs +2086 -81
  29. package/fesm2020/vendasta-developer-training.mjs.map +1 -1
  30. package/lib/_internal/a-hundal-to-do-project.api.service.d.ts +20 -0
  31. package/lib/_internal/e-currie-list.api.service.d.ts +18 -0
  32. package/lib/_internal/enums/api.enum.d.ts +5 -0
  33. package/lib/_internal/enums/index.d.ts +1 -0
  34. package/lib/_internal/hdo-todo.api.service.d.ts +20 -0
  35. package/lib/_internal/i-olaleye-to-do-qa.api.service.d.ts +20 -0
  36. package/lib/_internal/index.d.ts +8 -0
  37. package/lib/_internal/interfaces/annotations.interface.d.ts +4 -0
  38. package/lib/_internal/interfaces/api.interface.d.ts +208 -0
  39. package/lib/_internal/interfaces/index.d.ts +4 -1
  40. package/lib/_internal/interfaces/lfossenier-todo.interface.d.ts +5 -5
  41. package/lib/_internal/interfaces/tkabakovtodo.interface.d.ts +40 -0
  42. package/lib/_internal/l-fossenier-todo.api.service.d.ts +3 -3
  43. package/lib/_internal/m-mugot-list-qa.api.service.d.ts +20 -0
  44. package/lib/_internal/objects/annotations.d.ts +9 -0
  45. package/lib/_internal/objects/api.d.ts +387 -0
  46. package/lib/_internal/objects/businessqa.d.ts +1 -0
  47. package/lib/_internal/objects/field-mask.d.ts +1 -0
  48. package/lib/_internal/objects/index.d.ts +4 -1
  49. package/lib/_internal/objects/lfossenier-todo.d.ts +9 -8
  50. package/lib/_internal/objects/tkabakovtodo.d.ts +78 -0
  51. package/lib/_internal/t-kabakov-to-do.api.service.d.ts +20 -0
  52. package/lib/_internal/w-horrell-to-do.api.service.d.ts +20 -0
  53. package/package.json +1 -1
@@ -4,9 +4,1697 @@ import * as i1 from '@angular/common/http';
4
4
  import { HttpHeaders } from '@angular/common/http';
5
5
  import { map } from 'rxjs/operators';
6
6
 
7
+ // *********************************
8
+ // Code generated by sdkgen
9
+ // DO NOT EDIT!.
10
+ //
11
+ // Enums.
12
+ // *********************************
13
+ var Task;
14
+ (function (Task) {
15
+ Task[Task["TASK_ID"] = 0] = "TASK_ID";
16
+ Task[Task["TASK_NAME"] = 1] = "TASK_NAME";
17
+ Task[Task["TASK_DESCRIPTION"] = 2] = "TASK_DESCRIPTION";
18
+ })(Task || (Task = {}));
19
+
20
+ // *********************************
21
+
22
+ function enumStringToValue$5(enumRef, value) {
23
+ if (typeof value === 'number') {
24
+ return value;
25
+ }
26
+ return enumRef[value];
27
+ }
7
28
  class FieldMask {
8
29
  static fromProto(proto) {
9
- let m = new FieldMask();
30
+ let m = new FieldMask();
31
+ m = Object.assign(m, proto);
32
+ return m;
33
+ }
34
+ constructor(kwargs) {
35
+ if (!kwargs) {
36
+ return;
37
+ }
38
+ Object.assign(this, kwargs);
39
+ }
40
+ toApiJson() {
41
+ const toReturn = {};
42
+ if (typeof this.paths !== 'undefined') {
43
+ toReturn['paths'] = this.paths;
44
+ }
45
+ return toReturn;
46
+ }
47
+ }
48
+
49
+ function enumStringToValue$4(enumRef, value) {
50
+ if (typeof value === 'number') {
51
+ return value;
52
+ }
53
+ return enumRef[value];
54
+ }
55
+ class GetBusinessQuestionsAnswersRequest {
56
+ static fromProto(proto) {
57
+ let m = new GetBusinessQuestionsAnswersRequest();
58
+ m = Object.assign(m, proto);
59
+ return m;
60
+ }
61
+ constructor(kwargs) {
62
+ if (!kwargs) {
63
+ return;
64
+ }
65
+ Object.assign(this, kwargs);
66
+ }
67
+ toApiJson() {
68
+ const toReturn = {};
69
+ if (typeof this.businessId !== 'undefined') {
70
+ toReturn['businessId'] = this.businessId;
71
+ }
72
+ return toReturn;
73
+ }
74
+ }
75
+ class GetBusinessQuestionsAnswersResponse {
76
+ static fromProto(proto) {
77
+ let m = new GetBusinessQuestionsAnswersResponse();
78
+ m = Object.assign(m, proto);
79
+ if (proto.answers) {
80
+ m.answers = QuestionsAnswers.fromProto(proto.answers);
81
+ }
82
+ return m;
83
+ }
84
+ constructor(kwargs) {
85
+ if (!kwargs) {
86
+ return;
87
+ }
88
+ Object.assign(this, kwargs);
89
+ }
90
+ toApiJson() {
91
+ const toReturn = {};
92
+ if (typeof this.businessId !== 'undefined') {
93
+ toReturn['businessId'] = this.businessId;
94
+ }
95
+ if (typeof this.answers !== 'undefined' && this.answers !== null) {
96
+ toReturn['answers'] = 'toApiJson' in this.answers ? this.answers.toApiJson() : this.answers;
97
+ }
98
+ return toReturn;
99
+ }
100
+ }
101
+ class QuestionsAnswers {
102
+ static fromProto(proto) {
103
+ let m = new QuestionsAnswers();
104
+ m = Object.assign(m, proto);
105
+ return m;
106
+ }
107
+ constructor(kwargs) {
108
+ if (!kwargs) {
109
+ return;
110
+ }
111
+ Object.assign(this, kwargs);
112
+ }
113
+ toApiJson() {
114
+ const toReturn = {};
115
+ if (typeof this.whatIsBestTimeOfDayToContact !== 'undefined') {
116
+ toReturn['whatIsBestTimeOfDayToContact'] = this.whatIsBestTimeOfDayToContact;
117
+ }
118
+ if (typeof this.isThisPlaceWheelchairAccessible !== 'undefined') {
119
+ toReturn['isThisPlaceWheelchairAccessible'] = this.isThisPlaceWheelchairAccessible;
120
+ }
121
+ return toReturn;
122
+ }
123
+ }
124
+ class ReplaceBusinessQuestionsAnswersRequest {
125
+ static fromProto(proto) {
126
+ let m = new ReplaceBusinessQuestionsAnswersRequest();
127
+ m = Object.assign(m, proto);
128
+ if (proto.fieldMask) {
129
+ m.fieldMask = FieldMask.fromProto(proto.fieldMask);
130
+ }
131
+ if (proto.answers) {
132
+ m.answers = QuestionsAnswers.fromProto(proto.answers);
133
+ }
134
+ return m;
135
+ }
136
+ constructor(kwargs) {
137
+ if (!kwargs) {
138
+ return;
139
+ }
140
+ Object.assign(this, kwargs);
141
+ }
142
+ toApiJson() {
143
+ const toReturn = {};
144
+ if (typeof this.businessId !== 'undefined') {
145
+ toReturn['businessId'] = this.businessId;
146
+ }
147
+ if (typeof this.fieldMask !== 'undefined' && this.fieldMask !== null) {
148
+ toReturn['fieldMask'] = 'toApiJson' in this.fieldMask ? this.fieldMask.toApiJson() : this.fieldMask;
149
+ }
150
+ if (typeof this.answers !== 'undefined' && this.answers !== null) {
151
+ toReturn['answers'] = 'toApiJson' in this.answers ? this.answers.toApiJson() : this.answers;
152
+ }
153
+ return toReturn;
154
+ }
155
+ }
156
+
157
+ function enumStringToValue$3(enumRef, value) {
158
+ if (typeof value === 'number') {
159
+ return value;
160
+ }
161
+ return enumRef[value];
162
+ }
163
+ class TKabakovAddToDoItemRequest {
164
+ static fromProto(proto) {
165
+ let m = new TKabakovAddToDoItemRequest();
166
+ m = Object.assign(m, proto);
167
+ return m;
168
+ }
169
+ constructor(kwargs) {
170
+ if (!kwargs) {
171
+ return;
172
+ }
173
+ Object.assign(this, kwargs);
174
+ }
175
+ toApiJson() {
176
+ const toReturn = {};
177
+ if (typeof this.title !== 'undefined') {
178
+ toReturn['title'] = this.title;
179
+ }
180
+ if (typeof this.description !== 'undefined') {
181
+ toReturn['description'] = this.description;
182
+ }
183
+ return toReturn;
184
+ }
185
+ }
186
+ class TKabakovAddToDoItemResponse {
187
+ static fromProto(proto) {
188
+ let m = new TKabakovAddToDoItemResponse();
189
+ m = Object.assign(m, proto);
190
+ if (proto.todoItem) {
191
+ m.todoItem = TKabakovToDoItem.fromProto(proto.todoItem);
192
+ }
193
+ return m;
194
+ }
195
+ constructor(kwargs) {
196
+ if (!kwargs) {
197
+ return;
198
+ }
199
+ Object.assign(this, kwargs);
200
+ }
201
+ toApiJson() {
202
+ const toReturn = {};
203
+ if (typeof this.todoItem !== 'undefined' && this.todoItem !== null) {
204
+ toReturn['todoItem'] = 'toApiJson' in this.todoItem ? this.todoItem.toApiJson() : this.todoItem;
205
+ }
206
+ return toReturn;
207
+ }
208
+ }
209
+ class TKabakovDeleteToDoItemRequest {
210
+ static fromProto(proto) {
211
+ let m = new TKabakovDeleteToDoItemRequest();
212
+ m = Object.assign(m, proto);
213
+ return m;
214
+ }
215
+ constructor(kwargs) {
216
+ if (!kwargs) {
217
+ return;
218
+ }
219
+ Object.assign(this, kwargs);
220
+ }
221
+ toApiJson() {
222
+ const toReturn = {};
223
+ if (typeof this.todoId !== 'undefined') {
224
+ toReturn['todoId'] = this.todoId;
225
+ }
226
+ return toReturn;
227
+ }
228
+ }
229
+ class TKabakovDeleteToDoItemResponse {
230
+ static fromProto(proto) {
231
+ let m = new TKabakovDeleteToDoItemResponse();
232
+ m = Object.assign(m, proto);
233
+ return m;
234
+ }
235
+ constructor(kwargs) {
236
+ if (!kwargs) {
237
+ return;
238
+ }
239
+ Object.assign(this, kwargs);
240
+ }
241
+ toApiJson() {
242
+ const toReturn = {};
243
+ if (typeof this.todoId !== 'undefined') {
244
+ toReturn['todoId'] = this.todoId;
245
+ }
246
+ return toReturn;
247
+ }
248
+ }
249
+ class TKabakovGetToDoItemRequest {
250
+ static fromProto(proto) {
251
+ let m = new TKabakovGetToDoItemRequest();
252
+ m = Object.assign(m, proto);
253
+ return m;
254
+ }
255
+ constructor(kwargs) {
256
+ if (!kwargs) {
257
+ return;
258
+ }
259
+ Object.assign(this, kwargs);
260
+ }
261
+ toApiJson() {
262
+ const toReturn = {};
263
+ if (typeof this.todoId !== 'undefined') {
264
+ toReturn['todoId'] = this.todoId;
265
+ }
266
+ return toReturn;
267
+ }
268
+ }
269
+ class TKabakovGetToDoItemResponse {
270
+ static fromProto(proto) {
271
+ let m = new TKabakovGetToDoItemResponse();
272
+ m = Object.assign(m, proto);
273
+ if (proto.todoItem) {
274
+ m.todoItem = TKabakovToDoItem.fromProto(proto.todoItem);
275
+ }
276
+ return m;
277
+ }
278
+ constructor(kwargs) {
279
+ if (!kwargs) {
280
+ return;
281
+ }
282
+ Object.assign(this, kwargs);
283
+ }
284
+ toApiJson() {
285
+ const toReturn = {};
286
+ if (typeof this.todoItem !== 'undefined' && this.todoItem !== null) {
287
+ toReturn['todoItem'] = 'toApiJson' in this.todoItem ? this.todoItem.toApiJson() : this.todoItem;
288
+ }
289
+ return toReturn;
290
+ }
291
+ }
292
+ class TKabakovListToDoItemsRequest {
293
+ static fromProto(proto) {
294
+ let m = new TKabakovListToDoItemsRequest();
295
+ m = Object.assign(m, proto);
296
+ return m;
297
+ }
298
+ constructor(kwargs) {
299
+ if (!kwargs) {
300
+ return;
301
+ }
302
+ Object.assign(this, kwargs);
303
+ }
304
+ toApiJson() {
305
+ const toReturn = {};
306
+ return toReturn;
307
+ }
308
+ }
309
+ class TKabakovListToDoItemsResponse {
310
+ static fromProto(proto) {
311
+ let m = new TKabakovListToDoItemsResponse();
312
+ m = Object.assign(m, proto);
313
+ if (proto.todoItems) {
314
+ m.todoItems = proto.todoItems.map(TKabakovToDoItem.fromProto);
315
+ }
316
+ return m;
317
+ }
318
+ constructor(kwargs) {
319
+ if (!kwargs) {
320
+ return;
321
+ }
322
+ Object.assign(this, kwargs);
323
+ }
324
+ toApiJson() {
325
+ const toReturn = {};
326
+ if (typeof this.todoItems !== 'undefined' && this.todoItems !== null) {
327
+ toReturn['todoItems'] = 'toApiJson' in this.todoItems ? this.todoItems.toApiJson() : this.todoItems;
328
+ }
329
+ return toReturn;
330
+ }
331
+ }
332
+ class TKabakovToDoId {
333
+ static fromProto(proto) {
334
+ let m = new TKabakovToDoId();
335
+ m = Object.assign(m, proto);
336
+ return m;
337
+ }
338
+ constructor(kwargs) {
339
+ if (!kwargs) {
340
+ return;
341
+ }
342
+ Object.assign(this, kwargs);
343
+ }
344
+ toApiJson() {
345
+ const toReturn = {};
346
+ if (typeof this.todoId !== 'undefined') {
347
+ toReturn['todoId'] = this.todoId;
348
+ }
349
+ return toReturn;
350
+ }
351
+ }
352
+ class TKabakovToDoItem {
353
+ static fromProto(proto) {
354
+ let m = new TKabakovToDoItem();
355
+ m = Object.assign(m, proto);
356
+ return m;
357
+ }
358
+ constructor(kwargs) {
359
+ if (!kwargs) {
360
+ return;
361
+ }
362
+ Object.assign(this, kwargs);
363
+ }
364
+ toApiJson() {
365
+ const toReturn = {};
366
+ if (typeof this.todoId !== 'undefined') {
367
+ toReturn['todoId'] = this.todoId;
368
+ }
369
+ if (typeof this.title !== 'undefined') {
370
+ toReturn['title'] = this.title;
371
+ }
372
+ if (typeof this.description !== 'undefined') {
373
+ toReturn['description'] = this.description;
374
+ }
375
+ if (typeof this.isDone !== 'undefined') {
376
+ toReturn['isDone'] = this.isDone;
377
+ }
378
+ if (typeof this.deleted !== 'undefined') {
379
+ toReturn['deleted'] = this.deleted;
380
+ }
381
+ return toReturn;
382
+ }
383
+ }
384
+ class TKabakovUpdateToDoItemRequest {
385
+ static fromProto(proto) {
386
+ let m = new TKabakovUpdateToDoItemRequest();
387
+ m = Object.assign(m, proto);
388
+ if (proto.todoItem) {
389
+ m.todoItem = TKabakovToDoItem.fromProto(proto.todoItem);
390
+ }
391
+ return m;
392
+ }
393
+ constructor(kwargs) {
394
+ if (!kwargs) {
395
+ return;
396
+ }
397
+ Object.assign(this, kwargs);
398
+ }
399
+ toApiJson() {
400
+ const toReturn = {};
401
+ if (typeof this.todoItem !== 'undefined' && this.todoItem !== null) {
402
+ toReturn['todoItem'] = 'toApiJson' in this.todoItem ? this.todoItem.toApiJson() : this.todoItem;
403
+ }
404
+ return toReturn;
405
+ }
406
+ }
407
+ class TKabakovUpdateToDoItemResponse {
408
+ static fromProto(proto) {
409
+ let m = new TKabakovUpdateToDoItemResponse();
410
+ m = Object.assign(m, proto);
411
+ if (proto.todoItem) {
412
+ m.todoItem = TKabakovToDoItem.fromProto(proto.todoItem);
413
+ }
414
+ return m;
415
+ }
416
+ constructor(kwargs) {
417
+ if (!kwargs) {
418
+ return;
419
+ }
420
+ Object.assign(this, kwargs);
421
+ }
422
+ toApiJson() {
423
+ const toReturn = {};
424
+ if (typeof this.todoItem !== 'undefined' && this.todoItem !== null) {
425
+ toReturn['todoItem'] = 'toApiJson' in this.todoItem ? this.todoItem.toApiJson() : this.todoItem;
426
+ }
427
+ return toReturn;
428
+ }
429
+ }
430
+
431
+ function enumStringToValue$2(enumRef, value) {
432
+ if (typeof value === 'number') {
433
+ return value;
434
+ }
435
+ return enumRef[value];
436
+ }
437
+ class CreateLFossenierTaskRequest {
438
+ static fromProto(proto) {
439
+ let m = new CreateLFossenierTaskRequest();
440
+ m = Object.assign(m, proto);
441
+ return m;
442
+ }
443
+ constructor(kwargs) {
444
+ if (!kwargs) {
445
+ return;
446
+ }
447
+ Object.assign(this, kwargs);
448
+ }
449
+ toApiJson() {
450
+ const toReturn = {};
451
+ if (typeof this.taskName !== 'undefined') {
452
+ toReturn['taskName'] = this.taskName;
453
+ }
454
+ return toReturn;
455
+ }
456
+ }
457
+ class DeleteLFossenierTaskRequest {
458
+ static fromProto(proto) {
459
+ let m = new DeleteLFossenierTaskRequest();
460
+ m = Object.assign(m, proto);
461
+ return m;
462
+ }
463
+ constructor(kwargs) {
464
+ if (!kwargs) {
465
+ return;
466
+ }
467
+ Object.assign(this, kwargs);
468
+ }
469
+ toApiJson() {
470
+ const toReturn = {};
471
+ if (typeof this.taskId !== 'undefined') {
472
+ toReturn['taskId'] = this.taskId;
473
+ }
474
+ if (typeof this.taskName !== 'undefined') {
475
+ toReturn['taskName'] = this.taskName;
476
+ }
477
+ return toReturn;
478
+ }
479
+ }
480
+ class LoadLFossenierTaskRequest {
481
+ static fromProto(proto) {
482
+ let m = new LoadLFossenierTaskRequest();
483
+ m = Object.assign(m, proto);
484
+ return m;
485
+ }
486
+ constructor(kwargs) {
487
+ if (!kwargs) {
488
+ return;
489
+ }
490
+ Object.assign(this, kwargs);
491
+ }
492
+ toApiJson() {
493
+ const toReturn = {};
494
+ if (typeof this.finished !== 'undefined') {
495
+ toReturn['finished'] = this.finished;
496
+ }
497
+ return toReturn;
498
+ }
499
+ }
500
+ class LoadLFossenierTaskResponse {
501
+ static fromProto(proto) {
502
+ let m = new LoadLFossenierTaskResponse();
503
+ m = Object.assign(m, proto);
504
+ if (proto.todoTasks) {
505
+ m.todoTasks = proto.todoTasks.map(TodoTaskMessage.fromProto);
506
+ }
507
+ return m;
508
+ }
509
+ constructor(kwargs) {
510
+ if (!kwargs) {
511
+ return;
512
+ }
513
+ Object.assign(this, kwargs);
514
+ }
515
+ toApiJson() {
516
+ const toReturn = {};
517
+ if (typeof this.todoTasks !== 'undefined' && this.todoTasks !== null) {
518
+ toReturn['todoTasks'] = 'toApiJson' in this.todoTasks ? this.todoTasks.toApiJson() : this.todoTasks;
519
+ }
520
+ return toReturn;
521
+ }
522
+ }
523
+ class TodoTaskMessage {
524
+ static fromProto(proto) {
525
+ let m = new TodoTaskMessage();
526
+ m = Object.assign(m, proto);
527
+ return m;
528
+ }
529
+ constructor(kwargs) {
530
+ if (!kwargs) {
531
+ return;
532
+ }
533
+ Object.assign(this, kwargs);
534
+ }
535
+ toApiJson() {
536
+ const toReturn = {};
537
+ if (typeof this.taskNames !== 'undefined') {
538
+ toReturn['taskNames'] = this.taskNames;
539
+ }
540
+ if (typeof this.finished !== 'undefined') {
541
+ toReturn['finished'] = this.finished;
542
+ }
543
+ if (typeof this.taskId !== 'undefined') {
544
+ toReturn['taskId'] = this.taskId;
545
+ }
546
+ return toReturn;
547
+ }
548
+ }
549
+ class ToggleFinishedLFossenierTaskRequest {
550
+ static fromProto(proto) {
551
+ let m = new ToggleFinishedLFossenierTaskRequest();
552
+ m = Object.assign(m, proto);
553
+ return m;
554
+ }
555
+ constructor(kwargs) {
556
+ if (!kwargs) {
557
+ return;
558
+ }
559
+ Object.assign(this, kwargs);
560
+ }
561
+ toApiJson() {
562
+ const toReturn = {};
563
+ if (typeof this.taskId !== 'undefined') {
564
+ toReturn['taskId'] = this.taskId;
565
+ }
566
+ if (typeof this.taskName !== 'undefined') {
567
+ toReturn['taskName'] = this.taskName;
568
+ }
569
+ if (typeof this.finished !== 'undefined') {
570
+ toReturn['finished'] = this.finished;
571
+ }
572
+ return toReturn;
573
+ }
574
+ }
575
+
576
+ function enumStringToValue$1(enumRef, value) {
577
+ if (typeof value === 'number') {
578
+ return value;
579
+ }
580
+ return enumRef[value];
581
+ }
582
+ class Access {
583
+ static fromProto(proto) {
584
+ let m = new Access();
585
+ m = Object.assign(m, proto);
586
+ return m;
587
+ }
588
+ constructor(kwargs) {
589
+ if (!kwargs) {
590
+ return;
591
+ }
592
+ Object.assign(this, kwargs);
593
+ }
594
+ toApiJson() {
595
+ const toReturn = {};
596
+ if (typeof this.scope !== 'undefined') {
597
+ toReturn['scope'] = this.scope;
598
+ }
599
+ if (typeof this.public !== 'undefined') {
600
+ toReturn['public'] = this.public;
601
+ }
602
+ return toReturn;
603
+ }
604
+ }
605
+
606
+ function enumStringToValue(enumRef, value) {
607
+ if (typeof value === 'number') {
608
+ return value;
609
+ }
610
+ return enumRef[value];
611
+ }
612
+ class AHundalAddTaskRequest {
613
+ static fromProto(proto) {
614
+ let m = new AHundalAddTaskRequest();
615
+ m = Object.assign(m, proto);
616
+ if (proto.newTask) {
617
+ m.newTask = AHundalTask.fromProto(proto.newTask);
618
+ }
619
+ return m;
620
+ }
621
+ constructor(kwargs) {
622
+ if (!kwargs) {
623
+ return;
624
+ }
625
+ Object.assign(this, kwargs);
626
+ }
627
+ toApiJson() {
628
+ const toReturn = {};
629
+ if (typeof this.newTask !== 'undefined' && this.newTask !== null) {
630
+ toReturn['newTask'] = 'toApiJson' in this.newTask ? this.newTask.toApiJson() : this.newTask;
631
+ }
632
+ return toReturn;
633
+ }
634
+ }
635
+ class AHundalAddTaskResponse {
636
+ static fromProto(proto) {
637
+ let m = new AHundalAddTaskResponse();
638
+ m = Object.assign(m, proto);
639
+ return m;
640
+ }
641
+ constructor(kwargs) {
642
+ if (!kwargs) {
643
+ return;
644
+ }
645
+ Object.assign(this, kwargs);
646
+ }
647
+ toApiJson() {
648
+ const toReturn = {};
649
+ if (typeof this.addSuccesfull !== 'undefined') {
650
+ toReturn['addSuccesfull'] = this.addSuccesfull;
651
+ }
652
+ return toReturn;
653
+ }
654
+ }
655
+ class AHundalDeleteTaskRequest {
656
+ static fromProto(proto) {
657
+ let m = new AHundalDeleteTaskRequest();
658
+ m = Object.assign(m, proto);
659
+ return m;
660
+ }
661
+ constructor(kwargs) {
662
+ if (!kwargs) {
663
+ return;
664
+ }
665
+ Object.assign(this, kwargs);
666
+ }
667
+ toApiJson() {
668
+ const toReturn = {};
669
+ if (typeof this.taskId !== 'undefined') {
670
+ toReturn['taskId'] = this.taskId;
671
+ }
672
+ return toReturn;
673
+ }
674
+ }
675
+ class AHundalDeleteTaskResponse {
676
+ static fromProto(proto) {
677
+ let m = new AHundalDeleteTaskResponse();
678
+ m = Object.assign(m, proto);
679
+ return m;
680
+ }
681
+ constructor(kwargs) {
682
+ if (!kwargs) {
683
+ return;
684
+ }
685
+ Object.assign(this, kwargs);
686
+ }
687
+ toApiJson() {
688
+ const toReturn = {};
689
+ if (typeof this.deleteSuccesfull !== 'undefined') {
690
+ toReturn['deleteSuccesfull'] = this.deleteSuccesfull;
691
+ }
692
+ return toReturn;
693
+ }
694
+ }
695
+ class AHundalEditTaskRequest {
696
+ static fromProto(proto) {
697
+ let m = new AHundalEditTaskRequest();
698
+ m = Object.assign(m, proto);
699
+ if (proto.editedTask) {
700
+ m.editedTask = AHundalTask.fromProto(proto.editedTask);
701
+ }
702
+ return m;
703
+ }
704
+ constructor(kwargs) {
705
+ if (!kwargs) {
706
+ return;
707
+ }
708
+ Object.assign(this, kwargs);
709
+ }
710
+ toApiJson() {
711
+ const toReturn = {};
712
+ if (typeof this.editedTask !== 'undefined' && this.editedTask !== null) {
713
+ toReturn['editedTask'] = 'toApiJson' in this.editedTask ? this.editedTask.toApiJson() : this.editedTask;
714
+ }
715
+ return toReturn;
716
+ }
717
+ }
718
+ class AHundalEditTaskResponse {
719
+ static fromProto(proto) {
720
+ let m = new AHundalEditTaskResponse();
721
+ m = Object.assign(m, proto);
722
+ return m;
723
+ }
724
+ constructor(kwargs) {
725
+ if (!kwargs) {
726
+ return;
727
+ }
728
+ Object.assign(this, kwargs);
729
+ }
730
+ toApiJson() {
731
+ const toReturn = {};
732
+ if (typeof this.editSuccesfull !== 'undefined') {
733
+ toReturn['editSuccesfull'] = this.editSuccesfull;
734
+ }
735
+ return toReturn;
736
+ }
737
+ }
738
+ class AHundalGetSpecificTaskRequest {
739
+ static fromProto(proto) {
740
+ let m = new AHundalGetSpecificTaskRequest();
741
+ m = Object.assign(m, proto);
742
+ return m;
743
+ }
744
+ constructor(kwargs) {
745
+ if (!kwargs) {
746
+ return;
747
+ }
748
+ Object.assign(this, kwargs);
749
+ }
750
+ toApiJson() {
751
+ const toReturn = {};
752
+ if (typeof this.taskId !== 'undefined') {
753
+ toReturn['taskId'] = this.taskId;
754
+ }
755
+ return toReturn;
756
+ }
757
+ }
758
+ class AHundalGetSpecificTaskResponse {
759
+ static fromProto(proto) {
760
+ let m = new AHundalGetSpecificTaskResponse();
761
+ m = Object.assign(m, proto);
762
+ if (proto.ahundalTask) {
763
+ m.ahundalTask = AHundalTask.fromProto(proto.ahundalTask);
764
+ }
765
+ return m;
766
+ }
767
+ constructor(kwargs) {
768
+ if (!kwargs) {
769
+ return;
770
+ }
771
+ Object.assign(this, kwargs);
772
+ }
773
+ toApiJson() {
774
+ const toReturn = {};
775
+ if (typeof this.ahundalTask !== 'undefined' && this.ahundalTask !== null) {
776
+ toReturn['ahundalTask'] = 'toApiJson' in this.ahundalTask ? this.ahundalTask.toApiJson() : this.ahundalTask;
777
+ }
778
+ return toReturn;
779
+ }
780
+ }
781
+ class AHundalGetTasksRequest {
782
+ static fromProto(proto) {
783
+ let m = new AHundalGetTasksRequest();
784
+ m = Object.assign(m, proto);
785
+ return m;
786
+ }
787
+ constructor(kwargs) {
788
+ if (!kwargs) {
789
+ return;
790
+ }
791
+ Object.assign(this, kwargs);
792
+ }
793
+ toApiJson() {
794
+ const toReturn = {};
795
+ if (typeof this.taskId !== 'undefined') {
796
+ toReturn['taskId'] = this.taskId;
797
+ }
798
+ return toReturn;
799
+ }
800
+ }
801
+ class AHundalGetTasksResponse {
802
+ static fromProto(proto) {
803
+ let m = new AHundalGetTasksResponse();
804
+ m = Object.assign(m, proto);
805
+ if (proto.ahundalTask) {
806
+ m.ahundalTask = proto.ahundalTask.map(AHundalTask.fromProto);
807
+ }
808
+ return m;
809
+ }
810
+ constructor(kwargs) {
811
+ if (!kwargs) {
812
+ return;
813
+ }
814
+ Object.assign(this, kwargs);
815
+ }
816
+ toApiJson() {
817
+ const toReturn = {};
818
+ if (typeof this.ahundalTask !== 'undefined' && this.ahundalTask !== null) {
819
+ toReturn['ahundalTask'] = 'toApiJson' in this.ahundalTask ? this.ahundalTask.toApiJson() : this.ahundalTask;
820
+ }
821
+ return toReturn;
822
+ }
823
+ }
824
+ class AHundalTask {
825
+ static fromProto(proto) {
826
+ let m = new AHundalTask();
827
+ m = Object.assign(m, proto);
828
+ return m;
829
+ }
830
+ constructor(kwargs) {
831
+ if (!kwargs) {
832
+ return;
833
+ }
834
+ Object.assign(this, kwargs);
835
+ }
836
+ toApiJson() {
837
+ const toReturn = {};
838
+ if (typeof this.id !== 'undefined') {
839
+ toReturn['id'] = this.id;
840
+ }
841
+ if (typeof this.taskTitle !== 'undefined') {
842
+ toReturn['taskTitle'] = this.taskTitle;
843
+ }
844
+ if (typeof this.day !== 'undefined') {
845
+ toReturn['day'] = this.day;
846
+ }
847
+ if (typeof this.month !== 'undefined') {
848
+ toReturn['month'] = this.month;
849
+ }
850
+ if (typeof this.year !== 'undefined') {
851
+ toReturn['year'] = this.year;
852
+ }
853
+ if (typeof this.description !== 'undefined') {
854
+ toReturn['description'] = this.description;
855
+ }
856
+ if (typeof this.completed !== 'undefined') {
857
+ toReturn['completed'] = this.completed;
858
+ }
859
+ if (typeof this.isDeleted !== 'undefined') {
860
+ toReturn['isDeleted'] = this.isDeleted;
861
+ }
862
+ return toReturn;
863
+ }
864
+ }
865
+ class CreateECurrieRequest {
866
+ static fromProto(proto) {
867
+ let m = new CreateECurrieRequest();
868
+ m = Object.assign(m, proto);
869
+ return m;
870
+ }
871
+ constructor(kwargs) {
872
+ if (!kwargs) {
873
+ return;
874
+ }
875
+ Object.assign(this, kwargs);
876
+ }
877
+ toApiJson() {
878
+ const toReturn = {};
879
+ if (typeof this.title !== 'undefined') {
880
+ toReturn['title'] = this.title;
881
+ }
882
+ if (typeof this.dueDate !== 'undefined') {
883
+ toReturn['dueDate'] = this.dueDate;
884
+ }
885
+ if (typeof this.description !== 'undefined') {
886
+ toReturn['description'] = this.description;
887
+ }
888
+ return toReturn;
889
+ }
890
+ }
891
+ class CreateECurrieResponse {
892
+ static fromProto(proto) {
893
+ let m = new CreateECurrieResponse();
894
+ m = Object.assign(m, proto);
895
+ return m;
896
+ }
897
+ constructor(kwargs) {
898
+ if (!kwargs) {
899
+ return;
900
+ }
901
+ Object.assign(this, kwargs);
902
+ }
903
+ toApiJson() {
904
+ const toReturn = {};
905
+ if (typeof this.id !== 'undefined') {
906
+ toReturn['id'] = this.id;
907
+ }
908
+ return toReturn;
909
+ }
910
+ }
911
+ class CreateHdoTodoRequest {
912
+ static fromProto(proto) {
913
+ let m = new CreateHdoTodoRequest();
914
+ m = Object.assign(m, proto);
915
+ if (proto.todo) {
916
+ m.todo = HdoTodoItem.fromProto(proto.todo);
917
+ }
918
+ return m;
919
+ }
920
+ constructor(kwargs) {
921
+ if (!kwargs) {
922
+ return;
923
+ }
924
+ Object.assign(this, kwargs);
925
+ }
926
+ toApiJson() {
927
+ const toReturn = {};
928
+ if (typeof this.todo !== 'undefined' && this.todo !== null) {
929
+ toReturn['todo'] = 'toApiJson' in this.todo ? this.todo.toApiJson() : this.todo;
930
+ }
931
+ return toReturn;
932
+ }
933
+ }
934
+ class CreateHdoTodoResponse {
935
+ static fromProto(proto) {
936
+ let m = new CreateHdoTodoResponse();
937
+ m = Object.assign(m, proto);
938
+ if (proto.todo) {
939
+ m.todo = HdoTodoItem.fromProto(proto.todo);
940
+ }
941
+ return m;
942
+ }
943
+ constructor(kwargs) {
944
+ if (!kwargs) {
945
+ return;
946
+ }
947
+ Object.assign(this, kwargs);
948
+ }
949
+ toApiJson() {
950
+ const toReturn = {};
951
+ if (typeof this.todo !== 'undefined' && this.todo !== null) {
952
+ toReturn['todo'] = 'toApiJson' in this.todo ? this.todo.toApiJson() : this.todo;
953
+ }
954
+ return toReturn;
955
+ }
956
+ }
957
+ class CreateWHorrellTaskRequest {
958
+ static fromProto(proto) {
959
+ let m = new CreateWHorrellTaskRequest();
960
+ m = Object.assign(m, proto);
961
+ return m;
962
+ }
963
+ constructor(kwargs) {
964
+ if (!kwargs) {
965
+ return;
966
+ }
967
+ Object.assign(this, kwargs);
968
+ }
969
+ toApiJson() {
970
+ const toReturn = {};
971
+ if (typeof this.name !== 'undefined') {
972
+ toReturn['name'] = this.name;
973
+ }
974
+ if (typeof this.description !== 'undefined') {
975
+ toReturn['description'] = this.description;
976
+ }
977
+ return toReturn;
978
+ }
979
+ }
980
+ class CreateWHorrellTaskResponse {
981
+ static fromProto(proto) {
982
+ let m = new CreateWHorrellTaskResponse();
983
+ m = Object.assign(m, proto);
984
+ return m;
985
+ }
986
+ constructor(kwargs) {
987
+ if (!kwargs) {
988
+ return;
989
+ }
990
+ Object.assign(this, kwargs);
991
+ }
992
+ toApiJson() {
993
+ const toReturn = {};
994
+ if (typeof this.id !== 'undefined') {
995
+ toReturn['id'] = this.id;
996
+ }
997
+ return toReturn;
998
+ }
999
+ }
1000
+ class DeleteECurrieRequest {
1001
+ static fromProto(proto) {
1002
+ let m = new DeleteECurrieRequest();
1003
+ m = Object.assign(m, proto);
1004
+ return m;
1005
+ }
1006
+ constructor(kwargs) {
1007
+ if (!kwargs) {
1008
+ return;
1009
+ }
1010
+ Object.assign(this, kwargs);
1011
+ }
1012
+ toApiJson() {
1013
+ const toReturn = {};
1014
+ if (typeof this.id !== 'undefined') {
1015
+ toReturn['id'] = this.id;
1016
+ }
1017
+ return toReturn;
1018
+ }
1019
+ }
1020
+ class DeleteHdoTodoRequest {
1021
+ static fromProto(proto) {
1022
+ let m = new DeleteHdoTodoRequest();
1023
+ m = Object.assign(m, proto);
1024
+ return m;
1025
+ }
1026
+ constructor(kwargs) {
1027
+ if (!kwargs) {
1028
+ return;
1029
+ }
1030
+ Object.assign(this, kwargs);
1031
+ }
1032
+ toApiJson() {
1033
+ const toReturn = {};
1034
+ if (typeof this.id !== 'undefined') {
1035
+ toReturn['id'] = this.id;
1036
+ }
1037
+ return toReturn;
1038
+ }
1039
+ }
1040
+ class DeleteHdoTodoResponse {
1041
+ static fromProto(proto) {
1042
+ let m = new DeleteHdoTodoResponse();
1043
+ m = Object.assign(m, proto);
1044
+ return m;
1045
+ }
1046
+ constructor(kwargs) {
1047
+ if (!kwargs) {
1048
+ return;
1049
+ }
1050
+ Object.assign(this, kwargs);
1051
+ }
1052
+ toApiJson() {
1053
+ const toReturn = {};
1054
+ if (typeof this.message !== 'undefined') {
1055
+ toReturn['message'] = this.message;
1056
+ }
1057
+ return toReturn;
1058
+ }
1059
+ }
1060
+ class DeleteWHorrellTaskRequest {
1061
+ static fromProto(proto) {
1062
+ let m = new DeleteWHorrellTaskRequest();
1063
+ m = Object.assign(m, proto);
1064
+ return m;
1065
+ }
1066
+ constructor(kwargs) {
1067
+ if (!kwargs) {
1068
+ return;
1069
+ }
1070
+ Object.assign(this, kwargs);
1071
+ }
1072
+ toApiJson() {
1073
+ const toReturn = {};
1074
+ if (typeof this.id !== 'undefined') {
1075
+ toReturn['id'] = this.id;
1076
+ }
1077
+ return toReturn;
1078
+ }
1079
+ }
1080
+ class ECurrieTodoItem {
1081
+ static fromProto(proto) {
1082
+ let m = new ECurrieTodoItem();
1083
+ m = Object.assign(m, proto);
1084
+ return m;
1085
+ }
1086
+ constructor(kwargs) {
1087
+ if (!kwargs) {
1088
+ return;
1089
+ }
1090
+ Object.assign(this, kwargs);
1091
+ }
1092
+ toApiJson() {
1093
+ const toReturn = {};
1094
+ if (typeof this.id !== 'undefined') {
1095
+ toReturn['id'] = this.id;
1096
+ }
1097
+ if (typeof this.title !== 'undefined') {
1098
+ toReturn['title'] = this.title;
1099
+ }
1100
+ if (typeof this.completed !== 'undefined') {
1101
+ toReturn['completed'] = this.completed;
1102
+ }
1103
+ if (typeof this.dueDate !== 'undefined') {
1104
+ toReturn['dueDate'] = this.dueDate;
1105
+ }
1106
+ if (typeof this.description !== 'undefined') {
1107
+ toReturn['description'] = this.description;
1108
+ }
1109
+ return toReturn;
1110
+ }
1111
+ }
1112
+ class EditWHorrellTaskRequest {
1113
+ static fromProto(proto) {
1114
+ let m = new EditWHorrellTaskRequest();
1115
+ m = Object.assign(m, proto);
1116
+ return m;
1117
+ }
1118
+ constructor(kwargs) {
1119
+ if (!kwargs) {
1120
+ return;
1121
+ }
1122
+ Object.assign(this, kwargs);
1123
+ }
1124
+ toApiJson() {
1125
+ const toReturn = {};
1126
+ if (typeof this.id !== 'undefined') {
1127
+ toReturn['id'] = this.id;
1128
+ }
1129
+ if (typeof this.name !== 'undefined') {
1130
+ toReturn['name'] = this.name;
1131
+ }
1132
+ if (typeof this.description !== 'undefined') {
1133
+ toReturn['description'] = this.description;
1134
+ }
1135
+ if (typeof this.isCompleted !== 'undefined') {
1136
+ toReturn['isCompleted'] = this.isCompleted;
1137
+ }
1138
+ return toReturn;
1139
+ }
1140
+ }
1141
+ class EditWHorrellTaskResponse {
1142
+ static fromProto(proto) {
1143
+ let m = new EditWHorrellTaskResponse();
1144
+ m = Object.assign(m, proto);
1145
+ return m;
1146
+ }
1147
+ constructor(kwargs) {
1148
+ if (!kwargs) {
1149
+ return;
1150
+ }
1151
+ Object.assign(this, kwargs);
1152
+ }
1153
+ toApiJson() {
1154
+ const toReturn = {};
1155
+ if (typeof this.id !== 'undefined') {
1156
+ toReturn['id'] = this.id;
1157
+ }
1158
+ return toReturn;
1159
+ }
1160
+ }
1161
+ class GetECurrieListRequest {
1162
+ static fromProto(proto) {
1163
+ let m = new GetECurrieListRequest();
1164
+ m = Object.assign(m, proto);
1165
+ return m;
1166
+ }
1167
+ constructor(kwargs) {
1168
+ if (!kwargs) {
1169
+ return;
1170
+ }
1171
+ Object.assign(this, kwargs);
1172
+ }
1173
+ toApiJson() {
1174
+ const toReturn = {};
1175
+ if (typeof this.category !== 'undefined') {
1176
+ toReturn['category'] = this.category;
1177
+ }
1178
+ if (typeof this.status !== 'undefined') {
1179
+ toReturn['status'] = this.status;
1180
+ }
1181
+ if (typeof this.id !== 'undefined') {
1182
+ toReturn['id'] = this.id;
1183
+ }
1184
+ return toReturn;
1185
+ }
1186
+ }
1187
+ class GetECurrieListResponse {
1188
+ static fromProto(proto) {
1189
+ let m = new GetECurrieListResponse();
1190
+ m = Object.assign(m, proto);
1191
+ if (proto.todoItems) {
1192
+ m.todoItems = proto.todoItems.map(ECurrieTodoItem.fromProto);
1193
+ }
1194
+ return m;
1195
+ }
1196
+ constructor(kwargs) {
1197
+ if (!kwargs) {
1198
+ return;
1199
+ }
1200
+ Object.assign(this, kwargs);
1201
+ }
1202
+ toApiJson() {
1203
+ const toReturn = {};
1204
+ if (typeof this.todoItems !== 'undefined' && this.todoItems !== null) {
1205
+ toReturn['todoItems'] = 'toApiJson' in this.todoItems ? this.todoItems.toApiJson() : this.todoItems;
1206
+ }
1207
+ return toReturn;
1208
+ }
1209
+ }
1210
+ class GetHdoTodoRequest {
1211
+ static fromProto(proto) {
1212
+ let m = new GetHdoTodoRequest();
1213
+ m = Object.assign(m, proto);
1214
+ return m;
1215
+ }
1216
+ constructor(kwargs) {
1217
+ if (!kwargs) {
1218
+ return;
1219
+ }
1220
+ Object.assign(this, kwargs);
1221
+ }
1222
+ toApiJson() {
1223
+ const toReturn = {};
1224
+ if (typeof this.id !== 'undefined') {
1225
+ toReturn['id'] = this.id;
1226
+ }
1227
+ return toReturn;
1228
+ }
1229
+ }
1230
+ class GetHdoTodoResponse {
1231
+ static fromProto(proto) {
1232
+ let m = new GetHdoTodoResponse();
1233
+ m = Object.assign(m, proto);
1234
+ if (proto.todo) {
1235
+ m.todo = HdoTodoItem.fromProto(proto.todo);
1236
+ }
1237
+ return m;
1238
+ }
1239
+ constructor(kwargs) {
1240
+ if (!kwargs) {
1241
+ return;
1242
+ }
1243
+ Object.assign(this, kwargs);
1244
+ }
1245
+ toApiJson() {
1246
+ const toReturn = {};
1247
+ if (typeof this.todo !== 'undefined' && this.todo !== null) {
1248
+ toReturn['todo'] = 'toApiJson' in this.todo ? this.todo.toApiJson() : this.todo;
1249
+ }
1250
+ return toReturn;
1251
+ }
1252
+ }
1253
+ class GetWHorrellTaskRequest {
1254
+ static fromProto(proto) {
1255
+ let m = new GetWHorrellTaskRequest();
1256
+ m = Object.assign(m, proto);
1257
+ return m;
1258
+ }
1259
+ constructor(kwargs) {
1260
+ if (!kwargs) {
1261
+ return;
1262
+ }
1263
+ Object.assign(this, kwargs);
1264
+ }
1265
+ toApiJson() {
1266
+ const toReturn = {};
1267
+ if (typeof this.id !== 'undefined') {
1268
+ toReturn['id'] = this.id;
1269
+ }
1270
+ return toReturn;
1271
+ }
1272
+ }
1273
+ class GetWHorrellTaskResponse {
1274
+ static fromProto(proto) {
1275
+ let m = new GetWHorrellTaskResponse();
1276
+ m = Object.assign(m, proto);
1277
+ if (proto.task) {
1278
+ m.task = WHorrellTask.fromProto(proto.task);
1279
+ }
1280
+ return m;
1281
+ }
1282
+ constructor(kwargs) {
1283
+ if (!kwargs) {
1284
+ return;
1285
+ }
1286
+ Object.assign(this, kwargs);
1287
+ }
1288
+ toApiJson() {
1289
+ const toReturn = {};
1290
+ if (typeof this.task !== 'undefined' && this.task !== null) {
1291
+ toReturn['task'] = 'toApiJson' in this.task ? this.task.toApiJson() : this.task;
1292
+ }
1293
+ return toReturn;
1294
+ }
1295
+ }
1296
+ class HdoTodoItem {
1297
+ static fromProto(proto) {
1298
+ let m = new HdoTodoItem();
1299
+ m = Object.assign(m, proto);
1300
+ return m;
1301
+ }
1302
+ constructor(kwargs) {
1303
+ if (!kwargs) {
1304
+ return;
1305
+ }
1306
+ Object.assign(this, kwargs);
1307
+ }
1308
+ toApiJson() {
1309
+ const toReturn = {};
1310
+ if (typeof this.id !== 'undefined') {
1311
+ toReturn['id'] = this.id;
1312
+ }
1313
+ if (typeof this.title !== 'undefined') {
1314
+ toReturn['title'] = this.title;
1315
+ }
1316
+ if (typeof this.description !== 'undefined') {
1317
+ toReturn['description'] = this.description;
1318
+ }
1319
+ if (typeof this.completed !== 'undefined') {
1320
+ toReturn['completed'] = this.completed;
1321
+ }
1322
+ if (typeof this.deleted !== 'undefined') {
1323
+ toReturn['deleted'] = this.deleted;
1324
+ }
1325
+ return toReturn;
1326
+ }
1327
+ }
1328
+ class IOlaleyeCreateTaskRequest {
1329
+ static fromProto(proto) {
1330
+ let m = new IOlaleyeCreateTaskRequest();
1331
+ m = Object.assign(m, proto);
1332
+ return m;
1333
+ }
1334
+ constructor(kwargs) {
1335
+ if (!kwargs) {
1336
+ return;
1337
+ }
1338
+ Object.assign(this, kwargs);
1339
+ }
1340
+ toApiJson() {
1341
+ const toReturn = {};
1342
+ if (typeof this.name !== 'undefined') {
1343
+ toReturn['name'] = this.name;
1344
+ }
1345
+ if (typeof this.description !== 'undefined') {
1346
+ toReturn['description'] = this.description;
1347
+ }
1348
+ return toReturn;
1349
+ }
1350
+ }
1351
+ class IOlaleyeCreateTaskResponse {
1352
+ static fromProto(proto) {
1353
+ let m = new IOlaleyeCreateTaskResponse();
1354
+ m = Object.assign(m, proto);
1355
+ if (proto.id) {
1356
+ m.id = parseInt(proto.id, 10);
1357
+ }
1358
+ return m;
1359
+ }
1360
+ constructor(kwargs) {
1361
+ if (!kwargs) {
1362
+ return;
1363
+ }
1364
+ Object.assign(this, kwargs);
1365
+ }
1366
+ toApiJson() {
1367
+ const toReturn = {};
1368
+ if (typeof this.id !== 'undefined') {
1369
+ toReturn['id'] = this.id;
1370
+ }
1371
+ return toReturn;
1372
+ }
1373
+ }
1374
+ class IOlaleyeDeleteTaskRequest {
1375
+ static fromProto(proto) {
1376
+ let m = new IOlaleyeDeleteTaskRequest();
1377
+ m = Object.assign(m, proto);
1378
+ return m;
1379
+ }
1380
+ constructor(kwargs) {
1381
+ if (!kwargs) {
1382
+ return;
1383
+ }
1384
+ Object.assign(this, kwargs);
1385
+ }
1386
+ toApiJson() {
1387
+ const toReturn = {};
1388
+ if (typeof this.id !== 'undefined') {
1389
+ toReturn['id'] = this.id;
1390
+ }
1391
+ return toReturn;
1392
+ }
1393
+ }
1394
+ class IOlaleyeDeleteTaskResponse {
1395
+ static fromProto(proto) {
1396
+ let m = new IOlaleyeDeleteTaskResponse();
1397
+ m = Object.assign(m, proto);
1398
+ return m;
1399
+ }
1400
+ constructor(kwargs) {
1401
+ if (!kwargs) {
1402
+ return;
1403
+ }
1404
+ Object.assign(this, kwargs);
1405
+ }
1406
+ toApiJson() {
1407
+ const toReturn = {};
1408
+ return toReturn;
1409
+ }
1410
+ }
1411
+ class IOlaleyeEditTaskRequest {
1412
+ static fromProto(proto) {
1413
+ let m = new IOlaleyeEditTaskRequest();
1414
+ m = Object.assign(m, proto);
1415
+ if (proto.task) {
1416
+ m.task = IOlaleyeTask.fromProto(proto.task);
1417
+ }
1418
+ return m;
1419
+ }
1420
+ constructor(kwargs) {
1421
+ if (!kwargs) {
1422
+ return;
1423
+ }
1424
+ Object.assign(this, kwargs);
1425
+ }
1426
+ toApiJson() {
1427
+ const toReturn = {};
1428
+ if (typeof this.task !== 'undefined' && this.task !== null) {
1429
+ toReturn['task'] = 'toApiJson' in this.task ? this.task.toApiJson() : this.task;
1430
+ }
1431
+ return toReturn;
1432
+ }
1433
+ }
1434
+ class IOlaleyeEditTaskResponse {
1435
+ static fromProto(proto) {
1436
+ let m = new IOlaleyeEditTaskResponse();
1437
+ m = Object.assign(m, proto);
1438
+ if (proto.task) {
1439
+ m.task = IOlaleyeTask.fromProto(proto.task);
1440
+ }
1441
+ return m;
1442
+ }
1443
+ constructor(kwargs) {
1444
+ if (!kwargs) {
1445
+ return;
1446
+ }
1447
+ Object.assign(this, kwargs);
1448
+ }
1449
+ toApiJson() {
1450
+ const toReturn = {};
1451
+ if (typeof this.task !== 'undefined' && this.task !== null) {
1452
+ toReturn['task'] = 'toApiJson' in this.task ? this.task.toApiJson() : this.task;
1453
+ }
1454
+ return toReturn;
1455
+ }
1456
+ }
1457
+ class IOlaleyeGetTaskRequest {
1458
+ static fromProto(proto) {
1459
+ let m = new IOlaleyeGetTaskRequest();
1460
+ m = Object.assign(m, proto);
1461
+ return m;
1462
+ }
1463
+ constructor(kwargs) {
1464
+ if (!kwargs) {
1465
+ return;
1466
+ }
1467
+ Object.assign(this, kwargs);
1468
+ }
1469
+ toApiJson() {
1470
+ const toReturn = {};
1471
+ if (typeof this.id !== 'undefined') {
1472
+ toReturn['id'] = this.id;
1473
+ }
1474
+ return toReturn;
1475
+ }
1476
+ }
1477
+ class IOlaleyeGetTaskResponse {
1478
+ static fromProto(proto) {
1479
+ let m = new IOlaleyeGetTaskResponse();
1480
+ m = Object.assign(m, proto);
1481
+ if (proto.task) {
1482
+ m.task = IOlaleyeTask.fromProto(proto.task);
1483
+ }
1484
+ return m;
1485
+ }
1486
+ constructor(kwargs) {
1487
+ if (!kwargs) {
1488
+ return;
1489
+ }
1490
+ Object.assign(this, kwargs);
1491
+ }
1492
+ toApiJson() {
1493
+ const toReturn = {};
1494
+ if (typeof this.task !== 'undefined' && this.task !== null) {
1495
+ toReturn['task'] = 'toApiJson' in this.task ? this.task.toApiJson() : this.task;
1496
+ }
1497
+ return toReturn;
1498
+ }
1499
+ }
1500
+ class IOlaleyeListTasksRequest {
1501
+ static fromProto(proto) {
1502
+ let m = new IOlaleyeListTasksRequest();
1503
+ m = Object.assign(m, proto);
1504
+ return m;
1505
+ }
1506
+ constructor(kwargs) {
1507
+ if (!kwargs) {
1508
+ return;
1509
+ }
1510
+ Object.assign(this, kwargs);
1511
+ }
1512
+ toApiJson() {
1513
+ const toReturn = {};
1514
+ return toReturn;
1515
+ }
1516
+ }
1517
+ class IOlaleyeListTasksResponse {
1518
+ static fromProto(proto) {
1519
+ let m = new IOlaleyeListTasksResponse();
1520
+ m = Object.assign(m, proto);
1521
+ if (proto.allTasks) {
1522
+ m.allTasks = proto.allTasks.map(IOlaleyeTask.fromProto);
1523
+ }
1524
+ return m;
1525
+ }
1526
+ constructor(kwargs) {
1527
+ if (!kwargs) {
1528
+ return;
1529
+ }
1530
+ Object.assign(this, kwargs);
1531
+ }
1532
+ toApiJson() {
1533
+ const toReturn = {};
1534
+ if (typeof this.allTasks !== 'undefined' && this.allTasks !== null) {
1535
+ toReturn['allTasks'] = 'toApiJson' in this.allTasks ? this.allTasks.toApiJson() : this.allTasks;
1536
+ }
1537
+ return toReturn;
1538
+ }
1539
+ }
1540
+ class IOlaleyeTask {
1541
+ static fromProto(proto) {
1542
+ let m = new IOlaleyeTask();
1543
+ m = Object.assign(m, proto);
1544
+ return m;
1545
+ }
1546
+ constructor(kwargs) {
1547
+ if (!kwargs) {
1548
+ return;
1549
+ }
1550
+ Object.assign(this, kwargs);
1551
+ }
1552
+ toApiJson() {
1553
+ const toReturn = {};
1554
+ if (typeof this.id !== 'undefined') {
1555
+ toReturn['id'] = this.id;
1556
+ }
1557
+ if (typeof this.name !== 'undefined') {
1558
+ toReturn['name'] = this.name;
1559
+ }
1560
+ if (typeof this.description !== 'undefined') {
1561
+ toReturn['description'] = this.description;
1562
+ }
1563
+ if (typeof this.deleted !== 'undefined') {
1564
+ toReturn['deleted'] = this.deleted;
1565
+ }
1566
+ if (typeof this.isDone !== 'undefined') {
1567
+ toReturn['isDone'] = this.isDone;
1568
+ }
1569
+ return toReturn;
1570
+ }
1571
+ }
1572
+ class ListHdoTodoRequest {
1573
+ static fromProto(proto) {
1574
+ let m = new ListHdoTodoRequest();
1575
+ m = Object.assign(m, proto);
1576
+ return m;
1577
+ }
1578
+ constructor(kwargs) {
1579
+ if (!kwargs) {
1580
+ return;
1581
+ }
1582
+ Object.assign(this, kwargs);
1583
+ }
1584
+ toApiJson() {
1585
+ const toReturn = {};
1586
+ return toReturn;
1587
+ }
1588
+ }
1589
+ class ListHdoTodoResponse {
1590
+ static fromProto(proto) {
1591
+ let m = new ListHdoTodoResponse();
1592
+ m = Object.assign(m, proto);
1593
+ if (proto.todos) {
1594
+ m.todos = proto.todos.map(HdoTodoItem.fromProto);
1595
+ }
1596
+ return m;
1597
+ }
1598
+ constructor(kwargs) {
1599
+ if (!kwargs) {
1600
+ return;
1601
+ }
1602
+ Object.assign(this, kwargs);
1603
+ }
1604
+ toApiJson() {
1605
+ const toReturn = {};
1606
+ if (typeof this.todos !== 'undefined' && this.todos !== null) {
1607
+ toReturn['todos'] = 'toApiJson' in this.todos ? this.todos.toApiJson() : this.todos;
1608
+ }
1609
+ return toReturn;
1610
+ }
1611
+ }
1612
+ class ListWHorrellTasksRequest {
1613
+ static fromProto(proto) {
1614
+ let m = new ListWHorrellTasksRequest();
1615
+ m = Object.assign(m, proto);
1616
+ return m;
1617
+ }
1618
+ constructor(kwargs) {
1619
+ if (!kwargs) {
1620
+ return;
1621
+ }
1622
+ Object.assign(this, kwargs);
1623
+ }
1624
+ toApiJson() {
1625
+ const toReturn = {};
1626
+ return toReturn;
1627
+ }
1628
+ }
1629
+ class ListWHorrellTasksResponse {
1630
+ static fromProto(proto) {
1631
+ let m = new ListWHorrellTasksResponse();
1632
+ m = Object.assign(m, proto);
1633
+ if (proto.tasks) {
1634
+ m.tasks = proto.tasks.map(WHorrellTask.fromProto);
1635
+ }
1636
+ return m;
1637
+ }
1638
+ constructor(kwargs) {
1639
+ if (!kwargs) {
1640
+ return;
1641
+ }
1642
+ Object.assign(this, kwargs);
1643
+ }
1644
+ toApiJson() {
1645
+ const toReturn = {};
1646
+ if (typeof this.tasks !== 'undefined' && this.tasks !== null) {
1647
+ toReturn['tasks'] = 'toApiJson' in this.tasks ? this.tasks.toApiJson() : this.tasks;
1648
+ }
1649
+ return toReturn;
1650
+ }
1651
+ }
1652
+ class MMugotCreateTaskRequest {
1653
+ static fromProto(proto) {
1654
+ let m = new MMugotCreateTaskRequest();
1655
+ m = Object.assign(m, proto);
1656
+ if (proto.task) {
1657
+ m.task = MMugotTask.fromProto(proto.task);
1658
+ }
1659
+ return m;
1660
+ }
1661
+ constructor(kwargs) {
1662
+ if (!kwargs) {
1663
+ return;
1664
+ }
1665
+ Object.assign(this, kwargs);
1666
+ }
1667
+ toApiJson() {
1668
+ const toReturn = {};
1669
+ if (typeof this.task !== 'undefined' && this.task !== null) {
1670
+ toReturn['task'] = 'toApiJson' in this.task ? this.task.toApiJson() : this.task;
1671
+ }
1672
+ return toReturn;
1673
+ }
1674
+ }
1675
+ class MMugotCreateTaskResponse {
1676
+ static fromProto(proto) {
1677
+ let m = new MMugotCreateTaskResponse();
1678
+ m = Object.assign(m, proto);
1679
+ return m;
1680
+ }
1681
+ constructor(kwargs) {
1682
+ if (!kwargs) {
1683
+ return;
1684
+ }
1685
+ Object.assign(this, kwargs);
1686
+ }
1687
+ toApiJson() {
1688
+ const toReturn = {};
1689
+ if (typeof this.isCreated !== 'undefined') {
1690
+ toReturn['isCreated'] = this.isCreated;
1691
+ }
1692
+ return toReturn;
1693
+ }
1694
+ }
1695
+ class MMugotDeleteTaskRequest {
1696
+ static fromProto(proto) {
1697
+ let m = new MMugotDeleteTaskRequest();
10
1698
  m = Object.assign(m, proto);
11
1699
  return m;
12
1700
  }
@@ -18,16 +1706,15 @@ class FieldMask {
18
1706
  }
19
1707
  toApiJson() {
20
1708
  const toReturn = {};
21
- if (typeof this.paths !== 'undefined') {
22
- toReturn['paths'] = this.paths;
1709
+ if (typeof this.taskId !== 'undefined') {
1710
+ toReturn['taskId'] = this.taskId;
23
1711
  }
24
1712
  return toReturn;
25
1713
  }
26
1714
  }
27
-
28
- class GetBusinessQuestionsAnswersRequest {
1715
+ class MMugotGetTaskRequest {
29
1716
  static fromProto(proto) {
30
- let m = new GetBusinessQuestionsAnswersRequest();
1717
+ let m = new MMugotGetTaskRequest();
31
1718
  m = Object.assign(m, proto);
32
1719
  return m;
33
1720
  }
@@ -39,18 +1726,18 @@ class GetBusinessQuestionsAnswersRequest {
39
1726
  }
40
1727
  toApiJson() {
41
1728
  const toReturn = {};
42
- if (typeof this.businessId !== 'undefined') {
43
- toReturn['businessId'] = this.businessId;
1729
+ if (typeof this.taskId !== 'undefined') {
1730
+ toReturn['taskId'] = this.taskId;
44
1731
  }
45
1732
  return toReturn;
46
1733
  }
47
1734
  }
48
- class GetBusinessQuestionsAnswersResponse {
1735
+ class MMugotGetTaskResponse {
49
1736
  static fromProto(proto) {
50
- let m = new GetBusinessQuestionsAnswersResponse();
1737
+ let m = new MMugotGetTaskResponse();
51
1738
  m = Object.assign(m, proto);
52
- if (proto.answers) {
53
- m.answers = QuestionsAnswers.fromProto(proto.answers);
1739
+ if (proto.task) {
1740
+ m.task = MMugotTask.fromProto(proto.task);
54
1741
  }
55
1742
  return m;
56
1743
  }
@@ -62,18 +1749,15 @@ class GetBusinessQuestionsAnswersResponse {
62
1749
  }
63
1750
  toApiJson() {
64
1751
  const toReturn = {};
65
- if (typeof this.businessId !== 'undefined') {
66
- toReturn['businessId'] = this.businessId;
67
- }
68
- if (typeof this.answers !== 'undefined' && this.answers !== null) {
69
- toReturn['answers'] = 'toApiJson' in this.answers ? this.answers.toApiJson() : this.answers;
1752
+ if (typeof this.task !== 'undefined' && this.task !== null) {
1753
+ toReturn['task'] = 'toApiJson' in this.task ? this.task.toApiJson() : this.task;
70
1754
  }
71
1755
  return toReturn;
72
1756
  }
73
1757
  }
74
- class QuestionsAnswers {
1758
+ class MMugotListTasksRequest {
75
1759
  static fromProto(proto) {
76
- let m = new QuestionsAnswers();
1760
+ let m = new MMugotListTasksRequest();
77
1761
  m = Object.assign(m, proto);
78
1762
  return m;
79
1763
  }
@@ -85,24 +1769,15 @@ class QuestionsAnswers {
85
1769
  }
86
1770
  toApiJson() {
87
1771
  const toReturn = {};
88
- if (typeof this.whatIsBestTimeOfDayToContact !== 'undefined') {
89
- toReturn['whatIsBestTimeOfDayToContact'] = this.whatIsBestTimeOfDayToContact;
90
- }
91
- if (typeof this.isThisPlaceWheelchairAccessible !== 'undefined') {
92
- toReturn['isThisPlaceWheelchairAccessible'] = this.isThisPlaceWheelchairAccessible;
93
- }
94
1772
  return toReturn;
95
1773
  }
96
1774
  }
97
- class ReplaceBusinessQuestionsAnswersRequest {
1775
+ class MMugotListTasksResponse {
98
1776
  static fromProto(proto) {
99
- let m = new ReplaceBusinessQuestionsAnswersRequest();
1777
+ let m = new MMugotListTasksResponse();
100
1778
  m = Object.assign(m, proto);
101
- if (proto.fieldMask) {
102
- m.fieldMask = FieldMask.fromProto(proto.fieldMask);
103
- }
104
- if (proto.answers) {
105
- m.answers = QuestionsAnswers.fromProto(proto.answers);
1779
+ if (proto.tasks) {
1780
+ m.tasks = proto.tasks.map(MMugotTask.fromProto);
106
1781
  }
107
1782
  return m;
108
1783
  }
@@ -114,23 +1789,19 @@ class ReplaceBusinessQuestionsAnswersRequest {
114
1789
  }
115
1790
  toApiJson() {
116
1791
  const toReturn = {};
117
- if (typeof this.businessId !== 'undefined') {
118
- toReturn['businessId'] = this.businessId;
119
- }
120
- if (typeof this.fieldMask !== 'undefined' && this.fieldMask !== null) {
121
- toReturn['fieldMask'] = 'toApiJson' in this.fieldMask ? this.fieldMask.toApiJson() : this.fieldMask;
122
- }
123
- if (typeof this.answers !== 'undefined' && this.answers !== null) {
124
- toReturn['answers'] = 'toApiJson' in this.answers ? this.answers.toApiJson() : this.answers;
1792
+ if (typeof this.tasks !== 'undefined' && this.tasks !== null) {
1793
+ toReturn['tasks'] = 'toApiJson' in this.tasks ? this.tasks.toApiJson() : this.tasks;
125
1794
  }
126
1795
  return toReturn;
127
1796
  }
128
1797
  }
129
-
130
- class CreateLFossenierTaskRequest {
1798
+ class MMugotTask {
131
1799
  static fromProto(proto) {
132
- let m = new CreateLFossenierTaskRequest();
1800
+ let m = new MMugotTask();
133
1801
  m = Object.assign(m, proto);
1802
+ if (proto.dueDate) {
1803
+ m.dueDate = new Date(proto.dueDate);
1804
+ }
134
1805
  return m;
135
1806
  }
136
1807
  constructor(kwargs) {
@@ -144,12 +1815,27 @@ class CreateLFossenierTaskRequest {
144
1815
  if (typeof this.taskName !== 'undefined') {
145
1816
  toReturn['taskName'] = this.taskName;
146
1817
  }
1818
+ if (typeof this.taskDescription !== 'undefined') {
1819
+ toReturn['taskDescription'] = this.taskDescription;
1820
+ }
1821
+ if (typeof this.isComplete !== 'undefined') {
1822
+ toReturn['isComplete'] = this.isComplete;
1823
+ }
1824
+ if (typeof this.taskId !== 'undefined') {
1825
+ toReturn['taskId'] = this.taskId;
1826
+ }
1827
+ if (typeof this.isDeleted !== 'undefined') {
1828
+ toReturn['isDeleted'] = this.isDeleted;
1829
+ }
1830
+ if (typeof this.dueDate !== 'undefined' && this.dueDate !== null) {
1831
+ toReturn['dueDate'] = 'toApiJson' in this.dueDate ? this.dueDate.toApiJson() : this.dueDate;
1832
+ }
147
1833
  return toReturn;
148
1834
  }
149
1835
  }
150
- class DeleteLFossenierTaskRequest {
1836
+ class MMugotUpdateTaskRequest {
151
1837
  static fromProto(proto) {
152
- let m = new DeleteLFossenierTaskRequest();
1838
+ let m = new MMugotUpdateTaskRequest();
153
1839
  m = Object.assign(m, proto);
154
1840
  return m;
155
1841
  }
@@ -164,15 +1850,12 @@ class DeleteLFossenierTaskRequest {
164
1850
  if (typeof this.taskId !== 'undefined') {
165
1851
  toReturn['taskId'] = this.taskId;
166
1852
  }
167
- if (typeof this.taskName !== 'undefined') {
168
- toReturn['taskName'] = this.taskName;
169
- }
170
1853
  return toReturn;
171
1854
  }
172
1855
  }
173
- class FinishLFossenierTaskRequest {
1856
+ class MMugotUpdateTaskResponse {
174
1857
  static fromProto(proto) {
175
- let m = new FinishLFossenierTaskRequest();
1858
+ let m = new MMugotUpdateTaskResponse();
176
1859
  m = Object.assign(m, proto);
177
1860
  return m;
178
1861
  }
@@ -184,22 +1867,16 @@ class FinishLFossenierTaskRequest {
184
1867
  }
185
1868
  toApiJson() {
186
1869
  const toReturn = {};
187
- if (typeof this.taskId !== 'undefined') {
188
- toReturn['taskId'] = this.taskId;
189
- }
190
- if (typeof this.taskName !== 'undefined') {
191
- toReturn['taskName'] = this.taskName;
192
- }
193
- if (typeof this.finished !== 'undefined') {
194
- toReturn['finished'] = this.finished;
195
- }
196
1870
  return toReturn;
197
1871
  }
198
1872
  }
199
- class LoadLFossenierTaskRequest {
1873
+ class UpdateHdoTodoRequest {
200
1874
  static fromProto(proto) {
201
- let m = new LoadLFossenierTaskRequest();
1875
+ let m = new UpdateHdoTodoRequest();
202
1876
  m = Object.assign(m, proto);
1877
+ if (proto.todo) {
1878
+ m.todo = HdoTodoItem.fromProto(proto.todo);
1879
+ }
203
1880
  return m;
204
1881
  }
205
1882
  constructor(kwargs) {
@@ -210,18 +1887,18 @@ class LoadLFossenierTaskRequest {
210
1887
  }
211
1888
  toApiJson() {
212
1889
  const toReturn = {};
213
- if (typeof this.finished !== 'undefined') {
214
- toReturn['finished'] = this.finished;
1890
+ if (typeof this.todo !== 'undefined' && this.todo !== null) {
1891
+ toReturn['todo'] = 'toApiJson' in this.todo ? this.todo.toApiJson() : this.todo;
215
1892
  }
216
1893
  return toReturn;
217
1894
  }
218
1895
  }
219
- class LoadLFossenierTaskResponse {
1896
+ class UpdateHdoTodoResponse {
220
1897
  static fromProto(proto) {
221
- let m = new LoadLFossenierTaskResponse();
1898
+ let m = new UpdateHdoTodoResponse();
222
1899
  m = Object.assign(m, proto);
223
- if (proto.todoTasks) {
224
- m.todoTasks = proto.todoTasks.map(TodoTaskMessage.fromProto);
1900
+ if (proto.todo) {
1901
+ m.todo = HdoTodoItem.fromProto(proto.todo);
225
1902
  }
226
1903
  return m;
227
1904
  }
@@ -233,15 +1910,15 @@ class LoadLFossenierTaskResponse {
233
1910
  }
234
1911
  toApiJson() {
235
1912
  const toReturn = {};
236
- if (typeof this.todoTasks !== 'undefined' && this.todoTasks !== null) {
237
- toReturn['todoTasks'] = 'toApiJson' in this.todoTasks ? this.todoTasks.toApiJson() : this.todoTasks;
1913
+ if (typeof this.todo !== 'undefined' && this.todo !== null) {
1914
+ toReturn['todo'] = 'toApiJson' in this.todo ? this.todo.toApiJson() : this.todo;
238
1915
  }
239
1916
  return toReturn;
240
1917
  }
241
1918
  }
242
- class TodoTaskMessage {
1919
+ class WHorrellTask {
243
1920
  static fromProto(proto) {
244
- let m = new TodoTaskMessage();
1921
+ let m = new WHorrellTask();
245
1922
  m = Object.assign(m, proto);
246
1923
  return m;
247
1924
  }
@@ -253,14 +1930,20 @@ class TodoTaskMessage {
253
1930
  }
254
1931
  toApiJson() {
255
1932
  const toReturn = {};
256
- if (typeof this.taskNames !== 'undefined') {
257
- toReturn['taskNames'] = this.taskNames;
1933
+ if (typeof this.id !== 'undefined') {
1934
+ toReturn['id'] = this.id;
258
1935
  }
259
- if (typeof this.finished !== 'undefined') {
260
- toReturn['finished'] = this.finished;
1936
+ if (typeof this.name !== 'undefined') {
1937
+ toReturn['name'] = this.name;
261
1938
  }
262
- if (typeof this.taskId !== 'undefined') {
263
- toReturn['taskId'] = this.taskId;
1939
+ if (typeof this.description !== 'undefined') {
1940
+ toReturn['description'] = this.description;
1941
+ }
1942
+ if (typeof this.isCompleted !== 'undefined') {
1943
+ toReturn['isCompleted'] = this.isCompleted;
1944
+ }
1945
+ if (typeof this.isDeleted !== 'undefined') {
1946
+ toReturn['isDeleted'] = this.isDeleted;
264
1947
  }
265
1948
  return toReturn;
266
1949
  }
@@ -292,6 +1975,54 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImpor
292
1975
  args: [{ providedIn: 'root' }]
293
1976
  }] });
294
1977
 
1978
+ // *********************************
1979
+ class AHundalToDoProjectApiService {
1980
+ constructor(http, hostService) {
1981
+ this.http = http;
1982
+ this.hostService = hostService;
1983
+ this._host = this.hostService.hostWithScheme;
1984
+ }
1985
+ apiOptions() {
1986
+ return {
1987
+ headers: new HttpHeaders({
1988
+ 'Content-Type': 'application/json'
1989
+ }),
1990
+ withCredentials: true
1991
+ };
1992
+ }
1993
+ aHundalGetTasks(r) {
1994
+ const request = (r.toApiJson) ? r : new AHundalGetTasksRequest(r);
1995
+ return this.http.post(this._host + "/developertraining.v1.AHundalToDoProject/AHundalGetTasks", request.toApiJson(), this.apiOptions())
1996
+ .pipe(map(resp => AHundalGetTasksResponse.fromProto(resp)));
1997
+ }
1998
+ aHundalAddTask(r) {
1999
+ const request = (r.toApiJson) ? r : new AHundalAddTaskRequest(r);
2000
+ return this.http.post(this._host + "/developertraining.v1.AHundalToDoProject/AHundalAddTask", request.toApiJson(), this.apiOptions())
2001
+ .pipe(map(resp => AHundalAddTaskResponse.fromProto(resp)));
2002
+ }
2003
+ aHundalEditTask(r) {
2004
+ const request = (r.toApiJson) ? r : new AHundalEditTaskRequest(r);
2005
+ return this.http.post(this._host + "/developertraining.v1.AHundalToDoProject/AHundalEditTask", request.toApiJson(), this.apiOptions())
2006
+ .pipe(map(resp => AHundalEditTaskResponse.fromProto(resp)));
2007
+ }
2008
+ aHundalDeleteTask(r) {
2009
+ const request = (r.toApiJson) ? r : new AHundalDeleteTaskRequest(r);
2010
+ return this.http.post(this._host + "/developertraining.v1.AHundalToDoProject/AHundalDeleteTask", request.toApiJson(), this.apiOptions())
2011
+ .pipe(map(resp => AHundalDeleteTaskResponse.fromProto(resp)));
2012
+ }
2013
+ aHundalGetSpecificTask(r) {
2014
+ const request = (r.toApiJson) ? r : new AHundalGetSpecificTaskRequest(r);
2015
+ return this.http.post(this._host + "/developertraining.v1.AHundalToDoProject/AHundalGetSpecificTask", request.toApiJson(), this.apiOptions())
2016
+ .pipe(map(resp => AHundalGetSpecificTaskResponse.fromProto(resp)));
2017
+ }
2018
+ }
2019
+ AHundalToDoProjectApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: AHundalToDoProjectApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
2020
+ AHundalToDoProjectApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: AHundalToDoProjectApiService, providedIn: 'root' });
2021
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: AHundalToDoProjectApiService, decorators: [{
2022
+ type: Injectable,
2023
+ args: [{ providedIn: 'root' }]
2024
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
2025
+
295
2026
  // *********************************
296
2027
  class BusinessQAApiService {
297
2028
  constructor(http, hostService) {
@@ -324,6 +2055,138 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImpor
324
2055
  args: [{ providedIn: 'root' }]
325
2056
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
326
2057
 
2058
+ // *********************************
2059
+ class ECurrieListApiService {
2060
+ constructor(http, hostService) {
2061
+ this.http = http;
2062
+ this.hostService = hostService;
2063
+ this._host = this.hostService.hostWithScheme;
2064
+ }
2065
+ apiOptions() {
2066
+ return {
2067
+ headers: new HttpHeaders({
2068
+ 'Content-Type': 'application/json'
2069
+ }),
2070
+ withCredentials: true
2071
+ };
2072
+ }
2073
+ getECurrieList(r) {
2074
+ const request = (r.toApiJson) ? r : new GetECurrieListRequest(r);
2075
+ return this.http.post(this._host + "/developertraining.v1.ECurrieList/GetECurrieList", request.toApiJson(), this.apiOptions())
2076
+ .pipe(map(resp => GetECurrieListResponse.fromProto(resp)));
2077
+ }
2078
+ createECurrieList(r) {
2079
+ const request = (r.toApiJson) ? r : new CreateECurrieRequest(r);
2080
+ return this.http.post(this._host + "/developertraining.v1.ECurrieList/CreateECurrieList", request.toApiJson(), this.apiOptions())
2081
+ .pipe(map(resp => CreateECurrieResponse.fromProto(resp)));
2082
+ }
2083
+ delete(r) {
2084
+ const request = (r.toApiJson) ? r : new DeleteECurrieRequest(r);
2085
+ return this.http.post(this._host + "/developertraining.v1.ECurrieList/Delete", request.toApiJson(), Object.assign(Object.assign({}, this.apiOptions()), { observe: 'response' }));
2086
+ }
2087
+ }
2088
+ ECurrieListApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ECurrieListApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
2089
+ ECurrieListApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ECurrieListApiService, providedIn: 'root' });
2090
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ECurrieListApiService, decorators: [{
2091
+ type: Injectable,
2092
+ args: [{ providedIn: 'root' }]
2093
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
2094
+
2095
+ // *********************************
2096
+ class HdoTodoApiService {
2097
+ constructor(http, hostService) {
2098
+ this.http = http;
2099
+ this.hostService = hostService;
2100
+ this._host = this.hostService.hostWithScheme;
2101
+ }
2102
+ apiOptions() {
2103
+ return {
2104
+ headers: new HttpHeaders({
2105
+ 'Content-Type': 'application/json'
2106
+ }),
2107
+ withCredentials: true
2108
+ };
2109
+ }
2110
+ createHdoTodo(r) {
2111
+ const request = (r.toApiJson) ? r : new CreateHdoTodoRequest(r);
2112
+ return this.http.post(this._host + "/developertraining.v1.HdoTodoService/CreateHdoTodo", request.toApiJson(), this.apiOptions())
2113
+ .pipe(map(resp => CreateHdoTodoResponse.fromProto(resp)));
2114
+ }
2115
+ deleteHdoTodo(r) {
2116
+ const request = (r.toApiJson) ? r : new DeleteHdoTodoRequest(r);
2117
+ return this.http.post(this._host + "/developertraining.v1.HdoTodoService/DeleteHdoTodo", request.toApiJson(), Object.assign(Object.assign({}, this.apiOptions()), { observe: 'response' }));
2118
+ }
2119
+ listHdoTodos(r) {
2120
+ const request = (r.toApiJson) ? r : new ListHdoTodoRequest(r);
2121
+ return this.http.post(this._host + "/developertraining.v1.HdoTodoService/ListHdoTodos", request.toApiJson(), this.apiOptions())
2122
+ .pipe(map(resp => ListHdoTodoResponse.fromProto(resp)));
2123
+ }
2124
+ updateHdoTodo(r) {
2125
+ const request = (r.toApiJson) ? r : new UpdateHdoTodoRequest(r);
2126
+ return this.http.post(this._host + "/developertraining.v1.HdoTodoService/UpdateHdoTodo", request.toApiJson(), this.apiOptions())
2127
+ .pipe(map(resp => UpdateHdoTodoResponse.fromProto(resp)));
2128
+ }
2129
+ getHdoTodo(r) {
2130
+ const request = (r.toApiJson) ? r : new GetHdoTodoRequest(r);
2131
+ return this.http.post(this._host + "/developertraining.v1.HdoTodoService/GetHdoTodo", request.toApiJson(), this.apiOptions())
2132
+ .pipe(map(resp => GetHdoTodoResponse.fromProto(resp)));
2133
+ }
2134
+ }
2135
+ HdoTodoApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: HdoTodoApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
2136
+ HdoTodoApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: HdoTodoApiService, providedIn: 'root' });
2137
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: HdoTodoApiService, decorators: [{
2138
+ type: Injectable,
2139
+ args: [{ providedIn: 'root' }]
2140
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
2141
+
2142
+ // *********************************
2143
+ class IOlaleyeToDoQAApiService {
2144
+ constructor(http, hostService) {
2145
+ this.http = http;
2146
+ this.hostService = hostService;
2147
+ this._host = this.hostService.hostWithScheme;
2148
+ }
2149
+ apiOptions() {
2150
+ return {
2151
+ headers: new HttpHeaders({
2152
+ 'Content-Type': 'application/json'
2153
+ }),
2154
+ withCredentials: true
2155
+ };
2156
+ }
2157
+ iOlaleyeCreateTask(r) {
2158
+ const request = (r.toApiJson) ? r : new IOlaleyeCreateTaskRequest(r);
2159
+ return this.http.post(this._host + "/developertraining.v1.IOlaleyeToDoQA/IOlaleyeCreateTask", request.toApiJson(), this.apiOptions())
2160
+ .pipe(map(resp => IOlaleyeCreateTaskResponse.fromProto(resp)));
2161
+ }
2162
+ iOlaleyeEditTask(r) {
2163
+ const request = (r.toApiJson) ? r : new IOlaleyeEditTaskRequest(r);
2164
+ return this.http.post(this._host + "/developertraining.v1.IOlaleyeToDoQA/IOlaleyeEditTask", request.toApiJson(), this.apiOptions())
2165
+ .pipe(map(resp => IOlaleyeEditTaskResponse.fromProto(resp)));
2166
+ }
2167
+ iOlaleyeDeleteTask(r) {
2168
+ const request = (r.toApiJson) ? r : new IOlaleyeDeleteTaskRequest(r);
2169
+ return this.http.post(this._host + "/developertraining.v1.IOlaleyeToDoQA/IOlaleyeDeleteTask", request.toApiJson(), this.apiOptions())
2170
+ .pipe(map(resp => IOlaleyeDeleteTaskResponse.fromProto(resp)));
2171
+ }
2172
+ iOlaleyeGetTask(r) {
2173
+ const request = (r.toApiJson) ? r : new IOlaleyeGetTaskRequest(r);
2174
+ return this.http.post(this._host + "/developertraining.v1.IOlaleyeToDoQA/IOlaleyeGetTask", request.toApiJson(), this.apiOptions())
2175
+ .pipe(map(resp => IOlaleyeGetTaskResponse.fromProto(resp)));
2176
+ }
2177
+ iOlaleyeListTasks(r) {
2178
+ const request = (r.toApiJson) ? r : new IOlaleyeListTasksRequest(r);
2179
+ return this.http.post(this._host + "/developertraining.v1.IOlaleyeToDoQA/IOlaleyeListTasks", request.toApiJson(), this.apiOptions())
2180
+ .pipe(map(resp => IOlaleyeListTasksResponse.fromProto(resp)));
2181
+ }
2182
+ }
2183
+ IOlaleyeToDoQAApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: IOlaleyeToDoQAApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
2184
+ IOlaleyeToDoQAApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: IOlaleyeToDoQAApiService, providedIn: 'root' });
2185
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: IOlaleyeToDoQAApiService, decorators: [{
2186
+ type: Injectable,
2187
+ args: [{ providedIn: 'root' }]
2188
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
2189
+
327
2190
  // *********************************
328
2191
  class LFossenierTodoApiService {
329
2192
  constructor(http, hostService) {
@@ -347,9 +2210,9 @@ class LFossenierTodoApiService {
347
2210
  const request = (r.toApiJson) ? r : new DeleteLFossenierTaskRequest(r);
348
2211
  return this.http.post(this._host + "/developertraining.v1.LFossenierTodo/DeleteLFossenierTask", request.toApiJson(), Object.assign(Object.assign({}, this.apiOptions()), { observe: 'response' }));
349
2212
  }
350
- finishLFossenierTask(r) {
351
- const request = (r.toApiJson) ? r : new FinishLFossenierTaskRequest(r);
352
- return this.http.post(this._host + "/developertraining.v1.LFossenierTodo/FinishLFossenierTask", request.toApiJson(), Object.assign(Object.assign({}, this.apiOptions()), { observe: 'response' }));
2213
+ toggleFinishedLFossenierTask(r) {
2214
+ const request = (r.toApiJson) ? r : new ToggleFinishedLFossenierTaskRequest(r);
2215
+ return this.http.post(this._host + "/developertraining.v1.LFossenierTodo/ToggleFinishedLFossenierTask", request.toApiJson(), Object.assign(Object.assign({}, this.apiOptions()), { observe: 'response' }));
353
2216
  }
354
2217
  loadLFossenierTask(r) {
355
2218
  const request = (r.toApiJson) ? r : new LoadLFossenierTaskRequest(r);
@@ -364,11 +2227,153 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImpor
364
2227
  args: [{ providedIn: 'root' }]
365
2228
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
366
2229
 
2230
+ // *********************************
2231
+ class MMugotListQAApiService {
2232
+ constructor(http, hostService) {
2233
+ this.http = http;
2234
+ this.hostService = hostService;
2235
+ this._host = this.hostService.hostWithScheme;
2236
+ }
2237
+ apiOptions() {
2238
+ return {
2239
+ headers: new HttpHeaders({
2240
+ 'Content-Type': 'application/json'
2241
+ }),
2242
+ withCredentials: true
2243
+ };
2244
+ }
2245
+ createTask(r) {
2246
+ const request = (r.toApiJson) ? r : new MMugotCreateTaskRequest(r);
2247
+ return this.http.post(this._host + "/developertraining.v1.MMugotListQA/CreateTask", request.toApiJson(), this.apiOptions())
2248
+ .pipe(map(resp => MMugotCreateTaskResponse.fromProto(resp)));
2249
+ }
2250
+ getTask(r) {
2251
+ const request = (r.toApiJson) ? r : new MMugotGetTaskRequest(r);
2252
+ return this.http.post(this._host + "/developertraining.v1.MMugotListQA/GetTask", request.toApiJson(), this.apiOptions())
2253
+ .pipe(map(resp => MMugotGetTaskResponse.fromProto(resp)));
2254
+ }
2255
+ deleteTask(r) {
2256
+ const request = (r.toApiJson) ? r : new MMugotDeleteTaskRequest(r);
2257
+ return this.http.post(this._host + "/developertraining.v1.MMugotListQA/DeleteTask", request.toApiJson(), Object.assign(Object.assign({}, this.apiOptions()), { observe: 'response' }));
2258
+ }
2259
+ listTasks(r) {
2260
+ const request = (r.toApiJson) ? r : new MMugotListTasksRequest(r);
2261
+ return this.http.post(this._host + "/developertraining.v1.MMugotListQA/ListTasks", request.toApiJson(), this.apiOptions())
2262
+ .pipe(map(resp => MMugotListTasksResponse.fromProto(resp)));
2263
+ }
2264
+ updateTask(r) {
2265
+ const request = (r.toApiJson) ? r : new MMugotUpdateTaskRequest(r);
2266
+ return this.http.post(this._host + "/developertraining.v1.MMugotListQA/UpdateTask", request.toApiJson(), this.apiOptions())
2267
+ .pipe(map(resp => MMugotUpdateTaskResponse.fromProto(resp)));
2268
+ }
2269
+ }
2270
+ MMugotListQAApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MMugotListQAApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
2271
+ MMugotListQAApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MMugotListQAApiService, providedIn: 'root' });
2272
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MMugotListQAApiService, decorators: [{
2273
+ type: Injectable,
2274
+ args: [{ providedIn: 'root' }]
2275
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
2276
+
2277
+ // *********************************
2278
+ class TKabakovToDoApiService {
2279
+ constructor(http, hostService) {
2280
+ this.http = http;
2281
+ this.hostService = hostService;
2282
+ this._host = this.hostService.hostWithScheme;
2283
+ }
2284
+ apiOptions() {
2285
+ return {
2286
+ headers: new HttpHeaders({
2287
+ 'Content-Type': 'application/json'
2288
+ }),
2289
+ withCredentials: true
2290
+ };
2291
+ }
2292
+ tKabakovGetToDoItem(r) {
2293
+ const request = (r.toApiJson) ? r : new TKabakovGetToDoItemRequest(r);
2294
+ return this.http.post(this._host + "/developertraining.v1.TKabakovToDo/TKabakovGetToDoItem", request.toApiJson(), this.apiOptions())
2295
+ .pipe(map(resp => TKabakovGetToDoItemResponse.fromProto(resp)));
2296
+ }
2297
+ tKabakovAddToDoItem(r) {
2298
+ const request = (r.toApiJson) ? r : new TKabakovAddToDoItemRequest(r);
2299
+ return this.http.post(this._host + "/developertraining.v1.TKabakovToDo/TKabakovAddToDoItem", request.toApiJson(), this.apiOptions())
2300
+ .pipe(map(resp => TKabakovAddToDoItemResponse.fromProto(resp)));
2301
+ }
2302
+ tKabakovDeleteToDoItem(r) {
2303
+ const request = (r.toApiJson) ? r : new TKabakovDeleteToDoItemRequest(r);
2304
+ return this.http.post(this._host + "/developertraining.v1.TKabakovToDo/TKabakovDeleteToDoItem", request.toApiJson(), this.apiOptions())
2305
+ .pipe(map(resp => TKabakovDeleteToDoItemResponse.fromProto(resp)));
2306
+ }
2307
+ tKabakovUpdateToDoItem(r) {
2308
+ const request = (r.toApiJson) ? r : new TKabakovUpdateToDoItemRequest(r);
2309
+ return this.http.post(this._host + "/developertraining.v1.TKabakovToDo/TKabakovUpdateToDoItem", request.toApiJson(), this.apiOptions())
2310
+ .pipe(map(resp => TKabakovUpdateToDoItemResponse.fromProto(resp)));
2311
+ }
2312
+ tKabakovListToDoItems(r) {
2313
+ const request = (r.toApiJson) ? r : new TKabakovListToDoItemsRequest(r);
2314
+ return this.http.post(this._host + "/developertraining.v1.TKabakovToDo/TKabakovListToDoItems", request.toApiJson(), this.apiOptions())
2315
+ .pipe(map(resp => TKabakovListToDoItemsResponse.fromProto(resp)));
2316
+ }
2317
+ }
2318
+ TKabakovToDoApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: TKabakovToDoApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
2319
+ TKabakovToDoApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: TKabakovToDoApiService, providedIn: 'root' });
2320
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: TKabakovToDoApiService, decorators: [{
2321
+ type: Injectable,
2322
+ args: [{ providedIn: 'root' }]
2323
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
2324
+
2325
+ // *********************************
2326
+ class WHorrellToDoApiService {
2327
+ constructor(http, hostService) {
2328
+ this.http = http;
2329
+ this.hostService = hostService;
2330
+ this._host = this.hostService.hostWithScheme;
2331
+ }
2332
+ apiOptions() {
2333
+ return {
2334
+ headers: new HttpHeaders({
2335
+ 'Content-Type': 'application/json'
2336
+ }),
2337
+ withCredentials: true
2338
+ };
2339
+ }
2340
+ createWHorrellTask(r) {
2341
+ const request = (r.toApiJson) ? r : new CreateWHorrellTaskRequest(r);
2342
+ return this.http.post(this._host + "/developertraining.v1.WHorrellToDoService/CreateWHorrellTask", request.toApiJson(), this.apiOptions())
2343
+ .pipe(map(resp => CreateWHorrellTaskResponse.fromProto(resp)));
2344
+ }
2345
+ editWHorrellTask(r) {
2346
+ const request = (r.toApiJson) ? r : new EditWHorrellTaskRequest(r);
2347
+ return this.http.post(this._host + "/developertraining.v1.WHorrellToDoService/EditWHorrellTask", request.toApiJson(), this.apiOptions())
2348
+ .pipe(map(resp => EditWHorrellTaskResponse.fromProto(resp)));
2349
+ }
2350
+ deleteWHorrellTask(r) {
2351
+ const request = (r.toApiJson) ? r : new DeleteWHorrellTaskRequest(r);
2352
+ return this.http.post(this._host + "/developertraining.v1.WHorrellToDoService/DeleteWHorrellTask", request.toApiJson(), Object.assign(Object.assign({}, this.apiOptions()), { observe: 'response' }));
2353
+ }
2354
+ getWHorrellTask(r) {
2355
+ const request = (r.toApiJson) ? r : new GetWHorrellTaskRequest(r);
2356
+ return this.http.post(this._host + "/developertraining.v1.WHorrellToDoService/GetWHorrellTask", request.toApiJson(), this.apiOptions())
2357
+ .pipe(map(resp => GetWHorrellTaskResponse.fromProto(resp)));
2358
+ }
2359
+ listWHorrellTasks(r) {
2360
+ const request = (r.toApiJson) ? r : new ListWHorrellTasksRequest(r);
2361
+ return this.http.post(this._host + "/developertraining.v1.WHorrellToDoService/ListWHorrellTasks", request.toApiJson(), this.apiOptions())
2362
+ .pipe(map(resp => ListWHorrellTasksResponse.fromProto(resp)));
2363
+ }
2364
+ }
2365
+ WHorrellToDoApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: WHorrellToDoApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
2366
+ WHorrellToDoApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: WHorrellToDoApiService, providedIn: 'root' });
2367
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: WHorrellToDoApiService, decorators: [{
2368
+ type: Injectable,
2369
+ args: [{ providedIn: 'root' }]
2370
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
2371
+
367
2372
  // *********************************
368
2373
 
369
2374
  /**
370
2375
  * Generated bundle index. Do not edit.
371
2376
  */
372
2377
 
373
- export { BusinessQAApiService, CreateLFossenierTaskRequest, DeleteLFossenierTaskRequest, FieldMask, FinishLFossenierTaskRequest, GetBusinessQuestionsAnswersRequest, GetBusinessQuestionsAnswersResponse, LFossenierTodoApiService, LoadLFossenierTaskRequest, LoadLFossenierTaskResponse, QuestionsAnswers, ReplaceBusinessQuestionsAnswersRequest, TodoTaskMessage };
2378
+ export { AHundalAddTaskRequest, AHundalAddTaskResponse, AHundalDeleteTaskRequest, AHundalDeleteTaskResponse, AHundalEditTaskRequest, AHundalEditTaskResponse, AHundalGetSpecificTaskRequest, AHundalGetSpecificTaskResponse, AHundalGetTasksRequest, AHundalGetTasksResponse, AHundalTask, AHundalToDoProjectApiService, Access, BusinessQAApiService, CreateECurrieRequest, CreateECurrieResponse, CreateHdoTodoRequest, CreateHdoTodoResponse, CreateLFossenierTaskRequest, CreateWHorrellTaskRequest, CreateWHorrellTaskResponse, DeleteECurrieRequest, DeleteHdoTodoRequest, DeleteHdoTodoResponse, DeleteLFossenierTaskRequest, DeleteWHorrellTaskRequest, ECurrieListApiService, ECurrieTodoItem, EditWHorrellTaskRequest, EditWHorrellTaskResponse, FieldMask, GetBusinessQuestionsAnswersRequest, GetBusinessQuestionsAnswersResponse, GetECurrieListRequest, GetECurrieListResponse, GetHdoTodoRequest, GetHdoTodoResponse, GetWHorrellTaskRequest, GetWHorrellTaskResponse, HdoTodoApiService, HdoTodoItem, IOlaleyeCreateTaskRequest, IOlaleyeCreateTaskResponse, IOlaleyeDeleteTaskRequest, IOlaleyeDeleteTaskResponse, IOlaleyeEditTaskRequest, IOlaleyeEditTaskResponse, IOlaleyeGetTaskRequest, IOlaleyeGetTaskResponse, IOlaleyeListTasksRequest, IOlaleyeListTasksResponse, IOlaleyeTask, IOlaleyeToDoQAApiService, LFossenierTodoApiService, ListHdoTodoRequest, ListHdoTodoResponse, ListWHorrellTasksRequest, ListWHorrellTasksResponse, LoadLFossenierTaskRequest, LoadLFossenierTaskResponse, MMugotCreateTaskRequest, MMugotCreateTaskResponse, MMugotDeleteTaskRequest, MMugotGetTaskRequest, MMugotGetTaskResponse, MMugotListQAApiService, MMugotListTasksRequest, MMugotListTasksResponse, MMugotTask, MMugotUpdateTaskRequest, MMugotUpdateTaskResponse, QuestionsAnswers, ReplaceBusinessQuestionsAnswersRequest, TKabakovAddToDoItemRequest, TKabakovAddToDoItemResponse, TKabakovDeleteToDoItemRequest, TKabakovDeleteToDoItemResponse, TKabakovGetToDoItemRequest, TKabakovGetToDoItemResponse, TKabakovListToDoItemsRequest, TKabakovListToDoItemsResponse, TKabakovToDoApiService, TKabakovToDoId, TKabakovToDoItem, TKabakovUpdateToDoItemRequest, TKabakovUpdateToDoItemResponse, Task, TodoTaskMessage, ToggleFinishedLFossenierTaskRequest, UpdateHdoTodoRequest, UpdateHdoTodoResponse, WHorrellTask, WHorrellToDoApiService };
374
2379
  //# sourceMappingURL=vendasta-developer-training.mjs.map