diff --git a/composer.json b/composer.json index f0dc6c104..ee1e90a87 100644 --- a/composer.json +++ b/composer.json @@ -56,7 +56,7 @@ }, "require-dev": { "swoole/ide-helper": "4.5.5", - "appwrite/sdk-generator": "0.3.3", + "appwrite/sdk-generator": "0.4.2", "phpunit/phpunit": "9.4.2", "vimeo/psalm": "4.1.1" }, diff --git a/composer.lock b/composer.lock index 23bbf8ede..9b68ad5f5 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "2dee8b75780ba88fd7da28d08d691998", + "content-hash": "0df79d7789fec84aa4500edad823f1f6", "packages": [ { "name": "appwrite/php-clamav", @@ -131,16 +131,16 @@ }, { "name": "chillerlan/php-settings-container", - "version": "2.1.0", + "version": "2.1.1", "source": { "type": "git", "url": "https://github.com/chillerlan/php-settings-container.git", - "reference": "90ab24a3dc09569bfa0f3dbc3d44bab3aaa2a6c5" + "reference": "98ccc1b31b31a53bcb563465c4961879b2b93096" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/chillerlan/php-settings-container/zipball/90ab24a3dc09569bfa0f3dbc3d44bab3aaa2a6c5", - "reference": "90ab24a3dc09569bfa0f3dbc3d44bab3aaa2a6c5", + "url": "https://api.github.com/repos/chillerlan/php-settings-container/zipball/98ccc1b31b31a53bcb563465c4961879b2b93096", + "reference": "98ccc1b31b31a53bcb563465c4961879b2b93096", "shasum": "" }, "require": { @@ -148,8 +148,8 @@ "php": "^7.4 || ^8.0" }, "require-dev": { - "phan/phan": "^3.2.2", - "phpunit/phpunit": "9.4" + "phan/phan": "^4.0", + "phpunit/phpunit": "^9.5" }, "type": "library", "autoload": { @@ -181,12 +181,16 @@ "source": "https://github.com/chillerlan/php-settings-container" }, "funding": [ + { + "url": "https://www.paypal.com/donate?hosted_button_id=WLYUNAT9ZTJZ4", + "type": "custom" + }, { "url": "https://ko-fi.com/codemasher", "type": "ko_fi" } ], - "time": "2020-10-07T13:18:35+00:00" + "time": "2021-01-06T15:57:03+00:00" }, { "name": "colinmollenhour/credis", @@ -1858,11 +1862,11 @@ }, { "name": "appwrite/sdk-generator", - "version": "0.3.3", + "version": "0.4.2", "source": { "type": "git", "url": "https://github.com/appwrite/sdk-generator", - "reference": "7530820a1ee824874d89749c51b0e49d15595abc" + "reference": "5482f4cdb65ab90ffea752ba9a625187cd7c7784" }, "require": { "ext-curl": "*", @@ -1892,7 +1896,7 @@ } ], "description": "Appwrite PHP library for generating API SDKs for multiple programming languages and platforms", - "time": "2021-01-05T17:58:17+00:00" + "time": "2021-01-07T14:03:54+00:00" }, { "name": "composer/package-versions-deprecated", @@ -2323,16 +2327,16 @@ }, { "name": "matthiasmullie/minify", - "version": "1.3.65", + "version": "1.3.66", "source": { "type": "git", "url": "https://github.com/matthiasmullie/minify.git", - "reference": "227f19062451c55a797e0cc667ef983834e6580c" + "reference": "45fd3b0f1dfa2c965857c6d4a470bea52adc31a6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/matthiasmullie/minify/zipball/227f19062451c55a797e0cc667ef983834e6580c", - "reference": "227f19062451c55a797e0cc667ef983834e6580c", + "url": "https://api.github.com/repos/matthiasmullie/minify/zipball/45fd3b0f1dfa2c965857c6d4a470bea52adc31a6", + "reference": "45fd3b0f1dfa2c965857c6d4a470bea52adc31a6", "shasum": "" }, "require": { @@ -2342,8 +2346,8 @@ }, "require-dev": { "friendsofphp/php-cs-fixer": "~2.0", - "matthiasmullie/scrapbook": "~1.0", - "phpunit/phpunit": "~4.8" + "matthiasmullie/scrapbook": "dev-master", + "phpunit/phpunit": ">=4.8" }, "suggest": { "psr/cache-implementation": "Cache implementation to use with Minify::cache" @@ -2381,7 +2385,7 @@ ], "support": { "issues": "https://github.com/matthiasmullie/minify/issues", - "source": "https://github.com/matthiasmullie/minify/tree/1.3.65" + "source": "https://github.com/matthiasmullie/minify/tree/1.3.66" }, "funding": [ { @@ -2397,7 +2401,7 @@ "type": "github" } ], - "time": "2020-12-27T21:43:29+00:00" + "time": "2021-01-06T15:18:10+00:00" }, { "name": "matthiasmullie/path-converter", @@ -4513,12 +4517,12 @@ "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "af2bafc13cb92e182bf634285346925e09888d23" + "reference": "da4c3663721420520b024e5aede66b813019e744" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/af2bafc13cb92e182bf634285346925e09888d23", - "reference": "af2bafc13cb92e182bf634285346925e09888d23", + "url": "https://api.github.com/repos/symfony/console/zipball/da4c3663721420520b024e5aede66b813019e744", + "reference": "da4c3663721420520b024e5aede66b813019e744", "shasum": "" }, "require": { @@ -4603,7 +4607,7 @@ "type": "tidelift" } ], - "time": "2021-01-05T19:51:30+00:00" + "time": "2021-01-05T20:16:44+00:00" }, { "name": "symfony/polyfill-ctype", @@ -4611,12 +4615,12 @@ "source": { "type": "git", "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "7130f348df2f842044038aaae9d6653dc9d67649" + "reference": "7c0a3c5420fd802637c4260e595d6c674b23d578" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/7130f348df2f842044038aaae9d6653dc9d67649", - "reference": "7130f348df2f842044038aaae9d6653dc9d67649", + "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/7c0a3c5420fd802637c4260e595d6c674b23d578", + "reference": "7c0a3c5420fd802637c4260e595d6c674b23d578", "shasum": "" }, "require": { @@ -4683,7 +4687,7 @@ "type": "tidelift" } ], - "time": "2020-12-27T09:28:48+00:00" + "time": "2021-01-06T10:19:43+00:00" }, { "name": "symfony/polyfill-intl-grapheme", @@ -4691,12 +4695,12 @@ "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "e314d4992832c3a0a68ca731fadd959917320fda" + "reference": "32b651134d58efe1786c95352d846913a42d8331" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/e314d4992832c3a0a68ca731fadd959917320fda", - "reference": "e314d4992832c3a0a68ca731fadd959917320fda", + "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/32b651134d58efe1786c95352d846913a42d8331", + "reference": "32b651134d58efe1786c95352d846913a42d8331", "shasum": "" }, "require": { @@ -4765,7 +4769,7 @@ "type": "tidelift" } ], - "time": "2020-12-27T09:28:48+00:00" + "time": "2021-01-06T10:19:43+00:00" }, { "name": "symfony/polyfill-intl-normalizer", @@ -4773,12 +4777,12 @@ "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "3a79a2226897adae0cab81688fbc5144e2fc53f6" + "reference": "8592bf62da8352927fc3857484e84baacddec301" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/3a79a2226897adae0cab81688fbc5144e2fc53f6", - "reference": "3a79a2226897adae0cab81688fbc5144e2fc53f6", + "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/8592bf62da8352927fc3857484e84baacddec301", + "reference": "8592bf62da8352927fc3857484e84baacddec301", "shasum": "" }, "require": { @@ -4850,7 +4854,7 @@ "type": "tidelift" } ], - "time": "2020-12-27T22:11:44+00:00" + "time": "2021-01-06T10:19:43+00:00" }, { "name": "symfony/polyfill-mbstring", @@ -4858,12 +4862,12 @@ "source": { "type": "git", "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "de14691dc88bbbc5535de7f0e32080977dc1d23f" + "reference": "ec0101071dcbc6bdd5046da11df686f8515fa815" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/de14691dc88bbbc5535de7f0e32080977dc1d23f", - "reference": "de14691dc88bbbc5535de7f0e32080977dc1d23f", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/ec0101071dcbc6bdd5046da11df686f8515fa815", + "reference": "ec0101071dcbc6bdd5046da11df686f8515fa815", "shasum": "" }, "require": { @@ -4931,7 +4935,7 @@ "type": "tidelift" } ], - "time": "2020-12-27T09:28:48+00:00" + "time": "2021-01-06T10:19:43+00:00" }, { "name": "symfony/polyfill-php73", @@ -4939,12 +4943,12 @@ "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php73.git", - "reference": "8c0d39c1526009b97f43beea4cc685bbc353a70b" + "reference": "6d0e293e2b13580b866090a135900aea4adcb308" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/8c0d39c1526009b97f43beea4cc685bbc353a70b", - "reference": "8c0d39c1526009b97f43beea4cc685bbc353a70b", + "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/6d0e293e2b13580b866090a135900aea4adcb308", + "reference": "6d0e293e2b13580b866090a135900aea4adcb308", "shasum": "" }, "require": { @@ -5011,7 +5015,7 @@ "type": "tidelift" } ], - "time": "2020-10-26T13:35:45+00:00" + "time": "2021-01-06T10:19:43+00:00" }, { "name": "symfony/polyfill-php80", @@ -5019,12 +5023,12 @@ "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php80.git", - "reference": "54cc82c30ba7ed02bc64f5d010488c159b5f1706" + "reference": "69e5da91ad9c080f6ac1e010ddffefe71b14bd6e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/54cc82c30ba7ed02bc64f5d010488c159b5f1706", - "reference": "54cc82c30ba7ed02bc64f5d010488c159b5f1706", + "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/69e5da91ad9c080f6ac1e010ddffefe71b14bd6e", + "reference": "69e5da91ad9c080f6ac1e010ddffefe71b14bd6e", "shasum": "" }, "require": { @@ -5095,7 +5099,7 @@ "type": "tidelift" } ], - "time": "2020-12-27T09:28:48+00:00" + "time": "2021-01-06T10:19:43+00:00" }, { "name": "symfony/service-contracts", diff --git a/docs/examples/0.6.2/server-dotnet/examples/database/create-collection.md b/docs/examples/0.6.2/server-dotnet/examples/database/create-collection.md index a8c2c3f7e..7e519655b 100644 --- a/docs/examples/0.6.2/server-dotnet/examples/database/create-collection.md +++ b/docs/examples/0.6.2/server-dotnet/examples/database/create-collection.md @@ -10,4 +10,4 @@ client Database database = new Database(client); -HttpResponseMessage result = await database.CreateCollection("[NAME]", {}, {}, {}); +HttpResponseMessage result = await database.CreateCollection("[NAME]", [List], [List], [List]); diff --git a/docs/examples/0.6.2/server-dotnet/examples/database/create-document.md b/docs/examples/0.6.2/server-dotnet/examples/database/create-document.md index 1a875067a..be00512f2 100644 --- a/docs/examples/0.6.2/server-dotnet/examples/database/create-document.md +++ b/docs/examples/0.6.2/server-dotnet/examples/database/create-document.md @@ -10,4 +10,4 @@ client Database database = new Database(client); -HttpResponseMessage result = await database.CreateDocument("[COLLECTION_ID]", {}, {}, {}); +HttpResponseMessage result = await database.CreateDocument("[COLLECTION_ID]", [object], [List], [List]); diff --git a/docs/examples/0.6.2/server-dotnet/examples/database/update-collection.md b/docs/examples/0.6.2/server-dotnet/examples/database/update-collection.md index 42c67650d..c28830be3 100644 --- a/docs/examples/0.6.2/server-dotnet/examples/database/update-collection.md +++ b/docs/examples/0.6.2/server-dotnet/examples/database/update-collection.md @@ -10,4 +10,4 @@ client Database database = new Database(client); -HttpResponseMessage result = await database.UpdateCollection("[COLLECTION_ID]", "[NAME]", {}, {}); +HttpResponseMessage result = await database.UpdateCollection("[COLLECTION_ID]", "[NAME]", [List], [List]); diff --git a/docs/examples/0.6.2/server-dotnet/examples/database/update-document.md b/docs/examples/0.6.2/server-dotnet/examples/database/update-document.md index 5f4c173b7..32176af3d 100644 --- a/docs/examples/0.6.2/server-dotnet/examples/database/update-document.md +++ b/docs/examples/0.6.2/server-dotnet/examples/database/update-document.md @@ -10,4 +10,4 @@ client Database database = new Database(client); -HttpResponseMessage result = await database.UpdateDocument("[COLLECTION_ID]", "[DOCUMENT_ID]", {}, {}, {}); +HttpResponseMessage result = await database.UpdateDocument("[COLLECTION_ID]", "[DOCUMENT_ID]", [object], [List], [List]); diff --git a/docs/examples/0.6.2/server-dotnet/examples/storage/create-file.md b/docs/examples/0.6.2/server-dotnet/examples/storage/create-file.md index 5427fceb1..8c1e80e8c 100644 --- a/docs/examples/0.6.2/server-dotnet/examples/storage/create-file.md +++ b/docs/examples/0.6.2/server-dotnet/examples/storage/create-file.md @@ -10,4 +10,4 @@ client Storage storage = new Storage(client); -HttpResponseMessage result = await storage.CreateFile(new File("./path-to-files/image.jpg"), {}, {}); +HttpResponseMessage result = await storage.CreateFile(new File("./path-to-files/image.jpg"), [List], [List]); diff --git a/docs/examples/0.6.2/server-dotnet/examples/storage/update-file.md b/docs/examples/0.6.2/server-dotnet/examples/storage/update-file.md index 8effc4298..fd62fa404 100644 --- a/docs/examples/0.6.2/server-dotnet/examples/storage/update-file.md +++ b/docs/examples/0.6.2/server-dotnet/examples/storage/update-file.md @@ -10,4 +10,4 @@ client Storage storage = new Storage(client); -HttpResponseMessage result = await storage.UpdateFile("[FILE_ID]", {}, {}); +HttpResponseMessage result = await storage.UpdateFile("[FILE_ID]", [List], [List]); diff --git a/docs/examples/0.6.2/server-dotnet/examples/teams/create-membership.md b/docs/examples/0.6.2/server-dotnet/examples/teams/create-membership.md index d149cb473..7391cc6ff 100644 --- a/docs/examples/0.6.2/server-dotnet/examples/teams/create-membership.md +++ b/docs/examples/0.6.2/server-dotnet/examples/teams/create-membership.md @@ -10,4 +10,4 @@ client Teams teams = new Teams(client); -HttpResponseMessage result = await teams.CreateMembership("[TEAM_ID]", "email@example.com", {}, "https://example.com"); +HttpResponseMessage result = await teams.CreateMembership("[TEAM_ID]", "email@example.com", [List], "https://example.com"); diff --git a/docs/examples/0.6.2/server-dotnet/examples/users/update-prefs.md b/docs/examples/0.6.2/server-dotnet/examples/users/update-prefs.md index 06ffa4245..0cfb05f91 100644 --- a/docs/examples/0.6.2/server-dotnet/examples/users/update-prefs.md +++ b/docs/examples/0.6.2/server-dotnet/examples/users/update-prefs.md @@ -10,4 +10,4 @@ client Users users = new Users(client); -HttpResponseMessage result = await users.UpdatePrefs("[USER_ID]", {}); +HttpResponseMessage result = await users.UpdatePrefs("[USER_ID]", [object]);