{"id":25442120,"url":"https://github.com/techcell-project/tech-cell-server-dart-dio-sdk","last_synced_at":"2025-11-01T14:30:24.144Z","repository":{"id":212698943,"uuid":"732006271","full_name":"TechCell-Project/tech-cell-server-dart-dio-sdk","owner":"TechCell-Project","description":null,"archived":false,"fork":false,"pushed_at":"2023-12-17T14:39:08.000Z","size":111,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2023-12-17T17:50:04.385Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TechCell-Project.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-12-15T12:03:23.000Z","updated_at":"2023-12-17T17:50:04.386Z","dependencies_parsed_at":"2023-12-15T17:56:57.985Z","dependency_job_id":null,"html_url":"https://github.com/TechCell-Project/tech-cell-server-dart-dio-sdk","commit_stats":null,"previous_names":["techcell-project/tech-cell-server-dart-dio-sdk"],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TechCell-Project%2Ftech-cell-server-dart-dio-sdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TechCell-Project%2Ftech-cell-server-dart-dio-sdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TechCell-Project%2Ftech-cell-server-dart-dio-sdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TechCell-Project%2Ftech-cell-server-dart-dio-sdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TechCell-Project","download_url":"https://codeload.github.com/TechCell-Project/tech-cell-server-dart-dio-sdk/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239293927,"owners_count":19615043,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-02-17T13:16:54.032Z","updated_at":"2025-11-01T14:30:24.115Z","avatar_url":"https://github.com/TechCell-Project.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# openapi (EXPERIMENTAL)\nThis is the documentation for the TechCell RESTful API.\n\nYou can change the language by setting the header (`x-lang`, `x-language`) or by using a query (`lang`, `language`).\n\nThis Dart package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:\n\n- API version: 0.0.1\n- Build package: org.openapitools.codegen.languages.DartDioClientCodegen\nFor more information, please visit [https://techcell.cloud](https://techcell.cloud)\n\n## Requirements\n\n* Dart 2.15.0+ or Flutter 2.8.0+\n* Dio 5.0.0+ (https://pub.dev/packages/dio)\n\n## Installation \u0026 Usage\n\n### pub.dev\nTo use the package from [pub.dev](https://pub.dev), please include the following in pubspec.yaml\n```yaml\ndependencies:\n  openapi: 1.0.0\n```\n\n### Github\nIf this Dart package is published to Github, please include the following in pubspec.yaml\n```yaml\ndependencies:\n  openapi:\n    git:\n      url: https://github.com/GIT_USER_ID/GIT_REPO_ID.git\n      #ref: main\n```\n\n### Local development\nTo use the package from your local drive, please include the following in pubspec.yaml\n```yaml\ndependencies:\n  openapi:\n    path: /path/to/openapi\n```\n\n## Getting Started\n\nPlease follow the [installation procedure](#installation--usage) and then run the following:\n\n```dart\nimport 'package:openapi/openapi.dart';\n\n\nfinal api = Openapi().getAddressApi();\nfinal num provinceId = 201; // num | Mã tỉnh thành\nfinal String xLang = en; // String | The language of the response\n\ntry {\n    final response = await api.getDistricts(provinceId, xLang);\n    print(response);\n} catch on DioException (e) {\n    print(\"Exception when calling AddressApi-\u003egetDistricts: $e\\n\");\n}\n\n```\n\n## Documentation for API Endpoints\n\nAll URIs are relative to *https://api.techcell.cloud*\n\nClass | Method | HTTP request | Description\n------------ | ------------- | ------------- | -------------\n[*AddressApi*](doc/AddressApi.md) | [**getDistricts**](doc/AddressApi.md#getdistricts) | **GET** /address/districts/{province_id} | Get districts\n[*AddressApi*](doc/AddressApi.md) | [**getProvinces**](doc/AddressApi.md#getprovinces) | **GET** /address/provinces | Get provinces\n[*AddressApi*](doc/AddressApi.md) | [**getWards**](doc/AddressApi.md#getwards) | **GET** /address/wards/{district_id} | Get wards\n[*AttributesApi*](doc/AttributesApi.md) | [**createAttribute**](doc/AttributesApi.md#createattribute) | **POST** /attributes | Create attribute\n[*AttributesApi*](doc/AttributesApi.md) | [**deleteAttribute**](doc/AttributesApi.md#deleteattribute) | **DELETE** /attributes/{attributeId} | Delete attribute\n[*AttributesApi*](doc/AttributesApi.md) | [**getAttributeById**](doc/AttributesApi.md#getattributebyid) | **GET** /attributes/{attributeId} | Get attribute by id\n[*AttributesApi*](doc/AttributesApi.md) | [**getAttributes**](doc/AttributesApi.md#getattributes) | **GET** /attributes | Get list of attribute\n[*AttributesApi*](doc/AttributesApi.md) | [**getAttributesByLabel**](doc/AttributesApi.md#getattributesbylabel) | **GET** /attributes/label/{label} | Get attribute by label\n[*AttributesApi*](doc/AttributesApi.md) | [**updateAttributeInfo**](doc/AttributesApi.md#updateattributeinfo) | **PATCH** /attributes/{attributeId} | Update attribute\n[*AuthenticationApi*](doc/AuthenticationApi.md) | [**changePassword**](doc/AuthenticationApi.md#changepassword) | **POST** /auth/change-password | Change password\n[*AuthenticationApi*](doc/AuthenticationApi.md) | [**checkEmail**](doc/AuthenticationApi.md#checkemail) | **POST** /auth/check-email | Check email is exist or not\n[*AuthenticationApi*](doc/AuthenticationApi.md) | [**forgotPassword**](doc/AuthenticationApi.md#forgotpassword) | **POST** /auth/forgot-password | Forgot password\n[*AuthenticationApi*](doc/AuthenticationApi.md) | [**getNewToken**](doc/AuthenticationApi.md#getnewtoken) | **POST** /auth/refresh-token | Get new token\n[*AuthenticationApi*](doc/AuthenticationApi.md) | [**google**](doc/AuthenticationApi.md#google) | **POST** /auth/google | Login with google\n[*AuthenticationApi*](doc/AuthenticationApi.md) | [**login**](doc/AuthenticationApi.md#login) | **POST** /auth/login | Login\n[*AuthenticationApi*](doc/AuthenticationApi.md) | [**register**](doc/AuthenticationApi.md#register) | **POST** /auth/register | Register new user\n[*AuthenticationApi*](doc/AuthenticationApi.md) | [**resendVerifyEmailOtp**](doc/AuthenticationApi.md#resendverifyemailotp) | **POST** /auth/resend-verify-email-otp | Resend verify email otp\n[*AuthenticationApi*](doc/AuthenticationApi.md) | [**verifyEmail**](doc/AuthenticationApi.md#verifyemail) | **POST** /auth/verify-email | Verify email registration\n[*AuthenticationApi*](doc/AuthenticationApi.md) | [**verifyForgotPassword**](doc/AuthenticationApi.md#verifyforgotpassword) | **POST** /auth/verify-forgot-password | Verify forgot password\n[*CartsApi*](doc/CartsApi.md) | [**addCart**](doc/CartsApi.md#addcart) | **POST** /carts | Add/update cart\n[*CartsApi*](doc/CartsApi.md) | [**deleteProductsCart**](doc/CartsApi.md#deleteproductscart) | **DELETE** /carts | Delete products cart\n[*CartsApi*](doc/CartsApi.md) | [**getCarts**](doc/CartsApi.md#getcarts) | **GET** /carts | Get list of carts\n[*CategoriesApi*](doc/CategoriesApi.md) | [**createCategory**](doc/CategoriesApi.md#createcategory) | **POST** /categories | Create category\n[*CategoriesApi*](doc/CategoriesApi.md) | [**getCategories**](doc/CategoriesApi.md#getcategories) | **GET** /categories | Get list of categories\n[*CategoriesApi*](doc/CategoriesApi.md) | [**getCategoryById**](doc/CategoriesApi.md#getcategorybyid) | **GET** /categories/{categoryId} | Get category by id\n[*CategoriesApi*](doc/CategoriesApi.md) | [**getCategoryByLabel**](doc/CategoriesApi.md#getcategorybylabel) | **GET** /categories/label/{label} | Get category by label\n[*CategoriesApi*](doc/CategoriesApi.md) | [**updateCategory**](doc/CategoriesApi.md#updatecategory) | **PATCH** /categories/{categoryId} | Update category\n[*HealthApi*](doc/HealthApi.md) | [**readiness**](doc/HealthApi.md#readiness) | **GET** /health | Health check\n[*ImagesApi*](doc/ImagesApi.md) | [**getImageByPublicId**](doc/ImagesApi.md#getimagebypublicid) | **GET** /images/{publicId} | Get image by public id\n[*ImagesApi*](doc/ImagesApi.md) | [**uploadArrayImages**](doc/ImagesApi.md#uploadarrayimages) | **POST** /images/array | Upload array of image\n[*ImagesApi*](doc/ImagesApi.md) | [**uploadSingleImage**](doc/ImagesApi.md#uploadsingleimage) | **POST** /images | Upload image\n[*NotificationsApi*](doc/NotificationsApi.md) | [**getUserNotifications**](doc/NotificationsApi.md#getusernotifications) | **GET** /notifications | Get notifications\u0026#39;s user\n[*OrderApi*](doc/OrderApi.md) | [**createOrder**](doc/OrderApi.md#createorder) | **POST** /order | Create a order\n[*OrderApi*](doc/OrderApi.md) | [**getAllUserOrders**](doc/OrderApi.md#getalluserorders) | **GET** /order | Get all order\u0026#39;s user\n[*OrderApi*](doc/OrderApi.md) | [**reviewOrder**](doc/OrderApi.md#revieworder) | **POST** /order/review | Review a order\n[*OrdersManagementApi*](doc/OrdersManagementApi.md) | [**getOrder**](doc/OrdersManagementApi.md#getorder) | **GET** /orders-mnt/{id} | Get order by id\n[*OrdersManagementApi*](doc/OrdersManagementApi.md) | [**getOrders**](doc/OrdersManagementApi.md#getorders) | **GET** /orders-mnt | Get orders\n[*OrdersManagementApi*](doc/OrdersManagementApi.md) | [**updateOrderStatus**](doc/OrdersManagementApi.md#updateorderstatus) | **PATCH** /orders-mnt/{id} | Update order status\n[*ProductsApi*](doc/ProductsApi.md) | [**createProduct**](doc/ProductsApi.md#createproduct) | **POST** /products | Create a new product\n[*ProductsApi*](doc/ProductsApi.md) | [**deleteProduct**](doc/ProductsApi.md#deleteproduct) | **DELETE** /products/{productId} | Delete product by id\n[*ProductsApi*](doc/ProductsApi.md) | [**deleteProductVariation**](doc/ProductsApi.md#deleteproductvariation) | **DELETE** /products/{productId}/{sku} | Delete product variation\n[*ProductsApi*](doc/ProductsApi.md) | [**getProductById**](doc/ProductsApi.md#getproductbyid) | **GET** /products/{productId} | Get product by id\n[*ProductsApi*](doc/ProductsApi.md) | [**getProducts**](doc/ProductsApi.md#getproducts) | **GET** /products | Get products list\n[*ProductsApi*](doc/ProductsApi.md) | [**updateProduct**](doc/ProductsApi.md#updateproduct) | **PUT** /products/{productId} | Update product by id\n[*ProfileApi*](doc/ProfileApi.md) | [**getProfile**](doc/ProfileApi.md#getprofile) | **GET** /profile | Get current user info\n[*ProfileApi*](doc/ProfileApi.md) | [**updateUserAddress**](doc/ProfileApi.md#updateuseraddress) | **PATCH** /profile/address | Update current user address\n[*ProfileApi*](doc/ProfileApi.md) | [**updateUserInfo**](doc/ProfileApi.md#updateuserinfo) | **PATCH** /profile/info | Update current user info\n[*StatsApi*](doc/StatsApi.md) | [**getStats**](doc/StatsApi.md#getstats) | **GET** /stats | Get stats in a period of time\n[*UsersManagementApi*](doc/UsersManagementApi.md) | [**blockUser**](doc/UsersManagementApi.md#blockuser) | **PATCH** /users/{id}/block | Block user\n[*UsersManagementApi*](doc/UsersManagementApi.md) | [**changeRoleUser**](doc/UsersManagementApi.md#changeroleuser) | **PATCH** /users/{id}/change-role | Change role user\n[*UsersManagementApi*](doc/UsersManagementApi.md) | [**createUser**](doc/UsersManagementApi.md#createuser) | **POST** /users | Create new user\n[*UsersManagementApi*](doc/UsersManagementApi.md) | [**getUserById**](doc/UsersManagementApi.md#getuserbyid) | **GET** /users/{id} | Get user by id\n[*UsersManagementApi*](doc/UsersManagementApi.md) | [**getUsers**](doc/UsersManagementApi.md#getusers) | **GET** /users | Get list of users\n[*UsersManagementApi*](doc/UsersManagementApi.md) | [**unblockUser**](doc/UsersManagementApi.md#unblockuser) | **PATCH** /users/{id}/unblock | Unblock user\n\n\n## Documentation For Models\n\n - [AddCartRequestDTO](doc/AddCartRequestDTO.md)\n - [AddressSchemaDTO](doc/AddressSchemaDTO.md)\n - [AttributeDTO](doc/AttributeDTO.md)\n - [BlockActivitySchemaDTO](doc/BlockActivitySchemaDTO.md)\n - [BlockSchemaDTO](doc/BlockSchemaDTO.md)\n - [BlockUnblockRequestDTO](doc/BlockUnblockRequestDTO.md)\n - [CategoryDTO](doc/CategoryDTO.md)\n - [CategoryIdDTO](doc/CategoryIdDTO.md)\n - [ChangePasswordRequestDTO](doc/ChangePasswordRequestDTO.md)\n - [ChangeRoleRequestDTO](doc/ChangeRoleRequestDTO.md)\n - [CheckoutOrderSchemaDTO](doc/CheckoutOrderSchemaDTO.md)\n - [CreateAttributeRequestDTO](doc/CreateAttributeRequestDTO.md)\n - [CreateCategoryRequestDTO](doc/CreateCategoryRequestDTO.md)\n - [CreateOrderRequestDTO](doc/CreateOrderRequestDTO.md)\n - [CreateProductRequestDTO](doc/CreateProductRequestDTO.md)\n - [CreateUserRequestDto](doc/CreateUserRequestDto.md)\n - [DeleteProductsCartRequestDTO](doc/DeleteProductsCartRequestDTO.md)\n - [DistrictSchemaDTO](doc/DistrictSchemaDTO.md)\n - [EmailRequestDTO](doc/EmailRequestDTO.md)\n - [ForgotPasswordDTO](doc/ForgotPasswordDTO.md)\n - [GetCartResponseDTO](doc/GetCartResponseDTO.md)\n - [GetOrderByIdResponseDTO](doc/GetOrderByIdResponseDTO.md)\n - [GetStatsDataDTO](doc/GetStatsDataDTO.md)\n - [GetStatsResponseDTO](doc/GetStatsResponseDTO.md)\n - [GhnDistrictDTO](doc/GhnDistrictDTO.md)\n - [GhnProvinceDTO](doc/GhnProvinceDTO.md)\n - [GhnWardDTO](doc/GhnWardDTO.md)\n - [GoogleLoginRequestDTO](doc/GoogleLoginRequestDTO.md)\n - [ImageRequestDTO](doc/ImageRequestDTO.md)\n - [ImageSchemaDTO](doc/ImageSchemaDTO.md)\n - [ImageUploadedResponseDTO](doc/ImageUploadedResponseDTO.md)\n - [ListAttributeResponseDTO](doc/ListAttributeResponseDTO.md)\n - [ListCategoryResponseDTO](doc/ListCategoryResponseDTO.md)\n - [ListNotificationsResponseDTO](doc/ListNotificationsResponseDTO.md)\n - [ListOrderResponseDTO](doc/ListOrderResponseDTO.md)\n - [ListProductResponseDTO](doc/ListProductResponseDTO.md)\n - [ListUserResponseDTO](doc/ListUserResponseDTO.md)\n - [LoginRequestDTO](doc/LoginRequestDTO.md)\n - [NewTokenRequestDTO](doc/NewTokenRequestDTO.md)\n - [NotificationsDTO](doc/NotificationsDTO.md)\n - [OrderSchemaDTO](doc/OrderSchemaDTO.md)\n - [PaymentOrderDTO](doc/PaymentOrderDTO.md)\n - [PriceDTO](doc/PriceDTO.md)\n - [ProductAttributeDTO](doc/ProductAttributeDTO.md)\n - [ProductCartDTO](doc/ProductCartDTO.md)\n - [ProductCartSchemaDTO](doc/ProductCartSchemaDTO.md)\n - [ProductDTO](doc/ProductDTO.md)\n - [ProductImageDTO](doc/ProductImageDTO.md)\n - [ProductOrderSchemaDTO](doc/ProductOrderSchemaDTO.md)\n - [ProductPriceDTO](doc/ProductPriceDTO.md)\n - [ProductVariationDTO](doc/ProductVariationDTO.md)\n - [ProductsOrder](doc/ProductsOrder.md)\n - [ProvinceSchemaDTO](doc/ProvinceSchemaDTO.md)\n - [Readiness200Response](doc/Readiness200Response.md)\n - [Readiness200ResponseInfoValue](doc/Readiness200ResponseInfoValue.md)\n - [Readiness503Response](doc/Readiness503Response.md)\n - [RegisterRequestDTO](doc/RegisterRequestDTO.md)\n - [ReviewOrderRequestDTO](doc/ReviewOrderRequestDTO.md)\n - [ReviewedOrderResponseDTO](doc/ReviewedOrderResponseDTO.md)\n - [SelectProduct](doc/SelectProduct.md)\n - [ShippingOrderSchemaDTO](doc/ShippingOrderSchemaDTO.md)\n - [UpdateAttributeRequestDTO](doc/UpdateAttributeRequestDTO.md)\n - [UpdateCategoryRequestDTO](doc/UpdateCategoryRequestDTO.md)\n - [UpdateOrderStatusDTO](doc/UpdateOrderStatusDTO.md)\n - [UpdateProductRequestDTO](doc/UpdateProductRequestDTO.md)\n - [UpdateUserAddressRequestDTO](doc/UpdateUserAddressRequestDTO.md)\n - [UpdateUserRequestDTO](doc/UpdateUserRequestDTO.md)\n - [UserDataResponseDTO](doc/UserDataResponseDTO.md)\n - [UserMntResponseDTO](doc/UserMntResponseDTO.md)\n - [VariationRequestDTO](doc/VariationRequestDTO.md)\n - [VerifyEmailRequestDTO](doc/VerifyEmailRequestDTO.md)\n - [VerifyForgotPasswordDTO](doc/VerifyForgotPasswordDTO.md)\n - [WardSchemaDTO](doc/WardSchemaDTO.md)\n\n\n## Documentation For Authorization\n\n\nAuthentication schemes defined for the API:\n### accessToken\n\n- **Type**: HTTP Bearer Token authentication (Bearer)\n\n\n## Author\n\nteams@techcell.cloud\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechcell-project%2Ftech-cell-server-dart-dio-sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftechcell-project%2Ftech-cell-server-dart-dio-sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechcell-project%2Ftech-cell-server-dart-dio-sdk/lists"}