@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 Databases {
|
|
|
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 Databases {
|
|
|
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 Databases {
|
|
|
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 Databases {
|
|
|
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 Databases {
|
|
|
403
413
|
documentSecurity: rest[3],
|
|
404
414
|
enabled: rest[4],
|
|
405
415
|
attributes: 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 Databases {
|
|
|
414
425
|
const enabled = params.enabled;
|
|
415
426
|
const attributes = params.attributes;
|
|
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"'
|
|
@@ -453,6 +465,9 @@ class Databases {
|
|
|
453
465
|
if (typeof indexes !== "undefined") {
|
|
454
466
|
apiPayload["indexes"] = indexes;
|
|
455
467
|
}
|
|
468
|
+
if (typeof description !== "undefined") {
|
|
469
|
+
apiPayload["description"] = description;
|
|
470
|
+
}
|
|
456
471
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
457
472
|
const apiHeaders = {
|
|
458
473
|
"X-Owbase-Project": this.client.config.project,
|
|
@@ -507,7 +522,8 @@ class Databases {
|
|
|
507
522
|
permissions: rest[2],
|
|
508
523
|
documentSecurity: rest[3],
|
|
509
524
|
enabled: rest[4],
|
|
510
|
-
purge: rest[5]
|
|
525
|
+
purge: rest[5],
|
|
526
|
+
description: rest[6]
|
|
511
527
|
};
|
|
512
528
|
}
|
|
513
529
|
const databaseId = params.databaseId;
|
|
@@ -517,6 +533,7 @@ class Databases {
|
|
|
517
533
|
const documentSecurity = params.documentSecurity;
|
|
518
534
|
const enabled = params.enabled;
|
|
519
535
|
const purge = params.purge;
|
|
536
|
+
const description = params.description;
|
|
520
537
|
if (typeof databaseId === "undefined" || databaseId === "") {
|
|
521
538
|
throw new client.OwbaseException(
|
|
522
539
|
'Missing required parameter: "databaseId"'
|
|
@@ -547,6 +564,9 @@ class Databases {
|
|
|
547
564
|
if (typeof purge !== "undefined") {
|
|
548
565
|
apiPayload["purge"] = purge;
|
|
549
566
|
}
|
|
567
|
+
if (typeof description !== "undefined") {
|
|
568
|
+
apiPayload["description"] = description;
|
|
569
|
+
}
|
|
550
570
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
551
571
|
const apiHeaders = {
|
|
552
572
|
"X-Owbase-Project": this.client.config.project,
|
|
@@ -647,7 +667,8 @@ class Databases {
|
|
|
647
667
|
min: rest[3],
|
|
648
668
|
max: rest[4],
|
|
649
669
|
xdefault: rest[5],
|
|
650
|
-
array: rest[6]
|
|
670
|
+
array: rest[6],
|
|
671
|
+
description: rest[7]
|
|
651
672
|
};
|
|
652
673
|
}
|
|
653
674
|
const databaseId = params.databaseId;
|
|
@@ -658,6 +679,7 @@ class Databases {
|
|
|
658
679
|
const max = params.max;
|
|
659
680
|
const xdefault = params.xdefault;
|
|
660
681
|
const array = params.array;
|
|
682
|
+
const description = params.description;
|
|
661
683
|
if (typeof databaseId === "undefined" || databaseId === "") {
|
|
662
684
|
throw new client.OwbaseException(
|
|
663
685
|
'Missing required parameter: "databaseId"'
|
|
@@ -697,6 +719,9 @@ class Databases {
|
|
|
697
719
|
if (typeof array !== "undefined") {
|
|
698
720
|
apiPayload["array"] = array;
|
|
699
721
|
}
|
|
722
|
+
if (typeof description !== "undefined") {
|
|
723
|
+
apiPayload["description"] = description;
|
|
724
|
+
}
|
|
700
725
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
701
726
|
const apiHeaders = {
|
|
702
727
|
"X-Owbase-Project": this.client.config.project,
|
|
@@ -718,7 +743,8 @@ class Databases {
|
|
|
718
743
|
xdefault: rest[3],
|
|
719
744
|
min: rest[4],
|
|
720
745
|
max: rest[5],
|
|
721
|
-
newKey: rest[6]
|
|
746
|
+
newKey: rest[6],
|
|
747
|
+
description: rest[7]
|
|
722
748
|
};
|
|
723
749
|
}
|
|
724
750
|
const databaseId = params.databaseId;
|
|
@@ -729,6 +755,7 @@ class Databases {
|
|
|
729
755
|
const min = params.min;
|
|
730
756
|
const max = params.max;
|
|
731
757
|
const newKey = params.newKey;
|
|
758
|
+
const description = params.description;
|
|
732
759
|
if (typeof databaseId === "undefined" || databaseId === "") {
|
|
733
760
|
throw new client.OwbaseException(
|
|
734
761
|
'Missing required parameter: "databaseId"'
|
|
@@ -768,6 +795,9 @@ class Databases {
|
|
|
768
795
|
if (typeof newKey !== "undefined") {
|
|
769
796
|
apiPayload["newKey"] = newKey;
|
|
770
797
|
}
|
|
798
|
+
if (typeof description !== "undefined") {
|
|
799
|
+
apiPayload["description"] = description;
|
|
800
|
+
}
|
|
771
801
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
772
802
|
const apiHeaders = {
|
|
773
803
|
"X-Owbase-Project": this.client.config.project,
|
|
@@ -787,7 +817,8 @@ class Databases {
|
|
|
787
817
|
key: rest[1],
|
|
788
818
|
required: rest[2],
|
|
789
819
|
xdefault: rest[3],
|
|
790
|
-
array: rest[4]
|
|
820
|
+
array: rest[4],
|
|
821
|
+
description: rest[5]
|
|
791
822
|
};
|
|
792
823
|
}
|
|
793
824
|
const databaseId = params.databaseId;
|
|
@@ -796,6 +827,7 @@ class Databases {
|
|
|
796
827
|
const required = params.required;
|
|
797
828
|
const xdefault = params.xdefault;
|
|
798
829
|
const array = params.array;
|
|
830
|
+
const description = params.description;
|
|
799
831
|
if (typeof databaseId === "undefined" || databaseId === "") {
|
|
800
832
|
throw new client.OwbaseException(
|
|
801
833
|
'Missing required parameter: "databaseId"'
|
|
@@ -829,6 +861,9 @@ class Databases {
|
|
|
829
861
|
if (typeof array !== "undefined") {
|
|
830
862
|
apiPayload["array"] = array;
|
|
831
863
|
}
|
|
864
|
+
if (typeof description !== "undefined") {
|
|
865
|
+
apiPayload["description"] = description;
|
|
866
|
+
}
|
|
832
867
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
833
868
|
const apiHeaders = {
|
|
834
869
|
"X-Owbase-Project": this.client.config.project,
|
|
@@ -848,7 +883,8 @@ class Databases {
|
|
|
848
883
|
key: rest[1],
|
|
849
884
|
required: rest[2],
|
|
850
885
|
xdefault: rest[3],
|
|
851
|
-
newKey: rest[4]
|
|
886
|
+
newKey: rest[4],
|
|
887
|
+
description: rest[5]
|
|
852
888
|
};
|
|
853
889
|
}
|
|
854
890
|
const databaseId = params.databaseId;
|
|
@@ -857,6 +893,7 @@ class Databases {
|
|
|
857
893
|
const required = params.required;
|
|
858
894
|
const xdefault = params.xdefault;
|
|
859
895
|
const newKey = params.newKey;
|
|
896
|
+
const description = params.description;
|
|
860
897
|
if (typeof databaseId === "undefined" || databaseId === "") {
|
|
861
898
|
throw new client.OwbaseException(
|
|
862
899
|
'Missing required parameter: "databaseId"'
|
|
@@ -890,6 +927,9 @@ class Databases {
|
|
|
890
927
|
if (typeof newKey !== "undefined") {
|
|
891
928
|
apiPayload["newKey"] = newKey;
|
|
892
929
|
}
|
|
930
|
+
if (typeof description !== "undefined") {
|
|
931
|
+
apiPayload["description"] = description;
|
|
932
|
+
}
|
|
893
933
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
894
934
|
const apiHeaders = {
|
|
895
935
|
"X-Owbase-Project": this.client.config.project,
|
|
@@ -909,7 +949,8 @@ class Databases {
|
|
|
909
949
|
key: rest[1],
|
|
910
950
|
required: rest[2],
|
|
911
951
|
xdefault: rest[3],
|
|
912
|
-
array: rest[4]
|
|
952
|
+
array: rest[4],
|
|
953
|
+
description: rest[5]
|
|
913
954
|
};
|
|
914
955
|
}
|
|
915
956
|
const databaseId = params.databaseId;
|
|
@@ -918,6 +959,7 @@ class Databases {
|
|
|
918
959
|
const required = params.required;
|
|
919
960
|
const xdefault = params.xdefault;
|
|
920
961
|
const array = params.array;
|
|
962
|
+
const description = params.description;
|
|
921
963
|
if (typeof databaseId === "undefined" || databaseId === "") {
|
|
922
964
|
throw new client.OwbaseException(
|
|
923
965
|
'Missing required parameter: "databaseId"'
|
|
@@ -951,6 +993,9 @@ class Databases {
|
|
|
951
993
|
if (typeof array !== "undefined") {
|
|
952
994
|
apiPayload["array"] = array;
|
|
953
995
|
}
|
|
996
|
+
if (typeof description !== "undefined") {
|
|
997
|
+
apiPayload["description"] = description;
|
|
998
|
+
}
|
|
954
999
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
955
1000
|
const apiHeaders = {
|
|
956
1001
|
"X-Owbase-Project": this.client.config.project,
|
|
@@ -970,7 +1015,8 @@ class Databases {
|
|
|
970
1015
|
key: rest[1],
|
|
971
1016
|
required: rest[2],
|
|
972
1017
|
xdefault: rest[3],
|
|
973
|
-
newKey: rest[4]
|
|
1018
|
+
newKey: rest[4],
|
|
1019
|
+
description: rest[5]
|
|
974
1020
|
};
|
|
975
1021
|
}
|
|
976
1022
|
const databaseId = params.databaseId;
|
|
@@ -979,6 +1025,7 @@ class Databases {
|
|
|
979
1025
|
const required = params.required;
|
|
980
1026
|
const xdefault = params.xdefault;
|
|
981
1027
|
const newKey = params.newKey;
|
|
1028
|
+
const description = params.description;
|
|
982
1029
|
if (typeof databaseId === "undefined" || databaseId === "") {
|
|
983
1030
|
throw new client.OwbaseException(
|
|
984
1031
|
'Missing required parameter: "databaseId"'
|
|
@@ -1012,6 +1059,9 @@ class Databases {
|
|
|
1012
1059
|
if (typeof newKey !== "undefined") {
|
|
1013
1060
|
apiPayload["newKey"] = newKey;
|
|
1014
1061
|
}
|
|
1062
|
+
if (typeof description !== "undefined") {
|
|
1063
|
+
apiPayload["description"] = description;
|
|
1064
|
+
}
|
|
1015
1065
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
1016
1066
|
const apiHeaders = {
|
|
1017
1067
|
"X-Owbase-Project": this.client.config.project,
|
|
@@ -1031,7 +1081,8 @@ class Databases {
|
|
|
1031
1081
|
key: rest[1],
|
|
1032
1082
|
required: rest[2],
|
|
1033
1083
|
xdefault: rest[3],
|
|
1034
|
-
array: rest[4]
|
|
1084
|
+
array: rest[4],
|
|
1085
|
+
description: rest[5]
|
|
1035
1086
|
};
|
|
1036
1087
|
}
|
|
1037
1088
|
const databaseId = params.databaseId;
|
|
@@ -1040,6 +1091,7 @@ class Databases {
|
|
|
1040
1091
|
const required = params.required;
|
|
1041
1092
|
const xdefault = params.xdefault;
|
|
1042
1093
|
const array = params.array;
|
|
1094
|
+
const description = params.description;
|
|
1043
1095
|
if (typeof databaseId === "undefined" || databaseId === "") {
|
|
1044
1096
|
throw new client.OwbaseException(
|
|
1045
1097
|
'Missing required parameter: "databaseId"'
|
|
@@ -1073,6 +1125,9 @@ class Databases {
|
|
|
1073
1125
|
if (typeof array !== "undefined") {
|
|
1074
1126
|
apiPayload["array"] = array;
|
|
1075
1127
|
}
|
|
1128
|
+
if (typeof description !== "undefined") {
|
|
1129
|
+
apiPayload["description"] = description;
|
|
1130
|
+
}
|
|
1076
1131
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
1077
1132
|
const apiHeaders = {
|
|
1078
1133
|
"X-Owbase-Project": this.client.config.project,
|
|
@@ -1092,7 +1147,8 @@ class Databases {
|
|
|
1092
1147
|
key: rest[1],
|
|
1093
1148
|
required: rest[2],
|
|
1094
1149
|
xdefault: rest[3],
|
|
1095
|
-
newKey: rest[4]
|
|
1150
|
+
newKey: rest[4],
|
|
1151
|
+
description: rest[5]
|
|
1096
1152
|
};
|
|
1097
1153
|
}
|
|
1098
1154
|
const databaseId = params.databaseId;
|
|
@@ -1101,6 +1157,7 @@ class Databases {
|
|
|
1101
1157
|
const required = params.required;
|
|
1102
1158
|
const xdefault = params.xdefault;
|
|
1103
1159
|
const newKey = params.newKey;
|
|
1160
|
+
const description = params.description;
|
|
1104
1161
|
if (typeof databaseId === "undefined" || databaseId === "") {
|
|
1105
1162
|
throw new client.OwbaseException(
|
|
1106
1163
|
'Missing required parameter: "databaseId"'
|
|
@@ -1134,6 +1191,9 @@ class Databases {
|
|
|
1134
1191
|
if (typeof newKey !== "undefined") {
|
|
1135
1192
|
apiPayload["newKey"] = newKey;
|
|
1136
1193
|
}
|
|
1194
|
+
if (typeof description !== "undefined") {
|
|
1195
|
+
apiPayload["description"] = description;
|
|
1196
|
+
}
|
|
1137
1197
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
1138
1198
|
const apiHeaders = {
|
|
1139
1199
|
"X-Owbase-Project": this.client.config.project,
|
|
@@ -1154,7 +1214,8 @@ class Databases {
|
|
|
1154
1214
|
elements: rest[2],
|
|
1155
1215
|
required: rest[3],
|
|
1156
1216
|
xdefault: rest[4],
|
|
1157
|
-
array: rest[5]
|
|
1217
|
+
array: rest[5],
|
|
1218
|
+
description: rest[6]
|
|
1158
1219
|
};
|
|
1159
1220
|
}
|
|
1160
1221
|
const databaseId = params.databaseId;
|
|
@@ -1164,6 +1225,7 @@ class Databases {
|
|
|
1164
1225
|
const required = params.required;
|
|
1165
1226
|
const xdefault = params.xdefault;
|
|
1166
1227
|
const array = params.array;
|
|
1228
|
+
const description = params.description;
|
|
1167
1229
|
if (typeof databaseId === "undefined" || databaseId === "") {
|
|
1168
1230
|
throw new client.OwbaseException(
|
|
1169
1231
|
'Missing required parameter: "databaseId"'
|
|
@@ -1203,6 +1265,9 @@ class Databases {
|
|
|
1203
1265
|
if (typeof array !== "undefined") {
|
|
1204
1266
|
apiPayload["array"] = array;
|
|
1205
1267
|
}
|
|
1268
|
+
if (typeof description !== "undefined") {
|
|
1269
|
+
apiPayload["description"] = description;
|
|
1270
|
+
}
|
|
1206
1271
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
1207
1272
|
const apiHeaders = {
|
|
1208
1273
|
"X-Owbase-Project": this.client.config.project,
|
|
@@ -1223,7 +1288,8 @@ class Databases {
|
|
|
1223
1288
|
elements: rest[2],
|
|
1224
1289
|
required: rest[3],
|
|
1225
1290
|
xdefault: rest[4],
|
|
1226
|
-
newKey: rest[5]
|
|
1291
|
+
newKey: rest[5],
|
|
1292
|
+
description: rest[6]
|
|
1227
1293
|
};
|
|
1228
1294
|
}
|
|
1229
1295
|
const databaseId = params.databaseId;
|
|
@@ -1233,6 +1299,7 @@ class Databases {
|
|
|
1233
1299
|
const required = params.required;
|
|
1234
1300
|
const xdefault = params.xdefault;
|
|
1235
1301
|
const newKey = params.newKey;
|
|
1302
|
+
const description = params.description;
|
|
1236
1303
|
if (typeof databaseId === "undefined" || databaseId === "") {
|
|
1237
1304
|
throw new client.OwbaseException(
|
|
1238
1305
|
'Missing required parameter: "databaseId"'
|
|
@@ -1272,6 +1339,9 @@ class Databases {
|
|
|
1272
1339
|
if (typeof newKey !== "undefined") {
|
|
1273
1340
|
apiPayload["newKey"] = newKey;
|
|
1274
1341
|
}
|
|
1342
|
+
if (typeof description !== "undefined") {
|
|
1343
|
+
apiPayload["description"] = description;
|
|
1344
|
+
}
|
|
1275
1345
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
1276
1346
|
const apiHeaders = {
|
|
1277
1347
|
"X-Owbase-Project": this.client.config.project,
|
|
@@ -1293,7 +1363,8 @@ class Databases {
|
|
|
1293
1363
|
min: rest[3],
|
|
1294
1364
|
max: rest[4],
|
|
1295
1365
|
xdefault: rest[5],
|
|
1296
|
-
array: rest[6]
|
|
1366
|
+
array: rest[6],
|
|
1367
|
+
description: rest[7]
|
|
1297
1368
|
};
|
|
1298
1369
|
}
|
|
1299
1370
|
const databaseId = params.databaseId;
|
|
@@ -1304,6 +1375,7 @@ class Databases {
|
|
|
1304
1375
|
const max = params.max;
|
|
1305
1376
|
const xdefault = params.xdefault;
|
|
1306
1377
|
const array = params.array;
|
|
1378
|
+
const description = params.description;
|
|
1307
1379
|
if (typeof databaseId === "undefined" || databaseId === "") {
|
|
1308
1380
|
throw new client.OwbaseException(
|
|
1309
1381
|
'Missing required parameter: "databaseId"'
|
|
@@ -1343,6 +1415,9 @@ class Databases {
|
|
|
1343
1415
|
if (typeof array !== "undefined") {
|
|
1344
1416
|
apiPayload["array"] = array;
|
|
1345
1417
|
}
|
|
1418
|
+
if (typeof description !== "undefined") {
|
|
1419
|
+
apiPayload["description"] = description;
|
|
1420
|
+
}
|
|
1346
1421
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
1347
1422
|
const apiHeaders = {
|
|
1348
1423
|
"X-Owbase-Project": this.client.config.project,
|
|
@@ -1364,7 +1439,8 @@ class Databases {
|
|
|
1364
1439
|
xdefault: rest[3],
|
|
1365
1440
|
min: rest[4],
|
|
1366
1441
|
max: rest[5],
|
|
1367
|
-
newKey: rest[6]
|
|
1442
|
+
newKey: rest[6],
|
|
1443
|
+
description: rest[7]
|
|
1368
1444
|
};
|
|
1369
1445
|
}
|
|
1370
1446
|
const databaseId = params.databaseId;
|
|
@@ -1375,6 +1451,7 @@ class Databases {
|
|
|
1375
1451
|
const min = params.min;
|
|
1376
1452
|
const max = params.max;
|
|
1377
1453
|
const newKey = params.newKey;
|
|
1454
|
+
const description = params.description;
|
|
1378
1455
|
if (typeof databaseId === "undefined" || databaseId === "") {
|
|
1379
1456
|
throw new client.OwbaseException(
|
|
1380
1457
|
'Missing required parameter: "databaseId"'
|
|
@@ -1414,6 +1491,9 @@ class Databases {
|
|
|
1414
1491
|
if (typeof newKey !== "undefined") {
|
|
1415
1492
|
apiPayload["newKey"] = newKey;
|
|
1416
1493
|
}
|
|
1494
|
+
if (typeof description !== "undefined") {
|
|
1495
|
+
apiPayload["description"] = description;
|
|
1496
|
+
}
|
|
1417
1497
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
1418
1498
|
const apiHeaders = {
|
|
1419
1499
|
"X-Owbase-Project": this.client.config.project,
|
|
@@ -1435,7 +1515,8 @@ class Databases {
|
|
|
1435
1515
|
min: rest[3],
|
|
1436
1516
|
max: rest[4],
|
|
1437
1517
|
xdefault: rest[5],
|
|
1438
|
-
array: rest[6]
|
|
1518
|
+
array: rest[6],
|
|
1519
|
+
description: rest[7]
|
|
1439
1520
|
};
|
|
1440
1521
|
}
|
|
1441
1522
|
const databaseId = params.databaseId;
|
|
@@ -1446,6 +1527,7 @@ class Databases {
|
|
|
1446
1527
|
const max = params.max;
|
|
1447
1528
|
const xdefault = params.xdefault;
|
|
1448
1529
|
const array = params.array;
|
|
1530
|
+
const description = params.description;
|
|
1449
1531
|
if (typeof databaseId === "undefined" || databaseId === "") {
|
|
1450
1532
|
throw new client.OwbaseException(
|
|
1451
1533
|
'Missing required parameter: "databaseId"'
|
|
@@ -1485,6 +1567,9 @@ class Databases {
|
|
|
1485
1567
|
if (typeof array !== "undefined") {
|
|
1486
1568
|
apiPayload["array"] = array;
|
|
1487
1569
|
}
|
|
1570
|
+
if (typeof description !== "undefined") {
|
|
1571
|
+
apiPayload["description"] = description;
|
|
1572
|
+
}
|
|
1488
1573
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
1489
1574
|
const apiHeaders = {
|
|
1490
1575
|
"X-Owbase-Project": this.client.config.project,
|
|
@@ -1506,7 +1591,8 @@ class Databases {
|
|
|
1506
1591
|
xdefault: rest[3],
|
|
1507
1592
|
min: rest[4],
|
|
1508
1593
|
max: rest[5],
|
|
1509
|
-
newKey: rest[6]
|
|
1594
|
+
newKey: rest[6],
|
|
1595
|
+
description: rest[7]
|
|
1510
1596
|
};
|
|
1511
1597
|
}
|
|
1512
1598
|
const databaseId = params.databaseId;
|
|
@@ -1517,6 +1603,7 @@ class Databases {
|
|
|
1517
1603
|
const min = params.min;
|
|
1518
1604
|
const max = params.max;
|
|
1519
1605
|
const newKey = params.newKey;
|
|
1606
|
+
const description = params.description;
|
|
1520
1607
|
if (typeof databaseId === "undefined" || databaseId === "") {
|
|
1521
1608
|
throw new client.OwbaseException(
|
|
1522
1609
|
'Missing required parameter: "databaseId"'
|
|
@@ -1556,6 +1643,9 @@ class Databases {
|
|
|
1556
1643
|
if (typeof newKey !== "undefined") {
|
|
1557
1644
|
apiPayload["newKey"] = newKey;
|
|
1558
1645
|
}
|
|
1646
|
+
if (typeof description !== "undefined") {
|
|
1647
|
+
apiPayload["description"] = description;
|
|
1648
|
+
}
|
|
1559
1649
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
1560
1650
|
const apiHeaders = {
|
|
1561
1651
|
"X-Owbase-Project": this.client.config.project,
|
|
@@ -1575,7 +1665,8 @@ class Databases {
|
|
|
1575
1665
|
key: rest[1],
|
|
1576
1666
|
required: rest[2],
|
|
1577
1667
|
xdefault: rest[3],
|
|
1578
|
-
array: rest[4]
|
|
1668
|
+
array: rest[4],
|
|
1669
|
+
description: rest[5]
|
|
1579
1670
|
};
|
|
1580
1671
|
}
|
|
1581
1672
|
const databaseId = params.databaseId;
|
|
@@ -1584,6 +1675,7 @@ class Databases {
|
|
|
1584
1675
|
const required = params.required;
|
|
1585
1676
|
const xdefault = params.xdefault;
|
|
1586
1677
|
const array = params.array;
|
|
1678
|
+
const description = params.description;
|
|
1587
1679
|
if (typeof databaseId === "undefined" || databaseId === "") {
|
|
1588
1680
|
throw new client.OwbaseException(
|
|
1589
1681
|
'Missing required parameter: "databaseId"'
|
|
@@ -1617,6 +1709,9 @@ class Databases {
|
|
|
1617
1709
|
if (typeof array !== "undefined") {
|
|
1618
1710
|
apiPayload["array"] = array;
|
|
1619
1711
|
}
|
|
1712
|
+
if (typeof description !== "undefined") {
|
|
1713
|
+
apiPayload["description"] = description;
|
|
1714
|
+
}
|
|
1620
1715
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
1621
1716
|
const apiHeaders = {
|
|
1622
1717
|
"X-Owbase-Project": this.client.config.project,
|
|
@@ -1636,7 +1731,8 @@ class Databases {
|
|
|
1636
1731
|
key: rest[1],
|
|
1637
1732
|
required: rest[2],
|
|
1638
1733
|
xdefault: rest[3],
|
|
1639
|
-
newKey: rest[4]
|
|
1734
|
+
newKey: rest[4],
|
|
1735
|
+
description: rest[5]
|
|
1640
1736
|
};
|
|
1641
1737
|
}
|
|
1642
1738
|
const databaseId = params.databaseId;
|
|
@@ -1645,6 +1741,7 @@ class Databases {
|
|
|
1645
1741
|
const required = params.required;
|
|
1646
1742
|
const xdefault = params.xdefault;
|
|
1647
1743
|
const newKey = params.newKey;
|
|
1744
|
+
const description = params.description;
|
|
1648
1745
|
if (typeof databaseId === "undefined" || databaseId === "") {
|
|
1649
1746
|
throw new client.OwbaseException(
|
|
1650
1747
|
'Missing required parameter: "databaseId"'
|
|
@@ -1678,6 +1775,9 @@ class Databases {
|
|
|
1678
1775
|
if (typeof newKey !== "undefined") {
|
|
1679
1776
|
apiPayload["newKey"] = newKey;
|
|
1680
1777
|
}
|
|
1778
|
+
if (typeof description !== "undefined") {
|
|
1779
|
+
apiPayload["description"] = description;
|
|
1780
|
+
}
|
|
1681
1781
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
1682
1782
|
const apiHeaders = {
|
|
1683
1783
|
"X-Owbase-Project": this.client.config.project,
|
|
@@ -1696,7 +1796,8 @@ class Databases {
|
|
|
1696
1796
|
collectionId: rest[0],
|
|
1697
1797
|
key: rest[1],
|
|
1698
1798
|
required: rest[2],
|
|
1699
|
-
xdefault: rest[3]
|
|
1799
|
+
xdefault: rest[3],
|
|
1800
|
+
description: rest[4]
|
|
1700
1801
|
};
|
|
1701
1802
|
}
|
|
1702
1803
|
const databaseId = params.databaseId;
|
|
@@ -1704,6 +1805,7 @@ class Databases {
|
|
|
1704
1805
|
const key = params.key;
|
|
1705
1806
|
const required = params.required;
|
|
1706
1807
|
const xdefault = params.xdefault;
|
|
1808
|
+
const description = params.description;
|
|
1707
1809
|
if (typeof databaseId === "undefined" || databaseId === "") {
|
|
1708
1810
|
throw new client.OwbaseException(
|
|
1709
1811
|
'Missing required parameter: "databaseId"'
|
|
@@ -1734,6 +1836,9 @@ class Databases {
|
|
|
1734
1836
|
if (typeof xdefault !== "undefined") {
|
|
1735
1837
|
apiPayload["default"] = xdefault;
|
|
1736
1838
|
}
|
|
1839
|
+
if (typeof description !== "undefined") {
|
|
1840
|
+
apiPayload["description"] = description;
|
|
1841
|
+
}
|
|
1737
1842
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
1738
1843
|
const apiHeaders = {
|
|
1739
1844
|
"X-Owbase-Project": this.client.config.project,
|
|
@@ -1753,7 +1858,8 @@ class Databases {
|
|
|
1753
1858
|
key: rest[1],
|
|
1754
1859
|
required: rest[2],
|
|
1755
1860
|
xdefault: rest[3],
|
|
1756
|
-
newKey: rest[4]
|
|
1861
|
+
newKey: rest[4],
|
|
1862
|
+
description: rest[5]
|
|
1757
1863
|
};
|
|
1758
1864
|
}
|
|
1759
1865
|
const databaseId = params.databaseId;
|
|
@@ -1762,6 +1868,7 @@ class Databases {
|
|
|
1762
1868
|
const required = params.required;
|
|
1763
1869
|
const xdefault = params.xdefault;
|
|
1764
1870
|
const newKey = params.newKey;
|
|
1871
|
+
const description = params.description;
|
|
1765
1872
|
if (typeof databaseId === "undefined" || databaseId === "") {
|
|
1766
1873
|
throw new client.OwbaseException(
|
|
1767
1874
|
'Missing required parameter: "databaseId"'
|
|
@@ -1792,6 +1899,9 @@ class Databases {
|
|
|
1792
1899
|
if (typeof newKey !== "undefined") {
|
|
1793
1900
|
apiPayload["newKey"] = newKey;
|
|
1794
1901
|
}
|
|
1902
|
+
if (typeof description !== "undefined") {
|
|
1903
|
+
apiPayload["description"] = description;
|
|
1904
|
+
}
|
|
1795
1905
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
1796
1906
|
const apiHeaders = {
|
|
1797
1907
|
"X-Owbase-Project": this.client.config.project,
|
|
@@ -1812,7 +1922,8 @@ class Databases {
|
|
|
1812
1922
|
required: rest[2],
|
|
1813
1923
|
xdefault: rest[3],
|
|
1814
1924
|
array: rest[4],
|
|
1815
|
-
encrypt: rest[5]
|
|
1925
|
+
encrypt: rest[5],
|
|
1926
|
+
description: rest[6]
|
|
1816
1927
|
};
|
|
1817
1928
|
}
|
|
1818
1929
|
const databaseId = params.databaseId;
|
|
@@ -1822,6 +1933,7 @@ class Databases {
|
|
|
1822
1933
|
const xdefault = params.xdefault;
|
|
1823
1934
|
const array = params.array;
|
|
1824
1935
|
const encrypt = params.encrypt;
|
|
1936
|
+
const description = params.description;
|
|
1825
1937
|
if (typeof databaseId === "undefined" || databaseId === "") {
|
|
1826
1938
|
throw new client.OwbaseException(
|
|
1827
1939
|
'Missing required parameter: "databaseId"'
|
|
@@ -1858,6 +1970,9 @@ class Databases {
|
|
|
1858
1970
|
if (typeof encrypt !== "undefined") {
|
|
1859
1971
|
apiPayload["encrypt"] = encrypt;
|
|
1860
1972
|
}
|
|
1973
|
+
if (typeof description !== "undefined") {
|
|
1974
|
+
apiPayload["description"] = description;
|
|
1975
|
+
}
|
|
1861
1976
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
1862
1977
|
const apiHeaders = {
|
|
1863
1978
|
"X-Owbase-Project": this.client.config.project,
|
|
@@ -1877,7 +1992,8 @@ class Databases {
|
|
|
1877
1992
|
key: rest[1],
|
|
1878
1993
|
required: rest[2],
|
|
1879
1994
|
xdefault: rest[3],
|
|
1880
|
-
newKey: rest[4]
|
|
1995
|
+
newKey: rest[4],
|
|
1996
|
+
description: rest[5]
|
|
1881
1997
|
};
|
|
1882
1998
|
}
|
|
1883
1999
|
const databaseId = params.databaseId;
|
|
@@ -1886,6 +2002,7 @@ class Databases {
|
|
|
1886
2002
|
const required = params.required;
|
|
1887
2003
|
const xdefault = params.xdefault;
|
|
1888
2004
|
const newKey = params.newKey;
|
|
2005
|
+
const description = params.description;
|
|
1889
2006
|
if (typeof databaseId === "undefined" || databaseId === "") {
|
|
1890
2007
|
throw new client.OwbaseException(
|
|
1891
2008
|
'Missing required parameter: "databaseId"'
|
|
@@ -1919,6 +2036,9 @@ class Databases {
|
|
|
1919
2036
|
if (typeof newKey !== "undefined") {
|
|
1920
2037
|
apiPayload["newKey"] = newKey;
|
|
1921
2038
|
}
|
|
2039
|
+
if (typeof description !== "undefined") {
|
|
2040
|
+
apiPayload["description"] = description;
|
|
2041
|
+
}
|
|
1922
2042
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
1923
2043
|
const apiHeaders = {
|
|
1924
2044
|
"X-Owbase-Project": this.client.config.project,
|
|
@@ -1939,7 +2059,8 @@ class Databases {
|
|
|
1939
2059
|
required: rest[2],
|
|
1940
2060
|
xdefault: rest[3],
|
|
1941
2061
|
array: rest[4],
|
|
1942
|
-
encrypt: rest[5]
|
|
2062
|
+
encrypt: rest[5],
|
|
2063
|
+
description: rest[6]
|
|
1943
2064
|
};
|
|
1944
2065
|
}
|
|
1945
2066
|
const databaseId = params.databaseId;
|
|
@@ -1949,6 +2070,7 @@ class Databases {
|
|
|
1949
2070
|
const xdefault = params.xdefault;
|
|
1950
2071
|
const array = params.array;
|
|
1951
2072
|
const encrypt = params.encrypt;
|
|
2073
|
+
const description = params.description;
|
|
1952
2074
|
if (typeof databaseId === "undefined" || databaseId === "") {
|
|
1953
2075
|
throw new client.OwbaseException(
|
|
1954
2076
|
'Missing required parameter: "databaseId"'
|
|
@@ -1985,6 +2107,9 @@ class Databases {
|
|
|
1985
2107
|
if (typeof encrypt !== "undefined") {
|
|
1986
2108
|
apiPayload["encrypt"] = encrypt;
|
|
1987
2109
|
}
|
|
2110
|
+
if (typeof description !== "undefined") {
|
|
2111
|
+
apiPayload["description"] = description;
|
|
2112
|
+
}
|
|
1988
2113
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
1989
2114
|
const apiHeaders = {
|
|
1990
2115
|
"X-Owbase-Project": this.client.config.project,
|
|
@@ -2004,7 +2129,8 @@ class Databases {
|
|
|
2004
2129
|
key: rest[1],
|
|
2005
2130
|
required: rest[2],
|
|
2006
2131
|
xdefault: rest[3],
|
|
2007
|
-
newKey: rest[4]
|
|
2132
|
+
newKey: rest[4],
|
|
2133
|
+
description: rest[5]
|
|
2008
2134
|
};
|
|
2009
2135
|
}
|
|
2010
2136
|
const databaseId = params.databaseId;
|
|
@@ -2013,6 +2139,7 @@ class Databases {
|
|
|
2013
2139
|
const required = params.required;
|
|
2014
2140
|
const xdefault = params.xdefault;
|
|
2015
2141
|
const newKey = params.newKey;
|
|
2142
|
+
const description = params.description;
|
|
2016
2143
|
if (typeof databaseId === "undefined" || databaseId === "") {
|
|
2017
2144
|
throw new client.OwbaseException(
|
|
2018
2145
|
'Missing required parameter: "databaseId"'
|
|
@@ -2046,6 +2173,9 @@ class Databases {
|
|
|
2046
2173
|
if (typeof newKey !== "undefined") {
|
|
2047
2174
|
apiPayload["newKey"] = newKey;
|
|
2048
2175
|
}
|
|
2176
|
+
if (typeof description !== "undefined") {
|
|
2177
|
+
apiPayload["description"] = description;
|
|
2178
|
+
}
|
|
2049
2179
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
2050
2180
|
const apiHeaders = {
|
|
2051
2181
|
"X-Owbase-Project": this.client.config.project,
|
|
@@ -2064,7 +2194,8 @@ class Databases {
|
|
|
2064
2194
|
collectionId: rest[0],
|
|
2065
2195
|
key: rest[1],
|
|
2066
2196
|
required: rest[2],
|
|
2067
|
-
xdefault: rest[3]
|
|
2197
|
+
xdefault: rest[3],
|
|
2198
|
+
description: rest[4]
|
|
2068
2199
|
};
|
|
2069
2200
|
}
|
|
2070
2201
|
const databaseId = params.databaseId;
|
|
@@ -2072,6 +2203,7 @@ class Databases {
|
|
|
2072
2203
|
const key = params.key;
|
|
2073
2204
|
const required = params.required;
|
|
2074
2205
|
const xdefault = params.xdefault;
|
|
2206
|
+
const description = params.description;
|
|
2075
2207
|
if (typeof databaseId === "undefined" || databaseId === "") {
|
|
2076
2208
|
throw new client.OwbaseException(
|
|
2077
2209
|
'Missing required parameter: "databaseId"'
|
|
@@ -2102,6 +2234,9 @@ class Databases {
|
|
|
2102
2234
|
if (typeof xdefault !== "undefined") {
|
|
2103
2235
|
apiPayload["default"] = xdefault;
|
|
2104
2236
|
}
|
|
2237
|
+
if (typeof description !== "undefined") {
|
|
2238
|
+
apiPayload["description"] = description;
|
|
2239
|
+
}
|
|
2105
2240
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
2106
2241
|
const apiHeaders = {
|
|
2107
2242
|
"X-Owbase-Project": this.client.config.project,
|
|
@@ -2121,7 +2256,8 @@ class Databases {
|
|
|
2121
2256
|
key: rest[1],
|
|
2122
2257
|
required: rest[2],
|
|
2123
2258
|
xdefault: rest[3],
|
|
2124
|
-
newKey: rest[4]
|
|
2259
|
+
newKey: rest[4],
|
|
2260
|
+
description: rest[5]
|
|
2125
2261
|
};
|
|
2126
2262
|
}
|
|
2127
2263
|
const databaseId = params.databaseId;
|
|
@@ -2130,6 +2266,7 @@ class Databases {
|
|
|
2130
2266
|
const required = params.required;
|
|
2131
2267
|
const xdefault = params.xdefault;
|
|
2132
2268
|
const newKey = params.newKey;
|
|
2269
|
+
const description = params.description;
|
|
2133
2270
|
if (typeof databaseId === "undefined" || databaseId === "") {
|
|
2134
2271
|
throw new client.OwbaseException(
|
|
2135
2272
|
'Missing required parameter: "databaseId"'
|
|
@@ -2160,6 +2297,9 @@ class Databases {
|
|
|
2160
2297
|
if (typeof newKey !== "undefined") {
|
|
2161
2298
|
apiPayload["newKey"] = newKey;
|
|
2162
2299
|
}
|
|
2300
|
+
if (typeof description !== "undefined") {
|
|
2301
|
+
apiPayload["description"] = description;
|
|
2302
|
+
}
|
|
2163
2303
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
2164
2304
|
const apiHeaders = {
|
|
2165
2305
|
"X-Owbase-Project": this.client.config.project,
|
|
@@ -2178,7 +2318,8 @@ class Databases {
|
|
|
2178
2318
|
collectionId: rest[0],
|
|
2179
2319
|
key: rest[1],
|
|
2180
2320
|
required: rest[2],
|
|
2181
|
-
xdefault: rest[3]
|
|
2321
|
+
xdefault: rest[3],
|
|
2322
|
+
description: rest[4]
|
|
2182
2323
|
};
|
|
2183
2324
|
}
|
|
2184
2325
|
const databaseId = params.databaseId;
|
|
@@ -2186,6 +2327,7 @@ class Databases {
|
|
|
2186
2327
|
const key = params.key;
|
|
2187
2328
|
const required = params.required;
|
|
2188
2329
|
const xdefault = params.xdefault;
|
|
2330
|
+
const description = params.description;
|
|
2189
2331
|
if (typeof databaseId === "undefined" || databaseId === "") {
|
|
2190
2332
|
throw new client.OwbaseException(
|
|
2191
2333
|
'Missing required parameter: "databaseId"'
|
|
@@ -2216,6 +2358,9 @@ class Databases {
|
|
|
2216
2358
|
if (typeof xdefault !== "undefined") {
|
|
2217
2359
|
apiPayload["default"] = xdefault;
|
|
2218
2360
|
}
|
|
2361
|
+
if (typeof description !== "undefined") {
|
|
2362
|
+
apiPayload["description"] = description;
|
|
2363
|
+
}
|
|
2219
2364
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
2220
2365
|
const apiHeaders = {
|
|
2221
2366
|
"X-Owbase-Project": this.client.config.project,
|
|
@@ -2235,7 +2380,8 @@ class Databases {
|
|
|
2235
2380
|
key: rest[1],
|
|
2236
2381
|
required: rest[2],
|
|
2237
2382
|
xdefault: rest[3],
|
|
2238
|
-
newKey: rest[4]
|
|
2383
|
+
newKey: rest[4],
|
|
2384
|
+
description: rest[5]
|
|
2239
2385
|
};
|
|
2240
2386
|
}
|
|
2241
2387
|
const databaseId = params.databaseId;
|
|
@@ -2244,6 +2390,7 @@ class Databases {
|
|
|
2244
2390
|
const required = params.required;
|
|
2245
2391
|
const xdefault = params.xdefault;
|
|
2246
2392
|
const newKey = params.newKey;
|
|
2393
|
+
const description = params.description;
|
|
2247
2394
|
if (typeof databaseId === "undefined" || databaseId === "") {
|
|
2248
2395
|
throw new client.OwbaseException(
|
|
2249
2396
|
'Missing required parameter: "databaseId"'
|
|
@@ -2274,6 +2421,9 @@ class Databases {
|
|
|
2274
2421
|
if (typeof newKey !== "undefined") {
|
|
2275
2422
|
apiPayload["newKey"] = newKey;
|
|
2276
2423
|
}
|
|
2424
|
+
if (typeof description !== "undefined") {
|
|
2425
|
+
apiPayload["description"] = description;
|
|
2426
|
+
}
|
|
2277
2427
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
2278
2428
|
const apiHeaders = {
|
|
2279
2429
|
"X-Owbase-Project": this.client.config.project,
|
|
@@ -2295,7 +2445,8 @@ class Databases {
|
|
|
2295
2445
|
twoWay: rest[3],
|
|
2296
2446
|
key: rest[4],
|
|
2297
2447
|
twoWayKey: rest[5],
|
|
2298
|
-
onDelete: rest[6]
|
|
2448
|
+
onDelete: rest[6],
|
|
2449
|
+
description: rest[7]
|
|
2299
2450
|
};
|
|
2300
2451
|
}
|
|
2301
2452
|
const databaseId = params.databaseId;
|
|
@@ -2306,6 +2457,7 @@ class Databases {
|
|
|
2306
2457
|
const key = params.key;
|
|
2307
2458
|
const twoWayKey = params.twoWayKey;
|
|
2308
2459
|
const onDelete = params.onDelete;
|
|
2460
|
+
const description = params.description;
|
|
2309
2461
|
if (typeof databaseId === "undefined" || databaseId === "") {
|
|
2310
2462
|
throw new client.OwbaseException(
|
|
2311
2463
|
'Missing required parameter: "databaseId"'
|
|
@@ -2347,6 +2499,9 @@ class Databases {
|
|
|
2347
2499
|
if (typeof onDelete !== "undefined") {
|
|
2348
2500
|
apiPayload["onDelete"] = onDelete;
|
|
2349
2501
|
}
|
|
2502
|
+
if (typeof description !== "undefined") {
|
|
2503
|
+
apiPayload["description"] = description;
|
|
2504
|
+
}
|
|
2350
2505
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
2351
2506
|
const apiHeaders = {
|
|
2352
2507
|
"X-Owbase-Project": this.client.config.project,
|
|
@@ -2365,7 +2520,8 @@ class Databases {
|
|
|
2365
2520
|
collectionId: rest[0],
|
|
2366
2521
|
key: rest[1],
|
|
2367
2522
|
onDelete: rest[2],
|
|
2368
|
-
newKey: rest[3]
|
|
2523
|
+
newKey: rest[3],
|
|
2524
|
+
description: rest[4]
|
|
2369
2525
|
};
|
|
2370
2526
|
}
|
|
2371
2527
|
const databaseId = params.databaseId;
|
|
@@ -2373,6 +2529,7 @@ class Databases {
|
|
|
2373
2529
|
const key = params.key;
|
|
2374
2530
|
const onDelete = params.onDelete;
|
|
2375
2531
|
const newKey = params.newKey;
|
|
2532
|
+
const description = params.description;
|
|
2376
2533
|
if (typeof databaseId === "undefined" || databaseId === "") {
|
|
2377
2534
|
throw new client.OwbaseException(
|
|
2378
2535
|
'Missing required parameter: "databaseId"'
|
|
@@ -2397,6 +2554,9 @@ class Databases {
|
|
|
2397
2554
|
if (typeof newKey !== "undefined") {
|
|
2398
2555
|
apiPayload["newKey"] = newKey;
|
|
2399
2556
|
}
|
|
2557
|
+
if (typeof description !== "undefined") {
|
|
2558
|
+
apiPayload["description"] = description;
|
|
2559
|
+
}
|
|
2400
2560
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
2401
2561
|
const apiHeaders = {
|
|
2402
2562
|
"X-Owbase-Project": this.client.config.project,
|
|
@@ -2418,7 +2578,8 @@ class Databases {
|
|
|
2418
2578
|
required: rest[3],
|
|
2419
2579
|
xdefault: rest[4],
|
|
2420
2580
|
array: rest[5],
|
|
2421
|
-
encrypt: rest[6]
|
|
2581
|
+
encrypt: rest[6],
|
|
2582
|
+
description: rest[7]
|
|
2422
2583
|
};
|
|
2423
2584
|
}
|
|
2424
2585
|
const databaseId = params.databaseId;
|
|
@@ -2429,6 +2590,7 @@ class Databases {
|
|
|
2429
2590
|
const xdefault = params.xdefault;
|
|
2430
2591
|
const array = params.array;
|
|
2431
2592
|
const encrypt = params.encrypt;
|
|
2593
|
+
const description = params.description;
|
|
2432
2594
|
if (typeof databaseId === "undefined" || databaseId === "") {
|
|
2433
2595
|
throw new client.OwbaseException(
|
|
2434
2596
|
'Missing required parameter: "databaseId"'
|
|
@@ -2471,6 +2633,9 @@ class Databases {
|
|
|
2471
2633
|
if (typeof encrypt !== "undefined") {
|
|
2472
2634
|
apiPayload["encrypt"] = encrypt;
|
|
2473
2635
|
}
|
|
2636
|
+
if (typeof description !== "undefined") {
|
|
2637
|
+
apiPayload["description"] = description;
|
|
2638
|
+
}
|
|
2474
2639
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
2475
2640
|
const apiHeaders = {
|
|
2476
2641
|
"X-Owbase-Project": this.client.config.project,
|
|
@@ -2491,7 +2656,8 @@ class Databases {
|
|
|
2491
2656
|
required: rest[2],
|
|
2492
2657
|
xdefault: rest[3],
|
|
2493
2658
|
size: rest[4],
|
|
2494
|
-
newKey: rest[5]
|
|
2659
|
+
newKey: rest[5],
|
|
2660
|
+
description: rest[6]
|
|
2495
2661
|
};
|
|
2496
2662
|
}
|
|
2497
2663
|
const databaseId = params.databaseId;
|
|
@@ -2501,6 +2667,7 @@ class Databases {
|
|
|
2501
2667
|
const xdefault = params.xdefault;
|
|
2502
2668
|
const size = params.size;
|
|
2503
2669
|
const newKey = params.newKey;
|
|
2670
|
+
const description = params.description;
|
|
2504
2671
|
if (typeof databaseId === "undefined" || databaseId === "") {
|
|
2505
2672
|
throw new client.OwbaseException(
|
|
2506
2673
|
'Missing required parameter: "databaseId"'
|
|
@@ -2537,6 +2704,9 @@ class Databases {
|
|
|
2537
2704
|
if (typeof newKey !== "undefined") {
|
|
2538
2705
|
apiPayload["newKey"] = newKey;
|
|
2539
2706
|
}
|
|
2707
|
+
if (typeof description !== "undefined") {
|
|
2708
|
+
apiPayload["description"] = description;
|
|
2709
|
+
}
|
|
2540
2710
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
2541
2711
|
const apiHeaders = {
|
|
2542
2712
|
"X-Owbase-Project": this.client.config.project,
|
|
@@ -2557,7 +2727,8 @@ class Databases {
|
|
|
2557
2727
|
required: rest[2],
|
|
2558
2728
|
xdefault: rest[3],
|
|
2559
2729
|
array: rest[4],
|
|
2560
|
-
encrypt: rest[5]
|
|
2730
|
+
encrypt: rest[5],
|
|
2731
|
+
description: rest[6]
|
|
2561
2732
|
};
|
|
2562
2733
|
}
|
|
2563
2734
|
const databaseId = params.databaseId;
|
|
@@ -2567,6 +2738,7 @@ class Databases {
|
|
|
2567
2738
|
const xdefault = params.xdefault;
|
|
2568
2739
|
const array = params.array;
|
|
2569
2740
|
const encrypt = params.encrypt;
|
|
2741
|
+
const description = params.description;
|
|
2570
2742
|
if (typeof databaseId === "undefined" || databaseId === "") {
|
|
2571
2743
|
throw new client.OwbaseException(
|
|
2572
2744
|
'Missing required parameter: "databaseId"'
|
|
@@ -2603,6 +2775,9 @@ class Databases {
|
|
|
2603
2775
|
if (typeof encrypt !== "undefined") {
|
|
2604
2776
|
apiPayload["encrypt"] = encrypt;
|
|
2605
2777
|
}
|
|
2778
|
+
if (typeof description !== "undefined") {
|
|
2779
|
+
apiPayload["description"] = description;
|
|
2780
|
+
}
|
|
2606
2781
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
2607
2782
|
const apiHeaders = {
|
|
2608
2783
|
"X-Owbase-Project": this.client.config.project,
|
|
@@ -2622,7 +2797,8 @@ class Databases {
|
|
|
2622
2797
|
key: rest[1],
|
|
2623
2798
|
required: rest[2],
|
|
2624
2799
|
xdefault: rest[3],
|
|
2625
|
-
newKey: rest[4]
|
|
2800
|
+
newKey: rest[4],
|
|
2801
|
+
description: rest[5]
|
|
2626
2802
|
};
|
|
2627
2803
|
}
|
|
2628
2804
|
const databaseId = params.databaseId;
|
|
@@ -2631,6 +2807,7 @@ class Databases {
|
|
|
2631
2807
|
const required = params.required;
|
|
2632
2808
|
const xdefault = params.xdefault;
|
|
2633
2809
|
const newKey = params.newKey;
|
|
2810
|
+
const description = params.description;
|
|
2634
2811
|
if (typeof databaseId === "undefined" || databaseId === "") {
|
|
2635
2812
|
throw new client.OwbaseException(
|
|
2636
2813
|
'Missing required parameter: "databaseId"'
|
|
@@ -2664,6 +2841,9 @@ class Databases {
|
|
|
2664
2841
|
if (typeof newKey !== "undefined") {
|
|
2665
2842
|
apiPayload["newKey"] = newKey;
|
|
2666
2843
|
}
|
|
2844
|
+
if (typeof description !== "undefined") {
|
|
2845
|
+
apiPayload["description"] = description;
|
|
2846
|
+
}
|
|
2667
2847
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
2668
2848
|
const apiHeaders = {
|
|
2669
2849
|
"X-Owbase-Project": this.client.config.project,
|
|
@@ -2683,7 +2863,8 @@ class Databases {
|
|
|
2683
2863
|
key: rest[1],
|
|
2684
2864
|
required: rest[2],
|
|
2685
2865
|
xdefault: rest[3],
|
|
2686
|
-
array: rest[4]
|
|
2866
|
+
array: rest[4],
|
|
2867
|
+
description: rest[5]
|
|
2687
2868
|
};
|
|
2688
2869
|
}
|
|
2689
2870
|
const databaseId = params.databaseId;
|
|
@@ -2692,6 +2873,7 @@ class Databases {
|
|
|
2692
2873
|
const required = params.required;
|
|
2693
2874
|
const xdefault = params.xdefault;
|
|
2694
2875
|
const array = params.array;
|
|
2876
|
+
const description = params.description;
|
|
2695
2877
|
if (typeof databaseId === "undefined" || databaseId === "") {
|
|
2696
2878
|
throw new client.OwbaseException(
|
|
2697
2879
|
'Missing required parameter: "databaseId"'
|
|
@@ -2725,6 +2907,9 @@ class Databases {
|
|
|
2725
2907
|
if (typeof array !== "undefined") {
|
|
2726
2908
|
apiPayload["array"] = array;
|
|
2727
2909
|
}
|
|
2910
|
+
if (typeof description !== "undefined") {
|
|
2911
|
+
apiPayload["description"] = description;
|
|
2912
|
+
}
|
|
2728
2913
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
2729
2914
|
const apiHeaders = {
|
|
2730
2915
|
"X-Owbase-Project": this.client.config.project,
|
|
@@ -2744,7 +2929,8 @@ class Databases {
|
|
|
2744
2929
|
key: rest[1],
|
|
2745
2930
|
required: rest[2],
|
|
2746
2931
|
xdefault: rest[3],
|
|
2747
|
-
newKey: rest[4]
|
|
2932
|
+
newKey: rest[4],
|
|
2933
|
+
description: rest[5]
|
|
2748
2934
|
};
|
|
2749
2935
|
}
|
|
2750
2936
|
const databaseId = params.databaseId;
|
|
@@ -2753,6 +2939,7 @@ class Databases {
|
|
|
2753
2939
|
const required = params.required;
|
|
2754
2940
|
const xdefault = params.xdefault;
|
|
2755
2941
|
const newKey = params.newKey;
|
|
2942
|
+
const description = params.description;
|
|
2756
2943
|
if (typeof databaseId === "undefined" || databaseId === "") {
|
|
2757
2944
|
throw new client.OwbaseException(
|
|
2758
2945
|
'Missing required parameter: "databaseId"'
|
|
@@ -2786,6 +2973,9 @@ class Databases {
|
|
|
2786
2973
|
if (typeof newKey !== "undefined") {
|
|
2787
2974
|
apiPayload["newKey"] = newKey;
|
|
2788
2975
|
}
|
|
2976
|
+
if (typeof description !== "undefined") {
|
|
2977
|
+
apiPayload["description"] = description;
|
|
2978
|
+
}
|
|
2789
2979
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
2790
2980
|
const apiHeaders = {
|
|
2791
2981
|
"X-Owbase-Project": this.client.config.project,
|
|
@@ -2807,7 +2997,8 @@ class Databases {
|
|
|
2807
2997
|
required: rest[3],
|
|
2808
2998
|
xdefault: rest[4],
|
|
2809
2999
|
array: rest[5],
|
|
2810
|
-
encrypt: rest[6]
|
|
3000
|
+
encrypt: rest[6],
|
|
3001
|
+
description: rest[7]
|
|
2811
3002
|
};
|
|
2812
3003
|
}
|
|
2813
3004
|
const databaseId = params.databaseId;
|
|
@@ -2818,6 +3009,7 @@ class Databases {
|
|
|
2818
3009
|
const xdefault = params.xdefault;
|
|
2819
3010
|
const array = params.array;
|
|
2820
3011
|
const encrypt = params.encrypt;
|
|
3012
|
+
const description = params.description;
|
|
2821
3013
|
if (typeof databaseId === "undefined" || databaseId === "") {
|
|
2822
3014
|
throw new client.OwbaseException(
|
|
2823
3015
|
'Missing required parameter: "databaseId"'
|
|
@@ -2860,6 +3052,9 @@ class Databases {
|
|
|
2860
3052
|
if (typeof encrypt !== "undefined") {
|
|
2861
3053
|
apiPayload["encrypt"] = encrypt;
|
|
2862
3054
|
}
|
|
3055
|
+
if (typeof description !== "undefined") {
|
|
3056
|
+
apiPayload["description"] = description;
|
|
3057
|
+
}
|
|
2863
3058
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
2864
3059
|
const apiHeaders = {
|
|
2865
3060
|
"X-Owbase-Project": this.client.config.project,
|
|
@@ -2880,7 +3075,8 @@ class Databases {
|
|
|
2880
3075
|
required: rest[2],
|
|
2881
3076
|
xdefault: rest[3],
|
|
2882
3077
|
size: rest[4],
|
|
2883
|
-
newKey: rest[5]
|
|
3078
|
+
newKey: rest[5],
|
|
3079
|
+
description: rest[6]
|
|
2884
3080
|
};
|
|
2885
3081
|
}
|
|
2886
3082
|
const databaseId = params.databaseId;
|
|
@@ -2890,6 +3086,7 @@ class Databases {
|
|
|
2890
3086
|
const xdefault = params.xdefault;
|
|
2891
3087
|
const size = params.size;
|
|
2892
3088
|
const newKey = params.newKey;
|
|
3089
|
+
const description = params.description;
|
|
2893
3090
|
if (typeof databaseId === "undefined" || databaseId === "") {
|
|
2894
3091
|
throw new client.OwbaseException(
|
|
2895
3092
|
'Missing required parameter: "databaseId"'
|
|
@@ -2926,6 +3123,9 @@ class Databases {
|
|
|
2926
3123
|
if (typeof newKey !== "undefined") {
|
|
2927
3124
|
apiPayload["newKey"] = newKey;
|
|
2928
3125
|
}
|
|
3126
|
+
if (typeof description !== "undefined") {
|
|
3127
|
+
apiPayload["description"] = description;
|
|
3128
|
+
}
|
|
2929
3129
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
2930
3130
|
const apiHeaders = {
|
|
2931
3131
|
"X-Owbase-Project": this.client.config.project,
|
|
@@ -3325,6 +3525,61 @@ class Databases {
|
|
|
3325
3525
|
};
|
|
3326
3526
|
return this.client.call("delete", uri, apiHeaders, apiPayload);
|
|
3327
3527
|
}
|
|
3528
|
+
createQuery(paramsOrFirst, ...rest) {
|
|
3529
|
+
let params;
|
|
3530
|
+
if (paramsOrFirst && typeof paramsOrFirst === "object" && !Array.isArray(paramsOrFirst)) {
|
|
3531
|
+
params = paramsOrFirst || {};
|
|
3532
|
+
} else {
|
|
3533
|
+
params = {
|
|
3534
|
+
databaseId: paramsOrFirst,
|
|
3535
|
+
collectionId: rest[0],
|
|
3536
|
+
queries: rest[1],
|
|
3537
|
+
transactionId: rest[2],
|
|
3538
|
+
total: rest[3],
|
|
3539
|
+
ttl: rest[4]
|
|
3540
|
+
};
|
|
3541
|
+
}
|
|
3542
|
+
const databaseId = params.databaseId;
|
|
3543
|
+
const collectionId = params.collectionId;
|
|
3544
|
+
const queries = params.queries;
|
|
3545
|
+
const transactionId = params.transactionId;
|
|
3546
|
+
const total = params.total;
|
|
3547
|
+
const ttl = params.ttl;
|
|
3548
|
+
if (typeof databaseId === "undefined" || databaseId === "") {
|
|
3549
|
+
throw new client.OwbaseException(
|
|
3550
|
+
'Missing required parameter: "databaseId"'
|
|
3551
|
+
);
|
|
3552
|
+
}
|
|
3553
|
+
if (typeof collectionId === "undefined" || collectionId === "") {
|
|
3554
|
+
throw new client.OwbaseException(
|
|
3555
|
+
'Missing required parameter: "collectionId"'
|
|
3556
|
+
);
|
|
3557
|
+
}
|
|
3558
|
+
const apiPath = "/databases/{databaseId}/collections/{collectionId}/documents/query".replace("{databaseId}", encodeURIComponent(String(databaseId))).replace(
|
|
3559
|
+
"{collectionId}",
|
|
3560
|
+
encodeURIComponent(String(collectionId))
|
|
3561
|
+
);
|
|
3562
|
+
const apiPayload = {};
|
|
3563
|
+
if (typeof queries !== "undefined") {
|
|
3564
|
+
apiPayload["queries"] = queries;
|
|
3565
|
+
}
|
|
3566
|
+
if (typeof transactionId !== "undefined") {
|
|
3567
|
+
apiPayload["transactionId"] = transactionId;
|
|
3568
|
+
}
|
|
3569
|
+
if (typeof total !== "undefined") {
|
|
3570
|
+
apiPayload["total"] = total;
|
|
3571
|
+
}
|
|
3572
|
+
if (typeof ttl !== "undefined") {
|
|
3573
|
+
apiPayload["ttl"] = ttl;
|
|
3574
|
+
}
|
|
3575
|
+
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
3576
|
+
const apiHeaders = {
|
|
3577
|
+
"X-Owbase-Project": this.client.config.project,
|
|
3578
|
+
"content-type": "application/json",
|
|
3579
|
+
accept: "application/json"
|
|
3580
|
+
};
|
|
3581
|
+
return this.client.call("post", uri, apiHeaders, apiPayload);
|
|
3582
|
+
}
|
|
3328
3583
|
getDocument(paramsOrFirst, ...rest) {
|
|
3329
3584
|
let params;
|
|
3330
3585
|
if (paramsOrFirst && typeof paramsOrFirst === "object" && !Array.isArray(paramsOrFirst)) {
|
|
@@ -3733,7 +3988,8 @@ class Databases {
|
|
|
3733
3988
|
type: rest[2],
|
|
3734
3989
|
attributes: rest[3],
|
|
3735
3990
|
orders: rest[4],
|
|
3736
|
-
lengths: rest[5]
|
|
3991
|
+
lengths: rest[5],
|
|
3992
|
+
description: rest[6]
|
|
3737
3993
|
};
|
|
3738
3994
|
}
|
|
3739
3995
|
const databaseId = params.databaseId;
|
|
@@ -3743,6 +3999,7 @@ class Databases {
|
|
|
3743
3999
|
const attributes = params.attributes;
|
|
3744
4000
|
const orders = params.orders;
|
|
3745
4001
|
const lengths = params.lengths;
|
|
4002
|
+
const description = params.description;
|
|
3746
4003
|
if (typeof databaseId === "undefined" || databaseId === "") {
|
|
3747
4004
|
throw new client.OwbaseException(
|
|
3748
4005
|
'Missing required parameter: "databaseId"'
|
|
@@ -3784,6 +4041,9 @@ class Databases {
|
|
|
3784
4041
|
if (typeof lengths !== "undefined") {
|
|
3785
4042
|
apiPayload["lengths"] = lengths;
|
|
3786
4043
|
}
|
|
4044
|
+
if (typeof description !== "undefined") {
|
|
4045
|
+
apiPayload["description"] = description;
|
|
4046
|
+
}
|
|
3787
4047
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
3788
4048
|
const apiHeaders = {
|
|
3789
4049
|
"X-Owbase-Project": this.client.config.project,
|