diff --git a/poly-ticket-api-client/poly_ticket_api_client/models/access_management_place.py b/poly-ticket-api-client/poly_ticket_api_client/models/access_management_place.py index 0eadb0e..08db6ec 100644 --- a/poly-ticket-api-client/poly_ticket_api_client/models/access_management_place.py +++ b/poly-ticket-api-client/poly_ticket_api_client/models/access_management_place.py @@ -20,16 +20,12 @@ class AccessManagementPlace: id (int): name (str): configuration (int): - monomode_testing_url (str): URL of the access management scanner for this place, in testing mode. - monomode_url (str): URL of the access management scanner for this place. expires_at (Union[None, Unset, datetime.datetime]): """ id: int name: str configuration: int - monomode_testing_url: str - monomode_url: str expires_at: Union[None, Unset, datetime.datetime] = UNSET additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict) @@ -40,10 +36,6 @@ class AccessManagementPlace: configuration = self.configuration - monomode_testing_url = self.monomode_testing_url - - monomode_url = self.monomode_url - expires_at: Union[None, Unset, str] if isinstance(self.expires_at, Unset): expires_at = UNSET @@ -59,8 +51,6 @@ class AccessManagementPlace: "id": id, "name": name, "configuration": configuration, - "monomode_testing_url": monomode_testing_url, - "monomode_url": monomode_url, } ) if expires_at is not UNSET: @@ -77,10 +67,6 @@ class AccessManagementPlace: files.append(("configuration", (None, str(self.configuration).encode(), "text/plain"))) - files.append(("monomode_testing_url", (None, str(self.monomode_testing_url).encode(), "text/plain"))) - - files.append(("monomode_url", (None, str(self.monomode_url).encode(), "text/plain"))) - if not isinstance(self.expires_at, Unset): if isinstance(self.expires_at, datetime.datetime): files.append(("expires_at", (None, self.expires_at.isoformat().encode(), "text/plain"))) @@ -101,10 +87,6 @@ class AccessManagementPlace: configuration = d.pop("configuration") - monomode_testing_url = d.pop("monomode_testing_url") - - monomode_url = d.pop("monomode_url") - def _parse_expires_at(data: object) -> Union[None, Unset, datetime.datetime]: if data is None: return data @@ -126,8 +108,6 @@ class AccessManagementPlace: id=id, name=name, configuration=configuration, - monomode_testing_url=monomode_testing_url, - monomode_url=monomode_url, expires_at=expires_at, ) diff --git a/poly-ticket-api-client/poly_ticket_api_client/models/patched_access_management_place.py b/poly-ticket-api-client/poly_ticket_api_client/models/patched_access_management_place.py index 2c078a4..ca869f0 100644 --- a/poly-ticket-api-client/poly_ticket_api_client/models/patched_access_management_place.py +++ b/poly-ticket-api-client/poly_ticket_api_client/models/patched_access_management_place.py @@ -21,16 +21,12 @@ class PatchedAccessManagementPlace: name (Union[Unset, str]): configuration (Union[Unset, int]): expires_at (Union[None, Unset, datetime.datetime]): - monomode_testing_url (Union[Unset, str]): URL of the access management scanner for this place, in testing mode. - monomode_url (Union[Unset, str]): URL of the access management scanner for this place. """ id: Union[Unset, int] = UNSET name: Union[Unset, str] = UNSET configuration: Union[Unset, int] = UNSET expires_at: Union[None, Unset, datetime.datetime] = UNSET - monomode_testing_url: Union[Unset, str] = UNSET - monomode_url: Union[Unset, str] = UNSET additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict) def to_dict(self) -> dict[str, Any]: @@ -48,10 +44,6 @@ class PatchedAccessManagementPlace: else: expires_at = self.expires_at - monomode_testing_url = self.monomode_testing_url - - monomode_url = self.monomode_url - field_dict: dict[str, Any] = {} field_dict.update(self.additional_properties) field_dict.update({}) @@ -63,10 +55,6 @@ class PatchedAccessManagementPlace: field_dict["configuration"] = configuration if expires_at is not UNSET: field_dict["expires_at"] = expires_at - if monomode_testing_url is not UNSET: - field_dict["monomode_testing_url"] = monomode_testing_url - if monomode_url is not UNSET: - field_dict["monomode_url"] = monomode_url return field_dict @@ -88,12 +76,6 @@ class PatchedAccessManagementPlace: else: files.append(("expires_at", (None, str(self.expires_at).encode(), "text/plain"))) - if not isinstance(self.monomode_testing_url, Unset): - files.append(("monomode_testing_url", (None, str(self.monomode_testing_url).encode(), "text/plain"))) - - if not isinstance(self.monomode_url, Unset): - files.append(("monomode_url", (None, str(self.monomode_url).encode(), "text/plain"))) - for prop_name, prop in self.additional_properties.items(): files.append((prop_name, (None, str(prop).encode(), "text/plain"))) @@ -125,17 +107,11 @@ class PatchedAccessManagementPlace: expires_at = _parse_expires_at(d.pop("expires_at", UNSET)) - monomode_testing_url = d.pop("monomode_testing_url", UNSET) - - monomode_url = d.pop("monomode_url", UNSET) - patched_access_management_place = cls( id=id, name=name, configuration=configuration, expires_at=expires_at, - monomode_testing_url=monomode_testing_url, - monomode_url=monomode_url, ) patched_access_management_place.additional_properties = d diff --git a/src/api/client.gen.ts b/src/api/client.gen.ts index ff36549..7a8d217 100644 --- a/src/api/client.gen.ts +++ b/src/api/client.gen.ts @@ -14,5 +14,5 @@ import { type Config, type ClientOptions as DefaultClientOptions, createClient, export type CreateClientConfig = (override?: Config) => Config & T>; export const client = createClient(createConfig({ - baseUrl: 'https://api.dev.v2.polyticket.ch' + baseUrl: 'https://api.v2.polyticket.ch' })); \ No newline at end of file diff --git a/src/api/types.gen.ts b/src/api/types.gen.ts index 56c385d..302b651 100644 --- a/src/api/types.gen.ts +++ b/src/api/types.gen.ts @@ -8,14 +8,6 @@ export type AccessManagementPlace = { name: string; configuration: number; expires_at?: string | null; - /** - * URL of the access management scanner for this place, in testing mode. - */ - readonly monomode_testing_url: string; - /** - * URL of the access management scanner for this place. - */ - readonly monomode_url: string; }; /** @@ -1533,14 +1525,6 @@ export type PatchedAccessManagementPlace = { name?: string; configuration?: number; expires_at?: string | null; - /** - * URL of the access management scanner for this place, in testing mode. - */ - readonly monomode_testing_url?: string; - /** - * URL of the access management scanner for this place. - */ - readonly monomode_url?: string; }; /** @@ -8616,5 +8600,5 @@ export type SchemaRetrieveResponses = { export type SchemaRetrieveResponse = SchemaRetrieveResponses[keyof SchemaRetrieveResponses]; export type ClientOptions = { - baseUrl: 'https://api.dev.v2.polyticket.ch' | (string & {}); + baseUrl: 'https://api.v2.polyticket.ch' | (string & {}); }; \ No newline at end of file diff --git a/swagger.yaml b/swagger.yaml index 070798b..2e93198 100644 --- a/swagger.yaml +++ b/swagger.yaml @@ -7587,20 +7587,9 @@ components: type: string format: date-time nullable: true - monomode_testing_url: - type: string - readOnly: true - description: URL of the access management scanner for this place, in testing - mode. - monomode_url: - type: string - readOnly: true - description: URL of the access management scanner for this place. required: - configuration - id - - monomode_testing_url - - monomode_url - name AddToBasketNodeExtraInfo: type: object @@ -10919,15 +10908,6 @@ components: type: string format: date-time nullable: true - monomode_testing_url: - type: string - readOnly: true - description: URL of the access management scanner for this place, in testing - mode. - monomode_url: - type: string - readOnly: true - description: URL of the access management scanner for this place. PatchedCondition: type: object description: Serializer (read/write) for `Condition` model