def __init__(self, api_client=None): if api_client is None: api_client = ApiClient() self.api_client = api_client self.delete_rule_group_endpoint = _Endpoint( settings={ 'response_type': None, 'auth': [ 'firefly_iii_auth' ], 'endpoint_path': '/api/v1/rule_groups/{id}', 'operation_id': 'delete_rule_group', 'http_method': 'DELETE', 'servers': None, }, params_map={ 'all': [ 'id', ], 'required': [ 'id', ], 'nullable': [ ], 'enum': [ ], 'validation': [ ] }, root_map={ 'validations': { }, 'allowed_values': { }, 'openapi_types': { 'id': (str,), }, 'attribute_map': { 'id': 'id', }, 'location_map': { 'id': 'path', }, 'collection_format_map': { } }, headers_map={ 'accept': [], 'content_type': [], }, api_client=api_client ) self.fire_rule_group_endpoint = _Endpoint( settings={ 'response_type': None, 'auth': [ 'firefly_iii_auth' ], 'endpoint_path': '/api/v1/rule_groups/{id}/trigger', 'operation_id': 'fire_rule_group', 'http_method': 'POST', 'servers': None, }, params_map={ 'all': [ 'id', 'start', 'end', 'accounts', ], 'required': [ 'id', ], 'nullable': [ ], 'enum': [ ], 'validation': [ ] }, root_map={ 'validations': { }, 'allowed_values': { }, 'openapi_types': { 'id': (str,), 'start': (date,), 'end': (date,), 'accounts': ([int],), }, 'attribute_map': { 'id': 'id', 'start': 'start', 'end': 'end', 'accounts': 'accounts[]', }, 'location_map': { 'id': 'path', 'start': 'query', 'end': 'query', 'accounts': 'query', }, 'collection_format_map': { 'accounts': 'multi', } }, headers_map={ 'accept': [], 'content_type': [], }, api_client=api_client ) self.get_rule_group_endpoint = _Endpoint( settings={ 'response_type': (RuleGroupSingle,), 'auth': [ 'firefly_iii_auth' ], 'endpoint_path': '/api/v1/rule_groups/{id}', 'operation_id': 'get_rule_group', 'http_method': 'GET', 'servers': None, }, params_map={ 'all': [ 'id', ], 'required': [ 'id', ], 'nullable': [ ], 'enum': [ ], 'validation': [ ] }, root_map={ 'validations': { }, 'allowed_values': { }, 'openapi_types': { 'id': (str,), }, 'attribute_map': { 'id': 'id', }, 'location_map': { 'id': 'path', }, 'collection_format_map': { } }, headers_map={ 'accept': [ 'application/vnd.api+json' ], 'content_type': [], }, api_client=api_client ) self.list_rule_by_group_endpoint = _Endpoint( settings={ 'response_type': (RuleArray,), 'auth': [ 'firefly_iii_auth' ], 'endpoint_path': '/api/v1/rule_groups/{id}/rules', 'operation_id': 'list_rule_by_group', 'http_method': 'GET', 'servers': None, }, params_map={ 'all': [ 'id', 'page', ], 'required': [ 'id', ], 'nullable': [ ], 'enum': [ ], 'validation': [ ] }, root_map={ 'validations': { }, 'allowed_values': { }, 'openapi_types': { 'id': (str,), 'page': (int,), }, 'attribute_map': { 'id': 'id', 'page': 'page', }, 'location_map': { 'id': 'path', 'page': 'query', }, 'collection_format_map': { } }, headers_map={ 'accept': [ 'application/vnd.api+json' ], 'content_type': [], }, api_client=api_client ) self.list_rule_group_endpoint = _Endpoint( settings={ 'response_type': (RuleGroupArray,), 'auth': [ 'firefly_iii_auth' ], 'endpoint_path': '/api/v1/rule_groups', 'operation_id': 'list_rule_group', 'http_method': 'GET', 'servers': None, }, params_map={ 'all': [ 'page', ], 'required': [], 'nullable': [ ], 'enum': [ ], 'validation': [ ] }, root_map={ 'validations': { }, 'allowed_values': { }, 'openapi_types': { 'page': (int,), }, 'attribute_map': { 'page': 'page', }, 'location_map': { 'page': 'query', }, 'collection_format_map': { } }, headers_map={ 'accept': [ 'application/vnd.api+json' ], 'content_type': [], }, api_client=api_client ) self.store_rule_group_endpoint = _Endpoint( settings={ 'response_type': (RuleGroupSingle,), 'auth': [ 'firefly_iii_auth' ], 'endpoint_path': '/api/v1/rule_groups', 'operation_id': 'store_rule_group', 'http_method': 'POST', 'servers': None, }, params_map={ 'all': [ 'rule_group_store', ], 'required': [ 'rule_group_store', ], 'nullable': [ ], 'enum': [ ], 'validation': [ ] }, root_map={ 'validations': { }, 'allowed_values': { }, 'openapi_types': { 'rule_group_store': (RuleGroupStore,), }, 'attribute_map': { }, 'location_map': { 'rule_group_store': 'body', }, 'collection_format_map': { } }, headers_map={ 'accept': [ 'application/vnd.api+json', 'application/json' ], 'content_type': [ 'application/json', 'application/x-www-form-urlencoded' ] }, api_client=api_client ) self.test_rule_group_endpoint = _Endpoint( settings={ 'response_type': (TransactionArray,), 'auth': [ 'firefly_iii_auth' ], 'endpoint_path': '/api/v1/rule_groups/{id}/test', 'operation_id': 'test_rule_group', 'http_method': 'GET', 'servers': None, }, params_map={ 'all': [ 'id', 'page', 'start', 'end', 'search_limit', 'triggered_limit', 'accounts', ], 'required': [ 'id', ], 'nullable': [ ], 'enum': [ ], 'validation': [ ] }, root_map={ 'validations': { }, 'allowed_values': { }, 'openapi_types': { 'id': (str,), 'page': (int,), 'start': (date,), 'end': (date,), 'search_limit': (int,), 'triggered_limit': (int,), 'accounts': ([int],), }, 'attribute_map': { 'id': 'id', 'page': 'page', 'start': 'start', 'end': 'end', 'search_limit': 'search_limit', 'triggered_limit': 'triggered_limit', 'accounts': 'accounts[]', }, 'location_map': { 'id': 'path', 'page': 'query', 'start': 'query', 'end': 'query', 'search_limit': 'query', 'triggered_limit': 'query', 'accounts': 'query', }, 'collection_format_map': { 'accounts': 'multi', } }, headers_map={ 'accept': [ 'application/vnd.api+json' ], 'content_type': [], }, api_client=api_client ) self.update_rule_group_endpoint = _Endpoint( settings={ 'response_type': (RuleGroupSingle,), 'auth': [ 'firefly_iii_auth' ], 'endpoint_path': '/api/v1/rule_groups/{id}', 'operation_id': 'update_rule_group', 'http_method': 'PUT', 'servers': None, }, params_map={ 'all': [ 'id', 'rule_group_update', ], 'required': [ 'id', 'rule_group_update', ], 'nullable': [ ], 'enum': [ ], 'validation': [ ] }, root_map={ 'validations': { }, 'allowed_values': { }, 'openapi_types': { 'id': (str,), 'rule_group_update': (RuleGroupUpdate,), }, 'attribute_map': { 'id': 'id', }, 'location_map': { 'id': 'path', 'rule_group_update': 'body', }, 'collection_format_map': { } }, headers_map={ 'accept': [ 'application/vnd.api+json', 'application/json' ], 'content_type': [ 'application/json', 'application/x-www-form-urlencoded' ] }, api_client=api_client )
def __init__(self, api_client=None): if api_client is None: api_client = ApiClient() self.api_client = api_client
def __init__(self, api_client=None): if api_client is None: api_client = ApiClient() self.api_client = api_client self.delete_piggy_bank_endpoint = _Endpoint( settings={ 'response_type': None, 'auth': ['firefly_iii_auth'], 'endpoint_path': '/api/v1/piggy_banks/{id}', 'operation_id': 'delete_piggy_bank', 'http_method': 'DELETE', 'servers': None, }, params_map={ 'all': [ 'id', ], 'required': [ 'id', ], 'nullable': [], 'enum': [], 'validation': [] }, root_map={ 'validations': {}, 'allowed_values': {}, 'openapi_types': { 'id': (str, ), }, 'attribute_map': { 'id': 'id', }, 'location_map': { 'id': 'path', }, 'collection_format_map': {} }, headers_map={ 'accept': [], 'content_type': [], }, api_client=api_client) self.get_piggy_bank_endpoint = _Endpoint( settings={ 'response_type': (PiggyBankSingle, ), 'auth': ['firefly_iii_auth'], 'endpoint_path': '/api/v1/piggy_banks/{id}', 'operation_id': 'get_piggy_bank', 'http_method': 'GET', 'servers': None, }, params_map={ 'all': [ 'id', ], 'required': [ 'id', ], 'nullable': [], 'enum': [], 'validation': [] }, root_map={ 'validations': {}, 'allowed_values': {}, 'openapi_types': { 'id': (str, ), }, 'attribute_map': { 'id': 'id', }, 'location_map': { 'id': 'path', }, 'collection_format_map': {} }, headers_map={ 'accept': ['application/vnd.api+json'], 'content_type': [], }, api_client=api_client) self.list_attachment_by_piggy_bank_endpoint = _Endpoint( settings={ 'response_type': (AttachmentArray, ), 'auth': ['firefly_iii_auth'], 'endpoint_path': '/api/v1/piggy_banks/{id}/attachments', 'operation_id': 'list_attachment_by_piggy_bank', 'http_method': 'GET', 'servers': None, }, params_map={ 'all': [ 'id', 'page', ], 'required': [ 'id', ], 'nullable': [], 'enum': [], 'validation': [] }, root_map={ 'validations': {}, 'allowed_values': {}, 'openapi_types': { 'id': (str, ), 'page': (int, ), }, 'attribute_map': { 'id': 'id', 'page': 'page', }, 'location_map': { 'id': 'path', 'page': 'query', }, 'collection_format_map': {} }, headers_map={ 'accept': ['application/vnd.api+json'], 'content_type': [], }, api_client=api_client) self.list_event_by_piggy_bank_endpoint = _Endpoint( settings={ 'response_type': (PiggyBankEventArray, ), 'auth': ['firefly_iii_auth'], 'endpoint_path': '/api/v1/piggy_banks/{id}/events', 'operation_id': 'list_event_by_piggy_bank', 'http_method': 'GET', 'servers': None, }, params_map={ 'all': [ 'id', 'page', ], 'required': [ 'id', ], 'nullable': [], 'enum': [], 'validation': [] }, root_map={ 'validations': {}, 'allowed_values': {}, 'openapi_types': { 'id': (str, ), 'page': (int, ), }, 'attribute_map': { 'id': 'id', 'page': 'page', }, 'location_map': { 'id': 'path', 'page': 'query', }, 'collection_format_map': {} }, headers_map={ 'accept': ['application/vnd.api+json'], 'content_type': [], }, api_client=api_client) self.list_piggy_bank_endpoint = _Endpoint( settings={ 'response_type': (PiggyBankArray, ), 'auth': ['firefly_iii_auth'], 'endpoint_path': '/api/v1/piggy_banks', 'operation_id': 'list_piggy_bank', 'http_method': 'GET', 'servers': None, }, params_map={ 'all': [ 'page', ], 'required': [], 'nullable': [], 'enum': [], 'validation': [] }, root_map={ 'validations': {}, 'allowed_values': {}, 'openapi_types': { 'page': (int, ), }, 'attribute_map': { 'page': 'page', }, 'location_map': { 'page': 'query', }, 'collection_format_map': {} }, headers_map={ 'accept': ['application/vnd.api+json'], 'content_type': [], }, api_client=api_client) self.store_piggy_bank_endpoint = _Endpoint( settings={ 'response_type': (PiggyBankSingle, ), 'auth': ['firefly_iii_auth'], 'endpoint_path': '/api/v1/piggy_banks', 'operation_id': 'store_piggy_bank', 'http_method': 'POST', 'servers': None, }, params_map={ 'all': [ 'piggy_bank_store', ], 'required': [ 'piggy_bank_store', ], 'nullable': [], 'enum': [], 'validation': [] }, root_map={ 'validations': {}, 'allowed_values': {}, 'openapi_types': { 'piggy_bank_store': (PiggyBankStore, ), }, 'attribute_map': {}, 'location_map': { 'piggy_bank_store': 'body', }, 'collection_format_map': {} }, headers_map={ 'accept': ['application/vnd.api+json', 'application/json'], 'content_type': ['application/json', 'application/x-www-form-urlencoded'] }, api_client=api_client) self.update_piggy_bank_endpoint = _Endpoint( settings={ 'response_type': (PiggyBankSingle, ), 'auth': ['firefly_iii_auth'], 'endpoint_path': '/api/v1/piggy_banks/{id}', 'operation_id': 'update_piggy_bank', 'http_method': 'PUT', 'servers': None, }, params_map={ 'all': [ 'id', 'piggy_bank_update', ], 'required': [ 'id', 'piggy_bank_update', ], 'nullable': [], 'enum': [], 'validation': [] }, root_map={ 'validations': {}, 'allowed_values': {}, 'openapi_types': { 'id': (str, ), 'piggy_bank_update': (PiggyBankUpdate, ), }, 'attribute_map': { 'id': 'id', }, 'location_map': { 'id': 'path', 'piggy_bank_update': 'body', }, 'collection_format_map': {} }, headers_map={ 'accept': ['application/vnd.api+json', 'application/json'], 'content_type': ['application/json', 'application/x-www-form-urlencoded'] }, api_client=api_client)
def __init__(self, api_client=None): if api_client is None: api_client = ApiClient() self.api_client = api_client self.get_preference_endpoint = _Endpoint( settings={ 'response_type': (PreferenceSingle, ), 'auth': ['firefly_iii_auth'], 'endpoint_path': '/api/v1/preferences/{name}', 'operation_id': 'get_preference', 'http_method': 'GET', 'servers': None, }, params_map={ 'all': [ 'name', ], 'required': [ 'name', ], 'nullable': [], 'enum': [], 'validation': [] }, root_map={ 'validations': {}, 'allowed_values': {}, 'openapi_types': { 'name': (str, ), }, 'attribute_map': { 'name': 'name', }, 'location_map': { 'name': 'path', }, 'collection_format_map': {} }, headers_map={ 'accept': ['application/vnd.api+json'], 'content_type': [], }, api_client=api_client) self.list_preference_endpoint = _Endpoint( settings={ 'response_type': (PreferenceArray, ), 'auth': ['firefly_iii_auth'], 'endpoint_path': '/api/v1/preferences', 'operation_id': 'list_preference', 'http_method': 'GET', 'servers': None, }, params_map={ 'all': [ 'page', ], 'required': [], 'nullable': [], 'enum': [], 'validation': [] }, root_map={ 'validations': {}, 'allowed_values': {}, 'openapi_types': { 'page': (int, ), }, 'attribute_map': { 'page': 'page', }, 'location_map': { 'page': 'query', }, 'collection_format_map': {} }, headers_map={ 'accept': ['application/vnd.api+json'], 'content_type': [], }, api_client=api_client) self.store_preference_endpoint = _Endpoint( settings={ 'response_type': (PreferenceSingle, ), 'auth': ['firefly_iii_auth'], 'endpoint_path': '/api/v1/preferences', 'operation_id': 'store_preference', 'http_method': 'POST', 'servers': None, }, params_map={ 'all': [ 'preference', ], 'required': [ 'preference', ], 'nullable': [], 'enum': [], 'validation': [] }, root_map={ 'validations': {}, 'allowed_values': {}, 'openapi_types': { 'preference': (Preference, ), }, 'attribute_map': {}, 'location_map': { 'preference': 'body', }, 'collection_format_map': {} }, headers_map={ 'accept': ['application/vnd.api+json', 'application/json'], 'content_type': ['application/json', 'application/x-www-form-urlencoded'] }, api_client=api_client) self.update_preference_endpoint = _Endpoint( settings={ 'response_type': (PreferenceSingle, ), 'auth': ['firefly_iii_auth'], 'endpoint_path': '/api/v1/preferences/{name}', 'operation_id': 'update_preference', 'http_method': 'PUT', 'servers': None, }, params_map={ 'all': [ 'name', 'preference_update', ], 'required': [ 'name', 'preference_update', ], 'nullable': [], 'enum': [], 'validation': [] }, root_map={ 'validations': {}, 'allowed_values': {}, 'openapi_types': { 'name': (str, ), 'preference_update': (PreferenceUpdate, ), }, 'attribute_map': { 'name': 'name', }, 'location_map': { 'name': 'path', 'preference_update': 'body', }, 'collection_format_map': {} }, headers_map={ 'accept': ['application/vnd.api+json', 'application/json'], 'content_type': ['application/json', 'application/x-www-form-urlencoded'] }, api_client=api_client)
def __init__(self, api_client=None): if api_client is None: api_client = ApiClient() self.api_client = api_client self.search_accounts_endpoint = _Endpoint( settings={ 'response_type': (AccountArray, ), 'auth': ['firefly_iii_auth'], 'endpoint_path': '/api/v1/search/accounts', 'operation_id': 'search_accounts', 'http_method': 'GET', 'servers': None, }, params_map={ 'all': [ 'query', 'field', 'page', 'type', ], 'required': [ 'query', 'field', ], 'nullable': [], 'enum': [], 'validation': [] }, root_map={ 'validations': {}, 'allowed_values': {}, 'openapi_types': { 'query': (str, ), 'field': (AccountSearchFieldFilter, ), 'page': (int, ), 'type': (AccountTypeFilter, ), }, 'attribute_map': { 'query': 'query', 'field': 'field', 'page': 'page', 'type': 'type', }, 'location_map': { 'query': 'query', 'field': 'query', 'page': 'query', 'type': 'query', }, 'collection_format_map': {} }, headers_map={ 'accept': ['application/vnd.api+json'], 'content_type': [], }, api_client=api_client) self.search_transactions_endpoint = _Endpoint( settings={ 'response_type': (TransactionArray, ), 'auth': ['firefly_iii_auth'], 'endpoint_path': '/api/v1/search/transactions', 'operation_id': 'search_transactions', 'http_method': 'GET', 'servers': None, }, params_map={ 'all': [ 'query', 'page', ], 'required': [ 'query', ], 'nullable': [], 'enum': [], 'validation': [] }, root_map={ 'validations': {}, 'allowed_values': {}, 'openapi_types': { 'query': (str, ), 'page': (int, ), }, 'attribute_map': { 'query': 'query', 'page': 'page', }, 'location_map': { 'query': 'query', 'page': 'query', }, 'collection_format_map': {} }, headers_map={ 'accept': ['application/vnd.api+json'], 'content_type': [], }, api_client=api_client)
def __init__(self, api_client=None): if api_client is None: api_client = ApiClient() self.api_client = api_client self.get_chart_account_overview_endpoint = _Endpoint( settings={ 'response_type': (ChartLine,), 'auth': [ 'firefly_iii_auth' ], 'endpoint_path': '/api/v1/chart/account/overview', 'operation_id': 'get_chart_account_overview', 'http_method': 'GET', 'servers': None, }, params_map={ 'all': [ 'start', 'end', ], 'required': [ 'start', 'end', ], 'nullable': [ ], 'enum': [ ], 'validation': [ ] }, root_map={ 'validations': { }, 'allowed_values': { }, 'openapi_types': { 'start': (date,), 'end': (date,), }, 'attribute_map': { 'start': 'start', 'end': 'end', }, 'location_map': { 'start': 'query', 'end': 'query', }, 'collection_format_map': { } }, headers_map={ 'accept': [ 'application/json' ], 'content_type': [], }, api_client=api_client )
def __init__(self, api_client=None): if api_client is None: api_client = ApiClient() self.api_client = api_client self.delete_category_endpoint = _Endpoint(settings={ 'response_type': None, 'auth': ['firefly_iii_auth'], 'endpoint_path': '/api/v1/categories/{id}', 'operation_id': 'delete_category', 'http_method': 'DELETE', 'servers': None, }, params_map={ 'all': [ 'id', ], 'required': [ 'id', ], 'nullable': [], 'enum': [], 'validation': [] }, root_map={ 'validations': {}, 'allowed_values': {}, 'openapi_types': { 'id': (str, ), }, 'attribute_map': { 'id': 'id', }, 'location_map': { 'id': 'path', }, 'collection_format_map': {} }, headers_map={ 'accept': [], 'content_type': [], }, api_client=api_client) self.get_category_endpoint = _Endpoint( settings={ 'response_type': (CategorySingle, ), 'auth': ['firefly_iii_auth'], 'endpoint_path': '/api/v1/categories/{id}', 'operation_id': 'get_category', 'http_method': 'GET', 'servers': None, }, params_map={ 'all': [ 'id', 'start', 'end', ], 'required': [ 'id', ], 'nullable': [], 'enum': [], 'validation': [] }, root_map={ 'validations': {}, 'allowed_values': {}, 'openapi_types': { 'id': (str, ), 'start': (date, ), 'end': (date, ), }, 'attribute_map': { 'id': 'id', 'start': 'start', 'end': 'end', }, 'location_map': { 'id': 'path', 'start': 'query', 'end': 'query', }, 'collection_format_map': {} }, headers_map={ 'accept': ['application/vnd.api+json'], 'content_type': [], }, api_client=api_client) self.list_attachment_by_category_endpoint = _Endpoint( settings={ 'response_type': (AttachmentArray, ), 'auth': ['firefly_iii_auth'], 'endpoint_path': '/api/v1/categories/{id}/attachments', 'operation_id': 'list_attachment_by_category', 'http_method': 'GET', 'servers': None, }, params_map={ 'all': [ 'id', 'page', ], 'required': [ 'id', ], 'nullable': [], 'enum': [], 'validation': [] }, root_map={ 'validations': {}, 'allowed_values': {}, 'openapi_types': { 'id': (str, ), 'page': (int, ), }, 'attribute_map': { 'id': 'id', 'page': 'page', }, 'location_map': { 'id': 'path', 'page': 'query', }, 'collection_format_map': {} }, headers_map={ 'accept': ['application/vnd.api+json'], 'content_type': [], }, api_client=api_client) self.list_category_endpoint = _Endpoint( settings={ 'response_type': (CategoryArray, ), 'auth': ['firefly_iii_auth'], 'endpoint_path': '/api/v1/categories', 'operation_id': 'list_category', 'http_method': 'GET', 'servers': None, }, params_map={ 'all': [ 'page', ], 'required': [], 'nullable': [], 'enum': [], 'validation': [] }, root_map={ 'validations': {}, 'allowed_values': {}, 'openapi_types': { 'page': (int, ), }, 'attribute_map': { 'page': 'page', }, 'location_map': { 'page': 'query', }, 'collection_format_map': {} }, headers_map={ 'accept': ['application/vnd.api+json'], 'content_type': [], }, api_client=api_client) self.list_transaction_by_category_endpoint = _Endpoint( settings={ 'response_type': (TransactionArray, ), 'auth': ['firefly_iii_auth'], 'endpoint_path': '/api/v1/categories/{id}/transactions', 'operation_id': 'list_transaction_by_category', 'http_method': 'GET', 'servers': None, }, params_map={ 'all': [ 'id', 'page', 'start', 'end', 'type', ], 'required': [ 'id', ], 'nullable': [], 'enum': [], 'validation': [] }, root_map={ 'validations': {}, 'allowed_values': {}, 'openapi_types': { 'id': (str, ), 'page': (int, ), 'start': (date, ), 'end': (date, ), 'type': (TransactionTypeFilter, ), }, 'attribute_map': { 'id': 'id', 'page': 'page', 'start': 'start', 'end': 'end', 'type': 'type', }, 'location_map': { 'id': 'path', 'page': 'query', 'start': 'query', 'end': 'query', 'type': 'query', }, 'collection_format_map': {} }, headers_map={ 'accept': ['application/vnd.api+json'], 'content_type': [], }, api_client=api_client) self.list_transaction_without_category_endpoint = _Endpoint( settings={ 'response_type': (TransactionArray, ), 'auth': ['firefly_iii_auth'], 'endpoint_path': '/api/v1/categories/transactions-without-category', 'operation_id': 'list_transaction_without_category', 'http_method': 'GET', 'servers': None, }, params_map={ 'all': [ 'limit', 'page', 'start', 'end', 'type', ], 'required': [], 'nullable': [], 'enum': [], 'validation': [] }, root_map={ 'validations': {}, 'allowed_values': {}, 'openapi_types': { 'limit': (int, ), 'page': (int, ), 'start': (date, ), 'end': (date, ), 'type': (TransactionTypeFilter, ), }, 'attribute_map': { 'limit': 'limit', 'page': 'page', 'start': 'start', 'end': 'end', 'type': 'type', }, 'location_map': { 'limit': 'query', 'page': 'query', 'start': 'query', 'end': 'query', 'type': 'query', }, 'collection_format_map': {} }, headers_map={ 'accept': ['application/vnd.api+json'], 'content_type': [], }, api_client=api_client) self.store_category_endpoint = _Endpoint( settings={ 'response_type': (CategorySingle, ), 'auth': ['firefly_iii_auth'], 'endpoint_path': '/api/v1/categories', 'operation_id': 'store_category', 'http_method': 'POST', 'servers': None, }, params_map={ 'all': [ 'category', ], 'required': [ 'category', ], 'nullable': [], 'enum': [], 'validation': [] }, root_map={ 'validations': {}, 'allowed_values': {}, 'openapi_types': { 'category': (Category, ), }, 'attribute_map': {}, 'location_map': { 'category': 'body', }, 'collection_format_map': {} }, headers_map={ 'accept': ['application/vnd.api+json', 'application/json'], 'content_type': ['application/json', 'application/x-www-form-urlencoded'] }, api_client=api_client) self.update_category_endpoint = _Endpoint( settings={ 'response_type': (CategorySingle, ), 'auth': ['firefly_iii_auth'], 'endpoint_path': '/api/v1/categories/{id}', 'operation_id': 'update_category', 'http_method': 'PUT', 'servers': None, }, params_map={ 'all': [ 'id', 'category_update', ], 'required': [ 'id', 'category_update', ], 'nullable': [], 'enum': [], 'validation': [] }, root_map={ 'validations': {}, 'allowed_values': {}, 'openapi_types': { 'id': (str, ), 'category_update': (CategoryUpdate, ), }, 'attribute_map': { 'id': 'id', }, 'location_map': { 'id': 'path', 'category_update': 'body', }, 'collection_format_map': {} }, headers_map={ 'accept': ['application/vnd.api+json', 'application/json'], 'content_type': ['application/json', 'application/x-www-form-urlencoded'] }, api_client=api_client)
def __init__(self, api_client=None): if api_client is None: api_client = ApiClient() self.api_client = api_client self.bulk_update_transactions_endpoint = _Endpoint( settings={ 'response_type': None, 'auth': ['firefly_iii_auth'], 'endpoint_path': '/api/v1/data/bulk/transactions', 'operation_id': 'bulk_update_transactions', 'http_method': 'POST', 'servers': None, }, params_map={ 'all': [ 'query', ], 'required': [ 'query', ], 'nullable': [], 'enum': [], 'validation': [] }, root_map={ 'validations': {}, 'allowed_values': {}, 'openapi_types': { 'query': (str, ), }, 'attribute_map': { 'query': 'query', }, 'location_map': { 'query': 'query', }, 'collection_format_map': {} }, headers_map={ 'accept': [], 'content_type': [], }, api_client=api_client) self.destroy_data_endpoint = _Endpoint(settings={ 'response_type': None, 'auth': ['firefly_iii_auth'], 'endpoint_path': '/api/v1/data/destroy', 'operation_id': 'destroy_data', 'http_method': 'DELETE', 'servers': None, }, params_map={ 'all': [ 'objects', ], 'required': [ 'objects', ], 'nullable': [], 'enum': [], 'validation': [] }, root_map={ 'validations': {}, 'allowed_values': {}, 'openapi_types': { 'objects': (DataDestroyObject, ), }, 'attribute_map': { 'objects': 'objects', }, 'location_map': { 'objects': 'query', }, 'collection_format_map': {} }, headers_map={ 'accept': [], 'content_type': [], }, api_client=api_client) self.export_accounts_endpoint = _Endpoint( settings={ 'response_type': (file_type, ), 'auth': ['firefly_iii_auth'], 'endpoint_path': '/api/v1/data/export/accounts', 'operation_id': 'export_accounts', 'http_method': 'GET', 'servers': None, }, params_map={ 'all': [ 'type', ], 'required': [], 'nullable': [], 'enum': [], 'validation': [] }, root_map={ 'validations': {}, 'allowed_values': {}, 'openapi_types': { 'type': (ExportFileFilter, ), }, 'attribute_map': { 'type': 'type', }, 'location_map': { 'type': 'query', }, 'collection_format_map': {} }, headers_map={ 'accept': ['application/octet-stream'], 'content_type': [], }, api_client=api_client) self.export_bills_endpoint = _Endpoint( settings={ 'response_type': (file_type, ), 'auth': ['firefly_iii_auth'], 'endpoint_path': '/api/v1/data/export/bills', 'operation_id': 'export_bills', 'http_method': 'GET', 'servers': None, }, params_map={ 'all': [ 'type', ], 'required': [], 'nullable': [], 'enum': [], 'validation': [] }, root_map={ 'validations': {}, 'allowed_values': {}, 'openapi_types': { 'type': (ExportFileFilter, ), }, 'attribute_map': { 'type': 'type', }, 'location_map': { 'type': 'query', }, 'collection_format_map': {} }, headers_map={ 'accept': ['application/octet-stream'], 'content_type': [], }, api_client=api_client) self.export_budgets_endpoint = _Endpoint( settings={ 'response_type': (file_type, ), 'auth': ['firefly_iii_auth'], 'endpoint_path': '/api/v1/data/export/budgets', 'operation_id': 'export_budgets', 'http_method': 'GET', 'servers': None, }, params_map={ 'all': [ 'type', ], 'required': [], 'nullable': [], 'enum': [], 'validation': [] }, root_map={ 'validations': {}, 'allowed_values': {}, 'openapi_types': { 'type': (ExportFileFilter, ), }, 'attribute_map': { 'type': 'type', }, 'location_map': { 'type': 'query', }, 'collection_format_map': {} }, headers_map={ 'accept': ['application/octet-stream'], 'content_type': [], }, api_client=api_client) self.export_categories_endpoint = _Endpoint( settings={ 'response_type': (file_type, ), 'auth': ['firefly_iii_auth'], 'endpoint_path': '/api/v1/data/export/categories', 'operation_id': 'export_categories', 'http_method': 'GET', 'servers': None, }, params_map={ 'all': [ 'type', ], 'required': [], 'nullable': [], 'enum': [], 'validation': [] }, root_map={ 'validations': {}, 'allowed_values': {}, 'openapi_types': { 'type': (ExportFileFilter, ), }, 'attribute_map': { 'type': 'type', }, 'location_map': { 'type': 'query', }, 'collection_format_map': {} }, headers_map={ 'accept': ['application/octet-stream'], 'content_type': [], }, api_client=api_client) self.export_piggies_endpoint = _Endpoint( settings={ 'response_type': (file_type, ), 'auth': ['firefly_iii_auth'], 'endpoint_path': '/api/v1/data/export/piggy-banks', 'operation_id': 'export_piggies', 'http_method': 'GET', 'servers': None, }, params_map={ 'all': [ 'type', ], 'required': [], 'nullable': [], 'enum': [], 'validation': [] }, root_map={ 'validations': {}, 'allowed_values': {}, 'openapi_types': { 'type': (ExportFileFilter, ), }, 'attribute_map': { 'type': 'type', }, 'location_map': { 'type': 'query', }, 'collection_format_map': {} }, headers_map={ 'accept': ['application/octet-stream'], 'content_type': [], }, api_client=api_client) self.export_recurring_endpoint = _Endpoint( settings={ 'response_type': (file_type, ), 'auth': ['firefly_iii_auth'], 'endpoint_path': '/api/v1/data/export/recurring', 'operation_id': 'export_recurring', 'http_method': 'GET', 'servers': None, }, params_map={ 'all': [ 'type', ], 'required': [], 'nullable': [], 'enum': [], 'validation': [] }, root_map={ 'validations': {}, 'allowed_values': {}, 'openapi_types': { 'type': (ExportFileFilter, ), }, 'attribute_map': { 'type': 'type', }, 'location_map': { 'type': 'query', }, 'collection_format_map': {} }, headers_map={ 'accept': ['application/octet-stream'], 'content_type': [], }, api_client=api_client) self.export_rules_endpoint = _Endpoint( settings={ 'response_type': (file_type, ), 'auth': ['firefly_iii_auth'], 'endpoint_path': '/api/v1/data/export/rules', 'operation_id': 'export_rules', 'http_method': 'GET', 'servers': None, }, params_map={ 'all': [ 'type', ], 'required': [], 'nullable': [], 'enum': [], 'validation': [] }, root_map={ 'validations': {}, 'allowed_values': {}, 'openapi_types': { 'type': (ExportFileFilter, ), }, 'attribute_map': { 'type': 'type', }, 'location_map': { 'type': 'query', }, 'collection_format_map': {} }, headers_map={ 'accept': ['application/octet-stream'], 'content_type': [], }, api_client=api_client) self.export_tags_endpoint = _Endpoint(settings={ 'response_type': (file_type, ), 'auth': ['firefly_iii_auth'], 'endpoint_path': '/api/v1/data/export/tags', 'operation_id': 'export_tags', 'http_method': 'GET', 'servers': None, }, params_map={ 'all': [ 'type', ], 'required': [], 'nullable': [], 'enum': [], 'validation': [] }, root_map={ 'validations': {}, 'allowed_values': {}, 'openapi_types': { 'type': (ExportFileFilter, ), }, 'attribute_map': { 'type': 'type', }, 'location_map': { 'type': 'query', }, 'collection_format_map': {} }, headers_map={ 'accept': ['application/octet-stream'], 'content_type': [], }, api_client=api_client) self.export_transactions_endpoint = _Endpoint( settings={ 'response_type': (file_type, ), 'auth': ['firefly_iii_auth'], 'endpoint_path': '/api/v1/data/export/transactions', 'operation_id': 'export_transactions', 'http_method': 'GET', 'servers': None, }, params_map={ 'all': [ 'start', 'end', 'accounts', 'type', ], 'required': [ 'start', 'end', ], 'nullable': [], 'enum': [], 'validation': [] }, root_map={ 'validations': {}, 'allowed_values': {}, 'openapi_types': { 'start': (date, ), 'end': (date, ), 'accounts': (str, ), 'type': (ExportFileFilter, ), }, 'attribute_map': { 'start': 'start', 'end': 'end', 'accounts': 'accounts', 'type': 'type', }, 'location_map': { 'start': 'query', 'end': 'query', 'accounts': 'query', 'type': 'query', }, 'collection_format_map': {} }, headers_map={ 'accept': ['application/octet-stream'], 'content_type': [], }, api_client=api_client)
def __init__(self, api_client=None): if api_client is None: api_client = ApiClient() self.api_client = api_client self.get_basic_summary_endpoint = _Endpoint( settings={ 'response_type': (BasicSummary,), 'auth': [ 'firefly_iii_auth' ], 'endpoint_path': '/api/v1/summary/basic', 'operation_id': 'get_basic_summary', 'http_method': 'GET', 'servers': None, }, params_map={ 'all': [ 'start', 'end', 'currency_code', ], 'required': [ 'start', 'end', ], 'nullable': [ ], 'enum': [ ], 'validation': [ ] }, root_map={ 'validations': { }, 'allowed_values': { }, 'openapi_types': { 'start': (date,), 'end': (date,), 'currency_code': (str,), }, 'attribute_map': { 'start': 'start', 'end': 'end', 'currency_code': 'currency_code', }, 'location_map': { 'start': 'query', 'end': 'query', 'currency_code': 'query', }, 'collection_format_map': { } }, headers_map={ 'accept': [ 'application/vnd.api+json' ], 'content_type': [], }, api_client=api_client )
def __init__(self, api_client=None): if api_client is None: api_client = ApiClient() self.api_client = api_client self.get_configuration_endpoint = _Endpoint( settings={ 'response_type': (ConfigurationArray, ), 'auth': ['firefly_iii_auth'], 'endpoint_path': '/api/v1/configuration', 'operation_id': 'get_configuration', 'http_method': 'GET', 'servers': None, }, params_map={ 'all': [], 'required': [], 'nullable': [], 'enum': [], 'validation': [] }, root_map={ 'validations': {}, 'allowed_values': {}, 'openapi_types': {}, 'attribute_map': {}, 'location_map': {}, 'collection_format_map': {} }, headers_map={ 'accept': ['application/json'], 'content_type': [], }, api_client=api_client) self.get_single_configuration_endpoint = _Endpoint( settings={ 'response_type': (ConfigurationSingle, ), 'auth': ['firefly_iii_auth'], 'endpoint_path': '/api/v1/configuration/{name}', 'operation_id': 'get_single_configuration', 'http_method': 'GET', 'servers': None, }, params_map={ 'all': [ 'name', ], 'required': [ 'name', ], 'nullable': [], 'enum': [], 'validation': [] }, root_map={ 'validations': {}, 'allowed_values': {}, 'openapi_types': { 'name': (ConfigValueFilter, ), }, 'attribute_map': { 'name': 'name', }, 'location_map': { 'name': 'path', }, 'collection_format_map': {} }, headers_map={ 'accept': ['application/json'], 'content_type': [], }, api_client=api_client) self.set_configuration_endpoint = _Endpoint( settings={ 'response_type': (ConfigurationSingle, ), 'auth': ['firefly_iii_auth'], 'endpoint_path': '/api/v1/configuration/{name}', 'operation_id': 'set_configuration', 'http_method': 'PUT', 'servers': None, }, params_map={ 'all': [ 'name', 'configuration_update', ], 'required': [ 'name', 'configuration_update', ], 'nullable': [], 'enum': [], 'validation': [] }, root_map={ 'validations': {}, 'allowed_values': {}, 'openapi_types': { 'name': (ConfigValueUpdateFilter, ), 'configuration_update': (ConfigurationUpdate, ), }, 'attribute_map': { 'name': 'name', }, 'location_map': { 'name': 'path', 'configuration_update': 'body', }, 'collection_format_map': {} }, headers_map={ 'accept': ['application/json'], 'content_type': ['application/json', 'application/x-www-form-urlencoded'] }, api_client=api_client)
def __init__(self, api_client=None): if api_client is None: api_client = ApiClient() self.api_client = api_client self.get_about_endpoint = _Endpoint(settings={ 'response_type': (SystemInfo, ), 'auth': ['firefly_iii_auth'], 'endpoint_path': '/api/v1/about', 'operation_id': 'get_about', 'http_method': 'GET', 'servers': None, }, params_map={ 'all': [], 'required': [], 'nullable': [], 'enum': [], 'validation': [] }, root_map={ 'validations': {}, 'allowed_values': {}, 'openapi_types': {}, 'attribute_map': {}, 'location_map': {}, 'collection_format_map': {} }, headers_map={ 'accept': ['application/vnd.api+json'], 'content_type': [], }, api_client=api_client) self.get_cron_endpoint = _Endpoint(settings={ 'response_type': (CronResult, ), 'auth': ['firefly_iii_auth'], 'endpoint_path': '/api/v1/cron/{cliToken}', 'operation_id': 'get_cron', 'http_method': 'GET', 'servers': None, }, params_map={ 'all': [ 'cli_token', 'date', 'force', ], 'required': [ 'cli_token', ], 'nullable': [], 'enum': [], 'validation': [] }, root_map={ 'validations': {}, 'allowed_values': {}, 'openapi_types': { 'cli_token': (str, ), 'date': (date, ), 'force': (bool, ), }, 'attribute_map': { 'cli_token': 'cliToken', 'date': 'date', 'force': 'force', }, 'location_map': { 'cli_token': 'path', 'date': 'query', 'force': 'query', }, 'collection_format_map': {} }, headers_map={ 'accept': ['application/json'], 'content_type': [], }, api_client=api_client) self.get_current_user_endpoint = _Endpoint( settings={ 'response_type': (UserSingle, ), 'auth': ['firefly_iii_auth'], 'endpoint_path': '/api/v1/about/user', 'operation_id': 'get_current_user', 'http_method': 'GET', 'servers': None, }, params_map={ 'all': [], 'required': [], 'nullable': [], 'enum': [], 'validation': [] }, root_map={ 'validations': {}, 'allowed_values': {}, 'openapi_types': {}, 'attribute_map': {}, 'location_map': {}, 'collection_format_map': {} }, headers_map={ 'accept': ['application/vnd.api+json'], 'content_type': [], }, api_client=api_client)