Skip to content

Commit 685d001

Browse files
committed
Update client
1 parent 0c60c78 commit 685d001

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+1215
-600
lines changed

.github/workflows/python-publish.yml

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

.github/workflows/python.yml

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

FILES

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
.github/workflows/python.yml
2+
.gitignore
3+
.gitlab-ci.yml
4+
.openapi-generator-ignore
5+
.travis.yml
6+
README.md
7+
docs/GetByKeyFromStorage404Response.md
8+
docs/GetByKeyFromStorage500Response.md
9+
docs/IncrementCounterParams.md
10+
docs/JsonValue.md
11+
docs/Period.md
12+
docs/PublishMessageParams.md
13+
docs/PublishMessageResponse.md
14+
docs/QueueApi.md
15+
docs/SecretApi.md
16+
docs/SecureStorageApi.md
17+
docs/SecureStorageDataContract.md
18+
docs/StorageApi.md
19+
docs/StorageDataContract.md
20+
docs/ValidateSecretParams.md
21+
docs/ValidateSecretResponse.md
22+
git_push.sh
23+
monday_code/__init__.py
24+
monday_code/api/__init__.py
25+
monday_code/api/queue_api.py
26+
monday_code/api/secret_api.py
27+
monday_code/api/secure_storage_api.py
28+
monday_code/api/storage_api.py
29+
monday_code/api_client.py
30+
monday_code/api_response.py
31+
monday_code/configuration.py
32+
monday_code/exceptions.py
33+
monday_code/models/__init__.py
34+
monday_code/models/get_by_key_from_storage404_response.py
35+
monday_code/models/get_by_key_from_storage500_response.py
36+
monday_code/models/increment_counter_params.py
37+
monday_code/models/json_value.py
38+
monday_code/models/period.py
39+
monday_code/models/publish_message_params.py
40+
monday_code/models/publish_message_response.py
41+
monday_code/models/secure_storage_data_contract.py
42+
monday_code/models/storage_data_contract.py
43+
monday_code/models/validate_secret_params.py
44+
monday_code/models/validate_secret_response.py
45+
monday_code/py.typed
46+
monday_code/rest.py
47+
pyproject.toml
48+
requirements.txt
49+
setup.cfg
50+
setup.py
51+
test-requirements.txt
52+
test/__init__.py
53+
test/test_get_by_key_from_storage404_response.py
54+
test/test_get_by_key_from_storage500_response.py
55+
test/test_increment_counter_params.py
56+
test/test_json_value.py
57+
test/test_period.py
58+
test/test_publish_message_params.py
59+
test/test_publish_message_response.py
60+
test/test_queue_api.py
61+
test/test_secret_api.py
62+
test/test_secure_storage_api.py
63+
test/test_secure_storage_data_contract.py
64+
test/test_storage_api.py
65+
test/test_storage_data_contract.py
66+
test/test_validate_secret_params.py
67+
test/test_validate_secret_response.py
68+
tox.ini

LICENSE

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

README.md

Lines changed: 18 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
# monday-sdk
1+
# monday-code
22
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
33

44
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
55

66
- API version: 0.0.1
7-
- Package version: 1.0.0
7+
- Package version: 0.0.1
88
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
99

1010
## Requirements.
@@ -23,7 +23,7 @@ pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git
2323

2424
Then import the package:
2525
```python
26-
import monday_sdk
26+
import monday_code
2727
```
2828

2929
### Setuptools
@@ -37,7 +37,7 @@ python setup.py install --user
3737

3838
Then import the package:
3939
```python
40-
import monday_sdk
40+
import monday_code
4141
```
4242

4343
### Tests
@@ -50,23 +50,23 @@ Please follow the [installation procedure](#installation--usage) and then run th
5050

5151
```python
5252

53-
import monday_sdk
54-
from monday_sdk.rest import ApiException
53+
import monday_code
54+
from monday_code.rest import ApiException
5555
from pprint import pprint
5656

5757
# Defining the host is optional and defaults to http://localhost:59999
5858
# See configuration.py for a list of all supported configuration parameters.
59-
configuration = monday_sdk.Configuration(
59+
configuration = monday_code.Configuration(
6060
host = "http://localhost:59999"
6161
)
6262

6363

6464

6565
# Enter a context with an instance of the API client
66-
with monday_sdk.ApiClient(configuration) as api_client:
66+
with monday_code.ApiClient(configuration) as api_client:
6767
# Create an instance of the API class
68-
api_instance = monday_sdk.QueueApi(api_client)
69-
publish_message_params = monday_sdk.PublishMessageParams() # PublishMessageParams |
68+
api_instance = monday_code.QueueApi(api_client)
69+
publish_message_params = monday_code.PublishMessageParams() # PublishMessageParams |
7070

7171
try:
7272
api_response = api_instance.publish_message(publish_message_params)
@@ -89,19 +89,22 @@ Class | Method | HTTP request | Description
8989
*SecureStorageApi* | [**delete_secure_storage**](docs/SecureStorageApi.md#delete_secure_storage) | **DELETE** /secure-storage/{key} |
9090
*SecureStorageApi* | [**get_secure_storage**](docs/SecureStorageApi.md#get_secure_storage) | **GET** /secure-storage/{key} |
9191
*SecureStorageApi* | [**put_secure_storage**](docs/SecureStorageApi.md#put_secure_storage) | **PUT** /secure-storage/{key} |
92-
*StorageApi* | [**delete_storage**](docs/StorageApi.md#delete_storage) | **DELETE** /storage/{key} |
93-
*StorageApi* | [**get_storage**](docs/StorageApi.md#get_storage) | **GET** /storage/{key} |
94-
*StorageApi* | [**put_storage**](docs/StorageApi.md#put_storage) | **PUT** /storage/{key} |
95-
*StorageApi* | [**storage_increment_counter**](docs/StorageApi.md#storage_increment_counter) | **PUT** /storage/{key}/counter/increment |
92+
*StorageApi* | [**delete_by_key_from_storage**](docs/StorageApi.md#delete_by_key_from_storage) | **DELETE** /storage/{key} |
93+
*StorageApi* | [**get_by_key_from_storage**](docs/StorageApi.md#get_by_key_from_storage) | **GET** /storage/{key} |
94+
*StorageApi* | [**increment_counter**](docs/StorageApi.md#increment_counter) | **POST** /storage/counter/increment |
95+
*StorageApi* | [**upsert_by_key_from_storage**](docs/StorageApi.md#upsert_by_key_from_storage) | **PUT** /storage/{key} |
9696

9797

9898
## Documentation For Models
9999

100-
- [GetStorage404Response](docs/GetStorage404Response.md)
100+
- [GetByKeyFromStorage404Response](docs/GetByKeyFromStorage404Response.md)
101+
- [GetByKeyFromStorage500Response](docs/GetByKeyFromStorage500Response.md)
101102
- [IncrementCounterParams](docs/IncrementCounterParams.md)
103+
- [JsonValue](docs/JsonValue.md)
102104
- [Period](docs/Period.md)
103105
- [PublishMessageParams](docs/PublishMessageParams.md)
104106
- [PublishMessageResponse](docs/PublishMessageResponse.md)
107+
- [SecureStorageDataContract](docs/SecureStorageDataContract.md)
105108
- [StorageDataContract](docs/StorageDataContract.md)
106109
- [ValidateSecretParams](docs/ValidateSecretParams.md)
107110
- [ValidateSecretResponse](docs/ValidateSecretResponse.md)

VERSION

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
7.4.0-SNAPSHOT
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# GetByKeyFromStorage404Response
2+
3+
4+
## Properties
5+
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**reason** | **str** | |
9+
10+
## Example
11+
12+
```python
13+
from monday_code.models.get_by_key_from_storage404_response import GetByKeyFromStorage404Response
14+
15+
# TODO update the JSON string below
16+
json = "{}"
17+
# create an instance of GetByKeyFromStorage404Response from a JSON string
18+
get_by_key_from_storage404_response_instance = GetByKeyFromStorage404Response.from_json(json)
19+
# print the JSON string representation of the object
20+
print GetByKeyFromStorage404Response.to_json()
21+
22+
# convert the object into a dict
23+
get_by_key_from_storage404_response_dict = get_by_key_from_storage404_response_instance.to_dict()
24+
# create an instance of GetByKeyFromStorage404Response from a dict
25+
get_by_key_from_storage404_response_form_dict = get_by_key_from_storage404_response.from_dict(get_by_key_from_storage404_response_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+
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# GetByKeyFromStorage500Response
2+
3+
4+
## Properties
5+
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**reason** | **str** | | [optional]
9+
10+
## Example
11+
12+
```python
13+
from monday_code.models.get_by_key_from_storage500_response import GetByKeyFromStorage500Response
14+
15+
# TODO update the JSON string below
16+
json = "{}"
17+
# create an instance of GetByKeyFromStorage500Response from a JSON string
18+
get_by_key_from_storage500_response_instance = GetByKeyFromStorage500Response.from_json(json)
19+
# print the JSON string representation of the object
20+
print GetByKeyFromStorage500Response.to_json()
21+
22+
# convert the object into a dict
23+
get_by_key_from_storage500_response_dict = get_by_key_from_storage500_response_instance.to_dict()
24+
# create an instance of GetByKeyFromStorage500Response from a dict
25+
get_by_key_from_storage500_response_form_dict = get_by_key_from_storage500_response.from_dict(get_by_key_from_storage500_response_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/GetStorage404Response.md

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

docs/IncrementCounterParams.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Name | Type | Description | Notes
1313
## Example
1414

1515
```python
16-
from monday_sdk.models.increment_counter_params import IncrementCounterParams
16+
from monday_code.models.increment_counter_params import IncrementCounterParams
1717

1818
# TODO update the JSON string below
1919
json = "{}"

0 commit comments

Comments
 (0)