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