Skip to content

Commit bb380db

Browse files
Update clients to latest platform release (4.0.15)
1 parent 5487c6f commit bb380db

17 files changed

+605
-73
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ No description provided (generated by Openapi Generator https://github.com/opena
44
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
55

66
- API version: 0.1.0
7-
- Package version: 4.0.13
7+
- Package version: 4.0.15
88
- Generator version: 7.9.0
99
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
1010

@@ -99,6 +99,7 @@ Class | Method | HTTP request | Description
9999
*EXTERNALApi* | [**create_compute_deployment_deployments_compute_post**](docs/EXTERNALApi.md#create_compute_deployment_deployments_compute_post) | **POST** /deployments/compute | Create Compute Deployment
100100
*EXTERNALApi* | [**create_cserve_v2_deployment_deployments_cserve_v2_post**](docs/EXTERNALApi.md#create_cserve_v2_deployment_deployments_cserve_v2_post) | **POST** /deployments/cserve_v2 | Create Cserve V2 Deployment
101101
*EXTERNALApi* | [**create_inference_deployment_deployments_inference_post**](docs/EXTERNALApi.md#create_inference_deployment_deployments_inference_post) | **POST** /deployments/inference | Create Inference Deployment
102+
*EXTERNALApi* | [**create_new_organization_organizations_post**](docs/EXTERNALApi.md#create_new_organization_organizations_post) | **POST** /organizations | Create New Organization
102103
*EXTERNALApi* | [**create_rag_deployment_deployments_rag_post**](docs/EXTERNALApi.md#create_rag_deployment_deployments_rag_post) | **POST** /deployments/rag | Create Rag Deployment
103104
*EXTERNALApi* | [**create_setup_payments_setup_checkout_post**](docs/EXTERNALApi.md#create_setup_payments_setup_checkout_post) | **POST** /payments/setup_checkout | Create Setup
104105
*EXTERNALApi* | [**create_support_ticket_support_post**](docs/EXTERNALApi.md#create_support_ticket_support_post) | **POST** /support | Create Support Ticket
@@ -152,6 +153,8 @@ Class | Method | HTTP request | Description
152153
- [CreateComputeDeploymentResponse](docs/CreateComputeDeploymentResponse.md)
153154
- [CreateInferenceDeploymentRequest](docs/CreateInferenceDeploymentRequest.md)
154155
- [CreateInferenceDeploymentResponse](docs/CreateInferenceDeploymentResponse.md)
156+
- [CreateOrganizationRequest](docs/CreateOrganizationRequest.md)
157+
- [CreateOrganizationResponse](docs/CreateOrganizationResponse.md)
155158
- [CreateRagDeploymentRequest](docs/CreateRagDeploymentRequest.md)
156159
- [CreateRagDeploymentResponse](docs/CreateRagDeploymentResponse.md)
157160
- [CreateSetupCheckoutRequest](docs/CreateSetupCheckoutRequest.md)
@@ -191,7 +194,6 @@ Class | Method | HTTP request | Description
191194
- [PodStatus](docs/PodStatus.md)
192195
- [PrebuiltImageResponse](docs/PrebuiltImageResponse.md)
193196
- [ServiceStatus](docs/ServiceStatus.md)
194-
- [SetupUserResponse](docs/SetupUserResponse.md)
195197
- [TicketCategory](docs/TicketCategory.md)
196198
- [TicketPriority](docs/TicketPriority.md)
197199
- [UpdateAutochargePreferencesRequest](docs/UpdateAutochargePreferencesRequest.md)

docs/CreateOrganizationRequest.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# CreateOrganizationRequest
2+
3+
4+
## Properties
5+
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**name** | **str** | |
9+
10+
## Example
11+
12+
```python
13+
from platform_api_python_client.models.create_organization_request import CreateOrganizationRequest
14+
15+
# TODO update the JSON string below
16+
json = "{}"
17+
# create an instance of CreateOrganizationRequest from a JSON string
18+
create_organization_request_instance = CreateOrganizationRequest.from_json(json)
19+
# print the JSON string representation of the object
20+
print(CreateOrganizationRequest.to_json())
21+
22+
# convert the object into a dict
23+
create_organization_request_dict = create_organization_request_instance.to_dict()
24+
# create an instance of CreateOrganizationRequest from a dict
25+
create_organization_request_from_dict = CreateOrganizationRequest.from_dict(create_organization_request_dict)
26+
```
27+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
28+
29+

docs/CreateOrganizationResponse.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# CreateOrganizationResponse
2+
3+
4+
## Properties
5+
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**id** | **str** | |
9+
**name** | **str** | |
10+
11+
## Example
12+
13+
```python
14+
from platform_api_python_client.models.create_organization_response import CreateOrganizationResponse
15+
16+
# TODO update the JSON string below
17+
json = "{}"
18+
# create an instance of CreateOrganizationResponse from a JSON string
19+
create_organization_response_instance = CreateOrganizationResponse.from_json(json)
20+
# print the JSON string representation of the object
21+
print(CreateOrganizationResponse.to_json())
22+
23+
# convert the object into a dict
24+
create_organization_response_dict = create_organization_response_instance.to_dict()
25+
# create an instance of CreateOrganizationResponse from a dict
26+
create_organization_response_from_dict = CreateOrganizationResponse.from_dict(create_organization_response_dict)
27+
```
28+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
29+
30+

docs/EXTERNALApi.md

Lines changed: 81 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Method | HTTP request | Description
99
[**create_compute_deployment_deployments_compute_post**](EXTERNALApi.md#create_compute_deployment_deployments_compute_post) | **POST** /deployments/compute | Create Compute Deployment
1010
[**create_cserve_v2_deployment_deployments_cserve_v2_post**](EXTERNALApi.md#create_cserve_v2_deployment_deployments_cserve_v2_post) | **POST** /deployments/cserve_v2 | Create Cserve V2 Deployment
1111
[**create_inference_deployment_deployments_inference_post**](EXTERNALApi.md#create_inference_deployment_deployments_inference_post) | **POST** /deployments/inference | Create Inference Deployment
12+
[**create_new_organization_organizations_post**](EXTERNALApi.md#create_new_organization_organizations_post) | **POST** /organizations | Create New Organization
1213
[**create_rag_deployment_deployments_rag_post**](EXTERNALApi.md#create_rag_deployment_deployments_rag_post) | **POST** /deployments/rag | Create Rag Deployment
1314
[**create_setup_payments_setup_checkout_post**](EXTERNALApi.md#create_setup_payments_setup_checkout_post) | **POST** /payments/setup_checkout | Create Setup
1415
[**create_support_ticket_support_post**](EXTERNALApi.md#create_support_ticket_support_post) | **POST** /support | Create Support Ticket
@@ -437,6 +438,84 @@ Name | Type | Description | Notes
437438

438439
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
439440

441+
# **create_new_organization_organizations_post**
442+
> CreateOrganizationResponse create_new_organization_organizations_post(create_organization_request)
443+
444+
Create New Organization
445+
446+
### Example
447+
448+
* Bearer Authentication (HTTPBearer):
449+
450+
```python
451+
import platform_api_python_client
452+
from platform_api_python_client.models.create_organization_request import CreateOrganizationRequest
453+
from platform_api_python_client.models.create_organization_response import CreateOrganizationResponse
454+
from platform_api_python_client.rest import ApiException
455+
from pprint import pprint
456+
457+
# Defining the host is optional and defaults to http://localhost
458+
# See configuration.py for a list of all supported configuration parameters.
459+
configuration = platform_api_python_client.Configuration(
460+
host = "http://localhost"
461+
)
462+
463+
# The client must configure the authentication and authorization parameters
464+
# in accordance with the API server security policy.
465+
# Examples for each auth method are provided below, use the example that
466+
# satisfies your auth use case.
467+
468+
# Configure Bearer authorization: HTTPBearer
469+
configuration = platform_api_python_client.Configuration(
470+
access_token = os.environ["BEARER_TOKEN"]
471+
)
472+
473+
# Enter a context with an instance of the API client
474+
with platform_api_python_client.ApiClient(configuration) as api_client:
475+
# Create an instance of the API class
476+
api_instance = platform_api_python_client.EXTERNALApi(api_client)
477+
create_organization_request = platform_api_python_client.CreateOrganizationRequest() # CreateOrganizationRequest |
478+
479+
try:
480+
# Create New Organization
481+
api_response = api_instance.create_new_organization_organizations_post(create_organization_request)
482+
print("The response of EXTERNALApi->create_new_organization_organizations_post:\n")
483+
pprint(api_response)
484+
except Exception as e:
485+
print("Exception when calling EXTERNALApi->create_new_organization_organizations_post: %s\n" % e)
486+
```
487+
488+
489+
490+
### Parameters
491+
492+
493+
Name | Type | Description | Notes
494+
------------- | ------------- | ------------- | -------------
495+
**create_organization_request** | [**CreateOrganizationRequest**](CreateOrganizationRequest.md)| |
496+
497+
### Return type
498+
499+
[**CreateOrganizationResponse**](CreateOrganizationResponse.md)
500+
501+
### Authorization
502+
503+
[HTTPBearer](../README.md#HTTPBearer)
504+
505+
### HTTP request headers
506+
507+
- **Content-Type**: application/json
508+
- **Accept**: application/json
509+
510+
### HTTP response details
511+
512+
| Status code | Description | Response headers |
513+
|-------------|-------------|------------------|
514+
**200** | Successful Response | - |
515+
**422** | Validation Error | - |
516+
517+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
518+
440519
# **create_rag_deployment_deployments_rag_post**
441520
> CreateRagDeploymentResponse create_rag_deployment_deployments_rag_post(create_rag_deployment_request)
442521
@@ -2522,7 +2601,7 @@ Name | Type | Description | Notes
25222601
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
25232602

25242603
# **setup_stripe_customer_payments_setup_post**
2525-
> SetupUserResponse setup_stripe_customer_payments_setup_post()
2604+
> object setup_stripe_customer_payments_setup_post()
25262605
25272606
Setup Stripe Customer
25282607

@@ -2532,7 +2611,6 @@ Setup Stripe Customer
25322611

25332612
```python
25342613
import platform_api_python_client
2535-
from platform_api_python_client.models.setup_user_response import SetupUserResponse
25362614
from platform_api_python_client.rest import ApiException
25372615
from pprint import pprint
25382616

@@ -2574,7 +2652,7 @@ This endpoint does not need any parameter.
25742652

25752653
### Return type
25762654

2577-
[**SetupUserResponse**](SetupUserResponse.md)
2655+
**object**
25782656

25792657
### Authorization
25802658

docs/SetupUserResponse.md

Lines changed: 0 additions & 29 deletions
This file was deleted.

platform_api_python_client/__init__.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
""" # noqa: E501
1515

1616

17-
__version__ = "4.0.13"
17+
__version__ = "4.0.15"
1818

1919
# import apis into sdk package
2020
from platform_api_python_client.api.external_api import EXTERNALApi
@@ -44,6 +44,8 @@
4444
from platform_api_python_client.models.create_compute_deployment_response import CreateComputeDeploymentResponse
4545
from platform_api_python_client.models.create_inference_deployment_request import CreateInferenceDeploymentRequest
4646
from platform_api_python_client.models.create_inference_deployment_response import CreateInferenceDeploymentResponse
47+
from platform_api_python_client.models.create_organization_request import CreateOrganizationRequest
48+
from platform_api_python_client.models.create_organization_response import CreateOrganizationResponse
4749
from platform_api_python_client.models.create_rag_deployment_request import CreateRagDeploymentRequest
4850
from platform_api_python_client.models.create_rag_deployment_response import CreateRagDeploymentResponse
4951
from platform_api_python_client.models.create_setup_checkout_request import CreateSetupCheckoutRequest
@@ -83,7 +85,6 @@
8385
from platform_api_python_client.models.pod_status import PodStatus
8486
from platform_api_python_client.models.prebuilt_image_response import PrebuiltImageResponse
8587
from platform_api_python_client.models.service_status import ServiceStatus
86-
from platform_api_python_client.models.setup_user_response import SetupUserResponse
8788
from platform_api_python_client.models.ticket_category import TicketCategory
8889
from platform_api_python_client.models.ticket_priority import TicketPriority
8990
from platform_api_python_client.models.update_autocharge_preferences_request import UpdateAutochargePreferencesRequest

0 commit comments

Comments
 (0)