aurigma-asset-generator-api-client 1.0.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- aurigma_asset_generator_api_client-1.0.0/PKG-INFO +182 -0
- aurigma_asset_generator_api_client-1.0.0/README.md +171 -0
- aurigma_asset_generator_api_client-1.0.0/pyproject.toml +23 -0
- aurigma_asset_generator_api_client-1.0.0/setup.cfg +4 -0
- aurigma_asset_generator_api_client-1.0.0/src/aurigma/asset_generator/__init__.py +80 -0
- aurigma_asset_generator_api_client-1.0.0/src/aurigma/asset_generator/api/__init__.py +7 -0
- aurigma_asset_generator_api_client-1.0.0/src/aurigma/asset_generator/api/build_info_api.py +513 -0
- aurigma_asset_generator_api_client-1.0.0/src/aurigma/asset_generator/api/mockup_generator_api.py +1816 -0
- aurigma_asset_generator_api_client-1.0.0/src/aurigma/asset_generator/api/tenants_api.py +1431 -0
- aurigma_asset_generator_api_client-1.0.0/src/aurigma/asset_generator/api_client.py +807 -0
- aurigma_asset_generator_api_client-1.0.0/src/aurigma/asset_generator/api_response.py +21 -0
- aurigma_asset_generator_api_client-1.0.0/src/aurigma/asset_generator/configuration.py +637 -0
- aurigma_asset_generator_api_client-1.0.0/src/aurigma/asset_generator/exceptions.py +219 -0
- aurigma_asset_generator_api_client-1.0.0/src/aurigma/asset_generator/models/__init__.py +30 -0
- aurigma_asset_generator_api_client-1.0.0/src/aurigma/asset_generator/models/bad_request_dto.py +106 -0
- aurigma_asset_generator_api_client-1.0.0/src/aurigma/asset_generator/models/build_info_model.py +139 -0
- aurigma_asset_generator_api_client-1.0.0/src/aurigma/asset_generator/models/conflict_dto.py +106 -0
- aurigma_asset_generator_api_client-1.0.0/src/aurigma/asset_generator/models/mockup_creation_model.py +120 -0
- aurigma_asset_generator_api_client-1.0.0/src/aurigma/asset_generator/models/mockup_generation_result.py +115 -0
- aurigma_asset_generator_api_client-1.0.0/src/aurigma/asset_generator/models/mockup_spec_dto.py +104 -0
- aurigma_asset_generator_api_client-1.0.0/src/aurigma/asset_generator/models/mockup_spec_param_dto.py +138 -0
- aurigma_asset_generator_api_client-1.0.0/src/aurigma/asset_generator/models/mockup_spec_param_rules_dto.py +127 -0
- aurigma_asset_generator_api_client-1.0.0/src/aurigma/asset_generator/models/mockup_spec_params_validation_result_dto.py +112 -0
- aurigma_asset_generator_api_client-1.0.0/src/aurigma/asset_generator/models/problem_details.py +133 -0
- aurigma_asset_generator_api_client-1.0.0/src/aurigma/asset_generator/models/spec_group_type.py +36 -0
- aurigma_asset_generator_api_client-1.0.0/src/aurigma/asset_generator/models/tenant_creation_model.py +95 -0
- aurigma_asset_generator_api_client-1.0.0/src/aurigma/asset_generator/models/tenant_dto.py +95 -0
- aurigma_asset_generator_api_client-1.0.0/src/aurigma/asset_generator/models/tenant_update_model.py +93 -0
- aurigma_asset_generator_api_client-1.0.0/src/aurigma/asset_generator/py.typed +0 -0
- aurigma_asset_generator_api_client-1.0.0/src/aurigma/asset_generator/rest.py +199 -0
- aurigma_asset_generator_api_client-1.0.0/src/aurigma_asset_generator_api_client.egg-info/PKG-INFO +182 -0
- aurigma_asset_generator_api_client-1.0.0/src/aurigma_asset_generator_api_client.egg-info/SOURCES.txt +33 -0
- aurigma_asset_generator_api_client-1.0.0/src/aurigma_asset_generator_api_client.egg-info/dependency_links.txt +1 -0
- aurigma_asset_generator_api_client-1.0.0/src/aurigma_asset_generator_api_client.egg-info/requires.txt +6 -0
- aurigma_asset_generator_api_client-1.0.0/src/aurigma_asset_generator_api_client.egg-info/top_level.txt +1 -0
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: aurigma-asset-generator-api-client
|
|
3
|
+
Version: 1.0.0
|
|
4
|
+
Summary: Aurigma Asset Generator API client
|
|
5
|
+
Requires-Python: >=3.9
|
|
6
|
+
Description-Content-Type: text/markdown
|
|
7
|
+
Requires-Dist: python-dateutil>=2.8.2
|
|
8
|
+
Requires-Dist: httpx>=0.28.1
|
|
9
|
+
Requires-Dist: pydantic<3,>=2
|
|
10
|
+
Requires-Dist: typing-extensions>=4.7.1; python_version < "3.11"
|
|
11
|
+
|
|
12
|
+
# aurigma-asset-generator-api-client
|
|
13
|
+
|
|
14
|
+
Python client library for [Aurigma Asset Generator API](https://customerscanvas.com/dev/backoffice/api/asset-generator/overview.html).
|
|
15
|
+
|
|
16
|
+
## Requirements.
|
|
17
|
+
|
|
18
|
+
- Python 3.9+
|
|
19
|
+
- Dependencies:
|
|
20
|
+
- python-dateutil>=2.8.2
|
|
21
|
+
- httpx>=0.28.1
|
|
22
|
+
- pydantic>=2
|
|
23
|
+
- typing-extensions>=4.7.1
|
|
24
|
+
|
|
25
|
+
## Installation & Usage
|
|
26
|
+
### pip install
|
|
27
|
+
|
|
28
|
+
```sh
|
|
29
|
+
pip install aurigma-asset-generator-api-client
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
Then import the package:
|
|
33
|
+
```python
|
|
34
|
+
import aurigma.asset_generator
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
## Getting Started
|
|
38
|
+
|
|
39
|
+
Please follow the [installation procedure](#installation--usage) and then run the following:
|
|
40
|
+
|
|
41
|
+
```python
|
|
42
|
+
|
|
43
|
+
import aurigma.asset_generator
|
|
44
|
+
from aurigma.asset_generator.rest import ApiException
|
|
45
|
+
from pprint import pprint
|
|
46
|
+
|
|
47
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
48
|
+
configuration = aurigma.asset_generator.Configuration(
|
|
49
|
+
host = "http://api.customerscanvashub.com/"
|
|
50
|
+
)
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
# Enter a context with an instance of the API client
|
|
55
|
+
async with aurigma.asset_generator.ApiClient(configuration) as api_client:
|
|
56
|
+
# Create an instance of the API class
|
|
57
|
+
api_instance = aurigma.asset_generator.BuildInfoApi(api_client)
|
|
58
|
+
|
|
59
|
+
try:
|
|
60
|
+
# Returns build info.
|
|
61
|
+
api_response = await api_instance.build_info_get_info()
|
|
62
|
+
print("The response of BuildInfoApi->build_info_get_info:\n")
|
|
63
|
+
pprint(api_response)
|
|
64
|
+
except ApiException as e:
|
|
65
|
+
print("Exception when calling BuildInfoApi->build_info_get_info: %s\n" % e)
|
|
66
|
+
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
## Documentation for API Endpoints
|
|
70
|
+
|
|
71
|
+
Depending on the geographical location of your Customer's Canvas Hub instance, the API gateway address may vary:
|
|
72
|
+
|
|
73
|
+
https://api.customerscanvashub.com/ - United States instance
|
|
74
|
+
https://api.eu.customerscanvashub.com/ - European instance
|
|
75
|
+
https://api.au.customerscanvashub.com/ - Australian instance
|
|
76
|
+
|
|
77
|
+
Class | Method | HTTP request | Description
|
|
78
|
+
------------ | ------------- | ------------- | -------------
|
|
79
|
+
*BuildInfoApi* | [**build_info_get_info**](docs/BuildInfoApi.md#build_info_get_info) | **GET** /api/asset-generator/v1/info | Returns build info.
|
|
80
|
+
*BuildInfoApi* | [**build_info_head_info**](docs/BuildInfoApi.md#build_info_head_info) | **HEAD** /api/asset-generator/v1/info | Returns build info.
|
|
81
|
+
*MockupGeneratorApi* | [**mockup_generator_generate**](docs/MockupGeneratorApi.md#mockup_generator_generate) | **POST** /api/asset-generator/v1/mockups/generate | Generates a mockup file and saves it to the storage.
|
|
82
|
+
*MockupGeneratorApi* | [**mockup_generator_get_all_specifications**](docs/MockupGeneratorApi.md#mockup_generator_get_all_specifications) | **GET** /api/asset-generator/v1/mockups/specifications | Returns a list of all mockup specifications.
|
|
83
|
+
*MockupGeneratorApi* | [**mockup_generator_get_specification**](docs/MockupGeneratorApi.md#mockup_generator_get_specification) | **GET** /api/asset-generator/v1/mockups/specifications/{name} | Returns the mockup specification by name.
|
|
84
|
+
*MockupGeneratorApi* | [**mockup_generator_get_specification_image**](docs/MockupGeneratorApi.md#mockup_generator_get_specification_image) | **GET** /api/asset-generator/v1/mockups/specifications/{name}/images/{imageName} | Returns image of mockup specification by name.
|
|
85
|
+
*MockupGeneratorApi* | [**mockup_generator_get_specification_parameters**](docs/MockupGeneratorApi.md#mockup_generator_get_specification_parameters) | **GET** /api/asset-generator/v1/mockups/specifications/{name}/parameters | Returns parameters of mockup specification by name.
|
|
86
|
+
*MockupGeneratorApi* | [**mockup_generator_validate_specification_parameters**](docs/MockupGeneratorApi.md#mockup_generator_validate_specification_parameters) | **POST** /api/asset-generator/v1/mockups/specifications/{name}/parameters/validate | Validates the parameters of the mockup specification.
|
|
87
|
+
*TenantsApi* | [**tenants_create**](docs/TenantsApi.md#tenants_create) | **POST** /api/asset-generator/v1/tenants | Creates a new tenant.
|
|
88
|
+
*TenantsApi* | [**tenants_delete**](docs/TenantsApi.md#tenants_delete) | **DELETE** /api/asset-generator/v1/tenants/{id} | Deletes a tenant by ID.
|
|
89
|
+
*TenantsApi* | [**tenants_get**](docs/TenantsApi.md#tenants_get) | **GET** /api/asset-generator/v1/tenants/{id} | Returns a tenant by ID.
|
|
90
|
+
*TenantsApi* | [**tenants_get_all**](docs/TenantsApi.md#tenants_get_all) | **GET** /api/asset-generator/v1/tenants | Returns a list of all tenants.
|
|
91
|
+
*TenantsApi* | [**tenants_update**](docs/TenantsApi.md#tenants_update) | **PUT** /api/asset-generator/v1/tenants/{id} | Updates a tenant by ID.
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
## Documentation For Models
|
|
95
|
+
|
|
96
|
+
- [BadRequestDto](docs/BadRequestDto.md)
|
|
97
|
+
- [BuildInfoModel](docs/BuildInfoModel.md)
|
|
98
|
+
- [ConflictDto](docs/ConflictDto.md)
|
|
99
|
+
- [MockupCreationModel](docs/MockupCreationModel.md)
|
|
100
|
+
- [MockupGenerationResult](docs/MockupGenerationResult.md)
|
|
101
|
+
- [MockupSpecDto](docs/MockupSpecDto.md)
|
|
102
|
+
- [MockupSpecParamDto](docs/MockupSpecParamDto.md)
|
|
103
|
+
- [MockupSpecParamRulesDto](docs/MockupSpecParamRulesDto.md)
|
|
104
|
+
- [MockupSpecParamsValidationResultDto](docs/MockupSpecParamsValidationResultDto.md)
|
|
105
|
+
- [ProblemDetails](docs/ProblemDetails.md)
|
|
106
|
+
- [SpecGroupType](docs/SpecGroupType.md)
|
|
107
|
+
- [TenantCreationModel](docs/TenantCreationModel.md)
|
|
108
|
+
- [TenantDto](docs/TenantDto.md)
|
|
109
|
+
- [TenantUpdateModel](docs/TenantUpdateModel.md)
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
<a id="documentation-for-authorization"></a>
|
|
113
|
+
## Documentation For Authorization
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
Authentication schemes defined for the API:
|
|
117
|
+
<a id="ApiKey"></a>
|
|
118
|
+
### ApiKey
|
|
119
|
+
|
|
120
|
+
- **Type**: API key
|
|
121
|
+
- **API key parameter name**: X-API-Key
|
|
122
|
+
- **Location**: HTTP header
|
|
123
|
+
|
|
124
|
+
<a id="Bearer"></a>
|
|
125
|
+
### Bearer
|
|
126
|
+
|
|
127
|
+
- **Type**: API key
|
|
128
|
+
- **API key parameter name**: Authorization
|
|
129
|
+
- **Location**: HTTP header
|
|
130
|
+
|
|
131
|
+
<a id="OAuth2Code"></a>
|
|
132
|
+
### OAuth2Code
|
|
133
|
+
|
|
134
|
+
- **Type**: OAuth
|
|
135
|
+
- **Flow**: accessCode
|
|
136
|
+
- **Authorization URL**: https://customerscanvashub.com/connect/authorize
|
|
137
|
+
- **Scopes**:
|
|
138
|
+
- **Tenants_read**: Read tenants
|
|
139
|
+
- **Tenants_update**: Read and update tenants
|
|
140
|
+
- **Tenants_full**: Manipulate tenants
|
|
141
|
+
- **Assets_read**: Read assets data
|
|
142
|
+
- **Assets_full**: Manipulate assets data
|
|
143
|
+
- **Private_assets_read**: Read data of private assets
|
|
144
|
+
- **Private_assets_update**: Update data of private assets
|
|
145
|
+
- **Private_assets_full**: Manipulate data of private assets
|
|
146
|
+
|
|
147
|
+
<a id="OAuth2Implicit"></a>
|
|
148
|
+
### OAuth2Implicit
|
|
149
|
+
|
|
150
|
+
- **Type**: OAuth
|
|
151
|
+
- **Flow**: implicit
|
|
152
|
+
- **Authorization URL**: https://customerscanvashub.com/connect/authorize
|
|
153
|
+
- **Scopes**:
|
|
154
|
+
- **Tenants_read**: Read tenants
|
|
155
|
+
- **Tenants_update**: Read and update tenants
|
|
156
|
+
- **Tenants_full**: Manipulate tenants
|
|
157
|
+
- **Assets_read**: Read assets data
|
|
158
|
+
- **Assets_full**: Manipulate assets data
|
|
159
|
+
- **Private_assets_read**: Read data of private assets
|
|
160
|
+
- **Private_assets_update**: Update data of private assets
|
|
161
|
+
- **Private_assets_full**: Manipulate data of private assets
|
|
162
|
+
|
|
163
|
+
<a id="OAuth2ClientCredentials"></a>
|
|
164
|
+
### OAuth2ClientCredentials
|
|
165
|
+
|
|
166
|
+
- **Type**: OAuth
|
|
167
|
+
- **Flow**: application
|
|
168
|
+
- **Authorization URL**:
|
|
169
|
+
- **Scopes**:
|
|
170
|
+
- **Tenants_read**: Read tenants
|
|
171
|
+
- **Tenants_update**: Read and update tenants
|
|
172
|
+
- **Tenants_full**: Manipulate tenants
|
|
173
|
+
- **Assets_read**: Read assets data
|
|
174
|
+
- **Assets_full**: Manipulate assets data
|
|
175
|
+
- **Private_assets_read**: Read data of private assets
|
|
176
|
+
- **Private_assets_update**: Update data of private assets
|
|
177
|
+
- **Private_assets_full**: Manipulate data of private assets
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
# aurigma-asset-generator-api-client
|
|
2
|
+
|
|
3
|
+
Python client library for [Aurigma Asset Generator API](https://customerscanvas.com/dev/backoffice/api/asset-generator/overview.html).
|
|
4
|
+
|
|
5
|
+
## Requirements.
|
|
6
|
+
|
|
7
|
+
- Python 3.9+
|
|
8
|
+
- Dependencies:
|
|
9
|
+
- python-dateutil>=2.8.2
|
|
10
|
+
- httpx>=0.28.1
|
|
11
|
+
- pydantic>=2
|
|
12
|
+
- typing-extensions>=4.7.1
|
|
13
|
+
|
|
14
|
+
## Installation & Usage
|
|
15
|
+
### pip install
|
|
16
|
+
|
|
17
|
+
```sh
|
|
18
|
+
pip install aurigma-asset-generator-api-client
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
Then import the package:
|
|
22
|
+
```python
|
|
23
|
+
import aurigma.asset_generator
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
## Getting Started
|
|
27
|
+
|
|
28
|
+
Please follow the [installation procedure](#installation--usage) and then run the following:
|
|
29
|
+
|
|
30
|
+
```python
|
|
31
|
+
|
|
32
|
+
import aurigma.asset_generator
|
|
33
|
+
from aurigma.asset_generator.rest import ApiException
|
|
34
|
+
from pprint import pprint
|
|
35
|
+
|
|
36
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
37
|
+
configuration = aurigma.asset_generator.Configuration(
|
|
38
|
+
host = "http://api.customerscanvashub.com/"
|
|
39
|
+
)
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
# Enter a context with an instance of the API client
|
|
44
|
+
async with aurigma.asset_generator.ApiClient(configuration) as api_client:
|
|
45
|
+
# Create an instance of the API class
|
|
46
|
+
api_instance = aurigma.asset_generator.BuildInfoApi(api_client)
|
|
47
|
+
|
|
48
|
+
try:
|
|
49
|
+
# Returns build info.
|
|
50
|
+
api_response = await api_instance.build_info_get_info()
|
|
51
|
+
print("The response of BuildInfoApi->build_info_get_info:\n")
|
|
52
|
+
pprint(api_response)
|
|
53
|
+
except ApiException as e:
|
|
54
|
+
print("Exception when calling BuildInfoApi->build_info_get_info: %s\n" % e)
|
|
55
|
+
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
## Documentation for API Endpoints
|
|
59
|
+
|
|
60
|
+
Depending on the geographical location of your Customer's Canvas Hub instance, the API gateway address may vary:
|
|
61
|
+
|
|
62
|
+
https://api.customerscanvashub.com/ - United States instance
|
|
63
|
+
https://api.eu.customerscanvashub.com/ - European instance
|
|
64
|
+
https://api.au.customerscanvashub.com/ - Australian instance
|
|
65
|
+
|
|
66
|
+
Class | Method | HTTP request | Description
|
|
67
|
+
------------ | ------------- | ------------- | -------------
|
|
68
|
+
*BuildInfoApi* | [**build_info_get_info**](docs/BuildInfoApi.md#build_info_get_info) | **GET** /api/asset-generator/v1/info | Returns build info.
|
|
69
|
+
*BuildInfoApi* | [**build_info_head_info**](docs/BuildInfoApi.md#build_info_head_info) | **HEAD** /api/asset-generator/v1/info | Returns build info.
|
|
70
|
+
*MockupGeneratorApi* | [**mockup_generator_generate**](docs/MockupGeneratorApi.md#mockup_generator_generate) | **POST** /api/asset-generator/v1/mockups/generate | Generates a mockup file and saves it to the storage.
|
|
71
|
+
*MockupGeneratorApi* | [**mockup_generator_get_all_specifications**](docs/MockupGeneratorApi.md#mockup_generator_get_all_specifications) | **GET** /api/asset-generator/v1/mockups/specifications | Returns a list of all mockup specifications.
|
|
72
|
+
*MockupGeneratorApi* | [**mockup_generator_get_specification**](docs/MockupGeneratorApi.md#mockup_generator_get_specification) | **GET** /api/asset-generator/v1/mockups/specifications/{name} | Returns the mockup specification by name.
|
|
73
|
+
*MockupGeneratorApi* | [**mockup_generator_get_specification_image**](docs/MockupGeneratorApi.md#mockup_generator_get_specification_image) | **GET** /api/asset-generator/v1/mockups/specifications/{name}/images/{imageName} | Returns image of mockup specification by name.
|
|
74
|
+
*MockupGeneratorApi* | [**mockup_generator_get_specification_parameters**](docs/MockupGeneratorApi.md#mockup_generator_get_specification_parameters) | **GET** /api/asset-generator/v1/mockups/specifications/{name}/parameters | Returns parameters of mockup specification by name.
|
|
75
|
+
*MockupGeneratorApi* | [**mockup_generator_validate_specification_parameters**](docs/MockupGeneratorApi.md#mockup_generator_validate_specification_parameters) | **POST** /api/asset-generator/v1/mockups/specifications/{name}/parameters/validate | Validates the parameters of the mockup specification.
|
|
76
|
+
*TenantsApi* | [**tenants_create**](docs/TenantsApi.md#tenants_create) | **POST** /api/asset-generator/v1/tenants | Creates a new tenant.
|
|
77
|
+
*TenantsApi* | [**tenants_delete**](docs/TenantsApi.md#tenants_delete) | **DELETE** /api/asset-generator/v1/tenants/{id} | Deletes a tenant by ID.
|
|
78
|
+
*TenantsApi* | [**tenants_get**](docs/TenantsApi.md#tenants_get) | **GET** /api/asset-generator/v1/tenants/{id} | Returns a tenant by ID.
|
|
79
|
+
*TenantsApi* | [**tenants_get_all**](docs/TenantsApi.md#tenants_get_all) | **GET** /api/asset-generator/v1/tenants | Returns a list of all tenants.
|
|
80
|
+
*TenantsApi* | [**tenants_update**](docs/TenantsApi.md#tenants_update) | **PUT** /api/asset-generator/v1/tenants/{id} | Updates a tenant by ID.
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
## Documentation For Models
|
|
84
|
+
|
|
85
|
+
- [BadRequestDto](docs/BadRequestDto.md)
|
|
86
|
+
- [BuildInfoModel](docs/BuildInfoModel.md)
|
|
87
|
+
- [ConflictDto](docs/ConflictDto.md)
|
|
88
|
+
- [MockupCreationModel](docs/MockupCreationModel.md)
|
|
89
|
+
- [MockupGenerationResult](docs/MockupGenerationResult.md)
|
|
90
|
+
- [MockupSpecDto](docs/MockupSpecDto.md)
|
|
91
|
+
- [MockupSpecParamDto](docs/MockupSpecParamDto.md)
|
|
92
|
+
- [MockupSpecParamRulesDto](docs/MockupSpecParamRulesDto.md)
|
|
93
|
+
- [MockupSpecParamsValidationResultDto](docs/MockupSpecParamsValidationResultDto.md)
|
|
94
|
+
- [ProblemDetails](docs/ProblemDetails.md)
|
|
95
|
+
- [SpecGroupType](docs/SpecGroupType.md)
|
|
96
|
+
- [TenantCreationModel](docs/TenantCreationModel.md)
|
|
97
|
+
- [TenantDto](docs/TenantDto.md)
|
|
98
|
+
- [TenantUpdateModel](docs/TenantUpdateModel.md)
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
<a id="documentation-for-authorization"></a>
|
|
102
|
+
## Documentation For Authorization
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
Authentication schemes defined for the API:
|
|
106
|
+
<a id="ApiKey"></a>
|
|
107
|
+
### ApiKey
|
|
108
|
+
|
|
109
|
+
- **Type**: API key
|
|
110
|
+
- **API key parameter name**: X-API-Key
|
|
111
|
+
- **Location**: HTTP header
|
|
112
|
+
|
|
113
|
+
<a id="Bearer"></a>
|
|
114
|
+
### Bearer
|
|
115
|
+
|
|
116
|
+
- **Type**: API key
|
|
117
|
+
- **API key parameter name**: Authorization
|
|
118
|
+
- **Location**: HTTP header
|
|
119
|
+
|
|
120
|
+
<a id="OAuth2Code"></a>
|
|
121
|
+
### OAuth2Code
|
|
122
|
+
|
|
123
|
+
- **Type**: OAuth
|
|
124
|
+
- **Flow**: accessCode
|
|
125
|
+
- **Authorization URL**: https://customerscanvashub.com/connect/authorize
|
|
126
|
+
- **Scopes**:
|
|
127
|
+
- **Tenants_read**: Read tenants
|
|
128
|
+
- **Tenants_update**: Read and update tenants
|
|
129
|
+
- **Tenants_full**: Manipulate tenants
|
|
130
|
+
- **Assets_read**: Read assets data
|
|
131
|
+
- **Assets_full**: Manipulate assets data
|
|
132
|
+
- **Private_assets_read**: Read data of private assets
|
|
133
|
+
- **Private_assets_update**: Update data of private assets
|
|
134
|
+
- **Private_assets_full**: Manipulate data of private assets
|
|
135
|
+
|
|
136
|
+
<a id="OAuth2Implicit"></a>
|
|
137
|
+
### OAuth2Implicit
|
|
138
|
+
|
|
139
|
+
- **Type**: OAuth
|
|
140
|
+
- **Flow**: implicit
|
|
141
|
+
- **Authorization URL**: https://customerscanvashub.com/connect/authorize
|
|
142
|
+
- **Scopes**:
|
|
143
|
+
- **Tenants_read**: Read tenants
|
|
144
|
+
- **Tenants_update**: Read and update tenants
|
|
145
|
+
- **Tenants_full**: Manipulate tenants
|
|
146
|
+
- **Assets_read**: Read assets data
|
|
147
|
+
- **Assets_full**: Manipulate assets data
|
|
148
|
+
- **Private_assets_read**: Read data of private assets
|
|
149
|
+
- **Private_assets_update**: Update data of private assets
|
|
150
|
+
- **Private_assets_full**: Manipulate data of private assets
|
|
151
|
+
|
|
152
|
+
<a id="OAuth2ClientCredentials"></a>
|
|
153
|
+
### OAuth2ClientCredentials
|
|
154
|
+
|
|
155
|
+
- **Type**: OAuth
|
|
156
|
+
- **Flow**: application
|
|
157
|
+
- **Authorization URL**:
|
|
158
|
+
- **Scopes**:
|
|
159
|
+
- **Tenants_read**: Read tenants
|
|
160
|
+
- **Tenants_update**: Read and update tenants
|
|
161
|
+
- **Tenants_full**: Manipulate tenants
|
|
162
|
+
- **Assets_read**: Read assets data
|
|
163
|
+
- **Assets_full**: Manipulate assets data
|
|
164
|
+
- **Private_assets_read**: Read data of private assets
|
|
165
|
+
- **Private_assets_update**: Update data of private assets
|
|
166
|
+
- **Private_assets_full**: Manipulate data of private assets
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools>=61.0", "wheel"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "aurigma-asset-generator-api-client"
|
|
7
|
+
version = "1.0.0"
|
|
8
|
+
description = "Aurigma Asset Generator API client"
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
requires-python = ">=3.9"
|
|
11
|
+
dependencies = [
|
|
12
|
+
"python-dateutil>=2.8.2",
|
|
13
|
+
"httpx>=0.28.1",
|
|
14
|
+
"pydantic>=2,<3",
|
|
15
|
+
"typing-extensions>=4.7.1; python_version < '3.11'",
|
|
16
|
+
]
|
|
17
|
+
|
|
18
|
+
[tool.setuptools]
|
|
19
|
+
package-dir = {"" = "src"}
|
|
20
|
+
|
|
21
|
+
[tool.setuptools.packages.find]
|
|
22
|
+
where = ["src"]
|
|
23
|
+
include = ["aurigma.asset_generator*"]
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
# flake8: noqa
|
|
4
|
+
|
|
5
|
+
"""
|
|
6
|
+
Asset Generator API
|
|
7
|
+
|
|
8
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
9
|
+
|
|
10
|
+
The version of the OpenAPI document: v1
|
|
11
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
12
|
+
|
|
13
|
+
Do not edit the class manually.
|
|
14
|
+
""" # noqa: E501
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
__version__ = "1.0.0"
|
|
18
|
+
|
|
19
|
+
# Define package exports
|
|
20
|
+
__all__ = [
|
|
21
|
+
"BuildInfoApi",
|
|
22
|
+
"MockupGeneratorApi",
|
|
23
|
+
"TenantsApi",
|
|
24
|
+
"ApiResponse",
|
|
25
|
+
"ApiClient",
|
|
26
|
+
"Configuration",
|
|
27
|
+
"OpenApiException",
|
|
28
|
+
"ApiTypeError",
|
|
29
|
+
"ApiValueError",
|
|
30
|
+
"ApiKeyError",
|
|
31
|
+
"ApiAttributeError",
|
|
32
|
+
"ApiException",
|
|
33
|
+
"BadRequestDto",
|
|
34
|
+
"BuildInfoModel",
|
|
35
|
+
"ConflictDto",
|
|
36
|
+
"MockupCreationModel",
|
|
37
|
+
"MockupGenerationResult",
|
|
38
|
+
"MockupSpecDto",
|
|
39
|
+
"MockupSpecParamDto",
|
|
40
|
+
"MockupSpecParamRulesDto",
|
|
41
|
+
"MockupSpecParamsValidationResultDto",
|
|
42
|
+
"ProblemDetails",
|
|
43
|
+
"SpecGroupType",
|
|
44
|
+
"TenantCreationModel",
|
|
45
|
+
"TenantDto",
|
|
46
|
+
"TenantUpdateModel",
|
|
47
|
+
]
|
|
48
|
+
|
|
49
|
+
# import apis into sdk package
|
|
50
|
+
from aurigma.asset_generator.api.build_info_api import BuildInfoApi as BuildInfoApi
|
|
51
|
+
from aurigma.asset_generator.api.mockup_generator_api import MockupGeneratorApi as MockupGeneratorApi
|
|
52
|
+
from aurigma.asset_generator.api.tenants_api import TenantsApi as TenantsApi
|
|
53
|
+
|
|
54
|
+
# import ApiClient
|
|
55
|
+
from aurigma.asset_generator.api_response import ApiResponse as ApiResponse
|
|
56
|
+
from aurigma.asset_generator.api_client import ApiClient as ApiClient
|
|
57
|
+
from aurigma.asset_generator.configuration import Configuration as Configuration
|
|
58
|
+
from aurigma.asset_generator.exceptions import OpenApiException as OpenApiException
|
|
59
|
+
from aurigma.asset_generator.exceptions import ApiTypeError as ApiTypeError
|
|
60
|
+
from aurigma.asset_generator.exceptions import ApiValueError as ApiValueError
|
|
61
|
+
from aurigma.asset_generator.exceptions import ApiKeyError as ApiKeyError
|
|
62
|
+
from aurigma.asset_generator.exceptions import ApiAttributeError as ApiAttributeError
|
|
63
|
+
from aurigma.asset_generator.exceptions import ApiException as ApiException
|
|
64
|
+
|
|
65
|
+
# import models into sdk package
|
|
66
|
+
from aurigma.asset_generator.models.bad_request_dto import BadRequestDto as BadRequestDto
|
|
67
|
+
from aurigma.asset_generator.models.build_info_model import BuildInfoModel as BuildInfoModel
|
|
68
|
+
from aurigma.asset_generator.models.conflict_dto import ConflictDto as ConflictDto
|
|
69
|
+
from aurigma.asset_generator.models.mockup_creation_model import MockupCreationModel as MockupCreationModel
|
|
70
|
+
from aurigma.asset_generator.models.mockup_generation_result import MockupGenerationResult as MockupGenerationResult
|
|
71
|
+
from aurigma.asset_generator.models.mockup_spec_dto import MockupSpecDto as MockupSpecDto
|
|
72
|
+
from aurigma.asset_generator.models.mockup_spec_param_dto import MockupSpecParamDto as MockupSpecParamDto
|
|
73
|
+
from aurigma.asset_generator.models.mockup_spec_param_rules_dto import MockupSpecParamRulesDto as MockupSpecParamRulesDto
|
|
74
|
+
from aurigma.asset_generator.models.mockup_spec_params_validation_result_dto import MockupSpecParamsValidationResultDto as MockupSpecParamsValidationResultDto
|
|
75
|
+
from aurigma.asset_generator.models.problem_details import ProblemDetails as ProblemDetails
|
|
76
|
+
from aurigma.asset_generator.models.spec_group_type import SpecGroupType as SpecGroupType
|
|
77
|
+
from aurigma.asset_generator.models.tenant_creation_model import TenantCreationModel as TenantCreationModel
|
|
78
|
+
from aurigma.asset_generator.models.tenant_dto import TenantDto as TenantDto
|
|
79
|
+
from aurigma.asset_generator.models.tenant_update_model import TenantUpdateModel as TenantUpdateModel
|
|
80
|
+
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# flake8: noqa
|
|
2
|
+
|
|
3
|
+
# import apis into api package
|
|
4
|
+
from aurigma.asset_generator.api.build_info_api import BuildInfoApi
|
|
5
|
+
from aurigma.asset_generator.api.mockup_generator_api import MockupGeneratorApi
|
|
6
|
+
from aurigma.asset_generator.api.tenants_api import TenantsApi
|
|
7
|
+
|