@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
|
@@ -64,7 +64,9 @@ var Functions = class {
|
|
|
64
64
|
providerPaths: rest[17],
|
|
65
65
|
buildSpecification: rest[18],
|
|
66
66
|
runtimeSpecification: rest[19],
|
|
67
|
-
deploymentRetention: rest[20]
|
|
67
|
+
deploymentRetention: rest[20],
|
|
68
|
+
interval: rest[21],
|
|
69
|
+
description: rest[22]
|
|
68
70
|
};
|
|
69
71
|
}
|
|
70
72
|
const functionId = params.functionId;
|
|
@@ -89,6 +91,8 @@ var Functions = class {
|
|
|
89
91
|
const buildSpecification = params.buildSpecification;
|
|
90
92
|
const runtimeSpecification = params.runtimeSpecification;
|
|
91
93
|
const deploymentRetention = params.deploymentRetention;
|
|
94
|
+
const interval = params.interval;
|
|
95
|
+
const description = params.description;
|
|
92
96
|
if (typeof functionId === "undefined") {
|
|
93
97
|
throw new OwbaseException(
|
|
94
98
|
'Missing required parameter: "functionId"'
|
|
@@ -168,6 +172,12 @@ var Functions = class {
|
|
|
168
172
|
if (typeof deploymentRetention !== "undefined") {
|
|
169
173
|
apiPayload["deploymentRetention"] = deploymentRetention;
|
|
170
174
|
}
|
|
175
|
+
if (typeof interval !== "undefined") {
|
|
176
|
+
apiPayload["interval"] = interval;
|
|
177
|
+
}
|
|
178
|
+
if (typeof description !== "undefined") {
|
|
179
|
+
apiPayload["description"] = description;
|
|
180
|
+
}
|
|
171
181
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
172
182
|
const apiHeaders = {
|
|
173
183
|
"X-Owbase-Project": this.client.config.project,
|
|
@@ -279,7 +289,9 @@ var Functions = class {
|
|
|
279
289
|
providerPaths: rest[17],
|
|
280
290
|
buildSpecification: rest[18],
|
|
281
291
|
runtimeSpecification: rest[19],
|
|
282
|
-
deploymentRetention: rest[20]
|
|
292
|
+
deploymentRetention: rest[20],
|
|
293
|
+
interval: rest[21],
|
|
294
|
+
description: rest[22]
|
|
283
295
|
};
|
|
284
296
|
}
|
|
285
297
|
const functionId = params.functionId;
|
|
@@ -304,6 +316,8 @@ var Functions = class {
|
|
|
304
316
|
const buildSpecification = params.buildSpecification;
|
|
305
317
|
const runtimeSpecification = params.runtimeSpecification;
|
|
306
318
|
const deploymentRetention = params.deploymentRetention;
|
|
319
|
+
const interval = params.interval;
|
|
320
|
+
const description = params.description;
|
|
307
321
|
if (typeof functionId === "undefined" || functionId === "") {
|
|
308
322
|
throw new OwbaseException(
|
|
309
323
|
'Missing required parameter: "functionId"'
|
|
@@ -380,6 +394,12 @@ var Functions = class {
|
|
|
380
394
|
if (typeof deploymentRetention !== "undefined") {
|
|
381
395
|
apiPayload["deploymentRetention"] = deploymentRetention;
|
|
382
396
|
}
|
|
397
|
+
if (typeof interval !== "undefined") {
|
|
398
|
+
apiPayload["interval"] = interval;
|
|
399
|
+
}
|
|
400
|
+
if (typeof description !== "undefined") {
|
|
401
|
+
apiPayload["description"] = description;
|
|
402
|
+
}
|
|
383
403
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
384
404
|
const apiHeaders = {
|
|
385
405
|
"X-Owbase-Project": this.client.config.project,
|
|
@@ -1091,7 +1111,8 @@ var Functions = class {
|
|
|
1091
1111
|
variableId: rest[0],
|
|
1092
1112
|
key: rest[1],
|
|
1093
1113
|
value: rest[2],
|
|
1094
|
-
secret: rest[3]
|
|
1114
|
+
secret: rest[3],
|
|
1115
|
+
description: rest[4]
|
|
1095
1116
|
};
|
|
1096
1117
|
}
|
|
1097
1118
|
const functionId = params.functionId;
|
|
@@ -1099,6 +1120,7 @@ var Functions = class {
|
|
|
1099
1120
|
const key = params.key;
|
|
1100
1121
|
const value = params.value;
|
|
1101
1122
|
const secret = params.secret;
|
|
1123
|
+
const description = params.description;
|
|
1102
1124
|
if (typeof functionId === "undefined" || functionId === "") {
|
|
1103
1125
|
throw new OwbaseException(
|
|
1104
1126
|
'Missing required parameter: "functionId"'
|
|
@@ -1132,6 +1154,9 @@ var Functions = class {
|
|
|
1132
1154
|
if (typeof secret !== "undefined") {
|
|
1133
1155
|
apiPayload["secret"] = secret;
|
|
1134
1156
|
}
|
|
1157
|
+
if (typeof description !== "undefined") {
|
|
1158
|
+
apiPayload["description"] = description;
|
|
1159
|
+
}
|
|
1135
1160
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
1136
1161
|
const apiHeaders = {
|
|
1137
1162
|
"X-Owbase-Project": this.client.config.project,
|
|
@@ -1181,7 +1206,8 @@ var Functions = class {
|
|
|
1181
1206
|
variableId: rest[0],
|
|
1182
1207
|
key: rest[1],
|
|
1183
1208
|
value: rest[2],
|
|
1184
|
-
secret: rest[3]
|
|
1209
|
+
secret: rest[3],
|
|
1210
|
+
description: rest[4]
|
|
1185
1211
|
};
|
|
1186
1212
|
}
|
|
1187
1213
|
const functionId = params.functionId;
|
|
@@ -1189,6 +1215,7 @@ var Functions = class {
|
|
|
1189
1215
|
const key = params.key;
|
|
1190
1216
|
const value = params.value;
|
|
1191
1217
|
const secret = params.secret;
|
|
1218
|
+
const description = params.description;
|
|
1192
1219
|
if (typeof functionId === "undefined" || functionId === "") {
|
|
1193
1220
|
throw new OwbaseException(
|
|
1194
1221
|
'Missing required parameter: "functionId"'
|
|
@@ -1210,6 +1237,9 @@ var Functions = class {
|
|
|
1210
1237
|
if (typeof secret !== "undefined") {
|
|
1211
1238
|
apiPayload["secret"] = secret;
|
|
1212
1239
|
}
|
|
1240
|
+
if (typeof description !== "undefined") {
|
|
1241
|
+
apiPayload["description"] = description;
|
|
1242
|
+
}
|
|
1213
1243
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
1214
1244
|
const apiHeaders = {
|
|
1215
1245
|
"X-Owbase-Project": this.client.config.project,
|