Skip to content
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.

Commit

Permalink
Merge pull request #2 from jolicode/main
Browse files Browse the repository at this point in the history
Update the fork to the most recent commit
  • Loading branch information
batbattur authored Jan 5, 2024
2 parents 6c5fdcb + 9a96bb9 commit 5781e8d
Show file tree
Hide file tree
Showing 631 changed files with 4,609 additions and 2,059 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# Changes between versions

## Unreleased
## 4.6.0 (2023-11-10)

* Upgrade JanePHP generated code
* **Specification override** `metadata` added on `chat.postMessage`

## 4.5.0 (2022-03-30)

Expand Down
1,894 changes: 948 additions & 946 deletions generated/Client.php

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions generated/Endpoint/AdminAppsApprove.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ class AdminAppsApprove extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint i
*
* @param array $formParameters {
*
* @var string $app_id the id of the app to approve
* @var string $request_id the id of the request to approve
* @var string $team_id
* }
* @var string $app_id the id of the app to approve
* @var string $request_id the id of the request to approve
* @var string $team_id
* }
*
* @param array $headerParameters {
*
* @var string $token Authentication token. Requires scope: `admin.apps:write`
* }
* @var string $token Authentication token. Requires scope: `admin.apps:write`
* }
*/
public function __construct(array $formParameters = [], array $headerParameters = [])
{
Expand Down
12 changes: 6 additions & 6 deletions generated/Endpoint/AdminAppsApprovedList.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ class AdminAppsApprovedList extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpo
*
* @param array $queryParameters {
*
* @var string $cursor Set `cursor` to `next_cursor` returned by the previous call to list items in the next page
* @var string $enterprise_id
* @var int $limit The maximum number of items to return. Must be between 1 - 1000 both inclusive.
* @var string $team_id
* @var string $token Authentication token. Requires scope: `admin.apps:read`
* }
* @var string $cursor Set `cursor` to `next_cursor` returned by the previous call to list items in the next page
* @var string $enterprise_id
* @var int $limit The maximum number of items to return. Must be between 1 - 1000 both inclusive.
* @var string $team_id
* @var string $token Authentication token. Requires scope: `admin.apps:read`
* }
*/
public function __construct(array $queryParameters = [])
{
Expand Down
10 changes: 5 additions & 5 deletions generated/Endpoint/AdminAppsRequestsList.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ class AdminAppsRequestsList extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpo
*
* @param array $queryParameters {
*
* @var string $cursor Set `cursor` to `next_cursor` returned by the previous call to list items in the next page
* @var int $limit The maximum number of items to return. Must be between 1 - 1000 both inclusive.
* @var string $team_id
* @var string $token Authentication token. Requires scope: `admin.apps:read`
* }
* @var string $cursor Set `cursor` to `next_cursor` returned by the previous call to list items in the next page
* @var int $limit The maximum number of items to return. Must be between 1 - 1000 both inclusive.
* @var string $team_id
* @var string $token Authentication token. Requires scope: `admin.apps:read`
* }
*/
public function __construct(array $queryParameters = [])
{
Expand Down
12 changes: 6 additions & 6 deletions generated/Endpoint/AdminAppsRestrict.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ class AdminAppsRestrict extends \JoliCode\Slack\Api\Runtime\Client\BaseEndpoint
*
* @param array $formParameters {
*
* @var string $app_id the id of the app to restrict
* @var string $request_id the id of the request to restrict
* @var string $team_id
* }
* @var string $app_id the id of the app to restrict
* @var string $request_id the id of the request to restrict
* @var string $team_id
* }
*
* @param array $headerParameters {
*
* @var string $token Authentication token. Requires scope: `admin.apps:write`
* }
* @var string $token Authentication token. Requires scope: `admin.apps:write`
* }
*/
public function __construct(array $formParameters = [], array $headerParameters = [])
{
Expand Down
12 changes: 6 additions & 6 deletions generated/Endpoint/AdminAppsRestrictedList.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ class AdminAppsRestrictedList extends \JoliCode\Slack\Api\Runtime\Client\BaseEnd
*
* @param array $queryParameters {
*
* @var string $cursor Set `cursor` to `next_cursor` returned by the previous call to list items in the next page
* @var string $enterprise_id
* @var int $limit The maximum number of items to return. Must be between 1 - 1000 both inclusive.
* @var string $team_id
* @var string $token Authentication token. Requires scope: `admin.apps:read`
* }
* @var string $cursor Set `cursor` to `next_cursor` returned by the previous call to list items in the next page
* @var string $enterprise_id
* @var int $limit The maximum number of items to return. Must be between 1 - 1000 both inclusive.
* @var string $team_id
* @var string $token Authentication token. Requires scope: `admin.apps:read`
* }
*/
public function __construct(array $queryParameters = [])
{
Expand Down
8 changes: 4 additions & 4 deletions generated/Endpoint/AdminConversationsArchive.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ class AdminConversationsArchive extends \JoliCode\Slack\Api\Runtime\Client\BaseE
*
* @param array $formParameters {
*
* @var string $channel_id The channel to archive.
* }
* @var string $channel_id The channel to archive.
* }
*
* @param array $headerParameters {
*
* @var string $token Authentication token. Requires scope: `admin.conversations:write`
* }
* @var string $token Authentication token. Requires scope: `admin.conversations:write`
* }
*/
public function __construct(array $formParameters = [], array $headerParameters = [])
{
Expand Down
8 changes: 4 additions & 4 deletions generated/Endpoint/AdminConversationsConvertToPrivate.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ class AdminConversationsConvertToPrivate extends \JoliCode\Slack\Api\Runtime\Cli
*
* @param array $formParameters {
*
* @var string $channel_id The channel to convert to private.
* }
* @var string $channel_id The channel to convert to private.
* }
*
* @param array $headerParameters {
*
* @var string $token Authentication token. Requires scope: `admin.conversations:write`
* }
* @var string $token Authentication token. Requires scope: `admin.conversations:write`
* }
*/
public function __construct(array $formParameters = [], array $headerParameters = [])
{
Expand Down
16 changes: 8 additions & 8 deletions generated/Endpoint/AdminConversationsCreate.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,17 @@ class AdminConversationsCreate extends \JoliCode\Slack\Api\Runtime\Client\BaseEn
*
* @param array $formParameters {
*
* @var string $description description of the public or private channel to create
* @var bool $is_private When `true`, creates a private channel instead of a public channel
* @var string $name name of the public or private channel to create
* @var bool $org_wide When `true`, the channel will be available org-wide. Note: if the channel is not `org_wide=true`, you must specify a `team_id` for this channel
* @var string $team_id The workspace to create the channel in. Note: this argument is required unless you set `org_wide=true`.
* }
* @var string $description description of the public or private channel to create
* @var bool $is_private When `true`, creates a private channel instead of a public channel
* @var string $name name of the public or private channel to create
* @var bool $org_wide When `true`, the channel will be available org-wide. Note: if the channel is not `org_wide=true`, you must specify a `team_id` for this channel
* @var string $team_id The workspace to create the channel in. Note: this argument is required unless you set `org_wide=true`.
* }
*
* @param array $headerParameters {
*
* @var string $token Authentication token. Requires scope: `admin.conversations:write`
* }
* @var string $token Authentication token. Requires scope: `admin.conversations:write`
* }
*/
public function __construct(array $formParameters = [], array $headerParameters = [])
{
Expand Down
8 changes: 4 additions & 4 deletions generated/Endpoint/AdminConversationsDelete.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ class AdminConversationsDelete extends \JoliCode\Slack\Api\Runtime\Client\BaseEn
*
* @param array $formParameters {
*
* @var string $channel_id The channel to delete.
* }
* @var string $channel_id The channel to delete.
* }
*
* @param array $headerParameters {
*
* @var string $token Authentication token. Requires scope: `admin.conversations:write`
* }
* @var string $token Authentication token. Requires scope: `admin.conversations:write`
* }
*/
public function __construct(array $formParameters = [], array $headerParameters = [])
{
Expand Down
10 changes: 5 additions & 5 deletions generated/Endpoint/AdminConversationsDisconnectShared.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ class AdminConversationsDisconnectShared extends \JoliCode\Slack\Api\Runtime\Cli
*
* @param array $formParameters {
*
* @var string $channel_id the channel to be disconnected from some workspaces
* @var string $leaving_team_ids The team to be removed from the channel. Currently only a single team id can be specified.
* }
* @var string $channel_id the channel to be disconnected from some workspaces
* @var string $leaving_team_ids The team to be removed from the channel. Currently only a single team id can be specified.
* }
*
* @param array $headerParameters {
*
* @var string $token Authentication token. Requires scope: `admin.conversations:write`
* }
* @var string $token Authentication token. Requires scope: `admin.conversations:write`
* }
*/
public function __construct(array $formParameters = [], array $headerParameters = [])
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ class AdminConversationsEkmListOriginalConnectedChannelInfo extends \JoliCode\Sl
*
* @param array $queryParameters {
*
* @var string $channel_ids a comma-separated list of channels to filter to
* @var string $cursor set `cursor` to `next_cursor` returned by the previous call to list items in the next page
* @var int $limit The maximum number of items to return. Must be between 1 - 1000 both inclusive.
* @var string $team_ids a comma-separated list of the workspaces to which the channels you would like returned belong
* @var string $token Authentication token. Requires scope: `admin.conversations:read`
* }
* @var string $channel_ids a comma-separated list of channels to filter to
* @var string $cursor set `cursor` to `next_cursor` returned by the previous call to list items in the next page
* @var int $limit The maximum number of items to return. Must be between 1 - 1000 both inclusive.
* @var string $team_ids a comma-separated list of the workspaces to which the channels you would like returned belong
* @var string $token Authentication token. Requires scope: `admin.conversations:read`
* }
*/
public function __construct(array $queryParameters = [])
{
Expand Down
8 changes: 4 additions & 4 deletions generated/Endpoint/AdminConversationsGetConversationPrefs.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ class AdminConversationsGetConversationPrefs extends \JoliCode\Slack\Api\Runtime
*
* @param array $queryParameters {
*
* @var string $channel_id The channel to get preferences for.
* }
* @var string $channel_id The channel to get preferences for.
* }
*
* @param array $headerParameters {
*
* @var string $token Authentication token. Requires scope: `admin.conversations:read`
* }
* @var string $token Authentication token. Requires scope: `admin.conversations:read`
* }
*/
public function __construct(array $queryParameters = [], array $headerParameters = [])
{
Expand Down
12 changes: 6 additions & 6 deletions generated/Endpoint/AdminConversationsGetTeams.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ class AdminConversationsGetTeams extends \JoliCode\Slack\Api\Runtime\Client\Base
*
* @param array $queryParameters {
*
* @var string $channel_id the channel to determine connected workspaces within the organization for
* @var string $cursor Set `cursor` to `next_cursor` returned by the previous call to list items in the next page
* @var int $limit The maximum number of items to return. Must be between 1 - 1000 both inclusive.
* }
* @var string $channel_id the channel to determine connected workspaces within the organization for
* @var string $cursor Set `cursor` to `next_cursor` returned by the previous call to list items in the next page
* @var int $limit The maximum number of items to return. Must be between 1 - 1000 both inclusive.
* }
*
* @param array $headerParameters {
*
* @var string $token Authentication token. Requires scope: `admin.conversations:read`
* }
* @var string $token Authentication token. Requires scope: `admin.conversations:read`
* }
*/
public function __construct(array $queryParameters = [], array $headerParameters = [])
{
Expand Down
10 changes: 5 additions & 5 deletions generated/Endpoint/AdminConversationsInvite.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ class AdminConversationsInvite extends \JoliCode\Slack\Api\Runtime\Client\BaseEn
*
* @param array $formParameters {
*
* @var string $channel_id the channel that the users will be invited to
* @var string $user_ids The users to invite.
* }
* @var string $channel_id the channel that the users will be invited to
* @var string $user_ids The users to invite.
* }
*
* @param array $headerParameters {
*
* @var string $token Authentication token. Requires scope: `admin.conversations:write`
* }
* @var string $token Authentication token. Requires scope: `admin.conversations:write`
* }
*/
public function __construct(array $formParameters = [], array $headerParameters = [])
{
Expand Down
10 changes: 5 additions & 5 deletions generated/Endpoint/AdminConversationsRename.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ class AdminConversationsRename extends \JoliCode\Slack\Api\Runtime\Client\BaseEn
*
* @param array $formParameters {
*
* @var string $channel_id the channel to rename
* @var string $name
* }
* @var string $channel_id the channel to rename
* @var string $name
* }
*
* @param array $headerParameters {
*
* @var string $token Authentication token. Requires scope: `admin.conversations:write`
* }
* @var string $token Authentication token. Requires scope: `admin.conversations:write`
* }
*/
public function __construct(array $formParameters = [], array $headerParameters = [])
{
Expand Down
10 changes: 5 additions & 5 deletions generated/Endpoint/AdminConversationsRestrictAccessAddGroup.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ class AdminConversationsRestrictAccessAddGroup extends \JoliCode\Slack\Api\Runti
*
* @param array $formParameters {
*
* @var string $channel_id the channel to link this group to
* @var string $group_id The [IDP Group](https://slack.com/help/articles/115001435788-Connect-identity-provider-groups-to-your-Enterprise-Grid-org) ID to be an allowlist for the private channel.
* @var string $team_id The workspace where the channel exists. This argument is required for channels only tied to one workspace, and optional for channels that are shared across an organization.
* @var string $token Authentication token. Requires scope: `admin.conversations:write`
* }
* @var string $channel_id the channel to link this group to
* @var string $group_id The [IDP Group](https://slack.com/help/articles/115001435788-Connect-identity-provider-groups-to-your-Enterprise-Grid-org) ID to be an allowlist for the private channel.
* @var string $team_id The workspace where the channel exists. This argument is required for channels only tied to one workspace, and optional for channels that are shared across an organization.
* @var string $token Authentication token. Requires scope: `admin.conversations:write`
* }
*/
public function __construct(array $formParameters = [])
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ class AdminConversationsRestrictAccessListGroups extends \JoliCode\Slack\Api\Run
*
* @param array $queryParameters {
*
* @var string $channel_id
* @var string $team_id The workspace where the channel exists. This argument is required for channels only tied to one workspace, and optional for channels that are shared across an organization.
* @var string $token Authentication token. Requires scope: `admin.conversations:read`
* }
* @var string $channel_id
* @var string $team_id The workspace where the channel exists. This argument is required for channels only tied to one workspace, and optional for channels that are shared across an organization.
* @var string $token Authentication token. Requires scope: `admin.conversations:read`
* }
*/
public function __construct(array $queryParameters = [])
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ class AdminConversationsRestrictAccessRemoveGroup extends \JoliCode\Slack\Api\Ru
*
* @param array $formParameters {
*
* @var string $channel_id the channel to remove the linked group from
* @var string $group_id The [IDP Group](https://slack.com/help/articles/115001435788-Connect-identity-provider-groups-to-your-Enterprise-Grid-org) ID to remove from the private channel.
* @var string $team_id The workspace where the channel exists. This argument is required for channels only tied to one workspace, and optional for channels that are shared across an organization.
* @var string $token Authentication token. Requires scope: `admin.conversations:write`
* }
* @var string $channel_id the channel to remove the linked group from
* @var string $group_id The [IDP Group](https://slack.com/help/articles/115001435788-Connect-identity-provider-groups-to-your-Enterprise-Grid-org) ID to remove from the private channel.
* @var string $team_id The workspace where the channel exists. This argument is required for channels only tied to one workspace, and optional for channels that are shared across an organization.
* @var string $token Authentication token. Requires scope: `admin.conversations:write`
* }
*/
public function __construct(array $formParameters = [])
{
Expand Down
Loading

0 comments on commit 5781e8d

Please sign in to comment.