@fivenet-app/gen 2025.9.1 → 2026.4.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 (134) hide show
  1. package/README.md +1 -1
  2. package/clients.ts +36 -0
  3. package/codegen/perms/perms.ts +186 -15
  4. package/codegen/sanitizer/sanitizer.ts +34 -1
  5. package/package.json +2 -2
  6. package/perms.ts +140 -8
  7. package/resources/accounts/accounts.ts +98 -31
  8. package/resources/accounts/{oauth2.ts → oauth2/oauth2.ts} +20 -20
  9. package/resources/audit/audit.ts +156 -38
  10. package/resources/calendar/{access.ts → access/access.ts} +30 -30
  11. package/resources/calendar/calendar.ts +17 -477
  12. package/resources/calendar/entries/entries.ts +474 -0
  13. package/resources/centrum/{access.ts → access/access.ts} +22 -22
  14. package/resources/centrum/{dispatchers.ts → dispatchers/dispatchers.ts} +14 -14
  15. package/resources/centrum/{dispatches.ts → dispatches/dispatches.ts} +151 -185
  16. package/resources/centrum/joblist.ts +136 -0
  17. package/resources/centrum/{settings.ts → settings/settings.ts} +70 -70
  18. package/resources/centrum/{units_access.ts → units/access/access.ts} +30 -30
  19. package/resources/centrum/{units.ts → units/units.ts} +131 -51
  20. package/resources/citizens/labels/labels.ts +526 -0
  21. package/resources/{users → citizens/licenses}/licenses.ts +17 -17
  22. package/resources/clientconfig/clientconfig.ts +126 -258
  23. package/resources/collab/collab.ts +4 -16
  24. package/resources/common/content/content.ts +108 -85
  25. package/resources/common/content/diff_activity.ts +267 -0
  26. package/resources/common/i18n.ts +2 -2
  27. package/resources/{common/cron → cron}/cron.ts +43 -43
  28. package/resources/documents/{access.ts → access/access.ts} +29 -52
  29. package/resources/documents/{activity.ts → activity/activity.ts} +171 -123
  30. package/resources/documents/approval/approval.ts +945 -0
  31. package/resources/documents/{category.ts → category/category.ts} +7 -7
  32. package/resources/documents/{comment.ts → comment/comment.ts} +10 -10
  33. package/resources/documents/data/data.ts +303 -0
  34. package/resources/documents/documents.ts +282 -667
  35. package/resources/{common/uuid.ts → documents/forms/forms.ts} +20 -20
  36. package/resources/documents/{pins.ts → pins/pins.ts} +5 -5
  37. package/resources/documents/references/references.ts +187 -0
  38. package/resources/documents/relations/relations.ts +184 -0
  39. package/resources/documents/{requests.ts → requests/requests.ts} +18 -18
  40. package/resources/documents/stamps/stamp.ts +355 -0
  41. package/resources/documents/{templates.ts → templates/templates.ts} +426 -84
  42. package/resources/documents/{workflow.ts → workflow/workflow.ts} +264 -26
  43. package/resources/file/filestore.ts +1 -1
  44. package/resources/{common/grpcws → grpcws}/grpcws.ts +52 -52
  45. package/resources/jobs/{activity.ts → colleagues/activity/activity.ts} +54 -54
  46. package/resources/jobs/{colleagues.ts → colleagues/colleagues.ts} +17 -28
  47. package/resources/jobs/{conduct.ts → conduct/conduct.ts} +70 -45
  48. package/resources/jobs/{labels.ts → labels/labels.ts} +34 -23
  49. package/resources/jobs/{job_props.ts → props/props.ts} +26 -38
  50. package/resources/jobs/{job_settings.ts → settings/settings.ts} +53 -53
  51. package/resources/jobs/{timeclock.ts → timeclock/timeclock.ts} +17 -17
  52. package/resources/livemap/{heatmap.ts → heatmap/heatmap.ts} +4 -4
  53. package/resources/livemap/{marker_marker.ts → markers/marker_marker.ts} +35 -35
  54. package/resources/livemap/{user_marker.ts → markers/user_marker.ts} +115 -36
  55. package/resources/mailer/{access.ts → access/access.ts} +67 -67
  56. package/resources/mailer/{email.ts → emails/email.ts} +19 -19
  57. package/resources/mailer/{events.ts → events/events.ts} +24 -24
  58. package/resources/mailer/{message.ts → messages/message.ts} +29 -29
  59. package/resources/mailer/{settings.ts → settings/settings.ts} +14 -13
  60. package/resources/mailer/{template.ts → templates/template.ts} +15 -15
  61. package/resources/mailer/{thread.ts → threads/thread.ts} +29 -29
  62. package/resources/notifications/{client_view.ts → clientview/clientview.ts} +22 -22
  63. package/resources/notifications/{events.ts → events/events.ts} +20 -20
  64. package/resources/notifications/notifications.ts +4 -4
  65. package/resources/permissions/{attributes.ts → attributes/attributes.ts} +42 -42
  66. package/resources/permissions/{events.ts → events/events.ts} +7 -7
  67. package/resources/permissions/{permissions.ts → permissions/permissions.ts} +30 -19
  68. package/resources/qualifications/{access.ts → access/access.ts} +19 -19
  69. package/resources/qualifications/{exam.ts → exam/exam.ts} +269 -141
  70. package/resources/qualifications/qualifications.ts +51 -179
  71. package/resources/settings/banner.ts +3 -3
  72. package/resources/settings/config.ts +527 -25
  73. package/resources/{documents/state.ts → settings/data.ts} +41 -20
  74. package/resources/settings/perms.ts +14 -14
  75. package/resources/stats/stats.ts +379 -0
  76. package/resources/sync/{activity.ts → activity/activity.ts} +104 -25
  77. package/resources/sync/{data.ts → data/data.ts} +405 -59
  78. package/resources/userinfo/{user_info.ts → userinfo.ts} +71 -93
  79. package/resources/users/{activity.ts → activity/activity.ts} +242 -101
  80. package/resources/users/{props.ts → props/props.ts} +91 -69
  81. package/resources/users/short/user.ts +184 -0
  82. package/resources/users/{users.ts → user.ts} +266 -195
  83. package/resources/vehicles/{activity.ts → activity/activity.ts} +20 -20
  84. package/resources/vehicles/{props.ts → props/props.ts} +28 -6
  85. package/resources/vehicles/vehicles.ts +20 -8
  86. package/resources/wiki/{access.ts → access/access.ts} +30 -30
  87. package/resources/wiki/{activity.ts → activity/activity.ts} +104 -70
  88. package/resources/wiki/page.ts +39 -15
  89. package/services/auth/auth.client.ts +23 -10
  90. package/services/auth/auth.ts +445 -262
  91. package/services/calendar/calendar.ts +56 -34
  92. package/services/centrum/centrum.ts +127 -127
  93. package/services/citizens/citizens.client.ts +0 -13
  94. package/services/citizens/citizens.ts +44 -134
  95. package/services/citizens/labels.client.ts +77 -0
  96. package/services/citizens/labels.ts +455 -0
  97. package/services/completor/completor.ts +36 -16
  98. package/services/documents/approval.client.ts +188 -0
  99. package/services/documents/approval.ts +1776 -0
  100. package/services/documents/documents.ts +164 -186
  101. package/services/documents/forms.client.ts +51 -0
  102. package/services/documents/forms.ts +232 -0
  103. package/services/documents/stamps.client.ts +77 -0
  104. package/services/documents/stamps.ts +481 -0
  105. package/services/documents/stats.client.ts +38 -0
  106. package/services/documents/stats.ts +245 -0
  107. package/services/jobs/conduct.client.ts +30 -3
  108. package/services/jobs/conduct.ts +159 -33
  109. package/services/jobs/jobs.ts +43 -43
  110. package/services/jobs/stats.client.ts +38 -0
  111. package/services/jobs/stats.ts +207 -0
  112. package/services/jobs/timeclock.ts +39 -39
  113. package/services/livemap/livemap.ts +18 -18
  114. package/services/mailer/mailer.ts +78 -78
  115. package/services/notifications/notifications.ts +35 -35
  116. package/services/qualifications/qualifications.ts +81 -46
  117. package/services/settings/accounts.client.ts +23 -10
  118. package/services/settings/accounts.ts +191 -30
  119. package/services/settings/cron.client.ts +13 -0
  120. package/services/settings/cron.ts +118 -5
  121. package/services/settings/laws.ts +1 -1
  122. package/services/settings/settings.ts +73 -52
  123. package/services/settings/system.client.ts +13 -0
  124. package/services/settings/system.ts +115 -15
  125. package/services/stats/stats.client.ts +7 -7
  126. package/services/stats/stats.ts +24 -24
  127. package/services/sync/sync.client.ts +271 -37
  128. package/services/sync/sync.ts +1525 -421
  129. package/services/vehicles/vehicles.ts +8 -8
  130. package/services/wiki/wiki.ts +8 -8
  131. package/svcs.ts +100 -6
  132. package/resources/centrum/attributes.ts +0 -183
  133. package/resources/documents/signoff.ts +0 -55
  134. package/resources/users/labels.ts +0 -160
@@ -12,13 +12,13 @@ import { WireType } from "@protobuf-ts/runtime";
12
12
  import type { PartialMessage } from "@protobuf-ts/runtime";
13
13
  import { reflectionMergePartial } from "@protobuf-ts/runtime";
14
14
  import { MessageType } from "@protobuf-ts/runtime";
15
- import { ObjectEvent } from "../../resources/notifications/client_view";
16
- import { MailerEvent } from "../../resources/mailer/events";
17
- import { SystemEvent } from "../../resources/notifications/events";
18
- import { JobGradeEvent } from "../../resources/notifications/events";
19
- import { JobEvent } from "../../resources/notifications/events";
20
- import { UserEvent } from "../../resources/notifications/events";
21
- import { ClientView } from "../../resources/notifications/client_view";
15
+ import { ObjectEvent } from "../../resources/notifications/clientview/clientview";
16
+ import { MailerEvent } from "../../resources/mailer/events/events";
17
+ import { SystemEvent } from "../../resources/notifications/events/events";
18
+ import { JobGradeEvent } from "../../resources/notifications/events/events";
19
+ import { JobEvent } from "../../resources/notifications/events/events";
20
+ import { UserEvent } from "../../resources/notifications/events/events";
21
+ import { ClientView } from "../../resources/notifications/clientview/clientview";
22
22
  import { Notification } from "../../resources/notifications/notifications";
23
23
  import { PaginationResponse } from "../../resources/common/database/database";
24
24
  import { NotificationCategory } from "../../resources/notifications/notifications";
@@ -87,11 +87,11 @@ export interface StreamRequest {
87
87
  * @generated from protobuf oneof: data
88
88
  */
89
89
  data: {
90
- oneofKind: "clientView";
90
+ oneofKind: "clientview";
91
91
  /**
92
- * @generated from protobuf field: resources.notifications.ClientView client_view = 1
92
+ * @generated from protobuf field: resources.notifications.clientview.ClientView clientview = 1
93
93
  */
94
- clientView: ClientView;
94
+ clientview: ClientView;
95
95
  } | {
96
96
  oneofKind: undefined;
97
97
  };
@@ -114,37 +114,37 @@ export interface StreamResponse {
114
114
  data: {
115
115
  oneofKind: "userEvent";
116
116
  /**
117
- * @generated from protobuf field: resources.notifications.UserEvent user_event = 3
117
+ * @generated from protobuf field: resources.notifications.events.UserEvent user_event = 3
118
118
  */
119
119
  userEvent: UserEvent;
120
120
  } | {
121
121
  oneofKind: "jobEvent";
122
122
  /**
123
- * @generated from protobuf field: resources.notifications.JobEvent job_event = 4
123
+ * @generated from protobuf field: resources.notifications.events.JobEvent job_event = 4
124
124
  */
125
125
  jobEvent: JobEvent;
126
126
  } | {
127
127
  oneofKind: "jobGradeEvent";
128
128
  /**
129
- * @generated from protobuf field: resources.notifications.JobGradeEvent job_grade_event = 5
129
+ * @generated from protobuf field: resources.notifications.events.JobGradeEvent job_grade_event = 5
130
130
  */
131
131
  jobGradeEvent: JobGradeEvent;
132
132
  } | {
133
133
  oneofKind: "systemEvent";
134
134
  /**
135
- * @generated from protobuf field: resources.notifications.SystemEvent system_event = 6
135
+ * @generated from protobuf field: resources.notifications.events.SystemEvent system_event = 6
136
136
  */
137
137
  systemEvent: SystemEvent;
138
138
  } | {
139
139
  oneofKind: "mailerEvent";
140
140
  /**
141
- * @generated from protobuf field: resources.mailer.MailerEvent mailer_event = 7
141
+ * @generated from protobuf field: resources.mailer.events.MailerEvent mailer_event = 7
142
142
  */
143
143
  mailerEvent: MailerEvent;
144
144
  } | {
145
145
  oneofKind: "objectEvent";
146
146
  /**
147
- * @generated from protobuf field: resources.notifications.ObjectEvent object_event = 8
147
+ * @generated from protobuf field: resources.notifications.clientview.ObjectEvent object_event = 8
148
148
  */
149
149
  objectEvent: ObjectEvent;
150
150
  } | {
@@ -395,7 +395,7 @@ export const MarkNotificationsResponse = new MarkNotificationsResponse$Type();
395
395
  class StreamRequest$Type extends MessageType<StreamRequest> {
396
396
  constructor() {
397
397
  super("services.notifications.StreamRequest", [
398
- { no: 1, name: "client_view", kind: "message", oneof: "data", T: () => ClientView }
398
+ { no: 1, name: "clientview", kind: "message", oneof: "data", T: () => ClientView }
399
399
  ]);
400
400
  }
401
401
  create(value?: PartialMessage<StreamRequest>): StreamRequest {
@@ -410,10 +410,10 @@ class StreamRequest$Type extends MessageType<StreamRequest> {
410
410
  while (reader.pos < end) {
411
411
  let [fieldNo, wireType] = reader.tag();
412
412
  switch (fieldNo) {
413
- case /* resources.notifications.ClientView client_view */ 1:
413
+ case /* resources.notifications.clientview.ClientView clientview */ 1:
414
414
  message.data = {
415
- oneofKind: "clientView",
416
- clientView: ClientView.internalBinaryRead(reader, reader.uint32(), options, (message.data as any).clientView)
415
+ oneofKind: "clientview",
416
+ clientview: ClientView.internalBinaryRead(reader, reader.uint32(), options, (message.data as any).clientview)
417
417
  };
418
418
  break;
419
419
  default:
@@ -428,9 +428,9 @@ class StreamRequest$Type extends MessageType<StreamRequest> {
428
428
  return message;
429
429
  }
430
430
  internalBinaryWrite(message: StreamRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
431
- /* resources.notifications.ClientView client_view = 1; */
432
- if (message.data.oneofKind === "clientView")
433
- ClientView.internalBinaryWrite(message.data.clientView, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
431
+ /* resources.notifications.clientview.ClientView clientview = 1; */
432
+ if (message.data.oneofKind === "clientview")
433
+ ClientView.internalBinaryWrite(message.data.clientview, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
434
434
  let u = options.writeUnknownFields;
435
435
  if (u !== false)
436
436
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -474,37 +474,37 @@ class StreamResponse$Type extends MessageType<StreamResponse> {
474
474
  case /* optional bool restart */ 2:
475
475
  message.restart = reader.bool();
476
476
  break;
477
- case /* resources.notifications.UserEvent user_event */ 3:
477
+ case /* resources.notifications.events.UserEvent user_event */ 3:
478
478
  message.data = {
479
479
  oneofKind: "userEvent",
480
480
  userEvent: UserEvent.internalBinaryRead(reader, reader.uint32(), options, (message.data as any).userEvent)
481
481
  };
482
482
  break;
483
- case /* resources.notifications.JobEvent job_event */ 4:
483
+ case /* resources.notifications.events.JobEvent job_event */ 4:
484
484
  message.data = {
485
485
  oneofKind: "jobEvent",
486
486
  jobEvent: JobEvent.internalBinaryRead(reader, reader.uint32(), options, (message.data as any).jobEvent)
487
487
  };
488
488
  break;
489
- case /* resources.notifications.JobGradeEvent job_grade_event */ 5:
489
+ case /* resources.notifications.events.JobGradeEvent job_grade_event */ 5:
490
490
  message.data = {
491
491
  oneofKind: "jobGradeEvent",
492
492
  jobGradeEvent: JobGradeEvent.internalBinaryRead(reader, reader.uint32(), options, (message.data as any).jobGradeEvent)
493
493
  };
494
494
  break;
495
- case /* resources.notifications.SystemEvent system_event */ 6:
495
+ case /* resources.notifications.events.SystemEvent system_event */ 6:
496
496
  message.data = {
497
497
  oneofKind: "systemEvent",
498
498
  systemEvent: SystemEvent.internalBinaryRead(reader, reader.uint32(), options, (message.data as any).systemEvent)
499
499
  };
500
500
  break;
501
- case /* resources.mailer.MailerEvent mailer_event */ 7:
501
+ case /* resources.mailer.events.MailerEvent mailer_event */ 7:
502
502
  message.data = {
503
503
  oneofKind: "mailerEvent",
504
504
  mailerEvent: MailerEvent.internalBinaryRead(reader, reader.uint32(), options, (message.data as any).mailerEvent)
505
505
  };
506
506
  break;
507
- case /* resources.notifications.ObjectEvent object_event */ 8:
507
+ case /* resources.notifications.clientview.ObjectEvent object_event */ 8:
508
508
  message.data = {
509
509
  oneofKind: "objectEvent",
510
510
  objectEvent: ObjectEvent.internalBinaryRead(reader, reader.uint32(), options, (message.data as any).objectEvent)
@@ -528,22 +528,22 @@ class StreamResponse$Type extends MessageType<StreamResponse> {
528
528
  /* optional bool restart = 2; */
529
529
  if (message.restart !== undefined)
530
530
  writer.tag(2, WireType.Varint).bool(message.restart);
531
- /* resources.notifications.UserEvent user_event = 3; */
531
+ /* resources.notifications.events.UserEvent user_event = 3; */
532
532
  if (message.data.oneofKind === "userEvent")
533
533
  UserEvent.internalBinaryWrite(message.data.userEvent, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
534
- /* resources.notifications.JobEvent job_event = 4; */
534
+ /* resources.notifications.events.JobEvent job_event = 4; */
535
535
  if (message.data.oneofKind === "jobEvent")
536
536
  JobEvent.internalBinaryWrite(message.data.jobEvent, writer.tag(4, WireType.LengthDelimited).fork(), options).join();
537
- /* resources.notifications.JobGradeEvent job_grade_event = 5; */
537
+ /* resources.notifications.events.JobGradeEvent job_grade_event = 5; */
538
538
  if (message.data.oneofKind === "jobGradeEvent")
539
539
  JobGradeEvent.internalBinaryWrite(message.data.jobGradeEvent, writer.tag(5, WireType.LengthDelimited).fork(), options).join();
540
- /* resources.notifications.SystemEvent system_event = 6; */
540
+ /* resources.notifications.events.SystemEvent system_event = 6; */
541
541
  if (message.data.oneofKind === "systemEvent")
542
542
  SystemEvent.internalBinaryWrite(message.data.systemEvent, writer.tag(6, WireType.LengthDelimited).fork(), options).join();
543
- /* resources.mailer.MailerEvent mailer_event = 7; */
543
+ /* resources.mailer.events.MailerEvent mailer_event = 7; */
544
544
  if (message.data.oneofKind === "mailerEvent")
545
545
  MailerEvent.internalBinaryWrite(message.data.mailerEvent, writer.tag(7, WireType.LengthDelimited).fork(), options).join();
546
- /* resources.notifications.ObjectEvent object_event = 8; */
546
+ /* resources.notifications.clientview.ObjectEvent object_event = 8; */
547
547
  if (message.data.oneofKind === "objectEvent")
548
548
  ObjectEvent.internalBinaryWrite(message.data.objectEvent, writer.tag(8, WireType.LengthDelimited).fork(), options).join();
549
549
  let u = options.writeUnknownFields;
@@ -15,16 +15,16 @@ import type { PartialMessage } from "@protobuf-ts/runtime";
15
15
  import { reflectionMergePartial } from "@protobuf-ts/runtime";
16
16
  import { MessageType } from "@protobuf-ts/runtime";
17
17
  import { Duration } from "../../google/protobuf/duration";
18
- import { ExamResponses } from "../../resources/qualifications/exam";
19
- import { ExamQuestions } from "../../resources/qualifications/exam";
20
- import { ExamUser } from "../../resources/qualifications/exam";
18
+ import { ExamResponses } from "../../resources/qualifications/exam/exam";
19
+ import { ExamQuestions } from "../../resources/qualifications/exam/exam";
20
+ import { ExamUser } from "../../resources/qualifications/exam/exam";
21
21
  import { QualificationShort } from "../../resources/qualifications/qualifications";
22
- import { ExamGrading } from "../../resources/qualifications/exam";
22
+ import { ExamGrading } from "../../resources/qualifications/exam/exam";
23
23
  import { QualificationResult } from "../../resources/qualifications/qualifications";
24
24
  import { ResultStatus } from "../../resources/qualifications/qualifications";
25
25
  import { QualificationRequest } from "../../resources/qualifications/qualifications";
26
26
  import { RequestStatus } from "../../resources/qualifications/qualifications";
27
- import { QualificationAccess } from "../../resources/qualifications/access";
27
+ import { QualificationAccess } from "../../resources/qualifications/access/access";
28
28
  import { ContentType } from "../../resources/common/content/content";
29
29
  import { Qualification } from "../../resources/qualifications/qualifications";
30
30
  import { PaginationResponse } from "../../resources/common/database/database";
@@ -138,7 +138,7 @@ export interface DeleteQualificationRequest {
138
138
  */
139
139
  export interface DeleteQualificationResponse {
140
140
  }
141
- // Access =====================================================================
141
+ // Access
142
142
 
143
143
  /**
144
144
  * @generated from protobuf message services.qualifications.GetQualificationAccessRequest
@@ -154,7 +154,7 @@ export interface GetQualificationAccessRequest {
154
154
  */
155
155
  export interface GetQualificationAccessResponse {
156
156
  /**
157
- * @generated from protobuf field: resources.qualifications.QualificationAccess access = 1
157
+ * @generated from protobuf field: resources.qualifications.access.QualificationAccess access = 1
158
158
  */
159
159
  access?: QualificationAccess;
160
160
  }
@@ -167,7 +167,7 @@ export interface SetQualificationAccessRequest {
167
167
  */
168
168
  qualificationId: number;
169
169
  /**
170
- * @generated from protobuf field: resources.qualifications.QualificationAccess access = 2
170
+ * @generated from protobuf field: resources.qualifications.access.QualificationAccess access = 2
171
171
  */
172
172
  access?: QualificationAccess;
173
173
  }
@@ -176,7 +176,7 @@ export interface SetQualificationAccessRequest {
176
176
  */
177
177
  export interface SetQualificationAccessResponse {
178
178
  }
179
- // Requests ===================================================================
179
+ // Requests
180
180
 
181
181
  /**
182
182
  * @generated from protobuf message services.qualifications.ListQualificationRequestsRequest
@@ -254,7 +254,7 @@ export interface DeleteQualificationReqRequest {
254
254
  */
255
255
  export interface DeleteQualificationReqResponse {
256
256
  }
257
- // Results ====================================================================
257
+ // Results
258
258
 
259
259
  /**
260
260
  * @generated from protobuf message services.qualifications.ListQualificationsResultsRequest
@@ -305,7 +305,7 @@ export interface CreateOrUpdateQualificationResultRequest {
305
305
  */
306
306
  result?: QualificationResult;
307
307
  /**
308
- * @generated from protobuf field: optional resources.qualifications.ExamGrading grading = 2
308
+ * @generated from protobuf field: optional resources.qualifications.exam.ExamGrading grading = 2
309
309
  */
310
310
  grading?: ExamGrading;
311
311
  }
@@ -332,7 +332,7 @@ export interface DeleteQualificationResultRequest {
332
332
  */
333
333
  export interface DeleteQualificationResultResponse {
334
334
  }
335
- // Exam =======================================================================
335
+ // Exam
336
336
 
337
337
  /**
338
338
  * @generated from protobuf message services.qualifications.GetExamInfoRequest
@@ -356,7 +356,7 @@ export interface GetExamInfoResponse {
356
356
  */
357
357
  questionCount: number;
358
358
  /**
359
- * @generated from protobuf field: optional resources.qualifications.ExamUser exam_user = 3
359
+ * @generated from protobuf field: optional resources.qualifications.exam.ExamUser exam_user = 3
360
360
  */
361
361
  examUser?: ExamUser;
362
362
  }
@@ -378,13 +378,21 @@ export interface TakeExamRequest {
378
378
  */
379
379
  export interface TakeExamResponse {
380
380
  /**
381
- * @generated from protobuf field: resources.qualifications.ExamQuestions exam = 1
381
+ * @generated from protobuf field: resources.qualifications.exam.ExamQuestions exam = 1
382
382
  */
383
383
  exam?: ExamQuestions;
384
384
  /**
385
- * @generated from protobuf field: resources.qualifications.ExamUser exam_user = 2
385
+ * @generated from protobuf field: resources.qualifications.exam.ExamUser exam_user = 2
386
386
  */
387
387
  examUser?: ExamUser;
388
+ /**
389
+ * @generated from protobuf field: resources.qualifications.exam.ExamResponses responses = 3
390
+ */
391
+ responses?: ExamResponses;
392
+ /**
393
+ * @generated from protobuf field: bool times_up = 4
394
+ */
395
+ timesUp: boolean;
388
396
  }
389
397
  /**
390
398
  * @generated from protobuf message services.qualifications.SubmitExamRequest
@@ -395,9 +403,13 @@ export interface SubmitExamRequest {
395
403
  */
396
404
  qualificationId: number;
397
405
  /**
398
- * @generated from protobuf field: resources.qualifications.ExamResponses responses = 2
406
+ * @generated from protobuf field: resources.qualifications.exam.ExamResponses responses = 2
399
407
  */
400
408
  responses?: ExamResponses;
409
+ /**
410
+ * @generated from protobuf field: bool partial = 3
411
+ */
412
+ partial: boolean;
401
413
  }
402
414
  /**
403
415
  * @generated from protobuf message services.qualifications.SubmitExamResponse
@@ -426,19 +438,19 @@ export interface GetUserExamRequest {
426
438
  */
427
439
  export interface GetUserExamResponse {
428
440
  /**
429
- * @generated from protobuf field: resources.qualifications.ExamQuestions exam = 1
441
+ * @generated from protobuf field: resources.qualifications.exam.ExamQuestions exam = 1
430
442
  */
431
443
  exam?: ExamQuestions;
432
444
  /**
433
- * @generated from protobuf field: resources.qualifications.ExamUser exam_user = 2
445
+ * @generated from protobuf field: resources.qualifications.exam.ExamUser exam_user = 2
434
446
  */
435
447
  examUser?: ExamUser;
436
448
  /**
437
- * @generated from protobuf field: resources.qualifications.ExamResponses responses = 3
449
+ * @generated from protobuf field: resources.qualifications.exam.ExamResponses responses = 3
438
450
  */
439
451
  responses?: ExamResponses;
440
452
  /**
441
- * @generated from protobuf field: resources.qualifications.ExamGrading grading = 4
453
+ * @generated from protobuf field: resources.qualifications.exam.ExamGrading grading = 4
442
454
  */
443
455
  grading?: ExamGrading;
444
456
  }
@@ -1000,7 +1012,7 @@ class GetQualificationAccessResponse$Type extends MessageType<GetQualificationAc
1000
1012
  while (reader.pos < end) {
1001
1013
  let [fieldNo, wireType] = reader.tag();
1002
1014
  switch (fieldNo) {
1003
- case /* resources.qualifications.QualificationAccess access */ 1:
1015
+ case /* resources.qualifications.access.QualificationAccess access */ 1:
1004
1016
  message.access = QualificationAccess.internalBinaryRead(reader, reader.uint32(), options, message.access);
1005
1017
  break;
1006
1018
  default:
@@ -1015,7 +1027,7 @@ class GetQualificationAccessResponse$Type extends MessageType<GetQualificationAc
1015
1027
  return message;
1016
1028
  }
1017
1029
  internalBinaryWrite(message: GetQualificationAccessResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
1018
- /* resources.qualifications.QualificationAccess access = 1; */
1030
+ /* resources.qualifications.access.QualificationAccess access = 1; */
1019
1031
  if (message.access)
1020
1032
  QualificationAccess.internalBinaryWrite(message.access, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
1021
1033
  let u = options.writeUnknownFields;
@@ -1051,7 +1063,7 @@ class SetQualificationAccessRequest$Type extends MessageType<SetQualificationAcc
1051
1063
  case /* int64 qualification_id */ 1:
1052
1064
  message.qualificationId = reader.int64().toNumber();
1053
1065
  break;
1054
- case /* resources.qualifications.QualificationAccess access */ 2:
1066
+ case /* resources.qualifications.access.QualificationAccess access */ 2:
1055
1067
  message.access = QualificationAccess.internalBinaryRead(reader, reader.uint32(), options, message.access);
1056
1068
  break;
1057
1069
  default:
@@ -1069,7 +1081,7 @@ class SetQualificationAccessRequest$Type extends MessageType<SetQualificationAcc
1069
1081
  /* int64 qualification_id = 1; */
1070
1082
  if (message.qualificationId !== 0)
1071
1083
  writer.tag(1, WireType.Varint).int64(message.qualificationId);
1072
- /* resources.qualifications.QualificationAccess access = 2; */
1084
+ /* resources.qualifications.access.QualificationAccess access = 2; */
1073
1085
  if (message.access)
1074
1086
  QualificationAccess.internalBinaryWrite(message.access, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
1075
1087
  let u = options.writeUnknownFields;
@@ -1601,7 +1613,7 @@ class CreateOrUpdateQualificationResultRequest$Type extends MessageType<CreateOr
1601
1613
  case /* resources.qualifications.QualificationResult result */ 1:
1602
1614
  message.result = QualificationResult.internalBinaryRead(reader, reader.uint32(), options, message.result);
1603
1615
  break;
1604
- case /* optional resources.qualifications.ExamGrading grading */ 2:
1616
+ case /* optional resources.qualifications.exam.ExamGrading grading */ 2:
1605
1617
  message.grading = ExamGrading.internalBinaryRead(reader, reader.uint32(), options, message.grading);
1606
1618
  break;
1607
1619
  default:
@@ -1619,7 +1631,7 @@ class CreateOrUpdateQualificationResultRequest$Type extends MessageType<CreateOr
1619
1631
  /* resources.qualifications.QualificationResult result = 1; */
1620
1632
  if (message.result)
1621
1633
  QualificationResult.internalBinaryWrite(message.result, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
1622
- /* optional resources.qualifications.ExamGrading grading = 2; */
1634
+ /* optional resources.qualifications.exam.ExamGrading grading = 2; */
1623
1635
  if (message.grading)
1624
1636
  ExamGrading.internalBinaryWrite(message.grading, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
1625
1637
  let u = options.writeUnknownFields;
@@ -1837,7 +1849,7 @@ class GetExamInfoResponse$Type extends MessageType<GetExamInfoResponse> {
1837
1849
  case /* int64 question_count */ 2:
1838
1850
  message.questionCount = reader.int64().toNumber();
1839
1851
  break;
1840
- case /* optional resources.qualifications.ExamUser exam_user */ 3:
1852
+ case /* optional resources.qualifications.exam.ExamUser exam_user */ 3:
1841
1853
  message.examUser = ExamUser.internalBinaryRead(reader, reader.uint32(), options, message.examUser);
1842
1854
  break;
1843
1855
  default:
@@ -1858,7 +1870,7 @@ class GetExamInfoResponse$Type extends MessageType<GetExamInfoResponse> {
1858
1870
  /* int64 question_count = 2; */
1859
1871
  if (message.questionCount !== 0)
1860
1872
  writer.tag(2, WireType.Varint).int64(message.questionCount);
1861
- /* optional resources.qualifications.ExamUser exam_user = 3; */
1873
+ /* optional resources.qualifications.exam.ExamUser exam_user = 3; */
1862
1874
  if (message.examUser)
1863
1875
  ExamUser.internalBinaryWrite(message.examUser, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
1864
1876
  let u = options.writeUnknownFields;
@@ -1930,11 +1942,14 @@ class TakeExamResponse$Type extends MessageType<TakeExamResponse> {
1930
1942
  constructor() {
1931
1943
  super("services.qualifications.TakeExamResponse", [
1932
1944
  { no: 1, name: "exam", kind: "message", T: () => ExamQuestions },
1933
- { no: 2, name: "exam_user", kind: "message", T: () => ExamUser }
1945
+ { no: 2, name: "exam_user", kind: "message", T: () => ExamUser },
1946
+ { no: 3, name: "responses", kind: "message", T: () => ExamResponses },
1947
+ { no: 4, name: "times_up", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
1934
1948
  ]);
1935
1949
  }
1936
1950
  create(value?: PartialMessage<TakeExamResponse>): TakeExamResponse {
1937
1951
  const message = globalThis.Object.create((this.messagePrototype!));
1952
+ message.timesUp = false;
1938
1953
  if (value !== undefined)
1939
1954
  reflectionMergePartial<TakeExamResponse>(this, message, value);
1940
1955
  return message;
@@ -1944,12 +1959,18 @@ class TakeExamResponse$Type extends MessageType<TakeExamResponse> {
1944
1959
  while (reader.pos < end) {
1945
1960
  let [fieldNo, wireType] = reader.tag();
1946
1961
  switch (fieldNo) {
1947
- case /* resources.qualifications.ExamQuestions exam */ 1:
1962
+ case /* resources.qualifications.exam.ExamQuestions exam */ 1:
1948
1963
  message.exam = ExamQuestions.internalBinaryRead(reader, reader.uint32(), options, message.exam);
1949
1964
  break;
1950
- case /* resources.qualifications.ExamUser exam_user */ 2:
1965
+ case /* resources.qualifications.exam.ExamUser exam_user */ 2:
1951
1966
  message.examUser = ExamUser.internalBinaryRead(reader, reader.uint32(), options, message.examUser);
1952
1967
  break;
1968
+ case /* resources.qualifications.exam.ExamResponses responses */ 3:
1969
+ message.responses = ExamResponses.internalBinaryRead(reader, reader.uint32(), options, message.responses);
1970
+ break;
1971
+ case /* bool times_up */ 4:
1972
+ message.timesUp = reader.bool();
1973
+ break;
1953
1974
  default:
1954
1975
  let u = options.readUnknownField;
1955
1976
  if (u === "throw")
@@ -1962,12 +1983,18 @@ class TakeExamResponse$Type extends MessageType<TakeExamResponse> {
1962
1983
  return message;
1963
1984
  }
1964
1985
  internalBinaryWrite(message: TakeExamResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
1965
- /* resources.qualifications.ExamQuestions exam = 1; */
1986
+ /* resources.qualifications.exam.ExamQuestions exam = 1; */
1966
1987
  if (message.exam)
1967
1988
  ExamQuestions.internalBinaryWrite(message.exam, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
1968
- /* resources.qualifications.ExamUser exam_user = 2; */
1989
+ /* resources.qualifications.exam.ExamUser exam_user = 2; */
1969
1990
  if (message.examUser)
1970
1991
  ExamUser.internalBinaryWrite(message.examUser, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
1992
+ /* resources.qualifications.exam.ExamResponses responses = 3; */
1993
+ if (message.responses)
1994
+ ExamResponses.internalBinaryWrite(message.responses, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
1995
+ /* bool times_up = 4; */
1996
+ if (message.timesUp !== false)
1997
+ writer.tag(4, WireType.Varint).bool(message.timesUp);
1971
1998
  let u = options.writeUnknownFields;
1972
1999
  if (u !== false)
1973
2000
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -1983,12 +2010,14 @@ class SubmitExamRequest$Type extends MessageType<SubmitExamRequest> {
1983
2010
  constructor() {
1984
2011
  super("services.qualifications.SubmitExamRequest", [
1985
2012
  { no: 1, name: "qualification_id", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 2 /*LongType.NUMBER*/ },
1986
- { no: 2, name: "responses", kind: "message", T: () => ExamResponses }
2013
+ { no: 2, name: "responses", kind: "message", T: () => ExamResponses },
2014
+ { no: 3, name: "partial", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
1987
2015
  ]);
1988
2016
  }
1989
2017
  create(value?: PartialMessage<SubmitExamRequest>): SubmitExamRequest {
1990
2018
  const message = globalThis.Object.create((this.messagePrototype!));
1991
2019
  message.qualificationId = 0;
2020
+ message.partial = false;
1992
2021
  if (value !== undefined)
1993
2022
  reflectionMergePartial<SubmitExamRequest>(this, message, value);
1994
2023
  return message;
@@ -2001,9 +2030,12 @@ class SubmitExamRequest$Type extends MessageType<SubmitExamRequest> {
2001
2030
  case /* int64 qualification_id */ 1:
2002
2031
  message.qualificationId = reader.int64().toNumber();
2003
2032
  break;
2004
- case /* resources.qualifications.ExamResponses responses */ 2:
2033
+ case /* resources.qualifications.exam.ExamResponses responses */ 2:
2005
2034
  message.responses = ExamResponses.internalBinaryRead(reader, reader.uint32(), options, message.responses);
2006
2035
  break;
2036
+ case /* bool partial */ 3:
2037
+ message.partial = reader.bool();
2038
+ break;
2007
2039
  default:
2008
2040
  let u = options.readUnknownField;
2009
2041
  if (u === "throw")
@@ -2019,9 +2051,12 @@ class SubmitExamRequest$Type extends MessageType<SubmitExamRequest> {
2019
2051
  /* int64 qualification_id = 1; */
2020
2052
  if (message.qualificationId !== 0)
2021
2053
  writer.tag(1, WireType.Varint).int64(message.qualificationId);
2022
- /* resources.qualifications.ExamResponses responses = 2; */
2054
+ /* resources.qualifications.exam.ExamResponses responses = 2; */
2023
2055
  if (message.responses)
2024
2056
  ExamResponses.internalBinaryWrite(message.responses, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
2057
+ /* bool partial = 3; */
2058
+ if (message.partial !== false)
2059
+ writer.tag(3, WireType.Varint).bool(message.partial);
2025
2060
  let u = options.writeUnknownFields;
2026
2061
  if (u !== false)
2027
2062
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -2036,7 +2071,7 @@ export const SubmitExamRequest = new SubmitExamRequest$Type();
2036
2071
  class SubmitExamResponse$Type extends MessageType<SubmitExamResponse> {
2037
2072
  constructor() {
2038
2073
  super("services.qualifications.SubmitExamResponse", [
2039
- { no: 1, name: "duration", kind: "message", T: () => Duration }
2074
+ { no: 1, name: "duration", kind: "message", T: () => Duration, options: { "buf.validate.field": { duration: { gte: {} } } } }
2040
2075
  ]);
2041
2076
  }
2042
2077
  create(value?: PartialMessage<SubmitExamResponse>): SubmitExamResponse {
@@ -2154,16 +2189,16 @@ class GetUserExamResponse$Type extends MessageType<GetUserExamResponse> {
2154
2189
  while (reader.pos < end) {
2155
2190
  let [fieldNo, wireType] = reader.tag();
2156
2191
  switch (fieldNo) {
2157
- case /* resources.qualifications.ExamQuestions exam */ 1:
2192
+ case /* resources.qualifications.exam.ExamQuestions exam */ 1:
2158
2193
  message.exam = ExamQuestions.internalBinaryRead(reader, reader.uint32(), options, message.exam);
2159
2194
  break;
2160
- case /* resources.qualifications.ExamUser exam_user */ 2:
2195
+ case /* resources.qualifications.exam.ExamUser exam_user */ 2:
2161
2196
  message.examUser = ExamUser.internalBinaryRead(reader, reader.uint32(), options, message.examUser);
2162
2197
  break;
2163
- case /* resources.qualifications.ExamResponses responses */ 3:
2198
+ case /* resources.qualifications.exam.ExamResponses responses */ 3:
2164
2199
  message.responses = ExamResponses.internalBinaryRead(reader, reader.uint32(), options, message.responses);
2165
2200
  break;
2166
- case /* resources.qualifications.ExamGrading grading */ 4:
2201
+ case /* resources.qualifications.exam.ExamGrading grading */ 4:
2167
2202
  message.grading = ExamGrading.internalBinaryRead(reader, reader.uint32(), options, message.grading);
2168
2203
  break;
2169
2204
  default:
@@ -2178,16 +2213,16 @@ class GetUserExamResponse$Type extends MessageType<GetUserExamResponse> {
2178
2213
  return message;
2179
2214
  }
2180
2215
  internalBinaryWrite(message: GetUserExamResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
2181
- /* resources.qualifications.ExamQuestions exam = 1; */
2216
+ /* resources.qualifications.exam.ExamQuestions exam = 1; */
2182
2217
  if (message.exam)
2183
2218
  ExamQuestions.internalBinaryWrite(message.exam, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
2184
- /* resources.qualifications.ExamUser exam_user = 2; */
2219
+ /* resources.qualifications.exam.ExamUser exam_user = 2; */
2185
2220
  if (message.examUser)
2186
2221
  ExamUser.internalBinaryWrite(message.examUser, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
2187
- /* resources.qualifications.ExamResponses responses = 3; */
2222
+ /* resources.qualifications.exam.ExamResponses responses = 3; */
2188
2223
  if (message.responses)
2189
2224
  ExamResponses.internalBinaryWrite(message.responses, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
2190
- /* resources.qualifications.ExamGrading grading = 4; */
2225
+ /* resources.qualifications.exam.ExamGrading grading = 4; */
2191
2226
  if (message.grading)
2192
2227
  ExamGrading.internalBinaryWrite(message.grading, writer.tag(4, WireType.LengthDelimited).fork(), options).join();
2193
2228
  let u = options.writeUnknownFields;
@@ -2220,4 +2255,4 @@ export const QualificationsService = new ServiceType("services.qualifications.Qu
2220
2255
  { name: "SubmitExam", options: { "codegen.perms.perms": { enabled: true, name: "ListQualifications" } }, I: SubmitExamRequest, O: SubmitExamResponse },
2221
2256
  { name: "GetUserExam", options: { "codegen.perms.perms": { enabled: true, name: "ListQualifications" } }, I: GetUserExamRequest, O: GetUserExamResponse },
2222
2257
  { name: "UploadFile", clientStreaming: true, options: { "codegen.perms.perms": { enabled: true, name: "UpdateQualification" } }, I: UploadFileRequest, O: UploadFileResponse }
2223
- ]);
2258
+ ], { "codegen.perms.perms_svc": { order: 80, icon: "i-mdi-school-outline" } });
@@ -7,10 +7,12 @@ import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
7
7
  import { AccountsService } from "./accounts";
8
8
  import type { DeleteAccountResponse } from "./accounts";
9
9
  import type { DeleteAccountRequest } from "./accounts";
10
- import type { DisconnectOAuth2ConnectionResponse } from "./accounts";
11
- import type { DisconnectOAuth2ConnectionRequest } from "./accounts";
10
+ import type { DisconnectSocialLoginResponse } from "./accounts";
11
+ import type { DisconnectSocialLoginRequest } from "./accounts";
12
12
  import type { UpdateAccountResponse } from "./accounts";
13
13
  import type { UpdateAccountRequest } from "./accounts";
14
+ import type { CreateAccountResponse } from "./accounts";
15
+ import type { CreateAccountRequest } from "./accounts";
14
16
  import { stackIntercept } from "@protobuf-ts/runtime-rpc";
15
17
  import type { ListAccountsResponse } from "./accounts";
16
18
  import type { ListAccountsRequest } from "./accounts";
@@ -24,14 +26,18 @@ export interface IAccountsServiceClient {
24
26
  * @generated from protobuf rpc: ListAccounts
25
27
  */
26
28
  listAccounts(input: ListAccountsRequest, options?: RpcOptions): UnaryCall<ListAccountsRequest, ListAccountsResponse>;
29
+ /**
30
+ * @generated from protobuf rpc: CreateAccount
31
+ */
32
+ createAccount(input: CreateAccountRequest, options?: RpcOptions): UnaryCall<CreateAccountRequest, CreateAccountResponse>;
27
33
  /**
28
34
  * @generated from protobuf rpc: UpdateAccount
29
35
  */
30
36
  updateAccount(input: UpdateAccountRequest, options?: RpcOptions): UnaryCall<UpdateAccountRequest, UpdateAccountResponse>;
31
37
  /**
32
- * @generated from protobuf rpc: DisconnectOAuth2Connection
38
+ * @generated from protobuf rpc: DisconnectSocialLogin
33
39
  */
34
- disconnectOAuth2Connection(input: DisconnectOAuth2ConnectionRequest, options?: RpcOptions): UnaryCall<DisconnectOAuth2ConnectionRequest, DisconnectOAuth2ConnectionResponse>;
40
+ disconnectSocialLogin(input: DisconnectSocialLoginRequest, options?: RpcOptions): UnaryCall<DisconnectSocialLoginRequest, DisconnectSocialLoginResponse>;
35
41
  /**
36
42
  * @generated from protobuf rpc: DeleteAccount
37
43
  */
@@ -53,25 +59,32 @@ export class AccountsServiceClient implements IAccountsServiceClient, ServiceInf
53
59
  const method = this.methods[0], opt = this._transport.mergeOptions(options);
54
60
  return stackIntercept<ListAccountsRequest, ListAccountsResponse>("unary", this._transport, method, opt, input);
55
61
  }
62
+ /**
63
+ * @generated from protobuf rpc: CreateAccount
64
+ */
65
+ createAccount(input: CreateAccountRequest, options?: RpcOptions): UnaryCall<CreateAccountRequest, CreateAccountResponse> {
66
+ const method = this.methods[1], opt = this._transport.mergeOptions(options);
67
+ return stackIntercept<CreateAccountRequest, CreateAccountResponse>("unary", this._transport, method, opt, input);
68
+ }
56
69
  /**
57
70
  * @generated from protobuf rpc: UpdateAccount
58
71
  */
59
72
  updateAccount(input: UpdateAccountRequest, options?: RpcOptions): UnaryCall<UpdateAccountRequest, UpdateAccountResponse> {
60
- const method = this.methods[1], opt = this._transport.mergeOptions(options);
73
+ const method = this.methods[2], opt = this._transport.mergeOptions(options);
61
74
  return stackIntercept<UpdateAccountRequest, UpdateAccountResponse>("unary", this._transport, method, opt, input);
62
75
  }
63
76
  /**
64
- * @generated from protobuf rpc: DisconnectOAuth2Connection
77
+ * @generated from protobuf rpc: DisconnectSocialLogin
65
78
  */
66
- disconnectOAuth2Connection(input: DisconnectOAuth2ConnectionRequest, options?: RpcOptions): UnaryCall<DisconnectOAuth2ConnectionRequest, DisconnectOAuth2ConnectionResponse> {
67
- const method = this.methods[2], opt = this._transport.mergeOptions(options);
68
- return stackIntercept<DisconnectOAuth2ConnectionRequest, DisconnectOAuth2ConnectionResponse>("unary", this._transport, method, opt, input);
79
+ disconnectSocialLogin(input: DisconnectSocialLoginRequest, options?: RpcOptions): UnaryCall<DisconnectSocialLoginRequest, DisconnectSocialLoginResponse> {
80
+ const method = this.methods[3], opt = this._transport.mergeOptions(options);
81
+ return stackIntercept<DisconnectSocialLoginRequest, DisconnectSocialLoginResponse>("unary", this._transport, method, opt, input);
69
82
  }
70
83
  /**
71
84
  * @generated from protobuf rpc: DeleteAccount
72
85
  */
73
86
  deleteAccount(input: DeleteAccountRequest, options?: RpcOptions): UnaryCall<DeleteAccountRequest, DeleteAccountResponse> {
74
- const method = this.methods[3], opt = this._transport.mergeOptions(options);
87
+ const method = this.methods[4], opt = this._transport.mergeOptions(options);
75
88
  return stackIntercept<DeleteAccountRequest, DeleteAccountResponse>("unary", this._transport, method, opt, input);
76
89
  }
77
90
  }