diff --git a/.openapi-generator/VERSION b/.openapi-generator/VERSION index 368fd8fd..1b2d969d 100644 --- a/.openapi-generator/VERSION +++ b/.openapi-generator/VERSION @@ -1 +1 @@ -7.15.0 +7.18.0 diff --git a/README_Auth.md b/README_Auth.md index 976f70b3..9108970d 100644 --- a/README_Auth.md +++ b/README_Auth.md @@ -19,5 +19,5 @@ Class | Method | HTTP request | Description This PHP package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: -- API version: `6.0` +- API version: `6.1` - Build package: `org.openapitools.codegen.languages.PhpClientCodegen` \ No newline at end of file diff --git a/README_Base.md b/README_Base.md index c00830d1..7288d2c5 100644 --- a/README_Base.md +++ b/README_Base.md @@ -63,5 +63,5 @@ Class | Method | HTTP request | Description This PHP package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: -- API version: `6.0` +- API version: `6.1` - Build package: `org.openapitools.codegen.languages.PhpClientCodegen` \ No newline at end of file diff --git a/README_File.md b/README_File.md index 12c80a4d..85337b70 100644 --- a/README_File.md +++ b/README_File.md @@ -19,5 +19,5 @@ Class | Method | HTTP request | Description This PHP package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: -- API version: `6.0` +- API version: `6.1` - Build package: `org.openapitools.codegen.languages.PhpClientCodegen` \ No newline at end of file diff --git a/README_PythonScheduler.md b/README_PythonScheduler.md index 885ba855..8602eb75 100644 --- a/README_PythonScheduler.md +++ b/README_PythonScheduler.md @@ -16,5 +16,5 @@ Class | Method | HTTP request | Description This PHP package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: -- API version: `6.0` +- API version: `6.1` - Build package: `org.openapitools.codegen.languages.PhpClientCodegen` \ No newline at end of file diff --git a/README_SysAdmin.md b/README_SysAdmin.md index 0444f152..f35fe7d6 100644 --- a/README_SysAdmin.md +++ b/README_SysAdmin.md @@ -62,6 +62,7 @@ Class | Method | HTTP request | Description *StatisticsApi* | [**getActiveUsersPerDay**](docs/SysAdmin/Api/StatisticsApi.md#getactiveusersperday) | **GET** /api/v2.1/admin/statistics/active-users/ | Get Active Users (per Day) *StatisticsApi* | [**getAutomationRules**](docs/SysAdmin/Api/StatisticsApi.md#getautomationrules) | **GET** /api/v2.1/admin/statistics/auto-rules/ | Get Automation Rules *StatisticsApi* | [**getExternalApps**](docs/SysAdmin/Api/StatisticsApi.md#getexternalapps) | **GET** /api/v2.1/admin/statistics/external-apps/ | Get External Apps +*StatisticsApi* | [**getOwnerOrTeamAIStatistics**](docs/SysAdmin/Api/StatisticsApi.md#getownerorteamaistatistics) | **GET** /api/v2.1/admin/statistics/ai/ | Get AI statistics by owner/team *StatisticsApi* | [**getScriptRunningCountByUser**](docs/SysAdmin/Api/StatisticsApi.md#getscriptrunningcountbyuser) | **GET** /api/v2.1/admin/statistics/scripts-running/ | Get Script Running Count by User *StatisticsApi* | [**listActiveUsersByDay**](docs/SysAdmin/Api/StatisticsApi.md#listactiveusersbyday) | **GET** /api/v2.1/admin/daily-active-users/ | List Active Users (one Day) *StatisticsApi* | [**listScriptTasks**](docs/SysAdmin/Api/StatisticsApi.md#listscripttasks) | **GET** /api/v2.1/admin/scripts-tasks/ | List Scripts Tasks @@ -107,5 +108,5 @@ Class | Method | HTTP request | Description This PHP package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: -- API version: `6.0` +- API version: `6.1` - Build package: `org.openapitools.codegen.languages.PhpClientCodegen` \ No newline at end of file diff --git a/README_TeamAmin.md b/README_TeamAmin.md index 13225641..e4b957c7 100644 --- a/README_TeamAmin.md +++ b/README_TeamAmin.md @@ -4,17 +4,23 @@ Class | Method | HTTP request | Description ------------ | ------------- | ------------- | ------------- +*ActivitiesLogsApi* | [**listAutomationLogs**](docs/TeamAdmin/Api/ActivitiesLogsApi.md#listautomationlogs) | **GET** /api/v2.1/org/{org_id}/admin/automation-logs/ | List Automation Logs *ActivitiesLogsApi* | [**listFileAccessLogs**](docs/TeamAdmin/Api/ActivitiesLogsApi.md#listfileaccesslogs) | **GET** /api/v2.1/org/{org_id}/admin/file-access-logs/ | List File Access Logs *ActivitiesLogsApi* | [**listGroupMemberAuditLogs**](docs/TeamAdmin/Api/ActivitiesLogsApi.md#listgroupmemberauditlogs) | **GET** /api/v2.1/org/{org_id}/admin/group-member-audit/ | List Group Member Audit Logs +*ActivitiesLogsApi* | [**listPythonRuns**](docs/TeamAdmin/Api/ActivitiesLogsApi.md#listpythonruns) | **GET** /api/v2.1/org/{org_id}/admin/python-runs/ | List Python Runs *ActivitiesLogsApi* | [**listTeamLogins**](docs/TeamAdmin/Api/ActivitiesLogsApi.md#listteamlogins) | **GET** /api/v2.1/org/{org_id}/admin/login-logs/ | List Team Logins *ActivitiesLogsApi* | [**listTeamOperationLog**](docs/TeamAdmin/Api/ActivitiesLogsApi.md#listteamoperationlog) | **GET** /api/v2.1/org/{org_id}/admin/admin-logs/ | List Team Operations *ActivitiesLogsApi* | [**listUserLogins**](docs/TeamAdmin/Api/ActivitiesLogsApi.md#listuserlogins) | **GET** /api/v2.1/org/{org_id}/admin/login-logs/{user_id}/ | List User Logins *BasesApi* | [**clearTeamTrashBin**](docs/TeamAdmin/Api/BasesApi.md#clearteamtrashbin) | **DELETE** /api/v2.1/org/{org_id}/admin/trash-dtables/ | Clear Team Trash Bin +*BasesApi* | [**deleteApiToken**](docs/TeamAdmin/Api/BasesApi.md#deleteapitoken) | **DELETE** /api/v2.1/org/{org_id}/admin/dtables/{base_uuid}/api-tokens/{app_name}/ | Delete API-Token *BasesApi* | [**deleteBase**](docs/TeamAdmin/Api/BasesApi.md#deletebase) | **DELETE** /api/v2.1/org/{org_id}/admin/dtables/{base_uuid}/ | Delete Base *BasesApi* | [**getBase**](docs/TeamAdmin/Api/BasesApi.md#getbase) | **GET** /api/v2.1/org/{org_id}/admin/dtables/{base_uuid}/ | Get Base +*BasesApi* | [**listApiTokens**](docs/TeamAdmin/Api/BasesApi.md#listapitokens) | **GET** /api/v2.1/org/{org_id}/admin/dtables/{base_uuid}/api-tokens/ | List API-Tokens +*BasesApi* | [**listApiTokensOfAllBases**](docs/TeamAdmin/Api/BasesApi.md#listapitokensofallbases) | **GET** /api/v2.1/org/{org_id}/admin/api-tokens/ | List API-Tokens of All Bases *BasesApi* | [**listBaseSharings**](docs/TeamAdmin/Api/BasesApi.md#listbasesharings) | **GET** /api/v2.1/org/{org_id}/admin/dtables/{base_uuid}/shares/ | List Base Sharings *BasesApi* | [**listBases**](docs/TeamAdmin/Api/BasesApi.md#listbases) | **GET** /api/v2.1/org/{org_id}/admin/dtables/ | List Bases (Team) *BasesApi* | [**listTrashBases**](docs/TeamAdmin/Api/BasesApi.md#listtrashbases) | **GET** /api/v2.1/org/{org_id}/admin/trash-dtables/ | List Trash Bases +*BasesApi* | [**listUsersBases**](docs/TeamAdmin/Api/BasesApi.md#listusersbases) | **GET** /api/v2.1/org/{org_id}/admin/users/{user_id}/dtables/ | List User's Bases *BasesApi* | [**restoreBaseFromTrash**](docs/TeamAdmin/Api/BasesApi.md#restorebasefromtrash) | **PUT** /api/v2.1/org/{org_id}/admin/trash-dtables/{base_uuid}/ | Restore Base from Trash *BasesApi* | [**searchBase**](docs/TeamAdmin/Api/BasesApi.md#searchbase) | **GET** /api/v2.1/org/{org_id}/admin/search-dtables/ | Search Base *CustomizingApi* | [**deleteTeamLogo**](docs/TeamAdmin/Api/CustomizingApi.md#deleteteamlogo) | **DELETE** /api/v2.1/org/{org_id}/admin/org-logo/ | Delete Team Logo @@ -31,6 +37,7 @@ Class | Method | HTTP request | Description *GroupsApi* | [**removeGroupMembers**](docs/TeamAdmin/Api/GroupsApi.md#removegroupmembers) | **DELETE** /api/v2.1/org/{org_id}/admin/groups/{group_id}/members/{user_id}/ | Remove Group Members *GroupsApi* | [**updateGroup**](docs/TeamAdmin/Api/GroupsApi.md#updategroup) | **PUT** /api/v2.1/org/{org_id}/admin/groups/{group_id}/ | Update Group *GroupsApi* | [**updateGroupMemberRole**](docs/TeamAdmin/Api/GroupsApi.md#updategroupmemberrole) | **PUT** /api/v2.1/org/{org_id}/admin/groups/{group_id}/members/{user_id}/ | Update Group Member Role +*InfoSettingsApi* | [**deleteTeam**](docs/TeamAdmin/Api/InfoSettingsApi.md#deleteteam) | **DELETE** /api/v2.1/org/admin/ | Delete Team *InfoSettingsApi* | [**getTeamInfo**](docs/TeamAdmin/Api/InfoSettingsApi.md#getteaminfo) | **GET** /api/v2.1/org/admin/info/ | Get Team Info *InfoSettingsApi* | [**getTeamSettings**](docs/TeamAdmin/Api/InfoSettingsApi.md#getteamsettings) | **GET** /api/v2.1/org/admin/settings/ | Get Team Settings *InfoSettingsApi* | [**updateTeam**](docs/TeamAdmin/Api/InfoSettingsApi.md#updateteam) | **PUT** /api/v2.1/org/admin/info/ | Update Team @@ -44,8 +51,16 @@ Class | Method | HTTP request | Description *SharingLinksApi* | [**deleteViewExternalLink**](docs/TeamAdmin/Api/SharingLinksApi.md#deleteviewexternallink) | **DELETE** /api/v2.1/org/{org_id}/admin/view-external-links/{view_external_link_token}/ | Delete View External Link *SharingLinksApi* | [**listBaseExternalLinks**](docs/TeamAdmin/Api/SharingLinksApi.md#listbaseexternallinks) | **GET** /api/v2.1/org/{org_id}/admin/external-links/ | List Base External Links *SharingLinksApi* | [**listInviteLinks**](docs/TeamAdmin/Api/SharingLinksApi.md#listinvitelinks) | **GET** /api/v2.1/org/{org_id}/admin/invite-links/ | List Invite Links +*SharingLinksApi* | [**listShares**](docs/TeamAdmin/Api/SharingLinksApi.md#listshares) | **GET** /api/v2.1/org/{org_id}/admin/shares/ | List Shares *SharingLinksApi* | [**listViewExternalLinks**](docs/TeamAdmin/Api/SharingLinksApi.md#listviewexternallinks) | **GET** /api/v2.1/org/{org_id}/admin/view-external-links/ | List View External Links *SharingLinksApi* | [**updateInviteLink**](docs/TeamAdmin/Api/SharingLinksApi.md#updateinvitelink) | **PUT** /api/v2.1/org/{org_id}/admin/invite-links/{invite_link_token}/ | Update Invite Link +*StatisticsApi* | [**getAdminLogStatisticsByDay**](docs/TeamAdmin/Api/StatisticsApi.md#getadminlogstatisticsbyday) | **GET** /api/v2.1/org/{org_id}/admin/statistics/admin-logs/by-day/ | Admin Logs (by Day) +*StatisticsApi* | [**getAutomationLogStatisticsByBase**](docs/TeamAdmin/Api/StatisticsApi.md#getautomationlogstatisticsbybase) | **GET** /api/v2.1/org/{org_id}/admin/statistics/automation-logs/by-base/ | Automation Logs (by Base) +*StatisticsApi* | [**getAutomationLogStatisticsByDay**](docs/TeamAdmin/Api/StatisticsApi.md#getautomationlogstatisticsbyday) | **GET** /api/v2.1/org/{org_id}/admin/statistics/automation-logs/by-day/ | Automation Logs (by Day) +*StatisticsApi* | [**getLoginLogStatisticsByDay**](docs/TeamAdmin/Api/StatisticsApi.md#getloginlogstatisticsbyday) | **GET** /api/v2.1/org/{org_id}/admin/statistics/login-logs/by-day/ | Login Logs (by Day) +*StatisticsApi* | [**getPythonRunStatisticsByBase**](docs/TeamAdmin/Api/StatisticsApi.md#getpythonrunstatisticsbybase) | **GET** /api/v2.1/org/{org_id}/admin/statistics/python-runs/by-base/ | Python Runs (by Base) +*StatisticsApi* | [**getPythonRunStatisticsByDay**](docs/TeamAdmin/Api/StatisticsApi.md#getpythonrunstatisticsbyday) | **GET** /api/v2.1/org/{org_id}/admin/statistics/python-runs/by-day/ | Python Runs (by Day) +*StatisticsApi* | [**getUserOrBaseAIStatistics**](docs/TeamAdmin/Api/StatisticsApi.md#getuserorbaseaistatistics) | **GET** /api/v2.1/org/{org_id}/admin/statistics/ai/ | Get AI statistics by user/base *UsersApi* | [**addUser**](docs/TeamAdmin/Api/UsersApi.md#adduser) | **POST** /api/v2.1/org/{org_id}/admin/users/ | Add User *UsersApi* | [**deleteUser**](docs/TeamAdmin/Api/UsersApi.md#deleteuser) | **DELETE** /api/v2.1/org/{org_id}/admin/users/{user_id}/ | Delete User *UsersApi* | [**disableTwoFactor**](docs/TeamAdmin/Api/UsersApi.md#disabletwofactor) | **DELETE** /api/v2.1/org/{org_id}/admin/users/{user_id}/two-factor-auth/ | Disable 2FA @@ -60,5 +75,5 @@ Class | Method | HTTP request | Description This PHP package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: -- API version: `6.0` +- API version: `6.1` - Build package: `org.openapitools.codegen.languages.PhpClientCodegen` \ No newline at end of file diff --git a/README_User.md b/README_User.md index 61698a02..e5ac2b1c 100644 --- a/README_User.md +++ b/README_User.md @@ -151,5 +151,5 @@ Class | Method | HTTP request | Description This PHP package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: -- API version: `6.0` +- API version: `6.1` - Build package: `org.openapitools.codegen.languages.PhpClientCodegen` \ No newline at end of file diff --git a/docs/SysAdmin/Api/PluginsApi.md b/docs/SysAdmin/Api/PluginsApi.md index 6b90371d..7e600a96 100644 --- a/docs/SysAdmin/Api/PluginsApi.md +++ b/docs/SysAdmin/Api/PluginsApi.md @@ -19,7 +19,7 @@ addPlugin($plugin): object Add Plugin -Add a plugin with a .zip file. This file could be retrieved from the internet, for example, from the [SeaTable Plugins Market](https://cloud.seatable.io/dtable/view-external-links/custom/plugins/). +Add a plugin with a .zip file. This file could be retrieved from the internet, for example, from the [SeaTable Plugins Market](https://cloud.seatable.io/apps/custom/plugin-archive). ### Example diff --git a/docs/SysAdmin/Api/StatisticsApi.md b/docs/SysAdmin/Api/StatisticsApi.md index d7b50738..4e58f935 100644 --- a/docs/SysAdmin/Api/StatisticsApi.md +++ b/docs/SysAdmin/Api/StatisticsApi.md @@ -7,6 +7,7 @@ All URIs are relative to https://cloud.seatable.io, except if the operation defi | [**getActiveUsersPerDay()**](StatisticsApi.md#getActiveUsersPerDay) | **GET** /api/v2.1/admin/statistics/active-users/ | Get Active Users (per Day) | | [**getAutomationRules()**](StatisticsApi.md#getAutomationRules) | **GET** /api/v2.1/admin/statistics/auto-rules/ | Get Automation Rules | | [**getExternalApps()**](StatisticsApi.md#getExternalApps) | **GET** /api/v2.1/admin/statistics/external-apps/ | Get External Apps | +| [**getOwnerOrTeamAIStatistics()**](StatisticsApi.md#getOwnerOrTeamAIStatistics) | **GET** /api/v2.1/admin/statistics/ai/ | Get AI statistics by owner/team | | [**getScriptRunningCountByUser()**](StatisticsApi.md#getScriptRunningCountByUser) | **GET** /api/v2.1/admin/statistics/scripts-running/ | Get Script Running Count by User | | [**listActiveUsersByDay()**](StatisticsApi.md#listActiveUsersByDay) | **GET** /api/v2.1/admin/daily-active-users/ | List Active Users (one Day) | | [**listScriptTasks()**](StatisticsApi.md#listScriptTasks) | **GET** /api/v2.1/admin/scripts-tasks/ | List Scripts Tasks | @@ -169,6 +170,61 @@ AccountTokenAuth +## `getOwnerOrTeamAIStatistics()` + +```php +getOwnerOrTeamAIStatistics($group_by, $date, $page, $per_page): object +``` + +Get AI statistics by owner/team + +Get AI usage statistics monthly by owner/team. + +### Example + +```php +setAccessToken('YOUR_TOKEN'); +$apiInstance = new SeaTable\Client\SysAdmin\StatisticsApi( + new GuzzleHttp\Client(), + $config +); +$group_by = owner; // string | Query by owner or organization +$date = 2025-01-01; // string | A date string in YYYY-MM-DD format +$page = 1; // int | The page number you want to start showing the entries. If no value is provided, 1 will be used. +$per_page = 25; // int | The number of results that should be returned. If no value is provided, 25 results will be returned. + +try { + $result = $apiInstance->getOwnerOrTeamAIStatistics($group_by, $date, $page, $per_page); + print_r($result); +} catch (Exception $e) { + echo 'Exception when calling StatisticsApi->getOwnerOrTeamAIStatistics: ', $e->getMessage(), PHP_EOL; +} +``` + +### Parameters + +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **group_by** | **string**| Query by owner or organization | | +| **date** | **string**| A date string in YYYY-MM-DD format | | +| **page** | **int**| The page number you want to start showing the entries. If no value is provided, 1 will be used. | [optional] | +| **per_page** | **int**| The number of results that should be returned. If no value is provided, 25 results will be returned. | [optional] | + +### Return type + +**object** + +### Authorization + +AccountTokenAuth + + + + ## `getScriptRunningCountByUser()` ```php diff --git a/docs/SysAdmin/Model/UpdateTeamRequest.md b/docs/SysAdmin/Model/UpdateTeamRequest.md index aa7b0e5b..4572c11e 100644 --- a/docs/SysAdmin/Model/UpdateTeamRequest.md +++ b/docs/SysAdmin/Model/UpdateTeamRequest.md @@ -9,4 +9,5 @@ Name | Type | Description | Notes **row_limit** | **int** | User's total row limit in number. For example 10000. | [optional] **max_user_number** | **string** | The maximum user number. | [optional] **asset_quota_mb** | **string** | The asset quota in MB. | [optional] +**monthly_automation_limit_per_user** | **int** | Monthly limit on the number of automation rules per user. | [optional] diff --git a/docs/SysAdmin/Model/UpdateUserRequest.md b/docs/SysAdmin/Model/UpdateUserRequest.md index 2b3fbcd2..af8ad401 100644 --- a/docs/SysAdmin/Model/UpdateUserRequest.md +++ b/docs/SysAdmin/Model/UpdateUserRequest.md @@ -17,4 +17,5 @@ Name | Type | Description | Notes **row_limit** | **int** | User's total row limit in number. For example 10000. | [optional] **quota_total** | **string** | Update their total quota in MB. | [optional] **asset_quota_mb** | **string** | The asset quota in MB. | [optional] +**monthly_automation_limit_per_user** | **int** | Monthly limit on the number of automation rules per user. | [optional] diff --git a/docs/TeamAdmin/Api/ActivitiesLogsApi.md b/docs/TeamAdmin/Api/ActivitiesLogsApi.md index b97f76cf..e3132225 100644 --- a/docs/TeamAdmin/Api/ActivitiesLogsApi.md +++ b/docs/TeamAdmin/Api/ActivitiesLogsApi.md @@ -4,13 +4,74 @@ All URIs are relative to https://cloud.seatable.io, except if the operation defi | Method | HTTP request | Description | | ------------- | ------------- | ------------- | +| [**listAutomationLogs()**](ActivitiesLogsApi.md#listAutomationLogs) | **GET** /api/v2.1/org/{org_id}/admin/automation-logs/ | List Automation Logs | | [**listFileAccessLogs()**](ActivitiesLogsApi.md#listFileAccessLogs) | **GET** /api/v2.1/org/{org_id}/admin/file-access-logs/ | List File Access Logs | | [**listGroupMemberAuditLogs()**](ActivitiesLogsApi.md#listGroupMemberAuditLogs) | **GET** /api/v2.1/org/{org_id}/admin/group-member-audit/ | List Group Member Audit Logs | +| [**listPythonRuns()**](ActivitiesLogsApi.md#listPythonRuns) | **GET** /api/v2.1/org/{org_id}/admin/python-runs/ | List Python Runs | | [**listTeamLogins()**](ActivitiesLogsApi.md#listTeamLogins) | **GET** /api/v2.1/org/{org_id}/admin/login-logs/ | List Team Logins | | [**listTeamOperationLog()**](ActivitiesLogsApi.md#listTeamOperationLog) | **GET** /api/v2.1/org/{org_id}/admin/admin-logs/ | List Team Operations | | [**listUserLogins()**](ActivitiesLogsApi.md#listUserLogins) | **GET** /api/v2.1/org/{org_id}/admin/login-logs/{user_id}/ | List User Logins | +## `listAutomationLogs()` + +```php +listAutomationLogs($org_id, $dtable_uuid, $start, $end, $page, $per_page): object +``` + +List Automation Logs + +Returns a list of automation logs inside a specific team. + +### Example + +```php +setAccessToken('YOUR_TOKEN'); +$apiInstance = new SeaTable\Client\TeamAdmin\ActivitiesLogsApi( + new GuzzleHttp\Client(), + $config +); +$org_id = 1; // int | The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. +$dtable_uuid = 5c264e76-0e5a-448a-9f34-580b551364ca; // string | The unique identifier of a base. +$start = 2025-11-01T06:00:00+01:00; // \DateTime | Start date in ISO format. +$end = 2025-11-30T18:00:00+01:00; // \DateTime | End date in ISO format. +$page = 1; // int | The page number you want to start showing the entries. If no value is provided, 1 will be used. +$per_page = 25; // int | The number of results that should be returned. If no value is provided, 25 results will be returned. + +try { + $result = $apiInstance->listAutomationLogs($org_id, $dtable_uuid, $start, $end, $page, $per_page); + print_r($result); +} catch (Exception $e) { + echo 'Exception when calling ActivitiesLogsApi->listAutomationLogs: ', $e->getMessage(), PHP_EOL; +} +``` + +### Parameters + +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **org_id** | **int**| The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. | | +| **dtable_uuid** | **string**| The unique identifier of a base. | [optional] | +| **start** | **\DateTime**| Start date in ISO format. | [optional] | +| **end** | **\DateTime**| End date in ISO format. | [optional] | +| **page** | **int**| The page number you want to start showing the entries. If no value is provided, 1 will be used. | [optional] | +| **per_page** | **int**| The number of results that should be returned. If no value is provided, 25 results will be returned. | [optional] | + +### Return type + +**object** + +### Authorization + +AccountTokenAuth + + + + ## `listFileAccessLogs()` ```php @@ -117,10 +178,69 @@ AccountTokenAuth +## `listPythonRuns()` + +```php +listPythonRuns($org_id, $dtable_uuid, $start, $end, $page, $per_page): object +``` + +List Python Runs + +Returns a list of python runs inside a specific team. + +### Example + +```php +setAccessToken('YOUR_TOKEN'); +$apiInstance = new SeaTable\Client\TeamAdmin\ActivitiesLogsApi( + new GuzzleHttp\Client(), + $config +); +$org_id = 1; // int | The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. +$dtable_uuid = 5c264e76-0e5a-448a-9f34-580b551364ca; // string | The unique identifier of a base. +$start = 2025-11-01T06:00:00+01:00; // \DateTime | Start date in ISO format. +$end = 2025-11-30T18:00:00+01:00; // \DateTime | End date in ISO format. +$page = 1; // int | The page number you want to start showing the entries. If no value is provided, 1 will be used. +$per_page = 25; // int | The number of results that should be returned. If no value is provided, 25 results will be returned. + +try { + $result = $apiInstance->listPythonRuns($org_id, $dtable_uuid, $start, $end, $page, $per_page); + print_r($result); +} catch (Exception $e) { + echo 'Exception when calling ActivitiesLogsApi->listPythonRuns: ', $e->getMessage(), PHP_EOL; +} +``` + +### Parameters + +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **org_id** | **int**| The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. | | +| **dtable_uuid** | **string**| The unique identifier of a base. | [optional] | +| **start** | **\DateTime**| Start date in ISO format. | [optional] | +| **end** | **\DateTime**| End date in ISO format. | [optional] | +| **page** | **int**| The page number you want to start showing the entries. If no value is provided, 1 will be used. | [optional] | +| **per_page** | **int**| The number of results that should be returned. If no value is provided, 25 results will be returned. | [optional] | + +### Return type + +**object** + +### Authorization + +AccountTokenAuth + + + + ## `listTeamLogins()` ```php -listTeamLogins($org_id, $page, $per_page): object +listTeamLogins($org_id, $page, $per_page, $status, $start, $end): object ``` List Team Logins @@ -142,9 +262,12 @@ $apiInstance = new SeaTable\Client\TeamAdmin\ActivitiesLogsApi( $org_id = 1; // int | The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. $page = 1; // int | The page number you want to start showing the entries. If no value is provided, 1 will be used. $per_page = 25; // int | The number of results that should be returned. If no value is provided, 25 results will be returned. +$status = success; // string | Set this to `success` to only return successful logins. By default, all logins are returned. +$start = 2025-11-01T06:00:00+01:00; // \DateTime | Start date in ISO format. +$end = 2025-11-30T18:00:00+01:00; // \DateTime | End date in ISO format. try { - $result = $apiInstance->listTeamLogins($org_id, $page, $per_page); + $result = $apiInstance->listTeamLogins($org_id, $page, $per_page, $status, $start, $end); print_r($result); } catch (Exception $e) { echo 'Exception when calling ActivitiesLogsApi->listTeamLogins: ', $e->getMessage(), PHP_EOL; @@ -158,6 +281,9 @@ try { | **org_id** | **int**| The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. | | | **page** | **int**| The page number you want to start showing the entries. If no value is provided, 1 will be used. | [optional] | | **per_page** | **int**| The number of results that should be returned. If no value is provided, 25 results will be returned. | [optional] | +| **status** | **string**| Set this to `success` to only return successful logins. By default, all logins are returned. | [optional] | +| **start** | **\DateTime**| Start date in ISO format. | [optional] | +| **end** | **\DateTime**| End date in ISO format. | [optional] | ### Return type @@ -173,7 +299,7 @@ AccountTokenAuth ## `listTeamOperationLog()` ```php -listTeamOperationLog($org_id, $page, $per_page): object +listTeamOperationLog($org_id, $page, $per_page, $operation_group, $start, $end): object ``` List Team Operations @@ -195,9 +321,12 @@ $apiInstance = new SeaTable\Client\TeamAdmin\ActivitiesLogsApi( $org_id = 1; // int | The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. $page = 1; // int | The page number you want to start showing the entries. If no value is provided, 1 will be used. $per_page = 25; // int | The number of results that should be returned. If no value is provided, 25 results will be returned. +$operation_group = user; // string | Filter by a specific operation group. By default, all operations are returned. +$start = 2025-11-01T06:00:00+01:00; // \DateTime | Start date in ISO format. +$end = 2025-11-30T18:00:00+01:00; // \DateTime | End date in ISO format. try { - $result = $apiInstance->listTeamOperationLog($org_id, $page, $per_page); + $result = $apiInstance->listTeamOperationLog($org_id, $page, $per_page, $operation_group, $start, $end); print_r($result); } catch (Exception $e) { echo 'Exception when calling ActivitiesLogsApi->listTeamOperationLog: ', $e->getMessage(), PHP_EOL; @@ -211,6 +340,9 @@ try { | **org_id** | **int**| The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. | | | **page** | **int**| The page number you want to start showing the entries. If no value is provided, 1 will be used. | [optional] | | **per_page** | **int**| The number of results that should be returned. If no value is provided, 25 results will be returned. | [optional] | +| **operation_group** | **string**| Filter by a specific operation group. By default, all operations are returned. | [optional] | +| **start** | **\DateTime**| Start date in ISO format. | [optional] | +| **end** | **\DateTime**| End date in ISO format. | [optional] | ### Return type diff --git a/docs/TeamAdmin/Api/BasesApi.md b/docs/TeamAdmin/Api/BasesApi.md index f51f1afb..775c0e1a 100644 --- a/docs/TeamAdmin/Api/BasesApi.md +++ b/docs/TeamAdmin/Api/BasesApi.md @@ -5,11 +5,15 @@ All URIs are relative to https://cloud.seatable.io, except if the operation defi | Method | HTTP request | Description | | ------------- | ------------- | ------------- | | [**clearTeamTrashBin()**](BasesApi.md#clearTeamTrashBin) | **DELETE** /api/v2.1/org/{org_id}/admin/trash-dtables/ | Clear Team Trash Bin | +| [**deleteApiToken()**](BasesApi.md#deleteApiToken) | **DELETE** /api/v2.1/org/{org_id}/admin/dtables/{base_uuid}/api-tokens/{app_name}/ | Delete API-Token | | [**deleteBase()**](BasesApi.md#deleteBase) | **DELETE** /api/v2.1/org/{org_id}/admin/dtables/{base_uuid}/ | Delete Base | | [**getBase()**](BasesApi.md#getBase) | **GET** /api/v2.1/org/{org_id}/admin/dtables/{base_uuid}/ | Get Base | +| [**listApiTokens()**](BasesApi.md#listApiTokens) | **GET** /api/v2.1/org/{org_id}/admin/dtables/{base_uuid}/api-tokens/ | List API-Tokens | +| [**listApiTokensOfAllBases()**](BasesApi.md#listApiTokensOfAllBases) | **GET** /api/v2.1/org/{org_id}/admin/api-tokens/ | List API-Tokens of All Bases | | [**listBaseSharings()**](BasesApi.md#listBaseSharings) | **GET** /api/v2.1/org/{org_id}/admin/dtables/{base_uuid}/shares/ | List Base Sharings | | [**listBases()**](BasesApi.md#listBases) | **GET** /api/v2.1/org/{org_id}/admin/dtables/ | List Bases (Team) | | [**listTrashBases()**](BasesApi.md#listTrashBases) | **GET** /api/v2.1/org/{org_id}/admin/trash-dtables/ | List Trash Bases | +| [**listUsersBases()**](BasesApi.md#listUsersBases) | **GET** /api/v2.1/org/{org_id}/admin/users/{user_id}/dtables/ | List User's Bases | | [**restoreBaseFromTrash()**](BasesApi.md#restoreBaseFromTrash) | **PUT** /api/v2.1/org/{org_id}/admin/trash-dtables/{base_uuid}/ | Restore Base from Trash | | [**searchBase()**](BasesApi.md#searchBase) | **GET** /api/v2.1/org/{org_id}/admin/search-dtables/ | Search Base | @@ -63,6 +67,59 @@ AccountTokenAuth +## `deleteApiToken()` + +```php +deleteApiToken($org_id, $base_uuid, $app_name): object +``` + +Delete API-Token + +Delete a specific API token from a base. The token is identified by its *app_name*. + +### Example + +```php +setAccessToken('YOUR_TOKEN'); +$apiInstance = new SeaTable\Client\TeamAdmin\BasesApi( + new GuzzleHttp\Client(), + $config +); +$org_id = 1; // int | The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. +$base_uuid = 5c264e76-0e5a-448a-9f34-580b551364ca; // string | The unique identifier of a base. Sometimes also called dtable_uuid. +$app_name = My App; // string | The name of your app. Every API-Token has a name to identify the purpose. The name of the app must be unique for every base. + +try { + $result = $apiInstance->deleteApiToken($org_id, $base_uuid, $app_name); + print_r($result); +} catch (Exception $e) { + echo 'Exception when calling BasesApi->deleteApiToken: ', $e->getMessage(), PHP_EOL; +} +``` + +### Parameters + +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **org_id** | **int**| The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. | | +| **base_uuid** | **string**| The unique identifier of a base. Sometimes also called dtable_uuid. | | +| **app_name** | **string**| The name of your app. Every API-Token has a name to identify the purpose. The name of the app must be unique for every base. | | + +### Return type + +**object** + +### Authorization + +AccountTokenAuth + + + + ## `deleteBase()` ```php @@ -165,6 +222,110 @@ AccountTokenAuth +## `listApiTokens()` + +```php +listApiTokens($org_id, $base_uuid): object +``` + +List API-Tokens + +List API tokens of a single base. + +### Example + +```php +setAccessToken('YOUR_TOKEN'); +$apiInstance = new SeaTable\Client\TeamAdmin\BasesApi( + new GuzzleHttp\Client(), + $config +); +$org_id = 1; // int | The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. +$base_uuid = 5c264e76-0e5a-448a-9f34-580b551364ca; // string | The unique identifier of a base. Sometimes also called dtable_uuid. + +try { + $result = $apiInstance->listApiTokens($org_id, $base_uuid); + print_r($result); +} catch (Exception $e) { + echo 'Exception when calling BasesApi->listApiTokens: ', $e->getMessage(), PHP_EOL; +} +``` + +### Parameters + +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **org_id** | **int**| The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. | | +| **base_uuid** | **string**| The unique identifier of a base. Sometimes also called dtable_uuid. | | + +### Return type + +**object** + +### Authorization + +AccountTokenAuth + + + + +## `listApiTokensOfAllBases()` + +```php +listApiTokensOfAllBases($org_id, $page, $per_page): object +``` + +List API-Tokens of All Bases + +List API tokens of all bases inside the team/organization. + +### Example + +```php +setAccessToken('YOUR_TOKEN'); +$apiInstance = new SeaTable\Client\TeamAdmin\BasesApi( + new GuzzleHttp\Client(), + $config +); +$org_id = 1; // int | The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. +$page = 1; // int | The page number you want to start showing the entries. If no value is provided, 1 will be used. +$per_page = 25; // int | The number of results that should be returned. If no value is provided, 25 results will be returned. + +try { + $result = $apiInstance->listApiTokensOfAllBases($org_id, $page, $per_page); + print_r($result); +} catch (Exception $e) { + echo 'Exception when calling BasesApi->listApiTokensOfAllBases: ', $e->getMessage(), PHP_EOL; +} +``` + +### Parameters + +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **org_id** | **int**| The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. | | +| **page** | **int**| The page number you want to start showing the entries. If no value is provided, 1 will be used. | [optional] | +| **per_page** | **int**| The number of results that should be returned. If no value is provided, 25 results will be returned. | [optional] | + +### Return type + +**object** + +### Authorization + +AccountTokenAuth + + + + ## `listBaseSharings()` ```php @@ -322,6 +483,61 @@ AccountTokenAuth +## `listUsersBases()` + +```php +listUsersBases($org_id, $user_id, $page, $per_page): object +``` + +List User's Bases + +List all the bases of a certain user by the user's ID. + +### Example + +```php +setAccessToken('YOUR_TOKEN'); +$apiInstance = new SeaTable\Client\TeamAdmin\BasesApi( + new GuzzleHttp\Client(), + $config +); +$org_id = 1; // int | The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. +$user_id = 123456789f1e4c8d8e1c31415867317c@auth.local; // string | The unique `user_id` in the form ...@auth.local. This is not the email address of the user. +$page = 1; // int | The page number you want to start showing the entries. If no value is provided, 1 will be used. +$per_page = 25; // int | The number of results that should be returned. If no value is provided, 25 results will be returned. + +try { + $result = $apiInstance->listUsersBases($org_id, $user_id, $page, $per_page); + print_r($result); +} catch (Exception $e) { + echo 'Exception when calling BasesApi->listUsersBases: ', $e->getMessage(), PHP_EOL; +} +``` + +### Parameters + +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **org_id** | **int**| The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. | | +| **user_id** | **string**| The unique `user_id` in the form ...@auth.local. This is not the email address of the user. | | +| **page** | **int**| The page number you want to start showing the entries. If no value is provided, 1 will be used. | [optional] | +| **per_page** | **int**| The number of results that should be returned. If no value is provided, 25 results will be returned. | [optional] | + +### Return type + +**object** + +### Authorization + +AccountTokenAuth + + + + ## `restoreBaseFromTrash()` ```php diff --git a/docs/TeamAdmin/Api/InfoSettingsApi.md b/docs/TeamAdmin/Api/InfoSettingsApi.md index 09ca387d..4e44a842 100644 --- a/docs/TeamAdmin/Api/InfoSettingsApi.md +++ b/docs/TeamAdmin/Api/InfoSettingsApi.md @@ -4,12 +4,59 @@ All URIs are relative to https://cloud.seatable.io, except if the operation defi | Method | HTTP request | Description | | ------------- | ------------- | ------------- | +| [**deleteTeam()**](InfoSettingsApi.md#deleteTeam) | **DELETE** /api/v2.1/org/admin/ | Delete Team | | [**getTeamInfo()**](InfoSettingsApi.md#getTeamInfo) | **GET** /api/v2.1/org/admin/info/ | Get Team Info | | [**getTeamSettings()**](InfoSettingsApi.md#getTeamSettings) | **GET** /api/v2.1/org/admin/settings/ | Get Team Settings | | [**updateTeam()**](InfoSettingsApi.md#updateTeam) | **PUT** /api/v2.1/org/admin/info/ | Update Team | | [**updateTeamSettings()**](InfoSettingsApi.md#updateTeamSettings) | **PUT** /api/v2.1/org/admin/settings/ | Update Team Settings | +## `deleteTeam()` + +```php +deleteTeam(): object +``` + +Delete Team + +Delete a team (organization) with its ID. This will eliminate the team! However, this won't delete the team users - but all its members will become team-less users in the system. + +### Example + +```php +setAccessToken('YOUR_TOKEN'); +$apiInstance = new SeaTable\Client\TeamAdmin\InfoSettingsApi( + new GuzzleHttp\Client(), + $config +); + +try { + $result = $apiInstance->deleteTeam(); + print_r($result); +} catch (Exception $e) { + echo 'Exception when calling InfoSettingsApi->deleteTeam: ', $e->getMessage(), PHP_EOL; +} +``` + +### Parameters + +This endpoint does not need any parameter. + +### Return type + +**object** + +### Authorization + +AccountTokenAuth + + + + ## `getTeamInfo()` ```php diff --git a/docs/TeamAdmin/Api/SharingLinksApi.md b/docs/TeamAdmin/Api/SharingLinksApi.md index 3784b89b..f6dfb96b 100644 --- a/docs/TeamAdmin/Api/SharingLinksApi.md +++ b/docs/TeamAdmin/Api/SharingLinksApi.md @@ -9,6 +9,7 @@ All URIs are relative to https://cloud.seatable.io, except if the operation defi | [**deleteViewExternalLink()**](SharingLinksApi.md#deleteViewExternalLink) | **DELETE** /api/v2.1/org/{org_id}/admin/view-external-links/{view_external_link_token}/ | Delete View External Link | | [**listBaseExternalLinks()**](SharingLinksApi.md#listBaseExternalLinks) | **GET** /api/v2.1/org/{org_id}/admin/external-links/ | List Base External Links | | [**listInviteLinks()**](SharingLinksApi.md#listInviteLinks) | **GET** /api/v2.1/org/{org_id}/admin/invite-links/ | List Invite Links | +| [**listShares()**](SharingLinksApi.md#listShares) | **GET** /api/v2.1/org/{org_id}/admin/shares/ | List Shares | | [**listViewExternalLinks()**](SharingLinksApi.md#listViewExternalLinks) | **GET** /api/v2.1/org/{org_id}/admin/view-external-links/ | List View External Links | | [**updateInviteLink()**](SharingLinksApi.md#updateInviteLink) | **PUT** /api/v2.1/org/{org_id}/admin/invite-links/{invite_link_token}/ | Update Invite Link | @@ -268,6 +269,55 @@ AccountTokenAuth +## `listShares()` + +```php +listShares($org_id): object +``` + +List Shares + +List all shares inside the given team/organization. This includes the following: - Bases shared to individual users - Bases shared to groups - Views shared to individual users - Views shared to groups + +### Example + +```php +setAccessToken('YOUR_TOKEN'); +$apiInstance = new SeaTable\Client\TeamAdmin\SharingLinksApi( + new GuzzleHttp\Client(), + $config +); +$org_id = 1; // int | The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. + +try { + $result = $apiInstance->listShares($org_id); + print_r($result); +} catch (Exception $e) { + echo 'Exception when calling SharingLinksApi->listShares: ', $e->getMessage(), PHP_EOL; +} +``` + +### Parameters + +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **org_id** | **int**| The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. | | + +### Return type + +**object** + +### Authorization + +AccountTokenAuth + + + + ## `listViewExternalLinks()` ```php diff --git a/docs/TeamAdmin/Api/StatisticsApi.md b/docs/TeamAdmin/Api/StatisticsApi.md new file mode 100644 index 00000000..88708f30 --- /dev/null +++ b/docs/TeamAdmin/Api/StatisticsApi.md @@ -0,0 +1,417 @@ +# SeaTable\Client\StatisticsApi + +All URIs are relative to https://cloud.seatable.io, except if the operation defines another base path. + +| Method | HTTP request | Description | +| ------------- | ------------- | ------------- | +| [**getAdminLogStatisticsByDay()**](StatisticsApi.md#getAdminLogStatisticsByDay) | **GET** /api/v2.1/org/{org_id}/admin/statistics/admin-logs/by-day/ | Admin Logs (by Day) | +| [**getAutomationLogStatisticsByBase()**](StatisticsApi.md#getAutomationLogStatisticsByBase) | **GET** /api/v2.1/org/{org_id}/admin/statistics/automation-logs/by-base/ | Automation Logs (by Base) | +| [**getAutomationLogStatisticsByDay()**](StatisticsApi.md#getAutomationLogStatisticsByDay) | **GET** /api/v2.1/org/{org_id}/admin/statistics/automation-logs/by-day/ | Automation Logs (by Day) | +| [**getLoginLogStatisticsByDay()**](StatisticsApi.md#getLoginLogStatisticsByDay) | **GET** /api/v2.1/org/{org_id}/admin/statistics/login-logs/by-day/ | Login Logs (by Day) | +| [**getPythonRunStatisticsByBase()**](StatisticsApi.md#getPythonRunStatisticsByBase) | **GET** /api/v2.1/org/{org_id}/admin/statistics/python-runs/by-base/ | Python Runs (by Base) | +| [**getPythonRunStatisticsByDay()**](StatisticsApi.md#getPythonRunStatisticsByDay) | **GET** /api/v2.1/org/{org_id}/admin/statistics/python-runs/by-day/ | Python Runs (by Day) | +| [**getUserOrBaseAIStatistics()**](StatisticsApi.md#getUserOrBaseAIStatistics) | **GET** /api/v2.1/org/{org_id}/admin/statistics/ai/ | Get AI statistics by user/base | + + +## `getAdminLogStatisticsByDay()` + +```php +getAdminLogStatisticsByDay($org_id, $start, $end, $page, $per_page): object +``` + +Admin Logs (by Day) + +Returns statistics about admin logs grouped by day. + +### Example + +```php +setAccessToken('YOUR_TOKEN'); +$apiInstance = new SeaTable\Client\TeamAdmin\StatisticsApi( + new GuzzleHttp\Client(), + $config +); +$org_id = 1; // int | The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. +$start = 2025-11-01T06:00:00+01:00; // \DateTime | Start date in ISO format. +$end = 2025-11-30T18:00:00+01:00; // \DateTime | End date in ISO format. +$page = 1; // int | The page number you want to start showing the entries. If no value is provided, 1 will be used. +$per_page = 25; // int | The number of results that should be returned. If no value is provided, 25 results will be returned. + +try { + $result = $apiInstance->getAdminLogStatisticsByDay($org_id, $start, $end, $page, $per_page); + print_r($result); +} catch (Exception $e) { + echo 'Exception when calling StatisticsApi->getAdminLogStatisticsByDay: ', $e->getMessage(), PHP_EOL; +} +``` + +### Parameters + +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **org_id** | **int**| The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. | | +| **start** | **\DateTime**| Start date in ISO format. | [optional] | +| **end** | **\DateTime**| End date in ISO format. | [optional] | +| **page** | **int**| The page number you want to start showing the entries. If no value is provided, 1 will be used. | [optional] | +| **per_page** | **int**| The number of results that should be returned. If no value is provided, 25 results will be returned. | [optional] | + +### Return type + +**object** + +### Authorization + +AccountTokenAuth + + + + +## `getAutomationLogStatisticsByBase()` + +```php +getAutomationLogStatisticsByBase($org_id, $start, $end, $page, $per_page): object +``` + +Automation Logs (by Base) + +Returns statistics about automation logs grouped by base. + +### Example + +```php +setAccessToken('YOUR_TOKEN'); +$apiInstance = new SeaTable\Client\TeamAdmin\StatisticsApi( + new GuzzleHttp\Client(), + $config +); +$org_id = 1; // int | The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. +$start = 2025-11-01T06:00:00+01:00; // \DateTime | Start date in ISO format. +$end = 2025-11-30T18:00:00+01:00; // \DateTime | End date in ISO format. +$page = 1; // int | The page number you want to start showing the entries. If no value is provided, 1 will be used. +$per_page = 25; // int | The number of results that should be returned. If no value is provided, 25 results will be returned. + +try { + $result = $apiInstance->getAutomationLogStatisticsByBase($org_id, $start, $end, $page, $per_page); + print_r($result); +} catch (Exception $e) { + echo 'Exception when calling StatisticsApi->getAutomationLogStatisticsByBase: ', $e->getMessage(), PHP_EOL; +} +``` + +### Parameters + +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **org_id** | **int**| The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. | | +| **start** | **\DateTime**| Start date in ISO format. | [optional] | +| **end** | **\DateTime**| End date in ISO format. | [optional] | +| **page** | **int**| The page number you want to start showing the entries. If no value is provided, 1 will be used. | [optional] | +| **per_page** | **int**| The number of results that should be returned. If no value is provided, 25 results will be returned. | [optional] | + +### Return type + +**object** + +### Authorization + +AccountTokenAuth + + + + +## `getAutomationLogStatisticsByDay()` + +```php +getAutomationLogStatisticsByDay($org_id, $dtable_uuid, $start, $end, $page, $per_page): object +``` + +Automation Logs (by Day) + +Returns statistics about automation logs grouped by day. + +### Example + +```php +setAccessToken('YOUR_TOKEN'); +$apiInstance = new SeaTable\Client\TeamAdmin\StatisticsApi( + new GuzzleHttp\Client(), + $config +); +$org_id = 1; // int | The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. +$dtable_uuid = 5c264e76-0e5a-448a-9f34-580b551364ca; // string | The unique identifier of a base. +$start = 2025-11-01T06:00:00+01:00; // \DateTime | Start date in ISO format. +$end = 2025-11-30T18:00:00+01:00; // \DateTime | End date in ISO format. +$page = 1; // int | The page number you want to start showing the entries. If no value is provided, 1 will be used. +$per_page = 25; // int | The number of results that should be returned. If no value is provided, 25 results will be returned. + +try { + $result = $apiInstance->getAutomationLogStatisticsByDay($org_id, $dtable_uuid, $start, $end, $page, $per_page); + print_r($result); +} catch (Exception $e) { + echo 'Exception when calling StatisticsApi->getAutomationLogStatisticsByDay: ', $e->getMessage(), PHP_EOL; +} +``` + +### Parameters + +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **org_id** | **int**| The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. | | +| **dtable_uuid** | **string**| The unique identifier of a base. | [optional] | +| **start** | **\DateTime**| Start date in ISO format. | [optional] | +| **end** | **\DateTime**| End date in ISO format. | [optional] | +| **page** | **int**| The page number you want to start showing the entries. If no value is provided, 1 will be used. | [optional] | +| **per_page** | **int**| The number of results that should be returned. If no value is provided, 25 results will be returned. | [optional] | + +### Return type + +**object** + +### Authorization + +AccountTokenAuth + + + + +## `getLoginLogStatisticsByDay()` + +```php +getLoginLogStatisticsByDay($org_id, $start, $end, $page, $per_page): object +``` + +Login Logs (by Day) + +Returns statistics about login logs grouped by day. + +### Example + +```php +setAccessToken('YOUR_TOKEN'); +$apiInstance = new SeaTable\Client\TeamAdmin\StatisticsApi( + new GuzzleHttp\Client(), + $config +); +$org_id = 1; // int | The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. +$start = 2025-11-01T06:00:00+01:00; // \DateTime | Start date in ISO format. +$end = 2025-11-30T18:00:00+01:00; // \DateTime | End date in ISO format. +$page = 1; // int | The page number you want to start showing the entries. If no value is provided, 1 will be used. +$per_page = 25; // int | The number of results that should be returned. If no value is provided, 25 results will be returned. + +try { + $result = $apiInstance->getLoginLogStatisticsByDay($org_id, $start, $end, $page, $per_page); + print_r($result); +} catch (Exception $e) { + echo 'Exception when calling StatisticsApi->getLoginLogStatisticsByDay: ', $e->getMessage(), PHP_EOL; +} +``` + +### Parameters + +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **org_id** | **int**| The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. | | +| **start** | **\DateTime**| Start date in ISO format. | [optional] | +| **end** | **\DateTime**| End date in ISO format. | [optional] | +| **page** | **int**| The page number you want to start showing the entries. If no value is provided, 1 will be used. | [optional] | +| **per_page** | **int**| The number of results that should be returned. If no value is provided, 25 results will be returned. | [optional] | + +### Return type + +**object** + +### Authorization + +AccountTokenAuth + + + + +## `getPythonRunStatisticsByBase()` + +```php +getPythonRunStatisticsByBase($org_id, $start, $end, $page, $per_page): object +``` + +Python Runs (by Base) + +Returns statistics about python runs grouped by base. + +### Example + +```php +setAccessToken('YOUR_TOKEN'); +$apiInstance = new SeaTable\Client\TeamAdmin\StatisticsApi( + new GuzzleHttp\Client(), + $config +); +$org_id = 1; // int | The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. +$start = 2025-11-01T06:00:00+01:00; // \DateTime | Start date in ISO format. +$end = 2025-11-30T18:00:00+01:00; // \DateTime | End date in ISO format. +$page = 1; // int | The page number you want to start showing the entries. If no value is provided, 1 will be used. +$per_page = 25; // int | The number of results that should be returned. If no value is provided, 25 results will be returned. + +try { + $result = $apiInstance->getPythonRunStatisticsByBase($org_id, $start, $end, $page, $per_page); + print_r($result); +} catch (Exception $e) { + echo 'Exception when calling StatisticsApi->getPythonRunStatisticsByBase: ', $e->getMessage(), PHP_EOL; +} +``` + +### Parameters + +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **org_id** | **int**| The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. | | +| **start** | **\DateTime**| Start date in ISO format. | [optional] | +| **end** | **\DateTime**| End date in ISO format. | [optional] | +| **page** | **int**| The page number you want to start showing the entries. If no value is provided, 1 will be used. | [optional] | +| **per_page** | **int**| The number of results that should be returned. If no value is provided, 25 results will be returned. | [optional] | + +### Return type + +**object** + +### Authorization + +AccountTokenAuth + + + + +## `getPythonRunStatisticsByDay()` + +```php +getPythonRunStatisticsByDay($org_id, $dtable_uuid, $start, $end, $page, $per_page): object +``` + +Python Runs (by Day) + +Returns statistics about python runs grouped by day. + +### Example + +```php +setAccessToken('YOUR_TOKEN'); +$apiInstance = new SeaTable\Client\TeamAdmin\StatisticsApi( + new GuzzleHttp\Client(), + $config +); +$org_id = 1; // int | The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. +$dtable_uuid = 5c264e76-0e5a-448a-9f34-580b551364ca; // string | The unique identifier of a base. +$start = 2025-11-01T06:00:00+01:00; // \DateTime | Start date in ISO format. +$end = 2025-11-30T18:00:00+01:00; // \DateTime | End date in ISO format. +$page = 1; // int | The page number you want to start showing the entries. If no value is provided, 1 will be used. +$per_page = 25; // int | The number of results that should be returned. If no value is provided, 25 results will be returned. + +try { + $result = $apiInstance->getPythonRunStatisticsByDay($org_id, $dtable_uuid, $start, $end, $page, $per_page); + print_r($result); +} catch (Exception $e) { + echo 'Exception when calling StatisticsApi->getPythonRunStatisticsByDay: ', $e->getMessage(), PHP_EOL; +} +``` + +### Parameters + +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **org_id** | **int**| The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. | | +| **dtable_uuid** | **string**| The unique identifier of a base. | [optional] | +| **start** | **\DateTime**| Start date in ISO format. | [optional] | +| **end** | **\DateTime**| End date in ISO format. | [optional] | +| **page** | **int**| The page number you want to start showing the entries. If no value is provided, 1 will be used. | [optional] | +| **per_page** | **int**| The number of results that should be returned. If no value is provided, 25 results will be returned. | [optional] | + +### Return type + +**object** + +### Authorization + +AccountTokenAuth + + + + +## `getUserOrBaseAIStatistics()` + +```php +getUserOrBaseAIStatistics($group_by, $date, $org_id, $page, $per_page): object +``` + +Get AI statistics by user/base + +Get AI usage statistics monthly by user/base. + +### Example + +```php +setAccessToken('YOUR_TOKEN'); +$apiInstance = new SeaTable\Client\TeamAdmin\StatisticsApi( + new GuzzleHttp\Client(), + $config +); +$group_by = owner; // string | Query by owner or Base +$date = 2025-01-01; // string | A date string in YYYY-MM-DD format +$org_id = 1; // int | The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. +$page = 1; // int | The page number you want to start showing the entries. If no value is provided, 1 will be used. +$per_page = 25; // int | The number of results that should be returned. If no value is provided, 25 results will be returned. + +try { + $result = $apiInstance->getUserOrBaseAIStatistics($group_by, $date, $org_id, $page, $per_page); + print_r($result); +} catch (Exception $e) { + echo 'Exception when calling StatisticsApi->getUserOrBaseAIStatistics: ', $e->getMessage(), PHP_EOL; +} +``` + +### Parameters + +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **group_by** | **string**| Query by owner or Base | | +| **date** | **string**| A date string in YYYY-MM-DD format | | +| **org_id** | **int**| The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. | | +| **page** | **int**| The page number you want to start showing the entries. If no value is provided, 1 will be used. | [optional] | +| **per_page** | **int**| The number of results that should be returned. If no value is provided, 25 results will be returned. | [optional] | + +### Return type + +**object** + +### Authorization + +AccountTokenAuth + + + diff --git a/generate_api.sh b/generate_api.sh index 12048715..8f24dd6c 100755 --- a/generate_api.sh +++ b/generate_api.sh @@ -11,7 +11,7 @@ rm -r ./test/* rm -r ./docs/* LOG_LEVEL="warn" -TAG="v7.15.0" +TAG="v7.18.0" # generate sysadmin docker run --rm \ diff --git a/lib/ApiException.php b/lib/ApiException.php index d68cb63b..5e5ca38f 100644 --- a/lib/ApiException.php +++ b/lib/ApiException.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/lib/Auth/APITokenApi.php b/lib/Auth/APITokenApi.php index 916f63dc..9c859252 100644 --- a/lib/Auth/APITokenApi.php +++ b/lib/Auth/APITokenApi.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -1723,6 +1723,14 @@ protected function createHttpClientOption() } } + if ($this->config->getCertFile()) { + $options[RequestOptions::CERT] = $this->config->getCertFile(); + } + + if ($this->config->getKeyFile()) { + $options[RequestOptions::SSL_KEY] = $this->config->getKeyFile(); + } + return $options; } diff --git a/lib/Auth/AccessToken.php b/lib/Auth/AccessToken.php index af8f8247..a3cc65d3 100644 --- a/lib/Auth/AccessToken.php +++ b/lib/Auth/AccessToken.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -352,11 +352,11 @@ public function setDtableUuid($dtable_uuid) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -364,12 +364,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -394,11 +394,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Auth/AccountToken.php b/lib/Auth/AccountToken.php index 5c18e3d3..bdb75b93 100644 --- a/lib/Auth/AccountToken.php +++ b/lib/Auth/AccountToken.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -333,11 +333,11 @@ public function setToken($token) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -345,12 +345,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -375,11 +375,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Auth/AccountTokenApi.php b/lib/Auth/AccountTokenApi.php index bd723232..5c22422d 100644 --- a/lib/Auth/AccountTokenApi.php +++ b/lib/Auth/AccountTokenApi.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -435,6 +435,14 @@ protected function createHttpClientOption() } } + if ($this->config->getCertFile()) { + $options[RequestOptions::CERT] = $this->config->getCertFile(); + } + + if ($this->config->getKeyFile()) { + $options[RequestOptions::SSL_KEY] = $this->config->getKeyFile(); + } + return $options; } diff --git a/lib/Auth/ApiToken.php b/lib/Auth/ApiToken.php index f4052463..fb1b35e3 100644 --- a/lib/Auth/ApiToken.php +++ b/lib/Auth/ApiToken.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -539,11 +539,11 @@ public function setPermission($permission) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -551,12 +551,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -581,11 +581,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Auth/ApiTokenList.php b/lib/Auth/ApiTokenList.php index ed142aea..63978308 100644 --- a/lib/Auth/ApiTokenList.php +++ b/lib/Auth/ApiTokenList.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -318,11 +318,11 @@ public function setApiTokens($api_tokens) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -330,12 +330,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -360,11 +360,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Auth/ApiTokenTemporary.php b/lib/Auth/ApiTokenTemporary.php index ea4ff6d8..d0c24cdc 100644 --- a/lib/Auth/ApiTokenTemporary.php +++ b/lib/Auth/ApiTokenTemporary.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -318,11 +318,11 @@ public function setApiToken($api_token) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -330,12 +330,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -360,11 +360,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Auth/AuthenticationPermission.php b/lib/Auth/AuthenticationPermission.php index b5b017f0..775b97d0 100644 --- a/lib/Auth/AuthenticationPermission.php +++ b/lib/Auth/AuthenticationPermission.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/lib/Auth/BaseTokenApi.php b/lib/Auth/BaseTokenApi.php index c4d3c136..44f5755a 100644 --- a/lib/Auth/BaseTokenApi.php +++ b/lib/Auth/BaseTokenApi.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -1005,6 +1005,14 @@ protected function createHttpClientOption() } } + if ($this->config->getCertFile()) { + $options[RequestOptions::CERT] = $this->config->getCertFile(); + } + + if ($this->config->getKeyFile()) { + $options[RequestOptions::SSL_KEY] = $this->config->getKeyFile(); + } + return $options; } diff --git a/lib/Auth/ModelInterface.php b/lib/Auth/ModelInterface.php index 7d611d8d..de754cda 100644 --- a/lib/Auth/ModelInterface.php +++ b/lib/Auth/ModelInterface.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/lib/Base/ActivitiesLogsApi.php b/lib/Base/ActivitiesLogsApi.php index f03e133b..f7353d73 100644 --- a/lib/Base/ActivitiesLogsApi.php +++ b/lib/Base/ActivitiesLogsApi.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -771,6 +771,14 @@ protected function createHttpClientOption() } } + if ($this->config->getCertFile()) { + $options[RequestOptions::CERT] = $this->config->getCertFile(); + } + + if ($this->config->getKeyFile()) { + $options[RequestOptions::SSL_KEY] = $this->config->getKeyFile(); + } + return $options; } diff --git a/lib/Base/AddSingleMultipleSelectOptions.php b/lib/Base/AddSingleMultipleSelectOptions.php index 73b7c08a..ad138eca 100644 --- a/lib/Base/AddSingleMultipleSelectOptions.php +++ b/lib/Base/AddSingleMultipleSelectOptions.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -394,11 +394,11 @@ public function setOptions($options) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -406,12 +406,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -436,11 +436,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/AddSingleMultipleSelectOptionsOptionsInner.php b/lib/Base/AddSingleMultipleSelectOptionsOptionsInner.php index 03fe293a..c903ab66 100644 --- a/lib/Base/AddSingleMultipleSelectOptionsOptionsInner.php +++ b/lib/Base/AddSingleMultipleSelectOptionsOptionsInner.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -385,11 +385,11 @@ public function setTextColor($text_color) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -397,12 +397,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -427,11 +427,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/AppendColumnsRequest.php b/lib/Base/AppendColumnsRequest.php index 5abcda15..e93fc9c2 100644 --- a/lib/Base/AppendColumnsRequest.php +++ b/lib/Base/AppendColumnsRequest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -351,11 +351,11 @@ public function setColumns($columns) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -363,12 +363,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -393,11 +393,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/AppendColumnsRequestColumnsInner.php b/lib/Base/AppendColumnsRequestColumnsInner.php index 1c2ea5be..464c183d 100644 --- a/lib/Base/AppendColumnsRequestColumnsInner.php +++ b/lib/Base/AppendColumnsRequestColumnsInner.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -469,11 +469,11 @@ public function setColumnData($column_data) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -481,12 +481,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -511,11 +511,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/AppendRow.php b/lib/Base/AppendRow.php index fd2a341d..9b7dfe73 100644 --- a/lib/Base/AppendRow.php +++ b/lib/Base/AppendRow.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -392,11 +392,11 @@ public function setApplyDefault($apply_default) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -404,12 +404,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -434,11 +434,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/AppendRows.php b/lib/Base/AppendRows.php index 7c0a810b..0391825c 100644 --- a/lib/Base/AppendRows.php +++ b/lib/Base/AppendRows.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -392,11 +392,11 @@ public function setApplyDefault($apply_default) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -404,12 +404,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -434,11 +434,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/ArchiveView.php b/lib/Base/ArchiveView.php index 06fdbdc6..6844395e 100644 --- a/lib/Base/ArchiveView.php +++ b/lib/Base/ArchiveView.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -357,11 +357,11 @@ public function setViewName($view_name) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -369,12 +369,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -399,11 +399,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/AutomaticFilterPredicate.php b/lib/Base/AutomaticFilterPredicate.php index bf906a8a..b0925190 100644 --- a/lib/Base/AutomaticFilterPredicate.php +++ b/lib/Base/AutomaticFilterPredicate.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/lib/Base/AutonumberColumn.php b/lib/Base/AutonumberColumn.php index 2fd80513..b13eaf62 100644 --- a/lib/Base/AutonumberColumn.php +++ b/lib/Base/AutonumberColumn.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -467,11 +467,11 @@ public function setColumnData($column_data) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -479,12 +479,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -509,11 +509,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/AutonumberColumnFormat.php b/lib/Base/AutonumberColumnFormat.php index 72ab8fb6..0f8aba54 100644 --- a/lib/Base/AutonumberColumnFormat.php +++ b/lib/Base/AutonumberColumnFormat.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -321,11 +321,11 @@ public function setFormat($format) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -333,12 +333,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -363,11 +363,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/AutonumberColumnWithTableName.php b/lib/Base/AutonumberColumnWithTableName.php index 4dce9a5b..64cefa42 100644 --- a/lib/Base/AutonumberColumnWithTableName.php +++ b/lib/Base/AutonumberColumnWithTableName.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -503,11 +503,11 @@ public function setColumnData($column_data) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -515,12 +515,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -545,11 +545,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/Base.php b/lib/Base/Base.php index 72afbeee..ed9961e2 100644 --- a/lib/Base/Base.php +++ b/lib/Base/Base.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -565,11 +565,11 @@ public function setIdRowMap($id_row_map) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -577,12 +577,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -607,11 +607,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/BaseInfoApi.php b/lib/Base/BaseInfoApi.php index 1ab244c1..c4253973 100644 --- a/lib/Base/BaseInfoApi.php +++ b/lib/Base/BaseInfoApi.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -693,6 +693,14 @@ protected function createHttpClientOption() } } + if ($this->config->getCertFile()) { + $options[RequestOptions::CERT] = $this->config->getCertFile(); + } + + if ($this->config->getKeyFile()) { + $options[RequestOptions::SSL_KEY] = $this->config->getKeyFile(); + } + return $options; } diff --git a/lib/Base/BigDataApi.php b/lib/Base/BigDataApi.php index f080eb45..9d98d970 100644 --- a/lib/Base/BigDataApi.php +++ b/lib/Base/BigDataApi.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -1575,6 +1575,14 @@ protected function createHttpClientOption() } } + if ($this->config->getCertFile()) { + $options[RequestOptions::CERT] = $this->config->getCertFile(); + } + + if ($this->config->getKeyFile()) { + $options[RequestOptions::SSL_KEY] = $this->config->getKeyFile(); + } + return $options; } diff --git a/lib/Base/ButtonColumn.php b/lib/Base/ButtonColumn.php index 0321fda9..23e6ea3b 100644 --- a/lib/Base/ButtonColumn.php +++ b/lib/Base/ButtonColumn.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -470,11 +470,11 @@ public function setColumnData($column_data) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -482,12 +482,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -512,11 +512,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/ButtonColumnFormat.php b/lib/Base/ButtonColumnFormat.php index 82419399..0c7f19ef 100644 --- a/lib/Base/ButtonColumnFormat.php +++ b/lib/Base/ButtonColumnFormat.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -546,11 +546,11 @@ public function setSelectedColumns($selected_columns) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -558,12 +558,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -588,11 +588,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/ButtonColumnFormatSelectedColumnsInner.php b/lib/Base/ButtonColumnFormatSelectedColumnsInner.php index 1cd9eb0c..2d1edc53 100644 --- a/lib/Base/ButtonColumnFormatSelectedColumnsInner.php +++ b/lib/Base/ButtonColumnFormatSelectedColumnsInner.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -351,11 +351,11 @@ public function setValue($value) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -363,12 +363,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -393,11 +393,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/ButtonColumnWithTableName.php b/lib/Base/ButtonColumnWithTableName.php index 13ca9fd3..11043425 100644 --- a/lib/Base/ButtonColumnWithTableName.php +++ b/lib/Base/ButtonColumnWithTableName.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -506,11 +506,11 @@ public function setColumnData($column_data) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -518,12 +518,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -548,11 +548,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/CheckboxColumn.php b/lib/Base/CheckboxColumn.php index 28cff9bc..53a8ac96 100644 --- a/lib/Base/CheckboxColumn.php +++ b/lib/Base/CheckboxColumn.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -433,11 +433,11 @@ public function setAnchorColumn($anchor_column) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -445,12 +445,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -475,11 +475,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/CheckboxColumnWithTableName.php b/lib/Base/CheckboxColumnWithTableName.php index 04d46a59..dc108053 100644 --- a/lib/Base/CheckboxColumnWithTableName.php +++ b/lib/Base/CheckboxColumnWithTableName.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -469,11 +469,11 @@ public function setAnchorColumn($anchor_column) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -481,12 +481,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -511,11 +511,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/CheckboxFilterPredicate.php b/lib/Base/CheckboxFilterPredicate.php index 78f8953a..8865cd13 100644 --- a/lib/Base/CheckboxFilterPredicate.php +++ b/lib/Base/CheckboxFilterPredicate.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/lib/Base/CollaboratorColumn.php b/lib/Base/CollaboratorColumn.php index 3533877f..1da1a007 100644 --- a/lib/Base/CollaboratorColumn.php +++ b/lib/Base/CollaboratorColumn.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -433,11 +433,11 @@ public function setAnchorColumn($anchor_column) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -445,12 +445,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -475,11 +475,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/CollaboratorColumnWithTableName.php b/lib/Base/CollaboratorColumnWithTableName.php index 44537f76..22ef34ee 100644 --- a/lib/Base/CollaboratorColumnWithTableName.php +++ b/lib/Base/CollaboratorColumnWithTableName.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -469,11 +469,11 @@ public function setAnchorColumn($anchor_column) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -481,12 +481,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -511,11 +511,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/CollaboratorFilterPredicate.php b/lib/Base/CollaboratorFilterPredicate.php index 47904121..477bced0 100644 --- a/lib/Base/CollaboratorFilterPredicate.php +++ b/lib/Base/CollaboratorFilterPredicate.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/lib/Base/ColumnsApi.php b/lib/Base/ColumnsApi.php index 2460cc88..b466217e 100644 --- a/lib/Base/ColumnsApi.php +++ b/lib/Base/ColumnsApi.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -2779,6 +2779,14 @@ protected function createHttpClientOption() } } + if ($this->config->getCertFile()) { + $options[RequestOptions::CERT] = $this->config->getCertFile(); + } + + if ($this->config->getKeyFile()) { + $options[RequestOptions::SSL_KEY] = $this->config->getKeyFile(); + } + return $options; } diff --git a/lib/Base/CreateRowComment.php b/lib/Base/CreateRowComment.php index 09b1ba98..83e45e64 100644 --- a/lib/Base/CreateRowComment.php +++ b/lib/Base/CreateRowComment.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -317,11 +317,11 @@ public function setComment($comment) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -329,12 +329,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -359,11 +359,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/CreateTableRequest.php b/lib/Base/CreateTableRequest.php index db3ca062..3d8650f7 100644 --- a/lib/Base/CreateTableRequest.php +++ b/lib/Base/CreateTableRequest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -357,11 +357,11 @@ public function setColumns($columns) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -369,12 +369,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -399,11 +399,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/CreateTableRequestColumnsInner.php b/lib/Base/CreateTableRequestColumnsInner.php index f486cc9c..23dd5dd0 100644 --- a/lib/Base/CreateTableRequestColumnsInner.php +++ b/lib/Base/CreateTableRequestColumnsInner.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -469,11 +469,11 @@ public function setColumnData($column_data) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -481,12 +481,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -511,11 +511,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/CreatorColumn.php b/lib/Base/CreatorColumn.php index 19c5b17d..5f02e70e 100644 --- a/lib/Base/CreatorColumn.php +++ b/lib/Base/CreatorColumn.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -433,11 +433,11 @@ public function setAnchorColumn($anchor_column) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -445,12 +445,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -475,11 +475,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/CreatorColumnWithTableName.php b/lib/Base/CreatorColumnWithTableName.php index b599bd1a..ca26ee24 100644 --- a/lib/Base/CreatorColumnWithTableName.php +++ b/lib/Base/CreatorColumnWithTableName.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -469,11 +469,11 @@ public function setAnchorColumn($anchor_column) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -481,12 +481,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -511,11 +511,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/CreatorFilterPredicate.php b/lib/Base/CreatorFilterPredicate.php index 308e1908..ee98854f 100644 --- a/lib/Base/CreatorFilterPredicate.php +++ b/lib/Base/CreatorFilterPredicate.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/lib/Base/CtimeColumn.php b/lib/Base/CtimeColumn.php index db72b586..a7a77882 100644 --- a/lib/Base/CtimeColumn.php +++ b/lib/Base/CtimeColumn.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -433,11 +433,11 @@ public function setAnchorColumn($anchor_column) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -445,12 +445,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -475,11 +475,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/CtimeColumnWithTableName.php b/lib/Base/CtimeColumnWithTableName.php index a44b0c5f..892e71a9 100644 --- a/lib/Base/CtimeColumnWithTableName.php +++ b/lib/Base/CtimeColumnWithTableName.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -469,11 +469,11 @@ public function setAnchorColumn($anchor_column) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -481,12 +481,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -511,11 +511,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/DateColumn.php b/lib/Base/DateColumn.php index e81f1d0a..4c06eeee 100644 --- a/lib/Base/DateColumn.php +++ b/lib/Base/DateColumn.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -467,11 +467,11 @@ public function setColumnData($column_data) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -479,12 +479,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -509,11 +509,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/DateColumnFormat.php b/lib/Base/DateColumnFormat.php index d1a3f116..1f559e49 100644 --- a/lib/Base/DateColumnFormat.php +++ b/lib/Base/DateColumnFormat.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -366,11 +366,11 @@ public function setFormat($format) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -378,12 +378,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -408,11 +408,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/DateColumnWithTableName.php b/lib/Base/DateColumnWithTableName.php index 99956d01..4e4fefbb 100644 --- a/lib/Base/DateColumnWithTableName.php +++ b/lib/Base/DateColumnWithTableName.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -503,11 +503,11 @@ public function setColumnData($column_data) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -515,12 +515,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -545,11 +545,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/DateFilterPredicate.php b/lib/Base/DateFilterPredicate.php index 7a5d20c3..d69c9993 100644 --- a/lib/Base/DateFilterPredicate.php +++ b/lib/Base/DateFilterPredicate.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/lib/Base/DateFilterTermModifier.php b/lib/Base/DateFilterTermModifier.php index 926bca18..519dd878 100644 --- a/lib/Base/DateFilterTermModifier.php +++ b/lib/Base/DateFilterTermModifier.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/lib/Base/DeleteColumn.php b/lib/Base/DeleteColumn.php index 99f0c1af..6278ab29 100644 --- a/lib/Base/DeleteColumn.php +++ b/lib/Base/DeleteColumn.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -366,11 +366,11 @@ public function setColumn($column) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -378,12 +378,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -408,11 +408,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/DeleteRow.php b/lib/Base/DeleteRow.php index 3e797808..cac521e8 100644 --- a/lib/Base/DeleteRow.php +++ b/lib/Base/DeleteRow.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -367,11 +367,11 @@ public function setRowId($row_id) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -379,12 +379,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -409,11 +409,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/DeleteRows.php b/lib/Base/DeleteRows.php index f319769d..ff8aba18 100644 --- a/lib/Base/DeleteRows.php +++ b/lib/Base/DeleteRows.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -358,11 +358,11 @@ public function setRowIds($row_ids) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -370,12 +370,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -400,11 +400,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/DeleteSelectOptions.php b/lib/Base/DeleteSelectOptions.php index c5c75ac7..872bc409 100644 --- a/lib/Base/DeleteSelectOptions.php +++ b/lib/Base/DeleteSelectOptions.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -403,11 +403,11 @@ public function setOptionNames($option_names) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -415,12 +415,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -445,11 +445,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/DeleteTable.php b/lib/Base/DeleteTable.php index a1991e50..00b708ec 100644 --- a/lib/Base/DeleteTable.php +++ b/lib/Base/DeleteTable.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -321,11 +321,11 @@ public function setTableName($table_name) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -333,12 +333,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -363,11 +363,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/DuplicateTable.php b/lib/Base/DuplicateTable.php index 10bcf98f..1dbf540e 100644 --- a/lib/Base/DuplicateTable.php +++ b/lib/Base/DuplicateTable.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -357,11 +357,11 @@ public function setIsDuplicateRecords($is_duplicate_records) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -369,12 +369,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -399,11 +399,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/DurationColumn.php b/lib/Base/DurationColumn.php index fe081abb..d7c590cd 100644 --- a/lib/Base/DurationColumn.php +++ b/lib/Base/DurationColumn.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -467,11 +467,11 @@ public function setColumnData($column_data) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -479,12 +479,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -509,11 +509,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/DurationColumnFormat.php b/lib/Base/DurationColumnFormat.php index c8e7afa4..8ebbb217 100644 --- a/lib/Base/DurationColumnFormat.php +++ b/lib/Base/DurationColumnFormat.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -420,11 +420,11 @@ public function setDurationFormat($duration_format) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -432,12 +432,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -462,11 +462,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/DurationColumnWithTableName.php b/lib/Base/DurationColumnWithTableName.php index b519b0c2..78331de7 100644 --- a/lib/Base/DurationColumnWithTableName.php +++ b/lib/Base/DurationColumnWithTableName.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -503,11 +503,11 @@ public function setColumnData($column_data) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -515,12 +515,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -545,11 +545,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/EmailColumn.php b/lib/Base/EmailColumn.php index 8ee2a714..e3ac3577 100644 --- a/lib/Base/EmailColumn.php +++ b/lib/Base/EmailColumn.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -433,11 +433,11 @@ public function setAnchorColumn($anchor_column) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -445,12 +445,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -475,11 +475,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/EmailColumnWithTableName.php b/lib/Base/EmailColumnWithTableName.php index ed4cc1a1..b229b001 100644 --- a/lib/Base/EmailColumnWithTableName.php +++ b/lib/Base/EmailColumnWithTableName.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -469,11 +469,11 @@ public function setAnchorColumn($anchor_column) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -481,12 +481,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -511,11 +511,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/EmailFilterPredicate.php b/lib/Base/EmailFilterPredicate.php index 26b42f0e..5061fd76 100644 --- a/lib/Base/EmailFilterPredicate.php +++ b/lib/Base/EmailFilterPredicate.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/lib/Base/FileColumn.php b/lib/Base/FileColumn.php index c256ac66..26638908 100644 --- a/lib/Base/FileColumn.php +++ b/lib/Base/FileColumn.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -433,11 +433,11 @@ public function setAnchorColumn($anchor_column) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -445,12 +445,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -475,11 +475,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/FileColumnWithTableName.php b/lib/Base/FileColumnWithTableName.php index 86ec819e..56fd24ff 100644 --- a/lib/Base/FileColumnWithTableName.php +++ b/lib/Base/FileColumnWithTableName.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -469,11 +469,11 @@ public function setAnchorColumn($anchor_column) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -481,12 +481,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -511,11 +511,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/FilterConjunction.php b/lib/Base/FilterConjunction.php index 58d55b0f..6acda3d8 100644 --- a/lib/Base/FilterConjunction.php +++ b/lib/Base/FilterConjunction.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/lib/Base/FiltersAutomatic.php b/lib/Base/FiltersAutomatic.php index ab19fd0d..1f712f3e 100644 --- a/lib/Base/FiltersAutomatic.php +++ b/lib/Base/FiltersAutomatic.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -385,11 +385,11 @@ public function setFilterTerm($filter_term) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -397,12 +397,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -427,11 +427,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/FiltersCheckbox.php b/lib/Base/FiltersCheckbox.php index 8fa782e6..f951e2c5 100644 --- a/lib/Base/FiltersCheckbox.php +++ b/lib/Base/FiltersCheckbox.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -385,11 +385,11 @@ public function setFilterTerm($filter_term) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -397,12 +397,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -427,11 +427,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/FiltersCollaborator.php b/lib/Base/FiltersCollaborator.php index d7956a8d..9a5f538a 100644 --- a/lib/Base/FiltersCollaborator.php +++ b/lib/Base/FiltersCollaborator.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -385,11 +385,11 @@ public function setFilterTerm($filter_term) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -397,12 +397,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -427,11 +427,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/FiltersCreated.php b/lib/Base/FiltersCreated.php index cdffa966..cad6d38e 100644 --- a/lib/Base/FiltersCreated.php +++ b/lib/Base/FiltersCreated.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -419,11 +419,11 @@ public function setFilterTermModifier($filter_term_modifier) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -431,12 +431,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -461,11 +461,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/FiltersCreator.php b/lib/Base/FiltersCreator.php index 017cb159..ff458a5e 100644 --- a/lib/Base/FiltersCreator.php +++ b/lib/Base/FiltersCreator.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -385,11 +385,11 @@ public function setFilterTerm($filter_term) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -397,12 +397,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -427,11 +427,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/FiltersDate.php b/lib/Base/FiltersDate.php index 6da3135c..1a436706 100644 --- a/lib/Base/FiltersDate.php +++ b/lib/Base/FiltersDate.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -428,11 +428,11 @@ public function setFilterTermModifier($filter_term_modifier) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -440,12 +440,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -470,11 +470,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/FiltersDateTime.php b/lib/Base/FiltersDateTime.php index eb832751..48b3c892 100644 --- a/lib/Base/FiltersDateTime.php +++ b/lib/Base/FiltersDateTime.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -419,11 +419,11 @@ public function setFilterTermModifier($filter_term_modifier) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -431,12 +431,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -461,11 +461,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/FiltersDuration.php b/lib/Base/FiltersDuration.php index ed861842..2266a00f 100644 --- a/lib/Base/FiltersDuration.php +++ b/lib/Base/FiltersDuration.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -385,11 +385,11 @@ public function setFilterTerm($filter_term) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -397,12 +397,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -427,11 +427,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/FiltersEditor.php b/lib/Base/FiltersEditor.php index bc146972..f49b45da 100644 --- a/lib/Base/FiltersEditor.php +++ b/lib/Base/FiltersEditor.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -385,11 +385,11 @@ public function setFilterTerm($filter_term) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -397,12 +397,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -427,11 +427,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/FiltersEmail.php b/lib/Base/FiltersEmail.php index dbaddda9..19fd3333 100644 --- a/lib/Base/FiltersEmail.php +++ b/lib/Base/FiltersEmail.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -385,11 +385,11 @@ public function setFilterTerm($filter_term) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -397,12 +397,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -427,11 +427,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/FiltersFile.php b/lib/Base/FiltersFile.php index 682792fc..0ac6b733 100644 --- a/lib/Base/FiltersFile.php +++ b/lib/Base/FiltersFile.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -385,11 +385,11 @@ public function setFilterTerm($filter_term) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -397,12 +397,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -427,11 +427,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/FiltersFormula.php b/lib/Base/FiltersFormula.php index efd87904..c91def4c 100644 --- a/lib/Base/FiltersFormula.php +++ b/lib/Base/FiltersFormula.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -385,11 +385,11 @@ public function setFilterTerm($filter_term) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -397,12 +397,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -427,11 +427,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/FiltersGeolocation.php b/lib/Base/FiltersGeolocation.php index 25dfc685..2848463d 100644 --- a/lib/Base/FiltersGeolocation.php +++ b/lib/Base/FiltersGeolocation.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -385,11 +385,11 @@ public function setFilterTerm($filter_term) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -397,12 +397,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -427,11 +427,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/FiltersImage.php b/lib/Base/FiltersImage.php index 8318ca47..3aceae43 100644 --- a/lib/Base/FiltersImage.php +++ b/lib/Base/FiltersImage.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -385,11 +385,11 @@ public function setFilterTerm($filter_term) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -397,12 +397,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -427,11 +427,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/FiltersLink.php b/lib/Base/FiltersLink.php index ad2e5b15..bbfb5bd1 100644 --- a/lib/Base/FiltersLink.php +++ b/lib/Base/FiltersLink.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -385,11 +385,11 @@ public function setFilterTerm($filter_term) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -397,12 +397,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -427,11 +427,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/FiltersLinkFormula.php b/lib/Base/FiltersLinkFormula.php index 55bd47c5..9b082788 100644 --- a/lib/Base/FiltersLinkFormula.php +++ b/lib/Base/FiltersLinkFormula.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -385,11 +385,11 @@ public function setFilterTerm($filter_term) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -397,12 +397,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -427,11 +427,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/FiltersLongText.php b/lib/Base/FiltersLongText.php index b5266fb3..88ac1a1a 100644 --- a/lib/Base/FiltersLongText.php +++ b/lib/Base/FiltersLongText.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -385,11 +385,11 @@ public function setFilterTerm($filter_term) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -397,12 +397,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -427,11 +427,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/FiltersModified.php b/lib/Base/FiltersModified.php index df1acb7f..85220849 100644 --- a/lib/Base/FiltersModified.php +++ b/lib/Base/FiltersModified.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -419,11 +419,11 @@ public function setFilterTermModifier($filter_term_modifier) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -431,12 +431,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -461,11 +461,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/FiltersMultiSelect.php b/lib/Base/FiltersMultiSelect.php index d9405a3a..2cef0afc 100644 --- a/lib/Base/FiltersMultiSelect.php +++ b/lib/Base/FiltersMultiSelect.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -385,11 +385,11 @@ public function setFilterTerm($filter_term) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -397,12 +397,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -427,11 +427,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/FiltersNumber.php b/lib/Base/FiltersNumber.php index 455d8d7f..fb2944ee 100644 --- a/lib/Base/FiltersNumber.php +++ b/lib/Base/FiltersNumber.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -385,11 +385,11 @@ public function setFilterTerm($filter_term) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -397,12 +397,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -427,11 +427,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/FiltersPercentage.php b/lib/Base/FiltersPercentage.php index 501df440..de24068c 100644 --- a/lib/Base/FiltersPercentage.php +++ b/lib/Base/FiltersPercentage.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -385,11 +385,11 @@ public function setFilterTerm($filter_term) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -397,12 +397,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -427,11 +427,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/FiltersRating.php b/lib/Base/FiltersRating.php index 9e5fcd04..a271bf8a 100644 --- a/lib/Base/FiltersRating.php +++ b/lib/Base/FiltersRating.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -385,11 +385,11 @@ public function setFilterTerm($filter_term) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -397,12 +397,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -427,11 +427,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/FiltersSingleSelect.php b/lib/Base/FiltersSingleSelect.php index 4eb77339..d0f874de 100644 --- a/lib/Base/FiltersSingleSelect.php +++ b/lib/Base/FiltersSingleSelect.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -385,11 +385,11 @@ public function setFilterTerm($filter_term) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -397,12 +397,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -427,11 +427,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/FiltersText.php b/lib/Base/FiltersText.php index d266340d..74735f3c 100644 --- a/lib/Base/FiltersText.php +++ b/lib/Base/FiltersText.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -385,11 +385,11 @@ public function setFilterTerm($filter_term) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -397,12 +397,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -427,11 +427,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/FiltersUrl.php b/lib/Base/FiltersUrl.php index 94f2a82f..8fee562b 100644 --- a/lib/Base/FiltersUrl.php +++ b/lib/Base/FiltersUrl.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -385,11 +385,11 @@ public function setFilterTerm($filter_term) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -397,12 +397,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -427,11 +427,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/FormulaColumn.php b/lib/Base/FormulaColumn.php index 430e2719..5a5aa282 100644 --- a/lib/Base/FormulaColumn.php +++ b/lib/Base/FormulaColumn.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -470,11 +470,11 @@ public function setColumnData($column_data) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -482,12 +482,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -512,11 +512,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/FormulaColumnFormat.php b/lib/Base/FormulaColumnFormat.php index 786e12dd..d23fc416 100644 --- a/lib/Base/FormulaColumnFormat.php +++ b/lib/Base/FormulaColumnFormat.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -321,11 +321,11 @@ public function setFormula($formula) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -333,12 +333,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -363,11 +363,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/FormulaColumnWithTableName.php b/lib/Base/FormulaColumnWithTableName.php index 33872fdf..0040feda 100644 --- a/lib/Base/FormulaColumnWithTableName.php +++ b/lib/Base/FormulaColumnWithTableName.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -506,11 +506,11 @@ public function setColumnData($column_data) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -518,12 +518,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -548,11 +548,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/FreezeUnfreezeColumn.php b/lib/Base/FreezeUnfreezeColumn.php index a556c857..65c9310e 100644 --- a/lib/Base/FreezeUnfreezeColumn.php +++ b/lib/Base/FreezeUnfreezeColumn.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -472,11 +472,11 @@ public function setFrozen($frozen) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -484,12 +484,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -514,11 +514,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/GenerateSnapshot.php b/lib/Base/GenerateSnapshot.php index aa5b2b62..34ae5b74 100644 --- a/lib/Base/GenerateSnapshot.php +++ b/lib/Base/GenerateSnapshot.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -317,11 +317,11 @@ public function setDtableName($dtable_name) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -329,12 +329,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -359,11 +359,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/GeoColumnFormat.php b/lib/Base/GeoColumnFormat.php index 2a493895..600e822b 100644 --- a/lib/Base/GeoColumnFormat.php +++ b/lib/Base/GeoColumnFormat.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -352,11 +352,11 @@ public function setGeoFormat($geo_format) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -364,12 +364,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -394,11 +394,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/GeolocationColumn.php b/lib/Base/GeolocationColumn.php index 1d72ffbb..291b6aaa 100644 --- a/lib/Base/GeolocationColumn.php +++ b/lib/Base/GeolocationColumn.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -467,11 +467,11 @@ public function setColumnData($column_data) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -479,12 +479,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -509,11 +509,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/GeolocationColumnWithTableName.php b/lib/Base/GeolocationColumnWithTableName.php index b6e7a7c0..38099cc9 100644 --- a/lib/Base/GeolocationColumnWithTableName.php +++ b/lib/Base/GeolocationColumnWithTableName.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -503,11 +503,11 @@ public function setColumnData($column_data) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -515,12 +515,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -545,11 +545,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/ImageColumn.php b/lib/Base/ImageColumn.php index 961ebb03..9def4b48 100644 --- a/lib/Base/ImageColumn.php +++ b/lib/Base/ImageColumn.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -433,11 +433,11 @@ public function setAnchorColumn($anchor_column) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -445,12 +445,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -475,11 +475,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/ImageColumnWithTableName.php b/lib/Base/ImageColumnWithTableName.php index f31913fb..135edd4d 100644 --- a/lib/Base/ImageColumnWithTableName.php +++ b/lib/Base/ImageColumnWithTableName.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -469,11 +469,11 @@ public function setAnchorColumn($anchor_column) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -481,12 +481,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -511,11 +511,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/ImageFilterPredicate.php b/lib/Base/ImageFilterPredicate.php index 1e479f14..03a26e24 100644 --- a/lib/Base/ImageFilterPredicate.php +++ b/lib/Base/ImageFilterPredicate.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/lib/Base/InsertColumnRequest.php b/lib/Base/InsertColumnRequest.php index f5a7fbf5..39b85051 100644 --- a/lib/Base/InsertColumnRequest.php +++ b/lib/Base/InsertColumnRequest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -506,11 +506,11 @@ public function setColumnData($column_data) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -518,12 +518,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -548,11 +548,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/InsertRow.php b/lib/Base/InsertRow.php index 8be3d8e3..9c43a86b 100644 --- a/lib/Base/InsertRow.php +++ b/lib/Base/InsertRow.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -496,11 +496,11 @@ public function setApplyDefault($apply_default) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -508,12 +508,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -538,11 +538,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/InsertRowsIntoBigData.php b/lib/Base/InsertRowsIntoBigData.php index 951eb738..2d6aebc2 100644 --- a/lib/Base/InsertRowsIntoBigData.php +++ b/lib/Base/InsertRowsIntoBigData.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -357,11 +357,11 @@ public function setRows($rows) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -369,12 +369,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -399,11 +399,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/LastModifierColumn.php b/lib/Base/LastModifierColumn.php index 4d69e43e..3f4a0432 100644 --- a/lib/Base/LastModifierColumn.php +++ b/lib/Base/LastModifierColumn.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -433,11 +433,11 @@ public function setAnchorColumn($anchor_column) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -445,12 +445,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -475,11 +475,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/LastModifierColumnWithTableName.php b/lib/Base/LastModifierColumnWithTableName.php index e3620e1d..73c8f92d 100644 --- a/lib/Base/LastModifierColumnWithTableName.php +++ b/lib/Base/LastModifierColumnWithTableName.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -469,11 +469,11 @@ public function setAnchorColumn($anchor_column) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -481,12 +481,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -511,11 +511,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/LinkColumn.php b/lib/Base/LinkColumn.php index ac5f2e1e..d3d45586 100644 --- a/lib/Base/LinkColumn.php +++ b/lib/Base/LinkColumn.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -470,11 +470,11 @@ public function setColumnData($column_data) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -482,12 +482,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -512,11 +512,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/LinkColumnFormat.php b/lib/Base/LinkColumnFormat.php index ee1f54bb..5bad17fd 100644 --- a/lib/Base/LinkColumnFormat.php +++ b/lib/Base/LinkColumnFormat.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -358,11 +358,11 @@ public function setOtherTable($other_table) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -370,12 +370,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -400,11 +400,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/LinkColumnWithTableName.php b/lib/Base/LinkColumnWithTableName.php index b5e3a694..be323bfe 100644 --- a/lib/Base/LinkColumnWithTableName.php +++ b/lib/Base/LinkColumnWithTableName.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -506,11 +506,11 @@ public function setColumnData($column_data) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -518,12 +518,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -548,11 +548,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/LinkFilterPredicate.php b/lib/Base/LinkFilterPredicate.php index 07da2a53..bdcac6fb 100644 --- a/lib/Base/LinkFilterPredicate.php +++ b/lib/Base/LinkFilterPredicate.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/lib/Base/LinkFormulaColumn.php b/lib/Base/LinkFormulaColumn.php index ff42718f..67a2def8 100644 --- a/lib/Base/LinkFormulaColumn.php +++ b/lib/Base/LinkFormulaColumn.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -470,11 +470,11 @@ public function setColumnData($column_data) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -482,12 +482,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -512,11 +512,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/LinkFormulaColumnColumnData.php b/lib/Base/LinkFormulaColumnColumnData.php index 14edf794..7e4d3eff 100644 --- a/lib/Base/LinkFormulaColumnColumnData.php +++ b/lib/Base/LinkFormulaColumnColumnData.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -648,11 +648,11 @@ public function setComparisonColumn($comparison_column) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -660,12 +660,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -690,11 +690,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/LinkFormulaColumnCountLinksFormat.php b/lib/Base/LinkFormulaColumnCountLinksFormat.php index 97234fab..874ff86f 100644 --- a/lib/Base/LinkFormulaColumnCountLinksFormat.php +++ b/lib/Base/LinkFormulaColumnCountLinksFormat.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -390,11 +390,11 @@ public function setLinkColumn($link_column) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -402,12 +402,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -432,11 +432,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/LinkFormulaColumnFindmaxFormat.php b/lib/Base/LinkFormulaColumnFindmaxFormat.php index 39f6f980..d1e31bb9 100644 --- a/lib/Base/LinkFormulaColumnFindmaxFormat.php +++ b/lib/Base/LinkFormulaColumnFindmaxFormat.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -464,11 +464,11 @@ public function setComparisonColumn($comparison_column) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -476,12 +476,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -506,11 +506,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/LinkFormulaColumnFindminFormat.php b/lib/Base/LinkFormulaColumnFindminFormat.php index 2ca4c4e7..e43c950a 100644 --- a/lib/Base/LinkFormulaColumnFindminFormat.php +++ b/lib/Base/LinkFormulaColumnFindminFormat.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -464,11 +464,11 @@ public function setComparisonColumn($comparison_column) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -476,12 +476,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -506,11 +506,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/LinkFormulaColumnLookupFormat.php b/lib/Base/LinkFormulaColumnLookupFormat.php index 0ef48574..ce24390d 100644 --- a/lib/Base/LinkFormulaColumnLookupFormat.php +++ b/lib/Base/LinkFormulaColumnLookupFormat.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -461,11 +461,11 @@ public function setLevel2LinkedColumn($level2_linked_column) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -473,12 +473,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -503,11 +503,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/LinkFormulaColumnRollupFormat.php b/lib/Base/LinkFormulaColumnRollupFormat.php index 353b257a..e5dd3ca4 100644 --- a/lib/Base/LinkFormulaColumnRollupFormat.php +++ b/lib/Base/LinkFormulaColumnRollupFormat.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -504,11 +504,11 @@ public function setSummaryMethod($summary_method) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -516,12 +516,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -546,11 +546,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/LinkFormulaColumnWithTableName.php b/lib/Base/LinkFormulaColumnWithTableName.php index e74f0949..f84255ac 100644 --- a/lib/Base/LinkFormulaColumnWithTableName.php +++ b/lib/Base/LinkFormulaColumnWithTableName.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -506,11 +506,11 @@ public function setColumnData($column_data) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -518,12 +518,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -548,11 +548,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/LinksApi.php b/lib/Base/LinksApi.php index 6ce69e36..a70502ff 100644 --- a/lib/Base/LinksApi.php +++ b/lib/Base/LinksApi.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -1883,6 +1883,14 @@ protected function createHttpClientOption() } } + if ($this->config->getCertFile()) { + $options[RequestOptions::CERT] = $this->config->getCertFile(); + } + + if ($this->config->getKeyFile()) { + $options[RequestOptions::SSL_KEY] = $this->config->getKeyFile(); + } + return $options; } diff --git a/lib/Base/ListRowLinks.php b/lib/Base/ListRowLinks.php index becf9984..09553f53 100644 --- a/lib/Base/ListRowLinks.php +++ b/lib/Base/ListRowLinks.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -394,11 +394,11 @@ public function setRows($rows) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -406,12 +406,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -436,11 +436,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/ListRowLinksRowsInner.php b/lib/Base/ListRowLinksRowsInner.php index 06ffe3c2..24ae0164 100644 --- a/lib/Base/ListRowLinksRowsInner.php +++ b/lib/Base/ListRowLinksRowsInner.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -397,11 +397,11 @@ public function setLimit($limit) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -409,12 +409,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -439,11 +439,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/LongTextColumn.php b/lib/Base/LongTextColumn.php index d551db33..54f362da 100644 --- a/lib/Base/LongTextColumn.php +++ b/lib/Base/LongTextColumn.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -433,11 +433,11 @@ public function setAnchorColumn($anchor_column) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -445,12 +445,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -475,11 +475,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/LongTextColumnWithTableName.php b/lib/Base/LongTextColumnWithTableName.php index 8672be8a..b34d84ea 100644 --- a/lib/Base/LongTextColumnWithTableName.php +++ b/lib/Base/LongTextColumnWithTableName.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -469,11 +469,11 @@ public function setAnchorColumn($anchor_column) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -481,12 +481,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -511,11 +511,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/MatchLinkColumns.php b/lib/Base/MatchLinkColumns.php index 40739524..471172fd 100644 --- a/lib/Base/MatchLinkColumns.php +++ b/lib/Base/MatchLinkColumns.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -373,11 +373,11 @@ public function setMatchingKeys($matching_keys) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -385,12 +385,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -415,11 +415,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/MatchLinkColumnsMatchingKeysInner.php b/lib/Base/MatchLinkColumnsMatchingKeysInner.php index 8199b315..5148d76d 100644 --- a/lib/Base/MatchLinkColumnsMatchingKeysInner.php +++ b/lib/Base/MatchLinkColumnsMatchingKeysInner.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -351,11 +351,11 @@ public function setTable2Key($table2_key) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -363,12 +363,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -393,11 +393,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/ModelInterface.php b/lib/Base/ModelInterface.php index 4092882b..3d3054c5 100644 --- a/lib/Base/ModelInterface.php +++ b/lib/Base/ModelInterface.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/lib/Base/MoveColumn.php b/lib/Base/MoveColumn.php index 8759de90..c93283ab 100644 --- a/lib/Base/MoveColumn.php +++ b/lib/Base/MoveColumn.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -472,11 +472,11 @@ public function setTargetColumn($target_column) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -484,12 +484,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -514,11 +514,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/MoveRowsToNormalBackendRequest.php b/lib/Base/MoveRowsToNormalBackendRequest.php index 85ddb931..5b3a401b 100644 --- a/lib/Base/MoveRowsToNormalBackendRequest.php +++ b/lib/Base/MoveRowsToNormalBackendRequest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -351,11 +351,11 @@ public function setRowIds($row_ids) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -363,12 +363,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -393,11 +393,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/MtimeColumn.php b/lib/Base/MtimeColumn.php index c7937e8a..2e452c63 100644 --- a/lib/Base/MtimeColumn.php +++ b/lib/Base/MtimeColumn.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -433,11 +433,11 @@ public function setAnchorColumn($anchor_column) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -445,12 +445,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -475,11 +475,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/MtimeColumnWithTableName.php b/lib/Base/MtimeColumnWithTableName.php index aa11be6b..cbdeb4a1 100644 --- a/lib/Base/MtimeColumnWithTableName.php +++ b/lib/Base/MtimeColumnWithTableName.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -469,11 +469,11 @@ public function setAnchorColumn($anchor_column) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -481,12 +481,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -511,11 +511,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/MultipleSelectColumn.php b/lib/Base/MultipleSelectColumn.php index 08728647..d74e42dc 100644 --- a/lib/Base/MultipleSelectColumn.php +++ b/lib/Base/MultipleSelectColumn.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -467,11 +467,11 @@ public function setColumnData($column_data) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -479,12 +479,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -509,11 +509,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/MultipleSelectColumnWithTableName.php b/lib/Base/MultipleSelectColumnWithTableName.php index 09f90f9f..7ef32cb8 100644 --- a/lib/Base/MultipleSelectColumnWithTableName.php +++ b/lib/Base/MultipleSelectColumnWithTableName.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -503,11 +503,11 @@ public function setColumnData($column_data) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -515,12 +515,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -545,11 +545,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/MultipleSelectFilterPredicate.php b/lib/Base/MultipleSelectFilterPredicate.php index c43366f3..0dfed88e 100644 --- a/lib/Base/MultipleSelectFilterPredicate.php +++ b/lib/Base/MultipleSelectFilterPredicate.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/lib/Base/NewView.php b/lib/Base/NewView.php index 45e119e6..500ee0d8 100644 --- a/lib/Base/NewView.php +++ b/lib/Base/NewView.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -427,11 +427,11 @@ public function setIsLocked($is_locked) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -439,12 +439,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -469,11 +469,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/NotificationsApi.php b/lib/Base/NotificationsApi.php index 49f740b3..23243069 100644 --- a/lib/Base/NotificationsApi.php +++ b/lib/Base/NotificationsApi.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -1593,6 +1593,14 @@ protected function createHttpClientOption() } } + if ($this->config->getCertFile()) { + $options[RequestOptions::CERT] = $this->config->getCertFile(); + } + + if ($this->config->getKeyFile()) { + $options[RequestOptions::SSL_KEY] = $this->config->getKeyFile(); + } + return $options; } diff --git a/lib/Base/NumberColumn.php b/lib/Base/NumberColumn.php index d85710b4..fe4b51bf 100644 --- a/lib/Base/NumberColumn.php +++ b/lib/Base/NumberColumn.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -467,11 +467,11 @@ public function setColumnData($column_data) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -479,12 +479,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -509,11 +509,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/NumberColumnFormat.php b/lib/Base/NumberColumnFormat.php index e8162970..df3f4e97 100644 --- a/lib/Base/NumberColumnFormat.php +++ b/lib/Base/NumberColumnFormat.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -500,11 +500,11 @@ public function setThousands($thousands) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -512,12 +512,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -542,11 +542,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/NumberColumnWithTableName.php b/lib/Base/NumberColumnWithTableName.php index 6850fc23..f7e8b846 100644 --- a/lib/Base/NumberColumnWithTableName.php +++ b/lib/Base/NumberColumnWithTableName.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -503,11 +503,11 @@ public function setColumnData($column_data) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -515,12 +515,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -545,11 +545,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/NumberFilterPredicate.php b/lib/Base/NumberFilterPredicate.php index ea11fcce..c34c110b 100644 --- a/lib/Base/NumberFilterPredicate.php +++ b/lib/Base/NumberFilterPredicate.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/lib/Base/RatingColumn.php b/lib/Base/RatingColumn.php index de9f140d..e1771977 100644 --- a/lib/Base/RatingColumn.php +++ b/lib/Base/RatingColumn.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -470,11 +470,11 @@ public function setColumnData($column_data) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -482,12 +482,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -512,11 +512,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/RatingColumnFormat.php b/lib/Base/RatingColumnFormat.php index 6ecdd430..3b64cbc2 100644 --- a/lib/Base/RatingColumnFormat.php +++ b/lib/Base/RatingColumnFormat.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -449,11 +449,11 @@ public function setRateStyleType($rate_style_type) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -461,12 +461,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -491,11 +491,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/RatingColumnWithTableName.php b/lib/Base/RatingColumnWithTableName.php index 6aefa119..bcc84c16 100644 --- a/lib/Base/RatingColumnWithTableName.php +++ b/lib/Base/RatingColumnWithTableName.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -506,11 +506,11 @@ public function setColumnData($column_data) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -518,12 +518,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -548,11 +548,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/RatingFilterTerm.php b/lib/Base/RatingFilterTerm.php index 2fdd3981..fa97beb8 100644 --- a/lib/Base/RatingFilterTerm.php +++ b/lib/Base/RatingFilterTerm.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/lib/Base/RenameColumn.php b/lib/Base/RenameColumn.php index 20c4fee7..e8c9bdf0 100644 --- a/lib/Base/RenameColumn.php +++ b/lib/Base/RenameColumn.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -472,11 +472,11 @@ public function setNewColumnName($new_column_name) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -484,12 +484,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -514,11 +514,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/RenameTable.php b/lib/Base/RenameTable.php index 733bed09..9700df0c 100644 --- a/lib/Base/RenameTable.php +++ b/lib/Base/RenameTable.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -358,11 +358,11 @@ public function setNewTableName($new_table_name) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -370,12 +370,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -400,11 +400,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/ResizeColumn.php b/lib/Base/ResizeColumn.php index 4dd40842..b5aecae5 100644 --- a/lib/Base/ResizeColumn.php +++ b/lib/Base/ResizeColumn.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -472,11 +472,11 @@ public function setNewColumnWidth($new_column_width) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -484,12 +484,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -514,11 +514,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/RowCommentsApi.php b/lib/Base/RowCommentsApi.php index aa5307fa..353a3a9f 100644 --- a/lib/Base/RowCommentsApi.php +++ b/lib/Base/RowCommentsApi.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -1917,6 +1917,14 @@ protected function createHttpClientOption() } } + if ($this->config->getCertFile()) { + $options[RequestOptions::CERT] = $this->config->getCertFile(); + } + + if ($this->config->getKeyFile()) { + $options[RequestOptions::SSL_KEY] = $this->config->getKeyFile(); + } + return $options; } diff --git a/lib/Base/RowLinkCreateUpdateDelete.php b/lib/Base/RowLinkCreateUpdateDelete.php index 7a7307e0..98f29e0a 100644 --- a/lib/Base/RowLinkCreateUpdateDelete.php +++ b/lib/Base/RowLinkCreateUpdateDelete.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -464,11 +464,11 @@ public function setOtherRowsIdsMap($other_rows_ids_map) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -476,12 +476,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -506,11 +506,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/Rows.php b/lib/Base/Rows.php index 2c08e292..9bf6aad2 100644 --- a/lib/Base/Rows.php +++ b/lib/Base/Rows.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -321,11 +321,11 @@ public function setRows($rows) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -333,12 +333,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -363,11 +363,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/RowsApi.php b/lib/Base/RowsApi.php index 47e136b5..3541b722 100644 --- a/lib/Base/RowsApi.php +++ b/lib/Base/RowsApi.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -2585,6 +2585,14 @@ protected function createHttpClientOption() } } + if ($this->config->getCertFile()) { + $options[RequestOptions::CERT] = $this->config->getCertFile(); + } + + if ($this->config->getKeyFile()) { + $options[RequestOptions::SSL_KEY] = $this->config->getKeyFile(); + } + return $options; } diff --git a/lib/Base/RowsWithTableName.php b/lib/Base/RowsWithTableName.php index 01c78d22..8b1160b2 100644 --- a/lib/Base/RowsWithTableName.php +++ b/lib/Base/RowsWithTableName.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -357,11 +357,11 @@ public function setRows($rows) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -369,12 +369,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -399,11 +399,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/SelectColumnFormat.php b/lib/Base/SelectColumnFormat.php index 86b6ffb7..9388478a 100644 --- a/lib/Base/SelectColumnFormat.php +++ b/lib/Base/SelectColumnFormat.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -318,11 +318,11 @@ public function setOptions($options) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -330,12 +330,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -360,11 +360,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/SelectColumnFormatOptionsInner.php b/lib/Base/SelectColumnFormatOptionsInner.php index 32cfc478..a1ebbc03 100644 --- a/lib/Base/SelectColumnFormatOptionsInner.php +++ b/lib/Base/SelectColumnFormatOptionsInner.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -490,11 +490,11 @@ public function setBorderColor($border_color) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -502,12 +502,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -532,11 +532,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/SendToastNotificationRequest.php b/lib/Base/SendToastNotificationRequest.php index 58be68d6..514775b0 100644 --- a/lib/Base/SendToastNotificationRequest.php +++ b/lib/Base/SendToastNotificationRequest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -421,11 +421,11 @@ public function setDetail($detail) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -433,12 +433,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -463,11 +463,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/SendToastNotificationRequestDetail.php b/lib/Base/SendToastNotificationRequestDetail.php index b712d13b..6990667a 100644 --- a/lib/Base/SendToastNotificationRequestDetail.php +++ b/lib/Base/SendToastNotificationRequestDetail.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -317,11 +317,11 @@ public function setMsg($msg) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -329,12 +329,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -359,11 +359,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/SingleSelectColumn.php b/lib/Base/SingleSelectColumn.php index d5ec3370..281f27e2 100644 --- a/lib/Base/SingleSelectColumn.php +++ b/lib/Base/SingleSelectColumn.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -467,11 +467,11 @@ public function setColumnData($column_data) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -479,12 +479,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -509,11 +509,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/SingleSelectColumnWithTableName.php b/lib/Base/SingleSelectColumnWithTableName.php index 1327aaf8..bf5df9dc 100644 --- a/lib/Base/SingleSelectColumnWithTableName.php +++ b/lib/Base/SingleSelectColumnWithTableName.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -503,11 +503,11 @@ public function setColumnData($column_data) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -515,12 +515,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -545,11 +545,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/SingleSelectFilterPredicate.php b/lib/Base/SingleSelectFilterPredicate.php index c2aba748..9ab00eab 100644 --- a/lib/Base/SingleSelectFilterPredicate.php +++ b/lib/Base/SingleSelectFilterPredicate.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/lib/Base/SnapshotsApi.php b/lib/Base/SnapshotsApi.php index a0643c75..1b3a71f4 100644 --- a/lib/Base/SnapshotsApi.php +++ b/lib/Base/SnapshotsApi.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -428,6 +428,14 @@ protected function createHttpClientOption() } } + if ($this->config->getCertFile()) { + $options[RequestOptions::CERT] = $this->config->getCertFile(); + } + + if ($this->config->getKeyFile()) { + $options[RequestOptions::SSL_KEY] = $this->config->getKeyFile(); + } + return $options; } diff --git a/lib/Base/SortType.php b/lib/Base/SortType.php index 264bb46a..93dbe262 100644 --- a/lib/Base/SortType.php +++ b/lib/Base/SortType.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/lib/Base/SortsInner.php b/lib/Base/SortsInner.php index 51080eaf..d8a7b1e8 100644 --- a/lib/Base/SortsInner.php +++ b/lib/Base/SortsInner.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -351,11 +351,11 @@ public function setSortType($sort_type) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -363,12 +363,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -393,11 +393,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/SqlQuery.php b/lib/Base/SqlQuery.php index 31cf931f..a3fc0d0d 100644 --- a/lib/Base/SqlQuery.php +++ b/lib/Base/SqlQuery.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -422,11 +422,11 @@ public function setServerOnly($server_only) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -434,12 +434,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -464,11 +464,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/SqlQueryParametersInner.php b/lib/Base/SqlQueryParametersInner.php index c3bb0684..38c1e6bb 100644 --- a/lib/Base/SqlQueryParametersInner.php +++ b/lib/Base/SqlQueryParametersInner.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -289,11 +289,11 @@ public function valid() /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -301,12 +301,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -331,11 +331,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/SqlQueryResponse.php b/lib/Base/SqlQueryResponse.php index de3540e2..9ca39ab5 100644 --- a/lib/Base/SqlQueryResponse.php +++ b/lib/Base/SqlQueryResponse.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -385,11 +385,11 @@ public function setSuccess($success) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -397,12 +397,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -427,11 +427,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/StringFilterPredicate.php b/lib/Base/StringFilterPredicate.php index 3bb57a60..b00a40bd 100644 --- a/lib/Base/StringFilterPredicate.php +++ b/lib/Base/StringFilterPredicate.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/lib/Base/TableNameObject.php b/lib/Base/TableNameObject.php index cfda1dca..6576d96a 100644 --- a/lib/Base/TableNameObject.php +++ b/lib/Base/TableNameObject.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -320,11 +320,11 @@ public function setTableName($table_name) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -332,12 +332,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -362,11 +362,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/TableWithRowIds.php b/lib/Base/TableWithRowIds.php index 5b7d2492..a1a336d5 100644 --- a/lib/Base/TableWithRowIds.php +++ b/lib/Base/TableWithRowIds.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -357,11 +357,11 @@ public function setRowIds($row_ids) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -369,12 +369,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -399,11 +399,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/TablesApi.php b/lib/Base/TablesApi.php index 0ece66c8..3915e940 100644 --- a/lib/Base/TablesApi.php +++ b/lib/Base/TablesApi.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -1301,6 +1301,14 @@ protected function createHttpClientOption() } } + if ($this->config->getCertFile()) { + $options[RequestOptions::CERT] = $this->config->getCertFile(); + } + + if ($this->config->getKeyFile()) { + $options[RequestOptions::SSL_KEY] = $this->config->getKeyFile(); + } + return $options; } diff --git a/lib/Base/TextColumn.php b/lib/Base/TextColumn.php index 838bd417..317f4e50 100644 --- a/lib/Base/TextColumn.php +++ b/lib/Base/TextColumn.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -433,11 +433,11 @@ public function setAnchorColumn($anchor_column) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -445,12 +445,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -475,11 +475,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/TextColumnWithTableName.php b/lib/Base/TextColumnWithTableName.php index 1e016855..1b21e8ee 100644 --- a/lib/Base/TextColumnWithTableName.php +++ b/lib/Base/TextColumnWithTableName.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -469,11 +469,11 @@ public function setAnchorColumn($anchor_column) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -481,12 +481,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -511,11 +511,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/UpdateColumn.php b/lib/Base/UpdateColumn.php index 8d01814b..5bfa23ac 100644 --- a/lib/Base/UpdateColumn.php +++ b/lib/Base/UpdateColumn.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -654,11 +654,11 @@ public function setFrozen($frozen) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -666,12 +666,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -696,11 +696,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/UpdateColumnType.php b/lib/Base/UpdateColumnType.php index 114b100f..ec365364 100644 --- a/lib/Base/UpdateColumnType.php +++ b/lib/Base/UpdateColumnType.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -506,11 +506,11 @@ public function setColumnData($column_data) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -518,12 +518,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -548,11 +548,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/UpdateComment.php b/lib/Base/UpdateComment.php index ef473ccd..69b9c02b 100644 --- a/lib/Base/UpdateComment.php +++ b/lib/Base/UpdateComment.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -320,11 +320,11 @@ public function setOptions($options) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -332,12 +332,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -362,11 +362,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/UpdateCommentOptions.php b/lib/Base/UpdateCommentOptions.php index 3efc7606..c6cd7e43 100644 --- a/lib/Base/UpdateCommentOptions.php +++ b/lib/Base/UpdateCommentOptions.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -385,11 +385,11 @@ public function setResolved($resolved) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -397,12 +397,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -427,11 +427,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/UpdateRow.php b/lib/Base/UpdateRow.php index 3edaf8ad..e02c7b5e 100644 --- a/lib/Base/UpdateRow.php +++ b/lib/Base/UpdateRow.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -404,11 +404,11 @@ public function setRow($row) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -416,12 +416,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -446,11 +446,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/UpdateRows.php b/lib/Base/UpdateRows.php index 9bc871aa..c4a19082 100644 --- a/lib/Base/UpdateRows.php +++ b/lib/Base/UpdateRows.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -358,11 +358,11 @@ public function setUpdates($updates) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -370,12 +370,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -400,11 +400,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/UpdateRowsUpdatesInner.php b/lib/Base/UpdateRowsUpdatesInner.php index 489fc166..caa940b8 100644 --- a/lib/Base/UpdateRowsUpdatesInner.php +++ b/lib/Base/UpdateRowsUpdatesInner.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -360,11 +360,11 @@ public function setRow($row) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -372,12 +372,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -402,11 +402,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/UpdateSingleMultipleSelectOptions.php b/lib/Base/UpdateSingleMultipleSelectOptions.php index 95a91b67..542bbda2 100644 --- a/lib/Base/UpdateSingleMultipleSelectOptions.php +++ b/lib/Base/UpdateSingleMultipleSelectOptions.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -428,11 +428,11 @@ public function setReturnOptions($return_options) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -440,12 +440,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -470,11 +470,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/UpdateSingleMultipleSelectOptionsOptionsInner.php b/lib/Base/UpdateSingleMultipleSelectOptionsOptionsInner.php index e6dca112..f0cda21b 100644 --- a/lib/Base/UpdateSingleMultipleSelectOptionsOptionsInner.php +++ b/lib/Base/UpdateSingleMultipleSelectOptionsOptionsInner.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -422,11 +422,11 @@ public function setName($name) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -434,12 +434,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -464,11 +464,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/UpdateView.php b/lib/Base/UpdateView.php index 2d915a2d..3d0c47a9 100644 --- a/lib/Base/UpdateView.php +++ b/lib/Base/UpdateView.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -521,11 +521,11 @@ public function setHiddenColumns($hidden_columns) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -533,12 +533,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -563,11 +563,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/UpdateViewFiltersInner.php b/lib/Base/UpdateViewFiltersInner.php index 89f6c0b2..3e2032bf 100644 --- a/lib/Base/UpdateViewFiltersInner.php +++ b/lib/Base/UpdateViewFiltersInner.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -453,11 +453,11 @@ public function setEmailFilterPredicate($email_filter_predicate) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -465,12 +465,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -495,11 +495,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/UrlColumn.php b/lib/Base/UrlColumn.php index 89c50a1e..05d93a6b 100644 --- a/lib/Base/UrlColumn.php +++ b/lib/Base/UrlColumn.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -433,11 +433,11 @@ public function setAnchorColumn($anchor_column) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -445,12 +445,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -475,11 +475,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/UrlColumnWithTableName.php b/lib/Base/UrlColumnWithTableName.php index 3fbcfa98..5c8ee6e5 100644 --- a/lib/Base/UrlColumnWithTableName.php +++ b/lib/Base/UrlColumnWithTableName.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -469,11 +469,11 @@ public function setAnchorColumn($anchor_column) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -481,12 +481,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -511,11 +511,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/Base/ViewsApi.php b/lib/Base/ViewsApi.php index fdfd944b..9ca599f9 100644 --- a/lib/Base/ViewsApi.php +++ b/lib/Base/ViewsApi.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -1718,6 +1718,14 @@ protected function createHttpClientOption() } } + if ($this->config->getCertFile()) { + $options[RequestOptions::CERT] = $this->config->getCertFile(); + } + + if ($this->config->getKeyFile()) { + $options[RequestOptions::SSL_KEY] = $this->config->getKeyFile(); + } + return $options; } diff --git a/lib/Configuration.php b/lib/Configuration.php index 521f4ec8..c8bf1ff1 100644 --- a/lib/Configuration.php +++ b/lib/Configuration.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -122,6 +122,20 @@ class Configuration */ protected $tempFolderPath; + /** + * Path to a certificate file, for mTLS + * + * @var string + */ + protected $certFile; + + /** + * Path to a key file, for mTLS + * + * @var string + */ + protected $keyFile; + /** * Constructor */ @@ -395,6 +409,49 @@ public function getTempFolderPath() return $this->tempFolderPath; } + /** + * Sets the certificate file path, for mTLS + * + * @return $this + */ + public function setCertFile($certFile) + { + $this->certFile = $certFile; + return $this; + } + + /** + * Gets the certificate file path, for mTLS + * + * @return string Certificate file path + */ + public function getCertFile() + { + return $this->certFile; + } + + /** + * Sets the certificate key path, for mTLS + * + * @return $this + */ + public function setKeyFile($keyFile) + { + $this->keyFile = $keyFile; + return $this; + } + + /** + * Gets the certificate key path, for mTLS + * + * @return string Certificate key path + */ + public function getKeyFile() + { + return $this->keyFile; + } + + /** * Gets the default configuration instance * @@ -431,7 +488,7 @@ public static function toDebugReport() $report = 'PHP SDK (SeaTable\Client) Debug Report:' . PHP_EOL; $report .= ' OS: ' . php_uname() . PHP_EOL; $report .= ' PHP Version: ' . PHP_VERSION . PHP_EOL; - $report .= ' The version of the OpenAPI document: 6.0' . PHP_EOL; + $report .= ' The version of the OpenAPI document: 6.1' . PHP_EOL; $report .= ' Temp Folder Path: ' . self::getDefaultConfiguration()->getTempFolderPath() . PHP_EOL; return $report; diff --git a/lib/File/FilesImagesApi.php b/lib/File/FilesImagesApi.php index adf40ac2..4f935d34 100644 --- a/lib/File/FilesImagesApi.php +++ b/lib/File/FilesImagesApi.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -1286,6 +1286,14 @@ protected function createHttpClientOption() } } + if ($this->config->getCertFile()) { + $options[RequestOptions::CERT] = $this->config->getCertFile(); + } + + if ($this->config->getKeyFile()) { + $options[RequestOptions::SSL_KEY] = $this->config->getKeyFile(); + } + return $options; } diff --git a/lib/File/FilesImagesCustomFolderApi.php b/lib/File/FilesImagesCustomFolderApi.php index db1491be..315084a0 100644 --- a/lib/File/FilesImagesCustomFolderApi.php +++ b/lib/File/FilesImagesCustomFolderApi.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -1538,6 +1538,14 @@ protected function createHttpClientOption() } } + if ($this->config->getCertFile()) { + $options[RequestOptions::CERT] = $this->config->getCertFile(); + } + + if ($this->config->getKeyFile()) { + $options[RequestOptions::SSL_KEY] = $this->config->getKeyFile(); + } + return $options; } diff --git a/lib/File/ModelInterface.php b/lib/File/ModelInterface.php index afa82435..15639264 100644 --- a/lib/File/ModelInterface.php +++ b/lib/File/ModelInterface.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/lib/FormDataProcessor.php b/lib/FormDataProcessor.php index 5384a28e..83c6f9b7 100644 --- a/lib/FormDataProcessor.php +++ b/lib/FormDataProcessor.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/lib/HeaderSelector.php b/lib/HeaderSelector.php index 42c0d749..e5097fec 100644 --- a/lib/HeaderSelector.php +++ b/lib/HeaderSelector.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/lib/ObjectSerializer.php b/lib/ObjectSerializer.php index d2155676..8e8792ae 100644 --- a/lib/ObjectSerializer.php +++ b/lib/ObjectSerializer.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ /** diff --git a/lib/PythonScheduler/ModelInterface.php b/lib/PythonScheduler/ModelInterface.php index cc48dbfd..b63f4a2e 100644 --- a/lib/PythonScheduler/ModelInterface.php +++ b/lib/PythonScheduler/ModelInterface.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/lib/PythonScheduler/RunsApi.php b/lib/PythonScheduler/RunsApi.php index 75d8748f..840b9d50 100644 --- a/lib/PythonScheduler/RunsApi.php +++ b/lib/PythonScheduler/RunsApi.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -494,6 +494,14 @@ protected function createHttpClientOption() } } + if ($this->config->getCertFile()) { + $options[RequestOptions::CERT] = $this->config->getCertFile(); + } + + if ($this->config->getKeyFile()) { + $options[RequestOptions::SSL_KEY] = $this->config->getKeyFile(); + } + return $options; } diff --git a/lib/PythonScheduler/StatisticsApi.php b/lib/PythonScheduler/StatisticsApi.php index bf11a6b0..055eaa8a 100644 --- a/lib/PythonScheduler/StatisticsApi.php +++ b/lib/PythonScheduler/StatisticsApi.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -1850,6 +1850,14 @@ protected function createHttpClientOption() } } + if ($this->config->getCertFile()) { + $options[RequestOptions::CERT] = $this->config->getCertFile(); + } + + if ($this->config->getKeyFile()) { + $options[RequestOptions::SSL_KEY] = $this->config->getKeyFile(); + } + return $options; } diff --git a/lib/SysAdmin/AddDepartmentRequest.php b/lib/SysAdmin/AddDepartmentRequest.php index 40ddb7c4..5e020b39 100644 --- a/lib/SysAdmin/AddDepartmentRequest.php +++ b/lib/SysAdmin/AddDepartmentRequest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -351,11 +351,11 @@ public function setParentGroup($parent_group) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -363,12 +363,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -393,11 +393,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/SysAdmin/AddNewUserRequest.php b/lib/SysAdmin/AddNewUserRequest.php index 0d278b1b..bc8e58ad 100644 --- a/lib/SysAdmin/AddNewUserRequest.php +++ b/lib/SysAdmin/AddNewUserRequest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -453,11 +453,11 @@ public function setIsActive($is_active) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -465,12 +465,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -495,11 +495,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/SysAdmin/AddNotificationToUserRequest.php b/lib/SysAdmin/AddNotificationToUserRequest.php index 507ea2de..9247fdbe 100644 --- a/lib/SysAdmin/AddNotificationToUserRequest.php +++ b/lib/SysAdmin/AddNotificationToUserRequest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -351,11 +351,11 @@ public function setUsername($username) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -363,12 +363,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -393,11 +393,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/SysAdmin/AddTeamRequest.php b/lib/SysAdmin/AddTeamRequest.php index ef10282b..5e37fa4e 100644 --- a/lib/SysAdmin/AddTeamRequest.php +++ b/lib/SysAdmin/AddTeamRequest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -462,11 +462,11 @@ public function setWithWorkspace($with_workspace) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -474,12 +474,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -504,11 +504,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/SysAdmin/AutomationsApi.php b/lib/SysAdmin/AutomationsApi.php index 71ffeca3..ade737b3 100644 --- a/lib/SysAdmin/AutomationsApi.php +++ b/lib/SysAdmin/AutomationsApi.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -1252,6 +1252,14 @@ protected function createHttpClientOption() } } + if ($this->config->getCertFile()) { + $options[RequestOptions::CERT] = $this->config->getCertFile(); + } + + if ($this->config->getKeyFile()) { + $options[RequestOptions::SSL_KEY] = $this->config->getKeyFile(); + } + return $options; } diff --git a/lib/SysAdmin/BasesApi.php b/lib/SysAdmin/BasesApi.php index 10d5ff07..be356e98 100644 --- a/lib/SysAdmin/BasesApi.php +++ b/lib/SysAdmin/BasesApi.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -2227,6 +2227,14 @@ protected function createHttpClientOption() } } + if ($this->config->getCertFile()) { + $options[RequestOptions::CERT] = $this->config->getCertFile(); + } + + if ($this->config->getKeyFile()) { + $options[RequestOptions::SSL_KEY] = $this->config->getKeyFile(); + } + return $options; } diff --git a/lib/SysAdmin/CommonDatasetApi.php b/lib/SysAdmin/CommonDatasetApi.php index f78d0cf9..09c679c6 100644 --- a/lib/SysAdmin/CommonDatasetApi.php +++ b/lib/SysAdmin/CommonDatasetApi.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -1543,6 +1543,14 @@ protected function createHttpClientOption() } } + if ($this->config->getCertFile()) { + $options[RequestOptions::CERT] = $this->config->getCertFile(); + } + + if ($this->config->getKeyFile()) { + $options[RequestOptions::SSL_KEY] = $this->config->getKeyFile(); + } + return $options; } diff --git a/lib/SysAdmin/CreateGroupRequest.php b/lib/SysAdmin/CreateGroupRequest.php index d2ccb2dc..14ebf98a 100644 --- a/lib/SysAdmin/CreateGroupRequest.php +++ b/lib/SysAdmin/CreateGroupRequest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -351,11 +351,11 @@ public function setGroupOwner($group_owner) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -363,12 +363,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -393,11 +393,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/SysAdmin/DepartmentsApi.php b/lib/SysAdmin/DepartmentsApi.php index 0081a601..f93fbcbd 100644 --- a/lib/SysAdmin/DepartmentsApi.php +++ b/lib/SysAdmin/DepartmentsApi.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -1251,6 +1251,14 @@ protected function createHttpClientOption() } } + if ($this->config->getCertFile()) { + $options[RequestOptions::CERT] = $this->config->getCertFile(); + } + + if ($this->config->getKeyFile()) { + $options[RequestOptions::SSL_KEY] = $this->config->getKeyFile(); + } + return $options; } diff --git a/lib/SysAdmin/EnforceTwoFactorRequest.php b/lib/SysAdmin/EnforceTwoFactorRequest.php index f3215646..df49ed32 100644 --- a/lib/SysAdmin/EnforceTwoFactorRequest.php +++ b/lib/SysAdmin/EnforceTwoFactorRequest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -317,11 +317,11 @@ public function setForce2fa($force_2fa) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -329,12 +329,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -359,11 +359,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/SysAdmin/ExportApi.php b/lib/SysAdmin/ExportApi.php index 53a6d690..ceebebe3 100644 --- a/lib/SysAdmin/ExportApi.php +++ b/lib/SysAdmin/ExportApi.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -380,6 +380,14 @@ protected function createHttpClientOption() } } + if ($this->config->getCertFile()) { + $options[RequestOptions::CERT] = $this->config->getCertFile(); + } + + if ($this->config->getKeyFile()) { + $options[RequestOptions::SSL_KEY] = $this->config->getKeyFile(); + } + return $options; } diff --git a/lib/SysAdmin/FormsApi.php b/lib/SysAdmin/FormsApi.php index 4b58a6e7..76d713c4 100644 --- a/lib/SysAdmin/FormsApi.php +++ b/lib/SysAdmin/FormsApi.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -1203,6 +1203,14 @@ protected function createHttpClientOption() } } + if ($this->config->getCertFile()) { + $options[RequestOptions::CERT] = $this->config->getCertFile(); + } + + if ($this->config->getKeyFile()) { + $options[RequestOptions::SSL_KEY] = $this->config->getKeyFile(); + } + return $options; } diff --git a/lib/SysAdmin/GroupsApi.php b/lib/SysAdmin/GroupsApi.php index 0a2f0638..059de3c9 100644 --- a/lib/SysAdmin/GroupsApi.php +++ b/lib/SysAdmin/GroupsApi.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -1280,6 +1280,14 @@ protected function createHttpClientOption() } } + if ($this->config->getCertFile()) { + $options[RequestOptions::CERT] = $this->config->getCertFile(); + } + + if ($this->config->getKeyFile()) { + $options[RequestOptions::SSL_KEY] = $this->config->getKeyFile(); + } + return $options; } diff --git a/lib/SysAdmin/ListAuditLogs200Response.php b/lib/SysAdmin/ListAuditLogs200Response.php index e5c943db..00686bf6 100644 --- a/lib/SysAdmin/ListAuditLogs200Response.php +++ b/lib/SysAdmin/ListAuditLogs200Response.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -351,11 +351,11 @@ public function setTotalCount($total_count) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -363,12 +363,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -393,11 +393,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/SysAdmin/ListAuditLogs200ResponseAuditLogListInner.php b/lib/SysAdmin/ListAuditLogs200ResponseAuditLogListInner.php index 1bc0f6fa..1c8e9de1 100644 --- a/lib/SysAdmin/ListAuditLogs200ResponseAuditLogListInner.php +++ b/lib/SysAdmin/ListAuditLogs200ResponseAuditLogListInner.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -521,11 +521,11 @@ public function setOrgName($org_name) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -533,12 +533,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -563,11 +563,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/SysAdmin/ListAuditLogs200ResponseAuditLogListInnerDetail.php b/lib/SysAdmin/ListAuditLogs200ResponseAuditLogListInnerDetail.php index 4d8a24c1..b2a6b2e8 100644 --- a/lib/SysAdmin/ListAuditLogs200ResponseAuditLogListInnerDetail.php +++ b/lib/SysAdmin/ListAuditLogs200ResponseAuditLogListInnerDetail.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -352,11 +352,11 @@ public function setName($name) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -364,12 +364,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -394,11 +394,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/SysAdmin/LogsApi.php b/lib/SysAdmin/LogsApi.php index 63cd4b5c..be923dfc 100644 --- a/lib/SysAdmin/LogsApi.php +++ b/lib/SysAdmin/LogsApi.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -3120,6 +3120,14 @@ protected function createHttpClientOption() } } + if ($this->config->getCertFile()) { + $options[RequestOptions::CERT] = $this->config->getCertFile(); + } + + if ($this->config->getKeyFile()) { + $options[RequestOptions::SSL_KEY] = $this->config->getKeyFile(); + } + return $options; } diff --git a/lib/SysAdmin/MaintenanceApi.php b/lib/SysAdmin/MaintenanceApi.php index ad0bc6fe..435b300c 100644 --- a/lib/SysAdmin/MaintenanceApi.php +++ b/lib/SysAdmin/MaintenanceApi.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -415,6 +415,14 @@ protected function createHttpClientOption() } } + if ($this->config->getCertFile()) { + $options[RequestOptions::CERT] = $this->config->getCertFile(); + } + + if ($this->config->getKeyFile()) { + $options[RequestOptions::SSL_KEY] = $this->config->getKeyFile(); + } + return $options; } diff --git a/lib/SysAdmin/ModelInterface.php b/lib/SysAdmin/ModelInterface.php index ec489e4d..7696105d 100644 --- a/lib/SysAdmin/ModelInterface.php +++ b/lib/SysAdmin/ModelInterface.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/lib/SysAdmin/NotificationsApi.php b/lib/SysAdmin/NotificationsApi.php index 6ba09e75..06c6bb72 100644 --- a/lib/SysAdmin/NotificationsApi.php +++ b/lib/SysAdmin/NotificationsApi.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -1252,6 +1252,14 @@ protected function createHttpClientOption() } } + if ($this->config->getCertFile()) { + $options[RequestOptions::CERT] = $this->config->getCertFile(); + } + + if ($this->config->getKeyFile()) { + $options[RequestOptions::SSL_KEY] = $this->config->getKeyFile(); + } + return $options; } diff --git a/lib/SysAdmin/PluginsApi.php b/lib/SysAdmin/PluginsApi.php index 94db9d95..63a1482f 100644 --- a/lib/SysAdmin/PluginsApi.php +++ b/lib/SysAdmin/PluginsApi.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -1440,6 +1440,14 @@ protected function createHttpClientOption() } } + if ($this->config->getCertFile()) { + $options[RequestOptions::CERT] = $this->config->getCertFile(); + } + + if ($this->config->getKeyFile()) { + $options[RequestOptions::SSL_KEY] = $this->config->getKeyFile(); + } + return $options; } diff --git a/lib/SysAdmin/RepairBase200Response.php b/lib/SysAdmin/RepairBase200Response.php index 32002a3e..6f54bd9f 100644 --- a/lib/SysAdmin/RepairBase200Response.php +++ b/lib/SysAdmin/RepairBase200Response.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -317,11 +317,11 @@ public function setSuccess($success) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -329,12 +329,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -359,11 +359,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/SysAdmin/SharingLinksApi.php b/lib/SysAdmin/SharingLinksApi.php index 9cb4d687..7e42921f 100644 --- a/lib/SysAdmin/SharingLinksApi.php +++ b/lib/SysAdmin/SharingLinksApi.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -602,10 +602,7 @@ public function deleteViewExternalLinkRequest($view_external_link_token, string 'Missing the required parameter $view_external_link_token when calling deleteViewExternalLink' ); } - if (!preg_match("/^[a-f0-9]{20}$/", $view_external_link_token)) { - throw new \InvalidArgumentException("invalid value for \"view_external_link_token\" when calling SharingLinksApi.deleteViewExternalLink, must conform to the pattern /^[a-f0-9]{20}$/."); - } - + $resourcePath = '/api/v2.1/admin/view-external-links/{view_external_link_token}/'; $formParams = []; @@ -1511,6 +1508,14 @@ protected function createHttpClientOption() } } + if ($this->config->getCertFile()) { + $options[RequestOptions::CERT] = $this->config->getCertFile(); + } + + if ($this->config->getKeyFile()) { + $options[RequestOptions::SSL_KEY] = $this->config->getKeyFile(); + } + return $options; } diff --git a/lib/SysAdmin/StatisticsApi.php b/lib/SysAdmin/StatisticsApi.php index 8a2a500f..6f8a0490 100644 --- a/lib/SysAdmin/StatisticsApi.php +++ b/lib/SysAdmin/StatisticsApi.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -82,6 +82,9 @@ class StatisticsApi 'getExternalApps' => [ 'application/json', ], + 'getOwnerOrTeamAIStatistics' => [ + 'application/json', + ], 'getScriptRunningCountByUser' => [ 'application/json', ], @@ -988,6 +991,336 @@ public function getExternalAppsRequest($is_user, $month = null, $page = null, $p + $headers = $this->headerSelector->selectHeaders( + ['application/json', ], + $contentType, + $multipart + ); + + // for model (json/xml) + if (count($formParams) > 0) { + if ($multipart) { + $multipartContents = []; + foreach ($formParams as $formParamName => $formParamValue) { + $formParamValueItems = is_array($formParamValue) ? $formParamValue : [$formParamValue]; + foreach ($formParamValueItems as $formParamValueItem) { + $multipartContents[] = [ + 'name' => $formParamName, + 'contents' => $formParamValueItem + ]; + } + } + // for HTTP post (form) + $httpBody = new MultipartStream($multipartContents); + + } elseif (stripos($headers['Content-Type'], 'application/json') !== false) { + # if Content-Type contains "application/json", json_encode the form parameters + $httpBody = \GuzzleHttp\Utils::jsonEncode($formParams); + } else { + // for HTTP post (form) + $httpBody = ObjectSerializer::buildQuery($formParams); + } + } + + // this endpoint requires Bearer authentication (access token) + if (!empty($this->config->getAccessToken())) { + $headers['Authorization'] = 'Bearer ' . $this->config->getAccessToken(); + } + + $defaultHeaders = []; + if ($this->config->getUserAgent()) { + $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); + } + + $headers = array_merge( + $defaultHeaders, + $headerParams, + $headers + ); + + $operationHost = $this->config->getHost(); + $query = ObjectSerializer::buildQuery($queryParams); + return new Request( + 'GET', + $operationHost . $resourcePath . ($query ? "?{$query}" : ''), + $headers, + $httpBody + ); + } + + /** + * Operation getOwnerOrTeamAIStatistics + * + * Get AI statistics by owner/team + * + * @param string $group_by Query by owner or organization (required) + * @param string $date A date string in YYYY-MM-DD format (required) + * @param int|null $page The page number you want to start showing the entries. If no value is provided, 1 will be used. (optional) + * @param int|null $per_page The number of results that should be returned. If no value is provided, 25 results will be returned. (optional) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['getOwnerOrTeamAIStatistics'] to see the possible values for this operation + * + * @throws \SeaTable\Client\ApiException on non-2xx response or if the response body is not in the expected format + * @throws \InvalidArgumentException + * @return object + */ + public function getOwnerOrTeamAIStatistics($group_by, $date, $page = null, $per_page = null, string $contentType = self::contentTypes['getOwnerOrTeamAIStatistics'][0]) + { + list($response) = $this->getOwnerOrTeamAIStatisticsWithHttpInfo($group_by, $date, $page, $per_page, $contentType); + return $response; + } + + /** + * Operation getOwnerOrTeamAIStatisticsWithHttpInfo + * + * Get AI statistics by owner/team + * + * @param string $group_by Query by owner or organization (required) + * @param string $date A date string in YYYY-MM-DD format (required) + * @param int|null $page The page number you want to start showing the entries. If no value is provided, 1 will be used. (optional) + * @param int|null $per_page The number of results that should be returned. If no value is provided, 25 results will be returned. (optional) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['getOwnerOrTeamAIStatistics'] to see the possible values for this operation + * + * @throws \SeaTable\Client\ApiException on non-2xx response or if the response body is not in the expected format + * @throws \InvalidArgumentException + * @return array of object, HTTP status code, HTTP response headers (array of strings) + */ + public function getOwnerOrTeamAIStatisticsWithHttpInfo($group_by, $date, $page = null, $per_page = null, string $contentType = self::contentTypes['getOwnerOrTeamAIStatistics'][0]) + { + $request = $this->getOwnerOrTeamAIStatisticsRequest($group_by, $date, $page, $per_page, $contentType); + + try { + $options = $this->createHttpClientOption(); + try { + $response = $this->client->send($request, $options); + } catch (RequestException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + (int) $e->getCode(), + $e->getResponse() ? $e->getResponse()->getHeaders() : null, + $e->getResponse() ? (string) $e->getResponse()->getBody() : null + ); + } catch (ConnectException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + (int) $e->getCode(), + null, + null + ); + } + + $statusCode = $response->getStatusCode(); + + + switch($statusCode) { + case 200: + return $this->handleResponseWithDataType( + 'object', + $request, + $response, + ); + } + + + + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + + return $this->handleResponseWithDataType( + 'object', + $request, + $response, + ); + } catch (ApiException $e) { + switch ($e->getCode()) { + case 200: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + 'object', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + throw $e; + } + + + throw $e; + } + } + + /** + * Operation getOwnerOrTeamAIStatisticsAsync + * + * Get AI statistics by owner/team + * + * @param string $group_by Query by owner or organization (required) + * @param string $date A date string in YYYY-MM-DD format (required) + * @param int|null $page The page number you want to start showing the entries. If no value is provided, 1 will be used. (optional) + * @param int|null $per_page The number of results that should be returned. If no value is provided, 25 results will be returned. (optional) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['getOwnerOrTeamAIStatistics'] to see the possible values for this operation + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function getOwnerOrTeamAIStatisticsAsync($group_by, $date, $page = null, $per_page = null, string $contentType = self::contentTypes['getOwnerOrTeamAIStatistics'][0]) + { + return $this->getOwnerOrTeamAIStatisticsAsyncWithHttpInfo($group_by, $date, $page, $per_page, $contentType) + ->then( + function ($response) { + return $response[0]; + } + ); + } + + /** + * Operation getOwnerOrTeamAIStatisticsAsyncWithHttpInfo + * + * Get AI statistics by owner/team + * + * @param string $group_by Query by owner or organization (required) + * @param string $date A date string in YYYY-MM-DD format (required) + * @param int|null $page The page number you want to start showing the entries. If no value is provided, 1 will be used. (optional) + * @param int|null $per_page The number of results that should be returned. If no value is provided, 25 results will be returned. (optional) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['getOwnerOrTeamAIStatistics'] to see the possible values for this operation + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function getOwnerOrTeamAIStatisticsAsyncWithHttpInfo($group_by, $date, $page = null, $per_page = null, string $contentType = self::contentTypes['getOwnerOrTeamAIStatistics'][0]) + { + $returnType = 'object'; + $request = $this->getOwnerOrTeamAIStatisticsRequest($group_by, $date, $page, $per_page, $contentType); + + return $this->client + ->sendAsync($request, $this->createHttpClientOption()) + ->then( + function ($response) use ($returnType) { + if ($returnType === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + if ($returnType !== 'string') { + $content = json_decode($content); + } + } + + return [ + ObjectSerializer::deserialize($content, $returnType, []), + $response->getStatusCode(), + $response->getHeaders() + ]; + }, + function ($exception) { + $response = $exception->getResponse(); + $statusCode = $response->getStatusCode(); + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + $exception->getRequest()->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + ); + } + + /** + * Create request for operation 'getOwnerOrTeamAIStatistics' + * + * @param string $group_by Query by owner or organization (required) + * @param string $date A date string in YYYY-MM-DD format (required) + * @param int|null $page The page number you want to start showing the entries. If no value is provided, 1 will be used. (optional) + * @param int|null $per_page The number of results that should be returned. If no value is provided, 25 results will be returned. (optional) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['getOwnerOrTeamAIStatistics'] to see the possible values for this operation + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Psr7\Request + */ + public function getOwnerOrTeamAIStatisticsRequest($group_by, $date, $page = null, $per_page = null, string $contentType = self::contentTypes['getOwnerOrTeamAIStatistics'][0]) + { + + // verify the required parameter 'group_by' is set + if ($group_by === null || (is_array($group_by) && count($group_by) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $group_by when calling getOwnerOrTeamAIStatistics' + ); + } + + // verify the required parameter 'date' is set + if ($date === null || (is_array($date) && count($date) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $date when calling getOwnerOrTeamAIStatistics' + ); + } + + if ($page !== null && $page < 1) { + throw new \InvalidArgumentException('invalid value for "$page" when calling StatisticsApi.getOwnerOrTeamAIStatistics, must be bigger than or equal to 1.'); + } + + if ($per_page !== null && $per_page < 1) { + throw new \InvalidArgumentException('invalid value for "$per_page" when calling StatisticsApi.getOwnerOrTeamAIStatistics, must be bigger than or equal to 1.'); + } + + + $resourcePath = '/api/v2.1/admin/statistics/ai/'; + $formParams = []; + $queryParams = []; + $headerParams = []; + $httpBody = ''; + $multipart = false; + + // query params + $queryParams = array_merge($queryParams, ObjectSerializer::toQueryValue( + $group_by, + 'group_by', // param base name + 'string', // openApiType + 'form', // style + true, // explode + true // required + ) ?? []); + // query params + $queryParams = array_merge($queryParams, ObjectSerializer::toQueryValue( + $date, + 'date', // param base name + 'string', // openApiType + 'form', // style + true, // explode + true // required + ) ?? []); + // query params + $queryParams = array_merge($queryParams, ObjectSerializer::toQueryValue( + $page, + 'page', // param base name + 'integer', // openApiType + 'form', // style + true, // explode + false // required + ) ?? []); + // query params + $queryParams = array_merge($queryParams, ObjectSerializer::toQueryValue( + $per_page, + 'per_page', // param base name + 'integer', // openApiType + 'form', // style + true, // explode + false // required + ) ?? []); + + + + $headers = $this->headerSelector->selectHeaders( ['application/json', ], $contentType, @@ -1964,6 +2297,14 @@ protected function createHttpClientOption() } } + if ($this->config->getCertFile()) { + $options[RequestOptions::CERT] = $this->config->getCertFile(); + } + + if ($this->config->getKeyFile()) { + $options[RequestOptions::SSL_KEY] = $this->config->getKeyFile(); + } + return $options; } diff --git a/lib/SysAdmin/SystemInfoCustomizingApi.php b/lib/SysAdmin/SystemInfoCustomizingApi.php index c4277dc8..d86b1169 100644 --- a/lib/SysAdmin/SystemInfoCustomizingApi.php +++ b/lib/SysAdmin/SystemInfoCustomizingApi.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -1480,6 +1480,14 @@ protected function createHttpClientOption() } } + if ($this->config->getCertFile()) { + $options[RequestOptions::CERT] = $this->config->getCertFile(); + } + + if ($this->config->getKeyFile()) { + $options[RequestOptions::SSL_KEY] = $this->config->getKeyFile(); + } + return $options; } diff --git a/lib/SysAdmin/SystemNotificationsApi.php b/lib/SysAdmin/SystemNotificationsApi.php index 811f69ae..1d895cfe 100644 --- a/lib/SysAdmin/SystemNotificationsApi.php +++ b/lib/SysAdmin/SystemNotificationsApi.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -971,6 +971,14 @@ protected function createHttpClientOption() } } + if ($this->config->getCertFile()) { + $options[RequestOptions::CERT] = $this->config->getCertFile(); + } + + if ($this->config->getKeyFile()) { + $options[RequestOptions::SSL_KEY] = $this->config->getKeyFile(); + } + return $options; } diff --git a/lib/SysAdmin/TeamsApi.php b/lib/SysAdmin/TeamsApi.php index ad4e1cd1..99437799 100644 --- a/lib/SysAdmin/TeamsApi.php +++ b/lib/SysAdmin/TeamsApi.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -3891,6 +3891,14 @@ protected function createHttpClientOption() } } + if ($this->config->getCertFile()) { + $options[RequestOptions::CERT] = $this->config->getCertFile(); + } + + if ($this->config->getKeyFile()) { + $options[RequestOptions::SSL_KEY] = $this->config->getKeyFile(); + } + return $options; } diff --git a/lib/SysAdmin/TransferGroupRequest.php b/lib/SysAdmin/TransferGroupRequest.php index ccdb69c7..70aa1cf9 100644 --- a/lib/SysAdmin/TransferGroupRequest.php +++ b/lib/SysAdmin/TransferGroupRequest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -317,11 +317,11 @@ public function setNewOwner($new_owner) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -329,12 +329,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -359,11 +359,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/SysAdmin/UpdateAbuseReportRequest.php b/lib/SysAdmin/UpdateAbuseReportRequest.php index 50095c3d..56681718 100644 --- a/lib/SysAdmin/UpdateAbuseReportRequest.php +++ b/lib/SysAdmin/UpdateAbuseReportRequest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -317,11 +317,11 @@ public function setHandled($handled) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -329,12 +329,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -359,11 +359,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/SysAdmin/UpdateAdminsRole.php b/lib/SysAdmin/UpdateAdminsRole.php index cd1b69ba..f388fe68 100644 --- a/lib/SysAdmin/UpdateAdminsRole.php +++ b/lib/SysAdmin/UpdateAdminsRole.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -351,11 +351,11 @@ public function setRole($role) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -363,12 +363,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -393,11 +393,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/SysAdmin/UpdateGeneralSettingsRequest.php b/lib/SysAdmin/UpdateGeneralSettingsRequest.php index 6030fa46..d7e4ee41 100644 --- a/lib/SysAdmin/UpdateGeneralSettingsRequest.php +++ b/lib/SysAdmin/UpdateGeneralSettingsRequest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -793,11 +793,11 @@ public function setEnableSignup($enable_signup) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -805,12 +805,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -835,11 +835,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/SysAdmin/UpdateTeamRequest.php b/lib/SysAdmin/UpdateTeamRequest.php index d006222b..3901d594 100644 --- a/lib/SysAdmin/UpdateTeamRequest.php +++ b/lib/SysAdmin/UpdateTeamRequest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -60,7 +60,8 @@ class UpdateTeamRequest implements ModelInterface, ArrayAccess, \JsonSerializabl 'role' => 'string', 'row_limit' => 'int', 'max_user_number' => 'string', - 'asset_quota_mb' => 'string' + 'asset_quota_mb' => 'string', + 'monthly_automation_limit_per_user' => 'int' ]; /** @@ -75,7 +76,8 @@ class UpdateTeamRequest implements ModelInterface, ArrayAccess, \JsonSerializabl 'role' => null, 'row_limit' => null, 'max_user_number' => null, - 'asset_quota_mb' => null + 'asset_quota_mb' => null, + 'monthly_automation_limit_per_user' => null ]; /** @@ -88,7 +90,8 @@ class UpdateTeamRequest implements ModelInterface, ArrayAccess, \JsonSerializabl 'role' => false, 'row_limit' => false, 'max_user_number' => false, - 'asset_quota_mb' => false + 'asset_quota_mb' => false, + 'monthly_automation_limit_per_user' => false ]; /** @@ -181,7 +184,8 @@ public function isNullableSetToNull(string $property): bool 'role' => 'role', 'row_limit' => 'row_limit', 'max_user_number' => 'max_user_number', - 'asset_quota_mb' => 'asset_quota_mb' + 'asset_quota_mb' => 'asset_quota_mb', + 'monthly_automation_limit_per_user' => 'monthly_automation_limit_per_user' ]; /** @@ -194,7 +198,8 @@ public function isNullableSetToNull(string $property): bool 'role' => 'setRole', 'row_limit' => 'setRowLimit', 'max_user_number' => 'setMaxUserNumber', - 'asset_quota_mb' => 'setAssetQuotaMb' + 'asset_quota_mb' => 'setAssetQuotaMb', + 'monthly_automation_limit_per_user' => 'setMonthlyAutomationLimitPerUser' ]; /** @@ -207,7 +212,8 @@ public function isNullableSetToNull(string $property): bool 'role' => 'getRole', 'row_limit' => 'getRowLimit', 'max_user_number' => 'getMaxUserNumber', - 'asset_quota_mb' => 'getAssetQuotaMb' + 'asset_quota_mb' => 'getAssetQuotaMb', + 'monthly_automation_limit_per_user' => 'getMonthlyAutomationLimitPerUser' ]; /** @@ -272,6 +278,7 @@ public function __construct(?array $data = null) $this->setIfExists('row_limit', $data ?? [], null); $this->setIfExists('max_user_number', $data ?? [], null); $this->setIfExists('asset_quota_mb', $data ?? [], null); + $this->setIfExists('monthly_automation_limit_per_user', $data ?? [], null); } /** @@ -450,14 +457,41 @@ public function setAssetQuotaMb($asset_quota_mb) return $this; } + + /** + * Gets monthly_automation_limit_per_user + * + * @return int|null + */ + public function getMonthlyAutomationLimitPerUser() + { + return $this->container['monthly_automation_limit_per_user']; + } + + /** + * Sets monthly_automation_limit_per_user + * + * @param int|null $monthly_automation_limit_per_user Monthly limit on the number of automation rules per user. + * + * @return self + */ + public function setMonthlyAutomationLimitPerUser($monthly_automation_limit_per_user) + { + if (is_null($monthly_automation_limit_per_user)) { + throw new \InvalidArgumentException('non-nullable monthly_automation_limit_per_user cannot be null'); + } + $this->container['monthly_automation_limit_per_user'] = $monthly_automation_limit_per_user; + + return $this; + } /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -465,12 +499,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -495,11 +529,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/SysAdmin/UpdateTeamUserRequest.php b/lib/SysAdmin/UpdateTeamUserRequest.php index 8a2baa53..9f88af26 100644 --- a/lib/SysAdmin/UpdateTeamUserRequest.php +++ b/lib/SysAdmin/UpdateTeamUserRequest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -453,11 +453,11 @@ public function setQuotaTotal($quota_total) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -465,12 +465,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -495,11 +495,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/SysAdmin/UpdateUserRequest.php b/lib/SysAdmin/UpdateUserRequest.php index f0f4d4d1..a2325b98 100644 --- a/lib/SysAdmin/UpdateUserRequest.php +++ b/lib/SysAdmin/UpdateUserRequest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -68,7 +68,8 @@ class UpdateUserRequest implements ModelInterface, ArrayAccess, \JsonSerializabl 'institution' => 'string', 'row_limit' => 'int', 'quota_total' => 'string', - 'asset_quota_mb' => 'string' + 'asset_quota_mb' => 'string', + 'monthly_automation_limit_per_user' => 'int' ]; /** @@ -91,7 +92,8 @@ class UpdateUserRequest implements ModelInterface, ArrayAccess, \JsonSerializabl 'institution' => null, 'row_limit' => null, 'quota_total' => null, - 'asset_quota_mb' => null + 'asset_quota_mb' => null, + 'monthly_automation_limit_per_user' => null ]; /** @@ -112,7 +114,8 @@ class UpdateUserRequest implements ModelInterface, ArrayAccess, \JsonSerializabl 'institution' => false, 'row_limit' => false, 'quota_total' => false, - 'asset_quota_mb' => false + 'asset_quota_mb' => false, + 'monthly_automation_limit_per_user' => false ]; /** @@ -213,7 +216,8 @@ public function isNullableSetToNull(string $property): bool 'institution' => 'institution', 'row_limit' => 'row_limit', 'quota_total' => 'quota_total', - 'asset_quota_mb' => 'asset_quota_mb' + 'asset_quota_mb' => 'asset_quota_mb', + 'monthly_automation_limit_per_user' => 'monthly_automation_limit_per_user' ]; /** @@ -234,7 +238,8 @@ public function isNullableSetToNull(string $property): bool 'institution' => 'setInstitution', 'row_limit' => 'setRowLimit', 'quota_total' => 'setQuotaTotal', - 'asset_quota_mb' => 'setAssetQuotaMb' + 'asset_quota_mb' => 'setAssetQuotaMb', + 'monthly_automation_limit_per_user' => 'setMonthlyAutomationLimitPerUser' ]; /** @@ -255,7 +260,8 @@ public function isNullableSetToNull(string $property): bool 'institution' => 'getInstitution', 'row_limit' => 'getRowLimit', 'quota_total' => 'getQuotaTotal', - 'asset_quota_mb' => 'getAssetQuotaMb' + 'asset_quota_mb' => 'getAssetQuotaMb', + 'monthly_automation_limit_per_user' => 'getMonthlyAutomationLimitPerUser' ]; /** @@ -328,6 +334,7 @@ public function __construct(?array $data = null) $this->setIfExists('row_limit', $data ?? [], null); $this->setIfExists('quota_total', $data ?? [], null); $this->setIfExists('asset_quota_mb', $data ?? [], null); + $this->setIfExists('monthly_automation_limit_per_user', $data ?? [], null); } /** @@ -722,14 +729,41 @@ public function setAssetQuotaMb($asset_quota_mb) return $this; } + + /** + * Gets monthly_automation_limit_per_user + * + * @return int|null + */ + public function getMonthlyAutomationLimitPerUser() + { + return $this->container['monthly_automation_limit_per_user']; + } + + /** + * Sets monthly_automation_limit_per_user + * + * @param int|null $monthly_automation_limit_per_user Monthly limit on the number of automation rules per user. + * + * @return self + */ + public function setMonthlyAutomationLimitPerUser($monthly_automation_limit_per_user) + { + if (is_null($monthly_automation_limit_per_user)) { + throw new \InvalidArgumentException('non-nullable monthly_automation_limit_per_user cannot be null'); + } + $this->container['monthly_automation_limit_per_user'] = $monthly_automation_limit_per_user; + + return $this; + } /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -737,12 +771,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -767,11 +801,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/SysAdmin/UsersApi.php b/lib/SysAdmin/UsersApi.php index 107a5efe..37c793bf 100644 --- a/lib/SysAdmin/UsersApi.php +++ b/lib/SysAdmin/UsersApi.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -4320,6 +4320,14 @@ protected function createHttpClientOption() } } + if ($this->config->getCertFile()) { + $options[RequestOptions::CERT] = $this->config->getCertFile(); + } + + if ($this->config->getKeyFile()) { + $options[RequestOptions::SSL_KEY] = $this->config->getKeyFile(); + } + return $options; } diff --git a/lib/TeamAdmin/ActivitiesLogsApi.php b/lib/TeamAdmin/ActivitiesLogsApi.php index f191f496..5ed60e77 100644 --- a/lib/TeamAdmin/ActivitiesLogsApi.php +++ b/lib/TeamAdmin/ActivitiesLogsApi.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -73,12 +73,18 @@ class ActivitiesLogsApi /** @var string[] $contentTypes **/ public const contentTypes = [ + 'listAutomationLogs' => [ + 'application/json', + ], 'listFileAccessLogs' => [ 'application/json', ], 'listGroupMemberAuditLogs' => [ 'application/json', ], + 'listPythonRuns' => [ + 'application/json', + ], 'listTeamLogins' => [ 'application/json', ], @@ -90,89 +96,759 @@ class ActivitiesLogsApi ], ]; - /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector - * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec - */ - public function __construct( - ?ClientInterface $client = null, - ?Configuration $config = null, - ?HeaderSelector $selector = null, - int $hostIndex = 0 - ) { - $this->client = $client ?: new Client(); - $this->config = $config ?: Configuration::getDefaultConfiguration(); - $this->headerSelector = $selector ?: new HeaderSelector(); - $this->hostIndex = $hostIndex; - } + /** + * @param ClientInterface $client + * @param Configuration $config + * @param HeaderSelector $selector + * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec + */ + public function __construct( + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, + int $hostIndex = 0 + ) { + $this->client = $client ?: new Client(); + $this->config = $config ?: Configuration::getDefaultConfiguration(); + $this->headerSelector = $selector ?: new HeaderSelector(); + $this->hostIndex = $hostIndex; + } + + /** + * Set the host index + * + * @param int $hostIndex Host index (required) + */ + public function setHostIndex($hostIndex): void + { + $this->hostIndex = $hostIndex; + } + + /** + * Get the host index + * + * @return int Host index + */ + public function getHostIndex() + { + return $this->hostIndex; + } + + /** + * @return Configuration + */ + public function getConfig() + { + return $this->config; + } + + /** + * Operation listAutomationLogs + * + * List Automation Logs + * + * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) + * @param string|null $dtable_uuid The unique identifier of a base. (optional) + * @param \DateTime|null $start Start date in ISO format. (optional) + * @param \DateTime|null $end End date in ISO format. (optional) + * @param int|null $page The page number you want to start showing the entries. If no value is provided, 1 will be used. (optional) + * @param int|null $per_page The number of results that should be returned. If no value is provided, 25 results will be returned. (optional) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listAutomationLogs'] to see the possible values for this operation + * + * @throws \SeaTable\Client\ApiException on non-2xx response or if the response body is not in the expected format + * @throws \InvalidArgumentException + * @return object + */ + public function listAutomationLogs($org_id, $dtable_uuid = null, $start = null, $end = null, $page = null, $per_page = null, string $contentType = self::contentTypes['listAutomationLogs'][0]) + { + list($response) = $this->listAutomationLogsWithHttpInfo($org_id, $dtable_uuid, $start, $end, $page, $per_page, $contentType); + return $response; + } + + /** + * Operation listAutomationLogsWithHttpInfo + * + * List Automation Logs + * + * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) + * @param string|null $dtable_uuid The unique identifier of a base. (optional) + * @param \DateTime|null $start Start date in ISO format. (optional) + * @param \DateTime|null $end End date in ISO format. (optional) + * @param int|null $page The page number you want to start showing the entries. If no value is provided, 1 will be used. (optional) + * @param int|null $per_page The number of results that should be returned. If no value is provided, 25 results will be returned. (optional) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listAutomationLogs'] to see the possible values for this operation + * + * @throws \SeaTable\Client\ApiException on non-2xx response or if the response body is not in the expected format + * @throws \InvalidArgumentException + * @return array of object, HTTP status code, HTTP response headers (array of strings) + */ + public function listAutomationLogsWithHttpInfo($org_id, $dtable_uuid = null, $start = null, $end = null, $page = null, $per_page = null, string $contentType = self::contentTypes['listAutomationLogs'][0]) + { + $request = $this->listAutomationLogsRequest($org_id, $dtable_uuid, $start, $end, $page, $per_page, $contentType); + + try { + $options = $this->createHttpClientOption(); + try { + $response = $this->client->send($request, $options); + } catch (RequestException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + (int) $e->getCode(), + $e->getResponse() ? $e->getResponse()->getHeaders() : null, + $e->getResponse() ? (string) $e->getResponse()->getBody() : null + ); + } catch (ConnectException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + (int) $e->getCode(), + null, + null + ); + } + + $statusCode = $response->getStatusCode(); + + + switch($statusCode) { + case 200: + return $this->handleResponseWithDataType( + 'object', + $request, + $response, + ); + } + + + + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + + return $this->handleResponseWithDataType( + 'object', + $request, + $response, + ); + } catch (ApiException $e) { + switch ($e->getCode()) { + case 200: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + 'object', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + throw $e; + } + + + throw $e; + } + } + + /** + * Operation listAutomationLogsAsync + * + * List Automation Logs + * + * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) + * @param string|null $dtable_uuid The unique identifier of a base. (optional) + * @param \DateTime|null $start Start date in ISO format. (optional) + * @param \DateTime|null $end End date in ISO format. (optional) + * @param int|null $page The page number you want to start showing the entries. If no value is provided, 1 will be used. (optional) + * @param int|null $per_page The number of results that should be returned. If no value is provided, 25 results will be returned. (optional) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listAutomationLogs'] to see the possible values for this operation + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function listAutomationLogsAsync($org_id, $dtable_uuid = null, $start = null, $end = null, $page = null, $per_page = null, string $contentType = self::contentTypes['listAutomationLogs'][0]) + { + return $this->listAutomationLogsAsyncWithHttpInfo($org_id, $dtable_uuid, $start, $end, $page, $per_page, $contentType) + ->then( + function ($response) { + return $response[0]; + } + ); + } + + /** + * Operation listAutomationLogsAsyncWithHttpInfo + * + * List Automation Logs + * + * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) + * @param string|null $dtable_uuid The unique identifier of a base. (optional) + * @param \DateTime|null $start Start date in ISO format. (optional) + * @param \DateTime|null $end End date in ISO format. (optional) + * @param int|null $page The page number you want to start showing the entries. If no value is provided, 1 will be used. (optional) + * @param int|null $per_page The number of results that should be returned. If no value is provided, 25 results will be returned. (optional) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listAutomationLogs'] to see the possible values for this operation + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function listAutomationLogsAsyncWithHttpInfo($org_id, $dtable_uuid = null, $start = null, $end = null, $page = null, $per_page = null, string $contentType = self::contentTypes['listAutomationLogs'][0]) + { + $returnType = 'object'; + $request = $this->listAutomationLogsRequest($org_id, $dtable_uuid, $start, $end, $page, $per_page, $contentType); + + return $this->client + ->sendAsync($request, $this->createHttpClientOption()) + ->then( + function ($response) use ($returnType) { + if ($returnType === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + if ($returnType !== 'string') { + $content = json_decode($content); + } + } + + return [ + ObjectSerializer::deserialize($content, $returnType, []), + $response->getStatusCode(), + $response->getHeaders() + ]; + }, + function ($exception) { + $response = $exception->getResponse(); + $statusCode = $response->getStatusCode(); + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + $exception->getRequest()->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + ); + } + + /** + * Create request for operation 'listAutomationLogs' + * + * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) + * @param string|null $dtable_uuid The unique identifier of a base. (optional) + * @param \DateTime|null $start Start date in ISO format. (optional) + * @param \DateTime|null $end End date in ISO format. (optional) + * @param int|null $page The page number you want to start showing the entries. If no value is provided, 1 will be used. (optional) + * @param int|null $per_page The number of results that should be returned. If no value is provided, 25 results will be returned. (optional) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listAutomationLogs'] to see the possible values for this operation + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Psr7\Request + */ + public function listAutomationLogsRequest($org_id, $dtable_uuid = null, $start = null, $end = null, $page = null, $per_page = null, string $contentType = self::contentTypes['listAutomationLogs'][0]) + { + + // verify the required parameter 'org_id' is set + if ($org_id === null || (is_array($org_id) && count($org_id) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $org_id when calling listAutomationLogs' + ); + } + if ($org_id < 1) { + throw new \InvalidArgumentException('invalid value for "$org_id" when calling ActivitiesLogsApi.listAutomationLogs, must be bigger than or equal to 1.'); + } + + if ($dtable_uuid !== null && !preg_match("/^[0-9a-fA-F]{8}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{12}$/", $dtable_uuid)) { + throw new \InvalidArgumentException("invalid value for \"dtable_uuid\" when calling ActivitiesLogsApi.listAutomationLogs, must conform to the pattern /^[0-9a-fA-F]{8}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{12}$/."); + } + + + + if ($page !== null && $page < 1) { + throw new \InvalidArgumentException('invalid value for "$page" when calling ActivitiesLogsApi.listAutomationLogs, must be bigger than or equal to 1.'); + } + + if ($per_page !== null && $per_page < 1) { + throw new \InvalidArgumentException('invalid value for "$per_page" when calling ActivitiesLogsApi.listAutomationLogs, must be bigger than or equal to 1.'); + } + + + $resourcePath = '/api/v2.1/org/{org_id}/admin/automation-logs/'; + $formParams = []; + $queryParams = []; + $headerParams = []; + $httpBody = ''; + $multipart = false; + + // query params + $queryParams = array_merge($queryParams, ObjectSerializer::toQueryValue( + $dtable_uuid, + 'dtable_uuid', // param base name + 'string', // openApiType + 'form', // style + true, // explode + false // required + ) ?? []); + // query params + $queryParams = array_merge($queryParams, ObjectSerializer::toQueryValue( + $start, + 'start', // param base name + 'string', // openApiType + 'form', // style + true, // explode + false // required + ) ?? []); + // query params + $queryParams = array_merge($queryParams, ObjectSerializer::toQueryValue( + $end, + 'end', // param base name + 'string', // openApiType + 'form', // style + true, // explode + false // required + ) ?? []); + // query params + $queryParams = array_merge($queryParams, ObjectSerializer::toQueryValue( + $page, + 'page', // param base name + 'integer', // openApiType + 'form', // style + true, // explode + false // required + ) ?? []); + // query params + $queryParams = array_merge($queryParams, ObjectSerializer::toQueryValue( + $per_page, + 'per_page', // param base name + 'integer', // openApiType + 'form', // style + true, // explode + false // required + ) ?? []); + + + // path params + if ($org_id !== null) { + $resourcePath = str_replace( + '{' . 'org_id' . '}', + ObjectSerializer::toPathValue($org_id), + $resourcePath + ); + } + + + $headers = $this->headerSelector->selectHeaders( + ['application/json', ], + $contentType, + $multipart + ); + + // for model (json/xml) + if (count($formParams) > 0) { + if ($multipart) { + $multipartContents = []; + foreach ($formParams as $formParamName => $formParamValue) { + $formParamValueItems = is_array($formParamValue) ? $formParamValue : [$formParamValue]; + foreach ($formParamValueItems as $formParamValueItem) { + $multipartContents[] = [ + 'name' => $formParamName, + 'contents' => $formParamValueItem + ]; + } + } + // for HTTP post (form) + $httpBody = new MultipartStream($multipartContents); + + } elseif (stripos($headers['Content-Type'], 'application/json') !== false) { + # if Content-Type contains "application/json", json_encode the form parameters + $httpBody = \GuzzleHttp\Utils::jsonEncode($formParams); + } else { + // for HTTP post (form) + $httpBody = ObjectSerializer::buildQuery($formParams); + } + } + + // this endpoint requires Bearer authentication (access token) + if (!empty($this->config->getAccessToken())) { + $headers['Authorization'] = 'Bearer ' . $this->config->getAccessToken(); + } + + $defaultHeaders = []; + if ($this->config->getUserAgent()) { + $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); + } + + $headers = array_merge( + $defaultHeaders, + $headerParams, + $headers + ); + + $operationHost = $this->config->getHost(); + $query = ObjectSerializer::buildQuery($queryParams); + return new Request( + 'GET', + $operationHost . $resourcePath . ($query ? "?{$query}" : ''), + $headers, + $httpBody + ); + } + + /** + * Operation listFileAccessLogs + * + * List File Access Logs + * + * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) + * @param int|null $page The page number you want to start showing the entries. If no value is provided, 1 will be used. (optional) + * @param int|null $per_page The number of results that should be returned. If no value is provided, 25 results will be returned. (optional) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listFileAccessLogs'] to see the possible values for this operation + * + * @throws \SeaTable\Client\ApiException on non-2xx response or if the response body is not in the expected format + * @throws \InvalidArgumentException + * @return object + */ + public function listFileAccessLogs($org_id, $page = null, $per_page = null, string $contentType = self::contentTypes['listFileAccessLogs'][0]) + { + list($response) = $this->listFileAccessLogsWithHttpInfo($org_id, $page, $per_page, $contentType); + return $response; + } + + /** + * Operation listFileAccessLogsWithHttpInfo + * + * List File Access Logs + * + * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) + * @param int|null $page The page number you want to start showing the entries. If no value is provided, 1 will be used. (optional) + * @param int|null $per_page The number of results that should be returned. If no value is provided, 25 results will be returned. (optional) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listFileAccessLogs'] to see the possible values for this operation + * + * @throws \SeaTable\Client\ApiException on non-2xx response or if the response body is not in the expected format + * @throws \InvalidArgumentException + * @return array of object, HTTP status code, HTTP response headers (array of strings) + */ + public function listFileAccessLogsWithHttpInfo($org_id, $page = null, $per_page = null, string $contentType = self::contentTypes['listFileAccessLogs'][0]) + { + $request = $this->listFileAccessLogsRequest($org_id, $page, $per_page, $contentType); + + try { + $options = $this->createHttpClientOption(); + try { + $response = $this->client->send($request, $options); + } catch (RequestException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + (int) $e->getCode(), + $e->getResponse() ? $e->getResponse()->getHeaders() : null, + $e->getResponse() ? (string) $e->getResponse()->getBody() : null + ); + } catch (ConnectException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + (int) $e->getCode(), + null, + null + ); + } + + $statusCode = $response->getStatusCode(); + + + switch($statusCode) { + case 200: + return $this->handleResponseWithDataType( + 'object', + $request, + $response, + ); + } + + + + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + + return $this->handleResponseWithDataType( + 'object', + $request, + $response, + ); + } catch (ApiException $e) { + switch ($e->getCode()) { + case 200: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + 'object', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + throw $e; + } + + + throw $e; + } + } + + /** + * Operation listFileAccessLogsAsync + * + * List File Access Logs + * + * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) + * @param int|null $page The page number you want to start showing the entries. If no value is provided, 1 will be used. (optional) + * @param int|null $per_page The number of results that should be returned. If no value is provided, 25 results will be returned. (optional) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listFileAccessLogs'] to see the possible values for this operation + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function listFileAccessLogsAsync($org_id, $page = null, $per_page = null, string $contentType = self::contentTypes['listFileAccessLogs'][0]) + { + return $this->listFileAccessLogsAsyncWithHttpInfo($org_id, $page, $per_page, $contentType) + ->then( + function ($response) { + return $response[0]; + } + ); + } + + /** + * Operation listFileAccessLogsAsyncWithHttpInfo + * + * List File Access Logs + * + * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) + * @param int|null $page The page number you want to start showing the entries. If no value is provided, 1 will be used. (optional) + * @param int|null $per_page The number of results that should be returned. If no value is provided, 25 results will be returned. (optional) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listFileAccessLogs'] to see the possible values for this operation + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function listFileAccessLogsAsyncWithHttpInfo($org_id, $page = null, $per_page = null, string $contentType = self::contentTypes['listFileAccessLogs'][0]) + { + $returnType = 'object'; + $request = $this->listFileAccessLogsRequest($org_id, $page, $per_page, $contentType); + + return $this->client + ->sendAsync($request, $this->createHttpClientOption()) + ->then( + function ($response) use ($returnType) { + if ($returnType === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + if ($returnType !== 'string') { + $content = json_decode($content); + } + } + + return [ + ObjectSerializer::deserialize($content, $returnType, []), + $response->getStatusCode(), + $response->getHeaders() + ]; + }, + function ($exception) { + $response = $exception->getResponse(); + $statusCode = $response->getStatusCode(); + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + $exception->getRequest()->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + ); + } + + /** + * Create request for operation 'listFileAccessLogs' + * + * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) + * @param int|null $page The page number you want to start showing the entries. If no value is provided, 1 will be used. (optional) + * @param int|null $per_page The number of results that should be returned. If no value is provided, 25 results will be returned. (optional) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listFileAccessLogs'] to see the possible values for this operation + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Psr7\Request + */ + public function listFileAccessLogsRequest($org_id, $page = null, $per_page = null, string $contentType = self::contentTypes['listFileAccessLogs'][0]) + { + + // verify the required parameter 'org_id' is set + if ($org_id === null || (is_array($org_id) && count($org_id) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $org_id when calling listFileAccessLogs' + ); + } + if ($org_id < 1) { + throw new \InvalidArgumentException('invalid value for "$org_id" when calling ActivitiesLogsApi.listFileAccessLogs, must be bigger than or equal to 1.'); + } + + if ($page !== null && $page < 1) { + throw new \InvalidArgumentException('invalid value for "$page" when calling ActivitiesLogsApi.listFileAccessLogs, must be bigger than or equal to 1.'); + } + + if ($per_page !== null && $per_page < 1) { + throw new \InvalidArgumentException('invalid value for "$per_page" when calling ActivitiesLogsApi.listFileAccessLogs, must be bigger than or equal to 1.'); + } + + + $resourcePath = '/api/v2.1/org/{org_id}/admin/file-access-logs/'; + $formParams = []; + $queryParams = []; + $headerParams = []; + $httpBody = ''; + $multipart = false; + + // query params + $queryParams = array_merge($queryParams, ObjectSerializer::toQueryValue( + $page, + 'page', // param base name + 'integer', // openApiType + 'form', // style + true, // explode + false // required + ) ?? []); + // query params + $queryParams = array_merge($queryParams, ObjectSerializer::toQueryValue( + $per_page, + 'per_page', // param base name + 'integer', // openApiType + 'form', // style + true, // explode + false // required + ) ?? []); + - /** - * Set the host index - * - * @param int $hostIndex Host index (required) - */ - public function setHostIndex($hostIndex): void - { - $this->hostIndex = $hostIndex; - } + // path params + if ($org_id !== null) { + $resourcePath = str_replace( + '{' . 'org_id' . '}', + ObjectSerializer::toPathValue($org_id), + $resourcePath + ); + } - /** - * Get the host index - * - * @return int Host index - */ - public function getHostIndex() - { - return $this->hostIndex; - } - /** - * @return Configuration - */ - public function getConfig() - { - return $this->config; + $headers = $this->headerSelector->selectHeaders( + ['application/json', ], + $contentType, + $multipart + ); + + // for model (json/xml) + if (count($formParams) > 0) { + if ($multipart) { + $multipartContents = []; + foreach ($formParams as $formParamName => $formParamValue) { + $formParamValueItems = is_array($formParamValue) ? $formParamValue : [$formParamValue]; + foreach ($formParamValueItems as $formParamValueItem) { + $multipartContents[] = [ + 'name' => $formParamName, + 'contents' => $formParamValueItem + ]; + } + } + // for HTTP post (form) + $httpBody = new MultipartStream($multipartContents); + + } elseif (stripos($headers['Content-Type'], 'application/json') !== false) { + # if Content-Type contains "application/json", json_encode the form parameters + $httpBody = \GuzzleHttp\Utils::jsonEncode($formParams); + } else { + // for HTTP post (form) + $httpBody = ObjectSerializer::buildQuery($formParams); + } + } + + // this endpoint requires Bearer authentication (access token) + if (!empty($this->config->getAccessToken())) { + $headers['Authorization'] = 'Bearer ' . $this->config->getAccessToken(); + } + + $defaultHeaders = []; + if ($this->config->getUserAgent()) { + $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); + } + + $headers = array_merge( + $defaultHeaders, + $headerParams, + $headers + ); + + $operationHost = $this->config->getHost(); + $query = ObjectSerializer::buildQuery($queryParams); + return new Request( + 'GET', + $operationHost . $resourcePath . ($query ? "?{$query}" : ''), + $headers, + $httpBody + ); } /** - * Operation listFileAccessLogs + * Operation listGroupMemberAuditLogs * - * List File Access Logs + * List Group Member Audit Logs * * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) * @param int|null $page The page number you want to start showing the entries. If no value is provided, 1 will be used. (optional) * @param int|null $per_page The number of results that should be returned. If no value is provided, 25 results will be returned. (optional) - * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listFileAccessLogs'] to see the possible values for this operation + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listGroupMemberAuditLogs'] to see the possible values for this operation * * @throws \SeaTable\Client\ApiException on non-2xx response or if the response body is not in the expected format * @throws \InvalidArgumentException * @return object */ - public function listFileAccessLogs($org_id, $page = null, $per_page = null, string $contentType = self::contentTypes['listFileAccessLogs'][0]) + public function listGroupMemberAuditLogs($org_id, $page = null, $per_page = null, string $contentType = self::contentTypes['listGroupMemberAuditLogs'][0]) { - list($response) = $this->listFileAccessLogsWithHttpInfo($org_id, $page, $per_page, $contentType); + list($response) = $this->listGroupMemberAuditLogsWithHttpInfo($org_id, $page, $per_page, $contentType); return $response; } /** - * Operation listFileAccessLogsWithHttpInfo + * Operation listGroupMemberAuditLogsWithHttpInfo * - * List File Access Logs + * List Group Member Audit Logs * * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) * @param int|null $page The page number you want to start showing the entries. If no value is provided, 1 will be used. (optional) * @param int|null $per_page The number of results that should be returned. If no value is provided, 25 results will be returned. (optional) - * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listFileAccessLogs'] to see the possible values for this operation + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listGroupMemberAuditLogs'] to see the possible values for this operation * * @throws \SeaTable\Client\ApiException on non-2xx response or if the response body is not in the expected format * @throws \InvalidArgumentException * @return array of object, HTTP status code, HTTP response headers (array of strings) */ - public function listFileAccessLogsWithHttpInfo($org_id, $page = null, $per_page = null, string $contentType = self::contentTypes['listFileAccessLogs'][0]) + public function listGroupMemberAuditLogsWithHttpInfo($org_id, $page = null, $per_page = null, string $contentType = self::contentTypes['listGroupMemberAuditLogs'][0]) { - $request = $this->listFileAccessLogsRequest($org_id, $page, $per_page, $contentType); + $request = $this->listGroupMemberAuditLogsRequest($org_id, $page, $per_page, $contentType); try { $options = $this->createHttpClientOption(); @@ -244,21 +920,21 @@ public function listFileAccessLogsWithHttpInfo($org_id, $page = null, $per_page } /** - * Operation listFileAccessLogsAsync + * Operation listGroupMemberAuditLogsAsync * - * List File Access Logs + * List Group Member Audit Logs * * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) * @param int|null $page The page number you want to start showing the entries. If no value is provided, 1 will be used. (optional) * @param int|null $per_page The number of results that should be returned. If no value is provided, 25 results will be returned. (optional) - * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listFileAccessLogs'] to see the possible values for this operation + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listGroupMemberAuditLogs'] to see the possible values for this operation * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function listFileAccessLogsAsync($org_id, $page = null, $per_page = null, string $contentType = self::contentTypes['listFileAccessLogs'][0]) + public function listGroupMemberAuditLogsAsync($org_id, $page = null, $per_page = null, string $contentType = self::contentTypes['listGroupMemberAuditLogs'][0]) { - return $this->listFileAccessLogsAsyncWithHttpInfo($org_id, $page, $per_page, $contentType) + return $this->listGroupMemberAuditLogsAsyncWithHttpInfo($org_id, $page, $per_page, $contentType) ->then( function ($response) { return $response[0]; @@ -267,22 +943,22 @@ function ($response) { } /** - * Operation listFileAccessLogsAsyncWithHttpInfo + * Operation listGroupMemberAuditLogsAsyncWithHttpInfo * - * List File Access Logs + * List Group Member Audit Logs * * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) * @param int|null $page The page number you want to start showing the entries. If no value is provided, 1 will be used. (optional) * @param int|null $per_page The number of results that should be returned. If no value is provided, 25 results will be returned. (optional) - * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listFileAccessLogs'] to see the possible values for this operation + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listGroupMemberAuditLogs'] to see the possible values for this operation * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function listFileAccessLogsAsyncWithHttpInfo($org_id, $page = null, $per_page = null, string $contentType = self::contentTypes['listFileAccessLogs'][0]) + public function listGroupMemberAuditLogsAsyncWithHttpInfo($org_id, $page = null, $per_page = null, string $contentType = self::contentTypes['listGroupMemberAuditLogs'][0]) { $returnType = 'object'; - $request = $this->listFileAccessLogsRequest($org_id, $page, $per_page, $contentType); + $request = $this->listGroupMemberAuditLogsRequest($org_id, $page, $per_page, $contentType); return $this->client ->sendAsync($request, $this->createHttpClientOption()) @@ -321,39 +997,39 @@ function ($exception) { } /** - * Create request for operation 'listFileAccessLogs' + * Create request for operation 'listGroupMemberAuditLogs' * * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) * @param int|null $page The page number you want to start showing the entries. If no value is provided, 1 will be used. (optional) * @param int|null $per_page The number of results that should be returned. If no value is provided, 25 results will be returned. (optional) - * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listFileAccessLogs'] to see the possible values for this operation + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listGroupMemberAuditLogs'] to see the possible values for this operation * * @throws \InvalidArgumentException * @return \GuzzleHttp\Psr7\Request */ - public function listFileAccessLogsRequest($org_id, $page = null, $per_page = null, string $contentType = self::contentTypes['listFileAccessLogs'][0]) + public function listGroupMemberAuditLogsRequest($org_id, $page = null, $per_page = null, string $contentType = self::contentTypes['listGroupMemberAuditLogs'][0]) { // verify the required parameter 'org_id' is set if ($org_id === null || (is_array($org_id) && count($org_id) === 0)) { throw new \InvalidArgumentException( - 'Missing the required parameter $org_id when calling listFileAccessLogs' + 'Missing the required parameter $org_id when calling listGroupMemberAuditLogs' ); } if ($org_id < 1) { - throw new \InvalidArgumentException('invalid value for "$org_id" when calling ActivitiesLogsApi.listFileAccessLogs, must be bigger than or equal to 1.'); + throw new \InvalidArgumentException('invalid value for "$org_id" when calling ActivitiesLogsApi.listGroupMemberAuditLogs, must be bigger than or equal to 1.'); } if ($page !== null && $page < 1) { - throw new \InvalidArgumentException('invalid value for "$page" when calling ActivitiesLogsApi.listFileAccessLogs, must be bigger than or equal to 1.'); + throw new \InvalidArgumentException('invalid value for "$page" when calling ActivitiesLogsApi.listGroupMemberAuditLogs, must be bigger than or equal to 1.'); } if ($per_page !== null && $per_page < 1) { - throw new \InvalidArgumentException('invalid value for "$per_page" when calling ActivitiesLogsApi.listFileAccessLogs, must be bigger than or equal to 1.'); + throw new \InvalidArgumentException('invalid value for "$per_page" when calling ActivitiesLogsApi.listGroupMemberAuditLogs, must be bigger than or equal to 1.'); } - $resourcePath = '/api/v2.1/org/{org_id}/admin/file-access-logs/'; + $resourcePath = '/api/v2.1/org/{org_id}/admin/group-member-audit/'; $formParams = []; $queryParams = []; $headerParams = []; @@ -448,42 +1124,48 @@ public function listFileAccessLogsRequest($org_id, $page = null, $per_page = nul } /** - * Operation listGroupMemberAuditLogs + * Operation listPythonRuns * - * List Group Member Audit Logs + * List Python Runs * * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) + * @param string|null $dtable_uuid The unique identifier of a base. (optional) + * @param \DateTime|null $start Start date in ISO format. (optional) + * @param \DateTime|null $end End date in ISO format. (optional) * @param int|null $page The page number you want to start showing the entries. If no value is provided, 1 will be used. (optional) * @param int|null $per_page The number of results that should be returned. If no value is provided, 25 results will be returned. (optional) - * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listGroupMemberAuditLogs'] to see the possible values for this operation + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listPythonRuns'] to see the possible values for this operation * * @throws \SeaTable\Client\ApiException on non-2xx response or if the response body is not in the expected format * @throws \InvalidArgumentException * @return object */ - public function listGroupMemberAuditLogs($org_id, $page = null, $per_page = null, string $contentType = self::contentTypes['listGroupMemberAuditLogs'][0]) + public function listPythonRuns($org_id, $dtable_uuid = null, $start = null, $end = null, $page = null, $per_page = null, string $contentType = self::contentTypes['listPythonRuns'][0]) { - list($response) = $this->listGroupMemberAuditLogsWithHttpInfo($org_id, $page, $per_page, $contentType); + list($response) = $this->listPythonRunsWithHttpInfo($org_id, $dtable_uuid, $start, $end, $page, $per_page, $contentType); return $response; } /** - * Operation listGroupMemberAuditLogsWithHttpInfo + * Operation listPythonRunsWithHttpInfo * - * List Group Member Audit Logs + * List Python Runs * * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) + * @param string|null $dtable_uuid The unique identifier of a base. (optional) + * @param \DateTime|null $start Start date in ISO format. (optional) + * @param \DateTime|null $end End date in ISO format. (optional) * @param int|null $page The page number you want to start showing the entries. If no value is provided, 1 will be used. (optional) * @param int|null $per_page The number of results that should be returned. If no value is provided, 25 results will be returned. (optional) - * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listGroupMemberAuditLogs'] to see the possible values for this operation + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listPythonRuns'] to see the possible values for this operation * * @throws \SeaTable\Client\ApiException on non-2xx response or if the response body is not in the expected format * @throws \InvalidArgumentException * @return array of object, HTTP status code, HTTP response headers (array of strings) */ - public function listGroupMemberAuditLogsWithHttpInfo($org_id, $page = null, $per_page = null, string $contentType = self::contentTypes['listGroupMemberAuditLogs'][0]) + public function listPythonRunsWithHttpInfo($org_id, $dtable_uuid = null, $start = null, $end = null, $page = null, $per_page = null, string $contentType = self::contentTypes['listPythonRuns'][0]) { - $request = $this->listGroupMemberAuditLogsRequest($org_id, $page, $per_page, $contentType); + $request = $this->listPythonRunsRequest($org_id, $dtable_uuid, $start, $end, $page, $per_page, $contentType); try { $options = $this->createHttpClientOption(); @@ -555,21 +1237,24 @@ public function listGroupMemberAuditLogsWithHttpInfo($org_id, $page = null, $per } /** - * Operation listGroupMemberAuditLogsAsync + * Operation listPythonRunsAsync * - * List Group Member Audit Logs + * List Python Runs * * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) + * @param string|null $dtable_uuid The unique identifier of a base. (optional) + * @param \DateTime|null $start Start date in ISO format. (optional) + * @param \DateTime|null $end End date in ISO format. (optional) * @param int|null $page The page number you want to start showing the entries. If no value is provided, 1 will be used. (optional) * @param int|null $per_page The number of results that should be returned. If no value is provided, 25 results will be returned. (optional) - * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listGroupMemberAuditLogs'] to see the possible values for this operation + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listPythonRuns'] to see the possible values for this operation * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function listGroupMemberAuditLogsAsync($org_id, $page = null, $per_page = null, string $contentType = self::contentTypes['listGroupMemberAuditLogs'][0]) + public function listPythonRunsAsync($org_id, $dtable_uuid = null, $start = null, $end = null, $page = null, $per_page = null, string $contentType = self::contentTypes['listPythonRuns'][0]) { - return $this->listGroupMemberAuditLogsAsyncWithHttpInfo($org_id, $page, $per_page, $contentType) + return $this->listPythonRunsAsyncWithHttpInfo($org_id, $dtable_uuid, $start, $end, $page, $per_page, $contentType) ->then( function ($response) { return $response[0]; @@ -578,22 +1263,25 @@ function ($response) { } /** - * Operation listGroupMemberAuditLogsAsyncWithHttpInfo + * Operation listPythonRunsAsyncWithHttpInfo * - * List Group Member Audit Logs + * List Python Runs * * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) + * @param string|null $dtable_uuid The unique identifier of a base. (optional) + * @param \DateTime|null $start Start date in ISO format. (optional) + * @param \DateTime|null $end End date in ISO format. (optional) * @param int|null $page The page number you want to start showing the entries. If no value is provided, 1 will be used. (optional) * @param int|null $per_page The number of results that should be returned. If no value is provided, 25 results will be returned. (optional) - * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listGroupMemberAuditLogs'] to see the possible values for this operation + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listPythonRuns'] to see the possible values for this operation * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function listGroupMemberAuditLogsAsyncWithHttpInfo($org_id, $page = null, $per_page = null, string $contentType = self::contentTypes['listGroupMemberAuditLogs'][0]) + public function listPythonRunsAsyncWithHttpInfo($org_id, $dtable_uuid = null, $start = null, $end = null, $page = null, $per_page = null, string $contentType = self::contentTypes['listPythonRuns'][0]) { $returnType = 'object'; - $request = $this->listGroupMemberAuditLogsRequest($org_id, $page, $per_page, $contentType); + $request = $this->listPythonRunsRequest($org_id, $dtable_uuid, $start, $end, $page, $per_page, $contentType); return $this->client ->sendAsync($request, $this->createHttpClientOption()) @@ -632,45 +1320,81 @@ function ($exception) { } /** - * Create request for operation 'listGroupMemberAuditLogs' + * Create request for operation 'listPythonRuns' * * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) + * @param string|null $dtable_uuid The unique identifier of a base. (optional) + * @param \DateTime|null $start Start date in ISO format. (optional) + * @param \DateTime|null $end End date in ISO format. (optional) * @param int|null $page The page number you want to start showing the entries. If no value is provided, 1 will be used. (optional) * @param int|null $per_page The number of results that should be returned. If no value is provided, 25 results will be returned. (optional) - * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listGroupMemberAuditLogs'] to see the possible values for this operation + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listPythonRuns'] to see the possible values for this operation * * @throws \InvalidArgumentException * @return \GuzzleHttp\Psr7\Request */ - public function listGroupMemberAuditLogsRequest($org_id, $page = null, $per_page = null, string $contentType = self::contentTypes['listGroupMemberAuditLogs'][0]) + public function listPythonRunsRequest($org_id, $dtable_uuid = null, $start = null, $end = null, $page = null, $per_page = null, string $contentType = self::contentTypes['listPythonRuns'][0]) { // verify the required parameter 'org_id' is set if ($org_id === null || (is_array($org_id) && count($org_id) === 0)) { throw new \InvalidArgumentException( - 'Missing the required parameter $org_id when calling listGroupMemberAuditLogs' + 'Missing the required parameter $org_id when calling listPythonRuns' ); } if ($org_id < 1) { - throw new \InvalidArgumentException('invalid value for "$org_id" when calling ActivitiesLogsApi.listGroupMemberAuditLogs, must be bigger than or equal to 1.'); + throw new \InvalidArgumentException('invalid value for "$org_id" when calling ActivitiesLogsApi.listPythonRuns, must be bigger than or equal to 1.'); + } + + if ($dtable_uuid !== null && !preg_match("/^[0-9a-fA-F]{8}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{12}$/", $dtable_uuid)) { + throw new \InvalidArgumentException("invalid value for \"dtable_uuid\" when calling ActivitiesLogsApi.listPythonRuns, must conform to the pattern /^[0-9a-fA-F]{8}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{12}$/."); } + + if ($page !== null && $page < 1) { - throw new \InvalidArgumentException('invalid value for "$page" when calling ActivitiesLogsApi.listGroupMemberAuditLogs, must be bigger than or equal to 1.'); + throw new \InvalidArgumentException('invalid value for "$page" when calling ActivitiesLogsApi.listPythonRuns, must be bigger than or equal to 1.'); } if ($per_page !== null && $per_page < 1) { - throw new \InvalidArgumentException('invalid value for "$per_page" when calling ActivitiesLogsApi.listGroupMemberAuditLogs, must be bigger than or equal to 1.'); + throw new \InvalidArgumentException('invalid value for "$per_page" when calling ActivitiesLogsApi.listPythonRuns, must be bigger than or equal to 1.'); } - $resourcePath = '/api/v2.1/org/{org_id}/admin/group-member-audit/'; + $resourcePath = '/api/v2.1/org/{org_id}/admin/python-runs/'; $formParams = []; $queryParams = []; $headerParams = []; $httpBody = ''; $multipart = false; + // query params + $queryParams = array_merge($queryParams, ObjectSerializer::toQueryValue( + $dtable_uuid, + 'dtable_uuid', // param base name + 'string', // openApiType + 'form', // style + true, // explode + false // required + ) ?? []); + // query params + $queryParams = array_merge($queryParams, ObjectSerializer::toQueryValue( + $start, + 'start', // param base name + 'string', // openApiType + 'form', // style + true, // explode + false // required + ) ?? []); + // query params + $queryParams = array_merge($queryParams, ObjectSerializer::toQueryValue( + $end, + 'end', // param base name + 'string', // openApiType + 'form', // style + true, // explode + false // required + ) ?? []); // query params $queryParams = array_merge($queryParams, ObjectSerializer::toQueryValue( $page, @@ -766,15 +1490,18 @@ public function listGroupMemberAuditLogsRequest($org_id, $page = null, $per_page * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) * @param int|null $page The page number you want to start showing the entries. If no value is provided, 1 will be used. (optional) * @param int|null $per_page The number of results that should be returned. If no value is provided, 25 results will be returned. (optional) + * @param string|null $status Set this to `success` to only return successful logins. By default, all logins are returned. (optional) + * @param \DateTime|null $start Start date in ISO format. (optional) + * @param \DateTime|null $end End date in ISO format. (optional) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listTeamLogins'] to see the possible values for this operation * * @throws \SeaTable\Client\ApiException on non-2xx response or if the response body is not in the expected format * @throws \InvalidArgumentException * @return object */ - public function listTeamLogins($org_id, $page = null, $per_page = null, string $contentType = self::contentTypes['listTeamLogins'][0]) + public function listTeamLogins($org_id, $page = null, $per_page = null, $status = null, $start = null, $end = null, string $contentType = self::contentTypes['listTeamLogins'][0]) { - list($response) = $this->listTeamLoginsWithHttpInfo($org_id, $page, $per_page, $contentType); + list($response) = $this->listTeamLoginsWithHttpInfo($org_id, $page, $per_page, $status, $start, $end, $contentType); return $response; } @@ -786,15 +1513,18 @@ public function listTeamLogins($org_id, $page = null, $per_page = null, string $ * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) * @param int|null $page The page number you want to start showing the entries. If no value is provided, 1 will be used. (optional) * @param int|null $per_page The number of results that should be returned. If no value is provided, 25 results will be returned. (optional) + * @param string|null $status Set this to `success` to only return successful logins. By default, all logins are returned. (optional) + * @param \DateTime|null $start Start date in ISO format. (optional) + * @param \DateTime|null $end End date in ISO format. (optional) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listTeamLogins'] to see the possible values for this operation * * @throws \SeaTable\Client\ApiException on non-2xx response or if the response body is not in the expected format * @throws \InvalidArgumentException * @return array of object, HTTP status code, HTTP response headers (array of strings) */ - public function listTeamLoginsWithHttpInfo($org_id, $page = null, $per_page = null, string $contentType = self::contentTypes['listTeamLogins'][0]) + public function listTeamLoginsWithHttpInfo($org_id, $page = null, $per_page = null, $status = null, $start = null, $end = null, string $contentType = self::contentTypes['listTeamLogins'][0]) { - $request = $this->listTeamLoginsRequest($org_id, $page, $per_page, $contentType); + $request = $this->listTeamLoginsRequest($org_id, $page, $per_page, $status, $start, $end, $contentType); try { $options = $this->createHttpClientOption(); @@ -873,14 +1603,17 @@ public function listTeamLoginsWithHttpInfo($org_id, $page = null, $per_page = nu * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) * @param int|null $page The page number you want to start showing the entries. If no value is provided, 1 will be used. (optional) * @param int|null $per_page The number of results that should be returned. If no value is provided, 25 results will be returned. (optional) + * @param string|null $status Set this to `success` to only return successful logins. By default, all logins are returned. (optional) + * @param \DateTime|null $start Start date in ISO format. (optional) + * @param \DateTime|null $end End date in ISO format. (optional) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listTeamLogins'] to see the possible values for this operation * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function listTeamLoginsAsync($org_id, $page = null, $per_page = null, string $contentType = self::contentTypes['listTeamLogins'][0]) + public function listTeamLoginsAsync($org_id, $page = null, $per_page = null, $status = null, $start = null, $end = null, string $contentType = self::contentTypes['listTeamLogins'][0]) { - return $this->listTeamLoginsAsyncWithHttpInfo($org_id, $page, $per_page, $contentType) + return $this->listTeamLoginsAsyncWithHttpInfo($org_id, $page, $per_page, $status, $start, $end, $contentType) ->then( function ($response) { return $response[0]; @@ -896,15 +1629,18 @@ function ($response) { * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) * @param int|null $page The page number you want to start showing the entries. If no value is provided, 1 will be used. (optional) * @param int|null $per_page The number of results that should be returned. If no value is provided, 25 results will be returned. (optional) + * @param string|null $status Set this to `success` to only return successful logins. By default, all logins are returned. (optional) + * @param \DateTime|null $start Start date in ISO format. (optional) + * @param \DateTime|null $end End date in ISO format. (optional) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listTeamLogins'] to see the possible values for this operation * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function listTeamLoginsAsyncWithHttpInfo($org_id, $page = null, $per_page = null, string $contentType = self::contentTypes['listTeamLogins'][0]) + public function listTeamLoginsAsyncWithHttpInfo($org_id, $page = null, $per_page = null, $status = null, $start = null, $end = null, string $contentType = self::contentTypes['listTeamLogins'][0]) { $returnType = 'object'; - $request = $this->listTeamLoginsRequest($org_id, $page, $per_page, $contentType); + $request = $this->listTeamLoginsRequest($org_id, $page, $per_page, $status, $start, $end, $contentType); return $this->client ->sendAsync($request, $this->createHttpClientOption()) @@ -948,12 +1684,15 @@ function ($exception) { * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) * @param int|null $page The page number you want to start showing the entries. If no value is provided, 1 will be used. (optional) * @param int|null $per_page The number of results that should be returned. If no value is provided, 25 results will be returned. (optional) + * @param string|null $status Set this to `success` to only return successful logins. By default, all logins are returned. (optional) + * @param \DateTime|null $start Start date in ISO format. (optional) + * @param \DateTime|null $end End date in ISO format. (optional) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listTeamLogins'] to see the possible values for this operation * * @throws \InvalidArgumentException * @return \GuzzleHttp\Psr7\Request */ - public function listTeamLoginsRequest($org_id, $page = null, $per_page = null, string $contentType = self::contentTypes['listTeamLogins'][0]) + public function listTeamLoginsRequest($org_id, $page = null, $per_page = null, $status = null, $start = null, $end = null, string $contentType = self::contentTypes['listTeamLogins'][0]) { // verify the required parameter 'org_id' is set @@ -975,6 +1714,9 @@ public function listTeamLoginsRequest($org_id, $page = null, $per_page = null, s } + + + $resourcePath = '/api/v2.1/org/{org_id}/admin/login-logs/'; $formParams = []; $queryParams = []; @@ -1000,6 +1742,33 @@ public function listTeamLoginsRequest($org_id, $page = null, $per_page = null, s true, // explode false // required ) ?? []); + // query params + $queryParams = array_merge($queryParams, ObjectSerializer::toQueryValue( + $status, + 'status', // param base name + 'string', // openApiType + 'form', // style + true, // explode + false // required + ) ?? []); + // query params + $queryParams = array_merge($queryParams, ObjectSerializer::toQueryValue( + $start, + 'start', // param base name + 'string', // openApiType + 'form', // style + true, // explode + false // required + ) ?? []); + // query params + $queryParams = array_merge($queryParams, ObjectSerializer::toQueryValue( + $end, + 'end', // param base name + 'string', // openApiType + 'form', // style + true, // explode + false // required + ) ?? []); // path params @@ -1077,15 +1846,18 @@ public function listTeamLoginsRequest($org_id, $page = null, $per_page = null, s * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) * @param int|null $page The page number you want to start showing the entries. If no value is provided, 1 will be used. (optional) * @param int|null $per_page The number of results that should be returned. If no value is provided, 25 results will be returned. (optional) + * @param string|null $operation_group Filter by a specific operation group. By default, all operations are returned. (optional) + * @param \DateTime|null $start Start date in ISO format. (optional) + * @param \DateTime|null $end End date in ISO format. (optional) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listTeamOperationLog'] to see the possible values for this operation * * @throws \SeaTable\Client\ApiException on non-2xx response or if the response body is not in the expected format * @throws \InvalidArgumentException * @return object */ - public function listTeamOperationLog($org_id, $page = null, $per_page = null, string $contentType = self::contentTypes['listTeamOperationLog'][0]) + public function listTeamOperationLog($org_id, $page = null, $per_page = null, $operation_group = null, $start = null, $end = null, string $contentType = self::contentTypes['listTeamOperationLog'][0]) { - list($response) = $this->listTeamOperationLogWithHttpInfo($org_id, $page, $per_page, $contentType); + list($response) = $this->listTeamOperationLogWithHttpInfo($org_id, $page, $per_page, $operation_group, $start, $end, $contentType); return $response; } @@ -1097,15 +1869,18 @@ public function listTeamOperationLog($org_id, $page = null, $per_page = null, st * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) * @param int|null $page The page number you want to start showing the entries. If no value is provided, 1 will be used. (optional) * @param int|null $per_page The number of results that should be returned. If no value is provided, 25 results will be returned. (optional) + * @param string|null $operation_group Filter by a specific operation group. By default, all operations are returned. (optional) + * @param \DateTime|null $start Start date in ISO format. (optional) + * @param \DateTime|null $end End date in ISO format. (optional) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listTeamOperationLog'] to see the possible values for this operation * * @throws \SeaTable\Client\ApiException on non-2xx response or if the response body is not in the expected format * @throws \InvalidArgumentException * @return array of object, HTTP status code, HTTP response headers (array of strings) */ - public function listTeamOperationLogWithHttpInfo($org_id, $page = null, $per_page = null, string $contentType = self::contentTypes['listTeamOperationLog'][0]) + public function listTeamOperationLogWithHttpInfo($org_id, $page = null, $per_page = null, $operation_group = null, $start = null, $end = null, string $contentType = self::contentTypes['listTeamOperationLog'][0]) { - $request = $this->listTeamOperationLogRequest($org_id, $page, $per_page, $contentType); + $request = $this->listTeamOperationLogRequest($org_id, $page, $per_page, $operation_group, $start, $end, $contentType); try { $options = $this->createHttpClientOption(); @@ -1184,14 +1959,17 @@ public function listTeamOperationLogWithHttpInfo($org_id, $page = null, $per_pag * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) * @param int|null $page The page number you want to start showing the entries. If no value is provided, 1 will be used. (optional) * @param int|null $per_page The number of results that should be returned. If no value is provided, 25 results will be returned. (optional) + * @param string|null $operation_group Filter by a specific operation group. By default, all operations are returned. (optional) + * @param \DateTime|null $start Start date in ISO format. (optional) + * @param \DateTime|null $end End date in ISO format. (optional) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listTeamOperationLog'] to see the possible values for this operation * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function listTeamOperationLogAsync($org_id, $page = null, $per_page = null, string $contentType = self::contentTypes['listTeamOperationLog'][0]) + public function listTeamOperationLogAsync($org_id, $page = null, $per_page = null, $operation_group = null, $start = null, $end = null, string $contentType = self::contentTypes['listTeamOperationLog'][0]) { - return $this->listTeamOperationLogAsyncWithHttpInfo($org_id, $page, $per_page, $contentType) + return $this->listTeamOperationLogAsyncWithHttpInfo($org_id, $page, $per_page, $operation_group, $start, $end, $contentType) ->then( function ($response) { return $response[0]; @@ -1207,15 +1985,18 @@ function ($response) { * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) * @param int|null $page The page number you want to start showing the entries. If no value is provided, 1 will be used. (optional) * @param int|null $per_page The number of results that should be returned. If no value is provided, 25 results will be returned. (optional) + * @param string|null $operation_group Filter by a specific operation group. By default, all operations are returned. (optional) + * @param \DateTime|null $start Start date in ISO format. (optional) + * @param \DateTime|null $end End date in ISO format. (optional) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listTeamOperationLog'] to see the possible values for this operation * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function listTeamOperationLogAsyncWithHttpInfo($org_id, $page = null, $per_page = null, string $contentType = self::contentTypes['listTeamOperationLog'][0]) + public function listTeamOperationLogAsyncWithHttpInfo($org_id, $page = null, $per_page = null, $operation_group = null, $start = null, $end = null, string $contentType = self::contentTypes['listTeamOperationLog'][0]) { $returnType = 'object'; - $request = $this->listTeamOperationLogRequest($org_id, $page, $per_page, $contentType); + $request = $this->listTeamOperationLogRequest($org_id, $page, $per_page, $operation_group, $start, $end, $contentType); return $this->client ->sendAsync($request, $this->createHttpClientOption()) @@ -1259,12 +2040,15 @@ function ($exception) { * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) * @param int|null $page The page number you want to start showing the entries. If no value is provided, 1 will be used. (optional) * @param int|null $per_page The number of results that should be returned. If no value is provided, 25 results will be returned. (optional) + * @param string|null $operation_group Filter by a specific operation group. By default, all operations are returned. (optional) + * @param \DateTime|null $start Start date in ISO format. (optional) + * @param \DateTime|null $end End date in ISO format. (optional) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listTeamOperationLog'] to see the possible values for this operation * * @throws \InvalidArgumentException * @return \GuzzleHttp\Psr7\Request */ - public function listTeamOperationLogRequest($org_id, $page = null, $per_page = null, string $contentType = self::contentTypes['listTeamOperationLog'][0]) + public function listTeamOperationLogRequest($org_id, $page = null, $per_page = null, $operation_group = null, $start = null, $end = null, string $contentType = self::contentTypes['listTeamOperationLog'][0]) { // verify the required parameter 'org_id' is set @@ -1286,6 +2070,9 @@ public function listTeamOperationLogRequest($org_id, $page = null, $per_page = n } + + + $resourcePath = '/api/v2.1/org/{org_id}/admin/admin-logs/'; $formParams = []; $queryParams = []; @@ -1311,6 +2098,33 @@ public function listTeamOperationLogRequest($org_id, $page = null, $per_page = n true, // explode false // required ) ?? []); + // query params + $queryParams = array_merge($queryParams, ObjectSerializer::toQueryValue( + $operation_group, + 'operation_group', // param base name + 'string', // openApiType + 'form', // style + true, // explode + false // required + ) ?? []); + // query params + $queryParams = array_merge($queryParams, ObjectSerializer::toQueryValue( + $start, + 'start', // param base name + 'string', // openApiType + 'form', // style + true, // explode + false // required + ) ?? []); + // query params + $queryParams = array_merge($queryParams, ObjectSerializer::toQueryValue( + $end, + 'end', // param base name + 'string', // openApiType + 'form', // style + true, // explode + false // required + ) ?? []); // path params @@ -1730,6 +2544,14 @@ protected function createHttpClientOption() } } + if ($this->config->getCertFile()) { + $options[RequestOptions::CERT] = $this->config->getCertFile(); + } + + if ($this->config->getKeyFile()) { + $options[RequestOptions::SSL_KEY] = $this->config->getKeyFile(); + } + return $options; } diff --git a/lib/TeamAdmin/BasesApi.php b/lib/TeamAdmin/BasesApi.php index f0d5804c..a64c434d 100644 --- a/lib/TeamAdmin/BasesApi.php +++ b/lib/TeamAdmin/BasesApi.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -76,12 +76,21 @@ class BasesApi 'clearTeamTrashBin' => [ 'application/json', ], + 'deleteApiToken' => [ + 'application/json', + ], 'deleteBase' => [ 'application/json', ], 'getBase' => [ 'application/json', ], + 'listApiTokens' => [ + 'application/json', + ], + 'listApiTokensOfAllBases' => [ + 'application/json', + ], 'listBaseSharings' => [ 'application/json', ], @@ -91,6 +100,9 @@ class BasesApi 'listTrashBases' => [ 'application/json', ], + 'listUsersBases' => [ + 'application/json', + ], 'restoreBaseFromTrash' => [ 'application/json', ], @@ -421,40 +433,42 @@ public function clearTeamTrashBinRequest($org_id, string $contentType = self::co } /** - * Operation deleteBase + * Operation deleteApiToken * - * Delete Base + * Delete API-Token * * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) * @param string $base_uuid The unique identifier of a base. Sometimes also called dtable_uuid. (required) - * @param string $contentType The value for the Content-Type header. Check self::contentTypes['deleteBase'] to see the possible values for this operation + * @param string $app_name The name of your app. Every API-Token has a name to identify the purpose. The name of the app must be unique for every base. (required) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['deleteApiToken'] to see the possible values for this operation * * @throws \SeaTable\Client\ApiException on non-2xx response or if the response body is not in the expected format * @throws \InvalidArgumentException * @return object */ - public function deleteBase($org_id, $base_uuid, string $contentType = self::contentTypes['deleteBase'][0]) + public function deleteApiToken($org_id, $base_uuid, $app_name, string $contentType = self::contentTypes['deleteApiToken'][0]) { - list($response) = $this->deleteBaseWithHttpInfo($org_id, $base_uuid, $contentType); + list($response) = $this->deleteApiTokenWithHttpInfo($org_id, $base_uuid, $app_name, $contentType); return $response; } /** - * Operation deleteBaseWithHttpInfo + * Operation deleteApiTokenWithHttpInfo * - * Delete Base + * Delete API-Token * * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) * @param string $base_uuid The unique identifier of a base. Sometimes also called dtable_uuid. (required) - * @param string $contentType The value for the Content-Type header. Check self::contentTypes['deleteBase'] to see the possible values for this operation + * @param string $app_name The name of your app. Every API-Token has a name to identify the purpose. The name of the app must be unique for every base. (required) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['deleteApiToken'] to see the possible values for this operation * * @throws \SeaTable\Client\ApiException on non-2xx response or if the response body is not in the expected format * @throws \InvalidArgumentException * @return array of object, HTTP status code, HTTP response headers (array of strings) */ - public function deleteBaseWithHttpInfo($org_id, $base_uuid, string $contentType = self::contentTypes['deleteBase'][0]) + public function deleteApiTokenWithHttpInfo($org_id, $base_uuid, $app_name, string $contentType = self::contentTypes['deleteApiToken'][0]) { - $request = $this->deleteBaseRequest($org_id, $base_uuid, $contentType); + $request = $this->deleteApiTokenRequest($org_id, $base_uuid, $app_name, $contentType); try { $options = $this->createHttpClientOption(); @@ -526,20 +540,21 @@ public function deleteBaseWithHttpInfo($org_id, $base_uuid, string $contentType } /** - * Operation deleteBaseAsync + * Operation deleteApiTokenAsync * - * Delete Base + * Delete API-Token * * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) * @param string $base_uuid The unique identifier of a base. Sometimes also called dtable_uuid. (required) - * @param string $contentType The value for the Content-Type header. Check self::contentTypes['deleteBase'] to see the possible values for this operation + * @param string $app_name The name of your app. Every API-Token has a name to identify the purpose. The name of the app must be unique for every base. (required) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['deleteApiToken'] to see the possible values for this operation * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function deleteBaseAsync($org_id, $base_uuid, string $contentType = self::contentTypes['deleteBase'][0]) + public function deleteApiTokenAsync($org_id, $base_uuid, $app_name, string $contentType = self::contentTypes['deleteApiToken'][0]) { - return $this->deleteBaseAsyncWithHttpInfo($org_id, $base_uuid, $contentType) + return $this->deleteApiTokenAsyncWithHttpInfo($org_id, $base_uuid, $app_name, $contentType) ->then( function ($response) { return $response[0]; @@ -548,21 +563,22 @@ function ($response) { } /** - * Operation deleteBaseAsyncWithHttpInfo + * Operation deleteApiTokenAsyncWithHttpInfo * - * Delete Base + * Delete API-Token * * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) * @param string $base_uuid The unique identifier of a base. Sometimes also called dtable_uuid. (required) - * @param string $contentType The value for the Content-Type header. Check self::contentTypes['deleteBase'] to see the possible values for this operation + * @param string $app_name The name of your app. Every API-Token has a name to identify the purpose. The name of the app must be unique for every base. (required) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['deleteApiToken'] to see the possible values for this operation * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function deleteBaseAsyncWithHttpInfo($org_id, $base_uuid, string $contentType = self::contentTypes['deleteBase'][0]) + public function deleteApiTokenAsyncWithHttpInfo($org_id, $base_uuid, $app_name, string $contentType = self::contentTypes['deleteApiToken'][0]) { $returnType = 'object'; - $request = $this->deleteBaseRequest($org_id, $base_uuid, $contentType); + $request = $this->deleteApiTokenRequest($org_id, $base_uuid, $app_name, $contentType); return $this->client ->sendAsync($request, $this->createHttpClientOption()) @@ -601,40 +617,48 @@ function ($exception) { } /** - * Create request for operation 'deleteBase' + * Create request for operation 'deleteApiToken' * * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) * @param string $base_uuid The unique identifier of a base. Sometimes also called dtable_uuid. (required) - * @param string $contentType The value for the Content-Type header. Check self::contentTypes['deleteBase'] to see the possible values for this operation + * @param string $app_name The name of your app. Every API-Token has a name to identify the purpose. The name of the app must be unique for every base. (required) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['deleteApiToken'] to see the possible values for this operation * * @throws \InvalidArgumentException * @return \GuzzleHttp\Psr7\Request */ - public function deleteBaseRequest($org_id, $base_uuid, string $contentType = self::contentTypes['deleteBase'][0]) + public function deleteApiTokenRequest($org_id, $base_uuid, $app_name, string $contentType = self::contentTypes['deleteApiToken'][0]) { // verify the required parameter 'org_id' is set if ($org_id === null || (is_array($org_id) && count($org_id) === 0)) { throw new \InvalidArgumentException( - 'Missing the required parameter $org_id when calling deleteBase' + 'Missing the required parameter $org_id when calling deleteApiToken' ); } if ($org_id < 1) { - throw new \InvalidArgumentException('invalid value for "$org_id" when calling BasesApi.deleteBase, must be bigger than or equal to 1.'); + throw new \InvalidArgumentException('invalid value for "$org_id" when calling BasesApi.deleteApiToken, must be bigger than or equal to 1.'); } // verify the required parameter 'base_uuid' is set if ($base_uuid === null || (is_array($base_uuid) && count($base_uuid) === 0)) { throw new \InvalidArgumentException( - 'Missing the required parameter $base_uuid when calling deleteBase' + 'Missing the required parameter $base_uuid when calling deleteApiToken' ); } if (!preg_match("/^[0-9a-fA-F]{8}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{12}$/", $base_uuid)) { - throw new \InvalidArgumentException("invalid value for \"base_uuid\" when calling BasesApi.deleteBase, must conform to the pattern /^[0-9a-fA-F]{8}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{12}$/."); + throw new \InvalidArgumentException("invalid value for \"base_uuid\" when calling BasesApi.deleteApiToken, must conform to the pattern /^[0-9a-fA-F]{8}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{12}$/."); } + // verify the required parameter 'app_name' is set + if ($app_name === null || (is_array($app_name) && count($app_name) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $app_name when calling deleteApiToken' + ); + } - $resourcePath = '/api/v2.1/org/{org_id}/admin/dtables/{base_uuid}/'; + + $resourcePath = '/api/v2.1/org/{org_id}/admin/dtables/{base_uuid}/api-tokens/{app_name}/'; $formParams = []; $queryParams = []; $headerParams = []; @@ -659,6 +683,14 @@ public function deleteBaseRequest($org_id, $base_uuid, string $contentType = sel $resourcePath ); } + // path params + if ($app_name !== null) { + $resourcePath = str_replace( + '{' . 'app_name' . '}', + ObjectSerializer::toPathValue($app_name), + $resourcePath + ); + } $headers = $this->headerSelector->selectHeaders( @@ -719,40 +751,1245 @@ public function deleteBaseRequest($org_id, $base_uuid, string $contentType = sel } /** - * Operation getBase + * Operation deleteBase * - * Get Base + * Delete Base + * + * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) + * @param string $base_uuid The unique identifier of a base. Sometimes also called dtable_uuid. (required) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['deleteBase'] to see the possible values for this operation + * + * @throws \SeaTable\Client\ApiException on non-2xx response or if the response body is not in the expected format + * @throws \InvalidArgumentException + * @return object + */ + public function deleteBase($org_id, $base_uuid, string $contentType = self::contentTypes['deleteBase'][0]) + { + list($response) = $this->deleteBaseWithHttpInfo($org_id, $base_uuid, $contentType); + return $response; + } + + /** + * Operation deleteBaseWithHttpInfo + * + * Delete Base + * + * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) + * @param string $base_uuid The unique identifier of a base. Sometimes also called dtable_uuid. (required) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['deleteBase'] to see the possible values for this operation + * + * @throws \SeaTable\Client\ApiException on non-2xx response or if the response body is not in the expected format + * @throws \InvalidArgumentException + * @return array of object, HTTP status code, HTTP response headers (array of strings) + */ + public function deleteBaseWithHttpInfo($org_id, $base_uuid, string $contentType = self::contentTypes['deleteBase'][0]) + { + $request = $this->deleteBaseRequest($org_id, $base_uuid, $contentType); + + try { + $options = $this->createHttpClientOption(); + try { + $response = $this->client->send($request, $options); + } catch (RequestException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + (int) $e->getCode(), + $e->getResponse() ? $e->getResponse()->getHeaders() : null, + $e->getResponse() ? (string) $e->getResponse()->getBody() : null + ); + } catch (ConnectException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + (int) $e->getCode(), + null, + null + ); + } + + $statusCode = $response->getStatusCode(); + + + switch($statusCode) { + case 200: + return $this->handleResponseWithDataType( + 'object', + $request, + $response, + ); + } + + + + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + + return $this->handleResponseWithDataType( + 'object', + $request, + $response, + ); + } catch (ApiException $e) { + switch ($e->getCode()) { + case 200: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + 'object', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + throw $e; + } + + + throw $e; + } + } + + /** + * Operation deleteBaseAsync + * + * Delete Base + * + * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) + * @param string $base_uuid The unique identifier of a base. Sometimes also called dtable_uuid. (required) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['deleteBase'] to see the possible values for this operation + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function deleteBaseAsync($org_id, $base_uuid, string $contentType = self::contentTypes['deleteBase'][0]) + { + return $this->deleteBaseAsyncWithHttpInfo($org_id, $base_uuid, $contentType) + ->then( + function ($response) { + return $response[0]; + } + ); + } + + /** + * Operation deleteBaseAsyncWithHttpInfo + * + * Delete Base + * + * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) + * @param string $base_uuid The unique identifier of a base. Sometimes also called dtable_uuid. (required) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['deleteBase'] to see the possible values for this operation + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function deleteBaseAsyncWithHttpInfo($org_id, $base_uuid, string $contentType = self::contentTypes['deleteBase'][0]) + { + $returnType = 'object'; + $request = $this->deleteBaseRequest($org_id, $base_uuid, $contentType); + + return $this->client + ->sendAsync($request, $this->createHttpClientOption()) + ->then( + function ($response) use ($returnType) { + if ($returnType === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + if ($returnType !== 'string') { + $content = json_decode($content); + } + } + + return [ + ObjectSerializer::deserialize($content, $returnType, []), + $response->getStatusCode(), + $response->getHeaders() + ]; + }, + function ($exception) { + $response = $exception->getResponse(); + $statusCode = $response->getStatusCode(); + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + $exception->getRequest()->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + ); + } + + /** + * Create request for operation 'deleteBase' + * + * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) + * @param string $base_uuid The unique identifier of a base. Sometimes also called dtable_uuid. (required) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['deleteBase'] to see the possible values for this operation + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Psr7\Request + */ + public function deleteBaseRequest($org_id, $base_uuid, string $contentType = self::contentTypes['deleteBase'][0]) + { + + // verify the required parameter 'org_id' is set + if ($org_id === null || (is_array($org_id) && count($org_id) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $org_id when calling deleteBase' + ); + } + if ($org_id < 1) { + throw new \InvalidArgumentException('invalid value for "$org_id" when calling BasesApi.deleteBase, must be bigger than or equal to 1.'); + } + + // verify the required parameter 'base_uuid' is set + if ($base_uuid === null || (is_array($base_uuid) && count($base_uuid) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $base_uuid when calling deleteBase' + ); + } + if (!preg_match("/^[0-9a-fA-F]{8}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{12}$/", $base_uuid)) { + throw new \InvalidArgumentException("invalid value for \"base_uuid\" when calling BasesApi.deleteBase, must conform to the pattern /^[0-9a-fA-F]{8}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{12}$/."); + } + + + $resourcePath = '/api/v2.1/org/{org_id}/admin/dtables/{base_uuid}/'; + $formParams = []; + $queryParams = []; + $headerParams = []; + $httpBody = ''; + $multipart = false; + + + + // path params + if ($org_id !== null) { + $resourcePath = str_replace( + '{' . 'org_id' . '}', + ObjectSerializer::toPathValue($org_id), + $resourcePath + ); + } + // path params + if ($base_uuid !== null) { + $resourcePath = str_replace( + '{' . 'base_uuid' . '}', + ObjectSerializer::toPathValue($base_uuid), + $resourcePath + ); + } + + + $headers = $this->headerSelector->selectHeaders( + ['application/json', ], + $contentType, + $multipart + ); + + // for model (json/xml) + if (count($formParams) > 0) { + if ($multipart) { + $multipartContents = []; + foreach ($formParams as $formParamName => $formParamValue) { + $formParamValueItems = is_array($formParamValue) ? $formParamValue : [$formParamValue]; + foreach ($formParamValueItems as $formParamValueItem) { + $multipartContents[] = [ + 'name' => $formParamName, + 'contents' => $formParamValueItem + ]; + } + } + // for HTTP post (form) + $httpBody = new MultipartStream($multipartContents); + + } elseif (stripos($headers['Content-Type'], 'application/json') !== false) { + # if Content-Type contains "application/json", json_encode the form parameters + $httpBody = \GuzzleHttp\Utils::jsonEncode($formParams); + } else { + // for HTTP post (form) + $httpBody = ObjectSerializer::buildQuery($formParams); + } + } + + // this endpoint requires Bearer authentication (access token) + if (!empty($this->config->getAccessToken())) { + $headers['Authorization'] = 'Bearer ' . $this->config->getAccessToken(); + } + + $defaultHeaders = []; + if ($this->config->getUserAgent()) { + $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); + } + + $headers = array_merge( + $defaultHeaders, + $headerParams, + $headers + ); + + $operationHost = $this->config->getHost(); + $query = ObjectSerializer::buildQuery($queryParams); + return new Request( + 'DELETE', + $operationHost . $resourcePath . ($query ? "?{$query}" : ''), + $headers, + $httpBody + ); + } + + /** + * Operation getBase + * + * Get Base + * + * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) + * @param string $base_uuid The unique identifier of a base. Sometimes also called dtable_uuid. (required) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['getBase'] to see the possible values for this operation + * + * @throws \SeaTable\Client\ApiException on non-2xx response or if the response body is not in the expected format + * @throws \InvalidArgumentException + * @return object + */ + public function getBase($org_id, $base_uuid, string $contentType = self::contentTypes['getBase'][0]) + { + list($response) = $this->getBaseWithHttpInfo($org_id, $base_uuid, $contentType); + return $response; + } + + /** + * Operation getBaseWithHttpInfo + * + * Get Base + * + * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) + * @param string $base_uuid The unique identifier of a base. Sometimes also called dtable_uuid. (required) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['getBase'] to see the possible values for this operation + * + * @throws \SeaTable\Client\ApiException on non-2xx response or if the response body is not in the expected format + * @throws \InvalidArgumentException + * @return array of object, HTTP status code, HTTP response headers (array of strings) + */ + public function getBaseWithHttpInfo($org_id, $base_uuid, string $contentType = self::contentTypes['getBase'][0]) + { + $request = $this->getBaseRequest($org_id, $base_uuid, $contentType); + + try { + $options = $this->createHttpClientOption(); + try { + $response = $this->client->send($request, $options); + } catch (RequestException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + (int) $e->getCode(), + $e->getResponse() ? $e->getResponse()->getHeaders() : null, + $e->getResponse() ? (string) $e->getResponse()->getBody() : null + ); + } catch (ConnectException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + (int) $e->getCode(), + null, + null + ); + } + + $statusCode = $response->getStatusCode(); + + + switch($statusCode) { + case 200: + return $this->handleResponseWithDataType( + 'object', + $request, + $response, + ); + } + + + + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + + return $this->handleResponseWithDataType( + 'object', + $request, + $response, + ); + } catch (ApiException $e) { + switch ($e->getCode()) { + case 200: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + 'object', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + throw $e; + } + + + throw $e; + } + } + + /** + * Operation getBaseAsync + * + * Get Base + * + * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) + * @param string $base_uuid The unique identifier of a base. Sometimes also called dtable_uuid. (required) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['getBase'] to see the possible values for this operation + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function getBaseAsync($org_id, $base_uuid, string $contentType = self::contentTypes['getBase'][0]) + { + return $this->getBaseAsyncWithHttpInfo($org_id, $base_uuid, $contentType) + ->then( + function ($response) { + return $response[0]; + } + ); + } + + /** + * Operation getBaseAsyncWithHttpInfo + * + * Get Base + * + * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) + * @param string $base_uuid The unique identifier of a base. Sometimes also called dtable_uuid. (required) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['getBase'] to see the possible values for this operation + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function getBaseAsyncWithHttpInfo($org_id, $base_uuid, string $contentType = self::contentTypes['getBase'][0]) + { + $returnType = 'object'; + $request = $this->getBaseRequest($org_id, $base_uuid, $contentType); + + return $this->client + ->sendAsync($request, $this->createHttpClientOption()) + ->then( + function ($response) use ($returnType) { + if ($returnType === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + if ($returnType !== 'string') { + $content = json_decode($content); + } + } + + return [ + ObjectSerializer::deserialize($content, $returnType, []), + $response->getStatusCode(), + $response->getHeaders() + ]; + }, + function ($exception) { + $response = $exception->getResponse(); + $statusCode = $response->getStatusCode(); + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + $exception->getRequest()->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + ); + } + + /** + * Create request for operation 'getBase' + * + * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) + * @param string $base_uuid The unique identifier of a base. Sometimes also called dtable_uuid. (required) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['getBase'] to see the possible values for this operation + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Psr7\Request + */ + public function getBaseRequest($org_id, $base_uuid, string $contentType = self::contentTypes['getBase'][0]) + { + + // verify the required parameter 'org_id' is set + if ($org_id === null || (is_array($org_id) && count($org_id) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $org_id when calling getBase' + ); + } + if ($org_id < 1) { + throw new \InvalidArgumentException('invalid value for "$org_id" when calling BasesApi.getBase, must be bigger than or equal to 1.'); + } + + // verify the required parameter 'base_uuid' is set + if ($base_uuid === null || (is_array($base_uuid) && count($base_uuid) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $base_uuid when calling getBase' + ); + } + if (!preg_match("/^[0-9a-fA-F]{8}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{12}$/", $base_uuid)) { + throw new \InvalidArgumentException("invalid value for \"base_uuid\" when calling BasesApi.getBase, must conform to the pattern /^[0-9a-fA-F]{8}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{12}$/."); + } + + + $resourcePath = '/api/v2.1/org/{org_id}/admin/dtables/{base_uuid}/'; + $formParams = []; + $queryParams = []; + $headerParams = []; + $httpBody = ''; + $multipart = false; + + + + // path params + if ($org_id !== null) { + $resourcePath = str_replace( + '{' . 'org_id' . '}', + ObjectSerializer::toPathValue($org_id), + $resourcePath + ); + } + // path params + if ($base_uuid !== null) { + $resourcePath = str_replace( + '{' . 'base_uuid' . '}', + ObjectSerializer::toPathValue($base_uuid), + $resourcePath + ); + } + + + $headers = $this->headerSelector->selectHeaders( + ['application/json', ], + $contentType, + $multipart + ); + + // for model (json/xml) + if (count($formParams) > 0) { + if ($multipart) { + $multipartContents = []; + foreach ($formParams as $formParamName => $formParamValue) { + $formParamValueItems = is_array($formParamValue) ? $formParamValue : [$formParamValue]; + foreach ($formParamValueItems as $formParamValueItem) { + $multipartContents[] = [ + 'name' => $formParamName, + 'contents' => $formParamValueItem + ]; + } + } + // for HTTP post (form) + $httpBody = new MultipartStream($multipartContents); + + } elseif (stripos($headers['Content-Type'], 'application/json') !== false) { + # if Content-Type contains "application/json", json_encode the form parameters + $httpBody = \GuzzleHttp\Utils::jsonEncode($formParams); + } else { + // for HTTP post (form) + $httpBody = ObjectSerializer::buildQuery($formParams); + } + } + + // this endpoint requires Bearer authentication (access token) + if (!empty($this->config->getAccessToken())) { + $headers['Authorization'] = 'Bearer ' . $this->config->getAccessToken(); + } + + $defaultHeaders = []; + if ($this->config->getUserAgent()) { + $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); + } + + $headers = array_merge( + $defaultHeaders, + $headerParams, + $headers + ); + + $operationHost = $this->config->getHost(); + $query = ObjectSerializer::buildQuery($queryParams); + return new Request( + 'GET', + $operationHost . $resourcePath . ($query ? "?{$query}" : ''), + $headers, + $httpBody + ); + } + + /** + * Operation listApiTokens + * + * List API-Tokens + * + * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) + * @param string $base_uuid The unique identifier of a base. Sometimes also called dtable_uuid. (required) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listApiTokens'] to see the possible values for this operation + * + * @throws \SeaTable\Client\ApiException on non-2xx response or if the response body is not in the expected format + * @throws \InvalidArgumentException + * @return object + */ + public function listApiTokens($org_id, $base_uuid, string $contentType = self::contentTypes['listApiTokens'][0]) + { + list($response) = $this->listApiTokensWithHttpInfo($org_id, $base_uuid, $contentType); + return $response; + } + + /** + * Operation listApiTokensWithHttpInfo + * + * List API-Tokens + * + * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) + * @param string $base_uuid The unique identifier of a base. Sometimes also called dtable_uuid. (required) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listApiTokens'] to see the possible values for this operation + * + * @throws \SeaTable\Client\ApiException on non-2xx response or if the response body is not in the expected format + * @throws \InvalidArgumentException + * @return array of object, HTTP status code, HTTP response headers (array of strings) + */ + public function listApiTokensWithHttpInfo($org_id, $base_uuid, string $contentType = self::contentTypes['listApiTokens'][0]) + { + $request = $this->listApiTokensRequest($org_id, $base_uuid, $contentType); + + try { + $options = $this->createHttpClientOption(); + try { + $response = $this->client->send($request, $options); + } catch (RequestException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + (int) $e->getCode(), + $e->getResponse() ? $e->getResponse()->getHeaders() : null, + $e->getResponse() ? (string) $e->getResponse()->getBody() : null + ); + } catch (ConnectException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + (int) $e->getCode(), + null, + null + ); + } + + $statusCode = $response->getStatusCode(); + + + switch($statusCode) { + case 200: + return $this->handleResponseWithDataType( + 'object', + $request, + $response, + ); + } + + + + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + + return $this->handleResponseWithDataType( + 'object', + $request, + $response, + ); + } catch (ApiException $e) { + switch ($e->getCode()) { + case 200: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + 'object', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + throw $e; + } + + + throw $e; + } + } + + /** + * Operation listApiTokensAsync + * + * List API-Tokens + * + * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) + * @param string $base_uuid The unique identifier of a base. Sometimes also called dtable_uuid. (required) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listApiTokens'] to see the possible values for this operation + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function listApiTokensAsync($org_id, $base_uuid, string $contentType = self::contentTypes['listApiTokens'][0]) + { + return $this->listApiTokensAsyncWithHttpInfo($org_id, $base_uuid, $contentType) + ->then( + function ($response) { + return $response[0]; + } + ); + } + + /** + * Operation listApiTokensAsyncWithHttpInfo + * + * List API-Tokens + * + * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) + * @param string $base_uuid The unique identifier of a base. Sometimes also called dtable_uuid. (required) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listApiTokens'] to see the possible values for this operation + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function listApiTokensAsyncWithHttpInfo($org_id, $base_uuid, string $contentType = self::contentTypes['listApiTokens'][0]) + { + $returnType = 'object'; + $request = $this->listApiTokensRequest($org_id, $base_uuid, $contentType); + + return $this->client + ->sendAsync($request, $this->createHttpClientOption()) + ->then( + function ($response) use ($returnType) { + if ($returnType === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + if ($returnType !== 'string') { + $content = json_decode($content); + } + } + + return [ + ObjectSerializer::deserialize($content, $returnType, []), + $response->getStatusCode(), + $response->getHeaders() + ]; + }, + function ($exception) { + $response = $exception->getResponse(); + $statusCode = $response->getStatusCode(); + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + $exception->getRequest()->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + ); + } + + /** + * Create request for operation 'listApiTokens' + * + * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) + * @param string $base_uuid The unique identifier of a base. Sometimes also called dtable_uuid. (required) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listApiTokens'] to see the possible values for this operation + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Psr7\Request + */ + public function listApiTokensRequest($org_id, $base_uuid, string $contentType = self::contentTypes['listApiTokens'][0]) + { + + // verify the required parameter 'org_id' is set + if ($org_id === null || (is_array($org_id) && count($org_id) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $org_id when calling listApiTokens' + ); + } + if ($org_id < 1) { + throw new \InvalidArgumentException('invalid value for "$org_id" when calling BasesApi.listApiTokens, must be bigger than or equal to 1.'); + } + + // verify the required parameter 'base_uuid' is set + if ($base_uuid === null || (is_array($base_uuid) && count($base_uuid) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $base_uuid when calling listApiTokens' + ); + } + if (!preg_match("/^[0-9a-fA-F]{8}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{12}$/", $base_uuid)) { + throw new \InvalidArgumentException("invalid value for \"base_uuid\" when calling BasesApi.listApiTokens, must conform to the pattern /^[0-9a-fA-F]{8}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{12}$/."); + } + + + $resourcePath = '/api/v2.1/org/{org_id}/admin/dtables/{base_uuid}/api-tokens/'; + $formParams = []; + $queryParams = []; + $headerParams = []; + $httpBody = ''; + $multipart = false; + + + + // path params + if ($org_id !== null) { + $resourcePath = str_replace( + '{' . 'org_id' . '}', + ObjectSerializer::toPathValue($org_id), + $resourcePath + ); + } + // path params + if ($base_uuid !== null) { + $resourcePath = str_replace( + '{' . 'base_uuid' . '}', + ObjectSerializer::toPathValue($base_uuid), + $resourcePath + ); + } + + + $headers = $this->headerSelector->selectHeaders( + ['application/json', ], + $contentType, + $multipart + ); + + // for model (json/xml) + if (count($formParams) > 0) { + if ($multipart) { + $multipartContents = []; + foreach ($formParams as $formParamName => $formParamValue) { + $formParamValueItems = is_array($formParamValue) ? $formParamValue : [$formParamValue]; + foreach ($formParamValueItems as $formParamValueItem) { + $multipartContents[] = [ + 'name' => $formParamName, + 'contents' => $formParamValueItem + ]; + } + } + // for HTTP post (form) + $httpBody = new MultipartStream($multipartContents); + + } elseif (stripos($headers['Content-Type'], 'application/json') !== false) { + # if Content-Type contains "application/json", json_encode the form parameters + $httpBody = \GuzzleHttp\Utils::jsonEncode($formParams); + } else { + // for HTTP post (form) + $httpBody = ObjectSerializer::buildQuery($formParams); + } + } + + // this endpoint requires Bearer authentication (access token) + if (!empty($this->config->getAccessToken())) { + $headers['Authorization'] = 'Bearer ' . $this->config->getAccessToken(); + } + + $defaultHeaders = []; + if ($this->config->getUserAgent()) { + $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); + } + + $headers = array_merge( + $defaultHeaders, + $headerParams, + $headers + ); + + $operationHost = $this->config->getHost(); + $query = ObjectSerializer::buildQuery($queryParams); + return new Request( + 'GET', + $operationHost . $resourcePath . ($query ? "?{$query}" : ''), + $headers, + $httpBody + ); + } + + /** + * Operation listApiTokensOfAllBases + * + * List API-Tokens of All Bases + * + * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) + * @param int|null $page The page number you want to start showing the entries. If no value is provided, 1 will be used. (optional) + * @param int|null $per_page The number of results that should be returned. If no value is provided, 25 results will be returned. (optional) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listApiTokensOfAllBases'] to see the possible values for this operation + * + * @throws \SeaTable\Client\ApiException on non-2xx response or if the response body is not in the expected format + * @throws \InvalidArgumentException + * @return object + */ + public function listApiTokensOfAllBases($org_id, $page = null, $per_page = null, string $contentType = self::contentTypes['listApiTokensOfAllBases'][0]) + { + list($response) = $this->listApiTokensOfAllBasesWithHttpInfo($org_id, $page, $per_page, $contentType); + return $response; + } + + /** + * Operation listApiTokensOfAllBasesWithHttpInfo + * + * List API-Tokens of All Bases + * + * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) + * @param int|null $page The page number you want to start showing the entries. If no value is provided, 1 will be used. (optional) + * @param int|null $per_page The number of results that should be returned. If no value is provided, 25 results will be returned. (optional) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listApiTokensOfAllBases'] to see the possible values for this operation + * + * @throws \SeaTable\Client\ApiException on non-2xx response or if the response body is not in the expected format + * @throws \InvalidArgumentException + * @return array of object, HTTP status code, HTTP response headers (array of strings) + */ + public function listApiTokensOfAllBasesWithHttpInfo($org_id, $page = null, $per_page = null, string $contentType = self::contentTypes['listApiTokensOfAllBases'][0]) + { + $request = $this->listApiTokensOfAllBasesRequest($org_id, $page, $per_page, $contentType); + + try { + $options = $this->createHttpClientOption(); + try { + $response = $this->client->send($request, $options); + } catch (RequestException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + (int) $e->getCode(), + $e->getResponse() ? $e->getResponse()->getHeaders() : null, + $e->getResponse() ? (string) $e->getResponse()->getBody() : null + ); + } catch (ConnectException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + (int) $e->getCode(), + null, + null + ); + } + + $statusCode = $response->getStatusCode(); + + + switch($statusCode) { + case 200: + return $this->handleResponseWithDataType( + 'object', + $request, + $response, + ); + } + + + + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + + return $this->handleResponseWithDataType( + 'object', + $request, + $response, + ); + } catch (ApiException $e) { + switch ($e->getCode()) { + case 200: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + 'object', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + throw $e; + } + + + throw $e; + } + } + + /** + * Operation listApiTokensOfAllBasesAsync + * + * List API-Tokens of All Bases + * + * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) + * @param int|null $page The page number you want to start showing the entries. If no value is provided, 1 will be used. (optional) + * @param int|null $per_page The number of results that should be returned. If no value is provided, 25 results will be returned. (optional) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listApiTokensOfAllBases'] to see the possible values for this operation + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function listApiTokensOfAllBasesAsync($org_id, $page = null, $per_page = null, string $contentType = self::contentTypes['listApiTokensOfAllBases'][0]) + { + return $this->listApiTokensOfAllBasesAsyncWithHttpInfo($org_id, $page, $per_page, $contentType) + ->then( + function ($response) { + return $response[0]; + } + ); + } + + /** + * Operation listApiTokensOfAllBasesAsyncWithHttpInfo + * + * List API-Tokens of All Bases + * + * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) + * @param int|null $page The page number you want to start showing the entries. If no value is provided, 1 will be used. (optional) + * @param int|null $per_page The number of results that should be returned. If no value is provided, 25 results will be returned. (optional) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listApiTokensOfAllBases'] to see the possible values for this operation + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function listApiTokensOfAllBasesAsyncWithHttpInfo($org_id, $page = null, $per_page = null, string $contentType = self::contentTypes['listApiTokensOfAllBases'][0]) + { + $returnType = 'object'; + $request = $this->listApiTokensOfAllBasesRequest($org_id, $page, $per_page, $contentType); + + return $this->client + ->sendAsync($request, $this->createHttpClientOption()) + ->then( + function ($response) use ($returnType) { + if ($returnType === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + if ($returnType !== 'string') { + $content = json_decode($content); + } + } + + return [ + ObjectSerializer::deserialize($content, $returnType, []), + $response->getStatusCode(), + $response->getHeaders() + ]; + }, + function ($exception) { + $response = $exception->getResponse(); + $statusCode = $response->getStatusCode(); + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + $exception->getRequest()->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + ); + } + + /** + * Create request for operation 'listApiTokensOfAllBases' + * + * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) + * @param int|null $page The page number you want to start showing the entries. If no value is provided, 1 will be used. (optional) + * @param int|null $per_page The number of results that should be returned. If no value is provided, 25 results will be returned. (optional) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listApiTokensOfAllBases'] to see the possible values for this operation + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Psr7\Request + */ + public function listApiTokensOfAllBasesRequest($org_id, $page = null, $per_page = null, string $contentType = self::contentTypes['listApiTokensOfAllBases'][0]) + { + + // verify the required parameter 'org_id' is set + if ($org_id === null || (is_array($org_id) && count($org_id) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $org_id when calling listApiTokensOfAllBases' + ); + } + if ($org_id < 1) { + throw new \InvalidArgumentException('invalid value for "$org_id" when calling BasesApi.listApiTokensOfAllBases, must be bigger than or equal to 1.'); + } + + if ($page !== null && $page < 1) { + throw new \InvalidArgumentException('invalid value for "$page" when calling BasesApi.listApiTokensOfAllBases, must be bigger than or equal to 1.'); + } + + if ($per_page !== null && $per_page < 1) { + throw new \InvalidArgumentException('invalid value for "$per_page" when calling BasesApi.listApiTokensOfAllBases, must be bigger than or equal to 1.'); + } + + + $resourcePath = '/api/v2.1/org/{org_id}/admin/api-tokens/'; + $formParams = []; + $queryParams = []; + $headerParams = []; + $httpBody = ''; + $multipart = false; + + // query params + $queryParams = array_merge($queryParams, ObjectSerializer::toQueryValue( + $page, + 'page', // param base name + 'integer', // openApiType + 'form', // style + true, // explode + false // required + ) ?? []); + // query params + $queryParams = array_merge($queryParams, ObjectSerializer::toQueryValue( + $per_page, + 'per_page', // param base name + 'integer', // openApiType + 'form', // style + true, // explode + false // required + ) ?? []); + + + // path params + if ($org_id !== null) { + $resourcePath = str_replace( + '{' . 'org_id' . '}', + ObjectSerializer::toPathValue($org_id), + $resourcePath + ); + } + + + $headers = $this->headerSelector->selectHeaders( + ['application/json', ], + $contentType, + $multipart + ); + + // for model (json/xml) + if (count($formParams) > 0) { + if ($multipart) { + $multipartContents = []; + foreach ($formParams as $formParamName => $formParamValue) { + $formParamValueItems = is_array($formParamValue) ? $formParamValue : [$formParamValue]; + foreach ($formParamValueItems as $formParamValueItem) { + $multipartContents[] = [ + 'name' => $formParamName, + 'contents' => $formParamValueItem + ]; + } + } + // for HTTP post (form) + $httpBody = new MultipartStream($multipartContents); + + } elseif (stripos($headers['Content-Type'], 'application/json') !== false) { + # if Content-Type contains "application/json", json_encode the form parameters + $httpBody = \GuzzleHttp\Utils::jsonEncode($formParams); + } else { + // for HTTP post (form) + $httpBody = ObjectSerializer::buildQuery($formParams); + } + } + + // this endpoint requires Bearer authentication (access token) + if (!empty($this->config->getAccessToken())) { + $headers['Authorization'] = 'Bearer ' . $this->config->getAccessToken(); + } + + $defaultHeaders = []; + if ($this->config->getUserAgent()) { + $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); + } + + $headers = array_merge( + $defaultHeaders, + $headerParams, + $headers + ); + + $operationHost = $this->config->getHost(); + $query = ObjectSerializer::buildQuery($queryParams); + return new Request( + 'GET', + $operationHost . $resourcePath . ($query ? "?{$query}" : ''), + $headers, + $httpBody + ); + } + + /** + * Operation listBaseSharings + * + * List Base Sharings * * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) * @param string $base_uuid The unique identifier of a base. Sometimes also called dtable_uuid. (required) - * @param string $contentType The value for the Content-Type header. Check self::contentTypes['getBase'] to see the possible values for this operation + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listBaseSharings'] to see the possible values for this operation * * @throws \SeaTable\Client\ApiException on non-2xx response or if the response body is not in the expected format * @throws \InvalidArgumentException * @return object */ - public function getBase($org_id, $base_uuid, string $contentType = self::contentTypes['getBase'][0]) + public function listBaseSharings($org_id, $base_uuid, string $contentType = self::contentTypes['listBaseSharings'][0]) { - list($response) = $this->getBaseWithHttpInfo($org_id, $base_uuid, $contentType); + list($response) = $this->listBaseSharingsWithHttpInfo($org_id, $base_uuid, $contentType); return $response; } /** - * Operation getBaseWithHttpInfo + * Operation listBaseSharingsWithHttpInfo * - * Get Base + * List Base Sharings * * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) * @param string $base_uuid The unique identifier of a base. Sometimes also called dtable_uuid. (required) - * @param string $contentType The value for the Content-Type header. Check self::contentTypes['getBase'] to see the possible values for this operation + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listBaseSharings'] to see the possible values for this operation * * @throws \SeaTable\Client\ApiException on non-2xx response or if the response body is not in the expected format * @throws \InvalidArgumentException * @return array of object, HTTP status code, HTTP response headers (array of strings) */ - public function getBaseWithHttpInfo($org_id, $base_uuid, string $contentType = self::contentTypes['getBase'][0]) + public function listBaseSharingsWithHttpInfo($org_id, $base_uuid, string $contentType = self::contentTypes['listBaseSharings'][0]) { - $request = $this->getBaseRequest($org_id, $base_uuid, $contentType); + $request = $this->listBaseSharingsRequest($org_id, $base_uuid, $contentType); try { $options = $this->createHttpClientOption(); @@ -824,20 +2061,20 @@ public function getBaseWithHttpInfo($org_id, $base_uuid, string $contentType = s } /** - * Operation getBaseAsync + * Operation listBaseSharingsAsync * - * Get Base + * List Base Sharings * * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) * @param string $base_uuid The unique identifier of a base. Sometimes also called dtable_uuid. (required) - * @param string $contentType The value for the Content-Type header. Check self::contentTypes['getBase'] to see the possible values for this operation + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listBaseSharings'] to see the possible values for this operation * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function getBaseAsync($org_id, $base_uuid, string $contentType = self::contentTypes['getBase'][0]) + public function listBaseSharingsAsync($org_id, $base_uuid, string $contentType = self::contentTypes['listBaseSharings'][0]) { - return $this->getBaseAsyncWithHttpInfo($org_id, $base_uuid, $contentType) + return $this->listBaseSharingsAsyncWithHttpInfo($org_id, $base_uuid, $contentType) ->then( function ($response) { return $response[0]; @@ -846,21 +2083,21 @@ function ($response) { } /** - * Operation getBaseAsyncWithHttpInfo + * Operation listBaseSharingsAsyncWithHttpInfo * - * Get Base + * List Base Sharings * * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) * @param string $base_uuid The unique identifier of a base. Sometimes also called dtable_uuid. (required) - * @param string $contentType The value for the Content-Type header. Check self::contentTypes['getBase'] to see the possible values for this operation + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listBaseSharings'] to see the possible values for this operation * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function getBaseAsyncWithHttpInfo($org_id, $base_uuid, string $contentType = self::contentTypes['getBase'][0]) + public function listBaseSharingsAsyncWithHttpInfo($org_id, $base_uuid, string $contentType = self::contentTypes['listBaseSharings'][0]) { $returnType = 'object'; - $request = $this->getBaseRequest($org_id, $base_uuid, $contentType); + $request = $this->listBaseSharingsRequest($org_id, $base_uuid, $contentType); return $this->client ->sendAsync($request, $this->createHttpClientOption()) @@ -899,40 +2136,40 @@ function ($exception) { } /** - * Create request for operation 'getBase' + * Create request for operation 'listBaseSharings' * * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) * @param string $base_uuid The unique identifier of a base. Sometimes also called dtable_uuid. (required) - * @param string $contentType The value for the Content-Type header. Check self::contentTypes['getBase'] to see the possible values for this operation + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listBaseSharings'] to see the possible values for this operation * * @throws \InvalidArgumentException * @return \GuzzleHttp\Psr7\Request */ - public function getBaseRequest($org_id, $base_uuid, string $contentType = self::contentTypes['getBase'][0]) + public function listBaseSharingsRequest($org_id, $base_uuid, string $contentType = self::contentTypes['listBaseSharings'][0]) { // verify the required parameter 'org_id' is set if ($org_id === null || (is_array($org_id) && count($org_id) === 0)) { throw new \InvalidArgumentException( - 'Missing the required parameter $org_id when calling getBase' + 'Missing the required parameter $org_id when calling listBaseSharings' ); } if ($org_id < 1) { - throw new \InvalidArgumentException('invalid value for "$org_id" when calling BasesApi.getBase, must be bigger than or equal to 1.'); + throw new \InvalidArgumentException('invalid value for "$org_id" when calling BasesApi.listBaseSharings, must be bigger than or equal to 1.'); } // verify the required parameter 'base_uuid' is set if ($base_uuid === null || (is_array($base_uuid) && count($base_uuid) === 0)) { throw new \InvalidArgumentException( - 'Missing the required parameter $base_uuid when calling getBase' + 'Missing the required parameter $base_uuid when calling listBaseSharings' ); } if (!preg_match("/^[0-9a-fA-F]{8}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{12}$/", $base_uuid)) { - throw new \InvalidArgumentException("invalid value for \"base_uuid\" when calling BasesApi.getBase, must conform to the pattern /^[0-9a-fA-F]{8}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{12}$/."); + throw new \InvalidArgumentException("invalid value for \"base_uuid\" when calling BasesApi.listBaseSharings, must conform to the pattern /^[0-9a-fA-F]{8}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{12}$/."); } - $resourcePath = '/api/v2.1/org/{org_id}/admin/dtables/{base_uuid}/'; + $resourcePath = '/api/v2.1/org/{org_id}/admin/dtables/{base_uuid}/shares/'; $formParams = []; $queryParams = []; $headerParams = []; @@ -1017,40 +2254,42 @@ public function getBaseRequest($org_id, $base_uuid, string $contentType = self:: } /** - * Operation listBaseSharings + * Operation listBases * - * List Base Sharings + * List Bases (Team) * * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) - * @param string $base_uuid The unique identifier of a base. Sometimes also called dtable_uuid. (required) - * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listBaseSharings'] to see the possible values for this operation + * @param int|null $page The page number you want to start showing the entries. If no value is provided, 1 will be used. (optional) + * @param int|null $per_page The number of results that should be returned. If no value is provided, 25 results will be returned. (optional) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listBases'] to see the possible values for this operation * * @throws \SeaTable\Client\ApiException on non-2xx response or if the response body is not in the expected format * @throws \InvalidArgumentException * @return object */ - public function listBaseSharings($org_id, $base_uuid, string $contentType = self::contentTypes['listBaseSharings'][0]) + public function listBases($org_id, $page = null, $per_page = null, string $contentType = self::contentTypes['listBases'][0]) { - list($response) = $this->listBaseSharingsWithHttpInfo($org_id, $base_uuid, $contentType); + list($response) = $this->listBasesWithHttpInfo($org_id, $page, $per_page, $contentType); return $response; } /** - * Operation listBaseSharingsWithHttpInfo + * Operation listBasesWithHttpInfo * - * List Base Sharings + * List Bases (Team) * * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) - * @param string $base_uuid The unique identifier of a base. Sometimes also called dtable_uuid. (required) - * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listBaseSharings'] to see the possible values for this operation + * @param int|null $page The page number you want to start showing the entries. If no value is provided, 1 will be used. (optional) + * @param int|null $per_page The number of results that should be returned. If no value is provided, 25 results will be returned. (optional) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listBases'] to see the possible values for this operation * * @throws \SeaTable\Client\ApiException on non-2xx response or if the response body is not in the expected format * @throws \InvalidArgumentException * @return array of object, HTTP status code, HTTP response headers (array of strings) */ - public function listBaseSharingsWithHttpInfo($org_id, $base_uuid, string $contentType = self::contentTypes['listBaseSharings'][0]) + public function listBasesWithHttpInfo($org_id, $page = null, $per_page = null, string $contentType = self::contentTypes['listBases'][0]) { - $request = $this->listBaseSharingsRequest($org_id, $base_uuid, $contentType); + $request = $this->listBasesRequest($org_id, $page, $per_page, $contentType); try { $options = $this->createHttpClientOption(); @@ -1122,20 +2361,21 @@ public function listBaseSharingsWithHttpInfo($org_id, $base_uuid, string $conten } /** - * Operation listBaseSharingsAsync + * Operation listBasesAsync * - * List Base Sharings + * List Bases (Team) * * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) - * @param string $base_uuid The unique identifier of a base. Sometimes also called dtable_uuid. (required) - * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listBaseSharings'] to see the possible values for this operation + * @param int|null $page The page number you want to start showing the entries. If no value is provided, 1 will be used. (optional) + * @param int|null $per_page The number of results that should be returned. If no value is provided, 25 results will be returned. (optional) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listBases'] to see the possible values for this operation * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function listBaseSharingsAsync($org_id, $base_uuid, string $contentType = self::contentTypes['listBaseSharings'][0]) + public function listBasesAsync($org_id, $page = null, $per_page = null, string $contentType = self::contentTypes['listBases'][0]) { - return $this->listBaseSharingsAsyncWithHttpInfo($org_id, $base_uuid, $contentType) + return $this->listBasesAsyncWithHttpInfo($org_id, $page, $per_page, $contentType) ->then( function ($response) { return $response[0]; @@ -1144,21 +2384,22 @@ function ($response) { } /** - * Operation listBaseSharingsAsyncWithHttpInfo + * Operation listBasesAsyncWithHttpInfo * - * List Base Sharings + * List Bases (Team) * * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) - * @param string $base_uuid The unique identifier of a base. Sometimes also called dtable_uuid. (required) - * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listBaseSharings'] to see the possible values for this operation + * @param int|null $page The page number you want to start showing the entries. If no value is provided, 1 will be used. (optional) + * @param int|null $per_page The number of results that should be returned. If no value is provided, 25 results will be returned. (optional) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listBases'] to see the possible values for this operation * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function listBaseSharingsAsyncWithHttpInfo($org_id, $base_uuid, string $contentType = self::contentTypes['listBaseSharings'][0]) + public function listBasesAsyncWithHttpInfo($org_id, $page = null, $per_page = null, string $contentType = self::contentTypes['listBases'][0]) { $returnType = 'object'; - $request = $this->listBaseSharingsRequest($org_id, $base_uuid, $contentType); + $request = $this->listBasesRequest($org_id, $page, $per_page, $contentType); return $this->client ->sendAsync($request, $this->createHttpClientOption()) @@ -1197,46 +2438,63 @@ function ($exception) { } /** - * Create request for operation 'listBaseSharings' + * Create request for operation 'listBases' * * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) - * @param string $base_uuid The unique identifier of a base. Sometimes also called dtable_uuid. (required) - * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listBaseSharings'] to see the possible values for this operation + * @param int|null $page The page number you want to start showing the entries. If no value is provided, 1 will be used. (optional) + * @param int|null $per_page The number of results that should be returned. If no value is provided, 25 results will be returned. (optional) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listBases'] to see the possible values for this operation * * @throws \InvalidArgumentException * @return \GuzzleHttp\Psr7\Request */ - public function listBaseSharingsRequest($org_id, $base_uuid, string $contentType = self::contentTypes['listBaseSharings'][0]) + public function listBasesRequest($org_id, $page = null, $per_page = null, string $contentType = self::contentTypes['listBases'][0]) { // verify the required parameter 'org_id' is set if ($org_id === null || (is_array($org_id) && count($org_id) === 0)) { throw new \InvalidArgumentException( - 'Missing the required parameter $org_id when calling listBaseSharings' + 'Missing the required parameter $org_id when calling listBases' ); } if ($org_id < 1) { - throw new \InvalidArgumentException('invalid value for "$org_id" when calling BasesApi.listBaseSharings, must be bigger than or equal to 1.'); + throw new \InvalidArgumentException('invalid value for "$org_id" when calling BasesApi.listBases, must be bigger than or equal to 1.'); } - // verify the required parameter 'base_uuid' is set - if ($base_uuid === null || (is_array($base_uuid) && count($base_uuid) === 0)) { - throw new \InvalidArgumentException( - 'Missing the required parameter $base_uuid when calling listBaseSharings' - ); + if ($page !== null && $page < 1) { + throw new \InvalidArgumentException('invalid value for "$page" when calling BasesApi.listBases, must be bigger than or equal to 1.'); } - if (!preg_match("/^[0-9a-fA-F]{8}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{12}$/", $base_uuid)) { - throw new \InvalidArgumentException("invalid value for \"base_uuid\" when calling BasesApi.listBaseSharings, must conform to the pattern /^[0-9a-fA-F]{8}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{12}$/."); + + if ($per_page !== null && $per_page < 1) { + throw new \InvalidArgumentException('invalid value for "$per_page" when calling BasesApi.listBases, must be bigger than or equal to 1.'); } - $resourcePath = '/api/v2.1/org/{org_id}/admin/dtables/{base_uuid}/shares/'; + $resourcePath = '/api/v2.1/org/{org_id}/admin/dtables/'; $formParams = []; $queryParams = []; $headerParams = []; $httpBody = ''; $multipart = false; + // query params + $queryParams = array_merge($queryParams, ObjectSerializer::toQueryValue( + $page, + 'page', // param base name + 'integer', // openApiType + 'form', // style + true, // explode + false // required + ) ?? []); + // query params + $queryParams = array_merge($queryParams, ObjectSerializer::toQueryValue( + $per_page, + 'per_page', // param base name + 'integer', // openApiType + 'form', // style + true, // explode + false // required + ) ?? []); // path params @@ -1247,14 +2505,6 @@ public function listBaseSharingsRequest($org_id, $base_uuid, string $contentType $resourcePath ); } - // path params - if ($base_uuid !== null) { - $resourcePath = str_replace( - '{' . 'base_uuid' . '}', - ObjectSerializer::toPathValue($base_uuid), - $resourcePath - ); - } $headers = $this->headerSelector->selectHeaders( @@ -1315,42 +2565,42 @@ public function listBaseSharingsRequest($org_id, $base_uuid, string $contentType } /** - * Operation listBases + * Operation listTrashBases * - * List Bases (Team) + * List Trash Bases * * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) * @param int|null $page The page number you want to start showing the entries. If no value is provided, 1 will be used. (optional) * @param int|null $per_page The number of results that should be returned. If no value is provided, 25 results will be returned. (optional) - * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listBases'] to see the possible values for this operation + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listTrashBases'] to see the possible values for this operation * * @throws \SeaTable\Client\ApiException on non-2xx response or if the response body is not in the expected format * @throws \InvalidArgumentException * @return object */ - public function listBases($org_id, $page = null, $per_page = null, string $contentType = self::contentTypes['listBases'][0]) + public function listTrashBases($org_id, $page = null, $per_page = null, string $contentType = self::contentTypes['listTrashBases'][0]) { - list($response) = $this->listBasesWithHttpInfo($org_id, $page, $per_page, $contentType); + list($response) = $this->listTrashBasesWithHttpInfo($org_id, $page, $per_page, $contentType); return $response; } /** - * Operation listBasesWithHttpInfo + * Operation listTrashBasesWithHttpInfo * - * List Bases (Team) + * List Trash Bases * * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) * @param int|null $page The page number you want to start showing the entries. If no value is provided, 1 will be used. (optional) * @param int|null $per_page The number of results that should be returned. If no value is provided, 25 results will be returned. (optional) - * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listBases'] to see the possible values for this operation + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listTrashBases'] to see the possible values for this operation * * @throws \SeaTable\Client\ApiException on non-2xx response or if the response body is not in the expected format * @throws \InvalidArgumentException * @return array of object, HTTP status code, HTTP response headers (array of strings) */ - public function listBasesWithHttpInfo($org_id, $page = null, $per_page = null, string $contentType = self::contentTypes['listBases'][0]) + public function listTrashBasesWithHttpInfo($org_id, $page = null, $per_page = null, string $contentType = self::contentTypes['listTrashBases'][0]) { - $request = $this->listBasesRequest($org_id, $page, $per_page, $contentType); + $request = $this->listTrashBasesRequest($org_id, $page, $per_page, $contentType); try { $options = $this->createHttpClientOption(); @@ -1422,21 +2672,21 @@ public function listBasesWithHttpInfo($org_id, $page = null, $per_page = null, s } /** - * Operation listBasesAsync + * Operation listTrashBasesAsync * - * List Bases (Team) + * List Trash Bases * * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) * @param int|null $page The page number you want to start showing the entries. If no value is provided, 1 will be used. (optional) * @param int|null $per_page The number of results that should be returned. If no value is provided, 25 results will be returned. (optional) - * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listBases'] to see the possible values for this operation + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listTrashBases'] to see the possible values for this operation * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function listBasesAsync($org_id, $page = null, $per_page = null, string $contentType = self::contentTypes['listBases'][0]) + public function listTrashBasesAsync($org_id, $page = null, $per_page = null, string $contentType = self::contentTypes['listTrashBases'][0]) { - return $this->listBasesAsyncWithHttpInfo($org_id, $page, $per_page, $contentType) + return $this->listTrashBasesAsyncWithHttpInfo($org_id, $page, $per_page, $contentType) ->then( function ($response) { return $response[0]; @@ -1445,22 +2695,22 @@ function ($response) { } /** - * Operation listBasesAsyncWithHttpInfo + * Operation listTrashBasesAsyncWithHttpInfo * - * List Bases (Team) + * List Trash Bases * * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) * @param int|null $page The page number you want to start showing the entries. If no value is provided, 1 will be used. (optional) * @param int|null $per_page The number of results that should be returned. If no value is provided, 25 results will be returned. (optional) - * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listBases'] to see the possible values for this operation + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listTrashBases'] to see the possible values for this operation * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function listBasesAsyncWithHttpInfo($org_id, $page = null, $per_page = null, string $contentType = self::contentTypes['listBases'][0]) + public function listTrashBasesAsyncWithHttpInfo($org_id, $page = null, $per_page = null, string $contentType = self::contentTypes['listTrashBases'][0]) { $returnType = 'object'; - $request = $this->listBasesRequest($org_id, $page, $per_page, $contentType); + $request = $this->listTrashBasesRequest($org_id, $page, $per_page, $contentType); return $this->client ->sendAsync($request, $this->createHttpClientOption()) @@ -1499,39 +2749,39 @@ function ($exception) { } /** - * Create request for operation 'listBases' + * Create request for operation 'listTrashBases' * * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) * @param int|null $page The page number you want to start showing the entries. If no value is provided, 1 will be used. (optional) * @param int|null $per_page The number of results that should be returned. If no value is provided, 25 results will be returned. (optional) - * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listBases'] to see the possible values for this operation + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listTrashBases'] to see the possible values for this operation * * @throws \InvalidArgumentException * @return \GuzzleHttp\Psr7\Request */ - public function listBasesRequest($org_id, $page = null, $per_page = null, string $contentType = self::contentTypes['listBases'][0]) + public function listTrashBasesRequest($org_id, $page = null, $per_page = null, string $contentType = self::contentTypes['listTrashBases'][0]) { // verify the required parameter 'org_id' is set if ($org_id === null || (is_array($org_id) && count($org_id) === 0)) { throw new \InvalidArgumentException( - 'Missing the required parameter $org_id when calling listBases' + 'Missing the required parameter $org_id when calling listTrashBases' ); } if ($org_id < 1) { - throw new \InvalidArgumentException('invalid value for "$org_id" when calling BasesApi.listBases, must be bigger than or equal to 1.'); + throw new \InvalidArgumentException('invalid value for "$org_id" when calling BasesApi.listTrashBases, must be bigger than or equal to 1.'); } if ($page !== null && $page < 1) { - throw new \InvalidArgumentException('invalid value for "$page" when calling BasesApi.listBases, must be bigger than or equal to 1.'); + throw new \InvalidArgumentException('invalid value for "$page" when calling BasesApi.listTrashBases, must be bigger than or equal to 1.'); } if ($per_page !== null && $per_page < 1) { - throw new \InvalidArgumentException('invalid value for "$per_page" when calling BasesApi.listBases, must be bigger than or equal to 1.'); + throw new \InvalidArgumentException('invalid value for "$per_page" when calling BasesApi.listTrashBases, must be bigger than or equal to 1.'); } - $resourcePath = '/api/v2.1/org/{org_id}/admin/dtables/'; + $resourcePath = '/api/v2.1/org/{org_id}/admin/trash-dtables/'; $formParams = []; $queryParams = []; $headerParams = []; @@ -1626,42 +2876,44 @@ public function listBasesRequest($org_id, $page = null, $per_page = null, string } /** - * Operation listTrashBases + * Operation listUsersBases * - * List Trash Bases + * List User's Bases * * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) + * @param string $user_id The unique `user_id` in the form ...@auth.local. This is not the email address of the user. (required) * @param int|null $page The page number you want to start showing the entries. If no value is provided, 1 will be used. (optional) * @param int|null $per_page The number of results that should be returned. If no value is provided, 25 results will be returned. (optional) - * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listTrashBases'] to see the possible values for this operation + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listUsersBases'] to see the possible values for this operation * * @throws \SeaTable\Client\ApiException on non-2xx response or if the response body is not in the expected format * @throws \InvalidArgumentException * @return object */ - public function listTrashBases($org_id, $page = null, $per_page = null, string $contentType = self::contentTypes['listTrashBases'][0]) + public function listUsersBases($org_id, $user_id, $page = null, $per_page = null, string $contentType = self::contentTypes['listUsersBases'][0]) { - list($response) = $this->listTrashBasesWithHttpInfo($org_id, $page, $per_page, $contentType); + list($response) = $this->listUsersBasesWithHttpInfo($org_id, $user_id, $page, $per_page, $contentType); return $response; } /** - * Operation listTrashBasesWithHttpInfo + * Operation listUsersBasesWithHttpInfo * - * List Trash Bases + * List User's Bases * * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) + * @param string $user_id The unique `user_id` in the form ...@auth.local. This is not the email address of the user. (required) * @param int|null $page The page number you want to start showing the entries. If no value is provided, 1 will be used. (optional) * @param int|null $per_page The number of results that should be returned. If no value is provided, 25 results will be returned. (optional) - * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listTrashBases'] to see the possible values for this operation + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listUsersBases'] to see the possible values for this operation * * @throws \SeaTable\Client\ApiException on non-2xx response or if the response body is not in the expected format * @throws \InvalidArgumentException * @return array of object, HTTP status code, HTTP response headers (array of strings) */ - public function listTrashBasesWithHttpInfo($org_id, $page = null, $per_page = null, string $contentType = self::contentTypes['listTrashBases'][0]) + public function listUsersBasesWithHttpInfo($org_id, $user_id, $page = null, $per_page = null, string $contentType = self::contentTypes['listUsersBases'][0]) { - $request = $this->listTrashBasesRequest($org_id, $page, $per_page, $contentType); + $request = $this->listUsersBasesRequest($org_id, $user_id, $page, $per_page, $contentType); try { $options = $this->createHttpClientOption(); @@ -1733,21 +2985,22 @@ public function listTrashBasesWithHttpInfo($org_id, $page = null, $per_page = nu } /** - * Operation listTrashBasesAsync + * Operation listUsersBasesAsync * - * List Trash Bases + * List User's Bases * * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) + * @param string $user_id The unique `user_id` in the form ...@auth.local. This is not the email address of the user. (required) * @param int|null $page The page number you want to start showing the entries. If no value is provided, 1 will be used. (optional) * @param int|null $per_page The number of results that should be returned. If no value is provided, 25 results will be returned. (optional) - * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listTrashBases'] to see the possible values for this operation + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listUsersBases'] to see the possible values for this operation * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function listTrashBasesAsync($org_id, $page = null, $per_page = null, string $contentType = self::contentTypes['listTrashBases'][0]) + public function listUsersBasesAsync($org_id, $user_id, $page = null, $per_page = null, string $contentType = self::contentTypes['listUsersBases'][0]) { - return $this->listTrashBasesAsyncWithHttpInfo($org_id, $page, $per_page, $contentType) + return $this->listUsersBasesAsyncWithHttpInfo($org_id, $user_id, $page, $per_page, $contentType) ->then( function ($response) { return $response[0]; @@ -1756,22 +3009,23 @@ function ($response) { } /** - * Operation listTrashBasesAsyncWithHttpInfo + * Operation listUsersBasesAsyncWithHttpInfo * - * List Trash Bases + * List User's Bases * * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) + * @param string $user_id The unique `user_id` in the form ...@auth.local. This is not the email address of the user. (required) * @param int|null $page The page number you want to start showing the entries. If no value is provided, 1 will be used. (optional) * @param int|null $per_page The number of results that should be returned. If no value is provided, 25 results will be returned. (optional) - * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listTrashBases'] to see the possible values for this operation + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listUsersBases'] to see the possible values for this operation * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function listTrashBasesAsyncWithHttpInfo($org_id, $page = null, $per_page = null, string $contentType = self::contentTypes['listTrashBases'][0]) + public function listUsersBasesAsyncWithHttpInfo($org_id, $user_id, $page = null, $per_page = null, string $contentType = self::contentTypes['listUsersBases'][0]) { $returnType = 'object'; - $request = $this->listTrashBasesRequest($org_id, $page, $per_page, $contentType); + $request = $this->listUsersBasesRequest($org_id, $user_id, $page, $per_page, $contentType); return $this->client ->sendAsync($request, $this->createHttpClientOption()) @@ -1810,39 +3064,50 @@ function ($exception) { } /** - * Create request for operation 'listTrashBases' + * Create request for operation 'listUsersBases' * * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) + * @param string $user_id The unique `user_id` in the form ...@auth.local. This is not the email address of the user. (required) * @param int|null $page The page number you want to start showing the entries. If no value is provided, 1 will be used. (optional) * @param int|null $per_page The number of results that should be returned. If no value is provided, 25 results will be returned. (optional) - * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listTrashBases'] to see the possible values for this operation + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listUsersBases'] to see the possible values for this operation * * @throws \InvalidArgumentException * @return \GuzzleHttp\Psr7\Request */ - public function listTrashBasesRequest($org_id, $page = null, $per_page = null, string $contentType = self::contentTypes['listTrashBases'][0]) + public function listUsersBasesRequest($org_id, $user_id, $page = null, $per_page = null, string $contentType = self::contentTypes['listUsersBases'][0]) { // verify the required parameter 'org_id' is set if ($org_id === null || (is_array($org_id) && count($org_id) === 0)) { throw new \InvalidArgumentException( - 'Missing the required parameter $org_id when calling listTrashBases' + 'Missing the required parameter $org_id when calling listUsersBases' ); } if ($org_id < 1) { - throw new \InvalidArgumentException('invalid value for "$org_id" when calling BasesApi.listTrashBases, must be bigger than or equal to 1.'); + throw new \InvalidArgumentException('invalid value for "$org_id" when calling BasesApi.listUsersBases, must be bigger than or equal to 1.'); + } + + // verify the required parameter 'user_id' is set + if ($user_id === null || (is_array($user_id) && count($user_id) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $user_id when calling listUsersBases' + ); + } + if (!preg_match("/^[a-f0-9]{32}(@auth.local)$/", $user_id)) { + throw new \InvalidArgumentException("invalid value for \"user_id\" when calling BasesApi.listUsersBases, must conform to the pattern /^[a-f0-9]{32}(@auth.local)$/."); } if ($page !== null && $page < 1) { - throw new \InvalidArgumentException('invalid value for "$page" when calling BasesApi.listTrashBases, must be bigger than or equal to 1.'); + throw new \InvalidArgumentException('invalid value for "$page" when calling BasesApi.listUsersBases, must be bigger than or equal to 1.'); } if ($per_page !== null && $per_page < 1) { - throw new \InvalidArgumentException('invalid value for "$per_page" when calling BasesApi.listTrashBases, must be bigger than or equal to 1.'); + throw new \InvalidArgumentException('invalid value for "$per_page" when calling BasesApi.listUsersBases, must be bigger than or equal to 1.'); } - $resourcePath = '/api/v2.1/org/{org_id}/admin/trash-dtables/'; + $resourcePath = '/api/v2.1/org/{org_id}/admin/users/{user_id}/dtables/'; $formParams = []; $queryParams = []; $headerParams = []; @@ -1877,6 +3142,14 @@ public function listTrashBasesRequest($org_id, $page = null, $per_page = null, s $resourcePath ); } + // path params + if ($user_id !== null) { + $resourcePath = str_replace( + '{' . 'user_id' . '}', + ObjectSerializer::toPathValue($user_id), + $resourcePath + ); + } $headers = $this->headerSelector->selectHeaders( @@ -2540,6 +3813,14 @@ protected function createHttpClientOption() } } + if ($this->config->getCertFile()) { + $options[RequestOptions::CERT] = $this->config->getCertFile(); + } + + if ($this->config->getKeyFile()) { + $options[RequestOptions::SSL_KEY] = $this->config->getKeyFile(); + } + return $options; } diff --git a/lib/TeamAdmin/CustomizingApi.php b/lib/TeamAdmin/CustomizingApi.php index 8913e21f..3f4a9f28 100644 --- a/lib/TeamAdmin/CustomizingApi.php +++ b/lib/TeamAdmin/CustomizingApi.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -887,6 +887,14 @@ protected function createHttpClientOption() } } + if ($this->config->getCertFile()) { + $options[RequestOptions::CERT] = $this->config->getCertFile(); + } + + if ($this->config->getKeyFile()) { + $options[RequestOptions::SSL_KEY] = $this->config->getKeyFile(); + } + return $options; } diff --git a/lib/TeamAdmin/EnforceTwofactorRequest.php b/lib/TeamAdmin/EnforceTwofactorRequest.php index 28a036f3..c0c7317d 100644 --- a/lib/TeamAdmin/EnforceTwofactorRequest.php +++ b/lib/TeamAdmin/EnforceTwofactorRequest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -317,11 +317,11 @@ public function setForce2fa($force_2fa) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -329,12 +329,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -359,11 +359,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/TeamAdmin/GroupsApi.php b/lib/TeamAdmin/GroupsApi.php index 938d2741..35896ced 100644 --- a/lib/TeamAdmin/GroupsApi.php +++ b/lib/TeamAdmin/GroupsApi.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -3533,6 +3533,14 @@ protected function createHttpClientOption() } } + if ($this->config->getCertFile()) { + $options[RequestOptions::CERT] = $this->config->getCertFile(); + } + + if ($this->config->getKeyFile()) { + $options[RequestOptions::SSL_KEY] = $this->config->getKeyFile(); + } + return $options; } diff --git a/lib/TeamAdmin/InfoSettingsApi.php b/lib/TeamAdmin/InfoSettingsApi.php index 83679605..47452ca6 100644 --- a/lib/TeamAdmin/InfoSettingsApi.php +++ b/lib/TeamAdmin/InfoSettingsApi.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -73,6 +73,9 @@ class InfoSettingsApi /** @var string[] $contentTypes **/ public const contentTypes = [ + 'deleteTeam' => [ + 'application/json', + ], 'getTeamInfo' => [ 'application/json', ], @@ -133,6 +136,258 @@ public function getConfig() return $this->config; } + /** + * Operation deleteTeam + * + * Delete Team + * + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['deleteTeam'] to see the possible values for this operation + * + * @throws \SeaTable\Client\ApiException on non-2xx response or if the response body is not in the expected format + * @throws \InvalidArgumentException + * @return object + */ + public function deleteTeam(string $contentType = self::contentTypes['deleteTeam'][0]) + { + list($response) = $this->deleteTeamWithHttpInfo($contentType); + return $response; + } + + /** + * Operation deleteTeamWithHttpInfo + * + * Delete Team + * + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['deleteTeam'] to see the possible values for this operation + * + * @throws \SeaTable\Client\ApiException on non-2xx response or if the response body is not in the expected format + * @throws \InvalidArgumentException + * @return array of object, HTTP status code, HTTP response headers (array of strings) + */ + public function deleteTeamWithHttpInfo(string $contentType = self::contentTypes['deleteTeam'][0]) + { + $request = $this->deleteTeamRequest($contentType); + + try { + $options = $this->createHttpClientOption(); + try { + $response = $this->client->send($request, $options); + } catch (RequestException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + (int) $e->getCode(), + $e->getResponse() ? $e->getResponse()->getHeaders() : null, + $e->getResponse() ? (string) $e->getResponse()->getBody() : null + ); + } catch (ConnectException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + (int) $e->getCode(), + null, + null + ); + } + + $statusCode = $response->getStatusCode(); + + + switch($statusCode) { + case 200: + return $this->handleResponseWithDataType( + 'object', + $request, + $response, + ); + } + + + + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + + return $this->handleResponseWithDataType( + 'object', + $request, + $response, + ); + } catch (ApiException $e) { + switch ($e->getCode()) { + case 200: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + 'object', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + throw $e; + } + + + throw $e; + } + } + + /** + * Operation deleteTeamAsync + * + * Delete Team + * + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['deleteTeam'] to see the possible values for this operation + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function deleteTeamAsync(string $contentType = self::contentTypes['deleteTeam'][0]) + { + return $this->deleteTeamAsyncWithHttpInfo($contentType) + ->then( + function ($response) { + return $response[0]; + } + ); + } + + /** + * Operation deleteTeamAsyncWithHttpInfo + * + * Delete Team + * + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['deleteTeam'] to see the possible values for this operation + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function deleteTeamAsyncWithHttpInfo(string $contentType = self::contentTypes['deleteTeam'][0]) + { + $returnType = 'object'; + $request = $this->deleteTeamRequest($contentType); + + return $this->client + ->sendAsync($request, $this->createHttpClientOption()) + ->then( + function ($response) use ($returnType) { + if ($returnType === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + if ($returnType !== 'string') { + $content = json_decode($content); + } + } + + return [ + ObjectSerializer::deserialize($content, $returnType, []), + $response->getStatusCode(), + $response->getHeaders() + ]; + }, + function ($exception) { + $response = $exception->getResponse(); + $statusCode = $response->getStatusCode(); + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + $exception->getRequest()->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + ); + } + + /** + * Create request for operation 'deleteTeam' + * + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['deleteTeam'] to see the possible values for this operation + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Psr7\Request + */ + public function deleteTeamRequest(string $contentType = self::contentTypes['deleteTeam'][0]) + { + + + $resourcePath = '/api/v2.1/org/admin/'; + $formParams = []; + $queryParams = []; + $headerParams = []; + $httpBody = ''; + $multipart = false; + + + + + + $headers = $this->headerSelector->selectHeaders( + ['application/json', ], + $contentType, + $multipart + ); + + // for model (json/xml) + if (count($formParams) > 0) { + if ($multipart) { + $multipartContents = []; + foreach ($formParams as $formParamName => $formParamValue) { + $formParamValueItems = is_array($formParamValue) ? $formParamValue : [$formParamValue]; + foreach ($formParamValueItems as $formParamValueItem) { + $multipartContents[] = [ + 'name' => $formParamName, + 'contents' => $formParamValueItem + ]; + } + } + // for HTTP post (form) + $httpBody = new MultipartStream($multipartContents); + + } elseif (stripos($headers['Content-Type'], 'application/json') !== false) { + # if Content-Type contains "application/json", json_encode the form parameters + $httpBody = \GuzzleHttp\Utils::jsonEncode($formParams); + } else { + // for HTTP post (form) + $httpBody = ObjectSerializer::buildQuery($formParams); + } + } + + // this endpoint requires Bearer authentication (access token) + if (!empty($this->config->getAccessToken())) { + $headers['Authorization'] = 'Bearer ' . $this->config->getAccessToken(); + } + + $defaultHeaders = []; + if ($this->config->getUserAgent()) { + $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); + } + + $headers = array_merge( + $defaultHeaders, + $headerParams, + $headers + ); + + $operationHost = $this->config->getHost(); + $query = ObjectSerializer::buildQuery($queryParams); + return new Request( + 'DELETE', + $operationHost . $resourcePath . ($query ? "?{$query}" : ''), + $headers, + $httpBody + ); + } + /** * Operation getTeamInfo * @@ -1217,6 +1472,14 @@ protected function createHttpClientOption() } } + if ($this->config->getCertFile()) { + $options[RequestOptions::CERT] = $this->config->getCertFile(); + } + + if ($this->config->getKeyFile()) { + $options[RequestOptions::SSL_KEY] = $this->config->getKeyFile(); + } + return $options; } diff --git a/lib/TeamAdmin/ModelInterface.php b/lib/TeamAdmin/ModelInterface.php index 6bd430e9..66ce62f0 100644 --- a/lib/TeamAdmin/ModelInterface.php +++ b/lib/TeamAdmin/ModelInterface.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/lib/TeamAdmin/SAMLApi.php b/lib/TeamAdmin/SAMLApi.php index 732beea9..c1ad9fdc 100644 --- a/lib/TeamAdmin/SAMLApi.php +++ b/lib/TeamAdmin/SAMLApi.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -1195,6 +1195,14 @@ protected function createHttpClientOption() } } + if ($this->config->getCertFile()) { + $options[RequestOptions::CERT] = $this->config->getCertFile(); + } + + if ($this->config->getKeyFile()) { + $options[RequestOptions::SSL_KEY] = $this->config->getKeyFile(); + } + return $options; } diff --git a/lib/TeamAdmin/SharingLinksApi.php b/lib/TeamAdmin/SharingLinksApi.php index eb1ade32..04ffa05e 100644 --- a/lib/TeamAdmin/SharingLinksApi.php +++ b/lib/TeamAdmin/SharingLinksApi.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -88,6 +88,9 @@ class SharingLinksApi 'listInviteLinks' => [ 'application/json', ], + 'listShares' => [ + 'application/json', + ], 'listViewExternalLinks' => [ 'application/json', ], @@ -351,10 +354,7 @@ public function deleteExternalLinkRequest($org_id, $external_link_token, string 'Missing the required parameter $external_link_token when calling deleteExternalLink' ); } - if (!preg_match("/^[0-9a-f]{20}$/", $external_link_token)) { - throw new \InvalidArgumentException("invalid value for \"external_link_token\" when calling SharingLinksApi.deleteExternalLink, must conform to the pattern /^[0-9a-f]{20}$/."); - } - + $resourcePath = '/api/v2.1/org/{org_id}/admin/external-links/{external_link_token}/'; $formParams = []; @@ -947,10 +947,7 @@ public function deleteViewExternalLinkRequest($org_id, $view_external_link_token 'Missing the required parameter $view_external_link_token when calling deleteViewExternalLink' ); } - if (!preg_match("/^[0-9a-f]{20}$/", $view_external_link_token)) { - throw new \InvalidArgumentException("invalid value for \"view_external_link_token\" when calling SharingLinksApi.deleteViewExternalLink, must conform to the pattern /^[0-9a-f]{20}$/."); - } - + $resourcePath = '/api/v2.1/org/{org_id}/admin/view-external-links/{view_external_link_token}/'; $formParams = []; @@ -1555,6 +1552,281 @@ public function listInviteLinksRequest($org_id, $page = null, $per_page = null, ) ?? []); + // path params + if ($org_id !== null) { + $resourcePath = str_replace( + '{' . 'org_id' . '}', + ObjectSerializer::toPathValue($org_id), + $resourcePath + ); + } + + + $headers = $this->headerSelector->selectHeaders( + ['application/json', ], + $contentType, + $multipart + ); + + // for model (json/xml) + if (count($formParams) > 0) { + if ($multipart) { + $multipartContents = []; + foreach ($formParams as $formParamName => $formParamValue) { + $formParamValueItems = is_array($formParamValue) ? $formParamValue : [$formParamValue]; + foreach ($formParamValueItems as $formParamValueItem) { + $multipartContents[] = [ + 'name' => $formParamName, + 'contents' => $formParamValueItem + ]; + } + } + // for HTTP post (form) + $httpBody = new MultipartStream($multipartContents); + + } elseif (stripos($headers['Content-Type'], 'application/json') !== false) { + # if Content-Type contains "application/json", json_encode the form parameters + $httpBody = \GuzzleHttp\Utils::jsonEncode($formParams); + } else { + // for HTTP post (form) + $httpBody = ObjectSerializer::buildQuery($formParams); + } + } + + // this endpoint requires Bearer authentication (access token) + if (!empty($this->config->getAccessToken())) { + $headers['Authorization'] = 'Bearer ' . $this->config->getAccessToken(); + } + + $defaultHeaders = []; + if ($this->config->getUserAgent()) { + $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); + } + + $headers = array_merge( + $defaultHeaders, + $headerParams, + $headers + ); + + $operationHost = $this->config->getHost(); + $query = ObjectSerializer::buildQuery($queryParams); + return new Request( + 'GET', + $operationHost . $resourcePath . ($query ? "?{$query}" : ''), + $headers, + $httpBody + ); + } + + /** + * Operation listShares + * + * List Shares + * + * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listShares'] to see the possible values for this operation + * + * @throws \SeaTable\Client\ApiException on non-2xx response or if the response body is not in the expected format + * @throws \InvalidArgumentException + * @return object + */ + public function listShares($org_id, string $contentType = self::contentTypes['listShares'][0]) + { + list($response) = $this->listSharesWithHttpInfo($org_id, $contentType); + return $response; + } + + /** + * Operation listSharesWithHttpInfo + * + * List Shares + * + * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listShares'] to see the possible values for this operation + * + * @throws \SeaTable\Client\ApiException on non-2xx response or if the response body is not in the expected format + * @throws \InvalidArgumentException + * @return array of object, HTTP status code, HTTP response headers (array of strings) + */ + public function listSharesWithHttpInfo($org_id, string $contentType = self::contentTypes['listShares'][0]) + { + $request = $this->listSharesRequest($org_id, $contentType); + + try { + $options = $this->createHttpClientOption(); + try { + $response = $this->client->send($request, $options); + } catch (RequestException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + (int) $e->getCode(), + $e->getResponse() ? $e->getResponse()->getHeaders() : null, + $e->getResponse() ? (string) $e->getResponse()->getBody() : null + ); + } catch (ConnectException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + (int) $e->getCode(), + null, + null + ); + } + + $statusCode = $response->getStatusCode(); + + + switch($statusCode) { + case 200: + return $this->handleResponseWithDataType( + 'object', + $request, + $response, + ); + } + + + + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + + return $this->handleResponseWithDataType( + 'object', + $request, + $response, + ); + } catch (ApiException $e) { + switch ($e->getCode()) { + case 200: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + 'object', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + throw $e; + } + + + throw $e; + } + } + + /** + * Operation listSharesAsync + * + * List Shares + * + * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listShares'] to see the possible values for this operation + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function listSharesAsync($org_id, string $contentType = self::contentTypes['listShares'][0]) + { + return $this->listSharesAsyncWithHttpInfo($org_id, $contentType) + ->then( + function ($response) { + return $response[0]; + } + ); + } + + /** + * Operation listSharesAsyncWithHttpInfo + * + * List Shares + * + * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listShares'] to see the possible values for this operation + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function listSharesAsyncWithHttpInfo($org_id, string $contentType = self::contentTypes['listShares'][0]) + { + $returnType = 'object'; + $request = $this->listSharesRequest($org_id, $contentType); + + return $this->client + ->sendAsync($request, $this->createHttpClientOption()) + ->then( + function ($response) use ($returnType) { + if ($returnType === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + if ($returnType !== 'string') { + $content = json_decode($content); + } + } + + return [ + ObjectSerializer::deserialize($content, $returnType, []), + $response->getStatusCode(), + $response->getHeaders() + ]; + }, + function ($exception) { + $response = $exception->getResponse(); + $statusCode = $response->getStatusCode(); + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + $exception->getRequest()->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + ); + } + + /** + * Create request for operation 'listShares' + * + * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['listShares'] to see the possible values for this operation + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Psr7\Request + */ + public function listSharesRequest($org_id, string $contentType = self::contentTypes['listShares'][0]) + { + + // verify the required parameter 'org_id' is set + if ($org_id === null || (is_array($org_id) && count($org_id) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $org_id when calling listShares' + ); + } + if ($org_id < 1) { + throw new \InvalidArgumentException('invalid value for "$org_id" when calling SharingLinksApi.listShares, must be bigger than or equal to 1.'); + } + + + $resourcePath = '/api/v2.1/org/{org_id}/admin/shares/'; + $formParams = []; + $queryParams = []; + $headerParams = []; + $httpBody = ''; + $multipart = false; + + + // path params if ($org_id !== null) { $resourcePath = str_replace( @@ -2224,6 +2496,14 @@ protected function createHttpClientOption() } } + if ($this->config->getCertFile()) { + $options[RequestOptions::CERT] = $this->config->getCertFile(); + } + + if ($this->config->getKeyFile()) { + $options[RequestOptions::SSL_KEY] = $this->config->getKeyFile(); + } + return $options; } diff --git a/lib/TeamAdmin/StatisticsApi.php b/lib/TeamAdmin/StatisticsApi.php new file mode 100644 index 00000000..fd16524a --- /dev/null +++ b/lib/TeamAdmin/StatisticsApi.php @@ -0,0 +1,2649 @@ + [ + 'application/json', + ], + 'getAutomationLogStatisticsByBase' => [ + 'application/json', + ], + 'getAutomationLogStatisticsByDay' => [ + 'application/json', + ], + 'getLoginLogStatisticsByDay' => [ + 'application/json', + ], + 'getPythonRunStatisticsByBase' => [ + 'application/json', + ], + 'getPythonRunStatisticsByDay' => [ + 'application/json', + ], + 'getUserOrBaseAIStatistics' => [ + 'application/json', + ], + ]; + + /** + * @param ClientInterface $client + * @param Configuration $config + * @param HeaderSelector $selector + * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec + */ + public function __construct( + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, + int $hostIndex = 0 + ) { + $this->client = $client ?: new Client(); + $this->config = $config ?: Configuration::getDefaultConfiguration(); + $this->headerSelector = $selector ?: new HeaderSelector(); + $this->hostIndex = $hostIndex; + } + + /** + * Set the host index + * + * @param int $hostIndex Host index (required) + */ + public function setHostIndex($hostIndex): void + { + $this->hostIndex = $hostIndex; + } + + /** + * Get the host index + * + * @return int Host index + */ + public function getHostIndex() + { + return $this->hostIndex; + } + + /** + * @return Configuration + */ + public function getConfig() + { + return $this->config; + } + + /** + * Operation getAdminLogStatisticsByDay + * + * Admin Logs (by Day) + * + * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) + * @param \DateTime|null $start Start date in ISO format. (optional) + * @param \DateTime|null $end End date in ISO format. (optional) + * @param int|null $page The page number you want to start showing the entries. If no value is provided, 1 will be used. (optional) + * @param int|null $per_page The number of results that should be returned. If no value is provided, 25 results will be returned. (optional) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['getAdminLogStatisticsByDay'] to see the possible values for this operation + * + * @throws \SeaTable\Client\ApiException on non-2xx response or if the response body is not in the expected format + * @throws \InvalidArgumentException + * @return object + */ + public function getAdminLogStatisticsByDay($org_id, $start = null, $end = null, $page = null, $per_page = null, string $contentType = self::contentTypes['getAdminLogStatisticsByDay'][0]) + { + list($response) = $this->getAdminLogStatisticsByDayWithHttpInfo($org_id, $start, $end, $page, $per_page, $contentType); + return $response; + } + + /** + * Operation getAdminLogStatisticsByDayWithHttpInfo + * + * Admin Logs (by Day) + * + * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) + * @param \DateTime|null $start Start date in ISO format. (optional) + * @param \DateTime|null $end End date in ISO format. (optional) + * @param int|null $page The page number you want to start showing the entries. If no value is provided, 1 will be used. (optional) + * @param int|null $per_page The number of results that should be returned. If no value is provided, 25 results will be returned. (optional) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['getAdminLogStatisticsByDay'] to see the possible values for this operation + * + * @throws \SeaTable\Client\ApiException on non-2xx response or if the response body is not in the expected format + * @throws \InvalidArgumentException + * @return array of object, HTTP status code, HTTP response headers (array of strings) + */ + public function getAdminLogStatisticsByDayWithHttpInfo($org_id, $start = null, $end = null, $page = null, $per_page = null, string $contentType = self::contentTypes['getAdminLogStatisticsByDay'][0]) + { + $request = $this->getAdminLogStatisticsByDayRequest($org_id, $start, $end, $page, $per_page, $contentType); + + try { + $options = $this->createHttpClientOption(); + try { + $response = $this->client->send($request, $options); + } catch (RequestException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + (int) $e->getCode(), + $e->getResponse() ? $e->getResponse()->getHeaders() : null, + $e->getResponse() ? (string) $e->getResponse()->getBody() : null + ); + } catch (ConnectException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + (int) $e->getCode(), + null, + null + ); + } + + $statusCode = $response->getStatusCode(); + + + switch($statusCode) { + case 200: + return $this->handleResponseWithDataType( + 'object', + $request, + $response, + ); + } + + + + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + + return $this->handleResponseWithDataType( + 'object', + $request, + $response, + ); + } catch (ApiException $e) { + switch ($e->getCode()) { + case 200: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + 'object', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + throw $e; + } + + + throw $e; + } + } + + /** + * Operation getAdminLogStatisticsByDayAsync + * + * Admin Logs (by Day) + * + * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) + * @param \DateTime|null $start Start date in ISO format. (optional) + * @param \DateTime|null $end End date in ISO format. (optional) + * @param int|null $page The page number you want to start showing the entries. If no value is provided, 1 will be used. (optional) + * @param int|null $per_page The number of results that should be returned. If no value is provided, 25 results will be returned. (optional) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['getAdminLogStatisticsByDay'] to see the possible values for this operation + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function getAdminLogStatisticsByDayAsync($org_id, $start = null, $end = null, $page = null, $per_page = null, string $contentType = self::contentTypes['getAdminLogStatisticsByDay'][0]) + { + return $this->getAdminLogStatisticsByDayAsyncWithHttpInfo($org_id, $start, $end, $page, $per_page, $contentType) + ->then( + function ($response) { + return $response[0]; + } + ); + } + + /** + * Operation getAdminLogStatisticsByDayAsyncWithHttpInfo + * + * Admin Logs (by Day) + * + * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) + * @param \DateTime|null $start Start date in ISO format. (optional) + * @param \DateTime|null $end End date in ISO format. (optional) + * @param int|null $page The page number you want to start showing the entries. If no value is provided, 1 will be used. (optional) + * @param int|null $per_page The number of results that should be returned. If no value is provided, 25 results will be returned. (optional) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['getAdminLogStatisticsByDay'] to see the possible values for this operation + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function getAdminLogStatisticsByDayAsyncWithHttpInfo($org_id, $start = null, $end = null, $page = null, $per_page = null, string $contentType = self::contentTypes['getAdminLogStatisticsByDay'][0]) + { + $returnType = 'object'; + $request = $this->getAdminLogStatisticsByDayRequest($org_id, $start, $end, $page, $per_page, $contentType); + + return $this->client + ->sendAsync($request, $this->createHttpClientOption()) + ->then( + function ($response) use ($returnType) { + if ($returnType === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + if ($returnType !== 'string') { + $content = json_decode($content); + } + } + + return [ + ObjectSerializer::deserialize($content, $returnType, []), + $response->getStatusCode(), + $response->getHeaders() + ]; + }, + function ($exception) { + $response = $exception->getResponse(); + $statusCode = $response->getStatusCode(); + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + $exception->getRequest()->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + ); + } + + /** + * Create request for operation 'getAdminLogStatisticsByDay' + * + * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) + * @param \DateTime|null $start Start date in ISO format. (optional) + * @param \DateTime|null $end End date in ISO format. (optional) + * @param int|null $page The page number you want to start showing the entries. If no value is provided, 1 will be used. (optional) + * @param int|null $per_page The number of results that should be returned. If no value is provided, 25 results will be returned. (optional) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['getAdminLogStatisticsByDay'] to see the possible values for this operation + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Psr7\Request + */ + public function getAdminLogStatisticsByDayRequest($org_id, $start = null, $end = null, $page = null, $per_page = null, string $contentType = self::contentTypes['getAdminLogStatisticsByDay'][0]) + { + + // verify the required parameter 'org_id' is set + if ($org_id === null || (is_array($org_id) && count($org_id) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $org_id when calling getAdminLogStatisticsByDay' + ); + } + if ($org_id < 1) { + throw new \InvalidArgumentException('invalid value for "$org_id" when calling StatisticsApi.getAdminLogStatisticsByDay, must be bigger than or equal to 1.'); + } + + + + if ($page !== null && $page < 1) { + throw new \InvalidArgumentException('invalid value for "$page" when calling StatisticsApi.getAdminLogStatisticsByDay, must be bigger than or equal to 1.'); + } + + if ($per_page !== null && $per_page < 1) { + throw new \InvalidArgumentException('invalid value for "$per_page" when calling StatisticsApi.getAdminLogStatisticsByDay, must be bigger than or equal to 1.'); + } + + + $resourcePath = '/api/v2.1/org/{org_id}/admin/statistics/admin-logs/by-day/'; + $formParams = []; + $queryParams = []; + $headerParams = []; + $httpBody = ''; + $multipart = false; + + // query params + $queryParams = array_merge($queryParams, ObjectSerializer::toQueryValue( + $start, + 'start', // param base name + 'string', // openApiType + 'form', // style + true, // explode + false // required + ) ?? []); + // query params + $queryParams = array_merge($queryParams, ObjectSerializer::toQueryValue( + $end, + 'end', // param base name + 'string', // openApiType + 'form', // style + true, // explode + false // required + ) ?? []); + // query params + $queryParams = array_merge($queryParams, ObjectSerializer::toQueryValue( + $page, + 'page', // param base name + 'integer', // openApiType + 'form', // style + true, // explode + false // required + ) ?? []); + // query params + $queryParams = array_merge($queryParams, ObjectSerializer::toQueryValue( + $per_page, + 'per_page', // param base name + 'integer', // openApiType + 'form', // style + true, // explode + false // required + ) ?? []); + + + // path params + if ($org_id !== null) { + $resourcePath = str_replace( + '{' . 'org_id' . '}', + ObjectSerializer::toPathValue($org_id), + $resourcePath + ); + } + + + $headers = $this->headerSelector->selectHeaders( + ['application/json', ], + $contentType, + $multipart + ); + + // for model (json/xml) + if (count($formParams) > 0) { + if ($multipart) { + $multipartContents = []; + foreach ($formParams as $formParamName => $formParamValue) { + $formParamValueItems = is_array($formParamValue) ? $formParamValue : [$formParamValue]; + foreach ($formParamValueItems as $formParamValueItem) { + $multipartContents[] = [ + 'name' => $formParamName, + 'contents' => $formParamValueItem + ]; + } + } + // for HTTP post (form) + $httpBody = new MultipartStream($multipartContents); + + } elseif (stripos($headers['Content-Type'], 'application/json') !== false) { + # if Content-Type contains "application/json", json_encode the form parameters + $httpBody = \GuzzleHttp\Utils::jsonEncode($formParams); + } else { + // for HTTP post (form) + $httpBody = ObjectSerializer::buildQuery($formParams); + } + } + + // this endpoint requires Bearer authentication (access token) + if (!empty($this->config->getAccessToken())) { + $headers['Authorization'] = 'Bearer ' . $this->config->getAccessToken(); + } + + $defaultHeaders = []; + if ($this->config->getUserAgent()) { + $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); + } + + $headers = array_merge( + $defaultHeaders, + $headerParams, + $headers + ); + + $operationHost = $this->config->getHost(); + $query = ObjectSerializer::buildQuery($queryParams); + return new Request( + 'GET', + $operationHost . $resourcePath . ($query ? "?{$query}" : ''), + $headers, + $httpBody + ); + } + + /** + * Operation getAutomationLogStatisticsByBase + * + * Automation Logs (by Base) + * + * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) + * @param \DateTime|null $start Start date in ISO format. (optional) + * @param \DateTime|null $end End date in ISO format. (optional) + * @param int|null $page The page number you want to start showing the entries. If no value is provided, 1 will be used. (optional) + * @param int|null $per_page The number of results that should be returned. If no value is provided, 25 results will be returned. (optional) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['getAutomationLogStatisticsByBase'] to see the possible values for this operation + * + * @throws \SeaTable\Client\ApiException on non-2xx response or if the response body is not in the expected format + * @throws \InvalidArgumentException + * @return object + */ + public function getAutomationLogStatisticsByBase($org_id, $start = null, $end = null, $page = null, $per_page = null, string $contentType = self::contentTypes['getAutomationLogStatisticsByBase'][0]) + { + list($response) = $this->getAutomationLogStatisticsByBaseWithHttpInfo($org_id, $start, $end, $page, $per_page, $contentType); + return $response; + } + + /** + * Operation getAutomationLogStatisticsByBaseWithHttpInfo + * + * Automation Logs (by Base) + * + * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) + * @param \DateTime|null $start Start date in ISO format. (optional) + * @param \DateTime|null $end End date in ISO format. (optional) + * @param int|null $page The page number you want to start showing the entries. If no value is provided, 1 will be used. (optional) + * @param int|null $per_page The number of results that should be returned. If no value is provided, 25 results will be returned. (optional) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['getAutomationLogStatisticsByBase'] to see the possible values for this operation + * + * @throws \SeaTable\Client\ApiException on non-2xx response or if the response body is not in the expected format + * @throws \InvalidArgumentException + * @return array of object, HTTP status code, HTTP response headers (array of strings) + */ + public function getAutomationLogStatisticsByBaseWithHttpInfo($org_id, $start = null, $end = null, $page = null, $per_page = null, string $contentType = self::contentTypes['getAutomationLogStatisticsByBase'][0]) + { + $request = $this->getAutomationLogStatisticsByBaseRequest($org_id, $start, $end, $page, $per_page, $contentType); + + try { + $options = $this->createHttpClientOption(); + try { + $response = $this->client->send($request, $options); + } catch (RequestException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + (int) $e->getCode(), + $e->getResponse() ? $e->getResponse()->getHeaders() : null, + $e->getResponse() ? (string) $e->getResponse()->getBody() : null + ); + } catch (ConnectException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + (int) $e->getCode(), + null, + null + ); + } + + $statusCode = $response->getStatusCode(); + + + switch($statusCode) { + case 200: + return $this->handleResponseWithDataType( + 'object', + $request, + $response, + ); + } + + + + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + + return $this->handleResponseWithDataType( + 'object', + $request, + $response, + ); + } catch (ApiException $e) { + switch ($e->getCode()) { + case 200: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + 'object', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + throw $e; + } + + + throw $e; + } + } + + /** + * Operation getAutomationLogStatisticsByBaseAsync + * + * Automation Logs (by Base) + * + * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) + * @param \DateTime|null $start Start date in ISO format. (optional) + * @param \DateTime|null $end End date in ISO format. (optional) + * @param int|null $page The page number you want to start showing the entries. If no value is provided, 1 will be used. (optional) + * @param int|null $per_page The number of results that should be returned. If no value is provided, 25 results will be returned. (optional) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['getAutomationLogStatisticsByBase'] to see the possible values for this operation + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function getAutomationLogStatisticsByBaseAsync($org_id, $start = null, $end = null, $page = null, $per_page = null, string $contentType = self::contentTypes['getAutomationLogStatisticsByBase'][0]) + { + return $this->getAutomationLogStatisticsByBaseAsyncWithHttpInfo($org_id, $start, $end, $page, $per_page, $contentType) + ->then( + function ($response) { + return $response[0]; + } + ); + } + + /** + * Operation getAutomationLogStatisticsByBaseAsyncWithHttpInfo + * + * Automation Logs (by Base) + * + * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) + * @param \DateTime|null $start Start date in ISO format. (optional) + * @param \DateTime|null $end End date in ISO format. (optional) + * @param int|null $page The page number you want to start showing the entries. If no value is provided, 1 will be used. (optional) + * @param int|null $per_page The number of results that should be returned. If no value is provided, 25 results will be returned. (optional) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['getAutomationLogStatisticsByBase'] to see the possible values for this operation + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function getAutomationLogStatisticsByBaseAsyncWithHttpInfo($org_id, $start = null, $end = null, $page = null, $per_page = null, string $contentType = self::contentTypes['getAutomationLogStatisticsByBase'][0]) + { + $returnType = 'object'; + $request = $this->getAutomationLogStatisticsByBaseRequest($org_id, $start, $end, $page, $per_page, $contentType); + + return $this->client + ->sendAsync($request, $this->createHttpClientOption()) + ->then( + function ($response) use ($returnType) { + if ($returnType === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + if ($returnType !== 'string') { + $content = json_decode($content); + } + } + + return [ + ObjectSerializer::deserialize($content, $returnType, []), + $response->getStatusCode(), + $response->getHeaders() + ]; + }, + function ($exception) { + $response = $exception->getResponse(); + $statusCode = $response->getStatusCode(); + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + $exception->getRequest()->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + ); + } + + /** + * Create request for operation 'getAutomationLogStatisticsByBase' + * + * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) + * @param \DateTime|null $start Start date in ISO format. (optional) + * @param \DateTime|null $end End date in ISO format. (optional) + * @param int|null $page The page number you want to start showing the entries. If no value is provided, 1 will be used. (optional) + * @param int|null $per_page The number of results that should be returned. If no value is provided, 25 results will be returned. (optional) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['getAutomationLogStatisticsByBase'] to see the possible values for this operation + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Psr7\Request + */ + public function getAutomationLogStatisticsByBaseRequest($org_id, $start = null, $end = null, $page = null, $per_page = null, string $contentType = self::contentTypes['getAutomationLogStatisticsByBase'][0]) + { + + // verify the required parameter 'org_id' is set + if ($org_id === null || (is_array($org_id) && count($org_id) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $org_id when calling getAutomationLogStatisticsByBase' + ); + } + if ($org_id < 1) { + throw new \InvalidArgumentException('invalid value for "$org_id" when calling StatisticsApi.getAutomationLogStatisticsByBase, must be bigger than or equal to 1.'); + } + + + + if ($page !== null && $page < 1) { + throw new \InvalidArgumentException('invalid value for "$page" when calling StatisticsApi.getAutomationLogStatisticsByBase, must be bigger than or equal to 1.'); + } + + if ($per_page !== null && $per_page < 1) { + throw new \InvalidArgumentException('invalid value for "$per_page" when calling StatisticsApi.getAutomationLogStatisticsByBase, must be bigger than or equal to 1.'); + } + + + $resourcePath = '/api/v2.1/org/{org_id}/admin/statistics/automation-logs/by-base/'; + $formParams = []; + $queryParams = []; + $headerParams = []; + $httpBody = ''; + $multipart = false; + + // query params + $queryParams = array_merge($queryParams, ObjectSerializer::toQueryValue( + $start, + 'start', // param base name + 'string', // openApiType + 'form', // style + true, // explode + false // required + ) ?? []); + // query params + $queryParams = array_merge($queryParams, ObjectSerializer::toQueryValue( + $end, + 'end', // param base name + 'string', // openApiType + 'form', // style + true, // explode + false // required + ) ?? []); + // query params + $queryParams = array_merge($queryParams, ObjectSerializer::toQueryValue( + $page, + 'page', // param base name + 'integer', // openApiType + 'form', // style + true, // explode + false // required + ) ?? []); + // query params + $queryParams = array_merge($queryParams, ObjectSerializer::toQueryValue( + $per_page, + 'per_page', // param base name + 'integer', // openApiType + 'form', // style + true, // explode + false // required + ) ?? []); + + + // path params + if ($org_id !== null) { + $resourcePath = str_replace( + '{' . 'org_id' . '}', + ObjectSerializer::toPathValue($org_id), + $resourcePath + ); + } + + + $headers = $this->headerSelector->selectHeaders( + ['application/json', ], + $contentType, + $multipart + ); + + // for model (json/xml) + if (count($formParams) > 0) { + if ($multipart) { + $multipartContents = []; + foreach ($formParams as $formParamName => $formParamValue) { + $formParamValueItems = is_array($formParamValue) ? $formParamValue : [$formParamValue]; + foreach ($formParamValueItems as $formParamValueItem) { + $multipartContents[] = [ + 'name' => $formParamName, + 'contents' => $formParamValueItem + ]; + } + } + // for HTTP post (form) + $httpBody = new MultipartStream($multipartContents); + + } elseif (stripos($headers['Content-Type'], 'application/json') !== false) { + # if Content-Type contains "application/json", json_encode the form parameters + $httpBody = \GuzzleHttp\Utils::jsonEncode($formParams); + } else { + // for HTTP post (form) + $httpBody = ObjectSerializer::buildQuery($formParams); + } + } + + // this endpoint requires Bearer authentication (access token) + if (!empty($this->config->getAccessToken())) { + $headers['Authorization'] = 'Bearer ' . $this->config->getAccessToken(); + } + + $defaultHeaders = []; + if ($this->config->getUserAgent()) { + $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); + } + + $headers = array_merge( + $defaultHeaders, + $headerParams, + $headers + ); + + $operationHost = $this->config->getHost(); + $query = ObjectSerializer::buildQuery($queryParams); + return new Request( + 'GET', + $operationHost . $resourcePath . ($query ? "?{$query}" : ''), + $headers, + $httpBody + ); + } + + /** + * Operation getAutomationLogStatisticsByDay + * + * Automation Logs (by Day) + * + * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) + * @param string|null $dtable_uuid The unique identifier of a base. (optional) + * @param \DateTime|null $start Start date in ISO format. (optional) + * @param \DateTime|null $end End date in ISO format. (optional) + * @param int|null $page The page number you want to start showing the entries. If no value is provided, 1 will be used. (optional) + * @param int|null $per_page The number of results that should be returned. If no value is provided, 25 results will be returned. (optional) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['getAutomationLogStatisticsByDay'] to see the possible values for this operation + * + * @throws \SeaTable\Client\ApiException on non-2xx response or if the response body is not in the expected format + * @throws \InvalidArgumentException + * @return object + */ + public function getAutomationLogStatisticsByDay($org_id, $dtable_uuid = null, $start = null, $end = null, $page = null, $per_page = null, string $contentType = self::contentTypes['getAutomationLogStatisticsByDay'][0]) + { + list($response) = $this->getAutomationLogStatisticsByDayWithHttpInfo($org_id, $dtable_uuid, $start, $end, $page, $per_page, $contentType); + return $response; + } + + /** + * Operation getAutomationLogStatisticsByDayWithHttpInfo + * + * Automation Logs (by Day) + * + * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) + * @param string|null $dtable_uuid The unique identifier of a base. (optional) + * @param \DateTime|null $start Start date in ISO format. (optional) + * @param \DateTime|null $end End date in ISO format. (optional) + * @param int|null $page The page number you want to start showing the entries. If no value is provided, 1 will be used. (optional) + * @param int|null $per_page The number of results that should be returned. If no value is provided, 25 results will be returned. (optional) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['getAutomationLogStatisticsByDay'] to see the possible values for this operation + * + * @throws \SeaTable\Client\ApiException on non-2xx response or if the response body is not in the expected format + * @throws \InvalidArgumentException + * @return array of object, HTTP status code, HTTP response headers (array of strings) + */ + public function getAutomationLogStatisticsByDayWithHttpInfo($org_id, $dtable_uuid = null, $start = null, $end = null, $page = null, $per_page = null, string $contentType = self::contentTypes['getAutomationLogStatisticsByDay'][0]) + { + $request = $this->getAutomationLogStatisticsByDayRequest($org_id, $dtable_uuid, $start, $end, $page, $per_page, $contentType); + + try { + $options = $this->createHttpClientOption(); + try { + $response = $this->client->send($request, $options); + } catch (RequestException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + (int) $e->getCode(), + $e->getResponse() ? $e->getResponse()->getHeaders() : null, + $e->getResponse() ? (string) $e->getResponse()->getBody() : null + ); + } catch (ConnectException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + (int) $e->getCode(), + null, + null + ); + } + + $statusCode = $response->getStatusCode(); + + + switch($statusCode) { + case 200: + return $this->handleResponseWithDataType( + 'object', + $request, + $response, + ); + } + + + + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + + return $this->handleResponseWithDataType( + 'object', + $request, + $response, + ); + } catch (ApiException $e) { + switch ($e->getCode()) { + case 200: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + 'object', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + throw $e; + } + + + throw $e; + } + } + + /** + * Operation getAutomationLogStatisticsByDayAsync + * + * Automation Logs (by Day) + * + * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) + * @param string|null $dtable_uuid The unique identifier of a base. (optional) + * @param \DateTime|null $start Start date in ISO format. (optional) + * @param \DateTime|null $end End date in ISO format. (optional) + * @param int|null $page The page number you want to start showing the entries. If no value is provided, 1 will be used. (optional) + * @param int|null $per_page The number of results that should be returned. If no value is provided, 25 results will be returned. (optional) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['getAutomationLogStatisticsByDay'] to see the possible values for this operation + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function getAutomationLogStatisticsByDayAsync($org_id, $dtable_uuid = null, $start = null, $end = null, $page = null, $per_page = null, string $contentType = self::contentTypes['getAutomationLogStatisticsByDay'][0]) + { + return $this->getAutomationLogStatisticsByDayAsyncWithHttpInfo($org_id, $dtable_uuid, $start, $end, $page, $per_page, $contentType) + ->then( + function ($response) { + return $response[0]; + } + ); + } + + /** + * Operation getAutomationLogStatisticsByDayAsyncWithHttpInfo + * + * Automation Logs (by Day) + * + * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) + * @param string|null $dtable_uuid The unique identifier of a base. (optional) + * @param \DateTime|null $start Start date in ISO format. (optional) + * @param \DateTime|null $end End date in ISO format. (optional) + * @param int|null $page The page number you want to start showing the entries. If no value is provided, 1 will be used. (optional) + * @param int|null $per_page The number of results that should be returned. If no value is provided, 25 results will be returned. (optional) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['getAutomationLogStatisticsByDay'] to see the possible values for this operation + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function getAutomationLogStatisticsByDayAsyncWithHttpInfo($org_id, $dtable_uuid = null, $start = null, $end = null, $page = null, $per_page = null, string $contentType = self::contentTypes['getAutomationLogStatisticsByDay'][0]) + { + $returnType = 'object'; + $request = $this->getAutomationLogStatisticsByDayRequest($org_id, $dtable_uuid, $start, $end, $page, $per_page, $contentType); + + return $this->client + ->sendAsync($request, $this->createHttpClientOption()) + ->then( + function ($response) use ($returnType) { + if ($returnType === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + if ($returnType !== 'string') { + $content = json_decode($content); + } + } + + return [ + ObjectSerializer::deserialize($content, $returnType, []), + $response->getStatusCode(), + $response->getHeaders() + ]; + }, + function ($exception) { + $response = $exception->getResponse(); + $statusCode = $response->getStatusCode(); + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + $exception->getRequest()->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + ); + } + + /** + * Create request for operation 'getAutomationLogStatisticsByDay' + * + * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) + * @param string|null $dtable_uuid The unique identifier of a base. (optional) + * @param \DateTime|null $start Start date in ISO format. (optional) + * @param \DateTime|null $end End date in ISO format. (optional) + * @param int|null $page The page number you want to start showing the entries. If no value is provided, 1 will be used. (optional) + * @param int|null $per_page The number of results that should be returned. If no value is provided, 25 results will be returned. (optional) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['getAutomationLogStatisticsByDay'] to see the possible values for this operation + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Psr7\Request + */ + public function getAutomationLogStatisticsByDayRequest($org_id, $dtable_uuid = null, $start = null, $end = null, $page = null, $per_page = null, string $contentType = self::contentTypes['getAutomationLogStatisticsByDay'][0]) + { + + // verify the required parameter 'org_id' is set + if ($org_id === null || (is_array($org_id) && count($org_id) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $org_id when calling getAutomationLogStatisticsByDay' + ); + } + if ($org_id < 1) { + throw new \InvalidArgumentException('invalid value for "$org_id" when calling StatisticsApi.getAutomationLogStatisticsByDay, must be bigger than or equal to 1.'); + } + + if ($dtable_uuid !== null && !preg_match("/^[0-9a-fA-F]{8}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{12}$/", $dtable_uuid)) { + throw new \InvalidArgumentException("invalid value for \"dtable_uuid\" when calling StatisticsApi.getAutomationLogStatisticsByDay, must conform to the pattern /^[0-9a-fA-F]{8}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{12}$/."); + } + + + + if ($page !== null && $page < 1) { + throw new \InvalidArgumentException('invalid value for "$page" when calling StatisticsApi.getAutomationLogStatisticsByDay, must be bigger than or equal to 1.'); + } + + if ($per_page !== null && $per_page < 1) { + throw new \InvalidArgumentException('invalid value for "$per_page" when calling StatisticsApi.getAutomationLogStatisticsByDay, must be bigger than or equal to 1.'); + } + + + $resourcePath = '/api/v2.1/org/{org_id}/admin/statistics/automation-logs/by-day/'; + $formParams = []; + $queryParams = []; + $headerParams = []; + $httpBody = ''; + $multipart = false; + + // query params + $queryParams = array_merge($queryParams, ObjectSerializer::toQueryValue( + $dtable_uuid, + 'dtable_uuid', // param base name + 'string', // openApiType + 'form', // style + true, // explode + false // required + ) ?? []); + // query params + $queryParams = array_merge($queryParams, ObjectSerializer::toQueryValue( + $start, + 'start', // param base name + 'string', // openApiType + 'form', // style + true, // explode + false // required + ) ?? []); + // query params + $queryParams = array_merge($queryParams, ObjectSerializer::toQueryValue( + $end, + 'end', // param base name + 'string', // openApiType + 'form', // style + true, // explode + false // required + ) ?? []); + // query params + $queryParams = array_merge($queryParams, ObjectSerializer::toQueryValue( + $page, + 'page', // param base name + 'integer', // openApiType + 'form', // style + true, // explode + false // required + ) ?? []); + // query params + $queryParams = array_merge($queryParams, ObjectSerializer::toQueryValue( + $per_page, + 'per_page', // param base name + 'integer', // openApiType + 'form', // style + true, // explode + false // required + ) ?? []); + + + // path params + if ($org_id !== null) { + $resourcePath = str_replace( + '{' . 'org_id' . '}', + ObjectSerializer::toPathValue($org_id), + $resourcePath + ); + } + + + $headers = $this->headerSelector->selectHeaders( + ['application/json', ], + $contentType, + $multipart + ); + + // for model (json/xml) + if (count($formParams) > 0) { + if ($multipart) { + $multipartContents = []; + foreach ($formParams as $formParamName => $formParamValue) { + $formParamValueItems = is_array($formParamValue) ? $formParamValue : [$formParamValue]; + foreach ($formParamValueItems as $formParamValueItem) { + $multipartContents[] = [ + 'name' => $formParamName, + 'contents' => $formParamValueItem + ]; + } + } + // for HTTP post (form) + $httpBody = new MultipartStream($multipartContents); + + } elseif (stripos($headers['Content-Type'], 'application/json') !== false) { + # if Content-Type contains "application/json", json_encode the form parameters + $httpBody = \GuzzleHttp\Utils::jsonEncode($formParams); + } else { + // for HTTP post (form) + $httpBody = ObjectSerializer::buildQuery($formParams); + } + } + + // this endpoint requires Bearer authentication (access token) + if (!empty($this->config->getAccessToken())) { + $headers['Authorization'] = 'Bearer ' . $this->config->getAccessToken(); + } + + $defaultHeaders = []; + if ($this->config->getUserAgent()) { + $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); + } + + $headers = array_merge( + $defaultHeaders, + $headerParams, + $headers + ); + + $operationHost = $this->config->getHost(); + $query = ObjectSerializer::buildQuery($queryParams); + return new Request( + 'GET', + $operationHost . $resourcePath . ($query ? "?{$query}" : ''), + $headers, + $httpBody + ); + } + + /** + * Operation getLoginLogStatisticsByDay + * + * Login Logs (by Day) + * + * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) + * @param \DateTime|null $start Start date in ISO format. (optional) + * @param \DateTime|null $end End date in ISO format. (optional) + * @param int|null $page The page number you want to start showing the entries. If no value is provided, 1 will be used. (optional) + * @param int|null $per_page The number of results that should be returned. If no value is provided, 25 results will be returned. (optional) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['getLoginLogStatisticsByDay'] to see the possible values for this operation + * + * @throws \SeaTable\Client\ApiException on non-2xx response or if the response body is not in the expected format + * @throws \InvalidArgumentException + * @return object + */ + public function getLoginLogStatisticsByDay($org_id, $start = null, $end = null, $page = null, $per_page = null, string $contentType = self::contentTypes['getLoginLogStatisticsByDay'][0]) + { + list($response) = $this->getLoginLogStatisticsByDayWithHttpInfo($org_id, $start, $end, $page, $per_page, $contentType); + return $response; + } + + /** + * Operation getLoginLogStatisticsByDayWithHttpInfo + * + * Login Logs (by Day) + * + * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) + * @param \DateTime|null $start Start date in ISO format. (optional) + * @param \DateTime|null $end End date in ISO format. (optional) + * @param int|null $page The page number you want to start showing the entries. If no value is provided, 1 will be used. (optional) + * @param int|null $per_page The number of results that should be returned. If no value is provided, 25 results will be returned. (optional) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['getLoginLogStatisticsByDay'] to see the possible values for this operation + * + * @throws \SeaTable\Client\ApiException on non-2xx response or if the response body is not in the expected format + * @throws \InvalidArgumentException + * @return array of object, HTTP status code, HTTP response headers (array of strings) + */ + public function getLoginLogStatisticsByDayWithHttpInfo($org_id, $start = null, $end = null, $page = null, $per_page = null, string $contentType = self::contentTypes['getLoginLogStatisticsByDay'][0]) + { + $request = $this->getLoginLogStatisticsByDayRequest($org_id, $start, $end, $page, $per_page, $contentType); + + try { + $options = $this->createHttpClientOption(); + try { + $response = $this->client->send($request, $options); + } catch (RequestException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + (int) $e->getCode(), + $e->getResponse() ? $e->getResponse()->getHeaders() : null, + $e->getResponse() ? (string) $e->getResponse()->getBody() : null + ); + } catch (ConnectException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + (int) $e->getCode(), + null, + null + ); + } + + $statusCode = $response->getStatusCode(); + + + switch($statusCode) { + case 200: + return $this->handleResponseWithDataType( + 'object', + $request, + $response, + ); + } + + + + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + + return $this->handleResponseWithDataType( + 'object', + $request, + $response, + ); + } catch (ApiException $e) { + switch ($e->getCode()) { + case 200: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + 'object', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + throw $e; + } + + + throw $e; + } + } + + /** + * Operation getLoginLogStatisticsByDayAsync + * + * Login Logs (by Day) + * + * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) + * @param \DateTime|null $start Start date in ISO format. (optional) + * @param \DateTime|null $end End date in ISO format. (optional) + * @param int|null $page The page number you want to start showing the entries. If no value is provided, 1 will be used. (optional) + * @param int|null $per_page The number of results that should be returned. If no value is provided, 25 results will be returned. (optional) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['getLoginLogStatisticsByDay'] to see the possible values for this operation + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function getLoginLogStatisticsByDayAsync($org_id, $start = null, $end = null, $page = null, $per_page = null, string $contentType = self::contentTypes['getLoginLogStatisticsByDay'][0]) + { + return $this->getLoginLogStatisticsByDayAsyncWithHttpInfo($org_id, $start, $end, $page, $per_page, $contentType) + ->then( + function ($response) { + return $response[0]; + } + ); + } + + /** + * Operation getLoginLogStatisticsByDayAsyncWithHttpInfo + * + * Login Logs (by Day) + * + * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) + * @param \DateTime|null $start Start date in ISO format. (optional) + * @param \DateTime|null $end End date in ISO format. (optional) + * @param int|null $page The page number you want to start showing the entries. If no value is provided, 1 will be used. (optional) + * @param int|null $per_page The number of results that should be returned. If no value is provided, 25 results will be returned. (optional) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['getLoginLogStatisticsByDay'] to see the possible values for this operation + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function getLoginLogStatisticsByDayAsyncWithHttpInfo($org_id, $start = null, $end = null, $page = null, $per_page = null, string $contentType = self::contentTypes['getLoginLogStatisticsByDay'][0]) + { + $returnType = 'object'; + $request = $this->getLoginLogStatisticsByDayRequest($org_id, $start, $end, $page, $per_page, $contentType); + + return $this->client + ->sendAsync($request, $this->createHttpClientOption()) + ->then( + function ($response) use ($returnType) { + if ($returnType === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + if ($returnType !== 'string') { + $content = json_decode($content); + } + } + + return [ + ObjectSerializer::deserialize($content, $returnType, []), + $response->getStatusCode(), + $response->getHeaders() + ]; + }, + function ($exception) { + $response = $exception->getResponse(); + $statusCode = $response->getStatusCode(); + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + $exception->getRequest()->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + ); + } + + /** + * Create request for operation 'getLoginLogStatisticsByDay' + * + * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) + * @param \DateTime|null $start Start date in ISO format. (optional) + * @param \DateTime|null $end End date in ISO format. (optional) + * @param int|null $page The page number you want to start showing the entries. If no value is provided, 1 will be used. (optional) + * @param int|null $per_page The number of results that should be returned. If no value is provided, 25 results will be returned. (optional) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['getLoginLogStatisticsByDay'] to see the possible values for this operation + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Psr7\Request + */ + public function getLoginLogStatisticsByDayRequest($org_id, $start = null, $end = null, $page = null, $per_page = null, string $contentType = self::contentTypes['getLoginLogStatisticsByDay'][0]) + { + + // verify the required parameter 'org_id' is set + if ($org_id === null || (is_array($org_id) && count($org_id) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $org_id when calling getLoginLogStatisticsByDay' + ); + } + if ($org_id < 1) { + throw new \InvalidArgumentException('invalid value for "$org_id" when calling StatisticsApi.getLoginLogStatisticsByDay, must be bigger than or equal to 1.'); + } + + + + if ($page !== null && $page < 1) { + throw new \InvalidArgumentException('invalid value for "$page" when calling StatisticsApi.getLoginLogStatisticsByDay, must be bigger than or equal to 1.'); + } + + if ($per_page !== null && $per_page < 1) { + throw new \InvalidArgumentException('invalid value for "$per_page" when calling StatisticsApi.getLoginLogStatisticsByDay, must be bigger than or equal to 1.'); + } + + + $resourcePath = '/api/v2.1/org/{org_id}/admin/statistics/login-logs/by-day/'; + $formParams = []; + $queryParams = []; + $headerParams = []; + $httpBody = ''; + $multipart = false; + + // query params + $queryParams = array_merge($queryParams, ObjectSerializer::toQueryValue( + $start, + 'start', // param base name + 'string', // openApiType + 'form', // style + true, // explode + false // required + ) ?? []); + // query params + $queryParams = array_merge($queryParams, ObjectSerializer::toQueryValue( + $end, + 'end', // param base name + 'string', // openApiType + 'form', // style + true, // explode + false // required + ) ?? []); + // query params + $queryParams = array_merge($queryParams, ObjectSerializer::toQueryValue( + $page, + 'page', // param base name + 'integer', // openApiType + 'form', // style + true, // explode + false // required + ) ?? []); + // query params + $queryParams = array_merge($queryParams, ObjectSerializer::toQueryValue( + $per_page, + 'per_page', // param base name + 'integer', // openApiType + 'form', // style + true, // explode + false // required + ) ?? []); + + + // path params + if ($org_id !== null) { + $resourcePath = str_replace( + '{' . 'org_id' . '}', + ObjectSerializer::toPathValue($org_id), + $resourcePath + ); + } + + + $headers = $this->headerSelector->selectHeaders( + ['application/json', ], + $contentType, + $multipart + ); + + // for model (json/xml) + if (count($formParams) > 0) { + if ($multipart) { + $multipartContents = []; + foreach ($formParams as $formParamName => $formParamValue) { + $formParamValueItems = is_array($formParamValue) ? $formParamValue : [$formParamValue]; + foreach ($formParamValueItems as $formParamValueItem) { + $multipartContents[] = [ + 'name' => $formParamName, + 'contents' => $formParamValueItem + ]; + } + } + // for HTTP post (form) + $httpBody = new MultipartStream($multipartContents); + + } elseif (stripos($headers['Content-Type'], 'application/json') !== false) { + # if Content-Type contains "application/json", json_encode the form parameters + $httpBody = \GuzzleHttp\Utils::jsonEncode($formParams); + } else { + // for HTTP post (form) + $httpBody = ObjectSerializer::buildQuery($formParams); + } + } + + // this endpoint requires Bearer authentication (access token) + if (!empty($this->config->getAccessToken())) { + $headers['Authorization'] = 'Bearer ' . $this->config->getAccessToken(); + } + + $defaultHeaders = []; + if ($this->config->getUserAgent()) { + $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); + } + + $headers = array_merge( + $defaultHeaders, + $headerParams, + $headers + ); + + $operationHost = $this->config->getHost(); + $query = ObjectSerializer::buildQuery($queryParams); + return new Request( + 'GET', + $operationHost . $resourcePath . ($query ? "?{$query}" : ''), + $headers, + $httpBody + ); + } + + /** + * Operation getPythonRunStatisticsByBase + * + * Python Runs (by Base) + * + * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) + * @param \DateTime|null $start Start date in ISO format. (optional) + * @param \DateTime|null $end End date in ISO format. (optional) + * @param int|null $page The page number you want to start showing the entries. If no value is provided, 1 will be used. (optional) + * @param int|null $per_page The number of results that should be returned. If no value is provided, 25 results will be returned. (optional) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['getPythonRunStatisticsByBase'] to see the possible values for this operation + * + * @throws \SeaTable\Client\ApiException on non-2xx response or if the response body is not in the expected format + * @throws \InvalidArgumentException + * @return object + */ + public function getPythonRunStatisticsByBase($org_id, $start = null, $end = null, $page = null, $per_page = null, string $contentType = self::contentTypes['getPythonRunStatisticsByBase'][0]) + { + list($response) = $this->getPythonRunStatisticsByBaseWithHttpInfo($org_id, $start, $end, $page, $per_page, $contentType); + return $response; + } + + /** + * Operation getPythonRunStatisticsByBaseWithHttpInfo + * + * Python Runs (by Base) + * + * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) + * @param \DateTime|null $start Start date in ISO format. (optional) + * @param \DateTime|null $end End date in ISO format. (optional) + * @param int|null $page The page number you want to start showing the entries. If no value is provided, 1 will be used. (optional) + * @param int|null $per_page The number of results that should be returned. If no value is provided, 25 results will be returned. (optional) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['getPythonRunStatisticsByBase'] to see the possible values for this operation + * + * @throws \SeaTable\Client\ApiException on non-2xx response or if the response body is not in the expected format + * @throws \InvalidArgumentException + * @return array of object, HTTP status code, HTTP response headers (array of strings) + */ + public function getPythonRunStatisticsByBaseWithHttpInfo($org_id, $start = null, $end = null, $page = null, $per_page = null, string $contentType = self::contentTypes['getPythonRunStatisticsByBase'][0]) + { + $request = $this->getPythonRunStatisticsByBaseRequest($org_id, $start, $end, $page, $per_page, $contentType); + + try { + $options = $this->createHttpClientOption(); + try { + $response = $this->client->send($request, $options); + } catch (RequestException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + (int) $e->getCode(), + $e->getResponse() ? $e->getResponse()->getHeaders() : null, + $e->getResponse() ? (string) $e->getResponse()->getBody() : null + ); + } catch (ConnectException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + (int) $e->getCode(), + null, + null + ); + } + + $statusCode = $response->getStatusCode(); + + + switch($statusCode) { + case 200: + return $this->handleResponseWithDataType( + 'object', + $request, + $response, + ); + } + + + + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + + return $this->handleResponseWithDataType( + 'object', + $request, + $response, + ); + } catch (ApiException $e) { + switch ($e->getCode()) { + case 200: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + 'object', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + throw $e; + } + + + throw $e; + } + } + + /** + * Operation getPythonRunStatisticsByBaseAsync + * + * Python Runs (by Base) + * + * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) + * @param \DateTime|null $start Start date in ISO format. (optional) + * @param \DateTime|null $end End date in ISO format. (optional) + * @param int|null $page The page number you want to start showing the entries. If no value is provided, 1 will be used. (optional) + * @param int|null $per_page The number of results that should be returned. If no value is provided, 25 results will be returned. (optional) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['getPythonRunStatisticsByBase'] to see the possible values for this operation + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function getPythonRunStatisticsByBaseAsync($org_id, $start = null, $end = null, $page = null, $per_page = null, string $contentType = self::contentTypes['getPythonRunStatisticsByBase'][0]) + { + return $this->getPythonRunStatisticsByBaseAsyncWithHttpInfo($org_id, $start, $end, $page, $per_page, $contentType) + ->then( + function ($response) { + return $response[0]; + } + ); + } + + /** + * Operation getPythonRunStatisticsByBaseAsyncWithHttpInfo + * + * Python Runs (by Base) + * + * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) + * @param \DateTime|null $start Start date in ISO format. (optional) + * @param \DateTime|null $end End date in ISO format. (optional) + * @param int|null $page The page number you want to start showing the entries. If no value is provided, 1 will be used. (optional) + * @param int|null $per_page The number of results that should be returned. If no value is provided, 25 results will be returned. (optional) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['getPythonRunStatisticsByBase'] to see the possible values for this operation + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function getPythonRunStatisticsByBaseAsyncWithHttpInfo($org_id, $start = null, $end = null, $page = null, $per_page = null, string $contentType = self::contentTypes['getPythonRunStatisticsByBase'][0]) + { + $returnType = 'object'; + $request = $this->getPythonRunStatisticsByBaseRequest($org_id, $start, $end, $page, $per_page, $contentType); + + return $this->client + ->sendAsync($request, $this->createHttpClientOption()) + ->then( + function ($response) use ($returnType) { + if ($returnType === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + if ($returnType !== 'string') { + $content = json_decode($content); + } + } + + return [ + ObjectSerializer::deserialize($content, $returnType, []), + $response->getStatusCode(), + $response->getHeaders() + ]; + }, + function ($exception) { + $response = $exception->getResponse(); + $statusCode = $response->getStatusCode(); + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + $exception->getRequest()->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + ); + } + + /** + * Create request for operation 'getPythonRunStatisticsByBase' + * + * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) + * @param \DateTime|null $start Start date in ISO format. (optional) + * @param \DateTime|null $end End date in ISO format. (optional) + * @param int|null $page The page number you want to start showing the entries. If no value is provided, 1 will be used. (optional) + * @param int|null $per_page The number of results that should be returned. If no value is provided, 25 results will be returned. (optional) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['getPythonRunStatisticsByBase'] to see the possible values for this operation + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Psr7\Request + */ + public function getPythonRunStatisticsByBaseRequest($org_id, $start = null, $end = null, $page = null, $per_page = null, string $contentType = self::contentTypes['getPythonRunStatisticsByBase'][0]) + { + + // verify the required parameter 'org_id' is set + if ($org_id === null || (is_array($org_id) && count($org_id) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $org_id when calling getPythonRunStatisticsByBase' + ); + } + if ($org_id < 1) { + throw new \InvalidArgumentException('invalid value for "$org_id" when calling StatisticsApi.getPythonRunStatisticsByBase, must be bigger than or equal to 1.'); + } + + + + if ($page !== null && $page < 1) { + throw new \InvalidArgumentException('invalid value for "$page" when calling StatisticsApi.getPythonRunStatisticsByBase, must be bigger than or equal to 1.'); + } + + if ($per_page !== null && $per_page < 1) { + throw new \InvalidArgumentException('invalid value for "$per_page" when calling StatisticsApi.getPythonRunStatisticsByBase, must be bigger than or equal to 1.'); + } + + + $resourcePath = '/api/v2.1/org/{org_id}/admin/statistics/python-runs/by-base/'; + $formParams = []; + $queryParams = []; + $headerParams = []; + $httpBody = ''; + $multipart = false; + + // query params + $queryParams = array_merge($queryParams, ObjectSerializer::toQueryValue( + $start, + 'start', // param base name + 'string', // openApiType + 'form', // style + true, // explode + false // required + ) ?? []); + // query params + $queryParams = array_merge($queryParams, ObjectSerializer::toQueryValue( + $end, + 'end', // param base name + 'string', // openApiType + 'form', // style + true, // explode + false // required + ) ?? []); + // query params + $queryParams = array_merge($queryParams, ObjectSerializer::toQueryValue( + $page, + 'page', // param base name + 'integer', // openApiType + 'form', // style + true, // explode + false // required + ) ?? []); + // query params + $queryParams = array_merge($queryParams, ObjectSerializer::toQueryValue( + $per_page, + 'per_page', // param base name + 'integer', // openApiType + 'form', // style + true, // explode + false // required + ) ?? []); + + + // path params + if ($org_id !== null) { + $resourcePath = str_replace( + '{' . 'org_id' . '}', + ObjectSerializer::toPathValue($org_id), + $resourcePath + ); + } + + + $headers = $this->headerSelector->selectHeaders( + ['application/json', ], + $contentType, + $multipart + ); + + // for model (json/xml) + if (count($formParams) > 0) { + if ($multipart) { + $multipartContents = []; + foreach ($formParams as $formParamName => $formParamValue) { + $formParamValueItems = is_array($formParamValue) ? $formParamValue : [$formParamValue]; + foreach ($formParamValueItems as $formParamValueItem) { + $multipartContents[] = [ + 'name' => $formParamName, + 'contents' => $formParamValueItem + ]; + } + } + // for HTTP post (form) + $httpBody = new MultipartStream($multipartContents); + + } elseif (stripos($headers['Content-Type'], 'application/json') !== false) { + # if Content-Type contains "application/json", json_encode the form parameters + $httpBody = \GuzzleHttp\Utils::jsonEncode($formParams); + } else { + // for HTTP post (form) + $httpBody = ObjectSerializer::buildQuery($formParams); + } + } + + // this endpoint requires Bearer authentication (access token) + if (!empty($this->config->getAccessToken())) { + $headers['Authorization'] = 'Bearer ' . $this->config->getAccessToken(); + } + + $defaultHeaders = []; + if ($this->config->getUserAgent()) { + $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); + } + + $headers = array_merge( + $defaultHeaders, + $headerParams, + $headers + ); + + $operationHost = $this->config->getHost(); + $query = ObjectSerializer::buildQuery($queryParams); + return new Request( + 'GET', + $operationHost . $resourcePath . ($query ? "?{$query}" : ''), + $headers, + $httpBody + ); + } + + /** + * Operation getPythonRunStatisticsByDay + * + * Python Runs (by Day) + * + * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) + * @param string|null $dtable_uuid The unique identifier of a base. (optional) + * @param \DateTime|null $start Start date in ISO format. (optional) + * @param \DateTime|null $end End date in ISO format. (optional) + * @param int|null $page The page number you want to start showing the entries. If no value is provided, 1 will be used. (optional) + * @param int|null $per_page The number of results that should be returned. If no value is provided, 25 results will be returned. (optional) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['getPythonRunStatisticsByDay'] to see the possible values for this operation + * + * @throws \SeaTable\Client\ApiException on non-2xx response or if the response body is not in the expected format + * @throws \InvalidArgumentException + * @return object + */ + public function getPythonRunStatisticsByDay($org_id, $dtable_uuid = null, $start = null, $end = null, $page = null, $per_page = null, string $contentType = self::contentTypes['getPythonRunStatisticsByDay'][0]) + { + list($response) = $this->getPythonRunStatisticsByDayWithHttpInfo($org_id, $dtable_uuid, $start, $end, $page, $per_page, $contentType); + return $response; + } + + /** + * Operation getPythonRunStatisticsByDayWithHttpInfo + * + * Python Runs (by Day) + * + * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) + * @param string|null $dtable_uuid The unique identifier of a base. (optional) + * @param \DateTime|null $start Start date in ISO format. (optional) + * @param \DateTime|null $end End date in ISO format. (optional) + * @param int|null $page The page number you want to start showing the entries. If no value is provided, 1 will be used. (optional) + * @param int|null $per_page The number of results that should be returned. If no value is provided, 25 results will be returned. (optional) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['getPythonRunStatisticsByDay'] to see the possible values for this operation + * + * @throws \SeaTable\Client\ApiException on non-2xx response or if the response body is not in the expected format + * @throws \InvalidArgumentException + * @return array of object, HTTP status code, HTTP response headers (array of strings) + */ + public function getPythonRunStatisticsByDayWithHttpInfo($org_id, $dtable_uuid = null, $start = null, $end = null, $page = null, $per_page = null, string $contentType = self::contentTypes['getPythonRunStatisticsByDay'][0]) + { + $request = $this->getPythonRunStatisticsByDayRequest($org_id, $dtable_uuid, $start, $end, $page, $per_page, $contentType); + + try { + $options = $this->createHttpClientOption(); + try { + $response = $this->client->send($request, $options); + } catch (RequestException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + (int) $e->getCode(), + $e->getResponse() ? $e->getResponse()->getHeaders() : null, + $e->getResponse() ? (string) $e->getResponse()->getBody() : null + ); + } catch (ConnectException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + (int) $e->getCode(), + null, + null + ); + } + + $statusCode = $response->getStatusCode(); + + + switch($statusCode) { + case 200: + return $this->handleResponseWithDataType( + 'object', + $request, + $response, + ); + } + + + + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + + return $this->handleResponseWithDataType( + 'object', + $request, + $response, + ); + } catch (ApiException $e) { + switch ($e->getCode()) { + case 200: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + 'object', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + throw $e; + } + + + throw $e; + } + } + + /** + * Operation getPythonRunStatisticsByDayAsync + * + * Python Runs (by Day) + * + * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) + * @param string|null $dtable_uuid The unique identifier of a base. (optional) + * @param \DateTime|null $start Start date in ISO format. (optional) + * @param \DateTime|null $end End date in ISO format. (optional) + * @param int|null $page The page number you want to start showing the entries. If no value is provided, 1 will be used. (optional) + * @param int|null $per_page The number of results that should be returned. If no value is provided, 25 results will be returned. (optional) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['getPythonRunStatisticsByDay'] to see the possible values for this operation + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function getPythonRunStatisticsByDayAsync($org_id, $dtable_uuid = null, $start = null, $end = null, $page = null, $per_page = null, string $contentType = self::contentTypes['getPythonRunStatisticsByDay'][0]) + { + return $this->getPythonRunStatisticsByDayAsyncWithHttpInfo($org_id, $dtable_uuid, $start, $end, $page, $per_page, $contentType) + ->then( + function ($response) { + return $response[0]; + } + ); + } + + /** + * Operation getPythonRunStatisticsByDayAsyncWithHttpInfo + * + * Python Runs (by Day) + * + * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) + * @param string|null $dtable_uuid The unique identifier of a base. (optional) + * @param \DateTime|null $start Start date in ISO format. (optional) + * @param \DateTime|null $end End date in ISO format. (optional) + * @param int|null $page The page number you want to start showing the entries. If no value is provided, 1 will be used. (optional) + * @param int|null $per_page The number of results that should be returned. If no value is provided, 25 results will be returned. (optional) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['getPythonRunStatisticsByDay'] to see the possible values for this operation + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function getPythonRunStatisticsByDayAsyncWithHttpInfo($org_id, $dtable_uuid = null, $start = null, $end = null, $page = null, $per_page = null, string $contentType = self::contentTypes['getPythonRunStatisticsByDay'][0]) + { + $returnType = 'object'; + $request = $this->getPythonRunStatisticsByDayRequest($org_id, $dtable_uuid, $start, $end, $page, $per_page, $contentType); + + return $this->client + ->sendAsync($request, $this->createHttpClientOption()) + ->then( + function ($response) use ($returnType) { + if ($returnType === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + if ($returnType !== 'string') { + $content = json_decode($content); + } + } + + return [ + ObjectSerializer::deserialize($content, $returnType, []), + $response->getStatusCode(), + $response->getHeaders() + ]; + }, + function ($exception) { + $response = $exception->getResponse(); + $statusCode = $response->getStatusCode(); + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + $exception->getRequest()->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + ); + } + + /** + * Create request for operation 'getPythonRunStatisticsByDay' + * + * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) + * @param string|null $dtable_uuid The unique identifier of a base. (optional) + * @param \DateTime|null $start Start date in ISO format. (optional) + * @param \DateTime|null $end End date in ISO format. (optional) + * @param int|null $page The page number you want to start showing the entries. If no value is provided, 1 will be used. (optional) + * @param int|null $per_page The number of results that should be returned. If no value is provided, 25 results will be returned. (optional) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['getPythonRunStatisticsByDay'] to see the possible values for this operation + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Psr7\Request + */ + public function getPythonRunStatisticsByDayRequest($org_id, $dtable_uuid = null, $start = null, $end = null, $page = null, $per_page = null, string $contentType = self::contentTypes['getPythonRunStatisticsByDay'][0]) + { + + // verify the required parameter 'org_id' is set + if ($org_id === null || (is_array($org_id) && count($org_id) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $org_id when calling getPythonRunStatisticsByDay' + ); + } + if ($org_id < 1) { + throw new \InvalidArgumentException('invalid value for "$org_id" when calling StatisticsApi.getPythonRunStatisticsByDay, must be bigger than or equal to 1.'); + } + + if ($dtable_uuid !== null && !preg_match("/^[0-9a-fA-F]{8}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{12}$/", $dtable_uuid)) { + throw new \InvalidArgumentException("invalid value for \"dtable_uuid\" when calling StatisticsApi.getPythonRunStatisticsByDay, must conform to the pattern /^[0-9a-fA-F]{8}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{12}$/."); + } + + + + if ($page !== null && $page < 1) { + throw new \InvalidArgumentException('invalid value for "$page" when calling StatisticsApi.getPythonRunStatisticsByDay, must be bigger than or equal to 1.'); + } + + if ($per_page !== null && $per_page < 1) { + throw new \InvalidArgumentException('invalid value for "$per_page" when calling StatisticsApi.getPythonRunStatisticsByDay, must be bigger than or equal to 1.'); + } + + + $resourcePath = '/api/v2.1/org/{org_id}/admin/statistics/python-runs/by-day/'; + $formParams = []; + $queryParams = []; + $headerParams = []; + $httpBody = ''; + $multipart = false; + + // query params + $queryParams = array_merge($queryParams, ObjectSerializer::toQueryValue( + $dtable_uuid, + 'dtable_uuid', // param base name + 'string', // openApiType + 'form', // style + true, // explode + false // required + ) ?? []); + // query params + $queryParams = array_merge($queryParams, ObjectSerializer::toQueryValue( + $start, + 'start', // param base name + 'string', // openApiType + 'form', // style + true, // explode + false // required + ) ?? []); + // query params + $queryParams = array_merge($queryParams, ObjectSerializer::toQueryValue( + $end, + 'end', // param base name + 'string', // openApiType + 'form', // style + true, // explode + false // required + ) ?? []); + // query params + $queryParams = array_merge($queryParams, ObjectSerializer::toQueryValue( + $page, + 'page', // param base name + 'integer', // openApiType + 'form', // style + true, // explode + false // required + ) ?? []); + // query params + $queryParams = array_merge($queryParams, ObjectSerializer::toQueryValue( + $per_page, + 'per_page', // param base name + 'integer', // openApiType + 'form', // style + true, // explode + false // required + ) ?? []); + + + // path params + if ($org_id !== null) { + $resourcePath = str_replace( + '{' . 'org_id' . '}', + ObjectSerializer::toPathValue($org_id), + $resourcePath + ); + } + + + $headers = $this->headerSelector->selectHeaders( + ['application/json', ], + $contentType, + $multipart + ); + + // for model (json/xml) + if (count($formParams) > 0) { + if ($multipart) { + $multipartContents = []; + foreach ($formParams as $formParamName => $formParamValue) { + $formParamValueItems = is_array($formParamValue) ? $formParamValue : [$formParamValue]; + foreach ($formParamValueItems as $formParamValueItem) { + $multipartContents[] = [ + 'name' => $formParamName, + 'contents' => $formParamValueItem + ]; + } + } + // for HTTP post (form) + $httpBody = new MultipartStream($multipartContents); + + } elseif (stripos($headers['Content-Type'], 'application/json') !== false) { + # if Content-Type contains "application/json", json_encode the form parameters + $httpBody = \GuzzleHttp\Utils::jsonEncode($formParams); + } else { + // for HTTP post (form) + $httpBody = ObjectSerializer::buildQuery($formParams); + } + } + + // this endpoint requires Bearer authentication (access token) + if (!empty($this->config->getAccessToken())) { + $headers['Authorization'] = 'Bearer ' . $this->config->getAccessToken(); + } + + $defaultHeaders = []; + if ($this->config->getUserAgent()) { + $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); + } + + $headers = array_merge( + $defaultHeaders, + $headerParams, + $headers + ); + + $operationHost = $this->config->getHost(); + $query = ObjectSerializer::buildQuery($queryParams); + return new Request( + 'GET', + $operationHost . $resourcePath . ($query ? "?{$query}" : ''), + $headers, + $httpBody + ); + } + + /** + * Operation getUserOrBaseAIStatistics + * + * Get AI statistics by user/base + * + * @param string $group_by Query by owner or Base (required) + * @param string $date A date string in YYYY-MM-DD format (required) + * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) + * @param int|null $page The page number you want to start showing the entries. If no value is provided, 1 will be used. (optional) + * @param int|null $per_page The number of results that should be returned. If no value is provided, 25 results will be returned. (optional) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['getUserOrBaseAIStatistics'] to see the possible values for this operation + * + * @throws \SeaTable\Client\ApiException on non-2xx response or if the response body is not in the expected format + * @throws \InvalidArgumentException + * @return object + */ + public function getUserOrBaseAIStatistics($group_by, $date, $org_id, $page = null, $per_page = null, string $contentType = self::contentTypes['getUserOrBaseAIStatistics'][0]) + { + list($response) = $this->getUserOrBaseAIStatisticsWithHttpInfo($group_by, $date, $org_id, $page, $per_page, $contentType); + return $response; + } + + /** + * Operation getUserOrBaseAIStatisticsWithHttpInfo + * + * Get AI statistics by user/base + * + * @param string $group_by Query by owner or Base (required) + * @param string $date A date string in YYYY-MM-DD format (required) + * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) + * @param int|null $page The page number you want to start showing the entries. If no value is provided, 1 will be used. (optional) + * @param int|null $per_page The number of results that should be returned. If no value is provided, 25 results will be returned. (optional) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['getUserOrBaseAIStatistics'] to see the possible values for this operation + * + * @throws \SeaTable\Client\ApiException on non-2xx response or if the response body is not in the expected format + * @throws \InvalidArgumentException + * @return array of object, HTTP status code, HTTP response headers (array of strings) + */ + public function getUserOrBaseAIStatisticsWithHttpInfo($group_by, $date, $org_id, $page = null, $per_page = null, string $contentType = self::contentTypes['getUserOrBaseAIStatistics'][0]) + { + $request = $this->getUserOrBaseAIStatisticsRequest($group_by, $date, $org_id, $page, $per_page, $contentType); + + try { + $options = $this->createHttpClientOption(); + try { + $response = $this->client->send($request, $options); + } catch (RequestException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + (int) $e->getCode(), + $e->getResponse() ? $e->getResponse()->getHeaders() : null, + $e->getResponse() ? (string) $e->getResponse()->getBody() : null + ); + } catch (ConnectException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + (int) $e->getCode(), + null, + null + ); + } + + $statusCode = $response->getStatusCode(); + + + switch($statusCode) { + case 200: + return $this->handleResponseWithDataType( + 'object', + $request, + $response, + ); + } + + + + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + + return $this->handleResponseWithDataType( + 'object', + $request, + $response, + ); + } catch (ApiException $e) { + switch ($e->getCode()) { + case 200: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + 'object', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + throw $e; + } + + + throw $e; + } + } + + /** + * Operation getUserOrBaseAIStatisticsAsync + * + * Get AI statistics by user/base + * + * @param string $group_by Query by owner or Base (required) + * @param string $date A date string in YYYY-MM-DD format (required) + * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) + * @param int|null $page The page number you want to start showing the entries. If no value is provided, 1 will be used. (optional) + * @param int|null $per_page The number of results that should be returned. If no value is provided, 25 results will be returned. (optional) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['getUserOrBaseAIStatistics'] to see the possible values for this operation + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function getUserOrBaseAIStatisticsAsync($group_by, $date, $org_id, $page = null, $per_page = null, string $contentType = self::contentTypes['getUserOrBaseAIStatistics'][0]) + { + return $this->getUserOrBaseAIStatisticsAsyncWithHttpInfo($group_by, $date, $org_id, $page, $per_page, $contentType) + ->then( + function ($response) { + return $response[0]; + } + ); + } + + /** + * Operation getUserOrBaseAIStatisticsAsyncWithHttpInfo + * + * Get AI statistics by user/base + * + * @param string $group_by Query by owner or Base (required) + * @param string $date A date string in YYYY-MM-DD format (required) + * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) + * @param int|null $page The page number you want to start showing the entries. If no value is provided, 1 will be used. (optional) + * @param int|null $per_page The number of results that should be returned. If no value is provided, 25 results will be returned. (optional) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['getUserOrBaseAIStatistics'] to see the possible values for this operation + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function getUserOrBaseAIStatisticsAsyncWithHttpInfo($group_by, $date, $org_id, $page = null, $per_page = null, string $contentType = self::contentTypes['getUserOrBaseAIStatistics'][0]) + { + $returnType = 'object'; + $request = $this->getUserOrBaseAIStatisticsRequest($group_by, $date, $org_id, $page, $per_page, $contentType); + + return $this->client + ->sendAsync($request, $this->createHttpClientOption()) + ->then( + function ($response) use ($returnType) { + if ($returnType === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + if ($returnType !== 'string') { + $content = json_decode($content); + } + } + + return [ + ObjectSerializer::deserialize($content, $returnType, []), + $response->getStatusCode(), + $response->getHeaders() + ]; + }, + function ($exception) { + $response = $exception->getResponse(); + $statusCode = $response->getStatusCode(); + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + $exception->getRequest()->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + ); + } + + /** + * Create request for operation 'getUserOrBaseAIStatistics' + * + * @param string $group_by Query by owner or Base (required) + * @param string $date A date string in YYYY-MM-DD format (required) + * @param int $org_id The ID of your team/organization. Numeric. Get it from [Get Team](/reference/getteaminfo). Contact your team admin, if you are not the admin. (required) + * @param int|null $page The page number you want to start showing the entries. If no value is provided, 1 will be used. (optional) + * @param int|null $per_page The number of results that should be returned. If no value is provided, 25 results will be returned. (optional) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['getUserOrBaseAIStatistics'] to see the possible values for this operation + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Psr7\Request + */ + public function getUserOrBaseAIStatisticsRequest($group_by, $date, $org_id, $page = null, $per_page = null, string $contentType = self::contentTypes['getUserOrBaseAIStatistics'][0]) + { + + // verify the required parameter 'group_by' is set + if ($group_by === null || (is_array($group_by) && count($group_by) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $group_by when calling getUserOrBaseAIStatistics' + ); + } + + // verify the required parameter 'date' is set + if ($date === null || (is_array($date) && count($date) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $date when calling getUserOrBaseAIStatistics' + ); + } + + // verify the required parameter 'org_id' is set + if ($org_id === null || (is_array($org_id) && count($org_id) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $org_id when calling getUserOrBaseAIStatistics' + ); + } + if ($org_id < 1) { + throw new \InvalidArgumentException('invalid value for "$org_id" when calling StatisticsApi.getUserOrBaseAIStatistics, must be bigger than or equal to 1.'); + } + + if ($page !== null && $page < 1) { + throw new \InvalidArgumentException('invalid value for "$page" when calling StatisticsApi.getUserOrBaseAIStatistics, must be bigger than or equal to 1.'); + } + + if ($per_page !== null && $per_page < 1) { + throw new \InvalidArgumentException('invalid value for "$per_page" when calling StatisticsApi.getUserOrBaseAIStatistics, must be bigger than or equal to 1.'); + } + + + $resourcePath = '/api/v2.1/org/{org_id}/admin/statistics/ai/'; + $formParams = []; + $queryParams = []; + $headerParams = []; + $httpBody = ''; + $multipart = false; + + // query params + $queryParams = array_merge($queryParams, ObjectSerializer::toQueryValue( + $group_by, + 'group_by', // param base name + 'string', // openApiType + 'form', // style + true, // explode + true // required + ) ?? []); + // query params + $queryParams = array_merge($queryParams, ObjectSerializer::toQueryValue( + $date, + 'date', // param base name + 'string', // openApiType + 'form', // style + true, // explode + true // required + ) ?? []); + // query params + $queryParams = array_merge($queryParams, ObjectSerializer::toQueryValue( + $page, + 'page', // param base name + 'integer', // openApiType + 'form', // style + true, // explode + false // required + ) ?? []); + // query params + $queryParams = array_merge($queryParams, ObjectSerializer::toQueryValue( + $per_page, + 'per_page', // param base name + 'integer', // openApiType + 'form', // style + true, // explode + false // required + ) ?? []); + + + // path params + if ($org_id !== null) { + $resourcePath = str_replace( + '{' . 'org_id' . '}', + ObjectSerializer::toPathValue($org_id), + $resourcePath + ); + } + + + $headers = $this->headerSelector->selectHeaders( + ['application/json', ], + $contentType, + $multipart + ); + + // for model (json/xml) + if (count($formParams) > 0) { + if ($multipart) { + $multipartContents = []; + foreach ($formParams as $formParamName => $formParamValue) { + $formParamValueItems = is_array($formParamValue) ? $formParamValue : [$formParamValue]; + foreach ($formParamValueItems as $formParamValueItem) { + $multipartContents[] = [ + 'name' => $formParamName, + 'contents' => $formParamValueItem + ]; + } + } + // for HTTP post (form) + $httpBody = new MultipartStream($multipartContents); + + } elseif (stripos($headers['Content-Type'], 'application/json') !== false) { + # if Content-Type contains "application/json", json_encode the form parameters + $httpBody = \GuzzleHttp\Utils::jsonEncode($formParams); + } else { + // for HTTP post (form) + $httpBody = ObjectSerializer::buildQuery($formParams); + } + } + + // this endpoint requires Bearer authentication (access token) + if (!empty($this->config->getAccessToken())) { + $headers['Authorization'] = 'Bearer ' . $this->config->getAccessToken(); + } + + $defaultHeaders = []; + if ($this->config->getUserAgent()) { + $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); + } + + $headers = array_merge( + $defaultHeaders, + $headerParams, + $headers + ); + + $operationHost = $this->config->getHost(); + $query = ObjectSerializer::buildQuery($queryParams); + return new Request( + 'GET', + $operationHost . $resourcePath . ($query ? "?{$query}" : ''), + $headers, + $httpBody + ); + } + + /** + * Create http client option + * + * @throws \RuntimeException on file opening failure + * @return array of http client options + */ + protected function createHttpClientOption() + { + $options = []; + if ($this->config->getDebug()) { + $options[RequestOptions::DEBUG] = fopen($this->config->getDebugFile(), 'a'); + if (!$options[RequestOptions::DEBUG]) { + throw new \RuntimeException('Failed to open the debug file: ' . $this->config->getDebugFile()); + } + } + + if ($this->config->getCertFile()) { + $options[RequestOptions::CERT] = $this->config->getCertFile(); + } + + if ($this->config->getKeyFile()) { + $options[RequestOptions::SSL_KEY] = $this->config->getKeyFile(); + } + + return $options; + } + + private function handleResponseWithDataType( + string $dataType, + RequestInterface $request, + ResponseInterface $response + ): array { + if ($dataType === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + if ($dataType !== 'string') { + try { + $content = json_decode($content, false, 512, JSON_THROW_ON_ERROR); + } catch (\JsonException $exception) { + throw new ApiException( + sprintf( + 'Error JSON decoding server response (%s)', + $request->getUri() + ), + $response->getStatusCode(), + $response->getHeaders(), + $content + ); + } + } + } + + return [ + ObjectSerializer::deserialize($content, $dataType, []), + $response->getStatusCode(), + $response->getHeaders() + ]; + } + + private function responseWithinRangeCode( + string $rangeCode, + int $statusCode + ): bool { + $left = (int) ($rangeCode[0].'00'); + $right = (int) ($rangeCode[0].'99'); + + return $statusCode >= $left && $statusCode <= $right; + } +} diff --git a/lib/TeamAdmin/TeamAdminPermission.php b/lib/TeamAdmin/TeamAdminPermission.php index 53bf43da..616b4fe0 100644 --- a/lib/TeamAdmin/TeamAdminPermission.php +++ b/lib/TeamAdmin/TeamAdminPermission.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/lib/TeamAdmin/UpdateGroupMemberRoleRequest.php b/lib/TeamAdmin/UpdateGroupMemberRoleRequest.php index 805c8a2f..5a4f9bac 100644 --- a/lib/TeamAdmin/UpdateGroupMemberRoleRequest.php +++ b/lib/TeamAdmin/UpdateGroupMemberRoleRequest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -320,11 +320,11 @@ public function setIsAdmin($is_admin) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -332,12 +332,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -362,11 +362,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/TeamAdmin/UpdateGroupRequest.php b/lib/TeamAdmin/UpdateGroupRequest.php index 55808f39..8a7f1209 100644 --- a/lib/TeamAdmin/UpdateGroupRequest.php +++ b/lib/TeamAdmin/UpdateGroupRequest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -351,11 +351,11 @@ public function setNewGroupName($new_group_name) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -363,12 +363,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -393,11 +393,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/TeamAdmin/UpdateInviteLinkRequest.php b/lib/TeamAdmin/UpdateInviteLinkRequest.php index ee37bf6d..b0a7e7fb 100644 --- a/lib/TeamAdmin/UpdateInviteLinkRequest.php +++ b/lib/TeamAdmin/UpdateInviteLinkRequest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -385,11 +385,11 @@ public function setExpireDays($expire_days) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -397,12 +397,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -427,11 +427,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/TeamAdmin/UsersApi.php b/lib/TeamAdmin/UsersApi.php index a900748d..17dfe905 100644 --- a/lib/TeamAdmin/UsersApi.php +++ b/lib/TeamAdmin/UsersApi.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -2636,6 +2636,14 @@ protected function createHttpClientOption() } } + if ($this->config->getCertFile()) { + $options[RequestOptions::CERT] = $this->config->getCertFile(); + } + + if ($this->config->getKeyFile()) { + $options[RequestOptions::SSL_KEY] = $this->config->getKeyFile(); + } + return $options; } diff --git a/lib/User/Action.php b/lib/User/Action.php index 4b854f84..60f10bfc 100644 --- a/lib/User/Action.php +++ b/lib/User/Action.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -351,11 +351,11 @@ public function setUsers($users) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -363,12 +363,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -393,11 +393,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/ActionAddRecord.php b/lib/User/ActionAddRecord.php index e865a402..c62fe1df 100644 --- a/lib/User/ActionAddRecord.php +++ b/lib/User/ActionAddRecord.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -417,11 +417,11 @@ public function setId($_id) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -429,12 +429,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -459,11 +459,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/ActionAddRecordToOtherTable.php b/lib/User/ActionAddRecordToOtherTable.php index 5a6c17eb..0200c8a7 100644 --- a/lib/User/ActionAddRecordToOtherTable.php +++ b/lib/User/ActionAddRecordToOtherTable.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -451,11 +451,11 @@ public function setRow($row) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -463,12 +463,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -493,11 +493,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/ActionAddRecordToOtherTableRow.php b/lib/User/ActionAddRecordToOtherTableRow.php index 071b2c97..4a04b8dc 100644 --- a/lib/User/ActionAddRecordToOtherTableRow.php +++ b/lib/User/ActionAddRecordToOtherTableRow.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -289,11 +289,11 @@ public function valid() /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -301,12 +301,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -331,11 +331,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/ActionCalculateAccumulatedValue.php b/lib/User/ActionCalculateAccumulatedValue.php index c9a4b210..73b87490 100644 --- a/lib/User/ActionCalculateAccumulatedValue.php +++ b/lib/User/ActionCalculateAccumulatedValue.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -451,11 +451,11 @@ public function setCalculateColumn($calculate_column) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -463,12 +463,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -493,11 +493,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/ActionCalculateDelta.php b/lib/User/ActionCalculateDelta.php index 64d129fc..d0ec2c60 100644 --- a/lib/User/ActionCalculateDelta.php +++ b/lib/User/ActionCalculateDelta.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -451,11 +451,11 @@ public function setCalculateColumn($calculate_column) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -463,12 +463,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -493,11 +493,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/ActionCalculatePercentage.php b/lib/User/ActionCalculatePercentage.php index fc41d827..ffb3041c 100644 --- a/lib/User/ActionCalculatePercentage.php +++ b/lib/User/ActionCalculatePercentage.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -451,11 +451,11 @@ public function setCalculateColumn($calculate_column) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -463,12 +463,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -493,11 +493,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/ActionCalculateRank.php b/lib/User/ActionCalculateRank.php index b3965f01..8a529f0e 100644 --- a/lib/User/ActionCalculateRank.php +++ b/lib/User/ActionCalculateRank.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -451,11 +451,11 @@ public function setCalculateColumn($calculate_column) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -463,12 +463,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -493,11 +493,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/ActionExtractUserName.php b/lib/User/ActionExtractUserName.php index b6701181..1b613417 100644 --- a/lib/User/ActionExtractUserName.php +++ b/lib/User/ActionExtractUserName.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -451,11 +451,11 @@ public function setResultColumnKey($result_column_key) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -463,12 +463,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -493,11 +493,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/ActionLinkRecord.php b/lib/User/ActionLinkRecord.php index c36f9de6..add9b1f8 100644 --- a/lib/User/ActionLinkRecord.php +++ b/lib/User/ActionLinkRecord.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -485,11 +485,11 @@ public function setMatchConditions($match_conditions) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -497,12 +497,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -527,11 +527,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/ActionLinkRecordMatchConditionsInner.php b/lib/User/ActionLinkRecordMatchConditionsInner.php index 55ceac0c..a73240db 100644 --- a/lib/User/ActionLinkRecordMatchConditionsInner.php +++ b/lib/User/ActionLinkRecordMatchConditionsInner.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -351,11 +351,11 @@ public function setOtherColumnKey($other_column_key) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -363,12 +363,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -393,11 +393,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/ActionLockRecord.php b/lib/User/ActionLockRecord.php index b80c6f61..f3d88206 100644 --- a/lib/User/ActionLockRecord.php +++ b/lib/User/ActionLockRecord.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -449,11 +449,11 @@ public function setId($_id) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -461,12 +461,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -491,11 +491,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/ActionLookupAndCopy.php b/lib/User/ActionLookupAndCopy.php index c2814cdf..4c503a78 100644 --- a/lib/User/ActionLookupAndCopy.php +++ b/lib/User/ActionLookupAndCopy.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -485,11 +485,11 @@ public function setFillColumnConditions($fill_column_conditions) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -497,12 +497,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -527,11 +527,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/ActionLookupAndCopyEqualColumnConditionsInner.php b/lib/User/ActionLookupAndCopyEqualColumnConditionsInner.php index d9c40d00..3c5e937b 100644 --- a/lib/User/ActionLookupAndCopyEqualColumnConditionsInner.php +++ b/lib/User/ActionLookupAndCopyEqualColumnConditionsInner.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -351,11 +351,11 @@ public function setCopyToColumnKey($copy_to_column_key) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -363,12 +363,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -393,11 +393,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/ActionLookupAndCopyTableCondition.php b/lib/User/ActionLookupAndCopyTableCondition.php index 1b89fc14..46292d9e 100644 --- a/lib/User/ActionLookupAndCopyTableCondition.php +++ b/lib/User/ActionLookupAndCopyTableCondition.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -351,11 +351,11 @@ public function setCopyToTableId($copy_to_table_id) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -363,12 +363,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -393,11 +393,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/ActionNotify.php b/lib/User/ActionNotify.php index 2790f3bc..d882c94e 100644 --- a/lib/User/ActionNotify.php +++ b/lib/User/ActionNotify.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -485,11 +485,11 @@ public function setUsersColumnKey($users_column_key) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -497,12 +497,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -527,11 +527,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/ActionRecordsMeetSpecificConditionsAfterModificationInner.php b/lib/User/ActionRecordsMeetSpecificConditionsAfterModificationInner.php index efe27b5c..195b9146 100644 --- a/lib/User/ActionRecordsMeetSpecificConditionsAfterModificationInner.php +++ b/lib/User/ActionRecordsMeetSpecificConditionsAfterModificationInner.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -1075,11 +1075,11 @@ public function setRepoId($repo_id) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -1087,12 +1087,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -1117,11 +1117,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/ActionRunPeriodicallyInner.php b/lib/User/ActionRunPeriodicallyInner.php index 96535003..fa9be065 100644 --- a/lib/User/ActionRunPeriodicallyInner.php +++ b/lib/User/ActionRunPeriodicallyInner.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -1185,11 +1185,11 @@ public function setFillColumnConditions($fill_column_conditions) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -1197,12 +1197,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -1227,11 +1227,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/ActionRunPeriodicallyOnRecordsInner.php b/lib/User/ActionRunPeriodicallyOnRecordsInner.php index 389fed13..7d027349 100644 --- a/lib/User/ActionRunPeriodicallyOnRecordsInner.php +++ b/lib/User/ActionRunPeriodicallyOnRecordsInner.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -691,11 +691,11 @@ public function setIsLocked($is_locked) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -703,12 +703,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -733,11 +733,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/ActionRunPythonScript.php b/lib/User/ActionRunPythonScript.php index 27bb8d6d..1363c65b 100644 --- a/lib/User/ActionRunPythonScript.php +++ b/lib/User/ActionRunPythonScript.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -553,11 +553,11 @@ public function setRepoId($repo_id) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -565,12 +565,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -595,11 +595,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/ActionSendEmail.php b/lib/User/ActionSendEmail.php index a3d08e0a..2d4b0213 100644 --- a/lib/User/ActionSendEmail.php +++ b/lib/User/ActionSendEmail.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -553,11 +553,11 @@ public function setId($_id) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -565,12 +565,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -595,11 +595,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/ActionUpdateRecord.php b/lib/User/ActionUpdateRecord.php index e839ead9..6307ba7b 100644 --- a/lib/User/ActionUpdateRecord.php +++ b/lib/User/ActionUpdateRecord.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -417,11 +417,11 @@ public function setId($_id) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -429,12 +429,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -459,11 +459,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/ActivitiesLogsApi.php b/lib/User/ActivitiesLogsApi.php index 197fe006..01ea05cf 100644 --- a/lib/User/ActivitiesLogsApi.php +++ b/lib/User/ActivitiesLogsApi.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -1099,6 +1099,14 @@ protected function createHttpClientOption() } } + if ($this->config->getCertFile()) { + $options[RequestOptions::CERT] = $this->config->getCertFile(); + } + + if ($this->config->getKeyFile()) { + $options[RequestOptions::SSL_KEY] = $this->config->getKeyFile(); + } + return $options; } diff --git a/lib/User/AddEmailAccountRequest.php b/lib/User/AddEmailAccountRequest.php index d2afba0e..a1f4abbb 100644 --- a/lib/User/AddEmailAccountRequest.php +++ b/lib/User/AddEmailAccountRequest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -385,11 +385,11 @@ public function setDetail($detail) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -397,12 +397,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -427,11 +427,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/AddGroupMemberRequest.php b/lib/User/AddGroupMemberRequest.php index 72824798..93d9cdad 100644 --- a/lib/User/AddGroupMemberRequest.php +++ b/lib/User/AddGroupMemberRequest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -317,11 +317,11 @@ public function setEmail($email) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -329,12 +329,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -359,11 +359,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/AddNotificationRuleRequest.php b/lib/User/AddNotificationRuleRequest.php index 89027f7f..081adefb 100644 --- a/lib/User/AddNotificationRuleRequest.php +++ b/lib/User/AddNotificationRuleRequest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -428,11 +428,11 @@ public function setAction($action) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -440,12 +440,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -470,11 +470,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/AddNotificationRuleRequestAction.php b/lib/User/AddNotificationRuleRequestAction.php index bfa0c7ee..680f6c9a 100644 --- a/lib/User/AddNotificationRuleRequestAction.php +++ b/lib/User/AddNotificationRuleRequestAction.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -454,11 +454,11 @@ public function setDefaultMsg($default_msg) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -466,12 +466,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -496,11 +496,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/AddNotificationRuleRequestTrigger.php b/lib/User/AddNotificationRuleRequestTrigger.php index 2331d833..050fb2fd 100644 --- a/lib/User/AddNotificationRuleRequestTrigger.php +++ b/lib/User/AddNotificationRuleRequestTrigger.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -769,11 +769,11 @@ public function setFilterConjunction($filter_conjunction) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -781,12 +781,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -811,11 +811,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/AddPassword.php b/lib/User/AddPassword.php index 8914c712..f945f2c2 100644 --- a/lib/User/AddPassword.php +++ b/lib/User/AddPassword.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -417,11 +417,11 @@ public function setPassword($password) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -429,12 +429,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -459,11 +459,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/AddRecordToOtherTableRowDate.php b/lib/User/AddRecordToOtherTableRowDate.php index 36f3b948..c3a0aa5d 100644 --- a/lib/User/AddRecordToOtherTableRowDate.php +++ b/lib/User/AddRecordToOtherTableRowDate.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -289,11 +289,11 @@ public function valid() /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -301,12 +301,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -331,11 +331,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/AddRecordToOtherTableRowDateTime.php b/lib/User/AddRecordToOtherTableRowDateTime.php index 3fa5409f..a67cc850 100644 --- a/lib/User/AddRecordToOtherTableRowDateTime.php +++ b/lib/User/AddRecordToOtherTableRowDateTime.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -289,11 +289,11 @@ public function valid() /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -301,12 +301,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -331,11 +331,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/AppsApi.php b/lib/User/AppsApi.php index 6b75ed2e..c3d95665 100644 --- a/lib/User/AppsApi.php +++ b/lib/User/AppsApi.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -1330,6 +1330,14 @@ protected function createHttpClientOption() } } + if ($this->config->getCertFile()) { + $options[RequestOptions::CERT] = $this->config->getCertFile(); + } + + if ($this->config->getKeyFile()) { + $options[RequestOptions::SSL_KEY] = $this->config->getKeyFile(); + } + return $options; } diff --git a/lib/User/AttachmentApi.php b/lib/User/AttachmentApi.php index 86eb7bec..9edc0875 100644 --- a/lib/User/AttachmentApi.php +++ b/lib/User/AttachmentApi.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -2213,6 +2213,14 @@ protected function createHttpClientOption() } } + if ($this->config->getCertFile()) { + $options[RequestOptions::CERT] = $this->config->getCertFile(); + } + + if ($this->config->getKeyFile()) { + $options[RequestOptions::SSL_KEY] = $this->config->getKeyFile(); + } + return $options; } diff --git a/lib/User/AutomationsApi.php b/lib/User/AutomationsApi.php index 63cfb3f8..dcfe1ae8 100644 --- a/lib/User/AutomationsApi.php +++ b/lib/User/AutomationsApi.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -1401,6 +1401,14 @@ protected function createHttpClientOption() } } + if ($this->config->getCertFile()) { + $options[RequestOptions::CERT] = $this->config->getCertFile(); + } + + if ($this->config->getKeyFile()) { + $options[RequestOptions::SSL_KEY] = $this->config->getKeyFile(); + } + return $options; } diff --git a/lib/User/Base.php b/lib/User/Base.php index 7b3315cb..97273048 100644 --- a/lib/User/Base.php +++ b/lib/User/Base.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -317,11 +317,11 @@ public function setTable($table) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -329,12 +329,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -359,11 +359,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/BasePasswordRequest.php b/lib/User/BasePasswordRequest.php index 1974dabb..404c93fc 100644 --- a/lib/User/BasePasswordRequest.php +++ b/lib/User/BasePasswordRequest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -451,11 +451,11 @@ public function setNewPassword($new_password) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -463,12 +463,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -493,11 +493,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/BaseTable.php b/lib/User/BaseTable.php index 84f0eef6..1239ee86 100644 --- a/lib/User/BaseTable.php +++ b/lib/User/BaseTable.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -678,11 +678,11 @@ public function setInStorage($in_storage) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -690,12 +690,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -720,11 +720,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/BasesApi.php b/lib/User/BasesApi.php index e1a5ce7a..3d59c384 100644 --- a/lib/User/BasesApi.php +++ b/lib/User/BasesApi.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -5593,6 +5593,14 @@ protected function createHttpClientOption() } } + if ($this->config->getCertFile()) { + $options[RequestOptions::CERT] = $this->config->getCertFile(); + } + + if ($this->config->getKeyFile()) { + $options[RequestOptions::SSL_KEY] = $this->config->getKeyFile(); + } + return $options; } diff --git a/lib/User/ChooseADateColumnValue.php b/lib/User/ChooseADateColumnValue.php index cc2ba9f3..7e1ce37d 100644 --- a/lib/User/ChooseADateColumnValue.php +++ b/lib/User/ChooseADateColumnValue.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -383,11 +383,11 @@ public function setDateColumnKey($date_column_key) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -395,12 +395,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -425,11 +425,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/CommonDatasetApi.php b/lib/User/CommonDatasetApi.php index 6f09b7a7..9174b56f 100644 --- a/lib/User/CommonDatasetApi.php +++ b/lib/User/CommonDatasetApi.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -3036,6 +3036,14 @@ protected function createHttpClientOption() } } + if ($this->config->getCertFile()) { + $options[RequestOptions::CERT] = $this->config->getCertFile(); + } + + if ($this->config->getKeyFile()) { + $options[RequestOptions::SSL_KEY] = $this->config->getKeyFile(); + } + return $options; } diff --git a/lib/User/Contains.php b/lib/User/Contains.php index bf078767..10e2411e 100644 --- a/lib/User/Contains.php +++ b/lib/User/Contains.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -417,11 +417,11 @@ public function setFilterTerm($filter_term) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -429,12 +429,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -459,11 +459,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/ContainsFilterTerm.php b/lib/User/ContainsFilterTerm.php index 034fb1e7..fdeaab9e 100644 --- a/lib/User/ContainsFilterTerm.php +++ b/lib/User/ContainsFilterTerm.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -289,11 +289,11 @@ public function valid() /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -301,12 +301,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -331,11 +331,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/CreateAutomationRuleRequest.php b/lib/User/CreateAutomationRuleRequest.php index 63a454ae..f3e0717e 100644 --- a/lib/User/CreateAutomationRuleRequest.php +++ b/lib/User/CreateAutomationRuleRequest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -417,11 +417,11 @@ public function setActions($actions) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -429,12 +429,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -459,11 +459,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/CreateGroupRequest.php b/lib/User/CreateGroupRequest.php index 3e0678dc..999b5ce6 100644 --- a/lib/User/CreateGroupRequest.php +++ b/lib/User/CreateGroupRequest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -317,11 +317,11 @@ public function setName($name) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -329,12 +329,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -359,11 +359,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/DepartmentsApi.php b/lib/User/DepartmentsApi.php index 78a8a57f..00cb42da 100644 --- a/lib/User/DepartmentsApi.php +++ b/lib/User/DepartmentsApi.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -670,6 +670,14 @@ protected function createHttpClientOption() } } + if ($this->config->getCertFile()) { + $options[RequestOptions::CERT] = $this->config->getCertFile(); + } + + if ($this->config->getKeyFile()) { + $options[RequestOptions::SSL_KEY] = $this->config->getKeyFile(); + } + return $options; } diff --git a/lib/User/Detail.php b/lib/User/Detail.php index 87b757fe..6ebffb36 100644 --- a/lib/User/Detail.php +++ b/lib/User/Detail.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -419,11 +419,11 @@ public function setPassword($password) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -431,12 +431,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -461,11 +461,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/DoesNotContain.php b/lib/User/DoesNotContain.php index 18850ac6..3be9d319 100644 --- a/lib/User/DoesNotContain.php +++ b/lib/User/DoesNotContain.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -417,11 +417,11 @@ public function setFilterTerm($filter_term) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -429,12 +429,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -459,11 +459,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/EmailAccountsApi.php b/lib/User/EmailAccountsApi.php index 5c6f2b90..2921825d 100644 --- a/lib/User/EmailAccountsApi.php +++ b/lib/User/EmailAccountsApi.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -1836,6 +1836,14 @@ protected function createHttpClientOption() } } + if ($this->config->getCertFile()) { + $options[RequestOptions::CERT] = $this->config->getCertFile(); + } + + if ($this->config->getKeyFile()) { + $options[RequestOptions::SSL_KEY] = $this->config->getKeyFile(); + } + return $options; } diff --git a/lib/User/Equal.php b/lib/User/Equal.php index b3f32cad..c60ce20f 100644 --- a/lib/User/Equal.php +++ b/lib/User/Equal.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -417,11 +417,11 @@ public function setFilterTerm($filter_term) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -429,12 +429,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -459,11 +459,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/FilterTermEmpty.php b/lib/User/FilterTermEmpty.php index dd85d936..23d7d544 100644 --- a/lib/User/FilterTermEmpty.php +++ b/lib/User/FilterTermEmpty.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/lib/User/FiltersInner.php b/lib/User/FiltersInner.php index de8d972a..0c2cf1ce 100644 --- a/lib/User/FiltersInner.php +++ b/lib/User/FiltersInner.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -483,11 +483,11 @@ public function setFilterTermModifier($filter_term_modifier) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -495,12 +495,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -525,11 +525,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/FormsApi.php b/lib/User/FormsApi.php index 29ee7f24..50ed5141 100644 --- a/lib/User/FormsApi.php +++ b/lib/User/FormsApi.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -2121,6 +2121,14 @@ protected function createHttpClientOption() } } + if ($this->config->getCertFile()) { + $options[RequestOptions::CERT] = $this->config->getCertFile(); + } + + if ($this->config->getKeyFile()) { + $options[RequestOptions::SSL_KEY] = $this->config->getKeyFile(); + } + return $options; } diff --git a/lib/User/GetBigDataOperationLogs200Response.php b/lib/User/GetBigDataOperationLogs200Response.php index 7d0f9ba5..79168550 100644 --- a/lib/User/GetBigDataOperationLogs200Response.php +++ b/lib/User/GetBigDataOperationLogs200Response.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -317,11 +317,11 @@ public function setOperations($operations) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -329,12 +329,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -359,11 +359,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/GetBigDataOperationLogs200ResponseOperationsInner.php b/lib/User/GetBigDataOperationLogs200ResponseOperationsInner.php index cb499976..574cb8a3 100644 --- a/lib/User/GetBigDataOperationLogs200ResponseOperationsInner.php +++ b/lib/User/GetBigDataOperationLogs200ResponseOperationsInner.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -453,11 +453,11 @@ public function setOperation($operation) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -465,12 +465,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -495,11 +495,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/GetBigDataOperationLogs200ResponseOperationsInnerOperation.php b/lib/User/GetBigDataOperationLogs200ResponseOperationsInnerOperation.php index 0742f96b..4b97f75a 100644 --- a/lib/User/GetBigDataOperationLogs200ResponseOperationsInnerOperation.php +++ b/lib/User/GetBigDataOperationLogs200ResponseOperationsInnerOperation.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -488,11 +488,11 @@ public function setRowData($row_data) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -500,12 +500,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -530,11 +530,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/Greater.php b/lib/User/Greater.php index 0f61525b..061aeefe 100644 --- a/lib/User/Greater.php +++ b/lib/User/Greater.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -417,11 +417,11 @@ public function setFilterTerm($filter_term) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -429,12 +429,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -459,11 +459,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/GreaterOrEqual.php b/lib/User/GreaterOrEqual.php index 95e77a9a..1f37f6eb 100644 --- a/lib/User/GreaterOrEqual.php +++ b/lib/User/GreaterOrEqual.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -417,11 +417,11 @@ public function setFilterTerm($filter_term) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -429,12 +429,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -459,11 +459,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/GroupsWorkspacesApi.php b/lib/User/GroupsWorkspacesApi.php index 70b5e60a..e0651806 100644 --- a/lib/User/GroupsWorkspacesApi.php +++ b/lib/User/GroupsWorkspacesApi.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -4112,6 +4112,14 @@ protected function createHttpClientOption() } } + if ($this->config->getCertFile()) { + $options[RequestOptions::CERT] = $this->config->getCertFile(); + } + + if ($this->config->getKeyFile()) { + $options[RequestOptions::SSL_KEY] = $this->config->getKeyFile(); + } + return $options; } diff --git a/lib/User/HasAllOf.php b/lib/User/HasAllOf.php index 674689ff..ea52e5a4 100644 --- a/lib/User/HasAllOf.php +++ b/lib/User/HasAllOf.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -417,11 +417,11 @@ public function setFilterTerm($filter_term) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -429,12 +429,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -459,11 +459,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/HasAnyOf.php b/lib/User/HasAnyOf.php index 4e092f61..996cdec1 100644 --- a/lib/User/HasAnyOf.php +++ b/lib/User/HasAnyOf.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -417,11 +417,11 @@ public function setFilterTerm($filter_term) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -429,12 +429,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -459,11 +459,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/HasNoneOf.php b/lib/User/HasNoneOf.php index e507f23c..7531ea3a 100644 --- a/lib/User/HasNoneOf.php +++ b/lib/User/HasNoneOf.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -417,11 +417,11 @@ public function setFilterTerm($filter_term) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -429,12 +429,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -459,11 +459,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/ImportBasefromDTableFile200Response.php b/lib/User/ImportBasefromDTableFile200Response.php index c9da8f53..ffbd91f4 100644 --- a/lib/User/ImportBasefromDTableFile200Response.php +++ b/lib/User/ImportBasefromDTableFile200Response.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -351,11 +351,11 @@ public function setTable($table) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -363,12 +363,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -393,11 +393,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/ImportBasefromDTableFile200ResponseTable.php b/lib/User/ImportBasefromDTableFile200ResponseTable.php index f28067f7..1151d568 100644 --- a/lib/User/ImportBasefromDTableFile200ResponseTable.php +++ b/lib/User/ImportBasefromDTableFile200ResponseTable.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -678,11 +678,11 @@ public function setInStorage($in_storage) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -690,12 +690,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -720,11 +720,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/ImportExportApi.php b/lib/User/ImportExportApi.php index 1e9435d8..385ed790 100644 --- a/lib/User/ImportExportApi.php +++ b/lib/User/ImportExportApi.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -3109,6 +3109,14 @@ protected function createHttpClientOption() } } + if ($this->config->getCertFile()) { + $options[RequestOptions::CERT] = $this->config->getCertFile(); + } + + if ($this->config->getKeyFile()) { + $options[RequestOptions::SSL_KEY] = $this->config->getKeyFile(); + } + return $options; } diff --git a/lib/User/ImportUsersToAppRequest.php b/lib/User/ImportUsersToAppRequest.php index 08c3efc2..c363a524 100644 --- a/lib/User/ImportUsersToAppRequest.php +++ b/lib/User/ImportUsersToAppRequest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -317,11 +317,11 @@ public function setUsersInfo($users_info) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -329,12 +329,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -359,11 +359,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/IncludeMe.php b/lib/User/IncludeMe.php index 1a5e9039..7b75f458 100644 --- a/lib/User/IncludeMe.php +++ b/lib/User/IncludeMe.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -417,11 +417,11 @@ public function setFilterTerm($filter_term) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -429,12 +429,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -459,11 +459,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/Is.php b/lib/User/Is.php index 3543dec9..3a7e71df 100644 --- a/lib/User/Is.php +++ b/lib/User/Is.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -417,11 +417,11 @@ public function setFilterTerm($filter_term) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -429,12 +429,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -459,11 +459,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/IsAdmin.php b/lib/User/IsAdmin.php index 2fe6373b..c4d7bfc9 100644 --- a/lib/User/IsAdmin.php +++ b/lib/User/IsAdmin.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/lib/User/IsAnyOf.php b/lib/User/IsAnyOf.php index c31a1aa6..88b70dd6 100644 --- a/lib/User/IsAnyOf.php +++ b/lib/User/IsAnyOf.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -417,11 +417,11 @@ public function setFilterTerm($filter_term) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -429,12 +429,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -459,11 +459,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/IsCurrentUserID.php b/lib/User/IsCurrentUserID.php index 570775b9..f1572882 100644 --- a/lib/User/IsCurrentUserID.php +++ b/lib/User/IsCurrentUserID.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -417,11 +417,11 @@ public function setFilterTerm($filter_term) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -429,12 +429,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -459,11 +459,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/IsEmpty.php b/lib/User/IsEmpty.php index af058803..2c84fbe7 100644 --- a/lib/User/IsEmpty.php +++ b/lib/User/IsEmpty.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -417,11 +417,11 @@ public function setFilterTerm($filter_term) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -429,12 +429,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -459,11 +459,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/IsExactly.php b/lib/User/IsExactly.php index bc2651da..2befbb26 100644 --- a/lib/User/IsExactly.php +++ b/lib/User/IsExactly.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -417,11 +417,11 @@ public function setFilterTerm($filter_term) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -429,12 +429,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -459,11 +459,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/IsInactive.php b/lib/User/IsInactive.php index e239616c..a454b2b0 100644 --- a/lib/User/IsInactive.php +++ b/lib/User/IsInactive.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -320,11 +320,11 @@ public function setIsInactive($is_inactive) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -332,12 +332,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -362,11 +362,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/IsNoneOf.php b/lib/User/IsNoneOf.php index a2eb8c5a..ece3f9d5 100644 --- a/lib/User/IsNoneOf.php +++ b/lib/User/IsNoneOf.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -417,11 +417,11 @@ public function setFilterTerm($filter_term) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -429,12 +429,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -459,11 +459,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/IsNot.php b/lib/User/IsNot.php index f9c4c5b7..7f6a5aba 100644 --- a/lib/User/IsNot.php +++ b/lib/User/IsNot.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -417,11 +417,11 @@ public function setFilterTerm($filter_term) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -429,12 +429,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -459,11 +459,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/IsNotEmpty.php b/lib/User/IsNotEmpty.php index 13c593b6..7e63ef90 100644 --- a/lib/User/IsNotEmpty.php +++ b/lib/User/IsNotEmpty.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -417,11 +417,11 @@ public function setFilterTerm($filter_term) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -429,12 +429,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -459,11 +459,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/IsWithinTheNextMonth.php b/lib/User/IsWithinTheNextMonth.php index b60ac4fa..8a411c22 100644 --- a/lib/User/IsWithinTheNextMonth.php +++ b/lib/User/IsWithinTheNextMonth.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -483,11 +483,11 @@ public function setFilterTermModifier($filter_term_modifier) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -495,12 +495,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -525,11 +525,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/IsWithinTheNextNumberOfDays.php b/lib/User/IsWithinTheNextNumberOfDays.php index e05ceecf..59d0cf2c 100644 --- a/lib/User/IsWithinTheNextNumberOfDays.php +++ b/lib/User/IsWithinTheNextNumberOfDays.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -483,11 +483,11 @@ public function setFilterTermModifier($filter_term_modifier) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -495,12 +495,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -525,11 +525,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/IsWithinTheNextWeek.php b/lib/User/IsWithinTheNextWeek.php index d254e850..272d13ba 100644 --- a/lib/User/IsWithinTheNextWeek.php +++ b/lib/User/IsWithinTheNextWeek.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -483,11 +483,11 @@ public function setFilterTermModifier($filter_term_modifier) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -495,12 +495,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -525,11 +525,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/IsWithinTheNextYear.php b/lib/User/IsWithinTheNextYear.php index 045aca79..2af1ae5b 100644 --- a/lib/User/IsWithinTheNextYear.php +++ b/lib/User/IsWithinTheNextYear.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -483,11 +483,11 @@ public function setFilterTermModifier($filter_term_modifier) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -495,12 +495,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -525,11 +525,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/IsWithinThePastMonth.php b/lib/User/IsWithinThePastMonth.php index 744a5754..68f7cc6c 100644 --- a/lib/User/IsWithinThePastMonth.php +++ b/lib/User/IsWithinThePastMonth.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -483,11 +483,11 @@ public function setFilterTermModifier($filter_term_modifier) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -495,12 +495,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -525,11 +525,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/IsWithinThePastNumberOfDays.php b/lib/User/IsWithinThePastNumberOfDays.php index 5f80af18..26a6423a 100644 --- a/lib/User/IsWithinThePastNumberOfDays.php +++ b/lib/User/IsWithinThePastNumberOfDays.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -483,11 +483,11 @@ public function setFilterTermModifier($filter_term_modifier) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -495,12 +495,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -525,11 +525,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/IsWithinThePastWeek.php b/lib/User/IsWithinThePastWeek.php index a9d417a9..595c0ced 100644 --- a/lib/User/IsWithinThePastWeek.php +++ b/lib/User/IsWithinThePastWeek.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -483,11 +483,11 @@ public function setFilterTermModifier($filter_term_modifier) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -495,12 +495,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -525,11 +525,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/IsWithinThePastYear.php b/lib/User/IsWithinThePastYear.php index 0eaaa612..b9c0a680 100644 --- a/lib/User/IsWithinThePastYear.php +++ b/lib/User/IsWithinThePastYear.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -483,11 +483,11 @@ public function setFilterTermModifier($filter_term_modifier) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -495,12 +495,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -525,11 +525,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/IsWithinThisMonth.php b/lib/User/IsWithinThisMonth.php index 903e5ab3..c6da7619 100644 --- a/lib/User/IsWithinThisMonth.php +++ b/lib/User/IsWithinThisMonth.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -483,11 +483,11 @@ public function setFilterTermModifier($filter_term_modifier) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -495,12 +495,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -525,11 +525,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/IsWithinThisWeek.php b/lib/User/IsWithinThisWeek.php index 0e89b98c..01ad5132 100644 --- a/lib/User/IsWithinThisWeek.php +++ b/lib/User/IsWithinThisWeek.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -483,11 +483,11 @@ public function setFilterTermModifier($filter_term_modifier) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -495,12 +495,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -525,11 +525,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/IsWithinThisYear.php b/lib/User/IsWithinThisYear.php index 5a26f24f..90e9d55a 100644 --- a/lib/User/IsWithinThisYear.php +++ b/lib/User/IsWithinThisYear.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -483,11 +483,11 @@ public function setFilterTermModifier($filter_term_modifier) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -495,12 +495,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -525,11 +525,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/Less.php b/lib/User/Less.php index cf4f6c73..57c3518b 100644 --- a/lib/User/Less.php +++ b/lib/User/Less.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -417,11 +417,11 @@ public function setFilterTerm($filter_term) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -429,12 +429,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -459,11 +459,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/LessOrEqual.php b/lib/User/LessOrEqual.php index 90520f7c..e97a6bed 100644 --- a/lib/User/LessOrEqual.php +++ b/lib/User/LessOrEqual.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -417,11 +417,11 @@ public function setFilterTerm($filter_term) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -429,12 +429,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -459,11 +459,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/ListPublicUserInfosRequest.php b/lib/User/ListPublicUserInfosRequest.php index 3458e3da..f40880e5 100644 --- a/lib/User/ListPublicUserInfosRequest.php +++ b/lib/User/ListPublicUserInfosRequest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -317,11 +317,11 @@ public function setUserIdList($user_id_list) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -329,12 +329,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -359,11 +359,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/MaintenanceApi.php b/lib/User/MaintenanceApi.php index 29e575cd..18bb710a 100644 --- a/lib/User/MaintenanceApi.php +++ b/lib/User/MaintenanceApi.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -415,6 +415,14 @@ protected function createHttpClientOption() } } + if ($this->config->getCertFile()) { + $options[RequestOptions::CERT] = $this->config->getCertFile(); + } + + if ($this->config->getKeyFile()) { + $options[RequestOptions::SSL_KEY] = $this->config->getKeyFile(); + } + return $options; } diff --git a/lib/User/ModelInterface.php b/lib/User/ModelInterface.php index b981eb53..9597596a 100644 --- a/lib/User/ModelInterface.php +++ b/lib/User/ModelInterface.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/lib/User/ModifyPassword.php b/lib/User/ModifyPassword.php index e160e21b..2fd55655 100644 --- a/lib/User/ModifyPassword.php +++ b/lib/User/ModifyPassword.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -451,11 +451,11 @@ public function setNewPassword($new_password) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -463,12 +463,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -493,11 +493,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/NotEqual.php b/lib/User/NotEqual.php index d0ac1eb9..3c75da00 100644 --- a/lib/User/NotEqual.php +++ b/lib/User/NotEqual.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -417,11 +417,11 @@ public function setFilterTerm($filter_term) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -429,12 +429,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -459,11 +459,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/NotificationsApi.php b/lib/User/NotificationsApi.php index 08c3ba85..58c3023a 100644 --- a/lib/User/NotificationsApi.php +++ b/lib/User/NotificationsApi.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -1656,6 +1656,14 @@ protected function createHttpClientOption() } } + if ($this->config->getCertFile()) { + $options[RequestOptions::CERT] = $this->config->getCertFile(); + } + + if ($this->config->getKeyFile()) { + $options[RequestOptions::SSL_KEY] = $this->config->getKeyFile(); + } + return $options; } diff --git a/lib/User/RecordsMeetSpecificConditionsAfterModification.php b/lib/User/RecordsMeetSpecificConditionsAfterModification.php index a84045e2..6cb67fc9 100644 --- a/lib/User/RecordsMeetSpecificConditionsAfterModification.php +++ b/lib/User/RecordsMeetSpecificConditionsAfterModification.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -417,11 +417,11 @@ public function setActions($actions) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -429,12 +429,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -459,11 +459,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/RepairBase200Response.php b/lib/User/RepairBase200Response.php index 3de0d23c..3a7e8023 100644 --- a/lib/User/RepairBase200Response.php +++ b/lib/User/RepairBase200Response.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -317,11 +317,11 @@ public function setSuccess($success) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -329,12 +329,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -359,11 +359,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/RowAdded.php b/lib/User/RowAdded.php index 810fcb12..1023c767 100644 --- a/lib/User/RowAdded.php +++ b/lib/User/RowAdded.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -417,11 +417,11 @@ public function setActions($actions) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -429,12 +429,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -459,11 +459,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/RunPeriodically.php b/lib/User/RunPeriodically.php index 7d5af1cf..70fffa31 100644 --- a/lib/User/RunPeriodically.php +++ b/lib/User/RunPeriodically.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -417,11 +417,11 @@ public function setActions($actions) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -429,12 +429,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -459,11 +459,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/RunPeriodicallyOnRecordsMeetConditions.php b/lib/User/RunPeriodicallyOnRecordsMeetConditions.php index 2f351921..a2a757e1 100644 --- a/lib/User/RunPeriodicallyOnRecordsMeetConditions.php +++ b/lib/User/RunPeriodicallyOnRecordsMeetConditions.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -417,11 +417,11 @@ public function setActions($actions) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -429,12 +429,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -459,11 +459,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/SharingApi.php b/lib/User/SharingApi.php index 09e0b39f..e4524008 100644 --- a/lib/User/SharingApi.php +++ b/lib/User/SharingApi.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -7517,6 +7517,14 @@ protected function createHttpClientOption() } } + if ($this->config->getCertFile()) { + $options[RequestOptions::CERT] = $this->config->getCertFile(); + } + + if ($this->config->getKeyFile()) { + $options[RequestOptions::SSL_KEY] = $this->config->getKeyFile(); + } + return $options; } diff --git a/lib/User/SharingLinksApi.php b/lib/User/SharingLinksApi.php index 81be62e9..ab3cea61 100644 --- a/lib/User/SharingLinksApi.php +++ b/lib/User/SharingLinksApi.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -1916,10 +1916,7 @@ public function deleteViewExternalLinkRequest($workspace_id, $base_name, $view_e 'Missing the required parameter $view_external_link_token when calling deleteViewExternalLink' ); } - if (!preg_match("/^[0-9a-f]{20}$/", $view_external_link_token)) { - throw new \InvalidArgumentException("invalid value for \"view_external_link_token\" when calling SharingLinksApi.deleteViewExternalLink, must conform to the pattern /^[0-9a-f]{20}$/."); - } - + $resourcePath = '/api/v2.1/workspace/{workspace_id}/dtable/{base_name}/view-external-links/{view_external_link_token}/'; $formParams = []; @@ -2667,6 +2664,14 @@ protected function createHttpClientOption() } } + if ($this->config->getCertFile()) { + $options[RequestOptions::CERT] = $this->config->getCertFile(); + } + + if ($this->config->getKeyFile()) { + $options[RequestOptions::SSL_KEY] = $this->config->getKeyFile(); + } + return $options; } diff --git a/lib/User/SnapshotsApi.php b/lib/User/SnapshotsApi.php index 37b8dd48..d4614936 100644 --- a/lib/User/SnapshotsApi.php +++ b/lib/User/SnapshotsApi.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -1404,6 +1404,14 @@ protected function createHttpClientOption() } } + if ($this->config->getCertFile()) { + $options[RequestOptions::CERT] = $this->config->getCertFile(); + } + + if ($this->config->getKeyFile()) { + $options[RequestOptions::SSL_KEY] = $this->config->getKeyFile(); + } + return $options; } diff --git a/lib/User/SpecificDateValue.php b/lib/User/SpecificDateValue.php index 274d0e69..8f68cbdd 100644 --- a/lib/User/SpecificDateValue.php +++ b/lib/User/SpecificDateValue.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -383,11 +383,11 @@ public function setValue($value) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -395,12 +395,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -425,11 +425,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/SystemNotificationsApi.php b/lib/User/SystemNotificationsApi.php index 3dac828e..9fbc22d1 100644 --- a/lib/User/SystemNotificationsApi.php +++ b/lib/User/SystemNotificationsApi.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -667,6 +667,14 @@ protected function createHttpClientOption() } } + if ($this->config->getCertFile()) { + $options[RequestOptions::CERT] = $this->config->getCertFile(); + } + + if ($this->config->getKeyFile()) { + $options[RequestOptions::SSL_KEY] = $this->config->getKeyFile(); + } + return $options; } diff --git a/lib/User/TheDayRunningTheTaskValue.php b/lib/User/TheDayRunningTheTaskValue.php index 0be31cc8..305bc02d 100644 --- a/lib/User/TheDayRunningTheTaskValue.php +++ b/lib/User/TheDayRunningTheTaskValue.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -481,11 +481,11 @@ public function setOffsetBy($offset_by) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -493,12 +493,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -523,11 +523,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/Trigger.php b/lib/User/Trigger.php index 25d95979..340d45f6 100644 --- a/lib/User/Trigger.php +++ b/lib/User/Trigger.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -419,11 +419,11 @@ public function setViewId($view_id) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -431,12 +431,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -461,11 +461,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/TriggerRecordsMeetSpecificConditionsAfterModification.php b/lib/User/TriggerRecordsMeetSpecificConditionsAfterModification.php index 3d6839be..080e17f5 100644 --- a/lib/User/TriggerRecordsMeetSpecificConditionsAfterModification.php +++ b/lib/User/TriggerRecordsMeetSpecificConditionsAfterModification.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -555,11 +555,11 @@ public function setWatchAllColumns($watch_all_columns) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -567,12 +567,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -597,11 +597,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/TriggerRecordsMeetSpecificConditionsAfterModificationCondition.php b/lib/User/TriggerRecordsMeetSpecificConditionsAfterModificationCondition.php index 5b2c7b8e..6ee07bd4 100644 --- a/lib/User/TriggerRecordsMeetSpecificConditionsAfterModificationCondition.php +++ b/lib/User/TriggerRecordsMeetSpecificConditionsAfterModificationCondition.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/lib/User/TriggerRowAdded.php b/lib/User/TriggerRowAdded.php index eeebb2bb..2360133e 100644 --- a/lib/User/TriggerRowAdded.php +++ b/lib/User/TriggerRowAdded.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -587,11 +587,11 @@ public function setWatchAllColumns($watch_all_columns) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -599,12 +599,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -629,11 +629,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/TriggerRowAddedCondition.php b/lib/User/TriggerRowAddedCondition.php index b43e9feb..6f5d8ea0 100644 --- a/lib/User/TriggerRowAddedCondition.php +++ b/lib/User/TriggerRowAddedCondition.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/lib/User/TriggerRunPeriodicallyByCondition.php b/lib/User/TriggerRunPeriodicallyByCondition.php index 546b8f26..6481c676 100644 --- a/lib/User/TriggerRunPeriodicallyByCondition.php +++ b/lib/User/TriggerRunPeriodicallyByCondition.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/lib/User/TriggerRunPeriodicallyCondition.php b/lib/User/TriggerRunPeriodicallyCondition.php index 0516687d..0a0684fe 100644 --- a/lib/User/TriggerRunPeriodicallyCondition.php +++ b/lib/User/TriggerRunPeriodicallyCondition.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/lib/User/TriggerRunPeriodicallyOnRecordsMeetPerDay.php b/lib/User/TriggerRunPeriodicallyOnRecordsMeetPerDay.php index 261e69ba..8a597ecd 100644 --- a/lib/User/TriggerRunPeriodicallyOnRecordsMeetPerDay.php +++ b/lib/User/TriggerRunPeriodicallyOnRecordsMeetPerDay.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -417,11 +417,11 @@ public function setActions($actions) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -429,12 +429,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -459,11 +459,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/TriggerRunPeriodicallyOnRecordsMeetPerDayTrigger.php b/lib/User/TriggerRunPeriodicallyOnRecordsMeetPerDayTrigger.php index 004368de..b3f85f7a 100644 --- a/lib/User/TriggerRunPeriodicallyOnRecordsMeetPerDayTrigger.php +++ b/lib/User/TriggerRunPeriodicallyOnRecordsMeetPerDayTrigger.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -555,11 +555,11 @@ public function setNotifyHour($notify_hour) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -567,12 +567,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -597,11 +597,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/TriggerRunPeriodicallyOnRecordsMeetPerMonth.php b/lib/User/TriggerRunPeriodicallyOnRecordsMeetPerMonth.php index 011c8f79..91c0ef22 100644 --- a/lib/User/TriggerRunPeriodicallyOnRecordsMeetPerMonth.php +++ b/lib/User/TriggerRunPeriodicallyOnRecordsMeetPerMonth.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -417,11 +417,11 @@ public function setActions($actions) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -429,12 +429,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -459,11 +459,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/TriggerRunPeriodicallyOnRecordsMeetPerMonthTrigger.php b/lib/User/TriggerRunPeriodicallyOnRecordsMeetPerMonthTrigger.php index a6120ade..ceed6ad5 100644 --- a/lib/User/TriggerRunPeriodicallyOnRecordsMeetPerMonthTrigger.php +++ b/lib/User/TriggerRunPeriodicallyOnRecordsMeetPerMonthTrigger.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -589,11 +589,11 @@ public function setNotifyMonthHour($notify_month_hour) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -601,12 +601,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -631,11 +631,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/TriggerRunPeriodicallyOnRecordsMeetPerWeek.php b/lib/User/TriggerRunPeriodicallyOnRecordsMeetPerWeek.php index 594180bc..c684175c 100644 --- a/lib/User/TriggerRunPeriodicallyOnRecordsMeetPerWeek.php +++ b/lib/User/TriggerRunPeriodicallyOnRecordsMeetPerWeek.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -417,11 +417,11 @@ public function setActions($actions) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -429,12 +429,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -459,11 +459,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/TriggerRunPeriodicallyOnRecordsMeetPerWeekTrigger.php b/lib/User/TriggerRunPeriodicallyOnRecordsMeetPerWeekTrigger.php index 67170476..d61527af 100644 --- a/lib/User/TriggerRunPeriodicallyOnRecordsMeetPerWeekTrigger.php +++ b/lib/User/TriggerRunPeriodicallyOnRecordsMeetPerWeekTrigger.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -589,11 +589,11 @@ public function setNotifyWeekHour($notify_week_hour) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -601,12 +601,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -631,11 +631,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/TriggerRunPeriodicallyPerDay.php b/lib/User/TriggerRunPeriodicallyPerDay.php index 517c5735..d83112c7 100644 --- a/lib/User/TriggerRunPeriodicallyPerDay.php +++ b/lib/User/TriggerRunPeriodicallyPerDay.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -417,11 +417,11 @@ public function setActions($actions) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -429,12 +429,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -459,11 +459,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/TriggerRunPeriodicallyPerDayTrigger.php b/lib/User/TriggerRunPeriodicallyPerDayTrigger.php index 42d0494e..01525ed5 100644 --- a/lib/User/TriggerRunPeriodicallyPerDayTrigger.php +++ b/lib/User/TriggerRunPeriodicallyPerDayTrigger.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -487,11 +487,11 @@ public function setNotifyHour($notify_hour) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -499,12 +499,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -529,11 +529,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/TriggerRunPeriodicallyPerMonth.php b/lib/User/TriggerRunPeriodicallyPerMonth.php index 77afe779..ddc12c86 100644 --- a/lib/User/TriggerRunPeriodicallyPerMonth.php +++ b/lib/User/TriggerRunPeriodicallyPerMonth.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -417,11 +417,11 @@ public function setActions($actions) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -429,12 +429,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -459,11 +459,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/TriggerRunPeriodicallyPerMonthTrigger.php b/lib/User/TriggerRunPeriodicallyPerMonthTrigger.php index de2e8a4f..015c75ec 100644 --- a/lib/User/TriggerRunPeriodicallyPerMonthTrigger.php +++ b/lib/User/TriggerRunPeriodicallyPerMonthTrigger.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -521,11 +521,11 @@ public function setNotifyMonthHour($notify_month_hour) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -533,12 +533,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -563,11 +563,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/TriggerRunPeriodicallyPerWeek.php b/lib/User/TriggerRunPeriodicallyPerWeek.php index 5416a6af..b9ef4b9f 100644 --- a/lib/User/TriggerRunPeriodicallyPerWeek.php +++ b/lib/User/TriggerRunPeriodicallyPerWeek.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -417,11 +417,11 @@ public function setActions($actions) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -429,12 +429,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -459,11 +459,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/TriggerRunPeriodicallyPerWeekTrigger.php b/lib/User/TriggerRunPeriodicallyPerWeekTrigger.php index 70737349..b739a0d3 100644 --- a/lib/User/TriggerRunPeriodicallyPerWeekTrigger.php +++ b/lib/User/TriggerRunPeriodicallyPerWeekTrigger.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -521,11 +521,11 @@ public function setNotifyWeekHour($notify_week_hour) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -533,12 +533,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -563,11 +563,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/UnsetPassword.php b/lib/User/UnsetPassword.php index 49b74960..d3997710 100644 --- a/lib/User/UnsetPassword.php +++ b/lib/User/UnsetPassword.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -417,11 +417,11 @@ public function setPassword($password) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -429,12 +429,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -459,11 +459,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/UpdateCommonDatasetSyncRequest.php b/lib/User/UpdateCommonDatasetSyncRequest.php index 70b77345..29e4d92c 100644 --- a/lib/User/UpdateCommonDatasetSyncRequest.php +++ b/lib/User/UpdateCommonDatasetSyncRequest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -385,11 +385,11 @@ public function setDstTableId($dst_table_id) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -397,12 +397,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -427,11 +427,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/UpdateGroupRequest.php b/lib/User/UpdateGroupRequest.php index fcf4fcf2..0e063ac3 100644 --- a/lib/User/UpdateGroupRequest.php +++ b/lib/User/UpdateGroupRequest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -351,11 +351,11 @@ public function setOwner($owner) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -363,12 +363,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -393,11 +393,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/UpdateGroupRoleRequest.php b/lib/User/UpdateGroupRoleRequest.php index 62ffe242..87179233 100644 --- a/lib/User/UpdateGroupRoleRequest.php +++ b/lib/User/UpdateGroupRoleRequest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -317,11 +317,11 @@ public function setIsAdmin($is_admin) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -329,12 +329,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -359,11 +359,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/UpdateNotificationRuleRequest.php b/lib/User/UpdateNotificationRuleRequest.php index 84ebce7c..1180fc61 100644 --- a/lib/User/UpdateNotificationRuleRequest.php +++ b/lib/User/UpdateNotificationRuleRequest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -385,11 +385,11 @@ public function setAction($action) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -397,12 +397,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -427,11 +427,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/UserApi.php b/lib/User/UserApi.php index 5c5368e1..8d2eeb73 100644 --- a/lib/User/UserApi.php +++ b/lib/User/UserApi.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -1757,6 +1757,14 @@ protected function createHttpClientOption() } } + if ($this->config->getCertFile()) { + $options[RequestOptions::CERT] = $this->config->getCertFile(); + } + + if ($this->config->getKeyFile()) { + $options[RequestOptions::SSL_KEY] = $this->config->getKeyFile(); + } + return $options; } diff --git a/lib/User/UsersInfo.php b/lib/User/UsersInfo.php index e4fc3bd3..f4df07c8 100644 --- a/lib/User/UsersInfo.php +++ b/lib/User/UsersInfo.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -351,11 +351,11 @@ public function setRoleId($role_id) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -363,12 +363,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -393,11 +393,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/WebhooksApi.php b/lib/User/WebhooksApi.php index d2eadd5b..de7cc299 100644 --- a/lib/User/WebhooksApi.php +++ b/lib/User/WebhooksApi.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -1421,6 +1421,14 @@ protected function createHttpClientOption() } } + if ($this->config->getCertFile()) { + $options[RequestOptions::CERT] = $this->config->getCertFile(); + } + + if ($this->config->getKeyFile()) { + $options[RequestOptions::SSL_KEY] = $this->config->getKeyFile(); + } + return $options; } diff --git a/lib/User/XDaysBeforeRunningTheTaskValue.php b/lib/User/XDaysBeforeRunningTheTaskValue.php index 73f73f3f..86c418a4 100644 --- a/lib/User/XDaysBeforeRunningTheTaskValue.php +++ b/lib/User/XDaysBeforeRunningTheTaskValue.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -449,11 +449,11 @@ public function setOffsetBy($offset_by) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -461,12 +461,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -491,11 +491,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/XxxExactDate.php b/lib/User/XxxExactDate.php index 7b491324..1a12bf41 100644 --- a/lib/User/XxxExactDate.php +++ b/lib/User/XxxExactDate.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -503,11 +503,11 @@ public function setFilterTermModifier($filter_term_modifier) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -515,12 +515,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -545,11 +545,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/XxxNumberOfDaysAgo.php b/lib/User/XxxNumberOfDaysAgo.php index bb99a282..30336516 100644 --- a/lib/User/XxxNumberOfDaysAgo.php +++ b/lib/User/XxxNumberOfDaysAgo.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -494,11 +494,11 @@ public function setFilterTermModifier($filter_term_modifier) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -506,12 +506,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -536,11 +536,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/XxxNumberOfDaysFromNow.php b/lib/User/XxxNumberOfDaysFromNow.php index 401f7d8b..df687976 100644 --- a/lib/User/XxxNumberOfDaysFromNow.php +++ b/lib/User/XxxNumberOfDaysFromNow.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -494,11 +494,11 @@ public function setFilterTermModifier($filter_term_modifier) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -506,12 +506,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -536,11 +536,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/XxxOneMonthAgo.php b/lib/User/XxxOneMonthAgo.php index 9c7820a9..b4c7c392 100644 --- a/lib/User/XxxOneMonthAgo.php +++ b/lib/User/XxxOneMonthAgo.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -494,11 +494,11 @@ public function setFilterTermModifier($filter_term_modifier) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -506,12 +506,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -536,11 +536,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/XxxOneMonthFromNow.php b/lib/User/XxxOneMonthFromNow.php index a6637e83..8a552661 100644 --- a/lib/User/XxxOneMonthFromNow.php +++ b/lib/User/XxxOneMonthFromNow.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -494,11 +494,11 @@ public function setFilterTermModifier($filter_term_modifier) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -506,12 +506,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -536,11 +536,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/XxxOneWeekAgo.php b/lib/User/XxxOneWeekAgo.php index b822a57c..69771e45 100644 --- a/lib/User/XxxOneWeekAgo.php +++ b/lib/User/XxxOneWeekAgo.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -494,11 +494,11 @@ public function setFilterTermModifier($filter_term_modifier) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -506,12 +506,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -536,11 +536,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/XxxOneWeekFromNow.php b/lib/User/XxxOneWeekFromNow.php index 34ceb52f..4074cb98 100644 --- a/lib/User/XxxOneWeekFromNow.php +++ b/lib/User/XxxOneWeekFromNow.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -494,11 +494,11 @@ public function setFilterTermModifier($filter_term_modifier) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -506,12 +506,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -536,11 +536,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/XxxToday.php b/lib/User/XxxToday.php index a5693086..41074b57 100644 --- a/lib/User/XxxToday.php +++ b/lib/User/XxxToday.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -494,11 +494,11 @@ public function setFilterTermModifier($filter_term_modifier) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -506,12 +506,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -536,11 +536,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/XxxTomorrow.php b/lib/User/XxxTomorrow.php index a1614366..163e5187 100644 --- a/lib/User/XxxTomorrow.php +++ b/lib/User/XxxTomorrow.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -494,11 +494,11 @@ public function setFilterTermModifier($filter_term_modifier) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -506,12 +506,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -536,11 +536,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/lib/User/XxxYesterday.php b/lib/User/XxxYesterday.php index 907b8f66..917bd104 100644 --- a/lib/User/XxxYesterday.php +++ b/lib/User/XxxYesterday.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -494,11 +494,11 @@ public function setFilterTermModifier($filter_term_modifier) /** * Returns true if offset exists. False otherwise. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return boolean */ - public function offsetExists($offset): bool + public function offsetExists(mixed $offset): bool { return isset($this->container[$offset]); } @@ -506,12 +506,12 @@ public function offsetExists($offset): bool /** * Gets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return mixed|null */ #[\ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet(mixed $offset) { return $this->container[$offset] ?? null; } @@ -536,11 +536,11 @@ public function offsetSet($offset, $value): void /** * Unsets offset. * - * @param integer $offset Offset + * @param integer|string $offset Offset * * @return void */ - public function offsetUnset($offset): void + public function offsetUnset(mixed $offset): void { unset($this->container[$offset]); } diff --git a/openapi_input/authentication.yaml b/openapi_input/authentication.yaml index 6dea57d5..b07d0ac5 100644 --- a/openapi_input/authentication.yaml +++ b/openapi_input/authentication.yaml @@ -3,7 +3,7 @@ info: title: Authentication description: >- The official SeaTable API Reference (OpenAPI 3.0). - version: "6.0" + version: "6.1" servers: - url: "https://{server}" variables: diff --git a/openapi_input/base_operations.yaml b/openapi_input/base_operations.yaml index f773e008..12d87954 100644 --- a/openapi_input/base_operations.yaml +++ b/openapi_input/base_operations.yaml @@ -3,7 +3,7 @@ info: title: Base Operations description: >- The official SeaTable API Reference (OpenAPI 3.0). - version: "6.0" + version: "6.1" servers: - url: "https://{server}" variables: diff --git a/openapi_input/file_operations.yaml b/openapi_input/file_operations.yaml index 481b7360..ff7a5ea0 100644 --- a/openapi_input/file_operations.yaml +++ b/openapi_input/file_operations.yaml @@ -3,7 +3,7 @@ info: title: File Operations description: >- The official SeaTable API Reference (OpenAPI 3.0). - version: "6.0" + version: "6.1" servers: - url: "https://{server}" variables: @@ -141,6 +141,7 @@ paths: example: upload_link: >- https://cloud.seafile.com/seafhttp/upload-api/83e701c8-84ba-498c-91b1-ddb3789edb7e + workspace_id: 42 parent_path: /asset/a275d870-fd55-48e4-8c4a-5fd6f2549765 img_relative_path: images/2021-08 file_relative_path: files/2021-08 @@ -361,6 +362,7 @@ paths: example: dirent: upload_link: "https://cloud.seatable.io/seafhttp/upload-api/e943a56a-c5b3-441a-ac1d-9199819dec71" + workspace_id: 42 parent_path: "/asset/1338f224-8482-4d71-b8be-63c8f37b896a/custom" relative_path": "/" /api/v2.1/dtable/custom/app-download-link/: diff --git a/openapi_input/python-scheduler.yaml b/openapi_input/python-scheduler.yaml index 66fb56f1..7fb008cc 100644 --- a/openapi_input/python-scheduler.yaml +++ b/openapi_input/python-scheduler.yaml @@ -3,7 +3,7 @@ info: title: Python Scheduler description: >- The official SeaTable API Reference (OpenAPI 3.0). - version: "6.0" + version: "6.1" servers: - url: "https://{server}" variables: diff --git a/openapi_input/system_admin_account_operations.yaml b/openapi_input/system_admin_account_operations.yaml index 99adad68..cc13dc2b 100644 --- a/openapi_input/system_admin_account_operations.yaml +++ b/openapi_input/system_admin_account_operations.yaml @@ -3,7 +3,7 @@ info: title: "Account Operations: System admin" description: >- The official SeaTable API Reference (OpenAPI 3.0). - version: "6.0" + version: "6.1" servers: - url: "https://{server}" variables: @@ -236,6 +236,23 @@ components: type: boolean example: "false" description: Set this to `true` to export the base without assets. Default is `false`. + group_by: + name: group_by + in: query + schema: + type: string + enum: [owner, org_id] + required: true + description: Query by owner or organization + example: "owner" + date_YYYY_MM_DD: + name: date + in: query + schema: + type: string + required: true + description: A date string in YYYY-MM-DD format + example: "2025-01-01" #=======================Path parameters=======================# base_uuid: @@ -338,7 +355,6 @@ components: in: path schema: type: string - pattern: ^[a-f0-9]{20}$ required: true example: "1f0447eab4df4343ab6d" form_token: @@ -468,6 +484,9 @@ components: asset_quota_mb: type: string description: The asset quota in MB. + monthly_automation_limit_per_user: + type: integer + description: Monthly limit on the number of automation rules per user. file: type: string format: binary @@ -808,6 +827,8 @@ paths: $ref: "#/components/schemas/quota_total" asset_quota_mb: $ref: "#/components/schemas/asset_quota_mb" + monthly_automation_limit_per_user: + $ref: "#/components/schemas/monthly_automation_limit_per_user" security: - AccountTokenAuth: [] parameters: @@ -834,6 +855,7 @@ paths: create_time: "2020-11-18T12:30:31+00:00" role: default update_status_tip: "" + monthly_automation_limit_per_user: 1000 delete: tags: - Users @@ -1969,6 +1991,8 @@ paths: $ref: "#/components/schemas/max_user_number" asset_quota_mb: $ref: "#/components/schemas/asset_quota_mb" + monthly_automation_limit_per_user: + $ref: "#/components/schemas/monthly_automation_limit_per_user" security: - AccountTokenAuth: [] parameters: @@ -1995,6 +2019,7 @@ paths: max_user_number: 3 rows_count: 7185 row_limit: -1 + monthly_automation_limit_per_user: 1000 get: tags: - Teams @@ -3729,8 +3754,7 @@ paths: operationId: addPlugin description: >- Add a plugin with a .zip file. This file could be retrieved from the - internet, for example, from the [SeaTable Plugins - Market](https://cloud.seatable.io/dtable/view-external-links/custom/plugins/). + internet, for example, from the [SeaTable Plugins Market](https://cloud.seatable.io/apps/custom/plugin-archive). requestBody: content: multipart/form-data: @@ -4096,6 +4120,51 @@ paths: latest_visit_at: "2022-07-02T14:09:37+00:00" org_name: SeaTable GmbH count: 1 + /api/v2.1/admin/statistics/ai/: + get: + tags: + - Statistics + summary: Get AI statistics by owner/team + operationId: getOwnerOrTeamAIStatistics + description: Get AI usage statistics monthly by owner/team. + security: + - AccountTokenAuth: [] + parameters: + - $ref: "#/components/parameters/group_by" + - $ref: "#/components/parameters/date_YYYY_MM_DD" + - $ref: "#/components/parameters/page" + - $ref: "#/components/parameters/per_page" + responses: + "200": + description: OK + content: + application/json: + schema: + type: object + examples: + group_by_owner: + summary: Query group by owner + value: + results: + - org_id: 176 + org_name: SeaTable + owner: 1@seafile_group + group_name: group-11 + total_cost: 0.25 + is_department_v2_group: false + - org_id: 176 + org_name: SeaTable + owner: d15ebe61bd684b868344498c73bdeac4@auth.local + nickname: test + count: 2 + group_by_team: + summary: Query group by organization + value: + results: + - org_id: 176 + org_name: SeaTable + total_cost: 0.25 + count: 1 # Maintenance /api/v2.1/admin/dtable/{base_uuid}/repair/: diff --git a/openapi_input/team_admin_account_operations.yaml b/openapi_input/team_admin_account_operations.yaml index a1e234b5..3fe2ecba 100644 --- a/openapi_input/team_admin_account_operations.yaml +++ b/openapi_input/team_admin_account_operations.yaml @@ -3,7 +3,7 @@ info: title: Account Operations - Team admin description: >- The official SeaTable API Reference (OpenAPI 3.0). - version: "6.0" + version: "6.1" servers: - url: "https://{server}" variables: @@ -30,6 +30,8 @@ tags: description: Retrieve team info and update team settings - name: Activities & Logs description: Retrieve team activities and logs + - name: Statistics + description: Retrieve statistics about system activities - name: Customizing description: Customize team appearance - name: SAML @@ -69,6 +71,14 @@ components: type: string description: Exact name or a part of the name of the base, case insensitive. example: "Example" + dtable_uuid: + name: dtable_uuid + in: query + schema: + type: string + pattern: '^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$' + description: The unique identifier of a base. + example: 5c264e76-0e5a-448a-9f34-580b551364ca ignore_asset: name: ignore_asset in: query @@ -76,6 +86,58 @@ components: type: boolean example: "false" description: Set this to `true` to export the base without assets. Default is `false`. + login_status: + name: status + in: query + schema: + type: string + enum: [success, failure] + example: success + description: Set this to `success` to only return successful logins. By default, all logins are returned. + start: + name: start + in: query + schema: + type: string + format: date-time + description: Start date in ISO format. + example: "2025-11-01T06:00:00+01:00" + required: false + end: + name: end + in: query + schema: + type: string + format: date-time + description: End date in ISO format. + example: "2025-11-30T18:00:00+01:00" + required: false + operation_group: + name: operation_group + in: query + schema: + type: string + enum: [user, group, base] + example: user + description: Filter by a specific operation group. By default, all operations are returned. + required: false + group_by: + name: group_by + in: query + schema: + type: string + enum: [owner, dtable_uuid] + required: true + description: Query by owner or Base + example: "owner" + date: + name: date + in: query + schema: + type: string + required: true + description: A date string in YYYY-MM-DD format + example: "2025-01-01" #=======================Path parameters=======================# org_id: @@ -111,7 +173,6 @@ components: in: path schema: type: string - pattern: "^[0-9a-f]{20}$" required: true example: "d6d006b319ca4d2aa060" view_external_link_token: @@ -119,7 +180,6 @@ components: in: path schema: type: string - pattern: "^[0-9a-f]{20}$" required: true example: "d6d006b319ca4d2aa060" invite_link_token: @@ -149,6 +209,14 @@ components: pattern: "^[a-f0-9]{32}(@auth.local)$" required: true example: 123456789f1e4c8d8e1c31415867317c@auth.local + app_name: + name: app_name + description: The name of your app. Every API-Token has a name to identify the purpose. The name of the app must be unique for every base. + in: path + schema: + type: string + required: true + example: "My App" schemas: team_admin_permission: @@ -406,6 +474,8 @@ paths: id_in_org: "" has_default_device: false is_force_2fa: true + is_active: true + is_org_admin: false put: tags: - Users @@ -637,6 +707,64 @@ paths: owner_deleted: false, rows_count: 20 count: 16 + /api/v2.1/org/{org_id}/admin/users/{user_id}/dtables/: + get: + tags: + - Bases + summary: List User's Bases + operationId: listUsersBases + description: List all the bases of a certain user by the user's ID. + security: + - AccountTokenAuth: [] + parameters: + - $ref: "#/components/parameters/org_id" + - $ref: "#/components/parameters/user_id" + - $ref: "#/components/parameters/page" + - $ref: "#/components/parameters/per_page" + responses: + "200": + description: OK + content: + application/json: + schema: + type: object + example: + dtable_list: + - id: 6 + workspace_id: 2 + uuid: 3c899a81-6a0c-4111-bb19-288ebf8442fd + name: CRM + created_at: '2025-11-28T14:16:30+01:00' + updated_at: '2025-11-28T14:17:04+01:00' + color: "#E91E63" + text_color: null + icon: icon-user-interview + is_encrypted: false + in_storage: true + org_id: 2 + email: e38487b4357e40c8b1359223ba87a1af@auth.local + group_id: -1 + owner: org-1-admin + owner_deleted: false + rows_count: 7 + - id: 7 + workspace_id: 2 + uuid: e97bb668-da36-484c-8ac9-8aa9e0564f4c + name: Finances + created_at: '2025-11-28T14:18:31+01:00' + updated_at: '2025-11-28T14:18:31+01:00' + color: "#00C9C7" + text_color: null + icon: icon-dollar + is_encrypted: false + in_storage: true + org_id: 2 + email: e38487b4357e40c8b1359223ba87a1af@auth.local + group_id: -1 + owner: org-1-admin + owner_deleted: false + rows_count: 0 + count: 2 /api/v2.1/org/{org_id}/admin/dtables/{base_uuid}/: get: tags: @@ -1221,8 +1349,170 @@ paths: application/json: schema: type: object + /api/v2.1/org/{org_id}/admin/dtables/{base_uuid}/api-tokens/: + get: + tags: + - Bases + summary: List API-Tokens + operationId: listApiTokens + description: List API tokens of a single base. + security: + - AccountTokenAuth: [] + parameters: + - $ref: "#/components/parameters/org_id" + - $ref: "#/components/parameters/base_uuid" + responses: + "200": + description: OK + content: + application/json: + schema: + type: object + example: + api_tokens: + - app_name: n8n + api_token: c1a7a416280ab3f9b0b632edbb58a69a771783f0 + generated_by: e38487b4357e40c8b1359223ba87a1af@auth.local + creator: user1 + avatar_url: https://cloud.seatable.io/media/avatars/default.png + generated_at: '2025-11-28T14:18:39+01:00' + last_access: '2025-11-28T14:18:39+01:00' + permission: rw + /api/v2.1/org/{org_id}/admin/dtables/{base_uuid}/api-tokens/{app_name}/: + delete: + tags: + - Bases + summary: Delete API-Token + operationId: deleteApiToken + description: Delete a specific API token from a base. The token is identified by its *app_name*. + security: + - AccountTokenAuth: [] + parameters: + - $ref: "#/components/parameters/org_id" + - $ref: "#/components/parameters/base_uuid" + - $ref: "#/components/parameters/app_name" + responses: + "200": + description: OK + content: + application/json: + schema: + type: object + example: + success: true + /api/v2.1/org/{org_id}/admin/api-tokens/: + get: + tags: + - Bases + summary: List API-Tokens of All Bases + operationId: listApiTokensOfAllBases + description: List API tokens of all bases inside the team/organization. + security: + - AccountTokenAuth: [] + parameters: + - $ref: "#/components/parameters/org_id" + - $ref: "#/components/parameters/page" + - $ref: "#/components/parameters/per_page" + responses: + "200": + description: OK + content: + application/json: + schema: + type: object + example: + api_tokens: + - app_name: n8n + api_token: c1a7a416280ab3f9b0b632edbb58a69a771783f0 + generated_by: e38487b4357e40c8b1359223ba87a1af@auth.local + creator: user1 + avatar_url: https://cloud.seatable.io/media/avatars/default.png + generated_at: '2025-11-28T14:18:39+01:00' + last_access: '2025-11-28T14:18:39+01:00' + permission: rw + dtable_uuid: 3c899a81-6a0c-4111-bb19-288ebf8442fd + dtable_name: CRM + dtable_icon: icon-user-interview + dtable_color: "#E91E63" + - app_name: API + api_token: 89913c6509062bbd24efe42a509cf9c5bb843018 + generated_by: e38487b4357e40c8b1359223ba87a1af@auth.local + creator: user1 + avatar_url: https://cloud.seatable.io/media/avatars/default.png + generated_at: '2025-11-28T14:18:54+01:00' + last_access: '2025-11-28T14:18:54+01:00' + permission: rw + dtable_uuid: e97bb668-da36-484c-8ac9-8aa9e0564f4c + dtable_name: Finances + dtable_icon: icon-dollar + dtable_color: "#00C9C7" + total_count: 2 # Sharing Links + /api/v2.1/org/{org_id}/admin/shares/: + get: + tags: + - Sharing Links + summary: List Shares + operationId: listShares + description: | + List all shares inside the given team/organization. + + This includes the following: + - Bases shared to individual users + - Bases shared to groups + - Views shared to individual users + - Views shared to groups + security: + - AccountTokenAuth: [] + parameters: + - $ref: "#/components/parameters/org_id" + responses: + "200": + description: OK + content: + application/json: + schema: + type: object + example: + dtable_user_shares: + - dtable_uuid: 3c899a81-6a0c-4111-bb19-288ebf8442fd + email: 97f45993fc174280b939976c9b9256eb@auth.local + name: org-1-user-1 + avatar_url: https://cloud.seatable.io/media/avatars/default.png + contact_email: org-1-user-1@seatable.io + permission: rw + share_id: 1 + dtable_group_shares: + - dtable_uuid: 3c899a81-6a0c-4111-bb19-288ebf8442fd + group_id: 1 + group_name: Marketing + permission: rw + share_id: 1 + view_user_shares: + - dtable_uuid: 3c899a81-6a0c-4111-bb19-288ebf8442fd + id: 1 + dtable_name: CRM + from_user: e38487b4357e40c8b1359223ba87a1af@auth.local + to_user: 97f45993fc174280b939976c9b9256eb@auth.local + permission: r + table_id: '0000' + view_id: '0000' + shared_name: User share + from_user_name: org-1-admin + to_user_name: org-1-user-1 + view_group_shares: + - dtable_uuid: 3c899a81-6a0c-4111-bb19-288ebf8442fd + id: 1 + dtable_name: CRM + from_user: e38487b4357e40c8b1359223ba87a1af@auth.local + to_group_id: 1 + permission: r + table_id: '0000' + view_id: '0000' + shared_name: Group share + from_user_name: org-1-admin + to_group_name: Marketing /api/v2.1/org/{org_id}/admin/external-links/: get: tags: @@ -1621,6 +1911,28 @@ paths: enable_force_2fa: true enable_new_user_email: true enable_external_user_access_invite_link: false + /api/v2.1/org/admin/: + delete: + tags: + - Info & Settings + summary: Delete Team + operationId: deleteTeam + description: >- + Delete a team (organization) with its ID. This will eliminate the team! + + However, this won't delete the team users - but all its members will + become team-less users in the system. + security: + - AccountTokenAuth: [] + responses: + "200": + description: OK + content: + application/json: + schema: + type: object + example: + success: true /api/v2.1/org/{org_id}/admin/admin-logs/: get: @@ -1635,6 +1947,9 @@ paths: - $ref: "#/components/parameters/page" - $ref: "#/components/parameters/per_page" - $ref: "#/components/parameters/org_id" + - $ref: "#/components/parameters/operation_group" + - $ref: "#/components/parameters/start" + - $ref: "#/components/parameters/end" responses: "200": description: OK @@ -1731,6 +2046,9 @@ paths: - $ref: "#/components/parameters/page" - $ref: "#/components/parameters/per_page" - $ref: "#/components/parameters/org_id" + - $ref: "#/components/parameters/login_status" + - $ref: "#/components/parameters/start" + - $ref: "#/components/parameters/end" responses: "200": description: OK @@ -1867,6 +2185,361 @@ paths: ], "count": 2 } + /api/v2.1/org/{org_id}/admin/automation-logs/: + get: + tags: + - Activities & Logs + summary: List Automation Logs + operationId: listAutomationLogs + description: Returns a list of automation logs inside a specific team. + security: + - AccountTokenAuth: [] + parameters: + - $ref: "#/components/parameters/org_id" + - $ref: "#/components/parameters/dtable_uuid" + - $ref: "#/components/parameters/start" + - $ref: "#/components/parameters/end" + - $ref: "#/components/parameters/page" + - $ref: "#/components/parameters/per_page" + responses: + "200": + description: OK + content: + application/json: + schema: + type: object + example: + logs: + - id: 43543 + rule_id: 454 + trigger_time: "2025-11-28T14:05:52+01:00" + run_condition: per_update + success: true + org_id: -1 + dtable_uuid: 8fc3fbc2-d8d2-4a23-965d-33cbf511d780 + owner: 314bd2ed8d9741b08852916907dc7dd5@auth.local + warnings: null + - id: 43544 + rule_id: 454 + trigger_time: "2025-11-28T14:05:55+01:00" + run_condition: per_update + success: true + org_id: -1 + dtable_uuid: 8fc3fbc2-d8d2-4a23-965d-33cbf511d780 + owner: 314bd2ed8d9741b08852916907dc7dd5@auth.local + warnings: null + total_count: 2 + /api/v2.1/org/{org_id}/admin/python-runs/: + get: + tags: + - Activities & Logs + summary: List Python Runs + operationId: listPythonRuns + description: Returns a list of python runs inside a specific team. + security: + - AccountTokenAuth: [] + parameters: + - $ref: "#/components/parameters/org_id" + - $ref: "#/components/parameters/dtable_uuid" + - $ref: "#/components/parameters/start" + - $ref: "#/components/parameters/end" + - $ref: "#/components/parameters/page" + - $ref: "#/components/parameters/per_page" + responses: + "200": + description: OK + content: + application/json: + schema: + type: object + example: + runs: + - dtable_uuid: 306acc83-5305-45b4-b34b-528f6f51d7b8 + finished_at: "2026-01-06T11:57:11+01:00" + id: 3, + operate_from: manualy + owner: 2a609b47d6254449a7f042a42ef02d09@auth.local + return_code: 0, + script_name: DDx0.py + started_at: "2026-01-06T11:57:10+01:00" + success: true + script_display_name: "Hello World" + - dtable_uuid: 149cd597-dcbc-4e2a-8344-91651a1b4853 + finished_at: "2026-01-06T12:11:18+01:00" + id: 4 + operate_from: manualy + owner: 2a609b47d6254449a7f042a42ef02d09@auth.local + return_code: 0 + script_name: O60m.py + started_at: "2026-01-06T12:11:18+01:00" + success: true + script_display_name: "Base 2 Script" + total_count: 2 + + # Statistics + /api/v2.1/org/{org_id}/admin/statistics/admin-logs/by-day/: + get: + tags: + - Statistics + summary: Admin Logs (by Day) + operationId: getAdminLogStatisticsByDay + description: Returns statistics about admin logs grouped by day. + security: + - AccountTokenAuth: [] + parameters: + - $ref: "#/components/parameters/org_id" + - $ref: "#/components/parameters/start" + - $ref: "#/components/parameters/end" + - $ref: "#/components/parameters/page" + - $ref: "#/components/parameters/per_page" + responses: + "200": + description: OK + content: + application/json: + schema: + type: object + example: + results: + - date: '2025-10-29' + number_of_operations: 2 + base_operations: 1 + group_operations: 0 + user_operations: 1 + - date: '2025-10-30' + number_of_operations: 5 + base_operations: 3 + group_operations: 1 + user_operations: 1 + - date: '2025-10-31' + number_of_operations: 2 + base_operations: 0 + group_operations: 1 + user_operations: 1 + total_count: 3 + /api/v2.1/org/{org_id}/admin/statistics/automation-logs/by-day/: + get: + tags: + - Statistics + summary: Automation Logs (by Day) + operationId: getAutomationLogStatisticsByDay + description: Returns statistics about automation logs grouped by day. + security: + - AccountTokenAuth: [] + parameters: + - $ref: "#/components/parameters/org_id" + - $ref: "#/components/parameters/dtable_uuid" + - $ref: "#/components/parameters/start" + - $ref: "#/components/parameters/end" + - $ref: "#/components/parameters/page" + - $ref: "#/components/parameters/per_page" + responses: + "200": + description: OK + content: + application/json: + schema: + type: object + example: + results: + - trigger_date: '2025-11-27' + number_of_executions: 10 + successful_executions: 9 + unsuccessful_executions: 1 + - trigger_date: '2025-11-28' + number_of_executions: 2 + successful_executions: 2 + unsuccessful_executions: 0 + total_count: 2 + /api/v2.1/org/{org_id}/admin/statistics/automation-logs/by-base/: + get: + tags: + - Statistics + summary: Automation Logs (by Base) + operationId: getAutomationLogStatisticsByBase + description: Returns statistics about automation logs grouped by base. + security: + - AccountTokenAuth: [] + parameters: + - $ref: "#/components/parameters/org_id" + - $ref: "#/components/parameters/start" + - $ref: "#/components/parameters/end" + - $ref: "#/components/parameters/page" + - $ref: "#/components/parameters/per_page" + responses: + "200": + description: OK + content: + application/json: + schema: + type: object + example: + results: + - dtable_uuid: 3c899a81-6a0c-4111-bb19-288ebf8442fd + number_of_executions: 2 + successful_executions: 2 + unsuccessful_executions: 0 + - dtable_uuid: e97bb668-da36-484c-8ac9-8aa9e0564f4c + number_of_executions: 5 + successful_executions: 4 + unsuccessful_executions: 1 + total_count: 2 + /api/v2.1/org/{org_id}/admin/statistics/login-logs/by-day/: + get: + tags: + - Statistics + summary: Login Logs (by Day) + operationId: getLoginLogStatisticsByDay + description: Returns statistics about login logs grouped by day. + security: + - AccountTokenAuth: [] + parameters: + - $ref: "#/components/parameters/org_id" + - $ref: "#/components/parameters/start" + - $ref: "#/components/parameters/end" + - $ref: "#/components/parameters/page" + - $ref: "#/components/parameters/per_page" + responses: + "200": + description: OK + content: + application/json: + schema: + type: object + example: + results: + - date: '2025-11-27' + number_of_attempts: 15 + successful_attempts: 14 + unsuccessful_attempts: 1 + - date: '2025-11-28' + number_of_attempts: 2 + successful_attempts: 1 + unsuccessful_attempts: 1 + total_count: 2 + /api/v2.1/org/{org_id}/admin/statistics/python-runs/by-day/: + get: + tags: + - Statistics + summary: Python Runs (by Day) + operationId: getPythonRunStatisticsByDay + description: Returns statistics about python runs grouped by day. + security: + - AccountTokenAuth: [] + parameters: + - $ref: "#/components/parameters/org_id" + - $ref: "#/components/parameters/dtable_uuid" + - $ref: "#/components/parameters/start" + - $ref: "#/components/parameters/end" + - $ref: "#/components/parameters/page" + - $ref: "#/components/parameters/per_page" + responses: + "200": + description: OK + content: + application/json: + schema: + type: object + example: + results: + - date: '2025-11-27' + number_of_runs: 8 + total_run_time: 5 + triggered_by_automation_rule: 0 + triggered_manually: 8 + successful_runs: 3 + unsuccessful_runs: 5 + - date: '2025-11-28' + number_of_runs: 4 + total_run_time: 22 + triggered_by_automation_rule: 0 + triggered_manually: 4 + successful_runs: 4 + unsuccessful_runs: 0 + total_count: 2 + /api/v2.1/org/{org_id}/admin/statistics/python-runs/by-base/: + get: + tags: + - Statistics + summary: Python Runs (by Base) + operationId: getPythonRunStatisticsByBase + description: Returns statistics about python runs grouped by base. + security: + - AccountTokenAuth: [] + parameters: + - $ref: "#/components/parameters/org_id" + - $ref: "#/components/parameters/start" + - $ref: "#/components/parameters/end" + - $ref: "#/components/parameters/page" + - $ref: "#/components/parameters/per_page" + responses: + "200": + description: OK + content: + application/json: + schema: + type: object + example: + results: + - base_uuid: 4202f7ad-3168-4bf4-b1e4-01aee6782f94 + number_of_runs: 8 + total_run_time: 5 + triggered_by_automation_rule: 0 + triggered_manually: 8 + successful_runs: 3 + unsuccessful_runs: 5 + - base_uuid: ca490121-cea3-4a04-8e25-ac72b03a61e0 + number_of_runs: 4 + total_run_time: 22 + triggered_by_automation_rule: 0 + triggered_manually: 4 + successful_runs: 4 + unsuccessful_runs: 0 + total_count: 2 + /api/v2.1/org/{org_id}/admin/statistics/ai/: + get: + tags: + - Statistics + summary: Get AI statistics by user/base + operationId: getUserOrBaseAIStatistics + description: Get AI usage statistics monthly by user/base. + security: + - AccountTokenAuth: [] + parameters: + - $ref: "#/components/parameters/group_by" + - $ref: "#/components/parameters/date" + - $ref: "#/components/parameters/page" + - $ref: "#/components/parameters/per_page" + - $ref: "#/components/parameters/org_id" + responses: + "200": + description: OK + content: + application/json: + schema: + type: object + examples: + group_by_owner: + summary: Query group by owner + value: + results: + - owner: 1@seafile_group + total_cost: 0.15 + group_name: group-11 + - owner: d15ebe61bd684b868344498c73bdeac4@auth.local + total_cost: 0.2 + nickname: test + count: 2 + group_by_base: + summary: Query group by base + value: + results: + - dtable_uuid: f0e6f53caee749b1a5eb65cb2991d6bb + owner: 1@seafile_group + total_cost: 0.04 + group_name: group-11 + count: 1 + /api/v2.1/org/{org_id}/admin/org-logo/: post: tags: diff --git a/openapi_input/user_account_operations.yaml b/openapi_input/user_account_operations.yaml index 718e446b..73770ef6 100644 --- a/openapi_input/user_account_operations.yaml +++ b/openapi_input/user_account_operations.yaml @@ -3,7 +3,7 @@ info: title: Account Operations - User description: >- The official SeaTable API Reference (OpenAPI 3.0). - version: "6.0" + version: "6.1" servers: - url: "https://{server}" variables: @@ -413,7 +413,6 @@ components: in: path schema: type: string - pattern: "^[0-9a-f]{20}$" required: true example: f234baec8ce44028978a invite_link_token: diff --git a/test/Api/APITokenApiTest.php b/test/Api/APITokenApiTest.php index 6bc60b16..a75ee2e4 100644 --- a/test/Api/APITokenApiTest.php +++ b/test/Api/APITokenApiTest.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Api/AccountTokenApiTest.php b/test/Api/AccountTokenApiTest.php index 088e4116..1649c44f 100644 --- a/test/Api/AccountTokenApiTest.php +++ b/test/Api/AccountTokenApiTest.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Api/ActivitiesLogsApiTest.php b/test/Api/ActivitiesLogsApiTest.php index 393daf48..dcb5222c 100644 --- a/test/Api/ActivitiesLogsApiTest.php +++ b/test/Api/ActivitiesLogsApiTest.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -70,6 +70,18 @@ public static function tearDownAfterClass(): void { } + /** + * Test case for listAutomationLogs + * + * List Automation Logs. + * + */ + public function testListAutomationLogs() + { + // TODO: implement + self::markTestIncomplete('Not implemented'); + } + /** * Test case for listFileAccessLogs * @@ -94,6 +106,18 @@ public function testListGroupMemberAuditLogs() self::markTestIncomplete('Not implemented'); } + /** + * Test case for listPythonRuns + * + * List Python Runs. + * + */ + public function testListPythonRuns() + { + // TODO: implement + self::markTestIncomplete('Not implemented'); + } + /** * Test case for listTeamLogins * diff --git a/test/Api/AppsApiTest.php b/test/Api/AppsApiTest.php index ec316df8..4f3665d6 100644 --- a/test/Api/AppsApiTest.php +++ b/test/Api/AppsApiTest.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Api/AttachmentApiTest.php b/test/Api/AttachmentApiTest.php index 2bce1b09..ba87395c 100644 --- a/test/Api/AttachmentApiTest.php +++ b/test/Api/AttachmentApiTest.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Api/AutomationsApiTest.php b/test/Api/AutomationsApiTest.php index 325bbad4..10212a93 100644 --- a/test/Api/AutomationsApiTest.php +++ b/test/Api/AutomationsApiTest.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Api/BaseInfoApiTest.php b/test/Api/BaseInfoApiTest.php index 0ea1ccde..cb230c4f 100644 --- a/test/Api/BaseInfoApiTest.php +++ b/test/Api/BaseInfoApiTest.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Api/BaseTokenApiTest.php b/test/Api/BaseTokenApiTest.php index fa795865..69e84128 100644 --- a/test/Api/BaseTokenApiTest.php +++ b/test/Api/BaseTokenApiTest.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Api/BasesApiTest.php b/test/Api/BasesApiTest.php index 20dbef0e..b8ef33cf 100644 --- a/test/Api/BasesApiTest.php +++ b/test/Api/BasesApiTest.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Api/BigDataApiTest.php b/test/Api/BigDataApiTest.php index 54be120c..b5a7e8c8 100644 --- a/test/Api/BigDataApiTest.php +++ b/test/Api/BigDataApiTest.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Api/ColumnsApiTest.php b/test/Api/ColumnsApiTest.php index 63bb737b..f162f00a 100644 --- a/test/Api/ColumnsApiTest.php +++ b/test/Api/ColumnsApiTest.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Api/CommonDatasetApiTest.php b/test/Api/CommonDatasetApiTest.php index 9f527e02..35d0be58 100644 --- a/test/Api/CommonDatasetApiTest.php +++ b/test/Api/CommonDatasetApiTest.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Api/CustomizingApiTest.php b/test/Api/CustomizingApiTest.php index 470e4d80..3c0b2671 100644 --- a/test/Api/CustomizingApiTest.php +++ b/test/Api/CustomizingApiTest.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Api/DepartmentsApiTest.php b/test/Api/DepartmentsApiTest.php index c8fb608f..322bdaca 100644 --- a/test/Api/DepartmentsApiTest.php +++ b/test/Api/DepartmentsApiTest.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Api/EmailAccountsApiTest.php b/test/Api/EmailAccountsApiTest.php index 3f17cb05..d780494d 100644 --- a/test/Api/EmailAccountsApiTest.php +++ b/test/Api/EmailAccountsApiTest.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Api/ExportApiTest.php b/test/Api/ExportApiTest.php index 5caa4d3c..063c53d4 100644 --- a/test/Api/ExportApiTest.php +++ b/test/Api/ExportApiTest.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Api/FilesImagesApiTest.php b/test/Api/FilesImagesApiTest.php index 89487dfa..97e6f016 100644 --- a/test/Api/FilesImagesApiTest.php +++ b/test/Api/FilesImagesApiTest.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Api/FilesImagesCustomFolderApiTest.php b/test/Api/FilesImagesCustomFolderApiTest.php index c268ea9b..60ca0c24 100644 --- a/test/Api/FilesImagesCustomFolderApiTest.php +++ b/test/Api/FilesImagesCustomFolderApiTest.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Api/FormsApiTest.php b/test/Api/FormsApiTest.php index 177f6cd7..7ffa6b0f 100644 --- a/test/Api/FormsApiTest.php +++ b/test/Api/FormsApiTest.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Api/GroupsApiTest.php b/test/Api/GroupsApiTest.php index 278bba33..be70c367 100644 --- a/test/Api/GroupsApiTest.php +++ b/test/Api/GroupsApiTest.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Api/GroupsWorkspacesApiTest.php b/test/Api/GroupsWorkspacesApiTest.php index 45f71457..71154ec7 100644 --- a/test/Api/GroupsWorkspacesApiTest.php +++ b/test/Api/GroupsWorkspacesApiTest.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Api/ImportExportApiTest.php b/test/Api/ImportExportApiTest.php index ab0a957b..94b16ce8 100644 --- a/test/Api/ImportExportApiTest.php +++ b/test/Api/ImportExportApiTest.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Api/InfoSettingsApiTest.php b/test/Api/InfoSettingsApiTest.php index e1822ad0..802a4bdd 100644 --- a/test/Api/InfoSettingsApiTest.php +++ b/test/Api/InfoSettingsApiTest.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -70,6 +70,18 @@ public static function tearDownAfterClass(): void { } + /** + * Test case for deleteTeam + * + * Delete Team. + * + */ + public function testDeleteTeam() + { + // TODO: implement + self::markTestIncomplete('Not implemented'); + } + /** * Test case for getTeamInfo * diff --git a/test/Api/LinksApiTest.php b/test/Api/LinksApiTest.php index 3d26a527..1072e34d 100644 --- a/test/Api/LinksApiTest.php +++ b/test/Api/LinksApiTest.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Api/LogsApiTest.php b/test/Api/LogsApiTest.php index 42c28ea7..449130bb 100644 --- a/test/Api/LogsApiTest.php +++ b/test/Api/LogsApiTest.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Api/MaintenanceApiTest.php b/test/Api/MaintenanceApiTest.php index 96b76a68..e00ec878 100644 --- a/test/Api/MaintenanceApiTest.php +++ b/test/Api/MaintenanceApiTest.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Api/NotificationsApiTest.php b/test/Api/NotificationsApiTest.php index fd6c9a1c..83247b49 100644 --- a/test/Api/NotificationsApiTest.php +++ b/test/Api/NotificationsApiTest.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Api/PluginsApiTest.php b/test/Api/PluginsApiTest.php index 15d00020..c0ec78db 100644 --- a/test/Api/PluginsApiTest.php +++ b/test/Api/PluginsApiTest.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Api/RowCommentsApiTest.php b/test/Api/RowCommentsApiTest.php index 3d0c341c..cf6e289c 100644 --- a/test/Api/RowCommentsApiTest.php +++ b/test/Api/RowCommentsApiTest.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Api/RowsApiTest.php b/test/Api/RowsApiTest.php index 11c927a8..92f803a8 100644 --- a/test/Api/RowsApiTest.php +++ b/test/Api/RowsApiTest.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Api/RunsApiTest.php b/test/Api/RunsApiTest.php index 332400af..178691a9 100644 --- a/test/Api/RunsApiTest.php +++ b/test/Api/RunsApiTest.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Api/SAMLApiTest.php b/test/Api/SAMLApiTest.php index 69cf94cb..a6e2ee6e 100644 --- a/test/Api/SAMLApiTest.php +++ b/test/Api/SAMLApiTest.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Api/SharingApiTest.php b/test/Api/SharingApiTest.php index e08dbcbf..343bd4e8 100644 --- a/test/Api/SharingApiTest.php +++ b/test/Api/SharingApiTest.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Api/SharingLinksApiTest.php b/test/Api/SharingLinksApiTest.php index 3fb61566..6308b3c4 100644 --- a/test/Api/SharingLinksApiTest.php +++ b/test/Api/SharingLinksApiTest.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Api/SnapshotsApiTest.php b/test/Api/SnapshotsApiTest.php index 078bd520..d66c6fd0 100644 --- a/test/Api/SnapshotsApiTest.php +++ b/test/Api/SnapshotsApiTest.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Api/StatisticsApiTest.php b/test/Api/StatisticsApiTest.php index c6ac8202..33fa4c70 100644 --- a/test/Api/StatisticsApiTest.php +++ b/test/Api/StatisticsApiTest.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -106,6 +106,18 @@ public function testGetExternalApps() self::markTestIncomplete('Not implemented'); } + /** + * Test case for getOwnerOrTeamAIStatistics + * + * Get AI statistics by owner/team. + * + */ + public function testGetOwnerOrTeamAIStatistics() + { + // TODO: implement + self::markTestIncomplete('Not implemented'); + } + /** * Test case for getScriptRunningCountByUser * diff --git a/test/Api/SystemInfoCustomizingApiTest.php b/test/Api/SystemInfoCustomizingApiTest.php index 82d7405a..73f9968d 100644 --- a/test/Api/SystemInfoCustomizingApiTest.php +++ b/test/Api/SystemInfoCustomizingApiTest.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Api/SystemNotificationsApiTest.php b/test/Api/SystemNotificationsApiTest.php index b4c93f89..082cf2ca 100644 --- a/test/Api/SystemNotificationsApiTest.php +++ b/test/Api/SystemNotificationsApiTest.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Api/TablesApiTest.php b/test/Api/TablesApiTest.php index 009c86df..a33032f2 100644 --- a/test/Api/TablesApiTest.php +++ b/test/Api/TablesApiTest.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Api/TeamsApiTest.php b/test/Api/TeamsApiTest.php index 041a3254..b139a909 100644 --- a/test/Api/TeamsApiTest.php +++ b/test/Api/TeamsApiTest.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Api/UserApiTest.php b/test/Api/UserApiTest.php index 5c8c3647..68fdf007 100644 --- a/test/Api/UserApiTest.php +++ b/test/Api/UserApiTest.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Api/UsersApiTest.php b/test/Api/UsersApiTest.php index 17708531..3d765912 100644 --- a/test/Api/UsersApiTest.php +++ b/test/Api/UsersApiTest.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Api/ViewsApiTest.php b/test/Api/ViewsApiTest.php index 56ef0116..8a79b24c 100644 --- a/test/Api/ViewsApiTest.php +++ b/test/Api/ViewsApiTest.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Api/WebhooksApiTest.php b/test/Api/WebhooksApiTest.php index 399b3efb..8fdf6cbf 100644 --- a/test/Api/WebhooksApiTest.php +++ b/test/Api/WebhooksApiTest.php @@ -14,7 +14,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/AccessTokenTest.php b/test/Model/AccessTokenTest.php index a471964b..669f29b5 100644 --- a/test/Model/AccessTokenTest.php +++ b/test/Model/AccessTokenTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/AccountTokenTest.php b/test/Model/AccountTokenTest.php index e6996d01..7ae93f86 100644 --- a/test/Model/AccountTokenTest.php +++ b/test/Model/AccountTokenTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/ActionAddRecordTest.php b/test/Model/ActionAddRecordTest.php index e064d0b3..5d22951b 100644 --- a/test/Model/ActionAddRecordTest.php +++ b/test/Model/ActionAddRecordTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/ActionAddRecordToOtherTableRowTest.php b/test/Model/ActionAddRecordToOtherTableRowTest.php index 6d0bafe0..88e7e932 100644 --- a/test/Model/ActionAddRecordToOtherTableRowTest.php +++ b/test/Model/ActionAddRecordToOtherTableRowTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/ActionAddRecordToOtherTableTest.php b/test/Model/ActionAddRecordToOtherTableTest.php index 115523d3..022c5796 100644 --- a/test/Model/ActionAddRecordToOtherTableTest.php +++ b/test/Model/ActionAddRecordToOtherTableTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/ActionCalculateAccumulatedValueTest.php b/test/Model/ActionCalculateAccumulatedValueTest.php index 54a5eb0e..b8181586 100644 --- a/test/Model/ActionCalculateAccumulatedValueTest.php +++ b/test/Model/ActionCalculateAccumulatedValueTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/ActionCalculateDeltaTest.php b/test/Model/ActionCalculateDeltaTest.php index af3d61ef..91cadeb8 100644 --- a/test/Model/ActionCalculateDeltaTest.php +++ b/test/Model/ActionCalculateDeltaTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/ActionCalculatePercentageTest.php b/test/Model/ActionCalculatePercentageTest.php index 5fd73e8e..86b58a9b 100644 --- a/test/Model/ActionCalculatePercentageTest.php +++ b/test/Model/ActionCalculatePercentageTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/ActionCalculateRankTest.php b/test/Model/ActionCalculateRankTest.php index f086f844..5beaae6b 100644 --- a/test/Model/ActionCalculateRankTest.php +++ b/test/Model/ActionCalculateRankTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/ActionExtractUserNameTest.php b/test/Model/ActionExtractUserNameTest.php index 3cca6989..65122399 100644 --- a/test/Model/ActionExtractUserNameTest.php +++ b/test/Model/ActionExtractUserNameTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/ActionLinkRecordMatchConditionsInnerTest.php b/test/Model/ActionLinkRecordMatchConditionsInnerTest.php index 6e61667c..27f7b794 100644 --- a/test/Model/ActionLinkRecordMatchConditionsInnerTest.php +++ b/test/Model/ActionLinkRecordMatchConditionsInnerTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/ActionLinkRecordTest.php b/test/Model/ActionLinkRecordTest.php index 9d3457b1..549dd316 100644 --- a/test/Model/ActionLinkRecordTest.php +++ b/test/Model/ActionLinkRecordTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/ActionLockRecordTest.php b/test/Model/ActionLockRecordTest.php index fc365cba..518a0bda 100644 --- a/test/Model/ActionLockRecordTest.php +++ b/test/Model/ActionLockRecordTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/ActionLookupAndCopyEqualColumnConditionsInnerTest.php b/test/Model/ActionLookupAndCopyEqualColumnConditionsInnerTest.php index 27b08bbd..ca42be5f 100644 --- a/test/Model/ActionLookupAndCopyEqualColumnConditionsInnerTest.php +++ b/test/Model/ActionLookupAndCopyEqualColumnConditionsInnerTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/ActionLookupAndCopyTableConditionTest.php b/test/Model/ActionLookupAndCopyTableConditionTest.php index 4a9c585a..cd7de808 100644 --- a/test/Model/ActionLookupAndCopyTableConditionTest.php +++ b/test/Model/ActionLookupAndCopyTableConditionTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/ActionLookupAndCopyTest.php b/test/Model/ActionLookupAndCopyTest.php index c500e3f1..602611c0 100644 --- a/test/Model/ActionLookupAndCopyTest.php +++ b/test/Model/ActionLookupAndCopyTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/ActionNotifyTest.php b/test/Model/ActionNotifyTest.php index f07b415b..47729b41 100644 --- a/test/Model/ActionNotifyTest.php +++ b/test/Model/ActionNotifyTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/ActionRecordsMeetSpecificConditionsAfterModificationInnerTest.php b/test/Model/ActionRecordsMeetSpecificConditionsAfterModificationInnerTest.php index 0ee26c2c..ae5e6950 100644 --- a/test/Model/ActionRecordsMeetSpecificConditionsAfterModificationInnerTest.php +++ b/test/Model/ActionRecordsMeetSpecificConditionsAfterModificationInnerTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/ActionRunPeriodicallyInnerTest.php b/test/Model/ActionRunPeriodicallyInnerTest.php index 12cb3c7c..0a7d6e35 100644 --- a/test/Model/ActionRunPeriodicallyInnerTest.php +++ b/test/Model/ActionRunPeriodicallyInnerTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/ActionRunPeriodicallyOnRecordsInnerTest.php b/test/Model/ActionRunPeriodicallyOnRecordsInnerTest.php index 47dfff68..c766d79a 100644 --- a/test/Model/ActionRunPeriodicallyOnRecordsInnerTest.php +++ b/test/Model/ActionRunPeriodicallyOnRecordsInnerTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/ActionRunPythonScriptTest.php b/test/Model/ActionRunPythonScriptTest.php index 8b2a2149..397422d4 100644 --- a/test/Model/ActionRunPythonScriptTest.php +++ b/test/Model/ActionRunPythonScriptTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/ActionSendEmailTest.php b/test/Model/ActionSendEmailTest.php index 6fe98f9b..2c8acd9e 100644 --- a/test/Model/ActionSendEmailTest.php +++ b/test/Model/ActionSendEmailTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/ActionTest.php b/test/Model/ActionTest.php index 454750e4..4126ee47 100644 --- a/test/Model/ActionTest.php +++ b/test/Model/ActionTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/ActionUpdateRecordTest.php b/test/Model/ActionUpdateRecordTest.php index 41a3784c..7bfca7de 100644 --- a/test/Model/ActionUpdateRecordTest.php +++ b/test/Model/ActionUpdateRecordTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/AddDepartmentRequestTest.php b/test/Model/AddDepartmentRequestTest.php index 70fdfca7..8a7efe70 100644 --- a/test/Model/AddDepartmentRequestTest.php +++ b/test/Model/AddDepartmentRequestTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/AddEmailAccountRequestTest.php b/test/Model/AddEmailAccountRequestTest.php index e2580029..a57079ea 100644 --- a/test/Model/AddEmailAccountRequestTest.php +++ b/test/Model/AddEmailAccountRequestTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/AddGroupMemberRequestTest.php b/test/Model/AddGroupMemberRequestTest.php index 028161a9..40f23f71 100644 --- a/test/Model/AddGroupMemberRequestTest.php +++ b/test/Model/AddGroupMemberRequestTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/AddNewUserRequestTest.php b/test/Model/AddNewUserRequestTest.php index a80f56c3..7851187c 100644 --- a/test/Model/AddNewUserRequestTest.php +++ b/test/Model/AddNewUserRequestTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/AddNotificationRuleRequestActionTest.php b/test/Model/AddNotificationRuleRequestActionTest.php index 951d4af1..bcefef8c 100644 --- a/test/Model/AddNotificationRuleRequestActionTest.php +++ b/test/Model/AddNotificationRuleRequestActionTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/AddNotificationRuleRequestTest.php b/test/Model/AddNotificationRuleRequestTest.php index 17abf486..2d33ba24 100644 --- a/test/Model/AddNotificationRuleRequestTest.php +++ b/test/Model/AddNotificationRuleRequestTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/AddNotificationRuleRequestTriggerTest.php b/test/Model/AddNotificationRuleRequestTriggerTest.php index e95eb676..435fd219 100644 --- a/test/Model/AddNotificationRuleRequestTriggerTest.php +++ b/test/Model/AddNotificationRuleRequestTriggerTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/AddNotificationToUserRequestTest.php b/test/Model/AddNotificationToUserRequestTest.php index a63da9ee..3cfd4d75 100644 --- a/test/Model/AddNotificationToUserRequestTest.php +++ b/test/Model/AddNotificationToUserRequestTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/AddPasswordTest.php b/test/Model/AddPasswordTest.php index 7e0a3c32..71fb72e9 100644 --- a/test/Model/AddPasswordTest.php +++ b/test/Model/AddPasswordTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/AddRecordToOtherTableRowDateTest.php b/test/Model/AddRecordToOtherTableRowDateTest.php index be038b24..346f67a6 100644 --- a/test/Model/AddRecordToOtherTableRowDateTest.php +++ b/test/Model/AddRecordToOtherTableRowDateTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/AddRecordToOtherTableRowDateTimeTest.php b/test/Model/AddRecordToOtherTableRowDateTimeTest.php index b3586d6f..9215fc60 100644 --- a/test/Model/AddRecordToOtherTableRowDateTimeTest.php +++ b/test/Model/AddRecordToOtherTableRowDateTimeTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/AddSingleMultipleSelectOptionsOptionsInnerTest.php b/test/Model/AddSingleMultipleSelectOptionsOptionsInnerTest.php index 88b2b6d5..f73e2464 100644 --- a/test/Model/AddSingleMultipleSelectOptionsOptionsInnerTest.php +++ b/test/Model/AddSingleMultipleSelectOptionsOptionsInnerTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/AddSingleMultipleSelectOptionsTest.php b/test/Model/AddSingleMultipleSelectOptionsTest.php index 79c0ebe7..7d6f47be 100644 --- a/test/Model/AddSingleMultipleSelectOptionsTest.php +++ b/test/Model/AddSingleMultipleSelectOptionsTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/AddTeamRequestTest.php b/test/Model/AddTeamRequestTest.php index 4aca1b5f..7ef33fd2 100644 --- a/test/Model/AddTeamRequestTest.php +++ b/test/Model/AddTeamRequestTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/ApiTokenListTest.php b/test/Model/ApiTokenListTest.php index b79d6764..60178e1f 100644 --- a/test/Model/ApiTokenListTest.php +++ b/test/Model/ApiTokenListTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/ApiTokenTemporaryTest.php b/test/Model/ApiTokenTemporaryTest.php index c7276ead..2fccd3aa 100644 --- a/test/Model/ApiTokenTemporaryTest.php +++ b/test/Model/ApiTokenTemporaryTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/ApiTokenTest.php b/test/Model/ApiTokenTest.php index f5d04950..b080721d 100644 --- a/test/Model/ApiTokenTest.php +++ b/test/Model/ApiTokenTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/AppendColumnsRequestColumnsInnerTest.php b/test/Model/AppendColumnsRequestColumnsInnerTest.php index 16dcd3be..ea451bd0 100644 --- a/test/Model/AppendColumnsRequestColumnsInnerTest.php +++ b/test/Model/AppendColumnsRequestColumnsInnerTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/AppendColumnsRequestTest.php b/test/Model/AppendColumnsRequestTest.php index c76ffcf1..4bb108e1 100644 --- a/test/Model/AppendColumnsRequestTest.php +++ b/test/Model/AppendColumnsRequestTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/AppendRowTest.php b/test/Model/AppendRowTest.php index 29b50947..aed306a2 100644 --- a/test/Model/AppendRowTest.php +++ b/test/Model/AppendRowTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/AppendRowsTest.php b/test/Model/AppendRowsTest.php index 5957ea06..17c0817e 100644 --- a/test/Model/AppendRowsTest.php +++ b/test/Model/AppendRowsTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/ArchiveViewTest.php b/test/Model/ArchiveViewTest.php index 22a14260..cdebdc9b 100644 --- a/test/Model/ArchiveViewTest.php +++ b/test/Model/ArchiveViewTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/AuthenticationPermissionTest.php b/test/Model/AuthenticationPermissionTest.php index 2b0ae848..34530feb 100644 --- a/test/Model/AuthenticationPermissionTest.php +++ b/test/Model/AuthenticationPermissionTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/AutomaticFilterPredicateTest.php b/test/Model/AutomaticFilterPredicateTest.php index b3d46ec6..2676c5ed 100644 --- a/test/Model/AutomaticFilterPredicateTest.php +++ b/test/Model/AutomaticFilterPredicateTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/AutonumberColumnFormatTest.php b/test/Model/AutonumberColumnFormatTest.php index 86e54cfa..17756cfd 100644 --- a/test/Model/AutonumberColumnFormatTest.php +++ b/test/Model/AutonumberColumnFormatTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/AutonumberColumnTest.php b/test/Model/AutonumberColumnTest.php index 4ddcb644..ad9fa16e 100644 --- a/test/Model/AutonumberColumnTest.php +++ b/test/Model/AutonumberColumnTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/AutonumberColumnWithTableNameTest.php b/test/Model/AutonumberColumnWithTableNameTest.php index 61b73e19..7698b7f5 100644 --- a/test/Model/AutonumberColumnWithTableNameTest.php +++ b/test/Model/AutonumberColumnWithTableNameTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/BasePasswordRequestTest.php b/test/Model/BasePasswordRequestTest.php index 4cc590b6..a1b839ac 100644 --- a/test/Model/BasePasswordRequestTest.php +++ b/test/Model/BasePasswordRequestTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/BaseTableTest.php b/test/Model/BaseTableTest.php index 1df958b5..13fee945 100644 --- a/test/Model/BaseTableTest.php +++ b/test/Model/BaseTableTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/BaseTest.php b/test/Model/BaseTest.php index 85776c29..8e4574ae 100644 --- a/test/Model/BaseTest.php +++ b/test/Model/BaseTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/ButtonColumnFormatSelectedColumnsInnerTest.php b/test/Model/ButtonColumnFormatSelectedColumnsInnerTest.php index f17dc91f..3acbdea1 100644 --- a/test/Model/ButtonColumnFormatSelectedColumnsInnerTest.php +++ b/test/Model/ButtonColumnFormatSelectedColumnsInnerTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/ButtonColumnFormatTest.php b/test/Model/ButtonColumnFormatTest.php index 93896156..b619892f 100644 --- a/test/Model/ButtonColumnFormatTest.php +++ b/test/Model/ButtonColumnFormatTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/ButtonColumnTest.php b/test/Model/ButtonColumnTest.php index 04eed56f..71a55229 100644 --- a/test/Model/ButtonColumnTest.php +++ b/test/Model/ButtonColumnTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/ButtonColumnWithTableNameTest.php b/test/Model/ButtonColumnWithTableNameTest.php index 70b3545c..a1a1045b 100644 --- a/test/Model/ButtonColumnWithTableNameTest.php +++ b/test/Model/ButtonColumnWithTableNameTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/CheckboxColumnTest.php b/test/Model/CheckboxColumnTest.php index e33690c1..736e1054 100644 --- a/test/Model/CheckboxColumnTest.php +++ b/test/Model/CheckboxColumnTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/CheckboxColumnWithTableNameTest.php b/test/Model/CheckboxColumnWithTableNameTest.php index 35ab78f3..71fb19dd 100644 --- a/test/Model/CheckboxColumnWithTableNameTest.php +++ b/test/Model/CheckboxColumnWithTableNameTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/CheckboxFilterPredicateTest.php b/test/Model/CheckboxFilterPredicateTest.php index e7af8d60..3cfdbfd9 100644 --- a/test/Model/CheckboxFilterPredicateTest.php +++ b/test/Model/CheckboxFilterPredicateTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/ChooseADateColumnValueTest.php b/test/Model/ChooseADateColumnValueTest.php index 6dcafc17..4d7bdc07 100644 --- a/test/Model/ChooseADateColumnValueTest.php +++ b/test/Model/ChooseADateColumnValueTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/CollaboratorColumnTest.php b/test/Model/CollaboratorColumnTest.php index 958e9724..690eee0b 100644 --- a/test/Model/CollaboratorColumnTest.php +++ b/test/Model/CollaboratorColumnTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/CollaboratorColumnWithTableNameTest.php b/test/Model/CollaboratorColumnWithTableNameTest.php index f401d1ce..18b6885e 100644 --- a/test/Model/CollaboratorColumnWithTableNameTest.php +++ b/test/Model/CollaboratorColumnWithTableNameTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/CollaboratorFilterPredicateTest.php b/test/Model/CollaboratorFilterPredicateTest.php index e4747783..dfdce39f 100644 --- a/test/Model/CollaboratorFilterPredicateTest.php +++ b/test/Model/CollaboratorFilterPredicateTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/ContainsFilterTermTest.php b/test/Model/ContainsFilterTermTest.php index 59d961ba..7ef97ad6 100644 --- a/test/Model/ContainsFilterTermTest.php +++ b/test/Model/ContainsFilterTermTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/ContainsTest.php b/test/Model/ContainsTest.php index 66fb26a0..a626a4d1 100644 --- a/test/Model/ContainsTest.php +++ b/test/Model/ContainsTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/CreateAutomationRuleRequestTest.php b/test/Model/CreateAutomationRuleRequestTest.php index c54e46ce..ca15d8e6 100644 --- a/test/Model/CreateAutomationRuleRequestTest.php +++ b/test/Model/CreateAutomationRuleRequestTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/CreateGroupRequestTest.php b/test/Model/CreateGroupRequestTest.php index 3b3125b7..e4812264 100644 --- a/test/Model/CreateGroupRequestTest.php +++ b/test/Model/CreateGroupRequestTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/CreateRowCommentTest.php b/test/Model/CreateRowCommentTest.php index ebf839cf..fee84934 100644 --- a/test/Model/CreateRowCommentTest.php +++ b/test/Model/CreateRowCommentTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/CreateTableRequestColumnsInnerTest.php b/test/Model/CreateTableRequestColumnsInnerTest.php index 1c8e8cad..5295e1b5 100644 --- a/test/Model/CreateTableRequestColumnsInnerTest.php +++ b/test/Model/CreateTableRequestColumnsInnerTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/CreateTableRequestTest.php b/test/Model/CreateTableRequestTest.php index c22fd27a..a9e30581 100644 --- a/test/Model/CreateTableRequestTest.php +++ b/test/Model/CreateTableRequestTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/CreatorColumnTest.php b/test/Model/CreatorColumnTest.php index 2a80ee43..c1c3e2fb 100644 --- a/test/Model/CreatorColumnTest.php +++ b/test/Model/CreatorColumnTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/CreatorColumnWithTableNameTest.php b/test/Model/CreatorColumnWithTableNameTest.php index 3b3a26c1..0f04583f 100644 --- a/test/Model/CreatorColumnWithTableNameTest.php +++ b/test/Model/CreatorColumnWithTableNameTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/CreatorFilterPredicateTest.php b/test/Model/CreatorFilterPredicateTest.php index 8114ab47..2ab28a9b 100644 --- a/test/Model/CreatorFilterPredicateTest.php +++ b/test/Model/CreatorFilterPredicateTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/CtimeColumnTest.php b/test/Model/CtimeColumnTest.php index e150c7dd..e552f876 100644 --- a/test/Model/CtimeColumnTest.php +++ b/test/Model/CtimeColumnTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/CtimeColumnWithTableNameTest.php b/test/Model/CtimeColumnWithTableNameTest.php index 5c8b453f..2c1c5e54 100644 --- a/test/Model/CtimeColumnWithTableNameTest.php +++ b/test/Model/CtimeColumnWithTableNameTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/DateColumnFormatTest.php b/test/Model/DateColumnFormatTest.php index 4e6e49fc..3f2d1822 100644 --- a/test/Model/DateColumnFormatTest.php +++ b/test/Model/DateColumnFormatTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/DateColumnTest.php b/test/Model/DateColumnTest.php index a770b647..fbd9fe3b 100644 --- a/test/Model/DateColumnTest.php +++ b/test/Model/DateColumnTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/DateColumnWithTableNameTest.php b/test/Model/DateColumnWithTableNameTest.php index 2f50c52a..ad8b2caa 100644 --- a/test/Model/DateColumnWithTableNameTest.php +++ b/test/Model/DateColumnWithTableNameTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/DateFilterPredicateTest.php b/test/Model/DateFilterPredicateTest.php index eaf106d8..b79187c9 100644 --- a/test/Model/DateFilterPredicateTest.php +++ b/test/Model/DateFilterPredicateTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/DateFilterTermModifierTest.php b/test/Model/DateFilterTermModifierTest.php index 701ce515..32f27a4f 100644 --- a/test/Model/DateFilterTermModifierTest.php +++ b/test/Model/DateFilterTermModifierTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/DeleteColumnTest.php b/test/Model/DeleteColumnTest.php index 9bf85870..5bc8f8aa 100644 --- a/test/Model/DeleteColumnTest.php +++ b/test/Model/DeleteColumnTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/DeleteRowTest.php b/test/Model/DeleteRowTest.php index bf152754..1a67fda8 100644 --- a/test/Model/DeleteRowTest.php +++ b/test/Model/DeleteRowTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/DeleteRowsTest.php b/test/Model/DeleteRowsTest.php index 2eb5f21c..e5ab4211 100644 --- a/test/Model/DeleteRowsTest.php +++ b/test/Model/DeleteRowsTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/DeleteSelectOptionsTest.php b/test/Model/DeleteSelectOptionsTest.php index 0f2d2f04..d575b926 100644 --- a/test/Model/DeleteSelectOptionsTest.php +++ b/test/Model/DeleteSelectOptionsTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/DeleteTableTest.php b/test/Model/DeleteTableTest.php index 2362e0e0..ba2d934c 100644 --- a/test/Model/DeleteTableTest.php +++ b/test/Model/DeleteTableTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/DetailTest.php b/test/Model/DetailTest.php index 3f8119a8..b25713ea 100644 --- a/test/Model/DetailTest.php +++ b/test/Model/DetailTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/DoesNotContainTest.php b/test/Model/DoesNotContainTest.php index 082177dc..f126cfe7 100644 --- a/test/Model/DoesNotContainTest.php +++ b/test/Model/DoesNotContainTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/DuplicateTableTest.php b/test/Model/DuplicateTableTest.php index c4100a3c..2f531676 100644 --- a/test/Model/DuplicateTableTest.php +++ b/test/Model/DuplicateTableTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/DurationColumnFormatTest.php b/test/Model/DurationColumnFormatTest.php index 5df86cee..244adf84 100644 --- a/test/Model/DurationColumnFormatTest.php +++ b/test/Model/DurationColumnFormatTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/DurationColumnTest.php b/test/Model/DurationColumnTest.php index cfe26824..7a060f39 100644 --- a/test/Model/DurationColumnTest.php +++ b/test/Model/DurationColumnTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/DurationColumnWithTableNameTest.php b/test/Model/DurationColumnWithTableNameTest.php index c1a6240a..dfaf970f 100644 --- a/test/Model/DurationColumnWithTableNameTest.php +++ b/test/Model/DurationColumnWithTableNameTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/EmailColumnTest.php b/test/Model/EmailColumnTest.php index f44198fc..025b9691 100644 --- a/test/Model/EmailColumnTest.php +++ b/test/Model/EmailColumnTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/EmailColumnWithTableNameTest.php b/test/Model/EmailColumnWithTableNameTest.php index b099379d..9ce6b36a 100644 --- a/test/Model/EmailColumnWithTableNameTest.php +++ b/test/Model/EmailColumnWithTableNameTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/EmailFilterPredicateTest.php b/test/Model/EmailFilterPredicateTest.php index 235b902c..17fc787f 100644 --- a/test/Model/EmailFilterPredicateTest.php +++ b/test/Model/EmailFilterPredicateTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/EnforceTwoFactorRequestTest.php b/test/Model/EnforceTwoFactorRequestTest.php index 947f4a84..083cb99e 100644 --- a/test/Model/EnforceTwoFactorRequestTest.php +++ b/test/Model/EnforceTwoFactorRequestTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/EnforceTwofactorRequestTest.php b/test/Model/EnforceTwofactorRequestTest.php index fbd2b44e..f5acc3b5 100644 --- a/test/Model/EnforceTwofactorRequestTest.php +++ b/test/Model/EnforceTwofactorRequestTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/EqualTest.php b/test/Model/EqualTest.php index 62990f80..52f780ce 100644 --- a/test/Model/EqualTest.php +++ b/test/Model/EqualTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/FileColumnTest.php b/test/Model/FileColumnTest.php index 1c5c0417..3053c6ae 100644 --- a/test/Model/FileColumnTest.php +++ b/test/Model/FileColumnTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/FileColumnWithTableNameTest.php b/test/Model/FileColumnWithTableNameTest.php index 9afc8dc3..5948cb2e 100644 --- a/test/Model/FileColumnWithTableNameTest.php +++ b/test/Model/FileColumnWithTableNameTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/FilterConjunctionTest.php b/test/Model/FilterConjunctionTest.php index 36bb2bec..27222216 100644 --- a/test/Model/FilterConjunctionTest.php +++ b/test/Model/FilterConjunctionTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/FilterTermEmptyTest.php b/test/Model/FilterTermEmptyTest.php index 5cdac09a..8078a70c 100644 --- a/test/Model/FilterTermEmptyTest.php +++ b/test/Model/FilterTermEmptyTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/FiltersAutomaticTest.php b/test/Model/FiltersAutomaticTest.php index abdf87ab..b39ef261 100644 --- a/test/Model/FiltersAutomaticTest.php +++ b/test/Model/FiltersAutomaticTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/FiltersCheckboxTest.php b/test/Model/FiltersCheckboxTest.php index d58622e9..fa4d7b0e 100644 --- a/test/Model/FiltersCheckboxTest.php +++ b/test/Model/FiltersCheckboxTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/FiltersCollaboratorTest.php b/test/Model/FiltersCollaboratorTest.php index 534131b0..e754eaaf 100644 --- a/test/Model/FiltersCollaboratorTest.php +++ b/test/Model/FiltersCollaboratorTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/FiltersCreatedTest.php b/test/Model/FiltersCreatedTest.php index 35ae3694..998cec7f 100644 --- a/test/Model/FiltersCreatedTest.php +++ b/test/Model/FiltersCreatedTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/FiltersCreatorTest.php b/test/Model/FiltersCreatorTest.php index b2c47dff..3e3f8e0e 100644 --- a/test/Model/FiltersCreatorTest.php +++ b/test/Model/FiltersCreatorTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/FiltersDateTest.php b/test/Model/FiltersDateTest.php index 512d958c..69343b80 100644 --- a/test/Model/FiltersDateTest.php +++ b/test/Model/FiltersDateTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/FiltersDateTimeTest.php b/test/Model/FiltersDateTimeTest.php index c59e2c00..8c5d7f8f 100644 --- a/test/Model/FiltersDateTimeTest.php +++ b/test/Model/FiltersDateTimeTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/FiltersDurationTest.php b/test/Model/FiltersDurationTest.php index db80f2f0..9d3bc8ab 100644 --- a/test/Model/FiltersDurationTest.php +++ b/test/Model/FiltersDurationTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/FiltersEditorTest.php b/test/Model/FiltersEditorTest.php index 883eed4f..c814056b 100644 --- a/test/Model/FiltersEditorTest.php +++ b/test/Model/FiltersEditorTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/FiltersEmailTest.php b/test/Model/FiltersEmailTest.php index dcb5f6e0..31a6c3a3 100644 --- a/test/Model/FiltersEmailTest.php +++ b/test/Model/FiltersEmailTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/FiltersFileTest.php b/test/Model/FiltersFileTest.php index 5af48ddb..e268b126 100644 --- a/test/Model/FiltersFileTest.php +++ b/test/Model/FiltersFileTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/FiltersFormulaTest.php b/test/Model/FiltersFormulaTest.php index 8d697a6f..1e2a5738 100644 --- a/test/Model/FiltersFormulaTest.php +++ b/test/Model/FiltersFormulaTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/FiltersGeolocationTest.php b/test/Model/FiltersGeolocationTest.php index 43fbf3e2..0c188f3e 100644 --- a/test/Model/FiltersGeolocationTest.php +++ b/test/Model/FiltersGeolocationTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/FiltersImageTest.php b/test/Model/FiltersImageTest.php index a16072c2..37dcad6b 100644 --- a/test/Model/FiltersImageTest.php +++ b/test/Model/FiltersImageTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/FiltersInnerTest.php b/test/Model/FiltersInnerTest.php index ecc322a4..c904b28f 100644 --- a/test/Model/FiltersInnerTest.php +++ b/test/Model/FiltersInnerTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/FiltersLinkFormulaTest.php b/test/Model/FiltersLinkFormulaTest.php index b1d8776e..fea2acd1 100644 --- a/test/Model/FiltersLinkFormulaTest.php +++ b/test/Model/FiltersLinkFormulaTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/FiltersLinkTest.php b/test/Model/FiltersLinkTest.php index fe5c6114..4e0244ca 100644 --- a/test/Model/FiltersLinkTest.php +++ b/test/Model/FiltersLinkTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/FiltersLongTextTest.php b/test/Model/FiltersLongTextTest.php index 91bd3116..6620bc29 100644 --- a/test/Model/FiltersLongTextTest.php +++ b/test/Model/FiltersLongTextTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/FiltersModifiedTest.php b/test/Model/FiltersModifiedTest.php index b5a14b70..7a1653f1 100644 --- a/test/Model/FiltersModifiedTest.php +++ b/test/Model/FiltersModifiedTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/FiltersMultiSelectTest.php b/test/Model/FiltersMultiSelectTest.php index 0d742be7..e8c36bcd 100644 --- a/test/Model/FiltersMultiSelectTest.php +++ b/test/Model/FiltersMultiSelectTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/FiltersNumberTest.php b/test/Model/FiltersNumberTest.php index c8fdbe47..2f010f16 100644 --- a/test/Model/FiltersNumberTest.php +++ b/test/Model/FiltersNumberTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/FiltersPercentageTest.php b/test/Model/FiltersPercentageTest.php index f4251666..a17c363e 100644 --- a/test/Model/FiltersPercentageTest.php +++ b/test/Model/FiltersPercentageTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/FiltersRatingTest.php b/test/Model/FiltersRatingTest.php index 1c3b0e58..14a073aa 100644 --- a/test/Model/FiltersRatingTest.php +++ b/test/Model/FiltersRatingTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/FiltersSingleSelectTest.php b/test/Model/FiltersSingleSelectTest.php index fb8e078f..0937d24a 100644 --- a/test/Model/FiltersSingleSelectTest.php +++ b/test/Model/FiltersSingleSelectTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/FiltersTextTest.php b/test/Model/FiltersTextTest.php index a801927f..5d32949a 100644 --- a/test/Model/FiltersTextTest.php +++ b/test/Model/FiltersTextTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/FiltersUrlTest.php b/test/Model/FiltersUrlTest.php index 76c70b74..ef84bbc9 100644 --- a/test/Model/FiltersUrlTest.php +++ b/test/Model/FiltersUrlTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/FormulaColumnFormatTest.php b/test/Model/FormulaColumnFormatTest.php index fc2ba46b..cd784ad1 100644 --- a/test/Model/FormulaColumnFormatTest.php +++ b/test/Model/FormulaColumnFormatTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/FormulaColumnTest.php b/test/Model/FormulaColumnTest.php index 42af8f2c..67426101 100644 --- a/test/Model/FormulaColumnTest.php +++ b/test/Model/FormulaColumnTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/FormulaColumnWithTableNameTest.php b/test/Model/FormulaColumnWithTableNameTest.php index 6525e8e9..50727ce9 100644 --- a/test/Model/FormulaColumnWithTableNameTest.php +++ b/test/Model/FormulaColumnWithTableNameTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/FreezeUnfreezeColumnTest.php b/test/Model/FreezeUnfreezeColumnTest.php index df41829b..be579708 100644 --- a/test/Model/FreezeUnfreezeColumnTest.php +++ b/test/Model/FreezeUnfreezeColumnTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/GenerateSnapshotTest.php b/test/Model/GenerateSnapshotTest.php index 41f7f9ae..29ef6dd3 100644 --- a/test/Model/GenerateSnapshotTest.php +++ b/test/Model/GenerateSnapshotTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/GeoColumnFormatTest.php b/test/Model/GeoColumnFormatTest.php index 1416ae8f..e5375f9b 100644 --- a/test/Model/GeoColumnFormatTest.php +++ b/test/Model/GeoColumnFormatTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/GeolocationColumnTest.php b/test/Model/GeolocationColumnTest.php index a8eccca7..b83bfd85 100644 --- a/test/Model/GeolocationColumnTest.php +++ b/test/Model/GeolocationColumnTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/GeolocationColumnWithTableNameTest.php b/test/Model/GeolocationColumnWithTableNameTest.php index 2e38d3ca..30f1b331 100644 --- a/test/Model/GeolocationColumnWithTableNameTest.php +++ b/test/Model/GeolocationColumnWithTableNameTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/GetBigDataOperationLogs200ResponseOperationsInnerOperationTest.php b/test/Model/GetBigDataOperationLogs200ResponseOperationsInnerOperationTest.php index 1282ec87..b0cbbde5 100644 --- a/test/Model/GetBigDataOperationLogs200ResponseOperationsInnerOperationTest.php +++ b/test/Model/GetBigDataOperationLogs200ResponseOperationsInnerOperationTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/GetBigDataOperationLogs200ResponseOperationsInnerTest.php b/test/Model/GetBigDataOperationLogs200ResponseOperationsInnerTest.php index 857b6580..2a610a36 100644 --- a/test/Model/GetBigDataOperationLogs200ResponseOperationsInnerTest.php +++ b/test/Model/GetBigDataOperationLogs200ResponseOperationsInnerTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/GetBigDataOperationLogs200ResponseTest.php b/test/Model/GetBigDataOperationLogs200ResponseTest.php index a3f92149..e28b2da4 100644 --- a/test/Model/GetBigDataOperationLogs200ResponseTest.php +++ b/test/Model/GetBigDataOperationLogs200ResponseTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/GreaterOrEqualTest.php b/test/Model/GreaterOrEqualTest.php index b1cd1389..d935a516 100644 --- a/test/Model/GreaterOrEqualTest.php +++ b/test/Model/GreaterOrEqualTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/GreaterTest.php b/test/Model/GreaterTest.php index fcbf1910..8042fb9f 100644 --- a/test/Model/GreaterTest.php +++ b/test/Model/GreaterTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/HasAllOfTest.php b/test/Model/HasAllOfTest.php index 90ae6f16..eea22945 100644 --- a/test/Model/HasAllOfTest.php +++ b/test/Model/HasAllOfTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/HasAnyOfTest.php b/test/Model/HasAnyOfTest.php index 5724b4ad..2b9fa6f8 100644 --- a/test/Model/HasAnyOfTest.php +++ b/test/Model/HasAnyOfTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/HasNoneOfTest.php b/test/Model/HasNoneOfTest.php index e61189d9..e2bf60db 100644 --- a/test/Model/HasNoneOfTest.php +++ b/test/Model/HasNoneOfTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/ImageColumnTest.php b/test/Model/ImageColumnTest.php index e6a8972e..d2a472d9 100644 --- a/test/Model/ImageColumnTest.php +++ b/test/Model/ImageColumnTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/ImageColumnWithTableNameTest.php b/test/Model/ImageColumnWithTableNameTest.php index 0d493c67..f4362d6d 100644 --- a/test/Model/ImageColumnWithTableNameTest.php +++ b/test/Model/ImageColumnWithTableNameTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/ImageFilterPredicateTest.php b/test/Model/ImageFilterPredicateTest.php index 43eddb00..f9c40e49 100644 --- a/test/Model/ImageFilterPredicateTest.php +++ b/test/Model/ImageFilterPredicateTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/ImportBasefromDTableFile200ResponseTableTest.php b/test/Model/ImportBasefromDTableFile200ResponseTableTest.php index 63abcdda..f8550320 100644 --- a/test/Model/ImportBasefromDTableFile200ResponseTableTest.php +++ b/test/Model/ImportBasefromDTableFile200ResponseTableTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/ImportBasefromDTableFile200ResponseTest.php b/test/Model/ImportBasefromDTableFile200ResponseTest.php index b89bc140..67fa91c8 100644 --- a/test/Model/ImportBasefromDTableFile200ResponseTest.php +++ b/test/Model/ImportBasefromDTableFile200ResponseTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/ImportUsersToAppRequestTest.php b/test/Model/ImportUsersToAppRequestTest.php index a71e2203..90bd772a 100644 --- a/test/Model/ImportUsersToAppRequestTest.php +++ b/test/Model/ImportUsersToAppRequestTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/IncludeMeTest.php b/test/Model/IncludeMeTest.php index 09b08502..15b91d16 100644 --- a/test/Model/IncludeMeTest.php +++ b/test/Model/IncludeMeTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/InsertColumnRequestTest.php b/test/Model/InsertColumnRequestTest.php index 75175dc2..e0ad6df7 100644 --- a/test/Model/InsertColumnRequestTest.php +++ b/test/Model/InsertColumnRequestTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/InsertRowTest.php b/test/Model/InsertRowTest.php index 8eafb157..5149d9cc 100644 --- a/test/Model/InsertRowTest.php +++ b/test/Model/InsertRowTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/InsertRowsIntoBigDataTest.php b/test/Model/InsertRowsIntoBigDataTest.php index ce0b9cc7..a10b96e9 100644 --- a/test/Model/InsertRowsIntoBigDataTest.php +++ b/test/Model/InsertRowsIntoBigDataTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/IsAdminTest.php b/test/Model/IsAdminTest.php index 8fa34644..3a59af8b 100644 --- a/test/Model/IsAdminTest.php +++ b/test/Model/IsAdminTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/IsAnyOfTest.php b/test/Model/IsAnyOfTest.php index 99f6545e..6a4303a0 100644 --- a/test/Model/IsAnyOfTest.php +++ b/test/Model/IsAnyOfTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/IsCurrentUserIDTest.php b/test/Model/IsCurrentUserIDTest.php index 711da47e..77cc433f 100644 --- a/test/Model/IsCurrentUserIDTest.php +++ b/test/Model/IsCurrentUserIDTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/IsEmptyTest.php b/test/Model/IsEmptyTest.php index f82a96e0..61ceb2d8 100644 --- a/test/Model/IsEmptyTest.php +++ b/test/Model/IsEmptyTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/IsExactlyTest.php b/test/Model/IsExactlyTest.php index 04fb4d29..44a4921b 100644 --- a/test/Model/IsExactlyTest.php +++ b/test/Model/IsExactlyTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/IsInactiveTest.php b/test/Model/IsInactiveTest.php index 486ac238..cc20f26a 100644 --- a/test/Model/IsInactiveTest.php +++ b/test/Model/IsInactiveTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/IsNoneOfTest.php b/test/Model/IsNoneOfTest.php index 25dfa939..b9ec0480 100644 --- a/test/Model/IsNoneOfTest.php +++ b/test/Model/IsNoneOfTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/IsNotEmptyTest.php b/test/Model/IsNotEmptyTest.php index 1f891943..b74888b3 100644 --- a/test/Model/IsNotEmptyTest.php +++ b/test/Model/IsNotEmptyTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/IsNotTest.php b/test/Model/IsNotTest.php index fb7ddf7d..1ea28ccb 100644 --- a/test/Model/IsNotTest.php +++ b/test/Model/IsNotTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/IsTest.php b/test/Model/IsTest.php index f4fe3170..42c3ee65 100644 --- a/test/Model/IsTest.php +++ b/test/Model/IsTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/IsWithinTheNextMonthTest.php b/test/Model/IsWithinTheNextMonthTest.php index b2e5c88f..2fe72a34 100644 --- a/test/Model/IsWithinTheNextMonthTest.php +++ b/test/Model/IsWithinTheNextMonthTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/IsWithinTheNextNumberOfDaysTest.php b/test/Model/IsWithinTheNextNumberOfDaysTest.php index 9253f4be..2b77c39c 100644 --- a/test/Model/IsWithinTheNextNumberOfDaysTest.php +++ b/test/Model/IsWithinTheNextNumberOfDaysTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/IsWithinTheNextWeekTest.php b/test/Model/IsWithinTheNextWeekTest.php index 4d77c1b7..27d2b3fc 100644 --- a/test/Model/IsWithinTheNextWeekTest.php +++ b/test/Model/IsWithinTheNextWeekTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/IsWithinTheNextYearTest.php b/test/Model/IsWithinTheNextYearTest.php index c826b330..13231aec 100644 --- a/test/Model/IsWithinTheNextYearTest.php +++ b/test/Model/IsWithinTheNextYearTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/IsWithinThePastMonthTest.php b/test/Model/IsWithinThePastMonthTest.php index ef348807..b11bdbea 100644 --- a/test/Model/IsWithinThePastMonthTest.php +++ b/test/Model/IsWithinThePastMonthTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/IsWithinThePastNumberOfDaysTest.php b/test/Model/IsWithinThePastNumberOfDaysTest.php index 8584d28b..e3b34144 100644 --- a/test/Model/IsWithinThePastNumberOfDaysTest.php +++ b/test/Model/IsWithinThePastNumberOfDaysTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/IsWithinThePastWeekTest.php b/test/Model/IsWithinThePastWeekTest.php index d3cb6b6a..e5d4eca6 100644 --- a/test/Model/IsWithinThePastWeekTest.php +++ b/test/Model/IsWithinThePastWeekTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/IsWithinThePastYearTest.php b/test/Model/IsWithinThePastYearTest.php index cacc35cc..1bb82a6f 100644 --- a/test/Model/IsWithinThePastYearTest.php +++ b/test/Model/IsWithinThePastYearTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/IsWithinThisMonthTest.php b/test/Model/IsWithinThisMonthTest.php index 13c259b9..fbb924f6 100644 --- a/test/Model/IsWithinThisMonthTest.php +++ b/test/Model/IsWithinThisMonthTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/IsWithinThisWeekTest.php b/test/Model/IsWithinThisWeekTest.php index b027d548..f746f81c 100644 --- a/test/Model/IsWithinThisWeekTest.php +++ b/test/Model/IsWithinThisWeekTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/IsWithinThisYearTest.php b/test/Model/IsWithinThisYearTest.php index 9bea5097..0b563abc 100644 --- a/test/Model/IsWithinThisYearTest.php +++ b/test/Model/IsWithinThisYearTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/LastModifierColumnTest.php b/test/Model/LastModifierColumnTest.php index 8a56c047..fb3c5a56 100644 --- a/test/Model/LastModifierColumnTest.php +++ b/test/Model/LastModifierColumnTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/LastModifierColumnWithTableNameTest.php b/test/Model/LastModifierColumnWithTableNameTest.php index 0054eeb2..e333d775 100644 --- a/test/Model/LastModifierColumnWithTableNameTest.php +++ b/test/Model/LastModifierColumnWithTableNameTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/LessOrEqualTest.php b/test/Model/LessOrEqualTest.php index ab178805..a6c4a9e4 100644 --- a/test/Model/LessOrEqualTest.php +++ b/test/Model/LessOrEqualTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/LessTest.php b/test/Model/LessTest.php index 31a7ae19..ab8aaf67 100644 --- a/test/Model/LessTest.php +++ b/test/Model/LessTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/LinkColumnFormatTest.php b/test/Model/LinkColumnFormatTest.php index f3be8edb..7cba9bc1 100644 --- a/test/Model/LinkColumnFormatTest.php +++ b/test/Model/LinkColumnFormatTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/LinkColumnTest.php b/test/Model/LinkColumnTest.php index 65e354ca..b1a76ae6 100644 --- a/test/Model/LinkColumnTest.php +++ b/test/Model/LinkColumnTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/LinkColumnWithTableNameTest.php b/test/Model/LinkColumnWithTableNameTest.php index 38e8c53a..26241c80 100644 --- a/test/Model/LinkColumnWithTableNameTest.php +++ b/test/Model/LinkColumnWithTableNameTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/LinkFilterPredicateTest.php b/test/Model/LinkFilterPredicateTest.php index 4c92db2a..a9036ac6 100644 --- a/test/Model/LinkFilterPredicateTest.php +++ b/test/Model/LinkFilterPredicateTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/LinkFormulaColumnColumnDataTest.php b/test/Model/LinkFormulaColumnColumnDataTest.php index c2e862a9..cfb9a878 100644 --- a/test/Model/LinkFormulaColumnColumnDataTest.php +++ b/test/Model/LinkFormulaColumnColumnDataTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/LinkFormulaColumnCountLinksFormatTest.php b/test/Model/LinkFormulaColumnCountLinksFormatTest.php index f95ed63d..9fccfd09 100644 --- a/test/Model/LinkFormulaColumnCountLinksFormatTest.php +++ b/test/Model/LinkFormulaColumnCountLinksFormatTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/LinkFormulaColumnFindmaxFormatTest.php b/test/Model/LinkFormulaColumnFindmaxFormatTest.php index 6c7cc868..262313e8 100644 --- a/test/Model/LinkFormulaColumnFindmaxFormatTest.php +++ b/test/Model/LinkFormulaColumnFindmaxFormatTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/LinkFormulaColumnFindminFormatTest.php b/test/Model/LinkFormulaColumnFindminFormatTest.php index 965ae334..002395ba 100644 --- a/test/Model/LinkFormulaColumnFindminFormatTest.php +++ b/test/Model/LinkFormulaColumnFindminFormatTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/LinkFormulaColumnLookupFormatTest.php b/test/Model/LinkFormulaColumnLookupFormatTest.php index 08c19ff6..28932725 100644 --- a/test/Model/LinkFormulaColumnLookupFormatTest.php +++ b/test/Model/LinkFormulaColumnLookupFormatTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/LinkFormulaColumnRollupFormatTest.php b/test/Model/LinkFormulaColumnRollupFormatTest.php index e8f2830a..32c59df0 100644 --- a/test/Model/LinkFormulaColumnRollupFormatTest.php +++ b/test/Model/LinkFormulaColumnRollupFormatTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/LinkFormulaColumnTest.php b/test/Model/LinkFormulaColumnTest.php index 228e5710..1f917c0f 100644 --- a/test/Model/LinkFormulaColumnTest.php +++ b/test/Model/LinkFormulaColumnTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/LinkFormulaColumnWithTableNameTest.php b/test/Model/LinkFormulaColumnWithTableNameTest.php index 93dfd018..6dd1e5c3 100644 --- a/test/Model/LinkFormulaColumnWithTableNameTest.php +++ b/test/Model/LinkFormulaColumnWithTableNameTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/ListAuditLogs200ResponseAuditLogListInnerDetailTest.php b/test/Model/ListAuditLogs200ResponseAuditLogListInnerDetailTest.php index f632a261..e7852ca5 100644 --- a/test/Model/ListAuditLogs200ResponseAuditLogListInnerDetailTest.php +++ b/test/Model/ListAuditLogs200ResponseAuditLogListInnerDetailTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/ListAuditLogs200ResponseAuditLogListInnerTest.php b/test/Model/ListAuditLogs200ResponseAuditLogListInnerTest.php index 3b9c8a52..ab2a0f15 100644 --- a/test/Model/ListAuditLogs200ResponseAuditLogListInnerTest.php +++ b/test/Model/ListAuditLogs200ResponseAuditLogListInnerTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/ListAuditLogs200ResponseTest.php b/test/Model/ListAuditLogs200ResponseTest.php index f5baa522..568babc8 100644 --- a/test/Model/ListAuditLogs200ResponseTest.php +++ b/test/Model/ListAuditLogs200ResponseTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/ListPublicUserInfosRequestTest.php b/test/Model/ListPublicUserInfosRequestTest.php index b099851d..c3b56e72 100644 --- a/test/Model/ListPublicUserInfosRequestTest.php +++ b/test/Model/ListPublicUserInfosRequestTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/ListRowLinksRowsInnerTest.php b/test/Model/ListRowLinksRowsInnerTest.php index b200416b..218b8122 100644 --- a/test/Model/ListRowLinksRowsInnerTest.php +++ b/test/Model/ListRowLinksRowsInnerTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/ListRowLinksTest.php b/test/Model/ListRowLinksTest.php index 72ec3e2e..22e9558f 100644 --- a/test/Model/ListRowLinksTest.php +++ b/test/Model/ListRowLinksTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/LongTextColumnTest.php b/test/Model/LongTextColumnTest.php index e1fa3971..6141896a 100644 --- a/test/Model/LongTextColumnTest.php +++ b/test/Model/LongTextColumnTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/LongTextColumnWithTableNameTest.php b/test/Model/LongTextColumnWithTableNameTest.php index 80f20397..093d7c19 100644 --- a/test/Model/LongTextColumnWithTableNameTest.php +++ b/test/Model/LongTextColumnWithTableNameTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/MatchLinkColumnsMatchingKeysInnerTest.php b/test/Model/MatchLinkColumnsMatchingKeysInnerTest.php index b9cb5861..849eec5b 100644 --- a/test/Model/MatchLinkColumnsMatchingKeysInnerTest.php +++ b/test/Model/MatchLinkColumnsMatchingKeysInnerTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/MatchLinkColumnsTest.php b/test/Model/MatchLinkColumnsTest.php index cd1b9cb3..d8561313 100644 --- a/test/Model/MatchLinkColumnsTest.php +++ b/test/Model/MatchLinkColumnsTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/ModifyPasswordTest.php b/test/Model/ModifyPasswordTest.php index d1eee3ec..1d9572d8 100644 --- a/test/Model/ModifyPasswordTest.php +++ b/test/Model/ModifyPasswordTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/MoveColumnTest.php b/test/Model/MoveColumnTest.php index 5d5481a5..e6c5b3c5 100644 --- a/test/Model/MoveColumnTest.php +++ b/test/Model/MoveColumnTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/MoveRowsToNormalBackendRequestTest.php b/test/Model/MoveRowsToNormalBackendRequestTest.php index a76cfeb3..5a761855 100644 --- a/test/Model/MoveRowsToNormalBackendRequestTest.php +++ b/test/Model/MoveRowsToNormalBackendRequestTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/MtimeColumnTest.php b/test/Model/MtimeColumnTest.php index c56e1075..494c9139 100644 --- a/test/Model/MtimeColumnTest.php +++ b/test/Model/MtimeColumnTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/MtimeColumnWithTableNameTest.php b/test/Model/MtimeColumnWithTableNameTest.php index 9c53cd0c..cc78a0e4 100644 --- a/test/Model/MtimeColumnWithTableNameTest.php +++ b/test/Model/MtimeColumnWithTableNameTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/MultipleSelectColumnTest.php b/test/Model/MultipleSelectColumnTest.php index f13dd461..6e7a9c75 100644 --- a/test/Model/MultipleSelectColumnTest.php +++ b/test/Model/MultipleSelectColumnTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/MultipleSelectColumnWithTableNameTest.php b/test/Model/MultipleSelectColumnWithTableNameTest.php index b60f630c..2f326c6c 100644 --- a/test/Model/MultipleSelectColumnWithTableNameTest.php +++ b/test/Model/MultipleSelectColumnWithTableNameTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/MultipleSelectFilterPredicateTest.php b/test/Model/MultipleSelectFilterPredicateTest.php index c997c17d..13893b7f 100644 --- a/test/Model/MultipleSelectFilterPredicateTest.php +++ b/test/Model/MultipleSelectFilterPredicateTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/NewViewTest.php b/test/Model/NewViewTest.php index 22a2f77d..79723d11 100644 --- a/test/Model/NewViewTest.php +++ b/test/Model/NewViewTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/NotEqualTest.php b/test/Model/NotEqualTest.php index 53dd3c91..2dc1413b 100644 --- a/test/Model/NotEqualTest.php +++ b/test/Model/NotEqualTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/NumberColumnFormatTest.php b/test/Model/NumberColumnFormatTest.php index e5ee7f9c..62509cd4 100644 --- a/test/Model/NumberColumnFormatTest.php +++ b/test/Model/NumberColumnFormatTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/NumberColumnTest.php b/test/Model/NumberColumnTest.php index dd3e186b..55a27445 100644 --- a/test/Model/NumberColumnTest.php +++ b/test/Model/NumberColumnTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/NumberColumnWithTableNameTest.php b/test/Model/NumberColumnWithTableNameTest.php index 66c3997e..da79801b 100644 --- a/test/Model/NumberColumnWithTableNameTest.php +++ b/test/Model/NumberColumnWithTableNameTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/NumberFilterPredicateTest.php b/test/Model/NumberFilterPredicateTest.php index 60b6c1c6..9d200fe3 100644 --- a/test/Model/NumberFilterPredicateTest.php +++ b/test/Model/NumberFilterPredicateTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/RatingColumnFormatTest.php b/test/Model/RatingColumnFormatTest.php index 31fafe1e..2e791241 100644 --- a/test/Model/RatingColumnFormatTest.php +++ b/test/Model/RatingColumnFormatTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/RatingColumnTest.php b/test/Model/RatingColumnTest.php index f047349d..a2bab368 100644 --- a/test/Model/RatingColumnTest.php +++ b/test/Model/RatingColumnTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/RatingColumnWithTableNameTest.php b/test/Model/RatingColumnWithTableNameTest.php index 90cc3f48..a008bdf9 100644 --- a/test/Model/RatingColumnWithTableNameTest.php +++ b/test/Model/RatingColumnWithTableNameTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/RatingFilterTermTest.php b/test/Model/RatingFilterTermTest.php index 6376edb7..80a59762 100644 --- a/test/Model/RatingFilterTermTest.php +++ b/test/Model/RatingFilterTermTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/RecordsMeetSpecificConditionsAfterModificationTest.php b/test/Model/RecordsMeetSpecificConditionsAfterModificationTest.php index 61cacf2b..71f6a1dc 100644 --- a/test/Model/RecordsMeetSpecificConditionsAfterModificationTest.php +++ b/test/Model/RecordsMeetSpecificConditionsAfterModificationTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/RenameColumnTest.php b/test/Model/RenameColumnTest.php index ed070b54..ae39edba 100644 --- a/test/Model/RenameColumnTest.php +++ b/test/Model/RenameColumnTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/RenameTableTest.php b/test/Model/RenameTableTest.php index 07442ca6..75be3084 100644 --- a/test/Model/RenameTableTest.php +++ b/test/Model/RenameTableTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/RepairBase200ResponseTest.php b/test/Model/RepairBase200ResponseTest.php index 42505240..fb94e37f 100644 --- a/test/Model/RepairBase200ResponseTest.php +++ b/test/Model/RepairBase200ResponseTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/ResizeColumnTest.php b/test/Model/ResizeColumnTest.php index 47b9fa8d..d4e072e8 100644 --- a/test/Model/ResizeColumnTest.php +++ b/test/Model/ResizeColumnTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/RowAddedTest.php b/test/Model/RowAddedTest.php index 75f43542..16611f55 100644 --- a/test/Model/RowAddedTest.php +++ b/test/Model/RowAddedTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/RowLinkCreateUpdateDeleteTest.php b/test/Model/RowLinkCreateUpdateDeleteTest.php index 4e85093a..3060cd73 100644 --- a/test/Model/RowLinkCreateUpdateDeleteTest.php +++ b/test/Model/RowLinkCreateUpdateDeleteTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/RowsTest.php b/test/Model/RowsTest.php index 6d2db025..81ce8eed 100644 --- a/test/Model/RowsTest.php +++ b/test/Model/RowsTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/RowsWithTableNameTest.php b/test/Model/RowsWithTableNameTest.php index f360edd1..ab1c7860 100644 --- a/test/Model/RowsWithTableNameTest.php +++ b/test/Model/RowsWithTableNameTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/RunPeriodicallyOnRecordsMeetConditionsTest.php b/test/Model/RunPeriodicallyOnRecordsMeetConditionsTest.php index 3cb55ec7..f377726a 100644 --- a/test/Model/RunPeriodicallyOnRecordsMeetConditionsTest.php +++ b/test/Model/RunPeriodicallyOnRecordsMeetConditionsTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/RunPeriodicallyTest.php b/test/Model/RunPeriodicallyTest.php index 1977dd5c..d6cc6ed0 100644 --- a/test/Model/RunPeriodicallyTest.php +++ b/test/Model/RunPeriodicallyTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/SelectColumnFormatOptionsInnerTest.php b/test/Model/SelectColumnFormatOptionsInnerTest.php index 1b88ff2e..590d97cc 100644 --- a/test/Model/SelectColumnFormatOptionsInnerTest.php +++ b/test/Model/SelectColumnFormatOptionsInnerTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/SelectColumnFormatTest.php b/test/Model/SelectColumnFormatTest.php index f46f8aee..9a96fe0a 100644 --- a/test/Model/SelectColumnFormatTest.php +++ b/test/Model/SelectColumnFormatTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/SendToastNotificationRequestDetailTest.php b/test/Model/SendToastNotificationRequestDetailTest.php index 82e55818..c1cd7324 100644 --- a/test/Model/SendToastNotificationRequestDetailTest.php +++ b/test/Model/SendToastNotificationRequestDetailTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/SendToastNotificationRequestTest.php b/test/Model/SendToastNotificationRequestTest.php index dd395a53..c8e3e0dd 100644 --- a/test/Model/SendToastNotificationRequestTest.php +++ b/test/Model/SendToastNotificationRequestTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/SingleSelectColumnTest.php b/test/Model/SingleSelectColumnTest.php index c80b3718..d941790a 100644 --- a/test/Model/SingleSelectColumnTest.php +++ b/test/Model/SingleSelectColumnTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/SingleSelectColumnWithTableNameTest.php b/test/Model/SingleSelectColumnWithTableNameTest.php index 9bacdcdf..db07ee75 100644 --- a/test/Model/SingleSelectColumnWithTableNameTest.php +++ b/test/Model/SingleSelectColumnWithTableNameTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/SingleSelectFilterPredicateTest.php b/test/Model/SingleSelectFilterPredicateTest.php index 1c544604..bec15760 100644 --- a/test/Model/SingleSelectFilterPredicateTest.php +++ b/test/Model/SingleSelectFilterPredicateTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/SortTypeTest.php b/test/Model/SortTypeTest.php index 2200d91a..866a4eca 100644 --- a/test/Model/SortTypeTest.php +++ b/test/Model/SortTypeTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/SortsInnerTest.php b/test/Model/SortsInnerTest.php index 273116f3..53728acf 100644 --- a/test/Model/SortsInnerTest.php +++ b/test/Model/SortsInnerTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/SpecificDateValueTest.php b/test/Model/SpecificDateValueTest.php index 1a71c60a..7fff2765 100644 --- a/test/Model/SpecificDateValueTest.php +++ b/test/Model/SpecificDateValueTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/SqlQueryParametersInnerTest.php b/test/Model/SqlQueryParametersInnerTest.php index a5e08307..d9826b28 100644 --- a/test/Model/SqlQueryParametersInnerTest.php +++ b/test/Model/SqlQueryParametersInnerTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/SqlQueryResponseTest.php b/test/Model/SqlQueryResponseTest.php index df8d4bba..997b18a5 100644 --- a/test/Model/SqlQueryResponseTest.php +++ b/test/Model/SqlQueryResponseTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/SqlQueryTest.php b/test/Model/SqlQueryTest.php index a23c3652..de7b02e7 100644 --- a/test/Model/SqlQueryTest.php +++ b/test/Model/SqlQueryTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/StringFilterPredicateTest.php b/test/Model/StringFilterPredicateTest.php index e20a089b..719fb4eb 100644 --- a/test/Model/StringFilterPredicateTest.php +++ b/test/Model/StringFilterPredicateTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/TableNameObjectTest.php b/test/Model/TableNameObjectTest.php index 75c85444..63fd615c 100644 --- a/test/Model/TableNameObjectTest.php +++ b/test/Model/TableNameObjectTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/TableWithRowIdsTest.php b/test/Model/TableWithRowIdsTest.php index 94cd988d..463fc27a 100644 --- a/test/Model/TableWithRowIdsTest.php +++ b/test/Model/TableWithRowIdsTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/TeamAdminPermissionTest.php b/test/Model/TeamAdminPermissionTest.php index 7e077e81..ec56c1e9 100644 --- a/test/Model/TeamAdminPermissionTest.php +++ b/test/Model/TeamAdminPermissionTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/TextColumnTest.php b/test/Model/TextColumnTest.php index 634adb52..534112f9 100644 --- a/test/Model/TextColumnTest.php +++ b/test/Model/TextColumnTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/TextColumnWithTableNameTest.php b/test/Model/TextColumnWithTableNameTest.php index 5c85e571..283c80a9 100644 --- a/test/Model/TextColumnWithTableNameTest.php +++ b/test/Model/TextColumnWithTableNameTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/TheDayRunningTheTaskValueTest.php b/test/Model/TheDayRunningTheTaskValueTest.php index 654d6542..e40be51a 100644 --- a/test/Model/TheDayRunningTheTaskValueTest.php +++ b/test/Model/TheDayRunningTheTaskValueTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/TransferGroupRequestTest.php b/test/Model/TransferGroupRequestTest.php index b949b312..fce71fb8 100644 --- a/test/Model/TransferGroupRequestTest.php +++ b/test/Model/TransferGroupRequestTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/TriggerRecordsMeetSpecificConditionsAfterModificationConditionTest.php b/test/Model/TriggerRecordsMeetSpecificConditionsAfterModificationConditionTest.php index 7784e50f..af89b235 100644 --- a/test/Model/TriggerRecordsMeetSpecificConditionsAfterModificationConditionTest.php +++ b/test/Model/TriggerRecordsMeetSpecificConditionsAfterModificationConditionTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/TriggerRecordsMeetSpecificConditionsAfterModificationTest.php b/test/Model/TriggerRecordsMeetSpecificConditionsAfterModificationTest.php index 847335e0..5e6fd723 100644 --- a/test/Model/TriggerRecordsMeetSpecificConditionsAfterModificationTest.php +++ b/test/Model/TriggerRecordsMeetSpecificConditionsAfterModificationTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/TriggerRowAddedConditionTest.php b/test/Model/TriggerRowAddedConditionTest.php index 8372630f..4865ef39 100644 --- a/test/Model/TriggerRowAddedConditionTest.php +++ b/test/Model/TriggerRowAddedConditionTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/TriggerRowAddedTest.php b/test/Model/TriggerRowAddedTest.php index e294ece8..48b3e5c8 100644 --- a/test/Model/TriggerRowAddedTest.php +++ b/test/Model/TriggerRowAddedTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/TriggerRunPeriodicallyByConditionTest.php b/test/Model/TriggerRunPeriodicallyByConditionTest.php index 43d6b751..f5437761 100644 --- a/test/Model/TriggerRunPeriodicallyByConditionTest.php +++ b/test/Model/TriggerRunPeriodicallyByConditionTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/TriggerRunPeriodicallyConditionTest.php b/test/Model/TriggerRunPeriodicallyConditionTest.php index 109119c2..9b9079ab 100644 --- a/test/Model/TriggerRunPeriodicallyConditionTest.php +++ b/test/Model/TriggerRunPeriodicallyConditionTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/TriggerRunPeriodicallyOnRecordsMeetPerDayTest.php b/test/Model/TriggerRunPeriodicallyOnRecordsMeetPerDayTest.php index 0587bafe..1c51e99e 100644 --- a/test/Model/TriggerRunPeriodicallyOnRecordsMeetPerDayTest.php +++ b/test/Model/TriggerRunPeriodicallyOnRecordsMeetPerDayTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/TriggerRunPeriodicallyOnRecordsMeetPerDayTriggerTest.php b/test/Model/TriggerRunPeriodicallyOnRecordsMeetPerDayTriggerTest.php index 5cdf3978..2a79644e 100644 --- a/test/Model/TriggerRunPeriodicallyOnRecordsMeetPerDayTriggerTest.php +++ b/test/Model/TriggerRunPeriodicallyOnRecordsMeetPerDayTriggerTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/TriggerRunPeriodicallyOnRecordsMeetPerMonthTest.php b/test/Model/TriggerRunPeriodicallyOnRecordsMeetPerMonthTest.php index ca45bc6b..91791c53 100644 --- a/test/Model/TriggerRunPeriodicallyOnRecordsMeetPerMonthTest.php +++ b/test/Model/TriggerRunPeriodicallyOnRecordsMeetPerMonthTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/TriggerRunPeriodicallyOnRecordsMeetPerMonthTriggerTest.php b/test/Model/TriggerRunPeriodicallyOnRecordsMeetPerMonthTriggerTest.php index 9635f3cb..6b479673 100644 --- a/test/Model/TriggerRunPeriodicallyOnRecordsMeetPerMonthTriggerTest.php +++ b/test/Model/TriggerRunPeriodicallyOnRecordsMeetPerMonthTriggerTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/TriggerRunPeriodicallyOnRecordsMeetPerWeekTest.php b/test/Model/TriggerRunPeriodicallyOnRecordsMeetPerWeekTest.php index 6cc475be..1bfd6d13 100644 --- a/test/Model/TriggerRunPeriodicallyOnRecordsMeetPerWeekTest.php +++ b/test/Model/TriggerRunPeriodicallyOnRecordsMeetPerWeekTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/TriggerRunPeriodicallyOnRecordsMeetPerWeekTriggerTest.php b/test/Model/TriggerRunPeriodicallyOnRecordsMeetPerWeekTriggerTest.php index 5f867052..a4fe5c3b 100644 --- a/test/Model/TriggerRunPeriodicallyOnRecordsMeetPerWeekTriggerTest.php +++ b/test/Model/TriggerRunPeriodicallyOnRecordsMeetPerWeekTriggerTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/TriggerRunPeriodicallyPerDayTest.php b/test/Model/TriggerRunPeriodicallyPerDayTest.php index 77be19a3..a4e83648 100644 --- a/test/Model/TriggerRunPeriodicallyPerDayTest.php +++ b/test/Model/TriggerRunPeriodicallyPerDayTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/TriggerRunPeriodicallyPerDayTriggerTest.php b/test/Model/TriggerRunPeriodicallyPerDayTriggerTest.php index d3424081..ac8c2d83 100644 --- a/test/Model/TriggerRunPeriodicallyPerDayTriggerTest.php +++ b/test/Model/TriggerRunPeriodicallyPerDayTriggerTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/TriggerRunPeriodicallyPerMonthTest.php b/test/Model/TriggerRunPeriodicallyPerMonthTest.php index c5daeb22..daf3343a 100644 --- a/test/Model/TriggerRunPeriodicallyPerMonthTest.php +++ b/test/Model/TriggerRunPeriodicallyPerMonthTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/TriggerRunPeriodicallyPerMonthTriggerTest.php b/test/Model/TriggerRunPeriodicallyPerMonthTriggerTest.php index 0a85d3f8..fae38f0a 100644 --- a/test/Model/TriggerRunPeriodicallyPerMonthTriggerTest.php +++ b/test/Model/TriggerRunPeriodicallyPerMonthTriggerTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/TriggerRunPeriodicallyPerWeekTest.php b/test/Model/TriggerRunPeriodicallyPerWeekTest.php index 0e79f733..d9d51b0a 100644 --- a/test/Model/TriggerRunPeriodicallyPerWeekTest.php +++ b/test/Model/TriggerRunPeriodicallyPerWeekTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/TriggerRunPeriodicallyPerWeekTriggerTest.php b/test/Model/TriggerRunPeriodicallyPerWeekTriggerTest.php index 750e2643..a654fe9c 100644 --- a/test/Model/TriggerRunPeriodicallyPerWeekTriggerTest.php +++ b/test/Model/TriggerRunPeriodicallyPerWeekTriggerTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/TriggerTest.php b/test/Model/TriggerTest.php index 9d7aac8c..31b5cfc2 100644 --- a/test/Model/TriggerTest.php +++ b/test/Model/TriggerTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/UnsetPasswordTest.php b/test/Model/UnsetPasswordTest.php index 79448af9..ca5108cd 100644 --- a/test/Model/UnsetPasswordTest.php +++ b/test/Model/UnsetPasswordTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/UpdateAbuseReportRequestTest.php b/test/Model/UpdateAbuseReportRequestTest.php index a3f02f5d..54906731 100644 --- a/test/Model/UpdateAbuseReportRequestTest.php +++ b/test/Model/UpdateAbuseReportRequestTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/UpdateAdminsRoleTest.php b/test/Model/UpdateAdminsRoleTest.php index c90624b4..877c6f28 100644 --- a/test/Model/UpdateAdminsRoleTest.php +++ b/test/Model/UpdateAdminsRoleTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/UpdateColumnTest.php b/test/Model/UpdateColumnTest.php index d28f2490..78b591c9 100644 --- a/test/Model/UpdateColumnTest.php +++ b/test/Model/UpdateColumnTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/UpdateColumnTypeTest.php b/test/Model/UpdateColumnTypeTest.php index f0d475ca..46da3d1f 100644 --- a/test/Model/UpdateColumnTypeTest.php +++ b/test/Model/UpdateColumnTypeTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/UpdateCommentOptionsTest.php b/test/Model/UpdateCommentOptionsTest.php index fa6c6363..baa20c64 100644 --- a/test/Model/UpdateCommentOptionsTest.php +++ b/test/Model/UpdateCommentOptionsTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/UpdateCommentTest.php b/test/Model/UpdateCommentTest.php index 7790b494..1c3a8702 100644 --- a/test/Model/UpdateCommentTest.php +++ b/test/Model/UpdateCommentTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/UpdateCommonDatasetSyncRequestTest.php b/test/Model/UpdateCommonDatasetSyncRequestTest.php index 173df50d..8bf26fbb 100644 --- a/test/Model/UpdateCommonDatasetSyncRequestTest.php +++ b/test/Model/UpdateCommonDatasetSyncRequestTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/UpdateGeneralSettingsRequestTest.php b/test/Model/UpdateGeneralSettingsRequestTest.php index e0bd144f..22d9dbc0 100644 --- a/test/Model/UpdateGeneralSettingsRequestTest.php +++ b/test/Model/UpdateGeneralSettingsRequestTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/UpdateGroupMemberRoleRequestTest.php b/test/Model/UpdateGroupMemberRoleRequestTest.php index d2c255a2..c9ed63b6 100644 --- a/test/Model/UpdateGroupMemberRoleRequestTest.php +++ b/test/Model/UpdateGroupMemberRoleRequestTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/UpdateGroupRequestTest.php b/test/Model/UpdateGroupRequestTest.php index 4f772770..bb19f33d 100644 --- a/test/Model/UpdateGroupRequestTest.php +++ b/test/Model/UpdateGroupRequestTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/UpdateGroupRoleRequestTest.php b/test/Model/UpdateGroupRoleRequestTest.php index 76912655..4404e1c8 100644 --- a/test/Model/UpdateGroupRoleRequestTest.php +++ b/test/Model/UpdateGroupRoleRequestTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/UpdateInviteLinkRequestTest.php b/test/Model/UpdateInviteLinkRequestTest.php index fa1882b4..b49b5abb 100644 --- a/test/Model/UpdateInviteLinkRequestTest.php +++ b/test/Model/UpdateInviteLinkRequestTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/UpdateNotificationRuleRequestTest.php b/test/Model/UpdateNotificationRuleRequestTest.php index 88e04ac4..3312e7d4 100644 --- a/test/Model/UpdateNotificationRuleRequestTest.php +++ b/test/Model/UpdateNotificationRuleRequestTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/UpdateRowTest.php b/test/Model/UpdateRowTest.php index 5f421c11..c046281b 100644 --- a/test/Model/UpdateRowTest.php +++ b/test/Model/UpdateRowTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/UpdateRowsTest.php b/test/Model/UpdateRowsTest.php index bf08ee8e..ccac4a9f 100644 --- a/test/Model/UpdateRowsTest.php +++ b/test/Model/UpdateRowsTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/UpdateRowsUpdatesInnerTest.php b/test/Model/UpdateRowsUpdatesInnerTest.php index 5659564b..df101364 100644 --- a/test/Model/UpdateRowsUpdatesInnerTest.php +++ b/test/Model/UpdateRowsUpdatesInnerTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/UpdateSingleMultipleSelectOptionsOptionsInnerTest.php b/test/Model/UpdateSingleMultipleSelectOptionsOptionsInnerTest.php index 9d04319f..b03f34e7 100644 --- a/test/Model/UpdateSingleMultipleSelectOptionsOptionsInnerTest.php +++ b/test/Model/UpdateSingleMultipleSelectOptionsOptionsInnerTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/UpdateSingleMultipleSelectOptionsTest.php b/test/Model/UpdateSingleMultipleSelectOptionsTest.php index 4f3f8492..fd7f25e9 100644 --- a/test/Model/UpdateSingleMultipleSelectOptionsTest.php +++ b/test/Model/UpdateSingleMultipleSelectOptionsTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/UpdateTeamRequestTest.php b/test/Model/UpdateTeamRequestTest.php index 965dc61f..f87c63a8 100644 --- a/test/Model/UpdateTeamRequestTest.php +++ b/test/Model/UpdateTeamRequestTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -122,4 +122,13 @@ public function testPropertyAssetQuotaMb() // TODO: implement self::markTestIncomplete('Not implemented'); } + + /** + * Test attribute "monthly_automation_limit_per_user" + */ + public function testPropertyMonthlyAutomationLimitPerUser() + { + // TODO: implement + self::markTestIncomplete('Not implemented'); + } } diff --git a/test/Model/UpdateTeamUserRequestTest.php b/test/Model/UpdateTeamUserRequestTest.php index 31c29ee0..56a3a40e 100644 --- a/test/Model/UpdateTeamUserRequestTest.php +++ b/test/Model/UpdateTeamUserRequestTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/UpdateUserRequestTest.php b/test/Model/UpdateUserRequestTest.php index d5f6246f..cfa82d0f 100644 --- a/test/Model/UpdateUserRequestTest.php +++ b/test/Model/UpdateUserRequestTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ @@ -194,4 +194,13 @@ public function testPropertyAssetQuotaMb() // TODO: implement self::markTestIncomplete('Not implemented'); } + + /** + * Test attribute "monthly_automation_limit_per_user" + */ + public function testPropertyMonthlyAutomationLimitPerUser() + { + // TODO: implement + self::markTestIncomplete('Not implemented'); + } } diff --git a/test/Model/UpdateViewFiltersInnerTest.php b/test/Model/UpdateViewFiltersInnerTest.php index ee0606ca..06a6557e 100644 --- a/test/Model/UpdateViewFiltersInnerTest.php +++ b/test/Model/UpdateViewFiltersInnerTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/UpdateViewTest.php b/test/Model/UpdateViewTest.php index 19d9d3af..198a0874 100644 --- a/test/Model/UpdateViewTest.php +++ b/test/Model/UpdateViewTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/UrlColumnTest.php b/test/Model/UrlColumnTest.php index b325d6a6..768e7e28 100644 --- a/test/Model/UrlColumnTest.php +++ b/test/Model/UrlColumnTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/UrlColumnWithTableNameTest.php b/test/Model/UrlColumnWithTableNameTest.php index dc48f069..64d1e2ac 100644 --- a/test/Model/UrlColumnWithTableNameTest.php +++ b/test/Model/UrlColumnWithTableNameTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/UsersInfoTest.php b/test/Model/UsersInfoTest.php index ff640dee..ce942826 100644 --- a/test/Model/UsersInfoTest.php +++ b/test/Model/UsersInfoTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/XDaysBeforeRunningTheTaskValueTest.php b/test/Model/XDaysBeforeRunningTheTaskValueTest.php index b8c081a2..bb0e52ce 100644 --- a/test/Model/XDaysBeforeRunningTheTaskValueTest.php +++ b/test/Model/XDaysBeforeRunningTheTaskValueTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/XxxExactDateTest.php b/test/Model/XxxExactDateTest.php index d1db63ae..fb663ff9 100644 --- a/test/Model/XxxExactDateTest.php +++ b/test/Model/XxxExactDateTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/XxxNumberOfDaysAgoTest.php b/test/Model/XxxNumberOfDaysAgoTest.php index 36836e9d..87563832 100644 --- a/test/Model/XxxNumberOfDaysAgoTest.php +++ b/test/Model/XxxNumberOfDaysAgoTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/XxxNumberOfDaysFromNowTest.php b/test/Model/XxxNumberOfDaysFromNowTest.php index 8abb60b2..f05ab291 100644 --- a/test/Model/XxxNumberOfDaysFromNowTest.php +++ b/test/Model/XxxNumberOfDaysFromNowTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/XxxOneMonthAgoTest.php b/test/Model/XxxOneMonthAgoTest.php index e8fa39cc..d5fac8ca 100644 --- a/test/Model/XxxOneMonthAgoTest.php +++ b/test/Model/XxxOneMonthAgoTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/XxxOneMonthFromNowTest.php b/test/Model/XxxOneMonthFromNowTest.php index 8ce770ba..682423d2 100644 --- a/test/Model/XxxOneMonthFromNowTest.php +++ b/test/Model/XxxOneMonthFromNowTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/XxxOneWeekAgoTest.php b/test/Model/XxxOneWeekAgoTest.php index 0703d7af..a900fb20 100644 --- a/test/Model/XxxOneWeekAgoTest.php +++ b/test/Model/XxxOneWeekAgoTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/XxxOneWeekFromNowTest.php b/test/Model/XxxOneWeekFromNowTest.php index 4048e7c6..0d5af424 100644 --- a/test/Model/XxxOneWeekFromNowTest.php +++ b/test/Model/XxxOneWeekFromNowTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/XxxTodayTest.php b/test/Model/XxxTodayTest.php index 38a26cf3..380309dc 100644 --- a/test/Model/XxxTodayTest.php +++ b/test/Model/XxxTodayTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/XxxTomorrowTest.php b/test/Model/XxxTomorrowTest.php index 139fdad1..21349f88 100644 --- a/test/Model/XxxTomorrowTest.php +++ b/test/Model/XxxTomorrowTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */ diff --git a/test/Model/XxxYesterdayTest.php b/test/Model/XxxYesterdayTest.php index 7daca0ca..afe9eb8a 100644 --- a/test/Model/XxxYesterdayTest.php +++ b/test/Model/XxxYesterdayTest.php @@ -15,7 +15,7 @@ * * The official SeaTable API Reference (OpenAPI 3.0). * - * The version of the OpenAPI document: 6.0 + * The version of the OpenAPI document: 6.1 * Generated by: https://openapi-generator.tech */