Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,437 changes: 530 additions & 907 deletions schema/openapispec-upsun.json

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions src/Api/AddOnsApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ public function __construct(
* @throws ApiException on non-2xx response or if the response body is not in the expected format
* @throws ClientExceptionInterface
* @see https://docs.upsun.com/api/#tag/Add-ons/operation/get-org-addons
*
* @deprecated
*/
public function getOrgAddons(
string $organizationId
Expand All @@ -73,6 +75,8 @@ public function getOrgAddons(
/**
* Get add-ons with HTTP Info
*
* @deprecated
*
* @param string $organizationId
* The ID of the organization. Prefix with name= to retrieve the organization by
* name instead. (required)
Expand Down Expand Up @@ -122,6 +126,8 @@ private function getOrgAddonsWithHttpInfo(
* name instead. (required)
*
* @throws InvalidArgumentException
*
* @deprecated
*/
private function getOrgAddonsRequest(
string $organizationId
Expand Down
6 changes: 6 additions & 0 deletions src/Api/DiscountsApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,8 @@ private function getTypeAllowanceRequest(): RequestInterface
* @throws ApiException on non-2xx response or if the response body is not in the expected format
* @throws ClientExceptionInterface
* @see https://docs.upsun.com/api/#tag/Discounts/operation/list-org-discounts
*
* @deprecated
*/
public function listOrgDiscounts(
string $organizationId
Expand All @@ -350,6 +352,8 @@ public function listOrgDiscounts(
/**
* List organization discounts with HTTP Info
*
* @deprecated
*
* @param string $organizationId
* The ID of the organization. Prefix with name= to retrieve the organization by
* name instead. (required)
Expand Down Expand Up @@ -399,6 +403,8 @@ private function listOrgDiscountsWithHttpInfo(
* name instead. (required)
*
* @throws InvalidArgumentException
*
* @deprecated
*/
private function listOrgDiscountsRequest(
string $organizationId
Expand Down
12 changes: 12 additions & 0 deletions src/Api/InvoicesApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ public function __construct(
* @throws ApiException on non-2xx response or if the response body is not in the expected format
* @throws ClientExceptionInterface
* @see https://docs.upsun.com/api/#tag/Invoices/operation/get-org-invoice
*
* @deprecated
*/
public function getOrgInvoice(
string $invoiceId,
Expand All @@ -78,6 +80,8 @@ public function getOrgInvoice(
/**
* Get invoice with HTTP Info
*
* @deprecated
*
* @param string $invoiceId
* The ID of the invoice. (required)
* @param string $organizationId
Expand Down Expand Up @@ -133,6 +137,8 @@ private function getOrgInvoiceWithHttpInfo(
* name instead. (required)
*
* @throws InvalidArgumentException
*
* @deprecated
*/
private function getOrgInvoiceRequest(
string $invoiceId,
Expand Down Expand Up @@ -256,6 +262,8 @@ private function getOrgInvoiceRequest(
* @throws ApiException on non-2xx response or if the response body is not in the expected format
* @throws ClientExceptionInterface
* @see https://docs.upsun.com/api/#tag/Invoices/operation/list-org-invoices
*
* @deprecated
*/
public function listOrgInvoices(
string $organizationId,
Expand All @@ -276,6 +284,8 @@ public function listOrgInvoices(
/**
* List invoices with HTTP Info
*
* @deprecated
*
* @param string $organizationId
* The ID of the organization. Prefix with name= to retrieve the organization by
* name instead. (required)
Expand Down Expand Up @@ -351,6 +361,8 @@ private function listOrgInvoicesWithHttpInfo(
* Page to be displayed. Defaults to 1. (optional)
*
* @throws InvalidArgumentException
*
* @deprecated
*/
private function listOrgInvoicesRequest(
string $organizationId,
Expand Down
18 changes: 18 additions & 0 deletions src/Api/OrdersApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ public function __construct(
* @throws ApiException on non-2xx response or if the response body is not in the expected format
* @throws ClientExceptionInterface
* @see https://docs.upsun.com/api/#tag/Orders/operation/create-authorization-credentials
*
* @deprecated
*/
public function createAuthorizationCredentials(
string $organizationId,
Expand All @@ -79,6 +81,8 @@ public function createAuthorizationCredentials(
/**
* Create confirmation credentials for for 3D-Secure with HTTP Info
*
* @deprecated
*
* @param string $organizationId
* The ID of the organization. Prefix with name= to retrieve the organization by
* name instead. (required)
Expand Down Expand Up @@ -134,6 +138,8 @@ private function createAuthorizationCredentialsWithHttpInfo(
* The ID of the order. (required)
*
* @throws InvalidArgumentException
*
* @deprecated
*/
private function createAuthorizationCredentialsRequest(
string $organizationId,
Expand Down Expand Up @@ -406,6 +412,8 @@ private function downloadInvoiceRequest(
* @throws ApiException on non-2xx response or if the response body is not in the expected format
* @throws ClientExceptionInterface
* @see https://docs.upsun.com/api/#tag/Orders/operation/get-org-order
*
* @deprecated
*/
public function getOrgOrder(
string $organizationId,
Expand All @@ -422,6 +430,8 @@ public function getOrgOrder(
/**
* Get order with HTTP Info
*
* @deprecated
*
* @param string $organizationId
* The ID of the organization. Prefix with name= to retrieve the organization by
* name instead. (required)
Expand Down Expand Up @@ -483,6 +493,8 @@ private function getOrgOrderWithHttpInfo(
* The output mode. (optional)
*
* @throws InvalidArgumentException
*
* @deprecated
*/
private function getOrgOrderRequest(
string $organizationId,
Expand Down Expand Up @@ -619,6 +631,8 @@ private function getOrgOrderRequest(
* @throws ApiException on non-2xx response or if the response body is not in the expected format
* @throws ClientExceptionInterface
* @see https://docs.upsun.com/api/#tag/Orders/operation/list-org-orders
*
* @deprecated
*/
public function listOrgOrders(
string $organizationId,
Expand All @@ -639,6 +653,8 @@ public function listOrgOrders(
/**
* List orders with HTTP Info
*
* @deprecated
*
* @param string $organizationId
* The ID of the organization. Prefix with name= to retrieve the organization by
* name instead. (required)
Expand Down Expand Up @@ -712,6 +728,8 @@ private function listOrgOrdersWithHttpInfo(
* The output mode. (optional)
*
* @throws InvalidArgumentException
*
* @deprecated
*/
private function listOrgOrdersRequest(
string $organizationId,
Expand Down
30 changes: 30 additions & 0 deletions src/Api/OrganizationManagementApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ public function __construct(
* @throws ApiException on non-2xx response or if the response body is not in the expected format
* @throws ClientExceptionInterface
* @see https://docs.upsun.com/api/#tag/Organization-Management/operation/estimate-org
*
* @deprecated
*/
public function estimateOrg(
string $organizationId
Expand All @@ -76,6 +78,8 @@ public function estimateOrg(
/**
* Estimate total spend with HTTP Info
*
* @deprecated
*
* @param string $organizationId
* The ID of the organization. Prefix with name= to retrieve the organization by
* name instead. (required)
Expand Down Expand Up @@ -125,6 +129,8 @@ private function estimateOrgWithHttpInfo(
* name instead. (required)
*
* @throws InvalidArgumentException
*
* @deprecated
*/
private function estimateOrgRequest(
string $organizationId
Expand Down Expand Up @@ -222,6 +228,8 @@ private function estimateOrgRequest(
* @throws ApiException on non-2xx response or if the response body is not in the expected format
* @throws ClientExceptionInterface
* @see https://docs.upsun.com/api/#tag/Organization-Management/operation/get-org-billing-alert-config
*
* @deprecated
*/
public function getOrgBillingAlertConfig(
string $organizationId
Expand All @@ -234,6 +242,8 @@ public function getOrgBillingAlertConfig(
/**
* Get billing alert configuration with HTTP Info
*
* @deprecated
*
* @param string $organizationId
* The ID of the organization. Prefix with name= to retrieve the organization by
* name instead. (required)
Expand Down Expand Up @@ -283,6 +293,8 @@ private function getOrgBillingAlertConfigWithHttpInfo(
* name instead. (required)
*
* @throws InvalidArgumentException
*
* @deprecated
*/
private function getOrgBillingAlertConfigRequest(
string $organizationId
Expand Down Expand Up @@ -379,6 +391,8 @@ private function getOrgBillingAlertConfigRequest(
* @throws ApiException on non-2xx response or if the response body is not in the expected format
* @throws ClientExceptionInterface
* @see https://docs.upsun.com/api/#tag/Organization-Management/operation/get-org-prepayment-info
*
* @deprecated
*/
public function getOrgPrepaymentInfo(
string $organizationId
Expand All @@ -391,6 +405,8 @@ public function getOrgPrepaymentInfo(
/**
* Get organization prepayment information with HTTP Info
*
* @deprecated
*
* @param string $organizationId
* The ID of the organization. (required)
*
Expand Down Expand Up @@ -438,6 +454,8 @@ private function getOrgPrepaymentInfoWithHttpInfo(
* The ID of the organization. (required)
*
* @throws InvalidArgumentException
*
* @deprecated
*/
private function getOrgPrepaymentInfoRequest(
string $organizationId
Expand Down Expand Up @@ -534,6 +552,8 @@ private function getOrgPrepaymentInfoRequest(
* @throws ApiException on non-2xx response or if the response body is not in the expected format
* @throws ClientExceptionInterface
* @see https://docs.upsun.com/api/#tag/Organization-Management/operation/list-org-prepayment-transactions
*
* @deprecated
*/
public function listOrgPrepaymentTransactions(
string $organizationId
Expand All @@ -546,6 +566,8 @@ public function listOrgPrepaymentTransactions(
/**
* List organization prepayment transactions with HTTP Info
*
* @deprecated
*
* @param string $organizationId
* The ID of the organization. (required)
*
Expand Down Expand Up @@ -593,6 +615,8 @@ private function listOrgPrepaymentTransactionsWithHttpInfo(
* The ID of the organization. (required)
*
* @throws InvalidArgumentException
*
* @deprecated
*/
private function listOrgPrepaymentTransactionsRequest(
string $organizationId
Expand Down Expand Up @@ -690,6 +714,8 @@ private function listOrgPrepaymentTransactionsRequest(
* @throws ApiException on non-2xx response or if the response body is not in the expected format
* @throws ClientExceptionInterface
* @see https://docs.upsun.com/api/#tag/Organization-Management/operation/update-org-billing-alert-config
*
* @deprecated
*/
public function updateOrgBillingAlertConfig(
string $organizationId,
Expand All @@ -704,6 +730,8 @@ public function updateOrgBillingAlertConfig(
/**
* Update billing alert configuration with HTTP Info
*
* @deprecated
*
* @param string $organizationId
* The ID of the organization. Prefix with name= to retrieve the organization by
* name instead. (required)
Expand Down Expand Up @@ -755,6 +783,8 @@ private function updateOrgBillingAlertConfigWithHttpInfo(
* name instead. (required)
*
* @throws InvalidArgumentException
*
* @deprecated
*/
private function updateOrgBillingAlertConfigRequest(
string $organizationId,
Expand Down
Loading
Loading