Skip to content

Commit e51c93f

Browse files
Merge pull request #37 from appwrite/dev
chore: regenerate sdks
2 parents 4f0aa4a + 1d5e903 commit e51c93f

17 files changed

+162
-81
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ import { Client, Account } from "@appwrite.io/console";
3333
To install with a CDN (content delivery network) add the following scripts to the bottom of your <body> tag, but before you use any Appwrite services:
3434

3535
```html
36-
<script src="https://cdn.jsdelivr.net/npm/@appwrite.io/[email protected].1"></script>
36+
<script src="https://cdn.jsdelivr.net/npm/@appwrite.io/[email protected].2"></script>
3737
```
3838

3939

@@ -108,4 +108,4 @@ This library is auto-generated by Appwrite custom [SDK Generator](https://github
108108

109109
## License
110110

111-
Please see the [BSD-3-Clause license](https://raw.githubusercontent.com/appwrite/appwrite/master/LICENSE) file for more information.
111+
Please see the [BSD-3-Clause license](https://raw.githubusercontent.com/appwrite/appwrite/master/LICENSE) file for more information.

docs/examples/databases/update-float-attribute.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ const result = await databases.updateFloatAttribute(
1111
'<COLLECTION_ID>', // collectionId
1212
'', // key
1313
false, // required
14-
null, // min
15-
null, // max
1614
null, // default
15+
null, // min (optional)
16+
null, // max (optional)
1717
'' // newKey (optional)
1818
);
1919

docs/examples/databases/update-integer-attribute.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ const result = await databases.updateIntegerAttribute(
1111
'<COLLECTION_ID>', // collectionId
1212
'', // key
1313
false, // required
14-
null, // min
15-
null, // max
1614
null, // default
15+
null, // min (optional)
16+
null, // max (optional)
1717
'' // newKey (optional)
1818
);
1919

docs/examples/health/get-queue-usage-count.md renamed to docs/examples/health/get-queue-stats-resources.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const client = new Client()
66

77
const health = new Health(client);
88

9-
const result = await health.getQueueUsageCount(
9+
const result = await health.getQueueStatsResources(
1010
null // threshold (optional)
1111
);
1212

docs/examples/health/get-queue-usage-dump.md renamed to docs/examples/health/get-queue-stats-usage-dump.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const client = new Client()
66

77
const health = new Health(client);
88

9-
const result = await health.getQueueUsageDump(
9+
const result = await health.getQueueStatsUsageDump(
1010
null // threshold (optional)
1111
);
1212

docs/examples/health/get-queue.md

Lines changed: 0 additions & 11 deletions
This file was deleted.

docs/examples/organizations/create.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,11 @@ const result = await organizations.create(
1111
'<NAME>', // name
1212
.Tier0, // billingPlan
1313
'<PAYMENT_METHOD_ID>', // paymentMethodId (optional)
14-
'<BILLING_ADDRESS_ID>' // billingAddressId (optional)
14+
'<BILLING_ADDRESS_ID>', // billingAddressId (optional)
15+
[], // invites (optional)
16+
'<COUPON_ID>', // couponId (optional)
17+
'<TAX_ID>', // taxId (optional)
18+
0 // budget (optional)
1519
);
1620

1721
console.log(result);

docs/examples/organizations/update-plan.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,11 @@ const result = await organizations.updatePlan(
1010
'<ORGANIZATION_ID>', // organizationId
1111
.Tier0, // billingPlan
1212
'<PAYMENT_METHOD_ID>', // paymentMethodId (optional)
13-
'<BILLING_ADDRESS_ID>' // billingAddressId (optional)
13+
'<BILLING_ADDRESS_ID>', // billingAddressId (optional)
14+
[], // invites (optional)
15+
'<COUPON_ID>', // couponId (optional)
16+
'<TAX_ID>', // taxId (optional)
17+
0 // budget (optional)
1418
);
1519

1620
console.log(result);

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "@appwrite.io/console",
33
"homepage": "https://appwrite.io/support",
44
"description": "Appwrite is an open-source self-hosted backend server that abstract and simplify complex and repetitive development tasks behind a very simple REST API",
5-
"version": "1.5.1",
5+
"version": "1.5.2",
66
"license": "BSD-3-Clause",
77
"main": "dist/cjs/sdk.js",
88
"exports": {

src/client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ class Client {
316316
'x-sdk-name': 'Console',
317317
'x-sdk-platform': 'console',
318318
'x-sdk-language': 'web',
319-
'x-sdk-version': '1.5.1',
319+
'x-sdk-version': '1.5.2',
320320
'X-Appwrite-Response-Format': '1.6.0',
321321
};
322322

0 commit comments

Comments
 (0)