diff --git a/reference.md b/reference.md index 4359c354..eec810d4 100644 --- a/reference.md +++ b/reference.md @@ -1,6 +1,6 @@ # Reference ## Actions -
client.actions.list(...) -> AsyncPager[Action, ListActionsPaginatedResponseContent] +
client.actions.list(...) -> AsyncPager[Action, ListActionsPaginatedResponseContent]
@@ -120,7 +120,7 @@ for page in response.iter_pages():
-
client.actions.create(...) -> AsyncHttpResponse[CreateActionResponseContent] +
client.actions.create(...) -> AsyncHttpResponse[CreateActionResponseContent]
@@ -223,6 +223,14 @@ client.actions.create(
+**modules:** `typing.Optional[typing.Sequence[ActionModuleReference]]` — The list of action modules and their versions used by this action. + +
+
+ +
+
+ **deploy:** `typing.Optional[bool]` — True if the action should be deployed after creation.
@@ -243,7 +251,7 @@ client.actions.create(
-
client.actions.get(...) -> AsyncHttpResponse[GetActionResponseContent] +
client.actions.get(...) -> AsyncHttpResponse[GetActionResponseContent]
@@ -313,7 +321,7 @@ client.actions.get(
-
client.actions.delete(...) -> AsyncHttpResponse[None] +
client.actions.delete(...) -> AsyncHttpResponse[None]
@@ -392,7 +400,7 @@ client.actions.delete(
-
client.actions.update(...) -> AsyncHttpResponse[UpdateActionResponseContent] +
client.actions.update(...) -> AsyncHttpResponse[UpdateActionResponseContent]
@@ -498,6 +506,14 @@ client.actions.update(
+**modules:** `typing.Optional[typing.Sequence[ActionModuleReference]]` — The list of action modules and their versions used by this action. + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -510,7 +526,7 @@ client.actions.update(
-
client.actions.deploy(...) -> AsyncHttpResponse[DeployActionResponseContent] +
client.actions.deploy(...) -> AsyncHttpResponse[DeployActionResponseContent]
@@ -580,7 +596,7 @@ client.actions.deploy(
-
client.actions.test(...) -> AsyncHttpResponse[TestActionResponseContent] +
client.actions.test(...) -> AsyncHttpResponse[TestActionResponseContent]
@@ -660,7 +676,7 @@ client.actions.test(
## Branding -
client.branding.get() -> AsyncHttpResponse[GetBrandingResponseContent] +
client.branding.get() -> AsyncHttpResponse[GetBrandingResponseContent]
@@ -720,7 +736,7 @@ client.branding.get()
-
client.branding.update(...) -> AsyncHttpResponse[UpdateBrandingResponseContent] +
client.branding.update(...) -> AsyncHttpResponse[UpdateBrandingResponseContent]
@@ -813,7 +829,7 @@ client.branding.update()
## ClientGrants -
client.client_grants.list(...) -> AsyncPager[ClientGrantResponseContent, ListClientGrantPaginatedResponseContent] +
client.client_grants.list(...) -> AsyncPager[ClientGrantResponseContent, ListClientGrantPaginatedResponseContent]
@@ -913,7 +929,7 @@ for page in response.iter_pages():
-**subject_type:** `typing.Optional[ClientGrantSubjectTypeEnum]` — The type of application access the client grant allows. Use of this field is subject to the applicable Free Trial terms in Okta’s Master Subscription Agreement. +**subject_type:** `typing.Optional[ClientGrantSubjectTypeEnum]` — The type of application access the client grant allows.
@@ -933,7 +949,7 @@ for page in response.iter_pages():
-
client.client_grants.create(...) -> AsyncHttpResponse[CreateClientGrantResponseContent] +
client.client_grants.create(...) -> AsyncHttpResponse[CreateClientGrantResponseContent]
@@ -1032,7 +1048,86 @@ client.client_grants.create(
-**authorization_details_types:** `typing.Optional[typing.Sequence[str]]` — Types of authorization_details allowed for this client grant. Use of this field is subject to the applicable Free Trial terms in Okta’s Master Subscription Agreement. +**authorization_details_types:** `typing.Optional[typing.Sequence[str]]` — Types of authorization_details allowed for this client grant. + +
+
+ +
+
+ +**allow_all_scopes:** `typing.Optional[bool]` — If enabled, all scopes configured on the resource server are allowed for this grant. + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + + + +
+ +
client.client_grants.get(...) -> AsyncHttpResponse[GetClientGrantResponseContent] +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Retrieve a single client grant, including the +scopes associated with the application/API pair. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from auth0 import Auth0 + +client = Auth0( + token="YOUR_TOKEN", +) +client.client_grants.get( + id="id", +) + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**id:** `str` — The ID of the client grant to retrieve.
@@ -1052,7 +1147,7 @@ client.client_grants.create(
-
client.client_grants.delete(...) -> AsyncHttpResponse[None] +
client.client_grants.delete(...) -> AsyncHttpResponse[None]
@@ -1122,7 +1217,7 @@ client.client_grants.delete(
-
client.client_grants.update(...) -> AsyncHttpResponse[UpdateClientGrantResponseContent] +
client.client_grants.update(...) -> AsyncHttpResponse[UpdateClientGrantResponseContent]
@@ -1204,7 +1299,15 @@ client.client_grants.update(
-**authorization_details_types:** `typing.Optional[typing.Sequence[str]]` — Types of authorization_details allowed for this client grant. Use of this field is subject to the applicable Free Trial terms in Okta’s Master Subscription Agreement. +**authorization_details_types:** `typing.Optional[typing.Sequence[str]]` — Types of authorization_details allowed for this client grant. + +
+
+ +
+
+ +**allow_all_scopes:** `typing.Optional[bool]` — If enabled, all scopes configured on the resource server are allowed for this grant.
@@ -1225,7 +1328,7 @@ client.client_grants.update(
## Clients -
client.clients.list(...) -> AsyncPager[Client, ListClientsOffsetPaginatedResponseContent] +
client.clients.list(...) -> AsyncPager[Client, ListClientsOffsetPaginatedResponseContent]
@@ -1404,7 +1507,7 @@ for page in response.iter_pages():
-
client.clients.create(...) -> AsyncHttpResponse[CreateClientResponseContent] +
client.clients.create(...) -> AsyncHttpResponse[CreateClientResponseContent]
@@ -1883,7 +1986,7 @@ See https://auth0.com/docs/secure/security-guidance/measures-against-app-imperso
-
client.clients.get(...) -> AsyncHttpResponse[GetClientResponseContent] +
client.clients.get(...) -> AsyncHttpResponse[GetClientResponseContent]
@@ -2001,7 +2104,7 @@ client.clients.get(
-
client.clients.delete(...) -> AsyncHttpResponse[None] +
client.clients.delete(...) -> AsyncHttpResponse[None]
@@ -2071,7 +2174,7 @@ client.clients.delete(
-
client.clients.update(...) -> AsyncHttpResponse[UpdateClientResponseContent] +
client.clients.update(...) -> AsyncHttpResponse[UpdateClientResponseContent]
@@ -2553,7 +2656,7 @@ See https://auth0.com/docs/secure/security-guidance/measures-against-app-imperso
-
client.clients.rotate_secret(...) -> AsyncHttpResponse[RotateClientSecretResponseContent] +
client.clients.rotate_secret(...) -> AsyncHttpResponse[RotateClientSecretResponseContent]
@@ -2628,7 +2731,7 @@ client.clients.rotate_secret(
## ConnectionProfiles -
client.connection_profiles.list(...) -> AsyncPager[ConnectionProfile, ListConnectionProfilesPaginatedResponseContent] +
client.connection_profiles.list(...) -> AsyncPager[ConnectionProfile, ListConnectionProfilesPaginatedResponseContent]
@@ -2712,7 +2815,7 @@ for page in response.iter_pages():
-
client.connection_profiles.create(...) -> AsyncHttpResponse[CreateConnectionProfileResponseContent] +
client.connection_profiles.create(...) -> AsyncHttpResponse[CreateConnectionProfileResponseContent]
@@ -2822,7 +2925,7 @@ client.connection_profiles.create(
-
client.connection_profiles.list_templates() -> AsyncHttpResponse[ListConnectionProfileTemplateResponseContent] +
client.connection_profiles.list_templates() -> AsyncHttpResponse[ListConnectionProfileTemplateResponseContent]
@@ -2882,7 +2985,7 @@ client.connection_profiles.list_templates()
-
client.connection_profiles.get_template(...) -> AsyncHttpResponse[GetConnectionProfileTemplateResponseContent] +
client.connection_profiles.get_template(...) -> AsyncHttpResponse[GetConnectionProfileTemplateResponseContent]
@@ -2952,7 +3055,7 @@ client.connection_profiles.get_template(
-
client.connection_profiles.get(...) -> AsyncHttpResponse[GetConnectionProfileResponseContent] +
client.connection_profiles.get(...) -> AsyncHttpResponse[GetConnectionProfileResponseContent]
@@ -3022,7 +3125,7 @@ client.connection_profiles.get(
-
client.connection_profiles.delete(...) -> AsyncHttpResponse[None] +
client.connection_profiles.delete(...) -> AsyncHttpResponse[None]
@@ -3092,7 +3195,7 @@ client.connection_profiles.delete(
-
client.connection_profiles.update(...) -> AsyncHttpResponse[UpdateConnectionProfileResponseContent] +
client.connection_profiles.update(...) -> AsyncHttpResponse[UpdateConnectionProfileResponseContent]
@@ -3211,7 +3314,7 @@ client.connection_profiles.update(
## Connections -
client.connections.list(...) -> AsyncPager[ConnectionForList, ListConnectionsCheckpointPaginatedResponseContent] +
client.connections.list(...) -> AsyncPager[ConnectionForList, ListConnectionsCheckpointPaginatedResponseContent]
@@ -3352,7 +3455,7 @@ for page in response.iter_pages():
-
client.connections.create(...) -> AsyncHttpResponse[CreateConnectionResponseContent] +
client.connections.create(...) -> AsyncHttpResponse[CreateConnectionResponseContent]
@@ -3364,7 +3467,9 @@ for page in response.iter_pages():
-Creates a new connection according to the JSON object received in body.
+Creates a new connection according to the JSON object received in body. + +Note: If a connection with the same name was recently deleted and had a large number of associated users, the deletion may still be processing. Creating a new connection with that name before the deletion completes may fail or produce unexpected results.
@@ -3503,7 +3608,7 @@ client.connections.create(
-
client.connections.get(...) -> AsyncHttpResponse[GetConnectionResponseContent] +
client.connections.get(...) -> AsyncHttpResponse[GetConnectionResponseContent]
@@ -3591,7 +3696,7 @@ client.connections.get(
-
client.connections.delete(...) -> AsyncHttpResponse[None] +
client.connections.delete(...) -> AsyncHttpResponse[None]
@@ -3604,6 +3709,8 @@ client.connections.get(
Removes a specific connection from your tenant. This action cannot be undone. Once removed, users can no longer use this connection to authenticate. + +Note: If your connection has a large amount of users associated with it, please be aware that this operation can be long running after the response is returned and may impact concurrent create connection requests, if they use an identical connection name.
@@ -3661,7 +3768,7 @@ client.connections.delete(
-
client.connections.update(...) -> AsyncHttpResponse[UpdateConnectionResponseContent] +
client.connections.update(...) -> AsyncHttpResponse[UpdateConnectionResponseContent]
@@ -3805,7 +3912,7 @@ client.connections.update(
-
client.connections.check_status(...) -> AsyncHttpResponse[None] +
client.connections.check_status(...) -> AsyncHttpResponse[None]
@@ -3876,7 +3983,7 @@ client.connections.check_status(
## CustomDomains -
client.custom_domains.list(...) -> AsyncHttpResponse[ListCustomDomainsResponseContent] +
client.custom_domains.list(...) -> AsyncHttpResponse[ListCustomDomainsResponseContent]
@@ -3909,8 +4016,6 @@ client = Auth0( token="YOUR_TOKEN", ) client.custom_domains.list( - take=1, - from_="from", q="q", fields="fields", include_fields=True, @@ -3931,22 +4036,6 @@ client.custom_domains.list(
-**take:** `typing.Optional[int]` — Number of results per page. Defaults to 50. - -
-
- -
-
- -**from_:** `typing.Optional[str]` — Optional Id from which to start selection. - -
-
- -
-
- **q:** `typing.Optional[str]` — Query in Lucene query string syntax.
@@ -3991,7 +4080,7 @@ client.custom_domains.list(
-
client.custom_domains.create(...) -> AsyncHttpResponse[CreateCustomDomainResponseContent] +
client.custom_domains.create(...) -> AsyncHttpResponse[CreateCustomDomainResponseContent]
@@ -4103,6 +4192,14 @@ client.custom_domains.create(
+**relying_party_identifier:** `typing.Optional[str]` — Relying Party ID (rpId) to be used for Passkeys on this custom domain. If not provided, the full domain will be used. + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -4115,7 +4212,7 @@ client.custom_domains.create(
-
client.custom_domains.get(...) -> AsyncHttpResponse[GetCustomDomainResponseContent] +
client.custom_domains.get(...) -> AsyncHttpResponse[GetCustomDomainResponseContent]
@@ -4185,7 +4282,7 @@ client.custom_domains.get(
-
client.custom_domains.delete(...) -> AsyncHttpResponse[None] +
client.custom_domains.delete(...) -> AsyncHttpResponse[None]
@@ -4255,7 +4352,7 @@ client.custom_domains.delete(
-
client.custom_domains.update(...) -> AsyncHttpResponse[UpdateCustomDomainResponseContent] +
client.custom_domains.update(...) -> AsyncHttpResponse[UpdateCustomDomainResponseContent]
@@ -4360,6 +4457,14 @@ client.custom_domains.update(
+**relying_party_identifier:** `typing.Optional[str]` — Relying Party ID (rpId) to be used for Passkeys on this custom domain. Set to null to remove the rpId and fall back to using the full domain. + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -4372,7 +4477,7 @@ client.custom_domains.update(
-
client.custom_domains.test(...) -> AsyncHttpResponse[TestCustomDomainResponseContent] +
client.custom_domains.test(...) -> AsyncHttpResponse[TestCustomDomainResponseContent]
@@ -4442,7 +4547,7 @@ client.custom_domains.test(
-
client.custom_domains.verify(...) -> AsyncHttpResponse[VerifyCustomDomainResponseContent] +
client.custom_domains.verify(...) -> AsyncHttpResponse[VerifyCustomDomainResponseContent]
@@ -4520,7 +4625,7 @@ client.custom_domains.verify(
## DeviceCredentials -
client.device_credentials.list(...) -> AsyncPager[ +
client.device_credentials.list(...) -> AsyncPager[ DeviceCredential, ListDeviceCredentialsOffsetPaginatedResponseContent ]
@@ -4660,7 +4765,7 @@ for page in response.iter_pages():
-
client.device_credentials.create_public_key(...) -> AsyncHttpResponse[CreatePublicKeyDeviceCredentialResponseContent] +
client.device_credentials.create_public_key(...) -> AsyncHttpResponse[CreatePublicKeyDeviceCredentialResponseContent]
@@ -4696,6 +4801,7 @@ client = Auth0( ) client.device_credentials.create_public_key( device_name="device_name", + type="public_key", value="value", device_id="device_id", ) @@ -4722,6 +4828,14 @@ client.device_credentials.create_public_key(
+**type:** `DeviceCredentialPublicKeyTypeEnum` + +
+
+ +
+
+ **value:** `str` — Base64 encoded string containing the credential.
@@ -4758,7 +4872,7 @@ client.device_credentials.create_public_key(
-
client.device_credentials.delete(...) -> AsyncHttpResponse[None] +
client.device_credentials.delete(...) -> AsyncHttpResponse[None]
@@ -4829,7 +4943,7 @@ client.device_credentials.delete(
## EmailTemplates -
client.email_templates.create(...) -> AsyncHttpResponse[CreateEmailTemplateResponseContent] +
client.email_templates.create(...) -> AsyncHttpResponse[CreateEmailTemplateResponseContent]
@@ -4963,7 +5077,7 @@ client.email_templates.create(
-
client.email_templates.get(...) -> AsyncHttpResponse[GetEmailTemplateResponseContent] +
client.email_templates.get(...) -> AsyncHttpResponse[GetEmailTemplateResponseContent]
@@ -5033,7 +5147,7 @@ client.email_templates.get(
-
client.email_templates.set(...) -> AsyncHttpResponse[SetEmailTemplateResponseContent] +
client.email_templates.set(...) -> AsyncHttpResponse[SetEmailTemplateResponseContent]
@@ -5176,7 +5290,7 @@ client.email_templates.set(
-
client.email_templates.update(...) -> AsyncHttpResponse[UpdateEmailTemplateResponseContent] +
client.email_templates.update(...) -> AsyncHttpResponse[UpdateEmailTemplateResponseContent]
@@ -5319,7 +5433,7 @@ client.email_templates.update(
## EventStreams -
client.event_streams.list(...) -> AsyncHttpResponse[typing.List[EventStreamResponseContent]] +
client.event_streams.list(...) -> AsyncPager[EventStreamResponseContent, ListEventStreamsResponseContent]
@@ -5337,10 +5451,15 @@ from auth0 import Auth0 client = Auth0( token="YOUR_TOKEN", ) -client.event_streams.list( +response = client.event_streams.list( from_="from", take=1, ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -5384,7 +5503,7 @@ client.event_streams.list(
-
client.event_streams.create(...) -> AsyncHttpResponse[CreateEventStreamResponseContent] +
client.event_streams.create(...) -> AsyncHttpResponse[CreateEventStreamResponseContent]
@@ -5411,9 +5530,11 @@ client = Auth0( client.event_streams.create( request=CreateEventStreamWebHookRequestContent( destination=EventStreamWebhookDestination( + type="webhook", configuration=EventStreamWebhookConfiguration( webhook_endpoint="webhook_endpoint", webhook_authorization=EventStreamWebhookBasicAuth( + method="basic", username="username", ), ), @@ -5455,7 +5576,7 @@ client.event_streams.create(
-
client.event_streams.get(...) -> AsyncHttpResponse[GetEventStreamResponseContent] +
client.event_streams.get(...) -> AsyncHttpResponse[GetEventStreamResponseContent]
@@ -5511,7 +5632,7 @@ client.event_streams.get(
-
client.event_streams.delete(...) -> AsyncHttpResponse[None] +
client.event_streams.delete(...) -> AsyncHttpResponse[None]
@@ -5567,7 +5688,7 @@ client.event_streams.delete(
-
client.event_streams.update(...) -> AsyncHttpResponse[UpdateEventStreamResponseContent] +
client.event_streams.update(...) -> AsyncHttpResponse[UpdateEventStreamResponseContent]
@@ -5655,7 +5776,7 @@ client.event_streams.update(
-
client.event_streams.test(...) -> AsyncHttpResponse[CreateEventStreamTestEventResponseContent] +
client.event_streams.test(...) -> AsyncHttpResponse[CreateEventStreamTestEventResponseContent]
@@ -5729,7 +5850,7 @@ client.event_streams.test(
## Flows -
client.flows.list(...) -> AsyncPager[FlowSummary, ListFlowsOffsetPaginatedResponseContent] +
client.flows.list(...) -> AsyncPager[FlowSummary, ListFlowsOffsetPaginatedResponseContent]
@@ -5799,8 +5920,8 @@ for page in response.iter_pages(): **hydrate:** `typing.Optional[ typing.Union[ - typing.Literal["form_count"], - typing.Sequence[typing.Literal["form_count"]], + FlowsListRequestHydrateItem, + typing.Sequence[FlowsListRequestHydrateItem], ] ]` — hydration param @@ -5830,7 +5951,7 @@ for page in response.iter_pages():
-
client.flows.create(...) -> AsyncHttpResponse[CreateFlowResponseContent] +
client.flows.create(...) -> AsyncHttpResponse[CreateFlowResponseContent]
@@ -5894,7 +6015,7 @@ client.flows.create(
-
client.flows.get(...) -> AsyncHttpResponse[GetFlowResponseContent] +
client.flows.get(...) -> AsyncHttpResponse[GetFlowResponseContent]
@@ -5963,7 +6084,7 @@ client.flows.get(
-
client.flows.delete(...) -> AsyncHttpResponse[None] +
client.flows.delete(...) -> AsyncHttpResponse[None]
@@ -6019,7 +6140,7 @@ client.flows.delete(
-
client.flows.update(...) -> AsyncHttpResponse[UpdateFlowResponseContent] +
client.flows.update(...) -> AsyncHttpResponse[UpdateFlowResponseContent]
@@ -6092,7 +6213,7 @@ client.flows.update(
## Forms -
client.forms.list(...) -> AsyncPager[FormSummary, ListFormsOffsetPaginatedResponseContent] +
client.forms.list(...) -> AsyncPager[FormSummary, ListFormsOffsetPaginatedResponseContent]
@@ -6184,7 +6305,7 @@ for page in response.iter_pages():
-
client.forms.create(...) -> AsyncHttpResponse[CreateFormResponseContent] +
client.forms.create(...) -> AsyncHttpResponse[CreateFormResponseContent]
@@ -6296,7 +6417,7 @@ client.forms.create(
-
client.forms.get(...) -> AsyncHttpResponse[GetFormResponseContent] +
client.forms.get(...) -> AsyncHttpResponse[GetFormResponseContent]
@@ -6365,7 +6486,7 @@ client.forms.get(
-
client.forms.delete(...) -> AsyncHttpResponse[None] +
client.forms.delete(...) -> AsyncHttpResponse[None]
@@ -6421,7 +6542,7 @@ client.forms.delete(
-
client.forms.update(...) -> AsyncHttpResponse[UpdateFormResponseContent] +
client.forms.update(...) -> AsyncHttpResponse[UpdateFormResponseContent]
@@ -6542,7 +6663,7 @@ client.forms.update(
## UserGrants -
client.user_grants.list(...) -> AsyncPager[UserGrant, ListUserGrantsOffsetPaginatedResponseContent] +
client.user_grants.list(...) -> AsyncPager[UserGrant, ListUserGrantsOffsetPaginatedResponseContent]
@@ -6662,7 +6783,7 @@ for page in response.iter_pages():
-
client.user_grants.delete_by_user_id(...) -> AsyncHttpResponse[None] +
client.user_grants.delete_by_user_id(...) -> AsyncHttpResponse[None]
@@ -6732,7 +6853,7 @@ client.user_grants.delete_by_user_id(
-
client.user_grants.delete(...) -> AsyncHttpResponse[None] +
client.user_grants.delete(...) -> AsyncHttpResponse[None]
@@ -6802,8 +6923,8 @@ client.user_grants.delete(
-## Hooks -
client.hooks.list(...) -> AsyncPager[Hook, ListHooksOffsetPaginatedResponseContent] +## Groups +
client.groups.list(...) -> AsyncPager[Group, ListGroupsPaginatedResponseContent]
@@ -6815,7 +6936,7 @@ client.user_grants.delete(
-Retrieve all hooks. Accepts a list of fields to include or exclude in the result. +List all groups in your tenant.
@@ -6835,13 +6956,14 @@ from auth0 import Auth0 client = Auth0( token="YOUR_TOKEN", ) -response = client.hooks.list( - page=1, - per_page=1, - include_totals=True, - enabled=True, +response = client.groups.list( + connection_id="connection_id", + name="name", + external_id="external_id", fields="fields", - trigger_id="credentials-exchange", + include_fields=True, + from_="from", + take=1, ) for item in response: yield item @@ -6863,7 +6985,7 @@ for page in response.iter_pages():
-**page:** `typing.Optional[int]` — Page index of the results to return. First page is 0. +**connection_id:** `typing.Optional[str]` — Filter groups by connection ID.
@@ -6871,7 +6993,7 @@ for page in response.iter_pages():
-**per_page:** `typing.Optional[int]` — Number of results per page. +**name:** `typing.Optional[str]` — Filter groups by name.
@@ -6879,7 +7001,7 @@ for page in response.iter_pages():
-**include_totals:** `typing.Optional[bool]` — Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). +**external_id:** `typing.Optional[str]` — Filter groups by external ID.
@@ -6887,7 +7009,7 @@ for page in response.iter_pages():
-**enabled:** `typing.Optional[bool]` — Optional filter on whether a hook is enabled (true) or disabled (false). +**fields:** `typing.Optional[str]` — A comma separated list of fields to include or exclude (depending on include_fields) from the result, empty to retrieve all fields
@@ -6895,7 +7017,7 @@ for page in response.iter_pages():
-**fields:** `typing.Optional[str]` — Comma-separated list of fields to include in the result. Leave empty to retrieve all fields. +**include_fields:** `typing.Optional[bool]` — Whether specified fields are to be included (true) or excluded (false).
@@ -6903,7 +7025,15 @@ for page in response.iter_pages():
-**trigger_id:** `typing.Optional[HookTriggerIdEnum]` — Retrieves hooks that match the trigger +**from_:** `typing.Optional[str]` — Optional Id from which to start selection. + +
+
+ +
+
+ +**take:** `typing.Optional[int]` — Number of results per page. Defaults to 50.
@@ -6923,7 +7053,7 @@ for page in response.iter_pages():
-
client.hooks.create(...) -> AsyncHttpResponse[CreateHookResponseContent] +
client.groups.get(...) -> AsyncHttpResponse[GetGroupResponseContent]
@@ -6935,7 +7065,7 @@ for page in response.iter_pages():
-Create a new hook. +Retrieve a group by its ID.
@@ -6955,10 +7085,8 @@ from auth0 import Auth0 client = Auth0( token="YOUR_TOKEN", ) -client.hooks.create( - name="name", - script="script", - trigger_id="credentials-exchange", +client.groups.get( + id="id", ) ``` @@ -6975,39 +7103,7 @@ client.hooks.create(
-**name:** `str` — Name of this hook. - -
-
- -
-
- -**script:** `str` — Code to be executed when this hook runs. - -
-
- -
-
- -**trigger_id:** `HookTriggerIdEnum` - -
-
- -
-
- -**enabled:** `typing.Optional[bool]` — Whether this hook will be executed (true) or ignored (false). - -
-
- -
-
- -**dependencies:** `typing.Optional[HookDependencies]` +**id:** `str` — Unique identifier for the group (service-generated).
@@ -7027,7 +7123,8 @@ client.hooks.create(
-
client.hooks.get(...) -> AsyncHttpResponse[GetHookResponseContent] +## Hooks +
client.hooks.list(...) -> AsyncPager[Hook, ListHooksOffsetPaginatedResponseContent]
@@ -7039,7 +7136,7 @@ client.hooks.create(
-Retrieve a hook by its ID. Accepts a list of fields to include in the result. +Retrieve all hooks. Accepts a list of fields to include or exclude in the result.
@@ -7059,10 +7156,19 @@ from auth0 import Auth0 client = Auth0( token="YOUR_TOKEN", ) -client.hooks.get( - id="id", +response = client.hooks.list( + page=1, + per_page=1, + include_totals=True, + enabled=True, fields="fields", + trigger_id="credentials-exchange", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -7078,7 +7184,31 @@ client.hooks.get(
-**id:** `str` — ID of the hook to retrieve. +**page:** `typing.Optional[int]` — Page index of the results to return. First page is 0. + +
+
+ +
+
+ +**per_page:** `typing.Optional[int]` — Number of results per page. + +
+
+ +
+
+ +**include_totals:** `typing.Optional[bool]` — Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). + +
+
+ +
+
+ +**enabled:** `typing.Optional[bool]` — Optional filter on whether a hook is enabled (true) or disabled (false).
@@ -7094,6 +7224,14 @@ client.hooks.get(
+**trigger_id:** `typing.Optional[HookTriggerIdEnum]` — Retrieves hooks that match the trigger + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -7106,7 +7244,190 @@ client.hooks.get(
-
client.hooks.delete(...) -> AsyncHttpResponse[None] +
client.hooks.create(...) -> AsyncHttpResponse[CreateHookResponseContent] +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Create a new hook. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from auth0 import Auth0 + +client = Auth0( + token="YOUR_TOKEN", +) +client.hooks.create( + name="name", + script="script", + trigger_id="credentials-exchange", +) + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**name:** `str` — Name of this hook. + +
+
+ +
+
+ +**script:** `str` — Code to be executed when this hook runs. + +
+
+ +
+
+ +**trigger_id:** `HookTriggerIdEnum` + +
+
+ +
+
+ +**enabled:** `typing.Optional[bool]` — Whether this hook will be executed (true) or ignored (false). + +
+
+ +
+
+ +**dependencies:** `typing.Optional[HookDependencies]` + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + +
+
+
+ +
client.hooks.get(...) -> AsyncHttpResponse[GetHookResponseContent] +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Retrieve a hook by its ID. Accepts a list of fields to include in the result. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from auth0 import Auth0 + +client = Auth0( + token="YOUR_TOKEN", +) +client.hooks.get( + id="id", + fields="fields", +) + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**id:** `str` — ID of the hook to retrieve. + +
+
+ +
+
+ +**fields:** `typing.Optional[str]` — Comma-separated list of fields to include in the result. Leave empty to retrieve all fields. + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + +
+
+
+ +
client.hooks.delete(...) -> AsyncHttpResponse[None]
@@ -7176,7 +7497,7 @@ client.hooks.delete(
-
client.hooks.update(...) -> AsyncHttpResponse[UpdateHookResponseContent] +
client.hooks.update(...) -> AsyncHttpResponse[UpdateHookResponseContent]
@@ -7279,7 +7600,7 @@ client.hooks.update(
## Jobs -
client.jobs.get(...) -> AsyncHttpResponse[GetJobResponseContent] +
client.jobs.get(...) -> AsyncHttpResponse[GetJobResponseContent]
@@ -7350,7 +7671,7 @@ client.jobs.get(
## LogStreams -
client.log_streams.list() -> AsyncHttpResponse[typing.List[LogStreamResponseSchema]] +
client.log_streams.list() -> AsyncHttpResponse[typing.List[LogStreamResponseSchema]]
@@ -7475,7 +7796,7 @@ client.log_streams.list()
-
client.log_streams.create(...) -> AsyncHttpResponse[CreateLogStreamResponseContent] +
client.log_streams.create(...) -> AsyncHttpResponse[CreateLogStreamResponseContent]
@@ -7634,6 +7955,7 @@ client = Auth0( ) client.log_streams.create( request=CreateLogStreamHttpRequestBody( + type="http", sink=LogStreamHttpSink( http_endpoint="httpEndpoint", ), @@ -7674,7 +7996,7 @@ client.log_streams.create(
-
client.log_streams.get(...) -> AsyncHttpResponse[GetLogStreamResponseContent] +
client.log_streams.get(...) -> AsyncHttpResponse[GetLogStreamResponseContent]
@@ -7845,7 +8167,7 @@ client.log_streams.get(
-
client.log_streams.delete(...) -> AsyncHttpResponse[None] +
client.log_streams.delete(...) -> AsyncHttpResponse[None]
@@ -7915,7 +8237,7 @@ client.log_streams.delete(
-
client.log_streams.update(...) -> AsyncHttpResponse[UpdateLogStreamResponseContent] +
client.log_streams.update(...) -> AsyncHttpResponse[UpdateLogStreamResponseContent]
@@ -8068,7 +8390,7 @@ client.log_streams.update(
## Logs -
client.logs.list(...) -> AsyncPager[Log, ListLogOffsetPaginatedResponseContent] +
client.logs.list(...) -> AsyncPager[Log, ListLogOffsetPaginatedResponseContent]
@@ -8229,7 +8551,7 @@ Values specified without quotes are matched using a case insensitive 'starts wit
-
client.logs.get(...) -> AsyncHttpResponse[GetLogResponseContent] +
client.logs.get(...) -> AsyncHttpResponse[GetLogResponseContent]
@@ -8300,7 +8622,7 @@ client.logs.get(
## NetworkAcls -
client.network_acls.list(...) -> AsyncPager[ +
client.network_acls.list(...) -> AsyncPager[ NetworkAclsResponseContent, ListNetworkAclsOffsetPaginatedResponseContent ]
@@ -8395,7 +8717,7 @@ for page in response.iter_pages():
-
client.network_acls.create(...) -> AsyncHttpResponse[None] +
client.network_acls.create(...) -> AsyncHttpResponse[None]
@@ -8495,7 +8817,7 @@ client.network_acls.create(
-
client.network_acls.get(...) -> AsyncHttpResponse[GetNetworkAclsResponseContent] +
client.network_acls.get(...) -> AsyncHttpResponse[GetNetworkAclsResponseContent]
@@ -8565,7 +8887,7 @@ client.network_acls.get(
-
client.network_acls.set(...) -> AsyncHttpResponse[SetNetworkAclsResponseContent] +
client.network_acls.set(...) -> AsyncHttpResponse[SetNetworkAclsResponseContent]
@@ -8674,7 +8996,7 @@ client.network_acls.set(
-
client.network_acls.delete(...) -> AsyncHttpResponse[None] +
client.network_acls.delete(...) -> AsyncHttpResponse[None]
@@ -8744,7 +9066,7 @@ client.network_acls.delete(
-
client.network_acls.update(...) -> AsyncHttpResponse[UpdateNetworkAclResponseContent] +
client.network_acls.update(...) -> AsyncHttpResponse[UpdateNetworkAclResponseContent]
@@ -8847,7 +9169,7 @@ client.network_acls.update(
## Organizations -
client.organizations.list(...) -> AsyncPager[Organization, ListOrganizationsPaginatedResponseContent] +
client.organizations.list(...) -> AsyncPager[Organization, ListOrganizationsPaginatedResponseContent]
@@ -8958,7 +9280,7 @@ for page in response.iter_pages():
-
client.organizations.create(...) -> AsyncHttpResponse[CreateOrganizationResponseContent] +
client.organizations.create(...) -> AsyncHttpResponse[CreateOrganizationResponseContent]
@@ -9068,7 +9390,7 @@ client.organizations.create(
-
client.organizations.get_by_name(...) -> AsyncHttpResponse[GetOrganizationByNameResponseContent] +
client.organizations.get_by_name(...) -> AsyncHttpResponse[GetOrganizationByNameResponseContent]
@@ -9138,7 +9460,7 @@ client.organizations.get_by_name(
-
client.organizations.get(...) -> AsyncHttpResponse[GetOrganizationResponseContent] +
client.organizations.get(...) -> AsyncHttpResponse[GetOrganizationResponseContent]
@@ -9208,7 +9530,7 @@ client.organizations.get(
-
client.organizations.delete(...) -> AsyncHttpResponse[None] +
client.organizations.delete(...) -> AsyncHttpResponse[None]
@@ -9280,7 +9602,7 @@ client.organizations.delete(
-
client.organizations.update(...) -> AsyncHttpResponse[UpdateOrganizationResponseContent] +
client.organizations.update(...) -> AsyncHttpResponse[UpdateOrganizationResponseContent]
@@ -9391,7 +9713,7 @@ client.organizations.update(
## Prompts -
client.prompts.get_settings() -> AsyncHttpResponse[GetSettingsResponseContent] +
client.prompts.get_settings() -> AsyncHttpResponse[GetSettingsResponseContent]
@@ -9451,7 +9773,7 @@ client.prompts.get_settings()
-
client.prompts.update_settings(...) -> AsyncHttpResponse[UpdateSettingsResponseContent] +
client.prompts.update_settings(...) -> AsyncHttpResponse[UpdateSettingsResponseContent]
@@ -9536,7 +9858,7 @@ client.prompts.update_settings()
## RefreshTokens -
client.refresh_tokens.get(...) -> AsyncHttpResponse[GetRefreshTokenResponseContent] +
client.refresh_tokens.get(...) -> AsyncHttpResponse[GetRefreshTokenResponseContent]
@@ -9606,7 +9928,7 @@ client.refresh_tokens.get(
-
client.refresh_tokens.delete(...) -> AsyncHttpResponse[None] +
client.refresh_tokens.delete(...) -> AsyncHttpResponse[None]
@@ -9672,12 +9994,90 @@ client.refresh_tokens.delete(
+ + +
+ +
client.refresh_tokens.update(...) -> AsyncHttpResponse[UpdateRefreshTokenResponseContent] +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Update a refresh token by its ID. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from auth0 import Auth0 + +client = Auth0( + token="YOUR_TOKEN", +) +client.refresh_tokens.update( + id="id", +) + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**id:** `str` — ID of the refresh token to update. + +
+
+ +
+
+ +**refresh_token_metadata:** `typing.Optional[RefreshTokenMetadata]` + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ +
## ResourceServers -
client.resource_servers.list(...) -> AsyncPager[ResourceServer, ListResourceServerOffsetPaginatedResponseContent] +
client.resource_servers.list(...) -> AsyncPager[ResourceServer, ListResourceServerOffsetPaginatedResponseContent]
@@ -9787,7 +10187,7 @@ for page in response.iter_pages():
-
client.resource_servers.create(...) -> AsyncHttpResponse[CreateResourceServerResponseContent] +
client.resource_servers.create(...) -> AsyncHttpResponse[CreateResourceServerResponseContent]
@@ -9969,7 +10369,7 @@ client.resource_servers.create(
-
client.resource_servers.get(...) -> AsyncHttpResponse[GetResourceServerResponseContent] +
client.resource_servers.get(...) -> AsyncHttpResponse[GetResourceServerResponseContent]
@@ -10048,7 +10448,7 @@ client.resource_servers.get(
-
client.resource_servers.delete(...) -> AsyncHttpResponse[None] +
client.resource_servers.delete(...) -> AsyncHttpResponse[None]
@@ -10118,7 +10518,7 @@ client.resource_servers.delete(
-
client.resource_servers.update(...) -> AsyncHttpResponse[UpdateResourceServerResponseContent] +
client.resource_servers.update(...) -> AsyncHttpResponse[UpdateResourceServerResponseContent]
@@ -10301,7 +10701,7 @@ client.resource_servers.update(
## Roles -
client.roles.list(...) -> AsyncPager[Role, ListRolesOffsetPaginatedResponseContent] +
client.roles.list(...) -> AsyncPager[Role, ListRolesOffsetPaginatedResponseContent]
@@ -10405,7 +10805,7 @@ for page in response.iter_pages():
-
client.roles.create(...) -> AsyncHttpResponse[CreateRoleResponseContent] +
client.roles.create(...) -> AsyncHttpResponse[CreateRoleResponseContent]
@@ -10485,7 +10885,7 @@ client.roles.create(
-
client.roles.get(...) -> AsyncHttpResponse[GetRoleResponseContent] +
client.roles.get(...) -> AsyncHttpResponse[GetRoleResponseContent]
@@ -10555,7 +10955,7 @@ client.roles.get(
-
client.roles.delete(...) -> AsyncHttpResponse[None] +
client.roles.delete(...) -> AsyncHttpResponse[None]
@@ -10625,7 +11025,7 @@ client.roles.delete(
-
client.roles.update(...) -> AsyncHttpResponse[UpdateRoleResponseContent] +
client.roles.update(...) -> AsyncHttpResponse[UpdateRoleResponseContent]
@@ -10712,7 +11112,7 @@ client.roles.update(
## Rules -
client.rules.list(...) -> AsyncPager[Rule, ListRulesOffsetPaginatedResponseContent] +
client.rules.list(...) -> AsyncPager[Rule, ListRulesOffsetPaginatedResponseContent]
@@ -10832,7 +11232,7 @@ for page in response.iter_pages():
-
client.rules.create(...) -> AsyncHttpResponse[CreateRuleResponseContent] +
client.rules.create(...) -> AsyncHttpResponse[CreateRuleResponseContent]
@@ -10929,7 +11329,7 @@ client.rules.create(
-
client.rules.get(...) -> AsyncHttpResponse[GetRuleResponseContent] +
client.rules.get(...) -> AsyncHttpResponse[GetRuleResponseContent]
@@ -11017,7 +11417,7 @@ client.rules.get(
-
client.rules.delete(...) -> AsyncHttpResponse[None] +
client.rules.delete(...) -> AsyncHttpResponse[None]
@@ -11087,7 +11487,7 @@ client.rules.delete(
-
client.rules.update(...) -> AsyncHttpResponse[UpdateRuleResponseContent] +
client.rules.update(...) -> AsyncHttpResponse[UpdateRuleResponseContent]
@@ -11190,7 +11590,7 @@ client.rules.update(
## RulesConfigs -
client.rules_configs.list() -> AsyncHttpResponse[typing.List[RulesConfig]] +
client.rules_configs.list() -> AsyncHttpResponse[typing.List[RulesConfig]]
@@ -11252,7 +11652,7 @@ client.rules_configs.list()
-
client.rules_configs.set(...) -> AsyncHttpResponse[SetRulesConfigResponseContent] +
client.rules_configs.set(...) -> AsyncHttpResponse[SetRulesConfigResponseContent]
@@ -11331,7 +11731,7 @@ client.rules_configs.set(
-
client.rules_configs.delete(...) -> AsyncHttpResponse[None] +
client.rules_configs.delete(...) -> AsyncHttpResponse[None]
@@ -11402,7 +11802,7 @@ client.rules_configs.delete(
## SelfServiceProfiles -
client.self_service_profiles.list(...) -> AsyncPager[SelfServiceProfile, ListSelfServiceProfilesPaginatedResponseContent] +
client.self_service_profiles.list(...) -> AsyncPager[SelfServiceProfile, ListSelfServiceProfilesPaginatedResponseContent]
@@ -11495,7 +11895,7 @@ for page in response.iter_pages():
-
client.self_service_profiles.create(...) -> AsyncHttpResponse[CreateSelfServiceProfileResponseContent] +
client.self_service_profiles.create(...) -> AsyncHttpResponse[CreateSelfServiceProfileResponseContent]
@@ -11605,7 +12005,7 @@ client.self_service_profiles.create(
-
client.self_service_profiles.get(...) -> AsyncHttpResponse[GetSelfServiceProfileResponseContent] +
client.self_service_profiles.get(...) -> AsyncHttpResponse[GetSelfServiceProfileResponseContent]
@@ -11675,7 +12075,7 @@ client.self_service_profiles.get(
-
client.self_service_profiles.delete(...) -> AsyncHttpResponse[None] +
client.self_service_profiles.delete(...) -> AsyncHttpResponse[None]
@@ -11745,7 +12145,7 @@ client.self_service_profiles.delete(
-
client.self_service_profiles.update(...) -> AsyncHttpResponse[UpdateSelfServiceProfileResponseContent] +
client.self_service_profiles.update(...) -> AsyncHttpResponse[UpdateSelfServiceProfileResponseContent]
@@ -11864,7 +12264,7 @@ client.self_service_profiles.update(
## Sessions -
client.sessions.get(...) -> AsyncHttpResponse[GetSessionResponseContent] +
client.sessions.get(...) -> AsyncHttpResponse[GetSessionResponseContent]
@@ -11934,7 +12334,7 @@ client.sessions.get(
-
client.sessions.delete(...) -> AsyncHttpResponse[None] +
client.sessions.delete(...) -> AsyncHttpResponse[None]
@@ -12004,7 +12404,7 @@ client.sessions.delete(
-
client.sessions.update(...) -> AsyncHttpResponse[UpdateSessionResponseContent] +
client.sessions.update(...) -> AsyncHttpResponse[UpdateSessionResponseContent]
@@ -12082,7 +12482,7 @@ client.sessions.update(
-
client.sessions.revoke(...) -> AsyncHttpResponse[None] +
client.sessions.revoke(...) -> AsyncHttpResponse[None]
@@ -12153,7 +12553,7 @@ client.sessions.revoke(
## Stats -
client.stats.get_active_users_count() -> AsyncHttpResponse[GetActiveUsersCountStatsResponseContent] +
client.stats.get_active_users_count() -> AsyncHttpResponse[GetActiveUsersCountStatsResponseContent]
@@ -12213,7 +12613,7 @@ client.stats.get_active_users_count()
-
client.stats.get_daily(...) -> AsyncHttpResponse[typing.List[DailyStats]] +
client.stats.get_daily(...) -> AsyncHttpResponse[typing.List[DailyStats]]
@@ -12293,7 +12693,7 @@ client.stats.get_daily(
## SupplementalSignals -
client.supplemental_signals.get() -> AsyncHttpResponse[GetSupplementalSignalsResponseContent] +
client.supplemental_signals.get() -> AsyncHttpResponse[GetSupplementalSignalsResponseContent]
@@ -12353,7 +12753,7 @@ client.supplemental_signals.get()
-
client.supplemental_signals.patch(...) -> AsyncHttpResponse[PatchSupplementalSignalsResponseContent] +
client.supplemental_signals.patch(...) -> AsyncHttpResponse[PatchSupplementalSignalsResponseContent]
@@ -12424,7 +12824,7 @@ client.supplemental_signals.patch(
## Tickets -
client.tickets.verify_email(...) -> AsyncHttpResponse[VerifyEmailTicketResponseContent] +
client.tickets.verify_email(...) -> AsyncHttpResponse[VerifyEmailTicketResponseContent]
@@ -12542,7 +12942,7 @@ client.tickets.verify_email(
-
client.tickets.change_password(...) -> AsyncHttpResponse[ChangePasswordTicketResponseContent] +
client.tickets.change_password(...) -> AsyncHttpResponse[ChangePasswordTicketResponseContent]
@@ -12685,7 +13085,7 @@ client.tickets.change_password()
## TokenExchangeProfiles -
client.token_exchange_profiles.list(...) -> AsyncPager[ +
client.token_exchange_profiles.list(...) -> AsyncPager[ TokenExchangeProfileResponseContent, ListTokenExchangeProfileResponseContent ]
@@ -12781,7 +13181,7 @@ for page in response.iter_pages():
-
client.token_exchange_profiles.create(...) -> AsyncHttpResponse[CreateTokenExchangeProfileResponseContent] +
client.token_exchange_profiles.create(...) -> AsyncHttpResponse[CreateTokenExchangeProfileResponseContent]
@@ -12819,6 +13219,7 @@ client.token_exchange_profiles.create( name="name", subject_token_type="subject_token_type", action_id="action_id", + type="custom_authentication", ) ``` @@ -12859,6 +13260,14 @@ client.token_exchange_profiles.create(
+**type:** `TokenExchangeProfileTypeEnum` + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -12871,7 +13280,7 @@ client.token_exchange_profiles.create(
-
client.token_exchange_profiles.get(...) -> AsyncHttpResponse[GetTokenExchangeProfileResponseContent] +
client.token_exchange_profiles.get(...) -> AsyncHttpResponse[GetTokenExchangeProfileResponseContent]
@@ -12943,7 +13352,7 @@ client.token_exchange_profiles.get(
-
client.token_exchange_profiles.delete(...) -> AsyncHttpResponse[None] +
client.token_exchange_profiles.delete(...) -> AsyncHttpResponse[None]
@@ -13016,7 +13425,7 @@ client.token_exchange_profiles.delete(
-
client.token_exchange_profiles.update(...) -> AsyncHttpResponse[None] +
client.token_exchange_profiles.update(...) -> AsyncHttpResponse[None]
@@ -13106,7 +13515,7 @@ client.token_exchange_profiles.update(
## UserAttributeProfiles -
client.user_attribute_profiles.list(...) -> AsyncPager[ +
client.user_attribute_profiles.list(...) -> AsyncPager[ UserAttributeProfile, ListUserAttributeProfilesPaginatedResponseContent ]
@@ -13192,7 +13601,7 @@ for page in response.iter_pages():
-
client.user_attribute_profiles.create(...) -> AsyncHttpResponse[CreateUserAttributeProfileResponseContent] +
client.user_attribute_profiles.create(...) -> AsyncHttpResponse[CreateUserAttributeProfileResponseContent]
@@ -13286,7 +13695,7 @@ client.user_attribute_profiles.create(
-
client.user_attribute_profiles.list_templates() -> AsyncHttpResponse[ListUserAttributeProfileTemplateResponseContent] +
client.user_attribute_profiles.list_templates() -> AsyncHttpResponse[ListUserAttributeProfileTemplateResponseContent]
@@ -13346,7 +13755,7 @@ client.user_attribute_profiles.list_templates()
-
client.user_attribute_profiles.get_template(...) -> AsyncHttpResponse[GetUserAttributeProfileTemplateResponseContent] +
client.user_attribute_profiles.get_template(...) -> AsyncHttpResponse[GetUserAttributeProfileTemplateResponseContent]
@@ -13416,7 +13825,7 @@ client.user_attribute_profiles.get_template(
-
client.user_attribute_profiles.get(...) -> AsyncHttpResponse[GetUserAttributeProfileResponseContent] +
client.user_attribute_profiles.get(...) -> AsyncHttpResponse[GetUserAttributeProfileResponseContent]
@@ -13486,7 +13895,7 @@ client.user_attribute_profiles.get(
-
client.user_attribute_profiles.delete(...) -> AsyncHttpResponse[None] +
client.user_attribute_profiles.delete(...) -> AsyncHttpResponse[None]
@@ -13556,7 +13965,7 @@ client.user_attribute_profiles.delete(
-
client.user_attribute_profiles.update(...) -> AsyncHttpResponse[UpdateUserAttributeProfileResponseContent] +
client.user_attribute_profiles.update(...) -> AsyncHttpResponse[UpdateUserAttributeProfileResponseContent]
@@ -13651,7 +14060,7 @@ client.user_attribute_profiles.update(
## UserBlocks -
client.user_blocks.list_by_identifier(...) -> AsyncHttpResponse[ListUserBlocksByIdentifierResponseContent] +
client.user_blocks.list_by_identifier(...) -> AsyncHttpResponse[ListUserBlocksByIdentifierResponseContent]
@@ -13735,7 +14144,7 @@ client.user_blocks.list_by_identifier(
-
client.user_blocks.delete_by_identifier(...) -> AsyncHttpResponse[None] +
client.user_blocks.delete_by_identifier(...) -> AsyncHttpResponse[None]
@@ -13807,7 +14216,7 @@ client.user_blocks.delete_by_identifier(
-
client.user_blocks.list(...) -> AsyncHttpResponse[ListUserBlocksResponseContent] +
client.user_blocks.list(...) -> AsyncHttpResponse[ListUserBlocksResponseContent]
@@ -13891,7 +14300,7 @@ client.user_blocks.list(
-
client.user_blocks.delete(...) -> AsyncHttpResponse[None] +
client.user_blocks.delete(...) -> AsyncHttpResponse[None]
@@ -13964,7 +14373,7 @@ client.user_blocks.delete(
## Users -
client.users.list(...) -> AsyncPager[UserResponseSchema, ListUsersOffsetPaginatedResponseContent] +
client.users.list(...) -> AsyncPager[UserResponseSchema, ListUsersOffsetPaginatedResponseContent]
@@ -14133,7 +14542,7 @@ for page in response.iter_pages():
-
client.users.create(...) -> AsyncHttpResponse[CreateUserResponseContent] +
client.users.create(...) -> AsyncHttpResponse[CreateUserResponseContent]
@@ -14333,7 +14742,7 @@ client.users.create(
-
client.users.list_users_by_email(...) -> AsyncHttpResponse[typing.List[UserResponseSchema]] +
client.users.list_users_by_email(...) -> AsyncHttpResponse[typing.List[UserResponseSchema]]
@@ -14425,7 +14834,7 @@ client.users.list_users_by_email(
-
client.users.get(...) -> AsyncHttpResponse[GetUserResponseContent] +
client.users.get(...) -> AsyncHttpResponse[GetUserResponseContent]
@@ -14513,7 +14922,7 @@ client.users.get(
-
client.users.delete(...) -> AsyncHttpResponse[None] +
client.users.delete(...) -> AsyncHttpResponse[None]
@@ -14583,7 +14992,7 @@ client.users.delete(
-
client.users.update(...) -> AsyncHttpResponse[UpdateUserResponseContent] +
client.users.update(...) -> AsyncHttpResponse[UpdateUserResponseContent]
@@ -14866,7 +15275,7 @@ client.users.update(
-
client.users.regenerate_recovery_code(...) -> AsyncHttpResponse[RegenerateUsersRecoveryCodeResponseContent] +
client.users.regenerate_recovery_code(...) -> AsyncHttpResponse[RegenerateUsersRecoveryCodeResponseContent]
@@ -14936,7 +15345,7 @@ client.users.regenerate_recovery_code(
-
client.users.revoke_access(...) -> AsyncHttpResponse[None] +
client.users.revoke_access(...) -> AsyncHttpResponse[None]
@@ -15023,7 +15432,7 @@ client.users.revoke_access(
## Actions Versions -
client.actions.versions.list(...) -> AsyncPager[ActionVersion, ListActionVersionsPaginatedResponseContent] +
client.actions.versions.list(...) -> AsyncPager[ActionVersion, ListActionVersionsPaginatedResponseContent]
@@ -15116,7 +15525,7 @@ for page in response.iter_pages():
-
client.actions.versions.get(...) -> AsyncHttpResponse[GetActionVersionResponseContent] +
client.actions.versions.get(...) -> AsyncHttpResponse[GetActionVersionResponseContent]
@@ -15195,7 +15604,7 @@ client.actions.versions.get(
-
client.actions.versions.deploy(...) -> AsyncHttpResponse[DeployActionVersionResponseContent] +
client.actions.versions.deploy(...) -> AsyncHttpResponse[DeployActionVersionResponseContent]
@@ -15284,7 +15693,7 @@ client.actions.versions.deploy(
## Actions Executions -
client.actions.executions.get(...) -> AsyncHttpResponse[GetActionExecutionResponseContent] +
client.actions.executions.get(...) -> AsyncHttpResponse[GetActionExecutionResponseContent]
@@ -15354,8 +15763,8 @@ client.actions.executions.get(
-## Actions Triggers -
client.actions.triggers.list() -> AsyncHttpResponse[ListActionTriggersResponseContent] +## Actions Modules +
client.actions.modules.list(...) -> AsyncPager[ActionModuleListItem, GetActionModulesResponseContent]
@@ -15367,7 +15776,7 @@ client.actions.executions.get(
-Retrieve the set of triggers currently available within actions. A trigger is an extensibility point to which actions can be bound. +Retrieve a paginated list of all Actions Modules with optional filtering and totals.
@@ -15387,7 +15796,15 @@ from auth0 import Auth0 client = Auth0( token="YOUR_TOKEN", ) -client.actions.triggers.list() +response = client.actions.modules.list( + page=1, + per_page=1, +) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -15403,6 +15820,22 @@ client.actions.triggers.list()
+**page:** `typing.Optional[int]` — Page index of the results to return. First page is 0. + +
+
+ +
+
+ +**per_page:** `typing.Optional[int]` — Number of results per page. Paging is disabled if parameter not sent. + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -15415,8 +15848,7 @@ client.actions.triggers.list()
-## Actions Triggers Bindings -
client.actions.triggers.bindings.list(...) -> AsyncPager[ActionBinding, ListActionBindingsPaginatedResponseContent] +
client.actions.modules.create(...) -> AsyncHttpResponse[CreateActionModuleResponseContent]
@@ -15428,7 +15860,7 @@ client.actions.triggers.list()
-Retrieve the actions that are bound to a trigger. Once an action is created and deployed, it must be attached (i.e. bound) to a trigger so that it will be executed as part of a flow. The list of actions returned reflects the order in which they will be executed during the appropriate flow. +Create a new Actions Module for reusable code across actions.
@@ -15448,16 +15880,10 @@ from auth0 import Auth0 client = Auth0( token="YOUR_TOKEN", ) -response = client.actions.triggers.bindings.list( - trigger_id="triggerId", - page=1, - per_page=1, +client.actions.modules.create( + name="name", + code="code", ) -for item in response: - yield item -# alternatively, you can paginate page-by-page -for page in response.iter_pages(): - yield page ``` @@ -15473,7 +15899,7 @@ for page in response.iter_pages():
-**trigger_id:** `ActionTriggerTypeEnum` — An actions extensibility point. +**name:** `str` — The name of the action module.
@@ -15481,7 +15907,7 @@ for page in response.iter_pages():
-**page:** `typing.Optional[int]` — Use this field to request a specific page of the list results. +**code:** `str` — The source code of the action module.
@@ -15489,7 +15915,31 @@ for page in response.iter_pages():
-**per_page:** `typing.Optional[int]` — The maximum number of results to be returned in a single request. 20 by default +**secrets:** `typing.Optional[typing.Sequence[ActionModuleSecretRequest]]` — The secrets to associate with the action module. + +
+
+ +
+
+ +**dependencies:** `typing.Optional[typing.Sequence[ActionModuleDependencyRequest]]` — The npm dependencies of the action module. + +
+
+ +
+
+ +**api_version:** `typing.Optional[str]` — The API version of the module. + +
+
+ +
+
+ +**publish:** `typing.Optional[bool]` — Whether to publish the module immediately after creation.
@@ -15509,7 +15959,7 @@ for page in response.iter_pages():
-
client.actions.triggers.bindings.update_many(...) -> AsyncHttpResponse[UpdateActionBindingsResponseContent] +
client.actions.modules.get(...) -> AsyncHttpResponse[GetActionModuleResponseContent]
@@ -15521,7 +15971,7 @@ for page in response.iter_pages():
-Update the actions that are bound (i.e. attached) to a trigger. Once an action is created and deployed, it must be attached (i.e. bound) to a trigger so that it will be executed as part of a flow. The order in which the actions are provided will determine the order in which they are executed. +Retrieve details of a specific Actions Module by its unique identifier.
@@ -15541,8 +15991,8 @@ from auth0 import Auth0 client = Auth0( token="YOUR_TOKEN", ) -client.actions.triggers.bindings.update_many( - trigger_id="triggerId", +client.actions.modules.get( + id="id", ) ``` @@ -15559,15 +16009,7 @@ client.actions.triggers.bindings.update_many(
-**trigger_id:** `ActionTriggerTypeEnum` — An actions extensibility point. - -
-
- -
-
- -**bindings:** `typing.Optional[typing.Sequence[ActionBindingWithRef]]` — The actions that will be bound to this trigger. The order in which they are included will be the order in which they are executed. +**id:** `str` — The ID of the action module to retrieve.
@@ -15587,8 +16029,7 @@ client.actions.triggers.bindings.update_many(
-## Anomaly Blocks -
client.anomaly.blocks.check_ip(...) -> AsyncHttpResponse[None] +
client.actions.modules.delete(...) -> AsyncHttpResponse[None]
@@ -15600,7 +16041,7 @@ client.actions.triggers.bindings.update_many(
-Check if the given IP address is blocked via the Suspicious IP Throttling due to multiple suspicious attempts. +Permanently delete an Actions Module. This will fail if the module is still in use by any actions.
@@ -15620,7 +16061,7 @@ from auth0 import Auth0 client = Auth0( token="YOUR_TOKEN", ) -client.anomaly.blocks.check_ip( +client.actions.modules.delete( id="id", ) @@ -15638,7 +16079,7 @@ client.anomaly.blocks.check_ip(
-**id:** `AnomalyIpFormat` — IP address to check. +**id:** `str` — The ID of the Actions Module to delete.
@@ -15658,7 +16099,7 @@ client.anomaly.blocks.check_ip(
-
client.anomaly.blocks.unblock_ip(...) -> AsyncHttpResponse[None] +
client.actions.modules.update(...) -> AsyncHttpResponse[UpdateActionModuleResponseContent]
@@ -15670,7 +16111,7 @@ client.anomaly.blocks.check_ip(
-Remove a block imposed by Suspicious IP Throttling for the given IP address. +Update properties of an existing Actions Module, such as code, dependencies, or secrets.
@@ -15690,7 +16131,7 @@ from auth0 import Auth0 client = Auth0( token="YOUR_TOKEN", ) -client.anomaly.blocks.unblock_ip( +client.actions.modules.update( id="id", ) @@ -15708,7 +16149,31 @@ client.anomaly.blocks.unblock_ip(
-**id:** `AnomalyIpFormat` — IP address to unblock. +**id:** `str` — The ID of the action module to update. + +
+
+ +
+
+ +**code:** `typing.Optional[str]` — The source code of the action module. + +
+
+ +
+
+ +**secrets:** `typing.Optional[typing.Sequence[ActionModuleSecretRequest]]` — The secrets to associate with the action module. + +
+
+ +
+
+ +**dependencies:** `typing.Optional[typing.Sequence[ActionModuleDependencyRequest]]` — The npm dependencies of the action module.
@@ -15728,8 +16193,7 @@ client.anomaly.blocks.unblock_ip(
-## AttackProtection BotDetection -
client.attack_protection.bot_detection.get() -> AsyncHttpResponse[GetBotDetectionSettingsResponseContent] +
client.actions.modules.list_actions(...) -> AsyncPager[ActionModuleAction, GetActionModuleActionsResponseContent]
@@ -15741,7 +16205,7 @@ client.anomaly.blocks.unblock_ip(
-Get the Bot Detection configuration of your tenant. +Lists all actions that are using a specific Actions Module, showing which deployed action versions reference this Actions Module.
@@ -15761,7 +16225,16 @@ from auth0 import Auth0 client = Auth0( token="YOUR_TOKEN", ) -client.attack_protection.bot_detection.get() +response = client.actions.modules.list_actions( + id="id", + page=1, + per_page=1, +) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -15777,6 +16250,30 @@ client.attack_protection.bot_detection.get()
+**id:** `str` — The unique ID of the module. + +
+
+ +
+
+ +**page:** `typing.Optional[int]` — Page index of the results to return. First page is 0. + +
+
+ +
+
+ +**per_page:** `typing.Optional[int]` — Number of results per page. + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -15789,7 +16286,7 @@ client.attack_protection.bot_detection.get()
-
client.attack_protection.bot_detection.update(...) -> AsyncHttpResponse[UpdateBotDetectionSettingsResponseContent] +
client.actions.modules.rollback(...) -> AsyncHttpResponse[RollbackActionModuleResponseContent]
@@ -15801,7 +16298,7 @@ client.attack_protection.bot_detection.get()
-Update the Bot Detection configuration of your tenant. +Rolls back an Actions Module's draft to a previously created version. This action copies the code, dependencies, and secrets from the specified version into the current draft.
@@ -15821,7 +16318,10 @@ from auth0 import Auth0 client = Auth0( token="YOUR_TOKEN", ) -client.attack_protection.bot_detection.update() +client.actions.modules.rollback( + id="id", + module_version_id="module_version_id", +) ``` @@ -15837,7 +16337,7 @@ client.attack_protection.bot_detection.update()
-**bot_detection_level:** `typing.Optional[BotDetectionLevelEnum]` +**id:** `str` — The unique ID of the module to roll back.
@@ -15845,7 +16345,7 @@ client.attack_protection.bot_detection.update()
-**challenge_password_policy:** `typing.Optional[BotDetectionChallengePolicyPasswordFlowEnum]` +**module_version_id:** `str` — The unique ID of the module version to roll back to.
@@ -15853,31 +16353,131 @@ client.attack_protection.bot_detection.update()
-**challenge_passwordless_policy:** `typing.Optional[BotDetectionChallengePolicyPasswordlessFlowEnum]` +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
+ + + + +
+## Actions Triggers +
client.actions.triggers.list() -> AsyncHttpResponse[ListActionTriggersResponseContent]
-**challenge_password_reset_policy:** `typing.Optional[BotDetectionChallengePolicyPasswordResetFlowEnum]` - +#### 📝 Description + +
+
+ +
+
+ +Retrieve the set of triggers currently available within actions. A trigger is an extensibility point to which actions can be bound. +
+
+#### 🔌 Usage +
-**allowlist:** `typing.Optional[BotDetectionAllowlist]` +
+
+ +```python +from auth0 import Auth0 + +client = Auth0( + token="YOUR_TOKEN", +) +client.actions.triggers.list() + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+
+
+ +
+
+
+ +## Actions Modules Versions +
client.actions.modules.versions.list(...) -> AsyncHttpResponse[GetActionModuleVersionsResponseContent]
-**monitoring_mode_enabled:** `typing.Optional[BotDetectionMonitoringModeEnabled]` +#### 📝 Description + +
+
+ +
+
+ +List all published versions of a specific Actions Module. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from auth0 import Auth0 + +client = Auth0( + token="YOUR_TOKEN", +) +client.actions.modules.versions.list( + id="id", +) + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**id:** `str` — The unique ID of the module.
@@ -15897,8 +16497,7 @@ client.attack_protection.bot_detection.update()
-## AttackProtection BreachedPasswordDetection -
client.attack_protection.breached_password_detection.get() -> AsyncHttpResponse[GetBreachedPasswordDetectionSettingsResponseContent] +
client.actions.modules.versions.create(...) -> AsyncHttpResponse[CreateActionModuleVersionResponseContent]
@@ -15910,7 +16509,7 @@ client.attack_protection.bot_detection.update()
-Retrieve details of the Breached Password Detection configuration of your tenant. +Creates a new immutable version of an Actions Module from the current draft version. This publishes the draft as a new version that can be referenced by actions, while maintaining the existing draft for continued development.
@@ -15930,7 +16529,9 @@ from auth0 import Auth0 client = Auth0( token="YOUR_TOKEN", ) -client.attack_protection.breached_password_detection.get() +client.actions.modules.versions.create( + id="id", +) ``` @@ -15946,6 +16547,14 @@ client.attack_protection.breached_password_detection.get()
+**id:** `str` — The ID of the action module to create a version for. + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -15958,7 +16567,7 @@ client.attack_protection.breached_password_detection.get()
-
client.attack_protection.breached_password_detection.update(...) -> AsyncHttpResponse[UpdateBreachedPasswordDetectionSettingsResponseContent] +
client.actions.modules.versions.get(...) -> AsyncHttpResponse[GetActionModuleVersionResponseContent]
@@ -15970,7 +16579,7 @@ client.attack_protection.breached_password_detection.get()
-Update details of the Breached Password Detection configuration of your tenant. +Retrieve the details of a specific, immutable version of an Actions Module.
@@ -15990,7 +16599,10 @@ from auth0 import Auth0 client = Auth0( token="YOUR_TOKEN", ) -client.attack_protection.breached_password_detection.update() +client.actions.modules.versions.get( + id="id", + version_id="versionId", +) ``` @@ -16006,7 +16618,7 @@ client.attack_protection.breached_password_detection.update()
-**enabled:** `typing.Optional[bool]` — Whether or not breached password detection is active. +**id:** `str` — The unique ID of the module.
@@ -16014,23 +16626,85 @@ client.attack_protection.breached_password_detection.update()
-**shields:** `typing.Optional[typing.Sequence[BreachedPasswordDetectionShieldsEnum]]` +**version_id:** `str` — The unique ID of the module version to retrieve. + +
+
-Action to take when a breached password is detected during a login. - Possible values: block, user_notification, admin_notification. +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
+ + + +
+ +## Actions Triggers Bindings +
client.actions.triggers.bindings.list(...) -> AsyncPager[ActionBinding, ListActionBindingsPaginatedResponseContent]
-**admin_notification_frequency:** `typing.Optional[ - typing.Sequence[BreachedPasswordDetectionAdminNotificationFrequencyEnum] -]` +#### 📝 Description -When "admin_notification" is enabled, determines how often email notifications are sent. - Possible values: immediately, daily, weekly, monthly. +
+
+ +
+
+ +Retrieve the actions that are bound to a trigger. Once an action is created and deployed, it must be attached (i.e. bound) to a trigger so that it will be executed as part of a flow. The list of actions returned reflects the order in which they will be executed during the appropriate flow. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from auth0 import Auth0 + +client = Auth0( + token="YOUR_TOKEN", +) +response = client.actions.triggers.bindings.list( + trigger_id="triggerId", + page=1, + per_page=1, +) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**trigger_id:** `ActionTriggerTypeEnum` — An actions extensibility point.
@@ -16038,7 +16712,7 @@ When "admin_notification" is enabled, determines how often email notifications a
-**method:** `typing.Optional[BreachedPasswordDetectionMethodEnum]` +**page:** `typing.Optional[int]` — Use this field to request a specific page of the list results.
@@ -16046,7 +16720,7 @@ When "admin_notification" is enabled, determines how often email notifications a
-**stage:** `typing.Optional[BreachedPasswordDetectionStage]` +**per_page:** `typing.Optional[int]` — The maximum number of results to be returned in a single request. 20 by default
@@ -16066,8 +16740,7 @@ When "admin_notification" is enabled, determines how often email notifications a
-## AttackProtection BruteForceProtection -
client.attack_protection.brute_force_protection.get() -> AsyncHttpResponse[GetBruteForceSettingsResponseContent] +
client.actions.triggers.bindings.update_many(...) -> AsyncHttpResponse[UpdateActionBindingsResponseContent]
@@ -16079,7 +16752,7 @@ When "admin_notification" is enabled, determines how often email notifications a
-Retrieve details of the Brute-force Protection configuration of your tenant. +Update the actions that are bound (i.e. attached) to a trigger. Once an action is created and deployed, it must be attached (i.e. bound) to a trigger so that it will be executed as part of a flow. The order in which the actions are provided will determine the order in which they are executed.
@@ -16099,7 +16772,9 @@ from auth0 import Auth0 client = Auth0( token="YOUR_TOKEN", ) -client.attack_protection.brute_force_protection.get() +client.actions.triggers.bindings.update_many( + trigger_id="triggerId", +) ``` @@ -16115,6 +16790,22 @@ client.attack_protection.brute_force_protection.get()
+**trigger_id:** `ActionTriggerTypeEnum` — An actions extensibility point. + +
+
+ +
+
+ +**bindings:** `typing.Optional[typing.Sequence[ActionBindingWithRef]]` — The actions that will be bound to this trigger. The order in which they are included will be the order in which they are executed. + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -16127,7 +16818,8 @@ client.attack_protection.brute_force_protection.get()
-
client.attack_protection.brute_force_protection.update(...) -> AsyncHttpResponse[UpdateBruteForceSettingsResponseContent] +## Anomaly Blocks +
client.anomaly.blocks.check_ip(...) -> AsyncHttpResponse[None]
@@ -16139,7 +16831,7 @@ client.attack_protection.brute_force_protection.get()
-Update the Brute-force Protection configuration of your tenant. +Check if the given IP address is blocked via the Suspicious IP Throttling due to multiple suspicious attempts.
@@ -16159,7 +16851,9 @@ from auth0 import Auth0 client = Auth0( token="YOUR_TOKEN", ) -client.attack_protection.brute_force_protection.update() +client.anomaly.blocks.check_ip( + id="id", +) ``` @@ -16175,7 +16869,7 @@ client.attack_protection.brute_force_protection.update()
-**enabled:** `typing.Optional[bool]` — Whether or not brute force attack protections are active. +**id:** `AnomalyIpFormat` — IP address to check.
@@ -16183,39 +16877,69 @@ client.attack_protection.brute_force_protection.update()
-**shields:** `typing.Optional[ - typing.Sequence[UpdateBruteForceSettingsRequestContentShieldsItem] -]` - -Action to take when a brute force protection threshold is violated. - Possible values: block, user_notification. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
+ + + + +
+
client.anomaly.blocks.unblock_ip(...) -> AsyncHttpResponse[None]
-**allowlist:** `typing.Optional[typing.Sequence[str]]` — List of trusted IP addresses that will not have attack protection enforced against them. - +#### 📝 Description + +
+
+ +
+
+ +Remove a block imposed by Suspicious IP Throttling for the given IP address. +
+
+#### 🔌 Usage +
-**mode:** `typing.Optional[UpdateBruteForceSettingsRequestContentMode]` +
+
-Account Lockout: Determines whether or not IP address is used when counting failed attempts. - Possible values: count_per_identifier_and_ip, count_per_identifier. - +```python +from auth0 import Auth0 + +client = Auth0( + token="YOUR_TOKEN", +) +client.anomaly.blocks.unblock_ip( + id="id", +) + +``` +
+
+#### ⚙️ Parameters +
-**max_attempts:** `typing.Optional[int]` — Maximum number of unsuccessful attempts. +
+
+ +**id:** `AnomalyIpFormat` — IP address to unblock.
@@ -16235,8 +16959,8 @@ Account Lockout: Determines whether or not IP address is used when counting fail
-## AttackProtection Captcha -
client.attack_protection.captcha.get() -> AsyncHttpResponse[GetAttackProtectionCaptchaResponseContent] +## AttackProtection BotDetection +
client.attack_protection.bot_detection.get() -> AsyncHttpResponse[GetBotDetectionSettingsResponseContent]
@@ -16248,7 +16972,7 @@ Account Lockout: Determines whether or not IP address is used when counting fail
-Get the CAPTCHA configuration for your client. +Get the Bot Detection configuration of your tenant.
@@ -16268,7 +16992,7 @@ from auth0 import Auth0 client = Auth0( token="YOUR_TOKEN", ) -client.attack_protection.captcha.get() +client.attack_protection.bot_detection.get() ``` @@ -16296,7 +17020,7 @@ client.attack_protection.captcha.get()
-
client.attack_protection.captcha.update(...) -> AsyncHttpResponse[UpdateAttackProtectionCaptchaResponseContent] +
client.attack_protection.bot_detection.update(...) -> AsyncHttpResponse[UpdateBotDetectionSettingsResponseContent]
@@ -16308,7 +17032,7 @@ client.attack_protection.captcha.get()
-Update existing CAPTCHA configuration for your client. +Update the Bot Detection configuration of your tenant.
@@ -16328,7 +17052,7 @@ from auth0 import Auth0 client = Auth0( token="YOUR_TOKEN", ) -client.attack_protection.captcha.update() +client.attack_protection.bot_detection.update() ``` @@ -16344,23 +17068,7 @@ client.attack_protection.captcha.update()
-**active_provider_id:** `typing.Optional[AttackProtectionCaptchaProviderId]` - -
-
- -
-
- -**arkose:** `typing.Optional[AttackProtectionUpdateCaptchaArkose]` - -
-
- -
-
- -**auth_challenge:** `typing.Optional[AttackProtectionCaptchaAuthChallengeRequest]` +**bot_detection_level:** `typing.Optional[BotDetectionLevelEnum]`
@@ -16368,7 +17076,7 @@ client.attack_protection.captcha.update()
-**hcaptcha:** `typing.Optional[AttackProtectionUpdateCaptchaHcaptcha]` +**challenge_password_policy:** `typing.Optional[BotDetectionChallengePolicyPasswordFlowEnum]`
@@ -16376,7 +17084,7 @@ client.attack_protection.captcha.update()
-**friendly_captcha:** `typing.Optional[AttackProtectionUpdateCaptchaFriendlyCaptcha]` +**challenge_passwordless_policy:** `typing.Optional[BotDetectionChallengePolicyPasswordlessFlowEnum]`
@@ -16384,7 +17092,7 @@ client.attack_protection.captcha.update()
-**recaptcha_enterprise:** `typing.Optional[AttackProtectionUpdateCaptchaRecaptchaEnterprise]` +**challenge_password_reset_policy:** `typing.Optional[BotDetectionChallengePolicyPasswordResetFlowEnum]`
@@ -16392,7 +17100,7 @@ client.attack_protection.captcha.update()
-**recaptcha_v_2:** `typing.Optional[AttackProtectionUpdateCaptchaRecaptchaV2]` +**allowlist:** `typing.Optional[BotDetectionAllowlist]`
@@ -16400,7 +17108,7 @@ client.attack_protection.captcha.update()
-**simple_captcha:** `typing.Optional[AttackProtectionCaptchaSimpleCaptchaResponseContent]` +**monitoring_mode_enabled:** `typing.Optional[BotDetectionMonitoringModeEnabled]`
@@ -16420,8 +17128,8 @@ client.attack_protection.captcha.update()
-## AttackProtection SuspiciousIpThrottling -
client.attack_protection.suspicious_ip_throttling.get() -> AsyncHttpResponse[GetSuspiciousIpThrottlingSettingsResponseContent] +## AttackProtection BreachedPasswordDetection +
client.attack_protection.breached_password_detection.get() -> AsyncHttpResponse[GetBreachedPasswordDetectionSettingsResponseContent]
@@ -16433,7 +17141,7 @@ client.attack_protection.captcha.update()
-Retrieve details of the Suspicious IP Throttling configuration of your tenant. +Retrieve details of the Breached Password Detection configuration of your tenant.
@@ -16453,7 +17161,7 @@ from auth0 import Auth0 client = Auth0( token="YOUR_TOKEN", ) -client.attack_protection.suspicious_ip_throttling.get() +client.attack_protection.breached_password_detection.get() ``` @@ -16481,7 +17189,7 @@ client.attack_protection.suspicious_ip_throttling.get()
-
client.attack_protection.suspicious_ip_throttling.update(...) -> AsyncHttpResponse[UpdateSuspiciousIpThrottlingSettingsResponseContent] +
client.attack_protection.breached_password_detection.update(...) -> AsyncHttpResponse[UpdateBreachedPasswordDetectionSettingsResponseContent]
@@ -16493,7 +17201,7 @@ client.attack_protection.suspicious_ip_throttling.get()
-Update the details of the Suspicious IP Throttling configuration of your tenant. +Update details of the Breached Password Detection configuration of your tenant.
@@ -16513,7 +17221,7 @@ from auth0 import Auth0 client = Auth0( token="YOUR_TOKEN", ) -client.attack_protection.suspicious_ip_throttling.update() +client.attack_protection.breached_password_detection.update() ``` @@ -16529,7 +17237,7 @@ client.attack_protection.suspicious_ip_throttling.update()
-**enabled:** `typing.Optional[bool]` — Whether or not suspicious IP throttling attack protections are active. +**enabled:** `typing.Optional[bool]` — Whether or not breached password detection is active.
@@ -16537,10 +17245,10 @@ client.attack_protection.suspicious_ip_throttling.update()
-**shields:** `typing.Optional[typing.Sequence[SuspiciousIpThrottlingShieldsEnum]]` +**shields:** `typing.Optional[typing.Sequence[BreachedPasswordDetectionShieldsEnum]]` -Action to take when a suspicious IP throttling threshold is violated. - Possible values: block, admin_notification. +Action to take when a breached password is detected during a login. + Possible values: block, user_notification, admin_notification.
@@ -16548,7 +17256,12 @@ Action to take when a suspicious IP throttling threshold is violated.
-**allowlist:** `typing.Optional[SuspiciousIpThrottlingAllowlist]` +**admin_notification_frequency:** `typing.Optional[ + typing.Sequence[BreachedPasswordDetectionAdminNotificationFrequencyEnum] +]` + +When "admin_notification" is enabled, determines how often email notifications are sent. + Possible values: immediately, daily, weekly, monthly.
@@ -16556,7 +17269,15 @@ Action to take when a suspicious IP throttling threshold is violated.
-**stage:** `typing.Optional[SuspiciousIpThrottlingStage]` +**method:** `typing.Optional[BreachedPasswordDetectionMethodEnum]` + +
+
+ +
+
+ +**stage:** `typing.Optional[BreachedPasswordDetectionStage]`
@@ -16576,11 +17297,25 @@ Action to take when a suspicious IP throttling threshold is violated.
-## Branding Templates -
client.branding.templates.get_universal_login() -> AsyncHttpResponse[GetUniversalLoginTemplateResponseContent] +## AttackProtection BruteForceProtection +
client.attack_protection.brute_force_protection.get() -> AsyncHttpResponse[GetBruteForceSettingsResponseContent]
+#### 📝 Description + +
+
+ +
+
+ +Retrieve details of the Brute-force Protection configuration of your tenant. +
+
+
+
+ #### 🔌 Usage
@@ -16595,7 +17330,7 @@ from auth0 import Auth0 client = Auth0( token="YOUR_TOKEN", ) -client.branding.templates.get_universal_login() +client.attack_protection.brute_force_protection.get() ```
@@ -16623,7 +17358,7 @@ client.branding.templates.get_universal_login()
-
client.branding.templates.update_universal_login(...) -> AsyncHttpResponse[None] +
client.attack_protection.brute_force_protection.update(...) -> AsyncHttpResponse[UpdateBruteForceSettingsResponseContent]
@@ -16635,30 +17370,7 @@ client.branding.templates.get_universal_login()
-Update the Universal Login branding template. - -

When content-type header is set to application/json:

-
-{
-  "template": "<!DOCTYPE html>{% assign resolved_dir = dir | default: "auto" %}<html lang="{{locale}}" dir="{{resolved_dir}}"><head>{%- auth0:head -%}</head><body class="_widget-auto-layout">{%- auth0:widget -%}</body></html>"
-}
-
- -

- When content-type header is set to text/html: -

-
-<!DOCTYPE html>
-{% assign resolved_dir = dir | default: "auto" %}
-<html lang="{{locale}}" dir="{{resolved_dir}}">
-  <head>
-    {%- auth0:head -%}
-  </head>
-  <body class="_widget-auto-layout">
-    {%- auth0:widget -%}
-  </body>
-</html>
-
+Update the Brute-force Protection configuration of your tenant.
@@ -16678,9 +17390,7 @@ from auth0 import Auth0 client = Auth0( token="YOUR_TOKEN", ) -client.branding.templates.update_universal_login( - request="string", -) +client.attack_protection.brute_force_protection.update() ``` @@ -16696,7 +17406,47 @@ client.branding.templates.update_universal_login(
-**request:** `UpdateUniversalLoginTemplateRequestContent` +**enabled:** `typing.Optional[bool]` — Whether or not brute force attack protections are active. + +
+
+ +
+
+ +**shields:** `typing.Optional[ + typing.Sequence[UpdateBruteForceSettingsRequestContentShieldsItem] +]` + +Action to take when a brute force protection threshold is violated. + Possible values: block, user_notification. + +
+
+ +
+
+ +**allowlist:** `typing.Optional[typing.Sequence[str]]` — List of trusted IP addresses that will not have attack protection enforced against them. + +
+
+ +
+
+ +**mode:** `typing.Optional[UpdateBruteForceSettingsRequestContentMode]` + +Account Lockout: Determines whether or not IP address is used when counting failed attempts. + Possible values: count_per_identifier_and_ip, count_per_identifier. + +
+
+ +
+
+ +**max_attempts:** `typing.Optional[int]` — Maximum number of unsuccessful attempts.
@@ -16716,10 +17466,25 @@ client.branding.templates.update_universal_login(
-
client.branding.templates.delete_universal_login() -> AsyncHttpResponse[None] +## AttackProtection Captcha +
client.attack_protection.captcha.get() -> AsyncHttpResponse[GetAttackProtectionCaptchaResponseContent]
+#### 📝 Description + +
+
+ +
+
+ +Get the CAPTCHA configuration for your client. +
+
+
+
+ #### 🔌 Usage
@@ -16734,7 +17499,7 @@ from auth0 import Auth0 client = Auth0( token="YOUR_TOKEN", ) -client.branding.templates.delete_universal_login() +client.attack_protection.captcha.get() ```
@@ -16762,8 +17527,7 @@ client.branding.templates.delete_universal_login()
-## Branding Themes -
client.branding.themes.create(...) -> AsyncHttpResponse[CreateBrandingThemeResponseContent] +
client.attack_protection.captcha.update(...) -> AsyncHttpResponse[UpdateAttackProtectionCaptchaResponseContent]
@@ -16775,7 +17539,7 @@ client.branding.templates.delete_universal_login()
-Create branding theme. +Update existing CAPTCHA configuration for your client.
@@ -16790,96 +17554,12 @@ Create branding theme.
```python -from auth0 import ( - Auth0, - BrandingThemeBorders, - BrandingThemeColors, - BrandingThemeFontBodyText, - BrandingThemeFontButtonsText, - BrandingThemeFontInputLabels, - BrandingThemeFontLinks, - BrandingThemeFonts, - BrandingThemeFontSubtitle, - BrandingThemeFontTitle, - BrandingThemePageBackground, - BrandingThemeWidget, -) +from auth0 import Auth0 client = Auth0( token="YOUR_TOKEN", ) -client.branding.themes.create( - borders=BrandingThemeBorders( - button_border_radius=1.1, - button_border_weight=1.1, - buttons_style="pill", - input_border_radius=1.1, - input_border_weight=1.1, - inputs_style="pill", - show_widget_shadow=True, - widget_border_weight=1.1, - widget_corner_radius=1.1, - ), - colors=BrandingThemeColors( - body_text="body_text", - error="error", - header="header", - icons="icons", - input_background="input_background", - input_border="input_border", - input_filled_text="input_filled_text", - input_labels_placeholders="input_labels_placeholders", - links_focused_components="links_focused_components", - primary_button="primary_button", - primary_button_label="primary_button_label", - secondary_button_border="secondary_button_border", - secondary_button_label="secondary_button_label", - success="success", - widget_background="widget_background", - widget_border="widget_border", - ), - fonts=BrandingThemeFonts( - body_text=BrandingThemeFontBodyText( - bold=True, - size=1.1, - ), - buttons_text=BrandingThemeFontButtonsText( - bold=True, - size=1.1, - ), - font_url="font_url", - input_labels=BrandingThemeFontInputLabels( - bold=True, - size=1.1, - ), - links=BrandingThemeFontLinks( - bold=True, - size=1.1, - ), - links_style="normal", - reference_text_size=1.1, - subtitle=BrandingThemeFontSubtitle( - bold=True, - size=1.1, - ), - title=BrandingThemeFontTitle( - bold=True, - size=1.1, - ), - ), - page_background=BrandingThemePageBackground( - background_color="background_color", - background_image_url="background_image_url", - page_layout="center", - ), - widget=BrandingThemeWidget( - header_text_alignment="center", - logo_height=1.1, - logo_position="center", - logo_url="logo_url", - social_buttons_layout="bottom", - ), -) +client.attack_protection.captcha.update() ```
@@ -16895,7 +17575,7 @@ client.branding.themes.create(
-**borders:** `BrandingThemeBorders` +**active_provider_id:** `typing.Optional[AttackProtectionCaptchaProviderId]`
@@ -16903,7 +17583,7 @@ client.branding.themes.create(
-**colors:** `BrandingThemeColors` +**arkose:** `typing.Optional[AttackProtectionUpdateCaptchaArkose]`
@@ -16911,7 +17591,7 @@ client.branding.themes.create(
-**fonts:** `BrandingThemeFonts` +**auth_challenge:** `typing.Optional[AttackProtectionCaptchaAuthChallengeRequest]`
@@ -16919,7 +17599,7 @@ client.branding.themes.create(
-**page_background:** `BrandingThemePageBackground` +**hcaptcha:** `typing.Optional[AttackProtectionUpdateCaptchaHcaptcha]`
@@ -16927,7 +17607,7 @@ client.branding.themes.create(
-**widget:** `BrandingThemeWidget` +**friendly_captcha:** `typing.Optional[AttackProtectionUpdateCaptchaFriendlyCaptcha]`
@@ -16935,7 +17615,23 @@ client.branding.themes.create(
-**display_name:** `typing.Optional[str]` — Display Name +**recaptcha_enterprise:** `typing.Optional[AttackProtectionUpdateCaptchaRecaptchaEnterprise]` + +
+
+ +
+
+ +**recaptcha_v_2:** `typing.Optional[AttackProtectionUpdateCaptchaRecaptchaV2]` + +
+
+ +
+
+ +**simple_captcha:** `typing.Optional[AttackProtectionCaptchaSimpleCaptchaResponseContent]`
@@ -16955,7 +17651,8 @@ client.branding.themes.create(
-
client.branding.themes.get_default() -> AsyncHttpResponse[GetBrandingDefaultThemeResponseContent] +## AttackProtection SuspiciousIpThrottling +
client.attack_protection.suspicious_ip_throttling.get() -> AsyncHttpResponse[GetSuspiciousIpThrottlingSettingsResponseContent]
@@ -16967,7 +17664,7 @@ client.branding.themes.create(
-Retrieve default branding theme. +Retrieve details of the Suspicious IP Throttling configuration of your tenant.
@@ -16987,7 +17684,7 @@ from auth0 import Auth0 client = Auth0( token="YOUR_TOKEN", ) -client.branding.themes.get_default() +client.attack_protection.suspicious_ip_throttling.get() ``` @@ -17015,7 +17712,7 @@ client.branding.themes.get_default()
-
client.branding.themes.get(...) -> AsyncHttpResponse[GetBrandingThemeResponseContent] +
client.attack_protection.suspicious_ip_throttling.update(...) -> AsyncHttpResponse[UpdateSuspiciousIpThrottlingSettingsResponseContent]
@@ -17027,7 +17724,7 @@ client.branding.themes.get_default()
-Retrieve branding theme. +Update the details of the Suspicious IP Throttling configuration of your tenant.
@@ -17047,9 +17744,7 @@ from auth0 import Auth0 client = Auth0( token="YOUR_TOKEN", ) -client.branding.themes.get( - theme_id="themeId", -) +client.attack_protection.suspicious_ip_throttling.update() ``` @@ -17065,7 +17760,34 @@ client.branding.themes.get(
-**theme_id:** `str` — The ID of the theme +**enabled:** `typing.Optional[bool]` — Whether or not suspicious IP throttling attack protections are active. + +
+
+ +
+
+ +**shields:** `typing.Optional[typing.Sequence[SuspiciousIpThrottlingShieldsEnum]]` + +Action to take when a suspicious IP throttling threshold is violated. + Possible values: block, admin_notification. + +
+
+ +
+
+ +**allowlist:** `typing.Optional[SuspiciousIpThrottlingAllowlist]` + +
+
+ +
+
+ +**stage:** `typing.Optional[SuspiciousIpThrottlingStage]`
@@ -17085,7 +17807,54 @@ client.branding.themes.get(
-
client.branding.themes.delete(...) -> AsyncHttpResponse[None] +## Branding Templates +
client.branding.templates.get_universal_login() -> AsyncHttpResponse[GetUniversalLoginTemplateResponseContent] +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from auth0 import Auth0 + +client = Auth0( + token="YOUR_TOKEN", +) +client.branding.templates.get_universal_login() + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + +
+
+
+ +
client.branding.templates.update_universal_login(...) -> AsyncHttpResponse[None]
@@ -17097,7 +17866,30 @@ client.branding.themes.get(
-Delete branding theme. +Update the Universal Login branding template. + +

When content-type header is set to application/json:

+
+{
+  "template": "<!DOCTYPE html>{% assign resolved_dir = dir | default: "auto" %}<html lang="{{locale}}" dir="{{resolved_dir}}"><head>{%- auth0:head -%}</head><body class="_widget-auto-layout">{%- auth0:widget -%}</body></html>"
+}
+
+ +

+ When content-type header is set to text/html: +

+
+<!DOCTYPE html>
+{% assign resolved_dir = dir | default: "auto" %}
+<html lang="{{locale}}" dir="{{resolved_dir}}">
+  <head>
+    {%- auth0:head -%}
+  </head>
+  <body class="_widget-auto-layout">
+    {%- auth0:widget -%}
+  </body>
+</html>
+
@@ -17117,8 +17909,8 @@ from auth0 import Auth0 client = Auth0( token="YOUR_TOKEN", ) -client.branding.themes.delete( - theme_id="themeId", +client.branding.templates.update_universal_login( + request="string", ) ``` @@ -17135,10 +17927,56 @@ client.branding.themes.delete(
-**theme_id:** `str` — The ID of the theme +**request:** `UpdateUniversalLoginTemplateRequestContent` + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
+ + + + +
+ +
client.branding.templates.delete_universal_login() -> AsyncHttpResponse[None] +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from auth0 import Auth0 + +client = Auth0( + token="YOUR_TOKEN", +) +client.branding.templates.delete_universal_login() + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
@@ -17155,7 +17993,8 @@ client.branding.themes.delete(
-
client.branding.themes.update(...) -> AsyncHttpResponse[UpdateBrandingThemeResponseContent] +## Branding Themes +
client.branding.themes.create(...) -> AsyncHttpResponse[CreateBrandingThemeResponseContent]
@@ -17167,7 +18006,7 @@ client.branding.themes.delete(
-Update branding theme. +Create branding theme.
@@ -17200,8 +18039,7 @@ from auth0 import ( client = Auth0( token="YOUR_TOKEN", ) -client.branding.themes.update( - theme_id="themeId", +client.branding.themes.create( borders=BrandingThemeBorders( button_border_radius=1.1, button_border_weight=1.1, @@ -17288,14 +18126,6 @@ client.branding.themes.update(
-**theme_id:** `str` — The ID of the theme - -
-
- -
-
- **borders:** `BrandingThemeBorders`
@@ -17356,8 +18186,7 @@ client.branding.themes.update(
-## Branding Phone Providers -
client.branding.phone.providers.list(...) -> AsyncHttpResponse[ListBrandingPhoneProvidersResponseContent] +
client.branding.themes.get_default() -> AsyncHttpResponse[GetBrandingDefaultThemeResponseContent]
@@ -17369,7 +18198,7 @@ client.branding.themes.update(
-Retrieve a list of phone providers details set for a Tenant. A list of fields to include or exclude may also be specified. +Retrieve default branding theme.
@@ -17389,9 +18218,7 @@ from auth0 import Auth0 client = Auth0( token="YOUR_TOKEN", ) -client.branding.phone.providers.list( - disabled=True, -) +client.branding.themes.get_default() ``` @@ -17407,14 +18234,6 @@ client.branding.phone.providers.list(
-**disabled:** `typing.Optional[bool]` — Whether the provider is enabled (false) or disabled (true). - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -17427,7 +18246,7 @@ client.branding.phone.providers.list(
-
client.branding.phone.providers.create(...) -> AsyncHttpResponse[CreateBrandingPhoneProviderResponseContent] +
client.branding.themes.get(...) -> AsyncHttpResponse[GetBrandingThemeResponseContent]
@@ -17439,8 +18258,7 @@ client.branding.phone.providers.list(
-Create a phone provider. -The credentials object requires different properties depending on the phone provider (which is specified using the name property). +Retrieve branding theme.
@@ -17455,16 +18273,13 @@ The credentials object requires different properties depending on t
```python -from auth0 import Auth0, TwilioProviderCredentials +from auth0 import Auth0 client = Auth0( token="YOUR_TOKEN", ) -client.branding.phone.providers.create( - name="twilio", - credentials=TwilioProviderCredentials( - auth_token="auth_token", - ), +client.branding.themes.get( + theme_id="themeId", ) ``` @@ -17481,31 +18296,7 @@ client.branding.phone.providers.create(
-**name:** `PhoneProviderNameEnum` - -
-
- -
-
- -**credentials:** `PhoneProviderCredentials` - -
-
- -
-
- -**disabled:** `typing.Optional[bool]` — Whether the provider is enabled (false) or disabled (true). - -
-
- -
-
- -**configuration:** `typing.Optional[PhoneProviderConfiguration]` +**theme_id:** `str` — The ID of the theme
@@ -17525,7 +18316,7 @@ client.branding.phone.providers.create(
-
client.branding.phone.providers.get(...) -> AsyncHttpResponse[GetBrandingPhoneProviderResponseContent] +
client.branding.themes.delete(...) -> AsyncHttpResponse[None]
@@ -17537,7 +18328,7 @@ client.branding.phone.providers.create(
-Retrieve phone provider details. A list of fields to include or exclude may also be specified. +Delete branding theme.
@@ -17557,8 +18348,8 @@ from auth0 import Auth0 client = Auth0( token="YOUR_TOKEN", ) -client.branding.phone.providers.get( - id="id", +client.branding.themes.delete( + theme_id="themeId", ) ``` @@ -17575,7 +18366,7 @@ client.branding.phone.providers.get(
-**id:** `str` +**theme_id:** `str` — The ID of the theme
@@ -17595,7 +18386,7 @@ client.branding.phone.providers.get(
-
client.branding.phone.providers.delete(...) -> AsyncHttpResponse[None] +
client.branding.themes.update(...) -> AsyncHttpResponse[UpdateBrandingThemeResponseContent]
@@ -17607,7 +18398,7 @@ client.branding.phone.providers.get(
-Delete the configured phone provider. +Update branding theme.
@@ -17622,13 +18413,96 @@ Delete the configured phone provider.
```python -from auth0 import Auth0 +from auth0 import ( + Auth0, + BrandingThemeBorders, + BrandingThemeColors, + BrandingThemeFontBodyText, + BrandingThemeFontButtonsText, + BrandingThemeFontInputLabels, + BrandingThemeFontLinks, + BrandingThemeFonts, + BrandingThemeFontSubtitle, + BrandingThemeFontTitle, + BrandingThemePageBackground, + BrandingThemeWidget, +) client = Auth0( token="YOUR_TOKEN", ) -client.branding.phone.providers.delete( - id="id", +client.branding.themes.update( + theme_id="themeId", + borders=BrandingThemeBorders( + button_border_radius=1.1, + button_border_weight=1.1, + buttons_style="pill", + input_border_radius=1.1, + input_border_weight=1.1, + inputs_style="pill", + show_widget_shadow=True, + widget_border_weight=1.1, + widget_corner_radius=1.1, + ), + colors=BrandingThemeColors( + body_text="body_text", + error="error", + header="header", + icons="icons", + input_background="input_background", + input_border="input_border", + input_filled_text="input_filled_text", + input_labels_placeholders="input_labels_placeholders", + links_focused_components="links_focused_components", + primary_button="primary_button", + primary_button_label="primary_button_label", + secondary_button_border="secondary_button_border", + secondary_button_label="secondary_button_label", + success="success", + widget_background="widget_background", + widget_border="widget_border", + ), + fonts=BrandingThemeFonts( + body_text=BrandingThemeFontBodyText( + bold=True, + size=1.1, + ), + buttons_text=BrandingThemeFontButtonsText( + bold=True, + size=1.1, + ), + font_url="font_url", + input_labels=BrandingThemeFontInputLabels( + bold=True, + size=1.1, + ), + links=BrandingThemeFontLinks( + bold=True, + size=1.1, + ), + links_style="normal", + reference_text_size=1.1, + subtitle=BrandingThemeFontSubtitle( + bold=True, + size=1.1, + ), + title=BrandingThemeFontTitle( + bold=True, + size=1.1, + ), + ), + page_background=BrandingThemePageBackground( + background_color="background_color", + background_image_url="background_image_url", + page_layout="center", + ), + widget=BrandingThemeWidget( + header_text_alignment="center", + logo_height=1.1, + logo_position="center", + logo_url="logo_url", + social_buttons_layout="bottom", + ), ) ``` @@ -17645,7 +18519,55 @@ client.branding.phone.providers.delete(
-**id:** `str` +**theme_id:** `str` — The ID of the theme + +
+
+ +
+
+ +**borders:** `BrandingThemeBorders` + +
+
+ +
+
+ +**colors:** `BrandingThemeColors` + +
+
+ +
+
+ +**fonts:** `BrandingThemeFonts` + +
+
+ +
+
+ +**page_background:** `BrandingThemePageBackground` + +
+
+ +
+
+ +**widget:** `BrandingThemeWidget` + +
+
+ +
+
+ +**display_name:** `typing.Optional[str]` — Display Name
@@ -17665,7 +18587,8 @@ client.branding.phone.providers.delete(
-
client.branding.phone.providers.update(...) -> AsyncHttpResponse[UpdateBrandingPhoneProviderResponseContent] +## Branding Phone Providers +
client.branding.phone.providers.list(...) -> AsyncHttpResponse[ListBrandingPhoneProvidersResponseContent]
@@ -17677,8 +18600,7 @@ client.branding.phone.providers.delete(
-Update a phone provider. -The credentials object requires different properties depending on the phone provider (which is specified using the name property). +Retrieve a list of phone providers details set for a Tenant. A list of fields to include or exclude may also be specified.
@@ -17698,8 +18620,8 @@ from auth0 import Auth0 client = Auth0( token="YOUR_TOKEN", ) -client.branding.phone.providers.update( - id="id", +client.branding.phone.providers.list( + disabled=True, ) ``` @@ -17716,7 +18638,7 @@ client.branding.phone.providers.update(
-**id:** `str` +**disabled:** `typing.Optional[bool]` — Whether the provider is enabled (false) or disabled (true).
@@ -17724,54 +18646,37 @@ client.branding.phone.providers.update(
-**name:** `typing.Optional[PhoneProviderNameEnum]` +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
-
-
-**disabled:** `typing.Optional[bool]` — Whether the provider is enabled (false) or disabled (true). -
+
+
client.branding.phone.providers.create(...) -> AsyncHttpResponse[CreateBrandingPhoneProviderResponseContent]
-**credentials:** `typing.Optional[PhoneProviderCredentials]` - -
-
+#### 📝 Description
-**configuration:** `typing.Optional[PhoneProviderConfiguration]` - -
-
-
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - +Create a phone provider. +The credentials object requires different properties depending on the phone provider (which is specified using the name property).
- - - -
- -
client.branding.phone.providers.test(...) -> AsyncHttpResponse[CreatePhoneProviderSendTestResponseContent] -
-
- #### 🔌 Usage
@@ -17781,14 +18686,16 @@ client.branding.phone.providers.update(
```python -from auth0 import Auth0 +from auth0 import Auth0, TwilioProviderCredentials client = Auth0( token="YOUR_TOKEN", ) -client.branding.phone.providers.test( - id="id", - to="to", +client.branding.phone.providers.create( + name="twilio", + credentials=TwilioProviderCredentials( + auth_token="auth_token", + ), ) ``` @@ -17805,7 +18712,7 @@ client.branding.phone.providers.test(
-**id:** `str` +**name:** `PhoneProviderNameEnum`
@@ -17813,7 +18720,7 @@ client.branding.phone.providers.test(
-**to:** `str` — The recipient phone number to receive a given notification. +**credentials:** `PhoneProviderCredentials`
@@ -17821,7 +18728,15 @@ client.branding.phone.providers.test(
-**delivery_method:** `typing.Optional[PhoneProviderDeliveryMethodEnum]` +**disabled:** `typing.Optional[bool]` — Whether the provider is enabled (false) or disabled (true). + +
+
+ +
+
+ +**configuration:** `typing.Optional[PhoneProviderConfiguration]`
@@ -17841,11 +18756,24 @@ client.branding.phone.providers.test(
-## Branding Phone Templates -
client.branding.phone.templates.list(...) -> AsyncHttpResponse[ListPhoneTemplatesResponseContent] +
client.branding.phone.providers.get(...) -> AsyncHttpResponse[GetBrandingPhoneProviderResponseContent] +
+
+ +#### 📝 Description +
+
+
+ +Retrieve phone provider details. A list of fields to include or exclude may also be specified. +
+
+
+
+ #### 🔌 Usage
@@ -17860,8 +18788,8 @@ from auth0 import Auth0 client = Auth0( token="YOUR_TOKEN", ) -client.branding.phone.templates.list( - disabled=True, +client.branding.phone.providers.get( + id="id", ) ``` @@ -17878,7 +18806,7 @@ client.branding.phone.templates.list(
-**disabled:** `typing.Optional[bool]` — Whether the template is enabled (false) or disabled (true). +**id:** `str`
@@ -17898,10 +18826,24 @@ client.branding.phone.templates.list(
-
client.branding.phone.templates.create(...) -> AsyncHttpResponse[CreatePhoneTemplateResponseContent] +
client.branding.phone.providers.delete(...) -> AsyncHttpResponse[None]
+#### 📝 Description + +
+
+ +
+
+ +Delete the configured phone provider. +
+
+
+
+ #### 🔌 Usage
@@ -17916,7 +18858,9 @@ from auth0 import Auth0 client = Auth0( token="YOUR_TOKEN", ) -client.branding.phone.templates.create() +client.branding.phone.providers.delete( + id="id", +) ```
@@ -17932,7 +18876,7 @@ client.branding.phone.templates.create()
-**type:** `typing.Optional[PhoneTemplateNotificationTypeEnum]` +**id:** `str`
@@ -17940,38 +18884,37 @@ client.branding.phone.templates.create()
-**disabled:** `typing.Optional[bool]` — Whether the template is enabled (false) or disabled (true). +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
-
-
-**content:** `typing.Optional[PhoneTemplateContent]` -
+
+
client.branding.phone.providers.update(...) -> AsyncHttpResponse[UpdateBrandingPhoneProviderResponseContent]
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
- - - +#### 📝 Description - - -
+
+
-
client.branding.phone.templates.get(...) -> AsyncHttpResponse[GetPhoneTemplateResponseContent]
+Update a phone provider. +The credentials object requires different properties depending on the phone provider (which is specified using the name property). +
+
+
+
+ #### 🔌 Usage
@@ -17986,7 +18929,7 @@ from auth0 import Auth0 client = Auth0( token="YOUR_TOKEN", ) -client.branding.phone.templates.get( +client.branding.phone.providers.update( id="id", ) @@ -18012,55 +18955,31 @@ client.branding.phone.templates.get(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**name:** `typing.Optional[PhoneProviderNameEnum]`
- -
- - - -
- -
client.branding.phone.templates.delete(...) -> AsyncHttpResponse[None]
-#### 🔌 Usage - -
-
+**disabled:** `typing.Optional[bool]` — Whether the provider is enabled (false) or disabled (true). + +
+
-```python -from auth0 import Auth0 - -client = Auth0( - token="YOUR_TOKEN", -) -client.branding.phone.templates.delete( - id="id", -) - -``` -
-
+**credentials:** `typing.Optional[PhoneProviderCredentials]` +
-#### ⚙️ Parameters - -
-
-
-**id:** `str` +**configuration:** `typing.Optional[PhoneProviderConfiguration]`
@@ -18080,7 +18999,7 @@ client.branding.phone.templates.delete(
-
client.branding.phone.templates.update(...) -> AsyncHttpResponse[UpdatePhoneTemplateResponseContent] +
client.branding.phone.providers.test(...) -> AsyncHttpResponse[CreatePhoneProviderSendTestResponseContent]
@@ -18098,8 +19017,9 @@ from auth0 import Auth0 client = Auth0( token="YOUR_TOKEN", ) -client.branding.phone.templates.update( +client.branding.phone.providers.test( id="id", + to="to", ) ``` @@ -18124,7 +19044,7 @@ client.branding.phone.templates.update(
-**content:** `typing.Optional[PartialPhoneTemplateContent]` +**to:** `str` — The recipient phone number to receive a given notification.
@@ -18132,7 +19052,7 @@ client.branding.phone.templates.update(
-**disabled:** `typing.Optional[bool]` — Whether the template is enabled (false) or disabled (true). +**delivery_method:** `typing.Optional[PhoneProviderDeliveryMethodEnum]`
@@ -18152,7 +19072,8 @@ client.branding.phone.templates.update(
-
client.branding.phone.templates.reset(...) -> AsyncHttpResponse[ResetPhoneTemplateResponseContent] +## Branding Phone Templates +
client.branding.phone.templates.list(...) -> AsyncHttpResponse[ListPhoneTemplatesResponseContent]
@@ -18170,9 +19091,8 @@ from auth0 import Auth0 client = Auth0( token="YOUR_TOKEN", ) -client.branding.phone.templates.reset( - id="id", - request={"key": "value"}, +client.branding.phone.templates.list( + disabled=True, ) ``` @@ -18189,15 +19109,7 @@ client.branding.phone.templates.reset(
-**id:** `str` - -
-
- -
-
- -**request:** `ResetPhoneTemplateRequestContent` +**disabled:** `typing.Optional[bool]` — Whether the template is enabled (false) or disabled (true).
@@ -18217,7 +19129,7 @@ client.branding.phone.templates.reset(
-
client.branding.phone.templates.test(...) -> AsyncHttpResponse[CreatePhoneTemplateTestNotificationResponseContent] +
client.branding.phone.templates.create(...) -> AsyncHttpResponse[CreatePhoneTemplateResponseContent]
@@ -18235,10 +19147,7 @@ from auth0 import Auth0 client = Auth0( token="YOUR_TOKEN", ) -client.branding.phone.templates.test( - id="id", - to="to", -) +client.branding.phone.templates.create() ```
@@ -18254,7 +19163,7 @@ client.branding.phone.templates.test(
-**id:** `str` +**type:** `typing.Optional[PhoneTemplateNotificationTypeEnum]`
@@ -18262,7 +19171,7 @@ client.branding.phone.templates.test(
-**to:** `str` — Destination of the testing phone notification +**disabled:** `typing.Optional[bool]` — Whether the template is enabled (false) or disabled (true).
@@ -18270,7 +19179,7 @@ client.branding.phone.templates.test(
-**delivery_method:** `typing.Optional[PhoneProviderDeliveryMethodEnum]` +**content:** `typing.Optional[PhoneTemplateContent]`
@@ -18290,8 +19199,7 @@ client.branding.phone.templates.test(
-## ClientGrants Organizations -
client.client_grants.organizations.list(...) -> AsyncPager[Organization, ListClientGrantOrganizationsPaginatedResponseContent] +
client.branding.phone.templates.get(...) -> AsyncHttpResponse[GetPhoneTemplateResponseContent]
@@ -18309,16 +19217,9 @@ from auth0 import Auth0 client = Auth0( token="YOUR_TOKEN", ) -response = client.client_grants.organizations.list( +client.branding.phone.templates.get( id="id", - from_="from", - take=1, ) -for item in response: - yield item -# alternatively, you can paginate page-by-page -for page in response.iter_pages(): - yield page ```
@@ -18334,23 +19235,7 @@ for page in response.iter_pages():
-**id:** `str` — ID of the client grant - -
-
- -
-
- -**from_:** `typing.Optional[str]` — Optional Id from which to start selection. - -
-
- -
-
- -**take:** `typing.Optional[int]` — Number of results per page. Defaults to 50. +**id:** `str`
@@ -18370,27 +19255,10 @@ for page in response.iter_pages():
-## Clients Credentials -
client.clients.credentials.list(...) -> AsyncHttpResponse[typing.List[ClientCredential]] +
client.branding.phone.templates.delete(...) -> AsyncHttpResponse[None]
-#### 📝 Description - -
-
- -
-
- -Get the details of a client credential. - -Important: To enable credentials to be used for a client authentication method, set the client_authentication_methods property on the client. To enable credentials to be used for JWT-Secured Authorization requests set the signed_request_object property on the client. -
-
-
-
- #### 🔌 Usage
@@ -18405,8 +19273,8 @@ from auth0 import Auth0 client = Auth0( token="YOUR_TOKEN", ) -client.clients.credentials.list( - client_id="client_id", +client.branding.phone.templates.delete( + id="id", ) ``` @@ -18423,7 +19291,7 @@ client.clients.credentials.list(
-**client_id:** `str` — ID of the client. +**id:** `str`
@@ -18443,7 +19311,370 @@ client.clients.credentials.list(
-
client.clients.credentials.create(...) -> AsyncHttpResponse[PostClientCredentialResponseContent] +
client.branding.phone.templates.update(...) -> AsyncHttpResponse[UpdatePhoneTemplateResponseContent] +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from auth0 import Auth0 + +client = Auth0( + token="YOUR_TOKEN", +) +client.branding.phone.templates.update( + id="id", +) + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**id:** `str` + +
+
+ +
+
+ +**content:** `typing.Optional[PartialPhoneTemplateContent]` + +
+
+ +
+
+ +**disabled:** `typing.Optional[bool]` — Whether the template is enabled (false) or disabled (true). + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + +
+
+
+ +
client.branding.phone.templates.reset(...) -> AsyncHttpResponse[ResetPhoneTemplateResponseContent] +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from auth0 import Auth0 + +client = Auth0( + token="YOUR_TOKEN", +) +client.branding.phone.templates.reset( + id="id", + request={"key": "value"}, +) + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**id:** `str` + +
+
+ +
+
+ +**request:** `ResetPhoneTemplateRequestContent` + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + +
+
+
+ +
client.branding.phone.templates.test(...) -> AsyncHttpResponse[CreatePhoneTemplateTestNotificationResponseContent] +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from auth0 import Auth0 + +client = Auth0( + token="YOUR_TOKEN", +) +client.branding.phone.templates.test( + id="id", + to="to", +) + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**id:** `str` + +
+
+ +
+
+ +**to:** `str` — Destination of the testing phone notification + +
+
+ +
+
+ +**delivery_method:** `typing.Optional[PhoneProviderDeliveryMethodEnum]` + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + +
+
+
+ +## ClientGrants Organizations +
client.client_grants.organizations.list(...) -> AsyncPager[Organization, ListClientGrantOrganizationsPaginatedResponseContent] +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from auth0 import Auth0 + +client = Auth0( + token="YOUR_TOKEN", +) +response = client.client_grants.organizations.list( + id="id", + from_="from", + take=1, +) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**id:** `str` — ID of the client grant + +
+
+ +
+
+ +**from_:** `typing.Optional[str]` — Optional Id from which to start selection. + +
+
+ +
+
+ +**take:** `typing.Optional[int]` — Number of results per page. Defaults to 50. + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + +
+
+
+ +## Clients Credentials +
client.clients.credentials.list(...) -> AsyncHttpResponse[typing.List[ClientCredential]] +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Get the details of a client credential. + +Important: To enable credentials to be used for a client authentication method, set the client_authentication_methods property on the client. To enable credentials to be used for JWT-Secured Authorization requests set the signed_request_object property on the client. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from auth0 import Auth0 + +client = Auth0( + token="YOUR_TOKEN", +) +client.clients.credentials.list( + client_id="client_id", +) + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**client_id:** `str` — ID of the client. + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + +
+
+
+ +
client.clients.credentials.create(...) -> AsyncHttpResponse[PostClientCredentialResponseContent]
@@ -18602,7 +19833,7 @@ client.clients.credentials.create(
-
client.clients.credentials.get(...) -> AsyncHttpResponse[GetClientCredentialResponseContent] +
client.clients.credentials.get(...) -> AsyncHttpResponse[GetClientCredentialResponseContent]
@@ -18683,7 +19914,7 @@ client.clients.credentials.get(
-
client.clients.credentials.delete(...) -> AsyncHttpResponse[None] +
client.clients.credentials.delete(...) -> AsyncHttpResponse[None]
@@ -18762,7 +19993,7 @@ client.clients.credentials.delete(
-
client.clients.credentials.update(...) -> AsyncHttpResponse[PatchClientCredentialResponseContent] +
client.clients.credentials.update(...) -> AsyncHttpResponse[PatchClientCredentialResponseContent]
@@ -18850,7 +20081,7 @@ client.clients.credentials.update(
## Clients Connections -
client.clients.connections.get(...) -> AsyncPager[ConnectionForList, ListClientConnectionsResponseContent] +
client.clients.connections.get(...) -> AsyncPager[ConnectionForList, ListClientConnectionsResponseContent]
@@ -18981,8 +20212,8 @@ for page in response.iter_pages():
-## Connections Clients -
client.connections.clients.get(...) -> AsyncPager[ConnectionEnabledClient, GetConnectionEnabledClientsResponseContent] +## Connections DirectoryProvisioning +
client.connections.directory_provisioning.list(...) -> AsyncPager[DirectoryProvisioning, ListDirectoryProvisioningsResponseContent]
@@ -18994,9 +20225,7 @@ for page in response.iter_pages():
-Retrieve all clients that have the specified connection enabled. - -Note: The first time you call this endpoint, omit the from parameter. If there are more results, a next value is included in the response. You can use this for subsequent API calls. When next is no longer included in the response, no further results are remaining. +Retrieve a list of directory provisioning configurations of a tenant.
@@ -19016,10 +20245,9 @@ from auth0 import Auth0 client = Auth0( token="YOUR_TOKEN", ) -response = client.connections.clients.get( - id="id", - take=1, +response = client.connections.directory_provisioning.list( from_="from", + take=1, ) for item in response: yield item @@ -19041,22 +20269,6 @@ for page in response.iter_pages():
-**id:** `str` — The id of the connection for which enabled clients are to be retrieved - -
-
- -
-
- -**take:** `typing.Optional[int]` — Number of results per page. Defaults to 50. - -
-
- -
-
- **from_:** `typing.Optional[str]` — Optional Id from which to start selection.
@@ -19065,69 +20277,7 @@ for page in response.iter_pages():
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
- -
- - - -
-
- -
client.connections.clients.update(...) -> AsyncHttpResponse[None] -
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from auth0 import Auth0, UpdateEnabledClientConnectionsRequestContentItem - -client = Auth0( - token="YOUR_TOKEN", -) -client.connections.clients.update( - id="id", - request=[ - UpdateEnabledClientConnectionsRequestContentItem( - client_id="client_id", - status=True, - ) - ], -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**id:** `str` — The id of the connection to modify - -
-
- -
-
- -**request:** `UpdateEnabledClientConnectionsRequestContent` +**take:** `typing.Optional[int]` — Number of results per page. Defaults to 50.
@@ -19147,8 +20297,7 @@ client.connections.clients.update(
-## Connections DirectoryProvisioning -
client.connections.directory_provisioning.get(...) -> AsyncHttpResponse[GetDirectoryProvisioningResponseContent] +
client.connections.directory_provisioning.get(...) -> AsyncHttpResponse[GetDirectoryProvisioningResponseContent]
@@ -19218,7 +20367,7 @@ client.connections.directory_provisioning.get(
-
client.connections.directory_provisioning.create(...) -> AsyncHttpResponse[CreateDirectoryProvisioningResponseContent] +
client.connections.directory_provisioning.create(...) -> AsyncHttpResponse[CreateDirectoryProvisioningResponseContent]
@@ -19297,7 +20446,7 @@ client.connections.directory_provisioning.create(
-
client.connections.directory_provisioning.delete(...) -> AsyncHttpResponse[None] +
client.connections.directory_provisioning.delete(...) -> AsyncHttpResponse[None]
@@ -19367,7 +20516,7 @@ client.connections.directory_provisioning.delete(
-
client.connections.directory_provisioning.update(...) -> AsyncHttpResponse[UpdateDirectoryProvisioningResponseContent] +
client.connections.directory_provisioning.update(...) -> AsyncHttpResponse[UpdateDirectoryProvisioningResponseContent]
@@ -19446,7 +20595,7 @@ client.connections.directory_provisioning.update(
-
client.connections.directory_provisioning.get_default_mapping(...) -> AsyncHttpResponse[GetDirectoryProvisioningDefaultMappingResponseContent] +
client.connections.directory_provisioning.get_default_mapping(...) -> AsyncHttpResponse[GetDirectoryProvisioningDefaultMappingResponseContent]
@@ -19516,8 +20665,8 @@ client.connections.directory_provisioning.get_default_mapping(
-## Connections Keys -
client.connections.keys.get(...) -> AsyncHttpResponse[typing.List[ConnectionKey]] +## Connections Clients +
client.connections.clients.get(...) -> AsyncPager[ConnectionEnabledClient, GetConnectionEnabledClientsResponseContent]
@@ -19529,7 +20678,9 @@ client.connections.directory_provisioning.get_default_mapping(
-Gets the connection keys for the Okta or OIDC connection strategy. +Retrieve all clients that have the specified connection enabled. + +Note: The first time you call this endpoint, omit the from parameter. If there are more results, a next value is included in the response. You can use this for subsequent API calls. When next is no longer included in the response, no further results are remaining.
@@ -19549,9 +20700,16 @@ from auth0 import Auth0 client = Auth0( token="YOUR_TOKEN", ) -client.connections.keys.get( +response = client.connections.clients.get( id="id", + take=1, + from_="from", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -19567,7 +20725,7 @@ client.connections.keys.get(
-**id:** `str` — ID of the connection +**id:** `str` — The id of the connection for which enabled clients are to be retrieved
@@ -19575,36 +20733,38 @@ client.connections.keys.get(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**take:** `typing.Optional[int]` — Number of results per page. Defaults to 50.
- -
- - - -
- -
client.connections.keys.rotate(...) -> AsyncHttpResponse[RotateConnectionsKeysResponseContent]
-#### 📝 Description - -
-
+**from_:** `typing.Optional[str]` — Optional Id from which to start selection. + +
+
-Rotates the connection keys for the Okta or OIDC connection strategies. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +
+ + + +
+ +
client.connections.clients.update(...) -> AsyncHttpResponse[None] +
+
+ #### 🔌 Usage
@@ -19614,14 +20774,19 @@ Rotates the connection keys for the Okta or OIDC connection strategies.
```python -from auth0 import Auth0, RotateConnectionKeysRequestContent +from auth0 import Auth0, UpdateEnabledClientConnectionsRequestContentItem client = Auth0( token="YOUR_TOKEN", ) -client.connections.keys.rotate( +client.connections.clients.update( id="id", - request=RotateConnectionKeysRequestContent(), + request=[ + UpdateEnabledClientConnectionsRequestContentItem( + client_id="client_id", + status=True, + ) + ], ) ``` @@ -19638,7 +20803,7 @@ client.connections.keys.rotate(
-**id:** `str` — ID of the connection +**id:** `str` — The id of the connection to modify
@@ -19646,7 +20811,7 @@ client.connections.keys.rotate(
-**request:** `typing.Optional[RotateConnectionKeysRequestContent]` +**request:** `UpdateEnabledClientConnectionsRequestContent`
@@ -19666,8 +20831,8 @@ client.connections.keys.rotate(
-## Connections ScimConfiguration -
client.connections.scim_configuration.get(...) -> AsyncHttpResponse[GetScimConfigurationResponseContent] +## Connections Keys +
client.connections.keys.get(...) -> AsyncHttpResponse[typing.List[ConnectionKey]]
@@ -19679,7 +20844,7 @@ client.connections.keys.rotate(
-Retrieves a scim configuration by its connectionId. +Gets the connection keys for the Okta or OIDC connection strategy.
@@ -19699,7 +20864,7 @@ from auth0 import Auth0 client = Auth0( token="YOUR_TOKEN", ) -client.connections.scim_configuration.get( +client.connections.keys.get( id="id", ) @@ -19717,7 +20882,7 @@ client.connections.scim_configuration.get(
-**id:** `str` — The id of the connection to retrieve its SCIM configuration +**id:** `str` — ID of the connection
@@ -19737,7 +20902,7 @@ client.connections.scim_configuration.get(
-
client.connections.scim_configuration.create(...) -> AsyncHttpResponse[CreateScimConfigurationResponseContent] +
client.connections.keys.rotate(...) -> AsyncHttpResponse[RotateConnectionsKeysResponseContent]
@@ -19749,7 +20914,7 @@ client.connections.scim_configuration.get(
-Create a scim configuration for a connection. +Rotates the connection keys for the Okta or OIDC connection strategies.
@@ -19764,14 +20929,14 @@ Create a scim configuration for a connection.
```python -from auth0 import Auth0, CreateScimConfigurationRequestContent +from auth0 import Auth0, RotateConnectionKeysRequestContent client = Auth0( token="YOUR_TOKEN", ) -client.connections.scim_configuration.create( +client.connections.keys.rotate( id="id", - request=CreateScimConfigurationRequestContent(), + request=RotateConnectionKeysRequestContent(), ) ``` @@ -19788,7 +20953,7 @@ client.connections.scim_configuration.create(
-**id:** `str` — The id of the connection to create its SCIM configuration +**id:** `str` — ID of the connection
@@ -19796,7 +20961,7 @@ client.connections.scim_configuration.create(
-**request:** `typing.Optional[CreateScimConfigurationRequestContent]` +**request:** `typing.Optional[RotateConnectionKeysRequestContent]`
@@ -19816,7 +20981,8 @@ client.connections.scim_configuration.create(
-
client.connections.scim_configuration.delete(...) -> AsyncHttpResponse[None] +## Connections ScimConfiguration +
client.connections.scim_configuration.get(...) -> AsyncHttpResponse[GetScimConfigurationResponseContent]
@@ -19828,7 +20994,7 @@ client.connections.scim_configuration.create(
-Deletes a scim configuration by its connectionId. +Retrieves a scim configuration by its connectionId.
@@ -19848,7 +21014,7 @@ from auth0 import Auth0 client = Auth0( token="YOUR_TOKEN", ) -client.connections.scim_configuration.delete( +client.connections.scim_configuration.get( id="id", ) @@ -19866,7 +21032,7 @@ client.connections.scim_configuration.delete(
-**id:** `str` — The id of the connection to delete its SCIM configuration +**id:** `str` — The id of the connection to retrieve its SCIM configuration
@@ -19886,7 +21052,7 @@ client.connections.scim_configuration.delete(
-
client.connections.scim_configuration.update(...) -> AsyncHttpResponse[UpdateScimConfigurationResponseContent] +
client.connections.scim_configuration.create(...) -> AsyncHttpResponse[CreateScimConfigurationResponseContent]
@@ -19898,7 +21064,7 @@ client.connections.scim_configuration.delete(
-Update a scim configuration by its connectionId. +Create a scim configuration for a connection.
@@ -19913,15 +21079,14 @@ Update a scim configuration by its connectionId.
```python -from auth0 import Auth0, ScimMappingItem +from auth0 import Auth0, CreateScimConfigurationRequestContent client = Auth0( token="YOUR_TOKEN", ) -client.connections.scim_configuration.update( +client.connections.scim_configuration.create( id="id", - user_id_attribute="user_id_attribute", - mapping=[ScimMappingItem()], + request=CreateScimConfigurationRequestContent(), ) ``` @@ -19938,15 +21103,7 @@ client.connections.scim_configuration.update(
-**id:** `str` — The id of the connection to update its SCIM configuration - -
-
- -
-
- -**user_id_attribute:** `str` — User ID attribute for generating unique user ids +**id:** `str` — The id of the connection to create its SCIM configuration
@@ -19954,7 +21111,7 @@ client.connections.scim_configuration.update(
-**mapping:** `typing.Sequence[ScimMappingItem]` — The mapping between auth0 and SCIM +**request:** `typing.Optional[CreateScimConfigurationRequestContent]`
@@ -19974,7 +21131,7 @@ client.connections.scim_configuration.update(
-
client.connections.scim_configuration.get_default_mapping(...) -> AsyncHttpResponse[GetScimConfigurationDefaultMappingResponseContent] +
client.connections.scim_configuration.delete(...) -> AsyncHttpResponse[None]
@@ -19986,7 +21143,7 @@ client.connections.scim_configuration.update(
-Retrieves a scim configuration's default mapping by its connectionId. +Deletes a scim configuration by its connectionId.
@@ -20006,7 +21163,7 @@ from auth0 import Auth0 client = Auth0( token="YOUR_TOKEN", ) -client.connections.scim_configuration.get_default_mapping( +client.connections.scim_configuration.delete( id="id", ) @@ -20024,7 +21181,7 @@ client.connections.scim_configuration.get_default_mapping(
-**id:** `str` — The id of the connection to retrieve its default SCIM mapping +**id:** `str` — The id of the connection to delete its SCIM configuration
@@ -20044,8 +21201,7 @@ client.connections.scim_configuration.get_default_mapping(
-## Connections Users -
client.connections.users.delete_by_email(...) -> AsyncHttpResponse[None] +
client.connections.scim_configuration.update(...) -> AsyncHttpResponse[UpdateScimConfigurationResponseContent]
@@ -20057,7 +21213,7 @@ client.connections.scim_configuration.get_default_mapping(
-Deletes a specified connection user by its email (you cannot delete all users from specific connection). Currently, only Database Connections are supported. +Update a scim configuration by its connectionId.
@@ -20072,14 +21228,15 @@ Deletes a specified connection user by its email (you cannot delete all users fr
```python -from auth0 import Auth0 +from auth0 import Auth0, ScimMappingItem client = Auth0( token="YOUR_TOKEN", ) -client.connections.users.delete_by_email( +client.connections.scim_configuration.update( id="id", - email="email", + user_id_attribute="user_id_attribute", + mapping=[ScimMappingItem()], ) ``` @@ -20096,7 +21253,7 @@ client.connections.users.delete_by_email(
-**id:** `str` — The id of the connection (currently only database connections are supported) +**id:** `str` — The id of the connection to update its SCIM configuration
@@ -20104,7 +21261,15 @@ client.connections.users.delete_by_email(
-**email:** `str` — The email of the user to delete +**user_id_attribute:** `str` — User ID attribute for generating unique user ids + +
+
+ +
+
+ +**mapping:** `typing.Sequence[ScimMappingItem]` — The mapping between auth0 and SCIM
@@ -20124,8 +21289,7 @@ client.connections.users.delete_by_email(
-## Connections DirectoryProvisioning Synchronizations -
client.connections.directory_provisioning.synchronizations.create(...) -> AsyncHttpResponse[CreateDirectorySynchronizationResponseContent] +
client.connections.scim_configuration.get_default_mapping(...) -> AsyncHttpResponse[GetScimConfigurationDefaultMappingResponseContent]
@@ -20137,7 +21301,7 @@ client.connections.users.delete_by_email(
-Request an on-demand synchronization of the directory. +Retrieves a scim configuration's default mapping by its connectionId.
@@ -20157,7 +21321,7 @@ from auth0 import Auth0 client = Auth0( token="YOUR_TOKEN", ) -client.connections.directory_provisioning.synchronizations.create( +client.connections.scim_configuration.get_default_mapping( id="id", ) @@ -20175,7 +21339,7 @@ client.connections.directory_provisioning.synchronizations.create(
-**id:** `str` — The id of the connection to trigger synchronization for +**id:** `str` — The id of the connection to retrieve its default SCIM mapping
@@ -20195,8 +21359,8 @@ client.connections.directory_provisioning.synchronizations.create(
-## Connections ScimConfiguration Tokens -
client.connections.scim_configuration.tokens.get(...) -> AsyncHttpResponse[GetScimTokensResponseContent] +## Connections Users +
client.connections.users.delete_by_email(...) -> AsyncHttpResponse[None]
@@ -20208,7 +21372,7 @@ client.connections.directory_provisioning.synchronizations.create(
-Retrieves all scim tokens by its connection id. +Deletes a specified connection user by its email (you cannot delete all users from specific connection). Currently, only Database Connections are supported.
@@ -20228,8 +21392,9 @@ from auth0 import Auth0 client = Auth0( token="YOUR_TOKEN", ) -client.connections.scim_configuration.tokens.get( +client.connections.users.delete_by_email( id="id", + email="email", ) ``` @@ -20246,7 +21411,15 @@ client.connections.scim_configuration.tokens.get(
-**id:** `str` — The id of the connection to retrieve its SCIM configuration +**id:** `str` — The id of the connection (currently only database connections are supported) + +
+
+ +
+
+ +**email:** `str` — The email of the user to delete
@@ -20266,7 +21439,8 @@ client.connections.scim_configuration.tokens.get(
-
client.connections.scim_configuration.tokens.create(...) -> AsyncHttpResponse[CreateScimTokenResponseContent] +## Connections DirectoryProvisioning Synchronizations +
client.connections.directory_provisioning.synchronizations.create(...) -> AsyncHttpResponse[CreateDirectorySynchronizationResponseContent]
@@ -20278,7 +21452,7 @@ client.connections.scim_configuration.tokens.get(
-Create a scim token for a scim client. +Request an on-demand synchronization of the directory.
@@ -20298,7 +21472,7 @@ from auth0 import Auth0 client = Auth0( token="YOUR_TOKEN", ) -client.connections.scim_configuration.tokens.create( +client.connections.directory_provisioning.synchronizations.create( id="id", ) @@ -20316,23 +21490,7 @@ client.connections.scim_configuration.tokens.create(
-**id:** `str` — The id of the connection to create its SCIM token - -
-
- -
-
- -**scopes:** `typing.Optional[typing.Sequence[str]]` — The scopes of the scim token - -
-
- -
-
- -**token_lifetime:** `typing.Optional[int]` — Lifetime of the token in seconds. Must be greater than 900 +**id:** `str` — The id of the connection to trigger synchronization for
@@ -20352,7 +21510,8 @@ client.connections.scim_configuration.tokens.create(
-
client.connections.scim_configuration.tokens.delete(...) -> AsyncHttpResponse[None] +## Connections ScimConfiguration Tokens +
client.connections.scim_configuration.tokens.get(...) -> AsyncHttpResponse[GetScimTokensResponseContent]
@@ -20364,7 +21523,7 @@ client.connections.scim_configuration.tokens.create(
-Deletes a scim token by its connection id and tokenId. +Retrieves all scim tokens by its connection id.
@@ -20384,9 +21543,8 @@ from auth0 import Auth0 client = Auth0( token="YOUR_TOKEN", ) -client.connections.scim_configuration.tokens.delete( +client.connections.scim_configuration.tokens.get( id="id", - token_id="tokenId", ) ``` @@ -20403,15 +21561,7 @@ client.connections.scim_configuration.tokens.delete(
-**id:** `str` — The connection id that owns the SCIM token to delete - -
-
- -
-
- -**token_id:** `str` — The id of the scim token to delete +**id:** `str` — The id of the connection to retrieve its SCIM configuration
@@ -20431,8 +21581,7 @@ client.connections.scim_configuration.tokens.delete(
-## Emails Provider -
client.emails.provider.get(...) -> AsyncHttpResponse[GetEmailProviderResponseContent] +
client.connections.scim_configuration.tokens.create(...) -> AsyncHttpResponse[CreateScimTokenResponseContent]
@@ -20444,7 +21593,7 @@ client.connections.scim_configuration.tokens.delete(
-Retrieve details of the email provider configuration in your tenant. A list of fields to include or exclude may also be specified. +Create a scim token for a scim client.
@@ -20464,9 +21613,8 @@ from auth0 import Auth0 client = Auth0( token="YOUR_TOKEN", ) -client.emails.provider.get( - fields="fields", - include_fields=True, +client.connections.scim_configuration.tokens.create( + id="id", ) ``` @@ -20483,7 +21631,7 @@ client.emails.provider.get(
-**fields:** `typing.Optional[str]` — Comma-separated list of fields to include or exclude (dependent upon include_fields) from the result. Leave empty to retrieve `name` and `enabled`. Additional fields available include `credentials`, `default_from_address`, and `settings`. +**id:** `str` — The id of the connection to create its SCIM token
@@ -20491,7 +21639,15 @@ client.emails.provider.get(
-**include_fields:** `typing.Optional[bool]` — Whether specified fields are to be included (true) or excluded (false). +**scopes:** `typing.Optional[typing.Sequence[str]]` — The scopes of the scim token + +
+
+ +
+
+ +**token_lifetime:** `typing.Optional[int]` — Lifetime of the token in seconds. Must be greater than 900
@@ -20511,7 +21667,7 @@ client.emails.provider.get(
-
client.emails.provider.create(...) -> AsyncHttpResponse[CreateEmailProviderResponseContent] +
client.connections.scim_configuration.tokens.delete(...) -> AsyncHttpResponse[None]
@@ -20523,48 +21679,7 @@ client.emails.provider.get(
-Create an email provider. The credentials object -requires different properties depending on the email provider (which is specified using the name property): -
    -
  • mandrill requires api_key
  • -
  • sendgrid requires api_key
  • -
  • - sparkpost requires api_key. Optionally, set region to eu to use - the SparkPost service hosted in Western Europe; set to null to use the SparkPost service hosted in - North America. eu or null are the only valid values for region. -
  • -
  • - mailgun requires api_key and domain. Optionally, set region to - eu to use the Mailgun service hosted in Europe; set to null otherwise. eu or - null are the only valid values for region. -
  • -
  • ses requires accessKeyId, secretAccessKey, and region
  • -
  • - smtp requires smtp_host, smtp_port, smtp_user, and - smtp_pass -
  • -
-Depending on the type of provider it is possible to specify settings object with different configuration -options, which will be used when sending an email: -
    -
  • - smtp provider, settings may contain headers object. -
      -
    • - When using AWS SES SMTP host, you may provide a name of configuration set in - X-SES-Configuration-Set header. Value must be a string. -
    • -
    • - When using Sparkpost host, you may provide value for - X-MSYS_API header. Value must be an object. -
    • -
    -
  • -
  • - for ses provider, settings may contain message object, where you can provide - a name of configuration set in configuration_set_name property. Value must be a string. -
  • -
+Deletes a scim token by its connection id and tokenId.
@@ -20579,16 +21694,14 @@ options, which will be used when sending an email:
```python -from auth0 import Auth0, EmailProviderCredentialsSchemaZero +from auth0 import Auth0 client = Auth0( token="YOUR_TOKEN", ) -client.emails.provider.create( - name="mailgun", - credentials=EmailProviderCredentialsSchemaZero( - api_key="api_key", - ), +client.connections.scim_configuration.tokens.delete( + id="id", + token_id="tokenId", ) ``` @@ -20605,31 +21718,7 @@ client.emails.provider.create(
-**name:** `EmailProviderNameEnum` - -
-
- -
-
- -**credentials:** `EmailProviderCredentialsSchema` - -
-
- -
-
- -**enabled:** `typing.Optional[bool]` — Whether the provider is enabled (true) or disabled (false). - -
-
- -
-
- -**default_from_address:** `typing.Optional[str]` — Email address to use as "from" when no other address specified. +**id:** `str` — The connection id that owns the SCIM token to delete
@@ -20637,7 +21726,7 @@ client.emails.provider.create(
-**settings:** `typing.Optional[EmailSpecificProviderSettingsWithAdditionalProperties]` +**token_id:** `str` — The id of the scim token to delete
@@ -20657,7 +21746,8 @@ client.emails.provider.create(
-
client.emails.provider.delete() -> AsyncHttpResponse[None] +## Emails Provider +
client.emails.provider.get(...) -> AsyncHttpResponse[GetEmailProviderResponseContent]
@@ -20669,7 +21759,7 @@ client.emails.provider.create(
-Delete the email provider. +Retrieve details of the email provider configuration in your tenant. A list of fields to include or exclude may also be specified.
@@ -20689,7 +21779,10 @@ from auth0 import Auth0 client = Auth0( token="YOUR_TOKEN", ) -client.emails.provider.delete() +client.emails.provider.get( + fields="fields", + include_fields=True, +) ``` @@ -20705,6 +21798,22 @@ client.emails.provider.delete()
+**fields:** `typing.Optional[str]` — Comma-separated list of fields to include or exclude (dependent upon include_fields) from the result. Leave empty to retrieve `name` and `enabled`. Additional fields available include `credentials`, `default_from_address`, and `settings`. + +
+
+ +
+
+ +**include_fields:** `typing.Optional[bool]` — Whether specified fields are to be included (true) or excluded (false). + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -20717,7 +21826,213 @@ client.emails.provider.delete()
-
client.emails.provider.update(...) -> AsyncHttpResponse[UpdateEmailProviderResponseContent] +
client.emails.provider.create(...) -> AsyncHttpResponse[CreateEmailProviderResponseContent] +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Create an email provider. The credentials object +requires different properties depending on the email provider (which is specified using the name property): +
    +
  • mandrill requires api_key
  • +
  • sendgrid requires api_key
  • +
  • + sparkpost requires api_key. Optionally, set region to eu to use + the SparkPost service hosted in Western Europe; set to null to use the SparkPost service hosted in + North America. eu or null are the only valid values for region. +
  • +
  • + mailgun requires api_key and domain. Optionally, set region to + eu to use the Mailgun service hosted in Europe; set to null otherwise. eu or + null are the only valid values for region. +
  • +
  • ses requires accessKeyId, secretAccessKey, and region
  • +
  • + smtp requires smtp_host, smtp_port, smtp_user, and + smtp_pass +
  • +
+Depending on the type of provider it is possible to specify settings object with different configuration +options, which will be used when sending an email: +
    +
  • + smtp provider, settings may contain headers object. +
      +
    • + When using AWS SES SMTP host, you may provide a name of configuration set in + X-SES-Configuration-Set header. Value must be a string. +
    • +
    • + When using Sparkpost host, you may provide value for + X-MSYS_API header. Value must be an object. +
    • +
    +
  • +
  • + for ses provider, settings may contain message object, where you can provide + a name of configuration set in configuration_set_name property. Value must be a string. +
  • +
+
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from auth0 import Auth0, EmailProviderCredentialsSchemaZero + +client = Auth0( + token="YOUR_TOKEN", +) +client.emails.provider.create( + name="mailgun", + credentials=EmailProviderCredentialsSchemaZero( + api_key="api_key", + ), +) + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**name:** `EmailProviderNameEnum` + +
+
+ +
+
+ +**credentials:** `EmailProviderCredentialsSchema` + +
+
+ +
+
+ +**enabled:** `typing.Optional[bool]` — Whether the provider is enabled (true) or disabled (false). + +
+
+ +
+
+ +**default_from_address:** `typing.Optional[str]` — Email address to use as "from" when no other address specified. + +
+
+ +
+
+ +**settings:** `typing.Optional[EmailSpecificProviderSettingsWithAdditionalProperties]` + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + +
+
+
+ +
client.emails.provider.delete() -> AsyncHttpResponse[None] +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Delete the email provider. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from auth0 import Auth0 + +client = Auth0( + token="YOUR_TOKEN", +) +client.emails.provider.delete() + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + +
+
+
+ +
client.emails.provider.update(...) -> AsyncHttpResponse[UpdateEmailProviderResponseContent]
@@ -20857,7 +22172,7 @@ client.emails.provider.update()
## EventStreams Deliveries -
client.event_streams.deliveries.list(...) -> AsyncHttpResponse[typing.List[EventStreamDelivery]] +
client.event_streams.deliveries.list(...) -> AsyncHttpResponse[typing.List[EventStreamDelivery]]
@@ -20967,7 +22282,7 @@ client.event_streams.deliveries.list(
-
client.event_streams.deliveries.get_history(...) -> AsyncHttpResponse[GetEventStreamDeliveryHistoryResponseContent] +
client.event_streams.deliveries.get_history(...) -> AsyncHttpResponse[GetEventStreamDeliveryHistoryResponseContent]
@@ -21033,7 +22348,7 @@ client.event_streams.deliveries.get_history(
## EventStreams Redeliveries -
client.event_streams.redeliveries.create(...) -> AsyncHttpResponse[CreateEventStreamRedeliveryResponseContent] +
client.event_streams.redeliveries.create(...) -> AsyncHttpResponse[CreateEventStreamRedeliveryResponseContent]
@@ -21121,7 +22436,7 @@ client.event_streams.redeliveries.create(
-
client.event_streams.redeliveries.create_by_id(...) -> AsyncHttpResponse[None] +
client.event_streams.redeliveries.create_by_id(...) -> AsyncHttpResponse[None]
@@ -21187,7 +22502,7 @@ client.event_streams.redeliveries.create_by_id(
## Flows Executions -
client.flows.executions.list(...) -> AsyncPager[FlowExecutionSummary, ListFlowExecutionsPaginatedResponseContent] +
client.flows.executions.list(...) -> AsyncPager[FlowExecutionSummary, ListFlowExecutionsPaginatedResponseContent]
@@ -21266,10 +22581,618 @@ for page in response.iter_pages():
-
client.flows.executions.get(...) -> AsyncHttpResponse[GetFlowExecutionResponseContent] +
client.flows.executions.get(...) -> AsyncHttpResponse[GetFlowExecutionResponseContent] +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from auth0 import Auth0 + +client = Auth0( + token="YOUR_TOKEN", +) +client.flows.executions.get( + flow_id="flow_id", + execution_id="execution_id", +) + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**flow_id:** `str` — Flow id + +
+
+ +
+
+ +**execution_id:** `str` — Flow execution id + +
+
+ +
+
+ +**hydrate:** `typing.Optional[ + typing.Union[ + ExecutionsGetRequestHydrateItem, + typing.Sequence[ExecutionsGetRequestHydrateItem], + ] +]` — Hydration param + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + +
+
+
+ +
client.flows.executions.delete(...) -> AsyncHttpResponse[None] +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from auth0 import Auth0 + +client = Auth0( + token="YOUR_TOKEN", +) +client.flows.executions.delete( + flow_id="flow_id", + execution_id="execution_id", +) + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**flow_id:** `str` — Flows id + +
+
+ +
+
+ +**execution_id:** `str` — Flow execution identifier + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + +
+
+
+ +## Flows Vault Connections +
client.flows.vault.connections.list(...) -> AsyncPager[ + FlowsVaultConnectionSummary, + ListFlowsVaultConnectionsOffsetPaginatedResponseContent, +] +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from auth0 import Auth0 + +client = Auth0( + token="YOUR_TOKEN", +) +response = client.flows.vault.connections.list( + page=1, + per_page=1, + include_totals=True, +) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**page:** `typing.Optional[int]` — Page index of the results to return. First page is 0. + +
+
+ +
+
+ +**per_page:** `typing.Optional[int]` — Number of results per page. Defaults to 50. + +
+
+ +
+
+ +**include_totals:** `typing.Optional[bool]` — Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + +
+
+
+ +
client.flows.vault.connections.create(...) -> AsyncHttpResponse[CreateFlowsVaultConnectionResponseContent] +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from auth0 import ( + Auth0, + CreateFlowsVaultConnectionActivecampaignApiKey, + FlowsVaultConnectioSetupApiKeyWithBaseUrl, +) + +client = Auth0( + token="YOUR_TOKEN", +) +client.flows.vault.connections.create( + request=CreateFlowsVaultConnectionActivecampaignApiKey( + name="name", + app_id="ACTIVECAMPAIGN", + setup=FlowsVaultConnectioSetupApiKeyWithBaseUrl( + type="API_KEY", + api_key="api_key", + base_url="base_url", + ), + ), +) + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**request:** `CreateFlowsVaultConnectionRequestContent` + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + +
+
+
+ +
client.flows.vault.connections.get(...) -> AsyncHttpResponse[GetFlowsVaultConnectionResponseContent] +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from auth0 import Auth0 + +client = Auth0( + token="YOUR_TOKEN", +) +client.flows.vault.connections.get( + id="id", +) + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**id:** `str` — Flows Vault connection ID + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + +
+
+
+ +
client.flows.vault.connections.delete(...) -> AsyncHttpResponse[None] +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from auth0 import Auth0 + +client = Auth0( + token="YOUR_TOKEN", +) +client.flows.vault.connections.delete( + id="id", +) + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**id:** `str` — Vault connection id + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + +
+
+
+ +
client.flows.vault.connections.update(...) -> AsyncHttpResponse[UpdateFlowsVaultConnectionResponseContent] +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from auth0 import Auth0 + +client = Auth0( + token="YOUR_TOKEN", +) +client.flows.vault.connections.update( + id="id", +) + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**id:** `str` — Flows Vault connection ID + +
+
+ +
+
+ +**name:** `typing.Optional[str]` — Flows Vault Connection name. + +
+
+ +
+
+ +**setup:** `typing.Optional[UpdateFlowsVaultConnectionSetup]` + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + +
+
+
+ +## Groups Members +
client.groups.members.get(...) -> AsyncPager[GroupMember, GetGroupMembersResponseContent] +
+
+ +#### 📝 Description + +
+
+ +
+
+ +List all users that are a member of this group. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from auth0 import Auth0 + +client = Auth0( + token="YOUR_TOKEN", +) +response = client.groups.members.get( + id="id", + fields="fields", + include_fields=True, + from_="from", + take=1, +) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**id:** `str` — Unique identifier for the group (service-generated). + +
+
+ +
+
+ +**fields:** `typing.Optional[str]` — A comma separated list of fields to include or exclude (depending on include_fields) from the result, empty to retrieve all fields + +
+
+ +
+
+ +**include_fields:** `typing.Optional[bool]` — Whether specified fields are to be included (true) or excluded (false). + +
+
+ +
+
+ +**from_:** `typing.Optional[str]` — Optional Id from which to start selection. + +
+
+ +
+
+ +**take:** `typing.Optional[int]` — Number of results per page. Defaults to 50. + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + +
+
+
+ +## Guardian Enrollments +
client.guardian.enrollments.create_ticket(...) -> AsyncHttpResponse[CreateGuardianEnrollmentTicketResponseContent] +
+
+ +#### 📝 Description +
+
+
+ +Create a multi-factor authentication (MFA) enrollment ticket, and optionally send an email with the created ticket, to a given user. +Create a multi-factor authentication (MFA) enrollment ticket, and optionally send an email with the created ticket to a given user. Enrollment tickets can specify which factor users must enroll with or allow existing MFA users to enroll in additional factors.
+ +Note: Users cannot enroll in Email as a factor through custom enrollment tickets. +
+
+
+
+ #### 🔌 Usage
@@ -21284,9 +23207,8 @@ from auth0 import Auth0 client = Auth0( token="YOUR_TOKEN", ) -client.flows.executions.get( - flow_id="flow_id", - execution_id="execution_id", +client.guardian.enrollments.create_ticket( + user_id="user_id", ) ``` @@ -21303,7 +23225,7 @@ client.flows.executions.get(
-**flow_id:** `str` — Flow id +**user_id:** `str` — user_id for the enrollment ticket
@@ -21311,7 +23233,7 @@ client.flows.executions.get(
-**execution_id:** `str` — Flow execution id +**email:** `typing.Optional[str]` — alternate email to which the enrollment email will be sent. Optional - by default, the email will be sent to the user's default address
@@ -21319,11 +23241,7 @@ client.flows.executions.get(
-**hydrate:** `typing.Optional[ - typing.Union[ - typing.Literal["debug"], typing.Sequence[typing.Literal["debug"]] - ] -]` — Hydration param +**send_mail:** `typing.Optional[bool]` — Send an email to the user to start the enrollment
@@ -21331,90 +23249,59 @@ client.flows.executions.get(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**email_locale:** `typing.Optional[str]` — Optional. Specify the locale of the enrollment email. Used with send_email.
-
-
+
+
+**factor:** `typing.Optional[GuardianEnrollmentFactorEnum]` +
-
-
client.flows.executions.delete(...) -> AsyncHttpResponse[None]
-#### 🔌 Usage - -
-
+**allow_multiple_enrollments:** `typing.Optional[bool]` — Optional. Allows a user who has previously enrolled in MFA to enroll with additional factors.
Note: Parameter can only be used with Universal Login; it cannot be used with Classic Login or custom MFA pages. + +
+
-```python -from auth0 import Auth0 - -client = Auth0( - token="YOUR_TOKEN", -) -client.flows.executions.delete( - flow_id="flow_id", - execution_id="execution_id", -) - -``` +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +
-#### ⚙️ Parameters -
-
+
+
+
+
client.guardian.enrollments.get(...) -> AsyncHttpResponse[GetGuardianEnrollmentResponseContent]
-**flow_id:** `str` — Flows id - -
-
+#### 📝 Description
-**execution_id:** `str` — Flow execution identifier - -
-
-
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
+Retrieve details, such as status and type, for a specific multi-factor authentication enrollment registered to a user account. - - -
- -## Flows Vault Connections -
client.flows.vault.connections.list(...) -> AsyncPager[ - FlowsVaultConnectionSummary, - ListFlowsVaultConnectionsOffsetPaginatedResponseContent, -] -
-
#### 🔌 Usage @@ -21430,16 +23317,9 @@ from auth0 import Auth0 client = Auth0( token="YOUR_TOKEN", ) -response = client.flows.vault.connections.list( - page=1, - per_page=1, - include_totals=True, +client.guardian.enrollments.get( + id="id", ) -for item in response: - yield item -# alternatively, you can paginate page-by-page -for page in response.iter_pages(): - yield page ```
@@ -21455,7 +23335,7 @@ for page in response.iter_pages():
-**page:** `typing.Optional[int]` — Page index of the results to return. First page is 0. +**id:** `str` — ID of the enrollment to be retrieve.
@@ -21463,38 +23343,36 @@ for page in response.iter_pages():
-**per_page:** `typing.Optional[int]` — Number of results per page. Defaults to 50. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
-
-
-**include_totals:** `typing.Optional[bool]` — Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). -
+
+
client.guardian.enrollments.delete(...) -> AsyncHttpResponse[None]
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
- - - +#### 📝 Description - - -
+
+
-
client.flows.vault.connections.create(...) -> AsyncHttpResponse[CreateFlowsVaultConnectionResponseContent]
+Remove a specific multi-factor authentication (MFA) enrollment from a user's account. This allows the user to re-enroll with MFA. For more information, review Reset User Multi-Factor Authentication and Recovery Codes. +
+
+
+
+ #### 🔌 Usage
@@ -21504,23 +23382,13 @@ for page in response.iter_pages():
```python -from auth0 import ( - Auth0, - CreateFlowsVaultConnectionActivecampaignApiKey, - FlowsVaultConnectioSetupApiKeyWithBaseUrl, -) +from auth0 import Auth0 client = Auth0( token="YOUR_TOKEN", ) -client.flows.vault.connections.create( - request=CreateFlowsVaultConnectionActivecampaignApiKey( - name="name", - setup=FlowsVaultConnectioSetupApiKeyWithBaseUrl( - api_key="api_key", - base_url="base_url", - ), - ), +client.guardian.enrollments.delete( + id="id", ) ``` @@ -21537,7 +23405,7 @@ client.flows.vault.connections.create(
-**request:** `CreateFlowsVaultConnectionRequestContent` +**id:** `str` — ID of the enrollment to be deleted.
@@ -21557,10 +23425,25 @@ client.flows.vault.connections.create(
-
client.flows.vault.connections.get(...) -> AsyncHttpResponse[GetFlowsVaultConnectionResponseContent] +## Guardian Factors +
client.guardian.factors.list() -> AsyncHttpResponse[typing.List[GuardianFactor]] +
+
+ +#### 📝 Description +
+
+
+ +Retrieve details of all multi-factor authentication factors associated with your tenant. +
+
+
+
+ #### 🔌 Usage
@@ -21575,9 +23458,7 @@ from auth0 import Auth0 client = Auth0( token="YOUR_TOKEN", ) -client.flows.vault.connections.get( - id="id", -) +client.guardian.factors.list() ```
@@ -21593,14 +23474,6 @@ client.flows.vault.connections.get(
-**id:** `str` — Flows Vault connection ID - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -21613,10 +23486,24 @@ client.flows.vault.connections.get(
-
client.flows.vault.connections.delete(...) -> AsyncHttpResponse[None] +
client.guardian.factors.set(...) -> AsyncHttpResponse[SetGuardianFactorResponseContent]
+#### 📝 Description + +
+
+ +
+
+ +Update the status (i.e., enabled or disabled) of a specific multi-factor authentication factor. +
+
+
+
+ #### 🔌 Usage
@@ -21631,8 +23518,9 @@ from auth0 import Auth0 client = Auth0( token="YOUR_TOKEN", ) -client.flows.vault.connections.delete( - id="id", +client.guardian.factors.set( + name="push-notification", + enabled=True, ) ``` @@ -21649,7 +23537,15 @@ client.flows.vault.connections.delete(
-**id:** `str` — Vault connection id +**name:** `GuardianFactorNameEnum` — Factor name. Can be `sms`, `push-notification`, `email`, `duo` `otp` `webauthn-roaming`, `webauthn-platform`, or `recovery-code`. + +
+
+ +
+
+ +**enabled:** `bool` — Whether this factor is enabled (true) or disabled (false).
@@ -21669,11 +23565,12 @@ client.flows.vault.connections.delete(
-
client.flows.vault.connections.update(...) -> AsyncHttpResponse[UpdateFlowsVaultConnectionResponseContent] +## Guardian Policies +
client.guardian.policies.list() -> AsyncHttpResponse[ListGuardianPoliciesResponseContent]
-#### 🔌 Usage +#### 📝 Description
@@ -21681,23 +23578,21 @@ client.flows.vault.connections.delete(
-```python -from auth0 import Auth0 +Retrieve the multi-factor authentication (MFA) policies configured for your tenant. -client = Auth0( - token="YOUR_TOKEN", -) -client.flows.vault.connections.update( - id="id", -) +The following policies are supported: +
    +
  • all-applications policy prompts with MFA for all logins.
  • +
  • confidence-score policy prompts with MFA only for low confidence logins.
  • +
-``` +Note: The confidence-score policy is part of the Adaptive MFA feature. Adaptive MFA requires an add-on for the Enterprise plan; review Auth0 Pricing for more details.
-#### ⚙️ Parameters +#### 🔌 Usage
@@ -21705,27 +23600,25 @@ client.flows.vault.connections.update(
-**id:** `str` — Flows Vault connection ID - -
-
+```python +from auth0 import Auth0 -
-
+client = Auth0( + token="YOUR_TOKEN", +) +client.guardian.policies.list() -**name:** `typing.Optional[str]` — Flows Vault Connection name. - +```
+
+
+ +#### ⚙️ Parameters
-**setup:** `typing.Optional[UpdateFlowsVaultConnectionSetup]` - -
-
-
@@ -21741,8 +23634,7 @@ client.flows.vault.connections.update(
-## Guardian Enrollments -
client.guardian.enrollments.create_ticket(...) -> AsyncHttpResponse[CreateGuardianEnrollmentTicketResponseContent] +
client.guardian.policies.set(...) -> AsyncHttpResponse[SetGuardianPoliciesResponseContent]
@@ -21754,10 +23646,15 @@ client.flows.vault.connections.update(
-Create a multi-factor authentication (MFA) enrollment ticket, and optionally send an email with the created ticket, to a given user. -Create a multi-factor authentication (MFA) enrollment ticket, and optionally send an email with the created ticket to a given user. Enrollment tickets can specify which factor users must enroll with or allow existing MFA users to enroll in additional factors.
+Set multi-factor authentication (MFA) policies for your tenant. -Note: Users cannot enroll in Email as a factor through custom enrollment tickets. +The following policies are supported: +
    +
  • all-applications policy prompts with MFA for all logins.
  • +
  • confidence-score policy prompts with MFA only for low confidence logins.
  • +
+ +Note: The confidence-score policy is part of the Adaptive MFA feature. Adaptive MFA requires an add-on for the Enterprise plan; review Auth0 Pricing for more details.
@@ -21777,8 +23674,8 @@ from auth0 import Auth0 client = Auth0( token="YOUR_TOKEN", ) -client.guardian.enrollments.create_ticket( - user_id="user_id", +client.guardian.policies.set( + request=["all-applications"], ) ``` @@ -21795,7 +23692,7 @@ client.guardian.enrollments.create_ticket(
-**user_id:** `str` — user_id for the enrollment ticket +**request:** `SetGuardianPoliciesRequestContent`
@@ -21803,42 +23700,63 @@ client.guardian.enrollments.create_ticket(
-**email:** `typing.Optional[str]` — alternate email to which the enrollment email will be sent. Optional - by default, the email will be sent to the user's default address +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
-
-
-**send_mail:** `typing.Optional[bool]` — Send an email to the user to start the enrollment -
+
+## Guardian Factors Phone +
client.guardian.factors.phone.get_message_types() -> AsyncHttpResponse[GetGuardianFactorPhoneMessageTypesResponseContent]
-**email_locale:** `typing.Optional[str]` — Optional. Specify the locale of the enrollment email. Used with send_email. - -
-
+#### 📝 Description
-**factor:** `typing.Optional[GuardianEnrollmentFactorEnum]` - +
+
+ +Retrieve list of phone-type MFA factors (i.e., sms and voice) that are enabled for your tenant.
+
+
+ +#### 🔌 Usage
-**allow_multiple_enrollments:** `typing.Optional[bool]` — Optional. Allows a user who has previously enrolled in MFA to enroll with additional factors.
Note: Parameter can only be used with Universal Login; it cannot be used with Classic Login or custom MFA pages. - +
+
+ +```python +from auth0 import Auth0 + +client = Auth0( + token="YOUR_TOKEN", +) +client.guardian.factors.phone.get_message_types() + +```
+
+
+ +#### ⚙️ Parameters + +
+
@@ -21855,7 +23773,7 @@ client.guardian.enrollments.create_ticket(
-
client.guardian.enrollments.get(...) -> AsyncHttpResponse[GetGuardianEnrollmentResponseContent] +
client.guardian.factors.phone.set_message_types(...) -> AsyncHttpResponse[SetGuardianFactorPhoneMessageTypesResponseContent]
@@ -21867,7 +23785,7 @@ client.guardian.enrollments.create_ticket(
-Retrieve details, such as status and type, for a specific multi-factor authentication enrollment registered to a user account. +Replace the list of phone-type MFA factors (i.e., sms and voice) that are enabled for your tenant.
@@ -21887,8 +23805,8 @@ from auth0 import Auth0 client = Auth0( token="YOUR_TOKEN", ) -client.guardian.enrollments.get( - id="id", +client.guardian.factors.phone.set_message_types( + message_types=["sms"], ) ``` @@ -21905,7 +23823,7 @@ client.guardian.enrollments.get(
-**id:** `str` — ID of the enrollment to be retrieve. +**message_types:** `typing.Sequence[GuardianFactorPhoneFactorMessageTypeEnum]` — The list of phone factors to enable on the tenant. Can include `sms` and `voice`.
@@ -21925,7 +23843,7 @@ client.guardian.enrollments.get(
-
client.guardian.enrollments.delete(...) -> AsyncHttpResponse[None] +
client.guardian.factors.phone.get_twilio_provider() -> AsyncHttpResponse[GetGuardianFactorsProviderPhoneTwilioResponseContent]
@@ -21937,7 +23855,7 @@ client.guardian.enrollments.get(
-Remove a specific multi-factor authentication (MFA) enrollment from a user's account. This allows the user to re-enroll with MFA. For more information, review Reset User Multi-Factor Authentication and Recovery Codes. +Retrieve configuration details for a Twilio phone provider that has been set up in your tenant. To learn more, review Configure SMS and Voice Notifications for MFA.
@@ -21957,9 +23875,7 @@ from auth0 import Auth0 client = Auth0( token="YOUR_TOKEN", ) -client.guardian.enrollments.delete( - id="id", -) +client.guardian.factors.phone.get_twilio_provider() ``` @@ -21975,14 +23891,6 @@ client.guardian.enrollments.delete(
-**id:** `str` — ID of the enrollment to be deleted. - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -21995,8 +23903,7 @@ client.guardian.enrollments.delete(
-## Guardian Factors -
client.guardian.factors.list() -> AsyncHttpResponse[typing.List[GuardianFactor]] +
client.guardian.factors.phone.set_twilio_provider(...) -> AsyncHttpResponse[SetGuardianFactorsProviderPhoneTwilioResponseContent]
@@ -22008,7 +23915,7 @@ client.guardian.enrollments.delete(
-Retrieve details of all multi-factor authentication factors associated with your tenant. +Update the configuration of a Twilio phone provider that has been set up in your tenant. To learn more, review Configure SMS and Voice Notifications for MFA.
@@ -22028,7 +23935,7 @@ from auth0 import Auth0 client = Auth0( token="YOUR_TOKEN", ) -client.guardian.factors.list() +client.guardian.factors.phone.set_twilio_provider() ``` @@ -22044,70 +23951,23 @@ client.guardian.factors.list()
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**from_:** `typing.Optional[str]` — From number
- -
- - - - -
- -
client.guardian.factors.set(...) -> AsyncHttpResponse[SetGuardianFactorResponseContent] -
-
- -#### 📝 Description
-
-
- -Update the status (i.e., enabled or disabled) of a specific multi-factor authentication factor. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from auth0 import Auth0 - -client = Auth0( - token="YOUR_TOKEN", -) -client.guardian.factors.set( - name="push-notification", - enabled=True, -) - -``` -
-
+**messaging_service_sid:** `typing.Optional[str]` — Copilot SID +
-#### ⚙️ Parameters -
-
-
- -**name:** `GuardianFactorNameEnum` — Factor name. Can be `sms`, `push-notification`, `email`, `duo` `otp` `webauthn-roaming`, `webauthn-platform`, or `recovery-code`. +**auth_token:** `typing.Optional[str]` — Twilio Authentication token
@@ -22115,7 +23975,7 @@ client.guardian.factors.set(
-**enabled:** `bool` — Whether this factor is enabled (true) or disabled (false). +**sid:** `typing.Optional[str]` — Twilio SID
@@ -22135,8 +23995,7 @@ client.guardian.factors.set(
-## Guardian Policies -
client.guardian.policies.list() -> AsyncHttpResponse[ListGuardianPoliciesResponseContent] +
client.guardian.factors.phone.get_selected_provider() -> AsyncHttpResponse[GetGuardianFactorsProviderPhoneResponseContent]
@@ -22148,15 +24007,7 @@ client.guardian.factors.set(
-Retrieve the multi-factor authentication (MFA) policies configured for your tenant. - -The following policies are supported: -
    -
  • all-applications policy prompts with MFA for all logins.
  • -
  • confidence-score policy prompts with MFA only for low confidence logins.
  • -
- -Note: The confidence-score policy is part of the Adaptive MFA feature. Adaptive MFA requires an add-on for the Enterprise plan; review Auth0 Pricing for more details. +Retrieve details of the multi-factor authentication phone provider configured for your tenant.
@@ -22176,7 +24027,7 @@ from auth0 import Auth0 client = Auth0( token="YOUR_TOKEN", ) -client.guardian.policies.list() +client.guardian.factors.phone.get_selected_provider() ``` @@ -22204,32 +24055,10 @@ client.guardian.policies.list()
-
client.guardian.policies.set(...) -> AsyncHttpResponse[SetGuardianPoliciesResponseContent] -
-
- -#### 📝 Description - -
-
- +
client.guardian.factors.phone.set_provider(...) -> AsyncHttpResponse[SetGuardianFactorsProviderPhoneResponseContent]
-Set multi-factor authentication (MFA) policies for your tenant. - -The following policies are supported: -
    -
  • all-applications policy prompts with MFA for all logins.
  • -
  • confidence-score policy prompts with MFA only for low confidence logins.
  • -
- -Note: The confidence-score policy is part of the Adaptive MFA feature. Adaptive MFA requires an add-on for the Enterprise plan; review Auth0 Pricing for more details. -
-
-
-
- #### 🔌 Usage
@@ -22244,8 +24073,8 @@ from auth0 import Auth0 client = Auth0( token="YOUR_TOKEN", ) -client.guardian.policies.set( - request=["all-applications"], +client.guardian.factors.phone.set_provider( + provider="auth0", ) ``` @@ -22262,7 +24091,7 @@ client.guardian.policies.set(
-**request:** `SetGuardianPoliciesRequestContent` +**provider:** `GuardianFactorsProviderSmsProviderEnum`
@@ -22282,8 +24111,7 @@ client.guardian.policies.set(
-## Guardian Factors Phone -
client.guardian.factors.phone.get_message_types() -> AsyncHttpResponse[GetGuardianFactorPhoneMessageTypesResponseContent] +
client.guardian.factors.phone.get_templates() -> AsyncHttpResponse[GetGuardianFactorPhoneTemplatesResponseContent]
@@ -22295,7 +24123,7 @@ client.guardian.policies.set(
-Retrieve list of phone-type MFA factors (i.e., sms and voice) that are enabled for your tenant. +Retrieve details of the multi-factor authentication enrollment and verification templates for phone-type factors available in your tenant.
@@ -22315,7 +24143,7 @@ from auth0 import Auth0 client = Auth0( token="YOUR_TOKEN", ) -client.guardian.factors.phone.get_message_types() +client.guardian.factors.phone.get_templates() ``` @@ -22343,7 +24171,7 @@ client.guardian.factors.phone.get_message_types()
-
client.guardian.factors.phone.set_message_types(...) -> AsyncHttpResponse[SetGuardianFactorPhoneMessageTypesResponseContent] +
client.guardian.factors.phone.set_templates(...) -> AsyncHttpResponse[SetGuardianFactorPhoneTemplatesResponseContent]
@@ -22355,7 +24183,7 @@ client.guardian.factors.phone.get_message_types()
-Replace the list of phone-type MFA factors (i.e., sms and voice) that are enabled for your tenant. +Customize the messages sent to complete phone enrollment and verification (subscription required).
@@ -22375,8 +24203,9 @@ from auth0 import Auth0 client = Auth0( token="YOUR_TOKEN", ) -client.guardian.factors.phone.set_message_types( - message_types=["sms"], +client.guardian.factors.phone.set_templates( + enrollment_message="enrollment_message", + verification_message="verification_message", ) ``` @@ -22393,7 +24222,15 @@ client.guardian.factors.phone.set_message_types(
-**message_types:** `typing.Sequence[GuardianFactorPhoneFactorMessageTypeEnum]` — The list of phone factors to enable on the tenant. Can include `sms` and `voice`. +**enrollment_message:** `str` — Message sent to the user when they are invited to enroll with a phone number. + +
+
+ +
+
+ +**verification_message:** `str` — Message sent to the user when they are prompted to verify their account.
@@ -22413,7 +24250,8 @@ client.guardian.factors.phone.set_message_types(
-
client.guardian.factors.phone.get_twilio_provider() -> AsyncHttpResponse[GetGuardianFactorsProviderPhoneTwilioResponseContent] +## Guardian Factors PushNotification +
client.guardian.factors.push_notification.get_apns_provider() -> AsyncHttpResponse[GetGuardianFactorsProviderApnsResponseContent]
@@ -22425,7 +24263,7 @@ client.guardian.factors.phone.set_message_types(
-Retrieve configuration details for a Twilio phone provider that has been set up in your tenant. To learn more, review Configure SMS and Voice Notifications for MFA. +Retrieve configuration details for the multi-factor authentication APNS provider associated with your tenant.
@@ -22445,7 +24283,7 @@ from auth0 import Auth0 client = Auth0( token="YOUR_TOKEN", ) -client.guardian.factors.phone.get_twilio_provider() +client.guardian.factors.push_notification.get_apns_provider() ``` @@ -22473,7 +24311,7 @@ client.guardian.factors.phone.get_twilio_provider()
-
client.guardian.factors.phone.set_twilio_provider(...) -> AsyncHttpResponse[SetGuardianFactorsProviderPhoneTwilioResponseContent] +
client.guardian.factors.push_notification.set_apns_provider(...) -> AsyncHttpResponse[SetGuardianFactorsProviderPushNotificationApnsResponseContent]
@@ -22485,7 +24323,7 @@ client.guardian.factors.phone.get_twilio_provider()
-Update the configuration of a Twilio phone provider that has been set up in your tenant. To learn more, review Configure SMS and Voice Notifications for MFA. +Overwrite all configuration details of the multi-factor authentication APNS provider associated with your tenant.
@@ -22505,7 +24343,7 @@ from auth0 import Auth0 client = Auth0( token="YOUR_TOKEN", ) -client.guardian.factors.phone.set_twilio_provider() +client.guardian.factors.push_notification.set_apns_provider() ``` @@ -22521,15 +24359,7 @@ client.guardian.factors.phone.set_twilio_provider()
-**from_:** `typing.Optional[str]` — From number - -
-
- -
-
- -**messaging_service_sid:** `typing.Optional[str]` — Copilot SID +**sandbox:** `typing.Optional[bool]`
@@ -22537,7 +24367,7 @@ client.guardian.factors.phone.set_twilio_provider()
-**auth_token:** `typing.Optional[str]` — Twilio Authentication token +**bundle_id:** `typing.Optional[str]`
@@ -22545,7 +24375,7 @@ client.guardian.factors.phone.set_twilio_provider()
-**sid:** `typing.Optional[str]` — Twilio SID +**p_12:** `typing.Optional[str]`
@@ -22565,7 +24395,9 @@ client.guardian.factors.phone.set_twilio_provider()
-
client.guardian.factors.phone.get_selected_provider() -> AsyncHttpResponse[GetGuardianFactorsProviderPhoneResponseContent] +
client.guardian.factors.push_notification.update_apns_provider(...) -> AsyncHttpResponse[ + UpdateGuardianFactorsProviderPushNotificationApnsResponseContent +]
@@ -22577,7 +24409,7 @@ client.guardian.factors.phone.set_twilio_provider()
-Retrieve details of the multi-factor authentication phone provider configured for your tenant. +Modify configuration details of the multi-factor authentication APNS provider associated with your tenant.
@@ -22597,7 +24429,7 @@ from auth0 import Auth0 client = Auth0( token="YOUR_TOKEN", ) -client.guardian.factors.phone.get_selected_provider() +client.guardian.factors.push_notification.update_apns_provider() ``` @@ -22613,55 +24445,15 @@ client.guardian.factors.phone.get_selected_provider()
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**sandbox:** `typing.Optional[bool]` -
-
- -
- - - - -
- -
client.guardian.factors.phone.set_provider(...) -> AsyncHttpResponse[SetGuardianFactorsProviderPhoneResponseContent] -
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from auth0 import Auth0 - -client = Auth0( - token="YOUR_TOKEN", -) -client.guardian.factors.phone.set_provider( - provider="auth0", -) - -``` -
-
-#### ⚙️ Parameters -
-
-
- -**provider:** `GuardianFactorsProviderSmsProviderEnum` +**bundle_id:** `typing.Optional[str]`
@@ -22669,62 +24461,10 @@ client.guardian.factors.phone.set_provider(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**p_12:** `typing.Optional[str]`
-
-
- - -
-
-
- -
client.guardian.factors.phone.get_templates() -> AsyncHttpResponse[GetGuardianFactorPhoneTemplatesResponseContent] -
-
- -#### 📝 Description - -
-
- -
-
- -Retrieve details of the multi-factor authentication enrollment and verification templates for phone-type factors available in your tenant. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from auth0 import Auth0 - -client = Auth0( - token="YOUR_TOKEN", -) -client.guardian.factors.phone.get_templates() - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
@@ -22741,7 +24481,7 @@ client.guardian.factors.phone.get_templates()
-
client.guardian.factors.phone.set_templates(...) -> AsyncHttpResponse[SetGuardianFactorPhoneTemplatesResponseContent] +
client.guardian.factors.push_notification.set_fcm_provider(...) -> AsyncHttpResponse[SetGuardianFactorsProviderPushNotificationFcmResponseContent]
@@ -22753,7 +24493,7 @@ client.guardian.factors.phone.get_templates()
-Customize the messages sent to complete phone enrollment and verification (subscription required). +Overwrite all configuration details of the multi-factor authentication FCM provider associated with your tenant.
@@ -22773,10 +24513,7 @@ from auth0 import Auth0 client = Auth0( token="YOUR_TOKEN", ) -client.guardian.factors.phone.set_templates( - enrollment_message="enrollment_message", - verification_message="verification_message", -) +client.guardian.factors.push_notification.set_fcm_provider() ``` @@ -22792,15 +24529,7 @@ client.guardian.factors.phone.set_templates(
-**enrollment_message:** `str` — Message sent to the user when they are invited to enroll with a phone number. - -
-
- -
-
- -**verification_message:** `str` — Message sent to the user when they are prompted to verify their account. +**server_key:** `typing.Optional[str]`
@@ -22820,68 +24549,9 @@ client.guardian.factors.phone.set_templates(
-## Guardian Factors PushNotification -
client.guardian.factors.push_notification.get_apns_provider() -> AsyncHttpResponse[GetGuardianFactorsProviderApnsResponseContent] -
-
- -#### 📝 Description - -
-
- -
-
- -Retrieve configuration details for the multi-factor authentication APNS provider associated with your tenant. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from auth0 import Auth0 - -client = Auth0( - token="YOUR_TOKEN", -) -client.guardian.factors.push_notification.get_apns_provider() - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -
client.guardian.factors.push_notification.set_apns_provider(...) -> AsyncHttpResponse[SetGuardianFactorsProviderPushNotificationApnsResponseContent] +
client.guardian.factors.push_notification.update_fcm_provider(...) -> AsyncHttpResponse[ + UpdateGuardianFactorsProviderPushNotificationFcmResponseContent +]
@@ -22893,7 +24563,7 @@ client.guardian.factors.push_notification.get_apns_provider()
-Modify configuration details of the multi-factor authentication APNS provider associated with your tenant. +Modify configuration details of the multi-factor authentication FCM provider associated with your tenant.
@@ -22913,7 +24583,7 @@ from auth0 import Auth0 client = Auth0( token="YOUR_TOKEN", ) -client.guardian.factors.push_notification.set_apns_provider() +client.guardian.factors.push_notification.update_fcm_provider() ``` @@ -22929,23 +24599,7 @@ client.guardian.factors.push_notification.set_apns_provider()
-**sandbox:** `typing.Optional[bool]` - -
-
- -
-
- -**bundle_id:** `typing.Optional[str]` - -
-
- -
-
- -**p_12:** `typing.Optional[str]` +**server_key:** `typing.Optional[str]`
@@ -22965,7 +24619,9 @@ client.guardian.factors.push_notification.set_apns_provider()
-
client.guardian.factors.push_notification.set_fcm_provider(...) -> AsyncHttpResponse[SetGuardianFactorsProviderPushNotificationFcmResponseContent] +
client.guardian.factors.push_notification.set_fcmv_1_provider(...) -> AsyncHttpResponse[ + SetGuardianFactorsProviderPushNotificationFcmv1ResponseContent +]
@@ -22977,7 +24633,7 @@ client.guardian.factors.push_notification.set_apns_provider()
-Modify configuration details of the multi-factor authentication FCM provider associated with your tenant. +Overwrite all configuration details of the multi-factor authentication FCMV1 provider associated with your tenant.
@@ -22997,7 +24653,7 @@ from auth0 import Auth0 client = Auth0( token="YOUR_TOKEN", ) -client.guardian.factors.push_notification.set_fcm_provider() +client.guardian.factors.push_notification.set_fcmv_1_provider() ``` @@ -23013,7 +24669,7 @@ client.guardian.factors.push_notification.set_fcm_provider()
-**server_key:** `typing.Optional[str]` +**server_credentials:** `typing.Optional[str]`
@@ -23033,8 +24689,8 @@ client.guardian.factors.push_notification.set_fcm_provider()
-
client.guardian.factors.push_notification.set_fcmv_1_provider(...) -> AsyncHttpResponse[ - SetGuardianFactorsProviderPushNotificationFcmv1ResponseContent +
client.guardian.factors.push_notification.update_fcmv_1_provider(...) -> AsyncHttpResponse[ + UpdateGuardianFactorsProviderPushNotificationFcmv1ResponseContent ]
@@ -23067,7 +24723,7 @@ from auth0 import Auth0 client = Auth0( token="YOUR_TOKEN", ) -client.guardian.factors.push_notification.set_fcmv_1_provider() +client.guardian.factors.push_notification.update_fcmv_1_provider() ```
@@ -23103,7 +24759,7 @@ client.guardian.factors.push_notification.set_fcmv_1_provider()
-
client.guardian.factors.push_notification.get_sns_provider() -> AsyncHttpResponse[GetGuardianFactorsProviderSnsResponseContent] +
client.guardian.factors.push_notification.get_sns_provider() -> AsyncHttpResponse[GetGuardianFactorsProviderSnsResponseContent]
@@ -23163,7 +24819,7 @@ client.guardian.factors.push_notification.get_sns_provider()
-
client.guardian.factors.push_notification.set_sns_provider(...) -> AsyncHttpResponse[SetGuardianFactorsProviderPushNotificationSnsResponseContent] +
client.guardian.factors.push_notification.set_sns_provider(...) -> AsyncHttpResponse[SetGuardianFactorsProviderPushNotificationSnsResponseContent]
@@ -23263,7 +24919,7 @@ client.guardian.factors.push_notification.set_sns_provider()
-
client.guardian.factors.push_notification.update_sns_provider(...) -> AsyncHttpResponse[ +
client.guardian.factors.push_notification.update_sns_provider(...) -> AsyncHttpResponse[ UpdateGuardianFactorsProviderPushNotificationSnsResponseContent ]
@@ -23365,7 +25021,7 @@ client.guardian.factors.push_notification.update_sns_provider()
-
client.guardian.factors.push_notification.get_selected_provider() -> AsyncHttpResponse[GetGuardianFactorsProviderPushNotificationResponseContent] +
client.guardian.factors.push_notification.get_selected_provider() -> AsyncHttpResponse[GetGuardianFactorsProviderPushNotificationResponseContent]
@@ -23425,7 +25081,7 @@ client.guardian.factors.push_notification.get_selected_provider()
-
client.guardian.factors.push_notification.set_provider(...) -> AsyncHttpResponse[SetGuardianFactorsProviderPushNotificationResponseContent] +
client.guardian.factors.push_notification.set_provider(...) -> AsyncHttpResponse[SetGuardianFactorsProviderPushNotificationResponseContent]
@@ -23496,7 +25152,7 @@ client.guardian.factors.push_notification.set_provider(
## Guardian Factors Sms -
client.guardian.factors.sms.get_twilio_provider() -> AsyncHttpResponse[GetGuardianFactorsProviderSmsTwilioResponseContent] +
client.guardian.factors.sms.get_twilio_provider() -> AsyncHttpResponse[GetGuardianFactorsProviderSmsTwilioResponseContent]
@@ -23558,7 +25214,7 @@ client.guardian.factors.sms.get_twilio_provider()
-
client.guardian.factors.sms.set_twilio_provider(...) -> AsyncHttpResponse[SetGuardianFactorsProviderSmsTwilioResponseContent] +
client.guardian.factors.sms.set_twilio_provider(...) -> AsyncHttpResponse[SetGuardianFactorsProviderSmsTwilioResponseContent]
@@ -23652,7 +25308,7 @@ client.guardian.factors.sms.set_twilio_provider()
-
client.guardian.factors.sms.get_selected_provider() -> AsyncHttpResponse[GetGuardianFactorsProviderSmsResponseContent] +
client.guardian.factors.sms.get_selected_provider() -> AsyncHttpResponse[GetGuardianFactorsProviderSmsResponseContent]
@@ -23714,7 +25370,7 @@ client.guardian.factors.sms.get_selected_provider()
-
client.guardian.factors.sms.set_provider(...) -> AsyncHttpResponse[SetGuardianFactorsProviderSmsResponseContent] +
client.guardian.factors.sms.set_provider(...) -> AsyncHttpResponse[SetGuardianFactorsProviderSmsResponseContent]
@@ -23786,7 +25442,7 @@ client.guardian.factors.sms.set_provider(
-
client.guardian.factors.sms.get_templates() -> AsyncHttpResponse[GetGuardianFactorSmsTemplatesResponseContent] +
client.guardian.factors.sms.get_templates() -> AsyncHttpResponse[GetGuardianFactorSmsTemplatesResponseContent]
@@ -23848,7 +25504,7 @@ client.guardian.factors.sms.get_templates()
-
client.guardian.factors.sms.set_templates(...) -> AsyncHttpResponse[SetGuardianFactorSmsTemplatesResponseContent] +
client.guardian.factors.sms.set_templates(...) -> AsyncHttpResponse[SetGuardianFactorSmsTemplatesResponseContent]
@@ -23930,7 +25586,7 @@ client.guardian.factors.sms.set_templates(
## Guardian Factors Duo Settings -
client.guardian.factors.duo.settings.get() -> AsyncHttpResponse[GetGuardianFactorDuoSettingsResponseContent] +
client.guardian.factors.duo.settings.get() -> AsyncHttpResponse[GetGuardianFactorDuoSettingsResponseContent]
@@ -23990,7 +25646,7 @@ client.guardian.factors.duo.settings.get()
-
client.guardian.factors.duo.settings.set(...) -> AsyncHttpResponse[SetGuardianFactorDuoSettingsResponseContent] +
client.guardian.factors.duo.settings.set(...) -> AsyncHttpResponse[SetGuardianFactorDuoSettingsResponseContent]
@@ -24074,7 +25730,7 @@ client.guardian.factors.duo.settings.set()
-
client.guardian.factors.duo.settings.update(...) -> AsyncHttpResponse[UpdateGuardianFactorDuoSettingsResponseContent] +
client.guardian.factors.duo.settings.update(...) -> AsyncHttpResponse[UpdateGuardianFactorDuoSettingsResponseContent]
@@ -24145,7 +25801,7 @@ client.guardian.factors.duo.settings.update()
## Hooks Secrets -
client.hooks.secrets.get(...) -> AsyncHttpResponse[GetHookSecretResponseContent] +
client.hooks.secrets.get(...) -> AsyncHttpResponse[GetHookSecretResponseContent]
@@ -24215,7 +25871,7 @@ client.hooks.secrets.get(
-
client.hooks.secrets.create(...) -> AsyncHttpResponse[None] +
client.hooks.secrets.create(...) -> AsyncHttpResponse[None]
@@ -24294,7 +25950,7 @@ client.hooks.secrets.create(
-
client.hooks.secrets.delete(...) -> AsyncHttpResponse[None] +
client.hooks.secrets.delete(...) -> AsyncHttpResponse[None]
@@ -24373,7 +26029,7 @@ client.hooks.secrets.delete(
-
client.hooks.secrets.update(...) -> AsyncHttpResponse[None] +
client.hooks.secrets.update(...) -> AsyncHttpResponse[None]
@@ -24453,7 +26109,7 @@ client.hooks.secrets.update(
## Jobs UsersExports -
client.jobs.users_exports.create(...) -> AsyncHttpResponse[CreateExportUsersResponseContent] +
client.jobs.users_exports.create(...) -> AsyncHttpResponse[CreateExportUsersResponseContent]
@@ -24546,7 +26202,7 @@ client.jobs.users_exports.create()
## Jobs UsersImports -
client.jobs.users_imports.create(...) -> AsyncHttpResponse[CreateImportUsersResponseContent] +
client.jobs.users_imports.create(...) -> AsyncHttpResponse[CreateImportUsersResponseContent]
@@ -24651,7 +26307,7 @@ core.File` — See core.File for more documentation
## Jobs VerificationEmail -
client.jobs.verification_email.create(...) -> AsyncHttpResponse[CreateVerificationEmailResponseContent] +
client.jobs.verification_email.create(...) -> AsyncHttpResponse[CreateVerificationEmailResponseContent]
@@ -24748,7 +26404,7 @@ client.jobs.verification_email.create(
## Jobs Errors -
client.jobs.errors.get(...) -> AsyncHttpResponse[ErrorsGetResponse] +
client.jobs.errors.get(...) -> AsyncHttpResponse[ErrorsGetResponse]
@@ -24819,7 +26475,7 @@ client.jobs.errors.get(
## Keys CustomSigning -
client.keys.custom_signing.get() -> AsyncHttpResponse[GetCustomSigningKeysResponseContent] +
client.keys.custom_signing.get() -> AsyncHttpResponse[GetCustomSigningKeysResponseContent]
@@ -24879,7 +26535,7 @@ client.keys.custom_signing.get()
-
client.keys.custom_signing.set(...) -> AsyncHttpResponse[SetCustomSigningKeysResponseContent] +
client.keys.custom_signing.set(...) -> AsyncHttpResponse[SetCustomSigningKeysResponseContent]
@@ -24953,7 +26609,7 @@ client.keys.custom_signing.set(
-
client.keys.custom_signing.delete() -> AsyncHttpResponse[None] +
client.keys.custom_signing.delete() -> AsyncHttpResponse[None]
@@ -25014,7 +26670,7 @@ client.keys.custom_signing.delete()
## Keys Encryption -
client.keys.encryption.list(...) -> AsyncPager[EncryptionKey, ListEncryptionKeyOffsetPaginatedResponseContent] +
client.keys.encryption.list(...) -> AsyncPager[EncryptionKey, ListEncryptionKeyOffsetPaginatedResponseContent]
@@ -25107,7 +26763,7 @@ for page in response.iter_pages():
-
client.keys.encryption.create(...) -> AsyncHttpResponse[CreateEncryptionKeyResponseContent] +
client.keys.encryption.create(...) -> AsyncHttpResponse[CreateEncryptionKeyResponseContent]
@@ -25177,7 +26833,7 @@ client.keys.encryption.create(
-
client.keys.encryption.rekey() -> AsyncHttpResponse[None] +
client.keys.encryption.rekey() -> AsyncHttpResponse[None]
@@ -25237,7 +26893,7 @@ client.keys.encryption.rekey()
-
client.keys.encryption.get(...) -> AsyncHttpResponse[GetEncryptionKeyResponseContent] +
client.keys.encryption.get(...) -> AsyncHttpResponse[GetEncryptionKeyResponseContent]
@@ -25307,7 +26963,7 @@ client.keys.encryption.get(
-
client.keys.encryption.import_(...) -> AsyncHttpResponse[ImportEncryptionKeyResponseContent] +
client.keys.encryption.import_(...) -> AsyncHttpResponse[ImportEncryptionKeyResponseContent]
@@ -25386,7 +27042,7 @@ client.keys.encryption.import_(
-
client.keys.encryption.delete(...) -> AsyncHttpResponse[None] +
client.keys.encryption.delete(...) -> AsyncHttpResponse[None]
@@ -25456,7 +27112,7 @@ client.keys.encryption.delete(
-
client.keys.encryption.create_public_wrapping_key(...) -> AsyncHttpResponse[CreateEncryptionKeyPublicWrappingResponseContent] +
client.keys.encryption.create_public_wrapping_key(...) -> AsyncHttpResponse[CreateEncryptionKeyPublicWrappingResponseContent]
@@ -25527,7 +27183,7 @@ client.keys.encryption.create_public_wrapping_key(
## Keys Signing -
client.keys.signing.list() -> AsyncHttpResponse[typing.List[SigningKeys]] +
client.keys.signing.list() -> AsyncHttpResponse[typing.List[SigningKeys]]
@@ -25587,7 +27243,7 @@ client.keys.signing.list()
-
client.keys.signing.rotate() -> AsyncHttpResponse[RotateSigningKeysResponseContent] +
client.keys.signing.rotate() -> AsyncHttpResponse[RotateSigningKeysResponseContent]
@@ -25647,7 +27303,7 @@ client.keys.signing.rotate()
-
client.keys.signing.get(...) -> AsyncHttpResponse[GetSigningKeysResponseContent] +
client.keys.signing.get(...) -> AsyncHttpResponse[GetSigningKeysResponseContent]
@@ -25717,7 +27373,7 @@ client.keys.signing.get(
-
client.keys.signing.revoke(...) -> AsyncHttpResponse[RevokedSigningKeysResponseContent] +
client.keys.signing.revoke(...) -> AsyncHttpResponse[RevokedSigningKeysResponseContent]
@@ -25788,7 +27444,7 @@ client.keys.signing.revoke(
## Organizations ClientGrants -
client.organizations.client_grants.list(...) -> AsyncPager[ +
client.organizations.client_grants.list(...) -> AsyncPager[ OrganizationClientGrant, ListOrganizationClientGrantsOffsetPaginatedResponseContent, ] @@ -25905,7 +27561,7 @@ for page in response.iter_pages():
-
client.organizations.client_grants.create(...) -> AsyncHttpResponse[AssociateOrganizationClientGrantResponseContent] +
client.organizations.client_grants.create(...) -> AsyncHttpResponse[AssociateOrganizationClientGrantResponseContent]
@@ -25970,75 +27626,168 @@ client.organizations.client_grants.create(
-
client.organizations.client_grants.delete(...) -> AsyncHttpResponse[None] -
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from auth0 import Auth0 - -client = Auth0( - token="YOUR_TOKEN", -) -client.organizations.client_grants.delete( - id="id", - grant_id="grant_id", -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**id:** `str` — Organization identifier. - -
-
- -
-
- -**grant_id:** `str` — The Client Grant ID to remove from the organization - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -## Organizations DiscoveryDomains -
client.organizations.discovery_domains.list(...) -> AsyncPager[ - OrganizationDiscoveryDomain, ListOrganizationDiscoveryDomainsResponseContent -] +
client.organizations.client_grants.delete(...) -> AsyncHttpResponse[None] +
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from auth0 import Auth0 + +client = Auth0( + token="YOUR_TOKEN", +) +client.organizations.client_grants.delete( + id="id", + grant_id="grant_id", +) + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**id:** `str` — Organization identifier. + +
+
+ +
+
+ +**grant_id:** `str` — The Client Grant ID to remove from the organization + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + +
+
+
+ +## Organizations DiscoveryDomains +
client.organizations.discovery_domains.list(...) -> AsyncPager[ + OrganizationDiscoveryDomain, ListOrganizationDiscoveryDomainsResponseContent +] +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Retrieve list of all organization discovery domains associated with the specified organization. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from auth0 import Auth0 + +client = Auth0( + token="YOUR_TOKEN", +) +response = client.organizations.discovery_domains.list( + id="id", + from_="from", + take=1, +) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**id:** `str` — ID of the organization. + +
+
+ +
+
+ +**from_:** `typing.Optional[str]` — Optional Id from which to start selection. + +
+
+ +
+
+ +**take:** `typing.Optional[int]` — Number of results per page. Defaults to 50. + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + +
+
+
+ +
client.organizations.discovery_domains.create(...) -> AsyncHttpResponse[CreateOrganizationDiscoveryDomainResponseContent]
@@ -26050,7 +27799,7 @@ client.organizations.client_grants.delete(
-Retrieve list of all organization discovery domains associated with the specified organization. +Create a new discovery domain for an organization.
@@ -26070,16 +27819,10 @@ from auth0 import Auth0 client = Auth0( token="YOUR_TOKEN", ) -response = client.organizations.discovery_domains.list( +client.organizations.discovery_domains.create( id="id", - from_="from", - take=1, + domain="domain", ) -for item in response: - yield item -# alternatively, you can paginate page-by-page -for page in response.iter_pages(): - yield page ``` @@ -26103,7 +27846,7 @@ for page in response.iter_pages():
-**from_:** `typing.Optional[str]` — Optional Id from which to start selection. +**domain:** `str` — The domain name to associate with the organization e.g. acme.com.
@@ -26111,7 +27854,15 @@ for page in response.iter_pages():
-**take:** `typing.Optional[int]` — Number of results per page. Defaults to 50. +**status:** `typing.Optional[OrganizationDiscoveryDomainStatus]` + +
+
+ +
+
+ +**use_for_organization_discovery:** `typing.Optional[bool]` — Indicates whether this domain should be used for organization discovery.
@@ -26131,7 +27882,7 @@ for page in response.iter_pages():
-
client.organizations.discovery_domains.create(...) -> AsyncHttpResponse[CreateOrganizationDiscoveryDomainResponseContent] +
client.organizations.discovery_domains.get_by_name(...) -> AsyncHttpResponse[GetOrganizationDiscoveryDomainByNameResponseContent]
@@ -26143,7 +27894,8 @@ for page in response.iter_pages():
-Update the verification status for an organization discovery domain. The status field must be either pending or verified. +Retrieve details about a single organization discovery domain specified by domain name. +
@@ -26163,9 +27915,9 @@ from auth0 import Auth0 client = Auth0( token="YOUR_TOKEN", ) -client.organizations.discovery_domains.create( +client.organizations.discovery_domains.get_by_name( id="id", - domain="domain", + discovery_domain="discovery_domain", ) ``` @@ -26190,15 +27942,7 @@ client.organizations.discovery_domains.create(
-**domain:** `str` — The domain name to associate with the organization e.g. acme.com. - -
-
- -
-
- -**status:** `typing.Optional[OrganizationDiscoveryDomainStatus]` +**discovery_domain:** `str` — Domain name of the discovery domain.
@@ -26218,7 +27962,7 @@ client.organizations.discovery_domains.create(
-
client.organizations.discovery_domains.get(...) -> AsyncHttpResponse[GetOrganizationDiscoveryDomainResponseContent] +
client.organizations.discovery_domains.get(...) -> AsyncHttpResponse[GetOrganizationDiscoveryDomainResponseContent]
@@ -26297,7 +28041,7 @@ client.organizations.discovery_domains.get(
-
client.organizations.discovery_domains.delete(...) -> AsyncHttpResponse[None] +
client.organizations.discovery_domains.delete(...) -> AsyncHttpResponse[None]
@@ -26376,7 +28120,7 @@ client.organizations.discovery_domains.delete(
-
client.organizations.discovery_domains.update(...) -> AsyncHttpResponse[UpdateOrganizationDiscoveryDomainResponseContent] +
client.organizations.discovery_domains.update(...) -> AsyncHttpResponse[UpdateOrganizationDiscoveryDomainResponseContent]
@@ -26388,7 +28132,7 @@ client.organizations.discovery_domains.delete(
-Update the verification status for an organization discovery domain. The status field must be either pending or verified. +Update the verification status and/or use_for_organization_discovery for an organization discovery domain. The status field must be either pending or verified. The use_for_organization_discovery field can be true or false (default: true).
@@ -26451,6 +28195,14 @@ client.organizations.discovery_domains.update(
+**use_for_organization_discovery:** `typing.Optional[bool]` — Indicates whether this domain should be used for organization discovery. + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -26464,7 +28216,7 @@ client.organizations.discovery_domains.update(
## Organizations EnabledConnections -
client.organizations.enabled_connections.list(...) -> AsyncPager[ +
client.organizations.enabled_connections.list(...) -> AsyncPager[ OrganizationConnection, ListOrganizationConnectionsOffsetPaginatedResponseContent, ] @@ -26569,7 +28321,7 @@ for page in response.iter_pages():
-
client.organizations.enabled_connections.add(...) -> AsyncHttpResponse[AddOrganizationConnectionResponseContent] +
client.organizations.enabled_connections.add(...) -> AsyncHttpResponse[AddOrganizationConnectionResponseContent]
@@ -26674,7 +28426,7 @@ client.organizations.enabled_connections.add(
-
client.organizations.enabled_connections.get(...) -> AsyncHttpResponse[GetOrganizationConnectionResponseContent] +
client.organizations.enabled_connections.get(...) -> AsyncHttpResponse[GetOrganizationConnectionResponseContent]
@@ -26753,7 +28505,7 @@ client.organizations.enabled_connections.get(
-
client.organizations.enabled_connections.delete(...) -> AsyncHttpResponse[None] +
client.organizations.enabled_connections.delete(...) -> AsyncHttpResponse[None]
@@ -26834,7 +28586,7 @@ client.organizations.enabled_connections.delete(
-
client.organizations.enabled_connections.update(...) -> AsyncHttpResponse[UpdateOrganizationConnectionResponseContent] +
client.organizations.enabled_connections.update(...) -> AsyncHttpResponse[UpdateOrganizationConnectionResponseContent]
@@ -26938,7 +28690,7 @@ client.organizations.enabled_connections.update(
## Organizations Invitations -
client.organizations.invitations.list(...) -> AsyncPager[ +
client.organizations.invitations.list(...) -> AsyncPager[ OrganizationInvitation, ListOrganizationInvitationsOffsetPaginatedResponseContent, ] @@ -27070,7 +28822,7 @@ for page in response.iter_pages():
-
client.organizations.invitations.create(...) -> AsyncHttpResponse[CreateOrganizationInvitationResponseContent] +
client.organizations.invitations.create(...) -> AsyncHttpResponse[CreateOrganizationInvitationResponseContent]
@@ -27223,7 +28975,7 @@ client.organizations.invitations.create(
-
client.organizations.invitations.get(...) -> AsyncHttpResponse[GetOrganizationInvitationResponseContent] +
client.organizations.invitations.get(...) -> AsyncHttpResponse[GetOrganizationInvitationResponseContent]
@@ -27306,7 +29058,7 @@ client.organizations.invitations.get(
-
client.organizations.invitations.delete(...) -> AsyncHttpResponse[None] +
client.organizations.invitations.delete(...) -> AsyncHttpResponse[None]
@@ -27372,7 +29124,7 @@ client.organizations.invitations.delete(
## Organizations Members -
client.organizations.members.list(...) -> AsyncPager[OrganizationMember, ListOrganizationMembersPaginatedResponseContent] +
client.organizations.members.list(...) -> AsyncPager[OrganizationMember, ListOrganizationMembersPaginatedResponseContent]
@@ -27504,7 +29256,7 @@ for page in response.iter_pages():
-
client.organizations.members.create(...) -> AsyncHttpResponse[None] +
client.organizations.members.create(...) -> AsyncHttpResponse[None]
@@ -27585,7 +29337,7 @@ client.organizations.members.create(
-
client.organizations.members.delete(...) -> AsyncHttpResponse[None] +
client.organizations.members.delete(...) -> AsyncHttpResponse[None]
@@ -27651,7 +29403,7 @@ client.organizations.members.delete(
## Organizations Members Roles -
client.organizations.members.roles.list(...) -> AsyncPager[Role, ListOrganizationMemberRolesOffsetPaginatedResponseContent] +
client.organizations.members.roles.list(...) -> AsyncPager[Role, ListOrganizationMemberRolesOffsetPaginatedResponseContent]
@@ -27764,7 +29516,7 @@ for page in response.iter_pages():
-
client.organizations.members.roles.assign(...) -> AsyncHttpResponse[None] +
client.organizations.members.roles.assign(...) -> AsyncHttpResponse[None]
@@ -27854,7 +29606,7 @@ client.organizations.members.roles.assign(
-
client.organizations.members.roles.delete(...) -> AsyncHttpResponse[None] +
client.organizations.members.roles.delete(...) -> AsyncHttpResponse[None]
@@ -27945,7 +29697,9 @@ client.organizations.members.roles.delete(
## Prompts Rendering -
client.prompts.rendering.list(...) -> AsyncPager[AculResponseContent, ListAculsOffsetPaginatedResponseContent] +
client.prompts.rendering.list(...) -> AsyncPager[ + ListAculsResponseContentItem, ListAculsOffsetPaginatedResponseContent +]
@@ -28083,7 +29837,7 @@ for page in response.iter_pages():
-
client.prompts.rendering.bulk_update(...) -> AsyncHttpResponse[BulkUpdateAculResponseContent] +
client.prompts.rendering.bulk_update(...) -> AsyncHttpResponse[BulkUpdateAculResponseContent]
@@ -28158,7 +29912,7 @@ client.prompts.rendering.bulk_update(
-
client.prompts.rendering.get(...) -> AsyncHttpResponse[GetAculResponseContent] +
client.prompts.rendering.get(...) -> AsyncHttpResponse[GetAculResponseContent]
@@ -28237,7 +29991,7 @@ client.prompts.rendering.get(
-
client.prompts.rendering.update(...) -> AsyncHttpResponse[UpdateAculResponseContent] +
client.prompts.rendering.update(...) -> AsyncHttpResponse[UpdateAculResponseContent]
@@ -28365,7 +30119,7 @@ client.prompts.rendering.update(
## Prompts CustomText -
client.prompts.custom_text.get(...) -> AsyncHttpResponse[GetCustomTextsByLanguageResponseContent] +
client.prompts.custom_text.get(...) -> AsyncHttpResponse[GetCustomTextsByLanguageResponseContent]
@@ -28444,7 +30198,7 @@ client.prompts.custom_text.get(
-
client.prompts.custom_text.set(...) -> AsyncHttpResponse[None] +
client.prompts.custom_text.set(...) -> AsyncHttpResponse[None]
@@ -28533,7 +30287,7 @@ client.prompts.custom_text.set(
## Prompts Partials -
client.prompts.partials.get(...) -> AsyncHttpResponse[GetPartialsResponseContent] +
client.prompts.partials.get(...) -> AsyncHttpResponse[GetPartialsResponseContent]
@@ -28603,7 +30357,7 @@ client.prompts.partials.get(
-
client.prompts.partials.set(...) -> AsyncHttpResponse[None] +
client.prompts.partials.set(...) -> AsyncHttpResponse[None]
@@ -28683,7 +30437,7 @@ client.prompts.partials.set(
## RiskAssessments Settings -
client.risk_assessments.settings.get() -> AsyncHttpResponse[GetRiskAssessmentsSettingsResponseContent] +
client.risk_assessments.settings.get() -> AsyncHttpResponse[GetRiskAssessmentsSettingsResponseContent]
@@ -28743,7 +30497,7 @@ client.risk_assessments.settings.get()
-
client.risk_assessments.settings.update(...) -> AsyncHttpResponse[UpdateRiskAssessmentsSettingsResponseContent] +
client.risk_assessments.settings.update(...) -> AsyncHttpResponse[UpdateRiskAssessmentsSettingsResponseContent]
@@ -28814,7 +30568,7 @@ client.risk_assessments.settings.update(
## RiskAssessments Settings NewDevice -
client.risk_assessments.settings.new_device.get() -> AsyncHttpResponse[GetRiskAssessmentsSettingsNewDeviceResponseContent] +
client.risk_assessments.settings.new_device.get() -> AsyncHttpResponse[GetRiskAssessmentsSettingsNewDeviceResponseContent]
@@ -28874,7 +30628,7 @@ client.risk_assessments.settings.new_device.get()
-
client.risk_assessments.settings.new_device.update(...) -> AsyncHttpResponse[UpdateRiskAssessmentsSettingsNewDeviceResponseContent] +
client.risk_assessments.settings.new_device.update(...) -> AsyncHttpResponse[UpdateRiskAssessmentsSettingsNewDeviceResponseContent]
@@ -28945,7 +30699,7 @@ client.risk_assessments.settings.new_device.update(
## Roles Permissions -
client.roles.permissions.list(...) -> AsyncPager[ +
client.roles.permissions.list(...) -> AsyncPager[ PermissionsResponsePayload, ListRolePermissionsOffsetPaginatedResponseContent, ] @@ -29050,7 +30804,7 @@ for page in response.iter_pages():
-
client.roles.permissions.add(...) -> AsyncHttpResponse[None] +
client.roles.permissions.add(...) -> AsyncHttpResponse[None]
@@ -29134,7 +30888,7 @@ client.roles.permissions.add(
-
client.roles.permissions.delete(...) -> AsyncHttpResponse[None] +
client.roles.permissions.delete(...) -> AsyncHttpResponse[None]
@@ -29219,7 +30973,7 @@ client.roles.permissions.delete(
## Roles Users -
client.roles.users.list(...) -> AsyncPager[RoleUser, ListRoleUsersPaginatedResponseContent] +
client.roles.users.list(...) -> AsyncPager[RoleUser, ListRoleUsersPaginatedResponseContent]
@@ -29330,7 +31084,7 @@ for page in response.iter_pages():
-
client.roles.users.assign(...) -> AsyncHttpResponse[None] +
client.roles.users.assign(...) -> AsyncHttpResponse[None]
@@ -29412,7 +31166,7 @@ client.roles.users.assign(
## SelfServiceProfiles CustomText -
client.self_service_profiles.custom_text.list(...) -> AsyncHttpResponse[ListSelfServiceProfileCustomTextResponseContent] +
client.self_service_profiles.custom_text.list(...) -> AsyncHttpResponse[ListSelfServiceProfileCustomTextResponseContent]
@@ -29446,6 +31200,8 @@ client = Auth0( ) client.self_service_profiles.custom_text.list( id="id", + language="en", + page="get-started", ) ``` @@ -29470,6 +31226,22 @@ client.self_service_profiles.custom_text.list(
+**language:** `SelfServiceProfileCustomTextLanguageEnum` — The language of the custom text. + +
+
+ +
+
+ +**page:** `SelfServiceProfileCustomTextPageEnum` — The page where the custom text is shown. + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -29482,7 +31254,7 @@ client.self_service_profiles.custom_text.list(
-
client.self_service_profiles.custom_text.set(...) -> AsyncHttpResponse[SetSelfServiceProfileCustomTextResponseContent] +
client.self_service_profiles.custom_text.set(...) -> AsyncHttpResponse[SetSelfServiceProfileCustomTextResponseContent]
@@ -29516,6 +31288,8 @@ client = Auth0( ) client.self_service_profiles.custom_text.set( id="id", + language="en", + page="get-started", request={"key": "value"}, ) @@ -29541,6 +31315,22 @@ client.self_service_profiles.custom_text.set(
+**language:** `SelfServiceProfileCustomTextLanguageEnum` — The language of the custom text. + +
+
+ +
+
+ +**page:** `SelfServiceProfileCustomTextPageEnum` — The page where the custom text is shown. + +
+
+ +
+
+ **request:** `SetSelfServiceProfileCustomTextRequestContent`
@@ -29562,7 +31352,7 @@ client.self_service_profiles.custom_text.set(
## SelfServiceProfiles SsoTicket -
client.self_service_profiles.sso_ticket.create(...) -> AsyncHttpResponse[CreateSelfServiceProfileSsoTicketResponseContent] +
client.self_service_profiles.sso_ticket.create(...) -> AsyncHttpResponse[CreateSelfServiceProfileSsoTicketResponseContent]
@@ -29676,6 +31466,14 @@ client.self_service_profiles.sso_ticket.create(
+**use_for_organization_discovery:** `typing.Optional[bool]` — Indicates whether a verified domain should be used for organization discovery during authentication. + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -29688,7 +31486,7 @@ client.self_service_profiles.sso_ticket.create(
-
client.self_service_profiles.sso_ticket.revoke(...) -> AsyncHttpResponse[None] +
client.self_service_profiles.sso_ticket.revoke(...) -> AsyncHttpResponse[None]
@@ -29769,7 +31567,7 @@ client.self_service_profiles.sso_ticket.revoke(
## Tenants Settings -
client.tenants.settings.get(...) -> AsyncHttpResponse[GetTenantSettingsResponseContent] +
client.tenants.settings.get(...) -> AsyncHttpResponse[GetTenantSettingsResponseContent]
@@ -29848,7 +31646,7 @@ client.tenants.settings.get(
-
client.tenants.settings.update(...) -> AsyncHttpResponse[UpdateTenantSettingsResponseContent] +
client.tenants.settings.update(...) -> AsyncHttpResponse[UpdateTenantSettingsResponseContent]
@@ -30158,6 +31956,22 @@ See https://auth0.com/docs/secure/security-guidance/measures-against-app-imperso
+**enable_ai_guide:** `typing.Optional[bool]` — Whether Auth0 Guide (AI-powered assistance) is enabled for this tenant. + +
+
+ +
+
+ +**phone_consolidated_experience:** `typing.Optional[bool]` — Whether Phone Consolidated Experience is enabled for this tenant. + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -30171,7 +31985,7 @@ See https://auth0.com/docs/secure/security-guidance/measures-against-app-imperso
## Users AuthenticationMethods -
client.users.authentication_methods.list(...) -> AsyncPager[ +
client.users.authentication_methods.list(...) -> AsyncPager[ UserAuthenticationMethod, ListUserAuthenticationMethodsOffsetPaginatedResponseContent, ] @@ -30276,7 +32090,7 @@ for page in response.iter_pages():
-
client.users.authentication_methods.create(...) -> AsyncHttpResponse[CreateUserAuthenticationMethodResponseContent] +
client.users.authentication_methods.create(...) -> AsyncHttpResponse[CreateUserAuthenticationMethodResponseContent]
@@ -30419,7 +32233,7 @@ client.users.authentication_methods.create(
-
client.users.authentication_methods.set(...) -> AsyncHttpResponse[typing.List[SetUserAuthenticationMethodResponseContent]] +
client.users.authentication_methods.set(...) -> AsyncHttpResponse[typing.List[SetUserAuthenticationMethodResponseContent]]
@@ -30504,7 +32318,7 @@ client.users.authentication_methods.set(
-
client.users.authentication_methods.delete_all(...) -> AsyncHttpResponse[None] +
client.users.authentication_methods.delete_all(...) -> AsyncHttpResponse[None]
@@ -30574,7 +32388,7 @@ client.users.authentication_methods.delete_all(
-
client.users.authentication_methods.get(...) -> AsyncHttpResponse[GetUserAuthenticationMethodResponseContent] +
client.users.authentication_methods.get(...) -> AsyncHttpResponse[GetUserAuthenticationMethodResponseContent]
@@ -30639,7 +32453,7 @@ client.users.authentication_methods.get(
-
client.users.authentication_methods.delete(...) -> AsyncHttpResponse[None] +
client.users.authentication_methods.delete(...) -> AsyncHttpResponse[None]
@@ -30718,7 +32532,7 @@ client.users.authentication_methods.delete(
-
client.users.authentication_methods.update(...) -> AsyncHttpResponse[UpdateUserAuthenticationMethodResponseContent] +
client.users.authentication_methods.update(...) -> AsyncHttpResponse[UpdateUserAuthenticationMethodResponseContent]
@@ -30814,7 +32628,7 @@ client.users.authentication_methods.update(
## Users Authenticators -
client.users.authenticators.delete_all(...) -> AsyncHttpResponse[None] +
client.users.authenticators.delete_all(...) -> AsyncHttpResponse[None]
@@ -30885,7 +32699,7 @@ client.users.authenticators.delete_all(
## Users ConnectedAccounts -
client.users.connected_accounts.list(...) -> AsyncPager[ConnectedAccount, ListUserConnectedAccountsResponseContent] +
client.users.connected_accounts.list(...) -> AsyncPager[ConnectedAccount, ListUserConnectedAccountsResponseContent]
@@ -30979,7 +32793,7 @@ for page in response.iter_pages():
## Users Enrollments -
client.users.enrollments.get(...) -> AsyncHttpResponse[typing.List[UsersEnrollment]] +
client.users.enrollments.get(...) -> AsyncHttpResponse[typing.List[UsersEnrollment]]
@@ -31050,7 +32864,7 @@ client.users.enrollments.get(
## Users FederatedConnectionsTokensets -
client.users.federated_connections_tokensets.list(...) -> AsyncHttpResponse[typing.List[FederatedConnectionTokenSet]] +
client.users.federated_connections_tokensets.list(...) -> AsyncHttpResponse[typing.List[FederatedConnectionTokenSet]]
@@ -31120,7 +32934,7 @@ client.users.federated_connections_tokensets.list(
-
client.users.federated_connections_tokensets.delete(...) -> AsyncHttpResponse[None] +
client.users.federated_connections_tokensets.delete(...) -> AsyncHttpResponse[None]
@@ -31181,12 +32995,124 @@ client.users.federated_connections_tokensets.delete(
+ + +
+ +## Users Groups +
client.users.groups.get(...) -> AsyncPager[UserGroupsResponseSchema, GetUserGroupsPaginatedResponseContent] +
+
+ +#### 📝 Description + +
+
+ +
+
+ +List all groups to which this user belongs. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from auth0 import Auth0 + +client = Auth0( + token="YOUR_TOKEN", +) +response = client.users.groups.get( + id="id", + fields="fields", + include_fields=True, + from_="from", + take=1, +) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**id:** `str` — ID of the user to list groups for. + +
+
+ +
+
+ +**fields:** `typing.Optional[str]` — A comma separated list of fields to include or exclude (depending on include_fields) from the result, empty to retrieve all fields + +
+
+ +
+
+ +**include_fields:** `typing.Optional[bool]` — Whether specified fields are to be included (true) or excluded (false). + +
+
+ +
+
+ +**from_:** `typing.Optional[str]` — Optional Id from which to start selection. + +
+
+ +
+
+ +**take:** `typing.Optional[int]` — Number of results per page. Defaults to 50. + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ +
## Users Identities -
client.users.identities.link(...) -> AsyncHttpResponse[typing.List[UserIdentity]] +
client.users.identities.link(...) -> AsyncHttpResponse[typing.List[UserIdentity]]
@@ -31315,7 +33241,7 @@ client.users.identities.link(
-
client.users.identities.delete(...) -> AsyncHttpResponse[DeleteUserIdentityResponseContent] +
client.users.identities.delete(...) -> AsyncHttpResponse[DeleteUserIdentityResponseContent]
@@ -31406,7 +33332,7 @@ client.users.identities.delete(
## Users Logs -
client.users.logs.list(...) -> AsyncPager[Log, UserListLogOffsetPaginatedResponseContent] +
client.users.logs.list(...) -> AsyncPager[Log, UserListLogOffsetPaginatedResponseContent]
@@ -31524,7 +33450,7 @@ for page in response.iter_pages():
## Users Multifactor -
client.users.multifactor.invalidate_remember_browser(...) -> AsyncHttpResponse[None] +
client.users.multifactor.invalidate_remember_browser(...) -> AsyncHttpResponse[None]
@@ -31594,7 +33520,7 @@ client.users.multifactor.invalidate_remember_browser(
-
client.users.multifactor.delete_provider(...) -> AsyncHttpResponse[None] +
client.users.multifactor.delete_provider(...) -> AsyncHttpResponse[None]
@@ -31674,7 +33600,7 @@ client.users.multifactor.delete_provider(
## Users Organizations -
client.users.organizations.list(...) -> AsyncPager[Organization, ListUserOrganizationsOffsetPaginatedResponseContent] +
client.users.organizations.list(...) -> AsyncPager[Organization, ListUserOrganizationsOffsetPaginatedResponseContent]
@@ -31777,7 +33703,7 @@ for page in response.iter_pages():
## Users Permissions -
client.users.permissions.list(...) -> AsyncPager[ +
client.users.permissions.list(...) -> AsyncPager[ UserPermissionSchema, ListUserPermissionsOffsetPaginatedResponseContent ]
@@ -31881,7 +33807,7 @@ for page in response.iter_pages():
-
client.users.permissions.create(...) -> AsyncHttpResponse[None] +
client.users.permissions.create(...) -> AsyncHttpResponse[None]
@@ -31965,7 +33891,7 @@ client.users.permissions.create(
-
client.users.permissions.delete(...) -> AsyncHttpResponse[None] +
client.users.permissions.delete(...) -> AsyncHttpResponse[None]
@@ -32050,7 +33976,7 @@ client.users.permissions.delete(
## Users RiskAssessments -
client.users.risk_assessments.clear(...) -> AsyncHttpResponse[None] +
client.users.risk_assessments.clear(...) -> AsyncHttpResponse[None]
@@ -32085,7 +34011,7 @@ client = Auth0( client.users.risk_assessments.clear( id="id", connection="connection", - assessors=[], + assessors=["new-device"], ) ``` @@ -32139,7 +34065,7 @@ client.users.risk_assessments.clear(
## Users Roles -
client.users.roles.list(...) -> AsyncPager[Role, ListUserRolesOffsetPaginatedResponseContent] +
client.users.roles.list(...) -> AsyncPager[Role, ListUserRolesOffsetPaginatedResponseContent]
@@ -32243,7 +34169,7 @@ for page in response.iter_pages():
-
client.users.roles.assign(...) -> AsyncHttpResponse[None] +
client.users.roles.assign(...) -> AsyncHttpResponse[None]
@@ -32324,7 +34250,7 @@ client.users.roles.assign(
-
client.users.roles.delete(...) -> AsyncHttpResponse[None] +
client.users.roles.delete(...) -> AsyncHttpResponse[None]
@@ -32406,7 +34332,7 @@ client.users.roles.delete(
## Users RefreshToken -
client.users.refresh_token.list(...) -> AsyncPager[ +
client.users.refresh_token.list(...) -> AsyncPager[ RefreshTokenResponseContent, ListRefreshTokensPaginatedResponseContent ]
@@ -32501,7 +34427,7 @@ for page in response.iter_pages():
-
client.users.refresh_token.delete(...) -> AsyncHttpResponse[None] +
client.users.refresh_token.delete(...) -> AsyncHttpResponse[None]
@@ -32572,7 +34498,7 @@ client.users.refresh_token.delete(
## Users Sessions -
client.users.sessions.list(...) -> AsyncPager[SessionResponseContent, ListUserSessionsPaginatedResponseContent] +
client.users.sessions.list(...) -> AsyncPager[SessionResponseContent, ListUserSessionsPaginatedResponseContent]
@@ -32665,7 +34591,7 @@ for page in response.iter_pages():
-
client.users.sessions.delete(...) -> AsyncHttpResponse[None] +
client.users.sessions.delete(...) -> AsyncHttpResponse[None]
@@ -32736,7 +34662,7 @@ client.users.sessions.delete(
## VerifiableCredentials Verification Templates -
client.verifiable_credentials.verification.templates.list(...) -> AsyncPager[ +
client.verifiable_credentials.verification.templates.list(...) -> AsyncPager[ VerifiableCredentialTemplateResponse, ListVerifiableCredentialTemplatesPaginatedResponseContent, ] @@ -32823,7 +34749,7 @@ for page in response.iter_pages():
-
client.verifiable_credentials.verification.templates.create(...) -> AsyncHttpResponse[CreateVerifiableCredentialTemplateResponseContent] +
client.verifiable_credentials.verification.templates.create(...) -> AsyncHttpResponse[CreateVerifiableCredentialTemplateResponseContent]
@@ -32946,7 +34872,7 @@ client.verifiable_credentials.verification.templates.create(
-
client.verifiable_credentials.verification.templates.get(...) -> AsyncHttpResponse[GetVerifiableCredentialTemplateResponseContent] +
client.verifiable_credentials.verification.templates.get(...) -> AsyncHttpResponse[GetVerifiableCredentialTemplateResponseContent]
@@ -33016,7 +34942,7 @@ client.verifiable_credentials.verification.templates.get(
-
client.verifiable_credentials.verification.templates.delete(...) -> AsyncHttpResponse[None] +
client.verifiable_credentials.verification.templates.delete(...) -> AsyncHttpResponse[None]
@@ -33086,7 +35012,7 @@ client.verifiable_credentials.verification.templates.delete(
-
client.verifiable_credentials.verification.templates.update(...) -> AsyncHttpResponse[UpdateVerifiableCredentialTemplateResponseContent] +
client.verifiable_credentials.verification.templates.update(...) -> AsyncHttpResponse[UpdateVerifiableCredentialTemplateResponseContent]
diff --git a/src/auth0/management/actions/__init__.py b/src/auth0/management/actions/__init__.py index 8d650195..c35f6171 100644 --- a/src/auth0/management/actions/__init__.py +++ b/src/auth0/management/actions/__init__.py @@ -6,9 +6,10 @@ from importlib import import_module if typing.TYPE_CHECKING: - from . import executions, triggers, versions + from . import executions, modules, triggers, versions _dynamic_imports: typing.Dict[str, str] = { "executions": ".executions", + "modules": ".modules", "triggers": ".triggers", "versions": ".versions", } @@ -35,4 +36,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["executions", "triggers", "versions"] +__all__ = ["executions", "modules", "triggers", "versions"] diff --git a/src/auth0/management/actions/client.py b/src/auth0/management/actions/client.py index f6fe5c54..1918d1d7 100644 --- a/src/auth0/management/actions/client.py +++ b/src/auth0/management/actions/client.py @@ -8,6 +8,7 @@ from ..core.pagination import AsyncPager, SyncPager from ..core.request_options import RequestOptions from ..types.action import Action +from ..types.action_module_reference import ActionModuleReference from ..types.action_secret_request import ActionSecretRequest from ..types.action_trigger import ActionTrigger from ..types.action_trigger_type_enum import ActionTriggerTypeEnum @@ -23,6 +24,7 @@ if typing.TYPE_CHECKING: from .executions.client import AsyncExecutionsClient, ExecutionsClient + from .modules.client import AsyncModulesClient, ModulesClient from .triggers.client import AsyncTriggersClient, TriggersClient from .versions.client import AsyncVersionsClient, VersionsClient # this is used as the default value for optional parameters @@ -35,6 +37,7 @@ def __init__(self, *, client_wrapper: SyncClientWrapper): self._client_wrapper = client_wrapper self._versions: typing.Optional[VersionsClient] = None self._executions: typing.Optional[ExecutionsClient] = None + self._modules: typing.Optional[ModulesClient] = None self._triggers: typing.Optional[TriggersClient] = None @property @@ -130,6 +133,7 @@ def create( dependencies: typing.Optional[typing.Sequence[ActionVersionDependency]] = OMIT, runtime: typing.Optional[str] = "node22", secrets: typing.Optional[typing.Sequence[ActionSecretRequest]] = OMIT, + modules: typing.Optional[typing.Sequence[ActionModuleReference]] = OMIT, deploy: typing.Optional[bool] = False, request_options: typing.Optional[RequestOptions] = None, ) -> CreateActionResponseContent: @@ -156,6 +160,9 @@ def create( secrets : typing.Optional[typing.Sequence[ActionSecretRequest]] The list of secrets that are included in an action or a version of an action. + modules : typing.Optional[typing.Sequence[ActionModuleReference]] + The list of action modules and their versions used by this action. + deploy : typing.Optional[bool] True if the action should be deployed after creation. @@ -190,6 +197,7 @@ def create( dependencies=dependencies, runtime=runtime, secrets=secrets, + modules=modules, deploy=deploy, request_options=request_options, ) @@ -272,6 +280,7 @@ def update( dependencies: typing.Optional[typing.Sequence[ActionVersionDependency]] = OMIT, runtime: typing.Optional[str] = "node22", secrets: typing.Optional[typing.Sequence[ActionSecretRequest]] = OMIT, + modules: typing.Optional[typing.Sequence[ActionModuleReference]] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> UpdateActionResponseContent: """ @@ -300,6 +309,9 @@ def update( secrets : typing.Optional[typing.Sequence[ActionSecretRequest]] The list of secrets that are included in an action or a version of an action. + modules : typing.Optional[typing.Sequence[ActionModuleReference]] + The list of action modules and their versions used by this action. + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -327,6 +339,7 @@ def update( dependencies=dependencies, runtime=runtime, secrets=secrets, + modules=modules, request_options=request_options, ) return _response.data @@ -416,6 +429,14 @@ def executions(self): self._executions = ExecutionsClient(client_wrapper=self._client_wrapper) return self._executions + @property + def modules(self): + if self._modules is None: + from .modules.client import ModulesClient # noqa: E402 + + self._modules = ModulesClient(client_wrapper=self._client_wrapper) + return self._modules + @property def triggers(self): if self._triggers is None: @@ -431,6 +452,7 @@ def __init__(self, *, client_wrapper: AsyncClientWrapper): self._client_wrapper = client_wrapper self._versions: typing.Optional[AsyncVersionsClient] = None self._executions: typing.Optional[AsyncExecutionsClient] = None + self._modules: typing.Optional[AsyncModulesClient] = None self._triggers: typing.Optional[AsyncTriggersClient] = None @property @@ -535,6 +557,7 @@ async def create( dependencies: typing.Optional[typing.Sequence[ActionVersionDependency]] = OMIT, runtime: typing.Optional[str] = "node22", secrets: typing.Optional[typing.Sequence[ActionSecretRequest]] = OMIT, + modules: typing.Optional[typing.Sequence[ActionModuleReference]] = OMIT, deploy: typing.Optional[bool] = False, request_options: typing.Optional[RequestOptions] = None, ) -> CreateActionResponseContent: @@ -561,6 +584,9 @@ async def create( secrets : typing.Optional[typing.Sequence[ActionSecretRequest]] The list of secrets that are included in an action or a version of an action. + modules : typing.Optional[typing.Sequence[ActionModuleReference]] + The list of action modules and their versions used by this action. + deploy : typing.Optional[bool] True if the action should be deployed after creation. @@ -603,6 +629,7 @@ async def main() -> None: dependencies=dependencies, runtime=runtime, secrets=secrets, + modules=modules, deploy=deploy, request_options=request_options, ) @@ -703,6 +730,7 @@ async def update( dependencies: typing.Optional[typing.Sequence[ActionVersionDependency]] = OMIT, runtime: typing.Optional[str] = "node22", secrets: typing.Optional[typing.Sequence[ActionSecretRequest]] = OMIT, + modules: typing.Optional[typing.Sequence[ActionModuleReference]] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> UpdateActionResponseContent: """ @@ -731,6 +759,9 @@ async def update( secrets : typing.Optional[typing.Sequence[ActionSecretRequest]] The list of secrets that are included in an action or a version of an action. + modules : typing.Optional[typing.Sequence[ActionModuleReference]] + The list of action modules and their versions used by this action. + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -766,6 +797,7 @@ async def main() -> None: dependencies=dependencies, runtime=runtime, secrets=secrets, + modules=modules, request_options=request_options, ) return _response.data @@ -871,6 +903,14 @@ def executions(self): self._executions = AsyncExecutionsClient(client_wrapper=self._client_wrapper) return self._executions + @property + def modules(self): + if self._modules is None: + from .modules.client import AsyncModulesClient # noqa: E402 + + self._modules = AsyncModulesClient(client_wrapper=self._client_wrapper) + return self._modules + @property def triggers(self): if self._triggers is None: diff --git a/src/auth0/management/actions/modules/__init__.py b/src/auth0/management/actions/modules/__init__.py new file mode 100644 index 00000000..781d00f0 --- /dev/null +++ b/src/auth0/management/actions/modules/__init__.py @@ -0,0 +1,34 @@ +# This file was auto-generated by Fern from our API Definition. + +# isort: skip_file + +import typing +from importlib import import_module + +if typing.TYPE_CHECKING: + from . import versions +_dynamic_imports: typing.Dict[str, str] = {"versions": ".versions"} + + +def __getattr__(attr_name: str) -> typing.Any: + module_name = _dynamic_imports.get(attr_name) + if module_name is None: + raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") + try: + module = import_module(module_name, __package__) + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) + except ImportError as e: + raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e + except AttributeError as e: + raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e + + +def __dir__(): + lazy_attrs = list(_dynamic_imports.keys()) + return sorted(lazy_attrs) + + +__all__ = ["versions"] diff --git a/src/auth0/management/actions/modules/client.py b/src/auth0/management/actions/modules/client.py new file mode 100644 index 00000000..8b2dcc41 --- /dev/null +++ b/src/auth0/management/actions/modules/client.py @@ -0,0 +1,757 @@ +# This file was auto-generated by Fern from our API Definition. + +from __future__ import annotations + +import typing + +from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from ...core.pagination import AsyncPager, SyncPager +from ...core.request_options import RequestOptions +from ...types.action_module_action import ActionModuleAction +from ...types.action_module_dependency_request import ActionModuleDependencyRequest +from ...types.action_module_list_item import ActionModuleListItem +from ...types.action_module_secret_request import ActionModuleSecretRequest +from ...types.create_action_module_response_content import CreateActionModuleResponseContent +from ...types.get_action_module_actions_response_content import GetActionModuleActionsResponseContent +from ...types.get_action_module_response_content import GetActionModuleResponseContent +from ...types.get_action_modules_response_content import GetActionModulesResponseContent +from ...types.rollback_action_module_response_content import RollbackActionModuleResponseContent +from ...types.update_action_module_response_content import UpdateActionModuleResponseContent +from .raw_client import AsyncRawModulesClient, RawModulesClient + +if typing.TYPE_CHECKING: + from .versions.client import AsyncVersionsClient, VersionsClient +# this is used as the default value for optional parameters +OMIT = typing.cast(typing.Any, ...) + + +class ModulesClient: + def __init__(self, *, client_wrapper: SyncClientWrapper): + self._raw_client = RawModulesClient(client_wrapper=client_wrapper) + self._client_wrapper = client_wrapper + self._versions: typing.Optional[VersionsClient] = None + + @property + def with_raw_response(self) -> RawModulesClient: + """ + Retrieves a raw implementation of this client that returns raw responses. + + Returns + ------- + RawModulesClient + """ + return self._raw_client + + def list( + self, + *, + page: typing.Optional[int] = 0, + per_page: typing.Optional[int] = 50, + request_options: typing.Optional[RequestOptions] = None, + ) -> SyncPager[ActionModuleListItem, GetActionModulesResponseContent]: + """ + Retrieve a paginated list of all Actions Modules with optional filtering and totals. + + Parameters + ---------- + page : typing.Optional[int] + Page index of the results to return. First page is 0. + + per_page : typing.Optional[int] + Number of results per page. Paging is disabled if parameter not sent. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + SyncPager[ActionModuleListItem, GetActionModulesResponseContent] + The action modules were retrieved. + + Examples + -------- + from auth0 import Auth0 + + client = Auth0( + token="YOUR_TOKEN", + ) + response = client.actions.modules.list( + page=1, + per_page=1, + ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page + """ + return self._raw_client.list(page=page, per_page=per_page, request_options=request_options) + + def create( + self, + *, + name: str, + code: str, + secrets: typing.Optional[typing.Sequence[ActionModuleSecretRequest]] = OMIT, + dependencies: typing.Optional[typing.Sequence[ActionModuleDependencyRequest]] = OMIT, + api_version: typing.Optional[str] = OMIT, + publish: typing.Optional[bool] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> CreateActionModuleResponseContent: + """ + Create a new Actions Module for reusable code across actions. + + Parameters + ---------- + name : str + The name of the action module. + + code : str + The source code of the action module. + + secrets : typing.Optional[typing.Sequence[ActionModuleSecretRequest]] + The secrets to associate with the action module. + + dependencies : typing.Optional[typing.Sequence[ActionModuleDependencyRequest]] + The npm dependencies of the action module. + + api_version : typing.Optional[str] + The API version of the module. + + publish : typing.Optional[bool] + Whether to publish the module immediately after creation. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + CreateActionModuleResponseContent + The action module was created. + + Examples + -------- + from auth0 import Auth0 + + client = Auth0( + token="YOUR_TOKEN", + ) + client.actions.modules.create( + name="name", + code="code", + ) + """ + _response = self._raw_client.create( + name=name, + code=code, + secrets=secrets, + dependencies=dependencies, + api_version=api_version, + publish=publish, + request_options=request_options, + ) + return _response.data + + def get( + self, id: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> GetActionModuleResponseContent: + """ + Retrieve details of a specific Actions Module by its unique identifier. + + Parameters + ---------- + id : str + The ID of the action module to retrieve. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + GetActionModuleResponseContent + The action module was retrieved. + + Examples + -------- + from auth0 import Auth0 + + client = Auth0( + token="YOUR_TOKEN", + ) + client.actions.modules.get( + id="id", + ) + """ + _response = self._raw_client.get(id, request_options=request_options) + return _response.data + + def delete(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> None: + """ + Permanently delete an Actions Module. This will fail if the module is still in use by any actions. + + Parameters + ---------- + id : str + The ID of the Actions Module to delete. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + None + + Examples + -------- + from auth0 import Auth0 + + client = Auth0( + token="YOUR_TOKEN", + ) + client.actions.modules.delete( + id="id", + ) + """ + _response = self._raw_client.delete(id, request_options=request_options) + return _response.data + + def update( + self, + id: str, + *, + code: typing.Optional[str] = OMIT, + secrets: typing.Optional[typing.Sequence[ActionModuleSecretRequest]] = OMIT, + dependencies: typing.Optional[typing.Sequence[ActionModuleDependencyRequest]] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> UpdateActionModuleResponseContent: + """ + Update properties of an existing Actions Module, such as code, dependencies, or secrets. + + Parameters + ---------- + id : str + The ID of the action module to update. + + code : typing.Optional[str] + The source code of the action module. + + secrets : typing.Optional[typing.Sequence[ActionModuleSecretRequest]] + The secrets to associate with the action module. + + dependencies : typing.Optional[typing.Sequence[ActionModuleDependencyRequest]] + The npm dependencies of the action module. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + UpdateActionModuleResponseContent + The action module was updated. + + Examples + -------- + from auth0 import Auth0 + + client = Auth0( + token="YOUR_TOKEN", + ) + client.actions.modules.update( + id="id", + ) + """ + _response = self._raw_client.update( + id, code=code, secrets=secrets, dependencies=dependencies, request_options=request_options + ) + return _response.data + + def list_actions( + self, + id: str, + *, + page: typing.Optional[int] = 0, + per_page: typing.Optional[int] = 50, + request_options: typing.Optional[RequestOptions] = None, + ) -> SyncPager[ActionModuleAction, GetActionModuleActionsResponseContent]: + """ + Lists all actions that are using a specific Actions Module, showing which deployed action versions reference this Actions Module. + + Parameters + ---------- + id : str + The unique ID of the module. + + page : typing.Optional[int] + Page index of the results to return. First page is 0. + + per_page : typing.Optional[int] + Number of results per page. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + SyncPager[ActionModuleAction, GetActionModuleActionsResponseContent] + The actions were retrieved. + + Examples + -------- + from auth0 import Auth0 + + client = Auth0( + token="YOUR_TOKEN", + ) + response = client.actions.modules.list_actions( + id="id", + page=1, + per_page=1, + ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page + """ + return self._raw_client.list_actions(id, page=page, per_page=per_page, request_options=request_options) + + def rollback( + self, id: str, *, module_version_id: str, request_options: typing.Optional[RequestOptions] = None + ) -> RollbackActionModuleResponseContent: + """ + Rolls back an Actions Module's draft to a previously created version. This action copies the code, dependencies, and secrets from the specified version into the current draft. + + Parameters + ---------- + id : str + The unique ID of the module to roll back. + + module_version_id : str + The unique ID of the module version to roll back to. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + RollbackActionModuleResponseContent + The rollback was successful. + + Examples + -------- + from auth0 import Auth0 + + client = Auth0( + token="YOUR_TOKEN", + ) + client.actions.modules.rollback( + id="id", + module_version_id="module_version_id", + ) + """ + _response = self._raw_client.rollback(id, module_version_id=module_version_id, request_options=request_options) + return _response.data + + @property + def versions(self): + if self._versions is None: + from .versions.client import VersionsClient # noqa: E402 + + self._versions = VersionsClient(client_wrapper=self._client_wrapper) + return self._versions + + +class AsyncModulesClient: + def __init__(self, *, client_wrapper: AsyncClientWrapper): + self._raw_client = AsyncRawModulesClient(client_wrapper=client_wrapper) + self._client_wrapper = client_wrapper + self._versions: typing.Optional[AsyncVersionsClient] = None + + @property + def with_raw_response(self) -> AsyncRawModulesClient: + """ + Retrieves a raw implementation of this client that returns raw responses. + + Returns + ------- + AsyncRawModulesClient + """ + return self._raw_client + + async def list( + self, + *, + page: typing.Optional[int] = 0, + per_page: typing.Optional[int] = 50, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncPager[ActionModuleListItem, GetActionModulesResponseContent]: + """ + Retrieve a paginated list of all Actions Modules with optional filtering and totals. + + Parameters + ---------- + page : typing.Optional[int] + Page index of the results to return. First page is 0. + + per_page : typing.Optional[int] + Number of results per page. Paging is disabled if parameter not sent. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncPager[ActionModuleListItem, GetActionModulesResponseContent] + The action modules were retrieved. + + Examples + -------- + import asyncio + + from auth0 import AsyncAuth0 + + client = AsyncAuth0( + token="YOUR_TOKEN", + ) + + + async def main() -> None: + response = await client.actions.modules.list( + page=1, + per_page=1, + ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page + + + asyncio.run(main()) + """ + return await self._raw_client.list(page=page, per_page=per_page, request_options=request_options) + + async def create( + self, + *, + name: str, + code: str, + secrets: typing.Optional[typing.Sequence[ActionModuleSecretRequest]] = OMIT, + dependencies: typing.Optional[typing.Sequence[ActionModuleDependencyRequest]] = OMIT, + api_version: typing.Optional[str] = OMIT, + publish: typing.Optional[bool] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> CreateActionModuleResponseContent: + """ + Create a new Actions Module for reusable code across actions. + + Parameters + ---------- + name : str + The name of the action module. + + code : str + The source code of the action module. + + secrets : typing.Optional[typing.Sequence[ActionModuleSecretRequest]] + The secrets to associate with the action module. + + dependencies : typing.Optional[typing.Sequence[ActionModuleDependencyRequest]] + The npm dependencies of the action module. + + api_version : typing.Optional[str] + The API version of the module. + + publish : typing.Optional[bool] + Whether to publish the module immediately after creation. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + CreateActionModuleResponseContent + The action module was created. + + Examples + -------- + import asyncio + + from auth0 import AsyncAuth0 + + client = AsyncAuth0( + token="YOUR_TOKEN", + ) + + + async def main() -> None: + await client.actions.modules.create( + name="name", + code="code", + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.create( + name=name, + code=code, + secrets=secrets, + dependencies=dependencies, + api_version=api_version, + publish=publish, + request_options=request_options, + ) + return _response.data + + async def get( + self, id: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> GetActionModuleResponseContent: + """ + Retrieve details of a specific Actions Module by its unique identifier. + + Parameters + ---------- + id : str + The ID of the action module to retrieve. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + GetActionModuleResponseContent + The action module was retrieved. + + Examples + -------- + import asyncio + + from auth0 import AsyncAuth0 + + client = AsyncAuth0( + token="YOUR_TOKEN", + ) + + + async def main() -> None: + await client.actions.modules.get( + id="id", + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.get(id, request_options=request_options) + return _response.data + + async def delete(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> None: + """ + Permanently delete an Actions Module. This will fail if the module is still in use by any actions. + + Parameters + ---------- + id : str + The ID of the Actions Module to delete. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + None + + Examples + -------- + import asyncio + + from auth0 import AsyncAuth0 + + client = AsyncAuth0( + token="YOUR_TOKEN", + ) + + + async def main() -> None: + await client.actions.modules.delete( + id="id", + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.delete(id, request_options=request_options) + return _response.data + + async def update( + self, + id: str, + *, + code: typing.Optional[str] = OMIT, + secrets: typing.Optional[typing.Sequence[ActionModuleSecretRequest]] = OMIT, + dependencies: typing.Optional[typing.Sequence[ActionModuleDependencyRequest]] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> UpdateActionModuleResponseContent: + """ + Update properties of an existing Actions Module, such as code, dependencies, or secrets. + + Parameters + ---------- + id : str + The ID of the action module to update. + + code : typing.Optional[str] + The source code of the action module. + + secrets : typing.Optional[typing.Sequence[ActionModuleSecretRequest]] + The secrets to associate with the action module. + + dependencies : typing.Optional[typing.Sequence[ActionModuleDependencyRequest]] + The npm dependencies of the action module. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + UpdateActionModuleResponseContent + The action module was updated. + + Examples + -------- + import asyncio + + from auth0 import AsyncAuth0 + + client = AsyncAuth0( + token="YOUR_TOKEN", + ) + + + async def main() -> None: + await client.actions.modules.update( + id="id", + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.update( + id, code=code, secrets=secrets, dependencies=dependencies, request_options=request_options + ) + return _response.data + + async def list_actions( + self, + id: str, + *, + page: typing.Optional[int] = 0, + per_page: typing.Optional[int] = 50, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncPager[ActionModuleAction, GetActionModuleActionsResponseContent]: + """ + Lists all actions that are using a specific Actions Module, showing which deployed action versions reference this Actions Module. + + Parameters + ---------- + id : str + The unique ID of the module. + + page : typing.Optional[int] + Page index of the results to return. First page is 0. + + per_page : typing.Optional[int] + Number of results per page. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncPager[ActionModuleAction, GetActionModuleActionsResponseContent] + The actions were retrieved. + + Examples + -------- + import asyncio + + from auth0 import AsyncAuth0 + + client = AsyncAuth0( + token="YOUR_TOKEN", + ) + + + async def main() -> None: + response = await client.actions.modules.list_actions( + id="id", + page=1, + per_page=1, + ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page + + + asyncio.run(main()) + """ + return await self._raw_client.list_actions(id, page=page, per_page=per_page, request_options=request_options) + + async def rollback( + self, id: str, *, module_version_id: str, request_options: typing.Optional[RequestOptions] = None + ) -> RollbackActionModuleResponseContent: + """ + Rolls back an Actions Module's draft to a previously created version. This action copies the code, dependencies, and secrets from the specified version into the current draft. + + Parameters + ---------- + id : str + The unique ID of the module to roll back. + + module_version_id : str + The unique ID of the module version to roll back to. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + RollbackActionModuleResponseContent + The rollback was successful. + + Examples + -------- + import asyncio + + from auth0 import AsyncAuth0 + + client = AsyncAuth0( + token="YOUR_TOKEN", + ) + + + async def main() -> None: + await client.actions.modules.rollback( + id="id", + module_version_id="module_version_id", + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.rollback( + id, module_version_id=module_version_id, request_options=request_options + ) + return _response.data + + @property + def versions(self): + if self._versions is None: + from .versions.client import AsyncVersionsClient # noqa: E402 + + self._versions = AsyncVersionsClient(client_wrapper=self._client_wrapper) + return self._versions diff --git a/src/auth0/management/actions/modules/raw_client.py b/src/auth0/management/actions/modules/raw_client.py new file mode 100644 index 00000000..e424f76a --- /dev/null +++ b/src/auth0/management/actions/modules/raw_client.py @@ -0,0 +1,1635 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing +from json.decoder import JSONDecodeError + +from ...core.api_error import ApiError +from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from ...core.http_response import AsyncHttpResponse, HttpResponse +from ...core.jsonable_encoder import jsonable_encoder +from ...core.pagination import AsyncPager, SyncPager +from ...core.pydantic_utilities import parse_obj_as +from ...core.request_options import RequestOptions +from ...core.serialization import convert_and_respect_annotation_metadata +from ...errors.bad_request_error import BadRequestError +from ...errors.conflict_error import ConflictError +from ...errors.forbidden_error import ForbiddenError +from ...errors.not_found_error import NotFoundError +from ...errors.precondition_failed_error import PreconditionFailedError +from ...errors.too_many_requests_error import TooManyRequestsError +from ...errors.unauthorized_error import UnauthorizedError +from ...types.action_module_action import ActionModuleAction +from ...types.action_module_dependency_request import ActionModuleDependencyRequest +from ...types.action_module_list_item import ActionModuleListItem +from ...types.action_module_secret_request import ActionModuleSecretRequest +from ...types.create_action_module_response_content import CreateActionModuleResponseContent +from ...types.get_action_module_actions_response_content import GetActionModuleActionsResponseContent +from ...types.get_action_module_response_content import GetActionModuleResponseContent +from ...types.get_action_modules_response_content import GetActionModulesResponseContent +from ...types.rollback_action_module_response_content import RollbackActionModuleResponseContent +from ...types.update_action_module_response_content import UpdateActionModuleResponseContent + +# this is used as the default value for optional parameters +OMIT = typing.cast(typing.Any, ...) + + +class RawModulesClient: + def __init__(self, *, client_wrapper: SyncClientWrapper): + self._client_wrapper = client_wrapper + + def list( + self, + *, + page: typing.Optional[int] = 0, + per_page: typing.Optional[int] = 50, + request_options: typing.Optional[RequestOptions] = None, + ) -> SyncPager[ActionModuleListItem, GetActionModulesResponseContent]: + """ + Retrieve a paginated list of all Actions Modules with optional filtering and totals. + + Parameters + ---------- + page : typing.Optional[int] + Page index of the results to return. First page is 0. + + per_page : typing.Optional[int] + Number of results per page. Paging is disabled if parameter not sent. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + SyncPager[ActionModuleListItem, GetActionModulesResponseContent] + The action modules were retrieved. + """ + page = page if page is not None else 0 + + _response = self._client_wrapper.httpx_client.request( + "actions/modules", + method="GET", + params={ + "page": page, + "per_page": per_page, + }, + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _parsed_response = typing.cast( + GetActionModulesResponseContent, + parse_obj_as( + type_=GetActionModulesResponseContent, # type: ignore + object_=_response.json(), + ), + ) + _items = _parsed_response.modules + _has_next = True + _get_next = lambda: self.list( + page=page + len(_items or []), + per_page=per_page, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + def create( + self, + *, + name: str, + code: str, + secrets: typing.Optional[typing.Sequence[ActionModuleSecretRequest]] = OMIT, + dependencies: typing.Optional[typing.Sequence[ActionModuleDependencyRequest]] = OMIT, + api_version: typing.Optional[str] = OMIT, + publish: typing.Optional[bool] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> HttpResponse[CreateActionModuleResponseContent]: + """ + Create a new Actions Module for reusable code across actions. + + Parameters + ---------- + name : str + The name of the action module. + + code : str + The source code of the action module. + + secrets : typing.Optional[typing.Sequence[ActionModuleSecretRequest]] + The secrets to associate with the action module. + + dependencies : typing.Optional[typing.Sequence[ActionModuleDependencyRequest]] + The npm dependencies of the action module. + + api_version : typing.Optional[str] + The API version of the module. + + publish : typing.Optional[bool] + Whether to publish the module immediately after creation. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[CreateActionModuleResponseContent] + The action module was created. + """ + _response = self._client_wrapper.httpx_client.request( + "actions/modules", + method="POST", + json={ + "name": name, + "code": code, + "secrets": convert_and_respect_annotation_metadata( + object_=secrets, annotation=typing.Sequence[ActionModuleSecretRequest], direction="write" + ), + "dependencies": convert_and_respect_annotation_metadata( + object_=dependencies, annotation=typing.Sequence[ActionModuleDependencyRequest], direction="write" + ), + "api_version": api_version, + "publish": publish, + }, + headers={ + "content-type": "application/json", + }, + request_options=request_options, + omit=OMIT, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + CreateActionModuleResponseContent, + parse_obj_as( + type_=CreateActionModuleResponseContent, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 409: + raise ConflictError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + def get( + self, id: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> HttpResponse[GetActionModuleResponseContent]: + """ + Retrieve details of a specific Actions Module by its unique identifier. + + Parameters + ---------- + id : str + The ID of the action module to retrieve. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[GetActionModuleResponseContent] + The action module was retrieved. + """ + _response = self._client_wrapper.httpx_client.request( + f"actions/modules/{jsonable_encoder(id)}", + method="GET", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + GetActionModuleResponseContent, + parse_obj_as( + type_=GetActionModuleResponseContent, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + def delete(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> HttpResponse[None]: + """ + Permanently delete an Actions Module. This will fail if the module is still in use by any actions. + + Parameters + ---------- + id : str + The ID of the Actions Module to delete. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[None] + """ + _response = self._client_wrapper.httpx_client.request( + f"actions/modules/{jsonable_encoder(id)}", + method="DELETE", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + return HttpResponse(response=_response, data=None) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 412: + raise PreconditionFailedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + def update( + self, + id: str, + *, + code: typing.Optional[str] = OMIT, + secrets: typing.Optional[typing.Sequence[ActionModuleSecretRequest]] = OMIT, + dependencies: typing.Optional[typing.Sequence[ActionModuleDependencyRequest]] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> HttpResponse[UpdateActionModuleResponseContent]: + """ + Update properties of an existing Actions Module, such as code, dependencies, or secrets. + + Parameters + ---------- + id : str + The ID of the action module to update. + + code : typing.Optional[str] + The source code of the action module. + + secrets : typing.Optional[typing.Sequence[ActionModuleSecretRequest]] + The secrets to associate with the action module. + + dependencies : typing.Optional[typing.Sequence[ActionModuleDependencyRequest]] + The npm dependencies of the action module. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[UpdateActionModuleResponseContent] + The action module was updated. + """ + _response = self._client_wrapper.httpx_client.request( + f"actions/modules/{jsonable_encoder(id)}", + method="PATCH", + json={ + "code": code, + "secrets": convert_and_respect_annotation_metadata( + object_=secrets, annotation=typing.Sequence[ActionModuleSecretRequest], direction="write" + ), + "dependencies": convert_and_respect_annotation_metadata( + object_=dependencies, annotation=typing.Sequence[ActionModuleDependencyRequest], direction="write" + ), + }, + headers={ + "content-type": "application/json", + }, + request_options=request_options, + omit=OMIT, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + UpdateActionModuleResponseContent, + parse_obj_as( + type_=UpdateActionModuleResponseContent, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 409: + raise ConflictError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + def list_actions( + self, + id: str, + *, + page: typing.Optional[int] = 0, + per_page: typing.Optional[int] = 50, + request_options: typing.Optional[RequestOptions] = None, + ) -> SyncPager[ActionModuleAction, GetActionModuleActionsResponseContent]: + """ + Lists all actions that are using a specific Actions Module, showing which deployed action versions reference this Actions Module. + + Parameters + ---------- + id : str + The unique ID of the module. + + page : typing.Optional[int] + Page index of the results to return. First page is 0. + + per_page : typing.Optional[int] + Number of results per page. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + SyncPager[ActionModuleAction, GetActionModuleActionsResponseContent] + The actions were retrieved. + """ + page = page if page is not None else 0 + + _response = self._client_wrapper.httpx_client.request( + f"actions/modules/{jsonable_encoder(id)}/actions", + method="GET", + params={ + "page": page, + "per_page": per_page, + }, + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _parsed_response = typing.cast( + GetActionModuleActionsResponseContent, + parse_obj_as( + type_=GetActionModuleActionsResponseContent, # type: ignore + object_=_response.json(), + ), + ) + _items = _parsed_response.actions + _has_next = True + _get_next = lambda: self.list_actions( + id, + page=page + len(_items or []), + per_page=per_page, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + def rollback( + self, id: str, *, module_version_id: str, request_options: typing.Optional[RequestOptions] = None + ) -> HttpResponse[RollbackActionModuleResponseContent]: + """ + Rolls back an Actions Module's draft to a previously created version. This action copies the code, dependencies, and secrets from the specified version into the current draft. + + Parameters + ---------- + id : str + The unique ID of the module to roll back. + + module_version_id : str + The unique ID of the module version to roll back to. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[RollbackActionModuleResponseContent] + The rollback was successful. + """ + _response = self._client_wrapper.httpx_client.request( + f"actions/modules/{jsonable_encoder(id)}/rollback", + method="POST", + json={ + "module_version_id": module_version_id, + }, + headers={ + "content-type": "application/json", + }, + request_options=request_options, + omit=OMIT, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + RollbackActionModuleResponseContent, + parse_obj_as( + type_=RollbackActionModuleResponseContent, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 409: + raise ConflictError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + +class AsyncRawModulesClient: + def __init__(self, *, client_wrapper: AsyncClientWrapper): + self._client_wrapper = client_wrapper + + async def list( + self, + *, + page: typing.Optional[int] = 0, + per_page: typing.Optional[int] = 50, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncPager[ActionModuleListItem, GetActionModulesResponseContent]: + """ + Retrieve a paginated list of all Actions Modules with optional filtering and totals. + + Parameters + ---------- + page : typing.Optional[int] + Page index of the results to return. First page is 0. + + per_page : typing.Optional[int] + Number of results per page. Paging is disabled if parameter not sent. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncPager[ActionModuleListItem, GetActionModulesResponseContent] + The action modules were retrieved. + """ + page = page if page is not None else 0 + + _response = await self._client_wrapper.httpx_client.request( + "actions/modules", + method="GET", + params={ + "page": page, + "per_page": per_page, + }, + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _parsed_response = typing.cast( + GetActionModulesResponseContent, + parse_obj_as( + type_=GetActionModulesResponseContent, # type: ignore + object_=_response.json(), + ), + ) + _items = _parsed_response.modules + _has_next = True + + async def _get_next(): + return await self.list( + page=page + len(_items or []), + per_page=per_page, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + async def create( + self, + *, + name: str, + code: str, + secrets: typing.Optional[typing.Sequence[ActionModuleSecretRequest]] = OMIT, + dependencies: typing.Optional[typing.Sequence[ActionModuleDependencyRequest]] = OMIT, + api_version: typing.Optional[str] = OMIT, + publish: typing.Optional[bool] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncHttpResponse[CreateActionModuleResponseContent]: + """ + Create a new Actions Module for reusable code across actions. + + Parameters + ---------- + name : str + The name of the action module. + + code : str + The source code of the action module. + + secrets : typing.Optional[typing.Sequence[ActionModuleSecretRequest]] + The secrets to associate with the action module. + + dependencies : typing.Optional[typing.Sequence[ActionModuleDependencyRequest]] + The npm dependencies of the action module. + + api_version : typing.Optional[str] + The API version of the module. + + publish : typing.Optional[bool] + Whether to publish the module immediately after creation. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[CreateActionModuleResponseContent] + The action module was created. + """ + _response = await self._client_wrapper.httpx_client.request( + "actions/modules", + method="POST", + json={ + "name": name, + "code": code, + "secrets": convert_and_respect_annotation_metadata( + object_=secrets, annotation=typing.Sequence[ActionModuleSecretRequest], direction="write" + ), + "dependencies": convert_and_respect_annotation_metadata( + object_=dependencies, annotation=typing.Sequence[ActionModuleDependencyRequest], direction="write" + ), + "api_version": api_version, + "publish": publish, + }, + headers={ + "content-type": "application/json", + }, + request_options=request_options, + omit=OMIT, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + CreateActionModuleResponseContent, + parse_obj_as( + type_=CreateActionModuleResponseContent, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 409: + raise ConflictError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + async def get( + self, id: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> AsyncHttpResponse[GetActionModuleResponseContent]: + """ + Retrieve details of a specific Actions Module by its unique identifier. + + Parameters + ---------- + id : str + The ID of the action module to retrieve. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[GetActionModuleResponseContent] + The action module was retrieved. + """ + _response = await self._client_wrapper.httpx_client.request( + f"actions/modules/{jsonable_encoder(id)}", + method="GET", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + GetActionModuleResponseContent, + parse_obj_as( + type_=GetActionModuleResponseContent, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + async def delete( + self, id: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> AsyncHttpResponse[None]: + """ + Permanently delete an Actions Module. This will fail if the module is still in use by any actions. + + Parameters + ---------- + id : str + The ID of the Actions Module to delete. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[None] + """ + _response = await self._client_wrapper.httpx_client.request( + f"actions/modules/{jsonable_encoder(id)}", + method="DELETE", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + return AsyncHttpResponse(response=_response, data=None) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 412: + raise PreconditionFailedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + async def update( + self, + id: str, + *, + code: typing.Optional[str] = OMIT, + secrets: typing.Optional[typing.Sequence[ActionModuleSecretRequest]] = OMIT, + dependencies: typing.Optional[typing.Sequence[ActionModuleDependencyRequest]] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncHttpResponse[UpdateActionModuleResponseContent]: + """ + Update properties of an existing Actions Module, such as code, dependencies, or secrets. + + Parameters + ---------- + id : str + The ID of the action module to update. + + code : typing.Optional[str] + The source code of the action module. + + secrets : typing.Optional[typing.Sequence[ActionModuleSecretRequest]] + The secrets to associate with the action module. + + dependencies : typing.Optional[typing.Sequence[ActionModuleDependencyRequest]] + The npm dependencies of the action module. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[UpdateActionModuleResponseContent] + The action module was updated. + """ + _response = await self._client_wrapper.httpx_client.request( + f"actions/modules/{jsonable_encoder(id)}", + method="PATCH", + json={ + "code": code, + "secrets": convert_and_respect_annotation_metadata( + object_=secrets, annotation=typing.Sequence[ActionModuleSecretRequest], direction="write" + ), + "dependencies": convert_and_respect_annotation_metadata( + object_=dependencies, annotation=typing.Sequence[ActionModuleDependencyRequest], direction="write" + ), + }, + headers={ + "content-type": "application/json", + }, + request_options=request_options, + omit=OMIT, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + UpdateActionModuleResponseContent, + parse_obj_as( + type_=UpdateActionModuleResponseContent, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 409: + raise ConflictError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + async def list_actions( + self, + id: str, + *, + page: typing.Optional[int] = 0, + per_page: typing.Optional[int] = 50, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncPager[ActionModuleAction, GetActionModuleActionsResponseContent]: + """ + Lists all actions that are using a specific Actions Module, showing which deployed action versions reference this Actions Module. + + Parameters + ---------- + id : str + The unique ID of the module. + + page : typing.Optional[int] + Page index of the results to return. First page is 0. + + per_page : typing.Optional[int] + Number of results per page. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncPager[ActionModuleAction, GetActionModuleActionsResponseContent] + The actions were retrieved. + """ + page = page if page is not None else 0 + + _response = await self._client_wrapper.httpx_client.request( + f"actions/modules/{jsonable_encoder(id)}/actions", + method="GET", + params={ + "page": page, + "per_page": per_page, + }, + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _parsed_response = typing.cast( + GetActionModuleActionsResponseContent, + parse_obj_as( + type_=GetActionModuleActionsResponseContent, # type: ignore + object_=_response.json(), + ), + ) + _items = _parsed_response.actions + _has_next = True + + async def _get_next(): + return await self.list_actions( + id, + page=page + len(_items or []), + per_page=per_page, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + async def rollback( + self, id: str, *, module_version_id: str, request_options: typing.Optional[RequestOptions] = None + ) -> AsyncHttpResponse[RollbackActionModuleResponseContent]: + """ + Rolls back an Actions Module's draft to a previously created version. This action copies the code, dependencies, and secrets from the specified version into the current draft. + + Parameters + ---------- + id : str + The unique ID of the module to roll back. + + module_version_id : str + The unique ID of the module version to roll back to. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[RollbackActionModuleResponseContent] + The rollback was successful. + """ + _response = await self._client_wrapper.httpx_client.request( + f"actions/modules/{jsonable_encoder(id)}/rollback", + method="POST", + json={ + "module_version_id": module_version_id, + }, + headers={ + "content-type": "application/json", + }, + request_options=request_options, + omit=OMIT, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + RollbackActionModuleResponseContent, + parse_obj_as( + type_=RollbackActionModuleResponseContent, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 409: + raise ConflictError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/auth0/management/types/connection_provisioning_ticket.py b/src/auth0/management/actions/modules/versions/__init__.py similarity index 65% rename from src/auth0/management/types/connection_provisioning_ticket.py rename to src/auth0/management/actions/modules/versions/__init__.py index 4ee72ce3..5cde0202 100644 --- a/src/auth0/management/types/connection_provisioning_ticket.py +++ b/src/auth0/management/actions/modules/versions/__init__.py @@ -1,3 +1,4 @@ # This file was auto-generated by Fern from our API Definition. -ConnectionProvisioningTicket = str +# isort: skip_file + diff --git a/src/auth0/management/actions/modules/versions/client.py b/src/auth0/management/actions/modules/versions/client.py new file mode 100644 index 00000000..e7e4aca7 --- /dev/null +++ b/src/auth0/management/actions/modules/versions/client.py @@ -0,0 +1,272 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from ....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from ....core.request_options import RequestOptions +from ....types.create_action_module_version_response_content import CreateActionModuleVersionResponseContent +from ....types.get_action_module_version_response_content import GetActionModuleVersionResponseContent +from ....types.get_action_module_versions_response_content import GetActionModuleVersionsResponseContent +from .raw_client import AsyncRawVersionsClient, RawVersionsClient + + +class VersionsClient: + def __init__(self, *, client_wrapper: SyncClientWrapper): + self._raw_client = RawVersionsClient(client_wrapper=client_wrapper) + + @property + def with_raw_response(self) -> RawVersionsClient: + """ + Retrieves a raw implementation of this client that returns raw responses. + + Returns + ------- + RawVersionsClient + """ + return self._raw_client + + def list( + self, id: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> GetActionModuleVersionsResponseContent: + """ + List all published versions of a specific Actions Module. + + Parameters + ---------- + id : str + The unique ID of the module. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + GetActionModuleVersionsResponseContent + The module versions were retrieved. + + Examples + -------- + from auth0 import Auth0 + + client = Auth0( + token="YOUR_TOKEN", + ) + client.actions.modules.versions.list( + id="id", + ) + """ + _response = self._raw_client.list(id, request_options=request_options) + return _response.data + + def create( + self, id: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> CreateActionModuleVersionResponseContent: + """ + Creates a new immutable version of an Actions Module from the current draft version. This publishes the draft as a new version that can be referenced by actions, while maintaining the existing draft for continued development. + + Parameters + ---------- + id : str + The ID of the action module to create a version for. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + CreateActionModuleVersionResponseContent + The action module version was created. + + Examples + -------- + from auth0 import Auth0 + + client = Auth0( + token="YOUR_TOKEN", + ) + client.actions.modules.versions.create( + id="id", + ) + """ + _response = self._raw_client.create(id, request_options=request_options) + return _response.data + + def get( + self, id: str, version_id: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> GetActionModuleVersionResponseContent: + """ + Retrieve the details of a specific, immutable version of an Actions Module. + + Parameters + ---------- + id : str + The unique ID of the module. + + version_id : str + The unique ID of the module version to retrieve. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + GetActionModuleVersionResponseContent + The module version was retrieved. + + Examples + -------- + from auth0 import Auth0 + + client = Auth0( + token="YOUR_TOKEN", + ) + client.actions.modules.versions.get( + id="id", + version_id="versionId", + ) + """ + _response = self._raw_client.get(id, version_id, request_options=request_options) + return _response.data + + +class AsyncVersionsClient: + def __init__(self, *, client_wrapper: AsyncClientWrapper): + self._raw_client = AsyncRawVersionsClient(client_wrapper=client_wrapper) + + @property + def with_raw_response(self) -> AsyncRawVersionsClient: + """ + Retrieves a raw implementation of this client that returns raw responses. + + Returns + ------- + AsyncRawVersionsClient + """ + return self._raw_client + + async def list( + self, id: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> GetActionModuleVersionsResponseContent: + """ + List all published versions of a specific Actions Module. + + Parameters + ---------- + id : str + The unique ID of the module. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + GetActionModuleVersionsResponseContent + The module versions were retrieved. + + Examples + -------- + import asyncio + + from auth0 import AsyncAuth0 + + client = AsyncAuth0( + token="YOUR_TOKEN", + ) + + + async def main() -> None: + await client.actions.modules.versions.list( + id="id", + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.list(id, request_options=request_options) + return _response.data + + async def create( + self, id: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> CreateActionModuleVersionResponseContent: + """ + Creates a new immutable version of an Actions Module from the current draft version. This publishes the draft as a new version that can be referenced by actions, while maintaining the existing draft for continued development. + + Parameters + ---------- + id : str + The ID of the action module to create a version for. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + CreateActionModuleVersionResponseContent + The action module version was created. + + Examples + -------- + import asyncio + + from auth0 import AsyncAuth0 + + client = AsyncAuth0( + token="YOUR_TOKEN", + ) + + + async def main() -> None: + await client.actions.modules.versions.create( + id="id", + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.create(id, request_options=request_options) + return _response.data + + async def get( + self, id: str, version_id: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> GetActionModuleVersionResponseContent: + """ + Retrieve the details of a specific, immutable version of an Actions Module. + + Parameters + ---------- + id : str + The unique ID of the module. + + version_id : str + The unique ID of the module version to retrieve. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + GetActionModuleVersionResponseContent + The module version was retrieved. + + Examples + -------- + import asyncio + + from auth0 import AsyncAuth0 + + client = AsyncAuth0( + token="YOUR_TOKEN", + ) + + + async def main() -> None: + await client.actions.modules.versions.get( + id="id", + version_id="versionId", + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.get(id, version_id, request_options=request_options) + return _response.data diff --git a/src/auth0/management/actions/modules/versions/raw_client.py b/src/auth0/management/actions/modules/versions/raw_client.py new file mode 100644 index 00000000..601d329e --- /dev/null +++ b/src/auth0/management/actions/modules/versions/raw_client.py @@ -0,0 +1,623 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing +from json.decoder import JSONDecodeError + +from ....core.api_error import ApiError +from ....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from ....core.http_response import AsyncHttpResponse, HttpResponse +from ....core.jsonable_encoder import jsonable_encoder +from ....core.pydantic_utilities import parse_obj_as +from ....core.request_options import RequestOptions +from ....errors.bad_request_error import BadRequestError +from ....errors.conflict_error import ConflictError +from ....errors.forbidden_error import ForbiddenError +from ....errors.not_found_error import NotFoundError +from ....errors.precondition_failed_error import PreconditionFailedError +from ....errors.too_many_requests_error import TooManyRequestsError +from ....errors.unauthorized_error import UnauthorizedError +from ....types.create_action_module_version_response_content import CreateActionModuleVersionResponseContent +from ....types.get_action_module_version_response_content import GetActionModuleVersionResponseContent +from ....types.get_action_module_versions_response_content import GetActionModuleVersionsResponseContent + + +class RawVersionsClient: + def __init__(self, *, client_wrapper: SyncClientWrapper): + self._client_wrapper = client_wrapper + + def list( + self, id: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> HttpResponse[GetActionModuleVersionsResponseContent]: + """ + List all published versions of a specific Actions Module. + + Parameters + ---------- + id : str + The unique ID of the module. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[GetActionModuleVersionsResponseContent] + The module versions were retrieved. + """ + _response = self._client_wrapper.httpx_client.request( + f"actions/modules/{jsonable_encoder(id)}/versions", + method="GET", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + GetActionModuleVersionsResponseContent, + parse_obj_as( + type_=GetActionModuleVersionsResponseContent, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + def create( + self, id: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> HttpResponse[CreateActionModuleVersionResponseContent]: + """ + Creates a new immutable version of an Actions Module from the current draft version. This publishes the draft as a new version that can be referenced by actions, while maintaining the existing draft for continued development. + + Parameters + ---------- + id : str + The ID of the action module to create a version for. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[CreateActionModuleVersionResponseContent] + The action module version was created. + """ + _response = self._client_wrapper.httpx_client.request( + f"actions/modules/{jsonable_encoder(id)}/versions", + method="POST", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + CreateActionModuleVersionResponseContent, + parse_obj_as( + type_=CreateActionModuleVersionResponseContent, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 409: + raise ConflictError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 412: + raise PreconditionFailedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + def get( + self, id: str, version_id: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> HttpResponse[GetActionModuleVersionResponseContent]: + """ + Retrieve the details of a specific, immutable version of an Actions Module. + + Parameters + ---------- + id : str + The unique ID of the module. + + version_id : str + The unique ID of the module version to retrieve. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[GetActionModuleVersionResponseContent] + The module version was retrieved. + """ + _response = self._client_wrapper.httpx_client.request( + f"actions/modules/{jsonable_encoder(id)}/versions/{jsonable_encoder(version_id)}", + method="GET", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + GetActionModuleVersionResponseContent, + parse_obj_as( + type_=GetActionModuleVersionResponseContent, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + +class AsyncRawVersionsClient: + def __init__(self, *, client_wrapper: AsyncClientWrapper): + self._client_wrapper = client_wrapper + + async def list( + self, id: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> AsyncHttpResponse[GetActionModuleVersionsResponseContent]: + """ + List all published versions of a specific Actions Module. + + Parameters + ---------- + id : str + The unique ID of the module. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[GetActionModuleVersionsResponseContent] + The module versions were retrieved. + """ + _response = await self._client_wrapper.httpx_client.request( + f"actions/modules/{jsonable_encoder(id)}/versions", + method="GET", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + GetActionModuleVersionsResponseContent, + parse_obj_as( + type_=GetActionModuleVersionsResponseContent, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + async def create( + self, id: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> AsyncHttpResponse[CreateActionModuleVersionResponseContent]: + """ + Creates a new immutable version of an Actions Module from the current draft version. This publishes the draft as a new version that can be referenced by actions, while maintaining the existing draft for continued development. + + Parameters + ---------- + id : str + The ID of the action module to create a version for. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[CreateActionModuleVersionResponseContent] + The action module version was created. + """ + _response = await self._client_wrapper.httpx_client.request( + f"actions/modules/{jsonable_encoder(id)}/versions", + method="POST", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + CreateActionModuleVersionResponseContent, + parse_obj_as( + type_=CreateActionModuleVersionResponseContent, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 409: + raise ConflictError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 412: + raise PreconditionFailedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + async def get( + self, id: str, version_id: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> AsyncHttpResponse[GetActionModuleVersionResponseContent]: + """ + Retrieve the details of a specific, immutable version of an Actions Module. + + Parameters + ---------- + id : str + The unique ID of the module. + + version_id : str + The unique ID of the module version to retrieve. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[GetActionModuleVersionResponseContent] + The module version was retrieved. + """ + _response = await self._client_wrapper.httpx_client.request( + f"actions/modules/{jsonable_encoder(id)}/versions/{jsonable_encoder(version_id)}", + method="GET", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + GetActionModuleVersionResponseContent, + parse_obj_as( + type_=GetActionModuleVersionResponseContent, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/auth0/management/actions/raw_client.py b/src/auth0/management/actions/raw_client.py index 0758f7f9..08c3c1dd 100644 --- a/src/auth0/management/actions/raw_client.py +++ b/src/auth0/management/actions/raw_client.py @@ -17,6 +17,7 @@ from ..errors.too_many_requests_error import TooManyRequestsError from ..errors.unauthorized_error import UnauthorizedError from ..types.action import Action +from ..types.action_module_reference import ActionModuleReference from ..types.action_secret_request import ActionSecretRequest from ..types.action_trigger import ActionTrigger from ..types.action_trigger_type_enum import ActionTriggerTypeEnum @@ -173,6 +174,7 @@ def create( dependencies: typing.Optional[typing.Sequence[ActionVersionDependency]] = OMIT, runtime: typing.Optional[str] = "node22", secrets: typing.Optional[typing.Sequence[ActionSecretRequest]] = OMIT, + modules: typing.Optional[typing.Sequence[ActionModuleReference]] = OMIT, deploy: typing.Optional[bool] = False, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[CreateActionResponseContent]: @@ -199,6 +201,9 @@ def create( secrets : typing.Optional[typing.Sequence[ActionSecretRequest]] The list of secrets that are included in an action or a version of an action. + modules : typing.Optional[typing.Sequence[ActionModuleReference]] + The list of action modules and their versions used by this action. + deploy : typing.Optional[bool] True if the action should be deployed after creation. @@ -226,6 +231,9 @@ def create( "secrets": convert_and_respect_annotation_metadata( object_=secrets, annotation=typing.Sequence[ActionSecretRequest], direction="write" ), + "modules": convert_and_respect_annotation_metadata( + object_=modules, annotation=typing.Sequence[ActionModuleReference], direction="write" + ), "deploy": deploy, }, headers={ @@ -489,6 +497,7 @@ def update( dependencies: typing.Optional[typing.Sequence[ActionVersionDependency]] = OMIT, runtime: typing.Optional[str] = "node22", secrets: typing.Optional[typing.Sequence[ActionSecretRequest]] = OMIT, + modules: typing.Optional[typing.Sequence[ActionModuleReference]] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[UpdateActionResponseContent]: """ @@ -517,6 +526,9 @@ def update( secrets : typing.Optional[typing.Sequence[ActionSecretRequest]] The list of secrets that are included in an action or a version of an action. + modules : typing.Optional[typing.Sequence[ActionModuleReference]] + The list of action modules and their versions used by this action. + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -541,6 +553,9 @@ def update( "secrets": convert_and_respect_annotation_metadata( object_=secrets, annotation=typing.Sequence[ActionSecretRequest], direction="write" ), + "modules": convert_and_respect_annotation_metadata( + object_=modules, annotation=typing.Sequence[ActionModuleReference], direction="write" + ), }, headers={ "content-type": "application/json", @@ -937,6 +952,7 @@ async def create( dependencies: typing.Optional[typing.Sequence[ActionVersionDependency]] = OMIT, runtime: typing.Optional[str] = "node22", secrets: typing.Optional[typing.Sequence[ActionSecretRequest]] = OMIT, + modules: typing.Optional[typing.Sequence[ActionModuleReference]] = OMIT, deploy: typing.Optional[bool] = False, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[CreateActionResponseContent]: @@ -963,6 +979,9 @@ async def create( secrets : typing.Optional[typing.Sequence[ActionSecretRequest]] The list of secrets that are included in an action or a version of an action. + modules : typing.Optional[typing.Sequence[ActionModuleReference]] + The list of action modules and their versions used by this action. + deploy : typing.Optional[bool] True if the action should be deployed after creation. @@ -990,6 +1009,9 @@ async def create( "secrets": convert_and_respect_annotation_metadata( object_=secrets, annotation=typing.Sequence[ActionSecretRequest], direction="write" ), + "modules": convert_and_respect_annotation_metadata( + object_=modules, annotation=typing.Sequence[ActionModuleReference], direction="write" + ), "deploy": deploy, }, headers={ @@ -1253,6 +1275,7 @@ async def update( dependencies: typing.Optional[typing.Sequence[ActionVersionDependency]] = OMIT, runtime: typing.Optional[str] = "node22", secrets: typing.Optional[typing.Sequence[ActionSecretRequest]] = OMIT, + modules: typing.Optional[typing.Sequence[ActionModuleReference]] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[UpdateActionResponseContent]: """ @@ -1281,6 +1304,9 @@ async def update( secrets : typing.Optional[typing.Sequence[ActionSecretRequest]] The list of secrets that are included in an action or a version of an action. + modules : typing.Optional[typing.Sequence[ActionModuleReference]] + The list of action modules and their versions used by this action. + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -1305,6 +1331,9 @@ async def update( "secrets": convert_and_respect_annotation_metadata( object_=secrets, annotation=typing.Sequence[ActionSecretRequest], direction="write" ), + "modules": convert_and_respect_annotation_metadata( + object_=modules, annotation=typing.Sequence[ActionModuleReference], direction="write" + ), }, headers={ "content-type": "application/json", diff --git a/src/auth0/management/client.py b/src/auth0/management/client.py index 54af0330..aacc314c 100644 --- a/src/auth0/management/client.py +++ b/src/auth0/management/client.py @@ -24,6 +24,7 @@ from .event_streams.client import AsyncEventStreamsClient, EventStreamsClient from .flows.client import AsyncFlowsClient, FlowsClient from .forms.client import AsyncFormsClient, FormsClient + from .groups.client import AsyncGroupsClient, GroupsClient from .guardian.client import AsyncGuardianClient, GuardianClient from .hooks.client import AsyncHooksClient, HooksClient from .jobs.client import AsyncJobsClient, JobsClient @@ -131,6 +132,7 @@ def __init__( self._flows: typing.Optional[FlowsClient] = None self._forms: typing.Optional[FormsClient] = None self._user_grants: typing.Optional[UserGrantsClient] = None + self._groups: typing.Optional[GroupsClient] = None self._hooks: typing.Optional[HooksClient] = None self._jobs: typing.Optional[JobsClient] = None self._log_streams: typing.Optional[LogStreamsClient] = None @@ -265,6 +267,14 @@ def user_grants(self): self._user_grants = UserGrantsClient(client_wrapper=self._client_wrapper) return self._user_grants + @property + def groups(self): + if self._groups is None: + from .groups.client import GroupsClient # noqa: E402 + + self._groups = GroupsClient(client_wrapper=self._client_wrapper) + return self._groups + @property def hooks(self): if self._hooks is None: @@ -576,6 +586,7 @@ def __init__( self._flows: typing.Optional[AsyncFlowsClient] = None self._forms: typing.Optional[AsyncFormsClient] = None self._user_grants: typing.Optional[AsyncUserGrantsClient] = None + self._groups: typing.Optional[AsyncGroupsClient] = None self._hooks: typing.Optional[AsyncHooksClient] = None self._jobs: typing.Optional[AsyncJobsClient] = None self._log_streams: typing.Optional[AsyncLogStreamsClient] = None @@ -710,6 +721,14 @@ def user_grants(self): self._user_grants = AsyncUserGrantsClient(client_wrapper=self._client_wrapper) return self._user_grants + @property + def groups(self): + if self._groups is None: + from .groups.client import AsyncGroupsClient # noqa: E402 + + self._groups = AsyncGroupsClient(client_wrapper=self._client_wrapper) + return self._groups + @property def hooks(self): if self._hooks is None: diff --git a/src/auth0/management/client_grants/client.py b/src/auth0/management/client_grants/client.py index 0620fe81..aca0aefd 100644 --- a/src/auth0/management/client_grants/client.py +++ b/src/auth0/management/client_grants/client.py @@ -13,6 +13,7 @@ from ..types.client_grant_response_content import ClientGrantResponseContent from ..types.client_grant_subject_type_enum import ClientGrantSubjectTypeEnum from ..types.create_client_grant_response_content import CreateClientGrantResponseContent +from ..types.get_client_grant_response_content import GetClientGrantResponseContent from ..types.list_client_grant_paginated_response_content import ListClientGrantPaginatedResponseContent from ..types.update_client_grant_response_content import UpdateClientGrantResponseContent from .raw_client import AsyncRawClientGrantsClient, RawClientGrantsClient @@ -72,7 +73,7 @@ def list( Optional filter on allow_any_organization. subject_type : typing.Optional[ClientGrantSubjectTypeEnum] - The type of application access the client grant allows. Use of this field is subject to the applicable Free Trial terms in Okta’s Master Subscription Agreement. + The type of application access the client grant allows. request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -123,6 +124,7 @@ def create( scope: typing.Optional[typing.Sequence[str]] = OMIT, subject_type: typing.Optional[ClientGrantSubjectTypeEnum] = OMIT, authorization_details_types: typing.Optional[typing.Sequence[str]] = OMIT, + allow_all_scopes: typing.Optional[bool] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> CreateClientGrantResponseContent: """ @@ -147,7 +149,10 @@ def create( subject_type : typing.Optional[ClientGrantSubjectTypeEnum] authorization_details_types : typing.Optional[typing.Sequence[str]] - Types of authorization_details allowed for this client grant. Use of this field is subject to the applicable Free Trial terms in Okta’s Master Subscription Agreement. + Types of authorization_details allowed for this client grant. + + allow_all_scopes : typing.Optional[bool] + If enabled, all scopes configured on the resource server are allowed for this grant. request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -177,10 +182,43 @@ def create( scope=scope, subject_type=subject_type, authorization_details_types=authorization_details_types, + allow_all_scopes=allow_all_scopes, request_options=request_options, ) return _response.data + def get(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> GetClientGrantResponseContent: + """ + Retrieve a single client grant, including the + scopes associated with the application/API pair. + + Parameters + ---------- + id : str + The ID of the client grant to retrieve. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + GetClientGrantResponseContent + Client grant successfully retrieved. + + Examples + -------- + from auth0 import Auth0 + + client = Auth0( + token="YOUR_TOKEN", + ) + client.client_grants.get( + id="id", + ) + """ + _response = self._raw_client.get(id, request_options=request_options) + return _response.data + def delete(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> None: """ Delete the Client Credential Flow from your machine-to-machine application. @@ -219,6 +257,7 @@ def update( organization_usage: typing.Optional[ClientGrantOrganizationNullableUsageEnum] = OMIT, allow_any_organization: typing.Optional[bool] = OMIT, authorization_details_types: typing.Optional[typing.Sequence[str]] = OMIT, + allow_all_scopes: typing.Optional[bool] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> UpdateClientGrantResponseContent: """ @@ -238,7 +277,10 @@ def update( Controls allowing any organization to be used with this grant authorization_details_types : typing.Optional[typing.Sequence[str]] - Types of authorization_details allowed for this client grant. Use of this field is subject to the applicable Free Trial terms in Okta’s Master Subscription Agreement. + Types of authorization_details allowed for this client grant. + + allow_all_scopes : typing.Optional[bool] + If enabled, all scopes configured on the resource server are allowed for this grant. request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -265,6 +307,7 @@ def update( organization_usage=organization_usage, allow_any_organization=allow_any_organization, authorization_details_types=authorization_details_types, + allow_all_scopes=allow_all_scopes, request_options=request_options, ) return _response.data @@ -327,7 +370,7 @@ async def list( Optional filter on allow_any_organization. subject_type : typing.Optional[ClientGrantSubjectTypeEnum] - The type of application access the client grant allows. Use of this field is subject to the applicable Free Trial terms in Okta’s Master Subscription Agreement. + The type of application access the client grant allows. request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -387,6 +430,7 @@ async def create( scope: typing.Optional[typing.Sequence[str]] = OMIT, subject_type: typing.Optional[ClientGrantSubjectTypeEnum] = OMIT, authorization_details_types: typing.Optional[typing.Sequence[str]] = OMIT, + allow_all_scopes: typing.Optional[bool] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> CreateClientGrantResponseContent: """ @@ -411,7 +455,10 @@ async def create( subject_type : typing.Optional[ClientGrantSubjectTypeEnum] authorization_details_types : typing.Optional[typing.Sequence[str]] - Types of authorization_details allowed for this client grant. Use of this field is subject to the applicable Free Trial terms in Okta’s Master Subscription Agreement. + Types of authorization_details allowed for this client grant. + + allow_all_scopes : typing.Optional[bool] + If enabled, all scopes configured on the resource server are allowed for this grant. request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -449,10 +496,53 @@ async def main() -> None: scope=scope, subject_type=subject_type, authorization_details_types=authorization_details_types, + allow_all_scopes=allow_all_scopes, request_options=request_options, ) return _response.data + async def get( + self, id: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> GetClientGrantResponseContent: + """ + Retrieve a single client grant, including the + scopes associated with the application/API pair. + + Parameters + ---------- + id : str + The ID of the client grant to retrieve. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + GetClientGrantResponseContent + Client grant successfully retrieved. + + Examples + -------- + import asyncio + + from auth0 import AsyncAuth0 + + client = AsyncAuth0( + token="YOUR_TOKEN", + ) + + + async def main() -> None: + await client.client_grants.get( + id="id", + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.get(id, request_options=request_options) + return _response.data + async def delete(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> None: """ Delete the Client Credential Flow from your machine-to-machine application. @@ -499,6 +589,7 @@ async def update( organization_usage: typing.Optional[ClientGrantOrganizationNullableUsageEnum] = OMIT, allow_any_organization: typing.Optional[bool] = OMIT, authorization_details_types: typing.Optional[typing.Sequence[str]] = OMIT, + allow_all_scopes: typing.Optional[bool] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> UpdateClientGrantResponseContent: """ @@ -518,7 +609,10 @@ async def update( Controls allowing any organization to be used with this grant authorization_details_types : typing.Optional[typing.Sequence[str]] - Types of authorization_details allowed for this client grant. Use of this field is subject to the applicable Free Trial terms in Okta’s Master Subscription Agreement. + Types of authorization_details allowed for this client grant. + + allow_all_scopes : typing.Optional[bool] + If enabled, all scopes configured on the resource server are allowed for this grant. request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -553,6 +647,7 @@ async def main() -> None: organization_usage=organization_usage, allow_any_organization=allow_any_organization, authorization_details_types=authorization_details_types, + allow_all_scopes=allow_all_scopes, request_options=request_options, ) return _response.data diff --git a/src/auth0/management/client_grants/raw_client.py b/src/auth0/management/client_grants/raw_client.py index 55a4b5b4..c50a88b7 100644 --- a/src/auth0/management/client_grants/raw_client.py +++ b/src/auth0/management/client_grants/raw_client.py @@ -22,6 +22,7 @@ from ..types.client_grant_response_content import ClientGrantResponseContent from ..types.client_grant_subject_type_enum import ClientGrantSubjectTypeEnum from ..types.create_client_grant_response_content import CreateClientGrantResponseContent +from ..types.get_client_grant_response_content import GetClientGrantResponseContent from ..types.list_client_grant_paginated_response_content import ListClientGrantPaginatedResponseContent from ..types.update_client_grant_response_content import UpdateClientGrantResponseContent @@ -65,7 +66,7 @@ def list( Optional filter on allow_any_organization. subject_type : typing.Optional[ClientGrantSubjectTypeEnum] - The type of application access the client grant allows. Use of this field is subject to the applicable Free Trial terms in Okta’s Master Subscription Agreement. + The type of application access the client grant allows. request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -158,6 +159,7 @@ def create( scope: typing.Optional[typing.Sequence[str]] = OMIT, subject_type: typing.Optional[ClientGrantSubjectTypeEnum] = OMIT, authorization_details_types: typing.Optional[typing.Sequence[str]] = OMIT, + allow_all_scopes: typing.Optional[bool] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[CreateClientGrantResponseContent]: """ @@ -182,7 +184,10 @@ def create( subject_type : typing.Optional[ClientGrantSubjectTypeEnum] authorization_details_types : typing.Optional[typing.Sequence[str]] - Types of authorization_details allowed for this client grant. Use of this field is subject to the applicable Free Trial terms in Okta’s Master Subscription Agreement. + Types of authorization_details allowed for this client grant. + + allow_all_scopes : typing.Optional[bool] + If enabled, all scopes configured on the resource server are allowed for this grant. request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -203,6 +208,7 @@ def create( "scope": scope, "subject_type": subject_type, "authorization_details_types": authorization_details_types, + "allow_all_scopes": allow_all_scopes, }, headers={ "content-type": "application/json", @@ -291,6 +297,90 @@ def create( raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + def get( + self, id: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> HttpResponse[GetClientGrantResponseContent]: + """ + Retrieve a single client grant, including the + scopes associated with the application/API pair. + + Parameters + ---------- + id : str + The ID of the client grant to retrieve. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[GetClientGrantResponseContent] + Client grant successfully retrieved. + """ + _response = self._client_wrapper.httpx_client.request( + f"client-grants/{jsonable_encoder(id)}", + method="GET", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + GetClientGrantResponseContent, + parse_obj_as( + type_=GetClientGrantResponseContent, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + def delete(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> HttpResponse[None]: """ Delete the Client Credential Flow from your machine-to-machine application. @@ -372,6 +462,7 @@ def update( organization_usage: typing.Optional[ClientGrantOrganizationNullableUsageEnum] = OMIT, allow_any_organization: typing.Optional[bool] = OMIT, authorization_details_types: typing.Optional[typing.Sequence[str]] = OMIT, + allow_all_scopes: typing.Optional[bool] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[UpdateClientGrantResponseContent]: """ @@ -391,7 +482,10 @@ def update( Controls allowing any organization to be used with this grant authorization_details_types : typing.Optional[typing.Sequence[str]] - Types of authorization_details allowed for this client grant. Use of this field is subject to the applicable Free Trial terms in Okta’s Master Subscription Agreement. + Types of authorization_details allowed for this client grant. + + allow_all_scopes : typing.Optional[bool] + If enabled, all scopes configured on the resource server are allowed for this grant. request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -409,6 +503,7 @@ def update( "organization_usage": organization_usage, "allow_any_organization": allow_any_organization, "authorization_details_types": authorization_details_types, + "allow_all_scopes": allow_all_scopes, }, headers={ "content-type": "application/json", @@ -523,7 +618,7 @@ async def list( Optional filter on allow_any_organization. subject_type : typing.Optional[ClientGrantSubjectTypeEnum] - The type of application access the client grant allows. Use of this field is subject to the applicable Free Trial terms in Okta’s Master Subscription Agreement. + The type of application access the client grant allows. request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -619,6 +714,7 @@ async def create( scope: typing.Optional[typing.Sequence[str]] = OMIT, subject_type: typing.Optional[ClientGrantSubjectTypeEnum] = OMIT, authorization_details_types: typing.Optional[typing.Sequence[str]] = OMIT, + allow_all_scopes: typing.Optional[bool] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[CreateClientGrantResponseContent]: """ @@ -643,7 +739,10 @@ async def create( subject_type : typing.Optional[ClientGrantSubjectTypeEnum] authorization_details_types : typing.Optional[typing.Sequence[str]] - Types of authorization_details allowed for this client grant. Use of this field is subject to the applicable Free Trial terms in Okta’s Master Subscription Agreement. + Types of authorization_details allowed for this client grant. + + allow_all_scopes : typing.Optional[bool] + If enabled, all scopes configured on the resource server are allowed for this grant. request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -664,6 +763,7 @@ async def create( "scope": scope, "subject_type": subject_type, "authorization_details_types": authorization_details_types, + "allow_all_scopes": allow_all_scopes, }, headers={ "content-type": "application/json", @@ -752,6 +852,90 @@ async def create( raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + async def get( + self, id: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> AsyncHttpResponse[GetClientGrantResponseContent]: + """ + Retrieve a single client grant, including the + scopes associated with the application/API pair. + + Parameters + ---------- + id : str + The ID of the client grant to retrieve. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[GetClientGrantResponseContent] + Client grant successfully retrieved. + """ + _response = await self._client_wrapper.httpx_client.request( + f"client-grants/{jsonable_encoder(id)}", + method="GET", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + GetClientGrantResponseContent, + parse_obj_as( + type_=GetClientGrantResponseContent, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + async def delete( self, id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> AsyncHttpResponse[None]: @@ -835,6 +1019,7 @@ async def update( organization_usage: typing.Optional[ClientGrantOrganizationNullableUsageEnum] = OMIT, allow_any_organization: typing.Optional[bool] = OMIT, authorization_details_types: typing.Optional[typing.Sequence[str]] = OMIT, + allow_all_scopes: typing.Optional[bool] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[UpdateClientGrantResponseContent]: """ @@ -854,7 +1039,10 @@ async def update( Controls allowing any organization to be used with this grant authorization_details_types : typing.Optional[typing.Sequence[str]] - Types of authorization_details allowed for this client grant. Use of this field is subject to the applicable Free Trial terms in Okta’s Master Subscription Agreement. + Types of authorization_details allowed for this client grant. + + allow_all_scopes : typing.Optional[bool] + If enabled, all scopes configured on the resource server are allowed for this grant. request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -872,6 +1060,7 @@ async def update( "organization_usage": organization_usage, "allow_any_organization": allow_any_organization, "authorization_details_types": authorization_details_types, + "allow_all_scopes": allow_all_scopes, }, headers={ "content-type": "application/json", diff --git a/src/auth0/management/connections/client.py b/src/auth0/management/connections/client.py index 818f24d6..a336949a 100644 --- a/src/auth0/management/connections/client.py +++ b/src/auth0/management/connections/client.py @@ -37,8 +37,8 @@ class ConnectionsClient: def __init__(self, *, client_wrapper: SyncClientWrapper): self._raw_client = RawConnectionsClient(client_wrapper=client_wrapper) self._client_wrapper = client_wrapper - self._clients: typing.Optional[ClientsClient] = None self._directory_provisioning: typing.Optional[DirectoryProvisioningClient] = None + self._clients: typing.Optional[ClientsClient] = None self._keys: typing.Optional[KeysClient] = None self._scim_configuration: typing.Optional[ScimConfigurationClient] = None self._users: typing.Optional[UsersClient] = None @@ -161,7 +161,9 @@ def create( request_options: typing.Optional[RequestOptions] = None, ) -> CreateConnectionResponseContent: """ - Creates a new connection according to the JSON object received in body.
+ Creates a new connection according to the JSON object received in body. + + Note: If a connection with the same name was recently deleted and had a large number of associated users, the deletion may still be processing. Creating a new connection with that name before the deletion completes may fail or produce unexpected results. Parameters ---------- @@ -281,6 +283,8 @@ def delete(self, id: str, *, request_options: typing.Optional[RequestOptions] = """ Removes a specific connection from your tenant. This action cannot be undone. Once removed, users can no longer use this connection to authenticate. + Note: If your connection has a large amount of users associated with it, please be aware that this operation can be long running after the response is returned and may impact concurrent create connection requests, if they use an identical connection name. + Parameters ---------- id : str @@ -419,14 +423,6 @@ def check_status(self, id: str, *, request_options: typing.Optional[RequestOptio _response = self._raw_client.check_status(id, request_options=request_options) return _response.data - @property - def clients(self): - if self._clients is None: - from .clients.client import ClientsClient # noqa: E402 - - self._clients = ClientsClient(client_wrapper=self._client_wrapper) - return self._clients - @property def directory_provisioning(self): if self._directory_provisioning is None: @@ -435,6 +431,14 @@ def directory_provisioning(self): self._directory_provisioning = DirectoryProvisioningClient(client_wrapper=self._client_wrapper) return self._directory_provisioning + @property + def clients(self): + if self._clients is None: + from .clients.client import ClientsClient # noqa: E402 + + self._clients = ClientsClient(client_wrapper=self._client_wrapper) + return self._clients + @property def keys(self): if self._keys is None: @@ -464,8 +468,8 @@ class AsyncConnectionsClient: def __init__(self, *, client_wrapper: AsyncClientWrapper): self._raw_client = AsyncRawConnectionsClient(client_wrapper=client_wrapper) self._client_wrapper = client_wrapper - self._clients: typing.Optional[AsyncClientsClient] = None self._directory_provisioning: typing.Optional[AsyncDirectoryProvisioningClient] = None + self._clients: typing.Optional[AsyncClientsClient] = None self._keys: typing.Optional[AsyncKeysClient] = None self._scim_configuration: typing.Optional[AsyncScimConfigurationClient] = None self._users: typing.Optional[AsyncUsersClient] = None @@ -597,7 +601,9 @@ async def create( request_options: typing.Optional[RequestOptions] = None, ) -> CreateConnectionResponseContent: """ - Creates a new connection according to the JSON object received in body.
+ Creates a new connection according to the JSON object received in body. + + Note: If a connection with the same name was recently deleted and had a large number of associated users, the deletion may still be processing. Creating a new connection with that name before the deletion completes may fail or produce unexpected results. Parameters ---------- @@ -733,6 +739,8 @@ async def delete(self, id: str, *, request_options: typing.Optional[RequestOptio """ Removes a specific connection from your tenant. This action cannot be undone. Once removed, users can no longer use this connection to authenticate. + Note: If your connection has a large amount of users associated with it, please be aware that this operation can be long running after the response is returned and may impact concurrent create connection requests, if they use an identical connection name. + Parameters ---------- id : str @@ -895,14 +903,6 @@ async def main() -> None: _response = await self._raw_client.check_status(id, request_options=request_options) return _response.data - @property - def clients(self): - if self._clients is None: - from .clients.client import AsyncClientsClient # noqa: E402 - - self._clients = AsyncClientsClient(client_wrapper=self._client_wrapper) - return self._clients - @property def directory_provisioning(self): if self._directory_provisioning is None: @@ -911,6 +911,14 @@ def directory_provisioning(self): self._directory_provisioning = AsyncDirectoryProvisioningClient(client_wrapper=self._client_wrapper) return self._directory_provisioning + @property + def clients(self): + if self._clients is None: + from .clients.client import AsyncClientsClient # noqa: E402 + + self._clients = AsyncClientsClient(client_wrapper=self._client_wrapper) + return self._clients + @property def keys(self): if self._keys is None: diff --git a/src/auth0/management/connections/directory_provisioning/client.py b/src/auth0/management/connections/directory_provisioning/client.py index de2ae03e..a006ba82 100644 --- a/src/auth0/management/connections/directory_provisioning/client.py +++ b/src/auth0/management/connections/directory_provisioning/client.py @@ -5,13 +5,16 @@ import typing from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from ...core.pagination import AsyncPager, SyncPager from ...core.request_options import RequestOptions from ...types.create_directory_provisioning_request_content import CreateDirectoryProvisioningRequestContent from ...types.create_directory_provisioning_response_content import CreateDirectoryProvisioningResponseContent +from ...types.directory_provisioning import DirectoryProvisioning from ...types.get_directory_provisioning_default_mapping_response_content import ( GetDirectoryProvisioningDefaultMappingResponseContent, ) from ...types.get_directory_provisioning_response_content import GetDirectoryProvisioningResponseContent +from ...types.list_directory_provisionings_response_content import ListDirectoryProvisioningsResponseContent from ...types.update_directory_provisioning_request_content import UpdateDirectoryProvisioningRequestContent from ...types.update_directory_provisioning_response_content import UpdateDirectoryProvisioningResponseContent from .raw_client import AsyncRawDirectoryProvisioningClient, RawDirectoryProvisioningClient @@ -39,6 +42,51 @@ def with_raw_response(self) -> RawDirectoryProvisioningClient: """ return self._raw_client + def list( + self, + *, + from_: typing.Optional[str] = None, + take: typing.Optional[int] = 50, + request_options: typing.Optional[RequestOptions] = None, + ) -> SyncPager[DirectoryProvisioning, ListDirectoryProvisioningsResponseContent]: + """ + Retrieve a list of directory provisioning configurations of a tenant. + + Parameters + ---------- + from_ : typing.Optional[str] + Optional Id from which to start selection. + + take : typing.Optional[int] + Number of results per page. Defaults to 50. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + SyncPager[DirectoryProvisioning, ListDirectoryProvisioningsResponseContent] + The tenant's directory provisioning configuration. See Response Schemas for schema. + + Examples + -------- + from auth0 import Auth0 + + client = Auth0( + token="YOUR_TOKEN", + ) + response = client.connections.directory_provisioning.list( + from_="from", + take=1, + ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page + """ + return self._raw_client.list(from_=from_, take=take, request_options=request_options) + def get( self, id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> GetDirectoryProvisioningResponseContent: @@ -241,6 +289,60 @@ def with_raw_response(self) -> AsyncRawDirectoryProvisioningClient: """ return self._raw_client + async def list( + self, + *, + from_: typing.Optional[str] = None, + take: typing.Optional[int] = 50, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncPager[DirectoryProvisioning, ListDirectoryProvisioningsResponseContent]: + """ + Retrieve a list of directory provisioning configurations of a tenant. + + Parameters + ---------- + from_ : typing.Optional[str] + Optional Id from which to start selection. + + take : typing.Optional[int] + Number of results per page. Defaults to 50. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncPager[DirectoryProvisioning, ListDirectoryProvisioningsResponseContent] + The tenant's directory provisioning configuration. See Response Schemas for schema. + + Examples + -------- + import asyncio + + from auth0 import AsyncAuth0 + + client = AsyncAuth0( + token="YOUR_TOKEN", + ) + + + async def main() -> None: + response = await client.connections.directory_provisioning.list( + from_="from", + take=1, + ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page + + + asyncio.run(main()) + """ + return await self._raw_client.list(from_=from_, take=take, request_options=request_options) + async def get( self, id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> GetDirectoryProvisioningResponseContent: diff --git a/src/auth0/management/connections/directory_provisioning/raw_client.py b/src/auth0/management/connections/directory_provisioning/raw_client.py index e0abfb8d..6481e227 100644 --- a/src/auth0/management/connections/directory_provisioning/raw_client.py +++ b/src/auth0/management/connections/directory_provisioning/raw_client.py @@ -7,6 +7,7 @@ from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ...core.http_response import AsyncHttpResponse, HttpResponse from ...core.jsonable_encoder import jsonable_encoder +from ...core.pagination import AsyncPager, SyncPager from ...core.pydantic_utilities import parse_obj_as from ...core.request_options import RequestOptions from ...core.serialization import convert_and_respect_annotation_metadata @@ -18,10 +19,12 @@ from ...errors.unauthorized_error import UnauthorizedError from ...types.create_directory_provisioning_request_content import CreateDirectoryProvisioningRequestContent from ...types.create_directory_provisioning_response_content import CreateDirectoryProvisioningResponseContent +from ...types.directory_provisioning import DirectoryProvisioning from ...types.get_directory_provisioning_default_mapping_response_content import ( GetDirectoryProvisioningDefaultMappingResponseContent, ) from ...types.get_directory_provisioning_response_content import GetDirectoryProvisioningResponseContent +from ...types.list_directory_provisionings_response_content import ListDirectoryProvisioningsResponseContent from ...types.update_directory_provisioning_request_content import UpdateDirectoryProvisioningRequestContent from ...types.update_directory_provisioning_response_content import UpdateDirectoryProvisioningResponseContent @@ -33,6 +36,108 @@ class RawDirectoryProvisioningClient: def __init__(self, *, client_wrapper: SyncClientWrapper): self._client_wrapper = client_wrapper + def list( + self, + *, + from_: typing.Optional[str] = None, + take: typing.Optional[int] = 50, + request_options: typing.Optional[RequestOptions] = None, + ) -> SyncPager[DirectoryProvisioning, ListDirectoryProvisioningsResponseContent]: + """ + Retrieve a list of directory provisioning configurations of a tenant. + + Parameters + ---------- + from_ : typing.Optional[str] + Optional Id from which to start selection. + + take : typing.Optional[int] + Number of results per page. Defaults to 50. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + SyncPager[DirectoryProvisioning, ListDirectoryProvisioningsResponseContent] + The tenant's directory provisioning configuration. See Response Schemas for schema. + """ + _response = self._client_wrapper.httpx_client.request( + "connections-directory-provisionings", + method="GET", + params={ + "from": from_, + "take": take, + }, + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _parsed_response = typing.cast( + ListDirectoryProvisioningsResponseContent, + parse_obj_as( + type_=ListDirectoryProvisioningsResponseContent, # type: ignore + object_=_response.json(), + ), + ) + _items = _parsed_response.directory_provisionings + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + from_=_parsed_next, + take=take, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + def get( self, id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> HttpResponse[GetDirectoryProvisioningResponseContent]: @@ -539,6 +644,111 @@ class AsyncRawDirectoryProvisioningClient: def __init__(self, *, client_wrapper: AsyncClientWrapper): self._client_wrapper = client_wrapper + async def list( + self, + *, + from_: typing.Optional[str] = None, + take: typing.Optional[int] = 50, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncPager[DirectoryProvisioning, ListDirectoryProvisioningsResponseContent]: + """ + Retrieve a list of directory provisioning configurations of a tenant. + + Parameters + ---------- + from_ : typing.Optional[str] + Optional Id from which to start selection. + + take : typing.Optional[int] + Number of results per page. Defaults to 50. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncPager[DirectoryProvisioning, ListDirectoryProvisioningsResponseContent] + The tenant's directory provisioning configuration. See Response Schemas for schema. + """ + _response = await self._client_wrapper.httpx_client.request( + "connections-directory-provisionings", + method="GET", + params={ + "from": from_, + "take": take, + }, + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _parsed_response = typing.cast( + ListDirectoryProvisioningsResponseContent, + parse_obj_as( + type_=ListDirectoryProvisioningsResponseContent, # type: ignore + object_=_response.json(), + ), + ) + _items = _parsed_response.directory_provisionings + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + from_=_parsed_next, + take=take, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + async def get( self, id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> AsyncHttpResponse[GetDirectoryProvisioningResponseContent]: diff --git a/src/auth0/management/connections/raw_client.py b/src/auth0/management/connections/raw_client.py index 2305c939..ed787191 100644 --- a/src/auth0/management/connections/raw_client.py +++ b/src/auth0/management/connections/raw_client.py @@ -201,7 +201,9 @@ def create( request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[CreateConnectionResponseContent]: """ - Creates a new connection according to the JSON object received in body.
+ Creates a new connection according to the JSON object received in body. + + Note: If a connection with the same name was recently deleted and had a large number of associated users, the deletion may still be processing. Creating a new connection with that name before the deletion completes may fail or produce unexpected results. Parameters ---------- @@ -452,6 +454,8 @@ def delete(self, id: str, *, request_options: typing.Optional[RequestOptions] = """ Removes a specific connection from your tenant. This action cannot be undone. Once removed, users can no longer use this connection to authenticate. + Note: If your connection has a large amount of users associated with it, please be aware that this operation can be long running after the response is returned and may impact concurrent create connection requests, if they use an identical connection name. + Parameters ---------- id : str @@ -937,7 +941,9 @@ async def create( request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[CreateConnectionResponseContent]: """ - Creates a new connection according to the JSON object received in body.
+ Creates a new connection according to the JSON object received in body. + + Note: If a connection with the same name was recently deleted and had a large number of associated users, the deletion may still be processing. Creating a new connection with that name before the deletion completes may fail or produce unexpected results. Parameters ---------- @@ -1190,6 +1196,8 @@ async def delete( """ Removes a specific connection from your tenant. This action cannot be undone. Once removed, users can no longer use this connection to authenticate. + Note: If your connection has a large amount of users associated with it, please be aware that this operation can be long running after the response is returned and may impact concurrent create connection requests, if they use an identical connection name. + Parameters ---------- id : str diff --git a/src/auth0/management/core/client_wrapper.py b/src/auth0/management/core/client_wrapper.py index 3984e5ee..e8819991 100644 --- a/src/auth0/management/core/client_wrapper.py +++ b/src/auth0/management/core/client_wrapper.py @@ -21,8 +21,12 @@ def __init__( self._timeout = timeout def get_headers(self) -> typing.Dict[str, str]: + import platform + headers: typing.Dict[str, str] = { "X-Fern-Language": "Python", + "X-Fern-Runtime": f"python/{platform.python_version()}", + "X-Fern-Platform": f"{platform.system().lower()}/{platform.release()}", "X-Fern-SDK-Name": "auth0", "X-Fern-SDK-Version": "0.0.0", **(self.get_custom_headers() or {}), diff --git a/src/auth0/management/core/http_client.py b/src/auth0/management/core/http_client.py index dced9f6b..7c6c936f 100644 --- a/src/auth0/management/core/http_client.py +++ b/src/auth0/management/core/http_client.py @@ -5,7 +5,6 @@ import re import time import typing -import urllib.parse from contextlib import asynccontextmanager, contextmanager from random import random @@ -123,6 +122,30 @@ def _should_retry(response: httpx.Response) -> bool: return response.status_code >= 500 or response.status_code in retryable_400s +def _build_url(base_url: str, path: typing.Optional[str]) -> str: + """ + Build a full URL by joining a base URL with a path. + + This function correctly handles base URLs that contain path prefixes (e.g., tenant-based URLs) + by using string concatenation instead of urllib.parse.urljoin(), which would incorrectly + strip path components when the path starts with '/'. + + Example: + >>> _build_url("https://cloud.example.com/org/tenant/api", "/users") + 'https://cloud.example.com/org/tenant/api/users' + + Args: + base_url: The base URL, which may contain path prefixes. + path: The path to append. Can be None or empty string. + + Returns: + The full URL with base_url and path properly joined. + """ + if not path: + return base_url + return f"{base_url.rstrip('/')}/{path.lstrip('/')}" + + def _maybe_filter_none_from_multipart_data( data: typing.Optional[typing.Any], request_files: typing.Optional[RequestFiles], @@ -192,8 +215,19 @@ def get_request_body( # If both data and json are None, we send json data in the event extra properties are specified json_body = maybe_filter_request_body(json, request_options, omit) - # If you have an empty JSON body, you should just send None - return (json_body if json_body != {} else None), data_body if data_body != {} else None + has_additional_body_parameters = bool( + request_options is not None and request_options.get("additional_body_parameters") + ) + + # Only collapse empty dict to None when the body was not explicitly provided + # and there are no additional body parameters. This preserves explicit empty + # bodies (e.g., when an endpoint has a request body type but all fields are optional). + if json_body == {} and json is None and not has_additional_body_parameters: + json_body = None + if data_body == {} and data is None and not has_additional_body_parameters: + data_body = None + + return json_body, data_body class HttpClient: @@ -283,7 +317,7 @@ def request( response = self.httpx_client.request( method=method, - url=urllib.parse.urljoin(f"{base_url}/", path), + url=_build_url(base_url, path), headers=jsonable_encoder( remove_none_from_dict( { @@ -386,7 +420,7 @@ def stream( with self.httpx_client.stream( method=method, - url=urllib.parse.urljoin(f"{base_url}/", path), + url=_build_url(base_url, path), headers=jsonable_encoder( remove_none_from_dict( { @@ -504,7 +538,7 @@ async def request( # Add the input to each of these and do None-safety checks response = await self.httpx_client.request( method=method, - url=urllib.parse.urljoin(f"{base_url}/", path), + url=_build_url(base_url, path), headers=jsonable_encoder( remove_none_from_dict( { @@ -609,7 +643,7 @@ async def stream( async with self.httpx_client.stream( method=method, - url=urllib.parse.urljoin(f"{base_url}/", path), + url=_build_url(base_url, path), headers=jsonable_encoder( remove_none_from_dict( { diff --git a/src/auth0/management/core/jsonable_encoder.py b/src/auth0/management/core/jsonable_encoder.py index afee3662..f8beaeaf 100644 --- a/src/auth0/management/core/jsonable_encoder.py +++ b/src/auth0/management/core/jsonable_encoder.py @@ -30,6 +30,10 @@ def jsonable_encoder(obj: Any, custom_encoder: Optional[Dict[Any, Callable[[Any], Any]]] = None) -> Any: custom_encoder = custom_encoder or {} + # Generated SDKs use Ellipsis (`...`) as the sentinel value for "OMIT". + # OMIT values should be excluded from serialized payloads. + if obj is Ellipsis: + return None if custom_encoder: if type(obj) in custom_encoder: return custom_encoder[type(obj)](obj) @@ -70,6 +74,8 @@ def jsonable_encoder(obj: Any, custom_encoder: Optional[Dict[Any, Callable[[Any] allowed_keys = set(obj.keys()) for key, value in obj.items(): if key in allowed_keys: + if value is Ellipsis: + continue encoded_key = jsonable_encoder(key, custom_encoder=custom_encoder) encoded_value = jsonable_encoder(value, custom_encoder=custom_encoder) encoded_dict[encoded_key] = encoded_value @@ -77,6 +83,8 @@ def jsonable_encoder(obj: Any, custom_encoder: Optional[Dict[Any, Callable[[Any] if isinstance(obj, (list, set, frozenset, GeneratorType, tuple)): encoded_list = [] for item in obj: + if item is Ellipsis: + continue encoded_list.append(jsonable_encoder(item, custom_encoder=custom_encoder)) return encoded_list diff --git a/src/auth0/management/core/pydantic_utilities.py b/src/auth0/management/core/pydantic_utilities.py index 185e5c4f..12dc057b 100644 --- a/src/auth0/management/core/pydantic_utilities.py +++ b/src/auth0/management/core/pydantic_utilities.py @@ -2,6 +2,7 @@ # nopycln: file import datetime as dt +import inspect from collections import defaultdict from typing import Any, Callable, ClassVar, Dict, List, Mapping, Optional, Set, Tuple, Type, TypeVar, Union, cast @@ -37,7 +38,36 @@ def parse_obj_as(type_: Type[T], object_: Any) -> T: - dealiased_object = convert_and_respect_annotation_metadata(object_=object_, annotation=type_, direction="read") + # convert_and_respect_annotation_metadata is required for TypedDict aliasing. + # + # For Pydantic models, whether we should pre-dealias depends on how the model encodes aliasing: + # - If the model uses real Pydantic aliases (pydantic.Field(alias=...)), then we must pass wire keys through + # unchanged so Pydantic can validate them. + # - If the model encodes aliasing only via FieldMetadata annotations, then we MUST pre-dealias because Pydantic + # will not recognize those aliases during validation. + if inspect.isclass(type_) and issubclass(type_, pydantic.BaseModel): + has_pydantic_aliases = False + if IS_PYDANTIC_V2: + for field_name, field_info in getattr(type_, "model_fields", {}).items(): # type: ignore[attr-defined] + alias = getattr(field_info, "alias", None) + if alias is not None and alias != field_name: + has_pydantic_aliases = True + break + else: + for field in getattr(type_, "__fields__", {}).values(): + alias = getattr(field, "alias", None) + name = getattr(field, "name", None) + if alias is not None and name is not None and alias != name: + has_pydantic_aliases = True + break + + dealiased_object = ( + object_ + if has_pydantic_aliases + else convert_and_respect_annotation_metadata(object_=object_, annotation=type_, direction="read") + ) + else: + dealiased_object = convert_and_respect_annotation_metadata(object_=object_, annotation=type_, direction="read") if IS_PYDANTIC_V2: adapter = pydantic.TypeAdapter(type_) # type: ignore[attr-defined] return adapter.validate_python(dealiased_object) @@ -59,6 +89,43 @@ class UniversalBaseModel(pydantic.BaseModel): protected_namespaces=(), ) + @pydantic.model_validator(mode="before") # type: ignore[attr-defined] + @classmethod + def _coerce_field_names_to_aliases(cls, data: Any) -> Any: + """ + Accept Python field names in input by rewriting them to their Pydantic aliases, + while avoiding silent collisions when a key could refer to multiple fields. + """ + if not isinstance(data, Mapping): + return data + + fields = getattr(cls, "model_fields", {}) # type: ignore[attr-defined] + name_to_alias: Dict[str, str] = {} + alias_to_name: Dict[str, str] = {} + + for name, field_info in fields.items(): + alias = getattr(field_info, "alias", None) or name + name_to_alias[name] = alias + if alias != name: + alias_to_name[alias] = name + + # Detect ambiguous keys: a key that is an alias for one field and a name for another. + ambiguous_keys = set(alias_to_name.keys()).intersection(set(name_to_alias.keys())) + for key in ambiguous_keys: + if key in data and name_to_alias[key] not in data: + raise ValueError( + f"Ambiguous input key '{key}': it is both a field name and an alias. " + "Provide the explicit alias key to disambiguate." + ) + + original_keys = set(data.keys()) + rewritten: Dict[str, Any] = dict(data) + for name, alias in name_to_alias.items(): + if alias != name and name in original_keys and alias not in rewritten: + rewritten[alias] = rewritten.pop(name) + + return rewritten + @pydantic.model_serializer(mode="plain", when_used="json") # type: ignore[attr-defined] def serialize_model(self) -> Any: # type: ignore[name-defined] serialized = self.dict() # type: ignore[attr-defined] @@ -71,6 +138,40 @@ class Config: smart_union = True json_encoders = {dt.datetime: serialize_datetime} + @pydantic.root_validator(pre=True) + def _coerce_field_names_to_aliases(cls, values: Any) -> Any: + """ + Pydantic v1 equivalent of _coerce_field_names_to_aliases. + """ + if not isinstance(values, Mapping): + return values + + fields = getattr(cls, "__fields__", {}) + name_to_alias: Dict[str, str] = {} + alias_to_name: Dict[str, str] = {} + + for name, field in fields.items(): + alias = getattr(field, "alias", None) or name + name_to_alias[name] = alias + if alias != name: + alias_to_name[alias] = name + + ambiguous_keys = set(alias_to_name.keys()).intersection(set(name_to_alias.keys())) + for key in ambiguous_keys: + if key in values and name_to_alias[key] not in values: + raise ValueError( + f"Ambiguous input key '{key}': it is both a field name and an alias. " + "Provide the explicit alias key to disambiguate." + ) + + original_keys = set(values.keys()) + rewritten: Dict[str, Any] = dict(values) + for name, alias in name_to_alias.items(): + if alias != name and name in original_keys and alias not in rewritten: + rewritten[alias] = rewritten.pop(name) + + return rewritten + @classmethod def model_construct(cls: Type["Model"], _fields_set: Optional[Set[str]] = None, **values: Any) -> "Model": dealiased_object = convert_and_respect_annotation_metadata(object_=values, annotation=cls, direction="read") diff --git a/src/auth0/management/custom_domains/client.py b/src/auth0/management/custom_domains/client.py index a7d43b9d..8c15b60b 100644 --- a/src/auth0/management/custom_domains/client.py +++ b/src/auth0/management/custom_domains/client.py @@ -39,8 +39,6 @@ def with_raw_response(self) -> RawCustomDomainsClient: def list( self, *, - take: typing.Optional[int] = 50, - from_: typing.Optional[str] = None, q: typing.Optional[str] = None, fields: typing.Optional[str] = None, include_fields: typing.Optional[bool] = None, @@ -52,12 +50,6 @@ def list( Parameters ---------- - take : typing.Optional[int] - Number of results per page. Defaults to 50. - - from_ : typing.Optional[str] - Optional Id from which to start selection. - q : typing.Optional[str] Query in Lucene query string syntax. @@ -86,8 +78,6 @@ def list( token="YOUR_TOKEN", ) client.custom_domains.list( - take=1, - from_="from", q="q", fields="fields", include_fields=True, @@ -95,13 +85,7 @@ def list( ) """ _response = self._raw_client.list( - take=take, - from_=from_, - q=q, - fields=fields, - include_fields=include_fields, - sort=sort, - request_options=request_options, + q=q, fields=fields, include_fields=include_fields, sort=sort, request_options=request_options ) return _response.data @@ -114,6 +98,7 @@ def create( tls_policy: typing.Optional[CustomDomainTlsPolicyEnum] = OMIT, custom_client_ip_header: typing.Optional[CustomDomainCustomClientIpHeader] = OMIT, domain_metadata: typing.Optional[DomainMetadata] = OMIT, + relying_party_identifier: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> CreateCustomDomainResponseContent: """ @@ -147,6 +132,9 @@ def create( domain_metadata : typing.Optional[DomainMetadata] + relying_party_identifier : typing.Optional[str] + Relying Party ID (rpId) to be used for Passkeys on this custom domain. If not provided, the full domain will be used. + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -174,6 +162,7 @@ def create( tls_policy=tls_policy, custom_client_ip_header=custom_client_ip_header, domain_metadata=domain_metadata, + relying_party_identifier=relying_party_identifier, request_options=request_options, ) return _response.data @@ -248,6 +237,7 @@ def update( tls_policy: typing.Optional[CustomDomainTlsPolicyEnum] = OMIT, custom_client_ip_header: typing.Optional[CustomDomainCustomClientIpHeader] = OMIT, domain_metadata: typing.Optional[DomainMetadata] = OMIT, + relying_party_identifier: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> UpdateCustomDomainResponseContent: """ @@ -287,6 +277,9 @@ def update( domain_metadata : typing.Optional[DomainMetadata] + relying_party_identifier : typing.Optional[str] + Relying Party ID (rpId) to be used for Passkeys on this custom domain. Set to null to remove the rpId and fall back to using the full domain. + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -311,6 +304,7 @@ def update( tls_policy=tls_policy, custom_client_ip_header=custom_client_ip_header, domain_metadata=domain_metadata, + relying_party_identifier=relying_party_identifier, request_options=request_options, ) return _response.data @@ -407,8 +401,6 @@ def with_raw_response(self) -> AsyncRawCustomDomainsClient: async def list( self, *, - take: typing.Optional[int] = 50, - from_: typing.Optional[str] = None, q: typing.Optional[str] = None, fields: typing.Optional[str] = None, include_fields: typing.Optional[bool] = None, @@ -420,12 +412,6 @@ async def list( Parameters ---------- - take : typing.Optional[int] - Number of results per page. Defaults to 50. - - from_ : typing.Optional[str] - Optional Id from which to start selection. - q : typing.Optional[str] Query in Lucene query string syntax. @@ -459,8 +445,6 @@ async def list( async def main() -> None: await client.custom_domains.list( - take=1, - from_="from", q="q", fields="fields", include_fields=True, @@ -471,13 +455,7 @@ async def main() -> None: asyncio.run(main()) """ _response = await self._raw_client.list( - take=take, - from_=from_, - q=q, - fields=fields, - include_fields=include_fields, - sort=sort, - request_options=request_options, + q=q, fields=fields, include_fields=include_fields, sort=sort, request_options=request_options ) return _response.data @@ -490,6 +468,7 @@ async def create( tls_policy: typing.Optional[CustomDomainTlsPolicyEnum] = OMIT, custom_client_ip_header: typing.Optional[CustomDomainCustomClientIpHeader] = OMIT, domain_metadata: typing.Optional[DomainMetadata] = OMIT, + relying_party_identifier: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> CreateCustomDomainResponseContent: """ @@ -523,6 +502,9 @@ async def create( domain_metadata : typing.Optional[DomainMetadata] + relying_party_identifier : typing.Optional[str] + Relying Party ID (rpId) to be used for Passkeys on this custom domain. If not provided, the full domain will be used. + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -558,6 +540,7 @@ async def main() -> None: tls_policy=tls_policy, custom_client_ip_header=custom_client_ip_header, domain_metadata=domain_metadata, + relying_party_identifier=relying_party_identifier, request_options=request_options, ) return _response.data @@ -648,6 +631,7 @@ async def update( tls_policy: typing.Optional[CustomDomainTlsPolicyEnum] = OMIT, custom_client_ip_header: typing.Optional[CustomDomainCustomClientIpHeader] = OMIT, domain_metadata: typing.Optional[DomainMetadata] = OMIT, + relying_party_identifier: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> UpdateCustomDomainResponseContent: """ @@ -687,6 +671,9 @@ async def update( domain_metadata : typing.Optional[DomainMetadata] + relying_party_identifier : typing.Optional[str] + Relying Party ID (rpId) to be used for Passkeys on this custom domain. Set to null to remove the rpId and fall back to using the full domain. + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -719,6 +706,7 @@ async def main() -> None: tls_policy=tls_policy, custom_client_ip_header=custom_client_ip_header, domain_metadata=domain_metadata, + relying_party_identifier=relying_party_identifier, request_options=request_options, ) return _response.data diff --git a/src/auth0/management/custom_domains/raw_client.py b/src/auth0/management/custom_domains/raw_client.py index 34a69304..4c4fbf37 100644 --- a/src/auth0/management/custom_domains/raw_client.py +++ b/src/auth0/management/custom_domains/raw_client.py @@ -38,8 +38,6 @@ def __init__(self, *, client_wrapper: SyncClientWrapper): def list( self, *, - take: typing.Optional[int] = 50, - from_: typing.Optional[str] = None, q: typing.Optional[str] = None, fields: typing.Optional[str] = None, include_fields: typing.Optional[bool] = None, @@ -51,12 +49,6 @@ def list( Parameters ---------- - take : typing.Optional[int] - Number of results per page. Defaults to 50. - - from_ : typing.Optional[str] - Optional Id from which to start selection. - q : typing.Optional[str] Query in Lucene query string syntax. @@ -81,8 +73,6 @@ def list( "custom-domains", method="GET", params={ - "take": take, - "from": from_, "q": q, "fields": fields, "include_fields": include_fields, @@ -147,6 +137,7 @@ def create( tls_policy: typing.Optional[CustomDomainTlsPolicyEnum] = OMIT, custom_client_ip_header: typing.Optional[CustomDomainCustomClientIpHeader] = OMIT, domain_metadata: typing.Optional[DomainMetadata] = OMIT, + relying_party_identifier: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[CreateCustomDomainResponseContent]: """ @@ -180,6 +171,9 @@ def create( domain_metadata : typing.Optional[DomainMetadata] + relying_party_identifier : typing.Optional[str] + Relying Party ID (rpId) to be used for Passkeys on this custom domain. If not provided, the full domain will be used. + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -198,6 +192,7 @@ def create( "tls_policy": tls_policy, "custom_client_ip_header": custom_client_ip_header, "domain_metadata": domain_metadata, + "relying_party_identifier": relying_party_identifier, }, headers={ "content-type": "application/json", @@ -449,6 +444,7 @@ def update( tls_policy: typing.Optional[CustomDomainTlsPolicyEnum] = OMIT, custom_client_ip_header: typing.Optional[CustomDomainCustomClientIpHeader] = OMIT, domain_metadata: typing.Optional[DomainMetadata] = OMIT, + relying_party_identifier: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[UpdateCustomDomainResponseContent]: """ @@ -488,6 +484,9 @@ def update( domain_metadata : typing.Optional[DomainMetadata] + relying_party_identifier : typing.Optional[str] + Relying Party ID (rpId) to be used for Passkeys on this custom domain. Set to null to remove the rpId and fall back to using the full domain. + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -503,6 +502,7 @@ def update( "tls_policy": tls_policy, "custom_client_ip_header": custom_client_ip_header, "domain_metadata": domain_metadata, + "relying_party_identifier": relying_party_identifier, }, headers={ "content-type": "application/json", @@ -772,8 +772,6 @@ def __init__(self, *, client_wrapper: AsyncClientWrapper): async def list( self, *, - take: typing.Optional[int] = 50, - from_: typing.Optional[str] = None, q: typing.Optional[str] = None, fields: typing.Optional[str] = None, include_fields: typing.Optional[bool] = None, @@ -785,12 +783,6 @@ async def list( Parameters ---------- - take : typing.Optional[int] - Number of results per page. Defaults to 50. - - from_ : typing.Optional[str] - Optional Id from which to start selection. - q : typing.Optional[str] Query in Lucene query string syntax. @@ -815,8 +807,6 @@ async def list( "custom-domains", method="GET", params={ - "take": take, - "from": from_, "q": q, "fields": fields, "include_fields": include_fields, @@ -881,6 +871,7 @@ async def create( tls_policy: typing.Optional[CustomDomainTlsPolicyEnum] = OMIT, custom_client_ip_header: typing.Optional[CustomDomainCustomClientIpHeader] = OMIT, domain_metadata: typing.Optional[DomainMetadata] = OMIT, + relying_party_identifier: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[CreateCustomDomainResponseContent]: """ @@ -914,6 +905,9 @@ async def create( domain_metadata : typing.Optional[DomainMetadata] + relying_party_identifier : typing.Optional[str] + Relying Party ID (rpId) to be used for Passkeys on this custom domain. If not provided, the full domain will be used. + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -932,6 +926,7 @@ async def create( "tls_policy": tls_policy, "custom_client_ip_header": custom_client_ip_header, "domain_metadata": domain_metadata, + "relying_party_identifier": relying_party_identifier, }, headers={ "content-type": "application/json", @@ -1185,6 +1180,7 @@ async def update( tls_policy: typing.Optional[CustomDomainTlsPolicyEnum] = OMIT, custom_client_ip_header: typing.Optional[CustomDomainCustomClientIpHeader] = OMIT, domain_metadata: typing.Optional[DomainMetadata] = OMIT, + relying_party_identifier: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[UpdateCustomDomainResponseContent]: """ @@ -1224,6 +1220,9 @@ async def update( domain_metadata : typing.Optional[DomainMetadata] + relying_party_identifier : typing.Optional[str] + Relying Party ID (rpId) to be used for Passkeys on this custom domain. Set to null to remove the rpId and fall back to using the full domain. + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -1239,6 +1238,7 @@ async def update( "tls_policy": tls_policy, "custom_client_ip_header": custom_client_ip_header, "domain_metadata": domain_metadata, + "relying_party_identifier": relying_party_identifier, }, headers={ "content-type": "application/json", diff --git a/src/auth0/management/device_credentials/client.py b/src/auth0/management/device_credentials/client.py index 970e9f24..b10acd55 100644 --- a/src/auth0/management/device_credentials/client.py +++ b/src/auth0/management/device_credentials/client.py @@ -7,6 +7,7 @@ from ..core.request_options import RequestOptions from ..types.create_public_key_device_credential_response_content import CreatePublicKeyDeviceCredentialResponseContent from ..types.device_credential import DeviceCredential +from ..types.device_credential_public_key_type_enum import DeviceCredentialPublicKeyTypeEnum from ..types.device_credential_type_enum import DeviceCredentialTypeEnum from ..types.list_device_credentials_offset_paginated_response_content import ( ListDeviceCredentialsOffsetPaginatedResponseContent, @@ -121,6 +122,7 @@ def create_public_key( self, *, device_name: str, + type: DeviceCredentialPublicKeyTypeEnum, value: str, device_id: str, client_id: typing.Optional[str] = OMIT, @@ -136,6 +138,8 @@ def create_public_key( device_name : str Name for this device easily recognized by owner. + type : DeviceCredentialPublicKeyTypeEnum + value : str Base64 encoded string containing the credential. @@ -162,12 +166,14 @@ def create_public_key( ) client.device_credentials.create_public_key( device_name="device_name", + type="public_key", value="value", device_id="device_id", ) """ _response = self._raw_client.create_public_key( device_name=device_name, + type=type, value=value, device_id=device_id, client_id=client_id, @@ -319,6 +325,7 @@ async def create_public_key( self, *, device_name: str, + type: DeviceCredentialPublicKeyTypeEnum, value: str, device_id: str, client_id: typing.Optional[str] = OMIT, @@ -334,6 +341,8 @@ async def create_public_key( device_name : str Name for this device easily recognized by owner. + type : DeviceCredentialPublicKeyTypeEnum + value : str Base64 encoded string containing the credential. @@ -365,6 +374,7 @@ async def create_public_key( async def main() -> None: await client.device_credentials.create_public_key( device_name="device_name", + type="public_key", value="value", device_id="device_id", ) @@ -374,6 +384,7 @@ async def main() -> None: """ _response = await self._raw_client.create_public_key( device_name=device_name, + type=type, value=value, device_id=device_id, client_id=client_id, diff --git a/src/auth0/management/device_credentials/raw_client.py b/src/auth0/management/device_credentials/raw_client.py index d1975d66..edca458b 100644 --- a/src/auth0/management/device_credentials/raw_client.py +++ b/src/auth0/management/device_credentials/raw_client.py @@ -17,6 +17,7 @@ from ..errors.unauthorized_error import UnauthorizedError from ..types.create_public_key_device_credential_response_content import CreatePublicKeyDeviceCredentialResponseContent from ..types.device_credential import DeviceCredential +from ..types.device_credential_public_key_type_enum import DeviceCredentialPublicKeyTypeEnum from ..types.device_credential_type_enum import DeviceCredentialTypeEnum from ..types.list_device_credentials_offset_paginated_response_content import ( ListDeviceCredentialsOffsetPaginatedResponseContent, @@ -173,6 +174,7 @@ def create_public_key( self, *, device_name: str, + type: DeviceCredentialPublicKeyTypeEnum, value: str, device_id: str, client_id: typing.Optional[str] = OMIT, @@ -188,6 +190,8 @@ def create_public_key( device_name : str Name for this device easily recognized by owner. + type : DeviceCredentialPublicKeyTypeEnum + value : str Base64 encoded string containing the credential. @@ -210,10 +214,10 @@ def create_public_key( method="POST", json={ "device_name": device_name, + "type": type, "value": value, "device_id": device_id, "client_id": client_id, - "type": "public_key", }, headers={ "content-type": "application/json", @@ -515,6 +519,7 @@ async def create_public_key( self, *, device_name: str, + type: DeviceCredentialPublicKeyTypeEnum, value: str, device_id: str, client_id: typing.Optional[str] = OMIT, @@ -530,6 +535,8 @@ async def create_public_key( device_name : str Name for this device easily recognized by owner. + type : DeviceCredentialPublicKeyTypeEnum + value : str Base64 encoded string containing the credential. @@ -552,10 +559,10 @@ async def create_public_key( method="POST", json={ "device_name": device_name, + "type": type, "value": value, "device_id": device_id, "client_id": client_id, - "type": "public_key", }, headers={ "content-type": "application/json", diff --git a/src/auth0/management/errors/__init__.py b/src/auth0/management/errors/__init__.py index e0195d4b..c80a4930 100644 --- a/src/auth0/management/errors/__init__.py +++ b/src/auth0/management/errors/__init__.py @@ -13,6 +13,7 @@ from .internal_server_error import InternalServerError from .not_found_error import NotFoundError from .payment_required_error import PaymentRequiredError + from .precondition_failed_error import PreconditionFailedError from .service_unavailable_error import ServiceUnavailableError from .too_many_requests_error import TooManyRequestsError from .unauthorized_error import UnauthorizedError @@ -24,6 +25,7 @@ "InternalServerError": ".internal_server_error", "NotFoundError": ".not_found_error", "PaymentRequiredError": ".payment_required_error", + "PreconditionFailedError": ".precondition_failed_error", "ServiceUnavailableError": ".service_unavailable_error", "TooManyRequestsError": ".too_many_requests_error", "UnauthorizedError": ".unauthorized_error", @@ -59,6 +61,7 @@ def __dir__(): "InternalServerError", "NotFoundError", "PaymentRequiredError", + "PreconditionFailedError", "ServiceUnavailableError", "TooManyRequestsError", "UnauthorizedError", diff --git a/src/auth0/management/errors/precondition_failed_error.py b/src/auth0/management/errors/precondition_failed_error.py new file mode 100644 index 00000000..1a576b21 --- /dev/null +++ b/src/auth0/management/errors/precondition_failed_error.py @@ -0,0 +1,10 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from ..core.api_error import ApiError + + +class PreconditionFailedError(ApiError): + def __init__(self, body: typing.Any, headers: typing.Optional[typing.Dict[str, str]] = None): + super().__init__(status_code=412, headers=headers, body=body) diff --git a/src/auth0/management/event_streams/client.py b/src/auth0/management/event_streams/client.py index 571892a7..86e6bf19 100644 --- a/src/auth0/management/event_streams/client.py +++ b/src/auth0/management/event_streams/client.py @@ -5,6 +5,7 @@ import typing from ..core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from ..core.pagination import AsyncPager, SyncPager from ..core.request_options import RequestOptions from ..types.create_event_stream_response_content import CreateEventStreamResponseContent from ..types.create_event_stream_test_event_response_content import CreateEventStreamTestEventResponseContent @@ -14,6 +15,7 @@ from ..types.event_stream_subscription import EventStreamSubscription from ..types.event_stream_test_event_type_enum import EventStreamTestEventTypeEnum from ..types.get_event_stream_response_content import GetEventStreamResponseContent +from ..types.list_event_streams_response_content import ListEventStreamsResponseContent from ..types.test_event_data_content import TestEventDataContent from ..types.update_event_stream_response_content import UpdateEventStreamResponseContent from .raw_client import AsyncRawEventStreamsClient, RawEventStreamsClient @@ -50,7 +52,7 @@ def list( from_: typing.Optional[str] = None, take: typing.Optional[int] = 50, request_options: typing.Optional[RequestOptions] = None, - ) -> typing.List[EventStreamResponseContent]: + ) -> SyncPager[EventStreamResponseContent, ListEventStreamsResponseContent]: """ Parameters ---------- @@ -65,7 +67,7 @@ def list( Returns ------- - typing.List[EventStreamResponseContent] + SyncPager[EventStreamResponseContent, ListEventStreamsResponseContent] Event streams successfully retrieved. Examples @@ -75,13 +77,17 @@ def list( client = Auth0( token="YOUR_TOKEN", ) - client.event_streams.list( + response = client.event_streams.list( from_="from", take=1, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list(from_=from_, take=take, request_options=request_options) - return _response.data + return self._raw_client.list(from_=from_, take=take, request_options=request_options) def create( self, *, request: EventStreamsCreateRequest, request_options: typing.Optional[RequestOptions] = None @@ -115,9 +121,11 @@ def create( client.event_streams.create( request=CreateEventStreamWebHookRequestContent( destination=EventStreamWebhookDestination( + type="webhook", configuration=EventStreamWebhookConfiguration( webhook_endpoint="webhook_endpoint", webhook_authorization=EventStreamWebhookBasicAuth( + method="basic", username="username", ), ), @@ -322,7 +330,7 @@ async def list( from_: typing.Optional[str] = None, take: typing.Optional[int] = 50, request_options: typing.Optional[RequestOptions] = None, - ) -> typing.List[EventStreamResponseContent]: + ) -> AsyncPager[EventStreamResponseContent, ListEventStreamsResponseContent]: """ Parameters ---------- @@ -337,7 +345,7 @@ async def list( Returns ------- - typing.List[EventStreamResponseContent] + AsyncPager[EventStreamResponseContent, ListEventStreamsResponseContent] Event streams successfully retrieved. Examples @@ -352,16 +360,21 @@ async def list( async def main() -> None: - await client.event_streams.list( + response = await client.event_streams.list( from_="from", take=1, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list(from_=from_, take=take, request_options=request_options) - return _response.data + return await self._raw_client.list(from_=from_, take=take, request_options=request_options) async def create( self, *, request: EventStreamsCreateRequest, request_options: typing.Optional[RequestOptions] = None @@ -400,9 +413,11 @@ async def main() -> None: await client.event_streams.create( request=CreateEventStreamWebHookRequestContent( destination=EventStreamWebhookDestination( + type="webhook", configuration=EventStreamWebhookConfiguration( webhook_endpoint="webhook_endpoint", webhook_authorization=EventStreamWebhookBasicAuth( + method="basic", username="username", ), ), diff --git a/src/auth0/management/event_streams/raw_client.py b/src/auth0/management/event_streams/raw_client.py index 159e1ce6..aa450f86 100644 --- a/src/auth0/management/event_streams/raw_client.py +++ b/src/auth0/management/event_streams/raw_client.py @@ -7,6 +7,7 @@ from ..core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ..core.http_response import AsyncHttpResponse, HttpResponse from ..core.jsonable_encoder import jsonable_encoder +from ..core.pagination import AsyncPager, SyncPager from ..core.pydantic_utilities import parse_obj_as from ..core.request_options import RequestOptions from ..core.serialization import convert_and_respect_annotation_metadata @@ -24,6 +25,7 @@ from ..types.event_stream_subscription import EventStreamSubscription from ..types.event_stream_test_event_type_enum import EventStreamTestEventTypeEnum from ..types.get_event_stream_response_content import GetEventStreamResponseContent +from ..types.list_event_streams_response_content import ListEventStreamsResponseContent from ..types.test_event_data_content import TestEventDataContent from ..types.update_event_stream_response_content import UpdateEventStreamResponseContent from .types.event_streams_create_request import EventStreamsCreateRequest @@ -42,7 +44,7 @@ def list( from_: typing.Optional[str] = None, take: typing.Optional[int] = 50, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[typing.List[EventStreamResponseContent]]: + ) -> SyncPager[EventStreamResponseContent, ListEventStreamsResponseContent]: """ Parameters ---------- @@ -57,7 +59,7 @@ def list( Returns ------- - HttpResponse[typing.List[EventStreamResponseContent]] + SyncPager[EventStreamResponseContent, ListEventStreamsResponseContent] Event streams successfully retrieved. """ _response = self._client_wrapper.httpx_client.request( @@ -71,14 +73,22 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( - typing.List[EventStreamResponseContent], + _parsed_response = typing.cast( + ListEventStreamsResponseContent, parse_obj_as( - type_=typing.List[EventStreamResponseContent], # type: ignore + type_=ListEventStreamsResponseContent, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.event_streams + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + from_=_parsed_next, + take=take, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) if _response.status_code == 400: raise BadRequestError( headers=dict(_response.headers), @@ -588,7 +598,7 @@ async def list( from_: typing.Optional[str] = None, take: typing.Optional[int] = 50, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[typing.List[EventStreamResponseContent]]: + ) -> AsyncPager[EventStreamResponseContent, ListEventStreamsResponseContent]: """ Parameters ---------- @@ -603,7 +613,7 @@ async def list( Returns ------- - AsyncHttpResponse[typing.List[EventStreamResponseContent]] + AsyncPager[EventStreamResponseContent, ListEventStreamsResponseContent] Event streams successfully retrieved. """ _response = await self._client_wrapper.httpx_client.request( @@ -617,14 +627,25 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( - typing.List[EventStreamResponseContent], + _parsed_response = typing.cast( + ListEventStreamsResponseContent, parse_obj_as( - type_=typing.List[EventStreamResponseContent], # type: ignore + type_=ListEventStreamsResponseContent, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.event_streams + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + from_=_parsed_next, + take=take, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) if _response.status_code == 400: raise BadRequestError( headers=dict(_response.headers), diff --git a/src/auth0/management/flows/__init__.py b/src/auth0/management/flows/__init__.py index 271eb0de..4b3da630 100644 --- a/src/auth0/management/flows/__init__.py +++ b/src/auth0/management/flows/__init__.py @@ -6,8 +6,15 @@ from importlib import import_module if typing.TYPE_CHECKING: + from .types import FlowsListRequestHydrateItem from . import executions, vault -_dynamic_imports: typing.Dict[str, str] = {"executions": ".executions", "vault": ".vault"} + from .executions import ExecutionsGetRequestHydrateItem +_dynamic_imports: typing.Dict[str, str] = { + "ExecutionsGetRequestHydrateItem": ".executions", + "FlowsListRequestHydrateItem": ".types", + "executions": ".executions", + "vault": ".vault", +} def __getattr__(attr_name: str) -> typing.Any: @@ -31,4 +38,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["executions", "vault"] +__all__ = ["ExecutionsGetRequestHydrateItem", "FlowsListRequestHydrateItem", "executions", "vault"] diff --git a/src/auth0/management/flows/client.py b/src/auth0/management/flows/client.py index ce824bdb..6eb4d303 100644 --- a/src/auth0/management/flows/client.py +++ b/src/auth0/management/flows/client.py @@ -15,6 +15,7 @@ from ..types.list_flows_offset_paginated_response_content import ListFlowsOffsetPaginatedResponseContent from ..types.update_flow_response_content import UpdateFlowResponseContent from .raw_client import AsyncRawFlowsClient, RawFlowsClient +from .types.flows_list_request_hydrate_item import FlowsListRequestHydrateItem if typing.TYPE_CHECKING: from .executions.client import AsyncExecutionsClient, ExecutionsClient @@ -48,7 +49,7 @@ def list( per_page: typing.Optional[int] = 50, include_totals: typing.Optional[bool] = True, hydrate: typing.Optional[ - typing.Union[typing.Literal["form_count"], typing.Sequence[typing.Literal["form_count"]]] + typing.Union[FlowsListRequestHydrateItem, typing.Sequence[FlowsListRequestHydrateItem]] ] = None, synchronous: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -65,7 +66,7 @@ def list( include_totals : typing.Optional[bool] Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). - hydrate : typing.Optional[typing.Union[typing.Literal["form_count"], typing.Sequence[typing.Literal["form_count"]]]] + hydrate : typing.Optional[typing.Union[FlowsListRequestHydrateItem, typing.Sequence[FlowsListRequestHydrateItem]]] hydration param synchronous : typing.Optional[bool] @@ -293,7 +294,7 @@ async def list( per_page: typing.Optional[int] = 50, include_totals: typing.Optional[bool] = True, hydrate: typing.Optional[ - typing.Union[typing.Literal["form_count"], typing.Sequence[typing.Literal["form_count"]]] + typing.Union[FlowsListRequestHydrateItem, typing.Sequence[FlowsListRequestHydrateItem]] ] = None, synchronous: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -310,7 +311,7 @@ async def list( include_totals : typing.Optional[bool] Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). - hydrate : typing.Optional[typing.Union[typing.Literal["form_count"], typing.Sequence[typing.Literal["form_count"]]]] + hydrate : typing.Optional[typing.Union[FlowsListRequestHydrateItem, typing.Sequence[FlowsListRequestHydrateItem]]] hydration param synchronous : typing.Optional[bool] diff --git a/src/auth0/management/flows/executions/__init__.py b/src/auth0/management/flows/executions/__init__.py index 5cde0202..2f3cd79e 100644 --- a/src/auth0/management/flows/executions/__init__.py +++ b/src/auth0/management/flows/executions/__init__.py @@ -2,3 +2,33 @@ # isort: skip_file +import typing +from importlib import import_module + +if typing.TYPE_CHECKING: + from .types import ExecutionsGetRequestHydrateItem +_dynamic_imports: typing.Dict[str, str] = {"ExecutionsGetRequestHydrateItem": ".types"} + + +def __getattr__(attr_name: str) -> typing.Any: + module_name = _dynamic_imports.get(attr_name) + if module_name is None: + raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") + try: + module = import_module(module_name, __package__) + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) + except ImportError as e: + raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e + except AttributeError as e: + raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e + + +def __dir__(): + lazy_attrs = list(_dynamic_imports.keys()) + return sorted(lazy_attrs) + + +__all__ = ["ExecutionsGetRequestHydrateItem"] diff --git a/src/auth0/management/flows/executions/client.py b/src/auth0/management/flows/executions/client.py index a7ac2ea2..f48b4fda 100644 --- a/src/auth0/management/flows/executions/client.py +++ b/src/auth0/management/flows/executions/client.py @@ -9,6 +9,7 @@ from ...types.get_flow_execution_response_content import GetFlowExecutionResponseContent from ...types.list_flow_executions_paginated_response_content import ListFlowExecutionsPaginatedResponseContent from .raw_client import AsyncRawExecutionsClient, RawExecutionsClient +from .types.executions_get_request_hydrate_item import ExecutionsGetRequestHydrateItem class ExecutionsClient: @@ -80,7 +81,7 @@ def get( execution_id: str, *, hydrate: typing.Optional[ - typing.Union[typing.Literal["debug"], typing.Sequence[typing.Literal["debug"]]] + typing.Union[ExecutionsGetRequestHydrateItem, typing.Sequence[ExecutionsGetRequestHydrateItem]] ] = None, request_options: typing.Optional[RequestOptions] = None, ) -> GetFlowExecutionResponseContent: @@ -93,7 +94,7 @@ def get( execution_id : str Flow execution id - hydrate : typing.Optional[typing.Union[typing.Literal["debug"], typing.Sequence[typing.Literal["debug"]]]] + hydrate : typing.Optional[typing.Union[ExecutionsGetRequestHydrateItem, typing.Sequence[ExecutionsGetRequestHydrateItem]]] Hydration param request_options : typing.Optional[RequestOptions] @@ -232,7 +233,7 @@ async def get( execution_id: str, *, hydrate: typing.Optional[ - typing.Union[typing.Literal["debug"], typing.Sequence[typing.Literal["debug"]]] + typing.Union[ExecutionsGetRequestHydrateItem, typing.Sequence[ExecutionsGetRequestHydrateItem]] ] = None, request_options: typing.Optional[RequestOptions] = None, ) -> GetFlowExecutionResponseContent: @@ -245,7 +246,7 @@ async def get( execution_id : str Flow execution id - hydrate : typing.Optional[typing.Union[typing.Literal["debug"], typing.Sequence[typing.Literal["debug"]]]] + hydrate : typing.Optional[typing.Union[ExecutionsGetRequestHydrateItem, typing.Sequence[ExecutionsGetRequestHydrateItem]]] Hydration param request_options : typing.Optional[RequestOptions] diff --git a/src/auth0/management/flows/executions/raw_client.py b/src/auth0/management/flows/executions/raw_client.py index d181e41f..fb3482b7 100644 --- a/src/auth0/management/flows/executions/raw_client.py +++ b/src/auth0/management/flows/executions/raw_client.py @@ -17,6 +17,7 @@ from ...types.flow_execution_summary import FlowExecutionSummary from ...types.get_flow_execution_response_content import GetFlowExecutionResponseContent from ...types.list_flow_executions_paginated_response_content import ListFlowExecutionsPaginatedResponseContent +from .types.executions_get_request_hydrate_item import ExecutionsGetRequestHydrateItem class RawExecutionsClient: @@ -134,7 +135,7 @@ def get( execution_id: str, *, hydrate: typing.Optional[ - typing.Union[typing.Literal["debug"], typing.Sequence[typing.Literal["debug"]]] + typing.Union[ExecutionsGetRequestHydrateItem, typing.Sequence[ExecutionsGetRequestHydrateItem]] ] = None, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[GetFlowExecutionResponseContent]: @@ -147,7 +148,7 @@ def get( execution_id : str Flow execution id - hydrate : typing.Optional[typing.Union[typing.Literal["debug"], typing.Sequence[typing.Literal["debug"]]]] + hydrate : typing.Optional[typing.Union[ExecutionsGetRequestHydrateItem, typing.Sequence[ExecutionsGetRequestHydrateItem]]] Hydration param request_options : typing.Optional[RequestOptions] @@ -420,7 +421,7 @@ async def get( execution_id: str, *, hydrate: typing.Optional[ - typing.Union[typing.Literal["debug"], typing.Sequence[typing.Literal["debug"]]] + typing.Union[ExecutionsGetRequestHydrateItem, typing.Sequence[ExecutionsGetRequestHydrateItem]] ] = None, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[GetFlowExecutionResponseContent]: @@ -433,7 +434,7 @@ async def get( execution_id : str Flow execution id - hydrate : typing.Optional[typing.Union[typing.Literal["debug"], typing.Sequence[typing.Literal["debug"]]]] + hydrate : typing.Optional[typing.Union[ExecutionsGetRequestHydrateItem, typing.Sequence[ExecutionsGetRequestHydrateItem]]] Hydration param request_options : typing.Optional[RequestOptions] diff --git a/src/auth0/management/flows/executions/types/__init__.py b/src/auth0/management/flows/executions/types/__init__.py new file mode 100644 index 00000000..72e92985 --- /dev/null +++ b/src/auth0/management/flows/executions/types/__init__.py @@ -0,0 +1,34 @@ +# This file was auto-generated by Fern from our API Definition. + +# isort: skip_file + +import typing +from importlib import import_module + +if typing.TYPE_CHECKING: + from .executions_get_request_hydrate_item import ExecutionsGetRequestHydrateItem +_dynamic_imports: typing.Dict[str, str] = {"ExecutionsGetRequestHydrateItem": ".executions_get_request_hydrate_item"} + + +def __getattr__(attr_name: str) -> typing.Any: + module_name = _dynamic_imports.get(attr_name) + if module_name is None: + raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") + try: + module = import_module(module_name, __package__) + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) + except ImportError as e: + raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e + except AttributeError as e: + raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e + + +def __dir__(): + lazy_attrs = list(_dynamic_imports.keys()) + return sorted(lazy_attrs) + + +__all__ = ["ExecutionsGetRequestHydrateItem"] diff --git a/src/auth0/management/flows/executions/types/executions_get_request_hydrate_item.py b/src/auth0/management/flows/executions/types/executions_get_request_hydrate_item.py new file mode 100644 index 00000000..fb331973 --- /dev/null +++ b/src/auth0/management/flows/executions/types/executions_get_request_hydrate_item.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ExecutionsGetRequestHydrateItem = typing.Union[typing.Literal["debug"], typing.Any] diff --git a/src/auth0/management/flows/raw_client.py b/src/auth0/management/flows/raw_client.py index e8f4cb74..d21eb8e6 100644 --- a/src/auth0/management/flows/raw_client.py +++ b/src/auth0/management/flows/raw_client.py @@ -23,6 +23,7 @@ from ..types.get_flow_response_content import GetFlowResponseContent from ..types.list_flows_offset_paginated_response_content import ListFlowsOffsetPaginatedResponseContent from ..types.update_flow_response_content import UpdateFlowResponseContent +from .types.flows_list_request_hydrate_item import FlowsListRequestHydrateItem # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -39,7 +40,7 @@ def list( per_page: typing.Optional[int] = 50, include_totals: typing.Optional[bool] = True, hydrate: typing.Optional[ - typing.Union[typing.Literal["form_count"], typing.Sequence[typing.Literal["form_count"]]] + typing.Union[FlowsListRequestHydrateItem, typing.Sequence[FlowsListRequestHydrateItem]] ] = None, synchronous: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -56,7 +57,7 @@ def list( include_totals : typing.Optional[bool] Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). - hydrate : typing.Optional[typing.Union[typing.Literal["form_count"], typing.Sequence[typing.Literal["form_count"]]]] + hydrate : typing.Optional[typing.Union[FlowsListRequestHydrateItem, typing.Sequence[FlowsListRequestHydrateItem]]] hydration param synchronous : typing.Optional[bool] @@ -547,7 +548,7 @@ async def list( per_page: typing.Optional[int] = 50, include_totals: typing.Optional[bool] = True, hydrate: typing.Optional[ - typing.Union[typing.Literal["form_count"], typing.Sequence[typing.Literal["form_count"]]] + typing.Union[FlowsListRequestHydrateItem, typing.Sequence[FlowsListRequestHydrateItem]] ] = None, synchronous: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -564,7 +565,7 @@ async def list( include_totals : typing.Optional[bool] Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). - hydrate : typing.Optional[typing.Union[typing.Literal["form_count"], typing.Sequence[typing.Literal["form_count"]]]] + hydrate : typing.Optional[typing.Union[FlowsListRequestHydrateItem, typing.Sequence[FlowsListRequestHydrateItem]]] hydration param synchronous : typing.Optional[bool] diff --git a/src/auth0/management/flows/types/__init__.py b/src/auth0/management/flows/types/__init__.py new file mode 100644 index 00000000..8313e266 --- /dev/null +++ b/src/auth0/management/flows/types/__init__.py @@ -0,0 +1,34 @@ +# This file was auto-generated by Fern from our API Definition. + +# isort: skip_file + +import typing +from importlib import import_module + +if typing.TYPE_CHECKING: + from .flows_list_request_hydrate_item import FlowsListRequestHydrateItem +_dynamic_imports: typing.Dict[str, str] = {"FlowsListRequestHydrateItem": ".flows_list_request_hydrate_item"} + + +def __getattr__(attr_name: str) -> typing.Any: + module_name = _dynamic_imports.get(attr_name) + if module_name is None: + raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") + try: + module = import_module(module_name, __package__) + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) + except ImportError as e: + raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e + except AttributeError as e: + raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e + + +def __dir__(): + lazy_attrs = list(_dynamic_imports.keys()) + return sorted(lazy_attrs) + + +__all__ = ["FlowsListRequestHydrateItem"] diff --git a/src/auth0/management/flows/types/flows_list_request_hydrate_item.py b/src/auth0/management/flows/types/flows_list_request_hydrate_item.py new file mode 100644 index 00000000..fce38c8a --- /dev/null +++ b/src/auth0/management/flows/types/flows_list_request_hydrate_item.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowsListRequestHydrateItem = typing.Union[typing.Literal["form_count"], typing.Any] diff --git a/src/auth0/management/flows/vault/connections/client.py b/src/auth0/management/flows/vault/connections/client.py index b6a1f871..2f984068 100644 --- a/src/auth0/management/flows/vault/connections/client.py +++ b/src/auth0/management/flows/vault/connections/client.py @@ -118,7 +118,9 @@ def create( client.flows.vault.connections.create( request=CreateFlowsVaultConnectionActivecampaignApiKey( name="name", + app_id="ACTIVECAMPAIGN", setup=FlowsVaultConnectioSetupApiKeyWithBaseUrl( + type="API_KEY", api_key="api_key", base_url="base_url", ), @@ -341,7 +343,9 @@ async def main() -> None: await client.flows.vault.connections.create( request=CreateFlowsVaultConnectionActivecampaignApiKey( name="name", + app_id="ACTIVECAMPAIGN", setup=FlowsVaultConnectioSetupApiKeyWithBaseUrl( + type="API_KEY", api_key="api_key", base_url="base_url", ), diff --git a/src/auth0/management/groups/__init__.py b/src/auth0/management/groups/__init__.py new file mode 100644 index 00000000..6184be4a --- /dev/null +++ b/src/auth0/management/groups/__init__.py @@ -0,0 +1,34 @@ +# This file was auto-generated by Fern from our API Definition. + +# isort: skip_file + +import typing +from importlib import import_module + +if typing.TYPE_CHECKING: + from . import members +_dynamic_imports: typing.Dict[str, str] = {"members": ".members"} + + +def __getattr__(attr_name: str) -> typing.Any: + module_name = _dynamic_imports.get(attr_name) + if module_name is None: + raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") + try: + module = import_module(module_name, __package__) + if module_name == f".{attr_name}": + return module + else: + return getattr(module, attr_name) + except ImportError as e: + raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e + except AttributeError as e: + raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e + + +def __dir__(): + lazy_attrs = list(_dynamic_imports.keys()) + return sorted(lazy_attrs) + + +__all__ = ["members"] diff --git a/src/auth0/management/groups/client.py b/src/auth0/management/groups/client.py new file mode 100644 index 00000000..fe17be7b --- /dev/null +++ b/src/auth0/management/groups/client.py @@ -0,0 +1,305 @@ +# This file was auto-generated by Fern from our API Definition. + +from __future__ import annotations + +import typing + +from ..core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from ..core.pagination import AsyncPager, SyncPager +from ..core.request_options import RequestOptions +from ..types.get_group_response_content import GetGroupResponseContent +from ..types.group import Group +from ..types.list_groups_paginated_response_content import ListGroupsPaginatedResponseContent +from .raw_client import AsyncRawGroupsClient, RawGroupsClient + +if typing.TYPE_CHECKING: + from .members.client import AsyncMembersClient, MembersClient + + +class GroupsClient: + def __init__(self, *, client_wrapper: SyncClientWrapper): + self._raw_client = RawGroupsClient(client_wrapper=client_wrapper) + self._client_wrapper = client_wrapper + self._members: typing.Optional[MembersClient] = None + + @property + def with_raw_response(self) -> RawGroupsClient: + """ + Retrieves a raw implementation of this client that returns raw responses. + + Returns + ------- + RawGroupsClient + """ + return self._raw_client + + def list( + self, + *, + connection_id: typing.Optional[str] = None, + name: typing.Optional[str] = None, + external_id: typing.Optional[str] = None, + fields: typing.Optional[str] = None, + include_fields: typing.Optional[bool] = None, + from_: typing.Optional[str] = None, + take: typing.Optional[int] = 50, + request_options: typing.Optional[RequestOptions] = None, + ) -> SyncPager[Group, ListGroupsPaginatedResponseContent]: + """ + List all groups in your tenant. + + Parameters + ---------- + connection_id : typing.Optional[str] + Filter groups by connection ID. + + name : typing.Optional[str] + Filter groups by name. + + external_id : typing.Optional[str] + Filter groups by external ID. + + fields : typing.Optional[str] + A comma separated list of fields to include or exclude (depending on include_fields) from the result, empty to retrieve all fields + + include_fields : typing.Optional[bool] + Whether specified fields are to be included (true) or excluded (false). + + from_ : typing.Optional[str] + Optional Id from which to start selection. + + take : typing.Optional[int] + Number of results per page. Defaults to 50. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + SyncPager[Group, ListGroupsPaginatedResponseContent] + Groups successfully retrieved. + + Examples + -------- + from auth0 import Auth0 + + client = Auth0( + token="YOUR_TOKEN", + ) + response = client.groups.list( + connection_id="connection_id", + name="name", + external_id="external_id", + fields="fields", + include_fields=True, + from_="from", + take=1, + ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page + """ + return self._raw_client.list( + connection_id=connection_id, + name=name, + external_id=external_id, + fields=fields, + include_fields=include_fields, + from_=from_, + take=take, + request_options=request_options, + ) + + def get(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> GetGroupResponseContent: + """ + Retrieve a group by its ID. + + Parameters + ---------- + id : str + Unique identifier for the group (service-generated). + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + GetGroupResponseContent + Group successfully retrieved. + + Examples + -------- + from auth0 import Auth0 + + client = Auth0( + token="YOUR_TOKEN", + ) + client.groups.get( + id="id", + ) + """ + _response = self._raw_client.get(id, request_options=request_options) + return _response.data + + @property + def members(self): + if self._members is None: + from .members.client import MembersClient # noqa: E402 + + self._members = MembersClient(client_wrapper=self._client_wrapper) + return self._members + + +class AsyncGroupsClient: + def __init__(self, *, client_wrapper: AsyncClientWrapper): + self._raw_client = AsyncRawGroupsClient(client_wrapper=client_wrapper) + self._client_wrapper = client_wrapper + self._members: typing.Optional[AsyncMembersClient] = None + + @property + def with_raw_response(self) -> AsyncRawGroupsClient: + """ + Retrieves a raw implementation of this client that returns raw responses. + + Returns + ------- + AsyncRawGroupsClient + """ + return self._raw_client + + async def list( + self, + *, + connection_id: typing.Optional[str] = None, + name: typing.Optional[str] = None, + external_id: typing.Optional[str] = None, + fields: typing.Optional[str] = None, + include_fields: typing.Optional[bool] = None, + from_: typing.Optional[str] = None, + take: typing.Optional[int] = 50, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncPager[Group, ListGroupsPaginatedResponseContent]: + """ + List all groups in your tenant. + + Parameters + ---------- + connection_id : typing.Optional[str] + Filter groups by connection ID. + + name : typing.Optional[str] + Filter groups by name. + + external_id : typing.Optional[str] + Filter groups by external ID. + + fields : typing.Optional[str] + A comma separated list of fields to include or exclude (depending on include_fields) from the result, empty to retrieve all fields + + include_fields : typing.Optional[bool] + Whether specified fields are to be included (true) or excluded (false). + + from_ : typing.Optional[str] + Optional Id from which to start selection. + + take : typing.Optional[int] + Number of results per page. Defaults to 50. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncPager[Group, ListGroupsPaginatedResponseContent] + Groups successfully retrieved. + + Examples + -------- + import asyncio + + from auth0 import AsyncAuth0 + + client = AsyncAuth0( + token="YOUR_TOKEN", + ) + + + async def main() -> None: + response = await client.groups.list( + connection_id="connection_id", + name="name", + external_id="external_id", + fields="fields", + include_fields=True, + from_="from", + take=1, + ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page + + + asyncio.run(main()) + """ + return await self._raw_client.list( + connection_id=connection_id, + name=name, + external_id=external_id, + fields=fields, + include_fields=include_fields, + from_=from_, + take=take, + request_options=request_options, + ) + + async def get(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> GetGroupResponseContent: + """ + Retrieve a group by its ID. + + Parameters + ---------- + id : str + Unique identifier for the group (service-generated). + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + GetGroupResponseContent + Group successfully retrieved. + + Examples + -------- + import asyncio + + from auth0 import AsyncAuth0 + + client = AsyncAuth0( + token="YOUR_TOKEN", + ) + + + async def main() -> None: + await client.groups.get( + id="id", + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.get(id, request_options=request_options) + return _response.data + + @property + def members(self): + if self._members is None: + from .members.client import AsyncMembersClient # noqa: E402 + + self._members = AsyncMembersClient(client_wrapper=self._client_wrapper) + return self._members diff --git a/src/auth0/management/types/connection_strategy_version_enum_azure_ad.py b/src/auth0/management/groups/members/__init__.py similarity index 60% rename from src/auth0/management/types/connection_strategy_version_enum_azure_ad.py rename to src/auth0/management/groups/members/__init__.py index 455fe040..5cde0202 100644 --- a/src/auth0/management/types/connection_strategy_version_enum_azure_ad.py +++ b/src/auth0/management/groups/members/__init__.py @@ -1,3 +1,4 @@ # This file was auto-generated by Fern from our API Definition. -ConnectionStrategyVersionEnumAzureAd = int +# isort: skip_file + diff --git a/src/auth0/management/groups/members/client.py b/src/auth0/management/groups/members/client.py new file mode 100644 index 00000000..f5919cb6 --- /dev/null +++ b/src/auth0/management/groups/members/client.py @@ -0,0 +1,175 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from ...core.pagination import AsyncPager, SyncPager +from ...core.request_options import RequestOptions +from ...types.get_group_members_response_content import GetGroupMembersResponseContent +from ...types.group_member import GroupMember +from .raw_client import AsyncRawMembersClient, RawMembersClient + + +class MembersClient: + def __init__(self, *, client_wrapper: SyncClientWrapper): + self._raw_client = RawMembersClient(client_wrapper=client_wrapper) + + @property + def with_raw_response(self) -> RawMembersClient: + """ + Retrieves a raw implementation of this client that returns raw responses. + + Returns + ------- + RawMembersClient + """ + return self._raw_client + + def get( + self, + id: str, + *, + fields: typing.Optional[str] = None, + include_fields: typing.Optional[bool] = None, + from_: typing.Optional[str] = None, + take: typing.Optional[int] = 50, + request_options: typing.Optional[RequestOptions] = None, + ) -> SyncPager[GroupMember, GetGroupMembersResponseContent]: + """ + List all users that are a member of this group. + + Parameters + ---------- + id : str + Unique identifier for the group (service-generated). + + fields : typing.Optional[str] + A comma separated list of fields to include or exclude (depending on include_fields) from the result, empty to retrieve all fields + + include_fields : typing.Optional[bool] + Whether specified fields are to be included (true) or excluded (false). + + from_ : typing.Optional[str] + Optional Id from which to start selection. + + take : typing.Optional[int] + Number of results per page. Defaults to 50. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + SyncPager[GroupMember, GetGroupMembersResponseContent] + Group members successfully retrieved. + + Examples + -------- + from auth0 import Auth0 + + client = Auth0( + token="YOUR_TOKEN", + ) + response = client.groups.members.get( + id="id", + fields="fields", + include_fields=True, + from_="from", + take=1, + ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page + """ + return self._raw_client.get( + id, fields=fields, include_fields=include_fields, from_=from_, take=take, request_options=request_options + ) + + +class AsyncMembersClient: + def __init__(self, *, client_wrapper: AsyncClientWrapper): + self._raw_client = AsyncRawMembersClient(client_wrapper=client_wrapper) + + @property + def with_raw_response(self) -> AsyncRawMembersClient: + """ + Retrieves a raw implementation of this client that returns raw responses. + + Returns + ------- + AsyncRawMembersClient + """ + return self._raw_client + + async def get( + self, + id: str, + *, + fields: typing.Optional[str] = None, + include_fields: typing.Optional[bool] = None, + from_: typing.Optional[str] = None, + take: typing.Optional[int] = 50, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncPager[GroupMember, GetGroupMembersResponseContent]: + """ + List all users that are a member of this group. + + Parameters + ---------- + id : str + Unique identifier for the group (service-generated). + + fields : typing.Optional[str] + A comma separated list of fields to include or exclude (depending on include_fields) from the result, empty to retrieve all fields + + include_fields : typing.Optional[bool] + Whether specified fields are to be included (true) or excluded (false). + + from_ : typing.Optional[str] + Optional Id from which to start selection. + + take : typing.Optional[int] + Number of results per page. Defaults to 50. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncPager[GroupMember, GetGroupMembersResponseContent] + Group members successfully retrieved. + + Examples + -------- + import asyncio + + from auth0 import AsyncAuth0 + + client = AsyncAuth0( + token="YOUR_TOKEN", + ) + + + async def main() -> None: + response = await client.groups.members.get( + id="id", + fields="fields", + include_fields=True, + from_="from", + take=1, + ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page + + + asyncio.run(main()) + """ + return await self._raw_client.get( + id, fields=fields, include_fields=include_fields, from_=from_, take=take, request_options=request_options + ) diff --git a/src/auth0/management/groups/members/raw_client.py b/src/auth0/management/groups/members/raw_client.py new file mode 100644 index 00000000..94b5597b --- /dev/null +++ b/src/auth0/management/groups/members/raw_client.py @@ -0,0 +1,268 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing +from json.decoder import JSONDecodeError + +from ...core.api_error import ApiError +from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from ...core.jsonable_encoder import jsonable_encoder +from ...core.pagination import AsyncPager, SyncPager +from ...core.pydantic_utilities import parse_obj_as +from ...core.request_options import RequestOptions +from ...errors.bad_request_error import BadRequestError +from ...errors.forbidden_error import ForbiddenError +from ...errors.too_many_requests_error import TooManyRequestsError +from ...errors.unauthorized_error import UnauthorizedError +from ...types.get_group_members_response_content import GetGroupMembersResponseContent +from ...types.group_member import GroupMember + + +class RawMembersClient: + def __init__(self, *, client_wrapper: SyncClientWrapper): + self._client_wrapper = client_wrapper + + def get( + self, + id: str, + *, + fields: typing.Optional[str] = None, + include_fields: typing.Optional[bool] = None, + from_: typing.Optional[str] = None, + take: typing.Optional[int] = 50, + request_options: typing.Optional[RequestOptions] = None, + ) -> SyncPager[GroupMember, GetGroupMembersResponseContent]: + """ + List all users that are a member of this group. + + Parameters + ---------- + id : str + Unique identifier for the group (service-generated). + + fields : typing.Optional[str] + A comma separated list of fields to include or exclude (depending on include_fields) from the result, empty to retrieve all fields + + include_fields : typing.Optional[bool] + Whether specified fields are to be included (true) or excluded (false). + + from_ : typing.Optional[str] + Optional Id from which to start selection. + + take : typing.Optional[int] + Number of results per page. Defaults to 50. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + SyncPager[GroupMember, GetGroupMembersResponseContent] + Group members successfully retrieved. + """ + _response = self._client_wrapper.httpx_client.request( + f"groups/{jsonable_encoder(id)}/members", + method="GET", + params={ + "fields": fields, + "include_fields": include_fields, + "from": from_, + "take": take, + }, + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _parsed_response = typing.cast( + GetGroupMembersResponseContent, + parse_obj_as( + type_=GetGroupMembersResponseContent, # type: ignore + object_=_response.json(), + ), + ) + _items = _parsed_response.members + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.get( + id, + fields=fields, + include_fields=include_fields, + from_=_parsed_next, + take=take, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + +class AsyncRawMembersClient: + def __init__(self, *, client_wrapper: AsyncClientWrapper): + self._client_wrapper = client_wrapper + + async def get( + self, + id: str, + *, + fields: typing.Optional[str] = None, + include_fields: typing.Optional[bool] = None, + from_: typing.Optional[str] = None, + take: typing.Optional[int] = 50, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncPager[GroupMember, GetGroupMembersResponseContent]: + """ + List all users that are a member of this group. + + Parameters + ---------- + id : str + Unique identifier for the group (service-generated). + + fields : typing.Optional[str] + A comma separated list of fields to include or exclude (depending on include_fields) from the result, empty to retrieve all fields + + include_fields : typing.Optional[bool] + Whether specified fields are to be included (true) or excluded (false). + + from_ : typing.Optional[str] + Optional Id from which to start selection. + + take : typing.Optional[int] + Number of results per page. Defaults to 50. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncPager[GroupMember, GetGroupMembersResponseContent] + Group members successfully retrieved. + """ + _response = await self._client_wrapper.httpx_client.request( + f"groups/{jsonable_encoder(id)}/members", + method="GET", + params={ + "fields": fields, + "include_fields": include_fields, + "from": from_, + "take": take, + }, + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _parsed_response = typing.cast( + GetGroupMembersResponseContent, + parse_obj_as( + type_=GetGroupMembersResponseContent, # type: ignore + object_=_response.json(), + ), + ) + _items = _parsed_response.members + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.get( + id, + fields=fields, + include_fields=include_fields, + from_=_parsed_next, + take=take, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/auth0/management/groups/raw_client.py b/src/auth0/management/groups/raw_client.py new file mode 100644 index 00000000..3635f00e --- /dev/null +++ b/src/auth0/management/groups/raw_client.py @@ -0,0 +1,485 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing +from json.decoder import JSONDecodeError + +from ..core.api_error import ApiError +from ..core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from ..core.http_response import AsyncHttpResponse, HttpResponse +from ..core.jsonable_encoder import jsonable_encoder +from ..core.pagination import AsyncPager, SyncPager +from ..core.pydantic_utilities import parse_obj_as +from ..core.request_options import RequestOptions +from ..errors.bad_request_error import BadRequestError +from ..errors.forbidden_error import ForbiddenError +from ..errors.not_found_error import NotFoundError +from ..errors.too_many_requests_error import TooManyRequestsError +from ..errors.unauthorized_error import UnauthorizedError +from ..types.get_group_response_content import GetGroupResponseContent +from ..types.group import Group +from ..types.list_groups_paginated_response_content import ListGroupsPaginatedResponseContent + + +class RawGroupsClient: + def __init__(self, *, client_wrapper: SyncClientWrapper): + self._client_wrapper = client_wrapper + + def list( + self, + *, + connection_id: typing.Optional[str] = None, + name: typing.Optional[str] = None, + external_id: typing.Optional[str] = None, + fields: typing.Optional[str] = None, + include_fields: typing.Optional[bool] = None, + from_: typing.Optional[str] = None, + take: typing.Optional[int] = 50, + request_options: typing.Optional[RequestOptions] = None, + ) -> SyncPager[Group, ListGroupsPaginatedResponseContent]: + """ + List all groups in your tenant. + + Parameters + ---------- + connection_id : typing.Optional[str] + Filter groups by connection ID. + + name : typing.Optional[str] + Filter groups by name. + + external_id : typing.Optional[str] + Filter groups by external ID. + + fields : typing.Optional[str] + A comma separated list of fields to include or exclude (depending on include_fields) from the result, empty to retrieve all fields + + include_fields : typing.Optional[bool] + Whether specified fields are to be included (true) or excluded (false). + + from_ : typing.Optional[str] + Optional Id from which to start selection. + + take : typing.Optional[int] + Number of results per page. Defaults to 50. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + SyncPager[Group, ListGroupsPaginatedResponseContent] + Groups successfully retrieved. + """ + _response = self._client_wrapper.httpx_client.request( + "groups", + method="GET", + params={ + "connection_id": connection_id, + "name": name, + "external_id": external_id, + "fields": fields, + "include_fields": include_fields, + "from": from_, + "take": take, + }, + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _parsed_response = typing.cast( + ListGroupsPaginatedResponseContent, + parse_obj_as( + type_=ListGroupsPaginatedResponseContent, # type: ignore + object_=_response.json(), + ), + ) + _items = _parsed_response.groups + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + connection_id=connection_id, + name=name, + external_id=external_id, + fields=fields, + include_fields=include_fields, + from_=_parsed_next, + take=take, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + def get( + self, id: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> HttpResponse[GetGroupResponseContent]: + """ + Retrieve a group by its ID. + + Parameters + ---------- + id : str + Unique identifier for the group (service-generated). + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[GetGroupResponseContent] + Group successfully retrieved. + """ + _response = self._client_wrapper.httpx_client.request( + f"groups/{jsonable_encoder(id)}", + method="GET", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + GetGroupResponseContent, + parse_obj_as( + type_=GetGroupResponseContent, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + +class AsyncRawGroupsClient: + def __init__(self, *, client_wrapper: AsyncClientWrapper): + self._client_wrapper = client_wrapper + + async def list( + self, + *, + connection_id: typing.Optional[str] = None, + name: typing.Optional[str] = None, + external_id: typing.Optional[str] = None, + fields: typing.Optional[str] = None, + include_fields: typing.Optional[bool] = None, + from_: typing.Optional[str] = None, + take: typing.Optional[int] = 50, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncPager[Group, ListGroupsPaginatedResponseContent]: + """ + List all groups in your tenant. + + Parameters + ---------- + connection_id : typing.Optional[str] + Filter groups by connection ID. + + name : typing.Optional[str] + Filter groups by name. + + external_id : typing.Optional[str] + Filter groups by external ID. + + fields : typing.Optional[str] + A comma separated list of fields to include or exclude (depending on include_fields) from the result, empty to retrieve all fields + + include_fields : typing.Optional[bool] + Whether specified fields are to be included (true) or excluded (false). + + from_ : typing.Optional[str] + Optional Id from which to start selection. + + take : typing.Optional[int] + Number of results per page. Defaults to 50. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncPager[Group, ListGroupsPaginatedResponseContent] + Groups successfully retrieved. + """ + _response = await self._client_wrapper.httpx_client.request( + "groups", + method="GET", + params={ + "connection_id": connection_id, + "name": name, + "external_id": external_id, + "fields": fields, + "include_fields": include_fields, + "from": from_, + "take": take, + }, + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _parsed_response = typing.cast( + ListGroupsPaginatedResponseContent, + parse_obj_as( + type_=ListGroupsPaginatedResponseContent, # type: ignore + object_=_response.json(), + ), + ) + _items = _parsed_response.groups + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + connection_id=connection_id, + name=name, + external_id=external_id, + fields=fields, + include_fields=include_fields, + from_=_parsed_next, + take=take, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + async def get( + self, id: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> AsyncHttpResponse[GetGroupResponseContent]: + """ + Retrieve a group by its ID. + + Parameters + ---------- + id : str + Unique identifier for the group (service-generated). + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[GetGroupResponseContent] + Group successfully retrieved. + """ + _response = await self._client_wrapper.httpx_client.request( + f"groups/{jsonable_encoder(id)}", + method="GET", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + GetGroupResponseContent, + parse_obj_as( + type_=GetGroupResponseContent, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/auth0/management/guardian/factors/push_notification/client.py b/src/auth0/management/guardian/factors/push_notification/client.py index 12586f52..7d8c9f0f 100644 --- a/src/auth0/management/guardian/factors/push_notification/client.py +++ b/src/auth0/management/guardian/factors/push_notification/client.py @@ -27,6 +27,15 @@ from ....types.set_guardian_factors_provider_push_notification_sns_response_content import ( SetGuardianFactorsProviderPushNotificationSnsResponseContent, ) +from ....types.update_guardian_factors_provider_push_notification_apns_response_content import ( + UpdateGuardianFactorsProviderPushNotificationApnsResponseContent, +) +from ....types.update_guardian_factors_provider_push_notification_fcm_response_content import ( + UpdateGuardianFactorsProviderPushNotificationFcmResponseContent, +) +from ....types.update_guardian_factors_provider_push_notification_fcmv_1_response_content import ( + UpdateGuardianFactorsProviderPushNotificationFcmv1ResponseContent, +) from ....types.update_guardian_factors_provider_push_notification_sns_response_content import ( UpdateGuardianFactorsProviderPushNotificationSnsResponseContent, ) @@ -88,7 +97,7 @@ def set_apns_provider( request_options: typing.Optional[RequestOptions] = None, ) -> SetGuardianFactorsProviderPushNotificationApnsResponseContent: """ - Modify configuration details of the multi-factor authentication APNS provider associated with your tenant. + Overwrite all configuration details of the multi-factor authentication APNS provider associated with your tenant. Parameters ---------- @@ -120,11 +129,52 @@ def set_apns_provider( ) return _response.data + def update_apns_provider( + self, + *, + sandbox: typing.Optional[bool] = OMIT, + bundle_id: typing.Optional[str] = OMIT, + p_12: typing.Optional[str] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> UpdateGuardianFactorsProviderPushNotificationApnsResponseContent: + """ + Modify configuration details of the multi-factor authentication APNS provider associated with your tenant. + + Parameters + ---------- + sandbox : typing.Optional[bool] + + bundle_id : typing.Optional[str] + + p_12 : typing.Optional[str] + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + UpdateGuardianFactorsProviderPushNotificationApnsResponseContent + APNS configuration successfully updated. + + Examples + -------- + from auth0 import Auth0 + + client = Auth0( + token="YOUR_TOKEN", + ) + client.guardian.factors.push_notification.update_apns_provider() + """ + _response = self._raw_client.update_apns_provider( + sandbox=sandbox, bundle_id=bundle_id, p_12=p_12, request_options=request_options + ) + return _response.data + def set_fcm_provider( self, *, server_key: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None ) -> SetGuardianFactorsProviderPushNotificationFcmResponseContent: """ - Modify configuration details of the multi-factor authentication FCM provider associated with your tenant. + Overwrite all configuration details of the multi-factor authentication FCM provider associated with your tenant. Parameters ---------- @@ -150,6 +200,36 @@ def set_fcm_provider( _response = self._raw_client.set_fcm_provider(server_key=server_key, request_options=request_options) return _response.data + def update_fcm_provider( + self, *, server_key: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None + ) -> UpdateGuardianFactorsProviderPushNotificationFcmResponseContent: + """ + Modify configuration details of the multi-factor authentication FCM provider associated with your tenant. + + Parameters + ---------- + server_key : typing.Optional[str] + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + UpdateGuardianFactorsProviderPushNotificationFcmResponseContent + FCM configuration updated + + Examples + -------- + from auth0 import Auth0 + + client = Auth0( + token="YOUR_TOKEN", + ) + client.guardian.factors.push_notification.update_fcm_provider() + """ + _response = self._raw_client.update_fcm_provider(server_key=server_key, request_options=request_options) + return _response.data + def set_fcmv_1_provider( self, *, @@ -157,7 +237,7 @@ def set_fcmv_1_provider( request_options: typing.Optional[RequestOptions] = None, ) -> SetGuardianFactorsProviderPushNotificationFcmv1ResponseContent: """ - Modify configuration details of the multi-factor authentication FCMV1 provider associated with your tenant. + Overwrite all configuration details of the multi-factor authentication FCMV1 provider associated with your tenant. Parameters ---------- @@ -185,6 +265,41 @@ def set_fcmv_1_provider( ) return _response.data + def update_fcmv_1_provider( + self, + *, + server_credentials: typing.Optional[str] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> UpdateGuardianFactorsProviderPushNotificationFcmv1ResponseContent: + """ + Modify configuration details of the multi-factor authentication FCMV1 provider associated with your tenant. + + Parameters + ---------- + server_credentials : typing.Optional[str] + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + UpdateGuardianFactorsProviderPushNotificationFcmv1ResponseContent + FCMV1 configuration updated + + Examples + -------- + from auth0 import Auth0 + + client = Auth0( + token="YOUR_TOKEN", + ) + client.guardian.factors.push_notification.update_fcmv_1_provider() + """ + _response = self._raw_client.update_fcmv_1_provider( + server_credentials=server_credentials, request_options=request_options + ) + return _response.data + def get_sns_provider( self, *, request_options: typing.Optional[RequestOptions] = None ) -> GetGuardianFactorsProviderSnsResponseContent: @@ -441,7 +556,7 @@ async def set_apns_provider( request_options: typing.Optional[RequestOptions] = None, ) -> SetGuardianFactorsProviderPushNotificationApnsResponseContent: """ - Modify configuration details of the multi-factor authentication APNS provider associated with your tenant. + Overwrite all configuration details of the multi-factor authentication APNS provider associated with your tenant. Parameters ---------- @@ -481,11 +596,60 @@ async def main() -> None: ) return _response.data + async def update_apns_provider( + self, + *, + sandbox: typing.Optional[bool] = OMIT, + bundle_id: typing.Optional[str] = OMIT, + p_12: typing.Optional[str] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> UpdateGuardianFactorsProviderPushNotificationApnsResponseContent: + """ + Modify configuration details of the multi-factor authentication APNS provider associated with your tenant. + + Parameters + ---------- + sandbox : typing.Optional[bool] + + bundle_id : typing.Optional[str] + + p_12 : typing.Optional[str] + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + UpdateGuardianFactorsProviderPushNotificationApnsResponseContent + APNS configuration successfully updated. + + Examples + -------- + import asyncio + + from auth0 import AsyncAuth0 + + client = AsyncAuth0( + token="YOUR_TOKEN", + ) + + + async def main() -> None: + await client.guardian.factors.push_notification.update_apns_provider() + + + asyncio.run(main()) + """ + _response = await self._raw_client.update_apns_provider( + sandbox=sandbox, bundle_id=bundle_id, p_12=p_12, request_options=request_options + ) + return _response.data + async def set_fcm_provider( self, *, server_key: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None ) -> SetGuardianFactorsProviderPushNotificationFcmResponseContent: """ - Modify configuration details of the multi-factor authentication FCM provider associated with your tenant. + Overwrite all configuration details of the multi-factor authentication FCM provider associated with your tenant. Parameters ---------- @@ -519,6 +683,44 @@ async def main() -> None: _response = await self._raw_client.set_fcm_provider(server_key=server_key, request_options=request_options) return _response.data + async def update_fcm_provider( + self, *, server_key: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None + ) -> UpdateGuardianFactorsProviderPushNotificationFcmResponseContent: + """ + Modify configuration details of the multi-factor authentication FCM provider associated with your tenant. + + Parameters + ---------- + server_key : typing.Optional[str] + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + UpdateGuardianFactorsProviderPushNotificationFcmResponseContent + FCM configuration updated + + Examples + -------- + import asyncio + + from auth0 import AsyncAuth0 + + client = AsyncAuth0( + token="YOUR_TOKEN", + ) + + + async def main() -> None: + await client.guardian.factors.push_notification.update_fcm_provider() + + + asyncio.run(main()) + """ + _response = await self._raw_client.update_fcm_provider(server_key=server_key, request_options=request_options) + return _response.data + async def set_fcmv_1_provider( self, *, @@ -526,7 +728,7 @@ async def set_fcmv_1_provider( request_options: typing.Optional[RequestOptions] = None, ) -> SetGuardianFactorsProviderPushNotificationFcmv1ResponseContent: """ - Modify configuration details of the multi-factor authentication FCMV1 provider associated with your tenant. + Overwrite all configuration details of the multi-factor authentication FCMV1 provider associated with your tenant. Parameters ---------- @@ -562,6 +764,49 @@ async def main() -> None: ) return _response.data + async def update_fcmv_1_provider( + self, + *, + server_credentials: typing.Optional[str] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> UpdateGuardianFactorsProviderPushNotificationFcmv1ResponseContent: + """ + Modify configuration details of the multi-factor authentication FCMV1 provider associated with your tenant. + + Parameters + ---------- + server_credentials : typing.Optional[str] + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + UpdateGuardianFactorsProviderPushNotificationFcmv1ResponseContent + FCMV1 configuration updated + + Examples + -------- + import asyncio + + from auth0 import AsyncAuth0 + + client = AsyncAuth0( + token="YOUR_TOKEN", + ) + + + async def main() -> None: + await client.guardian.factors.push_notification.update_fcmv_1_provider() + + + asyncio.run(main()) + """ + _response = await self._raw_client.update_fcmv_1_provider( + server_credentials=server_credentials, request_options=request_options + ) + return _response.data + async def get_sns_provider( self, *, request_options: typing.Optional[RequestOptions] = None ) -> GetGuardianFactorsProviderSnsResponseContent: diff --git a/src/auth0/management/guardian/factors/push_notification/raw_client.py b/src/auth0/management/guardian/factors/push_notification/raw_client.py index 9b5831e2..e3e4f4a7 100644 --- a/src/auth0/management/guardian/factors/push_notification/raw_client.py +++ b/src/auth0/management/guardian/factors/push_notification/raw_client.py @@ -34,6 +34,15 @@ from ....types.set_guardian_factors_provider_push_notification_sns_response_content import ( SetGuardianFactorsProviderPushNotificationSnsResponseContent, ) +from ....types.update_guardian_factors_provider_push_notification_apns_response_content import ( + UpdateGuardianFactorsProviderPushNotificationApnsResponseContent, +) +from ....types.update_guardian_factors_provider_push_notification_fcm_response_content import ( + UpdateGuardianFactorsProviderPushNotificationFcmResponseContent, +) +from ....types.update_guardian_factors_provider_push_notification_fcmv_1_response_content import ( + UpdateGuardianFactorsProviderPushNotificationFcmv1ResponseContent, +) from ....types.update_guardian_factors_provider_push_notification_sns_response_content import ( UpdateGuardianFactorsProviderPushNotificationSnsResponseContent, ) @@ -124,7 +133,7 @@ def set_apns_provider( request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[SetGuardianFactorsProviderPushNotificationApnsResponseContent]: """ - Modify configuration details of the multi-factor authentication APNS provider associated with your tenant. + Overwrite all configuration details of the multi-factor authentication APNS provider associated with your tenant. Parameters ---------- @@ -144,7 +153,7 @@ def set_apns_provider( """ _response = self._client_wrapper.httpx_client.request( "guardian/factors/push-notification/providers/apns", - method="PATCH", + method="PUT", json={ "sandbox": sandbox, "bundle_id": bundle_id, @@ -204,11 +213,100 @@ def set_apns_provider( raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + def update_apns_provider( + self, + *, + sandbox: typing.Optional[bool] = OMIT, + bundle_id: typing.Optional[str] = OMIT, + p_12: typing.Optional[str] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> HttpResponse[UpdateGuardianFactorsProviderPushNotificationApnsResponseContent]: + """ + Modify configuration details of the multi-factor authentication APNS provider associated with your tenant. + + Parameters + ---------- + sandbox : typing.Optional[bool] + + bundle_id : typing.Optional[str] + + p_12 : typing.Optional[str] + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[UpdateGuardianFactorsProviderPushNotificationApnsResponseContent] + APNS configuration successfully updated. + """ + _response = self._client_wrapper.httpx_client.request( + "guardian/factors/push-notification/providers/apns", + method="PATCH", + json={ + "sandbox": sandbox, + "bundle_id": bundle_id, + "p12": p_12, + }, + headers={ + "content-type": "application/json", + }, + request_options=request_options, + omit=OMIT, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + UpdateGuardianFactorsProviderPushNotificationApnsResponseContent, + parse_obj_as( + type_=UpdateGuardianFactorsProviderPushNotificationApnsResponseContent, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + def set_fcm_provider( self, *, server_key: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None ) -> HttpResponse[SetGuardianFactorsProviderPushNotificationFcmResponseContent]: """ - Modify configuration details of the multi-factor authentication FCM provider associated with your tenant. + Overwrite all configuration details of the multi-factor authentication FCM provider associated with your tenant. Parameters ---------- @@ -224,7 +322,7 @@ def set_fcm_provider( """ _response = self._client_wrapper.httpx_client.request( "guardian/factors/push-notification/providers/fcm", - method="PATCH", + method="PUT", json={ "server_key": server_key, }, @@ -282,6 +380,84 @@ def set_fcm_provider( raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + def update_fcm_provider( + self, *, server_key: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None + ) -> HttpResponse[UpdateGuardianFactorsProviderPushNotificationFcmResponseContent]: + """ + Modify configuration details of the multi-factor authentication FCM provider associated with your tenant. + + Parameters + ---------- + server_key : typing.Optional[str] + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[UpdateGuardianFactorsProviderPushNotificationFcmResponseContent] + FCM configuration updated + """ + _response = self._client_wrapper.httpx_client.request( + "guardian/factors/push-notification/providers/fcm", + method="PATCH", + json={ + "server_key": server_key, + }, + headers={ + "content-type": "application/json", + }, + request_options=request_options, + omit=OMIT, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + UpdateGuardianFactorsProviderPushNotificationFcmResponseContent, + parse_obj_as( + type_=UpdateGuardianFactorsProviderPushNotificationFcmResponseContent, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + def set_fcmv_1_provider( self, *, @@ -289,7 +465,7 @@ def set_fcmv_1_provider( request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[SetGuardianFactorsProviderPushNotificationFcmv1ResponseContent]: """ - Modify configuration details of the multi-factor authentication FCMV1 provider associated with your tenant. + Overwrite all configuration details of the multi-factor authentication FCMV1 provider associated with your tenant. Parameters ---------- @@ -305,7 +481,7 @@ def set_fcmv_1_provider( """ _response = self._client_wrapper.httpx_client.request( "guardian/factors/push-notification/providers/fcmv1", - method="PATCH", + method="PUT", json={ "server_credentials": server_credentials, }, @@ -363,6 +539,87 @@ def set_fcmv_1_provider( raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + def update_fcmv_1_provider( + self, + *, + server_credentials: typing.Optional[str] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> HttpResponse[UpdateGuardianFactorsProviderPushNotificationFcmv1ResponseContent]: + """ + Modify configuration details of the multi-factor authentication FCMV1 provider associated with your tenant. + + Parameters + ---------- + server_credentials : typing.Optional[str] + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[UpdateGuardianFactorsProviderPushNotificationFcmv1ResponseContent] + FCMV1 configuration updated + """ + _response = self._client_wrapper.httpx_client.request( + "guardian/factors/push-notification/providers/fcmv1", + method="PATCH", + json={ + "server_credentials": server_credentials, + }, + headers={ + "content-type": "application/json", + }, + request_options=request_options, + omit=OMIT, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + UpdateGuardianFactorsProviderPushNotificationFcmv1ResponseContent, + parse_obj_as( + type_=UpdateGuardianFactorsProviderPushNotificationFcmv1ResponseContent, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + def get_sns_provider( self, *, request_options: typing.Optional[RequestOptions] = None ) -> HttpResponse[GetGuardianFactorsProviderSnsResponseContent]: @@ -859,7 +1116,7 @@ async def set_apns_provider( request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[SetGuardianFactorsProviderPushNotificationApnsResponseContent]: """ - Modify configuration details of the multi-factor authentication APNS provider associated with your tenant. + Overwrite all configuration details of the multi-factor authentication APNS provider associated with your tenant. Parameters ---------- @@ -879,7 +1136,7 @@ async def set_apns_provider( """ _response = await self._client_wrapper.httpx_client.request( "guardian/factors/push-notification/providers/apns", - method="PATCH", + method="PUT", json={ "sandbox": sandbox, "bundle_id": bundle_id, @@ -939,11 +1196,100 @@ async def set_apns_provider( raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + async def update_apns_provider( + self, + *, + sandbox: typing.Optional[bool] = OMIT, + bundle_id: typing.Optional[str] = OMIT, + p_12: typing.Optional[str] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncHttpResponse[UpdateGuardianFactorsProviderPushNotificationApnsResponseContent]: + """ + Modify configuration details of the multi-factor authentication APNS provider associated with your tenant. + + Parameters + ---------- + sandbox : typing.Optional[bool] + + bundle_id : typing.Optional[str] + + p_12 : typing.Optional[str] + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[UpdateGuardianFactorsProviderPushNotificationApnsResponseContent] + APNS configuration successfully updated. + """ + _response = await self._client_wrapper.httpx_client.request( + "guardian/factors/push-notification/providers/apns", + method="PATCH", + json={ + "sandbox": sandbox, + "bundle_id": bundle_id, + "p12": p_12, + }, + headers={ + "content-type": "application/json", + }, + request_options=request_options, + omit=OMIT, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + UpdateGuardianFactorsProviderPushNotificationApnsResponseContent, + parse_obj_as( + type_=UpdateGuardianFactorsProviderPushNotificationApnsResponseContent, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + async def set_fcm_provider( self, *, server_key: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None ) -> AsyncHttpResponse[SetGuardianFactorsProviderPushNotificationFcmResponseContent]: """ - Modify configuration details of the multi-factor authentication FCM provider associated with your tenant. + Overwrite all configuration details of the multi-factor authentication FCM provider associated with your tenant. Parameters ---------- @@ -959,7 +1305,7 @@ async def set_fcm_provider( """ _response = await self._client_wrapper.httpx_client.request( "guardian/factors/push-notification/providers/fcm", - method="PATCH", + method="PUT", json={ "server_key": server_key, }, @@ -1017,6 +1363,84 @@ async def set_fcm_provider( raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + async def update_fcm_provider( + self, *, server_key: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None + ) -> AsyncHttpResponse[UpdateGuardianFactorsProviderPushNotificationFcmResponseContent]: + """ + Modify configuration details of the multi-factor authentication FCM provider associated with your tenant. + + Parameters + ---------- + server_key : typing.Optional[str] + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[UpdateGuardianFactorsProviderPushNotificationFcmResponseContent] + FCM configuration updated + """ + _response = await self._client_wrapper.httpx_client.request( + "guardian/factors/push-notification/providers/fcm", + method="PATCH", + json={ + "server_key": server_key, + }, + headers={ + "content-type": "application/json", + }, + request_options=request_options, + omit=OMIT, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + UpdateGuardianFactorsProviderPushNotificationFcmResponseContent, + parse_obj_as( + type_=UpdateGuardianFactorsProviderPushNotificationFcmResponseContent, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + async def set_fcmv_1_provider( self, *, @@ -1024,7 +1448,7 @@ async def set_fcmv_1_provider( request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[SetGuardianFactorsProviderPushNotificationFcmv1ResponseContent]: """ - Modify configuration details of the multi-factor authentication FCMV1 provider associated with your tenant. + Overwrite all configuration details of the multi-factor authentication FCMV1 provider associated with your tenant. Parameters ---------- @@ -1040,7 +1464,7 @@ async def set_fcmv_1_provider( """ _response = await self._client_wrapper.httpx_client.request( "guardian/factors/push-notification/providers/fcmv1", - method="PATCH", + method="PUT", json={ "server_credentials": server_credentials, }, @@ -1098,6 +1522,87 @@ async def set_fcmv_1_provider( raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + async def update_fcmv_1_provider( + self, + *, + server_credentials: typing.Optional[str] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncHttpResponse[UpdateGuardianFactorsProviderPushNotificationFcmv1ResponseContent]: + """ + Modify configuration details of the multi-factor authentication FCMV1 provider associated with your tenant. + + Parameters + ---------- + server_credentials : typing.Optional[str] + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[UpdateGuardianFactorsProviderPushNotificationFcmv1ResponseContent] + FCMV1 configuration updated + """ + _response = await self._client_wrapper.httpx_client.request( + "guardian/factors/push-notification/providers/fcmv1", + method="PATCH", + json={ + "server_credentials": server_credentials, + }, + headers={ + "content-type": "application/json", + }, + request_options=request_options, + omit=OMIT, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + UpdateGuardianFactorsProviderPushNotificationFcmv1ResponseContent, + parse_obj_as( + type_=UpdateGuardianFactorsProviderPushNotificationFcmv1ResponseContent, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + async def get_sns_provider( self, *, request_options: typing.Optional[RequestOptions] = None ) -> AsyncHttpResponse[GetGuardianFactorsProviderSnsResponseContent]: diff --git a/src/auth0/management/log_streams/client.py b/src/auth0/management/log_streams/client.py index 4d8955eb..1847dea4 100644 --- a/src/auth0/management/log_streams/client.py +++ b/src/auth0/management/log_streams/client.py @@ -277,6 +277,7 @@ def create( ) client.log_streams.create( request=CreateLogStreamHttpRequestBody( + type="http", sink=LogStreamHttpSink( http_endpoint="httpEndpoint", ), @@ -822,6 +823,7 @@ async def create( async def main() -> None: await client.log_streams.create( request=CreateLogStreamHttpRequestBody( + type="http", sink=LogStreamHttpSink( http_endpoint="httpEndpoint", ), diff --git a/src/auth0/management/organizations/discovery_domains/client.py b/src/auth0/management/organizations/discovery_domains/client.py index b33324a8..45463baf 100644 --- a/src/auth0/management/organizations/discovery_domains/client.py +++ b/src/auth0/management/organizations/discovery_domains/client.py @@ -8,6 +8,9 @@ from ...types.create_organization_discovery_domain_response_content import ( CreateOrganizationDiscoveryDomainResponseContent, ) +from ...types.get_organization_discovery_domain_by_name_response_content import ( + GetOrganizationDiscoveryDomainByNameResponseContent, +) from ...types.get_organization_discovery_domain_response_content import GetOrganizationDiscoveryDomainResponseContent from ...types.list_organization_discovery_domains_response_content import ( ListOrganizationDiscoveryDomainsResponseContent, @@ -94,10 +97,11 @@ def create( *, domain: str, status: typing.Optional[OrganizationDiscoveryDomainStatus] = OMIT, + use_for_organization_discovery: typing.Optional[bool] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> CreateOrganizationDiscoveryDomainResponseContent: """ - Update the verification status for an organization discovery domain. The status field must be either pending or verified. + Create a new discovery domain for an organization. Parameters ---------- @@ -109,6 +113,9 @@ def create( status : typing.Optional[OrganizationDiscoveryDomainStatus] + use_for_organization_discovery : typing.Optional[bool] + Indicates whether this domain should be used for organization discovery. + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -129,7 +136,50 @@ def create( domain="domain", ) """ - _response = self._raw_client.create(id, domain=domain, status=status, request_options=request_options) + _response = self._raw_client.create( + id, + domain=domain, + status=status, + use_for_organization_discovery=use_for_organization_discovery, + request_options=request_options, + ) + return _response.data + + def get_by_name( + self, id: str, discovery_domain: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> GetOrganizationDiscoveryDomainByNameResponseContent: + """ + Retrieve details about a single organization discovery domain specified by domain name. + + Parameters + ---------- + id : str + ID of the organization. + + discovery_domain : str + Domain name of the discovery domain. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + GetOrganizationDiscoveryDomainByNameResponseContent + Organization discovery domain successfully retrieved. + + Examples + -------- + from auth0 import Auth0 + + client = Auth0( + token="YOUR_TOKEN", + ) + client.organizations.discovery_domains.get_by_name( + id="id", + discovery_domain="discovery_domain", + ) + """ + _response = self._raw_client.get_by_name(id, discovery_domain, request_options=request_options) return _response.data def get( @@ -211,10 +261,11 @@ def update( discovery_domain_id: str, *, status: typing.Optional[OrganizationDiscoveryDomainStatus] = OMIT, + use_for_organization_discovery: typing.Optional[bool] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> UpdateOrganizationDiscoveryDomainResponseContent: """ - Update the verification status for an organization discovery domain. The status field must be either pending or verified. + Update the verification status and/or use_for_organization_discovery for an organization discovery domain. The status field must be either pending or verified. The use_for_organization_discovery field can be true or false (default: true). Parameters ---------- @@ -226,6 +277,9 @@ def update( status : typing.Optional[OrganizationDiscoveryDomainStatus] + use_for_organization_discovery : typing.Optional[bool] + Indicates whether this domain should be used for organization discovery. + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -246,7 +300,13 @@ def update( discovery_domain_id="discovery_domain_id", ) """ - _response = self._raw_client.update(id, discovery_domain_id, status=status, request_options=request_options) + _response = self._raw_client.update( + id, + discovery_domain_id, + status=status, + use_for_organization_discovery=use_for_organization_discovery, + request_options=request_options, + ) return _response.data @@ -330,10 +390,11 @@ async def create( *, domain: str, status: typing.Optional[OrganizationDiscoveryDomainStatus] = OMIT, + use_for_organization_discovery: typing.Optional[bool] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> CreateOrganizationDiscoveryDomainResponseContent: """ - Update the verification status for an organization discovery domain. The status field must be either pending or verified. + Create a new discovery domain for an organization. Parameters ---------- @@ -345,6 +406,9 @@ async def create( status : typing.Optional[OrganizationDiscoveryDomainStatus] + use_for_organization_discovery : typing.Optional[bool] + Indicates whether this domain should be used for organization discovery. + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -373,7 +437,58 @@ async def main() -> None: asyncio.run(main()) """ - _response = await self._raw_client.create(id, domain=domain, status=status, request_options=request_options) + _response = await self._raw_client.create( + id, + domain=domain, + status=status, + use_for_organization_discovery=use_for_organization_discovery, + request_options=request_options, + ) + return _response.data + + async def get_by_name( + self, id: str, discovery_domain: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> GetOrganizationDiscoveryDomainByNameResponseContent: + """ + Retrieve details about a single organization discovery domain specified by domain name. + + Parameters + ---------- + id : str + ID of the organization. + + discovery_domain : str + Domain name of the discovery domain. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + GetOrganizationDiscoveryDomainByNameResponseContent + Organization discovery domain successfully retrieved. + + Examples + -------- + import asyncio + + from auth0 import AsyncAuth0 + + client = AsyncAuth0( + token="YOUR_TOKEN", + ) + + + async def main() -> None: + await client.organizations.discovery_domains.get_by_name( + id="id", + discovery_domain="discovery_domain", + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.get_by_name(id, discovery_domain, request_options=request_options) return _response.data async def get( @@ -471,10 +586,11 @@ async def update( discovery_domain_id: str, *, status: typing.Optional[OrganizationDiscoveryDomainStatus] = OMIT, + use_for_organization_discovery: typing.Optional[bool] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> UpdateOrganizationDiscoveryDomainResponseContent: """ - Update the verification status for an organization discovery domain. The status field must be either pending or verified. + Update the verification status and/or use_for_organization_discovery for an organization discovery domain. The status field must be either pending or verified. The use_for_organization_discovery field can be true or false (default: true). Parameters ---------- @@ -486,6 +602,9 @@ async def update( status : typing.Optional[OrganizationDiscoveryDomainStatus] + use_for_organization_discovery : typing.Optional[bool] + Indicates whether this domain should be used for organization discovery. + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -515,6 +634,10 @@ async def main() -> None: asyncio.run(main()) """ _response = await self._raw_client.update( - id, discovery_domain_id, status=status, request_options=request_options + id, + discovery_domain_id, + status=status, + use_for_organization_discovery=use_for_organization_discovery, + request_options=request_options, ) return _response.data diff --git a/src/auth0/management/organizations/discovery_domains/raw_client.py b/src/auth0/management/organizations/discovery_domains/raw_client.py index 1dae03dc..39870295 100644 --- a/src/auth0/management/organizations/discovery_domains/raw_client.py +++ b/src/auth0/management/organizations/discovery_domains/raw_client.py @@ -19,6 +19,9 @@ from ...types.create_organization_discovery_domain_response_content import ( CreateOrganizationDiscoveryDomainResponseContent, ) +from ...types.get_organization_discovery_domain_by_name_response_content import ( + GetOrganizationDiscoveryDomainByNameResponseContent, +) from ...types.get_organization_discovery_domain_response_content import GetOrganizationDiscoveryDomainResponseContent from ...types.list_organization_discovery_domains_response_content import ( ListOrganizationDiscoveryDomainsResponseContent, @@ -161,10 +164,11 @@ def create( *, domain: str, status: typing.Optional[OrganizationDiscoveryDomainStatus] = OMIT, + use_for_organization_discovery: typing.Optional[bool] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[CreateOrganizationDiscoveryDomainResponseContent]: """ - Update the verification status for an organization discovery domain. The status field must be either pending or verified. + Create a new discovery domain for an organization. Parameters ---------- @@ -176,6 +180,9 @@ def create( status : typing.Optional[OrganizationDiscoveryDomainStatus] + use_for_organization_discovery : typing.Optional[bool] + Indicates whether this domain should be used for organization discovery. + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -190,6 +197,7 @@ def create( json={ "domain": domain, "status": status, + "use_for_organization_discovery": use_for_organization_discovery, }, headers={ "content-type": "application/json", @@ -278,6 +286,103 @@ def create( raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + def get_by_name( + self, id: str, discovery_domain: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> HttpResponse[GetOrganizationDiscoveryDomainByNameResponseContent]: + """ + Retrieve details about a single organization discovery domain specified by domain name. + + Parameters + ---------- + id : str + ID of the organization. + + discovery_domain : str + Domain name of the discovery domain. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[GetOrganizationDiscoveryDomainByNameResponseContent] + Organization discovery domain successfully retrieved. + """ + _response = self._client_wrapper.httpx_client.request( + f"organizations/{jsonable_encoder(id)}/discovery-domains/name/{jsonable_encoder(discovery_domain)}", + method="GET", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + GetOrganizationDiscoveryDomainByNameResponseContent, + parse_obj_as( + type_=GetOrganizationDiscoveryDomainByNameResponseContent, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + def get( self, id: str, discovery_domain_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> HttpResponse[GetOrganizationDiscoveryDomainResponseContent]: @@ -459,10 +564,11 @@ def update( discovery_domain_id: str, *, status: typing.Optional[OrganizationDiscoveryDomainStatus] = OMIT, + use_for_organization_discovery: typing.Optional[bool] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[UpdateOrganizationDiscoveryDomainResponseContent]: """ - Update the verification status for an organization discovery domain. The status field must be either pending or verified. + Update the verification status and/or use_for_organization_discovery for an organization discovery domain. The status field must be either pending or verified. The use_for_organization_discovery field can be true or false (default: true). Parameters ---------- @@ -474,6 +580,9 @@ def update( status : typing.Optional[OrganizationDiscoveryDomainStatus] + use_for_organization_discovery : typing.Optional[bool] + Indicates whether this domain should be used for organization discovery. + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -487,6 +596,7 @@ def update( method="PATCH", json={ "status": status, + "use_for_organization_discovery": use_for_organization_discovery, }, headers={ "content-type": "application/json", @@ -663,10 +773,11 @@ async def create( *, domain: str, status: typing.Optional[OrganizationDiscoveryDomainStatus] = OMIT, + use_for_organization_discovery: typing.Optional[bool] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[CreateOrganizationDiscoveryDomainResponseContent]: """ - Update the verification status for an organization discovery domain. The status field must be either pending or verified. + Create a new discovery domain for an organization. Parameters ---------- @@ -678,6 +789,9 @@ async def create( status : typing.Optional[OrganizationDiscoveryDomainStatus] + use_for_organization_discovery : typing.Optional[bool] + Indicates whether this domain should be used for organization discovery. + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -692,6 +806,7 @@ async def create( json={ "domain": domain, "status": status, + "use_for_organization_discovery": use_for_organization_discovery, }, headers={ "content-type": "application/json", @@ -780,6 +895,103 @@ async def create( raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + async def get_by_name( + self, id: str, discovery_domain: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> AsyncHttpResponse[GetOrganizationDiscoveryDomainByNameResponseContent]: + """ + Retrieve details about a single organization discovery domain specified by domain name. + + Parameters + ---------- + id : str + ID of the organization. + + discovery_domain : str + Domain name of the discovery domain. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[GetOrganizationDiscoveryDomainByNameResponseContent] + Organization discovery domain successfully retrieved. + """ + _response = await self._client_wrapper.httpx_client.request( + f"organizations/{jsonable_encoder(id)}/discovery-domains/name/{jsonable_encoder(discovery_domain)}", + method="GET", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + GetOrganizationDiscoveryDomainByNameResponseContent, + parse_obj_as( + type_=GetOrganizationDiscoveryDomainByNameResponseContent, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + async def get( self, id: str, discovery_domain_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> AsyncHttpResponse[GetOrganizationDiscoveryDomainResponseContent]: @@ -961,10 +1173,11 @@ async def update( discovery_domain_id: str, *, status: typing.Optional[OrganizationDiscoveryDomainStatus] = OMIT, + use_for_organization_discovery: typing.Optional[bool] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[UpdateOrganizationDiscoveryDomainResponseContent]: """ - Update the verification status for an organization discovery domain. The status field must be either pending or verified. + Update the verification status and/or use_for_organization_discovery for an organization discovery domain. The status field must be either pending or verified. The use_for_organization_discovery field can be true or false (default: true). Parameters ---------- @@ -976,6 +1189,9 @@ async def update( status : typing.Optional[OrganizationDiscoveryDomainStatus] + use_for_organization_discovery : typing.Optional[bool] + Indicates whether this domain should be used for organization discovery. + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -989,6 +1205,7 @@ async def update( method="PATCH", json={ "status": status, + "use_for_organization_discovery": use_for_organization_discovery, }, headers={ "content-type": "application/json", diff --git a/src/auth0/management/prompts/rendering/client.py b/src/auth0/management/prompts/rendering/client.py index 0427c322..1d1027d1 100644 --- a/src/auth0/management/prompts/rendering/client.py +++ b/src/auth0/management/prompts/rendering/client.py @@ -10,10 +10,10 @@ from ...types.acul_filters import AculFilters from ...types.acul_head_tag import AculHeadTag from ...types.acul_rendering_mode_enum import AculRenderingModeEnum -from ...types.acul_response_content import AculResponseContent from ...types.bulk_update_acul_response_content import BulkUpdateAculResponseContent from ...types.get_acul_response_content import GetAculResponseContent from ...types.list_aculs_offset_paginated_response_content import ListAculsOffsetPaginatedResponseContent +from ...types.list_aculs_response_content_item import ListAculsResponseContentItem from ...types.prompt_group_name_enum import PromptGroupNameEnum from ...types.screen_group_name_enum import ScreenGroupNameEnum from ...types.update_acul_response_content import UpdateAculResponseContent @@ -50,7 +50,7 @@ def list( screen: typing.Optional[str] = None, rendering_mode: typing.Optional[AculRenderingModeEnum] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> SyncPager[AculResponseContent, ListAculsOffsetPaginatedResponseContent]: + ) -> SyncPager[ListAculsResponseContentItem, ListAculsOffsetPaginatedResponseContent]: """ Get render setting configurations for all screens. @@ -85,7 +85,7 @@ def list( Returns ------- - SyncPager[AculResponseContent, ListAculsOffsetPaginatedResponseContent] + SyncPager[ListAculsResponseContentItem, ListAculsOffsetPaginatedResponseContent] ACUL settings successfully retrieved. Examples @@ -301,7 +301,7 @@ async def list( screen: typing.Optional[str] = None, rendering_mode: typing.Optional[AculRenderingModeEnum] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncPager[AculResponseContent, ListAculsOffsetPaginatedResponseContent]: + ) -> AsyncPager[ListAculsResponseContentItem, ListAculsOffsetPaginatedResponseContent]: """ Get render setting configurations for all screens. @@ -336,7 +336,7 @@ async def list( Returns ------- - AsyncPager[AculResponseContent, ListAculsOffsetPaginatedResponseContent] + AsyncPager[ListAculsResponseContentItem, ListAculsOffsetPaginatedResponseContent] ACUL settings successfully retrieved. Examples diff --git a/src/auth0/management/prompts/rendering/raw_client.py b/src/auth0/management/prompts/rendering/raw_client.py index 73a6bad8..ff869a58 100644 --- a/src/auth0/management/prompts/rendering/raw_client.py +++ b/src/auth0/management/prompts/rendering/raw_client.py @@ -22,10 +22,10 @@ from ...types.acul_filters import AculFilters from ...types.acul_head_tag import AculHeadTag from ...types.acul_rendering_mode_enum import AculRenderingModeEnum -from ...types.acul_response_content import AculResponseContent from ...types.bulk_update_acul_response_content import BulkUpdateAculResponseContent from ...types.get_acul_response_content import GetAculResponseContent from ...types.list_aculs_offset_paginated_response_content import ListAculsOffsetPaginatedResponseContent +from ...types.list_aculs_response_content_item import ListAculsResponseContentItem from ...types.prompt_group_name_enum import PromptGroupNameEnum from ...types.screen_group_name_enum import ScreenGroupNameEnum from ...types.update_acul_response_content import UpdateAculResponseContent @@ -50,7 +50,7 @@ def list( screen: typing.Optional[str] = None, rendering_mode: typing.Optional[AculRenderingModeEnum] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> SyncPager[AculResponseContent, ListAculsOffsetPaginatedResponseContent]: + ) -> SyncPager[ListAculsResponseContentItem, ListAculsOffsetPaginatedResponseContent]: """ Get render setting configurations for all screens. @@ -85,7 +85,7 @@ def list( Returns ------- - SyncPager[AculResponseContent, ListAculsOffsetPaginatedResponseContent] + SyncPager[ListAculsResponseContentItem, ListAculsOffsetPaginatedResponseContent] ACUL settings successfully retrieved. """ page = page if page is not None else 0 @@ -559,7 +559,7 @@ async def list( screen: typing.Optional[str] = None, rendering_mode: typing.Optional[AculRenderingModeEnum] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncPager[AculResponseContent, ListAculsOffsetPaginatedResponseContent]: + ) -> AsyncPager[ListAculsResponseContentItem, ListAculsOffsetPaginatedResponseContent]: """ Get render setting configurations for all screens. @@ -594,7 +594,7 @@ async def list( Returns ------- - AsyncPager[AculResponseContent, ListAculsOffsetPaginatedResponseContent] + AsyncPager[ListAculsResponseContentItem, ListAculsOffsetPaginatedResponseContent] ACUL settings successfully retrieved. """ page = page if page is not None else 0 diff --git a/src/auth0/management/refresh_tokens/client.py b/src/auth0/management/refresh_tokens/client.py index bf6db6d3..6187fe6d 100644 --- a/src/auth0/management/refresh_tokens/client.py +++ b/src/auth0/management/refresh_tokens/client.py @@ -5,8 +5,13 @@ from ..core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from ..core.request_options import RequestOptions from ..types.get_refresh_token_response_content import GetRefreshTokenResponseContent +from ..types.refresh_token_metadata import RefreshTokenMetadata +from ..types.update_refresh_token_response_content import UpdateRefreshTokenResponseContent from .raw_client import AsyncRawRefreshTokensClient, RawRefreshTokensClient +# this is used as the default value for optional parameters +OMIT = typing.cast(typing.Any, ...) + class RefreshTokensClient: def __init__(self, *, client_wrapper: SyncClientWrapper): @@ -86,6 +91,47 @@ def delete(self, id: str, *, request_options: typing.Optional[RequestOptions] = _response = self._raw_client.delete(id, request_options=request_options) return _response.data + def update( + self, + id: str, + *, + refresh_token_metadata: typing.Optional[RefreshTokenMetadata] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> UpdateRefreshTokenResponseContent: + """ + Update a refresh token by its ID. + + Parameters + ---------- + id : str + ID of the refresh token to update. + + refresh_token_metadata : typing.Optional[RefreshTokenMetadata] + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + UpdateRefreshTokenResponseContent + Refresh token successfully updated. + + Examples + -------- + from auth0 import Auth0 + + client = Auth0( + token="YOUR_TOKEN", + ) + client.refresh_tokens.update( + id="id", + ) + """ + _response = self._raw_client.update( + id, refresh_token_metadata=refresh_token_metadata, request_options=request_options + ) + return _response.data + class AsyncRefreshTokensClient: def __init__(self, *, client_wrapper: AsyncClientWrapper): @@ -180,3 +226,52 @@ async def main() -> None: """ _response = await self._raw_client.delete(id, request_options=request_options) return _response.data + + async def update( + self, + id: str, + *, + refresh_token_metadata: typing.Optional[RefreshTokenMetadata] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> UpdateRefreshTokenResponseContent: + """ + Update a refresh token by its ID. + + Parameters + ---------- + id : str + ID of the refresh token to update. + + refresh_token_metadata : typing.Optional[RefreshTokenMetadata] + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + UpdateRefreshTokenResponseContent + Refresh token successfully updated. + + Examples + -------- + import asyncio + + from auth0 import AsyncAuth0 + + client = AsyncAuth0( + token="YOUR_TOKEN", + ) + + + async def main() -> None: + await client.refresh_tokens.update( + id="id", + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.update( + id, refresh_token_metadata=refresh_token_metadata, request_options=request_options + ) + return _response.data diff --git a/src/auth0/management/refresh_tokens/raw_client.py b/src/auth0/management/refresh_tokens/raw_client.py index 0a4df9af..e9532108 100644 --- a/src/auth0/management/refresh_tokens/raw_client.py +++ b/src/auth0/management/refresh_tokens/raw_client.py @@ -15,6 +15,11 @@ from ..errors.too_many_requests_error import TooManyRequestsError from ..errors.unauthorized_error import UnauthorizedError from ..types.get_refresh_token_response_content import GetRefreshTokenResponseContent +from ..types.refresh_token_metadata import RefreshTokenMetadata +from ..types.update_refresh_token_response_content import UpdateRefreshTokenResponseContent + +# this is used as the default value for optional parameters +OMIT = typing.cast(typing.Any, ...) class RawRefreshTokensClient: @@ -177,6 +182,113 @@ def delete(self, id: str, *, request_options: typing.Optional[RequestOptions] = raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + def update( + self, + id: str, + *, + refresh_token_metadata: typing.Optional[RefreshTokenMetadata] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> HttpResponse[UpdateRefreshTokenResponseContent]: + """ + Update a refresh token by its ID. + + Parameters + ---------- + id : str + ID of the refresh token to update. + + refresh_token_metadata : typing.Optional[RefreshTokenMetadata] + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[UpdateRefreshTokenResponseContent] + Refresh token successfully updated. + """ + _response = self._client_wrapper.httpx_client.request( + f"refresh-tokens/{jsonable_encoder(id)}", + method="PATCH", + json={ + "refresh_token_metadata": refresh_token_metadata, + }, + headers={ + "content-type": "application/json", + }, + request_options=request_options, + omit=OMIT, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + UpdateRefreshTokenResponseContent, + parse_obj_as( + type_=UpdateRefreshTokenResponseContent, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + class AsyncRawRefreshTokensClient: def __init__(self, *, client_wrapper: AsyncClientWrapper): @@ -339,3 +451,110 @@ async def delete( except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + async def update( + self, + id: str, + *, + refresh_token_metadata: typing.Optional[RefreshTokenMetadata] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncHttpResponse[UpdateRefreshTokenResponseContent]: + """ + Update a refresh token by its ID. + + Parameters + ---------- + id : str + ID of the refresh token to update. + + refresh_token_metadata : typing.Optional[RefreshTokenMetadata] + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[UpdateRefreshTokenResponseContent] + Refresh token successfully updated. + """ + _response = await self._client_wrapper.httpx_client.request( + f"refresh-tokens/{jsonable_encoder(id)}", + method="PATCH", + json={ + "refresh_token_metadata": refresh_token_metadata, + }, + headers={ + "content-type": "application/json", + }, + request_options=request_options, + omit=OMIT, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + UpdateRefreshTokenResponseContent, + parse_obj_as( + type_=UpdateRefreshTokenResponseContent, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 404: + raise NotFoundError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/auth0/management/roles/raw_client.py b/src/auth0/management/roles/raw_client.py index d7400826..56840dc7 100644 --- a/src/auth0/management/roles/raw_client.py +++ b/src/auth0/management/roles/raw_client.py @@ -11,6 +11,7 @@ from ..core.pydantic_utilities import parse_obj_as from ..core.request_options import RequestOptions from ..errors.bad_request_error import BadRequestError +from ..errors.conflict_error import ConflictError from ..errors.forbidden_error import ForbiddenError from ..errors.not_found_error import NotFoundError from ..errors.too_many_requests_error import TooManyRequestsError @@ -230,6 +231,17 @@ def create( ), ), ) + if _response.status_code == 409: + raise ConflictError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) if _response.status_code == 429: raise TooManyRequestsError( headers=dict(_response.headers), @@ -735,6 +747,17 @@ async def create( ), ), ) + if _response.status_code == 409: + raise ConflictError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) if _response.status_code == 429: raise TooManyRequestsError( headers=dict(_response.headers), diff --git a/src/auth0/management/self_service_profiles/custom_text/client.py b/src/auth0/management/self_service_profiles/custom_text/client.py index 38fd96ca..1cb3f03c 100644 --- a/src/auth0/management/self_service_profiles/custom_text/client.py +++ b/src/auth0/management/self_service_profiles/custom_text/client.py @@ -7,6 +7,8 @@ from ...types.list_self_service_profile_custom_text_response_content import ( ListSelfServiceProfileCustomTextResponseContent, ) +from ...types.self_service_profile_custom_text_language_enum import SelfServiceProfileCustomTextLanguageEnum +from ...types.self_service_profile_custom_text_page_enum import SelfServiceProfileCustomTextPageEnum from ...types.set_self_service_profile_custom_text_request_content import SetSelfServiceProfileCustomTextRequestContent from ...types.set_self_service_profile_custom_text_response_content import ( SetSelfServiceProfileCustomTextResponseContent, @@ -33,7 +35,12 @@ def with_raw_response(self) -> RawCustomTextClient: return self._raw_client def list( - self, id: str, *, request_options: typing.Optional[RequestOptions] = None + self, + id: str, + language: SelfServiceProfileCustomTextLanguageEnum, + page: SelfServiceProfileCustomTextPageEnum, + *, + request_options: typing.Optional[RequestOptions] = None, ) -> ListSelfServiceProfileCustomTextResponseContent: """ Retrieves text customizations for a given self-service profile, language and Self Service SSO Flow page. @@ -43,6 +50,12 @@ def list( id : str The id of the self-service profile. + language : SelfServiceProfileCustomTextLanguageEnum + The language of the custom text. + + page : SelfServiceProfileCustomTextPageEnum + The page where the custom text is shown. + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -60,14 +73,18 @@ def list( ) client.self_service_profiles.custom_text.list( id="id", + language="en", + page="get-started", ) """ - _response = self._raw_client.list(id, request_options=request_options) + _response = self._raw_client.list(id, language, page, request_options=request_options) return _response.data def set( self, id: str, + language: SelfServiceProfileCustomTextLanguageEnum, + page: SelfServiceProfileCustomTextPageEnum, *, request: SetSelfServiceProfileCustomTextRequestContent, request_options: typing.Optional[RequestOptions] = None, @@ -80,6 +97,12 @@ def set( id : str The id of the self-service profile. + language : SelfServiceProfileCustomTextLanguageEnum + The language of the custom text. + + page : SelfServiceProfileCustomTextPageEnum + The page where the custom text is shown. + request : SetSelfServiceProfileCustomTextRequestContent request_options : typing.Optional[RequestOptions] @@ -99,10 +122,12 @@ def set( ) client.self_service_profiles.custom_text.set( id="id", + language="en", + page="get-started", request={"key": "value"}, ) """ - _response = self._raw_client.set(id, request=request, request_options=request_options) + _response = self._raw_client.set(id, language, page, request=request, request_options=request_options) return _response.data @@ -122,7 +147,12 @@ def with_raw_response(self) -> AsyncRawCustomTextClient: return self._raw_client async def list( - self, id: str, *, request_options: typing.Optional[RequestOptions] = None + self, + id: str, + language: SelfServiceProfileCustomTextLanguageEnum, + page: SelfServiceProfileCustomTextPageEnum, + *, + request_options: typing.Optional[RequestOptions] = None, ) -> ListSelfServiceProfileCustomTextResponseContent: """ Retrieves text customizations for a given self-service profile, language and Self Service SSO Flow page. @@ -132,6 +162,12 @@ async def list( id : str The id of the self-service profile. + language : SelfServiceProfileCustomTextLanguageEnum + The language of the custom text. + + page : SelfServiceProfileCustomTextPageEnum + The page where the custom text is shown. + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -154,17 +190,21 @@ async def list( async def main() -> None: await client.self_service_profiles.custom_text.list( id="id", + language="en", + page="get-started", ) asyncio.run(main()) """ - _response = await self._raw_client.list(id, request_options=request_options) + _response = await self._raw_client.list(id, language, page, request_options=request_options) return _response.data async def set( self, id: str, + language: SelfServiceProfileCustomTextLanguageEnum, + page: SelfServiceProfileCustomTextPageEnum, *, request: SetSelfServiceProfileCustomTextRequestContent, request_options: typing.Optional[RequestOptions] = None, @@ -177,6 +217,12 @@ async def set( id : str The id of the self-service profile. + language : SelfServiceProfileCustomTextLanguageEnum + The language of the custom text. + + page : SelfServiceProfileCustomTextPageEnum + The page where the custom text is shown. + request : SetSelfServiceProfileCustomTextRequestContent request_options : typing.Optional[RequestOptions] @@ -201,11 +247,13 @@ async def set( async def main() -> None: await client.self_service_profiles.custom_text.set( id="id", + language="en", + page="get-started", request={"key": "value"}, ) asyncio.run(main()) """ - _response = await self._raw_client.set(id, request=request, request_options=request_options) + _response = await self._raw_client.set(id, language, page, request=request, request_options=request_options) return _response.data diff --git a/src/auth0/management/self_service_profiles/custom_text/raw_client.py b/src/auth0/management/self_service_profiles/custom_text/raw_client.py index 033c72de..15ae6c50 100644 --- a/src/auth0/management/self_service_profiles/custom_text/raw_client.py +++ b/src/auth0/management/self_service_profiles/custom_text/raw_client.py @@ -16,6 +16,8 @@ from ...types.list_self_service_profile_custom_text_response_content import ( ListSelfServiceProfileCustomTextResponseContent, ) +from ...types.self_service_profile_custom_text_language_enum import SelfServiceProfileCustomTextLanguageEnum +from ...types.self_service_profile_custom_text_page_enum import SelfServiceProfileCustomTextPageEnum from ...types.set_self_service_profile_custom_text_request_content import SetSelfServiceProfileCustomTextRequestContent from ...types.set_self_service_profile_custom_text_response_content import ( SetSelfServiceProfileCustomTextResponseContent, @@ -30,7 +32,12 @@ def __init__(self, *, client_wrapper: SyncClientWrapper): self._client_wrapper = client_wrapper def list( - self, id: str, *, request_options: typing.Optional[RequestOptions] = None + self, + id: str, + language: SelfServiceProfileCustomTextLanguageEnum, + page: SelfServiceProfileCustomTextPageEnum, + *, + request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[ListSelfServiceProfileCustomTextResponseContent]: """ Retrieves text customizations for a given self-service profile, language and Self Service SSO Flow page. @@ -40,6 +47,12 @@ def list( id : str The id of the self-service profile. + language : SelfServiceProfileCustomTextLanguageEnum + The language of the custom text. + + page : SelfServiceProfileCustomTextPageEnum + The page where the custom text is shown. + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -49,7 +62,7 @@ def list( Retrieved custom text. """ _response = self._client_wrapper.httpx_client.request( - f"self-service-profiles/{jsonable_encoder(id)}/custom-text/en/get-started", + f"self-service-profiles/{jsonable_encoder(id)}/custom-text/{jsonable_encoder(language)}/{jsonable_encoder(page)}", method="GET", request_options=request_options, ) @@ -115,6 +128,8 @@ def list( def set( self, id: str, + language: SelfServiceProfileCustomTextLanguageEnum, + page: SelfServiceProfileCustomTextPageEnum, *, request: SetSelfServiceProfileCustomTextRequestContent, request_options: typing.Optional[RequestOptions] = None, @@ -127,6 +142,12 @@ def set( id : str The id of the self-service profile. + language : SelfServiceProfileCustomTextLanguageEnum + The language of the custom text. + + page : SelfServiceProfileCustomTextPageEnum + The page where the custom text is shown. + request : SetSelfServiceProfileCustomTextRequestContent request_options : typing.Optional[RequestOptions] @@ -138,7 +159,7 @@ def set( Updated custom text. """ _response = self._client_wrapper.httpx_client.request( - f"self-service-profiles/{jsonable_encoder(id)}/custom-text/en/get-started", + f"self-service-profiles/{jsonable_encoder(id)}/custom-text/{jsonable_encoder(language)}/{jsonable_encoder(page)}", method="PUT", json=request, headers={ @@ -212,7 +233,12 @@ def __init__(self, *, client_wrapper: AsyncClientWrapper): self._client_wrapper = client_wrapper async def list( - self, id: str, *, request_options: typing.Optional[RequestOptions] = None + self, + id: str, + language: SelfServiceProfileCustomTextLanguageEnum, + page: SelfServiceProfileCustomTextPageEnum, + *, + request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[ListSelfServiceProfileCustomTextResponseContent]: """ Retrieves text customizations for a given self-service profile, language and Self Service SSO Flow page. @@ -222,6 +248,12 @@ async def list( id : str The id of the self-service profile. + language : SelfServiceProfileCustomTextLanguageEnum + The language of the custom text. + + page : SelfServiceProfileCustomTextPageEnum + The page where the custom text is shown. + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -231,7 +263,7 @@ async def list( Retrieved custom text. """ _response = await self._client_wrapper.httpx_client.request( - f"self-service-profiles/{jsonable_encoder(id)}/custom-text/en/get-started", + f"self-service-profiles/{jsonable_encoder(id)}/custom-text/{jsonable_encoder(language)}/{jsonable_encoder(page)}", method="GET", request_options=request_options, ) @@ -297,6 +329,8 @@ async def list( async def set( self, id: str, + language: SelfServiceProfileCustomTextLanguageEnum, + page: SelfServiceProfileCustomTextPageEnum, *, request: SetSelfServiceProfileCustomTextRequestContent, request_options: typing.Optional[RequestOptions] = None, @@ -309,6 +343,12 @@ async def set( id : str The id of the self-service profile. + language : SelfServiceProfileCustomTextLanguageEnum + The language of the custom text. + + page : SelfServiceProfileCustomTextPageEnum + The page where the custom text is shown. + request : SetSelfServiceProfileCustomTextRequestContent request_options : typing.Optional[RequestOptions] @@ -320,7 +360,7 @@ async def set( Updated custom text. """ _response = await self._client_wrapper.httpx_client.request( - f"self-service-profiles/{jsonable_encoder(id)}/custom-text/en/get-started", + f"self-service-profiles/{jsonable_encoder(id)}/custom-text/{jsonable_encoder(language)}/{jsonable_encoder(page)}", method="PUT", json=request, headers={ diff --git a/src/auth0/management/self_service_profiles/sso_ticket/client.py b/src/auth0/management/self_service_profiles/sso_ticket/client.py index 82aa8951..d438d5bd 100644 --- a/src/auth0/management/self_service_profiles/sso_ticket/client.py +++ b/src/auth0/management/self_service_profiles/sso_ticket/client.py @@ -45,6 +45,7 @@ def create( ttl_sec: typing.Optional[int] = OMIT, domain_aliases_config: typing.Optional[SelfServiceProfileSsoTicketDomainAliasesConfig] = OMIT, provisioning_config: typing.Optional[SelfServiceProfileSsoTicketProvisioningConfig] = OMIT, + use_for_organization_discovery: typing.Optional[bool] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> CreateSelfServiceProfileSsoTicketResponseContent: """ @@ -73,6 +74,9 @@ def create( provisioning_config : typing.Optional[SelfServiceProfileSsoTicketProvisioningConfig] + use_for_organization_discovery : typing.Optional[bool] + Indicates whether a verified domain should be used for organization discovery during authentication. + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -101,6 +105,7 @@ def create( ttl_sec=ttl_sec, domain_aliases_config=domain_aliases_config, provisioning_config=provisioning_config, + use_for_organization_discovery=use_for_organization_discovery, request_options=request_options, ) return _response.data @@ -167,6 +172,7 @@ async def create( ttl_sec: typing.Optional[int] = OMIT, domain_aliases_config: typing.Optional[SelfServiceProfileSsoTicketDomainAliasesConfig] = OMIT, provisioning_config: typing.Optional[SelfServiceProfileSsoTicketProvisioningConfig] = OMIT, + use_for_organization_discovery: typing.Optional[bool] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> CreateSelfServiceProfileSsoTicketResponseContent: """ @@ -195,6 +201,9 @@ async def create( provisioning_config : typing.Optional[SelfServiceProfileSsoTicketProvisioningConfig] + use_for_organization_discovery : typing.Optional[bool] + Indicates whether a verified domain should be used for organization discovery during authentication. + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -231,6 +240,7 @@ async def main() -> None: ttl_sec=ttl_sec, domain_aliases_config=domain_aliases_config, provisioning_config=provisioning_config, + use_for_organization_discovery=use_for_organization_discovery, request_options=request_options, ) return _response.data diff --git a/src/auth0/management/self_service_profiles/sso_ticket/raw_client.py b/src/auth0/management/self_service_profiles/sso_ticket/raw_client.py index 8b57c400..3c47d6ae 100644 --- a/src/auth0/management/self_service_profiles/sso_ticket/raw_client.py +++ b/src/auth0/management/self_service_profiles/sso_ticket/raw_client.py @@ -43,6 +43,7 @@ def create( ttl_sec: typing.Optional[int] = OMIT, domain_aliases_config: typing.Optional[SelfServiceProfileSsoTicketDomainAliasesConfig] = OMIT, provisioning_config: typing.Optional[SelfServiceProfileSsoTicketProvisioningConfig] = OMIT, + use_for_organization_discovery: typing.Optional[bool] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[CreateSelfServiceProfileSsoTicketResponseContent]: """ @@ -71,6 +72,9 @@ def create( provisioning_config : typing.Optional[SelfServiceProfileSsoTicketProvisioningConfig] + use_for_organization_discovery : typing.Optional[bool] + Indicates whether a verified domain should be used for organization discovery during authentication. + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -104,6 +108,7 @@ def create( annotation=SelfServiceProfileSsoTicketProvisioningConfig, direction="write", ), + "use_for_organization_discovery": use_for_organization_discovery, }, headers={ "content-type": "application/json", @@ -254,6 +259,7 @@ async def create( ttl_sec: typing.Optional[int] = OMIT, domain_aliases_config: typing.Optional[SelfServiceProfileSsoTicketDomainAliasesConfig] = OMIT, provisioning_config: typing.Optional[SelfServiceProfileSsoTicketProvisioningConfig] = OMIT, + use_for_organization_discovery: typing.Optional[bool] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[CreateSelfServiceProfileSsoTicketResponseContent]: """ @@ -282,6 +288,9 @@ async def create( provisioning_config : typing.Optional[SelfServiceProfileSsoTicketProvisioningConfig] + use_for_organization_discovery : typing.Optional[bool] + Indicates whether a verified domain should be used for organization discovery during authentication. + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -315,6 +324,7 @@ async def create( annotation=SelfServiceProfileSsoTicketProvisioningConfig, direction="write", ), + "use_for_organization_discovery": use_for_organization_discovery, }, headers={ "content-type": "application/json", diff --git a/src/auth0/management/tenants/settings/client.py b/src/auth0/management/tenants/settings/client.py index 59504a0a..aeec60dd 100644 --- a/src/auth0/management/tenants/settings/client.py +++ b/src/auth0/management/tenants/settings/client.py @@ -117,6 +117,8 @@ def update( authorization_response_iss_parameter_supported: typing.Optional[bool] = False, skip_non_verifiable_callback_uri_confirmation_prompt: typing.Optional[bool] = OMIT, resource_parameter_profile: typing.Optional[TenantSettingsResourceParameterProfile] = OMIT, + enable_ai_guide: typing.Optional[bool] = OMIT, + phone_consolidated_experience: typing.Optional[bool] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> UpdateTenantSettingsResponseContent: """ @@ -211,6 +213,12 @@ def update( resource_parameter_profile : typing.Optional[TenantSettingsResourceParameterProfile] + enable_ai_guide : typing.Optional[bool] + Whether Auth0 Guide (AI-powered assistance) is enabled for this tenant. + + phone_consolidated_experience : typing.Optional[bool] + Whether Phone Consolidated Experience is enabled for this tenant. + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -261,6 +269,8 @@ def update( authorization_response_iss_parameter_supported=authorization_response_iss_parameter_supported, skip_non_verifiable_callback_uri_confirmation_prompt=skip_non_verifiable_callback_uri_confirmation_prompt, resource_parameter_profile=resource_parameter_profile, + enable_ai_guide=enable_ai_guide, + phone_consolidated_experience=phone_consolidated_experience, request_options=request_options, ) return _response.data @@ -367,6 +377,8 @@ async def update( authorization_response_iss_parameter_supported: typing.Optional[bool] = False, skip_non_verifiable_callback_uri_confirmation_prompt: typing.Optional[bool] = OMIT, resource_parameter_profile: typing.Optional[TenantSettingsResourceParameterProfile] = OMIT, + enable_ai_guide: typing.Optional[bool] = OMIT, + phone_consolidated_experience: typing.Optional[bool] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> UpdateTenantSettingsResponseContent: """ @@ -461,6 +473,12 @@ async def update( resource_parameter_profile : typing.Optional[TenantSettingsResourceParameterProfile] + enable_ai_guide : typing.Optional[bool] + Whether Auth0 Guide (AI-powered assistance) is enabled for this tenant. + + phone_consolidated_experience : typing.Optional[bool] + Whether Phone Consolidated Experience is enabled for this tenant. + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -519,6 +537,8 @@ async def main() -> None: authorization_response_iss_parameter_supported=authorization_response_iss_parameter_supported, skip_non_verifiable_callback_uri_confirmation_prompt=skip_non_verifiable_callback_uri_confirmation_prompt, resource_parameter_profile=resource_parameter_profile, + enable_ai_guide=enable_ai_guide, + phone_consolidated_experience=phone_consolidated_experience, request_options=request_options, ) return _response.data diff --git a/src/auth0/management/tenants/settings/raw_client.py b/src/auth0/management/tenants/settings/raw_client.py index 36247d92..6667c1ae 100644 --- a/src/auth0/management/tenants/settings/raw_client.py +++ b/src/auth0/management/tenants/settings/raw_client.py @@ -167,6 +167,8 @@ def update( authorization_response_iss_parameter_supported: typing.Optional[bool] = False, skip_non_verifiable_callback_uri_confirmation_prompt: typing.Optional[bool] = OMIT, resource_parameter_profile: typing.Optional[TenantSettingsResourceParameterProfile] = OMIT, + enable_ai_guide: typing.Optional[bool] = OMIT, + phone_consolidated_experience: typing.Optional[bool] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[UpdateTenantSettingsResponseContent]: """ @@ -261,6 +263,12 @@ def update( resource_parameter_profile : typing.Optional[TenantSettingsResourceParameterProfile] + enable_ai_guide : typing.Optional[bool] + Whether Auth0 Guide (AI-powered assistance) is enabled for this tenant. + + phone_consolidated_experience : typing.Optional[bool] + Whether Phone Consolidated Experience is enabled for this tenant. + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -325,6 +333,8 @@ def update( "authorization_response_iss_parameter_supported": authorization_response_iss_parameter_supported, "skip_non_verifiable_callback_uri_confirmation_prompt": skip_non_verifiable_callback_uri_confirmation_prompt, "resource_parameter_profile": resource_parameter_profile, + "enable_ai_guide": enable_ai_guide, + "phone_consolidated_experience": phone_consolidated_experience, }, headers={ "content-type": "application/json", @@ -525,6 +535,8 @@ async def update( authorization_response_iss_parameter_supported: typing.Optional[bool] = False, skip_non_verifiable_callback_uri_confirmation_prompt: typing.Optional[bool] = OMIT, resource_parameter_profile: typing.Optional[TenantSettingsResourceParameterProfile] = OMIT, + enable_ai_guide: typing.Optional[bool] = OMIT, + phone_consolidated_experience: typing.Optional[bool] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[UpdateTenantSettingsResponseContent]: """ @@ -619,6 +631,12 @@ async def update( resource_parameter_profile : typing.Optional[TenantSettingsResourceParameterProfile] + enable_ai_guide : typing.Optional[bool] + Whether Auth0 Guide (AI-powered assistance) is enabled for this tenant. + + phone_consolidated_experience : typing.Optional[bool] + Whether Phone Consolidated Experience is enabled for this tenant. + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -683,6 +701,8 @@ async def update( "authorization_response_iss_parameter_supported": authorization_response_iss_parameter_supported, "skip_non_verifiable_callback_uri_confirmation_prompt": skip_non_verifiable_callback_uri_confirmation_prompt, "resource_parameter_profile": resource_parameter_profile, + "enable_ai_guide": enable_ai_guide, + "phone_consolidated_experience": phone_consolidated_experience, }, headers={ "content-type": "application/json", diff --git a/src/auth0/management/token_exchange_profiles/client.py b/src/auth0/management/token_exchange_profiles/client.py index 8e43297b..d27ce311 100644 --- a/src/auth0/management/token_exchange_profiles/client.py +++ b/src/auth0/management/token_exchange_profiles/client.py @@ -9,6 +9,7 @@ from ..types.get_token_exchange_profile_response_content import GetTokenExchangeProfileResponseContent from ..types.list_token_exchange_profile_response_content import ListTokenExchangeProfileResponseContent from ..types.token_exchange_profile_response_content import TokenExchangeProfileResponseContent +from ..types.token_exchange_profile_type_enum import TokenExchangeProfileTypeEnum from .raw_client import AsyncRawTokenExchangeProfilesClient, RawTokenExchangeProfilesClient # this is used as the default value for optional parameters @@ -91,6 +92,7 @@ def create( name: str = "Token Exchange Profile 1", subject_token_type: str, action_id: str, + type: TokenExchangeProfileTypeEnum, request_options: typing.Optional[RequestOptions] = None, ) -> CreateTokenExchangeProfileResponseContent: """ @@ -109,6 +111,8 @@ def create( action_id : str The ID of the Custom Token Exchange action to execute for this profile, in order to validate the subject_token. The action must use the custom-token-exchange trigger. + type : TokenExchangeProfileTypeEnum + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -128,10 +132,15 @@ def create( name="name", subject_token_type="subject_token_type", action_id="action_id", + type="custom_authentication", ) """ _response = self._raw_client.create( - name=name, subject_token_type=subject_token_type, action_id=action_id, request_options=request_options + name=name, + subject_token_type=subject_token_type, + action_id=action_id, + type=type, + request_options=request_options, ) return _response.data @@ -335,6 +344,7 @@ async def create( name: str = "Token Exchange Profile 1", subject_token_type: str, action_id: str, + type: TokenExchangeProfileTypeEnum, request_options: typing.Optional[RequestOptions] = None, ) -> CreateTokenExchangeProfileResponseContent: """ @@ -353,6 +363,8 @@ async def create( action_id : str The ID of the Custom Token Exchange action to execute for this profile, in order to validate the subject_token. The action must use the custom-token-exchange trigger. + type : TokenExchangeProfileTypeEnum + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -377,13 +389,18 @@ async def main() -> None: name="name", subject_token_type="subject_token_type", action_id="action_id", + type="custom_authentication", ) asyncio.run(main()) """ _response = await self._raw_client.create( - name=name, subject_token_type=subject_token_type, action_id=action_id, request_options=request_options + name=name, + subject_token_type=subject_token_type, + action_id=action_id, + type=type, + request_options=request_options, ) return _response.data diff --git a/src/auth0/management/token_exchange_profiles/raw_client.py b/src/auth0/management/token_exchange_profiles/raw_client.py index cda9c8d1..cec1427d 100644 --- a/src/auth0/management/token_exchange_profiles/raw_client.py +++ b/src/auth0/management/token_exchange_profiles/raw_client.py @@ -20,6 +20,7 @@ from ..types.get_token_exchange_profile_response_content import GetTokenExchangeProfileResponseContent from ..types.list_token_exchange_profile_response_content import ListTokenExchangeProfileResponseContent from ..types.token_exchange_profile_response_content import TokenExchangeProfileResponseContent +from ..types.token_exchange_profile_type_enum import TokenExchangeProfileTypeEnum # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -147,6 +148,7 @@ def create( name: str = "Token Exchange Profile 1", subject_token_type: str, action_id: str, + type: TokenExchangeProfileTypeEnum, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[CreateTokenExchangeProfileResponseContent]: """ @@ -165,6 +167,8 @@ def create( action_id : str The ID of the Custom Token Exchange action to execute for this profile, in order to validate the subject_token. The action must use the custom-token-exchange trigger. + type : TokenExchangeProfileTypeEnum + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -180,7 +184,7 @@ def create( "name": name, "subject_token_type": subject_token_type, "action_id": action_id, - "type": "custom_authentication", + "type": type, }, headers={ "content-type": "application/json", @@ -651,6 +655,7 @@ async def create( name: str = "Token Exchange Profile 1", subject_token_type: str, action_id: str, + type: TokenExchangeProfileTypeEnum, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[CreateTokenExchangeProfileResponseContent]: """ @@ -669,6 +674,8 @@ async def create( action_id : str The ID of the Custom Token Exchange action to execute for this profile, in order to validate the subject_token. The action must use the custom-token-exchange trigger. + type : TokenExchangeProfileTypeEnum + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -684,7 +691,7 @@ async def create( "name": name, "subject_token_type": subject_token_type, "action_id": action_id, - "type": "custom_authentication", + "type": type, }, headers={ "content-type": "application/json", diff --git a/src/auth0/management/types/__init__.py b/src/auth0/management/types/__init__.py index e51f6e4b..f10dfdc1 100644 --- a/src/auth0/management/types/__init__.py +++ b/src/auth0/management/types/__init__.py @@ -18,6 +18,15 @@ from .action_error import ActionError from .action_execution_result import ActionExecutionResult from .action_execution_status_enum import ActionExecutionStatusEnum + from .action_module_action import ActionModuleAction + from .action_module_dependency import ActionModuleDependency + from .action_module_dependency_request import ActionModuleDependencyRequest + from .action_module_list_item import ActionModuleListItem + from .action_module_reference import ActionModuleReference + from .action_module_secret import ActionModuleSecret + from .action_module_secret_request import ActionModuleSecretRequest + from .action_module_version import ActionModuleVersion + from .action_module_version_reference import ActionModuleVersionReference from .action_secret_request import ActionSecretRequest from .action_secret_response import ActionSecretResponse from .action_trigger import ActionTrigger @@ -35,7 +44,6 @@ from .acul_context_configuration import AculContextConfiguration from .acul_context_configuration_item import AculContextConfigurationItem from .acul_context_enum import AculContextEnum - from .acul_default_head_tags_disabled import AculDefaultHeadTagsDisabled from .acul_domain_filter import AculDomainFilter from .acul_domain_filter_by_id import AculDomainFilterById from .acul_domain_filter_by_metadata import AculDomainFilterByMetadata @@ -44,15 +52,12 @@ from .acul_head_tag import AculHeadTag from .acul_head_tag_attributes import AculHeadTagAttributes from .acul_head_tag_content import AculHeadTagContent - from .acul_head_tags import AculHeadTags from .acul_match_type_enum import AculMatchTypeEnum from .acul_organization_filter import AculOrganizationFilter from .acul_organization_filter_by_id import AculOrganizationFilterById from .acul_organization_filter_by_metadata import AculOrganizationFilterByMetadata from .acul_organization_metadata import AculOrganizationMetadata from .acul_rendering_mode_enum import AculRenderingModeEnum - from .acul_response_content import AculResponseContent - from .acul_use_page_template import AculUsePageTemplate from .add_organization_connection_response_content import AddOrganizationConnectionResponseContent from .anomaly_ip_format import AnomalyIpFormat from .app_metadata import AppMetadata @@ -137,6 +142,8 @@ from .breached_password_detection_shields_enum import BreachedPasswordDetectionShieldsEnum from .breached_password_detection_stage import BreachedPasswordDetectionStage from .bulk_update_acul_response_content import BulkUpdateAculResponseContent + from .certificate_subject_dn_credential import CertificateSubjectDnCredential + from .certificate_subject_dn_credential_type_enum import CertificateSubjectDnCredentialTypeEnum from .change_password_ticket_identity import ChangePasswordTicketIdentity from .change_password_ticket_response_content import ChangePasswordTicketResponseContent from .client import Client @@ -181,12 +188,30 @@ ClientAsyncApprovalNotificationsChannelsApiPostConfiguration, ) from .client_authentication_method import ClientAuthenticationMethod + from .client_authentication_method_private_key_jwt import ClientAuthenticationMethodPrivateKeyJwt + from .client_authentication_method_private_key_jwt_credentials import ( + ClientAuthenticationMethodPrivateKeyJwtCredentials, + ) from .client_authentication_method_self_signed_tls_client_auth import ( ClientAuthenticationMethodSelfSignedTlsClientAuth, ) + from .client_authentication_method_self_signed_tls_client_auth_credentials import ( + ClientAuthenticationMethodSelfSignedTlsClientAuthCredentials, + ) from .client_authentication_method_tls_client_auth import ClientAuthenticationMethodTlsClientAuth + from .client_authentication_method_tls_client_auth_credentials import ( + ClientAuthenticationMethodTlsClientAuthCredentials, + ) from .client_compliance_level_enum import ClientComplianceLevelEnum from .client_create_authentication_method import ClientCreateAuthenticationMethod + from .client_create_authentication_method_private_key_jwt import ClientCreateAuthenticationMethodPrivateKeyJwt + from .client_create_authentication_method_private_key_jwt_credentials import ( + ClientCreateAuthenticationMethodPrivateKeyJwtCredentials, + ) + from .client_create_authentication_method_tls_client_auth import ClientCreateAuthenticationMethodTlsClientAuth + from .client_create_authentication_method_tls_client_auth_credentials import ( + ClientCreateAuthenticationMethodTlsClientAuthCredentials, + ) from .client_credential import ClientCredential from .client_credential_algorithm_enum import ClientCredentialAlgorithmEnum from .client_credential_type_enum import ClientCredentialTypeEnum @@ -215,6 +240,7 @@ from .client_organization_usage_enum import ClientOrganizationUsageEnum from .client_organization_usage_patch_enum import ClientOrganizationUsagePatchEnum from .client_refresh_token_configuration import ClientRefreshTokenConfiguration + from .client_refresh_token_policy import ClientRefreshTokenPolicy from .client_session_transfer_allowed_authentication_methods_enum import ( ClientSessionTransferAllowedAuthenticationMethodsEnum, ) @@ -232,7 +258,15 @@ from .connected_account import ConnectedAccount from .connected_account_access_type_enum import ConnectedAccountAccessTypeEnum from .connection_acr_values_supported import ConnectionAcrValuesSupported + from .connection_admin_access_token_expires_in_google_apps import ConnectionAdminAccessTokenExpiresInGoogleApps + from .connection_admin_access_token_google_apps import ConnectionAdminAccessTokenGoogleApps + from .connection_admin_refresh_token_google_apps import ConnectionAdminRefreshTokenGoogleApps + from .connection_agent_ipad import ConnectionAgentIpad + from .connection_agent_mode_ad import ConnectionAgentModeAd + from .connection_agent_version_ad import ConnectionAgentVersionAd from .connection_allowed_audiences_google_o_auth_2 import ConnectionAllowedAudiencesGoogleOAuth2 + from .connection_api_enable_users import ConnectionApiEnableUsers + from .connection_api_enable_users_google_apps import ConnectionApiEnableUsersGoogleApps from .connection_app_domain_azure_ad import ConnectionAppDomainAzureAd from .connection_attribute_identifier import ConnectionAttributeIdentifier from .connection_attribute_map_attributes import ConnectionAttributeMapAttributes @@ -241,6 +275,7 @@ from .connection_attribute_map_userinfo_scope import ConnectionAttributeMapUserinfoScope from .connection_attributes import ConnectionAttributes from .connection_auth_params_additional_properties_o_auth_2 import ConnectionAuthParamsAdditionalPropertiesOAuth2 + from .connection_auth_params_email import ConnectionAuthParamsEmail from .connection_auth_params_map import ConnectionAuthParamsMap from .connection_auth_params_o_auth_2 import ConnectionAuthParamsOAuth2 from .connection_authentication_methods import ConnectionAuthenticationMethods @@ -248,17 +283,24 @@ from .connection_authorization_endpoint import ConnectionAuthorizationEndpoint from .connection_authorization_endpoint_o_auth_2 import ConnectionAuthorizationEndpointOAuth2 from .connection_brute_force_protection import ConnectionBruteForceProtection + from .connection_calculated_thumbprint_saml import ConnectionCalculatedThumbprintSaml + from .connection_certs_ad import ConnectionCertsAd from .connection_claim_types_supported import ConnectionClaimTypesSupported from .connection_claims_locales_supported import ConnectionClaimsLocalesSupported from .connection_claims_parameter_supported import ConnectionClaimsParameterSupported from .connection_claims_supported import ConnectionClaimsSupported from .connection_client_id import ConnectionClientId from .connection_client_id_azure_ad import ConnectionClientIdAzureAd + from .connection_client_id_facebook import ConnectionClientIdFacebook + from .connection_client_id_google_apps import ConnectionClientIdGoogleApps from .connection_client_id_google_o_auth_2 import ConnectionClientIdGoogleOAuth2 from .connection_client_id_o_auth_2 import ConnectionClientIdOAuth2 from .connection_client_id_oidc import ConnectionClientIdOidc + from .connection_client_protocol_saml import ConnectionClientProtocolSaml from .connection_client_secret import ConnectionClientSecret from .connection_client_secret_azure_ad import ConnectionClientSecretAzureAd + from .connection_client_secret_facebook import ConnectionClientSecretFacebook + from .connection_client_secret_google_apps import ConnectionClientSecretGoogleApps from .connection_client_secret_google_o_auth_2 import ConnectionClientSecretGoogleOAuth2 from .connection_client_secret_o_auth_2 import ConnectionClientSecretOAuth2 from .connection_client_secret_oidc import ConnectionClientSecretOidc @@ -269,37 +311,77 @@ from .connection_connection_settings_pkce_enum import ConnectionConnectionSettingsPkceEnum from .connection_custom_headers_o_auth_2 import ConnectionCustomHeadersOAuth2 from .connection_custom_scripts import ConnectionCustomScripts + from .connection_debug_saml import ConnectionDebugSaml + from .connection_decryption_key_saml import ConnectionDecryptionKeySaml + from .connection_decryption_key_saml_cert import ConnectionDecryptionKeySamlCert + from .connection_destination_url_saml import ConnectionDestinationUrlSaml + from .connection_digest_algorithm_enum_saml import ConnectionDigestAlgorithmEnumSaml + from .connection_digest_algorithm_saml import ConnectionDigestAlgorithmSaml from .connection_disable_self_service_change_password import ConnectionDisableSelfServiceChangePassword from .connection_disable_signup import ConnectionDisableSignup + from .connection_disable_signup_sms import ConnectionDisableSignupSms from .connection_discovery_url import ConnectionDiscoveryUrl from .connection_display_name import ConnectionDisplayName from .connection_display_values_supported import ConnectionDisplayValuesSupported + from .connection_domain_aliases import ConnectionDomainAliases + from .connection_domain_aliases_ad import ConnectionDomainAliasesAd from .connection_domain_aliases_azure_ad import ConnectionDomainAliasesAzureAd - from .connection_domain_aliases_one import ConnectionDomainAliasesOne + from .connection_domain_aliases_items_one import ConnectionDomainAliasesItemsOne + from .connection_domain_aliases_saml import ConnectionDomainAliasesSaml + from .connection_domain_google_apps import ConnectionDomainGoogleApps from .connection_domain_okta import ConnectionDomainOkta + from .connection_email_body_email import ConnectionEmailBodyEmail + from .connection_email_email import ConnectionEmailEmail + from .connection_email_email_syntax import ConnectionEmailEmailSyntax + from .connection_email_from_email import ConnectionEmailFromEmail + from .connection_email_otp_authentication_method import ConnectionEmailOtpAuthenticationMethod + from .connection_email_subject_email import ConnectionEmailSubjectEmail from .connection_enable_script_context import ConnectionEnableScriptContext from .connection_enabled_client import ConnectionEnabledClient from .connection_enabled_clients import ConnectionEnabledClients from .connection_enabled_database_customization import ConnectionEnabledDatabaseCustomization from .connection_end_session_endpoint import ConnectionEndSessionEndpoint from .connection_end_session_endpoint_o_auth_2 import ConnectionEndSessionEndpointOAuth2 + from .connection_entity_id_saml import ConnectionEntityIdSaml from .connection_ext_admin import ConnectionExtAdmin from .connection_ext_agreed_terms import ConnectionExtAgreedTerms + from .connection_ext_agreed_terms_google_apps import ConnectionExtAgreedTermsGoogleApps from .connection_ext_assigned_plans import ConnectionExtAssignedPlans from .connection_ext_groups import ConnectionExtGroups + from .connection_ext_groups_azure_ad import ConnectionExtGroupsAzureAd + from .connection_ext_groups_google_apps import ConnectionExtGroupsGoogleApps + from .connection_ext_is_admin_google_apps import ConnectionExtIsAdminGoogleApps from .connection_ext_is_suspended import ConnectionExtIsSuspended + from .connection_ext_is_suspended_google_apps import ConnectionExtIsSuspendedGoogleApps from .connection_ext_profile import ConnectionExtProfile from .connection_federated_connections_access_tokens import ConnectionFederatedConnectionsAccessTokens from .connection_fields_map import ConnectionFieldsMap + from .connection_fields_map_saml import ConnectionFieldsMapSaml + from .connection_fields_map_saml_value import ConnectionFieldsMapSamlValue from .connection_for_list import ConnectionForList from .connection_for_organization import ConnectionForOrganization + from .connection_forward_req_info_sms import ConnectionForwardReqInfoSms from .connection_freeform_scopes_google_o_auth_2 import ConnectionFreeformScopesGoogleOAuth2 + from .connection_from_sms import ConnectionFromSms from .connection_gateway_authentication import ConnectionGatewayAuthentication + from .connection_gateway_authentication_audience_sms import ConnectionGatewayAuthenticationAudienceSms + from .connection_gateway_authentication_method_sms import ConnectionGatewayAuthenticationMethodSms + from .connection_gateway_authentication_sms import ConnectionGatewayAuthenticationSms + from .connection_gateway_authentication_subject_sms import ConnectionGatewayAuthenticationSubjectSms + from .connection_gateway_url_sms import ConnectionGatewayUrlSms + from .connection_global_token_revocation_jwt_iss_saml import ConnectionGlobalTokenRevocationJwtIssSaml + from .connection_global_token_revocation_jwt_sub_saml import ConnectionGlobalTokenRevocationJwtSubSaml from .connection_grant_types_supported import ConnectionGrantTypesSupported + from .connection_handle_login_from_social_google_apps import ConnectionHandleLoginFromSocialGoogleApps from .connection_https_url_with_http_fallback import ConnectionHttpsUrlWithHttpFallback + from .connection_https_url_with_http_fallback_2048 import ConnectionHttpsUrlWithHttpFallback2048 + from .connection_https_url_with_http_fallback_255 import ConnectionHttpsUrlWithHttpFallback255 from .connection_icon_url import ConnectionIconUrl + from .connection_icon_url_adfs import ConnectionIconUrlAdfs from .connection_icon_url_azure_ad import ConnectionIconUrlAzureAd + from .connection_icon_url_google_apps import ConnectionIconUrlGoogleApps from .connection_icon_url_google_o_auth_2 import ConnectionIconUrlGoogleOAuth2 + from .connection_icon_url_saml import ConnectionIconUrlSaml from .connection_id import ConnectionId from .connection_id_token_encryption_alg_values_supported import ConnectionIdTokenEncryptionAlgValuesSupported from .connection_id_token_encryption_enc_values_supported import ConnectionIdTokenEncryptionEncValuesSupported @@ -312,6 +394,7 @@ from .connection_identity_api_enum_azure_ad import ConnectionIdentityApiEnumAzureAd from .connection_identity_provider_enum import ConnectionIdentityProviderEnum from .connection_import_mode import ConnectionImportMode + from .connection_ips_ad import ConnectionIpsAd from .connection_is_domain_connection import ConnectionIsDomainConnection from .connection_issuer import ConnectionIssuer from .connection_jwks_uri import ConnectionJwksUri @@ -320,6 +403,11 @@ from .connection_mapping_mode_enum_oidc import ConnectionMappingModeEnumOidc from .connection_mapping_mode_enum_okta import ConnectionMappingModeEnumOkta from .connection_max_groups_to_retrieve import ConnectionMaxGroupsToRetrieve + from .connection_messaging_service_sid_sms import ConnectionMessagingServiceSidSms + from .connection_metadata_url_saml import ConnectionMetadataUrlSaml + from .connection_metadata_xml import ConnectionMetadataXml + from .connection_metadata_xml_adfs import ConnectionMetadataXmlAdfs + from .connection_metadata_xml_saml import ConnectionMetadataXmlSaml from .connection_mfa import ConnectionMfa from .connection_name import ConnectionName from .connection_name_prefix_template import ConnectionNamePrefixTemplate @@ -341,14 +429,14 @@ from .connection_options_box import ConnectionOptionsBox from .connection_options_common import ConnectionOptionsCommon from .connection_options_common_oidc import ConnectionOptionsCommonOidc + from .connection_options_common_saml import ConnectionOptionsCommonSaml from .connection_options_custom import ConnectionOptionsCustom from .connection_options_daccount import ConnectionOptionsDaccount + from .connection_options_deflate_saml import ConnectionOptionsDeflateSaml from .connection_options_dropbox import ConnectionOptionsDropbox from .connection_options_dwolla import ConnectionOptionsDwolla from .connection_options_email import ConnectionOptionsEmail from .connection_options_evernote import ConnectionOptionsEvernote - from .connection_options_evernote_common import ConnectionOptionsEvernoteCommon - from .connection_options_evernote_sandbox import ConnectionOptionsEvernoteSandbox from .connection_options_exact import ConnectionOptionsExact from .connection_options_facebook import ConnectionOptionsFacebook from .connection_options_fitbit import ConnectionOptionsFitbit @@ -356,6 +444,10 @@ from .connection_options_git_hub import ConnectionOptionsGitHub from .connection_options_google_apps import ConnectionOptionsGoogleApps from .connection_options_google_o_auth_2 import ConnectionOptionsGoogleOAuth2 + from .connection_options_idp_initiated_client_protocol_enum_saml import ( + ConnectionOptionsIdpInitiatedClientProtocolEnumSaml, + ) + from .connection_options_idpinitiated_saml import ConnectionOptionsIdpinitiatedSaml from .connection_options_instagram import ConnectionOptionsInstagram from .connection_options_ip import ConnectionOptionsIp from .connection_options_line import ConnectionOptionsLine @@ -369,22 +461,16 @@ from .connection_options_oidc_metadata import ConnectionOptionsOidcMetadata from .connection_options_okta import ConnectionOptionsOkta from .connection_options_paypal import ConnectionOptionsPaypal - from .connection_options_paypal_sandbox import ConnectionOptionsPaypalSandbox from .connection_options_ping_federate import ConnectionOptionsPingFederate from .connection_options_planning_center import ConnectionOptionsPlanningCenter from .connection_options_renren import ConnectionOptionsRenren from .connection_options_salesforce import ConnectionOptionsSalesforce - from .connection_options_salesforce_common import ConnectionOptionsSalesforceCommon - from .connection_options_salesforce_community import ConnectionOptionsSalesforceCommunity - from .connection_options_salesforce_sandbox import ConnectionOptionsSalesforceSandbox from .connection_options_saml import ConnectionOptionsSaml from .connection_options_sharepoint import ConnectionOptionsSharepoint from .connection_options_shop import ConnectionOptionsShop from .connection_options_shopify import ConnectionOptionsShopify from .connection_options_sms import ConnectionOptionsSms from .connection_options_soundcloud import ConnectionOptionsSoundcloud - from .connection_options_the_city import ConnectionOptionsTheCity - from .connection_options_the_city_sandbox import ConnectionOptionsTheCitySandbox from .connection_options_thirty_seven_signals import ConnectionOptionsThirtySevenSignals from .connection_options_twitter import ConnectionOptionsTwitter from .connection_options_untappd import ConnectionOptionsUntappd @@ -404,6 +490,9 @@ from .connection_password_history_options import ConnectionPasswordHistoryOptions from .connection_password_no_personal_info_options import ConnectionPasswordNoPersonalInfoOptions from .connection_password_policy_enum import ConnectionPasswordPolicyEnum + from .connection_phone_otp_authentication_method import ConnectionPhoneOtpAuthenticationMethod + from .connection_ping_federate_base_url import ConnectionPingFederateBaseUrl + from .connection_ping_federate_base_url_ping_federate import ConnectionPingFederateBaseUrlPingFederate from .connection_profile import ConnectionProfile from .connection_profile_config import ConnectionProfileConfig from .connection_profile_enabled_features import ConnectionProfileEnabledFeatures @@ -425,10 +514,14 @@ from .connection_profile_template import ConnectionProfileTemplate from .connection_profile_template_item import ConnectionProfileTemplateItem from .connection_properties_options import ConnectionPropertiesOptions - from .connection_provisioning_ticket import ConnectionProvisioningTicket + from .connection_protocol_binding_enum_saml import ConnectionProtocolBindingEnumSaml + from .connection_protocol_binding_saml import ConnectionProtocolBindingSaml + from .connection_provider_enum_sms import ConnectionProviderEnumSms + from .connection_provider_sms import ConnectionProviderSms from .connection_provisioning_ticket_url import ConnectionProvisioningTicketUrl from .connection_realm_fallback import ConnectionRealmFallback from .connection_realms import ConnectionRealms + from .connection_recipient_url_saml import ConnectionRecipientUrlSaml from .connection_registration_endpoint import ConnectionRegistrationEndpoint from .connection_request_object_encryption_alg_values_supported import ( ConnectionRequestObjectEncryptionAlgValuesSupported, @@ -438,78 +531,147 @@ ) from .connection_request_object_signing_alg_values_supported import ConnectionRequestObjectSigningAlgValuesSupported from .connection_request_parameter_supported import ConnectionRequestParameterSupported + from .connection_request_template_saml import ConnectionRequestTemplateSaml from .connection_request_uri_parameter_supported import ConnectionRequestUriParameterSupported from .connection_require_request_uri_registration import ConnectionRequireRequestUriRegistration from .connection_requires_username import ConnectionRequiresUsername from .connection_response_common import ConnectionResponseCommon from .connection_response_content_ad import ConnectionResponseContentAd + from .connection_response_content_ad_strategy import ConnectionResponseContentAdStrategy from .connection_response_content_adfs import ConnectionResponseContentAdfs + from .connection_response_content_adfs_strategy import ConnectionResponseContentAdfsStrategy from .connection_response_content_amazon import ConnectionResponseContentAmazon + from .connection_response_content_amazon_strategy import ConnectionResponseContentAmazonStrategy from .connection_response_content_aol import ConnectionResponseContentAol + from .connection_response_content_aol_strategy import ConnectionResponseContentAolStrategy from .connection_response_content_apple import ConnectionResponseContentApple + from .connection_response_content_apple_strategy import ConnectionResponseContentAppleStrategy from .connection_response_content_auth_0 import ConnectionResponseContentAuth0 from .connection_response_content_auth_0_oidc import ConnectionResponseContentAuth0Oidc + from .connection_response_content_auth_0_oidc_strategy import ConnectionResponseContentAuth0OidcStrategy + from .connection_response_content_auth_0_strategy import ConnectionResponseContentAuth0Strategy from .connection_response_content_azure_ad import ConnectionResponseContentAzureAd + from .connection_response_content_azure_ad_strategy import ConnectionResponseContentAzureAdStrategy from .connection_response_content_baidu import ConnectionResponseContentBaidu + from .connection_response_content_baidu_strategy import ConnectionResponseContentBaiduStrategy from .connection_response_content_bitbucket import ConnectionResponseContentBitbucket + from .connection_response_content_bitbucket_strategy import ConnectionResponseContentBitbucketStrategy from .connection_response_content_bitly import ConnectionResponseContentBitly + from .connection_response_content_bitly_strategy import ConnectionResponseContentBitlyStrategy from .connection_response_content_box import ConnectionResponseContentBox + from .connection_response_content_box_strategy import ConnectionResponseContentBoxStrategy from .connection_response_content_custom import ConnectionResponseContentCustom + from .connection_response_content_custom_strategy import ConnectionResponseContentCustomStrategy from .connection_response_content_daccount import ConnectionResponseContentDaccount + from .connection_response_content_daccount_strategy import ConnectionResponseContentDaccountStrategy from .connection_response_content_dropbox import ConnectionResponseContentDropbox + from .connection_response_content_dropbox_strategy import ConnectionResponseContentDropboxStrategy from .connection_response_content_dwolla import ConnectionResponseContentDwolla + from .connection_response_content_dwolla_strategy import ConnectionResponseContentDwollaStrategy from .connection_response_content_email import ConnectionResponseContentEmail + from .connection_response_content_email_strategy import ConnectionResponseContentEmailStrategy from .connection_response_content_evernote import ConnectionResponseContentEvernote from .connection_response_content_evernote_sandbox import ConnectionResponseContentEvernoteSandbox + from .connection_response_content_evernote_sandbox_strategy import ConnectionResponseContentEvernoteSandboxStrategy + from .connection_response_content_evernote_strategy import ConnectionResponseContentEvernoteStrategy from .connection_response_content_exact import ConnectionResponseContentExact + from .connection_response_content_exact_strategy import ConnectionResponseContentExactStrategy from .connection_response_content_facebook import ConnectionResponseContentFacebook + from .connection_response_content_facebook_strategy import ConnectionResponseContentFacebookStrategy from .connection_response_content_fitbit import ConnectionResponseContentFitbit + from .connection_response_content_fitbit_strategy import ConnectionResponseContentFitbitStrategy from .connection_response_content_flickr import ConnectionResponseContentFlickr + from .connection_response_content_flickr_strategy import ConnectionResponseContentFlickrStrategy from .connection_response_content_git_hub import ConnectionResponseContentGitHub + from .connection_response_content_git_hub_strategy import ConnectionResponseContentGitHubStrategy from .connection_response_content_google_apps import ConnectionResponseContentGoogleApps + from .connection_response_content_google_apps_strategy import ConnectionResponseContentGoogleAppsStrategy from .connection_response_content_google_o_auth_2 import ConnectionResponseContentGoogleOAuth2 + from .connection_response_content_google_o_auth_2_strategy import ConnectionResponseContentGoogleOAuth2Strategy from .connection_response_content_instagram import ConnectionResponseContentInstagram + from .connection_response_content_instagram_strategy import ConnectionResponseContentInstagramStrategy from .connection_response_content_ip import ConnectionResponseContentIp + from .connection_response_content_ip_strategy import ConnectionResponseContentIpStrategy from .connection_response_content_line import ConnectionResponseContentLine + from .connection_response_content_line_strategy import ConnectionResponseContentLineStrategy from .connection_response_content_linkedin import ConnectionResponseContentLinkedin + from .connection_response_content_linkedin_strategy import ConnectionResponseContentLinkedinStrategy from .connection_response_content_miicard import ConnectionResponseContentMiicard + from .connection_response_content_miicard_strategy import ConnectionResponseContentMiicardStrategy from .connection_response_content_o_auth_1 import ConnectionResponseContentOAuth1 + from .connection_response_content_o_auth_1_strategy import ConnectionResponseContentOAuth1Strategy from .connection_response_content_o_auth_2 import ConnectionResponseContentOAuth2 + from .connection_response_content_o_auth_2_strategy import ConnectionResponseContentOAuth2Strategy from .connection_response_content_office_365 import ConnectionResponseContentOffice365 + from .connection_response_content_office_365_strategy import ConnectionResponseContentOffice365Strategy from .connection_response_content_oidc import ConnectionResponseContentOidc + from .connection_response_content_oidc_strategy import ConnectionResponseContentOidcStrategy from .connection_response_content_okta import ConnectionResponseContentOkta + from .connection_response_content_okta_strategy import ConnectionResponseContentOktaStrategy from .connection_response_content_paypal import ConnectionResponseContentPaypal from .connection_response_content_paypal_sandbox import ConnectionResponseContentPaypalSandbox + from .connection_response_content_paypal_sandbox_strategy import ConnectionResponseContentPaypalSandboxStrategy + from .connection_response_content_paypal_strategy import ConnectionResponseContentPaypalStrategy from .connection_response_content_ping_federate import ConnectionResponseContentPingFederate + from .connection_response_content_ping_federate_strategy import ConnectionResponseContentPingFederateStrategy from .connection_response_content_planning_center import ConnectionResponseContentPlanningCenter + from .connection_response_content_planning_center_strategy import ConnectionResponseContentPlanningCenterStrategy from .connection_response_content_renren import ConnectionResponseContentRenren + from .connection_response_content_renren_strategy import ConnectionResponseContentRenrenStrategy from .connection_response_content_salesforce import ConnectionResponseContentSalesforce from .connection_response_content_salesforce_community import ConnectionResponseContentSalesforceCommunity + from .connection_response_content_salesforce_community_strategy import ( + ConnectionResponseContentSalesforceCommunityStrategy, + ) from .connection_response_content_salesforce_sandbox import ConnectionResponseContentSalesforceSandbox + from .connection_response_content_salesforce_sandbox_strategy import ( + ConnectionResponseContentSalesforceSandboxStrategy, + ) + from .connection_response_content_salesforce_strategy import ConnectionResponseContentSalesforceStrategy from .connection_response_content_saml import ConnectionResponseContentSaml + from .connection_response_content_saml_strategy import ConnectionResponseContentSamlStrategy from .connection_response_content_sharepoint import ConnectionResponseContentSharepoint + from .connection_response_content_sharepoint_strategy import ConnectionResponseContentSharepointStrategy from .connection_response_content_shop import ConnectionResponseContentShop + from .connection_response_content_shop_strategy import ConnectionResponseContentShopStrategy from .connection_response_content_shopify import ConnectionResponseContentShopify + from .connection_response_content_shopify_strategy import ConnectionResponseContentShopifyStrategy from .connection_response_content_sms import ConnectionResponseContentSms + from .connection_response_content_sms_strategy import ConnectionResponseContentSmsStrategy from .connection_response_content_soundcloud import ConnectionResponseContentSoundcloud - from .connection_response_content_the_city import ConnectionResponseContentTheCity - from .connection_response_content_the_city_sandbox import ConnectionResponseContentTheCitySandbox + from .connection_response_content_soundcloud_strategy import ConnectionResponseContentSoundcloudStrategy from .connection_response_content_thirty_seven_signals import ConnectionResponseContentThirtySevenSignals + from .connection_response_content_thirty_seven_signals_strategy import ( + ConnectionResponseContentThirtySevenSignalsStrategy, + ) from .connection_response_content_twitter import ConnectionResponseContentTwitter + from .connection_response_content_twitter_strategy import ConnectionResponseContentTwitterStrategy from .connection_response_content_untappd import ConnectionResponseContentUntappd + from .connection_response_content_untappd_strategy import ConnectionResponseContentUntappdStrategy from .connection_response_content_vkontakte import ConnectionResponseContentVkontakte + from .connection_response_content_vkontakte_strategy import ConnectionResponseContentVkontakteStrategy from .connection_response_content_weibo import ConnectionResponseContentWeibo + from .connection_response_content_weibo_strategy import ConnectionResponseContentWeiboStrategy from .connection_response_content_windows_live import ConnectionResponseContentWindowsLive + from .connection_response_content_windows_live_strategy import ConnectionResponseContentWindowsLiveStrategy from .connection_response_content_wordpress import ConnectionResponseContentWordpress + from .connection_response_content_wordpress_strategy import ConnectionResponseContentWordpressStrategy from .connection_response_content_yahoo import ConnectionResponseContentYahoo + from .connection_response_content_yahoo_strategy import ConnectionResponseContentYahooStrategy from .connection_response_content_yammer import ConnectionResponseContentYammer + from .connection_response_content_yammer_strategy import ConnectionResponseContentYammerStrategy from .connection_response_content_yandex import ConnectionResponseContentYandex + from .connection_response_content_yandex_strategy import ConnectionResponseContentYandexStrategy from .connection_response_modes_supported import ConnectionResponseModesSupported from .connection_response_types_supported import ConnectionResponseTypesSupported from .connection_scope_array import ConnectionScopeArray + from .connection_scope_array_facebook import ConnectionScopeArrayFacebook from .connection_scope_azure_ad import ConnectionScopeAzureAd + from .connection_scope_facebook import ConnectionScopeFacebook + from .connection_scope_google_apps import ConnectionScopeGoogleApps from .connection_scope_google_o_auth_2 import ConnectionScopeGoogleOAuth2 from .connection_scope_item import ConnectionScopeItem + from .connection_scope_item_google_apps import ConnectionScopeItemGoogleApps from .connection_scope_o_auth_2 import ConnectionScopeOAuth2 from .connection_scope_oidc import ConnectionScopeOidc from .connection_scopes_supported import ConnectionScopesSupported @@ -517,15 +679,36 @@ from .connection_send_back_channel_nonce import ConnectionSendBackChannelNonce from .connection_service_documentation import ConnectionServiceDocumentation from .connection_set_user_root_attributes_enum import ConnectionSetUserRootAttributesEnum + from .connection_sha_1_thumbprint import ConnectionSha1Thumbprint from .connection_should_trust_email_verified_connection_enum import ConnectionShouldTrustEmailVerifiedConnectionEnum from .connection_show_as_button import ConnectionShowAsButton + from .connection_sign_in_endpoint_ad import ConnectionSignInEndpointAd + from .connection_sign_in_endpoint_adfs import ConnectionSignInEndpointAdfs + from .connection_sign_in_endpoint_saml import ConnectionSignInEndpointSaml + from .connection_sign_out_endpoint_saml import ConnectionSignOutEndpointSaml + from .connection_sign_saml_request_saml import ConnectionSignSamlRequestSaml + from .connection_signature_algorithm_enum_saml import ConnectionSignatureAlgorithmEnumSaml + from .connection_signature_algorithm_saml import ConnectionSignatureAlgorithmSaml + from .connection_signing_cert_saml import ConnectionSigningCertSaml + from .connection_signing_certificate_der_saml import ConnectionSigningCertificateDerSaml + from .connection_signing_certificate_pem_ping_federate import ConnectionSigningCertificatePemPingFederate + from .connection_signing_certificate_pem_saml import ConnectionSigningCertificatePemSaml + from .connection_signing_key_saml import ConnectionSigningKeySaml from .connection_strategy_enum import ConnectionStrategyEnum - from .connection_strategy_version_enum_azure_ad import ConnectionStrategyVersionEnumAzureAd + from .connection_strategy_version_enum_linkedin import ConnectionStrategyVersionEnumLinkedin + from .connection_strategy_version_enum_windows_live import ConnectionStrategyVersionEnumWindowsLive from .connection_subject_types_supported import ConnectionSubjectTypesSupported + from .connection_template_sms import ConnectionTemplateSms + from .connection_template_syntax_enum_sms import ConnectionTemplateSyntaxEnumSms from .connection_tenant_domain import ConnectionTenantDomain + from .connection_tenant_domain_ad import ConnectionTenantDomainAd from .connection_tenant_domain_azure_ad_one import ConnectionTenantDomainAzureAdOne + from .connection_tenant_domain_google_apps import ConnectionTenantDomainGoogleApps + from .connection_tenant_domain_saml import ConnectionTenantDomainSaml from .connection_tenant_id_azure_ad import ConnectionTenantIdAzureAd from .connection_thumbprints import ConnectionThumbprints + from .connection_thumbprints_ad import ConnectionThumbprintsAd + from .connection_thumbprints_saml import ConnectionThumbprintsSaml from .connection_token_endpoint import ConnectionTokenEndpoint from .connection_token_endpoint_auth_method_enum import ConnectionTokenEndpointAuthMethodEnum from .connection_token_endpoint_auth_methods_supported import ConnectionTokenEndpointAuthMethodsSupported @@ -535,6 +718,16 @@ ) from .connection_token_endpoint_o_auth_2 import ConnectionTokenEndpointOAuth2 from .connection_token_endpoint_oidc import ConnectionTokenEndpointOidc + from .connection_totp_email import ConnectionTotpEmail + from .connection_totp_length_email import ConnectionTotpLengthEmail + from .connection_totp_length_passwordless import ConnectionTotpLengthPasswordless + from .connection_totp_length_sms import ConnectionTotpLengthSms + from .connection_totp_sms import ConnectionTotpSms + from .connection_totp_time_step_email import ConnectionTotpTimeStepEmail + from .connection_totp_time_step_passwordless import ConnectionTotpTimeStepPasswordless + from .connection_totp_time_step_sms import ConnectionTotpTimeStepSms + from .connection_twilio_sid_sms import ConnectionTwilioSidSms + from .connection_twilio_token_sms import ConnectionTwilioTokenSms from .connection_type_enum_oidc import ConnectionTypeEnumOidc from .connection_type_enum_okta import ConnectionTypeEnumOkta from .connection_ui_locales_supported import ConnectionUiLocalesSupported @@ -542,10 +735,11 @@ from .connection_upstream_alias import ConnectionUpstreamAlias from .connection_upstream_alias_enum import ConnectionUpstreamAliasEnum from .connection_upstream_params import ConnectionUpstreamParams - from .connection_upstream_params_azure_ad import ConnectionUpstreamParamsAzureAd - from .connection_upstream_params_oidc import ConnectionUpstreamParamsOidc + from .connection_upstream_params_adfs import ConnectionUpstreamParamsAdfs + from .connection_upstream_params_facebook import ConnectionUpstreamParamsFacebook from .connection_upstream_value import ConnectionUpstreamValue from .connection_use_common_endpoint_azure_ad import ConnectionUseCommonEndpointAzureAd + from .connection_user_id_attribute_saml import ConnectionUserIdAttributeSaml from .connection_userid_attribute_azure_ad import ConnectionUseridAttributeAzureAd from .connection_userid_attribute_enum_azure_ad import ConnectionUseridAttributeEnumAzureAd from .connection_userinfo_encryption_alg_values_supported import ConnectionUserinfoEncryptionAlgValuesSupported @@ -558,77 +752,161 @@ from .connection_waad_protocol import ConnectionWaadProtocol from .connection_waad_protocol_enum_azure_ad import ConnectionWaadProtocolEnumAzureAd from .connections_metadata import ConnectionsMetadata + from .create_action_module_response_content import CreateActionModuleResponseContent + from .create_action_module_version_response_content import CreateActionModuleVersionResponseContent from .create_action_response_content import CreateActionResponseContent from .create_branding_phone_provider_response_content import CreateBrandingPhoneProviderResponseContent from .create_branding_theme_response_content import CreateBrandingThemeResponseContent + from .create_client_authentication_method_self_signed_tls_client_auth import ( + CreateClientAuthenticationMethodSelfSignedTlsClientAuth, + ) + from .create_client_authentication_method_self_signed_tls_client_auth_credentials import ( + CreateClientAuthenticationMethodSelfSignedTlsClientAuthCredentials, + ) from .create_client_grant_response_content import CreateClientGrantResponseContent from .create_client_response_content import CreateClientResponseContent from .create_connection_common import CreateConnectionCommon from .create_connection_profile_response_content import CreateConnectionProfileResponseContent from .create_connection_request_content_ad import CreateConnectionRequestContentAd + from .create_connection_request_content_ad_strategy import CreateConnectionRequestContentAdStrategy from .create_connection_request_content_adfs import CreateConnectionRequestContentAdfs + from .create_connection_request_content_adfs_strategy import CreateConnectionRequestContentAdfsStrategy from .create_connection_request_content_amazon import CreateConnectionRequestContentAmazon + from .create_connection_request_content_amazon_strategy import CreateConnectionRequestContentAmazonStrategy from .create_connection_request_content_aol import CreateConnectionRequestContentAol + from .create_connection_request_content_aol_strategy import CreateConnectionRequestContentAolStrategy from .create_connection_request_content_apple import CreateConnectionRequestContentApple + from .create_connection_request_content_apple_strategy import CreateConnectionRequestContentAppleStrategy from .create_connection_request_content_auth_0 import CreateConnectionRequestContentAuth0 from .create_connection_request_content_auth_0_oidc import CreateConnectionRequestContentAuth0Oidc + from .create_connection_request_content_auth_0_oidc_strategy import CreateConnectionRequestContentAuth0OidcStrategy + from .create_connection_request_content_auth_0_strategy import CreateConnectionRequestContentAuth0Strategy from .create_connection_request_content_azure_ad import CreateConnectionRequestContentAzureAd + from .create_connection_request_content_azure_ad_strategy import CreateConnectionRequestContentAzureAdStrategy from .create_connection_request_content_baidu import CreateConnectionRequestContentBaidu + from .create_connection_request_content_baidu_strategy import CreateConnectionRequestContentBaiduStrategy from .create_connection_request_content_bitbucket import CreateConnectionRequestContentBitbucket + from .create_connection_request_content_bitbucket_strategy import CreateConnectionRequestContentBitbucketStrategy from .create_connection_request_content_bitly import CreateConnectionRequestContentBitly + from .create_connection_request_content_bitly_strategy import CreateConnectionRequestContentBitlyStrategy from .create_connection_request_content_box import CreateConnectionRequestContentBox + from .create_connection_request_content_box_strategy import CreateConnectionRequestContentBoxStrategy from .create_connection_request_content_custom import CreateConnectionRequestContentCustom + from .create_connection_request_content_custom_strategy import CreateConnectionRequestContentCustomStrategy from .create_connection_request_content_daccount import CreateConnectionRequestContentDaccount + from .create_connection_request_content_daccount_strategy import CreateConnectionRequestContentDaccountStrategy from .create_connection_request_content_dropbox import CreateConnectionRequestContentDropbox + from .create_connection_request_content_dropbox_strategy import CreateConnectionRequestContentDropboxStrategy from .create_connection_request_content_dwolla import CreateConnectionRequestContentDwolla + from .create_connection_request_content_dwolla_strategy import CreateConnectionRequestContentDwollaStrategy from .create_connection_request_content_email import CreateConnectionRequestContentEmail + from .create_connection_request_content_email_strategy import CreateConnectionRequestContentEmailStrategy from .create_connection_request_content_evernote import CreateConnectionRequestContentEvernote from .create_connection_request_content_evernote_sandbox import CreateConnectionRequestContentEvernoteSandbox + from .create_connection_request_content_evernote_sandbox_strategy import ( + CreateConnectionRequestContentEvernoteSandboxStrategy, + ) + from .create_connection_request_content_evernote_strategy import CreateConnectionRequestContentEvernoteStrategy from .create_connection_request_content_exact import CreateConnectionRequestContentExact + from .create_connection_request_content_exact_strategy import CreateConnectionRequestContentExactStrategy from .create_connection_request_content_facebook import CreateConnectionRequestContentFacebook + from .create_connection_request_content_facebook_strategy import CreateConnectionRequestContentFacebookStrategy from .create_connection_request_content_fitbit import CreateConnectionRequestContentFitbit + from .create_connection_request_content_fitbit_strategy import CreateConnectionRequestContentFitbitStrategy from .create_connection_request_content_flickr import CreateConnectionRequestContentFlickr + from .create_connection_request_content_flickr_strategy import CreateConnectionRequestContentFlickrStrategy from .create_connection_request_content_git_hub import CreateConnectionRequestContentGitHub + from .create_connection_request_content_git_hub_strategy import CreateConnectionRequestContentGitHubStrategy from .create_connection_request_content_google_apps import CreateConnectionRequestContentGoogleApps + from .create_connection_request_content_google_apps_strategy import CreateConnectionRequestContentGoogleAppsStrategy from .create_connection_request_content_google_o_auth_2 import CreateConnectionRequestContentGoogleOAuth2 + from .create_connection_request_content_google_o_auth_2_strategy import ( + CreateConnectionRequestContentGoogleOAuth2Strategy, + ) from .create_connection_request_content_instagram import CreateConnectionRequestContentInstagram + from .create_connection_request_content_instagram_strategy import CreateConnectionRequestContentInstagramStrategy from .create_connection_request_content_ip import CreateConnectionRequestContentIp + from .create_connection_request_content_ip_strategy import CreateConnectionRequestContentIpStrategy from .create_connection_request_content_line import CreateConnectionRequestContentLine + from .create_connection_request_content_line_strategy import CreateConnectionRequestContentLineStrategy from .create_connection_request_content_linkedin import CreateConnectionRequestContentLinkedin + from .create_connection_request_content_linkedin_strategy import CreateConnectionRequestContentLinkedinStrategy from .create_connection_request_content_miicard import CreateConnectionRequestContentMiicard + from .create_connection_request_content_miicard_strategy import CreateConnectionRequestContentMiicardStrategy from .create_connection_request_content_o_auth_1 import CreateConnectionRequestContentOAuth1 + from .create_connection_request_content_o_auth_1_strategy import CreateConnectionRequestContentOAuth1Strategy from .create_connection_request_content_o_auth_2 import CreateConnectionRequestContentOAuth2 + from .create_connection_request_content_o_auth_2_strategy import CreateConnectionRequestContentOAuth2Strategy from .create_connection_request_content_office_365 import CreateConnectionRequestContentOffice365 + from .create_connection_request_content_office_365_strategy import CreateConnectionRequestContentOffice365Strategy from .create_connection_request_content_oidc import CreateConnectionRequestContentOidc + from .create_connection_request_content_oidc_strategy import CreateConnectionRequestContentOidcStrategy from .create_connection_request_content_okta import CreateConnectionRequestContentOkta + from .create_connection_request_content_okta_strategy import CreateConnectionRequestContentOktaStrategy from .create_connection_request_content_paypal import CreateConnectionRequestContentPaypal from .create_connection_request_content_paypal_sandbox import CreateConnectionRequestContentPaypalSandbox + from .create_connection_request_content_paypal_sandbox_strategy import ( + CreateConnectionRequestContentPaypalSandboxStrategy, + ) + from .create_connection_request_content_paypal_strategy import CreateConnectionRequestContentPaypalStrategy from .create_connection_request_content_ping_federate import CreateConnectionRequestContentPingFederate + from .create_connection_request_content_ping_federate_strategy import ( + CreateConnectionRequestContentPingFederateStrategy, + ) from .create_connection_request_content_planning_center import CreateConnectionRequestContentPlanningCenter + from .create_connection_request_content_planning_center_strategy import ( + CreateConnectionRequestContentPlanningCenterStrategy, + ) from .create_connection_request_content_renren import CreateConnectionRequestContentRenren + from .create_connection_request_content_renren_strategy import CreateConnectionRequestContentRenrenStrategy from .create_connection_request_content_salesforce import CreateConnectionRequestContentSalesforce from .create_connection_request_content_salesforce_community import ( CreateConnectionRequestContentSalesforceCommunity, ) + from .create_connection_request_content_salesforce_community_strategy import ( + CreateConnectionRequestContentSalesforceCommunityStrategy, + ) from .create_connection_request_content_salesforce_sandbox import CreateConnectionRequestContentSalesforceSandbox + from .create_connection_request_content_salesforce_sandbox_strategy import ( + CreateConnectionRequestContentSalesforceSandboxStrategy, + ) + from .create_connection_request_content_salesforce_strategy import CreateConnectionRequestContentSalesforceStrategy from .create_connection_request_content_saml import CreateConnectionRequestContentSaml + from .create_connection_request_content_saml_strategy import CreateConnectionRequestContentSamlStrategy from .create_connection_request_content_sharepoint import CreateConnectionRequestContentSharepoint + from .create_connection_request_content_sharepoint_strategy import CreateConnectionRequestContentSharepointStrategy from .create_connection_request_content_shop import CreateConnectionRequestContentShop + from .create_connection_request_content_shop_strategy import CreateConnectionRequestContentShopStrategy from .create_connection_request_content_shopify import CreateConnectionRequestContentShopify + from .create_connection_request_content_shopify_strategy import CreateConnectionRequestContentShopifyStrategy from .create_connection_request_content_sms import CreateConnectionRequestContentSms + from .create_connection_request_content_sms_strategy import CreateConnectionRequestContentSmsStrategy from .create_connection_request_content_soundcloud import CreateConnectionRequestContentSoundcloud - from .create_connection_request_content_the_city import CreateConnectionRequestContentTheCity - from .create_connection_request_content_the_city_sandbox import CreateConnectionRequestContentTheCitySandbox + from .create_connection_request_content_soundcloud_strategy import CreateConnectionRequestContentSoundcloudStrategy from .create_connection_request_content_thirty_seven_signals import CreateConnectionRequestContentThirtySevenSignals + from .create_connection_request_content_thirty_seven_signals_strategy import ( + CreateConnectionRequestContentThirtySevenSignalsStrategy, + ) from .create_connection_request_content_twitter import CreateConnectionRequestContentTwitter + from .create_connection_request_content_twitter_strategy import CreateConnectionRequestContentTwitterStrategy from .create_connection_request_content_untappd import CreateConnectionRequestContentUntappd + from .create_connection_request_content_untappd_strategy import CreateConnectionRequestContentUntappdStrategy from .create_connection_request_content_vkontakte import CreateConnectionRequestContentVkontakte + from .create_connection_request_content_vkontakte_strategy import CreateConnectionRequestContentVkontakteStrategy from .create_connection_request_content_weibo import CreateConnectionRequestContentWeibo + from .create_connection_request_content_weibo_strategy import CreateConnectionRequestContentWeiboStrategy from .create_connection_request_content_windows_live import CreateConnectionRequestContentWindowsLive + from .create_connection_request_content_windows_live_strategy import ( + CreateConnectionRequestContentWindowsLiveStrategy, + ) from .create_connection_request_content_wordpress import CreateConnectionRequestContentWordpress + from .create_connection_request_content_wordpress_strategy import CreateConnectionRequestContentWordpressStrategy from .create_connection_request_content_yahoo import CreateConnectionRequestContentYahoo + from .create_connection_request_content_yahoo_strategy import CreateConnectionRequestContentYahooStrategy from .create_connection_request_content_yammer import CreateConnectionRequestContentYammer + from .create_connection_request_content_yammer_strategy import CreateConnectionRequestContentYammerStrategy from .create_connection_request_content_yandex import CreateConnectionRequestContentYandex + from .create_connection_request_content_yandex_strategy import CreateConnectionRequestContentYandexStrategy from .create_connection_response_content import CreateConnectionResponseContent from .create_custom_domain_response_content import CreateCustomDomainResponseContent from .create_directory_provisioning_request_content import CreateDirectoryProvisioningRequestContent @@ -674,6 +952,7 @@ CreateFlowsVaultConnectionGoogleSheetsUninitialized, ) from .create_flows_vault_connection_http import CreateFlowsVaultConnectionHttp + from .create_flows_vault_connection_http_basic_auth import CreateFlowsVaultConnectionHttpBasicAuth from .create_flows_vault_connection_http_bearer import CreateFlowsVaultConnectionHttpBearer from .create_flows_vault_connection_http_uninitialized import CreateFlowsVaultConnectionHttpUninitialized from .create_flows_vault_connection_hubspot import CreateFlowsVaultConnectionHubspot @@ -788,6 +1067,7 @@ from .custom_signing_key_type_enum import CustomSigningKeyTypeEnum from .custom_signing_key_use_enum import CustomSigningKeyUseEnum from .daily_stats import DailyStats + from .default_method_email_identifier_enum import DefaultMethodEmailIdentifierEnum from .default_token_quota import DefaultTokenQuota from .delete_hook_secret_request_content import DeleteHookSecretRequestContent from .delete_user_identity_response_content import DeleteUserIdentityResponseContent @@ -799,6 +1079,7 @@ from .device_credential import DeviceCredential from .device_credential_public_key_type_enum import DeviceCredentialPublicKeyTypeEnum from .device_credential_type_enum import DeviceCredentialTypeEnum + from .directory_provisioning import DirectoryProvisioning from .directory_provisioning_mapping_item import DirectoryProvisioningMappingItem from .domain_certificate import DomainCertificate from .domain_certificate_authority_enum import DomainCertificateAuthorityEnum @@ -868,33 +1149,55 @@ from .flow_action import FlowAction from .flow_action_activecampaign import FlowActionActivecampaign from .flow_action_activecampaign_list_contacts import FlowActionActivecampaignListContacts + from .flow_action_activecampaign_list_contacts_action import FlowActionActivecampaignListContactsAction from .flow_action_activecampaign_list_contacts_params import FlowActionActivecampaignListContactsParams + from .flow_action_activecampaign_list_contacts_type import FlowActionActivecampaignListContactsType from .flow_action_activecampaign_upsert_contact import FlowActionActivecampaignUpsertContact + from .flow_action_activecampaign_upsert_contact_action import FlowActionActivecampaignUpsertContactAction from .flow_action_activecampaign_upsert_contact_params import FlowActionActivecampaignUpsertContactParams from .flow_action_activecampaign_upsert_contact_params_custom_fields import ( FlowActionActivecampaignUpsertContactParamsCustomFields, ) + from .flow_action_activecampaign_upsert_contact_type import FlowActionActivecampaignUpsertContactType from .flow_action_airtable import FlowActionAirtable from .flow_action_airtable_create_record import FlowActionAirtableCreateRecord + from .flow_action_airtable_create_record_action import FlowActionAirtableCreateRecordAction from .flow_action_airtable_create_record_params import FlowActionAirtableCreateRecordParams from .flow_action_airtable_create_record_params_fields import FlowActionAirtableCreateRecordParamsFields + from .flow_action_airtable_create_record_type import FlowActionAirtableCreateRecordType from .flow_action_airtable_list_records import FlowActionAirtableListRecords + from .flow_action_airtable_list_records_action import FlowActionAirtableListRecordsAction from .flow_action_airtable_list_records_params import FlowActionAirtableListRecordsParams + from .flow_action_airtable_list_records_type import FlowActionAirtableListRecordsType from .flow_action_airtable_update_record import FlowActionAirtableUpdateRecord + from .flow_action_airtable_update_record_action import FlowActionAirtableUpdateRecordAction from .flow_action_airtable_update_record_params import FlowActionAirtableUpdateRecordParams from .flow_action_airtable_update_record_params_fields import FlowActionAirtableUpdateRecordParamsFields + from .flow_action_airtable_update_record_type import FlowActionAirtableUpdateRecordType from .flow_action_auth_0 import FlowActionAuth0 from .flow_action_auth_0_create_user import FlowActionAuth0CreateUser + from .flow_action_auth_0_create_user_action import FlowActionAuth0CreateUserAction from .flow_action_auth_0_create_user_params import FlowActionAuth0CreateUserParams from .flow_action_auth_0_create_user_params_payload import FlowActionAuth0CreateUserParamsPayload + from .flow_action_auth_0_create_user_type import FlowActionAuth0CreateUserType from .flow_action_auth_0_get_user import FlowActionAuth0GetUser + from .flow_action_auth_0_get_user_action import FlowActionAuth0GetUserAction from .flow_action_auth_0_get_user_params import FlowActionAuth0GetUserParams + from .flow_action_auth_0_get_user_type import FlowActionAuth0GetUserType + from .flow_action_auth_0_make_call import FlowActionAuth0MakeCall + from .flow_action_auth_0_make_call_action import FlowActionAuth0MakeCallAction + from .flow_action_auth_0_make_call_params import FlowActionAuth0MakeCallParams + from .flow_action_auth_0_make_call_params_custom_vars import FlowActionAuth0MakeCallParamsCustomVars + from .flow_action_auth_0_make_call_type import FlowActionAuth0MakeCallType from .flow_action_auth_0_send_email import FlowActionAuth0SendEmail + from .flow_action_auth_0_send_email_action import FlowActionAuth0SendEmailAction from .flow_action_auth_0_send_email_params import FlowActionAuth0SendEmailParams from .flow_action_auth_0_send_email_params_from import FlowActionAuth0SendEmailParamsFrom from .flow_action_auth_0_send_email_params_from_email import FlowActionAuth0SendEmailParamsFromEmail from .flow_action_auth_0_send_email_params_to import FlowActionAuth0SendEmailParamsTo + from .flow_action_auth_0_send_email_type import FlowActionAuth0SendEmailType from .flow_action_auth_0_send_request import FlowActionAuth0SendRequest + from .flow_action_auth_0_send_request_action import FlowActionAuth0SendRequestAction from .flow_action_auth_0_send_request_params import FlowActionAuth0SendRequestParams from .flow_action_auth_0_send_request_params_custom_vars import FlowActionAuth0SendRequestParamsCustomVars from .flow_action_auth_0_send_request_params_headers import FlowActionAuth0SendRequestParamsHeaders @@ -905,53 +1208,86 @@ from .flow_action_auth_0_send_request_params_query_params_value import ( FlowActionAuth0SendRequestParamsQueryParamsValue, ) + from .flow_action_auth_0_send_request_type import FlowActionAuth0SendRequestType + from .flow_action_auth_0_send_sms import FlowActionAuth0SendSms + from .flow_action_auth_0_send_sms_action import FlowActionAuth0SendSmsAction + from .flow_action_auth_0_send_sms_params import FlowActionAuth0SendSmsParams + from .flow_action_auth_0_send_sms_params_custom_vars import FlowActionAuth0SendSmsParamsCustomVars + from .flow_action_auth_0_send_sms_type import FlowActionAuth0SendSmsType from .flow_action_auth_0_update_user import FlowActionAuth0UpdateUser + from .flow_action_auth_0_update_user_action import FlowActionAuth0UpdateUserAction from .flow_action_auth_0_update_user_params import FlowActionAuth0UpdateUserParams from .flow_action_auth_0_update_user_params_changes import FlowActionAuth0UpdateUserParamsChanges + from .flow_action_auth_0_update_user_type import FlowActionAuth0UpdateUserType from .flow_action_bigquery import FlowActionBigquery from .flow_action_bigquery_insert_rows import FlowActionBigqueryInsertRows + from .flow_action_bigquery_insert_rows_action import FlowActionBigqueryInsertRowsAction from .flow_action_bigquery_insert_rows_params import FlowActionBigqueryInsertRowsParams from .flow_action_bigquery_insert_rows_params_data import FlowActionBigqueryInsertRowsParamsData + from .flow_action_bigquery_insert_rows_type import FlowActionBigqueryInsertRowsType from .flow_action_clearbit import FlowActionClearbit from .flow_action_clearbit_find_company import FlowActionClearbitFindCompany + from .flow_action_clearbit_find_company_action import FlowActionClearbitFindCompanyAction from .flow_action_clearbit_find_company_params import FlowActionClearbitFindCompanyParams + from .flow_action_clearbit_find_company_type import FlowActionClearbitFindCompanyType from .flow_action_clearbit_find_person import FlowActionClearbitFindPerson + from .flow_action_clearbit_find_person_action import FlowActionClearbitFindPersonAction from .flow_action_clearbit_find_person_params import FlowActionClearbitFindPersonParams + from .flow_action_clearbit_find_person_type import FlowActionClearbitFindPersonType from .flow_action_email import FlowActionEmail from .flow_action_email_verify_email import FlowActionEmailVerifyEmail + from .flow_action_email_verify_email_action import FlowActionEmailVerifyEmailAction from .flow_action_email_verify_email_params import FlowActionEmailVerifyEmailParams from .flow_action_email_verify_email_params_rules import FlowActionEmailVerifyEmailParamsRules + from .flow_action_email_verify_email_type import FlowActionEmailVerifyEmailType from .flow_action_flow import FlowActionFlow from .flow_action_flow_boolean_condition import FlowActionFlowBooleanCondition + from .flow_action_flow_boolean_condition_action import FlowActionFlowBooleanConditionAction from .flow_action_flow_boolean_condition_params import FlowActionFlowBooleanConditionParams + from .flow_action_flow_boolean_condition_type import FlowActionFlowBooleanConditionType from .flow_action_flow_delay_flow import FlowActionFlowDelayFlow + from .flow_action_flow_delay_flow_action import FlowActionFlowDelayFlowAction from .flow_action_flow_delay_flow_params import FlowActionFlowDelayFlowParams from .flow_action_flow_delay_flow_params_number import FlowActionFlowDelayFlowParamsNumber from .flow_action_flow_delay_flow_params_units import FlowActionFlowDelayFlowParamsUnits + from .flow_action_flow_delay_flow_type import FlowActionFlowDelayFlowType from .flow_action_flow_do_nothing import FlowActionFlowDoNothing + from .flow_action_flow_do_nothing_action import FlowActionFlowDoNothingAction from .flow_action_flow_do_nothing_params import FlowActionFlowDoNothingParams + from .flow_action_flow_do_nothing_type import FlowActionFlowDoNothingType from .flow_action_flow_error_message import FlowActionFlowErrorMessage + from .flow_action_flow_error_message_action import FlowActionFlowErrorMessageAction from .flow_action_flow_error_message_params import FlowActionFlowErrorMessageParams + from .flow_action_flow_error_message_type import FlowActionFlowErrorMessageType from .flow_action_flow_map_value import FlowActionFlowMapValue + from .flow_action_flow_map_value_action import FlowActionFlowMapValueAction from .flow_action_flow_map_value_params import FlowActionFlowMapValueParams from .flow_action_flow_map_value_params_cases import FlowActionFlowMapValueParamsCases from .flow_action_flow_map_value_params_fallback import FlowActionFlowMapValueParamsFallback from .flow_action_flow_map_value_params_fallback_object import FlowActionFlowMapValueParamsFallbackObject from .flow_action_flow_map_value_params_input import FlowActionFlowMapValueParamsInput + from .flow_action_flow_map_value_type import FlowActionFlowMapValueType from .flow_action_flow_return_json import FlowActionFlowReturnJson + from .flow_action_flow_return_json_action import FlowActionFlowReturnJsonAction from .flow_action_flow_return_json_params import FlowActionFlowReturnJsonParams from .flow_action_flow_return_json_params_payload import FlowActionFlowReturnJsonParamsPayload from .flow_action_flow_return_json_params_payload_object import FlowActionFlowReturnJsonParamsPayloadObject + from .flow_action_flow_return_json_type import FlowActionFlowReturnJsonType from .flow_action_flow_store_vars import FlowActionFlowStoreVars + from .flow_action_flow_store_vars_action import FlowActionFlowStoreVarsAction from .flow_action_flow_store_vars_params import FlowActionFlowStoreVarsParams from .flow_action_flow_store_vars_params_vars import FlowActionFlowStoreVarsParamsVars + from .flow_action_flow_store_vars_type import FlowActionFlowStoreVarsType from .flow_action_google_sheets import FlowActionGoogleSheets from .flow_action_google_sheets_add_row import FlowActionGoogleSheetsAddRow + from .flow_action_google_sheets_add_row_action import FlowActionGoogleSheetsAddRowAction from .flow_action_google_sheets_add_row_params import FlowActionGoogleSheetsAddRowParams from .flow_action_google_sheets_add_row_params_sheet_id import FlowActionGoogleSheetsAddRowParamsSheetId from .flow_action_google_sheets_add_row_params_values import FlowActionGoogleSheetsAddRowParamsValues + from .flow_action_google_sheets_add_row_type import FlowActionGoogleSheetsAddRowType from .flow_action_http import FlowActionHttp from .flow_action_http_send_request import FlowActionHttpSendRequest + from .flow_action_http_send_request_action import FlowActionHttpSendRequestAction from .flow_action_http_send_request_params import FlowActionHttpSendRequestParams from .flow_action_http_send_request_params_basic_auth import FlowActionHttpSendRequestParamsBasicAuth from .flow_action_http_send_request_params_content_type import FlowActionHttpSendRequestParamsContentType @@ -961,139 +1297,212 @@ from .flow_action_http_send_request_params_payload_object import FlowActionHttpSendRequestParamsPayloadObject from .flow_action_http_send_request_params_query_params import FlowActionHttpSendRequestParamsQueryParams from .flow_action_http_send_request_params_query_params_value import FlowActionHttpSendRequestParamsQueryParamsValue + from .flow_action_http_send_request_type import FlowActionHttpSendRequestType from .flow_action_hubspot import FlowActionHubspot from .flow_action_hubspot_enroll_contact import FlowActionHubspotEnrollContact + from .flow_action_hubspot_enroll_contact_action import FlowActionHubspotEnrollContactAction from .flow_action_hubspot_enroll_contact_params import FlowActionHubspotEnrollContactParams from .flow_action_hubspot_enroll_contact_params_workflow_id import FlowActionHubspotEnrollContactParamsWorkflowId + from .flow_action_hubspot_enroll_contact_type import FlowActionHubspotEnrollContactType from .flow_action_hubspot_get_contact import FlowActionHubspotGetContact + from .flow_action_hubspot_get_contact_action import FlowActionHubspotGetContactAction from .flow_action_hubspot_get_contact_params import FlowActionHubspotGetContactParams + from .flow_action_hubspot_get_contact_type import FlowActionHubspotGetContactType from .flow_action_hubspot_upsert_contact import FlowActionHubspotUpsertContact + from .flow_action_hubspot_upsert_contact_action import FlowActionHubspotUpsertContactAction from .flow_action_hubspot_upsert_contact_params import FlowActionHubspotUpsertContactParams from .flow_action_hubspot_upsert_contact_params_property import FlowActionHubspotUpsertContactParamsProperty + from .flow_action_hubspot_upsert_contact_type import FlowActionHubspotUpsertContactType from .flow_action_json import FlowActionJson from .flow_action_json_create_json import FlowActionJsonCreateJson + from .flow_action_json_create_json_action import FlowActionJsonCreateJsonAction from .flow_action_json_create_json_params import FlowActionJsonCreateJsonParams from .flow_action_json_create_json_params_object import FlowActionJsonCreateJsonParamsObject + from .flow_action_json_create_json_type import FlowActionJsonCreateJsonType from .flow_action_json_parse_json import FlowActionJsonParseJson + from .flow_action_json_parse_json_action import FlowActionJsonParseJsonAction from .flow_action_json_parse_json_params import FlowActionJsonParseJsonParams + from .flow_action_json_parse_json_type import FlowActionJsonParseJsonType from .flow_action_json_serialize_json import FlowActionJsonSerializeJson + from .flow_action_json_serialize_json_action import FlowActionJsonSerializeJsonAction from .flow_action_json_serialize_json_params import FlowActionJsonSerializeJsonParams from .flow_action_json_serialize_json_params_object import FlowActionJsonSerializeJsonParamsObject from .flow_action_json_serialize_json_params_object_object import FlowActionJsonSerializeJsonParamsObjectObject + from .flow_action_json_serialize_json_type import FlowActionJsonSerializeJsonType from .flow_action_jwt import FlowActionJwt from .flow_action_jwt_decode_jwt import FlowActionJwtDecodeJwt + from .flow_action_jwt_decode_jwt_action import FlowActionJwtDecodeJwtAction from .flow_action_jwt_decode_jwt_params import FlowActionJwtDecodeJwtParams + from .flow_action_jwt_decode_jwt_type import FlowActionJwtDecodeJwtType from .flow_action_jwt_sign_jwt import FlowActionJwtSignJwt + from .flow_action_jwt_sign_jwt_action import FlowActionJwtSignJwtAction from .flow_action_jwt_sign_jwt_params import FlowActionJwtSignJwtParams from .flow_action_jwt_sign_jwt_params_payload import FlowActionJwtSignJwtParamsPayload + from .flow_action_jwt_sign_jwt_type import FlowActionJwtSignJwtType from .flow_action_jwt_verify_jwt import FlowActionJwtVerifyJwt + from .flow_action_jwt_verify_jwt_action import FlowActionJwtVerifyJwtAction from .flow_action_jwt_verify_jwt_params import FlowActionJwtVerifyJwtParams + from .flow_action_jwt_verify_jwt_type import FlowActionJwtVerifyJwtType from .flow_action_mailchimp import FlowActionMailchimp from .flow_action_mailchimp_upsert_member import FlowActionMailchimpUpsertMember + from .flow_action_mailchimp_upsert_member_action import FlowActionMailchimpUpsertMemberAction from .flow_action_mailchimp_upsert_member_params import FlowActionMailchimpUpsertMemberParams from .flow_action_mailchimp_upsert_member_params_member import FlowActionMailchimpUpsertMemberParamsMember from .flow_action_mailchimp_upsert_member_params_member_merge_fields import ( FlowActionMailchimpUpsertMemberParamsMemberMergeFields, ) + from .flow_action_mailchimp_upsert_member_type import FlowActionMailchimpUpsertMemberType from .flow_action_mailjet import FlowActionMailjet from .flow_action_mailjet_send_email import FlowActionMailjetSendEmail + from .flow_action_mailjet_send_email_action import FlowActionMailjetSendEmailAction from .flow_action_mailjet_send_email_params import FlowActionMailjetSendEmailParams from .flow_action_mailjet_send_email_params_content import FlowActionMailjetSendEmailParamsContent from .flow_action_mailjet_send_email_params_template_id import FlowActionMailjetSendEmailParamsTemplateId + from .flow_action_mailjet_send_email_type import FlowActionMailjetSendEmailType from .flow_action_otp import FlowActionOtp from .flow_action_otp_generate_code import FlowActionOtpGenerateCode + from .flow_action_otp_generate_code_action import FlowActionOtpGenerateCodeAction from .flow_action_otp_generate_code_params import FlowActionOtpGenerateCodeParams + from .flow_action_otp_generate_code_type import FlowActionOtpGenerateCodeType from .flow_action_otp_verify_code import FlowActionOtpVerifyCode + from .flow_action_otp_verify_code_action import FlowActionOtpVerifyCodeAction from .flow_action_otp_verify_code_params import FlowActionOtpVerifyCodeParams from .flow_action_otp_verify_code_params_code import FlowActionOtpVerifyCodeParamsCode + from .flow_action_otp_verify_code_type import FlowActionOtpVerifyCodeType from .flow_action_pipedrive import FlowActionPipedrive from .flow_action_pipedrive_add_deal import FlowActionPipedriveAddDeal + from .flow_action_pipedrive_add_deal_action import FlowActionPipedriveAddDealAction from .flow_action_pipedrive_add_deal_params import FlowActionPipedriveAddDealParams from .flow_action_pipedrive_add_deal_params_fields import FlowActionPipedriveAddDealParamsFields from .flow_action_pipedrive_add_deal_params_organization_id import FlowActionPipedriveAddDealParamsOrganizationId from .flow_action_pipedrive_add_deal_params_person_id import FlowActionPipedriveAddDealParamsPersonId from .flow_action_pipedrive_add_deal_params_stage_id import FlowActionPipedriveAddDealParamsStageId from .flow_action_pipedrive_add_deal_params_user_id import FlowActionPipedriveAddDealParamsUserId + from .flow_action_pipedrive_add_deal_type import FlowActionPipedriveAddDealType from .flow_action_pipedrive_add_organization import FlowActionPipedriveAddOrganization + from .flow_action_pipedrive_add_organization_action import FlowActionPipedriveAddOrganizationAction from .flow_action_pipedrive_add_organization_params import FlowActionPipedriveAddOrganizationParams from .flow_action_pipedrive_add_organization_params_fields import FlowActionPipedriveAddOrganizationParamsFields from .flow_action_pipedrive_add_organization_params_owner_id import FlowActionPipedriveAddOrganizationParamsOwnerId + from .flow_action_pipedrive_add_organization_type import FlowActionPipedriveAddOrganizationType from .flow_action_pipedrive_add_person import FlowActionPipedriveAddPerson + from .flow_action_pipedrive_add_person_action import FlowActionPipedriveAddPersonAction from .flow_action_pipedrive_add_person_params import FlowActionPipedriveAddPersonParams from .flow_action_pipedrive_add_person_params_fields import FlowActionPipedriveAddPersonParamsFields from .flow_action_pipedrive_add_person_params_organization_id import ( FlowActionPipedriveAddPersonParamsOrganizationId, ) from .flow_action_pipedrive_add_person_params_owner_id import FlowActionPipedriveAddPersonParamsOwnerId + from .flow_action_pipedrive_add_person_type import FlowActionPipedriveAddPersonType from .flow_action_salesforce import FlowActionSalesforce from .flow_action_salesforce_create_lead import FlowActionSalesforceCreateLead + from .flow_action_salesforce_create_lead_action import FlowActionSalesforceCreateLeadAction from .flow_action_salesforce_create_lead_params import FlowActionSalesforceCreateLeadParams from .flow_action_salesforce_create_lead_params_payload import FlowActionSalesforceCreateLeadParamsPayload + from .flow_action_salesforce_create_lead_type import FlowActionSalesforceCreateLeadType from .flow_action_salesforce_get_lead import FlowActionSalesforceGetLead + from .flow_action_salesforce_get_lead_action import FlowActionSalesforceGetLeadAction from .flow_action_salesforce_get_lead_params import FlowActionSalesforceGetLeadParams + from .flow_action_salesforce_get_lead_type import FlowActionSalesforceGetLeadType from .flow_action_salesforce_search_leads import FlowActionSalesforceSearchLeads + from .flow_action_salesforce_search_leads_action import FlowActionSalesforceSearchLeadsAction from .flow_action_salesforce_search_leads_params import FlowActionSalesforceSearchLeadsParams from .flow_action_salesforce_search_leads_params_search_field import ( FlowActionSalesforceSearchLeadsParamsSearchField, ) + from .flow_action_salesforce_search_leads_type import FlowActionSalesforceSearchLeadsType from .flow_action_salesforce_update_lead import FlowActionSalesforceUpdateLead + from .flow_action_salesforce_update_lead_action import FlowActionSalesforceUpdateLeadAction from .flow_action_salesforce_update_lead_params import FlowActionSalesforceUpdateLeadParams from .flow_action_salesforce_update_lead_params_payload import FlowActionSalesforceUpdateLeadParamsPayload + from .flow_action_salesforce_update_lead_type import FlowActionSalesforceUpdateLeadType from .flow_action_sendgrid import FlowActionSendgrid from .flow_action_sendgrid_send_email import FlowActionSendgridSendEmail + from .flow_action_sendgrid_send_email_action import FlowActionSendgridSendEmailAction from .flow_action_sendgrid_send_email_params import FlowActionSendgridSendEmailParams from .flow_action_sendgrid_send_email_params_person import FlowActionSendgridSendEmailParamsPerson + from .flow_action_sendgrid_send_email_type import FlowActionSendgridSendEmailType from .flow_action_slack import FlowActionSlack from .flow_action_slack_post_message import FlowActionSlackPostMessage + from .flow_action_slack_post_message_action import FlowActionSlackPostMessageAction from .flow_action_slack_post_message_params import FlowActionSlackPostMessageParams from .flow_action_slack_post_message_params_attachment import FlowActionSlackPostMessageParamsAttachment from .flow_action_slack_post_message_params_attachment_color import FlowActionSlackPostMessageParamsAttachmentColor from .flow_action_slack_post_message_params_attachment_field import FlowActionSlackPostMessageParamsAttachmentField + from .flow_action_slack_post_message_type import FlowActionSlackPostMessageType from .flow_action_stripe import FlowActionStripe from .flow_action_stripe_add_tax_id import FlowActionStripeAddTaxId + from .flow_action_stripe_add_tax_id_action import FlowActionStripeAddTaxIdAction from .flow_action_stripe_add_tax_id_params import FlowActionStripeAddTaxIdParams + from .flow_action_stripe_add_tax_id_type import FlowActionStripeAddTaxIdType from .flow_action_stripe_address import FlowActionStripeAddress from .flow_action_stripe_create_customer import FlowActionStripeCreateCustomer + from .flow_action_stripe_create_customer_action import FlowActionStripeCreateCustomerAction from .flow_action_stripe_create_customer_params import FlowActionStripeCreateCustomerParams + from .flow_action_stripe_create_customer_type import FlowActionStripeCreateCustomerType from .flow_action_stripe_create_portal_session import FlowActionStripeCreatePortalSession + from .flow_action_stripe_create_portal_session_action import FlowActionStripeCreatePortalSessionAction from .flow_action_stripe_create_portal_session_params import FlowActionStripeCreatePortalSessionParams + from .flow_action_stripe_create_portal_session_type import FlowActionStripeCreatePortalSessionType from .flow_action_stripe_delete_tax_id import FlowActionStripeDeleteTaxId + from .flow_action_stripe_delete_tax_id_action import FlowActionStripeDeleteTaxIdAction from .flow_action_stripe_delete_tax_id_params import FlowActionStripeDeleteTaxIdParams + from .flow_action_stripe_delete_tax_id_type import FlowActionStripeDeleteTaxIdType from .flow_action_stripe_find_customers import FlowActionStripeFindCustomers + from .flow_action_stripe_find_customers_action import FlowActionStripeFindCustomersAction from .flow_action_stripe_find_customers_params import FlowActionStripeFindCustomersParams + from .flow_action_stripe_find_customers_type import FlowActionStripeFindCustomersType from .flow_action_stripe_get_customer import FlowActionStripeGetCustomer + from .flow_action_stripe_get_customer_action import FlowActionStripeGetCustomerAction from .flow_action_stripe_get_customer_params import FlowActionStripeGetCustomerParams + from .flow_action_stripe_get_customer_type import FlowActionStripeGetCustomerType from .flow_action_stripe_metadata import FlowActionStripeMetadata from .flow_action_stripe_tax_id import FlowActionStripeTaxId from .flow_action_stripe_update_customer import FlowActionStripeUpdateCustomer + from .flow_action_stripe_update_customer_action import FlowActionStripeUpdateCustomerAction from .flow_action_stripe_update_customer_params import FlowActionStripeUpdateCustomerParams + from .flow_action_stripe_update_customer_type import FlowActionStripeUpdateCustomerType from .flow_action_telegram import FlowActionTelegram from .flow_action_telegram_send_message import FlowActionTelegramSendMessage + from .flow_action_telegram_send_message_action import FlowActionTelegramSendMessageAction from .flow_action_telegram_send_message_params import FlowActionTelegramSendMessageParams + from .flow_action_telegram_send_message_type import FlowActionTelegramSendMessageType from .flow_action_twilio import FlowActionTwilio from .flow_action_twilio_make_call import FlowActionTwilioMakeCall + from .flow_action_twilio_make_call_action import FlowActionTwilioMakeCallAction from .flow_action_twilio_make_call_params import FlowActionTwilioMakeCallParams + from .flow_action_twilio_make_call_type import FlowActionTwilioMakeCallType from .flow_action_twilio_send_sms import FlowActionTwilioSendSms + from .flow_action_twilio_send_sms_action import FlowActionTwilioSendSmsAction from .flow_action_twilio_send_sms_params import FlowActionTwilioSendSmsParams + from .flow_action_twilio_send_sms_type import FlowActionTwilioSendSmsType from .flow_action_whatsapp import FlowActionWhatsapp from .flow_action_whatsapp_send_message import FlowActionWhatsappSendMessage + from .flow_action_whatsapp_send_message_action import FlowActionWhatsappSendMessageAction from .flow_action_whatsapp_send_message_params import FlowActionWhatsappSendMessageParams from .flow_action_whatsapp_send_message_params_payload import FlowActionWhatsappSendMessageParamsPayload from .flow_action_whatsapp_send_message_params_payload_object import ( FlowActionWhatsappSendMessageParamsPayloadObject, ) from .flow_action_whatsapp_send_message_params_type import FlowActionWhatsappSendMessageParamsType + from .flow_action_whatsapp_send_message_type import FlowActionWhatsappSendMessageType from .flow_action_xml import FlowActionXml from .flow_action_xml_parse_xml import FlowActionXmlParseXml + from .flow_action_xml_parse_xml_action import FlowActionXmlParseXmlAction from .flow_action_xml_parse_xml_params import FlowActionXmlParseXmlParams + from .flow_action_xml_parse_xml_type import FlowActionXmlParseXmlType from .flow_action_xml_serialize_xml import FlowActionXmlSerializeXml + from .flow_action_xml_serialize_xml_action import FlowActionXmlSerializeXmlAction from .flow_action_xml_serialize_xml_params import FlowActionXmlSerializeXmlParams from .flow_action_xml_serialize_xml_params_object import FlowActionXmlSerializeXmlParamsObject from .flow_action_xml_serialize_xml_params_object_object import FlowActionXmlSerializeXmlParamsObjectObject + from .flow_action_xml_serialize_xml_type import FlowActionXmlSerializeXmlType from .flow_action_zapier import FlowActionZapier from .flow_action_zapier_trigger_webhook import FlowActionZapierTriggerWebhook + from .flow_action_zapier_trigger_webhook_action import FlowActionZapierTriggerWebhookAction from .flow_action_zapier_trigger_webhook_params import FlowActionZapierTriggerWebhookParams from .flow_action_zapier_trigger_webhook_params_method import FlowActionZapierTriggerWebhookParamsMethod + from .flow_action_zapier_trigger_webhook_type import FlowActionZapierTriggerWebhookType from .flow_execution_debug import FlowExecutionDebug from .flow_execution_summary import FlowExecutionSummary from .flow_summary import FlowSummary @@ -1141,6 +1550,8 @@ from .flows_vault_connection_app_id_twilio_enum import FlowsVaultConnectionAppIdTwilioEnum from .flows_vault_connection_app_id_whatsapp_enum import FlowsVaultConnectionAppIdWhatsappEnum from .flows_vault_connection_app_id_zapier_enum import FlowsVaultConnectionAppIdZapierEnum + from .flows_vault_connection_http_basic_auth_setup import FlowsVaultConnectionHttpBasicAuthSetup + from .flows_vault_connection_setup_type_basic_auth_enum import FlowsVaultConnectionSetupTypeBasicAuthEnum from .flows_vault_connection_summary import FlowsVaultConnectionSummary from .form_block import FormBlock from .form_block_divider import FormBlockDivider @@ -1301,6 +1712,11 @@ from .form_widget_type_recaptcha_const import FormWidgetTypeRecaptchaConst from .forms_request_parameters_hydrate_enum import FormsRequestParametersHydrateEnum from .get_action_execution_response_content import GetActionExecutionResponseContent + from .get_action_module_actions_response_content import GetActionModuleActionsResponseContent + from .get_action_module_response_content import GetActionModuleResponseContent + from .get_action_module_version_response_content import GetActionModuleVersionResponseContent + from .get_action_module_versions_response_content import GetActionModuleVersionsResponseContent + from .get_action_modules_response_content import GetActionModulesResponseContent from .get_action_response_content import GetActionResponseContent from .get_action_version_response_content import GetActionVersionResponseContent from .get_active_users_count_stats_response_content import GetActiveUsersCountStatsResponseContent @@ -1318,6 +1734,7 @@ from .get_brute_force_settings_response_content_mode import GetBruteForceSettingsResponseContentMode from .get_brute_force_settings_response_content_shields_item import GetBruteForceSettingsResponseContentShieldsItem from .get_client_credential_response_content import GetClientCredentialResponseContent + from .get_client_grant_response_content import GetClientGrantResponseContent from .get_client_response_content import GetClientResponseContent from .get_connection_enabled_clients_response_content import GetConnectionEnabledClientsResponseContent from .get_connection_profile_response_content import GetConnectionProfileResponseContent @@ -1340,6 +1757,8 @@ from .get_flow_response_content import GetFlowResponseContent from .get_flows_vault_connection_response_content import GetFlowsVaultConnectionResponseContent from .get_form_response_content import GetFormResponseContent + from .get_group_members_response_content import GetGroupMembersResponseContent + from .get_group_response_content import GetGroupResponseContent from .get_guardian_enrollment_response_content import GetGuardianEnrollmentResponseContent from .get_guardian_factor_duo_settings_response_content import GetGuardianFactorDuoSettingsResponseContent from .get_guardian_factor_phone_message_types_response_content import ( @@ -1372,6 +1791,9 @@ from .get_network_acls_response_content import GetNetworkAclsResponseContent from .get_organization_by_name_response_content import GetOrganizationByNameResponseContent from .get_organization_connection_response_content import GetOrganizationConnectionResponseContent + from .get_organization_discovery_domain_by_name_response_content import ( + GetOrganizationDiscoveryDomainByNameResponseContent, + ) from .get_organization_discovery_domain_response_content import GetOrganizationDiscoveryDomainResponseContent from .get_organization_invitation_response_content import GetOrganizationInvitationResponseContent from .get_organization_response_content import GetOrganizationResponseContent @@ -1403,9 +1825,13 @@ from .get_user_attribute_profile_response_content import GetUserAttributeProfileResponseContent from .get_user_attribute_profile_template_response_content import GetUserAttributeProfileTemplateResponseContent from .get_user_authentication_method_response_content import GetUserAuthenticationMethodResponseContent + from .get_user_groups_paginated_response_content import GetUserGroupsPaginatedResponseContent from .get_user_response_content import GetUserResponseContent from .get_verifiable_credential_template_response_content import GetVerifiableCredentialTemplateResponseContent from .group import Group + from .group_member import GroupMember + from .group_member_type_enum import GroupMemberTypeEnum + from .group_type_enum import GroupTypeEnum from .guardian_enrollment_date import GuardianEnrollmentDate from .guardian_enrollment_factor_enum import GuardianEnrollmentFactorEnum from .guardian_enrollment_status import GuardianEnrollmentStatus @@ -1438,6 +1864,7 @@ from .list_action_versions_paginated_response_content import ListActionVersionsPaginatedResponseContent from .list_actions_paginated_response_content import ListActionsPaginatedResponseContent from .list_aculs_offset_paginated_response_content import ListAculsOffsetPaginatedResponseContent + from .list_aculs_response_content_item import ListAculsResponseContentItem from .list_branding_phone_providers_response_content import ListBrandingPhoneProvidersResponseContent from .list_client_connections_response_content import ListClientConnectionsResponseContent from .list_client_grant_organizations_paginated_response_content import ( @@ -1454,13 +1881,16 @@ from .list_device_credentials_offset_paginated_response_content import ( ListDeviceCredentialsOffsetPaginatedResponseContent, ) + from .list_directory_provisionings_response_content import ListDirectoryProvisioningsResponseContent from .list_encryption_key_offset_paginated_response_content import ListEncryptionKeyOffsetPaginatedResponseContent + from .list_event_streams_response_content import ListEventStreamsResponseContent from .list_flow_executions_paginated_response_content import ListFlowExecutionsPaginatedResponseContent from .list_flows_offset_paginated_response_content import ListFlowsOffsetPaginatedResponseContent from .list_flows_vault_connections_offset_paginated_response_content import ( ListFlowsVaultConnectionsOffsetPaginatedResponseContent, ) from .list_forms_offset_paginated_response_content import ListFormsOffsetPaginatedResponseContent + from .list_groups_paginated_response_content import ListGroupsPaginatedResponseContent from .list_guardian_policies_response_content import ListGuardianPoliciesResponseContent from .list_hooks_offset_paginated_response_content import ListHooksOffsetPaginatedResponseContent from .list_log_offset_paginated_response_content import ListLogOffsetPaginatedResponseContent @@ -1617,8 +2047,6 @@ from .phone_template_notification_type_enum import PhoneTemplateNotificationTypeEnum from .post_client_credential_response_content import PostClientCredentialResponseContent from .preferred_authentication_method_enum import PreferredAuthenticationMethodEnum - from .private_key_jwt import PrivateKeyJwt - from .private_key_jwt_credentials import PrivateKeyJwtCredentials from .prompt_group_name_enum import PromptGroupNameEnum from .prompt_language_enum import PromptLanguageEnum from .public_key_credential import PublicKeyCredential @@ -1628,6 +2056,7 @@ from .refresh_token_date_object import RefreshTokenDateObject from .refresh_token_device import RefreshTokenDevice from .refresh_token_expiration_type_enum import RefreshTokenExpirationTypeEnum + from .refresh_token_metadata import RefreshTokenMetadata from .refresh_token_resource_server import RefreshTokenResourceServer from .refresh_token_response_content import RefreshTokenResponseContent from .refresh_token_rotation_type_enum import RefreshTokenRotationTypeEnum @@ -1659,6 +2088,7 @@ from .revoked_signing_keys_response_content import RevokedSigningKeysResponseContent from .role import Role from .role_user import RoleUser + from .rollback_action_module_response_content import RollbackActionModuleResponseContent from .rotate_client_secret_response_content import RotateClientSecretResponseContent from .rotate_connection_keys_request_content import RotateConnectionKeysRequestContent from .rotate_connection_keys_signing_alg_enum import RotateConnectionKeysSigningAlgEnum @@ -1723,21 +2153,12 @@ from .set_guardian_factors_provider_phone_twilio_response_content import ( SetGuardianFactorsProviderPhoneTwilioResponseContent, ) - from .set_guardian_factors_provider_push_notification_apns_request_content import ( - SetGuardianFactorsProviderPushNotificationApnsRequestContent, - ) from .set_guardian_factors_provider_push_notification_apns_response_content import ( SetGuardianFactorsProviderPushNotificationApnsResponseContent, ) - from .set_guardian_factors_provider_push_notification_fcm_request_content import ( - SetGuardianFactorsProviderPushNotificationFcmRequestContent, - ) from .set_guardian_factors_provider_push_notification_fcm_response_content import ( SetGuardianFactorsProviderPushNotificationFcmResponseContent, ) - from .set_guardian_factors_provider_push_notification_fcmv_1_request_content import ( - SetGuardianFactorsProviderPushNotificationFcmv1RequestContent, - ) from .set_guardian_factors_provider_push_notification_fcmv_1_response_content import ( SetGuardianFactorsProviderPushNotificationFcmv1ResponseContent, ) @@ -1801,6 +2222,7 @@ from .twilio_provider_delivery_method_enum import TwilioProviderDeliveryMethodEnum from .universal_login_experience_enum import UniversalLoginExperienceEnum from .update_action_bindings_response_content import UpdateActionBindingsResponseContent + from .update_action_module_response_content import UpdateActionModuleResponseContent from .update_action_response_content import UpdateActionResponseContent from .update_acul_response_content import UpdateAculResponseContent from .update_attack_protection_captcha_response_content import UpdateAttackProtectionCaptchaResponseContent @@ -1823,6 +2245,68 @@ from .update_client_response_content import UpdateClientResponseContent from .update_connection_options import UpdateConnectionOptions from .update_connection_profile_response_content import UpdateConnectionProfileResponseContent + from .update_connection_request_content_ad import UpdateConnectionRequestContentAd + from .update_connection_request_content_adfs import UpdateConnectionRequestContentAdfs + from .update_connection_request_content_amazon import UpdateConnectionRequestContentAmazon + from .update_connection_request_content_aol import UpdateConnectionRequestContentAol + from .update_connection_request_content_apple import UpdateConnectionRequestContentApple + from .update_connection_request_content_auth_0 import UpdateConnectionRequestContentAuth0 + from .update_connection_request_content_auth_0_oidc import UpdateConnectionRequestContentAuth0Oidc + from .update_connection_request_content_azure_ad import UpdateConnectionRequestContentAzureAd + from .update_connection_request_content_baidu import UpdateConnectionRequestContentBaidu + from .update_connection_request_content_bitbucket import UpdateConnectionRequestContentBitbucket + from .update_connection_request_content_bitly import UpdateConnectionRequestContentBitly + from .update_connection_request_content_box import UpdateConnectionRequestContentBox + from .update_connection_request_content_custom import UpdateConnectionRequestContentCustom + from .update_connection_request_content_daccount import UpdateConnectionRequestContentDaccount + from .update_connection_request_content_dropbox import UpdateConnectionRequestContentDropbox + from .update_connection_request_content_dwolla import UpdateConnectionRequestContentDwolla + from .update_connection_request_content_email import UpdateConnectionRequestContentEmail + from .update_connection_request_content_evernote import UpdateConnectionRequestContentEvernote + from .update_connection_request_content_evernote_sandbox import UpdateConnectionRequestContentEvernoteSandbox + from .update_connection_request_content_exact import UpdateConnectionRequestContentExact + from .update_connection_request_content_facebook import UpdateConnectionRequestContentFacebook + from .update_connection_request_content_fitbit import UpdateConnectionRequestContentFitbit + from .update_connection_request_content_flickr import UpdateConnectionRequestContentFlickr + from .update_connection_request_content_git_hub import UpdateConnectionRequestContentGitHub + from .update_connection_request_content_google_apps import UpdateConnectionRequestContentGoogleApps + from .update_connection_request_content_google_o_auth_2 import UpdateConnectionRequestContentGoogleOAuth2 + from .update_connection_request_content_instagram import UpdateConnectionRequestContentInstagram + from .update_connection_request_content_ip import UpdateConnectionRequestContentIp + from .update_connection_request_content_line import UpdateConnectionRequestContentLine + from .update_connection_request_content_linkedin import UpdateConnectionRequestContentLinkedin + from .update_connection_request_content_miicard import UpdateConnectionRequestContentMiicard + from .update_connection_request_content_o_auth_1 import UpdateConnectionRequestContentOAuth1 + from .update_connection_request_content_o_auth_2 import UpdateConnectionRequestContentOAuth2 + from .update_connection_request_content_office_365 import UpdateConnectionRequestContentOffice365 + from .update_connection_request_content_oidc import UpdateConnectionRequestContentOidc + from .update_connection_request_content_okta import UpdateConnectionRequestContentOkta + from .update_connection_request_content_paypal import UpdateConnectionRequestContentPaypal + from .update_connection_request_content_paypal_sandbox import UpdateConnectionRequestContentPaypalSandbox + from .update_connection_request_content_ping_federate import UpdateConnectionRequestContentPingFederate + from .update_connection_request_content_planning_center import UpdateConnectionRequestContentPlanningCenter + from .update_connection_request_content_renren import UpdateConnectionRequestContentRenren + from .update_connection_request_content_salesforce import UpdateConnectionRequestContentSalesforce + from .update_connection_request_content_salesforce_community import ( + UpdateConnectionRequestContentSalesforceCommunity, + ) + from .update_connection_request_content_salesforce_sandbox import UpdateConnectionRequestContentSalesforceSandbox + from .update_connection_request_content_saml import UpdateConnectionRequestContentSaml + from .update_connection_request_content_sharepoint import UpdateConnectionRequestContentSharepoint + from .update_connection_request_content_shop import UpdateConnectionRequestContentShop + from .update_connection_request_content_shopify import UpdateConnectionRequestContentShopify + from .update_connection_request_content_sms import UpdateConnectionRequestContentSms + from .update_connection_request_content_soundcloud import UpdateConnectionRequestContentSoundcloud + from .update_connection_request_content_thirty_seven_signals import UpdateConnectionRequestContentThirtySevenSignals + from .update_connection_request_content_twitter import UpdateConnectionRequestContentTwitter + from .update_connection_request_content_untappd import UpdateConnectionRequestContentUntappd + from .update_connection_request_content_vkontakte import UpdateConnectionRequestContentVkontakte + from .update_connection_request_content_weibo import UpdateConnectionRequestContentWeibo + from .update_connection_request_content_windows_live import UpdateConnectionRequestContentWindowsLive + from .update_connection_request_content_wordpress import UpdateConnectionRequestContentWordpress + from .update_connection_request_content_yahoo import UpdateConnectionRequestContentYahoo + from .update_connection_request_content_yammer import UpdateConnectionRequestContentYammer + from .update_connection_request_content_yandex import UpdateConnectionRequestContentYandex from .update_connection_response_content import UpdateConnectionResponseContent from .update_custom_domain_response_content import UpdateCustomDomainResponseContent from .update_directory_provisioning_request_content import UpdateDirectoryProvisioningRequestContent @@ -1837,6 +2321,15 @@ from .update_flows_vault_connection_setup import UpdateFlowsVaultConnectionSetup from .update_form_response_content import UpdateFormResponseContent from .update_guardian_factor_duo_settings_response_content import UpdateGuardianFactorDuoSettingsResponseContent + from .update_guardian_factors_provider_push_notification_apns_response_content import ( + UpdateGuardianFactorsProviderPushNotificationApnsResponseContent, + ) + from .update_guardian_factors_provider_push_notification_fcm_response_content import ( + UpdateGuardianFactorsProviderPushNotificationFcmResponseContent, + ) + from .update_guardian_factors_provider_push_notification_fcmv_1_response_content import ( + UpdateGuardianFactorsProviderPushNotificationFcmv1ResponseContent, + ) from .update_guardian_factors_provider_push_notification_sns_response_content import ( UpdateGuardianFactorsProviderPushNotificationSnsResponseContent, ) @@ -1848,6 +2341,7 @@ from .update_organization_discovery_domain_response_content import UpdateOrganizationDiscoveryDomainResponseContent from .update_organization_response_content import UpdateOrganizationResponseContent from .update_phone_template_response_content import UpdatePhoneTemplateResponseContent + from .update_refresh_token_response_content import UpdateRefreshTokenResponseContent from .update_resource_server_response_content import UpdateResourceServerResponseContent from .update_risk_assessments_settings_new_device_response_content import ( UpdateRiskAssessmentsSettingsNewDeviceResponseContent, @@ -1927,6 +2421,8 @@ from .verification_method_enum import VerificationMethodEnum from .verify_custom_domain_response_content import VerifyCustomDomainResponseContent from .verify_email_ticket_response_content import VerifyEmailTicketResponseContent + from .x_509_certificate_credential import X509CertificateCredential + from .x_509_certificate_credential_type_enum import X509CertificateCredentialTypeEnum _dynamic_imports: typing.Dict[str, str] = { "Action": ".action", "ActionBase": ".action_base", @@ -1940,6 +2436,15 @@ "ActionError": ".action_error", "ActionExecutionResult": ".action_execution_result", "ActionExecutionStatusEnum": ".action_execution_status_enum", + "ActionModuleAction": ".action_module_action", + "ActionModuleDependency": ".action_module_dependency", + "ActionModuleDependencyRequest": ".action_module_dependency_request", + "ActionModuleListItem": ".action_module_list_item", + "ActionModuleReference": ".action_module_reference", + "ActionModuleSecret": ".action_module_secret", + "ActionModuleSecretRequest": ".action_module_secret_request", + "ActionModuleVersion": ".action_module_version", + "ActionModuleVersionReference": ".action_module_version_reference", "ActionSecretRequest": ".action_secret_request", "ActionSecretResponse": ".action_secret_response", "ActionTrigger": ".action_trigger", @@ -1957,7 +2462,6 @@ "AculContextConfiguration": ".acul_context_configuration", "AculContextConfigurationItem": ".acul_context_configuration_item", "AculContextEnum": ".acul_context_enum", - "AculDefaultHeadTagsDisabled": ".acul_default_head_tags_disabled", "AculDomainFilter": ".acul_domain_filter", "AculDomainFilterById": ".acul_domain_filter_by_id", "AculDomainFilterByMetadata": ".acul_domain_filter_by_metadata", @@ -1966,15 +2470,12 @@ "AculHeadTag": ".acul_head_tag", "AculHeadTagAttributes": ".acul_head_tag_attributes", "AculHeadTagContent": ".acul_head_tag_content", - "AculHeadTags": ".acul_head_tags", "AculMatchTypeEnum": ".acul_match_type_enum", "AculOrganizationFilter": ".acul_organization_filter", "AculOrganizationFilterById": ".acul_organization_filter_by_id", "AculOrganizationFilterByMetadata": ".acul_organization_filter_by_metadata", "AculOrganizationMetadata": ".acul_organization_metadata", "AculRenderingModeEnum": ".acul_rendering_mode_enum", - "AculResponseContent": ".acul_response_content", - "AculUsePageTemplate": ".acul_use_page_template", "AddOrganizationConnectionResponseContent": ".add_organization_connection_response_content", "AnomalyIpFormat": ".anomaly_ip_format", "AppMetadata": ".app_metadata", @@ -2039,6 +2540,8 @@ "BreachedPasswordDetectionShieldsEnum": ".breached_password_detection_shields_enum", "BreachedPasswordDetectionStage": ".breached_password_detection_stage", "BulkUpdateAculResponseContent": ".bulk_update_acul_response_content", + "CertificateSubjectDnCredential": ".certificate_subject_dn_credential", + "CertificateSubjectDnCredentialTypeEnum": ".certificate_subject_dn_credential_type_enum", "ChangePasswordTicketIdentity": ".change_password_ticket_identity", "ChangePasswordTicketResponseContent": ".change_password_ticket_response_content", "Client": ".client", @@ -2079,10 +2582,18 @@ "ClientAsyncApprovalNotificationsChannelsApiPatchConfiguration": ".client_async_approval_notifications_channels_api_patch_configuration", "ClientAsyncApprovalNotificationsChannelsApiPostConfiguration": ".client_async_approval_notifications_channels_api_post_configuration", "ClientAuthenticationMethod": ".client_authentication_method", + "ClientAuthenticationMethodPrivateKeyJwt": ".client_authentication_method_private_key_jwt", + "ClientAuthenticationMethodPrivateKeyJwtCredentials": ".client_authentication_method_private_key_jwt_credentials", "ClientAuthenticationMethodSelfSignedTlsClientAuth": ".client_authentication_method_self_signed_tls_client_auth", + "ClientAuthenticationMethodSelfSignedTlsClientAuthCredentials": ".client_authentication_method_self_signed_tls_client_auth_credentials", "ClientAuthenticationMethodTlsClientAuth": ".client_authentication_method_tls_client_auth", + "ClientAuthenticationMethodTlsClientAuthCredentials": ".client_authentication_method_tls_client_auth_credentials", "ClientComplianceLevelEnum": ".client_compliance_level_enum", "ClientCreateAuthenticationMethod": ".client_create_authentication_method", + "ClientCreateAuthenticationMethodPrivateKeyJwt": ".client_create_authentication_method_private_key_jwt", + "ClientCreateAuthenticationMethodPrivateKeyJwtCredentials": ".client_create_authentication_method_private_key_jwt_credentials", + "ClientCreateAuthenticationMethodTlsClientAuth": ".client_create_authentication_method_tls_client_auth", + "ClientCreateAuthenticationMethodTlsClientAuthCredentials": ".client_create_authentication_method_tls_client_auth_credentials", "ClientCredential": ".client_credential", "ClientCredentialAlgorithmEnum": ".client_credential_algorithm_enum", "ClientCredentialTypeEnum": ".client_credential_type_enum", @@ -2111,6 +2622,7 @@ "ClientOrganizationUsageEnum": ".client_organization_usage_enum", "ClientOrganizationUsagePatchEnum": ".client_organization_usage_patch_enum", "ClientRefreshTokenConfiguration": ".client_refresh_token_configuration", + "ClientRefreshTokenPolicy": ".client_refresh_token_policy", "ClientSessionTransferAllowedAuthenticationMethodsEnum": ".client_session_transfer_allowed_authentication_methods_enum", "ClientSessionTransferConfiguration": ".client_session_transfer_configuration", "ClientSessionTransferDeviceBindingEnum": ".client_session_transfer_device_binding_enum", @@ -2126,7 +2638,15 @@ "ConnectedAccount": ".connected_account", "ConnectedAccountAccessTypeEnum": ".connected_account_access_type_enum", "ConnectionAcrValuesSupported": ".connection_acr_values_supported", + "ConnectionAdminAccessTokenExpiresInGoogleApps": ".connection_admin_access_token_expires_in_google_apps", + "ConnectionAdminAccessTokenGoogleApps": ".connection_admin_access_token_google_apps", + "ConnectionAdminRefreshTokenGoogleApps": ".connection_admin_refresh_token_google_apps", + "ConnectionAgentIpad": ".connection_agent_ipad", + "ConnectionAgentModeAd": ".connection_agent_mode_ad", + "ConnectionAgentVersionAd": ".connection_agent_version_ad", "ConnectionAllowedAudiencesGoogleOAuth2": ".connection_allowed_audiences_google_o_auth_2", + "ConnectionApiEnableUsers": ".connection_api_enable_users", + "ConnectionApiEnableUsersGoogleApps": ".connection_api_enable_users_google_apps", "ConnectionAppDomainAzureAd": ".connection_app_domain_azure_ad", "ConnectionAttributeIdentifier": ".connection_attribute_identifier", "ConnectionAttributeMapAttributes": ".connection_attribute_map_attributes", @@ -2135,6 +2655,7 @@ "ConnectionAttributeMapUserinfoScope": ".connection_attribute_map_userinfo_scope", "ConnectionAttributes": ".connection_attributes", "ConnectionAuthParamsAdditionalPropertiesOAuth2": ".connection_auth_params_additional_properties_o_auth_2", + "ConnectionAuthParamsEmail": ".connection_auth_params_email", "ConnectionAuthParamsMap": ".connection_auth_params_map", "ConnectionAuthParamsOAuth2": ".connection_auth_params_o_auth_2", "ConnectionAuthenticationMethods": ".connection_authentication_methods", @@ -2142,17 +2663,24 @@ "ConnectionAuthorizationEndpoint": ".connection_authorization_endpoint", "ConnectionAuthorizationEndpointOAuth2": ".connection_authorization_endpoint_o_auth_2", "ConnectionBruteForceProtection": ".connection_brute_force_protection", + "ConnectionCalculatedThumbprintSaml": ".connection_calculated_thumbprint_saml", + "ConnectionCertsAd": ".connection_certs_ad", "ConnectionClaimTypesSupported": ".connection_claim_types_supported", "ConnectionClaimsLocalesSupported": ".connection_claims_locales_supported", "ConnectionClaimsParameterSupported": ".connection_claims_parameter_supported", "ConnectionClaimsSupported": ".connection_claims_supported", "ConnectionClientId": ".connection_client_id", "ConnectionClientIdAzureAd": ".connection_client_id_azure_ad", + "ConnectionClientIdFacebook": ".connection_client_id_facebook", + "ConnectionClientIdGoogleApps": ".connection_client_id_google_apps", "ConnectionClientIdGoogleOAuth2": ".connection_client_id_google_o_auth_2", "ConnectionClientIdOAuth2": ".connection_client_id_o_auth_2", "ConnectionClientIdOidc": ".connection_client_id_oidc", + "ConnectionClientProtocolSaml": ".connection_client_protocol_saml", "ConnectionClientSecret": ".connection_client_secret", "ConnectionClientSecretAzureAd": ".connection_client_secret_azure_ad", + "ConnectionClientSecretFacebook": ".connection_client_secret_facebook", + "ConnectionClientSecretGoogleApps": ".connection_client_secret_google_apps", "ConnectionClientSecretGoogleOAuth2": ".connection_client_secret_google_o_auth_2", "ConnectionClientSecretOAuth2": ".connection_client_secret_o_auth_2", "ConnectionClientSecretOidc": ".connection_client_secret_oidc", @@ -2163,37 +2691,77 @@ "ConnectionConnectionSettingsPkceEnum": ".connection_connection_settings_pkce_enum", "ConnectionCustomHeadersOAuth2": ".connection_custom_headers_o_auth_2", "ConnectionCustomScripts": ".connection_custom_scripts", + "ConnectionDebugSaml": ".connection_debug_saml", + "ConnectionDecryptionKeySaml": ".connection_decryption_key_saml", + "ConnectionDecryptionKeySamlCert": ".connection_decryption_key_saml_cert", + "ConnectionDestinationUrlSaml": ".connection_destination_url_saml", + "ConnectionDigestAlgorithmEnumSaml": ".connection_digest_algorithm_enum_saml", + "ConnectionDigestAlgorithmSaml": ".connection_digest_algorithm_saml", "ConnectionDisableSelfServiceChangePassword": ".connection_disable_self_service_change_password", "ConnectionDisableSignup": ".connection_disable_signup", + "ConnectionDisableSignupSms": ".connection_disable_signup_sms", "ConnectionDiscoveryUrl": ".connection_discovery_url", "ConnectionDisplayName": ".connection_display_name", "ConnectionDisplayValuesSupported": ".connection_display_values_supported", + "ConnectionDomainAliases": ".connection_domain_aliases", + "ConnectionDomainAliasesAd": ".connection_domain_aliases_ad", "ConnectionDomainAliasesAzureAd": ".connection_domain_aliases_azure_ad", - "ConnectionDomainAliasesOne": ".connection_domain_aliases_one", + "ConnectionDomainAliasesItemsOne": ".connection_domain_aliases_items_one", + "ConnectionDomainAliasesSaml": ".connection_domain_aliases_saml", + "ConnectionDomainGoogleApps": ".connection_domain_google_apps", "ConnectionDomainOkta": ".connection_domain_okta", + "ConnectionEmailBodyEmail": ".connection_email_body_email", + "ConnectionEmailEmail": ".connection_email_email", + "ConnectionEmailEmailSyntax": ".connection_email_email_syntax", + "ConnectionEmailFromEmail": ".connection_email_from_email", + "ConnectionEmailOtpAuthenticationMethod": ".connection_email_otp_authentication_method", + "ConnectionEmailSubjectEmail": ".connection_email_subject_email", "ConnectionEnableScriptContext": ".connection_enable_script_context", "ConnectionEnabledClient": ".connection_enabled_client", "ConnectionEnabledClients": ".connection_enabled_clients", "ConnectionEnabledDatabaseCustomization": ".connection_enabled_database_customization", "ConnectionEndSessionEndpoint": ".connection_end_session_endpoint", "ConnectionEndSessionEndpointOAuth2": ".connection_end_session_endpoint_o_auth_2", + "ConnectionEntityIdSaml": ".connection_entity_id_saml", "ConnectionExtAdmin": ".connection_ext_admin", "ConnectionExtAgreedTerms": ".connection_ext_agreed_terms", + "ConnectionExtAgreedTermsGoogleApps": ".connection_ext_agreed_terms_google_apps", "ConnectionExtAssignedPlans": ".connection_ext_assigned_plans", "ConnectionExtGroups": ".connection_ext_groups", + "ConnectionExtGroupsAzureAd": ".connection_ext_groups_azure_ad", + "ConnectionExtGroupsGoogleApps": ".connection_ext_groups_google_apps", + "ConnectionExtIsAdminGoogleApps": ".connection_ext_is_admin_google_apps", "ConnectionExtIsSuspended": ".connection_ext_is_suspended", + "ConnectionExtIsSuspendedGoogleApps": ".connection_ext_is_suspended_google_apps", "ConnectionExtProfile": ".connection_ext_profile", "ConnectionFederatedConnectionsAccessTokens": ".connection_federated_connections_access_tokens", "ConnectionFieldsMap": ".connection_fields_map", + "ConnectionFieldsMapSaml": ".connection_fields_map_saml", + "ConnectionFieldsMapSamlValue": ".connection_fields_map_saml_value", "ConnectionForList": ".connection_for_list", "ConnectionForOrganization": ".connection_for_organization", + "ConnectionForwardReqInfoSms": ".connection_forward_req_info_sms", "ConnectionFreeformScopesGoogleOAuth2": ".connection_freeform_scopes_google_o_auth_2", + "ConnectionFromSms": ".connection_from_sms", "ConnectionGatewayAuthentication": ".connection_gateway_authentication", + "ConnectionGatewayAuthenticationAudienceSms": ".connection_gateway_authentication_audience_sms", + "ConnectionGatewayAuthenticationMethodSms": ".connection_gateway_authentication_method_sms", + "ConnectionGatewayAuthenticationSms": ".connection_gateway_authentication_sms", + "ConnectionGatewayAuthenticationSubjectSms": ".connection_gateway_authentication_subject_sms", + "ConnectionGatewayUrlSms": ".connection_gateway_url_sms", + "ConnectionGlobalTokenRevocationJwtIssSaml": ".connection_global_token_revocation_jwt_iss_saml", + "ConnectionGlobalTokenRevocationJwtSubSaml": ".connection_global_token_revocation_jwt_sub_saml", "ConnectionGrantTypesSupported": ".connection_grant_types_supported", + "ConnectionHandleLoginFromSocialGoogleApps": ".connection_handle_login_from_social_google_apps", "ConnectionHttpsUrlWithHttpFallback": ".connection_https_url_with_http_fallback", + "ConnectionHttpsUrlWithHttpFallback2048": ".connection_https_url_with_http_fallback_2048", + "ConnectionHttpsUrlWithHttpFallback255": ".connection_https_url_with_http_fallback_255", "ConnectionIconUrl": ".connection_icon_url", + "ConnectionIconUrlAdfs": ".connection_icon_url_adfs", "ConnectionIconUrlAzureAd": ".connection_icon_url_azure_ad", + "ConnectionIconUrlGoogleApps": ".connection_icon_url_google_apps", "ConnectionIconUrlGoogleOAuth2": ".connection_icon_url_google_o_auth_2", + "ConnectionIconUrlSaml": ".connection_icon_url_saml", "ConnectionId": ".connection_id", "ConnectionIdTokenEncryptionAlgValuesSupported": ".connection_id_token_encryption_alg_values_supported", "ConnectionIdTokenEncryptionEncValuesSupported": ".connection_id_token_encryption_enc_values_supported", @@ -2206,6 +2774,7 @@ "ConnectionIdentityApiEnumAzureAd": ".connection_identity_api_enum_azure_ad", "ConnectionIdentityProviderEnum": ".connection_identity_provider_enum", "ConnectionImportMode": ".connection_import_mode", + "ConnectionIpsAd": ".connection_ips_ad", "ConnectionIsDomainConnection": ".connection_is_domain_connection", "ConnectionIssuer": ".connection_issuer", "ConnectionJwksUri": ".connection_jwks_uri", @@ -2214,6 +2783,11 @@ "ConnectionMappingModeEnumOidc": ".connection_mapping_mode_enum_oidc", "ConnectionMappingModeEnumOkta": ".connection_mapping_mode_enum_okta", "ConnectionMaxGroupsToRetrieve": ".connection_max_groups_to_retrieve", + "ConnectionMessagingServiceSidSms": ".connection_messaging_service_sid_sms", + "ConnectionMetadataUrlSaml": ".connection_metadata_url_saml", + "ConnectionMetadataXml": ".connection_metadata_xml", + "ConnectionMetadataXmlAdfs": ".connection_metadata_xml_adfs", + "ConnectionMetadataXmlSaml": ".connection_metadata_xml_saml", "ConnectionMfa": ".connection_mfa", "ConnectionName": ".connection_name", "ConnectionNamePrefixTemplate": ".connection_name_prefix_template", @@ -2235,14 +2809,14 @@ "ConnectionOptionsBox": ".connection_options_box", "ConnectionOptionsCommon": ".connection_options_common", "ConnectionOptionsCommonOidc": ".connection_options_common_oidc", + "ConnectionOptionsCommonSaml": ".connection_options_common_saml", "ConnectionOptionsCustom": ".connection_options_custom", "ConnectionOptionsDaccount": ".connection_options_daccount", + "ConnectionOptionsDeflateSaml": ".connection_options_deflate_saml", "ConnectionOptionsDropbox": ".connection_options_dropbox", "ConnectionOptionsDwolla": ".connection_options_dwolla", "ConnectionOptionsEmail": ".connection_options_email", "ConnectionOptionsEvernote": ".connection_options_evernote", - "ConnectionOptionsEvernoteCommon": ".connection_options_evernote_common", - "ConnectionOptionsEvernoteSandbox": ".connection_options_evernote_sandbox", "ConnectionOptionsExact": ".connection_options_exact", "ConnectionOptionsFacebook": ".connection_options_facebook", "ConnectionOptionsFitbit": ".connection_options_fitbit", @@ -2250,6 +2824,8 @@ "ConnectionOptionsGitHub": ".connection_options_git_hub", "ConnectionOptionsGoogleApps": ".connection_options_google_apps", "ConnectionOptionsGoogleOAuth2": ".connection_options_google_o_auth_2", + "ConnectionOptionsIdpInitiatedClientProtocolEnumSaml": ".connection_options_idp_initiated_client_protocol_enum_saml", + "ConnectionOptionsIdpinitiatedSaml": ".connection_options_idpinitiated_saml", "ConnectionOptionsInstagram": ".connection_options_instagram", "ConnectionOptionsIp": ".connection_options_ip", "ConnectionOptionsLine": ".connection_options_line", @@ -2263,22 +2839,16 @@ "ConnectionOptionsOidcMetadata": ".connection_options_oidc_metadata", "ConnectionOptionsOkta": ".connection_options_okta", "ConnectionOptionsPaypal": ".connection_options_paypal", - "ConnectionOptionsPaypalSandbox": ".connection_options_paypal_sandbox", "ConnectionOptionsPingFederate": ".connection_options_ping_federate", "ConnectionOptionsPlanningCenter": ".connection_options_planning_center", "ConnectionOptionsRenren": ".connection_options_renren", "ConnectionOptionsSalesforce": ".connection_options_salesforce", - "ConnectionOptionsSalesforceCommon": ".connection_options_salesforce_common", - "ConnectionOptionsSalesforceCommunity": ".connection_options_salesforce_community", - "ConnectionOptionsSalesforceSandbox": ".connection_options_salesforce_sandbox", "ConnectionOptionsSaml": ".connection_options_saml", "ConnectionOptionsSharepoint": ".connection_options_sharepoint", "ConnectionOptionsShop": ".connection_options_shop", "ConnectionOptionsShopify": ".connection_options_shopify", "ConnectionOptionsSms": ".connection_options_sms", "ConnectionOptionsSoundcloud": ".connection_options_soundcloud", - "ConnectionOptionsTheCity": ".connection_options_the_city", - "ConnectionOptionsTheCitySandbox": ".connection_options_the_city_sandbox", "ConnectionOptionsThirtySevenSignals": ".connection_options_thirty_seven_signals", "ConnectionOptionsTwitter": ".connection_options_twitter", "ConnectionOptionsUntappd": ".connection_options_untappd", @@ -2298,6 +2868,9 @@ "ConnectionPasswordHistoryOptions": ".connection_password_history_options", "ConnectionPasswordNoPersonalInfoOptions": ".connection_password_no_personal_info_options", "ConnectionPasswordPolicyEnum": ".connection_password_policy_enum", + "ConnectionPhoneOtpAuthenticationMethod": ".connection_phone_otp_authentication_method", + "ConnectionPingFederateBaseUrl": ".connection_ping_federate_base_url", + "ConnectionPingFederateBaseUrlPingFederate": ".connection_ping_federate_base_url_ping_federate", "ConnectionProfile": ".connection_profile", "ConnectionProfileConfig": ".connection_profile_config", "ConnectionProfileEnabledFeatures": ".connection_profile_enabled_features", @@ -2313,87 +2886,154 @@ "ConnectionProfileTemplate": ".connection_profile_template", "ConnectionProfileTemplateItem": ".connection_profile_template_item", "ConnectionPropertiesOptions": ".connection_properties_options", - "ConnectionProvisioningTicket": ".connection_provisioning_ticket", + "ConnectionProtocolBindingEnumSaml": ".connection_protocol_binding_enum_saml", + "ConnectionProtocolBindingSaml": ".connection_protocol_binding_saml", + "ConnectionProviderEnumSms": ".connection_provider_enum_sms", + "ConnectionProviderSms": ".connection_provider_sms", "ConnectionProvisioningTicketUrl": ".connection_provisioning_ticket_url", "ConnectionRealmFallback": ".connection_realm_fallback", "ConnectionRealms": ".connection_realms", + "ConnectionRecipientUrlSaml": ".connection_recipient_url_saml", "ConnectionRegistrationEndpoint": ".connection_registration_endpoint", "ConnectionRequestObjectEncryptionAlgValuesSupported": ".connection_request_object_encryption_alg_values_supported", "ConnectionRequestObjectEncryptionEncValuesSupported": ".connection_request_object_encryption_enc_values_supported", "ConnectionRequestObjectSigningAlgValuesSupported": ".connection_request_object_signing_alg_values_supported", "ConnectionRequestParameterSupported": ".connection_request_parameter_supported", + "ConnectionRequestTemplateSaml": ".connection_request_template_saml", "ConnectionRequestUriParameterSupported": ".connection_request_uri_parameter_supported", "ConnectionRequireRequestUriRegistration": ".connection_require_request_uri_registration", "ConnectionRequiresUsername": ".connection_requires_username", "ConnectionResponseCommon": ".connection_response_common", "ConnectionResponseContentAd": ".connection_response_content_ad", + "ConnectionResponseContentAdStrategy": ".connection_response_content_ad_strategy", "ConnectionResponseContentAdfs": ".connection_response_content_adfs", + "ConnectionResponseContentAdfsStrategy": ".connection_response_content_adfs_strategy", "ConnectionResponseContentAmazon": ".connection_response_content_amazon", + "ConnectionResponseContentAmazonStrategy": ".connection_response_content_amazon_strategy", "ConnectionResponseContentAol": ".connection_response_content_aol", + "ConnectionResponseContentAolStrategy": ".connection_response_content_aol_strategy", "ConnectionResponseContentApple": ".connection_response_content_apple", + "ConnectionResponseContentAppleStrategy": ".connection_response_content_apple_strategy", "ConnectionResponseContentAuth0": ".connection_response_content_auth_0", "ConnectionResponseContentAuth0Oidc": ".connection_response_content_auth_0_oidc", + "ConnectionResponseContentAuth0OidcStrategy": ".connection_response_content_auth_0_oidc_strategy", + "ConnectionResponseContentAuth0Strategy": ".connection_response_content_auth_0_strategy", "ConnectionResponseContentAzureAd": ".connection_response_content_azure_ad", + "ConnectionResponseContentAzureAdStrategy": ".connection_response_content_azure_ad_strategy", "ConnectionResponseContentBaidu": ".connection_response_content_baidu", + "ConnectionResponseContentBaiduStrategy": ".connection_response_content_baidu_strategy", "ConnectionResponseContentBitbucket": ".connection_response_content_bitbucket", + "ConnectionResponseContentBitbucketStrategy": ".connection_response_content_bitbucket_strategy", "ConnectionResponseContentBitly": ".connection_response_content_bitly", + "ConnectionResponseContentBitlyStrategy": ".connection_response_content_bitly_strategy", "ConnectionResponseContentBox": ".connection_response_content_box", + "ConnectionResponseContentBoxStrategy": ".connection_response_content_box_strategy", "ConnectionResponseContentCustom": ".connection_response_content_custom", + "ConnectionResponseContentCustomStrategy": ".connection_response_content_custom_strategy", "ConnectionResponseContentDaccount": ".connection_response_content_daccount", + "ConnectionResponseContentDaccountStrategy": ".connection_response_content_daccount_strategy", "ConnectionResponseContentDropbox": ".connection_response_content_dropbox", + "ConnectionResponseContentDropboxStrategy": ".connection_response_content_dropbox_strategy", "ConnectionResponseContentDwolla": ".connection_response_content_dwolla", + "ConnectionResponseContentDwollaStrategy": ".connection_response_content_dwolla_strategy", "ConnectionResponseContentEmail": ".connection_response_content_email", + "ConnectionResponseContentEmailStrategy": ".connection_response_content_email_strategy", "ConnectionResponseContentEvernote": ".connection_response_content_evernote", "ConnectionResponseContentEvernoteSandbox": ".connection_response_content_evernote_sandbox", + "ConnectionResponseContentEvernoteSandboxStrategy": ".connection_response_content_evernote_sandbox_strategy", + "ConnectionResponseContentEvernoteStrategy": ".connection_response_content_evernote_strategy", "ConnectionResponseContentExact": ".connection_response_content_exact", + "ConnectionResponseContentExactStrategy": ".connection_response_content_exact_strategy", "ConnectionResponseContentFacebook": ".connection_response_content_facebook", + "ConnectionResponseContentFacebookStrategy": ".connection_response_content_facebook_strategy", "ConnectionResponseContentFitbit": ".connection_response_content_fitbit", + "ConnectionResponseContentFitbitStrategy": ".connection_response_content_fitbit_strategy", "ConnectionResponseContentFlickr": ".connection_response_content_flickr", + "ConnectionResponseContentFlickrStrategy": ".connection_response_content_flickr_strategy", "ConnectionResponseContentGitHub": ".connection_response_content_git_hub", + "ConnectionResponseContentGitHubStrategy": ".connection_response_content_git_hub_strategy", "ConnectionResponseContentGoogleApps": ".connection_response_content_google_apps", + "ConnectionResponseContentGoogleAppsStrategy": ".connection_response_content_google_apps_strategy", "ConnectionResponseContentGoogleOAuth2": ".connection_response_content_google_o_auth_2", + "ConnectionResponseContentGoogleOAuth2Strategy": ".connection_response_content_google_o_auth_2_strategy", "ConnectionResponseContentInstagram": ".connection_response_content_instagram", + "ConnectionResponseContentInstagramStrategy": ".connection_response_content_instagram_strategy", "ConnectionResponseContentIp": ".connection_response_content_ip", + "ConnectionResponseContentIpStrategy": ".connection_response_content_ip_strategy", "ConnectionResponseContentLine": ".connection_response_content_line", + "ConnectionResponseContentLineStrategy": ".connection_response_content_line_strategy", "ConnectionResponseContentLinkedin": ".connection_response_content_linkedin", + "ConnectionResponseContentLinkedinStrategy": ".connection_response_content_linkedin_strategy", "ConnectionResponseContentMiicard": ".connection_response_content_miicard", + "ConnectionResponseContentMiicardStrategy": ".connection_response_content_miicard_strategy", "ConnectionResponseContentOAuth1": ".connection_response_content_o_auth_1", + "ConnectionResponseContentOAuth1Strategy": ".connection_response_content_o_auth_1_strategy", "ConnectionResponseContentOAuth2": ".connection_response_content_o_auth_2", + "ConnectionResponseContentOAuth2Strategy": ".connection_response_content_o_auth_2_strategy", "ConnectionResponseContentOffice365": ".connection_response_content_office_365", + "ConnectionResponseContentOffice365Strategy": ".connection_response_content_office_365_strategy", "ConnectionResponseContentOidc": ".connection_response_content_oidc", + "ConnectionResponseContentOidcStrategy": ".connection_response_content_oidc_strategy", "ConnectionResponseContentOkta": ".connection_response_content_okta", + "ConnectionResponseContentOktaStrategy": ".connection_response_content_okta_strategy", "ConnectionResponseContentPaypal": ".connection_response_content_paypal", "ConnectionResponseContentPaypalSandbox": ".connection_response_content_paypal_sandbox", + "ConnectionResponseContentPaypalSandboxStrategy": ".connection_response_content_paypal_sandbox_strategy", + "ConnectionResponseContentPaypalStrategy": ".connection_response_content_paypal_strategy", "ConnectionResponseContentPingFederate": ".connection_response_content_ping_federate", + "ConnectionResponseContentPingFederateStrategy": ".connection_response_content_ping_federate_strategy", "ConnectionResponseContentPlanningCenter": ".connection_response_content_planning_center", + "ConnectionResponseContentPlanningCenterStrategy": ".connection_response_content_planning_center_strategy", "ConnectionResponseContentRenren": ".connection_response_content_renren", + "ConnectionResponseContentRenrenStrategy": ".connection_response_content_renren_strategy", "ConnectionResponseContentSalesforce": ".connection_response_content_salesforce", "ConnectionResponseContentSalesforceCommunity": ".connection_response_content_salesforce_community", + "ConnectionResponseContentSalesforceCommunityStrategy": ".connection_response_content_salesforce_community_strategy", "ConnectionResponseContentSalesforceSandbox": ".connection_response_content_salesforce_sandbox", + "ConnectionResponseContentSalesforceSandboxStrategy": ".connection_response_content_salesforce_sandbox_strategy", + "ConnectionResponseContentSalesforceStrategy": ".connection_response_content_salesforce_strategy", "ConnectionResponseContentSaml": ".connection_response_content_saml", + "ConnectionResponseContentSamlStrategy": ".connection_response_content_saml_strategy", "ConnectionResponseContentSharepoint": ".connection_response_content_sharepoint", + "ConnectionResponseContentSharepointStrategy": ".connection_response_content_sharepoint_strategy", "ConnectionResponseContentShop": ".connection_response_content_shop", + "ConnectionResponseContentShopStrategy": ".connection_response_content_shop_strategy", "ConnectionResponseContentShopify": ".connection_response_content_shopify", + "ConnectionResponseContentShopifyStrategy": ".connection_response_content_shopify_strategy", "ConnectionResponseContentSms": ".connection_response_content_sms", + "ConnectionResponseContentSmsStrategy": ".connection_response_content_sms_strategy", "ConnectionResponseContentSoundcloud": ".connection_response_content_soundcloud", - "ConnectionResponseContentTheCity": ".connection_response_content_the_city", - "ConnectionResponseContentTheCitySandbox": ".connection_response_content_the_city_sandbox", + "ConnectionResponseContentSoundcloudStrategy": ".connection_response_content_soundcloud_strategy", "ConnectionResponseContentThirtySevenSignals": ".connection_response_content_thirty_seven_signals", + "ConnectionResponseContentThirtySevenSignalsStrategy": ".connection_response_content_thirty_seven_signals_strategy", "ConnectionResponseContentTwitter": ".connection_response_content_twitter", + "ConnectionResponseContentTwitterStrategy": ".connection_response_content_twitter_strategy", "ConnectionResponseContentUntappd": ".connection_response_content_untappd", + "ConnectionResponseContentUntappdStrategy": ".connection_response_content_untappd_strategy", "ConnectionResponseContentVkontakte": ".connection_response_content_vkontakte", + "ConnectionResponseContentVkontakteStrategy": ".connection_response_content_vkontakte_strategy", "ConnectionResponseContentWeibo": ".connection_response_content_weibo", + "ConnectionResponseContentWeiboStrategy": ".connection_response_content_weibo_strategy", "ConnectionResponseContentWindowsLive": ".connection_response_content_windows_live", + "ConnectionResponseContentWindowsLiveStrategy": ".connection_response_content_windows_live_strategy", "ConnectionResponseContentWordpress": ".connection_response_content_wordpress", + "ConnectionResponseContentWordpressStrategy": ".connection_response_content_wordpress_strategy", "ConnectionResponseContentYahoo": ".connection_response_content_yahoo", + "ConnectionResponseContentYahooStrategy": ".connection_response_content_yahoo_strategy", "ConnectionResponseContentYammer": ".connection_response_content_yammer", + "ConnectionResponseContentYammerStrategy": ".connection_response_content_yammer_strategy", "ConnectionResponseContentYandex": ".connection_response_content_yandex", + "ConnectionResponseContentYandexStrategy": ".connection_response_content_yandex_strategy", "ConnectionResponseModesSupported": ".connection_response_modes_supported", "ConnectionResponseTypesSupported": ".connection_response_types_supported", "ConnectionScopeArray": ".connection_scope_array", + "ConnectionScopeArrayFacebook": ".connection_scope_array_facebook", "ConnectionScopeAzureAd": ".connection_scope_azure_ad", + "ConnectionScopeFacebook": ".connection_scope_facebook", + "ConnectionScopeGoogleApps": ".connection_scope_google_apps", "ConnectionScopeGoogleOAuth2": ".connection_scope_google_o_auth_2", "ConnectionScopeItem": ".connection_scope_item", + "ConnectionScopeItemGoogleApps": ".connection_scope_item_google_apps", "ConnectionScopeOAuth2": ".connection_scope_o_auth_2", "ConnectionScopeOidc": ".connection_scope_oidc", "ConnectionScopesSupported": ".connection_scopes_supported", @@ -2401,15 +3041,36 @@ "ConnectionSendBackChannelNonce": ".connection_send_back_channel_nonce", "ConnectionServiceDocumentation": ".connection_service_documentation", "ConnectionSetUserRootAttributesEnum": ".connection_set_user_root_attributes_enum", + "ConnectionSha1Thumbprint": ".connection_sha_1_thumbprint", "ConnectionShouldTrustEmailVerifiedConnectionEnum": ".connection_should_trust_email_verified_connection_enum", "ConnectionShowAsButton": ".connection_show_as_button", + "ConnectionSignInEndpointAd": ".connection_sign_in_endpoint_ad", + "ConnectionSignInEndpointAdfs": ".connection_sign_in_endpoint_adfs", + "ConnectionSignInEndpointSaml": ".connection_sign_in_endpoint_saml", + "ConnectionSignOutEndpointSaml": ".connection_sign_out_endpoint_saml", + "ConnectionSignSamlRequestSaml": ".connection_sign_saml_request_saml", + "ConnectionSignatureAlgorithmEnumSaml": ".connection_signature_algorithm_enum_saml", + "ConnectionSignatureAlgorithmSaml": ".connection_signature_algorithm_saml", + "ConnectionSigningCertSaml": ".connection_signing_cert_saml", + "ConnectionSigningCertificateDerSaml": ".connection_signing_certificate_der_saml", + "ConnectionSigningCertificatePemPingFederate": ".connection_signing_certificate_pem_ping_federate", + "ConnectionSigningCertificatePemSaml": ".connection_signing_certificate_pem_saml", + "ConnectionSigningKeySaml": ".connection_signing_key_saml", "ConnectionStrategyEnum": ".connection_strategy_enum", - "ConnectionStrategyVersionEnumAzureAd": ".connection_strategy_version_enum_azure_ad", + "ConnectionStrategyVersionEnumLinkedin": ".connection_strategy_version_enum_linkedin", + "ConnectionStrategyVersionEnumWindowsLive": ".connection_strategy_version_enum_windows_live", "ConnectionSubjectTypesSupported": ".connection_subject_types_supported", + "ConnectionTemplateSms": ".connection_template_sms", + "ConnectionTemplateSyntaxEnumSms": ".connection_template_syntax_enum_sms", "ConnectionTenantDomain": ".connection_tenant_domain", + "ConnectionTenantDomainAd": ".connection_tenant_domain_ad", "ConnectionTenantDomainAzureAdOne": ".connection_tenant_domain_azure_ad_one", + "ConnectionTenantDomainGoogleApps": ".connection_tenant_domain_google_apps", + "ConnectionTenantDomainSaml": ".connection_tenant_domain_saml", "ConnectionTenantIdAzureAd": ".connection_tenant_id_azure_ad", "ConnectionThumbprints": ".connection_thumbprints", + "ConnectionThumbprintsAd": ".connection_thumbprints_ad", + "ConnectionThumbprintsSaml": ".connection_thumbprints_saml", "ConnectionTokenEndpoint": ".connection_token_endpoint", "ConnectionTokenEndpointAuthMethodEnum": ".connection_token_endpoint_auth_method_enum", "ConnectionTokenEndpointAuthMethodsSupported": ".connection_token_endpoint_auth_methods_supported", @@ -2417,6 +3078,16 @@ "ConnectionTokenEndpointAuthSigningAlgValuesSupported": ".connection_token_endpoint_auth_signing_alg_values_supported", "ConnectionTokenEndpointOAuth2": ".connection_token_endpoint_o_auth_2", "ConnectionTokenEndpointOidc": ".connection_token_endpoint_oidc", + "ConnectionTotpEmail": ".connection_totp_email", + "ConnectionTotpLengthEmail": ".connection_totp_length_email", + "ConnectionTotpLengthPasswordless": ".connection_totp_length_passwordless", + "ConnectionTotpLengthSms": ".connection_totp_length_sms", + "ConnectionTotpSms": ".connection_totp_sms", + "ConnectionTotpTimeStepEmail": ".connection_totp_time_step_email", + "ConnectionTotpTimeStepPasswordless": ".connection_totp_time_step_passwordless", + "ConnectionTotpTimeStepSms": ".connection_totp_time_step_sms", + "ConnectionTwilioSidSms": ".connection_twilio_sid_sms", + "ConnectionTwilioTokenSms": ".connection_twilio_token_sms", "ConnectionTypeEnumOidc": ".connection_type_enum_oidc", "ConnectionTypeEnumOkta": ".connection_type_enum_okta", "ConnectionUiLocalesSupported": ".connection_ui_locales_supported", @@ -2424,10 +3095,11 @@ "ConnectionUpstreamAlias": ".connection_upstream_alias", "ConnectionUpstreamAliasEnum": ".connection_upstream_alias_enum", "ConnectionUpstreamParams": ".connection_upstream_params", - "ConnectionUpstreamParamsAzureAd": ".connection_upstream_params_azure_ad", - "ConnectionUpstreamParamsOidc": ".connection_upstream_params_oidc", + "ConnectionUpstreamParamsAdfs": ".connection_upstream_params_adfs", + "ConnectionUpstreamParamsFacebook": ".connection_upstream_params_facebook", "ConnectionUpstreamValue": ".connection_upstream_value", "ConnectionUseCommonEndpointAzureAd": ".connection_use_common_endpoint_azure_ad", + "ConnectionUserIdAttributeSaml": ".connection_user_id_attribute_saml", "ConnectionUseridAttributeAzureAd": ".connection_userid_attribute_azure_ad", "ConnectionUseridAttributeEnumAzureAd": ".connection_userid_attribute_enum_azure_ad", "ConnectionUserinfoEncryptionAlgValuesSupported": ".connection_userinfo_encryption_alg_values_supported", @@ -2440,75 +3112,137 @@ "ConnectionWaadProtocol": ".connection_waad_protocol", "ConnectionWaadProtocolEnumAzureAd": ".connection_waad_protocol_enum_azure_ad", "ConnectionsMetadata": ".connections_metadata", + "CreateActionModuleResponseContent": ".create_action_module_response_content", + "CreateActionModuleVersionResponseContent": ".create_action_module_version_response_content", "CreateActionResponseContent": ".create_action_response_content", "CreateBrandingPhoneProviderResponseContent": ".create_branding_phone_provider_response_content", "CreateBrandingThemeResponseContent": ".create_branding_theme_response_content", + "CreateClientAuthenticationMethodSelfSignedTlsClientAuth": ".create_client_authentication_method_self_signed_tls_client_auth", + "CreateClientAuthenticationMethodSelfSignedTlsClientAuthCredentials": ".create_client_authentication_method_self_signed_tls_client_auth_credentials", "CreateClientGrantResponseContent": ".create_client_grant_response_content", "CreateClientResponseContent": ".create_client_response_content", "CreateConnectionCommon": ".create_connection_common", "CreateConnectionProfileResponseContent": ".create_connection_profile_response_content", "CreateConnectionRequestContentAd": ".create_connection_request_content_ad", + "CreateConnectionRequestContentAdStrategy": ".create_connection_request_content_ad_strategy", "CreateConnectionRequestContentAdfs": ".create_connection_request_content_adfs", + "CreateConnectionRequestContentAdfsStrategy": ".create_connection_request_content_adfs_strategy", "CreateConnectionRequestContentAmazon": ".create_connection_request_content_amazon", + "CreateConnectionRequestContentAmazonStrategy": ".create_connection_request_content_amazon_strategy", "CreateConnectionRequestContentAol": ".create_connection_request_content_aol", + "CreateConnectionRequestContentAolStrategy": ".create_connection_request_content_aol_strategy", "CreateConnectionRequestContentApple": ".create_connection_request_content_apple", + "CreateConnectionRequestContentAppleStrategy": ".create_connection_request_content_apple_strategy", "CreateConnectionRequestContentAuth0": ".create_connection_request_content_auth_0", "CreateConnectionRequestContentAuth0Oidc": ".create_connection_request_content_auth_0_oidc", + "CreateConnectionRequestContentAuth0OidcStrategy": ".create_connection_request_content_auth_0_oidc_strategy", + "CreateConnectionRequestContentAuth0Strategy": ".create_connection_request_content_auth_0_strategy", "CreateConnectionRequestContentAzureAd": ".create_connection_request_content_azure_ad", + "CreateConnectionRequestContentAzureAdStrategy": ".create_connection_request_content_azure_ad_strategy", "CreateConnectionRequestContentBaidu": ".create_connection_request_content_baidu", + "CreateConnectionRequestContentBaiduStrategy": ".create_connection_request_content_baidu_strategy", "CreateConnectionRequestContentBitbucket": ".create_connection_request_content_bitbucket", + "CreateConnectionRequestContentBitbucketStrategy": ".create_connection_request_content_bitbucket_strategy", "CreateConnectionRequestContentBitly": ".create_connection_request_content_bitly", + "CreateConnectionRequestContentBitlyStrategy": ".create_connection_request_content_bitly_strategy", "CreateConnectionRequestContentBox": ".create_connection_request_content_box", + "CreateConnectionRequestContentBoxStrategy": ".create_connection_request_content_box_strategy", "CreateConnectionRequestContentCustom": ".create_connection_request_content_custom", + "CreateConnectionRequestContentCustomStrategy": ".create_connection_request_content_custom_strategy", "CreateConnectionRequestContentDaccount": ".create_connection_request_content_daccount", + "CreateConnectionRequestContentDaccountStrategy": ".create_connection_request_content_daccount_strategy", "CreateConnectionRequestContentDropbox": ".create_connection_request_content_dropbox", + "CreateConnectionRequestContentDropboxStrategy": ".create_connection_request_content_dropbox_strategy", "CreateConnectionRequestContentDwolla": ".create_connection_request_content_dwolla", + "CreateConnectionRequestContentDwollaStrategy": ".create_connection_request_content_dwolla_strategy", "CreateConnectionRequestContentEmail": ".create_connection_request_content_email", + "CreateConnectionRequestContentEmailStrategy": ".create_connection_request_content_email_strategy", "CreateConnectionRequestContentEvernote": ".create_connection_request_content_evernote", "CreateConnectionRequestContentEvernoteSandbox": ".create_connection_request_content_evernote_sandbox", + "CreateConnectionRequestContentEvernoteSandboxStrategy": ".create_connection_request_content_evernote_sandbox_strategy", + "CreateConnectionRequestContentEvernoteStrategy": ".create_connection_request_content_evernote_strategy", "CreateConnectionRequestContentExact": ".create_connection_request_content_exact", + "CreateConnectionRequestContentExactStrategy": ".create_connection_request_content_exact_strategy", "CreateConnectionRequestContentFacebook": ".create_connection_request_content_facebook", + "CreateConnectionRequestContentFacebookStrategy": ".create_connection_request_content_facebook_strategy", "CreateConnectionRequestContentFitbit": ".create_connection_request_content_fitbit", + "CreateConnectionRequestContentFitbitStrategy": ".create_connection_request_content_fitbit_strategy", "CreateConnectionRequestContentFlickr": ".create_connection_request_content_flickr", + "CreateConnectionRequestContentFlickrStrategy": ".create_connection_request_content_flickr_strategy", "CreateConnectionRequestContentGitHub": ".create_connection_request_content_git_hub", + "CreateConnectionRequestContentGitHubStrategy": ".create_connection_request_content_git_hub_strategy", "CreateConnectionRequestContentGoogleApps": ".create_connection_request_content_google_apps", + "CreateConnectionRequestContentGoogleAppsStrategy": ".create_connection_request_content_google_apps_strategy", "CreateConnectionRequestContentGoogleOAuth2": ".create_connection_request_content_google_o_auth_2", + "CreateConnectionRequestContentGoogleOAuth2Strategy": ".create_connection_request_content_google_o_auth_2_strategy", "CreateConnectionRequestContentInstagram": ".create_connection_request_content_instagram", + "CreateConnectionRequestContentInstagramStrategy": ".create_connection_request_content_instagram_strategy", "CreateConnectionRequestContentIp": ".create_connection_request_content_ip", + "CreateConnectionRequestContentIpStrategy": ".create_connection_request_content_ip_strategy", "CreateConnectionRequestContentLine": ".create_connection_request_content_line", + "CreateConnectionRequestContentLineStrategy": ".create_connection_request_content_line_strategy", "CreateConnectionRequestContentLinkedin": ".create_connection_request_content_linkedin", + "CreateConnectionRequestContentLinkedinStrategy": ".create_connection_request_content_linkedin_strategy", "CreateConnectionRequestContentMiicard": ".create_connection_request_content_miicard", + "CreateConnectionRequestContentMiicardStrategy": ".create_connection_request_content_miicard_strategy", "CreateConnectionRequestContentOAuth1": ".create_connection_request_content_o_auth_1", + "CreateConnectionRequestContentOAuth1Strategy": ".create_connection_request_content_o_auth_1_strategy", "CreateConnectionRequestContentOAuth2": ".create_connection_request_content_o_auth_2", + "CreateConnectionRequestContentOAuth2Strategy": ".create_connection_request_content_o_auth_2_strategy", "CreateConnectionRequestContentOffice365": ".create_connection_request_content_office_365", + "CreateConnectionRequestContentOffice365Strategy": ".create_connection_request_content_office_365_strategy", "CreateConnectionRequestContentOidc": ".create_connection_request_content_oidc", + "CreateConnectionRequestContentOidcStrategy": ".create_connection_request_content_oidc_strategy", "CreateConnectionRequestContentOkta": ".create_connection_request_content_okta", + "CreateConnectionRequestContentOktaStrategy": ".create_connection_request_content_okta_strategy", "CreateConnectionRequestContentPaypal": ".create_connection_request_content_paypal", "CreateConnectionRequestContentPaypalSandbox": ".create_connection_request_content_paypal_sandbox", + "CreateConnectionRequestContentPaypalSandboxStrategy": ".create_connection_request_content_paypal_sandbox_strategy", + "CreateConnectionRequestContentPaypalStrategy": ".create_connection_request_content_paypal_strategy", "CreateConnectionRequestContentPingFederate": ".create_connection_request_content_ping_federate", + "CreateConnectionRequestContentPingFederateStrategy": ".create_connection_request_content_ping_federate_strategy", "CreateConnectionRequestContentPlanningCenter": ".create_connection_request_content_planning_center", + "CreateConnectionRequestContentPlanningCenterStrategy": ".create_connection_request_content_planning_center_strategy", "CreateConnectionRequestContentRenren": ".create_connection_request_content_renren", + "CreateConnectionRequestContentRenrenStrategy": ".create_connection_request_content_renren_strategy", "CreateConnectionRequestContentSalesforce": ".create_connection_request_content_salesforce", "CreateConnectionRequestContentSalesforceCommunity": ".create_connection_request_content_salesforce_community", + "CreateConnectionRequestContentSalesforceCommunityStrategy": ".create_connection_request_content_salesforce_community_strategy", "CreateConnectionRequestContentSalesforceSandbox": ".create_connection_request_content_salesforce_sandbox", + "CreateConnectionRequestContentSalesforceSandboxStrategy": ".create_connection_request_content_salesforce_sandbox_strategy", + "CreateConnectionRequestContentSalesforceStrategy": ".create_connection_request_content_salesforce_strategy", "CreateConnectionRequestContentSaml": ".create_connection_request_content_saml", + "CreateConnectionRequestContentSamlStrategy": ".create_connection_request_content_saml_strategy", "CreateConnectionRequestContentSharepoint": ".create_connection_request_content_sharepoint", + "CreateConnectionRequestContentSharepointStrategy": ".create_connection_request_content_sharepoint_strategy", "CreateConnectionRequestContentShop": ".create_connection_request_content_shop", + "CreateConnectionRequestContentShopStrategy": ".create_connection_request_content_shop_strategy", "CreateConnectionRequestContentShopify": ".create_connection_request_content_shopify", + "CreateConnectionRequestContentShopifyStrategy": ".create_connection_request_content_shopify_strategy", "CreateConnectionRequestContentSms": ".create_connection_request_content_sms", + "CreateConnectionRequestContentSmsStrategy": ".create_connection_request_content_sms_strategy", "CreateConnectionRequestContentSoundcloud": ".create_connection_request_content_soundcloud", - "CreateConnectionRequestContentTheCity": ".create_connection_request_content_the_city", - "CreateConnectionRequestContentTheCitySandbox": ".create_connection_request_content_the_city_sandbox", + "CreateConnectionRequestContentSoundcloudStrategy": ".create_connection_request_content_soundcloud_strategy", "CreateConnectionRequestContentThirtySevenSignals": ".create_connection_request_content_thirty_seven_signals", + "CreateConnectionRequestContentThirtySevenSignalsStrategy": ".create_connection_request_content_thirty_seven_signals_strategy", "CreateConnectionRequestContentTwitter": ".create_connection_request_content_twitter", + "CreateConnectionRequestContentTwitterStrategy": ".create_connection_request_content_twitter_strategy", "CreateConnectionRequestContentUntappd": ".create_connection_request_content_untappd", + "CreateConnectionRequestContentUntappdStrategy": ".create_connection_request_content_untappd_strategy", "CreateConnectionRequestContentVkontakte": ".create_connection_request_content_vkontakte", + "CreateConnectionRequestContentVkontakteStrategy": ".create_connection_request_content_vkontakte_strategy", "CreateConnectionRequestContentWeibo": ".create_connection_request_content_weibo", + "CreateConnectionRequestContentWeiboStrategy": ".create_connection_request_content_weibo_strategy", "CreateConnectionRequestContentWindowsLive": ".create_connection_request_content_windows_live", + "CreateConnectionRequestContentWindowsLiveStrategy": ".create_connection_request_content_windows_live_strategy", "CreateConnectionRequestContentWordpress": ".create_connection_request_content_wordpress", + "CreateConnectionRequestContentWordpressStrategy": ".create_connection_request_content_wordpress_strategy", "CreateConnectionRequestContentYahoo": ".create_connection_request_content_yahoo", + "CreateConnectionRequestContentYahooStrategy": ".create_connection_request_content_yahoo_strategy", "CreateConnectionRequestContentYammer": ".create_connection_request_content_yammer", + "CreateConnectionRequestContentYammerStrategy": ".create_connection_request_content_yammer_strategy", "CreateConnectionRequestContentYandex": ".create_connection_request_content_yandex", + "CreateConnectionRequestContentYandexStrategy": ".create_connection_request_content_yandex_strategy", "CreateConnectionResponseContent": ".create_connection_response_content", "CreateCustomDomainResponseContent": ".create_custom_domain_response_content", "CreateDirectoryProvisioningRequestContent": ".create_directory_provisioning_request_content", @@ -2550,6 +3284,7 @@ "CreateFlowsVaultConnectionGoogleSheetsOauthCode": ".create_flows_vault_connection_google_sheets_oauth_code", "CreateFlowsVaultConnectionGoogleSheetsUninitialized": ".create_flows_vault_connection_google_sheets_uninitialized", "CreateFlowsVaultConnectionHttp": ".create_flows_vault_connection_http", + "CreateFlowsVaultConnectionHttpBasicAuth": ".create_flows_vault_connection_http_basic_auth", "CreateFlowsVaultConnectionHttpBearer": ".create_flows_vault_connection_http_bearer", "CreateFlowsVaultConnectionHttpUninitialized": ".create_flows_vault_connection_http_uninitialized", "CreateFlowsVaultConnectionHubspot": ".create_flows_vault_connection_hubspot", @@ -2656,6 +3391,7 @@ "CustomSigningKeyTypeEnum": ".custom_signing_key_type_enum", "CustomSigningKeyUseEnum": ".custom_signing_key_use_enum", "DailyStats": ".daily_stats", + "DefaultMethodEmailIdentifierEnum": ".default_method_email_identifier_enum", "DefaultTokenQuota": ".default_token_quota", "DeleteHookSecretRequestContent": ".delete_hook_secret_request_content", "DeleteUserIdentityResponseContent": ".delete_user_identity_response_content", @@ -2667,6 +3403,7 @@ "DeviceCredential": ".device_credential", "DeviceCredentialPublicKeyTypeEnum": ".device_credential_public_key_type_enum", "DeviceCredentialTypeEnum": ".device_credential_type_enum", + "DirectoryProvisioning": ".directory_provisioning", "DirectoryProvisioningMappingItem": ".directory_provisioning_mapping_item", "DomainCertificate": ".domain_certificate", "DomainCertificateAuthorityEnum": ".domain_certificate_authority_enum", @@ -2734,31 +3471,53 @@ "FlowAction": ".flow_action", "FlowActionActivecampaign": ".flow_action_activecampaign", "FlowActionActivecampaignListContacts": ".flow_action_activecampaign_list_contacts", + "FlowActionActivecampaignListContactsAction": ".flow_action_activecampaign_list_contacts_action", "FlowActionActivecampaignListContactsParams": ".flow_action_activecampaign_list_contacts_params", + "FlowActionActivecampaignListContactsType": ".flow_action_activecampaign_list_contacts_type", "FlowActionActivecampaignUpsertContact": ".flow_action_activecampaign_upsert_contact", + "FlowActionActivecampaignUpsertContactAction": ".flow_action_activecampaign_upsert_contact_action", "FlowActionActivecampaignUpsertContactParams": ".flow_action_activecampaign_upsert_contact_params", "FlowActionActivecampaignUpsertContactParamsCustomFields": ".flow_action_activecampaign_upsert_contact_params_custom_fields", + "FlowActionActivecampaignUpsertContactType": ".flow_action_activecampaign_upsert_contact_type", "FlowActionAirtable": ".flow_action_airtable", "FlowActionAirtableCreateRecord": ".flow_action_airtable_create_record", + "FlowActionAirtableCreateRecordAction": ".flow_action_airtable_create_record_action", "FlowActionAirtableCreateRecordParams": ".flow_action_airtable_create_record_params", "FlowActionAirtableCreateRecordParamsFields": ".flow_action_airtable_create_record_params_fields", + "FlowActionAirtableCreateRecordType": ".flow_action_airtable_create_record_type", "FlowActionAirtableListRecords": ".flow_action_airtable_list_records", + "FlowActionAirtableListRecordsAction": ".flow_action_airtable_list_records_action", "FlowActionAirtableListRecordsParams": ".flow_action_airtable_list_records_params", + "FlowActionAirtableListRecordsType": ".flow_action_airtable_list_records_type", "FlowActionAirtableUpdateRecord": ".flow_action_airtable_update_record", + "FlowActionAirtableUpdateRecordAction": ".flow_action_airtable_update_record_action", "FlowActionAirtableUpdateRecordParams": ".flow_action_airtable_update_record_params", "FlowActionAirtableUpdateRecordParamsFields": ".flow_action_airtable_update_record_params_fields", + "FlowActionAirtableUpdateRecordType": ".flow_action_airtable_update_record_type", "FlowActionAuth0": ".flow_action_auth_0", "FlowActionAuth0CreateUser": ".flow_action_auth_0_create_user", + "FlowActionAuth0CreateUserAction": ".flow_action_auth_0_create_user_action", "FlowActionAuth0CreateUserParams": ".flow_action_auth_0_create_user_params", "FlowActionAuth0CreateUserParamsPayload": ".flow_action_auth_0_create_user_params_payload", + "FlowActionAuth0CreateUserType": ".flow_action_auth_0_create_user_type", "FlowActionAuth0GetUser": ".flow_action_auth_0_get_user", + "FlowActionAuth0GetUserAction": ".flow_action_auth_0_get_user_action", "FlowActionAuth0GetUserParams": ".flow_action_auth_0_get_user_params", + "FlowActionAuth0GetUserType": ".flow_action_auth_0_get_user_type", + "FlowActionAuth0MakeCall": ".flow_action_auth_0_make_call", + "FlowActionAuth0MakeCallAction": ".flow_action_auth_0_make_call_action", + "FlowActionAuth0MakeCallParams": ".flow_action_auth_0_make_call_params", + "FlowActionAuth0MakeCallParamsCustomVars": ".flow_action_auth_0_make_call_params_custom_vars", + "FlowActionAuth0MakeCallType": ".flow_action_auth_0_make_call_type", "FlowActionAuth0SendEmail": ".flow_action_auth_0_send_email", + "FlowActionAuth0SendEmailAction": ".flow_action_auth_0_send_email_action", "FlowActionAuth0SendEmailParams": ".flow_action_auth_0_send_email_params", "FlowActionAuth0SendEmailParamsFrom": ".flow_action_auth_0_send_email_params_from", "FlowActionAuth0SendEmailParamsFromEmail": ".flow_action_auth_0_send_email_params_from_email", "FlowActionAuth0SendEmailParamsTo": ".flow_action_auth_0_send_email_params_to", + "FlowActionAuth0SendEmailType": ".flow_action_auth_0_send_email_type", "FlowActionAuth0SendRequest": ".flow_action_auth_0_send_request", + "FlowActionAuth0SendRequestAction": ".flow_action_auth_0_send_request_action", "FlowActionAuth0SendRequestParams": ".flow_action_auth_0_send_request_params", "FlowActionAuth0SendRequestParamsCustomVars": ".flow_action_auth_0_send_request_params_custom_vars", "FlowActionAuth0SendRequestParamsHeaders": ".flow_action_auth_0_send_request_params_headers", @@ -2767,53 +3526,86 @@ "FlowActionAuth0SendRequestParamsPayloadObject": ".flow_action_auth_0_send_request_params_payload_object", "FlowActionAuth0SendRequestParamsQueryParams": ".flow_action_auth_0_send_request_params_query_params", "FlowActionAuth0SendRequestParamsQueryParamsValue": ".flow_action_auth_0_send_request_params_query_params_value", + "FlowActionAuth0SendRequestType": ".flow_action_auth_0_send_request_type", + "FlowActionAuth0SendSms": ".flow_action_auth_0_send_sms", + "FlowActionAuth0SendSmsAction": ".flow_action_auth_0_send_sms_action", + "FlowActionAuth0SendSmsParams": ".flow_action_auth_0_send_sms_params", + "FlowActionAuth0SendSmsParamsCustomVars": ".flow_action_auth_0_send_sms_params_custom_vars", + "FlowActionAuth0SendSmsType": ".flow_action_auth_0_send_sms_type", "FlowActionAuth0UpdateUser": ".flow_action_auth_0_update_user", + "FlowActionAuth0UpdateUserAction": ".flow_action_auth_0_update_user_action", "FlowActionAuth0UpdateUserParams": ".flow_action_auth_0_update_user_params", "FlowActionAuth0UpdateUserParamsChanges": ".flow_action_auth_0_update_user_params_changes", + "FlowActionAuth0UpdateUserType": ".flow_action_auth_0_update_user_type", "FlowActionBigquery": ".flow_action_bigquery", "FlowActionBigqueryInsertRows": ".flow_action_bigquery_insert_rows", + "FlowActionBigqueryInsertRowsAction": ".flow_action_bigquery_insert_rows_action", "FlowActionBigqueryInsertRowsParams": ".flow_action_bigquery_insert_rows_params", "FlowActionBigqueryInsertRowsParamsData": ".flow_action_bigquery_insert_rows_params_data", + "FlowActionBigqueryInsertRowsType": ".flow_action_bigquery_insert_rows_type", "FlowActionClearbit": ".flow_action_clearbit", "FlowActionClearbitFindCompany": ".flow_action_clearbit_find_company", + "FlowActionClearbitFindCompanyAction": ".flow_action_clearbit_find_company_action", "FlowActionClearbitFindCompanyParams": ".flow_action_clearbit_find_company_params", + "FlowActionClearbitFindCompanyType": ".flow_action_clearbit_find_company_type", "FlowActionClearbitFindPerson": ".flow_action_clearbit_find_person", + "FlowActionClearbitFindPersonAction": ".flow_action_clearbit_find_person_action", "FlowActionClearbitFindPersonParams": ".flow_action_clearbit_find_person_params", + "FlowActionClearbitFindPersonType": ".flow_action_clearbit_find_person_type", "FlowActionEmail": ".flow_action_email", "FlowActionEmailVerifyEmail": ".flow_action_email_verify_email", + "FlowActionEmailVerifyEmailAction": ".flow_action_email_verify_email_action", "FlowActionEmailVerifyEmailParams": ".flow_action_email_verify_email_params", "FlowActionEmailVerifyEmailParamsRules": ".flow_action_email_verify_email_params_rules", + "FlowActionEmailVerifyEmailType": ".flow_action_email_verify_email_type", "FlowActionFlow": ".flow_action_flow", "FlowActionFlowBooleanCondition": ".flow_action_flow_boolean_condition", + "FlowActionFlowBooleanConditionAction": ".flow_action_flow_boolean_condition_action", "FlowActionFlowBooleanConditionParams": ".flow_action_flow_boolean_condition_params", + "FlowActionFlowBooleanConditionType": ".flow_action_flow_boolean_condition_type", "FlowActionFlowDelayFlow": ".flow_action_flow_delay_flow", + "FlowActionFlowDelayFlowAction": ".flow_action_flow_delay_flow_action", "FlowActionFlowDelayFlowParams": ".flow_action_flow_delay_flow_params", "FlowActionFlowDelayFlowParamsNumber": ".flow_action_flow_delay_flow_params_number", "FlowActionFlowDelayFlowParamsUnits": ".flow_action_flow_delay_flow_params_units", + "FlowActionFlowDelayFlowType": ".flow_action_flow_delay_flow_type", "FlowActionFlowDoNothing": ".flow_action_flow_do_nothing", + "FlowActionFlowDoNothingAction": ".flow_action_flow_do_nothing_action", "FlowActionFlowDoNothingParams": ".flow_action_flow_do_nothing_params", + "FlowActionFlowDoNothingType": ".flow_action_flow_do_nothing_type", "FlowActionFlowErrorMessage": ".flow_action_flow_error_message", + "FlowActionFlowErrorMessageAction": ".flow_action_flow_error_message_action", "FlowActionFlowErrorMessageParams": ".flow_action_flow_error_message_params", + "FlowActionFlowErrorMessageType": ".flow_action_flow_error_message_type", "FlowActionFlowMapValue": ".flow_action_flow_map_value", + "FlowActionFlowMapValueAction": ".flow_action_flow_map_value_action", "FlowActionFlowMapValueParams": ".flow_action_flow_map_value_params", "FlowActionFlowMapValueParamsCases": ".flow_action_flow_map_value_params_cases", "FlowActionFlowMapValueParamsFallback": ".flow_action_flow_map_value_params_fallback", "FlowActionFlowMapValueParamsFallbackObject": ".flow_action_flow_map_value_params_fallback_object", "FlowActionFlowMapValueParamsInput": ".flow_action_flow_map_value_params_input", + "FlowActionFlowMapValueType": ".flow_action_flow_map_value_type", "FlowActionFlowReturnJson": ".flow_action_flow_return_json", + "FlowActionFlowReturnJsonAction": ".flow_action_flow_return_json_action", "FlowActionFlowReturnJsonParams": ".flow_action_flow_return_json_params", "FlowActionFlowReturnJsonParamsPayload": ".flow_action_flow_return_json_params_payload", "FlowActionFlowReturnJsonParamsPayloadObject": ".flow_action_flow_return_json_params_payload_object", + "FlowActionFlowReturnJsonType": ".flow_action_flow_return_json_type", "FlowActionFlowStoreVars": ".flow_action_flow_store_vars", + "FlowActionFlowStoreVarsAction": ".flow_action_flow_store_vars_action", "FlowActionFlowStoreVarsParams": ".flow_action_flow_store_vars_params", "FlowActionFlowStoreVarsParamsVars": ".flow_action_flow_store_vars_params_vars", + "FlowActionFlowStoreVarsType": ".flow_action_flow_store_vars_type", "FlowActionGoogleSheets": ".flow_action_google_sheets", "FlowActionGoogleSheetsAddRow": ".flow_action_google_sheets_add_row", + "FlowActionGoogleSheetsAddRowAction": ".flow_action_google_sheets_add_row_action", "FlowActionGoogleSheetsAddRowParams": ".flow_action_google_sheets_add_row_params", "FlowActionGoogleSheetsAddRowParamsSheetId": ".flow_action_google_sheets_add_row_params_sheet_id", "FlowActionGoogleSheetsAddRowParamsValues": ".flow_action_google_sheets_add_row_params_values", + "FlowActionGoogleSheetsAddRowType": ".flow_action_google_sheets_add_row_type", "FlowActionHttp": ".flow_action_http", "FlowActionHttpSendRequest": ".flow_action_http_send_request", + "FlowActionHttpSendRequestAction": ".flow_action_http_send_request_action", "FlowActionHttpSendRequestParams": ".flow_action_http_send_request_params", "FlowActionHttpSendRequestParamsBasicAuth": ".flow_action_http_send_request_params_basic_auth", "FlowActionHttpSendRequestParamsContentType": ".flow_action_http_send_request_params_content_type", @@ -2823,131 +3615,204 @@ "FlowActionHttpSendRequestParamsPayloadObject": ".flow_action_http_send_request_params_payload_object", "FlowActionHttpSendRequestParamsQueryParams": ".flow_action_http_send_request_params_query_params", "FlowActionHttpSendRequestParamsQueryParamsValue": ".flow_action_http_send_request_params_query_params_value", + "FlowActionHttpSendRequestType": ".flow_action_http_send_request_type", "FlowActionHubspot": ".flow_action_hubspot", "FlowActionHubspotEnrollContact": ".flow_action_hubspot_enroll_contact", + "FlowActionHubspotEnrollContactAction": ".flow_action_hubspot_enroll_contact_action", "FlowActionHubspotEnrollContactParams": ".flow_action_hubspot_enroll_contact_params", "FlowActionHubspotEnrollContactParamsWorkflowId": ".flow_action_hubspot_enroll_contact_params_workflow_id", + "FlowActionHubspotEnrollContactType": ".flow_action_hubspot_enroll_contact_type", "FlowActionHubspotGetContact": ".flow_action_hubspot_get_contact", + "FlowActionHubspotGetContactAction": ".flow_action_hubspot_get_contact_action", "FlowActionHubspotGetContactParams": ".flow_action_hubspot_get_contact_params", + "FlowActionHubspotGetContactType": ".flow_action_hubspot_get_contact_type", "FlowActionHubspotUpsertContact": ".flow_action_hubspot_upsert_contact", + "FlowActionHubspotUpsertContactAction": ".flow_action_hubspot_upsert_contact_action", "FlowActionHubspotUpsertContactParams": ".flow_action_hubspot_upsert_contact_params", "FlowActionHubspotUpsertContactParamsProperty": ".flow_action_hubspot_upsert_contact_params_property", + "FlowActionHubspotUpsertContactType": ".flow_action_hubspot_upsert_contact_type", "FlowActionJson": ".flow_action_json", "FlowActionJsonCreateJson": ".flow_action_json_create_json", + "FlowActionJsonCreateJsonAction": ".flow_action_json_create_json_action", "FlowActionJsonCreateJsonParams": ".flow_action_json_create_json_params", "FlowActionJsonCreateJsonParamsObject": ".flow_action_json_create_json_params_object", + "FlowActionJsonCreateJsonType": ".flow_action_json_create_json_type", "FlowActionJsonParseJson": ".flow_action_json_parse_json", + "FlowActionJsonParseJsonAction": ".flow_action_json_parse_json_action", "FlowActionJsonParseJsonParams": ".flow_action_json_parse_json_params", + "FlowActionJsonParseJsonType": ".flow_action_json_parse_json_type", "FlowActionJsonSerializeJson": ".flow_action_json_serialize_json", + "FlowActionJsonSerializeJsonAction": ".flow_action_json_serialize_json_action", "FlowActionJsonSerializeJsonParams": ".flow_action_json_serialize_json_params", "FlowActionJsonSerializeJsonParamsObject": ".flow_action_json_serialize_json_params_object", "FlowActionJsonSerializeJsonParamsObjectObject": ".flow_action_json_serialize_json_params_object_object", + "FlowActionJsonSerializeJsonType": ".flow_action_json_serialize_json_type", "FlowActionJwt": ".flow_action_jwt", "FlowActionJwtDecodeJwt": ".flow_action_jwt_decode_jwt", + "FlowActionJwtDecodeJwtAction": ".flow_action_jwt_decode_jwt_action", "FlowActionJwtDecodeJwtParams": ".flow_action_jwt_decode_jwt_params", + "FlowActionJwtDecodeJwtType": ".flow_action_jwt_decode_jwt_type", "FlowActionJwtSignJwt": ".flow_action_jwt_sign_jwt", + "FlowActionJwtSignJwtAction": ".flow_action_jwt_sign_jwt_action", "FlowActionJwtSignJwtParams": ".flow_action_jwt_sign_jwt_params", "FlowActionJwtSignJwtParamsPayload": ".flow_action_jwt_sign_jwt_params_payload", + "FlowActionJwtSignJwtType": ".flow_action_jwt_sign_jwt_type", "FlowActionJwtVerifyJwt": ".flow_action_jwt_verify_jwt", + "FlowActionJwtVerifyJwtAction": ".flow_action_jwt_verify_jwt_action", "FlowActionJwtVerifyJwtParams": ".flow_action_jwt_verify_jwt_params", + "FlowActionJwtVerifyJwtType": ".flow_action_jwt_verify_jwt_type", "FlowActionMailchimp": ".flow_action_mailchimp", "FlowActionMailchimpUpsertMember": ".flow_action_mailchimp_upsert_member", + "FlowActionMailchimpUpsertMemberAction": ".flow_action_mailchimp_upsert_member_action", "FlowActionMailchimpUpsertMemberParams": ".flow_action_mailchimp_upsert_member_params", "FlowActionMailchimpUpsertMemberParamsMember": ".flow_action_mailchimp_upsert_member_params_member", "FlowActionMailchimpUpsertMemberParamsMemberMergeFields": ".flow_action_mailchimp_upsert_member_params_member_merge_fields", + "FlowActionMailchimpUpsertMemberType": ".flow_action_mailchimp_upsert_member_type", "FlowActionMailjet": ".flow_action_mailjet", "FlowActionMailjetSendEmail": ".flow_action_mailjet_send_email", + "FlowActionMailjetSendEmailAction": ".flow_action_mailjet_send_email_action", "FlowActionMailjetSendEmailParams": ".flow_action_mailjet_send_email_params", "FlowActionMailjetSendEmailParamsContent": ".flow_action_mailjet_send_email_params_content", "FlowActionMailjetSendEmailParamsTemplateId": ".flow_action_mailjet_send_email_params_template_id", + "FlowActionMailjetSendEmailType": ".flow_action_mailjet_send_email_type", "FlowActionOtp": ".flow_action_otp", "FlowActionOtpGenerateCode": ".flow_action_otp_generate_code", + "FlowActionOtpGenerateCodeAction": ".flow_action_otp_generate_code_action", "FlowActionOtpGenerateCodeParams": ".flow_action_otp_generate_code_params", + "FlowActionOtpGenerateCodeType": ".flow_action_otp_generate_code_type", "FlowActionOtpVerifyCode": ".flow_action_otp_verify_code", + "FlowActionOtpVerifyCodeAction": ".flow_action_otp_verify_code_action", "FlowActionOtpVerifyCodeParams": ".flow_action_otp_verify_code_params", "FlowActionOtpVerifyCodeParamsCode": ".flow_action_otp_verify_code_params_code", + "FlowActionOtpVerifyCodeType": ".flow_action_otp_verify_code_type", "FlowActionPipedrive": ".flow_action_pipedrive", "FlowActionPipedriveAddDeal": ".flow_action_pipedrive_add_deal", + "FlowActionPipedriveAddDealAction": ".flow_action_pipedrive_add_deal_action", "FlowActionPipedriveAddDealParams": ".flow_action_pipedrive_add_deal_params", "FlowActionPipedriveAddDealParamsFields": ".flow_action_pipedrive_add_deal_params_fields", "FlowActionPipedriveAddDealParamsOrganizationId": ".flow_action_pipedrive_add_deal_params_organization_id", "FlowActionPipedriveAddDealParamsPersonId": ".flow_action_pipedrive_add_deal_params_person_id", "FlowActionPipedriveAddDealParamsStageId": ".flow_action_pipedrive_add_deal_params_stage_id", "FlowActionPipedriveAddDealParamsUserId": ".flow_action_pipedrive_add_deal_params_user_id", + "FlowActionPipedriveAddDealType": ".flow_action_pipedrive_add_deal_type", "FlowActionPipedriveAddOrganization": ".flow_action_pipedrive_add_organization", + "FlowActionPipedriveAddOrganizationAction": ".flow_action_pipedrive_add_organization_action", "FlowActionPipedriveAddOrganizationParams": ".flow_action_pipedrive_add_organization_params", "FlowActionPipedriveAddOrganizationParamsFields": ".flow_action_pipedrive_add_organization_params_fields", "FlowActionPipedriveAddOrganizationParamsOwnerId": ".flow_action_pipedrive_add_organization_params_owner_id", + "FlowActionPipedriveAddOrganizationType": ".flow_action_pipedrive_add_organization_type", "FlowActionPipedriveAddPerson": ".flow_action_pipedrive_add_person", + "FlowActionPipedriveAddPersonAction": ".flow_action_pipedrive_add_person_action", "FlowActionPipedriveAddPersonParams": ".flow_action_pipedrive_add_person_params", "FlowActionPipedriveAddPersonParamsFields": ".flow_action_pipedrive_add_person_params_fields", "FlowActionPipedriveAddPersonParamsOrganizationId": ".flow_action_pipedrive_add_person_params_organization_id", "FlowActionPipedriveAddPersonParamsOwnerId": ".flow_action_pipedrive_add_person_params_owner_id", + "FlowActionPipedriveAddPersonType": ".flow_action_pipedrive_add_person_type", "FlowActionSalesforce": ".flow_action_salesforce", "FlowActionSalesforceCreateLead": ".flow_action_salesforce_create_lead", + "FlowActionSalesforceCreateLeadAction": ".flow_action_salesforce_create_lead_action", "FlowActionSalesforceCreateLeadParams": ".flow_action_salesforce_create_lead_params", "FlowActionSalesforceCreateLeadParamsPayload": ".flow_action_salesforce_create_lead_params_payload", + "FlowActionSalesforceCreateLeadType": ".flow_action_salesforce_create_lead_type", "FlowActionSalesforceGetLead": ".flow_action_salesforce_get_lead", + "FlowActionSalesforceGetLeadAction": ".flow_action_salesforce_get_lead_action", "FlowActionSalesforceGetLeadParams": ".flow_action_salesforce_get_lead_params", + "FlowActionSalesforceGetLeadType": ".flow_action_salesforce_get_lead_type", "FlowActionSalesforceSearchLeads": ".flow_action_salesforce_search_leads", + "FlowActionSalesforceSearchLeadsAction": ".flow_action_salesforce_search_leads_action", "FlowActionSalesforceSearchLeadsParams": ".flow_action_salesforce_search_leads_params", "FlowActionSalesforceSearchLeadsParamsSearchField": ".flow_action_salesforce_search_leads_params_search_field", + "FlowActionSalesforceSearchLeadsType": ".flow_action_salesforce_search_leads_type", "FlowActionSalesforceUpdateLead": ".flow_action_salesforce_update_lead", + "FlowActionSalesforceUpdateLeadAction": ".flow_action_salesforce_update_lead_action", "FlowActionSalesforceUpdateLeadParams": ".flow_action_salesforce_update_lead_params", "FlowActionSalesforceUpdateLeadParamsPayload": ".flow_action_salesforce_update_lead_params_payload", + "FlowActionSalesforceUpdateLeadType": ".flow_action_salesforce_update_lead_type", "FlowActionSendgrid": ".flow_action_sendgrid", "FlowActionSendgridSendEmail": ".flow_action_sendgrid_send_email", + "FlowActionSendgridSendEmailAction": ".flow_action_sendgrid_send_email_action", "FlowActionSendgridSendEmailParams": ".flow_action_sendgrid_send_email_params", "FlowActionSendgridSendEmailParamsPerson": ".flow_action_sendgrid_send_email_params_person", + "FlowActionSendgridSendEmailType": ".flow_action_sendgrid_send_email_type", "FlowActionSlack": ".flow_action_slack", "FlowActionSlackPostMessage": ".flow_action_slack_post_message", + "FlowActionSlackPostMessageAction": ".flow_action_slack_post_message_action", "FlowActionSlackPostMessageParams": ".flow_action_slack_post_message_params", "FlowActionSlackPostMessageParamsAttachment": ".flow_action_slack_post_message_params_attachment", "FlowActionSlackPostMessageParamsAttachmentColor": ".flow_action_slack_post_message_params_attachment_color", "FlowActionSlackPostMessageParamsAttachmentField": ".flow_action_slack_post_message_params_attachment_field", + "FlowActionSlackPostMessageType": ".flow_action_slack_post_message_type", "FlowActionStripe": ".flow_action_stripe", "FlowActionStripeAddTaxId": ".flow_action_stripe_add_tax_id", + "FlowActionStripeAddTaxIdAction": ".flow_action_stripe_add_tax_id_action", "FlowActionStripeAddTaxIdParams": ".flow_action_stripe_add_tax_id_params", + "FlowActionStripeAddTaxIdType": ".flow_action_stripe_add_tax_id_type", "FlowActionStripeAddress": ".flow_action_stripe_address", "FlowActionStripeCreateCustomer": ".flow_action_stripe_create_customer", + "FlowActionStripeCreateCustomerAction": ".flow_action_stripe_create_customer_action", "FlowActionStripeCreateCustomerParams": ".flow_action_stripe_create_customer_params", + "FlowActionStripeCreateCustomerType": ".flow_action_stripe_create_customer_type", "FlowActionStripeCreatePortalSession": ".flow_action_stripe_create_portal_session", + "FlowActionStripeCreatePortalSessionAction": ".flow_action_stripe_create_portal_session_action", "FlowActionStripeCreatePortalSessionParams": ".flow_action_stripe_create_portal_session_params", + "FlowActionStripeCreatePortalSessionType": ".flow_action_stripe_create_portal_session_type", "FlowActionStripeDeleteTaxId": ".flow_action_stripe_delete_tax_id", + "FlowActionStripeDeleteTaxIdAction": ".flow_action_stripe_delete_tax_id_action", "FlowActionStripeDeleteTaxIdParams": ".flow_action_stripe_delete_tax_id_params", + "FlowActionStripeDeleteTaxIdType": ".flow_action_stripe_delete_tax_id_type", "FlowActionStripeFindCustomers": ".flow_action_stripe_find_customers", + "FlowActionStripeFindCustomersAction": ".flow_action_stripe_find_customers_action", "FlowActionStripeFindCustomersParams": ".flow_action_stripe_find_customers_params", + "FlowActionStripeFindCustomersType": ".flow_action_stripe_find_customers_type", "FlowActionStripeGetCustomer": ".flow_action_stripe_get_customer", + "FlowActionStripeGetCustomerAction": ".flow_action_stripe_get_customer_action", "FlowActionStripeGetCustomerParams": ".flow_action_stripe_get_customer_params", + "FlowActionStripeGetCustomerType": ".flow_action_stripe_get_customer_type", "FlowActionStripeMetadata": ".flow_action_stripe_metadata", "FlowActionStripeTaxId": ".flow_action_stripe_tax_id", "FlowActionStripeUpdateCustomer": ".flow_action_stripe_update_customer", + "FlowActionStripeUpdateCustomerAction": ".flow_action_stripe_update_customer_action", "FlowActionStripeUpdateCustomerParams": ".flow_action_stripe_update_customer_params", + "FlowActionStripeUpdateCustomerType": ".flow_action_stripe_update_customer_type", "FlowActionTelegram": ".flow_action_telegram", "FlowActionTelegramSendMessage": ".flow_action_telegram_send_message", + "FlowActionTelegramSendMessageAction": ".flow_action_telegram_send_message_action", "FlowActionTelegramSendMessageParams": ".flow_action_telegram_send_message_params", + "FlowActionTelegramSendMessageType": ".flow_action_telegram_send_message_type", "FlowActionTwilio": ".flow_action_twilio", "FlowActionTwilioMakeCall": ".flow_action_twilio_make_call", + "FlowActionTwilioMakeCallAction": ".flow_action_twilio_make_call_action", "FlowActionTwilioMakeCallParams": ".flow_action_twilio_make_call_params", + "FlowActionTwilioMakeCallType": ".flow_action_twilio_make_call_type", "FlowActionTwilioSendSms": ".flow_action_twilio_send_sms", + "FlowActionTwilioSendSmsAction": ".flow_action_twilio_send_sms_action", "FlowActionTwilioSendSmsParams": ".flow_action_twilio_send_sms_params", + "FlowActionTwilioSendSmsType": ".flow_action_twilio_send_sms_type", "FlowActionWhatsapp": ".flow_action_whatsapp", "FlowActionWhatsappSendMessage": ".flow_action_whatsapp_send_message", + "FlowActionWhatsappSendMessageAction": ".flow_action_whatsapp_send_message_action", "FlowActionWhatsappSendMessageParams": ".flow_action_whatsapp_send_message_params", "FlowActionWhatsappSendMessageParamsPayload": ".flow_action_whatsapp_send_message_params_payload", "FlowActionWhatsappSendMessageParamsPayloadObject": ".flow_action_whatsapp_send_message_params_payload_object", "FlowActionWhatsappSendMessageParamsType": ".flow_action_whatsapp_send_message_params_type", + "FlowActionWhatsappSendMessageType": ".flow_action_whatsapp_send_message_type", "FlowActionXml": ".flow_action_xml", "FlowActionXmlParseXml": ".flow_action_xml_parse_xml", + "FlowActionXmlParseXmlAction": ".flow_action_xml_parse_xml_action", "FlowActionXmlParseXmlParams": ".flow_action_xml_parse_xml_params", + "FlowActionXmlParseXmlType": ".flow_action_xml_parse_xml_type", "FlowActionXmlSerializeXml": ".flow_action_xml_serialize_xml", + "FlowActionXmlSerializeXmlAction": ".flow_action_xml_serialize_xml_action", "FlowActionXmlSerializeXmlParams": ".flow_action_xml_serialize_xml_params", "FlowActionXmlSerializeXmlParamsObject": ".flow_action_xml_serialize_xml_params_object", "FlowActionXmlSerializeXmlParamsObjectObject": ".flow_action_xml_serialize_xml_params_object_object", + "FlowActionXmlSerializeXmlType": ".flow_action_xml_serialize_xml_type", "FlowActionZapier": ".flow_action_zapier", "FlowActionZapierTriggerWebhook": ".flow_action_zapier_trigger_webhook", + "FlowActionZapierTriggerWebhookAction": ".flow_action_zapier_trigger_webhook_action", "FlowActionZapierTriggerWebhookParams": ".flow_action_zapier_trigger_webhook_params", "FlowActionZapierTriggerWebhookParamsMethod": ".flow_action_zapier_trigger_webhook_params_method", + "FlowActionZapierTriggerWebhookType": ".flow_action_zapier_trigger_webhook_type", "FlowExecutionDebug": ".flow_execution_debug", "FlowExecutionSummary": ".flow_execution_summary", "FlowSummary": ".flow_summary", @@ -2995,6 +3860,8 @@ "FlowsVaultConnectionAppIdTwilioEnum": ".flows_vault_connection_app_id_twilio_enum", "FlowsVaultConnectionAppIdWhatsappEnum": ".flows_vault_connection_app_id_whatsapp_enum", "FlowsVaultConnectionAppIdZapierEnum": ".flows_vault_connection_app_id_zapier_enum", + "FlowsVaultConnectionHttpBasicAuthSetup": ".flows_vault_connection_http_basic_auth_setup", + "FlowsVaultConnectionSetupTypeBasicAuthEnum": ".flows_vault_connection_setup_type_basic_auth_enum", "FlowsVaultConnectionSummary": ".flows_vault_connection_summary", "FormBlock": ".form_block", "FormBlockDivider": ".form_block_divider", @@ -3153,6 +4020,11 @@ "FormWidgetTypeRecaptchaConst": ".form_widget_type_recaptcha_const", "FormsRequestParametersHydrateEnum": ".forms_request_parameters_hydrate_enum", "GetActionExecutionResponseContent": ".get_action_execution_response_content", + "GetActionModuleActionsResponseContent": ".get_action_module_actions_response_content", + "GetActionModuleResponseContent": ".get_action_module_response_content", + "GetActionModuleVersionResponseContent": ".get_action_module_version_response_content", + "GetActionModuleVersionsResponseContent": ".get_action_module_versions_response_content", + "GetActionModulesResponseContent": ".get_action_modules_response_content", "GetActionResponseContent": ".get_action_response_content", "GetActionVersionResponseContent": ".get_action_version_response_content", "GetActiveUsersCountStatsResponseContent": ".get_active_users_count_stats_response_content", @@ -3168,6 +4040,7 @@ "GetBruteForceSettingsResponseContentMode": ".get_brute_force_settings_response_content_mode", "GetBruteForceSettingsResponseContentShieldsItem": ".get_brute_force_settings_response_content_shields_item", "GetClientCredentialResponseContent": ".get_client_credential_response_content", + "GetClientGrantResponseContent": ".get_client_grant_response_content", "GetClientResponseContent": ".get_client_response_content", "GetConnectionEnabledClientsResponseContent": ".get_connection_enabled_clients_response_content", "GetConnectionProfileResponseContent": ".get_connection_profile_response_content", @@ -3188,6 +4061,8 @@ "GetFlowResponseContent": ".get_flow_response_content", "GetFlowsVaultConnectionResponseContent": ".get_flows_vault_connection_response_content", "GetFormResponseContent": ".get_form_response_content", + "GetGroupMembersResponseContent": ".get_group_members_response_content", + "GetGroupResponseContent": ".get_group_response_content", "GetGuardianEnrollmentResponseContent": ".get_guardian_enrollment_response_content", "GetGuardianFactorDuoSettingsResponseContent": ".get_guardian_factor_duo_settings_response_content", "GetGuardianFactorPhoneMessageTypesResponseContent": ".get_guardian_factor_phone_message_types_response_content", @@ -3212,6 +4087,7 @@ "GetNetworkAclsResponseContent": ".get_network_acls_response_content", "GetOrganizationByNameResponseContent": ".get_organization_by_name_response_content", "GetOrganizationConnectionResponseContent": ".get_organization_connection_response_content", + "GetOrganizationDiscoveryDomainByNameResponseContent": ".get_organization_discovery_domain_by_name_response_content", "GetOrganizationDiscoveryDomainResponseContent": ".get_organization_discovery_domain_response_content", "GetOrganizationInvitationResponseContent": ".get_organization_invitation_response_content", "GetOrganizationResponseContent": ".get_organization_response_content", @@ -3239,9 +4115,13 @@ "GetUserAttributeProfileResponseContent": ".get_user_attribute_profile_response_content", "GetUserAttributeProfileTemplateResponseContent": ".get_user_attribute_profile_template_response_content", "GetUserAuthenticationMethodResponseContent": ".get_user_authentication_method_response_content", + "GetUserGroupsPaginatedResponseContent": ".get_user_groups_paginated_response_content", "GetUserResponseContent": ".get_user_response_content", "GetVerifiableCredentialTemplateResponseContent": ".get_verifiable_credential_template_response_content", "Group": ".group", + "GroupMember": ".group_member", + "GroupMemberTypeEnum": ".group_member_type_enum", + "GroupTypeEnum": ".group_type_enum", "GuardianEnrollmentDate": ".guardian_enrollment_date", "GuardianEnrollmentFactorEnum": ".guardian_enrollment_factor_enum", "GuardianEnrollmentStatus": ".guardian_enrollment_status", @@ -3272,6 +4152,7 @@ "ListActionVersionsPaginatedResponseContent": ".list_action_versions_paginated_response_content", "ListActionsPaginatedResponseContent": ".list_actions_paginated_response_content", "ListAculsOffsetPaginatedResponseContent": ".list_aculs_offset_paginated_response_content", + "ListAculsResponseContentItem": ".list_aculs_response_content_item", "ListBrandingPhoneProvidersResponseContent": ".list_branding_phone_providers_response_content", "ListClientConnectionsResponseContent": ".list_client_connections_response_content", "ListClientGrantOrganizationsPaginatedResponseContent": ".list_client_grant_organizations_paginated_response_content", @@ -3282,11 +4163,14 @@ "ListConnectionsCheckpointPaginatedResponseContent": ".list_connections_checkpoint_paginated_response_content", "ListCustomDomainsResponseContent": ".list_custom_domains_response_content", "ListDeviceCredentialsOffsetPaginatedResponseContent": ".list_device_credentials_offset_paginated_response_content", + "ListDirectoryProvisioningsResponseContent": ".list_directory_provisionings_response_content", "ListEncryptionKeyOffsetPaginatedResponseContent": ".list_encryption_key_offset_paginated_response_content", + "ListEventStreamsResponseContent": ".list_event_streams_response_content", "ListFlowExecutionsPaginatedResponseContent": ".list_flow_executions_paginated_response_content", "ListFlowsOffsetPaginatedResponseContent": ".list_flows_offset_paginated_response_content", "ListFlowsVaultConnectionsOffsetPaginatedResponseContent": ".list_flows_vault_connections_offset_paginated_response_content", "ListFormsOffsetPaginatedResponseContent": ".list_forms_offset_paginated_response_content", + "ListGroupsPaginatedResponseContent": ".list_groups_paginated_response_content", "ListGuardianPoliciesResponseContent": ".list_guardian_policies_response_content", "ListHooksOffsetPaginatedResponseContent": ".list_hooks_offset_paginated_response_content", "ListLogOffsetPaginatedResponseContent": ".list_log_offset_paginated_response_content", @@ -3423,8 +4307,6 @@ "PhoneTemplateNotificationTypeEnum": ".phone_template_notification_type_enum", "PostClientCredentialResponseContent": ".post_client_credential_response_content", "PreferredAuthenticationMethodEnum": ".preferred_authentication_method_enum", - "PrivateKeyJwt": ".private_key_jwt", - "PrivateKeyJwtCredentials": ".private_key_jwt_credentials", "PromptGroupNameEnum": ".prompt_group_name_enum", "PromptLanguageEnum": ".prompt_language_enum", "PublicKeyCredential": ".public_key_credential", @@ -3434,6 +4316,7 @@ "RefreshTokenDateObject": ".refresh_token_date_object", "RefreshTokenDevice": ".refresh_token_device", "RefreshTokenExpirationTypeEnum": ".refresh_token_expiration_type_enum", + "RefreshTokenMetadata": ".refresh_token_metadata", "RefreshTokenResourceServer": ".refresh_token_resource_server", "RefreshTokenResponseContent": ".refresh_token_response_content", "RefreshTokenRotationTypeEnum": ".refresh_token_rotation_type_enum", @@ -3461,6 +4344,7 @@ "RevokedSigningKeysResponseContent": ".revoked_signing_keys_response_content", "Role": ".role", "RoleUser": ".role_user", + "RollbackActionModuleResponseContent": ".rollback_action_module_response_content", "RotateClientSecretResponseContent": ".rotate_client_secret_response_content", "RotateConnectionKeysRequestContent": ".rotate_connection_keys_request_content", "RotateConnectionKeysSigningAlgEnum": ".rotate_connection_keys_signing_alg_enum", @@ -3513,11 +4397,8 @@ "SetGuardianFactorSmsTemplatesResponseContent": ".set_guardian_factor_sms_templates_response_content", "SetGuardianFactorsProviderPhoneResponseContent": ".set_guardian_factors_provider_phone_response_content", "SetGuardianFactorsProviderPhoneTwilioResponseContent": ".set_guardian_factors_provider_phone_twilio_response_content", - "SetGuardianFactorsProviderPushNotificationApnsRequestContent": ".set_guardian_factors_provider_push_notification_apns_request_content", "SetGuardianFactorsProviderPushNotificationApnsResponseContent": ".set_guardian_factors_provider_push_notification_apns_response_content", - "SetGuardianFactorsProviderPushNotificationFcmRequestContent": ".set_guardian_factors_provider_push_notification_fcm_request_content", "SetGuardianFactorsProviderPushNotificationFcmResponseContent": ".set_guardian_factors_provider_push_notification_fcm_response_content", - "SetGuardianFactorsProviderPushNotificationFcmv1RequestContent": ".set_guardian_factors_provider_push_notification_fcmv_1_request_content", "SetGuardianFactorsProviderPushNotificationFcmv1ResponseContent": ".set_guardian_factors_provider_push_notification_fcmv_1_response_content", "SetGuardianFactorsProviderPushNotificationResponseContent": ".set_guardian_factors_provider_push_notification_response_content", "SetGuardianFactorsProviderPushNotificationSnsResponseContent": ".set_guardian_factors_provider_push_notification_sns_response_content", @@ -3573,6 +4454,7 @@ "TwilioProviderDeliveryMethodEnum": ".twilio_provider_delivery_method_enum", "UniversalLoginExperienceEnum": ".universal_login_experience_enum", "UpdateActionBindingsResponseContent": ".update_action_bindings_response_content", + "UpdateActionModuleResponseContent": ".update_action_module_response_content", "UpdateActionResponseContent": ".update_action_response_content", "UpdateAculResponseContent": ".update_acul_response_content", "UpdateAttackProtectionCaptchaResponseContent": ".update_attack_protection_captcha_response_content", @@ -3591,6 +4473,66 @@ "UpdateClientResponseContent": ".update_client_response_content", "UpdateConnectionOptions": ".update_connection_options", "UpdateConnectionProfileResponseContent": ".update_connection_profile_response_content", + "UpdateConnectionRequestContentAd": ".update_connection_request_content_ad", + "UpdateConnectionRequestContentAdfs": ".update_connection_request_content_adfs", + "UpdateConnectionRequestContentAmazon": ".update_connection_request_content_amazon", + "UpdateConnectionRequestContentAol": ".update_connection_request_content_aol", + "UpdateConnectionRequestContentApple": ".update_connection_request_content_apple", + "UpdateConnectionRequestContentAuth0": ".update_connection_request_content_auth_0", + "UpdateConnectionRequestContentAuth0Oidc": ".update_connection_request_content_auth_0_oidc", + "UpdateConnectionRequestContentAzureAd": ".update_connection_request_content_azure_ad", + "UpdateConnectionRequestContentBaidu": ".update_connection_request_content_baidu", + "UpdateConnectionRequestContentBitbucket": ".update_connection_request_content_bitbucket", + "UpdateConnectionRequestContentBitly": ".update_connection_request_content_bitly", + "UpdateConnectionRequestContentBox": ".update_connection_request_content_box", + "UpdateConnectionRequestContentCustom": ".update_connection_request_content_custom", + "UpdateConnectionRequestContentDaccount": ".update_connection_request_content_daccount", + "UpdateConnectionRequestContentDropbox": ".update_connection_request_content_dropbox", + "UpdateConnectionRequestContentDwolla": ".update_connection_request_content_dwolla", + "UpdateConnectionRequestContentEmail": ".update_connection_request_content_email", + "UpdateConnectionRequestContentEvernote": ".update_connection_request_content_evernote", + "UpdateConnectionRequestContentEvernoteSandbox": ".update_connection_request_content_evernote_sandbox", + "UpdateConnectionRequestContentExact": ".update_connection_request_content_exact", + "UpdateConnectionRequestContentFacebook": ".update_connection_request_content_facebook", + "UpdateConnectionRequestContentFitbit": ".update_connection_request_content_fitbit", + "UpdateConnectionRequestContentFlickr": ".update_connection_request_content_flickr", + "UpdateConnectionRequestContentGitHub": ".update_connection_request_content_git_hub", + "UpdateConnectionRequestContentGoogleApps": ".update_connection_request_content_google_apps", + "UpdateConnectionRequestContentGoogleOAuth2": ".update_connection_request_content_google_o_auth_2", + "UpdateConnectionRequestContentInstagram": ".update_connection_request_content_instagram", + "UpdateConnectionRequestContentIp": ".update_connection_request_content_ip", + "UpdateConnectionRequestContentLine": ".update_connection_request_content_line", + "UpdateConnectionRequestContentLinkedin": ".update_connection_request_content_linkedin", + "UpdateConnectionRequestContentMiicard": ".update_connection_request_content_miicard", + "UpdateConnectionRequestContentOAuth1": ".update_connection_request_content_o_auth_1", + "UpdateConnectionRequestContentOAuth2": ".update_connection_request_content_o_auth_2", + "UpdateConnectionRequestContentOffice365": ".update_connection_request_content_office_365", + "UpdateConnectionRequestContentOidc": ".update_connection_request_content_oidc", + "UpdateConnectionRequestContentOkta": ".update_connection_request_content_okta", + "UpdateConnectionRequestContentPaypal": ".update_connection_request_content_paypal", + "UpdateConnectionRequestContentPaypalSandbox": ".update_connection_request_content_paypal_sandbox", + "UpdateConnectionRequestContentPingFederate": ".update_connection_request_content_ping_federate", + "UpdateConnectionRequestContentPlanningCenter": ".update_connection_request_content_planning_center", + "UpdateConnectionRequestContentRenren": ".update_connection_request_content_renren", + "UpdateConnectionRequestContentSalesforce": ".update_connection_request_content_salesforce", + "UpdateConnectionRequestContentSalesforceCommunity": ".update_connection_request_content_salesforce_community", + "UpdateConnectionRequestContentSalesforceSandbox": ".update_connection_request_content_salesforce_sandbox", + "UpdateConnectionRequestContentSaml": ".update_connection_request_content_saml", + "UpdateConnectionRequestContentSharepoint": ".update_connection_request_content_sharepoint", + "UpdateConnectionRequestContentShop": ".update_connection_request_content_shop", + "UpdateConnectionRequestContentShopify": ".update_connection_request_content_shopify", + "UpdateConnectionRequestContentSms": ".update_connection_request_content_sms", + "UpdateConnectionRequestContentSoundcloud": ".update_connection_request_content_soundcloud", + "UpdateConnectionRequestContentThirtySevenSignals": ".update_connection_request_content_thirty_seven_signals", + "UpdateConnectionRequestContentTwitter": ".update_connection_request_content_twitter", + "UpdateConnectionRequestContentUntappd": ".update_connection_request_content_untappd", + "UpdateConnectionRequestContentVkontakte": ".update_connection_request_content_vkontakte", + "UpdateConnectionRequestContentWeibo": ".update_connection_request_content_weibo", + "UpdateConnectionRequestContentWindowsLive": ".update_connection_request_content_windows_live", + "UpdateConnectionRequestContentWordpress": ".update_connection_request_content_wordpress", + "UpdateConnectionRequestContentYahoo": ".update_connection_request_content_yahoo", + "UpdateConnectionRequestContentYammer": ".update_connection_request_content_yammer", + "UpdateConnectionRequestContentYandex": ".update_connection_request_content_yandex", "UpdateConnectionResponseContent": ".update_connection_response_content", "UpdateCustomDomainResponseContent": ".update_custom_domain_response_content", "UpdateDirectoryProvisioningRequestContent": ".update_directory_provisioning_request_content", @@ -3605,6 +4547,9 @@ "UpdateFlowsVaultConnectionSetup": ".update_flows_vault_connection_setup", "UpdateFormResponseContent": ".update_form_response_content", "UpdateGuardianFactorDuoSettingsResponseContent": ".update_guardian_factor_duo_settings_response_content", + "UpdateGuardianFactorsProviderPushNotificationApnsResponseContent": ".update_guardian_factors_provider_push_notification_apns_response_content", + "UpdateGuardianFactorsProviderPushNotificationFcmResponseContent": ".update_guardian_factors_provider_push_notification_fcm_response_content", + "UpdateGuardianFactorsProviderPushNotificationFcmv1ResponseContent": ".update_guardian_factors_provider_push_notification_fcmv_1_response_content", "UpdateGuardianFactorsProviderPushNotificationSnsResponseContent": ".update_guardian_factors_provider_push_notification_sns_response_content", "UpdateHookResponseContent": ".update_hook_response_content", "UpdateHookSecretRequestContent": ".update_hook_secret_request_content", @@ -3614,6 +4559,7 @@ "UpdateOrganizationDiscoveryDomainResponseContent": ".update_organization_discovery_domain_response_content", "UpdateOrganizationResponseContent": ".update_organization_response_content", "UpdatePhoneTemplateResponseContent": ".update_phone_template_response_content", + "UpdateRefreshTokenResponseContent": ".update_refresh_token_response_content", "UpdateResourceServerResponseContent": ".update_resource_server_response_content", "UpdateRiskAssessmentsSettingsNewDeviceResponseContent": ".update_risk_assessments_settings_new_device_response_content", "UpdateRiskAssessmentsSettingsResponseContent": ".update_risk_assessments_settings_response_content", @@ -3679,6 +4625,8 @@ "VerificationMethodEnum": ".verification_method_enum", "VerifyCustomDomainResponseContent": ".verify_custom_domain_response_content", "VerifyEmailTicketResponseContent": ".verify_email_ticket_response_content", + "X509CertificateCredential": ".x_509_certificate_credential", + "X509CertificateCredentialTypeEnum": ".x_509_certificate_credential_type_enum", } @@ -3716,6 +4664,15 @@ def __dir__(): "ActionError", "ActionExecutionResult", "ActionExecutionStatusEnum", + "ActionModuleAction", + "ActionModuleDependency", + "ActionModuleDependencyRequest", + "ActionModuleListItem", + "ActionModuleReference", + "ActionModuleSecret", + "ActionModuleSecretRequest", + "ActionModuleVersion", + "ActionModuleVersionReference", "ActionSecretRequest", "ActionSecretResponse", "ActionTrigger", @@ -3733,7 +4690,6 @@ def __dir__(): "AculContextConfiguration", "AculContextConfigurationItem", "AculContextEnum", - "AculDefaultHeadTagsDisabled", "AculDomainFilter", "AculDomainFilterById", "AculDomainFilterByMetadata", @@ -3742,15 +4698,12 @@ def __dir__(): "AculHeadTag", "AculHeadTagAttributes", "AculHeadTagContent", - "AculHeadTags", "AculMatchTypeEnum", "AculOrganizationFilter", "AculOrganizationFilterById", "AculOrganizationFilterByMetadata", "AculOrganizationMetadata", "AculRenderingModeEnum", - "AculResponseContent", - "AculUsePageTemplate", "AddOrganizationConnectionResponseContent", "AnomalyIpFormat", "AppMetadata", @@ -3815,6 +4768,8 @@ def __dir__(): "BreachedPasswordDetectionShieldsEnum", "BreachedPasswordDetectionStage", "BulkUpdateAculResponseContent", + "CertificateSubjectDnCredential", + "CertificateSubjectDnCredentialTypeEnum", "ChangePasswordTicketIdentity", "ChangePasswordTicketResponseContent", "Client", @@ -3855,10 +4810,18 @@ def __dir__(): "ClientAsyncApprovalNotificationsChannelsApiPatchConfiguration", "ClientAsyncApprovalNotificationsChannelsApiPostConfiguration", "ClientAuthenticationMethod", + "ClientAuthenticationMethodPrivateKeyJwt", + "ClientAuthenticationMethodPrivateKeyJwtCredentials", "ClientAuthenticationMethodSelfSignedTlsClientAuth", + "ClientAuthenticationMethodSelfSignedTlsClientAuthCredentials", "ClientAuthenticationMethodTlsClientAuth", + "ClientAuthenticationMethodTlsClientAuthCredentials", "ClientComplianceLevelEnum", "ClientCreateAuthenticationMethod", + "ClientCreateAuthenticationMethodPrivateKeyJwt", + "ClientCreateAuthenticationMethodPrivateKeyJwtCredentials", + "ClientCreateAuthenticationMethodTlsClientAuth", + "ClientCreateAuthenticationMethodTlsClientAuthCredentials", "ClientCredential", "ClientCredentialAlgorithmEnum", "ClientCredentialTypeEnum", @@ -3887,6 +4850,7 @@ def __dir__(): "ClientOrganizationUsageEnum", "ClientOrganizationUsagePatchEnum", "ClientRefreshTokenConfiguration", + "ClientRefreshTokenPolicy", "ClientSessionTransferAllowedAuthenticationMethodsEnum", "ClientSessionTransferConfiguration", "ClientSessionTransferDeviceBindingEnum", @@ -3902,7 +4866,15 @@ def __dir__(): "ConnectedAccount", "ConnectedAccountAccessTypeEnum", "ConnectionAcrValuesSupported", + "ConnectionAdminAccessTokenExpiresInGoogleApps", + "ConnectionAdminAccessTokenGoogleApps", + "ConnectionAdminRefreshTokenGoogleApps", + "ConnectionAgentIpad", + "ConnectionAgentModeAd", + "ConnectionAgentVersionAd", "ConnectionAllowedAudiencesGoogleOAuth2", + "ConnectionApiEnableUsers", + "ConnectionApiEnableUsersGoogleApps", "ConnectionAppDomainAzureAd", "ConnectionAttributeIdentifier", "ConnectionAttributeMapAttributes", @@ -3911,6 +4883,7 @@ def __dir__(): "ConnectionAttributeMapUserinfoScope", "ConnectionAttributes", "ConnectionAuthParamsAdditionalPropertiesOAuth2", + "ConnectionAuthParamsEmail", "ConnectionAuthParamsMap", "ConnectionAuthParamsOAuth2", "ConnectionAuthenticationMethods", @@ -3918,17 +4891,24 @@ def __dir__(): "ConnectionAuthorizationEndpoint", "ConnectionAuthorizationEndpointOAuth2", "ConnectionBruteForceProtection", + "ConnectionCalculatedThumbprintSaml", + "ConnectionCertsAd", "ConnectionClaimTypesSupported", "ConnectionClaimsLocalesSupported", "ConnectionClaimsParameterSupported", "ConnectionClaimsSupported", "ConnectionClientId", "ConnectionClientIdAzureAd", + "ConnectionClientIdFacebook", + "ConnectionClientIdGoogleApps", "ConnectionClientIdGoogleOAuth2", "ConnectionClientIdOAuth2", "ConnectionClientIdOidc", + "ConnectionClientProtocolSaml", "ConnectionClientSecret", "ConnectionClientSecretAzureAd", + "ConnectionClientSecretFacebook", + "ConnectionClientSecretGoogleApps", "ConnectionClientSecretGoogleOAuth2", "ConnectionClientSecretOAuth2", "ConnectionClientSecretOidc", @@ -3939,37 +4919,77 @@ def __dir__(): "ConnectionConnectionSettingsPkceEnum", "ConnectionCustomHeadersOAuth2", "ConnectionCustomScripts", + "ConnectionDebugSaml", + "ConnectionDecryptionKeySaml", + "ConnectionDecryptionKeySamlCert", + "ConnectionDestinationUrlSaml", + "ConnectionDigestAlgorithmEnumSaml", + "ConnectionDigestAlgorithmSaml", "ConnectionDisableSelfServiceChangePassword", "ConnectionDisableSignup", + "ConnectionDisableSignupSms", "ConnectionDiscoveryUrl", "ConnectionDisplayName", "ConnectionDisplayValuesSupported", + "ConnectionDomainAliases", + "ConnectionDomainAliasesAd", "ConnectionDomainAliasesAzureAd", - "ConnectionDomainAliasesOne", + "ConnectionDomainAliasesItemsOne", + "ConnectionDomainAliasesSaml", + "ConnectionDomainGoogleApps", "ConnectionDomainOkta", + "ConnectionEmailBodyEmail", + "ConnectionEmailEmail", + "ConnectionEmailEmailSyntax", + "ConnectionEmailFromEmail", + "ConnectionEmailOtpAuthenticationMethod", + "ConnectionEmailSubjectEmail", "ConnectionEnableScriptContext", "ConnectionEnabledClient", "ConnectionEnabledClients", "ConnectionEnabledDatabaseCustomization", "ConnectionEndSessionEndpoint", "ConnectionEndSessionEndpointOAuth2", + "ConnectionEntityIdSaml", "ConnectionExtAdmin", "ConnectionExtAgreedTerms", + "ConnectionExtAgreedTermsGoogleApps", "ConnectionExtAssignedPlans", "ConnectionExtGroups", + "ConnectionExtGroupsAzureAd", + "ConnectionExtGroupsGoogleApps", + "ConnectionExtIsAdminGoogleApps", "ConnectionExtIsSuspended", + "ConnectionExtIsSuspendedGoogleApps", "ConnectionExtProfile", "ConnectionFederatedConnectionsAccessTokens", "ConnectionFieldsMap", + "ConnectionFieldsMapSaml", + "ConnectionFieldsMapSamlValue", "ConnectionForList", "ConnectionForOrganization", + "ConnectionForwardReqInfoSms", "ConnectionFreeformScopesGoogleOAuth2", + "ConnectionFromSms", "ConnectionGatewayAuthentication", + "ConnectionGatewayAuthenticationAudienceSms", + "ConnectionGatewayAuthenticationMethodSms", + "ConnectionGatewayAuthenticationSms", + "ConnectionGatewayAuthenticationSubjectSms", + "ConnectionGatewayUrlSms", + "ConnectionGlobalTokenRevocationJwtIssSaml", + "ConnectionGlobalTokenRevocationJwtSubSaml", "ConnectionGrantTypesSupported", + "ConnectionHandleLoginFromSocialGoogleApps", "ConnectionHttpsUrlWithHttpFallback", + "ConnectionHttpsUrlWithHttpFallback2048", + "ConnectionHttpsUrlWithHttpFallback255", "ConnectionIconUrl", + "ConnectionIconUrlAdfs", "ConnectionIconUrlAzureAd", + "ConnectionIconUrlGoogleApps", "ConnectionIconUrlGoogleOAuth2", + "ConnectionIconUrlSaml", "ConnectionId", "ConnectionIdTokenEncryptionAlgValuesSupported", "ConnectionIdTokenEncryptionEncValuesSupported", @@ -3982,6 +5002,7 @@ def __dir__(): "ConnectionIdentityApiEnumAzureAd", "ConnectionIdentityProviderEnum", "ConnectionImportMode", + "ConnectionIpsAd", "ConnectionIsDomainConnection", "ConnectionIssuer", "ConnectionJwksUri", @@ -3990,6 +5011,11 @@ def __dir__(): "ConnectionMappingModeEnumOidc", "ConnectionMappingModeEnumOkta", "ConnectionMaxGroupsToRetrieve", + "ConnectionMessagingServiceSidSms", + "ConnectionMetadataUrlSaml", + "ConnectionMetadataXml", + "ConnectionMetadataXmlAdfs", + "ConnectionMetadataXmlSaml", "ConnectionMfa", "ConnectionName", "ConnectionNamePrefixTemplate", @@ -4011,14 +5037,14 @@ def __dir__(): "ConnectionOptionsBox", "ConnectionOptionsCommon", "ConnectionOptionsCommonOidc", + "ConnectionOptionsCommonSaml", "ConnectionOptionsCustom", "ConnectionOptionsDaccount", + "ConnectionOptionsDeflateSaml", "ConnectionOptionsDropbox", "ConnectionOptionsDwolla", "ConnectionOptionsEmail", "ConnectionOptionsEvernote", - "ConnectionOptionsEvernoteCommon", - "ConnectionOptionsEvernoteSandbox", "ConnectionOptionsExact", "ConnectionOptionsFacebook", "ConnectionOptionsFitbit", @@ -4026,6 +5052,8 @@ def __dir__(): "ConnectionOptionsGitHub", "ConnectionOptionsGoogleApps", "ConnectionOptionsGoogleOAuth2", + "ConnectionOptionsIdpInitiatedClientProtocolEnumSaml", + "ConnectionOptionsIdpinitiatedSaml", "ConnectionOptionsInstagram", "ConnectionOptionsIp", "ConnectionOptionsLine", @@ -4039,22 +5067,16 @@ def __dir__(): "ConnectionOptionsOidcMetadata", "ConnectionOptionsOkta", "ConnectionOptionsPaypal", - "ConnectionOptionsPaypalSandbox", "ConnectionOptionsPingFederate", "ConnectionOptionsPlanningCenter", "ConnectionOptionsRenren", "ConnectionOptionsSalesforce", - "ConnectionOptionsSalesforceCommon", - "ConnectionOptionsSalesforceCommunity", - "ConnectionOptionsSalesforceSandbox", "ConnectionOptionsSaml", "ConnectionOptionsSharepoint", "ConnectionOptionsShop", "ConnectionOptionsShopify", "ConnectionOptionsSms", "ConnectionOptionsSoundcloud", - "ConnectionOptionsTheCity", - "ConnectionOptionsTheCitySandbox", "ConnectionOptionsThirtySevenSignals", "ConnectionOptionsTwitter", "ConnectionOptionsUntappd", @@ -4074,6 +5096,9 @@ def __dir__(): "ConnectionPasswordHistoryOptions", "ConnectionPasswordNoPersonalInfoOptions", "ConnectionPasswordPolicyEnum", + "ConnectionPhoneOtpAuthenticationMethod", + "ConnectionPingFederateBaseUrl", + "ConnectionPingFederateBaseUrlPingFederate", "ConnectionProfile", "ConnectionProfileConfig", "ConnectionProfileEnabledFeatures", @@ -4089,87 +5114,154 @@ def __dir__(): "ConnectionProfileTemplate", "ConnectionProfileTemplateItem", "ConnectionPropertiesOptions", - "ConnectionProvisioningTicket", + "ConnectionProtocolBindingEnumSaml", + "ConnectionProtocolBindingSaml", + "ConnectionProviderEnumSms", + "ConnectionProviderSms", "ConnectionProvisioningTicketUrl", "ConnectionRealmFallback", "ConnectionRealms", + "ConnectionRecipientUrlSaml", "ConnectionRegistrationEndpoint", "ConnectionRequestObjectEncryptionAlgValuesSupported", "ConnectionRequestObjectEncryptionEncValuesSupported", "ConnectionRequestObjectSigningAlgValuesSupported", "ConnectionRequestParameterSupported", + "ConnectionRequestTemplateSaml", "ConnectionRequestUriParameterSupported", "ConnectionRequireRequestUriRegistration", "ConnectionRequiresUsername", "ConnectionResponseCommon", "ConnectionResponseContentAd", + "ConnectionResponseContentAdStrategy", "ConnectionResponseContentAdfs", + "ConnectionResponseContentAdfsStrategy", "ConnectionResponseContentAmazon", + "ConnectionResponseContentAmazonStrategy", "ConnectionResponseContentAol", + "ConnectionResponseContentAolStrategy", "ConnectionResponseContentApple", + "ConnectionResponseContentAppleStrategy", "ConnectionResponseContentAuth0", "ConnectionResponseContentAuth0Oidc", + "ConnectionResponseContentAuth0OidcStrategy", + "ConnectionResponseContentAuth0Strategy", "ConnectionResponseContentAzureAd", + "ConnectionResponseContentAzureAdStrategy", "ConnectionResponseContentBaidu", + "ConnectionResponseContentBaiduStrategy", "ConnectionResponseContentBitbucket", + "ConnectionResponseContentBitbucketStrategy", "ConnectionResponseContentBitly", + "ConnectionResponseContentBitlyStrategy", "ConnectionResponseContentBox", + "ConnectionResponseContentBoxStrategy", "ConnectionResponseContentCustom", + "ConnectionResponseContentCustomStrategy", "ConnectionResponseContentDaccount", + "ConnectionResponseContentDaccountStrategy", "ConnectionResponseContentDropbox", + "ConnectionResponseContentDropboxStrategy", "ConnectionResponseContentDwolla", + "ConnectionResponseContentDwollaStrategy", "ConnectionResponseContentEmail", + "ConnectionResponseContentEmailStrategy", "ConnectionResponseContentEvernote", "ConnectionResponseContentEvernoteSandbox", + "ConnectionResponseContentEvernoteSandboxStrategy", + "ConnectionResponseContentEvernoteStrategy", "ConnectionResponseContentExact", + "ConnectionResponseContentExactStrategy", "ConnectionResponseContentFacebook", + "ConnectionResponseContentFacebookStrategy", "ConnectionResponseContentFitbit", + "ConnectionResponseContentFitbitStrategy", "ConnectionResponseContentFlickr", + "ConnectionResponseContentFlickrStrategy", "ConnectionResponseContentGitHub", + "ConnectionResponseContentGitHubStrategy", "ConnectionResponseContentGoogleApps", + "ConnectionResponseContentGoogleAppsStrategy", "ConnectionResponseContentGoogleOAuth2", + "ConnectionResponseContentGoogleOAuth2Strategy", "ConnectionResponseContentInstagram", + "ConnectionResponseContentInstagramStrategy", "ConnectionResponseContentIp", + "ConnectionResponseContentIpStrategy", "ConnectionResponseContentLine", + "ConnectionResponseContentLineStrategy", "ConnectionResponseContentLinkedin", + "ConnectionResponseContentLinkedinStrategy", "ConnectionResponseContentMiicard", + "ConnectionResponseContentMiicardStrategy", "ConnectionResponseContentOAuth1", + "ConnectionResponseContentOAuth1Strategy", "ConnectionResponseContentOAuth2", + "ConnectionResponseContentOAuth2Strategy", "ConnectionResponseContentOffice365", + "ConnectionResponseContentOffice365Strategy", "ConnectionResponseContentOidc", + "ConnectionResponseContentOidcStrategy", "ConnectionResponseContentOkta", + "ConnectionResponseContentOktaStrategy", "ConnectionResponseContentPaypal", "ConnectionResponseContentPaypalSandbox", + "ConnectionResponseContentPaypalSandboxStrategy", + "ConnectionResponseContentPaypalStrategy", "ConnectionResponseContentPingFederate", + "ConnectionResponseContentPingFederateStrategy", "ConnectionResponseContentPlanningCenter", + "ConnectionResponseContentPlanningCenterStrategy", "ConnectionResponseContentRenren", + "ConnectionResponseContentRenrenStrategy", "ConnectionResponseContentSalesforce", "ConnectionResponseContentSalesforceCommunity", + "ConnectionResponseContentSalesforceCommunityStrategy", "ConnectionResponseContentSalesforceSandbox", + "ConnectionResponseContentSalesforceSandboxStrategy", + "ConnectionResponseContentSalesforceStrategy", "ConnectionResponseContentSaml", + "ConnectionResponseContentSamlStrategy", "ConnectionResponseContentSharepoint", + "ConnectionResponseContentSharepointStrategy", "ConnectionResponseContentShop", + "ConnectionResponseContentShopStrategy", "ConnectionResponseContentShopify", + "ConnectionResponseContentShopifyStrategy", "ConnectionResponseContentSms", + "ConnectionResponseContentSmsStrategy", "ConnectionResponseContentSoundcloud", - "ConnectionResponseContentTheCity", - "ConnectionResponseContentTheCitySandbox", + "ConnectionResponseContentSoundcloudStrategy", "ConnectionResponseContentThirtySevenSignals", + "ConnectionResponseContentThirtySevenSignalsStrategy", "ConnectionResponseContentTwitter", + "ConnectionResponseContentTwitterStrategy", "ConnectionResponseContentUntappd", + "ConnectionResponseContentUntappdStrategy", "ConnectionResponseContentVkontakte", + "ConnectionResponseContentVkontakteStrategy", "ConnectionResponseContentWeibo", + "ConnectionResponseContentWeiboStrategy", "ConnectionResponseContentWindowsLive", + "ConnectionResponseContentWindowsLiveStrategy", "ConnectionResponseContentWordpress", + "ConnectionResponseContentWordpressStrategy", "ConnectionResponseContentYahoo", + "ConnectionResponseContentYahooStrategy", "ConnectionResponseContentYammer", + "ConnectionResponseContentYammerStrategy", "ConnectionResponseContentYandex", + "ConnectionResponseContentYandexStrategy", "ConnectionResponseModesSupported", "ConnectionResponseTypesSupported", "ConnectionScopeArray", + "ConnectionScopeArrayFacebook", "ConnectionScopeAzureAd", + "ConnectionScopeFacebook", + "ConnectionScopeGoogleApps", "ConnectionScopeGoogleOAuth2", "ConnectionScopeItem", + "ConnectionScopeItemGoogleApps", "ConnectionScopeOAuth2", "ConnectionScopeOidc", "ConnectionScopesSupported", @@ -4177,15 +5269,36 @@ def __dir__(): "ConnectionSendBackChannelNonce", "ConnectionServiceDocumentation", "ConnectionSetUserRootAttributesEnum", + "ConnectionSha1Thumbprint", "ConnectionShouldTrustEmailVerifiedConnectionEnum", "ConnectionShowAsButton", + "ConnectionSignInEndpointAd", + "ConnectionSignInEndpointAdfs", + "ConnectionSignInEndpointSaml", + "ConnectionSignOutEndpointSaml", + "ConnectionSignSamlRequestSaml", + "ConnectionSignatureAlgorithmEnumSaml", + "ConnectionSignatureAlgorithmSaml", + "ConnectionSigningCertSaml", + "ConnectionSigningCertificateDerSaml", + "ConnectionSigningCertificatePemPingFederate", + "ConnectionSigningCertificatePemSaml", + "ConnectionSigningKeySaml", "ConnectionStrategyEnum", - "ConnectionStrategyVersionEnumAzureAd", + "ConnectionStrategyVersionEnumLinkedin", + "ConnectionStrategyVersionEnumWindowsLive", "ConnectionSubjectTypesSupported", + "ConnectionTemplateSms", + "ConnectionTemplateSyntaxEnumSms", "ConnectionTenantDomain", + "ConnectionTenantDomainAd", "ConnectionTenantDomainAzureAdOne", + "ConnectionTenantDomainGoogleApps", + "ConnectionTenantDomainSaml", "ConnectionTenantIdAzureAd", "ConnectionThumbprints", + "ConnectionThumbprintsAd", + "ConnectionThumbprintsSaml", "ConnectionTokenEndpoint", "ConnectionTokenEndpointAuthMethodEnum", "ConnectionTokenEndpointAuthMethodsSupported", @@ -4193,6 +5306,16 @@ def __dir__(): "ConnectionTokenEndpointAuthSigningAlgValuesSupported", "ConnectionTokenEndpointOAuth2", "ConnectionTokenEndpointOidc", + "ConnectionTotpEmail", + "ConnectionTotpLengthEmail", + "ConnectionTotpLengthPasswordless", + "ConnectionTotpLengthSms", + "ConnectionTotpSms", + "ConnectionTotpTimeStepEmail", + "ConnectionTotpTimeStepPasswordless", + "ConnectionTotpTimeStepSms", + "ConnectionTwilioSidSms", + "ConnectionTwilioTokenSms", "ConnectionTypeEnumOidc", "ConnectionTypeEnumOkta", "ConnectionUiLocalesSupported", @@ -4200,10 +5323,11 @@ def __dir__(): "ConnectionUpstreamAlias", "ConnectionUpstreamAliasEnum", "ConnectionUpstreamParams", - "ConnectionUpstreamParamsAzureAd", - "ConnectionUpstreamParamsOidc", + "ConnectionUpstreamParamsAdfs", + "ConnectionUpstreamParamsFacebook", "ConnectionUpstreamValue", "ConnectionUseCommonEndpointAzureAd", + "ConnectionUserIdAttributeSaml", "ConnectionUseridAttributeAzureAd", "ConnectionUseridAttributeEnumAzureAd", "ConnectionUserinfoEncryptionAlgValuesSupported", @@ -4216,75 +5340,137 @@ def __dir__(): "ConnectionWaadProtocol", "ConnectionWaadProtocolEnumAzureAd", "ConnectionsMetadata", + "CreateActionModuleResponseContent", + "CreateActionModuleVersionResponseContent", "CreateActionResponseContent", "CreateBrandingPhoneProviderResponseContent", "CreateBrandingThemeResponseContent", + "CreateClientAuthenticationMethodSelfSignedTlsClientAuth", + "CreateClientAuthenticationMethodSelfSignedTlsClientAuthCredentials", "CreateClientGrantResponseContent", "CreateClientResponseContent", "CreateConnectionCommon", "CreateConnectionProfileResponseContent", "CreateConnectionRequestContentAd", + "CreateConnectionRequestContentAdStrategy", "CreateConnectionRequestContentAdfs", + "CreateConnectionRequestContentAdfsStrategy", "CreateConnectionRequestContentAmazon", + "CreateConnectionRequestContentAmazonStrategy", "CreateConnectionRequestContentAol", + "CreateConnectionRequestContentAolStrategy", "CreateConnectionRequestContentApple", + "CreateConnectionRequestContentAppleStrategy", "CreateConnectionRequestContentAuth0", "CreateConnectionRequestContentAuth0Oidc", + "CreateConnectionRequestContentAuth0OidcStrategy", + "CreateConnectionRequestContentAuth0Strategy", "CreateConnectionRequestContentAzureAd", + "CreateConnectionRequestContentAzureAdStrategy", "CreateConnectionRequestContentBaidu", + "CreateConnectionRequestContentBaiduStrategy", "CreateConnectionRequestContentBitbucket", + "CreateConnectionRequestContentBitbucketStrategy", "CreateConnectionRequestContentBitly", + "CreateConnectionRequestContentBitlyStrategy", "CreateConnectionRequestContentBox", + "CreateConnectionRequestContentBoxStrategy", "CreateConnectionRequestContentCustom", + "CreateConnectionRequestContentCustomStrategy", "CreateConnectionRequestContentDaccount", + "CreateConnectionRequestContentDaccountStrategy", "CreateConnectionRequestContentDropbox", + "CreateConnectionRequestContentDropboxStrategy", "CreateConnectionRequestContentDwolla", + "CreateConnectionRequestContentDwollaStrategy", "CreateConnectionRequestContentEmail", + "CreateConnectionRequestContentEmailStrategy", "CreateConnectionRequestContentEvernote", "CreateConnectionRequestContentEvernoteSandbox", + "CreateConnectionRequestContentEvernoteSandboxStrategy", + "CreateConnectionRequestContentEvernoteStrategy", "CreateConnectionRequestContentExact", + "CreateConnectionRequestContentExactStrategy", "CreateConnectionRequestContentFacebook", + "CreateConnectionRequestContentFacebookStrategy", "CreateConnectionRequestContentFitbit", + "CreateConnectionRequestContentFitbitStrategy", "CreateConnectionRequestContentFlickr", + "CreateConnectionRequestContentFlickrStrategy", "CreateConnectionRequestContentGitHub", + "CreateConnectionRequestContentGitHubStrategy", "CreateConnectionRequestContentGoogleApps", + "CreateConnectionRequestContentGoogleAppsStrategy", "CreateConnectionRequestContentGoogleOAuth2", + "CreateConnectionRequestContentGoogleOAuth2Strategy", "CreateConnectionRequestContentInstagram", + "CreateConnectionRequestContentInstagramStrategy", "CreateConnectionRequestContentIp", + "CreateConnectionRequestContentIpStrategy", "CreateConnectionRequestContentLine", + "CreateConnectionRequestContentLineStrategy", "CreateConnectionRequestContentLinkedin", + "CreateConnectionRequestContentLinkedinStrategy", "CreateConnectionRequestContentMiicard", + "CreateConnectionRequestContentMiicardStrategy", "CreateConnectionRequestContentOAuth1", + "CreateConnectionRequestContentOAuth1Strategy", "CreateConnectionRequestContentOAuth2", + "CreateConnectionRequestContentOAuth2Strategy", "CreateConnectionRequestContentOffice365", + "CreateConnectionRequestContentOffice365Strategy", "CreateConnectionRequestContentOidc", + "CreateConnectionRequestContentOidcStrategy", "CreateConnectionRequestContentOkta", + "CreateConnectionRequestContentOktaStrategy", "CreateConnectionRequestContentPaypal", "CreateConnectionRequestContentPaypalSandbox", + "CreateConnectionRequestContentPaypalSandboxStrategy", + "CreateConnectionRequestContentPaypalStrategy", "CreateConnectionRequestContentPingFederate", + "CreateConnectionRequestContentPingFederateStrategy", "CreateConnectionRequestContentPlanningCenter", + "CreateConnectionRequestContentPlanningCenterStrategy", "CreateConnectionRequestContentRenren", + "CreateConnectionRequestContentRenrenStrategy", "CreateConnectionRequestContentSalesforce", "CreateConnectionRequestContentSalesforceCommunity", + "CreateConnectionRequestContentSalesforceCommunityStrategy", "CreateConnectionRequestContentSalesforceSandbox", + "CreateConnectionRequestContentSalesforceSandboxStrategy", + "CreateConnectionRequestContentSalesforceStrategy", "CreateConnectionRequestContentSaml", + "CreateConnectionRequestContentSamlStrategy", "CreateConnectionRequestContentSharepoint", + "CreateConnectionRequestContentSharepointStrategy", "CreateConnectionRequestContentShop", + "CreateConnectionRequestContentShopStrategy", "CreateConnectionRequestContentShopify", + "CreateConnectionRequestContentShopifyStrategy", "CreateConnectionRequestContentSms", + "CreateConnectionRequestContentSmsStrategy", "CreateConnectionRequestContentSoundcloud", - "CreateConnectionRequestContentTheCity", - "CreateConnectionRequestContentTheCitySandbox", + "CreateConnectionRequestContentSoundcloudStrategy", "CreateConnectionRequestContentThirtySevenSignals", + "CreateConnectionRequestContentThirtySevenSignalsStrategy", "CreateConnectionRequestContentTwitter", + "CreateConnectionRequestContentTwitterStrategy", "CreateConnectionRequestContentUntappd", + "CreateConnectionRequestContentUntappdStrategy", "CreateConnectionRequestContentVkontakte", + "CreateConnectionRequestContentVkontakteStrategy", "CreateConnectionRequestContentWeibo", + "CreateConnectionRequestContentWeiboStrategy", "CreateConnectionRequestContentWindowsLive", + "CreateConnectionRequestContentWindowsLiveStrategy", "CreateConnectionRequestContentWordpress", + "CreateConnectionRequestContentWordpressStrategy", "CreateConnectionRequestContentYahoo", + "CreateConnectionRequestContentYahooStrategy", "CreateConnectionRequestContentYammer", + "CreateConnectionRequestContentYammerStrategy", "CreateConnectionRequestContentYandex", + "CreateConnectionRequestContentYandexStrategy", "CreateConnectionResponseContent", "CreateCustomDomainResponseContent", "CreateDirectoryProvisioningRequestContent", @@ -4326,6 +5512,7 @@ def __dir__(): "CreateFlowsVaultConnectionGoogleSheetsOauthCode", "CreateFlowsVaultConnectionGoogleSheetsUninitialized", "CreateFlowsVaultConnectionHttp", + "CreateFlowsVaultConnectionHttpBasicAuth", "CreateFlowsVaultConnectionHttpBearer", "CreateFlowsVaultConnectionHttpUninitialized", "CreateFlowsVaultConnectionHubspot", @@ -4432,6 +5619,7 @@ def __dir__(): "CustomSigningKeyTypeEnum", "CustomSigningKeyUseEnum", "DailyStats", + "DefaultMethodEmailIdentifierEnum", "DefaultTokenQuota", "DeleteHookSecretRequestContent", "DeleteUserIdentityResponseContent", @@ -4443,6 +5631,7 @@ def __dir__(): "DeviceCredential", "DeviceCredentialPublicKeyTypeEnum", "DeviceCredentialTypeEnum", + "DirectoryProvisioning", "DirectoryProvisioningMappingItem", "DomainCertificate", "DomainCertificateAuthorityEnum", @@ -4510,31 +5699,53 @@ def __dir__(): "FlowAction", "FlowActionActivecampaign", "FlowActionActivecampaignListContacts", + "FlowActionActivecampaignListContactsAction", "FlowActionActivecampaignListContactsParams", + "FlowActionActivecampaignListContactsType", "FlowActionActivecampaignUpsertContact", + "FlowActionActivecampaignUpsertContactAction", "FlowActionActivecampaignUpsertContactParams", "FlowActionActivecampaignUpsertContactParamsCustomFields", + "FlowActionActivecampaignUpsertContactType", "FlowActionAirtable", "FlowActionAirtableCreateRecord", + "FlowActionAirtableCreateRecordAction", "FlowActionAirtableCreateRecordParams", "FlowActionAirtableCreateRecordParamsFields", + "FlowActionAirtableCreateRecordType", "FlowActionAirtableListRecords", + "FlowActionAirtableListRecordsAction", "FlowActionAirtableListRecordsParams", + "FlowActionAirtableListRecordsType", "FlowActionAirtableUpdateRecord", + "FlowActionAirtableUpdateRecordAction", "FlowActionAirtableUpdateRecordParams", "FlowActionAirtableUpdateRecordParamsFields", + "FlowActionAirtableUpdateRecordType", "FlowActionAuth0", "FlowActionAuth0CreateUser", + "FlowActionAuth0CreateUserAction", "FlowActionAuth0CreateUserParams", "FlowActionAuth0CreateUserParamsPayload", + "FlowActionAuth0CreateUserType", "FlowActionAuth0GetUser", + "FlowActionAuth0GetUserAction", "FlowActionAuth0GetUserParams", + "FlowActionAuth0GetUserType", + "FlowActionAuth0MakeCall", + "FlowActionAuth0MakeCallAction", + "FlowActionAuth0MakeCallParams", + "FlowActionAuth0MakeCallParamsCustomVars", + "FlowActionAuth0MakeCallType", "FlowActionAuth0SendEmail", + "FlowActionAuth0SendEmailAction", "FlowActionAuth0SendEmailParams", "FlowActionAuth0SendEmailParamsFrom", "FlowActionAuth0SendEmailParamsFromEmail", "FlowActionAuth0SendEmailParamsTo", + "FlowActionAuth0SendEmailType", "FlowActionAuth0SendRequest", + "FlowActionAuth0SendRequestAction", "FlowActionAuth0SendRequestParams", "FlowActionAuth0SendRequestParamsCustomVars", "FlowActionAuth0SendRequestParamsHeaders", @@ -4543,53 +5754,86 @@ def __dir__(): "FlowActionAuth0SendRequestParamsPayloadObject", "FlowActionAuth0SendRequestParamsQueryParams", "FlowActionAuth0SendRequestParamsQueryParamsValue", + "FlowActionAuth0SendRequestType", + "FlowActionAuth0SendSms", + "FlowActionAuth0SendSmsAction", + "FlowActionAuth0SendSmsParams", + "FlowActionAuth0SendSmsParamsCustomVars", + "FlowActionAuth0SendSmsType", "FlowActionAuth0UpdateUser", + "FlowActionAuth0UpdateUserAction", "FlowActionAuth0UpdateUserParams", "FlowActionAuth0UpdateUserParamsChanges", + "FlowActionAuth0UpdateUserType", "FlowActionBigquery", "FlowActionBigqueryInsertRows", + "FlowActionBigqueryInsertRowsAction", "FlowActionBigqueryInsertRowsParams", "FlowActionBigqueryInsertRowsParamsData", + "FlowActionBigqueryInsertRowsType", "FlowActionClearbit", "FlowActionClearbitFindCompany", + "FlowActionClearbitFindCompanyAction", "FlowActionClearbitFindCompanyParams", + "FlowActionClearbitFindCompanyType", "FlowActionClearbitFindPerson", + "FlowActionClearbitFindPersonAction", "FlowActionClearbitFindPersonParams", + "FlowActionClearbitFindPersonType", "FlowActionEmail", "FlowActionEmailVerifyEmail", + "FlowActionEmailVerifyEmailAction", "FlowActionEmailVerifyEmailParams", "FlowActionEmailVerifyEmailParamsRules", + "FlowActionEmailVerifyEmailType", "FlowActionFlow", "FlowActionFlowBooleanCondition", + "FlowActionFlowBooleanConditionAction", "FlowActionFlowBooleanConditionParams", + "FlowActionFlowBooleanConditionType", "FlowActionFlowDelayFlow", + "FlowActionFlowDelayFlowAction", "FlowActionFlowDelayFlowParams", "FlowActionFlowDelayFlowParamsNumber", "FlowActionFlowDelayFlowParamsUnits", + "FlowActionFlowDelayFlowType", "FlowActionFlowDoNothing", + "FlowActionFlowDoNothingAction", "FlowActionFlowDoNothingParams", + "FlowActionFlowDoNothingType", "FlowActionFlowErrorMessage", + "FlowActionFlowErrorMessageAction", "FlowActionFlowErrorMessageParams", + "FlowActionFlowErrorMessageType", "FlowActionFlowMapValue", + "FlowActionFlowMapValueAction", "FlowActionFlowMapValueParams", "FlowActionFlowMapValueParamsCases", "FlowActionFlowMapValueParamsFallback", "FlowActionFlowMapValueParamsFallbackObject", "FlowActionFlowMapValueParamsInput", + "FlowActionFlowMapValueType", "FlowActionFlowReturnJson", + "FlowActionFlowReturnJsonAction", "FlowActionFlowReturnJsonParams", "FlowActionFlowReturnJsonParamsPayload", "FlowActionFlowReturnJsonParamsPayloadObject", + "FlowActionFlowReturnJsonType", "FlowActionFlowStoreVars", + "FlowActionFlowStoreVarsAction", "FlowActionFlowStoreVarsParams", "FlowActionFlowStoreVarsParamsVars", + "FlowActionFlowStoreVarsType", "FlowActionGoogleSheets", "FlowActionGoogleSheetsAddRow", + "FlowActionGoogleSheetsAddRowAction", "FlowActionGoogleSheetsAddRowParams", "FlowActionGoogleSheetsAddRowParamsSheetId", "FlowActionGoogleSheetsAddRowParamsValues", + "FlowActionGoogleSheetsAddRowType", "FlowActionHttp", "FlowActionHttpSendRequest", + "FlowActionHttpSendRequestAction", "FlowActionHttpSendRequestParams", "FlowActionHttpSendRequestParamsBasicAuth", "FlowActionHttpSendRequestParamsContentType", @@ -4599,131 +5843,204 @@ def __dir__(): "FlowActionHttpSendRequestParamsPayloadObject", "FlowActionHttpSendRequestParamsQueryParams", "FlowActionHttpSendRequestParamsQueryParamsValue", + "FlowActionHttpSendRequestType", "FlowActionHubspot", "FlowActionHubspotEnrollContact", + "FlowActionHubspotEnrollContactAction", "FlowActionHubspotEnrollContactParams", "FlowActionHubspotEnrollContactParamsWorkflowId", + "FlowActionHubspotEnrollContactType", "FlowActionHubspotGetContact", + "FlowActionHubspotGetContactAction", "FlowActionHubspotGetContactParams", + "FlowActionHubspotGetContactType", "FlowActionHubspotUpsertContact", + "FlowActionHubspotUpsertContactAction", "FlowActionHubspotUpsertContactParams", "FlowActionHubspotUpsertContactParamsProperty", + "FlowActionHubspotUpsertContactType", "FlowActionJson", "FlowActionJsonCreateJson", + "FlowActionJsonCreateJsonAction", "FlowActionJsonCreateJsonParams", "FlowActionJsonCreateJsonParamsObject", + "FlowActionJsonCreateJsonType", "FlowActionJsonParseJson", + "FlowActionJsonParseJsonAction", "FlowActionJsonParseJsonParams", + "FlowActionJsonParseJsonType", "FlowActionJsonSerializeJson", + "FlowActionJsonSerializeJsonAction", "FlowActionJsonSerializeJsonParams", "FlowActionJsonSerializeJsonParamsObject", "FlowActionJsonSerializeJsonParamsObjectObject", + "FlowActionJsonSerializeJsonType", "FlowActionJwt", "FlowActionJwtDecodeJwt", + "FlowActionJwtDecodeJwtAction", "FlowActionJwtDecodeJwtParams", + "FlowActionJwtDecodeJwtType", "FlowActionJwtSignJwt", + "FlowActionJwtSignJwtAction", "FlowActionJwtSignJwtParams", "FlowActionJwtSignJwtParamsPayload", + "FlowActionJwtSignJwtType", "FlowActionJwtVerifyJwt", + "FlowActionJwtVerifyJwtAction", "FlowActionJwtVerifyJwtParams", + "FlowActionJwtVerifyJwtType", "FlowActionMailchimp", "FlowActionMailchimpUpsertMember", + "FlowActionMailchimpUpsertMemberAction", "FlowActionMailchimpUpsertMemberParams", "FlowActionMailchimpUpsertMemberParamsMember", "FlowActionMailchimpUpsertMemberParamsMemberMergeFields", + "FlowActionMailchimpUpsertMemberType", "FlowActionMailjet", "FlowActionMailjetSendEmail", + "FlowActionMailjetSendEmailAction", "FlowActionMailjetSendEmailParams", "FlowActionMailjetSendEmailParamsContent", "FlowActionMailjetSendEmailParamsTemplateId", + "FlowActionMailjetSendEmailType", "FlowActionOtp", "FlowActionOtpGenerateCode", + "FlowActionOtpGenerateCodeAction", "FlowActionOtpGenerateCodeParams", + "FlowActionOtpGenerateCodeType", "FlowActionOtpVerifyCode", + "FlowActionOtpVerifyCodeAction", "FlowActionOtpVerifyCodeParams", "FlowActionOtpVerifyCodeParamsCode", + "FlowActionOtpVerifyCodeType", "FlowActionPipedrive", "FlowActionPipedriveAddDeal", + "FlowActionPipedriveAddDealAction", "FlowActionPipedriveAddDealParams", "FlowActionPipedriveAddDealParamsFields", "FlowActionPipedriveAddDealParamsOrganizationId", "FlowActionPipedriveAddDealParamsPersonId", "FlowActionPipedriveAddDealParamsStageId", "FlowActionPipedriveAddDealParamsUserId", + "FlowActionPipedriveAddDealType", "FlowActionPipedriveAddOrganization", + "FlowActionPipedriveAddOrganizationAction", "FlowActionPipedriveAddOrganizationParams", "FlowActionPipedriveAddOrganizationParamsFields", "FlowActionPipedriveAddOrganizationParamsOwnerId", + "FlowActionPipedriveAddOrganizationType", "FlowActionPipedriveAddPerson", + "FlowActionPipedriveAddPersonAction", "FlowActionPipedriveAddPersonParams", "FlowActionPipedriveAddPersonParamsFields", "FlowActionPipedriveAddPersonParamsOrganizationId", "FlowActionPipedriveAddPersonParamsOwnerId", + "FlowActionPipedriveAddPersonType", "FlowActionSalesforce", "FlowActionSalesforceCreateLead", + "FlowActionSalesforceCreateLeadAction", "FlowActionSalesforceCreateLeadParams", "FlowActionSalesforceCreateLeadParamsPayload", + "FlowActionSalesforceCreateLeadType", "FlowActionSalesforceGetLead", + "FlowActionSalesforceGetLeadAction", "FlowActionSalesforceGetLeadParams", + "FlowActionSalesforceGetLeadType", "FlowActionSalesforceSearchLeads", + "FlowActionSalesforceSearchLeadsAction", "FlowActionSalesforceSearchLeadsParams", "FlowActionSalesforceSearchLeadsParamsSearchField", + "FlowActionSalesforceSearchLeadsType", "FlowActionSalesforceUpdateLead", + "FlowActionSalesforceUpdateLeadAction", "FlowActionSalesforceUpdateLeadParams", "FlowActionSalesforceUpdateLeadParamsPayload", + "FlowActionSalesforceUpdateLeadType", "FlowActionSendgrid", "FlowActionSendgridSendEmail", + "FlowActionSendgridSendEmailAction", "FlowActionSendgridSendEmailParams", "FlowActionSendgridSendEmailParamsPerson", + "FlowActionSendgridSendEmailType", "FlowActionSlack", "FlowActionSlackPostMessage", + "FlowActionSlackPostMessageAction", "FlowActionSlackPostMessageParams", "FlowActionSlackPostMessageParamsAttachment", "FlowActionSlackPostMessageParamsAttachmentColor", "FlowActionSlackPostMessageParamsAttachmentField", + "FlowActionSlackPostMessageType", "FlowActionStripe", "FlowActionStripeAddTaxId", + "FlowActionStripeAddTaxIdAction", "FlowActionStripeAddTaxIdParams", + "FlowActionStripeAddTaxIdType", "FlowActionStripeAddress", "FlowActionStripeCreateCustomer", + "FlowActionStripeCreateCustomerAction", "FlowActionStripeCreateCustomerParams", + "FlowActionStripeCreateCustomerType", "FlowActionStripeCreatePortalSession", + "FlowActionStripeCreatePortalSessionAction", "FlowActionStripeCreatePortalSessionParams", + "FlowActionStripeCreatePortalSessionType", "FlowActionStripeDeleteTaxId", + "FlowActionStripeDeleteTaxIdAction", "FlowActionStripeDeleteTaxIdParams", + "FlowActionStripeDeleteTaxIdType", "FlowActionStripeFindCustomers", + "FlowActionStripeFindCustomersAction", "FlowActionStripeFindCustomersParams", + "FlowActionStripeFindCustomersType", "FlowActionStripeGetCustomer", + "FlowActionStripeGetCustomerAction", "FlowActionStripeGetCustomerParams", + "FlowActionStripeGetCustomerType", "FlowActionStripeMetadata", "FlowActionStripeTaxId", "FlowActionStripeUpdateCustomer", + "FlowActionStripeUpdateCustomerAction", "FlowActionStripeUpdateCustomerParams", + "FlowActionStripeUpdateCustomerType", "FlowActionTelegram", "FlowActionTelegramSendMessage", + "FlowActionTelegramSendMessageAction", "FlowActionTelegramSendMessageParams", + "FlowActionTelegramSendMessageType", "FlowActionTwilio", "FlowActionTwilioMakeCall", + "FlowActionTwilioMakeCallAction", "FlowActionTwilioMakeCallParams", + "FlowActionTwilioMakeCallType", "FlowActionTwilioSendSms", + "FlowActionTwilioSendSmsAction", "FlowActionTwilioSendSmsParams", + "FlowActionTwilioSendSmsType", "FlowActionWhatsapp", "FlowActionWhatsappSendMessage", + "FlowActionWhatsappSendMessageAction", "FlowActionWhatsappSendMessageParams", "FlowActionWhatsappSendMessageParamsPayload", "FlowActionWhatsappSendMessageParamsPayloadObject", "FlowActionWhatsappSendMessageParamsType", + "FlowActionWhatsappSendMessageType", "FlowActionXml", "FlowActionXmlParseXml", + "FlowActionXmlParseXmlAction", "FlowActionXmlParseXmlParams", + "FlowActionXmlParseXmlType", "FlowActionXmlSerializeXml", + "FlowActionXmlSerializeXmlAction", "FlowActionXmlSerializeXmlParams", "FlowActionXmlSerializeXmlParamsObject", "FlowActionXmlSerializeXmlParamsObjectObject", + "FlowActionXmlSerializeXmlType", "FlowActionZapier", "FlowActionZapierTriggerWebhook", + "FlowActionZapierTriggerWebhookAction", "FlowActionZapierTriggerWebhookParams", "FlowActionZapierTriggerWebhookParamsMethod", + "FlowActionZapierTriggerWebhookType", "FlowExecutionDebug", "FlowExecutionSummary", "FlowSummary", @@ -4771,6 +6088,8 @@ def __dir__(): "FlowsVaultConnectionAppIdTwilioEnum", "FlowsVaultConnectionAppIdWhatsappEnum", "FlowsVaultConnectionAppIdZapierEnum", + "FlowsVaultConnectionHttpBasicAuthSetup", + "FlowsVaultConnectionSetupTypeBasicAuthEnum", "FlowsVaultConnectionSummary", "FormBlock", "FormBlockDivider", @@ -4929,6 +6248,11 @@ def __dir__(): "FormWidgetTypeRecaptchaConst", "FormsRequestParametersHydrateEnum", "GetActionExecutionResponseContent", + "GetActionModuleActionsResponseContent", + "GetActionModuleResponseContent", + "GetActionModuleVersionResponseContent", + "GetActionModuleVersionsResponseContent", + "GetActionModulesResponseContent", "GetActionResponseContent", "GetActionVersionResponseContent", "GetActiveUsersCountStatsResponseContent", @@ -4944,6 +6268,7 @@ def __dir__(): "GetBruteForceSettingsResponseContentMode", "GetBruteForceSettingsResponseContentShieldsItem", "GetClientCredentialResponseContent", + "GetClientGrantResponseContent", "GetClientResponseContent", "GetConnectionEnabledClientsResponseContent", "GetConnectionProfileResponseContent", @@ -4964,6 +6289,8 @@ def __dir__(): "GetFlowResponseContent", "GetFlowsVaultConnectionResponseContent", "GetFormResponseContent", + "GetGroupMembersResponseContent", + "GetGroupResponseContent", "GetGuardianEnrollmentResponseContent", "GetGuardianFactorDuoSettingsResponseContent", "GetGuardianFactorPhoneMessageTypesResponseContent", @@ -4988,6 +6315,7 @@ def __dir__(): "GetNetworkAclsResponseContent", "GetOrganizationByNameResponseContent", "GetOrganizationConnectionResponseContent", + "GetOrganizationDiscoveryDomainByNameResponseContent", "GetOrganizationDiscoveryDomainResponseContent", "GetOrganizationInvitationResponseContent", "GetOrganizationResponseContent", @@ -5015,9 +6343,13 @@ def __dir__(): "GetUserAttributeProfileResponseContent", "GetUserAttributeProfileTemplateResponseContent", "GetUserAuthenticationMethodResponseContent", + "GetUserGroupsPaginatedResponseContent", "GetUserResponseContent", "GetVerifiableCredentialTemplateResponseContent", "Group", + "GroupMember", + "GroupMemberTypeEnum", + "GroupTypeEnum", "GuardianEnrollmentDate", "GuardianEnrollmentFactorEnum", "GuardianEnrollmentStatus", @@ -5048,6 +6380,7 @@ def __dir__(): "ListActionVersionsPaginatedResponseContent", "ListActionsPaginatedResponseContent", "ListAculsOffsetPaginatedResponseContent", + "ListAculsResponseContentItem", "ListBrandingPhoneProvidersResponseContent", "ListClientConnectionsResponseContent", "ListClientGrantOrganizationsPaginatedResponseContent", @@ -5058,11 +6391,14 @@ def __dir__(): "ListConnectionsCheckpointPaginatedResponseContent", "ListCustomDomainsResponseContent", "ListDeviceCredentialsOffsetPaginatedResponseContent", + "ListDirectoryProvisioningsResponseContent", "ListEncryptionKeyOffsetPaginatedResponseContent", + "ListEventStreamsResponseContent", "ListFlowExecutionsPaginatedResponseContent", "ListFlowsOffsetPaginatedResponseContent", "ListFlowsVaultConnectionsOffsetPaginatedResponseContent", "ListFormsOffsetPaginatedResponseContent", + "ListGroupsPaginatedResponseContent", "ListGuardianPoliciesResponseContent", "ListHooksOffsetPaginatedResponseContent", "ListLogOffsetPaginatedResponseContent", @@ -5199,8 +6535,6 @@ def __dir__(): "PhoneTemplateNotificationTypeEnum", "PostClientCredentialResponseContent", "PreferredAuthenticationMethodEnum", - "PrivateKeyJwt", - "PrivateKeyJwtCredentials", "PromptGroupNameEnum", "PromptLanguageEnum", "PublicKeyCredential", @@ -5210,6 +6544,7 @@ def __dir__(): "RefreshTokenDateObject", "RefreshTokenDevice", "RefreshTokenExpirationTypeEnum", + "RefreshTokenMetadata", "RefreshTokenResourceServer", "RefreshTokenResponseContent", "RefreshTokenRotationTypeEnum", @@ -5237,6 +6572,7 @@ def __dir__(): "RevokedSigningKeysResponseContent", "Role", "RoleUser", + "RollbackActionModuleResponseContent", "RotateClientSecretResponseContent", "RotateConnectionKeysRequestContent", "RotateConnectionKeysSigningAlgEnum", @@ -5289,11 +6625,8 @@ def __dir__(): "SetGuardianFactorSmsTemplatesResponseContent", "SetGuardianFactorsProviderPhoneResponseContent", "SetGuardianFactorsProviderPhoneTwilioResponseContent", - "SetGuardianFactorsProviderPushNotificationApnsRequestContent", "SetGuardianFactorsProviderPushNotificationApnsResponseContent", - "SetGuardianFactorsProviderPushNotificationFcmRequestContent", "SetGuardianFactorsProviderPushNotificationFcmResponseContent", - "SetGuardianFactorsProviderPushNotificationFcmv1RequestContent", "SetGuardianFactorsProviderPushNotificationFcmv1ResponseContent", "SetGuardianFactorsProviderPushNotificationResponseContent", "SetGuardianFactorsProviderPushNotificationSnsResponseContent", @@ -5349,6 +6682,7 @@ def __dir__(): "TwilioProviderDeliveryMethodEnum", "UniversalLoginExperienceEnum", "UpdateActionBindingsResponseContent", + "UpdateActionModuleResponseContent", "UpdateActionResponseContent", "UpdateAculResponseContent", "UpdateAttackProtectionCaptchaResponseContent", @@ -5367,6 +6701,66 @@ def __dir__(): "UpdateClientResponseContent", "UpdateConnectionOptions", "UpdateConnectionProfileResponseContent", + "UpdateConnectionRequestContentAd", + "UpdateConnectionRequestContentAdfs", + "UpdateConnectionRequestContentAmazon", + "UpdateConnectionRequestContentAol", + "UpdateConnectionRequestContentApple", + "UpdateConnectionRequestContentAuth0", + "UpdateConnectionRequestContentAuth0Oidc", + "UpdateConnectionRequestContentAzureAd", + "UpdateConnectionRequestContentBaidu", + "UpdateConnectionRequestContentBitbucket", + "UpdateConnectionRequestContentBitly", + "UpdateConnectionRequestContentBox", + "UpdateConnectionRequestContentCustom", + "UpdateConnectionRequestContentDaccount", + "UpdateConnectionRequestContentDropbox", + "UpdateConnectionRequestContentDwolla", + "UpdateConnectionRequestContentEmail", + "UpdateConnectionRequestContentEvernote", + "UpdateConnectionRequestContentEvernoteSandbox", + "UpdateConnectionRequestContentExact", + "UpdateConnectionRequestContentFacebook", + "UpdateConnectionRequestContentFitbit", + "UpdateConnectionRequestContentFlickr", + "UpdateConnectionRequestContentGitHub", + "UpdateConnectionRequestContentGoogleApps", + "UpdateConnectionRequestContentGoogleOAuth2", + "UpdateConnectionRequestContentInstagram", + "UpdateConnectionRequestContentIp", + "UpdateConnectionRequestContentLine", + "UpdateConnectionRequestContentLinkedin", + "UpdateConnectionRequestContentMiicard", + "UpdateConnectionRequestContentOAuth1", + "UpdateConnectionRequestContentOAuth2", + "UpdateConnectionRequestContentOffice365", + "UpdateConnectionRequestContentOidc", + "UpdateConnectionRequestContentOkta", + "UpdateConnectionRequestContentPaypal", + "UpdateConnectionRequestContentPaypalSandbox", + "UpdateConnectionRequestContentPingFederate", + "UpdateConnectionRequestContentPlanningCenter", + "UpdateConnectionRequestContentRenren", + "UpdateConnectionRequestContentSalesforce", + "UpdateConnectionRequestContentSalesforceCommunity", + "UpdateConnectionRequestContentSalesforceSandbox", + "UpdateConnectionRequestContentSaml", + "UpdateConnectionRequestContentSharepoint", + "UpdateConnectionRequestContentShop", + "UpdateConnectionRequestContentShopify", + "UpdateConnectionRequestContentSms", + "UpdateConnectionRequestContentSoundcloud", + "UpdateConnectionRequestContentThirtySevenSignals", + "UpdateConnectionRequestContentTwitter", + "UpdateConnectionRequestContentUntappd", + "UpdateConnectionRequestContentVkontakte", + "UpdateConnectionRequestContentWeibo", + "UpdateConnectionRequestContentWindowsLive", + "UpdateConnectionRequestContentWordpress", + "UpdateConnectionRequestContentYahoo", + "UpdateConnectionRequestContentYammer", + "UpdateConnectionRequestContentYandex", "UpdateConnectionResponseContent", "UpdateCustomDomainResponseContent", "UpdateDirectoryProvisioningRequestContent", @@ -5381,6 +6775,9 @@ def __dir__(): "UpdateFlowsVaultConnectionSetup", "UpdateFormResponseContent", "UpdateGuardianFactorDuoSettingsResponseContent", + "UpdateGuardianFactorsProviderPushNotificationApnsResponseContent", + "UpdateGuardianFactorsProviderPushNotificationFcmResponseContent", + "UpdateGuardianFactorsProviderPushNotificationFcmv1ResponseContent", "UpdateGuardianFactorsProviderPushNotificationSnsResponseContent", "UpdateHookResponseContent", "UpdateHookSecretRequestContent", @@ -5390,6 +6787,7 @@ def __dir__(): "UpdateOrganizationDiscoveryDomainResponseContent", "UpdateOrganizationResponseContent", "UpdatePhoneTemplateResponseContent", + "UpdateRefreshTokenResponseContent", "UpdateResourceServerResponseContent", "UpdateRiskAssessmentsSettingsNewDeviceResponseContent", "UpdateRiskAssessmentsSettingsResponseContent", @@ -5455,4 +6853,6 @@ def __dir__(): "VerificationMethodEnum", "VerifyCustomDomainResponseContent", "VerifyEmailTicketResponseContent", + "X509CertificateCredential", + "X509CertificateCredentialTypeEnum", ] diff --git a/src/auth0/management/types/action.py b/src/auth0/management/types/action.py index 8fc8f26f..43126429 100644 --- a/src/auth0/management/types/action.py +++ b/src/auth0/management/types/action.py @@ -7,6 +7,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel from .action_build_status_enum import ActionBuildStatusEnum from .action_deployed_version import ActionDeployedVersion +from .action_module_reference import ActionModuleReference from .action_secret_response import ActionSecretResponse from .action_trigger import ActionTrigger from .action_version_dependency import ActionVersionDependency @@ -82,6 +83,11 @@ class Action(UniversalBaseModel): True if the action should be deployed after creation. """ + modules: typing.Optional[typing.List[ActionModuleReference]] = pydantic.Field(default=None) + """ + The list of action modules and their versions used by this action. + """ + if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 else: diff --git a/src/auth0/management/types/action_deployed_version.py b/src/auth0/management/types/action_deployed_version.py index abc2526d..bb8b5172 100644 --- a/src/auth0/management/types/action_deployed_version.py +++ b/src/auth0/management/types/action_deployed_version.py @@ -7,6 +7,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel from .action_base import ActionBase from .action_error import ActionError +from .action_module_reference import ActionModuleReference from .action_secret_response import ActionSecretResponse from .action_trigger import ActionTrigger from .action_version_build_status_enum import ActionVersionBuildStatusEnum @@ -85,6 +86,11 @@ class ActionDeployedVersion(UniversalBaseModel): The list of triggers that this version supports. At this time, a version can only target a single trigger at a time. """ + modules: typing.Optional[typing.List[ActionModuleReference]] = pydantic.Field(default=None) + """ + The list of action modules and their versions used by this action version. + """ + if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 else: diff --git a/src/auth0/management/types/action_module_action.py b/src/auth0/management/types/action_module_action.py new file mode 100644 index 00000000..908cfc69 --- /dev/null +++ b/src/auth0/management/types/action_module_action.py @@ -0,0 +1,43 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .action_trigger import ActionTrigger + + +class ActionModuleAction(UniversalBaseModel): + action_id: typing.Optional[str] = pydantic.Field(default=None) + """ + The unique ID of the action. + """ + + action_name: typing.Optional[str] = pydantic.Field(default=None) + """ + The name of the action. + """ + + module_version_id: typing.Optional[str] = pydantic.Field(default=None) + """ + The ID of the module version this action is using. + """ + + module_version_number: typing.Optional[int] = pydantic.Field(default=None) + """ + The version number of the module this action is using. + """ + + supported_triggers: typing.Optional[typing.List[ActionTrigger]] = pydantic.Field(default=None) + """ + The triggers that this action supports. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/set_guardian_factors_provider_push_notification_apns_request_content.py b/src/auth0/management/types/action_module_dependency.py similarity index 57% rename from src/auth0/management/types/set_guardian_factors_provider_push_notification_apns_request_content.py rename to src/auth0/management/types/action_module_dependency.py index d2de7ec1..27b88676 100644 --- a/src/auth0/management/types/set_guardian_factors_provider_push_notification_apns_request_content.py +++ b/src/auth0/management/types/action_module_dependency.py @@ -3,15 +3,19 @@ import typing import pydantic -import typing_extensions from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel -from ..core.serialization import FieldMetadata -class SetGuardianFactorsProviderPushNotificationApnsRequestContent(UniversalBaseModel): - sandbox: typing.Optional[bool] = None - bundle_id: typing.Optional[str] = None - p_12: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="p12")] = None +class ActionModuleDependency(UniversalBaseModel): + name: typing.Optional[str] = pydantic.Field(default=None) + """ + The name of the npm dependency. + """ + + version: typing.Optional[str] = pydantic.Field(default=None) + """ + The version of the npm dependency. + """ if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/action_module_dependency_request.py b/src/auth0/management/types/action_module_dependency_request.py new file mode 100644 index 00000000..ac6c0b4c --- /dev/null +++ b/src/auth0/management/types/action_module_dependency_request.py @@ -0,0 +1,27 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class ActionModuleDependencyRequest(UniversalBaseModel): + name: str = pydantic.Field() + """ + The name of the npm dependency. + """ + + version: str = pydantic.Field() + """ + The version of the npm dependency. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/action_module_list_item.py b/src/auth0/management/types/action_module_list_item.py new file mode 100644 index 00000000..1296bcc2 --- /dev/null +++ b/src/auth0/management/types/action_module_list_item.py @@ -0,0 +1,70 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .action_module_dependency import ActionModuleDependency +from .action_module_secret import ActionModuleSecret + + +class ActionModuleListItem(UniversalBaseModel): + id: typing.Optional[str] = pydantic.Field(default=None) + """ + The unique ID of the module. + """ + + name: typing.Optional[str] = pydantic.Field(default=None) + """ + The name of the module. + """ + + code: typing.Optional[str] = pydantic.Field(default=None) + """ + The source code from the module's draft version. + """ + + dependencies: typing.Optional[typing.List[ActionModuleDependency]] = pydantic.Field(default=None) + """ + The npm dependencies from the module's draft version. + """ + + secrets: typing.Optional[typing.List[ActionModuleSecret]] = pydantic.Field(default=None) + """ + The secrets from the module's draft version (names and timestamps only, values never returned). + """ + + actions_using_module_total: typing.Optional[int] = pydantic.Field(default=None) + """ + The number of deployed actions using this module. + """ + + all_changes_published: typing.Optional[bool] = pydantic.Field(default=None) + """ + Whether all draft changes have been published as a version. + """ + + latest_version_number: typing.Optional[int] = pydantic.Field(default=None) + """ + The version number of the latest published version. Omitted if no versions have been published. + """ + + created_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + Timestamp when the module was created. + """ + + updated_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + Timestamp when the module was last updated. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/action_module_reference.py b/src/auth0/management/types/action_module_reference.py new file mode 100644 index 00000000..bccd3ea9 --- /dev/null +++ b/src/auth0/management/types/action_module_reference.py @@ -0,0 +1,41 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class ActionModuleReference(UniversalBaseModel): + """ + Reference to a module and its version used by an action. + """ + + module_id: typing.Optional[str] = pydantic.Field(default=None) + """ + The unique ID of the module. + """ + + module_name: typing.Optional[str] = pydantic.Field(default=None) + """ + The name of the module. + """ + + module_version_id: typing.Optional[str] = pydantic.Field(default=None) + """ + The ID of the specific module version. + """ + + module_version_number: typing.Optional[int] = pydantic.Field(default=None) + """ + The version number of the module. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/action_module_secret.py b/src/auth0/management/types/action_module_secret.py new file mode 100644 index 00000000..5acec9e5 --- /dev/null +++ b/src/auth0/management/types/action_module_secret.py @@ -0,0 +1,28 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class ActionModuleSecret(UniversalBaseModel): + name: typing.Optional[str] = pydantic.Field(default=None) + """ + The name of the secret. + """ + + updated_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + The time when the secret was last updated. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/set_guardian_factors_provider_push_notification_fcmv_1_request_content.py b/src/auth0/management/types/action_module_secret_request.py similarity index 68% rename from src/auth0/management/types/set_guardian_factors_provider_push_notification_fcmv_1_request_content.py rename to src/auth0/management/types/action_module_secret_request.py index 92ad6b77..90aa224d 100644 --- a/src/auth0/management/types/set_guardian_factors_provider_push_notification_fcmv_1_request_content.py +++ b/src/auth0/management/types/action_module_secret_request.py @@ -6,8 +6,16 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel -class SetGuardianFactorsProviderPushNotificationFcmv1RequestContent(UniversalBaseModel): - server_credentials: typing.Optional[str] = None +class ActionModuleSecretRequest(UniversalBaseModel): + name: str = pydantic.Field() + """ + The name of the secret. + """ + + value: str = pydantic.Field() + """ + The value of the secret. + """ if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/action_module_version.py b/src/auth0/management/types/action_module_version.py new file mode 100644 index 00000000..9326fd28 --- /dev/null +++ b/src/auth0/management/types/action_module_version.py @@ -0,0 +1,55 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .action_module_dependency import ActionModuleDependency +from .action_module_secret import ActionModuleSecret + + +class ActionModuleVersion(UniversalBaseModel): + id: typing.Optional[str] = pydantic.Field(default=None) + """ + The unique ID for this version. + """ + + module_id: typing.Optional[str] = pydantic.Field(default=None) + """ + The ID of the parent module. + """ + + version_number: typing.Optional[int] = pydantic.Field(default=None) + """ + The sequential version number. + """ + + code: typing.Optional[str] = pydantic.Field(default=None) + """ + The exact source code that was published with this version. + """ + + secrets: typing.Optional[typing.List[ActionModuleSecret]] = pydantic.Field(default=None) + """ + Secrets available to this version (name and updated_at only, values never returned). + """ + + dependencies: typing.Optional[typing.List[ActionModuleDependency]] = pydantic.Field(default=None) + """ + Dependencies locked to this version. + """ + + created_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + The timestamp when this version was created. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/action_module_version_reference.py b/src/auth0/management/types/action_module_version_reference.py new file mode 100644 index 00000000..61dbb885 --- /dev/null +++ b/src/auth0/management/types/action_module_version_reference.py @@ -0,0 +1,54 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .action_module_dependency import ActionModuleDependency +from .action_module_secret import ActionModuleSecret + + +class ActionModuleVersionReference(UniversalBaseModel): + """ + The latest published version as a reference object. Omitted if no versions have been published. + """ + + id: typing.Optional[str] = pydantic.Field(default=None) + """ + The unique ID of the version. + """ + + version_number: typing.Optional[int] = pydantic.Field(default=None) + """ + The version number. + """ + + code: typing.Optional[str] = pydantic.Field(default=None) + """ + The source code from this version. + """ + + dependencies: typing.Optional[typing.List[ActionModuleDependency]] = pydantic.Field(default=None) + """ + The npm dependencies from this version. + """ + + secrets: typing.Optional[typing.List[ActionModuleSecret]] = pydantic.Field(default=None) + """ + The secrets from this version (names and timestamps only, values never returned). + """ + + created_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + Timestamp when the version was created. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/action_version.py b/src/auth0/management/types/action_version.py index 9d324da7..686318d7 100644 --- a/src/auth0/management/types/action_version.py +++ b/src/auth0/management/types/action_version.py @@ -7,6 +7,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel from .action_base import ActionBase from .action_error import ActionError +from .action_module_reference import ActionModuleReference from .action_secret_response import ActionSecretResponse from .action_trigger import ActionTrigger from .action_version_build_status_enum import ActionVersionBuildStatusEnum @@ -81,6 +82,11 @@ class ActionVersion(UniversalBaseModel): The list of triggers that this version supports. At this time, a version can only target a single trigger at a time. """ + modules: typing.Optional[typing.List[ActionModuleReference]] = pydantic.Field(default=None) + """ + The list of action modules and their versions used by this action version. + """ + if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 else: diff --git a/src/auth0/management/types/acul_configs_item.py b/src/auth0/management/types/acul_configs_item.py index d14003ec..8fde40e2 100644 --- a/src/auth0/management/types/acul_configs_item.py +++ b/src/auth0/management/types/acul_configs_item.py @@ -5,11 +5,9 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel from .acul_context_configuration import AculContextConfiguration -from .acul_default_head_tags_disabled import AculDefaultHeadTagsDisabled from .acul_filters import AculFilters -from .acul_head_tags import AculHeadTags +from .acul_head_tag import AculHeadTag from .acul_rendering_mode_enum import AculRenderingModeEnum -from .acul_use_page_template import AculUsePageTemplate from .prompt_group_name_enum import PromptGroupNameEnum from .screen_group_name_enum import ScreenGroupNameEnum @@ -19,9 +17,21 @@ class AculConfigsItem(UniversalBaseModel): screen: ScreenGroupNameEnum rendering_mode: typing.Optional[AculRenderingModeEnum] = None context_configuration: typing.Optional[AculContextConfiguration] = None - default_head_tags_disabled: typing.Optional[AculDefaultHeadTagsDisabled] = False - use_page_template: typing.Optional[AculUsePageTemplate] = False - head_tags: typing.Optional[AculHeadTags] = None + default_head_tags_disabled: typing.Optional[bool] = pydantic.Field(default=False) + """ + Override Universal Login default head tags + """ + + use_page_template: typing.Optional[bool] = pydantic.Field(default=False) + """ + Use page template with ACUL + """ + + head_tags: typing.Optional[typing.List[AculHeadTag]] = pydantic.Field(default=None) + """ + An array of head tags + """ + filters: typing.Optional[AculFilters] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/assessors_type_enum.py b/src/auth0/management/types/assessors_type_enum.py index 3e8211d9..a764a165 100644 --- a/src/auth0/management/types/assessors_type_enum.py +++ b/src/auth0/management/types/assessors_type_enum.py @@ -2,4 +2,4 @@ import typing -AssessorsTypeEnum = typing.Literal["new-device"] +AssessorsTypeEnum = typing.Union[typing.Literal["new-device"], typing.Any] diff --git a/src/auth0/management/types/breached_password_detection_stage.py b/src/auth0/management/types/breached_password_detection_stage.py index 7af3e625..966a6dd6 100644 --- a/src/auth0/management/types/breached_password_detection_stage.py +++ b/src/auth0/management/types/breached_password_detection_stage.py @@ -13,10 +13,10 @@ class BreachedPasswordDetectionStage(UniversalBaseModel): pre_user_registration: typing_extensions.Annotated[ typing.Optional[BreachedPasswordDetectionPreUserRegistrationStage], FieldMetadata(alias="pre-user-registration") - ] = None + ] = pydantic.Field(alias="pre-user-registration", default=None) pre_change_password: typing_extensions.Annotated[ typing.Optional[BreachedPasswordDetectionPreChangePasswordStage], FieldMetadata(alias="pre-change-password") - ] = None + ] = pydantic.Field(alias="pre-change-password", default=None) if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/certificate_subject_dn_credential.py b/src/auth0/management/types/certificate_subject_dn_credential.py new file mode 100644 index 00000000..10ae949b --- /dev/null +++ b/src/auth0/management/types/certificate_subject_dn_credential.py @@ -0,0 +1,36 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .certificate_subject_dn_credential_type_enum import CertificateSubjectDnCredentialTypeEnum + + +class CertificateSubjectDnCredential(UniversalBaseModel): + credential_type: CertificateSubjectDnCredentialTypeEnum + name: typing.Optional[str] = pydantic.Field(default="") + """ + Friendly name for a credential. + """ + + subject_dn: typing.Optional[str] = pydantic.Field(default=None) + """ + Subject Distinguished Name. Mutually exclusive with `pem` property. Applies to `cert_subject_dn` credential type. + """ + + pem: typing.Optional[str] = pydantic.Field( + default="-----BEGIN CERTIFICATE-----\r\nMIIBIjANBg...\r\n-----END CERTIFICATE-----\r\n" + ) + """ + PEM-formatted X509 certificate. Must be JSON escaped. Mutually exclusive with `subject_dn` property. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/certificate_subject_dn_credential_type_enum.py b/src/auth0/management/types/certificate_subject_dn_credential_type_enum.py new file mode 100644 index 00000000..a00d4325 --- /dev/null +++ b/src/auth0/management/types/certificate_subject_dn_credential_type_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +CertificateSubjectDnCredentialTypeEnum = typing.Union[typing.Literal["cert_subject_dn"], typing.Any] diff --git a/src/auth0/management/types/change_password_ticket_identity.py b/src/auth0/management/types/change_password_ticket_identity.py index 3979180c..36ab8b97 100644 --- a/src/auth0/management/types/change_password_ticket_identity.py +++ b/src/auth0/management/types/change_password_ticket_identity.py @@ -17,7 +17,7 @@ class ChangePasswordTicketIdentity(UniversalBaseModel): user_id of the identity. """ - provider: IdentityProviderOnlyAuth0Enum = "auth0" + provider: IdentityProviderOnlyAuth0Enum connection_id: typing.Optional[str] = pydantic.Field(default=None) """ connection_id of the identity. diff --git a/src/auth0/management/types/client.py b/src/auth0/management/types/client.py index d6099a67..01a79888 100644 --- a/src/auth0/management/types/client.py +++ b/src/auth0/management/types/client.py @@ -54,7 +54,7 @@ class Client(UniversalBaseModel): """ global_: typing_extensions.Annotated[typing.Optional[bool], FieldMetadata(alias="global")] = pydantic.Field( - default=False + alias="global", default=False ) """ Whether this is your global 'All Applications' client representing legacy tenant settings (true) or a regular client (false). diff --git a/src/auth0/management/types/client_addon_azure_blob.py b/src/auth0/management/types/client_addon_azure_blob.py index 9cfb6635..489e2b36 100644 --- a/src/auth0/management/types/client_addon_azure_blob.py +++ b/src/auth0/management/types/client_addon_azure_blob.py @@ -14,28 +14,28 @@ class ClientAddonAzureBlob(UniversalBaseModel): """ account_name: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="accountName")] = ( - pydantic.Field(default=None) + pydantic.Field(alias="accountName", default=None) ) """ Your Azure storage account name. Usually first segment in your Azure storage URL. e.g. `https://acme-org.blob.core.windows.net` would be the account name `acme-org`. """ storage_access_key: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="storageAccessKey")] = ( - pydantic.Field(default=None) + pydantic.Field(alias="storageAccessKey", default=None) ) """ Access key associated with this storage account. """ container_name: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="containerName")] = ( - pydantic.Field(default=None) + pydantic.Field(alias="containerName", default=None) ) """ Container to request a token for. e.g. `my-container`. """ blob_name: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="blobName")] = pydantic.Field( - default=None + alias="blobName", default=None ) """ Entity to request a token for. e.g. `my-blob`. If blank the computed SAS will apply to the entire storage container. @@ -47,7 +47,7 @@ class ClientAddonAzureBlob(UniversalBaseModel): """ signed_identifier: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="signedIdentifier")] = ( - pydantic.Field(default=None) + pydantic.Field(alias="signedIdentifier", default=None) ) """ Shared access policy identifier defined in your storage account resource. diff --git a/src/auth0/management/types/client_addon_azure_sb.py b/src/auth0/management/types/client_addon_azure_sb.py index cb6318a9..d175b2c7 100644 --- a/src/auth0/management/types/client_addon_azure_sb.py +++ b/src/auth0/management/types/client_addon_azure_sb.py @@ -19,21 +19,21 @@ class ClientAddonAzureSb(UniversalBaseModel): """ sas_key_name: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="sasKeyName")] = pydantic.Field( - default=None + alias="sasKeyName", default=None ) """ Your shared access policy name defined in your Service Bus entity. """ sas_key: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="sasKey")] = pydantic.Field( - default=None + alias="sasKey", default=None ) """ Primary Key associated with your shared access policy. """ entity_path: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="entityPath")] = pydantic.Field( - default=None + alias="entityPath", default=None ) """ Entity you want to request a token for. e.g. `my-queue`.' diff --git a/src/auth0/management/types/client_addon_layer.py b/src/auth0/management/types/client_addon_layer.py index 0f7a6b9d..67a40fbf 100644 --- a/src/auth0/management/types/client_addon_layer.py +++ b/src/auth0/management/types/client_addon_layer.py @@ -13,17 +13,21 @@ class ClientAddonLayer(UniversalBaseModel): Layer addon configuration. """ - provider_id: typing_extensions.Annotated[str, FieldMetadata(alias="providerId")] = pydantic.Field() + provider_id: typing_extensions.Annotated[str, FieldMetadata(alias="providerId")] = pydantic.Field( + alias="providerId" + ) """ Provider ID of your Layer account """ - key_id: typing_extensions.Annotated[str, FieldMetadata(alias="keyId")] = pydantic.Field() + key_id: typing_extensions.Annotated[str, FieldMetadata(alias="keyId")] = pydantic.Field(alias="keyId") """ Authentication Key identifier used to sign the Layer token. """ - private_key: typing_extensions.Annotated[str, FieldMetadata(alias="privateKey")] = pydantic.Field() + private_key: typing_extensions.Annotated[str, FieldMetadata(alias="privateKey")] = pydantic.Field( + alias="privateKey" + ) """ Private key for signing the Layer token. """ diff --git a/src/auth0/management/types/client_addon_salesforce_api.py b/src/auth0/management/types/client_addon_salesforce_api.py index c0ccf381..cbbac432 100644 --- a/src/auth0/management/types/client_addon_salesforce_api.py +++ b/src/auth0/management/types/client_addon_salesforce_api.py @@ -24,7 +24,7 @@ class ClientAddonSalesforceApi(UniversalBaseModel): """ community_name: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="communityName")] = ( - pydantic.Field(default=None) + pydantic.Field(alias="communityName", default=None) ) """ Community name. diff --git a/src/auth0/management/types/client_addon_salesforce_sandbox_api.py b/src/auth0/management/types/client_addon_salesforce_sandbox_api.py index d3cdeef6..6773a151 100644 --- a/src/auth0/management/types/client_addon_salesforce_sandbox_api.py +++ b/src/auth0/management/types/client_addon_salesforce_sandbox_api.py @@ -24,7 +24,7 @@ class ClientAddonSalesforceSandboxApi(UniversalBaseModel): """ community_name: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="communityName")] = ( - pydantic.Field(default=None) + pydantic.Field(alias="communityName", default=None) ) """ Community name. diff --git a/src/auth0/management/types/client_addon_saml.py b/src/auth0/management/types/client_addon_saml.py index 0e2f16e1..75a3e719 100644 --- a/src/auth0/management/types/client_addon_saml.py +++ b/src/auth0/management/types/client_addon_saml.py @@ -17,33 +17,41 @@ class ClientAddonSaml(UniversalBaseModel): mappings: typing.Optional[ClientAddonSamlMapping] = None audience: typing.Optional[str] = None recipient: typing.Optional[str] = None - create_upn_claim: typing_extensions.Annotated[typing.Optional[bool], FieldMetadata(alias="createUpnClaim")] = None + create_upn_claim: typing_extensions.Annotated[typing.Optional[bool], FieldMetadata(alias="createUpnClaim")] = ( + pydantic.Field(alias="createUpnClaim", default=None) + ) map_unknown_claims_as_is: typing_extensions.Annotated[ typing.Optional[bool], FieldMetadata(alias="mapUnknownClaimsAsIs") - ] = None + ] = pydantic.Field(alias="mapUnknownClaimsAsIs", default=None) passthrough_claims_with_no_mapping: typing_extensions.Annotated[ typing.Optional[bool], FieldMetadata(alias="passthroughClaimsWithNoMapping") - ] = None - map_identities: typing_extensions.Annotated[typing.Optional[bool], FieldMetadata(alias="mapIdentities")] = None + ] = pydantic.Field(alias="passthroughClaimsWithNoMapping", default=None) + map_identities: typing_extensions.Annotated[typing.Optional[bool], FieldMetadata(alias="mapIdentities")] = ( + pydantic.Field(alias="mapIdentities", default=None) + ) signature_algorithm: typing_extensions.Annotated[ typing.Optional[str], FieldMetadata(alias="signatureAlgorithm") - ] = None - digest_algorithm: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="digestAlgorithm")] = None + ] = pydantic.Field(alias="signatureAlgorithm", default=None) + digest_algorithm: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="digestAlgorithm")] = ( + pydantic.Field(alias="digestAlgorithm", default=None) + ) issuer: typing.Optional[str] = None destination: typing.Optional[str] = None lifetime_in_seconds: typing_extensions.Annotated[typing.Optional[int], FieldMetadata(alias="lifetimeInSeconds")] = ( - None + pydantic.Field(alias="lifetimeInSeconds", default=None) + ) + sign_response: typing_extensions.Annotated[typing.Optional[bool], FieldMetadata(alias="signResponse")] = ( + pydantic.Field(alias="signResponse", default=None) ) - sign_response: typing_extensions.Annotated[typing.Optional[bool], FieldMetadata(alias="signResponse")] = None name_identifier_format: typing_extensions.Annotated[ typing.Optional[str], FieldMetadata(alias="nameIdentifierFormat") - ] = None + ] = pydantic.Field(alias="nameIdentifierFormat", default=None) name_identifier_probes: typing_extensions.Annotated[ typing.Optional[typing.List[str]], FieldMetadata(alias="nameIdentifierProbes") - ] = None + ] = pydantic.Field(alias="nameIdentifierProbes", default=None) authn_context_class_ref: typing_extensions.Annotated[ typing.Optional[str], FieldMetadata(alias="authnContextClassRef") - ] = None + ] = pydantic.Field(alias="authnContextClassRef", default=None) if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/client_addon_sapapi.py b/src/auth0/management/types/client_addon_sapapi.py index 50453999..8815230c 100644 --- a/src/auth0/management/types/client_addon_sapapi.py +++ b/src/auth0/management/types/client_addon_sapapi.py @@ -19,14 +19,14 @@ class ClientAddonSapapi(UniversalBaseModel): """ username_attribute: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="usernameAttribute")] = ( - pydantic.Field(default=None) + pydantic.Field(alias="usernameAttribute", default=None) ) """ Name of the property in the user object that maps to a SAP username. e.g. `email`. """ token_endpoint_url: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="tokenEndpointUrl")] = ( - pydantic.Field(default=None) + pydantic.Field(alias="tokenEndpointUrl", default=None) ) """ Your SAP OData server OAuth2 token endpoint URL. @@ -38,7 +38,7 @@ class ClientAddonSapapi(UniversalBaseModel): """ service_password: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="servicePassword")] = ( - pydantic.Field(default=None) + pydantic.Field(alias="servicePassword", default=None) ) """ Service account password to use to authenticate API calls to the token endpoint. @@ -46,7 +46,7 @@ class ClientAddonSapapi(UniversalBaseModel): name_identifier_format: typing_extensions.Annotated[ typing.Optional[str], FieldMetadata(alias="nameIdentifierFormat") - ] = pydantic.Field(default=None) + ] = pydantic.Field(alias="nameIdentifierFormat", default=None) """ NameID element of the Subject which can be used to express the user's identity. Defaults to `urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified`. """ diff --git a/src/auth0/management/types/client_addon_zendesk.py b/src/auth0/management/types/client_addon_zendesk.py index 1dfd7ba1..47144b34 100644 --- a/src/auth0/management/types/client_addon_zendesk.py +++ b/src/auth0/management/types/client_addon_zendesk.py @@ -14,7 +14,7 @@ class ClientAddonZendesk(UniversalBaseModel): """ account_name: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="accountName")] = ( - pydantic.Field(default=None) + pydantic.Field(alias="accountName", default=None) ) """ Zendesk account name usually first segment in your Zendesk URL. e.g. `https://acme-org.zendesk.com` would be `acme-org`. diff --git a/src/auth0/management/types/client_addons.py b/src/auth0/management/types/client_addons.py index be615185..e377fcc1 100644 --- a/src/auth0/management/types/client_addons.py +++ b/src/auth0/management/types/client_addons.py @@ -59,7 +59,7 @@ class ClientAddons(UniversalBaseModel): firebase: typing.Optional[ClientAddonFirebase] = None newrelic: typing.Optional[ClientAddonNewRelic] = None office_365: typing_extensions.Annotated[typing.Optional[ClientAddonOffice365], FieldMetadata(alias="office365")] = ( - None + pydantic.Field(alias="office365", default=None) ) salesforce: typing.Optional[ClientAddonSalesforce] = None salesforce_api: typing.Optional[ClientAddonSalesforceApi] = None diff --git a/src/auth0/management/types/client_authentication_method.py b/src/auth0/management/types/client_authentication_method.py index 11f6b56f..844cac19 100644 --- a/src/auth0/management/types/client_authentication_method.py +++ b/src/auth0/management/types/client_authentication_method.py @@ -4,9 +4,9 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .client_authentication_method_private_key_jwt import ClientAuthenticationMethodPrivateKeyJwt from .client_authentication_method_self_signed_tls_client_auth import ClientAuthenticationMethodSelfSignedTlsClientAuth from .client_authentication_method_tls_client_auth import ClientAuthenticationMethodTlsClientAuth -from .private_key_jwt import PrivateKeyJwt class ClientAuthenticationMethod(UniversalBaseModel): @@ -14,7 +14,7 @@ class ClientAuthenticationMethod(UniversalBaseModel): Defines client authentication methods. """ - private_key_jwt: typing.Optional[PrivateKeyJwt] = None + private_key_jwt: typing.Optional[ClientAuthenticationMethodPrivateKeyJwt] = None tls_client_auth: typing.Optional[ClientAuthenticationMethodTlsClientAuth] = None self_signed_tls_client_auth: typing.Optional[ClientAuthenticationMethodSelfSignedTlsClientAuth] = None diff --git a/src/auth0/management/types/private_key_jwt.py b/src/auth0/management/types/client_authentication_method_private_key_jwt.py similarity index 71% rename from src/auth0/management/types/private_key_jwt.py rename to src/auth0/management/types/client_authentication_method_private_key_jwt.py index c6f0e1f0..61899622 100644 --- a/src/auth0/management/types/private_key_jwt.py +++ b/src/auth0/management/types/client_authentication_method_private_key_jwt.py @@ -4,15 +4,15 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel -from .private_key_jwt_credentials import PrivateKeyJwtCredentials +from .client_authentication_method_private_key_jwt_credentials import ClientAuthenticationMethodPrivateKeyJwtCredentials -class PrivateKeyJwt(UniversalBaseModel): +class ClientAuthenticationMethodPrivateKeyJwt(UniversalBaseModel): """ Defines `private_key_jwt` client authentication method. If this property is defined, the client is enabled to use the Private Key JWT authentication method. """ - credentials: PrivateKeyJwtCredentials + credentials: ClientAuthenticationMethodPrivateKeyJwtCredentials if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/private_key_jwt_credentials.py b/src/auth0/management/types/client_authentication_method_private_key_jwt_credentials.py similarity index 60% rename from src/auth0/management/types/private_key_jwt_credentials.py rename to src/auth0/management/types/client_authentication_method_private_key_jwt_credentials.py index f055865d..2b572656 100644 --- a/src/auth0/management/types/private_key_jwt_credentials.py +++ b/src/auth0/management/types/client_authentication_method_private_key_jwt_credentials.py @@ -4,4 +4,4 @@ from .credential_id import CredentialId -PrivateKeyJwtCredentials = typing.List[CredentialId] +ClientAuthenticationMethodPrivateKeyJwtCredentials = typing.List[CredentialId] diff --git a/src/auth0/management/types/client_authentication_method_self_signed_tls_client_auth.py b/src/auth0/management/types/client_authentication_method_self_signed_tls_client_auth.py index 345310d1..01130d01 100644 --- a/src/auth0/management/types/client_authentication_method_self_signed_tls_client_auth.py +++ b/src/auth0/management/types/client_authentication_method_self_signed_tls_client_auth.py @@ -4,7 +4,9 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel -from .credential_id import CredentialId +from .client_authentication_method_self_signed_tls_client_auth_credentials import ( + ClientAuthenticationMethodSelfSignedTlsClientAuthCredentials, +) class ClientAuthenticationMethodSelfSignedTlsClientAuth(UniversalBaseModel): @@ -12,10 +14,7 @@ class ClientAuthenticationMethodSelfSignedTlsClientAuth(UniversalBaseModel): Defines `self_signed_tls_client_auth` client authentication method. If the property is defined, the client is configured to use mTLS authentication method utilizing self-signed certificate. """ - credentials: typing.List[CredentialId] = pydantic.Field() - """ - A list of unique and previously created credential IDs enabled on the client for mTLS authentication utilizing self-signed certificate. - """ + credentials: ClientAuthenticationMethodSelfSignedTlsClientAuthCredentials if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/client_authentication_method_self_signed_tls_client_auth_credentials.py b/src/auth0/management/types/client_authentication_method_self_signed_tls_client_auth_credentials.py new file mode 100644 index 00000000..0faff7a3 --- /dev/null +++ b/src/auth0/management/types/client_authentication_method_self_signed_tls_client_auth_credentials.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .credential_id import CredentialId + +ClientAuthenticationMethodSelfSignedTlsClientAuthCredentials = typing.List[CredentialId] diff --git a/src/auth0/management/types/client_authentication_method_tls_client_auth.py b/src/auth0/management/types/client_authentication_method_tls_client_auth.py index 2f59dcbf..2df6d76f 100644 --- a/src/auth0/management/types/client_authentication_method_tls_client_auth.py +++ b/src/auth0/management/types/client_authentication_method_tls_client_auth.py @@ -4,7 +4,7 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel -from .credential_id import CredentialId +from .client_authentication_method_tls_client_auth_credentials import ClientAuthenticationMethodTlsClientAuthCredentials class ClientAuthenticationMethodTlsClientAuth(UniversalBaseModel): @@ -12,10 +12,7 @@ class ClientAuthenticationMethodTlsClientAuth(UniversalBaseModel): Defines `tls_client_auth` client authentication method. If the property is defined, the client is configured to use CA-based mTLS authentication method. """ - credentials: typing.List[CredentialId] = pydantic.Field() - """ - A list of unique and previously created credential IDs enabled on the client for CA-based mTLS authentication. - """ + credentials: ClientAuthenticationMethodTlsClientAuthCredentials if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/client_authentication_method_tls_client_auth_credentials.py b/src/auth0/management/types/client_authentication_method_tls_client_auth_credentials.py new file mode 100644 index 00000000..4bc947fa --- /dev/null +++ b/src/auth0/management/types/client_authentication_method_tls_client_auth_credentials.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .credential_id import CredentialId + +ClientAuthenticationMethodTlsClientAuthCredentials = typing.List[CredentialId] diff --git a/src/auth0/management/types/client_create_authentication_method.py b/src/auth0/management/types/client_create_authentication_method.py index fbda478c..b1ef1ab8 100644 --- a/src/auth0/management/types/client_create_authentication_method.py +++ b/src/auth0/management/types/client_create_authentication_method.py @@ -4,9 +4,11 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel -from .client_authentication_method_self_signed_tls_client_auth import ClientAuthenticationMethodSelfSignedTlsClientAuth -from .client_authentication_method_tls_client_auth import ClientAuthenticationMethodTlsClientAuth -from .private_key_jwt import PrivateKeyJwt +from .client_create_authentication_method_private_key_jwt import ClientCreateAuthenticationMethodPrivateKeyJwt +from .client_create_authentication_method_tls_client_auth import ClientCreateAuthenticationMethodTlsClientAuth +from .create_client_authentication_method_self_signed_tls_client_auth import ( + CreateClientAuthenticationMethodSelfSignedTlsClientAuth, +) class ClientCreateAuthenticationMethod(UniversalBaseModel): @@ -14,9 +16,9 @@ class ClientCreateAuthenticationMethod(UniversalBaseModel): Defines client authentication methods. """ - private_key_jwt: typing.Optional[PrivateKeyJwt] = None - tls_client_auth: typing.Optional[ClientAuthenticationMethodTlsClientAuth] = None - self_signed_tls_client_auth: typing.Optional[ClientAuthenticationMethodSelfSignedTlsClientAuth] = None + private_key_jwt: typing.Optional[ClientCreateAuthenticationMethodPrivateKeyJwt] = None + tls_client_auth: typing.Optional[ClientCreateAuthenticationMethodTlsClientAuth] = None + self_signed_tls_client_auth: typing.Optional[CreateClientAuthenticationMethodSelfSignedTlsClientAuth] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/client_create_authentication_method_private_key_jwt.py b/src/auth0/management/types/client_create_authentication_method_private_key_jwt.py new file mode 100644 index 00000000..98a44fae --- /dev/null +++ b/src/auth0/management/types/client_create_authentication_method_private_key_jwt.py @@ -0,0 +1,26 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .client_create_authentication_method_private_key_jwt_credentials import ( + ClientCreateAuthenticationMethodPrivateKeyJwtCredentials, +) + + +class ClientCreateAuthenticationMethodPrivateKeyJwt(UniversalBaseModel): + """ + Defines `private_key_jwt` client authentication method. If this property is defined, the client is enabled to use the Private Key JWT authentication method. + """ + + credentials: ClientCreateAuthenticationMethodPrivateKeyJwtCredentials + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/client_create_authentication_method_private_key_jwt_credentials.py b/src/auth0/management/types/client_create_authentication_method_private_key_jwt_credentials.py new file mode 100644 index 00000000..ca0e5c55 --- /dev/null +++ b/src/auth0/management/types/client_create_authentication_method_private_key_jwt_credentials.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .public_key_credential import PublicKeyCredential + +ClientCreateAuthenticationMethodPrivateKeyJwtCredentials = typing.List[PublicKeyCredential] diff --git a/src/auth0/management/types/client_create_authentication_method_tls_client_auth.py b/src/auth0/management/types/client_create_authentication_method_tls_client_auth.py new file mode 100644 index 00000000..064ca7af --- /dev/null +++ b/src/auth0/management/types/client_create_authentication_method_tls_client_auth.py @@ -0,0 +1,26 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .client_create_authentication_method_tls_client_auth_credentials import ( + ClientCreateAuthenticationMethodTlsClientAuthCredentials, +) + + +class ClientCreateAuthenticationMethodTlsClientAuth(UniversalBaseModel): + """ + Defines `tls_client_auth` client authentication method. If the property is defined, the client is configured to use CA-based mTLS authentication method. + """ + + credentials: ClientCreateAuthenticationMethodTlsClientAuthCredentials + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/client_create_authentication_method_tls_client_auth_credentials.py b/src/auth0/management/types/client_create_authentication_method_tls_client_auth_credentials.py new file mode 100644 index 00000000..d0afded0 --- /dev/null +++ b/src/auth0/management/types/client_create_authentication_method_tls_client_auth_credentials.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .certificate_subject_dn_credential import CertificateSubjectDnCredential + +ClientCreateAuthenticationMethodTlsClientAuthCredentials = typing.List[CertificateSubjectDnCredential] diff --git a/src/auth0/management/types/client_credential.py b/src/auth0/management/types/client_credential.py index 7eed9511..14a34f17 100644 --- a/src/auth0/management/types/client_credential.py +++ b/src/auth0/management/types/client_credential.py @@ -35,7 +35,7 @@ class ClientCredential(UniversalBaseModel): """ thumbprint_sha_256: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="thumbprint_sha256")] = ( - pydantic.Field(default=None) + pydantic.Field(alias="thumbprint_sha256", default=None) ) """ The X509 certificate's SHA256 thumbprint diff --git a/src/auth0/management/types/client_default_organization_flows_enum.py b/src/auth0/management/types/client_default_organization_flows_enum.py index 6d78e66f..88ced178 100644 --- a/src/auth0/management/types/client_default_organization_flows_enum.py +++ b/src/auth0/management/types/client_default_organization_flows_enum.py @@ -2,4 +2,4 @@ import typing -ClientDefaultOrganizationFlowsEnum = typing.Literal["client_credentials"] +ClientDefaultOrganizationFlowsEnum = typing.Union[typing.Literal["client_credentials"], typing.Any] diff --git a/src/auth0/management/types/client_grant_response_content.py b/src/auth0/management/types/client_grant_response_content.py index 498aa078..ea1c0a3c 100644 --- a/src/auth0/management/types/client_grant_response_content.py +++ b/src/auth0/management/types/client_grant_response_content.py @@ -43,7 +43,12 @@ class ClientGrantResponseContent(UniversalBaseModel): subject_type: typing.Optional[ClientGrantSubjectTypeEnum] = None authorization_details_types: typing.Optional[typing.List[str]] = pydantic.Field(default=None) """ - Types of authorization_details allowed for this client grant. Use of this field is subject to the applicable Free Trial terms in Okta’s Master Subscription Agreement. + Types of authorization_details allowed for this client grant. + """ + + allow_all_scopes: typing.Optional[bool] = pydantic.Field(default=None) + """ + If enabled, all scopes configured on the resource server are allowed for this grant. """ if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/client_mobile_android.py b/src/auth0/management/types/client_mobile_android.py index 265901b2..f6af7741 100644 --- a/src/auth0/management/types/client_mobile_android.py +++ b/src/auth0/management/types/client_mobile_android.py @@ -20,7 +20,7 @@ class ClientMobileAndroid(UniversalBaseModel): sha_256_cert_fingerprints: typing_extensions.Annotated[ typing.Optional[typing.List[str]], FieldMetadata(alias="sha256_cert_fingerprints") - ] = pydantic.Field(default=None) + ] = pydantic.Field(alias="sha256_cert_fingerprints", default=None) """ SHA256 fingerprints of the app's signing certificate. Multiple fingerprints can be used to support different versions of your app, such as debug and production builds. """ diff --git a/src/auth0/management/types/client_refresh_token_configuration.py b/src/auth0/management/types/client_refresh_token_configuration.py index 999ef2ba..67b1b620 100644 --- a/src/auth0/management/types/client_refresh_token_configuration.py +++ b/src/auth0/management/types/client_refresh_token_configuration.py @@ -4,6 +4,7 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .client_refresh_token_policy import ClientRefreshTokenPolicy from .refresh_token_expiration_type_enum import RefreshTokenExpirationTypeEnum from .refresh_token_rotation_type_enum import RefreshTokenRotationTypeEnum @@ -40,6 +41,11 @@ class ClientRefreshTokenConfiguration(UniversalBaseModel): Prevents tokens from expiring without use when `true` (takes precedence over `idle_token_lifetime` values) """ + policies: typing.Optional[typing.List[ClientRefreshTokenPolicy]] = pydantic.Field(default=None) + """ + A collection of policies governing multi-resource refresh token exchange (MRRT), defining how refresh tokens can be used across different resource servers + """ + if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 else: diff --git a/src/auth0/management/types/client_refresh_token_policy.py b/src/auth0/management/types/client_refresh_token_policy.py new file mode 100644 index 00000000..de1ded81 --- /dev/null +++ b/src/auth0/management/types/client_refresh_token_policy.py @@ -0,0 +1,27 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class ClientRefreshTokenPolicy(UniversalBaseModel): + audience: str = pydantic.Field() + """ + The identifier of the resource server to which the Multi Resource Refresh Token Policy applies + """ + + scope: typing.List[str] = pydantic.Field() + """ + The resource server permissions granted under the Multi Resource Refresh Token Policy, defining the context in which an access token can be used + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/client_session_transfer_configuration.py b/src/auth0/management/types/client_session_transfer_configuration.py index 80b912b8..d85556b8 100644 --- a/src/auth0/management/types/client_session_transfer_configuration.py +++ b/src/auth0/management/types/client_session_transfer_configuration.py @@ -17,30 +17,30 @@ class ClientSessionTransferConfiguration(UniversalBaseModel): can_create_session_transfer_token: typing.Optional[bool] = pydantic.Field(default=False) """ - Indicates whether an app can issue a Session Transfer Token through Token Exchange. If set to 'false', the app will not be able to issue a Session Transfer Token. Usually configured in the native application. + Indicates whether an app can issue a Session Transfer Token through Token Exchange. If set to 'false', the app will not be able to issue a Session Transfer Token. Usually configured in the native application. Default value is `false`. """ enforce_cascade_revocation: typing.Optional[bool] = pydantic.Field(default=True) """ - Indicates whether revoking the parent Refresh Token that initiated a Native to Web flow and was used to issue a Session Transfer Token should trigger a cascade revocation affecting its dependent child entities. Usually configured in the native application. + Indicates whether revoking the parent Refresh Token that initiated a Native to Web flow and was used to issue a Session Transfer Token should trigger a cascade revocation affecting its dependent child entities. Usually configured in the native application. Default value is `true`, applicable only in Native to Web SSO context. """ allowed_authentication_methods: typing.Optional[ typing.List[ClientSessionTransferAllowedAuthenticationMethodsEnum] ] = pydantic.Field(default=None) """ - Indicates whether an app can create a session from a Session Transfer Token received via indicated methods. Can include `cookie` and/or `query`. Usually configured in the web application. + Indicates whether an app can create a session from a Session Transfer Token received via indicated methods. Can include `cookie` and/or `query`. Usually configured in the web application. Default value is an empty array []. """ enforce_device_binding: typing.Optional[ClientSessionTransferDeviceBindingEnum] = None allow_refresh_token: typing.Optional[bool] = pydantic.Field(default=False) """ - Indicates whether Refresh Tokens are allowed to be issued when authenticating with a Session Transfer Token. Usually configured in the web application. + Indicates whether Refresh Tokens are allowed to be issued when authenticating with a Session Transfer Token. Usually configured in the web application. Default value is `false`. """ enforce_online_refresh_tokens: typing.Optional[bool] = pydantic.Field(default=True) """ - Indicates whether Refresh Tokens created during a native-to-web session are tied to that session's lifetime. This determines if such refresh tokens should be automatically revoked when their corresponding sessions are. Usually configured in the web application. + Indicates whether Refresh Tokens created during a Native to Web session are tied to that session's lifetime. This determines if such refresh tokens should be automatically revoked when their corresponding sessions are. Usually configured in the web application. Default value is `true`, applicable only in Native to Web SSO context. """ if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/client_signing_key.py b/src/auth0/management/types/client_signing_key.py index 9d46e952..2ea9a4d2 100644 --- a/src/auth0/management/types/client_signing_key.py +++ b/src/auth0/management/types/client_signing_key.py @@ -9,7 +9,9 @@ class ClientSigningKey(UniversalBaseModel): - pkcs_7: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="pkcs7")] = pydantic.Field(default="") + pkcs_7: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="pkcs7")] = pydantic.Field( + alias="pkcs7", default="" + ) """ Signing certificate public key and chain in PKCS#7 (.P7B) format. """ diff --git a/src/auth0/management/types/client_token_exchange_type_enum.py b/src/auth0/management/types/client_token_exchange_type_enum.py index d6bc2860..bd3d05ab 100644 --- a/src/auth0/management/types/client_token_exchange_type_enum.py +++ b/src/auth0/management/types/client_token_exchange_type_enum.py @@ -2,4 +2,4 @@ import typing -ClientTokenExchangeTypeEnum = typing.Literal["custom_authentication"] +ClientTokenExchangeTypeEnum = typing.Union[typing.Literal["custom_authentication"], typing.Any] diff --git a/src/auth0/management/types/connected_account.py b/src/auth0/management/types/connected_account.py index 31fd5e8b..dac32e6b 100644 --- a/src/auth0/management/types/connected_account.py +++ b/src/auth0/management/types/connected_account.py @@ -29,7 +29,7 @@ class ConnectedAccount(UniversalBaseModel): The authentication strategy used by the connection. """ - access_type: ConnectedAccountAccessTypeEnum = "offline" + access_type: ConnectedAccountAccessTypeEnum scopes: typing.Optional[typing.List[str]] = pydantic.Field(default=None) """ The scopes granted for this connected account. diff --git a/src/auth0/management/types/connected_account_access_type_enum.py b/src/auth0/management/types/connected_account_access_type_enum.py index 08b8981a..56c88242 100644 --- a/src/auth0/management/types/connected_account_access_type_enum.py +++ b/src/auth0/management/types/connected_account_access_type_enum.py @@ -2,4 +2,4 @@ import typing -ConnectedAccountAccessTypeEnum = typing.Literal["offline"] +ConnectedAccountAccessTypeEnum = typing.Union[typing.Literal["offline"], typing.Any] diff --git a/src/auth0/management/types/connection_admin_access_token_expires_in_google_apps.py b/src/auth0/management/types/connection_admin_access_token_expires_in_google_apps.py new file mode 100644 index 00000000..f0da6a97 --- /dev/null +++ b/src/auth0/management/types/connection_admin_access_token_expires_in_google_apps.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt + +ConnectionAdminAccessTokenExpiresInGoogleApps = dt.datetime diff --git a/src/auth0/management/types/connection_admin_access_token_google_apps.py b/src/auth0/management/types/connection_admin_access_token_google_apps.py new file mode 100644 index 00000000..b87e1d1b --- /dev/null +++ b/src/auth0/management/types/connection_admin_access_token_google_apps.py @@ -0,0 +1,3 @@ +# This file was auto-generated by Fern from our API Definition. + +ConnectionAdminAccessTokenGoogleApps = str diff --git a/src/auth0/management/types/connection_admin_refresh_token_google_apps.py b/src/auth0/management/types/connection_admin_refresh_token_google_apps.py new file mode 100644 index 00000000..8b51aabf --- /dev/null +++ b/src/auth0/management/types/connection_admin_refresh_token_google_apps.py @@ -0,0 +1,3 @@ +# This file was auto-generated by Fern from our API Definition. + +ConnectionAdminRefreshTokenGoogleApps = str diff --git a/src/auth0/management/types/connection_agent_ipad.py b/src/auth0/management/types/connection_agent_ipad.py new file mode 100644 index 00000000..648ee723 --- /dev/null +++ b/src/auth0/management/types/connection_agent_ipad.py @@ -0,0 +1,3 @@ +# This file was auto-generated by Fern from our API Definition. + +ConnectionAgentIpad = str diff --git a/src/auth0/management/types/connection_agent_mode_ad.py b/src/auth0/management/types/connection_agent_mode_ad.py new file mode 100644 index 00000000..0f97c1f4 --- /dev/null +++ b/src/auth0/management/types/connection_agent_mode_ad.py @@ -0,0 +1,3 @@ +# This file was auto-generated by Fern from our API Definition. + +ConnectionAgentModeAd = bool diff --git a/src/auth0/management/types/connection_agent_version_ad.py b/src/auth0/management/types/connection_agent_version_ad.py new file mode 100644 index 00000000..d9aed3ac --- /dev/null +++ b/src/auth0/management/types/connection_agent_version_ad.py @@ -0,0 +1,3 @@ +# This file was auto-generated by Fern from our API Definition. + +ConnectionAgentVersionAd = str diff --git a/src/auth0/management/types/connection_api_enable_users.py b/src/auth0/management/types/connection_api_enable_users.py new file mode 100644 index 00000000..199c6fc4 --- /dev/null +++ b/src/auth0/management/types/connection_api_enable_users.py @@ -0,0 +1,3 @@ +# This file was auto-generated by Fern from our API Definition. + +ConnectionApiEnableUsers = bool diff --git a/src/auth0/management/types/connection_api_enable_users_google_apps.py b/src/auth0/management/types/connection_api_enable_users_google_apps.py new file mode 100644 index 00000000..3f3c719a --- /dev/null +++ b/src/auth0/management/types/connection_api_enable_users_google_apps.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +from .connection_api_enable_users import ConnectionApiEnableUsers + +ConnectionApiEnableUsersGoogleApps = ConnectionApiEnableUsers diff --git a/src/auth0/management/types/connection_attribute_identifier.py b/src/auth0/management/types/connection_attribute_identifier.py index 958ddf5e..142c235e 100644 --- a/src/auth0/management/types/connection_attribute_identifier.py +++ b/src/auth0/management/types/connection_attribute_identifier.py @@ -4,6 +4,7 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .default_method_email_identifier_enum import DefaultMethodEmailIdentifierEnum class ConnectionAttributeIdentifier(UniversalBaseModel): @@ -12,6 +13,8 @@ class ConnectionAttributeIdentifier(UniversalBaseModel): Determines if the attribute is used for identification """ + default_method: typing.Optional[DefaultMethodEmailIdentifierEnum] = None + if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 else: diff --git a/src/auth0/management/types/connection_attribute_map_oidc.py b/src/auth0/management/types/connection_attribute_map_oidc.py index 3e84f398..8f4bcfb8 100644 --- a/src/auth0/management/types/connection_attribute_map_oidc.py +++ b/src/auth0/management/types/connection_attribute_map_oidc.py @@ -11,7 +11,7 @@ class ConnectionAttributeMapOidc(UniversalBaseModel): """ - Mapping of claims received from the identity provider (IdP) + Configuration for mapping claims from the identity provider to Auth0 user profile attributes. Allows customizing which IdP claims populate user fields and how they are transformed. """ attributes: typing.Optional[ConnectionAttributeMapAttributes] = None diff --git a/src/auth0/management/types/connection_auth_params_email.py b/src/auth0/management/types/connection_auth_params_email.py new file mode 100644 index 00000000..25329fb6 --- /dev/null +++ b/src/auth0/management/types/connection_auth_params_email.py @@ -0,0 +1,3 @@ +# This file was auto-generated by Fern from our API Definition. + +ConnectionAuthParamsEmail = str diff --git a/src/auth0/management/types/connection_authentication_methods.py b/src/auth0/management/types/connection_authentication_methods.py index 97733650..d30f6d19 100644 --- a/src/auth0/management/types/connection_authentication_methods.py +++ b/src/auth0/management/types/connection_authentication_methods.py @@ -4,8 +4,10 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .connection_email_otp_authentication_method import ConnectionEmailOtpAuthenticationMethod from .connection_passkey_authentication_method import ConnectionPasskeyAuthenticationMethod from .connection_password_authentication_method import ConnectionPasswordAuthenticationMethod +from .connection_phone_otp_authentication_method import ConnectionPhoneOtpAuthenticationMethod class ConnectionAuthenticationMethods(UniversalBaseModel): @@ -15,6 +17,8 @@ class ConnectionAuthenticationMethods(UniversalBaseModel): password: typing.Optional[ConnectionPasswordAuthenticationMethod] = None passkey: typing.Optional[ConnectionPasskeyAuthenticationMethod] = None + email_otp: typing.Optional[ConnectionEmailOtpAuthenticationMethod] = None + phone_otp: typing.Optional[ConnectionPhoneOtpAuthenticationMethod] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/connection_calculated_thumbprint_saml.py b/src/auth0/management/types/connection_calculated_thumbprint_saml.py new file mode 100644 index 00000000..aeb2b458 --- /dev/null +++ b/src/auth0/management/types/connection_calculated_thumbprint_saml.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +from .connection_sha_1_thumbprint import ConnectionSha1Thumbprint + +ConnectionCalculatedThumbprintSaml = ConnectionSha1Thumbprint diff --git a/src/auth0/management/types/acul_use_page_template.py b/src/auth0/management/types/connection_certs_ad.py similarity index 64% rename from src/auth0/management/types/acul_use_page_template.py rename to src/auth0/management/types/connection_certs_ad.py index 0552d649..fe8e682b 100644 --- a/src/auth0/management/types/acul_use_page_template.py +++ b/src/auth0/management/types/connection_certs_ad.py @@ -2,4 +2,4 @@ import typing -AculUsePageTemplate = typing.Optional[bool] +ConnectionCertsAd = typing.List[str] diff --git a/src/auth0/management/types/connection_client_id_facebook.py b/src/auth0/management/types/connection_client_id_facebook.py new file mode 100644 index 00000000..69657042 --- /dev/null +++ b/src/auth0/management/types/connection_client_id_facebook.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +from .connection_client_id import ConnectionClientId + +ConnectionClientIdFacebook = ConnectionClientId diff --git a/src/auth0/management/types/connection_client_id_google_apps.py b/src/auth0/management/types/connection_client_id_google_apps.py new file mode 100644 index 00000000..e5099d26 --- /dev/null +++ b/src/auth0/management/types/connection_client_id_google_apps.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +from .connection_client_id import ConnectionClientId + +ConnectionClientIdGoogleApps = ConnectionClientId diff --git a/src/auth0/management/types/connection_client_id_google_o_auth_2.py b/src/auth0/management/types/connection_client_id_google_o_auth_2.py index 88bf2a8b..f1b75891 100644 --- a/src/auth0/management/types/connection_client_id_google_o_auth_2.py +++ b/src/auth0/management/types/connection_client_id_google_o_auth_2.py @@ -1,5 +1,3 @@ # This file was auto-generated by Fern from our API Definition. -import typing - -ConnectionClientIdGoogleOAuth2 = typing.Optional[str] +ConnectionClientIdGoogleOAuth2 = str diff --git a/src/auth0/management/types/connection_client_protocol_saml.py b/src/auth0/management/types/connection_client_protocol_saml.py new file mode 100644 index 00000000..39275990 --- /dev/null +++ b/src/auth0/management/types/connection_client_protocol_saml.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +from .connection_options_idp_initiated_client_protocol_enum_saml import ( + ConnectionOptionsIdpInitiatedClientProtocolEnumSaml, +) + +ConnectionClientProtocolSaml = ConnectionOptionsIdpInitiatedClientProtocolEnumSaml diff --git a/src/auth0/management/types/connection_client_secret_facebook.py b/src/auth0/management/types/connection_client_secret_facebook.py new file mode 100644 index 00000000..06be20fb --- /dev/null +++ b/src/auth0/management/types/connection_client_secret_facebook.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +from .connection_client_secret import ConnectionClientSecret + +ConnectionClientSecretFacebook = ConnectionClientSecret diff --git a/src/auth0/management/types/connection_client_secret_google_apps.py b/src/auth0/management/types/connection_client_secret_google_apps.py new file mode 100644 index 00000000..0440a1e7 --- /dev/null +++ b/src/auth0/management/types/connection_client_secret_google_apps.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +from .connection_client_secret import ConnectionClientSecret + +ConnectionClientSecretGoogleApps = ConnectionClientSecret diff --git a/src/auth0/management/types/connection_client_secret_google_o_auth_2.py b/src/auth0/management/types/connection_client_secret_google_o_auth_2.py index 806e5768..29ec9f38 100644 --- a/src/auth0/management/types/connection_client_secret_google_o_auth_2.py +++ b/src/auth0/management/types/connection_client_secret_google_o_auth_2.py @@ -1,5 +1,3 @@ # This file was auto-generated by Fern from our API Definition. -import typing - -ConnectionClientSecretGoogleOAuth2 = typing.Optional[str] +ConnectionClientSecretGoogleOAuth2 = str diff --git a/src/auth0/management/types/connection_common.py b/src/auth0/management/types/connection_common.py index 648ff0d4..e013a944 100644 --- a/src/auth0/management/types/connection_common.py +++ b/src/auth0/management/types/connection_common.py @@ -9,8 +9,6 @@ from .connection_display_name import ConnectionDisplayName from .connection_enabled_clients import ConnectionEnabledClients from .connection_is_domain_connection import ConnectionIsDomainConnection -from .connection_realms import ConnectionRealms -from .connection_show_as_button import ConnectionShowAsButton from .connections_metadata import ConnectionsMetadata @@ -21,8 +19,6 @@ class ConnectionCommon(UniversalBaseModel): enabled_clients: typing.Optional[ConnectionEnabledClients] = None is_domain_connection: typing.Optional[ConnectionIsDomainConnection] = None metadata: typing.Optional[ConnectionsMetadata] = None - realms: typing.Optional[ConnectionRealms] = None - show_as_button: typing.Optional[ConnectionShowAsButton] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/connection_connection_settings.py b/src/auth0/management/types/connection_connection_settings.py index 825235bc..cabbeedc 100644 --- a/src/auth0/management/types/connection_connection_settings.py +++ b/src/auth0/management/types/connection_connection_settings.py @@ -9,7 +9,7 @@ class ConnectionConnectionSettings(UniversalBaseModel): """ - PKCE configuration for the connection + OAuth 2.0 PKCE (Proof Key for Code Exchange) settings. PKCE enhances security for public clients by preventing authorization code interception attacks. 'auto' (recommended) uses the strongest method supported by the IdP. """ pkce: typing.Optional[ConnectionConnectionSettingsPkceEnum] = None diff --git a/src/auth0/management/types/connection_debug_saml.py b/src/auth0/management/types/connection_debug_saml.py new file mode 100644 index 00000000..d0c9f736 --- /dev/null +++ b/src/auth0/management/types/connection_debug_saml.py @@ -0,0 +1,3 @@ +# This file was auto-generated by Fern from our API Definition. + +ConnectionDebugSaml = bool diff --git a/src/auth0/management/types/connection_decryption_key_saml.py b/src/auth0/management/types/connection_decryption_key_saml.py new file mode 100644 index 00000000..52bdcc55 --- /dev/null +++ b/src/auth0/management/types/connection_decryption_key_saml.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .connection_decryption_key_saml_cert import ConnectionDecryptionKeySamlCert + +ConnectionDecryptionKeySaml = typing.Union[ConnectionDecryptionKeySamlCert, str] diff --git a/src/auth0/management/types/connection_decryption_key_saml_cert.py b/src/auth0/management/types/connection_decryption_key_saml_cert.py new file mode 100644 index 00000000..01af7c28 --- /dev/null +++ b/src/auth0/management/types/connection_decryption_key_saml_cert.py @@ -0,0 +1,31 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class ConnectionDecryptionKeySamlCert(UniversalBaseModel): + """ + Key pair with 'key' and 'cert' properties. + """ + + cert: typing.Optional[str] = pydantic.Field(default=None) + """ + Base64-encoded X.509 certificate in PEM format. + """ + + key: typing.Optional[str] = pydantic.Field(default=None) + """ + Private key in PEM format. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/connection_destination_url_saml.py b/src/auth0/management/types/connection_destination_url_saml.py new file mode 100644 index 00000000..d2563d46 --- /dev/null +++ b/src/auth0/management/types/connection_destination_url_saml.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +from .connection_https_url_with_http_fallback_255 import ConnectionHttpsUrlWithHttpFallback255 + +ConnectionDestinationUrlSaml = ConnectionHttpsUrlWithHttpFallback255 diff --git a/src/auth0/management/types/connection_digest_algorithm_enum_saml.py b/src/auth0/management/types/connection_digest_algorithm_enum_saml.py new file mode 100644 index 00000000..a0321cf4 --- /dev/null +++ b/src/auth0/management/types/connection_digest_algorithm_enum_saml.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ConnectionDigestAlgorithmEnumSaml = typing.Union[typing.Literal["sha1", "sha256"], typing.Any] diff --git a/src/auth0/management/types/connection_digest_algorithm_saml.py b/src/auth0/management/types/connection_digest_algorithm_saml.py new file mode 100644 index 00000000..a55c6d30 --- /dev/null +++ b/src/auth0/management/types/connection_digest_algorithm_saml.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +from .connection_digest_algorithm_enum_saml import ConnectionDigestAlgorithmEnumSaml + +ConnectionDigestAlgorithmSaml = ConnectionDigestAlgorithmEnumSaml diff --git a/src/auth0/management/types/connection_disable_signup_sms.py b/src/auth0/management/types/connection_disable_signup_sms.py new file mode 100644 index 00000000..2476d031 --- /dev/null +++ b/src/auth0/management/types/connection_disable_signup_sms.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +from .connection_disable_signup import ConnectionDisableSignup + +ConnectionDisableSignupSms = ConnectionDisableSignup diff --git a/src/auth0/management/types/connection_discovery_url.py b/src/auth0/management/types/connection_discovery_url.py index df2d9e1b..1d9f41cb 100644 --- a/src/auth0/management/types/connection_discovery_url.py +++ b/src/auth0/management/types/connection_discovery_url.py @@ -1,3 +1,5 @@ # This file was auto-generated by Fern from our API Definition. -ConnectionDiscoveryUrl = str +from .connection_https_url_with_http_fallback_255 import ConnectionHttpsUrlWithHttpFallback255 + +ConnectionDiscoveryUrl = ConnectionHttpsUrlWithHttpFallback255 diff --git a/src/auth0/management/types/connection_domain_aliases.py b/src/auth0/management/types/connection_domain_aliases.py new file mode 100644 index 00000000..93aff9a5 --- /dev/null +++ b/src/auth0/management/types/connection_domain_aliases.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .connection_domain_aliases_items_one import ConnectionDomainAliasesItemsOne + +ConnectionDomainAliases = typing.List[ConnectionDomainAliasesItemsOne] diff --git a/src/auth0/management/types/connection_domain_aliases_one.py b/src/auth0/management/types/connection_domain_aliases_ad.py similarity index 63% rename from src/auth0/management/types/connection_domain_aliases_one.py rename to src/auth0/management/types/connection_domain_aliases_ad.py index 88913d08..5d217867 100644 --- a/src/auth0/management/types/connection_domain_aliases_one.py +++ b/src/auth0/management/types/connection_domain_aliases_ad.py @@ -2,4 +2,4 @@ import typing -ConnectionDomainAliasesOne = typing.List[str] +ConnectionDomainAliasesAd = typing.List[str] diff --git a/src/auth0/management/types/connection_domain_aliases_items_one.py b/src/auth0/management/types/connection_domain_aliases_items_one.py new file mode 100644 index 00000000..90c3eddf --- /dev/null +++ b/src/auth0/management/types/connection_domain_aliases_items_one.py @@ -0,0 +1,3 @@ +# This file was auto-generated by Fern from our API Definition. + +ConnectionDomainAliasesItemsOne = str diff --git a/src/auth0/management/types/connection_domain_aliases_saml.py b/src/auth0/management/types/connection_domain_aliases_saml.py new file mode 100644 index 00000000..634a6eb7 --- /dev/null +++ b/src/auth0/management/types/connection_domain_aliases_saml.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .connection_domain_aliases_items_one import ConnectionDomainAliasesItemsOne + +ConnectionDomainAliasesSaml = typing.List[ConnectionDomainAliasesItemsOne] diff --git a/src/auth0/management/types/connection_domain_google_apps.py b/src/auth0/management/types/connection_domain_google_apps.py new file mode 100644 index 00000000..8f882d22 --- /dev/null +++ b/src/auth0/management/types/connection_domain_google_apps.py @@ -0,0 +1,3 @@ +# This file was auto-generated by Fern from our API Definition. + +ConnectionDomainGoogleApps = str diff --git a/src/auth0/management/types/connection_email_body_email.py b/src/auth0/management/types/connection_email_body_email.py new file mode 100644 index 00000000..09efd532 --- /dev/null +++ b/src/auth0/management/types/connection_email_body_email.py @@ -0,0 +1,3 @@ +# This file was auto-generated by Fern from our API Definition. + +ConnectionEmailBodyEmail = str diff --git a/src/auth0/management/types/connection_email_email.py b/src/auth0/management/types/connection_email_email.py new file mode 100644 index 00000000..26796ffb --- /dev/null +++ b/src/auth0/management/types/connection_email_email.py @@ -0,0 +1,37 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +import typing_extensions +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from ..core.serialization import FieldMetadata +from .connection_email_body_email import ConnectionEmailBodyEmail +from .connection_email_email_syntax import ConnectionEmailEmailSyntax +from .connection_email_from_email import ConnectionEmailFromEmail +from .connection_email_subject_email import ConnectionEmailSubjectEmail + + +class ConnectionEmailEmail(UniversalBaseModel): + """ + Email template configuration + """ + + body: typing.Optional[ConnectionEmailBodyEmail] = None + from_: typing_extensions.Annotated[typing.Optional[ConnectionEmailFromEmail], FieldMetadata(alias="from")] = ( + pydantic.Field(alias="from", default=None) + ) + subject: typing.Optional[ConnectionEmailSubjectEmail] = None + syntax: typing.Optional[ConnectionEmailEmailSyntax] = pydantic.Field(default=None) + """ + Email template syntax type + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/acul_head_tags.py b/src/auth0/management/types/connection_email_email_syntax.py similarity index 50% rename from src/auth0/management/types/acul_head_tags.py rename to src/auth0/management/types/connection_email_email_syntax.py index 32c93002..d1f68902 100644 --- a/src/auth0/management/types/acul_head_tags.py +++ b/src/auth0/management/types/connection_email_email_syntax.py @@ -2,6 +2,4 @@ import typing -from .acul_head_tag import AculHeadTag - -AculHeadTags = typing.List[AculHeadTag] +ConnectionEmailEmailSyntax = typing.Union[typing.Literal["liquid"], typing.Any] diff --git a/src/auth0/management/types/connection_email_from_email.py b/src/auth0/management/types/connection_email_from_email.py new file mode 100644 index 00000000..74cfccb4 --- /dev/null +++ b/src/auth0/management/types/connection_email_from_email.py @@ -0,0 +1,3 @@ +# This file was auto-generated by Fern from our API Definition. + +ConnectionEmailFromEmail = str diff --git a/src/auth0/management/types/connection_email_otp_authentication_method.py b/src/auth0/management/types/connection_email_otp_authentication_method.py new file mode 100644 index 00000000..efc8b92e --- /dev/null +++ b/src/auth0/management/types/connection_email_otp_authentication_method.py @@ -0,0 +1,26 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class ConnectionEmailOtpAuthenticationMethod(UniversalBaseModel): + """ + Email OTP authentication enablement + """ + + enabled: typing.Optional[bool] = pydantic.Field(default=None) + """ + Determines whether email OTP is enabled + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/connection_email_subject_email.py b/src/auth0/management/types/connection_email_subject_email.py new file mode 100644 index 00000000..fc1649e2 --- /dev/null +++ b/src/auth0/management/types/connection_email_subject_email.py @@ -0,0 +1,3 @@ +# This file was auto-generated by Fern from our API Definition. + +ConnectionEmailSubjectEmail = str diff --git a/src/auth0/management/types/connection_entity_id_saml.py b/src/auth0/management/types/connection_entity_id_saml.py new file mode 100644 index 00000000..a0cdd3a7 --- /dev/null +++ b/src/auth0/management/types/connection_entity_id_saml.py @@ -0,0 +1,3 @@ +# This file was auto-generated by Fern from our API Definition. + +ConnectionEntityIdSaml = str diff --git a/src/auth0/management/types/connection_ext_agreed_terms_google_apps.py b/src/auth0/management/types/connection_ext_agreed_terms_google_apps.py new file mode 100644 index 00000000..1e81d22d --- /dev/null +++ b/src/auth0/management/types/connection_ext_agreed_terms_google_apps.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +from .connection_ext_agreed_terms import ConnectionExtAgreedTerms + +ConnectionExtAgreedTermsGoogleApps = ConnectionExtAgreedTerms diff --git a/src/auth0/management/types/connection_ext_groups_azure_ad.py b/src/auth0/management/types/connection_ext_groups_azure_ad.py new file mode 100644 index 00000000..d80a78f0 --- /dev/null +++ b/src/auth0/management/types/connection_ext_groups_azure_ad.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +from .connection_ext_groups import ConnectionExtGroups + +ConnectionExtGroupsAzureAd = ConnectionExtGroups diff --git a/src/auth0/management/types/connection_ext_groups_google_apps.py b/src/auth0/management/types/connection_ext_groups_google_apps.py new file mode 100644 index 00000000..5fee5f11 --- /dev/null +++ b/src/auth0/management/types/connection_ext_groups_google_apps.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +from .connection_ext_groups import ConnectionExtGroups + +ConnectionExtGroupsGoogleApps = ConnectionExtGroups diff --git a/src/auth0/management/types/connection_ext_is_admin_google_apps.py b/src/auth0/management/types/connection_ext_is_admin_google_apps.py new file mode 100644 index 00000000..2a5ee565 --- /dev/null +++ b/src/auth0/management/types/connection_ext_is_admin_google_apps.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +from .connection_ext_admin import ConnectionExtAdmin + +ConnectionExtIsAdminGoogleApps = ConnectionExtAdmin diff --git a/src/auth0/management/types/connection_ext_is_suspended_google_apps.py b/src/auth0/management/types/connection_ext_is_suspended_google_apps.py new file mode 100644 index 00000000..d0851de4 --- /dev/null +++ b/src/auth0/management/types/connection_ext_is_suspended_google_apps.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +from .connection_ext_is_suspended import ConnectionExtIsSuspended + +ConnectionExtIsSuspendedGoogleApps = ConnectionExtIsSuspended diff --git a/src/auth0/management/types/connection_fields_map_saml.py b/src/auth0/management/types/connection_fields_map_saml.py new file mode 100644 index 00000000..9f04bc74 --- /dev/null +++ b/src/auth0/management/types/connection_fields_map_saml.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .connection_fields_map_saml_value import ConnectionFieldsMapSamlValue + +ConnectionFieldsMapSaml = typing.Dict[str, ConnectionFieldsMapSamlValue] diff --git a/src/auth0/management/types/connection_options_evernote_common.py b/src/auth0/management/types/connection_fields_map_saml_value.py similarity index 54% rename from src/auth0/management/types/connection_options_evernote_common.py rename to src/auth0/management/types/connection_fields_map_saml_value.py index 7c84c20c..523371cf 100644 --- a/src/auth0/management/types/connection_options_evernote_common.py +++ b/src/auth0/management/types/connection_fields_map_saml_value.py @@ -2,4 +2,4 @@ import typing -ConnectionOptionsEvernoteCommon = typing.Dict[str, typing.Any] +ConnectionFieldsMapSamlValue = typing.Union[str, typing.List[str]] diff --git a/src/auth0/management/types/connection_forward_req_info_sms.py b/src/auth0/management/types/connection_forward_req_info_sms.py new file mode 100644 index 00000000..d1378aa5 --- /dev/null +++ b/src/auth0/management/types/connection_forward_req_info_sms.py @@ -0,0 +1,3 @@ +# This file was auto-generated by Fern from our API Definition. + +ConnectionForwardReqInfoSms = bool diff --git a/src/auth0/management/types/connection_from_sms.py b/src/auth0/management/types/connection_from_sms.py new file mode 100644 index 00000000..871314cc --- /dev/null +++ b/src/auth0/management/types/connection_from_sms.py @@ -0,0 +1,3 @@ +# This file was auto-generated by Fern from our API Definition. + +ConnectionFromSms = str diff --git a/src/auth0/management/types/connection_gateway_authentication.py b/src/auth0/management/types/connection_gateway_authentication.py index c9d0a324..b4b9781f 100644 --- a/src/auth0/management/types/connection_gateway_authentication.py +++ b/src/auth0/management/types/connection_gateway_authentication.py @@ -35,7 +35,7 @@ class ConnectionGatewayAuthentication(UniversalBaseModel): secret_base_64_encoded: typing_extensions.Annotated[ typing.Optional[bool], FieldMetadata(alias="secret_base64_encoded") - ] = pydantic.Field(default=None) + ] = pydantic.Field(alias="secret_base64_encoded", default=None) """ Set to true if the provided secret is base64 encoded. """ diff --git a/src/auth0/management/types/connection_gateway_authentication_audience_sms.py b/src/auth0/management/types/connection_gateway_authentication_audience_sms.py new file mode 100644 index 00000000..4a1e039f --- /dev/null +++ b/src/auth0/management/types/connection_gateway_authentication_audience_sms.py @@ -0,0 +1,3 @@ +# This file was auto-generated by Fern from our API Definition. + +ConnectionGatewayAuthenticationAudienceSms = str diff --git a/src/auth0/management/types/connection_gateway_authentication_method_sms.py b/src/auth0/management/types/connection_gateway_authentication_method_sms.py new file mode 100644 index 00000000..902bdf50 --- /dev/null +++ b/src/auth0/management/types/connection_gateway_authentication_method_sms.py @@ -0,0 +1,3 @@ +# This file was auto-generated by Fern from our API Definition. + +ConnectionGatewayAuthenticationMethodSms = str diff --git a/src/auth0/management/types/connection_gateway_authentication_sms.py b/src/auth0/management/types/connection_gateway_authentication_sms.py new file mode 100644 index 00000000..0591618e --- /dev/null +++ b/src/auth0/management/types/connection_gateway_authentication_sms.py @@ -0,0 +1,42 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +import typing_extensions +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from ..core.serialization import FieldMetadata +from .connection_gateway_authentication_audience_sms import ConnectionGatewayAuthenticationAudienceSms +from .connection_gateway_authentication_method_sms import ConnectionGatewayAuthenticationMethodSms +from .connection_gateway_authentication_subject_sms import ConnectionGatewayAuthenticationSubjectSms + + +class ConnectionGatewayAuthenticationSms(UniversalBaseModel): + """ + Optional token-based authentication configuration for the SMS gateway + """ + + audience: ConnectionGatewayAuthenticationAudienceSms + method: ConnectionGatewayAuthenticationMethodSms + secret: str = pydantic.Field() + """ + The secret used to sign the JSON Web Token sent to the SMS gateway + """ + + secret_base_64_encoded: typing_extensions.Annotated[ + typing.Optional[bool], FieldMetadata(alias="secret_base64_encoded") + ] = pydantic.Field(alias="secret_base64_encoded", default=False) + """ + Set to true if the secret is base64-url-encoded + """ + + subject: typing.Optional[ConnectionGatewayAuthenticationSubjectSms] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/connection_gateway_authentication_subject_sms.py b/src/auth0/management/types/connection_gateway_authentication_subject_sms.py new file mode 100644 index 00000000..d99a26ed --- /dev/null +++ b/src/auth0/management/types/connection_gateway_authentication_subject_sms.py @@ -0,0 +1,3 @@ +# This file was auto-generated by Fern from our API Definition. + +ConnectionGatewayAuthenticationSubjectSms = str diff --git a/src/auth0/management/types/connection_gateway_url_sms.py b/src/auth0/management/types/connection_gateway_url_sms.py new file mode 100644 index 00000000..f044a23d --- /dev/null +++ b/src/auth0/management/types/connection_gateway_url_sms.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +from .connection_https_url_with_http_fallback_255 import ConnectionHttpsUrlWithHttpFallback255 + +ConnectionGatewayUrlSms = ConnectionHttpsUrlWithHttpFallback255 diff --git a/src/auth0/management/types/connection_global_token_revocation_jwt_iss_saml.py b/src/auth0/management/types/connection_global_token_revocation_jwt_iss_saml.py new file mode 100644 index 00000000..ad0087c9 --- /dev/null +++ b/src/auth0/management/types/connection_global_token_revocation_jwt_iss_saml.py @@ -0,0 +1,3 @@ +# This file was auto-generated by Fern from our API Definition. + +ConnectionGlobalTokenRevocationJwtIssSaml = str diff --git a/src/auth0/management/types/connection_global_token_revocation_jwt_sub_saml.py b/src/auth0/management/types/connection_global_token_revocation_jwt_sub_saml.py new file mode 100644 index 00000000..1262fb43 --- /dev/null +++ b/src/auth0/management/types/connection_global_token_revocation_jwt_sub_saml.py @@ -0,0 +1,3 @@ +# This file was auto-generated by Fern from our API Definition. + +ConnectionGlobalTokenRevocationJwtSubSaml = str diff --git a/src/auth0/management/types/connection_handle_login_from_social_google_apps.py b/src/auth0/management/types/connection_handle_login_from_social_google_apps.py new file mode 100644 index 00000000..0cfb0b23 --- /dev/null +++ b/src/auth0/management/types/connection_handle_login_from_social_google_apps.py @@ -0,0 +1,3 @@ +# This file was auto-generated by Fern from our API Definition. + +ConnectionHandleLoginFromSocialGoogleApps = bool diff --git a/src/auth0/management/types/connection_https_url_with_http_fallback_2048.py b/src/auth0/management/types/connection_https_url_with_http_fallback_2048.py new file mode 100644 index 00000000..0d143fc6 --- /dev/null +++ b/src/auth0/management/types/connection_https_url_with_http_fallback_2048.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +from .connection_https_url_with_http_fallback import ConnectionHttpsUrlWithHttpFallback + +ConnectionHttpsUrlWithHttpFallback2048 = ConnectionHttpsUrlWithHttpFallback diff --git a/src/auth0/management/types/connection_https_url_with_http_fallback_255.py b/src/auth0/management/types/connection_https_url_with_http_fallback_255.py new file mode 100644 index 00000000..0cd1d0fd --- /dev/null +++ b/src/auth0/management/types/connection_https_url_with_http_fallback_255.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +from .connection_https_url_with_http_fallback import ConnectionHttpsUrlWithHttpFallback + +ConnectionHttpsUrlWithHttpFallback255 = ConnectionHttpsUrlWithHttpFallback diff --git a/src/auth0/management/types/connection_icon_url_adfs.py b/src/auth0/management/types/connection_icon_url_adfs.py new file mode 100644 index 00000000..d4d083f6 --- /dev/null +++ b/src/auth0/management/types/connection_icon_url_adfs.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +from .connection_icon_url import ConnectionIconUrl + +ConnectionIconUrlAdfs = ConnectionIconUrl diff --git a/src/auth0/management/types/connection_icon_url_google_apps.py b/src/auth0/management/types/connection_icon_url_google_apps.py new file mode 100644 index 00000000..9e039ee4 --- /dev/null +++ b/src/auth0/management/types/connection_icon_url_google_apps.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +from .connection_icon_url import ConnectionIconUrl + +ConnectionIconUrlGoogleApps = ConnectionIconUrl diff --git a/src/auth0/management/types/connection_icon_url_saml.py b/src/auth0/management/types/connection_icon_url_saml.py new file mode 100644 index 00000000..83887fd7 --- /dev/null +++ b/src/auth0/management/types/connection_icon_url_saml.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +from .connection_icon_url import ConnectionIconUrl + +ConnectionIconUrlSaml = ConnectionIconUrl diff --git a/src/auth0/management/types/acul_default_head_tags_disabled.py b/src/auth0/management/types/connection_ips_ad.py similarity index 60% rename from src/auth0/management/types/acul_default_head_tags_disabled.py rename to src/auth0/management/types/connection_ips_ad.py index 59b98a74..b7839384 100644 --- a/src/auth0/management/types/acul_default_head_tags_disabled.py +++ b/src/auth0/management/types/connection_ips_ad.py @@ -2,4 +2,4 @@ import typing -AculDefaultHeadTagsDisabled = typing.Optional[bool] +ConnectionIpsAd = typing.List[str] diff --git a/src/auth0/management/types/connection_issuer.py b/src/auth0/management/types/connection_issuer.py index 09098ab4..5dca28b7 100644 --- a/src/auth0/management/types/connection_issuer.py +++ b/src/auth0/management/types/connection_issuer.py @@ -1,5 +1,5 @@ # This file was auto-generated by Fern from our API Definition. -from .connection_https_url_with_http_fallback import ConnectionHttpsUrlWithHttpFallback +from .connection_https_url_with_http_fallback_255 import ConnectionHttpsUrlWithHttpFallback255 -ConnectionIssuer = ConnectionHttpsUrlWithHttpFallback +ConnectionIssuer = ConnectionHttpsUrlWithHttpFallback255 diff --git a/src/auth0/management/types/connection_jwks_uri.py b/src/auth0/management/types/connection_jwks_uri.py index 670c8448..dea53fbc 100644 --- a/src/auth0/management/types/connection_jwks_uri.py +++ b/src/auth0/management/types/connection_jwks_uri.py @@ -1,5 +1,5 @@ # This file was auto-generated by Fern from our API Definition. -from .connection_https_url_with_http_fallback import ConnectionHttpsUrlWithHttpFallback +from .connection_https_url_with_http_fallback_255 import ConnectionHttpsUrlWithHttpFallback255 -ConnectionJwksUri = ConnectionHttpsUrlWithHttpFallback +ConnectionJwksUri = ConnectionHttpsUrlWithHttpFallback255 diff --git a/src/auth0/management/types/connection_messaging_service_sid_sms.py b/src/auth0/management/types/connection_messaging_service_sid_sms.py new file mode 100644 index 00000000..53004128 --- /dev/null +++ b/src/auth0/management/types/connection_messaging_service_sid_sms.py @@ -0,0 +1,3 @@ +# This file was auto-generated by Fern from our API Definition. + +ConnectionMessagingServiceSidSms = str diff --git a/src/auth0/management/types/connection_metadata_url_saml.py b/src/auth0/management/types/connection_metadata_url_saml.py new file mode 100644 index 00000000..1a9d8575 --- /dev/null +++ b/src/auth0/management/types/connection_metadata_url_saml.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +from .connection_https_url_with_http_fallback_2048 import ConnectionHttpsUrlWithHttpFallback2048 + +ConnectionMetadataUrlSaml = ConnectionHttpsUrlWithHttpFallback2048 diff --git a/src/auth0/management/types/connection_metadata_xml.py b/src/auth0/management/types/connection_metadata_xml.py new file mode 100644 index 00000000..885c40ff --- /dev/null +++ b/src/auth0/management/types/connection_metadata_xml.py @@ -0,0 +1,3 @@ +# This file was auto-generated by Fern from our API Definition. + +ConnectionMetadataXml = str diff --git a/src/auth0/management/types/connection_metadata_xml_adfs.py b/src/auth0/management/types/connection_metadata_xml_adfs.py new file mode 100644 index 00000000..f753c212 --- /dev/null +++ b/src/auth0/management/types/connection_metadata_xml_adfs.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +from .connection_metadata_xml import ConnectionMetadataXml + +ConnectionMetadataXmlAdfs = ConnectionMetadataXml diff --git a/src/auth0/management/types/connection_metadata_xml_saml.py b/src/auth0/management/types/connection_metadata_xml_saml.py new file mode 100644 index 00000000..49d4fb80 --- /dev/null +++ b/src/auth0/management/types/connection_metadata_xml_saml.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +from .connection_metadata_xml import ConnectionMetadataXml + +ConnectionMetadataXmlSaml = ConnectionMetadataXml diff --git a/src/auth0/management/types/connection_op_policy_uri.py b/src/auth0/management/types/connection_op_policy_uri.py index bddb7b1f..9ecbc897 100644 --- a/src/auth0/management/types/connection_op_policy_uri.py +++ b/src/auth0/management/types/connection_op_policy_uri.py @@ -1,5 +1,5 @@ # This file was auto-generated by Fern from our API Definition. -from .connection_https_url_with_http_fallback import ConnectionHttpsUrlWithHttpFallback +from .connection_https_url_with_http_fallback_255 import ConnectionHttpsUrlWithHttpFallback255 -ConnectionOpPolicyUri = ConnectionHttpsUrlWithHttpFallback +ConnectionOpPolicyUri = ConnectionHttpsUrlWithHttpFallback255 diff --git a/src/auth0/management/types/connection_op_tos_uri.py b/src/auth0/management/types/connection_op_tos_uri.py index e8cd877d..4e017897 100644 --- a/src/auth0/management/types/connection_op_tos_uri.py +++ b/src/auth0/management/types/connection_op_tos_uri.py @@ -1,5 +1,5 @@ # This file was auto-generated by Fern from our API Definition. -from .connection_https_url_with_http_fallback import ConnectionHttpsUrlWithHttpFallback +from .connection_https_url_with_http_fallback_255 import ConnectionHttpsUrlWithHttpFallback255 -ConnectionOpTosUri = ConnectionHttpsUrlWithHttpFallback +ConnectionOpTosUri = ConnectionHttpsUrlWithHttpFallback255 diff --git a/src/auth0/management/types/connection_options_ad.py b/src/auth0/management/types/connection_options_ad.py index c81082ea..f43827e4 100644 --- a/src/auth0/management/types/connection_options_ad.py +++ b/src/auth0/management/types/connection_options_ad.py @@ -2,4 +2,80 @@ import typing -ConnectionOptionsAd = typing.Dict[str, typing.Any] +import pydantic +import typing_extensions +from ..core.pydantic_utilities import IS_PYDANTIC_V2 +from ..core.serialization import FieldMetadata +from .connection_agent_ipad import ConnectionAgentIpad +from .connection_agent_mode_ad import ConnectionAgentModeAd +from .connection_agent_version_ad import ConnectionAgentVersionAd +from .connection_brute_force_protection import ConnectionBruteForceProtection +from .connection_certs_ad import ConnectionCertsAd +from .connection_domain_aliases_ad import ConnectionDomainAliasesAd +from .connection_icon_url import ConnectionIconUrl +from .connection_ips_ad import ConnectionIpsAd +from .connection_options_common import ConnectionOptionsCommon +from .connection_set_user_root_attributes_enum import ConnectionSetUserRootAttributesEnum +from .connection_sign_in_endpoint_ad import ConnectionSignInEndpointAd +from .connection_tenant_domain_ad import ConnectionTenantDomainAd +from .connection_thumbprints_ad import ConnectionThumbprintsAd +from .connection_upstream_params import ConnectionUpstreamParams + + +class ConnectionOptionsAd(ConnectionOptionsCommon): + """ + Options for the 'ad' connection + """ + + agent_ip: typing_extensions.Annotated[typing.Optional[ConnectionAgentIpad], FieldMetadata(alias="agentIP")] = ( + pydantic.Field(alias="agentIP", default=None) + ) + agent_mode: typing_extensions.Annotated[ + typing.Optional[ConnectionAgentModeAd], FieldMetadata(alias="agentMode") + ] = pydantic.Field(alias="agentMode", default=None) + agent_version: typing_extensions.Annotated[ + typing.Optional[ConnectionAgentVersionAd], FieldMetadata(alias="agentVersion") + ] = pydantic.Field(alias="agentVersion", default=None) + brute_force_protection: typing.Optional[ConnectionBruteForceProtection] = None + cert_auth: typing_extensions.Annotated[typing.Optional[bool], FieldMetadata(alias="certAuth")] = pydantic.Field( + alias="certAuth", default=None + ) + """ + Enables client SSL certificate authentication for the AD connector, requiring HTTPS on the sign-in endpoint + """ + + certs: typing.Optional[ConnectionCertsAd] = None + disable_cache: typing.Optional[bool] = pydantic.Field(default=None) + """ + When enabled, disables caching of AD connector authentication results to ensure real-time validation against the directory + """ + + disable_self_service_change_password: typing.Optional[bool] = pydantic.Field(default=None) + """ + When enabled, hides the 'Forgot Password' link on login pages to prevent users from initiating self-service password resets + """ + + domain_aliases: typing.Optional[ConnectionDomainAliasesAd] = None + icon_url: typing.Optional[ConnectionIconUrl] = None + ips: typing.Optional[ConnectionIpsAd] = None + kerberos: typing.Optional[bool] = pydantic.Field(default=False) + """ + Enables Windows Integrated Authentication (Kerberos) for seamless SSO when users authenticate from within the corporate network IP ranges + """ + + set_user_root_attributes: typing.Optional[ConnectionSetUserRootAttributesEnum] = None + sign_in_endpoint: typing_extensions.Annotated[ + typing.Optional[ConnectionSignInEndpointAd], FieldMetadata(alias="signInEndpoint") + ] = pydantic.Field(alias="signInEndpoint", default=None) + tenant_domain: typing.Optional[ConnectionTenantDomainAd] = None + thumbprints: typing.Optional[ConnectionThumbprintsAd] = None + upstream_params: typing.Optional[ConnectionUpstreamParams] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/connection_options_adfs.py b/src/auth0/management/types/connection_options_adfs.py index 6a1d0f3a..7f6cf9f2 100644 --- a/src/auth0/management/types/connection_options_adfs.py +++ b/src/auth0/management/types/connection_options_adfs.py @@ -2,4 +2,63 @@ import typing -ConnectionOptionsAdfs = typing.Dict[str, typing.Any] +import pydantic +import typing_extensions +from ..core.pydantic_utilities import IS_PYDANTIC_V2 +from ..core.serialization import FieldMetadata +from .connection_domain_aliases import ConnectionDomainAliases +from .connection_icon_url_adfs import ConnectionIconUrlAdfs +from .connection_metadata_xml_adfs import ConnectionMetadataXmlAdfs +from .connection_options_common import ConnectionOptionsCommon +from .connection_set_user_root_attributes_enum import ConnectionSetUserRootAttributesEnum +from .connection_should_trust_email_verified_connection_enum import ConnectionShouldTrustEmailVerifiedConnectionEnum +from .connection_sign_in_endpoint_adfs import ConnectionSignInEndpointAdfs +from .connection_tenant_domain import ConnectionTenantDomain +from .connection_thumbprints import ConnectionThumbprints +from .connection_upstream_params_adfs import ConnectionUpstreamParamsAdfs + + +class ConnectionOptionsAdfs(ConnectionOptionsCommon): + """ + Options for the 'adfs' connection + """ + + adfs_server: typing.Optional[str] = pydantic.Field(default=None) + """ + ADFS federation metadata host or XML URL used to discover WS-Fed endpoints and certificates. Errors if adfs_server and fedMetadataXml are both absent. + """ + + domain_aliases: typing.Optional[ConnectionDomainAliases] = None + entity_id: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="entityId")] = pydantic.Field( + alias="entityId", default=None + ) + """ + The entity identifier (Issuer) for the ADFS Service Provider. When not provided, defaults to 'urn:auth0:{tenant}:{connection}'. + """ + + fed_metadata_xml: typing_extensions.Annotated[ + typing.Optional[ConnectionMetadataXmlAdfs], FieldMetadata(alias="fedMetadataXml") + ] = pydantic.Field(alias="fedMetadataXml", default=None) + icon_url: typing.Optional[ConnectionIconUrlAdfs] = None + prev_thumbprints: typing.Optional[ConnectionThumbprints] = None + set_user_root_attributes: typing.Optional[ConnectionSetUserRootAttributesEnum] = None + should_trust_email_verified_connection: typing.Optional[ConnectionShouldTrustEmailVerifiedConnectionEnum] = None + sign_in_endpoint: typing_extensions.Annotated[ + typing.Optional[ConnectionSignInEndpointAdfs], FieldMetadata(alias="signInEndpoint") + ] = pydantic.Field(alias="signInEndpoint", default=None) + tenant_domain: typing.Optional[ConnectionTenantDomain] = None + thumbprints: typing.Optional[ConnectionThumbprints] = None + upstream_params: typing.Optional[ConnectionUpstreamParamsAdfs] = None + user_id_attribute: typing.Optional[str] = pydantic.Field(default=None) + """ + Custom ADFS claim to use as the unique user identifier. When provided, this attribute is prepended to the default user_id mapping list with highest priority. Accepts a string (single ADFS claim name). + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/connection_options_amazon.py b/src/auth0/management/types/connection_options_amazon.py index 62ca9c51..f3e97fd4 100644 --- a/src/auth0/management/types/connection_options_amazon.py +++ b/src/auth0/management/types/connection_options_amazon.py @@ -1,5 +1,22 @@ # This file was auto-generated by Fern from our API Definition. +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_o_auth_2_common import ConnectionOptionsOAuth2Common -ConnectionOptionsAmazon = ConnectionOptionsOAuth2Common + +class ConnectionOptionsAmazon(ConnectionOptionsOAuth2Common): + """ + Options for the 'amazon' connection + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/connection_options_aol.py b/src/auth0/management/types/connection_options_aol.py index ef83102b..ab56ea6a 100644 --- a/src/auth0/management/types/connection_options_aol.py +++ b/src/auth0/management/types/connection_options_aol.py @@ -1,5 +1,22 @@ # This file was auto-generated by Fern from our API Definition. +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_o_auth_2_common import ConnectionOptionsOAuth2Common -ConnectionOptionsAol = ConnectionOptionsOAuth2Common + +class ConnectionOptionsAol(ConnectionOptionsOAuth2Common): + """ + Options for the 'aol' connection + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/connection_options_auth_0.py b/src/auth0/management/types/connection_options_auth_0.py index bf5a1ab8..3694f8c5 100644 --- a/src/auth0/management/types/connection_options_auth_0.py +++ b/src/auth0/management/types/connection_options_auth_0.py @@ -41,19 +41,19 @@ class ConnectionOptionsAuth0(ConnectionOptionsCommon): configuration: typing.Optional[ConnectionConfiguration] = None custom_scripts: typing_extensions.Annotated[ typing.Optional[ConnectionCustomScripts], FieldMetadata(alias="customScripts") - ] = None + ] = pydantic.Field(alias="customScripts", default=None) disable_self_service_change_password: typing.Optional[ConnectionDisableSelfServiceChangePassword] = None disable_signup: typing.Optional[ConnectionDisableSignup] = None enable_script_context: typing.Optional[ConnectionEnableScriptContext] = None enabled_database_customization: typing_extensions.Annotated[ typing.Optional[ConnectionEnabledDatabaseCustomization], FieldMetadata(alias="enabledDatabaseCustomization") - ] = None + ] = pydantic.Field(alias="enabledDatabaseCustomization", default=None) import_mode: typing.Optional[ConnectionImportMode] = None mfa: typing.Optional[ConnectionMfa] = None passkey_options: typing.Optional[ConnectionPasskeyOptions] = None password_policy: typing_extensions.Annotated[ typing.Optional[ConnectionPasswordPolicyEnum], FieldMetadata(alias="passwordPolicy") - ] = None + ] = pydantic.Field(alias="passwordPolicy", default=None) password_complexity_options: typing.Optional[ConnectionPasswordComplexityOptions] = None password_dictionary: typing.Optional[ConnectionPasswordDictionaryOptions] = None password_history: typing.Optional[ConnectionPasswordHistoryOptions] = None diff --git a/src/auth0/management/types/connection_options_auth_0_oidc.py b/src/auth0/management/types/connection_options_auth_0_oidc.py index 472b2e3d..dbc033af 100644 --- a/src/auth0/management/types/connection_options_auth_0_oidc.py +++ b/src/auth0/management/types/connection_options_auth_0_oidc.py @@ -2,4 +2,25 @@ import typing -ConnectionOptionsAuth0Oidc = typing.Dict[str, typing.Any] +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .connection_client_id import ConnectionClientId +from .connection_client_secret import ConnectionClientSecret + + +class ConnectionOptionsAuth0Oidc(UniversalBaseModel): + """ + Options for the 'auth0-oidc' connection + """ + + client_id: typing.Optional[ConnectionClientId] = None + client_secret: typing.Optional[ConnectionClientSecret] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/connection_options_azure_ad.py b/src/auth0/management/types/connection_options_azure_ad.py index 13e08a73..f673bf31 100644 --- a/src/auth0/management/types/connection_options_azure_ad.py +++ b/src/auth0/management/types/connection_options_azure_ad.py @@ -13,7 +13,7 @@ from .connection_ext_admin import ConnectionExtAdmin from .connection_ext_agreed_terms import ConnectionExtAgreedTerms from .connection_ext_assigned_plans import ConnectionExtAssignedPlans -from .connection_ext_groups import ConnectionExtGroups +from .connection_ext_groups_azure_ad import ConnectionExtGroupsAzureAd from .connection_ext_is_suspended import ConnectionExtIsSuspended from .connection_ext_profile import ConnectionExtProfile from .connection_federated_connections_access_tokens import ConnectionFederatedConnectionsAccessTokens @@ -27,7 +27,7 @@ from .connection_tenant_domain_azure_ad_one import ConnectionTenantDomainAzureAdOne from .connection_tenant_id_azure_ad import ConnectionTenantIdAzureAd from .connection_thumbprints import ConnectionThumbprints -from .connection_upstream_params_azure_ad import ConnectionUpstreamParamsAzureAd +from .connection_upstream_params import ConnectionUpstreamParams from .connection_use_common_endpoint_azure_ad import ConnectionUseCommonEndpointAzureAd from .connection_userid_attribute_azure_ad import ConnectionUseridAttributeAzureAd from .connection_waad_protocol import ConnectionWaadProtocol @@ -130,7 +130,7 @@ class ConnectionOptionsAzureAd(ConnectionOptionsCommon): When false, prevents storing the list of Azure AD group IDs the user is a member of. When true (default), group membership IDs are persisted. See ext_groups for retrieving group details. """ - ext_groups: typing.Optional[ConnectionExtGroups] = None + ext_groups: typing.Optional[ConnectionExtGroupsAzureAd] = None ext_is_suspended: typing.Optional[ConnectionExtIsSuspended] = None ext_job_title: typing.Optional[bool] = pydantic.Field(default=None) """ @@ -230,7 +230,7 @@ class ConnectionOptionsAzureAd(ConnectionOptionsCommon): ext_telephone_number: typing_extensions.Annotated[ typing.Optional[bool], FieldMetadata(alias="ext_telephoneNumber") - ] = pydantic.Field(default=None) + ] = pydantic.Field(alias="ext_telephoneNumber", default=None) """ When false, prevents storing the user's telephone number from Azure AD. When true (default), telephone number is persisted in the user profile. """ @@ -270,9 +270,9 @@ class ConnectionOptionsAzureAd(ConnectionOptionsCommon): tenant_domain: typing.Optional[ConnectionTenantDomainAzureAdOne] = None tenant_id: typing_extensions.Annotated[ typing.Optional[ConnectionTenantIdAzureAd], FieldMetadata(alias="tenantId") - ] = None + ] = pydantic.Field(alias="tenantId", default=None) thumbprints: typing.Optional[ConnectionThumbprints] = None - upstream_params: typing.Optional[ConnectionUpstreamParamsAzureAd] = None + upstream_params: typing.Optional[ConnectionUpstreamParams] = None use_wsfed: typing.Optional[bool] = pydantic.Field(default=None) """ Indicates WS-Federation protocol usage. When true, uses WS-Federation; when false, uses OpenID Connect. @@ -280,7 +280,7 @@ class ConnectionOptionsAzureAd(ConnectionOptionsCommon): use_common_endpoint: typing_extensions.Annotated[ typing.Optional[ConnectionUseCommonEndpointAzureAd], FieldMetadata(alias="useCommonEndpoint") - ] = None + ] = pydantic.Field(alias="useCommonEndpoint", default=None) userid_attribute: typing.Optional[ConnectionUseridAttributeAzureAd] = None waad_protocol: typing.Optional[ConnectionWaadProtocol] = None diff --git a/src/auth0/management/types/connection_options_baidu.py b/src/auth0/management/types/connection_options_baidu.py index 1137d5ec..90814747 100644 --- a/src/auth0/management/types/connection_options_baidu.py +++ b/src/auth0/management/types/connection_options_baidu.py @@ -1,5 +1,22 @@ # This file was auto-generated by Fern from our API Definition. +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_o_auth_2_common import ConnectionOptionsOAuth2Common -ConnectionOptionsBaidu = ConnectionOptionsOAuth2Common + +class ConnectionOptionsBaidu(ConnectionOptionsOAuth2Common): + """ + Options for the 'baidu' connection + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/connection_options_bitbucket.py b/src/auth0/management/types/connection_options_bitbucket.py index 77a4174f..7031987c 100644 --- a/src/auth0/management/types/connection_options_bitbucket.py +++ b/src/auth0/management/types/connection_options_bitbucket.py @@ -1,5 +1,22 @@ # This file was auto-generated by Fern from our API Definition. +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_o_auth_2_common import ConnectionOptionsOAuth2Common -ConnectionOptionsBitbucket = ConnectionOptionsOAuth2Common + +class ConnectionOptionsBitbucket(ConnectionOptionsOAuth2Common): + """ + Options for the 'bitbucket' connection + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/connection_options_bitly.py b/src/auth0/management/types/connection_options_bitly.py index b83b3c59..1effb24e 100644 --- a/src/auth0/management/types/connection_options_bitly.py +++ b/src/auth0/management/types/connection_options_bitly.py @@ -1,5 +1,22 @@ # This file was auto-generated by Fern from our API Definition. +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_o_auth_2_common import ConnectionOptionsOAuth2Common -ConnectionOptionsBitly = ConnectionOptionsOAuth2Common + +class ConnectionOptionsBitly(ConnectionOptionsOAuth2Common): + """ + Options for the 'bitly' connection + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/connection_options_box.py b/src/auth0/management/types/connection_options_box.py index 443e98f5..491d4793 100644 --- a/src/auth0/management/types/connection_options_box.py +++ b/src/auth0/management/types/connection_options_box.py @@ -1,5 +1,22 @@ # This file was auto-generated by Fern from our API Definition. +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_o_auth_2_common import ConnectionOptionsOAuth2Common -ConnectionOptionsBox = ConnectionOptionsOAuth2Common + +class ConnectionOptionsBox(ConnectionOptionsOAuth2Common): + """ + Options for the 'box' connection + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/connection_options_common.py b/src/auth0/management/types/connection_options_common.py index 4f4f7f76..fd675e6b 100644 --- a/src/auth0/management/types/connection_options_common.py +++ b/src/auth0/management/types/connection_options_common.py @@ -9,7 +9,7 @@ class ConnectionOptionsCommon(UniversalBaseModel): """ - Common attributes for connection options including non-persistent attributes and cross-app access + Common attributes for connection options including non-persistent attributes and Cross App Access """ non_persistent_attrs: typing.Optional[ConnectionNonPersistentAttrs] = None diff --git a/src/auth0/management/types/connection_options_common_oidc.py b/src/auth0/management/types/connection_options_common_oidc.py index 414e6337..342985d3 100644 --- a/src/auth0/management/types/connection_options_common_oidc.py +++ b/src/auth0/management/types/connection_options_common_oidc.py @@ -8,7 +8,7 @@ from .connection_client_id_oidc import ConnectionClientIdOidc from .connection_client_secret_oidc import ConnectionClientSecretOidc from .connection_connection_settings import ConnectionConnectionSettings -from .connection_domain_aliases_one import ConnectionDomainAliasesOne +from .connection_domain_aliases import ConnectionDomainAliases from .connection_federated_connections_access_tokens import ConnectionFederatedConnectionsAccessTokens from .connection_icon_url import ConnectionIconUrl from .connection_id_token_signed_response_algs import ConnectionIdTokenSignedResponseAlgs @@ -22,7 +22,7 @@ from .connection_token_endpoint_auth_method_enum import ConnectionTokenEndpointAuthMethodEnum from .connection_token_endpoint_auth_signing_alg_enum import ConnectionTokenEndpointAuthSigningAlgEnum from .connection_token_endpoint_oidc import ConnectionTokenEndpointOidc -from .connection_upstream_params_oidc import ConnectionUpstreamParamsOidc +from .connection_upstream_params import ConnectionUpstreamParams from .connection_userinfo_endpoint_oidc import ConnectionUserinfoEndpointOidc @@ -36,7 +36,7 @@ class ConnectionOptionsCommonOidc(UniversalBaseModel): client_secret: typing.Optional[ConnectionClientSecretOidc] = None connection_settings: typing.Optional[ConnectionConnectionSettings] = None federated_connections_access_tokens: typing.Optional[ConnectionFederatedConnectionsAccessTokens] = None - domain_aliases: typing.Optional[ConnectionDomainAliasesOne] = None + domain_aliases: typing.Optional[ConnectionDomainAliases] = None icon_url: typing.Optional[ConnectionIconUrl] = None id_token_signed_response_algs: typing.Optional[ConnectionIdTokenSignedResponseAlgs] = None issuer: typing.Optional[ConnectionIssuer] = None @@ -49,7 +49,7 @@ class ConnectionOptionsCommonOidc(UniversalBaseModel): token_endpoint: typing.Optional[ConnectionTokenEndpointOidc] = None token_endpoint_auth_method: typing.Optional[ConnectionTokenEndpointAuthMethodEnum] = None token_endpoint_auth_signing_alg: typing.Optional[ConnectionTokenEndpointAuthSigningAlgEnum] = None - upstream_params: typing.Optional[ConnectionUpstreamParamsOidc] = None + upstream_params: typing.Optional[ConnectionUpstreamParams] = None userinfo_endpoint: typing.Optional[ConnectionUserinfoEndpointOidc] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/connection_options_common_saml.py b/src/auth0/management/types/connection_options_common_saml.py new file mode 100644 index 00000000..5e30d5b9 --- /dev/null +++ b/src/auth0/management/types/connection_options_common_saml.py @@ -0,0 +1,68 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +import typing_extensions +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from ..core.serialization import FieldMetadata +from .connection_decryption_key_saml import ConnectionDecryptionKeySaml +from .connection_digest_algorithm_saml import ConnectionDigestAlgorithmSaml +from .connection_domain_aliases_saml import ConnectionDomainAliasesSaml +from .connection_entity_id_saml import ConnectionEntityIdSaml +from .connection_icon_url_saml import ConnectionIconUrlSaml +from .connection_options_idpinitiated_saml import ConnectionOptionsIdpinitiatedSaml +from .connection_protocol_binding_saml import ConnectionProtocolBindingSaml +from .connection_set_user_root_attributes_enum import ConnectionSetUserRootAttributesEnum +from .connection_sign_in_endpoint_saml import ConnectionSignInEndpointSaml +from .connection_sign_saml_request_saml import ConnectionSignSamlRequestSaml +from .connection_signature_algorithm_saml import ConnectionSignatureAlgorithmSaml +from .connection_signing_certificate_der_saml import ConnectionSigningCertificateDerSaml +from .connection_tenant_domain_saml import ConnectionTenantDomainSaml +from .connection_thumbprints_saml import ConnectionThumbprintsSaml +from .connection_upstream_params import ConnectionUpstreamParams + + +class ConnectionOptionsCommonSaml(UniversalBaseModel): + """ + Common options for SAML-based enterprise connections (shared by samlp and pingfederate). + """ + + cert: typing.Optional[ConnectionSigningCertificateDerSaml] = None + decryption_key: typing_extensions.Annotated[ + typing.Optional[ConnectionDecryptionKeySaml], FieldMetadata(alias="decryptionKey") + ] = pydantic.Field(alias="decryptionKey", default=None) + digest_algorithm: typing_extensions.Annotated[ + typing.Optional[ConnectionDigestAlgorithmSaml], FieldMetadata(alias="digestAlgorithm") + ] = pydantic.Field(alias="digestAlgorithm", default=None) + domain_aliases: typing.Optional[ConnectionDomainAliasesSaml] = None + entity_id: typing_extensions.Annotated[typing.Optional[ConnectionEntityIdSaml], FieldMetadata(alias="entityId")] = ( + pydantic.Field(alias="entityId", default=None) + ) + icon_url: typing.Optional[ConnectionIconUrlSaml] = None + idpinitiated: typing.Optional[ConnectionOptionsIdpinitiatedSaml] = None + protocol_binding: typing_extensions.Annotated[ + typing.Optional[ConnectionProtocolBindingSaml], FieldMetadata(alias="protocolBinding") + ] = pydantic.Field(alias="protocolBinding", default=None) + set_user_root_attributes: typing.Optional[ConnectionSetUserRootAttributesEnum] = None + sign_in_endpoint: typing_extensions.Annotated[ + typing.Optional[ConnectionSignInEndpointSaml], FieldMetadata(alias="signInEndpoint") + ] = pydantic.Field(alias="signInEndpoint", default=None) + sign_saml_request: typing_extensions.Annotated[ + typing.Optional[ConnectionSignSamlRequestSaml], FieldMetadata(alias="signSAMLRequest") + ] = pydantic.Field(alias="signSAMLRequest", default=None) + signature_algorithm: typing_extensions.Annotated[ + typing.Optional[ConnectionSignatureAlgorithmSaml], FieldMetadata(alias="signatureAlgorithm") + ] = pydantic.Field(alias="signatureAlgorithm", default=None) + tenant_domain: typing.Optional[ConnectionTenantDomainSaml] = None + thumbprints: typing.Optional[ConnectionThumbprintsSaml] = None + upstream_params: typing.Optional[ConnectionUpstreamParams] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/connection_options_daccount.py b/src/auth0/management/types/connection_options_daccount.py index 72af864f..fbaa6b4b 100644 --- a/src/auth0/management/types/connection_options_daccount.py +++ b/src/auth0/management/types/connection_options_daccount.py @@ -1,5 +1,22 @@ # This file was auto-generated by Fern from our API Definition. +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_o_auth_2_common import ConnectionOptionsOAuth2Common -ConnectionOptionsDaccount = ConnectionOptionsOAuth2Common + +class ConnectionOptionsDaccount(ConnectionOptionsOAuth2Common): + """ + Options for the 'daccount' connection + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/connection_options_deflate_saml.py b/src/auth0/management/types/connection_options_deflate_saml.py new file mode 100644 index 00000000..34dbfd8b --- /dev/null +++ b/src/auth0/management/types/connection_options_deflate_saml.py @@ -0,0 +1,3 @@ +# This file was auto-generated by Fern from our API Definition. + +ConnectionOptionsDeflateSaml = bool diff --git a/src/auth0/management/types/connection_options_dropbox.py b/src/auth0/management/types/connection_options_dropbox.py index 89c7518e..e7e47c12 100644 --- a/src/auth0/management/types/connection_options_dropbox.py +++ b/src/auth0/management/types/connection_options_dropbox.py @@ -1,5 +1,22 @@ # This file was auto-generated by Fern from our API Definition. +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_o_auth_2_common import ConnectionOptionsOAuth2Common -ConnectionOptionsDropbox = ConnectionOptionsOAuth2Common + +class ConnectionOptionsDropbox(ConnectionOptionsOAuth2Common): + """ + Options for the 'dropbox' connection + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/connection_options_dwolla.py b/src/auth0/management/types/connection_options_dwolla.py index 23c2c0e0..de4cdd85 100644 --- a/src/auth0/management/types/connection_options_dwolla.py +++ b/src/auth0/management/types/connection_options_dwolla.py @@ -1,5 +1,22 @@ # This file was auto-generated by Fern from our API Definition. +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_o_auth_2_common import ConnectionOptionsOAuth2Common -ConnectionOptionsDwolla = ConnectionOptionsOAuth2Common + +class ConnectionOptionsDwolla(ConnectionOptionsOAuth2Common): + """ + Options for the 'dwolla' connection + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/connection_options_email.py b/src/auth0/management/types/connection_options_email.py index 9cb7a34b..e03242e0 100644 --- a/src/auth0/management/types/connection_options_email.py +++ b/src/auth0/management/types/connection_options_email.py @@ -2,4 +2,41 @@ import typing -ConnectionOptionsEmail = typing.Dict[str, typing.Any] +import pydantic +import typing_extensions +from ..core.pydantic_utilities import IS_PYDANTIC_V2 +from ..core.serialization import FieldMetadata +from .connection_auth_params_email import ConnectionAuthParamsEmail +from .connection_brute_force_protection import ConnectionBruteForceProtection +from .connection_disable_signup import ConnectionDisableSignup +from .connection_email_email import ConnectionEmailEmail +from .connection_options_common import ConnectionOptionsCommon +from .connection_totp_email import ConnectionTotpEmail + + +class ConnectionOptionsEmail(ConnectionOptionsCommon): + """ + Options for the 'email' connection + """ + + auth_params: typing_extensions.Annotated[ + typing.Optional[ConnectionAuthParamsEmail], FieldMetadata(alias="authParams") + ] = pydantic.Field(alias="authParams", default=None) + brute_force_protection: ConnectionBruteForceProtection + disable_signup: typing.Optional[ConnectionDisableSignup] = None + email: ConnectionEmailEmail + name: str = pydantic.Field() + """ + Connection name + """ + + totp: typing.Optional[ConnectionTotpEmail] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/connection_options_evernote.py b/src/auth0/management/types/connection_options_evernote.py index 16e8a046..3e5ac956 100644 --- a/src/auth0/management/types/connection_options_evernote.py +++ b/src/auth0/management/types/connection_options_evernote.py @@ -1,5 +1,22 @@ # This file was auto-generated by Fern from our API Definition. -from .connection_options_evernote_common import ConnectionOptionsEvernoteCommon +import typing -ConnectionOptionsEvernote = ConnectionOptionsEvernoteCommon +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2 +from .connection_options_o_auth_2_common import ConnectionOptionsOAuth2Common + + +class ConnectionOptionsEvernote(ConnectionOptionsOAuth2Common): + """ + Options for the evernote family of connections + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/connection_options_evernote_sandbox.py b/src/auth0/management/types/connection_options_evernote_sandbox.py deleted file mode 100644 index 12cb7ab0..00000000 --- a/src/auth0/management/types/connection_options_evernote_sandbox.py +++ /dev/null @@ -1,5 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -from .connection_options_evernote_common import ConnectionOptionsEvernoteCommon - -ConnectionOptionsEvernoteSandbox = ConnectionOptionsEvernoteCommon diff --git a/src/auth0/management/types/connection_options_exact.py b/src/auth0/management/types/connection_options_exact.py index 3742636a..d7bc3b53 100644 --- a/src/auth0/management/types/connection_options_exact.py +++ b/src/auth0/management/types/connection_options_exact.py @@ -1,5 +1,22 @@ # This file was auto-generated by Fern from our API Definition. +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_o_auth_2_common import ConnectionOptionsOAuth2Common -ConnectionOptionsExact = ConnectionOptionsOAuth2Common + +class ConnectionOptionsExact(ConnectionOptionsOAuth2Common): + """ + Options for the 'exact' connection + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/connection_options_facebook.py b/src/auth0/management/types/connection_options_facebook.py index d47f9ceb..944be8c4 100644 --- a/src/auth0/management/types/connection_options_facebook.py +++ b/src/auth0/management/types/connection_options_facebook.py @@ -2,4 +2,238 @@ import typing -ConnectionOptionsFacebook = typing.Dict[str, typing.Any] +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2 +from .connection_client_id_facebook import ConnectionClientIdFacebook +from .connection_client_secret_facebook import ConnectionClientSecretFacebook +from .connection_options_common import ConnectionOptionsCommon +from .connection_scope_array_facebook import ConnectionScopeArrayFacebook +from .connection_scope_facebook import ConnectionScopeFacebook +from .connection_set_user_root_attributes_enum import ConnectionSetUserRootAttributesEnum +from .connection_upstream_params_facebook import ConnectionUpstreamParamsFacebook + + +class ConnectionOptionsFacebook(ConnectionOptionsCommon): + """ + Options for the 'facebook' connection + """ + + client_id: typing.Optional[ConnectionClientIdFacebook] = None + client_secret: typing.Optional[ConnectionClientSecretFacebook] = None + freeform_scopes: typing.Optional[ConnectionScopeArrayFacebook] = None + upstream_params: typing.Optional[ConnectionUpstreamParamsFacebook] = None + scope: typing.Optional[ConnectionScopeFacebook] = None + set_user_root_attributes: typing.Optional[ConnectionSetUserRootAttributesEnum] = None + ads_management: typing.Optional[bool] = pydantic.Field(default=False) + """ + Grants permission to both read and manage ads for ad accounts you own or have been granted access to by the owner. By default, your app may only access ad accounts owned by admins of the app when in developer mode. + """ + + ads_read: typing.Optional[bool] = pydantic.Field(default=False) + """ + Grants access to the Ads Insights API to pull ads report information for ad accounts you own or have been granted access to by the owner of other ad accounts. + """ + + allow_context_profile_field: typing.Optional[bool] = pydantic.Field(default=False) + """ + Provides access to a social context. Deprecated on April 30th, 2019. + """ + + business_management: typing.Optional[bool] = pydantic.Field(default=False) + """ + Grants permission to read and write with the Business Manager API. + """ + + email: typing.Optional[bool] = pydantic.Field(default=False) + """ + Grants permission to access a person's primary email address. + """ + + groups_access_member_info: typing.Optional[bool] = pydantic.Field(default=False) + """ + Grants permission to publicly available group member information. + """ + + leads_retrieval: typing.Optional[bool] = pydantic.Field(default=False) + """ + Grants permission to retrieve all the information captured within a lead. + """ + + manage_notifications: typing.Optional[bool] = pydantic.Field(default=False) + """ + Enables your app to read a person's notifications and mark them as read. This permission does not let you send notifications to a person. Deprecated in Graph API v2.3. + """ + + manage_pages: typing.Optional[bool] = pydantic.Field(default=False) + """ + Grants permission to retrieve Page Access Tokens for the Pages and Apps that the person administers. Apps need both manage_pages and publish_pages to be able to publish as a Page. + """ + + pages_manage_cta: typing.Optional[bool] = pydantic.Field(default=False) + """ + Allows the app to perform POST and DELETE operations on endpoints used for managing a Page's Call To Action buttons. + """ + + pages_manage_instant_articles: typing.Optional[bool] = pydantic.Field(default=False) + """ + Grants permission to manage Instant Articles on behalf of Facebook Pages administered by people using your app. + """ + + pages_messaging: typing.Optional[bool] = pydantic.Field(default=False) + """ + Grants permission to send and receive messages through a Facebook Page. + """ + + pages_messaging_phone_number: typing.Optional[bool] = pydantic.Field(default=False) + """ + Grants permission to use the phone number messaging feature. + """ + + pages_messaging_subscriptions: typing.Optional[bool] = pydantic.Field(default=False) + """ + Grants permission to send messages using Facebook Pages at any time after the first user interaction. Your app may only send advertising or promotional content through sponsored messages or within 24 hours of user interaction. + """ + + pages_show_list: typing.Optional[bool] = pydantic.Field(default=False) + """ + Grants access to show the list of the Pages that a person manages. + """ + + public_profile: typing.Optional[bool] = pydantic.Field(default=True) + """ + Provides access to a user's public profile information including id, first_name, last_name, middle_name, name, name_format, picture, and short_name. This is the most basic permission and is required by Facebook. + """ + + publish_actions: typing.Optional[bool] = pydantic.Field(default=False) + """ + Allows your app to publish to the Open Graph using Built-in Actions, Achievements, Scores, or Custom Actions. Deprecated on August 1st, 2018. + """ + + publish_pages: typing.Optional[bool] = pydantic.Field(default=False) + """ + Grants permission to publish posts, comments, and like Pages managed by a person using your app. Your app must also have manage_pages to publish as a Page. + """ + + publish_to_groups: typing.Optional[bool] = pydantic.Field(default=False) + """ + Grants permission to post content into a group on behalf of a user who has granted the app this permission. + """ + + publish_video: typing.Optional[bool] = pydantic.Field(default=False) + """ + Grants permission to publish live videos to the app User's timeline. + """ + + read_audience_network_insights: typing.Optional[bool] = pydantic.Field(default=False) + """ + Grants read-only access to the Audience Network Insights data for Apps the person owns. + """ + + read_insights: typing.Optional[bool] = pydantic.Field(default=False) + """ + Grants read-only access to the Insights data for Pages, Apps, and web domains the person owns. + """ + + read_mailbox: typing.Optional[bool] = pydantic.Field(default=False) + """ + Provides the ability to read the messages in a person's Facebook Inbox through the inbox edge and the thread node. Deprecated in Graph API v2.3. + """ + + read_page_mailboxes: typing.Optional[bool] = pydantic.Field(default=False) + """ + Grants permission to read from the Page Inboxes of the Pages managed by a person. This permission is often used alongside the manage_pages permission. + """ + + read_stream: typing.Optional[bool] = pydantic.Field(default=False) + """ + Provides access to read the posts in a person's News Feed, or the posts on their Profile. Deprecated in Graph API v2.3. + """ + + user_age_range: typing.Optional[bool] = pydantic.Field(default=False) + """ + Grants permission to access a person's age range. + """ + + user_birthday: typing.Optional[bool] = pydantic.Field(default=False) + """ + Grants permission to access a person's birthday. + """ + + user_events: typing.Optional[bool] = pydantic.Field(default=False) + """ + Grants read-only access to the Events a person is a host of or has RSVPed to. This permission is restricted to a limited set of partners and usage requires prior approval by Facebook. + """ + + user_friends: typing.Optional[bool] = pydantic.Field(default=False) + """ + Grants permission to access a list of friends that also use said app. This permission is restricted to a limited set of partners and usage requires prior approval by Facebook. + """ + + user_gender: typing.Optional[bool] = pydantic.Field(default=False) + """ + Grants permission to access a person's gender. + """ + + user_groups: typing.Optional[bool] = pydantic.Field(default=False) + """ + Enables your app to read the Groups a person is a member of through the groups edge on the User object. Deprecated in Graph API v2.3. + """ + + user_hometown: typing.Optional[bool] = pydantic.Field(default=False) + """ + Grants permission to access a person's hometown location set in their User Profile. + """ + + user_likes: typing.Optional[bool] = pydantic.Field(default=False) + """ + Grants permission to access the list of all Facebook Pages that a person has liked. + """ + + user_link: typing.Optional[bool] = pydantic.Field(default=False) + """ + Grants permission to access the Facebook Profile URL of the user of your app. + """ + + user_location: typing.Optional[bool] = pydantic.Field(default=False) + """ + Provides access to a person's current city through the location field on the User object. The current city is set by a person on their Profile. + """ + + user_managed_groups: typing.Optional[bool] = pydantic.Field(default=False) + """ + Enables your app to read the Groups a person is an admin of through the groups edge on the User object. Deprecated in Graph API v3.0. + """ + + user_photos: typing.Optional[bool] = pydantic.Field(default=False) + """ + Provides access to the photos a person has uploaded or been tagged in. This permission is restricted to a limited set of partners and usage requires prior approval by Facebook. + """ + + user_posts: typing.Optional[bool] = pydantic.Field(default=False) + """ + Provides access to the posts on a person's Timeline including their own posts, posts they are tagged in, and posts other people make on their Timeline. This permission is restricted to a limited set of partners and usage requires prior approval by Facebook. + """ + + user_status: typing.Optional[bool] = pydantic.Field(default=False) + """ + Provides access to a person's statuses. These are posts on Facebook which don't include links, videos or photos. Deprecated in Graph API v2.3. + """ + + user_tagged_places: typing.Optional[bool] = pydantic.Field(default=False) + """ + Provides access to the Places a person has been tagged at in photos, videos, statuses and links. This permission is restricted to a limited set of partners and usage requires prior approval by Facebook. + """ + + user_videos: typing.Optional[bool] = pydantic.Field(default=False) + """ + Provides access to the videos a person has uploaded or been tagged in. This permission is restricted to a limited set of partners and usage requires prior approval by Facebook. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/connection_options_fitbit.py b/src/auth0/management/types/connection_options_fitbit.py index 4765954a..c887e50e 100644 --- a/src/auth0/management/types/connection_options_fitbit.py +++ b/src/auth0/management/types/connection_options_fitbit.py @@ -2,4 +2,21 @@ import typing -ConnectionOptionsFitbit = typing.Dict[str, typing.Any] +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2 +from .connection_options_o_auth_2_common import ConnectionOptionsOAuth2Common + + +class ConnectionOptionsFitbit(ConnectionOptionsOAuth2Common): + """ + Options for the 'fitbit' connection + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/connection_options_flickr.py b/src/auth0/management/types/connection_options_flickr.py index 17bb1cc5..ccda5d74 100644 --- a/src/auth0/management/types/connection_options_flickr.py +++ b/src/auth0/management/types/connection_options_flickr.py @@ -2,4 +2,21 @@ import typing -ConnectionOptionsFlickr = typing.Dict[str, typing.Any] +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2 +from .connection_options_o_auth_2_common import ConnectionOptionsOAuth2Common + + +class ConnectionOptionsFlickr(ConnectionOptionsOAuth2Common): + """ + Options for the 'flickr' connection + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/connection_options_git_hub.py b/src/auth0/management/types/connection_options_git_hub.py index 88d25e1e..84dbcc6a 100644 --- a/src/auth0/management/types/connection_options_git_hub.py +++ b/src/auth0/management/types/connection_options_git_hub.py @@ -2,4 +2,21 @@ import typing -ConnectionOptionsGitHub = typing.Dict[str, typing.Any] +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2 +from .connection_options_o_auth_2_common import ConnectionOptionsOAuth2Common + + +class ConnectionOptionsGitHub(ConnectionOptionsOAuth2Common): + """ + Options for the 'github' connection + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/connection_options_google_apps.py b/src/auth0/management/types/connection_options_google_apps.py index db4dfcd3..cdf99d0c 100644 --- a/src/auth0/management/types/connection_options_google_apps.py +++ b/src/auth0/management/types/connection_options_google_apps.py @@ -2,4 +2,85 @@ import typing -ConnectionOptionsGoogleApps = typing.Dict[str, typing.Any] +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2 +from .connection_admin_access_token_expires_in_google_apps import ConnectionAdminAccessTokenExpiresInGoogleApps +from .connection_admin_access_token_google_apps import ConnectionAdminAccessTokenGoogleApps +from .connection_admin_refresh_token_google_apps import ConnectionAdminRefreshTokenGoogleApps +from .connection_api_enable_users_google_apps import ConnectionApiEnableUsersGoogleApps +from .connection_client_id_google_apps import ConnectionClientIdGoogleApps +from .connection_client_secret_google_apps import ConnectionClientSecretGoogleApps +from .connection_domain_aliases import ConnectionDomainAliases +from .connection_domain_google_apps import ConnectionDomainGoogleApps +from .connection_ext_agreed_terms_google_apps import ConnectionExtAgreedTermsGoogleApps +from .connection_ext_groups_google_apps import ConnectionExtGroupsGoogleApps +from .connection_ext_is_admin_google_apps import ConnectionExtIsAdminGoogleApps +from .connection_ext_is_suspended_google_apps import ConnectionExtIsSuspendedGoogleApps +from .connection_federated_connections_access_tokens import ConnectionFederatedConnectionsAccessTokens +from .connection_handle_login_from_social_google_apps import ConnectionHandleLoginFromSocialGoogleApps +from .connection_icon_url_google_apps import ConnectionIconUrlGoogleApps +from .connection_options_common import ConnectionOptionsCommon +from .connection_scope_google_apps import ConnectionScopeGoogleApps +from .connection_set_user_root_attributes_enum import ConnectionSetUserRootAttributesEnum +from .connection_tenant_domain_google_apps import ConnectionTenantDomainGoogleApps +from .connection_upstream_params import ConnectionUpstreamParams + + +class ConnectionOptionsGoogleApps(ConnectionOptionsCommon): + """ + Options for the 'google-apps' connection + """ + + admin_access_token: typing.Optional[ConnectionAdminAccessTokenGoogleApps] = None + admin_access_token_expiresin: typing.Optional[ConnectionAdminAccessTokenExpiresInGoogleApps] = None + admin_refresh_token: typing.Optional[ConnectionAdminRefreshTokenGoogleApps] = None + allow_setting_login_scopes: typing.Optional[bool] = pydantic.Field(default=False) + """ + When true, allows customization of OAuth scopes requested during user login. Custom scopes are appended to the mandatory email and profile scopes. When false or omitted, only the default email and profile scopes are used. This property is automatically enabled when Token Vault or Connected Accounts features are activated. + """ + + api_enable_users: typing.Optional[ConnectionApiEnableUsersGoogleApps] = None + client_id: ConnectionClientIdGoogleApps + client_secret: typing.Optional[ConnectionClientSecretGoogleApps] = None + domain: typing.Optional[ConnectionDomainGoogleApps] = None + domain_aliases: typing.Optional[ConnectionDomainAliases] = None + email: typing.Optional[bool] = pydantic.Field(default=True) + """ + Whether the OAuth flow requests the `email` scope. + """ + + ext_agreed_terms: typing.Optional[ConnectionExtAgreedTermsGoogleApps] = None + ext_groups: typing.Optional[ConnectionExtGroupsGoogleApps] = None + ext_groups_extended: typing.Optional[bool] = pydantic.Field(default=True) + """ + Controls whether enriched group entries include `id`, `email`, `name` (true) or only the group name (false); can only be set when `ext_groups` is true. + """ + + ext_is_admin: typing.Optional[ConnectionExtIsAdminGoogleApps] = None + ext_is_suspended: typing.Optional[ConnectionExtIsSuspendedGoogleApps] = None + federated_connections_access_tokens: typing.Optional[ConnectionFederatedConnectionsAccessTokens] = None + handle_login_from_social: typing.Optional[ConnectionHandleLoginFromSocialGoogleApps] = None + icon_url: typing.Optional[ConnectionIconUrlGoogleApps] = None + map_user_id_to_id: typing.Optional[bool] = pydantic.Field(default=False) + """ + Determines how Auth0 generates the user_id for Google Workspace users. When false (default), the user's email address is used. When true, Google's stable numeric user ID is used instead, which persists even if the user's email changes. This setting can only be configured when creating the connection and cannot be changed afterward. + """ + + profile: typing.Optional[bool] = pydantic.Field(default=True) + """ + Whether the OAuth flow requests the `profile` scope. + """ + + scope: typing.Optional[ConnectionScopeGoogleApps] = None + set_user_root_attributes: typing.Optional[ConnectionSetUserRootAttributesEnum] = None + tenant_domain: typing.Optional[ConnectionTenantDomainGoogleApps] = None + upstream_params: typing.Optional[ConnectionUpstreamParams] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/connection_options_google_o_auth_2.py b/src/auth0/management/types/connection_options_google_o_auth_2.py index f993e529..4d1a9ed0 100644 --- a/src/auth0/management/types/connection_options_google_o_auth_2.py +++ b/src/auth0/management/types/connection_options_google_o_auth_2.py @@ -20,12 +20,19 @@ class ConnectionOptionsGoogleOAuth2(ConnectionOptionsCommon): Options for the 'google-oauth2' connection """ + allowed_audiences: typing.Optional[ConnectionAllowedAudiencesGoogleOAuth2] = None + client_id: typing.Optional[ConnectionClientIdGoogleOAuth2] = None + client_secret: typing.Optional[ConnectionClientSecretGoogleOAuth2] = None + freeform_scopes: typing.Optional[ConnectionFreeformScopesGoogleOAuth2] = None + icon_url: typing.Optional[ConnectionIconUrlGoogleOAuth2] = None + scope: typing.Optional[ConnectionScopeGoogleOAuth2] = None + set_user_root_attributes: typing.Optional[ConnectionSetUserRootAttributesEnum] = None + upstream_params: typing.Optional[ConnectionUpstreamParams] = None adsense_management: typing.Optional[bool] = pydantic.Field(default=None) """ View and manage user's ad applications, ad units, and channels in AdSense """ - allowed_audiences: typing.Optional[ConnectionAllowedAudiencesGoogleOAuth2] = None analytics: typing.Optional[bool] = pydantic.Field(default=None) """ View user's configuration information and reports @@ -66,8 +73,6 @@ class ConnectionOptionsGoogleOAuth2(ConnectionOptionsCommon): Read access to user's chrome web store """ - client_id: typing.Optional[ConnectionClientIdGoogleOAuth2] = None - client_secret: typing.Optional[ConnectionClientSecretGoogleOAuth2] = None contacts: typing.Optional[bool] = pydantic.Field(default=None) """ Full access to the authenticated user's contacts @@ -173,7 +178,6 @@ class ConnectionOptionsGoogleOAuth2(ConnectionOptionsCommon): Email and verified email flag """ - freeform_scopes: typing.Optional[ConnectionFreeformScopesGoogleOAuth2] = None gmail: typing.Optional[bool] = pydantic.Field(default=None) """ Full access to the account's mailboxes, including permanent deletion of threads and messages @@ -259,7 +263,6 @@ class ConnectionOptionsGoogleOAuth2(ConnectionOptionsCommon): Associate user with its public Google profile """ - icon_url: typing.Optional[ConnectionIconUrlGoogleOAuth2] = None latitude_best: typing.Optional[bool] = pydantic.Field(default=None) """ View and manage user's best-available current location and location history in Google Latitude @@ -295,8 +298,6 @@ class ConnectionOptionsGoogleOAuth2(ConnectionOptionsCommon): Name, public profile URL, photo, country, language, and timezone """ - scope: typing.Optional[ConnectionScopeGoogleOAuth2] = None - set_user_root_attributes: typing.Optional[ConnectionSetUserRootAttributesEnum] = None sites: typing.Optional[bool] = pydantic.Field(default=None) """ View and manage user's sites on Google Sites @@ -312,7 +313,6 @@ class ConnectionOptionsGoogleOAuth2(ConnectionOptionsCommon): Read-only access to view your tasks and task lists """ - upstream_params: typing.Optional[ConnectionUpstreamParams] = None url_shortener: typing.Optional[bool] = pydantic.Field(default=None) """ View, manage and view statistics user's short URLs diff --git a/src/auth0/management/types/connection_options_idp_initiated_client_protocol_enum_saml.py b/src/auth0/management/types/connection_options_idp_initiated_client_protocol_enum_saml.py new file mode 100644 index 00000000..139f4171 --- /dev/null +++ b/src/auth0/management/types/connection_options_idp_initiated_client_protocol_enum_saml.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ConnectionOptionsIdpInitiatedClientProtocolEnumSaml = typing.Union[typing.Literal["oidc", "samlp", "wsfed"], typing.Any] diff --git a/src/auth0/management/types/connection_options_idpinitiated_saml.py b/src/auth0/management/types/connection_options_idpinitiated_saml.py new file mode 100644 index 00000000..a228c599 --- /dev/null +++ b/src/auth0/management/types/connection_options_idpinitiated_saml.py @@ -0,0 +1,38 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .connection_client_protocol_saml import ConnectionClientProtocolSaml + + +class ConnectionOptionsIdpinitiatedSaml(UniversalBaseModel): + """ + Configuration for IdP-Initiated SAML Single Sign-On. When enabled, allows users to initiate login directly from their SAML identity provider without first visiting Auth0. The IdP must include the connection parameter in the post-back URL (Assertion Consumer Service URL). + """ + + client_authorizequery: typing.Optional[str] = pydantic.Field(default=None) + """ + The query string sent to the default application + """ + + client_id: typing.Optional[str] = pydantic.Field(default=None) + """ + The client ID to use for IdP-initiated login requests. + """ + + client_protocol: typing.Optional[ConnectionClientProtocolSaml] = None + enabled: typing.Optional[bool] = pydantic.Field(default=None) + """ + When true, enables IdP-initiated login support for this SAML connection. Allows users to log in directly from the identity provider without first visiting Auth0. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/connection_options_instagram.py b/src/auth0/management/types/connection_options_instagram.py index c505364a..21b35fe2 100644 --- a/src/auth0/management/types/connection_options_instagram.py +++ b/src/auth0/management/types/connection_options_instagram.py @@ -1,5 +1,22 @@ # This file was auto-generated by Fern from our API Definition. +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_o_auth_2_common import ConnectionOptionsOAuth2Common -ConnectionOptionsInstagram = ConnectionOptionsOAuth2Common + +class ConnectionOptionsInstagram(ConnectionOptionsOAuth2Common): + """ + Options for the 'instagram' connection + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/connection_options_line.py b/src/auth0/management/types/connection_options_line.py index 82612d84..aa56965e 100644 --- a/src/auth0/management/types/connection_options_line.py +++ b/src/auth0/management/types/connection_options_line.py @@ -1,5 +1,22 @@ # This file was auto-generated by Fern from our API Definition. +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_o_auth_2_common import ConnectionOptionsOAuth2Common -ConnectionOptionsLine = ConnectionOptionsOAuth2Common + +class ConnectionOptionsLine(ConnectionOptionsOAuth2Common): + """ + Options for the 'line' connection + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/connection_options_linkedin.py b/src/auth0/management/types/connection_options_linkedin.py index 9c127a13..5ccbb216 100644 --- a/src/auth0/management/types/connection_options_linkedin.py +++ b/src/auth0/management/types/connection_options_linkedin.py @@ -2,4 +2,24 @@ import typing -ConnectionOptionsLinkedin = typing.Dict[str, typing.Any] +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2 +from .connection_options_o_auth_2_common import ConnectionOptionsOAuth2Common +from .connection_strategy_version_enum_linkedin import ConnectionStrategyVersionEnumLinkedin + + +class ConnectionOptionsLinkedin(ConnectionOptionsOAuth2Common): + """ + Options for the 'linkedin' connection + """ + + strategy_version: typing.Optional[ConnectionStrategyVersionEnumLinkedin] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/connection_options_miicard.py b/src/auth0/management/types/connection_options_miicard.py index f737fe04..c4648394 100644 --- a/src/auth0/management/types/connection_options_miicard.py +++ b/src/auth0/management/types/connection_options_miicard.py @@ -1,5 +1,22 @@ # This file was auto-generated by Fern from our API Definition. +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_o_auth_2_common import ConnectionOptionsOAuth2Common -ConnectionOptionsMiicard = ConnectionOptionsOAuth2Common + +class ConnectionOptionsMiicard(ConnectionOptionsOAuth2Common): + """ + Options for the 'miicard' connection + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/connection_options_o_auth_1.py b/src/auth0/management/types/connection_options_o_auth_1.py index 5fb571cf..610e1f6c 100644 --- a/src/auth0/management/types/connection_options_o_auth_1.py +++ b/src/auth0/management/types/connection_options_o_auth_1.py @@ -2,4 +2,25 @@ import typing -ConnectionOptionsOAuth1 = typing.Dict[str, typing.Any] +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .connection_client_id import ConnectionClientId +from .connection_client_secret import ConnectionClientSecret + + +class ConnectionOptionsOAuth1(UniversalBaseModel): + """ + Options for the 'oauth1' connection + """ + + client_id: typing.Optional[ConnectionClientId] = None + client_secret: typing.Optional[ConnectionClientSecret] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/connection_options_o_auth_2.py b/src/auth0/management/types/connection_options_o_auth_2.py index 155d1152..f8b6a2c6 100644 --- a/src/auth0/management/types/connection_options_o_auth_2.py +++ b/src/auth0/management/types/connection_options_o_auth_2.py @@ -30,25 +30,25 @@ class ConnectionOptionsOAuth2(ConnectionOptionsCommon): auth_params: typing_extensions.Annotated[ typing.Optional[ConnectionAuthParamsOAuth2], FieldMetadata(alias="authParams") - ] = None + ] = pydantic.Field(alias="authParams", default=None) auth_params_map: typing_extensions.Annotated[ typing.Optional[ConnectionAuthParamsMap], FieldMetadata(alias="authParamsMap") - ] = None + ] = pydantic.Field(alias="authParamsMap", default=None) authorization_url: typing_extensions.Annotated[ typing.Optional[ConnectionAuthorizationEndpointOAuth2], FieldMetadata(alias="authorizationURL") - ] = None + ] = pydantic.Field(alias="authorizationURL", default=None) client_id: typing.Optional[ConnectionClientIdOAuth2] = None client_secret: typing.Optional[ConnectionClientSecretOAuth2] = None custom_headers: typing_extensions.Annotated[ typing.Optional[ConnectionCustomHeadersOAuth2], FieldMetadata(alias="customHeaders") - ] = None + ] = pydantic.Field(alias="customHeaders", default=None) fields_map: typing_extensions.Annotated[typing.Optional[ConnectionFieldsMap], FieldMetadata(alias="fieldsMap")] = ( - None + pydantic.Field(alias="fieldsMap", default=None) ) icon_url: typing.Optional[ConnectionIconUrl] = None logout_url: typing_extensions.Annotated[ typing.Optional[ConnectionEndSessionEndpointOAuth2], FieldMetadata(alias="logoutUrl") - ] = None + ] = pydantic.Field(alias="logoutUrl", default=None) pkce_enabled: typing.Optional[bool] = pydantic.Field(default=None) """ When true, enables Proof Key for Code Exchange (PKCE) for the authorization code flow. PKCE provides additional security by preventing authorization code interception attacks. @@ -59,11 +59,11 @@ class ConnectionOptionsOAuth2(ConnectionOptionsCommon): set_user_root_attributes: typing.Optional[ConnectionSetUserRootAttributesEnum] = None token_url: typing_extensions.Annotated[ typing.Optional[ConnectionTokenEndpointOAuth2], FieldMetadata(alias="tokenURL") - ] = None + ] = pydantic.Field(alias="tokenURL", default=None) upstream_params: typing.Optional[ConnectionUpstreamParams] = None use_oauth_spec_scope: typing_extensions.Annotated[ typing.Optional[bool], FieldMetadata(alias="useOauthSpecScope") - ] = pydantic.Field(default=None) + ] = pydantic.Field(alias="useOauthSpecScope", default=None) """ When true, uses space-delimited scopes (per OAuth 2.0 spec) instead of comma-delimited when calling the identity provider's authorization endpoint. Only relevant when using the connection_scope parameter. See https://auth0.com/docs/authenticate/identity-providers/adding-scopes-for-an-external-idp#pass-scopes-to-authorize-endpoint """ diff --git a/src/auth0/management/types/connection_options_office_365.py b/src/auth0/management/types/connection_options_office_365.py index 5551af46..4cb2f472 100644 --- a/src/auth0/management/types/connection_options_office_365.py +++ b/src/auth0/management/types/connection_options_office_365.py @@ -2,4 +2,25 @@ import typing -ConnectionOptionsOffice365 = typing.Dict[str, typing.Any] +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .connection_client_id import ConnectionClientId +from .connection_client_secret import ConnectionClientSecret + + +class ConnectionOptionsOffice365(UniversalBaseModel): + """ + Options for the 'office365' connection + """ + + client_id: typing.Optional[ConnectionClientId] = None + client_secret: typing.Optional[ConnectionClientSecret] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/connection_options_okta.py b/src/auth0/management/types/connection_options_okta.py index c57145e7..ad3b2a57 100644 --- a/src/auth0/management/types/connection_options_okta.py +++ b/src/auth0/management/types/connection_options_okta.py @@ -11,7 +11,7 @@ from .connection_type_enum_okta import ConnectionTypeEnumOkta -class ConnectionOptionsOkta(ConnectionOptionsCommonOidc, ConnectionOptionsCommon): +class ConnectionOptionsOkta(ConnectionOptionsCommon, ConnectionOptionsCommonOidc): """ Options for the 'okta' connection """ diff --git a/src/auth0/management/types/connection_options_paypal.py b/src/auth0/management/types/connection_options_paypal.py index ab35df82..b7d77353 100644 --- a/src/auth0/management/types/connection_options_paypal.py +++ b/src/auth0/management/types/connection_options_paypal.py @@ -1,5 +1,22 @@ # This file was auto-generated by Fern from our API Definition. +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_o_auth_2_common import ConnectionOptionsOAuth2Common -ConnectionOptionsPaypal = ConnectionOptionsOAuth2Common + +class ConnectionOptionsPaypal(ConnectionOptionsOAuth2Common): + """ + Options for the paypal family of connections + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/connection_options_paypal_sandbox.py b/src/auth0/management/types/connection_options_paypal_sandbox.py deleted file mode 100644 index b1929c29..00000000 --- a/src/auth0/management/types/connection_options_paypal_sandbox.py +++ /dev/null @@ -1,5 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -from .connection_options_o_auth_2_common import ConnectionOptionsOAuth2Common - -ConnectionOptionsPaypalSandbox = ConnectionOptionsOAuth2Common diff --git a/src/auth0/management/types/connection_options_ping_federate.py b/src/auth0/management/types/connection_options_ping_federate.py index 9848f836..5eee471c 100644 --- a/src/auth0/management/types/connection_options_ping_federate.py +++ b/src/auth0/management/types/connection_options_ping_federate.py @@ -2,4 +2,33 @@ import typing -ConnectionOptionsPingFederate = typing.Dict[str, typing.Any] +import pydantic +import typing_extensions +from ..core.pydantic_utilities import IS_PYDANTIC_V2 +from ..core.serialization import FieldMetadata +from .connection_options_common import ConnectionOptionsCommon +from .connection_options_common_saml import ConnectionOptionsCommonSaml +from .connection_ping_federate_base_url import ConnectionPingFederateBaseUrl +from .connection_signing_certificate_pem_ping_federate import ConnectionSigningCertificatePemPingFederate + + +class ConnectionOptionsPingFederate(ConnectionOptionsCommonSaml, ConnectionOptionsCommon): + """ + Options for the 'pingfederate' connection + """ + + ping_federate_base_url: typing_extensions.Annotated[ + ConnectionPingFederateBaseUrl, FieldMetadata(alias="pingFederateBaseUrl") + ] = pydantic.Field(alias="pingFederateBaseUrl") + signing_cert: typing_extensions.Annotated[ + typing.Optional[ConnectionSigningCertificatePemPingFederate], FieldMetadata(alias="signingCert") + ] = pydantic.Field(alias="signingCert", default=None) + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/connection_options_planning_center.py b/src/auth0/management/types/connection_options_planning_center.py index 0789d5dd..c525fec2 100644 --- a/src/auth0/management/types/connection_options_planning_center.py +++ b/src/auth0/management/types/connection_options_planning_center.py @@ -2,4 +2,21 @@ import typing -ConnectionOptionsPlanningCenter = typing.Dict[str, typing.Any] +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2 +from .connection_options_o_auth_2_common import ConnectionOptionsOAuth2Common + + +class ConnectionOptionsPlanningCenter(ConnectionOptionsOAuth2Common): + """ + Options for the 'planningcenter' connection + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/connection_options_renren.py b/src/auth0/management/types/connection_options_renren.py index 3af34aa0..a9b80223 100644 --- a/src/auth0/management/types/connection_options_renren.py +++ b/src/auth0/management/types/connection_options_renren.py @@ -1,5 +1,22 @@ # This file was auto-generated by Fern from our API Definition. +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_o_auth_2_common import ConnectionOptionsOAuth2Common -ConnectionOptionsRenren = ConnectionOptionsOAuth2Common + +class ConnectionOptionsRenren(ConnectionOptionsOAuth2Common): + """ + Options for the 'renren' connection + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/connection_options_salesforce.py b/src/auth0/management/types/connection_options_salesforce.py index dadb389f..a6c5da1e 100644 --- a/src/auth0/management/types/connection_options_salesforce.py +++ b/src/auth0/management/types/connection_options_salesforce.py @@ -1,5 +1,22 @@ # This file was auto-generated by Fern from our API Definition. -from .connection_options_salesforce_common import ConnectionOptionsSalesforceCommon +import typing -ConnectionOptionsSalesforce = ConnectionOptionsSalesforceCommon +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2 +from .connection_options_o_auth_2_common import ConnectionOptionsOAuth2Common + + +class ConnectionOptionsSalesforce(ConnectionOptionsOAuth2Common): + """ + Options for the salesforce family of connections + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/connection_options_salesforce_common.py b/src/auth0/management/types/connection_options_salesforce_common.py deleted file mode 100644 index ecad25f5..00000000 --- a/src/auth0/management/types/connection_options_salesforce_common.py +++ /dev/null @@ -1,5 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -ConnectionOptionsSalesforceCommon = typing.Dict[str, typing.Any] diff --git a/src/auth0/management/types/connection_options_salesforce_community.py b/src/auth0/management/types/connection_options_salesforce_community.py deleted file mode 100644 index a564648a..00000000 --- a/src/auth0/management/types/connection_options_salesforce_community.py +++ /dev/null @@ -1,5 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -from .connection_options_salesforce_common import ConnectionOptionsSalesforceCommon - -ConnectionOptionsSalesforceCommunity = ConnectionOptionsSalesforceCommon diff --git a/src/auth0/management/types/connection_options_salesforce_sandbox.py b/src/auth0/management/types/connection_options_salesforce_sandbox.py deleted file mode 100644 index e161c2f6..00000000 --- a/src/auth0/management/types/connection_options_salesforce_sandbox.py +++ /dev/null @@ -1,5 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -from .connection_options_salesforce_common import ConnectionOptionsSalesforceCommon - -ConnectionOptionsSalesforceSandbox = ConnectionOptionsSalesforceCommon diff --git a/src/auth0/management/types/connection_options_saml.py b/src/auth0/management/types/connection_options_saml.py index d560c7bf..70db90bf 100644 --- a/src/auth0/management/types/connection_options_saml.py +++ b/src/auth0/management/types/connection_options_saml.py @@ -2,4 +2,76 @@ import typing -ConnectionOptionsSaml = typing.Dict[str, typing.Any] +import pydantic +import typing_extensions +from ..core.pydantic_utilities import IS_PYDANTIC_V2 +from ..core.serialization import FieldMetadata +from .connection_debug_saml import ConnectionDebugSaml +from .connection_destination_url_saml import ConnectionDestinationUrlSaml +from .connection_fields_map_saml import ConnectionFieldsMapSaml +from .connection_global_token_revocation_jwt_iss_saml import ConnectionGlobalTokenRevocationJwtIssSaml +from .connection_global_token_revocation_jwt_sub_saml import ConnectionGlobalTokenRevocationJwtSubSaml +from .connection_metadata_url_saml import ConnectionMetadataUrlSaml +from .connection_metadata_xml_saml import ConnectionMetadataXmlSaml +from .connection_options_common import ConnectionOptionsCommon +from .connection_options_common_saml import ConnectionOptionsCommonSaml +from .connection_options_deflate_saml import ConnectionOptionsDeflateSaml +from .connection_recipient_url_saml import ConnectionRecipientUrlSaml +from .connection_request_template_saml import ConnectionRequestTemplateSaml +from .connection_sign_out_endpoint_saml import ConnectionSignOutEndpointSaml +from .connection_signing_cert_saml import ConnectionSigningCertSaml +from .connection_signing_key_saml import ConnectionSigningKeySaml +from .connection_user_id_attribute_saml import ConnectionUserIdAttributeSaml + + +class ConnectionOptionsSaml(ConnectionOptionsCommonSaml, ConnectionOptionsCommon): + """ + Options for the 'samlp' connection + """ + + debug: typing.Optional[ConnectionDebugSaml] = None + deflate: typing.Optional[ConnectionOptionsDeflateSaml] = None + destination_url: typing_extensions.Annotated[ + typing.Optional[ConnectionDestinationUrlSaml], FieldMetadata(alias="destinationUrl") + ] = pydantic.Field(alias="destinationUrl", default=None) + disable_signout: typing_extensions.Annotated[typing.Optional[bool], FieldMetadata(alias="disableSignout")] = ( + pydantic.Field(alias="disableSignout", default=None) + ) + """ + When true, disables sending SAML logout requests (SingleLogoutService) to the identity provider during user sign-out. The user will be logged out of Auth0 but will remain logged into the identity provider. Defaults to false (federated logout enabled). + """ + + fields_map: typing_extensions.Annotated[ + typing.Optional[ConnectionFieldsMapSaml], FieldMetadata(alias="fieldsMap") + ] = pydantic.Field(alias="fieldsMap", default=None) + global_token_revocation_jwt_iss: typing.Optional[ConnectionGlobalTokenRevocationJwtIssSaml] = None + global_token_revocation_jwt_sub: typing.Optional[ConnectionGlobalTokenRevocationJwtSubSaml] = None + metadata_url: typing_extensions.Annotated[ + typing.Optional[ConnectionMetadataUrlSaml], FieldMetadata(alias="metadataUrl") + ] = pydantic.Field(alias="metadataUrl", default=None) + metadata_xml: typing_extensions.Annotated[ + typing.Optional[ConnectionMetadataXmlSaml], FieldMetadata(alias="metadataXml") + ] = pydantic.Field(alias="metadataXml", default=None) + recipient_url: typing_extensions.Annotated[ + typing.Optional[ConnectionRecipientUrlSaml], FieldMetadata(alias="recipientUrl") + ] = pydantic.Field(alias="recipientUrl", default=None) + request_template: typing_extensions.Annotated[ + typing.Optional[ConnectionRequestTemplateSaml], FieldMetadata(alias="requestTemplate") + ] = pydantic.Field(alias="requestTemplate", default=None) + signing_cert: typing_extensions.Annotated[ + typing.Optional[ConnectionSigningCertSaml], FieldMetadata(alias="signingCert") + ] = pydantic.Field(alias="signingCert", default=None) + signing_key: typing.Optional[ConnectionSigningKeySaml] = None + sign_out_endpoint: typing_extensions.Annotated[ + typing.Optional[ConnectionSignOutEndpointSaml], FieldMetadata(alias="signOutEndpoint") + ] = pydantic.Field(alias="signOutEndpoint", default=None) + user_id_attribute: typing.Optional[ConnectionUserIdAttributeSaml] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/connection_options_sharepoint.py b/src/auth0/management/types/connection_options_sharepoint.py index b73c25f8..386ce8b8 100644 --- a/src/auth0/management/types/connection_options_sharepoint.py +++ b/src/auth0/management/types/connection_options_sharepoint.py @@ -1,5 +1,22 @@ # This file was auto-generated by Fern from our API Definition. +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_o_auth_2_common import ConnectionOptionsOAuth2Common -ConnectionOptionsSharepoint = ConnectionOptionsOAuth2Common + +class ConnectionOptionsSharepoint(ConnectionOptionsOAuth2Common): + """ + Options for the 'sharepoint' connection + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/connection_options_shop.py b/src/auth0/management/types/connection_options_shop.py index 946f8325..1256512b 100644 --- a/src/auth0/management/types/connection_options_shop.py +++ b/src/auth0/management/types/connection_options_shop.py @@ -2,4 +2,21 @@ import typing -ConnectionOptionsShop = typing.Dict[str, typing.Any] +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2 +from .connection_options_o_auth_2_common import ConnectionOptionsOAuth2Common + + +class ConnectionOptionsShop(ConnectionOptionsOAuth2Common): + """ + Options for the 'shop' connection + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/connection_options_shopify.py b/src/auth0/management/types/connection_options_shopify.py index 2418c23e..e526e6d2 100644 --- a/src/auth0/management/types/connection_options_shopify.py +++ b/src/auth0/management/types/connection_options_shopify.py @@ -1,5 +1,22 @@ # This file was auto-generated by Fern from our API Definition. +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_o_auth_2_common import ConnectionOptionsOAuth2Common -ConnectionOptionsShopify = ConnectionOptionsOAuth2Common + +class ConnectionOptionsShopify(ConnectionOptionsOAuth2Common): + """ + Options for the 'shopify' connection + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/connection_options_sms.py b/src/auth0/management/types/connection_options_sms.py index 26df45c6..e0b480a7 100644 --- a/src/auth0/management/types/connection_options_sms.py +++ b/src/auth0/management/types/connection_options_sms.py @@ -2,4 +2,60 @@ import typing -ConnectionOptionsSms = typing.Dict[str, typing.Any] +import pydantic +import typing_extensions +from ..core.pydantic_utilities import IS_PYDANTIC_V2 +from ..core.serialization import FieldMetadata +from .connection_disable_signup_sms import ConnectionDisableSignupSms +from .connection_forward_req_info_sms import ConnectionForwardReqInfoSms +from .connection_from_sms import ConnectionFromSms +from .connection_gateway_authentication_sms import ConnectionGatewayAuthenticationSms +from .connection_gateway_url_sms import ConnectionGatewayUrlSms +from .connection_messaging_service_sid_sms import ConnectionMessagingServiceSidSms +from .connection_options_common import ConnectionOptionsCommon +from .connection_provider_sms import ConnectionProviderSms +from .connection_template_sms import ConnectionTemplateSms +from .connection_template_syntax_enum_sms import ConnectionTemplateSyntaxEnumSms +from .connection_totp_sms import ConnectionTotpSms +from .connection_twilio_sid_sms import ConnectionTwilioSidSms +from .connection_twilio_token_sms import ConnectionTwilioTokenSms + + +class ConnectionOptionsSms(ConnectionOptionsCommon): + """ + Options for the 'sms' connection + """ + + brute_force_protection: typing.Optional[bool] = pydantic.Field(default=None) + """ + Whether brute force protection is enabled + """ + + disable_signup: typing.Optional[ConnectionDisableSignupSms] = None + forward_req_info: typing.Optional[ConnectionForwardReqInfoSms] = None + from_: typing_extensions.Annotated[typing.Optional[ConnectionFromSms], FieldMetadata(alias="from")] = ( + pydantic.Field(alias="from", default=None) + ) + gateway_authentication: typing.Optional[ConnectionGatewayAuthenticationSms] = None + gateway_url: typing.Optional[ConnectionGatewayUrlSms] = None + messaging_service_sid: typing.Optional[ConnectionMessagingServiceSidSms] = None + name: typing.Optional[str] = pydantic.Field(default=None) + """ + Connection name + """ + + provider: typing.Optional[ConnectionProviderSms] = None + syntax: typing.Optional[ConnectionTemplateSyntaxEnumSms] = None + template: typing.Optional[ConnectionTemplateSms] = None + totp: typing.Optional[ConnectionTotpSms] = None + twilio_sid: typing.Optional[ConnectionTwilioSidSms] = None + twilio_token: typing.Optional[ConnectionTwilioTokenSms] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/connection_options_soundcloud.py b/src/auth0/management/types/connection_options_soundcloud.py index a2eedba2..583cd266 100644 --- a/src/auth0/management/types/connection_options_soundcloud.py +++ b/src/auth0/management/types/connection_options_soundcloud.py @@ -1,5 +1,22 @@ # This file was auto-generated by Fern from our API Definition. +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_o_auth_2_common import ConnectionOptionsOAuth2Common -ConnectionOptionsSoundcloud = ConnectionOptionsOAuth2Common + +class ConnectionOptionsSoundcloud(ConnectionOptionsOAuth2Common): + """ + Options for the 'soundcloud' connection + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/connection_options_the_city.py b/src/auth0/management/types/connection_options_the_city.py deleted file mode 100644 index baea2284..00000000 --- a/src/auth0/management/types/connection_options_the_city.py +++ /dev/null @@ -1,5 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -from .connection_options_o_auth_2_common import ConnectionOptionsOAuth2Common - -ConnectionOptionsTheCity = ConnectionOptionsOAuth2Common diff --git a/src/auth0/management/types/connection_options_the_city_sandbox.py b/src/auth0/management/types/connection_options_the_city_sandbox.py deleted file mode 100644 index 44b3b159..00000000 --- a/src/auth0/management/types/connection_options_the_city_sandbox.py +++ /dev/null @@ -1,5 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -from .connection_options_o_auth_2_common import ConnectionOptionsOAuth2Common - -ConnectionOptionsTheCitySandbox = ConnectionOptionsOAuth2Common diff --git a/src/auth0/management/types/connection_options_thirty_seven_signals.py b/src/auth0/management/types/connection_options_thirty_seven_signals.py index 07427015..fdfbef84 100644 --- a/src/auth0/management/types/connection_options_thirty_seven_signals.py +++ b/src/auth0/management/types/connection_options_thirty_seven_signals.py @@ -1,5 +1,22 @@ # This file was auto-generated by Fern from our API Definition. +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_o_auth_2_common import ConnectionOptionsOAuth2Common -ConnectionOptionsThirtySevenSignals = ConnectionOptionsOAuth2Common + +class ConnectionOptionsThirtySevenSignals(ConnectionOptionsOAuth2Common): + """ + Options for the 'thirtysevensignals' connection + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/connection_options_twitter.py b/src/auth0/management/types/connection_options_twitter.py index bd06d7a5..4a1f1992 100644 --- a/src/auth0/management/types/connection_options_twitter.py +++ b/src/auth0/management/types/connection_options_twitter.py @@ -2,4 +2,21 @@ import typing -ConnectionOptionsTwitter = typing.Dict[str, typing.Any] +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2 +from .connection_options_o_auth_2_common import ConnectionOptionsOAuth2Common + + +class ConnectionOptionsTwitter(ConnectionOptionsOAuth2Common): + """ + Options for the 'twitter' connection + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/connection_options_untappd.py b/src/auth0/management/types/connection_options_untappd.py index 06eb7ba0..b1e0b6c9 100644 --- a/src/auth0/management/types/connection_options_untappd.py +++ b/src/auth0/management/types/connection_options_untappd.py @@ -1,5 +1,22 @@ # This file was auto-generated by Fern from our API Definition. +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_o_auth_2_common import ConnectionOptionsOAuth2Common -ConnectionOptionsUntappd = ConnectionOptionsOAuth2Common + +class ConnectionOptionsUntappd(ConnectionOptionsOAuth2Common): + """ + Options for the 'untappd' connection + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/connection_options_vkontakte.py b/src/auth0/management/types/connection_options_vkontakte.py index dc81dcc4..cab2e689 100644 --- a/src/auth0/management/types/connection_options_vkontakte.py +++ b/src/auth0/management/types/connection_options_vkontakte.py @@ -1,5 +1,22 @@ # This file was auto-generated by Fern from our API Definition. +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_o_auth_2_common import ConnectionOptionsOAuth2Common -ConnectionOptionsVkontakte = ConnectionOptionsOAuth2Common + +class ConnectionOptionsVkontakte(ConnectionOptionsOAuth2Common): + """ + Options for the 'vkontakte' connection + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/connection_options_weibo.py b/src/auth0/management/types/connection_options_weibo.py index c254e982..049d8c9d 100644 --- a/src/auth0/management/types/connection_options_weibo.py +++ b/src/auth0/management/types/connection_options_weibo.py @@ -1,5 +1,22 @@ # This file was auto-generated by Fern from our API Definition. +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_o_auth_2_common import ConnectionOptionsOAuth2Common -ConnectionOptionsWeibo = ConnectionOptionsOAuth2Common + +class ConnectionOptionsWeibo(ConnectionOptionsOAuth2Common): + """ + Options for the 'weibo' connection + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/connection_options_windows_live.py b/src/auth0/management/types/connection_options_windows_live.py index 714c6768..da438b55 100644 --- a/src/auth0/management/types/connection_options_windows_live.py +++ b/src/auth0/management/types/connection_options_windows_live.py @@ -2,4 +2,24 @@ import typing -ConnectionOptionsWindowsLive = typing.Dict[str, typing.Any] +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2 +from .connection_options_o_auth_2_common import ConnectionOptionsOAuth2Common +from .connection_strategy_version_enum_windows_live import ConnectionStrategyVersionEnumWindowsLive + + +class ConnectionOptionsWindowsLive(ConnectionOptionsOAuth2Common): + """ + Options for the 'windowslive' connection + """ + + strategy_version: typing.Optional[ConnectionStrategyVersionEnumWindowsLive] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/connection_options_wordpress.py b/src/auth0/management/types/connection_options_wordpress.py index 77477e28..f83eb438 100644 --- a/src/auth0/management/types/connection_options_wordpress.py +++ b/src/auth0/management/types/connection_options_wordpress.py @@ -1,5 +1,22 @@ # This file was auto-generated by Fern from our API Definition. +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_o_auth_2_common import ConnectionOptionsOAuth2Common -ConnectionOptionsWordpress = ConnectionOptionsOAuth2Common + +class ConnectionOptionsWordpress(ConnectionOptionsOAuth2Common): + """ + Options for the 'wordpress' connection + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/connection_options_yahoo.py b/src/auth0/management/types/connection_options_yahoo.py index e71b16b4..264a0c8b 100644 --- a/src/auth0/management/types/connection_options_yahoo.py +++ b/src/auth0/management/types/connection_options_yahoo.py @@ -1,5 +1,22 @@ # This file was auto-generated by Fern from our API Definition. +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_o_auth_2_common import ConnectionOptionsOAuth2Common -ConnectionOptionsYahoo = ConnectionOptionsOAuth2Common + +class ConnectionOptionsYahoo(ConnectionOptionsOAuth2Common): + """ + Options for the 'yahoo' connection + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/connection_options_yammer.py b/src/auth0/management/types/connection_options_yammer.py index 6a40f2a5..fb80501a 100644 --- a/src/auth0/management/types/connection_options_yammer.py +++ b/src/auth0/management/types/connection_options_yammer.py @@ -1,5 +1,22 @@ # This file was auto-generated by Fern from our API Definition. +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_o_auth_2_common import ConnectionOptionsOAuth2Common -ConnectionOptionsYammer = ConnectionOptionsOAuth2Common + +class ConnectionOptionsYammer(ConnectionOptionsOAuth2Common): + """ + Options for the 'yammer' connection + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/connection_options_yandex.py b/src/auth0/management/types/connection_options_yandex.py index af057299..78c6adeb 100644 --- a/src/auth0/management/types/connection_options_yandex.py +++ b/src/auth0/management/types/connection_options_yandex.py @@ -1,5 +1,22 @@ # This file was auto-generated by Fern from our API Definition. +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_o_auth_2_common import ConnectionOptionsOAuth2Common -ConnectionOptionsYandex = ConnectionOptionsOAuth2Common + +class ConnectionOptionsYandex(ConnectionOptionsOAuth2Common): + """ + Options for the 'yandex' connection + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/connection_phone_otp_authentication_method.py b/src/auth0/management/types/connection_phone_otp_authentication_method.py new file mode 100644 index 00000000..00e6f7c4 --- /dev/null +++ b/src/auth0/management/types/connection_phone_otp_authentication_method.py @@ -0,0 +1,26 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class ConnectionPhoneOtpAuthenticationMethod(UniversalBaseModel): + """ + Phone OTP authentication enablement + """ + + enabled: typing.Optional[bool] = pydantic.Field(default=None) + """ + Determines whether phone OTP is enabled + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/connection_ping_federate_base_url.py b/src/auth0/management/types/connection_ping_federate_base_url.py new file mode 100644 index 00000000..fd8e8313 --- /dev/null +++ b/src/auth0/management/types/connection_ping_federate_base_url.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +from .connection_ping_federate_base_url_ping_federate import ConnectionPingFederateBaseUrlPingFederate + +ConnectionPingFederateBaseUrl = ConnectionPingFederateBaseUrlPingFederate diff --git a/src/auth0/management/types/connection_ping_federate_base_url_ping_federate.py b/src/auth0/management/types/connection_ping_federate_base_url_ping_federate.py new file mode 100644 index 00000000..6ba12cad --- /dev/null +++ b/src/auth0/management/types/connection_ping_federate_base_url_ping_federate.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +from .connection_https_url_with_http_fallback import ConnectionHttpsUrlWithHttpFallback + +ConnectionPingFederateBaseUrlPingFederate = ConnectionHttpsUrlWithHttpFallback diff --git a/src/auth0/management/types/connection_profile_strategy_overrides.py b/src/auth0/management/types/connection_profile_strategy_overrides.py index 0766f38d..bfdfe3e8 100644 --- a/src/auth0/management/types/connection_profile_strategy_overrides.py +++ b/src/auth0/management/types/connection_profile_strategy_overrides.py @@ -20,7 +20,7 @@ class ConnectionProfileStrategyOverrides(UniversalBaseModel): waad: typing.Optional[ConnectionProfileStrategyOverride] = None google_apps: typing_extensions.Annotated[ typing.Optional[ConnectionProfileStrategyOverride], FieldMetadata(alias="google-apps") - ] = None + ] = pydantic.Field(alias="google-apps", default=None) okta: typing.Optional[ConnectionProfileStrategyOverride] = None oidc: typing.Optional[ConnectionProfileStrategyOverride] = None samlp: typing.Optional[ConnectionProfileStrategyOverride] = None diff --git a/src/auth0/management/types/connection_properties_options.py b/src/auth0/management/types/connection_properties_options.py index cfa03723..0a0a74bf 100644 --- a/src/auth0/management/types/connection_properties_options.py +++ b/src/auth0/management/types/connection_properties_options.py @@ -47,7 +47,7 @@ class ConnectionPropertiesOptions(UniversalBaseModel): enabled_database_customization: typing_extensions.Annotated[ typing.Optional[bool], FieldMetadata(alias="enabledDatabaseCustomization") - ] = pydantic.Field(default=None) + ] = pydantic.Field(alias="enabledDatabaseCustomization", default=None) """ Set to true to use a legacy user store """ @@ -59,12 +59,12 @@ class ConnectionPropertiesOptions(UniversalBaseModel): custom_scripts: typing_extensions.Annotated[ typing.Optional[ConnectionCustomScripts], FieldMetadata(alias="customScripts") - ] = None + ] = pydantic.Field(alias="customScripts", default=None) authentication_methods: typing.Optional[ConnectionAuthenticationMethods] = None passkey_options: typing.Optional[ConnectionPasskeyOptions] = None password_policy: typing_extensions.Annotated[ typing.Optional[ConnectionPasswordPolicyEnum], FieldMetadata(alias="passwordPolicy") - ] = None + ] = pydantic.Field(alias="passwordPolicy", default=None) password_complexity_options: typing.Optional[ConnectionPasswordComplexityOptions] = None password_history: typing.Optional[ConnectionPasswordHistoryOptions] = None password_no_personal_info: typing.Optional[ConnectionPasswordNoPersonalInfoOptions] = None diff --git a/src/auth0/management/types/connection_protocol_binding_enum_saml.py b/src/auth0/management/types/connection_protocol_binding_enum_saml.py new file mode 100644 index 00000000..d2d7b8eb --- /dev/null +++ b/src/auth0/management/types/connection_protocol_binding_enum_saml.py @@ -0,0 +1,10 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ConnectionProtocolBindingEnumSaml = typing.Union[ + typing.Literal[ + "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST", "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" + ], + typing.Any, +] diff --git a/src/auth0/management/types/connection_protocol_binding_saml.py b/src/auth0/management/types/connection_protocol_binding_saml.py new file mode 100644 index 00000000..f1bdd70c --- /dev/null +++ b/src/auth0/management/types/connection_protocol_binding_saml.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +from .connection_protocol_binding_enum_saml import ConnectionProtocolBindingEnumSaml + +ConnectionProtocolBindingSaml = ConnectionProtocolBindingEnumSaml diff --git a/src/auth0/management/types/connection_provider_enum_sms.py b/src/auth0/management/types/connection_provider_enum_sms.py new file mode 100644 index 00000000..9ff639f0 --- /dev/null +++ b/src/auth0/management/types/connection_provider_enum_sms.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ConnectionProviderEnumSms = typing.Union[typing.Literal["sms_gateway", "twilio"], typing.Any] diff --git a/src/auth0/management/types/connection_provider_sms.py b/src/auth0/management/types/connection_provider_sms.py new file mode 100644 index 00000000..e9cdf96c --- /dev/null +++ b/src/auth0/management/types/connection_provider_sms.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +from .connection_provider_enum_sms import ConnectionProviderEnumSms + +ConnectionProviderSms = ConnectionProviderEnumSms diff --git a/src/auth0/management/types/connection_recipient_url_saml.py b/src/auth0/management/types/connection_recipient_url_saml.py new file mode 100644 index 00000000..047b8889 --- /dev/null +++ b/src/auth0/management/types/connection_recipient_url_saml.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +from .connection_https_url_with_http_fallback_255 import ConnectionHttpsUrlWithHttpFallback255 + +ConnectionRecipientUrlSaml = ConnectionHttpsUrlWithHttpFallback255 diff --git a/src/auth0/management/types/connection_registration_endpoint.py b/src/auth0/management/types/connection_registration_endpoint.py index fd430ed6..44ba18a8 100644 --- a/src/auth0/management/types/connection_registration_endpoint.py +++ b/src/auth0/management/types/connection_registration_endpoint.py @@ -1,5 +1,5 @@ # This file was auto-generated by Fern from our API Definition. -from .connection_https_url_with_http_fallback import ConnectionHttpsUrlWithHttpFallback +from .connection_https_url_with_http_fallback_255 import ConnectionHttpsUrlWithHttpFallback255 -ConnectionRegistrationEndpoint = ConnectionHttpsUrlWithHttpFallback +ConnectionRegistrationEndpoint = ConnectionHttpsUrlWithHttpFallback255 diff --git a/src/auth0/management/types/connection_request_template_saml.py b/src/auth0/management/types/connection_request_template_saml.py new file mode 100644 index 00000000..c3f2b17c --- /dev/null +++ b/src/auth0/management/types/connection_request_template_saml.py @@ -0,0 +1,3 @@ +# This file was auto-generated by Fern from our API Definition. + +ConnectionRequestTemplateSaml = str diff --git a/src/auth0/management/types/connection_response_common.py b/src/auth0/management/types/connection_response_common.py index e069c223..fc411428 100644 --- a/src/auth0/management/types/connection_response_common.py +++ b/src/auth0/management/types/connection_response_common.py @@ -5,11 +5,13 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_id import ConnectionId +from .connection_realms import ConnectionRealms from .create_connection_common import CreateConnectionCommon class ConnectionResponseCommon(CreateConnectionCommon): id: typing.Optional[ConnectionId] = None + realms: typing.Optional[ConnectionRealms] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/connection_response_content_ad.py b/src/auth0/management/types/connection_response_content_ad.py index 24629bba..1a2541f8 100644 --- a/src/auth0/management/types/connection_response_content_ad.py +++ b/src/auth0/management/types/connection_response_content_ad.py @@ -5,7 +5,9 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_ad import ConnectionOptionsAd +from .connection_provisioning_ticket_url import ConnectionProvisioningTicketUrl from .connection_response_common import ConnectionResponseCommon +from .connection_response_content_ad_strategy import ConnectionResponseContentAdStrategy class ConnectionResponseContentAd(ConnectionResponseCommon): @@ -13,8 +15,9 @@ class ConnectionResponseContentAd(ConnectionResponseCommon): Response for connections with strategy=ad """ - strategy: typing.Literal["ad"] = "ad" + strategy: ConnectionResponseContentAdStrategy options: typing.Optional[ConnectionOptionsAd] = None + provisioning_ticket_url: typing.Optional[ConnectionProvisioningTicketUrl] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/connection_response_content_ad_strategy.py b/src/auth0/management/types/connection_response_content_ad_strategy.py new file mode 100644 index 00000000..6bfc58ca --- /dev/null +++ b/src/auth0/management/types/connection_response_content_ad_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ConnectionResponseContentAdStrategy = typing.Union[typing.Literal["ad"], typing.Any] diff --git a/src/auth0/management/types/connection_response_content_adfs.py b/src/auth0/management/types/connection_response_content_adfs.py index f8cc3496..d8d27cb3 100644 --- a/src/auth0/management/types/connection_response_content_adfs.py +++ b/src/auth0/management/types/connection_response_content_adfs.py @@ -5,7 +5,10 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_adfs import ConnectionOptionsAdfs +from .connection_provisioning_ticket_url import ConnectionProvisioningTicketUrl from .connection_response_common import ConnectionResponseCommon +from .connection_response_content_adfs_strategy import ConnectionResponseContentAdfsStrategy +from .connection_show_as_button import ConnectionShowAsButton class ConnectionResponseContentAdfs(ConnectionResponseCommon): @@ -13,8 +16,10 @@ class ConnectionResponseContentAdfs(ConnectionResponseCommon): Response for connections with strategy=adfs """ - strategy: typing.Literal["adfs"] = "adfs" + strategy: ConnectionResponseContentAdfsStrategy options: typing.Optional[ConnectionOptionsAdfs] = None + provisioning_ticket_url: typing.Optional[ConnectionProvisioningTicketUrl] = None + show_as_button: typing.Optional[ConnectionShowAsButton] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/connection_response_content_adfs_strategy.py b/src/auth0/management/types/connection_response_content_adfs_strategy.py new file mode 100644 index 00000000..600f8825 --- /dev/null +++ b/src/auth0/management/types/connection_response_content_adfs_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ConnectionResponseContentAdfsStrategy = typing.Union[typing.Literal["adfs"], typing.Any] diff --git a/src/auth0/management/types/connection_response_content_amazon.py b/src/auth0/management/types/connection_response_content_amazon.py index 5a407b3e..7d55d29b 100644 --- a/src/auth0/management/types/connection_response_content_amazon.py +++ b/src/auth0/management/types/connection_response_content_amazon.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_amazon import ConnectionOptionsAmazon from .connection_response_common import ConnectionResponseCommon +from .connection_response_content_amazon_strategy import ConnectionResponseContentAmazonStrategy class ConnectionResponseContentAmazon(ConnectionResponseCommon): @@ -13,7 +14,7 @@ class ConnectionResponseContentAmazon(ConnectionResponseCommon): Response for connections with strategy=amazon """ - strategy: typing.Literal["amazon"] = "amazon" + strategy: ConnectionResponseContentAmazonStrategy options: typing.Optional[ConnectionOptionsAmazon] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/connection_response_content_amazon_strategy.py b/src/auth0/management/types/connection_response_content_amazon_strategy.py new file mode 100644 index 00000000..6a2a1037 --- /dev/null +++ b/src/auth0/management/types/connection_response_content_amazon_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ConnectionResponseContentAmazonStrategy = typing.Union[typing.Literal["amazon"], typing.Any] diff --git a/src/auth0/management/types/connection_response_content_aol.py b/src/auth0/management/types/connection_response_content_aol.py index 813f0b65..c09c21c7 100644 --- a/src/auth0/management/types/connection_response_content_aol.py +++ b/src/auth0/management/types/connection_response_content_aol.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_aol import ConnectionOptionsAol from .connection_response_common import ConnectionResponseCommon +from .connection_response_content_aol_strategy import ConnectionResponseContentAolStrategy class ConnectionResponseContentAol(ConnectionResponseCommon): @@ -13,7 +14,7 @@ class ConnectionResponseContentAol(ConnectionResponseCommon): Response for connections with strategy=aol """ - strategy: typing.Literal["aol"] = "aol" + strategy: ConnectionResponseContentAolStrategy options: typing.Optional[ConnectionOptionsAol] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/connection_response_content_aol_strategy.py b/src/auth0/management/types/connection_response_content_aol_strategy.py new file mode 100644 index 00000000..d5456f9b --- /dev/null +++ b/src/auth0/management/types/connection_response_content_aol_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ConnectionResponseContentAolStrategy = typing.Union[typing.Literal["aol"], typing.Any] diff --git a/src/auth0/management/types/connection_response_content_apple.py b/src/auth0/management/types/connection_response_content_apple.py index cc736160..1fd09a1a 100644 --- a/src/auth0/management/types/connection_response_content_apple.py +++ b/src/auth0/management/types/connection_response_content_apple.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_apple import ConnectionOptionsApple from .connection_response_common import ConnectionResponseCommon +from .connection_response_content_apple_strategy import ConnectionResponseContentAppleStrategy class ConnectionResponseContentApple(ConnectionResponseCommon): @@ -13,7 +14,7 @@ class ConnectionResponseContentApple(ConnectionResponseCommon): Response for connections with strategy=apple """ - strategy: typing.Literal["apple"] = "apple" + strategy: ConnectionResponseContentAppleStrategy options: typing.Optional[ConnectionOptionsApple] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/connection_response_content_apple_strategy.py b/src/auth0/management/types/connection_response_content_apple_strategy.py new file mode 100644 index 00000000..e4542cf4 --- /dev/null +++ b/src/auth0/management/types/connection_response_content_apple_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ConnectionResponseContentAppleStrategy = typing.Union[typing.Literal["apple"], typing.Any] diff --git a/src/auth0/management/types/connection_response_content_auth_0.py b/src/auth0/management/types/connection_response_content_auth_0.py index 23a036f6..ef6cf2b4 100644 --- a/src/auth0/management/types/connection_response_content_auth_0.py +++ b/src/auth0/management/types/connection_response_content_auth_0.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_auth_0 import ConnectionOptionsAuth0 from .connection_response_common import ConnectionResponseCommon +from .connection_response_content_auth_0_strategy import ConnectionResponseContentAuth0Strategy class ConnectionResponseContentAuth0(ConnectionResponseCommon): @@ -13,7 +14,7 @@ class ConnectionResponseContentAuth0(ConnectionResponseCommon): Response for connections with strategy=auth0 """ - strategy: typing.Literal["auth0"] = "auth0" + strategy: ConnectionResponseContentAuth0Strategy options: typing.Optional[ConnectionOptionsAuth0] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/connection_response_content_auth_0_oidc.py b/src/auth0/management/types/connection_response_content_auth_0_oidc.py index 5e53066e..3ad5a6fd 100644 --- a/src/auth0/management/types/connection_response_content_auth_0_oidc.py +++ b/src/auth0/management/types/connection_response_content_auth_0_oidc.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_auth_0_oidc import ConnectionOptionsAuth0Oidc from .connection_response_common import ConnectionResponseCommon +from .connection_response_content_auth_0_oidc_strategy import ConnectionResponseContentAuth0OidcStrategy class ConnectionResponseContentAuth0Oidc(ConnectionResponseCommon): @@ -13,7 +14,7 @@ class ConnectionResponseContentAuth0Oidc(ConnectionResponseCommon): Response for connections with strategy=auth0-oidc """ - strategy: typing.Literal["auth0-oidc"] = "auth0-oidc" + strategy: ConnectionResponseContentAuth0OidcStrategy options: typing.Optional[ConnectionOptionsAuth0Oidc] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/connection_response_content_auth_0_oidc_strategy.py b/src/auth0/management/types/connection_response_content_auth_0_oidc_strategy.py new file mode 100644 index 00000000..a1cd70cd --- /dev/null +++ b/src/auth0/management/types/connection_response_content_auth_0_oidc_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ConnectionResponseContentAuth0OidcStrategy = typing.Union[typing.Literal["auth0-oidc"], typing.Any] diff --git a/src/auth0/management/types/connection_response_content_auth_0_strategy.py b/src/auth0/management/types/connection_response_content_auth_0_strategy.py new file mode 100644 index 00000000..cc57b6f7 --- /dev/null +++ b/src/auth0/management/types/connection_response_content_auth_0_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ConnectionResponseContentAuth0Strategy = typing.Union[typing.Literal["auth0"], typing.Any] diff --git a/src/auth0/management/types/connection_response_content_azure_ad.py b/src/auth0/management/types/connection_response_content_azure_ad.py index 909d83f4..fd19e239 100644 --- a/src/auth0/management/types/connection_response_content_azure_ad.py +++ b/src/auth0/management/types/connection_response_content_azure_ad.py @@ -5,10 +5,10 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_azure_ad import ConnectionOptionsAzureAd -from .connection_provisioning_ticket import ConnectionProvisioningTicket from .connection_provisioning_ticket_url import ConnectionProvisioningTicketUrl from .connection_response_common import ConnectionResponseCommon -from .connection_strategy_version_enum_azure_ad import ConnectionStrategyVersionEnumAzureAd +from .connection_response_content_azure_ad_strategy import ConnectionResponseContentAzureAdStrategy +from .connection_show_as_button import ConnectionShowAsButton class ConnectionResponseContentAzureAd(ConnectionResponseCommon): @@ -16,11 +16,10 @@ class ConnectionResponseContentAzureAd(ConnectionResponseCommon): Response for connections with strategy=waad """ - strategy: typing.Literal["waad"] = "waad" + strategy: ConnectionResponseContentAzureAdStrategy options: typing.Optional[ConnectionOptionsAzureAd] = None - provisioning_ticket: typing.Optional[ConnectionProvisioningTicket] = None provisioning_ticket_url: typing.Optional[ConnectionProvisioningTicketUrl] = None - strategy_version: typing.Optional[ConnectionStrategyVersionEnumAzureAd] = None + show_as_button: typing.Optional[ConnectionShowAsButton] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/connection_response_content_azure_ad_strategy.py b/src/auth0/management/types/connection_response_content_azure_ad_strategy.py new file mode 100644 index 00000000..6fda3ca9 --- /dev/null +++ b/src/auth0/management/types/connection_response_content_azure_ad_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ConnectionResponseContentAzureAdStrategy = typing.Union[typing.Literal["waad"], typing.Any] diff --git a/src/auth0/management/types/connection_response_content_baidu.py b/src/auth0/management/types/connection_response_content_baidu.py index 21d24dde..4ff38854 100644 --- a/src/auth0/management/types/connection_response_content_baidu.py +++ b/src/auth0/management/types/connection_response_content_baidu.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_baidu import ConnectionOptionsBaidu from .connection_response_common import ConnectionResponseCommon +from .connection_response_content_baidu_strategy import ConnectionResponseContentBaiduStrategy class ConnectionResponseContentBaidu(ConnectionResponseCommon): @@ -13,7 +14,7 @@ class ConnectionResponseContentBaidu(ConnectionResponseCommon): Response for connections with strategy=baidu """ - strategy: typing.Literal["baidu"] = "baidu" + strategy: ConnectionResponseContentBaiduStrategy options: typing.Optional[ConnectionOptionsBaidu] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/connection_response_content_baidu_strategy.py b/src/auth0/management/types/connection_response_content_baidu_strategy.py new file mode 100644 index 00000000..f98121ee --- /dev/null +++ b/src/auth0/management/types/connection_response_content_baidu_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ConnectionResponseContentBaiduStrategy = typing.Union[typing.Literal["baidu"], typing.Any] diff --git a/src/auth0/management/types/connection_response_content_bitbucket.py b/src/auth0/management/types/connection_response_content_bitbucket.py index 25bae3f1..ea8c1dd8 100644 --- a/src/auth0/management/types/connection_response_content_bitbucket.py +++ b/src/auth0/management/types/connection_response_content_bitbucket.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_bitbucket import ConnectionOptionsBitbucket from .connection_response_common import ConnectionResponseCommon +from .connection_response_content_bitbucket_strategy import ConnectionResponseContentBitbucketStrategy class ConnectionResponseContentBitbucket(ConnectionResponseCommon): @@ -13,7 +14,7 @@ class ConnectionResponseContentBitbucket(ConnectionResponseCommon): Response for connections with strategy=bitbucket """ - strategy: typing.Literal["bitbucket"] = "bitbucket" + strategy: ConnectionResponseContentBitbucketStrategy options: typing.Optional[ConnectionOptionsBitbucket] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/connection_response_content_bitbucket_strategy.py b/src/auth0/management/types/connection_response_content_bitbucket_strategy.py new file mode 100644 index 00000000..0ed2db7a --- /dev/null +++ b/src/auth0/management/types/connection_response_content_bitbucket_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ConnectionResponseContentBitbucketStrategy = typing.Union[typing.Literal["bitbucket"], typing.Any] diff --git a/src/auth0/management/types/connection_response_content_bitly.py b/src/auth0/management/types/connection_response_content_bitly.py index 4a8d05da..35ff7e59 100644 --- a/src/auth0/management/types/connection_response_content_bitly.py +++ b/src/auth0/management/types/connection_response_content_bitly.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_bitly import ConnectionOptionsBitly from .connection_response_common import ConnectionResponseCommon +from .connection_response_content_bitly_strategy import ConnectionResponseContentBitlyStrategy class ConnectionResponseContentBitly(ConnectionResponseCommon): @@ -13,7 +14,7 @@ class ConnectionResponseContentBitly(ConnectionResponseCommon): Response for connections with strategy=bitly """ - strategy: typing.Literal["bitly"] = "bitly" + strategy: ConnectionResponseContentBitlyStrategy options: typing.Optional[ConnectionOptionsBitly] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/connection_response_content_bitly_strategy.py b/src/auth0/management/types/connection_response_content_bitly_strategy.py new file mode 100644 index 00000000..6b430ecc --- /dev/null +++ b/src/auth0/management/types/connection_response_content_bitly_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ConnectionResponseContentBitlyStrategy = typing.Union[typing.Literal["bitly"], typing.Any] diff --git a/src/auth0/management/types/connection_response_content_box.py b/src/auth0/management/types/connection_response_content_box.py index 10f2f078..e6c6d878 100644 --- a/src/auth0/management/types/connection_response_content_box.py +++ b/src/auth0/management/types/connection_response_content_box.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_box import ConnectionOptionsBox from .connection_response_common import ConnectionResponseCommon +from .connection_response_content_box_strategy import ConnectionResponseContentBoxStrategy class ConnectionResponseContentBox(ConnectionResponseCommon): @@ -13,7 +14,7 @@ class ConnectionResponseContentBox(ConnectionResponseCommon): Response for connections with strategy=box """ - strategy: typing.Literal["box"] = "box" + strategy: ConnectionResponseContentBoxStrategy options: typing.Optional[ConnectionOptionsBox] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/connection_response_content_box_strategy.py b/src/auth0/management/types/connection_response_content_box_strategy.py new file mode 100644 index 00000000..0b5755bd --- /dev/null +++ b/src/auth0/management/types/connection_response_content_box_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ConnectionResponseContentBoxStrategy = typing.Union[typing.Literal["box"], typing.Any] diff --git a/src/auth0/management/types/connection_response_content_custom.py b/src/auth0/management/types/connection_response_content_custom.py index dc02b858..fd407795 100644 --- a/src/auth0/management/types/connection_response_content_custom.py +++ b/src/auth0/management/types/connection_response_content_custom.py @@ -5,7 +5,9 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_custom import ConnectionOptionsCustom +from .connection_provisioning_ticket_url import ConnectionProvisioningTicketUrl from .connection_response_common import ConnectionResponseCommon +from .connection_response_content_custom_strategy import ConnectionResponseContentCustomStrategy class ConnectionResponseContentCustom(ConnectionResponseCommon): @@ -13,8 +15,9 @@ class ConnectionResponseContentCustom(ConnectionResponseCommon): Response for connections with strategy=custom """ - strategy: typing.Literal["custom"] = "custom" + strategy: ConnectionResponseContentCustomStrategy options: typing.Optional[ConnectionOptionsCustom] = None + provisioning_ticket_url: typing.Optional[ConnectionProvisioningTicketUrl] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/connection_response_content_custom_strategy.py b/src/auth0/management/types/connection_response_content_custom_strategy.py new file mode 100644 index 00000000..182747bf --- /dev/null +++ b/src/auth0/management/types/connection_response_content_custom_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ConnectionResponseContentCustomStrategy = typing.Union[typing.Literal["custom"], typing.Any] diff --git a/src/auth0/management/types/connection_response_content_daccount.py b/src/auth0/management/types/connection_response_content_daccount.py index 07a316f0..7c3aff20 100644 --- a/src/auth0/management/types/connection_response_content_daccount.py +++ b/src/auth0/management/types/connection_response_content_daccount.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_daccount import ConnectionOptionsDaccount from .connection_response_common import ConnectionResponseCommon +from .connection_response_content_daccount_strategy import ConnectionResponseContentDaccountStrategy class ConnectionResponseContentDaccount(ConnectionResponseCommon): @@ -13,7 +14,7 @@ class ConnectionResponseContentDaccount(ConnectionResponseCommon): Response for connections with strategy=daccount """ - strategy: typing.Literal["daccount"] = "daccount" + strategy: ConnectionResponseContentDaccountStrategy options: typing.Optional[ConnectionOptionsDaccount] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/connection_response_content_daccount_strategy.py b/src/auth0/management/types/connection_response_content_daccount_strategy.py new file mode 100644 index 00000000..b1394d52 --- /dev/null +++ b/src/auth0/management/types/connection_response_content_daccount_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ConnectionResponseContentDaccountStrategy = typing.Union[typing.Literal["daccount"], typing.Any] diff --git a/src/auth0/management/types/connection_response_content_dropbox.py b/src/auth0/management/types/connection_response_content_dropbox.py index 054fda00..026dcb83 100644 --- a/src/auth0/management/types/connection_response_content_dropbox.py +++ b/src/auth0/management/types/connection_response_content_dropbox.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_dropbox import ConnectionOptionsDropbox from .connection_response_common import ConnectionResponseCommon +from .connection_response_content_dropbox_strategy import ConnectionResponseContentDropboxStrategy class ConnectionResponseContentDropbox(ConnectionResponseCommon): @@ -13,7 +14,7 @@ class ConnectionResponseContentDropbox(ConnectionResponseCommon): Response for connections with strategy=dropbox """ - strategy: typing.Literal["dropbox"] = "dropbox" + strategy: ConnectionResponseContentDropboxStrategy options: typing.Optional[ConnectionOptionsDropbox] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/connection_response_content_dropbox_strategy.py b/src/auth0/management/types/connection_response_content_dropbox_strategy.py new file mode 100644 index 00000000..720648fc --- /dev/null +++ b/src/auth0/management/types/connection_response_content_dropbox_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ConnectionResponseContentDropboxStrategy = typing.Union[typing.Literal["dropbox"], typing.Any] diff --git a/src/auth0/management/types/connection_response_content_dwolla.py b/src/auth0/management/types/connection_response_content_dwolla.py index 6829629a..9414465a 100644 --- a/src/auth0/management/types/connection_response_content_dwolla.py +++ b/src/auth0/management/types/connection_response_content_dwolla.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_dwolla import ConnectionOptionsDwolla from .connection_response_common import ConnectionResponseCommon +from .connection_response_content_dwolla_strategy import ConnectionResponseContentDwollaStrategy class ConnectionResponseContentDwolla(ConnectionResponseCommon): @@ -13,7 +14,7 @@ class ConnectionResponseContentDwolla(ConnectionResponseCommon): Response for connections with strategy=dwolla """ - strategy: typing.Literal["dwolla"] = "dwolla" + strategy: ConnectionResponseContentDwollaStrategy options: typing.Optional[ConnectionOptionsDwolla] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/connection_response_content_dwolla_strategy.py b/src/auth0/management/types/connection_response_content_dwolla_strategy.py new file mode 100644 index 00000000..45867e6a --- /dev/null +++ b/src/auth0/management/types/connection_response_content_dwolla_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ConnectionResponseContentDwollaStrategy = typing.Union[typing.Literal["dwolla"], typing.Any] diff --git a/src/auth0/management/types/connection_response_content_email.py b/src/auth0/management/types/connection_response_content_email.py index 43be73d9..ce836516 100644 --- a/src/auth0/management/types/connection_response_content_email.py +++ b/src/auth0/management/types/connection_response_content_email.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_email import ConnectionOptionsEmail from .connection_response_common import ConnectionResponseCommon +from .connection_response_content_email_strategy import ConnectionResponseContentEmailStrategy class ConnectionResponseContentEmail(ConnectionResponseCommon): @@ -13,7 +14,7 @@ class ConnectionResponseContentEmail(ConnectionResponseCommon): Response for connections with strategy=email """ - strategy: typing.Literal["email"] = "email" + strategy: ConnectionResponseContentEmailStrategy options: typing.Optional[ConnectionOptionsEmail] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/connection_response_content_email_strategy.py b/src/auth0/management/types/connection_response_content_email_strategy.py new file mode 100644 index 00000000..c4f237ca --- /dev/null +++ b/src/auth0/management/types/connection_response_content_email_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ConnectionResponseContentEmailStrategy = typing.Union[typing.Literal["email"], typing.Any] diff --git a/src/auth0/management/types/connection_response_content_evernote.py b/src/auth0/management/types/connection_response_content_evernote.py index d6c41fe6..f3c98c2a 100644 --- a/src/auth0/management/types/connection_response_content_evernote.py +++ b/src/auth0/management/types/connection_response_content_evernote.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_evernote import ConnectionOptionsEvernote from .connection_response_common import ConnectionResponseCommon +from .connection_response_content_evernote_strategy import ConnectionResponseContentEvernoteStrategy class ConnectionResponseContentEvernote(ConnectionResponseCommon): @@ -13,7 +14,7 @@ class ConnectionResponseContentEvernote(ConnectionResponseCommon): Response for connections with strategy=evernote """ - strategy: typing.Literal["evernote"] = "evernote" + strategy: ConnectionResponseContentEvernoteStrategy options: typing.Optional[ConnectionOptionsEvernote] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/connection_response_content_evernote_sandbox.py b/src/auth0/management/types/connection_response_content_evernote_sandbox.py index a2d8cfa4..390e3398 100644 --- a/src/auth0/management/types/connection_response_content_evernote_sandbox.py +++ b/src/auth0/management/types/connection_response_content_evernote_sandbox.py @@ -4,8 +4,9 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 -from .connection_options_evernote_sandbox import ConnectionOptionsEvernoteSandbox +from .connection_options_evernote import ConnectionOptionsEvernote from .connection_response_common import ConnectionResponseCommon +from .connection_response_content_evernote_sandbox_strategy import ConnectionResponseContentEvernoteSandboxStrategy class ConnectionResponseContentEvernoteSandbox(ConnectionResponseCommon): @@ -13,8 +14,8 @@ class ConnectionResponseContentEvernoteSandbox(ConnectionResponseCommon): Response for connections with strategy=evernote-sandbox """ - strategy: typing.Literal["evernote-sandbox"] = "evernote-sandbox" - options: typing.Optional[ConnectionOptionsEvernoteSandbox] = None + strategy: ConnectionResponseContentEvernoteSandboxStrategy + options: typing.Optional[ConnectionOptionsEvernote] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/connection_response_content_evernote_sandbox_strategy.py b/src/auth0/management/types/connection_response_content_evernote_sandbox_strategy.py new file mode 100644 index 00000000..8ee8993f --- /dev/null +++ b/src/auth0/management/types/connection_response_content_evernote_sandbox_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ConnectionResponseContentEvernoteSandboxStrategy = typing.Union[typing.Literal["evernote-sandbox"], typing.Any] diff --git a/src/auth0/management/types/connection_response_content_evernote_strategy.py b/src/auth0/management/types/connection_response_content_evernote_strategy.py new file mode 100644 index 00000000..dca0d105 --- /dev/null +++ b/src/auth0/management/types/connection_response_content_evernote_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ConnectionResponseContentEvernoteStrategy = typing.Union[typing.Literal["evernote"], typing.Any] diff --git a/src/auth0/management/types/connection_response_content_exact.py b/src/auth0/management/types/connection_response_content_exact.py index 03d95ead..596a11cc 100644 --- a/src/auth0/management/types/connection_response_content_exact.py +++ b/src/auth0/management/types/connection_response_content_exact.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_exact import ConnectionOptionsExact from .connection_response_common import ConnectionResponseCommon +from .connection_response_content_exact_strategy import ConnectionResponseContentExactStrategy class ConnectionResponseContentExact(ConnectionResponseCommon): @@ -13,7 +14,7 @@ class ConnectionResponseContentExact(ConnectionResponseCommon): Response for connections with strategy=exact """ - strategy: typing.Literal["exact"] = "exact" + strategy: ConnectionResponseContentExactStrategy options: typing.Optional[ConnectionOptionsExact] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/connection_response_content_exact_strategy.py b/src/auth0/management/types/connection_response_content_exact_strategy.py new file mode 100644 index 00000000..0ee86d17 --- /dev/null +++ b/src/auth0/management/types/connection_response_content_exact_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ConnectionResponseContentExactStrategy = typing.Union[typing.Literal["exact"], typing.Any] diff --git a/src/auth0/management/types/connection_response_content_facebook.py b/src/auth0/management/types/connection_response_content_facebook.py index 05f9bb16..98af6697 100644 --- a/src/auth0/management/types/connection_response_content_facebook.py +++ b/src/auth0/management/types/connection_response_content_facebook.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_facebook import ConnectionOptionsFacebook from .connection_response_common import ConnectionResponseCommon +from .connection_response_content_facebook_strategy import ConnectionResponseContentFacebookStrategy class ConnectionResponseContentFacebook(ConnectionResponseCommon): @@ -13,7 +14,7 @@ class ConnectionResponseContentFacebook(ConnectionResponseCommon): Response for connections with strategy=facebook """ - strategy: typing.Literal["facebook"] = "facebook" + strategy: ConnectionResponseContentFacebookStrategy options: typing.Optional[ConnectionOptionsFacebook] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/connection_response_content_facebook_strategy.py b/src/auth0/management/types/connection_response_content_facebook_strategy.py new file mode 100644 index 00000000..c22c0b25 --- /dev/null +++ b/src/auth0/management/types/connection_response_content_facebook_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ConnectionResponseContentFacebookStrategy = typing.Union[typing.Literal["facebook"], typing.Any] diff --git a/src/auth0/management/types/connection_response_content_fitbit.py b/src/auth0/management/types/connection_response_content_fitbit.py index dbceca66..4b9b150a 100644 --- a/src/auth0/management/types/connection_response_content_fitbit.py +++ b/src/auth0/management/types/connection_response_content_fitbit.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_fitbit import ConnectionOptionsFitbit from .connection_response_common import ConnectionResponseCommon +from .connection_response_content_fitbit_strategy import ConnectionResponseContentFitbitStrategy class ConnectionResponseContentFitbit(ConnectionResponseCommon): @@ -13,7 +14,7 @@ class ConnectionResponseContentFitbit(ConnectionResponseCommon): Response for connections with strategy=fitbit """ - strategy: typing.Literal["fitbit"] = "fitbit" + strategy: ConnectionResponseContentFitbitStrategy options: typing.Optional[ConnectionOptionsFitbit] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/connection_response_content_fitbit_strategy.py b/src/auth0/management/types/connection_response_content_fitbit_strategy.py new file mode 100644 index 00000000..3144aabc --- /dev/null +++ b/src/auth0/management/types/connection_response_content_fitbit_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ConnectionResponseContentFitbitStrategy = typing.Union[typing.Literal["fitbit"], typing.Any] diff --git a/src/auth0/management/types/connection_response_content_flickr.py b/src/auth0/management/types/connection_response_content_flickr.py index 72246895..9662bcfa 100644 --- a/src/auth0/management/types/connection_response_content_flickr.py +++ b/src/auth0/management/types/connection_response_content_flickr.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_flickr import ConnectionOptionsFlickr from .connection_response_common import ConnectionResponseCommon +from .connection_response_content_flickr_strategy import ConnectionResponseContentFlickrStrategy class ConnectionResponseContentFlickr(ConnectionResponseCommon): @@ -13,7 +14,7 @@ class ConnectionResponseContentFlickr(ConnectionResponseCommon): Response for connections with strategy=flickr """ - strategy: typing.Literal["flickr"] = "flickr" + strategy: ConnectionResponseContentFlickrStrategy options: typing.Optional[ConnectionOptionsFlickr] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/connection_response_content_flickr_strategy.py b/src/auth0/management/types/connection_response_content_flickr_strategy.py new file mode 100644 index 00000000..641e0e63 --- /dev/null +++ b/src/auth0/management/types/connection_response_content_flickr_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ConnectionResponseContentFlickrStrategy = typing.Union[typing.Literal["flickr"], typing.Any] diff --git a/src/auth0/management/types/connection_response_content_git_hub.py b/src/auth0/management/types/connection_response_content_git_hub.py index 70b16e15..8aaf268d 100644 --- a/src/auth0/management/types/connection_response_content_git_hub.py +++ b/src/auth0/management/types/connection_response_content_git_hub.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_git_hub import ConnectionOptionsGitHub from .connection_response_common import ConnectionResponseCommon +from .connection_response_content_git_hub_strategy import ConnectionResponseContentGitHubStrategy class ConnectionResponseContentGitHub(ConnectionResponseCommon): @@ -13,7 +14,7 @@ class ConnectionResponseContentGitHub(ConnectionResponseCommon): Response for connections with strategy=github """ - strategy: typing.Literal["github"] = "github" + strategy: ConnectionResponseContentGitHubStrategy options: typing.Optional[ConnectionOptionsGitHub] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/connection_response_content_git_hub_strategy.py b/src/auth0/management/types/connection_response_content_git_hub_strategy.py new file mode 100644 index 00000000..d75cd019 --- /dev/null +++ b/src/auth0/management/types/connection_response_content_git_hub_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ConnectionResponseContentGitHubStrategy = typing.Union[typing.Literal["github"], typing.Any] diff --git a/src/auth0/management/types/connection_response_content_google_apps.py b/src/auth0/management/types/connection_response_content_google_apps.py index 660e3fe3..47760646 100644 --- a/src/auth0/management/types/connection_response_content_google_apps.py +++ b/src/auth0/management/types/connection_response_content_google_apps.py @@ -5,7 +5,10 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_google_apps import ConnectionOptionsGoogleApps +from .connection_provisioning_ticket_url import ConnectionProvisioningTicketUrl from .connection_response_common import ConnectionResponseCommon +from .connection_response_content_google_apps_strategy import ConnectionResponseContentGoogleAppsStrategy +from .connection_show_as_button import ConnectionShowAsButton class ConnectionResponseContentGoogleApps(ConnectionResponseCommon): @@ -13,8 +16,10 @@ class ConnectionResponseContentGoogleApps(ConnectionResponseCommon): Response for connections with strategy=google-apps """ - strategy: typing.Literal["google-apps"] = "google-apps" + strategy: ConnectionResponseContentGoogleAppsStrategy options: typing.Optional[ConnectionOptionsGoogleApps] = None + provisioning_ticket_url: typing.Optional[ConnectionProvisioningTicketUrl] = None + show_as_button: typing.Optional[ConnectionShowAsButton] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/connection_response_content_google_apps_strategy.py b/src/auth0/management/types/connection_response_content_google_apps_strategy.py new file mode 100644 index 00000000..167304de --- /dev/null +++ b/src/auth0/management/types/connection_response_content_google_apps_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ConnectionResponseContentGoogleAppsStrategy = typing.Union[typing.Literal["google-apps"], typing.Any] diff --git a/src/auth0/management/types/connection_response_content_google_o_auth_2.py b/src/auth0/management/types/connection_response_content_google_o_auth_2.py index 57f15f78..71cacad0 100644 --- a/src/auth0/management/types/connection_response_content_google_o_auth_2.py +++ b/src/auth0/management/types/connection_response_content_google_o_auth_2.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_google_o_auth_2 import ConnectionOptionsGoogleOAuth2 from .connection_response_common import ConnectionResponseCommon +from .connection_response_content_google_o_auth_2_strategy import ConnectionResponseContentGoogleOAuth2Strategy class ConnectionResponseContentGoogleOAuth2(ConnectionResponseCommon): @@ -13,7 +14,7 @@ class ConnectionResponseContentGoogleOAuth2(ConnectionResponseCommon): Response for connections with strategy=google-oauth2 """ - strategy: typing.Literal["google-oauth2"] = "google-oauth2" + strategy: ConnectionResponseContentGoogleOAuth2Strategy options: typing.Optional[ConnectionOptionsGoogleOAuth2] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/connection_response_content_google_o_auth_2_strategy.py b/src/auth0/management/types/connection_response_content_google_o_auth_2_strategy.py new file mode 100644 index 00000000..9f825fc0 --- /dev/null +++ b/src/auth0/management/types/connection_response_content_google_o_auth_2_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ConnectionResponseContentGoogleOAuth2Strategy = typing.Union[typing.Literal["google-oauth2"], typing.Any] diff --git a/src/auth0/management/types/connection_response_content_instagram.py b/src/auth0/management/types/connection_response_content_instagram.py index 21568f5a..989aaa0d 100644 --- a/src/auth0/management/types/connection_response_content_instagram.py +++ b/src/auth0/management/types/connection_response_content_instagram.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_instagram import ConnectionOptionsInstagram from .connection_response_common import ConnectionResponseCommon +from .connection_response_content_instagram_strategy import ConnectionResponseContentInstagramStrategy class ConnectionResponseContentInstagram(ConnectionResponseCommon): @@ -13,7 +14,7 @@ class ConnectionResponseContentInstagram(ConnectionResponseCommon): Response for connections with strategy=instagram """ - strategy: typing.Literal["instagram"] = "instagram" + strategy: ConnectionResponseContentInstagramStrategy options: typing.Optional[ConnectionOptionsInstagram] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/connection_response_content_instagram_strategy.py b/src/auth0/management/types/connection_response_content_instagram_strategy.py new file mode 100644 index 00000000..e7cf867a --- /dev/null +++ b/src/auth0/management/types/connection_response_content_instagram_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ConnectionResponseContentInstagramStrategy = typing.Union[typing.Literal["instagram"], typing.Any] diff --git a/src/auth0/management/types/connection_response_content_ip.py b/src/auth0/management/types/connection_response_content_ip.py index 73a0ba88..27b3f58f 100644 --- a/src/auth0/management/types/connection_response_content_ip.py +++ b/src/auth0/management/types/connection_response_content_ip.py @@ -6,6 +6,8 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_ip import ConnectionOptionsIp from .connection_response_common import ConnectionResponseCommon +from .connection_response_content_ip_strategy import ConnectionResponseContentIpStrategy +from .connection_show_as_button import ConnectionShowAsButton class ConnectionResponseContentIp(ConnectionResponseCommon): @@ -13,8 +15,9 @@ class ConnectionResponseContentIp(ConnectionResponseCommon): Response for connections with strategy=ip """ - strategy: typing.Literal["ip"] = "ip" + strategy: ConnectionResponseContentIpStrategy options: typing.Optional[ConnectionOptionsIp] = None + show_as_button: typing.Optional[ConnectionShowAsButton] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/connection_response_content_ip_strategy.py b/src/auth0/management/types/connection_response_content_ip_strategy.py new file mode 100644 index 00000000..5772c5bd --- /dev/null +++ b/src/auth0/management/types/connection_response_content_ip_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ConnectionResponseContentIpStrategy = typing.Union[typing.Literal["ip"], typing.Any] diff --git a/src/auth0/management/types/connection_response_content_line.py b/src/auth0/management/types/connection_response_content_line.py index ab56cf00..72438a13 100644 --- a/src/auth0/management/types/connection_response_content_line.py +++ b/src/auth0/management/types/connection_response_content_line.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_line import ConnectionOptionsLine from .connection_response_common import ConnectionResponseCommon +from .connection_response_content_line_strategy import ConnectionResponseContentLineStrategy class ConnectionResponseContentLine(ConnectionResponseCommon): @@ -13,7 +14,7 @@ class ConnectionResponseContentLine(ConnectionResponseCommon): Response for connections with strategy=line """ - strategy: typing.Literal["line"] = "line" + strategy: ConnectionResponseContentLineStrategy options: typing.Optional[ConnectionOptionsLine] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/connection_response_content_line_strategy.py b/src/auth0/management/types/connection_response_content_line_strategy.py new file mode 100644 index 00000000..6e6a00ff --- /dev/null +++ b/src/auth0/management/types/connection_response_content_line_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ConnectionResponseContentLineStrategy = typing.Union[typing.Literal["line"], typing.Any] diff --git a/src/auth0/management/types/connection_response_content_linkedin.py b/src/auth0/management/types/connection_response_content_linkedin.py index 3253be1a..23786cfb 100644 --- a/src/auth0/management/types/connection_response_content_linkedin.py +++ b/src/auth0/management/types/connection_response_content_linkedin.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_linkedin import ConnectionOptionsLinkedin from .connection_response_common import ConnectionResponseCommon +from .connection_response_content_linkedin_strategy import ConnectionResponseContentLinkedinStrategy class ConnectionResponseContentLinkedin(ConnectionResponseCommon): @@ -13,7 +14,7 @@ class ConnectionResponseContentLinkedin(ConnectionResponseCommon): Response for connections with strategy=linkedin """ - strategy: typing.Literal["linkedin"] = "linkedin" + strategy: ConnectionResponseContentLinkedinStrategy options: typing.Optional[ConnectionOptionsLinkedin] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/connection_response_content_linkedin_strategy.py b/src/auth0/management/types/connection_response_content_linkedin_strategy.py new file mode 100644 index 00000000..d37e70c9 --- /dev/null +++ b/src/auth0/management/types/connection_response_content_linkedin_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ConnectionResponseContentLinkedinStrategy = typing.Union[typing.Literal["linkedin"], typing.Any] diff --git a/src/auth0/management/types/connection_response_content_miicard.py b/src/auth0/management/types/connection_response_content_miicard.py index d33e1a85..7da09958 100644 --- a/src/auth0/management/types/connection_response_content_miicard.py +++ b/src/auth0/management/types/connection_response_content_miicard.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_miicard import ConnectionOptionsMiicard from .connection_response_common import ConnectionResponseCommon +from .connection_response_content_miicard_strategy import ConnectionResponseContentMiicardStrategy class ConnectionResponseContentMiicard(ConnectionResponseCommon): @@ -13,7 +14,7 @@ class ConnectionResponseContentMiicard(ConnectionResponseCommon): Response for connections with strategy=miicard """ - strategy: typing.Literal["miicard"] = "miicard" + strategy: ConnectionResponseContentMiicardStrategy options: typing.Optional[ConnectionOptionsMiicard] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/connection_response_content_miicard_strategy.py b/src/auth0/management/types/connection_response_content_miicard_strategy.py new file mode 100644 index 00000000..f88c98e7 --- /dev/null +++ b/src/auth0/management/types/connection_response_content_miicard_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ConnectionResponseContentMiicardStrategy = typing.Union[typing.Literal["miicard"], typing.Any] diff --git a/src/auth0/management/types/connection_response_content_o_auth_1.py b/src/auth0/management/types/connection_response_content_o_auth_1.py index 43849c06..94f668b8 100644 --- a/src/auth0/management/types/connection_response_content_o_auth_1.py +++ b/src/auth0/management/types/connection_response_content_o_auth_1.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_o_auth_1 import ConnectionOptionsOAuth1 from .connection_response_common import ConnectionResponseCommon +from .connection_response_content_o_auth_1_strategy import ConnectionResponseContentOAuth1Strategy class ConnectionResponseContentOAuth1(ConnectionResponseCommon): @@ -13,7 +14,7 @@ class ConnectionResponseContentOAuth1(ConnectionResponseCommon): Response for connections with strategy=oauth1 """ - strategy: typing.Literal["oauth1"] = "oauth1" + strategy: ConnectionResponseContentOAuth1Strategy options: typing.Optional[ConnectionOptionsOAuth1] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/connection_response_content_o_auth_1_strategy.py b/src/auth0/management/types/connection_response_content_o_auth_1_strategy.py new file mode 100644 index 00000000..58d46757 --- /dev/null +++ b/src/auth0/management/types/connection_response_content_o_auth_1_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ConnectionResponseContentOAuth1Strategy = typing.Union[typing.Literal["oauth1"], typing.Any] diff --git a/src/auth0/management/types/connection_response_content_o_auth_2.py b/src/auth0/management/types/connection_response_content_o_auth_2.py index 6b5d765b..14af1834 100644 --- a/src/auth0/management/types/connection_response_content_o_auth_2.py +++ b/src/auth0/management/types/connection_response_content_o_auth_2.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_o_auth_2 import ConnectionOptionsOAuth2 from .connection_response_common import ConnectionResponseCommon +from .connection_response_content_o_auth_2_strategy import ConnectionResponseContentOAuth2Strategy class ConnectionResponseContentOAuth2(ConnectionResponseCommon): @@ -13,7 +14,7 @@ class ConnectionResponseContentOAuth2(ConnectionResponseCommon): Response for connections with strategy=oauth2 """ - strategy: typing.Literal["oauth2"] = "oauth2" + strategy: ConnectionResponseContentOAuth2Strategy options: typing.Optional[ConnectionOptionsOAuth2] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/connection_response_content_o_auth_2_strategy.py b/src/auth0/management/types/connection_response_content_o_auth_2_strategy.py new file mode 100644 index 00000000..eb580bb2 --- /dev/null +++ b/src/auth0/management/types/connection_response_content_o_auth_2_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ConnectionResponseContentOAuth2Strategy = typing.Union[typing.Literal["oauth2"], typing.Any] diff --git a/src/auth0/management/types/connection_response_content_office_365.py b/src/auth0/management/types/connection_response_content_office_365.py index 2cb46fcc..b373b8a0 100644 --- a/src/auth0/management/types/connection_response_content_office_365.py +++ b/src/auth0/management/types/connection_response_content_office_365.py @@ -5,7 +5,10 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_office_365 import ConnectionOptionsOffice365 +from .connection_provisioning_ticket_url import ConnectionProvisioningTicketUrl from .connection_response_common import ConnectionResponseCommon +from .connection_response_content_office_365_strategy import ConnectionResponseContentOffice365Strategy +from .connection_show_as_button import ConnectionShowAsButton class ConnectionResponseContentOffice365(ConnectionResponseCommon): @@ -13,8 +16,10 @@ class ConnectionResponseContentOffice365(ConnectionResponseCommon): Response for connections with strategy=office365 """ - strategy: typing.Literal["office365"] = "office365" + strategy: ConnectionResponseContentOffice365Strategy options: typing.Optional[ConnectionOptionsOffice365] = None + provisioning_ticket_url: typing.Optional[ConnectionProvisioningTicketUrl] = None + show_as_button: typing.Optional[ConnectionShowAsButton] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/connection_response_content_office_365_strategy.py b/src/auth0/management/types/connection_response_content_office_365_strategy.py new file mode 100644 index 00000000..c1f6ee99 --- /dev/null +++ b/src/auth0/management/types/connection_response_content_office_365_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ConnectionResponseContentOffice365Strategy = typing.Union[typing.Literal["office365"], typing.Any] diff --git a/src/auth0/management/types/connection_response_content_oidc.py b/src/auth0/management/types/connection_response_content_oidc.py index 37cf8c85..e0647f9d 100644 --- a/src/auth0/management/types/connection_response_content_oidc.py +++ b/src/auth0/management/types/connection_response_content_oidc.py @@ -6,6 +6,8 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_oidc import ConnectionOptionsOidc from .connection_response_common import ConnectionResponseCommon +from .connection_response_content_oidc_strategy import ConnectionResponseContentOidcStrategy +from .connection_show_as_button import ConnectionShowAsButton class ConnectionResponseContentOidc(ConnectionResponseCommon): @@ -13,8 +15,9 @@ class ConnectionResponseContentOidc(ConnectionResponseCommon): Response for connections with strategy=oidc """ - strategy: typing.Literal["oidc"] = "oidc" + strategy: ConnectionResponseContentOidcStrategy options: typing.Optional[ConnectionOptionsOidc] = None + show_as_button: typing.Optional[ConnectionShowAsButton] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/connection_response_content_oidc_strategy.py b/src/auth0/management/types/connection_response_content_oidc_strategy.py new file mode 100644 index 00000000..a94b7f71 --- /dev/null +++ b/src/auth0/management/types/connection_response_content_oidc_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ConnectionResponseContentOidcStrategy = typing.Union[typing.Literal["oidc"], typing.Any] diff --git a/src/auth0/management/types/connection_response_content_okta.py b/src/auth0/management/types/connection_response_content_okta.py index 057b8cdf..1d24f152 100644 --- a/src/auth0/management/types/connection_response_content_okta.py +++ b/src/auth0/management/types/connection_response_content_okta.py @@ -6,6 +6,8 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_okta import ConnectionOptionsOkta from .connection_response_common import ConnectionResponseCommon +from .connection_response_content_okta_strategy import ConnectionResponseContentOktaStrategy +from .connection_show_as_button import ConnectionShowAsButton class ConnectionResponseContentOkta(ConnectionResponseCommon): @@ -13,8 +15,9 @@ class ConnectionResponseContentOkta(ConnectionResponseCommon): Response for connections with strategy=okta """ - strategy: typing.Literal["okta"] = "okta" + strategy: ConnectionResponseContentOktaStrategy options: typing.Optional[ConnectionOptionsOkta] = None + show_as_button: typing.Optional[ConnectionShowAsButton] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/connection_response_content_okta_strategy.py b/src/auth0/management/types/connection_response_content_okta_strategy.py new file mode 100644 index 00000000..13c04083 --- /dev/null +++ b/src/auth0/management/types/connection_response_content_okta_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ConnectionResponseContentOktaStrategy = typing.Union[typing.Literal["okta"], typing.Any] diff --git a/src/auth0/management/types/connection_response_content_paypal.py b/src/auth0/management/types/connection_response_content_paypal.py index a969b9a6..a739105a 100644 --- a/src/auth0/management/types/connection_response_content_paypal.py +++ b/src/auth0/management/types/connection_response_content_paypal.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_paypal import ConnectionOptionsPaypal from .connection_response_common import ConnectionResponseCommon +from .connection_response_content_paypal_strategy import ConnectionResponseContentPaypalStrategy class ConnectionResponseContentPaypal(ConnectionResponseCommon): @@ -13,7 +14,7 @@ class ConnectionResponseContentPaypal(ConnectionResponseCommon): Response for connections with strategy=paypal """ - strategy: typing.Literal["paypal"] = "paypal" + strategy: ConnectionResponseContentPaypalStrategy options: typing.Optional[ConnectionOptionsPaypal] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/connection_response_content_paypal_sandbox.py b/src/auth0/management/types/connection_response_content_paypal_sandbox.py index 320f468d..2540b97e 100644 --- a/src/auth0/management/types/connection_response_content_paypal_sandbox.py +++ b/src/auth0/management/types/connection_response_content_paypal_sandbox.py @@ -4,8 +4,9 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 -from .connection_options_paypal_sandbox import ConnectionOptionsPaypalSandbox +from .connection_options_paypal import ConnectionOptionsPaypal from .connection_response_common import ConnectionResponseCommon +from .connection_response_content_paypal_sandbox_strategy import ConnectionResponseContentPaypalSandboxStrategy class ConnectionResponseContentPaypalSandbox(ConnectionResponseCommon): @@ -13,8 +14,8 @@ class ConnectionResponseContentPaypalSandbox(ConnectionResponseCommon): Response for connections with strategy=paypal-sandbox """ - strategy: typing.Literal["paypal-sandbox"] = "paypal-sandbox" - options: typing.Optional[ConnectionOptionsPaypalSandbox] = None + strategy: ConnectionResponseContentPaypalSandboxStrategy + options: typing.Optional[ConnectionOptionsPaypal] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/connection_response_content_paypal_sandbox_strategy.py b/src/auth0/management/types/connection_response_content_paypal_sandbox_strategy.py new file mode 100644 index 00000000..a2367180 --- /dev/null +++ b/src/auth0/management/types/connection_response_content_paypal_sandbox_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ConnectionResponseContentPaypalSandboxStrategy = typing.Union[typing.Literal["paypal-sandbox"], typing.Any] diff --git a/src/auth0/management/types/connection_response_content_paypal_strategy.py b/src/auth0/management/types/connection_response_content_paypal_strategy.py new file mode 100644 index 00000000..590ada5b --- /dev/null +++ b/src/auth0/management/types/connection_response_content_paypal_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ConnectionResponseContentPaypalStrategy = typing.Union[typing.Literal["paypal"], typing.Any] diff --git a/src/auth0/management/types/connection_response_content_ping_federate.py b/src/auth0/management/types/connection_response_content_ping_federate.py index a8bc7a68..dfc40cb0 100644 --- a/src/auth0/management/types/connection_response_content_ping_federate.py +++ b/src/auth0/management/types/connection_response_content_ping_federate.py @@ -5,7 +5,10 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_ping_federate import ConnectionOptionsPingFederate +from .connection_provisioning_ticket_url import ConnectionProvisioningTicketUrl from .connection_response_common import ConnectionResponseCommon +from .connection_response_content_ping_federate_strategy import ConnectionResponseContentPingFederateStrategy +from .connection_show_as_button import ConnectionShowAsButton class ConnectionResponseContentPingFederate(ConnectionResponseCommon): @@ -13,8 +16,10 @@ class ConnectionResponseContentPingFederate(ConnectionResponseCommon): Response for connections with strategy=pingfederate """ - strategy: typing.Literal["pingfederate"] = "pingfederate" + strategy: ConnectionResponseContentPingFederateStrategy options: typing.Optional[ConnectionOptionsPingFederate] = None + provisioning_ticket_url: typing.Optional[ConnectionProvisioningTicketUrl] = None + show_as_button: typing.Optional[ConnectionShowAsButton] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/connection_response_content_ping_federate_strategy.py b/src/auth0/management/types/connection_response_content_ping_federate_strategy.py new file mode 100644 index 00000000..336d8331 --- /dev/null +++ b/src/auth0/management/types/connection_response_content_ping_federate_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ConnectionResponseContentPingFederateStrategy = typing.Union[typing.Literal["pingfederate"], typing.Any] diff --git a/src/auth0/management/types/connection_response_content_planning_center.py b/src/auth0/management/types/connection_response_content_planning_center.py index 2190d218..72fa8b25 100644 --- a/src/auth0/management/types/connection_response_content_planning_center.py +++ b/src/auth0/management/types/connection_response_content_planning_center.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_planning_center import ConnectionOptionsPlanningCenter from .connection_response_common import ConnectionResponseCommon +from .connection_response_content_planning_center_strategy import ConnectionResponseContentPlanningCenterStrategy class ConnectionResponseContentPlanningCenter(ConnectionResponseCommon): @@ -13,7 +14,7 @@ class ConnectionResponseContentPlanningCenter(ConnectionResponseCommon): Response for connections with strategy=planningcenter """ - strategy: typing.Literal["planningcenter"] = "planningcenter" + strategy: ConnectionResponseContentPlanningCenterStrategy options: typing.Optional[ConnectionOptionsPlanningCenter] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/connection_response_content_planning_center_strategy.py b/src/auth0/management/types/connection_response_content_planning_center_strategy.py new file mode 100644 index 00000000..b209077e --- /dev/null +++ b/src/auth0/management/types/connection_response_content_planning_center_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ConnectionResponseContentPlanningCenterStrategy = typing.Union[typing.Literal["planningcenter"], typing.Any] diff --git a/src/auth0/management/types/connection_response_content_renren.py b/src/auth0/management/types/connection_response_content_renren.py index 79a2f11a..6bbe2c43 100644 --- a/src/auth0/management/types/connection_response_content_renren.py +++ b/src/auth0/management/types/connection_response_content_renren.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_renren import ConnectionOptionsRenren from .connection_response_common import ConnectionResponseCommon +from .connection_response_content_renren_strategy import ConnectionResponseContentRenrenStrategy class ConnectionResponseContentRenren(ConnectionResponseCommon): @@ -13,7 +14,7 @@ class ConnectionResponseContentRenren(ConnectionResponseCommon): Response for connections with strategy=renren """ - strategy: typing.Literal["renren"] = "renren" + strategy: ConnectionResponseContentRenrenStrategy options: typing.Optional[ConnectionOptionsRenren] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/connection_response_content_renren_strategy.py b/src/auth0/management/types/connection_response_content_renren_strategy.py new file mode 100644 index 00000000..e5ff70db --- /dev/null +++ b/src/auth0/management/types/connection_response_content_renren_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ConnectionResponseContentRenrenStrategy = typing.Union[typing.Literal["renren"], typing.Any] diff --git a/src/auth0/management/types/connection_response_content_salesforce.py b/src/auth0/management/types/connection_response_content_salesforce.py index e69e6540..be73034f 100644 --- a/src/auth0/management/types/connection_response_content_salesforce.py +++ b/src/auth0/management/types/connection_response_content_salesforce.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_salesforce import ConnectionOptionsSalesforce from .connection_response_common import ConnectionResponseCommon +from .connection_response_content_salesforce_strategy import ConnectionResponseContentSalesforceStrategy class ConnectionResponseContentSalesforce(ConnectionResponseCommon): @@ -13,7 +14,7 @@ class ConnectionResponseContentSalesforce(ConnectionResponseCommon): Response for connections with strategy=salesforce """ - strategy: typing.Literal["salesforce"] = "salesforce" + strategy: ConnectionResponseContentSalesforceStrategy options: typing.Optional[ConnectionOptionsSalesforce] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/connection_response_content_salesforce_community.py b/src/auth0/management/types/connection_response_content_salesforce_community.py index 8bc6cf62..2031d4f4 100644 --- a/src/auth0/management/types/connection_response_content_salesforce_community.py +++ b/src/auth0/management/types/connection_response_content_salesforce_community.py @@ -4,8 +4,11 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 -from .connection_options_salesforce_community import ConnectionOptionsSalesforceCommunity +from .connection_options_salesforce import ConnectionOptionsSalesforce from .connection_response_common import ConnectionResponseCommon +from .connection_response_content_salesforce_community_strategy import ( + ConnectionResponseContentSalesforceCommunityStrategy, +) class ConnectionResponseContentSalesforceCommunity(ConnectionResponseCommon): @@ -13,8 +16,8 @@ class ConnectionResponseContentSalesforceCommunity(ConnectionResponseCommon): Response for connections with strategy=salesforce-community """ - strategy: typing.Literal["salesforce-community"] = "salesforce-community" - options: typing.Optional[ConnectionOptionsSalesforceCommunity] = None + strategy: ConnectionResponseContentSalesforceCommunityStrategy + options: typing.Optional[ConnectionOptionsSalesforce] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/connection_response_content_salesforce_community_strategy.py b/src/auth0/management/types/connection_response_content_salesforce_community_strategy.py new file mode 100644 index 00000000..ca0b41b6 --- /dev/null +++ b/src/auth0/management/types/connection_response_content_salesforce_community_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ConnectionResponseContentSalesforceCommunityStrategy = typing.Union[typing.Literal["salesforce-community"], typing.Any] diff --git a/src/auth0/management/types/connection_response_content_salesforce_sandbox.py b/src/auth0/management/types/connection_response_content_salesforce_sandbox.py index 25ac6ea7..e669f7a3 100644 --- a/src/auth0/management/types/connection_response_content_salesforce_sandbox.py +++ b/src/auth0/management/types/connection_response_content_salesforce_sandbox.py @@ -4,8 +4,9 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 -from .connection_options_salesforce_sandbox import ConnectionOptionsSalesforceSandbox +from .connection_options_salesforce import ConnectionOptionsSalesforce from .connection_response_common import ConnectionResponseCommon +from .connection_response_content_salesforce_sandbox_strategy import ConnectionResponseContentSalesforceSandboxStrategy class ConnectionResponseContentSalesforceSandbox(ConnectionResponseCommon): @@ -13,8 +14,8 @@ class ConnectionResponseContentSalesforceSandbox(ConnectionResponseCommon): Response for connections with strategy=salesforce-sandbox """ - strategy: typing.Literal["salesforce-sandbox"] = "salesforce-sandbox" - options: typing.Optional[ConnectionOptionsSalesforceSandbox] = None + strategy: ConnectionResponseContentSalesforceSandboxStrategy + options: typing.Optional[ConnectionOptionsSalesforce] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/connection_response_content_salesforce_sandbox_strategy.py b/src/auth0/management/types/connection_response_content_salesforce_sandbox_strategy.py new file mode 100644 index 00000000..7ec0727d --- /dev/null +++ b/src/auth0/management/types/connection_response_content_salesforce_sandbox_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ConnectionResponseContentSalesforceSandboxStrategy = typing.Union[typing.Literal["salesforce-sandbox"], typing.Any] diff --git a/src/auth0/management/types/connection_response_content_salesforce_strategy.py b/src/auth0/management/types/connection_response_content_salesforce_strategy.py new file mode 100644 index 00000000..850a1823 --- /dev/null +++ b/src/auth0/management/types/connection_response_content_salesforce_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ConnectionResponseContentSalesforceStrategy = typing.Union[typing.Literal["salesforce"], typing.Any] diff --git a/src/auth0/management/types/connection_response_content_saml.py b/src/auth0/management/types/connection_response_content_saml.py index f8702715..d3808df3 100644 --- a/src/auth0/management/types/connection_response_content_saml.py +++ b/src/auth0/management/types/connection_response_content_saml.py @@ -5,7 +5,10 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_saml import ConnectionOptionsSaml +from .connection_provisioning_ticket_url import ConnectionProvisioningTicketUrl from .connection_response_common import ConnectionResponseCommon +from .connection_response_content_saml_strategy import ConnectionResponseContentSamlStrategy +from .connection_show_as_button import ConnectionShowAsButton class ConnectionResponseContentSaml(ConnectionResponseCommon): @@ -13,8 +16,10 @@ class ConnectionResponseContentSaml(ConnectionResponseCommon): Response for connections with strategy=samlp """ - strategy: typing.Literal["samlp"] = "samlp" + strategy: ConnectionResponseContentSamlStrategy options: typing.Optional[ConnectionOptionsSaml] = None + provisioning_ticket_url: typing.Optional[ConnectionProvisioningTicketUrl] = None + show_as_button: typing.Optional[ConnectionShowAsButton] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/connection_response_content_saml_strategy.py b/src/auth0/management/types/connection_response_content_saml_strategy.py new file mode 100644 index 00000000..9cdf2260 --- /dev/null +++ b/src/auth0/management/types/connection_response_content_saml_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ConnectionResponseContentSamlStrategy = typing.Union[typing.Literal["samlp"], typing.Any] diff --git a/src/auth0/management/types/connection_response_content_sharepoint.py b/src/auth0/management/types/connection_response_content_sharepoint.py index f3ede7be..ce0ff047 100644 --- a/src/auth0/management/types/connection_response_content_sharepoint.py +++ b/src/auth0/management/types/connection_response_content_sharepoint.py @@ -6,6 +6,8 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_sharepoint import ConnectionOptionsSharepoint from .connection_response_common import ConnectionResponseCommon +from .connection_response_content_sharepoint_strategy import ConnectionResponseContentSharepointStrategy +from .connection_show_as_button import ConnectionShowAsButton class ConnectionResponseContentSharepoint(ConnectionResponseCommon): @@ -13,8 +15,9 @@ class ConnectionResponseContentSharepoint(ConnectionResponseCommon): Response for connections with strategy=sharepoint """ - strategy: typing.Literal["sharepoint"] = "sharepoint" + strategy: ConnectionResponseContentSharepointStrategy options: typing.Optional[ConnectionOptionsSharepoint] = None + show_as_button: typing.Optional[ConnectionShowAsButton] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/connection_response_content_sharepoint_strategy.py b/src/auth0/management/types/connection_response_content_sharepoint_strategy.py new file mode 100644 index 00000000..ee1248dd --- /dev/null +++ b/src/auth0/management/types/connection_response_content_sharepoint_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ConnectionResponseContentSharepointStrategy = typing.Union[typing.Literal["sharepoint"], typing.Any] diff --git a/src/auth0/management/types/connection_response_content_shop.py b/src/auth0/management/types/connection_response_content_shop.py index 122df9c1..7907071d 100644 --- a/src/auth0/management/types/connection_response_content_shop.py +++ b/src/auth0/management/types/connection_response_content_shop.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_shop import ConnectionOptionsShop from .connection_response_common import ConnectionResponseCommon +from .connection_response_content_shop_strategy import ConnectionResponseContentShopStrategy class ConnectionResponseContentShop(ConnectionResponseCommon): @@ -13,7 +14,7 @@ class ConnectionResponseContentShop(ConnectionResponseCommon): Response for connections with strategy=shop """ - strategy: typing.Literal["shop"] = "shop" + strategy: ConnectionResponseContentShopStrategy options: typing.Optional[ConnectionOptionsShop] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/connection_response_content_shop_strategy.py b/src/auth0/management/types/connection_response_content_shop_strategy.py new file mode 100644 index 00000000..96271ee1 --- /dev/null +++ b/src/auth0/management/types/connection_response_content_shop_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ConnectionResponseContentShopStrategy = typing.Union[typing.Literal["shop"], typing.Any] diff --git a/src/auth0/management/types/connection_response_content_shopify.py b/src/auth0/management/types/connection_response_content_shopify.py index a33cf967..f3e4b124 100644 --- a/src/auth0/management/types/connection_response_content_shopify.py +++ b/src/auth0/management/types/connection_response_content_shopify.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_shopify import ConnectionOptionsShopify from .connection_response_common import ConnectionResponseCommon +from .connection_response_content_shopify_strategy import ConnectionResponseContentShopifyStrategy class ConnectionResponseContentShopify(ConnectionResponseCommon): @@ -13,7 +14,7 @@ class ConnectionResponseContentShopify(ConnectionResponseCommon): Response for connections with strategy=shopify """ - strategy: typing.Literal["shopify"] = "shopify" + strategy: ConnectionResponseContentShopifyStrategy options: typing.Optional[ConnectionOptionsShopify] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/connection_response_content_shopify_strategy.py b/src/auth0/management/types/connection_response_content_shopify_strategy.py new file mode 100644 index 00000000..64b4e77d --- /dev/null +++ b/src/auth0/management/types/connection_response_content_shopify_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ConnectionResponseContentShopifyStrategy = typing.Union[typing.Literal["shopify"], typing.Any] diff --git a/src/auth0/management/types/connection_response_content_sms.py b/src/auth0/management/types/connection_response_content_sms.py index 003e3278..f0adee56 100644 --- a/src/auth0/management/types/connection_response_content_sms.py +++ b/src/auth0/management/types/connection_response_content_sms.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_sms import ConnectionOptionsSms from .connection_response_common import ConnectionResponseCommon +from .connection_response_content_sms_strategy import ConnectionResponseContentSmsStrategy class ConnectionResponseContentSms(ConnectionResponseCommon): @@ -13,7 +14,7 @@ class ConnectionResponseContentSms(ConnectionResponseCommon): Response for connections with strategy=sms """ - strategy: typing.Literal["sms"] = "sms" + strategy: ConnectionResponseContentSmsStrategy options: typing.Optional[ConnectionOptionsSms] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/connection_response_content_sms_strategy.py b/src/auth0/management/types/connection_response_content_sms_strategy.py new file mode 100644 index 00000000..1269151c --- /dev/null +++ b/src/auth0/management/types/connection_response_content_sms_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ConnectionResponseContentSmsStrategy = typing.Union[typing.Literal["sms"], typing.Any] diff --git a/src/auth0/management/types/connection_response_content_soundcloud.py b/src/auth0/management/types/connection_response_content_soundcloud.py index 8af21969..12ba7c27 100644 --- a/src/auth0/management/types/connection_response_content_soundcloud.py +++ b/src/auth0/management/types/connection_response_content_soundcloud.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_soundcloud import ConnectionOptionsSoundcloud from .connection_response_common import ConnectionResponseCommon +from .connection_response_content_soundcloud_strategy import ConnectionResponseContentSoundcloudStrategy class ConnectionResponseContentSoundcloud(ConnectionResponseCommon): @@ -13,7 +14,7 @@ class ConnectionResponseContentSoundcloud(ConnectionResponseCommon): Response for connections with strategy=soundcloud """ - strategy: typing.Literal["soundcloud"] = "soundcloud" + strategy: ConnectionResponseContentSoundcloudStrategy options: typing.Optional[ConnectionOptionsSoundcloud] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/connection_response_content_soundcloud_strategy.py b/src/auth0/management/types/connection_response_content_soundcloud_strategy.py new file mode 100644 index 00000000..35c0dd5c --- /dev/null +++ b/src/auth0/management/types/connection_response_content_soundcloud_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ConnectionResponseContentSoundcloudStrategy = typing.Union[typing.Literal["soundcloud"], typing.Any] diff --git a/src/auth0/management/types/connection_response_content_thirty_seven_signals.py b/src/auth0/management/types/connection_response_content_thirty_seven_signals.py index d67bf20a..ef33d437 100644 --- a/src/auth0/management/types/connection_response_content_thirty_seven_signals.py +++ b/src/auth0/management/types/connection_response_content_thirty_seven_signals.py @@ -6,6 +6,9 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_thirty_seven_signals import ConnectionOptionsThirtySevenSignals from .connection_response_common import ConnectionResponseCommon +from .connection_response_content_thirty_seven_signals_strategy import ( + ConnectionResponseContentThirtySevenSignalsStrategy, +) class ConnectionResponseContentThirtySevenSignals(ConnectionResponseCommon): @@ -13,7 +16,7 @@ class ConnectionResponseContentThirtySevenSignals(ConnectionResponseCommon): Response for connections with strategy=thirtysevensignals """ - strategy: typing.Literal["thirtysevensignals"] = "thirtysevensignals" + strategy: ConnectionResponseContentThirtySevenSignalsStrategy options: typing.Optional[ConnectionOptionsThirtySevenSignals] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/connection_response_content_thirty_seven_signals_strategy.py b/src/auth0/management/types/connection_response_content_thirty_seven_signals_strategy.py new file mode 100644 index 00000000..6c493f81 --- /dev/null +++ b/src/auth0/management/types/connection_response_content_thirty_seven_signals_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ConnectionResponseContentThirtySevenSignalsStrategy = typing.Union[typing.Literal["thirtysevensignals"], typing.Any] diff --git a/src/auth0/management/types/connection_response_content_twitter.py b/src/auth0/management/types/connection_response_content_twitter.py index c9470764..782e0b90 100644 --- a/src/auth0/management/types/connection_response_content_twitter.py +++ b/src/auth0/management/types/connection_response_content_twitter.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_twitter import ConnectionOptionsTwitter from .connection_response_common import ConnectionResponseCommon +from .connection_response_content_twitter_strategy import ConnectionResponseContentTwitterStrategy class ConnectionResponseContentTwitter(ConnectionResponseCommon): @@ -13,7 +14,7 @@ class ConnectionResponseContentTwitter(ConnectionResponseCommon): Response for connections with strategy=twitter """ - strategy: typing.Literal["twitter"] = "twitter" + strategy: ConnectionResponseContentTwitterStrategy options: typing.Optional[ConnectionOptionsTwitter] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/connection_response_content_twitter_strategy.py b/src/auth0/management/types/connection_response_content_twitter_strategy.py new file mode 100644 index 00000000..0053b24f --- /dev/null +++ b/src/auth0/management/types/connection_response_content_twitter_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ConnectionResponseContentTwitterStrategy = typing.Union[typing.Literal["twitter"], typing.Any] diff --git a/src/auth0/management/types/connection_response_content_untappd.py b/src/auth0/management/types/connection_response_content_untappd.py index 66e95e84..4f3783b9 100644 --- a/src/auth0/management/types/connection_response_content_untappd.py +++ b/src/auth0/management/types/connection_response_content_untappd.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_untappd import ConnectionOptionsUntappd from .connection_response_common import ConnectionResponseCommon +from .connection_response_content_untappd_strategy import ConnectionResponseContentUntappdStrategy class ConnectionResponseContentUntappd(ConnectionResponseCommon): @@ -13,7 +14,7 @@ class ConnectionResponseContentUntappd(ConnectionResponseCommon): Response for connections with strategy=untappd """ - strategy: typing.Literal["untappd"] = "untappd" + strategy: ConnectionResponseContentUntappdStrategy options: typing.Optional[ConnectionOptionsUntappd] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/connection_response_content_untappd_strategy.py b/src/auth0/management/types/connection_response_content_untappd_strategy.py new file mode 100644 index 00000000..fcd7f23b --- /dev/null +++ b/src/auth0/management/types/connection_response_content_untappd_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ConnectionResponseContentUntappdStrategy = typing.Union[typing.Literal["untappd"], typing.Any] diff --git a/src/auth0/management/types/connection_response_content_vkontakte.py b/src/auth0/management/types/connection_response_content_vkontakte.py index 9656dbf0..5c42ea1c 100644 --- a/src/auth0/management/types/connection_response_content_vkontakte.py +++ b/src/auth0/management/types/connection_response_content_vkontakte.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_vkontakte import ConnectionOptionsVkontakte from .connection_response_common import ConnectionResponseCommon +from .connection_response_content_vkontakte_strategy import ConnectionResponseContentVkontakteStrategy class ConnectionResponseContentVkontakte(ConnectionResponseCommon): @@ -13,7 +14,7 @@ class ConnectionResponseContentVkontakte(ConnectionResponseCommon): Response for connections with strategy=vkontakte """ - strategy: typing.Literal["vkontakte"] = "vkontakte" + strategy: ConnectionResponseContentVkontakteStrategy options: typing.Optional[ConnectionOptionsVkontakte] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/connection_response_content_vkontakte_strategy.py b/src/auth0/management/types/connection_response_content_vkontakte_strategy.py new file mode 100644 index 00000000..4baee9bc --- /dev/null +++ b/src/auth0/management/types/connection_response_content_vkontakte_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ConnectionResponseContentVkontakteStrategy = typing.Union[typing.Literal["vkontakte"], typing.Any] diff --git a/src/auth0/management/types/connection_response_content_weibo.py b/src/auth0/management/types/connection_response_content_weibo.py index 921dad79..7b8dec21 100644 --- a/src/auth0/management/types/connection_response_content_weibo.py +++ b/src/auth0/management/types/connection_response_content_weibo.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_weibo import ConnectionOptionsWeibo from .connection_response_common import ConnectionResponseCommon +from .connection_response_content_weibo_strategy import ConnectionResponseContentWeiboStrategy class ConnectionResponseContentWeibo(ConnectionResponseCommon): @@ -13,7 +14,7 @@ class ConnectionResponseContentWeibo(ConnectionResponseCommon): Response for connections with strategy=weibo """ - strategy: typing.Literal["weibo"] = "weibo" + strategy: ConnectionResponseContentWeiboStrategy options: typing.Optional[ConnectionOptionsWeibo] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/connection_response_content_weibo_strategy.py b/src/auth0/management/types/connection_response_content_weibo_strategy.py new file mode 100644 index 00000000..3cf6bd38 --- /dev/null +++ b/src/auth0/management/types/connection_response_content_weibo_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ConnectionResponseContentWeiboStrategy = typing.Union[typing.Literal["weibo"], typing.Any] diff --git a/src/auth0/management/types/connection_response_content_windows_live.py b/src/auth0/management/types/connection_response_content_windows_live.py index 0ba92317..4795283a 100644 --- a/src/auth0/management/types/connection_response_content_windows_live.py +++ b/src/auth0/management/types/connection_response_content_windows_live.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_windows_live import ConnectionOptionsWindowsLive from .connection_response_common import ConnectionResponseCommon +from .connection_response_content_windows_live_strategy import ConnectionResponseContentWindowsLiveStrategy class ConnectionResponseContentWindowsLive(ConnectionResponseCommon): @@ -13,7 +14,7 @@ class ConnectionResponseContentWindowsLive(ConnectionResponseCommon): Response for connections with strategy=windowslive """ - strategy: typing.Literal["windowslive"] = "windowslive" + strategy: ConnectionResponseContentWindowsLiveStrategy options: typing.Optional[ConnectionOptionsWindowsLive] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/connection_response_content_windows_live_strategy.py b/src/auth0/management/types/connection_response_content_windows_live_strategy.py new file mode 100644 index 00000000..5717fe37 --- /dev/null +++ b/src/auth0/management/types/connection_response_content_windows_live_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ConnectionResponseContentWindowsLiveStrategy = typing.Union[typing.Literal["windowslive"], typing.Any] diff --git a/src/auth0/management/types/connection_response_content_wordpress.py b/src/auth0/management/types/connection_response_content_wordpress.py index 5cbc1a05..ca3ca696 100644 --- a/src/auth0/management/types/connection_response_content_wordpress.py +++ b/src/auth0/management/types/connection_response_content_wordpress.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_wordpress import ConnectionOptionsWordpress from .connection_response_common import ConnectionResponseCommon +from .connection_response_content_wordpress_strategy import ConnectionResponseContentWordpressStrategy class ConnectionResponseContentWordpress(ConnectionResponseCommon): @@ -13,7 +14,7 @@ class ConnectionResponseContentWordpress(ConnectionResponseCommon): Response for connections with strategy=wordpress """ - strategy: typing.Literal["wordpress"] = "wordpress" + strategy: ConnectionResponseContentWordpressStrategy options: typing.Optional[ConnectionOptionsWordpress] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/connection_response_content_wordpress_strategy.py b/src/auth0/management/types/connection_response_content_wordpress_strategy.py new file mode 100644 index 00000000..e54bfd5b --- /dev/null +++ b/src/auth0/management/types/connection_response_content_wordpress_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ConnectionResponseContentWordpressStrategy = typing.Union[typing.Literal["wordpress"], typing.Any] diff --git a/src/auth0/management/types/connection_response_content_yahoo.py b/src/auth0/management/types/connection_response_content_yahoo.py index 476b17ea..2557e439 100644 --- a/src/auth0/management/types/connection_response_content_yahoo.py +++ b/src/auth0/management/types/connection_response_content_yahoo.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_yahoo import ConnectionOptionsYahoo from .connection_response_common import ConnectionResponseCommon +from .connection_response_content_yahoo_strategy import ConnectionResponseContentYahooStrategy class ConnectionResponseContentYahoo(ConnectionResponseCommon): @@ -13,7 +14,7 @@ class ConnectionResponseContentYahoo(ConnectionResponseCommon): Response for connections with strategy=yahoo """ - strategy: typing.Literal["yahoo"] = "yahoo" + strategy: ConnectionResponseContentYahooStrategy options: typing.Optional[ConnectionOptionsYahoo] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/connection_response_content_yahoo_strategy.py b/src/auth0/management/types/connection_response_content_yahoo_strategy.py new file mode 100644 index 00000000..92faca5b --- /dev/null +++ b/src/auth0/management/types/connection_response_content_yahoo_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ConnectionResponseContentYahooStrategy = typing.Union[typing.Literal["yahoo"], typing.Any] diff --git a/src/auth0/management/types/connection_response_content_yammer.py b/src/auth0/management/types/connection_response_content_yammer.py index aefd40e8..5119dba8 100644 --- a/src/auth0/management/types/connection_response_content_yammer.py +++ b/src/auth0/management/types/connection_response_content_yammer.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_yammer import ConnectionOptionsYammer from .connection_response_common import ConnectionResponseCommon +from .connection_response_content_yammer_strategy import ConnectionResponseContentYammerStrategy class ConnectionResponseContentYammer(ConnectionResponseCommon): @@ -13,7 +14,7 @@ class ConnectionResponseContentYammer(ConnectionResponseCommon): Response for connections with strategy=yammer """ - strategy: typing.Literal["yammer"] = "yammer" + strategy: ConnectionResponseContentYammerStrategy options: typing.Optional[ConnectionOptionsYammer] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/connection_response_content_yammer_strategy.py b/src/auth0/management/types/connection_response_content_yammer_strategy.py new file mode 100644 index 00000000..cc0b58fb --- /dev/null +++ b/src/auth0/management/types/connection_response_content_yammer_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ConnectionResponseContentYammerStrategy = typing.Union[typing.Literal["yammer"], typing.Any] diff --git a/src/auth0/management/types/connection_response_content_yandex.py b/src/auth0/management/types/connection_response_content_yandex.py index 9fe816e7..d49b8f4c 100644 --- a/src/auth0/management/types/connection_response_content_yandex.py +++ b/src/auth0/management/types/connection_response_content_yandex.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_yandex import ConnectionOptionsYandex from .connection_response_common import ConnectionResponseCommon +from .connection_response_content_yandex_strategy import ConnectionResponseContentYandexStrategy class ConnectionResponseContentYandex(ConnectionResponseCommon): @@ -13,7 +14,7 @@ class ConnectionResponseContentYandex(ConnectionResponseCommon): Response for connections with strategy=yandex """ - strategy: typing.Literal["yandex"] = "yandex" + strategy: ConnectionResponseContentYandexStrategy options: typing.Optional[ConnectionOptionsYandex] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/connection_response_content_yandex_strategy.py b/src/auth0/management/types/connection_response_content_yandex_strategy.py new file mode 100644 index 00000000..49bd1031 --- /dev/null +++ b/src/auth0/management/types/connection_response_content_yandex_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ConnectionResponseContentYandexStrategy = typing.Union[typing.Literal["yandex"], typing.Any] diff --git a/src/auth0/management/types/connection_scope_array_facebook.py b/src/auth0/management/types/connection_scope_array_facebook.py new file mode 100644 index 00000000..13bbefeb --- /dev/null +++ b/src/auth0/management/types/connection_scope_array_facebook.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .connection_scope_item import ConnectionScopeItem + +ConnectionScopeArrayFacebook = typing.List[ConnectionScopeItem] diff --git a/src/auth0/management/types/connection_scope_facebook.py b/src/auth0/management/types/connection_scope_facebook.py new file mode 100644 index 00000000..04ba1e1f --- /dev/null +++ b/src/auth0/management/types/connection_scope_facebook.py @@ -0,0 +1,3 @@ +# This file was auto-generated by Fern from our API Definition. + +ConnectionScopeFacebook = str diff --git a/src/auth0/management/types/connection_scope_google_apps.py b/src/auth0/management/types/connection_scope_google_apps.py new file mode 100644 index 00000000..79b536ac --- /dev/null +++ b/src/auth0/management/types/connection_scope_google_apps.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .connection_scope_item_google_apps import ConnectionScopeItemGoogleApps + +ConnectionScopeGoogleApps = typing.List[ConnectionScopeItemGoogleApps] diff --git a/src/auth0/management/types/connection_scope_item_google_apps.py b/src/auth0/management/types/connection_scope_item_google_apps.py new file mode 100644 index 00000000..ed34c841 --- /dev/null +++ b/src/auth0/management/types/connection_scope_item_google_apps.py @@ -0,0 +1,3 @@ +# This file was auto-generated by Fern from our API Definition. + +ConnectionScopeItemGoogleApps = str diff --git a/src/auth0/management/types/connection_scripts_o_auth_2.py b/src/auth0/management/types/connection_scripts_o_auth_2.py index 0d94ae1c..64e2081b 100644 --- a/src/auth0/management/types/connection_scripts_o_auth_2.py +++ b/src/auth0/management/types/connection_scripts_o_auth_2.py @@ -14,14 +14,14 @@ class ConnectionScriptsOAuth2(UniversalBaseModel): """ fetch_user_profile: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="fetchUserProfile")] = ( - pydantic.Field(default=None) + pydantic.Field(alias="fetchUserProfile", default=None) ) """ Custom JavaScript function to retrieve and transform user profile data from the identity provider. Called with the access token and token exchange response. Must return a user profile object. Executed in a sandboxed environment. If not provided, an empty profile object is used. """ get_logout_url: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="getLogoutUrl")] = ( - pydantic.Field(default=None) + pydantic.Field(alias="getLogoutUrl", default=None) ) """ Custom JavaScript function to dynamically construct the logout URL for the identity provider. Called with the request query parameters and must invoke a callback with the logout URL. Only used if 'logoutUrl' is not configured. Executed in a sandboxed environment. diff --git a/src/auth0/management/types/connection_service_documentation.py b/src/auth0/management/types/connection_service_documentation.py index cd034353..3bdf911a 100644 --- a/src/auth0/management/types/connection_service_documentation.py +++ b/src/auth0/management/types/connection_service_documentation.py @@ -1,5 +1,5 @@ # This file was auto-generated by Fern from our API Definition. -from .connection_https_url_with_http_fallback import ConnectionHttpsUrlWithHttpFallback +from .connection_https_url_with_http_fallback_255 import ConnectionHttpsUrlWithHttpFallback255 -ConnectionServiceDocumentation = ConnectionHttpsUrlWithHttpFallback +ConnectionServiceDocumentation = ConnectionHttpsUrlWithHttpFallback255 diff --git a/src/auth0/management/types/connection_sha_1_thumbprint.py b/src/auth0/management/types/connection_sha_1_thumbprint.py new file mode 100644 index 00000000..e5ac828f --- /dev/null +++ b/src/auth0/management/types/connection_sha_1_thumbprint.py @@ -0,0 +1,3 @@ +# This file was auto-generated by Fern from our API Definition. + +ConnectionSha1Thumbprint = str diff --git a/src/auth0/management/types/connection_sign_in_endpoint_ad.py b/src/auth0/management/types/connection_sign_in_endpoint_ad.py new file mode 100644 index 00000000..858a77b7 --- /dev/null +++ b/src/auth0/management/types/connection_sign_in_endpoint_ad.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +from .connection_https_url_with_http_fallback_255 import ConnectionHttpsUrlWithHttpFallback255 + +ConnectionSignInEndpointAd = ConnectionHttpsUrlWithHttpFallback255 diff --git a/src/auth0/management/types/connection_sign_in_endpoint_adfs.py b/src/auth0/management/types/connection_sign_in_endpoint_adfs.py new file mode 100644 index 00000000..dedd58cb --- /dev/null +++ b/src/auth0/management/types/connection_sign_in_endpoint_adfs.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +from .connection_https_url_with_http_fallback_2048 import ConnectionHttpsUrlWithHttpFallback2048 + +ConnectionSignInEndpointAdfs = ConnectionHttpsUrlWithHttpFallback2048 diff --git a/src/auth0/management/types/connection_sign_in_endpoint_saml.py b/src/auth0/management/types/connection_sign_in_endpoint_saml.py new file mode 100644 index 00000000..da782a5d --- /dev/null +++ b/src/auth0/management/types/connection_sign_in_endpoint_saml.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +from .connection_https_url_with_http_fallback_2048 import ConnectionHttpsUrlWithHttpFallback2048 + +ConnectionSignInEndpointSaml = ConnectionHttpsUrlWithHttpFallback2048 diff --git a/src/auth0/management/types/connection_sign_out_endpoint_saml.py b/src/auth0/management/types/connection_sign_out_endpoint_saml.py new file mode 100644 index 00000000..997902a7 --- /dev/null +++ b/src/auth0/management/types/connection_sign_out_endpoint_saml.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +from .connection_https_url_with_http_fallback_2048 import ConnectionHttpsUrlWithHttpFallback2048 + +ConnectionSignOutEndpointSaml = ConnectionHttpsUrlWithHttpFallback2048 diff --git a/src/auth0/management/types/connection_sign_saml_request_saml.py b/src/auth0/management/types/connection_sign_saml_request_saml.py new file mode 100644 index 00000000..d07e5637 --- /dev/null +++ b/src/auth0/management/types/connection_sign_saml_request_saml.py @@ -0,0 +1,3 @@ +# This file was auto-generated by Fern from our API Definition. + +ConnectionSignSamlRequestSaml = bool diff --git a/src/auth0/management/types/connection_signature_algorithm_enum_saml.py b/src/auth0/management/types/connection_signature_algorithm_enum_saml.py new file mode 100644 index 00000000..0361b126 --- /dev/null +++ b/src/auth0/management/types/connection_signature_algorithm_enum_saml.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ConnectionSignatureAlgorithmEnumSaml = typing.Union[typing.Literal["rsa-sha1", "rsa-sha256"], typing.Any] diff --git a/src/auth0/management/types/connection_signature_algorithm_saml.py b/src/auth0/management/types/connection_signature_algorithm_saml.py new file mode 100644 index 00000000..56cfc633 --- /dev/null +++ b/src/auth0/management/types/connection_signature_algorithm_saml.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +from .connection_signature_algorithm_enum_saml import ConnectionSignatureAlgorithmEnumSaml + +ConnectionSignatureAlgorithmSaml = ConnectionSignatureAlgorithmEnumSaml diff --git a/src/auth0/management/types/connection_signing_cert_saml.py b/src/auth0/management/types/connection_signing_cert_saml.py new file mode 100644 index 00000000..a91ef6c6 --- /dev/null +++ b/src/auth0/management/types/connection_signing_cert_saml.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +from .connection_signing_certificate_pem_saml import ConnectionSigningCertificatePemSaml + +ConnectionSigningCertSaml = ConnectionSigningCertificatePemSaml diff --git a/src/auth0/management/types/connection_signing_certificate_der_saml.py b/src/auth0/management/types/connection_signing_certificate_der_saml.py new file mode 100644 index 00000000..762d31a8 --- /dev/null +++ b/src/auth0/management/types/connection_signing_certificate_der_saml.py @@ -0,0 +1,3 @@ +# This file was auto-generated by Fern from our API Definition. + +ConnectionSigningCertificateDerSaml = str diff --git a/src/auth0/management/types/connection_signing_certificate_pem_ping_federate.py b/src/auth0/management/types/connection_signing_certificate_pem_ping_federate.py new file mode 100644 index 00000000..3323e991 --- /dev/null +++ b/src/auth0/management/types/connection_signing_certificate_pem_ping_federate.py @@ -0,0 +1,3 @@ +# This file was auto-generated by Fern from our API Definition. + +ConnectionSigningCertificatePemPingFederate = str diff --git a/src/auth0/management/types/connection_signing_certificate_pem_saml.py b/src/auth0/management/types/connection_signing_certificate_pem_saml.py new file mode 100644 index 00000000..86eca469 --- /dev/null +++ b/src/auth0/management/types/connection_signing_certificate_pem_saml.py @@ -0,0 +1,3 @@ +# This file was auto-generated by Fern from our API Definition. + +ConnectionSigningCertificatePemSaml = str diff --git a/src/auth0/management/types/connection_signing_key_saml.py b/src/auth0/management/types/connection_signing_key_saml.py new file mode 100644 index 00000000..838acbd1 --- /dev/null +++ b/src/auth0/management/types/connection_signing_key_saml.py @@ -0,0 +1,31 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class ConnectionSigningKeySaml(UniversalBaseModel): + """ + Key pair with 'key' and 'cert' properties for signing SAML messages + """ + + cert: typing.Optional[str] = pydantic.Field(default=None) + """ + Base64-encoded X.509 certificate in PEM format used by Auth0 to sign SAML requests and logout messages. + """ + + key: typing.Optional[str] = pydantic.Field(default=None) + """ + Private key in PEM format used by Auth0 to sign SAML requests and logout messages. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/connection_strategy_version_enum_linkedin.py b/src/auth0/management/types/connection_strategy_version_enum_linkedin.py new file mode 100644 index 00000000..4cff1e66 --- /dev/null +++ b/src/auth0/management/types/connection_strategy_version_enum_linkedin.py @@ -0,0 +1,3 @@ +# This file was auto-generated by Fern from our API Definition. + +ConnectionStrategyVersionEnumLinkedin = int diff --git a/src/auth0/management/types/connection_strategy_version_enum_windows_live.py b/src/auth0/management/types/connection_strategy_version_enum_windows_live.py new file mode 100644 index 00000000..1d7ac165 --- /dev/null +++ b/src/auth0/management/types/connection_strategy_version_enum_windows_live.py @@ -0,0 +1,3 @@ +# This file was auto-generated by Fern from our API Definition. + +ConnectionStrategyVersionEnumWindowsLive = int diff --git a/src/auth0/management/types/connection_template_sms.py b/src/auth0/management/types/connection_template_sms.py new file mode 100644 index 00000000..939fbfdb --- /dev/null +++ b/src/auth0/management/types/connection_template_sms.py @@ -0,0 +1,3 @@ +# This file was auto-generated by Fern from our API Definition. + +ConnectionTemplateSms = str diff --git a/src/auth0/management/types/connection_template_syntax_enum_sms.py b/src/auth0/management/types/connection_template_syntax_enum_sms.py new file mode 100644 index 00000000..c6b1b6ce --- /dev/null +++ b/src/auth0/management/types/connection_template_syntax_enum_sms.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +ConnectionTemplateSyntaxEnumSms = typing.Union[typing.Literal["liquid", "md_with_macros"], typing.Any] diff --git a/src/auth0/management/types/connection_tenant_domain.py b/src/auth0/management/types/connection_tenant_domain.py index d41ac75a..20251b76 100644 --- a/src/auth0/management/types/connection_tenant_domain.py +++ b/src/auth0/management/types/connection_tenant_domain.py @@ -1,5 +1,3 @@ # This file was auto-generated by Fern from our API Definition. -import typing - -ConnectionTenantDomain = typing.Optional[str] +ConnectionTenantDomain = str diff --git a/src/auth0/management/types/connection_tenant_domain_ad.py b/src/auth0/management/types/connection_tenant_domain_ad.py new file mode 100644 index 00000000..c550c8da --- /dev/null +++ b/src/auth0/management/types/connection_tenant_domain_ad.py @@ -0,0 +1,3 @@ +# This file was auto-generated by Fern from our API Definition. + +ConnectionTenantDomainAd = str diff --git a/src/auth0/management/types/connection_tenant_domain_google_apps.py b/src/auth0/management/types/connection_tenant_domain_google_apps.py new file mode 100644 index 00000000..1f3c1016 --- /dev/null +++ b/src/auth0/management/types/connection_tenant_domain_google_apps.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +from .connection_tenant_domain import ConnectionTenantDomain + +ConnectionTenantDomainGoogleApps = ConnectionTenantDomain diff --git a/src/auth0/management/types/connection_tenant_domain_saml.py b/src/auth0/management/types/connection_tenant_domain_saml.py new file mode 100644 index 00000000..17089702 --- /dev/null +++ b/src/auth0/management/types/connection_tenant_domain_saml.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +from .connection_tenant_domain import ConnectionTenantDomain + +ConnectionTenantDomainSaml = ConnectionTenantDomain diff --git a/src/auth0/management/types/connection_thumbprints_ad.py b/src/auth0/management/types/connection_thumbprints_ad.py new file mode 100644 index 00000000..35452d90 --- /dev/null +++ b/src/auth0/management/types/connection_thumbprints_ad.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .connection_sha_1_thumbprint import ConnectionSha1Thumbprint + +ConnectionThumbprintsAd = typing.List[ConnectionSha1Thumbprint] diff --git a/src/auth0/management/types/connection_thumbprints_saml.py b/src/auth0/management/types/connection_thumbprints_saml.py new file mode 100644 index 00000000..d4293f40 --- /dev/null +++ b/src/auth0/management/types/connection_thumbprints_saml.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .connection_sha_1_thumbprint import ConnectionSha1Thumbprint + +ConnectionThumbprintsSaml = typing.List[ConnectionSha1Thumbprint] diff --git a/src/auth0/management/types/connection_token_endpoint.py b/src/auth0/management/types/connection_token_endpoint.py index 5e395c71..80f4ddd5 100644 --- a/src/auth0/management/types/connection_token_endpoint.py +++ b/src/auth0/management/types/connection_token_endpoint.py @@ -1,5 +1,5 @@ # This file was auto-generated by Fern from our API Definition. -from .connection_https_url_with_http_fallback import ConnectionHttpsUrlWithHttpFallback +from .connection_https_url_with_http_fallback_255 import ConnectionHttpsUrlWithHttpFallback255 -ConnectionTokenEndpoint = ConnectionHttpsUrlWithHttpFallback +ConnectionTokenEndpoint = ConnectionHttpsUrlWithHttpFallback255 diff --git a/src/auth0/management/types/connection_totp_email.py b/src/auth0/management/types/connection_totp_email.py new file mode 100644 index 00000000..45d4aa4b --- /dev/null +++ b/src/auth0/management/types/connection_totp_email.py @@ -0,0 +1,22 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .connection_totp_length_email import ConnectionTotpLengthEmail +from .connection_totp_time_step_email import ConnectionTotpTimeStepEmail + + +class ConnectionTotpEmail(UniversalBaseModel): + length: typing.Optional[ConnectionTotpLengthEmail] = None + time_step: typing.Optional[ConnectionTotpTimeStepEmail] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/connection_totp_length_email.py b/src/auth0/management/types/connection_totp_length_email.py new file mode 100644 index 00000000..21b846d5 --- /dev/null +++ b/src/auth0/management/types/connection_totp_length_email.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +from .connection_totp_length_passwordless import ConnectionTotpLengthPasswordless + +ConnectionTotpLengthEmail = ConnectionTotpLengthPasswordless diff --git a/src/auth0/management/types/connection_totp_length_passwordless.py b/src/auth0/management/types/connection_totp_length_passwordless.py new file mode 100644 index 00000000..85541da0 --- /dev/null +++ b/src/auth0/management/types/connection_totp_length_passwordless.py @@ -0,0 +1,3 @@ +# This file was auto-generated by Fern from our API Definition. + +ConnectionTotpLengthPasswordless = int diff --git a/src/auth0/management/types/connection_totp_length_sms.py b/src/auth0/management/types/connection_totp_length_sms.py new file mode 100644 index 00000000..65ecfa63 --- /dev/null +++ b/src/auth0/management/types/connection_totp_length_sms.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +from .connection_totp_length_passwordless import ConnectionTotpLengthPasswordless + +ConnectionTotpLengthSms = ConnectionTotpLengthPasswordless diff --git a/src/auth0/management/types/connection_totp_sms.py b/src/auth0/management/types/connection_totp_sms.py new file mode 100644 index 00000000..5067384c --- /dev/null +++ b/src/auth0/management/types/connection_totp_sms.py @@ -0,0 +1,26 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .connection_totp_length_sms import ConnectionTotpLengthSms +from .connection_totp_time_step_sms import ConnectionTotpTimeStepSms + + +class ConnectionTotpSms(UniversalBaseModel): + """ + Time-based One-Time Password (TOTP) options + """ + + length: typing.Optional[ConnectionTotpLengthSms] = None + time_step: typing.Optional[ConnectionTotpTimeStepSms] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/connection_totp_time_step_email.py b/src/auth0/management/types/connection_totp_time_step_email.py new file mode 100644 index 00000000..3e9c4c73 --- /dev/null +++ b/src/auth0/management/types/connection_totp_time_step_email.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +from .connection_totp_time_step_passwordless import ConnectionTotpTimeStepPasswordless + +ConnectionTotpTimeStepEmail = ConnectionTotpTimeStepPasswordless diff --git a/src/auth0/management/types/connection_totp_time_step_passwordless.py b/src/auth0/management/types/connection_totp_time_step_passwordless.py new file mode 100644 index 00000000..ed5f18f8 --- /dev/null +++ b/src/auth0/management/types/connection_totp_time_step_passwordless.py @@ -0,0 +1,3 @@ +# This file was auto-generated by Fern from our API Definition. + +ConnectionTotpTimeStepPasswordless = int diff --git a/src/auth0/management/types/connection_totp_time_step_sms.py b/src/auth0/management/types/connection_totp_time_step_sms.py new file mode 100644 index 00000000..ed70818d --- /dev/null +++ b/src/auth0/management/types/connection_totp_time_step_sms.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +from .connection_totp_time_step_passwordless import ConnectionTotpTimeStepPasswordless + +ConnectionTotpTimeStepSms = ConnectionTotpTimeStepPasswordless diff --git a/src/auth0/management/types/connection_twilio_sid_sms.py b/src/auth0/management/types/connection_twilio_sid_sms.py new file mode 100644 index 00000000..cd8aad5e --- /dev/null +++ b/src/auth0/management/types/connection_twilio_sid_sms.py @@ -0,0 +1,3 @@ +# This file was auto-generated by Fern from our API Definition. + +ConnectionTwilioSidSms = str diff --git a/src/auth0/management/types/connection_twilio_token_sms.py b/src/auth0/management/types/connection_twilio_token_sms.py new file mode 100644 index 00000000..2f106677 --- /dev/null +++ b/src/auth0/management/types/connection_twilio_token_sms.py @@ -0,0 +1,3 @@ +# This file was auto-generated by Fern from our API Definition. + +ConnectionTwilioTokenSms = str diff --git a/src/auth0/management/types/connection_type_enum_okta.py b/src/auth0/management/types/connection_type_enum_okta.py index c41bc8fb..5f550317 100644 --- a/src/auth0/management/types/connection_type_enum_okta.py +++ b/src/auth0/management/types/connection_type_enum_okta.py @@ -2,4 +2,4 @@ import typing -ConnectionTypeEnumOkta = typing.Literal["back_channel"] +ConnectionTypeEnumOkta = typing.Union[typing.Literal["back_channel"], typing.Any] diff --git a/src/auth0/management/types/connection_upstream_params_oidc.py b/src/auth0/management/types/connection_upstream_params_adfs.py similarity index 70% rename from src/auth0/management/types/connection_upstream_params_oidc.py rename to src/auth0/management/types/connection_upstream_params_adfs.py index 639ee13e..9bba49d6 100644 --- a/src/auth0/management/types/connection_upstream_params_oidc.py +++ b/src/auth0/management/types/connection_upstream_params_adfs.py @@ -4,4 +4,4 @@ from .connection_upstream_params import ConnectionUpstreamParams -ConnectionUpstreamParamsOidc = typing.Optional[ConnectionUpstreamParams] +ConnectionUpstreamParamsAdfs = typing.Optional[ConnectionUpstreamParams] diff --git a/src/auth0/management/types/connection_upstream_params_azure_ad.py b/src/auth0/management/types/connection_upstream_params_azure_ad.py deleted file mode 100644 index 4a0b035a..00000000 --- a/src/auth0/management/types/connection_upstream_params_azure_ad.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .connection_upstream_params import ConnectionUpstreamParams - -ConnectionUpstreamParamsAzureAd = typing.Optional[ConnectionUpstreamParams] diff --git a/src/auth0/management/types/connection_upstream_params_facebook.py b/src/auth0/management/types/connection_upstream_params_facebook.py new file mode 100644 index 00000000..53f39254 --- /dev/null +++ b/src/auth0/management/types/connection_upstream_params_facebook.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .connection_upstream_additional_properties import ConnectionUpstreamAdditionalProperties + +ConnectionUpstreamParamsFacebook = typing.Dict[str, ConnectionUpstreamAdditionalProperties] diff --git a/src/auth0/management/types/connection_user_id_attribute_saml.py b/src/auth0/management/types/connection_user_id_attribute_saml.py new file mode 100644 index 00000000..fde2406d --- /dev/null +++ b/src/auth0/management/types/connection_user_id_attribute_saml.py @@ -0,0 +1,3 @@ +# This file was auto-generated by Fern from our API Definition. + +ConnectionUserIdAttributeSaml = str diff --git a/src/auth0/management/types/connection_userinfo_endpoint.py b/src/auth0/management/types/connection_userinfo_endpoint.py index 0f75fd41..6cbe3dea 100644 --- a/src/auth0/management/types/connection_userinfo_endpoint.py +++ b/src/auth0/management/types/connection_userinfo_endpoint.py @@ -1,5 +1,5 @@ # This file was auto-generated by Fern from our API Definition. -from .connection_https_url_with_http_fallback import ConnectionHttpsUrlWithHttpFallback +from .connection_https_url_with_http_fallback_255 import ConnectionHttpsUrlWithHttpFallback255 -ConnectionUserinfoEndpoint = ConnectionHttpsUrlWithHttpFallback +ConnectionUserinfoEndpoint = ConnectionHttpsUrlWithHttpFallback255 diff --git a/src/auth0/management/types/create_action_module_response_content.py b/src/auth0/management/types/create_action_module_response_content.py new file mode 100644 index 00000000..30452a18 --- /dev/null +++ b/src/auth0/management/types/create_action_module_response_content.py @@ -0,0 +1,73 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .action_module_dependency import ActionModuleDependency +from .action_module_secret import ActionModuleSecret +from .action_module_version_reference import ActionModuleVersionReference + + +class CreateActionModuleResponseContent(UniversalBaseModel): + id: typing.Optional[str] = pydantic.Field(default=None) + """ + The unique ID of the module. + """ + + name: typing.Optional[str] = pydantic.Field(default=None) + """ + The name of the module. + """ + + code: typing.Optional[str] = pydantic.Field(default=None) + """ + The source code from the module's draft version. + """ + + dependencies: typing.Optional[typing.List[ActionModuleDependency]] = pydantic.Field(default=None) + """ + The npm dependencies from the module's draft version. + """ + + secrets: typing.Optional[typing.List[ActionModuleSecret]] = pydantic.Field(default=None) + """ + The secrets from the module's draft version (names and timestamps only, values never returned). + """ + + actions_using_module_total: typing.Optional[int] = pydantic.Field(default=None) + """ + The number of deployed actions using this module. + """ + + all_changes_published: typing.Optional[bool] = pydantic.Field(default=None) + """ + Whether all draft changes have been published as a version. + """ + + latest_version_number: typing.Optional[int] = pydantic.Field(default=None) + """ + The version number of the latest published version. Omitted if no versions have been published. + """ + + created_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + Timestamp when the module was created. + """ + + updated_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + Timestamp when the module was last updated. + """ + + latest_version: typing.Optional[ActionModuleVersionReference] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/create_action_module_version_response_content.py b/src/auth0/management/types/create_action_module_version_response_content.py new file mode 100644 index 00000000..33dcd306 --- /dev/null +++ b/src/auth0/management/types/create_action_module_version_response_content.py @@ -0,0 +1,55 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .action_module_dependency import ActionModuleDependency +from .action_module_secret import ActionModuleSecret + + +class CreateActionModuleVersionResponseContent(UniversalBaseModel): + id: typing.Optional[str] = pydantic.Field(default=None) + """ + The unique ID for this version. + """ + + module_id: typing.Optional[str] = pydantic.Field(default=None) + """ + The ID of the parent module. + """ + + version_number: typing.Optional[int] = pydantic.Field(default=None) + """ + The sequential version number. + """ + + code: typing.Optional[str] = pydantic.Field(default=None) + """ + The exact source code that was published with this version. + """ + + secrets: typing.Optional[typing.List[ActionModuleSecret]] = pydantic.Field(default=None) + """ + Secrets available to this version (name and updated_at only, values never returned). + """ + + dependencies: typing.Optional[typing.List[ActionModuleDependency]] = pydantic.Field(default=None) + """ + Dependencies locked to this version. + """ + + created_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + The timestamp when this version was created. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/create_action_response_content.py b/src/auth0/management/types/create_action_response_content.py index 3ca3bfe8..1e3723b1 100644 --- a/src/auth0/management/types/create_action_response_content.py +++ b/src/auth0/management/types/create_action_response_content.py @@ -7,6 +7,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel from .action_build_status_enum import ActionBuildStatusEnum from .action_deployed_version import ActionDeployedVersion +from .action_module_reference import ActionModuleReference from .action_secret_response import ActionSecretResponse from .action_trigger import ActionTrigger from .action_version_dependency import ActionVersionDependency @@ -82,6 +83,11 @@ class CreateActionResponseContent(UniversalBaseModel): True if the action should be deployed after creation. """ + modules: typing.Optional[typing.List[ActionModuleReference]] = pydantic.Field(default=None) + """ + The list of action modules and their versions used by this action. + """ + if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 else: diff --git a/src/auth0/management/types/create_branding_theme_response_content.py b/src/auth0/management/types/create_branding_theme_response_content.py index 66e630c0..47aaae84 100644 --- a/src/auth0/management/types/create_branding_theme_response_content.py +++ b/src/auth0/management/types/create_branding_theme_response_content.py @@ -16,14 +16,16 @@ class CreateBrandingThemeResponseContent(UniversalBaseModel): borders: BrandingThemeBorders colors: BrandingThemeColors - display_name: typing_extensions.Annotated[str, FieldMetadata(alias="displayName")] = pydantic.Field() + display_name: typing_extensions.Annotated[str, FieldMetadata(alias="displayName")] = pydantic.Field( + alias="displayName" + ) """ Display Name """ fonts: BrandingThemeFonts page_background: BrandingThemePageBackground - theme_id: typing_extensions.Annotated[str, FieldMetadata(alias="themeId")] = pydantic.Field() + theme_id: typing_extensions.Annotated[str, FieldMetadata(alias="themeId")] = pydantic.Field(alias="themeId") """ Theme Id """ diff --git a/src/auth0/management/types/create_client_authentication_method_self_signed_tls_client_auth.py b/src/auth0/management/types/create_client_authentication_method_self_signed_tls_client_auth.py new file mode 100644 index 00000000..48affae8 --- /dev/null +++ b/src/auth0/management/types/create_client_authentication_method_self_signed_tls_client_auth.py @@ -0,0 +1,26 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .create_client_authentication_method_self_signed_tls_client_auth_credentials import ( + CreateClientAuthenticationMethodSelfSignedTlsClientAuthCredentials, +) + + +class CreateClientAuthenticationMethodSelfSignedTlsClientAuth(UniversalBaseModel): + """ + Defines `self_signed_tls_client_auth` client authentication method. If the property is defined, the client is configured to use mTLS authentication method utilizing self-signed certificate. + """ + + credentials: CreateClientAuthenticationMethodSelfSignedTlsClientAuthCredentials + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/create_client_authentication_method_self_signed_tls_client_auth_credentials.py b/src/auth0/management/types/create_client_authentication_method_self_signed_tls_client_auth_credentials.py new file mode 100644 index 00000000..38ea3b2a --- /dev/null +++ b/src/auth0/management/types/create_client_authentication_method_self_signed_tls_client_auth_credentials.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .x_509_certificate_credential import X509CertificateCredential + +CreateClientAuthenticationMethodSelfSignedTlsClientAuthCredentials = typing.List[X509CertificateCredential] diff --git a/src/auth0/management/types/create_client_grant_response_content.py b/src/auth0/management/types/create_client_grant_response_content.py index 6a40b96d..8e553a1b 100644 --- a/src/auth0/management/types/create_client_grant_response_content.py +++ b/src/auth0/management/types/create_client_grant_response_content.py @@ -43,7 +43,12 @@ class CreateClientGrantResponseContent(UniversalBaseModel): subject_type: typing.Optional[ClientGrantSubjectTypeEnum] = None authorization_details_types: typing.Optional[typing.List[str]] = pydantic.Field(default=None) """ - Types of authorization_details allowed for this client grant. Use of this field is subject to the applicable Free Trial terms in Okta’s Master Subscription Agreement. + Types of authorization_details allowed for this client grant. + """ + + allow_all_scopes: typing.Optional[bool] = pydantic.Field(default=None) + """ + If enabled, all scopes configured on the resource server are allowed for this grant. """ if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/create_client_response_content.py b/src/auth0/management/types/create_client_response_content.py index cb69a944..985f1dc5 100644 --- a/src/auth0/management/types/create_client_response_content.py +++ b/src/auth0/management/types/create_client_response_content.py @@ -54,7 +54,7 @@ class CreateClientResponseContent(UniversalBaseModel): """ global_: typing_extensions.Annotated[typing.Optional[bool], FieldMetadata(alias="global")] = pydantic.Field( - default=False + alias="global", default=False ) """ Whether this is your global 'All Applications' client representing legacy tenant settings (true) or a regular client (false). diff --git a/src/auth0/management/types/create_connection_request_content_ad.py b/src/auth0/management/types/create_connection_request_content_ad.py index 0d551745..3e151363 100644 --- a/src/auth0/management/types/create_connection_request_content_ad.py +++ b/src/auth0/management/types/create_connection_request_content_ad.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_ad import ConnectionOptionsAd from .create_connection_common import CreateConnectionCommon +from .create_connection_request_content_ad_strategy import CreateConnectionRequestContentAdStrategy class CreateConnectionRequestContentAd(CreateConnectionCommon): @@ -13,7 +14,7 @@ class CreateConnectionRequestContentAd(CreateConnectionCommon): Create a connection with strategy=ad """ - strategy: typing.Literal["ad"] = "ad" + strategy: CreateConnectionRequestContentAdStrategy options: typing.Optional[ConnectionOptionsAd] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/create_connection_request_content_ad_strategy.py b/src/auth0/management/types/create_connection_request_content_ad_strategy.py new file mode 100644 index 00000000..a18ba353 --- /dev/null +++ b/src/auth0/management/types/create_connection_request_content_ad_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +CreateConnectionRequestContentAdStrategy = typing.Union[typing.Literal["ad"], typing.Any] diff --git a/src/auth0/management/types/create_connection_request_content_adfs.py b/src/auth0/management/types/create_connection_request_content_adfs.py index e377b0f3..c2df5f18 100644 --- a/src/auth0/management/types/create_connection_request_content_adfs.py +++ b/src/auth0/management/types/create_connection_request_content_adfs.py @@ -5,7 +5,9 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_adfs import ConnectionOptionsAdfs +from .connection_show_as_button import ConnectionShowAsButton from .create_connection_common import CreateConnectionCommon +from .create_connection_request_content_adfs_strategy import CreateConnectionRequestContentAdfsStrategy class CreateConnectionRequestContentAdfs(CreateConnectionCommon): @@ -13,8 +15,9 @@ class CreateConnectionRequestContentAdfs(CreateConnectionCommon): Create a connection with strategy=adfs """ - strategy: typing.Literal["adfs"] = "adfs" + strategy: CreateConnectionRequestContentAdfsStrategy options: typing.Optional[ConnectionOptionsAdfs] = None + show_as_button: typing.Optional[ConnectionShowAsButton] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/create_connection_request_content_adfs_strategy.py b/src/auth0/management/types/create_connection_request_content_adfs_strategy.py new file mode 100644 index 00000000..3191bc30 --- /dev/null +++ b/src/auth0/management/types/create_connection_request_content_adfs_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +CreateConnectionRequestContentAdfsStrategy = typing.Union[typing.Literal["adfs"], typing.Any] diff --git a/src/auth0/management/types/create_connection_request_content_amazon.py b/src/auth0/management/types/create_connection_request_content_amazon.py index 961e78e7..da16bef7 100644 --- a/src/auth0/management/types/create_connection_request_content_amazon.py +++ b/src/auth0/management/types/create_connection_request_content_amazon.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_amazon import ConnectionOptionsAmazon from .create_connection_common import CreateConnectionCommon +from .create_connection_request_content_amazon_strategy import CreateConnectionRequestContentAmazonStrategy class CreateConnectionRequestContentAmazon(CreateConnectionCommon): @@ -13,7 +14,7 @@ class CreateConnectionRequestContentAmazon(CreateConnectionCommon): Create a connection with strategy=amazon """ - strategy: typing.Literal["amazon"] = "amazon" + strategy: CreateConnectionRequestContentAmazonStrategy options: typing.Optional[ConnectionOptionsAmazon] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/create_connection_request_content_amazon_strategy.py b/src/auth0/management/types/create_connection_request_content_amazon_strategy.py new file mode 100644 index 00000000..546ea38a --- /dev/null +++ b/src/auth0/management/types/create_connection_request_content_amazon_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +CreateConnectionRequestContentAmazonStrategy = typing.Union[typing.Literal["amazon"], typing.Any] diff --git a/src/auth0/management/types/create_connection_request_content_aol.py b/src/auth0/management/types/create_connection_request_content_aol.py index 1d194fb5..677bcf7e 100644 --- a/src/auth0/management/types/create_connection_request_content_aol.py +++ b/src/auth0/management/types/create_connection_request_content_aol.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_aol import ConnectionOptionsAol from .create_connection_common import CreateConnectionCommon +from .create_connection_request_content_aol_strategy import CreateConnectionRequestContentAolStrategy class CreateConnectionRequestContentAol(CreateConnectionCommon): @@ -13,7 +14,7 @@ class CreateConnectionRequestContentAol(CreateConnectionCommon): Create a connection with strategy=aol """ - strategy: typing.Literal["aol"] = "aol" + strategy: CreateConnectionRequestContentAolStrategy options: typing.Optional[ConnectionOptionsAol] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/create_connection_request_content_aol_strategy.py b/src/auth0/management/types/create_connection_request_content_aol_strategy.py new file mode 100644 index 00000000..6929d15e --- /dev/null +++ b/src/auth0/management/types/create_connection_request_content_aol_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +CreateConnectionRequestContentAolStrategy = typing.Union[typing.Literal["aol"], typing.Any] diff --git a/src/auth0/management/types/create_connection_request_content_apple.py b/src/auth0/management/types/create_connection_request_content_apple.py index 38834df9..72aab66a 100644 --- a/src/auth0/management/types/create_connection_request_content_apple.py +++ b/src/auth0/management/types/create_connection_request_content_apple.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_apple import ConnectionOptionsApple from .create_connection_common import CreateConnectionCommon +from .create_connection_request_content_apple_strategy import CreateConnectionRequestContentAppleStrategy class CreateConnectionRequestContentApple(CreateConnectionCommon): @@ -13,7 +14,7 @@ class CreateConnectionRequestContentApple(CreateConnectionCommon): Create a connection with strategy=apple """ - strategy: typing.Literal["apple"] = "apple" + strategy: CreateConnectionRequestContentAppleStrategy options: typing.Optional[ConnectionOptionsApple] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/create_connection_request_content_apple_strategy.py b/src/auth0/management/types/create_connection_request_content_apple_strategy.py new file mode 100644 index 00000000..d5914cc5 --- /dev/null +++ b/src/auth0/management/types/create_connection_request_content_apple_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +CreateConnectionRequestContentAppleStrategy = typing.Union[typing.Literal["apple"], typing.Any] diff --git a/src/auth0/management/types/create_connection_request_content_auth_0.py b/src/auth0/management/types/create_connection_request_content_auth_0.py index 540d6e9a..5aa83d98 100644 --- a/src/auth0/management/types/create_connection_request_content_auth_0.py +++ b/src/auth0/management/types/create_connection_request_content_auth_0.py @@ -5,7 +5,9 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_auth_0 import ConnectionOptionsAuth0 +from .connection_realms import ConnectionRealms from .create_connection_common import CreateConnectionCommon +from .create_connection_request_content_auth_0_strategy import CreateConnectionRequestContentAuth0Strategy class CreateConnectionRequestContentAuth0(CreateConnectionCommon): @@ -13,8 +15,9 @@ class CreateConnectionRequestContentAuth0(CreateConnectionCommon): Create a connection with strategy=auth0 """ - strategy: typing.Literal["auth0"] = "auth0" + strategy: CreateConnectionRequestContentAuth0Strategy options: typing.Optional[ConnectionOptionsAuth0] = None + realms: typing.Optional[ConnectionRealms] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/create_connection_request_content_auth_0_oidc.py b/src/auth0/management/types/create_connection_request_content_auth_0_oidc.py index 82e11add..c1872269 100644 --- a/src/auth0/management/types/create_connection_request_content_auth_0_oidc.py +++ b/src/auth0/management/types/create_connection_request_content_auth_0_oidc.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_auth_0_oidc import ConnectionOptionsAuth0Oidc from .create_connection_common import CreateConnectionCommon +from .create_connection_request_content_auth_0_oidc_strategy import CreateConnectionRequestContentAuth0OidcStrategy class CreateConnectionRequestContentAuth0Oidc(CreateConnectionCommon): @@ -13,7 +14,7 @@ class CreateConnectionRequestContentAuth0Oidc(CreateConnectionCommon): Create a connection with strategy=auth0-oidc """ - strategy: typing.Literal["auth0-oidc"] = "auth0-oidc" + strategy: CreateConnectionRequestContentAuth0OidcStrategy options: typing.Optional[ConnectionOptionsAuth0Oidc] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/create_connection_request_content_auth_0_oidc_strategy.py b/src/auth0/management/types/create_connection_request_content_auth_0_oidc_strategy.py new file mode 100644 index 00000000..88463be1 --- /dev/null +++ b/src/auth0/management/types/create_connection_request_content_auth_0_oidc_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +CreateConnectionRequestContentAuth0OidcStrategy = typing.Union[typing.Literal["auth0-oidc"], typing.Any] diff --git a/src/auth0/management/types/create_connection_request_content_auth_0_strategy.py b/src/auth0/management/types/create_connection_request_content_auth_0_strategy.py new file mode 100644 index 00000000..67eec68b --- /dev/null +++ b/src/auth0/management/types/create_connection_request_content_auth_0_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +CreateConnectionRequestContentAuth0Strategy = typing.Union[typing.Literal["auth0"], typing.Any] diff --git a/src/auth0/management/types/create_connection_request_content_azure_ad.py b/src/auth0/management/types/create_connection_request_content_azure_ad.py index 6d6e7dfb..e857d6d4 100644 --- a/src/auth0/management/types/create_connection_request_content_azure_ad.py +++ b/src/auth0/management/types/create_connection_request_content_azure_ad.py @@ -5,9 +5,9 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_azure_ad import ConnectionOptionsAzureAd -from .connection_provisioning_ticket import ConnectionProvisioningTicket -from .connection_provisioning_ticket_url import ConnectionProvisioningTicketUrl +from .connection_show_as_button import ConnectionShowAsButton from .create_connection_common import CreateConnectionCommon +from .create_connection_request_content_azure_ad_strategy import CreateConnectionRequestContentAzureAdStrategy class CreateConnectionRequestContentAzureAd(CreateConnectionCommon): @@ -15,10 +15,9 @@ class CreateConnectionRequestContentAzureAd(CreateConnectionCommon): Create a connection with strategy=waad """ - strategy: typing.Literal["waad"] = "waad" + strategy: CreateConnectionRequestContentAzureAdStrategy options: typing.Optional[ConnectionOptionsAzureAd] = None - provisioning_ticket: typing.Optional[ConnectionProvisioningTicket] = None - provisioning_ticket_url: typing.Optional[ConnectionProvisioningTicketUrl] = None + show_as_button: typing.Optional[ConnectionShowAsButton] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/create_connection_request_content_azure_ad_strategy.py b/src/auth0/management/types/create_connection_request_content_azure_ad_strategy.py new file mode 100644 index 00000000..58618453 --- /dev/null +++ b/src/auth0/management/types/create_connection_request_content_azure_ad_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +CreateConnectionRequestContentAzureAdStrategy = typing.Union[typing.Literal["waad"], typing.Any] diff --git a/src/auth0/management/types/create_connection_request_content_baidu.py b/src/auth0/management/types/create_connection_request_content_baidu.py index a6680200..566d89be 100644 --- a/src/auth0/management/types/create_connection_request_content_baidu.py +++ b/src/auth0/management/types/create_connection_request_content_baidu.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_baidu import ConnectionOptionsBaidu from .create_connection_common import CreateConnectionCommon +from .create_connection_request_content_baidu_strategy import CreateConnectionRequestContentBaiduStrategy class CreateConnectionRequestContentBaidu(CreateConnectionCommon): @@ -13,7 +14,7 @@ class CreateConnectionRequestContentBaidu(CreateConnectionCommon): Create a connection with strategy=baidu """ - strategy: typing.Literal["baidu"] = "baidu" + strategy: CreateConnectionRequestContentBaiduStrategy options: typing.Optional[ConnectionOptionsBaidu] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/create_connection_request_content_baidu_strategy.py b/src/auth0/management/types/create_connection_request_content_baidu_strategy.py new file mode 100644 index 00000000..a621f8ad --- /dev/null +++ b/src/auth0/management/types/create_connection_request_content_baidu_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +CreateConnectionRequestContentBaiduStrategy = typing.Union[typing.Literal["baidu"], typing.Any] diff --git a/src/auth0/management/types/create_connection_request_content_bitbucket.py b/src/auth0/management/types/create_connection_request_content_bitbucket.py index 92d66d64..29043677 100644 --- a/src/auth0/management/types/create_connection_request_content_bitbucket.py +++ b/src/auth0/management/types/create_connection_request_content_bitbucket.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_bitbucket import ConnectionOptionsBitbucket from .create_connection_common import CreateConnectionCommon +from .create_connection_request_content_bitbucket_strategy import CreateConnectionRequestContentBitbucketStrategy class CreateConnectionRequestContentBitbucket(CreateConnectionCommon): @@ -13,7 +14,7 @@ class CreateConnectionRequestContentBitbucket(CreateConnectionCommon): Create a connection with strategy=bitbucket """ - strategy: typing.Literal["bitbucket"] = "bitbucket" + strategy: CreateConnectionRequestContentBitbucketStrategy options: typing.Optional[ConnectionOptionsBitbucket] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/create_connection_request_content_bitbucket_strategy.py b/src/auth0/management/types/create_connection_request_content_bitbucket_strategy.py new file mode 100644 index 00000000..0b9d1bde --- /dev/null +++ b/src/auth0/management/types/create_connection_request_content_bitbucket_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +CreateConnectionRequestContentBitbucketStrategy = typing.Union[typing.Literal["bitbucket"], typing.Any] diff --git a/src/auth0/management/types/create_connection_request_content_bitly.py b/src/auth0/management/types/create_connection_request_content_bitly.py index e8907a8f..9cdbe895 100644 --- a/src/auth0/management/types/create_connection_request_content_bitly.py +++ b/src/auth0/management/types/create_connection_request_content_bitly.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_bitly import ConnectionOptionsBitly from .create_connection_common import CreateConnectionCommon +from .create_connection_request_content_bitly_strategy import CreateConnectionRequestContentBitlyStrategy class CreateConnectionRequestContentBitly(CreateConnectionCommon): @@ -13,7 +14,7 @@ class CreateConnectionRequestContentBitly(CreateConnectionCommon): Create a connection with strategy=bitly """ - strategy: typing.Literal["bitly"] = "bitly" + strategy: CreateConnectionRequestContentBitlyStrategy options: typing.Optional[ConnectionOptionsBitly] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/create_connection_request_content_bitly_strategy.py b/src/auth0/management/types/create_connection_request_content_bitly_strategy.py new file mode 100644 index 00000000..637e297d --- /dev/null +++ b/src/auth0/management/types/create_connection_request_content_bitly_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +CreateConnectionRequestContentBitlyStrategy = typing.Union[typing.Literal["bitly"], typing.Any] diff --git a/src/auth0/management/types/create_connection_request_content_box.py b/src/auth0/management/types/create_connection_request_content_box.py index 0ea589a0..502daa19 100644 --- a/src/auth0/management/types/create_connection_request_content_box.py +++ b/src/auth0/management/types/create_connection_request_content_box.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_box import ConnectionOptionsBox from .create_connection_common import CreateConnectionCommon +from .create_connection_request_content_box_strategy import CreateConnectionRequestContentBoxStrategy class CreateConnectionRequestContentBox(CreateConnectionCommon): @@ -13,7 +14,7 @@ class CreateConnectionRequestContentBox(CreateConnectionCommon): Create a connection with strategy=box """ - strategy: typing.Literal["box"] = "box" + strategy: CreateConnectionRequestContentBoxStrategy options: typing.Optional[ConnectionOptionsBox] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/create_connection_request_content_box_strategy.py b/src/auth0/management/types/create_connection_request_content_box_strategy.py new file mode 100644 index 00000000..20a78c24 --- /dev/null +++ b/src/auth0/management/types/create_connection_request_content_box_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +CreateConnectionRequestContentBoxStrategy = typing.Union[typing.Literal["box"], typing.Any] diff --git a/src/auth0/management/types/create_connection_request_content_custom.py b/src/auth0/management/types/create_connection_request_content_custom.py index 026eec6f..926b16a9 100644 --- a/src/auth0/management/types/create_connection_request_content_custom.py +++ b/src/auth0/management/types/create_connection_request_content_custom.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_custom import ConnectionOptionsCustom from .create_connection_common import CreateConnectionCommon +from .create_connection_request_content_custom_strategy import CreateConnectionRequestContentCustomStrategy class CreateConnectionRequestContentCustom(CreateConnectionCommon): @@ -13,7 +14,7 @@ class CreateConnectionRequestContentCustom(CreateConnectionCommon): Create a connection with strategy=custom """ - strategy: typing.Literal["custom"] = "custom" + strategy: CreateConnectionRequestContentCustomStrategy options: typing.Optional[ConnectionOptionsCustom] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/create_connection_request_content_custom_strategy.py b/src/auth0/management/types/create_connection_request_content_custom_strategy.py new file mode 100644 index 00000000..e3cade3e --- /dev/null +++ b/src/auth0/management/types/create_connection_request_content_custom_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +CreateConnectionRequestContentCustomStrategy = typing.Union[typing.Literal["custom"], typing.Any] diff --git a/src/auth0/management/types/create_connection_request_content_daccount.py b/src/auth0/management/types/create_connection_request_content_daccount.py index a366c6e7..5c64d188 100644 --- a/src/auth0/management/types/create_connection_request_content_daccount.py +++ b/src/auth0/management/types/create_connection_request_content_daccount.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_daccount import ConnectionOptionsDaccount from .create_connection_common import CreateConnectionCommon +from .create_connection_request_content_daccount_strategy import CreateConnectionRequestContentDaccountStrategy class CreateConnectionRequestContentDaccount(CreateConnectionCommon): @@ -13,7 +14,7 @@ class CreateConnectionRequestContentDaccount(CreateConnectionCommon): Create a connection with strategy=daccount """ - strategy: typing.Literal["daccount"] = "daccount" + strategy: CreateConnectionRequestContentDaccountStrategy options: typing.Optional[ConnectionOptionsDaccount] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/create_connection_request_content_daccount_strategy.py b/src/auth0/management/types/create_connection_request_content_daccount_strategy.py new file mode 100644 index 00000000..6cf36d84 --- /dev/null +++ b/src/auth0/management/types/create_connection_request_content_daccount_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +CreateConnectionRequestContentDaccountStrategy = typing.Union[typing.Literal["daccount"], typing.Any] diff --git a/src/auth0/management/types/create_connection_request_content_dropbox.py b/src/auth0/management/types/create_connection_request_content_dropbox.py index 56f65e85..b3aa8abd 100644 --- a/src/auth0/management/types/create_connection_request_content_dropbox.py +++ b/src/auth0/management/types/create_connection_request_content_dropbox.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_dropbox import ConnectionOptionsDropbox from .create_connection_common import CreateConnectionCommon +from .create_connection_request_content_dropbox_strategy import CreateConnectionRequestContentDropboxStrategy class CreateConnectionRequestContentDropbox(CreateConnectionCommon): @@ -13,7 +14,7 @@ class CreateConnectionRequestContentDropbox(CreateConnectionCommon): Create a connection with strategy=dropbox """ - strategy: typing.Literal["dropbox"] = "dropbox" + strategy: CreateConnectionRequestContentDropboxStrategy options: typing.Optional[ConnectionOptionsDropbox] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/create_connection_request_content_dropbox_strategy.py b/src/auth0/management/types/create_connection_request_content_dropbox_strategy.py new file mode 100644 index 00000000..68cb97c2 --- /dev/null +++ b/src/auth0/management/types/create_connection_request_content_dropbox_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +CreateConnectionRequestContentDropboxStrategy = typing.Union[typing.Literal["dropbox"], typing.Any] diff --git a/src/auth0/management/types/create_connection_request_content_dwolla.py b/src/auth0/management/types/create_connection_request_content_dwolla.py index 3e8f8caa..5bae688b 100644 --- a/src/auth0/management/types/create_connection_request_content_dwolla.py +++ b/src/auth0/management/types/create_connection_request_content_dwolla.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_dwolla import ConnectionOptionsDwolla from .create_connection_common import CreateConnectionCommon +from .create_connection_request_content_dwolla_strategy import CreateConnectionRequestContentDwollaStrategy class CreateConnectionRequestContentDwolla(CreateConnectionCommon): @@ -13,7 +14,7 @@ class CreateConnectionRequestContentDwolla(CreateConnectionCommon): Create a connection with strategy=dwolla """ - strategy: typing.Literal["dwolla"] = "dwolla" + strategy: CreateConnectionRequestContentDwollaStrategy options: typing.Optional[ConnectionOptionsDwolla] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/create_connection_request_content_dwolla_strategy.py b/src/auth0/management/types/create_connection_request_content_dwolla_strategy.py new file mode 100644 index 00000000..d654b76a --- /dev/null +++ b/src/auth0/management/types/create_connection_request_content_dwolla_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +CreateConnectionRequestContentDwollaStrategy = typing.Union[typing.Literal["dwolla"], typing.Any] diff --git a/src/auth0/management/types/create_connection_request_content_email.py b/src/auth0/management/types/create_connection_request_content_email.py index 6b6fda26..7371d5c5 100644 --- a/src/auth0/management/types/create_connection_request_content_email.py +++ b/src/auth0/management/types/create_connection_request_content_email.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_email import ConnectionOptionsEmail from .create_connection_common import CreateConnectionCommon +from .create_connection_request_content_email_strategy import CreateConnectionRequestContentEmailStrategy class CreateConnectionRequestContentEmail(CreateConnectionCommon): @@ -13,7 +14,7 @@ class CreateConnectionRequestContentEmail(CreateConnectionCommon): Create a connection with strategy=email """ - strategy: typing.Literal["email"] = "email" + strategy: CreateConnectionRequestContentEmailStrategy options: typing.Optional[ConnectionOptionsEmail] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/create_connection_request_content_email_strategy.py b/src/auth0/management/types/create_connection_request_content_email_strategy.py new file mode 100644 index 00000000..a2212fb5 --- /dev/null +++ b/src/auth0/management/types/create_connection_request_content_email_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +CreateConnectionRequestContentEmailStrategy = typing.Union[typing.Literal["email"], typing.Any] diff --git a/src/auth0/management/types/create_connection_request_content_evernote.py b/src/auth0/management/types/create_connection_request_content_evernote.py index 140845dc..e7f3b9b5 100644 --- a/src/auth0/management/types/create_connection_request_content_evernote.py +++ b/src/auth0/management/types/create_connection_request_content_evernote.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_evernote import ConnectionOptionsEvernote from .create_connection_common import CreateConnectionCommon +from .create_connection_request_content_evernote_strategy import CreateConnectionRequestContentEvernoteStrategy class CreateConnectionRequestContentEvernote(CreateConnectionCommon): @@ -13,7 +14,7 @@ class CreateConnectionRequestContentEvernote(CreateConnectionCommon): Create a connection with strategy=evernote """ - strategy: typing.Literal["evernote"] = "evernote" + strategy: CreateConnectionRequestContentEvernoteStrategy options: typing.Optional[ConnectionOptionsEvernote] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/create_connection_request_content_evernote_sandbox.py b/src/auth0/management/types/create_connection_request_content_evernote_sandbox.py index 4cf05606..f531a5c5 100644 --- a/src/auth0/management/types/create_connection_request_content_evernote_sandbox.py +++ b/src/auth0/management/types/create_connection_request_content_evernote_sandbox.py @@ -4,8 +4,11 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 -from .connection_options_evernote_sandbox import ConnectionOptionsEvernoteSandbox +from .connection_options_evernote import ConnectionOptionsEvernote from .create_connection_common import CreateConnectionCommon +from .create_connection_request_content_evernote_sandbox_strategy import ( + CreateConnectionRequestContentEvernoteSandboxStrategy, +) class CreateConnectionRequestContentEvernoteSandbox(CreateConnectionCommon): @@ -13,8 +16,8 @@ class CreateConnectionRequestContentEvernoteSandbox(CreateConnectionCommon): Create a connection with strategy=evernote-sandbox """ - strategy: typing.Literal["evernote-sandbox"] = "evernote-sandbox" - options: typing.Optional[ConnectionOptionsEvernoteSandbox] = None + strategy: CreateConnectionRequestContentEvernoteSandboxStrategy + options: typing.Optional[ConnectionOptionsEvernote] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/create_connection_request_content_evernote_sandbox_strategy.py b/src/auth0/management/types/create_connection_request_content_evernote_sandbox_strategy.py new file mode 100644 index 00000000..b84f4e5e --- /dev/null +++ b/src/auth0/management/types/create_connection_request_content_evernote_sandbox_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +CreateConnectionRequestContentEvernoteSandboxStrategy = typing.Union[typing.Literal["evernote-sandbox"], typing.Any] diff --git a/src/auth0/management/types/create_connection_request_content_evernote_strategy.py b/src/auth0/management/types/create_connection_request_content_evernote_strategy.py new file mode 100644 index 00000000..0643d53e --- /dev/null +++ b/src/auth0/management/types/create_connection_request_content_evernote_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +CreateConnectionRequestContentEvernoteStrategy = typing.Union[typing.Literal["evernote"], typing.Any] diff --git a/src/auth0/management/types/create_connection_request_content_exact.py b/src/auth0/management/types/create_connection_request_content_exact.py index 0d595307..1563b0e3 100644 --- a/src/auth0/management/types/create_connection_request_content_exact.py +++ b/src/auth0/management/types/create_connection_request_content_exact.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_exact import ConnectionOptionsExact from .create_connection_common import CreateConnectionCommon +from .create_connection_request_content_exact_strategy import CreateConnectionRequestContentExactStrategy class CreateConnectionRequestContentExact(CreateConnectionCommon): @@ -13,7 +14,7 @@ class CreateConnectionRequestContentExact(CreateConnectionCommon): Create a connection with strategy=exact """ - strategy: typing.Literal["exact"] = "exact" + strategy: CreateConnectionRequestContentExactStrategy options: typing.Optional[ConnectionOptionsExact] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/create_connection_request_content_exact_strategy.py b/src/auth0/management/types/create_connection_request_content_exact_strategy.py new file mode 100644 index 00000000..8bd7b80c --- /dev/null +++ b/src/auth0/management/types/create_connection_request_content_exact_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +CreateConnectionRequestContentExactStrategy = typing.Union[typing.Literal["exact"], typing.Any] diff --git a/src/auth0/management/types/create_connection_request_content_facebook.py b/src/auth0/management/types/create_connection_request_content_facebook.py index 4ba641bf..b8946205 100644 --- a/src/auth0/management/types/create_connection_request_content_facebook.py +++ b/src/auth0/management/types/create_connection_request_content_facebook.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_facebook import ConnectionOptionsFacebook from .create_connection_common import CreateConnectionCommon +from .create_connection_request_content_facebook_strategy import CreateConnectionRequestContentFacebookStrategy class CreateConnectionRequestContentFacebook(CreateConnectionCommon): @@ -13,7 +14,7 @@ class CreateConnectionRequestContentFacebook(CreateConnectionCommon): Create a connection with strategy=facebook """ - strategy: typing.Literal["facebook"] = "facebook" + strategy: CreateConnectionRequestContentFacebookStrategy options: typing.Optional[ConnectionOptionsFacebook] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/create_connection_request_content_facebook_strategy.py b/src/auth0/management/types/create_connection_request_content_facebook_strategy.py new file mode 100644 index 00000000..ef706ee7 --- /dev/null +++ b/src/auth0/management/types/create_connection_request_content_facebook_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +CreateConnectionRequestContentFacebookStrategy = typing.Union[typing.Literal["facebook"], typing.Any] diff --git a/src/auth0/management/types/create_connection_request_content_fitbit.py b/src/auth0/management/types/create_connection_request_content_fitbit.py index f6dd239f..34b39d4c 100644 --- a/src/auth0/management/types/create_connection_request_content_fitbit.py +++ b/src/auth0/management/types/create_connection_request_content_fitbit.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_fitbit import ConnectionOptionsFitbit from .create_connection_common import CreateConnectionCommon +from .create_connection_request_content_fitbit_strategy import CreateConnectionRequestContentFitbitStrategy class CreateConnectionRequestContentFitbit(CreateConnectionCommon): @@ -13,7 +14,7 @@ class CreateConnectionRequestContentFitbit(CreateConnectionCommon): Create a connection with strategy=fitbit """ - strategy: typing.Literal["fitbit"] = "fitbit" + strategy: CreateConnectionRequestContentFitbitStrategy options: typing.Optional[ConnectionOptionsFitbit] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/create_connection_request_content_fitbit_strategy.py b/src/auth0/management/types/create_connection_request_content_fitbit_strategy.py new file mode 100644 index 00000000..77028e34 --- /dev/null +++ b/src/auth0/management/types/create_connection_request_content_fitbit_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +CreateConnectionRequestContentFitbitStrategy = typing.Union[typing.Literal["fitbit"], typing.Any] diff --git a/src/auth0/management/types/create_connection_request_content_flickr.py b/src/auth0/management/types/create_connection_request_content_flickr.py index 9884bd1a..156ed18b 100644 --- a/src/auth0/management/types/create_connection_request_content_flickr.py +++ b/src/auth0/management/types/create_connection_request_content_flickr.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_flickr import ConnectionOptionsFlickr from .create_connection_common import CreateConnectionCommon +from .create_connection_request_content_flickr_strategy import CreateConnectionRequestContentFlickrStrategy class CreateConnectionRequestContentFlickr(CreateConnectionCommon): @@ -13,7 +14,7 @@ class CreateConnectionRequestContentFlickr(CreateConnectionCommon): Create a connection with strategy=flickr """ - strategy: typing.Literal["flickr"] = "flickr" + strategy: CreateConnectionRequestContentFlickrStrategy options: typing.Optional[ConnectionOptionsFlickr] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/create_connection_request_content_flickr_strategy.py b/src/auth0/management/types/create_connection_request_content_flickr_strategy.py new file mode 100644 index 00000000..fdf0b4dc --- /dev/null +++ b/src/auth0/management/types/create_connection_request_content_flickr_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +CreateConnectionRequestContentFlickrStrategy = typing.Union[typing.Literal["flickr"], typing.Any] diff --git a/src/auth0/management/types/create_connection_request_content_git_hub.py b/src/auth0/management/types/create_connection_request_content_git_hub.py index 9485b29c..ce8cabcc 100644 --- a/src/auth0/management/types/create_connection_request_content_git_hub.py +++ b/src/auth0/management/types/create_connection_request_content_git_hub.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_git_hub import ConnectionOptionsGitHub from .create_connection_common import CreateConnectionCommon +from .create_connection_request_content_git_hub_strategy import CreateConnectionRequestContentGitHubStrategy class CreateConnectionRequestContentGitHub(CreateConnectionCommon): @@ -13,7 +14,7 @@ class CreateConnectionRequestContentGitHub(CreateConnectionCommon): Create a connection with strategy=github """ - strategy: typing.Literal["github"] = "github" + strategy: CreateConnectionRequestContentGitHubStrategy options: typing.Optional[ConnectionOptionsGitHub] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/create_connection_request_content_git_hub_strategy.py b/src/auth0/management/types/create_connection_request_content_git_hub_strategy.py new file mode 100644 index 00000000..8404e62e --- /dev/null +++ b/src/auth0/management/types/create_connection_request_content_git_hub_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +CreateConnectionRequestContentGitHubStrategy = typing.Union[typing.Literal["github"], typing.Any] diff --git a/src/auth0/management/types/create_connection_request_content_google_apps.py b/src/auth0/management/types/create_connection_request_content_google_apps.py index 346b59c4..202f3ab5 100644 --- a/src/auth0/management/types/create_connection_request_content_google_apps.py +++ b/src/auth0/management/types/create_connection_request_content_google_apps.py @@ -5,7 +5,9 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_google_apps import ConnectionOptionsGoogleApps +from .connection_show_as_button import ConnectionShowAsButton from .create_connection_common import CreateConnectionCommon +from .create_connection_request_content_google_apps_strategy import CreateConnectionRequestContentGoogleAppsStrategy class CreateConnectionRequestContentGoogleApps(CreateConnectionCommon): @@ -13,8 +15,9 @@ class CreateConnectionRequestContentGoogleApps(CreateConnectionCommon): Create a connection with strategy=google-apps """ - strategy: typing.Literal["google-apps"] = "google-apps" + strategy: CreateConnectionRequestContentGoogleAppsStrategy options: typing.Optional[ConnectionOptionsGoogleApps] = None + show_as_button: typing.Optional[ConnectionShowAsButton] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/create_connection_request_content_google_apps_strategy.py b/src/auth0/management/types/create_connection_request_content_google_apps_strategy.py new file mode 100644 index 00000000..e3c059c3 --- /dev/null +++ b/src/auth0/management/types/create_connection_request_content_google_apps_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +CreateConnectionRequestContentGoogleAppsStrategy = typing.Union[typing.Literal["google-apps"], typing.Any] diff --git a/src/auth0/management/types/create_connection_request_content_google_o_auth_2.py b/src/auth0/management/types/create_connection_request_content_google_o_auth_2.py index 21185e27..0f1a2b33 100644 --- a/src/auth0/management/types/create_connection_request_content_google_o_auth_2.py +++ b/src/auth0/management/types/create_connection_request_content_google_o_auth_2.py @@ -6,6 +6,9 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_google_o_auth_2 import ConnectionOptionsGoogleOAuth2 from .create_connection_common import CreateConnectionCommon +from .create_connection_request_content_google_o_auth_2_strategy import ( + CreateConnectionRequestContentGoogleOAuth2Strategy, +) class CreateConnectionRequestContentGoogleOAuth2(CreateConnectionCommon): @@ -13,7 +16,7 @@ class CreateConnectionRequestContentGoogleOAuth2(CreateConnectionCommon): Create a connection with strategy=google-oauth2 """ - strategy: typing.Literal["google-oauth2"] = "google-oauth2" + strategy: CreateConnectionRequestContentGoogleOAuth2Strategy options: typing.Optional[ConnectionOptionsGoogleOAuth2] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/create_connection_request_content_google_o_auth_2_strategy.py b/src/auth0/management/types/create_connection_request_content_google_o_auth_2_strategy.py new file mode 100644 index 00000000..e2294da0 --- /dev/null +++ b/src/auth0/management/types/create_connection_request_content_google_o_auth_2_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +CreateConnectionRequestContentGoogleOAuth2Strategy = typing.Union[typing.Literal["google-oauth2"], typing.Any] diff --git a/src/auth0/management/types/create_connection_request_content_instagram.py b/src/auth0/management/types/create_connection_request_content_instagram.py index 610559b8..f80f2591 100644 --- a/src/auth0/management/types/create_connection_request_content_instagram.py +++ b/src/auth0/management/types/create_connection_request_content_instagram.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_instagram import ConnectionOptionsInstagram from .create_connection_common import CreateConnectionCommon +from .create_connection_request_content_instagram_strategy import CreateConnectionRequestContentInstagramStrategy class CreateConnectionRequestContentInstagram(CreateConnectionCommon): @@ -13,7 +14,7 @@ class CreateConnectionRequestContentInstagram(CreateConnectionCommon): Create a connection with strategy=instagram """ - strategy: typing.Literal["instagram"] = "instagram" + strategy: CreateConnectionRequestContentInstagramStrategy options: typing.Optional[ConnectionOptionsInstagram] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/create_connection_request_content_instagram_strategy.py b/src/auth0/management/types/create_connection_request_content_instagram_strategy.py new file mode 100644 index 00000000..bac353f7 --- /dev/null +++ b/src/auth0/management/types/create_connection_request_content_instagram_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +CreateConnectionRequestContentInstagramStrategy = typing.Union[typing.Literal["instagram"], typing.Any] diff --git a/src/auth0/management/types/create_connection_request_content_ip.py b/src/auth0/management/types/create_connection_request_content_ip.py index 8a95d12b..856f3961 100644 --- a/src/auth0/management/types/create_connection_request_content_ip.py +++ b/src/auth0/management/types/create_connection_request_content_ip.py @@ -5,7 +5,9 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_ip import ConnectionOptionsIp +from .connection_show_as_button import ConnectionShowAsButton from .create_connection_common import CreateConnectionCommon +from .create_connection_request_content_ip_strategy import CreateConnectionRequestContentIpStrategy class CreateConnectionRequestContentIp(CreateConnectionCommon): @@ -13,8 +15,9 @@ class CreateConnectionRequestContentIp(CreateConnectionCommon): Create a connection with strategy=ip """ - strategy: typing.Literal["ip"] = "ip" + strategy: CreateConnectionRequestContentIpStrategy options: typing.Optional[ConnectionOptionsIp] = None + show_as_button: typing.Optional[ConnectionShowAsButton] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/create_connection_request_content_ip_strategy.py b/src/auth0/management/types/create_connection_request_content_ip_strategy.py new file mode 100644 index 00000000..2e459feb --- /dev/null +++ b/src/auth0/management/types/create_connection_request_content_ip_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +CreateConnectionRequestContentIpStrategy = typing.Union[typing.Literal["ip"], typing.Any] diff --git a/src/auth0/management/types/create_connection_request_content_line.py b/src/auth0/management/types/create_connection_request_content_line.py index 8e375d2c..15a8d2dd 100644 --- a/src/auth0/management/types/create_connection_request_content_line.py +++ b/src/auth0/management/types/create_connection_request_content_line.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_line import ConnectionOptionsLine from .create_connection_common import CreateConnectionCommon +from .create_connection_request_content_line_strategy import CreateConnectionRequestContentLineStrategy class CreateConnectionRequestContentLine(CreateConnectionCommon): @@ -13,7 +14,7 @@ class CreateConnectionRequestContentLine(CreateConnectionCommon): Create a connection with strategy=line """ - strategy: typing.Literal["line"] = "line" + strategy: CreateConnectionRequestContentLineStrategy options: typing.Optional[ConnectionOptionsLine] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/create_connection_request_content_line_strategy.py b/src/auth0/management/types/create_connection_request_content_line_strategy.py new file mode 100644 index 00000000..c682a645 --- /dev/null +++ b/src/auth0/management/types/create_connection_request_content_line_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +CreateConnectionRequestContentLineStrategy = typing.Union[typing.Literal["line"], typing.Any] diff --git a/src/auth0/management/types/create_connection_request_content_linkedin.py b/src/auth0/management/types/create_connection_request_content_linkedin.py index 85a21c00..61be9bea 100644 --- a/src/auth0/management/types/create_connection_request_content_linkedin.py +++ b/src/auth0/management/types/create_connection_request_content_linkedin.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_linkedin import ConnectionOptionsLinkedin from .create_connection_common import CreateConnectionCommon +from .create_connection_request_content_linkedin_strategy import CreateConnectionRequestContentLinkedinStrategy class CreateConnectionRequestContentLinkedin(CreateConnectionCommon): @@ -13,7 +14,7 @@ class CreateConnectionRequestContentLinkedin(CreateConnectionCommon): Create a connection with strategy=linkedin """ - strategy: typing.Literal["linkedin"] = "linkedin" + strategy: CreateConnectionRequestContentLinkedinStrategy options: typing.Optional[ConnectionOptionsLinkedin] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/create_connection_request_content_linkedin_strategy.py b/src/auth0/management/types/create_connection_request_content_linkedin_strategy.py new file mode 100644 index 00000000..d27cde41 --- /dev/null +++ b/src/auth0/management/types/create_connection_request_content_linkedin_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +CreateConnectionRequestContentLinkedinStrategy = typing.Union[typing.Literal["linkedin"], typing.Any] diff --git a/src/auth0/management/types/create_connection_request_content_miicard.py b/src/auth0/management/types/create_connection_request_content_miicard.py index 2e1ddf7e..8c0ee869 100644 --- a/src/auth0/management/types/create_connection_request_content_miicard.py +++ b/src/auth0/management/types/create_connection_request_content_miicard.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_miicard import ConnectionOptionsMiicard from .create_connection_common import CreateConnectionCommon +from .create_connection_request_content_miicard_strategy import CreateConnectionRequestContentMiicardStrategy class CreateConnectionRequestContentMiicard(CreateConnectionCommon): @@ -13,7 +14,7 @@ class CreateConnectionRequestContentMiicard(CreateConnectionCommon): Create a connection with strategy=miicard """ - strategy: typing.Literal["miicard"] = "miicard" + strategy: CreateConnectionRequestContentMiicardStrategy options: typing.Optional[ConnectionOptionsMiicard] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/create_connection_request_content_miicard_strategy.py b/src/auth0/management/types/create_connection_request_content_miicard_strategy.py new file mode 100644 index 00000000..8b64eb9a --- /dev/null +++ b/src/auth0/management/types/create_connection_request_content_miicard_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +CreateConnectionRequestContentMiicardStrategy = typing.Union[typing.Literal["miicard"], typing.Any] diff --git a/src/auth0/management/types/create_connection_request_content_o_auth_1.py b/src/auth0/management/types/create_connection_request_content_o_auth_1.py index 36abd73a..dc3bea5a 100644 --- a/src/auth0/management/types/create_connection_request_content_o_auth_1.py +++ b/src/auth0/management/types/create_connection_request_content_o_auth_1.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_o_auth_1 import ConnectionOptionsOAuth1 from .create_connection_common import CreateConnectionCommon +from .create_connection_request_content_o_auth_1_strategy import CreateConnectionRequestContentOAuth1Strategy class CreateConnectionRequestContentOAuth1(CreateConnectionCommon): @@ -13,7 +14,7 @@ class CreateConnectionRequestContentOAuth1(CreateConnectionCommon): Create a connection with strategy=oauth1 """ - strategy: typing.Literal["oauth1"] = "oauth1" + strategy: CreateConnectionRequestContentOAuth1Strategy options: typing.Optional[ConnectionOptionsOAuth1] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/create_connection_request_content_o_auth_1_strategy.py b/src/auth0/management/types/create_connection_request_content_o_auth_1_strategy.py new file mode 100644 index 00000000..15a2e092 --- /dev/null +++ b/src/auth0/management/types/create_connection_request_content_o_auth_1_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +CreateConnectionRequestContentOAuth1Strategy = typing.Union[typing.Literal["oauth1"], typing.Any] diff --git a/src/auth0/management/types/create_connection_request_content_o_auth_2.py b/src/auth0/management/types/create_connection_request_content_o_auth_2.py index 1f21591a..3cb6fb18 100644 --- a/src/auth0/management/types/create_connection_request_content_o_auth_2.py +++ b/src/auth0/management/types/create_connection_request_content_o_auth_2.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_o_auth_2 import ConnectionOptionsOAuth2 from .create_connection_common import CreateConnectionCommon +from .create_connection_request_content_o_auth_2_strategy import CreateConnectionRequestContentOAuth2Strategy class CreateConnectionRequestContentOAuth2(CreateConnectionCommon): @@ -13,7 +14,7 @@ class CreateConnectionRequestContentOAuth2(CreateConnectionCommon): Create a connection with strategy=oauth2 """ - strategy: typing.Literal["oauth2"] = "oauth2" + strategy: CreateConnectionRequestContentOAuth2Strategy options: typing.Optional[ConnectionOptionsOAuth2] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/create_connection_request_content_o_auth_2_strategy.py b/src/auth0/management/types/create_connection_request_content_o_auth_2_strategy.py new file mode 100644 index 00000000..5bb19b90 --- /dev/null +++ b/src/auth0/management/types/create_connection_request_content_o_auth_2_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +CreateConnectionRequestContentOAuth2Strategy = typing.Union[typing.Literal["oauth2"], typing.Any] diff --git a/src/auth0/management/types/create_connection_request_content_office_365.py b/src/auth0/management/types/create_connection_request_content_office_365.py index 28b16da7..1b981136 100644 --- a/src/auth0/management/types/create_connection_request_content_office_365.py +++ b/src/auth0/management/types/create_connection_request_content_office_365.py @@ -5,7 +5,9 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_office_365 import ConnectionOptionsOffice365 +from .connection_show_as_button import ConnectionShowAsButton from .create_connection_common import CreateConnectionCommon +from .create_connection_request_content_office_365_strategy import CreateConnectionRequestContentOffice365Strategy class CreateConnectionRequestContentOffice365(CreateConnectionCommon): @@ -13,8 +15,9 @@ class CreateConnectionRequestContentOffice365(CreateConnectionCommon): Create a connection with strategy=office365 """ - strategy: typing.Literal["office365"] = "office365" + strategy: CreateConnectionRequestContentOffice365Strategy options: typing.Optional[ConnectionOptionsOffice365] = None + show_as_button: typing.Optional[ConnectionShowAsButton] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/create_connection_request_content_office_365_strategy.py b/src/auth0/management/types/create_connection_request_content_office_365_strategy.py new file mode 100644 index 00000000..123018b6 --- /dev/null +++ b/src/auth0/management/types/create_connection_request_content_office_365_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +CreateConnectionRequestContentOffice365Strategy = typing.Union[typing.Literal["office365"], typing.Any] diff --git a/src/auth0/management/types/create_connection_request_content_oidc.py b/src/auth0/management/types/create_connection_request_content_oidc.py index 677a8da2..6cbd44db 100644 --- a/src/auth0/management/types/create_connection_request_content_oidc.py +++ b/src/auth0/management/types/create_connection_request_content_oidc.py @@ -5,7 +5,9 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_oidc import ConnectionOptionsOidc +from .connection_show_as_button import ConnectionShowAsButton from .create_connection_common import CreateConnectionCommon +from .create_connection_request_content_oidc_strategy import CreateConnectionRequestContentOidcStrategy class CreateConnectionRequestContentOidc(CreateConnectionCommon): @@ -13,8 +15,9 @@ class CreateConnectionRequestContentOidc(CreateConnectionCommon): Create a connection with strategy=oidc """ - strategy: typing.Literal["oidc"] = "oidc" + strategy: CreateConnectionRequestContentOidcStrategy options: typing.Optional[ConnectionOptionsOidc] = None + show_as_button: typing.Optional[ConnectionShowAsButton] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/create_connection_request_content_oidc_strategy.py b/src/auth0/management/types/create_connection_request_content_oidc_strategy.py new file mode 100644 index 00000000..9fe66a93 --- /dev/null +++ b/src/auth0/management/types/create_connection_request_content_oidc_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +CreateConnectionRequestContentOidcStrategy = typing.Union[typing.Literal["oidc"], typing.Any] diff --git a/src/auth0/management/types/create_connection_request_content_okta.py b/src/auth0/management/types/create_connection_request_content_okta.py index 3b27b0b9..a1c4b591 100644 --- a/src/auth0/management/types/create_connection_request_content_okta.py +++ b/src/auth0/management/types/create_connection_request_content_okta.py @@ -5,7 +5,9 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_okta import ConnectionOptionsOkta +from .connection_show_as_button import ConnectionShowAsButton from .create_connection_common import CreateConnectionCommon +from .create_connection_request_content_okta_strategy import CreateConnectionRequestContentOktaStrategy class CreateConnectionRequestContentOkta(CreateConnectionCommon): @@ -13,8 +15,9 @@ class CreateConnectionRequestContentOkta(CreateConnectionCommon): Create a connection with strategy=okta """ - strategy: typing.Literal["okta"] = "okta" + strategy: CreateConnectionRequestContentOktaStrategy options: typing.Optional[ConnectionOptionsOkta] = None + show_as_button: typing.Optional[ConnectionShowAsButton] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/create_connection_request_content_okta_strategy.py b/src/auth0/management/types/create_connection_request_content_okta_strategy.py new file mode 100644 index 00000000..3156d023 --- /dev/null +++ b/src/auth0/management/types/create_connection_request_content_okta_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +CreateConnectionRequestContentOktaStrategy = typing.Union[typing.Literal["okta"], typing.Any] diff --git a/src/auth0/management/types/create_connection_request_content_paypal.py b/src/auth0/management/types/create_connection_request_content_paypal.py index e593f7fe..8d6ed7c4 100644 --- a/src/auth0/management/types/create_connection_request_content_paypal.py +++ b/src/auth0/management/types/create_connection_request_content_paypal.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_paypal import ConnectionOptionsPaypal from .create_connection_common import CreateConnectionCommon +from .create_connection_request_content_paypal_strategy import CreateConnectionRequestContentPaypalStrategy class CreateConnectionRequestContentPaypal(CreateConnectionCommon): @@ -13,7 +14,7 @@ class CreateConnectionRequestContentPaypal(CreateConnectionCommon): Create a connection with strategy=paypal """ - strategy: typing.Literal["paypal"] = "paypal" + strategy: CreateConnectionRequestContentPaypalStrategy options: typing.Optional[ConnectionOptionsPaypal] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/create_connection_request_content_paypal_sandbox.py b/src/auth0/management/types/create_connection_request_content_paypal_sandbox.py index 80bf73c0..cf4798da 100644 --- a/src/auth0/management/types/create_connection_request_content_paypal_sandbox.py +++ b/src/auth0/management/types/create_connection_request_content_paypal_sandbox.py @@ -4,8 +4,11 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 -from .connection_options_paypal_sandbox import ConnectionOptionsPaypalSandbox +from .connection_options_paypal import ConnectionOptionsPaypal from .create_connection_common import CreateConnectionCommon +from .create_connection_request_content_paypal_sandbox_strategy import ( + CreateConnectionRequestContentPaypalSandboxStrategy, +) class CreateConnectionRequestContentPaypalSandbox(CreateConnectionCommon): @@ -13,8 +16,8 @@ class CreateConnectionRequestContentPaypalSandbox(CreateConnectionCommon): Create a connection with strategy=paypal-sandbox """ - strategy: typing.Literal["paypal-sandbox"] = "paypal-sandbox" - options: typing.Optional[ConnectionOptionsPaypalSandbox] = None + strategy: CreateConnectionRequestContentPaypalSandboxStrategy + options: typing.Optional[ConnectionOptionsPaypal] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/create_connection_request_content_paypal_sandbox_strategy.py b/src/auth0/management/types/create_connection_request_content_paypal_sandbox_strategy.py new file mode 100644 index 00000000..cb85e4fd --- /dev/null +++ b/src/auth0/management/types/create_connection_request_content_paypal_sandbox_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +CreateConnectionRequestContentPaypalSandboxStrategy = typing.Union[typing.Literal["paypal-sandbox"], typing.Any] diff --git a/src/auth0/management/types/create_connection_request_content_paypal_strategy.py b/src/auth0/management/types/create_connection_request_content_paypal_strategy.py new file mode 100644 index 00000000..d2779717 --- /dev/null +++ b/src/auth0/management/types/create_connection_request_content_paypal_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +CreateConnectionRequestContentPaypalStrategy = typing.Union[typing.Literal["paypal"], typing.Any] diff --git a/src/auth0/management/types/create_connection_request_content_ping_federate.py b/src/auth0/management/types/create_connection_request_content_ping_federate.py index 125687d9..6651bdc9 100644 --- a/src/auth0/management/types/create_connection_request_content_ping_federate.py +++ b/src/auth0/management/types/create_connection_request_content_ping_federate.py @@ -5,7 +5,9 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_ping_federate import ConnectionOptionsPingFederate +from .connection_show_as_button import ConnectionShowAsButton from .create_connection_common import CreateConnectionCommon +from .create_connection_request_content_ping_federate_strategy import CreateConnectionRequestContentPingFederateStrategy class CreateConnectionRequestContentPingFederate(CreateConnectionCommon): @@ -13,8 +15,9 @@ class CreateConnectionRequestContentPingFederate(CreateConnectionCommon): Create a connection with strategy=pingfederate """ - strategy: typing.Literal["pingfederate"] = "pingfederate" + strategy: CreateConnectionRequestContentPingFederateStrategy options: typing.Optional[ConnectionOptionsPingFederate] = None + show_as_button: typing.Optional[ConnectionShowAsButton] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/create_connection_request_content_ping_federate_strategy.py b/src/auth0/management/types/create_connection_request_content_ping_federate_strategy.py new file mode 100644 index 00000000..6bab939d --- /dev/null +++ b/src/auth0/management/types/create_connection_request_content_ping_federate_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +CreateConnectionRequestContentPingFederateStrategy = typing.Union[typing.Literal["pingfederate"], typing.Any] diff --git a/src/auth0/management/types/create_connection_request_content_planning_center.py b/src/auth0/management/types/create_connection_request_content_planning_center.py index d6d00eb4..fab0c62d 100644 --- a/src/auth0/management/types/create_connection_request_content_planning_center.py +++ b/src/auth0/management/types/create_connection_request_content_planning_center.py @@ -6,6 +6,9 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_planning_center import ConnectionOptionsPlanningCenter from .create_connection_common import CreateConnectionCommon +from .create_connection_request_content_planning_center_strategy import ( + CreateConnectionRequestContentPlanningCenterStrategy, +) class CreateConnectionRequestContentPlanningCenter(CreateConnectionCommon): @@ -13,7 +16,7 @@ class CreateConnectionRequestContentPlanningCenter(CreateConnectionCommon): Create a connection with strategy=planningcenter """ - strategy: typing.Literal["planningcenter"] = "planningcenter" + strategy: CreateConnectionRequestContentPlanningCenterStrategy options: typing.Optional[ConnectionOptionsPlanningCenter] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/create_connection_request_content_planning_center_strategy.py b/src/auth0/management/types/create_connection_request_content_planning_center_strategy.py new file mode 100644 index 00000000..899b81d0 --- /dev/null +++ b/src/auth0/management/types/create_connection_request_content_planning_center_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +CreateConnectionRequestContentPlanningCenterStrategy = typing.Union[typing.Literal["planningcenter"], typing.Any] diff --git a/src/auth0/management/types/create_connection_request_content_renren.py b/src/auth0/management/types/create_connection_request_content_renren.py index 6f5f624c..389db415 100644 --- a/src/auth0/management/types/create_connection_request_content_renren.py +++ b/src/auth0/management/types/create_connection_request_content_renren.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_renren import ConnectionOptionsRenren from .create_connection_common import CreateConnectionCommon +from .create_connection_request_content_renren_strategy import CreateConnectionRequestContentRenrenStrategy class CreateConnectionRequestContentRenren(CreateConnectionCommon): @@ -13,7 +14,7 @@ class CreateConnectionRequestContentRenren(CreateConnectionCommon): Create a connection with strategy=renren """ - strategy: typing.Literal["renren"] = "renren" + strategy: CreateConnectionRequestContentRenrenStrategy options: typing.Optional[ConnectionOptionsRenren] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/create_connection_request_content_renren_strategy.py b/src/auth0/management/types/create_connection_request_content_renren_strategy.py new file mode 100644 index 00000000..95d35eda --- /dev/null +++ b/src/auth0/management/types/create_connection_request_content_renren_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +CreateConnectionRequestContentRenrenStrategy = typing.Union[typing.Literal["renren"], typing.Any] diff --git a/src/auth0/management/types/create_connection_request_content_salesforce.py b/src/auth0/management/types/create_connection_request_content_salesforce.py index 9a65c388..df22a383 100644 --- a/src/auth0/management/types/create_connection_request_content_salesforce.py +++ b/src/auth0/management/types/create_connection_request_content_salesforce.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_salesforce import ConnectionOptionsSalesforce from .create_connection_common import CreateConnectionCommon +from .create_connection_request_content_salesforce_strategy import CreateConnectionRequestContentSalesforceStrategy class CreateConnectionRequestContentSalesforce(CreateConnectionCommon): @@ -13,7 +14,7 @@ class CreateConnectionRequestContentSalesforce(CreateConnectionCommon): Create a connection with strategy=salesforce """ - strategy: typing.Literal["salesforce"] = "salesforce" + strategy: CreateConnectionRequestContentSalesforceStrategy options: typing.Optional[ConnectionOptionsSalesforce] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/create_connection_request_content_salesforce_community.py b/src/auth0/management/types/create_connection_request_content_salesforce_community.py index 98df46d5..2c6ea5f9 100644 --- a/src/auth0/management/types/create_connection_request_content_salesforce_community.py +++ b/src/auth0/management/types/create_connection_request_content_salesforce_community.py @@ -4,8 +4,11 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 -from .connection_options_salesforce_community import ConnectionOptionsSalesforceCommunity +from .connection_options_salesforce import ConnectionOptionsSalesforce from .create_connection_common import CreateConnectionCommon +from .create_connection_request_content_salesforce_community_strategy import ( + CreateConnectionRequestContentSalesforceCommunityStrategy, +) class CreateConnectionRequestContentSalesforceCommunity(CreateConnectionCommon): @@ -13,8 +16,8 @@ class CreateConnectionRequestContentSalesforceCommunity(CreateConnectionCommon): Create a connection with strategy=salesforce-community """ - strategy: typing.Literal["salesforce-community"] = "salesforce-community" - options: typing.Optional[ConnectionOptionsSalesforceCommunity] = None + strategy: CreateConnectionRequestContentSalesforceCommunityStrategy + options: typing.Optional[ConnectionOptionsSalesforce] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/create_connection_request_content_salesforce_community_strategy.py b/src/auth0/management/types/create_connection_request_content_salesforce_community_strategy.py new file mode 100644 index 00000000..492b581e --- /dev/null +++ b/src/auth0/management/types/create_connection_request_content_salesforce_community_strategy.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +CreateConnectionRequestContentSalesforceCommunityStrategy = typing.Union[ + typing.Literal["salesforce-community"], typing.Any +] diff --git a/src/auth0/management/types/create_connection_request_content_salesforce_sandbox.py b/src/auth0/management/types/create_connection_request_content_salesforce_sandbox.py index 0a145205..eb67de82 100644 --- a/src/auth0/management/types/create_connection_request_content_salesforce_sandbox.py +++ b/src/auth0/management/types/create_connection_request_content_salesforce_sandbox.py @@ -4,8 +4,11 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 -from .connection_options_salesforce_sandbox import ConnectionOptionsSalesforceSandbox +from .connection_options_salesforce import ConnectionOptionsSalesforce from .create_connection_common import CreateConnectionCommon +from .create_connection_request_content_salesforce_sandbox_strategy import ( + CreateConnectionRequestContentSalesforceSandboxStrategy, +) class CreateConnectionRequestContentSalesforceSandbox(CreateConnectionCommon): @@ -13,8 +16,8 @@ class CreateConnectionRequestContentSalesforceSandbox(CreateConnectionCommon): Create a connection with strategy=salesforce-sandbox """ - strategy: typing.Literal["salesforce-sandbox"] = "salesforce-sandbox" - options: typing.Optional[ConnectionOptionsSalesforceSandbox] = None + strategy: CreateConnectionRequestContentSalesforceSandboxStrategy + options: typing.Optional[ConnectionOptionsSalesforce] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/create_connection_request_content_salesforce_sandbox_strategy.py b/src/auth0/management/types/create_connection_request_content_salesforce_sandbox_strategy.py new file mode 100644 index 00000000..04806b1e --- /dev/null +++ b/src/auth0/management/types/create_connection_request_content_salesforce_sandbox_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +CreateConnectionRequestContentSalesforceSandboxStrategy = typing.Union[typing.Literal["salesforce-sandbox"], typing.Any] diff --git a/src/auth0/management/types/create_connection_request_content_salesforce_strategy.py b/src/auth0/management/types/create_connection_request_content_salesforce_strategy.py new file mode 100644 index 00000000..4d4e3218 --- /dev/null +++ b/src/auth0/management/types/create_connection_request_content_salesforce_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +CreateConnectionRequestContentSalesforceStrategy = typing.Union[typing.Literal["salesforce"], typing.Any] diff --git a/src/auth0/management/types/create_connection_request_content_saml.py b/src/auth0/management/types/create_connection_request_content_saml.py index 7766ba65..1e91476e 100644 --- a/src/auth0/management/types/create_connection_request_content_saml.py +++ b/src/auth0/management/types/create_connection_request_content_saml.py @@ -5,7 +5,9 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_saml import ConnectionOptionsSaml +from .connection_show_as_button import ConnectionShowAsButton from .create_connection_common import CreateConnectionCommon +from .create_connection_request_content_saml_strategy import CreateConnectionRequestContentSamlStrategy class CreateConnectionRequestContentSaml(CreateConnectionCommon): @@ -13,8 +15,9 @@ class CreateConnectionRequestContentSaml(CreateConnectionCommon): Create a connection with strategy=samlp """ - strategy: typing.Literal["samlp"] = "samlp" + strategy: CreateConnectionRequestContentSamlStrategy options: typing.Optional[ConnectionOptionsSaml] = None + show_as_button: typing.Optional[ConnectionShowAsButton] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/create_connection_request_content_saml_strategy.py b/src/auth0/management/types/create_connection_request_content_saml_strategy.py new file mode 100644 index 00000000..4102aacc --- /dev/null +++ b/src/auth0/management/types/create_connection_request_content_saml_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +CreateConnectionRequestContentSamlStrategy = typing.Union[typing.Literal["samlp"], typing.Any] diff --git a/src/auth0/management/types/create_connection_request_content_sharepoint.py b/src/auth0/management/types/create_connection_request_content_sharepoint.py index 7676773a..17e3e213 100644 --- a/src/auth0/management/types/create_connection_request_content_sharepoint.py +++ b/src/auth0/management/types/create_connection_request_content_sharepoint.py @@ -5,7 +5,9 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_sharepoint import ConnectionOptionsSharepoint +from .connection_show_as_button import ConnectionShowAsButton from .create_connection_common import CreateConnectionCommon +from .create_connection_request_content_sharepoint_strategy import CreateConnectionRequestContentSharepointStrategy class CreateConnectionRequestContentSharepoint(CreateConnectionCommon): @@ -13,8 +15,9 @@ class CreateConnectionRequestContentSharepoint(CreateConnectionCommon): Create a connection with strategy=sharepoint """ - strategy: typing.Literal["sharepoint"] = "sharepoint" + strategy: CreateConnectionRequestContentSharepointStrategy options: typing.Optional[ConnectionOptionsSharepoint] = None + show_as_button: typing.Optional[ConnectionShowAsButton] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/create_connection_request_content_sharepoint_strategy.py b/src/auth0/management/types/create_connection_request_content_sharepoint_strategy.py new file mode 100644 index 00000000..7a4712a5 --- /dev/null +++ b/src/auth0/management/types/create_connection_request_content_sharepoint_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +CreateConnectionRequestContentSharepointStrategy = typing.Union[typing.Literal["sharepoint"], typing.Any] diff --git a/src/auth0/management/types/create_connection_request_content_shop.py b/src/auth0/management/types/create_connection_request_content_shop.py index c64dc62f..948c95e2 100644 --- a/src/auth0/management/types/create_connection_request_content_shop.py +++ b/src/auth0/management/types/create_connection_request_content_shop.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_shop import ConnectionOptionsShop from .create_connection_common import CreateConnectionCommon +from .create_connection_request_content_shop_strategy import CreateConnectionRequestContentShopStrategy class CreateConnectionRequestContentShop(CreateConnectionCommon): @@ -13,7 +14,7 @@ class CreateConnectionRequestContentShop(CreateConnectionCommon): Create a connection with strategy=shop """ - strategy: typing.Literal["shop"] = "shop" + strategy: CreateConnectionRequestContentShopStrategy options: typing.Optional[ConnectionOptionsShop] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/create_connection_request_content_shop_strategy.py b/src/auth0/management/types/create_connection_request_content_shop_strategy.py new file mode 100644 index 00000000..2ecfa4d9 --- /dev/null +++ b/src/auth0/management/types/create_connection_request_content_shop_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +CreateConnectionRequestContentShopStrategy = typing.Union[typing.Literal["shop"], typing.Any] diff --git a/src/auth0/management/types/create_connection_request_content_shopify.py b/src/auth0/management/types/create_connection_request_content_shopify.py index 06fd09b4..0b1ee086 100644 --- a/src/auth0/management/types/create_connection_request_content_shopify.py +++ b/src/auth0/management/types/create_connection_request_content_shopify.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_shopify import ConnectionOptionsShopify from .create_connection_common import CreateConnectionCommon +from .create_connection_request_content_shopify_strategy import CreateConnectionRequestContentShopifyStrategy class CreateConnectionRequestContentShopify(CreateConnectionCommon): @@ -13,7 +14,7 @@ class CreateConnectionRequestContentShopify(CreateConnectionCommon): Create a connection with strategy=shopify """ - strategy: typing.Literal["shopify"] = "shopify" + strategy: CreateConnectionRequestContentShopifyStrategy options: typing.Optional[ConnectionOptionsShopify] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/create_connection_request_content_shopify_strategy.py b/src/auth0/management/types/create_connection_request_content_shopify_strategy.py new file mode 100644 index 00000000..a2afb333 --- /dev/null +++ b/src/auth0/management/types/create_connection_request_content_shopify_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +CreateConnectionRequestContentShopifyStrategy = typing.Union[typing.Literal["shopify"], typing.Any] diff --git a/src/auth0/management/types/create_connection_request_content_sms.py b/src/auth0/management/types/create_connection_request_content_sms.py index 097ac880..202648b5 100644 --- a/src/auth0/management/types/create_connection_request_content_sms.py +++ b/src/auth0/management/types/create_connection_request_content_sms.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_sms import ConnectionOptionsSms from .create_connection_common import CreateConnectionCommon +from .create_connection_request_content_sms_strategy import CreateConnectionRequestContentSmsStrategy class CreateConnectionRequestContentSms(CreateConnectionCommon): @@ -13,7 +14,7 @@ class CreateConnectionRequestContentSms(CreateConnectionCommon): Create a connection with strategy=sms """ - strategy: typing.Literal["sms"] = "sms" + strategy: CreateConnectionRequestContentSmsStrategy options: typing.Optional[ConnectionOptionsSms] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/create_connection_request_content_sms_strategy.py b/src/auth0/management/types/create_connection_request_content_sms_strategy.py new file mode 100644 index 00000000..a0c72c66 --- /dev/null +++ b/src/auth0/management/types/create_connection_request_content_sms_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +CreateConnectionRequestContentSmsStrategy = typing.Union[typing.Literal["sms"], typing.Any] diff --git a/src/auth0/management/types/create_connection_request_content_soundcloud.py b/src/auth0/management/types/create_connection_request_content_soundcloud.py index 036910a1..9319b878 100644 --- a/src/auth0/management/types/create_connection_request_content_soundcloud.py +++ b/src/auth0/management/types/create_connection_request_content_soundcloud.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_soundcloud import ConnectionOptionsSoundcloud from .create_connection_common import CreateConnectionCommon +from .create_connection_request_content_soundcloud_strategy import CreateConnectionRequestContentSoundcloudStrategy class CreateConnectionRequestContentSoundcloud(CreateConnectionCommon): @@ -13,7 +14,7 @@ class CreateConnectionRequestContentSoundcloud(CreateConnectionCommon): Create a connection with strategy=soundcloud """ - strategy: typing.Literal["soundcloud"] = "soundcloud" + strategy: CreateConnectionRequestContentSoundcloudStrategy options: typing.Optional[ConnectionOptionsSoundcloud] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/create_connection_request_content_soundcloud_strategy.py b/src/auth0/management/types/create_connection_request_content_soundcloud_strategy.py new file mode 100644 index 00000000..eab514b8 --- /dev/null +++ b/src/auth0/management/types/create_connection_request_content_soundcloud_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +CreateConnectionRequestContentSoundcloudStrategy = typing.Union[typing.Literal["soundcloud"], typing.Any] diff --git a/src/auth0/management/types/create_connection_request_content_thirty_seven_signals.py b/src/auth0/management/types/create_connection_request_content_thirty_seven_signals.py index 8231b5bf..0001a8cb 100644 --- a/src/auth0/management/types/create_connection_request_content_thirty_seven_signals.py +++ b/src/auth0/management/types/create_connection_request_content_thirty_seven_signals.py @@ -6,6 +6,9 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_thirty_seven_signals import ConnectionOptionsThirtySevenSignals from .create_connection_common import CreateConnectionCommon +from .create_connection_request_content_thirty_seven_signals_strategy import ( + CreateConnectionRequestContentThirtySevenSignalsStrategy, +) class CreateConnectionRequestContentThirtySevenSignals(CreateConnectionCommon): @@ -13,7 +16,7 @@ class CreateConnectionRequestContentThirtySevenSignals(CreateConnectionCommon): Create a connection with strategy=thirtysevensignals """ - strategy: typing.Literal["thirtysevensignals"] = "thirtysevensignals" + strategy: CreateConnectionRequestContentThirtySevenSignalsStrategy options: typing.Optional[ConnectionOptionsThirtySevenSignals] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/create_connection_request_content_thirty_seven_signals_strategy.py b/src/auth0/management/types/create_connection_request_content_thirty_seven_signals_strategy.py new file mode 100644 index 00000000..cba8ccd6 --- /dev/null +++ b/src/auth0/management/types/create_connection_request_content_thirty_seven_signals_strategy.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +CreateConnectionRequestContentThirtySevenSignalsStrategy = typing.Union[ + typing.Literal["thirtysevensignals"], typing.Any +] diff --git a/src/auth0/management/types/create_connection_request_content_twitter.py b/src/auth0/management/types/create_connection_request_content_twitter.py index a7136883..bed4634a 100644 --- a/src/auth0/management/types/create_connection_request_content_twitter.py +++ b/src/auth0/management/types/create_connection_request_content_twitter.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_twitter import ConnectionOptionsTwitter from .create_connection_common import CreateConnectionCommon +from .create_connection_request_content_twitter_strategy import CreateConnectionRequestContentTwitterStrategy class CreateConnectionRequestContentTwitter(CreateConnectionCommon): @@ -13,7 +14,7 @@ class CreateConnectionRequestContentTwitter(CreateConnectionCommon): Create a connection with strategy=twitter """ - strategy: typing.Literal["twitter"] = "twitter" + strategy: CreateConnectionRequestContentTwitterStrategy options: typing.Optional[ConnectionOptionsTwitter] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/create_connection_request_content_twitter_strategy.py b/src/auth0/management/types/create_connection_request_content_twitter_strategy.py new file mode 100644 index 00000000..2cde5333 --- /dev/null +++ b/src/auth0/management/types/create_connection_request_content_twitter_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +CreateConnectionRequestContentTwitterStrategy = typing.Union[typing.Literal["twitter"], typing.Any] diff --git a/src/auth0/management/types/create_connection_request_content_untappd.py b/src/auth0/management/types/create_connection_request_content_untappd.py index fc701ed2..95377783 100644 --- a/src/auth0/management/types/create_connection_request_content_untappd.py +++ b/src/auth0/management/types/create_connection_request_content_untappd.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_untappd import ConnectionOptionsUntappd from .create_connection_common import CreateConnectionCommon +from .create_connection_request_content_untappd_strategy import CreateConnectionRequestContentUntappdStrategy class CreateConnectionRequestContentUntappd(CreateConnectionCommon): @@ -13,7 +14,7 @@ class CreateConnectionRequestContentUntappd(CreateConnectionCommon): Create a connection with strategy=untappd """ - strategy: typing.Literal["untappd"] = "untappd" + strategy: CreateConnectionRequestContentUntappdStrategy options: typing.Optional[ConnectionOptionsUntappd] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/create_connection_request_content_untappd_strategy.py b/src/auth0/management/types/create_connection_request_content_untappd_strategy.py new file mode 100644 index 00000000..81c1ccfe --- /dev/null +++ b/src/auth0/management/types/create_connection_request_content_untappd_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +CreateConnectionRequestContentUntappdStrategy = typing.Union[typing.Literal["untappd"], typing.Any] diff --git a/src/auth0/management/types/create_connection_request_content_vkontakte.py b/src/auth0/management/types/create_connection_request_content_vkontakte.py index 1f4a97f2..031e1330 100644 --- a/src/auth0/management/types/create_connection_request_content_vkontakte.py +++ b/src/auth0/management/types/create_connection_request_content_vkontakte.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_vkontakte import ConnectionOptionsVkontakte from .create_connection_common import CreateConnectionCommon +from .create_connection_request_content_vkontakte_strategy import CreateConnectionRequestContentVkontakteStrategy class CreateConnectionRequestContentVkontakte(CreateConnectionCommon): @@ -13,7 +14,7 @@ class CreateConnectionRequestContentVkontakte(CreateConnectionCommon): Create a connection with strategy=vkontakte """ - strategy: typing.Literal["vkontakte"] = "vkontakte" + strategy: CreateConnectionRequestContentVkontakteStrategy options: typing.Optional[ConnectionOptionsVkontakte] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/create_connection_request_content_vkontakte_strategy.py b/src/auth0/management/types/create_connection_request_content_vkontakte_strategy.py new file mode 100644 index 00000000..0b0502c4 --- /dev/null +++ b/src/auth0/management/types/create_connection_request_content_vkontakte_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +CreateConnectionRequestContentVkontakteStrategy = typing.Union[typing.Literal["vkontakte"], typing.Any] diff --git a/src/auth0/management/types/create_connection_request_content_weibo.py b/src/auth0/management/types/create_connection_request_content_weibo.py index 0280fc43..9bb44ef3 100644 --- a/src/auth0/management/types/create_connection_request_content_weibo.py +++ b/src/auth0/management/types/create_connection_request_content_weibo.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_weibo import ConnectionOptionsWeibo from .create_connection_common import CreateConnectionCommon +from .create_connection_request_content_weibo_strategy import CreateConnectionRequestContentWeiboStrategy class CreateConnectionRequestContentWeibo(CreateConnectionCommon): @@ -13,7 +14,7 @@ class CreateConnectionRequestContentWeibo(CreateConnectionCommon): Create a connection with strategy=weibo """ - strategy: typing.Literal["weibo"] = "weibo" + strategy: CreateConnectionRequestContentWeiboStrategy options: typing.Optional[ConnectionOptionsWeibo] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/create_connection_request_content_weibo_strategy.py b/src/auth0/management/types/create_connection_request_content_weibo_strategy.py new file mode 100644 index 00000000..f7165ecd --- /dev/null +++ b/src/auth0/management/types/create_connection_request_content_weibo_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +CreateConnectionRequestContentWeiboStrategy = typing.Union[typing.Literal["weibo"], typing.Any] diff --git a/src/auth0/management/types/create_connection_request_content_windows_live.py b/src/auth0/management/types/create_connection_request_content_windows_live.py index 661cf946..fc025f8b 100644 --- a/src/auth0/management/types/create_connection_request_content_windows_live.py +++ b/src/auth0/management/types/create_connection_request_content_windows_live.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_windows_live import ConnectionOptionsWindowsLive from .create_connection_common import CreateConnectionCommon +from .create_connection_request_content_windows_live_strategy import CreateConnectionRequestContentWindowsLiveStrategy class CreateConnectionRequestContentWindowsLive(CreateConnectionCommon): @@ -13,7 +14,7 @@ class CreateConnectionRequestContentWindowsLive(CreateConnectionCommon): Create a connection with strategy=windowslive """ - strategy: typing.Literal["windowslive"] = "windowslive" + strategy: CreateConnectionRequestContentWindowsLiveStrategy options: typing.Optional[ConnectionOptionsWindowsLive] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/create_connection_request_content_windows_live_strategy.py b/src/auth0/management/types/create_connection_request_content_windows_live_strategy.py new file mode 100644 index 00000000..173570a5 --- /dev/null +++ b/src/auth0/management/types/create_connection_request_content_windows_live_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +CreateConnectionRequestContentWindowsLiveStrategy = typing.Union[typing.Literal["windowslive"], typing.Any] diff --git a/src/auth0/management/types/create_connection_request_content_wordpress.py b/src/auth0/management/types/create_connection_request_content_wordpress.py index ecfaaa69..388e03d4 100644 --- a/src/auth0/management/types/create_connection_request_content_wordpress.py +++ b/src/auth0/management/types/create_connection_request_content_wordpress.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_wordpress import ConnectionOptionsWordpress from .create_connection_common import CreateConnectionCommon +from .create_connection_request_content_wordpress_strategy import CreateConnectionRequestContentWordpressStrategy class CreateConnectionRequestContentWordpress(CreateConnectionCommon): @@ -13,7 +14,7 @@ class CreateConnectionRequestContentWordpress(CreateConnectionCommon): Create a connection with strategy=wordpress """ - strategy: typing.Literal["wordpress"] = "wordpress" + strategy: CreateConnectionRequestContentWordpressStrategy options: typing.Optional[ConnectionOptionsWordpress] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/create_connection_request_content_wordpress_strategy.py b/src/auth0/management/types/create_connection_request_content_wordpress_strategy.py new file mode 100644 index 00000000..dcecae16 --- /dev/null +++ b/src/auth0/management/types/create_connection_request_content_wordpress_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +CreateConnectionRequestContentWordpressStrategy = typing.Union[typing.Literal["wordpress"], typing.Any] diff --git a/src/auth0/management/types/create_connection_request_content_yahoo.py b/src/auth0/management/types/create_connection_request_content_yahoo.py index c8aff488..8f323549 100644 --- a/src/auth0/management/types/create_connection_request_content_yahoo.py +++ b/src/auth0/management/types/create_connection_request_content_yahoo.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_yahoo import ConnectionOptionsYahoo from .create_connection_common import CreateConnectionCommon +from .create_connection_request_content_yahoo_strategy import CreateConnectionRequestContentYahooStrategy class CreateConnectionRequestContentYahoo(CreateConnectionCommon): @@ -13,7 +14,7 @@ class CreateConnectionRequestContentYahoo(CreateConnectionCommon): Create a connection with strategy=yahoo """ - strategy: typing.Literal["yahoo"] = "yahoo" + strategy: CreateConnectionRequestContentYahooStrategy options: typing.Optional[ConnectionOptionsYahoo] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/create_connection_request_content_yahoo_strategy.py b/src/auth0/management/types/create_connection_request_content_yahoo_strategy.py new file mode 100644 index 00000000..970b4606 --- /dev/null +++ b/src/auth0/management/types/create_connection_request_content_yahoo_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +CreateConnectionRequestContentYahooStrategy = typing.Union[typing.Literal["yahoo"], typing.Any] diff --git a/src/auth0/management/types/create_connection_request_content_yammer.py b/src/auth0/management/types/create_connection_request_content_yammer.py index 1a063538..2f7d29ab 100644 --- a/src/auth0/management/types/create_connection_request_content_yammer.py +++ b/src/auth0/management/types/create_connection_request_content_yammer.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_yammer import ConnectionOptionsYammer from .create_connection_common import CreateConnectionCommon +from .create_connection_request_content_yammer_strategy import CreateConnectionRequestContentYammerStrategy class CreateConnectionRequestContentYammer(CreateConnectionCommon): @@ -13,7 +14,7 @@ class CreateConnectionRequestContentYammer(CreateConnectionCommon): Create a connection with strategy=yammer """ - strategy: typing.Literal["yammer"] = "yammer" + strategy: CreateConnectionRequestContentYammerStrategy options: typing.Optional[ConnectionOptionsYammer] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/create_connection_request_content_yammer_strategy.py b/src/auth0/management/types/create_connection_request_content_yammer_strategy.py new file mode 100644 index 00000000..bf7bae4d --- /dev/null +++ b/src/auth0/management/types/create_connection_request_content_yammer_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +CreateConnectionRequestContentYammerStrategy = typing.Union[typing.Literal["yammer"], typing.Any] diff --git a/src/auth0/management/types/create_connection_request_content_yandex.py b/src/auth0/management/types/create_connection_request_content_yandex.py index fddb6460..a98e1a41 100644 --- a/src/auth0/management/types/create_connection_request_content_yandex.py +++ b/src/auth0/management/types/create_connection_request_content_yandex.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2 from .connection_options_yandex import ConnectionOptionsYandex from .create_connection_common import CreateConnectionCommon +from .create_connection_request_content_yandex_strategy import CreateConnectionRequestContentYandexStrategy class CreateConnectionRequestContentYandex(CreateConnectionCommon): @@ -13,7 +14,7 @@ class CreateConnectionRequestContentYandex(CreateConnectionCommon): Create a connection with strategy=yandex """ - strategy: typing.Literal["yandex"] = "yandex" + strategy: CreateConnectionRequestContentYandexStrategy options: typing.Optional[ConnectionOptionsYandex] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/create_connection_request_content_yandex_strategy.py b/src/auth0/management/types/create_connection_request_content_yandex_strategy.py new file mode 100644 index 00000000..f55afa8d --- /dev/null +++ b/src/auth0/management/types/create_connection_request_content_yandex_strategy.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +CreateConnectionRequestContentYandexStrategy = typing.Union[typing.Literal["yandex"], typing.Any] diff --git a/src/auth0/management/types/create_custom_domain_response_content.py b/src/auth0/management/types/create_custom_domain_response_content.py index fd8d6785..6905751a 100644 --- a/src/auth0/management/types/create_custom_domain_response_content.py +++ b/src/auth0/management/types/create_custom_domain_response_content.py @@ -27,6 +27,11 @@ class CreateCustomDomainResponseContent(UniversalBaseModel): Whether this is a primary domain (true) or not (false). """ + is_default: typing.Optional[bool] = pydantic.Field(default=False) + """ + Whether this is the default custom domain (true) or not (false). + """ + status: CustomDomainStatusFilterEnum type: CustomDomainTypeEnum verification: DomainVerification @@ -42,6 +47,10 @@ class CreateCustomDomainResponseContent(UniversalBaseModel): domain_metadata: typing.Optional[DomainMetadata] = None certificate: typing.Optional[DomainCertificate] = None + relying_party_identifier: typing.Optional[str] = pydantic.Field(default=None) + """ + Relying Party ID (rpId) to be used for Passkeys on this custom domain. If not present, the full domain will be used. + """ if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/create_email_template_response_content.py b/src/auth0/management/types/create_email_template_response_content.py index 08842cb4..a06f07c3 100644 --- a/src/auth0/management/types/create_email_template_response_content.py +++ b/src/auth0/management/types/create_email_template_response_content.py @@ -17,14 +17,14 @@ class CreateEmailTemplateResponseContent(UniversalBaseModel): """ from_: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="from")] = pydantic.Field( - default="sender@auth0.com" + alias="from", default="sender@auth0.com" ) """ Senders `from` email address. """ result_url: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="resultUrl")] = pydantic.Field( - default=None + alias="resultUrl", default=None ) """ URL to redirect the user to after a successful action. @@ -42,14 +42,14 @@ class CreateEmailTemplateResponseContent(UniversalBaseModel): url_lifetime_in_seconds: typing_extensions.Annotated[ typing.Optional[float], FieldMetadata(alias="urlLifetimeInSeconds") - ] = pydantic.Field(default=None) + ] = pydantic.Field(alias="urlLifetimeInSeconds", default=None) """ Lifetime in seconds that the link within the email will be valid for. """ include_email_in_redirect: typing_extensions.Annotated[ typing.Optional[bool], FieldMetadata(alias="includeEmailInRedirect") - ] = pydantic.Field(default=None) + ] = pydantic.Field(alias="includeEmailInRedirect", default=None) """ Whether the `reset_email` and `verify_email` templates should include the user's email address as the `email` parameter in the returnUrl (true) or whether no email address should be included in the redirect (false). Defaults to true. """ diff --git a/src/auth0/management/types/create_encryption_key_public_wrapping_response_content.py b/src/auth0/management/types/create_encryption_key_public_wrapping_response_content.py index 10132a3e..379fd16b 100644 --- a/src/auth0/management/types/create_encryption_key_public_wrapping_response_content.py +++ b/src/auth0/management/types/create_encryption_key_public_wrapping_response_content.py @@ -13,7 +13,7 @@ class CreateEncryptionKeyPublicWrappingResponseContent(UniversalBaseModel): Public wrapping key in PEM format """ - algorithm: EncryptionKeyPublicWrappingAlgorithm = "CKM_RSA_AES_KEY_WRAP" + algorithm: EncryptionKeyPublicWrappingAlgorithm if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/create_event_stream_test_event_response_content.py b/src/auth0/management/types/create_event_stream_test_event_response_content.py index b6374c48..2918f7ee 100644 --- a/src/auth0/management/types/create_event_stream_test_event_response_content.py +++ b/src/auth0/management/types/create_event_stream_test_event_response_content.py @@ -25,7 +25,7 @@ class CreateEventStreamTestEventResponseContent(UniversalBaseModel): Unique identifier for the event stream. """ - status: EventStreamDeliveryStatusEnum = "failed" + status: EventStreamDeliveryStatusEnum event_type: EventStreamDeliveryEventTypeEnum attempts: typing.List[EventStreamDeliveryAttempt] = pydantic.Field() """ diff --git a/src/auth0/management/types/create_flows_vault_connection_activecampaign_api_key.py b/src/auth0/management/types/create_flows_vault_connection_activecampaign_api_key.py index ec9bf4ca..b26fda41 100644 --- a/src/auth0/management/types/create_flows_vault_connection_activecampaign_api_key.py +++ b/src/auth0/management/types/create_flows_vault_connection_activecampaign_api_key.py @@ -14,7 +14,7 @@ class CreateFlowsVaultConnectionActivecampaignApiKey(UniversalBaseModel): Flows Vault Connection name. """ - app_id: FlowsVaultConnectionAppIdActivecampaignEnum = "ACTIVECAMPAIGN" + app_id: FlowsVaultConnectionAppIdActivecampaignEnum setup: FlowsVaultConnectioSetupApiKeyWithBaseUrl if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/create_flows_vault_connection_activecampaign_uninitialized.py b/src/auth0/management/types/create_flows_vault_connection_activecampaign_uninitialized.py index 05a1ad96..4a9c12a1 100644 --- a/src/auth0/management/types/create_flows_vault_connection_activecampaign_uninitialized.py +++ b/src/auth0/management/types/create_flows_vault_connection_activecampaign_uninitialized.py @@ -13,7 +13,7 @@ class CreateFlowsVaultConnectionActivecampaignUninitialized(UniversalBaseModel): Flows Vault Connection name. """ - app_id: FlowsVaultConnectionAppIdActivecampaignEnum = "ACTIVECAMPAIGN" + app_id: FlowsVaultConnectionAppIdActivecampaignEnum if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/create_flows_vault_connection_airtable_api_key.py b/src/auth0/management/types/create_flows_vault_connection_airtable_api_key.py index 9c7251fe..3a633b9b 100644 --- a/src/auth0/management/types/create_flows_vault_connection_airtable_api_key.py +++ b/src/auth0/management/types/create_flows_vault_connection_airtable_api_key.py @@ -14,7 +14,7 @@ class CreateFlowsVaultConnectionAirtableApiKey(UniversalBaseModel): Flows Vault Connection name. """ - app_id: FlowsVaultConnectionAppIdAirtableEnum = "AIRTABLE" + app_id: FlowsVaultConnectionAppIdAirtableEnum setup: FlowsVaultConnectioSetupApiKey if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/create_flows_vault_connection_airtable_uninitialized.py b/src/auth0/management/types/create_flows_vault_connection_airtable_uninitialized.py index d1fd60b0..e5e5c256 100644 --- a/src/auth0/management/types/create_flows_vault_connection_airtable_uninitialized.py +++ b/src/auth0/management/types/create_flows_vault_connection_airtable_uninitialized.py @@ -13,7 +13,7 @@ class CreateFlowsVaultConnectionAirtableUninitialized(UniversalBaseModel): Flows Vault Connection name. """ - app_id: FlowsVaultConnectionAppIdAirtableEnum = "AIRTABLE" + app_id: FlowsVaultConnectionAppIdAirtableEnum if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/create_flows_vault_connection_auth_0_oauth_app.py b/src/auth0/management/types/create_flows_vault_connection_auth_0_oauth_app.py index 10479bf5..bd7b911c 100644 --- a/src/auth0/management/types/create_flows_vault_connection_auth_0_oauth_app.py +++ b/src/auth0/management/types/create_flows_vault_connection_auth_0_oauth_app.py @@ -14,7 +14,7 @@ class CreateFlowsVaultConnectionAuth0OauthApp(UniversalBaseModel): Flows Vault Connection name. """ - app_id: FlowsVaultConnectionAppIdAuth0Enum = "AUTH0" + app_id: FlowsVaultConnectionAppIdAuth0Enum setup: FlowsVaultConnectioSetupOauthApp if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/create_flows_vault_connection_auth_0_uninitialized.py b/src/auth0/management/types/create_flows_vault_connection_auth_0_uninitialized.py index abf252ed..b20b6a03 100644 --- a/src/auth0/management/types/create_flows_vault_connection_auth_0_uninitialized.py +++ b/src/auth0/management/types/create_flows_vault_connection_auth_0_uninitialized.py @@ -13,7 +13,7 @@ class CreateFlowsVaultConnectionAuth0Uninitialized(UniversalBaseModel): Flows Vault Connection name. """ - app_id: FlowsVaultConnectionAppIdAuth0Enum = "AUTH0" + app_id: FlowsVaultConnectionAppIdAuth0Enum if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/create_flows_vault_connection_bigquery_jwt.py b/src/auth0/management/types/create_flows_vault_connection_bigquery_jwt.py index 5884cc39..16e18974 100644 --- a/src/auth0/management/types/create_flows_vault_connection_bigquery_jwt.py +++ b/src/auth0/management/types/create_flows_vault_connection_bigquery_jwt.py @@ -14,7 +14,7 @@ class CreateFlowsVaultConnectionBigqueryJwt(UniversalBaseModel): Flows Vault Connection name. """ - app_id: FlowsVaultConnectionAppIdBigqueryEnum = "BIGQUERY" + app_id: FlowsVaultConnectionAppIdBigqueryEnum setup: FlowsVaultConnectioSetupBigqueryOauthJwt if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/create_flows_vault_connection_bigquery_uninitialized.py b/src/auth0/management/types/create_flows_vault_connection_bigquery_uninitialized.py index 78d232fe..dab52200 100644 --- a/src/auth0/management/types/create_flows_vault_connection_bigquery_uninitialized.py +++ b/src/auth0/management/types/create_flows_vault_connection_bigquery_uninitialized.py @@ -13,7 +13,7 @@ class CreateFlowsVaultConnectionBigqueryUninitialized(UniversalBaseModel): Flows Vault Connection name. """ - app_id: FlowsVaultConnectionAppIdBigqueryEnum = "BIGQUERY" + app_id: FlowsVaultConnectionAppIdBigqueryEnum if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/create_flows_vault_connection_clearbit_api_key.py b/src/auth0/management/types/create_flows_vault_connection_clearbit_api_key.py index 9ec77771..5c538838 100644 --- a/src/auth0/management/types/create_flows_vault_connection_clearbit_api_key.py +++ b/src/auth0/management/types/create_flows_vault_connection_clearbit_api_key.py @@ -14,7 +14,7 @@ class CreateFlowsVaultConnectionClearbitApiKey(UniversalBaseModel): Flows Vault Connection name. """ - app_id: FlowsVaultConnectionAppIdClearbitEnum = "CLEARBIT" + app_id: FlowsVaultConnectionAppIdClearbitEnum setup: FlowsVaultConnectioSetupSecretApiKey if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/create_flows_vault_connection_clearbit_uninitialized.py b/src/auth0/management/types/create_flows_vault_connection_clearbit_uninitialized.py index 2f948e65..2bbf0da7 100644 --- a/src/auth0/management/types/create_flows_vault_connection_clearbit_uninitialized.py +++ b/src/auth0/management/types/create_flows_vault_connection_clearbit_uninitialized.py @@ -13,7 +13,7 @@ class CreateFlowsVaultConnectionClearbitUninitialized(UniversalBaseModel): Flows Vault Connection name. """ - app_id: FlowsVaultConnectionAppIdClearbitEnum = "CLEARBIT" + app_id: FlowsVaultConnectionAppIdClearbitEnum if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/create_flows_vault_connection_docusign_oauth_code.py b/src/auth0/management/types/create_flows_vault_connection_docusign_oauth_code.py index 2f323754..6748b303 100644 --- a/src/auth0/management/types/create_flows_vault_connection_docusign_oauth_code.py +++ b/src/auth0/management/types/create_flows_vault_connection_docusign_oauth_code.py @@ -14,7 +14,7 @@ class CreateFlowsVaultConnectionDocusignOauthCode(UniversalBaseModel): Flows Vault Connection name. """ - app_id: FlowsVaultConnectionAppIdDocusignEnum = "DOCUSIGN" + app_id: FlowsVaultConnectionAppIdDocusignEnum setup: FlowsVaultConnectioSetupOauthCode if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/create_flows_vault_connection_docusign_uninitialized.py b/src/auth0/management/types/create_flows_vault_connection_docusign_uninitialized.py index 794770a4..dd3830f6 100644 --- a/src/auth0/management/types/create_flows_vault_connection_docusign_uninitialized.py +++ b/src/auth0/management/types/create_flows_vault_connection_docusign_uninitialized.py @@ -13,7 +13,7 @@ class CreateFlowsVaultConnectionDocusignUninitialized(UniversalBaseModel): Flows Vault Connection name. """ - app_id: FlowsVaultConnectionAppIdDocusignEnum = "DOCUSIGN" + app_id: FlowsVaultConnectionAppIdDocusignEnum if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/create_flows_vault_connection_google_sheets_oauth_code.py b/src/auth0/management/types/create_flows_vault_connection_google_sheets_oauth_code.py index 2e789aa7..06c4826f 100644 --- a/src/auth0/management/types/create_flows_vault_connection_google_sheets_oauth_code.py +++ b/src/auth0/management/types/create_flows_vault_connection_google_sheets_oauth_code.py @@ -14,7 +14,7 @@ class CreateFlowsVaultConnectionGoogleSheetsOauthCode(UniversalBaseModel): Flows Vault Connection name. """ - app_id: FlowsVaultConnectionAppIdGoogleSheetsEnum = "GOOGLE_SHEETS" + app_id: FlowsVaultConnectionAppIdGoogleSheetsEnum setup: FlowsVaultConnectioSetupOauthCode if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/create_flows_vault_connection_google_sheets_uninitialized.py b/src/auth0/management/types/create_flows_vault_connection_google_sheets_uninitialized.py index 3fb5212a..8af7d867 100644 --- a/src/auth0/management/types/create_flows_vault_connection_google_sheets_uninitialized.py +++ b/src/auth0/management/types/create_flows_vault_connection_google_sheets_uninitialized.py @@ -13,7 +13,7 @@ class CreateFlowsVaultConnectionGoogleSheetsUninitialized(UniversalBaseModel): Flows Vault Connection name. """ - app_id: FlowsVaultConnectionAppIdGoogleSheetsEnum = "GOOGLE_SHEETS" + app_id: FlowsVaultConnectionAppIdGoogleSheetsEnum if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/create_flows_vault_connection_http.py b/src/auth0/management/types/create_flows_vault_connection_http.py index 89a79f9f..36674c8f 100644 --- a/src/auth0/management/types/create_flows_vault_connection_http.py +++ b/src/auth0/management/types/create_flows_vault_connection_http.py @@ -2,9 +2,12 @@ import typing +from .create_flows_vault_connection_http_basic_auth import CreateFlowsVaultConnectionHttpBasicAuth from .create_flows_vault_connection_http_bearer import CreateFlowsVaultConnectionHttpBearer from .create_flows_vault_connection_http_uninitialized import CreateFlowsVaultConnectionHttpUninitialized CreateFlowsVaultConnectionHttp = typing.Union[ - CreateFlowsVaultConnectionHttpBearer, CreateFlowsVaultConnectionHttpUninitialized + CreateFlowsVaultConnectionHttpBearer, + CreateFlowsVaultConnectionHttpBasicAuth, + CreateFlowsVaultConnectionHttpUninitialized, ] diff --git a/src/auth0/management/types/create_flows_vault_connection_http_basic_auth.py b/src/auth0/management/types/create_flows_vault_connection_http_basic_auth.py new file mode 100644 index 00000000..65ba1427 --- /dev/null +++ b/src/auth0/management/types/create_flows_vault_connection_http_basic_auth.py @@ -0,0 +1,27 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .flows_vault_connection_app_id_http_enum import FlowsVaultConnectionAppIdHttpEnum +from .flows_vault_connection_http_basic_auth_setup import FlowsVaultConnectionHttpBasicAuthSetup + + +class CreateFlowsVaultConnectionHttpBasicAuth(UniversalBaseModel): + name: str = pydantic.Field() + """ + Flows Vault Connection name. + """ + + app_id: FlowsVaultConnectionAppIdHttpEnum + setup: FlowsVaultConnectionHttpBasicAuthSetup + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/create_flows_vault_connection_http_bearer.py b/src/auth0/management/types/create_flows_vault_connection_http_bearer.py index 4db37d91..837c43fa 100644 --- a/src/auth0/management/types/create_flows_vault_connection_http_bearer.py +++ b/src/auth0/management/types/create_flows_vault_connection_http_bearer.py @@ -14,7 +14,7 @@ class CreateFlowsVaultConnectionHttpBearer(UniversalBaseModel): Flows Vault Connection name. """ - app_id: FlowsVaultConnectionAppIdHttpEnum = "HTTP" + app_id: FlowsVaultConnectionAppIdHttpEnum setup: FlowsVaultConnectioSetupHttpBearer if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/create_flows_vault_connection_http_uninitialized.py b/src/auth0/management/types/create_flows_vault_connection_http_uninitialized.py index a2474cba..c0b270c7 100644 --- a/src/auth0/management/types/create_flows_vault_connection_http_uninitialized.py +++ b/src/auth0/management/types/create_flows_vault_connection_http_uninitialized.py @@ -13,7 +13,7 @@ class CreateFlowsVaultConnectionHttpUninitialized(UniversalBaseModel): Flows Vault Connection name. """ - app_id: FlowsVaultConnectionAppIdHttpEnum = "HTTP" + app_id: FlowsVaultConnectionAppIdHttpEnum if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/create_flows_vault_connection_hubspot_api_key.py b/src/auth0/management/types/create_flows_vault_connection_hubspot_api_key.py index 3217fa97..e6ad7e46 100644 --- a/src/auth0/management/types/create_flows_vault_connection_hubspot_api_key.py +++ b/src/auth0/management/types/create_flows_vault_connection_hubspot_api_key.py @@ -14,7 +14,7 @@ class CreateFlowsVaultConnectionHubspotApiKey(UniversalBaseModel): Flows Vault Connection name. """ - app_id: FlowsVaultConnectionAppIdHubspotEnum = "HUBSPOT" + app_id: FlowsVaultConnectionAppIdHubspotEnum setup: FlowsVaultConnectioSetupApiKey if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/create_flows_vault_connection_hubspot_oauth_code.py b/src/auth0/management/types/create_flows_vault_connection_hubspot_oauth_code.py index 3fe4dacf..3d0d92d3 100644 --- a/src/auth0/management/types/create_flows_vault_connection_hubspot_oauth_code.py +++ b/src/auth0/management/types/create_flows_vault_connection_hubspot_oauth_code.py @@ -14,7 +14,7 @@ class CreateFlowsVaultConnectionHubspotOauthCode(UniversalBaseModel): Flows Vault Connection name. """ - app_id: FlowsVaultConnectionAppIdHubspotEnum = "HUBSPOT" + app_id: FlowsVaultConnectionAppIdHubspotEnum setup: FlowsVaultConnectioSetupOauthCode if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/create_flows_vault_connection_hubspot_uninitialized.py b/src/auth0/management/types/create_flows_vault_connection_hubspot_uninitialized.py index 99163844..f599cdcf 100644 --- a/src/auth0/management/types/create_flows_vault_connection_hubspot_uninitialized.py +++ b/src/auth0/management/types/create_flows_vault_connection_hubspot_uninitialized.py @@ -13,7 +13,7 @@ class CreateFlowsVaultConnectionHubspotUninitialized(UniversalBaseModel): Flows Vault Connection name. """ - app_id: FlowsVaultConnectionAppIdHubspotEnum = "HUBSPOT" + app_id: FlowsVaultConnectionAppIdHubspotEnum if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/create_flows_vault_connection_jwt_jwt.py b/src/auth0/management/types/create_flows_vault_connection_jwt_jwt.py index 8e444d41..9dd55ab1 100644 --- a/src/auth0/management/types/create_flows_vault_connection_jwt_jwt.py +++ b/src/auth0/management/types/create_flows_vault_connection_jwt_jwt.py @@ -14,7 +14,7 @@ class CreateFlowsVaultConnectionJwtJwt(UniversalBaseModel): Flows Vault Connection name. """ - app_id: FlowsVaultConnectionAppIdJwtEnum = "JWT" + app_id: FlowsVaultConnectionAppIdJwtEnum setup: FlowsVaultConnectioSetupJwt if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/create_flows_vault_connection_jwt_uninitialized.py b/src/auth0/management/types/create_flows_vault_connection_jwt_uninitialized.py index daf6d0fd..cfec5583 100644 --- a/src/auth0/management/types/create_flows_vault_connection_jwt_uninitialized.py +++ b/src/auth0/management/types/create_flows_vault_connection_jwt_uninitialized.py @@ -13,7 +13,7 @@ class CreateFlowsVaultConnectionJwtUninitialized(UniversalBaseModel): Flows Vault Connection name. """ - app_id: FlowsVaultConnectionAppIdJwtEnum = "JWT" + app_id: FlowsVaultConnectionAppIdJwtEnum if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/create_flows_vault_connection_mailchimp_api_key.py b/src/auth0/management/types/create_flows_vault_connection_mailchimp_api_key.py index a3979195..b0ba93f5 100644 --- a/src/auth0/management/types/create_flows_vault_connection_mailchimp_api_key.py +++ b/src/auth0/management/types/create_flows_vault_connection_mailchimp_api_key.py @@ -14,7 +14,7 @@ class CreateFlowsVaultConnectionMailchimpApiKey(UniversalBaseModel): Flows Vault Connection name. """ - app_id: FlowsVaultConnectionAppIdMailchimpEnum = "MAILCHIMP" + app_id: FlowsVaultConnectionAppIdMailchimpEnum setup: FlowsVaultConnectioSetupSecretApiKey if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/create_flows_vault_connection_mailchimp_oauth_code.py b/src/auth0/management/types/create_flows_vault_connection_mailchimp_oauth_code.py index a9eac751..a907ed22 100644 --- a/src/auth0/management/types/create_flows_vault_connection_mailchimp_oauth_code.py +++ b/src/auth0/management/types/create_flows_vault_connection_mailchimp_oauth_code.py @@ -14,7 +14,7 @@ class CreateFlowsVaultConnectionMailchimpOauthCode(UniversalBaseModel): Flows Vault Connection name. """ - app_id: FlowsVaultConnectionAppIdMailchimpEnum = "MAILCHIMP" + app_id: FlowsVaultConnectionAppIdMailchimpEnum setup: FlowsVaultConnectioSetupOauthCode if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/create_flows_vault_connection_mailchimp_uninitialized.py b/src/auth0/management/types/create_flows_vault_connection_mailchimp_uninitialized.py index aa291791..3666c7a2 100644 --- a/src/auth0/management/types/create_flows_vault_connection_mailchimp_uninitialized.py +++ b/src/auth0/management/types/create_flows_vault_connection_mailchimp_uninitialized.py @@ -13,7 +13,7 @@ class CreateFlowsVaultConnectionMailchimpUninitialized(UniversalBaseModel): Flows Vault Connection name. """ - app_id: FlowsVaultConnectionAppIdMailchimpEnum = "MAILCHIMP" + app_id: FlowsVaultConnectionAppIdMailchimpEnum if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/create_flows_vault_connection_mailjet_api_key.py b/src/auth0/management/types/create_flows_vault_connection_mailjet_api_key.py index a57d8d11..a6dae763 100644 --- a/src/auth0/management/types/create_flows_vault_connection_mailjet_api_key.py +++ b/src/auth0/management/types/create_flows_vault_connection_mailjet_api_key.py @@ -14,7 +14,7 @@ class CreateFlowsVaultConnectionMailjetApiKey(UniversalBaseModel): Flows Vault Connection name. """ - app_id: FlowsVaultConnectionAppIdMailjetEnum = "MAILJET" + app_id: FlowsVaultConnectionAppIdMailjetEnum setup: FlowsVaultConnectioSetupMailjetApiKey if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/create_flows_vault_connection_mailjet_uninitialized.py b/src/auth0/management/types/create_flows_vault_connection_mailjet_uninitialized.py index f92c28c2..a49aa301 100644 --- a/src/auth0/management/types/create_flows_vault_connection_mailjet_uninitialized.py +++ b/src/auth0/management/types/create_flows_vault_connection_mailjet_uninitialized.py @@ -13,7 +13,7 @@ class CreateFlowsVaultConnectionMailjetUninitialized(UniversalBaseModel): Flows Vault Connection name. """ - app_id: FlowsVaultConnectionAppIdMailjetEnum = "MAILJET" + app_id: FlowsVaultConnectionAppIdMailjetEnum if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/create_flows_vault_connection_pipedrive_oauth_code.py b/src/auth0/management/types/create_flows_vault_connection_pipedrive_oauth_code.py index 84fa3470..fe564a38 100644 --- a/src/auth0/management/types/create_flows_vault_connection_pipedrive_oauth_code.py +++ b/src/auth0/management/types/create_flows_vault_connection_pipedrive_oauth_code.py @@ -14,7 +14,7 @@ class CreateFlowsVaultConnectionPipedriveOauthCode(UniversalBaseModel): Flows Vault Connection name. """ - app_id: FlowsVaultConnectionAppIdPipedriveEnum = "PIPEDRIVE" + app_id: FlowsVaultConnectionAppIdPipedriveEnum setup: FlowsVaultConnectioSetupOauthCode if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/create_flows_vault_connection_pipedrive_token.py b/src/auth0/management/types/create_flows_vault_connection_pipedrive_token.py index 9af7cb0a..c773f826 100644 --- a/src/auth0/management/types/create_flows_vault_connection_pipedrive_token.py +++ b/src/auth0/management/types/create_flows_vault_connection_pipedrive_token.py @@ -14,7 +14,7 @@ class CreateFlowsVaultConnectionPipedriveToken(UniversalBaseModel): Flows Vault Connection name. """ - app_id: FlowsVaultConnectionAppIdPipedriveEnum = "PIPEDRIVE" + app_id: FlowsVaultConnectionAppIdPipedriveEnum setup: FlowsVaultConnectioSetupToken if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/create_flows_vault_connection_pipedrive_uninitialized.py b/src/auth0/management/types/create_flows_vault_connection_pipedrive_uninitialized.py index 98e5e07b..bc174dd8 100644 --- a/src/auth0/management/types/create_flows_vault_connection_pipedrive_uninitialized.py +++ b/src/auth0/management/types/create_flows_vault_connection_pipedrive_uninitialized.py @@ -13,7 +13,7 @@ class CreateFlowsVaultConnectionPipedriveUninitialized(UniversalBaseModel): Flows Vault Connection name. """ - app_id: FlowsVaultConnectionAppIdPipedriveEnum = "PIPEDRIVE" + app_id: FlowsVaultConnectionAppIdPipedriveEnum if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/create_flows_vault_connection_salesforce_oauth_code.py b/src/auth0/management/types/create_flows_vault_connection_salesforce_oauth_code.py index 7f886a13..92f42b33 100644 --- a/src/auth0/management/types/create_flows_vault_connection_salesforce_oauth_code.py +++ b/src/auth0/management/types/create_flows_vault_connection_salesforce_oauth_code.py @@ -14,7 +14,7 @@ class CreateFlowsVaultConnectionSalesforceOauthCode(UniversalBaseModel): Flows Vault Connection name. """ - app_id: FlowsVaultConnectionAppIdSalesforceEnum = "SALESFORCE" + app_id: FlowsVaultConnectionAppIdSalesforceEnum setup: FlowsVaultConnectioSetupOauthCode if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/create_flows_vault_connection_salesforce_uninitialized.py b/src/auth0/management/types/create_flows_vault_connection_salesforce_uninitialized.py index a7781af2..4342b0e9 100644 --- a/src/auth0/management/types/create_flows_vault_connection_salesforce_uninitialized.py +++ b/src/auth0/management/types/create_flows_vault_connection_salesforce_uninitialized.py @@ -13,7 +13,7 @@ class CreateFlowsVaultConnectionSalesforceUninitialized(UniversalBaseModel): Flows Vault Connection name. """ - app_id: FlowsVaultConnectionAppIdSalesforceEnum = "SALESFORCE" + app_id: FlowsVaultConnectionAppIdSalesforceEnum if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/create_flows_vault_connection_sendgrid_api_key.py b/src/auth0/management/types/create_flows_vault_connection_sendgrid_api_key.py index 64278904..e8acd791 100644 --- a/src/auth0/management/types/create_flows_vault_connection_sendgrid_api_key.py +++ b/src/auth0/management/types/create_flows_vault_connection_sendgrid_api_key.py @@ -14,7 +14,7 @@ class CreateFlowsVaultConnectionSendgridApiKey(UniversalBaseModel): Flows Vault Connection name. """ - app_id: FlowsVaultConnectionAppIdSendgridEnum = "SENDGRID" + app_id: FlowsVaultConnectionAppIdSendgridEnum setup: FlowsVaultConnectioSetupApiKey if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/create_flows_vault_connection_sendgrid_uninitialized.py b/src/auth0/management/types/create_flows_vault_connection_sendgrid_uninitialized.py index 7783d36e..e3997c28 100644 --- a/src/auth0/management/types/create_flows_vault_connection_sendgrid_uninitialized.py +++ b/src/auth0/management/types/create_flows_vault_connection_sendgrid_uninitialized.py @@ -13,7 +13,7 @@ class CreateFlowsVaultConnectionSendgridUninitialized(UniversalBaseModel): Flows Vault Connection name. """ - app_id: FlowsVaultConnectionAppIdSendgridEnum = "SENDGRID" + app_id: FlowsVaultConnectionAppIdSendgridEnum if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/create_flows_vault_connection_slack_oauth_code.py b/src/auth0/management/types/create_flows_vault_connection_slack_oauth_code.py index c5b9ed47..6cfe8e96 100644 --- a/src/auth0/management/types/create_flows_vault_connection_slack_oauth_code.py +++ b/src/auth0/management/types/create_flows_vault_connection_slack_oauth_code.py @@ -14,7 +14,7 @@ class CreateFlowsVaultConnectionSlackOauthCode(UniversalBaseModel): Flows Vault Connection name. """ - app_id: FlowsVaultConnectionAppIdSlackEnum = "SLACK" + app_id: FlowsVaultConnectionAppIdSlackEnum setup: FlowsVaultConnectioSetupOauthCode if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/create_flows_vault_connection_slack_uninitialized.py b/src/auth0/management/types/create_flows_vault_connection_slack_uninitialized.py index 6bf6c185..8978780c 100644 --- a/src/auth0/management/types/create_flows_vault_connection_slack_uninitialized.py +++ b/src/auth0/management/types/create_flows_vault_connection_slack_uninitialized.py @@ -13,7 +13,7 @@ class CreateFlowsVaultConnectionSlackUninitialized(UniversalBaseModel): Flows Vault Connection name. """ - app_id: FlowsVaultConnectionAppIdSlackEnum = "SLACK" + app_id: FlowsVaultConnectionAppIdSlackEnum if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/create_flows_vault_connection_slack_webhook.py b/src/auth0/management/types/create_flows_vault_connection_slack_webhook.py index dd1a3c7d..bcc1a82a 100644 --- a/src/auth0/management/types/create_flows_vault_connection_slack_webhook.py +++ b/src/auth0/management/types/create_flows_vault_connection_slack_webhook.py @@ -14,7 +14,7 @@ class CreateFlowsVaultConnectionSlackWebhook(UniversalBaseModel): Flows Vault Connection name. """ - app_id: FlowsVaultConnectionAppIdSlackEnum = "SLACK" + app_id: FlowsVaultConnectionAppIdSlackEnum setup: FlowsVaultConnectioSetupWebhook if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/create_flows_vault_connection_stripe_key_pair.py b/src/auth0/management/types/create_flows_vault_connection_stripe_key_pair.py index ccdd6de6..454e9977 100644 --- a/src/auth0/management/types/create_flows_vault_connection_stripe_key_pair.py +++ b/src/auth0/management/types/create_flows_vault_connection_stripe_key_pair.py @@ -14,7 +14,7 @@ class CreateFlowsVaultConnectionStripeKeyPair(UniversalBaseModel): Flows Vault Connection name. """ - app_id: FlowsVaultConnectionAppIdStripeEnum = "STRIPE" + app_id: FlowsVaultConnectionAppIdStripeEnum setup: FlowsVaultConnectioSetupStripeKeyPair if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/create_flows_vault_connection_stripe_oauth_code.py b/src/auth0/management/types/create_flows_vault_connection_stripe_oauth_code.py index 85df25a3..74c650b6 100644 --- a/src/auth0/management/types/create_flows_vault_connection_stripe_oauth_code.py +++ b/src/auth0/management/types/create_flows_vault_connection_stripe_oauth_code.py @@ -14,7 +14,7 @@ class CreateFlowsVaultConnectionStripeOauthCode(UniversalBaseModel): Flows Vault Connection name. """ - app_id: FlowsVaultConnectionAppIdStripeEnum = "STRIPE" + app_id: FlowsVaultConnectionAppIdStripeEnum setup: FlowsVaultConnectioSetupOauthCode if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/create_flows_vault_connection_stripe_uninitialized.py b/src/auth0/management/types/create_flows_vault_connection_stripe_uninitialized.py index daae7785..629aa3b7 100644 --- a/src/auth0/management/types/create_flows_vault_connection_stripe_uninitialized.py +++ b/src/auth0/management/types/create_flows_vault_connection_stripe_uninitialized.py @@ -13,7 +13,7 @@ class CreateFlowsVaultConnectionStripeUninitialized(UniversalBaseModel): Flows Vault Connection name. """ - app_id: FlowsVaultConnectionAppIdStripeEnum = "STRIPE" + app_id: FlowsVaultConnectionAppIdStripeEnum if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/create_flows_vault_connection_telegram_token.py b/src/auth0/management/types/create_flows_vault_connection_telegram_token.py index a825cfde..51f250ca 100644 --- a/src/auth0/management/types/create_flows_vault_connection_telegram_token.py +++ b/src/auth0/management/types/create_flows_vault_connection_telegram_token.py @@ -14,7 +14,7 @@ class CreateFlowsVaultConnectionTelegramToken(UniversalBaseModel): Flows Vault Connection name. """ - app_id: FlowsVaultConnectionAppIdTelegramEnum = "TELEGRAM" + app_id: FlowsVaultConnectionAppIdTelegramEnum setup: FlowsVaultConnectioSetupToken if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/create_flows_vault_connection_telegram_uninitialized.py b/src/auth0/management/types/create_flows_vault_connection_telegram_uninitialized.py index ca7b49d7..9881209d 100644 --- a/src/auth0/management/types/create_flows_vault_connection_telegram_uninitialized.py +++ b/src/auth0/management/types/create_flows_vault_connection_telegram_uninitialized.py @@ -13,7 +13,7 @@ class CreateFlowsVaultConnectionTelegramUninitialized(UniversalBaseModel): Flows Vault Connection name. """ - app_id: FlowsVaultConnectionAppIdTelegramEnum = "TELEGRAM" + app_id: FlowsVaultConnectionAppIdTelegramEnum if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/create_flows_vault_connection_twilio_api_key.py b/src/auth0/management/types/create_flows_vault_connection_twilio_api_key.py index dd25ea76..ceb08b9b 100644 --- a/src/auth0/management/types/create_flows_vault_connection_twilio_api_key.py +++ b/src/auth0/management/types/create_flows_vault_connection_twilio_api_key.py @@ -14,7 +14,7 @@ class CreateFlowsVaultConnectionTwilioApiKey(UniversalBaseModel): Flows Vault Connection name. """ - app_id: FlowsVaultConnectionAppIdTwilioEnum = "TWILIO" + app_id: FlowsVaultConnectionAppIdTwilioEnum setup: FlowsVaultConnectioSetupTwilioApiKey if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/create_flows_vault_connection_twilio_uninitialized.py b/src/auth0/management/types/create_flows_vault_connection_twilio_uninitialized.py index fafa226b..9407f621 100644 --- a/src/auth0/management/types/create_flows_vault_connection_twilio_uninitialized.py +++ b/src/auth0/management/types/create_flows_vault_connection_twilio_uninitialized.py @@ -13,7 +13,7 @@ class CreateFlowsVaultConnectionTwilioUninitialized(UniversalBaseModel): Flows Vault Connection name. """ - app_id: FlowsVaultConnectionAppIdTwilioEnum = "TWILIO" + app_id: FlowsVaultConnectionAppIdTwilioEnum if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/create_flows_vault_connection_whatsapp_token.py b/src/auth0/management/types/create_flows_vault_connection_whatsapp_token.py index 0aea6cac..c615461e 100644 --- a/src/auth0/management/types/create_flows_vault_connection_whatsapp_token.py +++ b/src/auth0/management/types/create_flows_vault_connection_whatsapp_token.py @@ -14,7 +14,7 @@ class CreateFlowsVaultConnectionWhatsappToken(UniversalBaseModel): Flows Vault Connection name. """ - app_id: FlowsVaultConnectionAppIdWhatsappEnum = "WHATSAPP" + app_id: FlowsVaultConnectionAppIdWhatsappEnum setup: FlowsVaultConnectioSetupToken if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/create_flows_vault_connection_whatsapp_uninitialized.py b/src/auth0/management/types/create_flows_vault_connection_whatsapp_uninitialized.py index 448f1335..579bf865 100644 --- a/src/auth0/management/types/create_flows_vault_connection_whatsapp_uninitialized.py +++ b/src/auth0/management/types/create_flows_vault_connection_whatsapp_uninitialized.py @@ -13,7 +13,7 @@ class CreateFlowsVaultConnectionWhatsappUninitialized(UniversalBaseModel): Flows Vault Connection name. """ - app_id: FlowsVaultConnectionAppIdWhatsappEnum = "WHATSAPP" + app_id: FlowsVaultConnectionAppIdWhatsappEnum if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/create_flows_vault_connection_zapier_uninitialized.py b/src/auth0/management/types/create_flows_vault_connection_zapier_uninitialized.py index 96944a97..0ff47278 100644 --- a/src/auth0/management/types/create_flows_vault_connection_zapier_uninitialized.py +++ b/src/auth0/management/types/create_flows_vault_connection_zapier_uninitialized.py @@ -13,7 +13,7 @@ class CreateFlowsVaultConnectionZapierUninitialized(UniversalBaseModel): Flows Vault Connection name. """ - app_id: FlowsVaultConnectionAppIdZapierEnum = "ZAPIER" + app_id: FlowsVaultConnectionAppIdZapierEnum if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/create_flows_vault_connection_zapier_webhook.py b/src/auth0/management/types/create_flows_vault_connection_zapier_webhook.py index 7af989c5..c732e892 100644 --- a/src/auth0/management/types/create_flows_vault_connection_zapier_webhook.py +++ b/src/auth0/management/types/create_flows_vault_connection_zapier_webhook.py @@ -14,7 +14,7 @@ class CreateFlowsVaultConnectionZapierWebhook(UniversalBaseModel): Flows Vault Connection name. """ - app_id: FlowsVaultConnectionAppIdZapierEnum = "ZAPIER" + app_id: FlowsVaultConnectionAppIdZapierEnum setup: FlowsVaultConnectioSetupWebhook if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/create_hook_response_content.py b/src/auth0/management/types/create_hook_response_content.py index 783e16af..b1e835ba 100644 --- a/src/auth0/management/types/create_hook_response_content.py +++ b/src/auth0/management/types/create_hook_response_content.py @@ -11,7 +11,7 @@ class CreateHookResponseContent(UniversalBaseModel): trigger_id: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="triggerId")] = pydantic.Field( - default=None + alias="triggerId", default=None ) """ Trigger ID diff --git a/src/auth0/management/types/create_log_stream_datadog_request_body.py b/src/auth0/management/types/create_log_stream_datadog_request_body.py index bc27cb30..80cf123a 100644 --- a/src/auth0/management/types/create_log_stream_datadog_request_body.py +++ b/src/auth0/management/types/create_log_stream_datadog_request_body.py @@ -18,9 +18,9 @@ class CreateLogStreamDatadogRequestBody(UniversalBaseModel): log stream name """ - type: LogStreamDatadogEnum = "datadog" + type: LogStreamDatadogEnum is_priority: typing_extensions.Annotated[typing.Optional[bool], FieldMetadata(alias="isPriority")] = pydantic.Field( - default=None + alias="isPriority", default=None ) """ True for priority log streams, false for non-priority @@ -34,7 +34,7 @@ class CreateLogStreamDatadogRequestBody(UniversalBaseModel): pii_config: typing.Optional[LogStreamPiiConfig] = None sink: LogStreamDatadogSink start_from: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="startFrom")] = pydantic.Field( - default="2021-03-01T19:57:29.532Z" + alias="startFrom", default="2021-03-01T19:57:29.532Z" ) """ The optional datetime (ISO 8601) to start streaming logs from diff --git a/src/auth0/management/types/create_log_stream_event_bridge_request_body.py b/src/auth0/management/types/create_log_stream_event_bridge_request_body.py index 55d56b55..9f8b0c27 100644 --- a/src/auth0/management/types/create_log_stream_event_bridge_request_body.py +++ b/src/auth0/management/types/create_log_stream_event_bridge_request_body.py @@ -18,9 +18,9 @@ class CreateLogStreamEventBridgeRequestBody(UniversalBaseModel): log stream name """ - type: LogStreamEventBridgeEnum = "eventbridge" + type: LogStreamEventBridgeEnum is_priority: typing_extensions.Annotated[typing.Optional[bool], FieldMetadata(alias="isPriority")] = pydantic.Field( - default=None + alias="isPriority", default=None ) """ True for priority log streams, false for non-priority @@ -34,7 +34,7 @@ class CreateLogStreamEventBridgeRequestBody(UniversalBaseModel): pii_config: typing.Optional[LogStreamPiiConfig] = None sink: LogStreamEventBridgeSink start_from: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="startFrom")] = pydantic.Field( - default="2021-03-01T19:57:29.532Z" + alias="startFrom", default="2021-03-01T19:57:29.532Z" ) """ The optional datetime (ISO 8601) to start streaming logs from diff --git a/src/auth0/management/types/create_log_stream_event_grid_request_body.py b/src/auth0/management/types/create_log_stream_event_grid_request_body.py index 80af4a07..6c5c0ad5 100644 --- a/src/auth0/management/types/create_log_stream_event_grid_request_body.py +++ b/src/auth0/management/types/create_log_stream_event_grid_request_body.py @@ -18,9 +18,9 @@ class CreateLogStreamEventGridRequestBody(UniversalBaseModel): log stream name """ - type: LogStreamEventGridEnum = "eventgrid" + type: LogStreamEventGridEnum is_priority: typing_extensions.Annotated[typing.Optional[bool], FieldMetadata(alias="isPriority")] = pydantic.Field( - default=None + alias="isPriority", default=None ) """ True for priority log streams, false for non-priority @@ -34,7 +34,7 @@ class CreateLogStreamEventGridRequestBody(UniversalBaseModel): pii_config: typing.Optional[LogStreamPiiConfig] = None sink: LogStreamEventGridSink start_from: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="startFrom")] = pydantic.Field( - default="2021-03-01T19:57:29.532Z" + alias="startFrom", default="2021-03-01T19:57:29.532Z" ) """ The optional datetime (ISO 8601) to start streaming logs from diff --git a/src/auth0/management/types/create_log_stream_http_request_body.py b/src/auth0/management/types/create_log_stream_http_request_body.py index d1c89109..e49e50f2 100644 --- a/src/auth0/management/types/create_log_stream_http_request_body.py +++ b/src/auth0/management/types/create_log_stream_http_request_body.py @@ -18,9 +18,9 @@ class CreateLogStreamHttpRequestBody(UniversalBaseModel): log stream name """ - type: LogStreamHttpEnum = "http" + type: LogStreamHttpEnum is_priority: typing_extensions.Annotated[typing.Optional[bool], FieldMetadata(alias="isPriority")] = pydantic.Field( - default=None + alias="isPriority", default=None ) """ True for priority log streams, false for non-priority @@ -34,7 +34,7 @@ class CreateLogStreamHttpRequestBody(UniversalBaseModel): pii_config: typing.Optional[LogStreamPiiConfig] = None sink: LogStreamHttpSink start_from: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="startFrom")] = pydantic.Field( - default="2021-03-01T19:57:29.532Z" + alias="startFrom", default="2021-03-01T19:57:29.532Z" ) """ The optional datetime (ISO 8601) to start streaming logs from diff --git a/src/auth0/management/types/create_log_stream_mixpanel_request_body.py b/src/auth0/management/types/create_log_stream_mixpanel_request_body.py index c45607b0..c62c5b45 100644 --- a/src/auth0/management/types/create_log_stream_mixpanel_request_body.py +++ b/src/auth0/management/types/create_log_stream_mixpanel_request_body.py @@ -18,9 +18,9 @@ class CreateLogStreamMixpanelRequestBody(UniversalBaseModel): log stream name """ - type: LogStreamMixpanelEnum = "mixpanel" + type: LogStreamMixpanelEnum is_priority: typing_extensions.Annotated[typing.Optional[bool], FieldMetadata(alias="isPriority")] = pydantic.Field( - default=None + alias="isPriority", default=None ) """ True for priority log streams, false for non-priority @@ -34,7 +34,7 @@ class CreateLogStreamMixpanelRequestBody(UniversalBaseModel): pii_config: typing.Optional[LogStreamPiiConfig] = None sink: LogStreamMixpanelSink start_from: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="startFrom")] = pydantic.Field( - default="2021-03-01T19:57:29.532Z" + alias="startFrom", default="2021-03-01T19:57:29.532Z" ) """ The optional datetime (ISO 8601) to start streaming logs from diff --git a/src/auth0/management/types/create_log_stream_segment_request_body.py b/src/auth0/management/types/create_log_stream_segment_request_body.py index a61a7c56..36f99f07 100644 --- a/src/auth0/management/types/create_log_stream_segment_request_body.py +++ b/src/auth0/management/types/create_log_stream_segment_request_body.py @@ -18,9 +18,9 @@ class CreateLogStreamSegmentRequestBody(UniversalBaseModel): log stream name """ - type: LogStreamSegmentEnum = "segment" + type: LogStreamSegmentEnum is_priority: typing_extensions.Annotated[typing.Optional[bool], FieldMetadata(alias="isPriority")] = pydantic.Field( - default=None + alias="isPriority", default=None ) """ True for priority log streams, false for non-priority @@ -34,7 +34,7 @@ class CreateLogStreamSegmentRequestBody(UniversalBaseModel): pii_config: typing.Optional[LogStreamPiiConfig] = None sink: LogStreamSegmentSinkWriteKey start_from: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="startFrom")] = pydantic.Field( - default="2021-03-01T19:57:29.532Z" + alias="startFrom", default="2021-03-01T19:57:29.532Z" ) """ The optional datetime (ISO 8601) to start streaming logs from diff --git a/src/auth0/management/types/create_log_stream_splunk_request_body.py b/src/auth0/management/types/create_log_stream_splunk_request_body.py index 9ecf5a35..414cc3c0 100644 --- a/src/auth0/management/types/create_log_stream_splunk_request_body.py +++ b/src/auth0/management/types/create_log_stream_splunk_request_body.py @@ -18,9 +18,9 @@ class CreateLogStreamSplunkRequestBody(UniversalBaseModel): log stream name """ - type: LogStreamSplunkEnum = "splunk" + type: LogStreamSplunkEnum is_priority: typing_extensions.Annotated[typing.Optional[bool], FieldMetadata(alias="isPriority")] = pydantic.Field( - default=None + alias="isPriority", default=None ) """ True for priority log streams, false for non-priority @@ -34,7 +34,7 @@ class CreateLogStreamSplunkRequestBody(UniversalBaseModel): pii_config: typing.Optional[LogStreamPiiConfig] = None sink: LogStreamSplunkSink start_from: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="startFrom")] = pydantic.Field( - default="2021-03-01T19:57:29.532Z" + alias="startFrom", default="2021-03-01T19:57:29.532Z" ) """ The optional datetime (ISO 8601) to start streaming logs from diff --git a/src/auth0/management/types/create_log_stream_sumo_request_body.py b/src/auth0/management/types/create_log_stream_sumo_request_body.py index dd95b249..bddd16c3 100644 --- a/src/auth0/management/types/create_log_stream_sumo_request_body.py +++ b/src/auth0/management/types/create_log_stream_sumo_request_body.py @@ -18,9 +18,9 @@ class CreateLogStreamSumoRequestBody(UniversalBaseModel): log stream name """ - type: LogStreamSumoEnum = "sumo" + type: LogStreamSumoEnum is_priority: typing_extensions.Annotated[typing.Optional[bool], FieldMetadata(alias="isPriority")] = pydantic.Field( - default=None + alias="isPriority", default=None ) """ True for priority log streams, false for non-priority @@ -34,7 +34,7 @@ class CreateLogStreamSumoRequestBody(UniversalBaseModel): pii_config: typing.Optional[LogStreamPiiConfig] = None sink: LogStreamSumoSink start_from: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="startFrom")] = pydantic.Field( - default="2021-03-01T19:57:29.532Z" + alias="startFrom", default="2021-03-01T19:57:29.532Z" ) """ The optional datetime (ISO 8601) to start streaming logs from diff --git a/src/auth0/management/types/create_organization_discovery_domain_response_content.py b/src/auth0/management/types/create_organization_discovery_domain_response_content.py index c14fdffe..50567e71 100644 --- a/src/auth0/management/types/create_organization_discovery_domain_response_content.py +++ b/src/auth0/management/types/create_organization_discovery_domain_response_content.py @@ -19,6 +19,11 @@ class CreateOrganizationDiscoveryDomainResponseContent(UniversalBaseModel): """ status: OrganizationDiscoveryDomainStatus + use_for_organization_discovery: typing.Optional[bool] = pydantic.Field(default=None) + """ + Indicates whether this domain should be used for organization discovery. + """ + verification_txt: str = pydantic.Field() """ A unique token generated for the discovery domain. This must be placed in a DNS TXT record at the location specified by the verification_host field to prove domain ownership. diff --git a/src/auth0/management/types/custom_domain.py b/src/auth0/management/types/custom_domain.py index bf7c67b3..08ab3ebd 100644 --- a/src/auth0/management/types/custom_domain.py +++ b/src/auth0/management/types/custom_domain.py @@ -27,6 +27,11 @@ class CustomDomain(UniversalBaseModel): Whether this is a primary domain (true) or not (false). """ + is_default: typing.Optional[bool] = pydantic.Field(default=False) + """ + Whether this is the default custom domain (true) or not (false). + """ + status: CustomDomainStatusFilterEnum type: CustomDomainTypeEnum origin_domain_name: typing.Optional[str] = pydantic.Field( @@ -49,6 +54,10 @@ class CustomDomain(UniversalBaseModel): domain_metadata: typing.Optional[DomainMetadata] = None certificate: typing.Optional[DomainCertificate] = None + relying_party_identifier: typing.Optional[str] = pydantic.Field(default=None) + """ + Relying Party ID (rpId) to be used for Passkeys on this custom domain. If not present, the full domain will be used. + """ if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/custom_domain_tls_policy_enum.py b/src/auth0/management/types/custom_domain_tls_policy_enum.py index 7028f502..6e5d06f3 100644 --- a/src/auth0/management/types/custom_domain_tls_policy_enum.py +++ b/src/auth0/management/types/custom_domain_tls_policy_enum.py @@ -2,4 +2,4 @@ import typing -CustomDomainTlsPolicyEnum = typing.Literal["recommended"] +CustomDomainTlsPolicyEnum = typing.Union[typing.Literal["recommended"], typing.Any] diff --git a/src/auth0/management/types/custom_domain_verification_method_enum.py b/src/auth0/management/types/custom_domain_verification_method_enum.py index ea189c44..3e375799 100644 --- a/src/auth0/management/types/custom_domain_verification_method_enum.py +++ b/src/auth0/management/types/custom_domain_verification_method_enum.py @@ -2,4 +2,4 @@ import typing -CustomDomainVerificationMethodEnum = typing.Literal["txt"] +CustomDomainVerificationMethodEnum = typing.Union[typing.Literal["txt"], typing.Any] diff --git a/src/auth0/management/types/custom_signing_key_jwk.py b/src/auth0/management/types/custom_signing_key_jwk.py index 96405f3a..eeb2ae37 100644 --- a/src/auth0/management/types/custom_signing_key_jwk.py +++ b/src/auth0/management/types/custom_signing_key_jwk.py @@ -52,25 +52,29 @@ class CustomSigningKeyJwk(UniversalBaseModel): Y coordinate """ - x_5_u: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="x5u")] = pydantic.Field(default=None) + x_5_u: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="x5u")] = pydantic.Field( + alias="x5u", default=None + ) """ X.509 URL """ x_5_c: typing_extensions.Annotated[typing.Optional[typing.List[str]], FieldMetadata(alias="x5c")] = pydantic.Field( - default=None + alias="x5c", default=None ) """ X.509 certificate chain """ - x_5_t: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="x5t")] = pydantic.Field(default=None) + x_5_t: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="x5t")] = pydantic.Field( + alias="x5t", default=None + ) """ X.509 certificate SHA-1 thumbprint """ x_5_t_s_256: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="x5t#S256")] = pydantic.Field( - default=None + alias="x5t#S256", default=None ) """ X.509 certificate SHA-256 thumbprint diff --git a/src/auth0/management/types/custom_signing_key_operation_enum.py b/src/auth0/management/types/custom_signing_key_operation_enum.py index 52a870e3..cce445c7 100644 --- a/src/auth0/management/types/custom_signing_key_operation_enum.py +++ b/src/auth0/management/types/custom_signing_key_operation_enum.py @@ -2,4 +2,4 @@ import typing -CustomSigningKeyOperationEnum = typing.Literal["verify"] +CustomSigningKeyOperationEnum = typing.Union[typing.Literal["verify"], typing.Any] diff --git a/src/auth0/management/types/custom_signing_key_use_enum.py b/src/auth0/management/types/custom_signing_key_use_enum.py index 1dd23fdb..33c8f926 100644 --- a/src/auth0/management/types/custom_signing_key_use_enum.py +++ b/src/auth0/management/types/custom_signing_key_use_enum.py @@ -2,4 +2,4 @@ import typing -CustomSigningKeyUseEnum = typing.Literal["sig"] +CustomSigningKeyUseEnum = typing.Union[typing.Literal["sig"], typing.Any] diff --git a/src/auth0/management/types/default_method_email_identifier_enum.py b/src/auth0/management/types/default_method_email_identifier_enum.py new file mode 100644 index 00000000..27dc8ba2 --- /dev/null +++ b/src/auth0/management/types/default_method_email_identifier_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +DefaultMethodEmailIdentifierEnum = typing.Union[typing.Literal["password", "email_otp"], typing.Any] diff --git a/src/auth0/management/types/delete_user_identity_response_content_item.py b/src/auth0/management/types/delete_user_identity_response_content_item.py index 51e86288..7d704d48 100644 --- a/src/auth0/management/types/delete_user_identity_response_content_item.py +++ b/src/auth0/management/types/delete_user_identity_response_content_item.py @@ -26,7 +26,7 @@ class DeleteUserIdentityResponseContentItem(UniversalBaseModel): """ is_social: typing_extensions.Annotated[typing.Optional[bool], FieldMetadata(alias="isSocial")] = pydantic.Field( - default=None + alias="isSocial", default=None ) """ true if the identity provider is a social provider, falses otherwise @@ -48,7 +48,7 @@ class DeleteUserIdentityResponseContentItem(UniversalBaseModel): """ profile_data: typing_extensions.Annotated[typing.Optional[UserProfileData], FieldMetadata(alias="profileData")] = ( - None + pydantic.Field(alias="profileData", default=None) ) if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/deploy_action_response_content.py b/src/auth0/management/types/deploy_action_response_content.py index 48880a25..8e0983bd 100644 --- a/src/auth0/management/types/deploy_action_response_content.py +++ b/src/auth0/management/types/deploy_action_response_content.py @@ -7,6 +7,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel from .action_base import ActionBase from .action_error import ActionError +from .action_module_reference import ActionModuleReference from .action_secret_response import ActionSecretResponse from .action_trigger import ActionTrigger from .action_version_build_status_enum import ActionVersionBuildStatusEnum @@ -81,6 +82,11 @@ class DeployActionResponseContent(UniversalBaseModel): The list of triggers that this version supports. At this time, a version can only target a single trigger at a time. """ + modules: typing.Optional[typing.List[ActionModuleReference]] = pydantic.Field(default=None) + """ + The list of action modules and their versions used by this action version. + """ + if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 else: diff --git a/src/auth0/management/types/deploy_action_version_response_content.py b/src/auth0/management/types/deploy_action_version_response_content.py index fed78f4e..4737f16f 100644 --- a/src/auth0/management/types/deploy_action_version_response_content.py +++ b/src/auth0/management/types/deploy_action_version_response_content.py @@ -7,6 +7,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel from .action_base import ActionBase from .action_error import ActionError +from .action_module_reference import ActionModuleReference from .action_secret_response import ActionSecretResponse from .action_trigger import ActionTrigger from .action_version_build_status_enum import ActionVersionBuildStatusEnum @@ -81,6 +82,11 @@ class DeployActionVersionResponseContent(UniversalBaseModel): The list of triggers that this version supports. At this time, a version can only target a single trigger at a time. """ + modules: typing.Optional[typing.List[ActionModuleReference]] = pydantic.Field(default=None) + """ + The list of action modules and their versions used by this action version. + """ + if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 else: diff --git a/src/auth0/management/types/device_credential_public_key_type_enum.py b/src/auth0/management/types/device_credential_public_key_type_enum.py index 541ffb87..2c8feda3 100644 --- a/src/auth0/management/types/device_credential_public_key_type_enum.py +++ b/src/auth0/management/types/device_credential_public_key_type_enum.py @@ -2,4 +2,4 @@ import typing -DeviceCredentialPublicKeyTypeEnum = typing.Literal["public_key"] +DeviceCredentialPublicKeyTypeEnum = typing.Union[typing.Literal["public_key"], typing.Any] diff --git a/src/auth0/management/types/directory_provisioning.py b/src/auth0/management/types/directory_provisioning.py new file mode 100644 index 00000000..135065bf --- /dev/null +++ b/src/auth0/management/types/directory_provisioning.py @@ -0,0 +1,69 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .directory_provisioning_mapping_item import DirectoryProvisioningMappingItem + + +class DirectoryProvisioning(UniversalBaseModel): + connection_id: str = pydantic.Field() + """ + The connection's identifier + """ + + connection_name: str = pydantic.Field() + """ + The connection's name + """ + + strategy: str = pydantic.Field() + """ + The connection's strategy + """ + + mapping: typing.List[DirectoryProvisioningMappingItem] = pydantic.Field() + """ + The mapping between Auth0 and IDP user attributes + """ + + synchronize_automatically: bool = pydantic.Field() + """ + Whether periodic automatic synchronization is enabled + """ + + created_at: dt.datetime = pydantic.Field() + """ + The timestamp at which the directory provisioning configuration was created + """ + + updated_at: dt.datetime = pydantic.Field() + """ + The timestamp at which the directory provisioning configuration was last updated + """ + + last_synchronization_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + The timestamp at which the connection was last synchronized + """ + + last_synchronization_status: typing.Optional[str] = pydantic.Field(default=None) + """ + The status of the last synchronization + """ + + last_synchronization_error: typing.Optional[str] = pydantic.Field(default=None) + """ + The error message of the last synchronization, if any + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/directory_provisioning_mapping_item.py b/src/auth0/management/types/directory_provisioning_mapping_item.py index 96f9a8db..9f76cd99 100644 --- a/src/auth0/management/types/directory_provisioning_mapping_item.py +++ b/src/auth0/management/types/directory_provisioning_mapping_item.py @@ -9,7 +9,7 @@ class DirectoryProvisioningMappingItem(UniversalBaseModel): - auth_0: typing_extensions.Annotated[str, FieldMetadata(alias="auth0")] = pydantic.Field() + auth_0: typing_extensions.Annotated[str, FieldMetadata(alias="auth0")] = pydantic.Field(alias="auth0") """ The field location in the Auth0 schema """ diff --git a/src/auth0/management/types/email_mailgun_region_enum.py b/src/auth0/management/types/email_mailgun_region_enum.py index d86f0e8a..dd273b2e 100644 --- a/src/auth0/management/types/email_mailgun_region_enum.py +++ b/src/auth0/management/types/email_mailgun_region_enum.py @@ -2,4 +2,4 @@ import typing -EmailMailgunRegionEnum = typing.Literal["eu"] +EmailMailgunRegionEnum = typing.Union[typing.Literal["eu"], typing.Any] diff --git a/src/auth0/management/types/email_provider_credentials_schema_access_key_id.py b/src/auth0/management/types/email_provider_credentials_schema_access_key_id.py index ba9d7fa6..041edbe8 100644 --- a/src/auth0/management/types/email_provider_credentials_schema_access_key_id.py +++ b/src/auth0/management/types/email_provider_credentials_schema_access_key_id.py @@ -10,14 +10,14 @@ class EmailProviderCredentialsSchemaAccessKeyId(UniversalBaseModel): access_key_id: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="accessKeyId")] = ( - pydantic.Field(default=None) + pydantic.Field(alias="accessKeyId", default=None) ) """ AWS Access Key ID. """ secret_access_key: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="secretAccessKey")] = ( - pydantic.Field(default=None) + pydantic.Field(alias="secretAccessKey", default=None) ) """ AWS Secret Access Key. diff --git a/src/auth0/management/types/email_provider_credentials_schema_client_id.py b/src/auth0/management/types/email_provider_credentials_schema_client_id.py index 15ad1373..dbc82802 100644 --- a/src/auth0/management/types/email_provider_credentials_schema_client_id.py +++ b/src/auth0/management/types/email_provider_credentials_schema_client_id.py @@ -10,21 +10,21 @@ class EmailProviderCredentialsSchemaClientId(UniversalBaseModel): tenant_id: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="tenantId")] = pydantic.Field( - default=None + alias="tenantId", default=None ) """ Microsoft 365 Tenant ID. """ client_id: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="clientId")] = pydantic.Field( - default=None + alias="clientId", default=None ) """ Microsoft 365 Client ID. """ client_secret: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="clientSecret")] = ( - pydantic.Field(default=None) + pydantic.Field(alias="clientSecret", default=None) ) """ Microsoft 365 Client Secret. diff --git a/src/auth0/management/types/email_provider_credentials_schema_connection_string.py b/src/auth0/management/types/email_provider_credentials_schema_connection_string.py index aaaa6d85..8f444a32 100644 --- a/src/auth0/management/types/email_provider_credentials_schema_connection_string.py +++ b/src/auth0/management/types/email_provider_credentials_schema_connection_string.py @@ -10,7 +10,7 @@ class EmailProviderCredentialsSchemaConnectionString(UniversalBaseModel): connection_string: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="connectionString")] = ( - pydantic.Field(default=None) + pydantic.Field(alias="connectionString", default=None) ) """ Azure Communication Services Connection String. diff --git a/src/auth0/management/types/email_spark_post_region_enum.py b/src/auth0/management/types/email_spark_post_region_enum.py index 04b3cb10..c282e0ef 100644 --- a/src/auth0/management/types/email_spark_post_region_enum.py +++ b/src/auth0/management/types/email_spark_post_region_enum.py @@ -2,4 +2,4 @@ import typing -EmailSparkPostRegionEnum = typing.Literal["eu"] +EmailSparkPostRegionEnum = typing.Union[typing.Literal["eu"], typing.Any] diff --git a/src/auth0/management/types/encryption_key_public_wrapping_algorithm.py b/src/auth0/management/types/encryption_key_public_wrapping_algorithm.py index 02cdaee5..9f97b631 100644 --- a/src/auth0/management/types/encryption_key_public_wrapping_algorithm.py +++ b/src/auth0/management/types/encryption_key_public_wrapping_algorithm.py @@ -2,4 +2,4 @@ import typing -EncryptionKeyPublicWrappingAlgorithm = typing.Literal["CKM_RSA_AES_KEY_WRAP"] +EncryptionKeyPublicWrappingAlgorithm = typing.Union[typing.Literal["CKM_RSA_AES_KEY_WRAP"], typing.Any] diff --git a/src/auth0/management/types/event_stream_action_destination.py b/src/auth0/management/types/event_stream_action_destination.py index 2d9c6185..4a464d8a 100644 --- a/src/auth0/management/types/event_stream_action_destination.py +++ b/src/auth0/management/types/event_stream_action_destination.py @@ -9,7 +9,7 @@ class EventStreamActionDestination(UniversalBaseModel): - type: EventStreamActionDestinationTypeEnum = "action" + type: EventStreamActionDestinationTypeEnum configuration: EventStreamActionConfiguration if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/event_stream_action_destination_type_enum.py b/src/auth0/management/types/event_stream_action_destination_type_enum.py index c071cb0c..ed07d9b2 100644 --- a/src/auth0/management/types/event_stream_action_destination_type_enum.py +++ b/src/auth0/management/types/event_stream_action_destination_type_enum.py @@ -2,4 +2,4 @@ import typing -EventStreamActionDestinationTypeEnum = typing.Literal["action"] +EventStreamActionDestinationTypeEnum = typing.Union[typing.Literal["action"], typing.Any] diff --git a/src/auth0/management/types/event_stream_delivery.py b/src/auth0/management/types/event_stream_delivery.py index 8278f786..0639bb58 100644 --- a/src/auth0/management/types/event_stream_delivery.py +++ b/src/auth0/management/types/event_stream_delivery.py @@ -25,7 +25,7 @@ class EventStreamDelivery(UniversalBaseModel): Unique identifier for the event stream. """ - status: EventStreamDeliveryStatusEnum = "failed" + status: EventStreamDeliveryStatusEnum event_type: EventStreamDeliveryEventTypeEnum attempts: typing.List[EventStreamDeliveryAttempt] = pydantic.Field() """ diff --git a/src/auth0/management/types/event_stream_delivery_attempt.py b/src/auth0/management/types/event_stream_delivery_attempt.py index eca4d752..ba41caf0 100644 --- a/src/auth0/management/types/event_stream_delivery_attempt.py +++ b/src/auth0/management/types/event_stream_delivery_attempt.py @@ -9,7 +9,7 @@ class EventStreamDeliveryAttempt(UniversalBaseModel): - status: EventStreamDeliveryStatusEnum = "failed" + status: EventStreamDeliveryStatusEnum timestamp: dt.datetime = pydantic.Field() """ Timestamp of delivery attempt diff --git a/src/auth0/management/types/event_stream_delivery_status_enum.py b/src/auth0/management/types/event_stream_delivery_status_enum.py index e846b80b..8376f778 100644 --- a/src/auth0/management/types/event_stream_delivery_status_enum.py +++ b/src/auth0/management/types/event_stream_delivery_status_enum.py @@ -2,4 +2,4 @@ import typing -EventStreamDeliveryStatusEnum = typing.Literal["failed"] +EventStreamDeliveryStatusEnum = typing.Union[typing.Literal["failed"], typing.Any] diff --git a/src/auth0/management/types/event_stream_event_bridge_destination.py b/src/auth0/management/types/event_stream_event_bridge_destination.py index 5a0fd2d7..8ce299f8 100644 --- a/src/auth0/management/types/event_stream_event_bridge_destination.py +++ b/src/auth0/management/types/event_stream_event_bridge_destination.py @@ -9,7 +9,7 @@ class EventStreamEventBridgeDestination(UniversalBaseModel): - type: EventStreamEventBridgeDestinationTypeEnum = "eventbridge" + type: EventStreamEventBridgeDestinationTypeEnum configuration: EventStreamEventBridgeConfiguration if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/event_stream_event_bridge_destination_type_enum.py b/src/auth0/management/types/event_stream_event_bridge_destination_type_enum.py index ab21d82a..6ec37fbc 100644 --- a/src/auth0/management/types/event_stream_event_bridge_destination_type_enum.py +++ b/src/auth0/management/types/event_stream_event_bridge_destination_type_enum.py @@ -2,4 +2,4 @@ import typing -EventStreamEventBridgeDestinationTypeEnum = typing.Literal["eventbridge"] +EventStreamEventBridgeDestinationTypeEnum = typing.Union[typing.Literal["eventbridge"], typing.Any] diff --git a/src/auth0/management/types/event_stream_webhook_basic_auth.py b/src/auth0/management/types/event_stream_webhook_basic_auth.py index 4e4d6a62..3dfbdd62 100644 --- a/src/auth0/management/types/event_stream_webhook_basic_auth.py +++ b/src/auth0/management/types/event_stream_webhook_basic_auth.py @@ -12,7 +12,7 @@ class EventStreamWebhookBasicAuth(UniversalBaseModel): Basic Authorization for HTTP requests (e.g., 'Basic credentials'). """ - method: EventStreamWebhookBasicAuthMethodEnum = "basic" + method: EventStreamWebhookBasicAuthMethodEnum username: str = pydantic.Field() """ Username diff --git a/src/auth0/management/types/event_stream_webhook_basic_auth_method_enum.py b/src/auth0/management/types/event_stream_webhook_basic_auth_method_enum.py index 22f8b115..73681477 100644 --- a/src/auth0/management/types/event_stream_webhook_basic_auth_method_enum.py +++ b/src/auth0/management/types/event_stream_webhook_basic_auth_method_enum.py @@ -2,4 +2,4 @@ import typing -EventStreamWebhookBasicAuthMethodEnum = typing.Literal["basic"] +EventStreamWebhookBasicAuthMethodEnum = typing.Union[typing.Literal["basic"], typing.Any] diff --git a/src/auth0/management/types/event_stream_webhook_bearer_auth.py b/src/auth0/management/types/event_stream_webhook_bearer_auth.py index 44a29ddf..6ac9779a 100644 --- a/src/auth0/management/types/event_stream_webhook_bearer_auth.py +++ b/src/auth0/management/types/event_stream_webhook_bearer_auth.py @@ -12,7 +12,7 @@ class EventStreamWebhookBearerAuth(UniversalBaseModel): Bearer Authorization for HTTP requests (e.g., 'Bearer token'). """ - method: EventStreamWebhookBearerAuthMethodEnum = "bearer" + method: EventStreamWebhookBearerAuthMethodEnum if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/event_stream_webhook_bearer_auth_method_enum.py b/src/auth0/management/types/event_stream_webhook_bearer_auth_method_enum.py index 8e68ec41..34addf4e 100644 --- a/src/auth0/management/types/event_stream_webhook_bearer_auth_method_enum.py +++ b/src/auth0/management/types/event_stream_webhook_bearer_auth_method_enum.py @@ -2,4 +2,4 @@ import typing -EventStreamWebhookBearerAuthMethodEnum = typing.Literal["bearer"] +EventStreamWebhookBearerAuthMethodEnum = typing.Union[typing.Literal["bearer"], typing.Any] diff --git a/src/auth0/management/types/event_stream_webhook_destination.py b/src/auth0/management/types/event_stream_webhook_destination.py index 50832335..6b3449de 100644 --- a/src/auth0/management/types/event_stream_webhook_destination.py +++ b/src/auth0/management/types/event_stream_webhook_destination.py @@ -9,7 +9,7 @@ class EventStreamWebhookDestination(UniversalBaseModel): - type: EventStreamWebhookDestinationTypeEnum = "webhook" + type: EventStreamWebhookDestinationTypeEnum configuration: EventStreamWebhookConfiguration if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/event_stream_webhook_destination_type_enum.py b/src/auth0/management/types/event_stream_webhook_destination_type_enum.py index 2cd5ccb8..43b976ae 100644 --- a/src/auth0/management/types/event_stream_webhook_destination_type_enum.py +++ b/src/auth0/management/types/event_stream_webhook_destination_type_enum.py @@ -2,4 +2,4 @@ import typing -EventStreamWebhookDestinationTypeEnum = typing.Literal["webhook"] +EventStreamWebhookDestinationTypeEnum = typing.Union[typing.Literal["webhook"], typing.Any] diff --git a/src/auth0/management/types/flow_action_activecampaign_list_contacts.py b/src/auth0/management/types/flow_action_activecampaign_list_contacts.py index 9f9b4759..9608e0ac 100644 --- a/src/auth0/management/types/flow_action_activecampaign_list_contacts.py +++ b/src/auth0/management/types/flow_action_activecampaign_list_contacts.py @@ -4,14 +4,16 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .flow_action_activecampaign_list_contacts_action import FlowActionActivecampaignListContactsAction from .flow_action_activecampaign_list_contacts_params import FlowActionActivecampaignListContactsParams +from .flow_action_activecampaign_list_contacts_type import FlowActionActivecampaignListContactsType class FlowActionActivecampaignListContacts(UniversalBaseModel): id: str alias: typing.Optional[str] = None - type: typing.Literal["ACTIVECAMPAIGN"] = "ACTIVECAMPAIGN" - action: typing.Literal["LIST_CONTACTS"] = "LIST_CONTACTS" + type: FlowActionActivecampaignListContactsType + action: FlowActionActivecampaignListContactsAction allow_failure: typing.Optional[bool] = None mask_output: typing.Optional[bool] = None params: FlowActionActivecampaignListContactsParams diff --git a/src/auth0/management/types/flow_action_activecampaign_list_contacts_action.py b/src/auth0/management/types/flow_action_activecampaign_list_contacts_action.py new file mode 100644 index 00000000..2c72a039 --- /dev/null +++ b/src/auth0/management/types/flow_action_activecampaign_list_contacts_action.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionActivecampaignListContactsAction = typing.Union[typing.Literal["LIST_CONTACTS"], typing.Any] diff --git a/src/auth0/management/types/flow_action_activecampaign_list_contacts_type.py b/src/auth0/management/types/flow_action_activecampaign_list_contacts_type.py new file mode 100644 index 00000000..812baeed --- /dev/null +++ b/src/auth0/management/types/flow_action_activecampaign_list_contacts_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionActivecampaignListContactsType = typing.Union[typing.Literal["ACTIVECAMPAIGN"], typing.Any] diff --git a/src/auth0/management/types/flow_action_activecampaign_upsert_contact.py b/src/auth0/management/types/flow_action_activecampaign_upsert_contact.py index f3a428e0..42a3c927 100644 --- a/src/auth0/management/types/flow_action_activecampaign_upsert_contact.py +++ b/src/auth0/management/types/flow_action_activecampaign_upsert_contact.py @@ -4,14 +4,16 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .flow_action_activecampaign_upsert_contact_action import FlowActionActivecampaignUpsertContactAction from .flow_action_activecampaign_upsert_contact_params import FlowActionActivecampaignUpsertContactParams +from .flow_action_activecampaign_upsert_contact_type import FlowActionActivecampaignUpsertContactType class FlowActionActivecampaignUpsertContact(UniversalBaseModel): id: str alias: typing.Optional[str] = None - type: typing.Literal["ACTIVECAMPAIGN"] = "ACTIVECAMPAIGN" - action: typing.Literal["UPSERT_CONTACT"] = "UPSERT_CONTACT" + type: FlowActionActivecampaignUpsertContactType + action: FlowActionActivecampaignUpsertContactAction allow_failure: typing.Optional[bool] = None mask_output: typing.Optional[bool] = None params: FlowActionActivecampaignUpsertContactParams diff --git a/src/auth0/management/types/flow_action_activecampaign_upsert_contact_action.py b/src/auth0/management/types/flow_action_activecampaign_upsert_contact_action.py new file mode 100644 index 00000000..074d25fc --- /dev/null +++ b/src/auth0/management/types/flow_action_activecampaign_upsert_contact_action.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionActivecampaignUpsertContactAction = typing.Union[typing.Literal["UPSERT_CONTACT"], typing.Any] diff --git a/src/auth0/management/types/flow_action_activecampaign_upsert_contact_type.py b/src/auth0/management/types/flow_action_activecampaign_upsert_contact_type.py new file mode 100644 index 00000000..12542c60 --- /dev/null +++ b/src/auth0/management/types/flow_action_activecampaign_upsert_contact_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionActivecampaignUpsertContactType = typing.Union[typing.Literal["ACTIVECAMPAIGN"], typing.Any] diff --git a/src/auth0/management/types/flow_action_airtable_create_record.py b/src/auth0/management/types/flow_action_airtable_create_record.py index 06ec6b06..10752678 100644 --- a/src/auth0/management/types/flow_action_airtable_create_record.py +++ b/src/auth0/management/types/flow_action_airtable_create_record.py @@ -4,14 +4,16 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .flow_action_airtable_create_record_action import FlowActionAirtableCreateRecordAction from .flow_action_airtable_create_record_params import FlowActionAirtableCreateRecordParams +from .flow_action_airtable_create_record_type import FlowActionAirtableCreateRecordType class FlowActionAirtableCreateRecord(UniversalBaseModel): id: str alias: typing.Optional[str] = None - type: typing.Literal["AIRTABLE"] = "AIRTABLE" - action: typing.Literal["CREATE_RECORD"] = "CREATE_RECORD" + type: FlowActionAirtableCreateRecordType + action: FlowActionAirtableCreateRecordAction allow_failure: typing.Optional[bool] = None mask_output: typing.Optional[bool] = None params: FlowActionAirtableCreateRecordParams diff --git a/src/auth0/management/types/flow_action_airtable_create_record_action.py b/src/auth0/management/types/flow_action_airtable_create_record_action.py new file mode 100644 index 00000000..98c758a8 --- /dev/null +++ b/src/auth0/management/types/flow_action_airtable_create_record_action.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionAirtableCreateRecordAction = typing.Union[typing.Literal["CREATE_RECORD"], typing.Any] diff --git a/src/auth0/management/types/flow_action_airtable_create_record_type.py b/src/auth0/management/types/flow_action_airtable_create_record_type.py new file mode 100644 index 00000000..6ec6c7df --- /dev/null +++ b/src/auth0/management/types/flow_action_airtable_create_record_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionAirtableCreateRecordType = typing.Union[typing.Literal["AIRTABLE"], typing.Any] diff --git a/src/auth0/management/types/flow_action_airtable_list_records.py b/src/auth0/management/types/flow_action_airtable_list_records.py index d1bf388d..78e6e7e4 100644 --- a/src/auth0/management/types/flow_action_airtable_list_records.py +++ b/src/auth0/management/types/flow_action_airtable_list_records.py @@ -4,14 +4,16 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .flow_action_airtable_list_records_action import FlowActionAirtableListRecordsAction from .flow_action_airtable_list_records_params import FlowActionAirtableListRecordsParams +from .flow_action_airtable_list_records_type import FlowActionAirtableListRecordsType class FlowActionAirtableListRecords(UniversalBaseModel): id: str alias: typing.Optional[str] = None - type: typing.Literal["AIRTABLE"] = "AIRTABLE" - action: typing.Literal["LIST_RECORDS"] = "LIST_RECORDS" + type: FlowActionAirtableListRecordsType + action: FlowActionAirtableListRecordsAction allow_failure: typing.Optional[bool] = None mask_output: typing.Optional[bool] = None params: FlowActionAirtableListRecordsParams diff --git a/src/auth0/management/types/flow_action_airtable_list_records_action.py b/src/auth0/management/types/flow_action_airtable_list_records_action.py new file mode 100644 index 00000000..ef0e4181 --- /dev/null +++ b/src/auth0/management/types/flow_action_airtable_list_records_action.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionAirtableListRecordsAction = typing.Union[typing.Literal["LIST_RECORDS"], typing.Any] diff --git a/src/auth0/management/types/flow_action_airtable_list_records_type.py b/src/auth0/management/types/flow_action_airtable_list_records_type.py new file mode 100644 index 00000000..0fab5c63 --- /dev/null +++ b/src/auth0/management/types/flow_action_airtable_list_records_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionAirtableListRecordsType = typing.Union[typing.Literal["AIRTABLE"], typing.Any] diff --git a/src/auth0/management/types/flow_action_airtable_update_record.py b/src/auth0/management/types/flow_action_airtable_update_record.py index 6e230c21..5f76c958 100644 --- a/src/auth0/management/types/flow_action_airtable_update_record.py +++ b/src/auth0/management/types/flow_action_airtable_update_record.py @@ -4,14 +4,16 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .flow_action_airtable_update_record_action import FlowActionAirtableUpdateRecordAction from .flow_action_airtable_update_record_params import FlowActionAirtableUpdateRecordParams +from .flow_action_airtable_update_record_type import FlowActionAirtableUpdateRecordType class FlowActionAirtableUpdateRecord(UniversalBaseModel): id: str alias: typing.Optional[str] = None - type: typing.Literal["AIRTABLE"] = "AIRTABLE" - action: typing.Literal["UPDATE_RECORD"] = "UPDATE_RECORD" + type: FlowActionAirtableUpdateRecordType + action: FlowActionAirtableUpdateRecordAction allow_failure: typing.Optional[bool] = None mask_output: typing.Optional[bool] = None params: FlowActionAirtableUpdateRecordParams diff --git a/src/auth0/management/types/flow_action_airtable_update_record_action.py b/src/auth0/management/types/flow_action_airtable_update_record_action.py new file mode 100644 index 00000000..e51c9765 --- /dev/null +++ b/src/auth0/management/types/flow_action_airtable_update_record_action.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionAirtableUpdateRecordAction = typing.Union[typing.Literal["UPDATE_RECORD"], typing.Any] diff --git a/src/auth0/management/types/flow_action_airtable_update_record_type.py b/src/auth0/management/types/flow_action_airtable_update_record_type.py new file mode 100644 index 00000000..12901318 --- /dev/null +++ b/src/auth0/management/types/flow_action_airtable_update_record_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionAirtableUpdateRecordType = typing.Union[typing.Literal["AIRTABLE"], typing.Any] diff --git a/src/auth0/management/types/flow_action_auth_0.py b/src/auth0/management/types/flow_action_auth_0.py index 7b325a30..4b5d734e 100644 --- a/src/auth0/management/types/flow_action_auth_0.py +++ b/src/auth0/management/types/flow_action_auth_0.py @@ -4,8 +4,10 @@ from .flow_action_auth_0_create_user import FlowActionAuth0CreateUser from .flow_action_auth_0_get_user import FlowActionAuth0GetUser +from .flow_action_auth_0_make_call import FlowActionAuth0MakeCall from .flow_action_auth_0_send_email import FlowActionAuth0SendEmail from .flow_action_auth_0_send_request import FlowActionAuth0SendRequest +from .flow_action_auth_0_send_sms import FlowActionAuth0SendSms from .flow_action_auth_0_update_user import FlowActionAuth0UpdateUser FlowActionAuth0 = typing.Union[ @@ -14,4 +16,6 @@ FlowActionAuth0UpdateUser, FlowActionAuth0SendRequest, FlowActionAuth0SendEmail, + FlowActionAuth0SendSms, + FlowActionAuth0MakeCall, ] diff --git a/src/auth0/management/types/flow_action_auth_0_create_user.py b/src/auth0/management/types/flow_action_auth_0_create_user.py index 04f3b01b..de9fc868 100644 --- a/src/auth0/management/types/flow_action_auth_0_create_user.py +++ b/src/auth0/management/types/flow_action_auth_0_create_user.py @@ -4,14 +4,16 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .flow_action_auth_0_create_user_action import FlowActionAuth0CreateUserAction from .flow_action_auth_0_create_user_params import FlowActionAuth0CreateUserParams +from .flow_action_auth_0_create_user_type import FlowActionAuth0CreateUserType class FlowActionAuth0CreateUser(UniversalBaseModel): id: str alias: typing.Optional[str] = None - type: typing.Literal["AUTH0"] = "AUTH0" - action: typing.Literal["CREATE_USER"] = "CREATE_USER" + type: FlowActionAuth0CreateUserType + action: FlowActionAuth0CreateUserAction allow_failure: typing.Optional[bool] = None mask_output: typing.Optional[bool] = None params: FlowActionAuth0CreateUserParams diff --git a/src/auth0/management/types/flow_action_auth_0_create_user_action.py b/src/auth0/management/types/flow_action_auth_0_create_user_action.py new file mode 100644 index 00000000..6e923a5a --- /dev/null +++ b/src/auth0/management/types/flow_action_auth_0_create_user_action.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionAuth0CreateUserAction = typing.Union[typing.Literal["CREATE_USER"], typing.Any] diff --git a/src/auth0/management/types/flow_action_auth_0_create_user_type.py b/src/auth0/management/types/flow_action_auth_0_create_user_type.py new file mode 100644 index 00000000..f5a6e799 --- /dev/null +++ b/src/auth0/management/types/flow_action_auth_0_create_user_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionAuth0CreateUserType = typing.Union[typing.Literal["AUTH0"], typing.Any] diff --git a/src/auth0/management/types/flow_action_auth_0_get_user.py b/src/auth0/management/types/flow_action_auth_0_get_user.py index e0641bef..c1ae56b5 100644 --- a/src/auth0/management/types/flow_action_auth_0_get_user.py +++ b/src/auth0/management/types/flow_action_auth_0_get_user.py @@ -4,14 +4,16 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .flow_action_auth_0_get_user_action import FlowActionAuth0GetUserAction from .flow_action_auth_0_get_user_params import FlowActionAuth0GetUserParams +from .flow_action_auth_0_get_user_type import FlowActionAuth0GetUserType class FlowActionAuth0GetUser(UniversalBaseModel): id: str alias: typing.Optional[str] = None - type: typing.Literal["AUTH0"] = "AUTH0" - action: typing.Literal["GET_USER"] = "GET_USER" + type: FlowActionAuth0GetUserType + action: FlowActionAuth0GetUserAction allow_failure: typing.Optional[bool] = None mask_output: typing.Optional[bool] = None params: FlowActionAuth0GetUserParams diff --git a/src/auth0/management/types/flow_action_auth_0_get_user_action.py b/src/auth0/management/types/flow_action_auth_0_get_user_action.py new file mode 100644 index 00000000..c53d96e8 --- /dev/null +++ b/src/auth0/management/types/flow_action_auth_0_get_user_action.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionAuth0GetUserAction = typing.Union[typing.Literal["GET_USER"], typing.Any] diff --git a/src/auth0/management/types/flow_action_auth_0_get_user_type.py b/src/auth0/management/types/flow_action_auth_0_get_user_type.py new file mode 100644 index 00000000..bac9c707 --- /dev/null +++ b/src/auth0/management/types/flow_action_auth_0_get_user_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionAuth0GetUserType = typing.Union[typing.Literal["AUTH0"], typing.Any] diff --git a/src/auth0/management/types/flow_action_auth_0_make_call.py b/src/auth0/management/types/flow_action_auth_0_make_call.py new file mode 100644 index 00000000..273f7798 --- /dev/null +++ b/src/auth0/management/types/flow_action_auth_0_make_call.py @@ -0,0 +1,28 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .flow_action_auth_0_make_call_action import FlowActionAuth0MakeCallAction +from .flow_action_auth_0_make_call_params import FlowActionAuth0MakeCallParams +from .flow_action_auth_0_make_call_type import FlowActionAuth0MakeCallType + + +class FlowActionAuth0MakeCall(UniversalBaseModel): + id: str + alias: typing.Optional[str] = None + type: FlowActionAuth0MakeCallType + action: FlowActionAuth0MakeCallAction + allow_failure: typing.Optional[bool] = None + mask_output: typing.Optional[bool] = None + params: FlowActionAuth0MakeCallParams + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/flow_action_auth_0_make_call_action.py b/src/auth0/management/types/flow_action_auth_0_make_call_action.py new file mode 100644 index 00000000..e6862f3b --- /dev/null +++ b/src/auth0/management/types/flow_action_auth_0_make_call_action.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionAuth0MakeCallAction = typing.Union[typing.Literal["MAKE_CALL"], typing.Any] diff --git a/src/auth0/management/types/flow_action_auth_0_make_call_params.py b/src/auth0/management/types/flow_action_auth_0_make_call_params.py new file mode 100644 index 00000000..9a740b84 --- /dev/null +++ b/src/auth0/management/types/flow_action_auth_0_make_call_params.py @@ -0,0 +1,27 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +import typing_extensions +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from ..core.serialization import FieldMetadata +from .flow_action_auth_0_make_call_params_custom_vars import FlowActionAuth0MakeCallParamsCustomVars + + +class FlowActionAuth0MakeCallParams(UniversalBaseModel): + from_: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="from")] = pydantic.Field( + alias="from", default=None + ) + to: str + message: str + custom_vars: typing.Optional[FlowActionAuth0MakeCallParamsCustomVars] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/flow_action_auth_0_make_call_params_custom_vars.py b/src/auth0/management/types/flow_action_auth_0_make_call_params_custom_vars.py new file mode 100644 index 00000000..979443a7 --- /dev/null +++ b/src/auth0/management/types/flow_action_auth_0_make_call_params_custom_vars.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionAuth0MakeCallParamsCustomVars = typing.Dict[str, typing.Any] diff --git a/src/auth0/management/types/flow_action_auth_0_make_call_type.py b/src/auth0/management/types/flow_action_auth_0_make_call_type.py new file mode 100644 index 00000000..7be38fcc --- /dev/null +++ b/src/auth0/management/types/flow_action_auth_0_make_call_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionAuth0MakeCallType = typing.Union[typing.Literal["AUTH0"], typing.Any] diff --git a/src/auth0/management/types/flow_action_auth_0_send_email.py b/src/auth0/management/types/flow_action_auth_0_send_email.py index e9abdf5e..b40cb4d7 100644 --- a/src/auth0/management/types/flow_action_auth_0_send_email.py +++ b/src/auth0/management/types/flow_action_auth_0_send_email.py @@ -4,14 +4,16 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .flow_action_auth_0_send_email_action import FlowActionAuth0SendEmailAction from .flow_action_auth_0_send_email_params import FlowActionAuth0SendEmailParams +from .flow_action_auth_0_send_email_type import FlowActionAuth0SendEmailType class FlowActionAuth0SendEmail(UniversalBaseModel): id: str alias: typing.Optional[str] = None - type: typing.Literal["AUTH0"] = "AUTH0" - action: typing.Literal["SEND_EMAIL"] = "SEND_EMAIL" + type: FlowActionAuth0SendEmailType + action: FlowActionAuth0SendEmailAction allow_failure: typing.Optional[bool] = None mask_output: typing.Optional[bool] = None params: FlowActionAuth0SendEmailParams diff --git a/src/auth0/management/types/flow_action_auth_0_send_email_action.py b/src/auth0/management/types/flow_action_auth_0_send_email_action.py new file mode 100644 index 00000000..b0c54a38 --- /dev/null +++ b/src/auth0/management/types/flow_action_auth_0_send_email_action.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionAuth0SendEmailAction = typing.Union[typing.Literal["SEND_EMAIL"], typing.Any] diff --git a/src/auth0/management/types/flow_action_auth_0_send_email_params.py b/src/auth0/management/types/flow_action_auth_0_send_email_params.py index 91847230..f6bb20f5 100644 --- a/src/auth0/management/types/flow_action_auth_0_send_email_params.py +++ b/src/auth0/management/types/flow_action_auth_0_send_email_params.py @@ -14,7 +14,7 @@ class FlowActionAuth0SendEmailParams(UniversalBaseModel): from_: typing_extensions.Annotated[ typing.Optional[FlowActionAuth0SendEmailParamsFrom], FieldMetadata(alias="from") - ] = None + ] = pydantic.Field(alias="from", default=None) to: FlowActionAuth0SendEmailParamsTo subject: str body: str diff --git a/src/auth0/management/types/flow_action_auth_0_send_email_type.py b/src/auth0/management/types/flow_action_auth_0_send_email_type.py new file mode 100644 index 00000000..ace77681 --- /dev/null +++ b/src/auth0/management/types/flow_action_auth_0_send_email_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionAuth0SendEmailType = typing.Union[typing.Literal["AUTH0"], typing.Any] diff --git a/src/auth0/management/types/flow_action_auth_0_send_request.py b/src/auth0/management/types/flow_action_auth_0_send_request.py index 439f93b3..cd2c2cff 100644 --- a/src/auth0/management/types/flow_action_auth_0_send_request.py +++ b/src/auth0/management/types/flow_action_auth_0_send_request.py @@ -4,14 +4,16 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .flow_action_auth_0_send_request_action import FlowActionAuth0SendRequestAction from .flow_action_auth_0_send_request_params import FlowActionAuth0SendRequestParams +from .flow_action_auth_0_send_request_type import FlowActionAuth0SendRequestType class FlowActionAuth0SendRequest(UniversalBaseModel): id: str alias: typing.Optional[str] = None - type: typing.Literal["AUTH0"] = "AUTH0" - action: typing.Literal["SEND_REQUEST"] = "SEND_REQUEST" + type: FlowActionAuth0SendRequestType + action: FlowActionAuth0SendRequestAction allow_failure: typing.Optional[bool] = None mask_output: typing.Optional[bool] = None params: FlowActionAuth0SendRequestParams diff --git a/src/auth0/management/types/flow_action_auth_0_send_request_action.py b/src/auth0/management/types/flow_action_auth_0_send_request_action.py new file mode 100644 index 00000000..35d7e273 --- /dev/null +++ b/src/auth0/management/types/flow_action_auth_0_send_request_action.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionAuth0SendRequestAction = typing.Union[typing.Literal["SEND_REQUEST"], typing.Any] diff --git a/src/auth0/management/types/flow_action_auth_0_send_request_type.py b/src/auth0/management/types/flow_action_auth_0_send_request_type.py new file mode 100644 index 00000000..d96c65af --- /dev/null +++ b/src/auth0/management/types/flow_action_auth_0_send_request_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionAuth0SendRequestType = typing.Union[typing.Literal["AUTH0"], typing.Any] diff --git a/src/auth0/management/types/flow_action_auth_0_send_sms.py b/src/auth0/management/types/flow_action_auth_0_send_sms.py new file mode 100644 index 00000000..1885b75e --- /dev/null +++ b/src/auth0/management/types/flow_action_auth_0_send_sms.py @@ -0,0 +1,28 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .flow_action_auth_0_send_sms_action import FlowActionAuth0SendSmsAction +from .flow_action_auth_0_send_sms_params import FlowActionAuth0SendSmsParams +from .flow_action_auth_0_send_sms_type import FlowActionAuth0SendSmsType + + +class FlowActionAuth0SendSms(UniversalBaseModel): + id: str + alias: typing.Optional[str] = None + type: FlowActionAuth0SendSmsType + action: FlowActionAuth0SendSmsAction + allow_failure: typing.Optional[bool] = None + mask_output: typing.Optional[bool] = None + params: FlowActionAuth0SendSmsParams + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/flow_action_auth_0_send_sms_action.py b/src/auth0/management/types/flow_action_auth_0_send_sms_action.py new file mode 100644 index 00000000..02126b68 --- /dev/null +++ b/src/auth0/management/types/flow_action_auth_0_send_sms_action.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionAuth0SendSmsAction = typing.Union[typing.Literal["SEND_SMS"], typing.Any] diff --git a/src/auth0/management/types/flow_action_auth_0_send_sms_params.py b/src/auth0/management/types/flow_action_auth_0_send_sms_params.py new file mode 100644 index 00000000..5a6cbdbe --- /dev/null +++ b/src/auth0/management/types/flow_action_auth_0_send_sms_params.py @@ -0,0 +1,27 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +import typing_extensions +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from ..core.serialization import FieldMetadata +from .flow_action_auth_0_send_sms_params_custom_vars import FlowActionAuth0SendSmsParamsCustomVars + + +class FlowActionAuth0SendSmsParams(UniversalBaseModel): + from_: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="from")] = pydantic.Field( + alias="from", default=None + ) + to: str + message: str + custom_vars: typing.Optional[FlowActionAuth0SendSmsParamsCustomVars] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/flow_action_auth_0_send_sms_params_custom_vars.py b/src/auth0/management/types/flow_action_auth_0_send_sms_params_custom_vars.py new file mode 100644 index 00000000..7d086d66 --- /dev/null +++ b/src/auth0/management/types/flow_action_auth_0_send_sms_params_custom_vars.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionAuth0SendSmsParamsCustomVars = typing.Dict[str, typing.Any] diff --git a/src/auth0/management/types/flow_action_auth_0_send_sms_type.py b/src/auth0/management/types/flow_action_auth_0_send_sms_type.py new file mode 100644 index 00000000..c967b36f --- /dev/null +++ b/src/auth0/management/types/flow_action_auth_0_send_sms_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionAuth0SendSmsType = typing.Union[typing.Literal["AUTH0"], typing.Any] diff --git a/src/auth0/management/types/flow_action_auth_0_update_user.py b/src/auth0/management/types/flow_action_auth_0_update_user.py index 544acd7b..3cf01488 100644 --- a/src/auth0/management/types/flow_action_auth_0_update_user.py +++ b/src/auth0/management/types/flow_action_auth_0_update_user.py @@ -4,14 +4,16 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .flow_action_auth_0_update_user_action import FlowActionAuth0UpdateUserAction from .flow_action_auth_0_update_user_params import FlowActionAuth0UpdateUserParams +from .flow_action_auth_0_update_user_type import FlowActionAuth0UpdateUserType class FlowActionAuth0UpdateUser(UniversalBaseModel): id: str alias: typing.Optional[str] = None - type: typing.Literal["AUTH0"] = "AUTH0" - action: typing.Literal["UPDATE_USER"] = "UPDATE_USER" + type: FlowActionAuth0UpdateUserType + action: FlowActionAuth0UpdateUserAction allow_failure: typing.Optional[bool] = None mask_output: typing.Optional[bool] = None params: FlowActionAuth0UpdateUserParams diff --git a/src/auth0/management/types/flow_action_auth_0_update_user_action.py b/src/auth0/management/types/flow_action_auth_0_update_user_action.py new file mode 100644 index 00000000..d608c280 --- /dev/null +++ b/src/auth0/management/types/flow_action_auth_0_update_user_action.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionAuth0UpdateUserAction = typing.Union[typing.Literal["UPDATE_USER"], typing.Any] diff --git a/src/auth0/management/types/flow_action_auth_0_update_user_type.py b/src/auth0/management/types/flow_action_auth_0_update_user_type.py new file mode 100644 index 00000000..e9a0f2be --- /dev/null +++ b/src/auth0/management/types/flow_action_auth_0_update_user_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionAuth0UpdateUserType = typing.Union[typing.Literal["AUTH0"], typing.Any] diff --git a/src/auth0/management/types/flow_action_bigquery_insert_rows.py b/src/auth0/management/types/flow_action_bigquery_insert_rows.py index 033039df..a27e9b1f 100644 --- a/src/auth0/management/types/flow_action_bigquery_insert_rows.py +++ b/src/auth0/management/types/flow_action_bigquery_insert_rows.py @@ -4,14 +4,16 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .flow_action_bigquery_insert_rows_action import FlowActionBigqueryInsertRowsAction from .flow_action_bigquery_insert_rows_params import FlowActionBigqueryInsertRowsParams +from .flow_action_bigquery_insert_rows_type import FlowActionBigqueryInsertRowsType class FlowActionBigqueryInsertRows(UniversalBaseModel): id: str alias: typing.Optional[str] = None - type: typing.Literal["BIGQUERY"] = "BIGQUERY" - action: typing.Literal["INSERT_ROWS"] = "INSERT_ROWS" + type: FlowActionBigqueryInsertRowsType + action: FlowActionBigqueryInsertRowsAction allow_failure: typing.Optional[bool] = None mask_output: typing.Optional[bool] = None params: FlowActionBigqueryInsertRowsParams diff --git a/src/auth0/management/types/flow_action_bigquery_insert_rows_action.py b/src/auth0/management/types/flow_action_bigquery_insert_rows_action.py new file mode 100644 index 00000000..6ce49f4d --- /dev/null +++ b/src/auth0/management/types/flow_action_bigquery_insert_rows_action.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionBigqueryInsertRowsAction = typing.Union[typing.Literal["INSERT_ROWS"], typing.Any] diff --git a/src/auth0/management/types/flow_action_bigquery_insert_rows_type.py b/src/auth0/management/types/flow_action_bigquery_insert_rows_type.py new file mode 100644 index 00000000..709e0b87 --- /dev/null +++ b/src/auth0/management/types/flow_action_bigquery_insert_rows_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionBigqueryInsertRowsType = typing.Union[typing.Literal["BIGQUERY"], typing.Any] diff --git a/src/auth0/management/types/flow_action_clearbit_find_company.py b/src/auth0/management/types/flow_action_clearbit_find_company.py index 08ad33b7..31c44359 100644 --- a/src/auth0/management/types/flow_action_clearbit_find_company.py +++ b/src/auth0/management/types/flow_action_clearbit_find_company.py @@ -4,14 +4,16 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .flow_action_clearbit_find_company_action import FlowActionClearbitFindCompanyAction from .flow_action_clearbit_find_company_params import FlowActionClearbitFindCompanyParams +from .flow_action_clearbit_find_company_type import FlowActionClearbitFindCompanyType class FlowActionClearbitFindCompany(UniversalBaseModel): id: str alias: typing.Optional[str] = None - type: typing.Literal["CLEARBIT"] = "CLEARBIT" - action: typing.Literal["FIND_COMPANY"] = "FIND_COMPANY" + type: FlowActionClearbitFindCompanyType + action: FlowActionClearbitFindCompanyAction allow_failure: typing.Optional[bool] = None mask_output: typing.Optional[bool] = None params: FlowActionClearbitFindCompanyParams diff --git a/src/auth0/management/types/flow_action_clearbit_find_company_action.py b/src/auth0/management/types/flow_action_clearbit_find_company_action.py new file mode 100644 index 00000000..a68b3e9f --- /dev/null +++ b/src/auth0/management/types/flow_action_clearbit_find_company_action.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionClearbitFindCompanyAction = typing.Union[typing.Literal["FIND_COMPANY"], typing.Any] diff --git a/src/auth0/management/types/flow_action_clearbit_find_company_type.py b/src/auth0/management/types/flow_action_clearbit_find_company_type.py new file mode 100644 index 00000000..db59c204 --- /dev/null +++ b/src/auth0/management/types/flow_action_clearbit_find_company_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionClearbitFindCompanyType = typing.Union[typing.Literal["CLEARBIT"], typing.Any] diff --git a/src/auth0/management/types/flow_action_clearbit_find_person.py b/src/auth0/management/types/flow_action_clearbit_find_person.py index b43c260f..a15c9100 100644 --- a/src/auth0/management/types/flow_action_clearbit_find_person.py +++ b/src/auth0/management/types/flow_action_clearbit_find_person.py @@ -4,14 +4,16 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .flow_action_clearbit_find_person_action import FlowActionClearbitFindPersonAction from .flow_action_clearbit_find_person_params import FlowActionClearbitFindPersonParams +from .flow_action_clearbit_find_person_type import FlowActionClearbitFindPersonType class FlowActionClearbitFindPerson(UniversalBaseModel): id: str alias: typing.Optional[str] = None - type: typing.Literal["CLEARBIT"] = "CLEARBIT" - action: typing.Literal["FIND_PERSON"] = "FIND_PERSON" + type: FlowActionClearbitFindPersonType + action: FlowActionClearbitFindPersonAction allow_failure: typing.Optional[bool] = None mask_output: typing.Optional[bool] = None params: FlowActionClearbitFindPersonParams diff --git a/src/auth0/management/types/flow_action_clearbit_find_person_action.py b/src/auth0/management/types/flow_action_clearbit_find_person_action.py new file mode 100644 index 00000000..857b6ac0 --- /dev/null +++ b/src/auth0/management/types/flow_action_clearbit_find_person_action.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionClearbitFindPersonAction = typing.Union[typing.Literal["FIND_PERSON"], typing.Any] diff --git a/src/auth0/management/types/flow_action_clearbit_find_person_type.py b/src/auth0/management/types/flow_action_clearbit_find_person_type.py new file mode 100644 index 00000000..412bd7fa --- /dev/null +++ b/src/auth0/management/types/flow_action_clearbit_find_person_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionClearbitFindPersonType = typing.Union[typing.Literal["CLEARBIT"], typing.Any] diff --git a/src/auth0/management/types/flow_action_email_verify_email.py b/src/auth0/management/types/flow_action_email_verify_email.py index 5d1a8cbc..6eb14a8c 100644 --- a/src/auth0/management/types/flow_action_email_verify_email.py +++ b/src/auth0/management/types/flow_action_email_verify_email.py @@ -4,14 +4,16 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .flow_action_email_verify_email_action import FlowActionEmailVerifyEmailAction from .flow_action_email_verify_email_params import FlowActionEmailVerifyEmailParams +from .flow_action_email_verify_email_type import FlowActionEmailVerifyEmailType class FlowActionEmailVerifyEmail(UniversalBaseModel): id: str alias: typing.Optional[str] = None - type: typing.Literal["EMAIL"] = "EMAIL" - action: typing.Literal["VERIFY_EMAIL"] = "VERIFY_EMAIL" + type: FlowActionEmailVerifyEmailType + action: FlowActionEmailVerifyEmailAction allow_failure: typing.Optional[bool] = None mask_output: typing.Optional[bool] = None params: FlowActionEmailVerifyEmailParams diff --git a/src/auth0/management/types/flow_action_email_verify_email_action.py b/src/auth0/management/types/flow_action_email_verify_email_action.py new file mode 100644 index 00000000..7870ab81 --- /dev/null +++ b/src/auth0/management/types/flow_action_email_verify_email_action.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionEmailVerifyEmailAction = typing.Union[typing.Literal["VERIFY_EMAIL"], typing.Any] diff --git a/src/auth0/management/types/flow_action_email_verify_email_type.py b/src/auth0/management/types/flow_action_email_verify_email_type.py new file mode 100644 index 00000000..0b504bae --- /dev/null +++ b/src/auth0/management/types/flow_action_email_verify_email_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionEmailVerifyEmailType = typing.Union[typing.Literal["EMAIL"], typing.Any] diff --git a/src/auth0/management/types/flow_action_flow_boolean_condition.py b/src/auth0/management/types/flow_action_flow_boolean_condition.py index b578dafa..511a7721 100644 --- a/src/auth0/management/types/flow_action_flow_boolean_condition.py +++ b/src/auth0/management/types/flow_action_flow_boolean_condition.py @@ -6,13 +6,15 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel, update_forward_refs +from .flow_action_flow_boolean_condition_action import FlowActionFlowBooleanConditionAction +from .flow_action_flow_boolean_condition_type import FlowActionFlowBooleanConditionType class FlowActionFlowBooleanCondition(UniversalBaseModel): id: str alias: typing.Optional[str] = None - type: typing.Literal["FLOW"] = "FLOW" - action: typing.Literal["BOOLEAN_CONDITION"] = "BOOLEAN_CONDITION" + type: FlowActionFlowBooleanConditionType + action: FlowActionFlowBooleanConditionAction allow_failure: typing.Optional[bool] = None mask_output: typing.Optional[bool] = None params: "FlowActionFlowBooleanConditionParams" diff --git a/src/auth0/management/types/flow_action_flow_boolean_condition_action.py b/src/auth0/management/types/flow_action_flow_boolean_condition_action.py new file mode 100644 index 00000000..f2c88e00 --- /dev/null +++ b/src/auth0/management/types/flow_action_flow_boolean_condition_action.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionFlowBooleanConditionAction = typing.Union[typing.Literal["BOOLEAN_CONDITION"], typing.Any] diff --git a/src/auth0/management/types/flow_action_flow_boolean_condition_params.py b/src/auth0/management/types/flow_action_flow_boolean_condition_params.py index a38ae700..168181ed 100644 --- a/src/auth0/management/types/flow_action_flow_boolean_condition_params.py +++ b/src/auth0/management/types/flow_action_flow_boolean_condition_params.py @@ -12,7 +12,9 @@ class FlowActionFlowBooleanConditionParams(UniversalBaseModel): then: typing.Optional[typing.List["FlowAction"]] = None - else_: typing_extensions.Annotated[typing.Optional[typing.List["FlowAction"]], FieldMetadata(alias="else")] = None + else_: typing_extensions.Annotated[typing.Optional[typing.List["FlowAction"]], FieldMetadata(alias="else")] = ( + pydantic.Field(alias="else", default=None) + ) if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/flow_action_flow_boolean_condition_type.py b/src/auth0/management/types/flow_action_flow_boolean_condition_type.py new file mode 100644 index 00000000..2c60aa42 --- /dev/null +++ b/src/auth0/management/types/flow_action_flow_boolean_condition_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionFlowBooleanConditionType = typing.Union[typing.Literal["FLOW"], typing.Any] diff --git a/src/auth0/management/types/flow_action_flow_delay_flow.py b/src/auth0/management/types/flow_action_flow_delay_flow.py index c2c2d1c3..f432861d 100644 --- a/src/auth0/management/types/flow_action_flow_delay_flow.py +++ b/src/auth0/management/types/flow_action_flow_delay_flow.py @@ -4,14 +4,16 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .flow_action_flow_delay_flow_action import FlowActionFlowDelayFlowAction from .flow_action_flow_delay_flow_params import FlowActionFlowDelayFlowParams +from .flow_action_flow_delay_flow_type import FlowActionFlowDelayFlowType class FlowActionFlowDelayFlow(UniversalBaseModel): id: str alias: typing.Optional[str] = None - type: typing.Literal["FLOW"] = "FLOW" - action: typing.Literal["DELAY_FLOW"] = "DELAY_FLOW" + type: FlowActionFlowDelayFlowType + action: FlowActionFlowDelayFlowAction allow_failure: typing.Optional[bool] = None mask_output: typing.Optional[bool] = None params: FlowActionFlowDelayFlowParams diff --git a/src/auth0/management/types/flow_action_flow_delay_flow_action.py b/src/auth0/management/types/flow_action_flow_delay_flow_action.py new file mode 100644 index 00000000..3ec538de --- /dev/null +++ b/src/auth0/management/types/flow_action_flow_delay_flow_action.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionFlowDelayFlowAction = typing.Union[typing.Literal["DELAY_FLOW"], typing.Any] diff --git a/src/auth0/management/types/flow_action_flow_delay_flow_type.py b/src/auth0/management/types/flow_action_flow_delay_flow_type.py new file mode 100644 index 00000000..cd6cd7c2 --- /dev/null +++ b/src/auth0/management/types/flow_action_flow_delay_flow_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionFlowDelayFlowType = typing.Union[typing.Literal["FLOW"], typing.Any] diff --git a/src/auth0/management/types/flow_action_flow_do_nothing.py b/src/auth0/management/types/flow_action_flow_do_nothing.py index 52d4e9c5..4dbed95b 100644 --- a/src/auth0/management/types/flow_action_flow_do_nothing.py +++ b/src/auth0/management/types/flow_action_flow_do_nothing.py @@ -4,14 +4,16 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .flow_action_flow_do_nothing_action import FlowActionFlowDoNothingAction from .flow_action_flow_do_nothing_params import FlowActionFlowDoNothingParams +from .flow_action_flow_do_nothing_type import FlowActionFlowDoNothingType class FlowActionFlowDoNothing(UniversalBaseModel): id: str alias: typing.Optional[str] = None - type: typing.Literal["FLOW"] = "FLOW" - action: typing.Literal["DO_NOTHING"] = "DO_NOTHING" + type: FlowActionFlowDoNothingType + action: FlowActionFlowDoNothingAction allow_failure: typing.Optional[bool] = None mask_output: typing.Optional[bool] = None params: typing.Optional[FlowActionFlowDoNothingParams] = None diff --git a/src/auth0/management/types/flow_action_flow_do_nothing_action.py b/src/auth0/management/types/flow_action_flow_do_nothing_action.py new file mode 100644 index 00000000..523731e0 --- /dev/null +++ b/src/auth0/management/types/flow_action_flow_do_nothing_action.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionFlowDoNothingAction = typing.Union[typing.Literal["DO_NOTHING"], typing.Any] diff --git a/src/auth0/management/types/flow_action_flow_do_nothing_type.py b/src/auth0/management/types/flow_action_flow_do_nothing_type.py new file mode 100644 index 00000000..2e656975 --- /dev/null +++ b/src/auth0/management/types/flow_action_flow_do_nothing_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionFlowDoNothingType = typing.Union[typing.Literal["FLOW"], typing.Any] diff --git a/src/auth0/management/types/flow_action_flow_error_message.py b/src/auth0/management/types/flow_action_flow_error_message.py index 4d04af6e..b960053f 100644 --- a/src/auth0/management/types/flow_action_flow_error_message.py +++ b/src/auth0/management/types/flow_action_flow_error_message.py @@ -4,14 +4,16 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .flow_action_flow_error_message_action import FlowActionFlowErrorMessageAction from .flow_action_flow_error_message_params import FlowActionFlowErrorMessageParams +from .flow_action_flow_error_message_type import FlowActionFlowErrorMessageType class FlowActionFlowErrorMessage(UniversalBaseModel): id: str alias: typing.Optional[str] = None - type: typing.Literal["FLOW"] = "FLOW" - action: typing.Literal["ERROR_MESSAGE"] = "ERROR_MESSAGE" + type: FlowActionFlowErrorMessageType + action: FlowActionFlowErrorMessageAction allow_failure: typing.Optional[bool] = None mask_output: typing.Optional[bool] = None params: FlowActionFlowErrorMessageParams diff --git a/src/auth0/management/types/flow_action_flow_error_message_action.py b/src/auth0/management/types/flow_action_flow_error_message_action.py new file mode 100644 index 00000000..2b2b7c65 --- /dev/null +++ b/src/auth0/management/types/flow_action_flow_error_message_action.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionFlowErrorMessageAction = typing.Union[typing.Literal["ERROR_MESSAGE"], typing.Any] diff --git a/src/auth0/management/types/flow_action_flow_error_message_type.py b/src/auth0/management/types/flow_action_flow_error_message_type.py new file mode 100644 index 00000000..48c5fb96 --- /dev/null +++ b/src/auth0/management/types/flow_action_flow_error_message_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionFlowErrorMessageType = typing.Union[typing.Literal["FLOW"], typing.Any] diff --git a/src/auth0/management/types/flow_action_flow_map_value.py b/src/auth0/management/types/flow_action_flow_map_value.py index 418d97ed..25b701d0 100644 --- a/src/auth0/management/types/flow_action_flow_map_value.py +++ b/src/auth0/management/types/flow_action_flow_map_value.py @@ -4,14 +4,16 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .flow_action_flow_map_value_action import FlowActionFlowMapValueAction from .flow_action_flow_map_value_params import FlowActionFlowMapValueParams +from .flow_action_flow_map_value_type import FlowActionFlowMapValueType class FlowActionFlowMapValue(UniversalBaseModel): id: str alias: typing.Optional[str] = None - type: typing.Literal["FLOW"] = "FLOW" - action: typing.Literal["MAP_VALUE"] = "MAP_VALUE" + type: FlowActionFlowMapValueType + action: FlowActionFlowMapValueAction allow_failure: typing.Optional[bool] = None mask_output: typing.Optional[bool] = None params: FlowActionFlowMapValueParams diff --git a/src/auth0/management/types/flow_action_flow_map_value_action.py b/src/auth0/management/types/flow_action_flow_map_value_action.py new file mode 100644 index 00000000..a58e0312 --- /dev/null +++ b/src/auth0/management/types/flow_action_flow_map_value_action.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionFlowMapValueAction = typing.Union[typing.Literal["MAP_VALUE"], typing.Any] diff --git a/src/auth0/management/types/flow_action_flow_map_value_type.py b/src/auth0/management/types/flow_action_flow_map_value_type.py new file mode 100644 index 00000000..d17bf3c8 --- /dev/null +++ b/src/auth0/management/types/flow_action_flow_map_value_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionFlowMapValueType = typing.Union[typing.Literal["FLOW"], typing.Any] diff --git a/src/auth0/management/types/flow_action_flow_return_json.py b/src/auth0/management/types/flow_action_flow_return_json.py index 9cc2e98a..90aa9905 100644 --- a/src/auth0/management/types/flow_action_flow_return_json.py +++ b/src/auth0/management/types/flow_action_flow_return_json.py @@ -4,14 +4,16 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .flow_action_flow_return_json_action import FlowActionFlowReturnJsonAction from .flow_action_flow_return_json_params import FlowActionFlowReturnJsonParams +from .flow_action_flow_return_json_type import FlowActionFlowReturnJsonType class FlowActionFlowReturnJson(UniversalBaseModel): id: str alias: typing.Optional[str] = None - type: typing.Literal["FLOW"] = "FLOW" - action: typing.Literal["RETURN_JSON"] = "RETURN_JSON" + type: FlowActionFlowReturnJsonType + action: FlowActionFlowReturnJsonAction allow_failure: typing.Optional[bool] = None mask_output: typing.Optional[bool] = None params: FlowActionFlowReturnJsonParams diff --git a/src/auth0/management/types/flow_action_flow_return_json_action.py b/src/auth0/management/types/flow_action_flow_return_json_action.py new file mode 100644 index 00000000..06a593ea --- /dev/null +++ b/src/auth0/management/types/flow_action_flow_return_json_action.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionFlowReturnJsonAction = typing.Union[typing.Literal["RETURN_JSON"], typing.Any] diff --git a/src/auth0/management/types/flow_action_flow_return_json_type.py b/src/auth0/management/types/flow_action_flow_return_json_type.py new file mode 100644 index 00000000..0b4a9907 --- /dev/null +++ b/src/auth0/management/types/flow_action_flow_return_json_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionFlowReturnJsonType = typing.Union[typing.Literal["FLOW"], typing.Any] diff --git a/src/auth0/management/types/flow_action_flow_store_vars.py b/src/auth0/management/types/flow_action_flow_store_vars.py index 0008e58b..a4028ee3 100644 --- a/src/auth0/management/types/flow_action_flow_store_vars.py +++ b/src/auth0/management/types/flow_action_flow_store_vars.py @@ -4,14 +4,16 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .flow_action_flow_store_vars_action import FlowActionFlowStoreVarsAction from .flow_action_flow_store_vars_params import FlowActionFlowStoreVarsParams +from .flow_action_flow_store_vars_type import FlowActionFlowStoreVarsType class FlowActionFlowStoreVars(UniversalBaseModel): id: str alias: typing.Optional[str] = None - type: typing.Literal["FLOW"] = "FLOW" - action: typing.Literal["STORE_VARS"] = "STORE_VARS" + type: FlowActionFlowStoreVarsType + action: FlowActionFlowStoreVarsAction allow_failure: typing.Optional[bool] = None mask_output: typing.Optional[bool] = None params: FlowActionFlowStoreVarsParams diff --git a/src/auth0/management/types/flow_action_flow_store_vars_action.py b/src/auth0/management/types/flow_action_flow_store_vars_action.py new file mode 100644 index 00000000..b0af4afe --- /dev/null +++ b/src/auth0/management/types/flow_action_flow_store_vars_action.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionFlowStoreVarsAction = typing.Union[typing.Literal["STORE_VARS"], typing.Any] diff --git a/src/auth0/management/types/flow_action_flow_store_vars_type.py b/src/auth0/management/types/flow_action_flow_store_vars_type.py new file mode 100644 index 00000000..d8084cd7 --- /dev/null +++ b/src/auth0/management/types/flow_action_flow_store_vars_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionFlowStoreVarsType = typing.Union[typing.Literal["FLOW"], typing.Any] diff --git a/src/auth0/management/types/flow_action_google_sheets_add_row.py b/src/auth0/management/types/flow_action_google_sheets_add_row.py index 5f1438ac..ce31bdee 100644 --- a/src/auth0/management/types/flow_action_google_sheets_add_row.py +++ b/src/auth0/management/types/flow_action_google_sheets_add_row.py @@ -4,14 +4,16 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .flow_action_google_sheets_add_row_action import FlowActionGoogleSheetsAddRowAction from .flow_action_google_sheets_add_row_params import FlowActionGoogleSheetsAddRowParams +from .flow_action_google_sheets_add_row_type import FlowActionGoogleSheetsAddRowType class FlowActionGoogleSheetsAddRow(UniversalBaseModel): id: str alias: typing.Optional[str] = None - type: typing.Literal["GOOGLE_SHEETS"] = "GOOGLE_SHEETS" - action: typing.Literal["ADD_ROW"] = "ADD_ROW" + type: FlowActionGoogleSheetsAddRowType + action: FlowActionGoogleSheetsAddRowAction allow_failure: typing.Optional[bool] = None mask_output: typing.Optional[bool] = None params: FlowActionGoogleSheetsAddRowParams diff --git a/src/auth0/management/types/flow_action_google_sheets_add_row_action.py b/src/auth0/management/types/flow_action_google_sheets_add_row_action.py new file mode 100644 index 00000000..cb9e0f99 --- /dev/null +++ b/src/auth0/management/types/flow_action_google_sheets_add_row_action.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionGoogleSheetsAddRowAction = typing.Union[typing.Literal["ADD_ROW"], typing.Any] diff --git a/src/auth0/management/types/flow_action_google_sheets_add_row_type.py b/src/auth0/management/types/flow_action_google_sheets_add_row_type.py new file mode 100644 index 00000000..749e4b57 --- /dev/null +++ b/src/auth0/management/types/flow_action_google_sheets_add_row_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionGoogleSheetsAddRowType = typing.Union[typing.Literal["GOOGLE_SHEETS"], typing.Any] diff --git a/src/auth0/management/types/flow_action_http_send_request.py b/src/auth0/management/types/flow_action_http_send_request.py index eb176571..900b4284 100644 --- a/src/auth0/management/types/flow_action_http_send_request.py +++ b/src/auth0/management/types/flow_action_http_send_request.py @@ -4,14 +4,16 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .flow_action_http_send_request_action import FlowActionHttpSendRequestAction from .flow_action_http_send_request_params import FlowActionHttpSendRequestParams +from .flow_action_http_send_request_type import FlowActionHttpSendRequestType class FlowActionHttpSendRequest(UniversalBaseModel): id: str alias: typing.Optional[str] = None - type: typing.Literal["HTTP"] = "HTTP" - action: typing.Literal["SEND_REQUEST"] = "SEND_REQUEST" + type: FlowActionHttpSendRequestType + action: FlowActionHttpSendRequestAction allow_failure: typing.Optional[bool] = None mask_output: typing.Optional[bool] = None params: FlowActionHttpSendRequestParams diff --git a/src/auth0/management/types/flow_action_http_send_request_action.py b/src/auth0/management/types/flow_action_http_send_request_action.py new file mode 100644 index 00000000..66292002 --- /dev/null +++ b/src/auth0/management/types/flow_action_http_send_request_action.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionHttpSendRequestAction = typing.Union[typing.Literal["SEND_REQUEST"], typing.Any] diff --git a/src/auth0/management/types/flow_action_http_send_request_type.py b/src/auth0/management/types/flow_action_http_send_request_type.py new file mode 100644 index 00000000..f376cc2c --- /dev/null +++ b/src/auth0/management/types/flow_action_http_send_request_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionHttpSendRequestType = typing.Union[typing.Literal["HTTP"], typing.Any] diff --git a/src/auth0/management/types/flow_action_hubspot_enroll_contact.py b/src/auth0/management/types/flow_action_hubspot_enroll_contact.py index e88e5515..63eb6209 100644 --- a/src/auth0/management/types/flow_action_hubspot_enroll_contact.py +++ b/src/auth0/management/types/flow_action_hubspot_enroll_contact.py @@ -4,14 +4,16 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .flow_action_hubspot_enroll_contact_action import FlowActionHubspotEnrollContactAction from .flow_action_hubspot_enroll_contact_params import FlowActionHubspotEnrollContactParams +from .flow_action_hubspot_enroll_contact_type import FlowActionHubspotEnrollContactType class FlowActionHubspotEnrollContact(UniversalBaseModel): id: str alias: typing.Optional[str] = None - type: typing.Literal["HUBSPOT"] = "HUBSPOT" - action: typing.Literal["ENROLL_CONTACT"] = "ENROLL_CONTACT" + type: FlowActionHubspotEnrollContactType + action: FlowActionHubspotEnrollContactAction allow_failure: typing.Optional[bool] = None mask_output: typing.Optional[bool] = None params: FlowActionHubspotEnrollContactParams diff --git a/src/auth0/management/types/flow_action_hubspot_enroll_contact_action.py b/src/auth0/management/types/flow_action_hubspot_enroll_contact_action.py new file mode 100644 index 00000000..966d23e1 --- /dev/null +++ b/src/auth0/management/types/flow_action_hubspot_enroll_contact_action.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionHubspotEnrollContactAction = typing.Union[typing.Literal["ENROLL_CONTACT"], typing.Any] diff --git a/src/auth0/management/types/flow_action_hubspot_enroll_contact_type.py b/src/auth0/management/types/flow_action_hubspot_enroll_contact_type.py new file mode 100644 index 00000000..8811cbc3 --- /dev/null +++ b/src/auth0/management/types/flow_action_hubspot_enroll_contact_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionHubspotEnrollContactType = typing.Union[typing.Literal["HUBSPOT"], typing.Any] diff --git a/src/auth0/management/types/flow_action_hubspot_get_contact.py b/src/auth0/management/types/flow_action_hubspot_get_contact.py index 26831878..c58da565 100644 --- a/src/auth0/management/types/flow_action_hubspot_get_contact.py +++ b/src/auth0/management/types/flow_action_hubspot_get_contact.py @@ -4,14 +4,16 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .flow_action_hubspot_get_contact_action import FlowActionHubspotGetContactAction from .flow_action_hubspot_get_contact_params import FlowActionHubspotGetContactParams +from .flow_action_hubspot_get_contact_type import FlowActionHubspotGetContactType class FlowActionHubspotGetContact(UniversalBaseModel): id: str alias: typing.Optional[str] = None - type: typing.Literal["HUBSPOT"] = "HUBSPOT" - action: typing.Literal["GET_CONTACT"] = "GET_CONTACT" + type: FlowActionHubspotGetContactType + action: FlowActionHubspotGetContactAction allow_failure: typing.Optional[bool] = None mask_output: typing.Optional[bool] = None params: FlowActionHubspotGetContactParams diff --git a/src/auth0/management/types/flow_action_hubspot_get_contact_action.py b/src/auth0/management/types/flow_action_hubspot_get_contact_action.py new file mode 100644 index 00000000..ecceec25 --- /dev/null +++ b/src/auth0/management/types/flow_action_hubspot_get_contact_action.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionHubspotGetContactAction = typing.Union[typing.Literal["GET_CONTACT"], typing.Any] diff --git a/src/auth0/management/types/flow_action_hubspot_get_contact_type.py b/src/auth0/management/types/flow_action_hubspot_get_contact_type.py new file mode 100644 index 00000000..3d34d396 --- /dev/null +++ b/src/auth0/management/types/flow_action_hubspot_get_contact_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionHubspotGetContactType = typing.Union[typing.Literal["HUBSPOT"], typing.Any] diff --git a/src/auth0/management/types/flow_action_hubspot_upsert_contact.py b/src/auth0/management/types/flow_action_hubspot_upsert_contact.py index 9e8b4155..f91459ee 100644 --- a/src/auth0/management/types/flow_action_hubspot_upsert_contact.py +++ b/src/auth0/management/types/flow_action_hubspot_upsert_contact.py @@ -4,14 +4,16 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .flow_action_hubspot_upsert_contact_action import FlowActionHubspotUpsertContactAction from .flow_action_hubspot_upsert_contact_params import FlowActionHubspotUpsertContactParams +from .flow_action_hubspot_upsert_contact_type import FlowActionHubspotUpsertContactType class FlowActionHubspotUpsertContact(UniversalBaseModel): id: str alias: typing.Optional[str] = None - type: typing.Literal["HUBSPOT"] = "HUBSPOT" - action: typing.Literal["UPSERT_CONTACT"] = "UPSERT_CONTACT" + type: FlowActionHubspotUpsertContactType + action: FlowActionHubspotUpsertContactAction allow_failure: typing.Optional[bool] = None mask_output: typing.Optional[bool] = None params: FlowActionHubspotUpsertContactParams diff --git a/src/auth0/management/types/flow_action_hubspot_upsert_contact_action.py b/src/auth0/management/types/flow_action_hubspot_upsert_contact_action.py new file mode 100644 index 00000000..a3b83654 --- /dev/null +++ b/src/auth0/management/types/flow_action_hubspot_upsert_contact_action.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionHubspotUpsertContactAction = typing.Union[typing.Literal["UPSERT_CONTACT"], typing.Any] diff --git a/src/auth0/management/types/flow_action_hubspot_upsert_contact_type.py b/src/auth0/management/types/flow_action_hubspot_upsert_contact_type.py new file mode 100644 index 00000000..1a1aeceb --- /dev/null +++ b/src/auth0/management/types/flow_action_hubspot_upsert_contact_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionHubspotUpsertContactType = typing.Union[typing.Literal["HUBSPOT"], typing.Any] diff --git a/src/auth0/management/types/flow_action_json_create_json.py b/src/auth0/management/types/flow_action_json_create_json.py index 613b694f..2e60cd23 100644 --- a/src/auth0/management/types/flow_action_json_create_json.py +++ b/src/auth0/management/types/flow_action_json_create_json.py @@ -4,14 +4,16 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .flow_action_json_create_json_action import FlowActionJsonCreateJsonAction from .flow_action_json_create_json_params import FlowActionJsonCreateJsonParams +from .flow_action_json_create_json_type import FlowActionJsonCreateJsonType class FlowActionJsonCreateJson(UniversalBaseModel): id: str alias: typing.Optional[str] = None - type: typing.Literal["JSON"] = "JSON" - action: typing.Literal["CREATE_JSON"] = "CREATE_JSON" + type: FlowActionJsonCreateJsonType + action: FlowActionJsonCreateJsonAction allow_failure: typing.Optional[bool] = None mask_output: typing.Optional[bool] = None params: FlowActionJsonCreateJsonParams diff --git a/src/auth0/management/types/flow_action_json_create_json_action.py b/src/auth0/management/types/flow_action_json_create_json_action.py new file mode 100644 index 00000000..d0bfb61c --- /dev/null +++ b/src/auth0/management/types/flow_action_json_create_json_action.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionJsonCreateJsonAction = typing.Union[typing.Literal["CREATE_JSON"], typing.Any] diff --git a/src/auth0/management/types/flow_action_json_create_json_type.py b/src/auth0/management/types/flow_action_json_create_json_type.py new file mode 100644 index 00000000..d1a56091 --- /dev/null +++ b/src/auth0/management/types/flow_action_json_create_json_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionJsonCreateJsonType = typing.Union[typing.Literal["JSON"], typing.Any] diff --git a/src/auth0/management/types/flow_action_json_parse_json.py b/src/auth0/management/types/flow_action_json_parse_json.py index 4fdc2cab..9f1719bb 100644 --- a/src/auth0/management/types/flow_action_json_parse_json.py +++ b/src/auth0/management/types/flow_action_json_parse_json.py @@ -4,14 +4,16 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .flow_action_json_parse_json_action import FlowActionJsonParseJsonAction from .flow_action_json_parse_json_params import FlowActionJsonParseJsonParams +from .flow_action_json_parse_json_type import FlowActionJsonParseJsonType class FlowActionJsonParseJson(UniversalBaseModel): id: str alias: typing.Optional[str] = None - type: typing.Literal["JSON"] = "JSON" - action: typing.Literal["PARSE_JSON"] = "PARSE_JSON" + type: FlowActionJsonParseJsonType + action: FlowActionJsonParseJsonAction allow_failure: typing.Optional[bool] = None mask_output: typing.Optional[bool] = None params: FlowActionJsonParseJsonParams diff --git a/src/auth0/management/types/flow_action_json_parse_json_action.py b/src/auth0/management/types/flow_action_json_parse_json_action.py new file mode 100644 index 00000000..aded9dd7 --- /dev/null +++ b/src/auth0/management/types/flow_action_json_parse_json_action.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionJsonParseJsonAction = typing.Union[typing.Literal["PARSE_JSON"], typing.Any] diff --git a/src/auth0/management/types/flow_action_json_parse_json_params.py b/src/auth0/management/types/flow_action_json_parse_json_params.py index fe8ff957..b65e1544 100644 --- a/src/auth0/management/types/flow_action_json_parse_json_params.py +++ b/src/auth0/management/types/flow_action_json_parse_json_params.py @@ -9,7 +9,7 @@ class FlowActionJsonParseJsonParams(UniversalBaseModel): - json_: typing_extensions.Annotated[str, FieldMetadata(alias="json")] + json_: typing_extensions.Annotated[str, FieldMetadata(alias="json")] = pydantic.Field(alias="json") if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/flow_action_json_parse_json_type.py b/src/auth0/management/types/flow_action_json_parse_json_type.py new file mode 100644 index 00000000..765c7fe3 --- /dev/null +++ b/src/auth0/management/types/flow_action_json_parse_json_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionJsonParseJsonType = typing.Union[typing.Literal["JSON"], typing.Any] diff --git a/src/auth0/management/types/flow_action_json_serialize_json.py b/src/auth0/management/types/flow_action_json_serialize_json.py index 7cb86035..90ca7e0f 100644 --- a/src/auth0/management/types/flow_action_json_serialize_json.py +++ b/src/auth0/management/types/flow_action_json_serialize_json.py @@ -4,14 +4,16 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .flow_action_json_serialize_json_action import FlowActionJsonSerializeJsonAction from .flow_action_json_serialize_json_params import FlowActionJsonSerializeJsonParams +from .flow_action_json_serialize_json_type import FlowActionJsonSerializeJsonType class FlowActionJsonSerializeJson(UniversalBaseModel): id: str alias: typing.Optional[str] = None - type: typing.Literal["JSON"] = "JSON" - action: typing.Literal["SERIALIZE_JSON"] = "SERIALIZE_JSON" + type: FlowActionJsonSerializeJsonType + action: FlowActionJsonSerializeJsonAction allow_failure: typing.Optional[bool] = None mask_output: typing.Optional[bool] = None params: FlowActionJsonSerializeJsonParams diff --git a/src/auth0/management/types/flow_action_json_serialize_json_action.py b/src/auth0/management/types/flow_action_json_serialize_json_action.py new file mode 100644 index 00000000..1eae14ed --- /dev/null +++ b/src/auth0/management/types/flow_action_json_serialize_json_action.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionJsonSerializeJsonAction = typing.Union[typing.Literal["SERIALIZE_JSON"], typing.Any] diff --git a/src/auth0/management/types/flow_action_json_serialize_json_type.py b/src/auth0/management/types/flow_action_json_serialize_json_type.py new file mode 100644 index 00000000..4f54378a --- /dev/null +++ b/src/auth0/management/types/flow_action_json_serialize_json_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionJsonSerializeJsonType = typing.Union[typing.Literal["JSON"], typing.Any] diff --git a/src/auth0/management/types/flow_action_jwt_decode_jwt.py b/src/auth0/management/types/flow_action_jwt_decode_jwt.py index 09e14325..aed203e6 100644 --- a/src/auth0/management/types/flow_action_jwt_decode_jwt.py +++ b/src/auth0/management/types/flow_action_jwt_decode_jwt.py @@ -4,14 +4,16 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .flow_action_jwt_decode_jwt_action import FlowActionJwtDecodeJwtAction from .flow_action_jwt_decode_jwt_params import FlowActionJwtDecodeJwtParams +from .flow_action_jwt_decode_jwt_type import FlowActionJwtDecodeJwtType class FlowActionJwtDecodeJwt(UniversalBaseModel): id: str alias: typing.Optional[str] = None - type: typing.Literal["JWT"] = "JWT" - action: typing.Literal["DECODE_JWT"] = "DECODE_JWT" + type: FlowActionJwtDecodeJwtType + action: FlowActionJwtDecodeJwtAction allow_failure: typing.Optional[bool] = None mask_output: typing.Optional[bool] = None params: FlowActionJwtDecodeJwtParams diff --git a/src/auth0/management/types/flow_action_jwt_decode_jwt_action.py b/src/auth0/management/types/flow_action_jwt_decode_jwt_action.py new file mode 100644 index 00000000..0f1cfae8 --- /dev/null +++ b/src/auth0/management/types/flow_action_jwt_decode_jwt_action.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionJwtDecodeJwtAction = typing.Union[typing.Literal["DECODE_JWT"], typing.Any] diff --git a/src/auth0/management/types/flow_action_jwt_decode_jwt_type.py b/src/auth0/management/types/flow_action_jwt_decode_jwt_type.py new file mode 100644 index 00000000..3ef08297 --- /dev/null +++ b/src/auth0/management/types/flow_action_jwt_decode_jwt_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionJwtDecodeJwtType = typing.Union[typing.Literal["JWT"], typing.Any] diff --git a/src/auth0/management/types/flow_action_jwt_sign_jwt.py b/src/auth0/management/types/flow_action_jwt_sign_jwt.py index afcad722..eb545f4b 100644 --- a/src/auth0/management/types/flow_action_jwt_sign_jwt.py +++ b/src/auth0/management/types/flow_action_jwt_sign_jwt.py @@ -4,14 +4,16 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .flow_action_jwt_sign_jwt_action import FlowActionJwtSignJwtAction from .flow_action_jwt_sign_jwt_params import FlowActionJwtSignJwtParams +from .flow_action_jwt_sign_jwt_type import FlowActionJwtSignJwtType class FlowActionJwtSignJwt(UniversalBaseModel): id: str alias: typing.Optional[str] = None - type: typing.Literal["JWT"] = "JWT" - action: typing.Literal["SIGN_JWT"] = "SIGN_JWT" + type: FlowActionJwtSignJwtType + action: FlowActionJwtSignJwtAction allow_failure: typing.Optional[bool] = None mask_output: typing.Optional[bool] = None params: FlowActionJwtSignJwtParams diff --git a/src/auth0/management/types/flow_action_jwt_sign_jwt_action.py b/src/auth0/management/types/flow_action_jwt_sign_jwt_action.py new file mode 100644 index 00000000..1461e610 --- /dev/null +++ b/src/auth0/management/types/flow_action_jwt_sign_jwt_action.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionJwtSignJwtAction = typing.Union[typing.Literal["SIGN_JWT"], typing.Any] diff --git a/src/auth0/management/types/flow_action_jwt_sign_jwt_type.py b/src/auth0/management/types/flow_action_jwt_sign_jwt_type.py new file mode 100644 index 00000000..55fddecd --- /dev/null +++ b/src/auth0/management/types/flow_action_jwt_sign_jwt_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionJwtSignJwtType = typing.Union[typing.Literal["JWT"], typing.Any] diff --git a/src/auth0/management/types/flow_action_jwt_verify_jwt.py b/src/auth0/management/types/flow_action_jwt_verify_jwt.py index a7cd7e45..f022889f 100644 --- a/src/auth0/management/types/flow_action_jwt_verify_jwt.py +++ b/src/auth0/management/types/flow_action_jwt_verify_jwt.py @@ -4,14 +4,16 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .flow_action_jwt_verify_jwt_action import FlowActionJwtVerifyJwtAction from .flow_action_jwt_verify_jwt_params import FlowActionJwtVerifyJwtParams +from .flow_action_jwt_verify_jwt_type import FlowActionJwtVerifyJwtType class FlowActionJwtVerifyJwt(UniversalBaseModel): id: str alias: typing.Optional[str] = None - type: typing.Literal["JWT"] = "JWT" - action: typing.Literal["VERIFY_JWT"] = "VERIFY_JWT" + type: FlowActionJwtVerifyJwtType + action: FlowActionJwtVerifyJwtAction allow_failure: typing.Optional[bool] = None mask_output: typing.Optional[bool] = None params: FlowActionJwtVerifyJwtParams diff --git a/src/auth0/management/types/flow_action_jwt_verify_jwt_action.py b/src/auth0/management/types/flow_action_jwt_verify_jwt_action.py new file mode 100644 index 00000000..bda1cc46 --- /dev/null +++ b/src/auth0/management/types/flow_action_jwt_verify_jwt_action.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionJwtVerifyJwtAction = typing.Union[typing.Literal["VERIFY_JWT"], typing.Any] diff --git a/src/auth0/management/types/flow_action_jwt_verify_jwt_type.py b/src/auth0/management/types/flow_action_jwt_verify_jwt_type.py new file mode 100644 index 00000000..8d79d8aa --- /dev/null +++ b/src/auth0/management/types/flow_action_jwt_verify_jwt_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionJwtVerifyJwtType = typing.Union[typing.Literal["JWT"], typing.Any] diff --git a/src/auth0/management/types/flow_action_mailchimp_upsert_member.py b/src/auth0/management/types/flow_action_mailchimp_upsert_member.py index 369e4e33..6886f5da 100644 --- a/src/auth0/management/types/flow_action_mailchimp_upsert_member.py +++ b/src/auth0/management/types/flow_action_mailchimp_upsert_member.py @@ -4,14 +4,16 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .flow_action_mailchimp_upsert_member_action import FlowActionMailchimpUpsertMemberAction from .flow_action_mailchimp_upsert_member_params import FlowActionMailchimpUpsertMemberParams +from .flow_action_mailchimp_upsert_member_type import FlowActionMailchimpUpsertMemberType class FlowActionMailchimpUpsertMember(UniversalBaseModel): id: str alias: typing.Optional[str] = None - type: typing.Literal["MAILCHIMP"] = "MAILCHIMP" - action: typing.Literal["UPSERT_MEMBER"] = "UPSERT_MEMBER" + type: FlowActionMailchimpUpsertMemberType + action: FlowActionMailchimpUpsertMemberAction allow_failure: typing.Optional[bool] = None mask_output: typing.Optional[bool] = None params: FlowActionMailchimpUpsertMemberParams diff --git a/src/auth0/management/types/flow_action_mailchimp_upsert_member_action.py b/src/auth0/management/types/flow_action_mailchimp_upsert_member_action.py new file mode 100644 index 00000000..8e9f37d1 --- /dev/null +++ b/src/auth0/management/types/flow_action_mailchimp_upsert_member_action.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionMailchimpUpsertMemberAction = typing.Union[typing.Literal["UPSERT_MEMBER"], typing.Any] diff --git a/src/auth0/management/types/flow_action_mailchimp_upsert_member_type.py b/src/auth0/management/types/flow_action_mailchimp_upsert_member_type.py new file mode 100644 index 00000000..ca4b806f --- /dev/null +++ b/src/auth0/management/types/flow_action_mailchimp_upsert_member_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionMailchimpUpsertMemberType = typing.Union[typing.Literal["MAILCHIMP"], typing.Any] diff --git a/src/auth0/management/types/flow_action_mailjet_send_email.py b/src/auth0/management/types/flow_action_mailjet_send_email.py index 4c1727e7..c6f9280d 100644 --- a/src/auth0/management/types/flow_action_mailjet_send_email.py +++ b/src/auth0/management/types/flow_action_mailjet_send_email.py @@ -4,14 +4,16 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .flow_action_mailjet_send_email_action import FlowActionMailjetSendEmailAction from .flow_action_mailjet_send_email_params import FlowActionMailjetSendEmailParams +from .flow_action_mailjet_send_email_type import FlowActionMailjetSendEmailType class FlowActionMailjetSendEmail(UniversalBaseModel): id: str alias: typing.Optional[str] = None - type: typing.Literal["MAILJET"] = "MAILJET" - action: typing.Literal["SEND_EMAIL"] = "SEND_EMAIL" + type: FlowActionMailjetSendEmailType + action: FlowActionMailjetSendEmailAction allow_failure: typing.Optional[bool] = None mask_output: typing.Optional[bool] = None params: FlowActionMailjetSendEmailParams diff --git a/src/auth0/management/types/flow_action_mailjet_send_email_action.py b/src/auth0/management/types/flow_action_mailjet_send_email_action.py new file mode 100644 index 00000000..1066f8db --- /dev/null +++ b/src/auth0/management/types/flow_action_mailjet_send_email_action.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionMailjetSendEmailAction = typing.Union[typing.Literal["SEND_EMAIL"], typing.Any] diff --git a/src/auth0/management/types/flow_action_mailjet_send_email_type.py b/src/auth0/management/types/flow_action_mailjet_send_email_type.py new file mode 100644 index 00000000..ee7042c3 --- /dev/null +++ b/src/auth0/management/types/flow_action_mailjet_send_email_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionMailjetSendEmailType = typing.Union[typing.Literal["MAILJET"], typing.Any] diff --git a/src/auth0/management/types/flow_action_otp_generate_code.py b/src/auth0/management/types/flow_action_otp_generate_code.py index e85a3665..d7d339ed 100644 --- a/src/auth0/management/types/flow_action_otp_generate_code.py +++ b/src/auth0/management/types/flow_action_otp_generate_code.py @@ -4,14 +4,16 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .flow_action_otp_generate_code_action import FlowActionOtpGenerateCodeAction from .flow_action_otp_generate_code_params import FlowActionOtpGenerateCodeParams +from .flow_action_otp_generate_code_type import FlowActionOtpGenerateCodeType class FlowActionOtpGenerateCode(UniversalBaseModel): id: str alias: typing.Optional[str] = None - type: typing.Literal["OTP"] = "OTP" - action: typing.Literal["GENERATE_CODE"] = "GENERATE_CODE" + type: FlowActionOtpGenerateCodeType + action: FlowActionOtpGenerateCodeAction allow_failure: typing.Optional[bool] = None mask_output: typing.Optional[bool] = None params: FlowActionOtpGenerateCodeParams diff --git a/src/auth0/management/types/flow_action_otp_generate_code_action.py b/src/auth0/management/types/flow_action_otp_generate_code_action.py new file mode 100644 index 00000000..9ae300f2 --- /dev/null +++ b/src/auth0/management/types/flow_action_otp_generate_code_action.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionOtpGenerateCodeAction = typing.Union[typing.Literal["GENERATE_CODE"], typing.Any] diff --git a/src/auth0/management/types/flow_action_otp_generate_code_type.py b/src/auth0/management/types/flow_action_otp_generate_code_type.py new file mode 100644 index 00000000..689187b2 --- /dev/null +++ b/src/auth0/management/types/flow_action_otp_generate_code_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionOtpGenerateCodeType = typing.Union[typing.Literal["OTP"], typing.Any] diff --git a/src/auth0/management/types/flow_action_otp_verify_code.py b/src/auth0/management/types/flow_action_otp_verify_code.py index c86479d9..b04d47b4 100644 --- a/src/auth0/management/types/flow_action_otp_verify_code.py +++ b/src/auth0/management/types/flow_action_otp_verify_code.py @@ -4,14 +4,16 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .flow_action_otp_verify_code_action import FlowActionOtpVerifyCodeAction from .flow_action_otp_verify_code_params import FlowActionOtpVerifyCodeParams +from .flow_action_otp_verify_code_type import FlowActionOtpVerifyCodeType class FlowActionOtpVerifyCode(UniversalBaseModel): id: str alias: typing.Optional[str] = None - type: typing.Literal["OTP"] = "OTP" - action: typing.Literal["VERIFY_CODE"] = "VERIFY_CODE" + type: FlowActionOtpVerifyCodeType + action: FlowActionOtpVerifyCodeAction allow_failure: typing.Optional[bool] = None mask_output: typing.Optional[bool] = None params: FlowActionOtpVerifyCodeParams diff --git a/src/auth0/management/types/flow_action_otp_verify_code_action.py b/src/auth0/management/types/flow_action_otp_verify_code_action.py new file mode 100644 index 00000000..4331b0fe --- /dev/null +++ b/src/auth0/management/types/flow_action_otp_verify_code_action.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionOtpVerifyCodeAction = typing.Union[typing.Literal["VERIFY_CODE"], typing.Any] diff --git a/src/auth0/management/types/flow_action_otp_verify_code_type.py b/src/auth0/management/types/flow_action_otp_verify_code_type.py new file mode 100644 index 00000000..fce7a227 --- /dev/null +++ b/src/auth0/management/types/flow_action_otp_verify_code_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionOtpVerifyCodeType = typing.Union[typing.Literal["OTP"], typing.Any] diff --git a/src/auth0/management/types/flow_action_pipedrive_add_deal.py b/src/auth0/management/types/flow_action_pipedrive_add_deal.py index 67efc24d..1576c764 100644 --- a/src/auth0/management/types/flow_action_pipedrive_add_deal.py +++ b/src/auth0/management/types/flow_action_pipedrive_add_deal.py @@ -4,14 +4,16 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .flow_action_pipedrive_add_deal_action import FlowActionPipedriveAddDealAction from .flow_action_pipedrive_add_deal_params import FlowActionPipedriveAddDealParams +from .flow_action_pipedrive_add_deal_type import FlowActionPipedriveAddDealType class FlowActionPipedriveAddDeal(UniversalBaseModel): id: str alias: typing.Optional[str] = None - type: typing.Literal["PIPEDRIVE"] = "PIPEDRIVE" - action: typing.Literal["ADD_DEAL"] = "ADD_DEAL" + type: FlowActionPipedriveAddDealType + action: FlowActionPipedriveAddDealAction allow_failure: typing.Optional[bool] = None mask_output: typing.Optional[bool] = None params: FlowActionPipedriveAddDealParams diff --git a/src/auth0/management/types/flow_action_pipedrive_add_deal_action.py b/src/auth0/management/types/flow_action_pipedrive_add_deal_action.py new file mode 100644 index 00000000..0ec215c4 --- /dev/null +++ b/src/auth0/management/types/flow_action_pipedrive_add_deal_action.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionPipedriveAddDealAction = typing.Union[typing.Literal["ADD_DEAL"], typing.Any] diff --git a/src/auth0/management/types/flow_action_pipedrive_add_deal_type.py b/src/auth0/management/types/flow_action_pipedrive_add_deal_type.py new file mode 100644 index 00000000..2629a5b9 --- /dev/null +++ b/src/auth0/management/types/flow_action_pipedrive_add_deal_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionPipedriveAddDealType = typing.Union[typing.Literal["PIPEDRIVE"], typing.Any] diff --git a/src/auth0/management/types/flow_action_pipedrive_add_organization.py b/src/auth0/management/types/flow_action_pipedrive_add_organization.py index 6720c936..05a32590 100644 --- a/src/auth0/management/types/flow_action_pipedrive_add_organization.py +++ b/src/auth0/management/types/flow_action_pipedrive_add_organization.py @@ -4,14 +4,16 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .flow_action_pipedrive_add_organization_action import FlowActionPipedriveAddOrganizationAction from .flow_action_pipedrive_add_organization_params import FlowActionPipedriveAddOrganizationParams +from .flow_action_pipedrive_add_organization_type import FlowActionPipedriveAddOrganizationType class FlowActionPipedriveAddOrganization(UniversalBaseModel): id: str alias: typing.Optional[str] = None - type: typing.Literal["PIPEDRIVE"] = "PIPEDRIVE" - action: typing.Literal["ADD_ORGANIZATION"] = "ADD_ORGANIZATION" + type: FlowActionPipedriveAddOrganizationType + action: FlowActionPipedriveAddOrganizationAction allow_failure: typing.Optional[bool] = None mask_output: typing.Optional[bool] = None params: FlowActionPipedriveAddOrganizationParams diff --git a/src/auth0/management/types/flow_action_pipedrive_add_organization_action.py b/src/auth0/management/types/flow_action_pipedrive_add_organization_action.py new file mode 100644 index 00000000..0a69d92d --- /dev/null +++ b/src/auth0/management/types/flow_action_pipedrive_add_organization_action.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionPipedriveAddOrganizationAction = typing.Union[typing.Literal["ADD_ORGANIZATION"], typing.Any] diff --git a/src/auth0/management/types/flow_action_pipedrive_add_organization_type.py b/src/auth0/management/types/flow_action_pipedrive_add_organization_type.py new file mode 100644 index 00000000..0809fd55 --- /dev/null +++ b/src/auth0/management/types/flow_action_pipedrive_add_organization_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionPipedriveAddOrganizationType = typing.Union[typing.Literal["PIPEDRIVE"], typing.Any] diff --git a/src/auth0/management/types/flow_action_pipedrive_add_person.py b/src/auth0/management/types/flow_action_pipedrive_add_person.py index 5dc11dd3..7cd5a1d2 100644 --- a/src/auth0/management/types/flow_action_pipedrive_add_person.py +++ b/src/auth0/management/types/flow_action_pipedrive_add_person.py @@ -4,14 +4,16 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .flow_action_pipedrive_add_person_action import FlowActionPipedriveAddPersonAction from .flow_action_pipedrive_add_person_params import FlowActionPipedriveAddPersonParams +from .flow_action_pipedrive_add_person_type import FlowActionPipedriveAddPersonType class FlowActionPipedriveAddPerson(UniversalBaseModel): id: str alias: typing.Optional[str] = None - type: typing.Literal["PIPEDRIVE"] = "PIPEDRIVE" - action: typing.Literal["ADD_PERSON"] = "ADD_PERSON" + type: FlowActionPipedriveAddPersonType + action: FlowActionPipedriveAddPersonAction allow_failure: typing.Optional[bool] = None mask_output: typing.Optional[bool] = None params: FlowActionPipedriveAddPersonParams diff --git a/src/auth0/management/types/flow_action_pipedrive_add_person_action.py b/src/auth0/management/types/flow_action_pipedrive_add_person_action.py new file mode 100644 index 00000000..5605537b --- /dev/null +++ b/src/auth0/management/types/flow_action_pipedrive_add_person_action.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionPipedriveAddPersonAction = typing.Union[typing.Literal["ADD_PERSON"], typing.Any] diff --git a/src/auth0/management/types/flow_action_pipedrive_add_person_type.py b/src/auth0/management/types/flow_action_pipedrive_add_person_type.py new file mode 100644 index 00000000..ab06cb4c --- /dev/null +++ b/src/auth0/management/types/flow_action_pipedrive_add_person_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionPipedriveAddPersonType = typing.Union[typing.Literal["PIPEDRIVE"], typing.Any] diff --git a/src/auth0/management/types/flow_action_salesforce_create_lead.py b/src/auth0/management/types/flow_action_salesforce_create_lead.py index a768d954..a174bcd5 100644 --- a/src/auth0/management/types/flow_action_salesforce_create_lead.py +++ b/src/auth0/management/types/flow_action_salesforce_create_lead.py @@ -4,14 +4,16 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .flow_action_salesforce_create_lead_action import FlowActionSalesforceCreateLeadAction from .flow_action_salesforce_create_lead_params import FlowActionSalesforceCreateLeadParams +from .flow_action_salesforce_create_lead_type import FlowActionSalesforceCreateLeadType class FlowActionSalesforceCreateLead(UniversalBaseModel): id: str alias: typing.Optional[str] = None - type: typing.Literal["SALESFORCE"] = "SALESFORCE" - action: typing.Literal["CREATE_LEAD"] = "CREATE_LEAD" + type: FlowActionSalesforceCreateLeadType + action: FlowActionSalesforceCreateLeadAction allow_failure: typing.Optional[bool] = None mask_output: typing.Optional[bool] = None params: FlowActionSalesforceCreateLeadParams diff --git a/src/auth0/management/types/flow_action_salesforce_create_lead_action.py b/src/auth0/management/types/flow_action_salesforce_create_lead_action.py new file mode 100644 index 00000000..933fb2cf --- /dev/null +++ b/src/auth0/management/types/flow_action_salesforce_create_lead_action.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionSalesforceCreateLeadAction = typing.Union[typing.Literal["CREATE_LEAD"], typing.Any] diff --git a/src/auth0/management/types/flow_action_salesforce_create_lead_type.py b/src/auth0/management/types/flow_action_salesforce_create_lead_type.py new file mode 100644 index 00000000..c22c4032 --- /dev/null +++ b/src/auth0/management/types/flow_action_salesforce_create_lead_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionSalesforceCreateLeadType = typing.Union[typing.Literal["SALESFORCE"], typing.Any] diff --git a/src/auth0/management/types/flow_action_salesforce_get_lead.py b/src/auth0/management/types/flow_action_salesforce_get_lead.py index 058c12d4..7bac4323 100644 --- a/src/auth0/management/types/flow_action_salesforce_get_lead.py +++ b/src/auth0/management/types/flow_action_salesforce_get_lead.py @@ -4,14 +4,16 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .flow_action_salesforce_get_lead_action import FlowActionSalesforceGetLeadAction from .flow_action_salesforce_get_lead_params import FlowActionSalesforceGetLeadParams +from .flow_action_salesforce_get_lead_type import FlowActionSalesforceGetLeadType class FlowActionSalesforceGetLead(UniversalBaseModel): id: str alias: typing.Optional[str] = None - type: typing.Literal["SALESFORCE"] = "SALESFORCE" - action: typing.Literal["GET_LEAD"] = "GET_LEAD" + type: FlowActionSalesforceGetLeadType + action: FlowActionSalesforceGetLeadAction allow_failure: typing.Optional[bool] = None mask_output: typing.Optional[bool] = None params: FlowActionSalesforceGetLeadParams diff --git a/src/auth0/management/types/flow_action_salesforce_get_lead_action.py b/src/auth0/management/types/flow_action_salesforce_get_lead_action.py new file mode 100644 index 00000000..87fa2ec5 --- /dev/null +++ b/src/auth0/management/types/flow_action_salesforce_get_lead_action.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionSalesforceGetLeadAction = typing.Union[typing.Literal["GET_LEAD"], typing.Any] diff --git a/src/auth0/management/types/flow_action_salesforce_get_lead_type.py b/src/auth0/management/types/flow_action_salesforce_get_lead_type.py new file mode 100644 index 00000000..d170ca64 --- /dev/null +++ b/src/auth0/management/types/flow_action_salesforce_get_lead_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionSalesforceGetLeadType = typing.Union[typing.Literal["SALESFORCE"], typing.Any] diff --git a/src/auth0/management/types/flow_action_salesforce_search_leads.py b/src/auth0/management/types/flow_action_salesforce_search_leads.py index f0a77682..38472afd 100644 --- a/src/auth0/management/types/flow_action_salesforce_search_leads.py +++ b/src/auth0/management/types/flow_action_salesforce_search_leads.py @@ -4,14 +4,16 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .flow_action_salesforce_search_leads_action import FlowActionSalesforceSearchLeadsAction from .flow_action_salesforce_search_leads_params import FlowActionSalesforceSearchLeadsParams +from .flow_action_salesforce_search_leads_type import FlowActionSalesforceSearchLeadsType class FlowActionSalesforceSearchLeads(UniversalBaseModel): id: str alias: typing.Optional[str] = None - type: typing.Literal["SALESFORCE"] = "SALESFORCE" - action: typing.Literal["SEARCH_LEADS"] = "SEARCH_LEADS" + type: FlowActionSalesforceSearchLeadsType + action: FlowActionSalesforceSearchLeadsAction allow_failure: typing.Optional[bool] = None mask_output: typing.Optional[bool] = None params: FlowActionSalesforceSearchLeadsParams diff --git a/src/auth0/management/types/flow_action_salesforce_search_leads_action.py b/src/auth0/management/types/flow_action_salesforce_search_leads_action.py new file mode 100644 index 00000000..c60ed3d7 --- /dev/null +++ b/src/auth0/management/types/flow_action_salesforce_search_leads_action.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionSalesforceSearchLeadsAction = typing.Union[typing.Literal["SEARCH_LEADS"], typing.Any] diff --git a/src/auth0/management/types/flow_action_salesforce_search_leads_type.py b/src/auth0/management/types/flow_action_salesforce_search_leads_type.py new file mode 100644 index 00000000..2b89a6c5 --- /dev/null +++ b/src/auth0/management/types/flow_action_salesforce_search_leads_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionSalesforceSearchLeadsType = typing.Union[typing.Literal["SALESFORCE"], typing.Any] diff --git a/src/auth0/management/types/flow_action_salesforce_update_lead.py b/src/auth0/management/types/flow_action_salesforce_update_lead.py index 19500e2b..d696b578 100644 --- a/src/auth0/management/types/flow_action_salesforce_update_lead.py +++ b/src/auth0/management/types/flow_action_salesforce_update_lead.py @@ -4,14 +4,16 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .flow_action_salesforce_update_lead_action import FlowActionSalesforceUpdateLeadAction from .flow_action_salesforce_update_lead_params import FlowActionSalesforceUpdateLeadParams +from .flow_action_salesforce_update_lead_type import FlowActionSalesforceUpdateLeadType class FlowActionSalesforceUpdateLead(UniversalBaseModel): id: str alias: typing.Optional[str] = None - type: typing.Literal["SALESFORCE"] = "SALESFORCE" - action: typing.Literal["UPDATE_LEAD"] = "UPDATE_LEAD" + type: FlowActionSalesforceUpdateLeadType + action: FlowActionSalesforceUpdateLeadAction allow_failure: typing.Optional[bool] = None mask_output: typing.Optional[bool] = None params: FlowActionSalesforceUpdateLeadParams diff --git a/src/auth0/management/types/flow_action_salesforce_update_lead_action.py b/src/auth0/management/types/flow_action_salesforce_update_lead_action.py new file mode 100644 index 00000000..82544a87 --- /dev/null +++ b/src/auth0/management/types/flow_action_salesforce_update_lead_action.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionSalesforceUpdateLeadAction = typing.Union[typing.Literal["UPDATE_LEAD"], typing.Any] diff --git a/src/auth0/management/types/flow_action_salesforce_update_lead_type.py b/src/auth0/management/types/flow_action_salesforce_update_lead_type.py new file mode 100644 index 00000000..65a602eb --- /dev/null +++ b/src/auth0/management/types/flow_action_salesforce_update_lead_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionSalesforceUpdateLeadType = typing.Union[typing.Literal["SALESFORCE"], typing.Any] diff --git a/src/auth0/management/types/flow_action_sendgrid_send_email.py b/src/auth0/management/types/flow_action_sendgrid_send_email.py index 121cbaa8..07bf6c69 100644 --- a/src/auth0/management/types/flow_action_sendgrid_send_email.py +++ b/src/auth0/management/types/flow_action_sendgrid_send_email.py @@ -4,14 +4,16 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .flow_action_sendgrid_send_email_action import FlowActionSendgridSendEmailAction from .flow_action_sendgrid_send_email_params import FlowActionSendgridSendEmailParams +from .flow_action_sendgrid_send_email_type import FlowActionSendgridSendEmailType class FlowActionSendgridSendEmail(UniversalBaseModel): id: str alias: typing.Optional[str] = None - type: typing.Literal["SENDGRID"] = "SENDGRID" - action: typing.Literal["SEND_EMAIL"] = "SEND_EMAIL" + type: FlowActionSendgridSendEmailType + action: FlowActionSendgridSendEmailAction allow_failure: typing.Optional[bool] = None mask_output: typing.Optional[bool] = None params: FlowActionSendgridSendEmailParams diff --git a/src/auth0/management/types/flow_action_sendgrid_send_email_action.py b/src/auth0/management/types/flow_action_sendgrid_send_email_action.py new file mode 100644 index 00000000..4dcb59e6 --- /dev/null +++ b/src/auth0/management/types/flow_action_sendgrid_send_email_action.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionSendgridSendEmailAction = typing.Union[typing.Literal["SEND_EMAIL"], typing.Any] diff --git a/src/auth0/management/types/flow_action_sendgrid_send_email_params.py b/src/auth0/management/types/flow_action_sendgrid_send_email_params.py index 63cb457e..f220ded2 100644 --- a/src/auth0/management/types/flow_action_sendgrid_send_email_params.py +++ b/src/auth0/management/types/flow_action_sendgrid_send_email_params.py @@ -11,7 +11,9 @@ class FlowActionSendgridSendEmailParams(UniversalBaseModel): connection_id: str - from_: typing_extensions.Annotated[FlowActionSendgridSendEmailParamsPerson, FieldMetadata(alias="from")] + from_: typing_extensions.Annotated[FlowActionSendgridSendEmailParamsPerson, FieldMetadata(alias="from")] = ( + pydantic.Field(alias="from") + ) personalizations: typing.List[typing.Any] if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/flow_action_sendgrid_send_email_type.py b/src/auth0/management/types/flow_action_sendgrid_send_email_type.py new file mode 100644 index 00000000..c1be2d71 --- /dev/null +++ b/src/auth0/management/types/flow_action_sendgrid_send_email_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionSendgridSendEmailType = typing.Union[typing.Literal["SENDGRID"], typing.Any] diff --git a/src/auth0/management/types/flow_action_slack_post_message.py b/src/auth0/management/types/flow_action_slack_post_message.py index 1fe98285..32a3c789 100644 --- a/src/auth0/management/types/flow_action_slack_post_message.py +++ b/src/auth0/management/types/flow_action_slack_post_message.py @@ -4,14 +4,16 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .flow_action_slack_post_message_action import FlowActionSlackPostMessageAction from .flow_action_slack_post_message_params import FlowActionSlackPostMessageParams +from .flow_action_slack_post_message_type import FlowActionSlackPostMessageType class FlowActionSlackPostMessage(UniversalBaseModel): id: str alias: typing.Optional[str] = None - type: typing.Literal["SLACK"] = "SLACK" - action: typing.Literal["POST_MESSAGE"] = "POST_MESSAGE" + type: FlowActionSlackPostMessageType + action: FlowActionSlackPostMessageAction allow_failure: typing.Optional[bool] = None mask_output: typing.Optional[bool] = None params: FlowActionSlackPostMessageParams diff --git a/src/auth0/management/types/flow_action_slack_post_message_action.py b/src/auth0/management/types/flow_action_slack_post_message_action.py new file mode 100644 index 00000000..c04e61c3 --- /dev/null +++ b/src/auth0/management/types/flow_action_slack_post_message_action.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionSlackPostMessageAction = typing.Union[typing.Literal["POST_MESSAGE"], typing.Any] diff --git a/src/auth0/management/types/flow_action_slack_post_message_type.py b/src/auth0/management/types/flow_action_slack_post_message_type.py new file mode 100644 index 00000000..a3e8ecee --- /dev/null +++ b/src/auth0/management/types/flow_action_slack_post_message_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionSlackPostMessageType = typing.Union[typing.Literal["SLACK"], typing.Any] diff --git a/src/auth0/management/types/flow_action_stripe_add_tax_id.py b/src/auth0/management/types/flow_action_stripe_add_tax_id.py index 4147abee..fac204b4 100644 --- a/src/auth0/management/types/flow_action_stripe_add_tax_id.py +++ b/src/auth0/management/types/flow_action_stripe_add_tax_id.py @@ -4,14 +4,16 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .flow_action_stripe_add_tax_id_action import FlowActionStripeAddTaxIdAction from .flow_action_stripe_add_tax_id_params import FlowActionStripeAddTaxIdParams +from .flow_action_stripe_add_tax_id_type import FlowActionStripeAddTaxIdType class FlowActionStripeAddTaxId(UniversalBaseModel): id: str alias: typing.Optional[str] = None - type: typing.Literal["STRIPE"] = "STRIPE" - action: typing.Literal["ADD_TAX_ID"] = "ADD_TAX_ID" + type: FlowActionStripeAddTaxIdType + action: FlowActionStripeAddTaxIdAction allow_failure: typing.Optional[bool] = None mask_output: typing.Optional[bool] = None params: FlowActionStripeAddTaxIdParams diff --git a/src/auth0/management/types/flow_action_stripe_add_tax_id_action.py b/src/auth0/management/types/flow_action_stripe_add_tax_id_action.py new file mode 100644 index 00000000..5767d9c5 --- /dev/null +++ b/src/auth0/management/types/flow_action_stripe_add_tax_id_action.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionStripeAddTaxIdAction = typing.Union[typing.Literal["ADD_TAX_ID"], typing.Any] diff --git a/src/auth0/management/types/flow_action_stripe_add_tax_id_type.py b/src/auth0/management/types/flow_action_stripe_add_tax_id_type.py new file mode 100644 index 00000000..76a10a86 --- /dev/null +++ b/src/auth0/management/types/flow_action_stripe_add_tax_id_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionStripeAddTaxIdType = typing.Union[typing.Literal["STRIPE"], typing.Any] diff --git a/src/auth0/management/types/flow_action_stripe_address.py b/src/auth0/management/types/flow_action_stripe_address.py index 63427835..5249d9fd 100644 --- a/src/auth0/management/types/flow_action_stripe_address.py +++ b/src/auth0/management/types/flow_action_stripe_address.py @@ -9,9 +9,15 @@ class FlowActionStripeAddress(UniversalBaseModel): - line_1: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="line1")] = None - line_2: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="line2")] = None - postal_code: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="postalCode")] = None + line_1: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="line1")] = pydantic.Field( + alias="line1", default=None + ) + line_2: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="line2")] = pydantic.Field( + alias="line2", default=None + ) + postal_code: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="postalCode")] = pydantic.Field( + alias="postalCode", default=None + ) city: typing.Optional[str] = None state: typing.Optional[str] = None country: typing.Optional[str] = None diff --git a/src/auth0/management/types/flow_action_stripe_create_customer.py b/src/auth0/management/types/flow_action_stripe_create_customer.py index 64f2e5bd..9878e0a3 100644 --- a/src/auth0/management/types/flow_action_stripe_create_customer.py +++ b/src/auth0/management/types/flow_action_stripe_create_customer.py @@ -4,14 +4,16 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .flow_action_stripe_create_customer_action import FlowActionStripeCreateCustomerAction from .flow_action_stripe_create_customer_params import FlowActionStripeCreateCustomerParams +from .flow_action_stripe_create_customer_type import FlowActionStripeCreateCustomerType class FlowActionStripeCreateCustomer(UniversalBaseModel): id: str alias: typing.Optional[str] = None - type: typing.Literal["STRIPE"] = "STRIPE" - action: typing.Literal["CREATE_CUSTOMER"] = "CREATE_CUSTOMER" + type: FlowActionStripeCreateCustomerType + action: FlowActionStripeCreateCustomerAction allow_failure: typing.Optional[bool] = None mask_output: typing.Optional[bool] = None params: FlowActionStripeCreateCustomerParams diff --git a/src/auth0/management/types/flow_action_stripe_create_customer_action.py b/src/auth0/management/types/flow_action_stripe_create_customer_action.py new file mode 100644 index 00000000..eb69b1fe --- /dev/null +++ b/src/auth0/management/types/flow_action_stripe_create_customer_action.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionStripeCreateCustomerAction = typing.Union[typing.Literal["CREATE_CUSTOMER"], typing.Any] diff --git a/src/auth0/management/types/flow_action_stripe_create_customer_type.py b/src/auth0/management/types/flow_action_stripe_create_customer_type.py new file mode 100644 index 00000000..744e7e30 --- /dev/null +++ b/src/auth0/management/types/flow_action_stripe_create_customer_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionStripeCreateCustomerType = typing.Union[typing.Literal["STRIPE"], typing.Any] diff --git a/src/auth0/management/types/flow_action_stripe_create_portal_session.py b/src/auth0/management/types/flow_action_stripe_create_portal_session.py index 47df0acd..ad64d189 100644 --- a/src/auth0/management/types/flow_action_stripe_create_portal_session.py +++ b/src/auth0/management/types/flow_action_stripe_create_portal_session.py @@ -4,14 +4,16 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .flow_action_stripe_create_portal_session_action import FlowActionStripeCreatePortalSessionAction from .flow_action_stripe_create_portal_session_params import FlowActionStripeCreatePortalSessionParams +from .flow_action_stripe_create_portal_session_type import FlowActionStripeCreatePortalSessionType class FlowActionStripeCreatePortalSession(UniversalBaseModel): id: str alias: typing.Optional[str] = None - type: typing.Literal["STRIPE"] = "STRIPE" - action: typing.Literal["CREATE_PORTAL_SESSION"] = "CREATE_PORTAL_SESSION" + type: FlowActionStripeCreatePortalSessionType + action: FlowActionStripeCreatePortalSessionAction allow_failure: typing.Optional[bool] = None mask_output: typing.Optional[bool] = None params: FlowActionStripeCreatePortalSessionParams diff --git a/src/auth0/management/types/flow_action_stripe_create_portal_session_action.py b/src/auth0/management/types/flow_action_stripe_create_portal_session_action.py new file mode 100644 index 00000000..6cb46602 --- /dev/null +++ b/src/auth0/management/types/flow_action_stripe_create_portal_session_action.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionStripeCreatePortalSessionAction = typing.Union[typing.Literal["CREATE_PORTAL_SESSION"], typing.Any] diff --git a/src/auth0/management/types/flow_action_stripe_create_portal_session_type.py b/src/auth0/management/types/flow_action_stripe_create_portal_session_type.py new file mode 100644 index 00000000..d2682de2 --- /dev/null +++ b/src/auth0/management/types/flow_action_stripe_create_portal_session_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionStripeCreatePortalSessionType = typing.Union[typing.Literal["STRIPE"], typing.Any] diff --git a/src/auth0/management/types/flow_action_stripe_delete_tax_id.py b/src/auth0/management/types/flow_action_stripe_delete_tax_id.py index ac143f20..ba0ab16f 100644 --- a/src/auth0/management/types/flow_action_stripe_delete_tax_id.py +++ b/src/auth0/management/types/flow_action_stripe_delete_tax_id.py @@ -4,14 +4,16 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .flow_action_stripe_delete_tax_id_action import FlowActionStripeDeleteTaxIdAction from .flow_action_stripe_delete_tax_id_params import FlowActionStripeDeleteTaxIdParams +from .flow_action_stripe_delete_tax_id_type import FlowActionStripeDeleteTaxIdType class FlowActionStripeDeleteTaxId(UniversalBaseModel): id: str alias: typing.Optional[str] = None - type: typing.Literal["STRIPE"] = "STRIPE" - action: typing.Literal["DELETE_TAX_ID"] = "DELETE_TAX_ID" + type: FlowActionStripeDeleteTaxIdType + action: FlowActionStripeDeleteTaxIdAction allow_failure: typing.Optional[bool] = None mask_output: typing.Optional[bool] = None params: FlowActionStripeDeleteTaxIdParams diff --git a/src/auth0/management/types/flow_action_stripe_delete_tax_id_action.py b/src/auth0/management/types/flow_action_stripe_delete_tax_id_action.py new file mode 100644 index 00000000..a8c570be --- /dev/null +++ b/src/auth0/management/types/flow_action_stripe_delete_tax_id_action.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionStripeDeleteTaxIdAction = typing.Union[typing.Literal["DELETE_TAX_ID"], typing.Any] diff --git a/src/auth0/management/types/flow_action_stripe_delete_tax_id_type.py b/src/auth0/management/types/flow_action_stripe_delete_tax_id_type.py new file mode 100644 index 00000000..468a934d --- /dev/null +++ b/src/auth0/management/types/flow_action_stripe_delete_tax_id_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionStripeDeleteTaxIdType = typing.Union[typing.Literal["STRIPE"], typing.Any] diff --git a/src/auth0/management/types/flow_action_stripe_find_customers.py b/src/auth0/management/types/flow_action_stripe_find_customers.py index d576a224..de4a16fe 100644 --- a/src/auth0/management/types/flow_action_stripe_find_customers.py +++ b/src/auth0/management/types/flow_action_stripe_find_customers.py @@ -4,14 +4,16 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .flow_action_stripe_find_customers_action import FlowActionStripeFindCustomersAction from .flow_action_stripe_find_customers_params import FlowActionStripeFindCustomersParams +from .flow_action_stripe_find_customers_type import FlowActionStripeFindCustomersType class FlowActionStripeFindCustomers(UniversalBaseModel): id: str alias: typing.Optional[str] = None - type: typing.Literal["STRIPE"] = "STRIPE" - action: typing.Literal["FIND_CUSTOMERS"] = "FIND_CUSTOMERS" + type: FlowActionStripeFindCustomersType + action: FlowActionStripeFindCustomersAction allow_failure: typing.Optional[bool] = None mask_output: typing.Optional[bool] = None params: FlowActionStripeFindCustomersParams diff --git a/src/auth0/management/types/flow_action_stripe_find_customers_action.py b/src/auth0/management/types/flow_action_stripe_find_customers_action.py new file mode 100644 index 00000000..dc62cdc0 --- /dev/null +++ b/src/auth0/management/types/flow_action_stripe_find_customers_action.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionStripeFindCustomersAction = typing.Union[typing.Literal["FIND_CUSTOMERS"], typing.Any] diff --git a/src/auth0/management/types/flow_action_stripe_find_customers_type.py b/src/auth0/management/types/flow_action_stripe_find_customers_type.py new file mode 100644 index 00000000..dec543c7 --- /dev/null +++ b/src/auth0/management/types/flow_action_stripe_find_customers_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionStripeFindCustomersType = typing.Union[typing.Literal["STRIPE"], typing.Any] diff --git a/src/auth0/management/types/flow_action_stripe_get_customer.py b/src/auth0/management/types/flow_action_stripe_get_customer.py index 6ce61130..58430fad 100644 --- a/src/auth0/management/types/flow_action_stripe_get_customer.py +++ b/src/auth0/management/types/flow_action_stripe_get_customer.py @@ -4,14 +4,16 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .flow_action_stripe_get_customer_action import FlowActionStripeGetCustomerAction from .flow_action_stripe_get_customer_params import FlowActionStripeGetCustomerParams +from .flow_action_stripe_get_customer_type import FlowActionStripeGetCustomerType class FlowActionStripeGetCustomer(UniversalBaseModel): id: str alias: typing.Optional[str] = None - type: typing.Literal["STRIPE"] = "STRIPE" - action: typing.Literal["GET_CUSTOMER"] = "GET_CUSTOMER" + type: FlowActionStripeGetCustomerType + action: FlowActionStripeGetCustomerAction allow_failure: typing.Optional[bool] = None mask_output: typing.Optional[bool] = None params: FlowActionStripeGetCustomerParams diff --git a/src/auth0/management/types/flow_action_stripe_get_customer_action.py b/src/auth0/management/types/flow_action_stripe_get_customer_action.py new file mode 100644 index 00000000..1af68fd0 --- /dev/null +++ b/src/auth0/management/types/flow_action_stripe_get_customer_action.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionStripeGetCustomerAction = typing.Union[typing.Literal["GET_CUSTOMER"], typing.Any] diff --git a/src/auth0/management/types/flow_action_stripe_get_customer_type.py b/src/auth0/management/types/flow_action_stripe_get_customer_type.py new file mode 100644 index 00000000..aa897a75 --- /dev/null +++ b/src/auth0/management/types/flow_action_stripe_get_customer_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionStripeGetCustomerType = typing.Union[typing.Literal["STRIPE"], typing.Any] diff --git a/src/auth0/management/types/flow_action_stripe_update_customer.py b/src/auth0/management/types/flow_action_stripe_update_customer.py index 9f2b256a..c368cca9 100644 --- a/src/auth0/management/types/flow_action_stripe_update_customer.py +++ b/src/auth0/management/types/flow_action_stripe_update_customer.py @@ -4,14 +4,16 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .flow_action_stripe_update_customer_action import FlowActionStripeUpdateCustomerAction from .flow_action_stripe_update_customer_params import FlowActionStripeUpdateCustomerParams +from .flow_action_stripe_update_customer_type import FlowActionStripeUpdateCustomerType class FlowActionStripeUpdateCustomer(UniversalBaseModel): id: str alias: typing.Optional[str] = None - type: typing.Literal["STRIPE"] = "STRIPE" - action: typing.Literal["UPDATE_CUSTOMER"] = "UPDATE_CUSTOMER" + type: FlowActionStripeUpdateCustomerType + action: FlowActionStripeUpdateCustomerAction allow_failure: typing.Optional[bool] = None mask_output: typing.Optional[bool] = None params: FlowActionStripeUpdateCustomerParams diff --git a/src/auth0/management/types/flow_action_stripe_update_customer_action.py b/src/auth0/management/types/flow_action_stripe_update_customer_action.py new file mode 100644 index 00000000..ab78cc75 --- /dev/null +++ b/src/auth0/management/types/flow_action_stripe_update_customer_action.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionStripeUpdateCustomerAction = typing.Union[typing.Literal["UPDATE_CUSTOMER"], typing.Any] diff --git a/src/auth0/management/types/flow_action_stripe_update_customer_type.py b/src/auth0/management/types/flow_action_stripe_update_customer_type.py new file mode 100644 index 00000000..f6d637bd --- /dev/null +++ b/src/auth0/management/types/flow_action_stripe_update_customer_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionStripeUpdateCustomerType = typing.Union[typing.Literal["STRIPE"], typing.Any] diff --git a/src/auth0/management/types/flow_action_telegram_send_message.py b/src/auth0/management/types/flow_action_telegram_send_message.py index cb1a3e0c..9e85d33c 100644 --- a/src/auth0/management/types/flow_action_telegram_send_message.py +++ b/src/auth0/management/types/flow_action_telegram_send_message.py @@ -4,14 +4,16 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .flow_action_telegram_send_message_action import FlowActionTelegramSendMessageAction from .flow_action_telegram_send_message_params import FlowActionTelegramSendMessageParams +from .flow_action_telegram_send_message_type import FlowActionTelegramSendMessageType class FlowActionTelegramSendMessage(UniversalBaseModel): id: str alias: typing.Optional[str] = None - type: typing.Literal["TELEGRAM"] = "TELEGRAM" - action: typing.Literal["SEND_MESSAGE"] = "SEND_MESSAGE" + type: FlowActionTelegramSendMessageType + action: FlowActionTelegramSendMessageAction allow_failure: typing.Optional[bool] = None mask_output: typing.Optional[bool] = None params: FlowActionTelegramSendMessageParams diff --git a/src/auth0/management/types/flow_action_telegram_send_message_action.py b/src/auth0/management/types/flow_action_telegram_send_message_action.py new file mode 100644 index 00000000..6e0d38ed --- /dev/null +++ b/src/auth0/management/types/flow_action_telegram_send_message_action.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionTelegramSendMessageAction = typing.Union[typing.Literal["SEND_MESSAGE"], typing.Any] diff --git a/src/auth0/management/types/flow_action_telegram_send_message_type.py b/src/auth0/management/types/flow_action_telegram_send_message_type.py new file mode 100644 index 00000000..79e5d4c4 --- /dev/null +++ b/src/auth0/management/types/flow_action_telegram_send_message_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionTelegramSendMessageType = typing.Union[typing.Literal["TELEGRAM"], typing.Any] diff --git a/src/auth0/management/types/flow_action_twilio_make_call.py b/src/auth0/management/types/flow_action_twilio_make_call.py index 72a7151f..37da58ee 100644 --- a/src/auth0/management/types/flow_action_twilio_make_call.py +++ b/src/auth0/management/types/flow_action_twilio_make_call.py @@ -4,14 +4,16 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .flow_action_twilio_make_call_action import FlowActionTwilioMakeCallAction from .flow_action_twilio_make_call_params import FlowActionTwilioMakeCallParams +from .flow_action_twilio_make_call_type import FlowActionTwilioMakeCallType class FlowActionTwilioMakeCall(UniversalBaseModel): id: str alias: typing.Optional[str] = None - type: typing.Literal["TWILIO"] = "TWILIO" - action: typing.Literal["MAKE_CALL"] = "MAKE_CALL" + type: FlowActionTwilioMakeCallType + action: FlowActionTwilioMakeCallAction allow_failure: typing.Optional[bool] = None mask_output: typing.Optional[bool] = None params: FlowActionTwilioMakeCallParams diff --git a/src/auth0/management/types/flow_action_twilio_make_call_action.py b/src/auth0/management/types/flow_action_twilio_make_call_action.py new file mode 100644 index 00000000..26da85fe --- /dev/null +++ b/src/auth0/management/types/flow_action_twilio_make_call_action.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionTwilioMakeCallAction = typing.Union[typing.Literal["MAKE_CALL"], typing.Any] diff --git a/src/auth0/management/types/flow_action_twilio_make_call_params.py b/src/auth0/management/types/flow_action_twilio_make_call_params.py index dd23dfb7..55b05f99 100644 --- a/src/auth0/management/types/flow_action_twilio_make_call_params.py +++ b/src/auth0/management/types/flow_action_twilio_make_call_params.py @@ -10,7 +10,7 @@ class FlowActionTwilioMakeCallParams(UniversalBaseModel): connection_id: str - from_: typing_extensions.Annotated[str, FieldMetadata(alias="from")] + from_: typing_extensions.Annotated[str, FieldMetadata(alias="from")] = pydantic.Field(alias="from") to: str payload: str diff --git a/src/auth0/management/types/flow_action_twilio_make_call_type.py b/src/auth0/management/types/flow_action_twilio_make_call_type.py new file mode 100644 index 00000000..5ebc28f2 --- /dev/null +++ b/src/auth0/management/types/flow_action_twilio_make_call_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionTwilioMakeCallType = typing.Union[typing.Literal["TWILIO"], typing.Any] diff --git a/src/auth0/management/types/flow_action_twilio_send_sms.py b/src/auth0/management/types/flow_action_twilio_send_sms.py index d025d681..d8b350bf 100644 --- a/src/auth0/management/types/flow_action_twilio_send_sms.py +++ b/src/auth0/management/types/flow_action_twilio_send_sms.py @@ -4,14 +4,16 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .flow_action_twilio_send_sms_action import FlowActionTwilioSendSmsAction from .flow_action_twilio_send_sms_params import FlowActionTwilioSendSmsParams +from .flow_action_twilio_send_sms_type import FlowActionTwilioSendSmsType class FlowActionTwilioSendSms(UniversalBaseModel): id: str alias: typing.Optional[str] = None - type: typing.Literal["TWILIO"] = "TWILIO" - action: typing.Literal["SEND_SMS"] = "SEND_SMS" + type: FlowActionTwilioSendSmsType + action: FlowActionTwilioSendSmsAction allow_failure: typing.Optional[bool] = None mask_output: typing.Optional[bool] = None params: FlowActionTwilioSendSmsParams diff --git a/src/auth0/management/types/flow_action_twilio_send_sms_action.py b/src/auth0/management/types/flow_action_twilio_send_sms_action.py new file mode 100644 index 00000000..1b9e5a0a --- /dev/null +++ b/src/auth0/management/types/flow_action_twilio_send_sms_action.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionTwilioSendSmsAction = typing.Union[typing.Literal["SEND_SMS"], typing.Any] diff --git a/src/auth0/management/types/flow_action_twilio_send_sms_params.py b/src/auth0/management/types/flow_action_twilio_send_sms_params.py index 1c9d778e..9119e7d5 100644 --- a/src/auth0/management/types/flow_action_twilio_send_sms_params.py +++ b/src/auth0/management/types/flow_action_twilio_send_sms_params.py @@ -10,7 +10,7 @@ class FlowActionTwilioSendSmsParams(UniversalBaseModel): connection_id: str - from_: typing_extensions.Annotated[str, FieldMetadata(alias="from")] + from_: typing_extensions.Annotated[str, FieldMetadata(alias="from")] = pydantic.Field(alias="from") to: str message: str diff --git a/src/auth0/management/types/flow_action_twilio_send_sms_type.py b/src/auth0/management/types/flow_action_twilio_send_sms_type.py new file mode 100644 index 00000000..d50714bb --- /dev/null +++ b/src/auth0/management/types/flow_action_twilio_send_sms_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionTwilioSendSmsType = typing.Union[typing.Literal["TWILIO"], typing.Any] diff --git a/src/auth0/management/types/flow_action_whatsapp_send_message.py b/src/auth0/management/types/flow_action_whatsapp_send_message.py index e7100eee..a614bf4f 100644 --- a/src/auth0/management/types/flow_action_whatsapp_send_message.py +++ b/src/auth0/management/types/flow_action_whatsapp_send_message.py @@ -4,14 +4,16 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .flow_action_whatsapp_send_message_action import FlowActionWhatsappSendMessageAction from .flow_action_whatsapp_send_message_params import FlowActionWhatsappSendMessageParams +from .flow_action_whatsapp_send_message_type import FlowActionWhatsappSendMessageType class FlowActionWhatsappSendMessage(UniversalBaseModel): id: str alias: typing.Optional[str] = None - type: typing.Literal["WHATSAPP"] = "WHATSAPP" - action: typing.Literal["SEND_MESSAGE"] = "SEND_MESSAGE" + type: FlowActionWhatsappSendMessageType + action: FlowActionWhatsappSendMessageAction allow_failure: typing.Optional[bool] = None mask_output: typing.Optional[bool] = None params: FlowActionWhatsappSendMessageParams diff --git a/src/auth0/management/types/flow_action_whatsapp_send_message_action.py b/src/auth0/management/types/flow_action_whatsapp_send_message_action.py new file mode 100644 index 00000000..f0d33153 --- /dev/null +++ b/src/auth0/management/types/flow_action_whatsapp_send_message_action.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionWhatsappSendMessageAction = typing.Union[typing.Literal["SEND_MESSAGE"], typing.Any] diff --git a/src/auth0/management/types/flow_action_whatsapp_send_message_type.py b/src/auth0/management/types/flow_action_whatsapp_send_message_type.py new file mode 100644 index 00000000..f6b7aeb4 --- /dev/null +++ b/src/auth0/management/types/flow_action_whatsapp_send_message_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionWhatsappSendMessageType = typing.Union[typing.Literal["WHATSAPP"], typing.Any] diff --git a/src/auth0/management/types/flow_action_xml_parse_xml.py b/src/auth0/management/types/flow_action_xml_parse_xml.py index 96e942c1..0f7ee179 100644 --- a/src/auth0/management/types/flow_action_xml_parse_xml.py +++ b/src/auth0/management/types/flow_action_xml_parse_xml.py @@ -4,14 +4,16 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .flow_action_xml_parse_xml_action import FlowActionXmlParseXmlAction from .flow_action_xml_parse_xml_params import FlowActionXmlParseXmlParams +from .flow_action_xml_parse_xml_type import FlowActionXmlParseXmlType class FlowActionXmlParseXml(UniversalBaseModel): id: str alias: typing.Optional[str] = None - type: typing.Literal["XML"] = "XML" - action: typing.Literal["PARSE_XML"] = "PARSE_XML" + type: FlowActionXmlParseXmlType + action: FlowActionXmlParseXmlAction allow_failure: typing.Optional[bool] = None mask_output: typing.Optional[bool] = None params: FlowActionXmlParseXmlParams diff --git a/src/auth0/management/types/flow_action_xml_parse_xml_action.py b/src/auth0/management/types/flow_action_xml_parse_xml_action.py new file mode 100644 index 00000000..ea4b1179 --- /dev/null +++ b/src/auth0/management/types/flow_action_xml_parse_xml_action.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionXmlParseXmlAction = typing.Union[typing.Literal["PARSE_XML"], typing.Any] diff --git a/src/auth0/management/types/flow_action_xml_parse_xml_type.py b/src/auth0/management/types/flow_action_xml_parse_xml_type.py new file mode 100644 index 00000000..51085846 --- /dev/null +++ b/src/auth0/management/types/flow_action_xml_parse_xml_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionXmlParseXmlType = typing.Union[typing.Literal["XML"], typing.Any] diff --git a/src/auth0/management/types/flow_action_xml_serialize_xml.py b/src/auth0/management/types/flow_action_xml_serialize_xml.py index db48bf3c..1d2ce08d 100644 --- a/src/auth0/management/types/flow_action_xml_serialize_xml.py +++ b/src/auth0/management/types/flow_action_xml_serialize_xml.py @@ -4,14 +4,16 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .flow_action_xml_serialize_xml_action import FlowActionXmlSerializeXmlAction from .flow_action_xml_serialize_xml_params import FlowActionXmlSerializeXmlParams +from .flow_action_xml_serialize_xml_type import FlowActionXmlSerializeXmlType class FlowActionXmlSerializeXml(UniversalBaseModel): id: str alias: typing.Optional[str] = None - type: typing.Literal["XML"] = "XML" - action: typing.Literal["SERIALIZE_XML"] = "SERIALIZE_XML" + type: FlowActionXmlSerializeXmlType + action: FlowActionXmlSerializeXmlAction allow_failure: typing.Optional[bool] = None mask_output: typing.Optional[bool] = None params: FlowActionXmlSerializeXmlParams diff --git a/src/auth0/management/types/flow_action_xml_serialize_xml_action.py b/src/auth0/management/types/flow_action_xml_serialize_xml_action.py new file mode 100644 index 00000000..b8b91509 --- /dev/null +++ b/src/auth0/management/types/flow_action_xml_serialize_xml_action.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionXmlSerializeXmlAction = typing.Union[typing.Literal["SERIALIZE_XML"], typing.Any] diff --git a/src/auth0/management/types/flow_action_xml_serialize_xml_type.py b/src/auth0/management/types/flow_action_xml_serialize_xml_type.py new file mode 100644 index 00000000..b82cedd2 --- /dev/null +++ b/src/auth0/management/types/flow_action_xml_serialize_xml_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionXmlSerializeXmlType = typing.Union[typing.Literal["XML"], typing.Any] diff --git a/src/auth0/management/types/flow_action_zapier_trigger_webhook.py b/src/auth0/management/types/flow_action_zapier_trigger_webhook.py index 94c84030..c85853f4 100644 --- a/src/auth0/management/types/flow_action_zapier_trigger_webhook.py +++ b/src/auth0/management/types/flow_action_zapier_trigger_webhook.py @@ -4,14 +4,16 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .flow_action_zapier_trigger_webhook_action import FlowActionZapierTriggerWebhookAction from .flow_action_zapier_trigger_webhook_params import FlowActionZapierTriggerWebhookParams +from .flow_action_zapier_trigger_webhook_type import FlowActionZapierTriggerWebhookType class FlowActionZapierTriggerWebhook(UniversalBaseModel): id: str alias: typing.Optional[str] = None - type: typing.Literal["ZAPIER"] = "ZAPIER" - action: typing.Literal["TRIGGER_WEBHOOK"] = "TRIGGER_WEBHOOK" + type: FlowActionZapierTriggerWebhookType + action: FlowActionZapierTriggerWebhookAction allow_failure: typing.Optional[bool] = None mask_output: typing.Optional[bool] = None params: FlowActionZapierTriggerWebhookParams diff --git a/src/auth0/management/types/flow_action_zapier_trigger_webhook_action.py b/src/auth0/management/types/flow_action_zapier_trigger_webhook_action.py new file mode 100644 index 00000000..c0a6c778 --- /dev/null +++ b/src/auth0/management/types/flow_action_zapier_trigger_webhook_action.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionZapierTriggerWebhookAction = typing.Union[typing.Literal["TRIGGER_WEBHOOK"], typing.Any] diff --git a/src/auth0/management/types/flow_action_zapier_trigger_webhook_type.py b/src/auth0/management/types/flow_action_zapier_trigger_webhook_type.py new file mode 100644 index 00000000..845cd2bd --- /dev/null +++ b/src/auth0/management/types/flow_action_zapier_trigger_webhook_type.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowActionZapierTriggerWebhookType = typing.Union[typing.Literal["ZAPIER"], typing.Any] diff --git a/src/auth0/management/types/flows_vault_connectio_setup_api_key.py b/src/auth0/management/types/flows_vault_connectio_setup_api_key.py index c679df94..725d1271 100644 --- a/src/auth0/management/types/flows_vault_connectio_setup_api_key.py +++ b/src/auth0/management/types/flows_vault_connectio_setup_api_key.py @@ -8,7 +8,7 @@ class FlowsVaultConnectioSetupApiKey(UniversalBaseModel): - type: FlowsVaultConnectioSetupTypeApiKeyEnum = "API_KEY" + type: FlowsVaultConnectioSetupTypeApiKeyEnum api_key: str if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/flows_vault_connectio_setup_api_key_with_base_url.py b/src/auth0/management/types/flows_vault_connectio_setup_api_key_with_base_url.py index e70c6d9c..6b982245 100644 --- a/src/auth0/management/types/flows_vault_connectio_setup_api_key_with_base_url.py +++ b/src/auth0/management/types/flows_vault_connectio_setup_api_key_with_base_url.py @@ -8,7 +8,7 @@ class FlowsVaultConnectioSetupApiKeyWithBaseUrl(UniversalBaseModel): - type: FlowsVaultConnectioSetupTypeApiKeyEnum = "API_KEY" + type: FlowsVaultConnectioSetupTypeApiKeyEnum api_key: str base_url: str diff --git a/src/auth0/management/types/flows_vault_connectio_setup_http_bearer.py b/src/auth0/management/types/flows_vault_connectio_setup_http_bearer.py index 22c35639..d546d116 100644 --- a/src/auth0/management/types/flows_vault_connectio_setup_http_bearer.py +++ b/src/auth0/management/types/flows_vault_connectio_setup_http_bearer.py @@ -8,7 +8,7 @@ class FlowsVaultConnectioSetupHttpBearer(UniversalBaseModel): - type: FlowsVaultConnectioSetupTypeBearerEnum = "BEARER" + type: FlowsVaultConnectioSetupTypeBearerEnum token: str if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/flows_vault_connectio_setup_jwt.py b/src/auth0/management/types/flows_vault_connectio_setup_jwt.py index e56254b4..a7201f56 100644 --- a/src/auth0/management/types/flows_vault_connectio_setup_jwt.py +++ b/src/auth0/management/types/flows_vault_connectio_setup_jwt.py @@ -9,7 +9,7 @@ class FlowsVaultConnectioSetupJwt(UniversalBaseModel): - type: FlowsVaultConnectioSetupTypeJwtEnum = "JWT" + type: FlowsVaultConnectioSetupTypeJwtEnum algorithm: FlowsVaultConnectioSetupJwtAlgorithmEnum if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/flows_vault_connectio_setup_mailjet_api_key.py b/src/auth0/management/types/flows_vault_connectio_setup_mailjet_api_key.py index 94fe0001..eda7be42 100644 --- a/src/auth0/management/types/flows_vault_connectio_setup_mailjet_api_key.py +++ b/src/auth0/management/types/flows_vault_connectio_setup_mailjet_api_key.py @@ -8,7 +8,7 @@ class FlowsVaultConnectioSetupMailjetApiKey(UniversalBaseModel): - type: FlowsVaultConnectioSetupTypeApiKeyEnum = "API_KEY" + type: FlowsVaultConnectioSetupTypeApiKeyEnum api_key: str secret_key: str diff --git a/src/auth0/management/types/flows_vault_connectio_setup_oauth_app.py b/src/auth0/management/types/flows_vault_connectio_setup_oauth_app.py index 3fe0e117..e141fdfb 100644 --- a/src/auth0/management/types/flows_vault_connectio_setup_oauth_app.py +++ b/src/auth0/management/types/flows_vault_connectio_setup_oauth_app.py @@ -8,7 +8,7 @@ class FlowsVaultConnectioSetupOauthApp(UniversalBaseModel): - type: FlowsVaultConnectioSetupTypeOauthAppEnum = "OAUTH_APP" + type: FlowsVaultConnectioSetupTypeOauthAppEnum client_id: str client_secret: str domain: str diff --git a/src/auth0/management/types/flows_vault_connectio_setup_secret_api_key.py b/src/auth0/management/types/flows_vault_connectio_setup_secret_api_key.py index 8e7347d1..26311d86 100644 --- a/src/auth0/management/types/flows_vault_connectio_setup_secret_api_key.py +++ b/src/auth0/management/types/flows_vault_connectio_setup_secret_api_key.py @@ -8,7 +8,7 @@ class FlowsVaultConnectioSetupSecretApiKey(UniversalBaseModel): - type: FlowsVaultConnectioSetupTypeApiKeyEnum = "API_KEY" + type: FlowsVaultConnectioSetupTypeApiKeyEnum secret_key: str if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/flows_vault_connectio_setup_stripe_key_pair.py b/src/auth0/management/types/flows_vault_connectio_setup_stripe_key_pair.py index 7f4cf29f..d38a1ce1 100644 --- a/src/auth0/management/types/flows_vault_connectio_setup_stripe_key_pair.py +++ b/src/auth0/management/types/flows_vault_connectio_setup_stripe_key_pair.py @@ -8,7 +8,7 @@ class FlowsVaultConnectioSetupStripeKeyPair(UniversalBaseModel): - type: FlowsVaultConnectioSetupTypeKeyPairEnum = "KEY_PAIR" + type: FlowsVaultConnectioSetupTypeKeyPairEnum private_key: str public_key: str diff --git a/src/auth0/management/types/flows_vault_connectio_setup_token.py b/src/auth0/management/types/flows_vault_connectio_setup_token.py index 4744960a..6d1a8de4 100644 --- a/src/auth0/management/types/flows_vault_connectio_setup_token.py +++ b/src/auth0/management/types/flows_vault_connectio_setup_token.py @@ -8,7 +8,7 @@ class FlowsVaultConnectioSetupToken(UniversalBaseModel): - type: FlowsVaultConnectioSetupTypeTokenEnum = "TOKEN" + type: FlowsVaultConnectioSetupTypeTokenEnum token: str if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/flows_vault_connectio_setup_twilio_api_key.py b/src/auth0/management/types/flows_vault_connectio_setup_twilio_api_key.py index 9dee40e6..0faf2f7c 100644 --- a/src/auth0/management/types/flows_vault_connectio_setup_twilio_api_key.py +++ b/src/auth0/management/types/flows_vault_connectio_setup_twilio_api_key.py @@ -8,7 +8,7 @@ class FlowsVaultConnectioSetupTwilioApiKey(UniversalBaseModel): - type: FlowsVaultConnectioSetupTypeApiKeyEnum = "API_KEY" + type: FlowsVaultConnectioSetupTypeApiKeyEnum account_id: str api_key: str diff --git a/src/auth0/management/types/flows_vault_connectio_setup_type_api_key_enum.py b/src/auth0/management/types/flows_vault_connectio_setup_type_api_key_enum.py index 3c3362a4..e467b24c 100644 --- a/src/auth0/management/types/flows_vault_connectio_setup_type_api_key_enum.py +++ b/src/auth0/management/types/flows_vault_connectio_setup_type_api_key_enum.py @@ -2,4 +2,4 @@ import typing -FlowsVaultConnectioSetupTypeApiKeyEnum = typing.Literal["API_KEY"] +FlowsVaultConnectioSetupTypeApiKeyEnum = typing.Union[typing.Literal["API_KEY"], typing.Any] diff --git a/src/auth0/management/types/flows_vault_connectio_setup_type_bearer_enum.py b/src/auth0/management/types/flows_vault_connectio_setup_type_bearer_enum.py index 467a1e3b..87d71ccf 100644 --- a/src/auth0/management/types/flows_vault_connectio_setup_type_bearer_enum.py +++ b/src/auth0/management/types/flows_vault_connectio_setup_type_bearer_enum.py @@ -2,4 +2,4 @@ import typing -FlowsVaultConnectioSetupTypeBearerEnum = typing.Literal["BEARER"] +FlowsVaultConnectioSetupTypeBearerEnum = typing.Union[typing.Literal["BEARER"], typing.Any] diff --git a/src/auth0/management/types/flows_vault_connectio_setup_type_jwt_enum.py b/src/auth0/management/types/flows_vault_connectio_setup_type_jwt_enum.py index 9aa6bf2b..81e4dc47 100644 --- a/src/auth0/management/types/flows_vault_connectio_setup_type_jwt_enum.py +++ b/src/auth0/management/types/flows_vault_connectio_setup_type_jwt_enum.py @@ -2,4 +2,4 @@ import typing -FlowsVaultConnectioSetupTypeJwtEnum = typing.Literal["JWT"] +FlowsVaultConnectioSetupTypeJwtEnum = typing.Union[typing.Literal["JWT"], typing.Any] diff --git a/src/auth0/management/types/flows_vault_connectio_setup_type_key_pair_enum.py b/src/auth0/management/types/flows_vault_connectio_setup_type_key_pair_enum.py index 614187b5..8a702a18 100644 --- a/src/auth0/management/types/flows_vault_connectio_setup_type_key_pair_enum.py +++ b/src/auth0/management/types/flows_vault_connectio_setup_type_key_pair_enum.py @@ -2,4 +2,4 @@ import typing -FlowsVaultConnectioSetupTypeKeyPairEnum = typing.Literal["KEY_PAIR"] +FlowsVaultConnectioSetupTypeKeyPairEnum = typing.Union[typing.Literal["KEY_PAIR"], typing.Any] diff --git a/src/auth0/management/types/flows_vault_connectio_setup_type_oauth_app_enum.py b/src/auth0/management/types/flows_vault_connectio_setup_type_oauth_app_enum.py index d41ef949..1517f8d8 100644 --- a/src/auth0/management/types/flows_vault_connectio_setup_type_oauth_app_enum.py +++ b/src/auth0/management/types/flows_vault_connectio_setup_type_oauth_app_enum.py @@ -2,4 +2,4 @@ import typing -FlowsVaultConnectioSetupTypeOauthAppEnum = typing.Literal["OAUTH_APP"] +FlowsVaultConnectioSetupTypeOauthAppEnum = typing.Union[typing.Literal["OAUTH_APP"], typing.Any] diff --git a/src/auth0/management/types/flows_vault_connectio_setup_type_oauth_code_enum.py b/src/auth0/management/types/flows_vault_connectio_setup_type_oauth_code_enum.py index 7c82a7f5..6462d1c9 100644 --- a/src/auth0/management/types/flows_vault_connectio_setup_type_oauth_code_enum.py +++ b/src/auth0/management/types/flows_vault_connectio_setup_type_oauth_code_enum.py @@ -2,4 +2,4 @@ import typing -FlowsVaultConnectioSetupTypeOauthCodeEnum = typing.Literal["OAUTH_CODE"] +FlowsVaultConnectioSetupTypeOauthCodeEnum = typing.Union[typing.Literal["OAUTH_CODE"], typing.Any] diff --git a/src/auth0/management/types/flows_vault_connectio_setup_type_oauth_jwt_enum.py b/src/auth0/management/types/flows_vault_connectio_setup_type_oauth_jwt_enum.py index 70283758..cf127c24 100644 --- a/src/auth0/management/types/flows_vault_connectio_setup_type_oauth_jwt_enum.py +++ b/src/auth0/management/types/flows_vault_connectio_setup_type_oauth_jwt_enum.py @@ -2,4 +2,4 @@ import typing -FlowsVaultConnectioSetupTypeOauthJwtEnum = typing.Literal["OAUTH_JWT"] +FlowsVaultConnectioSetupTypeOauthJwtEnum = typing.Union[typing.Literal["OAUTH_JWT"], typing.Any] diff --git a/src/auth0/management/types/flows_vault_connectio_setup_type_token_enum.py b/src/auth0/management/types/flows_vault_connectio_setup_type_token_enum.py index 2b928c5c..be305a06 100644 --- a/src/auth0/management/types/flows_vault_connectio_setup_type_token_enum.py +++ b/src/auth0/management/types/flows_vault_connectio_setup_type_token_enum.py @@ -2,4 +2,4 @@ import typing -FlowsVaultConnectioSetupTypeTokenEnum = typing.Literal["TOKEN"] +FlowsVaultConnectioSetupTypeTokenEnum = typing.Union[typing.Literal["TOKEN"], typing.Any] diff --git a/src/auth0/management/types/flows_vault_connectio_setup_type_webhook_enum.py b/src/auth0/management/types/flows_vault_connectio_setup_type_webhook_enum.py index 1d358071..5849bdce 100644 --- a/src/auth0/management/types/flows_vault_connectio_setup_type_webhook_enum.py +++ b/src/auth0/management/types/flows_vault_connectio_setup_type_webhook_enum.py @@ -2,4 +2,4 @@ import typing -FlowsVaultConnectioSetupTypeWebhookEnum = typing.Literal["WEBHOOK"] +FlowsVaultConnectioSetupTypeWebhookEnum = typing.Union[typing.Literal["WEBHOOK"], typing.Any] diff --git a/src/auth0/management/types/flows_vault_connectio_setup_webhook.py b/src/auth0/management/types/flows_vault_connectio_setup_webhook.py index ac5a33f7..74d40196 100644 --- a/src/auth0/management/types/flows_vault_connectio_setup_webhook.py +++ b/src/auth0/management/types/flows_vault_connectio_setup_webhook.py @@ -8,7 +8,7 @@ class FlowsVaultConnectioSetupWebhook(UniversalBaseModel): - type: FlowsVaultConnectioSetupTypeWebhookEnum = "WEBHOOK" + type: FlowsVaultConnectioSetupTypeWebhookEnum url: str if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/flows_vault_connection_app_id_activecampaign_enum.py b/src/auth0/management/types/flows_vault_connection_app_id_activecampaign_enum.py index 448e1671..f9b1d61d 100644 --- a/src/auth0/management/types/flows_vault_connection_app_id_activecampaign_enum.py +++ b/src/auth0/management/types/flows_vault_connection_app_id_activecampaign_enum.py @@ -2,4 +2,4 @@ import typing -FlowsVaultConnectionAppIdActivecampaignEnum = typing.Literal["ACTIVECAMPAIGN"] +FlowsVaultConnectionAppIdActivecampaignEnum = typing.Union[typing.Literal["ACTIVECAMPAIGN"], typing.Any] diff --git a/src/auth0/management/types/flows_vault_connection_app_id_airtable_enum.py b/src/auth0/management/types/flows_vault_connection_app_id_airtable_enum.py index b9b6f5da..d4e36014 100644 --- a/src/auth0/management/types/flows_vault_connection_app_id_airtable_enum.py +++ b/src/auth0/management/types/flows_vault_connection_app_id_airtable_enum.py @@ -2,4 +2,4 @@ import typing -FlowsVaultConnectionAppIdAirtableEnum = typing.Literal["AIRTABLE"] +FlowsVaultConnectionAppIdAirtableEnum = typing.Union[typing.Literal["AIRTABLE"], typing.Any] diff --git a/src/auth0/management/types/flows_vault_connection_app_id_auth_0_enum.py b/src/auth0/management/types/flows_vault_connection_app_id_auth_0_enum.py index a0971717..95d39d04 100644 --- a/src/auth0/management/types/flows_vault_connection_app_id_auth_0_enum.py +++ b/src/auth0/management/types/flows_vault_connection_app_id_auth_0_enum.py @@ -2,4 +2,4 @@ import typing -FlowsVaultConnectionAppIdAuth0Enum = typing.Literal["AUTH0"] +FlowsVaultConnectionAppIdAuth0Enum = typing.Union[typing.Literal["AUTH0"], typing.Any] diff --git a/src/auth0/management/types/flows_vault_connection_app_id_bigquery_enum.py b/src/auth0/management/types/flows_vault_connection_app_id_bigquery_enum.py index b6c20d72..aea8ffca 100644 --- a/src/auth0/management/types/flows_vault_connection_app_id_bigquery_enum.py +++ b/src/auth0/management/types/flows_vault_connection_app_id_bigquery_enum.py @@ -2,4 +2,4 @@ import typing -FlowsVaultConnectionAppIdBigqueryEnum = typing.Literal["BIGQUERY"] +FlowsVaultConnectionAppIdBigqueryEnum = typing.Union[typing.Literal["BIGQUERY"], typing.Any] diff --git a/src/auth0/management/types/flows_vault_connection_app_id_clearbit_enum.py b/src/auth0/management/types/flows_vault_connection_app_id_clearbit_enum.py index 3f66c710..057ac91b 100644 --- a/src/auth0/management/types/flows_vault_connection_app_id_clearbit_enum.py +++ b/src/auth0/management/types/flows_vault_connection_app_id_clearbit_enum.py @@ -2,4 +2,4 @@ import typing -FlowsVaultConnectionAppIdClearbitEnum = typing.Literal["CLEARBIT"] +FlowsVaultConnectionAppIdClearbitEnum = typing.Union[typing.Literal["CLEARBIT"], typing.Any] diff --git a/src/auth0/management/types/flows_vault_connection_app_id_docusign_enum.py b/src/auth0/management/types/flows_vault_connection_app_id_docusign_enum.py index 0ebf1593..3bf1e20d 100644 --- a/src/auth0/management/types/flows_vault_connection_app_id_docusign_enum.py +++ b/src/auth0/management/types/flows_vault_connection_app_id_docusign_enum.py @@ -2,4 +2,4 @@ import typing -FlowsVaultConnectionAppIdDocusignEnum = typing.Literal["DOCUSIGN"] +FlowsVaultConnectionAppIdDocusignEnum = typing.Union[typing.Literal["DOCUSIGN"], typing.Any] diff --git a/src/auth0/management/types/flows_vault_connection_app_id_google_sheets_enum.py b/src/auth0/management/types/flows_vault_connection_app_id_google_sheets_enum.py index c6a612b2..2c16b828 100644 --- a/src/auth0/management/types/flows_vault_connection_app_id_google_sheets_enum.py +++ b/src/auth0/management/types/flows_vault_connection_app_id_google_sheets_enum.py @@ -2,4 +2,4 @@ import typing -FlowsVaultConnectionAppIdGoogleSheetsEnum = typing.Literal["GOOGLE_SHEETS"] +FlowsVaultConnectionAppIdGoogleSheetsEnum = typing.Union[typing.Literal["GOOGLE_SHEETS"], typing.Any] diff --git a/src/auth0/management/types/flows_vault_connection_app_id_http_enum.py b/src/auth0/management/types/flows_vault_connection_app_id_http_enum.py index 9b3cb028..65d8a960 100644 --- a/src/auth0/management/types/flows_vault_connection_app_id_http_enum.py +++ b/src/auth0/management/types/flows_vault_connection_app_id_http_enum.py @@ -2,4 +2,4 @@ import typing -FlowsVaultConnectionAppIdHttpEnum = typing.Literal["HTTP"] +FlowsVaultConnectionAppIdHttpEnum = typing.Union[typing.Literal["HTTP"], typing.Any] diff --git a/src/auth0/management/types/flows_vault_connection_app_id_hubspot_enum.py b/src/auth0/management/types/flows_vault_connection_app_id_hubspot_enum.py index ecb12d12..b73415cf 100644 --- a/src/auth0/management/types/flows_vault_connection_app_id_hubspot_enum.py +++ b/src/auth0/management/types/flows_vault_connection_app_id_hubspot_enum.py @@ -2,4 +2,4 @@ import typing -FlowsVaultConnectionAppIdHubspotEnum = typing.Literal["HUBSPOT"] +FlowsVaultConnectionAppIdHubspotEnum = typing.Union[typing.Literal["HUBSPOT"], typing.Any] diff --git a/src/auth0/management/types/flows_vault_connection_app_id_jwt_enum.py b/src/auth0/management/types/flows_vault_connection_app_id_jwt_enum.py index 6826a82c..6a94c024 100644 --- a/src/auth0/management/types/flows_vault_connection_app_id_jwt_enum.py +++ b/src/auth0/management/types/flows_vault_connection_app_id_jwt_enum.py @@ -2,4 +2,4 @@ import typing -FlowsVaultConnectionAppIdJwtEnum = typing.Literal["JWT"] +FlowsVaultConnectionAppIdJwtEnum = typing.Union[typing.Literal["JWT"], typing.Any] diff --git a/src/auth0/management/types/flows_vault_connection_app_id_mailchimp_enum.py b/src/auth0/management/types/flows_vault_connection_app_id_mailchimp_enum.py index a5c04a7b..e2d965d7 100644 --- a/src/auth0/management/types/flows_vault_connection_app_id_mailchimp_enum.py +++ b/src/auth0/management/types/flows_vault_connection_app_id_mailchimp_enum.py @@ -2,4 +2,4 @@ import typing -FlowsVaultConnectionAppIdMailchimpEnum = typing.Literal["MAILCHIMP"] +FlowsVaultConnectionAppIdMailchimpEnum = typing.Union[typing.Literal["MAILCHIMP"], typing.Any] diff --git a/src/auth0/management/types/flows_vault_connection_app_id_mailjet_enum.py b/src/auth0/management/types/flows_vault_connection_app_id_mailjet_enum.py index 5718ef46..546f6c4d 100644 --- a/src/auth0/management/types/flows_vault_connection_app_id_mailjet_enum.py +++ b/src/auth0/management/types/flows_vault_connection_app_id_mailjet_enum.py @@ -2,4 +2,4 @@ import typing -FlowsVaultConnectionAppIdMailjetEnum = typing.Literal["MAILJET"] +FlowsVaultConnectionAppIdMailjetEnum = typing.Union[typing.Literal["MAILJET"], typing.Any] diff --git a/src/auth0/management/types/flows_vault_connection_app_id_pipedrive_enum.py b/src/auth0/management/types/flows_vault_connection_app_id_pipedrive_enum.py index 20b0f35e..fd0eaf63 100644 --- a/src/auth0/management/types/flows_vault_connection_app_id_pipedrive_enum.py +++ b/src/auth0/management/types/flows_vault_connection_app_id_pipedrive_enum.py @@ -2,4 +2,4 @@ import typing -FlowsVaultConnectionAppIdPipedriveEnum = typing.Literal["PIPEDRIVE"] +FlowsVaultConnectionAppIdPipedriveEnum = typing.Union[typing.Literal["PIPEDRIVE"], typing.Any] diff --git a/src/auth0/management/types/flows_vault_connection_app_id_salesforce_enum.py b/src/auth0/management/types/flows_vault_connection_app_id_salesforce_enum.py index 1e32fd98..31060342 100644 --- a/src/auth0/management/types/flows_vault_connection_app_id_salesforce_enum.py +++ b/src/auth0/management/types/flows_vault_connection_app_id_salesforce_enum.py @@ -2,4 +2,4 @@ import typing -FlowsVaultConnectionAppIdSalesforceEnum = typing.Literal["SALESFORCE"] +FlowsVaultConnectionAppIdSalesforceEnum = typing.Union[typing.Literal["SALESFORCE"], typing.Any] diff --git a/src/auth0/management/types/flows_vault_connection_app_id_sendgrid_enum.py b/src/auth0/management/types/flows_vault_connection_app_id_sendgrid_enum.py index b21a3237..e4842d89 100644 --- a/src/auth0/management/types/flows_vault_connection_app_id_sendgrid_enum.py +++ b/src/auth0/management/types/flows_vault_connection_app_id_sendgrid_enum.py @@ -2,4 +2,4 @@ import typing -FlowsVaultConnectionAppIdSendgridEnum = typing.Literal["SENDGRID"] +FlowsVaultConnectionAppIdSendgridEnum = typing.Union[typing.Literal["SENDGRID"], typing.Any] diff --git a/src/auth0/management/types/flows_vault_connection_app_id_slack_enum.py b/src/auth0/management/types/flows_vault_connection_app_id_slack_enum.py index 150eb84e..d9eb9382 100644 --- a/src/auth0/management/types/flows_vault_connection_app_id_slack_enum.py +++ b/src/auth0/management/types/flows_vault_connection_app_id_slack_enum.py @@ -2,4 +2,4 @@ import typing -FlowsVaultConnectionAppIdSlackEnum = typing.Literal["SLACK"] +FlowsVaultConnectionAppIdSlackEnum = typing.Union[typing.Literal["SLACK"], typing.Any] diff --git a/src/auth0/management/types/flows_vault_connection_app_id_stripe_enum.py b/src/auth0/management/types/flows_vault_connection_app_id_stripe_enum.py index 575ca3b8..91f37c03 100644 --- a/src/auth0/management/types/flows_vault_connection_app_id_stripe_enum.py +++ b/src/auth0/management/types/flows_vault_connection_app_id_stripe_enum.py @@ -2,4 +2,4 @@ import typing -FlowsVaultConnectionAppIdStripeEnum = typing.Literal["STRIPE"] +FlowsVaultConnectionAppIdStripeEnum = typing.Union[typing.Literal["STRIPE"], typing.Any] diff --git a/src/auth0/management/types/flows_vault_connection_app_id_telegram_enum.py b/src/auth0/management/types/flows_vault_connection_app_id_telegram_enum.py index 040c136f..920f0b56 100644 --- a/src/auth0/management/types/flows_vault_connection_app_id_telegram_enum.py +++ b/src/auth0/management/types/flows_vault_connection_app_id_telegram_enum.py @@ -2,4 +2,4 @@ import typing -FlowsVaultConnectionAppIdTelegramEnum = typing.Literal["TELEGRAM"] +FlowsVaultConnectionAppIdTelegramEnum = typing.Union[typing.Literal["TELEGRAM"], typing.Any] diff --git a/src/auth0/management/types/flows_vault_connection_app_id_twilio_enum.py b/src/auth0/management/types/flows_vault_connection_app_id_twilio_enum.py index 0d4c296a..9895bbe2 100644 --- a/src/auth0/management/types/flows_vault_connection_app_id_twilio_enum.py +++ b/src/auth0/management/types/flows_vault_connection_app_id_twilio_enum.py @@ -2,4 +2,4 @@ import typing -FlowsVaultConnectionAppIdTwilioEnum = typing.Literal["TWILIO"] +FlowsVaultConnectionAppIdTwilioEnum = typing.Union[typing.Literal["TWILIO"], typing.Any] diff --git a/src/auth0/management/types/flows_vault_connection_app_id_whatsapp_enum.py b/src/auth0/management/types/flows_vault_connection_app_id_whatsapp_enum.py index a62be16b..e0e2ae77 100644 --- a/src/auth0/management/types/flows_vault_connection_app_id_whatsapp_enum.py +++ b/src/auth0/management/types/flows_vault_connection_app_id_whatsapp_enum.py @@ -2,4 +2,4 @@ import typing -FlowsVaultConnectionAppIdWhatsappEnum = typing.Literal["WHATSAPP"] +FlowsVaultConnectionAppIdWhatsappEnum = typing.Union[typing.Literal["WHATSAPP"], typing.Any] diff --git a/src/auth0/management/types/flows_vault_connection_app_id_zapier_enum.py b/src/auth0/management/types/flows_vault_connection_app_id_zapier_enum.py index 4131ab99..ddb85eff 100644 --- a/src/auth0/management/types/flows_vault_connection_app_id_zapier_enum.py +++ b/src/auth0/management/types/flows_vault_connection_app_id_zapier_enum.py @@ -2,4 +2,4 @@ import typing -FlowsVaultConnectionAppIdZapierEnum = typing.Literal["ZAPIER"] +FlowsVaultConnectionAppIdZapierEnum = typing.Union[typing.Literal["ZAPIER"], typing.Any] diff --git a/src/auth0/management/types/flows_vault_connection_http_basic_auth_setup.py b/src/auth0/management/types/flows_vault_connection_http_basic_auth_setup.py new file mode 100644 index 00000000..137a6384 --- /dev/null +++ b/src/auth0/management/types/flows_vault_connection_http_basic_auth_setup.py @@ -0,0 +1,22 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .flows_vault_connection_setup_type_basic_auth_enum import FlowsVaultConnectionSetupTypeBasicAuthEnum + + +class FlowsVaultConnectionHttpBasicAuthSetup(UniversalBaseModel): + type: FlowsVaultConnectionSetupTypeBasicAuthEnum + username: str + password: typing.Optional[str] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/flows_vault_connection_setup_type_basic_auth_enum.py b/src/auth0/management/types/flows_vault_connection_setup_type_basic_auth_enum.py new file mode 100644 index 00000000..462c3ff6 --- /dev/null +++ b/src/auth0/management/types/flows_vault_connection_setup_type_basic_auth_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +FlowsVaultConnectionSetupTypeBasicAuthEnum = typing.Union[typing.Literal["BASIC_AUTH"], typing.Any] diff --git a/src/auth0/management/types/form_block_divider.py b/src/auth0/management/types/form_block_divider.py index 88c528ba..1bd3d1af 100644 --- a/src/auth0/management/types/form_block_divider.py +++ b/src/auth0/management/types/form_block_divider.py @@ -11,8 +11,8 @@ class FormBlockDivider(UniversalBaseModel): id: str - category: FormComponentCategoryBlockConst = "BLOCK" - type: FormBlockTypeDividerConst = "DIVIDER" + category: FormComponentCategoryBlockConst + type: FormBlockTypeDividerConst config: typing.Optional[FormBlockDividerConfig] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/form_block_html.py b/src/auth0/management/types/form_block_html.py index d47cd5f6..a534d771 100644 --- a/src/auth0/management/types/form_block_html.py +++ b/src/auth0/management/types/form_block_html.py @@ -11,8 +11,8 @@ class FormBlockHtml(UniversalBaseModel): id: str - category: FormComponentCategoryBlockConst = "BLOCK" - type: FormBlockTypeHtmlConst = "HTML" + category: FormComponentCategoryBlockConst + type: FormBlockTypeHtmlConst config: typing.Optional[FormBlockHtmlConfig] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/form_block_image.py b/src/auth0/management/types/form_block_image.py index 9e9fefcc..3da77044 100644 --- a/src/auth0/management/types/form_block_image.py +++ b/src/auth0/management/types/form_block_image.py @@ -11,8 +11,8 @@ class FormBlockImage(UniversalBaseModel): id: str - category: FormComponentCategoryBlockConst = "BLOCK" - type: FormBlockTypeImageConst = "IMAGE" + category: FormComponentCategoryBlockConst + type: FormBlockTypeImageConst config: typing.Optional[FormBlockImageConfig] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/form_block_jump_button.py b/src/auth0/management/types/form_block_jump_button.py index dc3432fd..cc6d342f 100644 --- a/src/auth0/management/types/form_block_jump_button.py +++ b/src/auth0/management/types/form_block_jump_button.py @@ -11,8 +11,8 @@ class FormBlockJumpButton(UniversalBaseModel): id: str - category: FormComponentCategoryBlockConst = "BLOCK" - type: FormBlockTypeJumpButtonConst = "JUMP_BUTTON" + category: FormComponentCategoryBlockConst + type: FormBlockTypeJumpButtonConst config: FormBlockJumpButtonConfig if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/form_block_next_button.py b/src/auth0/management/types/form_block_next_button.py index f3b0a278..cb25804c 100644 --- a/src/auth0/management/types/form_block_next_button.py +++ b/src/auth0/management/types/form_block_next_button.py @@ -11,8 +11,8 @@ class FormBlockNextButton(UniversalBaseModel): id: str - category: FormComponentCategoryBlockConst = "BLOCK" - type: FormBlockTypeNextButtonConst = "NEXT_BUTTON" + category: FormComponentCategoryBlockConst + type: FormBlockTypeNextButtonConst config: FormBlockNextButtonConfig if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/form_block_previous_button.py b/src/auth0/management/types/form_block_previous_button.py index f2c5b9d8..538c2018 100644 --- a/src/auth0/management/types/form_block_previous_button.py +++ b/src/auth0/management/types/form_block_previous_button.py @@ -11,8 +11,8 @@ class FormBlockPreviousButton(UniversalBaseModel): id: str - category: FormComponentCategoryBlockConst = "BLOCK" - type: FormBlockTypePreviousButtonConst = "PREVIOUS_BUTTON" + category: FormComponentCategoryBlockConst + type: FormBlockTypePreviousButtonConst config: FormBlockPreviousButtonConfig if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/form_block_resend_button.py b/src/auth0/management/types/form_block_resend_button.py index 7eed493b..69bd4a8b 100644 --- a/src/auth0/management/types/form_block_resend_button.py +++ b/src/auth0/management/types/form_block_resend_button.py @@ -11,8 +11,8 @@ class FormBlockResendButton(UniversalBaseModel): id: str - category: FormComponentCategoryBlockConst = "BLOCK" - type: FormBlockTypeResendButtonConst = "RESEND_BUTTON" + category: FormComponentCategoryBlockConst + type: FormBlockTypeResendButtonConst config: FormBlockResendButtonConfig if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/form_block_rich_text.py b/src/auth0/management/types/form_block_rich_text.py index 0e1c31d4..4c6c0ee1 100644 --- a/src/auth0/management/types/form_block_rich_text.py +++ b/src/auth0/management/types/form_block_rich_text.py @@ -11,8 +11,8 @@ class FormBlockRichText(UniversalBaseModel): id: str - category: FormComponentCategoryBlockConst = "BLOCK" - type: FormBlockTypeRichTextConst = "RICH_TEXT" + category: FormComponentCategoryBlockConst + type: FormBlockTypeRichTextConst config: typing.Optional[FormBlockRichTextConfig] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/form_block_type_divider_const.py b/src/auth0/management/types/form_block_type_divider_const.py index f715af34..2f6021c9 100644 --- a/src/auth0/management/types/form_block_type_divider_const.py +++ b/src/auth0/management/types/form_block_type_divider_const.py @@ -2,4 +2,4 @@ import typing -FormBlockTypeDividerConst = typing.Literal["DIVIDER"] +FormBlockTypeDividerConst = typing.Union[typing.Literal["DIVIDER"], typing.Any] diff --git a/src/auth0/management/types/form_block_type_html_const.py b/src/auth0/management/types/form_block_type_html_const.py index 44c8e2fe..82f5ef58 100644 --- a/src/auth0/management/types/form_block_type_html_const.py +++ b/src/auth0/management/types/form_block_type_html_const.py @@ -2,4 +2,4 @@ import typing -FormBlockTypeHtmlConst = typing.Literal["HTML"] +FormBlockTypeHtmlConst = typing.Union[typing.Literal["HTML"], typing.Any] diff --git a/src/auth0/management/types/form_block_type_image_const.py b/src/auth0/management/types/form_block_type_image_const.py index edb6d0b6..d8213797 100644 --- a/src/auth0/management/types/form_block_type_image_const.py +++ b/src/auth0/management/types/form_block_type_image_const.py @@ -2,4 +2,4 @@ import typing -FormBlockTypeImageConst = typing.Literal["IMAGE"] +FormBlockTypeImageConst = typing.Union[typing.Literal["IMAGE"], typing.Any] diff --git a/src/auth0/management/types/form_block_type_jump_button_const.py b/src/auth0/management/types/form_block_type_jump_button_const.py index 4fe1671a..e02ef07a 100644 --- a/src/auth0/management/types/form_block_type_jump_button_const.py +++ b/src/auth0/management/types/form_block_type_jump_button_const.py @@ -2,4 +2,4 @@ import typing -FormBlockTypeJumpButtonConst = typing.Literal["JUMP_BUTTON"] +FormBlockTypeJumpButtonConst = typing.Union[typing.Literal["JUMP_BUTTON"], typing.Any] diff --git a/src/auth0/management/types/form_block_type_next_button_const.py b/src/auth0/management/types/form_block_type_next_button_const.py index 409a564f..5088dc26 100644 --- a/src/auth0/management/types/form_block_type_next_button_const.py +++ b/src/auth0/management/types/form_block_type_next_button_const.py @@ -2,4 +2,4 @@ import typing -FormBlockTypeNextButtonConst = typing.Literal["NEXT_BUTTON"] +FormBlockTypeNextButtonConst = typing.Union[typing.Literal["NEXT_BUTTON"], typing.Any] diff --git a/src/auth0/management/types/form_block_type_previous_button_const.py b/src/auth0/management/types/form_block_type_previous_button_const.py index b30ec75e..bfe734c2 100644 --- a/src/auth0/management/types/form_block_type_previous_button_const.py +++ b/src/auth0/management/types/form_block_type_previous_button_const.py @@ -2,4 +2,4 @@ import typing -FormBlockTypePreviousButtonConst = typing.Literal["PREVIOUS_BUTTON"] +FormBlockTypePreviousButtonConst = typing.Union[typing.Literal["PREVIOUS_BUTTON"], typing.Any] diff --git a/src/auth0/management/types/form_block_type_resend_button_const.py b/src/auth0/management/types/form_block_type_resend_button_const.py index 58034067..dc5cf814 100644 --- a/src/auth0/management/types/form_block_type_resend_button_const.py +++ b/src/auth0/management/types/form_block_type_resend_button_const.py @@ -2,4 +2,4 @@ import typing -FormBlockTypeResendButtonConst = typing.Literal["RESEND_BUTTON"] +FormBlockTypeResendButtonConst = typing.Union[typing.Literal["RESEND_BUTTON"], typing.Any] diff --git a/src/auth0/management/types/form_block_type_rich_text_const.py b/src/auth0/management/types/form_block_type_rich_text_const.py index 24ade6d3..054f4098 100644 --- a/src/auth0/management/types/form_block_type_rich_text_const.py +++ b/src/auth0/management/types/form_block_type_rich_text_const.py @@ -2,4 +2,4 @@ import typing -FormBlockTypeRichTextConst = typing.Literal["RICH_TEXT"] +FormBlockTypeRichTextConst = typing.Union[typing.Literal["RICH_TEXT"], typing.Any] diff --git a/src/auth0/management/types/form_component_category_block_const.py b/src/auth0/management/types/form_component_category_block_const.py index 555b7034..c6ad462e 100644 --- a/src/auth0/management/types/form_component_category_block_const.py +++ b/src/auth0/management/types/form_component_category_block_const.py @@ -2,4 +2,4 @@ import typing -FormComponentCategoryBlockConst = typing.Literal["BLOCK"] +FormComponentCategoryBlockConst = typing.Union[typing.Literal["BLOCK"], typing.Any] diff --git a/src/auth0/management/types/form_component_category_field_const.py b/src/auth0/management/types/form_component_category_field_const.py index 7cd2c2a2..4261e471 100644 --- a/src/auth0/management/types/form_component_category_field_const.py +++ b/src/auth0/management/types/form_component_category_field_const.py @@ -2,4 +2,4 @@ import typing -FormComponentCategoryFieldConst = typing.Literal["FIELD"] +FormComponentCategoryFieldConst = typing.Union[typing.Literal["FIELD"], typing.Any] diff --git a/src/auth0/management/types/form_component_category_widget_const.py b/src/auth0/management/types/form_component_category_widget_const.py index 82e49508..17366136 100644 --- a/src/auth0/management/types/form_component_category_widget_const.py +++ b/src/auth0/management/types/form_component_category_widget_const.py @@ -2,4 +2,4 @@ import typing -FormComponentCategoryWidgetConst = typing.Literal["WIDGET"] +FormComponentCategoryWidgetConst = typing.Union[typing.Literal["WIDGET"], typing.Any] diff --git a/src/auth0/management/types/form_ending_node_id.py b/src/auth0/management/types/form_ending_node_id.py index f748bf19..f7e1ef62 100644 --- a/src/auth0/management/types/form_ending_node_id.py +++ b/src/auth0/management/types/form_ending_node_id.py @@ -2,4 +2,4 @@ import typing -FormEndingNodeId = typing.Literal["$ending"] +FormEndingNodeId = typing.Union[typing.Literal["$ending"], typing.Any] diff --git a/src/auth0/management/types/form_field_boolean.py b/src/auth0/management/types/form_field_boolean.py index 1e8a4f09..fa6e6761 100644 --- a/src/auth0/management/types/form_field_boolean.py +++ b/src/auth0/management/types/form_field_boolean.py @@ -11,8 +11,8 @@ class FormFieldBoolean(UniversalBaseModel): id: str - category: FormComponentCategoryFieldConst = "FIELD" - type: FormFieldTypeBooleanConst = "BOOLEAN" + category: FormComponentCategoryFieldConst + type: FormFieldTypeBooleanConst config: FormFieldBooleanConfig label: typing.Optional[str] = None hint: typing.Optional[str] = None diff --git a/src/auth0/management/types/form_field_cards.py b/src/auth0/management/types/form_field_cards.py index adc98a3c..3ee29052 100644 --- a/src/auth0/management/types/form_field_cards.py +++ b/src/auth0/management/types/form_field_cards.py @@ -11,8 +11,8 @@ class FormFieldCards(UniversalBaseModel): id: str - category: FormComponentCategoryFieldConst = "FIELD" - type: FormFieldTypeCardsConst = "CARDS" + category: FormComponentCategoryFieldConst + type: FormFieldTypeCardsConst config: typing.Optional[FormFieldCardsConfig] = None label: typing.Optional[str] = None hint: typing.Optional[str] = None diff --git a/src/auth0/management/types/form_field_choice.py b/src/auth0/management/types/form_field_choice.py index e2e399e2..584cd0e7 100644 --- a/src/auth0/management/types/form_field_choice.py +++ b/src/auth0/management/types/form_field_choice.py @@ -11,8 +11,8 @@ class FormFieldChoice(UniversalBaseModel): id: str - category: FormComponentCategoryFieldConst = "FIELD" - type: FormFieldTypeChoiceConst = "CHOICE" + category: FormComponentCategoryFieldConst + type: FormFieldTypeChoiceConst config: typing.Optional[FormFieldChoiceConfig] = None label: typing.Optional[str] = None hint: typing.Optional[str] = None diff --git a/src/auth0/management/types/form_field_custom.py b/src/auth0/management/types/form_field_custom.py index d1310d33..f21bcb0a 100644 --- a/src/auth0/management/types/form_field_custom.py +++ b/src/auth0/management/types/form_field_custom.py @@ -11,8 +11,8 @@ class FormFieldCustom(UniversalBaseModel): id: str - category: FormComponentCategoryFieldConst = "FIELD" - type: FormFieldTypeCustomConst = "CUSTOM" + category: FormComponentCategoryFieldConst + type: FormFieldTypeCustomConst config: FormFieldCustomConfig label: typing.Optional[str] = None hint: typing.Optional[str] = None diff --git a/src/auth0/management/types/form_field_custom_config.py b/src/auth0/management/types/form_field_custom_config.py index 7b973f2c..4d42b69a 100644 --- a/src/auth0/management/types/form_field_custom_config.py +++ b/src/auth0/management/types/form_field_custom_config.py @@ -11,7 +11,9 @@ class FormFieldCustomConfig(UniversalBaseModel): - schema_: typing_extensions.Annotated[FormFieldCustomConfigSchema, FieldMetadata(alias="schema")] + schema_: typing_extensions.Annotated[FormFieldCustomConfigSchema, FieldMetadata(alias="schema")] = pydantic.Field( + alias="schema" + ) code: str css: typing.Optional[str] = None params: typing.Optional[FormFieldCustomConfigParams] = None diff --git a/src/auth0/management/types/form_field_date.py b/src/auth0/management/types/form_field_date.py index 18d548c5..5af82f81 100644 --- a/src/auth0/management/types/form_field_date.py +++ b/src/auth0/management/types/form_field_date.py @@ -11,8 +11,8 @@ class FormFieldDate(UniversalBaseModel): id: str - category: FormComponentCategoryFieldConst = "FIELD" - type: FormFieldTypeDateConst = "DATE" + category: FormComponentCategoryFieldConst + type: FormFieldTypeDateConst config: FormFieldDateConfig label: typing.Optional[str] = None hint: typing.Optional[str] = None diff --git a/src/auth0/management/types/form_field_dropdown.py b/src/auth0/management/types/form_field_dropdown.py index e2cfa5fb..184b7586 100644 --- a/src/auth0/management/types/form_field_dropdown.py +++ b/src/auth0/management/types/form_field_dropdown.py @@ -11,8 +11,8 @@ class FormFieldDropdown(UniversalBaseModel): id: str - category: FormComponentCategoryFieldConst = "FIELD" - type: FormFieldTypeDropdownConst = "DROPDOWN" + category: FormComponentCategoryFieldConst + type: FormFieldTypeDropdownConst config: typing.Optional[FormFieldDropdownConfig] = None label: typing.Optional[str] = None hint: typing.Optional[str] = None diff --git a/src/auth0/management/types/form_field_email.py b/src/auth0/management/types/form_field_email.py index 89506465..98e82697 100644 --- a/src/auth0/management/types/form_field_email.py +++ b/src/auth0/management/types/form_field_email.py @@ -11,8 +11,8 @@ class FormFieldEmail(UniversalBaseModel): id: str - category: FormComponentCategoryFieldConst = "FIELD" - type: FormFieldTypeEmailConst = "EMAIL" + category: FormComponentCategoryFieldConst + type: FormFieldTypeEmailConst config: typing.Optional[FormFieldEmailConfig] = None label: typing.Optional[str] = None hint: typing.Optional[str] = None diff --git a/src/auth0/management/types/form_field_file.py b/src/auth0/management/types/form_field_file.py index c77c88b2..fe573ec8 100644 --- a/src/auth0/management/types/form_field_file.py +++ b/src/auth0/management/types/form_field_file.py @@ -11,8 +11,8 @@ class FormFieldFile(UniversalBaseModel): id: str - category: FormComponentCategoryFieldConst = "FIELD" - type: FormFieldTypeFileConst = "FILE" + category: FormComponentCategoryFieldConst + type: FormFieldTypeFileConst config: typing.Optional[FormFieldFileConfig] = None label: typing.Optional[str] = None hint: typing.Optional[str] = None diff --git a/src/auth0/management/types/form_field_file_config.py b/src/auth0/management/types/form_field_file_config.py index 72255b02..3b7118fb 100644 --- a/src/auth0/management/types/form_field_file_config.py +++ b/src/auth0/management/types/form_field_file_config.py @@ -15,8 +15,12 @@ class FormFieldFileConfig(UniversalBaseModel): storage: typing.Optional[FormFieldFileConfigStorage] = None categories: typing.Optional[typing.List[FormFieldFileConfigCategoryEnum]] = None extensions: typing.Optional[typing.List[str]] = None - max_size: typing_extensions.Annotated[typing.Optional[int], FieldMetadata(alias="maxSize")] = None - max_files: typing_extensions.Annotated[typing.Optional[int], FieldMetadata(alias="maxFiles")] = None + max_size: typing_extensions.Annotated[typing.Optional[int], FieldMetadata(alias="maxSize")] = pydantic.Field( + alias="maxSize", default=None + ) + max_files: typing_extensions.Annotated[typing.Optional[int], FieldMetadata(alias="maxFiles")] = pydantic.Field( + alias="maxFiles", default=None + ) if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/form_field_legal.py b/src/auth0/management/types/form_field_legal.py index d5f19329..b09721aa 100644 --- a/src/auth0/management/types/form_field_legal.py +++ b/src/auth0/management/types/form_field_legal.py @@ -11,8 +11,8 @@ class FormFieldLegal(UniversalBaseModel): id: str - category: FormComponentCategoryFieldConst = "FIELD" - type: FormFieldTypeLegalConst = "LEGAL" + category: FormComponentCategoryFieldConst + type: FormFieldTypeLegalConst config: typing.Optional[FormFieldLegalConfig] = None label: typing.Optional[str] = None hint: typing.Optional[str] = None diff --git a/src/auth0/management/types/form_field_number.py b/src/auth0/management/types/form_field_number.py index 3f97238b..3e3eb2d7 100644 --- a/src/auth0/management/types/form_field_number.py +++ b/src/auth0/management/types/form_field_number.py @@ -11,8 +11,8 @@ class FormFieldNumber(UniversalBaseModel): id: str - category: FormComponentCategoryFieldConst = "FIELD" - type: FormFieldTypeNumberConst = "NUMBER" + category: FormComponentCategoryFieldConst + type: FormFieldTypeNumberConst config: typing.Optional[FormFieldNumberConfig] = None label: typing.Optional[str] = None hint: typing.Optional[str] = None diff --git a/src/auth0/management/types/form_field_password.py b/src/auth0/management/types/form_field_password.py index c0646a0f..8ab320b7 100644 --- a/src/auth0/management/types/form_field_password.py +++ b/src/auth0/management/types/form_field_password.py @@ -11,8 +11,8 @@ class FormFieldPassword(UniversalBaseModel): id: str - category: FormComponentCategoryFieldConst = "FIELD" - type: FormFieldTypePasswordConst = "PASSWORD" + category: FormComponentCategoryFieldConst + type: FormFieldTypePasswordConst config: FormFieldPasswordConfig label: typing.Optional[str] = None hint: typing.Optional[str] = None diff --git a/src/auth0/management/types/form_field_payment.py b/src/auth0/management/types/form_field_payment.py index a5ad6dfd..cb6e335d 100644 --- a/src/auth0/management/types/form_field_payment.py +++ b/src/auth0/management/types/form_field_payment.py @@ -11,8 +11,8 @@ class FormFieldPayment(UniversalBaseModel): id: str - category: FormComponentCategoryFieldConst = "FIELD" - type: FormFieldTypePaymentConst = "PAYMENT" + category: FormComponentCategoryFieldConst + type: FormFieldTypePaymentConst config: FormFieldPaymentConfig label: typing.Optional[str] = None hint: typing.Optional[str] = None diff --git a/src/auth0/management/types/form_field_payment_config_charge_one_off.py b/src/auth0/management/types/form_field_payment_config_charge_one_off.py index 2bfedd35..07703dae 100644 --- a/src/auth0/management/types/form_field_payment_config_charge_one_off.py +++ b/src/auth0/management/types/form_field_payment_config_charge_one_off.py @@ -9,7 +9,7 @@ class FormFieldPaymentConfigChargeOneOff(UniversalBaseModel): - type: FormFieldPaymentConfigChargeTypeOneOffConst = "ONE_OFF" + type: FormFieldPaymentConfigChargeTypeOneOffConst one_off: FormFieldPaymentConfigChargeOneOffOneOff if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/form_field_payment_config_charge_subscription.py b/src/auth0/management/types/form_field_payment_config_charge_subscription.py index a1b61fc1..c7739448 100644 --- a/src/auth0/management/types/form_field_payment_config_charge_subscription.py +++ b/src/auth0/management/types/form_field_payment_config_charge_subscription.py @@ -9,7 +9,7 @@ class FormFieldPaymentConfigChargeSubscription(UniversalBaseModel): - type: FormFieldPaymentConfigChargeTypeSubscriptionConst = "SUBSCRIPTION" + type: FormFieldPaymentConfigChargeTypeSubscriptionConst subscription: FormFieldPaymentConfigSubscription if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/form_field_payment_config_charge_type_one_off_const.py b/src/auth0/management/types/form_field_payment_config_charge_type_one_off_const.py index 4241ba32..97387080 100644 --- a/src/auth0/management/types/form_field_payment_config_charge_type_one_off_const.py +++ b/src/auth0/management/types/form_field_payment_config_charge_type_one_off_const.py @@ -2,4 +2,4 @@ import typing -FormFieldPaymentConfigChargeTypeOneOffConst = typing.Literal["ONE_OFF"] +FormFieldPaymentConfigChargeTypeOneOffConst = typing.Union[typing.Literal["ONE_OFF"], typing.Any] diff --git a/src/auth0/management/types/form_field_payment_config_charge_type_subscription_const.py b/src/auth0/management/types/form_field_payment_config_charge_type_subscription_const.py index d6e1dddb..6ed00dfe 100644 --- a/src/auth0/management/types/form_field_payment_config_charge_type_subscription_const.py +++ b/src/auth0/management/types/form_field_payment_config_charge_type_subscription_const.py @@ -2,4 +2,4 @@ import typing -FormFieldPaymentConfigChargeTypeSubscriptionConst = typing.Literal["SUBSCRIPTION"] +FormFieldPaymentConfigChargeTypeSubscriptionConst = typing.Union[typing.Literal["SUBSCRIPTION"], typing.Any] diff --git a/src/auth0/management/types/form_field_payment_config_provider_enum.py b/src/auth0/management/types/form_field_payment_config_provider_enum.py index 30005a4b..6267255c 100644 --- a/src/auth0/management/types/form_field_payment_config_provider_enum.py +++ b/src/auth0/management/types/form_field_payment_config_provider_enum.py @@ -2,4 +2,4 @@ import typing -FormFieldPaymentConfigProviderEnum = typing.Literal["STRIPE"] +FormFieldPaymentConfigProviderEnum = typing.Union[typing.Literal["STRIPE"], typing.Any] diff --git a/src/auth0/management/types/form_field_social.py b/src/auth0/management/types/form_field_social.py index 6d6b3d07..5598c14d 100644 --- a/src/auth0/management/types/form_field_social.py +++ b/src/auth0/management/types/form_field_social.py @@ -11,8 +11,8 @@ class FormFieldSocial(UniversalBaseModel): id: str - category: FormComponentCategoryFieldConst = "FIELD" - type: FormFieldTypeSocialConst = "SOCIAL" + category: FormComponentCategoryFieldConst + type: FormFieldTypeSocialConst config: typing.Optional[FormFieldSocialConfig] = None label: typing.Optional[str] = None hint: typing.Optional[str] = None diff --git a/src/auth0/management/types/form_field_tel.py b/src/auth0/management/types/form_field_tel.py index a2ff4360..cebda9f7 100644 --- a/src/auth0/management/types/form_field_tel.py +++ b/src/auth0/management/types/form_field_tel.py @@ -11,8 +11,8 @@ class FormFieldTel(UniversalBaseModel): id: str - category: FormComponentCategoryFieldConst = "FIELD" - type: FormFieldTypeTelConst = "TEL" + category: FormComponentCategoryFieldConst + type: FormFieldTypeTelConst config: typing.Optional[FormFieldTelConfig] = None label: typing.Optional[str] = None hint: typing.Optional[str] = None diff --git a/src/auth0/management/types/form_field_text.py b/src/auth0/management/types/form_field_text.py index b1b76549..0b3c1913 100644 --- a/src/auth0/management/types/form_field_text.py +++ b/src/auth0/management/types/form_field_text.py @@ -11,8 +11,8 @@ class FormFieldText(UniversalBaseModel): id: str - category: FormComponentCategoryFieldConst = "FIELD" - type: FormFieldTypeTextConst = "TEXT" + category: FormComponentCategoryFieldConst + type: FormFieldTypeTextConst config: typing.Optional[FormFieldTextConfig] = None label: typing.Optional[str] = None hint: typing.Optional[str] = None diff --git a/src/auth0/management/types/form_field_type_boolean_const.py b/src/auth0/management/types/form_field_type_boolean_const.py index daf28a43..4bdb9ee7 100644 --- a/src/auth0/management/types/form_field_type_boolean_const.py +++ b/src/auth0/management/types/form_field_type_boolean_const.py @@ -2,4 +2,4 @@ import typing -FormFieldTypeBooleanConst = typing.Literal["BOOLEAN"] +FormFieldTypeBooleanConst = typing.Union[typing.Literal["BOOLEAN"], typing.Any] diff --git a/src/auth0/management/types/form_field_type_cards_const.py b/src/auth0/management/types/form_field_type_cards_const.py index c96ca7ad..1ec606ab 100644 --- a/src/auth0/management/types/form_field_type_cards_const.py +++ b/src/auth0/management/types/form_field_type_cards_const.py @@ -2,4 +2,4 @@ import typing -FormFieldTypeCardsConst = typing.Literal["CARDS"] +FormFieldTypeCardsConst = typing.Union[typing.Literal["CARDS"], typing.Any] diff --git a/src/auth0/management/types/form_field_type_choice_const.py b/src/auth0/management/types/form_field_type_choice_const.py index 2d6d631c..20053068 100644 --- a/src/auth0/management/types/form_field_type_choice_const.py +++ b/src/auth0/management/types/form_field_type_choice_const.py @@ -2,4 +2,4 @@ import typing -FormFieldTypeChoiceConst = typing.Literal["CHOICE"] +FormFieldTypeChoiceConst = typing.Union[typing.Literal["CHOICE"], typing.Any] diff --git a/src/auth0/management/types/form_field_type_custom_const.py b/src/auth0/management/types/form_field_type_custom_const.py index 41d8ce5e..19bde7a6 100644 --- a/src/auth0/management/types/form_field_type_custom_const.py +++ b/src/auth0/management/types/form_field_type_custom_const.py @@ -2,4 +2,4 @@ import typing -FormFieldTypeCustomConst = typing.Literal["CUSTOM"] +FormFieldTypeCustomConst = typing.Union[typing.Literal["CUSTOM"], typing.Any] diff --git a/src/auth0/management/types/form_field_type_date_const.py b/src/auth0/management/types/form_field_type_date_const.py index 1de45170..64728226 100644 --- a/src/auth0/management/types/form_field_type_date_const.py +++ b/src/auth0/management/types/form_field_type_date_const.py @@ -2,4 +2,4 @@ import typing -FormFieldTypeDateConst = typing.Literal["DATE"] +FormFieldTypeDateConst = typing.Union[typing.Literal["DATE"], typing.Any] diff --git a/src/auth0/management/types/form_field_type_dropdown_const.py b/src/auth0/management/types/form_field_type_dropdown_const.py index 3270ffcb..4062b952 100644 --- a/src/auth0/management/types/form_field_type_dropdown_const.py +++ b/src/auth0/management/types/form_field_type_dropdown_const.py @@ -2,4 +2,4 @@ import typing -FormFieldTypeDropdownConst = typing.Literal["DROPDOWN"] +FormFieldTypeDropdownConst = typing.Union[typing.Literal["DROPDOWN"], typing.Any] diff --git a/src/auth0/management/types/form_field_type_email_const.py b/src/auth0/management/types/form_field_type_email_const.py index 8d868354..dbd1fc56 100644 --- a/src/auth0/management/types/form_field_type_email_const.py +++ b/src/auth0/management/types/form_field_type_email_const.py @@ -2,4 +2,4 @@ import typing -FormFieldTypeEmailConst = typing.Literal["EMAIL"] +FormFieldTypeEmailConst = typing.Union[typing.Literal["EMAIL"], typing.Any] diff --git a/src/auth0/management/types/form_field_type_file_const.py b/src/auth0/management/types/form_field_type_file_const.py index 2d044bfa..45c831bd 100644 --- a/src/auth0/management/types/form_field_type_file_const.py +++ b/src/auth0/management/types/form_field_type_file_const.py @@ -2,4 +2,4 @@ import typing -FormFieldTypeFileConst = typing.Literal["FILE"] +FormFieldTypeFileConst = typing.Union[typing.Literal["FILE"], typing.Any] diff --git a/src/auth0/management/types/form_field_type_legal_const.py b/src/auth0/management/types/form_field_type_legal_const.py index d851f5be..cb8c8f24 100644 --- a/src/auth0/management/types/form_field_type_legal_const.py +++ b/src/auth0/management/types/form_field_type_legal_const.py @@ -2,4 +2,4 @@ import typing -FormFieldTypeLegalConst = typing.Literal["LEGAL"] +FormFieldTypeLegalConst = typing.Union[typing.Literal["LEGAL"], typing.Any] diff --git a/src/auth0/management/types/form_field_type_number_const.py b/src/auth0/management/types/form_field_type_number_const.py index 1ffa9ba3..43aaa648 100644 --- a/src/auth0/management/types/form_field_type_number_const.py +++ b/src/auth0/management/types/form_field_type_number_const.py @@ -2,4 +2,4 @@ import typing -FormFieldTypeNumberConst = typing.Literal["NUMBER"] +FormFieldTypeNumberConst = typing.Union[typing.Literal["NUMBER"], typing.Any] diff --git a/src/auth0/management/types/form_field_type_password_const.py b/src/auth0/management/types/form_field_type_password_const.py index 06dabc08..58d0321b 100644 --- a/src/auth0/management/types/form_field_type_password_const.py +++ b/src/auth0/management/types/form_field_type_password_const.py @@ -2,4 +2,4 @@ import typing -FormFieldTypePasswordConst = typing.Literal["PASSWORD"] +FormFieldTypePasswordConst = typing.Union[typing.Literal["PASSWORD"], typing.Any] diff --git a/src/auth0/management/types/form_field_type_payment_const.py b/src/auth0/management/types/form_field_type_payment_const.py index 4dcbc9da..68fd2350 100644 --- a/src/auth0/management/types/form_field_type_payment_const.py +++ b/src/auth0/management/types/form_field_type_payment_const.py @@ -2,4 +2,4 @@ import typing -FormFieldTypePaymentConst = typing.Literal["PAYMENT"] +FormFieldTypePaymentConst = typing.Union[typing.Literal["PAYMENT"], typing.Any] diff --git a/src/auth0/management/types/form_field_type_social_const.py b/src/auth0/management/types/form_field_type_social_const.py index 0ff239c9..e0f91e19 100644 --- a/src/auth0/management/types/form_field_type_social_const.py +++ b/src/auth0/management/types/form_field_type_social_const.py @@ -2,4 +2,4 @@ import typing -FormFieldTypeSocialConst = typing.Literal["SOCIAL"] +FormFieldTypeSocialConst = typing.Union[typing.Literal["SOCIAL"], typing.Any] diff --git a/src/auth0/management/types/form_field_type_tel_const.py b/src/auth0/management/types/form_field_type_tel_const.py index efc23ee8..3d203444 100644 --- a/src/auth0/management/types/form_field_type_tel_const.py +++ b/src/auth0/management/types/form_field_type_tel_const.py @@ -2,4 +2,4 @@ import typing -FormFieldTypeTelConst = typing.Literal["TEL"] +FormFieldTypeTelConst = typing.Union[typing.Literal["TEL"], typing.Any] diff --git a/src/auth0/management/types/form_field_type_text_const.py b/src/auth0/management/types/form_field_type_text_const.py index 41b4fd2d..48d9bf05 100644 --- a/src/auth0/management/types/form_field_type_text_const.py +++ b/src/auth0/management/types/form_field_type_text_const.py @@ -2,4 +2,4 @@ import typing -FormFieldTypeTextConst = typing.Literal["TEXT"] +FormFieldTypeTextConst = typing.Union[typing.Literal["TEXT"], typing.Any] diff --git a/src/auth0/management/types/form_field_type_url_const.py b/src/auth0/management/types/form_field_type_url_const.py index 5016d4c1..a6e2c035 100644 --- a/src/auth0/management/types/form_field_type_url_const.py +++ b/src/auth0/management/types/form_field_type_url_const.py @@ -2,4 +2,4 @@ import typing -FormFieldTypeUrlConst = typing.Literal["URL"] +FormFieldTypeUrlConst = typing.Union[typing.Literal["URL"], typing.Any] diff --git a/src/auth0/management/types/form_field_url.py b/src/auth0/management/types/form_field_url.py index b7599729..722fc58d 100644 --- a/src/auth0/management/types/form_field_url.py +++ b/src/auth0/management/types/form_field_url.py @@ -11,8 +11,8 @@ class FormFieldUrl(UniversalBaseModel): id: str - category: FormComponentCategoryFieldConst = "FIELD" - type: FormFieldTypeUrlConst = "URL" + category: FormComponentCategoryFieldConst + type: FormFieldTypeUrlConst config: typing.Optional[FormFieldUrlConfig] = None label: typing.Optional[str] = None hint: typing.Optional[str] = None diff --git a/src/auth0/management/types/form_flow.py b/src/auth0/management/types/form_flow.py index 6b9baa7b..de0d6e8d 100644 --- a/src/auth0/management/types/form_flow.py +++ b/src/auth0/management/types/form_flow.py @@ -11,7 +11,7 @@ class FormFlow(UniversalBaseModel): id: str - type: FormNodeTypeFlowConst = "FLOW" + type: FormNodeTypeFlowConst coordinates: typing.Optional[FormNodeCoordinates] = None alias: typing.Optional[str] = None config: FormFlowConfig diff --git a/src/auth0/management/types/form_node_type_flow_const.py b/src/auth0/management/types/form_node_type_flow_const.py index 8e3338a1..a004489a 100644 --- a/src/auth0/management/types/form_node_type_flow_const.py +++ b/src/auth0/management/types/form_node_type_flow_const.py @@ -2,4 +2,4 @@ import typing -FormNodeTypeFlowConst = typing.Literal["FLOW"] +FormNodeTypeFlowConst = typing.Union[typing.Literal["FLOW"], typing.Any] diff --git a/src/auth0/management/types/form_node_type_router_const.py b/src/auth0/management/types/form_node_type_router_const.py index 35e7115e..9fa4be7d 100644 --- a/src/auth0/management/types/form_node_type_router_const.py +++ b/src/auth0/management/types/form_node_type_router_const.py @@ -2,4 +2,4 @@ import typing -FormNodeTypeRouterConst = typing.Literal["ROUTER"] +FormNodeTypeRouterConst = typing.Union[typing.Literal["ROUTER"], typing.Any] diff --git a/src/auth0/management/types/form_node_type_step_const.py b/src/auth0/management/types/form_node_type_step_const.py index 073e7686..32602818 100644 --- a/src/auth0/management/types/form_node_type_step_const.py +++ b/src/auth0/management/types/form_node_type_step_const.py @@ -2,4 +2,4 @@ import typing -FormNodeTypeStepConst = typing.Literal["STEP"] +FormNodeTypeStepConst = typing.Union[typing.Literal["STEP"], typing.Any] diff --git a/src/auth0/management/types/form_router.py b/src/auth0/management/types/form_router.py index 977b735e..dd98f20e 100644 --- a/src/auth0/management/types/form_router.py +++ b/src/auth0/management/types/form_router.py @@ -11,7 +11,7 @@ class FormRouter(UniversalBaseModel): id: str - type: FormNodeTypeRouterConst = "ROUTER" + type: FormNodeTypeRouterConst coordinates: typing.Optional[FormNodeCoordinates] = None alias: typing.Optional[str] = None config: typing.Optional[FormRouterConfig] = None diff --git a/src/auth0/management/types/form_step.py b/src/auth0/management/types/form_step.py index 0454d8b0..dbde80bd 100644 --- a/src/auth0/management/types/form_step.py +++ b/src/auth0/management/types/form_step.py @@ -11,7 +11,7 @@ class FormStep(UniversalBaseModel): id: str - type: FormNodeTypeStepConst = "STEP" + type: FormNodeTypeStepConst coordinates: typing.Optional[FormNodeCoordinates] = None alias: typing.Optional[str] = None config: typing.Optional[FormStepConfig] = None diff --git a/src/auth0/management/types/form_widget_auth_0_verifiable_credentials.py b/src/auth0/management/types/form_widget_auth_0_verifiable_credentials.py index 37fd6b14..3196a2c6 100644 --- a/src/auth0/management/types/form_widget_auth_0_verifiable_credentials.py +++ b/src/auth0/management/types/form_widget_auth_0_verifiable_credentials.py @@ -11,8 +11,8 @@ class FormWidgetAuth0VerifiableCredentials(UniversalBaseModel): id: str - category: FormComponentCategoryWidgetConst = "WIDGET" - type: FormWidgetTypeAuth0VerifiableCredentialsConst = "AUTH0_VERIFIABLE_CREDENTIALS" + category: FormComponentCategoryWidgetConst + type: FormWidgetTypeAuth0VerifiableCredentialsConst config: FormWidgetAuth0VerifiableCredentialsConfig label: typing.Optional[str] = None hint: typing.Optional[str] = None diff --git a/src/auth0/management/types/form_widget_g_maps_address.py b/src/auth0/management/types/form_widget_g_maps_address.py index 1de911e7..4873c00f 100644 --- a/src/auth0/management/types/form_widget_g_maps_address.py +++ b/src/auth0/management/types/form_widget_g_maps_address.py @@ -11,8 +11,8 @@ class FormWidgetGMapsAddress(UniversalBaseModel): id: str - category: FormComponentCategoryWidgetConst = "WIDGET" - type: FormWidgetTypeGMapsAddressConst = "GMAPS_ADDRESS" + category: FormComponentCategoryWidgetConst + type: FormWidgetTypeGMapsAddressConst config: FormWidgetGMapsAddressConfig label: typing.Optional[str] = None hint: typing.Optional[str] = None diff --git a/src/auth0/management/types/form_widget_recaptcha.py b/src/auth0/management/types/form_widget_recaptcha.py index 6d93ee81..ea1e3482 100644 --- a/src/auth0/management/types/form_widget_recaptcha.py +++ b/src/auth0/management/types/form_widget_recaptcha.py @@ -11,8 +11,8 @@ class FormWidgetRecaptcha(UniversalBaseModel): id: str - category: FormComponentCategoryWidgetConst = "WIDGET" - type: FormWidgetTypeRecaptchaConst = "RECAPTCHA" + category: FormComponentCategoryWidgetConst + type: FormWidgetTypeRecaptchaConst config: FormWidgetRecaptchaConfig label: typing.Optional[str] = None hint: typing.Optional[str] = None diff --git a/src/auth0/management/types/form_widget_type_auth_0_verifiable_credentials_const.py b/src/auth0/management/types/form_widget_type_auth_0_verifiable_credentials_const.py index 3a6f7079..db7e7882 100644 --- a/src/auth0/management/types/form_widget_type_auth_0_verifiable_credentials_const.py +++ b/src/auth0/management/types/form_widget_type_auth_0_verifiable_credentials_const.py @@ -2,4 +2,4 @@ import typing -FormWidgetTypeAuth0VerifiableCredentialsConst = typing.Literal["AUTH0_VERIFIABLE_CREDENTIALS"] +FormWidgetTypeAuth0VerifiableCredentialsConst = typing.Union[typing.Literal["AUTH0_VERIFIABLE_CREDENTIALS"], typing.Any] diff --git a/src/auth0/management/types/form_widget_type_g_maps_address_const.py b/src/auth0/management/types/form_widget_type_g_maps_address_const.py index 37edab91..c8539d6b 100644 --- a/src/auth0/management/types/form_widget_type_g_maps_address_const.py +++ b/src/auth0/management/types/form_widget_type_g_maps_address_const.py @@ -2,4 +2,4 @@ import typing -FormWidgetTypeGMapsAddressConst = typing.Literal["GMAPS_ADDRESS"] +FormWidgetTypeGMapsAddressConst = typing.Union[typing.Literal["GMAPS_ADDRESS"], typing.Any] diff --git a/src/auth0/management/types/form_widget_type_recaptcha_const.py b/src/auth0/management/types/form_widget_type_recaptcha_const.py index 22191753..a8e76fe5 100644 --- a/src/auth0/management/types/form_widget_type_recaptcha_const.py +++ b/src/auth0/management/types/form_widget_type_recaptcha_const.py @@ -2,4 +2,4 @@ import typing -FormWidgetTypeRecaptchaConst = typing.Literal["RECAPTCHA"] +FormWidgetTypeRecaptchaConst = typing.Union[typing.Literal["RECAPTCHA"], typing.Any] diff --git a/src/auth0/management/types/get_action_module_actions_response_content.py b/src/auth0/management/types/get_action_module_actions_response_content.py new file mode 100644 index 00000000..d3d8b5c9 --- /dev/null +++ b/src/auth0/management/types/get_action_module_actions_response_content.py @@ -0,0 +1,38 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .action_module_action import ActionModuleAction + + +class GetActionModuleActionsResponseContent(UniversalBaseModel): + actions: typing.Optional[typing.List[ActionModuleAction]] = pydantic.Field(default=None) + """ + A list of action references. + """ + + total: typing.Optional[int] = pydantic.Field(default=None) + """ + The total number of actions using this module. + """ + + page: typing.Optional[int] = pydantic.Field(default=None) + """ + The page index of the returned results. + """ + + per_page: typing.Optional[int] = pydantic.Field(default=None) + """ + The number of results requested per page. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/get_action_module_response_content.py b/src/auth0/management/types/get_action_module_response_content.py new file mode 100644 index 00000000..21121d4a --- /dev/null +++ b/src/auth0/management/types/get_action_module_response_content.py @@ -0,0 +1,73 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .action_module_dependency import ActionModuleDependency +from .action_module_secret import ActionModuleSecret +from .action_module_version_reference import ActionModuleVersionReference + + +class GetActionModuleResponseContent(UniversalBaseModel): + id: typing.Optional[str] = pydantic.Field(default=None) + """ + The unique ID of the module. + """ + + name: typing.Optional[str] = pydantic.Field(default=None) + """ + The name of the module. + """ + + code: typing.Optional[str] = pydantic.Field(default=None) + """ + The source code from the module's draft version. + """ + + dependencies: typing.Optional[typing.List[ActionModuleDependency]] = pydantic.Field(default=None) + """ + The npm dependencies from the module's draft version. + """ + + secrets: typing.Optional[typing.List[ActionModuleSecret]] = pydantic.Field(default=None) + """ + The secrets from the module's draft version (names and timestamps only, values never returned). + """ + + actions_using_module_total: typing.Optional[int] = pydantic.Field(default=None) + """ + The number of deployed actions using this module. + """ + + all_changes_published: typing.Optional[bool] = pydantic.Field(default=None) + """ + Whether all draft changes have been published as a version. + """ + + latest_version_number: typing.Optional[int] = pydantic.Field(default=None) + """ + The version number of the latest published version. Omitted if no versions have been published. + """ + + created_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + Timestamp when the module was created. + """ + + updated_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + Timestamp when the module was last updated. + """ + + latest_version: typing.Optional[ActionModuleVersionReference] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/get_action_module_version_response_content.py b/src/auth0/management/types/get_action_module_version_response_content.py new file mode 100644 index 00000000..f1f245f0 --- /dev/null +++ b/src/auth0/management/types/get_action_module_version_response_content.py @@ -0,0 +1,55 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .action_module_dependency import ActionModuleDependency +from .action_module_secret import ActionModuleSecret + + +class GetActionModuleVersionResponseContent(UniversalBaseModel): + id: typing.Optional[str] = pydantic.Field(default=None) + """ + The unique ID for this version. + """ + + module_id: typing.Optional[str] = pydantic.Field(default=None) + """ + The ID of the parent module. + """ + + version_number: typing.Optional[int] = pydantic.Field(default=None) + """ + The sequential version number. + """ + + code: typing.Optional[str] = pydantic.Field(default=None) + """ + The exact source code that was published with this version. + """ + + secrets: typing.Optional[typing.List[ActionModuleSecret]] = pydantic.Field(default=None) + """ + Secrets available to this version (name and updated_at only, values never returned). + """ + + dependencies: typing.Optional[typing.List[ActionModuleDependency]] = pydantic.Field(default=None) + """ + Dependencies locked to this version. + """ + + created_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + The timestamp when this version was created. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/get_action_module_versions_response_content.py b/src/auth0/management/types/get_action_module_versions_response_content.py new file mode 100644 index 00000000..f12718d3 --- /dev/null +++ b/src/auth0/management/types/get_action_module_versions_response_content.py @@ -0,0 +1,23 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .action_module_version import ActionModuleVersion + + +class GetActionModuleVersionsResponseContent(UniversalBaseModel): + versions: typing.Optional[typing.List[ActionModuleVersion]] = pydantic.Field(default=None) + """ + A list of ActionsModuleVersion objects. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/get_action_modules_response_content.py b/src/auth0/management/types/get_action_modules_response_content.py new file mode 100644 index 00000000..1856ff93 --- /dev/null +++ b/src/auth0/management/types/get_action_modules_response_content.py @@ -0,0 +1,38 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .action_module_list_item import ActionModuleListItem + + +class GetActionModulesResponseContent(UniversalBaseModel): + modules: typing.Optional[typing.List[ActionModuleListItem]] = pydantic.Field(default=None) + """ + A list of ActionsModule objects. + """ + + total: typing.Optional[int] = pydantic.Field(default=None) + """ + The total number of modules in the tenant. + """ + + page: typing.Optional[int] = pydantic.Field(default=None) + """ + The page index of the returned results. + """ + + per_page: typing.Optional[int] = pydantic.Field(default=None) + """ + The number of results requested per page. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/get_action_response_content.py b/src/auth0/management/types/get_action_response_content.py index aed2563d..3657fa8d 100644 --- a/src/auth0/management/types/get_action_response_content.py +++ b/src/auth0/management/types/get_action_response_content.py @@ -7,6 +7,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel from .action_build_status_enum import ActionBuildStatusEnum from .action_deployed_version import ActionDeployedVersion +from .action_module_reference import ActionModuleReference from .action_secret_response import ActionSecretResponse from .action_trigger import ActionTrigger from .action_version_dependency import ActionVersionDependency @@ -82,6 +83,11 @@ class GetActionResponseContent(UniversalBaseModel): True if the action should be deployed after creation. """ + modules: typing.Optional[typing.List[ActionModuleReference]] = pydantic.Field(default=None) + """ + The list of action modules and their versions used by this action. + """ + if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 else: diff --git a/src/auth0/management/types/get_action_version_response_content.py b/src/auth0/management/types/get_action_version_response_content.py index 455736db..7b908c80 100644 --- a/src/auth0/management/types/get_action_version_response_content.py +++ b/src/auth0/management/types/get_action_version_response_content.py @@ -7,6 +7,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel from .action_base import ActionBase from .action_error import ActionError +from .action_module_reference import ActionModuleReference from .action_secret_response import ActionSecretResponse from .action_trigger import ActionTrigger from .action_version_build_status_enum import ActionVersionBuildStatusEnum @@ -81,6 +82,11 @@ class GetActionVersionResponseContent(UniversalBaseModel): The list of triggers that this version supports. At this time, a version can only target a single trigger at a time. """ + modules: typing.Optional[typing.List[ActionModuleReference]] = pydantic.Field(default=None) + """ + The list of action modules and their versions used by this action version. + """ + if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 else: diff --git a/src/auth0/management/types/get_acul_response_content.py b/src/auth0/management/types/get_acul_response_content.py index 907064ea..20393898 100644 --- a/src/auth0/management/types/get_acul_response_content.py +++ b/src/auth0/management/types/get_acul_response_content.py @@ -4,6 +4,7 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .acul_context_configuration import AculContextConfiguration from .acul_filters import AculFilters from .acul_head_tag import AculHeadTag from .acul_rendering_mode_enum import AculRenderingModeEnum @@ -26,12 +27,8 @@ class GetAculResponseContent(UniversalBaseModel): """ rendering_mode: typing.Optional[AculRenderingModeEnum] = None - context_configuration: typing.Optional[typing.List[str]] = pydantic.Field(default=None) - """ - Context values to make available - """ - - default_head_tags_disabled: typing.Optional[bool] = pydantic.Field(default=None) + context_configuration: typing.Optional[AculContextConfiguration] = None + default_head_tags_disabled: typing.Optional[bool] = pydantic.Field(default=False) """ Override Universal Login default head tags """ diff --git a/src/auth0/management/types/get_attack_protection_captcha_response_content.py b/src/auth0/management/types/get_attack_protection_captcha_response_content.py index cb353b15..d796d825 100644 --- a/src/auth0/management/types/get_attack_protection_captcha_response_content.py +++ b/src/auth0/management/types/get_attack_protection_captcha_response_content.py @@ -32,7 +32,7 @@ class GetAttackProtectionCaptchaResponseContent(UniversalBaseModel): recaptcha_enterprise: typing.Optional[AttackProtectionCaptchaRecaptchaEnterpriseResponseContent] = None recaptcha_v_2: typing_extensions.Annotated[ typing.Optional[AttackProtectionCaptchaRecaptchaV2ResponseContent], FieldMetadata(alias="recaptcha_v2") - ] = None + ] = pydantic.Field(alias="recaptcha_v2", default=None) simple_captcha: typing.Optional[AttackProtectionCaptchaSimpleCaptchaResponseContent] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/get_branding_default_theme_response_content.py b/src/auth0/management/types/get_branding_default_theme_response_content.py index f39e71e6..c7c43143 100644 --- a/src/auth0/management/types/get_branding_default_theme_response_content.py +++ b/src/auth0/management/types/get_branding_default_theme_response_content.py @@ -16,14 +16,16 @@ class GetBrandingDefaultThemeResponseContent(UniversalBaseModel): borders: BrandingThemeBorders colors: BrandingThemeColors - display_name: typing_extensions.Annotated[str, FieldMetadata(alias="displayName")] = pydantic.Field() + display_name: typing_extensions.Annotated[str, FieldMetadata(alias="displayName")] = pydantic.Field( + alias="displayName" + ) """ Display Name """ fonts: BrandingThemeFonts page_background: BrandingThemePageBackground - theme_id: typing_extensions.Annotated[str, FieldMetadata(alias="themeId")] = pydantic.Field() + theme_id: typing_extensions.Annotated[str, FieldMetadata(alias="themeId")] = pydantic.Field(alias="themeId") """ Theme Id """ diff --git a/src/auth0/management/types/get_branding_theme_response_content.py b/src/auth0/management/types/get_branding_theme_response_content.py index edc35468..00f66442 100644 --- a/src/auth0/management/types/get_branding_theme_response_content.py +++ b/src/auth0/management/types/get_branding_theme_response_content.py @@ -16,14 +16,16 @@ class GetBrandingThemeResponseContent(UniversalBaseModel): borders: BrandingThemeBorders colors: BrandingThemeColors - display_name: typing_extensions.Annotated[str, FieldMetadata(alias="displayName")] = pydantic.Field() + display_name: typing_extensions.Annotated[str, FieldMetadata(alias="displayName")] = pydantic.Field( + alias="displayName" + ) """ Display Name """ fonts: BrandingThemeFonts page_background: BrandingThemePageBackground - theme_id: typing_extensions.Annotated[str, FieldMetadata(alias="themeId")] = pydantic.Field() + theme_id: typing_extensions.Annotated[str, FieldMetadata(alias="themeId")] = pydantic.Field(alias="themeId") """ Theme Id """ diff --git a/src/auth0/management/types/get_client_credential_response_content.py b/src/auth0/management/types/get_client_credential_response_content.py index 69c657e4..beb6f86a 100644 --- a/src/auth0/management/types/get_client_credential_response_content.py +++ b/src/auth0/management/types/get_client_credential_response_content.py @@ -35,7 +35,7 @@ class GetClientCredentialResponseContent(UniversalBaseModel): """ thumbprint_sha_256: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="thumbprint_sha256")] = ( - pydantic.Field(default=None) + pydantic.Field(alias="thumbprint_sha256", default=None) ) """ The X509 certificate's SHA256 thumbprint diff --git a/src/auth0/management/types/get_client_grant_response_content.py b/src/auth0/management/types/get_client_grant_response_content.py new file mode 100644 index 00000000..01204824 --- /dev/null +++ b/src/auth0/management/types/get_client_grant_response_content.py @@ -0,0 +1,61 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .client_grant_organization_usage_enum import ClientGrantOrganizationUsageEnum +from .client_grant_subject_type_enum import ClientGrantSubjectTypeEnum + + +class GetClientGrantResponseContent(UniversalBaseModel): + id: typing.Optional[str] = pydantic.Field(default=None) + """ + ID of the client grant. + """ + + client_id: typing.Optional[str] = pydantic.Field(default=None) + """ + ID of the client. + """ + + audience: typing.Optional[str] = pydantic.Field(default=None) + """ + The audience (API identifier) of this client grant. + """ + + scope: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Scopes allowed for this client grant. + """ + + organization_usage: typing.Optional[ClientGrantOrganizationUsageEnum] = None + allow_any_organization: typing.Optional[bool] = pydantic.Field(default=None) + """ + If enabled, any organization can be used with this grant. If disabled (default), the grant must be explicitly assigned to the desired organizations. + """ + + is_system: typing.Optional[bool] = pydantic.Field(default=None) + """ + If enabled, this grant is a special grant created by Auth0. It cannot be modified or deleted directly. + """ + + subject_type: typing.Optional[ClientGrantSubjectTypeEnum] = None + authorization_details_types: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Types of authorization_details allowed for this client grant. + """ + + allow_all_scopes: typing.Optional[bool] = pydantic.Field(default=None) + """ + If enabled, all scopes configured on the resource server are allowed for this grant. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/get_client_response_content.py b/src/auth0/management/types/get_client_response_content.py index d31901cb..d6b1d9db 100644 --- a/src/auth0/management/types/get_client_response_content.py +++ b/src/auth0/management/types/get_client_response_content.py @@ -54,7 +54,7 @@ class GetClientResponseContent(UniversalBaseModel): """ global_: typing_extensions.Annotated[typing.Optional[bool], FieldMetadata(alias="global")] = pydantic.Field( - default=False + alias="global", default=False ) """ Whether this is your global 'All Applications' client representing legacy tenant settings (true) or a regular client (false). diff --git a/src/auth0/management/types/get_custom_domain_response_content.py b/src/auth0/management/types/get_custom_domain_response_content.py index 0f9e0e94..bb2e8669 100644 --- a/src/auth0/management/types/get_custom_domain_response_content.py +++ b/src/auth0/management/types/get_custom_domain_response_content.py @@ -27,6 +27,11 @@ class GetCustomDomainResponseContent(UniversalBaseModel): Whether this is a primary domain (true) or not (false). """ + is_default: typing.Optional[bool] = pydantic.Field(default=False) + """ + Whether this is the default custom domain (true) or not (false). + """ + status: CustomDomainStatusFilterEnum type: CustomDomainTypeEnum origin_domain_name: typing.Optional[str] = pydantic.Field( @@ -49,6 +54,10 @@ class GetCustomDomainResponseContent(UniversalBaseModel): domain_metadata: typing.Optional[DomainMetadata] = None certificate: typing.Optional[DomainCertificate] = None + relying_party_identifier: typing.Optional[str] = pydantic.Field(default=None) + """ + Relying Party ID (rpId) to be used for Passkeys on this custom domain. If not present, the full domain will be used. + """ if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/get_email_template_response_content.py b/src/auth0/management/types/get_email_template_response_content.py index 1b33fb01..6415e542 100644 --- a/src/auth0/management/types/get_email_template_response_content.py +++ b/src/auth0/management/types/get_email_template_response_content.py @@ -17,14 +17,14 @@ class GetEmailTemplateResponseContent(UniversalBaseModel): """ from_: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="from")] = pydantic.Field( - default="sender@auth0.com" + alias="from", default="sender@auth0.com" ) """ Senders `from` email address. """ result_url: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="resultUrl")] = pydantic.Field( - default=None + alias="resultUrl", default=None ) """ URL to redirect the user to after a successful action. @@ -42,14 +42,14 @@ class GetEmailTemplateResponseContent(UniversalBaseModel): url_lifetime_in_seconds: typing_extensions.Annotated[ typing.Optional[float], FieldMetadata(alias="urlLifetimeInSeconds") - ] = pydantic.Field(default=None) + ] = pydantic.Field(alias="urlLifetimeInSeconds", default=None) """ Lifetime in seconds that the link within the email will be valid for. """ include_email_in_redirect: typing_extensions.Annotated[ typing.Optional[bool], FieldMetadata(alias="includeEmailInRedirect") - ] = pydantic.Field(default=None) + ] = pydantic.Field(alias="includeEmailInRedirect", default=None) """ Whether the `reset_email` and `verify_email` templates should include the user's email address as the `email` parameter in the returnUrl (true) or whether no email address should be included in the redirect (false). Defaults to true. """ diff --git a/src/auth0/management/types/get_event_stream_delivery_history_response_content.py b/src/auth0/management/types/get_event_stream_delivery_history_response_content.py index 8822bba2..0613ee95 100644 --- a/src/auth0/management/types/get_event_stream_delivery_history_response_content.py +++ b/src/auth0/management/types/get_event_stream_delivery_history_response_content.py @@ -25,7 +25,7 @@ class GetEventStreamDeliveryHistoryResponseContent(UniversalBaseModel): Unique identifier for the event stream. """ - status: EventStreamDeliveryStatusEnum = "failed" + status: EventStreamDeliveryStatusEnum event_type: EventStreamDeliveryEventTypeEnum attempts: typing.List[EventStreamDeliveryAttempt] = pydantic.Field() """ diff --git a/src/auth0/management/types/get_group_members_response_content.py b/src/auth0/management/types/get_group_members_response_content.py new file mode 100644 index 00000000..275e25ef --- /dev/null +++ b/src/auth0/management/types/get_group_members_response_content.py @@ -0,0 +1,24 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .group_member import GroupMember + + +class GetGroupMembersResponseContent(UniversalBaseModel): + members: typing.List[GroupMember] + next: typing.Optional[str] = pydantic.Field(default=None) + """ + A cursor to be used as the "from" query parameter for the next page of results. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/get_group_response_content.py b/src/auth0/management/types/get_group_response_content.py new file mode 100644 index 00000000..72a127f9 --- /dev/null +++ b/src/auth0/management/types/get_group_response_content.py @@ -0,0 +1,63 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel + + +class GetGroupResponseContent(UniversalBaseModel): + """ + Represents the metadata of a group. Member lists are retrieved via a separate endpoint. + """ + + id: str = pydantic.Field() + """ + Unique identifier for the group (service-generated). + """ + + name: str = pydantic.Field() + """ + Name of the group. Must be unique within its scope (connection, organization, or tenant). Must contain between 1 and 128 printable ASCII characters. + """ + + external_id: typing.Optional[str] = pydantic.Field(default=None) + """ + External identifier for the group, often used for SCIM synchronization. Max length of 256 characters. + """ + + connection_id: typing.Optional[str] = pydantic.Field(default=None) + """ + Identifier for the connection this group belongs to (if a connection group). + """ + + organization_id: typing.Optional[str] = pydantic.Field(default=None) + """ + Identifier for the organization this group belongs to (if an organization group). + """ + + tenant_name: str = pydantic.Field() + """ + Identifier for the tenant this group belongs to. + """ + + description: typing.Optional[str] = None + created_at: dt.datetime = pydantic.Field() + """ + Timestamp of when the group was created. + """ + + updated_at: dt.datetime = pydantic.Field() + """ + Timestamp of when the group was last updated. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/get_guardian_factors_provider_phone_twilio_response_content.py b/src/auth0/management/types/get_guardian_factors_provider_phone_twilio_response_content.py index bc8fa831..3bbcd58b 100644 --- a/src/auth0/management/types/get_guardian_factors_provider_phone_twilio_response_content.py +++ b/src/auth0/management/types/get_guardian_factors_provider_phone_twilio_response_content.py @@ -10,7 +10,7 @@ class GetGuardianFactorsProviderPhoneTwilioResponseContent(UniversalBaseModel): from_: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="from")] = pydantic.Field( - default="+1223323" + alias="from", default="+1223323" ) """ From number diff --git a/src/auth0/management/types/get_guardian_factors_provider_sms_twilio_response_content.py b/src/auth0/management/types/get_guardian_factors_provider_sms_twilio_response_content.py index ae673585..67f673a6 100644 --- a/src/auth0/management/types/get_guardian_factors_provider_sms_twilio_response_content.py +++ b/src/auth0/management/types/get_guardian_factors_provider_sms_twilio_response_content.py @@ -10,7 +10,7 @@ class GetGuardianFactorsProviderSmsTwilioResponseContent(UniversalBaseModel): from_: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="from")] = pydantic.Field( - default="+1223323" + alias="from", default="+1223323" ) """ From number diff --git a/src/auth0/management/types/get_hook_response_content.py b/src/auth0/management/types/get_hook_response_content.py index 619b489f..9e0b788d 100644 --- a/src/auth0/management/types/get_hook_response_content.py +++ b/src/auth0/management/types/get_hook_response_content.py @@ -11,7 +11,7 @@ class GetHookResponseContent(UniversalBaseModel): trigger_id: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="triggerId")] = pydantic.Field( - default=None + alias="triggerId", default=None ) """ Trigger ID diff --git a/src/auth0/management/types/get_log_response_content.py b/src/auth0/management/types/get_log_response_content.py index fb513a1b..8c91415c 100644 --- a/src/auth0/management/types/get_log_response_content.py +++ b/src/auth0/management/types/get_log_response_content.py @@ -90,7 +90,7 @@ class GetLogResponseContent(UniversalBaseModel): """ is_mobile: typing_extensions.Annotated[typing.Optional[bool], FieldMetadata(alias="isMobile")] = pydantic.Field( - default=None + alias="isMobile", default=None ) """ Whether the client was a mobile device (true) or desktop/laptop/server (false). diff --git a/src/auth0/management/types/get_organization_discovery_domain_by_name_response_content.py b/src/auth0/management/types/get_organization_discovery_domain_by_name_response_content.py new file mode 100644 index 00000000..9513b48f --- /dev/null +++ b/src/auth0/management/types/get_organization_discovery_domain_by_name_response_content.py @@ -0,0 +1,44 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .organization_discovery_domain_status import OrganizationDiscoveryDomainStatus + + +class GetOrganizationDiscoveryDomainByNameResponseContent(UniversalBaseModel): + id: str = pydantic.Field() + """ + Organization discovery domain identifier. + """ + + domain: str = pydantic.Field() + """ + The domain name to associate with the organization e.g. acme.com. + """ + + status: OrganizationDiscoveryDomainStatus + use_for_organization_discovery: typing.Optional[bool] = pydantic.Field(default=None) + """ + Indicates whether this domain should be used for organization discovery. + """ + + verification_txt: str = pydantic.Field() + """ + A unique token generated for the discovery domain. This must be placed in a DNS TXT record at the location specified by the verification_host field to prove domain ownership. + """ + + verification_host: str = pydantic.Field() + """ + The full domain where the TXT record should be added. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/get_organization_discovery_domain_response_content.py b/src/auth0/management/types/get_organization_discovery_domain_response_content.py index ef112a0a..ba439bde 100644 --- a/src/auth0/management/types/get_organization_discovery_domain_response_content.py +++ b/src/auth0/management/types/get_organization_discovery_domain_response_content.py @@ -19,6 +19,11 @@ class GetOrganizationDiscoveryDomainResponseContent(UniversalBaseModel): """ status: OrganizationDiscoveryDomainStatus + use_for_organization_discovery: typing.Optional[bool] = pydantic.Field(default=None) + """ + Indicates whether this domain should be used for organization discovery. + """ + verification_txt: str = pydantic.Field() """ A unique token generated for the discovery domain. This must be placed in a DNS TXT record at the location specified by the verification_host field to prove domain ownership. diff --git a/src/auth0/management/types/get_refresh_token_response_content.py b/src/auth0/management/types/get_refresh_token_response_content.py index 2931ba93..e6f43ea7 100644 --- a/src/auth0/management/types/get_refresh_token_response_content.py +++ b/src/auth0/management/types/get_refresh_token_response_content.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel from .refresh_token_date import RefreshTokenDate from .refresh_token_device import RefreshTokenDevice +from .refresh_token_metadata import RefreshTokenMetadata from .refresh_token_resource_server import RefreshTokenResourceServer from .refresh_token_session_id import RefreshTokenSessionId @@ -41,6 +42,7 @@ class GetRefreshTokenResponseContent(UniversalBaseModel): A list of the resource server IDs associated to this refresh-token and their granted scopes """ + refresh_token_metadata: typing.Optional[RefreshTokenMetadata] = None last_exchanged_at: typing.Optional[RefreshTokenDate] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/get_signing_keys_response_content.py b/src/auth0/management/types/get_signing_keys_response_content.py index 99e0ab55..f01bf2c9 100644 --- a/src/auth0/management/types/get_signing_keys_response_content.py +++ b/src/auth0/management/types/get_signing_keys_response_content.py @@ -23,7 +23,7 @@ class GetSigningKeysResponseContent(UniversalBaseModel): """ pkcs_7: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="pkcs7")] = pydantic.Field( - default="-----BEGIN PKCS7-----\r\nMIIDPA....t8xAA==\r\n-----END PKCS7-----" + alias="pkcs7", default="-----BEGIN PKCS7-----\r\nMIIDPA....t8xAA==\r\n-----END PKCS7-----" ) """ The public certificate of the signing key in pkcs7 format diff --git a/src/auth0/management/types/get_tenant_settings_response_content.py b/src/auth0/management/types/get_tenant_settings_response_content.py index 28608446..f09afca8 100644 --- a/src/auth0/management/types/get_tenant_settings_response_content.py +++ b/src/auth0/management/types/get_tenant_settings_response_content.py @@ -142,6 +142,15 @@ class GetTenantSettingsResponseContent(UniversalBaseModel): """ resource_parameter_profile: typing.Optional[TenantSettingsResourceParameterProfile] = None + phone_consolidated_experience: typing.Optional[bool] = pydantic.Field(default=None) + """ + Whether Phone Consolidated Experience is enabled for this tenant. + """ + + enable_ai_guide: typing.Optional[bool] = pydantic.Field(default=None) + """ + Whether Auth0 Guide (AI-powered assistance) is enabled for this tenant. + """ if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/get_user_groups_paginated_response_content.py b/src/auth0/management/types/get_user_groups_paginated_response_content.py new file mode 100644 index 00000000..f2c9cd48 --- /dev/null +++ b/src/auth0/management/types/get_user_groups_paginated_response_content.py @@ -0,0 +1,28 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .user_groups_response_schema import UserGroupsResponseSchema + + +class GetUserGroupsPaginatedResponseContent(UniversalBaseModel): + groups: typing.List[UserGroupsResponseSchema] + next: typing.Optional[str] = pydantic.Field(default=None) + """ + A cursor to be used as the "from" query parameter for the next page of results. + """ + + start: typing.Optional[float] = None + limit: typing.Optional[float] = None + total: typing.Optional[float] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/group_member.py b/src/auth0/management/types/group_member.py new file mode 100644 index 00000000..0c98a861 --- /dev/null +++ b/src/auth0/management/types/group_member.py @@ -0,0 +1,41 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .group_member_type_enum import GroupMemberTypeEnum +from .group_type_enum import GroupTypeEnum + + +class GroupMember(UniversalBaseModel): + """ + Represents the metadata of a group membership. + """ + + id: typing.Optional[str] = pydantic.Field(default=None) + """ + Unique identifier for the member. + """ + + member_type: typing.Optional[GroupMemberTypeEnum] = None + type: typing.Optional[GroupTypeEnum] = None + connection_id: typing.Optional[str] = pydantic.Field(default=None) + """ + Identifier for the connection this group belongs to (if a connection group). + """ + + created_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + Timestamp of when the membership was created. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/group_member_type_enum.py b/src/auth0/management/types/group_member_type_enum.py new file mode 100644 index 00000000..8d55b3fe --- /dev/null +++ b/src/auth0/management/types/group_member_type_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +GroupMemberTypeEnum = typing.Union[typing.Literal["user", "group"], typing.Any] diff --git a/src/auth0/management/types/group_type_enum.py b/src/auth0/management/types/group_type_enum.py new file mode 100644 index 00000000..1eeb731e --- /dev/null +++ b/src/auth0/management/types/group_type_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +GroupTypeEnum = typing.Union[typing.Literal["connection", "organization", "tenant"], typing.Any] diff --git a/src/auth0/management/types/hook.py b/src/auth0/management/types/hook.py index 40e8a519..a8fe7526 100644 --- a/src/auth0/management/types/hook.py +++ b/src/auth0/management/types/hook.py @@ -11,7 +11,7 @@ class Hook(UniversalBaseModel): trigger_id: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="triggerId")] = pydantic.Field( - default=None + alias="triggerId", default=None ) """ Trigger ID diff --git a/src/auth0/management/types/identity_provider_only_auth_0_enum.py b/src/auth0/management/types/identity_provider_only_auth_0_enum.py index 3dbc3a6d..bb899db7 100644 --- a/src/auth0/management/types/identity_provider_only_auth_0_enum.py +++ b/src/auth0/management/types/identity_provider_only_auth_0_enum.py @@ -2,4 +2,4 @@ import typing -IdentityProviderOnlyAuth0Enum = typing.Literal["auth0"] +IdentityProviderOnlyAuth0Enum = typing.Union[typing.Literal["auth0"], typing.Any] diff --git a/src/auth0/management/types/list_aculs_offset_paginated_response_content.py b/src/auth0/management/types/list_aculs_offset_paginated_response_content.py index 49ae4f41..6c9b1326 100644 --- a/src/auth0/management/types/list_aculs_offset_paginated_response_content.py +++ b/src/auth0/management/types/list_aculs_offset_paginated_response_content.py @@ -4,11 +4,11 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel -from .acul_response_content import AculResponseContent +from .list_aculs_response_content_item import ListAculsResponseContentItem class ListAculsOffsetPaginatedResponseContent(UniversalBaseModel): - configs: typing.Optional[typing.List[AculResponseContent]] = None + configs: typing.Optional[typing.List[ListAculsResponseContentItem]] = None start: typing.Optional[float] = pydantic.Field(default=None) """ the index of the first configuration in the response (before filtering) diff --git a/src/auth0/management/types/acul_response_content.py b/src/auth0/management/types/list_aculs_response_content_item.py similarity index 68% rename from src/auth0/management/types/acul_response_content.py rename to src/auth0/management/types/list_aculs_response_content_item.py index 8bd90cdf..673a2a7c 100644 --- a/src/auth0/management/types/acul_response_content.py +++ b/src/auth0/management/types/list_aculs_response_content_item.py @@ -4,24 +4,36 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .acul_context_configuration import AculContextConfiguration from .acul_filters import AculFilters from .acul_head_tag import AculHeadTag from .acul_rendering_mode_enum import AculRenderingModeEnum -class AculResponseContent(UniversalBaseModel): - rendering_mode: typing.Optional[AculRenderingModeEnum] = None - context_configuration: typing.Optional[typing.List[str]] = pydantic.Field(default=None) +class ListAculsResponseContentItem(UniversalBaseModel): + tenant: typing.Optional[str] = pydantic.Field(default=None) + """ + Tenant ID + """ + + prompt: typing.Optional[str] = pydantic.Field(default=None) """ - Context values to make available + Name of the prompt """ - default_head_tags_disabled: typing.Optional[bool] = pydantic.Field(default=None) + screen: typing.Optional[str] = pydantic.Field(default=None) + """ + Name of the screen + """ + + rendering_mode: typing.Optional[AculRenderingModeEnum] = None + context_configuration: typing.Optional[AculContextConfiguration] = None + default_head_tags_disabled: typing.Optional[bool] = pydantic.Field(default=False) """ Override Universal Login default head tags """ - use_page_template: typing.Optional[bool] = pydantic.Field(default=None) + use_page_template: typing.Optional[bool] = pydantic.Field(default=False) """ Use page template with ACUL """ diff --git a/src/auth0/management/types/list_directory_provisionings_response_content.py b/src/auth0/management/types/list_directory_provisionings_response_content.py new file mode 100644 index 00000000..f665fcf2 --- /dev/null +++ b/src/auth0/management/types/list_directory_provisionings_response_content.py @@ -0,0 +1,28 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .directory_provisioning import DirectoryProvisioning + + +class ListDirectoryProvisioningsResponseContent(UniversalBaseModel): + directory_provisionings: typing.List[DirectoryProvisioning] = pydantic.Field() + """ + List of directory provisioning configurations + """ + + next: typing.Optional[str] = pydantic.Field(default=None) + """ + The cursor to be used as the "from" query parameter for the next page of results. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/list_event_streams_response_content.py b/src/auth0/management/types/list_event_streams_response_content.py new file mode 100644 index 00000000..bdfe1718 --- /dev/null +++ b/src/auth0/management/types/list_event_streams_response_content.py @@ -0,0 +1,28 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +import typing_extensions +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from ..core.serialization import FieldMetadata +from .event_stream_response_content import EventStreamResponseContent + + +class ListEventStreamsResponseContent(UniversalBaseModel): + event_streams: typing_extensions.Annotated[ + typing.Optional[typing.List[EventStreamResponseContent]], FieldMetadata(alias="eventStreams") + ] = pydantic.Field(alias="eventStreams", default=None) + next: typing.Optional[str] = pydantic.Field(default=None) + """ + Opaque identifier for use with the from query parameter for the next page of results. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/list_groups_paginated_response_content.py b/src/auth0/management/types/list_groups_paginated_response_content.py new file mode 100644 index 00000000..b6f54d09 --- /dev/null +++ b/src/auth0/management/types/list_groups_paginated_response_content.py @@ -0,0 +1,28 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .group import Group + + +class ListGroupsPaginatedResponseContent(UniversalBaseModel): + groups: typing.List[Group] + next: typing.Optional[str] = pydantic.Field(default=None) + """ + A cursor to be used as the "from" query parameter for the next page of results. + """ + + start: typing.Optional[float] = None + limit: typing.Optional[float] = None + total: typing.Optional[float] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/log.py b/src/auth0/management/types/log.py index 7aa34990..d54b6f77 100644 --- a/src/auth0/management/types/log.py +++ b/src/auth0/management/types/log.py @@ -90,7 +90,7 @@ class Log(UniversalBaseModel): """ is_mobile: typing_extensions.Annotated[typing.Optional[bool], FieldMetadata(alias="isMobile")] = pydantic.Field( - default=None + alias="isMobile", default=None ) """ Whether the client was a mobile device (true) or desktop/laptop/server (false). diff --git a/src/auth0/management/types/log_location_info.py b/src/auth0/management/types/log_location_info.py index 338aefd3..2965536a 100644 --- a/src/auth0/management/types/log_location_info.py +++ b/src/auth0/management/types/log_location_info.py @@ -19,7 +19,7 @@ class LogLocationInfo(UniversalBaseModel): """ country_code_3: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="country_code3")] = ( - pydantic.Field(default=None) + pydantic.Field(alias="country_code3", default=None) ) """ Three-letter Alpha-3 ISO 3166-1 country code. @@ -35,12 +35,12 @@ class LogLocationInfo(UniversalBaseModel): Full city name in English. """ - latitude: typing.Optional[str] = pydantic.Field(default=None) + latitude: typing.Optional[float] = pydantic.Field(default=None) """ Global latitude (horizontal) position. """ - longitude: typing.Optional[str] = pydantic.Field(default=None) + longitude: typing.Optional[float] = pydantic.Field(default=None) """ Global longitude (vertical) position. """ diff --git a/src/auth0/management/types/log_security_context.py b/src/auth0/management/types/log_security_context.py index 95963b44..be6abb25 100644 --- a/src/auth0/management/types/log_security_context.py +++ b/src/auth0/management/types/log_security_context.py @@ -13,12 +13,16 @@ class LogSecurityContext(UniversalBaseModel): Information about security-related signals. """ - ja_3: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="ja3")] = pydantic.Field(default=None) + ja_3: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="ja3")] = pydantic.Field( + alias="ja3", default=None + ) """ JA3 fingerprint value. """ - ja_4: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="ja4")] = pydantic.Field(default=None) + ja_4: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="ja4")] = pydantic.Field( + alias="ja4", default=None + ) """ JA4 fingerprint value. """ diff --git a/src/auth0/management/types/log_stream_datadog_enum.py b/src/auth0/management/types/log_stream_datadog_enum.py index f3873349..fca13779 100644 --- a/src/auth0/management/types/log_stream_datadog_enum.py +++ b/src/auth0/management/types/log_stream_datadog_enum.py @@ -2,4 +2,4 @@ import typing -LogStreamDatadogEnum = typing.Literal["datadog"] +LogStreamDatadogEnum = typing.Union[typing.Literal["datadog"], typing.Any] diff --git a/src/auth0/management/types/log_stream_datadog_response_schema.py b/src/auth0/management/types/log_stream_datadog_response_schema.py index b10af7dc..c712989d 100644 --- a/src/auth0/management/types/log_stream_datadog_response_schema.py +++ b/src/auth0/management/types/log_stream_datadog_response_schema.py @@ -27,7 +27,7 @@ class LogStreamDatadogResponseSchema(UniversalBaseModel): status: typing.Optional[LogStreamStatusEnum] = None type: typing.Optional[LogStreamDatadogEnum] = None is_priority: typing_extensions.Annotated[typing.Optional[bool], FieldMetadata(alias="isPriority")] = pydantic.Field( - default=None + alias="isPriority", default=None ) """ True for priority log streams, false for non-priority diff --git a/src/auth0/management/types/log_stream_datadog_sink.py b/src/auth0/management/types/log_stream_datadog_sink.py index 54828e34..5e91d6d8 100644 --- a/src/auth0/management/types/log_stream_datadog_sink.py +++ b/src/auth0/management/types/log_stream_datadog_sink.py @@ -10,12 +10,16 @@ class LogStreamDatadogSink(UniversalBaseModel): - datadog_api_key: typing_extensions.Annotated[str, FieldMetadata(alias="datadogApiKey")] = pydantic.Field() + datadog_api_key: typing_extensions.Annotated[str, FieldMetadata(alias="datadogApiKey")] = pydantic.Field( + alias="datadogApiKey" + ) """ Datadog API Key """ - datadog_region: typing_extensions.Annotated[LogStreamDatadogRegionEnum, FieldMetadata(alias="datadogRegion")] + datadog_region: typing_extensions.Annotated[LogStreamDatadogRegionEnum, FieldMetadata(alias="datadogRegion")] = ( + pydantic.Field(alias="datadogRegion") + ) if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/log_stream_event_bridge_enum.py b/src/auth0/management/types/log_stream_event_bridge_enum.py index a65607a0..575afcbb 100644 --- a/src/auth0/management/types/log_stream_event_bridge_enum.py +++ b/src/auth0/management/types/log_stream_event_bridge_enum.py @@ -2,4 +2,4 @@ import typing -LogStreamEventBridgeEnum = typing.Literal["eventbridge"] +LogStreamEventBridgeEnum = typing.Union[typing.Literal["eventbridge"], typing.Any] diff --git a/src/auth0/management/types/log_stream_event_bridge_response_schema.py b/src/auth0/management/types/log_stream_event_bridge_response_schema.py index a49a40fd..e266c6be 100644 --- a/src/auth0/management/types/log_stream_event_bridge_response_schema.py +++ b/src/auth0/management/types/log_stream_event_bridge_response_schema.py @@ -27,7 +27,7 @@ class LogStreamEventBridgeResponseSchema(UniversalBaseModel): status: typing.Optional[LogStreamStatusEnum] = None type: typing.Optional[LogStreamEventBridgeEnum] = None is_priority: typing_extensions.Annotated[typing.Optional[bool], FieldMetadata(alias="isPriority")] = pydantic.Field( - default=None + alias="isPriority", default=None ) """ True for priority log streams, false for non-priority diff --git a/src/auth0/management/types/log_stream_event_bridge_sink.py b/src/auth0/management/types/log_stream_event_bridge_sink.py index ac6fcc84..78299e64 100644 --- a/src/auth0/management/types/log_stream_event_bridge_sink.py +++ b/src/auth0/management/types/log_stream_event_bridge_sink.py @@ -10,15 +10,19 @@ class LogStreamEventBridgeSink(UniversalBaseModel): - aws_account_id: typing_extensions.Annotated[str, FieldMetadata(alias="awsAccountId")] = pydantic.Field() + aws_account_id: typing_extensions.Annotated[str, FieldMetadata(alias="awsAccountId")] = pydantic.Field( + alias="awsAccountId" + ) """ AWS account ID """ - aws_region: typing_extensions.Annotated[LogStreamEventBridgeSinkRegionEnum, FieldMetadata(alias="awsRegion")] + aws_region: typing_extensions.Annotated[LogStreamEventBridgeSinkRegionEnum, FieldMetadata(alias="awsRegion")] = ( + pydantic.Field(alias="awsRegion") + ) aws_partner_event_source: typing_extensions.Annotated[ typing.Optional[str], FieldMetadata(alias="awsPartnerEventSource") - ] = pydantic.Field(default=None) + ] = pydantic.Field(alias="awsPartnerEventSource", default=None) """ AWS EventBridge partner event source """ diff --git a/src/auth0/management/types/log_stream_event_grid_enum.py b/src/auth0/management/types/log_stream_event_grid_enum.py index 64ca1578..d8d3d3a1 100644 --- a/src/auth0/management/types/log_stream_event_grid_enum.py +++ b/src/auth0/management/types/log_stream_event_grid_enum.py @@ -2,4 +2,4 @@ import typing -LogStreamEventGridEnum = typing.Literal["eventgrid"] +LogStreamEventGridEnum = typing.Union[typing.Literal["eventgrid"], typing.Any] diff --git a/src/auth0/management/types/log_stream_event_grid_response_schema.py b/src/auth0/management/types/log_stream_event_grid_response_schema.py index fc255bd4..b2046501 100644 --- a/src/auth0/management/types/log_stream_event_grid_response_schema.py +++ b/src/auth0/management/types/log_stream_event_grid_response_schema.py @@ -27,7 +27,7 @@ class LogStreamEventGridResponseSchema(UniversalBaseModel): status: typing.Optional[LogStreamStatusEnum] = None type: typing.Optional[LogStreamEventGridEnum] = None is_priority: typing_extensions.Annotated[typing.Optional[bool], FieldMetadata(alias="isPriority")] = pydantic.Field( - default=None + alias="isPriority", default=None ) """ True for priority log streams, false for non-priority diff --git a/src/auth0/management/types/log_stream_event_grid_sink.py b/src/auth0/management/types/log_stream_event_grid_sink.py index 78cafa18..2974b5d0 100644 --- a/src/auth0/management/types/log_stream_event_grid_sink.py +++ b/src/auth0/management/types/log_stream_event_grid_sink.py @@ -11,20 +11,24 @@ class LogStreamEventGridSink(UniversalBaseModel): azure_subscription_id: typing_extensions.Annotated[str, FieldMetadata(alias="azureSubscriptionId")] = ( - pydantic.Field() + pydantic.Field(alias="azureSubscriptionId") ) """ Subscription ID """ - azure_region: typing_extensions.Annotated[LogStreamEventGridRegionEnum, FieldMetadata(alias="azureRegion")] - azure_resource_group: typing_extensions.Annotated[str, FieldMetadata(alias="azureResourceGroup")] = pydantic.Field() + azure_region: typing_extensions.Annotated[LogStreamEventGridRegionEnum, FieldMetadata(alias="azureRegion")] = ( + pydantic.Field(alias="azureRegion") + ) + azure_resource_group: typing_extensions.Annotated[str, FieldMetadata(alias="azureResourceGroup")] = pydantic.Field( + alias="azureResourceGroup" + ) """ Resource Group """ azure_partner_topic: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="azurePartnerTopic")] = ( - pydantic.Field(default=None) + pydantic.Field(alias="azurePartnerTopic", default=None) ) """ Partner Topic diff --git a/src/auth0/management/types/log_stream_filter_type_enum.py b/src/auth0/management/types/log_stream_filter_type_enum.py index f8520379..3519bf1f 100644 --- a/src/auth0/management/types/log_stream_filter_type_enum.py +++ b/src/auth0/management/types/log_stream_filter_type_enum.py @@ -2,4 +2,4 @@ import typing -LogStreamFilterTypeEnum = typing.Literal["category"] +LogStreamFilterTypeEnum = typing.Union[typing.Literal["category"], typing.Any] diff --git a/src/auth0/management/types/log_stream_http_enum.py b/src/auth0/management/types/log_stream_http_enum.py index ca4861ce..60ca48ef 100644 --- a/src/auth0/management/types/log_stream_http_enum.py +++ b/src/auth0/management/types/log_stream_http_enum.py @@ -2,4 +2,4 @@ import typing -LogStreamHttpEnum = typing.Literal["http"] +LogStreamHttpEnum = typing.Union[typing.Literal["http"], typing.Any] diff --git a/src/auth0/management/types/log_stream_http_response_schema.py b/src/auth0/management/types/log_stream_http_response_schema.py index b2ae8e34..7e7124f7 100644 --- a/src/auth0/management/types/log_stream_http_response_schema.py +++ b/src/auth0/management/types/log_stream_http_response_schema.py @@ -27,7 +27,7 @@ class LogStreamHttpResponseSchema(UniversalBaseModel): status: typing.Optional[LogStreamStatusEnum] = None type: typing.Optional[LogStreamHttpEnum] = None is_priority: typing_extensions.Annotated[typing.Optional[bool], FieldMetadata(alias="isPriority")] = pydantic.Field( - default=None + alias="isPriority", default=None ) """ True for priority log streams, false for non-priority diff --git a/src/auth0/management/types/log_stream_http_sink.py b/src/auth0/management/types/log_stream_http_sink.py index 8f866968..c5f791b1 100644 --- a/src/auth0/management/types/log_stream_http_sink.py +++ b/src/auth0/management/types/log_stream_http_sink.py @@ -12,7 +12,7 @@ class LogStreamHttpSink(UniversalBaseModel): http_authorization: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="httpAuthorization")] = ( - pydantic.Field(default=None) + pydantic.Field(alias="httpAuthorization", default=None) ) """ HTTP Authorization header @@ -20,22 +20,24 @@ class LogStreamHttpSink(UniversalBaseModel): http_content_format: typing_extensions.Annotated[ typing.Optional[LogStreamHttpContentFormatEnum], FieldMetadata(alias="httpContentFormat") - ] = None + ] = pydantic.Field(alias="httpContentFormat", default=None) http_content_type: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="httpContentType")] = ( - pydantic.Field(default=None) + pydantic.Field(alias="httpContentType", default=None) ) """ HTTP Content-Type header """ - http_endpoint: typing_extensions.Annotated[str, FieldMetadata(alias="httpEndpoint")] = pydantic.Field() + http_endpoint: typing_extensions.Annotated[str, FieldMetadata(alias="httpEndpoint")] = pydantic.Field( + alias="httpEndpoint" + ) """ HTTP endpoint """ http_custom_headers: typing_extensions.Annotated[ typing.Optional[typing.List[HttpCustomHeader]], FieldMetadata(alias="httpCustomHeaders") - ] = pydantic.Field(default=None) + ] = pydantic.Field(alias="httpCustomHeaders", default=None) """ custom HTTP headers """ diff --git a/src/auth0/management/types/log_stream_mixpanel_enum.py b/src/auth0/management/types/log_stream_mixpanel_enum.py index a37a4046..3ef7f81c 100644 --- a/src/auth0/management/types/log_stream_mixpanel_enum.py +++ b/src/auth0/management/types/log_stream_mixpanel_enum.py @@ -2,4 +2,4 @@ import typing -LogStreamMixpanelEnum = typing.Literal["mixpanel"] +LogStreamMixpanelEnum = typing.Union[typing.Literal["mixpanel"], typing.Any] diff --git a/src/auth0/management/types/log_stream_mixpanel_response_schema.py b/src/auth0/management/types/log_stream_mixpanel_response_schema.py index 5eef5e81..567cbe0d 100644 --- a/src/auth0/management/types/log_stream_mixpanel_response_schema.py +++ b/src/auth0/management/types/log_stream_mixpanel_response_schema.py @@ -27,7 +27,7 @@ class LogStreamMixpanelResponseSchema(UniversalBaseModel): status: typing.Optional[LogStreamStatusEnum] = None type: typing.Optional[LogStreamMixpanelEnum] = None is_priority: typing_extensions.Annotated[typing.Optional[bool], FieldMetadata(alias="isPriority")] = pydantic.Field( - default=None + alias="isPriority", default=None ) """ True for priority log streams, false for non-priority diff --git a/src/auth0/management/types/log_stream_mixpanel_sink.py b/src/auth0/management/types/log_stream_mixpanel_sink.py index aabebd5b..6734c4dd 100644 --- a/src/auth0/management/types/log_stream_mixpanel_sink.py +++ b/src/auth0/management/types/log_stream_mixpanel_sink.py @@ -10,22 +10,26 @@ class LogStreamMixpanelSink(UniversalBaseModel): - mixpanel_region: typing_extensions.Annotated[LogStreamMixpanelRegionEnum, FieldMetadata(alias="mixpanelRegion")] - mixpanel_project_id: typing_extensions.Annotated[str, FieldMetadata(alias="mixpanelProjectId")] = pydantic.Field() + mixpanel_region: typing_extensions.Annotated[LogStreamMixpanelRegionEnum, FieldMetadata(alias="mixpanelRegion")] = ( + pydantic.Field(alias="mixpanelRegion") + ) + mixpanel_project_id: typing_extensions.Annotated[str, FieldMetadata(alias="mixpanelProjectId")] = pydantic.Field( + alias="mixpanelProjectId" + ) """ Mixpanel Project Id """ mixpanel_service_account_username: typing_extensions.Annotated[ str, FieldMetadata(alias="mixpanelServiceAccountUsername") - ] = pydantic.Field() + ] = pydantic.Field(alias="mixpanelServiceAccountUsername") """ Mixpanel Service Account Username """ mixpanel_service_account_password: typing_extensions.Annotated[ str, FieldMetadata(alias="mixpanelServiceAccountPassword") - ] = pydantic.Field() + ] = pydantic.Field(alias="mixpanelServiceAccountPassword") """ Mixpanel Service Account Password """ diff --git a/src/auth0/management/types/log_stream_mixpanel_sink_patch.py b/src/auth0/management/types/log_stream_mixpanel_sink_patch.py index 9cb04923..3b70075e 100644 --- a/src/auth0/management/types/log_stream_mixpanel_sink_patch.py +++ b/src/auth0/management/types/log_stream_mixpanel_sink_patch.py @@ -10,22 +10,26 @@ class LogStreamMixpanelSinkPatch(UniversalBaseModel): - mixpanel_region: typing_extensions.Annotated[LogStreamMixpanelRegionEnum, FieldMetadata(alias="mixpanelRegion")] - mixpanel_project_id: typing_extensions.Annotated[str, FieldMetadata(alias="mixpanelProjectId")] = pydantic.Field() + mixpanel_region: typing_extensions.Annotated[LogStreamMixpanelRegionEnum, FieldMetadata(alias="mixpanelRegion")] = ( + pydantic.Field(alias="mixpanelRegion") + ) + mixpanel_project_id: typing_extensions.Annotated[str, FieldMetadata(alias="mixpanelProjectId")] = pydantic.Field( + alias="mixpanelProjectId" + ) """ Mixpanel Project Id """ mixpanel_service_account_username: typing_extensions.Annotated[ str, FieldMetadata(alias="mixpanelServiceAccountUsername") - ] = pydantic.Field() + ] = pydantic.Field(alias="mixpanelServiceAccountUsername") """ Mixpanel Service Account Username """ mixpanel_service_account_password: typing_extensions.Annotated[ typing.Optional[str], FieldMetadata(alias="mixpanelServiceAccountPassword") - ] = pydantic.Field(default=None) + ] = pydantic.Field(alias="mixpanelServiceAccountPassword", default=None) """ Mixpanel Service Account Password """ diff --git a/src/auth0/management/types/log_stream_pii_algorithm_enum.py b/src/auth0/management/types/log_stream_pii_algorithm_enum.py index dff52cc2..7ad19518 100644 --- a/src/auth0/management/types/log_stream_pii_algorithm_enum.py +++ b/src/auth0/management/types/log_stream_pii_algorithm_enum.py @@ -2,4 +2,4 @@ import typing -LogStreamPiiAlgorithmEnum = typing.Literal["xxhash"] +LogStreamPiiAlgorithmEnum = typing.Union[typing.Literal["xxhash"], typing.Any] diff --git a/src/auth0/management/types/log_stream_segment_enum.py b/src/auth0/management/types/log_stream_segment_enum.py index da4a09f0..f25d3e79 100644 --- a/src/auth0/management/types/log_stream_segment_enum.py +++ b/src/auth0/management/types/log_stream_segment_enum.py @@ -2,4 +2,4 @@ import typing -LogStreamSegmentEnum = typing.Literal["segment"] +LogStreamSegmentEnum = typing.Union[typing.Literal["segment"], typing.Any] diff --git a/src/auth0/management/types/log_stream_segment_response_schema.py b/src/auth0/management/types/log_stream_segment_response_schema.py index c5e25aa8..eac5f0b2 100644 --- a/src/auth0/management/types/log_stream_segment_response_schema.py +++ b/src/auth0/management/types/log_stream_segment_response_schema.py @@ -27,7 +27,7 @@ class LogStreamSegmentResponseSchema(UniversalBaseModel): status: typing.Optional[LogStreamStatusEnum] = None type: typing.Optional[LogStreamSegmentEnum] = None is_priority: typing_extensions.Annotated[typing.Optional[bool], FieldMetadata(alias="isPriority")] = pydantic.Field( - default=None + alias="isPriority", default=None ) """ True for priority log streams, false for non-priority diff --git a/src/auth0/management/types/log_stream_segment_sink.py b/src/auth0/management/types/log_stream_segment_sink.py index 06b7828a..18a28d2f 100644 --- a/src/auth0/management/types/log_stream_segment_sink.py +++ b/src/auth0/management/types/log_stream_segment_sink.py @@ -10,7 +10,7 @@ class LogStreamSegmentSink(UniversalBaseModel): segment_write_key: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="segmentWriteKey")] = ( - pydantic.Field(default=None) + pydantic.Field(alias="segmentWriteKey", default=None) ) """ Segment write key diff --git a/src/auth0/management/types/log_stream_segment_sink_write_key.py b/src/auth0/management/types/log_stream_segment_sink_write_key.py index b748fb2a..9070a756 100644 --- a/src/auth0/management/types/log_stream_segment_sink_write_key.py +++ b/src/auth0/management/types/log_stream_segment_sink_write_key.py @@ -9,7 +9,9 @@ class LogStreamSegmentSinkWriteKey(UniversalBaseModel): - segment_write_key: typing_extensions.Annotated[str, FieldMetadata(alias="segmentWriteKey")] = pydantic.Field() + segment_write_key: typing_extensions.Annotated[str, FieldMetadata(alias="segmentWriteKey")] = pydantic.Field( + alias="segmentWriteKey" + ) """ Segment write key """ diff --git a/src/auth0/management/types/log_stream_splunk_enum.py b/src/auth0/management/types/log_stream_splunk_enum.py index 756be437..c8208d54 100644 --- a/src/auth0/management/types/log_stream_splunk_enum.py +++ b/src/auth0/management/types/log_stream_splunk_enum.py @@ -2,4 +2,4 @@ import typing -LogStreamSplunkEnum = typing.Literal["splunk"] +LogStreamSplunkEnum = typing.Union[typing.Literal["splunk"], typing.Any] diff --git a/src/auth0/management/types/log_stream_splunk_response_schema.py b/src/auth0/management/types/log_stream_splunk_response_schema.py index c4e531ff..077e7e4f 100644 --- a/src/auth0/management/types/log_stream_splunk_response_schema.py +++ b/src/auth0/management/types/log_stream_splunk_response_schema.py @@ -27,7 +27,7 @@ class LogStreamSplunkResponseSchema(UniversalBaseModel): status: typing.Optional[LogStreamStatusEnum] = None type: typing.Optional[LogStreamSplunkEnum] = None is_priority: typing_extensions.Annotated[typing.Optional[bool], FieldMetadata(alias="isPriority")] = pydantic.Field( - default=None + alias="isPriority", default=None ) """ True for priority log streams, false for non-priority diff --git a/src/auth0/management/types/log_stream_splunk_sink.py b/src/auth0/management/types/log_stream_splunk_sink.py index bb7db05e..4884eb30 100644 --- a/src/auth0/management/types/log_stream_splunk_sink.py +++ b/src/auth0/management/types/log_stream_splunk_sink.py @@ -9,22 +9,30 @@ class LogStreamSplunkSink(UniversalBaseModel): - splunk_domain: typing_extensions.Annotated[str, FieldMetadata(alias="splunkDomain")] = pydantic.Field() + splunk_domain: typing_extensions.Annotated[str, FieldMetadata(alias="splunkDomain")] = pydantic.Field( + alias="splunkDomain" + ) """ Splunk URL Endpoint """ - splunk_port: typing_extensions.Annotated[str, FieldMetadata(alias="splunkPort")] = pydantic.Field() + splunk_port: typing_extensions.Annotated[str, FieldMetadata(alias="splunkPort")] = pydantic.Field( + alias="splunkPort" + ) """ Port """ - splunk_token: typing_extensions.Annotated[str, FieldMetadata(alias="splunkToken")] = pydantic.Field() + splunk_token: typing_extensions.Annotated[str, FieldMetadata(alias="splunkToken")] = pydantic.Field( + alias="splunkToken" + ) """ Splunk token """ - splunk_secure: typing_extensions.Annotated[bool, FieldMetadata(alias="splunkSecure")] = pydantic.Field() + splunk_secure: typing_extensions.Annotated[bool, FieldMetadata(alias="splunkSecure")] = pydantic.Field( + alias="splunkSecure" + ) """ Verify TLS certificate """ diff --git a/src/auth0/management/types/log_stream_sumo_enum.py b/src/auth0/management/types/log_stream_sumo_enum.py index 02b0cd3f..f739d640 100644 --- a/src/auth0/management/types/log_stream_sumo_enum.py +++ b/src/auth0/management/types/log_stream_sumo_enum.py @@ -2,4 +2,4 @@ import typing -LogStreamSumoEnum = typing.Literal["sumo"] +LogStreamSumoEnum = typing.Union[typing.Literal["sumo"], typing.Any] diff --git a/src/auth0/management/types/log_stream_sumo_response_schema.py b/src/auth0/management/types/log_stream_sumo_response_schema.py index b7a51a95..fff68699 100644 --- a/src/auth0/management/types/log_stream_sumo_response_schema.py +++ b/src/auth0/management/types/log_stream_sumo_response_schema.py @@ -27,7 +27,7 @@ class LogStreamSumoResponseSchema(UniversalBaseModel): status: typing.Optional[LogStreamStatusEnum] = None type: typing.Optional[LogStreamSumoEnum] = None is_priority: typing_extensions.Annotated[typing.Optional[bool], FieldMetadata(alias="isPriority")] = pydantic.Field( - default=None + alias="isPriority", default=None ) """ True for priority log streams, false for non-priority diff --git a/src/auth0/management/types/log_stream_sumo_sink.py b/src/auth0/management/types/log_stream_sumo_sink.py index 4580fa60..1d3c1120 100644 --- a/src/auth0/management/types/log_stream_sumo_sink.py +++ b/src/auth0/management/types/log_stream_sumo_sink.py @@ -9,7 +9,9 @@ class LogStreamSumoSink(UniversalBaseModel): - sumo_source_address: typing_extensions.Annotated[str, FieldMetadata(alias="sumoSourceAddress")] = pydantic.Field() + sumo_source_address: typing_extensions.Annotated[str, FieldMetadata(alias="sumoSourceAddress")] = pydantic.Field( + alias="sumoSourceAddress" + ) """ HTTP Source Address """ diff --git a/src/auth0/management/types/mdl_presentation_request.py b/src/auth0/management/types/mdl_presentation_request.py index 97b1f540..33fc3e2c 100644 --- a/src/auth0/management/types/mdl_presentation_request.py +++ b/src/auth0/management/types/mdl_presentation_request.py @@ -16,7 +16,7 @@ class MdlPresentationRequest(UniversalBaseModel): org_iso_18013_5_1_m_dl: typing_extensions.Annotated[ MdlPresentationRequestProperties, FieldMetadata(alias="org.iso.18013.5.1.mDL") - ] + ] = pydantic.Field(alias="org.iso.18013.5.1.mDL") if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/mdl_presentation_request_properties.py b/src/auth0/management/types/mdl_presentation_request_properties.py index 623333e0..1c0c0504 100644 --- a/src/auth0/management/types/mdl_presentation_request_properties.py +++ b/src/auth0/management/types/mdl_presentation_request_properties.py @@ -10,7 +10,9 @@ class MdlPresentationRequestProperties(UniversalBaseModel): - org_iso_18013_5_1: typing_extensions.Annotated[MdlPresentationProperties, FieldMetadata(alias="org.iso.18013.5.1")] + org_iso_18013_5_1: typing_extensions.Annotated[ + MdlPresentationProperties, FieldMetadata(alias="org.iso.18013.5.1") + ] = pydantic.Field(alias="org.iso.18013.5.1") if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/network_acl_match.py b/src/auth0/management/types/network_acl_match.py index 7095b25c..4ad5a1ee 100644 --- a/src/auth0/management/types/network_acl_match.py +++ b/src/auth0/management/types/network_acl_match.py @@ -16,16 +16,16 @@ class NetworkAclMatch(UniversalBaseModel): geo_subdivision_codes: typing.Optional[typing.List[str]] = None ipv_4_cidrs: typing_extensions.Annotated[ typing.Optional[typing.List[NetworkAclMatchIpv4Cidr]], FieldMetadata(alias="ipv4_cidrs") - ] = None + ] = pydantic.Field(alias="ipv4_cidrs", default=None) ipv_6_cidrs: typing_extensions.Annotated[ typing.Optional[typing.List[NetworkAclMatchIpv6Cidr]], FieldMetadata(alias="ipv6_cidrs") - ] = None + ] = pydantic.Field(alias="ipv6_cidrs", default=None) ja_3_fingerprints: typing_extensions.Annotated[ typing.Optional[typing.List[str]], FieldMetadata(alias="ja3_fingerprints") - ] = None + ] = pydantic.Field(alias="ja3_fingerprints", default=None) ja_4_fingerprints: typing_extensions.Annotated[ typing.Optional[typing.List[str]], FieldMetadata(alias="ja4_fingerprints") - ] = None + ] = pydantic.Field(alias="ja4_fingerprints", default=None) user_agents: typing.Optional[typing.List[str]] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/oauth_scope.py b/src/auth0/management/types/oauth_scope.py index a559282f..7d6fffc3 100644 --- a/src/auth0/management/types/oauth_scope.py +++ b/src/auth0/management/types/oauth_scope.py @@ -49,9 +49,9 @@ "update:connection_profiles", "delete:connection_profiles", "create:connections", + "read:directory_provisionings", "update:connections", "delete:connections", - "read:directory_provisionings", "create:directory_provisionings", "update:directory_provisionings", "delete:directory_provisionings", @@ -112,6 +112,9 @@ "delete:grants", "read:groups", "read:group_members", + "read:group_roles", + "create:group_roles", + "delete:group_roles", "create:guardian_enrollment_tickets", "read:guardian_enrollments", "delete:guardian_enrollments", @@ -183,6 +186,7 @@ "read:resource_servers", "update:resource_servers", "read:refresh_tokens", + "update:refresh_tokens", "delete:refresh_tokens", "create:resource_servers", "delete:resource_servers", diff --git a/src/auth0/management/types/organization_discovery_domain.py b/src/auth0/management/types/organization_discovery_domain.py index 51c8b574..0e432341 100644 --- a/src/auth0/management/types/organization_discovery_domain.py +++ b/src/auth0/management/types/organization_discovery_domain.py @@ -19,6 +19,11 @@ class OrganizationDiscoveryDomain(UniversalBaseModel): """ status: OrganizationDiscoveryDomainStatus + use_for_organization_discovery: typing.Optional[bool] = pydantic.Field(default=None) + """ + Indicates whether this domain should be used for organization discovery. + """ + verification_txt: str = pydantic.Field() """ A unique token generated for the discovery domain. This must be placed in a DNS TXT record at the location specified by the verification_host field to prove domain ownership. diff --git a/src/auth0/management/types/partial_groups_enum.py b/src/auth0/management/types/partial_groups_enum.py index 249c569a..20d6f1e4 100644 --- a/src/auth0/management/types/partial_groups_enum.py +++ b/src/auth0/management/types/partial_groups_enum.py @@ -12,6 +12,7 @@ "signup-id", "signup-password", "customized-consent", + "passkeys", ], typing.Any, ] diff --git a/src/auth0/management/types/partial_phone_template_content.py b/src/auth0/management/types/partial_phone_template_content.py index e34c8d32..bbc7f2ad 100644 --- a/src/auth0/management/types/partial_phone_template_content.py +++ b/src/auth0/management/types/partial_phone_template_content.py @@ -10,7 +10,9 @@ class PartialPhoneTemplateContent(UniversalBaseModel): - from_: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="from")] = pydantic.Field(default=None) + from_: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="from")] = pydantic.Field( + alias="from", default=None + ) """ Default phone number to be used as 'from' when sending a phone notification """ diff --git a/src/auth0/management/types/patch_client_credential_response_content.py b/src/auth0/management/types/patch_client_credential_response_content.py index 25bc9096..da9d307b 100644 --- a/src/auth0/management/types/patch_client_credential_response_content.py +++ b/src/auth0/management/types/patch_client_credential_response_content.py @@ -35,7 +35,7 @@ class PatchClientCredentialResponseContent(UniversalBaseModel): """ thumbprint_sha_256: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="thumbprint_sha256")] = ( - pydantic.Field(default=None) + pydantic.Field(alias="thumbprint_sha256", default=None) ) """ The X509 certificate's SHA256 thumbprint diff --git a/src/auth0/management/types/phone_provider_channel_enum.py b/src/auth0/management/types/phone_provider_channel_enum.py index c703707a..7afa33c9 100644 --- a/src/auth0/management/types/phone_provider_channel_enum.py +++ b/src/auth0/management/types/phone_provider_channel_enum.py @@ -2,4 +2,4 @@ import typing -PhoneProviderChannelEnum = typing.Literal["phone"] +PhoneProviderChannelEnum = typing.Union[typing.Literal["phone"], typing.Any] diff --git a/src/auth0/management/types/phone_template_content.py b/src/auth0/management/types/phone_template_content.py index 3e36b137..72efd45b 100644 --- a/src/auth0/management/types/phone_template_content.py +++ b/src/auth0/management/types/phone_template_content.py @@ -11,7 +11,9 @@ class PhoneTemplateContent(UniversalBaseModel): syntax: typing.Optional[str] = None - from_: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="from")] = pydantic.Field(default=None) + from_: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="from")] = pydantic.Field( + alias="from", default=None + ) """ Default phone number to be used as 'from' when sending a phone notification """ diff --git a/src/auth0/management/types/post_client_credential_response_content.py b/src/auth0/management/types/post_client_credential_response_content.py index 9ee82ccc..f559fb5d 100644 --- a/src/auth0/management/types/post_client_credential_response_content.py +++ b/src/auth0/management/types/post_client_credential_response_content.py @@ -35,7 +35,7 @@ class PostClientCredentialResponseContent(UniversalBaseModel): """ thumbprint_sha_256: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="thumbprint_sha256")] = ( - pydantic.Field(default=None) + pydantic.Field(alias="thumbprint_sha256", default=None) ) """ The X509 certificate's SHA256 thumbprint diff --git a/src/auth0/management/types/public_key_credential.py b/src/auth0/management/types/public_key_credential.py index b24e3f82..7b6f07ee 100644 --- a/src/auth0/management/types/public_key_credential.py +++ b/src/auth0/management/types/public_key_credential.py @@ -10,7 +10,7 @@ class PublicKeyCredential(UniversalBaseModel): - credential_type: PublicKeyCredentialTypeEnum = "public_key" + credential_type: PublicKeyCredentialTypeEnum name: typing.Optional[str] = pydantic.Field(default="") """ Friendly name for a credential. diff --git a/src/auth0/management/types/public_key_credential_type_enum.py b/src/auth0/management/types/public_key_credential_type_enum.py index c674e3c0..41dbd04e 100644 --- a/src/auth0/management/types/public_key_credential_type_enum.py +++ b/src/auth0/management/types/public_key_credential_type_enum.py @@ -2,4 +2,4 @@ import typing -PublicKeyCredentialTypeEnum = typing.Literal["public_key"] +PublicKeyCredentialTypeEnum = typing.Union[typing.Literal["public_key"], typing.Any] diff --git a/src/auth0/management/types/refresh_token_metadata.py b/src/auth0/management/types/refresh_token_metadata.py new file mode 100644 index 00000000..08aed06f --- /dev/null +++ b/src/auth0/management/types/refresh_token_metadata.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +RefreshTokenMetadata = typing.Optional[typing.Dict[str, typing.Any]] diff --git a/src/auth0/management/types/refresh_token_response_content.py b/src/auth0/management/types/refresh_token_response_content.py index 1250342c..d9f4fb3c 100644 --- a/src/auth0/management/types/refresh_token_response_content.py +++ b/src/auth0/management/types/refresh_token_response_content.py @@ -6,6 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel from .refresh_token_date import RefreshTokenDate from .refresh_token_device import RefreshTokenDevice +from .refresh_token_metadata import RefreshTokenMetadata from .refresh_token_resource_server import RefreshTokenResourceServer from .refresh_token_session_id import RefreshTokenSessionId @@ -41,6 +42,7 @@ class RefreshTokenResponseContent(UniversalBaseModel): A list of the resource server IDs associated to this refresh-token and their granted scopes """ + refresh_token_metadata: typing.Optional[RefreshTokenMetadata] = None last_exchanged_at: typing.Optional[RefreshTokenDate] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/resource_server_consent_policy_enum.py b/src/auth0/management/types/resource_server_consent_policy_enum.py index 8f9774a5..2e8d9414 100644 --- a/src/auth0/management/types/resource_server_consent_policy_enum.py +++ b/src/auth0/management/types/resource_server_consent_policy_enum.py @@ -2,4 +2,4 @@ import typing -ResourceServerConsentPolicyEnum = typing.Optional[typing.Literal["transactional-authorization-with-mfa"]] +ResourceServerConsentPolicyEnum = typing.Union[typing.Literal["transactional-authorization-with-mfa"], typing.Any] diff --git a/src/auth0/management/types/resource_server_subject_type_authorization.py b/src/auth0/management/types/resource_server_subject_type_authorization.py index 514badc7..aac309a6 100644 --- a/src/auth0/management/types/resource_server_subject_type_authorization.py +++ b/src/auth0/management/types/resource_server_subject_type_authorization.py @@ -10,7 +10,7 @@ class ResourceServerSubjectTypeAuthorization(UniversalBaseModel): """ - Defines application access permission for a resource server. Use of this field is subject to the applicable Free Trial terms in Okta’s Master Subscription Agreement. + Defines application access permission for a resource server """ user: typing.Optional[ResourceServerSubjectTypeAuthorizationUser] = None diff --git a/src/auth0/management/types/resource_server_token_encryption.py b/src/auth0/management/types/resource_server_token_encryption.py index fc5683e3..f04f9604 100644 --- a/src/auth0/management/types/resource_server_token_encryption.py +++ b/src/auth0/management/types/resource_server_token_encryption.py @@ -9,7 +9,7 @@ class ResourceServerTokenEncryption(UniversalBaseModel): - format: ResourceServerTokenEncryptionFormatEnum = "compact-nested-jwe" + format: ResourceServerTokenEncryptionFormatEnum encryption_key: ResourceServerTokenEncryptionKey if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/resource_server_token_encryption_format_enum.py b/src/auth0/management/types/resource_server_token_encryption_format_enum.py index 9215947b..aa0b9676 100644 --- a/src/auth0/management/types/resource_server_token_encryption_format_enum.py +++ b/src/auth0/management/types/resource_server_token_encryption_format_enum.py @@ -2,4 +2,4 @@ import typing -ResourceServerTokenEncryptionFormatEnum = typing.Literal["compact-nested-jwe"] +ResourceServerTokenEncryptionFormatEnum = typing.Union[typing.Literal["compact-nested-jwe"], typing.Any] diff --git a/src/auth0/management/types/rollback_action_module_response_content.py b/src/auth0/management/types/rollback_action_module_response_content.py new file mode 100644 index 00000000..1b567299 --- /dev/null +++ b/src/auth0/management/types/rollback_action_module_response_content.py @@ -0,0 +1,73 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .action_module_dependency import ActionModuleDependency +from .action_module_secret import ActionModuleSecret +from .action_module_version_reference import ActionModuleVersionReference + + +class RollbackActionModuleResponseContent(UniversalBaseModel): + id: typing.Optional[str] = pydantic.Field(default=None) + """ + The unique ID of the module. + """ + + name: typing.Optional[str] = pydantic.Field(default=None) + """ + The name of the module. + """ + + code: typing.Optional[str] = pydantic.Field(default=None) + """ + The source code from the module's draft version. + """ + + dependencies: typing.Optional[typing.List[ActionModuleDependency]] = pydantic.Field(default=None) + """ + The npm dependencies from the module's draft version. + """ + + secrets: typing.Optional[typing.List[ActionModuleSecret]] = pydantic.Field(default=None) + """ + The secrets from the module's draft version (names and timestamps only, values never returned). + """ + + actions_using_module_total: typing.Optional[int] = pydantic.Field(default=None) + """ + The number of deployed actions using this module. + """ + + all_changes_published: typing.Optional[bool] = pydantic.Field(default=None) + """ + Whether all draft changes have been published as a version. + """ + + latest_version_number: typing.Optional[int] = pydantic.Field(default=None) + """ + The version number of the latest published version. Omitted if no versions have been published. + """ + + created_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + Timestamp when the module was created. + """ + + updated_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + Timestamp when the module was last updated. + """ + + latest_version: typing.Optional[ActionModuleVersionReference] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/rotate_client_secret_response_content.py b/src/auth0/management/types/rotate_client_secret_response_content.py index 09b46772..b4763387 100644 --- a/src/auth0/management/types/rotate_client_secret_response_content.py +++ b/src/auth0/management/types/rotate_client_secret_response_content.py @@ -54,7 +54,7 @@ class RotateClientSecretResponseContent(UniversalBaseModel): """ global_: typing_extensions.Annotated[typing.Optional[bool], FieldMetadata(alias="global")] = pydantic.Field( - default=False + alias="global", default=False ) """ Whether this is your global 'All Applications' client representing legacy tenant settings (true) or a regular client (false). diff --git a/src/auth0/management/types/scim_mapping_item.py b/src/auth0/management/types/scim_mapping_item.py index cc5c5b6d..d2ad1ca3 100644 --- a/src/auth0/management/types/scim_mapping_item.py +++ b/src/auth0/management/types/scim_mapping_item.py @@ -10,7 +10,7 @@ class ScimMappingItem(UniversalBaseModel): auth_0: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="auth0")] = pydantic.Field( - default=None + alias="auth0", default=None ) """ The field location in the auth0 schema diff --git a/src/auth0/management/types/screen_group_name_enum.py b/src/auth0/management/types/screen_group_name_enum.py index 5bba268e..1a5722d3 100644 --- a/src/auth0/management/types/screen_group_name_enum.py +++ b/src/auth0/management/types/screen_group_name_enum.py @@ -90,9 +90,9 @@ "brute-force-protection-unblock-success", "brute-force-protection-unblock-failure", "async-approval-error", - "async-approval-wrong-user", "async-approval-accepted", "async-approval-denied", + "async-approval-wrong-user", ], typing.Any, ] diff --git a/src/auth0/management/types/self_service_profile_custom_text_language_enum.py b/src/auth0/management/types/self_service_profile_custom_text_language_enum.py index d6e62d36..fa1da32f 100644 --- a/src/auth0/management/types/self_service_profile_custom_text_language_enum.py +++ b/src/auth0/management/types/self_service_profile_custom_text_language_enum.py @@ -2,4 +2,4 @@ import typing -SelfServiceProfileCustomTextLanguageEnum = typing.Literal["en"] +SelfServiceProfileCustomTextLanguageEnum = typing.Union[typing.Literal["en"], typing.Any] diff --git a/src/auth0/management/types/self_service_profile_custom_text_page_enum.py b/src/auth0/management/types/self_service_profile_custom_text_page_enum.py index b40aac88..8ab4be59 100644 --- a/src/auth0/management/types/self_service_profile_custom_text_page_enum.py +++ b/src/auth0/management/types/self_service_profile_custom_text_page_enum.py @@ -2,4 +2,4 @@ import typing -SelfServiceProfileCustomTextPageEnum = typing.Literal["get-started"] +SelfServiceProfileCustomTextPageEnum = typing.Union[typing.Literal["get-started"], typing.Any] diff --git a/src/auth0/management/types/session_authentication_signal.py b/src/auth0/management/types/session_authentication_signal.py index 5f3ff5dd..8707944c 100644 --- a/src/auth0/management/types/session_authentication_signal.py +++ b/src/auth0/management/types/session_authentication_signal.py @@ -21,7 +21,7 @@ class SessionAuthenticationSignal(UniversalBaseModel): timestamp: typing.Optional[SessionDate] = None type: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="^type$")] = pydantic.Field( - default=None + alias="^type$", default=None ) """ A specific MFA factor. Only present when "name" is set to "mfa" diff --git a/src/auth0/management/types/set_email_template_response_content.py b/src/auth0/management/types/set_email_template_response_content.py index 8d0e94b2..ba1c8694 100644 --- a/src/auth0/management/types/set_email_template_response_content.py +++ b/src/auth0/management/types/set_email_template_response_content.py @@ -17,14 +17,14 @@ class SetEmailTemplateResponseContent(UniversalBaseModel): """ from_: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="from")] = pydantic.Field( - default="sender@auth0.com" + alias="from", default="sender@auth0.com" ) """ Senders `from` email address. """ result_url: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="resultUrl")] = pydantic.Field( - default=None + alias="resultUrl", default=None ) """ URL to redirect the user to after a successful action. @@ -42,14 +42,14 @@ class SetEmailTemplateResponseContent(UniversalBaseModel): url_lifetime_in_seconds: typing_extensions.Annotated[ typing.Optional[float], FieldMetadata(alias="urlLifetimeInSeconds") - ] = pydantic.Field(default=None) + ] = pydantic.Field(alias="urlLifetimeInSeconds", default=None) """ Lifetime in seconds that the link within the email will be valid for. """ include_email_in_redirect: typing_extensions.Annotated[ typing.Optional[bool], FieldMetadata(alias="includeEmailInRedirect") - ] = pydantic.Field(default=None) + ] = pydantic.Field(alias="includeEmailInRedirect", default=None) """ Whether the `reset_email` and `verify_email` templates should include the user's email address as the `email` parameter in the returnUrl (true) or whether no email address should be included in the redirect (false). Defaults to true. """ diff --git a/src/auth0/management/types/set_guardian_factors_provider_phone_twilio_response_content.py b/src/auth0/management/types/set_guardian_factors_provider_phone_twilio_response_content.py index b00d82b6..a9483555 100644 --- a/src/auth0/management/types/set_guardian_factors_provider_phone_twilio_response_content.py +++ b/src/auth0/management/types/set_guardian_factors_provider_phone_twilio_response_content.py @@ -10,7 +10,7 @@ class SetGuardianFactorsProviderPhoneTwilioResponseContent(UniversalBaseModel): from_: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="from")] = pydantic.Field( - default="+1223323" + alias="from", default="+1223323" ) """ From number diff --git a/src/auth0/management/types/set_guardian_factors_provider_sms_twilio_response_content.py b/src/auth0/management/types/set_guardian_factors_provider_sms_twilio_response_content.py index 42fd0279..f3d6a602 100644 --- a/src/auth0/management/types/set_guardian_factors_provider_sms_twilio_response_content.py +++ b/src/auth0/management/types/set_guardian_factors_provider_sms_twilio_response_content.py @@ -10,7 +10,7 @@ class SetGuardianFactorsProviderSmsTwilioResponseContent(UniversalBaseModel): from_: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="from")] = pydantic.Field( - default="+1223323" + alias="from", default="+1223323" ) """ From number diff --git a/src/auth0/management/types/signing_keys.py b/src/auth0/management/types/signing_keys.py index eed3ecee..5403bff4 100644 --- a/src/auth0/management/types/signing_keys.py +++ b/src/auth0/management/types/signing_keys.py @@ -23,7 +23,7 @@ class SigningKeys(UniversalBaseModel): """ pkcs_7: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="pkcs7")] = pydantic.Field( - default="-----BEGIN PKCS7-----\r\nMIIDPA....t8xAA==\r\n-----END PKCS7-----" + alias="pkcs7", default="-----BEGIN PKCS7-----\r\nMIIDPA....t8xAA==\r\n-----END PKCS7-----" ) """ The public certificate of the signing key in pkcs7 format diff --git a/src/auth0/management/types/suspicious_ip_throttling_stage.py b/src/auth0/management/types/suspicious_ip_throttling_stage.py index 214caec2..ae6d0d57 100644 --- a/src/auth0/management/types/suspicious_ip_throttling_stage.py +++ b/src/auth0/management/types/suspicious_ip_throttling_stage.py @@ -17,10 +17,10 @@ class SuspiciousIpThrottlingStage(UniversalBaseModel): pre_login: typing_extensions.Annotated[ typing.Optional[SuspiciousIpThrottlingPreLoginStage], FieldMetadata(alias="pre-login") - ] = None + ] = pydantic.Field(alias="pre-login", default=None) pre_user_registration: typing_extensions.Annotated[ typing.Optional[SuspiciousIpThrottlingPreUserRegistrationStage], FieldMetadata(alias="pre-user-registration") - ] = None + ] = pydantic.Field(alias="pre-user-registration", default=None) if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/tenant_settings_flags.py b/src/auth0/management/types/tenant_settings_flags.py index b82c01b4..72f662b6 100644 --- a/src/auth0/management/types/tenant_settings_flags.py +++ b/src/auth0/management/types/tenant_settings_flags.py @@ -15,7 +15,7 @@ class TenantSettingsFlags(UniversalBaseModel): change_pwd_flow_v_1: typing_extensions.Annotated[ typing.Optional[bool], FieldMetadata(alias="change_pwd_flow_v1") - ] = pydantic.Field(default=False) + ] = pydantic.Field(alias="change_pwd_flow_v1", default=False) """ Whether to use the older v1 change password flow (true, not recommended except for backward compatibility) or the newer safer flow (false, recommended). """ @@ -36,7 +36,7 @@ class TenantSettingsFlags(UniversalBaseModel): """ enable_pipeline_2: typing_extensions.Annotated[typing.Optional[bool], FieldMetadata(alias="enable_pipeline2")] = ( - pydantic.Field(default=True) + pydantic.Field(alias="enable_pipeline2", default=True) ) """ Whether advanced API Authorization scenarios are enabled (true) or disabled (false). @@ -64,7 +64,7 @@ class TenantSettingsFlags(UniversalBaseModel): enable_idtoken_api_2: typing_extensions.Annotated[ typing.Optional[bool], FieldMetadata(alias="enable_idtoken_api2") - ] = pydantic.Field(default=None) + ] = pydantic.Field(alias="enable_idtoken_api2", default=None) """ Whether ID tokens can be used to authorize some types of requests to API v2 (true) not not (false). """ diff --git a/src/auth0/management/types/token_exchange_profile_type_enum.py b/src/auth0/management/types/token_exchange_profile_type_enum.py index c89e74c6..56fe406c 100644 --- a/src/auth0/management/types/token_exchange_profile_type_enum.py +++ b/src/auth0/management/types/token_exchange_profile_type_enum.py @@ -2,4 +2,4 @@ import typing -TokenExchangeProfileTypeEnum = typing.Literal["custom_authentication"] +TokenExchangeProfileTypeEnum = typing.Union[typing.Literal["custom_authentication"], typing.Any] diff --git a/src/auth0/management/types/update_action_module_response_content.py b/src/auth0/management/types/update_action_module_response_content.py new file mode 100644 index 00000000..05a85ecd --- /dev/null +++ b/src/auth0/management/types/update_action_module_response_content.py @@ -0,0 +1,73 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .action_module_dependency import ActionModuleDependency +from .action_module_secret import ActionModuleSecret +from .action_module_version_reference import ActionModuleVersionReference + + +class UpdateActionModuleResponseContent(UniversalBaseModel): + id: typing.Optional[str] = pydantic.Field(default=None) + """ + The unique ID of the module. + """ + + name: typing.Optional[str] = pydantic.Field(default=None) + """ + The name of the module. + """ + + code: typing.Optional[str] = pydantic.Field(default=None) + """ + The source code from the module's draft version. + """ + + dependencies: typing.Optional[typing.List[ActionModuleDependency]] = pydantic.Field(default=None) + """ + The npm dependencies from the module's draft version. + """ + + secrets: typing.Optional[typing.List[ActionModuleSecret]] = pydantic.Field(default=None) + """ + The secrets from the module's draft version (names and timestamps only, values never returned). + """ + + actions_using_module_total: typing.Optional[int] = pydantic.Field(default=None) + """ + The number of deployed actions using this module. + """ + + all_changes_published: typing.Optional[bool] = pydantic.Field(default=None) + """ + Whether all draft changes have been published as a version. + """ + + latest_version_number: typing.Optional[int] = pydantic.Field(default=None) + """ + The version number of the latest published version. Omitted if no versions have been published. + """ + + created_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + Timestamp when the module was created. + """ + + updated_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + Timestamp when the module was last updated. + """ + + latest_version: typing.Optional[ActionModuleVersionReference] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/update_action_response_content.py b/src/auth0/management/types/update_action_response_content.py index 221dd5fd..c385fbd6 100644 --- a/src/auth0/management/types/update_action_response_content.py +++ b/src/auth0/management/types/update_action_response_content.py @@ -7,6 +7,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel from .action_build_status_enum import ActionBuildStatusEnum from .action_deployed_version import ActionDeployedVersion +from .action_module_reference import ActionModuleReference from .action_secret_response import ActionSecretResponse from .action_trigger import ActionTrigger from .action_version_dependency import ActionVersionDependency @@ -82,6 +83,11 @@ class UpdateActionResponseContent(UniversalBaseModel): True if the action should be deployed after creation. """ + modules: typing.Optional[typing.List[ActionModuleReference]] = pydantic.Field(default=None) + """ + The list of action modules and their versions used by this action. + """ + if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 else: diff --git a/src/auth0/management/types/update_acul_response_content.py b/src/auth0/management/types/update_acul_response_content.py index 1e08cfe8..b68a219b 100644 --- a/src/auth0/management/types/update_acul_response_content.py +++ b/src/auth0/management/types/update_acul_response_content.py @@ -4,6 +4,7 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .acul_context_configuration import AculContextConfiguration from .acul_filters import AculFilters from .acul_head_tag import AculHeadTag from .acul_rendering_mode_enum import AculRenderingModeEnum @@ -11,17 +12,13 @@ class UpdateAculResponseContent(UniversalBaseModel): rendering_mode: typing.Optional[AculRenderingModeEnum] = None - context_configuration: typing.Optional[typing.List[str]] = pydantic.Field(default=None) - """ - Context values to make available - """ - - default_head_tags_disabled: typing.Optional[bool] = pydantic.Field(default=None) + context_configuration: typing.Optional[AculContextConfiguration] = None + default_head_tags_disabled: typing.Optional[bool] = pydantic.Field(default=False) """ Override Universal Login default head tags """ - use_page_template: typing.Optional[bool] = pydantic.Field(default=None) + use_page_template: typing.Optional[bool] = pydantic.Field(default=False) """ Use page template with ACUL """ diff --git a/src/auth0/management/types/update_attack_protection_captcha_response_content.py b/src/auth0/management/types/update_attack_protection_captcha_response_content.py index 21f21ff8..0e3784db 100644 --- a/src/auth0/management/types/update_attack_protection_captcha_response_content.py +++ b/src/auth0/management/types/update_attack_protection_captcha_response_content.py @@ -32,7 +32,7 @@ class UpdateAttackProtectionCaptchaResponseContent(UniversalBaseModel): recaptcha_enterprise: typing.Optional[AttackProtectionCaptchaRecaptchaEnterpriseResponseContent] = None recaptcha_v_2: typing_extensions.Annotated[ typing.Optional[AttackProtectionCaptchaRecaptchaV2ResponseContent], FieldMetadata(alias="recaptcha_v2") - ] = None + ] = pydantic.Field(alias="recaptcha_v2", default=None) simple_captcha: typing.Optional[AttackProtectionCaptchaSimpleCaptchaResponseContent] = None if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/update_branding_theme_response_content.py b/src/auth0/management/types/update_branding_theme_response_content.py index 6684278a..36d1d106 100644 --- a/src/auth0/management/types/update_branding_theme_response_content.py +++ b/src/auth0/management/types/update_branding_theme_response_content.py @@ -16,14 +16,16 @@ class UpdateBrandingThemeResponseContent(UniversalBaseModel): borders: BrandingThemeBorders colors: BrandingThemeColors - display_name: typing_extensions.Annotated[str, FieldMetadata(alias="displayName")] = pydantic.Field() + display_name: typing_extensions.Annotated[str, FieldMetadata(alias="displayName")] = pydantic.Field( + alias="displayName" + ) """ Display Name """ fonts: BrandingThemeFonts page_background: BrandingThemePageBackground - theme_id: typing_extensions.Annotated[str, FieldMetadata(alias="themeId")] = pydantic.Field() + theme_id: typing_extensions.Annotated[str, FieldMetadata(alias="themeId")] = pydantic.Field(alias="themeId") """ Theme Id """ diff --git a/src/auth0/management/types/update_client_grant_response_content.py b/src/auth0/management/types/update_client_grant_response_content.py index 994271ae..5a069fe3 100644 --- a/src/auth0/management/types/update_client_grant_response_content.py +++ b/src/auth0/management/types/update_client_grant_response_content.py @@ -43,7 +43,12 @@ class UpdateClientGrantResponseContent(UniversalBaseModel): subject_type: typing.Optional[ClientGrantSubjectTypeEnum] = None authorization_details_types: typing.Optional[typing.List[str]] = pydantic.Field(default=None) """ - Types of authorization_details allowed for this client grant. Use of this field is subject to the applicable Free Trial terms in Okta’s Master Subscription Agreement. + Types of authorization_details allowed for this client grant. + """ + + allow_all_scopes: typing.Optional[bool] = pydantic.Field(default=None) + """ + If enabled, all scopes configured on the resource server are allowed for this grant. """ if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/update_client_response_content.py b/src/auth0/management/types/update_client_response_content.py index 1740ff68..bb93e0da 100644 --- a/src/auth0/management/types/update_client_response_content.py +++ b/src/auth0/management/types/update_client_response_content.py @@ -54,7 +54,7 @@ class UpdateClientResponseContent(UniversalBaseModel): """ global_: typing_extensions.Annotated[typing.Optional[bool], FieldMetadata(alias="global")] = pydantic.Field( - default=False + alias="global", default=False ) """ Whether this is your global 'All Applications' client representing legacy tenant settings (true) or a regular client (false). diff --git a/src/auth0/management/types/update_connection_options.py b/src/auth0/management/types/update_connection_options.py index 0020e2ce..ab271597 100644 --- a/src/auth0/management/types/update_connection_options.py +++ b/src/auth0/management/types/update_connection_options.py @@ -47,7 +47,7 @@ class UpdateConnectionOptions(UniversalBaseModel): enabled_database_customization: typing_extensions.Annotated[ typing.Optional[bool], FieldMetadata(alias="enabledDatabaseCustomization") - ] = pydantic.Field(default=None) + ] = pydantic.Field(alias="enabledDatabaseCustomization", default=None) """ Set to true to use a legacy user store """ @@ -59,12 +59,12 @@ class UpdateConnectionOptions(UniversalBaseModel): custom_scripts: typing_extensions.Annotated[ typing.Optional[ConnectionCustomScripts], FieldMetadata(alias="customScripts") - ] = None + ] = pydantic.Field(alias="customScripts", default=None) authentication_methods: typing.Optional[ConnectionAuthenticationMethods] = None passkey_options: typing.Optional[ConnectionPasskeyOptions] = None password_policy: typing_extensions.Annotated[ typing.Optional[ConnectionPasswordPolicyEnum], FieldMetadata(alias="passwordPolicy") - ] = None + ] = pydantic.Field(alias="passwordPolicy", default=None) password_complexity_options: typing.Optional[ConnectionPasswordComplexityOptions] = None password_history: typing.Optional[ConnectionPasswordHistoryOptions] = None password_no_personal_info: typing.Optional[ConnectionPasswordNoPersonalInfoOptions] = None diff --git a/src/auth0/management/types/update_connection_request_content_ad.py b/src/auth0/management/types/update_connection_request_content_ad.py new file mode 100644 index 00000000..eb185d01 --- /dev/null +++ b/src/auth0/management/types/update_connection_request_content_ad.py @@ -0,0 +1,25 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2 +from .connection_common import ConnectionCommon +from .connection_options_ad import ConnectionOptionsAd + + +class UpdateConnectionRequestContentAd(ConnectionCommon): + """ + Update a connection with strategy=ad + """ + + options: typing.Optional[ConnectionOptionsAd] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/update_connection_request_content_adfs.py b/src/auth0/management/types/update_connection_request_content_adfs.py new file mode 100644 index 00000000..4e12e190 --- /dev/null +++ b/src/auth0/management/types/update_connection_request_content_adfs.py @@ -0,0 +1,27 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2 +from .connection_common import ConnectionCommon +from .connection_options_adfs import ConnectionOptionsAdfs +from .connection_show_as_button import ConnectionShowAsButton + + +class UpdateConnectionRequestContentAdfs(ConnectionCommon): + """ + Update a connection with strategy=adfs + """ + + options: typing.Optional[ConnectionOptionsAdfs] = None + show_as_button: typing.Optional[ConnectionShowAsButton] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/update_connection_request_content_amazon.py b/src/auth0/management/types/update_connection_request_content_amazon.py new file mode 100644 index 00000000..97422c80 --- /dev/null +++ b/src/auth0/management/types/update_connection_request_content_amazon.py @@ -0,0 +1,25 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2 +from .connection_common import ConnectionCommon +from .connection_options_amazon import ConnectionOptionsAmazon + + +class UpdateConnectionRequestContentAmazon(ConnectionCommon): + """ + Update a connection with strategy=amazon + """ + + options: typing.Optional[ConnectionOptionsAmazon] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/update_connection_request_content_aol.py b/src/auth0/management/types/update_connection_request_content_aol.py new file mode 100644 index 00000000..cc9a0910 --- /dev/null +++ b/src/auth0/management/types/update_connection_request_content_aol.py @@ -0,0 +1,25 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2 +from .connection_common import ConnectionCommon +from .connection_options_aol import ConnectionOptionsAol + + +class UpdateConnectionRequestContentAol(ConnectionCommon): + """ + Update a connection with strategy=aol + """ + + options: typing.Optional[ConnectionOptionsAol] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/update_connection_request_content_apple.py b/src/auth0/management/types/update_connection_request_content_apple.py new file mode 100644 index 00000000..b8bf54f0 --- /dev/null +++ b/src/auth0/management/types/update_connection_request_content_apple.py @@ -0,0 +1,25 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2 +from .connection_common import ConnectionCommon +from .connection_options_apple import ConnectionOptionsApple + + +class UpdateConnectionRequestContentApple(ConnectionCommon): + """ + Update a connection with strategy=apple + """ + + options: typing.Optional[ConnectionOptionsApple] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/update_connection_request_content_auth_0.py b/src/auth0/management/types/update_connection_request_content_auth_0.py new file mode 100644 index 00000000..34365f9e --- /dev/null +++ b/src/auth0/management/types/update_connection_request_content_auth_0.py @@ -0,0 +1,27 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2 +from .connection_common import ConnectionCommon +from .connection_options_auth_0 import ConnectionOptionsAuth0 +from .connection_realms import ConnectionRealms + + +class UpdateConnectionRequestContentAuth0(ConnectionCommon): + """ + Update a connection with strategy=auth0 + """ + + options: typing.Optional[ConnectionOptionsAuth0] = None + realms: typing.Optional[ConnectionRealms] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/update_connection_request_content_auth_0_oidc.py b/src/auth0/management/types/update_connection_request_content_auth_0_oidc.py new file mode 100644 index 00000000..d317534e --- /dev/null +++ b/src/auth0/management/types/update_connection_request_content_auth_0_oidc.py @@ -0,0 +1,25 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2 +from .connection_common import ConnectionCommon +from .connection_options_auth_0_oidc import ConnectionOptionsAuth0Oidc + + +class UpdateConnectionRequestContentAuth0Oidc(ConnectionCommon): + """ + Update a connection with strategy=auth0-oidc + """ + + options: typing.Optional[ConnectionOptionsAuth0Oidc] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/update_connection_request_content_azure_ad.py b/src/auth0/management/types/update_connection_request_content_azure_ad.py new file mode 100644 index 00000000..7e7b3e29 --- /dev/null +++ b/src/auth0/management/types/update_connection_request_content_azure_ad.py @@ -0,0 +1,27 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2 +from .connection_common import ConnectionCommon +from .connection_options_azure_ad import ConnectionOptionsAzureAd +from .connection_show_as_button import ConnectionShowAsButton + + +class UpdateConnectionRequestContentAzureAd(ConnectionCommon): + """ + Update a connection with strategy=waad + """ + + options: typing.Optional[ConnectionOptionsAzureAd] = None + show_as_button: typing.Optional[ConnectionShowAsButton] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/update_connection_request_content_baidu.py b/src/auth0/management/types/update_connection_request_content_baidu.py new file mode 100644 index 00000000..c8d3d88d --- /dev/null +++ b/src/auth0/management/types/update_connection_request_content_baidu.py @@ -0,0 +1,25 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2 +from .connection_common import ConnectionCommon +from .connection_options_baidu import ConnectionOptionsBaidu + + +class UpdateConnectionRequestContentBaidu(ConnectionCommon): + """ + Update a connection with strategy=baidu + """ + + options: typing.Optional[ConnectionOptionsBaidu] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/update_connection_request_content_bitbucket.py b/src/auth0/management/types/update_connection_request_content_bitbucket.py new file mode 100644 index 00000000..8c95b5c4 --- /dev/null +++ b/src/auth0/management/types/update_connection_request_content_bitbucket.py @@ -0,0 +1,25 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2 +from .connection_common import ConnectionCommon +from .connection_options_bitbucket import ConnectionOptionsBitbucket + + +class UpdateConnectionRequestContentBitbucket(ConnectionCommon): + """ + Update a connection with strategy=bitbucket + """ + + options: typing.Optional[ConnectionOptionsBitbucket] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/update_connection_request_content_bitly.py b/src/auth0/management/types/update_connection_request_content_bitly.py new file mode 100644 index 00000000..44681886 --- /dev/null +++ b/src/auth0/management/types/update_connection_request_content_bitly.py @@ -0,0 +1,25 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2 +from .connection_common import ConnectionCommon +from .connection_options_bitly import ConnectionOptionsBitly + + +class UpdateConnectionRequestContentBitly(ConnectionCommon): + """ + Update a connection with strategy=bitly + """ + + options: typing.Optional[ConnectionOptionsBitly] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/update_connection_request_content_box.py b/src/auth0/management/types/update_connection_request_content_box.py new file mode 100644 index 00000000..dda7e601 --- /dev/null +++ b/src/auth0/management/types/update_connection_request_content_box.py @@ -0,0 +1,25 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2 +from .connection_common import ConnectionCommon +from .connection_options_box import ConnectionOptionsBox + + +class UpdateConnectionRequestContentBox(ConnectionCommon): + """ + Update a connection with strategy=box + """ + + options: typing.Optional[ConnectionOptionsBox] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/update_connection_request_content_custom.py b/src/auth0/management/types/update_connection_request_content_custom.py new file mode 100644 index 00000000..1c147d94 --- /dev/null +++ b/src/auth0/management/types/update_connection_request_content_custom.py @@ -0,0 +1,25 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2 +from .connection_common import ConnectionCommon +from .connection_options_custom import ConnectionOptionsCustom + + +class UpdateConnectionRequestContentCustom(ConnectionCommon): + """ + Update a connection with strategy=custom + """ + + options: typing.Optional[ConnectionOptionsCustom] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/update_connection_request_content_daccount.py b/src/auth0/management/types/update_connection_request_content_daccount.py new file mode 100644 index 00000000..eab2a3b7 --- /dev/null +++ b/src/auth0/management/types/update_connection_request_content_daccount.py @@ -0,0 +1,25 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2 +from .connection_common import ConnectionCommon +from .connection_options_daccount import ConnectionOptionsDaccount + + +class UpdateConnectionRequestContentDaccount(ConnectionCommon): + """ + Update a connection with strategy=daccount + """ + + options: typing.Optional[ConnectionOptionsDaccount] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/update_connection_request_content_dropbox.py b/src/auth0/management/types/update_connection_request_content_dropbox.py new file mode 100644 index 00000000..31ae7b0e --- /dev/null +++ b/src/auth0/management/types/update_connection_request_content_dropbox.py @@ -0,0 +1,25 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2 +from .connection_common import ConnectionCommon +from .connection_options_dropbox import ConnectionOptionsDropbox + + +class UpdateConnectionRequestContentDropbox(ConnectionCommon): + """ + Update a connection with strategy=dropbox + """ + + options: typing.Optional[ConnectionOptionsDropbox] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/update_connection_request_content_dwolla.py b/src/auth0/management/types/update_connection_request_content_dwolla.py new file mode 100644 index 00000000..bb078208 --- /dev/null +++ b/src/auth0/management/types/update_connection_request_content_dwolla.py @@ -0,0 +1,25 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2 +from .connection_common import ConnectionCommon +from .connection_options_dwolla import ConnectionOptionsDwolla + + +class UpdateConnectionRequestContentDwolla(ConnectionCommon): + """ + Update a connection with strategy=dwolla + """ + + options: typing.Optional[ConnectionOptionsDwolla] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/update_connection_request_content_email.py b/src/auth0/management/types/update_connection_request_content_email.py new file mode 100644 index 00000000..b5d37df7 --- /dev/null +++ b/src/auth0/management/types/update_connection_request_content_email.py @@ -0,0 +1,25 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2 +from .connection_common import ConnectionCommon +from .connection_options_email import ConnectionOptionsEmail + + +class UpdateConnectionRequestContentEmail(ConnectionCommon): + """ + Update a connection with strategy=email + """ + + options: typing.Optional[ConnectionOptionsEmail] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/update_connection_request_content_evernote.py b/src/auth0/management/types/update_connection_request_content_evernote.py new file mode 100644 index 00000000..9b350b78 --- /dev/null +++ b/src/auth0/management/types/update_connection_request_content_evernote.py @@ -0,0 +1,25 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2 +from .connection_common import ConnectionCommon +from .connection_options_evernote import ConnectionOptionsEvernote + + +class UpdateConnectionRequestContentEvernote(ConnectionCommon): + """ + Update a connection with strategy=evernote + """ + + options: typing.Optional[ConnectionOptionsEvernote] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/update_connection_request_content_evernote_sandbox.py b/src/auth0/management/types/update_connection_request_content_evernote_sandbox.py new file mode 100644 index 00000000..bfccc450 --- /dev/null +++ b/src/auth0/management/types/update_connection_request_content_evernote_sandbox.py @@ -0,0 +1,25 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2 +from .connection_common import ConnectionCommon +from .connection_options_evernote import ConnectionOptionsEvernote + + +class UpdateConnectionRequestContentEvernoteSandbox(ConnectionCommon): + """ + Update a connection with strategy=evernote-sandbox + """ + + options: typing.Optional[ConnectionOptionsEvernote] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/update_connection_request_content_exact.py b/src/auth0/management/types/update_connection_request_content_exact.py new file mode 100644 index 00000000..e9807633 --- /dev/null +++ b/src/auth0/management/types/update_connection_request_content_exact.py @@ -0,0 +1,25 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2 +from .connection_common import ConnectionCommon +from .connection_options_exact import ConnectionOptionsExact + + +class UpdateConnectionRequestContentExact(ConnectionCommon): + """ + Update a connection with strategy=exact + """ + + options: typing.Optional[ConnectionOptionsExact] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/update_connection_request_content_facebook.py b/src/auth0/management/types/update_connection_request_content_facebook.py new file mode 100644 index 00000000..72daf6d3 --- /dev/null +++ b/src/auth0/management/types/update_connection_request_content_facebook.py @@ -0,0 +1,25 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2 +from .connection_common import ConnectionCommon +from .connection_options_facebook import ConnectionOptionsFacebook + + +class UpdateConnectionRequestContentFacebook(ConnectionCommon): + """ + Update a connection with strategy=facebook + """ + + options: typing.Optional[ConnectionOptionsFacebook] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/update_connection_request_content_fitbit.py b/src/auth0/management/types/update_connection_request_content_fitbit.py new file mode 100644 index 00000000..68523d0b --- /dev/null +++ b/src/auth0/management/types/update_connection_request_content_fitbit.py @@ -0,0 +1,25 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2 +from .connection_common import ConnectionCommon +from .connection_options_fitbit import ConnectionOptionsFitbit + + +class UpdateConnectionRequestContentFitbit(ConnectionCommon): + """ + Update a connection with strategy=fitbit + """ + + options: typing.Optional[ConnectionOptionsFitbit] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/update_connection_request_content_flickr.py b/src/auth0/management/types/update_connection_request_content_flickr.py new file mode 100644 index 00000000..42034fbd --- /dev/null +++ b/src/auth0/management/types/update_connection_request_content_flickr.py @@ -0,0 +1,25 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2 +from .connection_common import ConnectionCommon +from .connection_options_flickr import ConnectionOptionsFlickr + + +class UpdateConnectionRequestContentFlickr(ConnectionCommon): + """ + Update a connection with strategy=flickr + """ + + options: typing.Optional[ConnectionOptionsFlickr] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/update_connection_request_content_git_hub.py b/src/auth0/management/types/update_connection_request_content_git_hub.py new file mode 100644 index 00000000..bdf6542d --- /dev/null +++ b/src/auth0/management/types/update_connection_request_content_git_hub.py @@ -0,0 +1,25 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2 +from .connection_common import ConnectionCommon +from .connection_options_git_hub import ConnectionOptionsGitHub + + +class UpdateConnectionRequestContentGitHub(ConnectionCommon): + """ + Update a connection with strategy=github + """ + + options: typing.Optional[ConnectionOptionsGitHub] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/update_connection_request_content_google_apps.py b/src/auth0/management/types/update_connection_request_content_google_apps.py new file mode 100644 index 00000000..cf3a22a2 --- /dev/null +++ b/src/auth0/management/types/update_connection_request_content_google_apps.py @@ -0,0 +1,27 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2 +from .connection_common import ConnectionCommon +from .connection_options_google_apps import ConnectionOptionsGoogleApps +from .connection_show_as_button import ConnectionShowAsButton + + +class UpdateConnectionRequestContentGoogleApps(ConnectionCommon): + """ + Update a connection with strategy=google-apps + """ + + options: typing.Optional[ConnectionOptionsGoogleApps] = None + show_as_button: typing.Optional[ConnectionShowAsButton] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/update_connection_request_content_google_o_auth_2.py b/src/auth0/management/types/update_connection_request_content_google_o_auth_2.py new file mode 100644 index 00000000..78321b86 --- /dev/null +++ b/src/auth0/management/types/update_connection_request_content_google_o_auth_2.py @@ -0,0 +1,25 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2 +from .connection_common import ConnectionCommon +from .connection_options_google_o_auth_2 import ConnectionOptionsGoogleOAuth2 + + +class UpdateConnectionRequestContentGoogleOAuth2(ConnectionCommon): + """ + Update a connection with strategy=google-oauth2 + """ + + options: typing.Optional[ConnectionOptionsGoogleOAuth2] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/update_connection_request_content_instagram.py b/src/auth0/management/types/update_connection_request_content_instagram.py new file mode 100644 index 00000000..3623553e --- /dev/null +++ b/src/auth0/management/types/update_connection_request_content_instagram.py @@ -0,0 +1,25 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2 +from .connection_common import ConnectionCommon +from .connection_options_instagram import ConnectionOptionsInstagram + + +class UpdateConnectionRequestContentInstagram(ConnectionCommon): + """ + Update a connection with strategy=instagram + """ + + options: typing.Optional[ConnectionOptionsInstagram] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/update_connection_request_content_ip.py b/src/auth0/management/types/update_connection_request_content_ip.py new file mode 100644 index 00000000..dde3724d --- /dev/null +++ b/src/auth0/management/types/update_connection_request_content_ip.py @@ -0,0 +1,27 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2 +from .connection_common import ConnectionCommon +from .connection_options_ip import ConnectionOptionsIp +from .connection_show_as_button import ConnectionShowAsButton + + +class UpdateConnectionRequestContentIp(ConnectionCommon): + """ + Update a connection with strategy=ip + """ + + options: typing.Optional[ConnectionOptionsIp] = None + show_as_button: typing.Optional[ConnectionShowAsButton] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/update_connection_request_content_line.py b/src/auth0/management/types/update_connection_request_content_line.py new file mode 100644 index 00000000..456f66bb --- /dev/null +++ b/src/auth0/management/types/update_connection_request_content_line.py @@ -0,0 +1,25 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2 +from .connection_common import ConnectionCommon +from .connection_options_line import ConnectionOptionsLine + + +class UpdateConnectionRequestContentLine(ConnectionCommon): + """ + Update a connection with strategy=line + """ + + options: typing.Optional[ConnectionOptionsLine] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/update_connection_request_content_linkedin.py b/src/auth0/management/types/update_connection_request_content_linkedin.py new file mode 100644 index 00000000..2e919367 --- /dev/null +++ b/src/auth0/management/types/update_connection_request_content_linkedin.py @@ -0,0 +1,25 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2 +from .connection_common import ConnectionCommon +from .connection_options_linkedin import ConnectionOptionsLinkedin + + +class UpdateConnectionRequestContentLinkedin(ConnectionCommon): + """ + Update a connection with strategy=linkedin + """ + + options: typing.Optional[ConnectionOptionsLinkedin] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/update_connection_request_content_miicard.py b/src/auth0/management/types/update_connection_request_content_miicard.py new file mode 100644 index 00000000..64c420d5 --- /dev/null +++ b/src/auth0/management/types/update_connection_request_content_miicard.py @@ -0,0 +1,25 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2 +from .connection_common import ConnectionCommon +from .connection_options_miicard import ConnectionOptionsMiicard + + +class UpdateConnectionRequestContentMiicard(ConnectionCommon): + """ + Update a connection with strategy=miicard + """ + + options: typing.Optional[ConnectionOptionsMiicard] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/update_connection_request_content_o_auth_1.py b/src/auth0/management/types/update_connection_request_content_o_auth_1.py new file mode 100644 index 00000000..6ffe8283 --- /dev/null +++ b/src/auth0/management/types/update_connection_request_content_o_auth_1.py @@ -0,0 +1,25 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2 +from .connection_common import ConnectionCommon +from .connection_options_o_auth_1 import ConnectionOptionsOAuth1 + + +class UpdateConnectionRequestContentOAuth1(ConnectionCommon): + """ + Update a connection with strategy=oauth1 + """ + + options: typing.Optional[ConnectionOptionsOAuth1] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/update_connection_request_content_o_auth_2.py b/src/auth0/management/types/update_connection_request_content_o_auth_2.py new file mode 100644 index 00000000..73dea484 --- /dev/null +++ b/src/auth0/management/types/update_connection_request_content_o_auth_2.py @@ -0,0 +1,25 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2 +from .connection_common import ConnectionCommon +from .connection_options_o_auth_2 import ConnectionOptionsOAuth2 + + +class UpdateConnectionRequestContentOAuth2(ConnectionCommon): + """ + Update a connection with strategy=oauth2 + """ + + options: typing.Optional[ConnectionOptionsOAuth2] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/update_connection_request_content_office_365.py b/src/auth0/management/types/update_connection_request_content_office_365.py new file mode 100644 index 00000000..6e616a3e --- /dev/null +++ b/src/auth0/management/types/update_connection_request_content_office_365.py @@ -0,0 +1,27 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2 +from .connection_common import ConnectionCommon +from .connection_options_office_365 import ConnectionOptionsOffice365 +from .connection_show_as_button import ConnectionShowAsButton + + +class UpdateConnectionRequestContentOffice365(ConnectionCommon): + """ + Update a connection with strategy=office365 + """ + + options: typing.Optional[ConnectionOptionsOffice365] = None + show_as_button: typing.Optional[ConnectionShowAsButton] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/update_connection_request_content_oidc.py b/src/auth0/management/types/update_connection_request_content_oidc.py new file mode 100644 index 00000000..4c26b4f4 --- /dev/null +++ b/src/auth0/management/types/update_connection_request_content_oidc.py @@ -0,0 +1,27 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2 +from .connection_common import ConnectionCommon +from .connection_options_oidc import ConnectionOptionsOidc +from .connection_show_as_button import ConnectionShowAsButton + + +class UpdateConnectionRequestContentOidc(ConnectionCommon): + """ + Update a connection with strategy=oidc + """ + + options: typing.Optional[ConnectionOptionsOidc] = None + show_as_button: typing.Optional[ConnectionShowAsButton] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/update_connection_request_content_okta.py b/src/auth0/management/types/update_connection_request_content_okta.py new file mode 100644 index 00000000..aa33c3c6 --- /dev/null +++ b/src/auth0/management/types/update_connection_request_content_okta.py @@ -0,0 +1,27 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2 +from .connection_common import ConnectionCommon +from .connection_options_okta import ConnectionOptionsOkta +from .connection_show_as_button import ConnectionShowAsButton + + +class UpdateConnectionRequestContentOkta(ConnectionCommon): + """ + Update a connection with strategy=okta + """ + + options: typing.Optional[ConnectionOptionsOkta] = None + show_as_button: typing.Optional[ConnectionShowAsButton] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/update_connection_request_content_paypal.py b/src/auth0/management/types/update_connection_request_content_paypal.py new file mode 100644 index 00000000..f657468c --- /dev/null +++ b/src/auth0/management/types/update_connection_request_content_paypal.py @@ -0,0 +1,25 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2 +from .connection_common import ConnectionCommon +from .connection_options_paypal import ConnectionOptionsPaypal + + +class UpdateConnectionRequestContentPaypal(ConnectionCommon): + """ + Update a connection with strategy=paypal + """ + + options: typing.Optional[ConnectionOptionsPaypal] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/create_connection_request_content_the_city.py b/src/auth0/management/types/update_connection_request_content_paypal_sandbox.py similarity index 57% rename from src/auth0/management/types/create_connection_request_content_the_city.py rename to src/auth0/management/types/update_connection_request_content_paypal_sandbox.py index deaadaa3..c7016c20 100644 --- a/src/auth0/management/types/create_connection_request_content_the_city.py +++ b/src/auth0/management/types/update_connection_request_content_paypal_sandbox.py @@ -4,17 +4,16 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 -from .connection_options_the_city import ConnectionOptionsTheCity -from .create_connection_common import CreateConnectionCommon +from .connection_common import ConnectionCommon +from .connection_options_paypal import ConnectionOptionsPaypal -class CreateConnectionRequestContentTheCity(CreateConnectionCommon): +class UpdateConnectionRequestContentPaypalSandbox(ConnectionCommon): """ - Create a connection with strategy=thecity + Update a connection with strategy=paypal-sandbox """ - strategy: typing.Literal["thecity"] = "thecity" - options: typing.Optional[ConnectionOptionsTheCity] = None + options: typing.Optional[ConnectionOptionsPaypal] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/update_connection_request_content_ping_federate.py b/src/auth0/management/types/update_connection_request_content_ping_federate.py new file mode 100644 index 00000000..fc52b66d --- /dev/null +++ b/src/auth0/management/types/update_connection_request_content_ping_federate.py @@ -0,0 +1,27 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2 +from .connection_common import ConnectionCommon +from .connection_options_ping_federate import ConnectionOptionsPingFederate +from .connection_show_as_button import ConnectionShowAsButton + + +class UpdateConnectionRequestContentPingFederate(ConnectionCommon): + """ + Update a connection with strategy=pingfederate + """ + + options: typing.Optional[ConnectionOptionsPingFederate] = None + show_as_button: typing.Optional[ConnectionShowAsButton] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/create_connection_request_content_the_city_sandbox.py b/src/auth0/management/types/update_connection_request_content_planning_center.py similarity index 53% rename from src/auth0/management/types/create_connection_request_content_the_city_sandbox.py rename to src/auth0/management/types/update_connection_request_content_planning_center.py index 8d2063f3..3f54a916 100644 --- a/src/auth0/management/types/create_connection_request_content_the_city_sandbox.py +++ b/src/auth0/management/types/update_connection_request_content_planning_center.py @@ -4,17 +4,16 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 -from .connection_options_the_city_sandbox import ConnectionOptionsTheCitySandbox -from .create_connection_common import CreateConnectionCommon +from .connection_common import ConnectionCommon +from .connection_options_planning_center import ConnectionOptionsPlanningCenter -class CreateConnectionRequestContentTheCitySandbox(CreateConnectionCommon): +class UpdateConnectionRequestContentPlanningCenter(ConnectionCommon): """ - Create a connection with strategy=thecity-sandbox + Update a connection with strategy=planningcenter """ - strategy: typing.Literal["thecity-sandbox"] = "thecity-sandbox" - options: typing.Optional[ConnectionOptionsTheCitySandbox] = None + options: typing.Optional[ConnectionOptionsPlanningCenter] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/update_connection_request_content_renren.py b/src/auth0/management/types/update_connection_request_content_renren.py new file mode 100644 index 00000000..c9fde74f --- /dev/null +++ b/src/auth0/management/types/update_connection_request_content_renren.py @@ -0,0 +1,25 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2 +from .connection_common import ConnectionCommon +from .connection_options_renren import ConnectionOptionsRenren + + +class UpdateConnectionRequestContentRenren(ConnectionCommon): + """ + Update a connection with strategy=renren + """ + + options: typing.Optional[ConnectionOptionsRenren] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/connection_response_content_the_city.py b/src/auth0/management/types/update_connection_request_content_salesforce.py similarity index 56% rename from src/auth0/management/types/connection_response_content_the_city.py rename to src/auth0/management/types/update_connection_request_content_salesforce.py index 55b9b385..79c0155e 100644 --- a/src/auth0/management/types/connection_response_content_the_city.py +++ b/src/auth0/management/types/update_connection_request_content_salesforce.py @@ -4,17 +4,16 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 -from .connection_options_the_city import ConnectionOptionsTheCity -from .connection_response_common import ConnectionResponseCommon +from .connection_common import ConnectionCommon +from .connection_options_salesforce import ConnectionOptionsSalesforce -class ConnectionResponseContentTheCity(ConnectionResponseCommon): +class UpdateConnectionRequestContentSalesforce(ConnectionCommon): """ - Response for connections with strategy=thecity + Update a connection with strategy=salesforce """ - strategy: typing.Literal["thecity"] = "thecity" - options: typing.Optional[ConnectionOptionsTheCity] = None + options: typing.Optional[ConnectionOptionsSalesforce] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/update_connection_request_content_salesforce_community.py b/src/auth0/management/types/update_connection_request_content_salesforce_community.py new file mode 100644 index 00000000..13289b2a --- /dev/null +++ b/src/auth0/management/types/update_connection_request_content_salesforce_community.py @@ -0,0 +1,25 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2 +from .connection_common import ConnectionCommon +from .connection_options_salesforce import ConnectionOptionsSalesforce + + +class UpdateConnectionRequestContentSalesforceCommunity(ConnectionCommon): + """ + Update a connection with strategy=salesforce-community + """ + + options: typing.Optional[ConnectionOptionsSalesforce] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/connection_response_content_the_city_sandbox.py b/src/auth0/management/types/update_connection_request_content_salesforce_sandbox.py similarity index 53% rename from src/auth0/management/types/connection_response_content_the_city_sandbox.py rename to src/auth0/management/types/update_connection_request_content_salesforce_sandbox.py index 0ae08255..3240e019 100644 --- a/src/auth0/management/types/connection_response_content_the_city_sandbox.py +++ b/src/auth0/management/types/update_connection_request_content_salesforce_sandbox.py @@ -4,17 +4,16 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2 -from .connection_options_the_city_sandbox import ConnectionOptionsTheCitySandbox -from .connection_response_common import ConnectionResponseCommon +from .connection_common import ConnectionCommon +from .connection_options_salesforce import ConnectionOptionsSalesforce -class ConnectionResponseContentTheCitySandbox(ConnectionResponseCommon): +class UpdateConnectionRequestContentSalesforceSandbox(ConnectionCommon): """ - Response for connections with strategy=thecity-sandbox + Update a connection with strategy=salesforce-sandbox """ - strategy: typing.Literal["thecity-sandbox"] = "thecity-sandbox" - options: typing.Optional[ConnectionOptionsTheCitySandbox] = None + options: typing.Optional[ConnectionOptionsSalesforce] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/update_connection_request_content_saml.py b/src/auth0/management/types/update_connection_request_content_saml.py new file mode 100644 index 00000000..a3f40484 --- /dev/null +++ b/src/auth0/management/types/update_connection_request_content_saml.py @@ -0,0 +1,27 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2 +from .connection_common import ConnectionCommon +from .connection_options_saml import ConnectionOptionsSaml +from .connection_show_as_button import ConnectionShowAsButton + + +class UpdateConnectionRequestContentSaml(ConnectionCommon): + """ + Update a connection with strategy=samlp + """ + + options: typing.Optional[ConnectionOptionsSaml] = None + show_as_button: typing.Optional[ConnectionShowAsButton] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/update_connection_request_content_sharepoint.py b/src/auth0/management/types/update_connection_request_content_sharepoint.py new file mode 100644 index 00000000..64df0544 --- /dev/null +++ b/src/auth0/management/types/update_connection_request_content_sharepoint.py @@ -0,0 +1,27 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2 +from .connection_common import ConnectionCommon +from .connection_options_sharepoint import ConnectionOptionsSharepoint +from .connection_show_as_button import ConnectionShowAsButton + + +class UpdateConnectionRequestContentSharepoint(ConnectionCommon): + """ + Update a connection with strategy=sharepoint + """ + + options: typing.Optional[ConnectionOptionsSharepoint] = None + show_as_button: typing.Optional[ConnectionShowAsButton] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/update_connection_request_content_shop.py b/src/auth0/management/types/update_connection_request_content_shop.py new file mode 100644 index 00000000..34a305e9 --- /dev/null +++ b/src/auth0/management/types/update_connection_request_content_shop.py @@ -0,0 +1,25 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2 +from .connection_common import ConnectionCommon +from .connection_options_shop import ConnectionOptionsShop + + +class UpdateConnectionRequestContentShop(ConnectionCommon): + """ + Update a connection with strategy=shop + """ + + options: typing.Optional[ConnectionOptionsShop] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/update_connection_request_content_shopify.py b/src/auth0/management/types/update_connection_request_content_shopify.py new file mode 100644 index 00000000..e9215a13 --- /dev/null +++ b/src/auth0/management/types/update_connection_request_content_shopify.py @@ -0,0 +1,25 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2 +from .connection_common import ConnectionCommon +from .connection_options_shopify import ConnectionOptionsShopify + + +class UpdateConnectionRequestContentShopify(ConnectionCommon): + """ + Update a connection with strategy=shopify + """ + + options: typing.Optional[ConnectionOptionsShopify] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/update_connection_request_content_sms.py b/src/auth0/management/types/update_connection_request_content_sms.py new file mode 100644 index 00000000..c696407f --- /dev/null +++ b/src/auth0/management/types/update_connection_request_content_sms.py @@ -0,0 +1,25 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2 +from .connection_common import ConnectionCommon +from .connection_options_sms import ConnectionOptionsSms + + +class UpdateConnectionRequestContentSms(ConnectionCommon): + """ + Update a connection with strategy=sms + """ + + options: typing.Optional[ConnectionOptionsSms] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/update_connection_request_content_soundcloud.py b/src/auth0/management/types/update_connection_request_content_soundcloud.py new file mode 100644 index 00000000..39a2e2f6 --- /dev/null +++ b/src/auth0/management/types/update_connection_request_content_soundcloud.py @@ -0,0 +1,25 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2 +from .connection_common import ConnectionCommon +from .connection_options_soundcloud import ConnectionOptionsSoundcloud + + +class UpdateConnectionRequestContentSoundcloud(ConnectionCommon): + """ + Update a connection with strategy=soundcloud + """ + + options: typing.Optional[ConnectionOptionsSoundcloud] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/update_connection_request_content_thirty_seven_signals.py b/src/auth0/management/types/update_connection_request_content_thirty_seven_signals.py new file mode 100644 index 00000000..a0a07364 --- /dev/null +++ b/src/auth0/management/types/update_connection_request_content_thirty_seven_signals.py @@ -0,0 +1,25 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2 +from .connection_common import ConnectionCommon +from .connection_options_thirty_seven_signals import ConnectionOptionsThirtySevenSignals + + +class UpdateConnectionRequestContentThirtySevenSignals(ConnectionCommon): + """ + Update a connection with strategy=thirtysevensignals + """ + + options: typing.Optional[ConnectionOptionsThirtySevenSignals] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/update_connection_request_content_twitter.py b/src/auth0/management/types/update_connection_request_content_twitter.py new file mode 100644 index 00000000..c7bbcc74 --- /dev/null +++ b/src/auth0/management/types/update_connection_request_content_twitter.py @@ -0,0 +1,25 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2 +from .connection_common import ConnectionCommon +from .connection_options_twitter import ConnectionOptionsTwitter + + +class UpdateConnectionRequestContentTwitter(ConnectionCommon): + """ + Update a connection with strategy=twitter + """ + + options: typing.Optional[ConnectionOptionsTwitter] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/update_connection_request_content_untappd.py b/src/auth0/management/types/update_connection_request_content_untappd.py new file mode 100644 index 00000000..3cef6eac --- /dev/null +++ b/src/auth0/management/types/update_connection_request_content_untappd.py @@ -0,0 +1,25 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2 +from .connection_common import ConnectionCommon +from .connection_options_untappd import ConnectionOptionsUntappd + + +class UpdateConnectionRequestContentUntappd(ConnectionCommon): + """ + Update a connection with strategy=untappd + """ + + options: typing.Optional[ConnectionOptionsUntappd] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/update_connection_request_content_vkontakte.py b/src/auth0/management/types/update_connection_request_content_vkontakte.py new file mode 100644 index 00000000..bdc81d49 --- /dev/null +++ b/src/auth0/management/types/update_connection_request_content_vkontakte.py @@ -0,0 +1,25 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2 +from .connection_common import ConnectionCommon +from .connection_options_vkontakte import ConnectionOptionsVkontakte + + +class UpdateConnectionRequestContentVkontakte(ConnectionCommon): + """ + Update a connection with strategy=vkontakte + """ + + options: typing.Optional[ConnectionOptionsVkontakte] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/update_connection_request_content_weibo.py b/src/auth0/management/types/update_connection_request_content_weibo.py new file mode 100644 index 00000000..34fe51a0 --- /dev/null +++ b/src/auth0/management/types/update_connection_request_content_weibo.py @@ -0,0 +1,25 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2 +from .connection_common import ConnectionCommon +from .connection_options_weibo import ConnectionOptionsWeibo + + +class UpdateConnectionRequestContentWeibo(ConnectionCommon): + """ + Update a connection with strategy=weibo + """ + + options: typing.Optional[ConnectionOptionsWeibo] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/update_connection_request_content_windows_live.py b/src/auth0/management/types/update_connection_request_content_windows_live.py new file mode 100644 index 00000000..58a9ab47 --- /dev/null +++ b/src/auth0/management/types/update_connection_request_content_windows_live.py @@ -0,0 +1,25 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2 +from .connection_common import ConnectionCommon +from .connection_options_windows_live import ConnectionOptionsWindowsLive + + +class UpdateConnectionRequestContentWindowsLive(ConnectionCommon): + """ + Update a connection with strategy=windowslive + """ + + options: typing.Optional[ConnectionOptionsWindowsLive] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/update_connection_request_content_wordpress.py b/src/auth0/management/types/update_connection_request_content_wordpress.py new file mode 100644 index 00000000..5b59802d --- /dev/null +++ b/src/auth0/management/types/update_connection_request_content_wordpress.py @@ -0,0 +1,25 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2 +from .connection_common import ConnectionCommon +from .connection_options_wordpress import ConnectionOptionsWordpress + + +class UpdateConnectionRequestContentWordpress(ConnectionCommon): + """ + Update a connection with strategy=wordpress + """ + + options: typing.Optional[ConnectionOptionsWordpress] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/update_connection_request_content_yahoo.py b/src/auth0/management/types/update_connection_request_content_yahoo.py new file mode 100644 index 00000000..df903d24 --- /dev/null +++ b/src/auth0/management/types/update_connection_request_content_yahoo.py @@ -0,0 +1,25 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2 +from .connection_common import ConnectionCommon +from .connection_options_yahoo import ConnectionOptionsYahoo + + +class UpdateConnectionRequestContentYahoo(ConnectionCommon): + """ + Update a connection with strategy=yahoo + """ + + options: typing.Optional[ConnectionOptionsYahoo] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/update_connection_request_content_yammer.py b/src/auth0/management/types/update_connection_request_content_yammer.py new file mode 100644 index 00000000..71d42336 --- /dev/null +++ b/src/auth0/management/types/update_connection_request_content_yammer.py @@ -0,0 +1,25 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2 +from .connection_common import ConnectionCommon +from .connection_options_yammer import ConnectionOptionsYammer + + +class UpdateConnectionRequestContentYammer(ConnectionCommon): + """ + Update a connection with strategy=yammer + """ + + options: typing.Optional[ConnectionOptionsYammer] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/update_connection_request_content_yandex.py b/src/auth0/management/types/update_connection_request_content_yandex.py new file mode 100644 index 00000000..ea4ef6da --- /dev/null +++ b/src/auth0/management/types/update_connection_request_content_yandex.py @@ -0,0 +1,25 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2 +from .connection_common import ConnectionCommon +from .connection_options_yandex import ConnectionOptionsYandex + + +class UpdateConnectionRequestContentYandex(ConnectionCommon): + """ + Update a connection with strategy=yandex + """ + + options: typing.Optional[ConnectionOptionsYandex] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/update_custom_domain_response_content.py b/src/auth0/management/types/update_custom_domain_response_content.py index 146455a8..50af5bbc 100644 --- a/src/auth0/management/types/update_custom_domain_response_content.py +++ b/src/auth0/management/types/update_custom_domain_response_content.py @@ -27,6 +27,11 @@ class UpdateCustomDomainResponseContent(UniversalBaseModel): Whether this is a primary domain (true) or not (false). """ + is_default: typing.Optional[bool] = pydantic.Field(default=False) + """ + Whether this is the default custom domain (true) or not (false). + """ + status: CustomDomainStatusFilterEnum type: CustomDomainTypeEnum verification: DomainVerification @@ -42,6 +47,10 @@ class UpdateCustomDomainResponseContent(UniversalBaseModel): domain_metadata: typing.Optional[DomainMetadata] = None certificate: typing.Optional[DomainCertificate] = None + relying_party_identifier: typing.Optional[str] = pydantic.Field(default=None) + """ + Relying Party ID (rpId) to be used for Passkeys on this custom domain. If not present, the full domain will be used. + """ if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/update_email_template_response_content.py b/src/auth0/management/types/update_email_template_response_content.py index f148dab5..2adb41f0 100644 --- a/src/auth0/management/types/update_email_template_response_content.py +++ b/src/auth0/management/types/update_email_template_response_content.py @@ -17,14 +17,14 @@ class UpdateEmailTemplateResponseContent(UniversalBaseModel): """ from_: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="from")] = pydantic.Field( - default="sender@auth0.com" + alias="from", default="sender@auth0.com" ) """ Senders `from` email address. """ result_url: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="resultUrl")] = pydantic.Field( - default=None + alias="resultUrl", default=None ) """ URL to redirect the user to after a successful action. @@ -42,14 +42,14 @@ class UpdateEmailTemplateResponseContent(UniversalBaseModel): url_lifetime_in_seconds: typing_extensions.Annotated[ typing.Optional[float], FieldMetadata(alias="urlLifetimeInSeconds") - ] = pydantic.Field(default=None) + ] = pydantic.Field(alias="urlLifetimeInSeconds", default=None) """ Lifetime in seconds that the link within the email will be valid for. """ include_email_in_redirect: typing_extensions.Annotated[ typing.Optional[bool], FieldMetadata(alias="includeEmailInRedirect") - ] = pydantic.Field(default=None) + ] = pydantic.Field(alias="includeEmailInRedirect", default=None) """ Whether the `reset_email` and `verify_email` templates should include the user's email address as the `email` parameter in the returnUrl (true) or whether no email address should be included in the redirect (false). Defaults to true. """ diff --git a/src/auth0/management/types/update_enabled_client_connections_request_content_item.py b/src/auth0/management/types/update_enabled_client_connections_request_content_item.py index dbf5398b..6bd641e9 100644 --- a/src/auth0/management/types/update_enabled_client_connections_request_content_item.py +++ b/src/auth0/management/types/update_enabled_client_connections_request_content_item.py @@ -9,7 +9,7 @@ class UpdateEnabledClientConnectionsRequestContentItem(UniversalBaseModel): client_id: str = pydantic.Field() """ - The client_id of the client to be the subject to change status + The client_id of the client whose status will be changed. Note that the limit per PATCH request is 50 clients. """ status: bool = pydantic.Field() diff --git a/src/auth0/management/types/update_flows_vault_connection_setup.py b/src/auth0/management/types/update_flows_vault_connection_setup.py index c64e0bd6..3ff3d2c0 100644 --- a/src/auth0/management/types/update_flows_vault_connection_setup.py +++ b/src/auth0/management/types/update_flows_vault_connection_setup.py @@ -15,6 +15,7 @@ from .flows_vault_connectio_setup_token import FlowsVaultConnectioSetupToken from .flows_vault_connectio_setup_twilio_api_key import FlowsVaultConnectioSetupTwilioApiKey from .flows_vault_connectio_setup_webhook import FlowsVaultConnectioSetupWebhook +from .flows_vault_connection_http_basic_auth_setup import FlowsVaultConnectionHttpBasicAuthSetup UpdateFlowsVaultConnectionSetup = typing.Union[ FlowsVaultConnectioSetupApiKeyWithBaseUrl, @@ -23,6 +24,7 @@ FlowsVaultConnectioSetupBigqueryOauthJwt, FlowsVaultConnectioSetupSecretApiKey, FlowsVaultConnectioSetupHttpBearer, + FlowsVaultConnectionHttpBasicAuthSetup, FlowsVaultConnectioSetupJwt, FlowsVaultConnectioSetupMailjetApiKey, FlowsVaultConnectioSetupToken, diff --git a/src/auth0/management/types/set_guardian_factors_provider_push_notification_fcm_request_content.py b/src/auth0/management/types/update_guardian_factors_provider_push_notification_apns_response_content.py similarity index 72% rename from src/auth0/management/types/set_guardian_factors_provider_push_notification_fcm_request_content.py rename to src/auth0/management/types/update_guardian_factors_provider_push_notification_apns_response_content.py index aa5d4376..3cc16f7f 100644 --- a/src/auth0/management/types/set_guardian_factors_provider_push_notification_fcm_request_content.py +++ b/src/auth0/management/types/update_guardian_factors_provider_push_notification_apns_response_content.py @@ -6,8 +6,9 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel -class SetGuardianFactorsProviderPushNotificationFcmRequestContent(UniversalBaseModel): - server_key: typing.Optional[str] = None +class UpdateGuardianFactorsProviderPushNotificationApnsResponseContent(UniversalBaseModel): + sandbox: typing.Optional[bool] = None + bundle_id: typing.Optional[str] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/update_guardian_factors_provider_push_notification_fcm_response_content.py b/src/auth0/management/types/update_guardian_factors_provider_push_notification_fcm_response_content.py new file mode 100644 index 00000000..917227f9 --- /dev/null +++ b/src/auth0/management/types/update_guardian_factors_provider_push_notification_fcm_response_content.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +UpdateGuardianFactorsProviderPushNotificationFcmResponseContent = typing.Dict[str, typing.Any] diff --git a/src/auth0/management/types/update_guardian_factors_provider_push_notification_fcmv_1_response_content.py b/src/auth0/management/types/update_guardian_factors_provider_push_notification_fcmv_1_response_content.py new file mode 100644 index 00000000..707a2d69 --- /dev/null +++ b/src/auth0/management/types/update_guardian_factors_provider_push_notification_fcmv_1_response_content.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +UpdateGuardianFactorsProviderPushNotificationFcmv1ResponseContent = typing.Dict[str, typing.Any] diff --git a/src/auth0/management/types/update_hook_response_content.py b/src/auth0/management/types/update_hook_response_content.py index 1d513563..99c12a5b 100644 --- a/src/auth0/management/types/update_hook_response_content.py +++ b/src/auth0/management/types/update_hook_response_content.py @@ -11,7 +11,7 @@ class UpdateHookResponseContent(UniversalBaseModel): trigger_id: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="triggerId")] = pydantic.Field( - default=None + alias="triggerId", default=None ) """ Trigger ID diff --git a/src/auth0/management/types/update_organization_discovery_domain_response_content.py b/src/auth0/management/types/update_organization_discovery_domain_response_content.py index 1a33c939..b15699d0 100644 --- a/src/auth0/management/types/update_organization_discovery_domain_response_content.py +++ b/src/auth0/management/types/update_organization_discovery_domain_response_content.py @@ -19,6 +19,11 @@ class UpdateOrganizationDiscoveryDomainResponseContent(UniversalBaseModel): """ status: OrganizationDiscoveryDomainStatus + use_for_organization_discovery: typing.Optional[bool] = pydantic.Field(default=None) + """ + Indicates whether this domain should be used for organization discovery. + """ + verification_txt: str = pydantic.Field() """ A unique token generated for the discovery domain. This must be placed in a DNS TXT record at the location specified by the verification_host field to prove domain ownership. diff --git a/src/auth0/management/types/update_refresh_token_response_content.py b/src/auth0/management/types/update_refresh_token_response_content.py new file mode 100644 index 00000000..286c6ebe --- /dev/null +++ b/src/auth0/management/types/update_refresh_token_response_content.py @@ -0,0 +1,55 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .refresh_token_date import RefreshTokenDate +from .refresh_token_device import RefreshTokenDevice +from .refresh_token_metadata import RefreshTokenMetadata +from .refresh_token_resource_server import RefreshTokenResourceServer +from .refresh_token_session_id import RefreshTokenSessionId + + +class UpdateRefreshTokenResponseContent(UniversalBaseModel): + id: typing.Optional[str] = pydantic.Field(default=None) + """ + The ID of the refresh token + """ + + user_id: typing.Optional[str] = pydantic.Field(default="auth0|507f1f77bcf86cd799439020") + """ + ID of the user which can be used when interacting with other APIs. + """ + + created_at: typing.Optional[RefreshTokenDate] = None + idle_expires_at: typing.Optional[RefreshTokenDate] = None + expires_at: typing.Optional[RefreshTokenDate] = None + device: typing.Optional[RefreshTokenDevice] = None + client_id: typing.Optional[str] = pydantic.Field(default=None) + """ + ID of the client application granted with this refresh token + """ + + session_id: typing.Optional[RefreshTokenSessionId] = None + rotating: typing.Optional[bool] = pydantic.Field(default=None) + """ + True if the token is a rotating refresh token + """ + + resource_servers: typing.Optional[typing.List[RefreshTokenResourceServer]] = pydantic.Field(default=None) + """ + A list of the resource server IDs associated to this refresh-token and their granted scopes + """ + + refresh_token_metadata: typing.Optional[RefreshTokenMetadata] = None + last_exchanged_at: typing.Optional[RefreshTokenDate] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/update_tenant_settings_response_content.py b/src/auth0/management/types/update_tenant_settings_response_content.py index 3b07a1f0..d8eb44cc 100644 --- a/src/auth0/management/types/update_tenant_settings_response_content.py +++ b/src/auth0/management/types/update_tenant_settings_response_content.py @@ -142,6 +142,15 @@ class UpdateTenantSettingsResponseContent(UniversalBaseModel): """ resource_parameter_profile: typing.Optional[TenantSettingsResourceParameterProfile] = None + phone_consolidated_experience: typing.Optional[bool] = pydantic.Field(default=None) + """ + Whether Phone Consolidated Experience is enabled for this tenant. + """ + + enable_ai_guide: typing.Optional[bool] = pydantic.Field(default=None) + """ + Whether Auth0 Guide (AI-powered assistance) is enabled for this tenant. + """ if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/user_attribute_profile_strategy_overrides.py b/src/auth0/management/types/user_attribute_profile_strategy_overrides.py index 9929ecda..f7e46df1 100644 --- a/src/auth0/management/types/user_attribute_profile_strategy_overrides.py +++ b/src/auth0/management/types/user_attribute_profile_strategy_overrides.py @@ -20,7 +20,7 @@ class UserAttributeProfileStrategyOverrides(UniversalBaseModel): waad: typing.Optional[UserAttributeProfileStrategyOverridesMapping] = None google_apps: typing_extensions.Annotated[ typing.Optional[UserAttributeProfileStrategyOverridesMapping], FieldMetadata(alias="google-apps") - ] = None + ] = pydantic.Field(alias="google-apps", default=None) okta: typing.Optional[UserAttributeProfileStrategyOverridesMapping] = None oidc: typing.Optional[UserAttributeProfileStrategyOverridesMapping] = None samlp: typing.Optional[UserAttributeProfileStrategyOverridesMapping] = None diff --git a/src/auth0/management/types/user_attribute_profile_strategy_overrides_user_id.py b/src/auth0/management/types/user_attribute_profile_strategy_overrides_user_id.py index e0388798..99fe5a6c 100644 --- a/src/auth0/management/types/user_attribute_profile_strategy_overrides_user_id.py +++ b/src/auth0/management/types/user_attribute_profile_strategy_overrides_user_id.py @@ -22,7 +22,7 @@ class UserAttributeProfileStrategyOverridesUserId(UniversalBaseModel): waad: typing.Optional[UserAttributeProfileStrategyOverridesUserIdMapping] = None google_apps: typing_extensions.Annotated[ typing.Optional[UserAttributeProfileStrategyOverridesUserIdMapping], FieldMetadata(alias="google-apps") - ] = None + ] = pydantic.Field(alias="google-apps", default=None) okta: typing.Optional[UserAttributeProfileStrategyOverridesUserIdMapping] = None oidc: typing.Optional[UserAttributeProfileStrategyOverridesUserIdMapping] = None samlp: typing.Optional[UserAttributeProfileStrategyOverridesUserIdMapping] = None diff --git a/src/auth0/management/types/user_attribute_profile_user_attribute_additional_properties.py b/src/auth0/management/types/user_attribute_profile_user_attribute_additional_properties.py index 6102f873..d2c60e72 100644 --- a/src/auth0/management/types/user_attribute_profile_user_attribute_additional_properties.py +++ b/src/auth0/management/types/user_attribute_profile_user_attribute_additional_properties.py @@ -27,7 +27,9 @@ class UserAttributeProfileUserAttributeAdditionalProperties(UniversalBaseModel): Whether this attribute is required in the profile """ - auth_0_mapping: typing_extensions.Annotated[str, FieldMetadata(alias="auth0_mapping")] = pydantic.Field() + auth_0_mapping: typing_extensions.Annotated[str, FieldMetadata(alias="auth0_mapping")] = pydantic.Field( + alias="auth0_mapping" + ) """ Auth0 mapping for this attribute """ diff --git a/src/auth0/management/types/user_attribute_profile_user_id_oidc_mapping_enum.py b/src/auth0/management/types/user_attribute_profile_user_id_oidc_mapping_enum.py index 6dac1178..344db07b 100644 --- a/src/auth0/management/types/user_attribute_profile_user_id_oidc_mapping_enum.py +++ b/src/auth0/management/types/user_attribute_profile_user_id_oidc_mapping_enum.py @@ -2,4 +2,4 @@ import typing -UserAttributeProfileUserIdOidcMappingEnum = typing.Literal["sub"] +UserAttributeProfileUserIdOidcMappingEnum = typing.Union[typing.Literal["sub"], typing.Any] diff --git a/src/auth0/management/types/user_grant.py b/src/auth0/management/types/user_grant.py index 58a9ff63..ac80db5c 100644 --- a/src/auth0/management/types/user_grant.py +++ b/src/auth0/management/types/user_grant.py @@ -15,7 +15,7 @@ class UserGrant(UniversalBaseModel): """ client_id: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="clientID")] = pydantic.Field( - default=None + alias="clientID", default=None ) """ ID of the client. diff --git a/src/auth0/management/types/user_identity.py b/src/auth0/management/types/user_identity.py index 5a01de26..0835088f 100644 --- a/src/auth0/management/types/user_identity.py +++ b/src/auth0/management/types/user_identity.py @@ -23,10 +23,10 @@ class UserIdentity(UniversalBaseModel): """ profile_data: typing_extensions.Annotated[typing.Optional[UserProfileData], FieldMetadata(alias="profileData")] = ( - None + pydantic.Field(alias="profileData", default=None) ) is_social: typing_extensions.Annotated[typing.Optional[bool], FieldMetadata(alias="isSocial")] = pydantic.Field( - default=None + alias="isSocial", default=None ) """ Whether the identity provider is a social provider (true) or not (false). diff --git a/src/auth0/management/types/user_identity_schema.py b/src/auth0/management/types/user_identity_schema.py index 41c26167..6caac189 100644 --- a/src/auth0/management/types/user_identity_schema.py +++ b/src/auth0/management/types/user_identity_schema.py @@ -23,7 +23,7 @@ class UserIdentitySchema(UniversalBaseModel): provider: typing.Optional[UserIdentityProviderEnum] = None is_social: typing_extensions.Annotated[typing.Optional[bool], FieldMetadata(alias="isSocial")] = pydantic.Field( - default=None + alias="isSocial", default=None ) """ Whether this identity is from a social provider (true) or not (false). @@ -45,7 +45,7 @@ class UserIdentitySchema(UniversalBaseModel): """ profile_data: typing_extensions.Annotated[typing.Optional[UserProfileData], FieldMetadata(alias="profileData")] = ( - None + pydantic.Field(alias="profileData", default=None) ) if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/x_509_certificate_credential.py b/src/auth0/management/types/x_509_certificate_credential.py new file mode 100644 index 00000000..bf9c32f1 --- /dev/null +++ b/src/auth0/management/types/x_509_certificate_credential.py @@ -0,0 +1,29 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .x_509_certificate_credential_type_enum import X509CertificateCredentialTypeEnum + + +class X509CertificateCredential(UniversalBaseModel): + credential_type: X509CertificateCredentialTypeEnum + name: typing.Optional[str] = pydantic.Field(default="") + """ + Friendly name for a credential. + """ + + pem: str = pydantic.Field(default="-----BEGIN CERTIFICATE-----\r\nMIIBIjANBg...\r\n-----END CERTIFICATE-----\r\n") + """ + PEM-formatted X509 certificate. Must be JSON escaped. + """ + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/auth0/management/types/x_509_certificate_credential_type_enum.py b/src/auth0/management/types/x_509_certificate_credential_type_enum.py new file mode 100644 index 00000000..141821e2 --- /dev/null +++ b/src/auth0/management/types/x_509_certificate_credential_type_enum.py @@ -0,0 +1,5 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +X509CertificateCredentialTypeEnum = typing.Union[typing.Literal["x509_cert"], typing.Any] diff --git a/src/auth0/management/users/__init__.py b/src/auth0/management/users/__init__.py index 070ad464..e8dfda44 100644 --- a/src/auth0/management/users/__init__.py +++ b/src/auth0/management/users/__init__.py @@ -12,6 +12,7 @@ connected_accounts, enrollments, federated_connections_tokensets, + groups, identities, logs, multifactor, @@ -28,6 +29,7 @@ "connected_accounts": ".connected_accounts", "enrollments": ".enrollments", "federated_connections_tokensets": ".federated_connections_tokensets", + "groups": ".groups", "identities": ".identities", "logs": ".logs", "multifactor": ".multifactor", @@ -67,6 +69,7 @@ def __dir__(): "connected_accounts", "enrollments", "federated_connections_tokensets", + "groups", "identities", "logs", "multifactor", diff --git a/src/auth0/management/users/client.py b/src/auth0/management/users/client.py index 49d464f3..4db38c44 100644 --- a/src/auth0/management/users/client.py +++ b/src/auth0/management/users/client.py @@ -27,6 +27,7 @@ AsyncFederatedConnectionsTokensetsClient, FederatedConnectionsTokensetsClient, ) + from .groups.client import AsyncGroupsClient, GroupsClient from .identities.client import AsyncIdentitiesClient, IdentitiesClient from .logs.client import AsyncLogsClient, LogsClient from .multifactor.client import AsyncMultifactorClient, MultifactorClient @@ -49,6 +50,7 @@ def __init__(self, *, client_wrapper: SyncClientWrapper): self._connected_accounts: typing.Optional[ConnectedAccountsClient] = None self._enrollments: typing.Optional[EnrollmentsClient] = None self._federated_connections_tokensets: typing.Optional[FederatedConnectionsTokensetsClient] = None + self._groups: typing.Optional[GroupsClient] = None self._identities: typing.Optional[IdentitiesClient] = None self._logs: typing.Optional[LogsClient] = None self._multifactor: typing.Optional[MultifactorClient] = None @@ -749,6 +751,14 @@ def federated_connections_tokensets(self): ) return self._federated_connections_tokensets + @property + def groups(self): + if self._groups is None: + from .groups.client import GroupsClient # noqa: E402 + + self._groups = GroupsClient(client_wrapper=self._client_wrapper) + return self._groups + @property def identities(self): if self._identities is None: @@ -831,6 +841,7 @@ def __init__(self, *, client_wrapper: AsyncClientWrapper): self._connected_accounts: typing.Optional[AsyncConnectedAccountsClient] = None self._enrollments: typing.Optional[AsyncEnrollmentsClient] = None self._federated_connections_tokensets: typing.Optional[AsyncFederatedConnectionsTokensetsClient] = None + self._groups: typing.Optional[AsyncGroupsClient] = None self._identities: typing.Optional[AsyncIdentitiesClient] = None self._logs: typing.Optional[AsyncLogsClient] = None self._multifactor: typing.Optional[AsyncMultifactorClient] = None @@ -1596,6 +1607,14 @@ def federated_connections_tokensets(self): ) return self._federated_connections_tokensets + @property + def groups(self): + if self._groups is None: + from .groups.client import AsyncGroupsClient # noqa: E402 + + self._groups = AsyncGroupsClient(client_wrapper=self._client_wrapper) + return self._groups + @property def identities(self): if self._identities is None: diff --git a/src/auth0/management/users/groups/__init__.py b/src/auth0/management/users/groups/__init__.py new file mode 100644 index 00000000..5cde0202 --- /dev/null +++ b/src/auth0/management/users/groups/__init__.py @@ -0,0 +1,4 @@ +# This file was auto-generated by Fern from our API Definition. + +# isort: skip_file + diff --git a/src/auth0/management/users/groups/client.py b/src/auth0/management/users/groups/client.py new file mode 100644 index 00000000..955256c8 --- /dev/null +++ b/src/auth0/management/users/groups/client.py @@ -0,0 +1,175 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from ...core.pagination import AsyncPager, SyncPager +from ...core.request_options import RequestOptions +from ...types.get_user_groups_paginated_response_content import GetUserGroupsPaginatedResponseContent +from ...types.user_groups_response_schema import UserGroupsResponseSchema +from .raw_client import AsyncRawGroupsClient, RawGroupsClient + + +class GroupsClient: + def __init__(self, *, client_wrapper: SyncClientWrapper): + self._raw_client = RawGroupsClient(client_wrapper=client_wrapper) + + @property + def with_raw_response(self) -> RawGroupsClient: + """ + Retrieves a raw implementation of this client that returns raw responses. + + Returns + ------- + RawGroupsClient + """ + return self._raw_client + + def get( + self, + id: str, + *, + fields: typing.Optional[str] = None, + include_fields: typing.Optional[bool] = None, + from_: typing.Optional[str] = None, + take: typing.Optional[int] = 50, + request_options: typing.Optional[RequestOptions] = None, + ) -> SyncPager[UserGroupsResponseSchema, GetUserGroupsPaginatedResponseContent]: + """ + List all groups to which this user belongs. + + Parameters + ---------- + id : str + ID of the user to list groups for. + + fields : typing.Optional[str] + A comma separated list of fields to include or exclude (depending on include_fields) from the result, empty to retrieve all fields + + include_fields : typing.Optional[bool] + Whether specified fields are to be included (true) or excluded (false). + + from_ : typing.Optional[str] + Optional Id from which to start selection. + + take : typing.Optional[int] + Number of results per page. Defaults to 50. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + SyncPager[UserGroupsResponseSchema, GetUserGroupsPaginatedResponseContent] + Groups successfully retrieved. + + Examples + -------- + from auth0 import Auth0 + + client = Auth0( + token="YOUR_TOKEN", + ) + response = client.users.groups.get( + id="id", + fields="fields", + include_fields=True, + from_="from", + take=1, + ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page + """ + return self._raw_client.get( + id, fields=fields, include_fields=include_fields, from_=from_, take=take, request_options=request_options + ) + + +class AsyncGroupsClient: + def __init__(self, *, client_wrapper: AsyncClientWrapper): + self._raw_client = AsyncRawGroupsClient(client_wrapper=client_wrapper) + + @property + def with_raw_response(self) -> AsyncRawGroupsClient: + """ + Retrieves a raw implementation of this client that returns raw responses. + + Returns + ------- + AsyncRawGroupsClient + """ + return self._raw_client + + async def get( + self, + id: str, + *, + fields: typing.Optional[str] = None, + include_fields: typing.Optional[bool] = None, + from_: typing.Optional[str] = None, + take: typing.Optional[int] = 50, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncPager[UserGroupsResponseSchema, GetUserGroupsPaginatedResponseContent]: + """ + List all groups to which this user belongs. + + Parameters + ---------- + id : str + ID of the user to list groups for. + + fields : typing.Optional[str] + A comma separated list of fields to include or exclude (depending on include_fields) from the result, empty to retrieve all fields + + include_fields : typing.Optional[bool] + Whether specified fields are to be included (true) or excluded (false). + + from_ : typing.Optional[str] + Optional Id from which to start selection. + + take : typing.Optional[int] + Number of results per page. Defaults to 50. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncPager[UserGroupsResponseSchema, GetUserGroupsPaginatedResponseContent] + Groups successfully retrieved. + + Examples + -------- + import asyncio + + from auth0 import AsyncAuth0 + + client = AsyncAuth0( + token="YOUR_TOKEN", + ) + + + async def main() -> None: + response = await client.users.groups.get( + id="id", + fields="fields", + include_fields=True, + from_="from", + take=1, + ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page + + + asyncio.run(main()) + """ + return await self._raw_client.get( + id, fields=fields, include_fields=include_fields, from_=from_, take=take, request_options=request_options + ) diff --git a/src/auth0/management/users/groups/raw_client.py b/src/auth0/management/users/groups/raw_client.py new file mode 100644 index 00000000..25025296 --- /dev/null +++ b/src/auth0/management/users/groups/raw_client.py @@ -0,0 +1,268 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing +from json.decoder import JSONDecodeError + +from ...core.api_error import ApiError +from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from ...core.jsonable_encoder import jsonable_encoder +from ...core.pagination import AsyncPager, SyncPager +from ...core.pydantic_utilities import parse_obj_as +from ...core.request_options import RequestOptions +from ...errors.bad_request_error import BadRequestError +from ...errors.forbidden_error import ForbiddenError +from ...errors.too_many_requests_error import TooManyRequestsError +from ...errors.unauthorized_error import UnauthorizedError +from ...types.get_user_groups_paginated_response_content import GetUserGroupsPaginatedResponseContent +from ...types.user_groups_response_schema import UserGroupsResponseSchema + + +class RawGroupsClient: + def __init__(self, *, client_wrapper: SyncClientWrapper): + self._client_wrapper = client_wrapper + + def get( + self, + id: str, + *, + fields: typing.Optional[str] = None, + include_fields: typing.Optional[bool] = None, + from_: typing.Optional[str] = None, + take: typing.Optional[int] = 50, + request_options: typing.Optional[RequestOptions] = None, + ) -> SyncPager[UserGroupsResponseSchema, GetUserGroupsPaginatedResponseContent]: + """ + List all groups to which this user belongs. + + Parameters + ---------- + id : str + ID of the user to list groups for. + + fields : typing.Optional[str] + A comma separated list of fields to include or exclude (depending on include_fields) from the result, empty to retrieve all fields + + include_fields : typing.Optional[bool] + Whether specified fields are to be included (true) or excluded (false). + + from_ : typing.Optional[str] + Optional Id from which to start selection. + + take : typing.Optional[int] + Number of results per page. Defaults to 50. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + SyncPager[UserGroupsResponseSchema, GetUserGroupsPaginatedResponseContent] + Groups successfully retrieved. + """ + _response = self._client_wrapper.httpx_client.request( + f"users/{jsonable_encoder(id)}/groups", + method="GET", + params={ + "fields": fields, + "include_fields": include_fields, + "from": from_, + "take": take, + }, + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _parsed_response = typing.cast( + GetUserGroupsPaginatedResponseContent, + parse_obj_as( + type_=GetUserGroupsPaginatedResponseContent, # type: ignore + object_=_response.json(), + ), + ) + _items = _parsed_response.groups + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.get( + id, + fields=fields, + include_fields=include_fields, + from_=_parsed_next, + take=take, + request_options=request_options, + ) + return SyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + +class AsyncRawGroupsClient: + def __init__(self, *, client_wrapper: AsyncClientWrapper): + self._client_wrapper = client_wrapper + + async def get( + self, + id: str, + *, + fields: typing.Optional[str] = None, + include_fields: typing.Optional[bool] = None, + from_: typing.Optional[str] = None, + take: typing.Optional[int] = 50, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncPager[UserGroupsResponseSchema, GetUserGroupsPaginatedResponseContent]: + """ + List all groups to which this user belongs. + + Parameters + ---------- + id : str + ID of the user to list groups for. + + fields : typing.Optional[str] + A comma separated list of fields to include or exclude (depending on include_fields) from the result, empty to retrieve all fields + + include_fields : typing.Optional[bool] + Whether specified fields are to be included (true) or excluded (false). + + from_ : typing.Optional[str] + Optional Id from which to start selection. + + take : typing.Optional[int] + Number of results per page. Defaults to 50. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncPager[UserGroupsResponseSchema, GetUserGroupsPaginatedResponseContent] + Groups successfully retrieved. + """ + _response = await self._client_wrapper.httpx_client.request( + f"users/{jsonable_encoder(id)}/groups", + method="GET", + params={ + "fields": fields, + "include_fields": include_fields, + "from": from_, + "take": take, + }, + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _parsed_response = typing.cast( + GetUserGroupsPaginatedResponseContent, + parse_obj_as( + type_=GetUserGroupsPaginatedResponseContent, # type: ignore + object_=_response.json(), + ), + ) + _items = _parsed_response.groups + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.get( + id, + fields=fields, + include_fields=include_fields, + from_=_parsed_next, + take=take, + request_options=request_options, + ) + + return AsyncPager(has_next=_has_next, items=_items, get_next=_get_next, response=_parsed_response) + if _response.status_code == 400: + raise BadRequestError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 401: + raise UnauthorizedError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 403: + raise ForbiddenError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + if _response.status_code == 429: + raise TooManyRequestsError( + headers=dict(_response.headers), + body=typing.cast( + typing.Any, + parse_obj_as( + type_=typing.Any, # type: ignore + object_=_response.json(), + ), + ), + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/auth0/management/users/risk_assessments/client.py b/src/auth0/management/users/risk_assessments/client.py index dec9b5a9..f868b4bc 100644 --- a/src/auth0/management/users/risk_assessments/client.py +++ b/src/auth0/management/users/risk_assessments/client.py @@ -65,7 +65,7 @@ def clear( client.users.risk_assessments.clear( id="id", connection="connection", - assessors=[], + assessors=["new-device"], ) """ _response = self._raw_client.clear( @@ -133,7 +133,7 @@ async def main() -> None: await client.users.risk_assessments.clear( id="id", connection="connection", - assessors=[], + assessors=["new-device"], ) diff --git a/src/auth0/management/version.py b/src/auth0/management/version.py index 135078c2..c54f8e16 100644 --- a/src/auth0/management/version.py +++ b/src/auth0/management/version.py @@ -1,3 +1,3 @@ from importlib import metadata -__version__ = metadata.version("auth0-python") +__version__ = metadata.version("auth0") diff --git a/tests/conftest.py b/tests/conftest.py index 2103b1be..dd48d29f 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -15,6 +15,7 @@ import pytest _STARTED: bool = False +_WIREMOCK_PORT: str = "8080" # Default, will be updated after container starts def _compose_file() -> str: @@ -26,22 +27,54 @@ def _compose_file() -> str: return os.path.join(wiremock_dir, "docker-compose.test.yml") +def _project_name() -> str: + """Returns a unique project name for this test fixture to avoid container name conflicts.""" + tests_dir = os.path.dirname(__file__) + project_root = os.path.abspath(os.path.join(tests_dir, "..")) + # Use the last two directory names to create a unique project name + # e.g., "python-streaming-parameter-openapi-with-wire-tests" + parent = os.path.basename(os.path.dirname(project_root)) + current = os.path.basename(project_root) + return f"{parent}-{current}".replace("_", "-").lower() + + +def _get_wiremock_port() -> str: + """Gets the dynamically assigned port for the WireMock container.""" + compose_file = _compose_file() + project = _project_name() + try: + result = subprocess.run( + ["docker", "compose", "-f", compose_file, "-p", project, "port", "wiremock", "8080"], + check=True, + capture_output=True, + text=True, + ) + # Output is like "0.0.0.0:32768" or "[::]:32768" + port = result.stdout.strip().split(":")[-1] + return port + except subprocess.CalledProcessError: + return "8080" # Fallback to default + + def _start_wiremock() -> None: """Starts the WireMock container using docker-compose.""" - global _STARTED + global _STARTED, _WIREMOCK_PORT if _STARTED: return compose_file = _compose_file() - print("\nStarting WireMock container...") + project = _project_name() + print(f"\nStarting WireMock container (project: {project})...") try: subprocess.run( - ["docker", "compose", "-f", compose_file, "up", "-d", "--wait"], + ["docker", "compose", "-f", compose_file, "-p", project, "up", "-d", "--wait"], check=True, capture_output=True, text=True, ) - print("WireMock container is ready") + _WIREMOCK_PORT = _get_wiremock_port() + os.environ["WIREMOCK_PORT"] = _WIREMOCK_PORT + print(f"WireMock container is ready on port {_WIREMOCK_PORT}") _STARTED = True except subprocess.CalledProcessError as e: print(f"Failed to start WireMock: {e.stderr}") @@ -51,9 +84,10 @@ def _start_wiremock() -> None: def _stop_wiremock() -> None: """Stops and removes the WireMock container.""" compose_file = _compose_file() + project = _project_name() print("\nStopping WireMock container...") subprocess.run( - ["docker", "compose", "-f", compose_file, "down", "-v"], + ["docker", "compose", "-f", compose_file, "-p", project, "down", "-v"], check=False, capture_output=True, ) diff --git a/tests/utils/test_http_client.py b/tests/utils/test_http_client.py index f1e07ea6..026256d8 100644 --- a/tests/utils/test_http_client.py +++ b/tests/utils/test_http_client.py @@ -4,7 +4,13 @@ import pytest -from auth0.management.core.http_client import AsyncHttpClient, HttpClient, get_request_body, remove_none_from_dict +from auth0.management.core.http_client import ( + AsyncHttpClient, + HttpClient, + _build_url, + get_request_body, + remove_none_from_dict, +) from auth0.management.core.request_options import RequestOptions @@ -86,17 +92,30 @@ def test_get_none_request_body() -> None: def test_get_empty_json_request_body() -> None: + """Test that implicit empty bodies (json=None) are collapsed to None.""" unrelated_request_options: RequestOptions = {"max_retries": 3} json_body, data_body = get_request_body(json=None, data=None, request_options=unrelated_request_options, omit=None) assert json_body is None assert data_body is None - json_body_extras, data_body_extras = get_request_body( - json={}, data=None, request_options=unrelated_request_options, omit=None - ) - assert json_body_extras is None - assert data_body_extras is None +def test_explicit_empty_json_body_is_preserved() -> None: + """Test that explicit empty bodies (json={}) are preserved and sent as {}. + + This is important for endpoints where the request body is required but all + fields are optional. The server expects valid JSON ({}) not an empty body. + """ + unrelated_request_options: RequestOptions = {"max_retries": 3} + + # Explicit json={} should be preserved + json_body, data_body = get_request_body(json={}, data=None, request_options=unrelated_request_options, omit=None) + assert json_body == {} + assert data_body is None + + # Explicit data={} should also be preserved + json_body2, data_body2 = get_request_body(json=None, data={}, request_options=unrelated_request_options, omit=None) + assert json_body2 is None + assert data_body2 == {} def test_json_body_preserves_none_values() -> None: @@ -251,3 +270,31 @@ async def test_async_http_client_passes_encoded_params_when_present() -> None: params = dummy_client.last_request_kwargs["params"] # For a simple dict, encode_query should give a single (key, value) tuple assert params == [("after", "456")] + + +def test_basic_url_joining() -> None: + """Test basic URL joining with a simple base URL and path.""" + result = _build_url("https://api.example.com", "/users") + assert result == "https://api.example.com/users" + + +def test_basic_url_joining_trailing_slash() -> None: + """Test basic URL joining with a simple base URL and path.""" + result = _build_url("https://api.example.com/", "/users") + assert result == "https://api.example.com/users" + + +def test_preserves_base_url_path_prefix() -> None: + """Test that path prefixes in base URL are preserved. + + This is the critical bug fix - urllib.parse.urljoin() would strip + the path prefix when the path starts with '/'. + """ + result = _build_url("https://cloud.example.com/org/tenant/api", "/users") + assert result == "https://cloud.example.com/org/tenant/api/users" + + +def test_preserves_base_url_path_prefix_trailing_slash() -> None: + """Test that path prefixes in base URL are preserved.""" + result = _build_url("https://cloud.example.com/org/tenant/api/", "/users") + assert result == "https://cloud.example.com/org/tenant/api/users" diff --git a/tests/wire/conftest.py b/tests/wire/conftest.py index fa87264e..8498ca58 100644 --- a/tests/wire/conftest.py +++ b/tests/wire/conftest.py @@ -9,6 +9,8 @@ once per test run, even when using pytest-xdist. """ +import inspect +import os from typing import Any, Dict, Optional import requests @@ -16,6 +18,12 @@ from auth0.management.client import Auth0 +def _get_wiremock_base_url() -> str: + """Returns the WireMock base URL using the dynamically assigned port.""" + port = os.environ.get("WIREMOCK_PORT", "8080") + return f"http://localhost:{port}" + + def get_client(test_id: str) -> Auth0: """ Creates a configured client instance for wire tests. @@ -26,9 +34,25 @@ def get_client(test_id: str) -> Auth0: Returns: A configured client instance with all required auth parameters. """ + test_headers = {"X-Test-Id": test_id} + base_url = _get_wiremock_base_url() + + # Prefer passing headers directly if the client constructor supports it. + try: + if "headers" in inspect.signature(Auth0).parameters: + return Auth0( + base_url=base_url, + headers=test_headers, + token="test_token", + ) + except (TypeError, ValueError): + pass + + import httpx + return Auth0( - base_url="http://localhost:8080", - headers={"X-Test-Id": test_id}, + base_url=base_url, + httpx_client=httpx.Client(headers=test_headers), token="test_token", ) @@ -41,7 +65,7 @@ def verify_request_count( expected: int, ) -> None: """Verifies the number of requests made to WireMock filtered by test ID for concurrency safety""" - wiremock_admin_url = "http://localhost:8080/__admin" + wiremock_admin_url = f"{_get_wiremock_base_url()}/__admin" request_body: Dict[str, Any] = { "method": method, "urlPath": url_path, diff --git a/tests/wire/test_actions_modules.py b/tests/wire/test_actions_modules.py new file mode 100644 index 00000000..9b943d12 --- /dev/null +++ b/tests/wire/test_actions_modules.py @@ -0,0 +1,57 @@ +from .conftest import get_client, verify_request_count + + +def test_actions_modules_list_() -> None: + """Test list endpoint with WireMock""" + test_id = "actions.modules.list_.0" + client = get_client(test_id) + client.actions.modules.list(page=1, per_page=1) + verify_request_count(test_id, "GET", "/actions/modules", {"page": "1", "per_page": "1"}, 1) + + +def test_actions_modules_create() -> None: + """Test create endpoint with WireMock""" + test_id = "actions.modules.create.0" + client = get_client(test_id) + client.actions.modules.create(name="name", code="code") + verify_request_count(test_id, "POST", "/actions/modules", None, 1) + + +def test_actions_modules_get() -> None: + """Test get endpoint with WireMock""" + test_id = "actions.modules.get.0" + client = get_client(test_id) + client.actions.modules.get(id="id") + verify_request_count(test_id, "GET", "/actions/modules/id", None, 1) + + +def test_actions_modules_delete() -> None: + """Test delete endpoint with WireMock""" + test_id = "actions.modules.delete.0" + client = get_client(test_id) + client.actions.modules.delete(id="id") + verify_request_count(test_id, "DELETE", "/actions/modules/id", None, 1) + + +def test_actions_modules_update() -> None: + """Test update endpoint with WireMock""" + test_id = "actions.modules.update.0" + client = get_client(test_id) + client.actions.modules.update(id="id") + verify_request_count(test_id, "PATCH", "/actions/modules/id", None, 1) + + +def test_actions_modules_list_actions() -> None: + """Test listActions endpoint with WireMock""" + test_id = "actions.modules.list_actions.0" + client = get_client(test_id) + client.actions.modules.list_actions(id="id", page=1, per_page=1) + verify_request_count(test_id, "GET", "/actions/modules/id/actions", {"page": "1", "per_page": "1"}, 1) + + +def test_actions_modules_rollback() -> None: + """Test rollback endpoint with WireMock""" + test_id = "actions.modules.rollback.0" + client = get_client(test_id) + client.actions.modules.rollback(id="id", module_version_id="module_version_id") + verify_request_count(test_id, "POST", "/actions/modules/id/rollback", None, 1) diff --git a/tests/wire/test_actions_modules_versions.py b/tests/wire/test_actions_modules_versions.py new file mode 100644 index 00000000..aca4b50f --- /dev/null +++ b/tests/wire/test_actions_modules_versions.py @@ -0,0 +1,25 @@ +from .conftest import get_client, verify_request_count + + +def test_actions_modules_versions_list_() -> None: + """Test list endpoint with WireMock""" + test_id = "actions.modules.versions.list_.0" + client = get_client(test_id) + client.actions.modules.versions.list(id="id") + verify_request_count(test_id, "GET", "/actions/modules/id/versions", None, 1) + + +def test_actions_modules_versions_create() -> None: + """Test create endpoint with WireMock""" + test_id = "actions.modules.versions.create.0" + client = get_client(test_id) + client.actions.modules.versions.create(id="id") + verify_request_count(test_id, "POST", "/actions/modules/id/versions", None, 1) + + +def test_actions_modules_versions_get() -> None: + """Test get endpoint with WireMock""" + test_id = "actions.modules.versions.get.0" + client = get_client(test_id) + client.actions.modules.versions.get(id="id", version_id="versionId") + verify_request_count(test_id, "GET", "/actions/modules/id/versions/versionId", None, 1) diff --git a/tests/wire/test_clientGrants.py b/tests/wire/test_clientGrants.py index b5945eaa..2c687351 100644 --- a/tests/wire/test_clientGrants.py +++ b/tests/wire/test_clientGrants.py @@ -37,6 +37,14 @@ def test_clientGrants_create() -> None: verify_request_count(test_id, "POST", "/client-grants", None, 1) +def test_clientGrants_get() -> None: + """Test get endpoint with WireMock""" + test_id = "client_grants.get.0" + client = get_client(test_id) + client.client_grants.get(id="id") + verify_request_count(test_id, "GET", "/client-grants/id", None, 1) + + def test_clientGrants_delete() -> None: """Test delete endpoint with WireMock""" test_id = "client_grants.delete.0" diff --git a/tests/wire/test_connections_directoryProvisioning.py b/tests/wire/test_connections_directoryProvisioning.py index f35d0a47..bf3b73e1 100644 --- a/tests/wire/test_connections_directoryProvisioning.py +++ b/tests/wire/test_connections_directoryProvisioning.py @@ -1,6 +1,14 @@ from .conftest import get_client, verify_request_count +def test_connections_directoryProvisioning_list_() -> None: + """Test list endpoint with WireMock""" + test_id = "connections.directory_provisioning.list_.0" + client = get_client(test_id) + client.connections.directory_provisioning.list(from_="from", take=1) + verify_request_count(test_id, "GET", "/connections-directory-provisionings", {"from": "from", "take": "1"}, 1) + + def test_connections_directoryProvisioning_get() -> None: """Test get endpoint with WireMock""" test_id = "connections.directory_provisioning.get.0" diff --git a/tests/wire/test_customDomains.py b/tests/wire/test_customDomains.py index 8d5cb023..1f1fbb84 100644 --- a/tests/wire/test_customDomains.py +++ b/tests/wire/test_customDomains.py @@ -5,13 +5,9 @@ def test_customDomains_list_() -> None: """Test list endpoint with WireMock""" test_id = "custom_domains.list_.0" client = get_client(test_id) - client.custom_domains.list(take=1, from_="from", q="q", fields="fields", include_fields=True, sort="sort") + client.custom_domains.list(q="q", fields="fields", include_fields=True, sort="sort") verify_request_count( - test_id, - "GET", - "/custom-domains", - {"take": "1", "from": "from", "q": "q", "fields": "fields", "include_fields": "true", "sort": "sort"}, - 1, + test_id, "GET", "/custom-domains", {"q": "q", "fields": "fields", "include_fields": "true", "sort": "sort"}, 1 ) diff --git a/tests/wire/test_deviceCredentials.py b/tests/wire/test_deviceCredentials.py index b2c3b174..224ac491 100644 --- a/tests/wire/test_deviceCredentials.py +++ b/tests/wire/test_deviceCredentials.py @@ -37,7 +37,9 @@ def test_deviceCredentials_create_public_key() -> None: """Test createPublicKey endpoint with WireMock""" test_id = "device_credentials.create_public_key.0" client = get_client(test_id) - client.device_credentials.create_public_key(device_name="device_name", value="value", device_id="device_id") + client.device_credentials.create_public_key( + device_name="device_name", type="public_key", value="value", device_id="device_id" + ) verify_request_count(test_id, "POST", "/device-credentials", None, 1) diff --git a/tests/wire/test_groups.py b/tests/wire/test_groups.py new file mode 100644 index 00000000..6fbeeb23 --- /dev/null +++ b/tests/wire/test_groups.py @@ -0,0 +1,39 @@ +from .conftest import get_client, verify_request_count + + +def test_groups_list_() -> None: + """Test list endpoint with WireMock""" + test_id = "groups.list_.0" + client = get_client(test_id) + client.groups.list( + connection_id="connection_id", + name="name", + external_id="external_id", + fields="fields", + include_fields=True, + from_="from", + take=1, + ) + verify_request_count( + test_id, + "GET", + "/groups", + { + "connection_id": "connection_id", + "name": "name", + "external_id": "external_id", + "fields": "fields", + "include_fields": "true", + "from": "from", + "take": "1", + }, + 1, + ) + + +def test_groups_get() -> None: + """Test get endpoint with WireMock""" + test_id = "groups.get.0" + client = get_client(test_id) + client.groups.get(id="id") + verify_request_count(test_id, "GET", "/groups/id", None, 1) diff --git a/tests/wire/test_groups_members.py b/tests/wire/test_groups_members.py new file mode 100644 index 00000000..d6457646 --- /dev/null +++ b/tests/wire/test_groups_members.py @@ -0,0 +1,15 @@ +from .conftest import get_client, verify_request_count + + +def test_groups_members_get() -> None: + """Test get endpoint with WireMock""" + test_id = "groups.members.get.0" + client = get_client(test_id) + client.groups.members.get(id="id", fields="fields", include_fields=True, from_="from", take=1) + verify_request_count( + test_id, + "GET", + "/groups/id/members", + {"fields": "fields", "include_fields": "true", "from": "from", "take": "1"}, + 1, + ) diff --git a/tests/wire/test_guardian_factors_pushNotification.py b/tests/wire/test_guardian_factors_pushNotification.py index 775c677c..21bbaec1 100644 --- a/tests/wire/test_guardian_factors_pushNotification.py +++ b/tests/wire/test_guardian_factors_pushNotification.py @@ -14,6 +14,14 @@ def test_guardian_factors_pushNotification_set_apns_provider() -> None: test_id = "guardian.factors.push_notification.set_apns_provider.0" client = get_client(test_id) client.guardian.factors.push_notification.set_apns_provider() + verify_request_count(test_id, "PUT", "/guardian/factors/push-notification/providers/apns", None, 1) + + +def test_guardian_factors_pushNotification_update_apns_provider() -> None: + """Test updateApnsProvider endpoint with WireMock""" + test_id = "guardian.factors.push_notification.update_apns_provider.0" + client = get_client(test_id) + client.guardian.factors.push_notification.update_apns_provider() verify_request_count(test_id, "PATCH", "/guardian/factors/push-notification/providers/apns", None, 1) @@ -22,6 +30,14 @@ def test_guardian_factors_pushNotification_set_fcm_provider() -> None: test_id = "guardian.factors.push_notification.set_fcm_provider.0" client = get_client(test_id) client.guardian.factors.push_notification.set_fcm_provider() + verify_request_count(test_id, "PUT", "/guardian/factors/push-notification/providers/fcm", None, 1) + + +def test_guardian_factors_pushNotification_update_fcm_provider() -> None: + """Test updateFcmProvider endpoint with WireMock""" + test_id = "guardian.factors.push_notification.update_fcm_provider.0" + client = get_client(test_id) + client.guardian.factors.push_notification.update_fcm_provider() verify_request_count(test_id, "PATCH", "/guardian/factors/push-notification/providers/fcm", None, 1) @@ -30,6 +46,14 @@ def test_guardian_factors_pushNotification_set_fcmv_1_provider() -> None: test_id = "guardian.factors.push_notification.set_fcmv_1_provider.0" client = get_client(test_id) client.guardian.factors.push_notification.set_fcmv_1_provider() + verify_request_count(test_id, "PUT", "/guardian/factors/push-notification/providers/fcmv1", None, 1) + + +def test_guardian_factors_pushNotification_update_fcmv_1_provider() -> None: + """Test updateFcmv1Provider endpoint with WireMock""" + test_id = "guardian.factors.push_notification.update_fcmv_1_provider.0" + client = get_client(test_id) + client.guardian.factors.push_notification.update_fcmv_1_provider() verify_request_count(test_id, "PATCH", "/guardian/factors/push-notification/providers/fcmv1", None, 1) diff --git a/tests/wire/test_organizations_discoveryDomains.py b/tests/wire/test_organizations_discoveryDomains.py index b63a26f2..6fdf87d7 100644 --- a/tests/wire/test_organizations_discoveryDomains.py +++ b/tests/wire/test_organizations_discoveryDomains.py @@ -17,6 +17,14 @@ def test_organizations_discoveryDomains_create() -> None: verify_request_count(test_id, "POST", "/organizations/id/discovery-domains", None, 1) +def test_organizations_discoveryDomains_get_by_name() -> None: + """Test getByName endpoint with WireMock""" + test_id = "organizations.discovery_domains.get_by_name.0" + client = get_client(test_id) + client.organizations.discovery_domains.get_by_name(id="id", discovery_domain="discovery_domain") + verify_request_count(test_id, "GET", "/organizations/id/discovery-domains/name/discovery_domain", None, 1) + + def test_organizations_discoveryDomains_get() -> None: """Test get endpoint with WireMock""" test_id = "organizations.discovery_domains.get.0" diff --git a/tests/wire/test_refreshTokens.py b/tests/wire/test_refreshTokens.py index 205a8af5..c464d52b 100644 --- a/tests/wire/test_refreshTokens.py +++ b/tests/wire/test_refreshTokens.py @@ -15,3 +15,11 @@ def test_refreshTokens_delete() -> None: client = get_client(test_id) client.refresh_tokens.delete(id="id") verify_request_count(test_id, "DELETE", "/refresh-tokens/id", None, 1) + + +def test_refreshTokens_update() -> None: + """Test update endpoint with WireMock""" + test_id = "refresh_tokens.update.0" + client = get_client(test_id) + client.refresh_tokens.update(id="id") + verify_request_count(test_id, "PATCH", "/refresh-tokens/id", None, 1) diff --git a/tests/wire/test_selfServiceProfiles_customText.py b/tests/wire/test_selfServiceProfiles_customText.py index 5b4107d6..69f875ff 100644 --- a/tests/wire/test_selfServiceProfiles_customText.py +++ b/tests/wire/test_selfServiceProfiles_customText.py @@ -5,7 +5,7 @@ def test_selfServiceProfiles_customText_list_() -> None: """Test list endpoint with WireMock""" test_id = "self_service_profiles.custom_text.list_.0" client = get_client(test_id) - client.self_service_profiles.custom_text.list(id="id") + client.self_service_profiles.custom_text.list(id="id", language="en", page="get-started") verify_request_count(test_id, "GET", "/self-service-profiles/id/custom-text/en/get-started", None, 1) @@ -13,5 +13,5 @@ def test_selfServiceProfiles_customText_set_() -> None: """Test set endpoint with WireMock""" test_id = "self_service_profiles.custom_text.set_.0" client = get_client(test_id) - client.self_service_profiles.custom_text.set(id="id", request={"key": "value"}) + client.self_service_profiles.custom_text.set(id="id", language="en", page="get-started", request={"key": "value"}) verify_request_count(test_id, "PUT", "/self-service-profiles/id/custom-text/en/get-started", None, 1) diff --git a/tests/wire/test_tokenExchangeProfiles.py b/tests/wire/test_tokenExchangeProfiles.py index 90e48824..66658ec8 100644 --- a/tests/wire/test_tokenExchangeProfiles.py +++ b/tests/wire/test_tokenExchangeProfiles.py @@ -13,7 +13,9 @@ def test_tokenExchangeProfiles_create() -> None: """Test create endpoint with WireMock""" test_id = "token_exchange_profiles.create.0" client = get_client(test_id) - client.token_exchange_profiles.create(name="name", subject_token_type="subject_token_type", action_id="action_id") + client.token_exchange_profiles.create( + name="name", subject_token_type="subject_token_type", action_id="action_id", type="custom_authentication" + ) verify_request_count(test_id, "POST", "/token-exchange-profiles", None, 1) diff --git a/tests/wire/test_users_groups.py b/tests/wire/test_users_groups.py new file mode 100644 index 00000000..0ca81622 --- /dev/null +++ b/tests/wire/test_users_groups.py @@ -0,0 +1,15 @@ +from .conftest import get_client, verify_request_count + + +def test_users_groups_get() -> None: + """Test get endpoint with WireMock""" + test_id = "users.groups.get.0" + client = get_client(test_id) + client.users.groups.get(id="id", fields="fields", include_fields=True, from_="from", take=1) + verify_request_count( + test_id, + "GET", + "/users/id/groups", + {"fields": "fields", "include_fields": "true", "from": "from", "take": "1"}, + 1, + ) diff --git a/wiremock/docker-compose.test.yml b/wiremock/docker-compose.test.yml index f80c6b0a..58747d54 100644 --- a/wiremock/docker-compose.test.yml +++ b/wiremock/docker-compose.test.yml @@ -2,7 +2,7 @@ services: wiremock: image: wiremock/wiremock:3.9.1 ports: - - "8080:8080" + - "0:8080" # Use dynamic port to avoid conflicts with concurrent tests volumes: - ./wiremock-mappings.json:/home/wiremock/mappings/wiremock-mappings.json command: ["--global-response-templating", "--verbose"] diff --git a/wiremock/wiremock-mappings.json b/wiremock/wiremock-mappings.json index 95cc1846..0de7ed09 100644 --- a/wiremock/wiremock-mappings.json +++ b/wiremock/wiremock-mappings.json @@ -1 +1 @@ -{"mappings":[{"id":"33519415-78d5-4e20-b7ed-c0f6609b6e90","name":"Get actions - default","request":{"urlPathTemplate":"/actions/actions","method":"GET"},"response":{"status":200,"body":"{\n \"total\": 1.1,\n \"page\": 1.1,\n \"per_page\": 1.1,\n \"actions\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"supported_triggers\": [\n {\n \"id\": \"id\"\n }\n ],\n \"all_changes_deployed\": true,\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"code\": \"code\",\n \"dependencies\": [\n {}\n ],\n \"runtime\": \"runtime\",\n \"secrets\": [\n {}\n ],\n \"installed_integration_id\": \"installed_integration_id\",\n \"status\": \"pending\",\n \"built_at\": \"2024-01-15T09:30:00Z\",\n \"deploy\": true\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"33519415-78d5-4e20-b7ed-c0f6609b6e90","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"0af03b66-13d2-4fbe-a736-0f9dae1a89da","name":"Create an action - default","request":{"urlPathTemplate":"/actions/actions","method":"POST"},"response":{"status":201,"body":"{\n \"id\": \"id\",\n \"name\": \"name\",\n \"supported_triggers\": [\n {\n \"id\": \"id\",\n \"version\": \"version\",\n \"status\": \"status\",\n \"runtimes\": [\n \"runtimes\"\n ],\n \"default_runtime\": \"default_runtime\",\n \"compatible_triggers\": [\n {\n \"id\": \"id\",\n \"version\": \"version\"\n }\n ],\n \"binding_policy\": \"trigger-bound\"\n }\n ],\n \"all_changes_deployed\": true,\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"code\": \"code\",\n \"dependencies\": [\n {\n \"name\": \"name\",\n \"version\": \"version\",\n \"registry_url\": \"registry_url\"\n }\n ],\n \"runtime\": \"runtime\",\n \"secrets\": [\n {\n \"name\": \"name\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n }\n ],\n \"deployed_version\": {\n \"id\": \"id\",\n \"action_id\": \"action_id\",\n \"code\": \"code\",\n \"dependencies\": [\n {}\n ],\n \"deployed\": true,\n \"runtime\": \"runtime\",\n \"secrets\": [\n {}\n ],\n \"status\": \"pending\",\n \"number\": 1.1,\n \"errors\": [\n {}\n ],\n \"action\": {\n \"id\": \"id\",\n \"name\": \"name\",\n \"supported_triggers\": [\n {\n \"id\": \"id\"\n }\n ],\n \"all_changes_deployed\": true,\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n },\n \"built_at\": \"2024-01-15T09:30:00Z\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"supported_triggers\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"installed_integration_id\": \"installed_integration_id\",\n \"integration\": {\n \"id\": \"id\",\n \"catalog_id\": \"catalog_id\",\n \"url_slug\": \"url_slug\",\n \"partner_id\": \"partner_id\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"short_description\": \"short_description\",\n \"logo\": \"logo\",\n \"feature_type\": \"unspecified\",\n \"terms_of_use_url\": \"terms_of_use_url\",\n \"privacy_policy_url\": \"privacy_policy_url\",\n \"public_support_link\": \"public_support_link\",\n \"current_release\": {\n \"id\": \"id\",\n \"trigger\": {\n \"id\": \"id\"\n },\n \"required_secrets\": [\n {}\n ],\n \"required_configuration\": [\n {}\n ]\n },\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n },\n \"status\": \"pending\",\n \"built_at\": \"2024-01-15T09:30:00Z\",\n \"deploy\": true\n}","headers":{"Content-Type":"application/json"}},"uuid":"0af03b66-13d2-4fbe-a736-0f9dae1a89da","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"9919a572-ff14-4914-88b8-acd7f6acc41d","name":"Get an action - default","request":{"urlPathTemplate":"/actions/actions/{id}","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"name\": \"name\",\n \"supported_triggers\": [\n {\n \"id\": \"id\",\n \"version\": \"version\",\n \"status\": \"status\",\n \"runtimes\": [\n \"runtimes\"\n ],\n \"default_runtime\": \"default_runtime\",\n \"compatible_triggers\": [\n {\n \"id\": \"id\",\n \"version\": \"version\"\n }\n ],\n \"binding_policy\": \"trigger-bound\"\n }\n ],\n \"all_changes_deployed\": true,\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"code\": \"code\",\n \"dependencies\": [\n {\n \"name\": \"name\",\n \"version\": \"version\",\n \"registry_url\": \"registry_url\"\n }\n ],\n \"runtime\": \"runtime\",\n \"secrets\": [\n {\n \"name\": \"name\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n }\n ],\n \"deployed_version\": {\n \"id\": \"id\",\n \"action_id\": \"action_id\",\n \"code\": \"code\",\n \"dependencies\": [\n {}\n ],\n \"deployed\": true,\n \"runtime\": \"runtime\",\n \"secrets\": [\n {}\n ],\n \"status\": \"pending\",\n \"number\": 1.1,\n \"errors\": [\n {}\n ],\n \"action\": {\n \"id\": \"id\",\n \"name\": \"name\",\n \"supported_triggers\": [\n {\n \"id\": \"id\"\n }\n ],\n \"all_changes_deployed\": true,\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n },\n \"built_at\": \"2024-01-15T09:30:00Z\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"supported_triggers\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"installed_integration_id\": \"installed_integration_id\",\n \"integration\": {\n \"id\": \"id\",\n \"catalog_id\": \"catalog_id\",\n \"url_slug\": \"url_slug\",\n \"partner_id\": \"partner_id\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"short_description\": \"short_description\",\n \"logo\": \"logo\",\n \"feature_type\": \"unspecified\",\n \"terms_of_use_url\": \"terms_of_use_url\",\n \"privacy_policy_url\": \"privacy_policy_url\",\n \"public_support_link\": \"public_support_link\",\n \"current_release\": {\n \"id\": \"id\",\n \"trigger\": {\n \"id\": \"id\"\n },\n \"required_secrets\": [\n {}\n ],\n \"required_configuration\": [\n {}\n ]\n },\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n },\n \"status\": \"pending\",\n \"built_at\": \"2024-01-15T09:30:00Z\",\n \"deploy\": true\n}","headers":{"Content-Type":"application/json"}},"uuid":"9919a572-ff14-4914-88b8-acd7f6acc41d","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"1bb73e26-2243-414b-80fc-fcf53169d4fe","name":"Delete an action - default","request":{"urlPathTemplate":"/actions/actions/{id}","method":"DELETE","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"1bb73e26-2243-414b-80fc-fcf53169d4fe","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"2679764d-6f00-495e-b8fb-210d140167ba","name":"Update an action - default","request":{"urlPathTemplate":"/actions/actions/{id}","method":"PATCH","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"name\": \"name\",\n \"supported_triggers\": [\n {\n \"id\": \"id\",\n \"version\": \"version\",\n \"status\": \"status\",\n \"runtimes\": [\n \"runtimes\"\n ],\n \"default_runtime\": \"default_runtime\",\n \"compatible_triggers\": [\n {\n \"id\": \"id\",\n \"version\": \"version\"\n }\n ],\n \"binding_policy\": \"trigger-bound\"\n }\n ],\n \"all_changes_deployed\": true,\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"code\": \"code\",\n \"dependencies\": [\n {\n \"name\": \"name\",\n \"version\": \"version\",\n \"registry_url\": \"registry_url\"\n }\n ],\n \"runtime\": \"runtime\",\n \"secrets\": [\n {\n \"name\": \"name\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n }\n ],\n \"deployed_version\": {\n \"id\": \"id\",\n \"action_id\": \"action_id\",\n \"code\": \"code\",\n \"dependencies\": [\n {}\n ],\n \"deployed\": true,\n \"runtime\": \"runtime\",\n \"secrets\": [\n {}\n ],\n \"status\": \"pending\",\n \"number\": 1.1,\n \"errors\": [\n {}\n ],\n \"action\": {\n \"id\": \"id\",\n \"name\": \"name\",\n \"supported_triggers\": [\n {\n \"id\": \"id\"\n }\n ],\n \"all_changes_deployed\": true,\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n },\n \"built_at\": \"2024-01-15T09:30:00Z\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"supported_triggers\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"installed_integration_id\": \"installed_integration_id\",\n \"integration\": {\n \"id\": \"id\",\n \"catalog_id\": \"catalog_id\",\n \"url_slug\": \"url_slug\",\n \"partner_id\": \"partner_id\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"short_description\": \"short_description\",\n \"logo\": \"logo\",\n \"feature_type\": \"unspecified\",\n \"terms_of_use_url\": \"terms_of_use_url\",\n \"privacy_policy_url\": \"privacy_policy_url\",\n \"public_support_link\": \"public_support_link\",\n \"current_release\": {\n \"id\": \"id\",\n \"trigger\": {\n \"id\": \"id\"\n },\n \"required_secrets\": [\n {}\n ],\n \"required_configuration\": [\n {}\n ]\n },\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n },\n \"status\": \"pending\",\n \"built_at\": \"2024-01-15T09:30:00Z\",\n \"deploy\": true\n}","headers":{"Content-Type":"application/json"}},"uuid":"2679764d-6f00-495e-b8fb-210d140167ba","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"0bde5116-17ac-4ea2-be52-e584711a6b70","name":"Deploy an action - default","request":{"urlPathTemplate":"/actions/actions/{id}/deploy","method":"POST","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":202,"body":"{\n \"id\": \"id\",\n \"action_id\": \"action_id\",\n \"code\": \"code\",\n \"dependencies\": [\n {\n \"name\": \"name\",\n \"version\": \"version\",\n \"registry_url\": \"registry_url\"\n }\n ],\n \"deployed\": true,\n \"runtime\": \"runtime\",\n \"secrets\": [\n {\n \"name\": \"name\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n }\n ],\n \"status\": \"pending\",\n \"number\": 1.1,\n \"errors\": [\n {\n \"id\": \"id\",\n \"msg\": \"msg\",\n \"url\": \"url\"\n }\n ],\n \"action\": {\n \"id\": \"id\",\n \"name\": \"name\",\n \"supported_triggers\": [\n {\n \"id\": \"id\"\n }\n ],\n \"all_changes_deployed\": true,\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n },\n \"built_at\": \"2024-01-15T09:30:00Z\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"supported_triggers\": [\n {\n \"id\": \"id\",\n \"version\": \"version\",\n \"status\": \"status\",\n \"runtimes\": [\n \"runtimes\"\n ],\n \"default_runtime\": \"default_runtime\",\n \"compatible_triggers\": [\n {\n \"id\": \"id\",\n \"version\": \"version\"\n }\n ],\n \"binding_policy\": \"trigger-bound\"\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"0bde5116-17ac-4ea2-be52-e584711a6b70","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"ebf627bb-6f85-4597-a454-0c654c35202c","name":"Test an Action - default","request":{"urlPathTemplate":"/actions/actions/{id}/test","method":"POST","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"payload\": {\n \"key\": \"value\"\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"ebf627bb-6f85-4597-a454-0c654c35202c","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"0f76d290-6b70-4f62-abc8-3760917fe787","name":"Get branding settings - default","request":{"urlPathTemplate":"/branding","method":"GET"},"response":{"status":200,"body":"{\n \"colors\": {\n \"primary\": \"primary\",\n \"page_background\": \"page_background\"\n },\n \"favicon_url\": \"favicon_url\",\n \"logo_url\": \"logo_url\",\n \"font\": {\n \"url\": \"url\"\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"0f76d290-6b70-4f62-abc8-3760917fe787","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"9ca9e729-0745-457c-828d-37f7c8ab1698","name":"Update branding settings - default","request":{"urlPathTemplate":"/branding","method":"PATCH"},"response":{"status":200,"body":"{\n \"colors\": {\n \"primary\": \"primary\",\n \"page_background\": \"page_background\"\n },\n \"favicon_url\": \"favicon_url\",\n \"logo_url\": \"logo_url\",\n \"font\": {\n \"url\": \"url\"\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"9ca9e729-0745-457c-828d-37f7c8ab1698","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"5dbe0859-fbb5-4eb1-a803-8132e840e762","name":"Get client grants - default","request":{"urlPathTemplate":"/client-grants","method":"GET"},"response":{"status":200,"body":"{\n \"next\": \"next\",\n \"client_grants\": [\n {\n \"id\": \"id\",\n \"client_id\": \"client_id\",\n \"audience\": \"audience\",\n \"scope\": [\n \"scope\"\n ],\n \"organization_usage\": \"deny\",\n \"allow_any_organization\": true,\n \"is_system\": true,\n \"subject_type\": \"client\",\n \"authorization_details_types\": [\n \"authorization_details_types\"\n ]\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"5dbe0859-fbb5-4eb1-a803-8132e840e762","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"006f7f26-5002-4b98-a65f-39f8aee8e968","name":"Create client grant - default","request":{"urlPathTemplate":"/client-grants","method":"POST"},"response":{"status":201,"body":"{\n \"id\": \"id\",\n \"client_id\": \"client_id\",\n \"audience\": \"audience\",\n \"scope\": [\n \"scope\"\n ],\n \"organization_usage\": \"deny\",\n \"allow_any_organization\": true,\n \"is_system\": true,\n \"subject_type\": \"client\",\n \"authorization_details_types\": [\n \"authorization_details_types\"\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"006f7f26-5002-4b98-a65f-39f8aee8e968","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"00010fe3-8553-4cd6-9b9a-68aad031054f","name":"Delete client grant - default","request":{"urlPathTemplate":"/client-grants/{id}","method":"DELETE","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"00010fe3-8553-4cd6-9b9a-68aad031054f","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"d4a5deb2-fef3-4f0d-84ab-d78760e07405","name":"Update client grant - default","request":{"urlPathTemplate":"/client-grants/{id}","method":"PATCH","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"client_id\": \"client_id\",\n \"audience\": \"audience\",\n \"scope\": [\n \"scope\"\n ],\n \"organization_usage\": \"deny\",\n \"allow_any_organization\": true,\n \"is_system\": true,\n \"subject_type\": \"client\",\n \"authorization_details_types\": [\n \"authorization_details_types\"\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"d4a5deb2-fef3-4f0d-84ab-d78760e07405","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"e9057410-f073-4b5b-83dc-dc4d5625ef27","name":"Get clients - default","request":{"urlPathTemplate":"/clients","method":"GET"},"response":{"status":200,"body":"{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"total\": 1.1,\n \"clients\": [\n {\n \"client_id\": \"client_id\",\n \"tenant\": \"tenant\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"global\": true,\n \"client_secret\": \"client_secret\",\n \"app_type\": \"native\",\n \"logo_uri\": \"logo_uri\",\n \"is_first_party\": true,\n \"oidc_conformant\": true,\n \"callbacks\": [\n \"callbacks\"\n ],\n \"allowed_origins\": [\n \"allowed_origins\"\n ],\n \"web_origins\": [\n \"web_origins\"\n ],\n \"client_aliases\": [\n \"client_aliases\"\n ],\n \"allowed_clients\": [\n \"allowed_clients\"\n ],\n \"allowed_logout_urls\": [\n \"allowed_logout_urls\"\n ],\n \"grant_types\": [\n \"grant_types\"\n ],\n \"signing_keys\": [\n {}\n ],\n \"sso\": true,\n \"sso_disabled\": true,\n \"cross_origin_authentication\": true,\n \"cross_origin_loc\": \"cross_origin_loc\",\n \"custom_login_page_on\": true,\n \"custom_login_page\": \"custom_login_page\",\n \"custom_login_page_preview\": \"custom_login_page_preview\",\n \"form_template\": \"form_template\",\n \"token_endpoint_auth_method\": \"none\",\n \"is_token_endpoint_ip_header_trusted\": true,\n \"client_metadata\": {\n \"key\": \"value\"\n },\n \"initiate_login_uri\": \"initiate_login_uri\",\n \"refresh_token\": {\n \"rotation_type\": \"rotating\",\n \"expiration_type\": \"expiring\"\n },\n \"default_organization\": {\n \"organization_id\": \"organization_id\",\n \"flows\": [\n \"client_credentials\"\n ]\n },\n \"organization_usage\": \"deny\",\n \"organization_require_behavior\": \"no_prompt\",\n \"organization_discovery_methods\": [\n \"email\"\n ],\n \"require_pushed_authorization_requests\": true,\n \"require_proof_of_possession\": true,\n \"compliance_level\": \"none\",\n \"skip_non_verifiable_callback_uri_confirmation_prompt\": true,\n \"par_request_expiry\": 1,\n \"token_quota\": {\n \"client_credentials\": {}\n },\n \"express_configuration\": {\n \"initiate_login_uri_template\": \"initiate_login_uri_template\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"connection_profile_id\": \"connection_profile_id\",\n \"enable_client\": true,\n \"enable_organization\": true,\n \"okta_oin_client_id\": \"okta_oin_client_id\",\n \"admin_login_domain\": \"admin_login_domain\"\n },\n \"resource_server_identifier\": \"resource_server_identifier\",\n \"async_approval_notification_channels\": [\n \"guardian-push\"\n ]\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"e9057410-f073-4b5b-83dc-dc4d5625ef27","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"f689c30d-6d4c-42b6-8ab3-1dd1ca9672d6","name":"Create a client - default","request":{"urlPathTemplate":"/clients","method":"POST"},"response":{"status":201,"body":"{\n \"client_id\": \"client_id\",\n \"tenant\": \"tenant\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"global\": true,\n \"client_secret\": \"client_secret\",\n \"app_type\": \"native\",\n \"logo_uri\": \"logo_uri\",\n \"is_first_party\": true,\n \"oidc_conformant\": true,\n \"callbacks\": [\n \"callbacks\"\n ],\n \"allowed_origins\": [\n \"allowed_origins\"\n ],\n \"web_origins\": [\n \"web_origins\"\n ],\n \"client_aliases\": [\n \"client_aliases\"\n ],\n \"allowed_clients\": [\n \"allowed_clients\"\n ],\n \"allowed_logout_urls\": [\n \"allowed_logout_urls\"\n ],\n \"session_transfer\": {\n \"can_create_session_transfer_token\": true,\n \"enforce_cascade_revocation\": true,\n \"allowed_authentication_methods\": [\n \"cookie\"\n ],\n \"enforce_device_binding\": \"ip\",\n \"allow_refresh_token\": true,\n \"enforce_online_refresh_tokens\": true\n },\n \"oidc_logout\": {\n \"backchannel_logout_urls\": [\n \"backchannel_logout_urls\"\n ],\n \"backchannel_logout_initiators\": {\n \"mode\": \"custom\",\n \"selected_initiators\": [\n \"rp-logout\"\n ]\n },\n \"backchannel_logout_session_metadata\": {\n \"include\": true\n }\n },\n \"grant_types\": [\n \"grant_types\"\n ],\n \"jwt_configuration\": {\n \"lifetime_in_seconds\": 1,\n \"secret_encoded\": true,\n \"scopes\": {\n \"key\": \"value\"\n },\n \"alg\": \"HS256\"\n },\n \"signing_keys\": [\n {\n \"pkcs7\": \"pkcs7\",\n \"cert\": \"cert\",\n \"subject\": \"subject\"\n }\n ],\n \"encryption_key\": {\n \"pub\": \"pub\",\n \"cert\": \"cert\",\n \"subject\": \"subject\"\n },\n \"sso\": true,\n \"sso_disabled\": true,\n \"cross_origin_authentication\": true,\n \"cross_origin_loc\": \"cross_origin_loc\",\n \"custom_login_page_on\": true,\n \"custom_login_page\": \"custom_login_page\",\n \"custom_login_page_preview\": \"custom_login_page_preview\",\n \"form_template\": \"form_template\",\n \"addons\": {\n \"aws\": {\n \"principal\": \"principal\",\n \"role\": \"role\",\n \"lifetime_in_seconds\": 1\n },\n \"azure_blob\": {\n \"accountName\": \"accountName\",\n \"storageAccessKey\": \"storageAccessKey\",\n \"containerName\": \"containerName\",\n \"blobName\": \"blobName\",\n \"expiration\": 1,\n \"signedIdentifier\": \"signedIdentifier\",\n \"blob_read\": true,\n \"blob_write\": true,\n \"blob_delete\": true,\n \"container_read\": true,\n \"container_write\": true,\n \"container_delete\": true,\n \"container_list\": true\n },\n \"azure_sb\": {\n \"namespace\": \"namespace\",\n \"sasKeyName\": \"sasKeyName\",\n \"sasKey\": \"sasKey\",\n \"entityPath\": \"entityPath\",\n \"expiration\": 1\n },\n \"rms\": {\n \"url\": \"url\"\n },\n \"mscrm\": {\n \"url\": \"url\"\n },\n \"slack\": {\n \"team\": \"team\"\n },\n \"sentry\": {\n \"org_slug\": \"org_slug\",\n \"base_url\": \"base_url\"\n },\n \"box\": {\n \"key\": \"value\"\n },\n \"cloudbees\": {\n \"key\": \"value\"\n },\n \"concur\": {\n \"key\": \"value\"\n },\n \"dropbox\": {\n \"key\": \"value\"\n },\n \"echosign\": {\n \"domain\": \"domain\"\n },\n \"egnyte\": {\n \"domain\": \"domain\"\n },\n \"firebase\": {\n \"secret\": \"secret\",\n \"private_key_id\": \"private_key_id\",\n \"private_key\": \"private_key\",\n \"client_email\": \"client_email\",\n \"lifetime_in_seconds\": 1\n },\n \"newrelic\": {\n \"account\": \"account\"\n },\n \"office365\": {\n \"domain\": \"domain\",\n \"connection\": \"connection\"\n },\n \"salesforce\": {\n \"entity_id\": \"entity_id\"\n },\n \"salesforce_api\": {\n \"clientid\": \"clientid\",\n \"principal\": \"principal\",\n \"communityName\": \"communityName\",\n \"community_url_section\": \"community_url_section\"\n },\n \"salesforce_sandbox_api\": {\n \"clientid\": \"clientid\",\n \"principal\": \"principal\",\n \"communityName\": \"communityName\",\n \"community_url_section\": \"community_url_section\"\n },\n \"samlp\": {\n \"mappings\": {\n \"key\": \"value\"\n },\n \"audience\": \"audience\",\n \"recipient\": \"recipient\",\n \"createUpnClaim\": true,\n \"mapUnknownClaimsAsIs\": true,\n \"passthroughClaimsWithNoMapping\": true,\n \"mapIdentities\": true,\n \"signatureAlgorithm\": \"signatureAlgorithm\",\n \"digestAlgorithm\": \"digestAlgorithm\",\n \"issuer\": \"issuer\",\n \"destination\": \"destination\",\n \"lifetimeInSeconds\": 1,\n \"signResponse\": true,\n \"nameIdentifierFormat\": \"nameIdentifierFormat\",\n \"nameIdentifierProbes\": [\n \"nameIdentifierProbes\"\n ],\n \"authnContextClassRef\": \"authnContextClassRef\"\n },\n \"layer\": {\n \"providerId\": \"providerId\",\n \"keyId\": \"keyId\",\n \"privateKey\": \"privateKey\",\n \"principal\": \"principal\",\n \"expiration\": 1\n },\n \"sap_api\": {\n \"clientid\": \"clientid\",\n \"usernameAttribute\": \"usernameAttribute\",\n \"tokenEndpointUrl\": \"tokenEndpointUrl\",\n \"scope\": \"scope\",\n \"servicePassword\": \"servicePassword\",\n \"nameIdentifierFormat\": \"nameIdentifierFormat\"\n },\n \"sharepoint\": {\n \"url\": \"url\",\n \"external_url\": [\n \"external_url\"\n ]\n },\n \"springcm\": {\n \"acsurl\": \"acsurl\"\n },\n \"wams\": {\n \"masterkey\": \"masterkey\"\n },\n \"wsfed\": {\n \"key\": \"value\"\n },\n \"zendesk\": {\n \"accountName\": \"accountName\"\n },\n \"zoom\": {\n \"account\": \"account\"\n },\n \"sso_integration\": {\n \"name\": \"name\",\n \"version\": \"version\"\n }\n },\n \"token_endpoint_auth_method\": \"none\",\n \"is_token_endpoint_ip_header_trusted\": true,\n \"client_metadata\": {\n \"key\": \"value\"\n },\n \"mobile\": {\n \"android\": {\n \"app_package_name\": \"app_package_name\",\n \"sha256_cert_fingerprints\": [\n \"sha256_cert_fingerprints\"\n ]\n },\n \"ios\": {\n \"team_id\": \"team_id\",\n \"app_bundle_identifier\": \"app_bundle_identifier\"\n }\n },\n \"initiate_login_uri\": \"initiate_login_uri\",\n \"refresh_token\": {\n \"rotation_type\": \"rotating\",\n \"expiration_type\": \"expiring\",\n \"leeway\": 1,\n \"token_lifetime\": 1,\n \"infinite_token_lifetime\": true,\n \"idle_token_lifetime\": 1,\n \"infinite_idle_token_lifetime\": true\n },\n \"default_organization\": {\n \"organization_id\": \"organization_id\",\n \"flows\": [\n \"client_credentials\"\n ]\n },\n \"organization_usage\": \"deny\",\n \"organization_require_behavior\": \"no_prompt\",\n \"organization_discovery_methods\": [\n \"email\"\n ],\n \"client_authentication_methods\": {\n \"private_key_jwt\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"tls_client_auth\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"self_signed_tls_client_auth\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n }\n },\n \"require_pushed_authorization_requests\": true,\n \"require_proof_of_possession\": true,\n \"signed_request_object\": {\n \"required\": true,\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"compliance_level\": \"none\",\n \"skip_non_verifiable_callback_uri_confirmation_prompt\": true,\n \"token_exchange\": {\n \"allow_any_profile_of_type\": [\n \"custom_authentication\"\n ]\n },\n \"par_request_expiry\": 1,\n \"token_quota\": {\n \"client_credentials\": {\n \"enforce\": true,\n \"per_day\": 1,\n \"per_hour\": 1\n }\n },\n \"express_configuration\": {\n \"initiate_login_uri_template\": \"initiate_login_uri_template\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"connection_profile_id\": \"connection_profile_id\",\n \"enable_client\": true,\n \"enable_organization\": true,\n \"linked_clients\": [\n {\n \"client_id\": \"client_id\"\n }\n ],\n \"okta_oin_client_id\": \"okta_oin_client_id\",\n \"admin_login_domain\": \"admin_login_domain\",\n \"oin_submission_id\": \"oin_submission_id\"\n },\n \"resource_server_identifier\": \"resource_server_identifier\",\n \"async_approval_notification_channels\": [\n \"guardian-push\"\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"f689c30d-6d4c-42b6-8ab3-1dd1ca9672d6","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"12071cdc-1adc-4b32-8601-2cd12aa19c0c","name":"Get client by ID - default","request":{"urlPathTemplate":"/clients/{id}","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"client_id\": \"client_id\",\n \"tenant\": \"tenant\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"global\": true,\n \"client_secret\": \"client_secret\",\n \"app_type\": \"native\",\n \"logo_uri\": \"logo_uri\",\n \"is_first_party\": true,\n \"oidc_conformant\": true,\n \"callbacks\": [\n \"callbacks\"\n ],\n \"allowed_origins\": [\n \"allowed_origins\"\n ],\n \"web_origins\": [\n \"web_origins\"\n ],\n \"client_aliases\": [\n \"client_aliases\"\n ],\n \"allowed_clients\": [\n \"allowed_clients\"\n ],\n \"allowed_logout_urls\": [\n \"allowed_logout_urls\"\n ],\n \"session_transfer\": {\n \"can_create_session_transfer_token\": true,\n \"enforce_cascade_revocation\": true,\n \"allowed_authentication_methods\": [\n \"cookie\"\n ],\n \"enforce_device_binding\": \"ip\",\n \"allow_refresh_token\": true,\n \"enforce_online_refresh_tokens\": true\n },\n \"oidc_logout\": {\n \"backchannel_logout_urls\": [\n \"backchannel_logout_urls\"\n ],\n \"backchannel_logout_initiators\": {\n \"mode\": \"custom\",\n \"selected_initiators\": [\n \"rp-logout\"\n ]\n },\n \"backchannel_logout_session_metadata\": {\n \"include\": true\n }\n },\n \"grant_types\": [\n \"grant_types\"\n ],\n \"jwt_configuration\": {\n \"lifetime_in_seconds\": 1,\n \"secret_encoded\": true,\n \"scopes\": {\n \"key\": \"value\"\n },\n \"alg\": \"HS256\"\n },\n \"signing_keys\": [\n {\n \"pkcs7\": \"pkcs7\",\n \"cert\": \"cert\",\n \"subject\": \"subject\"\n }\n ],\n \"encryption_key\": {\n \"pub\": \"pub\",\n \"cert\": \"cert\",\n \"subject\": \"subject\"\n },\n \"sso\": true,\n \"sso_disabled\": true,\n \"cross_origin_authentication\": true,\n \"cross_origin_loc\": \"cross_origin_loc\",\n \"custom_login_page_on\": true,\n \"custom_login_page\": \"custom_login_page\",\n \"custom_login_page_preview\": \"custom_login_page_preview\",\n \"form_template\": \"form_template\",\n \"addons\": {\n \"aws\": {\n \"principal\": \"principal\",\n \"role\": \"role\",\n \"lifetime_in_seconds\": 1\n },\n \"azure_blob\": {\n \"accountName\": \"accountName\",\n \"storageAccessKey\": \"storageAccessKey\",\n \"containerName\": \"containerName\",\n \"blobName\": \"blobName\",\n \"expiration\": 1,\n \"signedIdentifier\": \"signedIdentifier\",\n \"blob_read\": true,\n \"blob_write\": true,\n \"blob_delete\": true,\n \"container_read\": true,\n \"container_write\": true,\n \"container_delete\": true,\n \"container_list\": true\n },\n \"azure_sb\": {\n \"namespace\": \"namespace\",\n \"sasKeyName\": \"sasKeyName\",\n \"sasKey\": \"sasKey\",\n \"entityPath\": \"entityPath\",\n \"expiration\": 1\n },\n \"rms\": {\n \"url\": \"url\"\n },\n \"mscrm\": {\n \"url\": \"url\"\n },\n \"slack\": {\n \"team\": \"team\"\n },\n \"sentry\": {\n \"org_slug\": \"org_slug\",\n \"base_url\": \"base_url\"\n },\n \"box\": {\n \"key\": \"value\"\n },\n \"cloudbees\": {\n \"key\": \"value\"\n },\n \"concur\": {\n \"key\": \"value\"\n },\n \"dropbox\": {\n \"key\": \"value\"\n },\n \"echosign\": {\n \"domain\": \"domain\"\n },\n \"egnyte\": {\n \"domain\": \"domain\"\n },\n \"firebase\": {\n \"secret\": \"secret\",\n \"private_key_id\": \"private_key_id\",\n \"private_key\": \"private_key\",\n \"client_email\": \"client_email\",\n \"lifetime_in_seconds\": 1\n },\n \"newrelic\": {\n \"account\": \"account\"\n },\n \"office365\": {\n \"domain\": \"domain\",\n \"connection\": \"connection\"\n },\n \"salesforce\": {\n \"entity_id\": \"entity_id\"\n },\n \"salesforce_api\": {\n \"clientid\": \"clientid\",\n \"principal\": \"principal\",\n \"communityName\": \"communityName\",\n \"community_url_section\": \"community_url_section\"\n },\n \"salesforce_sandbox_api\": {\n \"clientid\": \"clientid\",\n \"principal\": \"principal\",\n \"communityName\": \"communityName\",\n \"community_url_section\": \"community_url_section\"\n },\n \"samlp\": {\n \"mappings\": {\n \"key\": \"value\"\n },\n \"audience\": \"audience\",\n \"recipient\": \"recipient\",\n \"createUpnClaim\": true,\n \"mapUnknownClaimsAsIs\": true,\n \"passthroughClaimsWithNoMapping\": true,\n \"mapIdentities\": true,\n \"signatureAlgorithm\": \"signatureAlgorithm\",\n \"digestAlgorithm\": \"digestAlgorithm\",\n \"issuer\": \"issuer\",\n \"destination\": \"destination\",\n \"lifetimeInSeconds\": 1,\n \"signResponse\": true,\n \"nameIdentifierFormat\": \"nameIdentifierFormat\",\n \"nameIdentifierProbes\": [\n \"nameIdentifierProbes\"\n ],\n \"authnContextClassRef\": \"authnContextClassRef\"\n },\n \"layer\": {\n \"providerId\": \"providerId\",\n \"keyId\": \"keyId\",\n \"privateKey\": \"privateKey\",\n \"principal\": \"principal\",\n \"expiration\": 1\n },\n \"sap_api\": {\n \"clientid\": \"clientid\",\n \"usernameAttribute\": \"usernameAttribute\",\n \"tokenEndpointUrl\": \"tokenEndpointUrl\",\n \"scope\": \"scope\",\n \"servicePassword\": \"servicePassword\",\n \"nameIdentifierFormat\": \"nameIdentifierFormat\"\n },\n \"sharepoint\": {\n \"url\": \"url\",\n \"external_url\": [\n \"external_url\"\n ]\n },\n \"springcm\": {\n \"acsurl\": \"acsurl\"\n },\n \"wams\": {\n \"masterkey\": \"masterkey\"\n },\n \"wsfed\": {\n \"key\": \"value\"\n },\n \"zendesk\": {\n \"accountName\": \"accountName\"\n },\n \"zoom\": {\n \"account\": \"account\"\n },\n \"sso_integration\": {\n \"name\": \"name\",\n \"version\": \"version\"\n }\n },\n \"token_endpoint_auth_method\": \"none\",\n \"is_token_endpoint_ip_header_trusted\": true,\n \"client_metadata\": {\n \"key\": \"value\"\n },\n \"mobile\": {\n \"android\": {\n \"app_package_name\": \"app_package_name\",\n \"sha256_cert_fingerprints\": [\n \"sha256_cert_fingerprints\"\n ]\n },\n \"ios\": {\n \"team_id\": \"team_id\",\n \"app_bundle_identifier\": \"app_bundle_identifier\"\n }\n },\n \"initiate_login_uri\": \"initiate_login_uri\",\n \"refresh_token\": {\n \"rotation_type\": \"rotating\",\n \"expiration_type\": \"expiring\",\n \"leeway\": 1,\n \"token_lifetime\": 1,\n \"infinite_token_lifetime\": true,\n \"idle_token_lifetime\": 1,\n \"infinite_idle_token_lifetime\": true\n },\n \"default_organization\": {\n \"organization_id\": \"organization_id\",\n \"flows\": [\n \"client_credentials\"\n ]\n },\n \"organization_usage\": \"deny\",\n \"organization_require_behavior\": \"no_prompt\",\n \"organization_discovery_methods\": [\n \"email\"\n ],\n \"client_authentication_methods\": {\n \"private_key_jwt\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"tls_client_auth\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"self_signed_tls_client_auth\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n }\n },\n \"require_pushed_authorization_requests\": true,\n \"require_proof_of_possession\": true,\n \"signed_request_object\": {\n \"required\": true,\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"compliance_level\": \"none\",\n \"skip_non_verifiable_callback_uri_confirmation_prompt\": true,\n \"token_exchange\": {\n \"allow_any_profile_of_type\": [\n \"custom_authentication\"\n ]\n },\n \"par_request_expiry\": 1,\n \"token_quota\": {\n \"client_credentials\": {\n \"enforce\": true,\n \"per_day\": 1,\n \"per_hour\": 1\n }\n },\n \"express_configuration\": {\n \"initiate_login_uri_template\": \"initiate_login_uri_template\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"connection_profile_id\": \"connection_profile_id\",\n \"enable_client\": true,\n \"enable_organization\": true,\n \"linked_clients\": [\n {\n \"client_id\": \"client_id\"\n }\n ],\n \"okta_oin_client_id\": \"okta_oin_client_id\",\n \"admin_login_domain\": \"admin_login_domain\",\n \"oin_submission_id\": \"oin_submission_id\"\n },\n \"resource_server_identifier\": \"resource_server_identifier\",\n \"async_approval_notification_channels\": [\n \"guardian-push\"\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"12071cdc-1adc-4b32-8601-2cd12aa19c0c","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"814f5054-4723-45e8-8d89-5a7da08db0d8","name":"Delete a client - default","request":{"urlPathTemplate":"/clients/{id}","method":"DELETE","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"814f5054-4723-45e8-8d89-5a7da08db0d8","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"b4e5dc6c-c84f-4128-b87a-50876b601f77","name":"Update a client - default","request":{"urlPathTemplate":"/clients/{id}","method":"PATCH","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"client_id\": \"client_id\",\n \"tenant\": \"tenant\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"global\": true,\n \"client_secret\": \"client_secret\",\n \"app_type\": \"native\",\n \"logo_uri\": \"logo_uri\",\n \"is_first_party\": true,\n \"oidc_conformant\": true,\n \"callbacks\": [\n \"callbacks\"\n ],\n \"allowed_origins\": [\n \"allowed_origins\"\n ],\n \"web_origins\": [\n \"web_origins\"\n ],\n \"client_aliases\": [\n \"client_aliases\"\n ],\n \"allowed_clients\": [\n \"allowed_clients\"\n ],\n \"allowed_logout_urls\": [\n \"allowed_logout_urls\"\n ],\n \"session_transfer\": {\n \"can_create_session_transfer_token\": true,\n \"enforce_cascade_revocation\": true,\n \"allowed_authentication_methods\": [\n \"cookie\"\n ],\n \"enforce_device_binding\": \"ip\",\n \"allow_refresh_token\": true,\n \"enforce_online_refresh_tokens\": true\n },\n \"oidc_logout\": {\n \"backchannel_logout_urls\": [\n \"backchannel_logout_urls\"\n ],\n \"backchannel_logout_initiators\": {\n \"mode\": \"custom\",\n \"selected_initiators\": [\n \"rp-logout\"\n ]\n },\n \"backchannel_logout_session_metadata\": {\n \"include\": true\n }\n },\n \"grant_types\": [\n \"grant_types\"\n ],\n \"jwt_configuration\": {\n \"lifetime_in_seconds\": 1,\n \"secret_encoded\": true,\n \"scopes\": {\n \"key\": \"value\"\n },\n \"alg\": \"HS256\"\n },\n \"signing_keys\": [\n {\n \"pkcs7\": \"pkcs7\",\n \"cert\": \"cert\",\n \"subject\": \"subject\"\n }\n ],\n \"encryption_key\": {\n \"pub\": \"pub\",\n \"cert\": \"cert\",\n \"subject\": \"subject\"\n },\n \"sso\": true,\n \"sso_disabled\": true,\n \"cross_origin_authentication\": true,\n \"cross_origin_loc\": \"cross_origin_loc\",\n \"custom_login_page_on\": true,\n \"custom_login_page\": \"custom_login_page\",\n \"custom_login_page_preview\": \"custom_login_page_preview\",\n \"form_template\": \"form_template\",\n \"addons\": {\n \"aws\": {\n \"principal\": \"principal\",\n \"role\": \"role\",\n \"lifetime_in_seconds\": 1\n },\n \"azure_blob\": {\n \"accountName\": \"accountName\",\n \"storageAccessKey\": \"storageAccessKey\",\n \"containerName\": \"containerName\",\n \"blobName\": \"blobName\",\n \"expiration\": 1,\n \"signedIdentifier\": \"signedIdentifier\",\n \"blob_read\": true,\n \"blob_write\": true,\n \"blob_delete\": true,\n \"container_read\": true,\n \"container_write\": true,\n \"container_delete\": true,\n \"container_list\": true\n },\n \"azure_sb\": {\n \"namespace\": \"namespace\",\n \"sasKeyName\": \"sasKeyName\",\n \"sasKey\": \"sasKey\",\n \"entityPath\": \"entityPath\",\n \"expiration\": 1\n },\n \"rms\": {\n \"url\": \"url\"\n },\n \"mscrm\": {\n \"url\": \"url\"\n },\n \"slack\": {\n \"team\": \"team\"\n },\n \"sentry\": {\n \"org_slug\": \"org_slug\",\n \"base_url\": \"base_url\"\n },\n \"box\": {\n \"key\": \"value\"\n },\n \"cloudbees\": {\n \"key\": \"value\"\n },\n \"concur\": {\n \"key\": \"value\"\n },\n \"dropbox\": {\n \"key\": \"value\"\n },\n \"echosign\": {\n \"domain\": \"domain\"\n },\n \"egnyte\": {\n \"domain\": \"domain\"\n },\n \"firebase\": {\n \"secret\": \"secret\",\n \"private_key_id\": \"private_key_id\",\n \"private_key\": \"private_key\",\n \"client_email\": \"client_email\",\n \"lifetime_in_seconds\": 1\n },\n \"newrelic\": {\n \"account\": \"account\"\n },\n \"office365\": {\n \"domain\": \"domain\",\n \"connection\": \"connection\"\n },\n \"salesforce\": {\n \"entity_id\": \"entity_id\"\n },\n \"salesforce_api\": {\n \"clientid\": \"clientid\",\n \"principal\": \"principal\",\n \"communityName\": \"communityName\",\n \"community_url_section\": \"community_url_section\"\n },\n \"salesforce_sandbox_api\": {\n \"clientid\": \"clientid\",\n \"principal\": \"principal\",\n \"communityName\": \"communityName\",\n \"community_url_section\": \"community_url_section\"\n },\n \"samlp\": {\n \"mappings\": {\n \"key\": \"value\"\n },\n \"audience\": \"audience\",\n \"recipient\": \"recipient\",\n \"createUpnClaim\": true,\n \"mapUnknownClaimsAsIs\": true,\n \"passthroughClaimsWithNoMapping\": true,\n \"mapIdentities\": true,\n \"signatureAlgorithm\": \"signatureAlgorithm\",\n \"digestAlgorithm\": \"digestAlgorithm\",\n \"issuer\": \"issuer\",\n \"destination\": \"destination\",\n \"lifetimeInSeconds\": 1,\n \"signResponse\": true,\n \"nameIdentifierFormat\": \"nameIdentifierFormat\",\n \"nameIdentifierProbes\": [\n \"nameIdentifierProbes\"\n ],\n \"authnContextClassRef\": \"authnContextClassRef\"\n },\n \"layer\": {\n \"providerId\": \"providerId\",\n \"keyId\": \"keyId\",\n \"privateKey\": \"privateKey\",\n \"principal\": \"principal\",\n \"expiration\": 1\n },\n \"sap_api\": {\n \"clientid\": \"clientid\",\n \"usernameAttribute\": \"usernameAttribute\",\n \"tokenEndpointUrl\": \"tokenEndpointUrl\",\n \"scope\": \"scope\",\n \"servicePassword\": \"servicePassword\",\n \"nameIdentifierFormat\": \"nameIdentifierFormat\"\n },\n \"sharepoint\": {\n \"url\": \"url\",\n \"external_url\": [\n \"external_url\"\n ]\n },\n \"springcm\": {\n \"acsurl\": \"acsurl\"\n },\n \"wams\": {\n \"masterkey\": \"masterkey\"\n },\n \"wsfed\": {\n \"key\": \"value\"\n },\n \"zendesk\": {\n \"accountName\": \"accountName\"\n },\n \"zoom\": {\n \"account\": \"account\"\n },\n \"sso_integration\": {\n \"name\": \"name\",\n \"version\": \"version\"\n }\n },\n \"token_endpoint_auth_method\": \"none\",\n \"is_token_endpoint_ip_header_trusted\": true,\n \"client_metadata\": {\n \"key\": \"value\"\n },\n \"mobile\": {\n \"android\": {\n \"app_package_name\": \"app_package_name\",\n \"sha256_cert_fingerprints\": [\n \"sha256_cert_fingerprints\"\n ]\n },\n \"ios\": {\n \"team_id\": \"team_id\",\n \"app_bundle_identifier\": \"app_bundle_identifier\"\n }\n },\n \"initiate_login_uri\": \"initiate_login_uri\",\n \"refresh_token\": {\n \"rotation_type\": \"rotating\",\n \"expiration_type\": \"expiring\",\n \"leeway\": 1,\n \"token_lifetime\": 1,\n \"infinite_token_lifetime\": true,\n \"idle_token_lifetime\": 1,\n \"infinite_idle_token_lifetime\": true\n },\n \"default_organization\": {\n \"organization_id\": \"organization_id\",\n \"flows\": [\n \"client_credentials\"\n ]\n },\n \"organization_usage\": \"deny\",\n \"organization_require_behavior\": \"no_prompt\",\n \"organization_discovery_methods\": [\n \"email\"\n ],\n \"client_authentication_methods\": {\n \"private_key_jwt\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"tls_client_auth\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"self_signed_tls_client_auth\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n }\n },\n \"require_pushed_authorization_requests\": true,\n \"require_proof_of_possession\": true,\n \"signed_request_object\": {\n \"required\": true,\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"compliance_level\": \"none\",\n \"skip_non_verifiable_callback_uri_confirmation_prompt\": true,\n \"token_exchange\": {\n \"allow_any_profile_of_type\": [\n \"custom_authentication\"\n ]\n },\n \"par_request_expiry\": 1,\n \"token_quota\": {\n \"client_credentials\": {\n \"enforce\": true,\n \"per_day\": 1,\n \"per_hour\": 1\n }\n },\n \"express_configuration\": {\n \"initiate_login_uri_template\": \"initiate_login_uri_template\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"connection_profile_id\": \"connection_profile_id\",\n \"enable_client\": true,\n \"enable_organization\": true,\n \"linked_clients\": [\n {\n \"client_id\": \"client_id\"\n }\n ],\n \"okta_oin_client_id\": \"okta_oin_client_id\",\n \"admin_login_domain\": \"admin_login_domain\",\n \"oin_submission_id\": \"oin_submission_id\"\n },\n \"resource_server_identifier\": \"resource_server_identifier\",\n \"async_approval_notification_channels\": [\n \"guardian-push\"\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"b4e5dc6c-c84f-4128-b87a-50876b601f77","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"3dbf1f11-9054-4a8d-b670-96640f3ba9a5","name":"Rotate a client secret - default","request":{"urlPathTemplate":"/clients/{id}/rotate-secret","method":"POST","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"client_id\": \"client_id\",\n \"tenant\": \"tenant\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"global\": true,\n \"client_secret\": \"client_secret\",\n \"app_type\": \"native\",\n \"logo_uri\": \"logo_uri\",\n \"is_first_party\": true,\n \"oidc_conformant\": true,\n \"callbacks\": [\n \"callbacks\"\n ],\n \"allowed_origins\": [\n \"allowed_origins\"\n ],\n \"web_origins\": [\n \"web_origins\"\n ],\n \"client_aliases\": [\n \"client_aliases\"\n ],\n \"allowed_clients\": [\n \"allowed_clients\"\n ],\n \"allowed_logout_urls\": [\n \"allowed_logout_urls\"\n ],\n \"session_transfer\": {\n \"can_create_session_transfer_token\": true,\n \"enforce_cascade_revocation\": true,\n \"allowed_authentication_methods\": [\n \"cookie\"\n ],\n \"enforce_device_binding\": \"ip\",\n \"allow_refresh_token\": true,\n \"enforce_online_refresh_tokens\": true\n },\n \"oidc_logout\": {\n \"backchannel_logout_urls\": [\n \"backchannel_logout_urls\"\n ],\n \"backchannel_logout_initiators\": {\n \"mode\": \"custom\",\n \"selected_initiators\": [\n \"rp-logout\"\n ]\n },\n \"backchannel_logout_session_metadata\": {\n \"include\": true\n }\n },\n \"grant_types\": [\n \"grant_types\"\n ],\n \"jwt_configuration\": {\n \"lifetime_in_seconds\": 1,\n \"secret_encoded\": true,\n \"scopes\": {\n \"key\": \"value\"\n },\n \"alg\": \"HS256\"\n },\n \"signing_keys\": [\n {\n \"pkcs7\": \"pkcs7\",\n \"cert\": \"cert\",\n \"subject\": \"subject\"\n }\n ],\n \"encryption_key\": {\n \"pub\": \"pub\",\n \"cert\": \"cert\",\n \"subject\": \"subject\"\n },\n \"sso\": true,\n \"sso_disabled\": true,\n \"cross_origin_authentication\": true,\n \"cross_origin_loc\": \"cross_origin_loc\",\n \"custom_login_page_on\": true,\n \"custom_login_page\": \"custom_login_page\",\n \"custom_login_page_preview\": \"custom_login_page_preview\",\n \"form_template\": \"form_template\",\n \"addons\": {\n \"aws\": {\n \"principal\": \"principal\",\n \"role\": \"role\",\n \"lifetime_in_seconds\": 1\n },\n \"azure_blob\": {\n \"accountName\": \"accountName\",\n \"storageAccessKey\": \"storageAccessKey\",\n \"containerName\": \"containerName\",\n \"blobName\": \"blobName\",\n \"expiration\": 1,\n \"signedIdentifier\": \"signedIdentifier\",\n \"blob_read\": true,\n \"blob_write\": true,\n \"blob_delete\": true,\n \"container_read\": true,\n \"container_write\": true,\n \"container_delete\": true,\n \"container_list\": true\n },\n \"azure_sb\": {\n \"namespace\": \"namespace\",\n \"sasKeyName\": \"sasKeyName\",\n \"sasKey\": \"sasKey\",\n \"entityPath\": \"entityPath\",\n \"expiration\": 1\n },\n \"rms\": {\n \"url\": \"url\"\n },\n \"mscrm\": {\n \"url\": \"url\"\n },\n \"slack\": {\n \"team\": \"team\"\n },\n \"sentry\": {\n \"org_slug\": \"org_slug\",\n \"base_url\": \"base_url\"\n },\n \"box\": {\n \"key\": \"value\"\n },\n \"cloudbees\": {\n \"key\": \"value\"\n },\n \"concur\": {\n \"key\": \"value\"\n },\n \"dropbox\": {\n \"key\": \"value\"\n },\n \"echosign\": {\n \"domain\": \"domain\"\n },\n \"egnyte\": {\n \"domain\": \"domain\"\n },\n \"firebase\": {\n \"secret\": \"secret\",\n \"private_key_id\": \"private_key_id\",\n \"private_key\": \"private_key\",\n \"client_email\": \"client_email\",\n \"lifetime_in_seconds\": 1\n },\n \"newrelic\": {\n \"account\": \"account\"\n },\n \"office365\": {\n \"domain\": \"domain\",\n \"connection\": \"connection\"\n },\n \"salesforce\": {\n \"entity_id\": \"entity_id\"\n },\n \"salesforce_api\": {\n \"clientid\": \"clientid\",\n \"principal\": \"principal\",\n \"communityName\": \"communityName\",\n \"community_url_section\": \"community_url_section\"\n },\n \"salesforce_sandbox_api\": {\n \"clientid\": \"clientid\",\n \"principal\": \"principal\",\n \"communityName\": \"communityName\",\n \"community_url_section\": \"community_url_section\"\n },\n \"samlp\": {\n \"mappings\": {\n \"key\": \"value\"\n },\n \"audience\": \"audience\",\n \"recipient\": \"recipient\",\n \"createUpnClaim\": true,\n \"mapUnknownClaimsAsIs\": true,\n \"passthroughClaimsWithNoMapping\": true,\n \"mapIdentities\": true,\n \"signatureAlgorithm\": \"signatureAlgorithm\",\n \"digestAlgorithm\": \"digestAlgorithm\",\n \"issuer\": \"issuer\",\n \"destination\": \"destination\",\n \"lifetimeInSeconds\": 1,\n \"signResponse\": true,\n \"nameIdentifierFormat\": \"nameIdentifierFormat\",\n \"nameIdentifierProbes\": [\n \"nameIdentifierProbes\"\n ],\n \"authnContextClassRef\": \"authnContextClassRef\"\n },\n \"layer\": {\n \"providerId\": \"providerId\",\n \"keyId\": \"keyId\",\n \"privateKey\": \"privateKey\",\n \"principal\": \"principal\",\n \"expiration\": 1\n },\n \"sap_api\": {\n \"clientid\": \"clientid\",\n \"usernameAttribute\": \"usernameAttribute\",\n \"tokenEndpointUrl\": \"tokenEndpointUrl\",\n \"scope\": \"scope\",\n \"servicePassword\": \"servicePassword\",\n \"nameIdentifierFormat\": \"nameIdentifierFormat\"\n },\n \"sharepoint\": {\n \"url\": \"url\",\n \"external_url\": [\n \"external_url\"\n ]\n },\n \"springcm\": {\n \"acsurl\": \"acsurl\"\n },\n \"wams\": {\n \"masterkey\": \"masterkey\"\n },\n \"wsfed\": {\n \"key\": \"value\"\n },\n \"zendesk\": {\n \"accountName\": \"accountName\"\n },\n \"zoom\": {\n \"account\": \"account\"\n },\n \"sso_integration\": {\n \"name\": \"name\",\n \"version\": \"version\"\n }\n },\n \"token_endpoint_auth_method\": \"none\",\n \"is_token_endpoint_ip_header_trusted\": true,\n \"client_metadata\": {\n \"key\": \"value\"\n },\n \"mobile\": {\n \"android\": {\n \"app_package_name\": \"app_package_name\",\n \"sha256_cert_fingerprints\": [\n \"sha256_cert_fingerprints\"\n ]\n },\n \"ios\": {\n \"team_id\": \"team_id\",\n \"app_bundle_identifier\": \"app_bundle_identifier\"\n }\n },\n \"initiate_login_uri\": \"initiate_login_uri\",\n \"refresh_token\": {\n \"rotation_type\": \"rotating\",\n \"expiration_type\": \"expiring\",\n \"leeway\": 1,\n \"token_lifetime\": 1,\n \"infinite_token_lifetime\": true,\n \"idle_token_lifetime\": 1,\n \"infinite_idle_token_lifetime\": true\n },\n \"default_organization\": {\n \"organization_id\": \"organization_id\",\n \"flows\": [\n \"client_credentials\"\n ]\n },\n \"organization_usage\": \"deny\",\n \"organization_require_behavior\": \"no_prompt\",\n \"organization_discovery_methods\": [\n \"email\"\n ],\n \"client_authentication_methods\": {\n \"private_key_jwt\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"tls_client_auth\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"self_signed_tls_client_auth\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n }\n },\n \"require_pushed_authorization_requests\": true,\n \"require_proof_of_possession\": true,\n \"signed_request_object\": {\n \"required\": true,\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"compliance_level\": \"none\",\n \"skip_non_verifiable_callback_uri_confirmation_prompt\": true,\n \"token_exchange\": {\n \"allow_any_profile_of_type\": [\n \"custom_authentication\"\n ]\n },\n \"par_request_expiry\": 1,\n \"token_quota\": {\n \"client_credentials\": {\n \"enforce\": true,\n \"per_day\": 1,\n \"per_hour\": 1\n }\n },\n \"express_configuration\": {\n \"initiate_login_uri_template\": \"initiate_login_uri_template\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"connection_profile_id\": \"connection_profile_id\",\n \"enable_client\": true,\n \"enable_organization\": true,\n \"linked_clients\": [\n {\n \"client_id\": \"client_id\"\n }\n ],\n \"okta_oin_client_id\": \"okta_oin_client_id\",\n \"admin_login_domain\": \"admin_login_domain\",\n \"oin_submission_id\": \"oin_submission_id\"\n },\n \"resource_server_identifier\": \"resource_server_identifier\",\n \"async_approval_notification_channels\": [\n \"guardian-push\"\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"3dbf1f11-9054-4a8d-b670-96640f3ba9a5","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"af1dc5c5-16af-447c-8374-e80a178ce120","name":"Get Connection Profiles - default","request":{"urlPathTemplate":"/connection-profiles","method":"GET"},"response":{"status":200,"body":"{\n \"next\": \"next\",\n \"connection_profiles\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"connection_name_prefix_template\": \"connection_name_prefix_template\",\n \"enabled_features\": [\n \"scim\"\n ]\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"af1dc5c5-16af-447c-8374-e80a178ce120","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"759e4e87-7cf1-4e78-9d5e-ae5cdd0f4947","name":"Create a connection profile - default","request":{"urlPathTemplate":"/connection-profiles","method":"POST"},"response":{"status":201,"body":"{\n \"id\": \"id\",\n \"name\": \"name\",\n \"organization\": {\n \"show_as_button\": \"none\",\n \"assign_membership_on_login\": \"none\"\n },\n \"connection_name_prefix_template\": \"connection_name_prefix_template\",\n \"enabled_features\": [\n \"scim\"\n ],\n \"strategy_overrides\": {\n \"pingfederate\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"ad\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"adfs\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"waad\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"google-apps\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"okta\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"oidc\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"samlp\": {\n \"enabled_features\": [\n \"scim\"\n ]\n }\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"759e4e87-7cf1-4e78-9d5e-ae5cdd0f4947","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"0d6f52e7-dd90-4579-a469-761793294ec5","name":"Get Connection Profile Templates - default","request":{"urlPathTemplate":"/connection-profiles/templates","method":"GET"},"response":{"status":200,"body":"{\n \"connection_profile_templates\": [\n {\n \"id\": \"id\",\n \"display_name\": \"display_name\"\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"0d6f52e7-dd90-4579-a469-761793294ec5","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"4e7a3895-5c6c-41cc-b32f-4303e2a973d9","name":"Get Connection Profile Template - default","request":{"urlPathTemplate":"/connection-profiles/templates/{id}","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"display_name\": \"display_name\",\n \"template\": {\n \"name\": \"name\",\n \"organization\": {\n \"show_as_button\": \"none\",\n \"assign_membership_on_login\": \"none\"\n },\n \"connection_name_prefix_template\": \"connection_name_prefix_template\",\n \"enabled_features\": [\n \"scim\"\n ]\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"4e7a3895-5c6c-41cc-b32f-4303e2a973d9","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"d5fff7c1-6be8-487e-a8b2-45fa4f4713d9","name":"Get Connection Profile - default","request":{"urlPathTemplate":"/connection-profiles/{id}","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"name\": \"name\",\n \"organization\": {\n \"show_as_button\": \"none\",\n \"assign_membership_on_login\": \"none\"\n },\n \"connection_name_prefix_template\": \"connection_name_prefix_template\",\n \"enabled_features\": [\n \"scim\"\n ],\n \"strategy_overrides\": {\n \"pingfederate\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"ad\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"adfs\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"waad\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"google-apps\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"okta\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"oidc\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"samlp\": {\n \"enabled_features\": [\n \"scim\"\n ]\n }\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"d5fff7c1-6be8-487e-a8b2-45fa4f4713d9","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"fcfdce88-b3c9-4a57-8c4b-672e88f0363c","name":"Delete Connection Profile - default","request":{"urlPathTemplate":"/connection-profiles/{id}","method":"DELETE","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"fcfdce88-b3c9-4a57-8c4b-672e88f0363c","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"77f167dc-e4c6-478a-b74f-0e1385df797c","name":"Modify a Connection Profile - default","request":{"urlPathTemplate":"/connection-profiles/{id}","method":"PATCH","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"name\": \"name\",\n \"organization\": {\n \"show_as_button\": \"none\",\n \"assign_membership_on_login\": \"none\"\n },\n \"connection_name_prefix_template\": \"connection_name_prefix_template\",\n \"enabled_features\": [\n \"scim\"\n ],\n \"strategy_overrides\": {\n \"pingfederate\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"ad\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"adfs\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"waad\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"google-apps\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"okta\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"oidc\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"samlp\": {\n \"enabled_features\": [\n \"scim\"\n ]\n }\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"77f167dc-e4c6-478a-b74f-0e1385df797c","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"baf70a92-2b1e-4355-a67e-a94f22a92ab5","name":"Get all connections - default","request":{"urlPathTemplate":"/connections","method":"GET"},"response":{"status":200,"body":"{\n \"next\": \"next\",\n \"connections\": [\n {\n \"name\": \"name\",\n \"display_name\": \"display_name\",\n \"options\": {\n \"key\": \"value\"\n },\n \"id\": \"id\",\n \"strategy\": \"strategy\",\n \"realms\": [\n \"realms\"\n ],\n \"is_domain_connection\": true,\n \"show_as_button\": true,\n \"authentication\": {\n \"active\": true\n },\n \"connected_accounts\": {\n \"active\": true\n }\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"baf70a92-2b1e-4355-a67e-a94f22a92ab5","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"bfae8759-4528-462e-9a50-239cbd75f902","name":"Create a connection - default","request":{"urlPathTemplate":"/connections","method":"POST"},"response":{"status":201,"body":"{\n \"name\": \"name\",\n \"display_name\": \"display_name\",\n \"options\": {\n \"key\": \"value\"\n },\n \"id\": \"id\",\n \"strategy\": \"strategy\",\n \"realms\": [\n \"realms\"\n ],\n \"enabled_clients\": [\n \"enabled_clients\"\n ],\n \"is_domain_connection\": true,\n \"show_as_button\": true,\n \"metadata\": {\n \"key\": \"value\"\n },\n \"authentication\": {\n \"active\": true\n },\n \"connected_accounts\": {\n \"active\": true,\n \"cross_app_access\": true\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"bfae8759-4528-462e-9a50-239cbd75f902","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"eb9c1976-0ef9-4666-adde-d2059ed3c1a2","name":"Get a connection - default","request":{"urlPathTemplate":"/connections/{id}","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"name\": \"name\",\n \"display_name\": \"display_name\",\n \"options\": {\n \"key\": \"value\"\n },\n \"id\": \"id\",\n \"strategy\": \"strategy\",\n \"realms\": [\n \"realms\"\n ],\n \"enabled_clients\": [\n \"enabled_clients\"\n ],\n \"is_domain_connection\": true,\n \"show_as_button\": true,\n \"metadata\": {\n \"key\": \"value\"\n },\n \"authentication\": {\n \"active\": true\n },\n \"connected_accounts\": {\n \"active\": true,\n \"cross_app_access\": true\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"eb9c1976-0ef9-4666-adde-d2059ed3c1a2","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"e55d516f-7f79-4796-8adf-e0032183c04c","name":"Delete a connection - default","request":{"urlPathTemplate":"/connections/{id}","method":"DELETE","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"e55d516f-7f79-4796-8adf-e0032183c04c","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"aa701672-a67f-47fc-9cfd-3d68353d9846","name":"Update a connection - default","request":{"urlPathTemplate":"/connections/{id}","method":"PATCH","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"name\": \"name\",\n \"display_name\": \"display_name\",\n \"options\": {\n \"key\": \"value\"\n },\n \"id\": \"id\",\n \"strategy\": \"strategy\",\n \"realms\": [\n \"realms\"\n ],\n \"enabled_clients\": [\n \"enabled_clients\"\n ],\n \"is_domain_connection\": true,\n \"show_as_button\": true,\n \"metadata\": {\n \"key\": \"value\"\n },\n \"authentication\": {\n \"active\": true\n },\n \"connected_accounts\": {\n \"active\": true,\n \"cross_app_access\": true\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"aa701672-a67f-47fc-9cfd-3d68353d9846","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"6e5db857-6ab6-4406-a83f-fb4332f72b48","name":"Check connection status - default","request":{"urlPathTemplate":"/connections/{id}/status","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"6e5db857-6ab6-4406-a83f-fb4332f72b48","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"c65f529d-2be4-4dc7-81c0-6d696834184e","name":"Get custom domains configurations - default","request":{"urlPathTemplate":"/custom-domains","method":"GET"},"response":{"status":200,"body":"[\n {\n \"custom_domain_id\": \"custom_domain_id\",\n \"domain\": \"domain\",\n \"primary\": true,\n \"status\": \"pending_verification\",\n \"type\": \"auth0_managed_certs\",\n \"origin_domain_name\": \"origin_domain_name\",\n \"verification\": {\n \"methods\": [\n {\n \"name\": \"cname\",\n \"record\": \"record\"\n }\n ],\n \"status\": \"verified\",\n \"error_msg\": \"error_msg\",\n \"last_verified_at\": \"last_verified_at\"\n },\n \"custom_client_ip_header\": \"custom_client_ip_header\",\n \"tls_policy\": \"tls_policy\",\n \"domain_metadata\": {\n \"key\": \"value\"\n },\n \"certificate\": {\n \"status\": \"provisioning\",\n \"error_msg\": \"error_msg\",\n \"certificate_authority\": \"letsencrypt\",\n \"renews_before\": \"renews_before\"\n }\n }\n]","headers":{"Content-Type":"application/json"}},"uuid":"c65f529d-2be4-4dc7-81c0-6d696834184e","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"d2917b20-da7e-4962-a75f-362f99682cf9","name":"Configure a new custom domain - default","request":{"urlPathTemplate":"/custom-domains","method":"POST"},"response":{"status":201,"body":"{\n \"custom_domain_id\": \"custom_domain_id\",\n \"domain\": \"domain\",\n \"primary\": true,\n \"status\": \"pending_verification\",\n \"type\": \"auth0_managed_certs\",\n \"verification\": {\n \"methods\": [\n {\n \"name\": \"cname\",\n \"record\": \"record\"\n }\n ],\n \"status\": \"verified\",\n \"error_msg\": \"error_msg\",\n \"last_verified_at\": \"last_verified_at\"\n },\n \"custom_client_ip_header\": \"custom_client_ip_header\",\n \"tls_policy\": \"tls_policy\",\n \"domain_metadata\": {\n \"key\": \"value\"\n },\n \"certificate\": {\n \"status\": \"provisioning\",\n \"error_msg\": \"error_msg\",\n \"certificate_authority\": \"letsencrypt\",\n \"renews_before\": \"renews_before\"\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"d2917b20-da7e-4962-a75f-362f99682cf9","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"d56d6773-eda9-4b8a-9193-025d27feecb9","name":"Get custom domain configuration - default","request":{"urlPathTemplate":"/custom-domains/{id}","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"custom_domain_id\": \"custom_domain_id\",\n \"domain\": \"domain\",\n \"primary\": true,\n \"status\": \"pending_verification\",\n \"type\": \"auth0_managed_certs\",\n \"origin_domain_name\": \"origin_domain_name\",\n \"verification\": {\n \"methods\": [\n {\n \"name\": \"cname\",\n \"record\": \"record\"\n }\n ],\n \"status\": \"verified\",\n \"error_msg\": \"error_msg\",\n \"last_verified_at\": \"last_verified_at\"\n },\n \"custom_client_ip_header\": \"custom_client_ip_header\",\n \"tls_policy\": \"tls_policy\",\n \"domain_metadata\": {\n \"key\": \"value\"\n },\n \"certificate\": {\n \"status\": \"provisioning\",\n \"error_msg\": \"error_msg\",\n \"certificate_authority\": \"letsencrypt\",\n \"renews_before\": \"renews_before\"\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"d56d6773-eda9-4b8a-9193-025d27feecb9","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"0d3570c3-79d1-49e1-85ca-aa706fb2834d","name":"Delete custom domain configuration - default","request":{"urlPathTemplate":"/custom-domains/{id}","method":"DELETE","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"0d3570c3-79d1-49e1-85ca-aa706fb2834d","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"38539a1e-230b-4e70-b2f9-7ae0f252e1b6","name":"Update custom domain configuration - default","request":{"urlPathTemplate":"/custom-domains/{id}","method":"PATCH","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"custom_domain_id\": \"custom_domain_id\",\n \"domain\": \"domain\",\n \"primary\": true,\n \"status\": \"pending_verification\",\n \"type\": \"auth0_managed_certs\",\n \"verification\": {\n \"methods\": [\n {\n \"name\": \"cname\",\n \"record\": \"record\"\n }\n ],\n \"status\": \"verified\",\n \"error_msg\": \"error_msg\",\n \"last_verified_at\": \"last_verified_at\"\n },\n \"custom_client_ip_header\": \"custom_client_ip_header\",\n \"tls_policy\": \"tls_policy\",\n \"domain_metadata\": {\n \"key\": \"value\"\n },\n \"certificate\": {\n \"status\": \"provisioning\",\n \"error_msg\": \"error_msg\",\n \"certificate_authority\": \"letsencrypt\",\n \"renews_before\": \"renews_before\"\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"38539a1e-230b-4e70-b2f9-7ae0f252e1b6","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"cbb866f2-d5e1-4c1e-8e0e-9f50b3b5632c","name":"Test a custom domain - default","request":{"urlPathTemplate":"/custom-domains/{id}/test","method":"POST","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"success\": true,\n \"message\": \"message\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"cbb866f2-d5e1-4c1e-8e0e-9f50b3b5632c","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"43d540a8-528e-44db-9bda-83cf1ef8a54d","name":"Verify a custom domain - default","request":{"urlPathTemplate":"/custom-domains/{id}/verify","method":"POST","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"custom_domain_id\": \"custom_domain_id\",\n \"domain\": \"domain\",\n \"primary\": true,\n \"status\": \"pending_verification\",\n \"type\": \"auth0_managed_certs\",\n \"cname_api_key\": \"cname_api_key\",\n \"origin_domain_name\": \"origin_domain_name\",\n \"verification\": {\n \"methods\": [\n {\n \"name\": \"cname\",\n \"record\": \"record\"\n }\n ],\n \"status\": \"verified\",\n \"error_msg\": \"error_msg\",\n \"last_verified_at\": \"last_verified_at\"\n },\n \"custom_client_ip_header\": \"custom_client_ip_header\",\n \"tls_policy\": \"tls_policy\",\n \"domain_metadata\": {\n \"key\": \"value\"\n },\n \"certificate\": {\n \"status\": \"provisioning\",\n \"error_msg\": \"error_msg\",\n \"certificate_authority\": \"letsencrypt\",\n \"renews_before\": \"renews_before\"\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"43d540a8-528e-44db-9bda-83cf1ef8a54d","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"cfcb7751-7a75-45bf-b39f-29bac41590da","name":"Retrieve device credentials - default","request":{"urlPathTemplate":"/device-credentials","method":"GET"},"response":{"status":200,"body":"{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"total\": 1.1,\n \"device_credentials\": [\n {\n \"id\": \"id\",\n \"device_name\": \"device_name\",\n \"device_id\": \"device_id\",\n \"type\": \"public_key\",\n \"user_id\": \"user_id\",\n \"client_id\": \"client_id\"\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"cfcb7751-7a75-45bf-b39f-29bac41590da","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"01818d23-c5cc-483a-90d7-5a5b11bf52e7","name":"Create a device public key credential - default","request":{"urlPathTemplate":"/device-credentials","method":"POST"},"response":{"status":201,"body":"{\n \"id\": \"id\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"01818d23-c5cc-483a-90d7-5a5b11bf52e7","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"d2da3529-65a2-4a85-a6c8-c60a55a085ad","name":"Delete a device credential - default","request":{"urlPathTemplate":"/device-credentials/{id}","method":"DELETE","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"d2da3529-65a2-4a85-a6c8-c60a55a085ad","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"27d925db-b0e4-4cad-bf10-75440adb5dea","name":"Create an email template - default","request":{"urlPathTemplate":"/email-templates","method":"POST"},"response":{"status":200,"body":"{\n \"template\": \"verify_email\",\n \"body\": \"body\",\n \"from\": \"from\",\n \"resultUrl\": \"resultUrl\",\n \"subject\": \"subject\",\n \"syntax\": \"syntax\",\n \"urlLifetimeInSeconds\": 1.1,\n \"includeEmailInRedirect\": true,\n \"enabled\": true\n}","headers":{"Content-Type":"application/json"}},"uuid":"27d925db-b0e4-4cad-bf10-75440adb5dea","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"e41992b1-8cf3-4611-9179-334debfd831a","name":"Get an email template - default","request":{"urlPathTemplate":"/email-templates/{templateName}","method":"GET","pathParameters":{"templateName":{"equalTo":"verify_email"}}},"response":{"status":200,"body":"{\n \"template\": \"verify_email\",\n \"body\": \"body\",\n \"from\": \"from\",\n \"resultUrl\": \"resultUrl\",\n \"subject\": \"subject\",\n \"syntax\": \"syntax\",\n \"urlLifetimeInSeconds\": 1.1,\n \"includeEmailInRedirect\": true,\n \"enabled\": true\n}","headers":{"Content-Type":"application/json"}},"uuid":"e41992b1-8cf3-4611-9179-334debfd831a","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"4b7ee5d7-df46-44d7-8747-1db6f37bcda8","name":"Update an email template - default","request":{"urlPathTemplate":"/email-templates/{templateName}","method":"PUT","pathParameters":{"templateName":{"equalTo":"verify_email"}}},"response":{"status":200,"body":"{\n \"template\": \"verify_email\",\n \"body\": \"body\",\n \"from\": \"from\",\n \"resultUrl\": \"resultUrl\",\n \"subject\": \"subject\",\n \"syntax\": \"syntax\",\n \"urlLifetimeInSeconds\": 1.1,\n \"includeEmailInRedirect\": true,\n \"enabled\": true\n}","headers":{"Content-Type":"application/json"}},"uuid":"4b7ee5d7-df46-44d7-8747-1db6f37bcda8","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"1489d312-c6ca-4277-a1d2-01ce4c4fdad9","name":"Patch an email template - default","request":{"urlPathTemplate":"/email-templates/{templateName}","method":"PATCH","pathParameters":{"templateName":{"equalTo":"verify_email"}}},"response":{"status":200,"body":"{\n \"template\": \"verify_email\",\n \"body\": \"body\",\n \"from\": \"from\",\n \"resultUrl\": \"resultUrl\",\n \"subject\": \"subject\",\n \"syntax\": \"syntax\",\n \"urlLifetimeInSeconds\": 1.1,\n \"includeEmailInRedirect\": true,\n \"enabled\": true\n}","headers":{"Content-Type":"application/json"}},"uuid":"1489d312-c6ca-4277-a1d2-01ce4c4fdad9","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"0fe7f4b8-58ff-4442-9339-c48f5185600f","name":"Get event streams - default","request":{"urlPathTemplate":"/event-streams","method":"GET"},"response":{"status":200,"body":"[\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"subscriptions\": [\n {}\n ],\n \"destination\": {\n \"type\": \"webhook\",\n \"configuration\": {\n \"webhook_endpoint\": \"webhook_endpoint\",\n \"webhook_authorization\": {\n \"method\": \"basic\",\n \"username\": \"username\"\n }\n }\n },\n \"status\": \"enabled\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n }\n]","headers":{"Content-Type":"application/json"}},"uuid":"0fe7f4b8-58ff-4442-9339-c48f5185600f","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"5b1a29bf-5c5c-45dd-a9fb-64f6944455e0","name":"Create an event stream - default","request":{"urlPathTemplate":"/event-streams","method":"POST"},"response":{"status":201,"body":"{\n \"id\": \"id\",\n \"name\": \"name\",\n \"subscriptions\": [\n {\n \"event_type\": \"event_type\"\n }\n ],\n \"destination\": {\n \"type\": \"webhook\",\n \"configuration\": {\n \"webhook_endpoint\": \"webhook_endpoint\",\n \"webhook_authorization\": {\n \"method\": \"basic\",\n \"username\": \"username\"\n }\n }\n },\n \"status\": \"enabled\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"5b1a29bf-5c5c-45dd-a9fb-64f6944455e0","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"85d4a52f-7433-408c-a7cc-30776d9ed641","name":"Get an event stream by ID - default","request":{"urlPathTemplate":"/event-streams/{id}","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"name\": \"name\",\n \"subscriptions\": [\n {\n \"event_type\": \"event_type\"\n }\n ],\n \"destination\": {\n \"type\": \"webhook\",\n \"configuration\": {\n \"webhook_endpoint\": \"webhook_endpoint\",\n \"webhook_authorization\": {\n \"method\": \"basic\",\n \"username\": \"username\"\n }\n }\n },\n \"status\": \"enabled\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"85d4a52f-7433-408c-a7cc-30776d9ed641","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"4812fcc9-8f28-4732-96d4-8adb072fa78a","name":"Delete an event stream - default","request":{"urlPathTemplate":"/event-streams/{id}","method":"DELETE","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"4812fcc9-8f28-4732-96d4-8adb072fa78a","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"08468f05-d404-462e-8fdd-ce9dca3f4e3c","name":"Update an event stream - default","request":{"urlPathTemplate":"/event-streams/{id}","method":"PATCH","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"name\": \"name\",\n \"subscriptions\": [\n {\n \"event_type\": \"event_type\"\n }\n ],\n \"destination\": {\n \"type\": \"webhook\",\n \"configuration\": {\n \"webhook_endpoint\": \"webhook_endpoint\",\n \"webhook_authorization\": {\n \"method\": \"basic\",\n \"username\": \"username\"\n }\n }\n },\n \"status\": \"enabled\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"08468f05-d404-462e-8fdd-ce9dca3f4e3c","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"4ba115c6-e86b-4427-9ce9-8468a24916b0","name":"Send a test event to an event stream - default","request":{"urlPathTemplate":"/event-streams/{id}/test","method":"POST","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":202,"body":"{\n \"id\": \"id\",\n \"event_stream_id\": \"event_stream_id\",\n \"status\": \"failed\",\n \"event_type\": \"user.created\",\n \"attempts\": [\n {\n \"status\": \"failed\",\n \"timestamp\": \"2024-01-15T09:30:00Z\",\n \"error_message\": \"error_message\"\n }\n ],\n \"event\": {\n \"id\": \"id\",\n \"source\": \"source\",\n \"specversion\": \"specversion\",\n \"type\": \"type\",\n \"time\": \"2024-01-15T09:30:00Z\",\n \"data\": \"data\"\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"4ba115c6-e86b-4427-9ce9-8468a24916b0","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"9bee2213-71c4-41f8-9350-d50ede2f6c53","name":"Get flows - default","request":{"urlPathTemplate":"/flows","method":"GET"},"response":{"status":200,"body":"{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"total\": 1.1,\n \"flows\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"executed_at\": \"executed_at\"\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"9bee2213-71c4-41f8-9350-d50ede2f6c53","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"6eb24c4a-01ad-47bc-bf9a-927970d1096e","name":"Create a flow - default","request":{"urlPathTemplate":"/flows","method":"POST"},"response":{"status":201,"body":"{\n \"id\": \"id\",\n \"name\": \"name\",\n \"actions\": [\n {\n \"id\": \"id\",\n \"alias\": \"alias\",\n \"type\": \"ACTIVECAMPAIGN\",\n \"action\": \"LIST_CONTACTS\",\n \"allow_failure\": true,\n \"mask_output\": true,\n \"params\": {\n \"connection_id\": \"connection_id\",\n \"email\": \"email\"\n }\n }\n ],\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"executed_at\": \"executed_at\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"6eb24c4a-01ad-47bc-bf9a-927970d1096e","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"1eccebc1-db7b-4349-8fae-45c8537e9880","name":"Get a flow - default","request":{"urlPathTemplate":"/flows/{id}","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"name\": \"name\",\n \"actions\": [\n {\n \"id\": \"id\",\n \"alias\": \"alias\",\n \"type\": \"ACTIVECAMPAIGN\",\n \"action\": \"LIST_CONTACTS\",\n \"allow_failure\": true,\n \"mask_output\": true,\n \"params\": {\n \"connection_id\": \"connection_id\",\n \"email\": \"email\"\n }\n }\n ],\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"executed_at\": \"executed_at\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"1eccebc1-db7b-4349-8fae-45c8537e9880","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"4dba8bf4-bec9-4e15-8591-752e9ac3644e","name":"Delete a flow - default","request":{"urlPathTemplate":"/flows/{id}","method":"DELETE","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"4dba8bf4-bec9-4e15-8591-752e9ac3644e","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"fc07198a-b41e-4537-aec6-1226e9691c86","name":"Update a flow - default","request":{"urlPathTemplate":"/flows/{id}","method":"PATCH","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"name\": \"name\",\n \"actions\": [\n {\n \"id\": \"id\",\n \"alias\": \"alias\",\n \"type\": \"ACTIVECAMPAIGN\",\n \"action\": \"LIST_CONTACTS\",\n \"allow_failure\": true,\n \"mask_output\": true,\n \"params\": {\n \"connection_id\": \"connection_id\",\n \"email\": \"email\"\n }\n }\n ],\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"executed_at\": \"executed_at\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"fc07198a-b41e-4537-aec6-1226e9691c86","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"3bf65872-e8cf-4987-becb-bb082f08419f","name":"Get forms - default","request":{"urlPathTemplate":"/forms","method":"GET"},"response":{"status":200,"body":"{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"total\": 1.1,\n \"forms\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"embedded_at\": \"embedded_at\",\n \"submitted_at\": \"submitted_at\"\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"3bf65872-e8cf-4987-becb-bb082f08419f","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"6255561a-7fa0-4557-a0e7-5d3a6f40b2a1","name":"Create a form - default","request":{"urlPathTemplate":"/forms","method":"POST"},"response":{"status":201,"body":"{\n \"id\": \"id\",\n \"name\": \"name\",\n \"messages\": {\n \"errors\": {\n \"key\": \"value\"\n },\n \"custom\": {\n \"key\": \"value\"\n }\n },\n \"languages\": {\n \"primary\": \"primary\",\n \"default\": \"default\"\n },\n \"translations\": {\n \"key\": {\n \"key\": \"value\"\n }\n },\n \"nodes\": [\n {\n \"id\": \"id\",\n \"type\": \"FLOW\",\n \"coordinates\": {\n \"x\": 1,\n \"y\": 1\n },\n \"alias\": \"alias\",\n \"config\": {\n \"flow_id\": \"flow_id\"\n }\n }\n ],\n \"start\": {\n \"hidden_fields\": [\n {\n \"key\": \"key\"\n }\n ],\n \"next_node\": \"$ending\",\n \"coordinates\": {\n \"x\": 1,\n \"y\": 1\n }\n },\n \"ending\": {\n \"redirection\": {\n \"delay\": 1,\n \"target\": \"target\"\n },\n \"after_submit\": {\n \"flow_id\": \"flow_id\"\n },\n \"coordinates\": {\n \"x\": 1,\n \"y\": 1\n },\n \"resume_flow\": true\n },\n \"style\": {\n \"css\": \"css\"\n },\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"embedded_at\": \"embedded_at\",\n \"submitted_at\": \"submitted_at\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"6255561a-7fa0-4557-a0e7-5d3a6f40b2a1","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"0bf329d0-420d-4f08-aec1-df5f12d67762","name":"Get a form - default","request":{"urlPathTemplate":"/forms/{id}","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"name\": \"name\",\n \"messages\": {\n \"errors\": {\n \"key\": \"value\"\n },\n \"custom\": {\n \"key\": \"value\"\n }\n },\n \"languages\": {\n \"primary\": \"primary\",\n \"default\": \"default\"\n },\n \"translations\": {\n \"key\": {\n \"key\": \"value\"\n }\n },\n \"nodes\": [\n {\n \"id\": \"id\",\n \"type\": \"FLOW\",\n \"coordinates\": {\n \"x\": 1,\n \"y\": 1\n },\n \"alias\": \"alias\",\n \"config\": {\n \"flow_id\": \"flow_id\"\n }\n }\n ],\n \"start\": {\n \"hidden_fields\": [\n {\n \"key\": \"key\"\n }\n ],\n \"next_node\": \"$ending\",\n \"coordinates\": {\n \"x\": 1,\n \"y\": 1\n }\n },\n \"ending\": {\n \"redirection\": {\n \"delay\": 1,\n \"target\": \"target\"\n },\n \"after_submit\": {\n \"flow_id\": \"flow_id\"\n },\n \"coordinates\": {\n \"x\": 1,\n \"y\": 1\n },\n \"resume_flow\": true\n },\n \"style\": {\n \"css\": \"css\"\n },\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"embedded_at\": \"embedded_at\",\n \"submitted_at\": \"submitted_at\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"0bf329d0-420d-4f08-aec1-df5f12d67762","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"c91995fc-fe8b-410c-9cbf-e13e1d538d1e","name":"Delete a form - default","request":{"urlPathTemplate":"/forms/{id}","method":"DELETE","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"c91995fc-fe8b-410c-9cbf-e13e1d538d1e","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"944b211b-eacb-4acc-8f40-a3463ae62f37","name":"Update a form - default","request":{"urlPathTemplate":"/forms/{id}","method":"PATCH","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"name\": \"name\",\n \"messages\": {\n \"errors\": {\n \"key\": \"value\"\n },\n \"custom\": {\n \"key\": \"value\"\n }\n },\n \"languages\": {\n \"primary\": \"primary\",\n \"default\": \"default\"\n },\n \"translations\": {\n \"key\": {\n \"key\": \"value\"\n }\n },\n \"nodes\": [\n {\n \"id\": \"id\",\n \"type\": \"FLOW\",\n \"coordinates\": {\n \"x\": 1,\n \"y\": 1\n },\n \"alias\": \"alias\",\n \"config\": {\n \"flow_id\": \"flow_id\"\n }\n }\n ],\n \"start\": {\n \"hidden_fields\": [\n {\n \"key\": \"key\"\n }\n ],\n \"next_node\": \"$ending\",\n \"coordinates\": {\n \"x\": 1,\n \"y\": 1\n }\n },\n \"ending\": {\n \"redirection\": {\n \"delay\": 1,\n \"target\": \"target\"\n },\n \"after_submit\": {\n \"flow_id\": \"flow_id\"\n },\n \"coordinates\": {\n \"x\": 1,\n \"y\": 1\n },\n \"resume_flow\": true\n },\n \"style\": {\n \"css\": \"css\"\n },\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"embedded_at\": \"embedded_at\",\n \"submitted_at\": \"submitted_at\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"944b211b-eacb-4acc-8f40-a3463ae62f37","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"800693b3-6319-4d73-997d-7899f5d8b842","name":"Get grants - default","request":{"urlPathTemplate":"/grants","method":"GET"},"response":{"status":200,"body":"{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"total\": 1.1,\n \"grants\": [\n {\n \"id\": \"id\",\n \"clientID\": \"clientID\",\n \"user_id\": \"user_id\",\n \"audience\": \"audience\",\n \"scope\": [\n \"scope\"\n ]\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"800693b3-6319-4d73-997d-7899f5d8b842","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"42d14bbf-3fda-4f6e-82c7-0511f2cc78b4","name":"Delete a grant by user_id - default","request":{"urlPathTemplate":"/grants","method":"DELETE"},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"42d14bbf-3fda-4f6e-82c7-0511f2cc78b4","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"0384a6d8-8b93-4c86-9b01-4a78b2056a0b","name":"Delete a grant by id - default","request":{"urlPathTemplate":"/grants/{id}","method":"DELETE","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"0384a6d8-8b93-4c86-9b01-4a78b2056a0b","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"8e59d144-ec26-4602-a30e-51471fa41a83","name":"Get hooks - default","request":{"urlPathTemplate":"/hooks","method":"GET"},"response":{"status":200,"body":"{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"total\": 1.1,\n \"hooks\": [\n {\n \"triggerId\": \"triggerId\",\n \"id\": \"id\",\n \"name\": \"name\",\n \"enabled\": true,\n \"script\": \"script\",\n \"dependencies\": {\n \"key\": \"value\"\n }\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"8e59d144-ec26-4602-a30e-51471fa41a83","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"275f3fd6-ea46-4d4e-b0b7-b3ccfa929d1b","name":"Create a hook - default","request":{"urlPathTemplate":"/hooks","method":"POST"},"response":{"status":201,"body":"{\n \"triggerId\": \"triggerId\",\n \"id\": \"id\",\n \"name\": \"name\",\n \"enabled\": true,\n \"script\": \"script\",\n \"dependencies\": {\n \"key\": \"value\"\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"275f3fd6-ea46-4d4e-b0b7-b3ccfa929d1b","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"f14ce249-5900-4b4f-acd6-a9fa7255d829","name":"Get a hook - default","request":{"urlPathTemplate":"/hooks/{id}","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"triggerId\": \"triggerId\",\n \"id\": \"id\",\n \"name\": \"name\",\n \"enabled\": true,\n \"script\": \"script\",\n \"dependencies\": {\n \"key\": \"value\"\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"f14ce249-5900-4b4f-acd6-a9fa7255d829","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"fff91330-4870-4c93-ac97-6d27a8f1fb9e","name":"Delete a hook - default","request":{"urlPathTemplate":"/hooks/{id}","method":"DELETE","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"fff91330-4870-4c93-ac97-6d27a8f1fb9e","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"5b56e935-667b-4af8-be86-94a3aa61008d","name":"Update a hook - default","request":{"urlPathTemplate":"/hooks/{id}","method":"PATCH","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":201,"body":"{\n \"triggerId\": \"triggerId\",\n \"id\": \"id\",\n \"name\": \"name\",\n \"enabled\": true,\n \"script\": \"script\",\n \"dependencies\": {\n \"key\": \"value\"\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"5b56e935-667b-4af8-be86-94a3aa61008d","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"fcdce95c-c559-471a-985a-45682f16bc5a","name":"Get a job - default","request":{"urlPathTemplate":"/jobs/{id}","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"status\": \"status\",\n \"type\": \"type\",\n \"created_at\": \"created_at\",\n \"id\": \"id\",\n \"connection_id\": \"connection_id\",\n \"location\": \"location\",\n \"percentage_done\": 1,\n \"time_left_seconds\": 1,\n \"format\": \"json\",\n \"status_details\": \"status_details\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"fcdce95c-c559-471a-985a-45682f16bc5a","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"0ce12a9c-ca36-486e-aa2a-e41e0eb1ef44","name":"Get log streams - default","request":{"urlPathTemplate":"/log-streams","method":"GET"},"response":{"status":200,"body":"[\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"status\": \"active\",\n \"type\": \"http\",\n \"isPriority\": true,\n \"filters\": [\n {}\n ],\n \"pii_config\": {\n \"log_fields\": [\n \"first_name\"\n ],\n \"method\": \"mask\",\n \"algorithm\": \"xxhash\"\n },\n \"sink\": {\n \"httpAuthorization\": \"httpAuthorization\",\n \"httpContentFormat\": \"JSONARRAY\",\n \"httpContentType\": \"httpContentType\",\n \"httpEndpoint\": \"httpEndpoint\",\n \"httpCustomHeaders\": [\n {}\n ]\n }\n }\n]","headers":{"Content-Type":"application/json"}},"uuid":"0ce12a9c-ca36-486e-aa2a-e41e0eb1ef44","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"3cac6a38-0d9f-40e0-983f-439cbedfa617","name":"Create a log stream - default","request":{"urlPathTemplate":"/log-streams","method":"POST"},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"name\": \"name\",\n \"status\": \"active\",\n \"type\": \"http\",\n \"isPriority\": true,\n \"filters\": [\n {\n \"type\": \"category\",\n \"name\": \"auth.login.fail\"\n }\n ],\n \"pii_config\": {\n \"log_fields\": [\n \"first_name\"\n ],\n \"method\": \"mask\",\n \"algorithm\": \"xxhash\"\n },\n \"sink\": {\n \"httpAuthorization\": \"httpAuthorization\",\n \"httpContentFormat\": \"JSONARRAY\",\n \"httpContentType\": \"httpContentType\",\n \"httpEndpoint\": \"httpEndpoint\",\n \"httpCustomHeaders\": [\n {}\n ]\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"3cac6a38-0d9f-40e0-983f-439cbedfa617","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"046f0424-b1aa-49bc-bf20-db22d7a7bdf4","name":"Get log stream by ID - default","request":{"urlPathTemplate":"/log-streams/{id}","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"name\": \"name\",\n \"status\": \"active\",\n \"type\": \"http\",\n \"isPriority\": true,\n \"filters\": [\n {\n \"type\": \"category\",\n \"name\": \"auth.login.fail\"\n }\n ],\n \"pii_config\": {\n \"log_fields\": [\n \"first_name\"\n ],\n \"method\": \"mask\",\n \"algorithm\": \"xxhash\"\n },\n \"sink\": {\n \"httpAuthorization\": \"httpAuthorization\",\n \"httpContentFormat\": \"JSONARRAY\",\n \"httpContentType\": \"httpContentType\",\n \"httpEndpoint\": \"httpEndpoint\",\n \"httpCustomHeaders\": [\n {}\n ]\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"046f0424-b1aa-49bc-bf20-db22d7a7bdf4","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"9fb04f8d-0fba-4891-8126-013d70d871aa","name":"Delete log stream - default","request":{"urlPathTemplate":"/log-streams/{id}","method":"DELETE","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"9fb04f8d-0fba-4891-8126-013d70d871aa","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"8d10acdd-e185-496c-98c4-c91d469e6ed2","name":"Update a log stream - default","request":{"urlPathTemplate":"/log-streams/{id}","method":"PATCH","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"name\": \"name\",\n \"status\": \"active\",\n \"type\": \"http\",\n \"isPriority\": true,\n \"filters\": [\n {\n \"type\": \"category\",\n \"name\": \"auth.login.fail\"\n }\n ],\n \"pii_config\": {\n \"log_fields\": [\n \"first_name\"\n ],\n \"method\": \"mask\",\n \"algorithm\": \"xxhash\"\n },\n \"sink\": {\n \"httpAuthorization\": \"httpAuthorization\",\n \"httpContentFormat\": \"JSONARRAY\",\n \"httpContentType\": \"httpContentType\",\n \"httpEndpoint\": \"httpEndpoint\",\n \"httpCustomHeaders\": [\n {}\n ]\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"8d10acdd-e185-496c-98c4-c91d469e6ed2","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"dc2b7d2b-54f2-4803-8bf1-bd0cfdcb6132","name":"Search log events - default","request":{"urlPathTemplate":"/logs","method":"GET"},"response":{"status":200,"body":"{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"length\": 1.1,\n \"total\": 1.1,\n \"logs\": [\n {\n \"date\": \"date\",\n \"type\": \"type\",\n \"description\": \"description\",\n \"connection\": \"connection\",\n \"connection_id\": \"connection_id\",\n \"client_id\": \"client_id\",\n \"client_name\": \"client_name\",\n \"ip\": \"ip\",\n \"hostname\": \"hostname\",\n \"user_id\": \"user_id\",\n \"user_name\": \"user_name\",\n \"audience\": \"audience\",\n \"scope\": \"scope\",\n \"strategy\": \"strategy\",\n \"strategy_type\": \"strategy_type\",\n \"log_id\": \"log_id\",\n \"isMobile\": true,\n \"details\": {\n \"key\": \"value\"\n },\n \"user_agent\": \"user_agent\"\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"dc2b7d2b-54f2-4803-8bf1-bd0cfdcb6132","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"b10cc251-b48a-429a-a136-810cdb7290fc","name":"Get a log event by id - default","request":{"urlPathTemplate":"/logs/{id}","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"date\": \"date\",\n \"type\": \"type\",\n \"description\": \"description\",\n \"connection\": \"connection\",\n \"connection_id\": \"connection_id\",\n \"client_id\": \"client_id\",\n \"client_name\": \"client_name\",\n \"ip\": \"ip\",\n \"hostname\": \"hostname\",\n \"user_id\": \"user_id\",\n \"user_name\": \"user_name\",\n \"audience\": \"audience\",\n \"scope\": \"scope\",\n \"strategy\": \"strategy\",\n \"strategy_type\": \"strategy_type\",\n \"log_id\": \"log_id\",\n \"isMobile\": true,\n \"details\": {\n \"key\": \"value\"\n },\n \"user_agent\": \"user_agent\",\n \"security_context\": {\n \"ja3\": \"ja3\",\n \"ja4\": \"ja4\"\n },\n \"location_info\": {\n \"country_code\": \"country_code\",\n \"country_code3\": \"country_code3\",\n \"country_name\": \"country_name\",\n \"city_name\": \"city_name\",\n \"latitude\": \"latitude\",\n \"longitude\": \"longitude\",\n \"time_zone\": \"time_zone\",\n \"continent_code\": \"continent_code\"\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"b10cc251-b48a-429a-a136-810cdb7290fc","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"858e0070-39b1-460a-a2d5-53d0a5c3524a","name":"Get all access control list entries for a tenant - default","request":{"urlPathTemplate":"/network-acls","method":"GET"},"response":{"status":200,"body":"{\n \"network_acls\": [\n {\n \"id\": \"id\",\n \"description\": \"description\",\n \"active\": true,\n \"priority\": 1.1,\n \"rule\": {\n \"action\": {},\n \"scope\": \"management\"\n },\n \"created_at\": \"created_at\",\n \"updated_at\": \"updated_at\"\n }\n ],\n \"start\": 1.1,\n \"limit\": 1.1,\n \"total\": 1.1\n}","headers":{"Content-Type":"application/json"}},"uuid":"858e0070-39b1-460a-a2d5-53d0a5c3524a","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"f8a963bf-a53b-445d-b1d7-e21a4b253957","name":"Create Access Control List - default","request":{"urlPathTemplate":"/network-acls","method":"POST"},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"f8a963bf-a53b-445d-b1d7-e21a4b253957","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"fb3b0b5f-3ab2-4b19-b79b-8f10391b7deb","name":"Get a specific access control list entry for a tenant - default","request":{"urlPathTemplate":"/network-acls/{id}","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"description\": \"description\",\n \"active\": true,\n \"priority\": 1.1,\n \"rule\": {\n \"action\": {\n \"block\": true,\n \"allow\": true,\n \"log\": true,\n \"redirect\": true,\n \"redirect_uri\": \"redirect_uri\"\n },\n \"match\": {\n \"asns\": [\n 1\n ],\n \"geo_country_codes\": [\n \"geo_country_codes\"\n ],\n \"geo_subdivision_codes\": [\n \"geo_subdivision_codes\"\n ],\n \"ipv4_cidrs\": [\n \"ipv4_cidrs\"\n ],\n \"ipv6_cidrs\": [\n \"ipv6_cidrs\"\n ],\n \"ja3_fingerprints\": [\n \"ja3_fingerprints\"\n ],\n \"ja4_fingerprints\": [\n \"ja4_fingerprints\"\n ],\n \"user_agents\": [\n \"user_agents\"\n ]\n },\n \"not_match\": {\n \"asns\": [\n 1\n ],\n \"geo_country_codes\": [\n \"geo_country_codes\"\n ],\n \"geo_subdivision_codes\": [\n \"geo_subdivision_codes\"\n ],\n \"ipv4_cidrs\": [\n \"ipv4_cidrs\"\n ],\n \"ipv6_cidrs\": [\n \"ipv6_cidrs\"\n ],\n \"ja3_fingerprints\": [\n \"ja3_fingerprints\"\n ],\n \"ja4_fingerprints\": [\n \"ja4_fingerprints\"\n ],\n \"user_agents\": [\n \"user_agents\"\n ]\n },\n \"scope\": \"management\"\n },\n \"created_at\": \"created_at\",\n \"updated_at\": \"updated_at\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"fb3b0b5f-3ab2-4b19-b79b-8f10391b7deb","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"b26d23ea-edcd-4512-a319-51a6e98131a0","name":"Update Access Control List - default","request":{"urlPathTemplate":"/network-acls/{id}","method":"PUT","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"description\": \"description\",\n \"active\": true,\n \"priority\": 1.1,\n \"rule\": {\n \"action\": {\n \"block\": true,\n \"allow\": true,\n \"log\": true,\n \"redirect\": true,\n \"redirect_uri\": \"redirect_uri\"\n },\n \"match\": {\n \"asns\": [\n 1\n ],\n \"geo_country_codes\": [\n \"geo_country_codes\"\n ],\n \"geo_subdivision_codes\": [\n \"geo_subdivision_codes\"\n ],\n \"ipv4_cidrs\": [\n \"ipv4_cidrs\"\n ],\n \"ipv6_cidrs\": [\n \"ipv6_cidrs\"\n ],\n \"ja3_fingerprints\": [\n \"ja3_fingerprints\"\n ],\n \"ja4_fingerprints\": [\n \"ja4_fingerprints\"\n ],\n \"user_agents\": [\n \"user_agents\"\n ]\n },\n \"not_match\": {\n \"asns\": [\n 1\n ],\n \"geo_country_codes\": [\n \"geo_country_codes\"\n ],\n \"geo_subdivision_codes\": [\n \"geo_subdivision_codes\"\n ],\n \"ipv4_cidrs\": [\n \"ipv4_cidrs\"\n ],\n \"ipv6_cidrs\": [\n \"ipv6_cidrs\"\n ],\n \"ja3_fingerprints\": [\n \"ja3_fingerprints\"\n ],\n \"ja4_fingerprints\": [\n \"ja4_fingerprints\"\n ],\n \"user_agents\": [\n \"user_agents\"\n ]\n },\n \"scope\": \"management\"\n },\n \"created_at\": \"created_at\",\n \"updated_at\": \"updated_at\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"b26d23ea-edcd-4512-a319-51a6e98131a0","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"6df7bc0d-d051-4e5f-8f62-608e9d028cc6","name":"Delete Access Control List - default","request":{"urlPathTemplate":"/network-acls/{id}","method":"DELETE","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"6df7bc0d-d051-4e5f-8f62-608e9d028cc6","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"80648d37-b6ab-4ab4-ba80-17f00933453d","name":"Partial Update for an Access Control List - default","request":{"urlPathTemplate":"/network-acls/{id}","method":"PATCH","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"description\": \"description\",\n \"active\": true,\n \"priority\": 1.1,\n \"rule\": {\n \"action\": {\n \"block\": true,\n \"allow\": true,\n \"log\": true,\n \"redirect\": true,\n \"redirect_uri\": \"redirect_uri\"\n },\n \"match\": {\n \"asns\": [\n 1\n ],\n \"geo_country_codes\": [\n \"geo_country_codes\"\n ],\n \"geo_subdivision_codes\": [\n \"geo_subdivision_codes\"\n ],\n \"ipv4_cidrs\": [\n \"ipv4_cidrs\"\n ],\n \"ipv6_cidrs\": [\n \"ipv6_cidrs\"\n ],\n \"ja3_fingerprints\": [\n \"ja3_fingerprints\"\n ],\n \"ja4_fingerprints\": [\n \"ja4_fingerprints\"\n ],\n \"user_agents\": [\n \"user_agents\"\n ]\n },\n \"not_match\": {\n \"asns\": [\n 1\n ],\n \"geo_country_codes\": [\n \"geo_country_codes\"\n ],\n \"geo_subdivision_codes\": [\n \"geo_subdivision_codes\"\n ],\n \"ipv4_cidrs\": [\n \"ipv4_cidrs\"\n ],\n \"ipv6_cidrs\": [\n \"ipv6_cidrs\"\n ],\n \"ja3_fingerprints\": [\n \"ja3_fingerprints\"\n ],\n \"ja4_fingerprints\": [\n \"ja4_fingerprints\"\n ],\n \"user_agents\": [\n \"user_agents\"\n ]\n },\n \"scope\": \"management\"\n },\n \"created_at\": \"created_at\",\n \"updated_at\": \"updated_at\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"80648d37-b6ab-4ab4-ba80-17f00933453d","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"a4016e68-1c58-4a5c-b698-27ca350b937c","name":"Get organizations - default","request":{"urlPathTemplate":"/organizations","method":"GET"},"response":{"status":200,"body":"{\n \"next\": \"next\",\n \"organizations\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"display_name\": \"display_name\",\n \"token_quota\": {\n \"client_credentials\": {}\n }\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"a4016e68-1c58-4a5c-b698-27ca350b937c","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"61349de2-c20a-4002-822b-9ed84e87ca1f","name":"Create an Organization - default","request":{"urlPathTemplate":"/organizations","method":"POST"},"response":{"status":201,"body":"{\n \"id\": \"id\",\n \"name\": \"name\",\n \"display_name\": \"display_name\",\n \"branding\": {\n \"logo_url\": \"logo_url\",\n \"colors\": {\n \"primary\": \"primary\",\n \"page_background\": \"page_background\"\n }\n },\n \"metadata\": {\n \"key\": \"value\"\n },\n \"token_quota\": {\n \"client_credentials\": {\n \"enforce\": true,\n \"per_day\": 1,\n \"per_hour\": 1\n }\n },\n \"enabled_connections\": [\n {\n \"connection_id\": \"connection_id\",\n \"assign_membership_on_login\": true,\n \"show_as_button\": true,\n \"is_signup_enabled\": true\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"61349de2-c20a-4002-822b-9ed84e87ca1f","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"dabd338a-8798-40ba-aaa0-8ce9b262b711","name":"Get organization by name - default","request":{"urlPathTemplate":"/organizations/name/{name}","method":"GET","pathParameters":{"name":{"equalTo":"name"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"name\": \"name\",\n \"display_name\": \"display_name\",\n \"branding\": {\n \"logo_url\": \"logo_url\",\n \"colors\": {\n \"primary\": \"primary\",\n \"page_background\": \"page_background\"\n }\n },\n \"metadata\": {\n \"key\": \"value\"\n },\n \"token_quota\": {\n \"client_credentials\": {\n \"enforce\": true,\n \"per_day\": 1,\n \"per_hour\": 1\n }\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"dabd338a-8798-40ba-aaa0-8ce9b262b711","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"da7fe10b-f528-48cf-b4e0-8d769617a66c","name":"Get organization - default","request":{"urlPathTemplate":"/organizations/{id}","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"name\": \"name\",\n \"display_name\": \"display_name\",\n \"branding\": {\n \"logo_url\": \"logo_url\",\n \"colors\": {\n \"primary\": \"primary\",\n \"page_background\": \"page_background\"\n }\n },\n \"metadata\": {\n \"key\": \"value\"\n },\n \"token_quota\": {\n \"client_credentials\": {\n \"enforce\": true,\n \"per_day\": 1,\n \"per_hour\": 1\n }\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"da7fe10b-f528-48cf-b4e0-8d769617a66c","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"82031fa8-9043-489a-aa84-46bae3772393","name":"Delete organization - default","request":{"urlPathTemplate":"/organizations/{id}","method":"DELETE","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"82031fa8-9043-489a-aa84-46bae3772393","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"a03fdbdd-77b7-4c31-9a5f-6d63cf2c017a","name":"Modify an Organization - default","request":{"urlPathTemplate":"/organizations/{id}","method":"PATCH","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"name\": \"name\",\n \"display_name\": \"display_name\",\n \"branding\": {\n \"logo_url\": \"logo_url\",\n \"colors\": {\n \"primary\": \"primary\",\n \"page_background\": \"page_background\"\n }\n },\n \"metadata\": {\n \"key\": \"value\"\n },\n \"token_quota\": {\n \"client_credentials\": {\n \"enforce\": true,\n \"per_day\": 1,\n \"per_hour\": 1\n }\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"a03fdbdd-77b7-4c31-9a5f-6d63cf2c017a","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"a5b27e78-ff1e-480e-a2ff-cda4a7e2a15e","name":"Get prompt settings - default","request":{"urlPathTemplate":"/prompts","method":"GET"},"response":{"status":200,"body":"{\n \"universal_login_experience\": \"new\",\n \"identifier_first\": true,\n \"webauthn_platform_first_factor\": true\n}","headers":{"Content-Type":"application/json"}},"uuid":"a5b27e78-ff1e-480e-a2ff-cda4a7e2a15e","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"170f5b5a-a3d8-415f-b2ab-64eb7e3b775b","name":"Update prompt settings - default","request":{"urlPathTemplate":"/prompts","method":"PATCH"},"response":{"status":200,"body":"{\n \"universal_login_experience\": \"new\",\n \"identifier_first\": true,\n \"webauthn_platform_first_factor\": true\n}","headers":{"Content-Type":"application/json"}},"uuid":"170f5b5a-a3d8-415f-b2ab-64eb7e3b775b","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"6a045b19-b94d-495c-b30c-c1de79efc46f","name":"Get a refresh token - default","request":{"urlPathTemplate":"/refresh-tokens/{id}","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"user_id\": \"user_id\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"idle_expires_at\": \"2024-01-15T09:30:00Z\",\n \"expires_at\": \"2024-01-15T09:30:00Z\",\n \"device\": {\n \"initial_ip\": \"initial_ip\",\n \"initial_asn\": \"initial_asn\",\n \"initial_user_agent\": \"initial_user_agent\",\n \"last_ip\": \"last_ip\",\n \"last_asn\": \"last_asn\",\n \"last_user_agent\": \"last_user_agent\"\n },\n \"client_id\": \"client_id\",\n \"session_id\": \"session_id\",\n \"rotating\": true,\n \"resource_servers\": [\n {\n \"audience\": \"audience\",\n \"scopes\": \"scopes\"\n }\n ],\n \"last_exchanged_at\": \"2024-01-15T09:30:00Z\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"6a045b19-b94d-495c-b30c-c1de79efc46f","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"9b9572e8-f0ad-4d7d-9367-b2d3e62c7cd7","name":"Delete a refresh token - default","request":{"urlPathTemplate":"/refresh-tokens/{id}","method":"DELETE","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"9b9572e8-f0ad-4d7d-9367-b2d3e62c7cd7","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"8e9d39f1-8389-4238-acc7-0c1fd5f97c1b","name":"Get resource servers - default","request":{"urlPathTemplate":"/resource-servers","method":"GET"},"response":{"status":200,"body":"{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"total\": 1.1,\n \"resource_servers\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"is_system\": true,\n \"identifier\": \"identifier\",\n \"scopes\": [\n {\n \"value\": \"value\"\n }\n ],\n \"signing_alg\": \"HS256\",\n \"signing_secret\": \"signing_secret\",\n \"allow_offline_access\": true,\n \"skip_consent_for_verifiable_first_party_clients\": true,\n \"token_lifetime\": 1,\n \"token_lifetime_for_web\": 1,\n \"enforce_policies\": true,\n \"token_dialect\": \"access_token\",\n \"token_encryption\": {\n \"format\": \"compact-nested-jwe\",\n \"encryption_key\": {\n \"alg\": \"RSA-OAEP-256\",\n \"pem\": \"pem\"\n }\n },\n \"consent_policy\": \"transactional-authorization-with-mfa\",\n \"proof_of_possession\": {\n \"mechanism\": \"mtls\",\n \"required\": true\n },\n \"client_id\": \"client_id\"\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"8e9d39f1-8389-4238-acc7-0c1fd5f97c1b","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"47aa9a64-a544-47e0-9817-a2fe54866219","name":"Create a resource server - default","request":{"urlPathTemplate":"/resource-servers","method":"POST"},"response":{"status":201,"body":"{\n \"id\": \"id\",\n \"name\": \"name\",\n \"is_system\": true,\n \"identifier\": \"identifier\",\n \"scopes\": [\n {\n \"value\": \"value\",\n \"description\": \"description\"\n }\n ],\n \"signing_alg\": \"HS256\",\n \"signing_secret\": \"signing_secret\",\n \"allow_offline_access\": true,\n \"skip_consent_for_verifiable_first_party_clients\": true,\n \"token_lifetime\": 1,\n \"token_lifetime_for_web\": 1,\n \"enforce_policies\": true,\n \"token_dialect\": \"access_token\",\n \"token_encryption\": {\n \"format\": \"compact-nested-jwe\",\n \"encryption_key\": {\n \"name\": \"name\",\n \"alg\": \"RSA-OAEP-256\",\n \"kid\": \"kid\",\n \"pem\": \"pem\"\n }\n },\n \"consent_policy\": \"transactional-authorization-with-mfa\",\n \"authorization_details\": [\n {\n \"key\": \"value\"\n }\n ],\n \"proof_of_possession\": {\n \"mechanism\": \"mtls\",\n \"required\": true\n },\n \"subject_type_authorization\": {\n \"user\": {\n \"policy\": \"allow_all\"\n },\n \"client\": {\n \"policy\": \"deny_all\"\n }\n },\n \"client_id\": \"client_id\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"47aa9a64-a544-47e0-9817-a2fe54866219","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"da399a32-c9a2-481c-9995-fc402c47f72a","name":"Get a resource server - default","request":{"urlPathTemplate":"/resource-servers/{id}","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"name\": \"name\",\n \"is_system\": true,\n \"identifier\": \"identifier\",\n \"scopes\": [\n {\n \"value\": \"value\",\n \"description\": \"description\"\n }\n ],\n \"signing_alg\": \"HS256\",\n \"signing_secret\": \"signing_secret\",\n \"allow_offline_access\": true,\n \"skip_consent_for_verifiable_first_party_clients\": true,\n \"token_lifetime\": 1,\n \"token_lifetime_for_web\": 1,\n \"enforce_policies\": true,\n \"token_dialect\": \"access_token\",\n \"token_encryption\": {\n \"format\": \"compact-nested-jwe\",\n \"encryption_key\": {\n \"name\": \"name\",\n \"alg\": \"RSA-OAEP-256\",\n \"kid\": \"kid\",\n \"pem\": \"pem\"\n }\n },\n \"consent_policy\": \"transactional-authorization-with-mfa\",\n \"authorization_details\": [\n {\n \"key\": \"value\"\n }\n ],\n \"proof_of_possession\": {\n \"mechanism\": \"mtls\",\n \"required\": true\n },\n \"subject_type_authorization\": {\n \"user\": {\n \"policy\": \"allow_all\"\n },\n \"client\": {\n \"policy\": \"deny_all\"\n }\n },\n \"client_id\": \"client_id\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"da399a32-c9a2-481c-9995-fc402c47f72a","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"f46b0f05-ce0a-4b6a-9004-650a8a9d14da","name":"Delete a resource server - default","request":{"urlPathTemplate":"/resource-servers/{id}","method":"DELETE","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"f46b0f05-ce0a-4b6a-9004-650a8a9d14da","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"dd7769c9-ea3c-4d2e-bf38-bc9cd0083bc7","name":"Update a resource server - default","request":{"urlPathTemplate":"/resource-servers/{id}","method":"PATCH","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":201,"body":"{\n \"id\": \"id\",\n \"name\": \"name\",\n \"is_system\": true,\n \"identifier\": \"identifier\",\n \"scopes\": [\n {\n \"value\": \"value\",\n \"description\": \"description\"\n }\n ],\n \"signing_alg\": \"HS256\",\n \"signing_secret\": \"signing_secret\",\n \"allow_offline_access\": true,\n \"skip_consent_for_verifiable_first_party_clients\": true,\n \"token_lifetime\": 1,\n \"token_lifetime_for_web\": 1,\n \"enforce_policies\": true,\n \"token_dialect\": \"access_token\",\n \"token_encryption\": {\n \"format\": \"compact-nested-jwe\",\n \"encryption_key\": {\n \"name\": \"name\",\n \"alg\": \"RSA-OAEP-256\",\n \"kid\": \"kid\",\n \"pem\": \"pem\"\n }\n },\n \"consent_policy\": \"transactional-authorization-with-mfa\",\n \"authorization_details\": [\n {\n \"key\": \"value\"\n }\n ],\n \"proof_of_possession\": {\n \"mechanism\": \"mtls\",\n \"required\": true\n },\n \"subject_type_authorization\": {\n \"user\": {\n \"policy\": \"allow_all\"\n },\n \"client\": {\n \"policy\": \"deny_all\"\n }\n },\n \"client_id\": \"client_id\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"dd7769c9-ea3c-4d2e-bf38-bc9cd0083bc7","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"d64f1dab-8cae-47da-98e9-b16c1a5189dc","name":"Get roles - default","request":{"urlPathTemplate":"/roles","method":"GET"},"response":{"status":200,"body":"{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"total\": 1.1,\n \"roles\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\"\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"d64f1dab-8cae-47da-98e9-b16c1a5189dc","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"ddc91359-6806-4cf1-b143-e8d1bc363c3f","name":"Create a role - default","request":{"urlPathTemplate":"/roles","method":"POST"},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"ddc91359-6806-4cf1-b143-e8d1bc363c3f","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"18803f36-8ee6-4051-9c5e-ab4a2a000ec7","name":"Get a role - default","request":{"urlPathTemplate":"/roles/{id}","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"18803f36-8ee6-4051-9c5e-ab4a2a000ec7","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"53428abe-f9c9-49e7-ada5-7cabecc6f0f5","name":"Delete a role - default","request":{"urlPathTemplate":"/roles/{id}","method":"DELETE","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"53428abe-f9c9-49e7-ada5-7cabecc6f0f5","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"fb25cab0-ca38-4950-ba80-98504d41bb20","name":"Update a role - default","request":{"urlPathTemplate":"/roles/{id}","method":"PATCH","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"fb25cab0-ca38-4950-ba80-98504d41bb20","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"551dd253-310d-4f66-ab80-e07988490a37","name":"Get rules - default","request":{"urlPathTemplate":"/rules","method":"GET"},"response":{"status":200,"body":"{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"total\": 1.1,\n \"rules\": [\n {\n \"name\": \"name\",\n \"id\": \"id\",\n \"enabled\": true,\n \"script\": \"script\",\n \"order\": 1.1,\n \"stage\": \"stage\"\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"551dd253-310d-4f66-ab80-e07988490a37","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"6eba8e54-3d94-4b5a-9f90-34ea57895fb5","name":"Create a rule - default","request":{"urlPathTemplate":"/rules","method":"POST"},"response":{"status":201,"body":"{\n \"name\": \"name\",\n \"id\": \"id\",\n \"enabled\": true,\n \"script\": \"script\",\n \"order\": 1.1,\n \"stage\": \"stage\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"6eba8e54-3d94-4b5a-9f90-34ea57895fb5","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"6bd903b2-17f8-4021-9cae-4c1141223c95","name":"Get a rule - default","request":{"urlPathTemplate":"/rules/{id}","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"name\": \"name\",\n \"id\": \"id\",\n \"enabled\": true,\n \"script\": \"script\",\n \"order\": 1.1,\n \"stage\": \"stage\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"6bd903b2-17f8-4021-9cae-4c1141223c95","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"6110c86e-027f-441b-bb72-e5b0e6096803","name":"Delete a rule - default","request":{"urlPathTemplate":"/rules/{id}","method":"DELETE","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"6110c86e-027f-441b-bb72-e5b0e6096803","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"3033effa-f1f9-4988-8752-203075bb6aec","name":"Update a rule - default","request":{"urlPathTemplate":"/rules/{id}","method":"PATCH","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"name\": \"name\",\n \"id\": \"id\",\n \"enabled\": true,\n \"script\": \"script\",\n \"order\": 1.1,\n \"stage\": \"stage\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"3033effa-f1f9-4988-8752-203075bb6aec","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"3abfda6c-fc81-4be8-a87e-be80fcef8c2f","name":"Retrieve config variable keys for rules (get_rules-configs) - default","request":{"urlPathTemplate":"/rules-configs","method":"GET"},"response":{"status":200,"body":"[\n {\n \"key\": \"key\"\n }\n]","headers":{"Content-Type":"application/json"}},"uuid":"3abfda6c-fc81-4be8-a87e-be80fcef8c2f","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"f90321dc-6914-4101-8af1-743cafaa62d7","name":"Set rules config for a given key - default","request":{"urlPathTemplate":"/rules-configs/{key}","method":"PUT","pathParameters":{"key":{"equalTo":"key"}}},"response":{"status":200,"body":"{\n \"key\": \"key\",\n \"value\": \"value\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"f90321dc-6914-4101-8af1-743cafaa62d7","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"4e06c73c-ffd7-4b88-9857-99801c652707","name":"Delete rules config for a given key - default","request":{"urlPathTemplate":"/rules-configs/{key}","method":"DELETE","pathParameters":{"key":{"equalTo":"key"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"4e06c73c-ffd7-4b88-9857-99801c652707","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"466bc78c-8022-4a7f-96e1-2a01c78c0b54","name":"Get self-service profiles - default","request":{"urlPathTemplate":"/self-service-profiles","method":"GET"},"response":{"status":200,"body":"{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"total\": 1.1,\n \"self_service_profiles\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"user_attributes\": [\n {\n \"name\": \"name\",\n \"description\": \"description\",\n \"is_optional\": true\n }\n ],\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"allowed_strategies\": [\n \"oidc\"\n ],\n \"user_attribute_profile_id\": \"user_attribute_profile_id\"\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"466bc78c-8022-4a7f-96e1-2a01c78c0b54","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"bc8551be-c96c-4800-a5cc-dbbecc17b15b","name":"Create a self-service profile - default","request":{"urlPathTemplate":"/self-service-profiles","method":"POST"},"response":{"status":201,"body":"{\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"user_attributes\": [\n {\n \"name\": \"name\",\n \"description\": \"description\",\n \"is_optional\": true\n }\n ],\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"branding\": {\n \"logo_url\": \"logo_url\",\n \"colors\": {\n \"primary\": \"primary\"\n }\n },\n \"allowed_strategies\": [\n \"oidc\"\n ],\n \"user_attribute_profile_id\": \"user_attribute_profile_id\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"bc8551be-c96c-4800-a5cc-dbbecc17b15b","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"19739c76-9199-492a-bd18-730f773b6ffb","name":"Get a self-service profile by Id - default","request":{"urlPathTemplate":"/self-service-profiles/{id}","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"user_attributes\": [\n {\n \"name\": \"name\",\n \"description\": \"description\",\n \"is_optional\": true\n }\n ],\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"branding\": {\n \"logo_url\": \"logo_url\",\n \"colors\": {\n \"primary\": \"primary\"\n }\n },\n \"allowed_strategies\": [\n \"oidc\"\n ],\n \"user_attribute_profile_id\": \"user_attribute_profile_id\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"19739c76-9199-492a-bd18-730f773b6ffb","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"5378d984-8d98-4586-9b4a-7dd9f2ef00af","name":"Delete a self-service profile by Id - default","request":{"urlPathTemplate":"/self-service-profiles/{id}","method":"DELETE","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"5378d984-8d98-4586-9b4a-7dd9f2ef00af","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"d25c3782-1ef8-47b4-bf73-67a8f977fb17","name":"Update a self-service profile - default","request":{"urlPathTemplate":"/self-service-profiles/{id}","method":"PATCH","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"user_attributes\": [\n {\n \"name\": \"name\",\n \"description\": \"description\",\n \"is_optional\": true\n }\n ],\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"branding\": {\n \"logo_url\": \"logo_url\",\n \"colors\": {\n \"primary\": \"primary\"\n }\n },\n \"allowed_strategies\": [\n \"oidc\"\n ],\n \"user_attribute_profile_id\": \"user_attribute_profile_id\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"d25c3782-1ef8-47b4-bf73-67a8f977fb17","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"3eff16ca-bc50-43ac-9373-249bdaf18766","name":"Get session - default","request":{"urlPathTemplate":"/sessions/{id}","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"user_id\": \"user_id\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"authenticated_at\": \"2024-01-15T09:30:00Z\",\n \"idle_expires_at\": \"2024-01-15T09:30:00Z\",\n \"expires_at\": \"2024-01-15T09:30:00Z\",\n \"last_interacted_at\": \"2024-01-15T09:30:00Z\",\n \"device\": {\n \"initial_user_agent\": \"initial_user_agent\",\n \"initial_ip\": \"initial_ip\",\n \"initial_asn\": \"initial_asn\",\n \"last_user_agent\": \"last_user_agent\",\n \"last_ip\": \"last_ip\",\n \"last_asn\": \"last_asn\"\n },\n \"clients\": [\n {\n \"client_id\": \"client_id\"\n }\n ],\n \"authentication\": {\n \"methods\": [\n {}\n ]\n },\n \"cookie\": {\n \"mode\": \"non-persistent\"\n },\n \"session_metadata\": {\n \"key\": \"value\"\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"3eff16ca-bc50-43ac-9373-249bdaf18766","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"046df2cc-1fd5-4ffb-bf25-97235e3418aa","name":"Delete session - default","request":{"urlPathTemplate":"/sessions/{id}","method":"DELETE","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"046df2cc-1fd5-4ffb-bf25-97235e3418aa","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"cde85d14-94e2-472f-93d0-ab0f6a1e29e6","name":"Update session - default","request":{"urlPathTemplate":"/sessions/{id}","method":"PATCH","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"user_id\": \"user_id\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"authenticated_at\": \"2024-01-15T09:30:00Z\",\n \"idle_expires_at\": \"2024-01-15T09:30:00Z\",\n \"expires_at\": \"2024-01-15T09:30:00Z\",\n \"last_interacted_at\": \"2024-01-15T09:30:00Z\",\n \"device\": {\n \"initial_user_agent\": \"initial_user_agent\",\n \"initial_ip\": \"initial_ip\",\n \"initial_asn\": \"initial_asn\",\n \"last_user_agent\": \"last_user_agent\",\n \"last_ip\": \"last_ip\",\n \"last_asn\": \"last_asn\"\n },\n \"clients\": [\n {\n \"client_id\": \"client_id\"\n }\n ],\n \"authentication\": {\n \"methods\": [\n {}\n ]\n },\n \"cookie\": {\n \"mode\": \"non-persistent\"\n },\n \"session_metadata\": {\n \"key\": \"value\"\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"cde85d14-94e2-472f-93d0-ab0f6a1e29e6","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"eceb4045-ef5a-414d-a73f-ebbc3266db3b","name":"Revokes a session - default","request":{"urlPathTemplate":"/sessions/{id}/revoke","method":"POST","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"eceb4045-ef5a-414d-a73f-ebbc3266db3b","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"deb6f466-7529-4d43-9ae7-ec08cdee6fc8","name":"Get active users count - default","request":{"urlPathTemplate":"/stats/active-users","method":"GET"},"response":{"status":200,"body":"1.1","headers":{"Content-Type":"application/json"}},"uuid":"deb6f466-7529-4d43-9ae7-ec08cdee6fc8","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"a1c7c8b9-a534-46f2-ae35-eb70ca7628ae","name":"Get daily stats - default","request":{"urlPathTemplate":"/stats/daily","method":"GET"},"response":{"status":200,"body":"[\n {\n \"date\": \"date\",\n \"logins\": 1,\n \"signups\": 1,\n \"leaked_passwords\": 1,\n \"updated_at\": \"updated_at\",\n \"created_at\": \"created_at\"\n }\n]","headers":{"Content-Type":"application/json"}},"uuid":"a1c7c8b9-a534-46f2-ae35-eb70ca7628ae","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"818f5cc7-86b3-4568-8861-9d114c5669ef","name":"Get the supplemental signals configuration for a tenant - default","request":{"urlPathTemplate":"/supplemental-signals","method":"GET"},"response":{"status":200,"body":"{\n \"akamai_enabled\": true\n}","headers":{"Content-Type":"application/json"}},"uuid":"818f5cc7-86b3-4568-8861-9d114c5669ef","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"7ba85b66-eee6-4f11-b0e1-ae58fc016a79","name":"Update the supplemental signals configuration for a tenant - default","request":{"urlPathTemplate":"/supplemental-signals","method":"PATCH"},"response":{"status":200,"body":"{\n \"akamai_enabled\": true\n}","headers":{"Content-Type":"application/json"}},"uuid":"7ba85b66-eee6-4f11-b0e1-ae58fc016a79","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"5b479979-e975-4c68-b8fd-ca081dfcbca7","name":"Create an email verification ticket - default","request":{"urlPathTemplate":"/tickets/email-verification","method":"POST"},"response":{"status":201,"body":"{\n \"ticket\": \"ticket\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"5b479979-e975-4c68-b8fd-ca081dfcbca7","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"2b3107dc-9258-4e8c-bfb4-9f4d911eefec","name":"Create a password change ticket - default","request":{"urlPathTemplate":"/tickets/password-change","method":"POST"},"response":{"status":201,"body":"{\n \"ticket\": \"ticket\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"2b3107dc-9258-4e8c-bfb4-9f4d911eefec","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"83be5ec3-d77b-4a3a-9e52-87f57af4d962","name":"Get token exchange profiles - default","request":{"urlPathTemplate":"/token-exchange-profiles","method":"GET"},"response":{"status":200,"body":"{\n \"next\": \"next\",\n \"token_exchange_profiles\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"subject_token_type\": \"subject_token_type\",\n \"action_id\": \"action_id\",\n \"type\": \"custom_authentication\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"83be5ec3-d77b-4a3a-9e52-87f57af4d962","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"98e2d250-d01b-4580-a4b1-92e13a0b54b9","name":"Create a token exchange profile - default","request":{"urlPathTemplate":"/token-exchange-profiles","method":"POST"},"response":{"status":201,"body":"{\n \"id\": \"id\",\n \"name\": \"name\",\n \"subject_token_type\": \"subject_token_type\",\n \"action_id\": \"action_id\",\n \"type\": \"custom_authentication\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"98e2d250-d01b-4580-a4b1-92e13a0b54b9","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"4594d614-c499-48ab-9fee-e1d4df134a89","name":"Get a token exchange profile - default","request":{"urlPathTemplate":"/token-exchange-profiles/{id}","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"name\": \"name\",\n \"subject_token_type\": \"subject_token_type\",\n \"action_id\": \"action_id\",\n \"type\": \"custom_authentication\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"4594d614-c499-48ab-9fee-e1d4df134a89","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"172477bd-43d7-47ae-8ec8-eeb2f403f89c","name":"Delete a token exchange profile - default","request":{"urlPathTemplate":"/token-exchange-profiles/{id}","method":"DELETE","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"172477bd-43d7-47ae-8ec8-eeb2f403f89c","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"2d5941b9-03b1-47b9-ad3b-1466357ae3b0","name":"Update an existing token exchange profile - default","request":{"urlPathTemplate":"/token-exchange-profiles/{id}","method":"PATCH","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"2d5941b9-03b1-47b9-ad3b-1466357ae3b0","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"b4e9ccbb-5ef3-4c51-8149-56153dc787d4","name":"Get User Attribute Profiles - default","request":{"urlPathTemplate":"/user-attribute-profiles","method":"GET"},"response":{"status":200,"body":"{\n \"next\": \"next\",\n \"user_attribute_profiles\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"user_attributes\": {\n \"key\": {\n \"description\": \"description\",\n \"label\": \"label\",\n \"profile_required\": true,\n \"auth0_mapping\": \"auth0_mapping\"\n }\n }\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"b4e9ccbb-5ef3-4c51-8149-56153dc787d4","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"d032e452-b3cb-4a7a-8906-bb80a76c6b8f","name":"Post User Attribute Profile - default","request":{"urlPathTemplate":"/user-attribute-profiles","method":"POST"},"response":{"status":201,"body":"{\n \"id\": \"id\",\n \"name\": \"name\",\n \"user_id\": {\n \"oidc_mapping\": \"sub\",\n \"saml_mapping\": [\n \"saml_mapping\"\n ],\n \"scim_mapping\": \"scim_mapping\"\n },\n \"user_attributes\": {\n \"key\": {\n \"description\": \"description\",\n \"label\": \"label\",\n \"profile_required\": true,\n \"auth0_mapping\": \"auth0_mapping\",\n \"oidc_mapping\": {\n \"mapping\": \"mapping\"\n },\n \"saml_mapping\": [\n \"saml_mapping\"\n ],\n \"scim_mapping\": \"scim_mapping\"\n }\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"d032e452-b3cb-4a7a-8906-bb80a76c6b8f","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"5a222f5e-5188-4dff-ae26-46d41f56c061","name":"Get User Attribute Profile Templates - default","request":{"urlPathTemplate":"/user-attribute-profiles/templates","method":"GET"},"response":{"status":200,"body":"{\n \"user_attribute_profile_templates\": [\n {\n \"id\": \"id\",\n \"display_name\": \"display_name\"\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"5a222f5e-5188-4dff-ae26-46d41f56c061","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"6672c8c9-01d1-4aae-9ade-20890bbff6b3","name":"Get User Attribute Profile Template - default","request":{"urlPathTemplate":"/user-attribute-profiles/templates/{id}","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"display_name\": \"display_name\",\n \"template\": {\n \"name\": \"name\",\n \"user_id\": {\n \"oidc_mapping\": \"sub\",\n \"saml_mapping\": [\n \"saml_mapping\"\n ],\n \"scim_mapping\": \"scim_mapping\"\n },\n \"user_attributes\": {\n \"key\": {\n \"description\": \"description\",\n \"label\": \"label\",\n \"profile_required\": true,\n \"auth0_mapping\": \"auth0_mapping\"\n }\n }\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"6672c8c9-01d1-4aae-9ade-20890bbff6b3","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"b09540c6-726c-42e3-b5e8-dbc7182c2147","name":"Get User Attribute Profile - default","request":{"urlPathTemplate":"/user-attribute-profiles/{id}","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"name\": \"name\",\n \"user_id\": {\n \"oidc_mapping\": \"sub\",\n \"saml_mapping\": [\n \"saml_mapping\"\n ],\n \"scim_mapping\": \"scim_mapping\"\n },\n \"user_attributes\": {\n \"key\": {\n \"description\": \"description\",\n \"label\": \"label\",\n \"profile_required\": true,\n \"auth0_mapping\": \"auth0_mapping\",\n \"oidc_mapping\": {\n \"mapping\": \"mapping\"\n },\n \"saml_mapping\": [\n \"saml_mapping\"\n ],\n \"scim_mapping\": \"scim_mapping\"\n }\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"b09540c6-726c-42e3-b5e8-dbc7182c2147","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"ce0d7ce2-8b91-4791-be9b-2774f5efeec0","name":"Delete User Attribute Profile - default","request":{"urlPathTemplate":"/user-attribute-profiles/{id}","method":"DELETE","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"ce0d7ce2-8b91-4791-be9b-2774f5efeec0","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"2e6307a7-6f62-4b1f-a02b-e6414927a286","name":"Modify a user attribute profile - default","request":{"urlPathTemplate":"/user-attribute-profiles/{id}","method":"PATCH","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"name\": \"name\",\n \"user_id\": {\n \"oidc_mapping\": \"sub\",\n \"saml_mapping\": [\n \"saml_mapping\"\n ],\n \"scim_mapping\": \"scim_mapping\"\n },\n \"user_attributes\": {\n \"key\": {\n \"description\": \"description\",\n \"label\": \"label\",\n \"profile_required\": true,\n \"auth0_mapping\": \"auth0_mapping\",\n \"oidc_mapping\": {\n \"mapping\": \"mapping\"\n },\n \"saml_mapping\": [\n \"saml_mapping\"\n ],\n \"scim_mapping\": \"scim_mapping\"\n }\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"2e6307a7-6f62-4b1f-a02b-e6414927a286","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"2522dc7d-5aa2-4655-a7a9-24f79a2b8425","name":"Get blocks by identifier - default","request":{"urlPathTemplate":"/user-blocks","method":"GET"},"response":{"status":200,"body":"{\n \"blocked_for\": [\n {\n \"identifier\": \"identifier\",\n \"ip\": \"ip\",\n \"connection\": \"connection\"\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"2522dc7d-5aa2-4655-a7a9-24f79a2b8425","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"049ee4c7-943e-481c-8ebf-dc6d21d5260c","name":"Unblock by identifier - default","request":{"urlPathTemplate":"/user-blocks","method":"DELETE"},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"049ee4c7-943e-481c-8ebf-dc6d21d5260c","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"d2565899-4c2a-4b6b-93b5-caecdbadc782","name":"Get a user's blocks - default","request":{"urlPathTemplate":"/user-blocks/{id}","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"blocked_for\": [\n {\n \"identifier\": \"identifier\",\n \"ip\": \"ip\",\n \"connection\": \"connection\"\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"d2565899-4c2a-4b6b-93b5-caecdbadc782","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"b3f82ebe-f646-4a06-9770-8ece4e55d861","name":"Unblock a user - default","request":{"urlPathTemplate":"/user-blocks/{id}","method":"DELETE","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"b3f82ebe-f646-4a06-9770-8ece4e55d861","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"8b4e8914-5be6-4e9b-896f-0b72752d9671","name":"List or Search Users - default","request":{"urlPathTemplate":"/users","method":"GET"},"response":{"status":200,"body":"{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"length\": 1.1,\n \"total\": 1.1,\n \"users\": [\n {\n \"user_id\": \"user_id\",\n \"email\": \"email\",\n \"email_verified\": true,\n \"username\": \"username\",\n \"phone_number\": \"phone_number\",\n \"phone_verified\": true,\n \"created_at\": \"created_at\",\n \"updated_at\": \"updated_at\",\n \"identities\": [\n {}\n ],\n \"app_metadata\": {\n \"key\": \"value\"\n },\n \"user_metadata\": {\n \"key\": \"value\"\n },\n \"picture\": \"picture\",\n \"name\": \"name\",\n \"nickname\": \"nickname\",\n \"multifactor\": [\n \"multifactor\"\n ],\n \"last_ip\": \"last_ip\",\n \"last_login\": \"last_login\",\n \"logins_count\": 1,\n \"blocked\": true,\n \"given_name\": \"given_name\",\n \"family_name\": \"family_name\"\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"8b4e8914-5be6-4e9b-896f-0b72752d9671","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"4a8c54d7-9d2a-4a48-ad89-4b2481eed23a","name":"Create a User - default","request":{"urlPathTemplate":"/users","method":"POST"},"response":{"status":201,"body":"{\n \"user_id\": \"user_id\",\n \"email\": \"email\",\n \"email_verified\": true,\n \"username\": \"username\",\n \"phone_number\": \"phone_number\",\n \"phone_verified\": true,\n \"created_at\": \"created_at\",\n \"updated_at\": \"updated_at\",\n \"identities\": [\n {\n \"connection\": \"connection\",\n \"user_id\": \"user_id\",\n \"provider\": \"ad\",\n \"isSocial\": true,\n \"access_token\": \"access_token\",\n \"access_token_secret\": \"access_token_secret\",\n \"refresh_token\": \"refresh_token\"\n }\n ],\n \"app_metadata\": {\n \"key\": \"value\"\n },\n \"user_metadata\": {\n \"key\": \"value\"\n },\n \"picture\": \"picture\",\n \"name\": \"name\",\n \"nickname\": \"nickname\",\n \"multifactor\": [\n \"multifactor\"\n ],\n \"last_ip\": \"last_ip\",\n \"last_login\": \"last_login\",\n \"logins_count\": 1,\n \"blocked\": true,\n \"given_name\": \"given_name\",\n \"family_name\": \"family_name\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"4a8c54d7-9d2a-4a48-ad89-4b2481eed23a","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"414f2fd9-cbe8-4b07-b181-1bc4d03f38d6","name":"Search Users by Email - default","request":{"urlPathTemplate":"/users-by-email","method":"GET"},"response":{"status":200,"body":"[\n {\n \"user_id\": \"user_id\",\n \"email\": \"email\",\n \"email_verified\": true,\n \"username\": \"username\",\n \"phone_number\": \"phone_number\",\n \"phone_verified\": true,\n \"created_at\": \"created_at\",\n \"updated_at\": \"updated_at\",\n \"identities\": [\n {}\n ],\n \"app_metadata\": {\n \"key\": \"value\"\n },\n \"user_metadata\": {\n \"key\": \"value\"\n },\n \"picture\": \"picture\",\n \"name\": \"name\",\n \"nickname\": \"nickname\",\n \"multifactor\": [\n \"multifactor\"\n ],\n \"last_ip\": \"last_ip\",\n \"last_login\": \"last_login\",\n \"logins_count\": 1,\n \"blocked\": true,\n \"given_name\": \"given_name\",\n \"family_name\": \"family_name\"\n }\n]","headers":{"Content-Type":"application/json"}},"uuid":"414f2fd9-cbe8-4b07-b181-1bc4d03f38d6","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"9fc639a9-4bc3-4dab-909f-41947203684a","name":"Get a User - default","request":{"urlPathTemplate":"/users/{id}","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"user_id\": \"user_id\",\n \"email\": \"email\",\n \"email_verified\": true,\n \"username\": \"username\",\n \"phone_number\": \"phone_number\",\n \"phone_verified\": true,\n \"created_at\": \"created_at\",\n \"updated_at\": \"updated_at\",\n \"identities\": [\n {\n \"connection\": \"connection\",\n \"user_id\": \"user_id\",\n \"provider\": \"ad\",\n \"isSocial\": true,\n \"access_token\": \"access_token\",\n \"access_token_secret\": \"access_token_secret\",\n \"refresh_token\": \"refresh_token\"\n }\n ],\n \"app_metadata\": {\n \"key\": \"value\"\n },\n \"user_metadata\": {\n \"key\": \"value\"\n },\n \"picture\": \"picture\",\n \"name\": \"name\",\n \"nickname\": \"nickname\",\n \"multifactor\": [\n \"multifactor\"\n ],\n \"last_ip\": \"last_ip\",\n \"last_login\": \"last_login\",\n \"logins_count\": 1,\n \"blocked\": true,\n \"given_name\": \"given_name\",\n \"family_name\": \"family_name\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"9fc639a9-4bc3-4dab-909f-41947203684a","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"265181b3-7abf-472b-99f2-d2e6eb47b27e","name":"Delete a User - default","request":{"urlPathTemplate":"/users/{id}","method":"DELETE","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"265181b3-7abf-472b-99f2-d2e6eb47b27e","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"c65910b9-fa24-4a35-87b7-3b8e611f2d5c","name":"Update a User - default","request":{"urlPathTemplate":"/users/{id}","method":"PATCH","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"user_id\": \"user_id\",\n \"email\": \"email\",\n \"email_verified\": true,\n \"username\": \"username\",\n \"phone_number\": \"phone_number\",\n \"phone_verified\": true,\n \"created_at\": \"created_at\",\n \"updated_at\": \"updated_at\",\n \"identities\": [\n {\n \"connection\": \"connection\",\n \"user_id\": \"user_id\",\n \"provider\": \"ad\",\n \"isSocial\": true,\n \"access_token\": \"access_token\",\n \"access_token_secret\": \"access_token_secret\",\n \"refresh_token\": \"refresh_token\"\n }\n ],\n \"app_metadata\": {\n \"key\": \"value\"\n },\n \"user_metadata\": {\n \"key\": \"value\"\n },\n \"picture\": \"picture\",\n \"name\": \"name\",\n \"nickname\": \"nickname\",\n \"multifactor\": [\n \"multifactor\"\n ],\n \"last_ip\": \"last_ip\",\n \"last_login\": \"last_login\",\n \"logins_count\": 1,\n \"blocked\": true,\n \"given_name\": \"given_name\",\n \"family_name\": \"family_name\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"c65910b9-fa24-4a35-87b7-3b8e611f2d5c","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"1a7b88c7-c33a-4670-953b-957ea26d298e","name":"Generate New Multi-factor Authentication Recovery Code - default","request":{"urlPathTemplate":"/users/{id}/recovery-code-regeneration","method":"POST","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"recovery_code\": \"recovery_code\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"1a7b88c7-c33a-4670-953b-957ea26d298e","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"a562240d-132f-4adc-a0f6-763101460526","name":"Revokes selected resources from a user - default","request":{"urlPathTemplate":"/users/{id}/revoke-access","method":"POST","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"a562240d-132f-4adc-a0f6-763101460526","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"ccdc2dc5-d900-4938-9ae0-3a9466191ed1","name":"Get an action's versions - default","request":{"urlPathTemplate":"/actions/actions/{actionId}/versions","method":"GET","pathParameters":{"actionId":{"equalTo":"actionId"}}},"response":{"status":200,"body":"{\n \"total\": 1.1,\n \"page\": 1.1,\n \"per_page\": 1.1,\n \"versions\": [\n {\n \"id\": \"id\",\n \"action_id\": \"action_id\",\n \"code\": \"code\",\n \"dependencies\": [\n {}\n ],\n \"deployed\": true,\n \"runtime\": \"runtime\",\n \"secrets\": [\n {}\n ],\n \"status\": \"pending\",\n \"number\": 1.1,\n \"errors\": [\n {}\n ],\n \"built_at\": \"2024-01-15T09:30:00Z\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"supported_triggers\": [\n {\n \"id\": \"id\"\n }\n ]\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"ccdc2dc5-d900-4938-9ae0-3a9466191ed1","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"33c0cb30-ca1f-4477-9078-8647e82f975f","name":"Get a specific version of an action - default","request":{"urlPathTemplate":"/actions/actions/{actionId}/versions/{id}","method":"GET","pathParameters":{"actionId":{"equalTo":"actionId"},"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"action_id\": \"action_id\",\n \"code\": \"code\",\n \"dependencies\": [\n {\n \"name\": \"name\",\n \"version\": \"version\",\n \"registry_url\": \"registry_url\"\n }\n ],\n \"deployed\": true,\n \"runtime\": \"runtime\",\n \"secrets\": [\n {\n \"name\": \"name\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n }\n ],\n \"status\": \"pending\",\n \"number\": 1.1,\n \"errors\": [\n {\n \"id\": \"id\",\n \"msg\": \"msg\",\n \"url\": \"url\"\n }\n ],\n \"action\": {\n \"id\": \"id\",\n \"name\": \"name\",\n \"supported_triggers\": [\n {\n \"id\": \"id\"\n }\n ],\n \"all_changes_deployed\": true,\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n },\n \"built_at\": \"2024-01-15T09:30:00Z\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"supported_triggers\": [\n {\n \"id\": \"id\",\n \"version\": \"version\",\n \"status\": \"status\",\n \"runtimes\": [\n \"runtimes\"\n ],\n \"default_runtime\": \"default_runtime\",\n \"compatible_triggers\": [\n {\n \"id\": \"id\",\n \"version\": \"version\"\n }\n ],\n \"binding_policy\": \"trigger-bound\"\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"33c0cb30-ca1f-4477-9078-8647e82f975f","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"746fbf5a-cee7-4302-ad86-14035a3912f7","name":"Roll back to a previous action version - default","request":{"urlPathTemplate":"/actions/actions/{actionId}/versions/{id}/deploy","method":"POST","pathParameters":{"actionId":{"equalTo":"actionId"},"id":{"equalTo":"id"}}},"response":{"status":202,"body":"{\n \"id\": \"id\",\n \"action_id\": \"action_id\",\n \"code\": \"code\",\n \"dependencies\": [\n {\n \"name\": \"name\",\n \"version\": \"version\",\n \"registry_url\": \"registry_url\"\n }\n ],\n \"deployed\": true,\n \"runtime\": \"runtime\",\n \"secrets\": [\n {\n \"name\": \"name\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n }\n ],\n \"status\": \"pending\",\n \"number\": 1.1,\n \"errors\": [\n {\n \"id\": \"id\",\n \"msg\": \"msg\",\n \"url\": \"url\"\n }\n ],\n \"action\": {\n \"id\": \"id\",\n \"name\": \"name\",\n \"supported_triggers\": [\n {\n \"id\": \"id\"\n }\n ],\n \"all_changes_deployed\": true,\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n },\n \"built_at\": \"2024-01-15T09:30:00Z\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"supported_triggers\": [\n {\n \"id\": \"id\",\n \"version\": \"version\",\n \"status\": \"status\",\n \"runtimes\": [\n \"runtimes\"\n ],\n \"default_runtime\": \"default_runtime\",\n \"compatible_triggers\": [\n {\n \"id\": \"id\",\n \"version\": \"version\"\n }\n ],\n \"binding_policy\": \"trigger-bound\"\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"746fbf5a-cee7-4302-ad86-14035a3912f7","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"822dd98d-546e-46d8-a976-8f2c97028432","name":"Get an execution - default","request":{"urlPathTemplate":"/actions/executions/{id}","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"trigger_id\": \"trigger_id\",\n \"status\": \"unspecified\",\n \"results\": [\n {\n \"action_name\": \"action_name\",\n \"started_at\": \"2024-01-15T09:30:00Z\",\n \"ended_at\": \"2024-01-15T09:30:00Z\"\n }\n ],\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"822dd98d-546e-46d8-a976-8f2c97028432","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"f6c96303-6883-4084-989f-2dbadb13c1d9","name":"Get triggers - default","request":{"urlPathTemplate":"/actions/triggers","method":"GET"},"response":{"status":200,"body":"{\n \"triggers\": [\n {\n \"id\": \"id\",\n \"version\": \"version\",\n \"status\": \"status\",\n \"runtimes\": [\n \"runtimes\"\n ],\n \"default_runtime\": \"default_runtime\",\n \"compatible_triggers\": [\n {\n \"id\": \"id\",\n \"version\": \"version\"\n }\n ],\n \"binding_policy\": \"trigger-bound\"\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"f6c96303-6883-4084-989f-2dbadb13c1d9","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"eb7071fc-50a8-4dc9-a79d-ce47e23d4637","name":"Get trigger bindings - default","request":{"urlPathTemplate":"/actions/triggers/{triggerId}/bindings","method":"GET","pathParameters":{"triggerId":{"equalTo":"triggerId"}}},"response":{"status":200,"body":"{\n \"total\": 1.1,\n \"page\": 1.1,\n \"per_page\": 1.1,\n \"bindings\": [\n {\n \"id\": \"id\",\n \"trigger_id\": \"trigger_id\",\n \"display_name\": \"display_name\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"eb7071fc-50a8-4dc9-a79d-ce47e23d4637","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"677bf282-a2a0-4bc7-a065-b5de9e248673","name":"Update trigger bindings - default","request":{"urlPathTemplate":"/actions/triggers/{triggerId}/bindings","method":"PATCH","pathParameters":{"triggerId":{"equalTo":"triggerId"}}},"response":{"status":200,"body":"{\n \"bindings\": [\n {\n \"id\": \"id\",\n \"trigger_id\": \"trigger_id\",\n \"display_name\": \"display_name\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"677bf282-a2a0-4bc7-a065-b5de9e248673","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"858c0df0-350f-4619-8960-6f774c0f234a","name":"Check if an IP address is blocked - default","request":{"urlPathTemplate":"/anomaly/blocks/ips/{id}","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"858c0df0-350f-4619-8960-6f774c0f234a","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"3c386455-0d8c-4edf-a027-a4ac0ff2e391","name":"Remove the blocked IP address - default","request":{"urlPathTemplate":"/anomaly/blocks/ips/{id}","method":"DELETE","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"3c386455-0d8c-4edf-a027-a4ac0ff2e391","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"80b1e16c-5284-48f9-9802-ff189fca3b63","name":"Get Bot Detection settings - default","request":{"urlPathTemplate":"/attack-protection/bot-detection","method":"GET"},"response":{"status":200,"body":"{\n \"bot_detection_level\": \"low\",\n \"challenge_password_policy\": \"never\",\n \"challenge_passwordless_policy\": \"never\",\n \"challenge_password_reset_policy\": \"never\",\n \"allowlist\": [\n \"allowlist\"\n ],\n \"monitoring_mode_enabled\": true\n}","headers":{"Content-Type":"application/json"}},"uuid":"80b1e16c-5284-48f9-9802-ff189fca3b63","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"bf92fa51-631d-42ef-bf27-8161f3bcab37","name":"Update Bot Detection settings - default","request":{"urlPathTemplate":"/attack-protection/bot-detection","method":"PATCH"},"response":{"status":200,"body":"{\n \"bot_detection_level\": \"low\",\n \"challenge_password_policy\": \"never\",\n \"challenge_passwordless_policy\": \"never\",\n \"challenge_password_reset_policy\": \"never\",\n \"allowlist\": [\n \"allowlist\"\n ],\n \"monitoring_mode_enabled\": true\n}","headers":{"Content-Type":"application/json"}},"uuid":"bf92fa51-631d-42ef-bf27-8161f3bcab37","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"3ecb5fd3-5290-46e1-80da-bbdc282e2e86","name":"Get Breached Password Detection settings - default","request":{"urlPathTemplate":"/attack-protection/breached-password-detection","method":"GET"},"response":{"status":200,"body":"{\n \"enabled\": true,\n \"shields\": [\n \"block\"\n ],\n \"admin_notification_frequency\": [\n \"immediately\"\n ],\n \"method\": \"standard\",\n \"stage\": {\n \"pre-user-registration\": {\n \"shields\": [\n \"block\"\n ]\n },\n \"pre-change-password\": {\n \"shields\": [\n \"block\"\n ]\n }\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"3ecb5fd3-5290-46e1-80da-bbdc282e2e86","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"7f0c04d7-e36a-49ce-af70-af9df4825f56","name":"Update Breached Password Detection settings - default","request":{"urlPathTemplate":"/attack-protection/breached-password-detection","method":"PATCH"},"response":{"status":200,"body":"{\n \"enabled\": true,\n \"shields\": [\n \"block\"\n ],\n \"admin_notification_frequency\": [\n \"immediately\"\n ],\n \"method\": \"standard\",\n \"stage\": {\n \"pre-user-registration\": {\n \"shields\": [\n \"block\"\n ]\n },\n \"pre-change-password\": {\n \"shields\": [\n \"block\"\n ]\n }\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"7f0c04d7-e36a-49ce-af70-af9df4825f56","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"7870c330-d1c9-4a9f-9745-40e1d8b2d0ac","name":"Get Brute-force settings - default","request":{"urlPathTemplate":"/attack-protection/brute-force-protection","method":"GET"},"response":{"status":200,"body":"{\n \"enabled\": true,\n \"shields\": [\n \"block\"\n ],\n \"allowlist\": [\n \"allowlist\"\n ],\n \"mode\": \"count_per_identifier_and_ip\",\n \"max_attempts\": 1\n}","headers":{"Content-Type":"application/json"}},"uuid":"7870c330-d1c9-4a9f-9745-40e1d8b2d0ac","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"23e440e9-0ef4-4ec5-96f3-0b4d84085d92","name":"Update Brute-force settings - default","request":{"urlPathTemplate":"/attack-protection/brute-force-protection","method":"PATCH"},"response":{"status":200,"body":"{\n \"enabled\": true,\n \"shields\": [\n \"block\"\n ],\n \"allowlist\": [\n \"allowlist\"\n ],\n \"mode\": \"count_per_identifier_and_ip\",\n \"max_attempts\": 1\n}","headers":{"Content-Type":"application/json"}},"uuid":"23e440e9-0ef4-4ec5-96f3-0b4d84085d92","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"1cfbbf1e-0b0a-4d9e-bfe5-8d796adbfb34","name":"Get the CAPTCHA configuration for a tenant - default","request":{"urlPathTemplate":"/attack-protection/captcha","method":"GET"},"response":{"status":200,"body":"{\n \"active_provider_id\": \"active_provider_id\",\n \"arkose\": {\n \"site_key\": \"site_key\",\n \"fail_open\": true,\n \"client_subdomain\": \"client_subdomain\",\n \"verify_subdomain\": \"verify_subdomain\"\n },\n \"auth_challenge\": {\n \"fail_open\": true\n },\n \"hcaptcha\": {\n \"site_key\": \"site_key\"\n },\n \"friendly_captcha\": {\n \"site_key\": \"site_key\"\n },\n \"recaptcha_enterprise\": {\n \"site_key\": \"site_key\",\n \"project_id\": \"project_id\"\n },\n \"recaptcha_v2\": {\n \"site_key\": \"site_key\"\n },\n \"simple_captcha\": {\n \"key\": \"value\"\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"1cfbbf1e-0b0a-4d9e-bfe5-8d796adbfb34","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"c8a6243c-e0ad-49f2-8b47-405276a8ae5e","name":"Partial Update for CAPTCHA Configuration - default","request":{"urlPathTemplate":"/attack-protection/captcha","method":"PATCH"},"response":{"status":200,"body":"{\n \"active_provider_id\": \"active_provider_id\",\n \"arkose\": {\n \"site_key\": \"site_key\",\n \"fail_open\": true,\n \"client_subdomain\": \"client_subdomain\",\n \"verify_subdomain\": \"verify_subdomain\"\n },\n \"auth_challenge\": {\n \"fail_open\": true\n },\n \"hcaptcha\": {\n \"site_key\": \"site_key\"\n },\n \"friendly_captcha\": {\n \"site_key\": \"site_key\"\n },\n \"recaptcha_enterprise\": {\n \"site_key\": \"site_key\",\n \"project_id\": \"project_id\"\n },\n \"recaptcha_v2\": {\n \"site_key\": \"site_key\"\n },\n \"simple_captcha\": {\n \"key\": \"value\"\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"c8a6243c-e0ad-49f2-8b47-405276a8ae5e","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"a3ae14b8-1582-4cae-bb51-84b1d3b3fccf","name":"Get Suspicious IP Throttling settings - default","request":{"urlPathTemplate":"/attack-protection/suspicious-ip-throttling","method":"GET"},"response":{"status":200,"body":"{\n \"enabled\": true,\n \"shields\": [\n \"block\"\n ],\n \"allowlist\": [\n \"allowlist\"\n ],\n \"stage\": {\n \"pre-login\": {\n \"max_attempts\": 1,\n \"rate\": 1\n },\n \"pre-user-registration\": {\n \"max_attempts\": 1,\n \"rate\": 1\n }\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"a3ae14b8-1582-4cae-bb51-84b1d3b3fccf","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"119c9fe7-b349-4ad0-8846-3e6be6a9661e","name":"Update Suspicious IP Throttling settings - default","request":{"urlPathTemplate":"/attack-protection/suspicious-ip-throttling","method":"PATCH"},"response":{"status":200,"body":"{\n \"enabled\": true,\n \"shields\": [\n \"block\"\n ],\n \"allowlist\": [\n \"allowlist\"\n ],\n \"stage\": {\n \"pre-login\": {\n \"max_attempts\": 1,\n \"rate\": 1\n },\n \"pre-user-registration\": {\n \"max_attempts\": 1,\n \"rate\": 1\n }\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"119c9fe7-b349-4ad0-8846-3e6be6a9661e","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"bdf661b2-3819-41c2-98f8-4b9137f67189","name":"Get template for New Universal Login Experience - default","request":{"urlPathTemplate":"/branding/templates/universal-login","method":"GET"},"response":{"status":200,"body":"{\n \"body\": \"body\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"bdf661b2-3819-41c2-98f8-4b9137f67189","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"44f5b8dc-7d64-47a1-8889-79cda94f7809","name":"Set template for New Universal Login Experience - default","request":{"urlPathTemplate":"/branding/templates/universal-login","method":"PUT"},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"44f5b8dc-7d64-47a1-8889-79cda94f7809","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"c2b51bd9-187b-466d-8fe6-68a2eb02e00f","name":"Delete template for New Universal Login Experience - default","request":{"urlPathTemplate":"/branding/templates/universal-login","method":"DELETE"},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"c2b51bd9-187b-466d-8fe6-68a2eb02e00f","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"2c7a5627-a851-4881-9e60-689c81a3122b","name":"Create branding theme - default","request":{"urlPathTemplate":"/branding/themes","method":"POST"},"response":{"status":200,"body":"{\n \"borders\": {\n \"button_border_radius\": 1.1,\n \"button_border_weight\": 1.1,\n \"buttons_style\": \"pill\",\n \"input_border_radius\": 1.1,\n \"input_border_weight\": 1.1,\n \"inputs_style\": \"pill\",\n \"show_widget_shadow\": true,\n \"widget_border_weight\": 1.1,\n \"widget_corner_radius\": 1.1\n },\n \"colors\": {\n \"base_focus_color\": \"base_focus_color\",\n \"base_hover_color\": \"base_hover_color\",\n \"body_text\": \"body_text\",\n \"captcha_widget_theme\": \"auto\",\n \"error\": \"error\",\n \"header\": \"header\",\n \"icons\": \"icons\",\n \"input_background\": \"input_background\",\n \"input_border\": \"input_border\",\n \"input_filled_text\": \"input_filled_text\",\n \"input_labels_placeholders\": \"input_labels_placeholders\",\n \"links_focused_components\": \"links_focused_components\",\n \"primary_button\": \"primary_button\",\n \"primary_button_label\": \"primary_button_label\",\n \"read_only_background\": \"read_only_background\",\n \"secondary_button_border\": \"secondary_button_border\",\n \"secondary_button_label\": \"secondary_button_label\",\n \"success\": \"success\",\n \"widget_background\": \"widget_background\",\n \"widget_border\": \"widget_border\"\n },\n \"displayName\": \"displayName\",\n \"fonts\": {\n \"body_text\": {\n \"bold\": true,\n \"size\": 1.1\n },\n \"buttons_text\": {\n \"bold\": true,\n \"size\": 1.1\n },\n \"font_url\": \"font_url\",\n \"input_labels\": {\n \"bold\": true,\n \"size\": 1.1\n },\n \"links\": {\n \"bold\": true,\n \"size\": 1.1\n },\n \"links_style\": \"normal\",\n \"reference_text_size\": 1.1,\n \"subtitle\": {\n \"bold\": true,\n \"size\": 1.1\n },\n \"title\": {\n \"bold\": true,\n \"size\": 1.1\n }\n },\n \"page_background\": {\n \"background_color\": \"background_color\",\n \"background_image_url\": \"background_image_url\",\n \"page_layout\": \"center\"\n },\n \"themeId\": \"themeId\",\n \"widget\": {\n \"header_text_alignment\": \"center\",\n \"logo_height\": 1.1,\n \"logo_position\": \"center\",\n \"logo_url\": \"logo_url\",\n \"social_buttons_layout\": \"bottom\"\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"2c7a5627-a851-4881-9e60-689c81a3122b","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"91d16fa4-7e8b-4de2-aa78-061a5267295b","name":"Get default branding theme - default","request":{"urlPathTemplate":"/branding/themes/default","method":"GET"},"response":{"status":200,"body":"{\n \"borders\": {\n \"button_border_radius\": 1.1,\n \"button_border_weight\": 1.1,\n \"buttons_style\": \"pill\",\n \"input_border_radius\": 1.1,\n \"input_border_weight\": 1.1,\n \"inputs_style\": \"pill\",\n \"show_widget_shadow\": true,\n \"widget_border_weight\": 1.1,\n \"widget_corner_radius\": 1.1\n },\n \"colors\": {\n \"base_focus_color\": \"base_focus_color\",\n \"base_hover_color\": \"base_hover_color\",\n \"body_text\": \"body_text\",\n \"captcha_widget_theme\": \"auto\",\n \"error\": \"error\",\n \"header\": \"header\",\n \"icons\": \"icons\",\n \"input_background\": \"input_background\",\n \"input_border\": \"input_border\",\n \"input_filled_text\": \"input_filled_text\",\n \"input_labels_placeholders\": \"input_labels_placeholders\",\n \"links_focused_components\": \"links_focused_components\",\n \"primary_button\": \"primary_button\",\n \"primary_button_label\": \"primary_button_label\",\n \"read_only_background\": \"read_only_background\",\n \"secondary_button_border\": \"secondary_button_border\",\n \"secondary_button_label\": \"secondary_button_label\",\n \"success\": \"success\",\n \"widget_background\": \"widget_background\",\n \"widget_border\": \"widget_border\"\n },\n \"displayName\": \"displayName\",\n \"fonts\": {\n \"body_text\": {\n \"bold\": true,\n \"size\": 1.1\n },\n \"buttons_text\": {\n \"bold\": true,\n \"size\": 1.1\n },\n \"font_url\": \"font_url\",\n \"input_labels\": {\n \"bold\": true,\n \"size\": 1.1\n },\n \"links\": {\n \"bold\": true,\n \"size\": 1.1\n },\n \"links_style\": \"normal\",\n \"reference_text_size\": 1.1,\n \"subtitle\": {\n \"bold\": true,\n \"size\": 1.1\n },\n \"title\": {\n \"bold\": true,\n \"size\": 1.1\n }\n },\n \"page_background\": {\n \"background_color\": \"background_color\",\n \"background_image_url\": \"background_image_url\",\n \"page_layout\": \"center\"\n },\n \"themeId\": \"themeId\",\n \"widget\": {\n \"header_text_alignment\": \"center\",\n \"logo_height\": 1.1,\n \"logo_position\": \"center\",\n \"logo_url\": \"logo_url\",\n \"social_buttons_layout\": \"bottom\"\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"91d16fa4-7e8b-4de2-aa78-061a5267295b","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"f102da1c-5323-41ec-b320-888d05f069b8","name":"Get branding theme - default","request":{"urlPathTemplate":"/branding/themes/{themeId}","method":"GET","pathParameters":{"themeId":{"equalTo":"themeId"}}},"response":{"status":200,"body":"{\n \"borders\": {\n \"button_border_radius\": 1.1,\n \"button_border_weight\": 1.1,\n \"buttons_style\": \"pill\",\n \"input_border_radius\": 1.1,\n \"input_border_weight\": 1.1,\n \"inputs_style\": \"pill\",\n \"show_widget_shadow\": true,\n \"widget_border_weight\": 1.1,\n \"widget_corner_radius\": 1.1\n },\n \"colors\": {\n \"base_focus_color\": \"base_focus_color\",\n \"base_hover_color\": \"base_hover_color\",\n \"body_text\": \"body_text\",\n \"captcha_widget_theme\": \"auto\",\n \"error\": \"error\",\n \"header\": \"header\",\n \"icons\": \"icons\",\n \"input_background\": \"input_background\",\n \"input_border\": \"input_border\",\n \"input_filled_text\": \"input_filled_text\",\n \"input_labels_placeholders\": \"input_labels_placeholders\",\n \"links_focused_components\": \"links_focused_components\",\n \"primary_button\": \"primary_button\",\n \"primary_button_label\": \"primary_button_label\",\n \"read_only_background\": \"read_only_background\",\n \"secondary_button_border\": \"secondary_button_border\",\n \"secondary_button_label\": \"secondary_button_label\",\n \"success\": \"success\",\n \"widget_background\": \"widget_background\",\n \"widget_border\": \"widget_border\"\n },\n \"displayName\": \"displayName\",\n \"fonts\": {\n \"body_text\": {\n \"bold\": true,\n \"size\": 1.1\n },\n \"buttons_text\": {\n \"bold\": true,\n \"size\": 1.1\n },\n \"font_url\": \"font_url\",\n \"input_labels\": {\n \"bold\": true,\n \"size\": 1.1\n },\n \"links\": {\n \"bold\": true,\n \"size\": 1.1\n },\n \"links_style\": \"normal\",\n \"reference_text_size\": 1.1,\n \"subtitle\": {\n \"bold\": true,\n \"size\": 1.1\n },\n \"title\": {\n \"bold\": true,\n \"size\": 1.1\n }\n },\n \"page_background\": {\n \"background_color\": \"background_color\",\n \"background_image_url\": \"background_image_url\",\n \"page_layout\": \"center\"\n },\n \"themeId\": \"themeId\",\n \"widget\": {\n \"header_text_alignment\": \"center\",\n \"logo_height\": 1.1,\n \"logo_position\": \"center\",\n \"logo_url\": \"logo_url\",\n \"social_buttons_layout\": \"bottom\"\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"f102da1c-5323-41ec-b320-888d05f069b8","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"215eeb29-68c9-4243-857e-d87a7c62795f","name":"Delete branding theme - default","request":{"urlPathTemplate":"/branding/themes/{themeId}","method":"DELETE","pathParameters":{"themeId":{"equalTo":"themeId"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"215eeb29-68c9-4243-857e-d87a7c62795f","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"2dbbd929-7e98-438f-8310-2500cb90f70c","name":"Update branding theme - default","request":{"urlPathTemplate":"/branding/themes/{themeId}","method":"PATCH","pathParameters":{"themeId":{"equalTo":"themeId"}}},"response":{"status":200,"body":"{\n \"borders\": {\n \"button_border_radius\": 1.1,\n \"button_border_weight\": 1.1,\n \"buttons_style\": \"pill\",\n \"input_border_radius\": 1.1,\n \"input_border_weight\": 1.1,\n \"inputs_style\": \"pill\",\n \"show_widget_shadow\": true,\n \"widget_border_weight\": 1.1,\n \"widget_corner_radius\": 1.1\n },\n \"colors\": {\n \"base_focus_color\": \"base_focus_color\",\n \"base_hover_color\": \"base_hover_color\",\n \"body_text\": \"body_text\",\n \"captcha_widget_theme\": \"auto\",\n \"error\": \"error\",\n \"header\": \"header\",\n \"icons\": \"icons\",\n \"input_background\": \"input_background\",\n \"input_border\": \"input_border\",\n \"input_filled_text\": \"input_filled_text\",\n \"input_labels_placeholders\": \"input_labels_placeholders\",\n \"links_focused_components\": \"links_focused_components\",\n \"primary_button\": \"primary_button\",\n \"primary_button_label\": \"primary_button_label\",\n \"read_only_background\": \"read_only_background\",\n \"secondary_button_border\": \"secondary_button_border\",\n \"secondary_button_label\": \"secondary_button_label\",\n \"success\": \"success\",\n \"widget_background\": \"widget_background\",\n \"widget_border\": \"widget_border\"\n },\n \"displayName\": \"displayName\",\n \"fonts\": {\n \"body_text\": {\n \"bold\": true,\n \"size\": 1.1\n },\n \"buttons_text\": {\n \"bold\": true,\n \"size\": 1.1\n },\n \"font_url\": \"font_url\",\n \"input_labels\": {\n \"bold\": true,\n \"size\": 1.1\n },\n \"links\": {\n \"bold\": true,\n \"size\": 1.1\n },\n \"links_style\": \"normal\",\n \"reference_text_size\": 1.1,\n \"subtitle\": {\n \"bold\": true,\n \"size\": 1.1\n },\n \"title\": {\n \"bold\": true,\n \"size\": 1.1\n }\n },\n \"page_background\": {\n \"background_color\": \"background_color\",\n \"background_image_url\": \"background_image_url\",\n \"page_layout\": \"center\"\n },\n \"themeId\": \"themeId\",\n \"widget\": {\n \"header_text_alignment\": \"center\",\n \"logo_height\": 1.1,\n \"logo_position\": \"center\",\n \"logo_url\": \"logo_url\",\n \"social_buttons_layout\": \"bottom\"\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"2dbbd929-7e98-438f-8310-2500cb90f70c","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"520b4b30-1317-42da-89bf-a0491d1694b6","name":"Get a list of phone providers - default","request":{"urlPathTemplate":"/branding/phone/providers","method":"GET"},"response":{"status":200,"body":"{\n \"providers\": [\n {\n \"id\": \"id\",\n \"tenant\": \"tenant\",\n \"name\": \"twilio\",\n \"channel\": \"phone\",\n \"disabled\": true,\n \"configuration\": {\n \"sid\": \"sid\",\n \"delivery_methods\": [\n \"text\"\n ]\n },\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"520b4b30-1317-42da-89bf-a0491d1694b6","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"be5761ff-7af6-40ca-95bb-4fdc3bf8eb00","name":"Configure the phone provider - default","request":{"urlPathTemplate":"/branding/phone/providers","method":"POST"},"response":{"status":201,"body":"{\n \"id\": \"id\",\n \"tenant\": \"tenant\",\n \"name\": \"twilio\",\n \"channel\": \"phone\",\n \"disabled\": true,\n \"configuration\": {\n \"default_from\": \"default_from\",\n \"mssid\": \"mssid\",\n \"sid\": \"sid\",\n \"delivery_methods\": [\n \"text\"\n ]\n },\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"be5761ff-7af6-40ca-95bb-4fdc3bf8eb00","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"8c639058-4844-47c5-8ad8-c0ccd33399bb","name":"Get a phone provider - default","request":{"urlPathTemplate":"/branding/phone/providers/{id}","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"tenant\": \"tenant\",\n \"name\": \"twilio\",\n \"channel\": \"phone\",\n \"disabled\": true,\n \"configuration\": {\n \"default_from\": \"default_from\",\n \"mssid\": \"mssid\",\n \"sid\": \"sid\",\n \"delivery_methods\": [\n \"text\"\n ]\n },\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"8c639058-4844-47c5-8ad8-c0ccd33399bb","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"a6175428-056a-47f4-b776-4dcf8260822c","name":"Deletes a Phone Provider - default","request":{"urlPathTemplate":"/branding/phone/providers/{id}","method":"DELETE","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"a6175428-056a-47f4-b776-4dcf8260822c","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"95edda2c-d9d9-4854-9130-044ebb441bd7","name":"Update the phone provider - default","request":{"urlPathTemplate":"/branding/phone/providers/{id}","method":"PATCH","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"tenant\": \"tenant\",\n \"name\": \"twilio\",\n \"channel\": \"phone\",\n \"disabled\": true,\n \"configuration\": {\n \"default_from\": \"default_from\",\n \"mssid\": \"mssid\",\n \"sid\": \"sid\",\n \"delivery_methods\": [\n \"text\"\n ]\n },\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"95edda2c-d9d9-4854-9130-044ebb441bd7","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"eced0fdd-3915-430a-8c28-1161ab6a3313","name":"Send a test phone notification for the configured provider - default","request":{"urlPathTemplate":"/branding/phone/providers/{id}/try","method":"POST","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":202,"body":"{\n \"code\": 1.1,\n \"message\": \"message\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"eced0fdd-3915-430a-8c28-1161ab6a3313","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"927ee9f5-34f7-4b77-83bf-5eb0b1a61e2d","name":"Get a list of phone notification templates - default","request":{"urlPathTemplate":"/branding/phone/templates","method":"GET"},"response":{"status":200,"body":"{\n \"templates\": [\n {\n \"id\": \"id\",\n \"channel\": \"channel\",\n \"customizable\": true,\n \"tenant\": \"tenant\",\n \"content\": {},\n \"type\": \"otp_verify\",\n \"disabled\": true\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"927ee9f5-34f7-4b77-83bf-5eb0b1a61e2d","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"300d3eb8-52bc-4001-8af4-a0594f4242d9","name":"Create a phone notification template - default","request":{"urlPathTemplate":"/branding/phone/templates","method":"POST"},"response":{"status":201,"body":"{\n \"id\": \"id\",\n \"channel\": \"channel\",\n \"customizable\": true,\n \"tenant\": \"tenant\",\n \"content\": {\n \"syntax\": \"syntax\",\n \"from\": \"from\",\n \"body\": {\n \"text\": \"text\",\n \"voice\": \"voice\"\n }\n },\n \"type\": \"otp_verify\",\n \"disabled\": true\n}","headers":{"Content-Type":"application/json"}},"uuid":"300d3eb8-52bc-4001-8af4-a0594f4242d9","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"76aa966c-5fbe-4a23-a2a4-7cbf13eb043c","name":"Get a phone notification template - default","request":{"urlPathTemplate":"/branding/phone/templates/{id}","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"channel\": \"channel\",\n \"customizable\": true,\n \"tenant\": \"tenant\",\n \"content\": {\n \"syntax\": \"syntax\",\n \"from\": \"from\",\n \"body\": {\n \"text\": \"text\",\n \"voice\": \"voice\"\n }\n },\n \"type\": \"otp_verify\",\n \"disabled\": true\n}","headers":{"Content-Type":"application/json"}},"uuid":"76aa966c-5fbe-4a23-a2a4-7cbf13eb043c","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"97c15733-1abd-4f5e-8eda-3dc1b372e0ec","name":"Delete a phone notification template - default","request":{"urlPathTemplate":"/branding/phone/templates/{id}","method":"DELETE","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"97c15733-1abd-4f5e-8eda-3dc1b372e0ec","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"2e4c517e-f1d0-4252-bfea-7b6342825fba","name":"Update a phone notification template - default","request":{"urlPathTemplate":"/branding/phone/templates/{id}","method":"PATCH","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"channel\": \"channel\",\n \"customizable\": true,\n \"tenant\": \"tenant\",\n \"content\": {\n \"syntax\": \"syntax\",\n \"from\": \"from\",\n \"body\": {\n \"text\": \"text\",\n \"voice\": \"voice\"\n }\n },\n \"type\": \"otp_verify\",\n \"disabled\": true\n}","headers":{"Content-Type":"application/json"}},"uuid":"2e4c517e-f1d0-4252-bfea-7b6342825fba","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"7d7a4ccb-4b23-4fb0-813d-9f0eef8f6ed4","name":"Resets a phone notification template values - default","request":{"urlPathTemplate":"/branding/phone/templates/{id}/reset","method":"PATCH","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"id\": \"x\",\n \"channel\": \"channel\",\n \"customizable\": true,\n \"tenant\": \"x\",\n \"content\": {\n \"syntax\": \"syntax\",\n \"from\": \"x\",\n \"body\": {\n \"text\": \"x\",\n \"voice\": \"x\"\n }\n },\n \"type\": \"otp_verify\",\n \"disabled\": true\n}","headers":{"Content-Type":"application/json"}},"uuid":"7d7a4ccb-4b23-4fb0-813d-9f0eef8f6ed4","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"0d9ba799-020f-40db-86d6-08de485ad618","name":"Send a test phone notification for the configured template - default","request":{"urlPathTemplate":"/branding/phone/templates/{id}/try","method":"POST","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":202,"body":"{\n \"message\": \"message\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"0d9ba799-020f-40db-86d6-08de485ad618","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"f3b442cc-02a6-4c76-9a8f-3c3bd4c6efde","name":"Get the organizations associated to a client grant - default","request":{"urlPathTemplate":"/client-grants/{id}/organizations","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"next\": \"next\",\n \"organizations\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"display_name\": \"display_name\",\n \"token_quota\": {\n \"client_credentials\": {}\n }\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"f3b442cc-02a6-4c76-9a8f-3c3bd4c6efde","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"318739d6-2060-4406-9548-e1dca9fc9306","name":"Get client credentials - default","request":{"urlPathTemplate":"/clients/{client_id}/credentials","method":"GET","pathParameters":{"client_id":{"equalTo":"client_id"}}},"response":{"status":200,"body":"[\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"kid\": \"kid\",\n \"alg\": \"RS256\",\n \"credential_type\": \"public_key\",\n \"subject_dn\": \"subject_dn\",\n \"thumbprint_sha256\": \"thumbprint_sha256\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"expires_at\": \"2024-01-15T09:30:00Z\"\n }\n]","headers":{"Content-Type":"application/json"}},"uuid":"318739d6-2060-4406-9548-e1dca9fc9306","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"e1b4ce2a-40cd-428d-98c4-4fe2c4dfb358","name":"Create a client credential - default","request":{"urlPathTemplate":"/clients/{client_id}/credentials","method":"POST","pathParameters":{"client_id":{"equalTo":"client_id"}}},"response":{"status":201,"body":"{\n \"id\": \"id\",\n \"name\": \"name\",\n \"kid\": \"kid\",\n \"alg\": \"RS256\",\n \"credential_type\": \"public_key\",\n \"subject_dn\": \"subject_dn\",\n \"thumbprint_sha256\": \"thumbprint_sha256\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"expires_at\": \"2024-01-15T09:30:00Z\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"e1b4ce2a-40cd-428d-98c4-4fe2c4dfb358","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"84fb49da-5fa4-4f09-8176-cf14ff179829","name":"Get client credential details - default","request":{"urlPathTemplate":"/clients/{client_id}/credentials/{credential_id}","method":"GET","pathParameters":{"client_id":{"equalTo":"client_id"},"credential_id":{"equalTo":"credential_id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"name\": \"name\",\n \"kid\": \"kid\",\n \"alg\": \"RS256\",\n \"credential_type\": \"public_key\",\n \"subject_dn\": \"subject_dn\",\n \"thumbprint_sha256\": \"thumbprint_sha256\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"expires_at\": \"2024-01-15T09:30:00Z\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"84fb49da-5fa4-4f09-8176-cf14ff179829","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"ac24c006-0300-485b-b881-9bfd0a38c4aa","name":"Delete a client credential - default","request":{"urlPathTemplate":"/clients/{client_id}/credentials/{credential_id}","method":"DELETE","pathParameters":{"client_id":{"equalTo":"client_id"},"credential_id":{"equalTo":"credential_id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"ac24c006-0300-485b-b881-9bfd0a38c4aa","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"c820cce1-37c3-4aa6-8700-119563b70d23","name":"Update a client credential - default","request":{"urlPathTemplate":"/clients/{client_id}/credentials/{credential_id}","method":"PATCH","pathParameters":{"client_id":{"equalTo":"client_id"},"credential_id":{"equalTo":"credential_id"}}},"response":{"status":201,"body":"{\n \"id\": \"id\",\n \"name\": \"name\",\n \"kid\": \"kid\",\n \"alg\": \"RS256\",\n \"credential_type\": \"public_key\",\n \"subject_dn\": \"subject_dn\",\n \"thumbprint_sha256\": \"thumbprint_sha256\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"expires_at\": \"2024-01-15T09:30:00Z\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"c820cce1-37c3-4aa6-8700-119563b70d23","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"324ddd4f-5b97-4bf3-8c51-91ad2c931c47","name":"Get enabled connections for a client - default","request":{"urlPathTemplate":"/clients/{id}/connections","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"connections\": [\n {\n \"name\": \"name\",\n \"display_name\": \"display_name\",\n \"options\": {\n \"key\": \"value\"\n },\n \"id\": \"id\",\n \"strategy\": \"strategy\",\n \"realms\": [\n \"realms\"\n ],\n \"is_domain_connection\": true,\n \"show_as_button\": true,\n \"authentication\": {\n \"active\": true\n },\n \"connected_accounts\": {\n \"active\": true\n }\n }\n ],\n \"next\": \"next\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"324ddd4f-5b97-4bf3-8c51-91ad2c931c47","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"4cda0987-d608-47ba-b465-245ecfaabb90","name":"Get enabled clients for a connection - default","request":{"urlPathTemplate":"/connections/{id}/clients","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"clients\": [\n {\n \"client_id\": \"client_id\"\n }\n ],\n \"next\": \"next\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"4cda0987-d608-47ba-b465-245ecfaabb90","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"0c56da15-4d9a-470c-9fcd-64f2c04dd3d3","name":"Update enabled clients for a connection - default","request":{"urlPathTemplate":"/connections/{id}/clients","method":"PATCH","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"0c56da15-4d9a-470c-9fcd-64f2c04dd3d3","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"feeddf21-212e-4dbc-a0eb-4a922ec0341b","name":"Get a directory provisioning configuration - default","request":{"urlPathTemplate":"/connections/{id}/directory-provisioning","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"connection_id\": \"connection_id\",\n \"connection_name\": \"connection_name\",\n \"strategy\": \"strategy\",\n \"mapping\": [\n {\n \"auth0\": \"auth0\",\n \"idp\": \"idp\"\n }\n ],\n \"synchronize_automatically\": true,\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"last_synchronization_at\": \"2024-01-15T09:30:00Z\",\n \"last_synchronization_status\": \"last_synchronization_status\",\n \"last_synchronization_error\": \"last_synchronization_error\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"feeddf21-212e-4dbc-a0eb-4a922ec0341b","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"3cfd3977-6fa4-44df-bdf3-78fee867315a","name":"Create a directory provisioning configuration - default","request":{"urlPathTemplate":"/connections/{id}/directory-provisioning","method":"POST","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":201,"body":"{\n \"connection_id\": \"connection_id\",\n \"connection_name\": \"connection_name\",\n \"strategy\": \"strategy\",\n \"mapping\": [\n {\n \"auth0\": \"auth0\",\n \"idp\": \"idp\"\n }\n ],\n \"synchronize_automatically\": true,\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"last_synchronization_at\": \"2024-01-15T09:30:00Z\",\n \"last_synchronization_status\": \"last_synchronization_status\",\n \"last_synchronization_error\": \"last_synchronization_error\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"3cfd3977-6fa4-44df-bdf3-78fee867315a","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"2ee66349-1719-45a8-bbbc-65b8e4e783a3","name":"Delete a directory provisioning configuration - default","request":{"urlPathTemplate":"/connections/{id}/directory-provisioning","method":"DELETE","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"2ee66349-1719-45a8-bbbc-65b8e4e783a3","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"738a6f0e-a176-48c6-ac5b-1bcc67bc8656","name":"Patch a directory provisioning configuration - default","request":{"urlPathTemplate":"/connections/{id}/directory-provisioning","method":"PATCH","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"connection_id\": \"connection_id\",\n \"connection_name\": \"connection_name\",\n \"strategy\": \"strategy\",\n \"mapping\": [\n {\n \"auth0\": \"auth0\",\n \"idp\": \"idp\"\n }\n ],\n \"synchronize_automatically\": true,\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"last_synchronization_at\": \"2024-01-15T09:30:00Z\",\n \"last_synchronization_status\": \"last_synchronization_status\",\n \"last_synchronization_error\": \"last_synchronization_error\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"738a6f0e-a176-48c6-ac5b-1bcc67bc8656","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"181a029d-c4d1-4386-8c0d-4e517aea7579","name":"Get a connection's default directory provisioning attribute mapping - default","request":{"urlPathTemplate":"/connections/{id}/directory-provisioning/default-mapping","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"mapping\": [\n {\n \"auth0\": \"auth0\",\n \"idp\": \"idp\"\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"181a029d-c4d1-4386-8c0d-4e517aea7579","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"bf72570e-1315-4eaa-8145-3f400d3eccf0","name":"Get connection keys - default","request":{"urlPathTemplate":"/connections/{id}/keys","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"[\n {\n \"kid\": \"kid\",\n \"cert\": \"cert\",\n \"pkcs\": \"pkcs\",\n \"current\": true,\n \"next\": true,\n \"previous\": true,\n \"current_since\": \"current_since\",\n \"fingerprint\": \"fingerprint\",\n \"thumbprint\": \"thumbprint\",\n \"algorithm\": \"algorithm\",\n \"key_use\": \"encryption\",\n \"subject_dn\": \"subject_dn\"\n }\n]","headers":{"Content-Type":"application/json"}},"uuid":"bf72570e-1315-4eaa-8145-3f400d3eccf0","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"b11a1483-99df-4d6a-ace7-cb55bf35ba34","name":"Rotate connection keys - default","request":{"urlPathTemplate":"/connections/{id}/keys/rotate","method":"POST","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":201,"body":"{\n \"kid\": \"kid\",\n \"cert\": \"cert\",\n \"pkcs\": \"pkcs\",\n \"next\": true,\n \"fingerprint\": \"fingerprint\",\n \"thumbprint\": \"thumbprint\",\n \"algorithm\": \"algorithm\",\n \"key_use\": \"encryption\",\n \"subject_dn\": \"subject_dn\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"b11a1483-99df-4d6a-ace7-cb55bf35ba34","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"30a0fe58-a2bc-4645-9d9e-c1ca9f8c3e2f","name":"Get a connection's SCIM configuration - default","request":{"urlPathTemplate":"/connections/{id}/scim-configuration","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"connection_id\": \"connection_id\",\n \"connection_name\": \"connection_name\",\n \"strategy\": \"strategy\",\n \"tenant_name\": \"tenant_name\",\n \"user_id_attribute\": \"user_id_attribute\",\n \"mapping\": [\n {\n \"auth0\": \"auth0\",\n \"scim\": \"scim\"\n }\n ],\n \"created_at\": \"created_at\",\n \"updated_on\": \"updated_on\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"30a0fe58-a2bc-4645-9d9e-c1ca9f8c3e2f","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"45f92e80-8b92-4937-b29b-76fac22cf624","name":"Create a SCIM configuration - default","request":{"urlPathTemplate":"/connections/{id}/scim-configuration","method":"POST","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":201,"body":"{\n \"connection_id\": \"connection_id\",\n \"connection_name\": \"connection_name\",\n \"strategy\": \"strategy\",\n \"tenant_name\": \"tenant_name\",\n \"user_id_attribute\": \"user_id_attribute\",\n \"mapping\": [\n {\n \"auth0\": \"auth0\",\n \"scim\": \"scim\"\n }\n ],\n \"created_at\": \"created_at\",\n \"updated_on\": \"updated_on\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"45f92e80-8b92-4937-b29b-76fac22cf624","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"c9239c3d-f534-4c1d-a05e-64c0785f569a","name":"Delete a connection's SCIM configuration - default","request":{"urlPathTemplate":"/connections/{id}/scim-configuration","method":"DELETE","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"c9239c3d-f534-4c1d-a05e-64c0785f569a","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"d298cb6d-3c6a-4510-a78c-556fad17fd65","name":"Patch a connection's SCIM configuration - default","request":{"urlPathTemplate":"/connections/{id}/scim-configuration","method":"PATCH","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"connection_id\": \"connection_id\",\n \"connection_name\": \"connection_name\",\n \"strategy\": \"strategy\",\n \"tenant_name\": \"tenant_name\",\n \"user_id_attribute\": \"user_id_attribute\",\n \"mapping\": [\n {\n \"auth0\": \"auth0\",\n \"scim\": \"scim\"\n }\n ],\n \"created_at\": \"created_at\",\n \"updated_on\": \"updated_on\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"d298cb6d-3c6a-4510-a78c-556fad17fd65","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"4cc31df0-e4df-450c-9fac-16b9c893e9fa","name":"Get a connection's default SCIM mapping - default","request":{"urlPathTemplate":"/connections/{id}/scim-configuration/default-mapping","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"mapping\": [\n {\n \"auth0\": \"auth0\",\n \"scim\": \"scim\"\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"4cc31df0-e4df-450c-9fac-16b9c893e9fa","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"1d0cb62f-340c-4168-bd90-0fa1ba032e3a","name":"Delete a connection user - default","request":{"urlPathTemplate":"/connections/{id}/users","method":"DELETE","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"1d0cb62f-340c-4168-bd90-0fa1ba032e3a","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"175c0550-405b-4cd6-b498-6501a695ed33","name":"Request an on-demand synchronization of the directory - default","request":{"urlPathTemplate":"/connections/{id}/directory-provisioning/synchronizations","method":"POST","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":201,"body":"{\n \"connection_id\": \"connection_id\",\n \"synchronization_id\": \"synchronization_id\",\n \"status\": \"status\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"175c0550-405b-4cd6-b498-6501a695ed33","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"58eab082-4eda-42df-9764-ed787b38df1e","name":"Get a connection's SCIM tokens - default","request":{"urlPathTemplate":"/connections/{id}/scim-configuration/tokens","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"[\n {\n \"token_id\": \"token_id\",\n \"scopes\": [\n \"scopes\"\n ],\n \"created_at\": \"created_at\",\n \"valid_until\": \"valid_until\",\n \"last_used_at\": \"last_used_at\"\n }\n]","headers":{"Content-Type":"application/json"}},"uuid":"58eab082-4eda-42df-9764-ed787b38df1e","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"b55da7ed-453d-4799-b895-796f72020abb","name":"Create a SCIM Token - default","request":{"urlPathTemplate":"/connections/{id}/scim-configuration/tokens","method":"POST","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":201,"body":"{\n \"token_id\": \"token_id\",\n \"token\": \"token\",\n \"scopes\": [\n \"scopes\"\n ],\n \"created_at\": \"created_at\",\n \"valid_until\": \"valid_until\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"b55da7ed-453d-4799-b895-796f72020abb","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"e0eaabd0-7ebe-4b89-90e6-f0c7b43be7c9","name":"Delete a connection's SCIM token - default","request":{"urlPathTemplate":"/connections/{id}/scim-configuration/tokens/{tokenId}","method":"DELETE","pathParameters":{"id":{"equalTo":"id"},"tokenId":{"equalTo":"tokenId"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"e0eaabd0-7ebe-4b89-90e6-f0c7b43be7c9","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"53da06f4-1ed4-4e51-8bb8-0ce04e219464","name":"Get email provider - default","request":{"urlPathTemplate":"/emails/provider","method":"GET"},"response":{"status":200,"body":"{\n \"name\": \"name\",\n \"enabled\": true,\n \"default_from_address\": \"default_from_address\",\n \"credentials\": {\n \"api_user\": \"api_user\",\n \"region\": \"region\",\n \"smtp_host\": \"smtp_host\",\n \"smtp_port\": 1,\n \"smtp_user\": \"smtp_user\"\n },\n \"settings\": {\n \"key\": \"value\"\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"53da06f4-1ed4-4e51-8bb8-0ce04e219464","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"d1a0f535-378f-4200-865f-23ca6cf50b9d","name":"Configure email provider - default","request":{"urlPathTemplate":"/emails/provider","method":"POST"},"response":{"status":201,"body":"{\n \"name\": \"name\",\n \"enabled\": true,\n \"default_from_address\": \"default_from_address\",\n \"credentials\": {\n \"api_user\": \"api_user\",\n \"region\": \"region\",\n \"smtp_host\": \"smtp_host\",\n \"smtp_port\": 1,\n \"smtp_user\": \"smtp_user\"\n },\n \"settings\": {\n \"key\": \"value\"\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"d1a0f535-378f-4200-865f-23ca6cf50b9d","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"a57ca053-0cf9-416a-9cb3-144e7c5bd4d5","name":"Delete email provider - default","request":{"urlPathTemplate":"/emails/provider","method":"DELETE"},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"a57ca053-0cf9-416a-9cb3-144e7c5bd4d5","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"36f2813e-a299-41fd-a6d6-54938ea37a15","name":"Update email provider - default","request":{"urlPathTemplate":"/emails/provider","method":"PATCH"},"response":{"status":200,"body":"{\n \"name\": \"name\",\n \"enabled\": true,\n \"default_from_address\": \"default_from_address\",\n \"credentials\": {\n \"api_user\": \"api_user\",\n \"region\": \"region\",\n \"smtp_host\": \"smtp_host\",\n \"smtp_port\": 1,\n \"smtp_user\": \"smtp_user\"\n },\n \"settings\": {\n \"key\": \"value\"\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"36f2813e-a299-41fd-a6d6-54938ea37a15","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"c3751490-b492-4376-9596-bd7d6f5e8443","name":"Get this event stream's delivery history - default","request":{"urlPathTemplate":"/event-streams/{id}/deliveries","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"[\n {\n \"id\": \"id\",\n \"event_stream_id\": \"event_stream_id\",\n \"status\": \"failed\",\n \"event_type\": \"user.created\",\n \"attempts\": [\n {\n \"status\": \"failed\",\n \"timestamp\": \"2024-01-15T09:30:00Z\"\n }\n ],\n \"event\": {\n \"id\": \"id\",\n \"source\": \"source\",\n \"specversion\": \"specversion\",\n \"type\": \"type\",\n \"time\": \"2024-01-15T09:30:00Z\",\n \"data\": \"data\"\n }\n }\n]","headers":{"Content-Type":"application/json"}},"uuid":"c3751490-b492-4376-9596-bd7d6f5e8443","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"93fa5cb1-a92c-4b20-8483-814c91175496","name":"Get a specific event's delivery history - default","request":{"urlPathTemplate":"/event-streams/{id}/deliveries/{event_id}","method":"GET","pathParameters":{"id":{"equalTo":"id"},"event_id":{"equalTo":"event_id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"event_stream_id\": \"event_stream_id\",\n \"status\": \"failed\",\n \"event_type\": \"user.created\",\n \"attempts\": [\n {\n \"status\": \"failed\",\n \"timestamp\": \"2024-01-15T09:30:00Z\",\n \"error_message\": \"error_message\"\n }\n ],\n \"event\": {\n \"id\": \"id\",\n \"source\": \"source\",\n \"specversion\": \"specversion\",\n \"type\": \"type\",\n \"time\": \"2024-01-15T09:30:00Z\",\n \"data\": \"data\"\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"93fa5cb1-a92c-4b20-8483-814c91175496","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"25856d60-9bad-4777-b7f2-7b5e2656b133","name":"Redeliver failed events - default","request":{"urlPathTemplate":"/event-streams/{id}/redeliver","method":"POST","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":202,"body":"{\n \"date_from\": \"2024-01-15T09:30:00Z\",\n \"date_to\": \"2024-01-15T09:30:00Z\",\n \"statuses\": [\n \"failed\"\n ],\n \"event_types\": [\n \"user.created\"\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"25856d60-9bad-4777-b7f2-7b5e2656b133","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"05d8b619-8b8d-41ea-b60f-bea3298d5e33","name":"Redeliver a single failed event by ID - default","request":{"urlPathTemplate":"/event-streams/{id}/redeliver/{event_id}","method":"POST","pathParameters":{"id":{"equalTo":"id"},"event_id":{"equalTo":"event_id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"05d8b619-8b8d-41ea-b60f-bea3298d5e33","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"62d121a4-93bc-4281-8659-06708ac8d781","name":"Get flow executions - default","request":{"urlPathTemplate":"/flows/{flow_id}/executions","method":"GET","pathParameters":{"flow_id":{"equalTo":"flow_id"}}},"response":{"status":200,"body":"{\n \"next\": \"next\",\n \"executions\": [\n {\n \"id\": \"id\",\n \"trace_id\": \"trace_id\",\n \"journey_id\": \"journey_id\",\n \"status\": \"status\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"started_at\": \"2024-01-15T09:30:00Z\",\n \"ended_at\": \"2024-01-15T09:30:00Z\"\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"62d121a4-93bc-4281-8659-06708ac8d781","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"3151ee0d-c1ca-45b6-9f72-5b4138b4b90d","name":"Get a flow execution - default","request":{"urlPathTemplate":"/flows/{flow_id}/executions/{execution_id}","method":"GET","pathParameters":{"flow_id":{"equalTo":"flow_id"},"execution_id":{"equalTo":"execution_id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"trace_id\": \"trace_id\",\n \"journey_id\": \"journey_id\",\n \"status\": \"status\",\n \"debug\": {\n \"key\": \"value\"\n },\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"started_at\": \"2024-01-15T09:30:00Z\",\n \"ended_at\": \"2024-01-15T09:30:00Z\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"3151ee0d-c1ca-45b6-9f72-5b4138b4b90d","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"9f81cb02-c44f-4e52-a1a3-cc26c0ae01a5","name":"Delete a flow execution - default","request":{"urlPathTemplate":"/flows/{flow_id}/executions/{execution_id}","method":"DELETE","pathParameters":{"flow_id":{"equalTo":"flow_id"},"execution_id":{"equalTo":"execution_id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"9f81cb02-c44f-4e52-a1a3-cc26c0ae01a5","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"ee40f82d-4bce-4a5a-8cbb-bb5eda1909ee","name":"Get Flows Vault connection list - default","request":{"urlPathTemplate":"/flows/vault/connections","method":"GET"},"response":{"status":200,"body":"{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"total\": 1.1,\n \"connections\": [\n {\n \"id\": \"id\",\n \"app_id\": \"app_id\",\n \"name\": \"name\",\n \"account_name\": \"account_name\",\n \"ready\": true,\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"refreshed_at\": \"2024-01-15T09:30:00Z\",\n \"fingerprint\": \"fingerprint\"\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"ee40f82d-4bce-4a5a-8cbb-bb5eda1909ee","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"b56d64da-174f-4d7e-86e7-3240fb1a8174","name":"Create a Flows Vault connection - default","request":{"urlPathTemplate":"/flows/vault/connections","method":"POST"},"response":{"status":201,"body":"{\n \"id\": \"id\",\n \"app_id\": \"app_id\",\n \"environment\": \"environment\",\n \"name\": \"name\",\n \"account_name\": \"account_name\",\n \"ready\": true,\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"refreshed_at\": \"2024-01-15T09:30:00Z\",\n \"fingerprint\": \"fingerprint\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"b56d64da-174f-4d7e-86e7-3240fb1a8174","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"6cc30ec0-8e30-44ab-b033-e2db27abc3ac","name":"Get a Flows Vault connection - default","request":{"urlPathTemplate":"/flows/vault/connections/{id}","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"app_id\": \"app_id\",\n \"environment\": \"environment\",\n \"name\": \"name\",\n \"account_name\": \"account_name\",\n \"ready\": true,\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"refreshed_at\": \"2024-01-15T09:30:00Z\",\n \"fingerprint\": \"fingerprint\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"6cc30ec0-8e30-44ab-b033-e2db27abc3ac","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"97e2e46c-2af3-4cf0-b6df-e09cd0f4151a","name":"Delete a Flows Vault connection - default","request":{"urlPathTemplate":"/flows/vault/connections/{id}","method":"DELETE","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"97e2e46c-2af3-4cf0-b6df-e09cd0f4151a","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"cdbf8062-2c13-4861-9280-e1ef2af24823","name":"Update a Flows Vault connection - default","request":{"urlPathTemplate":"/flows/vault/connections/{id}","method":"PATCH","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"app_id\": \"app_id\",\n \"environment\": \"environment\",\n \"name\": \"name\",\n \"account_name\": \"account_name\",\n \"ready\": true,\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"refreshed_at\": \"2024-01-15T09:30:00Z\",\n \"fingerprint\": \"fingerprint\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"cdbf8062-2c13-4861-9280-e1ef2af24823","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"a2982e98-d69b-4815-a50d-57f1267374d8","name":"Create a multi-factor authentication enrollment ticket - default","request":{"urlPathTemplate":"/guardian/enrollments/ticket","method":"POST"},"response":{"status":200,"body":"{\n \"ticket_id\": \"ticket_id\",\n \"ticket_url\": \"ticket_url\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"a2982e98-d69b-4815-a50d-57f1267374d8","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"029d8a45-40e7-4697-b2da-a0c12a4d3895","name":"Get a multi-factor authentication enrollment - default","request":{"urlPathTemplate":"/guardian/enrollments/{id}","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"status\": \"pending\",\n \"name\": \"name\",\n \"identifier\": \"identifier\",\n \"phone_number\": \"phone_number\",\n \"enrolled_at\": \"enrolled_at\",\n \"last_auth\": \"last_auth\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"029d8a45-40e7-4697-b2da-a0c12a4d3895","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"d28abba4-f155-4fa4-ba9b-077e8ea016ad","name":"Delete a multi-factor authentication enrollment - default","request":{"urlPathTemplate":"/guardian/enrollments/{id}","method":"DELETE","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"d28abba4-f155-4fa4-ba9b-077e8ea016ad","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"12377456-a682-4cdc-b63d-41a188b3ce32","name":"Get Factors and multi-factor authentication details - default","request":{"urlPathTemplate":"/guardian/factors","method":"GET"},"response":{"status":200,"body":"[\n {\n \"enabled\": true,\n \"trial_expired\": true,\n \"name\": \"push-notification\"\n }\n]","headers":{"Content-Type":"application/json"}},"uuid":"12377456-a682-4cdc-b63d-41a188b3ce32","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"93c9905e-4981-4cb3-a7b0-026dab1704d6","name":"Update multi-factor authentication type - default","request":{"urlPathTemplate":"/guardian/factors/{name}","method":"PUT","pathParameters":{"name":{"equalTo":"push-notification"}}},"response":{"status":200,"body":"{\n \"enabled\": true\n}","headers":{"Content-Type":"application/json"}},"uuid":"93c9905e-4981-4cb3-a7b0-026dab1704d6","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"e47dd04a-f3a3-409a-a301-7732f16f3bec","name":"Get multi-factor authentication policies - default","request":{"urlPathTemplate":"/guardian/policies","method":"GET"},"response":{"status":200,"body":"[\n \"all-applications\"\n]","headers":{"Content-Type":"application/json"}},"uuid":"e47dd04a-f3a3-409a-a301-7732f16f3bec","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"8ee26dda-4638-4269-9b14-59f2907ef28b","name":"Update multi-factor authentication policies - default","request":{"urlPathTemplate":"/guardian/policies","method":"PUT"},"response":{"status":200,"body":"[\n \"all-applications\"\n]","headers":{"Content-Type":"application/json"}},"uuid":"8ee26dda-4638-4269-9b14-59f2907ef28b","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"ed435b3e-66b6-47b0-882f-08d926944cad","name":"Get Enabled Phone Factors - default","request":{"urlPathTemplate":"/guardian/factors/phone/message-types","method":"GET"},"response":{"status":200,"body":"{\n \"message_types\": [\n \"sms\"\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"ed435b3e-66b6-47b0-882f-08d926944cad","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"92b96146-6175-4994-87af-ac137f73595d","name":"Update the Enabled Phone Factors - default","request":{"urlPathTemplate":"/guardian/factors/phone/message-types","method":"PUT"},"response":{"status":200,"body":"{\n \"message_types\": [\n \"sms\"\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"92b96146-6175-4994-87af-ac137f73595d","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"bd1421c2-3dbe-4603-b96c-02e53872498b","name":"Get Twilio configuration - default","request":{"urlPathTemplate":"/guardian/factors/phone/providers/twilio","method":"GET"},"response":{"status":200,"body":"{\n \"from\": \"from\",\n \"messaging_service_sid\": \"messaging_service_sid\",\n \"auth_token\": \"auth_token\",\n \"sid\": \"sid\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"bd1421c2-3dbe-4603-b96c-02e53872498b","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"92ac09b5-25bb-4b34-8fad-73bbd1a12984","name":"Update Twilio configuration - default","request":{"urlPathTemplate":"/guardian/factors/phone/providers/twilio","method":"PUT"},"response":{"status":200,"body":"{\n \"from\": \"from\",\n \"messaging_service_sid\": \"messaging_service_sid\",\n \"auth_token\": \"auth_token\",\n \"sid\": \"sid\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"92ac09b5-25bb-4b34-8fad-73bbd1a12984","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"5c310715-a914-4928-9142-141be90dd71e","name":"Get phone provider configuration - default","request":{"urlPathTemplate":"/guardian/factors/phone/selected-provider","method":"GET"},"response":{"status":200,"body":"{\n \"provider\": \"auth0\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"5c310715-a914-4928-9142-141be90dd71e","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"555dfcb1-93af-4dcf-8241-1114028c32b4","name":"Update phone provider configuration - default","request":{"urlPathTemplate":"/guardian/factors/phone/selected-provider","method":"PUT"},"response":{"status":200,"body":"{\n \"provider\": \"auth0\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"555dfcb1-93af-4dcf-8241-1114028c32b4","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"0e83b2df-19bf-4909-b1c4-0522a7f929a3","name":"Get Enrollment and Verification Phone Templates - default","request":{"urlPathTemplate":"/guardian/factors/phone/templates","method":"GET"},"response":{"status":200,"body":"{\n \"enrollment_message\": \"enrollment_message\",\n \"verification_message\": \"verification_message\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"0e83b2df-19bf-4909-b1c4-0522a7f929a3","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"d55307be-4c05-42f6-888f-c5a6ee1d2ae2","name":"Update Enrollment and Verification Phone Templates - default","request":{"urlPathTemplate":"/guardian/factors/phone/templates","method":"PUT"},"response":{"status":200,"body":"{\n \"enrollment_message\": \"enrollment_message\",\n \"verification_message\": \"verification_message\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"d55307be-4c05-42f6-888f-c5a6ee1d2ae2","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"11ed0ad4-9dc8-48ea-bc9c-9824179b9f32","name":"Get APNS push notification configuration - default","request":{"urlPathTemplate":"/guardian/factors/push-notification/providers/apns","method":"GET"},"response":{"status":200,"body":"{\n \"bundle_id\": \"bundle_id\",\n \"sandbox\": true,\n \"enabled\": true\n}","headers":{"Content-Type":"application/json"}},"uuid":"11ed0ad4-9dc8-48ea-bc9c-9824179b9f32","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"fe724506-7b4f-4529-9a37-62629576864c","name":"Update APNs provider configuration - default","request":{"urlPathTemplate":"/guardian/factors/push-notification/providers/apns","method":"PATCH"},"response":{"status":200,"body":"{\n \"sandbox\": true,\n \"bundle_id\": \"bundle_id\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"fe724506-7b4f-4529-9a37-62629576864c","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"3e797ad0-d477-4cb8-8016-1e6e16c45357","name":"Updates FCM configuration - default","request":{"urlPathTemplate":"/guardian/factors/push-notification/providers/fcm","method":"PATCH"},"response":{"status":200,"body":"{\n \"key\": \"value\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"3e797ad0-d477-4cb8-8016-1e6e16c45357","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"ec207d8e-6926-4701-bfbc-e563ac76befe","name":"Updates FCMV1 configuration - default","request":{"urlPathTemplate":"/guardian/factors/push-notification/providers/fcmv1","method":"PATCH"},"response":{"status":200,"body":"{\n \"key\": \"value\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"ec207d8e-6926-4701-bfbc-e563ac76befe","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"a03df5fb-b6e0-4345-9c83-e920d88114c9","name":"Get AWS SNS configuration - default","request":{"urlPathTemplate":"/guardian/factors/push-notification/providers/sns","method":"GET"},"response":{"status":200,"body":"{\n \"aws_access_key_id\": \"aws_access_key_id\",\n \"aws_secret_access_key\": \"aws_secret_access_key\",\n \"aws_region\": \"aws_region\",\n \"sns_apns_platform_application_arn\": \"sns_apns_platform_application_arn\",\n \"sns_gcm_platform_application_arn\": \"sns_gcm_platform_application_arn\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"a03df5fb-b6e0-4345-9c83-e920d88114c9","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"6e8e169e-036c-4ebe-8171-a3aeb7c68ad5","name":"Update AWS SNS configuration - default","request":{"urlPathTemplate":"/guardian/factors/push-notification/providers/sns","method":"PUT"},"response":{"status":200,"body":"{\n \"aws_access_key_id\": \"aws_access_key_id\",\n \"aws_secret_access_key\": \"aws_secret_access_key\",\n \"aws_region\": \"aws_region\",\n \"sns_apns_platform_application_arn\": \"sns_apns_platform_application_arn\",\n \"sns_gcm_platform_application_arn\": \"sns_gcm_platform_application_arn\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"6e8e169e-036c-4ebe-8171-a3aeb7c68ad5","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"79a10ee8-bacd-486b-b5f3-4f23e2382c4b","name":"Update AWS SNS configuration - default","request":{"urlPathTemplate":"/guardian/factors/push-notification/providers/sns","method":"PATCH"},"response":{"status":200,"body":"{\n \"aws_access_key_id\": \"aws_access_key_id\",\n \"aws_secret_access_key\": \"aws_secret_access_key\",\n \"aws_region\": \"aws_region\",\n \"sns_apns_platform_application_arn\": \"sns_apns_platform_application_arn\",\n \"sns_gcm_platform_application_arn\": \"sns_gcm_platform_application_arn\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"79a10ee8-bacd-486b-b5f3-4f23e2382c4b","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"0496348c-7357-4623-8514-fb741a753c75","name":"Get push notification provider - default","request":{"urlPathTemplate":"/guardian/factors/push-notification/selected-provider","method":"GET"},"response":{"status":200,"body":"{\n \"provider\": \"guardian\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"0496348c-7357-4623-8514-fb741a753c75","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"7285a311-6499-4a95-a8cc-6701a6997bf5","name":"Update Push Notification configuration - default","request":{"urlPathTemplate":"/guardian/factors/push-notification/selected-provider","method":"PUT"},"response":{"status":200,"body":"{\n \"provider\": \"guardian\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"7285a311-6499-4a95-a8cc-6701a6997bf5","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"e8ca19da-0184-44a0-868c-f020f73cbcbe","name":"Get Twilio SMS configuration - default","request":{"urlPathTemplate":"/guardian/factors/sms/providers/twilio","method":"GET"},"response":{"status":200,"body":"{\n \"from\": \"from\",\n \"messaging_service_sid\": \"messaging_service_sid\",\n \"auth_token\": \"auth_token\",\n \"sid\": \"sid\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"e8ca19da-0184-44a0-868c-f020f73cbcbe","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"8e51f842-c731-4fc6-9f28-42d20d05f8a7","name":"Update Twilio SMS configuration - default","request":{"urlPathTemplate":"/guardian/factors/sms/providers/twilio","method":"PUT"},"response":{"status":200,"body":"{\n \"from\": \"from\",\n \"messaging_service_sid\": \"messaging_service_sid\",\n \"auth_token\": \"auth_token\",\n \"sid\": \"sid\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"8e51f842-c731-4fc6-9f28-42d20d05f8a7","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"a9bd6f03-210a-4eba-9f63-48eb355c59a5","name":"Get SMS configuration - default","request":{"urlPathTemplate":"/guardian/factors/sms/selected-provider","method":"GET"},"response":{"status":200,"body":"{\n \"provider\": \"auth0\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"a9bd6f03-210a-4eba-9f63-48eb355c59a5","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"69919759-0017-4dd6-8df8-a40088848ddb","name":"Update SMS configuration - default","request":{"urlPathTemplate":"/guardian/factors/sms/selected-provider","method":"PUT"},"response":{"status":200,"body":"{\n \"provider\": \"auth0\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"69919759-0017-4dd6-8df8-a40088848ddb","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"1731b364-a171-42f2-8475-62bdb634879d","name":"Get SMS enrollment and verification templates - default","request":{"urlPathTemplate":"/guardian/factors/sms/templates","method":"GET"},"response":{"status":200,"body":"{\n \"enrollment_message\": \"enrollment_message\",\n \"verification_message\": \"verification_message\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"1731b364-a171-42f2-8475-62bdb634879d","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"2b0be931-6224-442e-92ca-1b5dfe5c06ba","name":"Update SMS enrollment and verification templates - default","request":{"urlPathTemplate":"/guardian/factors/sms/templates","method":"PUT"},"response":{"status":200,"body":"{\n \"enrollment_message\": \"enrollment_message\",\n \"verification_message\": \"verification_message\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"2b0be931-6224-442e-92ca-1b5dfe5c06ba","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"47cb059e-e754-4e4c-804b-52d84dd12162","name":"Get DUO Configuration - default","request":{"urlPathTemplate":"/guardian/factors/duo/settings","method":"GET"},"response":{"status":200,"body":"{\n \"ikey\": \"ikey\",\n \"skey\": \"skey\",\n \"host\": \"host\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"47cb059e-e754-4e4c-804b-52d84dd12162","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"59380cca-acd7-464e-86e0-1017e022aaa0","name":"Update the DUO Configuration - default","request":{"urlPathTemplate":"/guardian/factors/duo/settings","method":"PUT"},"response":{"status":200,"body":"{\n \"ikey\": \"ikey\",\n \"skey\": \"skey\",\n \"host\": \"host\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"59380cca-acd7-464e-86e0-1017e022aaa0","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"38a5aa65-75f0-471c-ab5e-10b544359b3c","name":"Update the DUO Configuration - default","request":{"urlPathTemplate":"/guardian/factors/duo/settings","method":"PATCH"},"response":{"status":200,"body":"{\n \"ikey\": \"ikey\",\n \"skey\": \"skey\",\n \"host\": \"host\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"38a5aa65-75f0-471c-ab5e-10b544359b3c","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"fcdfec44-0fb3-42b6-a292-48e9fb13271a","name":"Get hook secrets - default","request":{"urlPathTemplate":"/hooks/{id}/secrets","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"key\": \"value\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"fcdfec44-0fb3-42b6-a292-48e9fb13271a","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"a4e022c8-8ee2-4d3b-a52d-18c34a18c1e2","name":"Add hook secrets - default","request":{"urlPathTemplate":"/hooks/{id}/secrets","method":"POST","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"a4e022c8-8ee2-4d3b-a52d-18c34a18c1e2","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"1e6e250b-ded1-4ca6-831a-83d54b71295e","name":"Delete hook secrets - default","request":{"urlPathTemplate":"/hooks/{id}/secrets","method":"DELETE","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"1e6e250b-ded1-4ca6-831a-83d54b71295e","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"81e2c92a-69de-446b-82c8-7f320f9e1060","name":"Update hook secrets - default","request":{"urlPathTemplate":"/hooks/{id}/secrets","method":"PATCH","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"81e2c92a-69de-446b-82c8-7f320f9e1060","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"a93c6324-dab3-4581-8117-74e0dc2c05b3","name":"Create export users job - default","request":{"urlPathTemplate":"/jobs/users-exports","method":"POST"},"response":{"status":200,"body":"{\n \"status\": \"status\",\n \"type\": \"type\",\n \"created_at\": \"created_at\",\n \"id\": \"id\",\n \"connection_id\": \"connection_id\",\n \"format\": \"json\",\n \"limit\": 1,\n \"fields\": [\n {\n \"name\": \"name\",\n \"export_as\": \"export_as\"\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"a93c6324-dab3-4581-8117-74e0dc2c05b3","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"d7d59bf9-f846-4967-a50c-0d5e2daaf044","name":"Create import users job - default","request":{"urlPathTemplate":"/jobs/users-imports","method":"POST"},"response":{"status":202,"body":"{\n \"status\": \"status\",\n \"type\": \"type\",\n \"created_at\": \"created_at\",\n \"id\": \"id\",\n \"connection_id\": \"connection_id\",\n \"external_id\": \"external_id\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"d7d59bf9-f846-4967-a50c-0d5e2daaf044","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"1ec86184-b7ac-4cff-9fa1-e78fcdcaa954","name":"Send an email address verification email - default","request":{"urlPathTemplate":"/jobs/verification-email","method":"POST"},"response":{"status":201,"body":"{\n \"status\": \"status\",\n \"type\": \"type\",\n \"created_at\": \"created_at\",\n \"id\": \"id\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"1ec86184-b7ac-4cff-9fa1-e78fcdcaa954","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"1ddcb674-4117-4538-98e8-5723fdb083e8","name":"Get job error details - default","request":{"urlPathTemplate":"/jobs/{id}/errors","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"[\n {\n \"user\": {\n \"key\": \"value\"\n },\n \"errors\": [\n {}\n ]\n }\n]","headers":{"Content-Type":"application/json"}},"uuid":"1ddcb674-4117-4538-98e8-5723fdb083e8","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"70e1c2da-e7db-401a-b166-be0b5da6139c","name":"Get custom signing keys - default","request":{"urlPathTemplate":"/keys/custom-signing","method":"GET"},"response":{"status":200,"body":"{\n \"keys\": [\n {\n \"kty\": \"EC\",\n \"kid\": \"kid\",\n \"use\": \"sig\",\n \"key_ops\": [\n \"verify\"\n ],\n \"alg\": \"RS256\",\n \"n\": \"n\",\n \"e\": \"e\",\n \"crv\": \"P-256\",\n \"x\": \"x\",\n \"y\": \"y\",\n \"x5u\": \"x5u\",\n \"x5c\": [\n \"x5c\"\n ],\n \"x5t\": \"x5t\",\n \"x5t#S256\": \"x5t#S256\"\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"70e1c2da-e7db-401a-b166-be0b5da6139c","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"3b40098d-d649-4030-bc12-31606e807e15","name":"Create or replace custom signing keys - default","request":{"urlPathTemplate":"/keys/custom-signing","method":"PUT"},"response":{"status":200,"body":"{\n \"keys\": [\n {\n \"kty\": \"EC\",\n \"kid\": \"kid\",\n \"use\": \"sig\",\n \"key_ops\": [\n \"verify\"\n ],\n \"alg\": \"RS256\",\n \"n\": \"n\",\n \"e\": \"e\",\n \"crv\": \"P-256\",\n \"x\": \"x\",\n \"y\": \"y\",\n \"x5u\": \"x5u\",\n \"x5c\": [\n \"x5c\"\n ],\n \"x5t\": \"x5t\",\n \"x5t#S256\": \"x5t#S256\"\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"3b40098d-d649-4030-bc12-31606e807e15","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"f9b82290-1c82-4a29-891c-cee6ec28bcc5","name":"Delete custom signing keys - default","request":{"urlPathTemplate":"/keys/custom-signing","method":"DELETE"},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"f9b82290-1c82-4a29-891c-cee6ec28bcc5","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"c09166ed-9d73-4607-92f6-ae884592a5e5","name":"Get all encryption keys - default","request":{"urlPathTemplate":"/keys/encryption","method":"GET"},"response":{"status":200,"body":"{\n \"start\": 1,\n \"limit\": 1,\n \"total\": 1,\n \"keys\": [\n {\n \"kid\": \"kid\",\n \"type\": \"customer-provided-root-key\",\n \"state\": \"pre-activation\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"parent_kid\": \"parent_kid\",\n \"public_key\": \"public_key\"\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"c09166ed-9d73-4607-92f6-ae884592a5e5","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"b0a9c75d-5268-41dd-849a-da3c0cfcb04b","name":"Create the new encryption key - default","request":{"urlPathTemplate":"/keys/encryption","method":"POST"},"response":{"status":201,"body":"{\n \"kid\": \"kid\",\n \"type\": \"customer-provided-root-key\",\n \"state\": \"pre-activation\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"parent_kid\": \"parent_kid\",\n \"public_key\": \"public_key\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"b0a9c75d-5268-41dd-849a-da3c0cfcb04b","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"974880c1-1ef6-4001-a614-aa43c37b4420","name":"Rekey the key hierarchy - default","request":{"urlPathTemplate":"/keys/encryption/rekey","method":"POST"},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"974880c1-1ef6-4001-a614-aa43c37b4420","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"77bab061-9dae-4268-84d0-0b63e263f1ab","name":"Get the encryption key by its key id - default","request":{"urlPathTemplate":"/keys/encryption/{kid}","method":"GET","pathParameters":{"kid":{"equalTo":"kid"}}},"response":{"status":200,"body":"{\n \"kid\": \"kid\",\n \"type\": \"customer-provided-root-key\",\n \"state\": \"pre-activation\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"parent_kid\": \"parent_kid\",\n \"public_key\": \"public_key\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"77bab061-9dae-4268-84d0-0b63e263f1ab","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"86a3fc30-c02a-4c36-ac4c-7900289870b8","name":"Import the encryption key - default","request":{"urlPathTemplate":"/keys/encryption/{kid}","method":"POST","pathParameters":{"kid":{"equalTo":"kid"}}},"response":{"status":201,"body":"{\n \"kid\": \"kid\",\n \"type\": \"customer-provided-root-key\",\n \"state\": \"pre-activation\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"parent_kid\": \"parent_kid\",\n \"public_key\": \"public_key\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"86a3fc30-c02a-4c36-ac4c-7900289870b8","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"cb3a536a-7775-4fcf-a037-f10b16d2fe1d","name":"Delete the encryption key by its key id - default","request":{"urlPathTemplate":"/keys/encryption/{kid}","method":"DELETE","pathParameters":{"kid":{"equalTo":"kid"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"cb3a536a-7775-4fcf-a037-f10b16d2fe1d","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"cf0b4ec6-52f1-4f55-974a-9eadd755c04f","name":"Create the public wrapping key - default","request":{"urlPathTemplate":"/keys/encryption/{kid}/wrapping-key","method":"POST","pathParameters":{"kid":{"equalTo":"kid"}}},"response":{"status":201,"body":"{\n \"public_key\": \"public_key\",\n \"algorithm\": \"CKM_RSA_AES_KEY_WRAP\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"cf0b4ec6-52f1-4f55-974a-9eadd755c04f","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"1bde50a3-a51e-41b4-9018-8f46bd597774","name":"Get all Application Signing Keys - default","request":{"urlPathTemplate":"/keys/signing","method":"GET"},"response":{"status":200,"body":"[\n {\n \"kid\": \"kid\",\n \"cert\": \"cert\",\n \"pkcs7\": \"pkcs7\",\n \"current\": true,\n \"next\": true,\n \"previous\": true,\n \"current_since\": \"current_since\",\n \"current_until\": \"current_until\",\n \"fingerprint\": \"fingerprint\",\n \"thumbprint\": \"thumbprint\",\n \"revoked\": true,\n \"revoked_at\": \"revoked_at\"\n }\n]","headers":{"Content-Type":"application/json"}},"uuid":"1bde50a3-a51e-41b4-9018-8f46bd597774","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"e9d4827d-c55c-4b09-a761-24a551052257","name":"Rotate the Application Signing Key - default","request":{"urlPathTemplate":"/keys/signing/rotate","method":"POST"},"response":{"status":201,"body":"{\n \"cert\": \"cert\",\n \"kid\": \"kid\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"e9d4827d-c55c-4b09-a761-24a551052257","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"adec0e81-f58d-4f1f-9071-2c1f28b236e1","name":"Get an Application Signing Key by its key id - default","request":{"urlPathTemplate":"/keys/signing/{kid}","method":"GET","pathParameters":{"kid":{"equalTo":"kid"}}},"response":{"status":200,"body":"{\n \"kid\": \"kid\",\n \"cert\": \"cert\",\n \"pkcs7\": \"pkcs7\",\n \"current\": true,\n \"next\": true,\n \"previous\": true,\n \"current_since\": \"current_since\",\n \"current_until\": \"current_until\",\n \"fingerprint\": \"fingerprint\",\n \"thumbprint\": \"thumbprint\",\n \"revoked\": true,\n \"revoked_at\": \"revoked_at\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"adec0e81-f58d-4f1f-9071-2c1f28b236e1","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"cab3e5d7-c549-4ce9-aa51-648a2d61b321","name":"Revoke an Application Signing Key by its key id - default","request":{"urlPathTemplate":"/keys/signing/{kid}/revoke","method":"PUT","pathParameters":{"kid":{"equalTo":"kid"}}},"response":{"status":200,"body":"{\n \"cert\": \"cert\",\n \"kid\": \"kid\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"cab3e5d7-c549-4ce9-aa51-648a2d61b321","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"3bd5c630-fb83-4b4e-a903-67268e3218e0","name":"Get client grants associated to an organization - default","request":{"urlPathTemplate":"/organizations/{id}/client-grants","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"total\": 1.1,\n \"client_grants\": [\n {\n \"id\": \"id\",\n \"client_id\": \"client_id\",\n \"audience\": \"audience\",\n \"scope\": [\n \"scope\"\n ],\n \"organization_usage\": \"deny\",\n \"allow_any_organization\": true\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"3bd5c630-fb83-4b4e-a903-67268e3218e0","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"e4a9924e-c625-4ff3-a5ed-44c5e7f20053","name":"Associate a client grant with an organization - default","request":{"urlPathTemplate":"/organizations/{id}/client-grants","method":"POST","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":201,"body":"{\n \"id\": \"id\",\n \"client_id\": \"client_id\",\n \"audience\": \"audience\",\n \"scope\": [\n \"scope\"\n ],\n \"organization_usage\": \"deny\",\n \"allow_any_organization\": true\n}","headers":{"Content-Type":"application/json"}},"uuid":"e4a9924e-c625-4ff3-a5ed-44c5e7f20053","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"36ae6d81-83b3-4c2c-8f37-5e921d4740ad","name":"Remove a client grant from an organization - default","request":{"urlPathTemplate":"/organizations/{id}/client-grants/{grant_id}","method":"DELETE","pathParameters":{"id":{"equalTo":"id"},"grant_id":{"equalTo":"grant_id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"36ae6d81-83b3-4c2c-8f37-5e921d4740ad","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"2edde951-0b04-4e05-9389-658b85c37299","name":"Retrieve all organization discovery domains - default","request":{"urlPathTemplate":"/organizations/{id}/discovery-domains","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"next\": \"next\",\n \"domains\": [\n {\n \"id\": \"id\",\n \"domain\": \"domain\",\n \"status\": \"pending\",\n \"verification_txt\": \"verification_txt\",\n \"verification_host\": \"verification_host\"\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"2edde951-0b04-4e05-9389-658b85c37299","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"fdfc20b0-5e2b-4eb6-98af-e0f922aefac7","name":"Create an organization discovery domain - default","request":{"urlPathTemplate":"/organizations/{id}/discovery-domains","method":"POST","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":201,"body":"{\n \"id\": \"id\",\n \"domain\": \"domain\",\n \"status\": \"pending\",\n \"verification_txt\": \"verification_txt\",\n \"verification_host\": \"verification_host\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"fdfc20b0-5e2b-4eb6-98af-e0f922aefac7","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"4cb0d18e-2a9a-4d6c-a1f3-f2c3e5c3c496","name":"Retrieve an organization discovery domain by ID - default","request":{"urlPathTemplate":"/organizations/{id}/discovery-domains/{discovery_domain_id}","method":"GET","pathParameters":{"id":{"equalTo":"id"},"discovery_domain_id":{"equalTo":"discovery_domain_id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"domain\": \"domain\",\n \"status\": \"pending\",\n \"verification_txt\": \"verification_txt\",\n \"verification_host\": \"verification_host\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"4cb0d18e-2a9a-4d6c-a1f3-f2c3e5c3c496","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"803a298e-d6f6-4370-8e03-37d06547eeef","name":"Delete an organization discovery domain - default","request":{"urlPathTemplate":"/organizations/{id}/discovery-domains/{discovery_domain_id}","method":"DELETE","pathParameters":{"id":{"equalTo":"id"},"discovery_domain_id":{"equalTo":"discovery_domain_id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"803a298e-d6f6-4370-8e03-37d06547eeef","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"fca95551-032d-44de-a3cf-849f98ec2177","name":"Update an organization discovery domain - default","request":{"urlPathTemplate":"/organizations/{id}/discovery-domains/{discovery_domain_id}","method":"PATCH","pathParameters":{"id":{"equalTo":"id"},"discovery_domain_id":{"equalTo":"discovery_domain_id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"domain\": \"domain\",\n \"status\": \"pending\",\n \"verification_txt\": \"verification_txt\",\n \"verification_host\": \"verification_host\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"fca95551-032d-44de-a3cf-849f98ec2177","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"47767c5f-78ac-42c3-affe-a5d3e1ed6800","name":"Get connections enabled for an organization - default","request":{"urlPathTemplate":"/organizations/{id}/enabled_connections","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"total\": 1.1,\n \"enabled_connections\": [\n {\n \"connection_id\": \"connection_id\",\n \"assign_membership_on_login\": true,\n \"show_as_button\": true,\n \"is_signup_enabled\": true\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"47767c5f-78ac-42c3-affe-a5d3e1ed6800","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"c311c287-5333-41bd-819e-e813c541ed66","name":"Add connections to an organization - default","request":{"urlPathTemplate":"/organizations/{id}/enabled_connections","method":"POST","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":201,"body":"{\n \"connection_id\": \"connection_id\",\n \"assign_membership_on_login\": true,\n \"show_as_button\": true,\n \"is_signup_enabled\": true,\n \"connection\": {\n \"name\": \"name\",\n \"strategy\": \"strategy\"\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"c311c287-5333-41bd-819e-e813c541ed66","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"c455a9b2-1f8f-45e1-8100-df1d73cd097d","name":"Get an enabled connection for an organization - default","request":{"urlPathTemplate":"/organizations/{id}/enabled_connections/{connectionId}","method":"GET","pathParameters":{"id":{"equalTo":"id"},"connectionId":{"equalTo":"connectionId"}}},"response":{"status":200,"body":"{\n \"connection_id\": \"connection_id\",\n \"assign_membership_on_login\": true,\n \"show_as_button\": true,\n \"is_signup_enabled\": true,\n \"connection\": {\n \"name\": \"name\",\n \"strategy\": \"strategy\"\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"c455a9b2-1f8f-45e1-8100-df1d73cd097d","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"0dc9106a-150c-40d8-9000-176bd6350a98","name":"Delete connections from an organization - default","request":{"urlPathTemplate":"/organizations/{id}/enabled_connections/{connectionId}","method":"DELETE","pathParameters":{"id":{"equalTo":"id"},"connectionId":{"equalTo":"connectionId"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"0dc9106a-150c-40d8-9000-176bd6350a98","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"9a371d52-abea-44dc-a464-f04f63a601b0","name":"Update the Connection of an Organization - default","request":{"urlPathTemplate":"/organizations/{id}/enabled_connections/{connectionId}","method":"PATCH","pathParameters":{"id":{"equalTo":"id"},"connectionId":{"equalTo":"connectionId"}}},"response":{"status":200,"body":"{\n \"connection_id\": \"connection_id\",\n \"assign_membership_on_login\": true,\n \"show_as_button\": true,\n \"is_signup_enabled\": true,\n \"connection\": {\n \"name\": \"name\",\n \"strategy\": \"strategy\"\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"9a371d52-abea-44dc-a464-f04f63a601b0","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"7fb2e068-8caf-4234-aa52-3b51c9f37300","name":"Get invitations to an organization - default","request":{"urlPathTemplate":"/organizations/{id}/invitations","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"invitations\": [\n {\n \"id\": \"id\",\n \"organization_id\": \"organization_id\",\n \"inviter\": {\n \"name\": \"name\"\n },\n \"invitee\": {\n \"email\": \"email\"\n },\n \"invitation_url\": \"invitation_url\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"expires_at\": \"2024-01-15T09:30:00Z\",\n \"client_id\": \"client_id\",\n \"connection_id\": \"connection_id\",\n \"app_metadata\": {\n \"key\": \"value\"\n },\n \"user_metadata\": {\n \"key\": \"value\"\n },\n \"roles\": [\n \"roles\"\n ],\n \"ticket_id\": \"ticket_id\"\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"7fb2e068-8caf-4234-aa52-3b51c9f37300","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"49ad8742-5d95-4969-87cf-09427959682f","name":"Create invitations to an organization - default","request":{"urlPathTemplate":"/organizations/{id}/invitations","method":"POST","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"organization_id\": \"organization_id\",\n \"inviter\": {\n \"name\": \"name\"\n },\n \"invitee\": {\n \"email\": \"email\"\n },\n \"invitation_url\": \"invitation_url\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"expires_at\": \"2024-01-15T09:30:00Z\",\n \"client_id\": \"client_id\",\n \"connection_id\": \"connection_id\",\n \"app_metadata\": {\n \"key\": \"value\"\n },\n \"user_metadata\": {\n \"key\": \"value\"\n },\n \"roles\": [\n \"roles\"\n ],\n \"ticket_id\": \"ticket_id\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"49ad8742-5d95-4969-87cf-09427959682f","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"2bf04456-d49c-45d6-aedf-19598f4c6df8","name":"Get a specific invitation to an Organization - default","request":{"urlPathTemplate":"/organizations/{id}/invitations/{invitation_id}","method":"GET","pathParameters":{"id":{"equalTo":"id"},"invitation_id":{"equalTo":"invitation_id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"organization_id\": \"organization_id\",\n \"inviter\": {\n \"name\": \"name\"\n },\n \"invitee\": {\n \"email\": \"email\"\n },\n \"invitation_url\": \"invitation_url\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"expires_at\": \"2024-01-15T09:30:00Z\",\n \"client_id\": \"client_id\",\n \"connection_id\": \"connection_id\",\n \"app_metadata\": {\n \"key\": \"value\"\n },\n \"user_metadata\": {\n \"key\": \"value\"\n },\n \"roles\": [\n \"roles\"\n ],\n \"ticket_id\": \"ticket_id\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"2bf04456-d49c-45d6-aedf-19598f4c6df8","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"1a1c3283-fac9-4185-bcb8-3a9053a43163","name":"Delete an invitation to an Organization - default","request":{"urlPathTemplate":"/organizations/{id}/invitations/{invitation_id}","method":"DELETE","pathParameters":{"id":{"equalTo":"id"},"invitation_id":{"equalTo":"invitation_id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"1a1c3283-fac9-4185-bcb8-3a9053a43163","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"b33d5e95-cdf1-4d3a-b019-7fa6e46267a0","name":"Get members who belong to an organization - default","request":{"urlPathTemplate":"/organizations/{id}/members","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"next\": \"next\",\n \"members\": [\n {\n \"user_id\": \"user_id\",\n \"picture\": \"picture\",\n \"name\": \"name\",\n \"email\": \"email\",\n \"roles\": [\n {}\n ]\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"b33d5e95-cdf1-4d3a-b019-7fa6e46267a0","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"8536454b-53b8-4272-8829-062f2cb9092d","name":"Add members to an organization - default","request":{"urlPathTemplate":"/organizations/{id}/members","method":"POST","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"8536454b-53b8-4272-8829-062f2cb9092d","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"71dcfc22-87b0-4591-921b-7d7088bd16ae","name":"Delete members from an organization - default","request":{"urlPathTemplate":"/organizations/{id}/members","method":"DELETE","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"71dcfc22-87b0-4591-921b-7d7088bd16ae","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"2c099b94-dfed-4bf8-b370-25ceade844b1","name":"Get user roles assigned to an Organization member - default","request":{"urlPathTemplate":"/organizations/{id}/members/{user_id}/roles","method":"GET","pathParameters":{"id":{"equalTo":"id"},"user_id":{"equalTo":"user_id"}}},"response":{"status":200,"body":"{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"total\": 1.1,\n \"roles\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\"\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"2c099b94-dfed-4bf8-b370-25ceade844b1","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"8a5dc31c-084d-4753-9c95-0a0ddd2294da","name":"Assign user roles to an Organization member - default","request":{"urlPathTemplate":"/organizations/{id}/members/{user_id}/roles","method":"POST","pathParameters":{"id":{"equalTo":"id"},"user_id":{"equalTo":"user_id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"8a5dc31c-084d-4753-9c95-0a0ddd2294da","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"245dc825-fc94-49ca-9547-a4b30ac4485a","name":"Delete user roles from an Organization member - default","request":{"urlPathTemplate":"/organizations/{id}/members/{user_id}/roles","method":"DELETE","pathParameters":{"id":{"equalTo":"id"},"user_id":{"equalTo":"user_id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"245dc825-fc94-49ca-9547-a4b30ac4485a","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"f02cb8dc-cee0-4470-b69b-596e4d0653f9","name":"Get render setting configurations for all screens - default","request":{"urlPathTemplate":"/prompts/rendering","method":"GET"},"response":{"status":200,"body":"{\n \"configs\": [\n {\n \"rendering_mode\": \"advanced\",\n \"context_configuration\": [\n \"context_configuration\"\n ],\n \"default_head_tags_disabled\": true,\n \"use_page_template\": true,\n \"head_tags\": [\n {}\n ]\n }\n ],\n \"start\": 1.1,\n \"limit\": 1.1,\n \"total\": 1.1\n}","headers":{"Content-Type":"application/json"}},"uuid":"f02cb8dc-cee0-4470-b69b-596e4d0653f9","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"d0abb404-e603-4992-9c65-19a5766a9462","name":"Update render settings for multiple screens - default","request":{"urlPathTemplate":"/prompts/rendering","method":"PATCH"},"response":{"status":200,"body":"{\n \"configs\": [\n {\n \"prompt\": \"login\",\n \"screen\": \"login\",\n \"rendering_mode\": \"advanced\",\n \"context_configuration\": [\n \"branding.settings\"\n ],\n \"default_head_tags_disabled\": true,\n \"use_page_template\": true,\n \"head_tags\": [\n {}\n ]\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"d0abb404-e603-4992-9c65-19a5766a9462","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"b6f4a3c0-8032-487e-be5c-24b52aea56c3","name":"Get render settings for a screen - default","request":{"urlPathTemplate":"/prompts/{prompt}/screen/{screen}/rendering","method":"GET","pathParameters":{"prompt":{"equalTo":"login"},"screen":{"equalTo":"login"}}},"response":{"status":200,"body":"{\n \"tenant\": \"tenant\",\n \"prompt\": \"prompt\",\n \"screen\": \"screen\",\n \"rendering_mode\": \"advanced\",\n \"context_configuration\": [\n \"context_configuration\"\n ],\n \"default_head_tags_disabled\": true,\n \"use_page_template\": true,\n \"head_tags\": [\n {\n \"tag\": \"tag\",\n \"attributes\": {\n \"key\": \"value\"\n },\n \"content\": \"content\"\n }\n ],\n \"filters\": {\n \"match_type\": \"includes_any\",\n \"clients\": [\n {\n \"id\": \"id\"\n }\n ],\n \"organizations\": [\n {\n \"id\": \"id\"\n }\n ],\n \"domains\": [\n {\n \"id\": \"id\"\n }\n ]\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"b6f4a3c0-8032-487e-be5c-24b52aea56c3","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"248d2934-0ee0-434c-a9a5-df7501ef901c","name":"Update render settings for a screen - default","request":{"urlPathTemplate":"/prompts/{prompt}/screen/{screen}/rendering","method":"PATCH","pathParameters":{"prompt":{"equalTo":"login"},"screen":{"equalTo":"login"}}},"response":{"status":200,"body":"{\n \"rendering_mode\": \"advanced\",\n \"context_configuration\": [\n \"context_configuration\"\n ],\n \"default_head_tags_disabled\": true,\n \"use_page_template\": true,\n \"head_tags\": [\n {\n \"tag\": \"tag\",\n \"attributes\": {\n \"key\": \"value\"\n },\n \"content\": \"content\"\n }\n ],\n \"filters\": {\n \"match_type\": \"includes_any\",\n \"clients\": [\n {\n \"id\": \"id\"\n }\n ],\n \"organizations\": [\n {\n \"id\": \"id\"\n }\n ],\n \"domains\": [\n {\n \"id\": \"id\"\n }\n ]\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"248d2934-0ee0-434c-a9a5-df7501ef901c","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"1cd54de8-b246-4b0a-863b-f5fa0184e206","name":"Get custom text for a prompt - default","request":{"urlPathTemplate":"/prompts/{prompt}/custom-text/{language}","method":"GET","pathParameters":{"prompt":{"equalTo":"login"},"language":{"equalTo":"am"}}},"response":{"status":200,"body":"{\n \"key\": \"value\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"1cd54de8-b246-4b0a-863b-f5fa0184e206","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"bff89979-efc7-413e-8aaf-a45d84f1793b","name":"Set custom text for a specific prompt - default","request":{"urlPathTemplate":"/prompts/{prompt}/custom-text/{language}","method":"PUT","pathParameters":{"prompt":{"equalTo":"login"},"language":{"equalTo":"am"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"bff89979-efc7-413e-8aaf-a45d84f1793b","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"e2ccf6be-be59-4e7f-90f9-dd24529c4981","name":"Get partials for a prompt - default","request":{"urlPathTemplate":"/prompts/{prompt}/partials","method":"GET","pathParameters":{"prompt":{"equalTo":"login"}}},"response":{"status":200,"body":"{\n \"key\": \"value\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"e2ccf6be-be59-4e7f-90f9-dd24529c4981","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"c9517422-8a42-4204-8156-cda9b385f017","name":"Set partials for a prompt - default","request":{"urlPathTemplate":"/prompts/{prompt}/partials","method":"PUT","pathParameters":{"prompt":{"equalTo":"login"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"c9517422-8a42-4204-8156-cda9b385f017","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"cb391545-5076-433d-8b32-b19ed3d73939","name":"Get risk assessment settings - default","request":{"urlPathTemplate":"/risk-assessments/settings","method":"GET"},"response":{"status":200,"body":"{\n \"enabled\": true\n}","headers":{"Content-Type":"application/json"}},"uuid":"cb391545-5076-433d-8b32-b19ed3d73939","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"8018c245-2f30-469f-992f-dc1668cccd75","name":"Update risk assessment settings - default","request":{"urlPathTemplate":"/risk-assessments/settings","method":"PATCH"},"response":{"status":200,"body":"{\n \"enabled\": true\n}","headers":{"Content-Type":"application/json"}},"uuid":"8018c245-2f30-469f-992f-dc1668cccd75","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"b25bc47f-4ec8-4cd8-b419-5323232b8bb8","name":"Get new device assessor - default","request":{"urlPathTemplate":"/risk-assessments/settings/new-device","method":"GET"},"response":{"status":200,"body":"{\n \"remember_for\": 1\n}","headers":{"Content-Type":"application/json"}},"uuid":"b25bc47f-4ec8-4cd8-b419-5323232b8bb8","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"07a0ab5c-d2e9-4e3d-899b-3f9a833c3813","name":"Update new device assessor - default","request":{"urlPathTemplate":"/risk-assessments/settings/new-device","method":"PATCH"},"response":{"status":200,"body":"{\n \"remember_for\": 1\n}","headers":{"Content-Type":"application/json"}},"uuid":"07a0ab5c-d2e9-4e3d-899b-3f9a833c3813","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"bf10686c-2651-4040-8299-93e4bbc9834d","name":"Get permissions granted by role - default","request":{"urlPathTemplate":"/roles/{id}/permissions","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"total\": 1.1,\n \"permissions\": [\n {\n \"resource_server_identifier\": \"resource_server_identifier\",\n \"permission_name\": \"permission_name\",\n \"resource_server_name\": \"resource_server_name\",\n \"description\": \"description\"\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"bf10686c-2651-4040-8299-93e4bbc9834d","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"23e27895-e8da-4c4d-bec9-94df0205eb5c","name":"Associate permissions with a role - default","request":{"urlPathTemplate":"/roles/{id}/permissions","method":"POST","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"23e27895-e8da-4c4d-bec9-94df0205eb5c","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"b94e86fc-05a4-43a3-a57f-ecd7e72ca50a","name":"Remove permissions from a role - default","request":{"urlPathTemplate":"/roles/{id}/permissions","method":"DELETE","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"b94e86fc-05a4-43a3-a57f-ecd7e72ca50a","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"c87640fd-900b-400f-93f0-9ccb6702a609","name":"Get a role's users - default","request":{"urlPathTemplate":"/roles/{id}/users","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"next\": \"next\",\n \"users\": [\n {\n \"user_id\": \"user_id\",\n \"picture\": \"picture\",\n \"name\": \"name\",\n \"email\": \"email\"\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"c87640fd-900b-400f-93f0-9ccb6702a609","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"3715bf7c-6aeb-4cbb-b3a0-57d86272ae3f","name":"Assign users to a role - default","request":{"urlPathTemplate":"/roles/{id}/users","method":"POST","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"3715bf7c-6aeb-4cbb-b3a0-57d86272ae3f","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"f6173c4f-82c6-420c-a40d-889a713cb3e7","name":"Get custom text for a self-service profile - default","request":{"urlPathTemplate":"/self-service-profiles/{id}/custom-text/{language}/{page}","method":"GET","pathParameters":{"id":{"equalTo":"id"},"language":{"equalTo":"en"},"page":{"equalTo":"get-started"}}},"response":{"status":200,"body":"{\n \"key\": \"value\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"f6173c4f-82c6-420c-a40d-889a713cb3e7","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"52a78cce-bea7-4f10-be84-5b860989a20e","name":"Set custom text for a self-service profile - default","request":{"urlPathTemplate":"/self-service-profiles/{id}/custom-text/{language}/{page}","method":"PUT","pathParameters":{"id":{"equalTo":"id"},"language":{"equalTo":"en"},"page":{"equalTo":"get-started"}}},"response":{"status":200,"body":"{\n \"key\": \"value\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"52a78cce-bea7-4f10-be84-5b860989a20e","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"47229b19-16ff-4ccd-8fd2-7f925b1743c4","name":"Create an SSO access ticket to initiate the Self Service SSO Flow - default","request":{"urlPathTemplate":"/self-service-profiles/{id}/sso-ticket","method":"POST","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":201,"body":"{\n \"ticket\": \"ticket\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"47229b19-16ff-4ccd-8fd2-7f925b1743c4","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"e406adeb-54e0-4218-9e0c-edbfbf0a64bf","name":"Revoke an SSO access ticket - default","request":{"urlPathTemplate":"/self-service-profiles/{profileId}/sso-ticket/{id}/revoke","method":"POST","pathParameters":{"profileId":{"equalTo":"profileId"},"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"e406adeb-54e0-4218-9e0c-edbfbf0a64bf","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"12199f5c-a53a-4405-8a5f-a83867b89865","name":"Get tenant settings - default","request":{"urlPathTemplate":"/tenants/settings","method":"GET"},"response":{"status":200,"body":"{\n \"change_password\": {\n \"enabled\": true,\n \"html\": \"html\"\n },\n \"guardian_mfa_page\": {\n \"enabled\": true,\n \"html\": \"html\"\n },\n \"default_audience\": \"default_audience\",\n \"default_directory\": \"default_directory\",\n \"error_page\": {\n \"html\": \"html\",\n \"show_log_link\": true,\n \"url\": \"url\"\n },\n \"device_flow\": {\n \"charset\": \"base20\",\n \"mask\": \"mask\"\n },\n \"default_token_quota\": {\n \"clients\": {\n \"client_credentials\": {}\n },\n \"organizations\": {\n \"client_credentials\": {}\n }\n },\n \"flags\": {\n \"change_pwd_flow_v1\": true,\n \"enable_apis_section\": true,\n \"disable_impersonation\": true,\n \"enable_client_connections\": true,\n \"enable_pipeline2\": true,\n \"allow_legacy_delegation_grant_types\": true,\n \"allow_legacy_ro_grant_types\": true,\n \"allow_legacy_tokeninfo_endpoint\": true,\n \"enable_legacy_profile\": true,\n \"enable_idtoken_api2\": true,\n \"enable_public_signup_user_exists_error\": true,\n \"enable_sso\": true,\n \"allow_changing_enable_sso\": true,\n \"disable_clickjack_protection_headers\": true,\n \"no_disclose_enterprise_connections\": true,\n \"enforce_client_authentication_on_passwordless_start\": true,\n \"enable_adfs_waad_email_verification\": true,\n \"revoke_refresh_token_grant\": true,\n \"dashboard_log_streams_next\": true,\n \"dashboard_insights_view\": true,\n \"disable_fields_map_fix\": true,\n \"mfa_show_factor_list_on_enrollment\": true,\n \"remove_alg_from_jwks\": true,\n \"improved_signup_bot_detection_in_classic\": true,\n \"genai_trial\": true,\n \"enable_dynamic_client_registration\": true,\n \"disable_management_api_sms_obfuscation\": true,\n \"trust_azure_adfs_email_verified_connection_property\": true,\n \"custom_domains_provisioning\": true\n },\n \"friendly_name\": \"friendly_name\",\n \"picture_url\": \"picture_url\",\n \"support_email\": \"support_email\",\n \"support_url\": \"support_url\",\n \"allowed_logout_urls\": [\n \"allowed_logout_urls\"\n ],\n \"session_lifetime\": 1.1,\n \"idle_session_lifetime\": 1.1,\n \"ephemeral_session_lifetime\": 1.1,\n \"idle_ephemeral_session_lifetime\": 1.1,\n \"sandbox_version\": \"sandbox_version\",\n \"legacy_sandbox_version\": \"legacy_sandbox_version\",\n \"sandbox_versions_available\": [\n \"sandbox_versions_available\"\n ],\n \"default_redirection_uri\": \"default_redirection_uri\",\n \"enabled_locales\": [\n \"am\"\n ],\n \"session_cookie\": {\n \"mode\": \"persistent\"\n },\n \"sessions\": {\n \"oidc_logout_prompt_enabled\": true\n },\n \"oidc_logout\": {\n \"rp_logout_end_session_endpoint_discovery\": true\n },\n \"allow_organization_name_in_authentication_api\": true,\n \"customize_mfa_in_postlogin_action\": true,\n \"acr_values_supported\": [\n \"acr_values_supported\"\n ],\n \"mtls\": {\n \"enable_endpoint_aliases\": true\n },\n \"pushed_authorization_requests_supported\": true,\n \"authorization_response_iss_parameter_supported\": true,\n \"skip_non_verifiable_callback_uri_confirmation_prompt\": true,\n \"resource_parameter_profile\": \"audience\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"12199f5c-a53a-4405-8a5f-a83867b89865","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"48a056e4-f2d6-45a2-9b0a-3b7d173c8597","name":"Update tenant settings - default","request":{"urlPathTemplate":"/tenants/settings","method":"PATCH"},"response":{"status":200,"body":"{\n \"change_password\": {\n \"enabled\": true,\n \"html\": \"html\"\n },\n \"guardian_mfa_page\": {\n \"enabled\": true,\n \"html\": \"html\"\n },\n \"default_audience\": \"default_audience\",\n \"default_directory\": \"default_directory\",\n \"error_page\": {\n \"html\": \"html\",\n \"show_log_link\": true,\n \"url\": \"url\"\n },\n \"device_flow\": {\n \"charset\": \"base20\",\n \"mask\": \"mask\"\n },\n \"default_token_quota\": {\n \"clients\": {\n \"client_credentials\": {}\n },\n \"organizations\": {\n \"client_credentials\": {}\n }\n },\n \"flags\": {\n \"change_pwd_flow_v1\": true,\n \"enable_apis_section\": true,\n \"disable_impersonation\": true,\n \"enable_client_connections\": true,\n \"enable_pipeline2\": true,\n \"allow_legacy_delegation_grant_types\": true,\n \"allow_legacy_ro_grant_types\": true,\n \"allow_legacy_tokeninfo_endpoint\": true,\n \"enable_legacy_profile\": true,\n \"enable_idtoken_api2\": true,\n \"enable_public_signup_user_exists_error\": true,\n \"enable_sso\": true,\n \"allow_changing_enable_sso\": true,\n \"disable_clickjack_protection_headers\": true,\n \"no_disclose_enterprise_connections\": true,\n \"enforce_client_authentication_on_passwordless_start\": true,\n \"enable_adfs_waad_email_verification\": true,\n \"revoke_refresh_token_grant\": true,\n \"dashboard_log_streams_next\": true,\n \"dashboard_insights_view\": true,\n \"disable_fields_map_fix\": true,\n \"mfa_show_factor_list_on_enrollment\": true,\n \"remove_alg_from_jwks\": true,\n \"improved_signup_bot_detection_in_classic\": true,\n \"genai_trial\": true,\n \"enable_dynamic_client_registration\": true,\n \"disable_management_api_sms_obfuscation\": true,\n \"trust_azure_adfs_email_verified_connection_property\": true,\n \"custom_domains_provisioning\": true\n },\n \"friendly_name\": \"friendly_name\",\n \"picture_url\": \"picture_url\",\n \"support_email\": \"support_email\",\n \"support_url\": \"support_url\",\n \"allowed_logout_urls\": [\n \"allowed_logout_urls\"\n ],\n \"session_lifetime\": 1.1,\n \"idle_session_lifetime\": 1.1,\n \"ephemeral_session_lifetime\": 1.1,\n \"idle_ephemeral_session_lifetime\": 1.1,\n \"sandbox_version\": \"sandbox_version\",\n \"legacy_sandbox_version\": \"legacy_sandbox_version\",\n \"sandbox_versions_available\": [\n \"sandbox_versions_available\"\n ],\n \"default_redirection_uri\": \"default_redirection_uri\",\n \"enabled_locales\": [\n \"am\"\n ],\n \"session_cookie\": {\n \"mode\": \"persistent\"\n },\n \"sessions\": {\n \"oidc_logout_prompt_enabled\": true\n },\n \"oidc_logout\": {\n \"rp_logout_end_session_endpoint_discovery\": true\n },\n \"allow_organization_name_in_authentication_api\": true,\n \"customize_mfa_in_postlogin_action\": true,\n \"acr_values_supported\": [\n \"acr_values_supported\"\n ],\n \"mtls\": {\n \"enable_endpoint_aliases\": true\n },\n \"pushed_authorization_requests_supported\": true,\n \"authorization_response_iss_parameter_supported\": true,\n \"skip_non_verifiable_callback_uri_confirmation_prompt\": true,\n \"resource_parameter_profile\": \"audience\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"48a056e4-f2d6-45a2-9b0a-3b7d173c8597","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"3d87eb15-86f8-42c9-b9bf-b1bdcb1d72d5","name":"Get a list of authentication methods - default","request":{"urlPathTemplate":"/users/{id}/authentication-methods","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"total\": 1.1,\n \"authenticators\": [\n {\n \"id\": \"id\",\n \"type\": \"recovery-code\",\n \"confirmed\": true,\n \"name\": \"name\",\n \"authentication_methods\": [\n {}\n ],\n \"preferred_authentication_method\": \"voice\",\n \"link_id\": \"link_id\",\n \"phone_number\": \"phone_number\",\n \"email\": \"email\",\n \"key_id\": \"key_id\",\n \"public_key\": \"public_key\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"enrolled_at\": \"2024-01-15T09:30:00Z\",\n \"last_auth_at\": \"2024-01-15T09:30:00Z\",\n \"credential_device_type\": \"credential_device_type\",\n \"credential_backed_up\": true,\n \"identity_user_id\": \"identity_user_id\",\n \"user_agent\": \"user_agent\",\n \"aaguid\": \"aaguid\",\n \"relying_party_identifier\": \"relying_party_identifier\"\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"3d87eb15-86f8-42c9-b9bf-b1bdcb1d72d5","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"a786d309-f573-4722-9c1a-4336dcb2ca34","name":"Creates an authentication method for a given user - default","request":{"urlPathTemplate":"/users/{id}/authentication-methods","method":"POST","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":201,"body":"{\n \"id\": \"id\",\n \"type\": \"phone\",\n \"name\": \"name\",\n \"totp_secret\": \"totp_secret\",\n \"phone_number\": \"phone_number\",\n \"email\": \"email\",\n \"authentication_methods\": [\n {\n \"type\": \"totp\",\n \"id\": \"id\"\n }\n ],\n \"preferred_authentication_method\": \"voice\",\n \"key_id\": \"key_id\",\n \"public_key\": \"public_key\",\n \"aaguid\": \"aaguid\",\n \"relying_party_identifier\": \"relying_party_identifier\",\n \"created_at\": \"2024-01-15T09:30:00Z\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"a786d309-f573-4722-9c1a-4336dcb2ca34","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"de90147a-4c08-43b0-9e64-3c7afab7fe48","name":"Update all authentication methods by replacing them with the given ones - default","request":{"urlPathTemplate":"/users/{id}/authentication-methods","method":"PUT","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"[\n {\n \"id\": \"id\",\n \"type\": \"phone\",\n \"name\": \"name\",\n \"totp_secret\": \"totp_secret\",\n \"phone_number\": \"phone_number\",\n \"email\": \"email\",\n \"authentication_methods\": [\n {}\n ],\n \"preferred_authentication_method\": \"voice\",\n \"key_id\": \"key_id\",\n \"public_key\": \"public_key\",\n \"aaguid\": \"aaguid\",\n \"relying_party_identifier\": \"relying_party_identifier\",\n \"created_at\": \"2024-01-15T09:30:00Z\"\n }\n]","headers":{"Content-Type":"application/json"}},"uuid":"de90147a-4c08-43b0-9e64-3c7afab7fe48","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"0fd546c5-9e1f-4319-b6f2-9ee49c498250","name":"Delete all authentication methods for the given user - default","request":{"urlPathTemplate":"/users/{id}/authentication-methods","method":"DELETE","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"0fd546c5-9e1f-4319-b6f2-9ee49c498250","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"a3ee9cc4-e4af-46b6-9fcc-371bb0db0e03","name":"Get an authentication method by ID - default","request":{"urlPathTemplate":"/users/{id}/authentication-methods/{authentication_method_id}","method":"GET","pathParameters":{"id":{"equalTo":"id"},"authentication_method_id":{"equalTo":"authentication_method_id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"type\": \"recovery-code\",\n \"confirmed\": true,\n \"name\": \"name\",\n \"authentication_methods\": [\n {\n \"type\": \"totp\",\n \"id\": \"id\"\n }\n ],\n \"preferred_authentication_method\": \"voice\",\n \"link_id\": \"link_id\",\n \"phone_number\": \"phone_number\",\n \"email\": \"email\",\n \"key_id\": \"key_id\",\n \"public_key\": \"public_key\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"enrolled_at\": \"2024-01-15T09:30:00Z\",\n \"last_auth_at\": \"2024-01-15T09:30:00Z\",\n \"credential_device_type\": \"credential_device_type\",\n \"credential_backed_up\": true,\n \"identity_user_id\": \"identity_user_id\",\n \"user_agent\": \"user_agent\",\n \"aaguid\": \"aaguid\",\n \"relying_party_identifier\": \"relying_party_identifier\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"a3ee9cc4-e4af-46b6-9fcc-371bb0db0e03","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"add53361-2a24-44ea-93fe-fd31b9981468","name":"Delete an authentication method by ID - default","request":{"urlPathTemplate":"/users/{id}/authentication-methods/{authentication_method_id}","method":"DELETE","pathParameters":{"id":{"equalTo":"id"},"authentication_method_id":{"equalTo":"authentication_method_id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"add53361-2a24-44ea-93fe-fd31b9981468","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"1cfc820b-23ae-4b7b-8b10-d9e1c2825e51","name":"Update an authentication method - default","request":{"urlPathTemplate":"/users/{id}/authentication-methods/{authentication_method_id}","method":"PATCH","pathParameters":{"id":{"equalTo":"id"},"authentication_method_id":{"equalTo":"authentication_method_id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"type\": \"phone\",\n \"name\": \"name\",\n \"totp_secret\": \"totp_secret\",\n \"phone_number\": \"phone_number\",\n \"email\": \"email\",\n \"authentication_methods\": [\n {\n \"type\": \"totp\",\n \"id\": \"id\"\n }\n ],\n \"preferred_authentication_method\": \"voice\",\n \"key_id\": \"key_id\",\n \"public_key\": \"public_key\",\n \"aaguid\": \"aaguid\",\n \"relying_party_identifier\": \"relying_party_identifier\",\n \"created_at\": \"2024-01-15T09:30:00Z\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"1cfc820b-23ae-4b7b-8b10-d9e1c2825e51","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"59e259ee-3764-496e-9875-949a218233be","name":"Delete All Authenticators - default","request":{"urlPathTemplate":"/users/{id}/authenticators","method":"DELETE","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"59e259ee-3764-496e-9875-949a218233be","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"0f4d4b1f-e7f1-42bd-8a14-64c2e7348b16","name":"Get a User's Connected Accounts - default","request":{"urlPathTemplate":"/users/{id}/connected-accounts","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"connected_accounts\": [\n {\n \"id\": \"id\",\n \"connection\": \"connection\",\n \"connection_id\": \"connection_id\",\n \"strategy\": \"strategy\",\n \"access_type\": \"offline\",\n \"scopes\": [\n \"scopes\"\n ],\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"expires_at\": \"2024-01-15T09:30:00Z\"\n }\n ],\n \"next\": \"next\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"0f4d4b1f-e7f1-42bd-8a14-64c2e7348b16","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"4fb03086-4c19-4d4d-a060-b0f30cbed64f","name":"Get the First Confirmed Multi-factor Authentication Enrollment - default","request":{"urlPathTemplate":"/users/{id}/enrollments","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"[\n {\n \"id\": \"id\",\n \"status\": \"pending\",\n \"type\": \"type\",\n \"name\": \"name\",\n \"identifier\": \"identifier\",\n \"phone_number\": \"phone_number\",\n \"auth_method\": \"authenticator\",\n \"enrolled_at\": \"2024-01-15T09:30:00Z\",\n \"last_auth\": \"2024-01-15T09:30:00Z\"\n }\n]","headers":{"Content-Type":"application/json"}},"uuid":"4fb03086-4c19-4d4d-a060-b0f30cbed64f","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"7df16d6a-51ec-415e-a605-f161474b5a60","name":"Get tokensets for a user - default","request":{"urlPathTemplate":"/users/{id}/federated-connections-tokensets","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"[\n {\n \"id\": \"id\",\n \"connection\": \"connection\",\n \"scope\": \"scope\",\n \"expires_at\": \"2024-01-15T09:30:00Z\",\n \"issued_at\": \"2024-01-15T09:30:00Z\",\n \"last_used_at\": \"2024-01-15T09:30:00Z\"\n }\n]","headers":{"Content-Type":"application/json"}},"uuid":"7df16d6a-51ec-415e-a605-f161474b5a60","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"2dd7f5e1-dfec-4564-8331-8dd9d7ecfa93","name":"Deletes a tokenset for federated connections by id. - default","request":{"urlPathTemplate":"/users/{id}/federated-connections-tokensets/{tokenset_id}","method":"DELETE","pathParameters":{"id":{"equalTo":"id"},"tokenset_id":{"equalTo":"tokenset_id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"2dd7f5e1-dfec-4564-8331-8dd9d7ecfa93","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"0333210f-005f-4731-9928-1487697620ba","name":"Link a User Account - default","request":{"urlPathTemplate":"/users/{id}/identities","method":"POST","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":201,"body":"[\n {\n \"connection\": \"connection\",\n \"user_id\": \"user_id\",\n \"provider\": \"provider\",\n \"profileData\": {\n \"email\": \"email\",\n \"email_verified\": true,\n \"name\": \"name\",\n \"username\": \"username\",\n \"given_name\": \"given_name\",\n \"phone_number\": \"phone_number\",\n \"phone_verified\": true,\n \"family_name\": \"family_name\"\n },\n \"isSocial\": true,\n \"access_token\": \"access_token\",\n \"access_token_secret\": \"access_token_secret\",\n \"refresh_token\": \"refresh_token\"\n }\n]","headers":{"Content-Type":"application/json"}},"uuid":"0333210f-005f-4731-9928-1487697620ba","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"2dc23165-ddbe-4c7a-8f82-ed8cb6afed3c","name":"Unlink a User Identity - default","request":{"urlPathTemplate":"/users/{id}/identities/{provider}/{user_id}","method":"DELETE","pathParameters":{"id":{"equalTo":"id"},"provider":{"equalTo":"ad"},"user_id":{"equalTo":"user_id"}}},"response":{"status":200,"body":"[\n {\n \"connection\": \"connection\",\n \"user_id\": \"user_id\",\n \"provider\": \"provider\",\n \"isSocial\": true,\n \"access_token\": \"access_token\",\n \"access_token_secret\": \"access_token_secret\",\n \"refresh_token\": \"refresh_token\",\n \"profileData\": {\n \"email\": \"email\",\n \"email_verified\": true,\n \"name\": \"name\",\n \"username\": \"username\",\n \"given_name\": \"given_name\",\n \"phone_number\": \"phone_number\",\n \"phone_verified\": true,\n \"family_name\": \"family_name\"\n }\n }\n]","headers":{"Content-Type":"application/json"}},"uuid":"2dc23165-ddbe-4c7a-8f82-ed8cb6afed3c","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"bb12a5f2-c0fc-41b9-874a-4d0b151ca508","name":"Get user's log events - default","request":{"urlPathTemplate":"/users/{id}/logs","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"length\": 1.1,\n \"total\": 1.1,\n \"logs\": [\n {\n \"date\": \"date\",\n \"type\": \"type\",\n \"description\": \"description\",\n \"connection\": \"connection\",\n \"connection_id\": \"connection_id\",\n \"client_id\": \"client_id\",\n \"client_name\": \"client_name\",\n \"ip\": \"ip\",\n \"hostname\": \"hostname\",\n \"user_id\": \"user_id\",\n \"user_name\": \"user_name\",\n \"audience\": \"audience\",\n \"scope\": \"scope\",\n \"strategy\": \"strategy\",\n \"strategy_type\": \"strategy_type\",\n \"log_id\": \"log_id\",\n \"isMobile\": true,\n \"details\": {\n \"key\": \"value\"\n },\n \"user_agent\": \"user_agent\"\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"bb12a5f2-c0fc-41b9-874a-4d0b151ca508","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"8224b345-c369-4d08-b366-81060009c441","name":"Invalidate All Remembered Browsers for Multi-factor Authentication - default","request":{"urlPathTemplate":"/users/{id}/multifactor/actions/invalidate-remember-browser","method":"POST","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"8224b345-c369-4d08-b366-81060009c441","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"86847e95-c858-46df-b005-c0f0392ae95c","name":"Delete a User's Multi-factor Provider - default","request":{"urlPathTemplate":"/users/{id}/multifactor/{provider}","method":"DELETE","pathParameters":{"id":{"equalTo":"id"},"provider":{"equalTo":"duo"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"86847e95-c858-46df-b005-c0f0392ae95c","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"3a825384-1ed6-44a5-9a15-b2be0438a1d6","name":"List user's organizations - default","request":{"urlPathTemplate":"/users/{id}/organizations","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"total\": 1.1,\n \"organizations\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"display_name\": \"display_name\",\n \"token_quota\": {\n \"client_credentials\": {}\n }\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"3a825384-1ed6-44a5-9a15-b2be0438a1d6","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"58cc0983-45ee-47d2-8a5c-b6e215c83942","name":"Get a User's Permissions - default","request":{"urlPathTemplate":"/users/{id}/permissions","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"total\": 1.1,\n \"permissions\": [\n {\n \"resource_server_identifier\": \"resource_server_identifier\",\n \"permission_name\": \"permission_name\",\n \"resource_server_name\": \"resource_server_name\",\n \"description\": \"description\"\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"58cc0983-45ee-47d2-8a5c-b6e215c83942","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"812e845d-b47e-41b3-ad6b-edf602577cc4","name":"Assign Permissions to a User - default","request":{"urlPathTemplate":"/users/{id}/permissions","method":"POST","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"812e845d-b47e-41b3-ad6b-edf602577cc4","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"6829e581-25db-4d58-99ad-1fd675c362f1","name":"Remove Permissions from a User - default","request":{"urlPathTemplate":"/users/{id}/permissions","method":"DELETE","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"6829e581-25db-4d58-99ad-1fd675c362f1","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"0bf944f2-8c7e-474c-82eb-9e21bb625219","name":"Clear risk assessment assessors for a specific user - default","request":{"urlPathTemplate":"/users/{id}/risk-assessments/clear","method":"POST","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"0bf944f2-8c7e-474c-82eb-9e21bb625219","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"96a14af0-6c21-49ec-af86-512e672dd464","name":"Get a user's roles - default","request":{"urlPathTemplate":"/users/{id}/roles","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"total\": 1.1,\n \"roles\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\"\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"96a14af0-6c21-49ec-af86-512e672dd464","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"fcc9270b-77f1-4374-b64e-ce2381665996","name":"Assign roles to a user - default","request":{"urlPathTemplate":"/users/{id}/roles","method":"POST","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"fcc9270b-77f1-4374-b64e-ce2381665996","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"c727015f-123f-4f98-9b24-25828361a4ab","name":"Removes roles from a user - default","request":{"urlPathTemplate":"/users/{id}/roles","method":"DELETE","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"c727015f-123f-4f98-9b24-25828361a4ab","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"28b46c14-5cc3-42ad-8808-0072fb3249ba","name":"Get refresh tokens for a user - default","request":{"urlPathTemplate":"/users/{user_id}/refresh-tokens","method":"GET","pathParameters":{"user_id":{"equalTo":"user_id"}}},"response":{"status":200,"body":"{\n \"tokens\": [\n {\n \"id\": \"id\",\n \"user_id\": \"user_id\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"idle_expires_at\": \"2024-01-15T09:30:00Z\",\n \"expires_at\": \"2024-01-15T09:30:00Z\",\n \"client_id\": \"client_id\",\n \"session_id\": \"session_id\",\n \"rotating\": true,\n \"resource_servers\": [\n {}\n ],\n \"last_exchanged_at\": \"2024-01-15T09:30:00Z\"\n }\n ],\n \"next\": \"next\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"28b46c14-5cc3-42ad-8808-0072fb3249ba","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"1f25d8aa-36f6-4ba8-9865-27c99731105f","name":"Delete refresh tokens for a user - default","request":{"urlPathTemplate":"/users/{user_id}/refresh-tokens","method":"DELETE","pathParameters":{"user_id":{"equalTo":"user_id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"1f25d8aa-36f6-4ba8-9865-27c99731105f","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"dd1c4072-54e4-4dbc-82d9-ca1c27916f1d","name":"Get sessions for user - default","request":{"urlPathTemplate":"/users/{user_id}/sessions","method":"GET","pathParameters":{"user_id":{"equalTo":"user_id"}}},"response":{"status":200,"body":"{\n \"sessions\": [\n {\n \"id\": \"id\",\n \"user_id\": \"user_id\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"authenticated_at\": \"2024-01-15T09:30:00Z\",\n \"idle_expires_at\": \"2024-01-15T09:30:00Z\",\n \"expires_at\": \"2024-01-15T09:30:00Z\",\n \"last_interacted_at\": \"2024-01-15T09:30:00Z\",\n \"clients\": [\n {}\n ],\n \"session_metadata\": {\n \"key\": \"value\"\n }\n }\n ],\n \"next\": \"next\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"dd1c4072-54e4-4dbc-82d9-ca1c27916f1d","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"0691684c-d746-4411-aa18-4de52a90a463","name":"Delete sessions for user - default","request":{"urlPathTemplate":"/users/{user_id}/sessions","method":"DELETE","pathParameters":{"user_id":{"equalTo":"user_id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"0691684c-d746-4411-aa18-4de52a90a463","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"7424dc01-51cd-4cc9-b47d-082a7931e487","name":"List verifiable credentials template for tenant. - default","request":{"urlPathTemplate":"/verifiable-credentials/verification/templates","method":"GET"},"response":{"status":200,"body":"{\n \"next\": \"next\",\n \"templates\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"type\": \"type\",\n \"dialect\": \"dialect\",\n \"presentation\": {\n \"org.iso.18013.5.1.mDL\": {\n \"org.iso.18013.5.1\": {}\n }\n },\n \"custom_certificate_authority\": \"custom_certificate_authority\",\n \"well_known_trusted_issuers\": \"well_known_trusted_issuers\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"7424dc01-51cd-4cc9-b47d-082a7931e487","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"65b53386-72a6-4ac3-afba-c41377b10e93","name":"Create a verifiable credential template. - default","request":{"urlPathTemplate":"/verifiable-credentials/verification/templates","method":"POST"},"response":{"status":201,"body":"{\n \"id\": \"id\",\n \"name\": \"name\",\n \"type\": \"type\",\n \"dialect\": \"dialect\",\n \"presentation\": {\n \"org.iso.18013.5.1.mDL\": {\n \"org.iso.18013.5.1\": {}\n }\n },\n \"custom_certificate_authority\": \"custom_certificate_authority\",\n \"well_known_trusted_issuers\": \"well_known_trusted_issuers\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"65b53386-72a6-4ac3-afba-c41377b10e93","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"bac80375-0249-4659-a3d4-3cad535b4a20","name":"Get a verifiable credential template by ID. - default","request":{"urlPathTemplate":"/verifiable-credentials/verification/templates/{id}","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"name\": \"name\",\n \"type\": \"type\",\n \"dialect\": \"dialect\",\n \"presentation\": {\n \"org.iso.18013.5.1.mDL\": {\n \"org.iso.18013.5.1\": {}\n }\n },\n \"custom_certificate_authority\": \"custom_certificate_authority\",\n \"well_known_trusted_issuers\": \"well_known_trusted_issuers\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"bac80375-0249-4659-a3d4-3cad535b4a20","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"ca7ff9f3-642c-4fae-92b4-0e4e95f34d4c","name":"Delete a verifiable credential template by ID. - default","request":{"urlPathTemplate":"/verifiable-credentials/verification/templates/{id}","method":"DELETE","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"ca7ff9f3-642c-4fae-92b4-0e4e95f34d4c","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"9934fba5-6f64-4698-89dd-6123d0878561","name":"Update a verifiable credential template by ID. - default","request":{"urlPathTemplate":"/verifiable-credentials/verification/templates/{id}","method":"PATCH","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"name\": \"name\",\n \"type\": \"type\",\n \"dialect\": \"dialect\",\n \"presentation\": {\n \"org.iso.18013.5.1.mDL\": {\n \"org.iso.18013.5.1\": {}\n }\n },\n \"custom_certificate_authority\": \"custom_certificate_authority\",\n \"well_known_trusted_issuers\": \"well_known_trusted_issuers\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"9934fba5-6f64-4698-89dd-6123d0878561","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}}],"meta":{"total":368}} \ No newline at end of file +{"mappings":[{"id":"33519415-78d5-4e20-b7ed-c0f6609b6e90","name":"Get actions - default","request":{"urlPathTemplate":"/actions/actions","method":"GET"},"response":{"status":200,"body":"{\n \"total\": 1.1,\n \"page\": 1.1,\n \"per_page\": 1.1,\n \"actions\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"supported_triggers\": [\n {\n \"id\": \"id\"\n }\n ],\n \"all_changes_deployed\": true,\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"code\": \"code\",\n \"dependencies\": [\n {}\n ],\n \"runtime\": \"runtime\",\n \"secrets\": [\n {}\n ],\n \"installed_integration_id\": \"installed_integration_id\",\n \"status\": \"pending\",\n \"built_at\": \"2024-01-15T09:30:00Z\",\n \"deploy\": true,\n \"modules\": [\n {}\n ]\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"33519415-78d5-4e20-b7ed-c0f6609b6e90","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"0af03b66-13d2-4fbe-a736-0f9dae1a89da","name":"Create an action - default","request":{"urlPathTemplate":"/actions/actions","method":"POST"},"response":{"status":201,"body":"{\n \"id\": \"id\",\n \"name\": \"name\",\n \"supported_triggers\": [\n {\n \"id\": \"id\",\n \"version\": \"version\",\n \"status\": \"status\",\n \"runtimes\": [\n \"runtimes\"\n ],\n \"default_runtime\": \"default_runtime\",\n \"compatible_triggers\": [\n {\n \"id\": \"id\",\n \"version\": \"version\"\n }\n ],\n \"binding_policy\": \"trigger-bound\"\n }\n ],\n \"all_changes_deployed\": true,\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"code\": \"code\",\n \"dependencies\": [\n {\n \"name\": \"name\",\n \"version\": \"version\",\n \"registry_url\": \"registry_url\"\n }\n ],\n \"runtime\": \"runtime\",\n \"secrets\": [\n {\n \"name\": \"name\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n }\n ],\n \"deployed_version\": {\n \"id\": \"id\",\n \"action_id\": \"action_id\",\n \"code\": \"code\",\n \"dependencies\": [\n {}\n ],\n \"deployed\": true,\n \"runtime\": \"runtime\",\n \"secrets\": [\n {}\n ],\n \"status\": \"pending\",\n \"number\": 1.1,\n \"errors\": [\n {}\n ],\n \"action\": {\n \"id\": \"id\",\n \"name\": \"name\",\n \"supported_triggers\": [\n {\n \"id\": \"id\"\n }\n ],\n \"all_changes_deployed\": true,\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n },\n \"built_at\": \"2024-01-15T09:30:00Z\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"supported_triggers\": [\n {\n \"id\": \"id\"\n }\n ],\n \"modules\": [\n {}\n ]\n },\n \"installed_integration_id\": \"installed_integration_id\",\n \"integration\": {\n \"id\": \"id\",\n \"catalog_id\": \"catalog_id\",\n \"url_slug\": \"url_slug\",\n \"partner_id\": \"partner_id\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"short_description\": \"short_description\",\n \"logo\": \"logo\",\n \"feature_type\": \"unspecified\",\n \"terms_of_use_url\": \"terms_of_use_url\",\n \"privacy_policy_url\": \"privacy_policy_url\",\n \"public_support_link\": \"public_support_link\",\n \"current_release\": {\n \"id\": \"id\",\n \"trigger\": {\n \"id\": \"id\"\n },\n \"required_secrets\": [\n {}\n ],\n \"required_configuration\": [\n {}\n ]\n },\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n },\n \"status\": \"pending\",\n \"built_at\": \"2024-01-15T09:30:00Z\",\n \"deploy\": true,\n \"modules\": [\n {\n \"module_id\": \"module_id\",\n \"module_name\": \"module_name\",\n \"module_version_id\": \"module_version_id\",\n \"module_version_number\": 1\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"0af03b66-13d2-4fbe-a736-0f9dae1a89da","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"9919a572-ff14-4914-88b8-acd7f6acc41d","name":"Get an action - default","request":{"urlPathTemplate":"/actions/actions/{id}","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"name\": \"name\",\n \"supported_triggers\": [\n {\n \"id\": \"id\",\n \"version\": \"version\",\n \"status\": \"status\",\n \"runtimes\": [\n \"runtimes\"\n ],\n \"default_runtime\": \"default_runtime\",\n \"compatible_triggers\": [\n {\n \"id\": \"id\",\n \"version\": \"version\"\n }\n ],\n \"binding_policy\": \"trigger-bound\"\n }\n ],\n \"all_changes_deployed\": true,\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"code\": \"code\",\n \"dependencies\": [\n {\n \"name\": \"name\",\n \"version\": \"version\",\n \"registry_url\": \"registry_url\"\n }\n ],\n \"runtime\": \"runtime\",\n \"secrets\": [\n {\n \"name\": \"name\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n }\n ],\n \"deployed_version\": {\n \"id\": \"id\",\n \"action_id\": \"action_id\",\n \"code\": \"code\",\n \"dependencies\": [\n {}\n ],\n \"deployed\": true,\n \"runtime\": \"runtime\",\n \"secrets\": [\n {}\n ],\n \"status\": \"pending\",\n \"number\": 1.1,\n \"errors\": [\n {}\n ],\n \"action\": {\n \"id\": \"id\",\n \"name\": \"name\",\n \"supported_triggers\": [\n {\n \"id\": \"id\"\n }\n ],\n \"all_changes_deployed\": true,\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n },\n \"built_at\": \"2024-01-15T09:30:00Z\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"supported_triggers\": [\n {\n \"id\": \"id\"\n }\n ],\n \"modules\": [\n {}\n ]\n },\n \"installed_integration_id\": \"installed_integration_id\",\n \"integration\": {\n \"id\": \"id\",\n \"catalog_id\": \"catalog_id\",\n \"url_slug\": \"url_slug\",\n \"partner_id\": \"partner_id\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"short_description\": \"short_description\",\n \"logo\": \"logo\",\n \"feature_type\": \"unspecified\",\n \"terms_of_use_url\": \"terms_of_use_url\",\n \"privacy_policy_url\": \"privacy_policy_url\",\n \"public_support_link\": \"public_support_link\",\n \"current_release\": {\n \"id\": \"id\",\n \"trigger\": {\n \"id\": \"id\"\n },\n \"required_secrets\": [\n {}\n ],\n \"required_configuration\": [\n {}\n ]\n },\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n },\n \"status\": \"pending\",\n \"built_at\": \"2024-01-15T09:30:00Z\",\n \"deploy\": true,\n \"modules\": [\n {\n \"module_id\": \"module_id\",\n \"module_name\": \"module_name\",\n \"module_version_id\": \"module_version_id\",\n \"module_version_number\": 1\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"9919a572-ff14-4914-88b8-acd7f6acc41d","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"1bb73e26-2243-414b-80fc-fcf53169d4fe","name":"Delete an action - default","request":{"urlPathTemplate":"/actions/actions/{id}","method":"DELETE","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"1bb73e26-2243-414b-80fc-fcf53169d4fe","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"2679764d-6f00-495e-b8fb-210d140167ba","name":"Update an action - default","request":{"urlPathTemplate":"/actions/actions/{id}","method":"PATCH","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"name\": \"name\",\n \"supported_triggers\": [\n {\n \"id\": \"id\",\n \"version\": \"version\",\n \"status\": \"status\",\n \"runtimes\": [\n \"runtimes\"\n ],\n \"default_runtime\": \"default_runtime\",\n \"compatible_triggers\": [\n {\n \"id\": \"id\",\n \"version\": \"version\"\n }\n ],\n \"binding_policy\": \"trigger-bound\"\n }\n ],\n \"all_changes_deployed\": true,\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"code\": \"code\",\n \"dependencies\": [\n {\n \"name\": \"name\",\n \"version\": \"version\",\n \"registry_url\": \"registry_url\"\n }\n ],\n \"runtime\": \"runtime\",\n \"secrets\": [\n {\n \"name\": \"name\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n }\n ],\n \"deployed_version\": {\n \"id\": \"id\",\n \"action_id\": \"action_id\",\n \"code\": \"code\",\n \"dependencies\": [\n {}\n ],\n \"deployed\": true,\n \"runtime\": \"runtime\",\n \"secrets\": [\n {}\n ],\n \"status\": \"pending\",\n \"number\": 1.1,\n \"errors\": [\n {}\n ],\n \"action\": {\n \"id\": \"id\",\n \"name\": \"name\",\n \"supported_triggers\": [\n {\n \"id\": \"id\"\n }\n ],\n \"all_changes_deployed\": true,\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n },\n \"built_at\": \"2024-01-15T09:30:00Z\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"supported_triggers\": [\n {\n \"id\": \"id\"\n }\n ],\n \"modules\": [\n {}\n ]\n },\n \"installed_integration_id\": \"installed_integration_id\",\n \"integration\": {\n \"id\": \"id\",\n \"catalog_id\": \"catalog_id\",\n \"url_slug\": \"url_slug\",\n \"partner_id\": \"partner_id\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"short_description\": \"short_description\",\n \"logo\": \"logo\",\n \"feature_type\": \"unspecified\",\n \"terms_of_use_url\": \"terms_of_use_url\",\n \"privacy_policy_url\": \"privacy_policy_url\",\n \"public_support_link\": \"public_support_link\",\n \"current_release\": {\n \"id\": \"id\",\n \"trigger\": {\n \"id\": \"id\"\n },\n \"required_secrets\": [\n {}\n ],\n \"required_configuration\": [\n {}\n ]\n },\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n },\n \"status\": \"pending\",\n \"built_at\": \"2024-01-15T09:30:00Z\",\n \"deploy\": true,\n \"modules\": [\n {\n \"module_id\": \"module_id\",\n \"module_name\": \"module_name\",\n \"module_version_id\": \"module_version_id\",\n \"module_version_number\": 1\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"2679764d-6f00-495e-b8fb-210d140167ba","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"0bde5116-17ac-4ea2-be52-e584711a6b70","name":"Deploy an action - default","request":{"urlPathTemplate":"/actions/actions/{id}/deploy","method":"POST","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":202,"body":"{\n \"id\": \"id\",\n \"action_id\": \"action_id\",\n \"code\": \"code\",\n \"dependencies\": [\n {\n \"name\": \"name\",\n \"version\": \"version\",\n \"registry_url\": \"registry_url\"\n }\n ],\n \"deployed\": true,\n \"runtime\": \"runtime\",\n \"secrets\": [\n {\n \"name\": \"name\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n }\n ],\n \"status\": \"pending\",\n \"number\": 1.1,\n \"errors\": [\n {\n \"id\": \"id\",\n \"msg\": \"msg\",\n \"url\": \"url\"\n }\n ],\n \"action\": {\n \"id\": \"id\",\n \"name\": \"name\",\n \"supported_triggers\": [\n {\n \"id\": \"id\"\n }\n ],\n \"all_changes_deployed\": true,\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n },\n \"built_at\": \"2024-01-15T09:30:00Z\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"supported_triggers\": [\n {\n \"id\": \"id\",\n \"version\": \"version\",\n \"status\": \"status\",\n \"runtimes\": [\n \"runtimes\"\n ],\n \"default_runtime\": \"default_runtime\",\n \"compatible_triggers\": [\n {\n \"id\": \"id\",\n \"version\": \"version\"\n }\n ],\n \"binding_policy\": \"trigger-bound\"\n }\n ],\n \"modules\": [\n {\n \"module_id\": \"module_id\",\n \"module_name\": \"module_name\",\n \"module_version_id\": \"module_version_id\",\n \"module_version_number\": 1\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"0bde5116-17ac-4ea2-be52-e584711a6b70","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"ebf627bb-6f85-4597-a454-0c654c35202c","name":"Test an Action - default","request":{"urlPathTemplate":"/actions/actions/{id}/test","method":"POST","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"payload\": {\n \"key\": \"value\"\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"ebf627bb-6f85-4597-a454-0c654c35202c","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"0f76d290-6b70-4f62-abc8-3760917fe787","name":"Get branding settings - default","request":{"urlPathTemplate":"/branding","method":"GET"},"response":{"status":200,"body":"{\n \"colors\": {\n \"primary\": \"primary\",\n \"page_background\": \"page_background\"\n },\n \"favicon_url\": \"favicon_url\",\n \"logo_url\": \"logo_url\",\n \"font\": {\n \"url\": \"url\"\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"0f76d290-6b70-4f62-abc8-3760917fe787","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"9ca9e729-0745-457c-828d-37f7c8ab1698","name":"Update branding settings - default","request":{"urlPathTemplate":"/branding","method":"PATCH"},"response":{"status":200,"body":"{\n \"colors\": {\n \"primary\": \"primary\",\n \"page_background\": \"page_background\"\n },\n \"favicon_url\": \"favicon_url\",\n \"logo_url\": \"logo_url\",\n \"font\": {\n \"url\": \"url\"\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"9ca9e729-0745-457c-828d-37f7c8ab1698","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"5dbe0859-fbb5-4eb1-a803-8132e840e762","name":"Get client grants - default","request":{"urlPathTemplate":"/client-grants","method":"GET"},"response":{"status":200,"body":"{\n \"next\": \"next\",\n \"client_grants\": [\n {\n \"id\": \"id\",\n \"client_id\": \"client_id\",\n \"audience\": \"audience\",\n \"scope\": [\n \"scope\"\n ],\n \"organization_usage\": \"deny\",\n \"allow_any_organization\": true,\n \"is_system\": true,\n \"subject_type\": \"client\",\n \"authorization_details_types\": [\n \"authorization_details_types\"\n ],\n \"allow_all_scopes\": true\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"5dbe0859-fbb5-4eb1-a803-8132e840e762","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"006f7f26-5002-4b98-a65f-39f8aee8e968","name":"Create client grant - default","request":{"urlPathTemplate":"/client-grants","method":"POST"},"response":{"status":201,"body":"{\n \"id\": \"id\",\n \"client_id\": \"client_id\",\n \"audience\": \"audience\",\n \"scope\": [\n \"scope\"\n ],\n \"organization_usage\": \"deny\",\n \"allow_any_organization\": true,\n \"is_system\": true,\n \"subject_type\": \"client\",\n \"authorization_details_types\": [\n \"authorization_details_types\"\n ],\n \"allow_all_scopes\": true\n}","headers":{"Content-Type":"application/json"}},"uuid":"006f7f26-5002-4b98-a65f-39f8aee8e968","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"03f565a5-e2d6-4f29-ac5c-7e1d2bd25c37","name":"Get client grant - default","request":{"urlPathTemplate":"/client-grants/{id}","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"client_id\": \"client_id\",\n \"audience\": \"audience\",\n \"scope\": [\n \"scope\"\n ],\n \"organization_usage\": \"deny\",\n \"allow_any_organization\": true,\n \"is_system\": true,\n \"subject_type\": \"client\",\n \"authorization_details_types\": [\n \"authorization_details_types\"\n ],\n \"allow_all_scopes\": true\n}","headers":{"Content-Type":"application/json"}},"uuid":"03f565a5-e2d6-4f29-ac5c-7e1d2bd25c37","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"00010fe3-8553-4cd6-9b9a-68aad031054f","name":"Delete client grant - default","request":{"urlPathTemplate":"/client-grants/{id}","method":"DELETE","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"00010fe3-8553-4cd6-9b9a-68aad031054f","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"d4a5deb2-fef3-4f0d-84ab-d78760e07405","name":"Update client grant - default","request":{"urlPathTemplate":"/client-grants/{id}","method":"PATCH","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"client_id\": \"client_id\",\n \"audience\": \"audience\",\n \"scope\": [\n \"scope\"\n ],\n \"organization_usage\": \"deny\",\n \"allow_any_organization\": true,\n \"is_system\": true,\n \"subject_type\": \"client\",\n \"authorization_details_types\": [\n \"authorization_details_types\"\n ],\n \"allow_all_scopes\": true\n}","headers":{"Content-Type":"application/json"}},"uuid":"d4a5deb2-fef3-4f0d-84ab-d78760e07405","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"e9057410-f073-4b5b-83dc-dc4d5625ef27","name":"Get clients - default","request":{"urlPathTemplate":"/clients","method":"GET"},"response":{"status":200,"body":"{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"total\": 1.1,\n \"clients\": [\n {\n \"client_id\": \"client_id\",\n \"tenant\": \"tenant\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"global\": true,\n \"client_secret\": \"client_secret\",\n \"app_type\": \"native\",\n \"logo_uri\": \"logo_uri\",\n \"is_first_party\": true,\n \"oidc_conformant\": true,\n \"callbacks\": [\n \"callbacks\"\n ],\n \"allowed_origins\": [\n \"allowed_origins\"\n ],\n \"web_origins\": [\n \"web_origins\"\n ],\n \"client_aliases\": [\n \"client_aliases\"\n ],\n \"allowed_clients\": [\n \"allowed_clients\"\n ],\n \"allowed_logout_urls\": [\n \"allowed_logout_urls\"\n ],\n \"grant_types\": [\n \"grant_types\"\n ],\n \"signing_keys\": [\n {}\n ],\n \"sso\": true,\n \"sso_disabled\": true,\n \"cross_origin_authentication\": true,\n \"cross_origin_loc\": \"cross_origin_loc\",\n \"custom_login_page_on\": true,\n \"custom_login_page\": \"custom_login_page\",\n \"custom_login_page_preview\": \"custom_login_page_preview\",\n \"form_template\": \"form_template\",\n \"token_endpoint_auth_method\": \"none\",\n \"is_token_endpoint_ip_header_trusted\": true,\n \"client_metadata\": {\n \"key\": \"value\"\n },\n \"initiate_login_uri\": \"initiate_login_uri\",\n \"refresh_token\": {\n \"rotation_type\": \"rotating\",\n \"expiration_type\": \"expiring\"\n },\n \"default_organization\": {\n \"organization_id\": \"organization_id\",\n \"flows\": [\n \"client_credentials\"\n ]\n },\n \"organization_usage\": \"deny\",\n \"organization_require_behavior\": \"no_prompt\",\n \"organization_discovery_methods\": [\n \"email\"\n ],\n \"require_pushed_authorization_requests\": true,\n \"require_proof_of_possession\": true,\n \"compliance_level\": \"none\",\n \"skip_non_verifiable_callback_uri_confirmation_prompt\": true,\n \"par_request_expiry\": 1,\n \"token_quota\": {\n \"client_credentials\": {}\n },\n \"express_configuration\": {\n \"initiate_login_uri_template\": \"initiate_login_uri_template\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"connection_profile_id\": \"connection_profile_id\",\n \"enable_client\": true,\n \"enable_organization\": true,\n \"okta_oin_client_id\": \"okta_oin_client_id\",\n \"admin_login_domain\": \"admin_login_domain\"\n },\n \"resource_server_identifier\": \"resource_server_identifier\",\n \"async_approval_notification_channels\": [\n \"guardian-push\"\n ]\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"e9057410-f073-4b5b-83dc-dc4d5625ef27","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"f689c30d-6d4c-42b6-8ab3-1dd1ca9672d6","name":"Create a client - default","request":{"urlPathTemplate":"/clients","method":"POST"},"response":{"status":201,"body":"{\n \"client_id\": \"client_id\",\n \"tenant\": \"tenant\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"global\": true,\n \"client_secret\": \"client_secret\",\n \"app_type\": \"native\",\n \"logo_uri\": \"logo_uri\",\n \"is_first_party\": true,\n \"oidc_conformant\": true,\n \"callbacks\": [\n \"callbacks\"\n ],\n \"allowed_origins\": [\n \"allowed_origins\"\n ],\n \"web_origins\": [\n \"web_origins\"\n ],\n \"client_aliases\": [\n \"client_aliases\"\n ],\n \"allowed_clients\": [\n \"allowed_clients\"\n ],\n \"allowed_logout_urls\": [\n \"allowed_logout_urls\"\n ],\n \"session_transfer\": {\n \"can_create_session_transfer_token\": true,\n \"enforce_cascade_revocation\": true,\n \"allowed_authentication_methods\": [\n \"cookie\"\n ],\n \"enforce_device_binding\": \"ip\",\n \"allow_refresh_token\": true,\n \"enforce_online_refresh_tokens\": true\n },\n \"oidc_logout\": {\n \"backchannel_logout_urls\": [\n \"backchannel_logout_urls\"\n ],\n \"backchannel_logout_initiators\": {\n \"mode\": \"custom\",\n \"selected_initiators\": [\n \"rp-logout\"\n ]\n },\n \"backchannel_logout_session_metadata\": {\n \"include\": true\n }\n },\n \"grant_types\": [\n \"grant_types\"\n ],\n \"jwt_configuration\": {\n \"lifetime_in_seconds\": 1,\n \"secret_encoded\": true,\n \"scopes\": {\n \"key\": \"value\"\n },\n \"alg\": \"HS256\"\n },\n \"signing_keys\": [\n {\n \"pkcs7\": \"pkcs7\",\n \"cert\": \"cert\",\n \"subject\": \"subject\"\n }\n ],\n \"encryption_key\": {\n \"pub\": \"pub\",\n \"cert\": \"cert\",\n \"subject\": \"subject\"\n },\n \"sso\": true,\n \"sso_disabled\": true,\n \"cross_origin_authentication\": true,\n \"cross_origin_loc\": \"cross_origin_loc\",\n \"custom_login_page_on\": true,\n \"custom_login_page\": \"custom_login_page\",\n \"custom_login_page_preview\": \"custom_login_page_preview\",\n \"form_template\": \"form_template\",\n \"addons\": {\n \"aws\": {\n \"principal\": \"principal\",\n \"role\": \"role\",\n \"lifetime_in_seconds\": 1\n },\n \"azure_blob\": {\n \"accountName\": \"accountName\",\n \"storageAccessKey\": \"storageAccessKey\",\n \"containerName\": \"containerName\",\n \"blobName\": \"blobName\",\n \"expiration\": 1,\n \"signedIdentifier\": \"signedIdentifier\",\n \"blob_read\": true,\n \"blob_write\": true,\n \"blob_delete\": true,\n \"container_read\": true,\n \"container_write\": true,\n \"container_delete\": true,\n \"container_list\": true\n },\n \"azure_sb\": {\n \"namespace\": \"namespace\",\n \"sasKeyName\": \"sasKeyName\",\n \"sasKey\": \"sasKey\",\n \"entityPath\": \"entityPath\",\n \"expiration\": 1\n },\n \"rms\": {\n \"url\": \"url\"\n },\n \"mscrm\": {\n \"url\": \"url\"\n },\n \"slack\": {\n \"team\": \"team\"\n },\n \"sentry\": {\n \"org_slug\": \"org_slug\",\n \"base_url\": \"base_url\"\n },\n \"box\": {\n \"key\": \"value\"\n },\n \"cloudbees\": {\n \"key\": \"value\"\n },\n \"concur\": {\n \"key\": \"value\"\n },\n \"dropbox\": {\n \"key\": \"value\"\n },\n \"echosign\": {\n \"domain\": \"domain\"\n },\n \"egnyte\": {\n \"domain\": \"domain\"\n },\n \"firebase\": {\n \"secret\": \"secret\",\n \"private_key_id\": \"private_key_id\",\n \"private_key\": \"private_key\",\n \"client_email\": \"client_email\",\n \"lifetime_in_seconds\": 1\n },\n \"newrelic\": {\n \"account\": \"account\"\n },\n \"office365\": {\n \"domain\": \"domain\",\n \"connection\": \"connection\"\n },\n \"salesforce\": {\n \"entity_id\": \"entity_id\"\n },\n \"salesforce_api\": {\n \"clientid\": \"clientid\",\n \"principal\": \"principal\",\n \"communityName\": \"communityName\",\n \"community_url_section\": \"community_url_section\"\n },\n \"salesforce_sandbox_api\": {\n \"clientid\": \"clientid\",\n \"principal\": \"principal\",\n \"communityName\": \"communityName\",\n \"community_url_section\": \"community_url_section\"\n },\n \"samlp\": {\n \"mappings\": {\n \"key\": \"value\"\n },\n \"audience\": \"audience\",\n \"recipient\": \"recipient\",\n \"createUpnClaim\": true,\n \"mapUnknownClaimsAsIs\": true,\n \"passthroughClaimsWithNoMapping\": true,\n \"mapIdentities\": true,\n \"signatureAlgorithm\": \"signatureAlgorithm\",\n \"digestAlgorithm\": \"digestAlgorithm\",\n \"issuer\": \"issuer\",\n \"destination\": \"destination\",\n \"lifetimeInSeconds\": 1,\n \"signResponse\": true,\n \"nameIdentifierFormat\": \"nameIdentifierFormat\",\n \"nameIdentifierProbes\": [\n \"nameIdentifierProbes\"\n ],\n \"authnContextClassRef\": \"authnContextClassRef\"\n },\n \"layer\": {\n \"providerId\": \"providerId\",\n \"keyId\": \"keyId\",\n \"privateKey\": \"privateKey\",\n \"principal\": \"principal\",\n \"expiration\": 1\n },\n \"sap_api\": {\n \"clientid\": \"clientid\",\n \"usernameAttribute\": \"usernameAttribute\",\n \"tokenEndpointUrl\": \"tokenEndpointUrl\",\n \"scope\": \"scope\",\n \"servicePassword\": \"servicePassword\",\n \"nameIdentifierFormat\": \"nameIdentifierFormat\"\n },\n \"sharepoint\": {\n \"url\": \"url\",\n \"external_url\": [\n \"external_url\"\n ]\n },\n \"springcm\": {\n \"acsurl\": \"acsurl\"\n },\n \"wams\": {\n \"masterkey\": \"masterkey\"\n },\n \"wsfed\": {\n \"key\": \"value\"\n },\n \"zendesk\": {\n \"accountName\": \"accountName\"\n },\n \"zoom\": {\n \"account\": \"account\"\n },\n \"sso_integration\": {\n \"name\": \"name\",\n \"version\": \"version\"\n }\n },\n \"token_endpoint_auth_method\": \"none\",\n \"is_token_endpoint_ip_header_trusted\": true,\n \"client_metadata\": {\n \"key\": \"value\"\n },\n \"mobile\": {\n \"android\": {\n \"app_package_name\": \"app_package_name\",\n \"sha256_cert_fingerprints\": [\n \"sha256_cert_fingerprints\"\n ]\n },\n \"ios\": {\n \"team_id\": \"team_id\",\n \"app_bundle_identifier\": \"app_bundle_identifier\"\n }\n },\n \"initiate_login_uri\": \"initiate_login_uri\",\n \"refresh_token\": {\n \"rotation_type\": \"rotating\",\n \"expiration_type\": \"expiring\",\n \"leeway\": 1,\n \"token_lifetime\": 1,\n \"infinite_token_lifetime\": true,\n \"idle_token_lifetime\": 1,\n \"infinite_idle_token_lifetime\": true,\n \"policies\": [\n {\n \"audience\": \"audience\",\n \"scope\": [\n \"scope\"\n ]\n }\n ]\n },\n \"default_organization\": {\n \"organization_id\": \"organization_id\",\n \"flows\": [\n \"client_credentials\"\n ]\n },\n \"organization_usage\": \"deny\",\n \"organization_require_behavior\": \"no_prompt\",\n \"organization_discovery_methods\": [\n \"email\"\n ],\n \"client_authentication_methods\": {\n \"private_key_jwt\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"tls_client_auth\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"self_signed_tls_client_auth\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n }\n },\n \"require_pushed_authorization_requests\": true,\n \"require_proof_of_possession\": true,\n \"signed_request_object\": {\n \"required\": true,\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"compliance_level\": \"none\",\n \"skip_non_verifiable_callback_uri_confirmation_prompt\": true,\n \"token_exchange\": {\n \"allow_any_profile_of_type\": [\n \"custom_authentication\"\n ]\n },\n \"par_request_expiry\": 1,\n \"token_quota\": {\n \"client_credentials\": {\n \"enforce\": true,\n \"per_day\": 1,\n \"per_hour\": 1\n }\n },\n \"express_configuration\": {\n \"initiate_login_uri_template\": \"initiate_login_uri_template\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"connection_profile_id\": \"connection_profile_id\",\n \"enable_client\": true,\n \"enable_organization\": true,\n \"linked_clients\": [\n {\n \"client_id\": \"client_id\"\n }\n ],\n \"okta_oin_client_id\": \"okta_oin_client_id\",\n \"admin_login_domain\": \"admin_login_domain\",\n \"oin_submission_id\": \"oin_submission_id\"\n },\n \"resource_server_identifier\": \"resource_server_identifier\",\n \"async_approval_notification_channels\": [\n \"guardian-push\"\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"f689c30d-6d4c-42b6-8ab3-1dd1ca9672d6","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"12071cdc-1adc-4b32-8601-2cd12aa19c0c","name":"Get client by ID - default","request":{"urlPathTemplate":"/clients/{id}","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"client_id\": \"client_id\",\n \"tenant\": \"tenant\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"global\": true,\n \"client_secret\": \"client_secret\",\n \"app_type\": \"native\",\n \"logo_uri\": \"logo_uri\",\n \"is_first_party\": true,\n \"oidc_conformant\": true,\n \"callbacks\": [\n \"callbacks\"\n ],\n \"allowed_origins\": [\n \"allowed_origins\"\n ],\n \"web_origins\": [\n \"web_origins\"\n ],\n \"client_aliases\": [\n \"client_aliases\"\n ],\n \"allowed_clients\": [\n \"allowed_clients\"\n ],\n \"allowed_logout_urls\": [\n \"allowed_logout_urls\"\n ],\n \"session_transfer\": {\n \"can_create_session_transfer_token\": true,\n \"enforce_cascade_revocation\": true,\n \"allowed_authentication_methods\": [\n \"cookie\"\n ],\n \"enforce_device_binding\": \"ip\",\n \"allow_refresh_token\": true,\n \"enforce_online_refresh_tokens\": true\n },\n \"oidc_logout\": {\n \"backchannel_logout_urls\": [\n \"backchannel_logout_urls\"\n ],\n \"backchannel_logout_initiators\": {\n \"mode\": \"custom\",\n \"selected_initiators\": [\n \"rp-logout\"\n ]\n },\n \"backchannel_logout_session_metadata\": {\n \"include\": true\n }\n },\n \"grant_types\": [\n \"grant_types\"\n ],\n \"jwt_configuration\": {\n \"lifetime_in_seconds\": 1,\n \"secret_encoded\": true,\n \"scopes\": {\n \"key\": \"value\"\n },\n \"alg\": \"HS256\"\n },\n \"signing_keys\": [\n {\n \"pkcs7\": \"pkcs7\",\n \"cert\": \"cert\",\n \"subject\": \"subject\"\n }\n ],\n \"encryption_key\": {\n \"pub\": \"pub\",\n \"cert\": \"cert\",\n \"subject\": \"subject\"\n },\n \"sso\": true,\n \"sso_disabled\": true,\n \"cross_origin_authentication\": true,\n \"cross_origin_loc\": \"cross_origin_loc\",\n \"custom_login_page_on\": true,\n \"custom_login_page\": \"custom_login_page\",\n \"custom_login_page_preview\": \"custom_login_page_preview\",\n \"form_template\": \"form_template\",\n \"addons\": {\n \"aws\": {\n \"principal\": \"principal\",\n \"role\": \"role\",\n \"lifetime_in_seconds\": 1\n },\n \"azure_blob\": {\n \"accountName\": \"accountName\",\n \"storageAccessKey\": \"storageAccessKey\",\n \"containerName\": \"containerName\",\n \"blobName\": \"blobName\",\n \"expiration\": 1,\n \"signedIdentifier\": \"signedIdentifier\",\n \"blob_read\": true,\n \"blob_write\": true,\n \"blob_delete\": true,\n \"container_read\": true,\n \"container_write\": true,\n \"container_delete\": true,\n \"container_list\": true\n },\n \"azure_sb\": {\n \"namespace\": \"namespace\",\n \"sasKeyName\": \"sasKeyName\",\n \"sasKey\": \"sasKey\",\n \"entityPath\": \"entityPath\",\n \"expiration\": 1\n },\n \"rms\": {\n \"url\": \"url\"\n },\n \"mscrm\": {\n \"url\": \"url\"\n },\n \"slack\": {\n \"team\": \"team\"\n },\n \"sentry\": {\n \"org_slug\": \"org_slug\",\n \"base_url\": \"base_url\"\n },\n \"box\": {\n \"key\": \"value\"\n },\n \"cloudbees\": {\n \"key\": \"value\"\n },\n \"concur\": {\n \"key\": \"value\"\n },\n \"dropbox\": {\n \"key\": \"value\"\n },\n \"echosign\": {\n \"domain\": \"domain\"\n },\n \"egnyte\": {\n \"domain\": \"domain\"\n },\n \"firebase\": {\n \"secret\": \"secret\",\n \"private_key_id\": \"private_key_id\",\n \"private_key\": \"private_key\",\n \"client_email\": \"client_email\",\n \"lifetime_in_seconds\": 1\n },\n \"newrelic\": {\n \"account\": \"account\"\n },\n \"office365\": {\n \"domain\": \"domain\",\n \"connection\": \"connection\"\n },\n \"salesforce\": {\n \"entity_id\": \"entity_id\"\n },\n \"salesforce_api\": {\n \"clientid\": \"clientid\",\n \"principal\": \"principal\",\n \"communityName\": \"communityName\",\n \"community_url_section\": \"community_url_section\"\n },\n \"salesforce_sandbox_api\": {\n \"clientid\": \"clientid\",\n \"principal\": \"principal\",\n \"communityName\": \"communityName\",\n \"community_url_section\": \"community_url_section\"\n },\n \"samlp\": {\n \"mappings\": {\n \"key\": \"value\"\n },\n \"audience\": \"audience\",\n \"recipient\": \"recipient\",\n \"createUpnClaim\": true,\n \"mapUnknownClaimsAsIs\": true,\n \"passthroughClaimsWithNoMapping\": true,\n \"mapIdentities\": true,\n \"signatureAlgorithm\": \"signatureAlgorithm\",\n \"digestAlgorithm\": \"digestAlgorithm\",\n \"issuer\": \"issuer\",\n \"destination\": \"destination\",\n \"lifetimeInSeconds\": 1,\n \"signResponse\": true,\n \"nameIdentifierFormat\": \"nameIdentifierFormat\",\n \"nameIdentifierProbes\": [\n \"nameIdentifierProbes\"\n ],\n \"authnContextClassRef\": \"authnContextClassRef\"\n },\n \"layer\": {\n \"providerId\": \"providerId\",\n \"keyId\": \"keyId\",\n \"privateKey\": \"privateKey\",\n \"principal\": \"principal\",\n \"expiration\": 1\n },\n \"sap_api\": {\n \"clientid\": \"clientid\",\n \"usernameAttribute\": \"usernameAttribute\",\n \"tokenEndpointUrl\": \"tokenEndpointUrl\",\n \"scope\": \"scope\",\n \"servicePassword\": \"servicePassword\",\n \"nameIdentifierFormat\": \"nameIdentifierFormat\"\n },\n \"sharepoint\": {\n \"url\": \"url\",\n \"external_url\": [\n \"external_url\"\n ]\n },\n \"springcm\": {\n \"acsurl\": \"acsurl\"\n },\n \"wams\": {\n \"masterkey\": \"masterkey\"\n },\n \"wsfed\": {\n \"key\": \"value\"\n },\n \"zendesk\": {\n \"accountName\": \"accountName\"\n },\n \"zoom\": {\n \"account\": \"account\"\n },\n \"sso_integration\": {\n \"name\": \"name\",\n \"version\": \"version\"\n }\n },\n \"token_endpoint_auth_method\": \"none\",\n \"is_token_endpoint_ip_header_trusted\": true,\n \"client_metadata\": {\n \"key\": \"value\"\n },\n \"mobile\": {\n \"android\": {\n \"app_package_name\": \"app_package_name\",\n \"sha256_cert_fingerprints\": [\n \"sha256_cert_fingerprints\"\n ]\n },\n \"ios\": {\n \"team_id\": \"team_id\",\n \"app_bundle_identifier\": \"app_bundle_identifier\"\n }\n },\n \"initiate_login_uri\": \"initiate_login_uri\",\n \"refresh_token\": {\n \"rotation_type\": \"rotating\",\n \"expiration_type\": \"expiring\",\n \"leeway\": 1,\n \"token_lifetime\": 1,\n \"infinite_token_lifetime\": true,\n \"idle_token_lifetime\": 1,\n \"infinite_idle_token_lifetime\": true,\n \"policies\": [\n {\n \"audience\": \"audience\",\n \"scope\": [\n \"scope\"\n ]\n }\n ]\n },\n \"default_organization\": {\n \"organization_id\": \"organization_id\",\n \"flows\": [\n \"client_credentials\"\n ]\n },\n \"organization_usage\": \"deny\",\n \"organization_require_behavior\": \"no_prompt\",\n \"organization_discovery_methods\": [\n \"email\"\n ],\n \"client_authentication_methods\": {\n \"private_key_jwt\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"tls_client_auth\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"self_signed_tls_client_auth\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n }\n },\n \"require_pushed_authorization_requests\": true,\n \"require_proof_of_possession\": true,\n \"signed_request_object\": {\n \"required\": true,\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"compliance_level\": \"none\",\n \"skip_non_verifiable_callback_uri_confirmation_prompt\": true,\n \"token_exchange\": {\n \"allow_any_profile_of_type\": [\n \"custom_authentication\"\n ]\n },\n \"par_request_expiry\": 1,\n \"token_quota\": {\n \"client_credentials\": {\n \"enforce\": true,\n \"per_day\": 1,\n \"per_hour\": 1\n }\n },\n \"express_configuration\": {\n \"initiate_login_uri_template\": \"initiate_login_uri_template\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"connection_profile_id\": \"connection_profile_id\",\n \"enable_client\": true,\n \"enable_organization\": true,\n \"linked_clients\": [\n {\n \"client_id\": \"client_id\"\n }\n ],\n \"okta_oin_client_id\": \"okta_oin_client_id\",\n \"admin_login_domain\": \"admin_login_domain\",\n \"oin_submission_id\": \"oin_submission_id\"\n },\n \"resource_server_identifier\": \"resource_server_identifier\",\n \"async_approval_notification_channels\": [\n \"guardian-push\"\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"12071cdc-1adc-4b32-8601-2cd12aa19c0c","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"814f5054-4723-45e8-8d89-5a7da08db0d8","name":"Delete a client - default","request":{"urlPathTemplate":"/clients/{id}","method":"DELETE","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"814f5054-4723-45e8-8d89-5a7da08db0d8","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"b4e5dc6c-c84f-4128-b87a-50876b601f77","name":"Update a client - default","request":{"urlPathTemplate":"/clients/{id}","method":"PATCH","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"client_id\": \"client_id\",\n \"tenant\": \"tenant\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"global\": true,\n \"client_secret\": \"client_secret\",\n \"app_type\": \"native\",\n \"logo_uri\": \"logo_uri\",\n \"is_first_party\": true,\n \"oidc_conformant\": true,\n \"callbacks\": [\n \"callbacks\"\n ],\n \"allowed_origins\": [\n \"allowed_origins\"\n ],\n \"web_origins\": [\n \"web_origins\"\n ],\n \"client_aliases\": [\n \"client_aliases\"\n ],\n \"allowed_clients\": [\n \"allowed_clients\"\n ],\n \"allowed_logout_urls\": [\n \"allowed_logout_urls\"\n ],\n \"session_transfer\": {\n \"can_create_session_transfer_token\": true,\n \"enforce_cascade_revocation\": true,\n \"allowed_authentication_methods\": [\n \"cookie\"\n ],\n \"enforce_device_binding\": \"ip\",\n \"allow_refresh_token\": true,\n \"enforce_online_refresh_tokens\": true\n },\n \"oidc_logout\": {\n \"backchannel_logout_urls\": [\n \"backchannel_logout_urls\"\n ],\n \"backchannel_logout_initiators\": {\n \"mode\": \"custom\",\n \"selected_initiators\": [\n \"rp-logout\"\n ]\n },\n \"backchannel_logout_session_metadata\": {\n \"include\": true\n }\n },\n \"grant_types\": [\n \"grant_types\"\n ],\n \"jwt_configuration\": {\n \"lifetime_in_seconds\": 1,\n \"secret_encoded\": true,\n \"scopes\": {\n \"key\": \"value\"\n },\n \"alg\": \"HS256\"\n },\n \"signing_keys\": [\n {\n \"pkcs7\": \"pkcs7\",\n \"cert\": \"cert\",\n \"subject\": \"subject\"\n }\n ],\n \"encryption_key\": {\n \"pub\": \"pub\",\n \"cert\": \"cert\",\n \"subject\": \"subject\"\n },\n \"sso\": true,\n \"sso_disabled\": true,\n \"cross_origin_authentication\": true,\n \"cross_origin_loc\": \"cross_origin_loc\",\n \"custom_login_page_on\": true,\n \"custom_login_page\": \"custom_login_page\",\n \"custom_login_page_preview\": \"custom_login_page_preview\",\n \"form_template\": \"form_template\",\n \"addons\": {\n \"aws\": {\n \"principal\": \"principal\",\n \"role\": \"role\",\n \"lifetime_in_seconds\": 1\n },\n \"azure_blob\": {\n \"accountName\": \"accountName\",\n \"storageAccessKey\": \"storageAccessKey\",\n \"containerName\": \"containerName\",\n \"blobName\": \"blobName\",\n \"expiration\": 1,\n \"signedIdentifier\": \"signedIdentifier\",\n \"blob_read\": true,\n \"blob_write\": true,\n \"blob_delete\": true,\n \"container_read\": true,\n \"container_write\": true,\n \"container_delete\": true,\n \"container_list\": true\n },\n \"azure_sb\": {\n \"namespace\": \"namespace\",\n \"sasKeyName\": \"sasKeyName\",\n \"sasKey\": \"sasKey\",\n \"entityPath\": \"entityPath\",\n \"expiration\": 1\n },\n \"rms\": {\n \"url\": \"url\"\n },\n \"mscrm\": {\n \"url\": \"url\"\n },\n \"slack\": {\n \"team\": \"team\"\n },\n \"sentry\": {\n \"org_slug\": \"org_slug\",\n \"base_url\": \"base_url\"\n },\n \"box\": {\n \"key\": \"value\"\n },\n \"cloudbees\": {\n \"key\": \"value\"\n },\n \"concur\": {\n \"key\": \"value\"\n },\n \"dropbox\": {\n \"key\": \"value\"\n },\n \"echosign\": {\n \"domain\": \"domain\"\n },\n \"egnyte\": {\n \"domain\": \"domain\"\n },\n \"firebase\": {\n \"secret\": \"secret\",\n \"private_key_id\": \"private_key_id\",\n \"private_key\": \"private_key\",\n \"client_email\": \"client_email\",\n \"lifetime_in_seconds\": 1\n },\n \"newrelic\": {\n \"account\": \"account\"\n },\n \"office365\": {\n \"domain\": \"domain\",\n \"connection\": \"connection\"\n },\n \"salesforce\": {\n \"entity_id\": \"entity_id\"\n },\n \"salesforce_api\": {\n \"clientid\": \"clientid\",\n \"principal\": \"principal\",\n \"communityName\": \"communityName\",\n \"community_url_section\": \"community_url_section\"\n },\n \"salesforce_sandbox_api\": {\n \"clientid\": \"clientid\",\n \"principal\": \"principal\",\n \"communityName\": \"communityName\",\n \"community_url_section\": \"community_url_section\"\n },\n \"samlp\": {\n \"mappings\": {\n \"key\": \"value\"\n },\n \"audience\": \"audience\",\n \"recipient\": \"recipient\",\n \"createUpnClaim\": true,\n \"mapUnknownClaimsAsIs\": true,\n \"passthroughClaimsWithNoMapping\": true,\n \"mapIdentities\": true,\n \"signatureAlgorithm\": \"signatureAlgorithm\",\n \"digestAlgorithm\": \"digestAlgorithm\",\n \"issuer\": \"issuer\",\n \"destination\": \"destination\",\n \"lifetimeInSeconds\": 1,\n \"signResponse\": true,\n \"nameIdentifierFormat\": \"nameIdentifierFormat\",\n \"nameIdentifierProbes\": [\n \"nameIdentifierProbes\"\n ],\n \"authnContextClassRef\": \"authnContextClassRef\"\n },\n \"layer\": {\n \"providerId\": \"providerId\",\n \"keyId\": \"keyId\",\n \"privateKey\": \"privateKey\",\n \"principal\": \"principal\",\n \"expiration\": 1\n },\n \"sap_api\": {\n \"clientid\": \"clientid\",\n \"usernameAttribute\": \"usernameAttribute\",\n \"tokenEndpointUrl\": \"tokenEndpointUrl\",\n \"scope\": \"scope\",\n \"servicePassword\": \"servicePassword\",\n \"nameIdentifierFormat\": \"nameIdentifierFormat\"\n },\n \"sharepoint\": {\n \"url\": \"url\",\n \"external_url\": [\n \"external_url\"\n ]\n },\n \"springcm\": {\n \"acsurl\": \"acsurl\"\n },\n \"wams\": {\n \"masterkey\": \"masterkey\"\n },\n \"wsfed\": {\n \"key\": \"value\"\n },\n \"zendesk\": {\n \"accountName\": \"accountName\"\n },\n \"zoom\": {\n \"account\": \"account\"\n },\n \"sso_integration\": {\n \"name\": \"name\",\n \"version\": \"version\"\n }\n },\n \"token_endpoint_auth_method\": \"none\",\n \"is_token_endpoint_ip_header_trusted\": true,\n \"client_metadata\": {\n \"key\": \"value\"\n },\n \"mobile\": {\n \"android\": {\n \"app_package_name\": \"app_package_name\",\n \"sha256_cert_fingerprints\": [\n \"sha256_cert_fingerprints\"\n ]\n },\n \"ios\": {\n \"team_id\": \"team_id\",\n \"app_bundle_identifier\": \"app_bundle_identifier\"\n }\n },\n \"initiate_login_uri\": \"initiate_login_uri\",\n \"refresh_token\": {\n \"rotation_type\": \"rotating\",\n \"expiration_type\": \"expiring\",\n \"leeway\": 1,\n \"token_lifetime\": 1,\n \"infinite_token_lifetime\": true,\n \"idle_token_lifetime\": 1,\n \"infinite_idle_token_lifetime\": true,\n \"policies\": [\n {\n \"audience\": \"audience\",\n \"scope\": [\n \"scope\"\n ]\n }\n ]\n },\n \"default_organization\": {\n \"organization_id\": \"organization_id\",\n \"flows\": [\n \"client_credentials\"\n ]\n },\n \"organization_usage\": \"deny\",\n \"organization_require_behavior\": \"no_prompt\",\n \"organization_discovery_methods\": [\n \"email\"\n ],\n \"client_authentication_methods\": {\n \"private_key_jwt\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"tls_client_auth\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"self_signed_tls_client_auth\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n }\n },\n \"require_pushed_authorization_requests\": true,\n \"require_proof_of_possession\": true,\n \"signed_request_object\": {\n \"required\": true,\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"compliance_level\": \"none\",\n \"skip_non_verifiable_callback_uri_confirmation_prompt\": true,\n \"token_exchange\": {\n \"allow_any_profile_of_type\": [\n \"custom_authentication\"\n ]\n },\n \"par_request_expiry\": 1,\n \"token_quota\": {\n \"client_credentials\": {\n \"enforce\": true,\n \"per_day\": 1,\n \"per_hour\": 1\n }\n },\n \"express_configuration\": {\n \"initiate_login_uri_template\": \"initiate_login_uri_template\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"connection_profile_id\": \"connection_profile_id\",\n \"enable_client\": true,\n \"enable_organization\": true,\n \"linked_clients\": [\n {\n \"client_id\": \"client_id\"\n }\n ],\n \"okta_oin_client_id\": \"okta_oin_client_id\",\n \"admin_login_domain\": \"admin_login_domain\",\n \"oin_submission_id\": \"oin_submission_id\"\n },\n \"resource_server_identifier\": \"resource_server_identifier\",\n \"async_approval_notification_channels\": [\n \"guardian-push\"\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"b4e5dc6c-c84f-4128-b87a-50876b601f77","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"3dbf1f11-9054-4a8d-b670-96640f3ba9a5","name":"Rotate a client secret - default","request":{"urlPathTemplate":"/clients/{id}/rotate-secret","method":"POST","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"client_id\": \"client_id\",\n \"tenant\": \"tenant\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"global\": true,\n \"client_secret\": \"client_secret\",\n \"app_type\": \"native\",\n \"logo_uri\": \"logo_uri\",\n \"is_first_party\": true,\n \"oidc_conformant\": true,\n \"callbacks\": [\n \"callbacks\"\n ],\n \"allowed_origins\": [\n \"allowed_origins\"\n ],\n \"web_origins\": [\n \"web_origins\"\n ],\n \"client_aliases\": [\n \"client_aliases\"\n ],\n \"allowed_clients\": [\n \"allowed_clients\"\n ],\n \"allowed_logout_urls\": [\n \"allowed_logout_urls\"\n ],\n \"session_transfer\": {\n \"can_create_session_transfer_token\": true,\n \"enforce_cascade_revocation\": true,\n \"allowed_authentication_methods\": [\n \"cookie\"\n ],\n \"enforce_device_binding\": \"ip\",\n \"allow_refresh_token\": true,\n \"enforce_online_refresh_tokens\": true\n },\n \"oidc_logout\": {\n \"backchannel_logout_urls\": [\n \"backchannel_logout_urls\"\n ],\n \"backchannel_logout_initiators\": {\n \"mode\": \"custom\",\n \"selected_initiators\": [\n \"rp-logout\"\n ]\n },\n \"backchannel_logout_session_metadata\": {\n \"include\": true\n }\n },\n \"grant_types\": [\n \"grant_types\"\n ],\n \"jwt_configuration\": {\n \"lifetime_in_seconds\": 1,\n \"secret_encoded\": true,\n \"scopes\": {\n \"key\": \"value\"\n },\n \"alg\": \"HS256\"\n },\n \"signing_keys\": [\n {\n \"pkcs7\": \"pkcs7\",\n \"cert\": \"cert\",\n \"subject\": \"subject\"\n }\n ],\n \"encryption_key\": {\n \"pub\": \"pub\",\n \"cert\": \"cert\",\n \"subject\": \"subject\"\n },\n \"sso\": true,\n \"sso_disabled\": true,\n \"cross_origin_authentication\": true,\n \"cross_origin_loc\": \"cross_origin_loc\",\n \"custom_login_page_on\": true,\n \"custom_login_page\": \"custom_login_page\",\n \"custom_login_page_preview\": \"custom_login_page_preview\",\n \"form_template\": \"form_template\",\n \"addons\": {\n \"aws\": {\n \"principal\": \"principal\",\n \"role\": \"role\",\n \"lifetime_in_seconds\": 1\n },\n \"azure_blob\": {\n \"accountName\": \"accountName\",\n \"storageAccessKey\": \"storageAccessKey\",\n \"containerName\": \"containerName\",\n \"blobName\": \"blobName\",\n \"expiration\": 1,\n \"signedIdentifier\": \"signedIdentifier\",\n \"blob_read\": true,\n \"blob_write\": true,\n \"blob_delete\": true,\n \"container_read\": true,\n \"container_write\": true,\n \"container_delete\": true,\n \"container_list\": true\n },\n \"azure_sb\": {\n \"namespace\": \"namespace\",\n \"sasKeyName\": \"sasKeyName\",\n \"sasKey\": \"sasKey\",\n \"entityPath\": \"entityPath\",\n \"expiration\": 1\n },\n \"rms\": {\n \"url\": \"url\"\n },\n \"mscrm\": {\n \"url\": \"url\"\n },\n \"slack\": {\n \"team\": \"team\"\n },\n \"sentry\": {\n \"org_slug\": \"org_slug\",\n \"base_url\": \"base_url\"\n },\n \"box\": {\n \"key\": \"value\"\n },\n \"cloudbees\": {\n \"key\": \"value\"\n },\n \"concur\": {\n \"key\": \"value\"\n },\n \"dropbox\": {\n \"key\": \"value\"\n },\n \"echosign\": {\n \"domain\": \"domain\"\n },\n \"egnyte\": {\n \"domain\": \"domain\"\n },\n \"firebase\": {\n \"secret\": \"secret\",\n \"private_key_id\": \"private_key_id\",\n \"private_key\": \"private_key\",\n \"client_email\": \"client_email\",\n \"lifetime_in_seconds\": 1\n },\n \"newrelic\": {\n \"account\": \"account\"\n },\n \"office365\": {\n \"domain\": \"domain\",\n \"connection\": \"connection\"\n },\n \"salesforce\": {\n \"entity_id\": \"entity_id\"\n },\n \"salesforce_api\": {\n \"clientid\": \"clientid\",\n \"principal\": \"principal\",\n \"communityName\": \"communityName\",\n \"community_url_section\": \"community_url_section\"\n },\n \"salesforce_sandbox_api\": {\n \"clientid\": \"clientid\",\n \"principal\": \"principal\",\n \"communityName\": \"communityName\",\n \"community_url_section\": \"community_url_section\"\n },\n \"samlp\": {\n \"mappings\": {\n \"key\": \"value\"\n },\n \"audience\": \"audience\",\n \"recipient\": \"recipient\",\n \"createUpnClaim\": true,\n \"mapUnknownClaimsAsIs\": true,\n \"passthroughClaimsWithNoMapping\": true,\n \"mapIdentities\": true,\n \"signatureAlgorithm\": \"signatureAlgorithm\",\n \"digestAlgorithm\": \"digestAlgorithm\",\n \"issuer\": \"issuer\",\n \"destination\": \"destination\",\n \"lifetimeInSeconds\": 1,\n \"signResponse\": true,\n \"nameIdentifierFormat\": \"nameIdentifierFormat\",\n \"nameIdentifierProbes\": [\n \"nameIdentifierProbes\"\n ],\n \"authnContextClassRef\": \"authnContextClassRef\"\n },\n \"layer\": {\n \"providerId\": \"providerId\",\n \"keyId\": \"keyId\",\n \"privateKey\": \"privateKey\",\n \"principal\": \"principal\",\n \"expiration\": 1\n },\n \"sap_api\": {\n \"clientid\": \"clientid\",\n \"usernameAttribute\": \"usernameAttribute\",\n \"tokenEndpointUrl\": \"tokenEndpointUrl\",\n \"scope\": \"scope\",\n \"servicePassword\": \"servicePassword\",\n \"nameIdentifierFormat\": \"nameIdentifierFormat\"\n },\n \"sharepoint\": {\n \"url\": \"url\",\n \"external_url\": [\n \"external_url\"\n ]\n },\n \"springcm\": {\n \"acsurl\": \"acsurl\"\n },\n \"wams\": {\n \"masterkey\": \"masterkey\"\n },\n \"wsfed\": {\n \"key\": \"value\"\n },\n \"zendesk\": {\n \"accountName\": \"accountName\"\n },\n \"zoom\": {\n \"account\": \"account\"\n },\n \"sso_integration\": {\n \"name\": \"name\",\n \"version\": \"version\"\n }\n },\n \"token_endpoint_auth_method\": \"none\",\n \"is_token_endpoint_ip_header_trusted\": true,\n \"client_metadata\": {\n \"key\": \"value\"\n },\n \"mobile\": {\n \"android\": {\n \"app_package_name\": \"app_package_name\",\n \"sha256_cert_fingerprints\": [\n \"sha256_cert_fingerprints\"\n ]\n },\n \"ios\": {\n \"team_id\": \"team_id\",\n \"app_bundle_identifier\": \"app_bundle_identifier\"\n }\n },\n \"initiate_login_uri\": \"initiate_login_uri\",\n \"refresh_token\": {\n \"rotation_type\": \"rotating\",\n \"expiration_type\": \"expiring\",\n \"leeway\": 1,\n \"token_lifetime\": 1,\n \"infinite_token_lifetime\": true,\n \"idle_token_lifetime\": 1,\n \"infinite_idle_token_lifetime\": true,\n \"policies\": [\n {\n \"audience\": \"audience\",\n \"scope\": [\n \"scope\"\n ]\n }\n ]\n },\n \"default_organization\": {\n \"organization_id\": \"organization_id\",\n \"flows\": [\n \"client_credentials\"\n ]\n },\n \"organization_usage\": \"deny\",\n \"organization_require_behavior\": \"no_prompt\",\n \"organization_discovery_methods\": [\n \"email\"\n ],\n \"client_authentication_methods\": {\n \"private_key_jwt\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"tls_client_auth\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"self_signed_tls_client_auth\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n }\n },\n \"require_pushed_authorization_requests\": true,\n \"require_proof_of_possession\": true,\n \"signed_request_object\": {\n \"required\": true,\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"compliance_level\": \"none\",\n \"skip_non_verifiable_callback_uri_confirmation_prompt\": true,\n \"token_exchange\": {\n \"allow_any_profile_of_type\": [\n \"custom_authentication\"\n ]\n },\n \"par_request_expiry\": 1,\n \"token_quota\": {\n \"client_credentials\": {\n \"enforce\": true,\n \"per_day\": 1,\n \"per_hour\": 1\n }\n },\n \"express_configuration\": {\n \"initiate_login_uri_template\": \"initiate_login_uri_template\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"connection_profile_id\": \"connection_profile_id\",\n \"enable_client\": true,\n \"enable_organization\": true,\n \"linked_clients\": [\n {\n \"client_id\": \"client_id\"\n }\n ],\n \"okta_oin_client_id\": \"okta_oin_client_id\",\n \"admin_login_domain\": \"admin_login_domain\",\n \"oin_submission_id\": \"oin_submission_id\"\n },\n \"resource_server_identifier\": \"resource_server_identifier\",\n \"async_approval_notification_channels\": [\n \"guardian-push\"\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"3dbf1f11-9054-4a8d-b670-96640f3ba9a5","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"af1dc5c5-16af-447c-8374-e80a178ce120","name":"Get Connection Profiles - default","request":{"urlPathTemplate":"/connection-profiles","method":"GET"},"response":{"status":200,"body":"{\n \"next\": \"next\",\n \"connection_profiles\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"connection_name_prefix_template\": \"connection_name_prefix_template\",\n \"enabled_features\": [\n \"scim\"\n ]\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"af1dc5c5-16af-447c-8374-e80a178ce120","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"759e4e87-7cf1-4e78-9d5e-ae5cdd0f4947","name":"Create a connection profile - default","request":{"urlPathTemplate":"/connection-profiles","method":"POST"},"response":{"status":201,"body":"{\n \"id\": \"id\",\n \"name\": \"name\",\n \"organization\": {\n \"show_as_button\": \"none\",\n \"assign_membership_on_login\": \"none\"\n },\n \"connection_name_prefix_template\": \"connection_name_prefix_template\",\n \"enabled_features\": [\n \"scim\"\n ],\n \"strategy_overrides\": {\n \"pingfederate\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"ad\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"adfs\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"waad\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"google-apps\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"okta\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"oidc\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"samlp\": {\n \"enabled_features\": [\n \"scim\"\n ]\n }\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"759e4e87-7cf1-4e78-9d5e-ae5cdd0f4947","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"0d6f52e7-dd90-4579-a469-761793294ec5","name":"Get Connection Profile Templates - default","request":{"urlPathTemplate":"/connection-profiles/templates","method":"GET"},"response":{"status":200,"body":"{\n \"connection_profile_templates\": [\n {\n \"id\": \"id\",\n \"display_name\": \"display_name\"\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"0d6f52e7-dd90-4579-a469-761793294ec5","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"4e7a3895-5c6c-41cc-b32f-4303e2a973d9","name":"Get Connection Profile Template - default","request":{"urlPathTemplate":"/connection-profiles/templates/{id}","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"display_name\": \"display_name\",\n \"template\": {\n \"name\": \"name\",\n \"organization\": {\n \"show_as_button\": \"none\",\n \"assign_membership_on_login\": \"none\"\n },\n \"connection_name_prefix_template\": \"connection_name_prefix_template\",\n \"enabled_features\": [\n \"scim\"\n ]\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"4e7a3895-5c6c-41cc-b32f-4303e2a973d9","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"d5fff7c1-6be8-487e-a8b2-45fa4f4713d9","name":"Get Connection Profile - default","request":{"urlPathTemplate":"/connection-profiles/{id}","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"name\": \"name\",\n \"organization\": {\n \"show_as_button\": \"none\",\n \"assign_membership_on_login\": \"none\"\n },\n \"connection_name_prefix_template\": \"connection_name_prefix_template\",\n \"enabled_features\": [\n \"scim\"\n ],\n \"strategy_overrides\": {\n \"pingfederate\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"ad\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"adfs\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"waad\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"google-apps\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"okta\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"oidc\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"samlp\": {\n \"enabled_features\": [\n \"scim\"\n ]\n }\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"d5fff7c1-6be8-487e-a8b2-45fa4f4713d9","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"fcfdce88-b3c9-4a57-8c4b-672e88f0363c","name":"Delete Connection Profile - default","request":{"urlPathTemplate":"/connection-profiles/{id}","method":"DELETE","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"fcfdce88-b3c9-4a57-8c4b-672e88f0363c","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"77f167dc-e4c6-478a-b74f-0e1385df797c","name":"Modify a Connection Profile - default","request":{"urlPathTemplate":"/connection-profiles/{id}","method":"PATCH","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"name\": \"name\",\n \"organization\": {\n \"show_as_button\": \"none\",\n \"assign_membership_on_login\": \"none\"\n },\n \"connection_name_prefix_template\": \"connection_name_prefix_template\",\n \"enabled_features\": [\n \"scim\"\n ],\n \"strategy_overrides\": {\n \"pingfederate\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"ad\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"adfs\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"waad\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"google-apps\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"okta\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"oidc\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"samlp\": {\n \"enabled_features\": [\n \"scim\"\n ]\n }\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"77f167dc-e4c6-478a-b74f-0e1385df797c","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"baf70a92-2b1e-4355-a67e-a94f22a92ab5","name":"Get all connections - default","request":{"urlPathTemplate":"/connections","method":"GET"},"response":{"status":200,"body":"{\n \"next\": \"next\",\n \"connections\": [\n {\n \"name\": \"name\",\n \"display_name\": \"display_name\",\n \"options\": {\n \"key\": \"value\"\n },\n \"id\": \"id\",\n \"strategy\": \"strategy\",\n \"realms\": [\n \"realms\"\n ],\n \"is_domain_connection\": true,\n \"show_as_button\": true,\n \"authentication\": {\n \"active\": true\n },\n \"connected_accounts\": {\n \"active\": true\n }\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"baf70a92-2b1e-4355-a67e-a94f22a92ab5","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"bfae8759-4528-462e-9a50-239cbd75f902","name":"Create a connection - default","request":{"urlPathTemplate":"/connections","method":"POST"},"response":{"status":201,"body":"{\n \"name\": \"name\",\n \"display_name\": \"display_name\",\n \"options\": {\n \"key\": \"value\"\n },\n \"id\": \"id\",\n \"strategy\": \"strategy\",\n \"realms\": [\n \"realms\"\n ],\n \"enabled_clients\": [\n \"enabled_clients\"\n ],\n \"is_domain_connection\": true,\n \"show_as_button\": true,\n \"metadata\": {\n \"key\": \"value\"\n },\n \"authentication\": {\n \"active\": true\n },\n \"connected_accounts\": {\n \"active\": true,\n \"cross_app_access\": true\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"bfae8759-4528-462e-9a50-239cbd75f902","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"eb9c1976-0ef9-4666-adde-d2059ed3c1a2","name":"Get a connection - default","request":{"urlPathTemplate":"/connections/{id}","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"name\": \"name\",\n \"display_name\": \"display_name\",\n \"options\": {\n \"key\": \"value\"\n },\n \"id\": \"id\",\n \"strategy\": \"strategy\",\n \"realms\": [\n \"realms\"\n ],\n \"enabled_clients\": [\n \"enabled_clients\"\n ],\n \"is_domain_connection\": true,\n \"show_as_button\": true,\n \"metadata\": {\n \"key\": \"value\"\n },\n \"authentication\": {\n \"active\": true\n },\n \"connected_accounts\": {\n \"active\": true,\n \"cross_app_access\": true\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"eb9c1976-0ef9-4666-adde-d2059ed3c1a2","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"e55d516f-7f79-4796-8adf-e0032183c04c","name":"Delete a connection - default","request":{"urlPathTemplate":"/connections/{id}","method":"DELETE","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"e55d516f-7f79-4796-8adf-e0032183c04c","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"aa701672-a67f-47fc-9cfd-3d68353d9846","name":"Update a connection - default","request":{"urlPathTemplate":"/connections/{id}","method":"PATCH","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"name\": \"name\",\n \"display_name\": \"display_name\",\n \"options\": {\n \"key\": \"value\"\n },\n \"id\": \"id\",\n \"strategy\": \"strategy\",\n \"realms\": [\n \"realms\"\n ],\n \"enabled_clients\": [\n \"enabled_clients\"\n ],\n \"is_domain_connection\": true,\n \"show_as_button\": true,\n \"metadata\": {\n \"key\": \"value\"\n },\n \"authentication\": {\n \"active\": true\n },\n \"connected_accounts\": {\n \"active\": true,\n \"cross_app_access\": true\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"aa701672-a67f-47fc-9cfd-3d68353d9846","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"6e5db857-6ab6-4406-a83f-fb4332f72b48","name":"Check connection status - default","request":{"urlPathTemplate":"/connections/{id}/status","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"6e5db857-6ab6-4406-a83f-fb4332f72b48","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"c65f529d-2be4-4dc7-81c0-6d696834184e","name":"Get custom domains configurations - default","request":{"urlPathTemplate":"/custom-domains","method":"GET"},"response":{"status":200,"body":"[\n {\n \"custom_domain_id\": \"custom_domain_id\",\n \"domain\": \"domain\",\n \"primary\": true,\n \"is_default\": true,\n \"status\": \"pending_verification\",\n \"type\": \"auth0_managed_certs\",\n \"origin_domain_name\": \"origin_domain_name\",\n \"verification\": {\n \"methods\": [\n {\n \"name\": \"cname\",\n \"record\": \"record\"\n }\n ],\n \"status\": \"verified\",\n \"error_msg\": \"error_msg\",\n \"last_verified_at\": \"last_verified_at\"\n },\n \"custom_client_ip_header\": \"custom_client_ip_header\",\n \"tls_policy\": \"tls_policy\",\n \"domain_metadata\": {\n \"key\": \"value\"\n },\n \"certificate\": {\n \"status\": \"provisioning\",\n \"error_msg\": \"error_msg\",\n \"certificate_authority\": \"letsencrypt\",\n \"renews_before\": \"renews_before\"\n },\n \"relying_party_identifier\": \"relying_party_identifier\"\n }\n]","headers":{"Content-Type":"application/json"}},"uuid":"c65f529d-2be4-4dc7-81c0-6d696834184e","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"d2917b20-da7e-4962-a75f-362f99682cf9","name":"Configure a new custom domain - default","request":{"urlPathTemplate":"/custom-domains","method":"POST"},"response":{"status":201,"body":"{\n \"custom_domain_id\": \"custom_domain_id\",\n \"domain\": \"domain\",\n \"primary\": true,\n \"is_default\": true,\n \"status\": \"pending_verification\",\n \"type\": \"auth0_managed_certs\",\n \"verification\": {\n \"methods\": [\n {\n \"name\": \"cname\",\n \"record\": \"record\"\n }\n ],\n \"status\": \"verified\",\n \"error_msg\": \"error_msg\",\n \"last_verified_at\": \"last_verified_at\"\n },\n \"custom_client_ip_header\": \"custom_client_ip_header\",\n \"tls_policy\": \"tls_policy\",\n \"domain_metadata\": {\n \"key\": \"value\"\n },\n \"certificate\": {\n \"status\": \"provisioning\",\n \"error_msg\": \"error_msg\",\n \"certificate_authority\": \"letsencrypt\",\n \"renews_before\": \"renews_before\"\n },\n \"relying_party_identifier\": \"relying_party_identifier\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"d2917b20-da7e-4962-a75f-362f99682cf9","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"d56d6773-eda9-4b8a-9193-025d27feecb9","name":"Get custom domain configuration - default","request":{"urlPathTemplate":"/custom-domains/{id}","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"custom_domain_id\": \"custom_domain_id\",\n \"domain\": \"domain\",\n \"primary\": true,\n \"is_default\": true,\n \"status\": \"pending_verification\",\n \"type\": \"auth0_managed_certs\",\n \"origin_domain_name\": \"origin_domain_name\",\n \"verification\": {\n \"methods\": [\n {\n \"name\": \"cname\",\n \"record\": \"record\"\n }\n ],\n \"status\": \"verified\",\n \"error_msg\": \"error_msg\",\n \"last_verified_at\": \"last_verified_at\"\n },\n \"custom_client_ip_header\": \"custom_client_ip_header\",\n \"tls_policy\": \"tls_policy\",\n \"domain_metadata\": {\n \"key\": \"value\"\n },\n \"certificate\": {\n \"status\": \"provisioning\",\n \"error_msg\": \"error_msg\",\n \"certificate_authority\": \"letsencrypt\",\n \"renews_before\": \"renews_before\"\n },\n \"relying_party_identifier\": \"relying_party_identifier\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"d56d6773-eda9-4b8a-9193-025d27feecb9","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"0d3570c3-79d1-49e1-85ca-aa706fb2834d","name":"Delete custom domain configuration - default","request":{"urlPathTemplate":"/custom-domains/{id}","method":"DELETE","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"0d3570c3-79d1-49e1-85ca-aa706fb2834d","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"38539a1e-230b-4e70-b2f9-7ae0f252e1b6","name":"Update custom domain configuration - default","request":{"urlPathTemplate":"/custom-domains/{id}","method":"PATCH","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"custom_domain_id\": \"custom_domain_id\",\n \"domain\": \"domain\",\n \"primary\": true,\n \"is_default\": true,\n \"status\": \"pending_verification\",\n \"type\": \"auth0_managed_certs\",\n \"verification\": {\n \"methods\": [\n {\n \"name\": \"cname\",\n \"record\": \"record\"\n }\n ],\n \"status\": \"verified\",\n \"error_msg\": \"error_msg\",\n \"last_verified_at\": \"last_verified_at\"\n },\n \"custom_client_ip_header\": \"custom_client_ip_header\",\n \"tls_policy\": \"tls_policy\",\n \"domain_metadata\": {\n \"key\": \"value\"\n },\n \"certificate\": {\n \"status\": \"provisioning\",\n \"error_msg\": \"error_msg\",\n \"certificate_authority\": \"letsencrypt\",\n \"renews_before\": \"renews_before\"\n },\n \"relying_party_identifier\": \"relying_party_identifier\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"38539a1e-230b-4e70-b2f9-7ae0f252e1b6","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"cbb866f2-d5e1-4c1e-8e0e-9f50b3b5632c","name":"Test a custom domain - default","request":{"urlPathTemplate":"/custom-domains/{id}/test","method":"POST","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"success\": true,\n \"message\": \"message\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"cbb866f2-d5e1-4c1e-8e0e-9f50b3b5632c","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"43d540a8-528e-44db-9bda-83cf1ef8a54d","name":"Verify a custom domain - default","request":{"urlPathTemplate":"/custom-domains/{id}/verify","method":"POST","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"custom_domain_id\": \"custom_domain_id\",\n \"domain\": \"domain\",\n \"primary\": true,\n \"status\": \"pending_verification\",\n \"type\": \"auth0_managed_certs\",\n \"cname_api_key\": \"cname_api_key\",\n \"origin_domain_name\": \"origin_domain_name\",\n \"verification\": {\n \"methods\": [\n {\n \"name\": \"cname\",\n \"record\": \"record\"\n }\n ],\n \"status\": \"verified\",\n \"error_msg\": \"error_msg\",\n \"last_verified_at\": \"last_verified_at\"\n },\n \"custom_client_ip_header\": \"custom_client_ip_header\",\n \"tls_policy\": \"tls_policy\",\n \"domain_metadata\": {\n \"key\": \"value\"\n },\n \"certificate\": {\n \"status\": \"provisioning\",\n \"error_msg\": \"error_msg\",\n \"certificate_authority\": \"letsencrypt\",\n \"renews_before\": \"renews_before\"\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"43d540a8-528e-44db-9bda-83cf1ef8a54d","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"cfcb7751-7a75-45bf-b39f-29bac41590da","name":"Retrieve device credentials - default","request":{"urlPathTemplate":"/device-credentials","method":"GET"},"response":{"status":200,"body":"{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"total\": 1.1,\n \"device_credentials\": [\n {\n \"id\": \"id\",\n \"device_name\": \"device_name\",\n \"device_id\": \"device_id\",\n \"type\": \"public_key\",\n \"user_id\": \"user_id\",\n \"client_id\": \"client_id\"\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"cfcb7751-7a75-45bf-b39f-29bac41590da","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"01818d23-c5cc-483a-90d7-5a5b11bf52e7","name":"Create a device public key credential - default","request":{"urlPathTemplate":"/device-credentials","method":"POST"},"response":{"status":201,"body":"{\n \"id\": \"id\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"01818d23-c5cc-483a-90d7-5a5b11bf52e7","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"d2da3529-65a2-4a85-a6c8-c60a55a085ad","name":"Delete a device credential - default","request":{"urlPathTemplate":"/device-credentials/{id}","method":"DELETE","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"d2da3529-65a2-4a85-a6c8-c60a55a085ad","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"27d925db-b0e4-4cad-bf10-75440adb5dea","name":"Create an email template - default","request":{"urlPathTemplate":"/email-templates","method":"POST"},"response":{"status":200,"body":"{\n \"template\": \"verify_email\",\n \"body\": \"body\",\n \"from\": \"from\",\n \"resultUrl\": \"resultUrl\",\n \"subject\": \"subject\",\n \"syntax\": \"syntax\",\n \"urlLifetimeInSeconds\": 1.1,\n \"includeEmailInRedirect\": true,\n \"enabled\": true\n}","headers":{"Content-Type":"application/json"}},"uuid":"27d925db-b0e4-4cad-bf10-75440adb5dea","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"e41992b1-8cf3-4611-9179-334debfd831a","name":"Get an email template - default","request":{"urlPathTemplate":"/email-templates/{templateName}","method":"GET","pathParameters":{"templateName":{"equalTo":"verify_email"}}},"response":{"status":200,"body":"{\n \"template\": \"verify_email\",\n \"body\": \"body\",\n \"from\": \"from\",\n \"resultUrl\": \"resultUrl\",\n \"subject\": \"subject\",\n \"syntax\": \"syntax\",\n \"urlLifetimeInSeconds\": 1.1,\n \"includeEmailInRedirect\": true,\n \"enabled\": true\n}","headers":{"Content-Type":"application/json"}},"uuid":"e41992b1-8cf3-4611-9179-334debfd831a","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"4b7ee5d7-df46-44d7-8747-1db6f37bcda8","name":"Update an email template - default","request":{"urlPathTemplate":"/email-templates/{templateName}","method":"PUT","pathParameters":{"templateName":{"equalTo":"verify_email"}}},"response":{"status":200,"body":"{\n \"template\": \"verify_email\",\n \"body\": \"body\",\n \"from\": \"from\",\n \"resultUrl\": \"resultUrl\",\n \"subject\": \"subject\",\n \"syntax\": \"syntax\",\n \"urlLifetimeInSeconds\": 1.1,\n \"includeEmailInRedirect\": true,\n \"enabled\": true\n}","headers":{"Content-Type":"application/json"}},"uuid":"4b7ee5d7-df46-44d7-8747-1db6f37bcda8","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"1489d312-c6ca-4277-a1d2-01ce4c4fdad9","name":"Patch an email template - default","request":{"urlPathTemplate":"/email-templates/{templateName}","method":"PATCH","pathParameters":{"templateName":{"equalTo":"verify_email"}}},"response":{"status":200,"body":"{\n \"template\": \"verify_email\",\n \"body\": \"body\",\n \"from\": \"from\",\n \"resultUrl\": \"resultUrl\",\n \"subject\": \"subject\",\n \"syntax\": \"syntax\",\n \"urlLifetimeInSeconds\": 1.1,\n \"includeEmailInRedirect\": true,\n \"enabled\": true\n}","headers":{"Content-Type":"application/json"}},"uuid":"1489d312-c6ca-4277-a1d2-01ce4c4fdad9","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"0fe7f4b8-58ff-4442-9339-c48f5185600f","name":"Get event streams - default","request":{"urlPathTemplate":"/event-streams","method":"GET"},"response":{"status":200,"body":"{\n \"eventStreams\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"subscriptions\": [\n {}\n ],\n \"destination\": {\n \"type\": \"webhook\",\n \"configuration\": {\n \"webhook_endpoint\": \"webhook_endpoint\",\n \"webhook_authorization\": {\n \"method\": \"basic\",\n \"username\": \"username\"\n }\n }\n },\n \"status\": \"enabled\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n }\n ],\n \"next\": \"next\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"0fe7f4b8-58ff-4442-9339-c48f5185600f","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"5b1a29bf-5c5c-45dd-a9fb-64f6944455e0","name":"Create an event stream - default","request":{"urlPathTemplate":"/event-streams","method":"POST"},"response":{"status":201,"body":"{\n \"id\": \"id\",\n \"name\": \"name\",\n \"subscriptions\": [\n {\n \"event_type\": \"event_type\"\n }\n ],\n \"destination\": {\n \"type\": \"webhook\",\n \"configuration\": {\n \"webhook_endpoint\": \"webhook_endpoint\",\n \"webhook_authorization\": {\n \"method\": \"basic\",\n \"username\": \"username\"\n }\n }\n },\n \"status\": \"enabled\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"5b1a29bf-5c5c-45dd-a9fb-64f6944455e0","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"85d4a52f-7433-408c-a7cc-30776d9ed641","name":"Get an event stream by ID - default","request":{"urlPathTemplate":"/event-streams/{id}","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"name\": \"name\",\n \"subscriptions\": [\n {\n \"event_type\": \"event_type\"\n }\n ],\n \"destination\": {\n \"type\": \"webhook\",\n \"configuration\": {\n \"webhook_endpoint\": \"webhook_endpoint\",\n \"webhook_authorization\": {\n \"method\": \"basic\",\n \"username\": \"username\"\n }\n }\n },\n \"status\": \"enabled\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"85d4a52f-7433-408c-a7cc-30776d9ed641","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"4812fcc9-8f28-4732-96d4-8adb072fa78a","name":"Delete an event stream - default","request":{"urlPathTemplate":"/event-streams/{id}","method":"DELETE","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"4812fcc9-8f28-4732-96d4-8adb072fa78a","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"08468f05-d404-462e-8fdd-ce9dca3f4e3c","name":"Update an event stream - default","request":{"urlPathTemplate":"/event-streams/{id}","method":"PATCH","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"name\": \"name\",\n \"subscriptions\": [\n {\n \"event_type\": \"event_type\"\n }\n ],\n \"destination\": {\n \"type\": \"webhook\",\n \"configuration\": {\n \"webhook_endpoint\": \"webhook_endpoint\",\n \"webhook_authorization\": {\n \"method\": \"basic\",\n \"username\": \"username\"\n }\n }\n },\n \"status\": \"enabled\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"08468f05-d404-462e-8fdd-ce9dca3f4e3c","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"4ba115c6-e86b-4427-9ce9-8468a24916b0","name":"Send a test event to an event stream - default","request":{"urlPathTemplate":"/event-streams/{id}/test","method":"POST","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":202,"body":"{\n \"id\": \"id\",\n \"event_stream_id\": \"event_stream_id\",\n \"status\": \"failed\",\n \"event_type\": \"user.created\",\n \"attempts\": [\n {\n \"status\": \"failed\",\n \"timestamp\": \"2024-01-15T09:30:00Z\",\n \"error_message\": \"error_message\"\n }\n ],\n \"event\": {\n \"id\": \"id\",\n \"source\": \"source\",\n \"specversion\": \"specversion\",\n \"type\": \"type\",\n \"time\": \"2024-01-15T09:30:00Z\",\n \"data\": \"data\"\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"4ba115c6-e86b-4427-9ce9-8468a24916b0","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"9bee2213-71c4-41f8-9350-d50ede2f6c53","name":"Get flows - default","request":{"urlPathTemplate":"/flows","method":"GET"},"response":{"status":200,"body":"{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"total\": 1.1,\n \"flows\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"executed_at\": \"executed_at\"\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"9bee2213-71c4-41f8-9350-d50ede2f6c53","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"6eb24c4a-01ad-47bc-bf9a-927970d1096e","name":"Create a flow - default","request":{"urlPathTemplate":"/flows","method":"POST"},"response":{"status":201,"body":"{\n \"id\": \"id\",\n \"name\": \"name\",\n \"actions\": [\n {\n \"id\": \"id\",\n \"alias\": \"alias\",\n \"type\": \"ACTIVECAMPAIGN\",\n \"action\": \"LIST_CONTACTS\",\n \"allow_failure\": true,\n \"mask_output\": true,\n \"params\": {\n \"connection_id\": \"connection_id\",\n \"email\": \"email\"\n }\n }\n ],\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"executed_at\": \"executed_at\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"6eb24c4a-01ad-47bc-bf9a-927970d1096e","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"1eccebc1-db7b-4349-8fae-45c8537e9880","name":"Get a flow - default","request":{"urlPathTemplate":"/flows/{id}","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"name\": \"name\",\n \"actions\": [\n {\n \"id\": \"id\",\n \"alias\": \"alias\",\n \"type\": \"ACTIVECAMPAIGN\",\n \"action\": \"LIST_CONTACTS\",\n \"allow_failure\": true,\n \"mask_output\": true,\n \"params\": {\n \"connection_id\": \"connection_id\",\n \"email\": \"email\"\n }\n }\n ],\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"executed_at\": \"executed_at\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"1eccebc1-db7b-4349-8fae-45c8537e9880","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"4dba8bf4-bec9-4e15-8591-752e9ac3644e","name":"Delete a flow - default","request":{"urlPathTemplate":"/flows/{id}","method":"DELETE","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"4dba8bf4-bec9-4e15-8591-752e9ac3644e","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"fc07198a-b41e-4537-aec6-1226e9691c86","name":"Update a flow - default","request":{"urlPathTemplate":"/flows/{id}","method":"PATCH","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"name\": \"name\",\n \"actions\": [\n {\n \"id\": \"id\",\n \"alias\": \"alias\",\n \"type\": \"ACTIVECAMPAIGN\",\n \"action\": \"LIST_CONTACTS\",\n \"allow_failure\": true,\n \"mask_output\": true,\n \"params\": {\n \"connection_id\": \"connection_id\",\n \"email\": \"email\"\n }\n }\n ],\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"executed_at\": \"executed_at\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"fc07198a-b41e-4537-aec6-1226e9691c86","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"3bf65872-e8cf-4987-becb-bb082f08419f","name":"Get forms - default","request":{"urlPathTemplate":"/forms","method":"GET"},"response":{"status":200,"body":"{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"total\": 1.1,\n \"forms\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"embedded_at\": \"embedded_at\",\n \"submitted_at\": \"submitted_at\"\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"3bf65872-e8cf-4987-becb-bb082f08419f","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"6255561a-7fa0-4557-a0e7-5d3a6f40b2a1","name":"Create a form - default","request":{"urlPathTemplate":"/forms","method":"POST"},"response":{"status":201,"body":"{\n \"id\": \"id\",\n \"name\": \"name\",\n \"messages\": {\n \"errors\": {\n \"key\": \"value\"\n },\n \"custom\": {\n \"key\": \"value\"\n }\n },\n \"languages\": {\n \"primary\": \"primary\",\n \"default\": \"default\"\n },\n \"translations\": {\n \"key\": {\n \"key\": \"value\"\n }\n },\n \"nodes\": [\n {\n \"id\": \"id\",\n \"type\": \"FLOW\",\n \"coordinates\": {\n \"x\": 1,\n \"y\": 1\n },\n \"alias\": \"alias\",\n \"config\": {\n \"flow_id\": \"flow_id\"\n }\n }\n ],\n \"start\": {\n \"hidden_fields\": [\n {\n \"key\": \"key\"\n }\n ],\n \"next_node\": \"$ending\",\n \"coordinates\": {\n \"x\": 1,\n \"y\": 1\n }\n },\n \"ending\": {\n \"redirection\": {\n \"delay\": 1,\n \"target\": \"target\"\n },\n \"after_submit\": {\n \"flow_id\": \"flow_id\"\n },\n \"coordinates\": {\n \"x\": 1,\n \"y\": 1\n },\n \"resume_flow\": true\n },\n \"style\": {\n \"css\": \"css\"\n },\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"embedded_at\": \"embedded_at\",\n \"submitted_at\": \"submitted_at\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"6255561a-7fa0-4557-a0e7-5d3a6f40b2a1","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"0bf329d0-420d-4f08-aec1-df5f12d67762","name":"Get a form - default","request":{"urlPathTemplate":"/forms/{id}","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"name\": \"name\",\n \"messages\": {\n \"errors\": {\n \"key\": \"value\"\n },\n \"custom\": {\n \"key\": \"value\"\n }\n },\n \"languages\": {\n \"primary\": \"primary\",\n \"default\": \"default\"\n },\n \"translations\": {\n \"key\": {\n \"key\": \"value\"\n }\n },\n \"nodes\": [\n {\n \"id\": \"id\",\n \"type\": \"FLOW\",\n \"coordinates\": {\n \"x\": 1,\n \"y\": 1\n },\n \"alias\": \"alias\",\n \"config\": {\n \"flow_id\": \"flow_id\"\n }\n }\n ],\n \"start\": {\n \"hidden_fields\": [\n {\n \"key\": \"key\"\n }\n ],\n \"next_node\": \"$ending\",\n \"coordinates\": {\n \"x\": 1,\n \"y\": 1\n }\n },\n \"ending\": {\n \"redirection\": {\n \"delay\": 1,\n \"target\": \"target\"\n },\n \"after_submit\": {\n \"flow_id\": \"flow_id\"\n },\n \"coordinates\": {\n \"x\": 1,\n \"y\": 1\n },\n \"resume_flow\": true\n },\n \"style\": {\n \"css\": \"css\"\n },\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"embedded_at\": \"embedded_at\",\n \"submitted_at\": \"submitted_at\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"0bf329d0-420d-4f08-aec1-df5f12d67762","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"c91995fc-fe8b-410c-9cbf-e13e1d538d1e","name":"Delete a form - default","request":{"urlPathTemplate":"/forms/{id}","method":"DELETE","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"c91995fc-fe8b-410c-9cbf-e13e1d538d1e","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"944b211b-eacb-4acc-8f40-a3463ae62f37","name":"Update a form - default","request":{"urlPathTemplate":"/forms/{id}","method":"PATCH","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"name\": \"name\",\n \"messages\": {\n \"errors\": {\n \"key\": \"value\"\n },\n \"custom\": {\n \"key\": \"value\"\n }\n },\n \"languages\": {\n \"primary\": \"primary\",\n \"default\": \"default\"\n },\n \"translations\": {\n \"key\": {\n \"key\": \"value\"\n }\n },\n \"nodes\": [\n {\n \"id\": \"id\",\n \"type\": \"FLOW\",\n \"coordinates\": {\n \"x\": 1,\n \"y\": 1\n },\n \"alias\": \"alias\",\n \"config\": {\n \"flow_id\": \"flow_id\"\n }\n }\n ],\n \"start\": {\n \"hidden_fields\": [\n {\n \"key\": \"key\"\n }\n ],\n \"next_node\": \"$ending\",\n \"coordinates\": {\n \"x\": 1,\n \"y\": 1\n }\n },\n \"ending\": {\n \"redirection\": {\n \"delay\": 1,\n \"target\": \"target\"\n },\n \"after_submit\": {\n \"flow_id\": \"flow_id\"\n },\n \"coordinates\": {\n \"x\": 1,\n \"y\": 1\n },\n \"resume_flow\": true\n },\n \"style\": {\n \"css\": \"css\"\n },\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"embedded_at\": \"embedded_at\",\n \"submitted_at\": \"submitted_at\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"944b211b-eacb-4acc-8f40-a3463ae62f37","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"800693b3-6319-4d73-997d-7899f5d8b842","name":"Get grants - default","request":{"urlPathTemplate":"/grants","method":"GET"},"response":{"status":200,"body":"{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"total\": 1.1,\n \"grants\": [\n {\n \"id\": \"id\",\n \"clientID\": \"clientID\",\n \"user_id\": \"user_id\",\n \"audience\": \"audience\",\n \"scope\": [\n \"scope\"\n ]\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"800693b3-6319-4d73-997d-7899f5d8b842","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"42d14bbf-3fda-4f6e-82c7-0511f2cc78b4","name":"Delete a grant by user_id - default","request":{"urlPathTemplate":"/grants","method":"DELETE"},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"42d14bbf-3fda-4f6e-82c7-0511f2cc78b4","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"0384a6d8-8b93-4c86-9b01-4a78b2056a0b","name":"Delete a grant by id - default","request":{"urlPathTemplate":"/grants/{id}","method":"DELETE","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"0384a6d8-8b93-4c86-9b01-4a78b2056a0b","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"eef0d4e7-35b8-494e-9e36-bcdefebe33db","name":"Get all Groups - default","request":{"urlPathTemplate":"/groups","method":"GET"},"response":{"status":200,"body":"{\n \"groups\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"external_id\": \"external_id\",\n \"connection_id\": \"connection_id\",\n \"organization_id\": \"organization_id\",\n \"tenant_name\": \"tenant_name\",\n \"description\": \"description\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n }\n ],\n \"next\": \"next\",\n \"start\": 1.1,\n \"limit\": 1.1,\n \"total\": 1.1\n}","headers":{"Content-Type":"application/json"}},"uuid":"eef0d4e7-35b8-494e-9e36-bcdefebe33db","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"871b57bd-a1f8-4a23-8337-5872e46fc987","name":"Get a Group - default","request":{"urlPathTemplate":"/groups/{id}","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"name\": \"name\",\n \"external_id\": \"external_id\",\n \"connection_id\": \"connection_id\",\n \"organization_id\": \"organization_id\",\n \"tenant_name\": \"tenant_name\",\n \"description\": \"description\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"871b57bd-a1f8-4a23-8337-5872e46fc987","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"8e59d144-ec26-4602-a30e-51471fa41a83","name":"Get hooks - default","request":{"urlPathTemplate":"/hooks","method":"GET"},"response":{"status":200,"body":"{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"total\": 1.1,\n \"hooks\": [\n {\n \"triggerId\": \"triggerId\",\n \"id\": \"id\",\n \"name\": \"name\",\n \"enabled\": true,\n \"script\": \"script\",\n \"dependencies\": {\n \"key\": \"value\"\n }\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"8e59d144-ec26-4602-a30e-51471fa41a83","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"275f3fd6-ea46-4d4e-b0b7-b3ccfa929d1b","name":"Create a hook - default","request":{"urlPathTemplate":"/hooks","method":"POST"},"response":{"status":201,"body":"{\n \"triggerId\": \"triggerId\",\n \"id\": \"id\",\n \"name\": \"name\",\n \"enabled\": true,\n \"script\": \"script\",\n \"dependencies\": {\n \"key\": \"value\"\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"275f3fd6-ea46-4d4e-b0b7-b3ccfa929d1b","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"f14ce249-5900-4b4f-acd6-a9fa7255d829","name":"Get a hook - default","request":{"urlPathTemplate":"/hooks/{id}","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"triggerId\": \"triggerId\",\n \"id\": \"id\",\n \"name\": \"name\",\n \"enabled\": true,\n \"script\": \"script\",\n \"dependencies\": {\n \"key\": \"value\"\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"f14ce249-5900-4b4f-acd6-a9fa7255d829","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"fff91330-4870-4c93-ac97-6d27a8f1fb9e","name":"Delete a hook - default","request":{"urlPathTemplate":"/hooks/{id}","method":"DELETE","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"fff91330-4870-4c93-ac97-6d27a8f1fb9e","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"5b56e935-667b-4af8-be86-94a3aa61008d","name":"Update a hook - default","request":{"urlPathTemplate":"/hooks/{id}","method":"PATCH","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":201,"body":"{\n \"triggerId\": \"triggerId\",\n \"id\": \"id\",\n \"name\": \"name\",\n \"enabled\": true,\n \"script\": \"script\",\n \"dependencies\": {\n \"key\": \"value\"\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"5b56e935-667b-4af8-be86-94a3aa61008d","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"fcdce95c-c559-471a-985a-45682f16bc5a","name":"Get a job - default","request":{"urlPathTemplate":"/jobs/{id}","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"status\": \"status\",\n \"type\": \"type\",\n \"created_at\": \"created_at\",\n \"id\": \"id\",\n \"connection_id\": \"connection_id\",\n \"location\": \"location\",\n \"percentage_done\": 1,\n \"time_left_seconds\": 1,\n \"format\": \"json\",\n \"status_details\": \"status_details\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"fcdce95c-c559-471a-985a-45682f16bc5a","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"0ce12a9c-ca36-486e-aa2a-e41e0eb1ef44","name":"Get log streams - default","request":{"urlPathTemplate":"/log-streams","method":"GET"},"response":{"status":200,"body":"[\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"status\": \"active\",\n \"type\": \"http\",\n \"isPriority\": true,\n \"filters\": [\n {}\n ],\n \"pii_config\": {\n \"log_fields\": [\n \"first_name\"\n ],\n \"method\": \"mask\",\n \"algorithm\": \"xxhash\"\n },\n \"sink\": {\n \"httpAuthorization\": \"httpAuthorization\",\n \"httpContentFormat\": \"JSONARRAY\",\n \"httpContentType\": \"httpContentType\",\n \"httpEndpoint\": \"httpEndpoint\",\n \"httpCustomHeaders\": [\n {}\n ]\n }\n }\n]","headers":{"Content-Type":"application/json"}},"uuid":"0ce12a9c-ca36-486e-aa2a-e41e0eb1ef44","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"3cac6a38-0d9f-40e0-983f-439cbedfa617","name":"Create a log stream - default","request":{"urlPathTemplate":"/log-streams","method":"POST"},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"name\": \"name\",\n \"status\": \"active\",\n \"type\": \"http\",\n \"isPriority\": true,\n \"filters\": [\n {\n \"type\": \"category\",\n \"name\": \"auth.login.fail\"\n }\n ],\n \"pii_config\": {\n \"log_fields\": [\n \"first_name\"\n ],\n \"method\": \"mask\",\n \"algorithm\": \"xxhash\"\n },\n \"sink\": {\n \"httpAuthorization\": \"httpAuthorization\",\n \"httpContentFormat\": \"JSONARRAY\",\n \"httpContentType\": \"httpContentType\",\n \"httpEndpoint\": \"httpEndpoint\",\n \"httpCustomHeaders\": [\n {}\n ]\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"3cac6a38-0d9f-40e0-983f-439cbedfa617","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"046f0424-b1aa-49bc-bf20-db22d7a7bdf4","name":"Get log stream by ID - default","request":{"urlPathTemplate":"/log-streams/{id}","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"name\": \"name\",\n \"status\": \"active\",\n \"type\": \"http\",\n \"isPriority\": true,\n \"filters\": [\n {\n \"type\": \"category\",\n \"name\": \"auth.login.fail\"\n }\n ],\n \"pii_config\": {\n \"log_fields\": [\n \"first_name\"\n ],\n \"method\": \"mask\",\n \"algorithm\": \"xxhash\"\n },\n \"sink\": {\n \"httpAuthorization\": \"httpAuthorization\",\n \"httpContentFormat\": \"JSONARRAY\",\n \"httpContentType\": \"httpContentType\",\n \"httpEndpoint\": \"httpEndpoint\",\n \"httpCustomHeaders\": [\n {}\n ]\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"046f0424-b1aa-49bc-bf20-db22d7a7bdf4","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"9fb04f8d-0fba-4891-8126-013d70d871aa","name":"Delete log stream - default","request":{"urlPathTemplate":"/log-streams/{id}","method":"DELETE","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"9fb04f8d-0fba-4891-8126-013d70d871aa","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"8d10acdd-e185-496c-98c4-c91d469e6ed2","name":"Update a log stream - default","request":{"urlPathTemplate":"/log-streams/{id}","method":"PATCH","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"name\": \"name\",\n \"status\": \"active\",\n \"type\": \"http\",\n \"isPriority\": true,\n \"filters\": [\n {\n \"type\": \"category\",\n \"name\": \"auth.login.fail\"\n }\n ],\n \"pii_config\": {\n \"log_fields\": [\n \"first_name\"\n ],\n \"method\": \"mask\",\n \"algorithm\": \"xxhash\"\n },\n \"sink\": {\n \"httpAuthorization\": \"httpAuthorization\",\n \"httpContentFormat\": \"JSONARRAY\",\n \"httpContentType\": \"httpContentType\",\n \"httpEndpoint\": \"httpEndpoint\",\n \"httpCustomHeaders\": [\n {}\n ]\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"8d10acdd-e185-496c-98c4-c91d469e6ed2","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"dc2b7d2b-54f2-4803-8bf1-bd0cfdcb6132","name":"Search log events - default","request":{"urlPathTemplate":"/logs","method":"GET"},"response":{"status":200,"body":"{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"length\": 1.1,\n \"total\": 1.1,\n \"logs\": [\n {\n \"date\": \"date\",\n \"type\": \"type\",\n \"description\": \"description\",\n \"connection\": \"connection\",\n \"connection_id\": \"connection_id\",\n \"client_id\": \"client_id\",\n \"client_name\": \"client_name\",\n \"ip\": \"ip\",\n \"hostname\": \"hostname\",\n \"user_id\": \"user_id\",\n \"user_name\": \"user_name\",\n \"audience\": \"audience\",\n \"scope\": \"scope\",\n \"strategy\": \"strategy\",\n \"strategy_type\": \"strategy_type\",\n \"log_id\": \"log_id\",\n \"isMobile\": true,\n \"details\": {\n \"key\": \"value\"\n },\n \"user_agent\": \"user_agent\"\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"dc2b7d2b-54f2-4803-8bf1-bd0cfdcb6132","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"b10cc251-b48a-429a-a136-810cdb7290fc","name":"Get a log event by id - default","request":{"urlPathTemplate":"/logs/{id}","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"date\": \"date\",\n \"type\": \"type\",\n \"description\": \"description\",\n \"connection\": \"connection\",\n \"connection_id\": \"connection_id\",\n \"client_id\": \"client_id\",\n \"client_name\": \"client_name\",\n \"ip\": \"ip\",\n \"hostname\": \"hostname\",\n \"user_id\": \"user_id\",\n \"user_name\": \"user_name\",\n \"audience\": \"audience\",\n \"scope\": \"scope\",\n \"strategy\": \"strategy\",\n \"strategy_type\": \"strategy_type\",\n \"log_id\": \"log_id\",\n \"isMobile\": true,\n \"details\": {\n \"key\": \"value\"\n },\n \"user_agent\": \"user_agent\",\n \"security_context\": {\n \"ja3\": \"ja3\",\n \"ja4\": \"ja4\"\n },\n \"location_info\": {\n \"country_code\": \"country_code\",\n \"country_code3\": \"country_code3\",\n \"country_name\": \"country_name\",\n \"city_name\": \"city_name\",\n \"latitude\": 1.1,\n \"longitude\": 1.1,\n \"time_zone\": \"time_zone\",\n \"continent_code\": \"continent_code\"\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"b10cc251-b48a-429a-a136-810cdb7290fc","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"858e0070-39b1-460a-a2d5-53d0a5c3524a","name":"Get all access control list entries for a tenant - default","request":{"urlPathTemplate":"/network-acls","method":"GET"},"response":{"status":200,"body":"{\n \"network_acls\": [\n {\n \"id\": \"id\",\n \"description\": \"description\",\n \"active\": true,\n \"priority\": 1.1,\n \"rule\": {\n \"action\": {},\n \"scope\": \"management\"\n },\n \"created_at\": \"created_at\",\n \"updated_at\": \"updated_at\"\n }\n ],\n \"start\": 1.1,\n \"limit\": 1.1,\n \"total\": 1.1\n}","headers":{"Content-Type":"application/json"}},"uuid":"858e0070-39b1-460a-a2d5-53d0a5c3524a","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"f8a963bf-a53b-445d-b1d7-e21a4b253957","name":"Create Access Control List - default","request":{"urlPathTemplate":"/network-acls","method":"POST"},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"f8a963bf-a53b-445d-b1d7-e21a4b253957","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"fb3b0b5f-3ab2-4b19-b79b-8f10391b7deb","name":"Get a specific access control list entry for a tenant - default","request":{"urlPathTemplate":"/network-acls/{id}","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"description\": \"description\",\n \"active\": true,\n \"priority\": 1.1,\n \"rule\": {\n \"action\": {\n \"block\": true,\n \"allow\": true,\n \"log\": true,\n \"redirect\": true,\n \"redirect_uri\": \"redirect_uri\"\n },\n \"match\": {\n \"asns\": [\n 1\n ],\n \"geo_country_codes\": [\n \"geo_country_codes\"\n ],\n \"geo_subdivision_codes\": [\n \"geo_subdivision_codes\"\n ],\n \"ipv4_cidrs\": [\n \"ipv4_cidrs\"\n ],\n \"ipv6_cidrs\": [\n \"ipv6_cidrs\"\n ],\n \"ja3_fingerprints\": [\n \"ja3_fingerprints\"\n ],\n \"ja4_fingerprints\": [\n \"ja4_fingerprints\"\n ],\n \"user_agents\": [\n \"user_agents\"\n ]\n },\n \"not_match\": {\n \"asns\": [\n 1\n ],\n \"geo_country_codes\": [\n \"geo_country_codes\"\n ],\n \"geo_subdivision_codes\": [\n \"geo_subdivision_codes\"\n ],\n \"ipv4_cidrs\": [\n \"ipv4_cidrs\"\n ],\n \"ipv6_cidrs\": [\n \"ipv6_cidrs\"\n ],\n \"ja3_fingerprints\": [\n \"ja3_fingerprints\"\n ],\n \"ja4_fingerprints\": [\n \"ja4_fingerprints\"\n ],\n \"user_agents\": [\n \"user_agents\"\n ]\n },\n \"scope\": \"management\"\n },\n \"created_at\": \"created_at\",\n \"updated_at\": \"updated_at\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"fb3b0b5f-3ab2-4b19-b79b-8f10391b7deb","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"b26d23ea-edcd-4512-a319-51a6e98131a0","name":"Update Access Control List - default","request":{"urlPathTemplate":"/network-acls/{id}","method":"PUT","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"description\": \"description\",\n \"active\": true,\n \"priority\": 1.1,\n \"rule\": {\n \"action\": {\n \"block\": true,\n \"allow\": true,\n \"log\": true,\n \"redirect\": true,\n \"redirect_uri\": \"redirect_uri\"\n },\n \"match\": {\n \"asns\": [\n 1\n ],\n \"geo_country_codes\": [\n \"geo_country_codes\"\n ],\n \"geo_subdivision_codes\": [\n \"geo_subdivision_codes\"\n ],\n \"ipv4_cidrs\": [\n \"ipv4_cidrs\"\n ],\n \"ipv6_cidrs\": [\n \"ipv6_cidrs\"\n ],\n \"ja3_fingerprints\": [\n \"ja3_fingerprints\"\n ],\n \"ja4_fingerprints\": [\n \"ja4_fingerprints\"\n ],\n \"user_agents\": [\n \"user_agents\"\n ]\n },\n \"not_match\": {\n \"asns\": [\n 1\n ],\n \"geo_country_codes\": [\n \"geo_country_codes\"\n ],\n \"geo_subdivision_codes\": [\n \"geo_subdivision_codes\"\n ],\n \"ipv4_cidrs\": [\n \"ipv4_cidrs\"\n ],\n \"ipv6_cidrs\": [\n \"ipv6_cidrs\"\n ],\n \"ja3_fingerprints\": [\n \"ja3_fingerprints\"\n ],\n \"ja4_fingerprints\": [\n \"ja4_fingerprints\"\n ],\n \"user_agents\": [\n \"user_agents\"\n ]\n },\n \"scope\": \"management\"\n },\n \"created_at\": \"created_at\",\n \"updated_at\": \"updated_at\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"b26d23ea-edcd-4512-a319-51a6e98131a0","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"6df7bc0d-d051-4e5f-8f62-608e9d028cc6","name":"Delete Access Control List - default","request":{"urlPathTemplate":"/network-acls/{id}","method":"DELETE","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"6df7bc0d-d051-4e5f-8f62-608e9d028cc6","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"80648d37-b6ab-4ab4-ba80-17f00933453d","name":"Partial Update for an Access Control List - default","request":{"urlPathTemplate":"/network-acls/{id}","method":"PATCH","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"description\": \"description\",\n \"active\": true,\n \"priority\": 1.1,\n \"rule\": {\n \"action\": {\n \"block\": true,\n \"allow\": true,\n \"log\": true,\n \"redirect\": true,\n \"redirect_uri\": \"redirect_uri\"\n },\n \"match\": {\n \"asns\": [\n 1\n ],\n \"geo_country_codes\": [\n \"geo_country_codes\"\n ],\n \"geo_subdivision_codes\": [\n \"geo_subdivision_codes\"\n ],\n \"ipv4_cidrs\": [\n \"ipv4_cidrs\"\n ],\n \"ipv6_cidrs\": [\n \"ipv6_cidrs\"\n ],\n \"ja3_fingerprints\": [\n \"ja3_fingerprints\"\n ],\n \"ja4_fingerprints\": [\n \"ja4_fingerprints\"\n ],\n \"user_agents\": [\n \"user_agents\"\n ]\n },\n \"not_match\": {\n \"asns\": [\n 1\n ],\n \"geo_country_codes\": [\n \"geo_country_codes\"\n ],\n \"geo_subdivision_codes\": [\n \"geo_subdivision_codes\"\n ],\n \"ipv4_cidrs\": [\n \"ipv4_cidrs\"\n ],\n \"ipv6_cidrs\": [\n \"ipv6_cidrs\"\n ],\n \"ja3_fingerprints\": [\n \"ja3_fingerprints\"\n ],\n \"ja4_fingerprints\": [\n \"ja4_fingerprints\"\n ],\n \"user_agents\": [\n \"user_agents\"\n ]\n },\n \"scope\": \"management\"\n },\n \"created_at\": \"created_at\",\n \"updated_at\": \"updated_at\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"80648d37-b6ab-4ab4-ba80-17f00933453d","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"a4016e68-1c58-4a5c-b698-27ca350b937c","name":"Get organizations - default","request":{"urlPathTemplate":"/organizations","method":"GET"},"response":{"status":200,"body":"{\n \"next\": \"next\",\n \"organizations\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"display_name\": \"display_name\",\n \"token_quota\": {\n \"client_credentials\": {}\n }\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"a4016e68-1c58-4a5c-b698-27ca350b937c","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"61349de2-c20a-4002-822b-9ed84e87ca1f","name":"Create an Organization - default","request":{"urlPathTemplate":"/organizations","method":"POST"},"response":{"status":201,"body":"{\n \"id\": \"id\",\n \"name\": \"name\",\n \"display_name\": \"display_name\",\n \"branding\": {\n \"logo_url\": \"logo_url\",\n \"colors\": {\n \"primary\": \"primary\",\n \"page_background\": \"page_background\"\n }\n },\n \"metadata\": {\n \"key\": \"value\"\n },\n \"token_quota\": {\n \"client_credentials\": {\n \"enforce\": true,\n \"per_day\": 1,\n \"per_hour\": 1\n }\n },\n \"enabled_connections\": [\n {\n \"connection_id\": \"connection_id\",\n \"assign_membership_on_login\": true,\n \"show_as_button\": true,\n \"is_signup_enabled\": true\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"61349de2-c20a-4002-822b-9ed84e87ca1f","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"dabd338a-8798-40ba-aaa0-8ce9b262b711","name":"Get organization by name - default","request":{"urlPathTemplate":"/organizations/name/{name}","method":"GET","pathParameters":{"name":{"equalTo":"name"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"name\": \"name\",\n \"display_name\": \"display_name\",\n \"branding\": {\n \"logo_url\": \"logo_url\",\n \"colors\": {\n \"primary\": \"primary\",\n \"page_background\": \"page_background\"\n }\n },\n \"metadata\": {\n \"key\": \"value\"\n },\n \"token_quota\": {\n \"client_credentials\": {\n \"enforce\": true,\n \"per_day\": 1,\n \"per_hour\": 1\n }\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"dabd338a-8798-40ba-aaa0-8ce9b262b711","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"da7fe10b-f528-48cf-b4e0-8d769617a66c","name":"Get organization - default","request":{"urlPathTemplate":"/organizations/{id}","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"name\": \"name\",\n \"display_name\": \"display_name\",\n \"branding\": {\n \"logo_url\": \"logo_url\",\n \"colors\": {\n \"primary\": \"primary\",\n \"page_background\": \"page_background\"\n }\n },\n \"metadata\": {\n \"key\": \"value\"\n },\n \"token_quota\": {\n \"client_credentials\": {\n \"enforce\": true,\n \"per_day\": 1,\n \"per_hour\": 1\n }\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"da7fe10b-f528-48cf-b4e0-8d769617a66c","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"82031fa8-9043-489a-aa84-46bae3772393","name":"Delete organization - default","request":{"urlPathTemplate":"/organizations/{id}","method":"DELETE","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"82031fa8-9043-489a-aa84-46bae3772393","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"a03fdbdd-77b7-4c31-9a5f-6d63cf2c017a","name":"Modify an Organization - default","request":{"urlPathTemplate":"/organizations/{id}","method":"PATCH","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"name\": \"name\",\n \"display_name\": \"display_name\",\n \"branding\": {\n \"logo_url\": \"logo_url\",\n \"colors\": {\n \"primary\": \"primary\",\n \"page_background\": \"page_background\"\n }\n },\n \"metadata\": {\n \"key\": \"value\"\n },\n \"token_quota\": {\n \"client_credentials\": {\n \"enforce\": true,\n \"per_day\": 1,\n \"per_hour\": 1\n }\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"a03fdbdd-77b7-4c31-9a5f-6d63cf2c017a","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"a5b27e78-ff1e-480e-a2ff-cda4a7e2a15e","name":"Get prompt settings - default","request":{"urlPathTemplate":"/prompts","method":"GET"},"response":{"status":200,"body":"{\n \"universal_login_experience\": \"new\",\n \"identifier_first\": true,\n \"webauthn_platform_first_factor\": true\n}","headers":{"Content-Type":"application/json"}},"uuid":"a5b27e78-ff1e-480e-a2ff-cda4a7e2a15e","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"170f5b5a-a3d8-415f-b2ab-64eb7e3b775b","name":"Update prompt settings - default","request":{"urlPathTemplate":"/prompts","method":"PATCH"},"response":{"status":200,"body":"{\n \"universal_login_experience\": \"new\",\n \"identifier_first\": true,\n \"webauthn_platform_first_factor\": true\n}","headers":{"Content-Type":"application/json"}},"uuid":"170f5b5a-a3d8-415f-b2ab-64eb7e3b775b","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"6a045b19-b94d-495c-b30c-c1de79efc46f","name":"Get a refresh token - default","request":{"urlPathTemplate":"/refresh-tokens/{id}","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"user_id\": \"user_id\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"idle_expires_at\": \"2024-01-15T09:30:00Z\",\n \"expires_at\": \"2024-01-15T09:30:00Z\",\n \"device\": {\n \"initial_ip\": \"initial_ip\",\n \"initial_asn\": \"initial_asn\",\n \"initial_user_agent\": \"initial_user_agent\",\n \"last_ip\": \"last_ip\",\n \"last_asn\": \"last_asn\",\n \"last_user_agent\": \"last_user_agent\"\n },\n \"client_id\": \"client_id\",\n \"session_id\": \"session_id\",\n \"rotating\": true,\n \"resource_servers\": [\n {\n \"audience\": \"audience\",\n \"scopes\": \"scopes\"\n }\n ],\n \"refresh_token_metadata\": {\n \"key\": \"value\"\n },\n \"last_exchanged_at\": \"2024-01-15T09:30:00Z\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"6a045b19-b94d-495c-b30c-c1de79efc46f","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"9b9572e8-f0ad-4d7d-9367-b2d3e62c7cd7","name":"Delete a refresh token - default","request":{"urlPathTemplate":"/refresh-tokens/{id}","method":"DELETE","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"9b9572e8-f0ad-4d7d-9367-b2d3e62c7cd7","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"7ea8e845-2337-4fbc-9632-246f4befb072","name":"Update a refresh token - default","request":{"urlPathTemplate":"/refresh-tokens/{id}","method":"PATCH","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"user_id\": \"user_id\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"idle_expires_at\": \"2024-01-15T09:30:00Z\",\n \"expires_at\": \"2024-01-15T09:30:00Z\",\n \"device\": {\n \"initial_ip\": \"initial_ip\",\n \"initial_asn\": \"initial_asn\",\n \"initial_user_agent\": \"initial_user_agent\",\n \"last_ip\": \"last_ip\",\n \"last_asn\": \"last_asn\",\n \"last_user_agent\": \"last_user_agent\"\n },\n \"client_id\": \"client_id\",\n \"session_id\": \"session_id\",\n \"rotating\": true,\n \"resource_servers\": [\n {\n \"audience\": \"audience\",\n \"scopes\": \"scopes\"\n }\n ],\n \"refresh_token_metadata\": {\n \"key\": \"value\"\n },\n \"last_exchanged_at\": \"2024-01-15T09:30:00Z\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"7ea8e845-2337-4fbc-9632-246f4befb072","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"8e9d39f1-8389-4238-acc7-0c1fd5f97c1b","name":"Get resource servers - default","request":{"urlPathTemplate":"/resource-servers","method":"GET"},"response":{"status":200,"body":"{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"total\": 1.1,\n \"resource_servers\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"is_system\": true,\n \"identifier\": \"identifier\",\n \"scopes\": [\n {\n \"value\": \"value\"\n }\n ],\n \"signing_alg\": \"HS256\",\n \"signing_secret\": \"signing_secret\",\n \"allow_offline_access\": true,\n \"skip_consent_for_verifiable_first_party_clients\": true,\n \"token_lifetime\": 1,\n \"token_lifetime_for_web\": 1,\n \"enforce_policies\": true,\n \"token_dialect\": \"access_token\",\n \"token_encryption\": {\n \"format\": \"compact-nested-jwe\",\n \"encryption_key\": {\n \"alg\": \"RSA-OAEP-256\",\n \"pem\": \"pem\"\n }\n },\n \"consent_policy\": \"transactional-authorization-with-mfa\",\n \"proof_of_possession\": {\n \"mechanism\": \"mtls\",\n \"required\": true\n },\n \"client_id\": \"client_id\"\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"8e9d39f1-8389-4238-acc7-0c1fd5f97c1b","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"47aa9a64-a544-47e0-9817-a2fe54866219","name":"Create a resource server - default","request":{"urlPathTemplate":"/resource-servers","method":"POST"},"response":{"status":201,"body":"{\n \"id\": \"id\",\n \"name\": \"name\",\n \"is_system\": true,\n \"identifier\": \"identifier\",\n \"scopes\": [\n {\n \"value\": \"value\",\n \"description\": \"description\"\n }\n ],\n \"signing_alg\": \"HS256\",\n \"signing_secret\": \"signing_secret\",\n \"allow_offline_access\": true,\n \"skip_consent_for_verifiable_first_party_clients\": true,\n \"token_lifetime\": 1,\n \"token_lifetime_for_web\": 1,\n \"enforce_policies\": true,\n \"token_dialect\": \"access_token\",\n \"token_encryption\": {\n \"format\": \"compact-nested-jwe\",\n \"encryption_key\": {\n \"name\": \"name\",\n \"alg\": \"RSA-OAEP-256\",\n \"kid\": \"kid\",\n \"pem\": \"pem\"\n }\n },\n \"consent_policy\": \"transactional-authorization-with-mfa\",\n \"authorization_details\": [\n {\n \"key\": \"value\"\n }\n ],\n \"proof_of_possession\": {\n \"mechanism\": \"mtls\",\n \"required\": true\n },\n \"subject_type_authorization\": {\n \"user\": {\n \"policy\": \"allow_all\"\n },\n \"client\": {\n \"policy\": \"deny_all\"\n }\n },\n \"client_id\": \"client_id\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"47aa9a64-a544-47e0-9817-a2fe54866219","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"da399a32-c9a2-481c-9995-fc402c47f72a","name":"Get a resource server - default","request":{"urlPathTemplate":"/resource-servers/{id}","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"name\": \"name\",\n \"is_system\": true,\n \"identifier\": \"identifier\",\n \"scopes\": [\n {\n \"value\": \"value\",\n \"description\": \"description\"\n }\n ],\n \"signing_alg\": \"HS256\",\n \"signing_secret\": \"signing_secret\",\n \"allow_offline_access\": true,\n \"skip_consent_for_verifiable_first_party_clients\": true,\n \"token_lifetime\": 1,\n \"token_lifetime_for_web\": 1,\n \"enforce_policies\": true,\n \"token_dialect\": \"access_token\",\n \"token_encryption\": {\n \"format\": \"compact-nested-jwe\",\n \"encryption_key\": {\n \"name\": \"name\",\n \"alg\": \"RSA-OAEP-256\",\n \"kid\": \"kid\",\n \"pem\": \"pem\"\n }\n },\n \"consent_policy\": \"transactional-authorization-with-mfa\",\n \"authorization_details\": [\n {\n \"key\": \"value\"\n }\n ],\n \"proof_of_possession\": {\n \"mechanism\": \"mtls\",\n \"required\": true\n },\n \"subject_type_authorization\": {\n \"user\": {\n \"policy\": \"allow_all\"\n },\n \"client\": {\n \"policy\": \"deny_all\"\n }\n },\n \"client_id\": \"client_id\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"da399a32-c9a2-481c-9995-fc402c47f72a","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"f46b0f05-ce0a-4b6a-9004-650a8a9d14da","name":"Delete a resource server - default","request":{"urlPathTemplate":"/resource-servers/{id}","method":"DELETE","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"f46b0f05-ce0a-4b6a-9004-650a8a9d14da","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"dd7769c9-ea3c-4d2e-bf38-bc9cd0083bc7","name":"Update a resource server - default","request":{"urlPathTemplate":"/resource-servers/{id}","method":"PATCH","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":201,"body":"{\n \"id\": \"id\",\n \"name\": \"name\",\n \"is_system\": true,\n \"identifier\": \"identifier\",\n \"scopes\": [\n {\n \"value\": \"value\",\n \"description\": \"description\"\n }\n ],\n \"signing_alg\": \"HS256\",\n \"signing_secret\": \"signing_secret\",\n \"allow_offline_access\": true,\n \"skip_consent_for_verifiable_first_party_clients\": true,\n \"token_lifetime\": 1,\n \"token_lifetime_for_web\": 1,\n \"enforce_policies\": true,\n \"token_dialect\": \"access_token\",\n \"token_encryption\": {\n \"format\": \"compact-nested-jwe\",\n \"encryption_key\": {\n \"name\": \"name\",\n \"alg\": \"RSA-OAEP-256\",\n \"kid\": \"kid\",\n \"pem\": \"pem\"\n }\n },\n \"consent_policy\": \"transactional-authorization-with-mfa\",\n \"authorization_details\": [\n {\n \"key\": \"value\"\n }\n ],\n \"proof_of_possession\": {\n \"mechanism\": \"mtls\",\n \"required\": true\n },\n \"subject_type_authorization\": {\n \"user\": {\n \"policy\": \"allow_all\"\n },\n \"client\": {\n \"policy\": \"deny_all\"\n }\n },\n \"client_id\": \"client_id\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"dd7769c9-ea3c-4d2e-bf38-bc9cd0083bc7","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"d64f1dab-8cae-47da-98e9-b16c1a5189dc","name":"Get roles - default","request":{"urlPathTemplate":"/roles","method":"GET"},"response":{"status":200,"body":"{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"total\": 1.1,\n \"roles\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\"\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"d64f1dab-8cae-47da-98e9-b16c1a5189dc","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"ddc91359-6806-4cf1-b143-e8d1bc363c3f","name":"Create a role - default","request":{"urlPathTemplate":"/roles","method":"POST"},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"ddc91359-6806-4cf1-b143-e8d1bc363c3f","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"18803f36-8ee6-4051-9c5e-ab4a2a000ec7","name":"Get a role - default","request":{"urlPathTemplate":"/roles/{id}","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"18803f36-8ee6-4051-9c5e-ab4a2a000ec7","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"53428abe-f9c9-49e7-ada5-7cabecc6f0f5","name":"Delete a role - default","request":{"urlPathTemplate":"/roles/{id}","method":"DELETE","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"53428abe-f9c9-49e7-ada5-7cabecc6f0f5","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"fb25cab0-ca38-4950-ba80-98504d41bb20","name":"Update a role - default","request":{"urlPathTemplate":"/roles/{id}","method":"PATCH","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"fb25cab0-ca38-4950-ba80-98504d41bb20","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"551dd253-310d-4f66-ab80-e07988490a37","name":"Get rules - default","request":{"urlPathTemplate":"/rules","method":"GET"},"response":{"status":200,"body":"{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"total\": 1.1,\n \"rules\": [\n {\n \"name\": \"name\",\n \"id\": \"id\",\n \"enabled\": true,\n \"script\": \"script\",\n \"order\": 1.1,\n \"stage\": \"stage\"\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"551dd253-310d-4f66-ab80-e07988490a37","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"6eba8e54-3d94-4b5a-9f90-34ea57895fb5","name":"Create a rule - default","request":{"urlPathTemplate":"/rules","method":"POST"},"response":{"status":201,"body":"{\n \"name\": \"name\",\n \"id\": \"id\",\n \"enabled\": true,\n \"script\": \"script\",\n \"order\": 1.1,\n \"stage\": \"stage\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"6eba8e54-3d94-4b5a-9f90-34ea57895fb5","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"6bd903b2-17f8-4021-9cae-4c1141223c95","name":"Get a rule - default","request":{"urlPathTemplate":"/rules/{id}","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"name\": \"name\",\n \"id\": \"id\",\n \"enabled\": true,\n \"script\": \"script\",\n \"order\": 1.1,\n \"stage\": \"stage\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"6bd903b2-17f8-4021-9cae-4c1141223c95","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"6110c86e-027f-441b-bb72-e5b0e6096803","name":"Delete a rule - default","request":{"urlPathTemplate":"/rules/{id}","method":"DELETE","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"6110c86e-027f-441b-bb72-e5b0e6096803","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"3033effa-f1f9-4988-8752-203075bb6aec","name":"Update a rule - default","request":{"urlPathTemplate":"/rules/{id}","method":"PATCH","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"name\": \"name\",\n \"id\": \"id\",\n \"enabled\": true,\n \"script\": \"script\",\n \"order\": 1.1,\n \"stage\": \"stage\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"3033effa-f1f9-4988-8752-203075bb6aec","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"3abfda6c-fc81-4be8-a87e-be80fcef8c2f","name":"Retrieve config variable keys for rules (get_rules-configs) - default","request":{"urlPathTemplate":"/rules-configs","method":"GET"},"response":{"status":200,"body":"[\n {\n \"key\": \"key\"\n }\n]","headers":{"Content-Type":"application/json"}},"uuid":"3abfda6c-fc81-4be8-a87e-be80fcef8c2f","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"f90321dc-6914-4101-8af1-743cafaa62d7","name":"Set rules config for a given key - default","request":{"urlPathTemplate":"/rules-configs/{key}","method":"PUT","pathParameters":{"key":{"equalTo":"key"}}},"response":{"status":200,"body":"{\n \"key\": \"key\",\n \"value\": \"value\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"f90321dc-6914-4101-8af1-743cafaa62d7","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"4e06c73c-ffd7-4b88-9857-99801c652707","name":"Delete rules config for a given key - default","request":{"urlPathTemplate":"/rules-configs/{key}","method":"DELETE","pathParameters":{"key":{"equalTo":"key"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"4e06c73c-ffd7-4b88-9857-99801c652707","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"466bc78c-8022-4a7f-96e1-2a01c78c0b54","name":"Get self-service profiles - default","request":{"urlPathTemplate":"/self-service-profiles","method":"GET"},"response":{"status":200,"body":"{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"total\": 1.1,\n \"self_service_profiles\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"user_attributes\": [\n {\n \"name\": \"name\",\n \"description\": \"description\",\n \"is_optional\": true\n }\n ],\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"allowed_strategies\": [\n \"oidc\"\n ],\n \"user_attribute_profile_id\": \"user_attribute_profile_id\"\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"466bc78c-8022-4a7f-96e1-2a01c78c0b54","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"bc8551be-c96c-4800-a5cc-dbbecc17b15b","name":"Create a self-service profile - default","request":{"urlPathTemplate":"/self-service-profiles","method":"POST"},"response":{"status":201,"body":"{\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"user_attributes\": [\n {\n \"name\": \"name\",\n \"description\": \"description\",\n \"is_optional\": true\n }\n ],\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"branding\": {\n \"logo_url\": \"logo_url\",\n \"colors\": {\n \"primary\": \"primary\"\n }\n },\n \"allowed_strategies\": [\n \"oidc\"\n ],\n \"user_attribute_profile_id\": \"user_attribute_profile_id\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"bc8551be-c96c-4800-a5cc-dbbecc17b15b","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"19739c76-9199-492a-bd18-730f773b6ffb","name":"Get a self-service profile by Id - default","request":{"urlPathTemplate":"/self-service-profiles/{id}","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"user_attributes\": [\n {\n \"name\": \"name\",\n \"description\": \"description\",\n \"is_optional\": true\n }\n ],\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"branding\": {\n \"logo_url\": \"logo_url\",\n \"colors\": {\n \"primary\": \"primary\"\n }\n },\n \"allowed_strategies\": [\n \"oidc\"\n ],\n \"user_attribute_profile_id\": \"user_attribute_profile_id\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"19739c76-9199-492a-bd18-730f773b6ffb","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"5378d984-8d98-4586-9b4a-7dd9f2ef00af","name":"Delete a self-service profile by Id - default","request":{"urlPathTemplate":"/self-service-profiles/{id}","method":"DELETE","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"5378d984-8d98-4586-9b4a-7dd9f2ef00af","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"d25c3782-1ef8-47b4-bf73-67a8f977fb17","name":"Update a self-service profile - default","request":{"urlPathTemplate":"/self-service-profiles/{id}","method":"PATCH","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"user_attributes\": [\n {\n \"name\": \"name\",\n \"description\": \"description\",\n \"is_optional\": true\n }\n ],\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"branding\": {\n \"logo_url\": \"logo_url\",\n \"colors\": {\n \"primary\": \"primary\"\n }\n },\n \"allowed_strategies\": [\n \"oidc\"\n ],\n \"user_attribute_profile_id\": \"user_attribute_profile_id\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"d25c3782-1ef8-47b4-bf73-67a8f977fb17","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"3eff16ca-bc50-43ac-9373-249bdaf18766","name":"Get session - default","request":{"urlPathTemplate":"/sessions/{id}","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"user_id\": \"user_id\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"authenticated_at\": \"2024-01-15T09:30:00Z\",\n \"idle_expires_at\": \"2024-01-15T09:30:00Z\",\n \"expires_at\": \"2024-01-15T09:30:00Z\",\n \"last_interacted_at\": \"2024-01-15T09:30:00Z\",\n \"device\": {\n \"initial_user_agent\": \"initial_user_agent\",\n \"initial_ip\": \"initial_ip\",\n \"initial_asn\": \"initial_asn\",\n \"last_user_agent\": \"last_user_agent\",\n \"last_ip\": \"last_ip\",\n \"last_asn\": \"last_asn\"\n },\n \"clients\": [\n {\n \"client_id\": \"client_id\"\n }\n ],\n \"authentication\": {\n \"methods\": [\n {}\n ]\n },\n \"cookie\": {\n \"mode\": \"non-persistent\"\n },\n \"session_metadata\": {\n \"key\": \"value\"\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"3eff16ca-bc50-43ac-9373-249bdaf18766","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"046df2cc-1fd5-4ffb-bf25-97235e3418aa","name":"Delete session - default","request":{"urlPathTemplate":"/sessions/{id}","method":"DELETE","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"046df2cc-1fd5-4ffb-bf25-97235e3418aa","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"cde85d14-94e2-472f-93d0-ab0f6a1e29e6","name":"Update session - default","request":{"urlPathTemplate":"/sessions/{id}","method":"PATCH","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"user_id\": \"user_id\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"authenticated_at\": \"2024-01-15T09:30:00Z\",\n \"idle_expires_at\": \"2024-01-15T09:30:00Z\",\n \"expires_at\": \"2024-01-15T09:30:00Z\",\n \"last_interacted_at\": \"2024-01-15T09:30:00Z\",\n \"device\": {\n \"initial_user_agent\": \"initial_user_agent\",\n \"initial_ip\": \"initial_ip\",\n \"initial_asn\": \"initial_asn\",\n \"last_user_agent\": \"last_user_agent\",\n \"last_ip\": \"last_ip\",\n \"last_asn\": \"last_asn\"\n },\n \"clients\": [\n {\n \"client_id\": \"client_id\"\n }\n ],\n \"authentication\": {\n \"methods\": [\n {}\n ]\n },\n \"cookie\": {\n \"mode\": \"non-persistent\"\n },\n \"session_metadata\": {\n \"key\": \"value\"\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"cde85d14-94e2-472f-93d0-ab0f6a1e29e6","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"eceb4045-ef5a-414d-a73f-ebbc3266db3b","name":"Revokes a session - default","request":{"urlPathTemplate":"/sessions/{id}/revoke","method":"POST","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"eceb4045-ef5a-414d-a73f-ebbc3266db3b","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"deb6f466-7529-4d43-9ae7-ec08cdee6fc8","name":"Get active users count - default","request":{"urlPathTemplate":"/stats/active-users","method":"GET"},"response":{"status":200,"body":"1.1","headers":{"Content-Type":"application/json"}},"uuid":"deb6f466-7529-4d43-9ae7-ec08cdee6fc8","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"a1c7c8b9-a534-46f2-ae35-eb70ca7628ae","name":"Get daily stats - default","request":{"urlPathTemplate":"/stats/daily","method":"GET"},"response":{"status":200,"body":"[\n {\n \"date\": \"date\",\n \"logins\": 1,\n \"signups\": 1,\n \"leaked_passwords\": 1,\n \"updated_at\": \"updated_at\",\n \"created_at\": \"created_at\"\n }\n]","headers":{"Content-Type":"application/json"}},"uuid":"a1c7c8b9-a534-46f2-ae35-eb70ca7628ae","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"818f5cc7-86b3-4568-8861-9d114c5669ef","name":"Get the supplemental signals configuration for a tenant - default","request":{"urlPathTemplate":"/supplemental-signals","method":"GET"},"response":{"status":200,"body":"{\n \"akamai_enabled\": true\n}","headers":{"Content-Type":"application/json"}},"uuid":"818f5cc7-86b3-4568-8861-9d114c5669ef","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"7ba85b66-eee6-4f11-b0e1-ae58fc016a79","name":"Update the supplemental signals configuration for a tenant - default","request":{"urlPathTemplate":"/supplemental-signals","method":"PATCH"},"response":{"status":200,"body":"{\n \"akamai_enabled\": true\n}","headers":{"Content-Type":"application/json"}},"uuid":"7ba85b66-eee6-4f11-b0e1-ae58fc016a79","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"5b479979-e975-4c68-b8fd-ca081dfcbca7","name":"Create an email verification ticket - default","request":{"urlPathTemplate":"/tickets/email-verification","method":"POST"},"response":{"status":201,"body":"{\n \"ticket\": \"ticket\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"5b479979-e975-4c68-b8fd-ca081dfcbca7","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"2b3107dc-9258-4e8c-bfb4-9f4d911eefec","name":"Create a password change ticket - default","request":{"urlPathTemplate":"/tickets/password-change","method":"POST"},"response":{"status":201,"body":"{\n \"ticket\": \"ticket\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"2b3107dc-9258-4e8c-bfb4-9f4d911eefec","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"83be5ec3-d77b-4a3a-9e52-87f57af4d962","name":"Get token exchange profiles - default","request":{"urlPathTemplate":"/token-exchange-profiles","method":"GET"},"response":{"status":200,"body":"{\n \"next\": \"next\",\n \"token_exchange_profiles\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"subject_token_type\": \"subject_token_type\",\n \"action_id\": \"action_id\",\n \"type\": \"custom_authentication\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"83be5ec3-d77b-4a3a-9e52-87f57af4d962","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"98e2d250-d01b-4580-a4b1-92e13a0b54b9","name":"Create a token exchange profile - default","request":{"urlPathTemplate":"/token-exchange-profiles","method":"POST"},"response":{"status":201,"body":"{\n \"id\": \"id\",\n \"name\": \"name\",\n \"subject_token_type\": \"subject_token_type\",\n \"action_id\": \"action_id\",\n \"type\": \"custom_authentication\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"98e2d250-d01b-4580-a4b1-92e13a0b54b9","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"4594d614-c499-48ab-9fee-e1d4df134a89","name":"Get a token exchange profile - default","request":{"urlPathTemplate":"/token-exchange-profiles/{id}","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"name\": \"name\",\n \"subject_token_type\": \"subject_token_type\",\n \"action_id\": \"action_id\",\n \"type\": \"custom_authentication\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"4594d614-c499-48ab-9fee-e1d4df134a89","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"172477bd-43d7-47ae-8ec8-eeb2f403f89c","name":"Delete a token exchange profile - default","request":{"urlPathTemplate":"/token-exchange-profiles/{id}","method":"DELETE","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"172477bd-43d7-47ae-8ec8-eeb2f403f89c","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"2d5941b9-03b1-47b9-ad3b-1466357ae3b0","name":"Update an existing token exchange profile - default","request":{"urlPathTemplate":"/token-exchange-profiles/{id}","method":"PATCH","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"2d5941b9-03b1-47b9-ad3b-1466357ae3b0","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"b4e9ccbb-5ef3-4c51-8149-56153dc787d4","name":"Get User Attribute Profiles - default","request":{"urlPathTemplate":"/user-attribute-profiles","method":"GET"},"response":{"status":200,"body":"{\n \"next\": \"next\",\n \"user_attribute_profiles\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"user_attributes\": {\n \"key\": {\n \"description\": \"description\",\n \"label\": \"label\",\n \"profile_required\": true,\n \"auth0_mapping\": \"auth0_mapping\"\n }\n }\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"b4e9ccbb-5ef3-4c51-8149-56153dc787d4","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"d032e452-b3cb-4a7a-8906-bb80a76c6b8f","name":"Post User Attribute Profile - default","request":{"urlPathTemplate":"/user-attribute-profiles","method":"POST"},"response":{"status":201,"body":"{\n \"id\": \"id\",\n \"name\": \"name\",\n \"user_id\": {\n \"oidc_mapping\": \"sub\",\n \"saml_mapping\": [\n \"saml_mapping\"\n ],\n \"scim_mapping\": \"scim_mapping\"\n },\n \"user_attributes\": {\n \"key\": {\n \"description\": \"description\",\n \"label\": \"label\",\n \"profile_required\": true,\n \"auth0_mapping\": \"auth0_mapping\",\n \"oidc_mapping\": {\n \"mapping\": \"mapping\"\n },\n \"saml_mapping\": [\n \"saml_mapping\"\n ],\n \"scim_mapping\": \"scim_mapping\"\n }\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"d032e452-b3cb-4a7a-8906-bb80a76c6b8f","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"5a222f5e-5188-4dff-ae26-46d41f56c061","name":"Get User Attribute Profile Templates - default","request":{"urlPathTemplate":"/user-attribute-profiles/templates","method":"GET"},"response":{"status":200,"body":"{\n \"user_attribute_profile_templates\": [\n {\n \"id\": \"id\",\n \"display_name\": \"display_name\"\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"5a222f5e-5188-4dff-ae26-46d41f56c061","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"6672c8c9-01d1-4aae-9ade-20890bbff6b3","name":"Get User Attribute Profile Template - default","request":{"urlPathTemplate":"/user-attribute-profiles/templates/{id}","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"display_name\": \"display_name\",\n \"template\": {\n \"name\": \"name\",\n \"user_id\": {\n \"oidc_mapping\": \"sub\",\n \"saml_mapping\": [\n \"saml_mapping\"\n ],\n \"scim_mapping\": \"scim_mapping\"\n },\n \"user_attributes\": {\n \"key\": {\n \"description\": \"description\",\n \"label\": \"label\",\n \"profile_required\": true,\n \"auth0_mapping\": \"auth0_mapping\"\n }\n }\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"6672c8c9-01d1-4aae-9ade-20890bbff6b3","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"b09540c6-726c-42e3-b5e8-dbc7182c2147","name":"Get User Attribute Profile - default","request":{"urlPathTemplate":"/user-attribute-profiles/{id}","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"name\": \"name\",\n \"user_id\": {\n \"oidc_mapping\": \"sub\",\n \"saml_mapping\": [\n \"saml_mapping\"\n ],\n \"scim_mapping\": \"scim_mapping\"\n },\n \"user_attributes\": {\n \"key\": {\n \"description\": \"description\",\n \"label\": \"label\",\n \"profile_required\": true,\n \"auth0_mapping\": \"auth0_mapping\",\n \"oidc_mapping\": {\n \"mapping\": \"mapping\"\n },\n \"saml_mapping\": [\n \"saml_mapping\"\n ],\n \"scim_mapping\": \"scim_mapping\"\n }\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"b09540c6-726c-42e3-b5e8-dbc7182c2147","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"ce0d7ce2-8b91-4791-be9b-2774f5efeec0","name":"Delete User Attribute Profile - default","request":{"urlPathTemplate":"/user-attribute-profiles/{id}","method":"DELETE","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"ce0d7ce2-8b91-4791-be9b-2774f5efeec0","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"2e6307a7-6f62-4b1f-a02b-e6414927a286","name":"Modify a user attribute profile - default","request":{"urlPathTemplate":"/user-attribute-profiles/{id}","method":"PATCH","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"name\": \"name\",\n \"user_id\": {\n \"oidc_mapping\": \"sub\",\n \"saml_mapping\": [\n \"saml_mapping\"\n ],\n \"scim_mapping\": \"scim_mapping\"\n },\n \"user_attributes\": {\n \"key\": {\n \"description\": \"description\",\n \"label\": \"label\",\n \"profile_required\": true,\n \"auth0_mapping\": \"auth0_mapping\",\n \"oidc_mapping\": {\n \"mapping\": \"mapping\"\n },\n \"saml_mapping\": [\n \"saml_mapping\"\n ],\n \"scim_mapping\": \"scim_mapping\"\n }\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"2e6307a7-6f62-4b1f-a02b-e6414927a286","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"2522dc7d-5aa2-4655-a7a9-24f79a2b8425","name":"Get blocks by identifier - default","request":{"urlPathTemplate":"/user-blocks","method":"GET"},"response":{"status":200,"body":"{\n \"blocked_for\": [\n {\n \"identifier\": \"identifier\",\n \"ip\": \"ip\",\n \"connection\": \"connection\"\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"2522dc7d-5aa2-4655-a7a9-24f79a2b8425","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"049ee4c7-943e-481c-8ebf-dc6d21d5260c","name":"Unblock by identifier - default","request":{"urlPathTemplate":"/user-blocks","method":"DELETE"},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"049ee4c7-943e-481c-8ebf-dc6d21d5260c","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"d2565899-4c2a-4b6b-93b5-caecdbadc782","name":"Get a user's blocks - default","request":{"urlPathTemplate":"/user-blocks/{id}","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"blocked_for\": [\n {\n \"identifier\": \"identifier\",\n \"ip\": \"ip\",\n \"connection\": \"connection\"\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"d2565899-4c2a-4b6b-93b5-caecdbadc782","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"b3f82ebe-f646-4a06-9770-8ece4e55d861","name":"Unblock a user - default","request":{"urlPathTemplate":"/user-blocks/{id}","method":"DELETE","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"b3f82ebe-f646-4a06-9770-8ece4e55d861","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"8b4e8914-5be6-4e9b-896f-0b72752d9671","name":"List or Search Users - default","request":{"urlPathTemplate":"/users","method":"GET"},"response":{"status":200,"body":"{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"length\": 1.1,\n \"total\": 1.1,\n \"users\": [\n {\n \"user_id\": \"user_id\",\n \"email\": \"email\",\n \"email_verified\": true,\n \"username\": \"username\",\n \"phone_number\": \"phone_number\",\n \"phone_verified\": true,\n \"created_at\": \"created_at\",\n \"updated_at\": \"updated_at\",\n \"identities\": [\n {}\n ],\n \"app_metadata\": {\n \"key\": \"value\"\n },\n \"user_metadata\": {\n \"key\": \"value\"\n },\n \"picture\": \"picture\",\n \"name\": \"name\",\n \"nickname\": \"nickname\",\n \"multifactor\": [\n \"multifactor\"\n ],\n \"last_ip\": \"last_ip\",\n \"last_login\": \"last_login\",\n \"logins_count\": 1,\n \"blocked\": true,\n \"given_name\": \"given_name\",\n \"family_name\": \"family_name\"\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"8b4e8914-5be6-4e9b-896f-0b72752d9671","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"4a8c54d7-9d2a-4a48-ad89-4b2481eed23a","name":"Create a User - default","request":{"urlPathTemplate":"/users","method":"POST"},"response":{"status":201,"body":"{\n \"user_id\": \"user_id\",\n \"email\": \"email\",\n \"email_verified\": true,\n \"username\": \"username\",\n \"phone_number\": \"phone_number\",\n \"phone_verified\": true,\n \"created_at\": \"created_at\",\n \"updated_at\": \"updated_at\",\n \"identities\": [\n {\n \"connection\": \"connection\",\n \"user_id\": \"user_id\",\n \"provider\": \"ad\",\n \"isSocial\": true,\n \"access_token\": \"access_token\",\n \"access_token_secret\": \"access_token_secret\",\n \"refresh_token\": \"refresh_token\"\n }\n ],\n \"app_metadata\": {\n \"key\": \"value\"\n },\n \"user_metadata\": {\n \"key\": \"value\"\n },\n \"picture\": \"picture\",\n \"name\": \"name\",\n \"nickname\": \"nickname\",\n \"multifactor\": [\n \"multifactor\"\n ],\n \"last_ip\": \"last_ip\",\n \"last_login\": \"last_login\",\n \"logins_count\": 1,\n \"blocked\": true,\n \"given_name\": \"given_name\",\n \"family_name\": \"family_name\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"4a8c54d7-9d2a-4a48-ad89-4b2481eed23a","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"414f2fd9-cbe8-4b07-b181-1bc4d03f38d6","name":"Search Users by Email - default","request":{"urlPathTemplate":"/users-by-email","method":"GET"},"response":{"status":200,"body":"[\n {\n \"user_id\": \"user_id\",\n \"email\": \"email\",\n \"email_verified\": true,\n \"username\": \"username\",\n \"phone_number\": \"phone_number\",\n \"phone_verified\": true,\n \"created_at\": \"created_at\",\n \"updated_at\": \"updated_at\",\n \"identities\": [\n {}\n ],\n \"app_metadata\": {\n \"key\": \"value\"\n },\n \"user_metadata\": {\n \"key\": \"value\"\n },\n \"picture\": \"picture\",\n \"name\": \"name\",\n \"nickname\": \"nickname\",\n \"multifactor\": [\n \"multifactor\"\n ],\n \"last_ip\": \"last_ip\",\n \"last_login\": \"last_login\",\n \"logins_count\": 1,\n \"blocked\": true,\n \"given_name\": \"given_name\",\n \"family_name\": \"family_name\"\n }\n]","headers":{"Content-Type":"application/json"}},"uuid":"414f2fd9-cbe8-4b07-b181-1bc4d03f38d6","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"9fc639a9-4bc3-4dab-909f-41947203684a","name":"Get a User - default","request":{"urlPathTemplate":"/users/{id}","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"user_id\": \"user_id\",\n \"email\": \"email\",\n \"email_verified\": true,\n \"username\": \"username\",\n \"phone_number\": \"phone_number\",\n \"phone_verified\": true,\n \"created_at\": \"created_at\",\n \"updated_at\": \"updated_at\",\n \"identities\": [\n {\n \"connection\": \"connection\",\n \"user_id\": \"user_id\",\n \"provider\": \"ad\",\n \"isSocial\": true,\n \"access_token\": \"access_token\",\n \"access_token_secret\": \"access_token_secret\",\n \"refresh_token\": \"refresh_token\"\n }\n ],\n \"app_metadata\": {\n \"key\": \"value\"\n },\n \"user_metadata\": {\n \"key\": \"value\"\n },\n \"picture\": \"picture\",\n \"name\": \"name\",\n \"nickname\": \"nickname\",\n \"multifactor\": [\n \"multifactor\"\n ],\n \"last_ip\": \"last_ip\",\n \"last_login\": \"last_login\",\n \"logins_count\": 1,\n \"blocked\": true,\n \"given_name\": \"given_name\",\n \"family_name\": \"family_name\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"9fc639a9-4bc3-4dab-909f-41947203684a","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"265181b3-7abf-472b-99f2-d2e6eb47b27e","name":"Delete a User - default","request":{"urlPathTemplate":"/users/{id}","method":"DELETE","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"265181b3-7abf-472b-99f2-d2e6eb47b27e","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"c65910b9-fa24-4a35-87b7-3b8e611f2d5c","name":"Update a User - default","request":{"urlPathTemplate":"/users/{id}","method":"PATCH","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"user_id\": \"user_id\",\n \"email\": \"email\",\n \"email_verified\": true,\n \"username\": \"username\",\n \"phone_number\": \"phone_number\",\n \"phone_verified\": true,\n \"created_at\": \"created_at\",\n \"updated_at\": \"updated_at\",\n \"identities\": [\n {\n \"connection\": \"connection\",\n \"user_id\": \"user_id\",\n \"provider\": \"ad\",\n \"isSocial\": true,\n \"access_token\": \"access_token\",\n \"access_token_secret\": \"access_token_secret\",\n \"refresh_token\": \"refresh_token\"\n }\n ],\n \"app_metadata\": {\n \"key\": \"value\"\n },\n \"user_metadata\": {\n \"key\": \"value\"\n },\n \"picture\": \"picture\",\n \"name\": \"name\",\n \"nickname\": \"nickname\",\n \"multifactor\": [\n \"multifactor\"\n ],\n \"last_ip\": \"last_ip\",\n \"last_login\": \"last_login\",\n \"logins_count\": 1,\n \"blocked\": true,\n \"given_name\": \"given_name\",\n \"family_name\": \"family_name\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"c65910b9-fa24-4a35-87b7-3b8e611f2d5c","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"1a7b88c7-c33a-4670-953b-957ea26d298e","name":"Generate New Multi-factor Authentication Recovery Code - default","request":{"urlPathTemplate":"/users/{id}/recovery-code-regeneration","method":"POST","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"recovery_code\": \"recovery_code\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"1a7b88c7-c33a-4670-953b-957ea26d298e","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"a562240d-132f-4adc-a0f6-763101460526","name":"Revokes selected resources from a user - default","request":{"urlPathTemplate":"/users/{id}/revoke-access","method":"POST","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"a562240d-132f-4adc-a0f6-763101460526","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"ccdc2dc5-d900-4938-9ae0-3a9466191ed1","name":"Get an action's versions - default","request":{"urlPathTemplate":"/actions/actions/{actionId}/versions","method":"GET","pathParameters":{"actionId":{"equalTo":"actionId"}}},"response":{"status":200,"body":"{\n \"total\": 1.1,\n \"page\": 1.1,\n \"per_page\": 1.1,\n \"versions\": [\n {\n \"id\": \"id\",\n \"action_id\": \"action_id\",\n \"code\": \"code\",\n \"dependencies\": [\n {}\n ],\n \"deployed\": true,\n \"runtime\": \"runtime\",\n \"secrets\": [\n {}\n ],\n \"status\": \"pending\",\n \"number\": 1.1,\n \"errors\": [\n {}\n ],\n \"built_at\": \"2024-01-15T09:30:00Z\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"supported_triggers\": [\n {\n \"id\": \"id\"\n }\n ],\n \"modules\": [\n {}\n ]\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"ccdc2dc5-d900-4938-9ae0-3a9466191ed1","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"33c0cb30-ca1f-4477-9078-8647e82f975f","name":"Get a specific version of an action - default","request":{"urlPathTemplate":"/actions/actions/{actionId}/versions/{id}","method":"GET","pathParameters":{"actionId":{"equalTo":"actionId"},"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"action_id\": \"action_id\",\n \"code\": \"code\",\n \"dependencies\": [\n {\n \"name\": \"name\",\n \"version\": \"version\",\n \"registry_url\": \"registry_url\"\n }\n ],\n \"deployed\": true,\n \"runtime\": \"runtime\",\n \"secrets\": [\n {\n \"name\": \"name\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n }\n ],\n \"status\": \"pending\",\n \"number\": 1.1,\n \"errors\": [\n {\n \"id\": \"id\",\n \"msg\": \"msg\",\n \"url\": \"url\"\n }\n ],\n \"action\": {\n \"id\": \"id\",\n \"name\": \"name\",\n \"supported_triggers\": [\n {\n \"id\": \"id\"\n }\n ],\n \"all_changes_deployed\": true,\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n },\n \"built_at\": \"2024-01-15T09:30:00Z\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"supported_triggers\": [\n {\n \"id\": \"id\",\n \"version\": \"version\",\n \"status\": \"status\",\n \"runtimes\": [\n \"runtimes\"\n ],\n \"default_runtime\": \"default_runtime\",\n \"compatible_triggers\": [\n {\n \"id\": \"id\",\n \"version\": \"version\"\n }\n ],\n \"binding_policy\": \"trigger-bound\"\n }\n ],\n \"modules\": [\n {\n \"module_id\": \"module_id\",\n \"module_name\": \"module_name\",\n \"module_version_id\": \"module_version_id\",\n \"module_version_number\": 1\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"33c0cb30-ca1f-4477-9078-8647e82f975f","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"746fbf5a-cee7-4302-ad86-14035a3912f7","name":"Roll back to a previous action version - default","request":{"urlPathTemplate":"/actions/actions/{actionId}/versions/{id}/deploy","method":"POST","pathParameters":{"actionId":{"equalTo":"actionId"},"id":{"equalTo":"id"}}},"response":{"status":202,"body":"{\n \"id\": \"id\",\n \"action_id\": \"action_id\",\n \"code\": \"code\",\n \"dependencies\": [\n {\n \"name\": \"name\",\n \"version\": \"version\",\n \"registry_url\": \"registry_url\"\n }\n ],\n \"deployed\": true,\n \"runtime\": \"runtime\",\n \"secrets\": [\n {\n \"name\": \"name\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n }\n ],\n \"status\": \"pending\",\n \"number\": 1.1,\n \"errors\": [\n {\n \"id\": \"id\",\n \"msg\": \"msg\",\n \"url\": \"url\"\n }\n ],\n \"action\": {\n \"id\": \"id\",\n \"name\": \"name\",\n \"supported_triggers\": [\n {\n \"id\": \"id\"\n }\n ],\n \"all_changes_deployed\": true,\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n },\n \"built_at\": \"2024-01-15T09:30:00Z\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"supported_triggers\": [\n {\n \"id\": \"id\",\n \"version\": \"version\",\n \"status\": \"status\",\n \"runtimes\": [\n \"runtimes\"\n ],\n \"default_runtime\": \"default_runtime\",\n \"compatible_triggers\": [\n {\n \"id\": \"id\",\n \"version\": \"version\"\n }\n ],\n \"binding_policy\": \"trigger-bound\"\n }\n ],\n \"modules\": [\n {\n \"module_id\": \"module_id\",\n \"module_name\": \"module_name\",\n \"module_version_id\": \"module_version_id\",\n \"module_version_number\": 1\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"746fbf5a-cee7-4302-ad86-14035a3912f7","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"822dd98d-546e-46d8-a976-8f2c97028432","name":"Get an execution - default","request":{"urlPathTemplate":"/actions/executions/{id}","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"trigger_id\": \"trigger_id\",\n \"status\": \"unspecified\",\n \"results\": [\n {\n \"action_name\": \"action_name\",\n \"started_at\": \"2024-01-15T09:30:00Z\",\n \"ended_at\": \"2024-01-15T09:30:00Z\"\n }\n ],\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"822dd98d-546e-46d8-a976-8f2c97028432","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"8abc8ed4-7895-434f-a43b-613d4101d6bc","name":"List Actions Modules - default","request":{"urlPathTemplate":"/actions/modules","method":"GET"},"response":{"status":200,"body":"{\n \"modules\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"code\": \"code\",\n \"dependencies\": [\n {}\n ],\n \"secrets\": [\n {}\n ],\n \"actions_using_module_total\": 1,\n \"all_changes_published\": true,\n \"latest_version_number\": 1,\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n }\n ],\n \"total\": 1,\n \"page\": 1,\n \"per_page\": 1\n}","headers":{"Content-Type":"application/json"}},"uuid":"8abc8ed4-7895-434f-a43b-613d4101d6bc","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"3e5b836f-105d-4d50-a185-5cd051f4db56","name":"Create a new Actions Module - default","request":{"urlPathTemplate":"/actions/modules","method":"POST"},"response":{"status":201,"body":"{\n \"id\": \"id\",\n \"name\": \"name\",\n \"code\": \"code\",\n \"dependencies\": [\n {\n \"name\": \"name\",\n \"version\": \"version\"\n }\n ],\n \"secrets\": [\n {\n \"name\": \"name\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n }\n ],\n \"actions_using_module_total\": 1,\n \"all_changes_published\": true,\n \"latest_version_number\": 1,\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"latest_version\": {\n \"id\": \"id\",\n \"version_number\": 1,\n \"code\": \"code\",\n \"dependencies\": [\n {}\n ],\n \"secrets\": [\n {}\n ],\n \"created_at\": \"2024-01-15T09:30:00Z\"\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"3e5b836f-105d-4d50-a185-5cd051f4db56","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"51d32ec1-89e7-4db1-aae7-76445e9e0cd2","name":"Get a specific Actions Module by ID - default","request":{"urlPathTemplate":"/actions/modules/{id}","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"name\": \"name\",\n \"code\": \"code\",\n \"dependencies\": [\n {\n \"name\": \"name\",\n \"version\": \"version\"\n }\n ],\n \"secrets\": [\n {\n \"name\": \"name\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n }\n ],\n \"actions_using_module_total\": 1,\n \"all_changes_published\": true,\n \"latest_version_number\": 1,\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"latest_version\": {\n \"id\": \"id\",\n \"version_number\": 1,\n \"code\": \"code\",\n \"dependencies\": [\n {}\n ],\n \"secrets\": [\n {}\n ],\n \"created_at\": \"2024-01-15T09:30:00Z\"\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"51d32ec1-89e7-4db1-aae7-76445e9e0cd2","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"613a56ac-b303-417b-bbfe-d8ceda21db89","name":"Delete a specific Actions Module by ID - default","request":{"urlPathTemplate":"/actions/modules/{id}","method":"DELETE","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"613a56ac-b303-417b-bbfe-d8ceda21db89","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"33cfded9-118e-4c8a-b0a1-207b0f1ae202","name":"Update a specific Actions Module - default","request":{"urlPathTemplate":"/actions/modules/{id}","method":"PATCH","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"name\": \"name\",\n \"code\": \"code\",\n \"dependencies\": [\n {\n \"name\": \"name\",\n \"version\": \"version\"\n }\n ],\n \"secrets\": [\n {\n \"name\": \"name\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n }\n ],\n \"actions_using_module_total\": 1,\n \"all_changes_published\": true,\n \"latest_version_number\": 1,\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"latest_version\": {\n \"id\": \"id\",\n \"version_number\": 1,\n \"code\": \"code\",\n \"dependencies\": [\n {}\n ],\n \"secrets\": [\n {}\n ],\n \"created_at\": \"2024-01-15T09:30:00Z\"\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"33cfded9-118e-4c8a-b0a1-207b0f1ae202","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"989d944b-6872-44fc-957b-87900af162f6","name":"List all actions using an Actions Module - default","request":{"urlPathTemplate":"/actions/modules/{id}/actions","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"actions\": [\n {\n \"action_id\": \"action_id\",\n \"action_name\": \"action_name\",\n \"module_version_id\": \"module_version_id\",\n \"module_version_number\": 1,\n \"supported_triggers\": [\n {\n \"id\": \"id\"\n }\n ]\n }\n ],\n \"total\": 1,\n \"page\": 1,\n \"per_page\": 1\n}","headers":{"Content-Type":"application/json"}},"uuid":"989d944b-6872-44fc-957b-87900af162f6","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"d83ce3f7-bfbf-4999-97ba-7813c7fb466b","name":"Rollback an Actions Module to a previous version - default","request":{"urlPathTemplate":"/actions/modules/{id}/rollback","method":"POST","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"name\": \"name\",\n \"code\": \"code\",\n \"dependencies\": [\n {\n \"name\": \"name\",\n \"version\": \"version\"\n }\n ],\n \"secrets\": [\n {\n \"name\": \"name\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n }\n ],\n \"actions_using_module_total\": 1,\n \"all_changes_published\": true,\n \"latest_version_number\": 1,\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"latest_version\": {\n \"id\": \"id\",\n \"version_number\": 1,\n \"code\": \"code\",\n \"dependencies\": [\n {}\n ],\n \"secrets\": [\n {}\n ],\n \"created_at\": \"2024-01-15T09:30:00Z\"\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"d83ce3f7-bfbf-4999-97ba-7813c7fb466b","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"f6c96303-6883-4084-989f-2dbadb13c1d9","name":"Get triggers - default","request":{"urlPathTemplate":"/actions/triggers","method":"GET"},"response":{"status":200,"body":"{\n \"triggers\": [\n {\n \"id\": \"id\",\n \"version\": \"version\",\n \"status\": \"status\",\n \"runtimes\": [\n \"runtimes\"\n ],\n \"default_runtime\": \"default_runtime\",\n \"compatible_triggers\": [\n {\n \"id\": \"id\",\n \"version\": \"version\"\n }\n ],\n \"binding_policy\": \"trigger-bound\"\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"f6c96303-6883-4084-989f-2dbadb13c1d9","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"f9d3c975-0170-4fb7-977a-8b220d9f62bb","name":"List all versions of an Actions Module - default","request":{"urlPathTemplate":"/actions/modules/{id}/versions","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"versions\": [\n {\n \"id\": \"id\",\n \"module_id\": \"module_id\",\n \"version_number\": 1,\n \"code\": \"code\",\n \"secrets\": [\n {}\n ],\n \"dependencies\": [\n {}\n ],\n \"created_at\": \"2024-01-15T09:30:00Z\"\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"f9d3c975-0170-4fb7-977a-8b220d9f62bb","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"f2ae0322-48cb-47bb-a197-e4607ede713a","name":"Create a new version of an Actions Module - default","request":{"urlPathTemplate":"/actions/modules/{id}/versions","method":"POST","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"module_id\": \"module_id\",\n \"version_number\": 1,\n \"code\": \"code\",\n \"secrets\": [\n {\n \"name\": \"name\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n }\n ],\n \"dependencies\": [\n {\n \"name\": \"name\",\n \"version\": \"version\"\n }\n ],\n \"created_at\": \"2024-01-15T09:30:00Z\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"f2ae0322-48cb-47bb-a197-e4607ede713a","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"29f3eb37-e484-460b-a662-6e196927da74","name":"Get a specific version of an Actions Module - default","request":{"urlPathTemplate":"/actions/modules/{id}/versions/{versionId}","method":"GET","pathParameters":{"id":{"equalTo":"id"},"versionId":{"equalTo":"versionId"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"module_id\": \"module_id\",\n \"version_number\": 1,\n \"code\": \"code\",\n \"secrets\": [\n {\n \"name\": \"name\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n }\n ],\n \"dependencies\": [\n {\n \"name\": \"name\",\n \"version\": \"version\"\n }\n ],\n \"created_at\": \"2024-01-15T09:30:00Z\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"29f3eb37-e484-460b-a662-6e196927da74","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"eb7071fc-50a8-4dc9-a79d-ce47e23d4637","name":"Get trigger bindings - default","request":{"urlPathTemplate":"/actions/triggers/{triggerId}/bindings","method":"GET","pathParameters":{"triggerId":{"equalTo":"triggerId"}}},"response":{"status":200,"body":"{\n \"total\": 1.1,\n \"page\": 1.1,\n \"per_page\": 1.1,\n \"bindings\": [\n {\n \"id\": \"id\",\n \"trigger_id\": \"trigger_id\",\n \"display_name\": \"display_name\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"eb7071fc-50a8-4dc9-a79d-ce47e23d4637","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"677bf282-a2a0-4bc7-a065-b5de9e248673","name":"Update trigger bindings - default","request":{"urlPathTemplate":"/actions/triggers/{triggerId}/bindings","method":"PATCH","pathParameters":{"triggerId":{"equalTo":"triggerId"}}},"response":{"status":200,"body":"{\n \"bindings\": [\n {\n \"id\": \"id\",\n \"trigger_id\": \"trigger_id\",\n \"display_name\": \"display_name\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"677bf282-a2a0-4bc7-a065-b5de9e248673","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"858c0df0-350f-4619-8960-6f774c0f234a","name":"Check if an IP address is blocked - default","request":{"urlPathTemplate":"/anomaly/blocks/ips/{id}","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"858c0df0-350f-4619-8960-6f774c0f234a","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"3c386455-0d8c-4edf-a027-a4ac0ff2e391","name":"Remove the blocked IP address - default","request":{"urlPathTemplate":"/anomaly/blocks/ips/{id}","method":"DELETE","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"3c386455-0d8c-4edf-a027-a4ac0ff2e391","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"80b1e16c-5284-48f9-9802-ff189fca3b63","name":"Get Bot Detection settings - default","request":{"urlPathTemplate":"/attack-protection/bot-detection","method":"GET"},"response":{"status":200,"body":"{\n \"bot_detection_level\": \"low\",\n \"challenge_password_policy\": \"never\",\n \"challenge_passwordless_policy\": \"never\",\n \"challenge_password_reset_policy\": \"never\",\n \"allowlist\": [\n \"allowlist\"\n ],\n \"monitoring_mode_enabled\": true\n}","headers":{"Content-Type":"application/json"}},"uuid":"80b1e16c-5284-48f9-9802-ff189fca3b63","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"bf92fa51-631d-42ef-bf27-8161f3bcab37","name":"Update Bot Detection settings - default","request":{"urlPathTemplate":"/attack-protection/bot-detection","method":"PATCH"},"response":{"status":200,"body":"{\n \"bot_detection_level\": \"low\",\n \"challenge_password_policy\": \"never\",\n \"challenge_passwordless_policy\": \"never\",\n \"challenge_password_reset_policy\": \"never\",\n \"allowlist\": [\n \"allowlist\"\n ],\n \"monitoring_mode_enabled\": true\n}","headers":{"Content-Type":"application/json"}},"uuid":"bf92fa51-631d-42ef-bf27-8161f3bcab37","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"3ecb5fd3-5290-46e1-80da-bbdc282e2e86","name":"Get Breached Password Detection settings - default","request":{"urlPathTemplate":"/attack-protection/breached-password-detection","method":"GET"},"response":{"status":200,"body":"{\n \"enabled\": true,\n \"shields\": [\n \"block\"\n ],\n \"admin_notification_frequency\": [\n \"immediately\"\n ],\n \"method\": \"standard\",\n \"stage\": {\n \"pre-user-registration\": {\n \"shields\": [\n \"block\"\n ]\n },\n \"pre-change-password\": {\n \"shields\": [\n \"block\"\n ]\n }\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"3ecb5fd3-5290-46e1-80da-bbdc282e2e86","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"7f0c04d7-e36a-49ce-af70-af9df4825f56","name":"Update Breached Password Detection settings - default","request":{"urlPathTemplate":"/attack-protection/breached-password-detection","method":"PATCH"},"response":{"status":200,"body":"{\n \"enabled\": true,\n \"shields\": [\n \"block\"\n ],\n \"admin_notification_frequency\": [\n \"immediately\"\n ],\n \"method\": \"standard\",\n \"stage\": {\n \"pre-user-registration\": {\n \"shields\": [\n \"block\"\n ]\n },\n \"pre-change-password\": {\n \"shields\": [\n \"block\"\n ]\n }\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"7f0c04d7-e36a-49ce-af70-af9df4825f56","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"7870c330-d1c9-4a9f-9745-40e1d8b2d0ac","name":"Get Brute-force settings - default","request":{"urlPathTemplate":"/attack-protection/brute-force-protection","method":"GET"},"response":{"status":200,"body":"{\n \"enabled\": true,\n \"shields\": [\n \"block\"\n ],\n \"allowlist\": [\n \"allowlist\"\n ],\n \"mode\": \"count_per_identifier_and_ip\",\n \"max_attempts\": 1\n}","headers":{"Content-Type":"application/json"}},"uuid":"7870c330-d1c9-4a9f-9745-40e1d8b2d0ac","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"23e440e9-0ef4-4ec5-96f3-0b4d84085d92","name":"Update Brute-force settings - default","request":{"urlPathTemplate":"/attack-protection/brute-force-protection","method":"PATCH"},"response":{"status":200,"body":"{\n \"enabled\": true,\n \"shields\": [\n \"block\"\n ],\n \"allowlist\": [\n \"allowlist\"\n ],\n \"mode\": \"count_per_identifier_and_ip\",\n \"max_attempts\": 1\n}","headers":{"Content-Type":"application/json"}},"uuid":"23e440e9-0ef4-4ec5-96f3-0b4d84085d92","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"1cfbbf1e-0b0a-4d9e-bfe5-8d796adbfb34","name":"Get the CAPTCHA configuration for a tenant - default","request":{"urlPathTemplate":"/attack-protection/captcha","method":"GET"},"response":{"status":200,"body":"{\n \"active_provider_id\": \"active_provider_id\",\n \"arkose\": {\n \"site_key\": \"site_key\",\n \"fail_open\": true,\n \"client_subdomain\": \"client_subdomain\",\n \"verify_subdomain\": \"verify_subdomain\"\n },\n \"auth_challenge\": {\n \"fail_open\": true\n },\n \"hcaptcha\": {\n \"site_key\": \"site_key\"\n },\n \"friendly_captcha\": {\n \"site_key\": \"site_key\"\n },\n \"recaptcha_enterprise\": {\n \"site_key\": \"site_key\",\n \"project_id\": \"project_id\"\n },\n \"recaptcha_v2\": {\n \"site_key\": \"site_key\"\n },\n \"simple_captcha\": {\n \"key\": \"value\"\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"1cfbbf1e-0b0a-4d9e-bfe5-8d796adbfb34","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"c8a6243c-e0ad-49f2-8b47-405276a8ae5e","name":"Partial Update for CAPTCHA Configuration - default","request":{"urlPathTemplate":"/attack-protection/captcha","method":"PATCH"},"response":{"status":200,"body":"{\n \"active_provider_id\": \"active_provider_id\",\n \"arkose\": {\n \"site_key\": \"site_key\",\n \"fail_open\": true,\n \"client_subdomain\": \"client_subdomain\",\n \"verify_subdomain\": \"verify_subdomain\"\n },\n \"auth_challenge\": {\n \"fail_open\": true\n },\n \"hcaptcha\": {\n \"site_key\": \"site_key\"\n },\n \"friendly_captcha\": {\n \"site_key\": \"site_key\"\n },\n \"recaptcha_enterprise\": {\n \"site_key\": \"site_key\",\n \"project_id\": \"project_id\"\n },\n \"recaptcha_v2\": {\n \"site_key\": \"site_key\"\n },\n \"simple_captcha\": {\n \"key\": \"value\"\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"c8a6243c-e0ad-49f2-8b47-405276a8ae5e","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"a3ae14b8-1582-4cae-bb51-84b1d3b3fccf","name":"Get Suspicious IP Throttling settings - default","request":{"urlPathTemplate":"/attack-protection/suspicious-ip-throttling","method":"GET"},"response":{"status":200,"body":"{\n \"enabled\": true,\n \"shields\": [\n \"block\"\n ],\n \"allowlist\": [\n \"allowlist\"\n ],\n \"stage\": {\n \"pre-login\": {\n \"max_attempts\": 1,\n \"rate\": 1\n },\n \"pre-user-registration\": {\n \"max_attempts\": 1,\n \"rate\": 1\n }\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"a3ae14b8-1582-4cae-bb51-84b1d3b3fccf","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"119c9fe7-b349-4ad0-8846-3e6be6a9661e","name":"Update Suspicious IP Throttling settings - default","request":{"urlPathTemplate":"/attack-protection/suspicious-ip-throttling","method":"PATCH"},"response":{"status":200,"body":"{\n \"enabled\": true,\n \"shields\": [\n \"block\"\n ],\n \"allowlist\": [\n \"allowlist\"\n ],\n \"stage\": {\n \"pre-login\": {\n \"max_attempts\": 1,\n \"rate\": 1\n },\n \"pre-user-registration\": {\n \"max_attempts\": 1,\n \"rate\": 1\n }\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"119c9fe7-b349-4ad0-8846-3e6be6a9661e","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"bdf661b2-3819-41c2-98f8-4b9137f67189","name":"Get template for New Universal Login Experience - default","request":{"urlPathTemplate":"/branding/templates/universal-login","method":"GET"},"response":{"status":200,"body":"{\n \"body\": \"body\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"bdf661b2-3819-41c2-98f8-4b9137f67189","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"44f5b8dc-7d64-47a1-8889-79cda94f7809","name":"Set template for New Universal Login Experience - default","request":{"urlPathTemplate":"/branding/templates/universal-login","method":"PUT"},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"44f5b8dc-7d64-47a1-8889-79cda94f7809","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"c2b51bd9-187b-466d-8fe6-68a2eb02e00f","name":"Delete template for New Universal Login Experience - default","request":{"urlPathTemplate":"/branding/templates/universal-login","method":"DELETE"},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"c2b51bd9-187b-466d-8fe6-68a2eb02e00f","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"2c7a5627-a851-4881-9e60-689c81a3122b","name":"Create branding theme - default","request":{"urlPathTemplate":"/branding/themes","method":"POST"},"response":{"status":200,"body":"{\n \"borders\": {\n \"button_border_radius\": 1.1,\n \"button_border_weight\": 1.1,\n \"buttons_style\": \"pill\",\n \"input_border_radius\": 1.1,\n \"input_border_weight\": 1.1,\n \"inputs_style\": \"pill\",\n \"show_widget_shadow\": true,\n \"widget_border_weight\": 1.1,\n \"widget_corner_radius\": 1.1\n },\n \"colors\": {\n \"base_focus_color\": \"base_focus_color\",\n \"base_hover_color\": \"base_hover_color\",\n \"body_text\": \"body_text\",\n \"captcha_widget_theme\": \"auto\",\n \"error\": \"error\",\n \"header\": \"header\",\n \"icons\": \"icons\",\n \"input_background\": \"input_background\",\n \"input_border\": \"input_border\",\n \"input_filled_text\": \"input_filled_text\",\n \"input_labels_placeholders\": \"input_labels_placeholders\",\n \"links_focused_components\": \"links_focused_components\",\n \"primary_button\": \"primary_button\",\n \"primary_button_label\": \"primary_button_label\",\n \"read_only_background\": \"read_only_background\",\n \"secondary_button_border\": \"secondary_button_border\",\n \"secondary_button_label\": \"secondary_button_label\",\n \"success\": \"success\",\n \"widget_background\": \"widget_background\",\n \"widget_border\": \"widget_border\"\n },\n \"displayName\": \"displayName\",\n \"fonts\": {\n \"body_text\": {\n \"bold\": true,\n \"size\": 1.1\n },\n \"buttons_text\": {\n \"bold\": true,\n \"size\": 1.1\n },\n \"font_url\": \"font_url\",\n \"input_labels\": {\n \"bold\": true,\n \"size\": 1.1\n },\n \"links\": {\n \"bold\": true,\n \"size\": 1.1\n },\n \"links_style\": \"normal\",\n \"reference_text_size\": 1.1,\n \"subtitle\": {\n \"bold\": true,\n \"size\": 1.1\n },\n \"title\": {\n \"bold\": true,\n \"size\": 1.1\n }\n },\n \"page_background\": {\n \"background_color\": \"background_color\",\n \"background_image_url\": \"background_image_url\",\n \"page_layout\": \"center\"\n },\n \"themeId\": \"themeId\",\n \"widget\": {\n \"header_text_alignment\": \"center\",\n \"logo_height\": 1.1,\n \"logo_position\": \"center\",\n \"logo_url\": \"logo_url\",\n \"social_buttons_layout\": \"bottom\"\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"2c7a5627-a851-4881-9e60-689c81a3122b","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"91d16fa4-7e8b-4de2-aa78-061a5267295b","name":"Get default branding theme - default","request":{"urlPathTemplate":"/branding/themes/default","method":"GET"},"response":{"status":200,"body":"{\n \"borders\": {\n \"button_border_radius\": 1.1,\n \"button_border_weight\": 1.1,\n \"buttons_style\": \"pill\",\n \"input_border_radius\": 1.1,\n \"input_border_weight\": 1.1,\n \"inputs_style\": \"pill\",\n \"show_widget_shadow\": true,\n \"widget_border_weight\": 1.1,\n \"widget_corner_radius\": 1.1\n },\n \"colors\": {\n \"base_focus_color\": \"base_focus_color\",\n \"base_hover_color\": \"base_hover_color\",\n \"body_text\": \"body_text\",\n \"captcha_widget_theme\": \"auto\",\n \"error\": \"error\",\n \"header\": \"header\",\n \"icons\": \"icons\",\n \"input_background\": \"input_background\",\n \"input_border\": \"input_border\",\n \"input_filled_text\": \"input_filled_text\",\n \"input_labels_placeholders\": \"input_labels_placeholders\",\n \"links_focused_components\": \"links_focused_components\",\n \"primary_button\": \"primary_button\",\n \"primary_button_label\": \"primary_button_label\",\n \"read_only_background\": \"read_only_background\",\n \"secondary_button_border\": \"secondary_button_border\",\n \"secondary_button_label\": \"secondary_button_label\",\n \"success\": \"success\",\n \"widget_background\": \"widget_background\",\n \"widget_border\": \"widget_border\"\n },\n \"displayName\": \"displayName\",\n \"fonts\": {\n \"body_text\": {\n \"bold\": true,\n \"size\": 1.1\n },\n \"buttons_text\": {\n \"bold\": true,\n \"size\": 1.1\n },\n \"font_url\": \"font_url\",\n \"input_labels\": {\n \"bold\": true,\n \"size\": 1.1\n },\n \"links\": {\n \"bold\": true,\n \"size\": 1.1\n },\n \"links_style\": \"normal\",\n \"reference_text_size\": 1.1,\n \"subtitle\": {\n \"bold\": true,\n \"size\": 1.1\n },\n \"title\": {\n \"bold\": true,\n \"size\": 1.1\n }\n },\n \"page_background\": {\n \"background_color\": \"background_color\",\n \"background_image_url\": \"background_image_url\",\n \"page_layout\": \"center\"\n },\n \"themeId\": \"themeId\",\n \"widget\": {\n \"header_text_alignment\": \"center\",\n \"logo_height\": 1.1,\n \"logo_position\": \"center\",\n \"logo_url\": \"logo_url\",\n \"social_buttons_layout\": \"bottom\"\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"91d16fa4-7e8b-4de2-aa78-061a5267295b","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"f102da1c-5323-41ec-b320-888d05f069b8","name":"Get branding theme - default","request":{"urlPathTemplate":"/branding/themes/{themeId}","method":"GET","pathParameters":{"themeId":{"equalTo":"themeId"}}},"response":{"status":200,"body":"{\n \"borders\": {\n \"button_border_radius\": 1.1,\n \"button_border_weight\": 1.1,\n \"buttons_style\": \"pill\",\n \"input_border_radius\": 1.1,\n \"input_border_weight\": 1.1,\n \"inputs_style\": \"pill\",\n \"show_widget_shadow\": true,\n \"widget_border_weight\": 1.1,\n \"widget_corner_radius\": 1.1\n },\n \"colors\": {\n \"base_focus_color\": \"base_focus_color\",\n \"base_hover_color\": \"base_hover_color\",\n \"body_text\": \"body_text\",\n \"captcha_widget_theme\": \"auto\",\n \"error\": \"error\",\n \"header\": \"header\",\n \"icons\": \"icons\",\n \"input_background\": \"input_background\",\n \"input_border\": \"input_border\",\n \"input_filled_text\": \"input_filled_text\",\n \"input_labels_placeholders\": \"input_labels_placeholders\",\n \"links_focused_components\": \"links_focused_components\",\n \"primary_button\": \"primary_button\",\n \"primary_button_label\": \"primary_button_label\",\n \"read_only_background\": \"read_only_background\",\n \"secondary_button_border\": \"secondary_button_border\",\n \"secondary_button_label\": \"secondary_button_label\",\n \"success\": \"success\",\n \"widget_background\": \"widget_background\",\n \"widget_border\": \"widget_border\"\n },\n \"displayName\": \"displayName\",\n \"fonts\": {\n \"body_text\": {\n \"bold\": true,\n \"size\": 1.1\n },\n \"buttons_text\": {\n \"bold\": true,\n \"size\": 1.1\n },\n \"font_url\": \"font_url\",\n \"input_labels\": {\n \"bold\": true,\n \"size\": 1.1\n },\n \"links\": {\n \"bold\": true,\n \"size\": 1.1\n },\n \"links_style\": \"normal\",\n \"reference_text_size\": 1.1,\n \"subtitle\": {\n \"bold\": true,\n \"size\": 1.1\n },\n \"title\": {\n \"bold\": true,\n \"size\": 1.1\n }\n },\n \"page_background\": {\n \"background_color\": \"background_color\",\n \"background_image_url\": \"background_image_url\",\n \"page_layout\": \"center\"\n },\n \"themeId\": \"themeId\",\n \"widget\": {\n \"header_text_alignment\": \"center\",\n \"logo_height\": 1.1,\n \"logo_position\": \"center\",\n \"logo_url\": \"logo_url\",\n \"social_buttons_layout\": \"bottom\"\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"f102da1c-5323-41ec-b320-888d05f069b8","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"215eeb29-68c9-4243-857e-d87a7c62795f","name":"Delete branding theme - default","request":{"urlPathTemplate":"/branding/themes/{themeId}","method":"DELETE","pathParameters":{"themeId":{"equalTo":"themeId"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"215eeb29-68c9-4243-857e-d87a7c62795f","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"2dbbd929-7e98-438f-8310-2500cb90f70c","name":"Update branding theme - default","request":{"urlPathTemplate":"/branding/themes/{themeId}","method":"PATCH","pathParameters":{"themeId":{"equalTo":"themeId"}}},"response":{"status":200,"body":"{\n \"borders\": {\n \"button_border_radius\": 1.1,\n \"button_border_weight\": 1.1,\n \"buttons_style\": \"pill\",\n \"input_border_radius\": 1.1,\n \"input_border_weight\": 1.1,\n \"inputs_style\": \"pill\",\n \"show_widget_shadow\": true,\n \"widget_border_weight\": 1.1,\n \"widget_corner_radius\": 1.1\n },\n \"colors\": {\n \"base_focus_color\": \"base_focus_color\",\n \"base_hover_color\": \"base_hover_color\",\n \"body_text\": \"body_text\",\n \"captcha_widget_theme\": \"auto\",\n \"error\": \"error\",\n \"header\": \"header\",\n \"icons\": \"icons\",\n \"input_background\": \"input_background\",\n \"input_border\": \"input_border\",\n \"input_filled_text\": \"input_filled_text\",\n \"input_labels_placeholders\": \"input_labels_placeholders\",\n \"links_focused_components\": \"links_focused_components\",\n \"primary_button\": \"primary_button\",\n \"primary_button_label\": \"primary_button_label\",\n \"read_only_background\": \"read_only_background\",\n \"secondary_button_border\": \"secondary_button_border\",\n \"secondary_button_label\": \"secondary_button_label\",\n \"success\": \"success\",\n \"widget_background\": \"widget_background\",\n \"widget_border\": \"widget_border\"\n },\n \"displayName\": \"displayName\",\n \"fonts\": {\n \"body_text\": {\n \"bold\": true,\n \"size\": 1.1\n },\n \"buttons_text\": {\n \"bold\": true,\n \"size\": 1.1\n },\n \"font_url\": \"font_url\",\n \"input_labels\": {\n \"bold\": true,\n \"size\": 1.1\n },\n \"links\": {\n \"bold\": true,\n \"size\": 1.1\n },\n \"links_style\": \"normal\",\n \"reference_text_size\": 1.1,\n \"subtitle\": {\n \"bold\": true,\n \"size\": 1.1\n },\n \"title\": {\n \"bold\": true,\n \"size\": 1.1\n }\n },\n \"page_background\": {\n \"background_color\": \"background_color\",\n \"background_image_url\": \"background_image_url\",\n \"page_layout\": \"center\"\n },\n \"themeId\": \"themeId\",\n \"widget\": {\n \"header_text_alignment\": \"center\",\n \"logo_height\": 1.1,\n \"logo_position\": \"center\",\n \"logo_url\": \"logo_url\",\n \"social_buttons_layout\": \"bottom\"\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"2dbbd929-7e98-438f-8310-2500cb90f70c","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"520b4b30-1317-42da-89bf-a0491d1694b6","name":"Get a list of phone providers - default","request":{"urlPathTemplate":"/branding/phone/providers","method":"GET"},"response":{"status":200,"body":"{\n \"providers\": [\n {\n \"id\": \"id\",\n \"tenant\": \"tenant\",\n \"name\": \"twilio\",\n \"channel\": \"phone\",\n \"disabled\": true,\n \"configuration\": {\n \"sid\": \"sid\",\n \"delivery_methods\": [\n \"text\"\n ]\n },\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"520b4b30-1317-42da-89bf-a0491d1694b6","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"be5761ff-7af6-40ca-95bb-4fdc3bf8eb00","name":"Configure the phone provider - default","request":{"urlPathTemplate":"/branding/phone/providers","method":"POST"},"response":{"status":201,"body":"{\n \"id\": \"id\",\n \"tenant\": \"tenant\",\n \"name\": \"twilio\",\n \"channel\": \"phone\",\n \"disabled\": true,\n \"configuration\": {\n \"default_from\": \"default_from\",\n \"mssid\": \"mssid\",\n \"sid\": \"sid\",\n \"delivery_methods\": [\n \"text\"\n ]\n },\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"be5761ff-7af6-40ca-95bb-4fdc3bf8eb00","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"8c639058-4844-47c5-8ad8-c0ccd33399bb","name":"Get a phone provider - default","request":{"urlPathTemplate":"/branding/phone/providers/{id}","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"tenant\": \"tenant\",\n \"name\": \"twilio\",\n \"channel\": \"phone\",\n \"disabled\": true,\n \"configuration\": {\n \"default_from\": \"default_from\",\n \"mssid\": \"mssid\",\n \"sid\": \"sid\",\n \"delivery_methods\": [\n \"text\"\n ]\n },\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"8c639058-4844-47c5-8ad8-c0ccd33399bb","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"a6175428-056a-47f4-b776-4dcf8260822c","name":"Deletes a Phone Provider - default","request":{"urlPathTemplate":"/branding/phone/providers/{id}","method":"DELETE","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"a6175428-056a-47f4-b776-4dcf8260822c","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"95edda2c-d9d9-4854-9130-044ebb441bd7","name":"Update the phone provider - default","request":{"urlPathTemplate":"/branding/phone/providers/{id}","method":"PATCH","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"tenant\": \"tenant\",\n \"name\": \"twilio\",\n \"channel\": \"phone\",\n \"disabled\": true,\n \"configuration\": {\n \"default_from\": \"default_from\",\n \"mssid\": \"mssid\",\n \"sid\": \"sid\",\n \"delivery_methods\": [\n \"text\"\n ]\n },\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"95edda2c-d9d9-4854-9130-044ebb441bd7","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"eced0fdd-3915-430a-8c28-1161ab6a3313","name":"Send a test phone notification for the configured provider - default","request":{"urlPathTemplate":"/branding/phone/providers/{id}/try","method":"POST","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":202,"body":"{\n \"code\": 1.1,\n \"message\": \"message\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"eced0fdd-3915-430a-8c28-1161ab6a3313","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"927ee9f5-34f7-4b77-83bf-5eb0b1a61e2d","name":"Get a list of phone notification templates - default","request":{"urlPathTemplate":"/branding/phone/templates","method":"GET"},"response":{"status":200,"body":"{\n \"templates\": [\n {\n \"id\": \"id\",\n \"channel\": \"channel\",\n \"customizable\": true,\n \"tenant\": \"tenant\",\n \"content\": {},\n \"type\": \"otp_verify\",\n \"disabled\": true\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"927ee9f5-34f7-4b77-83bf-5eb0b1a61e2d","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"300d3eb8-52bc-4001-8af4-a0594f4242d9","name":"Create a phone notification template - default","request":{"urlPathTemplate":"/branding/phone/templates","method":"POST"},"response":{"status":201,"body":"{\n \"id\": \"id\",\n \"channel\": \"channel\",\n \"customizable\": true,\n \"tenant\": \"tenant\",\n \"content\": {\n \"syntax\": \"syntax\",\n \"from\": \"from\",\n \"body\": {\n \"text\": \"text\",\n \"voice\": \"voice\"\n }\n },\n \"type\": \"otp_verify\",\n \"disabled\": true\n}","headers":{"Content-Type":"application/json"}},"uuid":"300d3eb8-52bc-4001-8af4-a0594f4242d9","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"76aa966c-5fbe-4a23-a2a4-7cbf13eb043c","name":"Get a phone notification template - default","request":{"urlPathTemplate":"/branding/phone/templates/{id}","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"channel\": \"channel\",\n \"customizable\": true,\n \"tenant\": \"tenant\",\n \"content\": {\n \"syntax\": \"syntax\",\n \"from\": \"from\",\n \"body\": {\n \"text\": \"text\",\n \"voice\": \"voice\"\n }\n },\n \"type\": \"otp_verify\",\n \"disabled\": true\n}","headers":{"Content-Type":"application/json"}},"uuid":"76aa966c-5fbe-4a23-a2a4-7cbf13eb043c","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"97c15733-1abd-4f5e-8eda-3dc1b372e0ec","name":"Delete a phone notification template - default","request":{"urlPathTemplate":"/branding/phone/templates/{id}","method":"DELETE","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"97c15733-1abd-4f5e-8eda-3dc1b372e0ec","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"2e4c517e-f1d0-4252-bfea-7b6342825fba","name":"Update a phone notification template - default","request":{"urlPathTemplate":"/branding/phone/templates/{id}","method":"PATCH","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"channel\": \"channel\",\n \"customizable\": true,\n \"tenant\": \"tenant\",\n \"content\": {\n \"syntax\": \"syntax\",\n \"from\": \"from\",\n \"body\": {\n \"text\": \"text\",\n \"voice\": \"voice\"\n }\n },\n \"type\": \"otp_verify\",\n \"disabled\": true\n}","headers":{"Content-Type":"application/json"}},"uuid":"2e4c517e-f1d0-4252-bfea-7b6342825fba","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"7d7a4ccb-4b23-4fb0-813d-9f0eef8f6ed4","name":"Resets a phone notification template values - default","request":{"urlPathTemplate":"/branding/phone/templates/{id}/reset","method":"PATCH","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"id\": \"x\",\n \"channel\": \"channel\",\n \"customizable\": true,\n \"tenant\": \"x\",\n \"content\": {\n \"syntax\": \"syntax\",\n \"from\": \"x\",\n \"body\": {\n \"text\": \"x\",\n \"voice\": \"x\"\n }\n },\n \"type\": \"otp_verify\",\n \"disabled\": true\n}","headers":{"Content-Type":"application/json"}},"uuid":"7d7a4ccb-4b23-4fb0-813d-9f0eef8f6ed4","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"0d9ba799-020f-40db-86d6-08de485ad618","name":"Send a test phone notification for the configured template - default","request":{"urlPathTemplate":"/branding/phone/templates/{id}/try","method":"POST","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":202,"body":"{\n \"message\": \"message\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"0d9ba799-020f-40db-86d6-08de485ad618","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"f3b442cc-02a6-4c76-9a8f-3c3bd4c6efde","name":"Get the organizations associated to a client grant - default","request":{"urlPathTemplate":"/client-grants/{id}/organizations","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"next\": \"next\",\n \"organizations\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"display_name\": \"display_name\",\n \"token_quota\": {\n \"client_credentials\": {}\n }\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"f3b442cc-02a6-4c76-9a8f-3c3bd4c6efde","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"318739d6-2060-4406-9548-e1dca9fc9306","name":"Get client credentials - default","request":{"urlPathTemplate":"/clients/{client_id}/credentials","method":"GET","pathParameters":{"client_id":{"equalTo":"client_id"}}},"response":{"status":200,"body":"[\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"kid\": \"kid\",\n \"alg\": \"RS256\",\n \"credential_type\": \"public_key\",\n \"subject_dn\": \"subject_dn\",\n \"thumbprint_sha256\": \"thumbprint_sha256\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"expires_at\": \"2024-01-15T09:30:00Z\"\n }\n]","headers":{"Content-Type":"application/json"}},"uuid":"318739d6-2060-4406-9548-e1dca9fc9306","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"e1b4ce2a-40cd-428d-98c4-4fe2c4dfb358","name":"Create a client credential - default","request":{"urlPathTemplate":"/clients/{client_id}/credentials","method":"POST","pathParameters":{"client_id":{"equalTo":"client_id"}}},"response":{"status":201,"body":"{\n \"id\": \"id\",\n \"name\": \"name\",\n \"kid\": \"kid\",\n \"alg\": \"RS256\",\n \"credential_type\": \"public_key\",\n \"subject_dn\": \"subject_dn\",\n \"thumbprint_sha256\": \"thumbprint_sha256\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"expires_at\": \"2024-01-15T09:30:00Z\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"e1b4ce2a-40cd-428d-98c4-4fe2c4dfb358","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"84fb49da-5fa4-4f09-8176-cf14ff179829","name":"Get client credential details - default","request":{"urlPathTemplate":"/clients/{client_id}/credentials/{credential_id}","method":"GET","pathParameters":{"client_id":{"equalTo":"client_id"},"credential_id":{"equalTo":"credential_id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"name\": \"name\",\n \"kid\": \"kid\",\n \"alg\": \"RS256\",\n \"credential_type\": \"public_key\",\n \"subject_dn\": \"subject_dn\",\n \"thumbprint_sha256\": \"thumbprint_sha256\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"expires_at\": \"2024-01-15T09:30:00Z\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"84fb49da-5fa4-4f09-8176-cf14ff179829","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"ac24c006-0300-485b-b881-9bfd0a38c4aa","name":"Delete a client credential - default","request":{"urlPathTemplate":"/clients/{client_id}/credentials/{credential_id}","method":"DELETE","pathParameters":{"client_id":{"equalTo":"client_id"},"credential_id":{"equalTo":"credential_id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"ac24c006-0300-485b-b881-9bfd0a38c4aa","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"c820cce1-37c3-4aa6-8700-119563b70d23","name":"Update a client credential - default","request":{"urlPathTemplate":"/clients/{client_id}/credentials/{credential_id}","method":"PATCH","pathParameters":{"client_id":{"equalTo":"client_id"},"credential_id":{"equalTo":"credential_id"}}},"response":{"status":201,"body":"{\n \"id\": \"id\",\n \"name\": \"name\",\n \"kid\": \"kid\",\n \"alg\": \"RS256\",\n \"credential_type\": \"public_key\",\n \"subject_dn\": \"subject_dn\",\n \"thumbprint_sha256\": \"thumbprint_sha256\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"expires_at\": \"2024-01-15T09:30:00Z\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"c820cce1-37c3-4aa6-8700-119563b70d23","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"324ddd4f-5b97-4bf3-8c51-91ad2c931c47","name":"Get enabled connections for a client - default","request":{"urlPathTemplate":"/clients/{id}/connections","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"connections\": [\n {\n \"name\": \"name\",\n \"display_name\": \"display_name\",\n \"options\": {\n \"key\": \"value\"\n },\n \"id\": \"id\",\n \"strategy\": \"strategy\",\n \"realms\": [\n \"realms\"\n ],\n \"is_domain_connection\": true,\n \"show_as_button\": true,\n \"authentication\": {\n \"active\": true\n },\n \"connected_accounts\": {\n \"active\": true\n }\n }\n ],\n \"next\": \"next\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"324ddd4f-5b97-4bf3-8c51-91ad2c931c47","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"7960ea97-24a9-4c8e-ad42-2dcb8c0215bc","name":"Get a list of directory provisioning configurations - default","request":{"urlPathTemplate":"/connections-directory-provisionings","method":"GET"},"response":{"status":200,"body":"{\n \"directory_provisionings\": [\n {\n \"connection_id\": \"connection_id\",\n \"connection_name\": \"connection_name\",\n \"strategy\": \"strategy\",\n \"mapping\": [\n {\n \"auth0\": \"auth0\",\n \"idp\": \"idp\"\n }\n ],\n \"synchronize_automatically\": true,\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"last_synchronization_at\": \"2024-01-15T09:30:00Z\",\n \"last_synchronization_status\": \"last_synchronization_status\",\n \"last_synchronization_error\": \"last_synchronization_error\"\n }\n ],\n \"next\": \"next\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"7960ea97-24a9-4c8e-ad42-2dcb8c0215bc","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"feeddf21-212e-4dbc-a0eb-4a922ec0341b","name":"Get a directory provisioning configuration - default","request":{"urlPathTemplate":"/connections/{id}/directory-provisioning","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"connection_id\": \"connection_id\",\n \"connection_name\": \"connection_name\",\n \"strategy\": \"strategy\",\n \"mapping\": [\n {\n \"auth0\": \"auth0\",\n \"idp\": \"idp\"\n }\n ],\n \"synchronize_automatically\": true,\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"last_synchronization_at\": \"2024-01-15T09:30:00Z\",\n \"last_synchronization_status\": \"last_synchronization_status\",\n \"last_synchronization_error\": \"last_synchronization_error\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"feeddf21-212e-4dbc-a0eb-4a922ec0341b","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"3cfd3977-6fa4-44df-bdf3-78fee867315a","name":"Create a directory provisioning configuration - default","request":{"urlPathTemplate":"/connections/{id}/directory-provisioning","method":"POST","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":201,"body":"{\n \"connection_id\": \"connection_id\",\n \"connection_name\": \"connection_name\",\n \"strategy\": \"strategy\",\n \"mapping\": [\n {\n \"auth0\": \"auth0\",\n \"idp\": \"idp\"\n }\n ],\n \"synchronize_automatically\": true,\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"last_synchronization_at\": \"2024-01-15T09:30:00Z\",\n \"last_synchronization_status\": \"last_synchronization_status\",\n \"last_synchronization_error\": \"last_synchronization_error\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"3cfd3977-6fa4-44df-bdf3-78fee867315a","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"2ee66349-1719-45a8-bbbc-65b8e4e783a3","name":"Delete a directory provisioning configuration - default","request":{"urlPathTemplate":"/connections/{id}/directory-provisioning","method":"DELETE","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"2ee66349-1719-45a8-bbbc-65b8e4e783a3","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"738a6f0e-a176-48c6-ac5b-1bcc67bc8656","name":"Patch a directory provisioning configuration - default","request":{"urlPathTemplate":"/connections/{id}/directory-provisioning","method":"PATCH","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"connection_id\": \"connection_id\",\n \"connection_name\": \"connection_name\",\n \"strategy\": \"strategy\",\n \"mapping\": [\n {\n \"auth0\": \"auth0\",\n \"idp\": \"idp\"\n }\n ],\n \"synchronize_automatically\": true,\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"last_synchronization_at\": \"2024-01-15T09:30:00Z\",\n \"last_synchronization_status\": \"last_synchronization_status\",\n \"last_synchronization_error\": \"last_synchronization_error\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"738a6f0e-a176-48c6-ac5b-1bcc67bc8656","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"181a029d-c4d1-4386-8c0d-4e517aea7579","name":"Get a connection's default directory provisioning attribute mapping - default","request":{"urlPathTemplate":"/connections/{id}/directory-provisioning/default-mapping","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"mapping\": [\n {\n \"auth0\": \"auth0\",\n \"idp\": \"idp\"\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"181a029d-c4d1-4386-8c0d-4e517aea7579","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"4cda0987-d608-47ba-b465-245ecfaabb90","name":"Get enabled clients for a connection - default","request":{"urlPathTemplate":"/connections/{id}/clients","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"clients\": [\n {\n \"client_id\": \"client_id\"\n }\n ],\n \"next\": \"next\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"4cda0987-d608-47ba-b465-245ecfaabb90","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"0c56da15-4d9a-470c-9fcd-64f2c04dd3d3","name":"Update enabled clients for a connection - default","request":{"urlPathTemplate":"/connections/{id}/clients","method":"PATCH","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"0c56da15-4d9a-470c-9fcd-64f2c04dd3d3","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"bf72570e-1315-4eaa-8145-3f400d3eccf0","name":"Get connection keys - default","request":{"urlPathTemplate":"/connections/{id}/keys","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"[\n {\n \"kid\": \"kid\",\n \"cert\": \"cert\",\n \"pkcs\": \"pkcs\",\n \"current\": true,\n \"next\": true,\n \"previous\": true,\n \"current_since\": \"current_since\",\n \"fingerprint\": \"fingerprint\",\n \"thumbprint\": \"thumbprint\",\n \"algorithm\": \"algorithm\",\n \"key_use\": \"encryption\",\n \"subject_dn\": \"subject_dn\"\n }\n]","headers":{"Content-Type":"application/json"}},"uuid":"bf72570e-1315-4eaa-8145-3f400d3eccf0","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"b11a1483-99df-4d6a-ace7-cb55bf35ba34","name":"Rotate connection keys - default","request":{"urlPathTemplate":"/connections/{id}/keys/rotate","method":"POST","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":201,"body":"{\n \"kid\": \"kid\",\n \"cert\": \"cert\",\n \"pkcs\": \"pkcs\",\n \"next\": true,\n \"fingerprint\": \"fingerprint\",\n \"thumbprint\": \"thumbprint\",\n \"algorithm\": \"algorithm\",\n \"key_use\": \"encryption\",\n \"subject_dn\": \"subject_dn\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"b11a1483-99df-4d6a-ace7-cb55bf35ba34","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"30a0fe58-a2bc-4645-9d9e-c1ca9f8c3e2f","name":"Get a connection's SCIM configuration - default","request":{"urlPathTemplate":"/connections/{id}/scim-configuration","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"connection_id\": \"connection_id\",\n \"connection_name\": \"connection_name\",\n \"strategy\": \"strategy\",\n \"tenant_name\": \"tenant_name\",\n \"user_id_attribute\": \"user_id_attribute\",\n \"mapping\": [\n {\n \"auth0\": \"auth0\",\n \"scim\": \"scim\"\n }\n ],\n \"created_at\": \"created_at\",\n \"updated_on\": \"updated_on\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"30a0fe58-a2bc-4645-9d9e-c1ca9f8c3e2f","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"45f92e80-8b92-4937-b29b-76fac22cf624","name":"Create a SCIM configuration - default","request":{"urlPathTemplate":"/connections/{id}/scim-configuration","method":"POST","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":201,"body":"{\n \"connection_id\": \"connection_id\",\n \"connection_name\": \"connection_name\",\n \"strategy\": \"strategy\",\n \"tenant_name\": \"tenant_name\",\n \"user_id_attribute\": \"user_id_attribute\",\n \"mapping\": [\n {\n \"auth0\": \"auth0\",\n \"scim\": \"scim\"\n }\n ],\n \"created_at\": \"created_at\",\n \"updated_on\": \"updated_on\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"45f92e80-8b92-4937-b29b-76fac22cf624","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"c9239c3d-f534-4c1d-a05e-64c0785f569a","name":"Delete a connection's SCIM configuration - default","request":{"urlPathTemplate":"/connections/{id}/scim-configuration","method":"DELETE","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"c9239c3d-f534-4c1d-a05e-64c0785f569a","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"d298cb6d-3c6a-4510-a78c-556fad17fd65","name":"Patch a connection's SCIM configuration - default","request":{"urlPathTemplate":"/connections/{id}/scim-configuration","method":"PATCH","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"connection_id\": \"connection_id\",\n \"connection_name\": \"connection_name\",\n \"strategy\": \"strategy\",\n \"tenant_name\": \"tenant_name\",\n \"user_id_attribute\": \"user_id_attribute\",\n \"mapping\": [\n {\n \"auth0\": \"auth0\",\n \"scim\": \"scim\"\n }\n ],\n \"created_at\": \"created_at\",\n \"updated_on\": \"updated_on\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"d298cb6d-3c6a-4510-a78c-556fad17fd65","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"4cc31df0-e4df-450c-9fac-16b9c893e9fa","name":"Get a connection's default SCIM mapping - default","request":{"urlPathTemplate":"/connections/{id}/scim-configuration/default-mapping","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"mapping\": [\n {\n \"auth0\": \"auth0\",\n \"scim\": \"scim\"\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"4cc31df0-e4df-450c-9fac-16b9c893e9fa","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"1d0cb62f-340c-4168-bd90-0fa1ba032e3a","name":"Delete a connection user - default","request":{"urlPathTemplate":"/connections/{id}/users","method":"DELETE","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"1d0cb62f-340c-4168-bd90-0fa1ba032e3a","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"175c0550-405b-4cd6-b498-6501a695ed33","name":"Request an on-demand synchronization of the directory - default","request":{"urlPathTemplate":"/connections/{id}/directory-provisioning/synchronizations","method":"POST","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":201,"body":"{\n \"connection_id\": \"connection_id\",\n \"synchronization_id\": \"synchronization_id\",\n \"status\": \"status\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"175c0550-405b-4cd6-b498-6501a695ed33","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"58eab082-4eda-42df-9764-ed787b38df1e","name":"Get a connection's SCIM tokens - default","request":{"urlPathTemplate":"/connections/{id}/scim-configuration/tokens","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"[\n {\n \"token_id\": \"token_id\",\n \"scopes\": [\n \"scopes\"\n ],\n \"created_at\": \"created_at\",\n \"valid_until\": \"valid_until\",\n \"last_used_at\": \"last_used_at\"\n }\n]","headers":{"Content-Type":"application/json"}},"uuid":"58eab082-4eda-42df-9764-ed787b38df1e","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"b55da7ed-453d-4799-b895-796f72020abb","name":"Create a SCIM Token - default","request":{"urlPathTemplate":"/connections/{id}/scim-configuration/tokens","method":"POST","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":201,"body":"{\n \"token_id\": \"token_id\",\n \"token\": \"token\",\n \"scopes\": [\n \"scopes\"\n ],\n \"created_at\": \"created_at\",\n \"valid_until\": \"valid_until\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"b55da7ed-453d-4799-b895-796f72020abb","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"e0eaabd0-7ebe-4b89-90e6-f0c7b43be7c9","name":"Delete a connection's SCIM token - default","request":{"urlPathTemplate":"/connections/{id}/scim-configuration/tokens/{tokenId}","method":"DELETE","pathParameters":{"id":{"equalTo":"id"},"tokenId":{"equalTo":"tokenId"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"e0eaabd0-7ebe-4b89-90e6-f0c7b43be7c9","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"53da06f4-1ed4-4e51-8bb8-0ce04e219464","name":"Get email provider - default","request":{"urlPathTemplate":"/emails/provider","method":"GET"},"response":{"status":200,"body":"{\n \"name\": \"name\",\n \"enabled\": true,\n \"default_from_address\": \"default_from_address\",\n \"credentials\": {\n \"api_user\": \"api_user\",\n \"region\": \"region\",\n \"smtp_host\": \"smtp_host\",\n \"smtp_port\": 1,\n \"smtp_user\": \"smtp_user\"\n },\n \"settings\": {\n \"key\": \"value\"\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"53da06f4-1ed4-4e51-8bb8-0ce04e219464","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"d1a0f535-378f-4200-865f-23ca6cf50b9d","name":"Configure email provider - default","request":{"urlPathTemplate":"/emails/provider","method":"POST"},"response":{"status":201,"body":"{\n \"name\": \"name\",\n \"enabled\": true,\n \"default_from_address\": \"default_from_address\",\n \"credentials\": {\n \"api_user\": \"api_user\",\n \"region\": \"region\",\n \"smtp_host\": \"smtp_host\",\n \"smtp_port\": 1,\n \"smtp_user\": \"smtp_user\"\n },\n \"settings\": {\n \"key\": \"value\"\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"d1a0f535-378f-4200-865f-23ca6cf50b9d","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"a57ca053-0cf9-416a-9cb3-144e7c5bd4d5","name":"Delete email provider - default","request":{"urlPathTemplate":"/emails/provider","method":"DELETE"},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"a57ca053-0cf9-416a-9cb3-144e7c5bd4d5","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"36f2813e-a299-41fd-a6d6-54938ea37a15","name":"Update email provider - default","request":{"urlPathTemplate":"/emails/provider","method":"PATCH"},"response":{"status":200,"body":"{\n \"name\": \"name\",\n \"enabled\": true,\n \"default_from_address\": \"default_from_address\",\n \"credentials\": {\n \"api_user\": \"api_user\",\n \"region\": \"region\",\n \"smtp_host\": \"smtp_host\",\n \"smtp_port\": 1,\n \"smtp_user\": \"smtp_user\"\n },\n \"settings\": {\n \"key\": \"value\"\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"36f2813e-a299-41fd-a6d6-54938ea37a15","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"c3751490-b492-4376-9596-bd7d6f5e8443","name":"Get this event stream's delivery history - default","request":{"urlPathTemplate":"/event-streams/{id}/deliveries","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"[\n {\n \"id\": \"id\",\n \"event_stream_id\": \"event_stream_id\",\n \"status\": \"failed\",\n \"event_type\": \"user.created\",\n \"attempts\": [\n {\n \"status\": \"failed\",\n \"timestamp\": \"2024-01-15T09:30:00Z\"\n }\n ],\n \"event\": {\n \"id\": \"id\",\n \"source\": \"source\",\n \"specversion\": \"specversion\",\n \"type\": \"type\",\n \"time\": \"2024-01-15T09:30:00Z\",\n \"data\": \"data\"\n }\n }\n]","headers":{"Content-Type":"application/json"}},"uuid":"c3751490-b492-4376-9596-bd7d6f5e8443","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"93fa5cb1-a92c-4b20-8483-814c91175496","name":"Get a specific event's delivery history - default","request":{"urlPathTemplate":"/event-streams/{id}/deliveries/{event_id}","method":"GET","pathParameters":{"id":{"equalTo":"id"},"event_id":{"equalTo":"event_id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"event_stream_id\": \"event_stream_id\",\n \"status\": \"failed\",\n \"event_type\": \"user.created\",\n \"attempts\": [\n {\n \"status\": \"failed\",\n \"timestamp\": \"2024-01-15T09:30:00Z\",\n \"error_message\": \"error_message\"\n }\n ],\n \"event\": {\n \"id\": \"id\",\n \"source\": \"source\",\n \"specversion\": \"specversion\",\n \"type\": \"type\",\n \"time\": \"2024-01-15T09:30:00Z\",\n \"data\": \"data\"\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"93fa5cb1-a92c-4b20-8483-814c91175496","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"25856d60-9bad-4777-b7f2-7b5e2656b133","name":"Redeliver failed events - default","request":{"urlPathTemplate":"/event-streams/{id}/redeliver","method":"POST","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":202,"body":"{\n \"date_from\": \"2024-01-15T09:30:00Z\",\n \"date_to\": \"2024-01-15T09:30:00Z\",\n \"statuses\": [\n \"failed\"\n ],\n \"event_types\": [\n \"user.created\"\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"25856d60-9bad-4777-b7f2-7b5e2656b133","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"05d8b619-8b8d-41ea-b60f-bea3298d5e33","name":"Redeliver a single failed event by ID - default","request":{"urlPathTemplate":"/event-streams/{id}/redeliver/{event_id}","method":"POST","pathParameters":{"id":{"equalTo":"id"},"event_id":{"equalTo":"event_id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"05d8b619-8b8d-41ea-b60f-bea3298d5e33","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"62d121a4-93bc-4281-8659-06708ac8d781","name":"Get flow executions - default","request":{"urlPathTemplate":"/flows/{flow_id}/executions","method":"GET","pathParameters":{"flow_id":{"equalTo":"flow_id"}}},"response":{"status":200,"body":"{\n \"next\": \"next\",\n \"executions\": [\n {\n \"id\": \"id\",\n \"trace_id\": \"trace_id\",\n \"journey_id\": \"journey_id\",\n \"status\": \"status\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"started_at\": \"2024-01-15T09:30:00Z\",\n \"ended_at\": \"2024-01-15T09:30:00Z\"\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"62d121a4-93bc-4281-8659-06708ac8d781","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"3151ee0d-c1ca-45b6-9f72-5b4138b4b90d","name":"Get a flow execution - default","request":{"urlPathTemplate":"/flows/{flow_id}/executions/{execution_id}","method":"GET","pathParameters":{"flow_id":{"equalTo":"flow_id"},"execution_id":{"equalTo":"execution_id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"trace_id\": \"trace_id\",\n \"journey_id\": \"journey_id\",\n \"status\": \"status\",\n \"debug\": {\n \"key\": \"value\"\n },\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"started_at\": \"2024-01-15T09:30:00Z\",\n \"ended_at\": \"2024-01-15T09:30:00Z\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"3151ee0d-c1ca-45b6-9f72-5b4138b4b90d","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"9f81cb02-c44f-4e52-a1a3-cc26c0ae01a5","name":"Delete a flow execution - default","request":{"urlPathTemplate":"/flows/{flow_id}/executions/{execution_id}","method":"DELETE","pathParameters":{"flow_id":{"equalTo":"flow_id"},"execution_id":{"equalTo":"execution_id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"9f81cb02-c44f-4e52-a1a3-cc26c0ae01a5","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"ee40f82d-4bce-4a5a-8cbb-bb5eda1909ee","name":"Get Flows Vault connection list - default","request":{"urlPathTemplate":"/flows/vault/connections","method":"GET"},"response":{"status":200,"body":"{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"total\": 1.1,\n \"connections\": [\n {\n \"id\": \"id\",\n \"app_id\": \"app_id\",\n \"name\": \"name\",\n \"account_name\": \"account_name\",\n \"ready\": true,\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"refreshed_at\": \"2024-01-15T09:30:00Z\",\n \"fingerprint\": \"fingerprint\"\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"ee40f82d-4bce-4a5a-8cbb-bb5eda1909ee","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"b56d64da-174f-4d7e-86e7-3240fb1a8174","name":"Create a Flows Vault connection - default","request":{"urlPathTemplate":"/flows/vault/connections","method":"POST"},"response":{"status":201,"body":"{\n \"id\": \"id\",\n \"app_id\": \"app_id\",\n \"environment\": \"environment\",\n \"name\": \"name\",\n \"account_name\": \"account_name\",\n \"ready\": true,\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"refreshed_at\": \"2024-01-15T09:30:00Z\",\n \"fingerprint\": \"fingerprint\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"b56d64da-174f-4d7e-86e7-3240fb1a8174","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"6cc30ec0-8e30-44ab-b033-e2db27abc3ac","name":"Get a Flows Vault connection - default","request":{"urlPathTemplate":"/flows/vault/connections/{id}","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"app_id\": \"app_id\",\n \"environment\": \"environment\",\n \"name\": \"name\",\n \"account_name\": \"account_name\",\n \"ready\": true,\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"refreshed_at\": \"2024-01-15T09:30:00Z\",\n \"fingerprint\": \"fingerprint\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"6cc30ec0-8e30-44ab-b033-e2db27abc3ac","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"97e2e46c-2af3-4cf0-b6df-e09cd0f4151a","name":"Delete a Flows Vault connection - default","request":{"urlPathTemplate":"/flows/vault/connections/{id}","method":"DELETE","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"97e2e46c-2af3-4cf0-b6df-e09cd0f4151a","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"cdbf8062-2c13-4861-9280-e1ef2af24823","name":"Update a Flows Vault connection - default","request":{"urlPathTemplate":"/flows/vault/connections/{id}","method":"PATCH","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"app_id\": \"app_id\",\n \"environment\": \"environment\",\n \"name\": \"name\",\n \"account_name\": \"account_name\",\n \"ready\": true,\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"refreshed_at\": \"2024-01-15T09:30:00Z\",\n \"fingerprint\": \"fingerprint\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"cdbf8062-2c13-4861-9280-e1ef2af24823","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"a79f7c93-ff7f-4b2e-8d07-41cdddf27eeb","name":"Get Group Members - default","request":{"urlPathTemplate":"/groups/{id}/members","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"members\": [\n {\n \"id\": \"id\",\n \"member_type\": \"user\",\n \"type\": \"connection\",\n \"connection_id\": \"connection_id\",\n \"created_at\": \"2024-01-15T09:30:00Z\"\n }\n ],\n \"next\": \"next\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"a79f7c93-ff7f-4b2e-8d07-41cdddf27eeb","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"a2982e98-d69b-4815-a50d-57f1267374d8","name":"Create a multi-factor authentication enrollment ticket - default","request":{"urlPathTemplate":"/guardian/enrollments/ticket","method":"POST"},"response":{"status":200,"body":"{\n \"ticket_id\": \"ticket_id\",\n \"ticket_url\": \"ticket_url\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"a2982e98-d69b-4815-a50d-57f1267374d8","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"029d8a45-40e7-4697-b2da-a0c12a4d3895","name":"Get a multi-factor authentication enrollment - default","request":{"urlPathTemplate":"/guardian/enrollments/{id}","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"status\": \"pending\",\n \"name\": \"name\",\n \"identifier\": \"identifier\",\n \"phone_number\": \"phone_number\",\n \"enrolled_at\": \"enrolled_at\",\n \"last_auth\": \"last_auth\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"029d8a45-40e7-4697-b2da-a0c12a4d3895","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"d28abba4-f155-4fa4-ba9b-077e8ea016ad","name":"Delete a multi-factor authentication enrollment - default","request":{"urlPathTemplate":"/guardian/enrollments/{id}","method":"DELETE","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"d28abba4-f155-4fa4-ba9b-077e8ea016ad","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"12377456-a682-4cdc-b63d-41a188b3ce32","name":"Get Factors and multi-factor authentication details - default","request":{"urlPathTemplate":"/guardian/factors","method":"GET"},"response":{"status":200,"body":"[\n {\n \"enabled\": true,\n \"trial_expired\": true,\n \"name\": \"push-notification\"\n }\n]","headers":{"Content-Type":"application/json"}},"uuid":"12377456-a682-4cdc-b63d-41a188b3ce32","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"93c9905e-4981-4cb3-a7b0-026dab1704d6","name":"Update multi-factor authentication type - default","request":{"urlPathTemplate":"/guardian/factors/{name}","method":"PUT","pathParameters":{"name":{"equalTo":"push-notification"}}},"response":{"status":200,"body":"{\n \"enabled\": true\n}","headers":{"Content-Type":"application/json"}},"uuid":"93c9905e-4981-4cb3-a7b0-026dab1704d6","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"e47dd04a-f3a3-409a-a301-7732f16f3bec","name":"Get multi-factor authentication policies - default","request":{"urlPathTemplate":"/guardian/policies","method":"GET"},"response":{"status":200,"body":"[\n \"all-applications\"\n]","headers":{"Content-Type":"application/json"}},"uuid":"e47dd04a-f3a3-409a-a301-7732f16f3bec","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"8ee26dda-4638-4269-9b14-59f2907ef28b","name":"Update multi-factor authentication policies - default","request":{"urlPathTemplate":"/guardian/policies","method":"PUT"},"response":{"status":200,"body":"[\n \"all-applications\"\n]","headers":{"Content-Type":"application/json"}},"uuid":"8ee26dda-4638-4269-9b14-59f2907ef28b","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"ed435b3e-66b6-47b0-882f-08d926944cad","name":"Get Enabled Phone Factors - default","request":{"urlPathTemplate":"/guardian/factors/phone/message-types","method":"GET"},"response":{"status":200,"body":"{\n \"message_types\": [\n \"sms\"\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"ed435b3e-66b6-47b0-882f-08d926944cad","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"92b96146-6175-4994-87af-ac137f73595d","name":"Update the Enabled Phone Factors - default","request":{"urlPathTemplate":"/guardian/factors/phone/message-types","method":"PUT"},"response":{"status":200,"body":"{\n \"message_types\": [\n \"sms\"\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"92b96146-6175-4994-87af-ac137f73595d","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"bd1421c2-3dbe-4603-b96c-02e53872498b","name":"Get Twilio configuration - default","request":{"urlPathTemplate":"/guardian/factors/phone/providers/twilio","method":"GET"},"response":{"status":200,"body":"{\n \"from\": \"from\",\n \"messaging_service_sid\": \"messaging_service_sid\",\n \"auth_token\": \"auth_token\",\n \"sid\": \"sid\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"bd1421c2-3dbe-4603-b96c-02e53872498b","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"92ac09b5-25bb-4b34-8fad-73bbd1a12984","name":"Update Twilio configuration - default","request":{"urlPathTemplate":"/guardian/factors/phone/providers/twilio","method":"PUT"},"response":{"status":200,"body":"{\n \"from\": \"from\",\n \"messaging_service_sid\": \"messaging_service_sid\",\n \"auth_token\": \"auth_token\",\n \"sid\": \"sid\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"92ac09b5-25bb-4b34-8fad-73bbd1a12984","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"5c310715-a914-4928-9142-141be90dd71e","name":"Get phone provider configuration - default","request":{"urlPathTemplate":"/guardian/factors/phone/selected-provider","method":"GET"},"response":{"status":200,"body":"{\n \"provider\": \"auth0\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"5c310715-a914-4928-9142-141be90dd71e","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"555dfcb1-93af-4dcf-8241-1114028c32b4","name":"Update phone provider configuration - default","request":{"urlPathTemplate":"/guardian/factors/phone/selected-provider","method":"PUT"},"response":{"status":200,"body":"{\n \"provider\": \"auth0\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"555dfcb1-93af-4dcf-8241-1114028c32b4","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"0e83b2df-19bf-4909-b1c4-0522a7f929a3","name":"Get Enrollment and Verification Phone Templates - default","request":{"urlPathTemplate":"/guardian/factors/phone/templates","method":"GET"},"response":{"status":200,"body":"{\n \"enrollment_message\": \"enrollment_message\",\n \"verification_message\": \"verification_message\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"0e83b2df-19bf-4909-b1c4-0522a7f929a3","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"d55307be-4c05-42f6-888f-c5a6ee1d2ae2","name":"Update Enrollment and Verification Phone Templates - default","request":{"urlPathTemplate":"/guardian/factors/phone/templates","method":"PUT"},"response":{"status":200,"body":"{\n \"enrollment_message\": \"enrollment_message\",\n \"verification_message\": \"verification_message\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"d55307be-4c05-42f6-888f-c5a6ee1d2ae2","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"11ed0ad4-9dc8-48ea-bc9c-9824179b9f32","name":"Get APNS push notification configuration - default","request":{"urlPathTemplate":"/guardian/factors/push-notification/providers/apns","method":"GET"},"response":{"status":200,"body":"{\n \"bundle_id\": \"bundle_id\",\n \"sandbox\": true,\n \"enabled\": true\n}","headers":{"Content-Type":"application/json"}},"uuid":"11ed0ad4-9dc8-48ea-bc9c-9824179b9f32","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"e3a3549b-eb87-4309-aa03-a9f08b1b17a7","name":"Update APNS configuration - default","request":{"urlPathTemplate":"/guardian/factors/push-notification/providers/apns","method":"PUT"},"response":{"status":200,"body":"{\n \"sandbox\": true,\n \"bundle_id\": \"bundle_id\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"e3a3549b-eb87-4309-aa03-a9f08b1b17a7","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"177fd0d5-49f0-4b48-8c6a-6d7dfc8e7784","name":"Update APNs provider configuration - default","request":{"urlPathTemplate":"/guardian/factors/push-notification/providers/apns","method":"PATCH"},"response":{"status":200,"body":"{\n \"sandbox\": true,\n \"bundle_id\": \"bundle_id\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"177fd0d5-49f0-4b48-8c6a-6d7dfc8e7784","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"91658483-7866-4a3d-b63b-0c7dea839dbe","name":"Updates FCM configuration - default","request":{"urlPathTemplate":"/guardian/factors/push-notification/providers/fcm","method":"PUT"},"response":{"status":200,"body":"{\n \"key\": \"value\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"91658483-7866-4a3d-b63b-0c7dea839dbe","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"96fb85cc-6ac7-4ec7-9234-6b2db38ea009","name":"Updates FCM configuration - default","request":{"urlPathTemplate":"/guardian/factors/push-notification/providers/fcm","method":"PATCH"},"response":{"status":200,"body":"{\n \"key\": \"value\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"96fb85cc-6ac7-4ec7-9234-6b2db38ea009","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"e301ea18-e5af-4e68-8700-953158819796","name":"Updates FCMV1 configuration - default","request":{"urlPathTemplate":"/guardian/factors/push-notification/providers/fcmv1","method":"PUT"},"response":{"status":200,"body":"{\n \"key\": \"value\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"e301ea18-e5af-4e68-8700-953158819796","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"de696b9c-3ffb-4bc8-adde-131913ca6338","name":"Updates FCMV1 configuration - default","request":{"urlPathTemplate":"/guardian/factors/push-notification/providers/fcmv1","method":"PATCH"},"response":{"status":200,"body":"{\n \"key\": \"value\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"de696b9c-3ffb-4bc8-adde-131913ca6338","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"a03df5fb-b6e0-4345-9c83-e920d88114c9","name":"Get AWS SNS configuration - default","request":{"urlPathTemplate":"/guardian/factors/push-notification/providers/sns","method":"GET"},"response":{"status":200,"body":"{\n \"aws_access_key_id\": \"aws_access_key_id\",\n \"aws_secret_access_key\": \"aws_secret_access_key\",\n \"aws_region\": \"aws_region\",\n \"sns_apns_platform_application_arn\": \"sns_apns_platform_application_arn\",\n \"sns_gcm_platform_application_arn\": \"sns_gcm_platform_application_arn\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"a03df5fb-b6e0-4345-9c83-e920d88114c9","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"6e8e169e-036c-4ebe-8171-a3aeb7c68ad5","name":"Update AWS SNS configuration - default","request":{"urlPathTemplate":"/guardian/factors/push-notification/providers/sns","method":"PUT"},"response":{"status":200,"body":"{\n \"aws_access_key_id\": \"aws_access_key_id\",\n \"aws_secret_access_key\": \"aws_secret_access_key\",\n \"aws_region\": \"aws_region\",\n \"sns_apns_platform_application_arn\": \"sns_apns_platform_application_arn\",\n \"sns_gcm_platform_application_arn\": \"sns_gcm_platform_application_arn\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"6e8e169e-036c-4ebe-8171-a3aeb7c68ad5","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"79a10ee8-bacd-486b-b5f3-4f23e2382c4b","name":"Update AWS SNS configuration - default","request":{"urlPathTemplate":"/guardian/factors/push-notification/providers/sns","method":"PATCH"},"response":{"status":200,"body":"{\n \"aws_access_key_id\": \"aws_access_key_id\",\n \"aws_secret_access_key\": \"aws_secret_access_key\",\n \"aws_region\": \"aws_region\",\n \"sns_apns_platform_application_arn\": \"sns_apns_platform_application_arn\",\n \"sns_gcm_platform_application_arn\": \"sns_gcm_platform_application_arn\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"79a10ee8-bacd-486b-b5f3-4f23e2382c4b","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"0496348c-7357-4623-8514-fb741a753c75","name":"Get push notification provider - default","request":{"urlPathTemplate":"/guardian/factors/push-notification/selected-provider","method":"GET"},"response":{"status":200,"body":"{\n \"provider\": \"guardian\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"0496348c-7357-4623-8514-fb741a753c75","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"7285a311-6499-4a95-a8cc-6701a6997bf5","name":"Update Push Notification configuration - default","request":{"urlPathTemplate":"/guardian/factors/push-notification/selected-provider","method":"PUT"},"response":{"status":200,"body":"{\n \"provider\": \"guardian\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"7285a311-6499-4a95-a8cc-6701a6997bf5","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"e8ca19da-0184-44a0-868c-f020f73cbcbe","name":"Get Twilio SMS configuration - default","request":{"urlPathTemplate":"/guardian/factors/sms/providers/twilio","method":"GET"},"response":{"status":200,"body":"{\n \"from\": \"from\",\n \"messaging_service_sid\": \"messaging_service_sid\",\n \"auth_token\": \"auth_token\",\n \"sid\": \"sid\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"e8ca19da-0184-44a0-868c-f020f73cbcbe","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"8e51f842-c731-4fc6-9f28-42d20d05f8a7","name":"Update Twilio SMS configuration - default","request":{"urlPathTemplate":"/guardian/factors/sms/providers/twilio","method":"PUT"},"response":{"status":200,"body":"{\n \"from\": \"from\",\n \"messaging_service_sid\": \"messaging_service_sid\",\n \"auth_token\": \"auth_token\",\n \"sid\": \"sid\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"8e51f842-c731-4fc6-9f28-42d20d05f8a7","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"a9bd6f03-210a-4eba-9f63-48eb355c59a5","name":"Get SMS configuration - default","request":{"urlPathTemplate":"/guardian/factors/sms/selected-provider","method":"GET"},"response":{"status":200,"body":"{\n \"provider\": \"auth0\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"a9bd6f03-210a-4eba-9f63-48eb355c59a5","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"69919759-0017-4dd6-8df8-a40088848ddb","name":"Update SMS configuration - default","request":{"urlPathTemplate":"/guardian/factors/sms/selected-provider","method":"PUT"},"response":{"status":200,"body":"{\n \"provider\": \"auth0\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"69919759-0017-4dd6-8df8-a40088848ddb","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"1731b364-a171-42f2-8475-62bdb634879d","name":"Get SMS enrollment and verification templates - default","request":{"urlPathTemplate":"/guardian/factors/sms/templates","method":"GET"},"response":{"status":200,"body":"{\n \"enrollment_message\": \"enrollment_message\",\n \"verification_message\": \"verification_message\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"1731b364-a171-42f2-8475-62bdb634879d","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"2b0be931-6224-442e-92ca-1b5dfe5c06ba","name":"Update SMS enrollment and verification templates - default","request":{"urlPathTemplate":"/guardian/factors/sms/templates","method":"PUT"},"response":{"status":200,"body":"{\n \"enrollment_message\": \"enrollment_message\",\n \"verification_message\": \"verification_message\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"2b0be931-6224-442e-92ca-1b5dfe5c06ba","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"47cb059e-e754-4e4c-804b-52d84dd12162","name":"Get DUO Configuration - default","request":{"urlPathTemplate":"/guardian/factors/duo/settings","method":"GET"},"response":{"status":200,"body":"{\n \"ikey\": \"ikey\",\n \"skey\": \"skey\",\n \"host\": \"host\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"47cb059e-e754-4e4c-804b-52d84dd12162","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"59380cca-acd7-464e-86e0-1017e022aaa0","name":"Update the DUO Configuration - default","request":{"urlPathTemplate":"/guardian/factors/duo/settings","method":"PUT"},"response":{"status":200,"body":"{\n \"ikey\": \"ikey\",\n \"skey\": \"skey\",\n \"host\": \"host\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"59380cca-acd7-464e-86e0-1017e022aaa0","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"38a5aa65-75f0-471c-ab5e-10b544359b3c","name":"Update the DUO Configuration - default","request":{"urlPathTemplate":"/guardian/factors/duo/settings","method":"PATCH"},"response":{"status":200,"body":"{\n \"ikey\": \"ikey\",\n \"skey\": \"skey\",\n \"host\": \"host\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"38a5aa65-75f0-471c-ab5e-10b544359b3c","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"fcdfec44-0fb3-42b6-a292-48e9fb13271a","name":"Get hook secrets - default","request":{"urlPathTemplate":"/hooks/{id}/secrets","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"key\": \"value\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"fcdfec44-0fb3-42b6-a292-48e9fb13271a","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"a4e022c8-8ee2-4d3b-a52d-18c34a18c1e2","name":"Add hook secrets - default","request":{"urlPathTemplate":"/hooks/{id}/secrets","method":"POST","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"a4e022c8-8ee2-4d3b-a52d-18c34a18c1e2","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"1e6e250b-ded1-4ca6-831a-83d54b71295e","name":"Delete hook secrets - default","request":{"urlPathTemplate":"/hooks/{id}/secrets","method":"DELETE","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"1e6e250b-ded1-4ca6-831a-83d54b71295e","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"81e2c92a-69de-446b-82c8-7f320f9e1060","name":"Update hook secrets - default","request":{"urlPathTemplate":"/hooks/{id}/secrets","method":"PATCH","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"81e2c92a-69de-446b-82c8-7f320f9e1060","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"a93c6324-dab3-4581-8117-74e0dc2c05b3","name":"Create export users job - default","request":{"urlPathTemplate":"/jobs/users-exports","method":"POST"},"response":{"status":200,"body":"{\n \"status\": \"status\",\n \"type\": \"type\",\n \"created_at\": \"created_at\",\n \"id\": \"id\",\n \"connection_id\": \"connection_id\",\n \"format\": \"json\",\n \"limit\": 1,\n \"fields\": [\n {\n \"name\": \"name\",\n \"export_as\": \"export_as\"\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"a93c6324-dab3-4581-8117-74e0dc2c05b3","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"d7d59bf9-f846-4967-a50c-0d5e2daaf044","name":"Create import users job - default","request":{"urlPathTemplate":"/jobs/users-imports","method":"POST"},"response":{"status":202,"body":"{\n \"status\": \"status\",\n \"type\": \"type\",\n \"created_at\": \"created_at\",\n \"id\": \"id\",\n \"connection_id\": \"connection_id\",\n \"external_id\": \"external_id\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"d7d59bf9-f846-4967-a50c-0d5e2daaf044","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"1ec86184-b7ac-4cff-9fa1-e78fcdcaa954","name":"Send an email address verification email - default","request":{"urlPathTemplate":"/jobs/verification-email","method":"POST"},"response":{"status":201,"body":"{\n \"status\": \"status\",\n \"type\": \"type\",\n \"created_at\": \"created_at\",\n \"id\": \"id\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"1ec86184-b7ac-4cff-9fa1-e78fcdcaa954","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"1ddcb674-4117-4538-98e8-5723fdb083e8","name":"Get job error details - default","request":{"urlPathTemplate":"/jobs/{id}/errors","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"[\n {\n \"user\": {\n \"key\": \"value\"\n },\n \"errors\": [\n {}\n ]\n }\n]","headers":{"Content-Type":"application/json"}},"uuid":"1ddcb674-4117-4538-98e8-5723fdb083e8","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"70e1c2da-e7db-401a-b166-be0b5da6139c","name":"Get custom signing keys - default","request":{"urlPathTemplate":"/keys/custom-signing","method":"GET"},"response":{"status":200,"body":"{\n \"keys\": [\n {\n \"kty\": \"EC\",\n \"kid\": \"kid\",\n \"use\": \"sig\",\n \"key_ops\": [\n \"verify\"\n ],\n \"alg\": \"RS256\",\n \"n\": \"n\",\n \"e\": \"e\",\n \"crv\": \"P-256\",\n \"x\": \"x\",\n \"y\": \"y\",\n \"x5u\": \"x5u\",\n \"x5c\": [\n \"x5c\"\n ],\n \"x5t\": \"x5t\",\n \"x5t#S256\": \"x5t#S256\"\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"70e1c2da-e7db-401a-b166-be0b5da6139c","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"3b40098d-d649-4030-bc12-31606e807e15","name":"Create or replace custom signing keys - default","request":{"urlPathTemplate":"/keys/custom-signing","method":"PUT"},"response":{"status":200,"body":"{\n \"keys\": [\n {\n \"kty\": \"EC\",\n \"kid\": \"kid\",\n \"use\": \"sig\",\n \"key_ops\": [\n \"verify\"\n ],\n \"alg\": \"RS256\",\n \"n\": \"n\",\n \"e\": \"e\",\n \"crv\": \"P-256\",\n \"x\": \"x\",\n \"y\": \"y\",\n \"x5u\": \"x5u\",\n \"x5c\": [\n \"x5c\"\n ],\n \"x5t\": \"x5t\",\n \"x5t#S256\": \"x5t#S256\"\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"3b40098d-d649-4030-bc12-31606e807e15","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"f9b82290-1c82-4a29-891c-cee6ec28bcc5","name":"Delete custom signing keys - default","request":{"urlPathTemplate":"/keys/custom-signing","method":"DELETE"},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"f9b82290-1c82-4a29-891c-cee6ec28bcc5","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"c09166ed-9d73-4607-92f6-ae884592a5e5","name":"Get all encryption keys - default","request":{"urlPathTemplate":"/keys/encryption","method":"GET"},"response":{"status":200,"body":"{\n \"start\": 1,\n \"limit\": 1,\n \"total\": 1,\n \"keys\": [\n {\n \"kid\": \"kid\",\n \"type\": \"customer-provided-root-key\",\n \"state\": \"pre-activation\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"parent_kid\": \"parent_kid\",\n \"public_key\": \"public_key\"\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"c09166ed-9d73-4607-92f6-ae884592a5e5","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"b0a9c75d-5268-41dd-849a-da3c0cfcb04b","name":"Create the new encryption key - default","request":{"urlPathTemplate":"/keys/encryption","method":"POST"},"response":{"status":201,"body":"{\n \"kid\": \"kid\",\n \"type\": \"customer-provided-root-key\",\n \"state\": \"pre-activation\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"parent_kid\": \"parent_kid\",\n \"public_key\": \"public_key\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"b0a9c75d-5268-41dd-849a-da3c0cfcb04b","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"974880c1-1ef6-4001-a614-aa43c37b4420","name":"Rekey the key hierarchy - default","request":{"urlPathTemplate":"/keys/encryption/rekey","method":"POST"},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"974880c1-1ef6-4001-a614-aa43c37b4420","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"77bab061-9dae-4268-84d0-0b63e263f1ab","name":"Get the encryption key by its key id - default","request":{"urlPathTemplate":"/keys/encryption/{kid}","method":"GET","pathParameters":{"kid":{"equalTo":"kid"}}},"response":{"status":200,"body":"{\n \"kid\": \"kid\",\n \"type\": \"customer-provided-root-key\",\n \"state\": \"pre-activation\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"parent_kid\": \"parent_kid\",\n \"public_key\": \"public_key\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"77bab061-9dae-4268-84d0-0b63e263f1ab","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"86a3fc30-c02a-4c36-ac4c-7900289870b8","name":"Import the encryption key - default","request":{"urlPathTemplate":"/keys/encryption/{kid}","method":"POST","pathParameters":{"kid":{"equalTo":"kid"}}},"response":{"status":201,"body":"{\n \"kid\": \"kid\",\n \"type\": \"customer-provided-root-key\",\n \"state\": \"pre-activation\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"parent_kid\": \"parent_kid\",\n \"public_key\": \"public_key\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"86a3fc30-c02a-4c36-ac4c-7900289870b8","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"cb3a536a-7775-4fcf-a037-f10b16d2fe1d","name":"Delete the encryption key by its key id - default","request":{"urlPathTemplate":"/keys/encryption/{kid}","method":"DELETE","pathParameters":{"kid":{"equalTo":"kid"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"cb3a536a-7775-4fcf-a037-f10b16d2fe1d","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"cf0b4ec6-52f1-4f55-974a-9eadd755c04f","name":"Create the public wrapping key - default","request":{"urlPathTemplate":"/keys/encryption/{kid}/wrapping-key","method":"POST","pathParameters":{"kid":{"equalTo":"kid"}}},"response":{"status":201,"body":"{\n \"public_key\": \"public_key\",\n \"algorithm\": \"CKM_RSA_AES_KEY_WRAP\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"cf0b4ec6-52f1-4f55-974a-9eadd755c04f","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"1bde50a3-a51e-41b4-9018-8f46bd597774","name":"Get all Application Signing Keys - default","request":{"urlPathTemplate":"/keys/signing","method":"GET"},"response":{"status":200,"body":"[\n {\n \"kid\": \"kid\",\n \"cert\": \"cert\",\n \"pkcs7\": \"pkcs7\",\n \"current\": true,\n \"next\": true,\n \"previous\": true,\n \"current_since\": \"current_since\",\n \"current_until\": \"current_until\",\n \"fingerprint\": \"fingerprint\",\n \"thumbprint\": \"thumbprint\",\n \"revoked\": true,\n \"revoked_at\": \"revoked_at\"\n }\n]","headers":{"Content-Type":"application/json"}},"uuid":"1bde50a3-a51e-41b4-9018-8f46bd597774","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"e9d4827d-c55c-4b09-a761-24a551052257","name":"Rotate the Application Signing Key - default","request":{"urlPathTemplate":"/keys/signing/rotate","method":"POST"},"response":{"status":201,"body":"{\n \"cert\": \"cert\",\n \"kid\": \"kid\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"e9d4827d-c55c-4b09-a761-24a551052257","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"adec0e81-f58d-4f1f-9071-2c1f28b236e1","name":"Get an Application Signing Key by its key id - default","request":{"urlPathTemplate":"/keys/signing/{kid}","method":"GET","pathParameters":{"kid":{"equalTo":"kid"}}},"response":{"status":200,"body":"{\n \"kid\": \"kid\",\n \"cert\": \"cert\",\n \"pkcs7\": \"pkcs7\",\n \"current\": true,\n \"next\": true,\n \"previous\": true,\n \"current_since\": \"current_since\",\n \"current_until\": \"current_until\",\n \"fingerprint\": \"fingerprint\",\n \"thumbprint\": \"thumbprint\",\n \"revoked\": true,\n \"revoked_at\": \"revoked_at\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"adec0e81-f58d-4f1f-9071-2c1f28b236e1","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"cab3e5d7-c549-4ce9-aa51-648a2d61b321","name":"Revoke an Application Signing Key by its key id - default","request":{"urlPathTemplate":"/keys/signing/{kid}/revoke","method":"PUT","pathParameters":{"kid":{"equalTo":"kid"}}},"response":{"status":200,"body":"{\n \"cert\": \"cert\",\n \"kid\": \"kid\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"cab3e5d7-c549-4ce9-aa51-648a2d61b321","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"3bd5c630-fb83-4b4e-a903-67268e3218e0","name":"Get client grants associated to an organization - default","request":{"urlPathTemplate":"/organizations/{id}/client-grants","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"total\": 1.1,\n \"client_grants\": [\n {\n \"id\": \"id\",\n \"client_id\": \"client_id\",\n \"audience\": \"audience\",\n \"scope\": [\n \"scope\"\n ],\n \"organization_usage\": \"deny\",\n \"allow_any_organization\": true\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"3bd5c630-fb83-4b4e-a903-67268e3218e0","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"e4a9924e-c625-4ff3-a5ed-44c5e7f20053","name":"Associate a client grant with an organization - default","request":{"urlPathTemplate":"/organizations/{id}/client-grants","method":"POST","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":201,"body":"{\n \"id\": \"id\",\n \"client_id\": \"client_id\",\n \"audience\": \"audience\",\n \"scope\": [\n \"scope\"\n ],\n \"organization_usage\": \"deny\",\n \"allow_any_organization\": true\n}","headers":{"Content-Type":"application/json"}},"uuid":"e4a9924e-c625-4ff3-a5ed-44c5e7f20053","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"36ae6d81-83b3-4c2c-8f37-5e921d4740ad","name":"Remove a client grant from an organization - default","request":{"urlPathTemplate":"/organizations/{id}/client-grants/{grant_id}","method":"DELETE","pathParameters":{"id":{"equalTo":"id"},"grant_id":{"equalTo":"grant_id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"36ae6d81-83b3-4c2c-8f37-5e921d4740ad","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"2edde951-0b04-4e05-9389-658b85c37299","name":"Retrieve all organization discovery domains - default","request":{"urlPathTemplate":"/organizations/{id}/discovery-domains","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"next\": \"next\",\n \"domains\": [\n {\n \"id\": \"id\",\n \"domain\": \"domain\",\n \"status\": \"pending\",\n \"use_for_organization_discovery\": true,\n \"verification_txt\": \"verification_txt\",\n \"verification_host\": \"verification_host\"\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"2edde951-0b04-4e05-9389-658b85c37299","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"fdfc20b0-5e2b-4eb6-98af-e0f922aefac7","name":"Create an organization discovery domain - default","request":{"urlPathTemplate":"/organizations/{id}/discovery-domains","method":"POST","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":201,"body":"{\n \"id\": \"id\",\n \"domain\": \"domain\",\n \"status\": \"pending\",\n \"use_for_organization_discovery\": true,\n \"verification_txt\": \"verification_txt\",\n \"verification_host\": \"verification_host\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"fdfc20b0-5e2b-4eb6-98af-e0f922aefac7","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"6880f9c8-a623-4d59-b041-fc7f1b5104cc","name":"Retrieve an organization discovery domain by domain name - default","request":{"urlPathTemplate":"/organizations/{id}/discovery-domains/name/{discovery_domain}","method":"GET","pathParameters":{"id":{"equalTo":"id"},"discovery_domain":{"equalTo":"discovery_domain"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"domain\": \"domain\",\n \"status\": \"pending\",\n \"use_for_organization_discovery\": true,\n \"verification_txt\": \"verification_txt\",\n \"verification_host\": \"verification_host\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"6880f9c8-a623-4d59-b041-fc7f1b5104cc","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"4cb0d18e-2a9a-4d6c-a1f3-f2c3e5c3c496","name":"Retrieve an organization discovery domain by ID - default","request":{"urlPathTemplate":"/organizations/{id}/discovery-domains/{discovery_domain_id}","method":"GET","pathParameters":{"id":{"equalTo":"id"},"discovery_domain_id":{"equalTo":"discovery_domain_id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"domain\": \"domain\",\n \"status\": \"pending\",\n \"use_for_organization_discovery\": true,\n \"verification_txt\": \"verification_txt\",\n \"verification_host\": \"verification_host\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"4cb0d18e-2a9a-4d6c-a1f3-f2c3e5c3c496","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"803a298e-d6f6-4370-8e03-37d06547eeef","name":"Delete an organization discovery domain - default","request":{"urlPathTemplate":"/organizations/{id}/discovery-domains/{discovery_domain_id}","method":"DELETE","pathParameters":{"id":{"equalTo":"id"},"discovery_domain_id":{"equalTo":"discovery_domain_id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"803a298e-d6f6-4370-8e03-37d06547eeef","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"fca95551-032d-44de-a3cf-849f98ec2177","name":"Update an organization discovery domain - default","request":{"urlPathTemplate":"/organizations/{id}/discovery-domains/{discovery_domain_id}","method":"PATCH","pathParameters":{"id":{"equalTo":"id"},"discovery_domain_id":{"equalTo":"discovery_domain_id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"domain\": \"domain\",\n \"status\": \"pending\",\n \"use_for_organization_discovery\": true,\n \"verification_txt\": \"verification_txt\",\n \"verification_host\": \"verification_host\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"fca95551-032d-44de-a3cf-849f98ec2177","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"47767c5f-78ac-42c3-affe-a5d3e1ed6800","name":"Get connections enabled for an organization - default","request":{"urlPathTemplate":"/organizations/{id}/enabled_connections","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"total\": 1.1,\n \"enabled_connections\": [\n {\n \"connection_id\": \"connection_id\",\n \"assign_membership_on_login\": true,\n \"show_as_button\": true,\n \"is_signup_enabled\": true\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"47767c5f-78ac-42c3-affe-a5d3e1ed6800","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"c311c287-5333-41bd-819e-e813c541ed66","name":"Add connections to an organization - default","request":{"urlPathTemplate":"/organizations/{id}/enabled_connections","method":"POST","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":201,"body":"{\n \"connection_id\": \"connection_id\",\n \"assign_membership_on_login\": true,\n \"show_as_button\": true,\n \"is_signup_enabled\": true,\n \"connection\": {\n \"name\": \"name\",\n \"strategy\": \"strategy\"\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"c311c287-5333-41bd-819e-e813c541ed66","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"c455a9b2-1f8f-45e1-8100-df1d73cd097d","name":"Get an enabled connection for an organization - default","request":{"urlPathTemplate":"/organizations/{id}/enabled_connections/{connectionId}","method":"GET","pathParameters":{"id":{"equalTo":"id"},"connectionId":{"equalTo":"connectionId"}}},"response":{"status":200,"body":"{\n \"connection_id\": \"connection_id\",\n \"assign_membership_on_login\": true,\n \"show_as_button\": true,\n \"is_signup_enabled\": true,\n \"connection\": {\n \"name\": \"name\",\n \"strategy\": \"strategy\"\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"c455a9b2-1f8f-45e1-8100-df1d73cd097d","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"0dc9106a-150c-40d8-9000-176bd6350a98","name":"Delete connections from an organization - default","request":{"urlPathTemplate":"/organizations/{id}/enabled_connections/{connectionId}","method":"DELETE","pathParameters":{"id":{"equalTo":"id"},"connectionId":{"equalTo":"connectionId"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"0dc9106a-150c-40d8-9000-176bd6350a98","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"9a371d52-abea-44dc-a464-f04f63a601b0","name":"Update the Connection of an Organization - default","request":{"urlPathTemplate":"/organizations/{id}/enabled_connections/{connectionId}","method":"PATCH","pathParameters":{"id":{"equalTo":"id"},"connectionId":{"equalTo":"connectionId"}}},"response":{"status":200,"body":"{\n \"connection_id\": \"connection_id\",\n \"assign_membership_on_login\": true,\n \"show_as_button\": true,\n \"is_signup_enabled\": true,\n \"connection\": {\n \"name\": \"name\",\n \"strategy\": \"strategy\"\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"9a371d52-abea-44dc-a464-f04f63a601b0","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"7fb2e068-8caf-4234-aa52-3b51c9f37300","name":"Get invitations to an organization - default","request":{"urlPathTemplate":"/organizations/{id}/invitations","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"invitations\": [\n {\n \"id\": \"id\",\n \"organization_id\": \"organization_id\",\n \"inviter\": {\n \"name\": \"name\"\n },\n \"invitee\": {\n \"email\": \"email\"\n },\n \"invitation_url\": \"invitation_url\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"expires_at\": \"2024-01-15T09:30:00Z\",\n \"client_id\": \"client_id\",\n \"connection_id\": \"connection_id\",\n \"app_metadata\": {\n \"key\": \"value\"\n },\n \"user_metadata\": {\n \"key\": \"value\"\n },\n \"roles\": [\n \"roles\"\n ],\n \"ticket_id\": \"ticket_id\"\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"7fb2e068-8caf-4234-aa52-3b51c9f37300","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"49ad8742-5d95-4969-87cf-09427959682f","name":"Create invitations to an organization - default","request":{"urlPathTemplate":"/organizations/{id}/invitations","method":"POST","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"organization_id\": \"organization_id\",\n \"inviter\": {\n \"name\": \"name\"\n },\n \"invitee\": {\n \"email\": \"email\"\n },\n \"invitation_url\": \"invitation_url\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"expires_at\": \"2024-01-15T09:30:00Z\",\n \"client_id\": \"client_id\",\n \"connection_id\": \"connection_id\",\n \"app_metadata\": {\n \"key\": \"value\"\n },\n \"user_metadata\": {\n \"key\": \"value\"\n },\n \"roles\": [\n \"roles\"\n ],\n \"ticket_id\": \"ticket_id\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"49ad8742-5d95-4969-87cf-09427959682f","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"2bf04456-d49c-45d6-aedf-19598f4c6df8","name":"Get a specific invitation to an Organization - default","request":{"urlPathTemplate":"/organizations/{id}/invitations/{invitation_id}","method":"GET","pathParameters":{"id":{"equalTo":"id"},"invitation_id":{"equalTo":"invitation_id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"organization_id\": \"organization_id\",\n \"inviter\": {\n \"name\": \"name\"\n },\n \"invitee\": {\n \"email\": \"email\"\n },\n \"invitation_url\": \"invitation_url\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"expires_at\": \"2024-01-15T09:30:00Z\",\n \"client_id\": \"client_id\",\n \"connection_id\": \"connection_id\",\n \"app_metadata\": {\n \"key\": \"value\"\n },\n \"user_metadata\": {\n \"key\": \"value\"\n },\n \"roles\": [\n \"roles\"\n ],\n \"ticket_id\": \"ticket_id\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"2bf04456-d49c-45d6-aedf-19598f4c6df8","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"1a1c3283-fac9-4185-bcb8-3a9053a43163","name":"Delete an invitation to an Organization - default","request":{"urlPathTemplate":"/organizations/{id}/invitations/{invitation_id}","method":"DELETE","pathParameters":{"id":{"equalTo":"id"},"invitation_id":{"equalTo":"invitation_id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"1a1c3283-fac9-4185-bcb8-3a9053a43163","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"b33d5e95-cdf1-4d3a-b019-7fa6e46267a0","name":"Get members who belong to an organization - default","request":{"urlPathTemplate":"/organizations/{id}/members","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"next\": \"next\",\n \"members\": [\n {\n \"user_id\": \"user_id\",\n \"picture\": \"picture\",\n \"name\": \"name\",\n \"email\": \"email\",\n \"roles\": [\n {}\n ]\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"b33d5e95-cdf1-4d3a-b019-7fa6e46267a0","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"8536454b-53b8-4272-8829-062f2cb9092d","name":"Add members to an organization - default","request":{"urlPathTemplate":"/organizations/{id}/members","method":"POST","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"8536454b-53b8-4272-8829-062f2cb9092d","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"71dcfc22-87b0-4591-921b-7d7088bd16ae","name":"Delete members from an organization - default","request":{"urlPathTemplate":"/organizations/{id}/members","method":"DELETE","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"71dcfc22-87b0-4591-921b-7d7088bd16ae","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"2c099b94-dfed-4bf8-b370-25ceade844b1","name":"Get user roles assigned to an Organization member - default","request":{"urlPathTemplate":"/organizations/{id}/members/{user_id}/roles","method":"GET","pathParameters":{"id":{"equalTo":"id"},"user_id":{"equalTo":"user_id"}}},"response":{"status":200,"body":"{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"total\": 1.1,\n \"roles\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\"\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"2c099b94-dfed-4bf8-b370-25ceade844b1","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"8a5dc31c-084d-4753-9c95-0a0ddd2294da","name":"Assign user roles to an Organization member - default","request":{"urlPathTemplate":"/organizations/{id}/members/{user_id}/roles","method":"POST","pathParameters":{"id":{"equalTo":"id"},"user_id":{"equalTo":"user_id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"8a5dc31c-084d-4753-9c95-0a0ddd2294da","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"245dc825-fc94-49ca-9547-a4b30ac4485a","name":"Delete user roles from an Organization member - default","request":{"urlPathTemplate":"/organizations/{id}/members/{user_id}/roles","method":"DELETE","pathParameters":{"id":{"equalTo":"id"},"user_id":{"equalTo":"user_id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"245dc825-fc94-49ca-9547-a4b30ac4485a","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"f02cb8dc-cee0-4470-b69b-596e4d0653f9","name":"Get render setting configurations for all screens - default","request":{"urlPathTemplate":"/prompts/rendering","method":"GET"},"response":{"status":200,"body":"{\n \"configs\": [\n {\n \"tenant\": \"tenant\",\n \"prompt\": \"prompt\",\n \"screen\": \"screen\",\n \"rendering_mode\": \"advanced\",\n \"context_configuration\": [\n \"branding.settings\"\n ],\n \"default_head_tags_disabled\": true,\n \"use_page_template\": true,\n \"head_tags\": [\n {}\n ]\n }\n ],\n \"start\": 1.1,\n \"limit\": 1.1,\n \"total\": 1.1\n}","headers":{"Content-Type":"application/json"}},"uuid":"f02cb8dc-cee0-4470-b69b-596e4d0653f9","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"d0abb404-e603-4992-9c65-19a5766a9462","name":"Update render settings for multiple screens - default","request":{"urlPathTemplate":"/prompts/rendering","method":"PATCH"},"response":{"status":200,"body":"{\n \"configs\": [\n {\n \"prompt\": \"login\",\n \"screen\": \"login\",\n \"rendering_mode\": \"advanced\",\n \"context_configuration\": [\n \"branding.settings\"\n ],\n \"default_head_tags_disabled\": true,\n \"use_page_template\": true,\n \"head_tags\": [\n {}\n ]\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"d0abb404-e603-4992-9c65-19a5766a9462","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"b6f4a3c0-8032-487e-be5c-24b52aea56c3","name":"Get render settings for a screen - default","request":{"urlPathTemplate":"/prompts/{prompt}/screen/{screen}/rendering","method":"GET","pathParameters":{"prompt":{"equalTo":"login"},"screen":{"equalTo":"login"}}},"response":{"status":200,"body":"{\n \"tenant\": \"tenant\",\n \"prompt\": \"prompt\",\n \"screen\": \"screen\",\n \"rendering_mode\": \"advanced\",\n \"context_configuration\": [\n \"branding.settings\"\n ],\n \"default_head_tags_disabled\": true,\n \"use_page_template\": true,\n \"head_tags\": [\n {\n \"tag\": \"tag\",\n \"attributes\": {\n \"key\": \"value\"\n },\n \"content\": \"content\"\n }\n ],\n \"filters\": {\n \"match_type\": \"includes_any\",\n \"clients\": [\n {\n \"id\": \"id\"\n }\n ],\n \"organizations\": [\n {\n \"id\": \"id\"\n }\n ],\n \"domains\": [\n {\n \"id\": \"id\"\n }\n ]\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"b6f4a3c0-8032-487e-be5c-24b52aea56c3","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"248d2934-0ee0-434c-a9a5-df7501ef901c","name":"Update render settings for a screen - default","request":{"urlPathTemplate":"/prompts/{prompt}/screen/{screen}/rendering","method":"PATCH","pathParameters":{"prompt":{"equalTo":"login"},"screen":{"equalTo":"login"}}},"response":{"status":200,"body":"{\n \"rendering_mode\": \"advanced\",\n \"context_configuration\": [\n \"branding.settings\"\n ],\n \"default_head_tags_disabled\": true,\n \"use_page_template\": true,\n \"head_tags\": [\n {\n \"tag\": \"tag\",\n \"attributes\": {\n \"key\": \"value\"\n },\n \"content\": \"content\"\n }\n ],\n \"filters\": {\n \"match_type\": \"includes_any\",\n \"clients\": [\n {\n \"id\": \"id\"\n }\n ],\n \"organizations\": [\n {\n \"id\": \"id\"\n }\n ],\n \"domains\": [\n {\n \"id\": \"id\"\n }\n ]\n }\n}","headers":{"Content-Type":"application/json"}},"uuid":"248d2934-0ee0-434c-a9a5-df7501ef901c","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"1cd54de8-b246-4b0a-863b-f5fa0184e206","name":"Get custom text for a prompt - default","request":{"urlPathTemplate":"/prompts/{prompt}/custom-text/{language}","method":"GET","pathParameters":{"prompt":{"equalTo":"login"},"language":{"equalTo":"am"}}},"response":{"status":200,"body":"{\n \"key\": \"value\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"1cd54de8-b246-4b0a-863b-f5fa0184e206","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"bff89979-efc7-413e-8aaf-a45d84f1793b","name":"Set custom text for a specific prompt - default","request":{"urlPathTemplate":"/prompts/{prompt}/custom-text/{language}","method":"PUT","pathParameters":{"prompt":{"equalTo":"login"},"language":{"equalTo":"am"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"bff89979-efc7-413e-8aaf-a45d84f1793b","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"e2ccf6be-be59-4e7f-90f9-dd24529c4981","name":"Get partials for a prompt - default","request":{"urlPathTemplate":"/prompts/{prompt}/partials","method":"GET","pathParameters":{"prompt":{"equalTo":"login"}}},"response":{"status":200,"body":"{\n \"key\": \"value\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"e2ccf6be-be59-4e7f-90f9-dd24529c4981","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"c9517422-8a42-4204-8156-cda9b385f017","name":"Set partials for a prompt - default","request":{"urlPathTemplate":"/prompts/{prompt}/partials","method":"PUT","pathParameters":{"prompt":{"equalTo":"login"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"c9517422-8a42-4204-8156-cda9b385f017","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"cb391545-5076-433d-8b32-b19ed3d73939","name":"Get risk assessment settings - default","request":{"urlPathTemplate":"/risk-assessments/settings","method":"GET"},"response":{"status":200,"body":"{\n \"enabled\": true\n}","headers":{"Content-Type":"application/json"}},"uuid":"cb391545-5076-433d-8b32-b19ed3d73939","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"8018c245-2f30-469f-992f-dc1668cccd75","name":"Update risk assessment settings - default","request":{"urlPathTemplate":"/risk-assessments/settings","method":"PATCH"},"response":{"status":200,"body":"{\n \"enabled\": true\n}","headers":{"Content-Type":"application/json"}},"uuid":"8018c245-2f30-469f-992f-dc1668cccd75","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"b25bc47f-4ec8-4cd8-b419-5323232b8bb8","name":"Get new device assessor - default","request":{"urlPathTemplate":"/risk-assessments/settings/new-device","method":"GET"},"response":{"status":200,"body":"{\n \"remember_for\": 1\n}","headers":{"Content-Type":"application/json"}},"uuid":"b25bc47f-4ec8-4cd8-b419-5323232b8bb8","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"07a0ab5c-d2e9-4e3d-899b-3f9a833c3813","name":"Update new device assessor - default","request":{"urlPathTemplate":"/risk-assessments/settings/new-device","method":"PATCH"},"response":{"status":200,"body":"{\n \"remember_for\": 1\n}","headers":{"Content-Type":"application/json"}},"uuid":"07a0ab5c-d2e9-4e3d-899b-3f9a833c3813","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"bf10686c-2651-4040-8299-93e4bbc9834d","name":"Get permissions granted by role - default","request":{"urlPathTemplate":"/roles/{id}/permissions","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"total\": 1.1,\n \"permissions\": [\n {\n \"resource_server_identifier\": \"resource_server_identifier\",\n \"permission_name\": \"permission_name\",\n \"resource_server_name\": \"resource_server_name\",\n \"description\": \"description\"\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"bf10686c-2651-4040-8299-93e4bbc9834d","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"23e27895-e8da-4c4d-bec9-94df0205eb5c","name":"Associate permissions with a role - default","request":{"urlPathTemplate":"/roles/{id}/permissions","method":"POST","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"23e27895-e8da-4c4d-bec9-94df0205eb5c","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"b94e86fc-05a4-43a3-a57f-ecd7e72ca50a","name":"Remove permissions from a role - default","request":{"urlPathTemplate":"/roles/{id}/permissions","method":"DELETE","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"b94e86fc-05a4-43a3-a57f-ecd7e72ca50a","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"c87640fd-900b-400f-93f0-9ccb6702a609","name":"Get a role's users - default","request":{"urlPathTemplate":"/roles/{id}/users","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"next\": \"next\",\n \"users\": [\n {\n \"user_id\": \"user_id\",\n \"picture\": \"picture\",\n \"name\": \"name\",\n \"email\": \"email\"\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"c87640fd-900b-400f-93f0-9ccb6702a609","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"3715bf7c-6aeb-4cbb-b3a0-57d86272ae3f","name":"Assign users to a role - default","request":{"urlPathTemplate":"/roles/{id}/users","method":"POST","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"3715bf7c-6aeb-4cbb-b3a0-57d86272ae3f","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"f6173c4f-82c6-420c-a40d-889a713cb3e7","name":"Get custom text for a self-service profile - default","request":{"urlPathTemplate":"/self-service-profiles/{id}/custom-text/{language}/{page}","method":"GET","pathParameters":{"id":{"equalTo":"id"},"language":{"equalTo":"en"},"page":{"equalTo":"get-started"}}},"response":{"status":200,"body":"{\n \"key\": \"value\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"f6173c4f-82c6-420c-a40d-889a713cb3e7","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"52a78cce-bea7-4f10-be84-5b860989a20e","name":"Set custom text for a self-service profile - default","request":{"urlPathTemplate":"/self-service-profiles/{id}/custom-text/{language}/{page}","method":"PUT","pathParameters":{"id":{"equalTo":"id"},"language":{"equalTo":"en"},"page":{"equalTo":"get-started"}}},"response":{"status":200,"body":"{\n \"key\": \"value\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"52a78cce-bea7-4f10-be84-5b860989a20e","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"47229b19-16ff-4ccd-8fd2-7f925b1743c4","name":"Create an SSO access ticket to initiate the Self Service SSO Flow - default","request":{"urlPathTemplate":"/self-service-profiles/{id}/sso-ticket","method":"POST","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":201,"body":"{\n \"ticket\": \"ticket\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"47229b19-16ff-4ccd-8fd2-7f925b1743c4","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"e406adeb-54e0-4218-9e0c-edbfbf0a64bf","name":"Revoke an SSO access ticket - default","request":{"urlPathTemplate":"/self-service-profiles/{profileId}/sso-ticket/{id}/revoke","method":"POST","pathParameters":{"profileId":{"equalTo":"profileId"},"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"e406adeb-54e0-4218-9e0c-edbfbf0a64bf","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"12199f5c-a53a-4405-8a5f-a83867b89865","name":"Get tenant settings - default","request":{"urlPathTemplate":"/tenants/settings","method":"GET"},"response":{"status":200,"body":"{\n \"change_password\": {\n \"enabled\": true,\n \"html\": \"html\"\n },\n \"guardian_mfa_page\": {\n \"enabled\": true,\n \"html\": \"html\"\n },\n \"default_audience\": \"default_audience\",\n \"default_directory\": \"default_directory\",\n \"error_page\": {\n \"html\": \"html\",\n \"show_log_link\": true,\n \"url\": \"url\"\n },\n \"device_flow\": {\n \"charset\": \"base20\",\n \"mask\": \"mask\"\n },\n \"default_token_quota\": {\n \"clients\": {\n \"client_credentials\": {}\n },\n \"organizations\": {\n \"client_credentials\": {}\n }\n },\n \"flags\": {\n \"change_pwd_flow_v1\": true,\n \"enable_apis_section\": true,\n \"disable_impersonation\": true,\n \"enable_client_connections\": true,\n \"enable_pipeline2\": true,\n \"allow_legacy_delegation_grant_types\": true,\n \"allow_legacy_ro_grant_types\": true,\n \"allow_legacy_tokeninfo_endpoint\": true,\n \"enable_legacy_profile\": true,\n \"enable_idtoken_api2\": true,\n \"enable_public_signup_user_exists_error\": true,\n \"enable_sso\": true,\n \"allow_changing_enable_sso\": true,\n \"disable_clickjack_protection_headers\": true,\n \"no_disclose_enterprise_connections\": true,\n \"enforce_client_authentication_on_passwordless_start\": true,\n \"enable_adfs_waad_email_verification\": true,\n \"revoke_refresh_token_grant\": true,\n \"dashboard_log_streams_next\": true,\n \"dashboard_insights_view\": true,\n \"disable_fields_map_fix\": true,\n \"mfa_show_factor_list_on_enrollment\": true,\n \"remove_alg_from_jwks\": true,\n \"improved_signup_bot_detection_in_classic\": true,\n \"genai_trial\": true,\n \"enable_dynamic_client_registration\": true,\n \"disable_management_api_sms_obfuscation\": true,\n \"trust_azure_adfs_email_verified_connection_property\": true,\n \"custom_domains_provisioning\": true\n },\n \"friendly_name\": \"friendly_name\",\n \"picture_url\": \"picture_url\",\n \"support_email\": \"support_email\",\n \"support_url\": \"support_url\",\n \"allowed_logout_urls\": [\n \"allowed_logout_urls\"\n ],\n \"session_lifetime\": 1.1,\n \"idle_session_lifetime\": 1.1,\n \"ephemeral_session_lifetime\": 1.1,\n \"idle_ephemeral_session_lifetime\": 1.1,\n \"sandbox_version\": \"sandbox_version\",\n \"legacy_sandbox_version\": \"legacy_sandbox_version\",\n \"sandbox_versions_available\": [\n \"sandbox_versions_available\"\n ],\n \"default_redirection_uri\": \"default_redirection_uri\",\n \"enabled_locales\": [\n \"am\"\n ],\n \"session_cookie\": {\n \"mode\": \"persistent\"\n },\n \"sessions\": {\n \"oidc_logout_prompt_enabled\": true\n },\n \"oidc_logout\": {\n \"rp_logout_end_session_endpoint_discovery\": true\n },\n \"allow_organization_name_in_authentication_api\": true,\n \"customize_mfa_in_postlogin_action\": true,\n \"acr_values_supported\": [\n \"acr_values_supported\"\n ],\n \"mtls\": {\n \"enable_endpoint_aliases\": true\n },\n \"pushed_authorization_requests_supported\": true,\n \"authorization_response_iss_parameter_supported\": true,\n \"skip_non_verifiable_callback_uri_confirmation_prompt\": true,\n \"resource_parameter_profile\": \"audience\",\n \"phone_consolidated_experience\": true,\n \"enable_ai_guide\": true\n}","headers":{"Content-Type":"application/json"}},"uuid":"12199f5c-a53a-4405-8a5f-a83867b89865","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"48a056e4-f2d6-45a2-9b0a-3b7d173c8597","name":"Update tenant settings - default","request":{"urlPathTemplate":"/tenants/settings","method":"PATCH"},"response":{"status":200,"body":"{\n \"change_password\": {\n \"enabled\": true,\n \"html\": \"html\"\n },\n \"guardian_mfa_page\": {\n \"enabled\": true,\n \"html\": \"html\"\n },\n \"default_audience\": \"default_audience\",\n \"default_directory\": \"default_directory\",\n \"error_page\": {\n \"html\": \"html\",\n \"show_log_link\": true,\n \"url\": \"url\"\n },\n \"device_flow\": {\n \"charset\": \"base20\",\n \"mask\": \"mask\"\n },\n \"default_token_quota\": {\n \"clients\": {\n \"client_credentials\": {}\n },\n \"organizations\": {\n \"client_credentials\": {}\n }\n },\n \"flags\": {\n \"change_pwd_flow_v1\": true,\n \"enable_apis_section\": true,\n \"disable_impersonation\": true,\n \"enable_client_connections\": true,\n \"enable_pipeline2\": true,\n \"allow_legacy_delegation_grant_types\": true,\n \"allow_legacy_ro_grant_types\": true,\n \"allow_legacy_tokeninfo_endpoint\": true,\n \"enable_legacy_profile\": true,\n \"enable_idtoken_api2\": true,\n \"enable_public_signup_user_exists_error\": true,\n \"enable_sso\": true,\n \"allow_changing_enable_sso\": true,\n \"disable_clickjack_protection_headers\": true,\n \"no_disclose_enterprise_connections\": true,\n \"enforce_client_authentication_on_passwordless_start\": true,\n \"enable_adfs_waad_email_verification\": true,\n \"revoke_refresh_token_grant\": true,\n \"dashboard_log_streams_next\": true,\n \"dashboard_insights_view\": true,\n \"disable_fields_map_fix\": true,\n \"mfa_show_factor_list_on_enrollment\": true,\n \"remove_alg_from_jwks\": true,\n \"improved_signup_bot_detection_in_classic\": true,\n \"genai_trial\": true,\n \"enable_dynamic_client_registration\": true,\n \"disable_management_api_sms_obfuscation\": true,\n \"trust_azure_adfs_email_verified_connection_property\": true,\n \"custom_domains_provisioning\": true\n },\n \"friendly_name\": \"friendly_name\",\n \"picture_url\": \"picture_url\",\n \"support_email\": \"support_email\",\n \"support_url\": \"support_url\",\n \"allowed_logout_urls\": [\n \"allowed_logout_urls\"\n ],\n \"session_lifetime\": 1.1,\n \"idle_session_lifetime\": 1.1,\n \"ephemeral_session_lifetime\": 1.1,\n \"idle_ephemeral_session_lifetime\": 1.1,\n \"sandbox_version\": \"sandbox_version\",\n \"legacy_sandbox_version\": \"legacy_sandbox_version\",\n \"sandbox_versions_available\": [\n \"sandbox_versions_available\"\n ],\n \"default_redirection_uri\": \"default_redirection_uri\",\n \"enabled_locales\": [\n \"am\"\n ],\n \"session_cookie\": {\n \"mode\": \"persistent\"\n },\n \"sessions\": {\n \"oidc_logout_prompt_enabled\": true\n },\n \"oidc_logout\": {\n \"rp_logout_end_session_endpoint_discovery\": true\n },\n \"allow_organization_name_in_authentication_api\": true,\n \"customize_mfa_in_postlogin_action\": true,\n \"acr_values_supported\": [\n \"acr_values_supported\"\n ],\n \"mtls\": {\n \"enable_endpoint_aliases\": true\n },\n \"pushed_authorization_requests_supported\": true,\n \"authorization_response_iss_parameter_supported\": true,\n \"skip_non_verifiable_callback_uri_confirmation_prompt\": true,\n \"resource_parameter_profile\": \"audience\",\n \"phone_consolidated_experience\": true,\n \"enable_ai_guide\": true\n}","headers":{"Content-Type":"application/json"}},"uuid":"48a056e4-f2d6-45a2-9b0a-3b7d173c8597","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"3d87eb15-86f8-42c9-b9bf-b1bdcb1d72d5","name":"Get a list of authentication methods - default","request":{"urlPathTemplate":"/users/{id}/authentication-methods","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"total\": 1.1,\n \"authenticators\": [\n {\n \"id\": \"id\",\n \"type\": \"recovery-code\",\n \"confirmed\": true,\n \"name\": \"name\",\n \"authentication_methods\": [\n {}\n ],\n \"preferred_authentication_method\": \"voice\",\n \"link_id\": \"link_id\",\n \"phone_number\": \"phone_number\",\n \"email\": \"email\",\n \"key_id\": \"key_id\",\n \"public_key\": \"public_key\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"enrolled_at\": \"2024-01-15T09:30:00Z\",\n \"last_auth_at\": \"2024-01-15T09:30:00Z\",\n \"credential_device_type\": \"credential_device_type\",\n \"credential_backed_up\": true,\n \"identity_user_id\": \"identity_user_id\",\n \"user_agent\": \"user_agent\",\n \"aaguid\": \"aaguid\",\n \"relying_party_identifier\": \"relying_party_identifier\"\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"3d87eb15-86f8-42c9-b9bf-b1bdcb1d72d5","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"a786d309-f573-4722-9c1a-4336dcb2ca34","name":"Creates an authentication method for a given user - default","request":{"urlPathTemplate":"/users/{id}/authentication-methods","method":"POST","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":201,"body":"{\n \"id\": \"id\",\n \"type\": \"phone\",\n \"name\": \"name\",\n \"totp_secret\": \"totp_secret\",\n \"phone_number\": \"phone_number\",\n \"email\": \"email\",\n \"authentication_methods\": [\n {\n \"type\": \"totp\",\n \"id\": \"id\"\n }\n ],\n \"preferred_authentication_method\": \"voice\",\n \"key_id\": \"key_id\",\n \"public_key\": \"public_key\",\n \"aaguid\": \"aaguid\",\n \"relying_party_identifier\": \"relying_party_identifier\",\n \"created_at\": \"2024-01-15T09:30:00Z\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"a786d309-f573-4722-9c1a-4336dcb2ca34","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"de90147a-4c08-43b0-9e64-3c7afab7fe48","name":"Update all authentication methods by replacing them with the given ones - default","request":{"urlPathTemplate":"/users/{id}/authentication-methods","method":"PUT","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"[\n {\n \"id\": \"id\",\n \"type\": \"phone\",\n \"name\": \"name\",\n \"totp_secret\": \"totp_secret\",\n \"phone_number\": \"phone_number\",\n \"email\": \"email\",\n \"authentication_methods\": [\n {}\n ],\n \"preferred_authentication_method\": \"voice\",\n \"key_id\": \"key_id\",\n \"public_key\": \"public_key\",\n \"aaguid\": \"aaguid\",\n \"relying_party_identifier\": \"relying_party_identifier\",\n \"created_at\": \"2024-01-15T09:30:00Z\"\n }\n]","headers":{"Content-Type":"application/json"}},"uuid":"de90147a-4c08-43b0-9e64-3c7afab7fe48","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"0fd546c5-9e1f-4319-b6f2-9ee49c498250","name":"Delete all authentication methods for the given user - default","request":{"urlPathTemplate":"/users/{id}/authentication-methods","method":"DELETE","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"0fd546c5-9e1f-4319-b6f2-9ee49c498250","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"a3ee9cc4-e4af-46b6-9fcc-371bb0db0e03","name":"Get an authentication method by ID - default","request":{"urlPathTemplate":"/users/{id}/authentication-methods/{authentication_method_id}","method":"GET","pathParameters":{"id":{"equalTo":"id"},"authentication_method_id":{"equalTo":"authentication_method_id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"type\": \"recovery-code\",\n \"confirmed\": true,\n \"name\": \"name\",\n \"authentication_methods\": [\n {\n \"type\": \"totp\",\n \"id\": \"id\"\n }\n ],\n \"preferred_authentication_method\": \"voice\",\n \"link_id\": \"link_id\",\n \"phone_number\": \"phone_number\",\n \"email\": \"email\",\n \"key_id\": \"key_id\",\n \"public_key\": \"public_key\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"enrolled_at\": \"2024-01-15T09:30:00Z\",\n \"last_auth_at\": \"2024-01-15T09:30:00Z\",\n \"credential_device_type\": \"credential_device_type\",\n \"credential_backed_up\": true,\n \"identity_user_id\": \"identity_user_id\",\n \"user_agent\": \"user_agent\",\n \"aaguid\": \"aaguid\",\n \"relying_party_identifier\": \"relying_party_identifier\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"a3ee9cc4-e4af-46b6-9fcc-371bb0db0e03","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"add53361-2a24-44ea-93fe-fd31b9981468","name":"Delete an authentication method by ID - default","request":{"urlPathTemplate":"/users/{id}/authentication-methods/{authentication_method_id}","method":"DELETE","pathParameters":{"id":{"equalTo":"id"},"authentication_method_id":{"equalTo":"authentication_method_id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"add53361-2a24-44ea-93fe-fd31b9981468","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"1cfc820b-23ae-4b7b-8b10-d9e1c2825e51","name":"Update an authentication method - default","request":{"urlPathTemplate":"/users/{id}/authentication-methods/{authentication_method_id}","method":"PATCH","pathParameters":{"id":{"equalTo":"id"},"authentication_method_id":{"equalTo":"authentication_method_id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"type\": \"phone\",\n \"name\": \"name\",\n \"totp_secret\": \"totp_secret\",\n \"phone_number\": \"phone_number\",\n \"email\": \"email\",\n \"authentication_methods\": [\n {\n \"type\": \"totp\",\n \"id\": \"id\"\n }\n ],\n \"preferred_authentication_method\": \"voice\",\n \"key_id\": \"key_id\",\n \"public_key\": \"public_key\",\n \"aaguid\": \"aaguid\",\n \"relying_party_identifier\": \"relying_party_identifier\",\n \"created_at\": \"2024-01-15T09:30:00Z\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"1cfc820b-23ae-4b7b-8b10-d9e1c2825e51","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"59e259ee-3764-496e-9875-949a218233be","name":"Delete All Authenticators - default","request":{"urlPathTemplate":"/users/{id}/authenticators","method":"DELETE","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"59e259ee-3764-496e-9875-949a218233be","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"0f4d4b1f-e7f1-42bd-8a14-64c2e7348b16","name":"Get a User's Connected Accounts - default","request":{"urlPathTemplate":"/users/{id}/connected-accounts","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"connected_accounts\": [\n {\n \"id\": \"id\",\n \"connection\": \"connection\",\n \"connection_id\": \"connection_id\",\n \"strategy\": \"strategy\",\n \"access_type\": \"offline\",\n \"scopes\": [\n \"scopes\"\n ],\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"expires_at\": \"2024-01-15T09:30:00Z\"\n }\n ],\n \"next\": \"next\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"0f4d4b1f-e7f1-42bd-8a14-64c2e7348b16","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"4fb03086-4c19-4d4d-a060-b0f30cbed64f","name":"Get the First Confirmed Multi-factor Authentication Enrollment - default","request":{"urlPathTemplate":"/users/{id}/enrollments","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"[\n {\n \"id\": \"id\",\n \"status\": \"pending\",\n \"type\": \"type\",\n \"name\": \"name\",\n \"identifier\": \"identifier\",\n \"phone_number\": \"phone_number\",\n \"auth_method\": \"authenticator\",\n \"enrolled_at\": \"2024-01-15T09:30:00Z\",\n \"last_auth\": \"2024-01-15T09:30:00Z\"\n }\n]","headers":{"Content-Type":"application/json"}},"uuid":"4fb03086-4c19-4d4d-a060-b0f30cbed64f","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"7df16d6a-51ec-415e-a605-f161474b5a60","name":"Get tokensets for a user - default","request":{"urlPathTemplate":"/users/{id}/federated-connections-tokensets","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"[\n {\n \"id\": \"id\",\n \"connection\": \"connection\",\n \"scope\": \"scope\",\n \"expires_at\": \"2024-01-15T09:30:00Z\",\n \"issued_at\": \"2024-01-15T09:30:00Z\",\n \"last_used_at\": \"2024-01-15T09:30:00Z\"\n }\n]","headers":{"Content-Type":"application/json"}},"uuid":"7df16d6a-51ec-415e-a605-f161474b5a60","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"2dd7f5e1-dfec-4564-8331-8dd9d7ecfa93","name":"Deletes a tokenset for federated connections by id. - default","request":{"urlPathTemplate":"/users/{id}/federated-connections-tokensets/{tokenset_id}","method":"DELETE","pathParameters":{"id":{"equalTo":"id"},"tokenset_id":{"equalTo":"tokenset_id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"2dd7f5e1-dfec-4564-8331-8dd9d7ecfa93","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"10f1d36a-08fb-4d1c-9ae0-7e3a75f996ee","name":"Get user's groups - default","request":{"urlPathTemplate":"/users/{id}/groups","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"groups\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"external_id\": \"external_id\",\n \"connection_id\": \"connection_id\",\n \"organization_id\": \"organization_id\",\n \"tenant_name\": \"tenant_name\",\n \"description\": \"description\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"membership_created_at\": \"2024-01-15T09:30:00Z\"\n }\n ],\n \"next\": \"next\",\n \"start\": 1.1,\n \"limit\": 1.1,\n \"total\": 1.1\n}","headers":{"Content-Type":"application/json"}},"uuid":"10f1d36a-08fb-4d1c-9ae0-7e3a75f996ee","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"0333210f-005f-4731-9928-1487697620ba","name":"Link a User Account - default","request":{"urlPathTemplate":"/users/{id}/identities","method":"POST","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":201,"body":"[\n {\n \"connection\": \"connection\",\n \"user_id\": \"user_id\",\n \"provider\": \"provider\",\n \"profileData\": {\n \"email\": \"email\",\n \"email_verified\": true,\n \"name\": \"name\",\n \"username\": \"username\",\n \"given_name\": \"given_name\",\n \"phone_number\": \"phone_number\",\n \"phone_verified\": true,\n \"family_name\": \"family_name\"\n },\n \"isSocial\": true,\n \"access_token\": \"access_token\",\n \"access_token_secret\": \"access_token_secret\",\n \"refresh_token\": \"refresh_token\"\n }\n]","headers":{"Content-Type":"application/json"}},"uuid":"0333210f-005f-4731-9928-1487697620ba","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"2dc23165-ddbe-4c7a-8f82-ed8cb6afed3c","name":"Unlink a User Identity - default","request":{"urlPathTemplate":"/users/{id}/identities/{provider}/{user_id}","method":"DELETE","pathParameters":{"id":{"equalTo":"id"},"provider":{"equalTo":"ad"},"user_id":{"equalTo":"user_id"}}},"response":{"status":200,"body":"[\n {\n \"connection\": \"connection\",\n \"user_id\": \"user_id\",\n \"provider\": \"provider\",\n \"isSocial\": true,\n \"access_token\": \"access_token\",\n \"access_token_secret\": \"access_token_secret\",\n \"refresh_token\": \"refresh_token\",\n \"profileData\": {\n \"email\": \"email\",\n \"email_verified\": true,\n \"name\": \"name\",\n \"username\": \"username\",\n \"given_name\": \"given_name\",\n \"phone_number\": \"phone_number\",\n \"phone_verified\": true,\n \"family_name\": \"family_name\"\n }\n }\n]","headers":{"Content-Type":"application/json"}},"uuid":"2dc23165-ddbe-4c7a-8f82-ed8cb6afed3c","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"bb12a5f2-c0fc-41b9-874a-4d0b151ca508","name":"Get user's log events - default","request":{"urlPathTemplate":"/users/{id}/logs","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"length\": 1.1,\n \"total\": 1.1,\n \"logs\": [\n {\n \"date\": \"date\",\n \"type\": \"type\",\n \"description\": \"description\",\n \"connection\": \"connection\",\n \"connection_id\": \"connection_id\",\n \"client_id\": \"client_id\",\n \"client_name\": \"client_name\",\n \"ip\": \"ip\",\n \"hostname\": \"hostname\",\n \"user_id\": \"user_id\",\n \"user_name\": \"user_name\",\n \"audience\": \"audience\",\n \"scope\": \"scope\",\n \"strategy\": \"strategy\",\n \"strategy_type\": \"strategy_type\",\n \"log_id\": \"log_id\",\n \"isMobile\": true,\n \"details\": {\n \"key\": \"value\"\n },\n \"user_agent\": \"user_agent\"\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"bb12a5f2-c0fc-41b9-874a-4d0b151ca508","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"8224b345-c369-4d08-b366-81060009c441","name":"Invalidate All Remembered Browsers for Multi-factor Authentication - default","request":{"urlPathTemplate":"/users/{id}/multifactor/actions/invalidate-remember-browser","method":"POST","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"8224b345-c369-4d08-b366-81060009c441","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"86847e95-c858-46df-b005-c0f0392ae95c","name":"Delete a User's Multi-factor Provider - default","request":{"urlPathTemplate":"/users/{id}/multifactor/{provider}","method":"DELETE","pathParameters":{"id":{"equalTo":"id"},"provider":{"equalTo":"duo"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"86847e95-c858-46df-b005-c0f0392ae95c","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"3a825384-1ed6-44a5-9a15-b2be0438a1d6","name":"List user's organizations - default","request":{"urlPathTemplate":"/users/{id}/organizations","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"total\": 1.1,\n \"organizations\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"display_name\": \"display_name\",\n \"token_quota\": {\n \"client_credentials\": {}\n }\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"3a825384-1ed6-44a5-9a15-b2be0438a1d6","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"58cc0983-45ee-47d2-8a5c-b6e215c83942","name":"Get a User's Permissions - default","request":{"urlPathTemplate":"/users/{id}/permissions","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"total\": 1.1,\n \"permissions\": [\n {\n \"resource_server_identifier\": \"resource_server_identifier\",\n \"permission_name\": \"permission_name\",\n \"resource_server_name\": \"resource_server_name\",\n \"description\": \"description\"\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"58cc0983-45ee-47d2-8a5c-b6e215c83942","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"812e845d-b47e-41b3-ad6b-edf602577cc4","name":"Assign Permissions to a User - default","request":{"urlPathTemplate":"/users/{id}/permissions","method":"POST","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"812e845d-b47e-41b3-ad6b-edf602577cc4","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"6829e581-25db-4d58-99ad-1fd675c362f1","name":"Remove Permissions from a User - default","request":{"urlPathTemplate":"/users/{id}/permissions","method":"DELETE","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"6829e581-25db-4d58-99ad-1fd675c362f1","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"0bf944f2-8c7e-474c-82eb-9e21bb625219","name":"Clear risk assessment assessors for a specific user - default","request":{"urlPathTemplate":"/users/{id}/risk-assessments/clear","method":"POST","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"0bf944f2-8c7e-474c-82eb-9e21bb625219","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"96a14af0-6c21-49ec-af86-512e672dd464","name":"Get a user's roles - default","request":{"urlPathTemplate":"/users/{id}/roles","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"total\": 1.1,\n \"roles\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\"\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"96a14af0-6c21-49ec-af86-512e672dd464","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"fcc9270b-77f1-4374-b64e-ce2381665996","name":"Assign roles to a user - default","request":{"urlPathTemplate":"/users/{id}/roles","method":"POST","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"fcc9270b-77f1-4374-b64e-ce2381665996","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"c727015f-123f-4f98-9b24-25828361a4ab","name":"Removes roles from a user - default","request":{"urlPathTemplate":"/users/{id}/roles","method":"DELETE","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"c727015f-123f-4f98-9b24-25828361a4ab","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"28b46c14-5cc3-42ad-8808-0072fb3249ba","name":"Get refresh tokens for a user - default","request":{"urlPathTemplate":"/users/{user_id}/refresh-tokens","method":"GET","pathParameters":{"user_id":{"equalTo":"user_id"}}},"response":{"status":200,"body":"{\n \"tokens\": [\n {\n \"id\": \"id\",\n \"user_id\": \"user_id\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"idle_expires_at\": \"2024-01-15T09:30:00Z\",\n \"expires_at\": \"2024-01-15T09:30:00Z\",\n \"client_id\": \"client_id\",\n \"session_id\": \"session_id\",\n \"rotating\": true,\n \"resource_servers\": [\n {}\n ],\n \"refresh_token_metadata\": {\n \"key\": \"value\"\n },\n \"last_exchanged_at\": \"2024-01-15T09:30:00Z\"\n }\n ],\n \"next\": \"next\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"28b46c14-5cc3-42ad-8808-0072fb3249ba","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"1f25d8aa-36f6-4ba8-9865-27c99731105f","name":"Delete refresh tokens for a user - default","request":{"urlPathTemplate":"/users/{user_id}/refresh-tokens","method":"DELETE","pathParameters":{"user_id":{"equalTo":"user_id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"1f25d8aa-36f6-4ba8-9865-27c99731105f","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"dd1c4072-54e4-4dbc-82d9-ca1c27916f1d","name":"Get sessions for user - default","request":{"urlPathTemplate":"/users/{user_id}/sessions","method":"GET","pathParameters":{"user_id":{"equalTo":"user_id"}}},"response":{"status":200,"body":"{\n \"sessions\": [\n {\n \"id\": \"id\",\n \"user_id\": \"user_id\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"authenticated_at\": \"2024-01-15T09:30:00Z\",\n \"idle_expires_at\": \"2024-01-15T09:30:00Z\",\n \"expires_at\": \"2024-01-15T09:30:00Z\",\n \"last_interacted_at\": \"2024-01-15T09:30:00Z\",\n \"clients\": [\n {}\n ],\n \"session_metadata\": {\n \"key\": \"value\"\n }\n }\n ],\n \"next\": \"next\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"dd1c4072-54e4-4dbc-82d9-ca1c27916f1d","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"0691684c-d746-4411-aa18-4de52a90a463","name":"Delete sessions for user - default","request":{"urlPathTemplate":"/users/{user_id}/sessions","method":"DELETE","pathParameters":{"user_id":{"equalTo":"user_id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"0691684c-d746-4411-aa18-4de52a90a463","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"7424dc01-51cd-4cc9-b47d-082a7931e487","name":"List verifiable credentials template for tenant. - default","request":{"urlPathTemplate":"/verifiable-credentials/verification/templates","method":"GET"},"response":{"status":200,"body":"{\n \"next\": \"next\",\n \"templates\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"type\": \"type\",\n \"dialect\": \"dialect\",\n \"presentation\": {\n \"org.iso.18013.5.1.mDL\": {\n \"org.iso.18013.5.1\": {}\n }\n },\n \"custom_certificate_authority\": \"custom_certificate_authority\",\n \"well_known_trusted_issuers\": \"well_known_trusted_issuers\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n }\n ]\n}","headers":{"Content-Type":"application/json"}},"uuid":"7424dc01-51cd-4cc9-b47d-082a7931e487","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}},"postServeActions":[]},{"id":"65b53386-72a6-4ac3-afba-c41377b10e93","name":"Create a verifiable credential template. - default","request":{"urlPathTemplate":"/verifiable-credentials/verification/templates","method":"POST"},"response":{"status":201,"body":"{\n \"id\": \"id\",\n \"name\": \"name\",\n \"type\": \"type\",\n \"dialect\": \"dialect\",\n \"presentation\": {\n \"org.iso.18013.5.1.mDL\": {\n \"org.iso.18013.5.1\": {}\n }\n },\n \"custom_certificate_authority\": \"custom_certificate_authority\",\n \"well_known_trusted_issuers\": \"well_known_trusted_issuers\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"65b53386-72a6-4ac3-afba-c41377b10e93","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"bac80375-0249-4659-a3d4-3cad535b4a20","name":"Get a verifiable credential template by ID. - default","request":{"urlPathTemplate":"/verifiable-credentials/verification/templates/{id}","method":"GET","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"name\": \"name\",\n \"type\": \"type\",\n \"dialect\": \"dialect\",\n \"presentation\": {\n \"org.iso.18013.5.1.mDL\": {\n \"org.iso.18013.5.1\": {}\n }\n },\n \"custom_certificate_authority\": \"custom_certificate_authority\",\n \"well_known_trusted_issuers\": \"well_known_trusted_issuers\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"bac80375-0249-4659-a3d4-3cad535b4a20","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"ca7ff9f3-642c-4fae-92b4-0e4e95f34d4c","name":"Delete a verifiable credential template by ID. - default","request":{"urlPathTemplate":"/verifiable-credentials/verification/templates/{id}","method":"DELETE","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"\"\"","headers":{"Content-Type":"application/json"}},"uuid":"ca7ff9f3-642c-4fae-92b4-0e4e95f34d4c","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}},{"id":"9934fba5-6f64-4698-89dd-6123d0878561","name":"Update a verifiable credential template by ID. - default","request":{"urlPathTemplate":"/verifiable-credentials/verification/templates/{id}","method":"PATCH","pathParameters":{"id":{"equalTo":"id"}}},"response":{"status":200,"body":"{\n \"id\": \"id\",\n \"name\": \"name\",\n \"type\": \"type\",\n \"dialect\": \"dialect\",\n \"presentation\": {\n \"org.iso.18013.5.1.mDL\": {\n \"org.iso.18013.5.1\": {}\n }\n },\n \"custom_certificate_authority\": \"custom_certificate_authority\",\n \"well_known_trusted_issuers\": \"well_known_trusted_issuers\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}","headers":{"Content-Type":"application/json"}},"uuid":"9934fba5-6f64-4698-89dd-6123d0878561","persistent":true,"priority":3,"metadata":{"mocklab":{"created":{"at":"2020-01-01T00:00:00.000Z","via":"SYSTEM"}}}}],"meta":{"total":389}} \ No newline at end of file