Skip to content

Commit

Permalink
rebuilt with updated openapi-client-generator
Browse files Browse the repository at this point in the history
  • Loading branch information
battis committed Apr 20, 2024
1 parent 6fc0748 commit 3b27506
Show file tree
Hide file tree
Showing 249 changed files with 2,878 additions and 2,552 deletions.
7 changes: 1 addition & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,8 @@
}
},
"scripts": {
"docs": [
"rm -rf docs/latest/*",
"docker run --rm -v $(pwd):/data phpdoc/phpdoc:3 --config docs/phpdoc.dist.xml"
],
"build": [
"./runner 'GrotonSchool\\SKY\\Build\\Runner::run'",
"@docs"
"./runner 'GrotonSchool\\SKY\\Build\\Runner::run'"
]
},
"config": {
Expand Down
2 changes: 0 additions & 2 deletions monorepo-builder.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

require __DIR__ . '/vendor/autoload.php';

use GrotonSchool\SKY\MonorepoBuilder\TagDocsReleaseWorker;
use Symplify\MonorepoBuilder\Config\MBConfig;
use Symplify\MonorepoBuilder\Release\ReleaseWorker\PushTagReleaseWorker;
use Symplify\MonorepoBuilder\Release\ReleaseWorker\TagVersionReleaseWorker;
Expand All @@ -18,6 +17,5 @@
$mbConfig->workers([
TagVersionReleaseWorker::class,
PushTagReleaseWorker::class,
TagDocsReleaseWorker::class,
]);
};
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"examples/*"
],
"devDependencies": {
"@battis/eslint-config": "^1.1.2",
"@battis/prettier-config": "^1.3.0"
"@battis/eslint-config": "^1.1.4",
"@battis/prettier-config": "^1.3.2"
},
"prettier": "@battis/prettier-config",
"eslint": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,26 +36,26 @@ class Client extends BaseEndpoint
];

/**
* @var \Blackbaud\SKY\Altru\Administration\Endpoints\Simplelists
* @var ?\Blackbaud\SKY\Altru\Administration\Endpoints\Simplelists
* $_simplelists Routing class for the subnamespace `Simplelists`
*/
protected Simplelists $_simplelists = null;
protected ?Simplelists $_simplelists = null;

/**
* @var \Blackbaud\SKY\Altru\Administration\Endpoints\Codetables
* @var ?\Blackbaud\SKY\Altru\Administration\Endpoints\Codetables
* $_codetables Routing class for the subnamespace `Codetables`
*/
protected Codetables $_codetables = null;
protected ?Codetables $_codetables = null;

/**
* @var \Blackbaud\SKY\Altru\Administration\Endpoints\Sites $_sites
* @var ?\Blackbaud\SKY\Altru\Administration\Endpoints\Sites $_sites
* Routing class for the subnamespace `Sites`
*/
protected Sites $_sites = null;
protected ?Sites $_sites = null;

/**
* @var \Blackbaud\SKY\Altru\Administration\Endpoints\Currencies
* @var ?\Blackbaud\SKY\Altru\Administration\Endpoints\Currencies
* $_currencies Routing class for the subnamespace `Currencies`
*/
protected Currencies $_currencies = null;
protected ?Currencies $_currencies = null;
}
Original file line number Diff line number Diff line change
Expand Up @@ -44,38 +44,38 @@ class Codetables extends BaseEndpoint
];

/**
* @var \Blackbaud\SKY\Altru\Administration\Endpoints\Codetables\Codetableentryid
* @var ?\Blackbaud\SKY\Altru\Administration\Endpoints\Codetables\Codetableentryid
* $_codetableentryid
*/
protected Codetableentryid $_codetableentryid = null;
protected ?Codetableentryid $_codetableentryid = null;

/**
* @var \Blackbaud\SKY\Altru\Administration\Endpoints\Codetables\Entries
* @var ?\Blackbaud\SKY\Altru\Administration\Endpoints\Codetables\Entries
* $_entries
*/
protected Entries $_entries = null;
protected ?Entries $_entries = null;

/**
* @var \Blackbaud\SKY\Altru\Administration\Endpoints\Codetables\Entry
* @var ?\Blackbaud\SKY\Altru\Administration\Endpoints\Codetables\Entry
* $_entry
*/
protected Entry $_entry = null;
protected ?Entry $_entry = null;

/**
* @var \Blackbaud\SKY\Altru\Administration\Endpoints\Codetables\Entryid
* @var ?\Blackbaud\SKY\Altru\Administration\Endpoints\Codetables\Entryid
* $_entryid
*/
protected Entryid $_entryid = null;
protected ?Entryid $_entryid = null;

/**
* @var \Blackbaud\SKY\Altru\Administration\Endpoints\Codetables\Entrydescription
* @var ?\Blackbaud\SKY\Altru\Administration\Endpoints\Codetables\Entrydescription
* $_entrydescription
*/
protected Entrydescription $_entrydescription = null;
protected ?Entrydescription $_entrydescription = null;

/**
* @var \Blackbaud\SKY\Altru\Administration\Endpoints\Codetables\List_
* @var ?\Blackbaud\SKY\Altru\Administration\Endpoints\Codetables\List_
* $_list_
*/
protected List_ $_list_ = null;
protected ?List_ $_list_ = null;
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,17 @@ class Codetableentryid extends BaseEndpoint
* - code_table_name: The name of the code table.
* - entry_id: The code table entry ID.
*
* @return void Returned when the operation succeeds.
* @return mixed Returned when the operation succeeds.
*
* @throws \Battis\OpenAPI\Client\Exceptions\ArgumentException if required
* parameters are not defined
*/
public function deleteByCodeTableNameAndEntryId(array $params): void
public function deleteByCodeTableNameAndEntryId(array $params): mixed
{
assert(isset($params['code_table_name']), new ArgumentException("Parameter `code_table_name` is required"));
assert(isset($params['entry_id']), new ArgumentException("Parameter `entry_id` is required"));

return $this->send("delete", ["{code_table_name}" => $params['code_table_name'],
"{entry_id}" => $params['entry_id']], []);
"{entry_id}" => $params['entry_id']], []);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class Entries extends BaseEndpoint
* @throws \Battis\OpenAPI\Client\Exceptions\ArgumentException if required
* parameters are not defined
*/
public function getByCodeTableName(array $params): CodeTableEntryCollection
public function searchByCodeTableName(array $params): CodeTableEntryCollection
{
assert(isset($params['code_table_name']), new ArgumentException("Parameter `code_table_name` is required"));

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class Entry extends BaseEndpoint
* @throws \Battis\OpenAPI\Client\Exceptions\ArgumentException if required
* parameters are not defined
*/
public function postByCodeTableName(array $params, NewCodeTableEntry $requestBody): PostResponse
public function postToCodeTableName(array $params, NewCodeTableEntry $requestBody): PostResponse
{
assert(isset($params['code_table_name']), new ArgumentException("Parameter `code_table_name` is required"));
assert(isset($params['requestBody']), new ArgumentException("Parameter `requestBody` is required"));
Expand All @@ -50,13 +50,13 @@ public function postByCodeTableName(array $params, NewCodeTableEntry $requestBod
* $requestBody ConfigurationMessage object representing operation
* intended to be updated
*
* @return void Returned when the operation successfully edits the
* @return mixed Returned when the operation successfully edits the
* resource.
*
* @throws \Battis\OpenAPI\Client\Exceptions\ArgumentException if required
* parameters are not defined
*/
public function patchByCodeTableName(array $params, UpdateCodeTable $requestBody): void
public function patchOnCodeTableName(array $params, UpdateCodeTable $requestBody): mixed
{
assert(isset($params['code_table_name']), new ArgumentException("Parameter `code_table_name` is required"));
assert(isset($params['requestBody']), new ArgumentException("Parameter `requestBody` is required"));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ public function getByCodeTableNameAndEntryDescription(array $params): CodeTableE
assert(isset($params['entry_description']), new ArgumentException("Parameter `entry_description` is required"));

return new CodeTableEntryId($this->send("get", ["{code_table_name}" => $params['code_table_name'],
"{entry_description}" => $params['entry_description']], []));
"{entry_description}" => $params['entry_description']], []));
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ public function getByCodeTableNameAndEntryId(array $params): CodeTableEntryDescr
assert(isset($params['entry_id']), new ArgumentException("Parameter `entry_id` is required"));

return new CodeTableEntryDescription($this->send("get", ["{code_table_name}" => $params['code_table_name'],
"{entry_id}" => $params['entry_id']], []));
"{entry_id}" => $params['entry_id']], []));
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@ class List_ extends BaseEndpoint
* @throws \Battis\OpenAPI\Client\Exceptions\ArgumentException if required
* parameters are not defined
*/
public function getByCodeTableId(array $params): CodeTableListCollection
public function searchByCodeTableId(array $params): CodeTableListCollection
{
assert(isset($params['code_table_id']), new ArgumentException("Parameter `code_table_id` is required"));
assert(isset($params['include_inactive']), new ArgumentException("Parameter `include_inactive` is required"));
assert(isset($params['limit']), new ArgumentException("Parameter `limit` is required"));

return new CodeTableListCollection($this->send("get", ["{code_table_id}" => $params['code_table_id']], ["include_inactive" => $params['include_inactive'],
"limit" => $params['limit']]));
"limit" => $params['limit']]));
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ class Currencies extends BaseEndpoint
];

/**
* @var \Blackbaud\SKY\Altru\Administration\Endpoints\Currencies\Currencyconfiguration
* @var ?\Blackbaud\SKY\Altru\Administration\Endpoints\Currencies\Currencyconfiguration
* $_currencyconfiguration
*/
protected Currencyconfiguration $_currencyconfiguration = null;
protected ?Currencyconfiguration $_currencyconfiguration = null;
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ class Simplelists extends BaseEndpoint
];

/**
* @var \Blackbaud\SKY\Altru\Administration\Endpoints\Simplelists\Translation
* @var ?\Blackbaud\SKY\Altru\Administration\Endpoints\Simplelists\Translation
* $_translation
*/
protected Translation $_translation = null;
protected ?Translation $_translation = null;

/**
* Gets the data for a simple datalist using ID or Name and any
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,6 @@ public function getBySimpleListId(array $params): SimpleListTranslation
assert(isset($params['simple_list_name']), new ArgumentException("Parameter `simple_list_name` is required"));

return new SimpleListTranslation($this->send("get", ["{simple_list_id}" => $params['simple_list_id']], ["entry_id" => $params['entry_id'],
"simple_list_name" => $params['simple_list_name']]));
"simple_list_name" => $params['simple_list_name']]));
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ class Sites extends BaseEndpoint
];

/**
* @var \Blackbaud\SKY\Altru\Administration\Endpoints\Sites\Search
* @var ?\Blackbaud\SKY\Altru\Administration\Endpoints\Sites\Search
* $_search
*/
protected Search $_search = null;
protected ?Search $_search = null;
}
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class Search extends BaseEndpoint
* @throws \Battis\OpenAPI\Client\Exceptions\ArgumentException if required
* parameters are not defined
*/
public function filterByBy(array $params): SiteSearchCollection
public function list_(array $params): SiteSearchCollection
{
assert(isset($params['id']), new ArgumentException("Parameter `id` is required"));
assert(isset($params['site_id']), new ArgumentException("Parameter `site_id` is required"));
Expand All @@ -50,11 +50,11 @@ public function filterByBy(array $params): SiteSearchCollection
assert(isset($params['limit']), new ArgumentException("Parameter `limit` is required"));

return new SiteSearchCollection($this->send("get", [], ["id" => $params['id'],
"site_id" => $params['site_id'],
"name" => $params['name'],
"short_name" => $params['short_name'],
"acronym" => $params['acronym'],
"sitetype" => $params['sitetype'],
"limit" => $params['limit']]));
"site_id" => $params['site_id'],
"name" => $params['name'],
"short_name" => $params['short_name'],
"acronym" => $params['acronym'],
"sitetype" => $params['sitetype'],
"limit" => $params['limit']]));
}
}
4 changes: 2 additions & 2 deletions packages/altru-analysis/src/Altru/Analysis/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ class Client extends BaseEndpoint
];

/**
* @var \Blackbaud\SKY\Altru\Analysis\Endpoints\Adhocqueries
* @var ?\Blackbaud\SKY\Altru\Analysis\Endpoints\Adhocqueries
* $_adhocqueries Routing class for the subnamespace `Adhocqueries`
*/
protected Adhocqueries $_adhocqueries = null;
protected ?Adhocqueries $_adhocqueries = null;
}
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ class Adhocqueries extends BaseEndpoint
];

/**
* @var \Blackbaud\SKY\Altru\Analysis\Endpoints\Adhocqueries\Id $_id
* @var ?\Blackbaud\SKY\Altru\Analysis\Endpoints\Adhocqueries\Id $_id
*/
protected Id $_id = null;
protected ?Id $_id = null;

/**
* Gets the results for the given query ID.
Expand Down
Loading

0 comments on commit 3b27506

Please sign in to comment.