@altnovatrail/contracts 0.8.0 → 0.8.2
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.
- package/novatrail/api/v1/account_pb.d.ts +1547 -0
- package/novatrail/api/v1/account_pb.js +405 -0
- package/novatrail/api/v1/attempt_pb.d.ts +1409 -0
- package/novatrail/api/v1/attempt_pb.js +293 -0
- package/novatrail/api/v1/cause_pb.d.ts +535 -0
- package/novatrail/api/v1/cause_pb.js +86 -0
- package/package.json +13 -1
|
@@ -0,0 +1,405 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.16.0 with parameter "target=js+dts,import_extension=js"
|
|
2
|
+
// @generated from file novatrail/api/v1/account.proto (package novatrail.api.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
// The account and its profiles in the contract between `app` and `api`: the account and the list
|
|
6
|
+
// of its profiles, by which `app` erases on the device what was deleted elsewhere; the profile of
|
|
7
|
+
// the account's owner and a child's profile, which a consent comes before; the PIN of the section
|
|
8
|
+
// for adults; the voicing a learner sets; the own key checked when it is connected; deletion and
|
|
9
|
+
// export. What each message means, and what `app` does on each refusal, are the rules of
|
|
10
|
+
// contracts/README.md, section 15.
|
|
11
|
+
|
|
12
|
+
import { enumDesc, fileDesc, messageDesc, serviceDesc, tsEnum } from "@bufbuild/protobuf/codegenv2";
|
|
13
|
+
import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
14
|
+
import { file_novatrail_api_v1_attempt } from "./attempt_pb.js";
|
|
15
|
+
import { file_novatrail_api_v1_cause } from "./cause_pb.js";
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Describes the file novatrail/api/v1/account.proto.
|
|
19
|
+
*/
|
|
20
|
+
export const file_novatrail_api_v1_account = /*@__PURE__*/
|
|
21
|
+
fileDesc("Ch5ub3ZhdHJhaWwvYXBpL3YxL2FjY291bnQucHJvdG8SEG5vdmF0cmFpbC5hc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XBpXFYx4gIcTm92YXRyYWlsXEFwaVxWMVxHUEJNZXRhZGF0YeoCEk5vdmF0cmFpbDo6QXBpOjpWMWIGcHJvdG8z", [file_google_protobuf_timestamp, file_novatrail_api_v1_attempt, file_novatrail_api_v1_cause]);
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Describes the message novatrail.api.v1.GetAccountRequest.
|
|
25
|
+
* Use `create(GetAccountRequestSchema)` to create a new message.
|
|
26
|
+
*/
|
|
27
|
+
export const GetAccountRequestSchema = /*@__PURE__*/
|
|
28
|
+
messageDesc(file_novatrail_api_v1_account, 0);
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Describes the message novatrail.api.v1.GetAccountResponse.
|
|
32
|
+
* Use `create(GetAccountResponseSchema)` to create a new message.
|
|
33
|
+
*/
|
|
34
|
+
export const GetAccountResponseSchema = /*@__PURE__*/
|
|
35
|
+
messageDesc(file_novatrail_api_v1_account, 1);
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* Describes the message novatrail.api.v1.CreateAccountRequest.
|
|
39
|
+
* Use `create(CreateAccountRequestSchema)` to create a new message.
|
|
40
|
+
*/
|
|
41
|
+
export const CreateAccountRequestSchema = /*@__PURE__*/
|
|
42
|
+
messageDesc(file_novatrail_api_v1_account, 2);
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Describes the message novatrail.api.v1.CreateAccountResponse.
|
|
46
|
+
* Use `create(CreateAccountResponseSchema)` to create a new message.
|
|
47
|
+
*/
|
|
48
|
+
export const CreateAccountResponseSchema = /*@__PURE__*/
|
|
49
|
+
messageDesc(file_novatrail_api_v1_account, 3);
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Describes the message novatrail.api.v1.Account.
|
|
53
|
+
* Use `create(AccountSchema)` to create a new message.
|
|
54
|
+
*/
|
|
55
|
+
export const AccountSchema = /*@__PURE__*/
|
|
56
|
+
messageDesc(file_novatrail_api_v1_account, 4);
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* Describes the message novatrail.api.v1.Profile.
|
|
60
|
+
* Use `create(ProfileSchema)` to create a new message.
|
|
61
|
+
*/
|
|
62
|
+
export const ProfileSchema = /*@__PURE__*/
|
|
63
|
+
messageDesc(file_novatrail_api_v1_account, 5);
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* Describes the message novatrail.api.v1.PresentationStyle.
|
|
67
|
+
* Use `create(PresentationStyleSchema)` to create a new message.
|
|
68
|
+
*/
|
|
69
|
+
export const PresentationStyleSchema = /*@__PURE__*/
|
|
70
|
+
messageDesc(file_novatrail_api_v1_account, 6);
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* Describes the message novatrail.api.v1.Voicing.
|
|
74
|
+
* Use `create(VoicingSchema)` to create a new message.
|
|
75
|
+
*/
|
|
76
|
+
export const VoicingSchema = /*@__PURE__*/
|
|
77
|
+
messageDesc(file_novatrail_api_v1_account, 7);
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* Describes the message novatrail.api.v1.ProfileSettings.
|
|
81
|
+
* Use `create(ProfileSettingsSchema)` to create a new message.
|
|
82
|
+
*/
|
|
83
|
+
export const ProfileSettingsSchema = /*@__PURE__*/
|
|
84
|
+
messageDesc(file_novatrail_api_v1_account, 8);
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* Describes the message novatrail.api.v1.ChildConsent.
|
|
88
|
+
* Use `create(ChildConsentSchema)` to create a new message.
|
|
89
|
+
*/
|
|
90
|
+
export const ChildConsentSchema = /*@__PURE__*/
|
|
91
|
+
messageDesc(file_novatrail_api_v1_account, 9);
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* Describes the message novatrail.api.v1.SetPinRequest.
|
|
95
|
+
* Use `create(SetPinRequestSchema)` to create a new message.
|
|
96
|
+
*/
|
|
97
|
+
export const SetPinRequestSchema = /*@__PURE__*/
|
|
98
|
+
messageDesc(file_novatrail_api_v1_account, 10);
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* Describes the message novatrail.api.v1.SetPinResponse.
|
|
102
|
+
* Use `create(SetPinResponseSchema)` to create a new message.
|
|
103
|
+
*/
|
|
104
|
+
export const SetPinResponseSchema = /*@__PURE__*/
|
|
105
|
+
messageDesc(file_novatrail_api_v1_account, 11);
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* Describes the message novatrail.api.v1.VerifyPinRequest.
|
|
109
|
+
* Use `create(VerifyPinRequestSchema)` to create a new message.
|
|
110
|
+
*/
|
|
111
|
+
export const VerifyPinRequestSchema = /*@__PURE__*/
|
|
112
|
+
messageDesc(file_novatrail_api_v1_account, 12);
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* Describes the message novatrail.api.v1.VerifyPinResponse.
|
|
116
|
+
* Use `create(VerifyPinResponseSchema)` to create a new message.
|
|
117
|
+
*/
|
|
118
|
+
export const VerifyPinResponseSchema = /*@__PURE__*/
|
|
119
|
+
messageDesc(file_novatrail_api_v1_account, 13);
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* Describes the message novatrail.api.v1.ChangePinRequest.
|
|
123
|
+
* Use `create(ChangePinRequestSchema)` to create a new message.
|
|
124
|
+
*/
|
|
125
|
+
export const ChangePinRequestSchema = /*@__PURE__*/
|
|
126
|
+
messageDesc(file_novatrail_api_v1_account, 14);
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* Describes the message novatrail.api.v1.ChangePinResponse.
|
|
130
|
+
* Use `create(ChangePinResponseSchema)` to create a new message.
|
|
131
|
+
*/
|
|
132
|
+
export const ChangePinResponseSchema = /*@__PURE__*/
|
|
133
|
+
messageDesc(file_novatrail_api_v1_account, 15);
|
|
134
|
+
|
|
135
|
+
/**
|
|
136
|
+
* Describes the message novatrail.api.v1.PinCheck.
|
|
137
|
+
* Use `create(PinCheckSchema)` to create a new message.
|
|
138
|
+
*/
|
|
139
|
+
export const PinCheckSchema = /*@__PURE__*/
|
|
140
|
+
messageDesc(file_novatrail_api_v1_account, 16);
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* Describes the message novatrail.api.v1.ResetPinRequest.
|
|
144
|
+
* Use `create(ResetPinRequestSchema)` to create a new message.
|
|
145
|
+
*/
|
|
146
|
+
export const ResetPinRequestSchema = /*@__PURE__*/
|
|
147
|
+
messageDesc(file_novatrail_api_v1_account, 17);
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* Describes the message novatrail.api.v1.ResetPinResponse.
|
|
151
|
+
* Use `create(ResetPinResponseSchema)` to create a new message.
|
|
152
|
+
*/
|
|
153
|
+
export const ResetPinResponseSchema = /*@__PURE__*/
|
|
154
|
+
messageDesc(file_novatrail_api_v1_account, 18);
|
|
155
|
+
|
|
156
|
+
/**
|
|
157
|
+
* Describes the message novatrail.api.v1.CreateOwnerProfileRequest.
|
|
158
|
+
* Use `create(CreateOwnerProfileRequestSchema)` to create a new message.
|
|
159
|
+
*/
|
|
160
|
+
export const CreateOwnerProfileRequestSchema = /*@__PURE__*/
|
|
161
|
+
messageDesc(file_novatrail_api_v1_account, 19);
|
|
162
|
+
|
|
163
|
+
/**
|
|
164
|
+
* Describes the message novatrail.api.v1.CreateOwnerProfileResponse.
|
|
165
|
+
* Use `create(CreateOwnerProfileResponseSchema)` to create a new message.
|
|
166
|
+
*/
|
|
167
|
+
export const CreateOwnerProfileResponseSchema = /*@__PURE__*/
|
|
168
|
+
messageDesc(file_novatrail_api_v1_account, 20);
|
|
169
|
+
|
|
170
|
+
/**
|
|
171
|
+
* Describes the message novatrail.api.v1.RequestChildConsentRequest.
|
|
172
|
+
* Use `create(RequestChildConsentRequestSchema)` to create a new message.
|
|
173
|
+
*/
|
|
174
|
+
export const RequestChildConsentRequestSchema = /*@__PURE__*/
|
|
175
|
+
messageDesc(file_novatrail_api_v1_account, 21);
|
|
176
|
+
|
|
177
|
+
/**
|
|
178
|
+
* Describes the message novatrail.api.v1.RequestChildConsentResponse.
|
|
179
|
+
* Use `create(RequestChildConsentResponseSchema)` to create a new message.
|
|
180
|
+
*/
|
|
181
|
+
export const RequestChildConsentResponseSchema = /*@__PURE__*/
|
|
182
|
+
messageDesc(file_novatrail_api_v1_account, 22);
|
|
183
|
+
|
|
184
|
+
/**
|
|
185
|
+
* Describes the message novatrail.api.v1.CreateChildProfileRequest.
|
|
186
|
+
* Use `create(CreateChildProfileRequestSchema)` to create a new message.
|
|
187
|
+
*/
|
|
188
|
+
export const CreateChildProfileRequestSchema = /*@__PURE__*/
|
|
189
|
+
messageDesc(file_novatrail_api_v1_account, 23);
|
|
190
|
+
|
|
191
|
+
/**
|
|
192
|
+
* Describes the message novatrail.api.v1.CreateChildProfileResponse.
|
|
193
|
+
* Use `create(CreateChildProfileResponseSchema)` to create a new message.
|
|
194
|
+
*/
|
|
195
|
+
export const CreateChildProfileResponseSchema = /*@__PURE__*/
|
|
196
|
+
messageDesc(file_novatrail_api_v1_account, 24);
|
|
197
|
+
|
|
198
|
+
/**
|
|
199
|
+
* Describes the message novatrail.api.v1.UpdateProfileRequest.
|
|
200
|
+
* Use `create(UpdateProfileRequestSchema)` to create a new message.
|
|
201
|
+
*/
|
|
202
|
+
export const UpdateProfileRequestSchema = /*@__PURE__*/
|
|
203
|
+
messageDesc(file_novatrail_api_v1_account, 25);
|
|
204
|
+
|
|
205
|
+
/**
|
|
206
|
+
* Describes the message novatrail.api.v1.UpdateProfileResponse.
|
|
207
|
+
* Use `create(UpdateProfileResponseSchema)` to create a new message.
|
|
208
|
+
*/
|
|
209
|
+
export const UpdateProfileResponseSchema = /*@__PURE__*/
|
|
210
|
+
messageDesc(file_novatrail_api_v1_account, 26);
|
|
211
|
+
|
|
212
|
+
/**
|
|
213
|
+
* Describes the message novatrail.api.v1.SetVoicingRequest.
|
|
214
|
+
* Use `create(SetVoicingRequestSchema)` to create a new message.
|
|
215
|
+
*/
|
|
216
|
+
export const SetVoicingRequestSchema = /*@__PURE__*/
|
|
217
|
+
messageDesc(file_novatrail_api_v1_account, 27);
|
|
218
|
+
|
|
219
|
+
/**
|
|
220
|
+
* Describes the message novatrail.api.v1.SetVoicingResponse.
|
|
221
|
+
* Use `create(SetVoicingResponseSchema)` to create a new message.
|
|
222
|
+
*/
|
|
223
|
+
export const SetVoicingResponseSchema = /*@__PURE__*/
|
|
224
|
+
messageDesc(file_novatrail_api_v1_account, 28);
|
|
225
|
+
|
|
226
|
+
/**
|
|
227
|
+
* Describes the message novatrail.api.v1.DeleteProfileRequest.
|
|
228
|
+
* Use `create(DeleteProfileRequestSchema)` to create a new message.
|
|
229
|
+
*/
|
|
230
|
+
export const DeleteProfileRequestSchema = /*@__PURE__*/
|
|
231
|
+
messageDesc(file_novatrail_api_v1_account, 29);
|
|
232
|
+
|
|
233
|
+
/**
|
|
234
|
+
* Describes the message novatrail.api.v1.DeleteProfileResponse.
|
|
235
|
+
* Use `create(DeleteProfileResponseSchema)` to create a new message.
|
|
236
|
+
*/
|
|
237
|
+
export const DeleteProfileResponseSchema = /*@__PURE__*/
|
|
238
|
+
messageDesc(file_novatrail_api_v1_account, 30);
|
|
239
|
+
|
|
240
|
+
/**
|
|
241
|
+
* Describes the message novatrail.api.v1.DeleteAccountRequest.
|
|
242
|
+
* Use `create(DeleteAccountRequestSchema)` to create a new message.
|
|
243
|
+
*/
|
|
244
|
+
export const DeleteAccountRequestSchema = /*@__PURE__*/
|
|
245
|
+
messageDesc(file_novatrail_api_v1_account, 31);
|
|
246
|
+
|
|
247
|
+
/**
|
|
248
|
+
* Describes the message novatrail.api.v1.DeleteAccountResponse.
|
|
249
|
+
* Use `create(DeleteAccountResponseSchema)` to create a new message.
|
|
250
|
+
*/
|
|
251
|
+
export const DeleteAccountResponseSchema = /*@__PURE__*/
|
|
252
|
+
messageDesc(file_novatrail_api_v1_account, 32);
|
|
253
|
+
|
|
254
|
+
/**
|
|
255
|
+
* Describes the message novatrail.api.v1.ExportProfileRequest.
|
|
256
|
+
* Use `create(ExportProfileRequestSchema)` to create a new message.
|
|
257
|
+
*/
|
|
258
|
+
export const ExportProfileRequestSchema = /*@__PURE__*/
|
|
259
|
+
messageDesc(file_novatrail_api_v1_account, 33);
|
|
260
|
+
|
|
261
|
+
/**
|
|
262
|
+
* Describes the message novatrail.api.v1.ExportProfileResponse.
|
|
263
|
+
* Use `create(ExportProfileResponseSchema)` to create a new message.
|
|
264
|
+
*/
|
|
265
|
+
export const ExportProfileResponseSchema = /*@__PURE__*/
|
|
266
|
+
messageDesc(file_novatrail_api_v1_account, 34);
|
|
267
|
+
|
|
268
|
+
/**
|
|
269
|
+
* Describes the message novatrail.api.v1.ExportAccountRequest.
|
|
270
|
+
* Use `create(ExportAccountRequestSchema)` to create a new message.
|
|
271
|
+
*/
|
|
272
|
+
export const ExportAccountRequestSchema = /*@__PURE__*/
|
|
273
|
+
messageDesc(file_novatrail_api_v1_account, 35);
|
|
274
|
+
|
|
275
|
+
/**
|
|
276
|
+
* Describes the message novatrail.api.v1.ExportAccountResponse.
|
|
277
|
+
* Use `create(ExportAccountResponseSchema)` to create a new message.
|
|
278
|
+
*/
|
|
279
|
+
export const ExportAccountResponseSchema = /*@__PURE__*/
|
|
280
|
+
messageDesc(file_novatrail_api_v1_account, 36);
|
|
281
|
+
|
|
282
|
+
/**
|
|
283
|
+
* Describes the message novatrail.api.v1.CheckOwnKeyRequest.
|
|
284
|
+
* Use `create(CheckOwnKeyRequestSchema)` to create a new message.
|
|
285
|
+
*/
|
|
286
|
+
export const CheckOwnKeyRequestSchema = /*@__PURE__*/
|
|
287
|
+
messageDesc(file_novatrail_api_v1_account, 37);
|
|
288
|
+
|
|
289
|
+
/**
|
|
290
|
+
* Describes the message novatrail.api.v1.CheckOwnKeyResponse.
|
|
291
|
+
* Use `create(CheckOwnKeyResponseSchema)` to create a new message.
|
|
292
|
+
*/
|
|
293
|
+
export const CheckOwnKeyResponseSchema = /*@__PURE__*/
|
|
294
|
+
messageDesc(file_novatrail_api_v1_account, 38);
|
|
295
|
+
|
|
296
|
+
/**
|
|
297
|
+
* Describes the message novatrail.api.v1.ListOwnKeyProvidersRequest.
|
|
298
|
+
* Use `create(ListOwnKeyProvidersRequestSchema)` to create a new message.
|
|
299
|
+
*/
|
|
300
|
+
export const ListOwnKeyProvidersRequestSchema = /*@__PURE__*/
|
|
301
|
+
messageDesc(file_novatrail_api_v1_account, 39);
|
|
302
|
+
|
|
303
|
+
/**
|
|
304
|
+
* Describes the message novatrail.api.v1.ListOwnKeyProvidersResponse.
|
|
305
|
+
* Use `create(ListOwnKeyProvidersResponseSchema)` to create a new message.
|
|
306
|
+
*/
|
|
307
|
+
export const ListOwnKeyProvidersResponseSchema = /*@__PURE__*/
|
|
308
|
+
messageDesc(file_novatrail_api_v1_account, 40);
|
|
309
|
+
|
|
310
|
+
/**
|
|
311
|
+
* Describes the message novatrail.api.v1.OwnKeyProvider.
|
|
312
|
+
* Use `create(OwnKeyProviderSchema)` to create a new message.
|
|
313
|
+
*/
|
|
314
|
+
export const OwnKeyProviderSchema = /*@__PURE__*/
|
|
315
|
+
messageDesc(file_novatrail_api_v1_account, 41);
|
|
316
|
+
|
|
317
|
+
/**
|
|
318
|
+
* Describes the enum novatrail.api.v1.VoicingSpeed.
|
|
319
|
+
*/
|
|
320
|
+
export const VoicingSpeedSchema = /*@__PURE__*/
|
|
321
|
+
enumDesc(file_novatrail_api_v1_account, 0);
|
|
322
|
+
|
|
323
|
+
/**
|
|
324
|
+
* The speed of the voicing. A speed its build does not know `app` reads as normal.
|
|
325
|
+
*
|
|
326
|
+
* @generated from enum novatrail.api.v1.VoicingSpeed
|
|
327
|
+
*/
|
|
328
|
+
export const VoicingSpeed = /*@__PURE__*/
|
|
329
|
+
tsEnum(VoicingSpeedSchema);
|
|
330
|
+
|
|
331
|
+
/**
|
|
332
|
+
* Describes the enum novatrail.api.v1.Mode.
|
|
333
|
+
*/
|
|
334
|
+
export const ModeSchema = /*@__PURE__*/
|
|
335
|
+
enumDesc(file_novatrail_api_v1_account, 1);
|
|
336
|
+
|
|
337
|
+
/**
|
|
338
|
+
* A mode of the screen of a task (concepts 10). A mode its build does not know `app` reads as "by
|
|
339
|
+
* steps".
|
|
340
|
+
*
|
|
341
|
+
* @generated from enum novatrail.api.v1.Mode
|
|
342
|
+
*/
|
|
343
|
+
export const Mode = /*@__PURE__*/
|
|
344
|
+
tsEnum(ModeSchema);
|
|
345
|
+
|
|
346
|
+
/**
|
|
347
|
+
* Describes the enum novatrail.api.v1.ConsentState.
|
|
348
|
+
*/
|
|
349
|
+
export const ConsentStateSchema = /*@__PURE__*/
|
|
350
|
+
enumDesc(file_novatrail_api_v1_account, 2);
|
|
351
|
+
|
|
352
|
+
/**
|
|
353
|
+
* Where a consent for a child stands. A state its build does not know `app` reads as waiting.
|
|
354
|
+
*
|
|
355
|
+
* @generated from enum novatrail.api.v1.ConsentState
|
|
356
|
+
*/
|
|
357
|
+
export const ConsentState = /*@__PURE__*/
|
|
358
|
+
tsEnum(ConsentStateSchema);
|
|
359
|
+
|
|
360
|
+
/**
|
|
361
|
+
* Describes the enum novatrail.api.v1.OwnKeyCheck.
|
|
362
|
+
*/
|
|
363
|
+
export const OwnKeyCheckSchema = /*@__PURE__*/
|
|
364
|
+
enumDesc(file_novatrail_api_v1_account, 3);
|
|
365
|
+
|
|
366
|
+
/**
|
|
367
|
+
* What the check of an own key gave (R84). A value its build does not know `app` words as a check
|
|
368
|
+
* that did not go through.
|
|
369
|
+
*
|
|
370
|
+
* @generated from enum novatrail.api.v1.OwnKeyCheck
|
|
371
|
+
*/
|
|
372
|
+
export const OwnKeyCheck = /*@__PURE__*/
|
|
373
|
+
tsEnum(OwnKeyCheckSchema);
|
|
374
|
+
|
|
375
|
+
/**
|
|
376
|
+
* The requests on the account and its profiles, from the section for adults and from a learner's
|
|
377
|
+
* session. Every method carries the ID token of the sign-in service in the header `Authorization`,
|
|
378
|
+
* as `Bearer <token>`, and every one may get the refusals of every request with a token:
|
|
379
|
+
* `unauthenticated` with no `Refusal`, when the token has expired, is revoked or its user is
|
|
380
|
+
* disabled; `CAUSE_ACCOUNT_GONE`; `CAUSE_NO_ACCESS`, but for `CreateAccount`; and `unavailable`
|
|
381
|
+
* with no `Refusal`, when the token could not be checked. A method on a profile names the right it
|
|
382
|
+
* needs, `can_manage` or `can_learn`; a method on the account itself needs the account of the token
|
|
383
|
+
* alone: it is an action of an adult, and the PIN in front of it is a barrier of the interface
|
|
384
|
+
* (R04 api). A request without the right it needs
|
|
385
|
+
* gets the code `permission_denied` with no `Refusal`, and a request whose form the contract
|
|
386
|
+
* refuses the code `invalid_argument` with no `Refusal`. `app` reads the cause of a refusal before
|
|
387
|
+
* it refreshes any token:
|
|
388
|
+
* - `unauthenticated` with no `Refusal`: it refreshes the token and repeats the request, and opens
|
|
389
|
+
* the sign-in window only if the refresh failed. Signing in again is signing in as the same
|
|
390
|
+
* user, without signing out: signing out erases everything of the account on the device;
|
|
391
|
+
* - `CAUSE_FRESH_SIGN_IN_NEEDED`: it signs in again by the window, on a press, and repeats the
|
|
392
|
+
* action. Whether a sign-in is fresh it reads by the `authTime` of a token it has just
|
|
393
|
+
* refreshed, against that token's `issuedAtTime`, not against the clock of the device; on
|
|
394
|
+
* `auth/user-mismatch` it asks `GetAccount`;
|
|
395
|
+
* - `CAUSE_ACCOUNT_GONE`: it erases everything of the account and signs out, without refreshing
|
|
396
|
+
* the token;
|
|
397
|
+
* - `CAUSE_NO_ACCESS` while the registry of the device holds an account: another account has
|
|
398
|
+
* signed in, and `app` erases what is left of the one before it opens anything;
|
|
399
|
+
* - `unavailable`: it repeats the request after a growing pause, for a short while.
|
|
400
|
+
*
|
|
401
|
+
* @generated from service novatrail.api.v1.AccountService
|
|
402
|
+
*/
|
|
403
|
+
export const AccountService = /*@__PURE__*/
|
|
404
|
+
serviceDesc(file_novatrail_api_v1_account, 0);
|
|
405
|
+
|