Skip to content

Commit 0d152ad

Browse files
committed
chore: regenerate sdks
1 parent fbad585 commit 0d152ad

File tree

14 files changed

+8
-534
lines changed

14 files changed

+8
-534
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "node-appwrite",
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": "15.0.0",
5+
"version": "15.0.1",
66
"license": "BSD-3-Clause",
77
"main": "dist/index.js",
88
"type": "commonjs",

src/client.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class AppwriteException extends Error {
3333
}
3434

3535
function getUserAgent() {
36-
let ua = 'AppwriteNodeJSSDK/15.0.0';
36+
let ua = 'AppwriteNodeJSSDK/15.0.1';
3737

3838
// `process` is a global in Node.js, but not fully available in all runtimes.
3939
const platform: string[] = [];
@@ -82,7 +82,7 @@ class Client {
8282
'x-sdk-name': 'Node.js',
8383
'x-sdk-platform': 'server',
8484
'x-sdk-language': 'nodejs',
85-
'x-sdk-version': '15.0.0',
85+
'x-sdk-version': '15.0.1',
8686
'user-agent' : getUserAgent(),
8787
'X-Appwrite-Response-Format': '1.6.0',
8888
};

src/models.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ export namespace Models {
443443
/**
444444
* Collection attributes.
445445
*/
446-
attributes: string[];
446+
attributes: (Models.AttributeBoolean | Models.AttributeInteger | Models.AttributeFloat | Models.AttributeEmail | Models.AttributeEnum | Models.AttributeUrl | Models.AttributeIp | Models.AttributeDatetime | Models.AttributeRelationship | Models.AttributeString)[];
447447
/**
448448
* Collection indexes.
449449
*/
@@ -460,7 +460,7 @@ export namespace Models {
460460
/**
461461
* List of attributes.
462462
*/
463-
attributes: string[];
463+
attributes: (Models.AttributeBoolean | Models.AttributeInteger | Models.AttributeFloat | Models.AttributeEmail | Models.AttributeEnum | Models.AttributeUrl | Models.AttributeIp | Models.AttributeDatetime | Models.AttributeRelationship | Models.AttributeString)[];
464464
}
465465
/**
466466
* AttributeString

src/services/account.ts

Lines changed: 0 additions & 86 deletions
Large diffs are not rendered by default.

src/services/avatars.ts

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ export class Avatars {
1212
}
1313

1414
/**
15-
* Get browser icon
16-
*
1715
* You can use this endpoint to show different browser icons to your users. The code argument receives the browser code as it appears in your user [GET /account/sessions](https://appwrite.io/docs/references/cloud/client-web/account#getSessions) endpoint. Use width, height and quality arguments to change the output settings.
1816
1917
When one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 100x100px.
@@ -55,8 +53,6 @@ When one dimension is specified and the other is 0, the image is scaled with pre
5553
);
5654
}
5755
/**
58-
* Get credit card icon
59-
*
6056
* The credit card endpoint will return you the icon of the credit card provider you need. Use width, height and quality arguments to change the output settings.
6157
6258
When one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 100x100px.
@@ -99,8 +95,6 @@ When one dimension is specified and the other is 0, the image is scaled with pre
9995
);
10096
}
10197
/**
102-
* Get favicon
103-
*
10498
* Use this endpoint to fetch the favorite icon (AKA favicon) of any remote website URL.
10599
106100
This endpoint does not follow HTTP redirects.
@@ -133,8 +127,6 @@ This endpoint does not follow HTTP redirects.
133127
);
134128
}
135129
/**
136-
* Get country flag
137-
*
138130
* You can use this endpoint to show different country flags icons to your users. The code argument receives the 2 letter country code. Use width, height and quality arguments to change the output settings. Country codes follow the [ISO 3166-1](https://en.wikipedia.org/wiki/ISO_3166-1) standard.
139131
140132
When one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 100x100px.
@@ -177,8 +169,6 @@ When one dimension is specified and the other is 0, the image is scaled with pre
177169
);
178170
}
179171
/**
180-
* Get image from URL
181-
*
182172
* Use this endpoint to fetch a remote image URL and crop it to any image size you want. This endpoint is very useful if you need to crop and display remote images in your app or in case you want to make sure a 3rd party image is properly served using a TLS protocol.
183173
184174
When one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 400x400px.
@@ -221,8 +211,6 @@ This endpoint does not follow HTTP redirects.
221211
);
222212
}
223213
/**
224-
* Get user initials
225-
*
226214
* Use this endpoint to show your user initials avatar icon on your website or app. By default, this route will try to print your logged-in user name or email initials. You can also overwrite the user name if you pass the 'name' parameter. If no name is given and no user is logged, an empty avatar will be returned.
227215
228216
You can use the color and background params to change the avatar colors. By default, a random theme will be selected. The random theme will persist for the user's initials when reloading the same theme will always return for the same initials.
@@ -267,8 +255,6 @@ When one dimension is specified and the other is 0, the image is scaled with pre
267255
);
268256
}
269257
/**
270-
* Get QR code
271-
*
272258
* Converts a given plain text to a QR code image. You can use the query parameters to change the size and style of the resulting image.
273259
274260
*

0 commit comments

Comments
 (0)