@36node/auth-sdk 1.6.1 → 1.6.3

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/dist/module.js DELETED
@@ -1,2157 +0,0 @@
1
- import {createClient as $hgUW1$createClient, createConfig as $hgUW1$createConfig} from "@hey-api/client-fetch";
2
-
3
-
4
- function $parcel$export(e, n, v, s) {
5
- Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
6
- }
7
- // This file is auto-generated by @hey-api/openapi-ts
8
- var $dad94870630697a9$exports = {};
9
-
10
- $parcel$export($dad94870630697a9$exports, "$HealthCheckResult", () => $dad94870630697a9$export$88f4d4b355951aa3);
11
- $parcel$export($dad94870630697a9$exports, "$LoginDto", () => $dad94870630697a9$export$f4de602dbafe6fc8);
12
- $parcel$export($dad94870630697a9$exports, "$User", () => $dad94870630697a9$export$424b0b82fa10bdfa);
13
- $parcel$export($dad94870630697a9$exports, "$SessionWithToken", () => $dad94870630697a9$export$aaf658bacb5186fb);
14
- $parcel$export($dad94870630697a9$exports, "$LoginByEmailDto", () => $dad94870630697a9$export$b60f6dff66c5c7ac);
15
- $parcel$export($dad94870630697a9$exports, "$LoginByPhoneDto", () => $dad94870630697a9$export$330f12720b62cc63);
16
- $parcel$export($dad94870630697a9$exports, "$RegisterDto", () => $dad94870630697a9$export$b5be97c39364f433);
17
- $parcel$export($dad94870630697a9$exports, "$RegisterbyPhoneDto", () => $dad94870630697a9$export$e47424ab6045dd9e);
18
- $parcel$export($dad94870630697a9$exports, "$RegisterByEmailDto", () => $dad94870630697a9$export$297fa16bfda62978);
19
- $parcel$export($dad94870630697a9$exports, "$SignTokenDto", () => $dad94870630697a9$export$9700ad9c19f406f1);
20
- $parcel$export($dad94870630697a9$exports, "$Token", () => $dad94870630697a9$export$836264d3c2fd35dd);
21
- $parcel$export($dad94870630697a9$exports, "$RefreshTokenDto", () => $dad94870630697a9$export$4f302e855623adeb);
22
- $parcel$export($dad94870630697a9$exports, "$CreateUserDto", () => $dad94870630697a9$export$42fb86b793a2c536);
23
- $parcel$export($dad94870630697a9$exports, "$UpdateUserDto", () => $dad94870630697a9$export$1b308892cefd8e3e);
24
- $parcel$export($dad94870630697a9$exports, "$ResetPasswordDto", () => $dad94870630697a9$export$ea03f88e5a85dda9);
25
- $parcel$export($dad94870630697a9$exports, "$UpdatePasswordDto", () => $dad94870630697a9$export$3bacf71d57b21dff);
26
- $parcel$export($dad94870630697a9$exports, "$CreateNamespaceDto", () => $dad94870630697a9$export$3a0f0f379fb2f43f);
27
- $parcel$export($dad94870630697a9$exports, "$Namespace", () => $dad94870630697a9$export$fef09edac2f41dd6);
28
- $parcel$export($dad94870630697a9$exports, "$UpdateNamespaceDto", () => $dad94870630697a9$export$532a2356385b479a);
29
- $parcel$export($dad94870630697a9$exports, "$CreateSessionDto", () => $dad94870630697a9$export$c383d7f32a575ab);
30
- $parcel$export($dad94870630697a9$exports, "$Session", () => $dad94870630697a9$export$90376f1cecfdbf1b);
31
- $parcel$export($dad94870630697a9$exports, "$UpdateSessionDto", () => $dad94870630697a9$export$8799e003f5e64a20);
32
- $parcel$export($dad94870630697a9$exports, "$CreateGroupDto", () => $dad94870630697a9$export$f82ca5b68f88f064);
33
- $parcel$export($dad94870630697a9$exports, "$Group", () => $dad94870630697a9$export$c90c1d4bd95ad384);
34
- $parcel$export($dad94870630697a9$exports, "$UpdateGroupDto", () => $dad94870630697a9$export$1003ec321a8b124);
35
- $parcel$export($dad94870630697a9$exports, "$CreateCaptchaDto", () => $dad94870630697a9$export$7e72ed431ee59116);
36
- $parcel$export($dad94870630697a9$exports, "$Captcha", () => $dad94870630697a9$export$1f2dec6968d7e276);
37
- $parcel$export($dad94870630697a9$exports, "$UpdateCaptchaDto", () => $dad94870630697a9$export$9ccc176b5ae9cc36);
38
- $parcel$export($dad94870630697a9$exports, "$SendEmailDto", () => $dad94870630697a9$export$6f9a342594b281c0);
39
- $parcel$export($dad94870630697a9$exports, "$EmailStatus", () => $dad94870630697a9$export$ca86ed5d3edf6578);
40
- $parcel$export($dad94870630697a9$exports, "$CreateEmailRecordDto", () => $dad94870630697a9$export$2093419254bae162);
41
- $parcel$export($dad94870630697a9$exports, "$EmailRecord", () => $dad94870630697a9$export$96180cdcc4bc745c);
42
- $parcel$export($dad94870630697a9$exports, "$UpdateEmailRecordDto", () => $dad94870630697a9$export$f581847698cf72b6);
43
- $parcel$export($dad94870630697a9$exports, "$SendSmsDto", () => $dad94870630697a9$export$9af4a86888b337b1);
44
- $parcel$export($dad94870630697a9$exports, "$SmsStatus", () => $dad94870630697a9$export$d1050030e8300ed6);
45
- $parcel$export($dad94870630697a9$exports, "$CreateSmsRecordDto", () => $dad94870630697a9$export$c91a8145d1d88a6b);
46
- $parcel$export($dad94870630697a9$exports, "$SmsRecord", () => $dad94870630697a9$export$62bcd56e06b73f35);
47
- $parcel$export($dad94870630697a9$exports, "$UpdateSmsRecordDto", () => $dad94870630697a9$export$b885d88b4209b261);
48
- $parcel$export($dad94870630697a9$exports, "$Industry", () => $dad94870630697a9$export$86e7567d0e80a3fd);
49
- $parcel$export($dad94870630697a9$exports, "$Region", () => $dad94870630697a9$export$fd4976cd1b633c9);
50
- $parcel$export($dad94870630697a9$exports, "$CreateRoleDto", () => $dad94870630697a9$export$50f2012a72dcff8f);
51
- $parcel$export($dad94870630697a9$exports, "$Role", () => $dad94870630697a9$export$5828fa7e2c71b157);
52
- $parcel$export($dad94870630697a9$exports, "$UpdateRoleDto", () => $dad94870630697a9$export$4a58276f1c17d5f3);
53
- // This file is auto-generated by @hey-api/openapi-ts
54
- const $dad94870630697a9$export$88f4d4b355951aa3 = {
55
- type: "object",
56
- properties: {
57
- message: {
58
- type: "string"
59
- }
60
- },
61
- required: [
62
- "message"
63
- ]
64
- };
65
- const $dad94870630697a9$export$f4de602dbafe6fc8 = {
66
- type: "object",
67
- properties: {
68
- login: {
69
- type: "string",
70
- description: "\u53EF\u4EE5\u662F username/phone/Email"
71
- },
72
- password: {
73
- type: "string",
74
- description: "\u5BC6\u7801"
75
- }
76
- },
77
- required: [
78
- "login",
79
- "password"
80
- ]
81
- };
82
- const $dad94870630697a9$export$424b0b82fa10bdfa = {
83
- type: "object",
84
- properties: {
85
- password: {
86
- type: "string",
87
- description: "\u5BC6\u7801",
88
- writeOnly: true
89
- },
90
- hasPassword: {
91
- type: "boolean",
92
- description: "\u662F\u5426\u6709\u5BC6\u7801",
93
- readOnly: true
94
- },
95
- avatar: {
96
- type: "string",
97
- description: "\u5934\u50CF"
98
- },
99
- data: {
100
- type: "string",
101
- description: "\u989D\u5916\u6570\u636E"
102
- },
103
- email: {
104
- type: "string",
105
- description: "\u90AE\u7BB1"
106
- },
107
- name: {
108
- type: "string",
109
- description: "\u59D3\u540D"
110
- },
111
- identity: {
112
- type: "string"
113
- },
114
- identityVerifiedAt: {
115
- format: "date-time",
116
- type: "string",
117
- description: "\u5B9E\u540D\u8BA4\u8BC1\u65F6\u95F4"
118
- },
119
- identityVerified: {
120
- type: "boolean",
121
- description: "\u5B9E\u540D\u8BA4\u8BC1\u662F\u5426\u901A\u8FC7"
122
- },
123
- intro: {
124
- type: "string",
125
- description: "\u7B80\u4ECB"
126
- },
127
- language: {
128
- type: "string",
129
- description: "\u4F7F\u7528\u8BED\u8A00"
130
- },
131
- lastLoginIp: {
132
- type: "string",
133
- description: "\u6700\u540E\u767B\u5F55 IP"
134
- },
135
- lastSeenAt: {
136
- format: "date-time",
137
- type: "string",
138
- description: "\u6700\u540E\u6D3B\u8DC3\u65F6\u95F4"
139
- },
140
- nickname: {
141
- type: "string",
142
- description: "\u6635\u79F0"
143
- },
144
- ns: {
145
- type: "string",
146
- description: "\u6240\u5C5E\u547D\u540D\u7A7A\u95F4"
147
- },
148
- phone: {
149
- type: "string",
150
- description: "\u624B\u673A\u53F7"
151
- },
152
- registerIp: {
153
- type: "string",
154
- description: "\u6CE8\u518C IP"
155
- },
156
- registerRegion: {
157
- type: "string",
158
- description: "\u6CE8\u518C\u5730\u533A\uFF0C\u5B58\u5730\u533A\u7F16\u53F7"
159
- },
160
- roles: {
161
- description: "\u89D2\u8272",
162
- type: "array",
163
- items: {
164
- type: "string"
165
- }
166
- },
167
- super: {
168
- type: "boolean",
169
- description: "\u662F\u5426\u8D85\u7EA7\u7BA1\u7406\u5458"
170
- },
171
- username: {
172
- type: "string",
173
- description: "\u7528\u6237\u540D"
174
- },
175
- employeeId: {
176
- type: "string",
177
- description: "\u5458\u5DE5\u7F16\u53F7"
178
- },
179
- permissions: {
180
- description: "\u6743\u9650",
181
- type: "array",
182
- items: {
183
- type: "string"
184
- }
185
- },
186
- groups: {
187
- description: "\u56E2\u961F",
188
- type: "array",
189
- items: {
190
- type: "string"
191
- }
192
- },
193
- lastLoginAt: {
194
- format: "date-time",
195
- type: "string",
196
- description: "\u6700\u540E\u767B\u5F55\u65F6\u95F4"
197
- },
198
- active: {
199
- type: "boolean",
200
- description: "\u662F\u5426\u542F\u7528"
201
- },
202
- inviteCode: {
203
- type: "string",
204
- description: "\u9080\u8BF7\u7801"
205
- },
206
- status: {
207
- type: "string",
208
- description: "\u72B6\u6001"
209
- },
210
- expireAt: {
211
- format: "date-time",
212
- type: "string",
213
- description: "\u8FC7\u671F\u65F6\u95F4"
214
- },
215
- types: {
216
- description: "\u7C7B\u578B\uFF0C\u652F\u6301\u8BBE\u7F6E\u591A\u4E2A",
217
- type: "array",
218
- items: {
219
- type: "string"
220
- }
221
- },
222
- id: {
223
- type: "string",
224
- description: "Entity id"
225
- },
226
- createdAt: {
227
- format: "date-time",
228
- type: "string",
229
- description: "Entity created at when"
230
- },
231
- updatedAt: {
232
- format: "date-time",
233
- type: "string",
234
- description: "Entity updated at when"
235
- },
236
- createdBy: {
237
- type: "string",
238
- description: "Entity created by who"
239
- },
240
- updatedBy: {
241
- type: "string",
242
- description: "Entity updated by who"
243
- }
244
- },
245
- required: [
246
- "id"
247
- ]
248
- };
249
- const $dad94870630697a9$export$aaf658bacb5186fb = {
250
- type: "object",
251
- properties: {
252
- acl: {
253
- type: "object",
254
- description: "\u8BBF\u95EE\u63A7\u5236\u5217\u8868"
255
- },
256
- expireAt: {
257
- format: "date-time",
258
- type: "string",
259
- description: "\u4F1A\u8BDD\u8FC7\u671F\u65F6\u95F4"
260
- },
261
- key: {
262
- type: "string",
263
- description: "refresh token key"
264
- },
265
- user: {
266
- description: "\u7528\u6237\uFF0C\u5B9E\u9645\u5B58\u50A8 uid",
267
- allOf: [
268
- {
269
- $ref: "#/components/schemas/User"
270
- }
271
- ]
272
- },
273
- client: {
274
- type: "string",
275
- description: "\u5BA2\u6237\u7AEF/\u8BBE\u5907"
276
- },
277
- id: {
278
- type: "string",
279
- description: "Entity id"
280
- },
281
- createdAt: {
282
- format: "date-time",
283
- type: "string",
284
- description: "Entity created at when"
285
- },
286
- updatedAt: {
287
- format: "date-time",
288
- type: "string",
289
- description: "Entity updated at when"
290
- },
291
- createdBy: {
292
- type: "string",
293
- description: "Entity created by who"
294
- },
295
- updatedBy: {
296
- type: "string",
297
- description: "Entity updated by who"
298
- },
299
- token: {
300
- type: "string",
301
- description: "token"
302
- },
303
- tokenExpireAt: {
304
- format: "date-time",
305
- type: "string",
306
- description: "token \u8FC7\u671F\u65F6\u95F4"
307
- }
308
- },
309
- required: [
310
- "expireAt",
311
- "key",
312
- "user",
313
- "id",
314
- "token",
315
- "tokenExpireAt"
316
- ]
317
- };
318
- const $dad94870630697a9$export$b60f6dff66c5c7ac = {
319
- type: "object",
320
- properties: {
321
- email: {
322
- type: "string",
323
- description: "\u90AE\u7BB1"
324
- },
325
- key: {
326
- type: "string",
327
- description: "\u9A8C\u8BC1\u7801 key"
328
- },
329
- code: {
330
- type: "string",
331
- description: "\u9A8C\u8BC1\u7801 code"
332
- }
333
- },
334
- required: [
335
- "email",
336
- "key",
337
- "code"
338
- ]
339
- };
340
- const $dad94870630697a9$export$330f12720b62cc63 = {
341
- type: "object",
342
- properties: {
343
- phone: {
344
- type: "string",
345
- description: "\u624B\u673A\u53F7"
346
- },
347
- key: {
348
- type: "string",
349
- description: "\u9A8C\u8BC1\u7801 key"
350
- },
351
- code: {
352
- type: "string",
353
- description: "\u9A8C\u8BC1\u7801 code"
354
- }
355
- },
356
- required: [
357
- "phone",
358
- "key",
359
- "code"
360
- ]
361
- };
362
- const $dad94870630697a9$export$b5be97c39364f433 = {
363
- type: "object",
364
- properties: {
365
- username: {
366
- type: "string",
367
- description: "\u7528\u6237\u540D"
368
- },
369
- password: {
370
- type: "string",
371
- description: "\u5BC6\u7801"
372
- },
373
- ns: {
374
- type: "string",
375
- description: "\u547D\u540D\u7A7A\u95F4"
376
- }
377
- },
378
- required: [
379
- "username",
380
- "password"
381
- ]
382
- };
383
- const $dad94870630697a9$export$e47424ab6045dd9e = {
384
- type: "object",
385
- properties: {
386
- phone: {
387
- type: "string",
388
- description: "\u624B\u673A\u53F7"
389
- },
390
- key: {
391
- type: "string",
392
- description: "\u9A8C\u8BC1\u7801 key"
393
- },
394
- code: {
395
- type: "string",
396
- description: "\u9A8C\u8BC1\u7801 code"
397
- },
398
- ns: {
399
- type: "string",
400
- description: "\u547D\u540D\u7A7A\u95F4"
401
- }
402
- },
403
- required: [
404
- "phone",
405
- "key",
406
- "code"
407
- ]
408
- };
409
- const $dad94870630697a9$export$297fa16bfda62978 = {
410
- type: "object",
411
- properties: {
412
- email: {
413
- type: "string",
414
- description: "\u90AE\u7BB1"
415
- },
416
- key: {
417
- type: "string",
418
- description: "\u9A8C\u8BC1\u7801 key"
419
- },
420
- code: {
421
- type: "string",
422
- description: "\u9A8C\u8BC1\u7801 code"
423
- },
424
- ns: {
425
- type: "string",
426
- description: "\u547D\u540D\u7A7A\u95F4"
427
- }
428
- },
429
- required: [
430
- "email",
431
- "key",
432
- "code"
433
- ]
434
- };
435
- const $dad94870630697a9$export$9700ad9c19f406f1 = {
436
- type: "object",
437
- properties: {
438
- expiresIn: {
439
- type: "string",
440
- description: `short time span string
441
-
442
- refs: https://github.com/vercel/ms
443
-
444
- eg: "2 days", "10h", "7d", "120s", "2.5 hrs", "2h", "1m", "5s", "1y", "100", "1y1m1d"
445
-
446
- m => minute
447
- h => hour
448
- d => day
449
- w => week
450
- M => month
451
- y => year
452
- s => second
453
- ms => millisecond
454
- \u{65E0}\u{5355}\u{4F4D} => millisecond`
455
- },
456
- acl: {
457
- type: "object",
458
- description: "\u8BBF\u95EE\u63A7\u5236\u5217\u8868"
459
- },
460
- uid: {
461
- type: "string",
462
- description: "user id"
463
- }
464
- },
465
- required: [
466
- "expiresIn",
467
- "uid"
468
- ]
469
- };
470
- const $dad94870630697a9$export$836264d3c2fd35dd = {
471
- type: "object",
472
- properties: {
473
- token: {
474
- type: "string",
475
- description: "token"
476
- },
477
- tokenExpireAt: {
478
- format: "date-time",
479
- type: "string",
480
- description: "token \u8FC7\u671F\u65F6\u95F4"
481
- }
482
- },
483
- required: [
484
- "token",
485
- "tokenExpireAt"
486
- ]
487
- };
488
- const $dad94870630697a9$export$4f302e855623adeb = {
489
- type: "object",
490
- properties: {
491
- key: {
492
- type: "string",
493
- description: "user id"
494
- }
495
- },
496
- required: [
497
- "key"
498
- ]
499
- };
500
- const $dad94870630697a9$export$42fb86b793a2c536 = {
501
- type: "object",
502
- properties: {
503
- password: {
504
- type: "string",
505
- description: "\u5BC6\u7801",
506
- writeOnly: true
507
- },
508
- hasPassword: {
509
- type: "boolean",
510
- description: "\u662F\u5426\u6709\u5BC6\u7801",
511
- readOnly: true
512
- },
513
- avatar: {
514
- type: "string",
515
- description: "\u5934\u50CF"
516
- },
517
- data: {
518
- type: "string",
519
- description: "\u989D\u5916\u6570\u636E"
520
- },
521
- email: {
522
- type: "string",
523
- description: "\u90AE\u7BB1"
524
- },
525
- name: {
526
- type: "string",
527
- description: "\u59D3\u540D"
528
- },
529
- identity: {
530
- type: "string"
531
- },
532
- identityVerifiedAt: {
533
- format: "date-time",
534
- type: "string",
535
- description: "\u5B9E\u540D\u8BA4\u8BC1\u65F6\u95F4"
536
- },
537
- identityVerified: {
538
- type: "boolean",
539
- description: "\u5B9E\u540D\u8BA4\u8BC1\u662F\u5426\u901A\u8FC7"
540
- },
541
- intro: {
542
- type: "string",
543
- description: "\u7B80\u4ECB"
544
- },
545
- language: {
546
- type: "string",
547
- description: "\u4F7F\u7528\u8BED\u8A00"
548
- },
549
- nickname: {
550
- type: "string",
551
- description: "\u6635\u79F0"
552
- },
553
- ns: {
554
- type: "string",
555
- description: "\u6240\u5C5E\u547D\u540D\u7A7A\u95F4"
556
- },
557
- phone: {
558
- type: "string",
559
- description: "\u624B\u673A\u53F7"
560
- },
561
- registerRegion: {
562
- type: "string",
563
- description: "\u6CE8\u518C\u5730\u533A\uFF0C\u5B58\u5730\u533A\u7F16\u53F7"
564
- },
565
- roles: {
566
- description: "\u89D2\u8272",
567
- type: "array",
568
- items: {
569
- type: "string"
570
- }
571
- },
572
- super: {
573
- type: "boolean",
574
- description: "\u662F\u5426\u8D85\u7EA7\u7BA1\u7406\u5458"
575
- },
576
- username: {
577
- type: "string",
578
- description: "\u7528\u6237\u540D"
579
- },
580
- employeeId: {
581
- type: "string",
582
- description: "\u5458\u5DE5\u7F16\u53F7"
583
- },
584
- permissions: {
585
- description: "\u6743\u9650",
586
- type: "array",
587
- items: {
588
- type: "string"
589
- }
590
- },
591
- groups: {
592
- description: "\u56E2\u961F",
593
- type: "array",
594
- items: {
595
- type: "string"
596
- }
597
- },
598
- active: {
599
- type: "boolean",
600
- description: "\u662F\u5426\u542F\u7528"
601
- },
602
- inviteCode: {
603
- type: "string",
604
- description: "\u9080\u8BF7\u7801"
605
- },
606
- status: {
607
- type: "string",
608
- description: "\u72B6\u6001"
609
- },
610
- expireAt: {
611
- format: "date-time",
612
- type: "string",
613
- description: "\u8FC7\u671F\u65F6\u95F4"
614
- },
615
- types: {
616
- description: "\u7C7B\u578B\uFF0C\u652F\u6301\u8BBE\u7F6E\u591A\u4E2A",
617
- type: "array",
618
- items: {
619
- type: "string"
620
- }
621
- }
622
- }
623
- };
624
- const $dad94870630697a9$export$1b308892cefd8e3e = {
625
- type: "object",
626
- properties: {
627
- hasPassword: {
628
- type: "boolean",
629
- description: "\u662F\u5426\u6709\u5BC6\u7801",
630
- readOnly: true
631
- },
632
- avatar: {
633
- type: "string",
634
- description: "\u5934\u50CF"
635
- },
636
- data: {
637
- type: "string",
638
- description: "\u989D\u5916\u6570\u636E"
639
- },
640
- email: {
641
- type: "string",
642
- description: "\u90AE\u7BB1"
643
- },
644
- name: {
645
- type: "string",
646
- description: "\u59D3\u540D"
647
- },
648
- identity: {
649
- type: "string"
650
- },
651
- identityVerifiedAt: {
652
- format: "date-time",
653
- type: "string",
654
- description: "\u5B9E\u540D\u8BA4\u8BC1\u65F6\u95F4"
655
- },
656
- identityVerified: {
657
- type: "boolean",
658
- description: "\u5B9E\u540D\u8BA4\u8BC1\u662F\u5426\u901A\u8FC7"
659
- },
660
- intro: {
661
- type: "string",
662
- description: "\u7B80\u4ECB"
663
- },
664
- language: {
665
- type: "string",
666
- description: "\u4F7F\u7528\u8BED\u8A00"
667
- },
668
- lastLoginIp: {
669
- type: "string",
670
- description: "\u6700\u540E\u767B\u5F55 IP"
671
- },
672
- lastSeenAt: {
673
- format: "date-time",
674
- type: "string",
675
- description: "\u6700\u540E\u6D3B\u8DC3\u65F6\u95F4"
676
- },
677
- nickname: {
678
- type: "string",
679
- description: "\u6635\u79F0"
680
- },
681
- ns: {
682
- type: "string",
683
- description: "\u6240\u5C5E\u547D\u540D\u7A7A\u95F4"
684
- },
685
- phone: {
686
- type: "string",
687
- description: "\u624B\u673A\u53F7"
688
- },
689
- registerIp: {
690
- type: "string",
691
- description: "\u6CE8\u518C IP"
692
- },
693
- registerRegion: {
694
- type: "string",
695
- description: "\u6CE8\u518C\u5730\u533A\uFF0C\u5B58\u5730\u533A\u7F16\u53F7"
696
- },
697
- roles: {
698
- description: "\u89D2\u8272",
699
- type: "array",
700
- items: {
701
- type: "string"
702
- }
703
- },
704
- super: {
705
- type: "boolean",
706
- description: "\u662F\u5426\u8D85\u7EA7\u7BA1\u7406\u5458"
707
- },
708
- username: {
709
- type: "string",
710
- description: "\u7528\u6237\u540D"
711
- },
712
- employeeId: {
713
- type: "string",
714
- description: "\u5458\u5DE5\u7F16\u53F7"
715
- },
716
- permissions: {
717
- description: "\u6743\u9650",
718
- type: "array",
719
- items: {
720
- type: "string"
721
- }
722
- },
723
- groups: {
724
- description: "\u56E2\u961F",
725
- type: "array",
726
- items: {
727
- type: "string"
728
- }
729
- },
730
- lastLoginAt: {
731
- format: "date-time",
732
- type: "string",
733
- description: "\u6700\u540E\u767B\u5F55\u65F6\u95F4"
734
- },
735
- active: {
736
- type: "boolean",
737
- description: "\u662F\u5426\u542F\u7528"
738
- },
739
- inviteCode: {
740
- type: "string",
741
- description: "\u9080\u8BF7\u7801"
742
- },
743
- status: {
744
- type: "string",
745
- description: "\u72B6\u6001"
746
- },
747
- expireAt: {
748
- format: "date-time",
749
- type: "string",
750
- description: "\u8FC7\u671F\u65F6\u95F4"
751
- },
752
- types: {
753
- description: "\u7C7B\u578B\uFF0C\u652F\u6301\u8BBE\u7F6E\u591A\u4E2A",
754
- type: "array",
755
- items: {
756
- type: "string"
757
- }
758
- }
759
- }
760
- };
761
- const $dad94870630697a9$export$ea03f88e5a85dda9 = {
762
- type: "object",
763
- properties: {
764
- password: {
765
- type: "string",
766
- description: "\u5BC6\u7801"
767
- }
768
- }
769
- };
770
- const $dad94870630697a9$export$3bacf71d57b21dff = {
771
- type: "object",
772
- properties: {
773
- oldPassword: {
774
- type: "string",
775
- description: "\u65E7\u5BC6\u7801"
776
- },
777
- newPassword: {
778
- type: "string",
779
- description: "\u65B0\u5BC6\u7801"
780
- }
781
- },
782
- required: [
783
- "newPassword"
784
- ]
785
- };
786
- const $dad94870630697a9$export$3a0f0f379fb2f43f = {
787
- type: "object",
788
- properties: {
789
- data: {
790
- type: "string",
791
- description: "\u989D\u5916\u6570\u636E"
792
- },
793
- desc: {
794
- type: "string",
795
- description: "\u63CF\u8FF0"
796
- },
797
- labels: {
798
- description: "\u6807\u7B7E",
799
- type: "array",
800
- items: {
801
- type: "string"
802
- }
803
- },
804
- name: {
805
- type: "string",
806
- description: "\u540D\u79F0"
807
- },
808
- key: {
809
- type: "string",
810
- description: `\u{547D}\u{540D}\u{7A7A}\u{95F4}\u{7684} key
811
-
812
- \u{5141}\u{8BB8}\u{7684}\u{5B57}\u{7B26} ^[a-zA-Z][a-zA-Z0-9._/-]{0,30}$`
813
- },
814
- ns: {
815
- type: "string",
816
- description: "\u6240\u5C5E\u7684 namespace"
817
- },
818
- permissions: {
819
- description: "\u6743\u9650",
820
- type: "array",
821
- items: {
822
- type: "string"
823
- }
824
- },
825
- active: {
826
- type: "boolean",
827
- description: "\u662F\u5426\u542F\u7528"
828
- },
829
- defaultPassword: {
830
- type: "string",
831
- description: "\u9ED8\u8BA4\u5BC6\u7801"
832
- },
833
- exportable: {
834
- type: "boolean",
835
- description: "\u662F\u5426\u53EF\u5BFC\u51FA"
836
- },
837
- userCount: {
838
- type: "number",
839
- description: "\u4EBA\u6570"
840
- }
841
- },
842
- required: [
843
- "name",
844
- "key"
845
- ]
846
- };
847
- const $dad94870630697a9$export$fef09edac2f41dd6 = {
848
- type: "object",
849
- properties: {
850
- data: {
851
- type: "string",
852
- description: "\u989D\u5916\u6570\u636E"
853
- },
854
- desc: {
855
- type: "string",
856
- description: "\u63CF\u8FF0"
857
- },
858
- labels: {
859
- description: "\u6807\u7B7E",
860
- type: "array",
861
- items: {
862
- type: "string"
863
- }
864
- },
865
- name: {
866
- type: "string",
867
- description: "\u540D\u79F0"
868
- },
869
- key: {
870
- type: "string",
871
- description: `\u{547D}\u{540D}\u{7A7A}\u{95F4}\u{7684} key
872
-
873
- \u{5141}\u{8BB8}\u{7684}\u{5B57}\u{7B26} ^[a-zA-Z][a-zA-Z0-9._/-]{0,30}$`
874
- },
875
- ns: {
876
- type: "string",
877
- description: "\u6240\u5C5E\u7684 namespace"
878
- },
879
- permissions: {
880
- description: "\u6743\u9650",
881
- type: "array",
882
- items: {
883
- type: "string"
884
- }
885
- },
886
- active: {
887
- type: "boolean",
888
- description: "\u662F\u5426\u542F\u7528"
889
- },
890
- defaultPassword: {
891
- type: "string",
892
- description: "\u9ED8\u8BA4\u5BC6\u7801"
893
- },
894
- exportable: {
895
- type: "boolean",
896
- description: "\u662F\u5426\u53EF\u5BFC\u51FA"
897
- },
898
- userCount: {
899
- type: "number",
900
- description: "\u4EBA\u6570"
901
- },
902
- id: {
903
- type: "string",
904
- description: "Entity id"
905
- },
906
- createdAt: {
907
- format: "date-time",
908
- type: "string",
909
- description: "Entity created at when"
910
- },
911
- updatedAt: {
912
- format: "date-time",
913
- type: "string",
914
- description: "Entity updated at when"
915
- },
916
- createdBy: {
917
- type: "string",
918
- description: "Entity created by who"
919
- },
920
- updatedBy: {
921
- type: "string",
922
- description: "Entity updated by who"
923
- }
924
- },
925
- required: [
926
- "name",
927
- "key",
928
- "id"
929
- ]
930
- };
931
- const $dad94870630697a9$export$532a2356385b479a = {
932
- type: "object",
933
- properties: {
934
- data: {
935
- type: "string",
936
- description: "\u989D\u5916\u6570\u636E"
937
- },
938
- desc: {
939
- type: "string",
940
- description: "\u63CF\u8FF0"
941
- },
942
- labels: {
943
- description: "\u6807\u7B7E",
944
- type: "array",
945
- items: {
946
- type: "string"
947
- }
948
- },
949
- name: {
950
- type: "string",
951
- description: "\u540D\u79F0"
952
- },
953
- permissions: {
954
- description: "\u6743\u9650",
955
- type: "array",
956
- items: {
957
- type: "string"
958
- }
959
- },
960
- active: {
961
- type: "boolean",
962
- description: "\u662F\u5426\u542F\u7528"
963
- },
964
- defaultPassword: {
965
- type: "string",
966
- description: "\u9ED8\u8BA4\u5BC6\u7801"
967
- },
968
- exportable: {
969
- type: "boolean",
970
- description: "\u662F\u5426\u53EF\u5BFC\u51FA"
971
- },
972
- userCount: {
973
- type: "number",
974
- description: "\u4EBA\u6570"
975
- }
976
- }
977
- };
978
- const $dad94870630697a9$export$c383d7f32a575ab = {
979
- type: "object",
980
- properties: {
981
- uid: {
982
- type: "string",
983
- description: "\u7528\u6237 ID"
984
- },
985
- acl: {
986
- type: "object",
987
- description: "\u8BBF\u95EE\u63A7\u5236\u5217\u8868"
988
- },
989
- expireAt: {
990
- format: "date-time",
991
- type: "string",
992
- description: "\u4F1A\u8BDD\u8FC7\u671F\u65F6\u95F4"
993
- },
994
- client: {
995
- type: "string",
996
- description: "\u5BA2\u6237\u7AEF/\u8BBE\u5907"
997
- }
998
- },
999
- required: [
1000
- "uid",
1001
- "expireAt"
1002
- ]
1003
- };
1004
- const $dad94870630697a9$export$90376f1cecfdbf1b = {
1005
- type: "object",
1006
- properties: {
1007
- acl: {
1008
- type: "object",
1009
- description: "\u8BBF\u95EE\u63A7\u5236\u5217\u8868"
1010
- },
1011
- expireAt: {
1012
- format: "date-time",
1013
- type: "string",
1014
- description: "\u4F1A\u8BDD\u8FC7\u671F\u65F6\u95F4"
1015
- },
1016
- key: {
1017
- type: "string",
1018
- description: "refresh token key"
1019
- },
1020
- user: {
1021
- description: "\u7528\u6237\uFF0C\u5B9E\u9645\u5B58\u50A8 uid",
1022
- allOf: [
1023
- {
1024
- $ref: "#/components/schemas/User"
1025
- }
1026
- ]
1027
- },
1028
- client: {
1029
- type: "string",
1030
- description: "\u5BA2\u6237\u7AEF/\u8BBE\u5907"
1031
- },
1032
- id: {
1033
- type: "string",
1034
- description: "Entity id"
1035
- },
1036
- createdAt: {
1037
- format: "date-time",
1038
- type: "string",
1039
- description: "Entity created at when"
1040
- },
1041
- updatedAt: {
1042
- format: "date-time",
1043
- type: "string",
1044
- description: "Entity updated at when"
1045
- },
1046
- createdBy: {
1047
- type: "string",
1048
- description: "Entity created by who"
1049
- },
1050
- updatedBy: {
1051
- type: "string",
1052
- description: "Entity updated by who"
1053
- }
1054
- },
1055
- required: [
1056
- "expireAt",
1057
- "key",
1058
- "user",
1059
- "id"
1060
- ]
1061
- };
1062
- const $dad94870630697a9$export$8799e003f5e64a20 = {
1063
- type: "object",
1064
- properties: {
1065
- acl: {
1066
- type: "object",
1067
- description: "\u8BBF\u95EE\u63A7\u5236\u5217\u8868"
1068
- },
1069
- expireAt: {
1070
- format: "date-time",
1071
- type: "string",
1072
- description: "\u4F1A\u8BDD\u8FC7\u671F\u65F6\u95F4"
1073
- },
1074
- client: {
1075
- type: "string",
1076
- description: "\u5BA2\u6237\u7AEF/\u8BBE\u5907"
1077
- },
1078
- uid: {
1079
- type: "string",
1080
- description: "\u7528\u6237 ID"
1081
- }
1082
- }
1083
- };
1084
- const $dad94870630697a9$export$f82ca5b68f88f064 = {
1085
- type: "object",
1086
- properties: {
1087
- data: {
1088
- type: "string",
1089
- description: "\u989D\u5916\u6570\u636E"
1090
- },
1091
- name: {
1092
- type: "string",
1093
- description: "\u540D\u79F0"
1094
- },
1095
- permissions: {
1096
- description: "\u6743\u9650",
1097
- type: "array",
1098
- items: {
1099
- type: "string"
1100
- }
1101
- },
1102
- active: {
1103
- type: "boolean",
1104
- description: "\u662F\u5426\u542F\u7528"
1105
- },
1106
- userCount: {
1107
- type: "number",
1108
- description: "\u4EBA\u6570"
1109
- }
1110
- },
1111
- required: [
1112
- "name"
1113
- ]
1114
- };
1115
- const $dad94870630697a9$export$c90c1d4bd95ad384 = {
1116
- type: "object",
1117
- properties: {
1118
- data: {
1119
- type: "string",
1120
- description: "\u989D\u5916\u6570\u636E"
1121
- },
1122
- name: {
1123
- type: "string",
1124
- description: "\u540D\u79F0"
1125
- },
1126
- permissions: {
1127
- description: "\u6743\u9650",
1128
- type: "array",
1129
- items: {
1130
- type: "string"
1131
- }
1132
- },
1133
- active: {
1134
- type: "boolean",
1135
- description: "\u662F\u5426\u542F\u7528"
1136
- },
1137
- userCount: {
1138
- type: "number",
1139
- description: "\u4EBA\u6570"
1140
- },
1141
- id: {
1142
- type: "string",
1143
- description: "Entity id"
1144
- },
1145
- createdAt: {
1146
- format: "date-time",
1147
- type: "string",
1148
- description: "Entity created at when"
1149
- },
1150
- updatedAt: {
1151
- format: "date-time",
1152
- type: "string",
1153
- description: "Entity updated at when"
1154
- },
1155
- createdBy: {
1156
- type: "string",
1157
- description: "Entity created by who"
1158
- },
1159
- updatedBy: {
1160
- type: "string",
1161
- description: "Entity updated by who"
1162
- }
1163
- },
1164
- required: [
1165
- "name",
1166
- "id"
1167
- ]
1168
- };
1169
- const $dad94870630697a9$export$1003ec321a8b124 = {
1170
- type: "object",
1171
- properties: {
1172
- data: {
1173
- type: "string",
1174
- description: "\u989D\u5916\u6570\u636E"
1175
- },
1176
- name: {
1177
- type: "string",
1178
- description: "\u540D\u79F0"
1179
- },
1180
- permissions: {
1181
- description: "\u6743\u9650",
1182
- type: "array",
1183
- items: {
1184
- type: "string"
1185
- }
1186
- },
1187
- active: {
1188
- type: "boolean",
1189
- description: "\u662F\u5426\u542F\u7528"
1190
- },
1191
- userCount: {
1192
- type: "number",
1193
- description: "\u4EBA\u6570"
1194
- }
1195
- }
1196
- };
1197
- const $dad94870630697a9$export$7e72ed431ee59116 = {
1198
- type: "object",
1199
- properties: {
1200
- code: {
1201
- type: "string",
1202
- description: "\u9A8C\u8BC1\u7801"
1203
- },
1204
- expireAt: {
1205
- format: "date-time",
1206
- type: "string",
1207
- description: "\u8FC7\u671F\u65F6\u95F4"
1208
- },
1209
- key: {
1210
- type: "string",
1211
- description: "key"
1212
- }
1213
- },
1214
- required: [
1215
- "key"
1216
- ]
1217
- };
1218
- const $dad94870630697a9$export$1f2dec6968d7e276 = {
1219
- type: "object",
1220
- properties: {
1221
- code: {
1222
- type: "string",
1223
- description: "\u9A8C\u8BC1\u7801"
1224
- },
1225
- expireAt: {
1226
- format: "date-time",
1227
- type: "string",
1228
- description: "\u8FC7\u671F\u65F6\u95F4"
1229
- },
1230
- key: {
1231
- type: "string",
1232
- description: "key"
1233
- },
1234
- id: {
1235
- type: "string",
1236
- description: "Entity id"
1237
- },
1238
- createdAt: {
1239
- format: "date-time",
1240
- type: "string",
1241
- description: "Entity created at when"
1242
- },
1243
- updatedAt: {
1244
- format: "date-time",
1245
- type: "string",
1246
- description: "Entity updated at when"
1247
- },
1248
- createdBy: {
1249
- type: "string",
1250
- description: "Entity created by who"
1251
- },
1252
- updatedBy: {
1253
- type: "string",
1254
- description: "Entity updated by who"
1255
- }
1256
- },
1257
- required: [
1258
- "code",
1259
- "expireAt",
1260
- "key",
1261
- "id"
1262
- ]
1263
- };
1264
- const $dad94870630697a9$export$9ccc176b5ae9cc36 = {
1265
- type: "object",
1266
- properties: {
1267
- code: {
1268
- type: "string",
1269
- description: "\u9A8C\u8BC1\u7801"
1270
- },
1271
- expireAt: {
1272
- format: "date-time",
1273
- type: "string",
1274
- description: "\u8FC7\u671F\u65F6\u95F4"
1275
- },
1276
- key: {
1277
- type: "string",
1278
- description: "key"
1279
- }
1280
- }
1281
- };
1282
- const $dad94870630697a9$export$6f9a342594b281c0 = {
1283
- type: "object",
1284
- properties: {
1285
- from: {
1286
- type: "string"
1287
- },
1288
- to: {
1289
- type: "string"
1290
- },
1291
- subject: {
1292
- type: "string"
1293
- },
1294
- content: {
1295
- type: "string"
1296
- }
1297
- },
1298
- required: [
1299
- "from",
1300
- "to",
1301
- "subject",
1302
- "content"
1303
- ]
1304
- };
1305
- const $dad94870630697a9$export$ca86ed5d3edf6578 = {
1306
- type: "string",
1307
- description: "\u53D1\u9001\u72B6\u6001",
1308
- enum: [
1309
- "pending",
1310
- "sent"
1311
- ]
1312
- };
1313
- const $dad94870630697a9$export$2093419254bae162 = {
1314
- type: "object",
1315
- properties: {
1316
- status: {
1317
- $ref: "#/components/schemas/EmailStatus"
1318
- },
1319
- from: {
1320
- type: "string",
1321
- description: "\u53D1\u4EF6\u8005"
1322
- },
1323
- to: {
1324
- type: "string",
1325
- description: "\u6536\u4EF6\u8005"
1326
- },
1327
- subject: {
1328
- type: "string",
1329
- description: "\u4E3B\u9898"
1330
- },
1331
- content: {
1332
- type: "string",
1333
- description: "\u5185\u5BB9"
1334
- },
1335
- sentAt: {
1336
- format: "date-time",
1337
- type: "string",
1338
- description: "\u53D1\u9001\u65F6\u95F4"
1339
- }
1340
- },
1341
- required: [
1342
- "status",
1343
- "from",
1344
- "to",
1345
- "subject",
1346
- "content"
1347
- ]
1348
- };
1349
- const $dad94870630697a9$export$96180cdcc4bc745c = {
1350
- type: "object",
1351
- properties: {
1352
- status: {
1353
- $ref: "#/components/schemas/EmailStatus"
1354
- },
1355
- from: {
1356
- type: "string",
1357
- description: "\u53D1\u4EF6\u8005"
1358
- },
1359
- to: {
1360
- type: "string",
1361
- description: "\u6536\u4EF6\u8005"
1362
- },
1363
- subject: {
1364
- type: "string",
1365
- description: "\u4E3B\u9898"
1366
- },
1367
- content: {
1368
- type: "string",
1369
- description: "\u5185\u5BB9"
1370
- },
1371
- sentAt: {
1372
- format: "date-time",
1373
- type: "string",
1374
- description: "\u53D1\u9001\u65F6\u95F4"
1375
- },
1376
- id: {
1377
- type: "string",
1378
- description: "Entity id"
1379
- },
1380
- createdAt: {
1381
- format: "date-time",
1382
- type: "string",
1383
- description: "Entity created at when"
1384
- },
1385
- updatedAt: {
1386
- format: "date-time",
1387
- type: "string",
1388
- description: "Entity updated at when"
1389
- },
1390
- createdBy: {
1391
- type: "string",
1392
- description: "Entity created by who"
1393
- },
1394
- updatedBy: {
1395
- type: "string",
1396
- description: "Entity updated by who"
1397
- }
1398
- },
1399
- required: [
1400
- "status",
1401
- "from",
1402
- "to",
1403
- "subject",
1404
- "content",
1405
- "id"
1406
- ]
1407
- };
1408
- const $dad94870630697a9$export$f581847698cf72b6 = {
1409
- type: "object",
1410
- properties: {
1411
- status: {
1412
- $ref: "#/components/schemas/EmailStatus"
1413
- },
1414
- from: {
1415
- type: "string",
1416
- description: "\u53D1\u4EF6\u8005"
1417
- },
1418
- to: {
1419
- type: "string",
1420
- description: "\u6536\u4EF6\u8005"
1421
- },
1422
- subject: {
1423
- type: "string",
1424
- description: "\u4E3B\u9898"
1425
- },
1426
- content: {
1427
- type: "string",
1428
- description: "\u5185\u5BB9"
1429
- },
1430
- sentAt: {
1431
- format: "date-time",
1432
- type: "string",
1433
- description: "\u53D1\u9001\u65F6\u95F4"
1434
- }
1435
- }
1436
- };
1437
- const $dad94870630697a9$export$9af4a86888b337b1 = {
1438
- type: "object",
1439
- properties: {
1440
- phone: {
1441
- type: "string"
1442
- },
1443
- sign: {
1444
- type: "string"
1445
- },
1446
- template: {
1447
- type: "string"
1448
- },
1449
- params: {
1450
- type: "object"
1451
- }
1452
- },
1453
- required: [
1454
- "phone",
1455
- "sign",
1456
- "template"
1457
- ]
1458
- };
1459
- const $dad94870630697a9$export$d1050030e8300ed6 = {
1460
- type: "string",
1461
- description: "\u53D1\u9001\u72B6\u6001",
1462
- enum: [
1463
- "pending",
1464
- "sent"
1465
- ]
1466
- };
1467
- const $dad94870630697a9$export$c91a8145d1d88a6b = {
1468
- type: "object",
1469
- properties: {
1470
- status: {
1471
- $ref: "#/components/schemas/SmsStatus"
1472
- },
1473
- phone: {
1474
- type: "string",
1475
- description: "\u624B\u673A\u53F7"
1476
- },
1477
- sign: {
1478
- type: "string",
1479
- description: "\u7B7E\u540D"
1480
- },
1481
- template: {
1482
- type: "string",
1483
- description: "\u6A21\u677F"
1484
- },
1485
- params: {
1486
- type: "string",
1487
- description: "\u53C2\u6570"
1488
- },
1489
- sentAt: {
1490
- format: "date-time",
1491
- type: "string",
1492
- description: "\u53D1\u9001\u65F6\u95F4"
1493
- }
1494
- },
1495
- required: [
1496
- "status",
1497
- "phone",
1498
- "sign",
1499
- "template"
1500
- ]
1501
- };
1502
- const $dad94870630697a9$export$62bcd56e06b73f35 = {
1503
- type: "object",
1504
- properties: {
1505
- status: {
1506
- $ref: "#/components/schemas/SmsStatus"
1507
- },
1508
- phone: {
1509
- type: "string",
1510
- description: "\u624B\u673A\u53F7"
1511
- },
1512
- sign: {
1513
- type: "string",
1514
- description: "\u7B7E\u540D"
1515
- },
1516
- template: {
1517
- type: "string",
1518
- description: "\u6A21\u677F"
1519
- },
1520
- params: {
1521
- type: "string",
1522
- description: "\u53C2\u6570"
1523
- },
1524
- sentAt: {
1525
- format: "date-time",
1526
- type: "string",
1527
- description: "\u53D1\u9001\u65F6\u95F4"
1528
- },
1529
- id: {
1530
- type: "string",
1531
- description: "Entity id"
1532
- },
1533
- createdAt: {
1534
- format: "date-time",
1535
- type: "string",
1536
- description: "Entity created at when"
1537
- },
1538
- updatedAt: {
1539
- format: "date-time",
1540
- type: "string",
1541
- description: "Entity updated at when"
1542
- },
1543
- createdBy: {
1544
- type: "string",
1545
- description: "Entity created by who"
1546
- },
1547
- updatedBy: {
1548
- type: "string",
1549
- description: "Entity updated by who"
1550
- }
1551
- },
1552
- required: [
1553
- "status",
1554
- "phone",
1555
- "sign",
1556
- "template",
1557
- "id"
1558
- ]
1559
- };
1560
- const $dad94870630697a9$export$b885d88b4209b261 = {
1561
- type: "object",
1562
- properties: {
1563
- status: {
1564
- $ref: "#/components/schemas/SmsStatus"
1565
- },
1566
- phone: {
1567
- type: "string",
1568
- description: "\u624B\u673A\u53F7"
1569
- },
1570
- sign: {
1571
- type: "string",
1572
- description: "\u7B7E\u540D"
1573
- },
1574
- template: {
1575
- type: "string",
1576
- description: "\u6A21\u677F"
1577
- },
1578
- params: {
1579
- type: "string",
1580
- description: "\u53C2\u6570"
1581
- },
1582
- sentAt: {
1583
- format: "date-time",
1584
- type: "string",
1585
- description: "\u53D1\u9001\u65F6\u95F4"
1586
- }
1587
- }
1588
- };
1589
- const $dad94870630697a9$export$86e7567d0e80a3fd = {
1590
- type: "object",
1591
- properties: {
1592
- code: {
1593
- type: "string",
1594
- description: "\u7F16\u7801"
1595
- },
1596
- name: {
1597
- type: "string",
1598
- description: "\u540D\u79F0"
1599
- },
1600
- children: {
1601
- description: "\u5B50\u96C6",
1602
- type: "array",
1603
- items: {
1604
- $ref: "#/components/schemas/Industry"
1605
- }
1606
- }
1607
- },
1608
- required: [
1609
- "code",
1610
- "name",
1611
- "children"
1612
- ]
1613
- };
1614
- const $dad94870630697a9$export$fd4976cd1b633c9 = {
1615
- type: "object",
1616
- properties: {
1617
- code: {
1618
- type: "string",
1619
- description: "\u7F29\u5199"
1620
- },
1621
- nameZh: {
1622
- type: "string",
1623
- description: "\u4E2D\u6587\u540D\u79F0"
1624
- },
1625
- namePinyin: {
1626
- type: "string",
1627
- description: "\u4E2D\u6587\u62FC\u97F3"
1628
- },
1629
- nameEn: {
1630
- type: "string",
1631
- description: "\u82F1\u6587\u540D\u79F0"
1632
- },
1633
- dialingPrefix: {
1634
- type: "string",
1635
- description: "\u7535\u8BDD\u524D\u7F00"
1636
- }
1637
- },
1638
- required: [
1639
- "code",
1640
- "nameZh",
1641
- "namePinyin",
1642
- "nameEn",
1643
- "dialingPrefix"
1644
- ]
1645
- };
1646
- const $dad94870630697a9$export$50f2012a72dcff8f = {
1647
- type: "object",
1648
- properties: {
1649
- permissions: {
1650
- description: "\u6743\u9650",
1651
- type: "array",
1652
- items: {
1653
- type: "string"
1654
- }
1655
- },
1656
- key: {
1657
- type: "string",
1658
- description: "role key"
1659
- },
1660
- name: {
1661
- type: "string",
1662
- description: "\u540D\u79F0"
1663
- }
1664
- },
1665
- required: [
1666
- "key",
1667
- "name"
1668
- ]
1669
- };
1670
- const $dad94870630697a9$export$5828fa7e2c71b157 = {
1671
- type: "object",
1672
- properties: {
1673
- key: {
1674
- type: "string",
1675
- description: "role key"
1676
- },
1677
- name: {
1678
- type: "string",
1679
- description: "\u540D\u79F0"
1680
- },
1681
- permissions: {
1682
- description: "\u6743\u9650",
1683
- type: "array",
1684
- items: {
1685
- type: "string"
1686
- }
1687
- },
1688
- id: {
1689
- type: "string",
1690
- description: "Entity id"
1691
- },
1692
- createdAt: {
1693
- format: "date-time",
1694
- type: "string",
1695
- description: "Entity created at when"
1696
- },
1697
- updatedAt: {
1698
- format: "date-time",
1699
- type: "string",
1700
- description: "Entity updated at when"
1701
- },
1702
- createdBy: {
1703
- type: "string",
1704
- description: "Entity created by who"
1705
- },
1706
- updatedBy: {
1707
- type: "string",
1708
- description: "Entity updated by who"
1709
- }
1710
- },
1711
- required: [
1712
- "key",
1713
- "name",
1714
- "permissions",
1715
- "id"
1716
- ]
1717
- };
1718
- const $dad94870630697a9$export$4a58276f1c17d5f3 = {
1719
- type: "object",
1720
- properties: {
1721
- name: {
1722
- type: "string",
1723
- description: "\u540D\u79F0"
1724
- },
1725
- permissions: {
1726
- description: "\u6743\u9650",
1727
- type: "array",
1728
- items: {
1729
- type: "string"
1730
- }
1731
- }
1732
- }
1733
- };
1734
-
1735
-
1736
- var $d05a635c6a58c99f$exports = {};
1737
-
1738
- $parcel$export($d05a635c6a58c99f$exports, "client", () => $d05a635c6a58c99f$export$388e0302ca0d9a41);
1739
- $parcel$export($d05a635c6a58c99f$exports, "hello", () => $d05a635c6a58c99f$export$e2e77b41cb4e1f9e);
1740
- $parcel$export($d05a635c6a58c99f$exports, "login", () => $d05a635c6a58c99f$export$596d806903d1f59e);
1741
- $parcel$export($d05a635c6a58c99f$exports, "loginByEmail", () => $d05a635c6a58c99f$export$72356d9e5d4287de);
1742
- $parcel$export($d05a635c6a58c99f$exports, "loginByPhone", () => $d05a635c6a58c99f$export$aa06bc33124d2a00);
1743
- $parcel$export($d05a635c6a58c99f$exports, "register", () => $d05a635c6a58c99f$export$6503ec6e8aabbaf);
1744
- $parcel$export($d05a635c6a58c99f$exports, "registerByPhone", () => $d05a635c6a58c99f$export$acd2ee44d8cc419c);
1745
- $parcel$export($d05a635c6a58c99f$exports, "registerByEmail", () => $d05a635c6a58c99f$export$81b4f1bef0778e97);
1746
- $parcel$export($d05a635c6a58c99f$exports, "signToken", () => $d05a635c6a58c99f$export$6fa58217127c2be5);
1747
- $parcel$export($d05a635c6a58c99f$exports, "refresh", () => $d05a635c6a58c99f$export$2d6e9b4c68afb6c8);
1748
- $parcel$export($d05a635c6a58c99f$exports, "cleanupAllData", () => $d05a635c6a58c99f$export$1d732abae8c2178b);
1749
- $parcel$export($d05a635c6a58c99f$exports, "createUser", () => $d05a635c6a58c99f$export$3493b8991d49f558);
1750
- $parcel$export($d05a635c6a58c99f$exports, "listUsers", () => $d05a635c6a58c99f$export$1c4bb93498097c2d);
1751
- $parcel$export($d05a635c6a58c99f$exports, "getUser", () => $d05a635c6a58c99f$export$7cbf767827cd68ba);
1752
- $parcel$export($d05a635c6a58c99f$exports, "updateUser", () => $d05a635c6a58c99f$export$e3ac7a5d19605772);
1753
- $parcel$export($d05a635c6a58c99f$exports, "deleteUser", () => $d05a635c6a58c99f$export$7d0f10f273c0438a);
1754
- $parcel$export($d05a635c6a58c99f$exports, "upsertUserByEmployeeId", () => $d05a635c6a58c99f$export$6bae5989866b69dc);
1755
- $parcel$export($d05a635c6a58c99f$exports, "verifyIdentity", () => $d05a635c6a58c99f$export$ba1d92ba04505a80);
1756
- $parcel$export($d05a635c6a58c99f$exports, "resetPassword", () => $d05a635c6a58c99f$export$dc726c8e334dd814);
1757
- $parcel$export($d05a635c6a58c99f$exports, "updatePassword", () => $d05a635c6a58c99f$export$e2853351e15b7895);
1758
- $parcel$export($d05a635c6a58c99f$exports, "createNamespace", () => $d05a635c6a58c99f$export$9351443236ea3261);
1759
- $parcel$export($d05a635c6a58c99f$exports, "listNamespaces", () => $d05a635c6a58c99f$export$64f28126552508c0);
1760
- $parcel$export($d05a635c6a58c99f$exports, "getNamespace", () => $d05a635c6a58c99f$export$becf4f9e48e6290a);
1761
- $parcel$export($d05a635c6a58c99f$exports, "updateNamespace", () => $d05a635c6a58c99f$export$9c52b148e3e82e);
1762
- $parcel$export($d05a635c6a58c99f$exports, "deleteNamespace", () => $d05a635c6a58c99f$export$4b83ac7774adea2f);
1763
- $parcel$export($d05a635c6a58c99f$exports, "createSession", () => $d05a635c6a58c99f$export$f7c62c73429afa28);
1764
- $parcel$export($d05a635c6a58c99f$exports, "listSessions", () => $d05a635c6a58c99f$export$e2f57af6ce5ee4d);
1765
- $parcel$export($d05a635c6a58c99f$exports, "getSession", () => $d05a635c6a58c99f$export$12151e9ef3722552);
1766
- $parcel$export($d05a635c6a58c99f$exports, "updateSession", () => $d05a635c6a58c99f$export$531818e825e774db);
1767
- $parcel$export($d05a635c6a58c99f$exports, "deleteSession", () => $d05a635c6a58c99f$export$f3b72123251cadf);
1768
- $parcel$export($d05a635c6a58c99f$exports, "createGroup", () => $d05a635c6a58c99f$export$856f728536d122cb);
1769
- $parcel$export($d05a635c6a58c99f$exports, "listGroups", () => $d05a635c6a58c99f$export$6e0114716bd43025);
1770
- $parcel$export($d05a635c6a58c99f$exports, "getGroup", () => $d05a635c6a58c99f$export$dd8fe8767b0c9948);
1771
- $parcel$export($d05a635c6a58c99f$exports, "updateGroup", () => $d05a635c6a58c99f$export$7266cde9e95c4de8);
1772
- $parcel$export($d05a635c6a58c99f$exports, "deleteGroup", () => $d05a635c6a58c99f$export$ae2679b329fc10b6);
1773
- $parcel$export($d05a635c6a58c99f$exports, "createCaptcha", () => $d05a635c6a58c99f$export$a6205785190db785);
1774
- $parcel$export($d05a635c6a58c99f$exports, "listCaptchas", () => $d05a635c6a58c99f$export$72a6916a1591271b);
1775
- $parcel$export($d05a635c6a58c99f$exports, "getCaptcha", () => $d05a635c6a58c99f$export$3f7c59539a3d9e70);
1776
- $parcel$export($d05a635c6a58c99f$exports, "updateCaptcha", () => $d05a635c6a58c99f$export$a8ca09988a1eeb80);
1777
- $parcel$export($d05a635c6a58c99f$exports, "deleteCaptcha", () => $d05a635c6a58c99f$export$b7ca998081fe193a);
1778
- $parcel$export($d05a635c6a58c99f$exports, "sendEmail", () => $d05a635c6a58c99f$export$1cea2e25b75a88f2);
1779
- $parcel$export($d05a635c6a58c99f$exports, "createEmailRecord", () => $d05a635c6a58c99f$export$1f96d950f89862c2);
1780
- $parcel$export($d05a635c6a58c99f$exports, "listEmailRecords", () => $d05a635c6a58c99f$export$f7461c51f0fbbbec);
1781
- $parcel$export($d05a635c6a58c99f$exports, "getEmailRecord", () => $d05a635c6a58c99f$export$e3abaa1f0f2be390);
1782
- $parcel$export($d05a635c6a58c99f$exports, "updateEmailRecord", () => $d05a635c6a58c99f$export$340a3b15edf5320b);
1783
- $parcel$export($d05a635c6a58c99f$exports, "deleteEmailRecord", () => $d05a635c6a58c99f$export$47732292698093e5);
1784
- $parcel$export($d05a635c6a58c99f$exports, "sendSms", () => $d05a635c6a58c99f$export$fe12addabe061498);
1785
- $parcel$export($d05a635c6a58c99f$exports, "createSmsRecord", () => $d05a635c6a58c99f$export$89ba073eddabee7c);
1786
- $parcel$export($d05a635c6a58c99f$exports, "listSmsRecords", () => $d05a635c6a58c99f$export$3a0aa6683b18ae05);
1787
- $parcel$export($d05a635c6a58c99f$exports, "getSmsRecord", () => $d05a635c6a58c99f$export$8a807b18b6923f94);
1788
- $parcel$export($d05a635c6a58c99f$exports, "updateSmsRecord", () => $d05a635c6a58c99f$export$a658b2c8c182930a);
1789
- $parcel$export($d05a635c6a58c99f$exports, "deleteSmsRecord", () => $d05a635c6a58c99f$export$2816e50d4ec74f93);
1790
- $parcel$export($d05a635c6a58c99f$exports, "listIndustries", () => $d05a635c6a58c99f$export$6a657f882af8e729);
1791
- $parcel$export($d05a635c6a58c99f$exports, "listRegions", () => $d05a635c6a58c99f$export$40295cce70884665);
1792
- $parcel$export($d05a635c6a58c99f$exports, "createRole", () => $d05a635c6a58c99f$export$9678a115f63a3512);
1793
- $parcel$export($d05a635c6a58c99f$exports, "listRoles", () => $d05a635c6a58c99f$export$585f9121120b2a47);
1794
- $parcel$export($d05a635c6a58c99f$exports, "getRole", () => $d05a635c6a58c99f$export$d1c3a5ff834adfa2);
1795
- $parcel$export($d05a635c6a58c99f$exports, "updateRole", () => $d05a635c6a58c99f$export$c37c5570c259cd71);
1796
- $parcel$export($d05a635c6a58c99f$exports, "deleteRole", () => $d05a635c6a58c99f$export$a7396bae498de6f1);
1797
- // This file is auto-generated by @hey-api/openapi-ts
1798
-
1799
- const $d05a635c6a58c99f$export$388e0302ca0d9a41 = (0, $hgUW1$createClient)((0, $hgUW1$createConfig)());
1800
- const $d05a635c6a58c99f$export$e2e77b41cb4e1f9e = (options)=>{
1801
- return (options?.client ?? $d05a635c6a58c99f$export$388e0302ca0d9a41).get({
1802
- ...options,
1803
- url: "/hello"
1804
- });
1805
- };
1806
- const $d05a635c6a58c99f$export$596d806903d1f59e = (options)=>{
1807
- return (options?.client ?? $d05a635c6a58c99f$export$388e0302ca0d9a41).post({
1808
- ...options,
1809
- url: "/auth/@login"
1810
- });
1811
- };
1812
- const $d05a635c6a58c99f$export$72356d9e5d4287de = (options)=>{
1813
- return (options?.client ?? $d05a635c6a58c99f$export$388e0302ca0d9a41).post({
1814
- ...options,
1815
- url: "/auth/@loginByEmail"
1816
- });
1817
- };
1818
- const $d05a635c6a58c99f$export$aa06bc33124d2a00 = (options)=>{
1819
- return (options?.client ?? $d05a635c6a58c99f$export$388e0302ca0d9a41).post({
1820
- ...options,
1821
- url: "/auth/@loginByPhone"
1822
- });
1823
- };
1824
- const $d05a635c6a58c99f$export$6503ec6e8aabbaf = (options)=>{
1825
- return (options?.client ?? $d05a635c6a58c99f$export$388e0302ca0d9a41).post({
1826
- ...options,
1827
- url: "/auth/@register"
1828
- });
1829
- };
1830
- const $d05a635c6a58c99f$export$acd2ee44d8cc419c = (options)=>{
1831
- return (options?.client ?? $d05a635c6a58c99f$export$388e0302ca0d9a41).post({
1832
- ...options,
1833
- url: "/auth/@registerByPhone"
1834
- });
1835
- };
1836
- const $d05a635c6a58c99f$export$81b4f1bef0778e97 = (options)=>{
1837
- return (options?.client ?? $d05a635c6a58c99f$export$388e0302ca0d9a41).post({
1838
- ...options,
1839
- url: "/auth/@registerByEmail"
1840
- });
1841
- };
1842
- const $d05a635c6a58c99f$export$6fa58217127c2be5 = (options)=>{
1843
- return (options?.client ?? $d05a635c6a58c99f$export$388e0302ca0d9a41).post({
1844
- ...options,
1845
- url: "/auth/@signToken"
1846
- });
1847
- };
1848
- const $d05a635c6a58c99f$export$2d6e9b4c68afb6c8 = (options)=>{
1849
- return (options?.client ?? $d05a635c6a58c99f$export$388e0302ca0d9a41).post({
1850
- ...options,
1851
- url: "/auth/@refresh"
1852
- });
1853
- };
1854
- const $d05a635c6a58c99f$export$1d732abae8c2178b = (options)=>{
1855
- return (options?.client ?? $d05a635c6a58c99f$export$388e0302ca0d9a41).delete({
1856
- ...options,
1857
- url: "/auth/@cleanup"
1858
- });
1859
- };
1860
- const $d05a635c6a58c99f$export$3493b8991d49f558 = (options)=>{
1861
- return (options?.client ?? $d05a635c6a58c99f$export$388e0302ca0d9a41).post({
1862
- ...options,
1863
- url: "/users"
1864
- });
1865
- };
1866
- const $d05a635c6a58c99f$export$1c4bb93498097c2d = (options)=>{
1867
- return (options?.client ?? $d05a635c6a58c99f$export$388e0302ca0d9a41).get({
1868
- ...options,
1869
- url: "/users"
1870
- });
1871
- };
1872
- const $d05a635c6a58c99f$export$7cbf767827cd68ba = (options)=>{
1873
- return (options?.client ?? $d05a635c6a58c99f$export$388e0302ca0d9a41).get({
1874
- ...options,
1875
- url: "/users/{userId}"
1876
- });
1877
- };
1878
- const $d05a635c6a58c99f$export$e3ac7a5d19605772 = (options)=>{
1879
- return (options?.client ?? $d05a635c6a58c99f$export$388e0302ca0d9a41).patch({
1880
- ...options,
1881
- url: "/users/{userId}"
1882
- });
1883
- };
1884
- const $d05a635c6a58c99f$export$7d0f10f273c0438a = (options)=>{
1885
- return (options?.client ?? $d05a635c6a58c99f$export$388e0302ca0d9a41).delete({
1886
- ...options,
1887
- url: "/users/{userId}"
1888
- });
1889
- };
1890
- const $d05a635c6a58c99f$export$6bae5989866b69dc = (options)=>{
1891
- return (options?.client ?? $d05a635c6a58c99f$export$388e0302ca0d9a41).patch({
1892
- ...options,
1893
- url: "/users/employee/{userEmployeeId}"
1894
- });
1895
- };
1896
- const $d05a635c6a58c99f$export$ba1d92ba04505a80 = (options)=>{
1897
- return (options?.client ?? $d05a635c6a58c99f$export$388e0302ca0d9a41).post({
1898
- ...options,
1899
- url: "/users/{userId}/@verifyIdentity"
1900
- });
1901
- };
1902
- const $d05a635c6a58c99f$export$dc726c8e334dd814 = (options)=>{
1903
- return (options?.client ?? $d05a635c6a58c99f$export$388e0302ca0d9a41).post({
1904
- ...options,
1905
- url: "/users/{userId}/@resetPassword"
1906
- });
1907
- };
1908
- const $d05a635c6a58c99f$export$e2853351e15b7895 = (options)=>{
1909
- return (options?.client ?? $d05a635c6a58c99f$export$388e0302ca0d9a41).post({
1910
- ...options,
1911
- url: "/users/{userId}/@updatePassword"
1912
- });
1913
- };
1914
- const $d05a635c6a58c99f$export$9351443236ea3261 = (options)=>{
1915
- return (options?.client ?? $d05a635c6a58c99f$export$388e0302ca0d9a41).post({
1916
- ...options,
1917
- url: "/namespaces"
1918
- });
1919
- };
1920
- const $d05a635c6a58c99f$export$64f28126552508c0 = (options)=>{
1921
- return (options?.client ?? $d05a635c6a58c99f$export$388e0302ca0d9a41).get({
1922
- ...options,
1923
- url: "/namespaces"
1924
- });
1925
- };
1926
- const $d05a635c6a58c99f$export$becf4f9e48e6290a = (options)=>{
1927
- return (options?.client ?? $d05a635c6a58c99f$export$388e0302ca0d9a41).get({
1928
- ...options,
1929
- url: "/namespaces/{namespaceIdOrKey}"
1930
- });
1931
- };
1932
- const $d05a635c6a58c99f$export$9c52b148e3e82e = (options)=>{
1933
- return (options?.client ?? $d05a635c6a58c99f$export$388e0302ca0d9a41).patch({
1934
- ...options,
1935
- url: "/namespaces/{namespaceIdOrKey}"
1936
- });
1937
- };
1938
- const $d05a635c6a58c99f$export$4b83ac7774adea2f = (options)=>{
1939
- return (options?.client ?? $d05a635c6a58c99f$export$388e0302ca0d9a41).delete({
1940
- ...options,
1941
- url: "/namespaces/{namespaceId}"
1942
- });
1943
- };
1944
- const $d05a635c6a58c99f$export$f7c62c73429afa28 = (options)=>{
1945
- return (options?.client ?? $d05a635c6a58c99f$export$388e0302ca0d9a41).post({
1946
- ...options,
1947
- url: "/sessions"
1948
- });
1949
- };
1950
- const $d05a635c6a58c99f$export$e2f57af6ce5ee4d = (options)=>{
1951
- return (options?.client ?? $d05a635c6a58c99f$export$388e0302ca0d9a41).get({
1952
- ...options,
1953
- url: "/sessions"
1954
- });
1955
- };
1956
- const $d05a635c6a58c99f$export$12151e9ef3722552 = (options)=>{
1957
- return (options?.client ?? $d05a635c6a58c99f$export$388e0302ca0d9a41).get({
1958
- ...options,
1959
- url: "/sessions/{sessionId}"
1960
- });
1961
- };
1962
- const $d05a635c6a58c99f$export$531818e825e774db = (options)=>{
1963
- return (options?.client ?? $d05a635c6a58c99f$export$388e0302ca0d9a41).patch({
1964
- ...options,
1965
- url: "/sessions/{sessionId}"
1966
- });
1967
- };
1968
- const $d05a635c6a58c99f$export$f3b72123251cadf = (options)=>{
1969
- return (options?.client ?? $d05a635c6a58c99f$export$388e0302ca0d9a41).delete({
1970
- ...options,
1971
- url: "/sessions/{sessionId}"
1972
- });
1973
- };
1974
- const $d05a635c6a58c99f$export$856f728536d122cb = (options)=>{
1975
- return (options?.client ?? $d05a635c6a58c99f$export$388e0302ca0d9a41).post({
1976
- ...options,
1977
- url: "/groups"
1978
- });
1979
- };
1980
- const $d05a635c6a58c99f$export$6e0114716bd43025 = (options)=>{
1981
- return (options?.client ?? $d05a635c6a58c99f$export$388e0302ca0d9a41).get({
1982
- ...options,
1983
- url: "/groups"
1984
- });
1985
- };
1986
- const $d05a635c6a58c99f$export$dd8fe8767b0c9948 = (options)=>{
1987
- return (options?.client ?? $d05a635c6a58c99f$export$388e0302ca0d9a41).get({
1988
- ...options,
1989
- url: "/groups/{groupIdOrName}"
1990
- });
1991
- };
1992
- const $d05a635c6a58c99f$export$7266cde9e95c4de8 = (options)=>{
1993
- return (options?.client ?? $d05a635c6a58c99f$export$388e0302ca0d9a41).patch({
1994
- ...options,
1995
- url: "/groups/{groupId}"
1996
- });
1997
- };
1998
- const $d05a635c6a58c99f$export$ae2679b329fc10b6 = (options)=>{
1999
- return (options?.client ?? $d05a635c6a58c99f$export$388e0302ca0d9a41).delete({
2000
- ...options,
2001
- url: "/groups/{groupId}"
2002
- });
2003
- };
2004
- const $d05a635c6a58c99f$export$a6205785190db785 = (options)=>{
2005
- return (options?.client ?? $d05a635c6a58c99f$export$388e0302ca0d9a41).post({
2006
- ...options,
2007
- url: "/captchas"
2008
- });
2009
- };
2010
- const $d05a635c6a58c99f$export$72a6916a1591271b = (options)=>{
2011
- return (options?.client ?? $d05a635c6a58c99f$export$388e0302ca0d9a41).get({
2012
- ...options,
2013
- url: "/captchas"
2014
- });
2015
- };
2016
- const $d05a635c6a58c99f$export$3f7c59539a3d9e70 = (options)=>{
2017
- return (options?.client ?? $d05a635c6a58c99f$export$388e0302ca0d9a41).get({
2018
- ...options,
2019
- url: "/captchas/{captchaId}"
2020
- });
2021
- };
2022
- const $d05a635c6a58c99f$export$a8ca09988a1eeb80 = (options)=>{
2023
- return (options?.client ?? $d05a635c6a58c99f$export$388e0302ca0d9a41).patch({
2024
- ...options,
2025
- url: "/captchas/{captchaId}"
2026
- });
2027
- };
2028
- const $d05a635c6a58c99f$export$b7ca998081fe193a = (options)=>{
2029
- return (options?.client ?? $d05a635c6a58c99f$export$388e0302ca0d9a41).delete({
2030
- ...options,
2031
- url: "/captchas/{captchaId}"
2032
- });
2033
- };
2034
- const $d05a635c6a58c99f$export$1cea2e25b75a88f2 = (options)=>{
2035
- return (options?.client ?? $d05a635c6a58c99f$export$388e0302ca0d9a41).post({
2036
- ...options,
2037
- url: "/email/@sendEmail"
2038
- });
2039
- };
2040
- const $d05a635c6a58c99f$export$1f96d950f89862c2 = (options)=>{
2041
- return (options?.client ?? $d05a635c6a58c99f$export$388e0302ca0d9a41).post({
2042
- ...options,
2043
- url: "/email/records"
2044
- });
2045
- };
2046
- const $d05a635c6a58c99f$export$f7461c51f0fbbbec = (options)=>{
2047
- return (options?.client ?? $d05a635c6a58c99f$export$388e0302ca0d9a41).get({
2048
- ...options,
2049
- url: "/email/records"
2050
- });
2051
- };
2052
- const $d05a635c6a58c99f$export$e3abaa1f0f2be390 = (options)=>{
2053
- return (options?.client ?? $d05a635c6a58c99f$export$388e0302ca0d9a41).get({
2054
- ...options,
2055
- url: "/email/records/{emailRecordId}"
2056
- });
2057
- };
2058
- const $d05a635c6a58c99f$export$340a3b15edf5320b = (options)=>{
2059
- return (options?.client ?? $d05a635c6a58c99f$export$388e0302ca0d9a41).patch({
2060
- ...options,
2061
- url: "/email/records/{emailRecordId}"
2062
- });
2063
- };
2064
- const $d05a635c6a58c99f$export$47732292698093e5 = (options)=>{
2065
- return (options?.client ?? $d05a635c6a58c99f$export$388e0302ca0d9a41).delete({
2066
- ...options,
2067
- url: "/email/records/{emailRecordId}"
2068
- });
2069
- };
2070
- const $d05a635c6a58c99f$export$fe12addabe061498 = (options)=>{
2071
- return (options?.client ?? $d05a635c6a58c99f$export$388e0302ca0d9a41).post({
2072
- ...options,
2073
- url: "/sms/@sendSms"
2074
- });
2075
- };
2076
- const $d05a635c6a58c99f$export$89ba073eddabee7c = (options)=>{
2077
- return (options?.client ?? $d05a635c6a58c99f$export$388e0302ca0d9a41).post({
2078
- ...options,
2079
- url: "/sms/records"
2080
- });
2081
- };
2082
- const $d05a635c6a58c99f$export$3a0aa6683b18ae05 = (options)=>{
2083
- return (options?.client ?? $d05a635c6a58c99f$export$388e0302ca0d9a41).get({
2084
- ...options,
2085
- url: "/sms/records"
2086
- });
2087
- };
2088
- const $d05a635c6a58c99f$export$8a807b18b6923f94 = (options)=>{
2089
- return (options?.client ?? $d05a635c6a58c99f$export$388e0302ca0d9a41).get({
2090
- ...options,
2091
- url: "/sms/records/{smsRecordId}"
2092
- });
2093
- };
2094
- const $d05a635c6a58c99f$export$a658b2c8c182930a = (options)=>{
2095
- return (options?.client ?? $d05a635c6a58c99f$export$388e0302ca0d9a41).patch({
2096
- ...options,
2097
- url: "/sms/records/{smsRecordId}"
2098
- });
2099
- };
2100
- const $d05a635c6a58c99f$export$2816e50d4ec74f93 = (options)=>{
2101
- return (options?.client ?? $d05a635c6a58c99f$export$388e0302ca0d9a41).delete({
2102
- ...options,
2103
- url: "/sms/records/{smsRecordId}"
2104
- });
2105
- };
2106
- const $d05a635c6a58c99f$export$6a657f882af8e729 = (options)=>{
2107
- return (options?.client ?? $d05a635c6a58c99f$export$388e0302ca0d9a41).get({
2108
- ...options,
2109
- url: "/industries"
2110
- });
2111
- };
2112
- const $d05a635c6a58c99f$export$40295cce70884665 = (options)=>{
2113
- return (options?.client ?? $d05a635c6a58c99f$export$388e0302ca0d9a41).get({
2114
- ...options,
2115
- url: "/regions"
2116
- });
2117
- };
2118
- const $d05a635c6a58c99f$export$9678a115f63a3512 = (options)=>{
2119
- return (options?.client ?? $d05a635c6a58c99f$export$388e0302ca0d9a41).post({
2120
- ...options,
2121
- url: "/roles"
2122
- });
2123
- };
2124
- const $d05a635c6a58c99f$export$585f9121120b2a47 = (options)=>{
2125
- return (options?.client ?? $d05a635c6a58c99f$export$388e0302ca0d9a41).get({
2126
- ...options,
2127
- url: "/roles"
2128
- });
2129
- };
2130
- const $d05a635c6a58c99f$export$d1c3a5ff834adfa2 = (options)=>{
2131
- return (options?.client ?? $d05a635c6a58c99f$export$388e0302ca0d9a41).get({
2132
- ...options,
2133
- url: "/roles/{roleIdOrKey}"
2134
- });
2135
- };
2136
- const $d05a635c6a58c99f$export$c37c5570c259cd71 = (options)=>{
2137
- return (options?.client ?? $d05a635c6a58c99f$export$388e0302ca0d9a41).patch({
2138
- ...options,
2139
- url: "/roles/{roleId}"
2140
- });
2141
- };
2142
- const $d05a635c6a58c99f$export$a7396bae498de6f1 = (options)=>{
2143
- return (options?.client ?? $d05a635c6a58c99f$export$388e0302ca0d9a41).delete({
2144
- ...options,
2145
- url: "/roles/{roleId}"
2146
- });
2147
- };
2148
-
2149
-
2150
- var $ffc5a78cf4bf2729$exports = {};
2151
- // This file is auto-generated by @hey-api/openapi-ts
2152
-
2153
-
2154
-
2155
-
2156
- export {$dad94870630697a9$export$88f4d4b355951aa3 as $HealthCheckResult, $dad94870630697a9$export$f4de602dbafe6fc8 as $LoginDto, $dad94870630697a9$export$424b0b82fa10bdfa as $User, $dad94870630697a9$export$aaf658bacb5186fb as $SessionWithToken, $dad94870630697a9$export$b60f6dff66c5c7ac as $LoginByEmailDto, $dad94870630697a9$export$330f12720b62cc63 as $LoginByPhoneDto, $dad94870630697a9$export$b5be97c39364f433 as $RegisterDto, $dad94870630697a9$export$e47424ab6045dd9e as $RegisterbyPhoneDto, $dad94870630697a9$export$297fa16bfda62978 as $RegisterByEmailDto, $dad94870630697a9$export$9700ad9c19f406f1 as $SignTokenDto, $dad94870630697a9$export$836264d3c2fd35dd as $Token, $dad94870630697a9$export$4f302e855623adeb as $RefreshTokenDto, $dad94870630697a9$export$42fb86b793a2c536 as $CreateUserDto, $dad94870630697a9$export$1b308892cefd8e3e as $UpdateUserDto, $dad94870630697a9$export$ea03f88e5a85dda9 as $ResetPasswordDto, $dad94870630697a9$export$3bacf71d57b21dff as $UpdatePasswordDto, $dad94870630697a9$export$3a0f0f379fb2f43f as $CreateNamespaceDto, $dad94870630697a9$export$fef09edac2f41dd6 as $Namespace, $dad94870630697a9$export$532a2356385b479a as $UpdateNamespaceDto, $dad94870630697a9$export$c383d7f32a575ab as $CreateSessionDto, $dad94870630697a9$export$90376f1cecfdbf1b as $Session, $dad94870630697a9$export$8799e003f5e64a20 as $UpdateSessionDto, $dad94870630697a9$export$f82ca5b68f88f064 as $CreateGroupDto, $dad94870630697a9$export$c90c1d4bd95ad384 as $Group, $dad94870630697a9$export$1003ec321a8b124 as $UpdateGroupDto, $dad94870630697a9$export$7e72ed431ee59116 as $CreateCaptchaDto, $dad94870630697a9$export$1f2dec6968d7e276 as $Captcha, $dad94870630697a9$export$9ccc176b5ae9cc36 as $UpdateCaptchaDto, $dad94870630697a9$export$6f9a342594b281c0 as $SendEmailDto, $dad94870630697a9$export$ca86ed5d3edf6578 as $EmailStatus, $dad94870630697a9$export$2093419254bae162 as $CreateEmailRecordDto, $dad94870630697a9$export$96180cdcc4bc745c as $EmailRecord, $dad94870630697a9$export$f581847698cf72b6 as $UpdateEmailRecordDto, $dad94870630697a9$export$9af4a86888b337b1 as $SendSmsDto, $dad94870630697a9$export$d1050030e8300ed6 as $SmsStatus, $dad94870630697a9$export$c91a8145d1d88a6b as $CreateSmsRecordDto, $dad94870630697a9$export$62bcd56e06b73f35 as $SmsRecord, $dad94870630697a9$export$b885d88b4209b261 as $UpdateSmsRecordDto, $dad94870630697a9$export$86e7567d0e80a3fd as $Industry, $dad94870630697a9$export$fd4976cd1b633c9 as $Region, $dad94870630697a9$export$50f2012a72dcff8f as $CreateRoleDto, $dad94870630697a9$export$5828fa7e2c71b157 as $Role, $dad94870630697a9$export$4a58276f1c17d5f3 as $UpdateRoleDto, $d05a635c6a58c99f$export$388e0302ca0d9a41 as client, $d05a635c6a58c99f$export$e2e77b41cb4e1f9e as hello, $d05a635c6a58c99f$export$596d806903d1f59e as login, $d05a635c6a58c99f$export$72356d9e5d4287de as loginByEmail, $d05a635c6a58c99f$export$aa06bc33124d2a00 as loginByPhone, $d05a635c6a58c99f$export$6503ec6e8aabbaf as register, $d05a635c6a58c99f$export$acd2ee44d8cc419c as registerByPhone, $d05a635c6a58c99f$export$81b4f1bef0778e97 as registerByEmail, $d05a635c6a58c99f$export$6fa58217127c2be5 as signToken, $d05a635c6a58c99f$export$2d6e9b4c68afb6c8 as refresh, $d05a635c6a58c99f$export$1d732abae8c2178b as cleanupAllData, $d05a635c6a58c99f$export$3493b8991d49f558 as createUser, $d05a635c6a58c99f$export$1c4bb93498097c2d as listUsers, $d05a635c6a58c99f$export$7cbf767827cd68ba as getUser, $d05a635c6a58c99f$export$e3ac7a5d19605772 as updateUser, $d05a635c6a58c99f$export$7d0f10f273c0438a as deleteUser, $d05a635c6a58c99f$export$6bae5989866b69dc as upsertUserByEmployeeId, $d05a635c6a58c99f$export$ba1d92ba04505a80 as verifyIdentity, $d05a635c6a58c99f$export$dc726c8e334dd814 as resetPassword, $d05a635c6a58c99f$export$e2853351e15b7895 as updatePassword, $d05a635c6a58c99f$export$9351443236ea3261 as createNamespace, $d05a635c6a58c99f$export$64f28126552508c0 as listNamespaces, $d05a635c6a58c99f$export$becf4f9e48e6290a as getNamespace, $d05a635c6a58c99f$export$9c52b148e3e82e as updateNamespace, $d05a635c6a58c99f$export$4b83ac7774adea2f as deleteNamespace, $d05a635c6a58c99f$export$f7c62c73429afa28 as createSession, $d05a635c6a58c99f$export$e2f57af6ce5ee4d as listSessions, $d05a635c6a58c99f$export$12151e9ef3722552 as getSession, $d05a635c6a58c99f$export$531818e825e774db as updateSession, $d05a635c6a58c99f$export$f3b72123251cadf as deleteSession, $d05a635c6a58c99f$export$856f728536d122cb as createGroup, $d05a635c6a58c99f$export$6e0114716bd43025 as listGroups, $d05a635c6a58c99f$export$dd8fe8767b0c9948 as getGroup, $d05a635c6a58c99f$export$7266cde9e95c4de8 as updateGroup, $d05a635c6a58c99f$export$ae2679b329fc10b6 as deleteGroup, $d05a635c6a58c99f$export$a6205785190db785 as createCaptcha, $d05a635c6a58c99f$export$72a6916a1591271b as listCaptchas, $d05a635c6a58c99f$export$3f7c59539a3d9e70 as getCaptcha, $d05a635c6a58c99f$export$a8ca09988a1eeb80 as updateCaptcha, $d05a635c6a58c99f$export$b7ca998081fe193a as deleteCaptcha, $d05a635c6a58c99f$export$1cea2e25b75a88f2 as sendEmail, $d05a635c6a58c99f$export$1f96d950f89862c2 as createEmailRecord, $d05a635c6a58c99f$export$f7461c51f0fbbbec as listEmailRecords, $d05a635c6a58c99f$export$e3abaa1f0f2be390 as getEmailRecord, $d05a635c6a58c99f$export$340a3b15edf5320b as updateEmailRecord, $d05a635c6a58c99f$export$47732292698093e5 as deleteEmailRecord, $d05a635c6a58c99f$export$fe12addabe061498 as sendSms, $d05a635c6a58c99f$export$89ba073eddabee7c as createSmsRecord, $d05a635c6a58c99f$export$3a0aa6683b18ae05 as listSmsRecords, $d05a635c6a58c99f$export$8a807b18b6923f94 as getSmsRecord, $d05a635c6a58c99f$export$a658b2c8c182930a as updateSmsRecord, $d05a635c6a58c99f$export$2816e50d4ec74f93 as deleteSmsRecord, $d05a635c6a58c99f$export$6a657f882af8e729 as listIndustries, $d05a635c6a58c99f$export$40295cce70884665 as listRegions, $d05a635c6a58c99f$export$9678a115f63a3512 as createRole, $d05a635c6a58c99f$export$585f9121120b2a47 as listRoles, $d05a635c6a58c99f$export$d1c3a5ff834adfa2 as getRole, $d05a635c6a58c99f$export$c37c5570c259cd71 as updateRole, $d05a635c6a58c99f$export$a7396bae498de6f1 as deleteRole};
2157
- //# sourceMappingURL=module.js.map