Skip to content
Merged
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
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ configuration = monday_code.Configuration(


# Enter a context with an instance of the API client
with monday_code.ApiClient(configuration) as api_client:
async with monday_code.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = monday_code.EnvironmentVariablesApi(api_client)
name = 'name_example' # str |

try:
api_response = api_instance.get_environment_variable(name)
api_response = await api_instance.get_environment_variable(name)
print("The response of EnvironmentVariablesApi->get_environment_variable:\n")
pprint(api_response)
except ApiException as e:
Expand Down
12 changes: 8 additions & 4 deletions docs/EnvironmentVariablesApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ Method | HTTP request | Description
# **get_environment_variable**
> object get_environment_variable(name)



### Example


Expand All @@ -27,13 +29,13 @@ configuration = monday_code.Configuration(


# Enter a context with an instance of the API client
with monday_code.ApiClient(configuration) as api_client:
async with monday_code.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = monday_code.EnvironmentVariablesApi(api_client)
name = 'name_example' # str |

try:
api_response = api_instance.get_environment_variable(name)
api_response = await api_instance.get_environment_variable(name)
print("The response of EnvironmentVariablesApi->get_environment_variable:\n")
pprint(api_response)
except Exception as e:
Expand Down Expand Up @@ -74,6 +76,8 @@ No authorization required
# **get_environment_variable_keys**
> List[str] get_environment_variable_keys()



### Example


Expand All @@ -90,12 +94,12 @@ configuration = monday_code.Configuration(


# Enter a context with an instance of the API client
with monday_code.ApiClient(configuration) as api_client:
async with monday_code.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = monday_code.EnvironmentVariablesApi(api_client)

try:
api_response = api_instance.get_environment_variable_keys()
api_response = await api_instance.get_environment_variable_keys()
print("The response of EnvironmentVariablesApi->get_environment_variable_keys:\n")
pprint(api_response)
except Exception as e:
Expand Down
6 changes: 4 additions & 2 deletions docs/LogsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ Method | HTTP request | Description
# **write_log**
> write_log(write_log_request_body)



### Example


Expand All @@ -27,13 +29,13 @@ configuration = monday_code.Configuration(


# Enter a context with an instance of the API client
with monday_code.ApiClient(configuration) as api_client:
async with monday_code.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = monday_code.LogsApi(api_client)
write_log_request_body = monday_code.WriteLogRequestBody() # WriteLogRequestBody |

try:
api_instance.write_log(write_log_request_body)
await api_instance.write_log(write_log_request_body)
except Exception as e:
print("Exception when calling LogsApi->write_log: %s\n" % e)
```
Expand Down
12 changes: 8 additions & 4 deletions docs/QueueApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ Method | HTTP request | Description
# **publish_message**
> PublishMessageResponse publish_message(publish_message_params)



### Example


Expand All @@ -29,13 +31,13 @@ configuration = monday_code.Configuration(


# Enter a context with an instance of the API client
with monday_code.ApiClient(configuration) as api_client:
async with monday_code.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = monday_code.QueueApi(api_client)
publish_message_params = monday_code.PublishMessageParams() # PublishMessageParams |

try:
api_response = api_instance.publish_message(publish_message_params)
api_response = await api_instance.publish_message(publish_message_params)
print("The response of QueueApi->publish_message:\n")
pprint(api_response)
except Exception as e:
Expand Down Expand Up @@ -75,6 +77,8 @@ No authorization required
# **validate_secret**
> ValidateSecretResponse validate_secret(validate_secret_params)



### Example


Expand All @@ -93,13 +97,13 @@ configuration = monday_code.Configuration(


# Enter a context with an instance of the API client
with monday_code.ApiClient(configuration) as api_client:
async with monday_code.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = monday_code.QueueApi(api_client)
validate_secret_params = monday_code.ValidateSecretParams() # ValidateSecretParams |

try:
api_response = api_instance.validate_secret(validate_secret_params)
api_response = await api_instance.validate_secret(validate_secret_params)
print("The response of QueueApi->validate_secret:\n")
pprint(api_response)
except Exception as e:
Expand Down
12 changes: 8 additions & 4 deletions docs/SecretsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ Method | HTTP request | Description
# **get_secret**
> str get_secret(name)



### Example


Expand All @@ -27,13 +29,13 @@ configuration = monday_code.Configuration(


# Enter a context with an instance of the API client
with monday_code.ApiClient(configuration) as api_client:
async with monday_code.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = monday_code.SecretsApi(api_client)
name = 'name_example' # str |

try:
api_response = api_instance.get_secret(name)
api_response = await api_instance.get_secret(name)
print("The response of SecretsApi->get_secret:\n")
pprint(api_response)
except Exception as e:
Expand Down Expand Up @@ -74,6 +76,8 @@ No authorization required
# **get_secret_keys**
> List[str] get_secret_keys()



### Example


Expand All @@ -90,12 +94,12 @@ configuration = monday_code.Configuration(


# Enter a context with an instance of the API client
with monday_code.ApiClient(configuration) as api_client:
async with monday_code.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = monday_code.SecretsApi(api_client)

try:
api_response = api_instance.get_secret_keys()
api_response = await api_instance.get_secret_keys()
print("The response of SecretsApi->get_secret_keys:\n")
pprint(api_response)
except Exception as e:
Expand Down
18 changes: 12 additions & 6 deletions docs/SecureStorageApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ Method | HTTP request | Description
# **delete_secure_storage**
> delete_secure_storage(key)



### Example


Expand All @@ -28,13 +30,13 @@ configuration = monday_code.Configuration(


# Enter a context with an instance of the API client
with monday_code.ApiClient(configuration) as api_client:
async with monday_code.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = monday_code.SecureStorageApi(api_client)
key = 'key_example' # str |

try:
api_instance.delete_secure_storage(key)
await api_instance.delete_secure_storage(key)
except Exception as e:
print("Exception when calling SecureStorageApi->delete_secure_storage: %s\n" % e)
```
Expand Down Expand Up @@ -72,6 +74,8 @@ No authorization required
# **get_secure_storage**
> JsonDataContract get_secure_storage(key)



### Example


Expand All @@ -89,13 +93,13 @@ configuration = monday_code.Configuration(


# Enter a context with an instance of the API client
with monday_code.ApiClient(configuration) as api_client:
async with monday_code.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = monday_code.SecureStorageApi(api_client)
key = 'key_example' # str |

try:
api_response = api_instance.get_secure_storage(key)
api_response = await api_instance.get_secure_storage(key)
print("The response of SecureStorageApi->get_secure_storage:\n")
pprint(api_response)
except Exception as e:
Expand Down Expand Up @@ -136,6 +140,8 @@ No authorization required
# **put_secure_storage**
> bool put_secure_storage(key, json_data_contract)



### Example


Expand All @@ -153,14 +159,14 @@ configuration = monday_code.Configuration(


# Enter a context with an instance of the API client
with monday_code.ApiClient(configuration) as api_client:
async with monday_code.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = monday_code.SecureStorageApi(api_client)
key = 'key_example' # str |
json_data_contract = monday_code.JsonDataContract() # JsonDataContract |

try:
api_response = api_instance.put_secure_storage(key, json_data_contract)
api_response = await api_instance.put_secure_storage(key, json_data_contract)
print("The response of SecureStorageApi->put_secure_storage:\n")
pprint(api_response)
except Exception as e:
Expand Down
30 changes: 20 additions & 10 deletions docs/StorageApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ Method | HTTP request | Description
# **delete_by_key_from_storage**
> delete_by_key_from_storage(key, x_monday_access_token)



### Example


Expand All @@ -30,14 +32,14 @@ configuration = monday_code.Configuration(


# Enter a context with an instance of the API client
with monday_code.ApiClient(configuration) as api_client:
async with monday_code.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = monday_code.StorageApi(api_client)
key = 'key_example' # str |
x_monday_access_token = 'x_monday_access_token_example' # str |

try:
api_instance.delete_by_key_from_storage(key, x_monday_access_token)
await api_instance.delete_by_key_from_storage(key, x_monday_access_token)
except Exception as e:
print("Exception when calling StorageApi->delete_by_key_from_storage: %s\n" % e)
```
Expand Down Expand Up @@ -76,6 +78,8 @@ No authorization required
# **get_by_key_from_storage**
> StorageDataContract get_by_key_from_storage(key, shared, x_monday_access_token)



### Example


Expand All @@ -93,15 +97,15 @@ configuration = monday_code.Configuration(


# Enter a context with an instance of the API client
with monday_code.ApiClient(configuration) as api_client:
async with monday_code.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = monday_code.StorageApi(api_client)
key = 'key_example' # str |
shared = True # bool |
x_monday_access_token = 'x_monday_access_token_example' # str |

try:
api_response = api_instance.get_by_key_from_storage(key, shared, x_monday_access_token)
api_response = await api_instance.get_by_key_from_storage(key, shared, x_monday_access_token)
print("The response of StorageApi->get_by_key_from_storage:\n")
pprint(api_response)
except Exception as e:
Expand Down Expand Up @@ -145,6 +149,8 @@ No authorization required
# **increment_counter**
> IncrementCounter200Response increment_counter(x_monday_access_token, increment_counter_params)



### Example


Expand All @@ -163,14 +169,14 @@ configuration = monday_code.Configuration(


# Enter a context with an instance of the API client
with monday_code.ApiClient(configuration) as api_client:
async with monday_code.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = monday_code.StorageApi(api_client)
x_monday_access_token = 'x_monday_access_token_example' # str |
increment_counter_params = monday_code.IncrementCounterParams() # IncrementCounterParams |

try:
api_response = api_instance.increment_counter(x_monday_access_token, increment_counter_params)
api_response = await api_instance.increment_counter(x_monday_access_token, increment_counter_params)
print("The response of StorageApi->increment_counter:\n")
pprint(api_response)
except Exception as e:
Expand Down Expand Up @@ -211,6 +217,8 @@ No authorization required
# **search_record**
> object search_record(term, x_monday_access_token, cursor=cursor)



### Example


Expand All @@ -227,15 +235,15 @@ configuration = monday_code.Configuration(


# Enter a context with an instance of the API client
with monday_code.ApiClient(configuration) as api_client:
async with monday_code.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = monday_code.StorageApi(api_client)
term = 'term_example' # str |
x_monday_access_token = 'x_monday_access_token_example' # str |
cursor = 'cursor_example' # str | (optional)

try:
api_response = api_instance.search_record(term, x_monday_access_token, cursor=cursor)
api_response = await api_instance.search_record(term, x_monday_access_token, cursor=cursor)
print("The response of StorageApi->search_record:\n")
pprint(api_response)
except Exception as e:
Expand Down Expand Up @@ -279,6 +287,8 @@ No authorization required
# **upsert_by_key_from_storage**
> UpsertByKeyFromStorage200Response upsert_by_key_from_storage(key, x_monday_access_token, json_data_contract, shared=shared, previous_version=previous_version, ttl=ttl)



### Example


Expand All @@ -297,7 +307,7 @@ configuration = monday_code.Configuration(


# Enter a context with an instance of the API client
with monday_code.ApiClient(configuration) as api_client:
async with monday_code.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = monday_code.StorageApi(api_client)
key = 'key_example' # str |
Expand All @@ -308,7 +318,7 @@ with monday_code.ApiClient(configuration) as api_client:
ttl = 3.4 # float | (optional)

try:
api_response = api_instance.upsert_by_key_from_storage(key, x_monday_access_token, json_data_contract, shared=shared, previous_version=previous_version, ttl=ttl)
api_response = await api_instance.upsert_by_key_from_storage(key, x_monday_access_token, json_data_contract, shared=shared, previous_version=previous_version, ttl=ttl)
print("The response of StorageApi->upsert_by_key_from_storage:\n")
pprint(api_response)
except Exception as e:
Expand Down
Loading