mezon-js 2.9.68 → 2.9.69

Sign up to get free protection for your applications and to get access to all the features.
package/api.gen.ts CHANGED
@@ -2444,43 +2444,66 @@ export interface RpcStatus {
2444
2444
  message?: string;
2445
2445
  }
2446
2446
 
2447
+ /** */
2447
2448
  export interface ApiListOnboardingResponse {
2448
2449
  //
2449
2450
  list_onboarding?: Array<ApiOnboardingItem>;
2450
2451
  }
2451
2452
 
2452
2453
  /** */
2453
- export interface MezonUpdateOnboardingBody {
2454
+ export interface ApiAnswer {
2454
2455
  //
2455
- answers?: string;
2456
+ answer?: string;
2456
2457
  //
2457
- channel_id?: string;
2458
+ description?: string;
2458
2459
  //
2459
- clan_id?: string;
2460
+ title?: string;
2461
+ }
2462
+
2463
+ /** */
2464
+ export interface ApiOnboardingContent {
2465
+ //
2466
+ answers?: Array<ApiAnswer>;
2467
+ //
2468
+ channel_id?: string;
2460
2469
  //
2461
2470
  content?: string;
2462
2471
  //
2472
+ guide_type?: number;
2473
+ //
2463
2474
  task_type?: number;
2464
2475
  //
2465
2476
  title?: string;
2466
2477
  }
2467
2478
 
2468
2479
  /** */
2469
- export interface ApiCreateOnboardingRequest {
2480
+ export interface MezonUpdateOnboardingBody {
2481
+ //
2482
+ answers?: Array<ApiAnswer>;
2483
+ //
2484
+ channel_id?: string;
2470
2485
  //
2471
2486
  clan_id?: string;
2472
2487
  //
2473
2488
  content?: string;
2474
2489
  //
2475
- guide_type?: number;
2490
+ task_type?: number;
2476
2491
  //
2477
2492
  title?: string;
2478
2493
  }
2479
2494
 
2495
+ /** */
2496
+ export interface ApiCreateOnboardingRequest {
2497
+ //
2498
+ clan_id?: string;
2499
+ //
2500
+ contents?: Array<ApiOnboardingContent>;
2501
+ }
2502
+
2480
2503
  /** */
2481
2504
  export interface ApiOnboardingItem {
2482
2505
  //
2483
- answers?: string;
2506
+ answers?: Array<ApiAnswer>;
2484
2507
  //
2485
2508
  channel_id?: string;
2486
2509
  //
package/dist/api.gen.d.ts CHANGED
@@ -1422,12 +1422,28 @@ export interface RpcStatus {
1422
1422
  details?: Array<ProtobufAny>;
1423
1423
  message?: string;
1424
1424
  }
1425
+ /** */
1425
1426
  export interface ApiListOnboardingResponse {
1426
1427
  list_onboarding?: Array<ApiOnboardingItem>;
1427
1428
  }
1428
1429
  /** */
1430
+ export interface ApiAnswer {
1431
+ answer?: string;
1432
+ description?: string;
1433
+ title?: string;
1434
+ }
1435
+ /** */
1436
+ export interface ApiOnboardingContent {
1437
+ answers?: Array<ApiAnswer>;
1438
+ channel_id?: string;
1439
+ content?: string;
1440
+ guide_type?: number;
1441
+ task_type?: number;
1442
+ title?: string;
1443
+ }
1444
+ /** */
1429
1445
  export interface MezonUpdateOnboardingBody {
1430
- answers?: string;
1446
+ answers?: Array<ApiAnswer>;
1431
1447
  channel_id?: string;
1432
1448
  clan_id?: string;
1433
1449
  content?: string;
@@ -1437,13 +1453,11 @@ export interface MezonUpdateOnboardingBody {
1437
1453
  /** */
1438
1454
  export interface ApiCreateOnboardingRequest {
1439
1455
  clan_id?: string;
1440
- content?: string;
1441
- guide_type?: number;
1442
- title?: string;
1456
+ contents?: Array<ApiOnboardingContent>;
1443
1457
  }
1444
1458
  /** */
1445
1459
  export interface ApiOnboardingItem {
1446
- answers?: string;
1460
+ answers?: Array<ApiAnswer>;
1447
1461
  channel_id?: string;
1448
1462
  clan_id?: string;
1449
1463
  content?: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mezon-js",
3
3
 
4
- "version": "2.9.68",
4
+ "version": "2.9.69",
5
5
 
6
6
  "scripts": {
7
7
  "build": "npx tsc && npx rollup -c --bundleConfigAsCjs && node build.mjs"