@vendasta/developer-training 0.9.0 → 0.11.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 (51) hide show
  1. package/esm2020/lib/_internal/a-hundal-to-do-project.api.service.mjs +61 -0
  2. package/esm2020/lib/_internal/enums/api.enum.mjs +13 -0
  3. package/esm2020/lib/_internal/enums/index.mjs +8 -0
  4. package/esm2020/lib/_internal/hdo-todo.api.service.mjs +60 -0
  5. package/esm2020/lib/_internal/i-olaleye-to-do-qa.api.service.mjs +61 -0
  6. package/esm2020/lib/_internal/index.mjs +8 -1
  7. package/esm2020/lib/_internal/interfaces/annotations.interface.mjs +8 -0
  8. package/esm2020/lib/_internal/interfaces/api.interface.mjs +8 -0
  9. package/esm2020/lib/_internal/interfaces/businessqa.interface.mjs +1 -1
  10. package/esm2020/lib/_internal/interfaces/field-mask.interface.mjs +1 -1
  11. package/esm2020/lib/_internal/interfaces/index.mjs +1 -1
  12. package/esm2020/lib/_internal/interfaces/lfossenier-todo.interface.mjs +1 -1
  13. package/esm2020/lib/_internal/interfaces/tkabakovtodo.interface.mjs +8 -0
  14. package/esm2020/lib/_internal/l-fossenier-todo.api.service.mjs +5 -5
  15. package/esm2020/lib/_internal/m-mugot-list-qa.api.service.mjs +55 -0
  16. package/esm2020/lib/_internal/objects/annotations.mjs +30 -0
  17. package/esm2020/lib/_internal/objects/api.mjs +1162 -0
  18. package/esm2020/lib/_internal/objects/businessqa.mjs +7 -1
  19. package/esm2020/lib/_internal/objects/field-mask.mjs +7 -1
  20. package/esm2020/lib/_internal/objects/index.mjs +5 -2
  21. package/esm2020/lib/_internal/objects/lfossenier-todo.mjs +33 -27
  22. package/esm2020/lib/_internal/objects/tkabakovtodo.mjs +274 -0
  23. package/esm2020/lib/_internal/t-kabakov-to-do.api.service.mjs +61 -0
  24. package/esm2020/lib/_internal/w-horrell-to-do.api.service.mjs +60 -0
  25. package/fesm2015/vendasta-developer-training.mjs +1859 -80
  26. package/fesm2015/vendasta-developer-training.mjs.map +1 -1
  27. package/fesm2020/vendasta-developer-training.mjs +1859 -80
  28. package/fesm2020/vendasta-developer-training.mjs.map +1 -1
  29. package/lib/_internal/a-hundal-to-do-project.api.service.d.ts +20 -0
  30. package/lib/_internal/enums/api.enum.d.ts +5 -0
  31. package/lib/_internal/enums/index.d.ts +1 -0
  32. package/lib/_internal/hdo-todo.api.service.d.ts +20 -0
  33. package/lib/_internal/i-olaleye-to-do-qa.api.service.d.ts +20 -0
  34. package/lib/_internal/index.d.ts +7 -0
  35. package/lib/_internal/interfaces/annotations.interface.d.ts +4 -0
  36. package/lib/_internal/interfaces/api.interface.d.ts +177 -0
  37. package/lib/_internal/interfaces/index.d.ts +4 -1
  38. package/lib/_internal/interfaces/lfossenier-todo.interface.d.ts +5 -5
  39. package/lib/_internal/interfaces/tkabakovtodo.interface.d.ts +40 -0
  40. package/lib/_internal/l-fossenier-todo.api.service.d.ts +3 -3
  41. package/lib/_internal/m-mugot-list-qa.api.service.d.ts +19 -0
  42. package/lib/_internal/objects/annotations.d.ts +9 -0
  43. package/lib/_internal/objects/api.d.ts +332 -0
  44. package/lib/_internal/objects/businessqa.d.ts +1 -0
  45. package/lib/_internal/objects/field-mask.d.ts +1 -0
  46. package/lib/_internal/objects/index.d.ts +4 -1
  47. package/lib/_internal/objects/lfossenier-todo.d.ts +9 -8
  48. package/lib/_internal/objects/tkabakovtodo.d.ts +78 -0
  49. package/lib/_internal/t-kabakov-to-do.api.service.d.ts +20 -0
  50. package/lib/_internal/w-horrell-to-do.api.service.d.ts +20 -0
  51. package/package.json +1 -1
@@ -4,10 +4,1488 @@ 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 CreateHdoTodoRequest {
866
+ static fromProto(proto) {
867
+ let m = new CreateHdoTodoRequest();
868
+ m = Object.assign(m, proto);
869
+ if (proto.todo) {
870
+ m.todo = HdoTodoItem.fromProto(proto.todo);
871
+ }
872
+ return m;
873
+ }
874
+ constructor(kwargs) {
875
+ if (!kwargs) {
876
+ return;
877
+ }
878
+ Object.assign(this, kwargs);
879
+ }
880
+ toApiJson() {
881
+ const toReturn = {};
882
+ if (typeof this.todo !== 'undefined' && this.todo !== null) {
883
+ toReturn['todo'] = 'toApiJson' in this.todo ? this.todo.toApiJson() : this.todo;
884
+ }
885
+ return toReturn;
886
+ }
887
+ }
888
+ class CreateHdoTodoResponse {
889
+ static fromProto(proto) {
890
+ let m = new CreateHdoTodoResponse();
891
+ m = Object.assign(m, proto);
892
+ if (proto.todo) {
893
+ m.todo = HdoTodoItem.fromProto(proto.todo);
894
+ }
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.todo !== 'undefined' && this.todo !== null) {
906
+ toReturn['todo'] = 'toApiJson' in this.todo ? this.todo.toApiJson() : this.todo;
907
+ }
908
+ return toReturn;
909
+ }
910
+ }
911
+ class CreateWHorrellTaskRequest {
912
+ static fromProto(proto) {
913
+ let m = new CreateWHorrellTaskRequest();
914
+ m = Object.assign(m, proto);
915
+ return m;
916
+ }
917
+ constructor(kwargs) {
918
+ if (!kwargs) {
919
+ return;
920
+ }
921
+ Object.assign(this, kwargs);
922
+ }
923
+ toApiJson() {
924
+ const toReturn = {};
925
+ if (typeof this.name !== 'undefined') {
926
+ toReturn['name'] = this.name;
927
+ }
928
+ if (typeof this.description !== 'undefined') {
929
+ toReturn['description'] = this.description;
930
+ }
931
+ return toReturn;
932
+ }
933
+ }
934
+ class CreateWHorrellTaskResponse {
935
+ static fromProto(proto) {
936
+ let m = new CreateWHorrellTaskResponse();
937
+ m = Object.assign(m, proto);
938
+ return m;
939
+ }
940
+ constructor(kwargs) {
941
+ if (!kwargs) {
942
+ return;
943
+ }
944
+ Object.assign(this, kwargs);
945
+ }
946
+ toApiJson() {
947
+ const toReturn = {};
948
+ if (typeof this.id !== 'undefined') {
949
+ toReturn['id'] = this.id;
950
+ }
951
+ return toReturn;
952
+ }
953
+ }
954
+ class DeleteHdoTodoRequest {
955
+ static fromProto(proto) {
956
+ let m = new DeleteHdoTodoRequest();
957
+ m = Object.assign(m, proto);
958
+ return m;
959
+ }
960
+ constructor(kwargs) {
961
+ if (!kwargs) {
962
+ return;
963
+ }
964
+ Object.assign(this, kwargs);
965
+ }
966
+ toApiJson() {
967
+ const toReturn = {};
968
+ if (typeof this.id !== 'undefined') {
969
+ toReturn['id'] = this.id;
970
+ }
971
+ return toReturn;
972
+ }
973
+ }
974
+ class DeleteHdoTodoResponse {
975
+ static fromProto(proto) {
976
+ let m = new DeleteHdoTodoResponse();
977
+ m = Object.assign(m, proto);
978
+ return m;
979
+ }
980
+ constructor(kwargs) {
981
+ if (!kwargs) {
982
+ return;
983
+ }
984
+ Object.assign(this, kwargs);
985
+ }
986
+ toApiJson() {
987
+ const toReturn = {};
988
+ if (typeof this.message !== 'undefined') {
989
+ toReturn['message'] = this.message;
990
+ }
991
+ return toReturn;
992
+ }
993
+ }
994
+ class DeleteWHorrellTaskRequest {
995
+ static fromProto(proto) {
996
+ let m = new DeleteWHorrellTaskRequest();
997
+ m = Object.assign(m, proto);
998
+ return m;
999
+ }
1000
+ constructor(kwargs) {
1001
+ if (!kwargs) {
1002
+ return;
1003
+ }
1004
+ Object.assign(this, kwargs);
1005
+ }
1006
+ toApiJson() {
1007
+ const toReturn = {};
1008
+ if (typeof this.id !== 'undefined') {
1009
+ toReturn['id'] = this.id;
1010
+ }
1011
+ return toReturn;
1012
+ }
1013
+ }
1014
+ class EditWHorrellTaskRequest {
1015
+ static fromProto(proto) {
1016
+ let m = new EditWHorrellTaskRequest();
1017
+ m = Object.assign(m, proto);
1018
+ return m;
1019
+ }
1020
+ constructor(kwargs) {
1021
+ if (!kwargs) {
1022
+ return;
1023
+ }
1024
+ Object.assign(this, kwargs);
1025
+ }
1026
+ toApiJson() {
1027
+ const toReturn = {};
1028
+ if (typeof this.id !== 'undefined') {
1029
+ toReturn['id'] = this.id;
1030
+ }
1031
+ if (typeof this.name !== 'undefined') {
1032
+ toReturn['name'] = this.name;
1033
+ }
1034
+ if (typeof this.description !== 'undefined') {
1035
+ toReturn['description'] = this.description;
1036
+ }
1037
+ if (typeof this.isCompleted !== 'undefined') {
1038
+ toReturn['isCompleted'] = this.isCompleted;
1039
+ }
1040
+ return toReturn;
1041
+ }
1042
+ }
1043
+ class EditWHorrellTaskResponse {
1044
+ static fromProto(proto) {
1045
+ let m = new EditWHorrellTaskResponse();
1046
+ m = Object.assign(m, proto);
1047
+ return m;
1048
+ }
1049
+ constructor(kwargs) {
1050
+ if (!kwargs) {
1051
+ return;
1052
+ }
1053
+ Object.assign(this, kwargs);
1054
+ }
1055
+ toApiJson() {
1056
+ const toReturn = {};
1057
+ if (typeof this.id !== 'undefined') {
1058
+ toReturn['id'] = this.id;
1059
+ }
1060
+ return toReturn;
1061
+ }
1062
+ }
1063
+ class GetHdoTodoRequest {
1064
+ static fromProto(proto) {
1065
+ let m = new GetHdoTodoRequest();
1066
+ m = Object.assign(m, proto);
1067
+ return m;
1068
+ }
1069
+ constructor(kwargs) {
1070
+ if (!kwargs) {
1071
+ return;
1072
+ }
1073
+ Object.assign(this, kwargs);
1074
+ }
1075
+ toApiJson() {
1076
+ const toReturn = {};
1077
+ if (typeof this.id !== 'undefined') {
1078
+ toReturn['id'] = this.id;
1079
+ }
1080
+ return toReturn;
1081
+ }
1082
+ }
1083
+ class GetHdoTodoResponse {
1084
+ static fromProto(proto) {
1085
+ let m = new GetHdoTodoResponse();
1086
+ m = Object.assign(m, proto);
1087
+ if (proto.todo) {
1088
+ m.todo = HdoTodoItem.fromProto(proto.todo);
1089
+ }
1090
+ return m;
1091
+ }
1092
+ constructor(kwargs) {
1093
+ if (!kwargs) {
1094
+ return;
1095
+ }
1096
+ Object.assign(this, kwargs);
1097
+ }
1098
+ toApiJson() {
1099
+ const toReturn = {};
1100
+ if (typeof this.todo !== 'undefined' && this.todo !== null) {
1101
+ toReturn['todo'] = 'toApiJson' in this.todo ? this.todo.toApiJson() : this.todo;
1102
+ }
1103
+ return toReturn;
1104
+ }
1105
+ }
1106
+ class GetWHorrellTaskRequest {
1107
+ static fromProto(proto) {
1108
+ let m = new GetWHorrellTaskRequest();
1109
+ m = Object.assign(m, proto);
1110
+ return m;
1111
+ }
1112
+ constructor(kwargs) {
1113
+ if (!kwargs) {
1114
+ return;
1115
+ }
1116
+ Object.assign(this, kwargs);
1117
+ }
1118
+ toApiJson() {
1119
+ const toReturn = {};
1120
+ if (typeof this.id !== 'undefined') {
1121
+ toReturn['id'] = this.id;
1122
+ }
1123
+ return toReturn;
1124
+ }
1125
+ }
1126
+ class GetWHorrellTaskResponse {
1127
+ static fromProto(proto) {
1128
+ let m = new GetWHorrellTaskResponse();
1129
+ m = Object.assign(m, proto);
1130
+ if (proto.task) {
1131
+ m.task = WHorrellTask.fromProto(proto.task);
1132
+ }
1133
+ return m;
1134
+ }
1135
+ constructor(kwargs) {
1136
+ if (!kwargs) {
1137
+ return;
1138
+ }
1139
+ Object.assign(this, kwargs);
1140
+ }
1141
+ toApiJson() {
1142
+ const toReturn = {};
1143
+ if (typeof this.task !== 'undefined' && this.task !== null) {
1144
+ toReturn['task'] = 'toApiJson' in this.task ? this.task.toApiJson() : this.task;
1145
+ }
1146
+ return toReturn;
1147
+ }
1148
+ }
1149
+ class HdoTodoItem {
1150
+ static fromProto(proto) {
1151
+ let m = new HdoTodoItem();
1152
+ m = Object.assign(m, proto);
1153
+ return m;
1154
+ }
1155
+ constructor(kwargs) {
1156
+ if (!kwargs) {
1157
+ return;
1158
+ }
1159
+ Object.assign(this, kwargs);
1160
+ }
1161
+ toApiJson() {
1162
+ const toReturn = {};
1163
+ if (typeof this.id !== 'undefined') {
1164
+ toReturn['id'] = this.id;
1165
+ }
1166
+ if (typeof this.title !== 'undefined') {
1167
+ toReturn['title'] = this.title;
1168
+ }
1169
+ if (typeof this.description !== 'undefined') {
1170
+ toReturn['description'] = this.description;
1171
+ }
1172
+ if (typeof this.completed !== 'undefined') {
1173
+ toReturn['completed'] = this.completed;
1174
+ }
1175
+ if (typeof this.deleted !== 'undefined') {
1176
+ toReturn['deleted'] = this.deleted;
1177
+ }
1178
+ return toReturn;
1179
+ }
1180
+ }
1181
+ class IOlaleyeCreateTaskRequest {
1182
+ static fromProto(proto) {
1183
+ let m = new IOlaleyeCreateTaskRequest();
1184
+ m = Object.assign(m, proto);
1185
+ return m;
1186
+ }
1187
+ constructor(kwargs) {
1188
+ if (!kwargs) {
1189
+ return;
1190
+ }
1191
+ Object.assign(this, kwargs);
1192
+ }
1193
+ toApiJson() {
1194
+ const toReturn = {};
1195
+ if (typeof this.name !== 'undefined') {
1196
+ toReturn['name'] = this.name;
1197
+ }
1198
+ if (typeof this.description !== 'undefined') {
1199
+ toReturn['description'] = this.description;
1200
+ }
1201
+ return toReturn;
1202
+ }
1203
+ }
1204
+ class IOlaleyeCreateTaskResponse {
1205
+ static fromProto(proto) {
1206
+ let m = new IOlaleyeCreateTaskResponse();
1207
+ m = Object.assign(m, proto);
1208
+ if (proto.id) {
1209
+ m.id = parseInt(proto.id, 10);
1210
+ }
1211
+ return m;
1212
+ }
1213
+ constructor(kwargs) {
1214
+ if (!kwargs) {
1215
+ return;
1216
+ }
1217
+ Object.assign(this, kwargs);
1218
+ }
1219
+ toApiJson() {
1220
+ const toReturn = {};
1221
+ if (typeof this.id !== 'undefined') {
1222
+ toReturn['id'] = this.id;
1223
+ }
1224
+ return toReturn;
1225
+ }
1226
+ }
1227
+ class IOlaleyeDeleteTaskRequest {
1228
+ static fromProto(proto) {
1229
+ let m = new IOlaleyeDeleteTaskRequest();
1230
+ m = Object.assign(m, proto);
1231
+ return m;
1232
+ }
1233
+ constructor(kwargs) {
1234
+ if (!kwargs) {
1235
+ return;
1236
+ }
1237
+ Object.assign(this, kwargs);
1238
+ }
1239
+ toApiJson() {
1240
+ const toReturn = {};
1241
+ if (typeof this.id !== 'undefined') {
1242
+ toReturn['id'] = this.id;
1243
+ }
1244
+ return toReturn;
1245
+ }
1246
+ }
1247
+ class IOlaleyeDeleteTaskResponse {
1248
+ static fromProto(proto) {
1249
+ let m = new IOlaleyeDeleteTaskResponse();
1250
+ m = Object.assign(m, proto);
1251
+ return m;
1252
+ }
1253
+ constructor(kwargs) {
1254
+ if (!kwargs) {
1255
+ return;
1256
+ }
1257
+ Object.assign(this, kwargs);
1258
+ }
1259
+ toApiJson() {
1260
+ const toReturn = {};
1261
+ return toReturn;
1262
+ }
1263
+ }
1264
+ class IOlaleyeEditTaskRequest {
1265
+ static fromProto(proto) {
1266
+ let m = new IOlaleyeEditTaskRequest();
1267
+ m = Object.assign(m, proto);
1268
+ if (proto.task) {
1269
+ m.task = IOlaleyeTask.fromProto(proto.task);
1270
+ }
1271
+ return m;
1272
+ }
1273
+ constructor(kwargs) {
1274
+ if (!kwargs) {
1275
+ return;
1276
+ }
1277
+ Object.assign(this, kwargs);
1278
+ }
1279
+ toApiJson() {
1280
+ const toReturn = {};
1281
+ if (typeof this.task !== 'undefined' && this.task !== null) {
1282
+ toReturn['task'] = 'toApiJson' in this.task ? this.task.toApiJson() : this.task;
1283
+ }
1284
+ return toReturn;
1285
+ }
1286
+ }
1287
+ class IOlaleyeEditTaskResponse {
1288
+ static fromProto(proto) {
1289
+ let m = new IOlaleyeEditTaskResponse();
1290
+ m = Object.assign(m, proto);
1291
+ if (proto.task) {
1292
+ m.task = IOlaleyeTask.fromProto(proto.task);
1293
+ }
1294
+ return m;
1295
+ }
1296
+ constructor(kwargs) {
1297
+ if (!kwargs) {
1298
+ return;
1299
+ }
1300
+ Object.assign(this, kwargs);
1301
+ }
1302
+ toApiJson() {
1303
+ const toReturn = {};
1304
+ if (typeof this.task !== 'undefined' && this.task !== null) {
1305
+ toReturn['task'] = 'toApiJson' in this.task ? this.task.toApiJson() : this.task;
1306
+ }
1307
+ return toReturn;
1308
+ }
1309
+ }
1310
+ class IOlaleyeGetTaskRequest {
1311
+ static fromProto(proto) {
1312
+ let m = new IOlaleyeGetTaskRequest();
1313
+ m = Object.assign(m, proto);
1314
+ return m;
1315
+ }
1316
+ constructor(kwargs) {
1317
+ if (!kwargs) {
1318
+ return;
1319
+ }
1320
+ Object.assign(this, kwargs);
1321
+ }
1322
+ toApiJson() {
1323
+ const toReturn = {};
1324
+ if (typeof this.id !== 'undefined') {
1325
+ toReturn['id'] = this.id;
1326
+ }
1327
+ return toReturn;
1328
+ }
1329
+ }
1330
+ class IOlaleyeGetTaskResponse {
1331
+ static fromProto(proto) {
1332
+ let m = new IOlaleyeGetTaskResponse();
1333
+ m = Object.assign(m, proto);
1334
+ if (proto.task) {
1335
+ m.task = IOlaleyeTask.fromProto(proto.task);
1336
+ }
1337
+ return m;
1338
+ }
1339
+ constructor(kwargs) {
1340
+ if (!kwargs) {
1341
+ return;
1342
+ }
1343
+ Object.assign(this, kwargs);
1344
+ }
1345
+ toApiJson() {
1346
+ const toReturn = {};
1347
+ if (typeof this.task !== 'undefined' && this.task !== null) {
1348
+ toReturn['task'] = 'toApiJson' in this.task ? this.task.toApiJson() : this.task;
1349
+ }
1350
+ return toReturn;
1351
+ }
1352
+ }
1353
+ class IOlaleyeListTasksRequest {
1354
+ static fromProto(proto) {
1355
+ let m = new IOlaleyeListTasksRequest();
1356
+ m = Object.assign(m, proto);
1357
+ return m;
1358
+ }
1359
+ constructor(kwargs) {
1360
+ if (!kwargs) {
1361
+ return;
1362
+ }
1363
+ Object.assign(this, kwargs);
1364
+ }
1365
+ toApiJson() {
1366
+ const toReturn = {};
1367
+ return toReturn;
1368
+ }
1369
+ }
1370
+ class IOlaleyeListTasksResponse {
1371
+ static fromProto(proto) {
1372
+ let m = new IOlaleyeListTasksResponse();
1373
+ m = Object.assign(m, proto);
1374
+ if (proto.allTasks) {
1375
+ m.allTasks = proto.allTasks.map(IOlaleyeTask.fromProto);
1376
+ }
1377
+ return m;
1378
+ }
1379
+ constructor(kwargs) {
1380
+ if (!kwargs) {
1381
+ return;
1382
+ }
1383
+ Object.assign(this, kwargs);
1384
+ }
1385
+ toApiJson() {
1386
+ const toReturn = {};
1387
+ if (typeof this.allTasks !== 'undefined' && this.allTasks !== null) {
1388
+ toReturn['allTasks'] = 'toApiJson' in this.allTasks ? this.allTasks.toApiJson() : this.allTasks;
1389
+ }
1390
+ return toReturn;
1391
+ }
1392
+ }
1393
+ class IOlaleyeTask {
1394
+ static fromProto(proto) {
1395
+ let m = new IOlaleyeTask();
1396
+ m = Object.assign(m, proto);
1397
+ return m;
1398
+ }
1399
+ constructor(kwargs) {
1400
+ if (!kwargs) {
1401
+ return;
1402
+ }
1403
+ Object.assign(this, kwargs);
1404
+ }
1405
+ toApiJson() {
1406
+ const toReturn = {};
1407
+ if (typeof this.id !== 'undefined') {
1408
+ toReturn['id'] = this.id;
1409
+ }
1410
+ if (typeof this.name !== 'undefined') {
1411
+ toReturn['name'] = this.name;
1412
+ }
1413
+ if (typeof this.description !== 'undefined') {
1414
+ toReturn['description'] = this.description;
1415
+ }
1416
+ if (typeof this.deleted !== 'undefined') {
1417
+ toReturn['deleted'] = this.deleted;
1418
+ }
1419
+ if (typeof this.isDone !== 'undefined') {
1420
+ toReturn['isDone'] = this.isDone;
1421
+ }
1422
+ return toReturn;
1423
+ }
1424
+ }
1425
+ class ListHdoTodoRequest {
1426
+ static fromProto(proto) {
1427
+ let m = new ListHdoTodoRequest();
1428
+ m = Object.assign(m, proto);
1429
+ return m;
1430
+ }
1431
+ constructor(kwargs) {
1432
+ if (!kwargs) {
1433
+ return;
1434
+ }
1435
+ Object.assign(this, kwargs);
1436
+ }
1437
+ toApiJson() {
1438
+ const toReturn = {};
1439
+ return toReturn;
1440
+ }
1441
+ }
1442
+ class ListHdoTodoResponse {
1443
+ static fromProto(proto) {
1444
+ let m = new ListHdoTodoResponse();
1445
+ m = Object.assign(m, proto);
1446
+ if (proto.todos) {
1447
+ m.todos = proto.todos.map(HdoTodoItem.fromProto);
1448
+ }
1449
+ return m;
1450
+ }
1451
+ constructor(kwargs) {
1452
+ if (!kwargs) {
1453
+ return;
1454
+ }
1455
+ Object.assign(this, kwargs);
1456
+ }
1457
+ toApiJson() {
1458
+ const toReturn = {};
1459
+ if (typeof this.todos !== 'undefined' && this.todos !== null) {
1460
+ toReturn['todos'] = 'toApiJson' in this.todos ? this.todos.toApiJson() : this.todos;
1461
+ }
1462
+ return toReturn;
1463
+ }
1464
+ }
1465
+ class ListWHorrellTasksRequest {
1466
+ static fromProto(proto) {
1467
+ let m = new ListWHorrellTasksRequest();
1468
+ m = Object.assign(m, proto);
1469
+ return m;
1470
+ }
1471
+ constructor(kwargs) {
1472
+ if (!kwargs) {
1473
+ return;
1474
+ }
1475
+ Object.assign(this, kwargs);
1476
+ }
1477
+ toApiJson() {
1478
+ const toReturn = {};
1479
+ return toReturn;
1480
+ }
1481
+ }
1482
+ class ListWHorrellTasksResponse {
1483
+ static fromProto(proto) {
1484
+ let m = new ListWHorrellTasksResponse();
10
1485
  m = Object.assign(m, proto);
1486
+ if (proto.tasks) {
1487
+ m.tasks = proto.tasks.map(WHorrellTask.fromProto);
1488
+ }
11
1489
  return m;
12
1490
  }
13
1491
  constructor(kwargs) {
@@ -18,17 +1496,19 @@ class FieldMask {
18
1496
  }
19
1497
  toApiJson() {
20
1498
  const toReturn = {};
21
- if (typeof this.paths !== 'undefined') {
22
- toReturn['paths'] = this.paths;
1499
+ if (typeof this.tasks !== 'undefined' && this.tasks !== null) {
1500
+ toReturn['tasks'] = 'toApiJson' in this.tasks ? this.tasks.toApiJson() : this.tasks;
23
1501
  }
24
1502
  return toReturn;
25
1503
  }
26
1504
  }
27
-
28
- class GetBusinessQuestionsAnswersRequest {
1505
+ class MMugotCreateTaskRequest {
29
1506
  static fromProto(proto) {
30
- let m = new GetBusinessQuestionsAnswersRequest();
1507
+ let m = new MMugotCreateTaskRequest();
31
1508
  m = Object.assign(m, proto);
1509
+ if (proto.task) {
1510
+ m.task = MMugotTask.fromProto(proto.task);
1511
+ }
32
1512
  return m;
33
1513
  }
34
1514
  constructor(kwargs) {
@@ -39,19 +1519,16 @@ class GetBusinessQuestionsAnswersRequest {
39
1519
  }
40
1520
  toApiJson() {
41
1521
  const toReturn = {};
42
- if (typeof this.businessId !== 'undefined') {
43
- toReturn['businessId'] = this.businessId;
1522
+ if (typeof this.task !== 'undefined' && this.task !== null) {
1523
+ toReturn['task'] = 'toApiJson' in this.task ? this.task.toApiJson() : this.task;
44
1524
  }
45
1525
  return toReturn;
46
1526
  }
47
1527
  }
48
- class GetBusinessQuestionsAnswersResponse {
1528
+ class MMugotCreateTaskResponse {
49
1529
  static fromProto(proto) {
50
- let m = new GetBusinessQuestionsAnswersResponse();
1530
+ let m = new MMugotCreateTaskResponse();
51
1531
  m = Object.assign(m, proto);
52
- if (proto.answers) {
53
- m.answers = QuestionsAnswers.fromProto(proto.answers);
54
- }
55
1532
  return m;
56
1533
  }
57
1534
  constructor(kwargs) {
@@ -62,18 +1539,15 @@ class GetBusinessQuestionsAnswersResponse {
62
1539
  }
63
1540
  toApiJson() {
64
1541
  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;
1542
+ if (typeof this.isCreated !== 'undefined') {
1543
+ toReturn['isCreated'] = this.isCreated;
70
1544
  }
71
1545
  return toReturn;
72
1546
  }
73
1547
  }
74
- class QuestionsAnswers {
1548
+ class MMugotDeleteTaskRequest {
75
1549
  static fromProto(proto) {
76
- let m = new QuestionsAnswers();
1550
+ let m = new MMugotDeleteTaskRequest();
77
1551
  m = Object.assign(m, proto);
78
1552
  return m;
79
1553
  }
@@ -85,25 +1559,16 @@ class QuestionsAnswers {
85
1559
  }
86
1560
  toApiJson() {
87
1561
  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;
1562
+ if (typeof this.taskId !== 'undefined') {
1563
+ toReturn['taskId'] = this.taskId;
93
1564
  }
94
1565
  return toReturn;
95
1566
  }
96
1567
  }
97
- class ReplaceBusinessQuestionsAnswersRequest {
1568
+ class MMugotGetTaskRequest {
98
1569
  static fromProto(proto) {
99
- let m = new ReplaceBusinessQuestionsAnswersRequest();
1570
+ let m = new MMugotGetTaskRequest();
100
1571
  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);
106
- }
107
1572
  return m;
108
1573
  }
109
1574
  constructor(kwargs) {
@@ -114,23 +1579,19 @@ class ReplaceBusinessQuestionsAnswersRequest {
114
1579
  }
115
1580
  toApiJson() {
116
1581
  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;
1582
+ if (typeof this.taskId !== 'undefined') {
1583
+ toReturn['taskId'] = this.taskId;
125
1584
  }
126
1585
  return toReturn;
127
1586
  }
128
1587
  }
129
-
130
- class CreateLFossenierTaskRequest {
1588
+ class MMugotGetTaskResponse {
131
1589
  static fromProto(proto) {
132
- let m = new CreateLFossenierTaskRequest();
1590
+ let m = new MMugotGetTaskResponse();
133
1591
  m = Object.assign(m, proto);
1592
+ if (proto.task) {
1593
+ m.task = MMugotTask.fromProto(proto.task);
1594
+ }
134
1595
  return m;
135
1596
  }
136
1597
  constructor(kwargs) {
@@ -141,15 +1602,15 @@ class CreateLFossenierTaskRequest {
141
1602
  }
142
1603
  toApiJson() {
143
1604
  const toReturn = {};
144
- if (typeof this.taskName !== 'undefined') {
145
- toReturn['taskName'] = this.taskName;
1605
+ if (typeof this.task !== 'undefined' && this.task !== null) {
1606
+ toReturn['task'] = 'toApiJson' in this.task ? this.task.toApiJson() : this.task;
146
1607
  }
147
1608
  return toReturn;
148
1609
  }
149
1610
  }
150
- class DeleteLFossenierTaskRequest {
1611
+ class MMugotListTasksRequest {
151
1612
  static fromProto(proto) {
152
- let m = new DeleteLFossenierTaskRequest();
1613
+ let m = new MMugotListTasksRequest();
153
1614
  m = Object.assign(m, proto);
154
1615
  return m;
155
1616
  }
@@ -161,19 +1622,39 @@ class DeleteLFossenierTaskRequest {
161
1622
  }
162
1623
  toApiJson() {
163
1624
  const toReturn = {};
164
- if (typeof this.taskId !== 'undefined') {
165
- toReturn['taskId'] = this.taskId;
1625
+ return toReturn;
1626
+ }
1627
+ }
1628
+ class MMugotListTasksResponse {
1629
+ static fromProto(proto) {
1630
+ let m = new MMugotListTasksResponse();
1631
+ m = Object.assign(m, proto);
1632
+ if (proto.tasks) {
1633
+ m.tasks = proto.tasks.map(MMugotTask.fromProto);
166
1634
  }
167
- if (typeof this.taskName !== 'undefined') {
168
- toReturn['taskName'] = this.taskName;
1635
+ return m;
1636
+ }
1637
+ constructor(kwargs) {
1638
+ if (!kwargs) {
1639
+ return;
1640
+ }
1641
+ Object.assign(this, kwargs);
1642
+ }
1643
+ toApiJson() {
1644
+ const toReturn = {};
1645
+ if (typeof this.tasks !== 'undefined' && this.tasks !== null) {
1646
+ toReturn['tasks'] = 'toApiJson' in this.tasks ? this.tasks.toApiJson() : this.tasks;
169
1647
  }
170
1648
  return toReturn;
171
1649
  }
172
1650
  }
173
- class FinishLFossenierTaskRequest {
1651
+ class MMugotTask {
174
1652
  static fromProto(proto) {
175
- let m = new FinishLFossenierTaskRequest();
1653
+ let m = new MMugotTask();
176
1654
  m = Object.assign(m, proto);
1655
+ if (proto.dueDate) {
1656
+ m.dueDate = new Date(proto.dueDate);
1657
+ }
177
1658
  return m;
178
1659
  }
179
1660
  constructor(kwargs) {
@@ -184,22 +1665,34 @@ class FinishLFossenierTaskRequest {
184
1665
  }
185
1666
  toApiJson() {
186
1667
  const toReturn = {};
1668
+ if (typeof this.taskName !== 'undefined') {
1669
+ toReturn['taskName'] = this.taskName;
1670
+ }
1671
+ if (typeof this.taskDescription !== 'undefined') {
1672
+ toReturn['taskDescription'] = this.taskDescription;
1673
+ }
1674
+ if (typeof this.isComplete !== 'undefined') {
1675
+ toReturn['isComplete'] = this.isComplete;
1676
+ }
187
1677
  if (typeof this.taskId !== 'undefined') {
188
1678
  toReturn['taskId'] = this.taskId;
189
1679
  }
190
- if (typeof this.taskName !== 'undefined') {
191
- toReturn['taskName'] = this.taskName;
1680
+ if (typeof this.isDeleted !== 'undefined') {
1681
+ toReturn['isDeleted'] = this.isDeleted;
192
1682
  }
193
- if (typeof this.finished !== 'undefined') {
194
- toReturn['finished'] = this.finished;
1683
+ if (typeof this.dueDate !== 'undefined' && this.dueDate !== null) {
1684
+ toReturn['dueDate'] = 'toApiJson' in this.dueDate ? this.dueDate.toApiJson() : this.dueDate;
195
1685
  }
196
1686
  return toReturn;
197
1687
  }
198
1688
  }
199
- class LoadLFossenierTaskRequest {
1689
+ class UpdateHdoTodoRequest {
200
1690
  static fromProto(proto) {
201
- let m = new LoadLFossenierTaskRequest();
1691
+ let m = new UpdateHdoTodoRequest();
202
1692
  m = Object.assign(m, proto);
1693
+ if (proto.todo) {
1694
+ m.todo = HdoTodoItem.fromProto(proto.todo);
1695
+ }
203
1696
  return m;
204
1697
  }
205
1698
  constructor(kwargs) {
@@ -210,18 +1703,18 @@ class LoadLFossenierTaskRequest {
210
1703
  }
211
1704
  toApiJson() {
212
1705
  const toReturn = {};
213
- if (typeof this.finished !== 'undefined') {
214
- toReturn['finished'] = this.finished;
1706
+ if (typeof this.todo !== 'undefined' && this.todo !== null) {
1707
+ toReturn['todo'] = 'toApiJson' in this.todo ? this.todo.toApiJson() : this.todo;
215
1708
  }
216
1709
  return toReturn;
217
1710
  }
218
1711
  }
219
- class LoadLFossenierTaskResponse {
1712
+ class UpdateHdoTodoResponse {
220
1713
  static fromProto(proto) {
221
- let m = new LoadLFossenierTaskResponse();
1714
+ let m = new UpdateHdoTodoResponse();
222
1715
  m = Object.assign(m, proto);
223
- if (proto.todoTasks) {
224
- m.todoTasks = proto.todoTasks.map(TodoTaskMessage.fromProto);
1716
+ if (proto.todo) {
1717
+ m.todo = HdoTodoItem.fromProto(proto.todo);
225
1718
  }
226
1719
  return m;
227
1720
  }
@@ -233,15 +1726,15 @@ class LoadLFossenierTaskResponse {
233
1726
  }
234
1727
  toApiJson() {
235
1728
  const toReturn = {};
236
- if (typeof this.todoTasks !== 'undefined' && this.todoTasks !== null) {
237
- toReturn['todoTasks'] = 'toApiJson' in this.todoTasks ? this.todoTasks.toApiJson() : this.todoTasks;
1729
+ if (typeof this.todo !== 'undefined' && this.todo !== null) {
1730
+ toReturn['todo'] = 'toApiJson' in this.todo ? this.todo.toApiJson() : this.todo;
238
1731
  }
239
1732
  return toReturn;
240
1733
  }
241
1734
  }
242
- class TodoTaskMessage {
1735
+ class WHorrellTask {
243
1736
  static fromProto(proto) {
244
- let m = new TodoTaskMessage();
1737
+ let m = new WHorrellTask();
245
1738
  m = Object.assign(m, proto);
246
1739
  return m;
247
1740
  }
@@ -253,14 +1746,20 @@ class TodoTaskMessage {
253
1746
  }
254
1747
  toApiJson() {
255
1748
  const toReturn = {};
256
- if (typeof this.taskNames !== 'undefined') {
257
- toReturn['taskNames'] = this.taskNames;
1749
+ if (typeof this.id !== 'undefined') {
1750
+ toReturn['id'] = this.id;
258
1751
  }
259
- if (typeof this.finished !== 'undefined') {
260
- toReturn['finished'] = this.finished;
1752
+ if (typeof this.name !== 'undefined') {
1753
+ toReturn['name'] = this.name;
261
1754
  }
262
- if (typeof this.taskId !== 'undefined') {
263
- toReturn['taskId'] = this.taskId;
1755
+ if (typeof this.description !== 'undefined') {
1756
+ toReturn['description'] = this.description;
1757
+ }
1758
+ if (typeof this.isCompleted !== 'undefined') {
1759
+ toReturn['isCompleted'] = this.isCompleted;
1760
+ }
1761
+ if (typeof this.isDeleted !== 'undefined') {
1762
+ toReturn['isDeleted'] = this.isDeleted;
264
1763
  }
265
1764
  return toReturn;
266
1765
  }
@@ -291,6 +1790,54 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImpor
291
1790
  args: [{ providedIn: 'root' }]
292
1791
  }] });
293
1792
 
1793
+ // *********************************
1794
+ class AHundalToDoProjectApiService {
1795
+ constructor(http, hostService) {
1796
+ this.http = http;
1797
+ this.hostService = hostService;
1798
+ this._host = this.hostService.hostWithScheme;
1799
+ }
1800
+ apiOptions() {
1801
+ return {
1802
+ headers: new HttpHeaders({
1803
+ 'Content-Type': 'application/json'
1804
+ }),
1805
+ withCredentials: true
1806
+ };
1807
+ }
1808
+ aHundalGetTasks(r) {
1809
+ const request = (r.toApiJson) ? r : new AHundalGetTasksRequest(r);
1810
+ return this.http.post(this._host + "/developertraining.v1.AHundalToDoProject/AHundalGetTasks", request.toApiJson(), this.apiOptions())
1811
+ .pipe(map(resp => AHundalGetTasksResponse.fromProto(resp)));
1812
+ }
1813
+ aHundalAddTask(r) {
1814
+ const request = (r.toApiJson) ? r : new AHundalAddTaskRequest(r);
1815
+ return this.http.post(this._host + "/developertraining.v1.AHundalToDoProject/AHundalAddTask", request.toApiJson(), this.apiOptions())
1816
+ .pipe(map(resp => AHundalAddTaskResponse.fromProto(resp)));
1817
+ }
1818
+ aHundalEditTask(r) {
1819
+ const request = (r.toApiJson) ? r : new AHundalEditTaskRequest(r);
1820
+ return this.http.post(this._host + "/developertraining.v1.AHundalToDoProject/AHundalEditTask", request.toApiJson(), this.apiOptions())
1821
+ .pipe(map(resp => AHundalEditTaskResponse.fromProto(resp)));
1822
+ }
1823
+ aHundalDeleteTask(r) {
1824
+ const request = (r.toApiJson) ? r : new AHundalDeleteTaskRequest(r);
1825
+ return this.http.post(this._host + "/developertraining.v1.AHundalToDoProject/AHundalDeleteTask", request.toApiJson(), this.apiOptions())
1826
+ .pipe(map(resp => AHundalDeleteTaskResponse.fromProto(resp)));
1827
+ }
1828
+ aHundalGetSpecificTask(r) {
1829
+ const request = (r.toApiJson) ? r : new AHundalGetSpecificTaskRequest(r);
1830
+ return this.http.post(this._host + "/developertraining.v1.AHundalToDoProject/AHundalGetSpecificTask", request.toApiJson(), this.apiOptions())
1831
+ .pipe(map(resp => AHundalGetSpecificTaskResponse.fromProto(resp)));
1832
+ }
1833
+ }
1834
+ 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 });
1835
+ AHundalToDoProjectApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: AHundalToDoProjectApiService, providedIn: 'root' });
1836
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: AHundalToDoProjectApiService, decorators: [{
1837
+ type: Injectable,
1838
+ args: [{ providedIn: 'root' }]
1839
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
1840
+
294
1841
  // *********************************
295
1842
  class BusinessQAApiService {
296
1843
  constructor(http, hostService) {
@@ -323,6 +1870,101 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImpor
323
1870
  args: [{ providedIn: 'root' }]
324
1871
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
325
1872
 
1873
+ // *********************************
1874
+ class HdoTodoApiService {
1875
+ constructor(http, hostService) {
1876
+ this.http = http;
1877
+ this.hostService = hostService;
1878
+ this._host = this.hostService.hostWithScheme;
1879
+ }
1880
+ apiOptions() {
1881
+ return {
1882
+ headers: new HttpHeaders({
1883
+ 'Content-Type': 'application/json'
1884
+ }),
1885
+ withCredentials: true
1886
+ };
1887
+ }
1888
+ createHdoTodo(r) {
1889
+ const request = (r.toApiJson) ? r : new CreateHdoTodoRequest(r);
1890
+ return this.http.post(this._host + "/developertraining.v1.HdoTodoService/CreateHdoTodo", request.toApiJson(), this.apiOptions())
1891
+ .pipe(map(resp => CreateHdoTodoResponse.fromProto(resp)));
1892
+ }
1893
+ deleteHdoTodo(r) {
1894
+ const request = (r.toApiJson) ? r : new DeleteHdoTodoRequest(r);
1895
+ return this.http.post(this._host + "/developertraining.v1.HdoTodoService/DeleteHdoTodo", request.toApiJson(), { ...this.apiOptions(), observe: 'response' });
1896
+ }
1897
+ listHdoTodos(r) {
1898
+ const request = (r.toApiJson) ? r : new ListHdoTodoRequest(r);
1899
+ return this.http.post(this._host + "/developertraining.v1.HdoTodoService/ListHdoTodos", request.toApiJson(), this.apiOptions())
1900
+ .pipe(map(resp => ListHdoTodoResponse.fromProto(resp)));
1901
+ }
1902
+ updateHdoTodo(r) {
1903
+ const request = (r.toApiJson) ? r : new UpdateHdoTodoRequest(r);
1904
+ return this.http.post(this._host + "/developertraining.v1.HdoTodoService/UpdateHdoTodo", request.toApiJson(), this.apiOptions())
1905
+ .pipe(map(resp => UpdateHdoTodoResponse.fromProto(resp)));
1906
+ }
1907
+ getHdoTodo(r) {
1908
+ const request = (r.toApiJson) ? r : new GetHdoTodoRequest(r);
1909
+ return this.http.post(this._host + "/developertraining.v1.HdoTodoService/GetHdoTodo", request.toApiJson(), this.apiOptions())
1910
+ .pipe(map(resp => GetHdoTodoResponse.fromProto(resp)));
1911
+ }
1912
+ }
1913
+ 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 });
1914
+ HdoTodoApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: HdoTodoApiService, providedIn: 'root' });
1915
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: HdoTodoApiService, decorators: [{
1916
+ type: Injectable,
1917
+ args: [{ providedIn: 'root' }]
1918
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
1919
+
1920
+ // *********************************
1921
+ class IOlaleyeToDoQAApiService {
1922
+ constructor(http, hostService) {
1923
+ this.http = http;
1924
+ this.hostService = hostService;
1925
+ this._host = this.hostService.hostWithScheme;
1926
+ }
1927
+ apiOptions() {
1928
+ return {
1929
+ headers: new HttpHeaders({
1930
+ 'Content-Type': 'application/json'
1931
+ }),
1932
+ withCredentials: true
1933
+ };
1934
+ }
1935
+ iOlaleyeCreateTask(r) {
1936
+ const request = (r.toApiJson) ? r : new IOlaleyeCreateTaskRequest(r);
1937
+ return this.http.post(this._host + "/developertraining.v1.IOlaleyeToDoQA/IOlaleyeCreateTask", request.toApiJson(), this.apiOptions())
1938
+ .pipe(map(resp => IOlaleyeCreateTaskResponse.fromProto(resp)));
1939
+ }
1940
+ iOlaleyeEditTask(r) {
1941
+ const request = (r.toApiJson) ? r : new IOlaleyeEditTaskRequest(r);
1942
+ return this.http.post(this._host + "/developertraining.v1.IOlaleyeToDoQA/IOlaleyeEditTask", request.toApiJson(), this.apiOptions())
1943
+ .pipe(map(resp => IOlaleyeEditTaskResponse.fromProto(resp)));
1944
+ }
1945
+ iOlaleyeDeleteTask(r) {
1946
+ const request = (r.toApiJson) ? r : new IOlaleyeDeleteTaskRequest(r);
1947
+ return this.http.post(this._host + "/developertraining.v1.IOlaleyeToDoQA/IOlaleyeDeleteTask", request.toApiJson(), this.apiOptions())
1948
+ .pipe(map(resp => IOlaleyeDeleteTaskResponse.fromProto(resp)));
1949
+ }
1950
+ iOlaleyeGetTask(r) {
1951
+ const request = (r.toApiJson) ? r : new IOlaleyeGetTaskRequest(r);
1952
+ return this.http.post(this._host + "/developertraining.v1.IOlaleyeToDoQA/IOlaleyeGetTask", request.toApiJson(), this.apiOptions())
1953
+ .pipe(map(resp => IOlaleyeGetTaskResponse.fromProto(resp)));
1954
+ }
1955
+ iOlaleyeListTasks(r) {
1956
+ const request = (r.toApiJson) ? r : new IOlaleyeListTasksRequest(r);
1957
+ return this.http.post(this._host + "/developertraining.v1.IOlaleyeToDoQA/IOlaleyeListTasks", request.toApiJson(), this.apiOptions())
1958
+ .pipe(map(resp => IOlaleyeListTasksResponse.fromProto(resp)));
1959
+ }
1960
+ }
1961
+ 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 });
1962
+ IOlaleyeToDoQAApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: IOlaleyeToDoQAApiService, providedIn: 'root' });
1963
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: IOlaleyeToDoQAApiService, decorators: [{
1964
+ type: Injectable,
1965
+ args: [{ providedIn: 'root' }]
1966
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
1967
+
326
1968
  // *********************************
327
1969
  class LFossenierTodoApiService {
328
1970
  constructor(http, hostService) {
@@ -346,9 +1988,9 @@ class LFossenierTodoApiService {
346
1988
  const request = (r.toApiJson) ? r : new DeleteLFossenierTaskRequest(r);
347
1989
  return this.http.post(this._host + "/developertraining.v1.LFossenierTodo/DeleteLFossenierTask", request.toApiJson(), { ...this.apiOptions(), observe: 'response' });
348
1990
  }
349
- finishLFossenierTask(r) {
350
- const request = (r.toApiJson) ? r : new FinishLFossenierTaskRequest(r);
351
- return this.http.post(this._host + "/developertraining.v1.LFossenierTodo/FinishLFossenierTask", request.toApiJson(), { ...this.apiOptions(), observe: 'response' });
1991
+ toggleFinishedLFossenierTask(r) {
1992
+ const request = (r.toApiJson) ? r : new ToggleFinishedLFossenierTaskRequest(r);
1993
+ return this.http.post(this._host + "/developertraining.v1.LFossenierTodo/ToggleFinishedLFossenierTask", request.toApiJson(), { ...this.apiOptions(), observe: 'response' });
352
1994
  }
353
1995
  loadLFossenierTask(r) {
354
1996
  const request = (r.toApiJson) ? r : new LoadLFossenierTaskRequest(r);
@@ -363,11 +2005,148 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImpor
363
2005
  args: [{ providedIn: 'root' }]
364
2006
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
365
2007
 
2008
+ // *********************************
2009
+ class MMugotListQAApiService {
2010
+ constructor(http, hostService) {
2011
+ this.http = http;
2012
+ this.hostService = hostService;
2013
+ this._host = this.hostService.hostWithScheme;
2014
+ }
2015
+ apiOptions() {
2016
+ return {
2017
+ headers: new HttpHeaders({
2018
+ 'Content-Type': 'application/json'
2019
+ }),
2020
+ withCredentials: true
2021
+ };
2022
+ }
2023
+ createTask(r) {
2024
+ const request = (r.toApiJson) ? r : new MMugotCreateTaskRequest(r);
2025
+ return this.http.post(this._host + "/developertraining.v1.MMugotListQA/CreateTask", request.toApiJson(), this.apiOptions())
2026
+ .pipe(map(resp => MMugotCreateTaskResponse.fromProto(resp)));
2027
+ }
2028
+ getTask(r) {
2029
+ const request = (r.toApiJson) ? r : new MMugotGetTaskRequest(r);
2030
+ return this.http.post(this._host + "/developertraining.v1.MMugotListQA/GetTask", request.toApiJson(), this.apiOptions())
2031
+ .pipe(map(resp => MMugotGetTaskResponse.fromProto(resp)));
2032
+ }
2033
+ deleteTask(r) {
2034
+ const request = (r.toApiJson) ? r : new MMugotDeleteTaskRequest(r);
2035
+ return this.http.post(this._host + "/developertraining.v1.MMugotListQA/DeleteTask", request.toApiJson(), { ...this.apiOptions(), observe: 'response' });
2036
+ }
2037
+ listTasks(r) {
2038
+ const request = (r.toApiJson) ? r : new MMugotListTasksRequest(r);
2039
+ return this.http.post(this._host + "/developertraining.v1.MMugotListQA/ListTasks", request.toApiJson(), this.apiOptions())
2040
+ .pipe(map(resp => MMugotListTasksResponse.fromProto(resp)));
2041
+ }
2042
+ }
2043
+ 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 });
2044
+ MMugotListQAApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MMugotListQAApiService, providedIn: 'root' });
2045
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MMugotListQAApiService, decorators: [{
2046
+ type: Injectable,
2047
+ args: [{ providedIn: 'root' }]
2048
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
2049
+
2050
+ // *********************************
2051
+ class TKabakovToDoApiService {
2052
+ constructor(http, hostService) {
2053
+ this.http = http;
2054
+ this.hostService = hostService;
2055
+ this._host = this.hostService.hostWithScheme;
2056
+ }
2057
+ apiOptions() {
2058
+ return {
2059
+ headers: new HttpHeaders({
2060
+ 'Content-Type': 'application/json'
2061
+ }),
2062
+ withCredentials: true
2063
+ };
2064
+ }
2065
+ tKabakovGetToDoItem(r) {
2066
+ const request = (r.toApiJson) ? r : new TKabakovGetToDoItemRequest(r);
2067
+ return this.http.post(this._host + "/developertraining.v1.TKabakovToDo/TKabakovGetToDoItem", request.toApiJson(), this.apiOptions())
2068
+ .pipe(map(resp => TKabakovGetToDoItemResponse.fromProto(resp)));
2069
+ }
2070
+ tKabakovAddToDoItem(r) {
2071
+ const request = (r.toApiJson) ? r : new TKabakovAddToDoItemRequest(r);
2072
+ return this.http.post(this._host + "/developertraining.v1.TKabakovToDo/TKabakovAddToDoItem", request.toApiJson(), this.apiOptions())
2073
+ .pipe(map(resp => TKabakovAddToDoItemResponse.fromProto(resp)));
2074
+ }
2075
+ tKabakovDeleteToDoItem(r) {
2076
+ const request = (r.toApiJson) ? r : new TKabakovDeleteToDoItemRequest(r);
2077
+ return this.http.post(this._host + "/developertraining.v1.TKabakovToDo/TKabakovDeleteToDoItem", request.toApiJson(), this.apiOptions())
2078
+ .pipe(map(resp => TKabakovDeleteToDoItemResponse.fromProto(resp)));
2079
+ }
2080
+ tKabakovUpdateToDoItem(r) {
2081
+ const request = (r.toApiJson) ? r : new TKabakovUpdateToDoItemRequest(r);
2082
+ return this.http.post(this._host + "/developertraining.v1.TKabakovToDo/TKabakovUpdateToDoItem", request.toApiJson(), this.apiOptions())
2083
+ .pipe(map(resp => TKabakovUpdateToDoItemResponse.fromProto(resp)));
2084
+ }
2085
+ tKabakovListToDoItems(r) {
2086
+ const request = (r.toApiJson) ? r : new TKabakovListToDoItemsRequest(r);
2087
+ return this.http.post(this._host + "/developertraining.v1.TKabakovToDo/TKabakovListToDoItems", request.toApiJson(), this.apiOptions())
2088
+ .pipe(map(resp => TKabakovListToDoItemsResponse.fromProto(resp)));
2089
+ }
2090
+ }
2091
+ 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 });
2092
+ TKabakovToDoApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: TKabakovToDoApiService, providedIn: 'root' });
2093
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: TKabakovToDoApiService, decorators: [{
2094
+ type: Injectable,
2095
+ args: [{ providedIn: 'root' }]
2096
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
2097
+
2098
+ // *********************************
2099
+ class WHorrellToDoApiService {
2100
+ constructor(http, hostService) {
2101
+ this.http = http;
2102
+ this.hostService = hostService;
2103
+ this._host = this.hostService.hostWithScheme;
2104
+ }
2105
+ apiOptions() {
2106
+ return {
2107
+ headers: new HttpHeaders({
2108
+ 'Content-Type': 'application/json'
2109
+ }),
2110
+ withCredentials: true
2111
+ };
2112
+ }
2113
+ createWHorrellTask(r) {
2114
+ const request = (r.toApiJson) ? r : new CreateWHorrellTaskRequest(r);
2115
+ return this.http.post(this._host + "/developertraining.v1.WHorrellToDoService/CreateWHorrellTask", request.toApiJson(), this.apiOptions())
2116
+ .pipe(map(resp => CreateWHorrellTaskResponse.fromProto(resp)));
2117
+ }
2118
+ editWHorrellTask(r) {
2119
+ const request = (r.toApiJson) ? r : new EditWHorrellTaskRequest(r);
2120
+ return this.http.post(this._host + "/developertraining.v1.WHorrellToDoService/EditWHorrellTask", request.toApiJson(), this.apiOptions())
2121
+ .pipe(map(resp => EditWHorrellTaskResponse.fromProto(resp)));
2122
+ }
2123
+ deleteWHorrellTask(r) {
2124
+ const request = (r.toApiJson) ? r : new DeleteWHorrellTaskRequest(r);
2125
+ return this.http.post(this._host + "/developertraining.v1.WHorrellToDoService/DeleteWHorrellTask", request.toApiJson(), { ...this.apiOptions(), observe: 'response' });
2126
+ }
2127
+ getWHorrellTask(r) {
2128
+ const request = (r.toApiJson) ? r : new GetWHorrellTaskRequest(r);
2129
+ return this.http.post(this._host + "/developertraining.v1.WHorrellToDoService/GetWHorrellTask", request.toApiJson(), this.apiOptions())
2130
+ .pipe(map(resp => GetWHorrellTaskResponse.fromProto(resp)));
2131
+ }
2132
+ listWHorrellTasks(r) {
2133
+ const request = (r.toApiJson) ? r : new ListWHorrellTasksRequest(r);
2134
+ return this.http.post(this._host + "/developertraining.v1.WHorrellToDoService/ListWHorrellTasks", request.toApiJson(), this.apiOptions())
2135
+ .pipe(map(resp => ListWHorrellTasksResponse.fromProto(resp)));
2136
+ }
2137
+ }
2138
+ 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 });
2139
+ WHorrellToDoApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: WHorrellToDoApiService, providedIn: 'root' });
2140
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: WHorrellToDoApiService, decorators: [{
2141
+ type: Injectable,
2142
+ args: [{ providedIn: 'root' }]
2143
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
2144
+
366
2145
  // *********************************
367
2146
 
368
2147
  /**
369
2148
  * Generated bundle index. Do not edit.
370
2149
  */
371
2150
 
372
- export { BusinessQAApiService, CreateLFossenierTaskRequest, DeleteLFossenierTaskRequest, FieldMask, FinishLFossenierTaskRequest, GetBusinessQuestionsAnswersRequest, GetBusinessQuestionsAnswersResponse, LFossenierTodoApiService, LoadLFossenierTaskRequest, LoadLFossenierTaskResponse, QuestionsAnswers, ReplaceBusinessQuestionsAnswersRequest, TodoTaskMessage };
2151
+ export { AHundalAddTaskRequest, AHundalAddTaskResponse, AHundalDeleteTaskRequest, AHundalDeleteTaskResponse, AHundalEditTaskRequest, AHundalEditTaskResponse, AHundalGetSpecificTaskRequest, AHundalGetSpecificTaskResponse, AHundalGetTasksRequest, AHundalGetTasksResponse, AHundalTask, AHundalToDoProjectApiService, Access, BusinessQAApiService, CreateHdoTodoRequest, CreateHdoTodoResponse, CreateLFossenierTaskRequest, CreateWHorrellTaskRequest, CreateWHorrellTaskResponse, DeleteHdoTodoRequest, DeleteHdoTodoResponse, DeleteLFossenierTaskRequest, DeleteWHorrellTaskRequest, EditWHorrellTaskRequest, EditWHorrellTaskResponse, FieldMask, GetBusinessQuestionsAnswersRequest, GetBusinessQuestionsAnswersResponse, 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, QuestionsAnswers, ReplaceBusinessQuestionsAnswersRequest, TKabakovAddToDoItemRequest, TKabakovAddToDoItemResponse, TKabakovDeleteToDoItemRequest, TKabakovDeleteToDoItemResponse, TKabakovGetToDoItemRequest, TKabakovGetToDoItemResponse, TKabakovListToDoItemsRequest, TKabakovListToDoItemsResponse, TKabakovToDoApiService, TKabakovToDoId, TKabakovToDoItem, TKabakovUpdateToDoItemRequest, TKabakovUpdateToDoItemResponse, Task, TodoTaskMessage, ToggleFinishedLFossenierTaskRequest, UpdateHdoTodoRequest, UpdateHdoTodoResponse, WHorrellTask, WHorrellToDoApiService };
373
2152
  //# sourceMappingURL=vendasta-developer-training.mjs.map