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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Standalone SDK repository for the Cairn/Roteiro API clients and public plugin-de
- Plugin development reference: [`docs/plugins.md`](./docs/plugins.md)
- Generated operations map: [`docs/generated-operations.md`](./docs/generated-operations.md)

The TypeScript and Python guides now follow the same structure:
The TypeScript and Python guides follow the same structure:

- handwritten client surface
- domain namespace or module helpers
Expand Down
9 changes: 0 additions & 9 deletions docs/generated-operations.md
Original file line number Diff line number Diff line change
Expand Up @@ -613,15 +613,6 @@ Auto-generated from the server OpenAPI spec. Each operation is available in both
| GET | `/saml/login` | `autoGetSamlLogin` | `auto_get_saml_login` |
| GET | `/saml/logout` | `autoGetSamlLogout` | `auto_get_saml_logout` |
| GET | `/saml/metadata` | `autoGetSamlMetadata` | `auto_get_saml_metadata` |
| GET | `/scim/v2/ResourceTypes` | `autoGetScimV2ResourceTypes` | `auto_get_scim_v2_resource_types` |
| GET | `/scim/v2/Schemas` | `autoGetScimV2Schemas` | `auto_get_scim_v2_schemas` |
| GET | `/scim/v2/ServiceProviderConfig` | `autoGetScimV2ServiceProviderConfig` | `auto_get_scim_v2_service_provider_config` |
| GET | `/scim/v2/Users` | `autoGetScimV2Users` | `auto_get_scim_v2_users` |
| POST | `/scim/v2/Users` | `autoPostScimV2Users` | `auto_post_scim_v2_users` |
| GET | `/scim/v2/Users/{id}` | `autoGetScimV2UsersId` | `auto_get_scim_v2_users_id` |
| PUT | `/scim/v2/Users/{id}` | `autoPutScimV2UsersId` | `auto_put_scim_v2_users_id` |
| PATCH | `/scim/v2/Users/{id}` | `autoPatchScimV2UsersId` | `auto_patch_scim_v2_users_id` |
| DELETE | `/scim/v2/Users/{id}` | `autoDeleteScimV2UsersId` | `auto_delete_scim_v2_users_id` |
| GET | `/stac` | `stacroot` | `stac_root` |
| GET | `/stac/collections` | `staclistcollections` | `stac_list_collections` |
| GET | `/stac/collections/{id}` | `stacgetcollection` | `stac_get_collection` |
Expand Down
117 changes: 0 additions & 117 deletions python/roteiro/generated.py
Original file line number Diff line number Diff line change
Expand Up @@ -7931,123 +7931,6 @@ def auto_get_saml_metadata(self, query: Optional[Dict[str, Any]] = None, body: A
extra_headers['Content-Type'] = 'application/json'
return self._client._request('GET', path, body=payload, extra_headers=extra_headers)

def auto_get_scim_v2_resource_types(self, query: Optional[Dict[str, Any]] = None, body: Any = None, headers: Optional[Dict[str, str]] = None) -> Any:
"""[auto] GET /scim/v2/ResourceTypes"""
path = "/scim/v2/ResourceTypes"
if query:
q = urlencode({k: v for k, v in query.items() if v is not None})
if q:
path = f"{path}?{q}"
extra_headers = dict(headers or {})
payload = body
if payload is not None and 'Content-Type' not in extra_headers:
extra_headers['Content-Type'] = 'application/json'
return self._client._request('GET', path, body=payload, extra_headers=extra_headers)

def auto_get_scim_v2_schemas(self, query: Optional[Dict[str, Any]] = None, body: Any = None, headers: Optional[Dict[str, str]] = None) -> Any:
"""[auto] GET /scim/v2/Schemas"""
path = "/scim/v2/Schemas"
if query:
q = urlencode({k: v for k, v in query.items() if v is not None})
if q:
path = f"{path}?{q}"
extra_headers = dict(headers or {})
payload = body
if payload is not None and 'Content-Type' not in extra_headers:
extra_headers['Content-Type'] = 'application/json'
return self._client._request('GET', path, body=payload, extra_headers=extra_headers)

def auto_get_scim_v2_service_provider_config(self, query: Optional[Dict[str, Any]] = None, body: Any = None, headers: Optional[Dict[str, str]] = None) -> Any:
"""[auto] GET /scim/v2/ServiceProviderConfig"""
path = "/scim/v2/ServiceProviderConfig"
if query:
q = urlencode({k: v for k, v in query.items() if v is not None})
if q:
path = f"{path}?{q}"
extra_headers = dict(headers or {})
payload = body
if payload is not None and 'Content-Type' not in extra_headers:
extra_headers['Content-Type'] = 'application/json'
return self._client._request('GET', path, body=payload, extra_headers=extra_headers)

def auto_get_scim_v2_users(self, query: Optional[Dict[str, Any]] = None, body: Any = None, headers: Optional[Dict[str, str]] = None) -> Any:
"""[auto] GET /scim/v2/Users"""
path = "/scim/v2/Users"
if query:
q = urlencode({k: v for k, v in query.items() if v is not None})
if q:
path = f"{path}?{q}"
extra_headers = dict(headers or {})
payload = body
if payload is not None and 'Content-Type' not in extra_headers:
extra_headers['Content-Type'] = 'application/json'
return self._client._request('GET', path, body=payload, extra_headers=extra_headers)

def auto_post_scim_v2_users(self, query: Optional[Dict[str, Any]] = None, body: Any = None, headers: Optional[Dict[str, str]] = None) -> Any:
"""[auto] POST /scim/v2/Users"""
path = "/scim/v2/Users"
if query:
q = urlencode({k: v for k, v in query.items() if v is not None})
if q:
path = f"{path}?{q}"
extra_headers = dict(headers or {})
payload = body
if payload is not None and 'Content-Type' not in extra_headers:
extra_headers['Content-Type'] = 'application/json'
return self._client._request('POST', path, body=payload, extra_headers=extra_headers)

def auto_get_scim_v2_users_id(self, id: str, query: Optional[Dict[str, Any]] = None, body: Any = None, headers: Optional[Dict[str, str]] = None) -> Any:
"""[auto] GET /scim/v2/Users/{id}"""
path = f"/scim/v2/Users/{_quote_path_value(id)}"
if query:
q = urlencode({k: v for k, v in query.items() if v is not None})
if q:
path = f"{path}?{q}"
extra_headers = dict(headers or {})
payload = body
if payload is not None and 'Content-Type' not in extra_headers:
extra_headers['Content-Type'] = 'application/json'
return self._client._request('GET', path, body=payload, extra_headers=extra_headers)

def auto_put_scim_v2_users_id(self, id: str, query: Optional[Dict[str, Any]] = None, body: Any = None, headers: Optional[Dict[str, str]] = None) -> Any:
"""[auto] PUT /scim/v2/Users/{id}"""
path = f"/scim/v2/Users/{_quote_path_value(id)}"
if query:
q = urlencode({k: v for k, v in query.items() if v is not None})
if q:
path = f"{path}?{q}"
extra_headers = dict(headers or {})
payload = body
if payload is not None and 'Content-Type' not in extra_headers:
extra_headers['Content-Type'] = 'application/json'
return self._client._request('PUT', path, body=payload, extra_headers=extra_headers)

def auto_patch_scim_v2_users_id(self, id: str, query: Optional[Dict[str, Any]] = None, body: Any = None, headers: Optional[Dict[str, str]] = None) -> Any:
"""[auto] PATCH /scim/v2/Users/{id}"""
path = f"/scim/v2/Users/{_quote_path_value(id)}"
if query:
q = urlencode({k: v for k, v in query.items() if v is not None})
if q:
path = f"{path}?{q}"
extra_headers = dict(headers or {})
payload = body
if payload is not None and 'Content-Type' not in extra_headers:
extra_headers['Content-Type'] = 'application/json'
return self._client._request('PATCH', path, body=payload, extra_headers=extra_headers)

def auto_delete_scim_v2_users_id(self, id: str, query: Optional[Dict[str, Any]] = None, body: Any = None, headers: Optional[Dict[str, str]] = None) -> Any:
"""[auto] DELETE /scim/v2/Users/{id}"""
path = f"/scim/v2/Users/{_quote_path_value(id)}"
if query:
q = urlencode({k: v for k, v in query.items() if v is not None})
if q:
path = f"{path}?{q}"
extra_headers = dict(headers or {})
payload = body
if payload is not None and 'Content-Type' not in extra_headers:
extra_headers['Content-Type'] = 'application/json'
return self._client._request('DELETE', path, body=payload, extra_headers=extra_headers)

def stac_root(self, query: Optional[Dict[str, Any]] = None, body: Any = None, headers: Optional[Dict[str, str]] = None) -> Any:
"""STAC catalog root"""
path = "/stac"
Expand Down
144 changes: 0 additions & 144 deletions typescript/src/generated.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9765,150 +9765,6 @@ export class RoteiroGeneratedApi {
});
}

/** [auto] GET /scim/v2/ResourceTypes */
async autoGetScimV2ResourceTypes(options: GeneratedRequestOptions = {}): Promise<unknown> {
const path = withQuery('/scim/v2/ResourceTypes', options.query);
const headers: Record<string, string> = { ...(options.headers ?? {}) };
let body: BodyInit | undefined;
if (options.body !== undefined) {
body = JSON.stringify(options.body);
if (!headers['Content-Type']) headers['Content-Type'] = 'application/json';
}
return this.client.request(path, {
method: 'GET',
headers,
body,
});
}

/** [auto] GET /scim/v2/Schemas */
async autoGetScimV2Schemas(options: GeneratedRequestOptions = {}): Promise<unknown> {
const path = withQuery('/scim/v2/Schemas', options.query);
const headers: Record<string, string> = { ...(options.headers ?? {}) };
let body: BodyInit | undefined;
if (options.body !== undefined) {
body = JSON.stringify(options.body);
if (!headers['Content-Type']) headers['Content-Type'] = 'application/json';
}
return this.client.request(path, {
method: 'GET',
headers,
body,
});
}

/** [auto] GET /scim/v2/ServiceProviderConfig */
async autoGetScimV2ServiceProviderConfig(options: GeneratedRequestOptions = {}): Promise<unknown> {
const path = withQuery('/scim/v2/ServiceProviderConfig', options.query);
const headers: Record<string, string> = { ...(options.headers ?? {}) };
let body: BodyInit | undefined;
if (options.body !== undefined) {
body = JSON.stringify(options.body);
if (!headers['Content-Type']) headers['Content-Type'] = 'application/json';
}
return this.client.request(path, {
method: 'GET',
headers,
body,
});
}

/** [auto] GET /scim/v2/Users */
async autoGetScimV2Users(options: GeneratedRequestOptions = {}): Promise<unknown> {
const path = withQuery('/scim/v2/Users', options.query);
const headers: Record<string, string> = { ...(options.headers ?? {}) };
let body: BodyInit | undefined;
if (options.body !== undefined) {
body = JSON.stringify(options.body);
if (!headers['Content-Type']) headers['Content-Type'] = 'application/json';
}
return this.client.request(path, {
method: 'GET',
headers,
body,
});
}

/** [auto] POST /scim/v2/Users */
async autoPostScimV2Users(options: GeneratedRequestOptions = {}): Promise<unknown> {
const path = withQuery('/scim/v2/Users', options.query);
const headers: Record<string, string> = { ...(options.headers ?? {}) };
let body: BodyInit | undefined;
if (options.body !== undefined) {
body = JSON.stringify(options.body);
if (!headers['Content-Type']) headers['Content-Type'] = 'application/json';
}
return this.client.request(path, {
method: 'POST',
headers,
body,
});
}

/** [auto] GET /scim/v2/Users/{id} */
async autoGetScimV2UsersId(pathParams: { id: string }, options: GeneratedRequestOptions = {}): Promise<unknown> {
const path = withQuery(`/scim/v2/Users/${encodeURIComponent(String(pathParams.id))}`, options.query);
const headers: Record<string, string> = { ...(options.headers ?? {}) };
let body: BodyInit | undefined;
if (options.body !== undefined) {
body = JSON.stringify(options.body);
if (!headers['Content-Type']) headers['Content-Type'] = 'application/json';
}
return this.client.request(path, {
method: 'GET',
headers,
body,
});
}

/** [auto] PUT /scim/v2/Users/{id} */
async autoPutScimV2UsersId(pathParams: { id: string }, options: GeneratedRequestOptions = {}): Promise<unknown> {
const path = withQuery(`/scim/v2/Users/${encodeURIComponent(String(pathParams.id))}`, options.query);
const headers: Record<string, string> = { ...(options.headers ?? {}) };
let body: BodyInit | undefined;
if (options.body !== undefined) {
body = JSON.stringify(options.body);
if (!headers['Content-Type']) headers['Content-Type'] = 'application/json';
}
return this.client.request(path, {
method: 'PUT',
headers,
body,
});
}

/** [auto] PATCH /scim/v2/Users/{id} */
async autoPatchScimV2UsersId(pathParams: { id: string }, options: GeneratedRequestOptions = {}): Promise<unknown> {
const path = withQuery(`/scim/v2/Users/${encodeURIComponent(String(pathParams.id))}`, options.query);
const headers: Record<string, string> = { ...(options.headers ?? {}) };
let body: BodyInit | undefined;
if (options.body !== undefined) {
body = JSON.stringify(options.body);
if (!headers['Content-Type']) headers['Content-Type'] = 'application/json';
}
return this.client.request(path, {
method: 'PATCH',
headers,
body,
});
}

/** [auto] DELETE /scim/v2/Users/{id} */
async autoDeleteScimV2UsersId(pathParams: { id: string }, options: GeneratedRequestOptions = {}): Promise<unknown> {
const path = withQuery(`/scim/v2/Users/${encodeURIComponent(String(pathParams.id))}`, options.query);
const headers: Record<string, string> = { ...(options.headers ?? {}) };
let body: BodyInit | undefined;
if (options.body !== undefined) {
body = JSON.stringify(options.body);
if (!headers['Content-Type']) headers['Content-Type'] = 'application/json';
}
return this.client.request(path, {
method: 'DELETE',
headers,
body,
});
}

/** STAC catalog root */
async stacroot(options: GeneratedRequestOptions = {}): Promise<unknown> {
const path = withQuery('/stac', options.query);
Expand Down
Loading