@gct-paas/api 0.1.4-dev.0 → 0.1.4-dev.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.
@@ -35,7 +35,7 @@ export const apiConfig = [
35
35
  {
36
36
  mode: "put",
37
37
  method: "putId",
38
- path: "",
38
+ path: "{id}",
39
39
  hasPathParams: true,
40
40
  hasData: true
41
41
  }
@@ -82,12 +82,13 @@ export const apiConfig = [
82
82
  mode: "post",
83
83
  method: "postUploadApk",
84
84
  path: "upload/apk",
85
+ hasUpload: true,
85
86
  hasData: true
86
87
  },
87
88
  {
88
89
  mode: "put",
89
90
  method: "putId",
90
- path: "",
91
+ path: "{id}",
91
92
  hasPathParams: true
92
93
  }
93
94
  ]
@@ -322,12 +323,13 @@ export const apiConfig = [
322
323
  mode: "post",
323
324
  method: "postUploadAppPkg",
324
325
  path: "upload/appPkg",
326
+ hasUpload: true,
325
327
  hasData: true
326
328
  },
327
329
  {
328
330
  mode: "put",
329
331
  method: "putId",
330
- path: "",
332
+ path: "{id}",
331
333
  hasPathParams: true,
332
334
  hasData: true
333
335
  }
@@ -471,6 +473,7 @@ export const apiConfig = [
471
473
  mode: "post",
472
474
  method: "postUploadCategoryId",
473
475
  path: "upload/{categoryId}",
476
+ hasUpload: true,
474
477
  hasPathParams: true,
475
478
  hasData: true
476
479
  }
@@ -569,7 +572,7 @@ export const apiConfig = [
569
572
  {
570
573
  mode: "put",
571
574
  method: "putId",
572
- path: "",
575
+ path: "{id}",
573
576
  hasPathParams: true,
574
577
  hasData: true
575
578
  }
@@ -617,7 +620,7 @@ export const apiConfig = [
617
620
  {
618
621
  mode: "put",
619
622
  method: "putId",
620
- path: "",
623
+ path: "{id}",
621
624
  hasPathParams: true,
622
625
  hasData: true
623
626
  }
@@ -631,6 +634,7 @@ export const apiConfig = [
631
634
  mode: "post",
632
635
  method: "postUpload",
633
636
  path: "upload",
637
+ hasUpload: true,
634
638
  hasQuery: true,
635
639
  hasData: true
636
640
  }
@@ -673,7 +677,7 @@ export const apiConfig = [
673
677
  {
674
678
  mode: "put",
675
679
  method: "putId",
676
- path: "",
680
+ path: "{id}",
677
681
  hasPathParams: true,
678
682
  hasData: true
679
683
  }
@@ -745,7 +749,7 @@ export const apiConfig = [
745
749
  {
746
750
  mode: "put",
747
751
  method: "putId",
748
- path: "",
752
+ path: "{id}",
749
753
  hasPathParams: true,
750
754
  hasData: true
751
755
  }
@@ -794,7 +798,7 @@ export const apiConfig = [
794
798
  {
795
799
  mode: "put",
796
800
  method: "putId",
797
- path: "",
801
+ path: "{id}",
798
802
  hasPathParams: true,
799
803
  hasData: true
800
804
  }
@@ -919,7 +923,7 @@ export const apiConfig = [
919
923
  {
920
924
  mode: "put",
921
925
  method: "putId",
922
- path: "",
926
+ path: "{id}",
923
927
  hasPathParams: true,
924
928
  hasData: true
925
929
  }
@@ -1027,7 +1031,7 @@ export const apiConfig = [
1027
1031
  {
1028
1032
  mode: "put",
1029
1033
  method: "putId",
1030
- path: "",
1034
+ path: "{id}",
1031
1035
  hasPathParams: true,
1032
1036
  hasData: true
1033
1037
  }
@@ -1143,7 +1147,7 @@ export const apiConfig = [
1143
1147
  {
1144
1148
  mode: "put",
1145
1149
  method: "putId",
1146
- path: "",
1150
+ path: "{id}",
1147
1151
  hasPathParams: true,
1148
1152
  hasData: true
1149
1153
  }
@@ -1186,7 +1190,7 @@ export const apiConfig = [
1186
1190
  {
1187
1191
  mode: "put",
1188
1192
  method: "putId",
1189
- path: "",
1193
+ path: "{id}",
1190
1194
  hasPathParams: true,
1191
1195
  hasData: true
1192
1196
  }
@@ -1229,7 +1233,7 @@ export const apiConfig = [
1229
1233
  {
1230
1234
  mode: "put",
1231
1235
  method: "putId",
1232
- path: "",
1236
+ path: "{id}",
1233
1237
  hasPathParams: true,
1234
1238
  hasData: true
1235
1239
  }
@@ -1277,7 +1281,7 @@ export const apiConfig = [
1277
1281
  {
1278
1282
  mode: "put",
1279
1283
  method: "putId",
1280
- path: "",
1284
+ path: "{id}",
1281
1285
  hasPathParams: true,
1282
1286
  hasData: true
1283
1287
  }
@@ -1320,7 +1324,7 @@ export const apiConfig = [
1320
1324
  {
1321
1325
  mode: "put",
1322
1326
  method: "putId",
1323
- path: "",
1327
+ path: "{id}",
1324
1328
  hasPathParams: true,
1325
1329
  hasData: true
1326
1330
  }
@@ -1363,7 +1367,7 @@ export const apiConfig = [
1363
1367
  {
1364
1368
  mode: "put",
1365
1369
  method: "putId",
1366
- path: "",
1370
+ path: "{id}",
1367
1371
  hasPathParams: true,
1368
1372
  hasData: true
1369
1373
  }
@@ -1400,6 +1404,7 @@ export const apiConfig = [
1400
1404
  mode: "post",
1401
1405
  method: "postImport",
1402
1406
  path: "import",
1407
+ hasUpload: true,
1403
1408
  hasData: true
1404
1409
  },
1405
1410
  {
@@ -1422,7 +1427,7 @@ export const apiConfig = [
1422
1427
  {
1423
1428
  mode: "put",
1424
1429
  method: "putId",
1425
- path: "",
1430
+ path: "{id}",
1426
1431
  hasPathParams: true,
1427
1432
  hasData: true
1428
1433
  }
@@ -1453,6 +1458,7 @@ export const apiConfig = [
1453
1458
  mode: "post",
1454
1459
  method: "postImport",
1455
1460
  path: "import",
1461
+ hasUpload: true,
1456
1462
  hasData: true
1457
1463
  },
1458
1464
  {
@@ -1475,7 +1481,7 @@ export const apiConfig = [
1475
1481
  {
1476
1482
  mode: "put",
1477
1483
  method: "putId",
1478
- path: "",
1484
+ path: "{id}",
1479
1485
  hasPathParams: true,
1480
1486
  hasData: true
1481
1487
  }
@@ -1540,7 +1546,7 @@ export const apiConfig = [
1540
1546
  {
1541
1547
  mode: "put",
1542
1548
  method: "putId",
1543
- path: "",
1549
+ path: "{id}",
1544
1550
  hasPathParams: true,
1545
1551
  hasData: true
1546
1552
  }
@@ -1580,6 +1586,12 @@ export const apiConfig = [
1580
1586
  path: "list",
1581
1587
  hasQuery: true
1582
1588
  },
1589
+ {
1590
+ mode: "delete",
1591
+ method: "deleteObject",
1592
+ path: "object",
1593
+ hasQuery: true
1594
+ },
1583
1595
  {
1584
1596
  mode: "get",
1585
1597
  method: "getPageList",
@@ -1589,7 +1601,7 @@ export const apiConfig = [
1589
1601
  {
1590
1602
  mode: "put",
1591
1603
  method: "putId",
1592
- path: "",
1604
+ path: "{id}",
1593
1605
  hasPathParams: true,
1594
1606
  hasData: true
1595
1607
  }
@@ -1609,6 +1621,7 @@ export const apiConfig = [
1609
1621
  mode: "post",
1610
1622
  method: "postUploadCommon",
1611
1623
  path: "upload-common",
1624
+ hasUpload: true,
1612
1625
  hasQuery: true,
1613
1626
  hasData: true
1614
1627
  },
@@ -1616,12 +1629,14 @@ export const apiConfig = [
1616
1629
  mode: "post",
1617
1630
  method: "postUploadDataset",
1618
1631
  path: "upload-dataset",
1632
+ hasUpload: true,
1619
1633
  hasData: true
1620
1634
  },
1621
1635
  {
1622
1636
  mode: "post",
1623
1637
  method: "postUploadImage",
1624
1638
  path: "upload/image",
1639
+ hasUpload: true,
1625
1640
  hasQuery: true,
1626
1641
  hasData: true
1627
1642
  }
@@ -1651,7 +1666,7 @@ export const apiConfig = [
1651
1666
  {
1652
1667
  mode: "put",
1653
1668
  method: "putId",
1654
- path: "",
1669
+ path: "{id}",
1655
1670
  hasPathParams: true,
1656
1671
  hasData: true
1657
1672
  }
@@ -1694,6 +1709,7 @@ export const apiConfig = [
1694
1709
  mode: "post",
1695
1710
  method: "postLangUpload",
1696
1711
  path: "lang/upload",
1712
+ hasUpload: true,
1697
1713
  hasQuery: true,
1698
1714
  hasData: true
1699
1715
  },
@@ -1818,7 +1834,7 @@ export const apiConfig = [
1818
1834
  {
1819
1835
  mode: "put",
1820
1836
  method: "putId",
1821
- path: "",
1837
+ path: "{id}",
1822
1838
  hasPathParams: true,
1823
1839
  hasData: true
1824
1840
  }
@@ -1860,7 +1876,7 @@ export const apiConfig = [
1860
1876
  {
1861
1877
  mode: "put",
1862
1878
  method: "putId",
1863
- path: "",
1879
+ path: "{id}",
1864
1880
  hasPathParams: true,
1865
1881
  hasData: true
1866
1882
  }
@@ -1902,7 +1918,7 @@ export const apiConfig = [
1902
1918
  {
1903
1919
  mode: "put",
1904
1920
  method: "putId",
1905
- path: "",
1921
+ path: "{id}",
1906
1922
  hasPathParams: true,
1907
1923
  hasData: true
1908
1924
  }
@@ -1916,6 +1932,7 @@ export const apiConfig = [
1916
1932
  mode: "post",
1917
1933
  method: "postUploadCertificate",
1918
1934
  path: "upload/certificate",
1935
+ hasUpload: true,
1919
1936
  hasData: true
1920
1937
  }
1921
1938
  ]
@@ -2163,7 +2180,7 @@ export const apiConfig = [
2163
2180
  {
2164
2181
  mode: "put",
2165
2182
  method: "putId",
2166
- path: "",
2183
+ path: "{id}",
2167
2184
  hasPathParams: true,
2168
2185
  hasData: true
2169
2186
  }
@@ -2223,7 +2240,7 @@ export const apiConfig = [
2223
2240
  {
2224
2241
  mode: "put",
2225
2242
  method: "putId",
2226
- path: "",
2243
+ path: "{id}",
2227
2244
  hasPathParams: true,
2228
2245
  hasData: true
2229
2246
  }
@@ -2265,7 +2282,7 @@ export const apiConfig = [
2265
2282
  {
2266
2283
  mode: "put",
2267
2284
  method: "putId",
2268
- path: "",
2285
+ path: "{id}",
2269
2286
  hasPathParams: true,
2270
2287
  hasData: true
2271
2288
  }
@@ -2325,7 +2342,7 @@ export const apiConfig = [
2325
2342
  {
2326
2343
  mode: "put",
2327
2344
  method: "putId",
2328
- path: "",
2345
+ path: "{id}",
2329
2346
  hasPathParams: true,
2330
2347
  hasData: true
2331
2348
  }
@@ -2374,7 +2391,7 @@ export const apiConfig = [
2374
2391
  {
2375
2392
  mode: "put",
2376
2393
  method: "putId",
2377
- path: "",
2394
+ path: "{id}",
2378
2395
  hasPathParams: true,
2379
2396
  hasData: true
2380
2397
  }
@@ -2440,7 +2457,7 @@ export const apiConfig = [
2440
2457
  {
2441
2458
  mode: "put",
2442
2459
  method: "putId",
2443
- path: "",
2460
+ path: "{id}",
2444
2461
  hasPathParams: true,
2445
2462
  hasData: true
2446
2463
  }
@@ -2492,7 +2509,7 @@ export const apiConfig = [
2492
2509
  {
2493
2510
  mode: "put",
2494
2511
  method: "putId",
2495
- path: "",
2512
+ path: "{id}",
2496
2513
  hasPathParams: true,
2497
2514
  hasData: true
2498
2515
  }
@@ -2600,7 +2617,7 @@ export const apiConfig = [
2600
2617
  {
2601
2618
  mode: "put",
2602
2619
  method: "putId",
2603
- path: "",
2620
+ path: "{id}",
2604
2621
  hasPathParams: true,
2605
2622
  hasData: true
2606
2623
  }
@@ -2665,7 +2682,7 @@ export const apiConfig = [
2665
2682
  {
2666
2683
  mode: "put",
2667
2684
  method: "putId",
2668
- path: "",
2685
+ path: "{id}",
2669
2686
  hasPathParams: true,
2670
2687
  hasData: true
2671
2688
  }
@@ -2767,6 +2784,7 @@ export const apiConfig = [
2767
2784
  mode: "post",
2768
2785
  method: "postUploadCertFile",
2769
2786
  path: "uploadCertFile",
2787
+ hasUpload: true,
2770
2788
  hasData: true
2771
2789
  },
2772
2790
  {
@@ -2877,7 +2895,7 @@ export const apiConfig = [
2877
2895
  {
2878
2896
  mode: "put",
2879
2897
  method: "putId",
2880
- path: "",
2898
+ path: "{id}",
2881
2899
  hasPathParams: true,
2882
2900
  hasData: true
2883
2901
  }
@@ -2920,7 +2938,7 @@ export const apiConfig = [
2920
2938
  {
2921
2939
  mode: "put",
2922
2940
  method: "putId",
2923
- path: "",
2941
+ path: "{id}",
2924
2942
  hasPathParams: true,
2925
2943
  hasData: true
2926
2944
  }
@@ -2962,7 +2980,7 @@ export const apiConfig = [
2962
2980
  {
2963
2981
  mode: "put",
2964
2982
  method: "putId",
2965
- path: "",
2983
+ path: "{id}",
2966
2984
  hasPathParams: true,
2967
2985
  hasData: true
2968
2986
  }
@@ -3004,7 +3022,7 @@ export const apiConfig = [
3004
3022
  {
3005
3023
  mode: "put",
3006
3024
  method: "putId",
3007
- path: "",
3025
+ path: "{id}",
3008
3026
  hasPathParams: true,
3009
3027
  hasData: true
3010
3028
  }
@@ -3051,7 +3069,7 @@ export const apiConfig = [
3051
3069
  {
3052
3070
  mode: "put",
3053
3071
  method: "putId",
3054
- path: "",
3072
+ path: "{id}",
3055
3073
  hasPathParams: true,
3056
3074
  hasData: true
3057
3075
  }
@@ -3098,7 +3116,7 @@ export const apiConfig = [
3098
3116
  {
3099
3117
  mode: "put",
3100
3118
  method: "putId",
3101
- path: "",
3119
+ path: "{id}",
3102
3120
  hasPathParams: true,
3103
3121
  hasData: true
3104
3122
  }
@@ -3145,7 +3163,7 @@ export const apiConfig = [
3145
3163
  {
3146
3164
  mode: "put",
3147
3165
  method: "putId",
3148
- path: "",
3166
+ path: "{id}",
3149
3167
  hasPathParams: true,
3150
3168
  hasData: true
3151
3169
  }
@@ -3187,7 +3205,7 @@ export const apiConfig = [
3187
3205
  {
3188
3206
  mode: "put",
3189
3207
  method: "putId",
3190
- path: "",
3208
+ path: "{id}",
3191
3209
  hasPathParams: true,
3192
3210
  hasData: true
3193
3211
  }
@@ -3231,6 +3249,7 @@ export const apiConfig = [
3231
3249
  mode: "post",
3232
3250
  method: "postImport",
3233
3251
  path: "import",
3252
+ hasUpload: true,
3234
3253
  hasQuery: true,
3235
3254
  hasData: true
3236
3255
  },
@@ -3272,7 +3291,7 @@ export const apiConfig = [
3272
3291
  {
3273
3292
  mode: "put",
3274
3293
  method: "putId",
3275
- path: "",
3294
+ path: "{id}",
3276
3295
  hasPathParams: true,
3277
3296
  hasData: true
3278
3297
  }
@@ -3374,7 +3393,7 @@ export const apiConfig = [
3374
3393
  {
3375
3394
  mode: "put",
3376
3395
  method: "putId",
3377
- path: "",
3396
+ path: "{id}",
3378
3397
  hasPathParams: true,
3379
3398
  hasData: true
3380
3399
  }
@@ -3416,7 +3435,7 @@ export const apiConfig = [
3416
3435
  {
3417
3436
  mode: "put",
3418
3437
  method: "putId",
3419
- path: "",
3438
+ path: "{id}",
3420
3439
  hasPathParams: true,
3421
3440
  hasData: true
3422
3441
  }
@@ -3619,7 +3638,7 @@ export const apiConfig = [
3619
3638
  {
3620
3639
  mode: "put",
3621
3640
  method: "putId",
3622
- path: "",
3641
+ path: "{id}",
3623
3642
  hasPathParams: true,
3624
3643
  hasData: true
3625
3644
  }
@@ -3782,7 +3801,7 @@ export const apiConfig = [
3782
3801
  {
3783
3802
  mode: "put",
3784
3803
  method: "putId",
3785
- path: "",
3804
+ path: "{id}",
3786
3805
  hasPathParams: true,
3787
3806
  hasData: true
3788
3807
  }
@@ -3883,7 +3902,7 @@ export const apiConfig = [
3883
3902
  {
3884
3903
  mode: "put",
3885
3904
  method: "putId",
3886
- path: "",
3905
+ path: "{id}",
3887
3906
  hasPathParams: true,
3888
3907
  hasData: true
3889
3908
  }
@@ -3995,7 +4014,7 @@ export const apiConfig = [
3995
4014
  {
3996
4015
  mode: "put",
3997
4016
  method: "putId",
3998
- path: "",
4017
+ path: "{id}",
3999
4018
  hasPathParams: true,
4000
4019
  hasData: true
4001
4020
  }
@@ -4225,7 +4244,7 @@ export const apiConfig = [
4225
4244
  {
4226
4245
  mode: "put",
4227
4246
  method: "putId",
4228
- path: "",
4247
+ path: "{id}",
4229
4248
  hasPathParams: true,
4230
4249
  hasData: true
4231
4250
  }
@@ -4285,6 +4304,7 @@ export const apiConfig = [
4285
4304
  mode: "post",
4286
4305
  method: "postOrgPlatImport",
4287
4306
  path: "org/plat/import",
4307
+ hasUpload: true,
4288
4308
  hasQuery: true,
4289
4309
  hasData: true
4290
4310
  },
@@ -4298,6 +4318,7 @@ export const apiConfig = [
4298
4318
  mode: "post",
4299
4319
  method: "postOrgTenantImport",
4300
4320
  path: "org/tenant/import",
4321
+ hasUpload: true,
4301
4322
  hasQuery: true,
4302
4323
  hasData: true
4303
4324
  },
@@ -4305,6 +4326,7 @@ export const apiConfig = [
4305
4326
  mode: "post",
4306
4327
  method: "postOrgTenantImport4App",
4307
4328
  path: "org/tenant/import4App",
4329
+ hasUpload: true,
4308
4330
  hasQuery: true,
4309
4331
  hasData: true
4310
4332
  },
@@ -4330,6 +4352,7 @@ export const apiConfig = [
4330
4352
  mode: "post",
4331
4353
  method: "postPlatImport",
4332
4354
  path: "plat/import",
4355
+ hasUpload: true,
4333
4356
  hasData: true
4334
4357
  },
4335
4358
  {
@@ -4372,12 +4395,14 @@ export const apiConfig = [
4372
4395
  mode: "post",
4373
4396
  method: "postTenantImport",
4374
4397
  path: "tenant/import",
4398
+ hasUpload: true,
4375
4399
  hasData: true
4376
4400
  },
4377
4401
  {
4378
4402
  mode: "post",
4379
4403
  method: "postTenantImport4App",
4380
4404
  path: "tenant/import4App",
4405
+ hasUpload: true,
4381
4406
  hasData: true
4382
4407
  },
4383
4408
  {
@@ -4395,7 +4420,7 @@ export const apiConfig = [
4395
4420
  {
4396
4421
  mode: "put",
4397
4422
  method: "putId",
4398
- path: "",
4423
+ path: "{id}",
4399
4424
  hasPathParams: true,
4400
4425
  hasData: true
4401
4426
  }
@@ -4437,7 +4462,7 @@ export const apiConfig = [
4437
4462
  {
4438
4463
  mode: "put",
4439
4464
  method: "putId",
4440
- path: "",
4465
+ path: "{id}",
4441
4466
  hasPathParams: true,
4442
4467
  hasData: true
4443
4468
  }
@@ -4479,7 +4504,7 @@ export const apiConfig = [
4479
4504
  {
4480
4505
  mode: "put",
4481
4506
  method: "putId",
4482
- path: "",
4507
+ path: "{id}",
4483
4508
  hasPathParams: true,
4484
4509
  hasData: true
4485
4510
  }
@@ -4521,7 +4546,7 @@ export const apiConfig = [
4521
4546
  {
4522
4547
  mode: "put",
4523
4548
  method: "putId",
4524
- path: "",
4549
+ path: "{id}",
4525
4550
  hasPathParams: true,
4526
4551
  hasData: true
4527
4552
  }
@@ -4564,7 +4589,7 @@ export const apiConfig = [
4564
4589
  {
4565
4590
  mode: "put",
4566
4591
  method: "putId",
4567
- path: "",
4592
+ path: "{id}",
4568
4593
  hasPathParams: true,
4569
4594
  hasData: true
4570
4595
  }
@@ -4626,7 +4651,7 @@ export const apiConfig = [
4626
4651
  {
4627
4652
  mode: "put",
4628
4653
  method: "putId",
4629
- path: "",
4654
+ path: "{id}",
4630
4655
  hasPathParams: true,
4631
4656
  hasData: true
4632
4657
  }
@@ -5834,6 +5859,12 @@ export const apiConfig = [
5834
5859
  path: "report-detail/listStatistic",
5835
5860
  hasData: true
5836
5861
  },
5862
+ {
5863
+ mode: "post",
5864
+ method: "postSeatAdd",
5865
+ path: "seat/add",
5866
+ hasQuery: true
5867
+ },
5837
5868
  {
5838
5869
  mode: "post",
5839
5870
  method: "postSignLogOperators",
@@ -729,6 +729,12 @@ export interface getReportDataProjectInfoQuery {
729
729
  */
730
730
  projectId: string;
731
731
  }
732
+ export interface postSeatAddQuery {
733
+ /**
734
+ * flag
735
+ */
736
+ flag: number;
737
+ }
732
738
  export interface getTenantInfoByPortOrDomainQuery {
733
739
  /**
734
740
  * domain
@@ -1563,6 +1569,13 @@ export interface ApiService {
1563
1569
  data: BIChartConditionDTO,
1564
1570
  config?: Partial<AxiosRequestConfig>,
1565
1571
  ): Promise<object>;
1572
+ /**
1573
+ * 添加席位
1574
+ */
1575
+ postSeatAdd(
1576
+ query: postSeatAddQuery,
1577
+ config?: Partial<AxiosRequestConfig>,
1578
+ ): Promise<any>;
1566
1579
  /**
1567
1580
  * 操作人
1568
1581
  */
@@ -40,6 +40,12 @@ export interface getListQuery {
40
40
  */
41
41
  status?: string;
42
42
  }
43
+ export interface deleteObjectQuery {
44
+ /**
45
+ * 删除的id,多个按','分割
46
+ */
47
+ ids: string;
48
+ }
43
49
  export interface getPageListQuery {
44
50
  /**
45
51
  * 单据任务名称
@@ -113,6 +119,13 @@ export interface FileTaskService {
113
119
  query: getListQuery,
114
120
  config?: Partial<AxiosRequestConfig>,
115
121
  ): Promise<FileTaskResponse[]>;
122
+ /**
123
+ * 删除数据及minio中的对象
124
+ */
125
+ deleteObject(
126
+ query: deleteObjectQuery,
127
+ config?: Partial<AxiosRequestConfig>,
128
+ ): Promise<string>;
116
129
  /**
117
130
  * 分页列表
118
131
  */