@owbase/node 1.0.0 → 2.0.0
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/README.md +1 -1
- package/dist/client.js +3 -3
- package/dist/client.js.map +1 -1
- package/dist/client.mjs +3 -3
- package/dist/client.mjs.map +1 -1
- package/dist/enums/databases-index-type.d.mts +2 -1
- package/dist/enums/databases-index-type.d.ts +2 -1
- package/dist/enums/databases-index-type.js +1 -0
- package/dist/enums/databases-index-type.js.map +1 -1
- package/dist/enums/databases-index-type.mjs +1 -0
- package/dist/enums/databases-index-type.mjs.map +1 -1
- package/dist/enums/project-policy-id.d.mts +1 -0
- package/dist/enums/project-policy-id.d.ts +1 -0
- package/dist/enums/project-policy-id.js +1 -0
- package/dist/enums/project-policy-id.js.map +1 -1
- package/dist/enums/project-policy-id.mjs +1 -0
- package/dist/enums/project-policy-id.mjs.map +1 -1
- package/dist/enums/tables-db-index-type.d.mts +2 -1
- package/dist/enums/tables-db-index-type.d.ts +2 -1
- package/dist/enums/tables-db-index-type.js +1 -0
- package/dist/enums/tables-db-index-type.js.map +1 -1
- package/dist/enums/tables-db-index-type.mjs +1 -0
- package/dist/enums/tables-db-index-type.mjs.map +1 -1
- package/dist/models.d.mts +236 -3
- package/dist/models.d.ts +236 -3
- package/dist/services/account.d.mts +32 -0
- package/dist/services/account.d.ts +32 -0
- package/dist/services/account.js +27 -0
- package/dist/services/account.js.map +1 -1
- package/dist/services/account.mjs +27 -0
- package/dist/services/account.mjs.map +1 -1
- package/dist/services/databases.d.mts +211 -47
- package/dist/services/databases.d.ts +211 -47
- package/dist/services/databases.js +301 -41
- package/dist/services/databases.js.map +1 -1
- package/dist/services/databases.mjs +301 -41
- package/dist/services/databases.mjs.map +1 -1
- package/dist/services/functions.d.mts +30 -12
- package/dist/services/functions.d.ts +30 -12
- package/dist/services/functions.js +34 -4
- package/dist/services/functions.js.map +1 -1
- package/dist/services/functions.mjs +34 -4
- package/dist/services/functions.mjs.map +1 -1
- package/dist/services/messaging.d.mts +56 -44
- package/dist/services/messaging.d.ts +56 -44
- package/dist/services/messaging.js +96 -76
- package/dist/services/messaging.js.map +1 -1
- package/dist/services/messaging.mjs +96 -76
- package/dist/services/messaging.mjs.map +1 -1
- package/dist/services/organization.d.mts +4 -1
- package/dist/services/organization.d.ts +4 -1
- package/dist/services/organization.js +6 -1
- package/dist/services/organization.js.map +1 -1
- package/dist/services/organization.mjs +6 -1
- package/dist/services/organization.mjs.map +1 -1
- package/dist/services/project.d.mts +115 -65
- package/dist/services/project.d.ts +115 -65
- package/dist/services/project.js +138 -77
- package/dist/services/project.js.map +1 -1
- package/dist/services/project.mjs +138 -77
- package/dist/services/project.mjs.map +1 -1
- package/dist/services/sites.d.mts +20 -8
- package/dist/services/sites.d.ts +20 -8
- package/dist/services/sites.js +24 -4
- package/dist/services/sites.js.map +1 -1
- package/dist/services/sites.mjs +24 -4
- package/dist/services/sites.mjs.map +1 -1
- package/dist/services/storage.d.mts +16 -4
- package/dist/services/storage.d.ts +16 -4
- package/dist/services/storage.js +22 -2
- package/dist/services/storage.js.map +1 -1
- package/dist/services/storage.mjs +22 -2
- package/dist/services/storage.mjs.map +1 -1
- package/dist/services/tables-db.d.mts +210 -47
- package/dist/services/tables-db.d.ts +210 -47
- package/dist/services/tables-db.js +296 -41
- package/dist/services/tables-db.js.map +1 -1
- package/dist/services/tables-db.mjs +296 -41
- package/dist/services/tables-db.mjs.map +1 -1
- package/dist/services/teams.d.mts +4 -1
- package/dist/services/teams.d.ts +4 -1
- package/dist/services/teams.js +6 -1
- package/dist/services/teams.js.map +1 -1
- package/dist/services/teams.mjs +6 -1
- package/dist/services/teams.mjs.map +1 -1
- package/dist/services/webhooks.d.mts +16 -10
- package/dist/services/webhooks.d.ts +16 -10
- package/dist/services/webhooks.js +12 -2
- package/dist/services/webhooks.js.map +1 -1
- package/dist/services/webhooks.mjs +12 -2
- package/dist/services/webhooks.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -46,12 +46,14 @@ class TablesDB {
|
|
|
46
46
|
params = {
|
|
47
47
|
databaseId: paramsOrFirst,
|
|
48
48
|
name: rest[0],
|
|
49
|
-
enabled: rest[1]
|
|
49
|
+
enabled: rest[1],
|
|
50
|
+
description: rest[2]
|
|
50
51
|
};
|
|
51
52
|
}
|
|
52
53
|
const databaseId = params.databaseId;
|
|
53
54
|
const name = params.name;
|
|
54
55
|
const enabled = params.enabled;
|
|
56
|
+
const description = params.description;
|
|
55
57
|
if (typeof databaseId === "undefined") {
|
|
56
58
|
throw new client.OwbaseException(
|
|
57
59
|
'Missing required parameter: "databaseId"'
|
|
@@ -71,6 +73,9 @@ class TablesDB {
|
|
|
71
73
|
if (typeof enabled !== "undefined") {
|
|
72
74
|
apiPayload["enabled"] = enabled;
|
|
73
75
|
}
|
|
76
|
+
if (typeof description !== "undefined") {
|
|
77
|
+
apiPayload["description"] = description;
|
|
78
|
+
}
|
|
74
79
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
75
80
|
const apiHeaders = {
|
|
76
81
|
"X-Owbase-Project": this.client.config.project,
|
|
@@ -290,12 +295,14 @@ class TablesDB {
|
|
|
290
295
|
params = {
|
|
291
296
|
databaseId: paramsOrFirst,
|
|
292
297
|
name: rest[0],
|
|
293
|
-
enabled: rest[1]
|
|
298
|
+
enabled: rest[1],
|
|
299
|
+
description: rest[2]
|
|
294
300
|
};
|
|
295
301
|
}
|
|
296
302
|
const databaseId = params.databaseId;
|
|
297
303
|
const name = params.name;
|
|
298
304
|
const enabled = params.enabled;
|
|
305
|
+
const description = params.description;
|
|
299
306
|
if (typeof databaseId === "undefined" || databaseId === "") {
|
|
300
307
|
throw new client.OwbaseException(
|
|
301
308
|
'Missing required parameter: "databaseId"'
|
|
@@ -312,6 +319,9 @@ class TablesDB {
|
|
|
312
319
|
if (typeof enabled !== "undefined") {
|
|
313
320
|
apiPayload["enabled"] = enabled;
|
|
314
321
|
}
|
|
322
|
+
if (typeof description !== "undefined") {
|
|
323
|
+
apiPayload["description"] = description;
|
|
324
|
+
}
|
|
315
325
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
316
326
|
const apiHeaders = {
|
|
317
327
|
"X-Owbase-Project": this.client.config.project,
|
|
@@ -403,7 +413,8 @@ class TablesDB {
|
|
|
403
413
|
rowSecurity: rest[3],
|
|
404
414
|
enabled: rest[4],
|
|
405
415
|
columns: rest[5],
|
|
406
|
-
indexes: rest[6]
|
|
416
|
+
indexes: rest[6],
|
|
417
|
+
description: rest[7]
|
|
407
418
|
};
|
|
408
419
|
}
|
|
409
420
|
const databaseId = params.databaseId;
|
|
@@ -414,6 +425,7 @@ class TablesDB {
|
|
|
414
425
|
const enabled = params.enabled;
|
|
415
426
|
const columns = params.columns;
|
|
416
427
|
const indexes = params.indexes;
|
|
428
|
+
const description = params.description;
|
|
417
429
|
if (typeof databaseId === "undefined" || databaseId === "") {
|
|
418
430
|
throw new client.OwbaseException(
|
|
419
431
|
'Missing required parameter: "databaseId"'
|
|
@@ -451,6 +463,9 @@ class TablesDB {
|
|
|
451
463
|
if (typeof indexes !== "undefined") {
|
|
452
464
|
apiPayload["indexes"] = indexes;
|
|
453
465
|
}
|
|
466
|
+
if (typeof description !== "undefined") {
|
|
467
|
+
apiPayload["description"] = description;
|
|
468
|
+
}
|
|
454
469
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
455
470
|
const apiHeaders = {
|
|
456
471
|
"X-Owbase-Project": this.client.config.project,
|
|
@@ -500,7 +515,8 @@ class TablesDB {
|
|
|
500
515
|
permissions: rest[2],
|
|
501
516
|
rowSecurity: rest[3],
|
|
502
517
|
enabled: rest[4],
|
|
503
|
-
purge: rest[5]
|
|
518
|
+
purge: rest[5],
|
|
519
|
+
description: rest[6]
|
|
504
520
|
};
|
|
505
521
|
}
|
|
506
522
|
const databaseId = params.databaseId;
|
|
@@ -510,6 +526,7 @@ class TablesDB {
|
|
|
510
526
|
const rowSecurity = params.rowSecurity;
|
|
511
527
|
const enabled = params.enabled;
|
|
512
528
|
const purge = params.purge;
|
|
529
|
+
const description = params.description;
|
|
513
530
|
if (typeof databaseId === "undefined" || databaseId === "") {
|
|
514
531
|
throw new client.OwbaseException(
|
|
515
532
|
'Missing required parameter: "databaseId"'
|
|
@@ -535,6 +552,9 @@ class TablesDB {
|
|
|
535
552
|
if (typeof purge !== "undefined") {
|
|
536
553
|
apiPayload["purge"] = purge;
|
|
537
554
|
}
|
|
555
|
+
if (typeof description !== "undefined") {
|
|
556
|
+
apiPayload["description"] = description;
|
|
557
|
+
}
|
|
538
558
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
539
559
|
const apiHeaders = {
|
|
540
560
|
"X-Owbase-Project": this.client.config.project,
|
|
@@ -625,7 +645,8 @@ class TablesDB {
|
|
|
625
645
|
min: rest[3],
|
|
626
646
|
max: rest[4],
|
|
627
647
|
xdefault: rest[5],
|
|
628
|
-
array: rest[6]
|
|
648
|
+
array: rest[6],
|
|
649
|
+
description: rest[7]
|
|
629
650
|
};
|
|
630
651
|
}
|
|
631
652
|
const databaseId = params.databaseId;
|
|
@@ -636,6 +657,7 @@ class TablesDB {
|
|
|
636
657
|
const max = params.max;
|
|
637
658
|
const xdefault = params.xdefault;
|
|
638
659
|
const array = params.array;
|
|
660
|
+
const description = params.description;
|
|
639
661
|
if (typeof databaseId === "undefined" || databaseId === "") {
|
|
640
662
|
throw new client.OwbaseException(
|
|
641
663
|
'Missing required parameter: "databaseId"'
|
|
@@ -670,6 +692,9 @@ class TablesDB {
|
|
|
670
692
|
if (typeof array !== "undefined") {
|
|
671
693
|
apiPayload["array"] = array;
|
|
672
694
|
}
|
|
695
|
+
if (typeof description !== "undefined") {
|
|
696
|
+
apiPayload["description"] = description;
|
|
697
|
+
}
|
|
673
698
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
674
699
|
const apiHeaders = {
|
|
675
700
|
"X-Owbase-Project": this.client.config.project,
|
|
@@ -691,7 +716,8 @@ class TablesDB {
|
|
|
691
716
|
xdefault: rest[3],
|
|
692
717
|
min: rest[4],
|
|
693
718
|
max: rest[5],
|
|
694
|
-
newKey: rest[6]
|
|
719
|
+
newKey: rest[6],
|
|
720
|
+
description: rest[7]
|
|
695
721
|
};
|
|
696
722
|
}
|
|
697
723
|
const databaseId = params.databaseId;
|
|
@@ -702,6 +728,7 @@ class TablesDB {
|
|
|
702
728
|
const min = params.min;
|
|
703
729
|
const max = params.max;
|
|
704
730
|
const newKey = params.newKey;
|
|
731
|
+
const description = params.description;
|
|
705
732
|
if (typeof databaseId === "undefined" || databaseId === "") {
|
|
706
733
|
throw new client.OwbaseException(
|
|
707
734
|
'Missing required parameter: "databaseId"'
|
|
@@ -736,6 +763,9 @@ class TablesDB {
|
|
|
736
763
|
if (typeof newKey !== "undefined") {
|
|
737
764
|
apiPayload["newKey"] = newKey;
|
|
738
765
|
}
|
|
766
|
+
if (typeof description !== "undefined") {
|
|
767
|
+
apiPayload["description"] = description;
|
|
768
|
+
}
|
|
739
769
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
740
770
|
const apiHeaders = {
|
|
741
771
|
"X-Owbase-Project": this.client.config.project,
|
|
@@ -755,7 +785,8 @@ class TablesDB {
|
|
|
755
785
|
key: rest[1],
|
|
756
786
|
required: rest[2],
|
|
757
787
|
xdefault: rest[3],
|
|
758
|
-
array: rest[4]
|
|
788
|
+
array: rest[4],
|
|
789
|
+
description: rest[5]
|
|
759
790
|
};
|
|
760
791
|
}
|
|
761
792
|
const databaseId = params.databaseId;
|
|
@@ -764,6 +795,7 @@ class TablesDB {
|
|
|
764
795
|
const required = params.required;
|
|
765
796
|
const xdefault = params.xdefault;
|
|
766
797
|
const array = params.array;
|
|
798
|
+
const description = params.description;
|
|
767
799
|
if (typeof databaseId === "undefined" || databaseId === "") {
|
|
768
800
|
throw new client.OwbaseException(
|
|
769
801
|
'Missing required parameter: "databaseId"'
|
|
@@ -792,6 +824,9 @@ class TablesDB {
|
|
|
792
824
|
if (typeof array !== "undefined") {
|
|
793
825
|
apiPayload["array"] = array;
|
|
794
826
|
}
|
|
827
|
+
if (typeof description !== "undefined") {
|
|
828
|
+
apiPayload["description"] = description;
|
|
829
|
+
}
|
|
795
830
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
796
831
|
const apiHeaders = {
|
|
797
832
|
"X-Owbase-Project": this.client.config.project,
|
|
@@ -811,7 +846,8 @@ class TablesDB {
|
|
|
811
846
|
key: rest[1],
|
|
812
847
|
required: rest[2],
|
|
813
848
|
xdefault: rest[3],
|
|
814
|
-
newKey: rest[4]
|
|
849
|
+
newKey: rest[4],
|
|
850
|
+
description: rest[5]
|
|
815
851
|
};
|
|
816
852
|
}
|
|
817
853
|
const databaseId = params.databaseId;
|
|
@@ -820,6 +856,7 @@ class TablesDB {
|
|
|
820
856
|
const required = params.required;
|
|
821
857
|
const xdefault = params.xdefault;
|
|
822
858
|
const newKey = params.newKey;
|
|
859
|
+
const description = params.description;
|
|
823
860
|
if (typeof databaseId === "undefined" || databaseId === "") {
|
|
824
861
|
throw new client.OwbaseException(
|
|
825
862
|
'Missing required parameter: "databaseId"'
|
|
@@ -848,6 +885,9 @@ class TablesDB {
|
|
|
848
885
|
if (typeof newKey !== "undefined") {
|
|
849
886
|
apiPayload["newKey"] = newKey;
|
|
850
887
|
}
|
|
888
|
+
if (typeof description !== "undefined") {
|
|
889
|
+
apiPayload["description"] = description;
|
|
890
|
+
}
|
|
851
891
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
852
892
|
const apiHeaders = {
|
|
853
893
|
"X-Owbase-Project": this.client.config.project,
|
|
@@ -867,7 +907,8 @@ class TablesDB {
|
|
|
867
907
|
key: rest[1],
|
|
868
908
|
required: rest[2],
|
|
869
909
|
xdefault: rest[3],
|
|
870
|
-
array: rest[4]
|
|
910
|
+
array: rest[4],
|
|
911
|
+
description: rest[5]
|
|
871
912
|
};
|
|
872
913
|
}
|
|
873
914
|
const databaseId = params.databaseId;
|
|
@@ -876,6 +917,7 @@ class TablesDB {
|
|
|
876
917
|
const required = params.required;
|
|
877
918
|
const xdefault = params.xdefault;
|
|
878
919
|
const array = params.array;
|
|
920
|
+
const description = params.description;
|
|
879
921
|
if (typeof databaseId === "undefined" || databaseId === "") {
|
|
880
922
|
throw new client.OwbaseException(
|
|
881
923
|
'Missing required parameter: "databaseId"'
|
|
@@ -904,6 +946,9 @@ class TablesDB {
|
|
|
904
946
|
if (typeof array !== "undefined") {
|
|
905
947
|
apiPayload["array"] = array;
|
|
906
948
|
}
|
|
949
|
+
if (typeof description !== "undefined") {
|
|
950
|
+
apiPayload["description"] = description;
|
|
951
|
+
}
|
|
907
952
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
908
953
|
const apiHeaders = {
|
|
909
954
|
"X-Owbase-Project": this.client.config.project,
|
|
@@ -923,7 +968,8 @@ class TablesDB {
|
|
|
923
968
|
key: rest[1],
|
|
924
969
|
required: rest[2],
|
|
925
970
|
xdefault: rest[3],
|
|
926
|
-
newKey: rest[4]
|
|
971
|
+
newKey: rest[4],
|
|
972
|
+
description: rest[5]
|
|
927
973
|
};
|
|
928
974
|
}
|
|
929
975
|
const databaseId = params.databaseId;
|
|
@@ -932,6 +978,7 @@ class TablesDB {
|
|
|
932
978
|
const required = params.required;
|
|
933
979
|
const xdefault = params.xdefault;
|
|
934
980
|
const newKey = params.newKey;
|
|
981
|
+
const description = params.description;
|
|
935
982
|
if (typeof databaseId === "undefined" || databaseId === "") {
|
|
936
983
|
throw new client.OwbaseException(
|
|
937
984
|
'Missing required parameter: "databaseId"'
|
|
@@ -960,6 +1007,9 @@ class TablesDB {
|
|
|
960
1007
|
if (typeof newKey !== "undefined") {
|
|
961
1008
|
apiPayload["newKey"] = newKey;
|
|
962
1009
|
}
|
|
1010
|
+
if (typeof description !== "undefined") {
|
|
1011
|
+
apiPayload["description"] = description;
|
|
1012
|
+
}
|
|
963
1013
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
964
1014
|
const apiHeaders = {
|
|
965
1015
|
"X-Owbase-Project": this.client.config.project,
|
|
@@ -979,7 +1029,8 @@ class TablesDB {
|
|
|
979
1029
|
key: rest[1],
|
|
980
1030
|
required: rest[2],
|
|
981
1031
|
xdefault: rest[3],
|
|
982
|
-
array: rest[4]
|
|
1032
|
+
array: rest[4],
|
|
1033
|
+
description: rest[5]
|
|
983
1034
|
};
|
|
984
1035
|
}
|
|
985
1036
|
const databaseId = params.databaseId;
|
|
@@ -988,6 +1039,7 @@ class TablesDB {
|
|
|
988
1039
|
const required = params.required;
|
|
989
1040
|
const xdefault = params.xdefault;
|
|
990
1041
|
const array = params.array;
|
|
1042
|
+
const description = params.description;
|
|
991
1043
|
if (typeof databaseId === "undefined" || databaseId === "") {
|
|
992
1044
|
throw new client.OwbaseException(
|
|
993
1045
|
'Missing required parameter: "databaseId"'
|
|
@@ -1016,6 +1068,9 @@ class TablesDB {
|
|
|
1016
1068
|
if (typeof array !== "undefined") {
|
|
1017
1069
|
apiPayload["array"] = array;
|
|
1018
1070
|
}
|
|
1071
|
+
if (typeof description !== "undefined") {
|
|
1072
|
+
apiPayload["description"] = description;
|
|
1073
|
+
}
|
|
1019
1074
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
1020
1075
|
const apiHeaders = {
|
|
1021
1076
|
"X-Owbase-Project": this.client.config.project,
|
|
@@ -1035,7 +1090,8 @@ class TablesDB {
|
|
|
1035
1090
|
key: rest[1],
|
|
1036
1091
|
required: rest[2],
|
|
1037
1092
|
xdefault: rest[3],
|
|
1038
|
-
newKey: rest[4]
|
|
1093
|
+
newKey: rest[4],
|
|
1094
|
+
description: rest[5]
|
|
1039
1095
|
};
|
|
1040
1096
|
}
|
|
1041
1097
|
const databaseId = params.databaseId;
|
|
@@ -1044,6 +1100,7 @@ class TablesDB {
|
|
|
1044
1100
|
const required = params.required;
|
|
1045
1101
|
const xdefault = params.xdefault;
|
|
1046
1102
|
const newKey = params.newKey;
|
|
1103
|
+
const description = params.description;
|
|
1047
1104
|
if (typeof databaseId === "undefined" || databaseId === "") {
|
|
1048
1105
|
throw new client.OwbaseException(
|
|
1049
1106
|
'Missing required parameter: "databaseId"'
|
|
@@ -1072,6 +1129,9 @@ class TablesDB {
|
|
|
1072
1129
|
if (typeof newKey !== "undefined") {
|
|
1073
1130
|
apiPayload["newKey"] = newKey;
|
|
1074
1131
|
}
|
|
1132
|
+
if (typeof description !== "undefined") {
|
|
1133
|
+
apiPayload["description"] = description;
|
|
1134
|
+
}
|
|
1075
1135
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
1076
1136
|
const apiHeaders = {
|
|
1077
1137
|
"X-Owbase-Project": this.client.config.project,
|
|
@@ -1092,7 +1152,8 @@ class TablesDB {
|
|
|
1092
1152
|
elements: rest[2],
|
|
1093
1153
|
required: rest[3],
|
|
1094
1154
|
xdefault: rest[4],
|
|
1095
|
-
array: rest[5]
|
|
1155
|
+
array: rest[5],
|
|
1156
|
+
description: rest[6]
|
|
1096
1157
|
};
|
|
1097
1158
|
}
|
|
1098
1159
|
const databaseId = params.databaseId;
|
|
@@ -1102,6 +1163,7 @@ class TablesDB {
|
|
|
1102
1163
|
const required = params.required;
|
|
1103
1164
|
const xdefault = params.xdefault;
|
|
1104
1165
|
const array = params.array;
|
|
1166
|
+
const description = params.description;
|
|
1105
1167
|
if (typeof databaseId === "undefined" || databaseId === "") {
|
|
1106
1168
|
throw new client.OwbaseException(
|
|
1107
1169
|
'Missing required parameter: "databaseId"'
|
|
@@ -1136,6 +1198,9 @@ class TablesDB {
|
|
|
1136
1198
|
if (typeof array !== "undefined") {
|
|
1137
1199
|
apiPayload["array"] = array;
|
|
1138
1200
|
}
|
|
1201
|
+
if (typeof description !== "undefined") {
|
|
1202
|
+
apiPayload["description"] = description;
|
|
1203
|
+
}
|
|
1139
1204
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
1140
1205
|
const apiHeaders = {
|
|
1141
1206
|
"X-Owbase-Project": this.client.config.project,
|
|
@@ -1156,7 +1221,8 @@ class TablesDB {
|
|
|
1156
1221
|
elements: rest[2],
|
|
1157
1222
|
required: rest[3],
|
|
1158
1223
|
xdefault: rest[4],
|
|
1159
|
-
newKey: rest[5]
|
|
1224
|
+
newKey: rest[5],
|
|
1225
|
+
description: rest[6]
|
|
1160
1226
|
};
|
|
1161
1227
|
}
|
|
1162
1228
|
const databaseId = params.databaseId;
|
|
@@ -1166,6 +1232,7 @@ class TablesDB {
|
|
|
1166
1232
|
const required = params.required;
|
|
1167
1233
|
const xdefault = params.xdefault;
|
|
1168
1234
|
const newKey = params.newKey;
|
|
1235
|
+
const description = params.description;
|
|
1169
1236
|
if (typeof databaseId === "undefined" || databaseId === "") {
|
|
1170
1237
|
throw new client.OwbaseException(
|
|
1171
1238
|
'Missing required parameter: "databaseId"'
|
|
@@ -1200,6 +1267,9 @@ class TablesDB {
|
|
|
1200
1267
|
if (typeof newKey !== "undefined") {
|
|
1201
1268
|
apiPayload["newKey"] = newKey;
|
|
1202
1269
|
}
|
|
1270
|
+
if (typeof description !== "undefined") {
|
|
1271
|
+
apiPayload["description"] = description;
|
|
1272
|
+
}
|
|
1203
1273
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
1204
1274
|
const apiHeaders = {
|
|
1205
1275
|
"X-Owbase-Project": this.client.config.project,
|
|
@@ -1221,7 +1291,8 @@ class TablesDB {
|
|
|
1221
1291
|
min: rest[3],
|
|
1222
1292
|
max: rest[4],
|
|
1223
1293
|
xdefault: rest[5],
|
|
1224
|
-
array: rest[6]
|
|
1294
|
+
array: rest[6],
|
|
1295
|
+
description: rest[7]
|
|
1225
1296
|
};
|
|
1226
1297
|
}
|
|
1227
1298
|
const databaseId = params.databaseId;
|
|
@@ -1232,6 +1303,7 @@ class TablesDB {
|
|
|
1232
1303
|
const max = params.max;
|
|
1233
1304
|
const xdefault = params.xdefault;
|
|
1234
1305
|
const array = params.array;
|
|
1306
|
+
const description = params.description;
|
|
1235
1307
|
if (typeof databaseId === "undefined" || databaseId === "") {
|
|
1236
1308
|
throw new client.OwbaseException(
|
|
1237
1309
|
'Missing required parameter: "databaseId"'
|
|
@@ -1266,6 +1338,9 @@ class TablesDB {
|
|
|
1266
1338
|
if (typeof array !== "undefined") {
|
|
1267
1339
|
apiPayload["array"] = array;
|
|
1268
1340
|
}
|
|
1341
|
+
if (typeof description !== "undefined") {
|
|
1342
|
+
apiPayload["description"] = description;
|
|
1343
|
+
}
|
|
1269
1344
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
1270
1345
|
const apiHeaders = {
|
|
1271
1346
|
"X-Owbase-Project": this.client.config.project,
|
|
@@ -1287,7 +1362,8 @@ class TablesDB {
|
|
|
1287
1362
|
xdefault: rest[3],
|
|
1288
1363
|
min: rest[4],
|
|
1289
1364
|
max: rest[5],
|
|
1290
|
-
newKey: rest[6]
|
|
1365
|
+
newKey: rest[6],
|
|
1366
|
+
description: rest[7]
|
|
1291
1367
|
};
|
|
1292
1368
|
}
|
|
1293
1369
|
const databaseId = params.databaseId;
|
|
@@ -1298,6 +1374,7 @@ class TablesDB {
|
|
|
1298
1374
|
const min = params.min;
|
|
1299
1375
|
const max = params.max;
|
|
1300
1376
|
const newKey = params.newKey;
|
|
1377
|
+
const description = params.description;
|
|
1301
1378
|
if (typeof databaseId === "undefined" || databaseId === "") {
|
|
1302
1379
|
throw new client.OwbaseException(
|
|
1303
1380
|
'Missing required parameter: "databaseId"'
|
|
@@ -1332,6 +1409,9 @@ class TablesDB {
|
|
|
1332
1409
|
if (typeof newKey !== "undefined") {
|
|
1333
1410
|
apiPayload["newKey"] = newKey;
|
|
1334
1411
|
}
|
|
1412
|
+
if (typeof description !== "undefined") {
|
|
1413
|
+
apiPayload["description"] = description;
|
|
1414
|
+
}
|
|
1335
1415
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
1336
1416
|
const apiHeaders = {
|
|
1337
1417
|
"X-Owbase-Project": this.client.config.project,
|
|
@@ -1353,7 +1433,8 @@ class TablesDB {
|
|
|
1353
1433
|
min: rest[3],
|
|
1354
1434
|
max: rest[4],
|
|
1355
1435
|
xdefault: rest[5],
|
|
1356
|
-
array: rest[6]
|
|
1436
|
+
array: rest[6],
|
|
1437
|
+
description: rest[7]
|
|
1357
1438
|
};
|
|
1358
1439
|
}
|
|
1359
1440
|
const databaseId = params.databaseId;
|
|
@@ -1364,6 +1445,7 @@ class TablesDB {
|
|
|
1364
1445
|
const max = params.max;
|
|
1365
1446
|
const xdefault = params.xdefault;
|
|
1366
1447
|
const array = params.array;
|
|
1448
|
+
const description = params.description;
|
|
1367
1449
|
if (typeof databaseId === "undefined" || databaseId === "") {
|
|
1368
1450
|
throw new client.OwbaseException(
|
|
1369
1451
|
'Missing required parameter: "databaseId"'
|
|
@@ -1398,6 +1480,9 @@ class TablesDB {
|
|
|
1398
1480
|
if (typeof array !== "undefined") {
|
|
1399
1481
|
apiPayload["array"] = array;
|
|
1400
1482
|
}
|
|
1483
|
+
if (typeof description !== "undefined") {
|
|
1484
|
+
apiPayload["description"] = description;
|
|
1485
|
+
}
|
|
1401
1486
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
1402
1487
|
const apiHeaders = {
|
|
1403
1488
|
"X-Owbase-Project": this.client.config.project,
|
|
@@ -1419,7 +1504,8 @@ class TablesDB {
|
|
|
1419
1504
|
xdefault: rest[3],
|
|
1420
1505
|
min: rest[4],
|
|
1421
1506
|
max: rest[5],
|
|
1422
|
-
newKey: rest[6]
|
|
1507
|
+
newKey: rest[6],
|
|
1508
|
+
description: rest[7]
|
|
1423
1509
|
};
|
|
1424
1510
|
}
|
|
1425
1511
|
const databaseId = params.databaseId;
|
|
@@ -1430,6 +1516,7 @@ class TablesDB {
|
|
|
1430
1516
|
const min = params.min;
|
|
1431
1517
|
const max = params.max;
|
|
1432
1518
|
const newKey = params.newKey;
|
|
1519
|
+
const description = params.description;
|
|
1433
1520
|
if (typeof databaseId === "undefined" || databaseId === "") {
|
|
1434
1521
|
throw new client.OwbaseException(
|
|
1435
1522
|
'Missing required parameter: "databaseId"'
|
|
@@ -1464,6 +1551,9 @@ class TablesDB {
|
|
|
1464
1551
|
if (typeof newKey !== "undefined") {
|
|
1465
1552
|
apiPayload["newKey"] = newKey;
|
|
1466
1553
|
}
|
|
1554
|
+
if (typeof description !== "undefined") {
|
|
1555
|
+
apiPayload["description"] = description;
|
|
1556
|
+
}
|
|
1467
1557
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
1468
1558
|
const apiHeaders = {
|
|
1469
1559
|
"X-Owbase-Project": this.client.config.project,
|
|
@@ -1483,7 +1573,8 @@ class TablesDB {
|
|
|
1483
1573
|
key: rest[1],
|
|
1484
1574
|
required: rest[2],
|
|
1485
1575
|
xdefault: rest[3],
|
|
1486
|
-
array: rest[4]
|
|
1576
|
+
array: rest[4],
|
|
1577
|
+
description: rest[5]
|
|
1487
1578
|
};
|
|
1488
1579
|
}
|
|
1489
1580
|
const databaseId = params.databaseId;
|
|
@@ -1492,6 +1583,7 @@ class TablesDB {
|
|
|
1492
1583
|
const required = params.required;
|
|
1493
1584
|
const xdefault = params.xdefault;
|
|
1494
1585
|
const array = params.array;
|
|
1586
|
+
const description = params.description;
|
|
1495
1587
|
if (typeof databaseId === "undefined" || databaseId === "") {
|
|
1496
1588
|
throw new client.OwbaseException(
|
|
1497
1589
|
'Missing required parameter: "databaseId"'
|
|
@@ -1520,6 +1612,9 @@ class TablesDB {
|
|
|
1520
1612
|
if (typeof array !== "undefined") {
|
|
1521
1613
|
apiPayload["array"] = array;
|
|
1522
1614
|
}
|
|
1615
|
+
if (typeof description !== "undefined") {
|
|
1616
|
+
apiPayload["description"] = description;
|
|
1617
|
+
}
|
|
1523
1618
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
1524
1619
|
const apiHeaders = {
|
|
1525
1620
|
"X-Owbase-Project": this.client.config.project,
|
|
@@ -1539,7 +1634,8 @@ class TablesDB {
|
|
|
1539
1634
|
key: rest[1],
|
|
1540
1635
|
required: rest[2],
|
|
1541
1636
|
xdefault: rest[3],
|
|
1542
|
-
newKey: rest[4]
|
|
1637
|
+
newKey: rest[4],
|
|
1638
|
+
description: rest[5]
|
|
1543
1639
|
};
|
|
1544
1640
|
}
|
|
1545
1641
|
const databaseId = params.databaseId;
|
|
@@ -1548,6 +1644,7 @@ class TablesDB {
|
|
|
1548
1644
|
const required = params.required;
|
|
1549
1645
|
const xdefault = params.xdefault;
|
|
1550
1646
|
const newKey = params.newKey;
|
|
1647
|
+
const description = params.description;
|
|
1551
1648
|
if (typeof databaseId === "undefined" || databaseId === "") {
|
|
1552
1649
|
throw new client.OwbaseException(
|
|
1553
1650
|
'Missing required parameter: "databaseId"'
|
|
@@ -1576,6 +1673,9 @@ class TablesDB {
|
|
|
1576
1673
|
if (typeof newKey !== "undefined") {
|
|
1577
1674
|
apiPayload["newKey"] = newKey;
|
|
1578
1675
|
}
|
|
1676
|
+
if (typeof description !== "undefined") {
|
|
1677
|
+
apiPayload["description"] = description;
|
|
1678
|
+
}
|
|
1579
1679
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
1580
1680
|
const apiHeaders = {
|
|
1581
1681
|
"X-Owbase-Project": this.client.config.project,
|
|
@@ -1594,7 +1694,8 @@ class TablesDB {
|
|
|
1594
1694
|
tableId: rest[0],
|
|
1595
1695
|
key: rest[1],
|
|
1596
1696
|
required: rest[2],
|
|
1597
|
-
xdefault: rest[3]
|
|
1697
|
+
xdefault: rest[3],
|
|
1698
|
+
description: rest[4]
|
|
1598
1699
|
};
|
|
1599
1700
|
}
|
|
1600
1701
|
const databaseId = params.databaseId;
|
|
@@ -1602,6 +1703,7 @@ class TablesDB {
|
|
|
1602
1703
|
const key = params.key;
|
|
1603
1704
|
const required = params.required;
|
|
1604
1705
|
const xdefault = params.xdefault;
|
|
1706
|
+
const description = params.description;
|
|
1605
1707
|
if (typeof databaseId === "undefined" || databaseId === "") {
|
|
1606
1708
|
throw new client.OwbaseException(
|
|
1607
1709
|
'Missing required parameter: "databaseId"'
|
|
@@ -1627,6 +1729,9 @@ class TablesDB {
|
|
|
1627
1729
|
if (typeof xdefault !== "undefined") {
|
|
1628
1730
|
apiPayload["default"] = xdefault;
|
|
1629
1731
|
}
|
|
1732
|
+
if (typeof description !== "undefined") {
|
|
1733
|
+
apiPayload["description"] = description;
|
|
1734
|
+
}
|
|
1630
1735
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
1631
1736
|
const apiHeaders = {
|
|
1632
1737
|
"X-Owbase-Project": this.client.config.project,
|
|
@@ -1646,7 +1751,8 @@ class TablesDB {
|
|
|
1646
1751
|
key: rest[1],
|
|
1647
1752
|
required: rest[2],
|
|
1648
1753
|
xdefault: rest[3],
|
|
1649
|
-
newKey: rest[4]
|
|
1754
|
+
newKey: rest[4],
|
|
1755
|
+
description: rest[5]
|
|
1650
1756
|
};
|
|
1651
1757
|
}
|
|
1652
1758
|
const databaseId = params.databaseId;
|
|
@@ -1655,6 +1761,7 @@ class TablesDB {
|
|
|
1655
1761
|
const required = params.required;
|
|
1656
1762
|
const xdefault = params.xdefault;
|
|
1657
1763
|
const newKey = params.newKey;
|
|
1764
|
+
const description = params.description;
|
|
1658
1765
|
if (typeof databaseId === "undefined" || databaseId === "") {
|
|
1659
1766
|
throw new client.OwbaseException(
|
|
1660
1767
|
'Missing required parameter: "databaseId"'
|
|
@@ -1680,6 +1787,9 @@ class TablesDB {
|
|
|
1680
1787
|
if (typeof newKey !== "undefined") {
|
|
1681
1788
|
apiPayload["newKey"] = newKey;
|
|
1682
1789
|
}
|
|
1790
|
+
if (typeof description !== "undefined") {
|
|
1791
|
+
apiPayload["description"] = description;
|
|
1792
|
+
}
|
|
1683
1793
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
1684
1794
|
const apiHeaders = {
|
|
1685
1795
|
"X-Owbase-Project": this.client.config.project,
|
|
@@ -1700,7 +1810,8 @@ class TablesDB {
|
|
|
1700
1810
|
required: rest[2],
|
|
1701
1811
|
xdefault: rest[3],
|
|
1702
1812
|
array: rest[4],
|
|
1703
|
-
encrypt: rest[5]
|
|
1813
|
+
encrypt: rest[5],
|
|
1814
|
+
description: rest[6]
|
|
1704
1815
|
};
|
|
1705
1816
|
}
|
|
1706
1817
|
const databaseId = params.databaseId;
|
|
@@ -1710,6 +1821,7 @@ class TablesDB {
|
|
|
1710
1821
|
const xdefault = params.xdefault;
|
|
1711
1822
|
const array = params.array;
|
|
1712
1823
|
const encrypt = params.encrypt;
|
|
1824
|
+
const description = params.description;
|
|
1713
1825
|
if (typeof databaseId === "undefined" || databaseId === "") {
|
|
1714
1826
|
throw new client.OwbaseException(
|
|
1715
1827
|
'Missing required parameter: "databaseId"'
|
|
@@ -1741,6 +1853,9 @@ class TablesDB {
|
|
|
1741
1853
|
if (typeof encrypt !== "undefined") {
|
|
1742
1854
|
apiPayload["encrypt"] = encrypt;
|
|
1743
1855
|
}
|
|
1856
|
+
if (typeof description !== "undefined") {
|
|
1857
|
+
apiPayload["description"] = description;
|
|
1858
|
+
}
|
|
1744
1859
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
1745
1860
|
const apiHeaders = {
|
|
1746
1861
|
"X-Owbase-Project": this.client.config.project,
|
|
@@ -1760,7 +1875,8 @@ class TablesDB {
|
|
|
1760
1875
|
key: rest[1],
|
|
1761
1876
|
required: rest[2],
|
|
1762
1877
|
xdefault: rest[3],
|
|
1763
|
-
newKey: rest[4]
|
|
1878
|
+
newKey: rest[4],
|
|
1879
|
+
description: rest[5]
|
|
1764
1880
|
};
|
|
1765
1881
|
}
|
|
1766
1882
|
const databaseId = params.databaseId;
|
|
@@ -1769,6 +1885,7 @@ class TablesDB {
|
|
|
1769
1885
|
const required = params.required;
|
|
1770
1886
|
const xdefault = params.xdefault;
|
|
1771
1887
|
const newKey = params.newKey;
|
|
1888
|
+
const description = params.description;
|
|
1772
1889
|
if (typeof databaseId === "undefined" || databaseId === "") {
|
|
1773
1890
|
throw new client.OwbaseException(
|
|
1774
1891
|
'Missing required parameter: "databaseId"'
|
|
@@ -1797,6 +1914,9 @@ class TablesDB {
|
|
|
1797
1914
|
if (typeof newKey !== "undefined") {
|
|
1798
1915
|
apiPayload["newKey"] = newKey;
|
|
1799
1916
|
}
|
|
1917
|
+
if (typeof description !== "undefined") {
|
|
1918
|
+
apiPayload["description"] = description;
|
|
1919
|
+
}
|
|
1800
1920
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
1801
1921
|
const apiHeaders = {
|
|
1802
1922
|
"X-Owbase-Project": this.client.config.project,
|
|
@@ -1817,7 +1937,8 @@ class TablesDB {
|
|
|
1817
1937
|
required: rest[2],
|
|
1818
1938
|
xdefault: rest[3],
|
|
1819
1939
|
array: rest[4],
|
|
1820
|
-
encrypt: rest[5]
|
|
1940
|
+
encrypt: rest[5],
|
|
1941
|
+
description: rest[6]
|
|
1821
1942
|
};
|
|
1822
1943
|
}
|
|
1823
1944
|
const databaseId = params.databaseId;
|
|
@@ -1827,6 +1948,7 @@ class TablesDB {
|
|
|
1827
1948
|
const xdefault = params.xdefault;
|
|
1828
1949
|
const array = params.array;
|
|
1829
1950
|
const encrypt = params.encrypt;
|
|
1951
|
+
const description = params.description;
|
|
1830
1952
|
if (typeof databaseId === "undefined" || databaseId === "") {
|
|
1831
1953
|
throw new client.OwbaseException(
|
|
1832
1954
|
'Missing required parameter: "databaseId"'
|
|
@@ -1858,6 +1980,9 @@ class TablesDB {
|
|
|
1858
1980
|
if (typeof encrypt !== "undefined") {
|
|
1859
1981
|
apiPayload["encrypt"] = encrypt;
|
|
1860
1982
|
}
|
|
1983
|
+
if (typeof description !== "undefined") {
|
|
1984
|
+
apiPayload["description"] = description;
|
|
1985
|
+
}
|
|
1861
1986
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
1862
1987
|
const apiHeaders = {
|
|
1863
1988
|
"X-Owbase-Project": this.client.config.project,
|
|
@@ -1877,7 +2002,8 @@ class TablesDB {
|
|
|
1877
2002
|
key: rest[1],
|
|
1878
2003
|
required: rest[2],
|
|
1879
2004
|
xdefault: rest[3],
|
|
1880
|
-
newKey: rest[4]
|
|
2005
|
+
newKey: rest[4],
|
|
2006
|
+
description: rest[5]
|
|
1881
2007
|
};
|
|
1882
2008
|
}
|
|
1883
2009
|
const databaseId = params.databaseId;
|
|
@@ -1886,6 +2012,7 @@ class TablesDB {
|
|
|
1886
2012
|
const required = params.required;
|
|
1887
2013
|
const xdefault = params.xdefault;
|
|
1888
2014
|
const newKey = params.newKey;
|
|
2015
|
+
const description = params.description;
|
|
1889
2016
|
if (typeof databaseId === "undefined" || databaseId === "") {
|
|
1890
2017
|
throw new client.OwbaseException(
|
|
1891
2018
|
'Missing required parameter: "databaseId"'
|
|
@@ -1914,6 +2041,9 @@ class TablesDB {
|
|
|
1914
2041
|
if (typeof newKey !== "undefined") {
|
|
1915
2042
|
apiPayload["newKey"] = newKey;
|
|
1916
2043
|
}
|
|
2044
|
+
if (typeof description !== "undefined") {
|
|
2045
|
+
apiPayload["description"] = description;
|
|
2046
|
+
}
|
|
1917
2047
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
1918
2048
|
const apiHeaders = {
|
|
1919
2049
|
"X-Owbase-Project": this.client.config.project,
|
|
@@ -1932,7 +2062,8 @@ class TablesDB {
|
|
|
1932
2062
|
tableId: rest[0],
|
|
1933
2063
|
key: rest[1],
|
|
1934
2064
|
required: rest[2],
|
|
1935
|
-
xdefault: rest[3]
|
|
2065
|
+
xdefault: rest[3],
|
|
2066
|
+
description: rest[4]
|
|
1936
2067
|
};
|
|
1937
2068
|
}
|
|
1938
2069
|
const databaseId = params.databaseId;
|
|
@@ -1940,6 +2071,7 @@ class TablesDB {
|
|
|
1940
2071
|
const key = params.key;
|
|
1941
2072
|
const required = params.required;
|
|
1942
2073
|
const xdefault = params.xdefault;
|
|
2074
|
+
const description = params.description;
|
|
1943
2075
|
if (typeof databaseId === "undefined" || databaseId === "") {
|
|
1944
2076
|
throw new client.OwbaseException(
|
|
1945
2077
|
'Missing required parameter: "databaseId"'
|
|
@@ -1965,6 +2097,9 @@ class TablesDB {
|
|
|
1965
2097
|
if (typeof xdefault !== "undefined") {
|
|
1966
2098
|
apiPayload["default"] = xdefault;
|
|
1967
2099
|
}
|
|
2100
|
+
if (typeof description !== "undefined") {
|
|
2101
|
+
apiPayload["description"] = description;
|
|
2102
|
+
}
|
|
1968
2103
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
1969
2104
|
const apiHeaders = {
|
|
1970
2105
|
"X-Owbase-Project": this.client.config.project,
|
|
@@ -1984,7 +2119,8 @@ class TablesDB {
|
|
|
1984
2119
|
key: rest[1],
|
|
1985
2120
|
required: rest[2],
|
|
1986
2121
|
xdefault: rest[3],
|
|
1987
|
-
newKey: rest[4]
|
|
2122
|
+
newKey: rest[4],
|
|
2123
|
+
description: rest[5]
|
|
1988
2124
|
};
|
|
1989
2125
|
}
|
|
1990
2126
|
const databaseId = params.databaseId;
|
|
@@ -1993,6 +2129,7 @@ class TablesDB {
|
|
|
1993
2129
|
const required = params.required;
|
|
1994
2130
|
const xdefault = params.xdefault;
|
|
1995
2131
|
const newKey = params.newKey;
|
|
2132
|
+
const description = params.description;
|
|
1996
2133
|
if (typeof databaseId === "undefined" || databaseId === "") {
|
|
1997
2134
|
throw new client.OwbaseException(
|
|
1998
2135
|
'Missing required parameter: "databaseId"'
|
|
@@ -2018,6 +2155,9 @@ class TablesDB {
|
|
|
2018
2155
|
if (typeof newKey !== "undefined") {
|
|
2019
2156
|
apiPayload["newKey"] = newKey;
|
|
2020
2157
|
}
|
|
2158
|
+
if (typeof description !== "undefined") {
|
|
2159
|
+
apiPayload["description"] = description;
|
|
2160
|
+
}
|
|
2021
2161
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
2022
2162
|
const apiHeaders = {
|
|
2023
2163
|
"X-Owbase-Project": this.client.config.project,
|
|
@@ -2036,7 +2176,8 @@ class TablesDB {
|
|
|
2036
2176
|
tableId: rest[0],
|
|
2037
2177
|
key: rest[1],
|
|
2038
2178
|
required: rest[2],
|
|
2039
|
-
xdefault: rest[3]
|
|
2179
|
+
xdefault: rest[3],
|
|
2180
|
+
description: rest[4]
|
|
2040
2181
|
};
|
|
2041
2182
|
}
|
|
2042
2183
|
const databaseId = params.databaseId;
|
|
@@ -2044,6 +2185,7 @@ class TablesDB {
|
|
|
2044
2185
|
const key = params.key;
|
|
2045
2186
|
const required = params.required;
|
|
2046
2187
|
const xdefault = params.xdefault;
|
|
2188
|
+
const description = params.description;
|
|
2047
2189
|
if (typeof databaseId === "undefined" || databaseId === "") {
|
|
2048
2190
|
throw new client.OwbaseException(
|
|
2049
2191
|
'Missing required parameter: "databaseId"'
|
|
@@ -2069,6 +2211,9 @@ class TablesDB {
|
|
|
2069
2211
|
if (typeof xdefault !== "undefined") {
|
|
2070
2212
|
apiPayload["default"] = xdefault;
|
|
2071
2213
|
}
|
|
2214
|
+
if (typeof description !== "undefined") {
|
|
2215
|
+
apiPayload["description"] = description;
|
|
2216
|
+
}
|
|
2072
2217
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
2073
2218
|
const apiHeaders = {
|
|
2074
2219
|
"X-Owbase-Project": this.client.config.project,
|
|
@@ -2088,7 +2233,8 @@ class TablesDB {
|
|
|
2088
2233
|
key: rest[1],
|
|
2089
2234
|
required: rest[2],
|
|
2090
2235
|
xdefault: rest[3],
|
|
2091
|
-
newKey: rest[4]
|
|
2236
|
+
newKey: rest[4],
|
|
2237
|
+
description: rest[5]
|
|
2092
2238
|
};
|
|
2093
2239
|
}
|
|
2094
2240
|
const databaseId = params.databaseId;
|
|
@@ -2097,6 +2243,7 @@ class TablesDB {
|
|
|
2097
2243
|
const required = params.required;
|
|
2098
2244
|
const xdefault = params.xdefault;
|
|
2099
2245
|
const newKey = params.newKey;
|
|
2246
|
+
const description = params.description;
|
|
2100
2247
|
if (typeof databaseId === "undefined" || databaseId === "") {
|
|
2101
2248
|
throw new client.OwbaseException(
|
|
2102
2249
|
'Missing required parameter: "databaseId"'
|
|
@@ -2122,6 +2269,9 @@ class TablesDB {
|
|
|
2122
2269
|
if (typeof newKey !== "undefined") {
|
|
2123
2270
|
apiPayload["newKey"] = newKey;
|
|
2124
2271
|
}
|
|
2272
|
+
if (typeof description !== "undefined") {
|
|
2273
|
+
apiPayload["description"] = description;
|
|
2274
|
+
}
|
|
2125
2275
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
2126
2276
|
const apiHeaders = {
|
|
2127
2277
|
"X-Owbase-Project": this.client.config.project,
|
|
@@ -2143,7 +2293,8 @@ class TablesDB {
|
|
|
2143
2293
|
twoWay: rest[3],
|
|
2144
2294
|
key: rest[4],
|
|
2145
2295
|
twoWayKey: rest[5],
|
|
2146
|
-
onDelete: rest[6]
|
|
2296
|
+
onDelete: rest[6],
|
|
2297
|
+
description: rest[7]
|
|
2147
2298
|
};
|
|
2148
2299
|
}
|
|
2149
2300
|
const databaseId = params.databaseId;
|
|
@@ -2154,6 +2305,7 @@ class TablesDB {
|
|
|
2154
2305
|
const key = params.key;
|
|
2155
2306
|
const twoWayKey = params.twoWayKey;
|
|
2156
2307
|
const onDelete = params.onDelete;
|
|
2308
|
+
const description = params.description;
|
|
2157
2309
|
if (typeof databaseId === "undefined" || databaseId === "") {
|
|
2158
2310
|
throw new client.OwbaseException(
|
|
2159
2311
|
'Missing required parameter: "databaseId"'
|
|
@@ -2190,6 +2342,9 @@ class TablesDB {
|
|
|
2190
2342
|
if (typeof onDelete !== "undefined") {
|
|
2191
2343
|
apiPayload["onDelete"] = onDelete;
|
|
2192
2344
|
}
|
|
2345
|
+
if (typeof description !== "undefined") {
|
|
2346
|
+
apiPayload["description"] = description;
|
|
2347
|
+
}
|
|
2193
2348
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
2194
2349
|
const apiHeaders = {
|
|
2195
2350
|
"X-Owbase-Project": this.client.config.project,
|
|
@@ -2208,7 +2363,8 @@ class TablesDB {
|
|
|
2208
2363
|
tableId: rest[0],
|
|
2209
2364
|
key: rest[1],
|
|
2210
2365
|
onDelete: rest[2],
|
|
2211
|
-
newKey: rest[3]
|
|
2366
|
+
newKey: rest[3],
|
|
2367
|
+
description: rest[4]
|
|
2212
2368
|
};
|
|
2213
2369
|
}
|
|
2214
2370
|
const databaseId = params.databaseId;
|
|
@@ -2216,6 +2372,7 @@ class TablesDB {
|
|
|
2216
2372
|
const key = params.key;
|
|
2217
2373
|
const onDelete = params.onDelete;
|
|
2218
2374
|
const newKey = params.newKey;
|
|
2375
|
+
const description = params.description;
|
|
2219
2376
|
if (typeof databaseId === "undefined" || databaseId === "") {
|
|
2220
2377
|
throw new client.OwbaseException(
|
|
2221
2378
|
'Missing required parameter: "databaseId"'
|
|
@@ -2235,6 +2392,9 @@ class TablesDB {
|
|
|
2235
2392
|
if (typeof newKey !== "undefined") {
|
|
2236
2393
|
apiPayload["newKey"] = newKey;
|
|
2237
2394
|
}
|
|
2395
|
+
if (typeof description !== "undefined") {
|
|
2396
|
+
apiPayload["description"] = description;
|
|
2397
|
+
}
|
|
2238
2398
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
2239
2399
|
const apiHeaders = {
|
|
2240
2400
|
"X-Owbase-Project": this.client.config.project,
|
|
@@ -2256,7 +2416,8 @@ class TablesDB {
|
|
|
2256
2416
|
required: rest[3],
|
|
2257
2417
|
xdefault: rest[4],
|
|
2258
2418
|
array: rest[5],
|
|
2259
|
-
encrypt: rest[6]
|
|
2419
|
+
encrypt: rest[6],
|
|
2420
|
+
description: rest[7]
|
|
2260
2421
|
};
|
|
2261
2422
|
}
|
|
2262
2423
|
const databaseId = params.databaseId;
|
|
@@ -2267,6 +2428,7 @@ class TablesDB {
|
|
|
2267
2428
|
const xdefault = params.xdefault;
|
|
2268
2429
|
const array = params.array;
|
|
2269
2430
|
const encrypt = params.encrypt;
|
|
2431
|
+
const description = params.description;
|
|
2270
2432
|
if (typeof databaseId === "undefined" || databaseId === "") {
|
|
2271
2433
|
throw new client.OwbaseException(
|
|
2272
2434
|
'Missing required parameter: "databaseId"'
|
|
@@ -2304,6 +2466,9 @@ class TablesDB {
|
|
|
2304
2466
|
if (typeof encrypt !== "undefined") {
|
|
2305
2467
|
apiPayload["encrypt"] = encrypt;
|
|
2306
2468
|
}
|
|
2469
|
+
if (typeof description !== "undefined") {
|
|
2470
|
+
apiPayload["description"] = description;
|
|
2471
|
+
}
|
|
2307
2472
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
2308
2473
|
const apiHeaders = {
|
|
2309
2474
|
"X-Owbase-Project": this.client.config.project,
|
|
@@ -2324,7 +2489,8 @@ class TablesDB {
|
|
|
2324
2489
|
required: rest[2],
|
|
2325
2490
|
xdefault: rest[3],
|
|
2326
2491
|
size: rest[4],
|
|
2327
|
-
newKey: rest[5]
|
|
2492
|
+
newKey: rest[5],
|
|
2493
|
+
description: rest[6]
|
|
2328
2494
|
};
|
|
2329
2495
|
}
|
|
2330
2496
|
const databaseId = params.databaseId;
|
|
@@ -2334,6 +2500,7 @@ class TablesDB {
|
|
|
2334
2500
|
const xdefault = params.xdefault;
|
|
2335
2501
|
const size = params.size;
|
|
2336
2502
|
const newKey = params.newKey;
|
|
2503
|
+
const description = params.description;
|
|
2337
2504
|
if (typeof databaseId === "undefined" || databaseId === "") {
|
|
2338
2505
|
throw new client.OwbaseException(
|
|
2339
2506
|
'Missing required parameter: "databaseId"'
|
|
@@ -2365,6 +2532,9 @@ class TablesDB {
|
|
|
2365
2532
|
if (typeof newKey !== "undefined") {
|
|
2366
2533
|
apiPayload["newKey"] = newKey;
|
|
2367
2534
|
}
|
|
2535
|
+
if (typeof description !== "undefined") {
|
|
2536
|
+
apiPayload["description"] = description;
|
|
2537
|
+
}
|
|
2368
2538
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
2369
2539
|
const apiHeaders = {
|
|
2370
2540
|
"X-Owbase-Project": this.client.config.project,
|
|
@@ -2385,7 +2555,8 @@ class TablesDB {
|
|
|
2385
2555
|
required: rest[2],
|
|
2386
2556
|
xdefault: rest[3],
|
|
2387
2557
|
array: rest[4],
|
|
2388
|
-
encrypt: rest[5]
|
|
2558
|
+
encrypt: rest[5],
|
|
2559
|
+
description: rest[6]
|
|
2389
2560
|
};
|
|
2390
2561
|
}
|
|
2391
2562
|
const databaseId = params.databaseId;
|
|
@@ -2395,6 +2566,7 @@ class TablesDB {
|
|
|
2395
2566
|
const xdefault = params.xdefault;
|
|
2396
2567
|
const array = params.array;
|
|
2397
2568
|
const encrypt = params.encrypt;
|
|
2569
|
+
const description = params.description;
|
|
2398
2570
|
if (typeof databaseId === "undefined" || databaseId === "") {
|
|
2399
2571
|
throw new client.OwbaseException(
|
|
2400
2572
|
'Missing required parameter: "databaseId"'
|
|
@@ -2426,6 +2598,9 @@ class TablesDB {
|
|
|
2426
2598
|
if (typeof encrypt !== "undefined") {
|
|
2427
2599
|
apiPayload["encrypt"] = encrypt;
|
|
2428
2600
|
}
|
|
2601
|
+
if (typeof description !== "undefined") {
|
|
2602
|
+
apiPayload["description"] = description;
|
|
2603
|
+
}
|
|
2429
2604
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
2430
2605
|
const apiHeaders = {
|
|
2431
2606
|
"X-Owbase-Project": this.client.config.project,
|
|
@@ -2445,7 +2620,8 @@ class TablesDB {
|
|
|
2445
2620
|
key: rest[1],
|
|
2446
2621
|
required: rest[2],
|
|
2447
2622
|
xdefault: rest[3],
|
|
2448
|
-
newKey: rest[4]
|
|
2623
|
+
newKey: rest[4],
|
|
2624
|
+
description: rest[5]
|
|
2449
2625
|
};
|
|
2450
2626
|
}
|
|
2451
2627
|
const databaseId = params.databaseId;
|
|
@@ -2454,6 +2630,7 @@ class TablesDB {
|
|
|
2454
2630
|
const required = params.required;
|
|
2455
2631
|
const xdefault = params.xdefault;
|
|
2456
2632
|
const newKey = params.newKey;
|
|
2633
|
+
const description = params.description;
|
|
2457
2634
|
if (typeof databaseId === "undefined" || databaseId === "") {
|
|
2458
2635
|
throw new client.OwbaseException(
|
|
2459
2636
|
'Missing required parameter: "databaseId"'
|
|
@@ -2482,6 +2659,9 @@ class TablesDB {
|
|
|
2482
2659
|
if (typeof newKey !== "undefined") {
|
|
2483
2660
|
apiPayload["newKey"] = newKey;
|
|
2484
2661
|
}
|
|
2662
|
+
if (typeof description !== "undefined") {
|
|
2663
|
+
apiPayload["description"] = description;
|
|
2664
|
+
}
|
|
2485
2665
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
2486
2666
|
const apiHeaders = {
|
|
2487
2667
|
"X-Owbase-Project": this.client.config.project,
|
|
@@ -2501,7 +2681,8 @@ class TablesDB {
|
|
|
2501
2681
|
key: rest[1],
|
|
2502
2682
|
required: rest[2],
|
|
2503
2683
|
xdefault: rest[3],
|
|
2504
|
-
array: rest[4]
|
|
2684
|
+
array: rest[4],
|
|
2685
|
+
description: rest[5]
|
|
2505
2686
|
};
|
|
2506
2687
|
}
|
|
2507
2688
|
const databaseId = params.databaseId;
|
|
@@ -2510,6 +2691,7 @@ class TablesDB {
|
|
|
2510
2691
|
const required = params.required;
|
|
2511
2692
|
const xdefault = params.xdefault;
|
|
2512
2693
|
const array = params.array;
|
|
2694
|
+
const description = params.description;
|
|
2513
2695
|
if (typeof databaseId === "undefined" || databaseId === "") {
|
|
2514
2696
|
throw new client.OwbaseException(
|
|
2515
2697
|
'Missing required parameter: "databaseId"'
|
|
@@ -2538,6 +2720,9 @@ class TablesDB {
|
|
|
2538
2720
|
if (typeof array !== "undefined") {
|
|
2539
2721
|
apiPayload["array"] = array;
|
|
2540
2722
|
}
|
|
2723
|
+
if (typeof description !== "undefined") {
|
|
2724
|
+
apiPayload["description"] = description;
|
|
2725
|
+
}
|
|
2541
2726
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
2542
2727
|
const apiHeaders = {
|
|
2543
2728
|
"X-Owbase-Project": this.client.config.project,
|
|
@@ -2557,7 +2742,8 @@ class TablesDB {
|
|
|
2557
2742
|
key: rest[1],
|
|
2558
2743
|
required: rest[2],
|
|
2559
2744
|
xdefault: rest[3],
|
|
2560
|
-
newKey: rest[4]
|
|
2745
|
+
newKey: rest[4],
|
|
2746
|
+
description: rest[5]
|
|
2561
2747
|
};
|
|
2562
2748
|
}
|
|
2563
2749
|
const databaseId = params.databaseId;
|
|
@@ -2566,6 +2752,7 @@ class TablesDB {
|
|
|
2566
2752
|
const required = params.required;
|
|
2567
2753
|
const xdefault = params.xdefault;
|
|
2568
2754
|
const newKey = params.newKey;
|
|
2755
|
+
const description = params.description;
|
|
2569
2756
|
if (typeof databaseId === "undefined" || databaseId === "") {
|
|
2570
2757
|
throw new client.OwbaseException(
|
|
2571
2758
|
'Missing required parameter: "databaseId"'
|
|
@@ -2594,6 +2781,9 @@ class TablesDB {
|
|
|
2594
2781
|
if (typeof newKey !== "undefined") {
|
|
2595
2782
|
apiPayload["newKey"] = newKey;
|
|
2596
2783
|
}
|
|
2784
|
+
if (typeof description !== "undefined") {
|
|
2785
|
+
apiPayload["description"] = description;
|
|
2786
|
+
}
|
|
2597
2787
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
2598
2788
|
const apiHeaders = {
|
|
2599
2789
|
"X-Owbase-Project": this.client.config.project,
|
|
@@ -2615,7 +2805,8 @@ class TablesDB {
|
|
|
2615
2805
|
required: rest[3],
|
|
2616
2806
|
xdefault: rest[4],
|
|
2617
2807
|
array: rest[5],
|
|
2618
|
-
encrypt: rest[6]
|
|
2808
|
+
encrypt: rest[6],
|
|
2809
|
+
description: rest[7]
|
|
2619
2810
|
};
|
|
2620
2811
|
}
|
|
2621
2812
|
const databaseId = params.databaseId;
|
|
@@ -2626,6 +2817,7 @@ class TablesDB {
|
|
|
2626
2817
|
const xdefault = params.xdefault;
|
|
2627
2818
|
const array = params.array;
|
|
2628
2819
|
const encrypt = params.encrypt;
|
|
2820
|
+
const description = params.description;
|
|
2629
2821
|
if (typeof databaseId === "undefined" || databaseId === "") {
|
|
2630
2822
|
throw new client.OwbaseException(
|
|
2631
2823
|
'Missing required parameter: "databaseId"'
|
|
@@ -2663,6 +2855,9 @@ class TablesDB {
|
|
|
2663
2855
|
if (typeof encrypt !== "undefined") {
|
|
2664
2856
|
apiPayload["encrypt"] = encrypt;
|
|
2665
2857
|
}
|
|
2858
|
+
if (typeof description !== "undefined") {
|
|
2859
|
+
apiPayload["description"] = description;
|
|
2860
|
+
}
|
|
2666
2861
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
2667
2862
|
const apiHeaders = {
|
|
2668
2863
|
"X-Owbase-Project": this.client.config.project,
|
|
@@ -2683,7 +2878,8 @@ class TablesDB {
|
|
|
2683
2878
|
required: rest[2],
|
|
2684
2879
|
xdefault: rest[3],
|
|
2685
2880
|
size: rest[4],
|
|
2686
|
-
newKey: rest[5]
|
|
2881
|
+
newKey: rest[5],
|
|
2882
|
+
description: rest[6]
|
|
2687
2883
|
};
|
|
2688
2884
|
}
|
|
2689
2885
|
const databaseId = params.databaseId;
|
|
@@ -2693,6 +2889,7 @@ class TablesDB {
|
|
|
2693
2889
|
const xdefault = params.xdefault;
|
|
2694
2890
|
const size = params.size;
|
|
2695
2891
|
const newKey = params.newKey;
|
|
2892
|
+
const description = params.description;
|
|
2696
2893
|
if (typeof databaseId === "undefined" || databaseId === "") {
|
|
2697
2894
|
throw new client.OwbaseException(
|
|
2698
2895
|
'Missing required parameter: "databaseId"'
|
|
@@ -2724,6 +2921,9 @@ class TablesDB {
|
|
|
2724
2921
|
if (typeof newKey !== "undefined") {
|
|
2725
2922
|
apiPayload["newKey"] = newKey;
|
|
2726
2923
|
}
|
|
2924
|
+
if (typeof description !== "undefined") {
|
|
2925
|
+
apiPayload["description"] = description;
|
|
2926
|
+
}
|
|
2727
2927
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
2728
2928
|
const apiHeaders = {
|
|
2729
2929
|
"X-Owbase-Project": this.client.config.project,
|
|
@@ -2852,7 +3052,8 @@ class TablesDB {
|
|
|
2852
3052
|
type: rest[2],
|
|
2853
3053
|
columns: rest[3],
|
|
2854
3054
|
orders: rest[4],
|
|
2855
|
-
lengths: rest[5]
|
|
3055
|
+
lengths: rest[5],
|
|
3056
|
+
description: rest[6]
|
|
2856
3057
|
};
|
|
2857
3058
|
}
|
|
2858
3059
|
const databaseId = params.databaseId;
|
|
@@ -2862,6 +3063,7 @@ class TablesDB {
|
|
|
2862
3063
|
const columns = params.columns;
|
|
2863
3064
|
const orders = params.orders;
|
|
2864
3065
|
const lengths = params.lengths;
|
|
3066
|
+
const description = params.description;
|
|
2865
3067
|
if (typeof databaseId === "undefined" || databaseId === "") {
|
|
2866
3068
|
throw new client.OwbaseException(
|
|
2867
3069
|
'Missing required parameter: "databaseId"'
|
|
@@ -2896,6 +3098,9 @@ class TablesDB {
|
|
|
2896
3098
|
if (typeof lengths !== "undefined") {
|
|
2897
3099
|
apiPayload["lengths"] = lengths;
|
|
2898
3100
|
}
|
|
3101
|
+
if (typeof description !== "undefined") {
|
|
3102
|
+
apiPayload["description"] = description;
|
|
3103
|
+
}
|
|
2899
3104
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
2900
3105
|
const apiHeaders = {
|
|
2901
3106
|
"X-Owbase-Project": this.client.config.project,
|
|
@@ -3249,6 +3454,56 @@ class TablesDB {
|
|
|
3249
3454
|
};
|
|
3250
3455
|
return this.client.call("delete", uri, apiHeaders, apiPayload);
|
|
3251
3456
|
}
|
|
3457
|
+
createQuery(paramsOrFirst, ...rest) {
|
|
3458
|
+
let params;
|
|
3459
|
+
if (paramsOrFirst && typeof paramsOrFirst === "object" && !Array.isArray(paramsOrFirst)) {
|
|
3460
|
+
params = paramsOrFirst || {};
|
|
3461
|
+
} else {
|
|
3462
|
+
params = {
|
|
3463
|
+
databaseId: paramsOrFirst,
|
|
3464
|
+
tableId: rest[0],
|
|
3465
|
+
queries: rest[1],
|
|
3466
|
+
transactionId: rest[2],
|
|
3467
|
+
total: rest[3],
|
|
3468
|
+
ttl: rest[4]
|
|
3469
|
+
};
|
|
3470
|
+
}
|
|
3471
|
+
const databaseId = params.databaseId;
|
|
3472
|
+
const tableId = params.tableId;
|
|
3473
|
+
const queries = params.queries;
|
|
3474
|
+
const transactionId = params.transactionId;
|
|
3475
|
+
const total = params.total;
|
|
3476
|
+
const ttl = params.ttl;
|
|
3477
|
+
if (typeof databaseId === "undefined" || databaseId === "") {
|
|
3478
|
+
throw new client.OwbaseException(
|
|
3479
|
+
'Missing required parameter: "databaseId"'
|
|
3480
|
+
);
|
|
3481
|
+
}
|
|
3482
|
+
if (typeof tableId === "undefined" || tableId === "") {
|
|
3483
|
+
throw new client.OwbaseException('Missing required parameter: "tableId"');
|
|
3484
|
+
}
|
|
3485
|
+
const apiPath = "/tablesdb/{databaseId}/tables/{tableId}/rows/query".replace("{databaseId}", encodeURIComponent(String(databaseId))).replace("{tableId}", encodeURIComponent(String(tableId)));
|
|
3486
|
+
const apiPayload = {};
|
|
3487
|
+
if (typeof queries !== "undefined") {
|
|
3488
|
+
apiPayload["queries"] = queries;
|
|
3489
|
+
}
|
|
3490
|
+
if (typeof transactionId !== "undefined") {
|
|
3491
|
+
apiPayload["transactionId"] = transactionId;
|
|
3492
|
+
}
|
|
3493
|
+
if (typeof total !== "undefined") {
|
|
3494
|
+
apiPayload["total"] = total;
|
|
3495
|
+
}
|
|
3496
|
+
if (typeof ttl !== "undefined") {
|
|
3497
|
+
apiPayload["ttl"] = ttl;
|
|
3498
|
+
}
|
|
3499
|
+
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
3500
|
+
const apiHeaders = {
|
|
3501
|
+
"X-Owbase-Project": this.client.config.project,
|
|
3502
|
+
"content-type": "application/json",
|
|
3503
|
+
accept: "application/json"
|
|
3504
|
+
};
|
|
3505
|
+
return this.client.call("post", uri, apiHeaders, apiPayload);
|
|
3506
|
+
}
|
|
3252
3507
|
getRow(paramsOrFirst, ...rest) {
|
|
3253
3508
|
let params;
|
|
3254
3509
|
if (paramsOrFirst && typeof paramsOrFirst === "object" && !Array.isArray(paramsOrFirst)) {
|